@feedmepos/ui-library 1.5.6 → 1.6.1
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/dist/CHANGELOG.md +15 -0
- package/dist/components/bottom-sheet/FmBottomSheet.vue.d.ts +1 -1
- package/dist/components/breadcrumb/FmBreadcrumb.vue.d.ts +3 -1
- package/dist/components/button/FmButton.vue.d.ts +2 -2
- package/dist/components/chart/bar/FmBar.vue.d.ts +40 -4
- package/dist/components/chart/index.d.ts +50 -0
- package/dist/components/chart/line/FmLine.vue.d.ts +43 -4
- package/dist/components/chart/pie/FmPie.vue.d.ts +24 -1
- package/dist/components/chip/FmChip.vue.d.ts +1 -1
- package/dist/components/dialog/FmDialog.vue.d.ts +1 -1
- package/dist/components/form/calendar/date-picker/FmDatePicker.vue.d.ts +2 -2
- package/dist/components/form/calendar/date-picker/FmDatePickerDesktop.vue.d.ts +2 -2
- package/dist/components/form/calendar/date-picker/FmDatePickerMobile.vue.d.ts +2 -2
- package/dist/components/form/calendar/date-range-picker/FmDateRangePicker.vue.d.ts +1 -1
- package/dist/components/form/calendar/date-range-picker/FmDateRangePickerDesktop.vue.d.ts +2 -2
- package/dist/components/form/calendar/date-range-picker/FmDateRangePickerMobile.vue.d.ts +2 -2
- package/dist/components/form/field/FmField.vue.d.ts +1 -1
- package/dist/components/form/form-group/FmFormGroup.vue.d.ts +1 -1
- package/dist/components/form/label/FmLabel.vue.d.ts +1 -1
- package/dist/components/form/phone-number/FmPhoneNumber.vue.d.ts +1 -1
- package/dist/components/form/radio/FmRadio.vue.d.ts +1 -1
- package/dist/components/form/radio-group/FmRadioGroup.vue.d.ts +1 -1
- package/dist/components/form/search/FmSearch.vue.d.ts +3 -3
- package/dist/components/form/simple-calendar/simple-date-picker/FmSimpleDatePicker.vue.d.ts +1 -1
- package/dist/components/form/simple-calendar/simple-date-picker/FmSimpleDatePickerDesktop.vue.d.ts +2 -2
- package/dist/components/form/simple-calendar/simple-date-picker/FmSimpleDatePickerMobile.vue.d.ts +2 -2
- package/dist/components/form/simple-calendar/simple-date-range-picker/FmSimpleDateRangePicker.vue.d.ts +1 -1
- package/dist/components/form/simple-calendar/simple-date-range-picker/FmSimpleDateRangePickerDesktop.vue.d.ts +2 -2
- package/dist/components/form/simple-calendar/simple-date-range-picker/FmSimpleDateRangePickerMobile.vue.d.ts +2 -2
- package/dist/components/form/stepper-field/FmStepperField.vue.d.ts +2 -2
- package/dist/components/form/switch/FmSwitch.vue.d.ts +1 -1
- package/dist/components/form/text-field/FmTextField.vue.d.ts +4 -4
- package/dist/components/form/textarea/FmTextarea.vue.d.ts +3 -3
- package/dist/components/form/time-picker/FmTimePicker.vue.d.ts +1 -1
- package/dist/components/form/time-picker/FmTimeRangePicker.vue.d.ts +1 -1
- package/dist/components/menu/menu-component/FmMenu.vue.d.ts +1 -1
- package/dist/components/menu/menu-item/FmMenuItem.vue.d.ts +1 -1
- package/dist/components/popover/FmPopover.vue.d.ts +1 -1
- package/dist/components/side-sheet/FmSideSheet.vue.d.ts +1 -1
- package/dist/components/snackbar/FmSnackbar.vue.d.ts +1 -1
- package/dist/components/tab/FmCollapsibleTab.vue.d.ts +2 -2
- package/dist/components/tab/FmTab.vue.d.ts +2 -2
- package/dist/components/table/FmTable.vue.d.ts +1 -1
- package/dist/components/tabs/FmCollapsibleTabs.vue.d.ts +1 -1
- package/dist/components/tabs/FmTabs.vue.d.ts +1 -1
- package/dist/components/tooltip/FmTooltip.vue.d.ts +1 -1
- package/dist/components/top-sheet/FmTopSheet.vue.d.ts +1 -1
- package/dist/components.d.ts +1368 -1112
- package/dist/federation/FmBar.vue_vue_type_script_setup_true_lang-Bl4sODG-.js +1 -0
- package/dist/federation/FmBreadcrumb.vue_vue_type_style_index_0_lang-D-VbzXJa.js +1 -0
- package/dist/federation/FmLine.vue_vue_type_script_setup_true_lang-BfUXDVEE.js +1 -0
- package/dist/federation/FmPie.vue_vue_type_script_setup_true_lang-DEnVqSIk.js +2 -0
- package/dist/federation/{__federation_expose_FmBarChart-WYq8CGXV.js → __federation_expose_FmBarChart-maVOJTjq.js} +1 -1
- package/dist/federation/{__federation_expose_FmBreadcrumb-DFiano5N.js → __federation_expose_FmBreadcrumb-CYy38IJB.js} +1 -1
- package/dist/federation/{__federation_expose_FmLineChart-B_THAX96.js → __federation_expose_FmLineChart-BRZZwRvH.js} +1 -1
- package/dist/federation/{__federation_expose_FmPieChart-Dzt9QEU_.js → __federation_expose_FmPieChart-Cn0ugDlM.js} +1 -1
- package/dist/federation/chartjs-plugin-datalabels.esm-C74bC3XK.js +24 -0
- package/dist/federation/feedmepos-ui-components.js +1 -1
- package/dist/federation/{index-Ba-bA_O1.js → index-RyDubHzl.js} +2 -2
- package/dist/feedmepos-ui-library.js +9780 -9115
- package/dist/feedmepos-ui-library.umd.cjs +36 -30
- package/package.json +2 -1
- package/dist/federation/FmBar.vue_vue_type_script_setup_true_lang-BiGNhPIQ.js +0 -1
- package/dist/federation/FmBreadcrumb.vue_vue_type_style_index_0_lang-CHN6DYZh.js +0 -1
- package/dist/federation/FmLine.vue_vue_type_script_setup_true_lang-D-feq6Ni.js +0 -1
- package/dist/federation/FmPie.vue_vue_type_script_setup_true_lang-CNra1Yi2.js +0 -2
- package/dist/federation/auto-CXNy_eJA.js +0 -18
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# 1.6.1
|
|
2
|
+
|
|
3
|
+
- `FmBreadcrumb`
|
|
4
|
+
|
|
5
|
+
- expose a `setSelectedItemIndex` method
|
|
6
|
+
- will not change selection on click if item's route is empty
|
|
7
|
+
|
|
8
|
+
# 1.6.0
|
|
9
|
+
|
|
10
|
+
- `FmBar`, `FmLine`, `FmPie`
|
|
11
|
+
|
|
12
|
+
- Enables support for displaying data labels directly on the chart.
|
|
13
|
+
- Deprecated legacy props: stacked, hideXAxis, hideYAxis
|
|
14
|
+
- These have been replaced with more flexible configuration options via xCfg and yCfg.
|
|
15
|
+
|
|
1
16
|
# 1.5.6
|
|
2
17
|
|
|
3
18
|
- `FmPhoneNumber`: country name now can handle any country with i18n support
|
|
@@ -25,9 +25,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
25
|
"onOn:clickedAway"?: (() => any) | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
header: string;
|
|
28
|
-
modelValue: boolean;
|
|
29
28
|
dismissAway: boolean;
|
|
30
29
|
zIndex: number;
|
|
30
|
+
modelValue: boolean;
|
|
31
31
|
noHeader: boolean;
|
|
32
32
|
}, {}>, {
|
|
33
33
|
"bottom-sheet-button"?(_: {}): any;
|
|
@@ -8,7 +8,9 @@ type FmBreadcrumbProp = {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}>;
|
|
10
10
|
};
|
|
11
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmBreadcrumbProp>, {}>, {
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmBreadcrumbProp>, {}>, {
|
|
12
|
+
setSelectedItemIndex: (index: number) => void;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmBreadcrumbProp>, {}>>>, {}, {}>;
|
|
12
14
|
export default _default;
|
|
13
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -68,11 +68,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
68
68
|
appendIcon: string;
|
|
69
69
|
loading: boolean;
|
|
70
70
|
}>>>, {
|
|
71
|
-
size: "md" | "lg";
|
|
72
71
|
type: "button" | "submit" | "reset";
|
|
73
72
|
label: string;
|
|
74
|
-
variant: "primary" | "secondary" | "destructive" | "tertiary" | "plain" | "fab" | FmButtonVariant;
|
|
75
73
|
disabled: boolean;
|
|
74
|
+
variant: "primary" | "secondary" | "destructive" | "tertiary" | "plain" | "fab" | FmButtonVariant;
|
|
75
|
+
size: "md" | "lg";
|
|
76
76
|
icon: string;
|
|
77
77
|
iconPosition: "prepend" | "append";
|
|
78
78
|
prependIcon: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { LegendOptions, TooltipOptions } from 'chart.js';
|
|
2
2
|
import type { XAxis } from '../../../components/chart/line/FmLine.vue';
|
|
3
|
+
import type { FmChartDataLabelsOptions, FmChartAxisOptions } from '../../../components/chart';
|
|
3
4
|
export interface BarDataset {
|
|
4
5
|
label: string;
|
|
5
6
|
data: number[];
|
|
@@ -32,7 +33,7 @@ type FmBarProp = {
|
|
|
32
33
|
*/
|
|
33
34
|
transpose?: boolean;
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* @deprecated Please use `:xCfg={stacked: false}` and `:yCfg={stacked: false}` from now on.
|
|
36
37
|
*/
|
|
37
38
|
stacked?: boolean;
|
|
38
39
|
/**
|
|
@@ -40,11 +41,11 @@ type FmBarProp = {
|
|
|
40
41
|
*/
|
|
41
42
|
maintainAspectRatio?: boolean;
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* @deprecated Please use `:xCfg={display: false}` from now on.
|
|
44
45
|
*/
|
|
45
46
|
hideXAxis?: boolean;
|
|
46
47
|
/**
|
|
47
|
-
*
|
|
48
|
+
* @deprecated Please use `:yCfg={display: false}` from now on.
|
|
48
49
|
*/
|
|
49
50
|
hideYAxis?: boolean;
|
|
50
51
|
/**
|
|
@@ -56,6 +57,26 @@ type FmBarProp = {
|
|
|
56
57
|
* customize tooltip
|
|
57
58
|
*/
|
|
58
59
|
tooltip?: Partial<TooltipOptions<'bar'>>;
|
|
60
|
+
/**
|
|
61
|
+
* customize datalabels
|
|
62
|
+
*/
|
|
63
|
+
datalabels?: Partial<FmChartDataLabelsOptions>;
|
|
64
|
+
/**
|
|
65
|
+
* customize X axis
|
|
66
|
+
*/
|
|
67
|
+
xCfg?: Partial<FmChartAxisOptions>;
|
|
68
|
+
/**
|
|
69
|
+
* customize Y axis
|
|
70
|
+
*/
|
|
71
|
+
yCfg?: Partial<FmChartAxisOptions>;
|
|
72
|
+
/**
|
|
73
|
+
* custom chart height
|
|
74
|
+
*/
|
|
75
|
+
height?: string;
|
|
76
|
+
/**
|
|
77
|
+
* custom chart width
|
|
78
|
+
*/
|
|
79
|
+
width?: string;
|
|
59
80
|
};
|
|
60
81
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmBarProp>, {
|
|
61
82
|
name: undefined;
|
|
@@ -67,6 +88,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
67
88
|
hideYAxis: undefined;
|
|
68
89
|
legend: undefined;
|
|
69
90
|
tooltip: undefined;
|
|
91
|
+
datalabels: undefined;
|
|
92
|
+
xCfg: undefined;
|
|
93
|
+
yCfg: undefined;
|
|
94
|
+
height: undefined;
|
|
95
|
+
width: undefined;
|
|
70
96
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmBarProp>, {
|
|
71
97
|
name: undefined;
|
|
72
98
|
paragraph: undefined;
|
|
@@ -77,9 +103,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
77
103
|
hideYAxis: undefined;
|
|
78
104
|
legend: undefined;
|
|
79
105
|
tooltip: undefined;
|
|
106
|
+
datalabels: undefined;
|
|
107
|
+
xCfg: undefined;
|
|
108
|
+
yCfg: undefined;
|
|
109
|
+
height: undefined;
|
|
110
|
+
width: undefined;
|
|
80
111
|
}>>>, {
|
|
81
|
-
name: string;
|
|
82
112
|
legend: Partial<LegendOptions<"bar">>;
|
|
113
|
+
name: string;
|
|
114
|
+
width: string;
|
|
115
|
+
height: string;
|
|
83
116
|
paragraph: string;
|
|
84
117
|
transpose: boolean;
|
|
85
118
|
stacked: boolean;
|
|
@@ -87,6 +120,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
87
120
|
hideXAxis: boolean;
|
|
88
121
|
hideYAxis: boolean;
|
|
89
122
|
tooltip: Partial<TooltipOptions<"bar">>;
|
|
123
|
+
datalabels: Partial<FmChartDataLabelsOptions>;
|
|
124
|
+
xCfg: Partial<FmChartAxisOptions>;
|
|
125
|
+
yCfg: Partial<FmChartAxisOptions>;
|
|
90
126
|
}, {}>, {
|
|
91
127
|
title?(_: {}): any;
|
|
92
128
|
}>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare enum FmAxisPosition {
|
|
2
|
+
Left = "left",
|
|
3
|
+
Top = "top",
|
|
4
|
+
Right = "right",
|
|
5
|
+
Bottom = "bottom",
|
|
6
|
+
Center = "center"
|
|
7
|
+
}
|
|
8
|
+
declare enum FmAlignPosition {
|
|
9
|
+
Start = "start",
|
|
10
|
+
Center = "center",
|
|
11
|
+
End = "end",
|
|
12
|
+
Left = "left",
|
|
13
|
+
Right = "right",
|
|
14
|
+
Top = "top",
|
|
15
|
+
Bottom = "bottom"
|
|
16
|
+
}
|
|
17
|
+
declare enum FmAnchorPosition {
|
|
18
|
+
Start = "start",
|
|
19
|
+
Center = "center",
|
|
20
|
+
End = "end"
|
|
21
|
+
}
|
|
22
|
+
export interface FmChartDataLabelsOptions {
|
|
23
|
+
display?: boolean;
|
|
24
|
+
align?: FmAlignPosition | `${FmAlignPosition}`;
|
|
25
|
+
anchor?: FmAnchorPosition | `${FmAnchorPosition}`;
|
|
26
|
+
offset?: number;
|
|
27
|
+
rotation?: number;
|
|
28
|
+
font?: {
|
|
29
|
+
size?: number;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export interface FmChartAxisOptions {
|
|
33
|
+
display?: boolean;
|
|
34
|
+
position?: FmAxisPosition | `${FmAxisPosition}`;
|
|
35
|
+
title?: {
|
|
36
|
+
display?: boolean;
|
|
37
|
+
text?: string;
|
|
38
|
+
};
|
|
39
|
+
grid?: {
|
|
40
|
+
display?: boolean;
|
|
41
|
+
};
|
|
42
|
+
ticks?: {
|
|
43
|
+
display?: boolean;
|
|
44
|
+
font?: {
|
|
45
|
+
size?: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
stacked?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { LegendOptions, TooltipOptions } from 'chart.js';
|
|
2
|
+
import type { FmChartAxisOptions, FmChartDataLabelsOptions } from '../../../components/chart';
|
|
2
3
|
export interface Dataset {
|
|
3
4
|
label: string;
|
|
4
5
|
data: number[];
|
|
@@ -40,15 +41,15 @@ type FmLineProp = {
|
|
|
40
41
|
*/
|
|
41
42
|
stacked?: boolean;
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* @deprecated Please use `:xCfg={stacked: false}` and `:yCfg={stacked: false}` from now on.
|
|
44
45
|
*/
|
|
45
46
|
maintainAspectRatio?: boolean;
|
|
46
47
|
/**
|
|
47
|
-
*
|
|
48
|
+
* @deprecated Please use `:xCfg={display: false}` from now on.
|
|
48
49
|
*/
|
|
49
50
|
hideXAxis?: boolean;
|
|
50
51
|
/**
|
|
51
|
-
*
|
|
52
|
+
* @deprecated Please use `:yCfg={display: false}` from now on.
|
|
52
53
|
*/
|
|
53
54
|
hideYAxis?: boolean;
|
|
54
55
|
/**
|
|
@@ -60,6 +61,26 @@ type FmLineProp = {
|
|
|
60
61
|
* customize tooltip
|
|
61
62
|
*/
|
|
62
63
|
tooltip?: Partial<TooltipOptions<'line'>>;
|
|
64
|
+
/**
|
|
65
|
+
* customize datalabels
|
|
66
|
+
*/
|
|
67
|
+
datalabels?: Partial<FmChartDataLabelsOptions>;
|
|
68
|
+
/**
|
|
69
|
+
* customize X axis
|
|
70
|
+
*/
|
|
71
|
+
xCfg?: Partial<FmChartAxisOptions>;
|
|
72
|
+
/**
|
|
73
|
+
* customize Y axis
|
|
74
|
+
*/
|
|
75
|
+
yCfg?: Partial<FmChartAxisOptions>;
|
|
76
|
+
/**
|
|
77
|
+
* custom chart height
|
|
78
|
+
*/
|
|
79
|
+
height?: string;
|
|
80
|
+
/**
|
|
81
|
+
* custom chart width
|
|
82
|
+
*/
|
|
83
|
+
width?: string;
|
|
63
84
|
};
|
|
64
85
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmLineProp>, {
|
|
65
86
|
name: undefined;
|
|
@@ -67,21 +88,39 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
67
88
|
transpose: boolean;
|
|
68
89
|
hideXAxis: undefined;
|
|
69
90
|
hideYAxis: undefined;
|
|
91
|
+
xCfg: undefined;
|
|
92
|
+
yCfg: undefined;
|
|
70
93
|
legend: undefined;
|
|
94
|
+
tooltip: undefined;
|
|
95
|
+
datalabels: undefined;
|
|
96
|
+
height: undefined;
|
|
97
|
+
width: undefined;
|
|
71
98
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmLineProp>, {
|
|
72
99
|
name: undefined;
|
|
73
100
|
paragraph: undefined;
|
|
74
101
|
transpose: boolean;
|
|
75
102
|
hideXAxis: undefined;
|
|
76
103
|
hideYAxis: undefined;
|
|
104
|
+
xCfg: undefined;
|
|
105
|
+
yCfg: undefined;
|
|
77
106
|
legend: undefined;
|
|
107
|
+
tooltip: undefined;
|
|
108
|
+
datalabels: undefined;
|
|
109
|
+
height: undefined;
|
|
110
|
+
width: undefined;
|
|
78
111
|
}>>>, {
|
|
79
|
-
name: string;
|
|
80
112
|
legend: Partial<LegendOptions<"line">>;
|
|
113
|
+
name: string;
|
|
114
|
+
width: string;
|
|
115
|
+
height: string;
|
|
81
116
|
paragraph: string;
|
|
82
117
|
transpose: boolean;
|
|
83
118
|
hideXAxis: boolean;
|
|
84
119
|
hideYAxis: boolean;
|
|
120
|
+
tooltip: Partial<TooltipOptions<"line">>;
|
|
121
|
+
datalabels: Partial<FmChartDataLabelsOptions>;
|
|
122
|
+
xCfg: Partial<FmChartAxisOptions>;
|
|
123
|
+
yCfg: Partial<FmChartAxisOptions>;
|
|
85
124
|
}, {}>, {
|
|
86
125
|
title?(_: {}): any;
|
|
87
126
|
}>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { ChartType, LegendOptions, TooltipOptions } from 'chart.js';
|
|
2
|
+
import type { FmChartDataLabelsOptions } from '../../../components/chart';
|
|
2
3
|
export interface PieDataset {
|
|
3
4
|
label: string;
|
|
4
5
|
data: number[];
|
|
5
6
|
backgroundColor?: string[] | string;
|
|
6
7
|
hoverOffset?: number;
|
|
8
|
+
datalabels: FmChartDataLabelsOptions;
|
|
7
9
|
}
|
|
8
10
|
type FmPieProp = {
|
|
9
11
|
/**
|
|
@@ -56,6 +58,18 @@ type FmPieProp = {
|
|
|
56
58
|
* customize tooltip
|
|
57
59
|
*/
|
|
58
60
|
tooltip?: TooltipOptions<Extract<ChartType, 'pie' | 'doughnut'>>;
|
|
61
|
+
/**
|
|
62
|
+
* customize datalabels
|
|
63
|
+
*/
|
|
64
|
+
datalabels?: Partial<FmChartDataLabelsOptions>;
|
|
65
|
+
/**
|
|
66
|
+
* custom chart height
|
|
67
|
+
*/
|
|
68
|
+
height?: string;
|
|
69
|
+
/**
|
|
70
|
+
* custom chart width
|
|
71
|
+
*/
|
|
72
|
+
width?: string;
|
|
59
73
|
};
|
|
60
74
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmPieProp>, {
|
|
61
75
|
name: undefined;
|
|
@@ -66,6 +80,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
66
80
|
textStyle: string;
|
|
67
81
|
maintainAspectRatio: boolean;
|
|
68
82
|
percentage: undefined;
|
|
83
|
+
datalabels: undefined;
|
|
84
|
+
height: undefined;
|
|
85
|
+
width: undefined;
|
|
69
86
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmPieProp>, {
|
|
70
87
|
name: undefined;
|
|
71
88
|
paragraph: undefined;
|
|
@@ -75,13 +92,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
75
92
|
textStyle: string;
|
|
76
93
|
maintainAspectRatio: boolean;
|
|
77
94
|
percentage: undefined;
|
|
95
|
+
datalabels: undefined;
|
|
96
|
+
height: undefined;
|
|
97
|
+
width: undefined;
|
|
78
98
|
}>>>, {
|
|
79
|
-
name: string;
|
|
80
99
|
legend: Partial<LegendOptions<"pie" | "doughnut">>;
|
|
81
100
|
text: string;
|
|
101
|
+
name: string;
|
|
82
102
|
textColor: string;
|
|
103
|
+
width: string;
|
|
104
|
+
height: string;
|
|
83
105
|
paragraph: string;
|
|
84
106
|
maintainAspectRatio: boolean;
|
|
107
|
+
datalabels: Partial<FmChartDataLabelsOptions>;
|
|
85
108
|
textStyle: string;
|
|
86
109
|
percentage: string;
|
|
87
110
|
}, {}>, {
|
|
@@ -40,9 +40,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
"onChip-closed"?: (() => any) | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
label: string;
|
|
43
|
-
variant: FmChipVariant;
|
|
44
43
|
selected: boolean;
|
|
45
44
|
disabled: boolean;
|
|
45
|
+
variant: FmChipVariant;
|
|
46
46
|
icon: string;
|
|
47
47
|
rightIcon: string;
|
|
48
48
|
removable: boolean;
|
|
@@ -33,8 +33,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
33
|
}>>> & {
|
|
34
34
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
35
35
|
}, {
|
|
36
|
-
modelValue: boolean;
|
|
37
36
|
zIndex: number;
|
|
37
|
+
modelValue: boolean;
|
|
38
38
|
overlay: boolean;
|
|
39
39
|
minWidth: string | number;
|
|
40
40
|
closeButton: boolean;
|
|
@@ -31,16 +31,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
label: string;
|
|
34
|
-
zIndex: number;
|
|
35
34
|
disabled: boolean;
|
|
35
|
+
zIndex: number;
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
39
|
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
|
-
min: string;
|
|
43
42
|
max: string;
|
|
43
|
+
min: string;
|
|
44
44
|
showValidBorder: boolean;
|
|
45
45
|
}, {}>, {
|
|
46
46
|
"trigger-button"?(_: {
|
|
@@ -31,16 +31,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
label: string;
|
|
34
|
-
zIndex: number;
|
|
35
34
|
disabled: boolean;
|
|
35
|
+
zIndex: number;
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
39
|
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
|
-
min: string;
|
|
43
42
|
max: string;
|
|
43
|
+
min: string;
|
|
44
44
|
showValidBorder: boolean;
|
|
45
45
|
}, {}>, {
|
|
46
46
|
label?(_: {}): any;
|
|
@@ -31,16 +31,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
label: string;
|
|
34
|
-
zIndex: number;
|
|
35
34
|
disabled: boolean;
|
|
35
|
+
zIndex: number;
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
39
|
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
|
-
min: string;
|
|
43
42
|
max: string;
|
|
43
|
+
min: string;
|
|
44
44
|
showValidBorder: boolean;
|
|
45
45
|
}, {}>, {
|
|
46
46
|
label?(_: {}): any;
|
|
@@ -52,8 +52,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
52
52
|
helperText: string;
|
|
53
53
|
helperState: "success" | "warning" | "none" | "error";
|
|
54
54
|
compare: boolean;
|
|
55
|
-
min: string;
|
|
56
55
|
max: string;
|
|
56
|
+
min: string;
|
|
57
57
|
showValidBorder: boolean;
|
|
58
58
|
showPredefinedRange: boolean;
|
|
59
59
|
predefinedRange: import("./common").FmCalendarPredefinedRange[];
|
|
@@ -46,8 +46,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
46
|
}>>> & {
|
|
47
47
|
"onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
zIndex: number;
|
|
50
49
|
disabled: boolean;
|
|
50
|
+
zIndex: number;
|
|
51
51
|
labelMark: "required" | "none" | "optional";
|
|
52
52
|
labelInfo: string;
|
|
53
53
|
focused: boolean;
|
|
@@ -55,8 +55,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
55
55
|
helperText: string;
|
|
56
56
|
helperState: "success" | "warning" | "none" | "error";
|
|
57
57
|
compare: boolean;
|
|
58
|
-
min: string;
|
|
59
58
|
max: string;
|
|
59
|
+
min: string;
|
|
60
60
|
showValidBorder: boolean;
|
|
61
61
|
showPredefinedRange: boolean;
|
|
62
62
|
predefinedRange: FmCalendarPredefinedRange[];
|
|
@@ -46,8 +46,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
46
|
}>>> & {
|
|
47
47
|
"onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
zIndex: number;
|
|
50
49
|
disabled: boolean;
|
|
50
|
+
zIndex: number;
|
|
51
51
|
labelMark: "required" | "none" | "optional";
|
|
52
52
|
labelInfo: string;
|
|
53
53
|
focused: boolean;
|
|
@@ -55,8 +55,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
55
55
|
helperText: string;
|
|
56
56
|
helperState: "success" | "warning" | "none" | "error";
|
|
57
57
|
compare: boolean;
|
|
58
|
-
min: string;
|
|
59
58
|
max: string;
|
|
59
|
+
min: string;
|
|
60
60
|
showValidBorder: boolean;
|
|
61
61
|
showPredefinedRange: boolean;
|
|
62
62
|
predefinedRange: FmCalendarPredefinedRange[];
|
|
@@ -31,8 +31,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
iconOutlined: boolean;
|
|
32
32
|
size: string;
|
|
33
33
|
}>>>, {
|
|
34
|
-
size: "sm" | "md";
|
|
35
34
|
disabled: boolean;
|
|
35
|
+
size: "sm" | "md";
|
|
36
36
|
prependIcon: string;
|
|
37
37
|
appendIcon: string;
|
|
38
38
|
focused: boolean;
|
|
@@ -42,8 +42,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
42
|
}>>>, {
|
|
43
43
|
required: boolean;
|
|
44
44
|
label: string;
|
|
45
|
-
info: string;
|
|
46
45
|
disabled: boolean;
|
|
46
|
+
info: string;
|
|
47
47
|
optional: boolean;
|
|
48
48
|
focused: boolean;
|
|
49
49
|
rules: ValidationRule[];
|
|
@@ -44,7 +44,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
44
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
label: string;
|
|
47
|
-
extraCountryCodes: CountryCode[];
|
|
48
47
|
disabled: boolean;
|
|
49
48
|
labelMark: "required" | "none" | "optional";
|
|
50
49
|
labelInfo: string;
|
|
@@ -53,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
53
52
|
helperState: "success" | "warning" | "none" | "error";
|
|
54
53
|
placeholder: string;
|
|
55
54
|
defaultCountry: CountryCode;
|
|
55
|
+
extraCountryCodes: CountryCode[];
|
|
56
56
|
}, {}>, {
|
|
57
57
|
label?(_: {}): any;
|
|
58
58
|
"helper-text"?(_: {}): any;
|
|
@@ -21,8 +21,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
21
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
label: string;
|
|
24
|
-
modelValue: any;
|
|
25
24
|
disabled: boolean;
|
|
25
|
+
modelValue: any;
|
|
26
26
|
sublabel: string;
|
|
27
27
|
}, {}>, {
|
|
28
28
|
label?(_: {}): any;
|
|
@@ -34,8 +34,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
34
34
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
label: string;
|
|
37
|
-
inline: boolean;
|
|
38
37
|
disabled: boolean;
|
|
38
|
+
inline: boolean;
|
|
39
39
|
labelMark: "required" | "none" | "optional";
|
|
40
40
|
labelInfo: string;
|
|
41
41
|
focused: boolean;
|
|
@@ -74,11 +74,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
74
74
|
helperState: "success" | "warning" | "none" | "error";
|
|
75
75
|
placeholder: string;
|
|
76
76
|
maxWidth: string | number;
|
|
77
|
+
maxLength: number;
|
|
78
|
+
minLength: number;
|
|
77
79
|
autofocus: boolean;
|
|
78
80
|
showValidBorder: boolean;
|
|
79
|
-
|
|
80
|
-
maxLength: number;
|
|
81
|
-
inputmode: "text" | "numeric" | "search" | "none" | "email" | "tel" | "url" | "decimal";
|
|
81
|
+
inputmode: "text" | "search" | "numeric" | "none" | "email" | "tel" | "url" | "decimal";
|
|
82
82
|
readonly: boolean;
|
|
83
83
|
showWordCount: boolean;
|
|
84
84
|
showSuccess: boolean;
|
|
@@ -36,8 +36,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
rules: import("../../../..").ValidationRule[];
|
|
37
37
|
helperText: string;
|
|
38
38
|
helperState: "success" | "warning" | "none" | "error";
|
|
39
|
-
min: string;
|
|
40
39
|
max: string;
|
|
40
|
+
min: string;
|
|
41
41
|
showValidBorder: boolean;
|
|
42
42
|
}, {}>, {
|
|
43
43
|
"trigger-button"?(_: {
|
package/dist/components/form/simple-calendar/simple-date-picker/FmSimpleDatePickerDesktop.vue.d.ts
CHANGED
|
@@ -31,16 +31,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
label: string;
|
|
34
|
-
zIndex: number;
|
|
35
34
|
disabled: boolean;
|
|
35
|
+
zIndex: number;
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
39
|
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
|
-
min: string;
|
|
43
42
|
max: string;
|
|
43
|
+
min: string;
|
|
44
44
|
showValidBorder: boolean;
|
|
45
45
|
}, {}>, {
|
|
46
46
|
label?(_: {}): any;
|
package/dist/components/form/simple-calendar/simple-date-picker/FmSimpleDatePickerMobile.vue.d.ts
CHANGED
|
@@ -31,16 +31,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
label: string;
|
|
34
|
-
zIndex: number;
|
|
35
34
|
disabled: boolean;
|
|
35
|
+
zIndex: number;
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
39
|
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
|
-
min: string;
|
|
43
42
|
max: string;
|
|
43
|
+
min: string;
|
|
44
44
|
showValidBorder: boolean;
|
|
45
45
|
}, {}>, {
|
|
46
46
|
label?(_: {}): any;
|
|
@@ -51,8 +51,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
51
|
rules: import("../../../..").ValidationRule[];
|
|
52
52
|
helperText: string;
|
|
53
53
|
helperState: "success" | "warning" | "none" | "error";
|
|
54
|
-
min: string;
|
|
55
54
|
max: string;
|
|
55
|
+
min: string;
|
|
56
56
|
showValidBorder: boolean;
|
|
57
57
|
showPredefinedRange: boolean;
|
|
58
58
|
predefinedRange: import("./common").FmCalendarPredefinedRange[];
|
|
@@ -48,16 +48,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
48
|
"onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
|
|
49
49
|
"onSelect-comparison"?: ((value: CompareType) => any) | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
zIndex: number;
|
|
52
51
|
disabled: boolean;
|
|
52
|
+
zIndex: number;
|
|
53
53
|
labelMark: "required" | "none" | "optional";
|
|
54
54
|
labelInfo: string;
|
|
55
55
|
focused: boolean;
|
|
56
56
|
rules: import("../../../..").ValidationRule[];
|
|
57
57
|
helperText: string;
|
|
58
58
|
helperState: "success" | "warning" | "none" | "error";
|
|
59
|
-
min: string;
|
|
60
59
|
max: string;
|
|
60
|
+
min: string;
|
|
61
61
|
showValidBorder: boolean;
|
|
62
62
|
showPredefinedRange: boolean;
|
|
63
63
|
predefinedRange: FmCalendarPredefinedRange[];
|