@skyworx/dynamic-ui 1.0.41 → 1.0.43

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/{docx-preview-ftZYslmx.js → docx-preview-DFe9VY4J.js} +1 -1
  2. package/dist/dynamic-ui.css +1 -1
  3. package/dist/dynamic-ui.es.js +1 -1
  4. package/dist/dynamic-ui.umd.js +182 -182
  5. package/dist/{index-boSYFrme.js → index--kSDer8n.js} +28002 -26555
  6. package/dist/{jszip.min-34RgR788.js → jszip.min-NMotBpMA.js} +1 -1
  7. package/dist/{pptx-preview.es-Ck0_wF4n.js → pptx-preview.es-C1EHNQHe.js} +2 -2
  8. package/dist/types/components/base/DCodeAutoComplete.vue.d.ts +4 -4
  9. package/dist/types/components/base/DCodeButton.vue.d.ts +15 -5
  10. package/dist/types/components/base/DCodeCard.vue.d.ts +13 -0
  11. package/dist/types/components/base/DCodeCardList.vue.d.ts +1 -1
  12. package/dist/types/components/base/DCodeDialog.vue.d.ts +43 -11
  13. package/dist/types/components/base/DCodeDynamicCollapse.vue.d.ts +72 -0
  14. package/dist/types/components/base/DCodeInfiniteAutoComplete.vue.d.ts +2 -2
  15. package/dist/types/components/base/DCodeMapField.vue.d.ts +1 -1
  16. package/dist/types/components/base/DCodePagination.vue.d.ts +8 -2
  17. package/dist/types/components/base/DCodeTextField.vue.d.ts +10 -3
  18. package/dist/types/components/base/DCodeWizard.vue.d.ts +36 -4
  19. package/dist/types/components/base/datatable/DataTable.vue.d.ts +20 -9
  20. package/dist/types/components/dynamic/DynamicForm.vue.d.ts +1 -0
  21. package/dist/types/components/dynamic/sections/DynamicFormSection.vue.d.ts +1 -0
  22. package/dist/types/components/features/DataFilterSheet.vue.d.ts +3 -3
  23. package/dist/types/composables/dynamic-form/logic/useFormLogic.d.ts +16 -0
  24. package/dist/types/composables/dynamic-form/logic/useFormLogic.exclude-selected.test.d.ts +1 -0
  25. package/dist/types/composables/dynamic-form/types/form.types.d.ts +2 -0
  26. package/dist/types/composables/dynamic-form/useDynamicForm.d.ts +16 -0
  27. package/dist/types/composables/useFieldTransition.d.ts +14 -0
  28. package/dist/types/locales/en.d.ts +3 -0
  29. package/dist/types/locales/id.d.ts +3 -0
  30. package/dist/types/locales/kr.d.ts +3 -0
  31. package/dist/types/pages/AutoLayoutForm.vue.d.ts +2 -0
  32. package/dist/types/types/dynamic.types.d.ts +1 -0
  33. package/dist/types/types/form.d.ts +8 -0
  34. package/dist/types/types/index.d.ts +4 -0
  35. package/dist/types/utils/helpers.d.ts +1 -1
  36. package/dist/{viewer-CBGkgR8-.js → viewer-B74BOtnp.js} +1 -1
  37. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { c as bt, g as It } from "./index-boSYFrme.js";
