@ramathibodi/nuxt-commons 4.0.25 → 4.0.27

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 (111) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/runtime/components/Calendar.d.vue.ts +7 -7
  3. package/dist/runtime/components/Calendar.vue.d.ts +7 -7
  4. package/dist/runtime/components/ExportCSV.d.vue.ts +2 -2
  5. package/dist/runtime/components/ExportCSV.vue.d.ts +2 -2
  6. package/dist/runtime/components/FileBtn.d.vue.ts +4 -4
  7. package/dist/runtime/components/FileBtn.vue.d.ts +4 -4
  8. package/dist/runtime/components/ImportCSV.d.vue.ts +4 -4
  9. package/dist/runtime/components/ImportCSV.vue.d.ts +4 -4
  10. package/dist/runtime/components/SplitterPanel.d.vue.ts +3 -3
  11. package/dist/runtime/components/SplitterPanel.vue.d.ts +3 -3
  12. package/dist/runtime/components/TabsGroup.d.vue.ts +3 -3
  13. package/dist/runtime/components/TabsGroup.vue.d.ts +3 -3
  14. package/dist/runtime/components/device/IdCardButton.d.vue.ts +2 -2
  15. package/dist/runtime/components/device/IdCardButton.vue.d.ts +2 -2
  16. package/dist/runtime/components/dialog/Confirm.d.vue.ts +2 -2
  17. package/dist/runtime/components/dialog/Confirm.vue.d.ts +2 -2
  18. package/dist/runtime/components/dialog/ImportProgress.d.vue.ts +2 -2
  19. package/dist/runtime/components/dialog/ImportProgress.vue.d.ts +2 -2
  20. package/dist/runtime/components/dialog/Index.d.vue.ts +2 -2
  21. package/dist/runtime/components/dialog/Index.vue.d.ts +2 -2
  22. package/dist/runtime/components/dialog/Loading.d.vue.ts +2 -2
  23. package/dist/runtime/components/dialog/Loading.vue.d.ts +2 -2
  24. package/dist/runtime/components/dialog/default/Confirm.d.vue.ts +3 -3
  25. package/dist/runtime/components/dialog/default/Confirm.vue.d.ts +3 -3
  26. package/dist/runtime/components/dialog/default/Loading.d.vue.ts +3 -3
  27. package/dist/runtime/components/dialog/default/Loading.vue.d.ts +3 -3
  28. package/dist/runtime/components/dialog/default/Notify.d.vue.ts +1 -1
  29. package/dist/runtime/components/dialog/default/Notify.vue.d.ts +1 -1
  30. package/dist/runtime/components/dialog/default/Printing.d.vue.ts +2 -2
  31. package/dist/runtime/components/dialog/default/Printing.vue.d.ts +2 -2
  32. package/dist/runtime/components/dialog/default/VerifyUser.d.vue.ts +2 -2
  33. package/dist/runtime/components/dialog/default/VerifyUser.vue.d.ts +2 -2
  34. package/dist/runtime/components/document/TemplateBuilderLiveView.d.vue.ts +27 -14
  35. package/dist/runtime/components/document/TemplateBuilderLiveView.vue +175 -68
  36. package/dist/runtime/components/document/TemplateBuilderLiveView.vue.d.ts +27 -14
  37. package/dist/runtime/components/document/TemplatePalette.d.vue.ts +1 -1
  38. package/dist/runtime/components/document/TemplatePalette.vue +11 -1
  39. package/dist/runtime/components/document/TemplatePalette.vue.d.ts +1 -1
  40. package/dist/runtime/components/form/ActionPad.d.vue.ts +9 -9
  41. package/dist/runtime/components/form/ActionPad.vue.d.ts +9 -9
  42. package/dist/runtime/components/form/Birthdate.d.vue.ts +1 -1
  43. package/dist/runtime/components/form/Birthdate.vue.d.ts +1 -1
  44. package/dist/runtime/components/form/CheckboxGroup.d.vue.ts +2 -2
  45. package/dist/runtime/components/form/CheckboxGroup.vue.d.ts +2 -2
  46. package/dist/runtime/components/form/CodeEditor.d.vue.ts +1 -1
  47. package/dist/runtime/components/form/CodeEditor.vue.d.ts +1 -1
  48. package/dist/runtime/components/form/Date.d.vue.ts +4 -4
  49. package/dist/runtime/components/form/Date.vue.d.ts +4 -4
  50. package/dist/runtime/components/form/DateTime.d.vue.ts +3 -3
  51. package/dist/runtime/components/form/DateTime.vue.d.ts +3 -3
  52. package/dist/runtime/components/form/Dialog.d.vue.ts +6 -6
  53. package/dist/runtime/components/form/Dialog.vue.d.ts +6 -6
  54. package/dist/runtime/components/form/EditPad.d.vue.ts +9 -9
  55. package/dist/runtime/components/form/EditPad.vue.d.ts +9 -9
  56. package/dist/runtime/components/form/File.d.vue.ts +4 -4
  57. package/dist/runtime/components/form/File.vue.d.ts +4 -4
  58. package/dist/runtime/components/form/Iterator.d.vue.ts +12 -12
  59. package/dist/runtime/components/form/Iterator.vue.d.ts +12 -12
  60. package/dist/runtime/components/form/Login.d.vue.ts +2 -2
  61. package/dist/runtime/components/form/Login.vue.d.ts +2 -2
  62. package/dist/runtime/components/form/Pad.d.vue.ts +4 -4
  63. package/dist/runtime/components/form/Pad.vue.d.ts +4 -4
  64. package/dist/runtime/components/form/SignPad.d.vue.ts +2 -2
  65. package/dist/runtime/components/form/SignPad.vue.d.ts +2 -2
  66. package/dist/runtime/components/form/System.d.vue.ts +2 -2
  67. package/dist/runtime/components/form/System.vue.d.ts +2 -2
  68. package/dist/runtime/components/form/Table.d.vue.ts +18 -18
  69. package/dist/runtime/components/form/Table.vue.d.ts +18 -18
  70. package/dist/runtime/components/form/TableData.d.vue.ts +9 -9
  71. package/dist/runtime/components/form/TableData.vue.d.ts +9 -9
  72. package/dist/runtime/components/form/Time.d.vue.ts +2 -2
  73. package/dist/runtime/components/form/Time.vue.d.ts +2 -2
  74. package/dist/runtime/components/form/images/Capture.d.vue.ts +2 -2
  75. package/dist/runtime/components/form/images/Capture.vue.d.ts +2 -2
  76. package/dist/runtime/components/label/Date.d.vue.ts +1 -1
  77. package/dist/runtime/components/label/Date.vue.d.ts +1 -1
  78. package/dist/runtime/components/label/Field.d.vue.ts +7 -5
  79. package/dist/runtime/components/label/Field.vue +4 -1
  80. package/dist/runtime/components/label/Field.vue.d.ts +7 -5
  81. package/dist/runtime/components/master/Autocomplete.d.vue.ts +2 -2
  82. package/dist/runtime/components/master/Autocomplete.vue.d.ts +2 -2
  83. package/dist/runtime/components/master/Combobox.d.vue.ts +2 -2
  84. package/dist/runtime/components/master/Combobox.vue.d.ts +2 -2
  85. package/dist/runtime/components/master/RadioGroup.d.vue.ts +2 -2
  86. package/dist/runtime/components/master/RadioGroup.vue.d.ts +2 -2
  87. package/dist/runtime/components/master/Select.d.vue.ts +2 -2
  88. package/dist/runtime/components/master/Select.vue.d.ts +2 -2
  89. package/dist/runtime/components/master/label.d.vue.ts +1 -1
  90. package/dist/runtime/components/master/label.vue.d.ts +1 -1
  91. package/dist/runtime/components/model/Autocomplete.d.vue.ts +2 -2
  92. package/dist/runtime/components/model/Autocomplete.vue.d.ts +2 -2
  93. package/dist/runtime/components/model/Combobox.d.vue.ts +2 -2
  94. package/dist/runtime/components/model/Combobox.vue.d.ts +2 -2
  95. package/dist/runtime/components/model/Pad.d.vue.ts +10 -10
  96. package/dist/runtime/components/model/Pad.vue.d.ts +10 -10
  97. package/dist/runtime/components/model/Select.d.vue.ts +2 -2
  98. package/dist/runtime/components/model/Select.vue.d.ts +2 -2
  99. package/dist/runtime/components/model/Table.d.vue.ts +21 -21
  100. package/dist/runtime/components/model/Table.vue.d.ts +21 -21
  101. package/dist/runtime/components/model/iterator.d.vue.ts +28 -28
  102. package/dist/runtime/components/model/iterator.vue.d.ts +28 -28
  103. package/dist/runtime/components/model/label.d.vue.ts +1 -1
  104. package/dist/runtime/components/model/label.vue.d.ts +1 -1
  105. package/dist/runtime/components/pdf/View.d.vue.ts +2 -2
  106. package/dist/runtime/components/pdf/View.vue.d.ts +2 -2
  107. package/dist/runtime/composables/document/template.d.ts +9 -1
  108. package/dist/runtime/composables/document/template.js +15 -3
  109. package/dist/runtime/composables/document/templateInputTypes.js +3 -0
  110. package/dist/runtime/utils/datetime.d.ts +7 -7
  111. package/package.json +30 -30
