@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,133 +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 LabelStory: Meta<{
4
- new (...args: any[]): {
5
- $: ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{
8
- text: string | number;
9
- id: string | undefined;
10
- for: string | undefined;
11
- }> & Omit<{
12
- readonly text: string | number;
13
- readonly id: string | undefined;
14
- readonly for: string | undefined;
15
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
16
- text: {
17
- type: PropType<string | number>;
18
- required: true;
19
- default: string;
20
- };
21
- id: {
22
- type: PropType<string | undefined>;
23
- required: true;
24
- default: string;
25
- };
26
- for: {
27
- type: PropType<string | undefined>;
28
- required: true;
29
- default: string;
30
- };
31
- }>>, "text" | "id" | "for">;
32
- $attrs: {
33
- [x: string]: unknown;
34
- };
35
- $refs: {
36
- [x: string]: unknown;
37
- };
38
- $slots: Readonly<{
39
- [name: string]: Slot<any> | undefined;
40
- }>;
41
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
42
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
43
- $emit: (event: string, ...args: any[]) => void;
44
- $el: any;
45
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
46
- text: {
47
- type: PropType<string | number>;
48
- required: true;
49
- default: string;
50
- };
51
- id: {
52
- type: PropType<string | undefined>;
53
- required: true;
54
- default: string;
55
- };
56
- for: {
57
- type: PropType<string | undefined>;
58
- required: true;
59
- default: string;
60
- };
61
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
62
- text: string | number;
63
- id: string | undefined;
64
- for: string | undefined;
65
- }, {}, string, {}> & {
66
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
67
- created?: ((() => void) | (() => void)[]) | undefined;
68
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
69
- mounted?: ((() => void) | (() => void)[]) | undefined;
70
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
71
- updated?: ((() => void) | (() => void)[]) | undefined;
72
- activated?: ((() => void) | (() => void)[]) | undefined;
73
- deactivated?: ((() => void) | (() => void)[]) | undefined;
74
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
75
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
76
- destroyed?: ((() => void) | (() => void)[]) | undefined;
77
- unmounted?: ((() => void) | (() => void)[]) | undefined;
78
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
79
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
80
- 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;
81
- };
82
- $forceUpdate: () => void;
83
- $nextTick: typeof nextTick;
84
- $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;
85
- } & Readonly<ExtractPropTypes<{
86
- text: {
87
- type: PropType<string | number>;
88
- required: true;
89
- default: string;
90
- };
91
- id: {
92
- type: PropType<string | undefined>;
93
- required: true;
94
- default: string;
95
- };
96
- for: {
97
- type: PropType<string | undefined>;
98
- required: true;
99
- default: string;
100
- };
101
- }>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
102
- __isFragment?: undefined;
103
- __isTeleport?: undefined;
104
- __isSuspense?: undefined;
105
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
106
- text: {
107
- type: PropType<string | number>;
108
- required: true;
109
- default: string;
110
- };
111
- id: {
112
- type: PropType<string | undefined>;
113
- required: true;
114
- default: string;
115
- };
116
- for: {
117
- type: PropType<string | undefined>;
118
- required: true;
119
- default: string;
120
- };
121
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
122
- text: string | number;
123
- id: string | undefined;
124
- for: string | undefined;
125
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
126
- $slots: {
127
- default?(_: {}): any;
128
- };
129
- })>;
130
- export default LabelStory;
131
- declare type Story = StoryObj<typeof LabelStory>;
132
- export declare const Overview: Story;
133
- //# sourceMappingURL=Label.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Label/Label.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAIrD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqBO,CAAA;AAEvB,eAAe,UAAU,CAAA;AAEzB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA"}
@@ -1,68 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, HTMLAttributes, LabelHTMLAttributes } from 'vue';
2
- export interface LabelProps {
3
- /**
4
- * id of the label
5
- * @type HTMLAttributes['id']
6
- * @default ''
7
- * @example
8
- * <Label id="label" />
9
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
- */
11
- id: HTMLAttributes['id'];
12
- /**
13
- * for of the label
14
- * @type LabelHTMLAttributes['for']
15
- * @default ''
16
- * @example
17
- * <Label for="label" />
18
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
19
- */
20
- for: LabelHTMLAttributes['for'];
21
- /**
22
- * text of the label
23
- * @type string | number
24
- * @default ''
25
- * @example
26
- * <Label text="Label" />
27
- */
28
- text: string | number;
29
- }
30
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LabelProps>, {
31
- id: string;
32
- for: string;
33
- text: string;
34
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LabelProps>, {
35
- id: string;
36
- for: string;
37
- text: string;
38
- }>>>, {
39
- text: string | number;
40
- id: string | undefined;
41
- for: string | undefined;
42
- }, {}>, {
43
- default?(_: {}): any;
44
- }>;
45
- export default _default;
46
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
- declare type __VLS_TypePropsToRuntimeProps<T> = {
48
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
50
- } : {
51
- type: PropType<T[K]>;
52
- required: true;
53
- };
54
- };
55
- declare type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- declare type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
- declare type __VLS_WithTemplateSlots<T, S> = T & {
64
- new (): {
65
- $slots: S;
66
- };
67
- };
68
- //# sourceMappingURL=RLabel.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RLabel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Label/RLabel.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,KAAK,CAAA;AAC9D,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAU;IACzB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAExB;;;;;;;OAOG;IACH,GAAG,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAE/B;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB;;;;;;;;;;;;;;;;AAyED,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,253 +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 ModalStory: Meta<{
4
- new (...args: any[]): {
5
- $: ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{
8
- title: string;
9
- block: boolean;
10
- modelValue: boolean;
11
- description: string;
12
- }> & Omit<{
13
- readonly title: string;
14
- readonly block: boolean;
15
- readonly modelValue: boolean;
16
- readonly description: string;
17
- readonly width?: string | undefined;
18
- readonly height?: string | undefined;
19
- readonly style?: string | undefined;
20
- readonly class?: string | string[] | undefined;
21
- readonly icon?: string | undefined;
22
- readonly outsideClick?: boolean | undefined;
23
- readonly overlayClass?: string | string[] | undefined;
24
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
26
- width: {
27
- type: PropType<string>;
28
- };
29
- height: {
30
- type: PropType<string>;
31
- };
32
- style: {
33
- type: PropType<string>;
34
- };
35
- title: {
36
- type: PropType<string>;
37
- default: string;
38
- };
39
- class: {
40
- type: PropType<string | string[]>;
41
- };
42
- icon: {
43
- type: PropType<string>;
44
- };
45
- block: {
46
- type: PropType<boolean>;
47
- default: boolean;
48
- };
49
- outsideClick: {
50
- type: PropType<boolean>;
51
- };
52
- modelValue: {
53
- type: PropType<boolean>;
54
- required: true;
55
- default: boolean;
56
- };
57
- description: {
58
- type: PropType<string>;
59
- default: string;
60
- };
61
- overlayClass: {
62
- type: PropType<string | string[]>;
63
- };
64
- }>> & {
65
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
- }, "title" | "block" | "modelValue" | "description">;
67
- $attrs: {
68
- [x: string]: unknown;
69
- };
70
- $refs: {
71
- [x: string]: unknown;
72
- };
73
- $slots: Readonly<{
74
- [name: string]: Slot<any> | undefined;
75
- }>;
76
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
77
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
78
- $emit: (event: "update:modelValue", ...args: any[]) => void;
79
- $el: any;
80
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
81
- width: {
82
- type: PropType<string>;
83
- };
84
- height: {
85
- type: PropType<string>;
86
- };
87
- style: {
88
- type: PropType<string>;
89
- };
90
- title: {
91
- type: PropType<string>;
92
- default: string;
93
- };
94
- class: {
95
- type: PropType<string | string[]>;
96
- };
97
- icon: {
98
- type: PropType<string>;
99
- };
100
- block: {
101
- type: PropType<boolean>;
102
- default: boolean;
103
- };
104
- outsideClick: {
105
- type: PropType<boolean>;
106
- };
107
- modelValue: {
108
- type: PropType<boolean>;
109
- required: true;
110
- default: boolean;
111
- };
112
- description: {
113
- type: PropType<string>;
114
- default: string;
115
- };
116
- overlayClass: {
117
- type: PropType<string | string[]>;
118
- };
119
- }>> & {
120
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
121
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
122
- "update:modelValue": (...args: any[]) => void;
123
- }, string, {
124
- title: string;
125
- block: boolean;
126
- modelValue: boolean;
127
- description: string;
128
- }, {}, string, {}> & {
129
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
130
- created?: ((() => void) | (() => void)[]) | undefined;
131
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
132
- mounted?: ((() => void) | (() => void)[]) | undefined;
133
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
134
- updated?: ((() => void) | (() => void)[]) | undefined;
135
- activated?: ((() => void) | (() => void)[]) | undefined;
136
- deactivated?: ((() => void) | (() => void)[]) | undefined;
137
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
138
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
139
- destroyed?: ((() => void) | (() => void)[]) | undefined;
140
- unmounted?: ((() => void) | (() => void)[]) | undefined;
141
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
142
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
143
- 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;
144
- };
145
- $forceUpdate: () => void;
146
- $nextTick: typeof nextTick;
147
- $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;
148
- } & Readonly<ExtractPropTypes<{
149
- width: {
150
- type: PropType<string>;
151
- };
152
- height: {
153
- type: PropType<string>;
154
- };
155
- style: {
156
- type: PropType<string>;
157
- };
158
- title: {
159
- type: PropType<string>;
160
- default: string;
161
- };
162
- class: {
163
- type: PropType<string | string[]>;
164
- };
165
- icon: {
166
- type: PropType<string>;
167
- };
168
- block: {
169
- type: PropType<boolean>;
170
- default: boolean;
171
- };
172
- outsideClick: {
173
- type: PropType<boolean>;
174
- };
175
- modelValue: {
176
- type: PropType<boolean>;
177
- required: true;
178
- default: boolean;
179
- };
180
- description: {
181
- type: PropType<string>;
182
- default: string;
183
- };
184
- overlayClass: {
185
- type: PropType<string | string[]>;
186
- };
187
- }>> & {
188
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
189
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
190
- __isFragment?: undefined;
191
- __isTeleport?: undefined;
192
- __isSuspense?: undefined;
193
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
194
- width: {
195
- type: PropType<string>;
196
- };
197
- height: {
198
- type: PropType<string>;
199
- };
200
- style: {
201
- type: PropType<string>;
202
- };
203
- title: {
204
- type: PropType<string>;
205
- default: string;
206
- };
207
- class: {
208
- type: PropType<string | string[]>;
209
- };
210
- icon: {
211
- type: PropType<string>;
212
- };
213
- block: {
214
- type: PropType<boolean>;
215
- default: boolean;
216
- };
217
- outsideClick: {
218
- type: PropType<boolean>;
219
- };
220
- modelValue: {
221
- type: PropType<boolean>;
222
- required: true;
223
- default: boolean;
224
- };
225
- description: {
226
- type: PropType<string>;
227
- default: string;
228
- };
229
- overlayClass: {
230
- type: PropType<string | string[]>;
231
- };
232
- }>> & {
233
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
234
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
235
- "update:modelValue": (...args: any[]) => void;
236
- }, string, {
237
- title: string;
238
- block: boolean;
239
- modelValue: boolean;
240
- description: string;
241
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
242
- $slots: {
243
- header?(_: {}): any;
244
- default?(_: {}): any;
245
- actions?(_: {}): any;
246
- };
247
- })>;
248
- export default ModalStory;
249
- declare type Story = StoryObj<typeof ModalStory>;
250
- export declare const Overview: Story;
251
- export declare const WithActionsSlot: Story;
252
- export declare const WithForm: Story;
253
- //# sourceMappingURL=Modal.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAOrD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkBO,CAAA;AAEvB,eAAe,UAAU,CAAA;AAEzB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAA;AAEjC,eAAO,MAAM,eAAe,EAAE,KAyD7B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAiCtB,CAAA"}
@@ -1,139 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- export interface ModalProps {
3
- /**
4
- * modelValue the modal
5
- * @type boolean
6
- * @default false
7
- * @example
8
- * <Modal :modelValue="true" />
9
- */
10
- modelValue: boolean;
11
- /**
12
- * Modal width is 100%
13
- * @type boolean
14
- * @default false
15
- * @example
16
- * <Modal block />
17
- */
18
- block?: boolean;
19
- /**
20
- * Title of the Modal
21
- * @type string
22
- * @default ''
23
- * @example
24
- * <Modal title="Modal Title" />
25
- */
26
- title?: string;
27
- /**
28
- * Description of the Modal
29
- * @type string
30
- * @default ''
31
- * @example
32
- * <Modal description="Modal Description" />
33
- */
34
- description?: string;
35
- /**
36
- * Icon of the Modal
37
- * @type string
38
- * @default ''
39
- * @example
40
- * <Modal icon="mdiMail" />
41
- */
42
- icon?: string;
43
- /**
44
- * Width of the Modal
45
- * @type string
46
- * @default ''
47
- * @example
48
- * <Modal width="500px" />
49
- */
50
- width?: string;
51
- /**
52
- * Height of the Modal
53
- * @type string
54
- * @default ''
55
- * @example
56
- * <Modal height="500px" />
57
- */
58
- height?: string;
59
- /**
60
- * Close the modal when clicking outside
61
- * @type boolean
62
- * @default false
63
- * @example
64
- * <Modal :modelValue="true" :outsideClick="true" />
65
- */
66
- outsideClick?: boolean;
67
- /**
68
- * Class of the Modal
69
- * @type string
70
- * @default ''
71
- * @example
72
- * <Modal class="my-class" />
73
- */
74
- class?: string | string[];
75
- /**
76
- * Class of the overlay
77
- * @type string
78
- * @default ''
79
- * @example
80
- * <Modal overlayClass="my-class" />
81
- */
82
- overlayClass?: string | string[];
83
- /**
84
- * Style of the Modal
85
- * @type string
86
- * @default ''
87
- * @example
88
- * <Modal style="color: red" />
89
- */
90
- style?: string;
91
- }
92
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
93
- modelValue: boolean;
94
- block: boolean;
95
- title: string;
96
- description: string;
97
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
98
- "update:modelValue": (...args: any[]) => void;
99
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
100
- modelValue: boolean;
101
- block: boolean;
102
- title: string;
103
- description: string;
104
- }>>> & {
105
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
106
- }, {
107
- title: string;
108
- block: boolean;
109
- modelValue: boolean;
110
- description: string;
111
- }, {}>, {
112
- header?(_: {}): any;
113
- default?(_: {}): any;
114
- actions?(_: {}): any;
115
- }>;
116
- export default _default;
117
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
118
- declare type __VLS_TypePropsToRuntimeProps<T> = {
119
- [K in keyof T]-?: {} extends Pick<T, K> ? {
120
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
121
- } : {
122
- type: PropType<T[K]>;
123
- required: true;
124
- };
125
- };
126
- declare type __VLS_WithDefaults<P, D> = {
127
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
128
- default: D[K];
129
- }> : P[K];
130
- };
131
- declare type __VLS_Prettify<T> = {
132
- [K in keyof T]: T[K];
133
- } & {};
134
- declare type __VLS_WithTemplateSlots<T, S> = T & {
135
- new (): {
136
- $slots: S;
137
- };
138
- };
139
- //# sourceMappingURL=RModal.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/RModal.vue"],"names":[],"mappings":"AAGA,OAAO,aAAa,CAAA;AAGpB,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,UAAU,EAAE,OAAO,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEhC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;;;;;;;;;;;;;;;;;;;;;;;;;AA+MD,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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=modal.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/modal.spec.ts"],"names":[],"mappings":""}