@rocketui/vue 0.2.74 → 0.2.76

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 (163) hide show
  1. package/dist/rocket-ui-vue.js +2 -1
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/dist/src/components/Accordion/Accordion.stories.d.ts +116 -0
  4. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +1 -0
  5. package/dist/src/components/Accordion/RAccordion.vue.d.ts +70 -0
  6. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +1 -0
  7. package/dist/src/components/Accordion/accordion.spec.d.ts +2 -0
  8. package/dist/src/components/Accordion/accordion.spec.d.ts.map +1 -0
  9. package/dist/src/components/Alert/Alert.stories.d.ts +461 -0
  10. package/dist/src/components/Alert/Alert.stories.d.ts.map +1 -0
  11. package/dist/src/components/Alert/RAlert.vue.d.ts +109 -0
  12. package/dist/src/components/Alert/RAlert.vue.d.ts.map +1 -0
  13. package/dist/src/components/Alert/alert.spec.d.ts +2 -0
  14. package/dist/src/components/Alert/alert.spec.d.ts.map +1 -0
  15. package/dist/src/components/Avatar/Avatar.stories.d.ts +68 -0
  16. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +1 -0
  17. package/dist/src/components/Avatar/RAvatar.vue.d.ts +92 -0
  18. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +1 -0
  19. package/dist/src/components/Avatar/avatar.spec.d.ts +2 -0
  20. package/dist/src/components/Avatar/avatar.spec.d.ts.map +1 -0
  21. package/dist/src/components/Badge/Badge.stories.d.ts +281 -0
  22. package/dist/src/components/Badge/Badge.stories.d.ts.map +1 -0
  23. package/dist/src/components/Badge/RBadge.vue.d.ts +143 -0
  24. package/dist/src/components/Badge/RBadge.vue.d.ts.map +1 -0
  25. package/dist/src/components/Badge/badge.spec.d.ts +2 -0
  26. package/dist/src/components/Badge/badge.spec.d.ts.map +1 -0
  27. package/dist/src/components/Box/Box.stories.d.ts +167 -0
  28. package/dist/src/components/Box/Box.stories.d.ts.map +1 -0
  29. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +111 -0
  30. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
  31. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
  32. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
  33. package/dist/src/components/Button/Button.spec.d.ts +2 -0
  34. package/dist/src/components/Button/Button.spec.d.ts.map +1 -0
  35. package/dist/src/components/Button/Button.stories.d.ts +553 -0
  36. package/dist/src/components/Button/Button.stories.d.ts.map +1 -0
  37. package/dist/src/components/Button/RButton.vue.d.ts +155 -0
  38. package/dist/src/components/Button/RButton.vue.d.ts.map +1 -0
  39. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +88 -0
  40. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
  41. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +120 -0
  42. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
  43. package/dist/src/components/Checkbox/checkbox.spec.d.ts +2 -0
  44. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +1 -0
  45. package/dist/src/components/Chips/Chip.stories.d.ts +547 -0
  46. package/dist/src/components/Chips/Chip.stories.d.ts.map +1 -0
  47. package/dist/src/components/Chips/RChip.vue.d.ts +132 -0
  48. package/dist/src/components/Chips/RChip.vue.d.ts.map +1 -0
  49. package/dist/src/components/Chips/chip.spec.d.ts +2 -0
  50. package/dist/src/components/Chips/chip.spec.d.ts.map +1 -0
  51. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +690 -0
  52. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
  53. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +418 -0
  54. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
  55. package/dist/src/components/Dropdown/dropdown.spec.d.ts +2 -0
  56. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +1 -0
  57. package/dist/src/components/Icon/Icon.stories.d.ts +39 -0
  58. package/dist/src/components/Icon/Icon.stories.d.ts.map +1 -0
  59. package/dist/src/components/Icon/RIcon.vue.d.ts +59 -0
  60. package/dist/src/components/Icon/RIcon.vue.d.ts.map +1 -0
  61. package/dist/src/components/Icon/icon.spec.d.ts +2 -0
  62. package/dist/src/components/Icon/icon.spec.d.ts.map +1 -0
  63. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +215 -0
  64. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +1 -0
  65. package/dist/src/components/ItemGroup/RItem.vue.d.ts +65 -0
  66. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +1 -0
  67. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
  68. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
  69. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +2 -0
  70. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +1 -0
  71. package/dist/src/components/Label/Label.stories.d.ts +133 -0
  72. package/dist/src/components/Label/Label.stories.d.ts.map +1 -0
  73. package/dist/src/components/Label/RLabel.vue.d.ts +68 -0
  74. package/dist/src/components/Label/RLabel.vue.d.ts.map +1 -0
  75. package/dist/src/components/Modal/Modal.stories.d.ts +343 -0
  76. package/dist/src/components/Modal/Modal.stories.d.ts.map +1 -0
  77. package/dist/src/components/Modal/RModal.vue.d.ts +183 -0
  78. package/dist/src/components/Modal/RModal.vue.d.ts.map +1 -0
  79. package/dist/src/components/Modal/modal.spec.d.ts +2 -0
  80. package/dist/src/components/Modal/modal.spec.d.ts.map +1 -0
  81. package/dist/src/components/Pagination/Pagination.stories.d.ts +243 -0
  82. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +1 -0
  83. package/dist/src/components/Pagination/RPagination.vue.d.ts +110 -0
  84. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +1 -0
  85. package/dist/src/components/Pagination/pagination.spec.d.ts +2 -0
  86. package/dist/src/components/Pagination/pagination.spec.d.ts.map +1 -0
  87. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +30 -0
  88. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +1 -0
  89. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
  90. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
  91. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +2 -0
  92. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +1 -0
  93. package/dist/src/components/Radio/RRadio.vue.d.ts +66 -0
  94. package/dist/src/components/Radio/RRadio.vue.d.ts.map +1 -0
  95. package/dist/src/components/Radio/Radio.stories.d.ts +100 -0
  96. package/dist/src/components/Radio/Radio.stories.d.ts.map +1 -0
  97. package/dist/src/components/Shared/Enums.d.ts +2 -0
  98. package/dist/src/components/Shared/Enums.d.ts.map +1 -0
  99. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +53 -0
  100. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  101. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +163 -0
  102. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +1 -0
  103. package/dist/src/components/Sidebar/sidebar.spec.d.ts +2 -0
  104. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +1 -0
  105. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +113 -0
  106. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
  107. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +224 -0
  108. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +1 -0
  109. package/dist/src/components/Snackbar/snackbar.spec.d.ts +2 -0
  110. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +1 -0
  111. package/dist/src/components/Switch/RSwitch.vue.d.ts +135 -0
  112. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +1 -0
  113. package/dist/src/components/Switch/Switch.stories.d.ts +102 -0
  114. package/dist/src/components/Switch/Switch.stories.d.ts.map +1 -0
  115. package/dist/src/components/Switch/switch.spec.d.ts +2 -0
  116. package/dist/src/components/Switch/switch.spec.d.ts.map +1 -0
  117. package/dist/src/components/TabItem/RTabItem.vue.d.ts +155 -0
  118. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +1 -0
  119. package/dist/src/components/TabItem/TabItem.spec.d.ts +2 -0
  120. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +1 -0
  121. package/dist/src/components/TabItem/TabItem.stories.d.ts +290 -0
  122. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +1 -0
  123. package/dist/src/components/TabItem/common.d.ts +7 -0
  124. package/dist/src/components/TabItem/common.d.ts.map +1 -0
  125. package/dist/src/components/Tabs/RTabs.vue.d.ts +95 -0
  126. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +1 -0
  127. package/dist/src/components/Tabs/Tabs.spec.d.ts +2 -0
  128. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +1 -0
  129. package/dist/src/components/Tabs/Tabs.stories.d.ts +181 -0
  130. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +1 -0
  131. package/dist/src/components/Tabs/types.d.ts +11 -0
  132. package/dist/src/components/Tabs/types.d.ts.map +1 -0
  133. package/dist/src/components/TextArea/RTextArea.vue.d.ts +120 -0
  134. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +1 -0
  135. package/dist/src/components/TextArea/TextArea.stories.d.ts +89 -0
  136. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +1 -0
  137. package/dist/src/components/TextArea/textarea.spec.d.ts +2 -0
  138. package/dist/src/components/TextArea/textarea.spec.d.ts.map +1 -0
  139. package/dist/src/components/Textfield/RTextfield.vue.d.ts +249 -0
  140. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  141. package/dist/src/components/Textfield/Textfield.stories.d.ts +459 -0
  142. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +1 -0
  143. package/dist/src/components/Textfield/textfield.spec.d.ts +2 -0
  144. package/dist/src/components/Textfield/textfield.spec.d.ts.map +1 -0
  145. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +264 -0
  146. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  147. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +479 -0
  148. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
  149. package/dist/src/components/Tooltip/popper.d.ts +29 -0
  150. package/dist/src/components/Tooltip/popper.d.ts.map +1 -0
  151. package/dist/src/components/Tooltip/tooltip.spec.d.ts +2 -0
  152. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +1 -0
  153. package/dist/src/directives/index.d.ts +5 -0
  154. package/dist/src/directives/index.d.ts.map +1 -0
  155. package/dist/src/lib/main.d.ts +26 -0
  156. package/dist/src/lib/main.d.ts.map +1 -0
  157. package/dist/src/main.d.ts +1 -0
  158. package/dist/src/main.d.ts.map +1 -0
  159. package/dist/src/shims.d.ts +9 -0
  160. package/dist/src/utils/helpers.d.ts +2 -0
  161. package/dist/src/utils/helpers.d.ts.map +1 -0
  162. package/package.json +1 -1
  163. package/dist/rocket-ui-vue.d.ts +0 -3337
