vlite3 0.3.4 → 0.3.7
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/Badge.vue.js +4 -4
- package/components/Button.vue.d.ts +1 -0
- package/components/Button.vue.js +46 -35
- package/components/DataList/DataList.vue.d.ts +9 -7
- package/components/DataList/DataList.vue.js +78 -55
- package/components/DataList/types.d.ts +5 -10
- package/components/DataTable/DataTable.vue.d.ts +1 -3
- package/components/DataTable/DataTable.vue.js +136 -127
- package/components/DataTable/DataTableRow.vue.js +1 -1
- package/components/DataTable/types.d.ts +3 -10
- package/components/Form/types.d.ts +0 -3
- package/components/Input.vue.js +24 -25
- package/components/Pagination/Pagination.vue.d.ts +4 -16
- package/components/Pagination/Pagination.vue.js +36 -36
- package/components/Pagination/index.d.ts +19 -0
- package/components/Screen/Screen.vue.d.ts +47 -0
- package/components/Screen/Screen.vue.js +411 -0
- package/components/Screen/Screen.vue2.js +4 -0
- package/components/Screen/ScreenFilter.vue.d.ts +15 -0
- package/components/Screen/ScreenFilter.vue.js +169 -0
- package/components/Screen/ScreenFilter.vue2.js +4 -0
- package/components/Screen/index.d.ts +3 -0
- package/components/Screen/types.d.ts +53 -0
- package/index.d.ts +1 -0
- package/index.js +39 -35
- package/package.json +1 -1
- package/style.css +4 -1
- package/types/button.d.ts +4 -0
- package/utils/usePersistentState.d.ts +8 -0
- package/utils/usePersistentState.js +7 -0
package/index.js
CHANGED
|
@@ -6,11 +6,11 @@ import { default as u } from "./components/Accordion/AccordionContent.vue.js";
|
|
|
6
6
|
import { default as i } from "./components/Alert.vue.js";
|
|
7
7
|
import { default as c } from "./components/Avatar.vue.js";
|
|
8
8
|
import { default as g } from "./components/AvatarUploader/AvatarUploader.vue.js";
|
|
9
|
-
import { default as
|
|
9
|
+
import { default as b } from "./components/Badge.vue.js";
|
|
10
10
|
import { default as P } from "./components/Button.vue.js";
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
11
|
+
import { default as h } from "./components/ButtonGroup.vue.js";
|
|
12
|
+
import { default as A } from "./components/Carousel/Carousel.vue.js";
|
|
13
|
+
import { default as D } from "./components/CheckBox.vue.js";
|
|
14
14
|
import { default as y } from "./components/Chip/Chip.vue.js";
|
|
15
15
|
import { default as k } from "./components/ChoiceBox/ChoiceBox.vue.js";
|
|
16
16
|
import { default as M } from "./components/ColorPicker/ColorPicker.vue.js";
|
|
@@ -33,11 +33,11 @@ import { default as ue } from "./components/Form/Form.vue.js";
|
|
|
33
33
|
import { default as ie } from "./components/Form/FormField.vue.js";
|
|
34
34
|
import { default as ce } from "./components/Form/FormFields.vue.js";
|
|
35
35
|
import { default as ge } from "./components/Form/CustomFields.vue.js";
|
|
36
|
-
import { useForm as
|
|
36
|
+
import { useForm as be } from "./components/Form/composables/useForm.js";
|
|
37
37
|
import { useFileUpload as Pe } from "./components/Form/composables/useFileUpload.js";
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
38
|
+
import { default as he } from "./components/Heatmap/Heatmap.vue.js";
|
|
39
|
+
import { default as Ae } from "./components/Icon.vue.js";
|
|
40
|
+
import { default as De } from "./components/IconPicker.vue.js";
|
|
41
41
|
import { default as ye } from "./components/Input.vue.js";
|
|
42
42
|
import { default as ke } from "./components/Kanban/Kanban.vue.js";
|
|
43
43
|
import { default as Me } from "./components/Kanban/KanbanBoard.vue.js";
|
|
@@ -60,11 +60,11 @@ import { default as xo } from "./components/SidePanel.vue.js";
|
|
|
60
60
|
import { default as no } from "./components/SidebarMenu/SidebarMenu.vue.js";
|
|
61
61
|
import { default as To } from "./components/SidebarMenu/SidebarMenuItem.vue.js";
|
|
62
62
|
/* empty css */
|
|
63
|
-
import { default as
|
|
63
|
+
import { default as So } from "./components/Slider.vue.js";
|
|
64
64
|
import { default as Io } from "./components/Spinner/Spinner.vue.js";
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
65
|
+
import { default as Fo } from "./components/Switch.vue.js";
|
|
66
|
+
import { default as vo } from "./components/Tabes/Tabes.vue.js";
|
|
67
|
+
import { default as Co } from "./components/Textarea.vue.js";
|
|
68
68
|
import { default as wo } from "./components/ThemeToggle.vue.js";
|
|
69
69
|
import { default as No } from "./components/Timeline.vue.js";
|
|
70
70
|
import { default as Bo } from "./components/ToastNotification.vue.js";
|
|
@@ -79,11 +79,13 @@ import { useAdvancedKeyStroke as er, useKeyStroke as or } from "./composables/us
|
|
|
79
79
|
import { vScrollReveal as tr } from "./directives/vScrollReveal.js";
|
|
80
80
|
import { createVLite as fr } from "./core/index.js";
|
|
81
81
|
import { deepMerge as mr } from "./utils/object.js";
|
|
82
|
-
import { camelCase as dr, capitalize as sr, copyToClipboard as ur, debounce as xr, delay as ir, downloadFile as nr, flattenArray as cr, formatCurrency as Tr, getUniqueId as gr, isAppleDevice as
|
|
83
|
-
import { lazySearch as
|
|
82
|
+
import { camelCase as dr, capitalize as sr, copyToClipboard as ur, debounce as xr, delay as ir, downloadFile as nr, flattenArray as cr, formatCurrency as Tr, getUniqueId as gr, isAppleDevice as Sr, isEmpty as br, randomNumber as Ir, removeExtraProperties as Pr, slugify as Fr, throttle as hr, truncate as vr } from "./utils/functions.js";
|
|
83
|
+
import { lazySearch as Cr, resetSearchIndex as Dr, search as wr } from "./utils/search.util.js";
|
|
84
84
|
import { env as Nr } from "./utils/env.js";
|
|
85
85
|
import { default as Br } from "./components/DataList/DataList.vue.js";
|
|
86
|
-
import {
|
|
86
|
+
import { default as Kr } from "./components/Screen/Screen.vue.js";
|
|
87
|
+
import { default as Gr } from "./components/Screen/ScreenFilter.vue.js";
|
|
88
|
+
import { useVLiteConfig as Er } from "./core/config.js";
|
|
87
89
|
export {
|
|
88
90
|
f as Accordion,
|
|
89
91
|
u as AccordionContent,
|
|
@@ -92,11 +94,11 @@ export {
|
|
|
92
94
|
i as Alert,
|
|
93
95
|
c as Avatar,
|
|
94
96
|
g as AvatarUploader,
|
|
95
|
-
|
|
97
|
+
b as Badge,
|
|
96
98
|
P as Button,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
h as ButtonGroup,
|
|
100
|
+
A as Carousel,
|
|
101
|
+
D as CheckBox,
|
|
100
102
|
y as Chip,
|
|
101
103
|
k as ChoiceBox,
|
|
102
104
|
M as ColorPicker,
|
|
@@ -119,9 +121,9 @@ export {
|
|
|
119
121
|
ce as FormFields,
|
|
120
122
|
Uo as GoogleLogin,
|
|
121
123
|
t as GoogleSignInPlugin,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
he as Heatmap,
|
|
125
|
+
Ae as Icon,
|
|
126
|
+
De as IconPicker,
|
|
125
127
|
ye as Input,
|
|
126
128
|
ke as Kanban,
|
|
127
129
|
Me as KanbanBoard,
|
|
@@ -140,15 +142,17 @@ export {
|
|
|
140
142
|
mo as PricingPlan,
|
|
141
143
|
so as PricingPlanItem,
|
|
142
144
|
Ho as ProgressBar,
|
|
145
|
+
Kr as Screen,
|
|
146
|
+
Gr as ScreenFilter,
|
|
143
147
|
Eo as Sheet,
|
|
144
148
|
xo as SidePanel,
|
|
145
149
|
no as SidebarMenu,
|
|
146
150
|
To as SidebarMenuItem,
|
|
147
|
-
|
|
151
|
+
So as Slider,
|
|
148
152
|
Io as Spinner,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
153
|
+
Fo as Switch,
|
|
154
|
+
vo as Tabes,
|
|
155
|
+
Co as Textarea,
|
|
152
156
|
wo as ThemeToggle,
|
|
153
157
|
No as Timeline,
|
|
154
158
|
Bo as ToastNotification,
|
|
@@ -167,31 +171,31 @@ export {
|
|
|
167
171
|
cr as flattenArray,
|
|
168
172
|
Tr as formatCurrency,
|
|
169
173
|
gr as getUniqueId,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
174
|
+
Sr as isAppleDevice,
|
|
175
|
+
br as isEmpty,
|
|
176
|
+
Cr as lazySearch,
|
|
173
177
|
Wo as pauseTimers,
|
|
174
178
|
Ir as randomNumber,
|
|
175
179
|
Pr as removeExtraProperties,
|
|
176
180
|
Yo as removeToast,
|
|
177
|
-
|
|
181
|
+
Dr as resetSearchIndex,
|
|
178
182
|
_o as resumeTimers,
|
|
179
183
|
wr as search,
|
|
180
184
|
jo as showToast,
|
|
181
|
-
|
|
182
|
-
|
|
185
|
+
Fr as slugify,
|
|
186
|
+
hr as throttle,
|
|
183
187
|
Jo as toast,
|
|
184
|
-
|
|
188
|
+
vr as truncate,
|
|
185
189
|
er as useAdvancedKeyStroke,
|
|
186
190
|
oe as useDropdownIds,
|
|
187
191
|
$ as useDropdownSelection,
|
|
188
192
|
Pe as useFileUpload,
|
|
189
|
-
|
|
193
|
+
be as useForm,
|
|
190
194
|
Le as useKanbanBoard,
|
|
191
195
|
or as useKeyStroke,
|
|
192
196
|
Qo as useNotifications,
|
|
193
197
|
Zo as useTheme,
|
|
194
198
|
de as useTreeSelection,
|
|
195
|
-
|
|
199
|
+
Er as useVLiteConfig,
|
|
196
200
|
tr as vScrollReveal
|
|
197
201
|
};
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -253,7 +253,10 @@
|
|
|
253
253
|
background-color: var(--color-white);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
.dark
|
|
256
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
@utility dark {
|
|
257
260
|
--color-white: #0b0b0b !important;
|
|
258
261
|
--color-mixture-1: #0c0c0c !important;
|
|
259
262
|
--color-mixture-2: #ffffff !important;
|
package/types/button.d.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UseStorageOptions } from '@vueuse/core';
|
|
2
|
+
/**
|
|
3
|
+
* Reusable function to manage persistent state in local storage.
|
|
4
|
+
* @param key Local storage key. Will be automatically prefixed with 'builto-'.
|
|
5
|
+
* @param initialValue The default value if no value exists in storage.
|
|
6
|
+
* @param options Additional options for useLocalStorage.
|
|
7
|
+
*/
|
|
8
|
+
export declare function usePersistentState<T>(key: string, initialValue: T, options?: UseStorageOptions<T>): import('@vueuse/shared').RemovableRef<T>;
|