@@ -30,7 +30,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
30
30
  declare const _default: typeof __VLS_export;
31
31
  export default _default;
32
32
  type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
34
34
  type: import('vue').PropType<Required<T>[K]>;
35
35
  } : {
36
36
  type: import('vue').PropType<T[K]>;
@@ -38,7 +38,7 @@ type __VLS_TypePropsToOption<T> = {
38
38
  };
39
39
  };
40
40
  type __VLS_WithDefaults<P, D> = {
41
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
41
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
42
42
  default: D[K];
43
43
  }> : P[K];
44
44
  };
@@ -24,7 +24,7 @@ type __VLS_ModelProps = {
24
24
  modelValue?: string;
25
25
  };
26
26
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
27
- declare var __VLS_92: {
27
+ declare var __VLS_90: {
28
28
  operation: {
29
29
  startCamera: typeof startCamera;
30
30
  stopCamera: typeof stopCamera;
@@ -37,7 +37,7 @@ declare var __VLS_92: {
37
37
  };
38
38
  };
39
39
  type __VLS_Slots = {} & {
40
- actions?: (props: typeof __VLS_92) => any;
40
+ actions?: (props: typeof __VLS_90) => any;
41
41
  };
42
42
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
43
43
  errorMessages: import("vue").ComputedRef<(string & string[]) | (readonly string[] & string[]) | undefined>;
@@ -24,7 +24,7 @@ type __VLS_ModelProps = {
24
24
  modelValue?: string;
25
25
  };
26
26
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
27
- declare var __VLS_92: {
27
+ declare var __VLS_90: {
28
28
  operation: {
29
29
  startCamera: typeof startCamera;
30
30
  stopCamera: typeof stopCamera;
@@ -37,7 +37,7 @@ declare var __VLS_92: {
37
37
  };
38
38
  };
39
39
  type __VLS_Slots = {} & {
40
- actions?: (props: typeof __VLS_92) => any;
40
+ actions?: (props: typeof __VLS_90) => any;
41
41
  };
42
42
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
43
43
  errorMessages: import("vue").ComputedRef<(string & string[]) | (readonly string[] & string[]) | undefined>;
@@ -7,7 +7,7 @@ interface Props {
7
7
  }
8
8
  declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
9
  locale: "TH" | "EN";
10
- format: dateFormat | dateTimeFormat | string;
10
+ format: string;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: typeof __VLS_export;
13
13
  export default _default;
@@ -7,7 +7,7 @@ interface Props {
7
7
  }
8
8
  declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
9
  locale: "TH" | "EN";
10
- format: dateFormat | dateTimeFormat | string;
10
+ format: string;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: typeof __VLS_export;
13
13
  export default _default;
@@ -1,26 +1,28 @@
1
1
  interface Props {
2
2
  label: string;
3
3
  value?: string | null;
4
+ modelValue?: string | number | null;
4
5
  horizontal?: boolean;
5
6
  size?: 'large' | 'medium';
6
7
  truncate?: boolean;
7
8
  notFoundText?: string;
8
9
  }
9
10
  declare var __VLS_1: {}, __VLS_3: {
10
- value: string;
11
- }, __VLS_25: {}, __VLS_33: {
12
- value: string;
11
+ value: string | number;
12
+ }, __VLS_24: {}, __VLS_32: {
13
+ value: string | number;
13
14
  };
14
15
  type __VLS_Slots = {} & {
15
16
  label?: (props: typeof __VLS_1) => any;
16
17
  } & {
17
18
  value?: (props: typeof __VLS_3) => any;
18
19
  } & {
19
- label?: (props: typeof __VLS_25) => any;
20
+ label?: (props: typeof __VLS_24) => any;
20
21
  } & {
21
- value?: (props: typeof __VLS_33) => any;
22
+ value?: (props: typeof __VLS_32) => any;
22
23
  };
23
24
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
25
+ modelValue: string | number | null;
24
26
  value: string | null;
25
27
  size: "large" | "medium";
26
28
  label: string;
@@ -3,6 +3,7 @@ import { computed, ref } from "vue";
3
3
  const props = defineProps({
4
4
  label: { type: String, required: true, default: "" },
5
5
  value: { type: [String, null], required: false, default: "" },
6
+ modelValue: { type: [String, Number, null], required: false, default: void 0 },
6
7
  horizontal: { type: Boolean, required: false, default: false },
7
8
  size: { type: String, required: false, default: "large" },
8
9
  truncate: { type: Boolean, required: false, default: false },
@@ -17,7 +18,9 @@ const setTruncate = (event) => {
17
18
  isTooltip.value = target.offsetWidth < target.scrollWidth;
18
19
  };
19
20
  const valueData = computed(() => {
20
- return props.value ? props.value : props.notFoundText;
21
+ if (props.value) return props.value;
22
+ const modelValue = props.modelValue;
23
+ return modelValue === null || modelValue === void 0 || modelValue === "" ? props.notFoundText : modelValue;
21
24
  });
22
25
  </script>
23
26
 
@@ -1,26 +1,28 @@
1
1
  interface Props {
2
2
  label: string;
3
3
  value?: string | null;
4
+ modelValue?: string | number | null;
4
5
  horizontal?: boolean;
5
6
  size?: 'large' | 'medium';
6
7
  truncate?: boolean;
7
8
  notFoundText?: string;
8
9
  }
9
10
  declare var __VLS_1: {}, __VLS_3: {
10
- value: string;
11
- }, __VLS_25: {}, __VLS_33: {
12
- value: string;
11
+ value: string | number;
12
+ }, __VLS_24: {}, __VLS_32: {
13
+ value: string | number;
13
14
  };
14
15
  type __VLS_Slots = {} & {
15
16
  label?: (props: typeof __VLS_1) => any;
16
17
  } & {
17
18
  value?: (props: typeof __VLS_3) => any;
18
19
  } & {
19
- label?: (props: typeof __VLS_25) => any;
20
+ label?: (props: typeof __VLS_24) => any;
20
21
  } & {
21
- value?: (props: typeof __VLS_33) => any;
22
+ value?: (props: typeof __VLS_32) => any;
22
23
  };
23
24
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
25
+ modelValue: string | number | null;
24
26
  value: string | null;
25
27
  size: "large" | "medium";
26
28
  label: string;
@@ -46,7 +46,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
46
  declare const _default: typeof __VLS_export;
47
47
  export default _default;
48
48
  type __VLS_TypePropsToOption<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
50
50
  type: import('vue').PropType<Required<T>[K]>;
51
51
  } : {
52
52
  type: import('vue').PropType<T[K]>;
@@ -54,7 +54,7 @@ type __VLS_TypePropsToOption<T> = {
54
54
  };
55
55
  };
56
56
  type __VLS_WithDefaults<P, D> = {
57
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
57
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
58
58
  default: D[K];
59
59
  }> : P[K];
60
60
  };
@@ -46,7 +46,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
46
  declare const _default: typeof __VLS_export;
47
47
  export default _default;
48
48
  type __VLS_TypePropsToOption<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
50
50
  type: import('vue').PropType<Required<T>[K]>;
51
51
  } : {
52
52
  type: import('vue').PropType<T[K]>;
@@ -54,7 +54,7 @@ type __VLS_TypePropsToOption<T> = {
54
54
  };
55
55
  };
56
56
  type __VLS_WithDefaults<P, D> = {
57
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
57
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
58
58
  default: D[K];
59
59
  }> : P[K];
60
60
  };
@@ -46,7 +46,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
46
  declare const _default: typeof __VLS_export;
47
47
  export default _default;
48
48
  type __VLS_TypePropsToOption<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
50
50
  type: import('vue').PropType<Required<T>[K]>;
51
51
  } : {
52
52
  type: import('vue').PropType<T[K]>;
@@ -54,7 +54,7 @@ type __VLS_TypePropsToOption<T> = {
54
54
  };
55
55
  };
56
56
  type __VLS_WithDefaults<P, D> = {
57
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
57
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
58
58
  default: D[K];
59
59
  }> : P[K];
60
60
  };
