@oneflowui/ui 0.1.0 → 0.2.0

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 (61) hide show
  1. package/README.en.md +215 -0
  2. package/README.md +142 -85
  3. package/dist/{FieldCheckbox-B1eVag_x.js → FieldCheckbox-6JDYTsHs.js} +1 -1
  4. package/dist/{FieldDate-BCitHPQn.js → FieldDate-cdYgLrho.js} +1 -1
  5. package/dist/{FieldDatetime-BGeyZJl-.js → FieldDatetime-pAXjbyWM.js} +1 -1
  6. package/dist/{FieldEmail-Ds8lTvNh.js → FieldEmail-JHD3hxeh.js} +1 -1
  7. package/dist/{FieldMultiSelect-_cY4aZuE.js → FieldMultiSelect-T2Y_QR8E.js} +2 -2
  8. package/dist/{FieldNumber-DayaF31C.js → FieldNumber-CLDK-7Qo.js} +1 -1
  9. package/dist/{FieldRating-Dw9rvhUe.js → FieldRating-FqV5Q8Gx.js} +6 -6
  10. package/dist/{FieldSelect-DEVkjnNY.js → FieldSelect-DpdguTLS.js} +2 -2
  11. package/dist/{FieldText-LzCqM7jk.js → FieldText-DlH9Yu2e.js} +1 -1
  12. package/dist/{FieldUrl-zqYEJCPK.js → FieldUrl-BZNZRB4_.js} +1 -1
  13. package/dist/components/base/Accordion.vue.d.ts +51 -0
  14. package/dist/components/base/Avatar.vue.d.ts +11 -0
  15. package/dist/components/base/Badge.vue.d.ts +28 -0
  16. package/dist/components/base/ChainItem.vue.d.ts +14 -0
  17. package/dist/components/base/DescBlock.vue.d.ts +17 -0
  18. package/dist/components/base/InfoCard.vue.d.ts +49 -0
  19. package/dist/components/base/MonitorItem.vue.d.ts +19 -0
  20. package/dist/components/base/PersonaCard.vue.d.ts +44 -0
  21. package/dist/components/base/ProgressBar.vue.d.ts +33 -0
  22. package/dist/components/base/RefTag.vue.d.ts +29 -0
  23. package/dist/components/base/SectionBlock.vue.d.ts +45 -0
  24. package/dist/components/base/SelectBadge.vue.d.ts +36 -0
  25. package/dist/components/base/StatusIndicator.vue.d.ts +29 -0
  26. package/dist/components/base/StatusSummary.vue.d.ts +35 -0
  27. package/dist/components/base/Stepper.vue.d.ts +39 -0
  28. package/dist/components/base/Switch.vue.d.ts +18 -0
  29. package/dist/components/base/ViewModeGroup.vue.d.ts +17 -0
  30. package/dist/components/base/ViewSwitcher.vue.d.ts +57 -0
  31. package/dist/components/base/index.d.ts +35 -0
  32. package/dist/components/kanban/KanbanColumn.vue.d.ts +3 -1
  33. package/dist/components/layout/Navbar.vue.d.ts +1 -1
  34. package/dist/components/overlay/Dialog.vue.d.ts +1 -1
  35. package/dist/components/overlay/Drawer.vue.d.ts +27 -0
  36. package/dist/components/overlay/SidePanel.vue.d.ts +37 -0
  37. package/dist/components/overlay/index.d.ts +2 -0
  38. package/dist/components/table/DataTable.vue.d.ts +7 -1
  39. package/dist/components/table/TableGroupRow.vue.d.ts +17 -0
  40. package/dist/components/table/index.d.ts +1 -0
  41. package/dist/components/timeline/ActivityTimeline.vue.d.ts +40 -0
  42. package/dist/components/timeline/index.d.ts +2 -0
  43. package/dist/composables/index.d.ts +3 -1
  44. package/dist/composables/useStream.d.ts +13 -0
  45. package/dist/composables/useTable.d.ts +1 -1
  46. package/dist/composables/useTypewriter.d.ts +1 -0
  47. package/dist/composables/useVirtualList.d.ts +18 -0
  48. package/dist/index-D0oD-xsj.js +12472 -0
  49. package/dist/index.d.ts +11 -8
  50. package/dist/oneflow-ui.js +107 -82
  51. package/dist/oneflow-ui.umd.cjs +7 -7
  52. package/dist/style.css +1 -1
  53. package/dist/tests/drawer.integration.spec.d.ts +1 -0
  54. package/dist/tests/fielddef.integration.spec.d.ts +1 -0
  55. package/dist/tests/shallowRef.integration.spec.d.ts +1 -0
  56. package/dist/tests/useStream.integration.spec.d.ts +1 -0
  57. package/dist/tests/useTypewriter.integration.spec.d.ts +1 -0
  58. package/dist/tests/useVirtualList.integration.spec.d.ts +1 -0
  59. package/dist/types/index.d.ts +43 -4
  60. package/package.json +1 -1
  61. package/dist/index-B9LF7Kv4.js +0 -10661
