@open-dcp/vue-basic-components 0.0.1 → 0.0.7
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.
- package/LICENSE +190 -0
- package/README.md +39 -39
- package/dist/components/Button.vue.d.ts +30 -0
- package/dist/components/Button.vue.d.ts.map +1 -0
- package/dist/components/Card.vue.d.ts +20 -0
- package/dist/components/Card.vue.d.ts.map +1 -0
- package/dist/components/Chip.vue.d.ts +37 -0
- package/dist/components/Chip.vue.d.ts.map +1 -0
- package/dist/components/GxpStatus.vue.d.ts +27 -0
- package/dist/components/GxpStatus.vue.d.ts.map +1 -0
- package/dist/components/Loader.vue.d.ts +26 -0
- package/dist/components/Loader.vue.d.ts.map +1 -0
- package/dist/components/Modal.vue.d.ts +37 -0
- package/dist/components/Modal.vue.d.ts.map +1 -0
- package/dist/components/__tests__/button.test.d.ts +2 -0
- package/dist/components/__tests__/button.test.d.ts.map +1 -0
- package/dist/components/__tests__/cart.test.d.ts +2 -0
- package/dist/components/__tests__/cart.test.d.ts.map +1 -0
- package/dist/components/buttons/DcpDefaultButton.vue.d.ts +46 -0
- package/dist/components/buttons/DcpDefaultButton.vue.d.ts.map +1 -0
- package/dist/components/buttons/DcpFlatButton.vue.d.ts +46 -0
- package/dist/components/buttons/DcpFlatButton.vue.d.ts.map +1 -0
- package/dist/components/buttons/DcpIconButton.vue.d.ts +61 -0
- package/dist/components/buttons/DcpIconButton.vue.d.ts.map +1 -0
- package/dist/components/buttons/DcpTextButton.vue.d.ts +46 -0
- package/dist/components/buttons/DcpTextButton.vue.d.ts.map +1 -0
- package/dist/components/pages/BasicPage.vue.d.ts +67 -0
- package/dist/components/pages/BasicPage.vue.d.ts.map +1 -0
- package/dist/components/pages/DcpPageCreateMenu.vue.d.ts +28 -0
- package/dist/components/pages/DcpPageCreateMenu.vue.d.ts.map +1 -0
- package/dist/components/pages/DcpPageSwitcher.vue.d.ts +21 -0
- package/dist/components/pages/DcpPageSwitcher.vue.d.ts.map +1 -0
- package/dist/components/pages/EditorPage.vue.d.ts +20 -0
- package/dist/components/pages/EditorPage.vue.d.ts.map +1 -0
- package/dist/components/pages/PageTitle.vue.d.ts +16 -0
- package/dist/components/pages/PageTitle.vue.d.ts.map +1 -0
- package/dist/components/pages/components/sidebar/SideBar.vue.d.ts +84 -0
- package/dist/components/pages/components/sidebar/SideBar.vue.d.ts.map +1 -0
- package/dist/components/pages/components/sidebar/SideBarHeader.vue.d.ts +32 -0
- package/dist/components/pages/components/sidebar/SideBarHeader.vue.d.ts.map +1 -0
- package/dist/dcp-vue-basic-components.es.js +658 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/stories/Default.stories.d.ts +345 -0
- package/dist/stories/Default.stories.d.ts.map +1 -0
- package/dist/stories/Icon.stories.d.ts +295 -0
- package/dist/stories/Icon.stories.d.ts.map +1 -0
- package/dist/stories/Modal.stories.d.ts +10 -0
- package/dist/stories/Modal.stories.d.ts.map +1 -0
- package/package.json +57 -9
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
import { default as DcpDefaultButton } from '../components/buttons/DcpDefaultButton.vue';
|
|
3
|
+
declare const meta: Meta<typeof DcpDefaultButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: StoryFn<{
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
size: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
color: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
20
|
+
size: string;
|
|
21
|
+
color: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
|
+
P: {};
|
|
25
|
+
B: {};
|
|
26
|
+
D: {};
|
|
27
|
+
C: {};
|
|
28
|
+
M: {};
|
|
29
|
+
Defaults: {};
|
|
30
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
size: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
color: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
disabled: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
44
|
+
size: string;
|
|
45
|
+
color: string;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
}>;
|
|
48
|
+
__isFragment?: never;
|
|
49
|
+
__isTeleport?: never;
|
|
50
|
+
__isSuspense?: never;
|
|
51
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
52
|
+
size: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
color: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
65
|
+
size: string;
|
|
66
|
+
color: string;
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
69
|
+
$slots: {
|
|
70
|
+
default?: (props: {}) => any;
|
|
71
|
+
};
|
|
72
|
+
})>;
|
|
73
|
+
export declare const Disabled: StoryFn<{
|
|
74
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
75
|
+
size: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
color: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
disabled: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
88
|
+
size: string;
|
|
89
|
+
color: string;
|
|
90
|
+
disabled: boolean;
|
|
91
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
92
|
+
P: {};
|
|
93
|
+
B: {};
|
|
94
|
+
D: {};
|
|
95
|
+
C: {};
|
|
96
|
+
M: {};
|
|
97
|
+
Defaults: {};
|
|
98
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
99
|
+
size: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
color: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
disabled: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
112
|
+
size: string;
|
|
113
|
+
color: string;
|
|
114
|
+
disabled: boolean;
|
|
115
|
+
}>;
|
|
116
|
+
__isFragment?: never;
|
|
117
|
+
__isTeleport?: never;
|
|
118
|
+
__isSuspense?: never;
|
|
119
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
120
|
+
size: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
color: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
disabled: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
133
|
+
size: string;
|
|
134
|
+
color: string;
|
|
135
|
+
disabled: boolean;
|
|
136
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
137
|
+
$slots: {
|
|
138
|
+
default?: (props: {}) => any;
|
|
139
|
+
};
|
|
140
|
+
})>;
|
|
141
|
+
export declare const Small: StoryFn<{
|
|
142
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
143
|
+
size: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
color: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
disabled: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
156
|
+
size: string;
|
|
157
|
+
color: string;
|
|
158
|
+
disabled: boolean;
|
|
159
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
160
|
+
P: {};
|
|
161
|
+
B: {};
|
|
162
|
+
D: {};
|
|
163
|
+
C: {};
|
|
164
|
+
M: {};
|
|
165
|
+
Defaults: {};
|
|
166
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
167
|
+
size: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
color: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
disabled: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
180
|
+
size: string;
|
|
181
|
+
color: string;
|
|
182
|
+
disabled: boolean;
|
|
183
|
+
}>;
|
|
184
|
+
__isFragment?: never;
|
|
185
|
+
__isTeleport?: never;
|
|
186
|
+
__isSuspense?: never;
|
|
187
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
188
|
+
size: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
default: string;
|
|
191
|
+
};
|
|
192
|
+
color: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
default: string;
|
|
195
|
+
};
|
|
196
|
+
disabled: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: boolean;
|
|
199
|
+
};
|
|
200
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
201
|
+
size: string;
|
|
202
|
+
color: string;
|
|
203
|
+
disabled: boolean;
|
|
204
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
205
|
+
$slots: {
|
|
206
|
+
default?: (props: {}) => any;
|
|
207
|
+
};
|
|
208
|
+
})>;
|
|
209
|
+
export declare const Large: StoryFn<{
|
|
210
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
211
|
+
size: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
default: string;
|
|
214
|
+
};
|
|
215
|
+
color: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
disabled: {
|
|
220
|
+
type: BooleanConstructor;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
224
|
+
size: string;
|
|
225
|
+
color: string;
|
|
226
|
+
disabled: boolean;
|
|
227
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
228
|
+
P: {};
|
|
229
|
+
B: {};
|
|
230
|
+
D: {};
|
|
231
|
+
C: {};
|
|
232
|
+
M: {};
|
|
233
|
+
Defaults: {};
|
|
234
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
235
|
+
size: {
|
|
236
|
+
type: StringConstructor;
|
|
237
|
+
default: string;
|
|
238
|
+
};
|
|
239
|
+
color: {
|
|
240
|
+
type: StringConstructor;
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
disabled: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
248
|
+
size: string;
|
|
249
|
+
color: string;
|
|
250
|
+
disabled: boolean;
|
|
251
|
+
}>;
|
|
252
|
+
__isFragment?: never;
|
|
253
|
+
__isTeleport?: never;
|
|
254
|
+
__isSuspense?: never;
|
|
255
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
256
|
+
size: {
|
|
257
|
+
type: StringConstructor;
|
|
258
|
+
default: string;
|
|
259
|
+
};
|
|
260
|
+
color: {
|
|
261
|
+
type: StringConstructor;
|
|
262
|
+
default: string;
|
|
263
|
+
};
|
|
264
|
+
disabled: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
269
|
+
size: string;
|
|
270
|
+
color: string;
|
|
271
|
+
disabled: boolean;
|
|
272
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
273
|
+
$slots: {
|
|
274
|
+
default?: (props: {}) => any;
|
|
275
|
+
};
|
|
276
|
+
})>;
|
|
277
|
+
export declare const CustomColor: StoryFn<{
|
|
278
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
279
|
+
size: {
|
|
280
|
+
type: StringConstructor;
|
|
281
|
+
default: string;
|
|
282
|
+
};
|
|
283
|
+
color: {
|
|
284
|
+
type: StringConstructor;
|
|
285
|
+
default: string;
|
|
286
|
+
};
|
|
287
|
+
disabled: {
|
|
288
|
+
type: BooleanConstructor;
|
|
289
|
+
default: boolean;
|
|
290
|
+
};
|
|
291
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
292
|
+
size: string;
|
|
293
|
+
color: string;
|
|
294
|
+
disabled: boolean;
|
|
295
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
296
|
+
P: {};
|
|
297
|
+
B: {};
|
|
298
|
+
D: {};
|
|
299
|
+
C: {};
|
|
300
|
+
M: {};
|
|
301
|
+
Defaults: {};
|
|
302
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
303
|
+
size: {
|
|
304
|
+
type: StringConstructor;
|
|
305
|
+
default: string;
|
|
306
|
+
};
|
|
307
|
+
color: {
|
|
308
|
+
type: StringConstructor;
|
|
309
|
+
default: string;
|
|
310
|
+
};
|
|
311
|
+
disabled: {
|
|
312
|
+
type: BooleanConstructor;
|
|
313
|
+
default: boolean;
|
|
314
|
+
};
|
|
315
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
316
|
+
size: string;
|
|
317
|
+
color: string;
|
|
318
|
+
disabled: boolean;
|
|
319
|
+
}>;
|
|
320
|
+
__isFragment?: never;
|
|
321
|
+
__isTeleport?: never;
|
|
322
|
+
__isSuspense?: never;
|
|
323
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
324
|
+
size: {
|
|
325
|
+
type: StringConstructor;
|
|
326
|
+
default: string;
|
|
327
|
+
};
|
|
328
|
+
color: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
default: string;
|
|
331
|
+
};
|
|
332
|
+
disabled: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
336
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
337
|
+
size: string;
|
|
338
|
+
color: string;
|
|
339
|
+
disabled: boolean;
|
|
340
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
341
|
+
$slots: {
|
|
342
|
+
default?: (props: {}) => any;
|
|
343
|
+
};
|
|
344
|
+
})>;
|
|
345
|
+
//# sourceMappingURL=Default.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Default.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,gBAAgB,MAAM,2CAA2C,CAAC;AAEzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAevC,CAAC;AACF,eAAe,IAAI,CAAC;AAUpB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAOzC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAO1C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAOvC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC;AAOvC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAC"}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
import { default as DcpIconButton } from '../components/buttons/DcpIconButton.vue';
|
|
3
|
+
declare const meta: Meta<typeof DcpIconButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: StoryFn<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
icon: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
rounded: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
variant: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
icon: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
color: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
disabled: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
rounded: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
variant: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{}>, {
|
|
56
|
+
size: string;
|
|
57
|
+
color: string;
|
|
58
|
+
rounded: string;
|
|
59
|
+
disabled: boolean;
|
|
60
|
+
variant: string;
|
|
61
|
+
icon: string;
|
|
62
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
63
|
+
export declare const Disabled: StoryFn<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
64
|
+
icon: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
color: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
disabled: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
rounded: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
variant: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
89
|
+
icon: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
color: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
disabled: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
rounded: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
variant: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
}>> & Readonly<{}>, {
|
|
114
|
+
size: string;
|
|
115
|
+
color: string;
|
|
116
|
+
rounded: string;
|
|
117
|
+
disabled: boolean;
|
|
118
|
+
variant: string;
|
|
119
|
+
icon: string;
|
|
120
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
121
|
+
export declare const Small: StoryFn<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
122
|
+
icon: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
size: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
color: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
disabled: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
rounded: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
variant: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
147
|
+
icon: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
size: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
color: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
disabled: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
rounded: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
variant: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
}>> & Readonly<{}>, {
|
|
172
|
+
size: string;
|
|
173
|
+
color: string;
|
|
174
|
+
rounded: string;
|
|
175
|
+
disabled: boolean;
|
|
176
|
+
variant: string;
|
|
177
|
+
icon: string;
|
|
178
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
179
|
+
export declare const Large: StoryFn<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
180
|
+
icon: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
size: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
color: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
default: string;
|
|
191
|
+
};
|
|
192
|
+
disabled: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
rounded: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
default: string;
|
|
199
|
+
};
|
|
200
|
+
variant: {
|
|
201
|
+
type: StringConstructor;
|
|
202
|
+
default: string;
|
|
203
|
+
};
|
|
204
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
205
|
+
icon: {
|
|
206
|
+
type: StringConstructor;
|
|
207
|
+
default: string;
|
|
208
|
+
};
|
|
209
|
+
size: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
color: {
|
|
214
|
+
type: StringConstructor;
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
217
|
+
disabled: {
|
|
218
|
+
type: BooleanConstructor;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
rounded: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
225
|
+
variant: {
|
|
226
|
+
type: StringConstructor;
|
|
227
|
+
default: string;
|
|
228
|
+
};
|
|
229
|
+
}>> & Readonly<{}>, {
|
|
230
|
+
size: string;
|
|
231
|
+
color: string;
|
|
232
|
+
rounded: string;
|
|
233
|
+
disabled: boolean;
|
|
234
|
+
variant: string;
|
|
235
|
+
icon: string;
|
|
236
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
237
|
+
export declare const CustomColor: StoryFn<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
238
|
+
icon: {
|
|
239
|
+
type: StringConstructor;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
size: {
|
|
243
|
+
type: StringConstructor;
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
color: {
|
|
247
|
+
type: StringConstructor;
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
disabled: {
|
|
251
|
+
type: BooleanConstructor;
|
|
252
|
+
default: boolean;
|
|
253
|
+
};
|
|
254
|
+
rounded: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
default: string;
|
|
257
|
+
};
|
|
258
|
+
variant: {
|
|
259
|
+
type: StringConstructor;
|
|
260
|
+
default: string;
|
|
261
|
+
};
|
|
262
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
263
|
+
icon: {
|
|
264
|
+
type: StringConstructor;
|
|
265
|
+
default: string;
|
|
266
|
+
};
|
|
267
|
+
size: {
|
|
268
|
+
type: StringConstructor;
|
|
269
|
+
default: string;
|
|
270
|
+
};
|
|
271
|
+
color: {
|
|
272
|
+
type: StringConstructor;
|
|
273
|
+
default: string;
|
|
274
|
+
};
|
|
275
|
+
disabled: {
|
|
276
|
+
type: BooleanConstructor;
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
279
|
+
rounded: {
|
|
280
|
+
type: StringConstructor;
|
|
281
|
+
default: string;
|
|
282
|
+
};
|
|
283
|
+
variant: {
|
|
284
|
+
type: StringConstructor;
|
|
285
|
+
default: string;
|
|
286
|
+
};
|
|
287
|
+
}>> & Readonly<{}>, {
|
|
288
|
+
size: string;
|
|
289
|
+
color: string;
|
|
290
|
+
rounded: string;
|
|
291
|
+
disabled: boolean;
|
|
292
|
+
variant: string;
|
|
293
|
+
icon: string;
|
|
294
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
295
|
+
//# sourceMappingURL=Icon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Icon.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,aAAa,MAAM,wCAAwC,CAAC;AAEnE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CA2BpC,CAAC;AACF,eAAe,IAAI,CAAC;AAUpB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAAoB,CAAC;AAUzC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAAoB,CAAC;AAU1C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAAoB,CAAC;AAUvC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAAoB,CAAC;AAUvC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAAoB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
import { default as Modal } from '../components/Modal.vue';
|
|
3
|
+
declare const meta: Meta<typeof Modal>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: StoryFn<typeof Modal>;
|
|
6
|
+
export declare const NoCloseButton: StoryFn<typeof Modal>;
|
|
7
|
+
export declare const NoBackgroundClose: StoryFn<typeof Modal>;
|
|
8
|
+
export declare const Small: StoryFn<typeof Modal>;
|
|
9
|
+
export declare const Large: StoryFn<typeof Modal>;
|
|
10
|
+
//# sourceMappingURL=Modal.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Modal.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAkB5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,OAAO,KAAK,CAgBxC,CAAC;AAQH,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,OAAO,KAAK,CAgB9C,CAAC;AAQH,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,OAAO,KAAK,CAgBlD,CAAC;AAQH,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,OAAO,KAAK,CAgBtC,CAAC;AAQH,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,OAAO,KAAK,CAgBtC,CAAC"}
|