@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
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/components/SectionBuilder/schemas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,YAAY,4MAkBf,CAAC;AAEX,eAAO,MAAM,YAAY,qCAAsC,CAAC;AAEhE,eAAO,MAAM,mBAAmB,6GAStB,CAAC;AAEX,eAAO,MAAM,iBAAiB,sCAAuC,CAAC;AAEtE,eAAO,MAAM,gBAAgB,oCAAqC,CAAC;AAEnE,eAAO,MAA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atJsonDocument(text: string): string;
7
+ export declare function parseJsonSyntax(text: string): {
8
+ jsonSyntaxValid: boolean;
9
+ parsed?: unknown;
10
+ jsonSyntaxHint?: JsonSyntaxHint;
11
+ errors: string[];
12
+ };
13
+ export declare function lineToIndex(text: string, line: number, atEnd?: boolean): number;
14
+ //# sourceMappingURL=parseJsoncSyntax.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseJsoncSyntax.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionBuilder/validate/parseJsoncSyntax.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAiCF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOvD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG;IAC7C,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAkBA;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,UAAO,GAAG,MAAM,CAc5E"}
@@ -0,0 +1,12 @@
1
+ import type { SectionConfig } from '../../../types';
2
+ import { type JsonSyntaxHint } from './parseJsoncSyntax';
3
+ export type { JsonSyntaxHint };
4
+ export type SectionJsonParseResult = {
5
+ isValid: boolean;
6
+ errors: string[];
7
+ parsed?: SectionConfig;
8
+ jsonSyntaxValid: boolean;
9
+ jsonSyntaxHint?: JsonSyntaxHint;
10
+ };
11
+ export declare function parseSectionJson(text: string): SectionJsonParseResult;
12
+ //# sourceMappingURL=parseSectionJson.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseSectionJson.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionBuilder/validate/parseSectionJson.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAE1E,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AAgEF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,sBAAsB,CAqBrE"}
@@ -0,0 +1,7 @@
1
+ import type { SectionConfig } from '../../../types';
2
+ export interface SectionValidationResult {
3
+ isValid: boolean;
4
+ errors: string[];
5
+ }
6
+ export declare function validateSection(section: SectionConfig): SectionValidationResult;
7
+ //# sourceMappingURL=validateSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateSection.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionBuilder/validate/validateSection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiC,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGnF,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAMD,wBAAgB,eAAe,CAAC,OAAO,EAAE,aAAa,GAAG,uBAAuB,CAgE/E"}
@@ -0,0 +1,8 @@
1
+ export interface CRViewFooterProps {
2
+ createdBy?: unknown;
3
+ createdDate?: unknown;
4
+ approvedBy?: unknown;
5
+ approvedDate?: unknown;
6
+ }
7
+ export declare const CRViewFooter: ({ createdBy, createdDate, approvedBy, approvedDate, }: CRViewFooterProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=CRViewFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CRViewFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/CRViewFooter.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,GAAI,uDAK1B,iBAAiB,4CAoInB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditSectionPortal.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/EditSectionPortal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAOtD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,mBAAmB,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACzE,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,aAAa,CAAC;IAClC,eAAe,EAAE,aAAa,CAAC;IAC/B,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,mBAAmB,EAAE,wBAAwB,EAAE,CAAC;IAChD,sBAAsB,EAAE,OAAO,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,GAAI,+PAkB/B,sBAAsB,uCA6HxB,CAAC"}
1
+ {"version":3,"file":"EditSectionPortal.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/EditSectionPortal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAOtD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,mBAAmB,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACzE,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,aAAa,CAAC;IAClC,eAAe,EAAE,aAAa,CAAC;IAC/B,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,mBAAmB,EAAE,wBAAwB,EAAE,CAAC;IAChD,sBAAsB,EAAE,OAAO,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,GAAI,+PAkB/B,sBAAsB,uCA0IxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IntakeFormLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/IntakeFormLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAEnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAMpE,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,aAAa,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,EAAE,OAAO,GAAG,UAAU,GAAG,IAAI,CAAC;IACrD,eAAe,EAAE,aAAa,CAAC;IAC/B,mBAAmB,EAAE,wBAAwB,EAAE,CAAC;IAChD,sBAAsB,EAAE,OAAO,CAAC;IAChC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,GAAI,4QAkB9B,qBAAqB,4CAqLvB,CAAC"}
1
+ {"version":3,"file":"IntakeFormLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/IntakeFormLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAEnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAMpE,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,aAAa,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,EAAE,OAAO,GAAG,UAAU,GAAG,IAAI,CAAC;IACrD,eAAe,EAAE,aAAa,CAAC;IAC/B,mBAAmB,EAAE,wBAAwB,EAAE,CAAC;IAChD,sBAAsB,EAAE,OAAO,CAAC;IAChC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,GAAI,4QAkB9B,qBAAqB,4CAwLvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RegistryViewLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/RegistryViewLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAMtD,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,aAAa,CAAC;IAC/B,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,iBAAiB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAClC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,uBAAuB,EAAE,OAAO,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,GAAI,0LAahC,uBAAuB,4CAmGzB,CAAC"}
1
+ {"version":3,"file":"RegistryViewLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/RegistryViewLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAMtD,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,aAAa,CAAC;IAC/B,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,iBAAiB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAClC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,uBAAuB,EAAE,OAAO,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,GAAI,0LAahC,uBAAuB,4CAsGzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SectionStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/SectionStyles.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,8BAA8B,EAAE,MAAM,CAAC;CACxC;AAED,eAAO,MAAM,aAAa,GAAI,6IAQ3B,kBAAkB,4CAwLpB,CAAC"}
1
+ {"version":3,"file":"SectionStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/SectionStyles.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,8BAA8B,EAAE,MAAM,CAAC;CACxC;AAED,eAAO,MAAM,aAAa,GAAI,6IAQ3B,kBAAkB,4CA4LpB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SectionMode } from '../../SectionsContainer';
2
+ export declare const useCrViewData: (mode: SectionMode, currentSchemaData: Record<string, unknown>, storeValues: Record<string, unknown>) => {
3
+ createdBy: any;
4
+ createdDate: any;
5
+ approvedBy: any;
6
+ approvedDate: any;
7
+ } | null;
8
+ //# sourceMappingURL=useCrViewData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCrViewData.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/hooks/useCrViewData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,eAAO,MAAM,aAAa,GACxB,MAAM,WAAW,EACjB,mBAAmB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1C,aAAa,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;QAaM,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { SectionConfig } from '../types';
2
+ import { UseBaseWidgetOptions } from '../hooks/useBaseWidget';
3
+ import { SectionMode } from './SectionsContainer';
4
+ export interface SectionChanges {
5
+ section_id?: string;
6
+ section_register_id?: string;
7
+ records: unknown[];
8
+ files?: unknown[];
9
+ image?: File | null;
10
+ }
11
+ export interface SectionRendererProps {
12
+ section: SectionConfig;
13
+ dataSourceRequestHandler?: UseBaseWidgetOptions['dataSourceRequestHandler'];
14
+ schemaData?: UseBaseWidgetOptions['schemaData'];
15
+ onValueChange?: UseBaseWidgetOptions['onValueChange'];
16
+ gridColumnSpan?: number;
17
+ onSectionSave?: (changes: SectionChanges) => Promise<void> | void;
18
+ hideEditButton?: boolean;
19
+ mode?: SectionMode;
20
+ namespace?: string;
21
+ changeRequestType?: 'new' | 'old';
22
+ showChangeRequestLabel?: boolean;
23
+ dbSectionId?: string;
24
+ sectionRegisterId?: string;
25
+ /** Called when the section's dirty (has unsaved changes) status changes. Only fires while in edit mode. */
26
+ onSectionDirtyChange?: (sectionId: string, isDirty: boolean) => void;
27
+ /** IntakeForm mode: 0-based index of this section within the form */
28
+ sectionIndex?: number;
29
+ /** IntakeForm mode: total number of sections in the form */
30
+ sectionCount?: number;
31
+ /** IntakeForm mode: index of the currently expanded section (null = all collapsed) */
32
+ expandedSectionIndex?: number | null;
33
+ /** IntakeForm mode: called when user requests to expand a section (e.g. clicks accordion header) */
34
+ onExpandSection?: (index: number) => void;
35
+ /** IntakeForm mode: called when section save completes successfully (collapse current, expand next) */
36
+ onSectionSaveSuccess?: (index: number) => void;
37
+ /** IntakeForm mode: called when user clicks Previous (collapse current, expand previous) */
38
+ onPreviousSection?: (index: number) => void;
39
+ /** IntakeForm mode: when true or undefined, sections are editable; when false, sections are readonly */
40
+ isDraft?: boolean;
41
+ /**
42
+ * IntakeForm mode: when true the accordion header is clickable so the user can open/close this
43
+ * section freely. False (default) locks the header — navigation is only via Next/Previous.
44
+ * SectionsContainer sets this to true for every visited section plus the one immediately after.
45
+ */
46
+ isAccessible?: boolean;
47
+ /** RegistryView: called when this section enters or exits edit mode. Used by SectionsContainer to enforce single-edit. */
48
+ onEditModeChange?: (sectionId: string, editing: boolean) => void;
49
+ /** RegistryView: when true, forces this section out of edit mode (another section took over). */
50
+ forceExitEdit?: boolean;
51
+ }
52
+ /**
53
+ * Renders a section with its panels
54
+ *
55
+ * Layout behavior:
56
+ * - Section width is based on max 3 panels (or more on high resolution)
57
+ * - Panels wrap when they exceed available width
58
+ * - Sections can sit side-by-side if there's space
59
+ */
60
+ export declare const SectionRenderer: ({ section, dataSourceRequestHandler: propDataSourceRequestHandler, schemaData, onValueChange, gridColumnSpan, onSectionSave, hideEditButton, mode, namespace, changeRequestType, showChangeRequestLabel, dbSectionId, sectionRegisterId, onSectionDirtyChange, sectionIndex, sectionCount, expandedSectionIndex, onExpandSection, onSectionSaveSuccess, onPreviousSection, isDraft, isAccessible, onEditModeChange, forceExitEdit, }: SectionRendererProps) => import("react/jsx-runtime").JSX.Element;
61
+ //# sourceMappingURL=SectionRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionRenderer.d.ts","sourceRoot":"","sources":["../../src/components/SectionRenderer.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAyC,MAAM,UAAU,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQ9D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAuDlD,MAAM,WAAW,cAAc;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,aAAa,CAAC;IACvB,wBAAwB,CAAC,EAAE,oBAAoB,CAAC,0BAA0B,CAAC,CAAC;IAC5E,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAClE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAClC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAGjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,2GAA2G;IAC3G,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,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AAC;IAC3C,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAcD,eAAO,MAAM,gBAAgB;+BAXA,wBAAwB;iBACtC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;kBAClB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;QAC5C,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM;CAU3C,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,mFAQ5B,mBAAmB,4CAmErB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { BaseWidgetConfig, DataSourceRequestHandler } from '../types';
2
+ export interface UseGeoWidgetCascadeOptions {
3
+ config: BaseWidgetConfig;
4
+ dataSourceRequestHandler?: DataSourceRequestHandler;
5
+ values: Record<string, any>;
6
+ }
7
+ /**
8
+ * Hook for geo widget cascade functionality
9
+ * Handles geo hierarchy building and cascade behavior
10
+ */
11
+ export declare const useGeoWidgetCascade: (options: UseGeoWidgetCascadeOptions) => void;
12
+ //# sourceMappingURL=useGeoWidgetCascade.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGeoWidgetCascade.d.ts","sourceRoot":"","sources":["../../src/hooks/useGeoWidgetCascade.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAmBtE,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,gBAAgB,CAAC;IACzB,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC7B;AAGD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,0BAA0B,SAwMtE,CAAC"}
@@ -1,11 +1,8 @@
1
- import { resolveTheme } from '../theme';
2
- export type ResolvedTheme = ReturnType<typeof resolveTheme>;
3
- export declare const ThemeContext: import("react").Context<Required<{
4
- colors: Required<import("../theme").WidgetThemeColors>;
5
- section: Required<import("../theme").WidgetThemeSection>;
6
- panel: Required<import("../theme").WidgetThemePanel>;
7
- button: Required<import("../theme").WidgetThemeButton>;
8
- widget: Required<import("../theme").WidgetThemeWidget>;
9
- }>>;
10
- export declare function useWidgetTheme(): ResolvedTheme;
1
+ import type { WidgetTheme } from '../theme';
2
+ export declare const ThemeContext: import("react").Context<WidgetTheme | undefined>;
3
+ export declare function useWidgetTheme(): WidgetTheme | undefined;
4
+ export declare function useOwtThemeRootProps(): {
5
+ className: string;
6
+ style: React.CSSProperties;
7
+ };
11
8
  //# sourceMappingURL=useWidgetTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useWidgetTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useWidgetTheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,YAAY,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAE5D,eAAO,MAAM,YAAY;;;;;;GAA6C,CAAC;AAEvE,wBAAgB,cAAc,IAAI,aAAa,CAE9C"}
1
+ {"version":3,"file":"useWidgetTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useWidgetTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,eAAO,MAAM,YAAY,kDAAoD,CAAC;AAE9E,wBAAgB,cAAc,IAAI,WAAW,GAAG,SAAS,CAExD;AAED,wBAAgB,oBAAoB;;;EAGnC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Custom hook for widget translations
3
+ * Provides translation function with widget-specific namespace and fallback support
4
+ */
5
+ export declare const useWidgetTranslation: () => {
6
+ t: (keyOrString: string | undefined | null, options?: {
7
+ defaultValue?: string;
8
+ [key: string]: any;
9
+ }) => string;
10
+ translate: (keyOrString: string | undefined | null, options?: {
11
+ defaultValue?: string;
12
+ [key: string]: any;
13
+ }) => string;
14
+ translateConfig: (value: string | undefined | null, fallback?: string) => string;
15
+ };
16
+ //# sourceMappingURL=useWidgetTranslation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useWidgetTranslation.d.ts","sourceRoot":"","sources":["../../src/hooks/useWidgetTranslation.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,oBAAoB;qBAoBhB,MAAM,GAAG,SAAS,GAAG,IAAI,YAC5B;QACR,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KACA,MAAM;6BALM,MAAM,GAAG,SAAS,GAAG,IAAI,YAC5B;QACR,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KACA,MAAM;6BA0BA,MAAM,GAAG,SAAS,GAAG,IAAI,aACrB,MAAM,KAChB,MAAM;CAqDV,CAAC"}
@@ -0,0 +1,21 @@
1
+ import i18n from 'i18next';
2
+ /**
3
+ * Initialize i18n for the widget library
4
+ * Can be customized by passing custom resources or configuration
5
+ *
6
+ * If no resources are provided, it will attempt to automatically load translations
7
+ * from the consuming project's locale directory.
8
+ *
9
+ * If options are provided and the default instance is already initialized,
10
+ * creates a new i18n instance to avoid reinitialization issues.
11
+ */
12
+ export declare const initI18n: (options?: {
13
+ resources?: Record<string, any>;
14
+ lng?: string;
15
+ fallbackLng?: string;
16
+ debug?: boolean;
17
+ loadPath?: string | string[];
18
+ autoLoad?: boolean;
19
+ }) => Promise<import("i18next").i18n>;
20
+ export default i18n;
21
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/i18n/config.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AA6C3B;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,GAAU,UAAU;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,oCAuEA,CAAC;AAwBF,eAAe,IAAI,CAAC"}
package/dist/index.d.ts CHANGED
@@ -451,14 +451,12 @@ interface WidgetTheme {
451
451
  button?: WidgetThemeButton;
452
452
  widget?: WidgetThemeWidget;
453
453
  }
454
- declare const defaultTheme: Required<{
455
- colors: Required<WidgetThemeColors>;
456
- section: Required<WidgetThemeSection>;
457
- panel: Required<WidgetThemePanel>;
458
- button: Required<WidgetThemeButton>;
459
- widget: Required<WidgetThemeWidget>;
460
- }>;
461
- declare function resolveTheme(theme?: WidgetTheme): typeof defaultTheme;
454
+ declare function themeToCSSVariables(theme?: WidgetTheme): React$1.CSSProperties;
455
+ declare function owtFieldInputClass({ error, disabled, className, }?: {
456
+ error?: boolean;
457
+ disabled?: boolean;
458
+ className?: string;
459
+ }): string;
462
460
 
463
461
  interface WidgetProviderProps {
464
462
  store?: WidgetStore;
@@ -545,26 +543,29 @@ interface SectionRendererProps {
545
543
 
546
544
  declare const SectionRenderer: ({ section, dataSourceRequestHandler: propDataSourceRequestHandler, schemaData, onValueChange, gridColumnSpan, onSectionSave, hideEditButton, mode, changeRequestType, showChangeRequestLabel, dbSectionId, sectionRegisterId, onSectionDirtyChange, sectionIndex, expandedSectionIndex, onExpandSection, onSectionSaveSuccess, onPreviousSection, isDraft, isAccessible, onEditModeChange, forceExitEdit, }: SectionRendererProps) => react_jsx_runtime.JSX.Element;
547
545
 
546
+ type BuilderNotifyType$1 = 'success' | 'error' | 'info' | 'warn';
548
547
  interface SectionBuilderProps {
549
548
  initialSection?: SectionConfig;
550
549
  onChange?: (section: SectionConfig) => void;
551
550
  onSave?: (section: SectionConfig) => void;
551
+ onNotify?: (message: string, type: BuilderNotifyType$1) => void;
552
552
  }
553
- /**
554
- * Main Section Builder Component
555
- * Provides dual-panel interface for editing section JSON
556
- */
557
553
  declare const SectionBuilder: React$1.FC<SectionBuilderProps>;
558
554
 
555
+ type BuilderNotifyType = 'success' | 'error' | 'info' | 'warn';
559
556
  interface JSONEditorPanelProps {
560
- section: SectionConfig;
557
+ initialText: string;
561
558
  onChange: (section: SectionConfig) => void;
562
- onReset?: () => void;
563
- context?: 'section' | 'panel' | 'widget';
559
+ onRawDraftChange?: (next: string) => void;
560
+ onRawValidationChange?: (next: {
561
+ isValid: boolean;
562
+ errors: string[];
563
+ jsonSyntaxValid: boolean;
564
+ }) => void;
565
+ onNotify?: (message: string, type: BuilderNotifyType) => void;
566
+ isMaximized?: boolean;
567
+ onToggleMaximize?: () => void;
564
568
  }
565
- /**
566
- * JSON Editor Panel - Left side of Section Builder
567
- */
568
569
  declare const JSONEditorPanel: React$1.FC<JSONEditorPanelProps>;
569
570
 
570
571
  type TreeNodeType = 'section' | 'panel' | 'widget';
@@ -581,13 +582,16 @@ interface SectionTreeProps {
581
582
  selectedNode?: TreeNode | null;
582
583
  onSelectNode: (node: TreeNode | null) => void;
583
584
  onAddPanel: (parentId: string, parentType: TreeNodeType) => void;
584
- onAddWidget: (parentId: string) => void;
585
+ onAddWidget: (parentId: string, widgetType?: string) => void;
585
586
  onDeleteNode: (node: TreeNode) => void;
586
587
  onDuplicateNode: (node: TreeNode) => void;
588
+ onMoveNode?: (args: {
589
+ kind: 'panel' | 'widget';
590
+ parentPanelId: string | null;
591
+ activeId: string;
592
+ overId: string;
593
+ }) => void;
587
594
  }
588
- /**
589
- * Tree view component for section structure
590
- */
591
595
  declare const SectionTree: React$1.FC<SectionTreeProps>;
592
596
 
593
597
  interface VisualBuilderPanelProps {
@@ -596,16 +600,18 @@ interface VisualBuilderPanelProps {
596
600
  onSelectNode: (node: TreeNode | null) => void;
597
601
  onSectionChange: (section: SectionConfig) => void;
598
602
  onAddPanel: (parentId: string, parentType: 'section' | 'panel' | 'widget') => void;
599
- onAddWidget: (parentId: string) => void;
603
+ onAddWidget: (parentId: string, widgetType?: string) => void;
600
604
  onDeleteNode: (node: TreeNode) => void;
601
605
  onDuplicateNode: (node: TreeNode) => void;
602
- onSave?: (section: SectionConfig) => void;
606
+ onMoveNode?: (args: {
607
+ kind: 'panel' | 'widget';
608
+ parentPanelId: string | null;
609
+ activeId: string;
610
+ overId: string;
611
+ }) => void;
603
612
  isMaximized?: boolean;
604
613
  onToggleMaximize?: () => void;
605
614
  }
606
- /**
607
- * Visual Builder Panel - Right side of Section Builder
608
- */
609
615
  declare const VisualBuilderPanel: React$1.FC<VisualBuilderPanelProps>;
610
616
 
611
617
  interface PropertyEditorProps {
@@ -614,11 +620,13 @@ interface PropertyEditorProps {
614
620
  onDelete: (node: TreeNode) => void;
615
621
  onDuplicate: (node: TreeNode) => void;
616
622
  }
617
- /**
618
- * Property editor component for editing selected node properties
619
- */
620
623
  declare const PropertyEditor: React$1.FC<PropertyEditorProps>;
621
624
 
625
+ 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"];
626
+ type WidgetType = (typeof WIDGET_TYPES)[number];
627
+ declare function getWidgetCategory(widget: string): 'input' | 'layout' | 'table' | 'group';
628
+ declare function createDefaultWidgetConfig(widgetType: string): BaseWidgetConfig;
629
+
622
630
  declare const registerDefaultWidgets: () => void;
623
631
 
624
632
  declare class WidgetRegistry {
@@ -871,12 +879,11 @@ declare const isAllowedKey: (key: string, format: WidgetFormat | undefined, curr
871
879
  declare const getFormattedNumberLength: (value: number | string | null, format: WidgetFormat | undefined) => number;
872
880
  declare const normalizeNumericDefault: (defaultValue: unknown, format: WidgetFormat | undefined) => number | null | undefined;
873
881
 
874
- type ResolvedTheme = ReturnType<typeof resolveTheme>;
875
- declare function useWidgetTheme(): ResolvedTheme;
882
+ declare function useWidgetTheme(): WidgetTheme | undefined;
876
883
 
877
884
  declare const translateWidgetConfig: (widgetConfig: BaseWidgetConfig, translate: (key: string, options?: any) => string) => BaseWidgetConfig;
878
885
  declare const translatePanelConfig: (panel: PanelConfig, translate: (key: string, options?: any) => string) => PanelConfig;
879
886
  declare const translateUISchema: (schema: UISchema, translate: (key: string, options?: any) => string) => UISchema;
880
887
 
881
- export { BooleanWidget, CheckboxWidget, DateInputWidget, DateTimeInputWidget, DialogTableWidget, DisplayWidget, DocsWidget, FileInputWidget, GeoHierarchyWidget, HeaderSectionWidget, IdAuthenticationWidget, JSONEditorPanel, MultiSelectWidget, NumberInputWidget, PanelRenderer, ParentLookupWidget, PhoneInputWidget, ProfileWidget, PropertyEditor, RadioWidget, RegisterLookupWidget, ScoresDisplayWidget, SectionBuilder, SectionRenderer, SectionTree, SectionsContainer, SelectWidget, TableWidget, TextAreaWidget, TextInputWidget, VisualBuilderPanel, WidgetEventBus, WidgetProvider, WidgetRenderer, applyCaseControl, applyDecimalPrecision, applyMask, createWidgetStore, createZodSchema, defaultTheme, deleteValueByPath, evaluateCondition, evaluateWidgetConditions, filterByCharacterType, formatCurrency, formatDate, formatNumber, formatPhone, formatValue, getApiDataSource, getCachedApiDataSource, getFormattedNumberLength, getSchemaDataSource, getStaticDataSource, getValueByPath, getWidgetValue, hasVisibilityRules, isAllowedKey, isGeoHierarchyDataSource, isWidgetValueEmpty, normalizeNumericDefault, normalizeOptionRules, parseDataPath, parseNumber, registerDefaultWidgets, removeMask, replaceValues, resetAll, resetWidget, resolveTheme, resolveWidgetIdValue, setDataSource, setError, setLoading, setTouched, setValue, setValueByPath, setValues, setWidgetValue, shouldEnableWidget, shouldRequireWidget, shouldShowWidget, transformDataSourceOptions, translatePanelConfig, translateUISchema, translateWidgetConfig, useBaseWidget, useWidgetCascade, useWidgetContext, useWidgetEventBus, useWidgetTheme, validateDocsWidget, validateNumericValue, validateWidget, widgetRegistry };
882
- export type { ApiAdapter, ApiDataSource$1 as ApiDataSource, BaseWidgetConfig, BooleanControlType, BooleanRepresentation, CaseControl, CharacterType, ConditionOperator, DataSource, DataSourceRequestHandler, DataSourceType, DocsWidgetDocumentConfig, GeoHierarchyDataPath, GeoHierarchyDataSource, GeoHierarchyLayout, InputMask, NumericType, PanelConfig, RoundingMode, SchemaDataSource, SectionBuilderProps, SectionChanges, SectionConfig, SectionMode, SectionRendererProps, SectionsContainerProps, SectionsFormHandle, StaticDataSource, SupportingDocumentConfig, TextAlign, TreeNode, TreeNodeType, UISchema, UseBaseWidgetOptions, ValidationType, WidgetCascadeConfig, WidgetCondition, WidgetConditionState, WidgetContextValue, WidgetDataPath, WidgetDispatch, WidgetEvent, WidgetEventType, WidgetFormat, WidgetOptionRule, WidgetOptions, WidgetRegistryEntry, WidgetRenderFunction, WidgetRootState, WidgetState, WidgetStore, WidgetTheme, WidgetThemeButton, WidgetThemeColors, WidgetThemePanel, WidgetThemeSection, WidgetThemeWidget, WidgetValidation, WidgetValue };
888
+ export { BooleanWidget, CheckboxWidget, DateInputWidget, DateTimeInputWidget, DialogTableWidget, DisplayWidget, DocsWidget, FileInputWidget, GeoHierarchyWidget, HeaderSectionWidget, IdAuthenticationWidget, JSONEditorPanel, MultiSelectWidget, NumberInputWidget, PanelRenderer, ParentLookupWidget, PhoneInputWidget, ProfileWidget, PropertyEditor, RadioWidget, RegisterLookupWidget, ScoresDisplayWidget, SectionBuilder, SectionRenderer, SectionTree, SectionsContainer, SelectWidget, TableWidget, TextAreaWidget, TextInputWidget, VisualBuilderPanel, WIDGET_TYPES, WidgetEventBus, WidgetProvider, WidgetRenderer, applyCaseControl, applyDecimalPrecision, applyMask, createDefaultWidgetConfig, createWidgetStore, createZodSchema, deleteValueByPath, evaluateCondition, evaluateWidgetConditions, filterByCharacterType, formatCurrency, formatDate, formatNumber, formatPhone, formatValue, getApiDataSource, getCachedApiDataSource, getFormattedNumberLength, getSchemaDataSource, getStaticDataSource, getValueByPath, getWidgetCategory, getWidgetValue, hasVisibilityRules, isAllowedKey, isGeoHierarchyDataSource, isWidgetValueEmpty, normalizeNumericDefault, normalizeOptionRules, owtFieldInputClass, parseDataPath, parseNumber, registerDefaultWidgets, removeMask, replaceValues, resetAll, resetWidget, resolveWidgetIdValue, setDataSource, setError, setLoading, setTouched, setValue, setValueByPath, setValues, setWidgetValue, shouldEnableWidget, shouldRequireWidget, shouldShowWidget, themeToCSSVariables, transformDataSourceOptions, translatePanelConfig, translateUISchema, translateWidgetConfig, useBaseWidget, useWidgetCascade, useWidgetContext, useWidgetEventBus, useWidgetTheme, validateDocsWidget, validateNumericValue, validateWidget, widgetRegistry };
889
+ export type { ApiAdapter, ApiDataSource$1 as ApiDataSource, BaseWidgetConfig, BooleanControlType, BooleanRepresentation, BuilderNotifyType$1 as BuilderNotifyType, CaseControl, CharacterType, ConditionOperator, DataSource, DataSourceRequestHandler, DataSourceType, DocsWidgetDocumentConfig, GeoHierarchyDataPath, GeoHierarchyDataSource, GeoHierarchyLayout, InputMask, NumericType, PanelConfig, RoundingMode, SchemaDataSource, SectionBuilderProps, SectionChanges, SectionConfig, SectionMode, SectionRendererProps, SectionsContainerProps, SectionsFormHandle, StaticDataSource, SupportingDocumentConfig, TextAlign, TreeNode, TreeNodeType, UISchema, UseBaseWidgetOptions, ValidationType, WidgetCascadeConfig, WidgetCondition, WidgetConditionState, WidgetContextValue, WidgetDataPath, WidgetDispatch, WidgetEvent, WidgetEventType, WidgetFormat, WidgetOptionRule, WidgetOptions, WidgetRegistryEntry, WidgetRenderFunction, WidgetRootState, WidgetState, WidgetStore, WidgetTheme, WidgetThemeButton, WidgetThemeColors, WidgetThemePanel, WidgetThemeSection, WidgetThemeWidget, WidgetType, WidgetValidation, WidgetValue };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src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