Comparing version
@@ -8,4 +8,5 @@ /** | ||
export * from './element/element.js'; | ||
export * from './esc/esc.js'; | ||
export * from './html/html.js'; | ||
export * from './parent/parent.js'; | ||
export * from './process/process.js'; |
@@ -24,4 +24,5 @@ "use strict"; | ||
__exportStar(require("./element/element.js"), exports); | ||
__exportStar(require("./esc/esc.js"), exports); | ||
__exportStar(require("./html/html.js"), exports); | ||
__exportStar(require("./parent/parent.js"), exports); | ||
__exportStar(require("./process/process.js"), exports); |
@@ -343,1 +343,2 @@ /** | ||
export declare function template(values: any[], map: ITemplateMap): StepTemplate; | ||
//# sourceMappingURL=action.d.ts.map |
@@ -250,1 +250,2 @@ /** | ||
export declare function wrap(css: CSSStyleSheet): StyleSheet; | ||
//# sourceMappingURL=css.d.ts.map |
@@ -44,1 +44,2 @@ /** | ||
export * as template from './template/template.js'; | ||
//# sourceMappingURL=deleight.d.ts.map |
@@ -95,1 +95,2 @@ /** | ||
export declare function applyAll<T>(components: T, target?: Element | DocumentFragment, options?: IApplyOptions): Element | DocumentFragment; | ||
//# sourceMappingURL=apply.d.ts.map |
@@ -310,1 +310,2 @@ /** | ||
export declare const text = "textContent"; | ||
//# sourceMappingURL=components.d.ts.map |
@@ -8,4 +8,6 @@ /** | ||
export * from './element/element.js'; | ||
export * from './esc/esc.js'; | ||
export * from './html/html.js'; | ||
export * from './parent/parent.js'; | ||
export * from './process/process.js'; | ||
//# sourceMappingURL=dom.d.ts.map |
@@ -8,4 +8,5 @@ /** | ||
export * from './element/element.js'; | ||
export * from './esc/esc.js'; | ||
export * from './html/html.js'; | ||
export * from './parent/parent.js'; | ||
export * from './process/process.js'; |
@@ -121,1 +121,2 @@ /** | ||
export declare function escapeString(unsafe: string): string; | ||
//# sourceMappingURL=element.d.ts.map |
@@ -33,1 +33,2 @@ /** | ||
export declare function loadFragment(href: string, init?: RequestInit): Promise<DocumentFragment>; | ||
//# sourceMappingURL=html.d.ts.map |
@@ -30,1 +30,2 @@ /** | ||
export declare function selectParent(element: Element, selector: string): Element; | ||
//# sourceMappingURL=parent.d.ts.map |
@@ -92,1 +92,2 @@ /** | ||
export declare function process(element: Element | DocumentFragment, action: IComponent | IProcessComponents, options?: IProcessOptions): HTMLCollection; | ||
//# sourceMappingURL=process.d.ts.map |
@@ -26,1 +26,2 @@ /** | ||
export declare function cacheWith<T extends ICallable>(func: T): T; | ||
//# sourceMappingURL=cache.d.ts.map |
@@ -26,1 +26,2 @@ export interface IContext { | ||
export declare function setContext<T extends any[], U>(fn: (...args: T) => U, context?: IContext): (...args: T) => U; | ||
//# sourceMappingURL=context.d.ts.map |
@@ -32,1 +32,2 @@ /** | ||
export declare const dyn: typeof Dynamic; | ||
//# sourceMappingURL=dynamic.d.ts.map |
@@ -9,1 +9,2 @@ /** | ||
export * from './reversible/reversible.js'; | ||
//# sourceMappingURL=function.d.ts.map |
@@ -40,1 +40,2 @@ /** | ||
export declare const R: typeof Return; | ||
//# sourceMappingURL=return.d.ts.map |
@@ -27,1 +27,2 @@ /** | ||
export declare const rev: typeof reversible; | ||
//# sourceMappingURL=reversible.d.ts.map |
@@ -237,1 +237,2 @@ /** | ||
export declare function random(it: Iterable<any>, count?: number): Generator<any, void, unknown>; | ||
//# sourceMappingURL=generators.d.ts.map |
@@ -37,1 +37,2 @@ /** | ||
} | ||
//# sourceMappingURL=array.d.ts.map |
@@ -45,1 +45,2 @@ export interface IRenderFunction { | ||
*/ | ||
//# sourceMappingURL=element.d.ts.map |
@@ -6,1 +6,2 @@ /** | ||
export * from './element/element.js'; | ||
//# sourceMappingURL=lists.d.ts.map |
@@ -66,1 +66,2 @@ /** | ||
export declare function apply<T, U extends any[] = any[]>(actions: IActions, target: T, options?: IApplyOptions<U>): T; | ||
//# sourceMappingURL=apply.d.ts.map |
@@ -135,1 +135,2 @@ import { IDeepKey, IKey } from "../../../types.js"; | ||
export declare function delAsync(object: any, key: IDeepKey): Promise<void>; | ||
//# sourceMappingURL=deep.d.ts.map |
export * from './own/own.js'; | ||
export * from './deep/deep.js'; | ||
export * from './shared/shared.js'; | ||
//# sourceMappingURL=member.d.ts.map |
@@ -28,1 +28,2 @@ /** | ||
export declare const ok: any; | ||
//# sourceMappingURL=own.d.ts.map |
@@ -136,1 +136,2 @@ /** | ||
export declare function dels(object: IMembers): Promise<void>; | ||
//# sourceMappingURL=shared.d.ts.map |
@@ -9,1 +9,2 @@ /** | ||
export * from './types.js'; | ||
//# sourceMappingURL=object.d.ts.map |
@@ -174,1 +174,2 @@ /** | ||
export declare function getWhile(object: object, key: IKey, test: ICallable): any; | ||
//# sourceMappingURL=operations.d.ts.map |
@@ -46,1 +46,2 @@ /** | ||
export declare function forEach<T extends object, U = any>(object: T, action: IObjectCallable<T, U>, ...args: any[]): T; | ||
//# sourceMappingURL=process.d.ts.map |
@@ -6,1 +6,2 @@ import { IKey } from "../types.js"; | ||
export type IObjectCallable<T extends any = object, U extends any = any> = (object: T, key: IKey, ...args: any[]) => U; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -71,1 +71,2 @@ /** | ||
export declare const A: typeof alias; | ||
//# sourceMappingURL=alias.d.ts.map |
@@ -5,1 +5,2 @@ export * from './alias/alias.js'; | ||
export * from './wrapper/wrapper.js'; | ||
//# sourceMappingURL=proxies.d.ts.map |
@@ -13,1 +13,2 @@ /** | ||
}; | ||
//# sourceMappingURL=scope.d.ts.map |
@@ -209,1 +209,2 @@ /** | ||
export declare function method(name: string, treespace?: Element): any; | ||
//# sourceMappingURL=selector.d.ts.map |
@@ -117,1 +117,2 @@ /** | ||
export {}; | ||
//# sourceMappingURL=selector2.d.ts.map |
@@ -61,1 +61,2 @@ /** | ||
} | ||
//# sourceMappingURL=wrapper.d.ts.map |
@@ -105,1 +105,2 @@ /** | ||
export declare function asyncTemplates(templateStr: string, argNames?: Array<string>, itemName?: string, tagName?: string): IAsyncTemplates; | ||
//# sourceMappingURL=template.d.ts.map |
@@ -21,1 +21,2 @@ /** | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "deleight", | ||
"version": "5.5.8", | ||
"version": "5.5.9", | ||
"description": "A library with 9 modules for writing more expressive web applications with traditional HTML, CSS and JavaScript.", | ||
@@ -31,2 +31,6 @@ "type": "module", | ||
}, | ||
"./dom/esc": { | ||
"require": "./dist/cjs/dom/esc/esc.js", | ||
"default": "./dist/esm/dom/esc/esc.js" | ||
}, | ||
"./dom/element": { | ||
@@ -33,0 +37,0 @@ "require": "./dist/cjs/dom/element/element.js", |
@@ -92,3 +92,3 @@ # Deleight | ||
### action | ||
### Action | ||
[action](https://mksunny1.github.io/deleight-api-docs/main/modules/deleight.action.html) | ||
@@ -109,6 +109,6 @@ | ||
### css | ||
### CSS | ||
[css](https://mksunny1.github.io/deleight-api-docs/main/modules/deleight.css.html) | ||
Primitives for loading and using stylesheets. Using **css**, you can | ||
Primitives for loading and using stylesheets. This module is most useful when developing reusable web components that need to be styled independently of the environment where they are used. With **css**, you can | ||
@@ -120,6 +120,6 @@ - create `CSSStyleSheet` instances from CSS files or text | ||
### dom | ||
### DOM | ||
[dom](https://mksunny1.github.io/deleight-api-docs/main/modules/deleight.dom.html) | ||
Primitives for building and working with the DOM. Using **dom**, yoe can: | ||
Primitives for building and working with the DOM. With **dom**, yoe can: | ||
- build elements from HTML text and files | ||
@@ -129,6 +129,8 @@ - build elements (or their HTML text) from objects | ||
- apply components to elements by specifying them with attributes | ||
- escape text to make them safe for use in markup | ||
- etc | ||
Many standard components have been included for creating event handlers, setting attributes and setting and assigning properties, etc. | ||
### function | ||
### Function | ||
[function](https://mksunny1.github.io/deleight-api-docs/main/modules/deleight.function.html) | ||
@@ -159,3 +161,3 @@ | ||
### object | ||
### Object | ||
[object](https://mksunny1.github.io/deleight-api-docs/main/modules/deleight.object.html) | ||
@@ -202,3 +204,3 @@ | ||
### template | ||
### Template | ||
[template](https://mksunny1.github.io/deleight-api-docs/main/modules/deleight.template.html) | ||
@@ -205,0 +207,0 @@ |
581370
7.49%208
25.3%16523
1%210
0.96%