@@ -46,7 +46,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
46
  declare const _default: typeof __VLS_export;
47
47
  export default _default;
48
48
  type __VLS_TypePropsToOption<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
50
50
  type: import('vue').PropType<Required<T>[K]>;
51
51
  } : {
52
52
  type: import('vue').PropType<T[K]>;
@@ -54,7 +54,7 @@ type __VLS_TypePropsToOption<T> = {
54
54
  };
55
55
  };
56
56
  type __VLS_WithDefaults<P, D> = {
57
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
57
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
58
58
  default: D[K];
59
59
  }> : P[K];
60
60
  };
@@ -27,7 +27,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  export default _default;
29
29
  type __VLS_TypePropsToOption<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
31
31
  type: import('vue').PropType<Required<T>[K]>;
32
32
  } : {
33
33
  type: import('vue').PropType<T[K]>;
@@ -35,7 +35,7 @@ type __VLS_TypePropsToOption<T> = {
35
35
  };
36
36
  };
37
37
  type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
38
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
39
39
  default: D[K];
40
40
  }> : P[K];
41
41
  };
@@ -27,7 +27,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  export default _default;
29
29
  type __VLS_TypePropsToOption<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
31
31
  type: import('vue').PropType<Required<T>[K]>;
32
32
  } : {
33
33
  type: import('vue').PropType<T[K]>;
@@ -35,7 +35,7 @@ type __VLS_TypePropsToOption<T> = {
35
35
  };
36
36
  };
