@vanjana/vue-ui 0.1.61 → 0.1.85

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 (64) hide show
  1. package/dist/theme-light.css +1 -1
  2. package/dist/types/components/chip-group.vue.d.ts +40 -0
  3. package/dist/types/components/chip-selector.vue.d.ts +24 -0
  4. package/dist/types/components/chip.vue.d.ts +28 -0
  5. package/dist/types/components/dialog.vue.d.ts +2 -2
  6. package/dist/types/components/editable-label.vue.d.ts +13 -0
  7. package/dist/types/components/form/form-field.vue.d.ts +2 -2
  8. package/dist/types/components/form/input-select.vue.d.ts +1 -1
  9. package/dist/types/components/form/input-slider.vue.d.ts +2 -2
  10. package/dist/types/components/form/input-text-area.vue.d.ts +2 -2
  11. package/dist/types/components/form/input-text.vue.d.ts +2 -2
  12. package/dist/types/components/form/input.vue.d.ts +1 -1
  13. package/dist/types/components/form/textarea.vue.d.ts +1 -1
  14. package/dist/types/components/index.d.ts +10 -2
  15. package/dist/types/components/notification/notification.vue.d.ts +13 -0
  16. package/dist/types/components/notification/notifications.vue.d.ts +3 -0
  17. package/dist/types/components/page.vue.d.ts +3 -0
  18. package/dist/types/components/paginator.vue.d.ts +1 -1
  19. package/dist/types/components/radio.vue.d.ts +15 -0
  20. package/dist/types/components/shell/shell-navigation-item.vue.d.ts +1 -1
  21. package/dist/types/components/shell/shell.vue.d.ts +4 -2
  22. package/dist/types/components/skeleton.vue.d.ts +8 -0
  23. package/dist/types/components/slider.vue.d.ts +2 -2
  24. package/dist/types/components/spinner.vue.d.ts +3 -0
  25. package/dist/types/config.d.ts +2 -0
  26. package/dist/types/directives/index.d.ts +1 -0
  27. package/dist/types/directives/loading.directive.d.ts +7 -0
  28. package/dist/types/model/FormFieldProps.d.ts +2 -1
  29. package/dist/types/model/Icons.d.ts +43 -3
  30. package/dist/types/services/flow.d.ts +3 -2
  31. package/dist/types/services/index.d.ts +2 -1
  32. package/dist/types/services/notification.service.d.ts +62 -0
  33. package/dist/types/stories/components/chip-group.stories.d.ts +48 -0
  34. package/dist/types/stories/components/chip-selector.stories.d.ts +38 -0
  35. package/dist/types/stories/components/chip.stories.d.ts +37 -0
  36. package/dist/types/stories/components/compact.stories.d.ts +2 -2
  37. package/dist/types/stories/components/dialog.stories.d.ts +5 -5
  38. package/dist/types/stories/components/editable-label.stories.d.ts +30 -0
  39. package/dist/types/stories/components/form-field.stories.d.ts +27 -2
  40. package/dist/types/stories/components/input.stories.d.ts +1 -1
  41. package/dist/types/stories/components/notification.stories.d.ts +44 -0
  42. package/dist/types/stories/components/page.stories.d.ts +13 -0
  43. package/dist/types/stories/components/radio.stories.d.ts +65 -0
  44. package/dist/types/stories/components/shell.stories.d.ts +4 -0
  45. package/dist/types/stories/components/skeleton.stories.d.ts +30 -0
  46. package/dist/types/stories/components/spinner.stories.d.ts +10 -0
  47. package/dist/types/stories/components/textarea.stories.d.ts +1 -1
  48. package/dist/types/stories/directives/loading.stories.d.ts +8 -0
  49. package/dist/vanjana-vue-ui.es.js +2104 -1609
  50. package/dist/vanjana-vue-ui.umd.js +1 -1
  51. package/dist/vue-ui.css +1 -1
  52. package/package.json +3 -2
  53. package/themes/common/_components.scss +6 -0
  54. package/themes/common/_mixins.scss +1 -1
  55. package/themes/common/components/_checkbox.scss +43 -9
  56. package/themes/common/components/_chip.scss +24 -0
  57. package/themes/common/components/_loading-overlay.scss +67 -0
  58. package/themes/common/components/_radio.scss +59 -0
  59. package/themes/common/components/_shell.scss +25 -28
  60. package/themes/common/components/_skeleton.scss +31 -0
  61. package/themes/common/components/form/_form-field.scss +39 -2
  62. package/themes/common/components/form/_input.scss +1 -1
  63. package/themes/common/components/notification/_notification.scss +39 -0
  64. package/themes/light/theme.scss +31 -7
