@wikicasa-dev/components 2.0.34 → 2.0.37

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/LineChart.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/LineChart.vue_vue_type_script_setup_true_lang.Cdyh3UKT.js";
1
+ import { _ as f } from "./chunks/LineChart.vue_vue_type_script_setup_true_lang.iRZ_Q6nK.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<{
4
4
  options: ChartOptions<"line">;
5
5
  data: ChartData<"line">;
6
6
  }, {
7
- charInstance: import('vue').ComputedRef<Optional<Chart<"line", (number | import('chart.js').Point | null)[], unknown>>>;
7
+ chartInstance: import('vue').ComputedRef<Optional<Chart<"line", (number | import('chart.js').Point | null)[], unknown>>>;
8
8
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
9
9
  options: ChartOptions<"line">;
10
10
  data: ChartData<"line">;
@@ -29,7 +29,7 @@ const A = /* @__PURE__ */ m({
29
29
  const p = f("chart"), l = d(
30
30
  () => p.value?.chart
31
31
  );
32
- return r({ charInstance: l }), (e, P) => t(c) ? (h(), C(t(L), {
32
+ return r({ chartInstance: l }), (e, P) => t(c) ? (h(), C(t(L), {
33
33
  key: 0,
34
34
  ref: "chart",
35
35
  options: e.options,
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ import { default as le } from "./StaticSpinner.js";
33
33
  import { default as de } from "./BaseShimmerLoader.js";
34
34
  import { _ as ue } from "./chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js";
35
35
  import { _ as _e } from "./chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js";
36
- import { _ as Se } from "./chunks/LineChart.vue_vue_type_script_setup_true_lang.Cdyh3UKT.js";
36
+ import { _ as Se } from "./chunks/LineChart.vue_vue_type_script_setup_true_lang.iRZ_Q6nK.js";
37
37
  import { default as ge } from "./SimpleSlider.js";
38
38
  import { _ as he } from "./chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js";
39
39
  import { _ as Ie } from "./chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js";
@@ -15,7 +15,7 @@ const y = (t) => {
15
15
  }, p = async () => {
16
16
  if (!u.value) return;
17
17
  const [e, s] = await Promise.all([
18
- //@ts-ignore
18
+ //@ts-expect-error Date-fns does not have a type definition
19
19
  import("chartjs-adapter-date-fns"),
20
20
  import("chart.js")
21
21
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.0.34",
3
+ "version": "2.0.37",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -46,7 +46,7 @@
46
46
  "@vue/eslint-config-typescript": "^14.1.3",
47
47
  "@wikicasa-dev/svg-icons": "^1.0.2",
48
48
  "@wikicasa-dev/tailwind-plugins": "^0.0.3",
49
- "@wikicasa-dev/types": "^1.8.0",
49
+ "@wikicasa-dev/types": "^1.14.5",
50
50
  "@wikicasa-dev/utilities": "^1.0.22",
51
51
  "@wikicasa-dev/vue-composables": "0.0.13",
52
52
  "ajv": "^8.17.1",