@frollo/frollo-web-ui 9.0.6 → 9.0.8
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 +169 -74
- package/esm/fw-accordion.js +2 -2
- package/esm/fw-alert.js +2 -2
- package/esm/fw-bar-chart.js +1 -1
- package/esm/{fw-button-Brbn5_Sy.js → fw-button-ChYejNWD.js} +4 -4
- package/esm/fw-button.js +2 -2
- package/esm/{fw-card-XGtsK2bM.js → fw-card-DJXjRPUR.js} +1 -1
- package/esm/fw-card.js +1 -1
- package/esm/fw-checkbox.js +23 -9
- package/esm/fw-date-picker.js +2 -2
- package/esm/fw-drawer.js +3 -3
- package/esm/{fw-dropdown-C0PVRFE2.js → fw-dropdown-UJDWtWjF.js} +8 -8
- package/esm/fw-dropdown.js +4 -4
- package/esm/fw-icons.js +1 -1
- package/esm/{fw-image-D3qInb5K.js → fw-image-fzUvzmLv.js} +6 -6
- package/esm/fw-image.js +3 -3
- package/esm/{fw-input-BiPWWfK3.js → fw-input-Bo2gQcvM.js} +40 -11
- package/esm/fw-input.js +1 -1
- package/esm/{fw-loading-bar-3x4tkF1B.js → fw-loading-bar-CPzE92BH.js} +3 -3
- package/esm/fw-loading.js +2 -2
- package/esm/fw-media-picker.js +5 -5
- package/esm/fw-modal.js +8 -8
- package/esm/fw-navigation-menu.js +83 -30
- package/esm/{fw-popover-BZ-zqUme.js → fw-popover-BFiv7Ich.js} +1 -1
- package/esm/fw-popover.js +1 -1
- package/esm/fw-progress-bar.js +2 -2
- package/esm/fw-provider-list.js +9 -9
- package/esm/fw-sidebar-menu.js +3 -3
- package/esm/fw-slider.js +1 -1
- package/esm/fw-switch.js +9 -10
- package/esm/{fw-table-row-BGHMRYZ3.js → fw-table-row-Be4_T3Ai.js} +4 -4
- package/esm/fw-table.js +4 -4
- package/esm/fw-tabs.js +3 -3
- package/esm/{fw-tag-AOIBtPU7.js → fw-tag-B0fVslEZ.js} +3 -3
- package/esm/fw-tag.js +3 -3
- package/esm/fw-toast.js +2 -2
- package/esm/fw-transactions-card.js +5 -5
- package/esm/{index-BdJxq2OU.js → index-Dg62eRFQ.js} +3 -3
- package/esm/{index-_bl1uxse.js → index-v1DX6R2G.js} +1 -1
- package/esm/index.js +12 -12
- package/frollo-web-ui.esm.js +170 -75
- package/index.d.ts +143 -6
- package/package.json +10 -10
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +29 -0
- package/types/components/fw-checkbox/index.types.d.ts +2 -0
- package/types/components/fw-input/fw-input.vue.d.ts +62 -2
- package/types/components/fw-input/index.types.d.ts +4 -0
- package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +42 -1
- package/types/components/fw-navigation-menu/index.types.d.ts +3 -0
- package/types/components/fw-switch/fw-switch.vue.d.ts +2 -4
- package/web-components/index.js +242 -77
package/index.d.ts
CHANGED
|
@@ -12,6 +12,9 @@ type FwInputType = 'text' | 'password' | 'email' | 'tel' | 'time' | 'url' | 'wee
|
|
|
12
12
|
declare interface FwInputProps {
|
|
13
13
|
value: string;
|
|
14
14
|
name: string;
|
|
15
|
+
disableNamePrefix?: boolean;
|
|
16
|
+
inputId?: string;
|
|
17
|
+
inputClass?: string;
|
|
15
18
|
type?: FwInputType;
|
|
16
19
|
label?: string;
|
|
17
20
|
placeholder?: string;
|
|
@@ -24,6 +27,7 @@ declare interface FwInputProps {
|
|
|
24
27
|
enableErrors?: boolean;
|
|
25
28
|
maxLength?: number;
|
|
26
29
|
required?: boolean;
|
|
30
|
+
invalidate?: boolean;
|
|
27
31
|
}
|
|
28
32
|
|
|
29
33
|
declare const __default__$c: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -42,7 +46,28 @@ declare const __default__$c: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
42
46
|
required: true;
|
|
43
47
|
};
|
|
44
48
|
/**
|
|
45
|
-
*
|
|
49
|
+
* Whether to disable the name prefix for the input field.
|
|
50
|
+
*/
|
|
51
|
+
disableNamePrefix: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* The custom id of the input field. Will auto-generate one if not provided.
|
|
57
|
+
*/
|
|
58
|
+
inputId: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* The custom class for the input field.
|
|
64
|
+
*/
|
|
65
|
+
inputClass: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* The input type. Accepts `text` | `password` | `email` | `tel` | `time` | `url` | `week` | `month`
|
|
46
71
|
*/
|
|
47
72
|
type: {
|
|
48
73
|
type: PropType<FwInputType>;
|
|
@@ -124,6 +149,14 @@ declare const __default__$c: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
124
149
|
type: BooleanConstructor;
|
|
125
150
|
default: boolean;
|
|
126
151
|
};
|
|
152
|
+
/**
|
|
153
|
+
* Force triggers the error UI.
|
|
154
|
+
* Use the field validation rule to validate/invalidate input.
|
|
155
|
+
*/
|
|
156
|
+
invalidate: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
required: false;
|
|
159
|
+
};
|
|
127
160
|
}>, {
|
|
128
161
|
inputBaseClass: vue.Ref<string, string>;
|
|
129
162
|
inputValue: vue.WritableComputedRef<string, string>;
|
|
@@ -147,7 +180,28 @@ declare const __default__$c: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
147
180
|
required: true;
|
|
148
181
|
};
|
|
149
182
|
/**
|
|
150
|
-
*
|
|
183
|
+
* Whether to disable the name prefix for the input field.
|
|
184
|
+
*/
|
|
185
|
+
disableNamePrefix: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* The custom id of the input field. Will auto-generate one if not provided.
|
|
191
|
+
*/
|
|
192
|
+
inputId: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
required: false;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* The custom class for the input field.
|
|
198
|
+
*/
|
|
199
|
+
inputClass: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
required: false;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* The input type. Accepts `text` | `password` | `email` | `tel` | `time` | `url` | `week` | `month`
|
|
151
205
|
*/
|
|
152
206
|
type: {
|
|
153
207
|
type: PropType<FwInputType>;
|
|
@@ -229,6 +283,14 @@ declare const __default__$c: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
229
283
|
type: BooleanConstructor;
|
|
230
284
|
default: boolean;
|
|
231
285
|
};
|
|
286
|
+
/**
|
|
287
|
+
* Force triggers the error UI.
|
|
288
|
+
* Use the field validation rule to validate/invalidate input.
|
|
289
|
+
*/
|
|
290
|
+
invalidate: {
|
|
291
|
+
type: BooleanConstructor;
|
|
292
|
+
required: false;
|
|
293
|
+
};
|
|
232
294
|
}>> & Readonly<{
|
|
233
295
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
234
296
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -237,10 +299,12 @@ declare const __default__$c: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
237
299
|
modelValue: string;
|
|
238
300
|
type: FwInputType;
|
|
239
301
|
required: boolean;
|
|
302
|
+
disableNamePrefix: boolean;
|
|
240
303
|
readonly: boolean;
|
|
241
304
|
tabindex: string;
|
|
242
305
|
rounded: boolean;
|
|
243
306
|
enableErrors: boolean;
|
|
307
|
+
invalidate: boolean;
|
|
244
308
|
}, {}, {
|
|
245
309
|
InputField: {
|
|
246
310
|
new (...args: any[]): vue.CreateComponentPublicInstance<Readonly<vue.ExtractPropTypes<{
|
|
@@ -611,6 +675,8 @@ declare interface FwCheckboxProps {
|
|
|
611
675
|
hint?: string;
|
|
612
676
|
enableErrors?: boolean;
|
|
613
677
|
isChecked?: boolean;
|
|
678
|
+
disableNamePrefix?: boolean;
|
|
679
|
+
inputId?: string;
|
|
614
680
|
}
|
|
615
681
|
|
|
616
682
|
declare const __default__$b: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -663,6 +729,20 @@ declare const __default__$b: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
663
729
|
required: false;
|
|
664
730
|
default: undefined;
|
|
665
731
|
};
|
|
732
|
+
/**
|
|
733
|
+
* Whether to disable the name prefix for the input field.
|
|
734
|
+
*/
|
|
735
|
+
disableNamePrefix: {
|
|
736
|
+
type: BooleanConstructor;
|
|
737
|
+
default: boolean;
|
|
738
|
+
};
|
|
739
|
+
/**
|
|
740
|
+
* The custom id of the input field. Will auto-generate one if not provided.
|
|
741
|
+
*/
|
|
742
|
+
inputId: {
|
|
743
|
+
type: StringConstructor;
|
|
744
|
+
required: false;
|
|
745
|
+
};
|
|
666
746
|
}>, {
|
|
667
747
|
uuid: string;
|
|
668
748
|
primaryFade5: string;
|
|
@@ -717,9 +797,24 @@ declare const __default__$b: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
717
797
|
required: false;
|
|
718
798
|
default: undefined;
|
|
719
799
|
};
|
|
800
|
+
/**
|
|
801
|
+
* Whether to disable the name prefix for the input field.
|
|
802
|
+
*/
|
|
803
|
+
disableNamePrefix: {
|
|
804
|
+
type: BooleanConstructor;
|
|
805
|
+
default: boolean;
|
|
806
|
+
};
|
|
807
|
+
/**
|
|
808
|
+
* The custom id of the input field. Will auto-generate one if not provided.
|
|
809
|
+
*/
|
|
810
|
+
inputId: {
|
|
811
|
+
type: StringConstructor;
|
|
812
|
+
required: false;
|
|
813
|
+
};
|
|
720
814
|
}>> & Readonly<{}>, {
|
|
721
815
|
enableErrors: boolean;
|
|
722
816
|
isChecked: boolean;
|
|
817
|
+
disableNamePrefix: boolean;
|
|
723
818
|
}, {}, {
|
|
724
819
|
InputField: {
|
|
725
820
|
new (...args: any[]): vue.CreateComponentPublicInstance<Readonly<vue.ExtractPropTypes<{
|
|
@@ -1309,7 +1404,7 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1309
1404
|
/** v-model If provided, it is the source of truth. */
|
|
1310
1405
|
modelValue: {
|
|
1311
1406
|
type: BooleanConstructor;
|
|
1312
|
-
|
|
1407
|
+
default: undefined;
|
|
1313
1408
|
};
|
|
1314
1409
|
/**
|
|
1315
1410
|
* Progmatically set the checked state of the input.
|
|
@@ -1318,7 +1413,6 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1318
1413
|
isChecked: {
|
|
1319
1414
|
type: BooleanConstructor;
|
|
1320
1415
|
required: false;
|
|
1321
|
-
default: boolean;
|
|
1322
1416
|
};
|
|
1323
1417
|
}>, {
|
|
1324
1418
|
checked: vue.ComputedRef<boolean>;
|
|
@@ -1363,7 +1457,7 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1363
1457
|
/** v-model If provided, it is the source of truth. */
|
|
1364
1458
|
modelValue: {
|
|
1365
1459
|
type: BooleanConstructor;
|
|
1366
|
-
|
|
1460
|
+
default: undefined;
|
|
1367
1461
|
};
|
|
1368
1462
|
/**
|
|
1369
1463
|
* Progmatically set the checked state of the input.
|
|
@@ -1372,7 +1466,6 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1372
1466
|
isChecked: {
|
|
1373
1467
|
type: BooleanConstructor;
|
|
1374
1468
|
required: false;
|
|
1375
|
-
default: boolean;
|
|
1376
1469
|
};
|
|
1377
1470
|
}>> & Readonly<{
|
|
1378
1471
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -2140,6 +2233,9 @@ declare interface FwNavigationMenuProps {
|
|
|
2140
2233
|
authenticated?: boolean;
|
|
2141
2234
|
paddingClasses?: string;
|
|
2142
2235
|
transparent?: boolean;
|
|
2236
|
+
logoSrc?: string;
|
|
2237
|
+
mobileLogoSrc?: string;
|
|
2238
|
+
reversedDesktopNavButton?: boolean;
|
|
2143
2239
|
}
|
|
2144
2240
|
|
|
2145
2241
|
declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -2198,7 +2294,28 @@ declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2198
2294
|
type: BooleanConstructor;
|
|
2199
2295
|
default: boolean;
|
|
2200
2296
|
};
|
|
2297
|
+
/**
|
|
2298
|
+
* The logo image source url for the desktop menu.
|
|
2299
|
+
*/
|
|
2300
|
+
logoSrc: {
|
|
2301
|
+
type: StringConstructor;
|
|
2302
|
+
};
|
|
2303
|
+
/**
|
|
2304
|
+
* The logo image source url for the mobile menu.
|
|
2305
|
+
*/
|
|
2306
|
+
mobileLogoSrc: {
|
|
2307
|
+
type: StringConstructor;
|
|
2308
|
+
};
|
|
2309
|
+
/**
|
|
2310
|
+
* Whether to reverse the colours of the desktop navigation menu items.
|
|
2311
|
+
*/
|
|
2312
|
+
reversedDesktopNavButton: {
|
|
2313
|
+
type: BooleanConstructor;
|
|
2314
|
+
default: boolean;
|
|
2315
|
+
};
|
|
2201
2316
|
}>, {
|
|
2317
|
+
parsedMenuItems: vue.ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
2318
|
+
parsedAdditionalMenuItems: vue.ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
2202
2319
|
mobileMenuClass: vue.Ref<string, string>;
|
|
2203
2320
|
isMobileMenuOpen: vue.Ref<boolean, boolean>;
|
|
2204
2321
|
toggleMobileMenu: () => boolean;
|
|
@@ -2259,6 +2376,25 @@ declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2259
2376
|
type: BooleanConstructor;
|
|
2260
2377
|
default: boolean;
|
|
2261
2378
|
};
|
|
2379
|
+
/**
|
|
2380
|
+
* The logo image source url for the desktop menu.
|
|
2381
|
+
*/
|
|
2382
|
+
logoSrc: {
|
|
2383
|
+
type: StringConstructor;
|
|
2384
|
+
};
|
|
2385
|
+
/**
|
|
2386
|
+
* The logo image source url for the mobile menu.
|
|
2387
|
+
*/
|
|
2388
|
+
mobileLogoSrc: {
|
|
2389
|
+
type: StringConstructor;
|
|
2390
|
+
};
|
|
2391
|
+
/**
|
|
2392
|
+
* Whether to reverse the colours of the desktop navigation menu items.
|
|
2393
|
+
*/
|
|
2394
|
+
reversedDesktopNavButton: {
|
|
2395
|
+
type: BooleanConstructor;
|
|
2396
|
+
default: boolean;
|
|
2397
|
+
};
|
|
2262
2398
|
}>> & Readonly<{
|
|
2263
2399
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
2264
2400
|
}>, {
|
|
@@ -2266,6 +2402,7 @@ declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2266
2402
|
menuEnabled: boolean;
|
|
2267
2403
|
authenticated: boolean;
|
|
2268
2404
|
transparent: boolean;
|
|
2405
|
+
reversedDesktopNavButton: boolean;
|
|
2269
2406
|
}, {}, {
|
|
2270
2407
|
FwButton: vue.ComponentOptions;
|
|
2271
2408
|
FwPopover: vue.ComponentOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frollo/frollo-web-ui",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.8",
|
|
4
4
|
"description": "Frollo's UI library for components, utilities and configs",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./icons": "./icons/index.ts",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"@rollup/plugin-replace": "^5.0.5",
|
|
48
48
|
"@rollup/plugin-url": "^8.0.2",
|
|
49
49
|
"@rollup/pluginutils": "^5.1.0",
|
|
50
|
-
"@storybook/addon-a11y": "^10.
|
|
50
|
+
"@storybook/addon-a11y": "^10.2.14",
|
|
51
51
|
"@storybook/addon-designs": "^11.0.3",
|
|
52
|
-
"@storybook/addon-docs": "^10.
|
|
53
|
-
"@storybook/addon-themes": "^10.
|
|
54
|
-
"@storybook/builder-vite": "^10.
|
|
55
|
-
"@storybook/vue3-vite": "^10.
|
|
52
|
+
"@storybook/addon-docs": "^10.2.14",
|
|
53
|
+
"@storybook/addon-themes": "^10.2.14",
|
|
54
|
+
"@storybook/builder-vite": "^10.2.14",
|
|
55
|
+
"@storybook/vue3-vite": "^10.2.14",
|
|
56
56
|
"@tsconfig/node22": "^22.0.2",
|
|
57
57
|
"@types/lodash-es": "^4.17.12",
|
|
58
58
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
@@ -65,22 +65,22 @@
|
|
|
65
65
|
"eslint": "^9.2.0",
|
|
66
66
|
"eslint-config-prettier": "^9.1.0",
|
|
67
67
|
"eslint-plugin-prettier": "^5.1.3",
|
|
68
|
-
"eslint-plugin-storybook": "10.
|
|
68
|
+
"eslint-plugin-storybook": "^10.2.14",
|
|
69
69
|
"eslint-plugin-vue": "^9.26.0",
|
|
70
70
|
"globals": "^15.2.0",
|
|
71
71
|
"hash-sum": "^2.0.0",
|
|
72
72
|
"jsdom": "^24.0.0",
|
|
73
|
-
"lodash-es": "^4.17.
|
|
73
|
+
"lodash-es": "^4.17.23",
|
|
74
74
|
"postcss": "^8.4.38",
|
|
75
75
|
"prettier": "^3.3.1",
|
|
76
76
|
"rimraf": "^5.0.7",
|
|
77
|
-
"rollup": "^4.
|
|
77
|
+
"rollup": "^4.59.0",
|
|
78
78
|
"rollup-plugin-dts": "^6.1.0",
|
|
79
79
|
"rollup-plugin-postcss": "^4.0.2",
|
|
80
80
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
81
81
|
"rollup-plugin-vue": "^6.0.0",
|
|
82
82
|
"sass": "^1.77.1",
|
|
83
|
-
"storybook": "^10.
|
|
83
|
+
"storybook": "^10.2.14",
|
|
84
84
|
"svgo": "^3.3.2",
|
|
85
85
|
"tailwindcss": "^3.4.3",
|
|
86
86
|
"ts-node": "^10.9.2",
|
|
@@ -50,6 +50,20 @@ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
50
50
|
required: false;
|
|
51
51
|
default: undefined;
|
|
52
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* Whether to disable the name prefix for the input field.
|
|
55
|
+
*/
|
|
56
|
+
disableNamePrefix: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The custom id of the input field. Will auto-generate one if not provided.
|
|
62
|
+
*/
|
|
63
|
+
inputId: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
required: false;
|
|
66
|
+
};
|
|
53
67
|
}>, {
|
|
54
68
|
uuid: string;
|
|
55
69
|
primaryFade5: string;
|
|
@@ -104,9 +118,24 @@ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
104
118
|
required: false;
|
|
105
119
|
default: undefined;
|
|
106
120
|
};
|
|
121
|
+
/**
|
|
122
|
+
* Whether to disable the name prefix for the input field.
|
|
123
|
+
*/
|
|
124
|
+
disableNamePrefix: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* The custom id of the input field. Will auto-generate one if not provided.
|
|
130
|
+
*/
|
|
131
|
+
inputId: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
required: false;
|
|
134
|
+
};
|
|
107
135
|
}>> & Readonly<{}>, {
|
|
108
136
|
enableErrors: boolean;
|
|
109
137
|
isChecked: boolean;
|
|
138
|
+
disableNamePrefix: boolean;
|
|
110
139
|
}, {}, {
|
|
111
140
|
InputField: {
|
|
112
141
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -16,7 +16,28 @@ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Whether to disable the name prefix for the input field.
|
|
20
|
+
*/
|
|
21
|
+
disableNamePrefix: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* The custom id of the input field. Will auto-generate one if not provided.
|
|
27
|
+
*/
|
|
28
|
+
inputId: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: false;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* The custom class for the input field.
|
|
34
|
+
*/
|
|
35
|
+
inputClass: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: false;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* The input type. Accepts `text` | `password` | `email` | `tel` | `time` | `url` | `week` | `month`
|
|
20
41
|
*/
|
|
21
42
|
type: {
|
|
22
43
|
type: PropType<FwInputType>;
|
|
@@ -98,6 +119,14 @@ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
98
119
|
type: BooleanConstructor;
|
|
99
120
|
default: boolean;
|
|
100
121
|
};
|
|
122
|
+
/**
|
|
123
|
+
* Force triggers the error UI.
|
|
124
|
+
* Use the field validation rule to validate/invalidate input.
|
|
125
|
+
*/
|
|
126
|
+
invalidate: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
required: false;
|
|
129
|
+
};
|
|
101
130
|
}>, {
|
|
102
131
|
inputBaseClass: import("vue").Ref<string, string>;
|
|
103
132
|
inputValue: import("vue").WritableComputedRef<string, string>;
|
|
@@ -121,7 +150,28 @@ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
121
150
|
required: true;
|
|
122
151
|
};
|
|
123
152
|
/**
|
|
124
|
-
*
|
|
153
|
+
* Whether to disable the name prefix for the input field.
|
|
154
|
+
*/
|
|
155
|
+
disableNamePrefix: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* The custom id of the input field. Will auto-generate one if not provided.
|
|
161
|
+
*/
|
|
162
|
+
inputId: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
required: false;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* The custom class for the input field.
|
|
168
|
+
*/
|
|
169
|
+
inputClass: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
required: false;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* The input type. Accepts `text` | `password` | `email` | `tel` | `time` | `url` | `week` | `month`
|
|
125
175
|
*/
|
|
126
176
|
type: {
|
|
127
177
|
type: PropType<FwInputType>;
|
|
@@ -203,6 +253,14 @@ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
203
253
|
type: BooleanConstructor;
|
|
204
254
|
default: boolean;
|
|
205
255
|
};
|
|
256
|
+
/**
|
|
257
|
+
* Force triggers the error UI.
|
|
258
|
+
* Use the field validation rule to validate/invalidate input.
|
|
259
|
+
*/
|
|
260
|
+
invalidate: {
|
|
261
|
+
type: BooleanConstructor;
|
|
262
|
+
required: false;
|
|
263
|
+
};
|
|
206
264
|
}>> & Readonly<{
|
|
207
265
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
208
266
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -211,10 +269,12 @@ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
211
269
|
modelValue: string;
|
|
212
270
|
type: FwInputType;
|
|
213
271
|
required: boolean;
|
|
272
|
+
disableNamePrefix: boolean;
|
|
214
273
|
readonly: boolean;
|
|
215
274
|
tabindex: string;
|
|
216
275
|
rounded: boolean;
|
|
217
276
|
enableErrors: boolean;
|
|
277
|
+
invalidate: boolean;
|
|
218
278
|
}, {}, {
|
|
219
279
|
InputField: {
|
|
220
280
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -3,6 +3,9 @@ export type FwInputType = 'text' | 'password' | 'email' | 'tel' | 'time' | 'url'
|
|
|
3
3
|
export declare interface FwInputProps {
|
|
4
4
|
value: string;
|
|
5
5
|
name: string;
|
|
6
|
+
disableNamePrefix?: boolean;
|
|
7
|
+
inputId?: string;
|
|
8
|
+
inputClass?: string;
|
|
6
9
|
type?: FwInputType;
|
|
7
10
|
label?: string;
|
|
8
11
|
placeholder?: string;
|
|
@@ -15,4 +18,5 @@ export declare interface FwInputProps {
|
|
|
15
18
|
enableErrors?: boolean;
|
|
16
19
|
maxLength?: number;
|
|
17
20
|
required?: boolean;
|
|
21
|
+
invalidate?: boolean;
|
|
18
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { FwNavigationMenuProps } from './index.types';
|
|
2
|
+
import type { FwNavigationMenuProps, NavMenuItem } from './index.types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/**
|
|
5
5
|
* An array of menu items
|
|
@@ -56,7 +56,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* The logo image source url for the desktop menu.
|
|
61
|
+
*/
|
|
62
|
+
logoSrc: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* The logo image source url for the mobile menu.
|
|
67
|
+
*/
|
|
68
|
+
mobileLogoSrc: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Whether to reverse the colours of the desktop navigation menu items.
|
|
73
|
+
*/
|
|
74
|
+
reversedDesktopNavButton: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
59
78
|
}>, {
|
|
79
|
+
parsedMenuItems: import("vue").ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
80
|
+
parsedAdditionalMenuItems: import("vue").ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
60
81
|
mobileMenuClass: import("vue").Ref<string, string>;
|
|
61
82
|
isMobileMenuOpen: import("vue").Ref<boolean, boolean>;
|
|
62
83
|
toggleMobileMenu: () => boolean;
|
|
@@ -117,6 +138,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
117
138
|
type: BooleanConstructor;
|
|
118
139
|
default: boolean;
|
|
119
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* The logo image source url for the desktop menu.
|
|
143
|
+
*/
|
|
144
|
+
logoSrc: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* The logo image source url for the mobile menu.
|
|
149
|
+
*/
|
|
150
|
+
mobileLogoSrc: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Whether to reverse the colours of the desktop navigation menu items.
|
|
155
|
+
*/
|
|
156
|
+
reversedDesktopNavButton: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
120
160
|
}>> & Readonly<{
|
|
121
161
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
122
162
|
}>, {
|
|
@@ -124,6 +164,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
124
164
|
menuEnabled: boolean;
|
|
125
165
|
authenticated: boolean;
|
|
126
166
|
transparent: boolean;
|
|
167
|
+
reversedDesktopNavButton: boolean;
|
|
127
168
|
}, {}, {
|
|
128
169
|
FwButton: import("vue").ComponentOptions;
|
|
129
170
|
FwPopover: import("vue").ComponentOptions;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
/** v-model If provided, it is the source of truth. */
|
|
39
39
|
modelValue: {
|
|
40
40
|
type: BooleanConstructor;
|
|
41
|
-
|
|
41
|
+
default: undefined;
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
44
|
* Progmatically set the checked state of the input.
|
|
@@ -47,7 +47,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
isChecked: {
|
|
48
48
|
type: BooleanConstructor;
|
|
49
49
|
required: false;
|
|
50
|
-
default: boolean;
|
|
51
50
|
};
|
|
52
51
|
}>, {
|
|
53
52
|
checked: import("vue").ComputedRef<boolean>;
|
|
@@ -92,7 +91,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
92
91
|
/** v-model If provided, it is the source of truth. */
|
|
93
92
|
modelValue: {
|
|
94
93
|
type: BooleanConstructor;
|
|
95
|
-
|
|
94
|
+
default: undefined;
|
|
96
95
|
};
|
|
97
96
|
/**
|
|
98
97
|
* Progmatically set the checked state of the input.
|
|
@@ -101,7 +100,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
100
|
isChecked: {
|
|
102
101
|
type: BooleanConstructor;
|
|
103
102
|
required: false;
|
|
104
|
-
default: boolean;
|
|
105
103
|
};
|
|
106
104
|
}>> & Readonly<{
|
|
107
105
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|