@ramathibodi/nuxt-commons 4.0.27 → 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 (117) 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 +71 -69
  33. package/dist/runtime/components/document/TemplateBuilderLiveView.vue.d.ts +71 -69
  34. package/dist/runtime/components/document/TemplateInputAttributesHelper.d.vue.ts +14 -0
  35. package/dist/runtime/components/document/TemplateInputAttributesHelper.vue +154 -0
  36. package/dist/runtime/components/document/TemplateInputAttributesHelper.vue.d.ts +14 -0
  37. package/dist/runtime/components/document/TemplateItemForm.vue +46 -1
  38. package/dist/runtime/components/document/TemplatePalette.d.vue.ts +8 -6
  39. package/dist/runtime/components/document/TemplatePalette.vue +16 -0
  40. package/dist/runtime/components/document/TemplatePalette.vue.d.ts +8 -6
  41. package/dist/runtime/components/form/ActionPad.d.vue.ts +34 -32
  42. package/dist/runtime/components/form/ActionPad.vue.d.ts +34 -32
  43. package/dist/runtime/components/form/Date.d.vue.ts +20 -18
  44. package/dist/runtime/components/form/Date.vue.d.ts +20 -18
  45. package/dist/runtime/components/form/Dialog.d.vue.ts +24 -22
  46. package/dist/runtime/components/form/Dialog.vue.d.ts +24 -22
  47. package/dist/runtime/components/form/EditPad.d.vue.ts +34 -32
  48. package/dist/runtime/components/form/EditPad.vue.d.ts +34 -32
  49. package/dist/runtime/components/form/File.d.vue.ts +12 -10
  50. package/dist/runtime/components/form/File.vue.d.ts +12 -10
  51. package/dist/runtime/components/form/Iterator.d.vue.ts +121 -134
  52. package/dist/runtime/components/form/Iterator.vue.d.ts +121 -134
  53. package/dist/runtime/components/form/Login.d.vue.ts +5 -3
  54. package/dist/runtime/components/form/Login.vue.d.ts +5 -3
  55. package/dist/runtime/components/form/Pad.d.vue.ts +652 -650
  56. package/dist/runtime/components/form/Pad.vue.d.ts +652 -650
  57. package/dist/runtime/components/form/Table.d.vue.ts +69 -82
  58. package/dist/runtime/components/form/Table.vue.d.ts +69 -82
  59. package/dist/runtime/components/form/TableData.d.vue.ts +18 -24
  60. package/dist/runtime/components/form/TableData.vue.d.ts +18 -24
  61. package/dist/runtime/components/form/images/Capture.d.vue.ts +15 -13
  62. package/dist/runtime/components/form/images/Capture.vue.d.ts +15 -13
  63. package/dist/runtime/components/label/Field.d.vue.ts +16 -14
  64. package/dist/runtime/components/label/Field.vue.d.ts +16 -14
  65. package/dist/runtime/components/label/FormatMoney.d.vue.ts +1 -1
  66. package/dist/runtime/components/label/FormatMoney.vue.d.ts +1 -1
  67. package/dist/runtime/components/master/Autocomplete.d.vue.ts +3 -5
  68. package/dist/runtime/components/master/Autocomplete.vue.d.ts +3 -5
  69. package/dist/runtime/components/master/Combobox.d.vue.ts +3 -5
  70. package/dist/runtime/components/master/Combobox.vue.d.ts +3 -5
  71. package/dist/runtime/components/master/RadioGroup.d.vue.ts +3 -3
  72. package/dist/runtime/components/master/RadioGroup.vue.d.ts +3 -3
  73. package/dist/runtime/components/master/Select.d.vue.ts +3 -5
  74. package/dist/runtime/components/master/Select.vue.d.ts +3 -5
  75. package/dist/runtime/components/master/label.d.vue.ts +7 -3
  76. package/dist/runtime/components/master/label.vue +33 -15
  77. package/dist/runtime/components/master/label.vue.d.ts +7 -3
  78. package/dist/runtime/components/model/Autocomplete.d.vue.ts +3 -3
  79. package/dist/runtime/components/model/Autocomplete.vue.d.ts +3 -3
  80. package/dist/runtime/components/model/Combobox.d.vue.ts +3 -3
  81. package/dist/runtime/components/model/Combobox.vue.d.ts +3 -3
  82. package/dist/runtime/components/model/Pad.d.vue.ts +17 -15
  83. package/dist/runtime/components/model/Pad.vue.d.ts +17 -15
  84. package/dist/runtime/components/model/Select.d.vue.ts +3 -3
  85. package/dist/runtime/components/model/Select.vue.d.ts +3 -3
  86. package/dist/runtime/components/model/Table.d.vue.ts +102 -166
  87. package/dist/runtime/components/model/Table.vue.d.ts +102 -166
  88. package/dist/runtime/components/model/iterator.d.vue.ts +188 -240
  89. package/dist/runtime/components/model/iterator.vue.d.ts +188 -240
  90. package/dist/runtime/components/model/label.d.vue.ts +11 -5
  91. package/dist/runtime/components/model/label.vue +54 -4
  92. package/dist/runtime/components/model/label.vue.d.ts +11 -5
  93. package/dist/runtime/composables/batchLookup.d.ts +39 -0
  94. package/dist/runtime/composables/batchLookup.js +144 -0
  95. package/dist/runtime/composables/document/inputAttributeCatalog.generated.json +95 -0
  96. package/dist/runtime/composables/document/inputAttributes.d.ts +46 -0
  97. package/dist/runtime/composables/document/inputAttributes.js +196 -0
  98. package/dist/runtime/composables/document/template.js +4 -0
  99. package/dist/runtime/composables/document/templateInputTypes.d.ts +36 -0
  100. package/dist/runtime/composables/document/templateInputTypes.js +86 -17
  101. package/dist/runtime/composables/document/templateMasterLabel.d.ts +32 -0
  102. package/dist/runtime/composables/document/templateMasterLabel.js +30 -0
  103. package/dist/runtime/composables/document/validateTemplate.js +11 -1
  104. package/dist/runtime/composables/masterItemBatch.d.ts +7 -0
  105. package/dist/runtime/composables/masterItemBatch.js +12 -0
  106. package/dist/runtime/composables/modelBatch.d.ts +61 -0
  107. package/dist/runtime/composables/modelBatch.js +192 -0
  108. package/dist/runtime/labs/form/EditMobile.d.vue.ts +1 -1
  109. package/dist/runtime/labs/form/EditMobile.vue.d.ts +1 -1
  110. package/dist/runtime/labs/form/TextFieldMask.d.vue.ts +3 -3
  111. package/dist/runtime/labs/form/TextFieldMask.vue.d.ts +3 -3
  112. package/dist/runtime/plugins/clientConfig.d.ts +1 -1
  113. package/dist/runtime/plugins/default.d.ts +1 -1
  114. package/dist/runtime/plugins/dialogManager.d.ts +1 -1
  115. package/dist/runtime/plugins/permission.d.ts +1 -1
  116. package/package.json +2 -2
  117. package/scripts/build-input-attribute-catalog.mjs +133 -0
