@rocketui/vue 0.2.75 → 0.2.77

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 (165) hide show
  1. package/dist/design-tokens.source.json +1 -0
  2. package/dist/favicon.ico +0 -0
  3. package/dist/rocket-ui-vue.js +10293 -0
  4. package/dist/rocket-ui-vue.umd.cjs +1 -0
  5. package/dist/src/components/Accordion/Accordion.stories.d.ts +116 -0
  6. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +1 -0
  7. package/dist/src/components/Accordion/RAccordion.vue.d.ts +70 -0
  8. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +1 -0
  9. package/dist/src/components/Accordion/accordion.spec.d.ts +2 -0
  10. package/dist/src/components/Accordion/accordion.spec.d.ts.map +1 -0
  11. package/dist/src/components/Alert/Alert.stories.d.ts +461 -0
  12. package/dist/src/components/Alert/Alert.stories.d.ts.map +1 -0
  13. package/dist/src/components/Alert/RAlert.vue.d.ts +109 -0
  14. package/dist/src/components/Alert/RAlert.vue.d.ts.map +1 -0
  15. package/dist/src/components/Alert/alert.spec.d.ts +2 -0
  16. package/dist/src/components/Alert/alert.spec.d.ts.map +1 -0
  17. package/dist/src/components/Avatar/Avatar.stories.d.ts +68 -0
  18. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +1 -0
  19. package/dist/src/components/Avatar/RAvatar.vue.d.ts +92 -0
  20. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +1 -0
  21. package/dist/src/components/Avatar/avatar.spec.d.ts +2 -0
  22. package/dist/src/components/Avatar/avatar.spec.d.ts.map +1 -0
  23. package/dist/src/components/Badge/Badge.stories.d.ts +281 -0
  24. package/dist/src/components/Badge/Badge.stories.d.ts.map +1 -0
  25. package/dist/src/components/Badge/RBadge.vue.d.ts +143 -0
  26. package/dist/src/components/Badge/RBadge.vue.d.ts.map +1 -0
  27. package/dist/src/components/Badge/badge.spec.d.ts +2 -0
  28. package/dist/src/components/Badge/badge.spec.d.ts.map +1 -0
  29. package/dist/src/components/Box/Box.stories.d.ts +167 -0
  30. package/dist/src/components/Box/Box.stories.d.ts.map +1 -0
  31. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +111 -0
  32. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
  33. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
  34. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
  35. package/dist/src/components/Button/Button.spec.d.ts +2 -0
  36. package/dist/src/components/Button/Button.spec.d.ts.map +1 -0
  37. package/dist/src/components/Button/Button.stories.d.ts +553 -0
  38. package/dist/src/components/Button/Button.stories.d.ts.map +1 -0
  39. package/dist/src/components/Button/RButton.vue.d.ts +155 -0
  40. package/dist/src/components/Button/RButton.vue.d.ts.map +1 -0
  41. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +88 -0
  42. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
  43. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +120 -0
  44. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
  45. package/dist/src/components/Checkbox/checkbox.spec.d.ts +2 -0
  46. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +1 -0
  47. package/dist/src/components/Chips/Chip.stories.d.ts +547 -0
  48. package/dist/src/components/Chips/Chip.stories.d.ts.map +1 -0
  49. package/dist/src/components/Chips/RChip.vue.d.ts +132 -0
  50. package/dist/src/components/Chips/RChip.vue.d.ts.map +1 -0
  51. package/dist/src/components/Chips/chip.spec.d.ts +2 -0
  52. package/dist/src/components/Chips/chip.spec.d.ts.map +1 -0
  53. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +690 -0
  54. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
  55. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +418 -0
  56. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
  57. package/dist/src/components/Dropdown/dropdown.spec.d.ts +2 -0
  58. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +1 -0
  59. package/dist/src/components/Icon/Icon.stories.d.ts +39 -0
  60. package/dist/src/components/Icon/Icon.stories.d.ts.map +1 -0
  61. package/dist/src/components/Icon/RIcon.vue.d.ts +59 -0
  62. package/dist/src/components/Icon/RIcon.vue.d.ts.map +1 -0
  63. package/dist/src/components/Icon/icon.spec.d.ts +2 -0
  64. package/dist/src/components/Icon/icon.spec.d.ts.map +1 -0
  65. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +215 -0
  66. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +1 -0
  67. package/dist/src/components/ItemGroup/RItem.vue.d.ts +65 -0
  68. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +1 -0
  69. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
  70. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
  71. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +2 -0
  72. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +1 -0
  73. package/dist/src/components/Label/Label.stories.d.ts +133 -0
  74. package/dist/src/components/Label/Label.stories.d.ts.map +1 -0
  75. package/dist/src/components/Label/RLabel.vue.d.ts +68 -0
  76. package/dist/src/components/Label/RLabel.vue.d.ts.map +1 -0
  77. package/dist/src/components/Modal/Modal.stories.d.ts +343 -0
  78. package/dist/src/components/Modal/Modal.stories.d.ts.map +1 -0
  79. package/dist/src/components/Modal/RModal.vue.d.ts +183 -0
  80. package/dist/src/components/Modal/RModal.vue.d.ts.map +1 -0
  81. package/dist/src/components/Modal/modal.spec.d.ts +2 -0
  82. package/dist/src/components/Modal/modal.spec.d.ts.map +1 -0
  83. package/dist/src/components/Pagination/Pagination.stories.d.ts +243 -0
  84. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +1 -0
  85. package/dist/src/components/Pagination/RPagination.vue.d.ts +110 -0
  86. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +1 -0
  87. package/dist/src/components/Pagination/pagination.spec.d.ts +2 -0
  88. package/dist/src/components/Pagination/pagination.spec.d.ts.map +1 -0
  89. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +30 -0
  90. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +1 -0
  91. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
  92. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
  93. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +2 -0
  94. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +1 -0
  95. package/dist/src/components/Radio/RRadio.vue.d.ts +66 -0
  96. package/dist/src/components/Radio/RRadio.vue.d.ts.map +1 -0
  97. package/dist/src/components/Radio/Radio.stories.d.ts +100 -0
  98. package/dist/src/components/Radio/Radio.stories.d.ts.map +1 -0
  99. package/dist/src/components/Shared/Enums.d.ts +2 -0
  100. package/dist/src/components/Shared/Enums.d.ts.map +1 -0
  101. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +53 -0
  102. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  103. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +163 -0
  104. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +1 -0
  105. package/dist/src/components/Sidebar/sidebar.spec.d.ts +2 -0
  106. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +1 -0
  107. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +113 -0
  108. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
  109. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +224 -0
  110. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +1 -0
  111. package/dist/src/components/Snackbar/snackbar.spec.d.ts +2 -0
  112. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +1 -0
  113. package/dist/src/components/Switch/RSwitch.vue.d.ts +135 -0
  114. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +1 -0
  115. package/dist/src/components/Switch/Switch.stories.d.ts +102 -0
  116. package/dist/src/components/Switch/Switch.stories.d.ts.map +1 -0
  117. package/dist/src/components/Switch/switch.spec.d.ts +2 -0
  118. package/dist/src/components/Switch/switch.spec.d.ts.map +1 -0
  119. package/dist/src/components/TabItem/RTabItem.vue.d.ts +155 -0
  120. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +1 -0
  121. package/dist/src/components/TabItem/TabItem.spec.d.ts +2 -0
  122. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +1 -0
  123. package/dist/src/components/TabItem/TabItem.stories.d.ts +290 -0
  124. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +1 -0
  125. package/dist/src/components/TabItem/common.d.ts +7 -0
  126. package/dist/src/components/TabItem/common.d.ts.map +1 -0
  127. package/dist/src/components/Tabs/RTabs.vue.d.ts +95 -0
  128. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +1 -0
  129. package/dist/src/components/Tabs/Tabs.spec.d.ts +2 -0
  130. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +1 -0
  131. package/dist/src/components/Tabs/Tabs.stories.d.ts +181 -0
  132. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +1 -0
  133. package/dist/src/components/Tabs/types.d.ts +11 -0
  134. package/dist/src/components/Tabs/types.d.ts.map +1 -0
  135. package/dist/src/components/TextArea/RTextArea.vue.d.ts +120 -0
  136. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +1 -0
  137. package/dist/src/components/TextArea/TextArea.stories.d.ts +89 -0
  138. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +1 -0
  139. package/dist/src/components/TextArea/textarea.spec.d.ts +2 -0
  140. package/dist/src/components/TextArea/textarea.spec.d.ts.map +1 -0
  141. package/dist/src/components/Textfield/RTextfield.vue.d.ts +249 -0
  142. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  143. package/dist/src/components/Textfield/Textfield.stories.d.ts +459 -0
  144. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +1 -0
  145. package/dist/src/components/Textfield/textfield.spec.d.ts +2 -0
  146. package/dist/src/components/Textfield/textfield.spec.d.ts.map +1 -0
  147. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +264 -0
  148. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  149. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +479 -0
  150. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
  151. package/dist/src/components/Tooltip/popper.d.ts +29 -0
  152. package/dist/src/components/Tooltip/popper.d.ts.map +1 -0
  153. package/dist/src/components/Tooltip/tooltip.spec.d.ts +2 -0
  154. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +1 -0
  155. package/dist/src/directives/index.d.ts +5 -0
  156. package/dist/src/directives/index.d.ts.map +1 -0
  157. package/dist/src/lib/main.d.ts +26 -0
  158. package/dist/src/lib/main.d.ts.map +1 -0
  159. package/dist/src/main.d.ts +1 -0
  160. package/dist/src/main.d.ts.map +1 -0
  161. package/dist/src/shims.d.ts +9 -0
  162. package/dist/src/utils/helpers.d.ts +2 -0
  163. package/dist/src/utils/helpers.d.ts.map +1 -0
  164. package/dist/style.css +1 -0
  165. package/package.json +1 -1
