@frollo/frollo-web-ui 9.0.5 → 9.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/cjs/index.js +371 -262
- 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-Cj5UEwCt.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-CnY-nWFa.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-MQo9Gq8s.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 +4 -4
- package/esm/{fw-table-row-PzizodKH.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-D07xz6yt.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-DnLeG0TM.js → index-Dg62eRFQ.js} +3 -3
- package/esm/{index-BxwEcRoY.js → index-v1DX6R2G.js} +174 -159
- package/esm/index.js +12 -12
- package/frollo-web-ui.esm.js +378 -267
- package/icons/circle-plus.svg +3 -0
- package/icons/index.ts +3 -1
- package/index.d.ts +141 -2
- 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/icons/index.d.ts +2 -1
- package/web-components/index.js +452 -271
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M26.25 38.5V29.75H17.5C16.5375 29.75 15.75 28.9625 15.75 28C15.75 27.0375 16.5375 26.25 17.5 26.25H26.25V17.5C26.25 16.5375 27.0375 15.75 28 15.75C28.9625 15.75 29.75 16.5375 29.75 17.5V26.25H38.5C39.4625 26.25 40.25 27.0375 40.25 28C40.25 28.9625 39.4625 29.75 38.5 29.75H29.75V38.5C29.75 39.4625 28.9625 40.25 28 40.25C27.0375 40.25 26.25 39.4625 26.25 38.5ZM56 28C56 43.4656 43.4656 56 28 56C12.5344 56 0 43.4656 0 28C0 12.5344 12.5344 0 28 0C43.4656 0 56 12.5344 56 28ZM28 3.5C14.4703 3.5 3.5 14.4703 3.5 28C3.5 41.5297 14.4703 52.5 28 52.5C41.5297 52.5 52.5 41.5297 52.5 28C52.5 14.4703 41.5297 3.5 28 3.5Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
package/icons/index.ts
CHANGED
|
@@ -63,6 +63,7 @@ import UserPlusSvg from './user-plus.svg';
|
|
|
63
63
|
import ManualAccountSvg from './manual-account.svg';
|
|
64
64
|
import DefaultProviderSvg from './default-provider.svg';
|
|
65
65
|
import PendingSvg from './pending.svg';
|
|
66
|
+
import CirclePlusSvg from './circle-plus.svg';
|
|
66
67
|
|
|
67
68
|
export {
|
|
68
69
|
ViewSvg,
|
|
@@ -129,5 +130,6 @@ export {
|
|
|
129
130
|
UserPlusSvg,
|
|
130
131
|
ManualAccountSvg,
|
|
131
132
|
DefaultProviderSvg,
|
|
132
|
-
PendingSvg
|
|
133
|
+
PendingSvg,
|
|
134
|
+
CirclePlusSvg
|
|
133
135
|
};
|
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<{
|
|
@@ -2140,6 +2235,9 @@ declare interface FwNavigationMenuProps {
|
|
|
2140
2235
|
authenticated?: boolean;
|
|
2141
2236
|
paddingClasses?: string;
|
|
2142
2237
|
transparent?: boolean;
|
|
2238
|
+
logoSrc?: string;
|
|
2239
|
+
mobileLogoSrc?: string;
|
|
2240
|
+
reversedDesktopNavButton?: boolean;
|
|
2143
2241
|
}
|
|
2144
2242
|
|
|
2145
2243
|
declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -2198,7 +2296,28 @@ declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2198
2296
|
type: BooleanConstructor;
|
|
2199
2297
|
default: boolean;
|
|
2200
2298
|
};
|
|
2299
|
+
/**
|
|
2300
|
+
* The logo image source url for the desktop menu.
|
|
2301
|
+
*/
|
|
2302
|
+
logoSrc: {
|
|
2303
|
+
type: StringConstructor;
|
|
2304
|
+
};
|
|
2305
|
+
/**
|
|
2306
|
+
* The logo image source url for the mobile menu.
|
|
2307
|
+
*/
|
|
2308
|
+
mobileLogoSrc: {
|
|
2309
|
+
type: StringConstructor;
|
|
2310
|
+
};
|
|
2311
|
+
/**
|
|
2312
|
+
* Whether to reverse the colours of the desktop navigation menu items.
|
|
2313
|
+
*/
|
|
2314
|
+
reversedDesktopNavButton: {
|
|
2315
|
+
type: BooleanConstructor;
|
|
2316
|
+
default: boolean;
|
|
2317
|
+
};
|
|
2201
2318
|
}>, {
|
|
2319
|
+
parsedMenuItems: vue.ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
2320
|
+
parsedAdditionalMenuItems: vue.ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
2202
2321
|
mobileMenuClass: vue.Ref<string, string>;
|
|
2203
2322
|
isMobileMenuOpen: vue.Ref<boolean, boolean>;
|
|
2204
2323
|
toggleMobileMenu: () => boolean;
|
|
@@ -2259,6 +2378,25 @@ declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2259
2378
|
type: BooleanConstructor;
|
|
2260
2379
|
default: boolean;
|
|
2261
2380
|
};
|
|
2381
|
+
/**
|
|
2382
|
+
* The logo image source url for the desktop menu.
|
|
2383
|
+
*/
|
|
2384
|
+
logoSrc: {
|
|
2385
|
+
type: StringConstructor;
|
|
2386
|
+
};
|
|
2387
|
+
/**
|
|
2388
|
+
* The logo image source url for the mobile menu.
|
|
2389
|
+
*/
|
|
2390
|
+
mobileLogoSrc: {
|
|
2391
|
+
type: StringConstructor;
|
|
2392
|
+
};
|
|
2393
|
+
/**
|
|
2394
|
+
* Whether to reverse the colours of the desktop navigation menu items.
|
|
2395
|
+
*/
|
|
2396
|
+
reversedDesktopNavButton: {
|
|
2397
|
+
type: BooleanConstructor;
|
|
2398
|
+
default: boolean;
|
|
2399
|
+
};
|
|
2262
2400
|
}>> & Readonly<{
|
|
2263
2401
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
2264
2402
|
}>, {
|
|
@@ -2266,6 +2404,7 @@ declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2266
2404
|
menuEnabled: boolean;
|
|
2267
2405
|
authenticated: boolean;
|
|
2268
2406
|
transparent: boolean;
|
|
2407
|
+
reversedDesktopNavButton: boolean;
|
|
2269
2408
|
}, {}, {
|
|
2270
2409
|
FwButton: vue.ComponentOptions;
|
|
2271
2410
|
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.7",
|
|
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;
|
package/types/icons/index.d.ts
CHANGED
|
@@ -63,4 +63,5 @@ import UserPlusSvg from './user-plus.svg';
|
|
|
63
63
|
import ManualAccountSvg from './manual-account.svg';
|
|
64
64
|
import DefaultProviderSvg from './default-provider.svg';
|
|
65
65
|
import PendingSvg from './pending.svg';
|
|
66
|
-
|
|
66
|
+
import CirclePlusSvg from './circle-plus.svg';
|
|
67
|
+
export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg, ChevronUpSvg, ChevronDownSvg, ChevronRightSvg, ChevronLeftSvg, ErrorFilledSvg, LightBulbSvg, LandmarkSvg, CoinsSvg, CaretDownSvg, SortLightSvg, PlusSvg, UserSvg, LoadingSvg, BullseyeSvg, SolidCheckSvg, SolidXMarkSvg, ArrowSortSvg, ArrowDownSvg, SearchSvg, XMarkSvg, PenSvg, CalendarSvg, CalendarDaySvg, EllipsisSvg, ChartLineUpSvg, SackDollarSvg, MountainFlagSvg, CloudArrowUpSvg, GuideSvg, ArrowRotateSvg, InfoCircleRegularSvg, CopyChainSvg, ArrowLeftSvg, ArrowRightSvg, ArrowOutSquareSvg, ArrowConnectSvg, CircleExclamationSvg, CircleCheckSvg, ClockSvg, DesktopSvg, ErrorSvg, FolderArrowDownSvg, MobileSvg, PaperPlaneSvg, SuccessHillSvg, UserPlusSvg, ManualAccountSvg, DefaultProviderSvg, PendingSvg, CirclePlusSvg };
|