@frollo/frollo-web-ui 0.2.0 → 0.2.3
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 +283 -90
- 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 +5 -4
- package/esm/fw-progress-bar.js +90 -0
- package/esm/fw-tabs.js +5 -3
- package/esm/{index-963039a3.js → index-59d76908.js} +2 -2
- package/esm/index-dd50b12a.js +326 -0
- package/esm/index.js +20 -11
- package/esm/is-forced-3323c994.js +438 -0
- package/frollo-web-ui.esm.js +325 -107
- package/index.d.ts +126 -10
- 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-progress-bar/fw-progress-bar.vue.d.ts +52 -0
- package/types/components/fw-progress-bar/index.d.ts +2 -0
- package/types/components/fw-progress-bar/index.types.d.ts +5 -0
- 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 +2 -0
- package/types/components/index.types.d.ts +1 -0
- package/esm/add-to-unscopables-81c17489.js +0 -673
- package/esm/index-0e14da44.js +0 -561
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
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
6
|
declare type FwInputType = 'text' | 'password';
|
|
6
7
|
declare interface FwInputProps {
|
|
@@ -14,7 +15,7 @@ declare interface FwInputProps {
|
|
|
14
15
|
hint?: string;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
declare const _default$
|
|
18
|
+
declare const _default$8: vue.DefineComponent<{
|
|
18
19
|
/**
|
|
19
20
|
* The input v-model
|
|
20
21
|
*/
|
|
@@ -148,7 +149,7 @@ declare const _default$7: vue.DefineComponent<{
|
|
|
148
149
|
readonly: boolean;
|
|
149
150
|
}>;
|
|
150
151
|
|
|
151
|
-
declare const _default$
|
|
152
|
+
declare const _default$7: vue.DefineComponent<{
|
|
152
153
|
/**
|
|
153
154
|
* The name of the input field. Must be unique per form.
|
|
154
155
|
*/
|
|
@@ -202,7 +203,7 @@ declare const _default$6: vue.DefineComponent<{
|
|
|
202
203
|
};
|
|
203
204
|
}>>, {}>;
|
|
204
205
|
|
|
205
|
-
declare const _default$
|
|
206
|
+
declare const _default$6: vue.DefineComponent<{
|
|
206
207
|
/**
|
|
207
208
|
* The header title of the card
|
|
208
209
|
*/
|
|
@@ -275,7 +276,7 @@ declare interface FwButtonProps {
|
|
|
275
276
|
buttonType?: ButtonTypeAttribute;
|
|
276
277
|
}
|
|
277
278
|
|
|
278
|
-
declare const _default$
|
|
279
|
+
declare const _default$5: vue.DefineComponent<{
|
|
279
280
|
/**
|
|
280
281
|
* A `router-link` path or object
|
|
281
282
|
*/
|
|
@@ -377,7 +378,7 @@ declare interface NavMenuItem {
|
|
|
377
378
|
label: string;
|
|
378
379
|
}
|
|
379
380
|
|
|
380
|
-
declare const _default$
|
|
381
|
+
declare const _default$4: vue.DefineComponent<{
|
|
381
382
|
/**
|
|
382
383
|
* An array of menu items
|
|
383
384
|
* `{ to?: string | object; href?: string; label: string; }`
|
|
@@ -416,7 +417,7 @@ declare const _default$3: vue.DefineComponent<{
|
|
|
416
417
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
417
418
|
}, {}>;
|
|
418
419
|
|
|
419
|
-
declare const _default$
|
|
420
|
+
declare const _default$3: vue.DefineComponent<{
|
|
420
421
|
/**
|
|
421
422
|
* The active tab v-model
|
|
422
423
|
*/
|
|
@@ -426,7 +427,7 @@ declare const _default$2: vue.DefineComponent<{
|
|
|
426
427
|
};
|
|
427
428
|
}, {
|
|
428
429
|
active: vue.ComputedRef<number>;
|
|
429
|
-
tabs: vue.Ref<
|
|
430
|
+
tabs: vue.Ref<any>;
|
|
430
431
|
selectTab: (tab: number) => void;
|
|
431
432
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
432
433
|
/**
|
|
@@ -440,7 +441,7 @@ declare const _default$2: vue.DefineComponent<{
|
|
|
440
441
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
441
442
|
}, {}>;
|
|
442
443
|
|
|
443
|
-
declare const _default$
|
|
444
|
+
declare const _default$2: vue.DefineComponent<{
|
|
444
445
|
/**
|
|
445
446
|
* The label of the tab component used as the button panel label
|
|
446
447
|
*/
|
|
@@ -451,6 +452,17 @@ declare const _default$1: vue.DefineComponent<{
|
|
|
451
452
|
}, {
|
|
452
453
|
isActive: vue.ComputedRef<boolean>;
|
|
453
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
|
+
}>>;
|
|
454
466
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
455
467
|
/**
|
|
456
468
|
* The label of the tab component used as the button panel label
|
|
@@ -461,7 +473,7 @@ declare const _default$1: vue.DefineComponent<{
|
|
|
461
473
|
};
|
|
462
474
|
}>>, {}>;
|
|
463
475
|
|
|
464
|
-
declare const _default: vue.DefineComponent<{
|
|
476
|
+
declare const _default$1: vue.DefineComponent<{
|
|
465
477
|
/**
|
|
466
478
|
* The header title of the modal
|
|
467
479
|
*/
|
|
@@ -604,6 +616,110 @@ declare const _default: vue.DefineComponent<{
|
|
|
604
616
|
confirmButtonType: ButtonVariantName;
|
|
605
617
|
}>;
|
|
606
618
|
|
|
619
|
+
declare interface ProgressBarStep {
|
|
620
|
+
label: string;
|
|
621
|
+
position: number;
|
|
622
|
+
subSteps: number;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
declare const _default: vue.DefineComponent<{
|
|
626
|
+
/**
|
|
627
|
+
* An array of menu progress steps.
|
|
628
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
629
|
+
*/
|
|
630
|
+
steps: {
|
|
631
|
+
type: PropType<ProgressBarStep[]>;
|
|
632
|
+
required: true;
|
|
633
|
+
};
|
|
634
|
+
/**
|
|
635
|
+
* An current active step.
|
|
636
|
+
*/
|
|
637
|
+
activeStep: {
|
|
638
|
+
type: NumberConstructor;
|
|
639
|
+
required: true;
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* An current active sub-step.
|
|
643
|
+
*/
|
|
644
|
+
activeSubStep: {
|
|
645
|
+
type: NumberConstructor;
|
|
646
|
+
required: true;
|
|
647
|
+
};
|
|
648
|
+
}, {
|
|
649
|
+
calculatedProgressBar: (step: ProgressBarStep) => string;
|
|
650
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
651
|
+
/**
|
|
652
|
+
* An array of menu progress steps.
|
|
653
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
654
|
+
*/
|
|
655
|
+
steps: {
|
|
656
|
+
type: PropType<ProgressBarStep[]>;
|
|
657
|
+
required: true;
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* An current active step.
|
|
661
|
+
*/
|
|
662
|
+
activeStep: {
|
|
663
|
+
type: NumberConstructor;
|
|
664
|
+
required: true;
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* An current active sub-step.
|
|
668
|
+
*/
|
|
669
|
+
activeSubStep: {
|
|
670
|
+
type: NumberConstructor;
|
|
671
|
+
required: true;
|
|
672
|
+
};
|
|
673
|
+
}>>, {}>;
|
|
674
|
+
|
|
675
|
+
declare const __default__$1: vue.DefineComponent<{
|
|
676
|
+
/**
|
|
677
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
678
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
679
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
680
|
+
*/
|
|
681
|
+
animationIteration: {
|
|
682
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
683
|
+
default: number;
|
|
684
|
+
};
|
|
685
|
+
}, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
686
|
+
/**
|
|
687
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
688
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
689
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
690
|
+
*/
|
|
691
|
+
animationIteration: {
|
|
692
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
693
|
+
default: number;
|
|
694
|
+
};
|
|
695
|
+
}>>, {
|
|
696
|
+
animationIteration: string | number;
|
|
697
|
+
}>;
|
|
698
|
+
|
|
699
|
+
declare const __default__: vue.DefineComponent<{
|
|
700
|
+
/**
|
|
701
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
702
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
703
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
704
|
+
*/
|
|
705
|
+
animationIteration: {
|
|
706
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
707
|
+
default: number;
|
|
708
|
+
};
|
|
709
|
+
}, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
710
|
+
/**
|
|
711
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
712
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
713
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
714
|
+
*/
|
|
715
|
+
animationIteration: {
|
|
716
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
717
|
+
default: number;
|
|
718
|
+
};
|
|
719
|
+
}>>, {
|
|
720
|
+
animationIteration: string | number;
|
|
721
|
+
}>;
|
|
722
|
+
|
|
607
723
|
declare interface FwModalProps {
|
|
608
724
|
header?: string;
|
|
609
725
|
body?: string;
|
|
@@ -643,4 +759,4 @@ declare interface FwCheckboxProps {
|
|
|
643
759
|
|
|
644
760
|
declare module '@frollo/frollo-web-ui/icons' { }
|
|
645
761
|
|
|
646
|
-
export { ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$
|
|
762
|
+
export { ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$5 as FwButton, FwButtonProps, _default$6 as FwCard, FwCardProps, _default$7 as FwCheckbox, FwCheckboxProps, __default__$1 as FwEmailPulse, _default$8 as FwInput, FwInputProps, FwInputType, _default$1 as FwModal, FwModalProps, _default$4 as FwNavigationMenu, _default as FwProgressBar, __default__ as FwSuccessPulse, _default$2 as FwTab, _default$3 as FwTabs, ModalServiceProps, NavMenuItem, ProgressBarStep, 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__;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ProgressBarStep } from './index.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* An array of menu progress steps.
|
|
6
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
7
|
+
*/
|
|
8
|
+
steps: {
|
|
9
|
+
type: PropType<ProgressBarStep[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* An current active step.
|
|
14
|
+
*/
|
|
15
|
+
activeStep: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* An current active sub-step.
|
|
21
|
+
*/
|
|
22
|
+
activeSubStep: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
calculatedProgressBar: (step: ProgressBarStep) => string;
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
/**
|
|
30
|
+
* An array of menu progress steps.
|
|
31
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
32
|
+
*/
|
|
33
|
+
steps: {
|
|
34
|
+
type: PropType<ProgressBarStep[]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* An current active step.
|
|
39
|
+
*/
|
|
40
|
+
activeStep: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* An current active sub-step.
|
|
46
|
+
*/
|
|
47
|
+
activeSubStep: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
}>>, {}>;
|
|
52
|
+
export default _default;
|
|
@@ -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
|
/**
|
|
@@ -4,3 +4,4 @@ export * from '../components/fw-navigation-menu/index.types';
|
|
|
4
4
|
export * from '../components/fw-input/index.types';
|
|
5
5
|
export * from '../components/fw-checkbox/index.types';
|
|
6
6
|
export * from '../components/fw-modal/index.types';
|
|
7
|
+
export * from '../components/fw-progress-bar/index.types';
|