@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.
Files changed (82) hide show
  1. package/dist/components/FilePreviewModal.d.ts +7 -0
  2. package/dist/components/FilePreviewModal.d.ts.map +1 -0
  3. package/dist/components/SectionBuilder/JSONEditorPanel.d.ts +11 -6
  4. package/dist/components/SectionBuilder/JSONEditorPanel.d.ts.map +1 -1
  5. package/dist/components/SectionBuilder/PropertyEditor.d.ts +0 -3
  6. package/dist/components/SectionBuilder/PropertyEditor.d.ts.map +1 -1
  7. package/dist/components/SectionBuilder/SearchableSelect.d.ts +11 -0
  8. package/dist/components/SectionBuilder/SearchableSelect.d.ts.map +1 -0
  9. package/dist/components/SectionBuilder/SectionBuilder.d.ts +2 -4
  10. package/dist/components/SectionBuilder/SectionBuilder.d.ts.map +1 -1
  11. package/dist/components/SectionBuilder/SectionTree.d.ts +7 -4
  12. package/dist/components/SectionBuilder/SectionTree.d.ts.map +1 -1
  13. package/dist/components/SectionBuilder/VisualBuilderPanel.d.ts +7 -5
  14. package/dist/components/SectionBuilder/VisualBuilderPanel.d.ts.map +1 -1
  15. package/dist/components/SectionBuilder/index.d.ts +1 -1
  16. package/dist/components/SectionBuilder/index.d.ts.map +1 -1
  17. package/dist/components/SectionBuilder/schemas.d.ts +6 -286
  18. package/dist/components/SectionBuilder/schemas.d.ts.map +1 -1
  19. package/dist/components/SectionBuilder/validate/parseJsoncSyntax.d.ts +14 -0
  20. package/dist/components/SectionBuilder/validate/parseJsoncSyntax.d.ts.map +1 -0
  21. package/dist/components/SectionBuilder/validate/parseSectionJson.d.ts +12 -0
  22. package/dist/components/SectionBuilder/validate/parseSectionJson.d.ts.map +1 -0
  23. package/dist/components/SectionBuilder/validate/validateSection.d.ts +7 -0
  24. package/dist/components/SectionBuilder/validate/validateSection.d.ts.map +1 -0
  25. package/dist/components/SectionRenderer/components/CRViewFooter.d.ts +8 -0
  26. package/dist/components/SectionRenderer/components/CRViewFooter.d.ts.map +1 -0
  27. package/dist/components/SectionRenderer/components/EditSectionPortal.d.ts.map +1 -1
  28. package/dist/components/SectionRenderer/components/IntakeFormLayout.d.ts.map +1 -1
  29. package/dist/components/SectionRenderer/components/RegistryViewLayout.d.ts.map +1 -1
  30. package/dist/components/SectionRenderer/components/SectionStyles.d.ts.map +1 -1
  31. package/dist/components/SectionRenderer/hooks/useCrViewData.d.ts +8 -0
  32. package/dist/components/SectionRenderer/hooks/useCrViewData.d.ts.map +1 -0
  33. package/dist/components/SectionRenderer.d.ts +61 -0
  34. package/dist/components/SectionRenderer.d.ts.map +1 -0
  35. package/dist/components/WidgetProvider.d.ts.map +1 -1
  36. package/dist/hooks/useGeoWidgetCascade.d.ts +12 -0
  37. package/dist/hooks/useGeoWidgetCascade.d.ts.map +1 -0
  38. package/dist/hooks/useWidgetTheme.d.ts +7 -10
  39. package/dist/hooks/useWidgetTheme.d.ts.map +1 -1
  40. package/dist/hooks/useWidgetTranslation.d.ts +16 -0
  41. package/dist/hooks/useWidgetTranslation.d.ts.map +1 -0
  42. package/dist/i18n/config.d.ts +21 -0
  43. package/dist/i18n/config.d.ts.map +1 -0
  44. package/dist/index.d.ts +41 -34
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.esm.js +7172 -1462
  47. package/dist/index.esm.js.map +1 -1
  48. package/dist/index.js +7174 -1461
  49. package/dist/index.js.map +1 -1
  50. package/dist/registry/widgetTypes.d.ts +6 -0
  51. package/dist/registry/widgetTypes.d.ts.map +1 -0
  52. package/dist/theme/index.d.ts +11 -13
  53. package/dist/theme/index.d.ts.map +1 -1
  54. package/dist/utils/buildSectionChanges.d.ts +11 -0
  55. package/dist/utils/buildSectionChanges.d.ts.map +1 -0
  56. package/dist/utils/schemaNamespace.d.ts +12 -0
  57. package/dist/utils/schemaNamespace.d.ts.map +1 -0
  58. package/dist/utils/tSchema.d.ts +1 -0
  59. package/dist/utils/tSchema.d.ts.map +1 -1
  60. package/dist/widgets/ArrayWidget.d.ts +29 -0
  61. package/dist/widgets/ArrayWidget.d.ts.map +1 -0
  62. package/dist/widgets/CurrencyInputWidget.d.ts +24 -0
  63. package/dist/widgets/CurrencyInputWidget.d.ts.map +1 -0
  64. package/dist/widgets/DateInputWidget.d.ts.map +1 -1
  65. package/dist/widgets/DateTimeInputWidget.d.ts.map +1 -1
  66. package/dist/widgets/DialogTableWidget.d.ts.map +1 -1
  67. package/dist/widgets/FileInputWidget.d.ts.map +1 -1
  68. package/dist/widgets/GeoHierarchyWidget.d.ts.map +1 -1
  69. package/dist/widgets/IterableAccordionWidget.d.ts +30 -0
  70. package/dist/widgets/IterableAccordionWidget.d.ts.map +1 -0
  71. package/dist/widgets/MultiSelectWidget.d.ts.map +1 -1
  72. package/dist/widgets/NumberInputWidget.d.ts.map +1 -1
  73. package/dist/widgets/ParentLookupWidget.d.ts.map +1 -1
  74. package/dist/widgets/PhoneInputWidget.d.ts.map +1 -1
  75. package/dist/widgets/RegisterLookupWidget.d.ts.map +1 -1
  76. package/dist/widgets/SelectWidget.d.ts.map +1 -1
  77. package/dist/widgets/SimpleTableWidget.d.ts +32 -0
  78. package/dist/widgets/SimpleTableWidget.d.ts.map +1 -0
  79. package/dist/widgets/TableWidget.d.ts.map +1 -1
  80. package/dist/widgets/TextAreaWidget.d.ts.map +1 -1
  81. package/dist/widgets/TextInputWidget.d.ts.map +1 -1
  82. 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"}