@@ -11,12 +11,10 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VCombobox['$props'
11
11
  * Document each prop field with intent, defaults, and side effects for clear generated docs.
12
12
  */
13
13
  type __VLS_Props = Props & MasterLikeProps;
14
- declare var __VLS_10: never, __VLS_11: {
15
- operation: string;
16
- };
17
- type __VLS_Slots = {} & {
18
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {};
19
16
  };
17
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
20
18
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
21
19
  sortBy: string;
22
20
  showCode: boolean;
@@ -11,12 +11,10 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VCombobox['$props'
11
11
  * Document each prop field with intent, defaults, and side effects for clear generated docs.
12
12
  */
13
13
  type __VLS_Props = Props & MasterLikeProps;
14
- declare var __VLS_10: never, __VLS_11: {
15
- operation: string;
16
- };
17
- type __VLS_Slots = {} & {
18
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {};
19
16
  };
17
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
20
18
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
21
19
  sortBy: string;
22
20
  showCode: boolean;
@@ -10,10 +10,10 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VRadioGroup['$prop
10
10
  fields?: string[];
11
11
  lang?: 'TH' | 'EN';
12
12
  }
13
- declare var __VLS_12: never, __VLS_13: {};
14
- type __VLS_Slots = {} & {
15
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
13
+ declare const __VLS_template: () => {
14
+ __VLS_Slots: {};
16
15
  };
16
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
17
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
18
  lang: string;
19
19
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -10,10 +10,10 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VRadioGroup['$prop
10
10
  fields?: string[];
11
11
  lang?: 'TH' | 'EN';
12
12
  }
13
- declare var __VLS_12: never, __VLS_13: {};
14
- type __VLS_Slots = {} & {
15
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
13
+ declare const __VLS_template: () => {
14
+ __VLS_Slots: {};
16
15
  };
16
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
17
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
18
  lang: string;
19
19
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -11,12 +11,10 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VSelect['$props']>
11
11
  * Document each prop field with intent, defaults, and side effects for clear generated docs.
12
12
  */
13
13
  type __VLS_Props = Props & StaticMasterLikeProps;
14
- declare var __VLS_10: never, __VLS_11: {
15
- operation: string;
16
- };
17
- type __VLS_Slots = {} & {
18
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {};
19
16
  };
17
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
20
18
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
21
19
  sortBy: string;
22
20
  showCode: boolean;
@@ -11,12 +11,10 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VSelect['$props']>
11
11
  * Document each prop field with intent, defaults, and side effects for clear generated docs.
12
12
  */
13
13
  type __VLS_Props = Props & StaticMasterLikeProps;
14
- declare var __VLS_10: never, __VLS_11: {
15
- operation: string;
16
- };
17
- type __VLS_Slots = {} & {
18
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {};
19
16
  };
17
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
20
18
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
21
19
  sortBy: string;
22
20
  showCode: boolean;
@@ -6,10 +6,14 @@ interface Props {
6
6
  notFoundText?: string;
7
7
  placeholder?: string;
8
8
  }
9
- declare var __VLS_10: never, __VLS_11: {};
10
- type __VLS_Slots = {} & {
11
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
9
+ declare const __VLS_template: () => {
10
+ __VLS_Slots: {} & {
11
+ default?: (props: {
12
+ data: {};
13
+ }) => any;
14
+ };
12
15
  };
16
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
13
17
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
18
  locale: string;
15
19
  cache: number | boolean;
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { computed } from "vue";
3
+ import { MASTER_ITEM_BATCH_OPERATION, MASTER_ITEM_SINGLE_OPERATION } from "../../composables/masterItemBatch";
3
4
  const props = defineProps({
4
5
  groupKey: { type: [String, null], required: false },
5
6
  itemCode: { type: [String, null], required: false },
@@ -8,28 +9,45 @@ const props = defineProps({
8
9
  notFoundText: { type: String, required: false },
9
10
  placeholder: { type: String, required: false }
10
11
  });
11
- const computedNotFoundText = computed(() => {
12
- return props.notFoundText || `${props.itemCode}`;
13
- });
14
- const computedPlaceholder = computed(() => {
15
- return props.placeholder || `${props.groupKey}(${props.itemCode})`;
16
- });
12
+ const MASTER_FIELDS = ["itemCode", "*"];
13
+ const hasKey = computed(() => !!props.groupKey && props.itemCode !== null && props.itemCode !== void 0 && props.itemCode !== "");
14
+ const computedNotFoundText = computed(() => props.notFoundText || `${props.itemCode ?? ""}`);
15
+ const computedPlaceholder = computed(() => props.placeholder ?? `${props.groupKey}(${props.itemCode})`);
17
16
  const computedItemTitle = computed(() => {
18
- return props.locale == "TH" ? "itemValue" : (result) => result["itemValueAlternative"] || result["itemValue"];
17
+ return props.locale == "TH" ? (result) => result["itemValue"] : (result) => result["itemValueAlternative"] || result["itemValue"];
19
18
  });
20
19
  </script>
21
20
 
22
21
  <template>
23
22
  <model-label
24
- model-name="masterItemByGroupKeyAndItemCode"
25
- :model-by="{ groupKey: props.groupKey, itemCode: props.itemCode }"
26
- :item-title="computedItemTitle"
27
- :not-found-text="computedNotFoundText"
28
- :placeholder="computedPlaceholder"
29
- :cache="props.cache"
23
+ v-if="hasKey"
24
+ :model-name="MASTER_ITEM_SINGLE_OPERATION"
25
+ :model-by="{ groupKey: props.groupKey, itemCode: props.itemCode }"
26
+ :item-title="computedItemTitle"
27
+ :fields="MASTER_FIELDS"
28
+ :not-found-text="computedNotFoundText"
29
+ :placeholder="computedPlaceholder"
30
+ :cache="props.cache"
31
+ :batch-operation="MASTER_ITEM_BATCH_OPERATION"
32
+ batch-key="itemCode"
33
+ batch-variable="itemCodes"
30
34
  >
31
- <template v-for="(_, name, index) in $slots" :key="index" #[name]="slotData">
32
- <slot :name="name" v-bind="slotData || {}" />
35
+ <template
36
+ v-for="(_, name, index) in $slots"
37
+ :key="index"
38
+ #[name]="slotData"
39
+ >
40
+ <slot
41
+ :name="name"
42
+ v-bind="slotData || {}"
43
+ />
33
44
  </template>
34
45
  </model-label>
46
+ <slot
47
+ v-else
48
+ name="default"
49
+ :data="{}"
50
+ >
51
+ <span>{{ computedNotFoundText }}</span>
52
+ </slot>
35
53
  </template>
@@ -6,10 +6,14 @@ interface Props {
6
6
  notFoundText?: string;
7
7
  placeholder?: string;
8
8
  }
9
- declare var __VLS_10: never, __VLS_11: {};
10
- type __VLS_Slots = {} & {
11
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
9
+ declare const __VLS_template: () => {
10
+ __VLS_Slots: {} & {
11
+ default?: (props: {
12
+ data: {};
13
+ }) => any;
14
+ };
12
15
  };
16
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
13
17
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
18
  locale: string;
15
19
  cache: number | boolean;
@@ -19,10 +19,10 @@ type __VLS_ModelProps = {
19
19
  modelValue?: any;
20
20
  };
21
21
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
22
- declare var __VLS_12: never, __VLS_13: {};
23
- type __VLS_Slots = {} & {
24
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
22
+ declare const __VLS_template: () => {
23
+ __VLS_Slots: {};
25
24
  };
25
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
26
26
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
27
27
  fuzzy: boolean;
28
28
  showCode: boolean;
@@ -19,10 +19,10 @@ type __VLS_ModelProps = {
19
19
  modelValue?: any;
20
20
  };
21
21
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
22
- declare var __VLS_12: never, __VLS_13: {};
23
- type __VLS_Slots = {} & {
24
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
22
+ declare const __VLS_template: () => {
23
+ __VLS_Slots: {};
25
24
  };
25
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
26
26
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
27
27
  fuzzy: boolean;
28
28
  showCode: boolean;
@@ -19,10 +19,10 @@ type __VLS_ModelProps = {
19
19
  modelValue?: any;
20
20
  };
21
21
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
22
- declare var __VLS_12: never, __VLS_13: {};
23
- type __VLS_Slots = {} & {
24
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
22
+ declare const __VLS_template: () => {
23
+ __VLS_Slots: {};
25
24
  };
25
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
26
26
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
27
27
  fuzzy: boolean;
28
28
  showCode: boolean;
@@ -19,10 +19,10 @@ type __VLS_ModelProps = {
19
19
  modelValue?: any;
20
20
  };
21
21
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
22
- declare var __VLS_12: never, __VLS_13: {};
23
- type __VLS_Slots = {} & {
24
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
22
+ declare const __VLS_template: () => {
23
+ __VLS_Slots: {};
25
24
  };
25
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
26
26
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
27
27
  fuzzy: boolean;
28
28
  showCode: boolean;
@@ -11,22 +11,24 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof EditPad['$props']>
11
11
  * Document each prop field with intent, defaults, and side effects for clear generated docs.
12
12
  */
13
13
  type __VLS_Props = Props & GraphqlModelItemProps;
14
- declare var __VLS_11: {
15
- operation: any;
16
- }, __VLS_19: {
17
- operation: any;
18
- }, __VLS_30: {
19
- operation: any;
20
- }, __VLS_54: any;
21
- type __VLS_Slots = {} & {
22
- titleToolbar?: (props: typeof __VLS_11) => any;
23
- } & {
24
- title?: (props: typeof __VLS_19) => any;
25
- } & {
26
- action?: (props: typeof __VLS_30) => any;
27
- } & {
28
- default?: (props: typeof __VLS_54) => any;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {
16
+ titleToolbar?: (props: {
17
+ operation: any;
18
+ }) => any;
19
+ } & {
20
+ title?: (props: {
21
+ operation: any;
22
+ }) => any;
23
+ } & {
24
+ action?: (props: {
25
+ operation: any;
26
+ }) => any;
27
+ } & {
28
+ default?: (props: any) => any;
29
+ };
29
30
  };
31
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
30
32
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
31
33
  fields: () => string[];
32
34
  saveCaption: string;
@@ -11,22 +11,24 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof EditPad['$props']>
11
11
  * Document each prop field with intent, defaults, and side effects for clear generated docs.
12
12
  */
13
13
  type __VLS_Props = Props & GraphqlModelItemProps;
14
- declare var __VLS_11: {
15
- operation: any;
16
- }, __VLS_19: {
17
- operation: any;
18
- }, __VLS_30: {
19
- operation: any;
20
- }, __VLS_54: any;
21
- type __VLS_Slots = {} & {
22
- titleToolbar?: (props: typeof __VLS_11) => any;
23
- } & {
24
- title?: (props: typeof __VLS_19) => any;
25
- } & {
26
- action?: (props: typeof __VLS_30) => any;
27
- } & {
28
- default?: (props: typeof __VLS_54) => any;
14
+ declare const __VLS_template: () => {
15
+ __VLS_Slots: {
16
+ titleToolbar?: (props: {
17
+ operation: any;
18
+ }) => any;
19
+ } & {
20
+ title?: (props: {
21
+ operation: any;
22
+ }) => any;
23
+ } & {
24
+ action?: (props: {
25
+ operation: any;
26
+ }) => any;
27
+ } & {
28
+ default?: (props: any) => any;
29
+ };
29
30
  };
31
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
30
32
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
31
33
  fields: () => string[];
32
34
  saveCaption: string;
@@ -19,10 +19,10 @@ type __VLS_ModelProps = {
19
19
  modelValue?: any;
20
20
  };
21
21
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
22
- declare var __VLS_12: never, __VLS_13: {};
23
- type __VLS_Slots = {} & {
24
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
22
+ declare const __VLS_template: () => {
23
+ __VLS_Slots: {};
25
24
  };
25
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
26
26
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
27
27
  fuzzy: boolean;
28
28
  showCode: boolean;
@@ -19,10 +19,10 @@ type __VLS_ModelProps = {
19
19
  modelValue?: any;
20
20
  };
21
21
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
22
- declare var __VLS_12: never, __VLS_13: {};
23
- type __VLS_Slots = {} & {
24
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
22
+ declare const __VLS_template: () => {
23
+ __VLS_Slots: {};
25
24
  };
25
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
26
26
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
27
27
  fuzzy: boolean;
28
28
  showCode: boolean;