@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.
Files changed (118) hide show
  1. package/CHANGELOG.md +230 -141
  2. package/README.md +23 -21
  3. package/dist/LuAccordion.vue_vue_type_script_setup_true_lang-CwG5Ml8t.js +5032 -0
  4. package/dist/{LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-CIksvebU.js → LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-D4rqklgo.js} +1 -1
  5. package/dist/LuOverlay.vue_vue_type_script_setup_true_lang-C5jhqCgy.js +221 -0
  6. package/dist/__mocks__/empty.d.ts +4 -0
  7. package/dist/components/LuAccordion.vue.d.ts +23 -0
  8. package/dist/components/LuBarChart.vue.d.ts +22 -0
  9. package/dist/components/LuBottomSheet.vue.d.ts +27 -0
  10. package/dist/components/LuCalendar.vue.d.ts +34 -0
  11. package/dist/components/LuCard.vue.d.ts +0 -3
  12. package/dist/components/LuCheckbox.vue.d.ts +19 -5
  13. package/dist/components/LuChip.vue.d.ts +35 -0
  14. package/dist/components/LuChipGroup.vue.d.ts +23 -0
  15. package/dist/components/LuCodeBlock.vue.d.ts +11 -14
  16. package/dist/components/LuCollapsible.vue.d.ts +7 -4
  17. package/dist/components/LuCommandPalette.vue.d.ts +25 -0
  18. package/dist/components/LuDataGrid.types.d.ts +39 -0
  19. package/dist/components/LuDataGrid.vue.d.ts +84 -0
  20. package/dist/components/LuDateRangePicker.vue.d.ts +29 -0
  21. package/dist/components/LuDoughnutChart.vue.d.ts +17 -0
  22. package/dist/components/LuDrawer.vue.d.ts +33 -0
  23. package/dist/components/LuFileUpload.vue.d.ts +38 -0
  24. package/dist/components/LuForm.vue.d.ts +2 -2
  25. package/dist/components/LuFormField.vue.d.ts +21 -0
  26. package/dist/components/LuFormWizard.types.d.ts +7 -0
  27. package/dist/components/LuFormWizard.vue.d.ts +33 -0
  28. package/dist/components/LuGaugeChart.vue.d.ts +16 -0
  29. package/dist/components/LuKanban.types.d.ts +24 -0
  30. package/dist/components/LuKanban.vue.d.ts +30 -0
  31. package/dist/components/LuLineChart.vue.d.ts +19 -0
  32. package/dist/components/LuList.vue.d.ts +18 -0
  33. package/dist/components/LuListDivider.vue.d.ts +5 -0
  34. package/dist/components/LuListItem.vue.d.ts +32 -0
  35. package/dist/components/LuListSubheader.vue.d.ts +16 -0
  36. package/dist/components/LuMediaGallery.vue.d.ts +25 -0
  37. package/dist/components/LuMenu.vue.d.ts +2 -2
  38. package/dist/components/LuModal.vue.d.ts +5 -5
  39. package/dist/components/LuPagination.vue.d.ts +2 -2
  40. package/dist/components/LuPlanner.types.d.ts +14 -0
  41. package/dist/components/LuPlanner.vue.d.ts +23 -0
  42. package/dist/components/LuPopover.vue.d.ts +24 -0
  43. package/dist/components/LuRadioGroup.types.d.ts +1 -0
  44. package/dist/components/LuRadioGroup.vue.d.ts +2 -2
  45. package/dist/components/LuRichTextEditor.vue.d.ts +27 -0
  46. package/dist/components/LuSelect.vue.d.ts +35 -2
  47. package/dist/components/{LuPageHeader.vue.d.ts → LuSparkline.vue.d.ts} +9 -5
  48. package/dist/components/LuSwitch.vue.d.ts +19 -5
  49. package/dist/components/LuTimeline.vue.d.ts +17 -0
  50. package/dist/components/LuTimelineItem.vue.d.ts +24 -0
  51. package/dist/components/LuToast.vue.d.ts +5 -0
  52. package/dist/components/LuTree.types.d.ts +9 -0
  53. package/dist/components/LuTree.vue.d.ts +25 -0
  54. package/dist/components/LuTreeNode.vue.d.ts +37 -0
  55. package/dist/components/__tests__/LuAccordion.test.d.ts +1 -0
  56. package/dist/components/__tests__/LuBarChart.test.d.ts +1 -0
  57. package/dist/components/__tests__/LuBottomSheet.test.d.ts +1 -0
  58. package/dist/components/__tests__/LuCalendar.test.d.ts +1 -0
  59. package/dist/components/__tests__/LuCheckbox.test.d.ts +1 -0
  60. package/dist/components/__tests__/LuChip.test.d.ts +1 -0
  61. package/dist/components/__tests__/LuCommandPalette.test.d.ts +1 -0
  62. package/dist/components/__tests__/LuDataGrid.test.d.ts +1 -0
  63. package/dist/components/__tests__/LuDateRangePicker.test.d.ts +1 -0
  64. package/dist/components/__tests__/LuDoughnutChart.test.d.ts +1 -0
  65. package/dist/components/__tests__/LuDrawer.test.d.ts +1 -0
  66. package/dist/components/__tests__/LuFileUpload.test.d.ts +1 -0
  67. package/dist/components/__tests__/LuFormWizard.test.d.ts +1 -0
  68. package/dist/components/__tests__/LuGaugeChart.test.d.ts +1 -0
  69. package/dist/components/__tests__/LuKanban.test.d.ts +1 -0
  70. package/dist/components/__tests__/LuLineChart.test.d.ts +1 -0
  71. package/dist/components/__tests__/LuList.test.d.ts +1 -0
  72. package/dist/components/__tests__/LuMediaGallery.test.d.ts +1 -0
  73. package/dist/components/__tests__/LuPlanner.test.d.ts +1 -0
  74. package/dist/components/__tests__/LuPopover.test.d.ts +1 -0
  75. package/dist/components/__tests__/LuRadio.test.d.ts +1 -0
  76. package/dist/components/__tests__/LuRichTextEditor.test.d.ts +1 -0
  77. package/dist/components/__tests__/LuSelect.test.d.ts +1 -0
  78. package/dist/components/__tests__/LuSparkline.test.d.ts +1 -0
  79. package/dist/components/__tests__/LuSwitch.test.d.ts +1 -0
  80. package/dist/components/__tests__/LuTimeline.test.d.ts +1 -0
  81. package/dist/components/__tests__/LuToast.test.d.ts +1 -0
  82. package/dist/components/__tests__/LuTree.test.d.ts +1 -0
  83. package/dist/components/_all.d.ts +3 -0
  84. package/dist/components/index.d.ts +42 -3
  85. package/dist/components/index.js +73 -44
  86. package/dist/composables/index.d.ts +3 -0
  87. package/dist/composables/index.js +34 -14
  88. package/dist/composables/lazyVChart.d.ts +10 -0
  89. package/dist/composables/useChartTheme.d.ts +65 -0
  90. package/dist/composables/useDataGrid.d.ts +52 -0
  91. package/dist/composables/useFloating.d.ts +12 -0
  92. package/dist/composables/useLuToast.d.ts +14 -0
  93. package/dist/composables/useShiki.d.ts +2 -0
  94. package/dist/context-CGS7Ou_x.js +36 -0
  95. package/dist/index.d.ts +5 -0
  96. package/dist/index.js +217 -81
  97. package/dist/layout/LuFill.vue.d.ts +0 -3
  98. package/dist/layout/LuFixed.vue.d.ts +0 -3
  99. package/dist/layout/LuGrid.vue.d.ts +0 -4
  100. package/dist/layout/LuStack.vue.d.ts +5 -3
  101. package/dist/layout/index.js +1 -1
  102. package/dist/shell/index.js +1 -1
  103. package/dist/skins/components.d.ts +2 -0
  104. package/dist/skins/index.js +1053 -219
  105. package/dist/skins/layout.d.ts +2 -0
  106. package/dist/skins/shell/desktop.d.ts +2 -0
  107. package/dist/skins/shell/embedded.d.ts +2 -0
  108. package/dist/skins/shell/mobile.d.ts +2 -0
  109. package/dist/useLuToast-D5d7Wrcr.js +1029 -0
  110. package/dist/utils.d.ts +0 -11
  111. package/package.json +95 -94
  112. package/src/lumora.css +259 -16
  113. package/dist/LuCodeBlock.vue_vue_type_script_setup_true_lang-BjwcjuXF.js +0 -1623
  114. package/dist/LuOverlay.vue_vue_type_script_setup_true_lang-DZch4Vrw.js +0 -226
  115. package/dist/components/LuThemeSelect.vue.d.ts +0 -2
  116. package/dist/components/LuThemeSwitch.vue.d.ts +0 -2
  117. package/dist/context-0gENwESP.js +0 -62
  118. package/dist/useTheme-Cd4wVaLs.js +0 -21
