@feedmepos/ui-library 1.1.16 → 1.1.18

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.
Files changed (24) hide show
  1. package/dist/CHANGELOG.md +25 -8
  2. package/dist/components/avatar/FmAvatar.vue.d.ts +7 -2
  3. package/dist/components/chart/bar/FmBar.vue.d.ts +2 -2
  4. package/dist/components/chart/line/FmLine.vue.d.ts +2 -2
  5. package/dist/components/chart/pie/FmPie.vue.d.ts +2 -2
  6. package/dist/components/scorecard/FmScorecard.vue.d.ts +66 -0
  7. package/dist/components.d.ts +231 -24
  8. package/dist/federation/FmAvatar.vue_vue_type_script_setup_true_lang-CHzAQ9YF.js +1 -0
  9. package/dist/federation/{FmPageHead.vue_vue_type_script_setup_true_lang-QAHgpFH0.js → FmPageHead.vue_vue_type_script_setup_true_lang-Dip7Os-W.js} +1 -1
  10. package/dist/federation/{__federation_expose_FmAvatar-CH91syIa.js → __federation_expose_FmAvatar-Dll-Jwx4.js} +1 -1
  11. package/dist/federation/__federation_expose_FmBottomSheet-CJKpk6QB.js +1 -0
  12. package/dist/federation/{__federation_expose_FmBottomSheet-C5iN0BZk.css → __federation_expose_FmBottomSheet-CXXlEm4Q.css} +1 -1
  13. package/dist/federation/{__federation_expose_FmPageHead-DSjiEGDW.js → __federation_expose_FmPageHead-ByAU1t-_.js} +1 -1
  14. package/dist/federation/feedmepos-ui-components.js +1 -1
  15. package/dist/federation/{index-DAOb1iBs.js → index-CoP6TxX6.js} +156 -156
  16. package/dist/federation/index-DjDZsjW6.css +1 -0
  17. package/dist/feedmepos-ui-library.js +38858 -38664
  18. package/dist/feedmepos-ui-library.umd.cjs +246 -246
  19. package/dist/global-components.d.ts +1 -0
  20. package/dist/style.css +1 -1
  21. package/package.json +1 -1
  22. package/dist/federation/FmAvatar.vue_vue_type_script_setup_true_lang-BN8lgh_x.js +0 -1
  23. package/dist/federation/__federation_expose_FmBottomSheet-DNHgxUKd.js +0 -1
  24. package/dist/federation/index-DCN_1tpI.css +0 -1
package/dist/CHANGELOG.md CHANGED
@@ -6,14 +6,31 @@
6
6
  - Separate font styles by locale
7
7
  - Redesign the font system
8
8
 
9
- ## 1.1.16
9
+ ## 1.1.18 - 2024-05-21
10
+
11
+ - `FmAvatar`
12
+ - Add `sm2` size
13
+ - Add `rounded` prop
14
+
15
+ ## 1.1.17 - 2024-05-20
16
+
17
+ ### Feature
18
+
19
+ - `FmBottomSheet`
20
+ - Support pointer swipe to close the bottom sheet
21
+ - `FmScorecard`
22
+ - New component for displaying a scorecard
23
+ - `FmSimpleCalendar`
24
+ - Update the order of comparison quick select
25
+
26
+ ## 1.1.16 - 2024-05-19
10
27
 
11
28
  ## Bug fixes
12
29
 
13
30
  - `Calendar`
14
31
  - Fixed the issue that Calendar related component doesn't refer the disable status from fromProvider
15
32
 
16
- ## 1.1.15
33
+ ## 1.1.15 - 2024-05-11
17
34
 
18
35
  ### Feature
19
36
 
@@ -23,7 +40,7 @@
23
40
  - `ToolTip`
24
41
  - Now tooltip supported touch devices
25
42
 
26
- ## 1.1.14
43
+ ## 1.1.14 - 2024-05-10
27
44
 
28
45
  ### Feature
29
46
 
@@ -35,21 +52,21 @@
35
52
  - Added `legend` props for better customization more info refer to chart js legend documentation for additional
36
53
  options
37
54
 
