@frollo/frollo-web-ui 0.1.2 → 0.2.2
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 +282 -212
- package/esm/add-to-unscopables-82352072.js +239 -0
- package/esm/{es.array.includes-debcb50f.js → es.array.includes-33e186c4.js} +3 -2
- package/esm/{es.function.name-e746680f.js → es.function.name-3a9c8706.js} +1 -1
- package/esm/es.number.constructor-f646730f.js +243 -0
- package/esm/{function-name-f0c1223e.js → function-name-3bda6320.js} +1 -1
- package/esm/fw-animations.js +136 -0
- package/esm/{fw-button-ab906734.js → fw-button-22301a2f.js} +1 -1
- package/esm/fw-button.js +5 -4
- package/esm/fw-card.js +1 -1
- package/esm/fw-checkbox.js +2 -2
- package/esm/fw-input.js +5 -4
- package/esm/fw-modal.js +6 -5
- package/esm/fw-navigation-menu.js +12 -67
- package/esm/fw-tabs.js +5 -4
- package/esm/{index-963039a3.js → index-59d76908.js} +2 -2
- package/esm/{index-5ee56f7d.js → index-dd50b12a.js} +31 -219
- package/esm/index.js +19 -14
- package/esm/is-forced-3323c994.js +438 -0
- package/frollo-web-ui.esm.js +307 -229
- package/index.d.ts +64 -16
- package/package.json +1 -1
- package/types/components/fw-animations/fw-email-pulse.vue.d.ts +24 -0
- package/types/components/fw-animations/fw-success-pulse.vue.d.ts +24 -0
- package/types/components/fw-animations/index.d.ts +3 -0
- package/types/components/fw-button/index.types.d.ts +1 -9
- package/types/components/fw-input/index.types.d.ts +1 -4
- package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +0 -2
- package/types/components/fw-tabs/fw-tab.vue.d.ts +11 -0
- package/types/components/fw-tabs/fw-tabs.vue.d.ts +1 -1
- package/types/components/index.d.ts +1 -0
- package/esm/add-to-unscopables-81c17489.js +0 -673
- package/esm/to-string-139f1ee8.js +0 -52
package/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType, Plugin } from 'vue';
|
|
3
3
|
export { Form as FwForm } from 'vee-validate';
|
|
4
|
+
import * as _vue_shared from '@vue/shared';
|
|
4
5
|
|
|
5
|
-
declare
|
|
6
|
-
text = "text",
|
|
7
|
-
password = "password"
|
|
8
|
-
}
|
|
6
|
+
declare type FwInputType = 'text' | 'password';
|
|
9
7
|
declare interface FwInputProps {
|
|
10
8
|
value: string;
|
|
11
9
|
name: string;
|
|
@@ -256,15 +254,7 @@ declare const _default$5: vue.DefineComponent<{
|
|
|
256
254
|
href: StringConstructor;
|
|
257
255
|
}>>, {}>;
|
|
258
256
|
|
|
259
|
-
declare
|
|
260
|
-
primary = "primary",
|
|
261
|
-
secondary = "secondary",
|
|
262
|
-
tertiary = "tertiary",
|
|
263
|
-
error = "error",
|
|
264
|
-
success = "success",
|
|
265
|
-
text = "text",
|
|
266
|
-
link = "link"
|
|
267
|
-
}
|
|
257
|
+
declare type ButtonVariantName = 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'link' | 'text';
|
|
268
258
|
declare interface ButtonDefinition {
|
|
269
259
|
text: string;
|
|
270
260
|
background: string;
|
|
@@ -408,7 +398,6 @@ declare const _default$3: vue.DefineComponent<{
|
|
|
408
398
|
isMobileMenuOpen: vue.Ref<boolean>;
|
|
409
399
|
toggleMobileMenu: () => boolean;
|
|
410
400
|
actionClicked: () => void;
|
|
411
|
-
ButtonVariantName: typeof ButtonVariantName;
|
|
412
401
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "action"[], "action", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
413
402
|
/**
|
|
414
403
|
* An array of menu items
|
|
@@ -438,7 +427,7 @@ declare const _default$2: vue.DefineComponent<{
|
|
|
438
427
|
};
|
|
439
428
|
}, {
|
|
440
429
|
active: vue.ComputedRef<number>;
|
|
441
|
-
tabs: vue.Ref<
|
|
430
|
+
tabs: vue.Ref<any>;
|
|
442
431
|
selectTab: (tab: number) => void;
|
|
443
432
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
444
433
|
/**
|
|
@@ -463,6 +452,17 @@ declare const _default$1: vue.DefineComponent<{
|
|
|
463
452
|
}, {
|
|
464
453
|
isActive: vue.ComputedRef<boolean>;
|
|
465
454
|
index: vue.ComputedRef<any>;
|
|
455
|
+
props: Readonly<_vue_shared.LooseRequired<Readonly<vue.ExtractPropTypes<{
|
|
456
|
+
/**
|
|
457
|
+
* The label of the tab component used as the button panel label
|
|
458
|
+
*/
|
|
459
|
+
label: {
|
|
460
|
+
type: StringConstructor;
|
|
461
|
+
required: true;
|
|
462
|
+
};
|
|
463
|
+
}>> & {
|
|
464
|
+
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
465
|
+
}>>;
|
|
466
466
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
467
467
|
/**
|
|
468
468
|
* The label of the tab component used as the button panel label
|
|
@@ -616,6 +616,54 @@ declare const _default: vue.DefineComponent<{
|
|
|
616
616
|
confirmButtonType: ButtonVariantName;
|
|
617
617
|
}>;
|
|
618
618
|
|
|
619
|
+
declare const __default__$1: vue.DefineComponent<{
|
|
620
|
+
/**
|
|
621
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
622
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
623
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
624
|
+
*/
|
|
625
|
+
animationIteration: {
|
|
626
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
627
|
+
default: number;
|
|
628
|
+
};
|
|
629
|
+
}, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
630
|
+
/**
|
|
631
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
632
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
633
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
634
|
+
*/
|
|
635
|
+
animationIteration: {
|
|
636
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
637
|
+
default: number;
|
|
638
|
+
};
|
|
639
|
+
}>>, {
|
|
640
|
+
animationIteration: string | number;
|
|
641
|
+
}>;
|
|
642
|
+
|
|
643
|
+
declare const __default__: vue.DefineComponent<{
|
|
644
|
+
/**
|
|
645
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
646
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
647
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
648
|
+
*/
|
|
649
|
+
animationIteration: {
|
|
650
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
651
|
+
default: number;
|
|
652
|
+
};
|
|
653
|
+
}, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
654
|
+
/**
|
|
655
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
656
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
657
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
658
|
+
*/
|
|
659
|
+
animationIteration: {
|
|
660
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
661
|
+
default: number;
|
|
662
|
+
};
|
|
663
|
+
}>>, {
|
|
664
|
+
animationIteration: string | number;
|
|
665
|
+
}>;
|
|
666
|
+
|
|
619
667
|
declare interface FwModalProps {
|
|
620
668
|
header?: string;
|
|
621
669
|
body?: string;
|
|
@@ -655,4 +703,4 @@ declare interface FwCheckboxProps {
|
|
|
655
703
|
|
|
656
704
|
declare module '@frollo/frollo-web-ui/icons' { }
|
|
657
705
|
|
|
658
|
-
export { ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$4 as FwButton, FwButtonProps, _default$5 as FwCard, FwCardProps, _default$6 as FwCheckbox, FwCheckboxProps, _default$7 as FwInput, FwInputProps, FwInputType, _default as FwModal, FwModalProps, _default$3 as FwNavigationMenu, _default$1 as FwTab, _default$2 as FwTabs, ModalServiceProps, NavMenuItem, install as default, modalService };
|
|
706
|
+
export { ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$4 as FwButton, FwButtonProps, _default$5 as FwCard, FwCardProps, _default$6 as FwCheckbox, FwCheckboxProps, __default__$1 as FwEmailPulse, _default$7 as FwInput, FwInputProps, FwInputType, _default as FwModal, FwModalProps, _default$3 as FwNavigationMenu, __default__ as FwSuccessPulse, _default$1 as FwTab, _default$2 as FwTabs, ModalServiceProps, NavMenuItem, install as default, modalService };
|
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const __default__: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
4
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
5
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
6
|
+
*/
|
|
7
|
+
animationIteration: {
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
/**
|
|
13
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
14
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
15
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
16
|
+
*/
|
|
17
|
+
animationIteration: {
|
|
18
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
animationIteration: string | number;
|
|
23
|
+
}>;
|
|
24
|
+
export default __default__;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const __default__: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
4
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
5
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
6
|
+
*/
|
|
7
|
+
animationIteration: {
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
/**
|
|
13
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
14
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
15
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
16
|
+
*/
|
|
17
|
+
animationIteration: {
|
|
18
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
animationIteration: string | number;
|
|
23
|
+
}>;
|
|
24
|
+
export default __default__;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
primary = "primary",
|
|
3
|
-
secondary = "secondary",
|
|
4
|
-
tertiary = "tertiary",
|
|
5
|
-
error = "error",
|
|
6
|
-
success = "success",
|
|
7
|
-
text = "text",
|
|
8
|
-
link = "link"
|
|
9
|
-
}
|
|
1
|
+
export declare type ButtonVariantName = 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'link' | 'text';
|
|
10
2
|
export declare interface ButtonDefinition {
|
|
11
3
|
text: string;
|
|
12
4
|
background: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { NavMenuItem } from './index.types';
|
|
3
|
-
import { ButtonVariantName } from '../fw-button/index.types';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
/**
|
|
6
5
|
* An array of menu items
|
|
@@ -21,7 +20,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
20
|
isMobileMenuOpen: import("vue").Ref<boolean>;
|
|
22
21
|
toggleMobileMenu: () => boolean;
|
|
23
22
|
actionClicked: () => void;
|
|
24
|
-
ButtonVariantName: typeof ButtonVariantName;
|
|
25
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "action"[], "action", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
24
|
/**
|
|
27
25
|
* An array of menu items
|
|
@@ -9,6 +9,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
}, {
|
|
10
10
|
isActive: import("vue").ComputedRef<boolean>;
|
|
11
11
|
index: import("vue").ComputedRef<any>;
|
|
12
|
+
props: Readonly<import("@vue/shared").LooseRequired<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
|
+
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
22
|
+
}>>;
|
|
12
23
|
}, 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
24
|
/**
|
|
14
25
|
* The label of the tab component used as the button panel label
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
};
|
|
9
9
|
}, {
|
|
10
10
|
active: import("vue").ComputedRef<number>;
|
|
11
|
-
tabs: import("vue").Ref<
|
|
11
|
+
tabs: import("vue").Ref<any>;
|
|
12
12
|
selectTab: (tab: number) => void;
|
|
13
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
14
|
/**
|