@rocketui/vue 0.0.102 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/dist/rocket-ui-vue.d.ts +2899 -0
  2. package/package.json +1 -1
  3. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -79
  4. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  5. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -41
  6. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  7. package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
  8. package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
  9. package/dist/src/components/Alert/Alert.stories.d.ts +0 -455
  10. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  11. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -105
  12. package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
  13. package/dist/src/components/Alert/alert.spec.d.ts +0 -2
  14. package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
  15. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
  16. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
  17. package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
  18. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  19. package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
  20. package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
  21. package/dist/src/components/Badge/Badge.stories.d.ts +0 -220
  22. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  23. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -109
  24. package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
  25. package/dist/src/components/Badge/badge.spec.d.ts +0 -2
  26. package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
  27. package/dist/src/components/Box/Box.stories.d.ts +0 -167
  28. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  29. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
  30. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  31. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  32. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  33. package/dist/src/components/Button/Button.spec.d.ts +0 -2
  34. package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
  35. package/dist/src/components/Button/Button.stories.d.ts +0 -541
  36. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  37. package/dist/src/components/Button/RButton.vue.d.ts +0 -149
  38. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  39. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
  40. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  41. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  42. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  43. package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
  44. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
  45. package/dist/src/components/Chips/Chip.stories.d.ts +0 -499
  46. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  47. package/dist/src/components/Chips/RChip.vue.d.ts +0 -117
  48. package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
  49. package/dist/src/components/Chips/chip.spec.d.ts +0 -2
  50. package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
  51. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -439
  52. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  53. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -263
  54. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  55. package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
  56. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
  57. package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
  58. package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
  59. package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
  60. package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
  61. package/dist/src/components/Icon/icon.spec.d.ts +0 -2
  62. package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
  63. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
  64. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  65. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -75
  66. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  67. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  68. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  69. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
  70. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
  71. package/dist/src/components/Label/Label.stories.d.ts +0 -133
  72. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  73. package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
  74. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  75. package/dist/src/components/Modal/Modal.stories.d.ts +0 -253
  76. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  77. package/dist/src/components/Modal/RModal.vue.d.ts +0 -139
  78. package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
  79. package/dist/src/components/Modal/modal.spec.d.ts +0 -2
  80. package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
  81. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -207
  82. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  83. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -62
  84. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
  85. package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
  86. package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
  87. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
  88. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
  89. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  90. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  91. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
  92. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
  93. package/dist/src/components/Shared/Enums.d.ts +0 -2
  94. package/dist/src/components/Shared/Enums.d.ts.map +0 -1
  95. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -49
  96. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  97. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -159
  98. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
  99. package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
  100. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
  101. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  102. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  103. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
  104. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
  105. package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
  106. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
  107. package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -127
  108. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  109. package/dist/src/components/Switch/Switch.stories.d.ts +0 -96
  110. package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
  111. package/dist/src/components/Switch/switch.spec.d.ts +0 -2
  112. package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
  113. package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -148
  114. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  115. package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
  116. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
  117. package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -288
  118. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
  119. package/dist/src/components/TabItem/common.d.ts +0 -7
  120. package/dist/src/components/TabItem/common.d.ts.map +0 -1
  121. package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -95
  122. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
  123. package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
  124. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
  125. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -186
  126. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  127. package/dist/src/components/Tabs/types.d.ts +0 -11
  128. package/dist/src/components/Tabs/types.d.ts.map +0 -1
  129. package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -120
  130. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  131. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
  132. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
  133. package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
  134. package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
  135. package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -226
  136. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  137. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -424
  138. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
  139. package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
  140. package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
  141. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -252
  142. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  143. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -458
  144. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  145. package/dist/src/components/Tooltip/popper.d.ts +0 -29
  146. package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
  147. package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
  148. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
  149. package/dist/src/directives/index.d.ts +0 -5
  150. package/dist/src/directives/index.d.ts.map +0 -1
  151. package/dist/src/lib/main.d.ts +0 -25
  152. package/dist/src/lib/main.d.ts.map +0 -1
  153. package/dist/src/main.d.ts +0 -1
  154. package/dist/src/main.d.ts.map +0 -1
  155. package/dist/src/shims.d.ts +0 -9
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rocketui/vue",
3
3
  "type": "module",
