@astrake/lumora-ui 0.2.2 → 0.7.3

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 (94) hide show
  1. package/CHANGELOG.md +113 -21
  2. package/README.md +29 -31
  3. package/dist/LuAccordion.vue_vue_type_script_setup_true_lang-CwG5Ml8t.js +5032 -0
  4. package/dist/__mocks__/empty.d.ts +4 -0
  5. package/dist/components/LuAccordion.vue.d.ts +23 -0
  6. package/dist/components/LuBarChart.vue.d.ts +22 -0
  7. package/dist/components/LuBottomSheet.vue.d.ts +27 -0
  8. package/dist/components/LuCalendar.vue.d.ts +34 -0
  9. package/dist/components/LuCheckbox.vue.d.ts +17 -3
  10. package/dist/components/LuChip.vue.d.ts +35 -0
  11. package/dist/components/LuChipGroup.vue.d.ts +23 -0
  12. package/dist/components/LuCollapsible.vue.d.ts +5 -2
  13. package/dist/components/LuCommandPalette.vue.d.ts +25 -0
  14. package/dist/components/LuDataGrid.types.d.ts +39 -0
  15. package/dist/components/LuDataGrid.vue.d.ts +84 -0
  16. package/dist/components/LuDateRangePicker.vue.d.ts +29 -0
  17. package/dist/components/LuDoughnutChart.vue.d.ts +17 -0
  18. package/dist/components/LuDrawer.vue.d.ts +33 -0
  19. package/dist/components/LuFileUpload.vue.d.ts +38 -0
  20. package/dist/components/LuFormField.vue.d.ts +21 -0
  21. package/dist/components/LuFormWizard.types.d.ts +7 -0
  22. package/dist/components/LuFormWizard.vue.d.ts +33 -0
  23. package/dist/components/LuGaugeChart.vue.d.ts +16 -0
  24. package/dist/components/LuKanban.types.d.ts +24 -0
  25. package/dist/components/LuKanban.vue.d.ts +30 -0
  26. package/dist/components/LuLineChart.vue.d.ts +19 -0
  27. package/dist/components/LuList.vue.d.ts +18 -0
  28. package/dist/components/LuListDivider.vue.d.ts +5 -0
  29. package/dist/components/LuListItem.vue.d.ts +32 -0
  30. package/dist/components/LuListSubheader.vue.d.ts +16 -0
  31. package/dist/components/LuMediaGallery.vue.d.ts +25 -0
  32. package/dist/components/LuMenu.vue.d.ts +2 -2
  33. package/dist/components/LuPlanner.types.d.ts +14 -0
  34. package/dist/components/LuPlanner.vue.d.ts +23 -0
  35. package/dist/components/LuPopover.vue.d.ts +24 -0
  36. package/dist/components/LuRadioGroup.types.d.ts +1 -0
  37. package/dist/components/LuRichTextEditor.vue.d.ts +27 -0
  38. package/dist/components/LuSelect.vue.d.ts +35 -2
  39. package/dist/components/{LuPageHeader.vue.d.ts → LuSparkline.vue.d.ts} +9 -5
  40. package/dist/components/LuSwitch.vue.d.ts +19 -5
  41. package/dist/components/LuTimeline.vue.d.ts +17 -0
  42. package/dist/components/LuTimelineItem.vue.d.ts +24 -0
  43. package/dist/components/LuToast.vue.d.ts +5 -0
  44. package/dist/components/LuTree.types.d.ts +9 -0
  45. package/dist/components/LuTree.vue.d.ts +25 -0
  46. package/dist/components/LuTreeNode.vue.d.ts +37 -0
  47. package/dist/components/__tests__/LuAccordion.test.d.ts +1 -0
  48. package/dist/components/__tests__/LuBarChart.test.d.ts +1 -0
  49. package/dist/components/__tests__/LuBottomSheet.test.d.ts +1 -0
  50. package/dist/components/__tests__/LuCalendar.test.d.ts +1 -0
  51. package/dist/components/__tests__/LuCheckbox.test.d.ts +1 -0
  52. package/dist/components/__tests__/LuChip.test.d.ts +1 -0
  53. package/dist/components/__tests__/LuCommandPalette.test.d.ts +1 -0
  54. package/dist/components/__tests__/LuDataGrid.test.d.ts +1 -0
  55. package/dist/components/__tests__/LuDateRangePicker.test.d.ts +1 -0
  56. package/dist/components/__tests__/LuDoughnutChart.test.d.ts +1 -0
  57. package/dist/components/__tests__/LuDrawer.test.d.ts +1 -0
  58. package/dist/components/__tests__/LuFileUpload.test.d.ts +1 -0
  59. package/dist/components/__tests__/LuFormWizard.test.d.ts +1 -0
  60. package/dist/components/__tests__/LuGaugeChart.test.d.ts +1 -0
  61. package/dist/components/__tests__/LuKanban.test.d.ts +1 -0
  62. package/dist/components/__tests__/LuLineChart.test.d.ts +1 -0
  63. package/dist/components/__tests__/LuList.test.d.ts +1 -0
  64. package/dist/components/__tests__/LuMediaGallery.test.d.ts +1 -0
  65. package/dist/components/__tests__/LuPlanner.test.d.ts +1 -0
  66. package/dist/components/__tests__/LuPopover.test.d.ts +1 -0
  67. package/dist/components/__tests__/LuRadio.test.d.ts +1 -0
  68. package/dist/components/__tests__/LuRichTextEditor.test.d.ts +1 -0
  69. package/dist/components/__tests__/LuSelect.test.d.ts +1 -0
  70. package/dist/components/__tests__/LuSparkline.test.d.ts +1 -0
  71. package/dist/components/__tests__/LuSwitch.test.d.ts +1 -0
  72. package/dist/components/__tests__/LuTimeline.test.d.ts +1 -0
  73. package/dist/components/__tests__/LuToast.test.d.ts +1 -0
  74. package/dist/components/__tests__/LuTree.test.d.ts +1 -0
  75. package/dist/components/index.d.ts +42 -3
  76. package/dist/components/index.js +73 -44
  77. package/dist/composables/index.d.ts +2 -0
  78. package/dist/composables/index.js +36 -17
  79. package/dist/composables/lazyVChart.d.ts +10 -0
  80. package/dist/composables/useChartTheme.d.ts +65 -0
  81. package/dist/composables/useDataGrid.d.ts +52 -0
  82. package/dist/composables/useFloating.d.ts +12 -0
  83. package/dist/composables/useLuToast.d.ts +14 -0
  84. package/dist/index.d.ts +5 -0
  85. package/dist/index.js +210 -146
  86. package/dist/skins/index.js +824 -20
  87. package/dist/useLuToast-D5d7Wrcr.js +1029 -0
  88. package/package.json +16 -3
  89. package/scripts/postinstall.mjs +35 -0
  90. package/src/lumora.css +216 -5
  91. package/dist/LuCodeBlock.vue_vue_type_script_setup_true_lang-BdXflBkJ.js +0 -1672
  92. package/dist/components/LuThemeSelect.vue.d.ts +0 -2
  93. package/dist/components/LuThemeSwitch.vue.d.ts +0 -2
  94. package/dist/useShiki-DPOJfneq.js +0 -30