@@ -63,17 +63,15 @@ export interface WidgetTheme {
63
63
  button?: WidgetThemeButton;
64
64
  widget?: WidgetThemeWidget;
65
65
  }
66
- export declare const defaultTheme: Required<{
67
- colors: Required<WidgetThemeColors>;
68
- section: Required<WidgetThemeSection>;
69
- panel: Required<WidgetThemePanel>;
70
- button: Required<WidgetThemeButton>;
71
- widget: Required<WidgetThemeWidget>;
72
- }>;
73
- export declare function resolveTheme(theme?: WidgetTheme): typeof defaultTheme;
74
- /**
75
- * Maps a resolved theme to CSS custom properties (`--owt-*`, OpenG2P Widget Theme)
76
- * on the provider wrapper for use via `var(--owt-…)`.
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 @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AAmB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,aAAa,CA2D5E;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,CAAC,EAAE,WAAW,EACnB,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,GAC/B;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,CAKnD;AAED,eAAO,MAAM,gBAAgB,2sEA8E5B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EACjC,KAAa,EACb,QAAgB,EAChB,SAAc,GACf,GAAE;IACD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,CASd"}
@@ -0,0 +1,11 @@
1
+ import { SectionConfig } from '../types';
2
+ import type { SectionChanges } from '../components/SectionRenderer';
3
+ /**
4
+ * 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"}
@@ -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;AAiB5C,UAAU,oBAAoB;IAC5B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,GAAI,YAAY,oBAAoB,4CA8S/D,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;AAa5C,UAAU,wBAAwB;IAChC,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,mBAAmB,GAAI,YAAY,wBAAwB,4CAoNvE,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":"AAKA,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,4CAwmBnE,CAAC"}
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;AAM5C,UAAU,oBAAoB;IAC5B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,GAAI,YAAY,oBAAoB,4CA+U/D,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;AAU5C,UAAU,uBAAuB;IAC/B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AA+MD,eAAO,MAAM,kBAAkB,GAAI,YAAY,uBAAuB,4CAkIrE,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;AAY5C,UAAU,sBAAsB;IAC9B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,YAAY,sBAAsB,4CAmhBnE,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;AAW5C,UAAU,sBAAsB;IAC9B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,YAAY,sBAAsB,4CAuNnE,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;AAyE5C,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,4CA0kBA,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;AAI5C,UAAU,qBAAqB;IAC7B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,gBAAgB,GAAI,YAAY,qBAAqB,4CAsEjE,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;AA8S5C,eAAO,MAAM,oBAAoB,GAAI,YAAY;IAAE,MAAM,EAAE,gBAAgB,CAAA;CAAE,4CA4X5E,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;AAI5C,UAAU,iBAAiB;IACzB,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,YAAY,GAAI,YAAY,iBAAiB,4CAkGzD,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;AAyc5C,UAAU,gBAAgB;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAeD,eAAO,MAAM,WAAW,GAAI,YAAY,gBAAgB,4CA44BvD,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;AAI5C,UAAU,mBAAmB;IAC3B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,cAAc,GAAI,YAAY,mBAAmB,4CAwJ7D,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;AAI5C,UAAU,oBAAoB;IAC5B,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,GAAI,YAAY,oBAAoB,4CAmN/D,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.7",
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
- "json-edit-react": "^1.30.2"
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
  }