38
- ## 1.1.13
55
+ ## 1.1.13 - 2024-05-09
39
56
 
40
57
  ### Feature
41
58
 
42
59
  - `FmIcon`
43
60
  - Upgrade Material Icons version(Fill)
44
61
 
45
- ## 1.1.12
62
+ ## 1.1.12 - 2024-05-09
46
63
 
47
64
  ### Bug fixes
48
65
 
49
66
  - `FmButton`
50
67
  - Fix the icon will be missing when it is clicked because there is no fill variant for the icon
51
68
 
52
- ## 1.1.11
69
+ ## 1.1.11 - 2024-05-09
53
70
 
54
71
  ### Feature
55
72
 
@@ -61,7 +78,7 @@
61
78
  - `FmStepperField`
62
79
  - Fix the issue that the stepper field will not be disabled when it be set to disabled
63
80
 
64
- ## 1.1.10
81
+ ## 1.1.10 - 2024-05-08
65
82
 
66
83
  ### Feature
67
84
 
@@ -70,7 +87,7 @@
70
87
  - `FmTable`
71
88
  - Allow user assign className for row
72
89
 
73
- ## 1.1.9
90
+ ## 1.1.9 - 2024-05-06
74
91
 
75
92
  ### Feature
76
93
 
@@ -15,21 +15,26 @@ export interface FmAvatarProps {
15
15
  */
16
16
  src?: string;
17
17
  /** Default: md */
18
- size?: 'sm' | 'md' | 'lg' | 'xl';
18
+ size?: 'sm' | 'sm2' | 'md' | 'lg' | 'xl';
19
+ /** Default: xxxl */
20
+ rounded?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
19
21
  }
