vlite3 1.1.1 → 1.1.4
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/components/AttachmentsList/AttachmentsList.vue.d.ts +2 -17
- package/components/AttachmentsList/AttachmentsList.vue.js +273 -175
- package/components/Avatar.vue.js +1 -1
- package/components/AvatarUploader/AvatarUploader.vue.d.ts +1 -1
- package/components/AvatarUploader/AvatarUploader.vue.js +40 -37
- package/components/Button.vue.d.ts +1 -1
- package/components/Button.vue.js +30 -28
- package/components/Calendar/Calendar.vue.d.ts +6 -6
- package/components/Carousel/Carousel.vue.d.ts +2 -2
- package/components/CategoryManager/CategoryManager.vue.d.ts +12 -3
- package/components/CategoryManager/CategoryManager.vue.js +204 -145
- package/components/CategoryManager/CategoryNode.vue.d.ts +2 -0
- package/components/CategoryManager/CategoryNode.vue.js +93 -88
- package/components/CategoryManager/types.d.ts +14 -0
- package/components/Chat/ChatBubble.vue.js +22 -22
- package/components/CheckBox.vue.js +29 -28
- package/components/Chip/Chip.vue.d.ts +2 -2
- package/components/ConfirmationModal.vue.d.ts +2 -2
- package/components/ConfirmationModal.vue.js +30 -28
- package/components/CopyButton.vue.d.ts +50 -0
- package/components/CopyButton.vue.js +69 -0
- package/components/CopyButton.vue2.js +4 -0
- package/components/CustomFieldsDisplay/CustomFieldsDisplay.vue.d.ts +1 -1
- package/components/DataTable/DataTable.vue.d.ts +3 -3
- package/components/DataTable/DataTable.vue.js +44 -44
- package/components/DatePicker.vue.js +41 -35
- package/components/DateRangePicker.vue.js +18 -17
- package/components/Dropdown/Dropdown.vue.d.ts +5 -2
- package/components/Dropdown/Dropdown.vue.js +117 -115
- package/components/Dropdown/DropdownBooleanItem.vue.js +16 -15
- package/components/Dropdown/DropdownGroupedLayout.vue.d.ts +1 -1
- package/components/Dropdown/DropdownItem.vue.js +21 -20
- package/components/Dropdown/DropdownMenu.vue.d.ts +1 -1
- package/components/Dropdown/DropdownMenu.vue.js +1 -1
- package/components/Dropdown/DropdownMenu.vue2.js +13 -12
- package/components/Dropdown/DropdownTrigger.vue.d.ts +3 -1
- package/components/Dropdown/DropdownTrigger.vue.js +10 -6
- package/components/Dropdown/composables/useDropdownHydration.d.ts +2 -0
- package/components/Dropdown/composables/useDropdownSelection.d.ts +1 -0
- package/components/Dropdown/composables/useDropdownSelection.js +46 -31
- package/components/FilePicker/FilePicker.vue.d.ts +1 -1
- package/components/FilePicker/FilePicker.vue.js +93 -90
- package/components/Form/CustomFields.vue.js +2 -2
- package/components/Form/Form.vue.js +1 -1
- package/components/Form/Form.vue2.js +230 -238
- package/components/Form/FormField.vue.d.ts +1 -1
- package/components/Form/FormField.vue.js +204 -148
- package/components/Form/FormFields.vue.js +2 -2
- package/components/Form/FormFields.vue2.js +28 -27
- package/components/Form/types.d.ts +2 -2
- package/components/Form/utils/form.utils.d.ts +3 -3
- package/components/Form/utils/form.utils.js +37 -37
- package/components/Input.vue.d.ts +3 -3
- package/components/Input.vue.js +64 -62
- package/components/Invoice/Invoice.vue.d.ts +1 -4
- package/components/Invoice/Invoice.vue.js +22 -13
- package/components/Invoice/InvoiceTotals.vue.d.ts +14 -0
- package/components/Invoice/InvoiceTotals.vue.js +86 -0
- package/components/Invoice/InvoiceTotals.vue2.js +4 -0
- package/components/Invoice/InvoiceVariant1.vue.d.ts +6 -1
- package/components/Invoice/InvoiceVariant1.vue.js +304 -271
- package/components/Invoice/InvoiceVariant2.vue.d.ts +6 -1
- package/components/Invoice/InvoiceVariant2.vue.js +168 -181
- package/components/Invoice/InvoiceVariant3.vue.d.ts +6 -1
- package/components/Invoice/InvoiceVariant3.vue.js +215 -182
- package/components/Invoice/InvoiceVariant4.vue.d.ts +6 -1
- package/components/Invoice/InvoiceVariant4.vue.js +281 -238
- package/components/Invoice/index.d.ts +1 -0
- package/components/Invoice/types.d.ts +26 -0
- package/components/List/List.vue.d.ts +1 -9
- package/components/List/List.vue.js +166 -165
- package/components/List/ListFieldRow.vue.d.ts +2 -2
- package/components/List/ListFieldRow.vue.js +50 -50
- package/components/Masonry/Masonry.vue.d.ts +1 -1
- package/components/Modal.vue.js +1 -1
- package/components/Modal.vue2.js +60 -54
- package/components/MultiSelect/MultiSelect.vue.d.ts +1 -1
- package/components/MultiSelect/MultiSelect.vue.js +47 -46
- package/components/MultiSelect/composables/useMultiSelectHydration.d.ts +2 -0
- package/components/Navbar/NavbarItem.vue.d.ts +1 -1
- package/components/NumberInput.vue.d.ts +2 -2
- package/components/NumberInput.vue.js +2 -2
- package/components/NumberInput.vue2.js +121 -116
- package/components/OTPInput/OTPInput.vue.d.ts +1 -1
- package/components/PricingPlan/PricingPlan.vue.d.ts +2 -2
- package/components/SidePanel.vue.js +2 -2
- package/components/SidePanel.vue2.js +58 -52
- package/components/SidebarMenu/SidebarMenu.vue.d.ts +1 -1
- package/components/Stats/StatItem.vue.js +96 -91
- package/components/Stats/Stats.vue.d.ts +1 -1
- package/components/Stats/types.d.ts +1 -0
- package/components/StatusChip/status-map.js +27 -7
- package/components/Switch.vue.d.ts +6 -1
- package/components/Switch.vue.js +61 -24
- package/components/TagInput/TagInput.vue.d.ts +187 -0
- package/components/TagInput/TagInput.vue.js +113 -0
- package/components/TagInput/TagInput.vue2.js +4 -0
- package/components/TagInput/index.d.ts +1 -0
- package/components/Textarea.vue.js +19 -18
- package/components/ThumbnailSelector/ThumbnailSelector.vue.d.ts +2 -2
- package/components/ThumbnailSelector/ThumbnailSelector.vue.js +2 -2
- package/components/ThumbnailSelector/ThumbnailSelector.vue2.js +19 -16
- package/components/Workbook/Workbook.vue.d.ts +3 -3
- package/core/config.d.ts +112 -0
- package/core/index.js +17 -5
- package/index.d.ts +2 -0
- package/index.js +279 -271
- package/package.json +1 -1
- package/style.css +617 -2
- package/types/button.d.ts +1 -1
- package/types/config.type.d.ts +6 -0
- package/types/list.type.d.ts +6 -0
- package/types/styles.d.ts +1 -0
- package/utils/configUtils.d.ts +9 -0
- package/utils/configUtils.js +7 -0
- package/utils/functions.js +9 -9
- package/utils/index.d.ts +1 -0
|
@@ -13,18 +13,18 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<WorkbookProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
-
change: (id: string) => any;
|
|
17
16
|
delete: (id: string) => any;
|
|
18
17
|
add: () => any;
|
|
18
|
+
change: (id: string) => any;
|
|
19
19
|
"update:modelValue": (id: string) => any;
|
|
20
20
|
"edit-start": (id: string) => any;
|
|
21
21
|
"edit-end": (id: string) => any;
|
|
22
22
|
duplicate: (id: string) => any;
|
|
23
23
|
"update:sheets": (sheets: WorkbookSheet[]) => any;
|
|
24
24
|
}, string, import('vue').PublicProps, Readonly<WorkbookProps> & Readonly<{
|
|
25
|
-
onChange?: (id: string) => any;
|
|
26
25
|
onDelete?: (id: string) => any;
|
|
27
26
|
onAdd?: () => any;
|
|
27
|
+
onChange?: (id: string) => any;
|
|
28
28
|
"onUpdate:modelValue"?: (id: string) => any;
|
|
29
29
|
"onEdit-start"?: (id: string) => any;
|
|
30
30
|
"onEdit-end"?: (id: string) => any;
|
|
@@ -32,10 +32,10 @@ declare const __VLS_component: import('vue').DefineComponent<WorkbookProps, {},
|
|
|
32
32
|
"onUpdate:sheets"?: (sheets: WorkbookSheet[]) => any;
|
|
33
33
|
}>, {
|
|
34
34
|
variant: "chrome" | "folder" | "simple" | "card";
|
|
35
|
+
itemClass: string;
|
|
35
36
|
modelValue: string;
|
|
36
37
|
editable: boolean;
|
|
37
38
|
draggable: boolean;
|
|
38
|
-
itemClass: string;
|
|
39
39
|
confirmDelete: boolean;
|
|
40
40
|
allowIconChange: boolean;
|
|
41
41
|
activeItemClass: string;
|
package/core/config.d.ts
CHANGED
|
@@ -43,6 +43,62 @@ export declare const configState: {
|
|
|
43
43
|
hideIcon?: boolean;
|
|
44
44
|
customStatuses?: Record<string, import('..').CustomStatusConfig>;
|
|
45
45
|
};
|
|
46
|
+
attachmentsList?: {
|
|
47
|
+
variant?: "default" | "list" | "inline" | "card";
|
|
48
|
+
size?: "sm" | "md" | "lg";
|
|
49
|
+
canView?: boolean;
|
|
50
|
+
canDownload?: boolean;
|
|
51
|
+
clickToPreview?: boolean;
|
|
52
|
+
showDownloadInList?: boolean;
|
|
53
|
+
rootClass?: string;
|
|
54
|
+
gridClass?: string;
|
|
55
|
+
cardClass?: string;
|
|
56
|
+
cardThumbnailClass?: string;
|
|
57
|
+
cardInfoClass?: string;
|
|
58
|
+
cardActionsClass?: string;
|
|
59
|
+
listClass?: string;
|
|
60
|
+
itemClass?: string;
|
|
61
|
+
itemIconBoxClass?: string;
|
|
62
|
+
itemNameClass?: string;
|
|
63
|
+
itemSizeClass?: string;
|
|
64
|
+
itemActionsClass?: string;
|
|
65
|
+
emptyClass?: string;
|
|
66
|
+
};
|
|
67
|
+
list?: {
|
|
68
|
+
title?: string;
|
|
69
|
+
class?: string;
|
|
70
|
+
titleI18n?: string;
|
|
71
|
+
variant?: import('..').ListVariant;
|
|
72
|
+
titleIcon?: string;
|
|
73
|
+
columns?: import('..').ListColumns;
|
|
74
|
+
showColon?: boolean;
|
|
75
|
+
loading?: boolean;
|
|
76
|
+
skeletonRows?: number;
|
|
77
|
+
stackedBorderStyle?: import('..').StackedBorderStyle;
|
|
78
|
+
};
|
|
79
|
+
invoice?: {
|
|
80
|
+
variant?: import('..').InvoiceVariant;
|
|
81
|
+
compact?: boolean;
|
|
82
|
+
displayBarcodeValue?: boolean;
|
|
83
|
+
labels?: {
|
|
84
|
+
invoice?: string;
|
|
85
|
+
invoiceNumber?: string;
|
|
86
|
+
issued?: string;
|
|
87
|
+
due?: string;
|
|
88
|
+
from?: string;
|
|
89
|
+
billedTo?: string;
|
|
90
|
+
status?: string;
|
|
91
|
+
item?: string;
|
|
92
|
+
price?: string;
|
|
93
|
+
qty?: string;
|
|
94
|
+
size?: string;
|
|
95
|
+
discount?: string;
|
|
96
|
+
total?: string;
|
|
97
|
+
notes?: string;
|
|
98
|
+
sku?: string;
|
|
99
|
+
taxId?: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
46
102
|
};
|
|
47
103
|
};
|
|
48
104
|
/**
|
|
@@ -88,5 +144,61 @@ export declare function useVLiteConfig(): {
|
|
|
88
144
|
hideIcon?: boolean;
|
|
89
145
|
customStatuses?: Record<string, import('..').CustomStatusConfig>;
|
|
90
146
|
};
|
|
147
|
+
attachmentsList?: {
|
|
148
|
+
variant?: "default" | "list" | "inline" | "card";
|
|
149
|
+
size?: "sm" | "md" | "lg";
|
|
150
|
+
canView?: boolean;
|
|
151
|
+
canDownload?: boolean;
|
|
152
|
+
clickToPreview?: boolean;
|
|
153
|
+
showDownloadInList?: boolean;
|
|
154
|
+
rootClass?: string;
|
|
155
|
+
gridClass?: string;
|
|
156
|
+
cardClass?: string;
|
|
157
|
+
cardThumbnailClass?: string;
|
|
158
|
+
cardInfoClass?: string;
|
|
159
|
+
cardActionsClass?: string;
|
|
160
|
+
listClass?: string;
|
|
161
|
+
itemClass?: string;
|
|
162
|
+
itemIconBoxClass?: string;
|
|
163
|
+
itemNameClass?: string;
|
|
164
|
+
itemSizeClass?: string;
|
|
165
|
+
itemActionsClass?: string;
|
|
166
|
+
emptyClass?: string;
|
|
167
|
+
};
|
|
168
|
+
list?: {
|
|
169
|
+
title?: string;
|
|
170
|
+
class?: string;
|
|
171
|
+
titleI18n?: string;
|
|
172
|
+
variant?: import('..').ListVariant;
|
|
173
|
+
titleIcon?: string;
|
|
174
|
+
columns?: import('..').ListColumns;
|
|
175
|
+
showColon?: boolean;
|
|
176
|
+
loading?: boolean;
|
|
177
|
+
skeletonRows?: number;
|
|
178
|
+
stackedBorderStyle?: import('..').StackedBorderStyle;
|
|
179
|
+
};
|
|
180
|
+
invoice?: {
|
|
181
|
+
variant?: import('..').InvoiceVariant;
|
|
182
|
+
compact?: boolean;
|
|
183
|
+
displayBarcodeValue?: boolean;
|
|
184
|
+
labels?: {
|
|
185
|
+
invoice?: string;
|
|
186
|
+
invoiceNumber?: string;
|
|
187
|
+
issued?: string;
|
|
188
|
+
due?: string;
|
|
189
|
+
from?: string;
|
|
190
|
+
billedTo?: string;
|
|
191
|
+
status?: string;
|
|
192
|
+
item?: string;
|
|
193
|
+
price?: string;
|
|
194
|
+
qty?: string;
|
|
195
|
+
size?: string;
|
|
196
|
+
discount?: string;
|
|
197
|
+
total?: string;
|
|
198
|
+
notes?: string;
|
|
199
|
+
sku?: string;
|
|
200
|
+
taxId?: string;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
91
203
|
};
|
|
92
204
|
};
|
package/core/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { configState as t, VLITE_CONFIG_KEY as s } from "./config.js";
|
|
2
|
-
import { updateConfig as
|
|
3
|
-
function
|
|
2
|
+
import { updateConfig as i, useVLiteConfig as r } from "./config.js";
|
|
3
|
+
function n(e = {}) {
|
|
4
4
|
return {
|
|
5
5
|
install(m) {
|
|
6
6
|
e && (e.services && (t.services = { ...t.services, ...e.services }), e.importData && (t.importData = { ...t.importData, ...e.importData }), e.exportData && (t.exportData = { ...t.exportData, ...e.exportData }), e.components && (t.components = {
|
|
@@ -29,6 +29,18 @@ function o(e = {}) {
|
|
|
29
29
|
...t.components?.statusChip?.customStatuses || {},
|
|
30
30
|
...e.components.statusChip?.customStatuses || {}
|
|
31
31
|
}
|
|
32
|
+
},
|
|
33
|
+
attachmentsList: {
|
|
34
|
+
...t.components?.attachmentsList || {},
|
|
35
|
+
...e.components.attachmentsList || {}
|
|
36
|
+
},
|
|
37
|
+
list: {
|
|
38
|
+
...t.components?.list || {},
|
|
39
|
+
...e.components.list || {}
|
|
40
|
+
},
|
|
41
|
+
invoice: {
|
|
42
|
+
...t.components?.invoice || {},
|
|
43
|
+
...e.components.invoice || {}
|
|
32
44
|
}
|
|
33
45
|
})), m.provide(s, t), m.config.globalProperties.$vlite = t;
|
|
34
46
|
}
|
|
@@ -37,7 +49,7 @@ function o(e = {}) {
|
|
|
37
49
|
export {
|
|
38
50
|
s as VLITE_CONFIG_KEY,
|
|
39
51
|
t as configState,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
52
|
+
n as createVLite,
|
|
53
|
+
i as updateConfig,
|
|
54
|
+
r as useVLiteConfig
|
|
43
55
|
};
|
package/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export * from './components/CustomFieldsDisplay';
|
|
|
47
47
|
export * from './components/Invoice';
|
|
48
48
|
export * from './components/CategoryManager';
|
|
49
49
|
export * from './components/ThumbnailSelector';
|
|
50
|
+
export * from './components/TagInput';
|
|
50
51
|
export * from './components/Calendar';
|
|
51
52
|
export { default as Icon } from './components/Icon.vue';
|
|
52
53
|
export { default as Logo } from './components/Logo.vue';
|
|
@@ -58,6 +59,7 @@ export { default as Modal } from './components/Modal.vue';
|
|
|
58
59
|
export { default as Avatar } from './components/Avatar.vue';
|
|
59
60
|
export { default as Button } from './components/Button.vue';
|
|
60
61
|
export { default as BackButton } from './components/BackButton.vue';
|
|
62
|
+
export { default as CopyButton } from './components/CopyButton.vue';
|
|
61
63
|
export { default as Slider } from './components/Slider.vue';
|
|
62
64
|
export { default as Switch } from './components/Switch.vue';
|
|
63
65
|
export { default as Tooltip } from './components/Tooltip.vue';
|