@openg2p/registry-widgets 1.1.7 → 1.1.8-dev.1
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/components/FilePreviewModal.d.ts +7 -0
- package/dist/components/FilePreviewModal.d.ts.map +1 -0
- package/dist/components/SectionBuilder/JSONEditorPanel.d.ts +11 -6
- package/dist/components/SectionBuilder/JSONEditorPanel.d.ts.map +1 -1
- package/dist/components/SectionBuilder/PropertyEditor.d.ts +0 -3
- package/dist/components/SectionBuilder/PropertyEditor.d.ts.map +1 -1
- package/dist/components/SectionBuilder/SearchableSelect.d.ts +11 -0
- package/dist/components/SectionBuilder/SearchableSelect.d.ts.map +1 -0
- package/dist/components/SectionBuilder/SectionBuilder.d.ts +2 -4
- package/dist/components/SectionBuilder/SectionBuilder.d.ts.map +1 -1
- package/dist/components/SectionBuilder/SectionTree.d.ts +7 -4
- package/dist/components/SectionBuilder/SectionTree.d.ts.map +1 -1
- package/dist/components/SectionBuilder/VisualBuilderPanel.d.ts +7 -5
- package/dist/components/SectionBuilder/VisualBuilderPanel.d.ts.map +1 -1
- package/dist/components/SectionBuilder/index.d.ts +1 -1
- package/dist/components/SectionBuilder/index.d.ts.map +1 -1
- package/dist/components/SectionBuilder/schemas.d.ts +6 -286
- package/dist/components/SectionBuilder/schemas.d.ts.map +1 -1
- package/dist/components/SectionBuilder/validate/parseJsoncSyntax.d.ts +14 -0
- package/dist/components/SectionBuilder/validate/parseJsoncSyntax.d.ts.map +1 -0
- package/dist/components/SectionBuilder/validate/parseSectionJson.d.ts +12 -0
- package/dist/components/SectionBuilder/validate/parseSectionJson.d.ts.map +1 -0
- package/dist/components/SectionBuilder/validate/validateSection.d.ts +7 -0
- package/dist/components/SectionBuilder/validate/validateSection.d.ts.map +1 -0
- package/dist/components/SectionRenderer/components/CRViewFooter.d.ts +8 -0
- package/dist/components/SectionRenderer/components/CRViewFooter.d.ts.map +1 -0
- package/dist/components/SectionRenderer/components/EditSectionPortal.d.ts.map +1 -1
- package/dist/components/SectionRenderer/components/IntakeFormLayout.d.ts.map +1 -1
- package/dist/components/SectionRenderer/components/RegistryViewLayout.d.ts.map +1 -1
- package/dist/components/SectionRenderer/components/SectionStyles.d.ts.map +1 -1
- package/dist/components/SectionRenderer/hooks/useCrViewData.d.ts +8 -0
- package/dist/components/SectionRenderer/hooks/useCrViewData.d.ts.map +1 -0
- package/dist/components/SectionRenderer.d.ts +61 -0
- package/dist/components/SectionRenderer.d.ts.map +1 -0
- package/dist/components/WidgetProvider.d.ts.map +1 -1
- package/dist/hooks/useGeoWidgetCascade.d.ts +12 -0
- package/dist/hooks/useGeoWidgetCascade.d.ts.map +1 -0
- package/dist/hooks/useWidgetTheme.d.ts +7 -10
- package/dist/hooks/useWidgetTheme.d.ts.map +1 -1
- package/dist/hooks/useWidgetTranslation.d.ts +16 -0
- package/dist/hooks/useWidgetTranslation.d.ts.map +1 -0
- package/dist/i18n/config.d.ts +21 -0
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/index.d.ts +41 -34
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +7172 -1462
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7174 -1461
- package/dist/index.js.map +1 -1
- package/dist/registry/widgetTypes.d.ts +6 -0
- package/dist/registry/widgetTypes.d.ts.map +1 -0
- package/dist/theme/index.d.ts +11 -13
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/utils/buildSectionChanges.d.ts +11 -0
- package/dist/utils/buildSectionChanges.d.ts.map +1 -0
- package/dist/utils/schemaNamespace.d.ts +12 -0
- package/dist/utils/schemaNamespace.d.ts.map +1 -0
- package/dist/utils/tSchema.d.ts +1 -0
- package/dist/utils/tSchema.d.ts.map +1 -1
- package/dist/widgets/ArrayWidget.d.ts +29 -0
- package/dist/widgets/ArrayWidget.d.ts.map +1 -0
- package/dist/widgets/CurrencyInputWidget.d.ts +24 -0
- package/dist/widgets/CurrencyInputWidget.d.ts.map +1 -0
- package/dist/widgets/DateInputWidget.d.ts.map +1 -1
- package/dist/widgets/DateTimeInputWidget.d.ts.map +1 -1
- package/dist/widgets/DialogTableWidget.d.ts.map +1 -1
- package/dist/widgets/FileInputWidget.d.ts.map +1 -1
- package/dist/widgets/GeoHierarchyWidget.d.ts.map +1 -1
- package/dist/widgets/IterableAccordionWidget.d.ts +30 -0
- package/dist/widgets/IterableAccordionWidget.d.ts.map +1 -0
- package/dist/widgets/MultiSelectWidget.d.ts.map +1 -1
- package/dist/widgets/NumberInputWidget.d.ts.map +1 -1
- package/dist/widgets/ParentLookupWidget.d.ts.map +1 -1
- package/dist/widgets/PhoneInputWidget.d.ts.map +1 -1
- package/dist/widgets/RegisterLookupWidget.d.ts.map +1 -1
- package/dist/widgets/SelectWidget.d.ts.map +1 -1
- package/dist/widgets/SimpleTableWidget.d.ts +32 -0
- package/dist/widgets/SimpleTableWidget.d.ts.map +1 -0
- package/dist/widgets/TableWidget.d.ts.map +1 -1
- package/dist/widgets/TextAreaWidget.d.ts.map +1 -1
- package/dist/widgets/TextInputWidget.d.ts.map +1 -1
- package/package.json +6 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BaseWidgetConfig } from '../types';
|
|
2
|
+
export declare const WIDGET_TYPES: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "table", "dialog-table", "phone", "display", "profile", "header-section", "scores-display", "id-authentication", "register-lookup", "parent-lookup", "multi-select", "geo-hierarchy", "docs"];
|
|
3
|
+
export type WidgetType = (typeof WIDGET_TYPES)[number];
|
|
4
|
+
export declare function getWidgetCategory(widget: string): 'input' | 'layout' | 'table' | 'group';
|
|
5
|
+
export declare function createDefaultWidgetConfig(widgetType: string): BaseWidgetConfig;
|
|
6
|
+
//# sourceMappingURL=widgetTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widgetTypes.d.ts","sourceRoot":"","sources":["../../src/registry/widgetTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,YAAY,6SAwBf,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAaxF;AAED,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,gBAAgB,CAkB9E"}
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -63,17 +63,15 @@ export interface WidgetTheme {
|
|
|
63
63
|
button?: WidgetThemeButton;
|
|
64
64
|
widget?: WidgetThemeWidget;
|
|
65
65
|
}
|
|
66
|
-
export declare
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
widget:
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
*/
|
|
78
|
-
export declare function themeToCSSVariables(resolved: ReturnType<typeof resolveTheme>): React.CSSProperties;
|
|
66
|
+
export declare function themeToCSSVariables(theme?: WidgetTheme): React.CSSProperties;
|
|
67
|
+
export declare function owtThemeRootProps(theme?: WidgetTheme, extraStyle?: React.CSSProperties): {
|
|
68
|
+
className: string;
|
|
69
|
+
style: React.CSSProperties;
|
|
70
|
+
};
|
|
71
|
+
export declare const OWT_FIELD_STYLES = "\n .owt-text {\n color: var(--owt-color-text);\n }\n .owt-text-muted {\n color: var(--owt-color-text-muted);\n }\n .owt-bg {\n background-color: var(--owt-color-bg);\n }\n .owt-bg-alt {\n background-color: var(--owt-color-bg-alt);\n }\n .owt-border {\n border-color: var(--owt-color-border-light);\n }\n .owt-highlight {\n background-color: var(--owt-color-primary-light);\n }\n .owt-highlight-hover:hover {\n background-color: var(--owt-color-primary-light);\n }\n .owt-shadow-sm {\n box-shadow: 0 1px 2px 0 var(--owt-color-shadow);\n }\n .owt-shadow-lg {\n box-shadow: 0 10px 15px -3px var(--owt-color-shadow), 0 4px 6px -4px var(--owt-color-shadow);\n }\n .owt-field-input {\n border: 1px solid var(--owt-widget-input-border);\n background-color: var(--owt-widget-input-bg);\n color: var(--owt-color-text);\n }\n .owt-field-input:focus {\n outline: none;\n border-color: var(--owt-widget-input-focus-border);\n box-shadow: 0 0 0 1px var(--owt-widget-input-focus-border);\n }\n .owt-field-input.owt-field-input-error,\n .owt-field-input.owt-field-input-error:focus {\n border-color: var(--owt-widget-error-color);\n box-shadow: 0 0 0 1px var(--owt-widget-error-color);\n }\n .owt-field-input:disabled,\n .owt-field-input.owt-field-input-disabled {\n background-color: var(--owt-color-bg-alt);\n cursor: not-allowed;\n }\n .owt-field-check {\n accent-color: var(--owt-color-primary);\n border-color: var(--owt-widget-input-border);\n }\n .owt-field-error {\n color: var(--owt-widget-error-color);\n }\n .owt-field-help {\n color: var(--owt-widget-helptext-color);\n }\n .owt-field-required {\n color: var(--owt-widget-error-color);\n }\n .owt-boolean-chip {\n border: 1px solid var(--owt-widget-input-border);\n background-color: var(--owt-widget-input-bg);\n color: var(--owt-color-text);\n }\n .owt-boolean-chip-selected {\n border-color: var(--owt-color-primary);\n background-color: var(--owt-color-primary);\n color: var(--owt-color-text);\n }\n .owt-link {\n color: var(--owt-color-info);\n }\n .owt-chip {\n background-color: var(--owt-color-primary-light);\n color: var(--owt-color-text);\n }\n";
|
|
72
|
+
export declare function owtFieldInputClass({ error, disabled, className, }?: {
|
|
73
|
+
error?: boolean;
|
|
74
|
+
disabled?: boolean;
|
|
75
|
+
className?: string;
|
|
76
|
+
}): string;
|
|
79
77
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,i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Build SectionChanges from section config and current store values.
|
|
5
|
+
* Works for intake forms (no sectionRegisterId) and edit flows (with sectionRegisterId).
|
|
6
|
+
*/
|
|
7
|
+
export declare function buildSectionChanges(section: SectionConfig, storeValues: Record<string, unknown>, namespace?: string, options?: {
|
|
8
|
+
dbSectionId?: string;
|
|
9
|
+
sectionRegisterId?: string;
|
|
10
|
+
}): SectionChanges;
|
|
11
|
+
//# sourceMappingURL=buildSectionChanges.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildSectionChanges.d.ts","sourceRoot":"","sources":["../../src/utils/buildSectionChanges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,aAAa,EACtB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACpC,SAAS,CAAC,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7D,cAAc,CAuEhB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SectionConfig } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Namespace widget IDs and data paths in a section configuration
|
|
4
|
+
* This ensures unique widget IDs and data paths when the same section is rendered multiple times
|
|
5
|
+
* (e.g., in CRView mode showing old and new records side by side)
|
|
6
|
+
*
|
|
7
|
+
* @param section - Section configuration to namespace
|
|
8
|
+
* @param namespace - Namespace prefix to add to widget IDs and data paths (e.g., "old", "new", "instance-1")
|
|
9
|
+
* @returns Namespaced section configuration
|
|
10
|
+
*/
|
|
11
|
+
export declare const namespaceSectionConfig: (section: SectionConfig, namespace: string) => SectionConfig;
|
|
12
|
+
//# sourceMappingURL=schemaNamespace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemaNamespace.d.ts","sourceRoot":"","sources":["../../src/utils/schemaNamespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAiC,MAAM,UAAU,CAAC;AAkHxE;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,GACjC,SAAS,aAAa,EACtB,WAAW,MAAM,KAChB,aA0BF,CAAC"}
|
package/dist/utils/tSchema.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type TFn = (key: string, options?: Record<string, unknown>) => string;
|
|
2
2
|
/** Schema string: translation key when present, otherwise the literal value. */
|
|
3
3
|
export declare function tSchema(t: TFn | undefined, value?: string | null): string;
|
|
4
|
+
export declare function toTitleCase(value: string): string;
|
|
4
5
|
export {};
|
|
5
6
|
//# sourceMappingURL=tSchema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tSchema.d.ts","sourceRoot":"","sources":["../../src/utils/tSchema.ts"],"names":[],"mappings":"AAAA,KAAK,GAAG,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC;AAEtE,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,CAAC,EAAE,GAAG,GAAG,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAMzE"}
|
|
1
|
+
{"version":3,"file":"tSchema.d.ts","sourceRoot":"","sources":["../../src/utils/tSchema.ts"],"names":[],"mappings":"AAAA,KAAK,GAAG,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC;AAEtE,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,CAAC,EAAE,GAAG,GAAG,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAMzE;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAOjD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BaseWidgetConfig } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Array widget for simple repeating values
|
|
4
|
+
*
|
|
5
|
+
* Usage in schema:
|
|
6
|
+
* {
|
|
7
|
+
* "widget": "array-widget",
|
|
8
|
+
* "widget-type": "group",
|
|
9
|
+
* "widget-label": "Skills",
|
|
10
|
+
* "widget-id": "skills",
|
|
11
|
+
* "widget-data-path": "person.skills",
|
|
12
|
+
* "widget-item": {
|
|
13
|
+
* "widget": "text",
|
|
14
|
+
* "widget-type": "input",
|
|
15
|
+
* "widget-label": "Skill"
|
|
16
|
+
* },
|
|
17
|
+
* "widget-data-add-label": "Add Skill",
|
|
18
|
+
* "widget-data-operations": {
|
|
19
|
+
* "add": true,
|
|
20
|
+
* "remove": true
|
|
21
|
+
* }
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
interface ArrayWidgetProps {
|
|
25
|
+
config: BaseWidgetConfig;
|
|
26
|
+
}
|
|
27
|
+
export declare const ArrayWidget: ({ config }: ArrayWidgetProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=ArrayWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/ArrayWidget.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAK5C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,UAAU,gBAAgB;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,WAAW,GAAI,YAAY,gBAAgB,mDAyHvD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseWidgetConfig } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Currency input widget with formatting
|
|
4
|
+
*
|
|
5
|
+
* Usage in schema:
|
|
6
|
+
* {
|
|
7
|
+
* "widget": "currency",
|
|
8
|
+
* "widget-type": "input",
|
|
9
|
+
* "widget-label": "Salary",
|
|
10
|
+
* "widget-id": "salary",
|
|
11
|
+
* "widget-data-path": "person.salary",
|
|
12
|
+
* "widget-data-format": {
|
|
13
|
+
* "currency": "USD",
|
|
14
|
+
* "locale": "en-US",
|
|
15
|
+
* "decimals": 2
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
interface CurrencyInputWidgetProps {
|
|
20
|
+
config: BaseWidgetConfig;
|
|
21
|
+
}
|
|
22
|
+
export declare const CurrencyInputWidget: ({ config }: CurrencyInputWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=CurrencyInputWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencyInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/CurrencyInputWidget.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAI5C;;;;;;;;;;;;;;;;GAgBG;AACH,UAAU,wBAAwB;IAChC,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,mBAAmB,GAAI,YAAY,wBAAwB,4CAmGvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/DateInputWidget.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"DateInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/DateInputWidget.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAkB5C,UAAU,oBAAoB;IAC5B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,GAAI,YAAY,oBAAoB,4CA8S/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/DateTimeInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"DateTimeInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/DateTimeInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAc5C,UAAU,wBAAwB;IAChC,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,mBAAmB,GAAI,YAAY,wBAAwB,4CAoNvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTableWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/DialogTableWidget.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DialogTableWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/DialogTableWidget.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAU5C,UAAU,sBAAsB;IAC9B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAiID;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,YAAY,sBAAsB,4CAinBnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/FileInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"FileInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/FileInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAO5C,UAAU,oBAAoB;IAC5B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,GAAI,YAAY,oBAAoB,4CA+U/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoHierarchyWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/GeoHierarchyWidget.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"GeoHierarchyWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/GeoHierarchyWidget.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAW5C,UAAU,uBAAuB;IAC/B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AA+MD,eAAO,MAAM,kBAAkB,GAAI,YAAY,uBAAuB,4CAkIrE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseWidgetConfig } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Iterable accordion widget - expandable/collapsible container for widgets
|
|
4
|
+
*
|
|
5
|
+
* Usage in schema:
|
|
6
|
+
* {
|
|
7
|
+
* "widget": "iterable-accordion",
|
|
8
|
+
* "widget-type": "group",
|
|
9
|
+
* "widget-label": "Advanced Options",
|
|
10
|
+
* "widget-id": "advancedOptions",
|
|
11
|
+
* "widget-data-path": "person.notes",
|
|
12
|
+
* "widget-data-collapsed": true,
|
|
13
|
+
* "widget-item": {
|
|
14
|
+
* "widget": "text",
|
|
15
|
+
* "widget-type": "input",
|
|
16
|
+
* "widget-label": "Additional Notes",
|
|
17
|
+
* "widget-id": "notes",
|
|
18
|
+
* ...
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
* Note: widget-item can be any widget config. If it has nested widgets property,
|
|
23
|
+
* those will be rendered as well.
|
|
24
|
+
*/
|
|
25
|
+
interface IterableAccordionWidgetProps {
|
|
26
|
+
config: BaseWidgetConfig;
|
|
27
|
+
}
|
|
28
|
+
export declare const IterableAccordionWidget: ({ config }: IterableAccordionWidgetProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=IterableAccordionWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IterableAccordionWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/IterableAccordionWidget.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAK5C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,UAAU,4BAA4B;IACpC,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,uBAAuB,GAAI,YAAY,4BAA4B,mDAmO/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/MultiSelectWidget.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"MultiSelectWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/MultiSelectWidget.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAc5C,UAAU,sBAAsB;IAC9B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,YAAY,sBAAsB,4CA6hBnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/NumberInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/NumberInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,UAAU,sBAAsB;IAC9B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,YAAY,sBAAsB,4CAwNnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParentLookupWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/ParentLookupWidget.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"ParentLookupWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/ParentLookupWidget.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AA2E5C,eAAO,MAAM,kBAAkB,GAAI,yKAShC;IACD,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,4CAolBA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/PhoneInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"PhoneInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/PhoneInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAK5C,UAAU,qBAAqB;IAC7B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,gBAAgB,GAAI,YAAY,qBAAqB,4CAsEjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegisterLookupWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/RegisterLookupWidget.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"RegisterLookupWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/RegisterLookupWidget.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AA4T5C,eAAO,MAAM,oBAAoB,GAAI,YAAY;IAAE,MAAM,EAAE,gBAAgB,CAAA;CAAE,4CAiY5E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/SelectWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/SelectWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAK5C,UAAU,iBAAiB;IACzB,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,YAAY,GAAI,YAAY,iBAAiB,4CAkGzD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BaseWidgetConfig } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Simple table widget for structured data
|
|
4
|
+
*
|
|
5
|
+
* Usage in schema:
|
|
6
|
+
* {
|
|
7
|
+
* "widget": "simple-table",
|
|
8
|
+
* "widget-type": "table",
|
|
9
|
+
* "widget-label": "Education History",
|
|
10
|
+
* "widget-id": "educationHistory",
|
|
11
|
+
* "widget-data-path": "education.history",
|
|
12
|
+
* "widget-data-columns": [
|
|
13
|
+
* {
|
|
14
|
+
* "column-key": "degree",
|
|
15
|
+
* "widget-label": "Degree",
|
|
16
|
+
* "widget": "text",
|
|
17
|
+
* "widget-data-path": "degree"
|
|
18
|
+
* }
|
|
19
|
+
* ],
|
|
20
|
+
* "widget-data-operations": {
|
|
21
|
+
* "add": true,
|
|
22
|
+
* "remove": true,
|
|
23
|
+
* "edit": true
|
|
24
|
+
* }
|
|
25
|
+
* }
|
|
26
|
+
*/
|
|
27
|
+
interface SimpleTableWidgetProps {
|
|
28
|
+
config: BaseWidgetConfig;
|
|
29
|
+
}
|
|
30
|
+
export declare const SimpleTableWidget: ({ config }: SimpleTableWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=SimpleTableWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleTableWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/SimpleTableWidget.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAI5C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,UAAU,sBAAsB;IAC9B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,YAAY,sBAAsB,4CAwJnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/TableWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"TableWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/TableWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AA0c5C,UAAU,gBAAgB;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAeD,eAAO,MAAM,WAAW,GAAI,YAAY,gBAAgB,4CAq5BvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextAreaWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/TextAreaWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"TextAreaWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/TextAreaWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAK5C,UAAU,mBAAmB;IAC3B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,cAAc,GAAI,YAAY,mBAAmB,4CAwJ7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/TextInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInputWidget.d.ts","sourceRoot":"","sources":["../../src/widgets/TextInputWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAK5C,UAAU,oBAAoB;IAC5B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,GAAI,YAAY,oBAAoB,4CAmN/D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openg2p/registry-widgets",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8-dev.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Complete React widget library with generic form widgets, data binding, validation, and conditional logic",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"
|
|
75
|
+
"@dnd-kit/core": "^6.3.1",
|
|
76
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
77
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
78
|
+
"json-edit-react": "^1.30.2",
|
|
79
|
+
"jsonc-parser": "^3.3.1"
|
|
76
80
|
}
|
|
77
81
|
}
|