@ramathibodi/nuxt-commons 4.0.26 → 4.0.28

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 (123) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/runtime/components/Calendar.d.vue.ts +12 -10
  3. package/dist/runtime/components/Calendar.vue.d.ts +12 -10
  4. package/dist/runtime/components/ExportCSV.d.vue.ts +3 -3
  5. package/dist/runtime/components/ExportCSV.vue.d.ts +3 -3
  6. package/dist/runtime/components/FileBtn.d.vue.ts +3 -3
  7. package/dist/runtime/components/FileBtn.vue.d.ts +3 -3
  8. package/dist/runtime/components/ImportCSV.d.vue.ts +3 -3
  9. package/dist/runtime/components/ImportCSV.vue.d.ts +3 -3
  10. package/dist/runtime/components/SplitterPanel.d.vue.ts +7 -5
  11. package/dist/runtime/components/SplitterPanel.vue.d.ts +7 -5
  12. package/dist/runtime/components/TabsGroup.d.vue.ts +7 -5
  13. package/dist/runtime/components/TabsGroup.vue.d.ts +7 -5
  14. package/dist/runtime/components/device/IdCardButton.d.vue.ts +3 -3
  15. package/dist/runtime/components/device/IdCardButton.vue.d.ts +3 -3
  16. package/dist/runtime/components/device/Scanner.d.vue.ts +31 -29
  17. package/dist/runtime/components/device/Scanner.vue.d.ts +31 -29
  18. package/dist/runtime/components/dialog/Confirm.d.vue.ts +7 -5
  19. package/dist/runtime/components/dialog/Confirm.vue.d.ts +7 -5
  20. package/dist/runtime/components/dialog/ImportProgress.d.vue.ts +5 -3
  21. package/dist/runtime/components/dialog/ImportProgress.vue.d.ts +5 -3
  22. package/dist/runtime/components/dialog/Index.d.vue.ts +5 -3
  23. package/dist/runtime/components/dialog/Index.vue.d.ts +5 -3
  24. package/dist/runtime/components/dialog/Loading.d.vue.ts +5 -3
  25. package/dist/runtime/components/dialog/Loading.vue.d.ts +5 -3
  26. package/dist/runtime/components/dialog/default/Confirm.d.vue.ts +7 -5
  27. package/dist/runtime/components/dialog/default/Confirm.vue.d.ts +7 -5
  28. package/dist/runtime/components/dialog/default/Loading.d.vue.ts +7 -5
  29. package/dist/runtime/components/dialog/default/Loading.vue.d.ts +7 -5
  30. package/dist/runtime/components/dialog/default/Printing.d.vue.ts +5 -3
  31. package/dist/runtime/components/dialog/default/Printing.vue.d.ts +5 -3
  32. package/dist/runtime/components/document/TemplateBuilderLiveView.d.vue.ts +88 -73
  33. package/dist/runtime/components/document/TemplateBuilderLiveView.vue +175 -68
  34. package/dist/runtime/components/document/TemplateBuilderLiveView.vue.d.ts +88 -73
  35. package/dist/runtime/components/document/TemplateInputAttributesHelper.d.vue.ts +14 -0
  36. package/dist/runtime/components/document/TemplateInputAttributesHelper.vue +154 -0
  37. package/dist/runtime/components/document/TemplateInputAttributesHelper.vue.d.ts +14 -0
  38. package/dist/runtime/components/document/TemplateItemForm.vue +46 -1
  39. package/dist/runtime/components/document/TemplatePalette.d.vue.ts +8 -6
  40. package/dist/runtime/components/document/TemplatePalette.vue +16 -0
  41. package/dist/runtime/components/document/TemplatePalette.vue.d.ts +8 -6
  42. package/dist/runtime/components/form/ActionPad.d.vue.ts +34 -32
  43. package/dist/runtime/components/form/ActionPad.vue.d.ts +34 -32
  44. package/dist/runtime/components/form/Date.d.vue.ts +20 -18
  45. package/dist/runtime/components/form/Date.vue.d.ts +20 -18
  46. package/dist/runtime/components/form/DateTime.d.vue.ts +1 -1
  47. package/dist/runtime/components/form/DateTime.vue.d.ts +1 -1
  48. package/dist/runtime/components/form/Dialog.d.vue.ts +24 -22
  49. package/dist/runtime/components/form/Dialog.vue.d.ts +24 -22
  50. package/dist/runtime/components/form/EditPad.d.vue.ts +34 -32
  51. package/dist/runtime/components/form/EditPad.vue.d.ts +34 -32
  52. package/dist/runtime/components/form/File.d.vue.ts +12 -10
  53. package/dist/runtime/components/form/File.vue.d.ts +12 -10
  54. package/dist/runtime/components/form/Iterator.d.vue.ts +121 -134
  55. package/dist/runtime/components/form/Iterator.vue.d.ts +121 -134
  56. package/dist/runtime/components/form/Login.d.vue.ts +5 -3
  57. package/dist/runtime/components/form/Login.vue.d.ts +5 -3
  58. package/dist/runtime/components/form/Pad.d.vue.ts +651 -649
  59. package/dist/runtime/components/form/Pad.vue.d.ts +651 -649
  60. package/dist/runtime/components/form/Table.d.vue.ts +69 -82
  61. package/dist/runtime/components/form/Table.vue.d.ts +69 -82
  62. package/dist/runtime/components/form/TableData.d.vue.ts +18 -24
  63. package/dist/runtime/components/form/TableData.vue.d.ts +18 -24
  64. package/dist/runtime/components/form/images/Capture.d.vue.ts +15 -13
  65. package/dist/runtime/components/form/images/Capture.vue.d.ts +15 -13
  66. package/dist/runtime/components/label/Date.d.vue.ts +1 -1
  67. package/dist/runtime/components/label/Date.vue.d.ts +1 -1
  68. package/dist/runtime/components/label/Field.d.vue.ts +16 -14
  69. package/dist/runtime/components/label/Field.vue.d.ts +16 -14
  70. package/dist/runtime/components/label/FormatMoney.d.vue.ts +1 -1
  71. package/dist/runtime/components/label/FormatMoney.vue.d.ts +1 -1
  72. package/dist/runtime/components/master/Autocomplete.d.vue.ts +3 -5
  73. package/dist/runtime/components/master/Autocomplete.vue.d.ts +3 -5
  74. package/dist/runtime/components/master/Combobox.d.vue.ts +3 -5
  75. package/dist/runtime/components/master/Combobox.vue.d.ts +3 -5
  76. package/dist/runtime/components/master/RadioGroup.d.vue.ts +3 -3
  77. package/dist/runtime/components/master/RadioGroup.vue.d.ts +3 -3
  78. package/dist/runtime/components/master/Select.d.vue.ts +3 -5
  79. package/dist/runtime/components/master/Select.vue.d.ts +3 -5
  80. package/dist/runtime/components/master/label.d.vue.ts +7 -3
  81. package/dist/runtime/components/master/label.vue +33 -15
  82. package/dist/runtime/components/master/label.vue.d.ts +7 -3
  83. package/dist/runtime/components/model/Autocomplete.d.vue.ts +3 -3
  84. package/dist/runtime/components/model/Autocomplete.vue.d.ts +3 -3
  85. package/dist/runtime/components/model/Combobox.d.vue.ts +3 -3
  86. package/dist/runtime/components/model/Combobox.vue.d.ts +3 -3
  87. package/dist/runtime/components/model/Pad.d.vue.ts +17 -15
  88. package/dist/runtime/components/model/Pad.vue.d.ts +17 -15
  89. package/dist/runtime/components/model/Select.d.vue.ts +3 -3
  90. package/dist/runtime/components/model/Select.vue.d.ts +3 -3
  91. package/dist/runtime/components/model/Table.d.vue.ts +102 -166
  92. package/dist/runtime/components/model/Table.vue.d.ts +102 -166
  93. package/dist/runtime/components/model/iterator.d.vue.ts +188 -240
  94. package/dist/runtime/components/model/iterator.vue.d.ts +188 -240
  95. package/dist/runtime/components/model/label.d.vue.ts +11 -5
  96. package/dist/runtime/components/model/label.vue +54 -4
  97. package/dist/runtime/components/model/label.vue.d.ts +11 -5
  98. package/dist/runtime/composables/batchLookup.d.ts +39 -0
  99. package/dist/runtime/composables/batchLookup.js +144 -0
  100. package/dist/runtime/composables/document/inputAttributeCatalog.generated.json +95 -0
  101. package/dist/runtime/composables/document/inputAttributes.d.ts +46 -0
  102. package/dist/runtime/composables/document/inputAttributes.js +196 -0
  103. package/dist/runtime/composables/document/template.d.ts +9 -1
  104. package/dist/runtime/composables/document/template.js +16 -3
  105. package/dist/runtime/composables/document/templateInputTypes.d.ts +36 -0
  106. package/dist/runtime/composables/document/templateInputTypes.js +86 -17
  107. package/dist/runtime/composables/document/templateMasterLabel.d.ts +32 -0
  108. package/dist/runtime/composables/document/templateMasterLabel.js +30 -0
  109. package/dist/runtime/composables/document/validateTemplate.js +11 -1
  110. package/dist/runtime/composables/masterItemBatch.d.ts +7 -0
  111. package/dist/runtime/composables/masterItemBatch.js +12 -0
  112. package/dist/runtime/composables/modelBatch.d.ts +61 -0
  113. package/dist/runtime/composables/modelBatch.js +192 -0
  114. package/dist/runtime/labs/form/EditMobile.d.vue.ts +1 -1
  115. package/dist/runtime/labs/form/EditMobile.vue.d.ts +1 -1
  116. package/dist/runtime/labs/form/TextFieldMask.d.vue.ts +3 -3
  117. package/dist/runtime/labs/form/TextFieldMask.vue.d.ts +3 -3
  118. package/dist/runtime/plugins/clientConfig.d.ts +1 -1
  119. package/dist/runtime/plugins/default.d.ts +1 -1
  120. package/dist/runtime/plugins/dialogManager.d.ts +1 -1
  121. package/dist/runtime/plugins/permission.d.ts +1 -1
  122. package/package.json +2 -2
  123. package/scripts/build-input-attribute-catalog.mjs +133 -0