37
37
  type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
38
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
39
39
  default: D[K];
40
40
  }> : P[K];
41
41
  };
@@ -44,7 +44,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
44
44
  declare const _default: typeof __VLS_export;
45
45
  export default _default;
46
46
  type __VLS_TypePropsToOption<T> = {
47
- [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
48
48
  type: import('vue').PropType<Required<T>[K]>;
49
49
  } : {
50
50
  type: import('vue').PropType<T[K]>;
@@ -52,7 +52,7 @@ type __VLS_TypePropsToOption<T> = {
52
52
  };
53
53
  };
54
54
  type __VLS_WithDefaults<P, D> = {
55
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
55
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
56
56
  default: D[K];
57
57
  }> : P[K];
58
58
  };
@@ -44,7 +44,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
44
44
  declare const _default: typeof __VLS_export;
45
45
  export default _default;
46
46
  type __VLS_TypePropsToOption<T> = {
47
- [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
48
48
  type: import('vue').PropType<Required<T>[K]>;
49
49
  } : {
50
50
  type: import('vue').PropType<T[K]>;
@@ -52,7 +52,7 @@ type __VLS_TypePropsToOption<T> = {
52
52
  };
53
53
  };
54
54
  type __VLS_WithDefaults<P, D> = {
55
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
55
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
56
56
  default: D[K];
57
57
  }> : P[K];
58
58
  };
