@astrake/lumora-ui 0.2.1 → 0.7.2
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/CHANGELOG.md +230 -141
- package/README.md +23 -21
- package/dist/LuAccordion.vue_vue_type_script_setup_true_lang-CwG5Ml8t.js +5032 -0
- package/dist/{LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-CIksvebU.js → LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-D4rqklgo.js} +1 -1
- package/dist/LuOverlay.vue_vue_type_script_setup_true_lang-C5jhqCgy.js +221 -0
- package/dist/__mocks__/empty.d.ts +4 -0
- package/dist/components/LuAccordion.vue.d.ts +23 -0
- package/dist/components/LuBarChart.vue.d.ts +22 -0
- package/dist/components/LuBottomSheet.vue.d.ts +27 -0
- package/dist/components/LuCalendar.vue.d.ts +34 -0
- package/dist/components/LuCard.vue.d.ts +0 -3
- package/dist/components/LuCheckbox.vue.d.ts +19 -5
- package/dist/components/LuChip.vue.d.ts +35 -0
- package/dist/components/LuChipGroup.vue.d.ts +23 -0
- package/dist/components/LuCodeBlock.vue.d.ts +11 -14
- package/dist/components/LuCollapsible.vue.d.ts +7 -4
- package/dist/components/LuCommandPalette.vue.d.ts +25 -0
- package/dist/components/LuDataGrid.types.d.ts +39 -0
- package/dist/components/LuDataGrid.vue.d.ts +84 -0
- package/dist/components/LuDateRangePicker.vue.d.ts +29 -0
- package/dist/components/LuDoughnutChart.vue.d.ts +17 -0
- package/dist/components/LuDrawer.vue.d.ts +33 -0
- package/dist/components/LuFileUpload.vue.d.ts +38 -0
- package/dist/components/LuForm.vue.d.ts +2 -2
- package/dist/components/LuFormField.vue.d.ts +21 -0
- package/dist/components/LuFormWizard.types.d.ts +7 -0
- package/dist/components/LuFormWizard.vue.d.ts +33 -0
- package/dist/components/LuGaugeChart.vue.d.ts +16 -0
- package/dist/components/LuKanban.types.d.ts +24 -0
- package/dist/components/LuKanban.vue.d.ts +30 -0
- package/dist/components/LuLineChart.vue.d.ts +19 -0
- package/dist/components/LuList.vue.d.ts +18 -0
- package/dist/components/LuListDivider.vue.d.ts +5 -0
- package/dist/components/LuListItem.vue.d.ts +32 -0
- package/dist/components/LuListSubheader.vue.d.ts +16 -0
- package/dist/components/LuMediaGallery.vue.d.ts +25 -0
- package/dist/components/LuMenu.vue.d.ts +2 -2
- package/dist/components/LuModal.vue.d.ts +5 -5
- package/dist/components/LuPagination.vue.d.ts +2 -2
- package/dist/components/LuPlanner.types.d.ts +14 -0
- package/dist/components/LuPlanner.vue.d.ts +23 -0
- package/dist/components/LuPopover.vue.d.ts +24 -0
- package/dist/components/LuRadioGroup.types.d.ts +1 -0
- package/dist/components/LuRadioGroup.vue.d.ts +2 -2
- package/dist/components/LuRichTextEditor.vue.d.ts +27 -0
- package/dist/components/LuSelect.vue.d.ts +35 -2
- package/dist/components/{LuPageHeader.vue.d.ts → LuSparkline.vue.d.ts} +9 -5
- package/dist/components/LuSwitch.vue.d.ts +19 -5
- package/dist/components/LuTimeline.vue.d.ts +17 -0
- package/dist/components/LuTimelineItem.vue.d.ts +24 -0
- package/dist/components/LuToast.vue.d.ts +5 -0
- package/dist/components/LuTree.types.d.ts +9 -0
- package/dist/components/LuTree.vue.d.ts +25 -0
- package/dist/components/LuTreeNode.vue.d.ts +37 -0
- package/dist/components/__tests__/LuAccordion.test.d.ts +1 -0
- package/dist/components/__tests__/LuBarChart.test.d.ts +1 -0
- package/dist/components/__tests__/LuBottomSheet.test.d.ts +1 -0
- package/dist/components/__tests__/LuCalendar.test.d.ts +1 -0
- package/dist/components/__tests__/LuCheckbox.test.d.ts +1 -0
- package/dist/components/__tests__/LuChip.test.d.ts +1 -0
- package/dist/components/__tests__/LuCommandPalette.test.d.ts +1 -0
- package/dist/components/__tests__/LuDataGrid.test.d.ts +1 -0
- package/dist/components/__tests__/LuDateRangePicker.test.d.ts +1 -0
- package/dist/components/__tests__/LuDoughnutChart.test.d.ts +1 -0
- package/dist/components/__tests__/LuDrawer.test.d.ts +1 -0
- package/dist/components/__tests__/LuFileUpload.test.d.ts +1 -0
- package/dist/components/__tests__/LuFormWizard.test.d.ts +1 -0
- package/dist/components/__tests__/LuGaugeChart.test.d.ts +1 -0
- package/dist/components/__tests__/LuKanban.test.d.ts +1 -0
- package/dist/components/__tests__/LuLineChart.test.d.ts +1 -0
- package/dist/components/__tests__/LuList.test.d.ts +1 -0
- package/dist/components/__tests__/LuMediaGallery.test.d.ts +1 -0
- package/dist/components/__tests__/LuPlanner.test.d.ts +1 -0
- package/dist/components/__tests__/LuPopover.test.d.ts +1 -0
- package/dist/components/__tests__/LuRadio.test.d.ts +1 -0
- package/dist/components/__tests__/LuRichTextEditor.test.d.ts +1 -0
- package/dist/components/__tests__/LuSelect.test.d.ts +1 -0
- package/dist/components/__tests__/LuSparkline.test.d.ts +1 -0
- package/dist/components/__tests__/LuSwitch.test.d.ts +1 -0
- package/dist/components/__tests__/LuTimeline.test.d.ts +1 -0
- package/dist/components/__tests__/LuToast.test.d.ts +1 -0
- package/dist/components/__tests__/LuTree.test.d.ts +1 -0
- package/dist/components/_all.d.ts +3 -0
- package/dist/components/index.d.ts +42 -3
- package/dist/components/index.js +73 -44
- package/dist/composables/index.d.ts +3 -0
- package/dist/composables/index.js +34 -14
- package/dist/composables/lazyVChart.d.ts +10 -0
- package/dist/composables/useChartTheme.d.ts +65 -0
- package/dist/composables/useDataGrid.d.ts +52 -0
- package/dist/composables/useFloating.d.ts +12 -0
- package/dist/composables/useLuToast.d.ts +14 -0
- package/dist/composables/useShiki.d.ts +2 -0
- package/dist/context-CGS7Ou_x.js +36 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +217 -81
- package/dist/layout/LuFill.vue.d.ts +0 -3
- package/dist/layout/LuFixed.vue.d.ts +0 -3
- package/dist/layout/LuGrid.vue.d.ts +0 -4
- package/dist/layout/LuStack.vue.d.ts +5 -3
- package/dist/layout/index.js +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/skins/components.d.ts +2 -0
- package/dist/skins/index.js +1053 -219
- package/dist/skins/layout.d.ts +2 -0
- package/dist/skins/shell/desktop.d.ts +2 -0
- package/dist/skins/shell/embedded.d.ts +2 -0
- package/dist/skins/shell/mobile.d.ts +2 -0
- package/dist/useLuToast-D5d7Wrcr.js +1029 -0
- package/dist/utils.d.ts +0 -11
- package/package.json +95 -94
- package/src/lumora.css +259 -16
- package/dist/LuCodeBlock.vue_vue_type_script_setup_true_lang-BjwcjuXF.js +0 -1623
- package/dist/LuOverlay.vue_vue_type_script_setup_true_lang-DZch4Vrw.js +0 -226
- package/dist/components/LuThemeSelect.vue.d.ts +0 -2
- package/dist/components/LuThemeSwitch.vue.d.ts +0 -2
- package/dist/context-0gENwESP.js +0 -62
- package/dist/useTheme-Cd4wVaLs.js +0 -21
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { ColumnDef, Row, DataGridSortState, DataGridFilterState } from "../components/LuDataGrid.types";
|
|
3
|
+
export interface UseDataGridOptions {
|
|
4
|
+
columns: Ref<ColumnDef[]>;
|
|
5
|
+
data: Ref<Row[]>;
|
|
6
|
+
groupBy?: Ref<string | undefined>;
|
|
7
|
+
selectable?: Ref<boolean>;
|
|
8
|
+
idKey?: Ref<string>;
|
|
9
|
+
localSort?: Ref<boolean>;
|
|
10
|
+
localSearch?: Ref<boolean>;
|
|
11
|
+
}
|
|
12
|
+
export declare function useDataGrid(opts: UseDataGridOptions): {
|
|
13
|
+
visibleColumns: import("vue").ComputedRef<ColumnDef[]>;
|
|
14
|
+
hiddenColumns: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
15
|
+
columnOrder: Ref<string[], string[]>;
|
|
16
|
+
toggleColumn: (key: string) => void;
|
|
17
|
+
resetColumnOrder: () => void;
|
|
18
|
+
sortState: Ref<{
|
|
19
|
+
key: string;
|
|
20
|
+
direction: "asc" | "desc";
|
|
21
|
+
} | null, DataGridSortState | {
|
|
22
|
+
key: string;
|
|
23
|
+
direction: "asc" | "desc";
|
|
24
|
+
} | null>;
|
|
25
|
+
toggleSort: (key: string) => {
|
|
26
|
+
key: string;
|
|
27
|
+
direction: "asc" | "desc";
|
|
28
|
+
} | null;
|
|
29
|
+
searchQuery: Ref<string, string>;
|
|
30
|
+
columnFilters: Ref<DataGridFilterState, DataGridFilterState>;
|
|
31
|
+
setColumnFilter: (key: string, value: string | number | [number, number] | undefined) => void;
|
|
32
|
+
clearFilters: () => void;
|
|
33
|
+
filteredData: import("vue").ComputedRef<Row[]>;
|
|
34
|
+
selectedIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
35
|
+
isSelected: (row: Row) => boolean;
|
|
36
|
+
toggleRow: (row: Row) => string[];
|
|
37
|
+
selectAll: () => string[];
|
|
38
|
+
selectAllData: () => string[];
|
|
39
|
+
clearSelection: () => string[];
|
|
40
|
+
allSelected: import("vue").ComputedRef<boolean>;
|
|
41
|
+
someSelected: import("vue").ComputedRef<boolean>;
|
|
42
|
+
selectionCount: import("vue").ComputedRef<number>;
|
|
43
|
+
groupedRows: import("vue").ComputedRef<({
|
|
44
|
+
type: "group";
|
|
45
|
+
key: string;
|
|
46
|
+
label: string;
|
|
47
|
+
} | {
|
|
48
|
+
type: "row";
|
|
49
|
+
row: Row;
|
|
50
|
+
})[]>;
|
|
51
|
+
hasColumnFilters: import("vue").ComputedRef<boolean>;
|
|
52
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type Placement } from '@floating-ui/dom';
|
|
3
|
+
export interface UseFloatingOptions {
|
|
4
|
+
placement?: Placement;
|
|
5
|
+
offset?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function useFloating(reference: Ref<HTMLElement | null | undefined>, floating: Ref<HTMLElement | null | undefined>, options?: UseFloatingOptions): {
|
|
8
|
+
x: Ref<number, number>;
|
|
9
|
+
y: Ref<number, number>;
|
|
10
|
+
placement: Ref<Placement, Placement>;
|
|
11
|
+
update: () => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ToastItem {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
variant?: 'success' | 'error' | 'warning' | 'info' | string;
|
|
6
|
+
duration?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const activeToasts: import("vue").ShallowReactive<ToastItem[]>;
|
|
9
|
+
export declare function useLuToast(): {
|
|
10
|
+
toasts: import("vue").ShallowReactive<ToastItem[]>;
|
|
11
|
+
toast: (options: Omit<ToastItem, "id">) => string;
|
|
12
|
+
dismiss: (id: string) => void;
|
|
13
|
+
dismissAll: () => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { inject as m, isRef as p } from "vue";
|
|
2
|
+
import { clsx as a } from "clsx";
|
|
3
|
+
import { twMerge as l } from "tailwind-merge";
|
|
4
|
+
import { defaultSkin as k } from "./skins/index.js";
|
|
5
|
+
function u(...o) {
|
|
6
|
+
return l(a(o));
|
|
7
|
+
}
|
|
8
|
+
function g(o, c) {
|
|
9
|
+
const s = { ...o };
|
|
10
|
+
for (const e in c) {
|
|
11
|
+
if (!s[e]) {
|
|
12
|
+
s[e] = { ...c[e] };
|
|
13
|
+
continue;
|
|
14
|
+
}
|
|
15
|
+
const t = s[e], r = c[e], i = { ...t };
|
|
16
|
+
for (const n in r)
|
|
17
|
+
t[n] ? i[n] = u(t[n], r[n]) : i[n] = r[n];
|
|
18
|
+
s[e] = i;
|
|
19
|
+
}
|
|
20
|
+
return s;
|
|
21
|
+
}
|
|
22
|
+
const d = Symbol("LumoraUIConfig");
|
|
23
|
+
function L() {
|
|
24
|
+
const o = m(d, {});
|
|
25
|
+
return { config: o, resolveSkin: (e, t) => {
|
|
26
|
+
const r = p(o.skin) ? o.skin.value : o.skin || {}, n = g(k, r)[e];
|
|
27
|
+
if (!n) return "";
|
|
28
|
+
const f = [];
|
|
29
|
+
return n.default && f.push(n.default), t && n[t] && f.push(n[t]), u(f);
|
|
30
|
+
}, resolveIcon: (e, t) => o.icons ? o.icons(e, t) : null };
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
d as L,
|
|
34
|
+
u as c,
|
|
35
|
+
L as u
|
|
36
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5,3 +5,8 @@ export * from "./layout/index";
|
|
|
5
5
|
export * from "./shell/index";
|
|
6
6
|
export * from "./components/index";
|
|
7
7
|
export * from "./skins/index";
|
|
8
|
+
export { useDataGrid } from "./composables/useDataGrid";
|
|
9
|
+
export { useChartTheme } from "./composables/useChartTheme";
|
|
10
|
+
export type { UseDataGridOptions } from "./composables/useDataGrid";
|
|
11
|
+
export { useFloating } from "./composables/useFloating";
|
|
12
|
+
export { useLuToast, type ToastItem } from "./composables/useLuToast";
|
package/dist/index.js
CHANGED
|
@@ -1,94 +1,230 @@
|
|
|
1
|
-
import { L as
|
|
2
|
-
import { u as
|
|
3
|
-
import { shallowReactive as
|
|
4
|
-
import { _ as
|
|
5
|
-
import {
|
|
6
|
-
import { _ as
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { L as _ } from "./context-CGS7Ou_x.js";
|
|
2
|
+
import { u as es } from "./context-CGS7Ou_x.js";
|
|
3
|
+
import { shallowReactive as n } from "vue";
|
|
4
|
+
import { _ as m, a as o, b as t, c, d as r, e as l, f, g as $, h as d, i as p, j as i, k as b, l as T, m as h, n as S, o as k, p as g, q as C, r as B, s as D, t as P, u as R, v as I, w as v, x, y as F, z as G, A as M, B as y, C as j, D as E, E as w, F as A, G as H, H as z, I as O, J as U, K as N, L as K, M as W, N as q, O as J, P as Q, Q as V, R as X, S as Y, T as Z, U as aa, V as sa, W as ua, X as ea, Y as ia, Z as La, $ as _a, a0 as na, a1 as ma, a2 as oa, a3 as ta, a4 as ca, a5 as ra, a6 as la, a7 as fa, a8 as $a, a9 as da, aa as pa, ab as ba, ac as Ta, ad as ha, ae as Sa, af as ka, ag as ga, ah as Ca } from "./LuAccordion.vue_vue_type_script_setup_true_lang-CwG5Ml8t.js";
|
|
5
|
+
import { ai as Ls, aj as _s } from "./LuAccordion.vue_vue_type_script_setup_true_lang-CwG5Ml8t.js";
|
|
6
|
+
import { _ as Ba, a as Da, b as Pa, c as Ra, d as Ia, e as va, f as xa, g as Fa, h as Ga, i as Ma, j as ya } from "./LuOverlay.vue_vue_type_script_setup_true_lang-C5jhqCgy.js";
|
|
7
|
+
import { _ as ja, a as Ea, b as wa, c as Aa, d as Ha, e as za, f as Oa, g as Ua, h as Na, i as Ka, j as Wa, k as qa } from "./LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-D4rqklgo.js";
|
|
8
|
+
import { defaultSkin as ms } from "./skins/index.js";
|
|
9
|
+
import { u as ts, a as cs } from "./useLuToast-D5d7Wrcr.js";
|
|
10
|
+
const Ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11
|
+
__proto__: null,
|
|
12
|
+
LuAccordion: m,
|
|
13
|
+
LuAlert: o,
|
|
14
|
+
LuAvatar: t,
|
|
15
|
+
LuBadge: c,
|
|
16
|
+
LuBarChart: r,
|
|
17
|
+
LuBottomSheet: l,
|
|
18
|
+
LuBreadcrumb: f,
|
|
19
|
+
LuButton: $,
|
|
20
|
+
LuCalendar: d,
|
|
21
|
+
LuCard: p,
|
|
22
|
+
LuCheck: i,
|
|
23
|
+
LuCheckbox: i,
|
|
24
|
+
LuChip: b,
|
|
25
|
+
LuChipGroup: T,
|
|
26
|
+
LuCodeBlock: h,
|
|
27
|
+
LuCollapsible: S,
|
|
28
|
+
LuCommandPalette: k,
|
|
29
|
+
LuDataGrid: g,
|
|
30
|
+
LuDateRangePicker: C,
|
|
31
|
+
LuDesktopRailBar: ja,
|
|
32
|
+
LuDesktopRailItem: Ea,
|
|
33
|
+
LuDesktopShell: wa,
|
|
34
|
+
LuDesktopSidebar: Aa,
|
|
35
|
+
LuDesktopStatusBar: Ha,
|
|
36
|
+
LuDesktopTopBar: za,
|
|
37
|
+
LuDivider: B,
|
|
38
|
+
LuDock: Ba,
|
|
39
|
+
LuDockItem: Da,
|
|
40
|
+
LuDoughnutChart: D,
|
|
41
|
+
LuDrawer: P,
|
|
42
|
+
LuEmbeddedShell: Oa,
|
|
43
|
+
LuEmbeddedStatusBar: Ua,
|
|
44
|
+
LuEmbeddedTopBar: Na,
|
|
45
|
+
LuFileUpload: R,
|
|
46
|
+
LuFill: Pa,
|
|
47
|
+
LuFixed: Ra,
|
|
48
|
+
LuForm: I,
|
|
49
|
+
LuFormField: v,
|
|
50
|
+
LuFormWizard: x,
|
|
51
|
+
LuGaugeChart: F,
|
|
52
|
+
LuGrid: Ia,
|
|
53
|
+
LuIcon: G,
|
|
54
|
+
LuInput: M,
|
|
55
|
+
LuKanban: y,
|
|
56
|
+
LuLineChart: j,
|
|
57
|
+
LuLink: E,
|
|
58
|
+
LuList: w,
|
|
59
|
+
LuListDivider: A,
|
|
60
|
+
LuListItem: H,
|
|
61
|
+
LuListSubheader: z,
|
|
62
|
+
LuMediaGallery: O,
|
|
63
|
+
LuMenu: U,
|
|
64
|
+
LuMenuItem: N,
|
|
65
|
+
LuMobileHeader: Ka,
|
|
66
|
+
LuMobileNavBar: Wa,
|
|
67
|
+
LuMobileShell: qa,
|
|
68
|
+
LuModal: K,
|
|
69
|
+
LuOverlay: va,
|
|
70
|
+
LuPagination: W,
|
|
71
|
+
LuPlanner: q,
|
|
72
|
+
LuPopover: J,
|
|
73
|
+
LuProgressBar: Q,
|
|
74
|
+
LuRadio: V,
|
|
75
|
+
LuRadioGroup: X,
|
|
76
|
+
LuRichTextEditor: Y,
|
|
77
|
+
LuScroll: xa,
|
|
78
|
+
LuSelect: Z,
|
|
79
|
+
LuSkeleton: aa,
|
|
80
|
+
LuSparkline: sa,
|
|
81
|
+
LuSpinner: ua,
|
|
82
|
+
LuSplit: Fa,
|
|
83
|
+
LuSplitPane: Ga,
|
|
84
|
+
LuSplitResizer: Ma,
|
|
85
|
+
LuStack: ya,
|
|
86
|
+
LuSwitch: ea,
|
|
87
|
+
LuTab: ia,
|
|
88
|
+
LuTabList: La,
|
|
89
|
+
LuTabPanel: _a,
|
|
90
|
+
LuTable: na,
|
|
91
|
+
LuTableBody: ma,
|
|
92
|
+
LuTableCell: oa,
|
|
93
|
+
LuTableHead: ta,
|
|
94
|
+
LuTableHeadCell: ca,
|
|
95
|
+
LuTableRow: ra,
|
|
96
|
+
LuTabs: la,
|
|
97
|
+
LuTag: fa,
|
|
98
|
+
LuText: $a,
|
|
99
|
+
LuTextarea: da,
|
|
100
|
+
LuTimeline: pa,
|
|
101
|
+
LuTimelineItem: ba,
|
|
102
|
+
LuToast: Ta,
|
|
103
|
+
LuToggleButton: ha,
|
|
104
|
+
LuToggleGroup: Sa,
|
|
105
|
+
LuTooltip: ka,
|
|
106
|
+
LuTree: ga,
|
|
107
|
+
LuTreeNode: Ca
|
|
108
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
109
|
+
function as(a = {}) {
|
|
9
110
|
return {
|
|
10
|
-
install(
|
|
11
|
-
const
|
|
111
|
+
install(s) {
|
|
112
|
+
const L = n({
|
|
12
113
|
target: a.target ?? "desktop",
|
|
13
114
|
skin: a.skin,
|
|
14
115
|
locale: a.locale ?? "en-US",
|
|
15
116
|
a11y: a.a11y ?? !0,
|
|
16
117
|
icons: a.icons
|
|
17
118
|
});
|
|
18
|
-
|
|
119
|
+
if (s.provide(_, L), a.global !== !1)
|
|
120
|
+
for (const [u, e] of Object.entries(Ja))
|
|
121
|
+
u.startsWith("Lu") && typeof e == "object" && s.component(u, e);
|
|
19
122
|
}
|
|
20
123
|
};
|
|
21
124
|
}
|
|
22
125
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
126
|
+
m as LuAccordion,
|
|
127
|
+
o as LuAlert,
|
|
128
|
+
t as LuAvatar,
|
|
129
|
+
c as LuBadge,
|
|
130
|
+
r as LuBarChart,
|
|
131
|
+
l as LuBottomSheet,
|
|
132
|
+
f as LuBreadcrumb,
|
|
133
|
+
$ as LuButton,
|
|
134
|
+
d as LuCalendar,
|
|
135
|
+
p as LuCard,
|
|
136
|
+
i as LuCheck,
|
|
137
|
+
i as LuCheckbox,
|
|
138
|
+
b as LuChip,
|
|
139
|
+
T as LuChipGroup,
|
|
140
|
+
h as LuCodeBlock,
|
|
141
|
+
S as LuCollapsible,
|
|
142
|
+
k as LuCommandPalette,
|
|
143
|
+
g as LuDataGrid,
|
|
144
|
+
C as LuDateRangePicker,
|
|
145
|
+
ja as LuDesktopRailBar,
|
|
146
|
+
Ea as LuDesktopRailItem,
|
|
147
|
+
wa as LuDesktopShell,
|
|
148
|
+
Aa as LuDesktopSidebar,
|
|
149
|
+
Ha as LuDesktopStatusBar,
|
|
150
|
+
za as LuDesktopTopBar,
|
|
151
|
+
B as LuDivider,
|
|
152
|
+
Ba as LuDock,
|
|
153
|
+
Da as LuDockItem,
|
|
154
|
+
D as LuDoughnutChart,
|
|
155
|
+
P as LuDrawer,
|
|
156
|
+
Oa as LuEmbeddedShell,
|
|
157
|
+
Ua as LuEmbeddedStatusBar,
|
|
158
|
+
Na as LuEmbeddedTopBar,
|
|
159
|
+
R as LuFileUpload,
|
|
160
|
+
Pa as LuFill,
|
|
161
|
+
Ra as LuFixed,
|
|
162
|
+
I as LuForm,
|
|
163
|
+
v as LuFormField,
|
|
164
|
+
x as LuFormWizard,
|
|
165
|
+
F as LuGaugeChart,
|
|
166
|
+
Ia as LuGrid,
|
|
167
|
+
G as LuIcon,
|
|
168
|
+
M as LuInput,
|
|
169
|
+
y as LuKanban,
|
|
170
|
+
j as LuLineChart,
|
|
171
|
+
E as LuLink,
|
|
172
|
+
w as LuList,
|
|
173
|
+
A as LuListDivider,
|
|
174
|
+
H as LuListItem,
|
|
175
|
+
z as LuListSubheader,
|
|
176
|
+
O as LuMediaGallery,
|
|
177
|
+
U as LuMenu,
|
|
178
|
+
N as LuMenuItem,
|
|
179
|
+
Ka as LuMobileHeader,
|
|
180
|
+
Wa as LuMobileNavBar,
|
|
181
|
+
qa as LuMobileShell,
|
|
182
|
+
K as LuModal,
|
|
183
|
+
va as LuOverlay,
|
|
184
|
+
W as LuPagination,
|
|
185
|
+
q as LuPlanner,
|
|
186
|
+
J as LuPopover,
|
|
187
|
+
Q as LuProgressBar,
|
|
188
|
+
V as LuRadio,
|
|
189
|
+
X as LuRadioGroup,
|
|
190
|
+
Y as LuRichTextEditor,
|
|
191
|
+
xa as LuScroll,
|
|
192
|
+
Z as LuSelect,
|
|
193
|
+
aa as LuSkeleton,
|
|
194
|
+
sa as LuSparkline,
|
|
195
|
+
ua as LuSpinner,
|
|
196
|
+
Fa as LuSplit,
|
|
197
|
+
Ga as LuSplitPane,
|
|
198
|
+
Ma as LuSplitResizer,
|
|
199
|
+
ya as LuStack,
|
|
200
|
+
ea as LuSwitch,
|
|
72
201
|
ia as LuTab,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
202
|
+
La as LuTabList,
|
|
203
|
+
_a as LuTabPanel,
|
|
204
|
+
na as LuTable,
|
|
205
|
+
ma as LuTableBody,
|
|
206
|
+
oa as LuTableCell,
|
|
207
|
+
ta as LuTableHead,
|
|
208
|
+
ca as LuTableHeadCell,
|
|
209
|
+
ra as LuTableRow,
|
|
210
|
+
la as LuTabs,
|
|
211
|
+
fa as LuTag,
|
|
212
|
+
$a as LuText,
|
|
213
|
+
da as LuTextarea,
|
|
214
|
+
pa as LuTimeline,
|
|
215
|
+
ba as LuTimelineItem,
|
|
216
|
+
Ta as LuToast,
|
|
217
|
+
ha as LuToggleButton,
|
|
218
|
+
Sa as LuToggleGroup,
|
|
219
|
+
ka as LuTooltip,
|
|
220
|
+
ga as LuTree,
|
|
221
|
+
Ca as LuTreeNode,
|
|
222
|
+
_ as LumoraUIConfigKey,
|
|
223
|
+
as as createLumoraUI,
|
|
224
|
+
ms as defaultSkin,
|
|
225
|
+
Ls as useChartTheme,
|
|
226
|
+
_s as useDataGrid,
|
|
227
|
+
ts as useFloating,
|
|
228
|
+
cs as useLuToast,
|
|
229
|
+
es as useLumoraConfig
|
|
94
230
|
};
|
|
@@ -5,10 +5,6 @@ type __VLS_Props = {
|
|
|
5
5
|
lgCols?: number;
|
|
6
6
|
variant?: string;
|
|
7
7
|
as?: string;
|
|
8
|
-
gap?: string | number;
|
|
9
|
-
padding?: string | number;
|
|
10
|
-
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
11
|
-
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
12
8
|
};
|
|
13
9
|
declare var __VLS_6: {};
|
|
14
10
|
type __VLS_Slots = {} & {
|
|
@@ -2,10 +2,12 @@ type __VLS_Props = {
|
|
|
2
2
|
direction?: "vertical" | "horizontal";
|
|
3
3
|
variant?: string;
|
|
4
4
|
as?: string;
|
|
5
|
+
/** Tailwind gap step, e.g. gap="4" → gap-4 */
|
|
5
6
|
gap?: string | number;
|
|
6
|
-
|
|
7
|
-
align?:
|
|
8
|
-
justify
|
|
7
|
+
/** Tailwind items-* shorthand: center | start | end | stretch | baseline */
|
|
8
|
+
align?: "center" | "start" | "end" | "stretch" | "baseline";
|
|
9
|
+
/** Tailwind justify-* shorthand: center | start | end | between | around | evenly */
|
|
10
|
+
justify?: "center" | "start" | "end" | "between" | "around" | "evenly";
|
|
9
11
|
};
|
|
10
12
|
declare var __VLS_6: {};
|
|
11
13
|
type __VLS_Slots = {} & {
|
package/dist/layout/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as u, a as L, b as e, c as i, d as l, e as r, f as t, g as c, h as o, i as S, j as p } from "../LuOverlay.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as u, a as L, b as e, c as i, d as l, e as r, f as t, g as c, h as o, i as S, j as p } from "../LuOverlay.vue_vue_type_script_setup_true_lang-C5jhqCgy.js";
|
|
2
2
|
export {
|
|
3
3
|
u as LuDock,
|
|
4
4
|
L as LuDockItem,
|
package/dist/shell/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, a as u, b as o, c as d, d as t, e as L, f as l, g as r, h as p, i as b, j as i, k } from "../LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as s, a as u, b as o, c as d, d as t, e as L, f as l, g as r, h as p, i as b, j as i, k } from "../LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-D4rqklgo.js";
|
|
2
2
|
export {
|
|
3
3
|
s as LuDesktopRailBar,
|
|
4
4
|
u as LuDesktopRailItem,
|