@ramathibodi/nuxt-commons 0.1.74 → 4.0.1
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/README.md +9 -2
- package/dist/module.json +4 -4
- package/dist/module.mjs +4 -4
- package/dist/runtime/bridges/authentication.d.ts +21 -0
- package/dist/runtime/bridges/authentication.js +20 -0
- package/dist/runtime/bridges/graphql.d.ts +17 -0
- package/dist/runtime/bridges/graphql.js +45 -0
- package/dist/runtime/components/Alert.d.vue.ts +3 -0
- package/dist/runtime/components/Alert.vue +17 -26
- package/dist/runtime/components/Alert.vue.d.ts +3 -0
- package/dist/runtime/components/BarcodeReader.d.vue.ts +9 -0
- package/dist/runtime/components/BarcodeReader.vue +56 -81
- package/dist/runtime/components/BarcodeReader.vue.d.ts +9 -0
- package/dist/runtime/components/ExportCSV.d.vue.ts +55 -0
- package/dist/runtime/components/ExportCSV.vue +39 -76
- package/dist/runtime/components/ExportCSV.vue.d.ts +55 -0
- package/dist/runtime/components/FileBtn.d.vue.ts +53 -0
- package/dist/runtime/components/FileBtn.vue +23 -50
- package/dist/runtime/components/FileBtn.vue.d.ts +53 -0
- package/dist/runtime/components/ImportCSV.d.vue.ts +52 -0
- package/dist/runtime/components/ImportCSV.vue +60 -111
- package/dist/runtime/components/ImportCSV.vue.d.ts +52 -0
- package/dist/runtime/components/MrzReader.d.vue.ts +19 -0
- package/dist/runtime/components/MrzReader.vue +69 -109
- package/dist/runtime/components/MrzReader.vue.d.ts +19 -0
- package/dist/runtime/components/SplitterPanel.d.vue.ts +15 -0
- package/dist/runtime/components/SplitterPanel.vue +18 -35
- package/dist/runtime/components/SplitterPanel.vue.d.ts +15 -0
- package/dist/runtime/components/TabsGroup.d.vue.ts +19 -0
- package/dist/runtime/components/TabsGroup.vue +8 -20
- package/dist/runtime/components/TabsGroup.vue.d.ts +19 -0
- package/dist/runtime/components/TextBarcode.d.vue.ts +12 -0
- package/dist/runtime/components/TextBarcode.vue +22 -45
- package/dist/runtime/components/TextBarcode.vue.d.ts +12 -0
- package/dist/runtime/components/device/IdCardButton.d.vue.ts +57 -0
- package/dist/runtime/components/device/IdCardButton.vue +30 -67
- package/dist/runtime/components/device/IdCardButton.vue.d.ts +57 -0
- package/dist/runtime/components/device/IdCardWebSocket.d.vue.ts +55 -0
- package/dist/runtime/components/device/IdCardWebSocket.vue +104 -165
- package/dist/runtime/components/device/IdCardWebSocket.vue.d.ts +55 -0
- package/dist/runtime/components/device/Scanner.d.vue.ts +66 -0
- package/dist/runtime/components/device/Scanner.vue +97 -178
- package/dist/runtime/components/device/Scanner.vue.d.ts +66 -0
- package/dist/runtime/components/dialog/Confirm.d.vue.ts +37 -0
- package/dist/runtime/components/dialog/Confirm.vue +30 -59
- package/dist/runtime/components/dialog/Confirm.vue.d.ts +37 -0
- package/dist/runtime/components/dialog/Host.d.vue.ts +9 -0
- package/dist/runtime/components/dialog/Host.vue +34 -57
- package/dist/runtime/components/dialog/Host.vue.d.ts +9 -0
- package/dist/runtime/components/dialog/Index.d.vue.ts +24 -0
- package/dist/runtime/components/dialog/Index.vue +20 -40
- package/dist/runtime/components/dialog/Index.vue.d.ts +24 -0
- package/dist/runtime/components/dialog/Loading.d.vue.ts +21 -0
- package/dist/runtime/components/dialog/Loading.vue +12 -29
- package/dist/runtime/components/dialog/Loading.vue.d.ts +21 -0
- package/dist/runtime/components/dialog/default/Confirm.d.vue.ts +40 -0
- package/dist/runtime/components/dialog/default/Confirm.vue +29 -62
- package/dist/runtime/components/dialog/default/Confirm.vue.d.ts +40 -0
- package/dist/runtime/components/dialog/default/Loading.d.vue.ts +23 -0
- package/dist/runtime/components/dialog/default/Loading.vue +12 -29
- package/dist/runtime/components/dialog/default/Loading.vue.d.ts +23 -0
- package/dist/runtime/components/dialog/default/Notify.d.vue.ts +23 -0
- package/dist/runtime/components/dialog/default/Notify.vue +19 -48
- package/dist/runtime/components/dialog/default/Notify.vue.d.ts +23 -0
- package/dist/runtime/components/dialog/default/Printing.d.vue.ts +21 -0
- package/dist/runtime/components/dialog/default/Printing.vue +13 -29
- package/dist/runtime/components/dialog/default/Printing.vue.d.ts +21 -0
- package/dist/runtime/components/dialog/default/VerifyUser.d.vue.ts +29 -0
- package/dist/runtime/components/dialog/default/VerifyUser.vue +44 -82
- package/dist/runtime/components/dialog/default/VerifyUser.vue.d.ts +29 -0
- package/dist/runtime/components/document/Form.d.vue.ts +9 -0
- package/dist/runtime/components/document/Form.vue +27 -42
- package/dist/runtime/components/document/Form.vue.d.ts +9 -0
- package/dist/runtime/components/document/TemplateBuilder.d.vue.ts +24 -0
- package/dist/runtime/components/document/TemplateBuilder.vue +154 -194
- package/dist/runtime/components/document/TemplateBuilder.vue.d.ts +24 -0
- package/dist/runtime/components/form/ActionPad.d.vue.ts +114 -0
- package/dist/runtime/components/form/ActionPad.vue +48 -85
- package/dist/runtime/components/form/ActionPad.vue.d.ts +114 -0
- package/dist/runtime/components/form/Birthdate.d.vue.ts +38 -0
- package/dist/runtime/components/form/Birthdate.vue +44 -76
- package/dist/runtime/components/form/Birthdate.vue.d.ts +38 -0
- package/dist/runtime/components/form/CheckboxGroup.d.vue.ts +41 -0
- package/dist/runtime/components/form/CheckboxGroup.vue +34 -64
- package/dist/runtime/components/form/CheckboxGroup.vue.d.ts +41 -0
- package/dist/runtime/components/form/CodeEditor.d.vue.ts +25 -0
- package/dist/runtime/components/form/CodeEditor.vue +18 -36
- package/dist/runtime/components/form/CodeEditor.vue.d.ts +25 -0
- package/dist/runtime/components/form/Date.d.vue.ts +86 -0
- package/dist/runtime/components/form/Date.vue +109 -162
- package/dist/runtime/components/form/Date.vue.d.ts +86 -0
- package/dist/runtime/components/form/DateTime.d.vue.ts +36 -0
- package/dist/runtime/components/form/DateTime.vue +94 -143
- package/dist/runtime/components/form/DateTime.vue.d.ts +36 -0
- package/dist/runtime/components/form/Dialog.d.vue.ts +69 -0
- package/dist/runtime/components/form/Dialog.vue +60 -96
- package/dist/runtime/components/form/Dialog.vue.d.ts +69 -0
- package/dist/runtime/components/form/EditPad.d.vue.ts +113 -0
- package/dist/runtime/components/form/EditPad.vue +49 -85
- package/dist/runtime/components/form/EditPad.vue.d.ts +113 -0
- package/dist/runtime/components/form/File.d.vue.ts +65 -0
- package/dist/runtime/components/form/File.vue +112 -186
- package/dist/runtime/components/form/File.vue.d.ts +65 -0
- package/dist/runtime/components/form/Hidden.d.vue.ts +12 -0
- package/dist/runtime/components/form/Hidden.vue +17 -34
- package/dist/runtime/components/form/Hidden.vue.d.ts +12 -0
- package/dist/runtime/components/form/Iterator.d.vue.ts +279 -0
- package/dist/runtime/components/form/Iterator.vue +162 -252
- package/dist/runtime/components/form/Iterator.vue.d.ts +279 -0
- package/dist/runtime/components/form/Login.d.vue.ts +32 -0
- package/dist/runtime/components/form/Login.vue +23 -55
- package/dist/runtime/components/form/Login.vue.d.ts +32 -0
- package/dist/runtime/components/form/Pad.d.vue.ts +674 -0
- package/dist/runtime/components/form/Pad.vue +166 -265
- package/dist/runtime/components/form/Pad.vue.d.ts +674 -0
- package/dist/runtime/components/form/SignPad.d.vue.ts +62 -0
- package/dist/runtime/components/form/SignPad.vue +80 -126
- package/dist/runtime/components/form/SignPad.vue.d.ts +62 -0
- package/dist/runtime/components/form/System.d.vue.ts +34 -0
- package/dist/runtime/components/form/System.vue +18 -32
- package/dist/runtime/components/form/System.vue.d.ts +34 -0
- package/dist/runtime/components/form/Table.d.vue.ts +221 -0
- package/dist/runtime/components/form/Table.vue +123 -182
- package/dist/runtime/components/form/Table.vue.d.ts +221 -0
- package/dist/runtime/components/form/TableData.d.vue.ts +102 -0
- package/dist/runtime/components/form/TableData.vue +109 -139
- package/dist/runtime/components/form/TableData.vue.d.ts +102 -0
- package/dist/runtime/components/form/Time.d.vue.ts +49 -0
- package/dist/runtime/components/form/Time.vue +64 -99
- package/dist/runtime/components/form/Time.vue.d.ts +49 -0
- package/dist/runtime/components/form/images/Capture.d.vue.ts +96 -0
- package/dist/runtime/components/form/images/Capture.vue +104 -147
- package/dist/runtime/components/form/images/Capture.vue.d.ts +96 -0
- package/dist/runtime/components/form/images/Edit.d.vue.ts +29 -0
- package/dist/runtime/components/form/images/Edit.vue +57 -81
- package/dist/runtime/components/form/images/Edit.vue.d.ts +29 -0
- package/dist/runtime/components/form/images/Field.d.vue.ts +27 -0
- package/dist/runtime/components/form/images/Field.vue +136 -205
- package/dist/runtime/components/form/images/Field.vue.d.ts +27 -0
- package/dist/runtime/components/form/images/Pad.d.vue.ts +13 -0
- package/dist/runtime/components/form/images/Pad.vue +23 -40
- package/dist/runtime/components/form/images/Pad.vue.d.ts +13 -0
- package/dist/runtime/components/label/Date.d.vue.ts +13 -0
- package/dist/runtime/components/label/Date.vue +13 -29
- package/dist/runtime/components/label/Date.vue.d.ts +13 -0
- package/dist/runtime/components/label/DateAgo.d.vue.ts +20 -0
- package/dist/runtime/components/label/DateAgo.vue +43 -75
- package/dist/runtime/components/label/DateAgo.vue.d.ts +20 -0
- package/dist/runtime/components/label/DateCount.d.vue.ts +22 -0
- package/dist/runtime/components/label/DateCount.vue +58 -105
- package/dist/runtime/components/label/DateCount.vue.d.ts +22 -0
- package/dist/runtime/components/label/Field.d.vue.ts +38 -0
- package/dist/runtime/components/label/Field.vue +18 -40
- package/dist/runtime/components/label/Field.vue.d.ts +38 -0
- package/dist/runtime/components/label/FormatMoney.d.vue.ts +12 -0
- package/dist/runtime/components/label/FormatMoney.vue +12 -28
- package/dist/runtime/components/label/FormatMoney.vue.d.ts +12 -0
- package/dist/runtime/components/label/Mask.d.vue.ts +10 -0
- package/dist/runtime/components/label/Mask.vue +21 -38
- package/dist/runtime/components/label/Mask.vue.d.ts +10 -0
- package/dist/runtime/components/label/Object.d.vue.ts +8 -0
- package/dist/runtime/components/label/Object.vue +10 -20
- package/dist/runtime/components/label/Object.vue.d.ts +8 -0
- package/dist/runtime/components/master/Autocomplete.d.vue.ts +70 -0
- package/dist/runtime/components/master/Autocomplete.vue +25 -34
- package/dist/runtime/components/master/Autocomplete.vue.d.ts +70 -0
- package/dist/runtime/components/master/Combobox.d.vue.ts +70 -0
- package/dist/runtime/components/master/Combobox.vue +26 -35
- package/dist/runtime/components/master/Combobox.vue.d.ts +70 -0
- package/dist/runtime/components/master/RadioGroup.d.vue.ts +51 -0
- package/dist/runtime/components/master/RadioGroup.vue +44 -59
- package/dist/runtime/components/master/RadioGroup.vue.d.ts +51 -0
- package/dist/runtime/components/master/Select.d.vue.ts +68 -0
- package/dist/runtime/components/master/Select.vue +25 -34
- package/dist/runtime/components/master/Select.vue.d.ts +68 -0
- package/dist/runtime/components/master/label.d.vue.ts +24 -0
- package/dist/runtime/components/master/label.vue +22 -42
- package/dist/runtime/components/master/label.vue.d.ts +24 -0
- package/dist/runtime/components/model/Autocomplete.d.vue.ts +82 -0
- package/dist/runtime/components/model/Autocomplete.vue +50 -49
- package/dist/runtime/components/model/Autocomplete.vue.d.ts +82 -0
- package/dist/runtime/components/model/Combobox.d.vue.ts +82 -0
- package/dist/runtime/components/model/Combobox.vue +51 -49
- package/dist/runtime/components/model/Combobox.vue.d.ts +82 -0
- package/dist/runtime/components/model/Pad.d.vue.ts +72 -0
- package/dist/runtime/components/model/Pad.vue +50 -65
- package/dist/runtime/components/model/Pad.vue.d.ts +72 -0
- package/dist/runtime/components/model/Select.d.vue.ts +72 -0
- package/dist/runtime/components/model/Select.vue +42 -44
- package/dist/runtime/components/model/Select.vue.d.ts +72 -0
- package/dist/runtime/components/model/Table.d.vue.ts +272 -0
- package/dist/runtime/components/model/Table.vue +121 -145
- package/dist/runtime/components/model/Table.vue.d.ts +272 -0
- package/dist/runtime/components/model/iterator.d.vue.ts +321 -0
- package/dist/runtime/components/model/iterator.vue +148 -183
- package/dist/runtime/components/model/iterator.vue.d.ts +321 -0
- package/dist/runtime/components/model/label.d.vue.ts +26 -0
- package/dist/runtime/components/model/label.vue +25 -43
- package/dist/runtime/components/model/label.vue.d.ts +26 -0
- package/dist/runtime/components/pdf/Print.d.vue.ts +17 -0
- package/dist/runtime/components/pdf/Print.vue +27 -50
- package/dist/runtime/components/pdf/Print.vue.d.ts +17 -0
- package/dist/runtime/components/pdf/View.d.vue.ts +52 -0
- package/dist/runtime/components/pdf/View.vue +58 -95
- package/dist/runtime/components/pdf/View.vue.d.ts +52 -0
- package/dist/runtime/composables/api.js +4 -2
- package/dist/runtime/composables/assetFile.js +4 -2
- package/dist/runtime/composables/dialog.d.ts +1 -1
- package/dist/runtime/composables/document/template.js +3 -3
- package/dist/runtime/composables/document/templateFormTable.js +1 -0
- package/dist/runtime/composables/graphql.d.ts +2 -2
- package/dist/runtime/composables/graphql.js +5 -5
- package/dist/runtime/composables/graphqlModel.d.ts +6 -6
- package/dist/runtime/composables/graphqlModelItem.d.ts +4 -4
- package/dist/runtime/composables/graphqlModelOperation.d.ts +6 -6
- package/dist/runtime/composables/graphqlModelOperation.js +2 -1
- package/dist/runtime/composables/graphqlOperation.js +5 -1
- package/dist/runtime/composables/hostAgentWs.d.ts +1 -1
- package/dist/runtime/composables/lookupListMaster.js +3 -3
- package/dist/runtime/composables/menu.js +2 -2
- package/dist/runtime/composables/userPermission.d.ts +1 -1
- package/dist/runtime/composables/utils/fuzzy.d.ts +2 -1
- package/dist/runtime/labs/Calendar.d.vue.ts +35 -0
- package/dist/runtime/labs/Calendar.vue +47 -75
- package/dist/runtime/labs/Calendar.vue.d.ts +35 -0
- package/dist/runtime/labs/form/EditMobile.d.vue.ts +12 -0
- package/dist/runtime/labs/form/EditMobile.vue +19 -36
- package/dist/runtime/labs/form/EditMobile.vue.d.ts +12 -0
- package/dist/runtime/labs/form/TextFieldMask.d.vue.ts +21 -0
- package/dist/runtime/labs/form/TextFieldMask.vue +19 -25
- package/dist/runtime/labs/form/TextFieldMask.vue.d.ts +21 -0
- package/dist/runtime/plugins/dialogManager.js +2 -2
- package/dist/runtime/plugins/permission.js +3 -3
- package/dist/runtime/types/bridge.d.ts +14 -0
- package/dist/runtime/utils/datetime.js +1 -1
- package/dist/types.d.mts +2 -6
- package/package.json +71 -59
- package/scripts/ci-release.mjs +125 -0
- package/scripts/release-version.mjs +68 -0
- package/scripts/release.mjs +49 -0
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -8
- package/dist/types.d.ts +0 -7
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import type { FormDialogCallback } from '../../types/formDialog.js';
|
|
2
|
+
import { VDataIterator } from "vuetify/components/VDataIterator";
|
|
3
|
+
import { VDataTable } from "vuetify/components/VDataTable";
|
|
4
|
+
interface Props extends /* @vue-ignore */ InstanceType<typeof VDataIterator['$props']>, /* @vue-ignore */ InstanceType<typeof VDataTable['$props']> {
|
|
5
|
+
title: string;
|
|
6
|
+
noDataText?: string;
|
|
7
|
+
modelValue?: Record<string, any>[];
|
|
8
|
+
modelKey?: string;
|
|
9
|
+
dialogFullscreen?: boolean;
|
|
10
|
+
initialData?: Record<string, any>;
|
|
11
|
+
toolbarColor?: string;
|
|
12
|
+
importable?: boolean;
|
|
13
|
+
exportable?: boolean;
|
|
14
|
+
insertable?: boolean;
|
|
15
|
+
searchable?: boolean;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
viewSwitch?: boolean;
|
|
18
|
+
viewSwitchMultiple?: boolean;
|
|
19
|
+
cols?: string | number | boolean;
|
|
20
|
+
xxl?: string | number | boolean;
|
|
21
|
+
xl?: string | number | boolean;
|
|
22
|
+
lg?: string | number | boolean;
|
|
23
|
+
md?: string | number | boolean;
|
|
24
|
+
sm?: string | number | boolean;
|
|
25
|
+
itemsPerPage?: string | number;
|
|
26
|
+
preferTable?: string | number | boolean;
|
|
27
|
+
preferTableXxl?: string | number | boolean;
|
|
28
|
+
preferTableXl?: string | number | boolean;
|
|
29
|
+
preferTableLg?: string | number | boolean;
|
|
30
|
+
preferTableMd?: string | number | boolean;
|
|
31
|
+
preferTableSm?: string | number | boolean;
|
|
32
|
+
}
|
|
33
|
+
declare function setSearch(keyword: string): void;
|
|
34
|
+
declare function createItem(item: Record<string, any>, callback?: FormDialogCallback): void;
|
|
35
|
+
declare function updateItem(newItem: Record<string, any>, callback?: FormDialogCallback): void;
|
|
36
|
+
declare function moveUpItem(currentItem: Record<string, any>, callback?: FormDialogCallback): void;
|
|
37
|
+
declare function moveDownItem(currentItem: Record<string, any>, callback?: FormDialogCallback): void;
|
|
38
|
+
declare function moveToItem(currentItem: Record<string, any>, callback?: FormDialogCallback): void;
|
|
39
|
+
declare function deleteItem(deleteItem: Record<string, any>, callback?: FormDialogCallback): void;
|
|
40
|
+
declare function openDialog(item?: object): void;
|
|
41
|
+
declare var __VLS_29: {
|
|
42
|
+
operation: {
|
|
43
|
+
openDialog: typeof openDialog;
|
|
44
|
+
createItem: typeof createItem;
|
|
45
|
+
updateItem: typeof updateItem;
|
|
46
|
+
deleteItem: typeof deleteItem;
|
|
47
|
+
moveUpItem: typeof moveUpItem;
|
|
48
|
+
moveDownItem: typeof moveDownItem;
|
|
49
|
+
moveToItem: typeof moveToItem;
|
|
50
|
+
setSearch: typeof setSearch;
|
|
51
|
+
};
|
|
52
|
+
page: number;
|
|
53
|
+
itemsPerPage: number;
|
|
54
|
+
sortBy: readonly import("vuetify/lib/types.mjs").DataTableSortItem[];
|
|
55
|
+
pageCount: number;
|
|
56
|
+
toggleSort: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/sort.mjs").provideSort>["toggleSort"];
|
|
57
|
+
prevPage: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/paginate.mjs").providePagination>["prevPage"];
|
|
58
|
+
nextPage: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/paginate.mjs").providePagination>["nextPage"];
|
|
59
|
+
setPage: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/paginate.mjs").providePagination>["setPage"];
|
|
60
|
+
setItemsPerPage: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/paginate.mjs").providePagination>["setItemsPerPage"];
|
|
61
|
+
isSelected: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/select.mjs").provideSelection>["isSelected"];
|
|
62
|
+
select: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/select.mjs").provideSelection>["select"];
|
|
63
|
+
selectAll: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/select.mjs").provideSelection>["selectAll"];
|
|
64
|
+
toggleSelect: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/select.mjs").provideSelection>["toggleSelect"];
|
|
65
|
+
isExpanded: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/expand.mjs").provideExpanded>["isExpanded"];
|
|
66
|
+
toggleExpand: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/expand.mjs").provideExpanded>["toggleExpand"];
|
|
67
|
+
isGroupOpen: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/group.mjs").provideGroupBy>["isGroupOpen"];
|
|
68
|
+
toggleGroup: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/group.mjs").provideGroupBy>["toggleGroup"];
|
|
69
|
+
items: readonly import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>[];
|
|
70
|
+
itemsCount: number;
|
|
71
|
+
groupedItems: readonly (import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>> | import("vuetify/lib/components/VDataTable/composables/group.mjs").Group<import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>> | import("vuetify/lib/components/VDataTable/composables/group.mjs").GroupSummary<import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>>)[];
|
|
72
|
+
}, __VLS_49: {
|
|
73
|
+
item: import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>;
|
|
74
|
+
operation: {
|
|
75
|
+
openDialog: typeof openDialog;
|
|
76
|
+
createItem: typeof createItem;
|
|
77
|
+
updateItem: typeof updateItem;
|
|
78
|
+
deleteItem: typeof deleteItem;
|
|
79
|
+
moveUpItem: typeof moveUpItem;
|
|
80
|
+
moveDownItem: typeof moveDownItem;
|
|
81
|
+
moveToItem: typeof moveToItem;
|
|
82
|
+
setSearch: typeof setSearch;
|
|
83
|
+
};
|
|
84
|
+
}, __VLS_52: {
|
|
85
|
+
color: string | undefined;
|
|
86
|
+
isActive: boolean;
|
|
87
|
+
}, __VLS_72: {}, __VLS_80: {
|
|
88
|
+
items: Record<string, any>[];
|
|
89
|
+
operation: {
|
|
90
|
+
openDialog: typeof openDialog;
|
|
91
|
+
createItem: typeof createItem;
|
|
92
|
+
updateItem: typeof updateItem;
|
|
93
|
+
deleteItem: typeof deleteItem;
|
|
94
|
+
moveUpItem: typeof moveUpItem;
|
|
95
|
+
moveDownItem: typeof moveDownItem;
|
|
96
|
+
moveToItem: typeof moveToItem;
|
|
97
|
+
setSearch: typeof setSearch;
|
|
98
|
+
};
|
|
99
|
+
page: number;
|
|
100
|
+
itemsPerPage: number;
|
|
101
|
+
sortBy: readonly import("vuetify/lib/types.mjs").DataTableSortItem[];
|
|
102
|
+
pageCount: number;
|
|
103
|
+
toggleSort: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/sort.mjs").provideSort>["toggleSort"];
|
|
104
|
+
prevPage: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/paginate.mjs").providePagination>["prevPage"];
|
|
105
|
+
nextPage: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/paginate.mjs").providePagination>["nextPage"];
|
|
106
|
+
setPage: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/paginate.mjs").providePagination>["setPage"];
|
|
107
|
+
setItemsPerPage: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/paginate.mjs").providePagination>["setItemsPerPage"];
|
|
108
|
+
isSelected: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/select.mjs").provideSelection>["isSelected"];
|
|
109
|
+
select: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/select.mjs").provideSelection>["select"];
|
|
110
|
+
selectAll: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/select.mjs").provideSelection>["selectAll"];
|
|
111
|
+
toggleSelect: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/select.mjs").provideSelection>["toggleSelect"];
|
|
112
|
+
isExpanded: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/expand.mjs").provideExpanded>["isExpanded"];
|
|
113
|
+
toggleExpand: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/expand.mjs").provideExpanded>["toggleExpand"];
|
|
114
|
+
isGroupOpen: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/group.mjs").provideGroupBy>["isGroupOpen"];
|
|
115
|
+
toggleGroup: ReturnType<typeof import("vuetify/lib/components/VDataTable/composables/group.mjs").provideGroupBy>["toggleGroup"];
|
|
116
|
+
itemsCount: number;
|
|
117
|
+
groupedItems: readonly (import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>> | import("vuetify/lib/components/VDataTable/composables/group.mjs").Group<import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>> | import("vuetify/lib/components/VDataTable/composables/group.mjs").GroupSummary<import("vuetify/lib/components/VDataIterator/composables/items.mjs").DataIteratorItem<Record<string, any>>>)[];
|
|
118
|
+
}, __VLS_106: {}, __VLS_114: {
|
|
119
|
+
items: Record<string, any>[];
|
|
120
|
+
operation: {
|
|
121
|
+
openDialog: typeof openDialog;
|
|
122
|
+
createItem: typeof createItem;
|
|
123
|
+
updateItem: typeof updateItem;
|
|
124
|
+
deleteItem: typeof deleteItem;
|
|
125
|
+
moveUpItem: typeof moveUpItem;
|
|
126
|
+
moveDownItem: typeof moveDownItem;
|
|
127
|
+
moveToItem: typeof moveToItem;
|
|
128
|
+
setSearch: typeof setSearch;
|
|
129
|
+
};
|
|
130
|
+
}, __VLS_127: {
|
|
131
|
+
items: Record<string, any>[];
|
|
132
|
+
operation: {
|
|
133
|
+
openDialog: typeof openDialog;
|
|
134
|
+
createItem: typeof createItem;
|
|
135
|
+
updateItem: typeof updateItem;
|
|
136
|
+
deleteItem: typeof deleteItem;
|
|
137
|
+
moveUpItem: typeof moveUpItem;
|
|
138
|
+
moveDownItem: typeof moveDownItem;
|
|
139
|
+
moveToItem: typeof moveToItem;
|
|
140
|
+
setSearch: typeof setSearch;
|
|
141
|
+
};
|
|
142
|
+
}, __VLS_179: never, __VLS_180: {
|
|
143
|
+
operation: {
|
|
144
|
+
openDialog: typeof openDialog;
|
|
145
|
+
createItem: typeof createItem;
|
|
146
|
+
updateItem: typeof updateItem;
|
|
147
|
+
deleteItem: typeof deleteItem;
|
|
148
|
+
moveUpItem: typeof moveUpItem;
|
|
149
|
+
moveDownItem: typeof moveDownItem;
|
|
150
|
+
moveToItem: typeof moveToItem;
|
|
151
|
+
setSearch: typeof setSearch;
|
|
152
|
+
};
|
|
153
|
+
isReadonly: import("vue").ComputedRef<boolean>;
|
|
154
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
155
|
+
}, __VLS_266: any;
|
|
156
|
+
type __VLS_Slots = {} & {
|
|
157
|
+
[K in NonNullable<typeof __VLS_179>]?: (props: typeof __VLS_180) => any;
|
|
158
|
+
} & {
|
|
159
|
+
default?: (props: typeof __VLS_29) => any;
|
|
160
|
+
} & {
|
|
161
|
+
item?: (props: typeof __VLS_49) => any;
|
|
162
|
+
} & {
|
|
163
|
+
loader?: (props: typeof __VLS_52) => any;
|
|
164
|
+
} & {
|
|
165
|
+
loaderItem?: (props: typeof __VLS_72) => any;
|
|
166
|
+
} & {
|
|
167
|
+
header?: (props: typeof __VLS_80) => any;
|
|
168
|
+
} & {
|
|
169
|
+
title?: (props: typeof __VLS_106) => any;
|
|
170
|
+
} & {
|
|
171
|
+
search?: (props: typeof __VLS_114) => any;
|
|
172
|
+
} & {
|
|
173
|
+
toolbarItems?: (props: typeof __VLS_127) => any;
|
|
174
|
+
} & {
|
|
175
|
+
form?: (props: typeof __VLS_266) => any;
|
|
176
|
+
};
|
|
177
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
178
|
+
noDataText: string;
|
|
179
|
+
dialogFullscreen: boolean;
|
|
180
|
+
modelKey: string;
|
|
181
|
+
toolbarColor: string;
|
|
182
|
+
importable: boolean;
|
|
183
|
+
exportable: boolean;
|
|
184
|
+
insertable: boolean;
|
|
185
|
+
searchable: boolean;
|
|
186
|
+
loading: boolean;
|
|
187
|
+
viewSwitch: boolean;
|
|
188
|
+
viewSwitchMultiple: boolean;
|
|
189
|
+
cols: number;
|
|
190
|
+
xxl: boolean;
|
|
191
|
+
xl: boolean;
|
|
192
|
+
lg: number;
|
|
193
|
+
md: number;
|
|
194
|
+
sm: number;
|
|
195
|
+
itemsPerPage: number;
|
|
196
|
+
}>>, {
|
|
197
|
+
errorMessages: import("vue").ComputedRef<(string & string[]) | (readonly string[] & string[]) | undefined>;
|
|
198
|
+
isValid: import("vue").ComputedRef<boolean | null | undefined>;
|
|
199
|
+
reset: () => Promise<void> | undefined;
|
|
200
|
+
resetValidation: () => Promise<void> | undefined;
|
|
201
|
+
validate: () => Promise<string[]> | undefined;
|
|
202
|
+
operation: import("vue").Ref<{
|
|
203
|
+
openDialog: typeof openDialog;
|
|
204
|
+
createItem: typeof createItem;
|
|
205
|
+
updateItem: typeof updateItem;
|
|
206
|
+
deleteItem: typeof deleteItem;
|
|
207
|
+
moveUpItem: typeof moveUpItem;
|
|
208
|
+
moveDownItem: typeof moveDownItem;
|
|
209
|
+
moveToItem: typeof moveToItem;
|
|
210
|
+
setSearch: typeof setSearch;
|
|
211
|
+
}, {
|
|
212
|
+
openDialog: typeof openDialog;
|
|
213
|
+
createItem: typeof createItem;
|
|
214
|
+
updateItem: typeof updateItem;
|
|
215
|
+
deleteItem: typeof deleteItem;
|
|
216
|
+
moveUpItem: typeof moveUpItem;
|
|
217
|
+
moveDownItem: typeof moveDownItem;
|
|
218
|
+
moveToItem: typeof moveToItem;
|
|
219
|
+
setSearch: typeof setSearch;
|
|
220
|
+
} | {
|
|
221
|
+
openDialog: typeof openDialog;
|
|
222
|
+
createItem: typeof createItem;
|
|
223
|
+
updateItem: typeof updateItem;
|
|
224
|
+
deleteItem: typeof deleteItem;
|
|
225
|
+
moveUpItem: typeof moveUpItem;
|
|
226
|
+
moveDownItem: typeof moveDownItem;
|
|
227
|
+
moveToItem: typeof moveToItem;
|
|
228
|
+
setSearch: typeof setSearch;
|
|
229
|
+
}>;
|
|
230
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
231
|
+
"update:modelValue": (...args: any[]) => void;
|
|
232
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
233
|
+
noDataText: string;
|
|
234
|
+
dialogFullscreen: boolean;
|
|
235
|
+
modelKey: string;
|
|
236
|
+
toolbarColor: string;
|
|
237
|
+
importable: boolean;
|
|
238
|
+
exportable: boolean;
|
|
239
|
+
insertable: boolean;
|
|
240
|
+
searchable: boolean;
|
|
241
|
+
loading: boolean;
|
|
242
|
+
viewSwitch: boolean;
|
|
243
|
+
viewSwitchMultiple: boolean;
|
|
244
|
+
cols: number;
|
|
245
|
+
xxl: boolean;
|
|
246
|
+
xl: boolean;
|
|
247
|
+
lg: number;
|
|
248
|
+
md: number;
|
|
249
|
+
sm: number;
|
|
250
|
+
itemsPerPage: number;
|
|
251
|
+
}>>> & Readonly<{
|
|
252
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
253
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
254
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
255
|
+
declare const _default: typeof __VLS_export;
|
|
256
|
+
export default _default;
|
|
257
|
+
type __VLS_TypePropsToOption<T> = {
|
|
258
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
259
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
260
|
+
} : {
|
|
261
|
+
type: import('vue').PropType<T[K]>;
|
|
262
|
+
required: true;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
type __VLS_WithDefaults<P, D> = {
|
|
266
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
267
|
+
default: D[K];
|
|
268
|
+
}> : P[K];
|
|
269
|
+
};
|
|
270
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
271
|
+
new (): {
|
|
272
|
+
$slots: S;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
276
|
+
[K in keyof T]: T[K];
|
|
277
|
+
} : {
|
|
278
|
+
[K in keyof T as K]: T[K];
|
|
279
|
+
}) & {};
|