@@ -11,40 +11,42 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof FormPadComponent['
11
11
  declare function save(): void;
12
12
  declare function cancel(): void;
13
13
  declare function setOriginalData(originalData?: object): void;
14
- declare var __VLS_13: {
15
- operation: {
16
- isDataChange: boolean;
17
- isCreating: boolean;
18
- isSaving: boolean;
19
- save: typeof save;
20
- cancel: typeof cancel;
21
- };
22
- }, __VLS_21: {
23
- operation: {
24
- isDataChange: boolean;
25
- isCreating: boolean;
26
- isSaving: boolean;
27
- save: typeof save;
28
- cancel: typeof cancel;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {
16
+ titleToolbar?: (props: {
17
+ operation: {
18
+ isDataChange: boolean;
19
+ isCreating: boolean;
20
+ isSaving: boolean;
21
+ save: typeof save;
22
+ cancel: typeof cancel;
23
+ };
24
+ }) => any;
25
+ } & {
26
+ title?: (props: {
27
+ operation: {
28
+ isDataChange: boolean;
29
+ isCreating: boolean;
30
+ isSaving: boolean;
31
+ save: typeof save;
32
+ cancel: typeof cancel;
33
+ };
34
+ }) => any;
35
+ } & {
36
+ default?: (props: any) => any;
37
+ } & {
38
+ action?: (props: {
39
+ operation: {
40
+ isDataChange: boolean;
41
+ isCreating: boolean;
42
+ isSaving: boolean;
43
+ save: typeof save;
44
+ cancel: typeof cancel;
45
+ };
46
+ }) => any;
29
47
  };
30
- }, __VLS_36: any, __VLS_44: {
31
- operation: {
32
- isDataChange: boolean;
33
- isCreating: boolean;
34
- isSaving: boolean;
35
- save: typeof save;
36
- cancel: typeof cancel;
37
- };
38
- };
39
- type __VLS_Slots = {} & {
40
- titleToolbar?: (props: typeof __VLS_13) => any;
41
- } & {
42
- title?: (props: typeof __VLS_21) => any;
43
- } & {
44
- default?: (props: typeof __VLS_36) => any;
45
- } & {
46
- action?: (props: typeof __VLS_44) => any;
47
48
  };
49
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
48
50
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
49
51
  saveCaption: string;
50
52
  cancelCaption: string;
@@ -19,25 +19,27 @@ declare function resetDatePicker(): void;
19
19
  declare function toggleMenuOpen(trigger: string): void;
20
20
  declare function validate(): void;
21
21
  declare function resetValidation(): void;
22
- declare var __VLS_22: {
23
- toggleMenuOpen: typeof toggleMenuOpen;
24
- activatorProps: Record<string, any>;
25
- id: import("vue").ComputedRef<string>;
26
- messagesId: import("vue").ComputedRef<string | undefined>;
27
- isDirty: import("vue").ComputedRef<boolean>;
28
- isDisabled: import("vue").ComputedRef<boolean>;
29
- isReadonly: import("vue").ComputedRef<boolean>;
30
- isPristine: import("vue").Ref<boolean>;
31
- isValid: import("vue").ComputedRef<boolean | null>;
32
- isValidating: import("vue").Ref<boolean>;
33
- hasDetails: import("vue").Ref<boolean>;
34
- reset: () => void;
35
- resetValidation: () => void;
36
- validate: () => void;
37
- };
38
- type __VLS_Slots = {} & {
39
- append?: (props: typeof __VLS_22) => any;
22
+ declare const __VLS_template: () => {
23
+ __VLS_Slots: {
24
+ append?: (props: {
25
+ toggleMenuOpen: typeof toggleMenuOpen;
26
+ activatorProps: Record<string, any>;
27
+ id: import("vue").ComputedRef<string>;
28
+ messagesId: import("vue").ComputedRef<string | undefined>;
29
+ isDirty: import("vue").ComputedRef<boolean>;
30
+ isDisabled: import("vue").ComputedRef<boolean>;
31
+ isReadonly: import("vue").ComputedRef<boolean>;
32
+ isPristine: import("vue").Ref<boolean>;
33
+ isValid: import("vue").ComputedRef<boolean | null>;
34
+ isValidating: import("vue").Ref<boolean>;
35
+ hasDetails: import("vue").Ref<boolean>;
36
+ reset: () => void;
37
+ resetValidation: () => void;
38
+ validate: () => void;
39
+ }) => any;
40
+ };
40
41
  };
42
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
41
43
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
42
44
  locale: string;
43
45
  format: string;
@@ -19,25 +19,27 @@ declare function resetDatePicker(): void;
19
19
  declare function toggleMenuOpen(trigger: string): void;
20
20
  declare function validate(): void;
21
21
  declare function resetValidation(): void;
22
- declare var __VLS_22: {
23
- toggleMenuOpen: typeof toggleMenuOpen;
24
- activatorProps: Record<string, any>;
25
- id: import("vue").ComputedRef<string>;
26
- messagesId: import("vue").ComputedRef<string | undefined>;
27
- isDirty: import("vue").ComputedRef<boolean>;
28
- isDisabled: import("vue").ComputedRef<boolean>;
29
- isReadonly: import("vue").ComputedRef<boolean>;
30
- isPristine: import("vue").Ref<boolean>;
31
- isValid: import("vue").ComputedRef<boolean | null>;
32
- isValidating: import("vue").Ref<boolean>;
33
- hasDetails: import("vue").Ref<boolean>;
34
- reset: () => void;
35
- resetValidation: () => void;
36
- validate: () => void;
37
- };
38
- type __VLS_Slots = {} & {
39
- append?: (props: typeof __VLS_22) => any;
22
+ declare const __VLS_template: () => {
23
+ __VLS_Slots: {
24
+ append?: (props: {
25
+ toggleMenuOpen: typeof toggleMenuOpen;
26
+ activatorProps: Record<string, any>;
27
+ id: import("vue").ComputedRef<string>;
28
+ messagesId: import("vue").ComputedRef<string | undefined>;
29
+ isDirty: import("vue").ComputedRef<boolean>;
30
+ isDisabled: import("vue").ComputedRef<boolean>;
31
+ isReadonly: import("vue").ComputedRef<boolean>;
32
+ isPristine: import("vue").Ref<boolean>;
33
+ isValid: import("vue").ComputedRef<boolean | null>;
34
+ isValidating: import("vue").Ref<boolean>;
35
+ hasDetails: import("vue").Ref<boolean>;
36
+ reset: () => void;
37
+ resetValidation: () => void;
38
+ validate: () => void;
39
+ }) => any;
40
+ };
40
41
  };
42
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
41
43
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
42
44
  locale: string;
43
45
  format: string;
@@ -22,7 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
22
22
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
23
23
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
24
24
  }>, {
25
- locale: "EN" | "TH";
25
+ locale: "TH" | "EN";
26
26
  format: string;
27
27
  readonly: boolean;
28
28
  dense: boolean;
@@ -22,7 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
22
22
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
23
23
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
24
24
  }>, {
25
- locale: "EN" | "TH";
25
+ locale: "TH" | "EN";
26
26
  format: string;
27
27
  readonly: boolean;
28
28
  dense: boolean;
@@ -20,30 +20,32 @@ type __VLS_ModelProps = {
20
20
  modelValue?: boolean;
21
21
  };
22
22
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
23
- declare var __VLS_25: {
24
- operation: {
25
- isDataChange: boolean;
26
- isCreating: boolean;
27
- isSaving: boolean;
28
- save: typeof save;
29
- cancel: typeof cancel;
23
+ declare const __VLS_template: () => {
24
+ __VLS_Slots: {
25
+ title?: (props: {
26
+ operation: {
27
+ isDataChange: boolean;
28
+ isCreating: boolean;
29
+ isSaving: boolean;
30
+ save: typeof save;
31
+ cancel: typeof cancel;
32
+ };
33
+ }) => any;
34
+ } & {
35
+ default?: (props: any) => any;
36
+ } & {
37
+ action?: (props: {
38
+ operation: {
39
+ isDataChange: boolean;
40
+ isCreating: boolean;
41
+ isSaving: boolean;
42
+ save: typeof save;
43
+ cancel: typeof cancel;
44
+ };
45
+ }) => any;
30
46
  };
31
- }, __VLS_58: any, __VLS_66: {
32
- operation: {
33
- isDataChange: boolean;
34
- isCreating: boolean;
35
- isSaving: boolean;
36
- save: typeof save;
37
- cancel: typeof cancel;
38
- };
39
- };
40
- type __VLS_Slots = {} & {
41
- title?: (props: typeof __VLS_25) => any;
42
- } & {
43
- default?: (props: typeof __VLS_58) => any;
44
- } & {
45
- action?: (props: typeof __VLS_66) => any;
46
47
  };
48
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
47
49
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
50
  "update:modelValue": (value: boolean) => any;
49
51
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -20,30 +20,32 @@ type __VLS_ModelProps = {
20
20
  modelValue?: boolean;
21
21
  };
22
22
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
23
- declare var __VLS_25: {
24
- operation: {
25
- isDataChange: boolean;
26
- isCreating: boolean;
27
- isSaving: boolean;
28
- save: typeof save;
29
- cancel: typeof cancel;
23
+ declare const __VLS_template: () => {
24
+ __VLS_Slots: {
25
+ title?: (props: {
26
+ operation: {
27
+ isDataChange: boolean;
28
+ isCreating: boolean;
29
+ isSaving: boolean;
30
+ save: typeof save;
31
+ cancel: typeof cancel;
32
+ };
33
+ }) => any;
34
+ } & {
35
+ default?: (props: any) => any;
36
+ } & {
37
+ action?: (props: {
38
+ operation: {
39
+ isDataChange: boolean;
40
+ isCreating: boolean;
41
+ isSaving: boolean;
42
+ save: typeof save;
43
+ cancel: typeof cancel;
44
+ };
45
+ }) => any;
30
46
  };
31
- }, __VLS_58: any, __VLS_66: {
32
- operation: {
33
- isDataChange: boolean;
34
- isCreating: boolean;
35
- isSaving: boolean;
36
- save: typeof save;
37
- cancel: typeof cancel;
38
- };
39
- };
40
- type __VLS_Slots = {} & {
41
- title?: (props: typeof __VLS_25) => any;
42
- } & {
43
- default?: (props: typeof __VLS_58) => any;
44
- } & {
45
- action?: (props: typeof __VLS_66) => any;
46
47
  };
48
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
47
49
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
50
  "update:modelValue": (value: boolean) => any;
49
51
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -11,40 +11,42 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof FormPadComponent['
11
11
  }
12
12
  declare function save(): void;
13
13
  declare function cancel(): void;
14
- declare var __VLS_13: {
15
- operation: {
16
- isDataChange: boolean;
17
- isCreating: boolean;
18
- isSaving: boolean;
19
- save: typeof save;
20
- cancel: typeof cancel;
21
- };
22
- }, __VLS_21: {
23
- operation: {
24
- isDataChange: boolean;
25
- isCreating: boolean;
26
- isSaving: boolean;
27
- save: typeof save;
28
- cancel: typeof cancel;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {
16
+ titleToolbar?: (props: {
17
+ operation: {
18
+ isDataChange: boolean;
19
+ isCreating: boolean;
20
+ isSaving: boolean;
21
+ save: typeof save;
22
+ cancel: typeof cancel;
23
+ };
24
+ }) => any;
25
+ } & {
26
+ title?: (props: {
27
+ operation: {
28
+ isDataChange: boolean;
29
+ isCreating: boolean;
30
+ isSaving: boolean;
31
+ save: typeof save;
32
+ cancel: typeof cancel;
33
+ };
34
+ }) => any;
35
+ } & {
36
+ default?: (props: any) => any;
37
+ } & {
38
+ action?: (props: {
39
+ operation: {
40
+ isDataChange: boolean;
41
+ isCreating: boolean;
42
+ isSaving: boolean;
43
+ save: typeof save;
44
+ cancel: typeof cancel;
45
+ };
46
+ }) => any;
29
47
  };
30
- }, __VLS_36: any, __VLS_44: {
31
- operation: {
32
- isDataChange: boolean;
33
- isCreating: boolean;
34
- isSaving: boolean;
35
- save: typeof save;
36
- cancel: typeof cancel;
37
- };
38
- };
39
- type __VLS_Slots = {} & {
40
- titleToolbar?: (props: typeof __VLS_13) => any;
41
- } & {
42
- title?: (props: typeof __VLS_21) => any;
43
- } & {
44
- default?: (props: typeof __VLS_36) => any;
45
- } & {
46
- action?: (props: typeof __VLS_44) => any;
47
48
  };
49
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
48
50
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
49
51
  saveCaption: string;
50
52
  cancelCaption: string;
@@ -11,40 +11,42 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof FormPadComponent['
11
11
  }
12
12
  declare function save(): void;
13
13
  declare function cancel(): void;
14
- declare var __VLS_13: {
15
- operation: {
16
- isDataChange: boolean;
17
- isCreating: boolean;
18
- isSaving: boolean;
19
- save: typeof save;
20
- cancel: typeof cancel;
21
- };
22
- }, __VLS_21: {
23
- operation: {
24
- isDataChange: boolean;
25
- isCreating: boolean;
26
- isSaving: boolean;
27
- save: typeof save;
28
- cancel: typeof cancel;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {
16
+ titleToolbar?: (props: {
17
+ operation: {
18
+ isDataChange: boolean;
19
+ isCreating: boolean;
20
+ isSaving: boolean;
21
+ save: typeof save;
22
+ cancel: typeof cancel;
23
+ };
24
+ }) => any;
25
+ } & {
26
+ title?: (props: {
27
+ operation: {
28
+ isDataChange: boolean;
29
+ isCreating: boolean;
30
+ isSaving: boolean;
31
+ save: typeof save;
32
+ cancel: typeof cancel;
33
+ };
34
+ }) => any;
35
+ } & {
36
+ default?: (props: any) => any;
37
+ } & {
38
+ action?: (props: {
39
+ operation: {
40
+ isDataChange: boolean;
41
+ isCreating: boolean;
42
+ isSaving: boolean;
43
+ save: typeof save;
44
+ cancel: typeof cancel;
45
+ };
46
+ }) => any;
29
47
  };
30
- }, __VLS_36: any, __VLS_44: {
31
- operation: {
32
- isDataChange: boolean;
33
- isCreating: boolean;
34
- isSaving: boolean;
35
- save: typeof save;
36
- cancel: typeof cancel;
37
- };
38
- };
39
- type __VLS_Slots = {} & {
40
- titleToolbar?: (props: typeof __VLS_13) => any;
41
- } & {
42
- title?: (props: typeof __VLS_21) => any;
43
- } & {
44
- default?: (props: typeof __VLS_36) => any;
45
- } & {
46
- action?: (props: typeof __VLS_44) => any;
47
48
  };
49
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
48
50
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
49
51
  saveCaption: string;
50
52
  cancelCaption: string;
@@ -8,18 +8,20 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VTextField['$props
8
8
  downloadable?: boolean;
9
9
  autoHydrate?: boolean;
10
10
  }
11
- declare var __VLS_18: {
12
- item: {
13
- fileName: string;
14
- originalFileName?: string | undefined;
15
- fileType?: string | undefined;
16
- id?: number | undefined;
17
- base64String?: string | undefined;
11
+ declare const __VLS_template: () => {
12
+ __VLS_Slots: {
13
+ download?: (props: {
14
+ item: {
15
+ fileName: string;
16
+ originalFileName?: string | undefined;
17
+ fileType?: string | undefined;
18
+ id?: number | undefined;
19
+ base64String?: string | undefined;
20
+ };
21
+ }) => any;
18
22
  };
19
23
  };
20
- type __VLS_Slots = {} & {
21
- download?: (props: typeof __VLS_18) => any;
22
- };
24
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
23
25
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
24
26
  accept: string;
25
27
  multiple: boolean;
@@ -8,18 +8,20 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VTextField['$props
8
8
  downloadable?: boolean;
9
9
  autoHydrate?: boolean;
10
10
  }
11
- declare var __VLS_18: {
12
- item: {
13
- fileName: string;
14
- originalFileName?: string | undefined;
15
- fileType?: string | undefined;
16
- id?: number | undefined;
17
- base64String?: string | undefined;
11
+ declare const __VLS_template: () => {
12
+ __VLS_Slots: {
13
+ download?: (props: {
14
+ item: {
15
+ fileName: string;
16
+ originalFileName?: string | undefined;
17
+ fileType?: string | undefined;
18
+ id?: number | undefined;
19
+ base64String?: string | undefined;
20
+ };
21
+ }) => any;
18
22
  };
19
23
  };
20
- type __VLS_Slots = {} & {
21
- download?: (props: typeof __VLS_18) => any;
22
- };
24
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
23
25
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
24
26
  accept: string;
25
27
  multiple: boolean;