@frollo/frollo-web-ui 0.0.14 → 0.0.17
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/cjs/index.js +2332 -2027
- package/esm/{es.array.includes-a402ff0b.js → add-to-unscopables-874257d1.js} +3 -21
- package/esm/es.array.includes-ef2f18f4.js +20 -0
- package/esm/{es.function.name-caf4301b.js → es.function.name-43e1ffbd.js} +1 -1
- package/esm/{style-inject.es-4735be61.js → function-name-a620492a.js} +4 -31
- package/esm/{fw-button-ac2184d6.js → fw-button-fee2541f.js} +10 -10
- package/esm/fw-button.js +5 -3
- package/esm/fw-checkbox.js +3 -2
- package/esm/fw-input.js +5 -3
- package/esm/fw-navigation-menu.js +5 -3
- package/esm/fw-tabs.js +4 -0
- package/esm/index-5430e7a3.js +565 -0
- package/esm/index.js +28 -242
- package/esm/style-inject.es-1f59c1d0.js +28 -0
- package/frollo-web-ui.esm.js +4344 -4002
- package/icons/file-exclamation.svg +3 -0
- package/icons/hourglass-clock.svg +3 -0
- package/icons/index.ts +5 -1
- package/index.d.ts +208 -163
- package/package.json +1 -1
- package/types/components/fw-tabs/fw-tab.vue.d.ts +21 -0
- package/types/components/fw-tabs/fw-tabs.vue.d.ts +24 -0
- package/types/components/fw-tabs/index.d.ts +3 -0
- package/types/components/index.d.ts +4 -3
- package/types/icons/index.d.ts +3 -1
- package/types/index-types.esm.d.ts +2 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 104 104" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M87.2016 25.4516L65.5687 3.81875C63.1109 1.36947 59.8203 0 56.3672 0H26C18.8195 0 13 5.81953 13 13L13.0013 91C13.0013 98.1805 18.8209 104 26.0013 104H78C85.1805 104 91 98.1805 91 91V34.6328C91 31.1797 89.6391 27.8891 87.2016 25.4516ZM58.5 6.9225C59.4094 7.24059 60.2603 7.70372 60.9619 8.40511L82.5947 30.0379C83.3016 30.7328 83.7687 31.5859 84.0734 32.5H61.75C59.9625 32.5 58.5 31.0375 58.5 29.25V6.9225ZM84.5 91C84.5 94.5831 81.5831 97.5 78 97.5H26C22.4169 97.5 19.5 94.5831 19.5 91V13C19.5 9.41687 22.4169 6.5 26 6.5H52V29.25C52 34.6328 56.3672 39 61.75 39H84.5V91ZM52 79.625C49.3086 79.625 47.125 81.8086 47.125 84.5C47.125 87.1914 49.3086 89.375 52 89.375C54.6934 89.375 56.875 87.1914 56.875 84.5C56.875 81.8086 54.7016 79.625 52 79.625ZM51.8172 74.75C53.7875 74.75 55.25 73.2875 55.25 71.5V48.75C55.25 46.9625 53.7875 45.5 52 45.5C50.2125 45.5 48.75 46.9625 48.75 48.75V71.5C48.75 73.2875 50.1922 74.75 51.8172 74.75Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 118 104" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3.82031 104C2.0255 104 0.570312 102.537 0.570312 100.75C0.570312 98.9625 2.0255 97.5 3.82031 97.5H7.07031V88.4203C7.07031 82.0016 9.18484 75.5828 13.0848 70.6672L27.3625 52L13.0848 33.3328C9.18484 28.2344 7.07031 21.9984 7.07031 15.5736V6.5H3.82031C2.0255 6.5 0.570312 5.04563 0.570312 3.25C0.570312 1.45519 2.0255 0 3.82031 0H75.3203C77.1078 0 78.5703 1.45519 78.5703 3.25C78.5703 5.04563 77.1078 6.5 75.3203 6.5H72.0703V15.5736C72.0703 21.9984 69.9578 28.2344 66.0578 33.3328L51.7781 52L56.5922 58.2766C55.4141 60.5109 54.5 62.8875 53.8094 65.3656L45.1156 53.9703C44.2219 52.6297 44.2219 51.1875 45.1156 50.0297L60.7156 29.3922C63.925 25.4312 65.5703 20.5766 65.5703 15.5736V6.5H13.5703V15.5736C13.5703 20.5766 15.2136 25.4312 18.2483 29.3922L34.025 50.0297C34.9188 51.1875 34.9188 52.6297 34.025 53.9703L18.2483 74.6078C15.2136 78.5687 13.5703 83.4234 13.5703 88.4203V97.5H60.7359C62.7875 99.9578 65.1438 102.152 67.7641 104H3.82031ZM53.9109 84.5C54.5609 86.775 55.4141 88.9484 56.4703 91H23.3203C22.1016 91 20.9844 90.3094 20.4298 89.2328C19.8733 87.9734 19.9688 86.8563 20.6756 85.8609L36.7469 63.1109C37.9656 61.6484 39.9969 61.3031 41.4594 62.1766C42.9219 63.3953 43.2672 65.4266 42.2109 66.8891L29.6375 84.5H53.9109ZM37.0313 40.8484L24.0313 24.5984C23.2594 23.8062 23.0969 22.4656 23.6453 21.3484C24.1734 20.217 25.3109 19.5 26.5703 19.5H52.5703C53.8297 19.5 54.9672 20.217 55.4953 21.3484C56.0438 22.4656 55.8813 23.8062 55.1094 24.5984L42.1094 40.8484C41.5 41.8031 40.5656 42.25 39.5703 42.25C38.575 42.25 37.6406 41.8031 37.0313 40.8484ZM39.5703 33.8L45.8063 26H33.3344L39.5703 33.8ZM88.1375 58.5C90.1078 58.5 91.3875 59.9625 91.3875 61.75V71.5H98.0703C99.8578 71.5 101.32 72.9625 101.32 74.75C101.32 76.5375 99.8578 78 98.0703 78H88.1375C86.5328 78 84.8875 76.5375 84.8875 74.75V61.75C84.8875 59.9625 86.5328 58.5 88.1375 58.5ZM59.0703 74.75C59.0703 58.6016 72.1719 45.5 88.3203 45.5C104.469 45.5 117.57 58.6016 117.57 74.75C117.57 90.8984 104.469 104 88.3203 104C72.1719 104 59.0703 90.8984 59.0703 74.75ZM88.3203 97.5C100.894 97.5 111.07 87.3234 111.07 74.75C111.07 62.1766 100.894 52 88.3203 52C75.7469 52 65.5703 62.1766 65.5703 74.75C65.5703 87.3234 75.7469 97.5 88.3203 97.5Z" />
|
|
3
|
+
</svg>
|
package/icons/index.ts
CHANGED
|
@@ -10,6 +10,8 @@ import EyeCrossedSvg from './eye-crossed.svg';
|
|
|
10
10
|
import DownloadSvg from './download.svg';
|
|
11
11
|
import IdCardSvg from './id-card.svg';
|
|
12
12
|
import InfoCircleSvg from './info-circle.svg';
|
|
13
|
+
import FileExclamationSvg from './file-exclamation.svg';
|
|
14
|
+
import HourglassClockSvg from './hourglass-clock.svg';
|
|
13
15
|
|
|
14
16
|
export {
|
|
15
17
|
ViewSvg,
|
|
@@ -23,5 +25,7 @@ export {
|
|
|
23
25
|
EyeCrossedSvg,
|
|
24
26
|
DownloadSvg,
|
|
25
27
|
IdCardSvg,
|
|
26
|
-
InfoCircleSvg
|
|
28
|
+
InfoCircleSvg,
|
|
29
|
+
FileExclamationSvg,
|
|
30
|
+
HourglassClockSvg
|
|
27
31
|
};
|
package/index.d.ts
CHANGED
|
@@ -2,6 +2,198 @@ import * as vue from 'vue';
|
|
|
2
2
|
import { PropType, Plugin } from 'vue';
|
|
3
3
|
export { Form as FwForm } from 'vee-validate';
|
|
4
4
|
|
|
5
|
+
declare type InputType = 'text' | 'password';
|
|
6
|
+
interface FwInputProps {
|
|
7
|
+
value: string;
|
|
8
|
+
name: string;
|
|
9
|
+
type?: InputType;
|
|
10
|
+
label?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
rules?: string | object | Function;
|
|
13
|
+
readonly?: boolean;
|
|
14
|
+
hint?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default$6: vue.DefineComponent<{
|
|
17
|
+
/**
|
|
18
|
+
* The input v-model
|
|
19
|
+
*/
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* The name of the input field. Must be unique per form.
|
|
26
|
+
*/
|
|
27
|
+
name: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* The input type. Accepts `text` | `password`
|
|
33
|
+
*/
|
|
34
|
+
type: {
|
|
35
|
+
type: PropType<InputType>;
|
|
36
|
+
default: string;
|
|
37
|
+
validator: (value: string) => boolean;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Label for the input. Also renders to an aria-label attribute
|
|
41
|
+
*/
|
|
42
|
+
label: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* The placeholder text of the input
|
|
47
|
+
*/
|
|
48
|
+
placeholder: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Validation rules. Accepts a string, object, function or schema.
|
|
54
|
+
*/
|
|
55
|
+
rules: {
|
|
56
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Converts the input into a readonly disabled field
|
|
60
|
+
*/
|
|
61
|
+
readonly: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* The hint text shown below the input
|
|
67
|
+
*/
|
|
68
|
+
hint: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
71
|
+
}, {
|
|
72
|
+
inputValue: vue.WritableComputedRef<string>;
|
|
73
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
74
|
+
/**
|
|
75
|
+
* The input v-model
|
|
76
|
+
*/
|
|
77
|
+
modelValue: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* The name of the input field. Must be unique per form.
|
|
83
|
+
*/
|
|
84
|
+
name: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* The input type. Accepts `text` | `password`
|
|
90
|
+
*/
|
|
91
|
+
type: {
|
|
92
|
+
type: PropType<InputType>;
|
|
93
|
+
default: string;
|
|
94
|
+
validator: (value: string) => boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Label for the input. Also renders to an aria-label attribute
|
|
98
|
+
*/
|
|
99
|
+
label: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* The placeholder text of the input
|
|
104
|
+
*/
|
|
105
|
+
placeholder: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Validation rules. Accepts a string, object, function or schema.
|
|
111
|
+
*/
|
|
112
|
+
rules: {
|
|
113
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Converts the input into a readonly disabled field
|
|
117
|
+
*/
|
|
118
|
+
readonly: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* The hint text shown below the input
|
|
124
|
+
*/
|
|
125
|
+
hint: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
};
|
|
128
|
+
}>> & {
|
|
129
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
modelValue: string;
|
|
132
|
+
type: InputType;
|
|
133
|
+
placeholder: string;
|
|
134
|
+
readonly: boolean;
|
|
135
|
+
}>;
|
|
136
|
+
|
|
137
|
+
interface FwCheckboxProps {
|
|
138
|
+
name: string;
|
|
139
|
+
label?: string;
|
|
140
|
+
rules?: string | object | Function;
|
|
141
|
+
hint?: string;
|
|
142
|
+
}
|
|
143
|
+
declare const _default$5: vue.DefineComponent<{
|
|
144
|
+
/**
|
|
145
|
+
* The name of the input field. Must be unique per form.
|
|
146
|
+
*/
|
|
147
|
+
name: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
required: true;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Label for the input. Also renders to an aria-label attribute
|
|
153
|
+
*/
|
|
154
|
+
label: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Validation rules. Accepts a string, object, function or schema.
|
|
159
|
+
*/
|
|
160
|
+
rules: {
|
|
161
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* The hint text shown below the input
|
|
165
|
+
*/
|
|
166
|
+
hint: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
};
|
|
169
|
+
}, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
170
|
+
/**
|
|
171
|
+
* The name of the input field. Must be unique per form.
|
|
172
|
+
*/
|
|
173
|
+
name: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
required: true;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Label for the input. Also renders to an aria-label attribute
|
|
179
|
+
*/
|
|
180
|
+
label: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Validation rules. Accepts a string, object, function or schema.
|
|
185
|
+
*/
|
|
186
|
+
rules: {
|
|
187
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* The hint text shown below the input
|
|
191
|
+
*/
|
|
192
|
+
hint: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
};
|
|
195
|
+
}>>, {}>;
|
|
196
|
+
|
|
5
197
|
declare const _default$4: vue.DefineComponent<{
|
|
6
198
|
/**
|
|
7
199
|
* The header title of the card
|
|
@@ -211,195 +403,48 @@ declare const _default$2: vue.DefineComponent<{
|
|
|
211
403
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
212
404
|
}, {}>;
|
|
213
405
|
|
|
214
|
-
declare type InputType = 'text' | 'password';
|
|
215
|
-
interface FwInputProps {
|
|
216
|
-
value: string;
|
|
217
|
-
name: string;
|
|
218
|
-
type?: InputType;
|
|
219
|
-
label?: string;
|
|
220
|
-
placeholder?: string;
|
|
221
|
-
rules?: string | object | Function;
|
|
222
|
-
readonly?: boolean;
|
|
223
|
-
hint?: string;
|
|
224
|
-
}
|
|
225
406
|
declare const _default$1: vue.DefineComponent<{
|
|
226
407
|
/**
|
|
227
|
-
* The
|
|
408
|
+
* The active tab v-model
|
|
228
409
|
*/
|
|
229
410
|
modelValue: {
|
|
230
|
-
type:
|
|
231
|
-
default: string;
|
|
232
|
-
};
|
|
233
|
-
/**
|
|
234
|
-
* The name of the input field. Must be unique per form.
|
|
235
|
-
*/
|
|
236
|
-
name: {
|
|
237
|
-
type: StringConstructor;
|
|
411
|
+
type: NumberConstructor;
|
|
238
412
|
required: true;
|
|
239
413
|
};
|
|
240
|
-
/**
|
|
241
|
-
* The input type. Accepts `text` | `password`
|
|
242
|
-
*/
|
|
243
|
-
type: {
|
|
244
|
-
type: PropType<InputType>;
|
|
245
|
-
default: string;
|
|
246
|
-
validator: (value: string) => boolean;
|
|
247
|
-
};
|
|
248
|
-
/**
|
|
249
|
-
* Label for the input. Also renders to an aria-label attribute
|
|
250
|
-
*/
|
|
251
|
-
label: {
|
|
252
|
-
type: StringConstructor;
|
|
253
|
-
};
|
|
254
|
-
/**
|
|
255
|
-
* The placeholder text of the input
|
|
256
|
-
*/
|
|
257
|
-
placeholder: {
|
|
258
|
-
type: StringConstructor;
|
|
259
|
-
default: string;
|
|
260
|
-
};
|
|
261
|
-
/**
|
|
262
|
-
* Validation rules. Accepts a string, object, function or schema.
|
|
263
|
-
*/
|
|
264
|
-
rules: {
|
|
265
|
-
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
266
|
-
};
|
|
267
|
-
/**
|
|
268
|
-
* Converts the input into a readonly disabled field
|
|
269
|
-
*/
|
|
270
|
-
readonly: {
|
|
271
|
-
type: BooleanConstructor;
|
|
272
|
-
default: boolean;
|
|
273
|
-
};
|
|
274
|
-
/**
|
|
275
|
-
* The hint text shown below the input
|
|
276
|
-
*/
|
|
277
|
-
hint: {
|
|
278
|
-
type: StringConstructor;
|
|
279
|
-
};
|
|
280
414
|
}, {
|
|
281
|
-
|
|
415
|
+
active: vue.ComputedRef<number>;
|
|
416
|
+
tabs: vue.Ref<never[]>;
|
|
417
|
+
selectTab: (tab: number) => void;
|
|
282
418
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
283
419
|
/**
|
|
284
|
-
* The
|
|
420
|
+
* The active tab v-model
|
|
285
421
|
*/
|
|
286
422
|
modelValue: {
|
|
287
|
-
type:
|
|
288
|
-
default: string;
|
|
289
|
-
};
|
|
290
|
-
/**
|
|
291
|
-
* The name of the input field. Must be unique per form.
|
|
292
|
-
*/
|
|
293
|
-
name: {
|
|
294
|
-
type: StringConstructor;
|
|
423
|
+
type: NumberConstructor;
|
|
295
424
|
required: true;
|
|
296
425
|
};
|
|
297
|
-
/**
|
|
298
|
-
* The input type. Accepts `text` | `password`
|
|
299
|
-
*/
|
|
300
|
-
type: {
|
|
301
|
-
type: PropType<InputType>;
|
|
302
|
-
default: string;
|
|
303
|
-
validator: (value: string) => boolean;
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* Label for the input. Also renders to an aria-label attribute
|
|
307
|
-
*/
|
|
308
|
-
label: {
|
|
309
|
-
type: StringConstructor;
|
|
310
|
-
};
|
|
311
|
-
/**
|
|
312
|
-
* The placeholder text of the input
|
|
313
|
-
*/
|
|
314
|
-
placeholder: {
|
|
315
|
-
type: StringConstructor;
|
|
316
|
-
default: string;
|
|
317
|
-
};
|
|
318
|
-
/**
|
|
319
|
-
* Validation rules. Accepts a string, object, function or schema.
|
|
320
|
-
*/
|
|
321
|
-
rules: {
|
|
322
|
-
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
323
|
-
};
|
|
324
|
-
/**
|
|
325
|
-
* Converts the input into a readonly disabled field
|
|
326
|
-
*/
|
|
327
|
-
readonly: {
|
|
328
|
-
type: BooleanConstructor;
|
|
329
|
-
default: boolean;
|
|
330
|
-
};
|
|
331
|
-
/**
|
|
332
|
-
* The hint text shown below the input
|
|
333
|
-
*/
|
|
334
|
-
hint: {
|
|
335
|
-
type: StringConstructor;
|
|
336
|
-
};
|
|
337
426
|
}>> & {
|
|
338
427
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
339
|
-
}, {
|
|
340
|
-
modelValue: string;
|
|
341
|
-
type: InputType;
|
|
342
|
-
placeholder: string;
|
|
343
|
-
readonly: boolean;
|
|
344
|
-
}>;
|
|
428
|
+
}, {}>;
|
|
345
429
|
|
|
346
|
-
interface FwCheckboxProps {
|
|
347
|
-
name: string;
|
|
348
|
-
label?: string;
|
|
349
|
-
rules?: string | object | Function;
|
|
350
|
-
hint?: string;
|
|
351
|
-
}
|
|
352
430
|
declare const _default: vue.DefineComponent<{
|
|
353
431
|
/**
|
|
354
|
-
* The
|
|
355
|
-
*/
|
|
356
|
-
name: {
|
|
357
|
-
type: StringConstructor;
|
|
358
|
-
required: true;
|
|
359
|
-
};
|
|
360
|
-
/**
|
|
361
|
-
* Label for the input. Also renders to an aria-label attribute
|
|
432
|
+
* The label of the tab component used as the button panel label
|
|
362
433
|
*/
|
|
363
434
|
label: {
|
|
364
435
|
type: StringConstructor;
|
|
365
|
-
};
|
|
366
|
-
/**
|
|
367
|
-
* Validation rules. Accepts a string, object, function or schema.
|
|
368
|
-
*/
|
|
369
|
-
rules: {
|
|
370
|
-
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
371
|
-
};
|
|
372
|
-
/**
|
|
373
|
-
* The hint text shown below the input
|
|
374
|
-
*/
|
|
375
|
-
hint: {
|
|
376
|
-
type: StringConstructor;
|
|
377
|
-
};
|
|
378
|
-
}, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
379
|
-
/**
|
|
380
|
-
* The name of the input field. Must be unique per form.
|
|
381
|
-
*/
|
|
382
|
-
name: {
|
|
383
|
-
type: StringConstructor;
|
|
384
436
|
required: true;
|
|
385
437
|
};
|
|
438
|
+
}, {
|
|
439
|
+
isActive: vue.ComputedRef<boolean>;
|
|
440
|
+
index: vue.ComputedRef<any>;
|
|
441
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
386
442
|
/**
|
|
387
|
-
*
|
|
443
|
+
* The label of the tab component used as the button panel label
|
|
388
444
|
*/
|
|
389
445
|
label: {
|
|
390
446
|
type: StringConstructor;
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* Validation rules. Accepts a string, object, function or schema.
|
|
394
|
-
*/
|
|
395
|
-
rules: {
|
|
396
|
-
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
397
|
-
};
|
|
398
|
-
/**
|
|
399
|
-
* The hint text shown below the input
|
|
400
|
-
*/
|
|
401
|
-
hint: {
|
|
402
|
-
type: StringConstructor;
|
|
447
|
+
required: true;
|
|
403
448
|
};
|
|
404
449
|
}>>, {}>;
|
|
405
450
|
|
|
@@ -407,4 +452,4 @@ declare const install: Exclude<Plugin['install'], undefined>;
|
|
|
407
452
|
|
|
408
453
|
declare module '@frollo/frollo-web-ui/icons' { }
|
|
409
454
|
|
|
410
|
-
export { ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$3 as FwButton, FwButtonProps, _default$4 as FwCard, _default as FwCheckbox, FwCheckboxProps, _default$
|
|
455
|
+
export { ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$3 as FwButton, FwButtonProps, _default$4 as FwCard, _default$5 as FwCheckbox, FwCheckboxProps, _default$6 as FwInput, FwInputProps, _default$2 as FwNavigationMenu, _default as FwTab, _default$1 as FwTabs, InputType, NavMenuItem, install as default };
|
package/package.json
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* The label of the tab component used as the button panel label
|
|
4
|
+
*/
|
|
5
|
+
label: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
isActive: import("vue").ComputedRef<boolean>;
|
|
11
|
+
index: import("vue").ComputedRef<any>;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* The label of the tab component used as the button panel label
|
|
15
|
+
*/
|
|
16
|
+
label: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}>>, {}>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* The active tab v-model
|
|
4
|
+
*/
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: NumberConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
active: import("vue").ComputedRef<number>;
|
|
11
|
+
tabs: import("vue").Ref<never[]>;
|
|
12
|
+
selectTab: (tab: number) => void;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
/**
|
|
15
|
+
* The active tab v-model
|
|
16
|
+
*/
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export * from './fw-card';
|
|
2
|
-
export * from './fw-button';
|
|
3
|
-
export * from './fw-navigation-menu';
|
|
4
1
|
export * from './fw-form';
|
|
5
2
|
export * from './fw-input';
|
|
6
3
|
export * from './fw-checkbox';
|
|
4
|
+
export * from './fw-card';
|
|
5
|
+
export * from './fw-button';
|
|
6
|
+
export * from './fw-navigation-menu';
|
|
7
|
+
export * from './fw-tabs';
|
package/types/icons/index.d.ts
CHANGED
|
@@ -10,4 +10,6 @@ import EyeCrossedSvg from './eye-crossed.svg';
|
|
|
10
10
|
import DownloadSvg from './download.svg';
|
|
11
11
|
import IdCardSvg from './id-card.svg';
|
|
12
12
|
import InfoCircleSvg from './info-circle.svg';
|
|
13
|
-
|
|
13
|
+
import FileExclamationSvg from './file-exclamation.svg';
|
|
14
|
+
import HourglassClockSvg from './hourglass-clock.svg';
|
|
15
|
+
export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg };
|
|
@@ -7,3 +7,5 @@ export * from './components/fw-button/fw-button.vue';
|
|
|
7
7
|
export * from './components/fw-navigation-menu/fw-navigation-menu.vue';
|
|
8
8
|
export * from './components/fw-input/fw-input.vue';
|
|
9
9
|
export * from './components/fw-checkbox/fw-checkbox.vue';
|
|
10
|
+
export * from './components/fw-tabs/fw-tabs.vue';
|
|
11
|
+
export * from './components/fw-tabs/fw-tab.vue';
|