@feedmepos/ui-library 1.9.1 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CHANGELOG.md +6 -2
- package/dist/components/chart/bar/FmBar.vue.d.ts +11 -3
- package/dist/components/chart/index.d.ts +1 -0
- package/dist/components/chart/line/FmLine.vue.d.ts +11 -3
- package/dist/components/chart/pie/FmPie.vue.d.ts +8 -2
- package/dist/components.d.ts +185 -14738
- package/dist/federation/FmBar.vue_vue_type_script_setup_true_lang-5pN05Obl.js +1 -0
- package/dist/federation/FmLine.vue_vue_type_script_setup_true_lang-DM2T_vmU.js +1 -0
- package/dist/federation/FmPie.vue_vue_type_script_setup_true_lang-Kwfa542q.js +2 -0
- package/dist/federation/{__federation_expose_FmBarChart-MNwi1LAk.js → __federation_expose_FmBarChart-BbE-a83H.js} +1 -1
- package/dist/federation/{__federation_expose_FmLineChart-Dw-sPaHL.js → __federation_expose_FmLineChart-DeqtHstB.js} +1 -1
- package/dist/federation/{__federation_expose_FmPieChart-Cn0ugDlM.js → __federation_expose_FmPieChart-2gp9HYbH.js} +1 -1
- package/dist/federation/{__federation_expose_FmStepperField-D7J4LPGQ.js → __federation_expose_FmStepperField-B7zxUxdD.js} +1 -1
- package/dist/federation/__federation_expose_FmStepperField-DvN0_6yz.css +1 -0
- package/dist/federation/feedmepos-ui-components.js +1 -1
- package/dist/federation/{index-DYF6nxjN.js → index-BNfklY5V.js} +2 -2
- package/dist/feedmepos-ui-library.js +2482 -2476
- package/dist/feedmepos-ui-library.umd.cjs +21 -21
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/federation/FmBar.vue_vue_type_script_setup_true_lang-BJMELe3q.js +0 -1
- package/dist/federation/FmLine.vue_vue_type_script_setup_true_lang-BA9UPDyp.js +0 -1
- package/dist/federation/FmPie.vue_vue_type_script_setup_true_lang-DEnVqSIk.js +0 -2
- package/dist/federation/__federation_expose_FmStepperField-BcpyFioz.css +0 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
# 1.
|
|
1
|
+
# 1.10.0
|
|
2
|
+
|
|
3
|
+
- `FmBar`, `FmLine`, `FmPie`
|
|
4
|
+
- Add `plugins` prop to support custom Chart.js plugins
|
|
5
|
+
|
|
6
|
+
# 1.9.2
|
|
2
7
|
|
|
3
8
|
- `FmStepperField`
|
|
4
9
|
- Fix browser default blue focus outline appearing on input element
|
|
5
|
-
- Added explicit `:focus` style to override browser defaults
|
|
6
10
|
|
|
7
11
|
# 1.9.0
|
|
8
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LegendOptions, TooltipOptions } from 'chart.js';
|
|
1
|
+
import type { LegendOptions, TooltipOptions, Plugin } from 'chart.js';
|
|
2
2
|
import type { XAxis } from '../../../components/chart/line/FmLine.vue';
|
|
3
3
|
import type { FmChartDataLabelsOptions, FmChartAxisOptions } from '../../../components/chart';
|
|
4
4
|
export interface BarDataset {
|
|
@@ -56,7 +56,9 @@ type FmBarProp = {
|
|
|
56
56
|
/**
|
|
57
57
|
* customize tooltip
|
|
58
58
|
*/
|
|
59
|
-
tooltip?: Partial<TooltipOptions<'bar'
|
|
59
|
+
tooltip?: Omit<Partial<TooltipOptions<'bar'>>, 'callbacks'> & {
|
|
60
|
+
callbacks?: Partial<TooltipOptions<'bar'>['callbacks']>;
|
|
61
|
+
};
|
|
60
62
|
/**
|
|
61
63
|
* customize datalabels
|
|
62
64
|
*/
|
|
@@ -69,6 +71,10 @@ type FmBarProp = {
|
|
|
69
71
|
* customize Y axis
|
|
70
72
|
*/
|
|
71
73
|
yCfg?: Partial<FmChartAxisOptions>;
|
|
74
|
+
/**
|
|
75
|
+
* custom chart plugins
|
|
76
|
+
*/
|
|
77
|
+
plugins?: Plugin<'bar'>[];
|
|
72
78
|
/**
|
|
73
79
|
* custom chart height
|
|
74
80
|
*/
|
|
@@ -113,7 +119,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
113
119
|
legend: Partial<LegendOptions<"bar">>;
|
|
114
120
|
width: string;
|
|
115
121
|
height: string;
|
|
116
|
-
tooltip: Partial<TooltipOptions<"bar"
|
|
122
|
+
tooltip: Omit<Partial<TooltipOptions<"bar">>, "callbacks"> & {
|
|
123
|
+
callbacks?: Partial<import("chart.js").TooltipCallbacks<"bar", import("chart.js").TooltipModel<"bar">, import("chart.js").TooltipItem<"bar">>> | undefined;
|
|
124
|
+
};
|
|
117
125
|
paragraph: string;
|
|
118
126
|
transpose: boolean;
|
|
119
127
|
stacked: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LegendOptions, TooltipOptions } from 'chart.js';
|
|
1
|
+
import type { LegendOptions, TooltipOptions, Plugin } from 'chart.js';
|
|
2
2
|
import type { FmChartAxisOptions, FmChartDataLabelsOptions } from '../../../components/chart';
|
|
3
3
|
export interface Dataset {
|
|
4
4
|
label: string;
|
|
@@ -60,7 +60,9 @@ type FmLineProp = {
|
|
|
60
60
|
/**
|
|
61
61
|
* customize tooltip
|
|
62
62
|
*/
|
|
63
|
-
tooltip?: Partial<TooltipOptions<'line'
|
|
63
|
+
tooltip?: Omit<Partial<TooltipOptions<'line'>>, 'callbacks'> & {
|
|
64
|
+
callbacks?: Partial<TooltipOptions<'line'>['callbacks']>;
|
|
65
|
+
};
|
|
64
66
|
/**
|
|
65
67
|
* customize datalabels
|
|
66
68
|
*/
|
|
@@ -73,6 +75,10 @@ type FmLineProp = {
|
|
|
73
75
|
* customize Y axis
|
|
74
76
|
*/
|
|
75
77
|
yCfg?: Partial<FmChartAxisOptions>;
|
|
78
|
+
/**
|
|
79
|
+
* custom chart plugins
|
|
80
|
+
*/
|
|
81
|
+
plugins?: Plugin<'line'>[];
|
|
76
82
|
/**
|
|
77
83
|
* custom chart height
|
|
78
84
|
*/
|
|
@@ -113,7 +119,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
113
119
|
legend: Partial<LegendOptions<"line">>;
|
|
114
120
|
width: string;
|
|
115
121
|
height: string;
|
|
116
|
-
tooltip: Partial<TooltipOptions<"line"
|
|
122
|
+
tooltip: Omit<Partial<TooltipOptions<"line">>, "callbacks"> & {
|
|
123
|
+
callbacks?: Partial<import("chart.js").TooltipCallbacks<"line", import("chart.js").TooltipModel<"line">, import("chart.js").TooltipItem<"line">>> | undefined;
|
|
124
|
+
};
|
|
117
125
|
paragraph: string;
|
|
118
126
|
transpose: boolean;
|
|
119
127
|
hideXAxis: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChartType, LegendOptions, TooltipOptions } from 'chart.js';
|
|
1
|
+
import type { ChartType, LegendOptions, TooltipOptions, Plugin } from 'chart.js';
|
|
2
2
|
import type { FmChartDataLabelsOptions } from '../../../components/chart';
|
|
3
3
|
export interface PieDataset {
|
|
4
4
|
label: string;
|
|
@@ -57,7 +57,13 @@ type FmPieProp = {
|
|
|
57
57
|
/**
|
|
58
58
|
* customize tooltip
|
|
59
59
|
*/
|
|
60
|
-
tooltip?: TooltipOptions<Extract<ChartType, 'pie' | 'doughnut'
|
|
60
|
+
tooltip?: Omit<TooltipOptions<Extract<ChartType, 'pie' | 'doughnut'>>, 'callbacks'> & {
|
|
61
|
+
callbacks?: TooltipOptions<Extract<ChartType, 'pie' | 'doughnut'>>['callbacks'];
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* custom chart plugins
|
|
65
|
+
*/
|
|
66
|
+
plugins?: Plugin<'pie' | 'doughnut'>[];
|
|
61
67
|
/**
|
|
62
68
|
* customize datalabels
|
|
63
69
|
*/
|