vlite3 1.5.11 → 1.5.13
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 +20 -8
- package/components/Accordion/AccordionContent.vue.js +2 -2
- package/components/CategoryManager/CategoryManager2.vue.js +1 -1
- package/components/CommandPalette/CommandPaletteContent2.vue.js +1 -1
- package/components/CommandPalette/{CommandPaletteItem2.vue.js → CommandPaletteItem.vue.js} +1 -1
- package/components/Dropdown/DropdownMenu.vue.js +1 -1
- package/components/Form/{AccordionView.vue.js → AccordionView2.vue.js} +2 -2
- package/components/Form/Form.vue.js +2 -2
- package/components/Form/index2.vue.js +1 -1
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/PanZoomViewport/PanZoomViewport.vue.d.ts +7 -7
- package/components/PanZoomViewport/PanZoomViewport.vue.js +1 -1
- package/components/Screen/ScreenFilter.vue.js +1 -1
- package/components/Splitter/Splitter.vue.d.ts +7 -0
- package/components/Splitter/Splitter.vue.js +33 -29
- package/components/Tabes/Tabes.vue.js +2 -2
- package/docs/README.md +17 -0
- package/docs/all-components.md +89 -0
- package/docs/component-index.md +313 -0
- package/docs/components/accordion.md +52 -0
- package/docs/components/alert.md +34 -0
- package/docs/components/app-shell.md +371 -0
- package/docs/components/async-select.md +264 -0
- package/docs/components/attachments-list.md +231 -0
- package/docs/components/avatar-group.md +74 -0
- package/docs/components/avatar-uploader.md +61 -0
- package/docs/components/avatar.md +28 -0
- package/docs/components/badge.md +81 -0
- package/docs/components/barcode.md +42 -0
- package/docs/components/beacon.md +29 -0
- package/docs/components/breadcrumb.md +317 -0
- package/docs/components/button-group.md +35 -0
- package/docs/components/button.md +86 -0
- package/docs/components/calendar.md +95 -0
- package/docs/components/carousel.md +122 -0
- package/docs/components/cart.md +533 -0
- package/docs/components/category-manager.md +269 -0
- package/docs/components/category-menu.md +251 -0
- package/docs/components/charts.md +1456 -0
- package/docs/components/chat.md +330 -0
- package/docs/components/checkbox.md +31 -0
- package/docs/components/chip.md +137 -0
- package/docs/components/choice-box.md +40 -0
- package/docs/components/clipboard.md +105 -0
- package/docs/components/clock.md +70 -0
- package/docs/components/color-picker.md +82 -0
- package/docs/components/command-palette.md +214 -0
- package/docs/components/comment-thread.md +171 -0
- package/docs/components/confirmation-modal.md +50 -0
- package/docs/components/custom-fields-display.md +94 -0
- package/docs/components/custom-fields.md +97 -0
- package/docs/components/data-list.md +93 -0
- package/docs/components/data-table.md +922 -0
- package/docs/components/date-picker.md +58 -0
- package/docs/components/date-range-picker.md +24 -0
- package/docs/components/date-time.md +104 -0
- package/docs/components/dropdown.md +740 -0
- package/docs/components/empty.md +100 -0
- package/docs/components/export-data.md +320 -0
- package/docs/components/file-picker.md +83 -0
- package/docs/components/file-preview.md +42 -0
- package/docs/components/file-tree.md +144 -0
- package/docs/components/footer.md +251 -0
- package/docs/components/forms.md +776 -0
- package/docs/components/gantt-chart.md +767 -0
- package/docs/components/google-login.md +67 -0
- package/docs/components/google-map.md +128 -0
- package/docs/components/heatmap.md +80 -0
- package/docs/components/icon-picker.md +58 -0
- package/docs/components/icon.md +176 -0
- package/docs/components/image-comparison.md +51 -0
- package/docs/components/image-magnifier.md +26 -0
- package/docs/components/import-data.md +521 -0
- package/docs/components/input.md +58 -0
- package/docs/components/invoice.md +339 -0
- package/docs/components/kanban.md +302 -0
- package/docs/components/label.md +25 -0
- package/docs/components/list.md +419 -0
- package/docs/components/masonry.md +55 -0
- package/docs/components/modal.md +133 -0
- package/docs/components/multi-select.md +54 -0
- package/docs/components/navbar.md +403 -0
- package/docs/components/number-input.md +41 -0
- package/docs/components/otp-input.md +68 -0
- package/docs/components/pagination.md +83 -0
- package/docs/components/pan-zoom-viewport.md +245 -0
- package/docs/components/permission-editor.md +322 -0
- package/docs/components/persona.md +56 -0
- package/docs/components/price.md +106 -0
- package/docs/components/pricing-plan.md +68 -0
- package/docs/components/progress-bar.md +53 -0
- package/docs/components/qr-code.md +59 -0
- package/docs/components/rating.md +59 -0
- package/docs/components/rich-text-editor.md +210 -0
- package/docs/components/scale-generator.md +101 -0
- package/docs/components/screen.md +208 -0
- package/docs/components/seo-provider.md +189 -0
- package/docs/components/side-panel.md +94 -0
- package/docs/components/sidebar-menu.md +422 -0
- package/docs/components/skeleton.md +115 -0
- package/docs/components/slider.md +48 -0
- package/docs/components/spinner.md +27 -0
- package/docs/components/splitter.md +97 -0
- package/docs/components/stats.md +234 -0
- package/docs/components/status-chip.md +232 -0
- package/docs/components/switch.md +23 -0
- package/docs/components/tabs.md +335 -0
- package/docs/components/tag-input.md +55 -0
- package/docs/components/textarea.md +31 -0
- package/docs/components/theme-provider.md +130 -0
- package/docs/components/theme-toggle.md +36 -0
- package/docs/components/thumbnail-selector.md +186 -0
- package/docs/components/timeline.md +225 -0
- package/docs/components/toast-notification.md +89 -0
- package/docs/components/tooltip.md +31 -0
- package/docs/components/workbook.md +102 -0
- package/docs/composables/use-theme.md +59 -0
- package/docs/getting-started/setup.md +176 -0
- package/docs/guides/draggable.md +211 -0
- package/docs/guides/internationalization.md +281 -0
- package/docs/guides/performance.md +118 -0
- package/docs/guides/testing-forms.md +154 -0
- package/docs/guides/testing-overlays.md +131 -0
- package/docs/guides/theming.md +124 -0
- package/docs/utilities/search.md +580 -0
- package/docs/utilities/utilities.md +371 -0
- package/docs-manifest.json +339 -0
- package/package.json +6 -15
- package/scripts/generate-docs-manifest.js +207 -0
- package/scripts/sync-docs.js +754 -0
- package/style.css +1 -1
- /package/components/Dropdown/{DropdownMenu2.vue.js → DropdownMenu3.vue.js} +0 -0
package/README.md
CHANGED
|
@@ -20,6 +20,16 @@ yarn add vlite3
|
|
|
20
20
|
|
|
21
21
|
Vlite3 installs its required Tailwind 4 packages automatically.
|
|
22
22
|
|
|
23
|
+
### Local documentation
|
|
24
|
+
|
|
25
|
+
Installing or upgrading `vlite3` synchronizes the package documentation into your project at `docs/vlite3/`. The copy matches the installed package version and updates on subsequent upgrades.
|
|
26
|
+
|
|
27
|
+
If dependency lifecycle scripts are disabled in your environment, run the same synchronizer manually:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npx vlite3-docs
|
|
31
|
+
```
|
|
32
|
+
|
|
23
33
|
### Server-side rendering
|
|
24
34
|
|
|
25
35
|
The package entry is safe to evaluate during Vue SSR. Browser-only export,
|
|
@@ -178,7 +188,7 @@ rendering share one predictable runtime registry.
|
|
|
178
188
|
|
|
179
189
|
For selected-icon Vite bundles, complete collections, dynamic icon inclusion,
|
|
180
190
|
manual registration, and offline picker behavior, see
|
|
181
|
-
[the Icon guide](./docs/
|
|
191
|
+
[the Icon guide](./docs/components/basic/icon.md).
|
|
182
192
|
|
|
183
193
|
### Global Application Scale
|
|
184
194
|
|
|
@@ -606,13 +616,15 @@ Follow these rules strictly to ensure visual consistency and predictable styling
|
|
|
606
616
|
|
|
607
617
|
## Complete reference for AI agents and developers:
|
|
608
618
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
- [
|
|
612
|
-
- [
|
|
613
|
-
- [
|
|
614
|
-
- [
|
|
615
|
-
- [
|
|
619
|
+
After install, prefer the synchronized copy at `docs/vlite3/` in your project (or run `npx vlite3-docs`):
|
|
620
|
+
|
|
621
|
+
- [0-setup.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/getting-started/setup.md)
|
|
622
|
+
- [1-theming.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/guides/theming.md)
|
|
623
|
+
- [2-components.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/all-components.md)
|
|
624
|
+
- [3-forms.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/components/basic/forms.md)
|
|
625
|
+
- [3-utility.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/utilities/utilities.md)
|
|
626
|
+
- [4-i18n.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/guides/internationalization.md)
|
|
627
|
+
- [5-search-util.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/utilities/search.md)
|
|
616
628
|
|
|
617
629
|
## Author
|
|
618
630
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AccordionContent2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-294955b5"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -4,7 +4,7 @@ import _ from "../Icon.vue.js";
|
|
|
4
4
|
import { $t as E } from "../../utils/i18n.js";
|
|
5
5
|
import { useCommandPaletteItems as Y } from "./useCommandPaletteItems.js";
|
|
6
6
|
import { useCommandPaletteNav as Z } from "./useCommandPaletteNav.js";
|
|
7
|
-
import ee from "./
|
|
7
|
+
import ee from "./CommandPaletteItem.vue.js";
|
|
8
8
|
const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[70vh]" }, oe = { class: "flex items-center gap-3 px-4 py-3 border-b border-border/80 shrink-0" }, se = ["placeholder"], ne = ["aria-label"], re = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "flex flex-col items-center justify-center py-14 px-6 text-center select-none",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AccordionView3.vue.js";
|
|
2
|
-
/* empty css
|
|
2
|
+
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-543c2aba"]]);
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Form2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-abedb6c9"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, computed as d, openBlock as n, createElementBlock as R, createElementVNode as x, createBlock as s, withCtx as k, createTextVNode as B, toDisplayString as I, createCommentVNode as y, unref as l } from "vue";
|
|
2
2
|
import T from "./TableView.vue.js";
|
|
3
|
-
import C from "./
|
|
3
|
+
import C from "./AccordionView2.vue.js";
|
|
4
4
|
import U from "../Label.vue.js";
|
|
5
5
|
import z from "../Button.vue.js";
|
|
6
6
|
import { useCustomFieldRows as N } from "./composables/useCustomFieldRows.js";
|
|
@@ -3,7 +3,7 @@ import L from "./Icon.vue.js";
|
|
|
3
3
|
import v from "./Modal.vue.js";
|
|
4
4
|
import N from "./CommandPalette/CommandPaletteContent.vue.js";
|
|
5
5
|
import { $t as U } from "../utils/i18n.js";
|
|
6
|
-
/* empty css
|
|
6
|
+
/* empty css */
|
|
7
7
|
const V = { class: "block truncate -text-fs-1.5" }, S = { class: "ms-auto inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-mono font-medium border border-border/80 bg-background text-muted-foreground ms-1" }, A = /* @__PURE__ */ x({
|
|
8
8
|
__name: "NavbarCommandPalette",
|
|
9
9
|
props: {
|
|
@@ -29,7 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<PanZoomViewportProp
|
|
|
29
29
|
* normalizes through getBoundingClientRect() / layout size so nested ancestor
|
|
30
30
|
* transforms and non-unity browser pixel ratios do not distort navigation.
|
|
31
31
|
*
|
|
32
|
-
* Performance (docs/
|
|
32
|
+
* Performance (docs/guides/performance.md): DOM nodes and replace-only geometry use
|
|
33
33
|
* shallowRef; translate/scale is painted directly onto the content layer each
|
|
34
34
|
* rAF; layout style objects keep stable identity when unchanged; both layers
|
|
35
35
|
* use will-change + contain; observers/frames/timers are cleared on unmount.
|
|
@@ -44,7 +44,7 @@ declare const __VLS_component: import('vue').DefineComponent<PanZoomViewportProp
|
|
|
44
44
|
* normalizes through getBoundingClientRect() / layout size so nested ancestor
|
|
45
45
|
* transforms and non-unity browser pixel ratios do not distort navigation.
|
|
46
46
|
*
|
|
47
|
-
* Performance (docs/
|
|
47
|
+
* Performance (docs/guides/performance.md): DOM nodes and replace-only geometry use
|
|
48
48
|
* shallowRef; translate/scale is painted directly onto the content layer each
|
|
49
49
|
* rAF; layout style objects keep stable identity when unchanged; both layers
|
|
50
50
|
* use will-change + contain; observers/frames/timers are cleared on unmount.
|
|
@@ -59,7 +59,7 @@ declare const __VLS_component: import('vue').DefineComponent<PanZoomViewportProp
|
|
|
59
59
|
* normalizes through getBoundingClientRect() / layout size so nested ancestor
|
|
60
60
|
* transforms and non-unity browser pixel ratios do not distort navigation.
|
|
61
61
|
*
|
|
62
|
-
* Performance (docs/
|
|
62
|
+
* Performance (docs/guides/performance.md): DOM nodes and replace-only geometry use
|
|
63
63
|
* shallowRef; translate/scale is painted directly onto the content layer each
|
|
64
64
|
* rAF; layout style objects keep stable identity when unchanged; both layers
|
|
65
65
|
* use will-change + contain; observers/frames/timers are cleared on unmount.
|
|
@@ -74,7 +74,7 @@ declare const __VLS_component: import('vue').DefineComponent<PanZoomViewportProp
|
|
|
74
74
|
* normalizes through getBoundingClientRect() / layout size so nested ancestor
|
|
75
75
|
* transforms and non-unity browser pixel ratios do not distort navigation.
|
|
76
76
|
*
|
|
77
|
-
* Performance (docs/
|
|
77
|
+
* Performance (docs/guides/performance.md): DOM nodes and replace-only geometry use
|
|
78
78
|
* shallowRef; translate/scale is painted directly onto the content layer each
|
|
79
79
|
* rAF; layout style objects keep stable identity when unchanged; both layers
|
|
80
80
|
* use will-change + contain; observers/frames/timers are cleared on unmount.
|
|
@@ -89,7 +89,7 @@ declare const __VLS_component: import('vue').DefineComponent<PanZoomViewportProp
|
|
|
89
89
|
* normalizes through getBoundingClientRect() / layout size so nested ancestor
|
|
90
90
|
* transforms and non-unity browser pixel ratios do not distort navigation.
|
|
91
91
|
*
|
|
92
|
-
* Performance (docs/
|
|
92
|
+
* Performance (docs/guides/performance.md): DOM nodes and replace-only geometry use
|
|
93
93
|
* shallowRef; translate/scale is painted directly onto the content layer each
|
|
94
94
|
* rAF; layout style objects keep stable identity when unchanged; both layers
|
|
95
95
|
* use will-change + contain; observers/frames/timers are cleared on unmount.
|
|
@@ -104,7 +104,7 @@ declare const __VLS_component: import('vue').DefineComponent<PanZoomViewportProp
|
|
|
104
104
|
* normalizes through getBoundingClientRect() / layout size so nested ancestor
|
|
105
105
|
* transforms and non-unity browser pixel ratios do not distort navigation.
|
|
106
106
|
*
|
|
107
|
-
* Performance (docs/
|
|
107
|
+
* Performance (docs/guides/performance.md): DOM nodes and replace-only geometry use
|
|
108
108
|
* shallowRef; translate/scale is painted directly onto the content layer each
|
|
109
109
|
* rAF; layout style objects keep stable identity when unchanged; both layers
|
|
110
110
|
* use will-change + contain; observers/frames/timers are cleared on unmount.
|
|
@@ -119,7 +119,7 @@ declare const __VLS_component: import('vue').DefineComponent<PanZoomViewportProp
|
|
|
119
119
|
* normalizes through getBoundingClientRect() / layout size so nested ancestor
|
|
120
120
|
* transforms and non-unity browser pixel ratios do not distort navigation.
|
|
121
121
|
*
|
|
122
|
-
* Performance (docs/
|
|
122
|
+
* Performance (docs/guides/performance.md): DOM nodes and replace-only geometry use
|
|
123
123
|
* shallowRef; translate/scale is painted directly onto the content layer each
|
|
124
124
|
* rAF; layout style objects keep stable identity when unchanged; both layers
|
|
125
125
|
* use will-change + contain; observers/frames/timers are cleared on unmount.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./PanZoomViewport2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9e593c2b"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
1
2
|
interface Props {
|
|
2
3
|
layout?: 'horizontal' | 'vertical';
|
|
3
4
|
modelValue?: number;
|
|
4
5
|
min?: number;
|
|
5
6
|
max?: number;
|
|
6
7
|
class?: string;
|
|
8
|
+
/** Additional CSS classes for the splitter line (resize handle). */
|
|
9
|
+
lineClass?: string;
|
|
10
|
+
/** Inline styles for the splitter line (resize handle). */
|
|
11
|
+
lineStyle?: CSSProperties;
|
|
7
12
|
}
|
|
8
13
|
declare function __VLS_template(): {
|
|
9
14
|
attrs: Partial<{}>;
|
|
@@ -27,6 +32,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
27
32
|
modelValue: number;
|
|
28
33
|
min: number;
|
|
29
34
|
max: number;
|
|
35
|
+
lineStyle: CSSProperties;
|
|
36
|
+
lineClass: string;
|
|
30
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
31
38
|
containerRef: HTMLDivElement;
|
|
32
39
|
}, HTMLDivElement>;
|
|
@@ -1,64 +1,68 @@
|
|
|
1
|
-
import { defineComponent as L, ref as f, computed as w, onUnmounted as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as L, ref as f, computed as w, onUnmounted as _, openBlock as $, createElementBlock as C, normalizeClass as v, createElementVNode as u, normalizeStyle as h, renderSlot as p } from "vue";
|
|
2
|
+
const k = /* @__PURE__ */ L({
|
|
3
3
|
__name: "Splitter",
|
|
4
4
|
props: {
|
|
5
5
|
layout: { default: "horizontal" },
|
|
6
6
|
modelValue: { default: 50 },
|
|
7
7
|
min: { default: 10 },
|
|
8
8
|
max: { default: 90 },
|
|
9
|
-
class: { default: "" }
|
|
9
|
+
class: { default: "" },
|
|
10
|
+
lineClass: { default: "" },
|
|
11
|
+
lineStyle: { default: void 0 }
|
|
10
12
|
},
|
|
11
13
|
emits: ["update:modelValue"],
|
|
12
14
|
setup(g, { emit: z }) {
|
|
13
|
-
const
|
|
14
|
-
let
|
|
15
|
-
const E = w(() =>
|
|
16
|
-
|
|
17
|
-
}, s = (
|
|
18
|
-
!
|
|
19
|
-
const
|
|
15
|
+
const e = g, x = z, c = f(null), r = f(!1), o = f(e.modelValue);
|
|
16
|
+
let n = null;
|
|
17
|
+
const E = w(() => e.layout === "horizontal" ? { width: `${o.value}%` } : { height: `${o.value}%` }), S = w(() => e.layout === "horizontal" ? { width: `${100 - o.value}%` } : { height: `${100 - o.value}%` }), y = (t) => {
|
|
18
|
+
t.cancelable && t.type !== "touchstart" && t.preventDefault(), r.value = !0, document.body.style.cursor = e.layout === "horizontal" ? "col-resize" : "row-resize", document.body.style.userSelect = "none", window.addEventListener("mousemove", s, { passive: !1 }), window.addEventListener("mouseup", a), window.addEventListener("touchmove", s, { passive: !1 }), window.addEventListener("touchend", a);
|
|
19
|
+
}, s = (t) => {
|
|
20
|
+
!r.value || !c.value || (t.cancelable && t.preventDefault(), n && cancelAnimationFrame(n), n = requestAnimationFrame(() => {
|
|
21
|
+
const i = c.value.getBoundingClientRect();
|
|
20
22
|
let d, m;
|
|
21
|
-
window.TouchEvent &&
|
|
22
|
-
let
|
|
23
|
-
|
|
23
|
+
window.TouchEvent && t instanceof TouchEvent ? (d = t.touches[0].clientX, m = t.touches[0].clientY) : (d = t.clientX, m = t.clientY);
|
|
24
|
+
let l = 0;
|
|
25
|
+
e.layout === "horizontal" ? l = (d - i.left) / i.width * 100 : l = (m - i.top) / i.height * 100, l < e.min && (l = e.min), l > e.max && (l = e.max), o.value = l, x("update:modelValue", l);
|
|
24
26
|
}));
|
|
25
27
|
}, a = () => {
|
|
26
|
-
|
|
28
|
+
r.value = !1, document.body.style.cursor = "", document.body.style.userSelect = "", n && (cancelAnimationFrame(n), n = null), window.removeEventListener("mousemove", s), window.removeEventListener("mouseup", a), window.removeEventListener("touchmove", s), window.removeEventListener("touchend", a);
|
|
27
29
|
};
|
|
28
|
-
return
|
|
30
|
+
return _(() => {
|
|
29
31
|
a();
|
|
30
|
-
}), (
|
|
32
|
+
}), (t, i) => ($(), C("div", {
|
|
31
33
|
ref_key: "containerRef",
|
|
32
34
|
ref: c,
|
|
33
|
-
class: v(["flex w-full h-full overflow-hidden", [
|
|
35
|
+
class: v(["flex w-full h-full overflow-hidden", [e.layout === "vertical" ? "flex-col" : "flex-row", e.class]])
|
|
34
36
|
}, [
|
|
35
37
|
u("div", {
|
|
36
38
|
class: "relative overflow-hidden",
|
|
37
|
-
style:
|
|
39
|
+
style: h([{ "will-change": "transform", contain: "layout style" }, E.value])
|
|
38
40
|
}, [
|
|
39
|
-
p(
|
|
41
|
+
p(t.$slots, "start")
|
|
40
42
|
], 4),
|
|
41
43
|
u("div", {
|
|
42
|
-
class: v(["flex items-center justify-center bg-border/40 hover:bg-gray-150 transition-colors z-10 shrink-0 touch-none", [
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
class: v(["vl-splitter__line flex items-center justify-center bg-border/40 hover:bg-gray-150 transition-colors z-10 shrink-0 touch-none", [
|
|
45
|
+
e.layout === "horizontal" ? "w-1.5 cursor-col-resize h-full mx-px" : "h-1.5 cursor-row-resize w-full my-px",
|
|
46
|
+
r.value ? "bg-gray-200" : "",
|
|
47
|
+
e.lineClass
|
|
45
48
|
]]),
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
style: h(e.lineStyle),
|
|
50
|
+
onMousedown: y,
|
|
51
|
+
onTouchstart: y
|
|
48
52
|
}, [
|
|
49
53
|
u("div", {
|
|
50
|
-
class: v(["bg-gray-300 rounded-full",
|
|
54
|
+
class: v(["bg-gray-300 rounded-full", e.layout === "horizontal" ? "h-8 w-0.5" : "w-8 h-0.5"])
|
|
51
55
|
}, null, 2)
|
|
52
|
-
],
|
|
56
|
+
], 38),
|
|
53
57
|
u("div", {
|
|
54
58
|
class: "relative overflow-hidden flex-1",
|
|
55
|
-
style:
|
|
59
|
+
style: h([{ "will-change": "transform", contain: "layout style" }, S.value])
|
|
56
60
|
}, [
|
|
57
|
-
p(
|
|
61
|
+
p(t.$slots, "end")
|
|
58
62
|
], 4)
|
|
59
63
|
], 2));
|
|
60
64
|
}
|
|
61
65
|
});
|
|
62
66
|
export {
|
|
63
|
-
|
|
67
|
+
k as default
|
|
64
68
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Tabes2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-13f685d1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/docs/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# vlite3 documentation
|
|
2
|
+
|
|
3
|
+
This directory is synchronized automatically from the installed `vlite3` npm package.
|
|
4
|
+
|
|
5
|
+
Files managed by vlite3 may be added, updated, or removed when you install or upgrade the package. Project-specific notes should live outside `docs/vlite3/` so they are not replaced.
|
|
6
|
+
|
|
7
|
+
If dependency lifecycle scripts are disabled in your environment, sync manually:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx vlite3-docs
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Entry points:
|
|
14
|
+
|
|
15
|
+
- [Component index](./component-index.md)
|
|
16
|
+
- [All components](./all-components.md)
|
|
17
|
+
- [Setup](./getting-started/setup.md)
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# All Components Reference
|
|
2
|
+
|
|
3
|
+
Check the individual Markdown files inside the docs folders for full details.
|
|
4
|
+
|
|
5
|
+
## Basic Components
|
|
6
|
+
|
|
7
|
+
- [Accordion](./components/basic/accordion.md)
|
|
8
|
+
- [Alert](./components/basic/alert.md)
|
|
9
|
+
- [AttachmentsList](./components/basic/attachments-list.md)
|
|
10
|
+
- [Avatar](./components/basic/avatar.md)
|
|
11
|
+
- [AvatarUploader](./components/basic/avatar-uploader.md)
|
|
12
|
+
- [Badge](./components/basic/badge.md)
|
|
13
|
+
- [Barcode](./components/basic/barcode.md)
|
|
14
|
+
- [Beacon](./components/basic/beacon.md)
|
|
15
|
+
- [Breadcrumb](./components/basic/breadcrumb.md)
|
|
16
|
+
- [Button](./components/basic/button.md)
|
|
17
|
+
- [ButtonGroup](./components/basic/button-group.md)
|
|
18
|
+
- [Carousel](./components/basic/carousel.md)
|
|
19
|
+
- [CheckBox](./components/basic/checkbox.md)
|
|
20
|
+
- [Chip](./components/basic/chip.md)
|
|
21
|
+
- [ChoiceBox](./components/basic/choice-box.md)
|
|
22
|
+
- [ColorPicker](./components/basic/color-picker.md)
|
|
23
|
+
- [ConfirmationModal](./components/basic/confirmation-modal.md)
|
|
24
|
+
- [CustomFields](./components/basic/custom-fields.md)
|
|
25
|
+
- [DataList](./components/basic/data-list.md)
|
|
26
|
+
- [DataTable](./components/basic/data-table.md)
|
|
27
|
+
- [Date](./components/basic/date.md)
|
|
28
|
+
- [DatePicker](./components/basic/date-picker.md)
|
|
29
|
+
- [Dropdown](./components/basic/dropdown.md)
|
|
30
|
+
- [FilePicker](./components/basic/file-picker.md)
|
|
31
|
+
- [FilePreview](./components/basic/file-preview.md)
|
|
32
|
+
- [Forms](./components/basic/forms.md)
|
|
33
|
+
- [Icon](./components/basic/icon.md)
|
|
34
|
+
- [IconPicker](./components/basic/icon-picker.md)
|
|
35
|
+
- [ImageComparison](./components/basic/image-comparison.md)
|
|
36
|
+
- [Input](./components/basic/input.md)
|
|
37
|
+
- [Label](./components/basic/label.md)
|
|
38
|
+
- [List](./components/basic/list.md)
|
|
39
|
+
- [Modal](./components/basic/modal.md)
|
|
40
|
+
- [MultiSelect](./components/basic/multi-select.md)
|
|
41
|
+
- [NumberInput](./components/basic/number-input.md)
|
|
42
|
+
- [OTPInput](./components/basic/otp-input.md)
|
|
43
|
+
- [PanZoomViewport](./components/basic/pan-zoom-viewport.md)
|
|
44
|
+
- [Pagination](./components/basic/pagination.md)
|
|
45
|
+
- [Persona](./components/basic/persona.md)
|
|
46
|
+
- [Price](./components/basic/price.md)
|
|
47
|
+
- [ProgressBar](./components/basic/progress-bar.md)
|
|
48
|
+
- [QRCode](./components/basic/qr-code.md)
|
|
49
|
+
- [RadioGroup](./components/basic/radio-group.md)
|
|
50
|
+
- [Rating](./components/basic/rating.md)
|
|
51
|
+
- [RichTextEditor](./components/basic/rich-text-editor.md)
|
|
52
|
+
- [Screen](./components/basic/screen.md)
|
|
53
|
+
- [SeoProvider](./components/basic/seo-provider.md)
|
|
54
|
+
- [SidePanel](./components/basic/side-panel.md)
|
|
55
|
+
- [SidebarMenu](./components/basic/sidebar-menu.md)
|
|
56
|
+
- [Skeleton](./components/basic/skeleton.md)
|
|
57
|
+
- [Slider](./components/basic/slider.md)
|
|
58
|
+
- [Spinner](./components/basic/spinner.md)
|
|
59
|
+
- [Splitter](./components/basic/splitter.md)
|
|
60
|
+
- [Stats](./components/basic/stats.md)
|
|
61
|
+
- [StatusChip](./components/basic/status-chip.md)
|
|
62
|
+
- [Switch](./components/basic/switch.md)
|
|
63
|
+
- [Tabes](./components/basic/tabs.md)
|
|
64
|
+
- [Textarea](./components/basic/textarea.md)
|
|
65
|
+
- [ThemeToggle](./components/basic/theme-toggle.md)
|
|
66
|
+
- [Timeline](./components/basic/timeline.md)
|
|
67
|
+
- [ToastNotification](./components/basic/toast-notification.md)
|
|
68
|
+
- [Tooltip](./components/basic/tooltip.md)
|
|
69
|
+
|
|
70
|
+
## Advanced Components
|
|
71
|
+
|
|
72
|
+
- [Calendar](./components/advanced/calendar.md)
|
|
73
|
+
- [CommandPalette](./components/advanced/command-palette.md)
|
|
74
|
+
- [DateRangePicker](./components/advanced/date-range-picker.md)
|
|
75
|
+
- [ExportData](./components/advanced/export-data.md)
|
|
76
|
+
- [FileTree](./components/advanced/file-tree.md)
|
|
77
|
+
- [Footer](./components/advanced/footer.md)
|
|
78
|
+
- [GanttChart](./components/advanced/gantt-chart.md)
|
|
79
|
+
- [GoogleLogin](./components/advanced/google-login.md)
|
|
80
|
+
- [Heatmap](./components/advanced/heatmap.md)
|
|
81
|
+
- [ImportData](./components/advanced/import-data.md)
|
|
82
|
+
- [Kanban](./components/advanced/kanban.md)
|
|
83
|
+
- [Masonry](./components/advanced/masonry.md)
|
|
84
|
+
- [Navbar](./components/advanced/navbar.md)
|
|
85
|
+
- [PermissionEditor](./components/advanced/permission-editor.md)
|
|
86
|
+
- [PricingPlan](./components/advanced/pricing-plan.md)
|
|
87
|
+
- [ThumbnailSelector](./components/advanced/thumbnail-selector.md)
|
|
88
|
+
- [Workbook](./components/advanced/workbook.md)
|
|
89
|
+
- [Charts](./components/advanced/charts.md)
|