1
+ import { c as bt, g as It } from "./index--kSDer8n.js";
2
2
  function vt(yt) {
3
3
  throw new Error('Could not dynamically require "' + yt + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -1,5 +1,5 @@
1
- import { o as cW } from "./jszip.min-34RgR788.js";
2
- import { c as av } from "./index-boSYFrme.js";
1
+ import { o as cW } from "./jszip.min-NMotBpMA.js";
2
+ import { c as av } from "./index--kSDer8n.js";
3
3
  var b_ = function(r, e) {
4
4
  return b_ = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) {
5
5
  t.__proto__ = n;
@@ -37,17 +37,17 @@ type __VLS_Props = DCodeBaseProps<string | number | object | any[] | null | unde
37
37
  excludeValues?: any[];
38
38
  };
39
39
  type ApiOptions = Record<string, any>;
40
- declare var __VLS_1: {}, __VLS_22: {
40
+ declare var __VLS_1: {}, __VLS_26: {
41
41
  option: any;
42
42
  selected: boolean;
43
43
  index: number;
44
- }, __VLS_28: {};
44
+ }, __VLS_32: {};
45
45
  type __VLS_Slots = {} & {
46
46
  'prepend-inner'?: (props: typeof __VLS_1) => any;
47
47
  } & {
48
- option?: (props: typeof __VLS_22) => any;
48
+ option?: (props: typeof __VLS_26) => any;
49
49
  } & {
50
- 'no-data'?: (props: typeof __VLS_28) => any;
50
+ 'no-data'?: (props: typeof __VLS_32) => any;
51
51
  };
52
52
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
53
  "update:modelValue": (...args: any[]) => void;
@@ -1,9 +1,11 @@
1
1
  import * as LucideIcons from "lucide-vue-next";
2
2
  type __VLS_Props = {
3
- icon?: keyof typeof LucideIcons;
3
+ icon?: keyof typeof LucideIcons | string;
4
+ badge?: number | string | null;
5
+ badgeClass?: string;
4
6
  text?: string;
5
7
  variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "tonal" | "elevated" | "DEFAULT" | "SECONDARY" | "DESTRUCTIVE" | "OUTLINE" | "GHOST" | "LINK" | "TONAL" | "ELEVATED";
6
- size?: "default" | "sm" | "lg" | "icon";
8
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "xs";
7
9
  tooltip?: string;
8
10
  bgColor?: string;
9
11
  textColor?: string;
@@ -16,14 +18,20 @@ type __VLS_Props = {
16
18
  visible?: boolean;
17
19
  skeleton?: boolean;
18
20
  };
19
- declare var __VLS_34: {};
21
+ declare var __VLS_18: {}, __VLS_28: {}, __VLS_38: {}, __VLS_48: {};
20
22
  type __VLS_Slots = {} & {
21
- default?: (props: typeof __VLS_34) => any;
23
+ default?: (props: typeof __VLS_18) => any;
24
+ } & {
25
+ badge?: (props: typeof __VLS_28) => any;
26
+ } & {
27
+ default?: (props: typeof __VLS_38) => any;
28
+ } & {
29
+ badge?: (props: typeof __VLS_48) => any;
22
30
  };
23
31
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
32
  variant: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "tonal" | "elevated" | "DEFAULT" | "SECONDARY" | "DESTRUCTIVE" | "OUTLINE" | "GHOST" | "LINK" | "TONAL" | "ELEVATED";
25
33
  text: string;
26
- size: "default" | "sm" | "lg" | "icon";
34
+ size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "xs";
27
35
  type: "BUTTON" | "SUBMIT" | "RESET" | "button" | "submit" | "reset";
28
36
  disabled: boolean;
29
37
  loading: boolean;
@@ -32,7 +40,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
32
40
  bgColor: string;
33
41
  borderColor: string;
34
42
  borderStyle: "solid" | "dashed" | "dotted" | "double" | "none";
43
+ badge: number | string | null;
35
44
  skeleton: boolean;
45
+ badgeClass: string;
36
46
  tooltip: string;
37
47
  textColor: string;
38
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -2,10 +2,16 @@ export interface Props {
2
2
  level?: 1 | 2 | 3;
3
3
  title?: string;
4
4
  subtitle?: string;
5
+ description?: string;
6
+ icon?: any;
7
+ iconClass?: string;
5
8
  shadow?: boolean;
6
9
  border?: boolean;
7
10
  padding?: string;
8
11
  headerTheme?: 'neutral' | 'primary';
12
+ collapsible?: boolean;
13
+ defaultCollapsed?: boolean;
14
+ headerClass?: string;
9
15
  }
10
16
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
11
17
  padding: string;
@@ -13,8 +19,15 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
13
19
  shadow: boolean;
14
20
  level: 1 | 2 | 3;
15
21
  headerTheme: "neutral" | "primary";
22
+ collapsible: boolean;
23
+ defaultCollapsed: boolean;
24
+ headerClass: string;
16
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
26
+ icon?: (props: {}) => any;
27
+ } & {
17
28
  header?: (props: {}) => any;
29
+ } & {
30
+ 'header-append'?: (props: {}) => any;
18
31
  } & {
19
32
  actions?: (props: {}) => any;
20
33
  } & {
@@ -114,9 +114,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
114
114
  }>, {
115
115
  locale: "id" | "en" | "kr" | "ko" | string;
116
116
  dummyMode: boolean;
117
+ collapsible: boolean;
117
118
  columns: 1 | 2 | 3 | 4;
118
119
  cardBorder: boolean;
119
- collapsible: boolean;
120
120
  showIndex: boolean;
121
121
  showPagination: boolean;
122
122
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
@@ -1,7 +1,7 @@
1
- type __VLS_Props = {
1
+ export interface DialogProps {
2
2
  modelValue: boolean;
3
3
  title?: string;
4
- icon?: string;
4
+ icon?: string | any;
5
5
  maxWidth?: string | number;
6
6
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
7
7
  persistent?: boolean;
@@ -10,33 +10,65 @@ type __VLS_Props = {
10
10
  contentStyle?: Record<string, any> | string;
11
11
  iconClass?: string;
12
12
  showClose?: boolean;
13
+ showEsc?: boolean;
14
+ type?: "default" | "info" | "warning" | "danger" | "success" | "primary";
13
15
  headerTheme?: "neutral" | "primary" | "success" | "warning" | "danger" | "purple";
14
- };
15
- declare var __VLS_36: {}, __VLS_46: {}, __VLS_48: {};
16
+ notice?: string;
17
+ noticeType?: "info" | "warning" | "danger" | "success";
18
+ noticeIcon?: string | any;
19
+ confirmText?: string;
20
+ cancelText?: string;
21
+ showCancel?: boolean;
22
+ showActions?: boolean;
23
+ confirmLoading?: boolean;
24
+ confirmDisabled?: boolean;
25
+ }
26
+ declare var __VLS_20: {}, __VLS_38: {}, __VLS_48: {}, __VLS_54: {}, __VLS_56: {}, __VLS_58: {};
16
27
  type __VLS_Slots = {} & {
17
- 'header-append'?: (props: typeof __VLS_36) => any;
28
+ header?: (props: typeof __VLS_20) => any;
29
+ } & {
30
+ 'header-append'?: (props: typeof __VLS_38) => any;
31
+ } & {
32
+ notice?: (props: typeof __VLS_48) => any;
18
33
  } & {
19
- default?: (props: typeof __VLS_46) => any;
34
+ default?: (props: typeof __VLS_54) => any;
20
35
  } & {
21
- actions?: (props: typeof __VLS_48) => any;
36
+ 'footer-left'?: (props: typeof __VLS_56) => any;
37
+ } & {
38
+ actions?: (props: typeof __VLS_58) => any;
22
39
  };
23
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
40
+ declare const __VLS_component: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
24
41
  "update:modelValue": (val: boolean) => any;
25
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
42
+ cancel: () => any;
43
+ confirm: () => any;
44
+ }, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
26
45
  "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
46
+ onCancel?: (() => any) | undefined;
47
+ onConfirm?: (() => any) | undefined;
27
48
  }>, {
28
49
  title: string;
29
50
  size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
30
- icon: string;
51
+ type: "default" | "info" | "warning" | "danger" | "success" | "primary";
52
+ icon: string | any;
31
53
  modelValue: boolean;
32
54
  showClose: boolean;
33
55
  description: string;
34
- headerTheme: "neutral" | "primary" | "success" | "warning" | "danger" | "purple";
56
+ confirmText: string;
57
+ showCancel: boolean;
58
+ cancelText: string;
35
59
  iconClass: string;
60
+ headerTheme: "neutral" | "primary" | "success" | "warning" | "danger" | "purple";
36
61
  maxWidth: string | number;
37
62
  persistent: boolean;
38
63
  contentClass: string;
39
64
  contentStyle: Record<string, any> | string;
65
+ showEsc: boolean;
66
+ notice: string;
67
+ noticeType: "info" | "warning" | "danger" | "success";
68
+ noticeIcon: string | any;
69
+ showActions: boolean;
70
+ confirmLoading: boolean;
71
+ confirmDisabled: boolean;
40
72
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
73
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
42
74
  export default _default;
@@ -6,11 +6,47 @@ declare var __VLS_1: {
6
6
  item: any;
7
7
  index: number;
8
8
  expanded: boolean;
9
+ }, __VLS_16: {
10
+ item: any;
11
+ index: number;
12
+ expanded: boolean;
13
+ }, __VLS_22: {
14
+ item: any;
15
+ index: number;
16
+ expanded: boolean;
17
+ }, __VLS_31: {
18
+ item: any;
19
+ index: number;
20
+ expanded: boolean;
21
+ }, __VLS_44: {
22
+ item: any;
23
+ index: number;
24
+ expanded: boolean;
25
+ }, __VLS_53: {
26
+ item: any;
27
+ index: number;
28
+ expanded: boolean;
29
+ }, __VLS_59: {
30
+ item: any;
31
+ index: number;
32
+ expanded: boolean;
9
33
  };
10
34
  type __VLS_Slots = {} & {
11
35
  header?: (props: typeof __VLS_1) => any;
12
36
  } & {
13
37
  default?: (props: typeof __VLS_7) => any;
38
+ } & {
39
+ header?: (props: typeof __VLS_16) => any;
40
+ } & {
41
+ default?: (props: typeof __VLS_22) => any;
42
+ } & {
43
+ default?: (props: typeof __VLS_31) => any;
44
+ } & {
45
+ default?: (props: typeof __VLS_44) => any;
46
+ } & {
47
+ header?: (props: typeof __VLS_53) => any;
48
+ } & {
49
+ default?: (props: typeof __VLS_59) => any;
14
50
  };
15
51
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
52
  modelValue: {
@@ -83,6 +119,22 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
83
119
  type: ObjectConstructor;
84
120
  default: () => null;
85
121
  };
122
+ variant: {
123
+ type: StringConstructor;
124
+ default: string;
125
+ };
126
+ autoScroll: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ hideBackButton: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ isWizard: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ };
86
138
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
87
139
  "update:modelValue": (...args: any[]) => void;
88
140
  loaded: (...args: any[]) => void;
@@ -157,10 +209,27 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
157
209
  type: ObjectConstructor;
158
210
  default: () => null;
159
211
  };
212
+ variant: {
213
+ type: StringConstructor;
214
+ default: string;
215
+ };
216
+ autoScroll: {
217
+ type: BooleanConstructor;
218
+ default: boolean;
219
+ };
220
+ hideBackButton: {
221
+ type: BooleanConstructor;
222
+ default: boolean;
223
+ };
224
+ isWizard: {
225
+ type: BooleanConstructor;
226
+ default: boolean;
227
+ };
160
228
  }>> & Readonly<{
161
229
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
162
230
  onLoaded?: ((...args: any[]) => any) | undefined;
163
231
  }>, {
232
+ variant: string;
164
233
  label: string;
165
234
  disabled: boolean;
166
235
  modelValue: string | number | unknown[];
@@ -180,6 +249,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
180
249
  renderSubForm: boolean;
181
250
  subLayoutCodeKey: string;
182
251
  layoutMapping: string | Record<string, any>;
252
+ autoScroll: boolean;
253
+ hideBackButton: boolean;
254
+ isWizard: boolean;
183
255
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
184
256
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
185
257
  export default _default;
@@ -37,12 +37,12 @@ type __VLS_Props = DCodeBaseProps<string | number | object | any[] | null | unde
37
37
  excludeValues?: any[];
38
38
  };
