@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.
- 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 +71 -69
- package/dist/runtime/components/document/TemplateBuilderLiveView.vue.d.ts +71 -69
- 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/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 +652 -650
- package/dist/runtime/components/form/Pad.vue.d.ts +652 -650
- 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/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.js +4 -0
- 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
|
@@ -7,7 +7,7 @@ interface Props {
|
|
|
7
7
|
grouped?: boolean;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}
|
|
10
|
-
type Thumb = 'text' | 'textarea' | 'date' | 'time' | 'datetime' | 'select' | 'radio' | 'radio-inline' | 'checkbox' | 'checkbox-group' | 'switch' | 'file' | 'images' | 'sign' | 'table' | 'header' | 'label' | 'separator' | 'hidden' | 'form' | 'code' | 'custom';
|
|
10
|
+
type Thumb = 'text' | 'textarea' | 'date' | 'time' | 'datetime' | 'select' | 'radio' | 'radio-inline' | 'checkbox' | 'checkbox-group' | 'switch' | 'file' | 'images' | 'sign' | 'table' | 'header' | 'label' | 'master-label' | 'separator' | 'hidden' | 'form' | 'code' | 'custom';
|
|
11
11
|
interface PaletteCard {
|
|
12
12
|
entry: DocumentTemplateInputType;
|
|
13
13
|
value: string;
|
|
@@ -16,10 +16,12 @@ interface PaletteCard {
|
|
|
16
16
|
thumb: Thumb;
|
|
17
17
|
icon?: string;
|
|
18
18
|
}
|
|
19
|
-
declare
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
declare const __VLS_template: () => {
|
|
20
|
+
__VLS_Slots: {
|
|
21
|
+
title?: (props: {}) => any;
|
|
22
|
+
};
|
|
22
23
|
};
|
|
24
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
23
25
|
declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
24
26
|
search: import("vue").Ref<string, string>;
|
|
25
27
|
cards: import("vue").ComputedRef<PaletteCard[]>;
|
|
@@ -39,10 +41,10 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
|
39
41
|
}>, {
|
|
40
42
|
disabled: boolean;
|
|
41
43
|
title: string;
|
|
42
|
-
types: string[];
|
|
43
44
|
exclude: string[];
|
|
44
|
-
searchable: boolean;
|
|
45
45
|
grouped: boolean;
|
|
46
|
+
searchable: boolean;
|
|
47
|
+
types: string[];
|
|
46
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
50
|
declare const _default: typeof __VLS_export;
|
|
@@ -35,6 +35,7 @@ const THUMBS = {
|
|
|
35
35
|
FormTableData: "table",
|
|
36
36
|
Header: "header",
|
|
37
37
|
LabelField: "label",
|
|
38
|
+
MasterLabel: "master-label",
|
|
38
39
|
Separator: "separator",
|
|
39
40
|
FormHidden: "hidden",
|
|
40
41
|
DocumentForm: "form",
|
|
@@ -75,6 +76,7 @@ const THUMB_GROUP = {
|
|
|
75
76
|
"table": "table",
|
|
76
77
|
"header": "layout",
|
|
77
78
|
"label": "layout",
|
|
79
|
+
"master-label": "layout",
|
|
78
80
|
"separator": "layout",
|
|
79
81
|
"hidden": "advanced",
|
|
80
82
|
"form": "advanced",
|
|
@@ -327,6 +329,20 @@ defineExpose({ search, cards, sections });
|
|
|
327
329
|
Value
|
|
328
330
|
</div>
|
|
329
331
|
</template>
|
|
332
|
+
<template v-else-if="card.thumb === 'master-label'">
|
|
333
|
+
<div class="doc-palette__label-caption">
|
|
334
|
+
Group key
|
|
335
|
+
</div>
|
|
336
|
+
<div class="doc-palette__label-value d-flex align-center">
|
|
337
|
+
<v-icon
|
|
338
|
+
size="14"
|
|
339
|
+
class="mr-1"
|
|
340
|
+
>
|
|
341
|
+
mdi:mdi-database-outline
|
|
342
|
+
</v-icon>
|
|
343
|
+
Name
|
|
344
|
+
</div>
|
|
345
|
+
</template>
|
|
330
346
|
<v-divider
|
|
331
347
|
v-else-if="card.thumb === 'separator'"
|
|
332
348
|
class="doc-palette__separator"
|
|
@@ -7,7 +7,7 @@ interface Props {
|
|
|
7
7
|
grouped?: boolean;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}
|
|
10
|
-
type Thumb = 'text' | 'textarea' | 'date' | 'time' | 'datetime' | 'select' | 'radio' | 'radio-inline' | 'checkbox' | 'checkbox-group' | 'switch' | 'file' | 'images' | 'sign' | 'table' | 'header' | 'label' | 'separator' | 'hidden' | 'form' | 'code' | 'custom';
|
|
10
|
+
type Thumb = 'text' | 'textarea' | 'date' | 'time' | 'datetime' | 'select' | 'radio' | 'radio-inline' | 'checkbox' | 'checkbox-group' | 'switch' | 'file' | 'images' | 'sign' | 'table' | 'header' | 'label' | 'master-label' | 'separator' | 'hidden' | 'form' | 'code' | 'custom';
|
|
11
11
|
interface PaletteCard {
|
|
12
12
|
entry: DocumentTemplateInputType;
|
|
13
13
|
value: string;
|
|
@@ -16,10 +16,12 @@ interface PaletteCard {
|
|
|
16
16
|
thumb: Thumb;
|
|
17
17
|
icon?: string;
|
|
18
18
|
}
|
|
19
|
-
declare
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
declare const __VLS_template: () => {
|
|
20
|
+
__VLS_Slots: {
|
|
21
|
+
title?: (props: {}) => any;
|
|
22
|
+
};
|
|
22
23
|
};
|
|
24
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
23
25
|
declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
24
26
|
search: import("vue").Ref<string, string>;
|
|
25
27
|
cards: import("vue").ComputedRef<PaletteCard[]>;
|
|
@@ -39,10 +41,10 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
|
39
41
|
}>, {
|
|
40
42
|
disabled: boolean;
|
|
41
43
|
title: string;
|
|
42
|
-
types: string[];
|
|
43
44
|
exclude: string[];
|
|
44
|
-
searchable: boolean;
|
|
45
45
|
grouped: boolean;
|
|
46
|
+
searchable: boolean;
|
|
47
|
+
types: string[];
|
|
46
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
50
|
declare const _default: typeof __VLS_export;
|
|
@@ -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
|
|
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: {
|
|
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
|
declare function save(): void;
|
|
12
12
|
declare function cancel(): void;
|
|
13
13
|
declare function setOriginalData(originalData?: object): void;
|
|
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: {
|
|
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
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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;
|
|
@@ -20,30 +20,32 @@ type __VLS_ModelProps = {
|
|
|
20
20
|
modelValue?: boolean;
|
|
21
21
|
};
|
|
22
22
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
23
|
-
declare
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
|
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: {
|
|
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
|
|
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: {
|
|
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
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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;
|