@skyworx/dynamic-ui 1.0.49 → 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 (37) hide show
  1. package/dist/{NavigatedViewer-B7H9ZJOh.js → NavigatedViewer-DYe4UutC.js} +1961 -1945
  2. package/dist/{docx-preview-omOu0gze.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 +223 -223
  6. package/dist/{index-COS1PARh.js → index-Lp5bCkh4.js} +27992 -27535
  7. package/dist/{jszip.min-DWOPwycz.js → jszip.min-BfNQRHIR.js} +1 -1
  8. package/dist/{pptx-preview.es-D72et4Bp.js → pptx-preview.es-mNb7vbnx.js} +9820 -9836
  9. package/dist/types/components/base/DCodeAutoComplete.vue.d.ts +3 -3
  10. package/dist/types/components/base/DCodeCardCheckboxList.vue.d.ts +1 -1
  11. package/dist/types/components/base/DCodeDialog.vue.d.ts +7 -7
  12. package/dist/types/components/base/DCodeDynamicCollapse.vue.d.ts +1 -1
  13. package/dist/types/components/base/DCodeFileResult.vue.d.ts +2 -0
  14. package/dist/types/components/base/DCodeImageResult.vue.d.ts +2 -0
  15. package/dist/types/components/base/DCodeInfiniteAutoComplete.vue.d.ts +2 -2
  16. package/dist/types/components/base/DCodeMapField.vue.d.ts +1 -1
  17. package/dist/types/components/base/DCodeMultiSelect.vue.d.ts +1 -1
  18. package/dist/types/components/base/DCodeStaticImage.vue.d.ts +1 -1
  19. package/dist/types/components/base/DCodeWorkflowBpmn.vue.d.ts +1 -1
  20. package/dist/types/components/base/DCodeWorkflowDiagram.vue.d.ts +1 -1
  21. package/dist/types/components/base/datatable/DataTable.vue.d.ts +4 -4
  22. package/dist/types/components/dynamic/DynamicForm.vue.d.ts +5 -5
  23. package/dist/types/components/dynamic/DynamicFormField.vue.d.ts +2 -2
  24. package/dist/types/components/dynamic/DynamicWizard.vue.d.ts +5 -5
  25. package/dist/types/composables/__tests__/useResolvedImagePreview.test.d.ts +1 -0
  26. package/dist/types/composables/dynamic-form/logic/useFormLogic.default-value-fallback.test.d.ts +1 -0
  27. package/dist/types/composables/dynamic-form/logic/useFormLogic.grid-layout.test.d.ts +1 -0
  28. package/dist/types/composables/dynamic-form/logic/useFormLogic.options-filter-exclude.test.d.ts +1 -0
  29. package/dist/types/composables/dynamic-form/types/form.types.d.ts +1 -1
  30. package/dist/types/composables/dynamic-form/useDynamicForm.d.ts +2 -267
  31. package/dist/types/composables/useResolvedImagePreview.d.ts +31 -0
  32. package/dist/types/types/form.d.ts +6 -4
  33. package/dist/types/utils/documentViewer/sourceResolver.d.ts +2 -0
  34. package/dist/types/utils/pdfPreview.d.ts +1 -1
  35. package/dist/{viewer-zyCKD_4h.js → viewer-CbmUL-Vg.js} +1 -1
  36. package/dist/{xlsx-BSxXi4Js.js → xlsx-CpN2fY5t.js} +4 -4
  37. 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>;
66
+ returnObject: boolean;
67
+ excludeValues: any[];
65
68
  itemTitle: string | ((item: any) => string);
66
69
  itemValue: string | ((item: any) => any);
67
- returnObject: boolean;
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;
@@ -23,19 +23,19 @@ export interface DialogProps {
23
23
  confirmLoading?: boolean;
24
24
  confirmDisabled?: boolean;
25
25
  }
26
- declare var __VLS_21: {}, __VLS_39: {}, __VLS_57: {}, __VLS_63: {}, __VLS_65: {}, __VLS_67: {};
26
+ declare var __VLS_29: {}, __VLS_47: {}, __VLS_65: {}, __VLS_71: {}, __VLS_73: {}, __VLS_75: {};
27
27
  type __VLS_Slots = {} & {
28
- header?: (props: typeof __VLS_21) => any;
28
+ header?: (props: typeof __VLS_29) => any;
29
29
  } & {
30
- 'header-append'?: (props: typeof __VLS_39) => any;
30
+ 'header-append'?: (props: typeof __VLS_47) => any;
31
31
  } & {
32
- notice?: (props: typeof __VLS_57) => any;
32
+ notice?: (props: typeof __VLS_65) => any;
33
33
  } & {
34
- default?: (props: typeof __VLS_63) => any;
34
+ default?: (props: typeof __VLS_71) => any;
35
35
  } & {
36
- 'footer-left'?: (props: typeof __VLS_65) => any;
36
+ 'footer-left'?: (props: typeof __VLS_73) => any;
37
37
  } & {
38
- actions?: (props: typeof __VLS_67) => any;
38
+ actions?: (props: typeof __VLS_75) => any;
39
39
  };
40
40
  declare const __VLS_component: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
41
  "update:modelValue": (val: boolean) => any;
@@ -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;
@@ -72,9 +72,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
72
72
  required: boolean;
73
73
  error: string | null;
74
74
  visible: boolean;
75
+ returnObject: boolean;
76
+ excludeValues: any[];
75
77
  itemTitle: string | ((item: any) => string);
76
78
  itemValue: string | ((item: any) => any);
77
- returnObject: boolean;
78
79
  clearable: boolean;
79
80
  skeleton: boolean;
80
81
  autoFetchOnOpen: 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;
@@ -51,9 +51,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
51
51
  apiOptions?: ApiOptions | (() => ApiOptions | undefined);
52
52
  };
53
53
  visible: boolean;
54
+ returnObject: boolean;
54
55
  itemTitle: string | ((item: AnyItem) => string);
55
56
  itemValue: string | ((item: AnyItem) => any);
56
- returnObject: boolean;
57
57
  clearable: boolean;
58
58
  skeleton: boolean;
59
59
  autoFetchOnOpen: boolean;
@@ -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.