@@ -0,0 +1,4 @@
1
+ declare const _default: {};
2
+ export default _default;
3
+ export declare const EditorContent: {};
4
+ export declare const useEditor: () => {};
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | string[];
3
+ multiple?: boolean;
4
+ variant?: string;
5
+ };
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ "update:modelValue": (value: string | string[]) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
14
+ }>, {
15
+ multiple: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,22 @@
1
+ export interface BarDataset {
2
+ label: string;
3
+ data: number[];
4
+ color?: string;
5
+ stack?: string;
6
+ }
7
+ type __VLS_Props = {
8
+ labels: string[];
9
+ datasets: BarDataset[];
10
+ height?: number;
11
+ showLegend?: boolean;
12
+ horizontal?: boolean;
13
+ stacked?: boolean;
14
+ formatValue?: (v: number) => string;
15
+ };
16
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
+ horizontal: boolean;
18
+ height: number;
19
+ showLegend: boolean;
20
+ stacked: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ modelValue: boolean;
3
+ draggable?: boolean;
4
+ variant?: string;
5
+ };
6
+ declare var __VLS_13: {}, __VLS_15: {};
7
+ type __VLS_Slots = {} & {
8
+ handle?: (props: typeof __VLS_13) => any;
9
+ } & {
10
+ default?: (props: typeof __VLS_15) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ "update:modelValue": (value: boolean) => any;
14
+ close: () => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
+ onClose?: (() => any) | undefined;
18
+ }>, {
19
+ draggable: boolean;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,34 @@
1
+ export interface CalendarEvent {
2
+ id: string;
3
+ date: string;
4
+ label: string;
5
+ color?: string;
6
+ }
7
+ type __VLS_Props = {
8
+ modelValue?: string;
9
+ events?: CalendarEvent[];
10
+ rangeStart?: string;
11
+ rangeEnd?: string;
12
+ disabledDates?: string[];
13
+ minDate?: string;
14
+ maxDate?: string;
15
+ firstDayOfWeek?: 0 | 1;
16
+ size?: "default" | "mini";
17
+ showEventLabels?: boolean;
18
+ };
19
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
+ "update:modelValue": (date: string) => any;
21
+ "month-change": (year: number, month: number) => any;
22
+ "event-click": (event: CalendarEvent) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ "onUpdate:modelValue"?: ((date: string) => any) | undefined;
25
+ "onMonth-change"?: ((year: number, month: number) => any) | undefined;
26
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
27
+ }>, {
28
+ size: "default" | "mini";
29
+ events: CalendarEvent[];
30
+ disabledDates: string[];
31
+ firstDayOfWeek: 0 | 1;
32
+ showEventLabels: boolean;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ export default _default;
@@ -1,23 +1,37 @@
1
1
  type __VLS_Props = {
2
2
  modelValue?: boolean;
3
+ indeterminate?: boolean;
3
4
  variant?: string;
4
5
  name?: string;
5
6
  label?: string;
6
7
  error?: string | null;
8
+ disabled?: boolean;
9
+ value?: string | number;
7
10
  };
8
- declare var __VLS_1: {};
11
+ declare var __VLS_1: {
12
+ checked: boolean;
13
+ indeterminate: boolean;
14
+ }, __VLS_3: {};
9
15
  type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_1) => any;