@@ -0,0 +1,116 @@
1
+ import { Accordion } from './RAccordion.vue';
2
+ import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
+ import type { Meta, StoryObj } from '@storybook/vue3';
4
+ declare const AccordionStory: Meta<{
5
+ new (...args: any[]): {
6
+ $: ComponentInternalInstance;
7
+ $data: {};
8
+ $props: Partial<{}> & Omit<{
9
+ readonly accordions: Accordion[];
10
+ readonly multiple?: boolean | undefined;
11
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
12
+ accordions: {
13
+ type: PropType<Accordion[]>;
14
+ required: true;
15
+ };
16
+ multiple: {
17
+ type: PropType<boolean>;
18
+ };
19
+ }>>, never>;
20
+ $attrs: {
21
+ [x: string]: unknown;
22
+ };
23
+ $refs: {
24
+ [x: string]: unknown;
25
+ };
26
+ $slots: Readonly<{
27
+ [name: string]: Slot<any> | undefined;
28
+ }>;
29
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
30
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
31
+ $emit: (event: string, ...args: any[]) => void;
32
+ $el: any;
33
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
34
+ accordions: {
35
+ type: PropType<Accordion[]>;
36
+ required: true;
37
+ };
38
+ multiple: {
39
+ type: PropType<boolean>;
40
+ };
41
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
42
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
43
+ created?: ((() => void) | (() => void)[]) | undefined;
44
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
45
+ mounted?: ((() => void) | (() => void)[]) | undefined;
46
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
47
+ updated?: ((() => void) | (() => void)[]) | undefined;
48
+ activated?: ((() => void) | (() => void)[]) | undefined;
49
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
50
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
51
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
52
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
53
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
54
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
55
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
56
+ errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
57
+ };
58
+ $forceUpdate: () => void;
59
+ $nextTick: typeof nextTick;
60
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
61
+ } & Readonly<ExtractPropTypes<{
62
+ accordions: {
63
+ type: PropType<Accordion[]>;
64
+ required: true;
65
+ };
66
+ multiple: {
67
+ type: PropType<boolean>;
68
+ };
69
+ }>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
70
+ __isFragment?: undefined;
71
+ __isTeleport?: undefined;
72
+ __isSuspense?: undefined;
73
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
74
+ accordions: {
75
+ type: PropType<Accordion[]>;
76
+ required: true;
77
+ };
78
+ multiple: {
79
+ type: PropType<boolean>;
80
+ };
81
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
82
+ $slots: {
83
+ title?(_: {
84
+ accordion: Accordion & {
85
+ title: string;
86
+ content: string;
87
+ open: boolean;
88
+ disabled: boolean;
89
+ };
90
+ }): any;
91
+ icon?(_: {
92
+ item: Accordion & {
93
+ title: string;
94
+ content: string;
95
+ open: boolean;
96
+ disabled: boolean;
97
+ };
98
+ open: boolean;
99
+ }): any;
100
+ content?(_: {
101
+ accordion: Accordion & {
102
+ title: string;
103
+ content: string;
104
+ open: boolean;
105
+ disabled: boolean;
106
+ };
107
+ }): any;
108
+ };
109
+ })>;
110
+ export default AccordionStory;
111
+ declare type Story = StoryObj<typeof AccordionStory>;
112
+ export declare const Overview: Story;
113
+ export declare const SingleCollapse: Story;
114
+ export declare const Accordions: Story;
115
+ export declare const AccordionsMultipleOpen: Story;
116
+ //# sourceMappingURL=Accordion.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/Accordion.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAYrD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQO,CAAA;AAE3B,eAAe,cAAc,CAAA;AAE7B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAE5C,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAS5B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAgNxB,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,KAiNpC,CAAA"}
@@ -0,0 +1,70 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export interface Accordion {
3
+ title: string;
4
+ content: string;
5
+ open?: boolean;
6
+ disabled?: boolean;
7
+ }
8
+ export interface AccordionProps {
9
+ /**
10
+ * Accordion list
11
+ * @default []
12
+ * @type Accordion[]
13
+ * @example
14
+ * ```html
15
+ * <r-accordion :accordions="[
16
+ * { title: 'Accordion 1', content: 'Content 1' },
17
+ * ]" />
18
+ * ```
19
+ */
20
+ accordions: Accordion[];
21
+ /**
22
+ * Allow multiple accordions to be open at the same time
23
+ * @default false
24
+ * @type boolean
25
+ */
26
+ multiple?: boolean;
27
+ }
28
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<AccordionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionProps>>>, {}, {}>, {
29
+ title?(_: {
30
+ accordion: Accordion & {
31
+ title: string;
32
+ content: string;
33
+ open: boolean;
34
+ disabled: boolean;
35
+ };
36
+ }): any;
37
+ icon?(_: {
38
+ item: Accordion & {
39
+ title: string;
40
+ content: string;
41
+ open: boolean;
42
+ disabled: boolean;
43
+ };
44
+ open: boolean;
45
+ }): any;
46
+ content?(_: {
47
+ accordion: Accordion & {
48
+ title: string;
49
+ content: string;
50
+ open: boolean;
51
+ disabled: boolean;
52
+ };
53
+ }): any;
54
+ }>;
55
+ export default _default;
56
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
58
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
59
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
60
+ } : {
61
+ type: PropType<T[K]>;
62
+ required: true;
63
+ };
64
+ };
65
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
70
+ //# sourceMappingURL=RAccordion.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/RAccordion.vue"],"names":[],"mappings":"AAIA,OAAO,iBAAiB,CAAA;AAExB,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B;;;;;;;;;;OAUG;IACH,UAAU,EAAE,SAAS,EAAE,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6LD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accordion.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/accordion.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,461 @@
1
+ import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
2
+ import type { Meta, StoryObj } from '@storybook/vue3';
3
+ declare const AlertStory: Meta<{
4
+ new (...args: any[]): {
5
+ $: ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{
8
+ type: "success" | "error" | "warning" | "info";
9
+ title: string;
10
+ variant: "ghost" | "solid" | "outline";
11
+ block: boolean;
12
+ description: string;
13
+ closable: boolean;
14
+ }> & Omit<{
15
+ readonly type: "success" | "error" | "warning" | "info";
16
+ readonly title: string;
17
+ readonly variant: "ghost" | "solid" | "outline";
18
+ readonly block: boolean;
19
+ readonly description: string;
20
+ readonly closable: boolean;
21
+ onClose?: ((...args: any[]) => any) | undefined;
22
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
23
+ type: {
24
+ type: PropType<"success" | "error" | "warning" | "info">;
25
+ required: true;
26
+ default: string;
27
+ };
28
+ title: {
29
+ type: PropType<string>;
30
+ required: true;
31
+ default: string;
32
+ };
33
+ variant: {
34
+ type: PropType<"ghost" | "solid" | "outline">;
35
+ default: string;
36
+ };
37
+ block: {
38
+ type: PropType<boolean>;
39
+ default: boolean;
40
+ };
41
+ description: {
42
+ type: PropType<string>;
43
+ default: string;
44
+ };
45
+ closable: {
46
+ type: PropType<boolean>;
47
+ default: boolean;
48
+ };
49
+ }>> & {
50
+ onClose?: ((...args: any[]) => any) | undefined;
51
+ }, "type" | "title" | "variant" | "block" | "description" | "closable">;
52
+ $attrs: {
53
+ [x: string]: unknown;
54
+ };
55
+ $refs: {
56
+ [x: string]: unknown;
57
+ };
58
+ $slots: Readonly<{
59
+ [name: string]: Slot<any> | undefined;
60
+ }>;
61
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
62
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
63
+ $emit: (event: "close", ...args: any[]) => void;
64
+ $el: any;
65
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
66
+ type: {
67
+ type: PropType<"success" | "error" | "warning" | "info">;
68
+ required: true;
69
+ default: string;
70
+ };
71
+ title: {
72
+ type: PropType<string>;
73
+ required: true;
74
+ default: string;
75
+ };
76
+ variant: {
77
+ type: PropType<"ghost" | "solid" | "outline">;
78
+ default: string;
79
+ };
80
+ block: {
81
+ type: PropType<boolean>;
82
+ default: boolean;
83
+ };
84
+ description: {
85
+ type: PropType<string>;
86
+ default: string;
87
+ };
88
+ closable: {
89
+ type: PropType<boolean>;
90
+ default: boolean;
91
+ };
92
+ }>> & {
93
+ onClose?: ((...args: any[]) => any) | undefined;
94
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
95
+ close: (...args: any[]) => void;
96
+ }, string, {
97
+ type: "success" | "error" | "warning" | "info";
98
+ title: string;
99
+ variant: "ghost" | "solid" | "outline";
100
+ block: boolean;
101
+ description: string;
102
+ closable: boolean;
103
+ }, {}, string, {}> & {
104
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
105
+ created?: ((() => void) | (() => void)[]) | undefined;
106
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
107
+ mounted?: ((() => void) | (() => void)[]) | undefined;
108
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
109
+ updated?: ((() => void) | (() => void)[]) | undefined;
110
+ activated?: ((() => void) | (() => void)[]) | undefined;
111
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
112
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
113
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
114
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
115
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
116
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
117
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
118
+ errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
119
+ };
120
+ $forceUpdate: () => void;
121
+ $nextTick: typeof nextTick;
122
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
123
+ } & Readonly<ExtractPropTypes<{
124
+ type: {
125
+ type: PropType<"success" | "error" | "warning" | "info">;
126
+ required: true;
127
+ default: string;
128
+ };
129
+ title: {
130
+ type: PropType<string>;
131
+ required: true;
132
+ default: string;
133
+ };
134
+ variant: {
135
+ type: PropType<"ghost" | "solid" | "outline">;
136
+ default: string;
137
+ };
138
+ block: {
139
+ type: PropType<boolean>;
140
+ default: boolean;
141
+ };
142
+ description: {
143
+ type: PropType<string>;
144
+ default: string;
145
+ };
146
+ closable: {
147
+ type: PropType<boolean>;
148
+ default: boolean;
149
+ };
150
+ }>> & {
151
+ onClose?: ((...args: any[]) => any) | undefined;
152
+ } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
153
+ __isFragment?: undefined;
154
+ __isTeleport?: undefined;
155
+ __isSuspense?: undefined;
156
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
157
+ type: {
158
+ type: PropType<"success" | "error" | "warning" | "info">;
159
+ required: true;
160
+ default: string;
161
+ };
162
+ title: {
163
+ type: PropType<string>;
164
+ required: true;
165
+ default: string;
166
+ };
167
+ variant: {
168
+ type: PropType<"ghost" | "solid" | "outline">;
169
+ default: string;
170
+ };
171
+ block: {
172
+ type: PropType<boolean>;
173
+ default: boolean;
174
+ };
175
+ description: {
176
+ type: PropType<string>;
177
+ default: string;
178
+ };
179
+ closable: {
180
+ type: PropType<boolean>;
181
+ default: boolean;
182
+ };
183
+ }>> & {
184
+ onClose?: ((...args: any[]) => any) | undefined;
185
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
186
+ close: (...args: any[]) => void;
187
+ }, string, {
188
+ type: "success" | "error" | "warning" | "info";
189
+ title: string;
190
+ variant: "ghost" | "solid" | "outline";
191
+ block: boolean;
192
+ description: string;
193
+ closable: boolean;
194
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
195
+ $slots: {
196
+ "alert-icon"?(_: {}): any;
197
+ content?(_: {}): any;
198
+ "custom-close"?(_: {
199
+ close: () => void;
200
+ slotClass: string;
201
+ }): any;
202
+ };
203
+ })>;
204
+ export default AlertStory;
205
+ declare type Story = StoryObj<typeof AlertStory>;
206
+ export declare const Overview: Story;
207
+ export declare const Success: Story;
208
+ export declare const Error: Story;
209
+ export declare const Information: Story;
210
+ export declare const Warning: Story;
211
+ export declare const OnlyTitle: Story;
212
+ export declare const CustomCloseButton: {
213
+ render: (args: any) => {
214
+ components: {
215
+ Alert: {
216
+ new (...args: any[]): {
217
+ $: ComponentInternalInstance;
218
+ $data: {};
219
+ $props: Partial<{
220
+ type: "success" | "error" | "warning" | "info";
221
+ title: string;
222
+ variant: "ghost" | "solid" | "outline";
223
+ block: boolean;
224
+ description: string;
225
+ closable: boolean;
226
+ }> & Omit<{
227
+ readonly type: "success" | "error" | "warning" | "info";
228
+ readonly title: string;
229
+ readonly variant: "ghost" | "solid" | "outline";
230
+ readonly block: boolean;
231
+ readonly description: string;
232
+ readonly closable: boolean;
233
+ onClose?: ((...args: any[]) => any) | undefined;
234
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
235
+ type: {
236
+ type: PropType<"success" | "error" | "warning" | "info">;
237
+ required: true;
238
+ default: string;
239
+ };
240
+ title: {
241
+ type: PropType<string>;
242
+ required: true;
243
+ default: string;
244
+ };
245
+ variant: {
246
+ type: PropType<"ghost" | "solid" | "outline">;
247
+ default: string;
248
+ };
249
+ block: {
250
+ type: PropType<boolean>;
251
+ default: boolean;
252
+ };
253
+ description: {
254
+ type: PropType<string>;
255
+ default: string;
256
+ };
257
+ closable: {
258
+ type: PropType<boolean>;
259
+ default: boolean;
260
+ };
261
+ }>> & {
262
+ onClose?: ((...args: any[]) => any) | undefined;
263
+ }, "type" | "title" | "variant" | "block" | "description" | "closable">;
264
+ $attrs: {
265
+ [x: string]: unknown;
266
+ };
267
+ $refs: {
268
+ [x: string]: unknown;
269
+ };
270
+ $slots: Readonly<{
271
+ [name: string]: Slot<any> | undefined;
272
+ }>;
273
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
274
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
275
+ $emit: (event: "close", ...args: any[]) => void;
276
+ $el: any;
277
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
278
+ type: {
279
+ type: PropType<"success" | "error" | "warning" | "info">;
280
+ required: true;
281
+ default: string;
282
+ };
283
+ title: {
284
+ type: PropType<string>;
285
+ required: true;
286
+ default: string;
287
+ };
288
+ variant: {
289
+ type: PropType<"ghost" | "solid" | "outline">;
290
+ default: string;
291
+ };
292
+ block: {
293
+ type: PropType<boolean>;
294
+ default: boolean;
295
+ };
296
+ description: {
297
+ type: PropType<string>;
298
+ default: string;
299
+ };
300
+ closable: {
301
+ type: PropType<boolean>;
302
+ default: boolean;
303
+ };
304
+ }>> & {
305
+ onClose?: ((...args: any[]) => any) | undefined;
306
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
307
+ close: (...args: any[]) => void;
308
+ }, string, {
309
+ type: "success" | "error" | "warning" | "info";
310
+ title: string;
311
+ variant: "ghost" | "solid" | "outline";
312
+ block: boolean;
313
+ description: string;
314
+ closable: boolean;
315
+ }, {}, string, {}> & {
316
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
317
+ created?: ((() => void) | (() => void)[]) | undefined;
318
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
319
+ mounted?: ((() => void) | (() => void)[]) | undefined;
320
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
321
+ updated?: ((() => void) | (() => void)[]) | undefined;
322
+ activated?: ((() => void) | (() => void)[]) | undefined;
323
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
324
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
325
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
326
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
327
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
328
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
329
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
330
+ errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
331
+ };
332
+ $forceUpdate: () => void;
333
+ $nextTick: typeof nextTick;
334
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
335
+ } & Readonly<ExtractPropTypes<{
336
+ type: {
337
+ type: PropType<"success" | "error" | "warning" | "info">;
338
+ required: true;
339
+ default: string;
340
+ };
341
+ title: {
342
+ type: PropType<string>;
343
+ required: true;
344
+ default: string;
345
+ };
346
+ variant: {
347
+ type: PropType<"ghost" | "solid" | "outline">;
348
+ default: string;
349
+ };
350
+ block: {
351
+ type: PropType<boolean>;
352
+ default: boolean;
353
+ };
354
+ description: {
355
+ type: PropType<string>;
356
+ default: string;
357
+ };
358
+ closable: {
359
+ type: PropType<boolean>;
360
+ default: boolean;
361
+ };
362
+ }>> & {
363
+ onClose?: ((...args: any[]) => any) | undefined;
364
+ } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
365
+ __isFragment?: undefined;
366
+ __isTeleport?: undefined;
367
+ __isSuspense?: undefined;
368
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
369
+ type: {
370
+ type: PropType<"success" | "error" | "warning" | "info">;
371
+ required: true;
372
+ default: string;
373
+ };
374
+ title: {
375
+ type: PropType<string>;
376
+ required: true;
377
+ default: string;
378
+ };
379
+ variant: {
380
+ type: PropType<"ghost" | "solid" | "outline">;
381
+ default: string;
382
+ };
383
+ block: {
384
+ type: PropType<boolean>;
385
+ default: boolean;
386
+ };
387
+ description: {
388
+ type: PropType<string>;
389
+ default: string;
390
+ };
391
+ closable: {
392
+ type: PropType<boolean>;
393
+ default: boolean;
394
+ };
395
+ }>> & {
396
+ onClose?: ((...args: any[]) => any) | undefined;
397
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
398
+ close: (...args: any[]) => void;
399
+ }, string, {
400
+ type: "success" | "error" | "warning" | "info";
401
+ title: string;
402
+ variant: "ghost" | "solid" | "outline";
403
+ block: boolean;
404
+ description: string;
405
+ closable: boolean;
406
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
407
+ $slots: {
408
+ "alert-icon"?(_: {}): any;
409
+ content?(_: {}): any;
410
+ "custom-close"?(_: {
411
+ close: () => void;
412
+ slotClass: string;
413
+ }): any;
414
+ };
415
+ });
416
+ Icon: DefineComponent<{
417
+ name: {
418
+ type: PropType<string | undefined>;
419
+ required: true;
420
+ default: string;
421
+ };
422
+ viewBox: {
423
+ type: PropType<string>;
424
+ default: string;
425
+ };
426
+ size: {
427
+ type: PropType<string | number>;
428
+ default: number;
429
+ };
430
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
431
+ name: {
432
+ type: PropType<string | undefined>;
433
+ required: true;
434
+ default: string;
435
+ };
436
+ viewBox: {
437
+ type: PropType<string>;
438
+ default: string;
439
+ };
440
+ size: {
441
+ type: PropType<string | number>;
442
+ default: number;
443
+ };
444
+ }>>, {
445
+ name: string | undefined;
446
+ viewBox: string;
447
+ size: string | number;
448
+ }, {}>;
449
+ };
450
+ setup: () => {
451
+ args: any;
452
+ };
453
+ template: string;
454
+ };
455
+ args: {
456
+ type: string;
457
+ title: string;
458
+ description: string;
459
+ };
460
+ };
461
+ //# sourceMappingURL=Alert.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/Alert.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AA4BrD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQO,CAAA;AAEvB,eAAe,UAAU,CAAA;AAEzB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAOzB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAA;AAED,eAAO,MAAM,iBAAiB;mBAEb,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBnB,CAAA"}