@@ -12,7 +12,7 @@ type __VLS_Slots = {} & {
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
14
  locale: string;
15
- cache: boolean | number;
15
+ cache: number | boolean;
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
18
  declare const _default: typeof __VLS_export;
@@ -12,7 +12,7 @@ type __VLS_Slots = {} & {
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
14
  locale: string;
15
- cache: boolean | number;
15
+ cache: number | boolean;
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
18
  declare const _default: typeof __VLS_export;
@@ -63,7 +63,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
63
63
  declare const _default: typeof __VLS_export;
64
64
  export default _default;
65
65
  type __VLS_TypePropsToOption<T> = {
66
- [K in keyof T]-?: {} extends Pick<T, K> ? {
66
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
67
67
  type: import('vue').PropType<Required<T>[K]>;
68
68
  } : {
69
69
  type: import('vue').PropType<T[K]>;
@@ -71,7 +71,7 @@ type __VLS_TypePropsToOption<T> = {
71
71
  };
72
72
  };
73
73
  type __VLS_WithDefaults<P, D> = {
74
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
74
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
75
75
  default: D[K];
76
76
  }> : P[K];
77
77
  };
@@ -63,7 +63,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
63
63
  declare const _default: typeof __VLS_export;
64
64
  export default _default;
65
65
  type __VLS_TypePropsToOption<T> = {
66
- [K in keyof T]-?: {} extends Pick<T, K> ? {
66
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
67
67
  type: import('vue').PropType<Required<T>[K]>;
68
68
  } : {
69
69
  type: import('vue').PropType<T[K]>;
@@ -71,7 +71,7 @@ type __VLS_TypePropsToOption<T> = {
71
71
  };
72
72
  };
73
73
  type __VLS_WithDefaults<P, D> = {
74
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
74
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
75
75
  default: D[K];
76
76
  }> : P[K];
77
77
  };
@@ -63,7 +63,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
63
63
  declare const _default: typeof __VLS_export;
64
64
  export default _default;
65
65
  type __VLS_TypePropsToOption<T> = {
66
- [K in keyof T]-?: {} extends Pick<T, K> ? {
66
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
67
67
  type: import('vue').PropType<Required<T>[K]>;
68
68
  } : {
69
69
  type: import('vue').PropType<T[K]>;
@@ -71,7 +71,7 @@ type __VLS_TypePropsToOption<T> = {
71
71
  };
72
72
  };
73
73
  type __VLS_WithDefaults<P, D> = {
74
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
74
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
75
75
  default: D[K];
76
76
  }> : P[K];
77
77
  };
@@ -63,7 +63,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
63
63
  declare const _default: typeof __VLS_export;
64
64
  export default _default;
65
65
  type __VLS_TypePropsToOption<T> = {
66
- [K in keyof T]-?: {} extends Pick<T, K> ? {
66
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
67
67
  type: import('vue').PropType<Required<T>[K]>;
68
68
  } : {
69
69
  type: import('vue').PropType<T[K]>;
@@ -71,7 +71,7 @@ type __VLS_TypePropsToOption<T> = {
71
71
  };
72
72
  };
73
73
  type __VLS_WithDefaults<P, D> = {
74
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
74
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
75
75
  default: D[K];
76
76
  }> : P[K];
77
77
  };
@@ -11,21 +11,21 @@ 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_13: {
14
+ declare var __VLS_11: {
15
15
  operation: any;
16
- }, __VLS_21: {
16
+ }, __VLS_19: {
17
17
  operation: any;
18
- }, __VLS_32: {
18
+ }, __VLS_30: {
19
19
  operation: any;
20
- }, __VLS_56: any;
20
+ }, __VLS_54: any;
21
21
  type __VLS_Slots = {} & {
22
- titleToolbar?: (props: typeof __VLS_13) => any;
22
+ titleToolbar?: (props: typeof __VLS_11) => any;
23
23
  } & {
24
- title?: (props: typeof __VLS_21) => any;
24
+ title?: (props: typeof __VLS_19) => any;
25
25
  } & {
26
- action?: (props: typeof __VLS_32) => any;
26
+ action?: (props: typeof __VLS_30) => any;
27
27
  } & {
28
- default?: (props: typeof __VLS_56) => any;
28
+ default?: (props: typeof __VLS_54) => any;
29
29
  };
30
30
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
31
31
  fields: () => string[];
@@ -51,7 +51,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
51
51
  declare const _default: typeof __VLS_export;
52
52
  export default _default;
53
53
  type __VLS_TypePropsToOption<T> = {
54
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
55
55
  type: import('vue').PropType<Required<T>[K]>;
56
56
  } : {
57
57
  type: import('vue').PropType<T[K]>;
@@ -59,7 +59,7 @@ type __VLS_TypePropsToOption<T> = {
59
59
  };
60
60
  };
61
61
  type __VLS_WithDefaults<P, D> = {
62
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
62
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
63
63
  default: D[K];
64
64
  }> : P[K];
65
65
  };
@@ -11,21 +11,21 @@ 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_13: {
14
+ declare var __VLS_11: {
15
15
  operation: any;
16
- }, __VLS_21: {
16
+ }, __VLS_19: {
17
17
  operation: any;
18
- }, __VLS_32: {
18
+ }, __VLS_30: {
19
19
  operation: any;
20
- }, __VLS_56: any;
20
+ }, __VLS_54: any;
21
21
  type __VLS_Slots = {} & {
22
- titleToolbar?: (props: typeof __VLS_13) => any;
22
+ titleToolbar?: (props: typeof __VLS_11) => any;
23
23
  } & {
24
- title?: (props: typeof __VLS_21) => any;
24
+ title?: (props: typeof __VLS_19) => any;
25
25
  } & {
26
- action?: (props: typeof __VLS_32) => any;
26
+ action?: (props: typeof __VLS_30) => any;
27
27
  } & {
28
- default?: (props: typeof __VLS_56) => any;
28
+ default?: (props: typeof __VLS_54) => any;
29
29
  };
30
30
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
31
31
  fields: () => string[];
@@ -51,7 +51,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
51
51
  declare const _default: typeof __VLS_export;
52
52
  export default _default;
53
53
  type __VLS_TypePropsToOption<T> = {
54
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
55
55
  type: import('vue').PropType<Required<T>[K]>;
56
56
  } : {
57
57
  type: import('vue').PropType<T[K]>;
@@ -59,7 +59,7 @@ type __VLS_TypePropsToOption<T> = {
59
59
  };
60
60
  };
61
61
  type __VLS_WithDefaults<P, D> = {
62
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
62
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
63
63
  default: D[K];
64
64
  }> : P[K];
65
65
  };
