@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,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
|
+
};
|
|
@@ -34,12 +34,12 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
34
34
|
values: import("vue").ComputedRef<Record<string, unknown>>;
|
|
35
35
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
36
36
|
error: (errors: LuFormErrors) => any;
|
|
37
|
-
reset: () => any;
|
|
38
37
|
submit: (values: Record<string, unknown>) => any;
|
|
38
|
+
reset: () => any;
|
|
39
39
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
40
|
onError?: ((errors: LuFormErrors) => any) | undefined;
|
|
41
|
-
onReset?: (() => any) | undefined;
|
|
42
41
|
onSubmit?: ((values: Record<string, unknown>) => any) | undefined;
|
|
42
|
+
onReset?: (() => any) | undefined;
|
|
43
43
|
}>, {
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
rules: LuFormRules;
|
|
@@ -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,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
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface LineDataset {
|
|
2
|
+
label: string;
|
|
3
|
+
data: number[];
|
|
4
|
+
color?: string;
|
|
5
|
+
smooth?: boolean;
|
|
6
|
+
area?: boolean;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
labels: string[];
|
|
10
|
+
datasets: LineDataset[];
|
|
11
|
+
height?: number;
|
|
12
|
+
showLegend?: boolean;
|
|
13
|
+
formatValue?: (v: number) => string;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
height: number;
|
|
17
|
+
showLegend: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
as?: string;
|
|
3
|
+
variant?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_6: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_6) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
as: string;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -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,32 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
as?: string;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
clickable?: boolean;
|
|
6
|
+
variant?: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_12: {}, __VLS_14: {}, __VLS_16: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
leading?: (props: typeof __VLS_12) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_14) => any;
|
|
13
|
+
} & {
|
|
14
|
+
trailing?: (props: typeof __VLS_16) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
click: (event: Event) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
active: boolean;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
as: string;
|
|
24
|
+
clickable: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
variant?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: 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>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface MediaItem {
|
|
2
|
+
id: string;
|
|
3
|
+
url: string;
|
|
4
|
+
thumbnail?: string;
|
|
5
|
+
type?: "image" | "video";
|
|
6
|
+
caption?: string;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
items: MediaItem[];
|
|
10
|
+
columns?: number;
|
|
11
|
+
lightbox?: boolean;
|
|
12
|
+
deletable?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
|
+
delete: (item: MediaItem) => any;
|
|
16
|
+
click: (item: MediaItem) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onDelete?: ((item: MediaItem) => any) | undefined;
|
|
19
|
+
onClick?: ((item: MediaItem) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
columns: number;
|
|
22
|
+
lightbox: boolean;
|
|
23
|
+
deletable: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -9,11 +9,11 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
default?: (props: typeof __VLS_13) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
-
close: () => any;
|
|
13
12
|
open: () => any;
|
|
13
|
+
close: () => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
16
15
|
onOpen?: (() => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
align: "left" | "right";
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,20 +5,20 @@ type __VLS_Props = {
|
|
|
5
5
|
closable?: boolean;
|
|
6
6
|
closeOnOverlayClick?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare var __VLS_13: {},
|
|
8
|
+
declare var __VLS_13: {}, __VLS_28: {}, __VLS_30: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
header?: (props: typeof __VLS_13) => any;
|
|
11
11
|
} & {
|
|
12
|
-
default?: (props: typeof
|
|
12
|
+
default?: (props: typeof __VLS_28) => any;
|
|
13
13
|
} & {
|
|
14
|
-
footer?: (props: typeof
|
|
14
|
+
footer?: (props: typeof __VLS_30) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
-
close: () => any;
|
|
18
17
|
"update:modelValue": (value: boolean) => any;
|
|
18
|
+
close: () => any;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
-
onClose?: (() => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
onClose?: (() => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
closable: boolean;
|
|
24
24
|
closeOnOverlayClick: boolean;
|
|
@@ -6,11 +6,11 @@ type __VLS_Props = {
|
|
|
6
6
|
variant?: string;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
-
change: (value: number) => any;
|
|
10
9
|
"update:modelValue": (value: number) => any;
|
|
10
|
+
change: (value: number) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onChange?: ((value: number) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
13
|
+
onChange?: ((value: number) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
pageSize: number;
|
|
16
16
|
siblingCount: number;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface LuPlannerEvent {
|
|
2
|
+
id: string | number;
|
|
3
|
+
title: string;
|
|
4
|
+
date: string;
|
|
5
|
+
startTime: string;
|
|
6
|
+
endTime: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
export type LuPlannerView = "week" | "day";
|
|
11
|
+
export interface LuPlannerSlotClickPayload {
|
|
12
|
+
date: string;
|
|
13
|
+
time: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { LuPlannerEvent, LuPlannerSlotClickPayload } from "./LuPlanner.types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
events?: LuPlannerEvent[];
|
|
4
|
+
startDate?: string;
|
|
5
|
+
view?: "week" | "day";
|
|
6
|
+
startHour?: number;
|
|
7
|
+
endHour?: number;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
"event-click": (event: LuPlannerEvent) => any;
|
|
11
|
+
"slot-click": (payload: LuPlannerSlotClickPayload) => any;
|
|
12
|
+
"week-change": (startDate: string) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onEvent-click"?: ((event: LuPlannerEvent) => any) | undefined;
|
|
15
|
+
"onSlot-click"?: ((payload: LuPlannerSlotClickPayload) => any) | undefined;
|
|
16
|
+
"onWeek-change"?: ((startDate: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
view: "week" | "day";
|
|
19
|
+
events: LuPlannerEvent[];
|
|
20
|
+
startHour: number;
|
|
21
|
+
endHour: number;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
3
|
+
trigger?: "click" | "hover";
|
|
4
|
+
closeOnOutsideClick?: boolean;
|
|
5
|
+
variant?: string;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {}, __VLS_7: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
trigger?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
content?: (props: typeof __VLS_7) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
position: "top" | "bottom" | "left" | "right";
|
|
15
|
+
closeOnOutsideClick: boolean;
|
|
16
|
+
trigger: "click" | "hover";
|
|
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
|
+
};
|
|
@@ -4,5 +4,6 @@ export interface LuRadioGroupContext {
|
|
|
4
4
|
modelValue: Ref<string | number | undefined>;
|
|
5
5
|
updateValue: (value: string | number) => void;
|
|
6
6
|
disabled: Ref<boolean>;
|
|
7
|
+
variant?: Ref<string | undefined>;
|
|
7
8
|
}
|
|
8
9
|
export declare const LuRadioGroupContextKey: InjectionKey<LuRadioGroupContext>;
|
|
@@ -9,11 +9,11 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
default?: (props: typeof __VLS_1) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
-
change: (value: string | number) => any;
|
|
13
12
|
"update:modelValue": (value: string | number) => any;
|
|
13
|
+
change: (value: string | number) => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onChange?: ((value: string | number) => any) | undefined;
|
|
16
15
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
16
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
17
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
19
|
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rich text editor wrapper around Tiptap (@tiptap/vue-3 peer dep).
|
|
3
|
+
* Consumer must install: npm i @tiptap/vue-3 @tiptap/starter-kit
|
|
4
|
+
*/
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
modelValue?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
toolbar?: ("bold" | "italic" | "underline" | "strike" | "h1" | "h2" | "h3" | "bullet" | "ordered" | "blockquote" | "code" | "link" | "undo" | "redo")[];
|
|
10
|
+
minHeight?: number;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
blur: () => any;
|
|
14
|
+
"update:modelValue": (html: string) => any;
|
|
15
|
+
focus: () => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onBlur?: (() => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((html: string) => any) | undefined;
|
|
19
|
+
onFocus?: (() => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
modelValue: string;
|
|
22
|
+
placeholder: string;
|
|
23
|
+
readonly: boolean;
|
|
24
|
+
toolbar: ("bold" | "italic" | "underline" | "strike" | "h1" | "h2" | "h3" | "bullet" | "ordered" | "blockquote" | "code" | "link" | "undo" | "redo")[];
|
|
25
|
+
minHeight: number;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -4,15 +4,48 @@ type __VLS_Props = {
|
|
|
4
4
|
options: Array<{
|
|
5
5
|
value: string | number;
|
|
6
6
|
label: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
icon?: string;
|
|
7
9
|
}>;
|
|
8
10
|
name?: string;
|
|
9
11
|
error?: string | null;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
searchable?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
10
15
|
};
|
|
11
|
-
declare
|
|
16
|
+
declare var __VLS_1: {}, __VLS_7: {
|
|
17
|
+
option: {
|
|
18
|
+
value: string | number;
|
|
19
|
+
label: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
icon?: string;
|
|
22
|
+
};
|
|
23
|
+
selected: boolean;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Slots = {} & {
|
|
26
|
+
'trigger-icon'?: (props: typeof __VLS_1) => any;
|
|
27
|
+
} & {
|
|
28
|
+
option?: (props: typeof __VLS_7) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
|
+
open: () => any;
|
|
12
32
|
blur: () => any;
|
|
13
33
|
"update:modelValue": (value: string | number) => any;
|
|
34
|
+
close: () => any;
|
|
14
35
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
+
onOpen?: (() => any) | undefined;
|
|
15
37
|
onBlur?: (() => any) | undefined;
|
|
16
38
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
17
|
-
|
|
39
|
+
onClose?: (() => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
searchable: boolean;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
46
|
export default _default;
|
|
47
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
data: number[];
|
|
3
|
+
color?: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
area?: boolean;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
-
|
|
9
|
+
area: boolean;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
color: string;
|
|
9
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
14
|
export default _default;
|