@skyworx/dynamic-ui 1.0.50 → 1.0.51

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 (33) hide show
  1. package/dist/{NavigatedViewer-B7H9ZJOh.js → NavigatedViewer-DYe4UutC.js} +1961 -1945
  2. package/dist/{docx-preview-DV_9Mutt.js → docx-preview-mf3YkWfd.js} +1 -1
  3. package/dist/dynamic-ui.css +1 -1
  4. package/dist/dynamic-ui.es.js +1 -1
  5. package/dist/dynamic-ui.umd.js +222 -222
  6. package/dist/{index-CL9_NvAY.js → index-Lp5bCkh4.js} +27949 -27570
  7. package/dist/{jszip.min-BmOvfk1n.js → jszip.min-BfNQRHIR.js} +1 -1
  8. package/dist/{pptx-preview.es-D80K11jK.js → pptx-preview.es-mNb7vbnx.js} +9820 -9836
  9. package/dist/types/components/base/DCodeAutoComplete.vue.d.ts +2 -2
  10. package/dist/types/components/base/DCodeCardCheckboxList.vue.d.ts +1 -1
  11. package/dist/types/components/base/DCodeDynamicCollapse.vue.d.ts +1 -1
  12. package/dist/types/components/base/DCodeFileResult.vue.d.ts +2 -0
  13. package/dist/types/components/base/DCodeImageResult.vue.d.ts +2 -0
  14. package/dist/types/components/base/DCodeInfiniteAutoComplete.vue.d.ts +1 -1
  15. package/dist/types/components/base/DCodeMapField.vue.d.ts +1 -1
  16. package/dist/types/components/base/DCodeStaticImage.vue.d.ts +1 -1
  17. package/dist/types/components/base/DCodeWorkflowBpmn.vue.d.ts +1 -1
  18. package/dist/types/components/base/DCodeWorkflowDiagram.vue.d.ts +1 -1
  19. package/dist/types/components/base/datatable/DataTable.vue.d.ts +4 -4
  20. package/dist/types/components/dynamic/DynamicForm.vue.d.ts +5 -5
  21. package/dist/types/components/dynamic/DynamicFormField.vue.d.ts +2 -2
  22. package/dist/types/components/dynamic/DynamicWizard.vue.d.ts +5 -5
  23. package/dist/types/composables/__tests__/useResolvedImagePreview.test.d.ts +1 -0
  24. package/dist/types/composables/dynamic-form/logic/useFormLogic.options-filter-exclude.test.d.ts +1 -0
  25. package/dist/types/composables/dynamic-form/types/form.types.d.ts +1 -1
  26. package/dist/types/composables/dynamic-form/useDynamicForm.d.ts +2 -267
  27. package/dist/types/composables/useResolvedImagePreview.d.ts +31 -0
  28. package/dist/types/types/form.d.ts +6 -4
  29. package/dist/types/utils/documentViewer/sourceResolver.d.ts +2 -0
  30. package/dist/types/utils/pdfPreview.d.ts +1 -1
  31. package/dist/{viewer-Bk7OBy9_.js → viewer-CbmUL-Vg.js} +1 -1
  32. package/dist/{xlsx-BSxXi4Js.js → xlsx-CpN2fY5t.js} +4 -4
  33. package/package.json +1 -1
@@ -62,14 +62,15 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
62
62
  required: boolean;
63
63
  error: string | null;
64
64
  visible: boolean;
65
+ apiParams: Record<string, any>;
65
66
  returnObject: boolean;
67
+ excludeValues: any[];
66
68
  itemTitle: string | ((item: any) => string);
67
69
  itemValue: string | ((item: any) => any);
68
70
  clearable: boolean;
69
71
  skeleton: boolean;
70
72
  autoFetchOnOpen: boolean;
71
73
  autoFetchOnMount: boolean;
72
- apiParams: Record<string, any>;
73
74
  openOnFocus: boolean;
74
75
  pageSize: number;
75
76
  threshold: number;
@@ -78,7 +79,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
78
79
  labelPosition: "top" | "bottom" | "left" | "right";
79
80
  labelWidth: string;
80
81
  searchable: boolean;
81
- excludeValues: any[];
82
82
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
83
83
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
84
84
  export default _default;
@@ -49,12 +49,12 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
49
49
  items: any[];
50
50
  apiUrl: string;
51
51
  visible: boolean;
52
+ apiParams: Record<string, any>;
52
53
  model: string;
53
54
  options: any[];
54
55
  itemTitle: string;
55
56
  itemValue: string;
56
57
  skeleton: boolean;
57
- apiParams: Record<string, any>;
58
58
  apiMethod: "GET" | "POST";
59
59
  dataPath: string;
60
60
  layout: boolean;
@@ -239,12 +239,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
239
239
  labelEN: string;
240
240
  formData: Record<string, any>;
241
241
  labelKR: string;
242
+ selectedTokenCore: Record<string, any>;
242
243
  isEditMode: boolean;
243
244
  dummyMode: boolean;
244
245
  itemTitle: string;
245
246
  itemValue: string;
246
247
  endpointReference: Record<string, any>;
247
- selectedTokenCore: Record<string, any>;
248
248
  accordion: string | boolean;
249
249
  renderSubForm: boolean;
250
250
  subLayoutCodeKey: string;
@@ -19,11 +19,13 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
19
19
  remove: () => any;
20
20
  edit: () => any;
21
21
  preview: () => any;
22
+ "blob-loaded": (blob: Blob) => any;
22
23
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
24
  onReplace?: (() => any) | undefined;
24
25
  onRemove?: (() => any) | undefined;
25
26
  onEdit?: (() => any) | undefined;
26
27
  onPreview?: (() => any) | undefined;
28
+ "onBlob-loaded"?: ((blob: Blob) => any) | undefined;
27
29
  }>, {
28
30
  flat: boolean;
29
31
  title: string;
@@ -18,11 +18,13 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
18
18
  remove: () => any;
19
19
  edit: () => any;
20
20
  preview: () => any;
21
+ "blob-loaded": (blob: Blob) => any;
21
22
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
23
  onReplace?: (() => any) | undefined;
23
24
  onRemove?: (() => any) | undefined;
24
25
  onEdit?: (() => any) | undefined;
25
26
  onPreview?: (() => any) | undefined;
27
+ "onBlob-loaded"?: ((blob: Blob) => any) | undefined;
26
28
  }>, {
27
29
  flat: boolean;
28
30
  title: string;
@@ -73,6 +73,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
73
73
  error: string | null;
74
74
  visible: boolean;
75
75
  returnObject: boolean;
76
+ excludeValues: any[];
76
77
  itemTitle: string | ((item: any) => string);
77
78
  itemValue: string | ((item: any) => any);
78
79
  clearable: boolean;
@@ -83,7 +84,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
83
84
  threshold: number;
84
85
  searchParamName: string;
85
86
  debounceMs: number;
86
- excludeValues: any[];
87
87
  refreshOnOpen: boolean;
88
88
  inputType: string;
89
89
  helperText: string;
@@ -37,9 +37,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
37
37
  height: string;
38
38
  required: boolean;
39
39
  error: string | null;
40
+ zoom: number;
40
41
  visible: boolean;
41
42
  valueFormat: ValueFormat;
42
- zoom: number;
43
43
  skeleton: boolean;
44
44
  defaultLat: number;
45
45
  defaultLng: number;
@@ -62,8 +62,8 @@ type __VLS_Props = {
62
62
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
63
63
  rounded: boolean;
64
64
  title: string;
65
- dummyMode: boolean;
66
65
  apiParams: Record<string, any>;
66
+ dummyMode: boolean;
67
67
  apiMethod: "GET" | "POST";
68
68
  columns: number;
69
69
  aspectRatio: string;
@@ -61,8 +61,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
61
61
  modelValue: string | null;
62
62
  height: string;
63
63
  xml: string | null;
64
- dummyMode: boolean;
65
64
  apiParams: Record<string, any>;
65
+ dummyMode: boolean;
66
66
  apiMethod: string;
67
67
  showToolbar: boolean;
68
68
  xmlBefore: string | null;
@@ -21,8 +21,8 @@ interface Props {
21
21
  }
22
22
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
23
23
  height: string;
24
- dummyMode: boolean;
25
24
  apiParams: Record<string, any>;
25
+ dummyMode: boolean;
26
26
  apiMethod: string;
27
27
  baseUrl: string;
28
28
  withAuth: boolean;
@@ -155,10 +155,13 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
155
155
  nested: boolean;
156
156
  data: any[];
157
157
  loading: boolean;
158
+ checkPermission: (permission: string) => boolean;
159
+ userPermissions: any;
160
+ selectedTokenCore: any;
161
+ apiParams: Record<string, any>;
158
162
  perPage: number;
159
163
  dummyMode: boolean;
160
164
  apiAction: string;
161
- apiParams: Record<string, any>;
162
165
  collapsible: boolean;
163
166
  defaultCollapsed: boolean;
164
167
  columns: TableColumn[];
@@ -166,15 +169,12 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
166
169
  baseUrl: string;
167
170
  permissions: string[];
168
171
  socketParams: Record<string, any>;
169
- selectedTokenCore: any;
170
172
  hasActions: boolean;
171
173
  freezeActionColumn: boolean;
172
174
  dynamicColumns: boolean;
173
175
  enableQuickSearch: boolean;
174
176
  ignorePermissions: boolean;
175
- userPermissions: any;
176
177
  permissionChecker: (path: string, action: string) => boolean;
177
- checkPermission: (permission: string) => boolean;
178
178
  menuPermissions: any[];
179
179
  controlled: boolean;
180
180
  tokenCores: any[];
@@ -30,17 +30,17 @@ declare const _default: import("vue").DefineComponent<DynamicFormProps, {
30
30
  }>, {
31
31
  loading: boolean;
32
32
  router: any;
33
+ permissionBase: string;
34
+ checkPermission: (permission: string) => boolean;
35
+ userPermissions: any;
36
+ selectedTokenCore: any;
37
+ apiParams: Record<string, any>;
33
38
  isEditMode: boolean;
34
39
  dummyMode: boolean;
35
40
  model: Record<string, any>;
36
- apiParams: Record<string, any>;
37
41
  baseUrl: string;
38
- selectedTokenCore: any;
39
42
  hideBackButton: boolean;
40
43
  isWizard: boolean;
41
- permissionBase: string;
42
- userPermissions: any;
43
- checkPermission: (permission: string) => boolean;
44
44
  tokenCores: any[];
45
45
  hideActions: boolean;
46
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -11,10 +11,11 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
11
11
  error: string | null;
12
12
  loading: boolean;
13
13
  formData: Record<string, any>;
14
+ selectedTokenCore: any;
14
15
  dummyMode: boolean;
16
+ excludeValues: any[];
15
17
  options: any[];
16
18
  skeleton: boolean;
17
- excludeValues: any[];
18
19
  baseUrl: string;
19
20
  dynamicLabels: {
20
21
  labelEN?: string;
@@ -32,6 +33,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
32
33
  maxLength?: number | string | null;
33
34
  } | null;
34
35
  viewOnly: boolean;
35
- selectedTokenCore: any;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  export default _default;
@@ -30,15 +30,15 @@ declare const _default: import("vue").DefineComponent<DynamicWizardProps, {}, {}
30
30
  }>, {
31
31
  loading: boolean;
32
32
  router: any;
33
+ permissionBase: string;
34
+ checkPermission: (permission: string) => boolean;
35
+ userPermissions: any;
36
+ selectedTokenCore: any;
37
+ apiParams: Record<string, any>;
33
38
  isEditMode: boolean;
34
39
  dummyMode: boolean;
35
40
  model: Record<string, any>;
36
- apiParams: Record<string, any>;
37
41
  baseUrl: string;
38
- selectedTokenCore: any;
39
- permissionBase: string;
40
- userPermissions: any;
41
- checkPermission: (permission: string) => boolean;
42
42
  tokenCores: any[];
43
43
  hideActions: boolean;
44
44
  activeStepKey: string;
@@ -74,7 +74,7 @@ export interface LogicComposables {
74
74
  evaluateLogic: (rule: any, data: Record<string, any>, debugTag?: string, contextPath?: string) => any;
75
75
  resolveActiveRule: (rules: any, data: Record<string, any>, debugTag: any, contextPath?: string) => any;
76
76
  resolveValueIdentifier: (modelName: string, value: any, fieldOverride?: any, contextObj?: any) => any;
77
- getFilteredItems: (field: any, customData?: Record<string, any>) => any[];
77
+ getFilteredItems: (field: any, customData?: Record<string, any>, contextPath?: string) => any[];
78
78
  getExcludedValues: (field: any, customData?: Record<string, any>) => string[];
79
79
  isFieldVisible: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
80
80
  isFieldRequired: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
@@ -1,267 +1,2 @@
1
- import { DynamicFormProps, FieldMap } from "./types/form.types";
2
- import { getSectionKey } from "./utils/form.utils";
3
- export declare function useDynamicForm(props: DynamicFormProps, emit: any): {
4
- resolveKeyParams: (keyParams: any[], contextPath?: string, currentField?: any, localData?: any) => Record<string, any>;
5
- navigation: {
6
- navigationState: import("vue").Ref<{
7
- currentContext: string | null;
8
- history: {
9
- sectionKey: string;
10
- hiddenStates: Record<string, boolean>;
11
- timestamp: number;
12
- sourceAction?: string | undefined;
13
- context?: any;
14
- backButtonConfig?: {
15
- labelEN?: string | undefined;
16
- labelID?: string | undefined;
17
- labelKR?: string | undefined;
18
- icon?: string | undefined;
19
- variant?: string | undefined;
20
- position?: "left" | "right" | undefined;
21
- } | undefined;
22
- enableBackButton?: boolean | undefined;
23
- }[];
24
- hiddenStates: Record<string, boolean>;
25
- navigationEnabled: Set<string> & Omit<Set<string>, keyof Set<any>>;
26
- maxHistoryDepth: number;
27
- parentRowContext?: {
28
- parentArrayKey: string;
29
- rowIndex: number;
30
- childArrayKey?: string | undefined;
31
- } | null | undefined;
32
- }, import("./navigation/navigation.types").NavigationState | {
33
- currentContext: string | null;
34
- history: {
35
- sectionKey: string;
36
- hiddenStates: Record<string, boolean>;
37
- timestamp: number;
38
- sourceAction?: string | undefined;
39
- context?: any;
40
- backButtonConfig?: {
41
- labelEN?: string | undefined;
42
- labelID?: string | undefined;
43
- labelKR?: string | undefined;
44
- icon?: string | undefined;
45
- variant?: string | undefined;
46
- position?: "left" | "right" | undefined;
47
- } | undefined;
48
- enableBackButton?: boolean | undefined;
49
- }[];
50
- hiddenStates: Record<string, boolean>;
51
- navigationEnabled: Set<string> & Omit<Set<string>, keyof Set<any>>;
52
- maxHistoryDepth: number;
53
- parentRowContext?: {
54
- parentArrayKey: string;
55
- rowIndex: number;
56
- childArrayKey?: string | undefined;
57
- } | null | undefined;
58
- }>;
59
- hasHistory: import("vue").ComputedRef<boolean>;
60
- isBackButtonEnabled: import("vue").ComputedRef<boolean>;
61
- currentContext: import("vue").ComputedRef<string | null>;
62
- history: import("vue").ComputedRef<{
63
- sectionKey: string;
64
- hiddenStates: Record<string, boolean>;
65
- timestamp: number;
66
- sourceAction?: string | undefined;
67
- context?: any;
68
- backButtonConfig?: {
69
- labelEN?: string | undefined;
70
- labelID?: string | undefined;
71
- labelKR?: string | undefined;
72
- icon?: string | undefined;
73
- variant?: string | undefined;
74
- position?: "left" | "right" | undefined;
75
- } | undefined;
76
- enableBackButton?: boolean | undefined;
77
- }[]>;
78
- hiddenStates: import("vue").ComputedRef<{
79
- [x: string]: boolean;
80
- }>;
81
- parentRowContext: import("vue").ComputedRef<{
82
- parentArrayKey: string;
83
- rowIndex: number;
84
- childArrayKey?: string | undefined;
85
- } | null | undefined>;
86
- navigateTo: (config: import("./navigation/navigation.types").NavigationConfig, context?: any) => void;
87
- navigateBack: () => void;
88
- applyHiddenRules: (rules: Record<string, boolean | any>, context?: any) => void;
89
- getCurrentBackButton: () => import("./navigation/navigation.types").BackButtonConfig | null;
90
- isSectionHidden: (sectionKey: string) => boolean;
91
- setSectionHidden: (sectionKey: string, hidden: boolean) => void;
92
- clearHistory: () => void;
93
- reset: () => void;
94
- registerNavigationSection: (sectionKey: string) => void;
95
- };
96
- tableDialogOpen: import("vue").Ref<boolean, boolean>;
97
- tableDialogTitle: import("vue").Ref<string, string>;
98
- tableDialogIcon: import("vue").Ref<string, string>;
99
- tableDialogFields: import("vue").Ref<any[], any[]>;
100
- tableRowFormData: any;
101
- tableRowErrors: any;
102
- activeTableKey: import("vue").Ref<string, string>;
103
- editingRowIndex: import("vue").Ref<number | null, number | null>;
104
- tableDialogViewOnly: import("vue").Ref<boolean, boolean>;
105
- confirmDeletePending: import("vue").Ref<{
106
- propsTable: any;
107
- row: any;
108
- } | null, {
109
- propsTable: any;
110
- row: any;
111
- } | {
112
- propsTable: any;
113
- row: any;
114
- } | null>;
115
- confirmDeleteOpen: import("vue").Ref<boolean, boolean>;
116
- tableDialogSize: import("vue").Ref<string, string>;
117
- isTemporaryTable: (pt: any) => boolean;
118
- isActionViewOnly: (action: any) => any;
119
- tableRows: (pt: any) => any[];
120
- resolveTableFields: (pt: any) => any[];
121
- confirmTableDelete: (pt: any, row: any) => void;
122
- executeTableDelete: () => void;
123
- handleTableRowUpdate: (model: string, value: any) => void;
124
- openTableRowDialog: (pt: any, tAction: any, rowData?: any) => void;
125
- handleDataTableAction: (pt: any, payload: {
126
- action: string;
127
- row: any;
128
- selection?: any[];
129
- isLocalSave?: boolean;
130
- modelDatatable?: string;
131
- actionType?: string;
132
- originalRow?: any;
133
- rowIndex?: number | null;
134
- }) => void;
135
- saveTableRow: () => void;
136
- isActionVisible: (action: any) => boolean;
137
- getVisibleGroupButtons: (action: any) => any;
138
- handleGlobalButtonClick: (action: any) => void;
139
- confirmAction: () => void;
140
- performAction: (action: any) => Promise<void>;
141
- handleSubmit: () => Promise<void>;
142
- handleCancel: () => any;
143
- handleFieldUpdate: (model: string, value: any, sectionKey?: string, scopedPath?: string) => void;
144
- getCleanPayload: () => Record<string, any>;
145
- applyFieldMapping: (data: Record<string, any>, mapping: Record<string, any>) => Record<string, any>;
146
- handleResponseMapping: (res: any, mapping: Record<string, any>, basePath?: string) => void;
147
- handleClearMapping: (mapping: Record<string, any>, basePath?: string) => void;
148
- getFormArrayModels: () => import("./types/form.types").FormArrayModel[];
149
- normalizedData: import("vue").ComputedRef<Record<string, any>>;
150
- getNormalizedData: (data: Record<string, any>, contextPath?: string, debugTag?: string) => Record<string, any>;
151
- evaluateLogic: (rule: any, customData?: Record<string, any>, debugTag?: string, contextPath?: string) => any;
152
- resolveActiveRule: (rules: any, data: Record<string, any>, debugTag: any, contextPath?: string) => any;
153
- resolveValueIdentifier: (modelName: string, value: any, fieldOverride?: any, contextObj?: any) => any;
154
- getFilteredItems: (field: any, customData?: Record<string, any>, contextPath?: string) => any[];
155
- getExcludedValues: (field: any, customData?: Record<string, any>) => string[];
156
- isFieldVisible: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
157
- isFieldRequired: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
158
- isFieldDisabled: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
159
- isFieldReadonly: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
160
- isFieldHidden: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
161
- isSectionVisible: (section: any, customData?: Record<string, any>) => boolean;
162
- isSectionEffectivelyVisible: (section: any, customData?: Record<string, any>) => boolean;
163
- isSectionHidden: (section: any, customData?: Record<string, any>) => boolean;
164
- resolveSectionLabels: (section: any) => {
165
- title: any;
166
- description: any;
167
- };
168
- resolveFieldLabels: (field: any, customData?: Record<string, any>) => any;
169
- resolveFieldLength: (field: any, customData?: Record<string, any>) => any;
170
- resolveDefaultValue: (field: any, customData?: Record<string, any>, contextPath?: string) => any;
171
- getWizardTabs: (section: any) => any;
172
- applyCalculations: () => void;
173
- isSubmitDisabled: import("vue").ComputedRef<any>;
174
- resolveSectionGridClass: (layout: any) => string;
175
- resolveFieldColumnClass: (field: any, parentLayout?: string) => string;
176
- resolveSectionSpan12: (val: any) => number;
177
- resolveSectionColumnClass: (sectionOrSpan: any) => string;
178
- groupSectionsIntoGrid: (sections: any[], checkVisible?: (sec: any) => boolean) => {
179
- usedCols: number;
180
- columns: Array<{
181
- colSpan: number;
182
- colClass: string;
183
- usedRows: number;
184
- items: Array<{
185
- section: any;
186
- sIdx: number;
187
- colSpan: number;
188
- rowSpan: number;
189
- }>;
190
- }>;
191
- }[];
192
- t: import("vue-i18n").ComposerTranslation<{
193
- [x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
194
- }, string, import("@intlify/core-base").RemoveIndexSignature<{
195
- [x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
196
- }>, never, never, never>;
197
- locale: import("vue").ComputedRef<string>;
198
- i18nLocale: import("vue").WritableComputedRef<string, string>;
199
- apiUrl: any;
200
- router: any;
201
- isSubmitting: import("vue").Ref<boolean, boolean>;
202
- internalSchema: import("vue").Ref<any, any>;
203
- activeSchema: import("vue").ComputedRef<any>;
204
- resolvedBaseUrl: import("vue").ComputedRef<any>;
205
- permissionBase: import("vue").ComputedRef<any>;
206
- checkPermission: ((permission: string) => boolean) | undefined;
207
- userPermissions: any;
208
- selectedTokenCore: any;
209
- radioGroups: import("vue").ComputedRef<Record<string, any[]>>;
210
- confirmDialog: {
211
- visible: boolean;
212
- title: string;
213
- message: string;
214
- action: any;
215
- showCancel?: boolean;
216
- okText?: string;
217
- cancelText?: string;
218
- isBlocking?: boolean;
219
- redirectUrl?: string;
220
- };
221
- fieldMap: import("vue").ComputedRef<FieldMap>;
222
- rawItemsCache: Record<string, any[]>;
223
- revision: import("vue").Ref<number, number>;
224
- formData: Record<string, any>;
225
- originalData: Record<string, any>;
226
- errors: Record<string, string>;
227
- touched: Record<string, boolean>;
228
- isSubmitted: import("vue").Ref<boolean, boolean>;
229
- fieldErrors: Record<string, string | null>;
230
- inlineState: Record<string, boolean>;
231
- wizardState: Record<string, number>;
232
- wizardResponses: Record<string, any>;
233
- sectionLoading: Record<string, boolean>;
234
- fieldLoading: Record<string, boolean>;
235
- sectionPagination: Record<string, {
236
- page: number;
237
- perPage: number;
238
- totalData?: number;
239
- maxPage?: number;
240
- filters?: Record<string, any>;
241
- }>;
242
- validation: import("./types/form.types").ValidationComposables;
243
- apiParams: Record<string, any> | undefined;
244
- getSectionKey: typeof getSectionKey;
245
- sortedFields: (fields: any[]) => any[];
246
- prefetchFieldItems: (field: any, force?: boolean, contextPath?: string, localData?: any) => Promise<void>;
247
- fetchFormData: (force?: boolean) => Promise<void>;
248
- fetchSectionData: (sectionKey: string, sectionObj?: any, contextPathOverride?: string) => Promise<void>;
249
- getDeepValue: (obj: any, path: string) => any;
250
- setDeepValue: (obj: any, path: string, val: any) => void;
251
- triggerFetchRule: (field: any, rule: any, contextPath?: string, localData?: any) => Promise<{
252
- success: boolean;
253
- res: any;
254
- message?: undefined;
255
- err?: undefined;
256
- } | {
257
- success: boolean;
258
- message: any;
259
- res: any;
260
- err?: undefined;
261
- } | {
262
- success: boolean;
263
- message: any;
264
- err: any;
265
- res?: undefined;
266
- } | undefined>;
267
- };
1
+ import { DynamicFormProps } from "./types/form.types";
2
+ export declare function useDynamicForm(props: DynamicFormProps, emit: any): Record<string, any>;
@@ -0,0 +1,31 @@
1
+ export interface UseResolvedImagePreviewOptions {
2
+ file: () => File | Blob | string | Record<string, any> | null | undefined;
3
+ enabled?: () => boolean;
4
+ onBlobLoaded?: (blob: Blob) => void;
5
+ }
6
+ /**
7
+ * Resolves an image source into a CSP-safe `blob:` URL before mounting `<img :src>`,
8
+ * fetching remote images via `loadBinaryBlob` so cross-origin `http://` URLs never violate `img-src`.
9
+ */
10
+ export declare function useResolvedImagePreview(options: UseResolvedImagePreviewOptions): {
11
+ previewUrl: import("vue").Ref<string | null, string | null>;
12
+ resolvedBlob: import("vue").Ref<{
13
+ readonly size: number;
14
+ readonly type: string;
15
+ arrayBuffer: () => Promise<ArrayBuffer>;
16
+ bytes: () => Promise<Uint8Array<ArrayBuffer>>;
17
+ slice: (start?: number, end?: number, contentType?: string) => Blob;
18
+ stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
19
+ text: () => Promise<string>;
20
+ } | null, Blob | {
21
+ readonly size: number;
22
+ readonly type: string;
23
+ arrayBuffer: () => Promise<ArrayBuffer>;
24
+ bytes: () => Promise<Uint8Array<ArrayBuffer>>;
25
+ slice: (start?: number, end?: number, contentType?: string) => Blob;
26
+ stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
27
+ text: () => Promise<string>;
28
+ } | null>;
29
+ isLoadingPreview: import("vue").Ref<boolean, boolean>;
30
+ imgError: import("vue").Ref<boolean, boolean>;
31
+ };
@@ -10,8 +10,9 @@ export interface LogicRule {
10
10
  requiredRule?: string | Record<string, any>;
11
11
  calculateRule?: Record<string, any>;
12
12
  optionsFilterRule?: Array<{
13
- condition: Record<string, any>;
14
- values: any[];
13
+ condition?: Record<string, any>;
14
+ values?: any[];
15
+ excludeValues?: any[];
15
16
  }>;
16
17
  labelingRule?: Array<{
17
18
  condition: Record<string, any>;
@@ -552,8 +553,9 @@ export interface FormFieldBuilderLogic {
552
553
  visibleRule?: string | Record<string, any> | boolean;
553
554
  disabledRule?: string | Record<string, any>;
554
555
  optionsFilterRule?: Array<{
555
- condition: Record<string, any>;
556
- values: any[];
556
+ condition?: Record<string, any>;
557
+ values?: any[];
558
+ excludeValues?: any[];
557
559
  }>;
558
560
  labelingRule?: Array<{
559
561
  condition: Record<string, any>;
@@ -17,3 +17,5 @@ export declare const normalizeDocumentUrl: (rawUrl: string, baseUrl?: string) =>
17
17
  */
18
18
  export declare const resolveDocumentSource: (input: DocumentSourceInput) => ResolvedDocumentSource;
19
19
  export declare const isMixedContentUrl: (url: string | null | undefined) => boolean;
20
+ export declare const shouldFetchImageAsBlob: (url: string | null | undefined) => boolean;
21
+ export declare const isInsecureDirectImageUrl: (url: string | null | undefined) => boolean;
@@ -94,7 +94,7 @@ export declare const readAndValidatePdfBytes: (blob: Blob) => Promise<Uint8Array
94
94
  * Lazily loads PDF.js together with its worker module wired onto `globalThis.pdfjsWorker`
95
95
  * so rendering executes safely in-process without needing `worker-src blob:` or external worker URLs.
96
96
  */
97
- export declare const loadPdfJs: () => Promise<typeof import("pdfjs-dist/legacy/build/pdf.mjs")>;
97
+ export declare const loadPdfJs: () => Promise<typeof import("pdfjs-dist/legacy/build/pdf.d.mts")>;
98
98
  /**
99
99
  * Loads, validates, and opens a reusable PDF document session supporting full rendering,
100
100
  * per-page lazy rendering, TextLayer extraction/selection, thumbnails, and printing.
@@ -1,5 +1,5 @@
1
1
  import { p as O, U as W, C as T, i as p, a as H, F as Kn, s as on, I as Zn, B as Qn, o as sn, j as Fe, Y as rn, q as mt, k as Be, K as ti, J as Tt, Z as ei, z as ni, H as It, G as ii, L as an, g as cn } from "./DrilldownUtil-esP8Tbvd.js";
2
- import { g as oi } from "./index-CL9_NvAY.js";
2
+ import { g as oi } from "./index-Lp5bCkh4.js";
3
3
  const N = "tokenSimulation.toggleMode", ln = "tokenSimulation.playSimulation", un = "tokenSimulation.pauseSimulation", tt = "tokenSimulation.resetSimulation", si = "tokenSimulation.animationCreated", hn = "tokenSimulation.animationSpeedChanged", pn = "tokenSimulation.simulator.elementChanged", Gt = "tokenSimulation.simulator.destroyScope", ri = "tokenSimulation.simulator.scopeChanged", vt = "tokenSimulation.simulator.createScope", Bt = "tokenSimulation.scopeFilterChanged", fn = "tokenSimulation.simulator.trace";
4
4
  var ai = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path fill="currentColor" d="M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg>', ci = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg>', li = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"/></svg>', ui = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path fill="currentColor" d="M384 144c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 36.4 24.3 67.1 57.5 76.8-.6 16.1-4.2 28.5-11 36.9-15.4 19.2-49.3 22.4-85.2 25.7-28.2 2.6-57.4 5.4-81.3 16.9v-144c32.5-10.2 56-40.5 56-76.3 0-44.2-35.8-80-80-80S0 35.8 0 80c0 35.8 23.5 66.1 56 76.3v199.3C23.5 365.9 0 396.2 0 432c0 44.2 35.8 80 80 80s80-35.8 80-80c0-34-21.2-63.1-51.2-74.6 3.1-5.2 7.8-9.8 14.9-13.4 16.2-8.2 40.4-10.4 66.1-12.8 42.2-3.9 90-8.4 118.2-43.4 14-17.4 21.1-39.8 21.6-67.9 31.6-10.8 54.4-40.7 54.4-75.9zM80 64c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm0 384c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm224-320c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16z"/></svg>', hi = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/></svg>', pi = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path fill="currentColor" d="M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"/></svg>', fi = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path fill="currentColor" d="M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"/></svg>', mi = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 580.5 448">
5
5
  <path fill="currentColor" d="M112 0C85 0 64 22 64 48v196l192-89V48c0-26-22-48-48-48zm256 0c-27 0-48 22-48 48v77l190-89c-5-21-24-36-46-36Zm144 105-192 89v70l192-89zM256 224 64 314v70l192-90zm256 21-192 89v66c0 27 21 48 48 48h96c26 0 48-21 48-48zM256 364 89 442c7 4 14 6 23 6h96c26 0 48-21 48-48z"/>
@@ -22629,7 +22629,7 @@ var Zs = /* @__PURE__ */ (function() {
22629
22629
  function fo(e, t) {
22630
22630
  if (t.bookType == "fods") return Zs(e, t);
22631
22631
  var r = fi(), a = "", n = [], i = [];
22632
- return a = "mimetype", Re(r, a, "application/vnd.oasis.opendocument.spreadsheet"), a = "content.xml", Re(r, a, Zs(e, t)), n.push([a, "text/xml"]), i.push([a, "ContentFile"]), a = "styles.xml", Re(r, a, n_(e, t)), n.push([a, "text/xml"]), i.push([a, "StylesFile"]), a = "meta.xml", Re(r, a, ur + Wf(
22632
+ return a = "mimetype", Re(r, a, "application/vnd.oasis.opendocument.spreadsheet"), a = "content.xml", Re(r, a, Zs(e, t)), n.push([a, "text/xml"]), i.push([a, "ContentFile"]), a = "styles.xml", Re(r, a, n_()), n.push([a, "text/xml"]), i.push([a, "StylesFile"]), a = "meta.xml", Re(r, a, ur + Wf(
22633
22633
  /*::wb, opts*/
22634
22634
  )), n.push([a, "text/xml"]), i.push([a, "MetadataFile"]), a = "manifest.rdf", Re(r, a, Pu(
22635
22635
  i
@@ -24658,15 +24658,15 @@ function gn(e, t) {
24658
24658
  case "csv":
24659
24659
  return Et(Ui(e.Sheets[e.SheetNames[n]], r), r, "\uFEFF");
24660
24660
  case "dif":
24661
- return Et(lc.from_sheet(e.Sheets[e.SheetNames[n]], r), r);
24661
+ return Et(lc.from_sheet(e.Sheets[e.SheetNames[n]]), r);
24662
24662
  case "dbf":
24663
24663
  return $0(Kn.from_sheet(e.Sheets[e.SheetNames[n]], r), r);
24664
24664
  case "prn":
24665
- return Et(Pa.from_sheet(e.Sheets[e.SheetNames[n]], r), r);
24665
+ return Et(Pa.from_sheet(e.Sheets[e.SheetNames[n]]), r);
24666
24666
  case "rtf":
24667
24667
  return Et(Cx(e.Sheets[e.SheetNames[n]]), r);
24668
24668
  case "eth":
24669
- return Et(uc.from_sheet(e.Sheets[e.SheetNames[n]], r), r);
24669
+ return Et(uc.from_sheet(e.Sheets[e.SheetNames[n]]), r);
24670
24670
  case "fods":
24671
24671
  return Et(fo(e, r), r);
24672
24672
  case "wk1":