@openg2p/registry-widgets 1.1.6 → 1.1.8-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.d.ts +1 -3
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/components/FilePreviewModal.d.ts +7 -0
- package/dist/components/FilePreviewModal.d.ts.map +1 -0
- package/dist/components/SectionBuilder/JSONEditorPanel.d.ts +11 -6
- package/dist/components/SectionBuilder/JSONEditorPanel.d.ts.map +1 -1
- package/dist/components/SectionBuilder/PropertyEditor.d.ts +0 -3
- package/dist/components/SectionBuilder/PropertyEditor.d.ts.map +1 -1
- package/dist/components/SectionBuilder/SearchableSelect.d.ts +11 -0
- package/dist/components/SectionBuilder/SearchableSelect.d.ts.map +1 -0
- package/dist/components/SectionBuilder/SectionBuilder.d.ts +2 -4
- package/dist/components/SectionBuilder/SectionBuilder.d.ts.map +1 -1
- package/dist/components/SectionBuilder/SectionTree.d.ts +7 -4
- package/dist/components/SectionBuilder/SectionTree.d.ts.map +1 -1
- package/dist/components/SectionBuilder/VisualBuilderPanel.d.ts +7 -5
- package/dist/components/SectionBuilder/VisualBuilderPanel.d.ts.map +1 -1
- package/dist/components/SectionBuilder/index.d.ts +1 -1
- package/dist/components/SectionBuilder/index.d.ts.map +1 -1
- package/dist/components/SectionBuilder/schemas.d.ts +6 -286
- package/dist/components/SectionBuilder/schemas.d.ts.map +1 -1
- package/dist/components/SectionBuilder/validate/parseJsoncSyntax.d.ts +14 -0
- package/dist/components/SectionBuilder/validate/parseJsoncSyntax.d.ts.map +1 -0
- package/dist/components/SectionBuilder/validate/parseSectionJson.d.ts +12 -0
- package/dist/components/SectionBuilder/validate/parseSectionJson.d.ts.map +1 -0
- package/dist/components/SectionBuilder/validate/validateSection.d.ts +7 -0
- package/dist/components/SectionBuilder/validate/validateSection.d.ts.map +1 -0
- package/dist/components/SectionRenderer/SectionRenderer.d.ts.map +1 -1
- package/dist/components/SectionRenderer/components/EditSectionPortal.d.ts.map +1 -1
- package/dist/components/SectionRenderer/components/IntakeFormLayout.d.ts.map +1 -1
- package/dist/components/SectionRenderer/components/RegistryViewLayout.d.ts +1 -7
- 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/components/index.d.ts +0 -1
- package/dist/components/SectionRenderer/components/index.d.ts.map +1 -1
- package/dist/components/SectionRenderer/hooks/index.d.ts +0 -1
- package/dist/components/SectionRenderer/hooks/index.d.ts.map +1 -1
- package/dist/components/SectionRenderer/hooks/useCrViewData.d.ts.map +1 -1
- package/dist/components/SectionRenderer/hooks/useSectionActions.d.ts +2 -2
- package/dist/components/SectionRenderer/hooks/useSectionActions.d.ts.map +1 -1
- package/dist/components/SectionRenderer/hooks/useSectionDirty.d.ts +1 -2
- package/dist/components/SectionRenderer/hooks/useSectionDirty.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/diffSectionChangeRecords.d.ts +6 -0
- package/dist/components/SectionRenderer/utils/diffSectionChangeRecords.d.ts.map +1 -0
- package/dist/components/SectionRenderer/utils/executeSectionSave.d.ts +12 -1
- package/dist/components/SectionRenderer/utils/executeSectionSave.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/index.d.ts +1 -0
- package/dist/components/SectionRenderer/utils/index.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/revertSectionValues.d.ts +5 -0
- package/dist/components/SectionRenderer/utils/revertSectionValues.d.ts.map +1 -1
- package/dist/components/SectionRenderer/utils/sectionSnapshot.d.ts.map +1 -1
- package/dist/components/SectionRenderer.d.ts +61 -0
- package/dist/components/SectionRenderer.d.ts.map +1 -0
- package/dist/components/WidgetProvider.d.ts.map +1 -1
- package/dist/hooks/useBaseWidget.d.ts.map +1 -1
- package/dist/hooks/useGeoHierarchy.d.ts +5 -3
- package/dist/hooks/useGeoHierarchy.d.ts.map +1 -1
- package/dist/hooks/useGeoWidgetCascade.d.ts +12 -0
- package/dist/hooks/useGeoWidgetCascade.d.ts.map +1 -0
- package/dist/hooks/useWidgetTheme.d.ts +7 -10
- package/dist/hooks/useWidgetTheme.d.ts.map +1 -1
- package/dist/hooks/useWidgetTranslation.d.ts +16 -0
- package/dist/hooks/useWidgetTranslation.d.ts.map +1 -0
- package/dist/i18n/config.d.ts +21 -0
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/index.d.ts +48 -35
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +8126 -1861
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8132 -1860
- package/dist/index.js.map +1 -1
- package/dist/registry/widgetTypes.d.ts +6 -0
- package/dist/registry/widgetTypes.d.ts.map +1 -0
- package/dist/store/widgetSlice.d.ts +1 -1
- package/dist/store/widgetSlice.d.ts.map +1 -1
- package/dist/theme/index.d.ts +11 -13
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/utils/buildSectionChanges.d.ts +11 -0
- package/dist/utils/buildSectionChanges.d.ts.map +1 -0
- package/dist/utils/geoHierarchy.d.ts +43 -3
- package/dist/utils/geoHierarchy.d.ts.map +1 -1
- package/dist/utils/pathUtils.d.ts +4 -1
- package/dist/utils/pathUtils.d.ts.map +1 -1
- package/dist/utils/schemaNamespace.d.ts +12 -0
- package/dist/utils/schemaNamespace.d.ts.map +1 -0
- package/dist/utils/sectionRevert.d.ts.map +1 -1
- package/dist/utils/sectionValidate.d.ts.map +1 -1
- package/dist/utils/tSchema.d.ts +1 -0
- package/dist/utils/tSchema.d.ts.map +1 -1
- package/dist/utils/validation.d.ts +3 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/widgets/ArrayWidget.d.ts +29 -0
- package/dist/widgets/ArrayWidget.d.ts.map +1 -0
- package/dist/widgets/CurrencyInputWidget.d.ts +24 -0
- package/dist/widgets/CurrencyInputWidget.d.ts.map +1 -0
- package/dist/widgets/DateInputWidget.d.ts.map +1 -1
- package/dist/widgets/DateTimeInputWidget.d.ts.map +1 -1
- package/dist/widgets/DialogTableWidget.d.ts.map +1 -1
- package/dist/widgets/DocsWidget.d.ts.map +1 -1
- package/dist/widgets/FileInputWidget.d.ts.map +1 -1
- package/dist/widgets/GeoHierarchyWidget.d.ts.map +1 -1
- package/dist/widgets/IterableAccordionWidget.d.ts +30 -0
- package/dist/widgets/IterableAccordionWidget.d.ts.map +1 -0
- package/dist/widgets/MultiSelectWidget.d.ts.map +1 -1
- package/dist/widgets/NumberInputWidget.d.ts.map +1 -1
- package/dist/widgets/ParentLookupWidget.d.ts.map +1 -1
- package/dist/widgets/PhoneInputWidget.d.ts.map +1 -1
- package/dist/widgets/RegisterLookupWidget.d.ts.map +1 -1
- package/dist/widgets/SelectWidget.d.ts.map +1 -1
- package/dist/widgets/SimpleTableWidget.d.ts +32 -0
- package/dist/widgets/SimpleTableWidget.d.ts.map +1 -0
- package/dist/widgets/TableWidget.d.ts.map +1 -1
- package/dist/widgets/TextAreaWidget.d.ts.map +1 -1
- package/dist/widgets/TextInputWidget.d.ts.map +1 -1
- package/package.json +6 -2
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* These schemas are used by json-edit-react to provide validation and constraints
|
|
4
|
-
*/
|
|
5
|
-
export declare const WIDGET_TYPES: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "table", "phone", "display", "profile", "geo-hierarchy", "register-lookup", "parent-lookup"];
|
|
1
|
+
export { WIDGET_TYPES } from '../../registry/widgetTypes';
|
|
2
|
+
export type { WidgetType } from '../../registry/widgetTypes';
|
|
6
3
|
export declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
|
|
7
4
|
export declare const CONDITION_OPERATORS: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
|
|
8
5
|
export declare const DATA_SOURCE_TYPES: readonly ["static", "api", "schema"];
|
|
@@ -12,9 +9,6 @@ export declare const CASE_CONTROLS: readonly ["none", "lowercase", "uppercase",
|
|
|
12
9
|
export declare const NUMERIC_TYPES: readonly ["integer", "decimal"];
|
|
13
10
|
export declare const BOOLEAN_REPRESENTATIONS: readonly ["true-false", "yes-no", "on-off", "custom"];
|
|
14
11
|
export declare const BOOLEAN_CONTROL_TYPES: readonly ["checkbox", "radio", "toggle"];
|
|
15
|
-
/**
|
|
16
|
-
* Panel schema
|
|
17
|
-
*/
|
|
18
12
|
export declare const panelSchema: {
|
|
19
13
|
type: "object";
|
|
20
14
|
properties: {
|
|
@@ -47,7 +41,7 @@ export declare const panelSchema: {
|
|
|
47
41
|
properties: {
|
|
48
42
|
widget: {
|
|
49
43
|
type: "string";
|
|
50
|
-
enum: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "table", "phone", "display", "profile", "
|
|
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", "docs"];
|
|
51
45
|
description: string;
|
|
52
46
|
};
|
|
53
47
|
'widget-type': {
|
|
@@ -351,34 +345,6 @@ export declare const panelSchema: {
|
|
|
351
345
|
type: "string";
|
|
352
346
|
enum: string[];
|
|
353
347
|
};
|
|
354
|
-
actions: {
|
|
355
|
-
type: "array";
|
|
356
|
-
description: string;
|
|
357
|
-
items: {
|
|
358
|
-
type: "object";
|
|
359
|
-
properties: {
|
|
360
|
-
action: {
|
|
361
|
-
type: "string";
|
|
362
|
-
enum: string[];
|
|
363
|
-
};
|
|
364
|
-
condition: {
|
|
365
|
-
type: "object";
|
|
366
|
-
properties: {
|
|
367
|
-
field: {
|
|
368
|
-
type: "string";
|
|
369
|
-
};
|
|
370
|
-
operator: {
|
|
371
|
-
type: "string";
|
|
372
|
-
enum: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
|
|
373
|
-
};
|
|
374
|
-
value: {};
|
|
375
|
-
};
|
|
376
|
-
required: string[];
|
|
377
|
-
};
|
|
378
|
-
};
|
|
379
|
-
required: string[];
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
348
|
condition: {
|
|
383
349
|
type: "object";
|
|
384
350
|
properties: {
|
|
@@ -399,18 +365,6 @@ export declare const panelSchema: {
|
|
|
399
365
|
maxDate: {
|
|
400
366
|
type: "string";
|
|
401
367
|
};
|
|
402
|
-
minDateField: {
|
|
403
|
-
type: "string";
|
|
404
|
-
};
|
|
405
|
-
maxDateField: {
|
|
406
|
-
type: "string";
|
|
407
|
-
};
|
|
408
|
-
minDateMessage: {
|
|
409
|
-
type: "string";
|
|
410
|
-
};
|
|
411
|
-
maxDateMessage: {
|
|
412
|
-
type: "string";
|
|
413
|
-
};
|
|
414
368
|
showCalendar: {
|
|
415
369
|
type: "boolean";
|
|
416
370
|
};
|
|
@@ -437,10 +391,6 @@ export declare const panelSchema: {
|
|
|
437
391
|
'column-key': {
|
|
438
392
|
type: "string";
|
|
439
393
|
};
|
|
440
|
-
'column-group': {
|
|
441
|
-
type: "string";
|
|
442
|
-
description: string;
|
|
443
|
-
};
|
|
444
394
|
'widget-label': {
|
|
445
395
|
type: "string";
|
|
446
396
|
};
|
|
@@ -504,29 +454,6 @@ export declare const panelSchema: {
|
|
|
504
454
|
minimum: number;
|
|
505
455
|
description: string;
|
|
506
456
|
};
|
|
507
|
-
'widget-lookup-config': {
|
|
508
|
-
type: "object";
|
|
509
|
-
properties: {
|
|
510
|
-
search_placeholder: {
|
|
511
|
-
type: "string";
|
|
512
|
-
description: string;
|
|
513
|
-
};
|
|
514
|
-
page_size: {
|
|
515
|
-
type: "number";
|
|
516
|
-
minimum: number;
|
|
517
|
-
description: string;
|
|
518
|
-
};
|
|
519
|
-
action_label: {
|
|
520
|
-
type: "string";
|
|
521
|
-
description: string;
|
|
522
|
-
};
|
|
523
|
-
select_record_label: {
|
|
524
|
-
type: "string";
|
|
525
|
-
description: string;
|
|
526
|
-
};
|
|
527
|
-
};
|
|
528
|
-
description: string;
|
|
529
|
-
};
|
|
530
457
|
'widget-item': {
|
|
531
458
|
type: "object";
|
|
532
459
|
description: string;
|
|
@@ -578,7 +505,7 @@ export declare const panelSchema: {
|
|
|
578
505
|
properties: {
|
|
579
506
|
widget: {
|
|
580
507
|
type: "string";
|
|
581
|
-
enum: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "table", "phone", "display", "profile", "
|
|
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", "docs"];
|
|
582
509
|
description: string;
|
|
583
510
|
};
|
|
584
511
|
'widget-type': {
|
|
@@ -882,34 +809,6 @@ export declare const panelSchema: {
|
|
|
882
809
|
type: "string";
|
|
883
810
|
enum: string[];
|
|
884
811
|
};
|
|
885
|
-
actions: {
|
|
886
|
-
type: "array";
|
|
887
|
-
description: string;
|
|
888
|
-
items: {
|
|
889
|
-
type: "object";
|
|
890
|
-
properties: {
|
|
891
|
-
action: {
|
|
892
|
-
type: "string";
|
|
893
|
-
enum: string[];
|
|
894
|
-
};
|
|
895
|
-
condition: {
|
|
896
|
-
type: "object";
|
|
897
|
-
properties: {
|
|
898
|
-
field: {
|
|
899
|
-
type: "string";
|
|
900
|
-
};
|
|
901
|
-
operator: {
|
|
902
|
-
type: "string";
|
|
903
|
-
enum: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
|
|
904
|
-
};
|
|
905
|
-
value: {};
|
|
906
|
-
};
|
|
907
|
-
required: string[];
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
required: string[];
|
|
911
|
-
};
|
|
912
|
-
};
|
|
913
812
|
condition: {
|
|
914
813
|
type: "object";
|
|
915
814
|
properties: {
|
|
@@ -930,18 +829,6 @@ export declare const panelSchema: {
|
|
|
930
829
|
maxDate: {
|
|
931
830
|
type: "string";
|
|
932
831
|
};
|
|
933
|
-
minDateField: {
|
|
934
|
-
type: "string";
|
|
935
|
-
};
|
|
936
|
-
maxDateField: {
|
|
937
|
-
type: "string";
|
|
938
|
-
};
|
|
939
|
-
minDateMessage: {
|
|
940
|
-
type: "string";
|
|
941
|
-
};
|
|
942
|
-
maxDateMessage: {
|
|
943
|
-
type: "string";
|
|
944
|
-
};
|
|
945
832
|
showCalendar: {
|
|
946
833
|
type: "boolean";
|
|
947
834
|
};
|
|
@@ -968,10 +855,6 @@ export declare const panelSchema: {
|
|
|
968
855
|
'column-key': {
|
|
969
856
|
type: "string";
|
|
970
857
|
};
|
|
971
|
-
'column-group': {
|
|
972
|
-
type: "string";
|
|
973
|
-
description: string;
|
|
974
|
-
};
|
|
975
858
|
'widget-label': {
|
|
976
859
|
type: "string";
|
|
977
860
|
};
|
|
@@ -1035,29 +918,6 @@ export declare const panelSchema: {
|
|
|
1035
918
|
minimum: number;
|
|
1036
919
|
description: string;
|
|
1037
920
|
};
|
|
1038
|
-
'widget-lookup-config': {
|
|
1039
|
-
type: "object";
|
|
1040
|
-
properties: {
|
|
1041
|
-
search_placeholder: {
|
|
1042
|
-
type: "string";
|
|
1043
|
-
description: string;
|
|
1044
|
-
};
|
|
1045
|
-
page_size: {
|
|
1046
|
-
type: "number";
|
|
1047
|
-
minimum: number;
|
|
1048
|
-
description: string;
|
|
1049
|
-
};
|
|
1050
|
-
action_label: {
|
|
1051
|
-
type: "string";
|
|
1052
|
-
description: string;
|
|
1053
|
-
};
|
|
1054
|
-
select_record_label: {
|
|
1055
|
-
type: "string";
|
|
1056
|
-
description: string;
|
|
1057
|
-
};
|
|
1058
|
-
};
|
|
1059
|
-
description: string;
|
|
1060
|
-
};
|
|
1061
921
|
'widget-item': {
|
|
1062
922
|
type: "object";
|
|
1063
923
|
description: string;
|
|
@@ -1082,9 +942,6 @@ export declare const panelSchema: {
|
|
|
1082
942
|
};
|
|
1083
943
|
};
|
|
1084
944
|
};
|
|
1085
|
-
/**
|
|
1086
|
-
* Section schema
|
|
1087
|
-
*/
|
|
1088
945
|
export declare const sectionSchema: {
|
|
1089
946
|
type: "object";
|
|
1090
947
|
properties: {
|
|
@@ -1172,7 +1029,7 @@ export declare const sectionSchema: {
|
|
|
1172
1029
|
properties: {
|
|
1173
1030
|
widget: {
|
|
1174
1031
|
type: "string";
|
|
1175
|
-
enum: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "table", "phone", "display", "profile", "
|
|
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", "docs"];
|
|
1176
1033
|
description: string;
|
|
1177
1034
|
};
|
|
1178
1035
|
'widget-type': {
|
|
@@ -1476,34 +1333,6 @@ export declare const sectionSchema: {
|
|
|
1476
1333
|
type: "string";
|
|
1477
1334
|
enum: string[];
|
|
1478
1335
|
};
|
|
1479
|
-
actions: {
|
|
1480
|
-
type: "array";
|
|
1481
|
-
description: string;
|
|
1482
|
-
items: {
|
|
1483
|
-
type: "object";
|
|
1484
|
-
properties: {
|
|
1485
|
-
action: {
|
|
1486
|
-
type: "string";
|
|
1487
|
-
enum: string[];
|
|
1488
|
-
};
|
|
1489
|
-
condition: {
|
|
1490
|
-
type: "object";
|
|
1491
|
-
properties: {
|
|
1492
|
-
field: {
|
|
1493
|
-
type: "string";
|
|
1494
|
-
};
|
|
1495
|
-
operator: {
|
|
1496
|
-
type: "string";
|
|
1497
|
-
enum: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
|
|
1498
|
-
};
|
|
1499
|
-
value: {};
|
|
1500
|
-
};
|
|
1501
|
-
required: string[];
|
|
1502
|
-
};
|
|
1503
|
-
};
|
|
1504
|
-
required: string[];
|
|
1505
|
-
};
|
|
1506
|
-
};
|
|
1507
1336
|
condition: {
|
|
1508
1337
|
type: "object";
|
|
1509
1338
|
properties: {
|
|
@@ -1524,18 +1353,6 @@ export declare const sectionSchema: {
|
|
|
1524
1353
|
maxDate: {
|
|
1525
1354
|
type: "string";
|
|
1526
1355
|
};
|
|
1527
|
-
minDateField: {
|
|
1528
|
-
type: "string";
|
|
1529
|
-
};
|
|
1530
|
-
maxDateField: {
|
|
1531
|
-
type: "string";
|
|
1532
|
-
};
|
|
1533
|
-
minDateMessage: {
|
|
1534
|
-
type: "string";
|
|
1535
|
-
};
|
|
1536
|
-
maxDateMessage: {
|
|
1537
|
-
type: "string";
|
|
1538
|
-
};
|
|
1539
1356
|
showCalendar: {
|
|
1540
1357
|
type: "boolean";
|
|
1541
1358
|
};
|
|
@@ -1562,10 +1379,6 @@ export declare const sectionSchema: {
|
|
|
1562
1379
|
'column-key': {
|
|
1563
1380
|
type: "string";
|
|
1564
1381
|
};
|
|
1565
|
-
'column-group': {
|
|
1566
|
-
type: "string";
|
|
1567
|
-
description: string;
|
|
1568
|
-
};
|
|
1569
1382
|
'widget-label': {
|
|
1570
1383
|
type: "string";
|
|
1571
1384
|
};
|
|
@@ -1629,29 +1442,6 @@ export declare const sectionSchema: {
|
|
|
1629
1442
|
minimum: number;
|
|
1630
1443
|
description: string;
|
|
1631
1444
|
};
|
|
1632
|
-
'widget-lookup-config': {
|
|
1633
|
-
type: "object";
|
|
1634
|
-
properties: {
|
|
1635
|
-
search_placeholder: {
|
|
1636
|
-
type: "string";
|
|
1637
|
-
description: string;
|
|
1638
|
-
};
|
|
1639
|
-
page_size: {
|
|
1640
|
-
type: "number";
|
|
1641
|
-
minimum: number;
|
|
1642
|
-
description: string;
|
|
1643
|
-
};
|
|
1644
|
-
action_label: {
|
|
1645
|
-
type: "string";
|
|
1646
|
-
description: string;
|
|
1647
|
-
};
|
|
1648
|
-
select_record_label: {
|
|
1649
|
-
type: "string";
|
|
1650
|
-
description: string;
|
|
1651
|
-
};
|
|
1652
|
-
};
|
|
1653
|
-
description: string;
|
|
1654
|
-
};
|
|
1655
1445
|
'widget-item': {
|
|
1656
1446
|
type: "object";
|
|
1657
1447
|
description: string;
|
|
@@ -1703,7 +1493,7 @@ export declare const sectionSchema: {
|
|
|
1703
1493
|
properties: {
|
|
1704
1494
|
widget: {
|
|
1705
1495
|
type: "string";
|
|
1706
|
-
enum: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "table", "phone", "display", "profile", "
|
|
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", "docs"];
|
|
1707
1497
|
description: string;
|
|
1708
1498
|
};
|
|
1709
1499
|
'widget-type': {
|
|
@@ -2007,34 +1797,6 @@ export declare const sectionSchema: {
|
|
|
2007
1797
|
type: "string";
|
|
2008
1798
|
enum: string[];
|
|
2009
1799
|
};
|
|
2010
|
-
actions: {
|
|
2011
|
-
type: "array";
|
|
2012
|
-
description: string;
|
|
2013
|
-
items: {
|
|
2014
|
-
type: "object";
|
|
2015
|
-
properties: {
|
|
2016
|
-
action: {
|
|
2017
|
-
type: "string";
|
|
2018
|
-
enum: string[];
|
|
2019
|
-
};
|
|
2020
|
-
condition: {
|
|
2021
|
-
type: "object";
|
|
2022
|
-
properties: {
|
|
2023
|
-
field: {
|
|
2024
|
-
type: "string";
|
|
2025
|
-
};
|
|
2026
|
-
operator: {
|
|
2027
|
-
type: "string";
|
|
2028
|
-
enum: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
|
|
2029
|
-
};
|
|
2030
|
-
value: {};
|
|
2031
|
-
};
|
|
2032
|
-
required: string[];
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
required: string[];
|
|
2036
|
-
};
|
|
2037
|
-
};
|
|
2038
1800
|
condition: {
|
|
2039
1801
|
type: "object";
|
|
2040
1802
|
properties: {
|
|
@@ -2055,18 +1817,6 @@ export declare const sectionSchema: {
|
|
|
2055
1817
|
maxDate: {
|
|
2056
1818
|
type: "string";
|
|
2057
1819
|
};
|
|
2058
|
-
minDateField: {
|
|
2059
|
-
type: "string";
|
|
2060
|
-
};
|
|
2061
|
-
maxDateField: {
|
|
2062
|
-
type: "string";
|
|
2063
|
-
};
|
|
2064
|
-
minDateMessage: {
|
|
2065
|
-
type: "string";
|
|
2066
|
-
};
|
|
2067
|
-
maxDateMessage: {
|
|
2068
|
-
type: "string";
|
|
2069
|
-
};
|
|
2070
1820
|
showCalendar: {
|
|
2071
1821
|
type: "boolean";
|
|
2072
1822
|
};
|
|
@@ -2093,10 +1843,6 @@ export declare const sectionSchema: {
|
|
|
2093
1843
|
'column-key': {
|
|
2094
1844
|
type: "string";
|
|
2095
1845
|
};
|
|
2096
|
-
'column-group': {
|
|
2097
|
-
type: "string";
|
|
2098
|
-
description: string;
|
|
2099
|
-
};
|
|
2100
1846
|
'widget-label': {
|
|
2101
1847
|
type: "string";
|
|
2102
1848
|
};
|
|
@@ -2160,29 +1906,6 @@ export declare const sectionSchema: {
|
|
|
2160
1906
|
minimum: number;
|
|
2161
1907
|
description: string;
|
|
2162
1908
|
};
|
|
2163
|
-
'widget-lookup-config': {
|
|
2164
|
-
type: "object";
|
|
2165
|
-
properties: {
|
|
2166
|
-
search_placeholder: {
|
|
2167
|
-
type: "string";
|
|
2168
|
-
description: string;
|
|
2169
|
-
};
|
|
2170
|
-
page_size: {
|
|
2171
|
-
type: "number";
|
|
2172
|
-
minimum: number;
|
|
2173
|
-
description: string;
|
|
2174
|
-
};
|
|
2175
|
-
action_label: {
|
|
2176
|
-
type: "string";
|
|
2177
|
-
description: string;
|
|
2178
|
-
};
|
|
2179
|
-
select_record_label: {
|
|
2180
|
-
type: "string";
|
|
2181
|
-
description: string;
|
|
2182
|
-
};
|
|
2183
|
-
};
|
|
2184
|
-
description: string;
|
|
2185
|
-
};
|
|
2186
1909
|
'widget-item': {
|
|
2187
1910
|
type: "object";
|
|
2188
1911
|
description: string;
|
|
@@ -2212,8 +1935,5 @@ export declare const sectionSchema: {
|
|
|
2212
1935
|
};
|
|
2213
1936
|
required: string[];
|
|
2214
1937
|
};
|
|
2215
|
-
/**
|
|
2216
|
-
* Get schema for a specific context (section, panel, or widget)
|
|
2217
|
-
*/
|
|
2218
1938
|
export declare function getSchemaForContext(context: 'section' | 'panel' | 'widget'): any;
|
|
2219
1939
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/components/SectionBuilder/schemas.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/components/SectionBuilder/schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,YAAY,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,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,MAAM,eAAe,wFAOlB,CAAC;AAEX,eAAO,MAAM,aAAa,2DAA4D,CAAC;AAEvF,eAAO,MAAM,aAAa,iCAAkC,CAAC;AAE7D,eAAO,MAAM,uBAAuB,uDAAwD,CAAC;AAE7F,eAAO,MAAM,qBAAqB,0CAA2C,CAAC;AAwS9E,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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"}
|
|
@@ -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;
|
|
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,4CAgNtB,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,
|
|
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,
|
|
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"}
|
|
@@ -12,15 +12,9 @@ export interface RegistryViewLayoutProps {
|
|
|
12
12
|
onValueChange?: UseBaseWidgetOptions['onValueChange'];
|
|
13
13
|
changeRequestType?: 'new' | 'old';
|
|
14
14
|
showChangeRequestLabel?: boolean;
|
|
15
|
-
crViewData: {
|
|
16
|
-
createdBy?: unknown;
|
|
17
|
-
createdDate?: unknown;
|
|
18
|
-
approvedBy?: unknown;
|
|
19
|
-
approvedDate?: unknown;
|
|
20
|
-
} | null;
|
|
21
15
|
effectiveHideEditButton: boolean;
|
|
22
16
|
isEditMode: boolean;
|
|
23
17
|
onEdit: () => void;
|
|
24
18
|
}
|
|
25
|
-
export declare const RegistryViewLayout: ({ mode, section, gridId, editableSection, dataSourceRequestHandler, schemaData, onValueChange, changeRequestType, showChangeRequestLabel,
|
|
19
|
+
export declare const RegistryViewLayout: ({ mode, section, gridId, editableSection, dataSourceRequestHandler, schemaData, onValueChange, changeRequestType, showChangeRequestLabel, effectiveHideEditButton, isEditMode, onEdit, }: RegistryViewLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
20
|
//# sourceMappingURL=RegistryViewLayout.d.ts.map
|
|
@@ -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;
|
|
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,
|
|
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"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export { PanelGrid } from './PanelGrid';
|
|
2
2
|
export { SupportingDocuments } from './SupportingDocuments';
|
|
3
3
|
export { SectionEditControls } from './SectionEditControls';
|
|
4
|
-
export { CRViewFooter } from './CRViewFooter';
|
|
5
4
|
export { SectionStyles } from './SectionStyles';
|
|
6
5
|
export { EditSectionPortal } from './EditSectionPortal';
|
|
7
6
|
export { IntakeFormLayout } from './IntakeFormLayout';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +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;;;;;
|
|
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
2
|
import { SectionConfig } from '../../../types';
|
|
3
3
|
import { SectionEditSnapshot } from '../../../utils/sectionRevert';
|
|
4
4
|
import { SectionMode } from '../../SectionsContainer';
|
|
@@ -19,7 +19,7 @@ export declare const useSectionActions: ({ section, originalSectionId, sectionId
|
|
|
19
19
|
onSectionDirtyChange?: (sectionId: string, isDirty: boolean) => void;
|
|
20
20
|
onSectionSaveSuccess?: (index: number) => void;
|
|
21
21
|
sectionIndex?: number;
|
|
22
|
-
editEntrySnapshotRef:
|
|
22
|
+
editEntrySnapshotRef: RefObject<SectionEditSnapshot | null>;
|
|
23
23
|
enterEditMode: () => void;
|
|
24
24
|
exitEditMode: () => void;
|
|
25
25
|
captureEditEntrySnapshot: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSectionActions.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/hooks/useSectionActions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSectionActions.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionRenderer/hooks/useSectionActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,iBAAiB,GAAI,+WAsB/B;IACD,OAAO,EAAE,aAAa,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,iBAAi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