@sysvale/cuida 3.14.0 → 3.15.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.
@@ -13445,7 +13445,7 @@ function Jc(t, e) {
13445
13445
  }
13446
13446
  });
13447
13447
  }
13448
- const H5 = /* @__PURE__ */ Jc("bar", yc), AL = /* @__PURE__ */ Jc("doughnut", Vr), IL = /* @__PURE__ */ Jc("line", bc), $L = /* @__PURE__ */ Jc("pie", Wd), PL = /* @__PURE__ */ Jc("polarArea", Po), EL = "#f3fcf8", LL = "#e2f8ef", zL = "#abedd3", VL = "#6ddfb1", FL = "#2db981", BL = "#239f6d", RL = "#1c7d56", NL = "#136746", HL = "#eefcfa", WL = "#dcf9f6", YL = "#a2f1e5", jL = "#51e6d0", UL = "#20c5ad", qL = "#18aa94", GL = "#138675", KL = "#0f6b5d", ZL = "#f5fbff", XL = "#e6f6fe", JL = "#C2EDFF", QL = "#7BD0F4", ez = "#42AAD7", tz = "#1F86B2", nz = "#18698B", iz = "#155875", sz = "#f6f9fe", rz = "#e6effe", az = "#b4cdf8", oz = "#729ee9", lz = "#467bd8", cz = "#2f64c1", uz = "#2051a7", dz = "#19438a", hz = "#f5f6ff", fz = "#ebefff", pz = "#CED6FD", gz = "#9bacf8", mz = "#6a7cd7", vz = "#4b5caf", _z = "#374486", yz = "#2f396f", bz = "#faf5ff", wz = "#f7f0ff", xz = "#E6D2F9", Sz = "#CEABED", kz = "#a772d5", Cz = "#8955B9", Mz = "#6B3A98", Oz = "#5c3082", Dz = "#fff5fb", Tz = "#ffebf7", Az = "#F9C8E2", Iz = "#EF8FC0", $z = "#DA629F", Pz = "#BE377C", Ez = "#A12663", Lz = "#88255a", zz = "#fef6f7", Vz = "#ffebed", Fz = "#FABDC5", Bz = "#F98B98", Rz = "#F3596C", Nz = "#E03E52", Hz = "#C92C3F", Wz = "#b22435", Yz = "#fef7f6", jz = "#ffefeb", Uz = "#FFD6CC", qz = "#FDAF9B", Gz = "#FF8567", Kz = "#F06442", Zz = "#D64B29", Xz = "#bc4224", Jz = "#fefbf6", Qz = "#fdf3e2", eV = "#ffe5b8", tV = "#fdd286", nV = "#f6bd5a", iV = "#eda831", sV = "#d89013", rV = "#c08011", aV = "#FFFFFF", oV = "#FAFCFE", lV = "#F4F8FB", cV = "#E7EDF3", uV = "#DFE5EC", dV = "#D6DCE3", hV = "#C3CCD5", fV = "#ACB8C3", pV = "#99A6B2", gV = "#8794A1", mV = "#647382", vV = "#52616F", _V = "#3B4754", yV = "#28333E", bV = "#1D262F", wV = '["Light Neutrals", "Light", #FFFFFF, #FAFCFE, #F4F8FB, #E7EDF3, #DFE5EC, "$n-0", "$n-10", "$n-20", "$n-30", "$n-40"], ["Mid Neutrals", "Gray", #D6DCE3, #C3CCD5, #ACB8C3, #99A6B2, #8794A1, "$n-50", "$n-100", "$n-200", "$n-300", "$n-400"], ["Dark Neutrals", "Dark", #647382, #52616F, #3B4754, #28333E, #1D262F, "$n-500", "$n-600", "$n-700", "$n-800", "$n-900"], ["Piccolo Green", "Green", #f3fcf8, #e2f8ef, #abedd3, #6ddfb1, #2db981, #239f6d, #1c7d56, #136746, "$gp-50", "$gp-100", "$gp-200", "$gp-300", "$gp-400", "$gp-500", "$gp-600", "$gp-700"], ["Aquaman Teal", "Teal", #eefcfa, #dcf9f6, #a2f1e5, #51e6d0, #20c5ad, #18aa94, #138675, #0f6b5d, "$ta-50", "$ta-100", "$ta-200", "$ta-300", "$ta-400", "$ta-500", "$ta-600", "$ta-700"], ["Sulivan Turquoise", "Turquoise", #f5fbff, #e6f6fe, #C2EDFF, #7BD0F4, #42AAD7, #1F86B2, #18698B, #155875, "$ts-50", "$ts-100", "$ts-200", "$ts-300", "$ts-400", "$ts-500", "$ts-600", "$ts-700"], ["Nocturne Blue", "Blue", #f6f9fe, #e6effe, #b4cdf8, #729ee9, #467bd8, #2f64c1, #2051a7, #19438a, "$bn-50", "$bn-100", "$bn-200", "$bn-300", "$bn-400", "$bn-500", "$bn-600", "$bn-700"], ["Nightwing Indigo", "Indigo", #f5f6ff, #ebefff, #CED6FD, #9bacf8, #6a7cd7, #4b5caf, #374486, #2f396f, "$in-50", "$in-100", "$in-200", "$in-300", "$in-400", "$in-500", "$in-600", "$in-700"], ["Raven Violet", "Violet", #faf5ff, #f7f0ff, #E6D2F9, #CEABED, #a772d5, #8955B9, #6B3A98, #5c3082, "$vr-50", "$vr-100", "$vr-200", "$vr-300", "$vr-400", "$vr-500", "$vr-600", "$vr-700"], ["Peppa Pink", "Pink", #fff5fb, #ffebf7, #F9C8E2, #EF8FC0, #DA629F, #BE377C, #A12663, #88255a, "$pp-50", "$pp-100", "$pp-200", "$pp-300", "$pp-400", "$pp-500", "$pp-600", "$pp-700"], ["Carmen Red", "Red", #fef6f7, #ffebed, #FABDC5, #F98B98, #F3596C, #E03E52, #C92C3F, #b22435, "$rc-50", "$rc-100", "$rc-200", "$rc-300", "$rc-400", "$rc-500", "$rc-600", "$rc-700"], ["Goku Orange", "Orange", #fef7f6, #ffefeb, #FFD6CC, #FDAF9B, #FF8567, #F06442, #D64B29, #bc4224, "$og-50", "$og-100", "$og-200", "$og-300", "$og-400", "$og-500", "$og-600", "$og-700"], ["Lisa Amber", "Amber", #fefbf6, #fdf3e2, #ffe5b8, #fdd286, #f6bd5a, #eda831, #d89013, #c08011, "$al-50", "$al-100", "$al-200", "$al-300", "$al-400", "$al-500", "$al-600", "$al-700"]', xV = '["Blue Theme", "Blue", #19438a, #467bd8, #4b5caf, #42AAD7, #20c5ad, #6ddfb1, #FFD6CC, #fdd286, #ffe5b8, #ffefeb, "$bn-700", "$bn-400", "$in-500", "$ts-400", "$ta-400", "$gp-300", "$og-200", "$al-300", "$al-200", "$og-100"], ["Indigo Theme", "Indigo", #4b5caf, #ffebf7, #FFD6CC, #CEABED, #6a7cd7, #FDAF9B, #E7EDF3, #3B4754, #a772d5, #EF8FC0, "$in-500", "$pp-100", "$og-200", "$vr-300", "$in-400", "$og-300", "$n-30", "$n-700", "$vr-400", "$pp-300"]', cr = {
13448
+ const H5 = /* @__PURE__ */ Jc("bar", yc), AL = /* @__PURE__ */ Jc("doughnut", Vr), IL = /* @__PURE__ */ Jc("line", bc), $L = /* @__PURE__ */ Jc("pie", Wd), PL = /* @__PURE__ */ Jc("polarArea", Po), EL = "#f3fcf8", LL = "#e2f8ef", zL = "#abedd3", VL = "#6ddfb1", FL = "#2db981", BL = "#239f6d", RL = "#1c7d56", NL = "#136746", HL = "#eefcfa", WL = "#dcf9f6", YL = "#a2f1e5", jL = "#51e6d0", UL = "#20c5ad", qL = "#18aa94", GL = "#138675", KL = "#0f6b5d", ZL = "#f5fbff", XL = "#e6f6fe", JL = "#C2EDFF", QL = "#7BD0F4", ez = "#42AAD7", tz = "#1F86B2", nz = "#18698B", iz = "#155875", sz = "#f6f9fe", rz = "#e6effe", az = "#b4cdf8", oz = "#729ee9", lz = "#467bd8", cz = "#2f64c1", uz = "#2051a7", dz = "#19438a", hz = "#f5f6ff", fz = "#ebefff", pz = "#CED6FD", gz = "#9bacf8", mz = "#6a7cd7", vz = "#4b5caf", _z = "#374486", yz = "#2f396f", bz = "#faf5ff", wz = "#f7f0ff", xz = "#E6D2F9", Sz = "#CEABED", kz = "#a772d5", Cz = "#8955B9", Mz = "#6B3A98", Oz = "#5c3082", Dz = "#fff5fb", Tz = "#ffebf7", Az = "#F9C8E2", Iz = "#EF8FC0", $z = "#DA629F", Pz = "#BE377C", Ez = "#A12663", Lz = "#88255a", zz = "#fef6f7", Vz = "#ffebed", Fz = "#FABDC5", Bz = "#F98B98", Rz = "#F3596C", Nz = "#E03E52", Hz = "#C92C3F", Wz = "#b22435", Yz = "#fef7f6", jz = "#ffefeb", Uz = "#FFD6CC", qz = "#FDAF9B", Gz = "#FF8567", Kz = "#F06442", Zz = "#D64B29", Xz = "#bc4224", Jz = "#fefbf6", Qz = "#fdf3e2", eV = "#ffe5b8", tV = "#fdd286", nV = "#f6bd5a", iV = "#eda831", sV = "#d89013", rV = "#c08011", aV = "#FFFFFF", oV = "#FAFCFE", lV = "#F4F8FB", cV = "#E7EDF3", uV = "#DFE5EC", dV = "#D6DCE3", hV = "#C3CCD5", fV = "#ACB8C3", pV = "#99A6B2", gV = "#8794A1", mV = "#647382", vV = "#52616F", _V = "#3B4754", yV = "#28333E", bV = "#1D262F", wV = '["Light Neutrals", "Light", #FFFFFF, #FAFCFE, #F4F8FB, #E7EDF3, #DFE5EC, "$n-0", "$n-10", "$n-20", "$n-30", "$n-40"], ["Mid Neutrals", "Gray", #D6DCE3, #C3CCD5, #ACB8C3, #99A6B2, #8794A1, "$n-50", "$n-100", "$n-200", "$n-300", "$n-400"], ["Dark Neutrals", "Dark", #647382, #52616F, #3B4754, #28333E, #1D262F, "$n-500", "$n-600", "$n-700", "$n-800", "$n-900"], ["Piccolo Green", "Green", #f3fcf8, #e2f8ef, #abedd3, #6ddfb1, #2db981, #239f6d, #1c7d56, #136746, "$gp-50", "$gp-100", "$gp-200", "$gp-300", "$gp-400", "$gp-500", "$gp-600", "$gp-700"], ["Aquaman Teal", "Teal", #eefcfa, #dcf9f6, #a2f1e5, #51e6d0, #20c5ad, #18aa94, #138675, #0f6b5d, "$ta-50", "$ta-100", "$ta-200", "$ta-300", "$ta-400", "$ta-500", "$ta-600", "$ta-700"], ["Sulivan Turquoise", "Turquoise", #f5fbff, #e6f6fe, #C2EDFF, #7BD0F4, #42AAD7, #1F86B2, #18698B, #155875, "$ts-50", "$ts-100", "$ts-200", "$ts-300", "$ts-400", "$ts-500", "$ts-600", "$ts-700"], ["Nocturne Blue", "Blue", #f6f9fe, #e6effe, #b4cdf8, #729ee9, #467bd8, #2f64c1, #2051a7, #19438a, "$bn-50", "$bn-100", "$bn-200", "$bn-300", "$bn-400", "$bn-500", "$bn-600", "$bn-700"], ["Nightwing Indigo", "Indigo", #f5f6ff, #ebefff, #CED6FD, #9bacf8, #6a7cd7, #4b5caf, #374486, #2f396f, "$in-50", "$in-100", "$in-200", "$in-300", "$in-400", "$in-500", "$in-600", "$in-700"], ["Raven Violet", "Violet", #faf5ff, #f7f0ff, #E6D2F9, #CEABED, #a772d5, #8955B9, #6B3A98, #5c3082, "$vr-50", "$vr-100", "$vr-200", "$vr-300", "$vr-400", "$vr-500", "$vr-600", "$vr-700"], ["Peppa Pink", "Pink", #fff5fb, #ffebf7, #F9C8E2, #EF8FC0, #DA629F, #BE377C, #A12663, #88255a, "$pp-50", "$pp-100", "$pp-200", "$pp-300", "$pp-400", "$pp-500", "$pp-600", "$pp-700"], ["Carmen Red", "Red", #fef6f7, #ffebed, #FABDC5, #F98B98, #F3596C, #E03E52, #C92C3F, #b22435, "$rc-50", "$rc-100", "$rc-200", "$rc-300", "$rc-400", "$rc-500", "$rc-600", "$rc-700"], ["Goku Orange", "Orange", #fef7f6, #ffefeb, #FFD6CC, #FDAF9B, #FF8567, #F06442, #D64B29, #bc4224, "$og-50", "$og-100", "$og-200", "$og-300", "$og-400", "$og-500", "$og-600", "$og-700"], ["Lisa Amber", "Amber", #fefbf6, #fdf3e2, #ffe5b8, #fdd286, #f6bd5a, #eda831, #d89013, #c08011, "$al-50", "$al-100", "$al-200", "$al-300", "$al-400", "$al-500", "$al-600", "$al-700"]', xV = '["Blue Theme", "Blue", #19438a, #42AAD7, #20c5ad, #467bd8, #4b5caf, #6ddfb1, #FFD6CC, #ffefeb, #ffe5b8, #fdd286, "$bn-700", "$ts-400", "$ta-400", "$bn-400", "$in-500", "$gp-300", "$og-200", "$og-100", "$al-200", "$al-300"], ["Indigo Theme", "Indigo", #4b5caf, #CEABED, #FDAF9B, #ffebf7, #FFD6CC, #6a7cd7, #E7EDF3, #EF8FC0, #a772d5, #3B4754, "$in-500", "$pp-100", "$og-200", "$vr-300", "$in-400", "$og-300", "$n-30", "$n-700", "$vr-400", "$pp-300"]', cr = {
13449
13449
  gp50: EL,
13450
13450
  gp100: LL,
13451
13451
  gp200: zL,
@@ -13740,6 +13740,12 @@ const OV = {
13740
13740
  default: "green",
13741
13741
  validator: (t) => ["green", "turquoise", "blue", "indigo", "violet", "pink", "red", "orange", "amber", "gray", "dark"].includes(t)
13742
13742
  },
13743
+ theme: {
13744
+ type: String,
13745
+ required: !1,
13746
+ default: "",
13747
+ validator: (t) => ["green", "teal", "turquoise", "blue", "indigo", "violet", "pink", "red", "orange", "amber", "gray", "dark"].includes(t)
13748
+ },
13743
13749
  labels: {
13744
13750
  type: Array,
13745
13751
  required: !0,
@@ -13852,7 +13858,7 @@ const OV = {
13852
13858
  methods: {
13853
13859
  paleteBuilder: za,
13854
13860
  palete() {
13855
- this.palletColors = this.paleteBuilder(this.sassColorVariables.palete), this.removeFirstTwoElements();
13861
+ this.theme.length ? this.palletColors = this.paleteBuilder(this.sassColorVariables.chartThemes) : (this.palletColors = this.paleteBuilder(this.sassColorVariables.palete), this.removeFirstTwoElements());
13856
13862
  },
13857
13863
  removeFirstTwoElements() {
13858
13864
  for (let t = 0; t < this.palletColors.length; t++) {
@@ -13884,7 +13890,9 @@ const OV = {
13884
13890
  this.setColors(e.datasets, n), this.localChartData = e;
13885
13891
  },
13886
13892
  generateBackgroundColor() {
13887
- const t = this.variant.toLowerCase(), e = this.palletColors.find((n) => n.variantName.toLowerCase().includes(t));
13893
+ let t = this.variant.toLowerCase();
13894
+ this.theme.length && (t = this.theme.toLowerCase());
13895
+ const e = this.palletColors.find((n) => n.variantName.toLowerCase() === t);
13888
13896
  return e ? this.fill ? e.colorShades.map((i) => i + "80") : e.colorShades : [];
13889
13897
  },
13890
13898
  setColors(t, e) {
@@ -13910,7 +13918,7 @@ function TV(t, e, n, i, s, r) {
13910
13918
  ])
13911
13919
  ]);
13912
13920
  }
13913
- const AV = /* @__PURE__ */ me(OV, [["render", TV], ["__scopeId", "data-v-3a3639cb"]]);
13921
+ const AV = /* @__PURE__ */ me(OV, [["render", TV], ["__scopeId", "data-v-34277efb"]]);
13914
13922
  const IV = {
13915
13923
  components: {
13916
13924
  Pie: $L