@@ -0,0 +1,53 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export interface RSidebarProps {
3
+ modelValue: boolean;
4
+ showTrigger?: boolean;
5
+ class?: string | string[];
6
+ triggerClass?: string | string[];
7
+ wrapperClass?: string | string[];
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RSidebarProps>, {
10
+ modelValue: boolean;
11
+ showTrigger: boolean;
12
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
+ "update:modelValue": (...args: any[]) => void;
14
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RSidebarProps>, {
15
+ modelValue: boolean;
16
+ showTrigger: boolean;
17
+ }>>> & {
18
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
19
+ }, {
20
+ modelValue: boolean;
21
+ showTrigger: boolean;
22
+ }, {}>, {
23
+ default?(_: {
24
+ open: boolean;
25
+ }): any;
26
+ trigger?(_: {
27
+ open: boolean;
28
+ }): any;
29
+ }>;
30
+ export default _default;
31
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
40
+ declare type __VLS_WithDefaults<P, D> = {
41
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
+ default: D[K];
43
+ }> : P[K];
44
+ };
45
+ declare type __VLS_Prettify<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
48
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
53
+ //# sourceMappingURL=RSidebar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/RSidebar.vue"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAA;AAEtB,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,M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, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import type { Meta, StoryObj } from '@storybook/vue3';
3
+ declare const SidebarStory: Meta<{
4
+ new (...args: any[]): {
5
+ $: ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{
8
+ modelValue: boolean;
9
+ showTrigger: boolean;
10
+ }> & Omit<{
11
+ readonly modelValue: boolean;
12
+ readonly showTrigger: boolean;
13
+ readonly class?: string | string[] | undefined;
14
+ readonly triggerClass?: string | string[] | undefined;
15
+ readonly wrapperClass?: string | string[] | undefined;
16
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
18
+ class: {
19
+ type: PropType<string | string[]>;
20
+ };
21
+ triggerClass: {
22
+ type: PropType<string | string[]>;
23
+ };
24
+ modelValue: {
25
+ type: PropType<boolean>;
26
+ required: true;
27
+ default: boolean;
28
+ };
29
+ wrapperClass: {
30
+ type: PropType<string | string[]>;
31
+ };
32
+ showTrigger: {
33
+ type: PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ }>> & {
37
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
+ }, "modelValue" | "showTrigger">;
39
+ $attrs: {
40
+ [x: string]: unknown;
41
+ };
42
+ $refs: {
43
+ [x: string]: unknown;
44
+ };
45
+ $slots: Readonly<{
46
+ [name: string]: Slot<any> | undefined;
47
+ }>;
48
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
49
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
50
+ $emit: (event: "update:modelValue", ...args: any[]) => void;
51
+ $el: any;
52
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
53
+ class: {
54
+ type: PropType<string | string[]>;
55
+ };
56
+ triggerClass: {
57
+ type: PropType<string | string[]>;
58
+ };
59
+ modelValue: {
60
+ type: PropType<boolean>;
61
+ required: true;
62
+ default: boolean;
63
+ };
64
+ wrapperClass: {
65
+ type: PropType<string | string[]>;
66
+ };
67
+ showTrigger: {
68
+ type: PropType<boolean>;
69
+ default: boolean;
70
+ };
71
+ }>> & {
72
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
73
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
74
+ "update:modelValue": (...args: any[]) => void;
75
+ }, string, {
76
+ modelValue: boolean;
77
+ showTrigger: boolean;
78
+ }, {}, string, {}> & {
79
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
80
+ created?: ((() => void) | (() => void)[]) | undefined;
81
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
82
+ mounted?: ((() => void) | (() => void)[]) | undefined;
83
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
84
+ updated?: ((() => void) | (() => void)[]) | undefined;
85
+ activated?: ((() => void) | (() => void)[]) | undefined;
86
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
87
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
88
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
89
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
90
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
91
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
92
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
93
+ 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;
94
+ };
95
+ $forceUpdate: () => void;
96
+ $nextTick: typeof nextTick;
97
+ $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;
98
+ } & Readonly<ExtractPropTypes<{
99
+ class: {
100
+ type: PropType<string | string[]>;
101
+ };
102
+ triggerClass: {
103
+ type: PropType<string | string[]>;
104
+ };
105
+ modelValue: {
106
+ type: PropType<boolean>;
107
+ required: true;
108
+ default: boolean;
109
+ };
110
+ wrapperClass: {
111
+ type: PropType<string | string[]>;
112
+ };
113
+ showTrigger: {
114
+ type: PropType<boolean>;
115
+ default: boolean;
116
+ };
117
+ }>> & {
118
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
119
+ } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
120
+ __isFragment?: undefined;
121
+ __isTeleport?: undefined;
122
+ __isSuspense?: undefined;
123
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
124
+ class: {
125
+ type: PropType<string | string[]>;
126
+ };
127
+ triggerClass: {
128
+ type: PropType<string | string[]>;
129
+ };
130
+ modelValue: {
131
+ type: PropType<boolean>;
132
+ required: true;
133
+ default: boolean;
134
+ };
135
+ wrapperClass: {
136
+ type: PropType<string | string[]>;
137
+ };
138
+ showTrigger: {
139
+ type: PropType<boolean>;
140
+ default: boolean;
141
+ };
142
+ }>> & {
143
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
144
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
145
+ "update:modelValue": (...args: any[]) => void;
146
+ }, string, {
147
+ modelValue: boolean;
148
+ showTrigger: boolean;
149
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
150
+ $slots: {
151
+ default?(_: {
152
+ open: boolean;
153
+ }): any;
154
+ trigger?(_: {
155
+ open: boolean;
156
+ }): any;
157
+ };
158
+ })>;
159
+ export default SidebarStory;
160
+ declare type Story = StoryObj<typeof SidebarStory>;
161
+ export declare const Collapsed: Story;
162
+ export declare const Expanded: Story;
163
+ //# sourceMappingURL=Sidebar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sidebar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Sidebar.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAIrD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmBO,CAAA;AAEzB,eAAe,YAAY,CAAA;AAE3B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA;AAE1C,eAAO,MAAM,SAAS,EAAE,KAAU,CAAA;AAElC,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sidebar.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/sidebar.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,113 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export interface IProps {
3
+ /**
4
+ * Show of the snackbar
5
+ * @type boolean
6
+ * @default false
7
+ * @example
8
+ * <Snackbar show />
9
+ */
10
+ modelValue: boolean;
11
+ /**
12
+ * Text of the snackbar
13
+ * @type string
14
+ * @default ''
15
+ * @example
16
+ * <Snackbar text="Snackbar" />
17
+ */
18
+ text: string;
19
+ /**
20
+ * Show close of the snackbar
21
+ * @type boolean
22
+ * @default false
23
+ * @example
24
+ * <Snackbar closable />
25
+ */
26
+ closable?: boolean;
27
+ /**
28
+ * Set the snackbar slide from left otherwise slide from right
29
+ * @type boolean
30
+ * @default false
31
+ * @example
32
+ * <Snackbar left />
33
+ */
34
+ left?: boolean;
35
+ /**
36
+ * Timeout of the snackbar. <br />
37
+ * If timeout is 0, the snackbar will not close automatically
38
+ * @type number
39
+ * @default 0
40
+ * @example
41
+ * <Snackbar timeout="1000" />
42
+ */
43
+ timeout?: number;
44
+ /**
45
+ * Variant of the snackbar
46
+ * @type 'success' | 'error' | 'warning' | 'info'
47
+ * @default 'info'
48
+ * @example
49
+ * <Snackbar variant="success" />
50
+ */
51
+ variant?: 'success' | 'error' | 'warning' | 'info';
52
+ /**
53
+ * Set the snackbar slide on top otherwise slide on bottom
54
+ * @type boolean
55
+ * @default false
56
+ * @example
57
+ * <Snackbar top />
58
+ */
59
+ top?: boolean;
60
+ }
61
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
62
+ text: string;
63
+ closable: boolean;
64
+ left: boolean;
65
+ modelValue: boolean;
66
+ timeout: number;
67
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
68
+ "update:modelValue": (...args: any[]) => void;
69
+ action: (...args: any[]) => void;
70
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
71
+ text: string;
72
+ closable: boolean;
73
+ left: boolean;
74
+ modelValue: boolean;
75
+ timeout: number;
76
+ }>>> & {
77
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
78
+ onAction?: ((...args: any[]) => any) | undefined;
79
+ }, {
80
+ text: string;
81
+ left: boolean;
82
+ modelValue: boolean;
83
+ closable: boolean;
84
+ timeout: number;
85
+ }, {}>, {
86
+ icon?(_: {}): any;
87
+ default?(_: {}): any;
88
+ close?(_: {}): any;
89
+ }>;
90
+ export default _default;
91
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
92
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
93
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
94
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
95
+ } : {
96
+ type: PropType<T[K]>;
97
+ required: true;
98
+ };
99
+ };
100
+ declare type __VLS_WithDefaults<P, D> = {
101
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
102
+ default: D[K];
103
+ }> : P[K];
104
+ };
105
+ declare type __VLS_Prettify<T> = {
106
+ [K in keyof T]: T[K];
107
+ } & {};
108
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
109
+ new (): {
110
+ $slots: S;
111
+ };
112
+ };
113
+ //# sourceMappingURL=RSnackbar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RSnackbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Snackbar/RSnackbar.vue"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,CAAA;AAEvB,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,UAAU,EAAE,OAAO,CAAA;IACnB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,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Types, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import type { Meta, StoryObj } from '@storybook/vue3';
3
+ declare const SnackbarStory: Meta<{
4
+ new (...args: any[]): {
5
+ $: ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{
8
+ text: string;
9
+ left: boolean;
10
+ modelValue: boolean;
11
+ closable: boolean;
12
+ timeout: number;
13
+ }> & Omit<{
14
+ readonly text: string;
15
+ readonly left: boolean;
16
+ readonly modelValue: boolean;
17
+ readonly closable: boolean;
18
+ readonly timeout: number;
19
+ readonly variant?: "success" | "error" | "warning" | "info" | undefined;
20
+ readonly top?: boolean | undefined;
21
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ onAction?: ((...args: any[]) => any) | undefined;
23
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
24
+ text: {
25
+ type: PropType<string>;
26
+ required: true;
27
+ default: string;
28
+ };
29
+ variant: {
30
+ type: PropType<"success" | "error" | "warning" | "info">;
31
+ };
32
+ top: {
33
+ type: PropType<boolean>;
34
+ };
35
+ left: {
36
+ type: PropType<boolean>;
37
+ default: boolean;
38
+ };
39
+ modelValue: {
40
+ type: PropType<boolean>;
41
+ required: true;
42
+ default: boolean;
43
+ };
44
+ closable: {
45
+ type: PropType<boolean>;
46
+ default: boolean;
47
+ };
48
+ timeout: {
49
+ type: PropType<number>;
50
+ default: number;
51
+ };
52
+ }>> & {
53
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
54
+ onAction?: ((...args: any[]) => any) | undefined;
55
+ }, "text" | "left" | "modelValue" | "closable" | "timeout">;
56
+ $attrs: {
57
+ [x: string]: unknown;
58
+ };
59
+ $refs: {
60
+ [x: string]: unknown;
61
+ };
62
+ $slots: Readonly<{
63
+ [name: string]: Slot<any> | undefined;
64
+ }>;
65
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
66
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
67
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "action", ...args: any[]) => void);
68
+ $el: any;
69
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
70
+ text: {
71
+ type: PropType<string>;
72
+ required: true;
73
+ default: string;
74
+ };
75
+ variant: {
76
+ type: PropType<"success" | "error" | "warning" | "info">;
77
+ };
78
+ top: {
79
+ type: PropType<boolean>;
80
+ };
81
+ left: {
82
+ type: PropType<boolean>;
83
+ default: boolean;
84
+ };
85
+ modelValue: {
86
+ type: PropType<boolean>;
87
+ required: true;
88
+ default: boolean;
89
+ };
90
+ closable: {
91
+ type: PropType<boolean>;
92
+ default: boolean;
93
+ };
94
+ timeout: {
95
+ type: PropType<number>;
96
+ default: number;
97
+ };
98
+ }>> & {
99
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
100
+ onAction?: ((...args: any[]) => any) | undefined;
101
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
102
+ "update:modelValue": (...args: any[]) => void;
103
+ action: (...args: any[]) => void;
104
+ }, string, {
105
+ text: string;
106
+ left: boolean;
107
+ modelValue: boolean;
108
+ closable: boolean;
109
+ timeout: number;
110
+ }, {}, string, {}> & {
111
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
112
+ created?: ((() => void) | (() => void)[]) | undefined;
113
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
114
+ mounted?: ((() => void) | (() => void)[]) | undefined;
115
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
116
+ updated?: ((() => void) | (() => void)[]) | undefined;
117
+ activated?: ((() => void) | (() => void)[]) | undefined;
118
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
119
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
120
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
121
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
122
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
123
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
124
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
125
+ 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;
126
+ };
127
+ $forceUpdate: () => void;
128
+ $nextTick: typeof nextTick;
129
+ $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;
130
+ } & Readonly<ExtractPropTypes<{
131
+ text: {
132
+ type: PropType<string>;
133
+ required: true;
134
+ default: string;
135
+ };
136
+ variant: {
137
+ type: PropType<"success" | "error" | "warning" | "info">;
138
+ };
139
+ top: {
140
+ type: PropType<boolean>;
141
+ };
142
+ left: {
143
+ type: PropType<boolean>;
144
+ default: boolean;
145
+ };
146
+ modelValue: {
147
+ type: PropType<boolean>;
148
+ required: true;
149
+ default: boolean;
150
+ };
151
+ closable: {
152
+ type: PropType<boolean>;
153
+ default: boolean;
154
+ };
155
+ timeout: {
156
+ type: PropType<number>;
157
+ default: number;
158
+ };
159
+ }>> & {
160
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
161
+ onAction?: ((...args: any[]) => any) | undefined;
162
+ } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
163
+ __isFragment?: undefined;
164
+ __isTeleport?: undefined;
165
+ __isSuspense?: undefined;
166
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
167
+ text: {
168
+ type: PropType<string>;
169
+ required: true;
170
+ default: string;
171
+ };
172
+ variant: {
173
+ type: PropType<"success" | "error" | "warning" | "info">;
174
+ };
175
+ top: {
176
+ type: PropType<boolean>;
177
+ };
178
+ left: {
179
+ type: PropType<boolean>;
180
+ default: boolean;
181
+ };
182
+ modelValue: {
183
+ type: PropType<boolean>;
184
+ required: true;
185
+ default: boolean;
186
+ };
187
+ closable: {
188
+ type: PropType<boolean>;
189
+ default: boolean;
190
+ };
191
+ timeout: {
192
+ type: PropType<number>;
193
+ default: number;
194
+ };
195
+ }>> & {
196
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
197
+ onAction?: ((...args: any[]) => any) | undefined;
198
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
199
+ "update:modelValue": (...args: any[]) => void;
200
+ action: (...args: any[]) => void;
201
+ }, string, {
202
+ text: string;
203
+ left: boolean;
204
+ modelValue: boolean;
205
+ closable: boolean;
206
+ timeout: number;
207
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
208
+ $slots: {
209
+ icon?(_: {}): any;
210
+ default?(_: {}): any;
211
+ close?(_: {}): any;
212
+ };
213
+ })>;
214
+ export default SnackbarStory;
215
+ declare type Story = StoryObj<typeof SnackbarStory>;
216
+ export declare const Overview: Story;
217
+ export declare const OnlyText: Story;
218
+ export declare const WithAction: Story;
219
+ export declare const WithCloseButton: Story;
220
+ export declare const LongText: Story;
221
+ export declare const LongTextWithAction: Story;
222
+ export declare const LongTextWithCloseButton: Story;
223
+ export declare const WithTimeout: Story;
224
+ //# sourceMappingURL=Snackbar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Snackbar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Snackbar/Snackbar.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAoBrD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAWO,CAAA;AAE1B,eAAe,aAAa,CAAA;AAE5B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAA;AAE3C,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAA;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAA;AAEjC,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAK7B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAIhC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,KAKrC,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=snackbar.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snackbar.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Snackbar/snackbar.spec.ts"],"names":[],"mappings":""}