@@ -0,0 +1,11 @@
1
+ export interface AvatarProps {
2
+ name: string;
3
+ size?: number;
4
+ color?: string;
5
+ bg?: string;
6
+ role?: string;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
9
+ size: number;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
11
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { VNode } from 'vue';
2
+ type LooseString<T extends string> = T | (string & {});
3
+ export interface BadgeProps {
4
+ color?: LooseString<"default" | "blue" | "green" | "orange" | "red" | "purple" | "gray">;
5
+ priority?: "P0" | "P1" | "P2" | "P3";
6
+ size?: "sm" | "md";
7
+ }
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: Readonly<{
11
+ default?: () => VNode[];
12
+ }> & {
13
+ default?: () => VNode[];
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLSpanElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
20
+ size: "sm" | "md";
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,14 @@
1
+ export interface ChainItemProps {
2
+ type?: 'source' | 'result';
3
+ title: string;
4
+ description?: string;
5
+ avatar?: string;
6
+ duration?: string;
7
+ color?: string;
8
+ bg?: string;
9
+ borderColor?: string;
10
+ }
11
+ declare const _default: import('vue').DefineComponent<ChainItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ChainItemProps> & Readonly<{}>, {
12
+ type: "source" | "result";
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,49 @@
1
+ import { VNode } from 'vue';
2
+ export interface InfoCardProps {
3
+ variant?: "memo" | "notify" | "history";
4
+ title: string;
5
+ content?: string;
6
+ contentLines?: number;
7
+ borderColor?: string;
8
+ tags?: string[];
9
+ importance?: "normal" | "high";
10
+ author?: string;
11
+ date?: string;
12
+ unread?: boolean;
13
+ meta?: string;
14
+ subtitle?: string;
15
+ type?: string;
16
+ typeColor?: string;
17
+ }
18
+ declare function __VLS_template(): {
19
+ attrs: Partial<{}>;
20
+ slots: Readonly<{
21
+ actions?: () => VNode[];
22
+ footer?: () => VNode[];
23
+ icon?: () => VNode[];
24
+ }> & {
25
+ actions?: () => VNode[];
26
+ footer?: () => VNode[];
27
+ icon?: () => VNode[];
28
+ };
29
+ refs: {};
30
+ rootEl: HTMLDivElement;
31
+ };
32
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
+ declare const __VLS_component: import('vue').DefineComponent<InfoCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ click: (e: MouseEvent) => any;
35
+ }, string, import('vue').PublicProps, Readonly<InfoCardProps> & Readonly<{
36
+ onClick?: ((e: MouseEvent) => any) | undefined;
37
+ }>, {
38
+ variant: "memo" | "notify" | "history";
39
+ contentLines: number;
40
+ importance: "normal" | "high";
41
+ unread: boolean;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
43
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
+ export default _default;
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -0,0 +1,19 @@
1
+ export interface MonitorItemProps {
2
+ label: string;
3
+ subtitle?: string;
4
+ value: number;
5
+ count?: string;
6
+ color?: string;
7
+ clickable?: boolean;
8
+ }
9
+ declare const _default: import('vue').DefineComponent<MonitorItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ click: () => any;
11
+ }, string, import('vue').PublicProps, Readonly<MonitorItemProps> & Readonly<{
12
+ onClick?: (() => any) | undefined;
13
+ }>, {
14
+ color: string;
15
+ clickable: boolean;
16
+ subtitle: string;
17
+ count: string;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
+ export default _default;
@@ -0,0 +1,44 @@
1
+ export interface PersonaCardProps {
2
+ name: string;
3
+ title?: string;
4
+ icon?: string;
5
+ color?: string;
6
+ subtitle?: string;
7
+ tags?: string[];
8
+ expanded?: boolean;
9
+ active?: boolean;
10
+ done?: boolean;
11
+ disabled?: boolean;
12
+ size?: "sm" | "md";
13
+ }
14
+ declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
16
+ slots: {
17
+ badge?(_: {}): any;
18
+ actions?(_: {}): any;
19
+ default?(_: {}): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<PersonaCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ click: () => any;
27
+ "update:expanded": (value: boolean) => any;
28
+ }, string, import('vue').PublicProps, Readonly<PersonaCardProps> & Readonly<{
29
+ onClick?: (() => any) | undefined;
30
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
31
+ }>, {
32
+ done: boolean;
33
+ size: "sm" | "md";
34
+ active: boolean;
35
+ disabled: boolean;
36
+ expanded: boolean;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
+ export default _default;
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,33 @@
1
+ import { VNodeChild } from 'vue';
2
+ interface ProgressBarProps {
3
+ value: number;
4
+ height?: number;
5
+ color?: string;
6
+ bgColor?: string;
7
+ showLabel?: boolean;
8
+ borderRadius?: number;
9
+ }
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: Readonly<{
13
+ default?: () => VNodeChild;
14
+ }> & {
15
+ default?: () => VNodeChild;
16
+ };
17
+ refs: {};
18
+ rootEl: HTMLDivElement;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<ProgressBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
22
+ height: number;
23
+ bgColor: string;
24
+ showLabel: boolean;
25
+ borderRadius: number;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,29 @@
1
+ import { VNode } from 'vue';
2
+ export interface RefTagProps {
3
+ type?: "spec" | "wiki" | "task" | string;
4
+ icon?: string;
5
+ color?: string;
6
+ bg?: string;
7
+ href?: string;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: Readonly<{
12
+ default?: () => VNode[];
13
+ }> & {
14
+ default?: () => VNode[];
15
+ };
16
+ refs: {};
17
+ rootEl: any;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<RefTagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RefTagProps> & Readonly<{}>, {
21
+ type: "spec" | "wiki" | "task" | string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,45 @@
1
+ export interface SectionBlockProps {
2
+ title: string;
3
+ icon?: string;
4
+ status?: "pending" | "updating" | "done" | "editing";
5
+ collapsed?: boolean;
6
+ editable?: boolean;
7
+ statusLabels?: Record<string, string>;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: Readonly<{
12
+ default?: () => unknown;
13
+ editor?: () => unknown;
14
+ "header-extra"?: () => unknown;
15
+ }> & {
16
+ default?: () => unknown;
17
+ editor?: () => unknown;
18
+ "header-extra"?: () => unknown;
19
+ };
20
+ refs: {};
21
+ rootEl: HTMLDivElement;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<SectionBlockProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ "update:collapsed": (value: boolean) => any;
26
+ edit: () => any;
27
+ save: () => any;
28
+ }, string, import('vue').PublicProps, Readonly<SectionBlockProps> & Readonly<{
29
+ "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
30
+ onEdit?: (() => any) | undefined;
31
+ onSave?: (() => any) | undefined;
32
+ }>, {
33
+ status: "pending" | "updating" | "done" | "editing";
34
+ icon: string;
35
+ collapsed: boolean;
36
+ editable: boolean;
37
+ statusLabels: Record<string, string>;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
+ export default _default;
41
+ type __VLS_WithTemplateSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1,36 @@
1
+ import { VNode } from 'vue';
2
+ export interface SelectBadgeProps {
3
+ color?: string;
4
+ dot?: boolean;
5
+ dotColor?: string;
6
+ textColor?: string;
7
+ bgColor?: string;
8
+ borderColor?: string;
9
+ clickable?: boolean;
10
+ }
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: Readonly<{
14
+ default?: () => VNode[];
15
+ }> & {
16
+ default?: () => VNode[];
17
+ };
18
+ refs: {};
19
+ rootEl: HTMLSpanElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<SelectBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ click: (e: MouseEvent) => any;
24
+ }, string, import('vue').PublicProps, Readonly<SelectBadgeProps> & Readonly<{
25
+ onClick?: ((e: MouseEvent) => any) | undefined;
26
+ }>, {
27
+ dot: boolean;
28
+ clickable: boolean;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,29 @@
1
+ export interface StatusIndicatorProps {
2
+ status: string;
3
+ label?: string;
4
+ size?: "sm" | "md";
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {
10
+ status: string;
11
+ label: string;
12
+ color: string;
13
+ }): any;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLSpanElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<StatusIndicatorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatusIndicatorProps> & Readonly<{}>, {
20
+ size: "sm" | "md";
21
+ label: string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,35 @@
1
+ import { VNode } from 'vue';
2
+ export interface StatusSummaryItem {
3
+ key: string;
4
+ label: string;
5
+ count: number;
6
+ color?: string;
7
+ highlight?: boolean;
8
+ }
9
+ export interface StatusSummaryProps {
10
+ items: StatusSummaryItem[];
11
+ size?: "sm" | "md";
12
+ separator?: boolean;
13
+ }
14
+ declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
16
+ slots: Readonly<{
17
+ extra?: () => VNode[];
18
+ }> & {
19
+ extra?: () => VNode[];
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<StatusSummaryProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatusSummaryProps> & Readonly<{}>, {
26
+ size: "sm" | "md";
27
+ separator: boolean;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ export default _default;
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,39 @@
1
+ export interface StepItem {
2
+ label: string;
3
+ description?: string;
4
+ }
5
+ export interface StepperProps {
6
+ steps: StepItem[];
7
+ current: number;
8
+ direction?: "horizontal" | "vertical";
9
+ }
10
+ export type StepStatus = "done" | "active" | "pending";
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: Readonly<{
14
+ "step-content"?: (props: {
15
+ item: StepItem;
16
+ index: number;
17
+ status: StepStatus;
18
+ }) => unknown;
19
+ }> & {
20
+ "step-content"?: (props: {
21
+ item: StepItem;
22
+ index: number;
23
+ status: StepStatus;
24
+ }) => unknown;
25
+ };
26
+ refs: {};
27
+ rootEl: HTMLDivElement;
28
+ };
29
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
+ declare const __VLS_component: import('vue').DefineComponent<StepperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StepperProps> & Readonly<{}>, {
31
+ direction: "horizontal" | "vertical";
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
+ export default _default;
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,18 @@
1
+ export interface SwitchProps {
2
+ modelValue: boolean;
3
+ disabled?: boolean;
4
+ size?: "sm" | "md";
5
+ label?: string;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<SwitchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (value: boolean) => any;
9
+ change: (value: boolean) => any;
10
+ }, string, import('vue').PublicProps, Readonly<SwitchProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
12
+ onChange?: ((value: boolean) => any) | undefined;
13
+ }>, {
14
+ size: "sm" | "md";
15
+ label: string;
16
+ disabled: boolean;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
18
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export interface ViewModeOption {
2
+ value: string;
3
+ icon: string;
4
+ label?: string;
5
+ }
6
+ export interface ViewModeGroupProps {
7
+ options?: ViewModeOption[];
8
+ modelValue: string;
9
+ }
10
+ declare const _default: import('vue').DefineComponent<ViewModeGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: string) => any;
12
+ }, string, import('vue').PublicProps, Readonly<ViewModeGroupProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
14
+ }>, {
15
+ options: ViewModeOption[];
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
17
+ export default _default;
@@ -0,0 +1,57 @@
1
+ export interface ViewSwitcherTab {
2
+ value: string;
3
+ label: string;
4
+ icon?: string;
5
+ }
6
+ export interface ViewSwitcherProps {
7
+ tabs?: ViewSwitcherTab[];
8
+ modelValue?: string;
9
+ showFilter?: boolean;
10
+ showGroup?: boolean;
11
+ showSort?: boolean;
12
+ showSearch?: boolean;
13
+ filterLabel?: string;
14
+ groupLabel?: string;
15
+ sortLabel?: string;
16
+ searchPlaceholder?: string;
17
+ }
18
+ declare function __VLS_template(): {
19
+ attrs: Partial<{}>;
20
+ slots: {
21
+ default?(_: {}): any;
22
+ };
23
+ refs: {};
24
+ rootEl: HTMLDivElement;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import('vue').DefineComponent<ViewSwitcherProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ sort: () => any;
29
+ filter: () => any;
30
+ "update:modelValue": (value: string) => any;
31
+ search: (query: string) => any;
32
+ group: () => any;
33
+ }, string, import('vue').PublicProps, Readonly<ViewSwitcherProps> & Readonly<{
34
+ onSort?: (() => any) | undefined;
35
+ onFilter?: (() => any) | undefined;
36
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
37
+ onSearch?: ((query: string) => any) | undefined;
38
+ onGroup?: (() => any) | undefined;
39
+ }>, {
40
+ modelValue: string;
41
+ tabs: ViewSwitcherTab[];
42
+ showFilter: boolean;
43
+ showGroup: boolean;
44
+ showSort: boolean;
45
+ showSearch: boolean;
46
+ filterLabel: string;
47
+ groupLabel: string;
48
+ sortLabel: string;
49
+ searchPlaceholder: string;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
51
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
52
+ export default _default;
53
+ type __VLS_WithTemplateSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
@@ -1,11 +1,46 @@
1
1
  export { default as ViewTab } from './ViewTab.vue';
2
2
  export { default as ToolbarBtn } from './ToolbarBtn.vue';
3
3
  export { default as AddViewBtn } from './AddViewBtn.vue';
4
+ export { default as Badge } from './Badge.vue';
4
5
  export { default as RangeSlider } from './RangeSlider.vue';
6
+ export { default as ProgressBar } from './ProgressBar.vue';
5
7
  export { default as ButtonGroup } from './ButtonGroup.vue';
6
8
  export { default as EmptyState } from './EmptyState.vue';
7
9
  export { default as StatisticCard } from './StatisticCard.vue';
8
10
  export { default as DropdownMenu } from './DropdownMenu.vue';
11
+ export { default as StatusIndicator } from './StatusIndicator.vue';
12
+ export { default as Switch } from './Switch.vue';
13
+ export { default as Stepper } from './Stepper.vue';
14
+ export { default as Accordion } from './Accordion.vue';
15
+ export { default as Avatar } from './Avatar.vue';
16
+ export { default as DescBlock } from './DescBlock.vue';
17
+ export { default as ViewModeGroup } from './ViewModeGroup.vue';
18
+ export { default as ViewSwitcher } from './ViewSwitcher.vue';
19
+ export { default as OneSwitch } from './Switch.vue';
9
20
  export type { ButtonOption } from './ButtonGroup.vue';
21
+ export type { AccordionProps, AccordionItem } from './Accordion.vue';
10
22
  export type { EmptyStateAction } from './EmptyState.vue';
11
23
  export type { MenuItem } from './DropdownMenu.vue';
24
+ export type { StatusIndicatorProps } from './StatusIndicator.vue';
25
+ export type { SwitchProps } from './Switch.vue';
26
+ export type { StepItem, StepperProps, StepStatus } from './Stepper.vue';
27
+ export type { BadgeProps } from './Badge.vue';
28
+ export type { AvatarProps } from './Avatar.vue';
29
+ export { default as RefTag } from './RefTag.vue';
30
+ export type { RefTagProps } from './RefTag.vue';
31
+ export type { ViewModeOption, ViewModeGroupProps } from './ViewModeGroup.vue';
32
+ export type { ViewSwitcherTab, ViewSwitcherProps } from './ViewSwitcher.vue';
33
+ export { default as SelectBadge } from './SelectBadge.vue';
34
+ export type { SelectBadgeProps } from './SelectBadge.vue';
35
+ export { default as ChainItem } from './ChainItem.vue';
36
+ export type { ChainItemProps } from './ChainItem.vue';
37
+ export { default as SectionBlock } from './SectionBlock.vue';
38
+ export type { SectionBlockProps } from './SectionBlock.vue';
39
+ export { default as StatusSummary } from './StatusSummary.vue';
40
+ export type { StatusSummaryProps, StatusSummaryItem } from './StatusSummary.vue';
41
+ export { default as InfoCard } from './InfoCard.vue';
42
+ export type { InfoCardProps } from './InfoCard.vue';
43
+ export { default as MonitorItem } from './MonitorItem.vue';
44
+ export type { MonitorItemProps } from './MonitorItem.vue';
45
+ export { default as PersonaCard } from './PersonaCard.vue';
46
+ export type { PersonaCardProps } from './PersonaCard.vue';
@@ -21,5 +21,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
21
21
  "onUpdate:column"?: ((column: KanbanColumnData) => any) | undefined;
22
22
  }>, {
23
23
  ghostClass: string;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
+ cardContainerRef: HTMLDivElement;
26
+ }, HTMLDivElement>;
25
27
  export default _default;
@@ -21,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
21
21
  "onNotify-click"?: (() => any) | undefined;
22
22
  "onAvatar-click"?: (() => any) | undefined;
23
23
  }>, {
24
- username: string;
25
24
  searchPlaceholder: string;
25
+ username: string;
26
26
  notifyCount: number;
27
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
28
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -55,9 +55,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
55
55
  title: string;
56
56
  type: "info" | "warning" | "danger" | "success";
57
57
  width: string;
58
+ loading: boolean;
58
59
  confirmText: string;
59
60
  cancelText: string;
60
- loading: boolean;
61
61
  hideCancel: boolean;
62
62
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
63
63
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ modelValue: boolean;
3
+ width?: number;
4
+ title?: string;
5
+ showClose?: boolean;
6
+ maskClosable?: boolean;
7
+ zIndex?: number;
8
+ };
9
+ declare function __VLS_template(): any;
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:modelValue": (value: boolean) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
+ }>, {
16
+ width: number;
17
+ maskClosable: boolean;
18
+ zIndex: number;
19
+ showClose: boolean;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };