@rocketui/vue 0.0.90 → 0.0.91

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