39
39
  type ApiOptions = Record<string, any>;
40
- declare var __VLS_13: {
40
+ declare var __VLS_17: {
41
41
  item: any;
42
42
  index: number;
43
43
  };
44
44
  type __VLS_Slots = {} & {
45
- item?: (props: typeof __VLS_13) => any;
45
+ item?: (props: typeof __VLS_17) => any;
46
46
  };
47
47
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
48
  search: (...args: any[]) => void;
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
38
38
  error: string | null;
39
39
  visible: boolean;
40
40
  rounded: Rounded;
41
- skeleton: boolean;
42
41
  valueFormat: ValueFormat;
42
+ skeleton: boolean;
43
43
  zoom: number;
44
44
  defaultLat: number;
45
45
  defaultLng: number;
@@ -1,21 +1,27 @@
1
1
  interface Props {
2
+ selectedCount?: number;
3
+ selectedRows?: any[];
2
4
  totalItems: number;
3
5
  currentPage: number;
4
6
  perPage: number;
5
7
  perPageOptions?: number[];
6
8
  showPerPage?: boolean;
7
9
  showInfo?: boolean;
8
- showEdges?: boolean;
9
10
  loading?: boolean;
10
11
  }
11
12
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
13
  "update:page": (page: number) => any;
14
+ "update:currentPage": (page: number) => any;
13
15
  "update:perPage": (perPage: number) => any;
16
+ "clear-selection": () => any;
17
+ "remove-selection": (id: any) => any;
14
18
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
15
19
  "onUpdate:page"?: ((page: number) => any) | undefined;
20
+ "onUpdate:currentPage"?: ((page: number) => any) | undefined;
16
21
  "onUpdate:perPage"?: ((perPage: number) => any) | undefined;
22
+ "onClear-selection"?: (() => any) | undefined;
23
+ "onRemove-selection"?: ((id: any) => any) | undefined;
17
24
  }>, {
18
- showEdges: boolean;
19
25
  loading: boolean;
20
26
  perPageOptions: number[];
21
27
  showPerPage: boolean;
@@ -2,13 +2,18 @@ import { type Component } from "vue";
2
2
  import type { DCodeBaseProps } from "../../types/base-props";
3
3
  import { type FieldSize, type Rounded } from "../../utils/helpers";
4
4
  type TextCaseMode = "none" | "uppercase" | "lowercase" | "titlecase" | "sentencecase";
5
- type ValueType = "free" | "number" | "letter" | "letternumber" | "email" | "password" | "FREE" | "NUMBER" | "LETTER" | "LETTERNUMBER" | "EMAIL" | "PASSWORD";
5
+ type ValueType = "free" | "number" | "letter" | "letternumber" | "email" | "password" | "number_formatted" | "FREE" | "NUMBER" | "LETTER" | "LETTERNUMBER" | "EMAIL" | "PASSWORD" | "NUMBER_FORMATTED";
6
+ type ValueFormat = "DOT" | "COMMA" | "DOT_COMMA" | "COMMA_DOT" | "dot" | "comma" | "dot_comma" | "comma_dot" | string;
6
7
  type __VLS_Props = DCodeBaseProps<string | number | null | undefined> & {
7
8
  prependInner?: string;
8
9
  hideClearWhenEmpty?: boolean;
9
10
  textCase?: TextCaseMode;
10
11
  applyTextCaseToValue?: boolean;
11
12
  valueType?: ValueType;
13
+ valueFormat?: ValueFormat;
14
+ numberFormat?: ValueFormat;
15
+ allowDecimal?: boolean;
16
+ decimalPlaces?: number;
12
17
  allowSpaces?: boolean;
13
18
  allowChars?: string | string[];
14
19
  pattern?: RegExp;
@@ -32,11 +37,11 @@ type __VLS_Props = DCodeBaseProps<string | number | null | undefined> & {
32
37
  innerButtonTooltip?: string;
33
38
  hideInnerButtonOnInput?: boolean;
34
39
  };
35
- declare var __VLS_1: {}, __VLS_7: {};
40
+ declare var __VLS_1: {}, __VLS_3: {};
36
41
  type __VLS_Slots = {} & {
37
42
  'prepend-inner'?: (props: typeof __VLS_1) => any;
38
43
  } & {
39
- prefix?: (props: typeof __VLS_7) => any;
44
+ prefix?: (props: typeof __VLS_3) => any;
40
45
  };
41
46
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
42
47
  clear: () => any;
@@ -55,6 +60,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
55
60
  visible: boolean;
56
61
  rounded: Rounded;
57
62
  valueType: ValueType;
63
+ valueFormat: ValueFormat;
64
+ allowDecimal: boolean;
58
65
  textCase: TextCaseMode;
59
66
  skeleton: boolean;
60
67
  labelPosition: "top" | "bottom" | "left" | "right";
@@ -43,18 +43,40 @@ type __VLS_Props = {
43
43
  apiOptions?: ApiOptions | (() => ApiOptions | undefined);
44
44
  isVertical?: boolean;
45
45
  isWizard?: boolean;
46
+ title?: string;
46
47
  typeWizard?: 'number' | 'icon' | 'none' | null;
48
+ centerStepper?: boolean | null;
49
+ stepLabel?: string;
47
50
  showNavigation?: boolean;
48
51
  submitText?: string;
49
52
  loading?: boolean;
53
+ stickyNavigation?: boolean;
50
54
  beforeNext?: (tab: WizardTab) => Promise<boolean>;
51
55
  beforePrev?: (tab: WizardTab) => Promise<boolean>;
52
56
  };
53
57
  declare function reload(i?: number): Promise<void>;
54
- declare var __VLS_21: {
58
+ declare var __VLS_13: {
55
59
  tab: WizardTab;
56
60
  tabIndex: number;
57
- }, __VLS_28: `tab-${string}`, __VLS_29: {
61
+ }, __VLS_20: `tab-${string}`, __VLS_21: {
62
+ tab: WizardTab;
63
+ tabIndex: number;
64
+ data: any;
65
+ loaded: boolean;
66
+ reload: typeof reload;
67
+ }, __VLS_51: {
68
+ tab: WizardTab;
69
+ tabIndex: number;
70
+ }, __VLS_58: `tab-${string}`, __VLS_59: {
71
+ tab: WizardTab;
72
+ tabIndex: number;
73
+ data: any;
74
+ loaded: boolean;
75
+ reload: typeof reload;
76
+ }, __VLS_77: {
77
+ tab: WizardTab;
78
+ tabIndex: number;
79
+ }, __VLS_84: `tab-${string}`, __VLS_85: {
58
80
  tab: WizardTab;
59
81
  tabIndex: number;
60
82
  data: any;
@@ -62,9 +84,17 @@ declare var __VLS_21: {
62
84
  reload: typeof reload;
63
85
  };
64
86
  type __VLS_Slots = {} & {
65
- [K in NonNullable<typeof __VLS_28>]?: (props: typeof __VLS_29) => any;
87
+ [K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
88
+ } & {
89
+ [K in NonNullable<typeof __VLS_58>]?: (props: typeof __VLS_59) => any;
90
+ } & {
91
+ [K in NonNullable<typeof __VLS_84>]?: (props: typeof __VLS_85) => any;
92
+ } & {
93
+ loading?: (props: typeof __VLS_13) => any;
94
+ } & {
95
+ loading?: (props: typeof __VLS_51) => any;
66
96
  } & {
67
- loading?: (props: typeof __VLS_21) => any;
97
+ loading?: (props: typeof __VLS_77) => any;
68
98
  };
69
99
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
70
100
  change: (v: TabCtx) => any;
@@ -95,7 +125,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
95
125
  cache: boolean;
96
126
  isVertical: boolean;
97
127
  typeWizard: "number" | "icon" | "none" | null;
128
+ centerStepper: boolean | null;
98
129
  showNavigation: boolean;
130
+ stickyNavigation: boolean;
99
131
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
100
132
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
101
133
  export default _default;
@@ -1,5 +1,13 @@
1
1
  import type { SortConfig, TableColumn } from "../../../types";
2
2
  interface Props {
3
+ title?: string;
4
+ description?: string;
5
+ icon?: any;
6
+ collapsible?: boolean;
7
+ defaultCollapsed?: boolean;
8
+ freezeActionColumn?: boolean;
9
+ freezeActions?: boolean;
10
+ stickyActions?: boolean;
3
11
  columns?: TableColumn[];
4
12
  data?: any[];
5
13
  perPage?: number;
@@ -43,30 +51,30 @@ interface Props {
43
51
  selection?: any[];
44
52
  }
45
53
  declare function clearSelection(): void;
46
- declare var __VLS_19: {
54
+ declare var __VLS_27: {
47
55
  filters: Record<string, any>;
48
- }, __VLS_74: {}, __VLS_81: `cell-${string}`, __VLS_82: {
56
+ }, __VLS_78: {}, __VLS_97: `cell-${string}`, __VLS_98: {
49
57
  row: any;
50
58
  value: any;
51
- }, __VLS_94: {
59
+ }, __VLS_110: {
52
60
  row: any;
53
61
  buttons: any[];
54
62
  getButtonColor: (button: any, row: any) => string;
55
63
  getIconComponent: (iconName: string) => any;
56
- }, __VLS_111: {
64
+ }, __VLS_127: {
57
65
  row: any;
58
66
  index: number;
59
67
  };
60
68
  type __VLS_Slots = {} & {
61
- [K in NonNullable<typeof __VLS_81>]?: (props: typeof __VLS_82) => any;
69
+ [K in NonNullable<typeof __VLS_97>]?: (props: typeof __VLS_98) => any;
62
70
  } & {
63
- 'filter-form'?: (props: typeof __VLS_19) => any;
71
+ 'filter-form'?: (props: typeof __VLS_27) => any;
64
72
  } & {
65
- 'header-actions'?: (props: typeof __VLS_74) => any;
73
+ 'header-actions'?: (props: typeof __VLS_78) => any;
66
74
  } & {
67
- actions?: (props: typeof __VLS_94) => any;
75
+ actions?: (props: typeof __VLS_110) => any;
68
76
  } & {
69
- 'expanded-row'?: (props: typeof __VLS_111) => any;
77
+ 'expanded-row'?: (props: typeof __VLS_127) => any;
70
78
  };
71
79
  declare const __VLS_component: import("vue").DefineComponent<Props, {
72
80
  fetchData: (silent?: boolean, force?: boolean) => Promise<void>;
@@ -151,6 +159,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
151
159
  dummyMode: boolean;
152
160
  apiAction: string;
153
161
  apiParams: Record<string, any>;
162
+ collapsible: boolean;
163
+ defaultCollapsed: boolean;
154
164
  columns: TableColumn[];
155
165
  showPagination: boolean;
156
166
  baseUrl: string;
@@ -158,6 +168,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
158
168
  socketParams: Record<string, any>;
159
169
  selectedTokenCore: any;
160
170
  hasActions: boolean;
171
+ freezeActionColumn: boolean;
161
172
  dynamicColumns: boolean;
162
173
  enableQuickSearch: boolean;
163
174
  ignorePermissions: boolean;
@@ -36,6 +36,7 @@ declare const _default: import("vue").DefineComponent<DynamicFormProps, {
36
36
  apiParams: Record<string, any>;
37
37
  baseUrl: string;
38
38
  selectedTokenCore: any;
39
+ hideBackButton: boolean;
39
40
  isWizard: boolean;
40
41
  permissionBase: string;
41
42
  userPermissions: any;
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  sIdx: number;
4
4
  dummyMode?: boolean;
5
5
  isWizard?: boolean;
6
+ hideBackButton?: boolean;
6
7
  };
7
8
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
9
  export default _default;
@@ -2,14 +2,14 @@ interface Props {
2
2
  title?: string;
3
3
  description?: string;
4
4
  }
5
- declare var __VLS_1: {}, __VLS_25: {};
5
+ declare var __VLS_1: {}, __VLS_29: {};
6
6
  type __VLS_Slots = {} & {
7
7
  trigger?: (props: typeof __VLS_1) => any;
8
8
  } & {
9
- default?: (props: typeof __VLS_25) => any;
9
+ default?: (props: typeof __VLS_29) => any;
10
10
  };
11
11
  declare const __VLS_component: import("vue").DefineComponent<Props, {
12
- open: () => void;
12
+ open: () => Promise<void>;
13
13
  close: () => void;
14
14
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
15
  title: string;
@@ -27,4 +27,20 @@ export declare function useFormLogic({ formData, errors, fieldMap, rawItemsCache
27
27
  isSubmitDisabled: import("vue").ComputedRef<any>;
28
28
  resolveSectionGridClass: (layout: any) => string;
29
29
  resolveFieldColumnClass: (field: any, parentLayout?: string) => string;
30
+ resolveSectionSpan12: (val: any) => number;
31
+ resolveSectionColumnClass: (sectionOrSpan: any) => string;
32
+ groupSectionsIntoGrid: (sections: any[], checkVisible?: (sec: any) => boolean) => {
33
+ usedCols: number;
34
+ columns: Array<{
35
+ colSpan: number;
36
+ colClass: string;
37
+ usedRows: number;
38
+ items: Array<{
39
+ section: any;
40
+ sIdx: number;
41
+ colSpan: number;
42
+ rowSpan: number;
43
+ }>;
44
+ }>;
45
+ }[];
30
46
  };
@@ -14,6 +14,7 @@ export interface DynamicFormProps {
14
14
  checkPermission?: (permission: string) => boolean;
15
15
  dynamicForm?: any;
16
16
  hideActions?: boolean;
17
+ hideBackButton?: boolean;
17
18
  apiParams?: Record<string, any>;
18
19
  isWizard?: boolean;
19
20
  }
@@ -56,6 +57,7 @@ export interface FormState {
56
57
  redirectUrl?: string;
57
58
  };
58
59
  activeTableAction?: Ref<any>;
60
+ activeTableRow?: Ref<any>;
59
61
  activeTableKey?: Ref<string>;
60
62
  }
61
63
  export interface FieldMapEntry {