@@ -0,0 +1,62 @@
1
+ export type NotificationType = 'info' | 'warning' | 'error' | 'success';
2
+ export interface Notification {
3
+ id: string;
4
+ type: NotificationType;
5
+ title: string;
6
+ message: string;
7
+ duration?: number;
8
+ }
9
+ declare class NotificationService {
10
+ private notifications;
11
+ private notificationIdCounter;
12
+ /**
13
+ * Gibt die reaktive Liste der Notifications zurück
14
+ */
15
+ getNotifications(): import("vue").Ref<{
16
+ id: string;
17
+ type: NotificationType;
18
+ title: string;
19
+ message: string;
20
+ duration?: number | undefined;
21
+ }[], Notification[] | {
22
+ id: string;
23
+ type: NotificationType;
24
+ title: string;
25
+ message: string;
26
+ duration?: number | undefined;
27
+ }[]>;
28
+ /**
29
+ * Zeigt eine Notification an
30
+ * @param type - Der Typ der Notification (info, warning, error, success)
31
+ * @param message - Die Nachricht
32
+ * @param duration - Optionale Dauer in ms (Standard: 5000ms, errors bleiben stehen)
33
+ * @returns Die ID der Notification
34
+ */
35
+ show(type: NotificationType, title: string, message: string, duration?: number): string;
36
+ /**
37
+ * Zeigt eine Info-Notification
38
+ */
39
+ info(title: string, message: string, duration?: number): string;
40
+ /**
41
+ * Zeigt eine Warning-Notification
42
+ */
43
+ warning(title: string, message: string, duration?: number): string;
44
+ /**
45
+ * Zeigt eine Error-Notification (bleibt stehen bis manuell geschlossen)
46
+ */
47
+ error(title: string, message: string): string;
48
+ /**
49
+ * Zeigt eine Success-Notification
50
+ */
51
+ success(title: string, message: string, duration?: number): string;
52
+ /**
53
+ * Entfernt eine spezifische Notification
54
+ */
55
+ remove(id: string): void;
56
+ /**
57
+ * Entfernt alle Notifications
58
+ */
59
+ clearAll(): void;
60
+ }
61
+ export declare const notificationService: NotificationService;
62
+ export {};
@@ -0,0 +1,48 @@
1
+ import type { StoryObj } from '@storybook/vue3';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<import("../../components/chip-group.vue").ChipGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
+ dismiss: (item: import("../../components/chip-group.vue").ChipGroupItem, index: number) => any;
6
+ "update:items": (items: import("../../components/chip-group.vue").ChipGroupItem[]) => any;
7
+ reorder: (items: import("../../components/chip-group.vue").ChipGroupItem[]) => any;
8
+ "chip-click": (item: import("../../components/chip-group.vue").ChipGroupItem, index: number) => any;
9
+ }, string, import("vue").PublicProps, Readonly<import("../../components/chip-group.vue").ChipGroupProps> & Readonly<{
10
+ onDismiss?: ((item: import("../../components/chip-group.vue").ChipGroupItem, index: number) => any) | undefined;
11
+ "onUpdate:items"?: ((items: import("../../components/chip-group.vue").ChipGroupItem[]) => any) | undefined;
12
+ onReorder?: ((items: import("../../components/chip-group.vue").ChipGroupItem[]) => any) | undefined;
13
+ "onChip-click"?: ((item: import("../../components/chip-group.vue").ChipGroupItem, index: number) => any) | undefined;
14
+ }>, {
15
+ dismissable: boolean;
16
+ items: import("../../components/chip-group.vue").ChipGroupItem[];
17
+ itemKey: string;
18
+ itemLabel: string;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ tags: string[];
21
+ argTypes: {
22
+ items: {
23
+ control: "object";
24
+ };
25
+ label: {
26
+ control: "text";
27
+ };
28
+ hint: {
29
+ control: "text";
30
+ };
31
+ dismissable: {
32
+ control: "boolean";
33
+ };
34
+ color: {
35
+ control: "text";
36
+ };
37
+ };
38
+ };
39
+ export default meta;
40
+ type Story = StoryObj<typeof meta>;
41
+ export declare const Default: Story;
42
+ export declare const WithObjects: Story;
43
+ export declare const WithAddButton: Story;
44
+ export declare const DragAndDropDemo: Story;
45
+ export declare const EmptyState: Story;
46
+ export declare const ColoredChips: Story;
47
+ export declare const NonDismissable: Story;
48
+ export declare const ClickableChips: Story;
@@ -0,0 +1,38 @@
1
+ import type { StoryObj } from '@storybook/vue3';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<import("../../public-api.js").ChipSelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:items": (value: string[]) => any;
6
+ }, string, import("vue").PublicProps, Readonly<import("../../public-api.js").ChipSelectorProps> & Readonly<{
7
+ "onUpdate:items"?: ((value: string[]) => any) | undefined;
8
+ }>, {
9
+ label: string;
10
+ items: string[];
11
+ hint: string;
12
+ addButtonText: string;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ tags: string[];
15
+ argTypes: {
16
+ label: {
17
+ control: "text";
18
+ };
19
+ hint: {
20
+ control: "text";
21
+ };
22
+ dialogTitle: {
23
+ control: "text";
24
+ };
25
+ addButtonText: {
26
+ control: "text";
27
+ };
28
+ };
29
+ };
30
+ export default meta;
31
+ type Story = StoryObj<typeof meta>;
32
+ export declare const Default: Story;
33
+ export declare const EmptyState: Story;
34
+ export declare const WithPreselected: Story;
35
+ export declare const EthnicityExample: Story;
36
+ export declare const HairTraitsExample: Story;
37
+ export declare const MultipleSelectors: Story;
38
+ export declare const AllOptionsSelected: Story;
@@ -0,0 +1,37 @@
1
+ import type { StoryObj } from '@storybook/vue3';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<import("../../components/chip.vue").ChipProps & {
5
+ modelValue?: string | number | Record<string, unknown>;
6
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string | number | Record<string, unknown> | undefined) => any;
8
+ } & {
9
+ click: () => any;
10
+ "update:modelValue": (v: unknown) => any;
11
+ dismiss: (v: unknown) => any;
12
+ }, string, import("vue").PublicProps, Readonly<import("../../components/chip.vue").ChipProps & {
13
+ modelValue?: string | number | Record<string, unknown>;
14
+ }> & Readonly<{
15
+ onClick?: (() => any) | undefined;
16
+ "onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
17
+ onDismiss?: ((v: unknown) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ tags: string[];
20
+ argTypes: {
21
+ label: {
22
+ control: "text";
23
+ };
24
+ dismissable: {
25
+ control: "boolean";
26
+ };
27
+ color: {
28
+ control: "color";
29
+ };
30
+ };
31
+ };
32
+ export default meta;
33
+ type Story = StoryObj<typeof meta>;
34
+ export declare const Default: Story;
35
+ export declare const Dismissable: Story;
36
+ export declare const List: Story;
37
+ export declare const Colors: Story;
@@ -5,16 +5,16 @@ declare const meta: {
5
5
  type: "text" | "password" | "email" | "number";
6
6
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
7
  input: (value: string | number) => any;
8
- "update:modelValue": (value: string | number) => any;
9
8
  blur: (value: FocusEvent) => any;
10
9
  focus: (value: FocusEvent) => any;
10
+ "update:modelValue": (value: string | number) => any;
11
11
  }, string, import("vue").PublicProps, Readonly<import("../..").FormFieldProps & {
12
12
  type: "text" | "password" | "email" | "number";
13
13
  }> & Readonly<{
14
14
  onInput?: ((value: string | number) => any) | undefined;
15
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
16
15
  onBlur?: ((value: FocusEvent) => any) | undefined;
17
16
  onFocus?: ((value: FocusEvent) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  tags: string[];
20
20
  };
@@ -15,14 +15,14 @@ declare const meta: {
15
15
  closeOnBackdrop?: boolean;
16
16
  closeOnEscape?: boolean;
17
17
  }> & Readonly<{
18
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
19
18
  onCancel?: (() => any) | undefined;
20
19
  onClose?: (() => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
21
  onConfirm?: (() => any) | undefined;
22
22
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
- "update:modelValue": (value: boolean) => any;
24
23
  cancel: () => any;
25
24
  close: () => any;
25
+ "update:modelValue": (value: boolean) => any;
26
26
  confirm: () => any;
27
27
  }, import("vue").PublicProps, {
28
28
  modelValue: boolean;
@@ -52,9 +52,9 @@ declare const meta: {
52
52
  closeOnBackdrop?: boolean;
53
53
  closeOnEscape?: boolean;
54
54
  }> & Readonly<{
55
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
56
55
  onCancel?: (() => any) | undefined;
57
56
  onClose?: (() => any) | undefined;
57
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
58
58
  onConfirm?: (() => any) | undefined;
59
59
  }>, {}, {}, {}, {}, {
60
60
  modelValue: boolean;
@@ -81,14 +81,14 @@ declare const meta: {
81
81
  closeOnBackdrop?: boolean;
82
82
  closeOnEscape?: boolean;
83
83
  }> & Readonly<{
84
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
85
84
  onCancel?: (() => any) | undefined;
86
85
  onClose?: (() => any) | undefined;
86
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
87
87
  onConfirm?: (() => any) | undefined;
88
88
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
89
- "update:modelValue": (value: boolean) => any;
90
89
  cancel: () => any;
91
90
  close: () => any;
91
+ "update:modelValue": (value: boolean) => any;
92
92
  confirm: () => any;
93
93
  }, string, {
94
94
  modelValue: boolean;
@@ -0,0 +1,30 @@
1
+ import type { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{
5
+ modelValue?: string;
6
+ showIcon?: boolean;
7
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (...args: any[]) => void;
9
+ edit: (...args: any[]) => void;
10
+ }, string, import("vue").PublicProps, Readonly<{
11
+ modelValue?: string;
12
+ showIcon?: boolean;
13
+ }> & Readonly<{
14
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
+ onEdit?: ((...args: any[]) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ tags: string[];
18
+ argTypes: {
19
+ modelValue: {
20
+ control: "text";
21
+ };
22
+ showIcon: {
23
+ control: "boolean";
24
+ };
25
+ };
26
+ };
27
+ export default meta;
28
+ type Story = StoryObj<typeof meta>;
29
+ export declare const Default: Story;
30
+ export declare const WithLongText: Story;
@@ -5,16 +5,16 @@ declare const meta: {
5
5
  type: "text" | "password" | "email" | "number";
6
6
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
7
  input: (value: string | number) => any;
8
- "update:modelValue": (value: string | number) => any;
9
8
  blur: (value: FocusEvent) => any;
10
9
  focus: (value: FocusEvent) => any;
10
+ "update:modelValue": (value: string | number) => any;
11
11
  }, string, import("vue").PublicProps, Readonly<import("../..").FormFieldProps & {
12
12
  type: "text" | "password" | "email" | "number";
13
13
  }> & Readonly<{
14
14
  onInput?: ((value: string | number) => any) | undefined;
15
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
16
15
  onBlur?: ((value: FocusEvent) => any) | undefined;
17
16
  onFocus?: ((value: FocusEvent) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  tags: string[];
20
20
  };
@@ -50,3 +50,28 @@ export declare const LabelPositionComparison: Story;
50
50
  * Configure all form fields to use outline labels by default
51
51
  */
52
52
  export declare const GlobalConfigOutline: Story;
53
+ /**
54
+ * Appearance: Bordered (default)
55
+ * The input has a border outline around it.
56
+ */
57
+ export declare const AppearanceBordered: Story;
58
+ /**
59
+ * Appearance: Underlined
60
+ * The input has an underline instead of a border with reduced padding.
61
+ */
62
+ export declare const AppearanceUnderlined: Story;
63
+ /**
64
+ * Appearance: Comparison
65
+ * Side-by-side comparison of bordered vs underlined
66
+ */
67
+ export declare const AppearanceComparison: Story;
68
+ /**
69
+ * Appearance: Underlined with Outline Labels
70
+ * Combination of underlined appearance with outline label position
71
+ */
72
+ export declare const AppearanceUnderlinedWithOutlineLabels: Story;
73
+ /**
74
+ * Global Config: Underlined
75
+ * Configure all form fields to use underlined appearance by default
76
+ */
77
+ export declare const GlobalConfigUnderlined: Story;
@@ -24,9 +24,9 @@ declare const meta: {
24
24
  } & {
25
25
  modelValue?: string | number;
26
26
  }> & Readonly<{
27
- "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
28
27
  onBlur?: ((event: FocusEvent) => any) | undefined;
29
28
  onFocus?: ((event: FocusEvent) => any) | undefined;
29
+ "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
30
30
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  tags: string[];
32
32
  argTypes: {
@@ -0,0 +1,44 @@
1
+ import type { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ render: () => {
6
+ components: {
7
+ Notifications: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ Button: import("vue").DefineComponent<{
9
+ label?: string;
10
+ icon?: string;
11
+ primary?: boolean;
12
+ secondary?: boolean;
13
+ tertiary?: boolean;
14
+ disabled?: boolean;
15
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
16
+ label?: string;
17
+ icon?: string;
18
+ primary?: boolean;
19
+ secondary?: boolean;
20
+ tertiary?: boolean;
21
+ disabled?: boolean;
22
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ };
24
+ setup(this: void): {
25
+ showInfo: () => void;
26
+ showSuccess: () => void;
27
+ showWarning: () => void;
28
+ showError: () => void;
29
+ showCustomDuration: () => void;
30
+ showMultiple: () => void;
31
+ clearAll: () => void;
32
+ };
33
+ template: string;
34
+ };
35
+ tags: string[];
36
+ };
37
+ export default meta;
38
+ type Story = StoryObj<typeof meta>;
39
+ export declare const Default: Story;
40
+ export declare const InfoNotification: Story;
41
+ export declare const SuccessNotification: Story;
42
+ export declare const WarningNotification: Story;
43
+ export declare const ErrorNotification: Story;
44
+ export declare const MultipleNotifications: Story;
@@ -6,6 +6,8 @@ declare const meta: {
6
6
  title: string;
7
7
  scrollable?: boolean;
8
8
  errorMessage?: string | null;
9
+ flow?: import("@/services").Flow;
10
+ loadingMessage?: string;
9
11
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
10
12
  P: {};
11
13
  B: {};
@@ -17,6 +19,8 @@ declare const meta: {
17
19
  title: string;
18
20
  scrollable?: boolean;
19
21
  errorMessage?: string | null;
22
+ flow?: import("@/services").Flow;
23
+ loadingMessage?: string;
20
24
  }> & Readonly<{}>, {}, {}, {}, {}, {}>;
21
25
  __isFragment?: never;
22
26
  __isTeleport?: never;
@@ -25,6 +29,8 @@ declare const meta: {
25
29
  title: string;
26
30
  scrollable?: boolean;
27
31
  errorMessage?: string | null;
32
+ flow?: import("@/services").Flow;
33
+ loadingMessage?: string;
28
34
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
29
35
  $slots: {
30
36
  headerActions?: (props: {}) => any;
@@ -47,6 +53,8 @@ declare const meta: {
47
53
  title: string;
48
54
  scrollable?: boolean;
49
55
  errorMessage?: string | null;
56
+ flow?: import("@/services").Flow;
57
+ loadingMessage?: string;
50
58
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
51
59
  P: {};
52
60
  B: {};
@@ -58,6 +66,8 @@ declare const meta: {
58
66
  title: string;
59
67
  scrollable?: boolean;
60
68
  errorMessage?: string | null;
69
+ flow?: import("@/services").Flow;
70
+ loadingMessage?: string;
61
71
  }> & Readonly<{}>, {}, {}, {}, {}, {}>;
62
72
  __isFragment?: never;
63
73
  __isTeleport?: never;
@@ -66,6 +76,8 @@ declare const meta: {
66
76
  title: string;
67
77
  scrollable?: boolean;
68
78
  errorMessage?: string | null;
79
+ flow?: import("@/services").Flow;
80
+ loadingMessage?: string;
69
81
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
70
82
  $slots: {
71
83
  headerActions?: (props: {}) => any;
@@ -101,3 +113,4 @@ export declare const Primary: Story;
101
113
  export declare const WithFooter: Story;
102
114
  export declare const WithFlexFooter: Story;
103
115
  export declare const WithHeaderActionsAndFlexFooter: Story;
116
+ export declare const WithLoading: Story;
@@ -0,0 +1,65 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: import("vue").DefineComponent<{
4
+ label?: string;
5
+ disabled?: boolean;
6
+ } & {
7
+ modelValue?: boolean;
8
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: boolean | undefined) => any;
10
+ }, string, import("vue").PublicProps, Readonly<{
11
+ label?: string;
12
+ disabled?: boolean;
13
+ } & {
14
+ modelValue?: boolean;
15
+ }> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ };
19
+ export default _default;
20
+ export declare const Default: () => {
21
+ components: {
22
+ Radio: import("vue").DefineComponent<{
23
+ label?: string;
24
+ disabled?: boolean;
25
+ } & {
26
+ modelValue?: boolean;
27
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:modelValue": (value: boolean | undefined) => any;
29
+ }, string, import("vue").PublicProps, Readonly<{
30
+ label?: string;
31
+ disabled?: boolean;
32
+ } & {
33
+ modelValue?: boolean;
34
+ }> & Readonly<{
35
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
36
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
+ };
38
+ setup(): {
39
+ checked: import("vue").Ref<boolean, boolean>;
40
+ };
41
+ template: string;
42
+ };
43
+ export declare const Checked: () => {
44
+ components: {
45
+ Radio: import("vue").DefineComponent<{
46
+ label?: string;
47
+ disabled?: boolean;
48
+ } & {
49
+ modelValue?: boolean;
50
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
+ "update:modelValue": (value: boolean | undefined) => any;
52
+ }, string, import("vue").PublicProps, Readonly<{
53
+ label?: string;
54
+ disabled?: boolean;
55
+ } & {
56
+ modelValue?: boolean;
57
+ }> & Readonly<{
58
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
59
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
60
+ };
61
+ setup(): {
62
+ checked: import("vue").Ref<boolean, boolean>;
63
+ };
64
+ template: string;
65
+ };
@@ -28,6 +28,8 @@ declare const meta: {
28
28
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
29
29
  $slots: {
30
30
  'header-actions'?: (props: {}) => any;
31
+ } & {
32
+ 'navigation-fixed'?: (props: {}) => any;
31
33
  } & {
32
34
  default?: (props: {}) => any;
33
35
  };
@@ -62,6 +64,8 @@ declare const meta: {
62
64
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
63
65
  $slots: {
64
66
  'header-actions'?: (props: {}) => any;
67
+ } & {
68
+ 'navigation-fixed'?: (props: {}) => any;
65
69
  } & {
66
70
  default?: (props: {}) => any;
67
71
  };
@@ -0,0 +1,30 @@
1
+ import type { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{
5
+ width?: string;
6
+ height?: string;
7
+ borderRadius?: string;
8
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
9
+ width?: string;
10
+ height?: string;
11
+ borderRadius?: string;
12
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ tags: string[];
14
+ argTypes: {
15
+ width: {
16
+ control: "text";
17
+ };
18
+ height: {
19
+ control: "text";
20
+ };
21
+ borderRadius: {
22
+ control: "text";
23
+ };
24
+ };
25
+ };
26
+ export default meta;
27
+ type Story = StoryObj<typeof meta>;
28
+ export declare const Line: Story;
29
+ export declare const AvatarAndLines: Story;
30
+ export declare const CardsGrid: Story;
@@ -0,0 +1,10 @@
1
+ import type { StoryObj } from '@storybook/vue3';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ tags: string[];
6
+ };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Sizes: Story;
10
+ export declare const InlineWithText: Story;
@@ -24,9 +24,9 @@ declare const meta: {
24
24
  } & {
25
25
  modelValue?: string;
26
26
  }> & Readonly<{
27
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
28
27
  onBlur?: ((event: FocusEvent) => any) | undefined;
29
28
  onFocus?: ((event: FocusEvent) => any) | undefined;
29
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
30
30
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  tags: string[];
32
32
  argTypes: {
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const Basic: Story;
6
+ export declare const WithText: Story;
7
+ export declare const BlockingForm: Story;
8
+ export declare const LargeCard: Story;