pangea-lib 2.11.586 → 2.11.587

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.
@@ -14,8 +14,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
14
14
  size: string;
15
15
  color: string;
16
16
  }>>>, {
17
- size: Size;
18
17
  color: 'first' | AppColorNameProp;
18
+ size: Size;
19
19
  }, {}>;
20
20
  export default _default;
21
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -40,8 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
40
40
  color: string;
41
41
  width: string;
42
42
  }>>>, {
43
- size: "s" | "l" | "m" | "xs" | "xl";
44
43
  color: AppColorNameProp | "first";
44
+ size: "s" | "l" | "m" | "xs" | "xl";
45
45
  type: "button" | "submit" | "reset";
46
46
  align: Align;
47
47
  width: string;
@@ -20,8 +20,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
20
20
  size: string;
21
21
  color: string;
22
22
  }>>>, {
23
- size: Size;
24
23
  color: AppColorName;
24
+ size: Size;
25
25
  }, {}>, {
26
26
  default?(_: {}): any;
27
27
  }>;
@@ -0,0 +1,21 @@
1
+ import { ChartData, ChartOptions } from 'chart.js';
2
+
3
+ type Data = ChartData<'doughnut'>;
4
+ type Options = ChartOptions<'doughnut'>;
5
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
+ data: Data;
7
+ options?: Options;
8
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ data: Data;
10
+ options?: Options;
11
+ }>>>, {}, {}>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
@@ -82,8 +82,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
82
82
  type: import('vue').PropType<boolean>;
83
83
  };
84
84
  }>> & {
85
- onChange?: (newValue: ModelValue) => any;
86
85
  onEnter?: () => any;
86
+ onChange?: (newValue: ModelValue) => any;
87
87
  onValueCleared?: () => any;
88
88
  }, {
89
89
  type: PropsType;
@@ -18,7 +18,7 @@ export { default as PgaEditButton } from './button/PgaEditButton.vue';
18
18
  export { default as PgaLink } from './button/PgaLink.vue';
19
19
  export { default as PgaLogoutButton } from './button/PgaLogoutButton.vue';
20
20
  export { default as PgaRemoveButton } from './button/PgaRemoveButton.vue';
21
- export { default as PgaChartBar } from './chart/PgaChartBar.vue';
21
+ export { default as PgaDoughnutChart } from './chart/PgaDoughnutChart.vue';
22
22
  export { default as PgaDisplayBarcodes } from './display/PgaDisplayBarcodes.vue';
23
23
  export { default as PgaDisplayDatetime } from './display/PgaDisplayDatetime.vue';
24
24
  export { default as PgaDisplayInfo } from './display/PgaDisplayInfo.vue';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.11.586",
4
+ "version": "2.11.587",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",
@@ -48,7 +48,7 @@
48
48
  "@vuelidate/validators": "^2.0.4",
49
49
  "@vuepic/vue-datepicker": "^8.6.0",
50
50
  "animate.css": "^4.1.1",
51
- "chart.js": "^4.4.3",
51
+ "chart.js": "^4.4.6",
52
52
  "click-outside-vue3": "^4.0.1",
53
53
  "floating-vue": "^5.2.2",
54
54
  "moment": "^2.30.1",
@@ -57,7 +57,7 @@
57
57
  "pinia-plugin-persistedstate": "^3.2.1",
58
58
  "sanitize.css": "^13.0.0",
59
59
  "vue": "^3.4.21",
60
- "vue-chartjs": "^5.3.1",
60
+ "vue-chart-3": "^3.1.8",
61
61
  "xlsx": "^0.18.5"
62
62
  },
63
63
  "devDependencies": {
@@ -1,35 +0,0 @@
1
- import { ChartOptionsBar, ChartDataBar } from '../../types/chart';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- id?: string;
5
- options?: ChartOptionsBar;
6
- data: ChartDataBar;
7
- }>, {
8
- id: string;
9
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
- id?: string;
11
- options?: ChartOptionsBar;
12
- data: ChartDataBar;
13
- }>, {
14
- id: string;
15
- }>>>, {
16
- id: string;
17
- }, {}>;
18
- export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToRuntimeProps<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
28
- type __VLS_WithDefaults<P, D> = {
29
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
- default: D[K];
31
- }> : P[K];
32
- };
33
- type __VLS_Prettify<T> = {
34
- [K in keyof T]: T[K];
35
- } & {};