@dmitryvim/form-builder 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/formbuilder.min.js +125 -112
- package/dist/browser/formbuilder.v0.5.3.min.js +1490 -0
- package/dist/cjs/index.cjs +276 -222
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +270 -216
- package/dist/esm/index.js.map +1 -1
- package/dist/form-builder.js +125 -112
- package/dist/types/components/container.d.ts +1 -0
- package/dist/types/types/config.d.ts +2 -0
- package/dist/types/utils/helpers.d.ts +8 -0
- package/package.json +1 -1
- package/dist/browser/formbuilder.v0.5.1.min.js +0 -1477
|
@@ -25,6 +25,14 @@ export declare function escapeHtml(text: string): string;
|
|
|
25
25
|
*/
|
|
26
26
|
export declare function getElementLookupKey(element: Element, state: State): string;
|
|
27
27
|
export declare function pathJoin(base: string, key: string): string;
|
|
28
|
+
/**
|
|
29
|
+
* Rows of a `multiple` container are marked with their full dotted path
|
|
30
|
+
* (`messages[0]`, `messages[0].content[0]`). A plain prefix test would also
|
|
31
|
+
* accept rows of containers nested inside them, and similarly-named siblings
|
|
32
|
+
* (`messages_draft[0]`), so a direct row is one whose remainder after the
|
|
33
|
+
* container's own path is exactly `[N]`.
|
|
34
|
+
*/
|
|
35
|
+
export declare function findDirectContainerRows(scopeRoot: HTMLElement, containerPath: string): HTMLElement[];
|
|
28
36
|
export declare function pretty(obj: any): string;
|
|
29
37
|
export declare function clear(node: HTMLElement): void;
|
|
30
38
|
/**
|