@feedmepos/ui-library 1.2.4-rc.2 → 1.2.4
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 +7 -0
- package/dist/components/chart/bar/FmBar.vue.d.ts +5 -7
- package/dist/components/chart/pie/FmPie.vue.d.ts +3 -3
- package/dist/components/form/calendar/date-picker/FmDatePicker.vue.d.ts +1 -1
- package/dist/components/form/calendar/date-picker/FmDatePickerDesktop.vue.d.ts +1 -1
- package/dist/components/form/calendar/date-picker/FmDatePickerMobile.vue.d.ts +1 -1
- 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 +1 -1
- package/dist/components/form/calendar/date-range-picker/FmDateRangePickerMobile.vue.d.ts +1 -1
- package/dist/components/form/phone-number/FmPhoneNumber.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 +1 -1
- package/dist/components/form/select/FmSelect.vue.d.ts +1 -1
- 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 +1 -1
- package/dist/components/form/simple-calendar/simple-date-picker/FmSimpleDatePickerMobile.vue.d.ts +1 -1
- 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 +1 -1
- package/dist/components/form/simple-calendar/simple-date-range-picker/FmSimpleDateRangePickerMobile.vue.d.ts +1 -1
- package/dist/components/form/stepper-field/FmStepperField.vue.d.ts +1 -1
- package/dist/components/form/text-field/FmTextField.vue.d.ts +1 -1
- package/dist/components/form/textarea/FmTextarea.vue.d.ts +1 -1
- package/dist/components/form/time-picker/FmTimePicker.vue.d.ts +1 -1
- package/dist/components/form/time-picker/FmTimeRangePicker.vue.d.ts +3 -6
- package/dist/components/table/FmTableToolbar.vue.d.ts +1 -1
- package/dist/components.d.ts +106 -16
- package/dist/federation/FmPie.vue_vue_type_script_setup_true_lang-CwV9MfhF.js +2 -0
- package/dist/federation/{__federation_expose_FmDynamicDialog-BHntznyN.js → __federation_expose_FmDynamicDialog-Cq33yMXN.js} +1 -1
- package/dist/federation/{__federation_expose_FmPieChart-C8PVy5OW.js → __federation_expose_FmPieChart-LDNwl3ve.js} +1 -1
- package/dist/federation/dialog-plugin-uDpDXElm.js +1 -0
- package/dist/federation/feedmepos-ui-components.js +1 -1
- package/dist/federation/{index-DAJyV0Bu.js → index-B0tz0GFh.js} +1 -1
- package/dist/feedmepos-ui-library.js +4261 -4253
- package/dist/feedmepos-ui-library.umd.cjs +62 -62
- package/package.json +2 -5
- package/dist/federation/FmPie.vue_vue_type_script_setup_true_lang-Y7GX5AlS.js +0 -2
- package/dist/federation/dialog-plugin-DoIGZelo.js +0 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import type { LegendOptions } from 'chart.js';
|
|
2
|
-
|
|
2
|
+
import type { XAxis } from '../../../components/chart/line/FmLine.vue';
|
|
3
|
+
export interface BarDataset {
|
|
3
4
|
label: string;
|
|
4
5
|
data: number[];
|
|
5
6
|
borderWidth?: number;
|
|
6
|
-
borderColor?: string[];
|
|
7
|
-
backgroundColor?: string[];
|
|
7
|
+
borderColor?: string[] | string;
|
|
8
|
+
backgroundColor?: string[] | string;
|
|
8
9
|
borderRadius?: number;
|
|
9
10
|
}
|
|
10
|
-
export interface XAxis {
|
|
11
|
-
categories: string[];
|
|
12
|
-
}
|
|
13
11
|
type FmBarProp = {
|
|
14
12
|
/**
|
|
15
13
|
* chart name
|
|
@@ -23,7 +21,7 @@ type FmBarProp = {
|
|
|
23
21
|
* datasets
|
|
24
22
|
* each bar is one dataset
|
|
25
23
|
*/
|
|
26
|
-
datasets:
|
|
24
|
+
datasets: BarDataset[];
|
|
27
25
|
/**
|
|
28
26
|
* x axis labels
|
|
29
27
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { LegendOptions } from 'chart.js';
|
|
2
2
|
type PieChartVariant = 'pie' | 'doughnut';
|
|
3
|
-
export interface
|
|
3
|
+
export interface PieDataset {
|
|
4
4
|
label: string;
|
|
5
5
|
data: number[];
|
|
6
|
-
backgroundColor?: string[];
|
|
6
|
+
backgroundColor?: string[] | string;
|
|
7
7
|
hoverOffset?: number;
|
|
8
8
|
}
|
|
9
9
|
type FmPieProp = {
|
|
@@ -23,7 +23,7 @@ type FmPieProp = {
|
|
|
23
23
|
* datasets
|
|
24
24
|
* Should only have one dataset
|
|
25
25
|
*/
|
|
26
|
-
datasets:
|
|
26
|
+
datasets: PieDataset[];
|
|
27
27
|
/**
|
|
28
28
|
* metrics
|
|
29
29
|
* Each categories
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
|
-
rules: import("
|
|
39
|
+
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
42
|
max: string;
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
|
-
rules: import("
|
|
39
|
+
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
42
|
max: string;
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
|
-
rules: import("
|
|
39
|
+
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
42
|
max: string;
|
|
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
54
|
labelMark: "required" | "none" | "optional";
|
|
55
55
|
labelInfo: string;
|
|
56
56
|
focused: boolean;
|
|
57
|
-
rules: import("
|
|
57
|
+
rules: import("../../../..").ValidationRule[];
|
|
58
58
|
helperText: string;
|
|
59
59
|
helperState: "success" | "warning" | "none" | "error";
|
|
60
60
|
max: string;
|
|
@@ -57,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
57
|
labelMark: "required" | "none" | "optional";
|
|
58
58
|
labelInfo: string;
|
|
59
59
|
focused: boolean;
|
|
60
|
-
rules: import("
|
|
60
|
+
rules: import("../../../..").ValidationRule[];
|
|
61
61
|
helperText: string;
|
|
62
62
|
helperState: "success" | "warning" | "none" | "error";
|
|
63
63
|
max: string;
|
|
@@ -57,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
57
|
labelMark: "required" | "none" | "optional";
|
|
58
58
|
labelInfo: string;
|
|
59
59
|
focused: boolean;
|
|
60
|
-
rules: import("
|
|
60
|
+
rules: import("../../../..").ValidationRule[];
|
|
61
61
|
helperText: string;
|
|
62
62
|
helperState: "success" | "warning" | "none" | "error";
|
|
63
63
|
max: string;
|
|
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
41
|
disabled: boolean;
|
|
42
42
|
labelMark: "required" | "none" | "optional";
|
|
43
43
|
labelInfo: string;
|
|
44
|
-
rules: import("
|
|
44
|
+
rules: import("../../..").ValidationRule[];
|
|
45
45
|
helperText: string;
|
|
46
46
|
helperState: "success" | "warning" | "none" | "error";
|
|
47
47
|
placeholder: string;
|
|
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
39
|
labelMark: "required" | "none" | "optional";
|
|
40
40
|
labelInfo: string;
|
|
41
41
|
focused: boolean;
|
|
42
|
-
rules: import("
|
|
42
|
+
rules: import("../../..").ValidationRule[];
|
|
43
43
|
helperText: string;
|
|
44
44
|
helperState: "success" | "warning" | "none" | "error";
|
|
45
45
|
}, {}>, {
|
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
labelMark: "required" | "none" | "optional";
|
|
68
68
|
labelInfo: string;
|
|
69
|
-
rules: import("
|
|
69
|
+
rules: import("../../..").ValidationRule[];
|
|
70
70
|
helperText: string;
|
|
71
71
|
helperState: "success" | "warning" | "none" | "error";
|
|
72
72
|
maxLength: number;
|
|
@@ -59,7 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
59
59
|
labelMark: "required" | "none" | "optional";
|
|
60
60
|
labelInfo: string;
|
|
61
61
|
focused: boolean;
|
|
62
|
-
rules: import("
|
|
62
|
+
rules: import("../../..").ValidationRule[];
|
|
63
63
|
helperText: string;
|
|
64
64
|
helperState: "success" | "warning" | "none" | "error";
|
|
65
65
|
placement: Placement;
|
|
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
33
|
labelMark: "required" | "none" | "optional";
|
|
34
34
|
labelInfo: string;
|
|
35
35
|
focused: boolean;
|
|
36
|
-
rules: import("
|
|
36
|
+
rules: import("../../../..").ValidationRule[];
|
|
37
37
|
helperText: string;
|
|
38
38
|
helperState: "success" | "warning" | "none" | "error";
|
|
39
39
|
max: string;
|
package/dist/components/form/simple-calendar/simple-date-picker/FmSimpleDatePickerDesktop.vue.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
|
-
rules: import("
|
|
39
|
+
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
42
|
max: string;
|
package/dist/components/form/simple-calendar/simple-date-picker/FmSimpleDatePickerMobile.vue.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
labelMark: "required" | "none" | "optional";
|
|
37
37
|
labelInfo: string;
|
|
38
38
|
focused: boolean;
|
|
39
|
-
rules: import("
|
|
39
|
+
rules: import("../../../..").ValidationRule[];
|
|
40
40
|
helperText: string;
|
|
41
41
|
helperState: "success" | "warning" | "none" | "error";
|
|
42
42
|
max: string;
|
|
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
52
52
|
labelMark: "required" | "none" | "optional";
|
|
53
53
|
labelInfo: string;
|
|
54
54
|
focused: boolean;
|
|
55
|
-
rules: import("
|
|
55
|
+
rules: import("../../../..").ValidationRule[];
|
|
56
56
|
helperText: string;
|
|
57
57
|
helperState: "success" | "warning" | "none" | "error";
|
|
58
58
|
max: string;
|
|
@@ -57,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
57
|
labelMark: "required" | "none" | "optional";
|
|
58
58
|
labelInfo: string;
|
|
59
59
|
focused: boolean;
|
|
60
|
-
rules: import("
|
|
60
|
+
rules: import("../../../..").ValidationRule[];
|
|
61
61
|
helperText: string;
|
|
62
62
|
helperState: "success" | "warning" | "none" | "error";
|
|
63
63
|
max: string;
|
|
@@ -57,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
57
|
labelMark: "required" | "none" | "optional";
|
|
58
58
|
labelInfo: string;
|
|
59
59
|
focused: boolean;
|
|
60
|
-
rules: import("
|
|
60
|
+
rules: import("../../../..").ValidationRule[];
|
|
61
61
|
helperText: string;
|
|
62
62
|
helperState: "success" | "warning" | "none" | "error";
|
|
63
63
|
max: string;
|
|
@@ -78,7 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
78
78
|
appendIcon: string;
|
|
79
79
|
labelMark: "required" | "none" | "optional";
|
|
80
80
|
labelInfo: string;
|
|
81
|
-
rules: import("
|
|
81
|
+
rules: import("../../..").ValidationRule[];
|
|
82
82
|
helperText: string;
|
|
83
83
|
helperState: "success" | "warning" | "none" | "error";
|
|
84
84
|
max: number;
|
|
@@ -63,7 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
63
63
|
appendIcon: string;
|
|
64
64
|
labelMark: "required" | "none" | "optional";
|
|
65
65
|
labelInfo: string;
|
|
66
|
-
rules: import("
|
|
66
|
+
rules: import("../../..").ValidationRule[];
|
|
67
67
|
helperText: string;
|
|
68
68
|
helperState: "success" | "warning" | "none" | "error";
|
|
69
69
|
maxLength: number;
|
|
@@ -58,7 +58,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
58
|
labelMark: "required" | "none" | "optional";
|
|
59
59
|
labelInfo: string;
|
|
60
60
|
focused: boolean;
|
|
61
|
-
rules: import("
|
|
61
|
+
rules: import("../../..").ValidationRule[];
|
|
62
62
|
helperText: string;
|
|
63
63
|
helperState: "success" | "warning" | "none" | "error";
|
|
64
64
|
maxLength: number;
|
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
labelMark: "required" | "none" | "optional";
|
|
41
41
|
labelInfo: string;
|
|
42
42
|
focused: boolean;
|
|
43
|
-
rules: import("
|
|
43
|
+
rules: import("../../..").ValidationRule[];
|
|
44
44
|
helperText: string;
|
|
45
45
|
helperState: "success" | "warning" | "none" | "error";
|
|
46
46
|
placeholder: string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface
|
|
1
|
+
import type { FmTimePicker } from '../../../components/form/time-picker/FmTimePicker.vue';
|
|
2
|
+
export interface FmTimeRangePicker extends Omit<FmTimePicker, 'modelValue'> {
|
|
3
3
|
modelValue: string[] | null;
|
|
4
|
-
showValidBorder?: boolean;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
zIndex?: number;
|
|
7
4
|
}
|
|
8
5
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmTimePicker>, {
|
|
9
6
|
label: string;
|
|
@@ -40,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
37
|
labelMark: "required" | "none" | "optional";
|
|
41
38
|
labelInfo: string;
|
|
42
39
|
focused: boolean;
|
|
43
|
-
rules: import("
|
|
40
|
+
rules: import("../../..").ValidationRule[];
|
|
44
41
|
helperText: string;
|
|
45
42
|
helperState: "success" | "warning" | "none" | "error";
|
|
46
43
|
placeholder: string;
|
|
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
"onClick:remove-chip"?: ((chipIndex: number) => any) | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
searchModel: string;
|
|
22
|
-
chips: import("
|
|
22
|
+
chips: import("../..").FmChipProps[];
|
|
23
23
|
actions: FmTableToolbarActions[];
|
|
24
24
|
zIndexForBottomSheet: number;
|
|
25
25
|
}, {}>, Partial<Record<`action-${string}`, (_: {}) => any>> & {
|
package/dist/components.d.ts
CHANGED
|
@@ -1577,7 +1577,7 @@ export declare const components: {
|
|
|
1577
1577
|
default: undefined;
|
|
1578
1578
|
};
|
|
1579
1579
|
datasets: {
|
|
1580
|
-
type: import("vue").PropType<import("./components/chart/pie/FmPie.vue").
|
|
1580
|
+
type: import("vue").PropType<import("./components/chart/pie/FmPie.vue").PieDataset[]>;
|
|
1581
1581
|
required: true;
|
|
1582
1582
|
};
|
|
1583
1583
|
maintainAspectRatio: {
|
|
@@ -1622,7 +1622,7 @@ export declare const components: {
|
|
|
1622
1622
|
default: undefined;
|
|
1623
1623
|
};
|
|
1624
1624
|
datasets: {
|
|
1625
|
-
type: import("vue").PropType<import("./components/chart/pie/FmPie.vue").
|
|
1625
|
+
type: import("vue").PropType<import("./components/chart/pie/FmPie.vue").PieDataset[]>;
|
|
1626
1626
|
required: true;
|
|
1627
1627
|
};
|
|
1628
1628
|
maintainAspectRatio: {
|
|
@@ -1683,7 +1683,7 @@ export declare const components: {
|
|
|
1683
1683
|
default: undefined;
|
|
1684
1684
|
};
|
|
1685
1685
|
datasets: {
|
|
1686
|
-
type: import("vue").PropType<import("./components/chart/pie/FmPie.vue").
|
|
1686
|
+
type: import("vue").PropType<import("./components/chart/pie/FmPie.vue").PieDataset[]>;
|
|
1687
1687
|
required: true;
|
|
1688
1688
|
};
|
|
1689
1689
|
maintainAspectRatio: {
|
|
@@ -1741,7 +1741,7 @@ export declare const components: {
|
|
|
1741
1741
|
default: undefined;
|
|
1742
1742
|
};
|
|
1743
1743
|
datasets: {
|
|
1744
|
-
type: import("vue").PropType<import("./components/chart/pie/FmPie.vue").
|
|
1744
|
+
type: import("vue").PropType<import("./components/chart/pie/FmPie.vue").PieDataset[]>;
|
|
1745
1745
|
required: true;
|
|
1746
1746
|
};
|
|
1747
1747
|
maintainAspectRatio: {
|
|
@@ -1793,11 +1793,11 @@ export declare const components: {
|
|
|
1793
1793
|
default: undefined;
|
|
1794
1794
|
};
|
|
1795
1795
|
datasets: {
|
|
1796
|
-
type: import("vue").PropType<import("./components/chart/bar/FmBar.vue").
|
|
1796
|
+
type: import("vue").PropType<import("./components/chart/bar/FmBar.vue").BarDataset[]>;
|
|
1797
1797
|
required: true;
|
|
1798
1798
|
};
|
|
1799
1799
|
xAxis: {
|
|
1800
|
-
type: import("vue").PropType<import("./components/chart/
|
|
1800
|
+
type: import("vue").PropType<import("./components/chart/line/FmLine.vue").XAxis>;
|
|
1801
1801
|
required: true;
|
|
1802
1802
|
};
|
|
1803
1803
|
transpose: {
|
|
@@ -1834,11 +1834,11 @@ export declare const components: {
|
|
|
1834
1834
|
default: undefined;
|
|
1835
1835
|
};
|
|
1836
1836
|
datasets: {
|
|
1837
|
-
type: import("vue").PropType<import("./components/chart/bar/FmBar.vue").
|
|
1837
|
+
type: import("vue").PropType<import("./components/chart/bar/FmBar.vue").BarDataset[]>;
|
|
1838
1838
|
required: true;
|
|
1839
1839
|
};
|
|
1840
1840
|
xAxis: {
|
|
1841
|
-
type: import("vue").PropType<import("./components/chart/
|
|
1841
|
+
type: import("vue").PropType<import("./components/chart/line/FmLine.vue").XAxis>;
|
|
1842
1842
|
required: true;
|
|
1843
1843
|
};
|
|
1844
1844
|
transpose: {
|
|
@@ -1891,11 +1891,11 @@ export declare const components: {
|
|
|
1891
1891
|
default: undefined;
|
|
1892
1892
|
};
|
|
1893
1893
|
datasets: {
|
|
1894
|
-
type: import("vue").PropType<import("./components/chart/bar/FmBar.vue").
|
|
1894
|
+
type: import("vue").PropType<import("./components/chart/bar/FmBar.vue").BarDataset[]>;
|
|
1895
1895
|
required: true;
|
|
1896
1896
|
};
|
|
1897
1897
|
xAxis: {
|
|
1898
|
-
type: import("vue").PropType<import("./components/chart/
|
|
1898
|
+
type: import("vue").PropType<import("./components/chart/line/FmLine.vue").XAxis>;
|
|
1899
1899
|
required: true;
|
|
1900
1900
|
};
|
|
1901
1901
|
transpose: {
|
|
@@ -1945,11 +1945,11 @@ export declare const components: {
|
|
|
1945
1945
|
default: undefined;
|
|
1946
1946
|
};
|
|
1947
1947
|
datasets: {
|
|
1948
|
-
type: import("vue").PropType<import("./components/chart/bar/FmBar.vue").
|
|
1948
|
+
type: import("vue").PropType<import("./components/chart/bar/FmBar.vue").BarDataset[]>;
|
|
1949
1949
|
required: true;
|
|
1950
1950
|
};
|
|
1951
1951
|
xAxis: {
|
|
1952
|
-
type: import("vue").PropType<import("./components/chart/
|
|
1952
|
+
type: import("vue").PropType<import("./components/chart/line/FmLine.vue").XAxis>;
|
|
1953
1953
|
required: true;
|
|
1954
1954
|
};
|
|
1955
1955
|
transpose: {
|
|
@@ -8932,7 +8932,7 @@ export declare const components: {
|
|
|
8932
8932
|
default: undefined;
|
|
8933
8933
|
};
|
|
8934
8934
|
modelValue: {
|
|
8935
|
-
type: import("vue").PropType<string
|
|
8935
|
+
type: import("vue").PropType<string | null>;
|
|
8936
8936
|
required: true;
|
|
8937
8937
|
};
|
|
8938
8938
|
disabled: {
|
|
@@ -8985,7 +8985,7 @@ export declare const components: {
|
|
|
8985
8985
|
default: undefined;
|
|
8986
8986
|
};
|
|
8987
8987
|
modelValue: {
|
|
8988
|
-
type: import("vue").PropType<string
|
|
8988
|
+
type: import("vue").PropType<string | null>;
|
|
8989
8989
|
required: true;
|
|
8990
8990
|
};
|
|
8991
8991
|
disabled: {
|
|
@@ -9055,7 +9055,7 @@ export declare const components: {
|
|
|
9055
9055
|
default: undefined;
|
|
9056
9056
|
};
|
|
9057
9057
|
modelValue: {
|
|
9058
|
-
type: import("vue").PropType<string
|
|
9058
|
+
type: import("vue").PropType<string | null>;
|
|
9059
9059
|
required: true;
|
|
9060
9060
|
};
|
|
9061
9061
|
disabled: {
|
|
@@ -9122,7 +9122,7 @@ export declare const components: {
|
|
|
9122
9122
|
default: undefined;
|
|
9123
9123
|
};
|
|
9124
9124
|
modelValue: {
|
|
9125
|
-
type: import("vue").PropType<string
|
|
9125
|
+
type: import("vue").PropType<string | null>;
|
|
9126
9126
|
required: true;
|
|
9127
9127
|
};
|
|
9128
9128
|
disabled: {
|
|
@@ -12108,3 +12108,93 @@ export declare const components: {
|
|
|
12108
12108
|
};
|
|
12109
12109
|
});
|
|
12110
12110
|
};
|
|
12111
|
+
export type * from './components/badge/FmBadge.vue';
|
|
12112
|
+
export type * from './components/bottom-sheet/FmBottomSheet.vue';
|
|
12113
|
+
export type * from './components/breadcrumb/FmBreadcrumb.vue';
|
|
12114
|
+
export type * from './components/button/FmButton.vue';
|
|
12115
|
+
export type * from './components/button-group/FmButtonGroup.vue';
|
|
12116
|
+
export type * from './components/card/FmCard.vue';
|
|
12117
|
+
export type * from './components/card/FmCardActionArea.vue';
|
|
12118
|
+
export type * from './components/card/FmCardActions.vue';
|
|
12119
|
+
export type * from './components/card/FmCardHeader.vue';
|
|
12120
|
+
export type * from './components/card/FmCardMedia.vue';
|
|
12121
|
+
export type * from './components/card/FmCardSection.vue';
|
|
12122
|
+
export type * from './components/card/FmCardSubtitle.vue';
|
|
12123
|
+
export type * from './components/card/FmCardTitle.vue';
|
|
12124
|
+
export type * from './components/chip/FmChip.vue';
|
|
12125
|
+
export type * from './components/chip-group/FmChipGroup.vue';
|
|
12126
|
+
export type * from './components/dialog/FmDialog.vue';
|
|
12127
|
+
export type * from './components/drop-field/FmDropField.vue';
|
|
12128
|
+
export type * from './components/dynamic-dialog/FmDynamicDialog.vue';
|
|
12129
|
+
export type * from './components/chart/line/FmLine.vue';
|
|
12130
|
+
export type * from './components/chart/pie/FmPie.vue';
|
|
12131
|
+
export type * from './components/chart/bar/FmBar.vue';
|
|
12132
|
+
export type * from './components/form/checkbox/FmCheckbox.vue';
|
|
12133
|
+
export type * from './components/form/calendar/date-picker/FmDatePicker.vue';
|
|
12134
|
+
export type * from './components/form/calendar/date-picker/FmDatePickerMobile.vue';
|
|
12135
|
+
export type * from './components/form/calendar/date-range-picker/FmDateRangePicker.vue';
|
|
12136
|
+
export type * from './components/form/calendar/date-range-picker/FmDateRangePickerMobile.vue';
|
|
12137
|
+
export type * from './components/form/simple-calendar/simple-date-picker/FmSimpleDatePicker.vue';
|
|
12138
|
+
export type * from './components/form/simple-calendar/simple-date-picker/FmSimpleDatePickerMobile.vue';
|
|
12139
|
+
export type * from './components/form/simple-calendar/simple-date-range-picker/FmSimpleDateRangePicker.vue';
|
|
12140
|
+
export type * from './components/form/simple-calendar/simple-date-range-picker/FmSimpleDateRangePickerMobile.vue';
|
|
12141
|
+
export type * from './components/form/field/FmField.vue';
|
|
12142
|
+
export type * from './components/form/form/FmForm.vue';
|
|
12143
|
+
export type * from './components/form/form-group/FmFormGroup.vue';
|
|
12144
|
+
export type * from './components/form/helper-text/FmHelperText.vue';
|
|
12145
|
+
export type * from './components/form/label/FmLabel.vue';
|
|
12146
|
+
export type * from './components/form/phone-number/FmPhoneNumber.vue';
|
|
12147
|
+
export type * from './components/form/pin-field/FmPinField.vue';
|
|
12148
|
+
export type * from './components/form/radio/FmRadio.vue';
|
|
12149
|
+
export type * from './components/form/radio-group/FmRadioGroup.vue';
|
|
12150
|
+
export type * from './components/form/search/FmSearch.vue';
|
|
12151
|
+
export type * from './components/form/search/FmGlobalSearch.vue';
|
|
12152
|
+
export type * from './components/form/select/FmSelect.vue';
|
|
12153
|
+
export type * from './components/form/stepper-field/FmStepperField.vue';
|
|
12154
|
+
export type * from './components/form/switch/FmSwitch.vue';
|
|
12155
|
+
export type * from './components/form/text-field/FmTextField.vue';
|
|
12156
|
+
export type * from './components/form/textarea/FmTextarea.vue';
|
|
12157
|
+
export type * from './components/form/time-picker/FmTimeInput.vue';
|
|
12158
|
+
export type * from './components/form/time-picker/FmTimePicker.vue';
|
|
12159
|
+
export type * from './components/form/time-picker/FmTimeRangePicker.vue';
|
|
12160
|
+
export type * from './components/icon/FmIcon.vue';
|
|
12161
|
+
export type * from './components/list/FmList.vue';
|
|
12162
|
+
export type * from './components/list/FmListItem.vue';
|
|
12163
|
+
export type * from './components/menu/menu-component/FmMenu.vue';
|
|
12164
|
+
export type * from './components/menu/menu-container-deprecated/FmMenuDeprecated.vue';
|
|
12165
|
+
export type * from './components/menu/menu-divider/FmMenuDivider.vue';
|
|
12166
|
+
export type * from './components/menu/menu-header/FmMenuHeader.vue';
|
|
12167
|
+
export type * from './components/menu/menu-item/FmMenuItem.vue';
|
|
12168
|
+
export type * from './components/progress-indicator/FmCircularProgress.vue';
|
|
12169
|
+
export type * from './components/progress-indicator/FmLinearProgress.vue';
|
|
12170
|
+
export type * from './components/side-sheet/FmSideSheet.vue';
|
|
12171
|
+
export type * from './components/snackbar/FmSnackbar.vue';
|
|
12172
|
+
export type * from './components/spacer/FmSpacer.vue';
|
|
12173
|
+
export type * from './components/stepper/FmStep.vue';
|
|
12174
|
+
export type * from './components/stepper/FmStepper.vue';
|
|
12175
|
+
export type * from './components/tab/FmTab.vue';
|
|
12176
|
+
export type * from './components/table/FmTableToolbar.vue';
|
|
12177
|
+
export type * from './components/table/FmTable.vue';
|
|
12178
|
+
export type * from './components/tabs/FmTabs.vue';
|
|
12179
|
+
export type * from './components/tabs/FmCollapsibleTabs.vue';
|
|
12180
|
+
export type * from './components/tooltip/FmTooltip.vue';
|
|
12181
|
+
export type * from './components/avatar/FmAvatar.vue';
|
|
12182
|
+
export type * from './components/thumbnail/FmThumbnail.vue';
|
|
12183
|
+
export type * from './components/page-head/FmPageHead.vue';
|
|
12184
|
+
export type * from './components/top-sheet/FmTopSheet.vue';
|
|
12185
|
+
export type * from './components/table/FmTableHeader.vue';
|
|
12186
|
+
export type * from './components/scorecard/FmScorecard.vue';
|
|
12187
|
+
export type * from './components/popover/FmPopover.vue';
|
|
12188
|
+
export type * from './components/overlay/FmOverlay.vue';
|
|
12189
|
+
export type * from './composables/useBreakpoints';
|
|
12190
|
+
export type * from './composables/useDebouncedModel.spec';
|
|
12191
|
+
export type * from './composables/useDebouncedModel';
|
|
12192
|
+
export type * from './composables/useDialog';
|
|
12193
|
+
export type * from './composables/useDialogChild';
|
|
12194
|
+
export type * from './composables/useFocus';
|
|
12195
|
+
export type * from './composables/useFormChild';
|
|
12196
|
+
export type * from './composables/useInheritFormState';
|
|
12197
|
+
export type * from './composables/useProxiedModel';
|
|
12198
|
+
export type * from './composables/useSnackbar';
|
|
12199
|
+
export type * from './composables/useTableFilter';
|
|
12200
|
+
export type * from './composables/useValidation';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{importShared as u,__tla as j}from"./__federation_fn_import-DzgSLNaX.js";import{C as O}from"./auto-tf8UBy4R.js";import{g as p,c as T}from"./util-color-n0Jt_xoP.js";let D,V=Promise.all([(()=>{try{return j}catch{}})()]).then(async()=>{let f,g,s,o,m,v,y,x,b,h,C,r,k,_,w;({defineComponent:f}=await u("vue")),{renderSlot:g,toDisplayString:s,createElementVNode:o,openBlock:m,createElementBlock:v}=await u("vue"),y={class:"flex flex-col h-full overflow-hidden px-24 py-16"},x={class:"flex flex-col gap-8"},b={class:"fm-color-typo-primary fm-typo-en-body-lg-400"},h={class:"fm-color-typo-secondary fm-typo-en-body-md-400"},C={class:"grow"},{computed:r,onMounted:k,ref:_,watch:w}=await u("vue"),D=f({__name:"FmPie",props:{name:{default:void 0},variant:{},paragraph:{default:void 0},datasets:{},metrics:{},legend:{default:void 0},text:{default:void 0},textColor:{default:"#0E1715"},textStyle:{default:"bold 30px sans-serif"},maintainAspectRatio:{type:Boolean,default:!0},percentage:{default:void 0}},setup(B){const e=B,i=_(null);let d=null;const R=r(()=>e.percentage?e.percentage:e.variant==="doughnut"?"90%":"0"),c=r(()=>e.text);w([()=>e.metrics,()=>e.datasets,()=>e.variant,()=>e.legend,()=>e.textColor,()=>e.textStyle,()=>e.text,()=>e.maintainAspectRatio,()=>e.percentage],()=>{d&&(d.destroy(),S())});const E=r(()=>({labels:e.metrics,datasets:e.datasets.map(t=>{let a;return typeof t.backgroundColor=="string"?a=t.backgroundColor:typeof t.backgroundColor=="object"&&(a=t.backgroundColor.map(l=>p(l)??"")),typeof t.backgroundColor=="string"?a=t.backgroundColor:typeof t.backgroundColor=="object"&&(a=t.backgroundColor.map(l=>p(l)??"")),{...t,backgroundColor:a,hoverOffset:t.hoverOffset??0}})}));function S(){i.value&&(d=new O(i.value,{type:"doughnut",data:E.value,options:{maintainAspectRatio:e.maintainAspectRatio,responsive:!0,cutout:R.value,plugins:{legend:e.legend||{display:!0,position:"bottom",maxHeight:60,labels:{usePointStyle:!0}}}},plugins:[{id:"doughnutlabel",beforeDatasetsDraw:t=>{if(e.variant==="doughnut"){const{ctx:a}=t;a.save();const l=t.getDatasetMeta(0).data[0].x,M=t.getDatasetMeta(0).data[0].y;if(a.font=e.textStyle,a.textAlign="center",a.textBaseline="middle",c.value&&c.value!==""){const A=c.value.split(`
|
|
2
|
+
`);for(let n=0;n<A.length;n++){const P=n===0?1:.7;a.fillStyle=T(p(e.textColor)??"",P),a.fillText(A[n],l,M+n*40)}}}}}]}))}return k(()=>{S()}),(t,a)=>(m(),v("div",y,[o("div",x,[g(t.$slots,"title"),o("div",b,s(t.name),1),o("div",h,s(t.paragraph),1)]),o("div",C,[o("canvas",{ref_key:"canvas",ref:i},null,512)])]))}})});export{D as _,V as __tla};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,__tla as a}from"./dialog-plugin-
|
|
1
|
+
import{_ as t,__tla as a}from"./dialog-plugin-uDpDXElm.js";let _=Promise.all([(()=>{try{return a}catch{}})()]).then(async()=>{});export{_ as __tla,t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,__tla as a}from"./FmPie.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as t,__tla as a}from"./FmPie.vue_vue_type_script_setup_true_lang-CwV9MfhF.js";let _=Promise.all([(()=>{try{return a}catch{}})()]).then(async()=>{});export{_ as __tla,t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{importShared as v,__tla as M}from"./__federation_fn_import-DzgSLNaX.js";import{D as $}from"./provider-keys-nUDvvk3o.js";import{_ as j,__tla as q}from"./FmDialogContent.vue_vue_type_script_setup_true_lang-HRUi3xS3.js";import L,{__tla as O}from"./__federation_expose_FmIcon-Cl5V-PdJ.js";import A,{__tla as Z}from"./__federation_expose_FmButton-CAYP6Mjn.js";import G,{__tla as H}from"./__federation_expose_FmSpacer-BBP6soF8.js";import{F as J,__tla as K}from"./FmOverlay-DgS2AGto.js";let W,D,Q=Promise.all([(()=>{try{return M}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return K}catch{}})()]).then(async()=>{let b,g,w,x,a,r,u,_,C,B,P,z,d,N,V,E,F,S,T,I,h,R,U,k;({defineComponent:b}=await v("vue")),{resolveDynamicComponent:g,normalizeProps:w,guardReactiveProps:x,openBlock:a,createBlock:r,createCommentVNode:u,createElementBlock:_,toDisplayString:C,createElementVNode:B,mergeProps:P,createVNode:z,withCtx:d,createSlots:N,Transition:V}=await v("vue"),E={key:0,class:"block relative"},F={key:1,class:"fm-typo-en-body-md-400 text-fm-color-neutral-black"},{computed:S,onMounted:T,onUnmounted:I,ref:h}=await v("vue"),D=b({__name:"FmDynamicDialog",props:{title:{},message:{default:""},primaryActions:{default:null},secondaryActions:{default:null},tertiaryActions:{default:null},overlay:{type:Boolean,default:!0},dismissAway:{type:Boolean,default:!0},closeButton:{type:Boolean,default:!0},minWidth:{default:280},dialogComponent:{default:null},contentComponent:{default:null},dialogComponentProps:{default:null},contentScrollable:{type:Boolean,default:!0},contentClass:{},contentComponentProps:{default:null},unmount:{type:Function,default:()=>{}},storedFunctions:{default:null},zIndex:{default:void 0}},emits:["dialog-opened","dialog-closed"],setup(p,{emit:n}){const s=h(!1),o=h(),m=S(()=>l.primaryActions||l.secondaryActions||l.tertiaryActions),l=p,f=n,c=()=>{l.overlay&&(s.value=!1,setTimeout(()=>{l.unmount()},500))},y=(t,e)=>{l.storedFunctions[e].forEach(i=>i(o.value)),t.close&&c()};return T(()=>{f("dialog-opened"),s.value=!0}),I(()=>{f("dialog-closed",o.value)}),(t,e)=>(a(),r(V,{name:"fm-dialog"},{default:d(()=>[s.value?(a(),r(J,{key:0,"dismiss-away":t.dismissAway,"prevent-backdrop-event":!t.overlay,transparent:!t.overlay,"center-content":"","z-index":t.zIndex,onClose:c},{default:d(()=>[t.dialogComponent?(a(),_("div",E,[(a(),r(g(t.dialogComponent),w(x(t.dialogComponentProps)),null,16)),t.closeButton?(a(),r(L,{key:0,class:"absolute cursor-pointer right-[12px] top-[18px]",name:"close",size:"md",onClick:c})):u("",!0)])):(a(),r(j,{key:1,modelValue:s.value,"onUpdate:modelValue":e[4]||(e[4]=i=>s.value=i),"close-button":t.closeButton,"min-width":t.minWidth,"content-scrollable":t.contentScrollable,"content-class":t.contentClass},N({"dialog-header":d(()=>[B("div",null,C(t.title??"Notification"),1)]),default:d(()=>[t.contentComponent?(a(),r(g(t.contentComponent),P({key:0},t.contentComponentProps,{"onDialog:emitData":e[0]||(e[0]=i=>o.value=i)}),null,16)):(a(),_("div",F,C(t.message),1))]),_:2},[m.value?{name:"dialog-footer",fn:d(()=>[t.tertiaryActions?(a(),r(A,{key:0,label:t.tertiaryActions.text,variant:t.tertiaryActions.variant??"tertiary",class:"sm:w-full xs:w-full",size:"md",onClick:e[1]||(e[1]=i=>y(t.tertiaryActions,"tertiary"))},null,8,["label","variant"])):u("",!0),z(G,{class:"sm:hidden xs:hidden"}),t.secondaryActions?(a(),r(A,{key:1,label:t.secondaryActions.text,variant:t.secondaryActions.variant??"tertiary",class:"sm:w-full xs:w-full",size:"md",onClick:e[2]||(e[2]=i=>y(t.secondaryActions,"secondary"))},null,8,["label","variant"])):u("",!0),t.primaryActions?(a(),r(A,{key:2,label:t.primaryActions.text,variant:t.primaryActions.variant??"primary",class:"sm:w-full xs:w-full",size:"md",onClick:e[3]||(e[3]=i=>y(t.primaryActions,"primary"))},null,8,["label","variant"])):u("",!0)]),key:"0"}:void 0]),1032,["modelValue","close-button","min-width","content-scrollable","content-class"]))]),_:1},8,["dismiss-away","prevent-backdrop-event","transparent","z-index"])):u("",!0)]),_:1}))}}),{createVNode:R,markRaw:U,render:k}=await v("vue"),W={install:p=>{const n={currentDialog:{dialogCount:0,vNode:null,container:null,uselessContainers:[]},open:s=>{const o={primary:[],secondary:[],tertiary:[]},m=new Array,l={onPrimary:e=>(o.primary.push(e),l),onSecondary:e=>(o.secondary.push(e),l),onTertiary:e=>(o.tertiary.push(e),l),onClose:e=>(m.push(e),l)};function f(){n.close()}const c=document.createElement("div");document.body.appendChild(c);const y=U(D),t=R(y,{...s,unmount:f,storedFunctions:o,"onDialog-closed"(e){m.forEach(i=>i(e))}});return t.appContext=p._context,k(t,c),n.currentDialog.container&&n.currentDialog.uselessContainers.push(n.currentDialog.container),n.currentDialog.dialogCount+=1,n.currentDialog.vNode=t,n.currentDialog.container=c,l},close:()=>{const{vNode:s,container:o}=n.currentDialog;n.currentDialog.uselessContainers.forEach(m=>{m.remove()}),!(s===null&&o===null)&&(n.currentDialog.dialogCount-=1,n.currentDialog.dialogCount===0&&(o&&k(null,o),o==null||o.remove(),n.currentDialog={vNode:null,container:null,dialogCount:0}))}};p.config.globalProperties.$dialog=n,p.provide($,n)}}});export{W as D,D as _,Q as __tla};
|