@frollo/frollo-web-ui 8.1.1 → 8.2.0
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 +223 -162
- package/esm/fw-period-selector.js +76 -0
- package/esm/fw-provider-list.js +1 -1
- package/esm/{fw-table-row-Cianlk0N.js → fw-table-row-CBQBV4yq.js} +10 -10
- package/esm/fw-table.js +1 -1
- package/esm/index.js +20 -18
- package/frollo-web-ui.esm.js +271 -203
- package/index.d.ts +63 -23
- package/package.json +1 -1
- package/types/components/fw-period-selector/fw-period-selector.vue.d.ts +42 -0
- package/types/components/fw-period-selector/index.d.ts +2 -0
- package/types/components/fw-period-selector/index.types.d.ts +1 -0
- package/types/components/index.d.ts +1 -0
- package/web-components/index.js +273 -205
package/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare interface FwInputProps {
|
|
|
25
25
|
required?: boolean;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
declare const _default$
|
|
28
|
+
declare const _default$n: vue.DefineComponent<{
|
|
29
29
|
/**
|
|
30
30
|
* The input v-model
|
|
31
31
|
*/
|
|
@@ -246,7 +246,7 @@ declare const _default$m: vue.DefineComponent<{
|
|
|
246
246
|
centerAlignInput: boolean;
|
|
247
247
|
}, {}>;
|
|
248
248
|
|
|
249
|
-
declare const _default$
|
|
249
|
+
declare const _default$m: vue.DefineComponent<{
|
|
250
250
|
/**
|
|
251
251
|
* The name of the checkbox input field.
|
|
252
252
|
* Multiple checkboxes can use the same name with a unique value.
|
|
@@ -370,7 +370,7 @@ declare interface FwDropdownProps {
|
|
|
370
370
|
required?: boolean;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
declare const _default$
|
|
373
|
+
declare const _default$l: vue.DefineComponent<{
|
|
374
374
|
/**
|
|
375
375
|
* The select v-model
|
|
376
376
|
*/
|
|
@@ -522,7 +522,7 @@ declare const _default$k: vue.DefineComponent<{
|
|
|
522
522
|
required: boolean;
|
|
523
523
|
}, {}>;
|
|
524
524
|
|
|
525
|
-
declare const _default$
|
|
525
|
+
declare const _default$k: vue.DefineComponent<{
|
|
526
526
|
/**
|
|
527
527
|
* The header title of the card
|
|
528
528
|
*/
|
|
@@ -632,7 +632,7 @@ declare interface FwButtonProps {
|
|
|
632
632
|
external?: boolean;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
|
-
declare const _default$
|
|
635
|
+
declare const _default$j: vue.DefineComponent<{
|
|
636
636
|
/**
|
|
637
637
|
* The label text of the button.
|
|
638
638
|
* Overrides the default slot content.
|
|
@@ -828,7 +828,7 @@ declare interface NavMenuItem {
|
|
|
828
828
|
onClick?: () => void;
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
declare const _default$
|
|
831
|
+
declare const _default$i: vue.DefineComponent<{
|
|
832
832
|
/**
|
|
833
833
|
* An array of menu items
|
|
834
834
|
* `{ to?: string | object; href?: string; label: string; }`
|
|
@@ -891,7 +891,7 @@ declare interface FwTabsProps {
|
|
|
891
891
|
modelValue: number;
|
|
892
892
|
}
|
|
893
893
|
|
|
894
|
-
declare const _default$
|
|
894
|
+
declare const _default$h: vue.DefineComponent<{
|
|
895
895
|
/**
|
|
896
896
|
* The active tab v-model
|
|
897
897
|
*/
|
|
@@ -914,7 +914,7 @@ declare const _default$g: vue.DefineComponent<{
|
|
|
914
914
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
915
915
|
}, {}, {}>;
|
|
916
916
|
|
|
917
|
-
declare const _default$
|
|
917
|
+
declare const _default$g: vue.DefineComponent<{
|
|
918
918
|
/**
|
|
919
919
|
* The label of the tab component used as the button panel label
|
|
920
920
|
*/
|
|
@@ -938,7 +938,7 @@ declare const _default$f: vue.DefineComponent<{
|
|
|
938
938
|
};
|
|
939
939
|
}>>, {}, {}>;
|
|
940
940
|
|
|
941
|
-
declare const _default$
|
|
941
|
+
declare const _default$f: vue.DefineComponent<{
|
|
942
942
|
/**
|
|
943
943
|
* The modal's v-model. Controls the visibility of the modal.
|
|
944
944
|
*/
|
|
@@ -1171,7 +1171,7 @@ declare interface ProgressBarStep {
|
|
|
1171
1171
|
subSteps: number;
|
|
1172
1172
|
}
|
|
1173
1173
|
|
|
1174
|
-
declare const _default$
|
|
1174
|
+
declare const _default$e: vue.DefineComponent<{
|
|
1175
1175
|
/**
|
|
1176
1176
|
* An array of menu progress steps.
|
|
1177
1177
|
* `{ label: string; position: number; subSteps: number; }`
|
|
@@ -1591,9 +1591,9 @@ declare const __default__$5: vue.DefineComponent<{
|
|
|
1591
1591
|
enablePagination: boolean;
|
|
1592
1592
|
}, {}>;
|
|
1593
1593
|
|
|
1594
|
-
declare const _default$
|
|
1594
|
+
declare const _default$d: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{}>>, {}, {}>;
|
|
1595
1595
|
|
|
1596
|
-
declare const _default$
|
|
1596
|
+
declare const _default$c: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{}>>, {}, {}>;
|
|
1597
1597
|
|
|
1598
1598
|
declare const __default__$4: vue.DefineComponent<{
|
|
1599
1599
|
/**
|
|
@@ -1723,7 +1723,7 @@ declare const __default__$4: vue.DefineComponent<{
|
|
|
1723
1723
|
borderStyle: string;
|
|
1724
1724
|
}, {}>;
|
|
1725
1725
|
|
|
1726
|
-
declare const _default$
|
|
1726
|
+
declare const _default$b: vue.DefineComponent<{
|
|
1727
1727
|
/**
|
|
1728
1728
|
* The src attribute of the image
|
|
1729
1729
|
*/
|
|
@@ -1825,11 +1825,11 @@ declare const _default$a: vue.DefineComponent<{
|
|
|
1825
1825
|
enableErrors: boolean;
|
|
1826
1826
|
}, {}>;
|
|
1827
1827
|
|
|
1828
|
-
declare const _default$
|
|
1828
|
+
declare const _default$a: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{}>>, {}, {}>;
|
|
1829
1829
|
|
|
1830
|
-
declare const _default$
|
|
1830
|
+
declare const _default$9: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{}>>, {}, {}>;
|
|
1831
1831
|
|
|
1832
|
-
declare const _default$
|
|
1832
|
+
declare const _default$8: vue.DefineComponent<{
|
|
1833
1833
|
columns: {
|
|
1834
1834
|
type: NumberConstructor;
|
|
1835
1835
|
default: number;
|
|
@@ -1854,7 +1854,7 @@ declare const _default$7: vue.DefineComponent<{
|
|
|
1854
1854
|
rows: number;
|
|
1855
1855
|
}, {}>;
|
|
1856
1856
|
|
|
1857
|
-
declare const _default$
|
|
1857
|
+
declare const _default$7: vue.DefineComponent<{
|
|
1858
1858
|
/**
|
|
1859
1859
|
* The toast's v-model. Controls the visibility of the toast.
|
|
1860
1860
|
*/
|
|
@@ -1973,7 +1973,7 @@ declare const _default$6: vue.DefineComponent<{
|
|
|
1973
1973
|
timeout: number;
|
|
1974
1974
|
}, {}>;
|
|
1975
1975
|
|
|
1976
|
-
declare const _default$
|
|
1976
|
+
declare const _default$6: vue.DefineComponent<{
|
|
1977
1977
|
/**
|
|
1978
1978
|
* The transaction title of the card
|
|
1979
1979
|
*/
|
|
@@ -2031,7 +2031,7 @@ declare const _default$5: vue.DefineComponent<{
|
|
|
2031
2031
|
};
|
|
2032
2032
|
}>>, {}, {}>;
|
|
2033
2033
|
|
|
2034
|
-
declare const _default$
|
|
2034
|
+
declare const _default$5: vue.DefineComponent<{
|
|
2035
2035
|
/**
|
|
2036
2036
|
* The transaction title of the chart
|
|
2037
2037
|
*/
|
|
@@ -2112,7 +2112,7 @@ declare const _default$4: vue.DefineComponent<{
|
|
|
2112
2112
|
};
|
|
2113
2113
|
}>>, {}, {}>;
|
|
2114
2114
|
|
|
2115
|
-
declare const _default$
|
|
2115
|
+
declare const _default$4: vue.DefineComponent<{
|
|
2116
2116
|
/**
|
|
2117
2117
|
* Controls the sidebar menu open/close state
|
|
2118
2118
|
*/
|
|
@@ -2198,7 +2198,7 @@ declare const _default$3: vue.DefineComponent<{
|
|
|
2198
2198
|
closedWidth: string;
|
|
2199
2199
|
}, {}>;
|
|
2200
2200
|
|
|
2201
|
-
declare const _default$
|
|
2201
|
+
declare const _default$3: vue.DefineComponent<{
|
|
2202
2202
|
/**
|
|
2203
2203
|
* The drawer's v-model. Controls the visibility of the drawer.
|
|
2204
2204
|
*/
|
|
@@ -2361,7 +2361,7 @@ declare const _default$2: vue.DefineComponent<{
|
|
|
2361
2361
|
confirmButtonType: ButtonVariantName;
|
|
2362
2362
|
}, {}>;
|
|
2363
2363
|
|
|
2364
|
-
declare const _default$
|
|
2364
|
+
declare const _default$2: vue.DefineComponent<{
|
|
2365
2365
|
/**
|
|
2366
2366
|
* The header heading of the list.
|
|
2367
2367
|
*/
|
|
@@ -2862,6 +2862,46 @@ declare const __default__$2: vue.DefineComponent<{
|
|
|
2862
2862
|
showArrow: boolean;
|
|
2863
2863
|
}, {}>;
|
|
2864
2864
|
|
|
2865
|
+
declare const _default$1: vue.DefineComponent<{
|
|
2866
|
+
/**
|
|
2867
|
+
* The available periods to be chosen in months.
|
|
2868
|
+
*/
|
|
2869
|
+
periodOptions: {
|
|
2870
|
+
type: PropType<number[]>;
|
|
2871
|
+
};
|
|
2872
|
+
/**
|
|
2873
|
+
* A size that will be propogated down to the button. Accepts: 'sm', 'md', 'lg', 'xl', '2xl'
|
|
2874
|
+
*/
|
|
2875
|
+
size: {
|
|
2876
|
+
type: PropType<ButtonSize>;
|
|
2877
|
+
default: string;
|
|
2878
|
+
validator: (value: string) => boolean;
|
|
2879
|
+
};
|
|
2880
|
+
}, {
|
|
2881
|
+
generateButtonLabel: (month: number) => string;
|
|
2882
|
+
onClick: (period: number) => void;
|
|
2883
|
+
selectedPeriod: vue.Ref<number | undefined>;
|
|
2884
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "periodSelected"[], "periodSelected", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
2885
|
+
/**
|
|
2886
|
+
* The available periods to be chosen in months.
|
|
2887
|
+
*/
|
|
2888
|
+
periodOptions: {
|
|
2889
|
+
type: PropType<number[]>;
|
|
2890
|
+
};
|
|
2891
|
+
/**
|
|
2892
|
+
* A size that will be propogated down to the button. Accepts: 'sm', 'md', 'lg', 'xl', '2xl'
|
|
2893
|
+
*/
|
|
2894
|
+
size: {
|
|
2895
|
+
type: PropType<ButtonSize>;
|
|
2896
|
+
default: string;
|
|
2897
|
+
validator: (value: string) => boolean;
|
|
2898
|
+
};
|
|
2899
|
+
}>> & {
|
|
2900
|
+
onPeriodSelected?: ((...args: any[]) => any) | undefined;
|
|
2901
|
+
}, {
|
|
2902
|
+
size: ButtonSize;
|
|
2903
|
+
}, {}>;
|
|
2904
|
+
|
|
2865
2905
|
declare const __default__$1: vue.DefineComponent<{
|
|
2866
2906
|
/**
|
|
2867
2907
|
* The animation-iteration-count CSS property of the pulse animation.
|
|
@@ -2934,4 +2974,4 @@ declare const install: Exclude<Plugin['install'], undefined>;
|
|
|
2934
2974
|
|
|
2935
2975
|
declare module '@frollo/frollo-web-ui/icons' { }
|
|
2936
2976
|
|
|
2937
|
-
export { type ButtonAnimation, type ButtonDefinition, type ButtonDefinitionList, type ButtonSize, type ButtonSizes, type ButtonTypeAttribute, type ButtonVariantName, __default__$4 as FwAccordion, type FwAccordionProps, _default$
|
|
2977
|
+
export { type ButtonAnimation, type ButtonDefinition, type ButtonDefinitionList, type ButtonSize, type ButtonSizes, type ButtonTypeAttribute, type ButtonVariantName, __default__$4 as FwAccordion, type FwAccordionProps, _default$5 as FwBarChart, type FwBarChartProps, type FwBarGraphData, _default$j as FwButton, type FwButtonProps, _default$k as FwCard, type FwCardProps, _default$m as FwCheckbox, type FwCheckboxProps, __default__$3 as FwDatePicker, type FwDatePickerProps, _default$3 as FwDrawer, type FwDrawerProps, _default$l as FwDropdown, type FwDropdownOption, type FwDropdownProps, __default__$1 as FwEmailPulse, _default$b as FwImage, type FwImageProps, _default$n as FwInput, type FwInputProps, type FwInputType, _default$a as FwLoadingBar, _default$9 as FwLoadingCard, _default as FwLoadingSpinner, _default$8 as FwLoadingTable, _default$f as FwModal, type FwModalProps, _default$i as FwNavigationMenu, _default$1 as FwPeriodSelector, __default__$2 as FwPopover, type FwPopoverProps, _default$e as FwProgressBar, _default$2 as FwProviderList, type FwProviderListItem, type FwProviderListProps, _default$4 as FwSidebarMenu, type FwSidebarMenuItem, __default__ as FwSuccessPulse, _default$g as FwTab, __default__$5 as FwTable, type FwTableFormatFunction, _default$d as FwTableHead, type FwTableItem, type FwTableItemOptions, type FwTableProps, _default$c as FwTableRow, type FwTableSort, _default$h as FwTabs, type FwTabsProps, __default__$6 as FwTag, type FwTagProps, _default$7 as FwToast, type FwToastProps, _default$6 as FwTransactionsCard, type FwTransactionsCardProps, type ModalServiceProps, type NavMenuItem, type ProgressBarStep, type TabsState, type TagDefinition, type TagDefinitionList, type TagSize, type TagSizes, type TagVariantName, type ToastPosition, type ToastServiceProps, type ToastType, type ToastTypes, install as default, modalService, toastService };
|
package/package.json
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ButtonSize } from '../fw-button/index.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* The available periods to be chosen in months.
|
|
6
|
+
*/
|
|
7
|
+
periodOptions: {
|
|
8
|
+
type: PropType<number[]>;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* A size that will be propogated down to the button. Accepts: 'sm', 'md', 'lg', 'xl', '2xl'
|
|
12
|
+
*/
|
|
13
|
+
size: {
|
|
14
|
+
type: PropType<ButtonSize>;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: string) => boolean;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
generateButtonLabel: (month: number) => string;
|
|
20
|
+
onClick: (period: number) => void;
|
|
21
|
+
selectedPeriod: import("vue").Ref<number | undefined>;
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "periodSelected"[], "periodSelected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
/**
|
|
24
|
+
* The available periods to be chosen in months.
|
|
25
|
+
*/
|
|
26
|
+
periodOptions: {
|
|
27
|
+
type: PropType<number[]>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* A size that will be propogated down to the button. Accepts: 'sm', 'md', 'lg', 'xl', '2xl'
|
|
31
|
+
*/
|
|
32
|
+
size: {
|
|
33
|
+
type: PropType<ButtonSize>;
|
|
34
|
+
default: string;
|
|
35
|
+
validator: (value: string) => boolean;
|
|
36
|
+
};
|
|
37
|
+
}>> & {
|
|
38
|
+
onPeriodSelected?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
size: ButtonSize;
|
|
41
|
+
}, {}>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PeriodSelectorDuration = number;
|