16
+ icon?: (props: typeof __VLS_1) => any;
17
+ } & {
18
+ default?: (props: typeof __VLS_3) => any;
11
19
  };
12
20
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
21
  blur: () => any;
14
22
  "update:modelValue": (value: boolean) => any;
15
23
  change: (value: boolean) => any;
24
+ "update:indeterminate": (value: boolean) => any;
16
25
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
26
  onBlur?: (() => any) | undefined;
18
27
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
19
28
  onChange?: ((value: boolean) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ "onUpdate:indeterminate"?: ((value: boolean) => any) | undefined;
30
+ }>, {
31
+ indeterminate: boolean;
32
+ disabled: boolean;
33
+ modelValue: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
35
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
36
  export default _default;
23
37
  type __VLS_WithSlots<T, S> = T & {
@@ -0,0 +1,35 @@
1
+ import { type ComputedRef } from "vue";
2
+ type __VLS_Props = {
3
+ label?: string;
4
+ value?: any;
5
+ closable?: boolean;
6
+ selected?: boolean;
7
+ disabled?: boolean;
8
+ variant?: string;
9
+ };
10
+ declare var __VLS_1: {}, __VLS_3: {};
11
+ type __VLS_Slots = {} & {
12
+ leading?: (props: typeof __VLS_1) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_3) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
17
+ isChipSelected: ComputedRef<boolean>;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ click: (event: Event) => any;
20
+ close: (event: Event) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ onClick?: ((event: Event) => any) | undefined;
23
+ onClose?: ((event: Event) => any) | undefined;
24
+ }>, {
25
+ selected: boolean;
26
+ disabled: boolean;
27
+ closable: boolean;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ modelValue?: any;
3
+ multiple?: boolean;
4
+ variant?: string;
5
+ };
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ "update:modelValue": (value: any) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
14
+ }>, {
15
+ multiple: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -2,16 +2,19 @@ type __VLS_Props = {
2
2
  variant?: string;
3
3
  modelValue?: boolean;
4
4
  defaultOpen?: boolean;
5
+ value?: string;
5
6
  };
6
7
  declare var __VLS_1: {
7
- isOpen: boolean;
8
+ isOpen: any;
8
9
  }, __VLS_7: {};
9
10
  type __VLS_Slots = {} & {
10
11
  trigger?: (props: typeof __VLS_1) => any;
11
12
  } & {
12
13
  content?: (props: typeof __VLS_7) => any;
13
14
  };
14
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
16
+ isOpen: import("vue").Ref<any, any>;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
18
  "update:modelValue": (val: boolean) => any;
16
19
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
20
  "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
@@ -0,0 +1,25 @@
1
+ export interface CommandItem {
2
+ id: string;
3
+ label: string;
4
+ description?: string;
5
+ icon?: string;
6
+ group?: string;
7
+ shortcut?: string[];
8
+ action: () => void;
9
+ }
10
+ type __VLS_Props = {
11
+ items: CommandItem[];
12
+ open?: boolean;
13
+ placeholder?: string;
14
+ };
15
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ select: (item: CommandItem) => any;
17
+ "update:open": (val: boolean) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onSelect?: ((item: CommandItem) => any) | undefined;
20
+ "onUpdate:open"?: ((val: boolean) => any) | undefined;
21
+ }>, {
22
+ open: boolean;
23
+ placeholder: string;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,39 @@
1
+ export interface ColumnDef {
2
+ key: string;
3
+ label: string;
4
+ sortable?: boolean;
5
+ frozen?: boolean;
6
+ width?: string | number;
7
+ editable?: boolean;
8
+ hidden?: boolean;
9
+ align?: "left" | "center" | "right";
10
+ /** Custom render function returning a string or VNode label */
11
+ renderHeader?: () => string;
12
+ /** Enable per-column filter input in the filter row */
13
+ filterable?: boolean;
14
+ /** Type of inline filter control */
15
+ filterType?: "text" | "select" | "number-range";
16
+ /** Options for select-type filter */
17
+ filterOptions?: {
18
+ value: string;
19
+ label: string;
20
+ }[];
21
+ }
22
+ export type Row = Record<string, unknown>;
23
+ export interface DataGridSortState {
24
+ key: string;
25
+ direction: "asc" | "desc";
26
+ }
27
+ export interface DataGridCellEditPayload {
28
+ rowId: string;
29
+ columnKey: string;
30
+ value: unknown;
31
+ }
32
+ export interface DataGridPageChangePayload {
33
+ page: number;
34
+ pageSize: number;
35
+ }
36
+ export type DataGridFilterState = Record<string, string | number | [number, number] | undefined>;
37
+ export interface DataGridSearchPayload {
38
+ query: string;
39
+ }
@@ -0,0 +1,84 @@
1
+ import type { ColumnDef, Row, DataGridSortState, DataGridCellEditPayload, DataGridPageChangePayload, DataGridFilterState, DataGridSearchPayload } from "./LuDataGrid.types";
2
+ type __VLS_Props = {
3
+ columns: ColumnDef[];
4
+ data: Row[];
5
+ loading?: boolean;
6
+ total?: number;
7
+ page?: number;
8
+ pageSize?: number;
9
+ sortable?: boolean;
10
+ localSort?: boolean;
11
+ groupBy?: string;
12
+ selectable?: boolean;
13
+ freezeColumns?: number;
14
+ inlineEdit?: boolean;
15
+ idKey?: string;
16
+ emptyText?: string;
17
+ /** Show a search input in the toolbar */
18
+ searchable?: boolean;
19
+ /** 'local' filters data client-side; 'remote' emits a search event */
20
+ searchMode?: "local" | "remote";
21
+ /** Debounce ms for remote search emit */
22
+ searchDebounce?: number;
23
+ searchPlaceholder?: string;
24
+ };
25
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_37: {
26
+ label: string;
27
+ }, __VLS_50: `cell-${string}`, __VLS_51: {
28
+ row: Row;
29
+ value: unknown;
30
+ }, __VLS_56: {};
31
+ type __VLS_Slots = {} & {
32
+ [K in NonNullable<typeof __VLS_50>]?: (props: typeof __VLS_51) => any;
33
+ } & {
34
+ 'toolbar-start'?: (props: typeof __VLS_1) => any;
35
+ } & {
36
+ 'toolbar-end'?: (props: typeof __VLS_3) => any;
37
+ } & {
38
+ 'group-row'?: (props: typeof __VLS_37) => any;
39
+ } & {
40
+ empty?: (props: typeof __VLS_56) => any;
41
+ };
42
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
43
+ sort: (state: DataGridSortState | null) => any;
44
+ search: (payload: DataGridSearchPayload) => any;
45
+ "page-change": (payload: DataGridPageChangePayload) => any;
46
+ "selection-change": (selectedIds: string[]) => any;
47
+ "cell-edit": (payload: DataGridCellEditPayload) => any;
48
+ export: (payload: {
49
+ format: "csv" | "excel";
50
+ }) => any;
51
+ "filter-change": (payload: DataGridFilterState) => any;
52
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
53
+ onSort?: ((state: DataGridSortState | null) => any) | undefined;
54
+ onSearch?: ((payload: DataGridSearchPayload) => any) | undefined;
55
+ "onPage-change"?: ((payload: DataGridPageChangePayload) => any) | undefined;
56
+ "onSelection-change"?: ((selectedIds: string[]) => any) | undefined;
57
+ "onCell-edit"?: ((payload: DataGridCellEditPayload) => any) | undefined;
58
+ onExport?: ((payload: {
59
+ format: "csv" | "excel";
60
+ }) => any) | undefined;
61
+ "onFilter-change"?: ((payload: DataGridFilterState) => any) | undefined;
62
+ }>, {
63
+ sortable: boolean;
64
+ searchable: boolean;
65
+ page: number;
66
+ pageSize: number;
67
+ loading: boolean;
68
+ localSort: boolean;
69
+ selectable: boolean;
70
+ freezeColumns: number;
71
+ inlineEdit: boolean;
72
+ idKey: string;
73
+ emptyText: string;
74
+ searchMode: "local" | "remote";
75
+ searchDebounce: number;
76
+ searchPlaceholder: string;
77
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
78
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
79
+ export default _default;
80
+ type __VLS_WithSlots<T, S> = T & {
81
+ new (): {
82
+ $slots: S;
83
+ };
84
+ };
@@ -0,0 +1,29 @@
1
+ import type { CalendarEvent } from "./LuCalendar.vue";
2
+ export interface DateRange {
3
+ start: string;
4
+ end: string;
5
+ }
6
+ interface Preset {
7
+ label: string;
8
+ key: "today" | "yesterday" | "last7" | "last30" | "thisMonth" | "lastMonth";
9
+ }
10
+ declare const _default: import("vue").DefineComponent<{
11
+ modelValue?: DateRange;
12
+ presets?: Preset[];
13
+ events?: CalendarEvent[];
14
+ placeholder?: string;
15
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ "update:modelValue": (range: DateRange) => any;
17
+ }, string, import("vue").PublicProps, Readonly<{
18
+ modelValue?: DateRange;
19
+ presets?: Preset[];
20
+ events?: CalendarEvent[];
21
+ placeholder?: string;
22
+ }> & Readonly<{
23
+ "onUpdate:modelValue"?: ((range: DateRange) => any) | undefined;
24
+ }>, {
25
+ placeholder: string;
26
+ events: CalendarEvent[];
27
+ presets: Preset[];
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export interface DoughnutDataset {
2
+ label: string;
3
+ value: number;
4
+ color?: string;
5
+ }
6
+ type __VLS_Props = {
7
+ datasets: DoughnutDataset[];
8
+ height?: number;
9
+ showLegend?: boolean;
10
+ innerLabel?: string;
11
+ formatValue?: (v: number) => string;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ height: number;
15
+ showLegend: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,33 @@
1
+ type __VLS_Props = {
2
+ modelValue: boolean;
3
+ position?: "left" | "right" | "top" | "bottom";
4
+ mode?: "overlay" | "push";
5
+ closeOnOutsideClick?: boolean;
6
+ variant?: string;
7
+ };
8
+ declare var __VLS_13: {}, __VLS_15: {}, __VLS_17: {};
9
+ type __VLS_Slots = {} & {
10
+ header?: (props: typeof __VLS_13) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_15) => any;
13
+ } & {
14
+ footer?: (props: typeof __VLS_17) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ "update:modelValue": (value: boolean) => any;
18
+ close: () => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
+ onClose?: (() => any) | undefined;
22
+ }>, {
23
+ mode: "overlay" | "push";
24
+ position: "left" | "right" | "top" | "bottom";
25
+ closeOnOutsideClick: boolean;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,38 @@
1
+ export interface UploadedFile {
2
+ id: string;
3
+ name: string;
4
+ size?: number;
5
+ url?: string;
6
+ type?: string;
7
+ }
8
+ type __VLS_Props = {
9
+ accept?: string[];
10
+ maxSize?: number;
11
+ maxFiles?: number;
12
+ multiple?: boolean;
13
+ existingFiles?: UploadedFile[];
14
+ disabled?: boolean;
15
+ hint?: string;
16
+ };
17
+ declare var __VLS_7: {};
18
+ type __VLS_Slots = {} & {
19
+ label?: (props: typeof __VLS_7) => any;
20
+ };
21
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
22
+ "files-selected": (files: File[]) => any;
23
+ remove: (file: UploadedFile) => any;
24
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
26
+ onRemove?: ((file: UploadedFile) => any) | undefined;
27
+ }>, {
28
+ disabled: boolean;
29
+ multiple: boolean;
30
+ existingFiles: UploadedFile[];
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ error?: string;
4
+ hint?: string;
5
+ required?: boolean;
6
+ for?: string;
7
+ };
8
+ declare var __VLS_1: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ required: boolean;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,7 @@
1
+ export interface FormWizardStep {
2
+ id: string;
3
+ label: string;
4
+ description?: string;
5
+ icon?: string;
6
+ validateFn?: () => boolean | string | Promise<boolean | string>;
7
+ }
@@ -0,0 +1,33 @@
1
+ import type { FormWizardStep } from "./LuFormWizard.types";
2
+ type __VLS_Props = {
3
+ steps: FormWizardStep[];
4
+ modelValue?: number;
5
+ allowSkip?: boolean;
6
+ };
7
+ declare var __VLS_11: `step-${string}`, __VLS_12: {
8
+ step: FormWizardStep;
9
+ index: number;
10
+ }, __VLS_34: {};
11
+ type __VLS_Slots = {} & {
12
+ [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
13
+ } & {
14
+ 'next-label'?: (props: typeof __VLS_34) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ "update:modelValue": (step: number) => any;
18
+ complete: () => any;
19
+ "step-change": (from: number, to: number) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
+ "onUpdate:modelValue"?: ((step: number) => any) | undefined;
22
+ onComplete?: (() => any) | undefined;
23
+ "onStep-change"?: ((from: number, to: number) => any) | undefined;
24
+ }>, {
25
+ allowSkip: boolean;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,16 @@
1
+ type __VLS_Props = {
2
+ value: number;
3
+ min?: number;
4
+ max?: number;
5
+ color?: string;
6
+ label?: string;
7
+ height?: number;
8
+ formatValue?: (v: number) => string;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ height: number;
12
+ color: string;
13
+ max: number;
14
+ min: number;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,24 @@
1
+ export interface KanbanCard {
2
+ id: string;
3
+ title: string;
4
+ description?: string;
5
+ tags?: string[];
6
+ assignee?: string;
7
+ priority?: "low" | "medium" | "high" | "critical";
8
+ dueDate?: string;
9
+ /** Any consumer-specific payload */
10
+ data?: unknown;
11
+ }
12
+ export interface KanbanColumn {
13
+ id: string;
14
+ title: string;
15
+ color?: string;
16
+ limit?: number;
17
+ cards: KanbanCard[];
18
+ }
19
+ export interface KanbanMovePayload {
20
+ cardId: string;
21
+ fromColumnId: string;
22
+ toColumnId: string;
23
+ newIndex: number;
24
+ }
@@ -0,0 +1,30 @@
1
+ import type { KanbanColumn, KanbanCard, KanbanMovePayload } from "./LuKanban.types";
2
+ type __VLS_Props = {
3
+ columns: KanbanColumn[];
4
+ draggable?: boolean;
5
+ };
6
+ declare var __VLS_10: {
7
+ card: KanbanCard;
8
+ column: KanbanColumn;
9
+ };
10
+ type __VLS_Slots = {} & {
11
+ card?: (props: typeof __VLS_10) => any;
12
+ };
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ "card-click": (card: KanbanCard, column: KanbanColumn) => any;
15
+ "card-move": (payload: KanbanMovePayload) => any;
16
+ "add-card": (columnId: string) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onCard-click"?: ((card: KanbanCard, column: KanbanColumn) => any) | undefined;
19
+ "onCard-move"?: ((payload: KanbanMovePayload) => any) | undefined;
20
+ "onAdd-card"?: ((columnId: string) => any) | undefined;
21
+ }>, {
22
+ draggable: boolean;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };