@openg2p/registry-widgets 1.1.9-dev.2 → 1.1.9-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/PanelRenderer.d.ts.map +1 -1
- package/dist/components/SectionBuilder/schemas.d.ts +4 -4
- package/dist/components/SectionRenderer/SectionRenderer.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/types/sectionChanges.d.ts +11 -2
- package/dist/components/SectionRenderer/types/sectionChanges.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/diffSectionChangeRecords.d.ts +2 -1
- package/dist/components/SectionRenderer/utils/diffSectionChangeRecords.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/documentWidgetConfig.d.ts +0 -1
- package/dist/components/SectionRenderer/utils/documentWidgetConfig.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/executeSectionSave.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/index.d.ts +2 -0
- package/dist/components/SectionRenderer/utils/index.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/sectionFiles.d.ts +52 -0
- package/dist/components/SectionRenderer/utils/sectionFiles.d.ts.map +1 -0
- package/dist/components/SectionRenderer/utils/sectionSnapshot.d.ts +3 -2
- package/dist/components/SectionRenderer/utils/sectionSnapshot.d.ts.map +1 -1
- package/dist/components/SectionsContainer.d.ts.map +1 -1
- package/dist/hooks/useBaseWidget.d.ts.map +1 -1
- package/dist/index.d.ts +53 -21
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +638 -744
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +640 -745
- package/dist/index.js.map +1 -1
- package/dist/registry/defaultWidgets.d.ts.map +1 -1
- package/dist/registry/widgetTypes.d.ts +1 -1
- package/dist/registry/widgetTypes.d.ts.map +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +0 -10
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/pathUtils.d.ts.map +1 -1
- package/dist/utils/sectionValidate.d.ts +2 -1
- package/dist/utils/sectionValidate.d.ts.map +1 -1
- package/dist/utils/storedDocument.d.ts +9 -0
- package/dist/utils/storedDocument.d.ts.map +1 -0
- package/dist/utils/validation.d.ts +1 -2
- package/dist/utils/validation.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/HeaderSectionWidget.d.ts.map +1 -1
- package/dist/widgets/IdAuthenticationWidget.d.ts.map +1 -1
- package/dist/widgets/ProfileWidget.d.ts.map +1 -1
- package/dist/widgets/RegisterLookupWidget.d.ts.map +1 -1
- package/dist/widgets/TableWidget.d.ts.map +1 -1
- package/dist/widgets/index.d.ts +0 -1
- package/dist/widgets/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/widgets/DocsWidget.d.ts +0 -16
- package/dist/widgets/DocsWidget.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelRenderer.d.ts","sourceRoot":"","sources":["../../src/components/PanelRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,WAAW,CAAC;IACnB,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,GAAI,6EAM3B,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PanelRenderer.d.ts","sourceRoot":"","sources":["../../src/components/PanelRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,WAAW,CAAC;IACnB,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACtD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,GAAI,6EAM3B,kBAAkB,4CAmIpB,CAAC"}
|
|
@@ -41,7 +41,7 @@ export declare const panelSchema: {
|
|
|
41
41
|
properties: {
|
|
42
42
|
widget: {
|
|
43
43
|
type: "string";
|
|
44
|
-
enum: 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"
|
|
44
|
+
enum: 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"];
|
|
45
45
|
description: string;
|
|
46
46
|
};
|
|
47
47
|
'widget-type': {
|
|
@@ -505,7 +505,7 @@ export declare const panelSchema: {
|
|
|
505
505
|
properties: {
|
|
506
506
|
widget: {
|
|
507
507
|
type: "string";
|
|
508
|
-
enum: 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"
|
|
508
|
+
enum: 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"];
|
|
509
509
|
description: string;
|
|
510
510
|
};
|
|
511
511
|
'widget-type': {
|
|
@@ -1029,7 +1029,7 @@ export declare const sectionSchema: {
|
|
|
1029
1029
|
properties: {
|
|
1030
1030
|
widget: {
|
|
1031
1031
|
type: "string";
|
|
1032
|
-
enum: 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"
|
|
1032
|
+
enum: 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"];
|
|
1033
1033
|
description: string;
|
|
1034
1034
|
};
|
|
1035
1035
|
'widget-type': {
|
|
@@ -1493,7 +1493,7 @@ export declare const sectionSchema: {
|
|
|
1493
1493
|
properties: {
|
|
1494
1494
|
widget: {
|
|
1495
1495
|
type: "string";
|
|
1496
|
-
enum: 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"
|
|
1496
|
+
enum: 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"];
|
|
1497
1497
|
description: string;
|
|
1498
1498
|
};
|
|
1499
1499
|
'widget-type': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/SectionRenderer/SectionRenderer.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAmB/C,eAAO,MAAM,eAAe,GAAI,6YAuB7B,oBAAoB,
|
|
1
|
+
{"version":3,"file":"SectionRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/SectionRenderer/SectionRenderer.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAmB/C,eAAO,MAAM,eAAe,GAAI,6YAuB7B,oBAAoB,4CAiNtB,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,
|
|
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,4CA2LvB,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,
|
|
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,4CAgGzB,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,
|
|
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,4CA8LpB,CAAC"}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
export interface SectionChanges {
|
|
2
2
|
section_id?: string;
|
|
3
3
|
section_register_id?: string;
|
|
4
|
+
/** Non-file field values only. File widgets are never included here. */
|
|
4
5
|
records: unknown[];
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* All section files (profile, supporting docs, and direct file widgets).
|
|
8
|
+
* Each entry includes `tag`: `_profile` | `_supporting_docs` | `_direct_file`.
|
|
9
|
+
*
|
|
10
|
+
* Two shapes:
|
|
11
|
+
* - Fresh upload: SerializedFile (`__type: "File"`) + meta
|
|
12
|
+
* - Unchanged existing doc:
|
|
13
|
+
* `{ label, document_id, presigned_url, source_filename?, tag, field? }`
|
|
14
|
+
*/
|
|
15
|
+
section_files?: unknown[];
|
|
7
16
|
}
|
|
8
17
|
//# sourceMappingURL=sectionChanges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sectionChanges.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/types/sectionChanges.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"sectionChanges.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/types/sectionChanges.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,wEAAwE;IACxE,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;CAC3B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export declare function diffSectionChangeRecords(baselineRecords: unknown[], currentRecords: unknown[], { isTable, internalRecordId, tableColumnKeys }: {
|
|
1
|
+
export declare function diffSectionChangeRecords(baselineRecords: unknown[], currentRecords: unknown[], { isTable, internalRecordId, tableColumnKeys, hasFileChanges, }: {
|
|
2
2
|
isTable: boolean;
|
|
3
3
|
internalRecordId?: string;
|
|
4
4
|
tableColumnKeys?: string[];
|
|
5
|
+
hasFileChanges?: boolean;
|
|
5
6
|
}): unknown[];
|
|
6
7
|
//# sourceMappingURL=diffSectionChangeRecords.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diffSectionChangeRecords.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/diffSectionChangeRecords.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"diffSectionChangeRecords.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/diffSectionChangeRecords.ts"],"names":[],"mappings":"AA0JA,wBAAgB,wBAAwB,CACtC,eAAe,EAAE,OAAO,EAAE,EAC1B,cAAc,EAAE,OAAO,EAAE,EACzB,EACE,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,cAAc,GACf,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,GACA,OAAO,EAAE,CAIX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentWidgetConfig.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/documentWidgetConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,eAAO,MAAM,0BAA0B,GACrC,KAAK,wBAAwB,EAC7B,WAAW,MAAM,EACjB,OAAO,MAAM,EACb,MAAM,WAAW,EACjB,UAAU,OAAO
|
|
1
|
+
{"version":3,"file":"documentWidgetConfig.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/documentWidgetConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,eAAO,MAAM,0BAA0B,GACrC,KAAK,wBAAwB,EAC7B,WAAW,MAAM,EACjB,OAAO,MAAM,EACb,MAAM,WAAW,EACjB,UAAU,OAAO;;;;;;;;;;;;CA2BlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeSectionSave.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/executeSectionSave.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"executeSectionSave.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/executeSectionSave.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAW1C,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;KAAE,CAAC;IACnC,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,aAAa,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C,sBAAsB,EAAE,OAAO,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CACnE;AAED,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC5C;AAeD,eAAO,MAAM,kBAAkB,GAAU,sKAYtC,wBAAwB,KAAG,OAAO,CAAC,wBAAwB,CA+G7D,CAAC"}
|
|
@@ -4,6 +4,8 @@ export { makePanelsEditable, buildEditableSection } from './makePanelsEditable';
|
|
|
4
4
|
export { createDocumentWidgetConfig } from './documentWidgetConfig';
|
|
5
5
|
export { trackSectionChanges, buildSectionSnapshot, buildSectionChanges, buildSectionRecords } from './sectionSnapshot';
|
|
6
6
|
export type { BuildSectionRecordsOptions, SectionRecordsEditAction, SectionRecordsWhenEmpty } from './sectionSnapshot';
|
|
7
|
+
export { SECTION_FILE_TAG, collectAllSectionFiles, collectAllSectionFilesSync, getProfileImageUrlPaths, isFreshSectionFileEntry, } from './sectionFiles';
|
|
8
|
+
export type { SectionFileEntry, SectionFileStoredEntry, SectionFileTag, SectionFileUploadEntry, } from './sectionFiles';
|
|
7
9
|
export { diffSectionChangeRecords } from './diffSectionChangeRecords';
|
|
8
10
|
export { revertSectionValues } from './revertSectionValues';
|
|
9
11
|
export { executeSectionSave } from './executeSectionSave';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,+BAA+B,EAC/B,sCAAsC,EACtC,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxH,YAAY,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACvH,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,+BAA+B,EAC/B,sCAAsC,EACtC,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxH,YAAY,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACvH,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,cAAc,EACd,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { SectionConfig } from '../../../types';
|
|
2
|
+
import { SerializedFile } from '../../../utils/fileSerialization';
|
|
3
|
+
import { StoredDocumentRef } from '../../../utils/storedDocument';
|
|
4
|
+
/** Origin tags attached to entries in `SectionChanges.section_files`. */
|
|
5
|
+
export declare const SECTION_FILE_TAG: {
|
|
6
|
+
readonly PROFILE: "_profile";
|
|
7
|
+
readonly SUPPORTING_DOCS: "_supporting_docs";
|
|
8
|
+
readonly DIRECT_FILE: "_direct_file";
|
|
9
|
+
};
|
|
10
|
+
export type SectionFileTag = (typeof SECTION_FILE_TAG)[keyof typeof SECTION_FILE_TAG];
|
|
11
|
+
export type SectionFileMeta = {
|
|
12
|
+
tag: SectionFileTag;
|
|
13
|
+
label?: string;
|
|
14
|
+
field?: string;
|
|
15
|
+
document_key?: string;
|
|
16
|
+
};
|
|
17
|
+
/** Fresh upload blob destined for upload APIs. */
|
|
18
|
+
export type SectionFileUploadEntry = SerializedFile & SectionFileMeta;
|
|
19
|
+
/** Existing document kept as-is when the file widget did not change. */
|
|
20
|
+
export type SectionFileStoredEntry = StoredDocumentRef & SectionFileMeta;
|
|
21
|
+
export type SectionFileEntry = SectionFileUploadEntry | SectionFileStoredEntry;
|
|
22
|
+
type RawSectionFile = SectionFileMeta & {
|
|
23
|
+
value: File | SerializedFile | StoredDocumentRef;
|
|
24
|
+
};
|
|
25
|
+
export declare const isFreshSectionFileEntry: (entry: SectionFileEntry) => entry is SectionFileUploadEntry;
|
|
26
|
+
export declare const getProfileImageUrlPaths: (panels: SectionConfig["panels"]) => string[];
|
|
27
|
+
export type CollectSectionFilesOptions = {
|
|
28
|
+
/** When false, skip section-supporting-documents slots (e.g. IntakeForm). Default true. */
|
|
29
|
+
includeSupportingDocuments?: boolean;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Sync collection for dirty checks / snapshots.
|
|
33
|
+
* Fresh uploads and existing stored document refs are returned with origin tags.
|
|
34
|
+
*/
|
|
35
|
+
export declare const collectAllSectionFilesSync: (section: SectionConfig, sourceData: Record<string, unknown>, options?: CollectSectionFilesOptions) => RawSectionFile[];
|
|
36
|
+
/** Fingerprint for dirty comparison (avoids File / base64 noise). */
|
|
37
|
+
export declare const fingerprintSectionFiles: (files: RawSectionFile[]) => unknown[];
|
|
38
|
+
/**
|
|
39
|
+
* Collect every section file into `section_files`:
|
|
40
|
+
* - fresh uploads as serialized File blobs (`__type: "File"`)
|
|
41
|
+
* - unchanged existing docs as `{ label, document_id, presigned_url, source_filename }`
|
|
42
|
+
*/
|
|
43
|
+
export declare const collectAllSectionFiles: (section: SectionConfig, sourceData: Record<string, unknown>, options?: CollectSectionFilesOptions) => Promise<SectionFileEntry[]>;
|
|
44
|
+
/** Paths for file widgets / supporting docs — values travel in `section_files`, not `records`. */
|
|
45
|
+
export declare const getSectionFileBlobPaths: (section: SectionConfig, options?: CollectSectionFilesOptions) => string[];
|
|
46
|
+
/**
|
|
47
|
+
* Remove file-widget fields from records (fresh uploads, stored docs, empty placeholders).
|
|
48
|
+
* Those values are carried only in `section_files`.
|
|
49
|
+
*/
|
|
50
|
+
export declare const stripSectionFileBlobs: (records: unknown[], blobPaths: string[]) => unknown[];
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=sectionFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sectionFiles.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/sectionFiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGjE,OAAO,EAGL,cAAc,EACf,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,yEAAyE;AACzE,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,cAAc,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,kDAAkD;AAClD,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG,eAAe,CAAC;AAEtE,wEAAwE;AACxE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG,eAAe,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG,sBAAsB,CAAC;AAE/E,KAAK,cAAc,GAAG,eAAe,GAAG;IACtC,KAAK,EAAE,IAAI,GAAG,cAAc,GAAG,iBAAiB,CAAC;CAClD,CAAC;AAaF,eAAO,MAAM,uBAAuB,GAClC,OAAO,gBAAgB,KACtB,KAAK,IAAI,sBAAiD,CAAC;AAE9D,eAAO,MAAM,uBAAuB,GAAI,QAAQ,aAAa,CAAC,QAAQ,CAAC,KAAG,MAAM,EAW/E,CAAC;AA+FF,MAAM,MAAM,0BAA0B,GAAG;IACvC,2FAA2F;IAC3F,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,aAAa,EACtB,YAAY,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,UAAU,0BAA0B,KACnC,cAAc,EAahB,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,uBAAuB,GAAI,OAAO,cAAc,EAAE,KAAG,OAAO,EAsBrE,CAAC;AAEL;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GACjC,SAAS,aAAa,EACtB,YAAY,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,UAAU,0BAA0B,KACnC,OAAO,CAAC,gBAAgB,EAAE,CAgC5B,CAAC;AAEF,kGAAkG;AAClG,eAAO,MAAM,uBAAuB,GAClC,SAAS,aAAa,EACtB,UAAU,0BAA0B,KACnC,MAAM,EAsBR,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAChC,SAAS,OAAO,EAAE,EAClB,WAAW,MAAM,EAAE,KAClB,OAAO,EAaT,CAAC"}
|
|
@@ -9,10 +9,10 @@ export interface BuildSectionRecordsOptions {
|
|
|
9
9
|
whenEmpty?: SectionRecordsWhenEmpty;
|
|
10
10
|
}
|
|
11
11
|
export declare const buildSectionRecords: (widgets: BaseWidgetConfig[], sourceData: Record<string, unknown>, { sectionRegisterId, editAction, whenEmpty, }?: BuildSectionRecordsOptions) => unknown[];
|
|
12
|
-
export
|
|
12
|
+
export { getProfileImageUrlPaths } from './sectionFiles';
|
|
13
13
|
/** Save flow: records for change detection and onSectionSave payloads. */
|
|
14
14
|
export declare const trackSectionChanges: (widgets: ReturnType<typeof collectWidgets>, sourceData: Record<string, unknown>, sectionRegisterId?: string) => unknown[];
|
|
15
|
-
/** Dirty-state baseline: records +
|
|
15
|
+
/** Dirty-state baseline: records + all section files. */
|
|
16
16
|
export declare const buildSectionSnapshot: (section: SectionConfig, sourceData: Record<string, unknown>, hasSupportingDocuments: boolean, sectionRegisterId?: string) => {
|
|
17
17
|
records: unknown[];
|
|
18
18
|
files: unknown[];
|
|
@@ -21,5 +21,6 @@ export declare const buildSectionSnapshot: (section: SectionConfig, sourceData:
|
|
|
21
21
|
export declare function buildSectionChanges(section: SectionConfig, storeValues: Record<string, unknown>, options?: {
|
|
22
22
|
dbSectionId?: string;
|
|
23
23
|
sectionRegisterId?: string;
|
|
24
|
+
includeSupportingDocuments?: boolean;
|
|
24
25
|
}): SectionChanges;
|
|
25
26
|
//# sourceMappingURL=sectionSnapshot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sectionSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/sectionSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAKhE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"sectionSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/utils/sectionSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAKhE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAW1C,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,kBAAkB,CAAC;AACrE,MAAM,MAAM,uBAAuB,GAAG,aAAa,GAAG,eAAe,GAAG,cAAc,CAAC;AAEvF,MAAM,WAAW,0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ceRoot":"","sources":["../../src/hooks/useBaseWidget.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"useBaseWidget.d.ts","sourceRoot":"","sources":["../../src/hooks/useBaseWidget.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAmBtE,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,gBAAgB,CAAC;IACzB,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CACxD;AAKD,eAAO,MAAM,aAAa,GAAI,SAAS,oBAAoB;;;;;;;;;;yBAyJ5C,GAAG,aAAY,OAAO;;uBAqSd,MAAM,EAAE;;;;;;;0BAjMpB,MAAM;;;CAsMhB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -47,14 +47,6 @@ interface GeoHierarchyDataSource {
|
|
|
47
47
|
valuesEndpoint: string;
|
|
48
48
|
}
|
|
49
49
|
type DataSource = StaticDataSource | ApiDataSource$1 | SchemaDataSource;
|
|
50
|
-
/** Configuration for a single upload slot inside a `docs` widget. */
|
|
51
|
-
interface DocsWidgetDocumentConfig {
|
|
52
|
-
'document-key': string;
|
|
53
|
-
'document-label': string;
|
|
54
|
-
'document-required'?: boolean;
|
|
55
|
-
'document-accept': string;
|
|
56
|
-
'document-max-size': number;
|
|
57
|
-
}
|
|
58
50
|
interface GeoHierarchyLayout {
|
|
59
51
|
distribution?: 'fixed';
|
|
60
52
|
/** Explicit levels-per-column counts, e.g. [3, 3] for a 6-level hierarchy in 2 columns. */
|
|
@@ -216,8 +208,6 @@ interface BaseWidgetConfig {
|
|
|
216
208
|
'widget-data-add-label'?: string;
|
|
217
209
|
'widget-data-collapsed'?: boolean;
|
|
218
210
|
'widget-column-span'?: number;
|
|
219
|
-
'widget-total-docs'?: number;
|
|
220
|
-
documents?: DocsWidgetDocumentConfig[];
|
|
221
211
|
_comment?: string;
|
|
222
212
|
[key: string]: any;
|
|
223
213
|
}
|
|
@@ -487,9 +477,18 @@ declare const PanelRenderer: ({ panel, dataSourceRequestHandler, schemaData, onV
|
|
|
487
477
|
interface SectionChanges {
|
|
488
478
|
section_id?: string;
|
|
489
479
|
section_register_id?: string;
|
|
480
|
+
/** Non-file field values only. File widgets are never included here. */
|
|
490
481
|
records: unknown[];
|
|
491
|
-
|
|
492
|
-
|
|
482
|
+
/**
|
|
483
|
+
* All section files (profile, supporting docs, and direct file widgets).
|
|
484
|
+
* Each entry includes `tag`: `_profile` | `_supporting_docs` | `_direct_file`.
|
|
485
|
+
*
|
|
486
|
+
* Two shapes:
|
|
487
|
+
* - Fresh upload: SerializedFile (`__type: "File"`) + meta
|
|
488
|
+
* - Unchanged existing doc:
|
|
489
|
+
* `{ label, document_id, presigned_url, source_filename?, tag, field? }`
|
|
490
|
+
*/
|
|
491
|
+
section_files?: unknown[];
|
|
493
492
|
}
|
|
494
493
|
|
|
495
494
|
type SectionMode = 'RegistryView' | 'CRView' | 'IntakeForm';
|
|
@@ -543,6 +542,45 @@ interface SectionRendererProps {
|
|
|
543
542
|
|
|
544
543
|
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;
|
|
545
544
|
|
|
545
|
+
/** JSON-safe `File` representation for Redux (native `File` is not serializable). */
|
|
546
|
+
interface SerializedFile {
|
|
547
|
+
__type: 'File';
|
|
548
|
+
name: string;
|
|
549
|
+
type: string;
|
|
550
|
+
size: number;
|
|
551
|
+
lastModified: number;
|
|
552
|
+
data: string;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/** Existing uploaded document hydrated into widget values (not a fresh File upload). */
|
|
556
|
+
type StoredDocumentRef = {
|
|
557
|
+
label: string;
|
|
558
|
+
document_id: string;
|
|
559
|
+
presigned_url: string;
|
|
560
|
+
source_filename?: string;
|
|
561
|
+
};
|
|
562
|
+
declare const isStoredDocumentRef: (value: unknown) => value is StoredDocumentRef;
|
|
563
|
+
|
|
564
|
+
/** Origin tags attached to entries in `SectionChanges.section_files`. */
|
|
565
|
+
declare const SECTION_FILE_TAG: {
|
|
566
|
+
readonly PROFILE: "_profile";
|
|
567
|
+
readonly SUPPORTING_DOCS: "_supporting_docs";
|
|
568
|
+
readonly DIRECT_FILE: "_direct_file";
|
|
569
|
+
};
|
|
570
|
+
type SectionFileTag = (typeof SECTION_FILE_TAG)[keyof typeof SECTION_FILE_TAG];
|
|
571
|
+
type SectionFileMeta = {
|
|
572
|
+
tag: SectionFileTag;
|
|
573
|
+
label?: string;
|
|
574
|
+
field?: string;
|
|
575
|
+
document_key?: string;
|
|
576
|
+
};
|
|
577
|
+
/** Fresh upload blob destined for upload APIs. */
|
|
578
|
+
type SectionFileUploadEntry = SerializedFile & SectionFileMeta;
|
|
579
|
+
/** Existing document kept as-is when the file widget did not change. */
|
|
580
|
+
type SectionFileStoredEntry = StoredDocumentRef & SectionFileMeta;
|
|
581
|
+
type SectionFileEntry = SectionFileUploadEntry | SectionFileStoredEntry;
|
|
582
|
+
declare const isFreshSectionFileEntry: (entry: SectionFileEntry) => entry is SectionFileUploadEntry;
|
|
583
|
+
|
|
546
584
|
type BuilderNotifyType$1 = 'success' | 'error' | 'info' | 'warn';
|
|
547
585
|
interface SectionBuilderProps {
|
|
548
586
|
initialSection?: SectionConfig;
|
|
@@ -622,7 +660,7 @@ interface PropertyEditorProps {
|
|
|
622
660
|
}
|
|
623
661
|
declare const PropertyEditor: React$1.FC<PropertyEditorProps>;
|
|
624
662
|
|
|
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"
|
|
663
|
+
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"];
|
|
626
664
|
type WidgetType = (typeof WIDGET_TYPES)[number];
|
|
627
665
|
declare function getWidgetCategory(widget: string): 'input' | 'layout' | 'table' | 'group';
|
|
628
666
|
declare function createDefaultWidgetConfig(widgetType: string): BaseWidgetConfig;
|
|
@@ -764,11 +802,6 @@ interface GeoHierarchyWidgetProps {
|
|
|
764
802
|
}
|
|
765
803
|
declare const GeoHierarchyWidget: ({ config }: GeoHierarchyWidgetProps) => react_jsx_runtime.JSX.Element;
|
|
766
804
|
|
|
767
|
-
interface DocsWidgetProps {
|
|
768
|
-
config: BaseWidgetConfig;
|
|
769
|
-
}
|
|
770
|
-
declare const DocsWidget: ({ config }: DocsWidgetProps) => react_jsx_runtime.JSX.Element;
|
|
771
|
-
|
|
772
805
|
/**
|
|
773
806
|
* Get value from object using dot notation path
|
|
774
807
|
* Safely handles nested paths like "person.name" or "address.street.number"
|
|
@@ -799,7 +832,6 @@ declare const isWidgetValueEmpty: (value: unknown) => boolean;
|
|
|
799
832
|
* format and range validation still run.
|
|
800
833
|
*/
|
|
801
834
|
declare const validateWidget: (value: any, validation: WidgetValidation | undefined, required?: boolean, skipRequired?: boolean) => string[];
|
|
802
|
-
declare const validateDocsWidget: (value: unknown, documents: DocsWidgetDocumentConfig[] | undefined, skipRequired?: boolean) => string[];
|
|
803
835
|
declare const createZodSchema: (validation: WidgetValidation | undefined, required?: boolean) => z.ZodSchema | null;
|
|
804
836
|
|
|
805
837
|
declare const formatDate: (value: any, format: WidgetFormat | undefined) => string;
|
|
@@ -885,5 +917,5 @@ declare const translateWidgetConfig: (widgetConfig: BaseWidgetConfig, translate:
|
|
|
885
917
|
declare const translatePanelConfig: (panel: PanelConfig, translate: (key: string, options?: any) => string) => PanelConfig;
|
|
886
918
|
declare const translateUISchema: (schema: UISchema, translate: (key: string, options?: any) => string) => UISchema;
|
|
887
919
|
|
|
888
|
-
export { BooleanWidget, CheckboxWidget, DateInputWidget, DateTimeInputWidget, DialogTableWidget, DisplayWidget,
|
|
889
|
-
export type { ApiAdapter, ApiDataSource$1 as ApiDataSource, BaseWidgetConfig, BooleanControlType, BooleanRepresentation, BuilderNotifyType$1 as BuilderNotifyType, CaseControl, CharacterType, ConditionOperator, DataSource, DataSourceRequestHandler, DataSourceType,
|
|
920
|
+
export { BooleanWidget, CheckboxWidget, DateInputWidget, DateTimeInputWidget, DialogTableWidget, DisplayWidget, FileInputWidget, GeoHierarchyWidget, HeaderSectionWidget, IdAuthenticationWidget, JSONEditorPanel, MultiSelectWidget, NumberInputWidget, PanelRenderer, ParentLookupWidget, PhoneInputWidget, ProfileWidget, PropertyEditor, RadioWidget, RegisterLookupWidget, SECTION_FILE_TAG, 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, isFreshSectionFileEntry, isGeoHierarchyDataSource, isStoredDocumentRef, 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, validateNumericValue, validateWidget, widgetRegistry };
|
|
921
|
+
export type { ApiAdapter, ApiDataSource$1 as ApiDataSource, BaseWidgetConfig, BooleanControlType, BooleanRepresentation, BuilderNotifyType$1 as BuilderNotifyType, CaseControl, CharacterType, ConditionOperator, DataSource, DataSourceRequestHandler, DataSourceType, GeoHierarchyDataPath, GeoHierarchyDataSource, GeoHierarchyLayout, InputMask, NumericType, PanelConfig, RoundingMode, SchemaDataSource, SectionBuilderProps, SectionChanges, SectionConfig, SectionFileEntry, SectionFileStoredEntry, SectionFileTag, SectionFileUploadEntry, SectionMode, SectionRendererProps, SectionsContainerProps, SectionsFormHandle, StaticDataSource, StoredDocumentRef, 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 };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":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