4
- "version": "0.0.102",
4
+ "version": "0.1.0",
5
5
  "packageManager": "yarn@4.0.1",
6
6
  "description": "A set of customizable UI components for Vue 3, built with TypeScript",
7
7
  "homepage": "https://teknasyon.github.io/rocket-ui/",
@@ -1,79 +0,0 @@
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
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
11
- accordions: {
12
- type: PropType<Accordion[]>;
13
- required: true;
14
- };
15
- }>>, never>;
16
- $attrs: {
17
- [x: string]: unknown;
18
- };
19
- $refs: {
20
- [x: string]: unknown;
21
- };
22
- $slots: Readonly<{
23
- [name: string]: Slot<any> | undefined;
24
- }>;
25
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
26
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
27
- $emit: (event: string, ...args: any[]) => void;
28
- $el: any;
29
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
30
- accordions: {
31
- type: PropType<Accordion[]>;
32
- required: true;
33
- };
34
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
35
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
36
- created?: ((() => void) | (() => void)[]) | undefined;
37
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
38
- mounted?: ((() => void) | (() => void)[]) | undefined;
39
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
40
- updated?: ((() => void) | (() => void)[]) | undefined;
41
- activated?: ((() => void) | (() => void)[]) | undefined;
42
- deactivated?: ((() => void) | (() => void)[]) | undefined;
43
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
44
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
45
- destroyed?: ((() => void) | (() => void)[]) | undefined;
46
- unmounted?: ((() => void) | (() => void)[]) | undefined;
47
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
48
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
49
- 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;
50
- };
51
- $forceUpdate: () => void;
52
- $nextTick: typeof nextTick;
53
- $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;
54
- } & Readonly<ExtractPropTypes<{
55
- accordions: {
56
- type: PropType<Accordion[]>;
57
- required: true;
58
- };
59
- }>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
60
- __isFragment?: undefined;
61
- __isTeleport?: undefined;
62
- __isSuspense?: undefined;
63
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
64
- accordions: {
65
- type: PropType<Accordion[]>;
66
- required: true;
67
- };
68
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
69
- $slots: {
70
- title?(_: {}): any;
71
- content?(_: {}): any;
72
- };
73
- })>;
74
- export default AccordionStory;
75
- declare type Story = StoryObj<typeof AccordionStory>;
76
- export declare const Overview: Story;
77
- export declare const SingleCollapse: Story;
78
- export declare const Accordion1: Story;
79
- //# sourceMappingURL=Accordion.stories.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,41 +0,0 @@
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
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<AccordionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionProps>>>, {}, {}>, {
23
- title?(_: {}): any;
24
- content?(_: {}): any;
25
- }>;
26
- export default _default;
27
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- declare type __VLS_TypePropsToRuntimeProps<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: PropType<T[K]>;
33
- required: true;
34
- };
35
- };
36
- declare type __VLS_WithTemplateSlots<T, S> = T & {
37
- new (): {
38
- $slots: S;
39
- };
40
- };
41
- //# sourceMappingURL=RAccordion.vue.d.ts.map
@@ -1 +0,0 @@
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;CACxB;;;;;AAwKD,wBAAwG;AAGxG,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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=accordion.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accordion.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/accordion.spec.ts"],"names":[],"mappings":""}
@@ -1,455 +0,0 @@
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" | "warning" | "info" | "error";
9
- title: string;
10
- variant: "outline" | "ghost" | "solid";
11
- block: boolean;
12
- description: string;
13
- closable: boolean;
14
- }> & Omit<{
15
- readonly type: "success" | "warning" | "info" | "error";
16
- readonly title: string;
17
- readonly variant: "outline" | "ghost" | "solid";
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" | "warning" | "info" | "error">;
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<"outline" | "ghost" | "solid">;
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" | "warning" | "info" | "error">;
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<"outline" | "ghost" | "solid">;
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" | "warning" | "info" | "error";
98
- title: string;
99
- variant: "outline" | "ghost" | "solid";
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" | "warning" | "info" | "error">;
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<"outline" | "ghost" | "solid">;
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" | "warning" | "info" | "error">;
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<"outline" | "ghost" | "solid">;
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" | "warning" | "info" | "error";
189
- title: string;
190
- variant: "outline" | "ghost" | "solid";
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"?(_: {}): any;
199
- };
200
- })>;
201
- export default AlertStory;
202
- declare type Story = StoryObj<typeof AlertStory>;
203
- export declare const Overview: Story;
204
- export declare const Success: Story;
205
- export declare const Error: Story;
206
- export declare const Information: Story;
207
- export declare const Warning: Story;
208
- export declare const OnlyTitle: Story;
209
- export declare const CustomCloseButton: {
210
- render: (args: any) => {
211
- components: {
212
- Alert: {
213
- new (...args: any[]): {
214
- $: ComponentInternalInstance;
215
- $data: {};
216
- $props: Partial<{
217
- type: "success" | "warning" | "info" | "error";
218
- title: string;
219
- variant: "outline" | "ghost" | "solid";
220
- block: boolean;
221
- description: string;
222
- closable: boolean;
223
- }> & Omit<{
224
- readonly type: "success" | "warning" | "info" | "error";
225
- readonly title: string;
226
- readonly variant: "outline" | "ghost" | "solid";
227
- readonly block: boolean;
228
- readonly description: string;
229
- readonly closable: boolean;
230
- onClose?: ((...args: any[]) => any) | undefined;
231
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
232
- type: {
233
- type: PropType<"success" | "warning" | "info" | "error">;
234
- required: true;
235
- default: string;
236
- };
237
- title: {
238
- type: PropType<string>;
239
- required: true;
240
- default: string;
241
- };
242
- variant: {
243
- type: PropType<"outline" | "ghost" | "solid">;
244
- default: string;
245
- };
246
- block: {
247
- type: PropType<boolean>;
248
- default: boolean;
249
- };
250
- description: {
251
- type: PropType<string>;
252
- default: string;
253
- };
254
- closable: {
255
- type: PropType<boolean>;
256
- default: boolean;
257
- };
258
- }>> & {
259
- onClose?: ((...args: any[]) => any) | undefined;
260
- }, "type" | "title" | "variant" | "block" | "description" | "closable">;
261
- $attrs: {
262
- [x: string]: unknown;
263
- };
264
- $refs: {
265
- [x: string]: unknown;
266
- };
267
- $slots: Readonly<{
268
- [name: string]: Slot<any> | undefined;
269
- }>;
270
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
271
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
272
- $emit: (event: "close", ...args: any[]) => void;
273
- $el: any;
274
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
275
- type: {
276
- type: PropType<"success" | "warning" | "info" | "error">;
277
- required: true;
278
- default: string;
279
- };
280
- title: {
281
- type: PropType<string>;
282
- required: true;
283
- default: string;
284
- };
285
- variant: {
286
- type: PropType<"outline" | "ghost" | "solid">;
287
- default: string;
288
- };
289
- block: {
290
- type: PropType<boolean>;
291
- default: boolean;
292
- };
293
- description: {
294
- type: PropType<string>;
295
- default: string;
296
- };
297
- closable: {
298
- type: PropType<boolean>;
299
- default: boolean;
300
- };
301
- }>> & {
302
- onClose?: ((...args: any[]) => any) | undefined;
303
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
304
- close: (...args: any[]) => void;
305
- }, string, {
306
- type: "success" | "warning" | "info" | "error";
307
- title: string;
308
- variant: "outline" | "ghost" | "solid";
309
- block: boolean;
310
- description: string;
311
- closable: boolean;
312
- }, {}, string, {}> & {
313
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
314
- created?: ((() => void) | (() => void)[]) | undefined;
315
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
316
- mounted?: ((() => void) | (() => void)[]) | undefined;
317
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
318
- updated?: ((() => void) | (() => void)[]) | undefined;
319
- activated?: ((() => void) | (() => void)[]) | undefined;
320
- deactivated?: ((() => void) | (() => void)[]) | undefined;
321
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
322
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
323
- destroyed?: ((() => void) | (() => void)[]) | undefined;
324
- unmounted?: ((() => void) | (() => void)[]) | undefined;
325
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
326
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
327
- 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;
328
- };
329
- $forceUpdate: () => void;
330
- $nextTick: typeof nextTick;
331
- $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;
332
- } & Readonly<ExtractPropTypes<{
333
- type: {
334
- type: PropType<"success" | "warning" | "info" | "error">;
335
- required: true;
336
- default: string;
337
- };
338
- title: {
339
- type: PropType<string>;
340
- required: true;
341
- default: string;
342
- };
343
- variant: {
344
- type: PropType<"outline" | "ghost" | "solid">;
345
- default: string;
346
- };
347
- block: {
348
- type: PropType<boolean>;
349
- default: boolean;
350
- };
351
- description: {
352
- type: PropType<string>;
353
- default: string;
354
- };
355
- closable: {
356
- type: PropType<boolean>;
357
- default: boolean;
358
- };
359
- }>> & {
360
- onClose?: ((...args: any[]) => any) | undefined;
361
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
362
- __isFragment?: undefined;
363
- __isTeleport?: undefined;
364
- __isSuspense?: undefined;
365
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
366
- type: {
367
- type: PropType<"success" | "warning" | "info" | "error">;
368
- required: true;
369
- default: string;
370
- };
371
- title: {
372
- type: PropType<string>;
373
- required: true;
374
- default: string;
375
- };
376
- variant: {
377
- type: PropType<"outline" | "ghost" | "solid">;
378
- default: string;
379
- };
380
- block: {
381
- type: PropType<boolean>;
382
- default: boolean;
383
- };
384
- description: {
385
- type: PropType<string>;
386
- default: string;
387
- };
388
- closable: {
389
- type: PropType<boolean>;
390
- default: boolean;
391
- };
392
- }>> & {
393
- onClose?: ((...args: any[]) => any) | undefined;
394
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
395
- close: (...args: any[]) => void;
396
- }, string, {
397
- type: "success" | "warning" | "info" | "error";
398
- title: string;
399
- variant: "outline" | "ghost" | "solid";
400
- block: boolean;
401
- description: string;
402
- closable: boolean;
403
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
404
- $slots: {
405
- "alert-icon"?(_: {}): any;
406
- content?(_: {}): any;
407
- "custom-close"?(_: {}): any;
408
- };
409
- });
410
- Icon: DefineComponent<{
411
- name: {
412
- type: PropType<string | undefined>;
413
- required: true;
414
- default: string;
415
- };
416
- viewBox: {
417
- type: PropType<string>;
418
- default: string;
419
- };
420
- size: {
421
- type: PropType<string | number>;
422
- default: number;
423
- };
424
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
425
- name: {
426
- type: PropType<string | undefined>;
427
- required: true;
428
- default: string;
429
- };
430
- viewBox: {
431
- type: PropType<string>;
432
- default: string;
433
- };
434
- size: {
435
- type: PropType<string | number>;
436
- default: number;
437
- };
438
- }>>, {
439
- name: string | undefined;
440
- viewBox: string;
441
- size: string | number;
442
- }, {}>;
443
- };
444
- setup: () => {
445
- args: any;
446
- };
447
- template: string;
448
- };
449
- args: {
450
- type: string;
451
- title: string;
452
- description: string;
453
- };
454
- };
455
- //# sourceMappingURL=Alert.stories.d.ts.map
@@ -1 +0,0 @@
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"}