20
22
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmAvatarProps>, {
21
23
  initials: () => "";
22
24
  name: () => "";
23
25
  src: undefined;
24
26
  size: () => "md";
27
+ rounded: () => "xxxl";
25
28
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmAvatarProps>, {
26
29
  initials: () => "";
27
30
  name: () => "";
28
31
  src: undefined;
29
32
  size: () => "md";
33
+ rounded: () => "xxxl";
30
34
  }>>>, {
31
35
  name: string;
32
- size: "sm" | "md" | "lg" | "xl";
36
+ size: "sm" | "md" | "lg" | "xl" | "sm2";
37
+ rounded: "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl";
33
38
  src: string;
34
39
  initials: string;
35
40
  }, {}>;
@@ -53,7 +53,7 @@ type FmBarProp = {
53
53
  * hide the legend
54
54
  * this will have priority over any other
55
55
  */
56
- legend?: LegendOptions<'bar'>;
56
+ legend?: Partial<LegendOptions<'bar'>>;
57
57
  };
58
58
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmBarProp>, {
59
59
  name: undefined;
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
74
74
  hideYAxis: undefined;
75
75
  legend: undefined;
76
76
  }>>>, {
77
- legend: LegendOptions<"bar">;
77
+ legend: Partial<LegendOptions<"bar">>;
78
78
  name: string;
79
79
  paragraph: string;
80
80
  transpose: boolean;
@@ -52,7 +52,7 @@ type FmLineProp = {
52
52
  * hide the legend
53
53
  * this will have priority over any other
54
54
  */
55
- legend?: LegendOptions<'line'>;
55
+ legend?: Partial<LegendOptions<'line'>>;
56
56
  };
57
57
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmLineProp>, {
58
58
  name: undefined;
@@ -69,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
69
69
  hideYAxis: undefined;
70
70
  legend: undefined;
71
71
  }>>>, {
72
- legend: LegendOptions<"line">;
72
+ legend: Partial<LegendOptions<"line">>;
73
73
  name: string;
74
74
  paragraph: string;
75
75
  transpose: boolean;
@@ -32,7 +32,7 @@ type FmPieProp = {
32
32
  /**
33
33
  * legends
34
34
  */
35
- legend?: LegendOptions<'doughnut'>;
35
+ legend?: Partial<LegendOptions<'doughnut'>>;
36
36
  /**
37
37
  * text
38
38
  * the text in the middle for doughnut
@@ -73,7 +73,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
73
73
  maintainAspectRatio: boolean;
74
74
  percentage: undefined;
75
75
  }>>>, {
76
- legend: LegendOptions<"doughnut">;
76
+ legend: Partial<LegendOptions<"doughnut">>;
77
77
  text: string;
78
78
  name: string;
79
79
  paragraph: string;
@@ -0,0 +1,66 @@
1
+ export interface FmScorecardProps {
2
+ title: string;
3
+ value: string | number;
4
+ compareValue?: string | number;
5
+ description: string;
6
+ hideCompare?: boolean;
7
+ hideLineChart?: boolean;
8
+ sparklineData?: {
9
+ dimension: string[];
10
+ datasets: {
11
+ name: string;
12
+ values: number[];
13
+ }[];
14
+ };
15
+ }
16
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmScorecardProps>, {
17
+ value: number;
18
+ compareValue: undefined;
19
+ hideCompare: boolean;
20
+ hideLineChart: boolean;
21
+ sparklineData: undefined;
22
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmScorecardProps>, {
23
+ value: number;
24
+ compareValue: undefined;
25
+ hideCompare: boolean;
26
+ hideLineChart: boolean;
27
+ sparklineData: undefined;
28
+ }>>>, {
29
+ value: string | number;
30
+ compareValue: string | number;
31
+ hideCompare: boolean;
32
+ hideLineChart: boolean;
33
+ sparklineData: {
34
+ dimension: string[];
35
+ datasets: {
36
+ name: string;
37
+ values: number[];
38
+ }[];
39
+ };
40
+ }, {}>, {
41
+ title?(_: {}): any;
42
+ compare?(_: {}): any;
43
+ }>;
44
+ export default _default;
45
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
46
+ type __VLS_TypePropsToRuntimeProps<T> = {
47
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
48
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
49
+ } : {
50
+ type: import('vue').PropType<T[K]>;
51
+ required: true;
52
+ };
53
+ };
54
+ type __VLS_WithDefaults<P, D> = {
55
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
56
+ default: D[K];
57
+ }> : P[K];
58
+ };
59
+ type __VLS_Prettify<T> = {
60
+ [K in keyof T]: T[K];
61
+ } & {};
62
+ type __VLS_WithTemplateSlots<T, S> = T & {
63
+ new (): {
64
+ $slots: S;
65
+ };
66
+ };
@@ -1298,7 +1298,7 @@ export declare const components: {
1298
1298
  FmLineChart: {
1299
1299
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
1300
1300
  legend: {
1301
- type: import("vue").PropType<import("chart.js").LegendOptions<"line">>;
1301
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"line">>>;
1302
1302
  default: undefined;
1303
1303
  };
1304
1304
  name: {
@@ -1337,7 +1337,7 @@ export declare const components: {
1337
1337
  };
1338
1338
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
1339
1339
  legend: {
1340
- type: import("vue").PropType<import("chart.js").LegendOptions<"line">>;
1340
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"line">>>;
1341
1341
  default: undefined;
1342
1342
  };
1343
1343
  name: {
@@ -1375,7 +1375,7 @@ export declare const components: {
1375
1375
  default: undefined;
1376
1376
  };
1377
1377
  }>>, {
1378
- legend: import("chart.js").LegendOptions<"line">;
1378
+ legend: Partial<import("chart.js").LegendOptions<"line">>;
1379
1379
  name: string;
1380
1380
  paragraph: string;
1381
1381
  transpose: boolean;
@@ -1390,7 +1390,7 @@ export declare const components: {
1390
1390
  Defaults: {};
1391
1391
  }, Readonly<import("vue").ExtractPropTypes<{
1392
1392
  legend: {
1393
- type: import("vue").PropType<import("chart.js").LegendOptions<"line">>;
1393
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"line">>>;
1394
1394
  default: undefined;
1395
1395
  };
1396
1396
  name: {
@@ -1428,7 +1428,7 @@ export declare const components: {
1428
1428
  default: undefined;
1429
1429
  };
1430
1430
  }>>, {}, {}, {}, {}, {
1431
- legend: import("chart.js").LegendOptions<"line">;
1431
+ legend: Partial<import("chart.js").LegendOptions<"line">>;
1432
1432
  name: string;
1433
1433
  paragraph: string;
1434
1434
  transpose: boolean;
@@ -1440,7 +1440,7 @@ export declare const components: {
1440
1440
  __isSuspense?: undefined;
1441
1441
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
1442
1442
  legend: {
1443
- type: import("vue").PropType<import("chart.js").LegendOptions<"line">>;
1443
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"line">>>;
1444
1444
  default: undefined;
1445
1445
  };
1446
1446
  name: {
@@ -1478,7 +1478,7 @@ export declare const components: {
1478
1478
  default: undefined;
1479
1479
  };
1480
1480
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
1481
- legend: import("chart.js").LegendOptions<"line">;
1481
+ legend: Partial<import("chart.js").LegendOptions<"line">>;
1482
1482
  name: string;
1483
1483
  paragraph: string;
1484
1484
  transpose: boolean;
@@ -1492,7 +1492,7 @@ export declare const components: {
1492
1492
  FmPieChart: {
1493
1493
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
1494
1494
  legend: {
1495
- type: import("vue").PropType<import("chart.js").LegendOptions<"doughnut">>;
1495
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"doughnut">>>;
1496
1496
  default: undefined;
1497
1497
  };
1498
1498
  text: {
@@ -1537,7 +1537,7 @@ export declare const components: {
1537
1537
  };
1538
1538
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
1539
1539
  legend: {
1540
- type: import("vue").PropType<import("chart.js").LegendOptions<"doughnut">>;
1540
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"doughnut">>>;
1541
1541
  default: undefined;
1542
1542
  };
1543
1543
  text: {
@@ -1581,7 +1581,7 @@ export declare const components: {
1581
1581
  default: undefined;
1582
1582
  };
1583
1583
  }>>, {
1584
- legend: import("chart.js").LegendOptions<"doughnut">;
1584
+ legend: Partial<import("chart.js").LegendOptions<"doughnut">>;
1585
1585
  text: string;
1586
1586
  name: string;
1587
1587
  paragraph: string;
@@ -1598,7 +1598,7 @@ export declare const components: {
1598
1598
  Defaults: {};
1599
1599
  }, Readonly<import("vue").ExtractPropTypes<{
1600
1600
  legend: {
1601
- type: import("vue").PropType<import("chart.js").LegendOptions<"doughnut">>;
1601
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"doughnut">>>;
1602
1602
  default: undefined;
1603
1603
  };
1604
1604
  text: {
@@ -1642,7 +1642,7 @@ export declare const components: {
1642
1642
  default: undefined;
1643
1643
  };
1644
1644
  }>>, {}, {}, {}, {}, {
1645
- legend: import("chart.js").LegendOptions<"doughnut">;
1645
+ legend: Partial<import("chart.js").LegendOptions<"doughnut">>;
1646
1646
  text: string;
1647
1647
  name: string;
1648
1648
  paragraph: string;
@@ -1656,7 +1656,7 @@ export declare const components: {
1656
1656
  __isSuspense?: undefined;
1657
1657
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
1658
1658
  legend: {
1659
- type: import("vue").PropType<import("chart.js").LegendOptions<"doughnut">>;
1659
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"doughnut">>>;
1660
1660
  default: undefined;
1661
1661
  };
1662
1662
  text: {
@@ -1700,7 +1700,7 @@ export declare const components: {
1700
1700
  default: undefined;
1701
1701
  };
1702
1702
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
1703
- legend: import("chart.js").LegendOptions<"doughnut">;
1703
+ legend: Partial<import("chart.js").LegendOptions<"doughnut">>;
1704
1704
  text: string;
1705
1705
  name: string;
1706
1706
  paragraph: string;
@@ -1716,7 +1716,7 @@ export declare const components: {
1716
1716
  FmBarChart: {
1717
1717
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
1718
1718
  legend: {
1719
- type: import("vue").PropType<import("chart.js").LegendOptions<"bar">>;
1719
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"bar">>>;
1720
1720
  default: undefined;
1721
1721
  };
1722
1722
  name: {
@@ -1757,7 +1757,7 @@ export declare const components: {
1757
1757
  };
1758
1758
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
1759
1759
  legend: {
1760
- type: import("vue").PropType<import("chart.js").LegendOptions<"bar">>;
1760
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"bar">>>;
1761
1761
  default: undefined;
1762
1762
  };
1763
1763
  name: {
@@ -1797,7 +1797,7 @@ export declare const components: {
1797
1797
  default: undefined;
1798
1798
  };
1799
1799
  }>>, {
1800
- legend: import("chart.js").LegendOptions<"bar">;
1800
+ legend: Partial<import("chart.js").LegendOptions<"bar">>;
1801
1801
  name: string;
1802
1802
  paragraph: string;
1803
1803
  transpose: boolean;
@@ -1814,7 +1814,7 @@ export declare const components: {
1814
1814
  Defaults: {};
1815
1815
  }, Readonly<import("vue").ExtractPropTypes<{
1816
1816
  legend: {
1817
- type: import("vue").PropType<import("chart.js").LegendOptions<"bar">>;
1817
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"bar">>>;
1818
1818
  default: undefined;
1819
1819
  };
1820
1820
  name: {
@@ -1854,7 +1854,7 @@ export declare const components: {
1854
1854
  default: undefined;
1855
1855
  };
1856
1856
  }>>, {}, {}, {}, {}, {
1857
- legend: import("chart.js").LegendOptions<"bar">;
1857
+ legend: Partial<import("chart.js").LegendOptions<"bar">>;
1858
1858
  name: string;
1859
1859
  paragraph: string;
1860
1860
  transpose: boolean;
@@ -1868,7 +1868,7 @@ export declare const components: {
1868
1868
  __isSuspense?: undefined;
1869
1869
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
1870
1870
  legend: {
1871
- type: import("vue").PropType<import("chart.js").LegendOptions<"bar">>;
1871
+ type: import("vue").PropType<Partial<import("chart.js").LegendOptions<"bar">>>;
1872
1872
  default: undefined;
1873
1873
  };
1874
1874
  name: {
@@ -1908,7 +1908,7 @@ export declare const components: {
1908
1908
  default: undefined;
1909
1909
  };
1910
1910
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
1911
- legend: import("chart.js").LegendOptions<"bar">;
1911
+ legend: Partial<import("chart.js").LegendOptions<"bar">>;
1912
1912
  name: string;
1913
1913
  paragraph: string;
1914
1914
  transpose: boolean;
@@ -1921,6 +1921,204 @@ export declare const components: {
1921
1921
  title?(_: {}): any;
1922
1922
  };
1923
1923
  });
1924
+ FmScorecard: {
1925
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
1926
+ title: {
1927
+ type: import("vue").PropType<string>;
1928
+ required: true;
1929
+ };
1930
+ value: {
1931
+ type: import("vue").PropType<string | number>;
1932
+ required: true;
1933
+ default: number;
1934
+ };
1935
+ description: {
1936
+ type: import("vue").PropType<string>;
1937
+ required: true;
1938
+ };
1939
+ compareValue: {
1940
+ type: import("vue").PropType<string | number>;
1941
+ default: undefined;
1942
+ };
1943
+ hideCompare: {
1944
+ type: import("vue").PropType<boolean>;
1945
+ default: boolean;
1946
+ };
1947
+ hideLineChart: {
1948
+ type: import("vue").PropType<boolean>;
1949
+ default: boolean;
1950
+ };
1951
+ sparklineData: {
1952
+ type: import("vue").PropType<{
1953
+ dimension: string[];
1954
+ datasets: {
1955
+ name: string;
1956
+ values: number[];
1957
+ }[];
1958
+ }>;
1959
+ default: undefined;
1960
+ };
1961
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
1962
+ title: {
1963
+ type: import("vue").PropType<string>;
1964
+ required: true;
1965
+ };
1966
+ value: {
1967
+ type: import("vue").PropType<string | number>;
1968
+ required: true;
1969
+ default: number;
1970
+ };
1971
+ description: {
1972
+ type: import("vue").PropType<string>;
1973
+ required: true;
1974
+ };
1975
+ compareValue: {
1976
+ type: import("vue").PropType<string | number>;
1977
+ default: undefined;
1978
+ };
1979
+ hideCompare: {
1980
+ type: import("vue").PropType<boolean>;
1981
+ default: boolean;
1982
+ };
1983
+ hideLineChart: {
1984
+ type: import("vue").PropType<boolean>;
1985
+ default: boolean;
1986
+ };
1987
+ sparklineData: {
1988
+ type: import("vue").PropType<{
1989
+ dimension: string[];
1990
+ datasets: {
1991
+ name: string;
1992
+ values: number[];
1993
+ }[];
1994
+ }>;
1995
+ default: undefined;
1996
+ };
1997
+ }>>, {
1998
+ value: string | number;
1999
+ compareValue: string | number;
2000
+ hideCompare: boolean;
2001
+ hideLineChart: boolean;
2002
+ sparklineData: {
2003
+ dimension: string[];
2004
+ datasets: {
2005
+ name: string;
2006
+ values: number[];
2007
+ }[];
2008
+ };
2009
+ }, true, {}, {}, {
2010
+ P: {};
2011
+ B: {};
2012
+ D: {};
2013
+ C: {};
2014
+ M: {};
2015
+ Defaults: {};
2016
+ }, Readonly<import("vue").ExtractPropTypes<{
2017
+ title: {
2018
+ type: import("vue").PropType<string>;
2019
+ required: true;
2020
+ };
2021
+ value: {
2022
+ type: import("vue").PropType<string | number>;
2023
+ required: true;
2024
+ default: number;
2025
+ };
2026
+ description: {
2027
+ type: import("vue").PropType<string>;
2028
+ required: true;
2029
+ };
2030
+ compareValue: {
2031
+ type: import("vue").PropType<string | number>;
2032
+ default: undefined;
2033
+ };
2034
+ hideCompare: {
2035
+ type: import("vue").PropType<boolean>;
2036
+ default: boolean;
2037
+ };
2038
+ hideLineChart: {
2039
+ type: import("vue").PropType<boolean>;
2040
+ default: boolean;
2041
+ };
2042
+ sparklineData: {
2043
+ type: import("vue").PropType<{
2044
+ dimension: string[];
2045
+ datasets: {
2046
+ name: string;
2047
+ values: number[];
2048
+ }[];
2049
+ }>;
2050
+ default: undefined;
2051
+ };
2052
+ }>>, {}, {}, {}, {}, {
2053
+ value: string | number;
2054
+ compareValue: string | number;
2055
+ hideCompare: boolean;
2056
+ hideLineChart: boolean;
2057
+ sparklineData: {
2058
+ dimension: string[];
2059
+ datasets: {
2060
+ name: string;
2061
+ values: number[];
2062
+ }[];
2063
+ };
2064
+ }>;
2065
+ __isFragment?: undefined;
2066
+ __isTeleport?: undefined;
2067
+ __isSuspense?: undefined;
2068
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
2069
+ title: {
2070
+ type: import("vue").PropType<string>;
2071
+ required: true;
2072
+ };
2073
+ value: {
2074
+ type: import("vue").PropType<string | number>;
2075
+ required: true;
2076
+ default: number;
2077
+ };
2078
+ description: {
2079
+ type: import("vue").PropType<string>;
2080
+ required: true;
2081
+ };
2082
+ compareValue: {
2083
+ type: import("vue").PropType<string | number>;
2084
+ default: undefined;
2085
+ };
2086
+ hideCompare: {
2087
+ type: import("vue").PropType<boolean>;
2088
+ default: boolean;
2089
+ };
2090
+ hideLineChart: {
2091
+ type: import("vue").PropType<boolean>;
2092
+ default: boolean;
2093
+ };
2094
+ sparklineData: {
2095
+ type: import("vue").PropType<{
2096
+ dimension: string[];
2097
+ datasets: {
2098
+ name: string;
2099
+ values: number[];
2100
+ }[];
2101
+ }>;
2102
+ default: undefined;
2103
+ };
2104
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
2105
+ value: string | number;
2106
+ compareValue: string | number;
2107
+ hideCompare: boolean;
2108
+ hideLineChart: boolean;
2109
+ sparklineData: {
2110
+ dimension: string[];
2111
+ datasets: {
2112
+ name: string;
2113
+ values: number[];
2114
+ }[];
2115
+ };
2116
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2117
+ $slots: {
2118
+ title?(_: {}): any;
2119
+ compare?(_: {}): any;
2120
+ };
2121
+ });
1924
2122
  FmCheckbox: {
1925
2123
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
1926
2124
  label: {
@@ -11196,9 +11394,13 @@ export declare const components: {
11196
11394
  default: () => "";
11197
11395
  };
11198
11396
  size: {
11199
- type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
11397
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl" | "sm2">;
11200
11398
  default: () => "md";
11201
11399
  };
11400
+ rounded: {
11401
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl" | "xxl" | "xxxl">;
11402
+ default: () => "xxxl";
11403
+ };
11202
11404
  src: {
11203
11405
  type: import("vue").PropType<string>;
11204
11406
  default: undefined;
@@ -11213,9 +11415,13 @@ export declare const components: {
11213
11415
  default: () => "";
11214
11416
  };
11215
11417
  size: {
11216
- type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
11418
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl" | "sm2">;
11217
11419
  default: () => "md";
11218
11420
  };
11421
+ rounded: {
11422
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl" | "xxl" | "xxxl">;
11423
+ default: () => "xxxl";
11424
+ };
11219
11425
  src: {
11220
11426
  type: import("vue").PropType<string>;
11221
11427
  default: undefined;
@@ -11226,7 +11432,8 @@ export declare const components: {
11226
11432
  };
11227
11433
  }>>, {
11228
11434
  name: string;
11229
- size: "sm" | "md" | "lg" | "xl";
11435
+ size: "sm" | "md" | "lg" | "xl" | "sm2";
11436
+ rounded: "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl";
11230
11437
  src: string;
11231
11438
  initials: string;
11232
11439
  }, {}>;
@@ -0,0 +1 @@
1
+ import{importShared as t,__tla as f}from"./__federation_fn_import-DzgSLNaX.js";let m,x=Promise.all([(()=>{try{return f}catch{}})()]).then(async()=>{let n,d,l,a,s,i,u;({defineComponent:n}=await t("vue")),{toDisplayString:d,normalizeClass:l,normalizeStyle:a,openBlock:s,createElementBlock:i}=await t("vue"),{computed:u}=await t("vue"),m=n({__name:"FmAvatar",props:{initials:{default:()=>""},name:{default:()=>""},src:{default:void 0},size:{default:()=>"md"},rounded:{default:()=>"xxxl"}},setup(c){const r=c,p=u(()=>{if(r.initials)return r.initials.slice(0,2);if(r.name){const[e,o]=r.name.split(" ");return o?`${e[0]}${o[0]}`:e.slice(0,2)}return r.src?"":"?"});return(e,o)=>(s(),i("div",{class:l(["inline-flex items-center justify-center uppercase",{"w-24 h-24 fm-typo-en-body-sm-600":e.size==="sm","w-36 h-36 fm-typo-en-body-sm-600":e.size==="sm2","w-40 h-40 fm-typo-en-body-md-600":e.size==="md","w-48 h-48 fm-typo-en-body-lg-600":e.size==="lg","w-56 h-56 fm-typo-en-body-lg-600":e.size==="xl","bg-fm-color-neutral-gray-100":!r.src},{"rounded-xxxl":e.rounded==="xxxl","rounded-xxl":e.rounded==="xxl","rounded-xl":e.rounded==="xl","rounded-lg":e.rounded==="lg","rounded-md":e.rounded==="md","rounded-sm":e.rounded==="sm"}]),style:a({background:r.src?`url(${r.src})`:void 0,backgroundSize:r.src?"cover":void 0,backgroundPosition:r.src?"center":void 0,backgroundRepeat:r.src?"no-repeat":void 0})},d(p.value),7))}})});export{m as _,x as __tla};