@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.
- package/dist/module.json +2 -2
- package/dist/runtime/components/Calendar.d.vue.ts +12 -10
- package/dist/runtime/components/Calendar.vue.d.ts +12 -10
- package/dist/runtime/components/ExportCSV.d.vue.ts +3 -3
- package/dist/runtime/components/ExportCSV.vue.d.ts +3 -3
- package/dist/runtime/components/FileBtn.d.vue.ts +3 -3
- package/dist/runtime/components/FileBtn.vue.d.ts +3 -3
- package/dist/runtime/components/ImportCSV.d.vue.ts +3 -3
- package/dist/runtime/components/ImportCSV.vue.d.ts +3 -3
- package/dist/runtime/components/SplitterPanel.d.vue.ts +7 -5
- package/dist/runtime/components/SplitterPanel.vue.d.ts +7 -5
- package/dist/runtime/components/TabsGroup.d.vue.ts +7 -5
- package/dist/runtime/components/TabsGroup.vue.d.ts +7 -5
- package/dist/runtime/components/device/IdCardButton.d.vue.ts +3 -3
- package/dist/runtime/components/device/IdCardButton.vue.d.ts +3 -3
- package/dist/runtime/components/device/Scanner.d.vue.ts +31 -29
- package/dist/runtime/components/device/Scanner.vue.d.ts +31 -29
- package/dist/runtime/components/dialog/Confirm.d.vue.ts +7 -5
- package/dist/runtime/components/dialog/Confirm.vue.d.ts +7 -5
- package/dist/runtime/components/dialog/ImportProgress.d.vue.ts +5 -3
- package/dist/runtime/components/dialog/ImportProgress.vue.d.ts +5 -3
- package/dist/runtime/components/dialog/Index.d.vue.ts +5 -3
- package/dist/runtime/components/dialog/Index.vue.d.ts +5 -3
- package/dist/runtime/components/dialog/Loading.d.vue.ts +5 -3
- package/dist/runtime/components/dialog/Loading.vue.d.ts +5 -3
- package/dist/runtime/components/dialog/default/Confirm.d.vue.ts +7 -5
- package/dist/runtime/components/dialog/default/Confirm.vue.d.ts +7 -5
- package/dist/runtime/components/dialog/default/Loading.d.vue.ts +7 -5
- package/dist/runtime/components/dialog/default/Loading.vue.d.ts +7 -5
- package/dist/runtime/components/dialog/default/Printing.d.vue.ts +5 -3
- package/dist/runtime/components/dialog/default/Printing.vue.d.ts +5 -3
- package/dist/runtime/components/document/TemplateBuilderLiveView.d.vue.ts +88 -73
- package/dist/runtime/components/document/TemplateBuilderLiveView.vue +175 -68
- package/dist/runtime/components/document/TemplateBuilderLiveView.vue.d.ts +88 -73
- package/dist/runtime/components/document/TemplateInputAttributesHelper.d.vue.ts +14 -0
- package/dist/runtime/components/document/TemplateInputAttributesHelper.vue +154 -0
- package/dist/runtime/components/document/TemplateInputAttributesHelper.vue.d.ts +14 -0
- package/dist/runtime/components/document/TemplateItemForm.vue +46 -1
- package/dist/runtime/components/document/TemplatePalette.d.vue.ts +8 -6
- package/dist/runtime/components/document/TemplatePalette.vue +16 -0
- package/dist/runtime/components/document/TemplatePalette.vue.d.ts +8 -6
- package/dist/runtime/components/form/ActionPad.d.vue.ts +34 -32
- package/dist/runtime/components/form/ActionPad.vue.d.ts +34 -32
- package/dist/runtime/components/form/Date.d.vue.ts +20 -18
- package/dist/runtime/components/form/Date.vue.d.ts +20 -18
- package/dist/runtime/components/form/DateTime.d.vue.ts +1 -1
- package/dist/runtime/components/form/DateTime.vue.d.ts +1 -1
- package/dist/runtime/components/form/Dialog.d.vue.ts +24 -22
- package/dist/runtime/components/form/Dialog.vue.d.ts +24 -22
- package/dist/runtime/components/form/EditPad.d.vue.ts +34 -32
- package/dist/runtime/components/form/EditPad.vue.d.ts +34 -32
- package/dist/runtime/components/form/File.d.vue.ts +12 -10
- package/dist/runtime/components/form/File.vue.d.ts +12 -10
- package/dist/runtime/components/form/Iterator.d.vue.ts +121 -134
- package/dist/runtime/components/form/Iterator.vue.d.ts +121 -134
- package/dist/runtime/components/form/Login.d.vue.ts +5 -3
- package/dist/runtime/components/form/Login.vue.d.ts +5 -3
- package/dist/runtime/components/form/Pad.d.vue.ts +651 -649
- package/dist/runtime/components/form/Pad.vue.d.ts +651 -649
- package/dist/runtime/components/form/Table.d.vue.ts +69 -82
- package/dist/runtime/components/form/Table.vue.d.ts +69 -82
- package/dist/runtime/components/form/TableData.d.vue.ts +18 -24
- package/dist/runtime/components/form/TableData.vue.d.ts +18 -24
- package/dist/runtime/components/form/images/Capture.d.vue.ts +15 -13
- package/dist/runtime/components/form/images/Capture.vue.d.ts +15 -13
- package/dist/runtime/components/label/Date.d.vue.ts +1 -1
- package/dist/runtime/components/label/Date.vue.d.ts +1 -1
- package/dist/runtime/components/label/Field.d.vue.ts +16 -14
- package/dist/runtime/components/label/Field.vue.d.ts +16 -14
- package/dist/runtime/components/label/FormatMoney.d.vue.ts +1 -1
- package/dist/runtime/components/label/FormatMoney.vue.d.ts +1 -1
- package/dist/runtime/components/master/Autocomplete.d.vue.ts +3 -5
- package/dist/runtime/components/master/Autocomplete.vue.d.ts +3 -5
- package/dist/runtime/components/master/Combobox.d.vue.ts +3 -5
- package/dist/runtime/components/master/Combobox.vue.d.ts +3 -5
- package/dist/runtime/components/master/RadioGroup.d.vue.ts +3 -3
- package/dist/runtime/components/master/RadioGroup.vue.d.ts +3 -3
- package/dist/runtime/components/master/Select.d.vue.ts +3 -5
- package/dist/runtime/components/master/Select.vue.d.ts +3 -5
- package/dist/runtime/components/master/label.d.vue.ts +7 -3
- package/dist/runtime/components/master/label.vue +33 -15
- package/dist/runtime/components/master/label.vue.d.ts +7 -3
- package/dist/runtime/components/model/Autocomplete.d.vue.ts +3 -3
- package/dist/runtime/components/model/Autocomplete.vue.d.ts +3 -3
- package/dist/runtime/components/model/Combobox.d.vue.ts +3 -3
- package/dist/runtime/components/model/Combobox.vue.d.ts +3 -3
- package/dist/runtime/components/model/Pad.d.vue.ts +17 -15
- package/dist/runtime/components/model/Pad.vue.d.ts +17 -15
- package/dist/runtime/components/model/Select.d.vue.ts +3 -3
- package/dist/runtime/components/model/Select.vue.d.ts +3 -3
- package/dist/runtime/components/model/Table.d.vue.ts +102 -166
- package/dist/runtime/components/model/Table.vue.d.ts +102 -166
- package/dist/runtime/components/model/iterator.d.vue.ts +188 -240
- package/dist/runtime/components/model/iterator.vue.d.ts +188 -240
- package/dist/runtime/components/model/label.d.vue.ts +11 -5
- package/dist/runtime/components/model/label.vue +54 -4
- package/dist/runtime/components/model/label.vue.d.ts +11 -5
- package/dist/runtime/composables/batchLookup.d.ts +39 -0
- package/dist/runtime/composables/batchLookup.js +144 -0
- package/dist/runtime/composables/document/inputAttributeCatalog.generated.json +95 -0
- package/dist/runtime/composables/document/inputAttributes.d.ts +46 -0
- package/dist/runtime/composables/document/inputAttributes.js +196 -0
- package/dist/runtime/composables/document/template.d.ts +9 -1
- package/dist/runtime/composables/document/template.js +16 -3
- package/dist/runtime/composables/document/templateInputTypes.d.ts +36 -0
- package/dist/runtime/composables/document/templateInputTypes.js +86 -17
- package/dist/runtime/composables/document/templateMasterLabel.d.ts +32 -0
- package/dist/runtime/composables/document/templateMasterLabel.js +30 -0
- package/dist/runtime/composables/document/validateTemplate.js +11 -1
- package/dist/runtime/composables/masterItemBatch.d.ts +7 -0
- package/dist/runtime/composables/masterItemBatch.js +12 -0
- package/dist/runtime/composables/modelBatch.d.ts +61 -0
- package/dist/runtime/composables/modelBatch.js +192 -0
- package/dist/runtime/labs/form/EditMobile.d.vue.ts +1 -1
- package/dist/runtime/labs/form/EditMobile.vue.d.ts +1 -1
- package/dist/runtime/labs/form/TextFieldMask.d.vue.ts +3 -3
- package/dist/runtime/labs/form/TextFieldMask.vue.d.ts +3 -3
- package/dist/runtime/plugins/clientConfig.d.ts +1 -1
- package/dist/runtime/plugins/default.d.ts +1 -1
- package/dist/runtime/plugins/dialogManager.d.ts +1 -1
- package/dist/runtime/plugins/permission.d.ts +1 -1
- package/package.json +2 -2
- package/scripts/build-input-attribute-catalog.mjs +133 -0
|
@@ -11,12 +11,10 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VAutocomplete['$pr
|
|
|
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
|
|
15
|
-
|
|
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
|
|
15
|
-
|
|
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
|
|
15
|
-
|
|
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
|
|
14
|
-
|
|
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
|
|
14
|
-
|
|
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
|
|
15
|
-
|
|
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
|
|
15
|
-
|
|
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
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
12
|
-
|
|
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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
|
32
|
-
|
|
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
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
23
|
-
|
|
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
|
|
23
|
-
|
|
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
|
|
23
|
-
|
|
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
|
|
23
|
-
|
|
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
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} & {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} & {
|
|
28
|
-
|
|
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
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} & {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} & {
|
|
28
|
-
|
|
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
|
|
23
|
-
|
|
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
|
|
23
|
-
|
|
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;
|