@@ -1,15 +1,29 @@
1
1
  type __VLS_Props = {
2
- modelValue?: boolean;
2
+ modelValue?: boolean | null;
3
3
  variant?: string;
4
4
  disabled?: boolean;
5
5
  name?: string;
6
6
  error?: string | null;
7
+ label?: string;
7
8
  };
8
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ declare var __VLS_1: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_1) => any;
12
+ };
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
14
  blur: () => any;
10
- "update:modelValue": (value: boolean) => any;
15
+ "update:modelValue": (value: boolean | null) => any;
11
16
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
17
  onBlur?: (() => any) | undefined;
13
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ "onUpdate:modelValue"?: ((value: boolean | null) => any) | undefined;
19
+ }>, {
20
+ disabled: boolean;
21
+ modelValue: boolean | null;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
24
  export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ variant?: 'default' | 'compact' | 'numbered';
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ variant: "default" | "compact" | "numbered";
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ date?: string;
4
+ index?: number;
5
+ status?: "default" | "success" | "warning" | "danger" | "info";
6
+ last?: boolean;
7
+ };
8
+ declare var __VLS_1: {}, __VLS_6: {};
9
+ type __VLS_Slots = {} & {
10
+ icon?: (props: typeof __VLS_1) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_6) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ status: "default" | "success" | "warning" | "danger" | "info";
16
+ last: boolean;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ variant?: string;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export interface TreeNodeData {
2
+ id: string;
3
+ label: string;
4
+ icon?: string;
5
+ children?: TreeNodeData[];
6
+ disabled?: boolean;
7
+ /** Any consumer-specific payload */
8
+ data?: unknown;
9
+ }
@@ -0,0 +1,25 @@
1
+ import type { TreeNodeData } from "./LuTree.types";
2
+ type __VLS_Props = {
3
+ nodes: TreeNodeData[];
4
+ modelValue?: string[];
5
+ expanded?: string[];
6
+ selectable?: boolean;
7
+ checkable?: boolean;
8
+ defaultExpanded?: boolean;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ "update:modelValue": (selected: string[]) => any;
12
+ select: (id: string, node: TreeNodeData | undefined) => any;
13
+ "update:expanded": (expanded: string[]) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ "onUpdate:modelValue"?: ((selected: string[]) => any) | undefined;
16
+ onSelect?: ((id: string, node: TreeNodeData | undefined) => any) | undefined;
17
+ "onUpdate:expanded"?: ((expanded: string[]) => any) | undefined;
18
+ }>, {
19
+ expanded: string[];
20
+ modelValue: string[];
21
+ selectable: boolean;
22
+ checkable: boolean;
23
+ defaultExpanded: boolean;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import type { TreeNodeData } from "./LuTree.types";
2
+ type __VLS_Props = {
3
+ node: TreeNodeData;
4
+ selected?: string[];
5
+ expanded?: string[];
6
+ selectable?: boolean;
7
+ checkable?: boolean;
8
+ depth?: number;
9
+ };
10
+ declare var __VLS_18: {
11
+ node: TreeNodeData;
12
+ };
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_18) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ select: (id: string) => any;
18
+ check: (id: string, checked: boolean) => any;
19
+ expand: (id: string) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
+ onSelect?: ((id: string) => any) | undefined;
22
+ onCheck?: ((id: string, checked: boolean) => any) | undefined;
23
+ onExpand?: ((id: string) => any) | undefined;
24
+ }>, {
25
+ selected: string[];
26
+ expanded: string[];
27
+ selectable: boolean;
28
+ checkable: boolean;
29
+ depth: number;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
+ export default _default;
33
+ type __VLS_WithSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from "./index";
2
+ export * from "../layout/index";
3
+ export * from "../shell/index";
@@ -4,8 +4,6 @@ export { default as LuIcon } from "./LuIcon.vue";
4
4
  export { default as LuText } from "./LuText.vue";
5
5
  export { default as LuSwitch } from "./LuSwitch.vue";
6
6
  export { default as LuSelect } from "./LuSelect.vue";
7
- export { default as LuThemeSwitch } from "./LuThemeSwitch.vue";
8
- export { default as LuThemeSelect } from "./LuThemeSelect.vue";
9
7
  export { default as LuTabs } from "./LuTabs.vue";
10
8
  export { default as LuTabList } from "./LuTabList.vue";
11
9
  export { default as LuTab } from "./LuTab.vue";
@@ -17,7 +15,6 @@ export { default as LuCollapsible } from "./LuCollapsible.vue";
17
15
  export { default as LuAvatar } from "./LuAvatar.vue";
18
16
  export { default as LuLink } from "./LuLink.vue";
19
17
  export { default as LuDivider } from "./LuDivider.vue";
20
- export { default as LuPageHeader } from "./LuPageHeader.vue";
21
18
  export { default as LuCard } from "./LuCard.vue";
22
19
  export { default as LuTable } from "./LuTable.vue";
23
20
  export { default as LuTableHead } from "./LuTableHead.vue";
@@ -27,6 +24,7 @@ export { default as LuTableHeadCell } from "./LuTableHeadCell.vue";
27
24
  export { default as LuTableCell } from "./LuTableCell.vue";
28
25
  export { default as LuForm } from "./LuForm.vue";
29
26
  export { default as LuTextarea } from "./LuTextarea.vue";
27
+ export { default as LuCheck } from "./LuCheckbox.vue";
30
28
  export { default as LuCheckbox } from "./LuCheckbox.vue";
31
29
  export { default as LuRadioGroup } from "./LuRadioGroup.vue";
32
30
  export { default as LuRadio } from "./LuRadio.vue";
@@ -43,3 +41,44 @@ export { default as LuToggleGroup } from "./LuToggleGroup.vue";
43
41
  export { default as LuToggleButton } from "./LuToggleButton.vue";
44
42
  export { default as LuCodeBlock } from "./LuCodeBlock.vue";
45
43
  export type { LuFormRules, LuFormErrors, LuFormValidator, LuFormContext } from "./LuForm.types";
44
+ export { default as LuDataGrid } from "./LuDataGrid.vue";
45
+ export type { ColumnDef as LuColumnDef, Row as LuRow, DataGridSortState, DataGridCellEditPayload, DataGridPageChangePayload } from "./LuDataGrid.types";
46
+ export { default as LuBarChart } from "./LuBarChart.vue";
47
+ export { default as LuLineChart } from "./LuLineChart.vue";
48
+ export { default as LuDoughnutChart } from "./LuDoughnutChart.vue";
49
+ export { default as LuSparkline } from "./LuSparkline.vue";
50
+ export { default as LuGaugeChart } from "./LuGaugeChart.vue";
51
+ export { default as LuFileUpload } from "./LuFileUpload.vue";
52
+ export type { UploadedFile as LuUploadedFile } from "./LuFileUpload.vue";
53
+ export { default as LuMediaGallery } from "./LuMediaGallery.vue";
54
+ export type { MediaItem as LuMediaItem } from "./LuMediaGallery.vue";
55
+ export { default as LuTimeline } from "./LuTimeline.vue";
56
+ export { default as LuTimelineItem } from "./LuTimelineItem.vue";
57
+ export { default as LuFormField } from "./LuFormField.vue";
58
+ export { default as LuFormWizard } from "./LuFormWizard.vue";
59
+ export type { FormWizardStep as LuFormWizardStep } from "./LuFormWizard.types";
60
+ export { default as LuTree } from "./LuTree.vue";
61
+ export { default as LuTreeNode } from "./LuTreeNode.vue";
62
+ export type { TreeNodeData as LuTreeNodeData } from "./LuTree.types";
63
+ export { default as LuKanban } from "./LuKanban.vue";
64
+ export type { KanbanColumn as LuKanbanColumn, KanbanCard as LuKanbanCard, KanbanMovePayload as LuKanbanMovePayload } from "./LuKanban.types";
65
+ export { default as LuCalendar } from "./LuCalendar.vue";
66
+ export type { CalendarEvent as LuCalendarEvent } from "./LuCalendar.vue";
67
+ export { default as LuPlanner } from "./LuPlanner.vue";
68
+ export type { LuPlannerEvent, LuPlannerView, LuPlannerSlotClickPayload } from "./LuPlanner.types";
69
+ export { default as LuDateRangePicker } from "./LuDateRangePicker.vue";
70
+ export type { DateRange as LuDateRange } from "./LuDateRangePicker.vue";
71
+ export { default as LuCommandPalette } from "./LuCommandPalette.vue";
72
+ export type { CommandItem as LuCommandItem } from "./LuCommandPalette.vue";
73
+ export { default as LuRichTextEditor } from "./LuRichTextEditor.vue";
74
+ export { default as LuDrawer } from "./LuDrawer.vue";
75
+ export { default as LuList } from "./LuList.vue";
76
+ export { default as LuListItem } from "./LuListItem.vue";
77
+ export { default as LuListDivider } from "./LuListDivider.vue";
78
+ export { default as LuListSubheader } from "./LuListSubheader.vue";
79
+ export { default as LuPopover } from "./LuPopover.vue";
80
+ export { default as LuBottomSheet } from "./LuBottomSheet.vue";
81
+ export { default as LuToast } from "./LuToast.vue";
82
+ export { default as LuChip } from "./LuChip.vue";
83
+ export { default as LuChipGroup } from "./LuChipGroup.vue";
84
+ export { default as LuAccordion } from "./LuAccordion.vue";
@@ -1,47 +1,76 @@
1
- import { _ as s, a as L, b as e, c as o, d as l, e as t, f as r, g as T, h as b, i, j as n, k as d, l as g, m as c, n as p, o as B, p as m, q as C, r as h, s as S, t as k, u as x, v as P, w, x as H, y as I, z as M, A as v, B as A, C as G, D as R, E as f, F as y, G as D, H as F, I as j, J as q, K as z, L as E, M as J, N as K, O as N, P as O, Q } from "../LuCodeBlock.vue_vue_type_script_setup_true_lang-BjwcjuXF.js";
1
+ import { _ as s, a as L, b as e, c as r, d as o, e as t, f as i, g as l, h as n, i as d, j as T, j as b, k as C, l as h, m, n as p, o as c, p as g, q as B, r as k, s as P, t as S, u as D, v as G, w as x, x as F, y as I, z as R, A as v, B as M, C as w, D as A, E as f, F as y, G as H, H as j, I as z, J as E, K, L as N, M as U, N as W, O as q, P as J, Q as O, R as Q, S as V, T as X, U as Y, V as Z, W as _, X as $, Y as aa, Z as ua, $ as sa, a0 as La, a1 as ea, a2 as ra, a3 as oa, a4 as ta, a5 as ia, a6 as la, a7 as na, a8 as da, a9 as Ta, aa as ba, ab as Ca, ac as ha, ad as ma, ae as pa, af as ca, ag as ga, ah as Ba } from "../LuAccordion.vue_vue_type_script_setup_true_lang-CwG5Ml8t.js";
2
2
  export {
3
- s as LuAlert,
4
- L as LuAvatar,
5
- e as LuBadge,
6
- o as LuBreadcrumb,
3
+ s as LuAccordion,
4
+ L as LuAlert,
5
+ e as LuAvatar,
6
+ r as LuBadge,
7
+ o as LuBarChart,
8
+ t as LuBottomSheet,
9
+ i as LuBreadcrumb,
7
10
  l as LuButton,
8
- t as LuCard,
9
- r as LuCheckbox,
10
- T as LuCodeBlock,
11
- b as LuCollapsible,
12
- i as LuDivider,
13
- n as LuForm,
14
- d as LuIcon,
15
- g as LuInput,
16
- c as LuLink,
17
- p as LuMenu,
18
- B as LuMenuItem,
19
- m as LuModal,
20
- C as LuPageHeader,
21
- h as LuPagination,
22
- S as LuProgressBar,
23
- k as LuRadio,
24
- x as LuRadioGroup,
25
- P as LuSelect,
26
- w as LuSkeleton,
27
- H as LuSpinner,
28
- I as LuSwitch,
29
- M as LuTab,
30
- v as LuTabList,
31
- A as LuTabPanel,
32
- G as LuTable,
33
- R as LuTableBody,
34
- f as LuTableCell,
35
- y as LuTableHead,
36
- D as LuTableHeadCell,
37
- F as LuTableRow,
38
- j as LuTabs,
39
- q as LuTag,
40
- z as LuText,
41
- E as LuTextarea,
42
- J as LuThemeSelect,
43
- K as LuThemeSwitch,
44
- N as LuToggleButton,
45
- O as LuToggleGroup,
46
- Q as LuTooltip
11
+ n as LuCalendar,
12
+ d as LuCard,
13
+ T as LuCheck,
14
+ b as LuCheckbox,
15
+ C as LuChip,
16
+ h as LuChipGroup,
17
+ m as LuCodeBlock,
18
+ p as LuCollapsible,
19
+ c as LuCommandPalette,
20
+ g as LuDataGrid,
21
+ B as LuDateRangePicker,
22
+ k as LuDivider,
23
+ P as LuDoughnutChart,
24
+ S as LuDrawer,
25
+ D as LuFileUpload,
26
+ G as LuForm,
27
+ x as LuFormField,
28
+ F as LuFormWizard,
29
+ I as LuGaugeChart,
30
+ R as LuIcon,
31
+ v as LuInput,
32
+ M as LuKanban,
33
+ w as LuLineChart,
34
+ A as LuLink,
35
+ f as LuList,
36
+ y as LuListDivider,
37
+ H as LuListItem,
38
+ j as LuListSubheader,
39
+ z as LuMediaGallery,
40
+ E as LuMenu,
41
+ K as LuMenuItem,
42
+ N as LuModal,
43
+ U as LuPagination,
44
+ W as LuPlanner,
45
+ q as LuPopover,
46
+ J as LuProgressBar,
47
+ O as LuRadio,
48
+ Q as LuRadioGroup,
49
+ V as LuRichTextEditor,
50
+ X as LuSelect,
51
+ Y as LuSkeleton,
52
+ Z as LuSparkline,
53
+ _ as LuSpinner,
54
+ $ as LuSwitch,
55
+ aa as LuTab,
56
+ ua as LuTabList,
57
+ sa as LuTabPanel,
58
+ La as LuTable,
59
+ ea as LuTableBody,
60
+ ra as LuTableCell,
61
+ oa as LuTableHead,
62
+ ta as LuTableHeadCell,
63
+ ia as LuTableRow,
64
+ la as LuTabs,
65
+ na as LuTag,
66
+ da as LuText,
67
+ Ta as LuTextarea,
68
+ ba as LuTimeline,
69
+ Ca as LuTimelineItem,
70
+ ha as LuToast,
71
+ ma as LuToggleButton,
72
+ pa as LuToggleGroup,
73
+ ca as LuTooltip,
74
+ ga as LuTree,
75
+ Ba as LuTreeNode
47
76
  };
@@ -1,3 +1,6 @@
1
1
  export { useRail } from "./useRail";
2
2
  export { useSplit } from "./useSplit";
3
3
  export { useTheme, type ThemeMode, type ResolvedTheme } from "./useTheme";
4
+ export { getHighlighter } from "./useShiki";
5
+ export { useFloating } from "./useFloating";
6
+ export { useLuToast, type ToastItem } from "./useLuToast";
@@ -1,30 +1,50 @@
1
- import { ref as a, readonly as r } from "vue";
2
- import { u as g } from "../useTheme-Cd4wVaLs.js";
3
- function s(n = !1) {
4
- const e = a(n);
1
+ import { ref as s, readonly as u, computed as l } from "vue";
2
+ import { g as h, u as y, a as x } from "../useLuToast-D5d7Wrcr.js";
3
+ function f(t = !1) {
4
+ const e = s(t);
5
5
  function o() {
6
6
  e.value = !e.value;
7
7
  }
8
- function i() {
8
+ function r() {
9
9
  e.value = !0;
10
10
  }
11
- function t() {
11
+ function i() {
12
12
  e.value = !1;
13
13
  }
14
14
  return {
15
- isExpanded: r(e),
15
+ isExpanded: u(e),
16
16
  toggle: o,
17
- expand: i,
18
- collapse: t
17
+ expand: r,
18
+ collapse: i
19
+ };
20
+ }
21
+ function g(t, e = "horizontal", o) {
22
+ return {
23
+ isDragging: s(!1)
19
24
  };
20
25
  }
21
- function l(n, e = "horizontal", o) {
26
+ const n = s("system"), a = s(!1);
27
+ if (typeof window < "u") {
28
+ const t = window.matchMedia("(prefers-color-scheme: dark)");
29
+ a.value = t.matches, t.addEventListener("change", (e) => {
30
+ a.value = e.matches;
31
+ });
32
+ }
33
+ const c = l(() => n.value === "system" ? a.value ? "dark" : "light" : n.value);
34
+ function m() {
22
35
  return {
23
- isDragging: a(!1)
36
+ mode: n,
37
+ resolved: c,
38
+ setMode: (e) => {
39
+ n.value = e;
40
+ }
24
41
  };
25
42
  }
26
43
  export {
27
- s as useRail,
28
- l as useSplit,
29
- g as useTheme
44
+ h as getHighlighter,
45
+ y as useFloating,
46
+ x as useLuToast,
47
+ f as useRail,
48
+ g as useSplit,
49
+ m as useTheme
30
50
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Lazily loads the VChart component from vue-echarts (peer dep).
3
+ * Prints a helpful install message if the peer dep is absent.
4
+ *
5
+ * We cast through `unknown` to avoid vue-tsc failing when vue-echarts
6
+ * is not installed as a direct dependency of this library.
7
+ */
8
+ export declare function lazyVChart(componentName: string): object | {
9
+ template: string;
10
+ };
@@ -0,0 +1,65 @@
1
+ import { type Ref } from "vue";
2
+ /**
3
+ * Maps semantic colour tokens to resolved CSS colour values.
4
+ * Reads `--lu-pipeline-*` custom properties from the document root so the
5
+ * theme is always skin-aware and dark-mode-reactive.
6
+ */
7
+ export declare function useChartTheme(isDark?: Ref<boolean>): {
8
+ resolveColor: (token: string) => string;
9
+ echartsTheme: import("vue").ComputedRef<{
10
+ backgroundColor: string;
11
+ textStyle: {
12
+ color: string;
13
+ fontFamily: string;
14
+ fontSize: number;
15
+ };
16
+ title: {
17
+ textStyle: {
18
+ color: string;
19
+ };
20
+ };
21
+ legend: {
22
+ textStyle: {
23
+ color: string;
24
+ };
25
+ };
26
+ tooltip: {
27
+ backgroundColor: string;
28
+ borderColor: string;
29
+ textStyle: {
30
+ color: string;
31
+ };
32
+ extraCssText: string;
33
+ };
34
+ categoryAxis: {
35
+ axisLine: {
36
+ lineStyle: {
37
+ color: string;
38
+ };
39
+ };
40
+ axisLabel: {
41
+ color: string;
42
+ };
43
+ splitLine: {
44
+ lineStyle: {
45
+ color: string;
46
+ };
47
+ };
48
+ };
49
+ valueAxis: {
50
+ axisLine: {
51
+ lineStyle: {
52
+ color: string;
53
+ };
54
+ };
55
+ axisLabel: {
56
+ color: string;
57
+ };
58
+ splitLine: {
59
+ lineStyle: {
60
+ color: string;
61
+ };
62
+ };
63
+ };
64
+ }>;
65
+ };