@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
@@ -1,113 +0,0 @@
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
- default?(_: {}): any;
87
- action?(_: {}): 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
@@ -1 +0,0 @@
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,GAAG,MAAM,CAAA;IAElD;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;CACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8LD,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,224 +0,0 @@
1
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, 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" | "warning" | "info" | "error" | 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" | "warning" | "info" | "error">;
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" | "warning" | "info" | "error">;
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" | "warning" | "info" | "error">;
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" | "warning" | "info" | "error">;
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
- default?(_: {}): any;
210
- action?(_: {}): 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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=snackbar.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"snackbar.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Snackbar/snackbar.spec.ts"],"names":[],"mappings":""}
@@ -1,127 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, type HTMLAttributes, type InputHTMLAttributes, type LabelHTMLAttributes } from 'vue';
2
- export interface Props {
3
- /**
4
- * id of the checkbox
5
- * @type {HTMLAttributes['id']}
6
- * @default ''
7
- * @example
8
- * <Checkbox id="checkbox" />
9
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
- */
11
- id: HTMLAttributes['id'];
12
- /**
13
- * Input checked state
14
- * @type InputHTMLAttributes['checked']
15
- * @default false
16
- * @example
17
- * <Checkbox modelValue="true" />
18
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked
19
- */
20
- modelValue?: InputHTMLAttributes['checked'];
21
- /**
22
- * Input disabled state
23
- * @type InputHTMLAttributes['disabled']
24
- * @default false
25
- * @example
26
- * <Checkbox disabled="true" />
27
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#disabled
28
- */
29
- disabled?: InputHTMLAttributes['disabled'];
30
- /**
31
- * label of the checkbox
32
- * @type LabelHTMLAttributes['label']
33
- * @default ''
34
- * @example
35
- * <Checkbox label="Checkbox" />
36
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
37
- */
38
- label?: LabelHTMLAttributes['for'];
39
- /**
40
- * Hint text
41
- * @type string
42
- * @default ''
43
- * @example
44
- * <Checkbox hint="This is a hint" />
45
- */
46
- hint?: string;
47
- /**
48
- * Error message
49
- * @type string
50
- * @default ''
51
- * @example
52
- * <Checkbox errorMsg="This is an error" />
53
- */
54
- errorMsg?: string;
55
- /**
56
- * Size of the checkbox
57
- * @type 'small' | 'medium' | 'large'
58
- * @default 'medium'
59
- * @example
60
- * <Checkbox size="small" />
61
- */
62
- size?: 'small' | 'medium' | 'large';
63
- /**
64
- * Hide the hint and error message
65
- * @type {boolean}
66
- * @default false
67
- * @example
68
- * <Checkbox hideDetails />
69
- */
70
- hideDetails?: boolean;
71
- /**
72
- * Reverse the order of the checkbox and the label
73
- * @type {boolean}
74
- * @default false
75
- * @example
76
- * <Checkbox reverse />
77
- */
78
- reverse?: boolean;
79
- }
80
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
81
- id: string;
82
- modelValue: boolean;
83
- size: string;
84
- disabled: boolean;
85
- label: string;
86
- hint: string;
87
- errorMsg: string;
88
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
89
- "update:modelValue": (...args: any[]) => void;
90
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
91
- id: string;
92
- modelValue: boolean;
93
- size: string;
94
- disabled: boolean;
95
- label: string;
96
- hint: string;
97
- errorMsg: string;
98
- }>>> & {
99
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
100
- }, {
101
- size: "small" | "medium" | "large";
102
- label: string;
103
- disabled: boolean | "true" | "false";
104
- id: string | undefined;
105
- modelValue: any[] | Set<any> | (boolean | "true" | "false");
106
- errorMsg: string;
107
- hint: string;
108
- }, {}>;
109
- export default _default;
110
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
- declare type __VLS_TypePropsToRuntimeProps<T> = {
112
- [K in keyof T]-?: {} extends Pick<T, K> ? {
113
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
114
- } : {
115
- type: PropType<T[K]>;
116
- required: true;
117
- };
118
- };
119
- declare type __VLS_WithDefaults<P, D> = {
120
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
121
- default: D[K];
122
- }> : P[K];
123
- };
124
- declare type __VLS_Prettify<T> = {
125
- [K in keyof T]: T[K];
126
- } & {};
127
- //# sourceMappingURL=RSwitch.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/RSwitch.vue"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAIzB,MAAM,KAAK,CAAA;AACZ,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAExB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAA;IAE3C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAA;IAE1C;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAElC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAEnC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiMD,wBAOG;AAGH,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,96 +0,0 @@
1
- import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { Meta, StoryObj } from '@storybook/vue3';
3
- declare const SwitchStory: Meta<DefineComponent<{
4
- size: {
5
- type: PropType<"small" | "medium" | "large">;
6
- default: string;
7
- };
8
- reverse: {
9
- type: PropType<boolean>;
10
- };
11
- label: {
12
- type: PropType<string>;
13
- default: string;
14
- };
15
- disabled: {
16
- type: PropType<boolean | "true" | "false">;
17
- default: boolean;
18
- };
19
- id: {
20
- type: PropType<string | undefined>;
21
- required: true;
22
- default: string;
23
- };
24
- modelValue: {
25
- type: PropType<any[] | Set<any> | (boolean | "true" | "false")>;
26
- default: boolean;
27
- };
28
- errorMsg: {
29
- type: PropType<string>;
30
- default: string;
31
- };
32
- hideDetails: {
33
- type: PropType<boolean>;
34
- };
35
- hint: {
36
- type: PropType<string>;
37
- default: string;
38
- };
39
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
40
- "update:modelValue": (...args: any[]) => void;
41
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
42
- size: {
43
- type: PropType<"small" | "medium" | "large">;
44
- default: string;
45
- };
46
- reverse: {
47
- type: PropType<boolean>;
48
- };
49
- label: {
50
- type: PropType<string>;
51
- default: string;
52
- };
53
- disabled: {
54
- type: PropType<boolean | "true" | "false">;
55
- default: boolean;
56
- };
57
- id: {
58
- type: PropType<string | undefined>;
59
- required: true;
60
- default: string;
61
- };
62
- modelValue: {
63
- type: PropType<any[] | Set<any> | (boolean | "true" | "false")>;
64
- default: boolean;
65
- };
66
- errorMsg: {
67
- type: PropType<string>;
68
- default: string;
69
- };
70
- hideDetails: {
71
- type: PropType<boolean>;
72
- };
73
- hint: {
74
- type: PropType<string>;
75
- default: string;
76
- };
77
- }>> & {
78
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
79
- }, {
80
- size: "small" | "medium" | "large";
81
- label: string;
82
- disabled: boolean | "true" | "false";
83
- id: string | undefined;
84
- modelValue: any[] | Set<any> | (boolean | "true" | "false");
85
- errorMsg: string;
86
- hint: string;
87
- }, {}>>;
88
- export default SwitchStory;
89
- declare type Story = StoryObj<typeof SwitchStory>;
90
- export declare const Overview: Story;
91
- export declare const Small: Story;
92
- export declare const Medium: Story;
93
- export declare const Large: Story;
94
- export declare const WithError: Story;
95
- export declare const Reverse: Story;
96
- //# sourceMappingURL=Switch.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Switch.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/Switch.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAsBrD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgBO,CAAA;AAExB,eAAe,WAAW,CAAA;AAE1B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEzC,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=switch.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"switch.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/switch.spec.ts"],"names":[],"mappings":""}