@@ -53,7 +53,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
53
53
  declare const _default: typeof __VLS_export;
54
54
  export default _default;
55
55
  type __VLS_TypePropsToOption<T> = {
56
- [K in keyof T]-?: {} extends Pick<T, K> ? {
56
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
57
57
  type: import('vue').PropType<Required<T>[K]>;
58
58
  } : {
59
59
  type: import('vue').PropType<T[K]>;
@@ -61,7 +61,7 @@ type __VLS_TypePropsToOption<T> = {
61
61
  };
62
62
  };
63
63
  type __VLS_WithDefaults<P, D> = {
64
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
64
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
65
65
  default: D[K];
66
66
  }> : P[K];
67
67
  };
@@ -53,7 +53,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
53
53
  declare const _default: typeof __VLS_export;
54
54
  export default _default;
55
55
  type __VLS_TypePropsToOption<T> = {
56
- [K in keyof T]-?: {} extends Pick<T, K> ? {
56
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
57
57
  type: import('vue').PropType<Required<T>[K]>;
58
58
  } : {
59
59
  type: import('vue').PropType<T[K]>;
@@ -61,7 +61,7 @@ type __VLS_TypePropsToOption<T> = {
61
61
  };
62
62
  };
63
63
  type __VLS_WithDefaults<P, D> = {
64
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
64
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
65
65
  default: D[K];
66
66
  }> : P[K];
67
67
  };