@sysvale/cuida 3.151.0 → 3.151.2
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/@sysvale/cuida.es.js +35 -22
- package/dist/@sysvale/cuida.umd.js +12 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -13191,14 +13191,14 @@ const vB = {
|
|
|
13191
13191
|
*/
|
|
13192
13192
|
barWidth: {
|
|
13193
13193
|
type: Number,
|
|
13194
|
-
default:
|
|
13194
|
+
default: 5
|
|
13195
13195
|
},
|
|
13196
13196
|
/**
|
|
13197
13197
|
* Prop para exibir as barras na direção do eixo x
|
|
13198
13198
|
*/
|
|
13199
13199
|
horizontalBar: {
|
|
13200
13200
|
type: Boolean,
|
|
13201
|
-
default: !
|
|
13201
|
+
default: !0
|
|
13202
13202
|
}
|
|
13203
13203
|
},
|
|
13204
13204
|
data() {
|
|
@@ -13215,6 +13215,20 @@ const vB = {
|
|
|
13215
13215
|
// NOTE: Caso true manterá aspecto de proporção original, caso false, será dimensionado para preencher completamente o contêiner (Isso pode fazer com que o gráfico pareça distorcido se o container tiver proporção de aspecto diferente do gráfico original)
|
|
13216
13216
|
categoryPercentage: null,
|
|
13217
13217
|
//NOTE: Configura a porcentagem ocupada pela barra do gráfico. (0-1)
|
|
13218
|
+
indexAxis: this.horizontalBar ? "y" : "x",
|
|
13219
|
+
scales: this.horizontalBar ? {
|
|
13220
|
+
x: { beginAtZero: !0 }
|
|
13221
|
+
} : {
|
|
13222
|
+
y: {
|
|
13223
|
+
beginAtZero: !0,
|
|
13224
|
+
grace: "5%",
|
|
13225
|
+
ticks: {
|
|
13226
|
+
precision: 0
|
|
13227
|
+
},
|
|
13228
|
+
categoryPercentage: 0.6,
|
|
13229
|
+
barPercentage: 0.8
|
|
13230
|
+
}
|
|
13231
|
+
},
|
|
13218
13232
|
plugins: {
|
|
13219
13233
|
tooltip: {
|
|
13220
13234
|
callbacks: {
|
|
@@ -13242,7 +13256,7 @@ const vB = {
|
|
|
13242
13256
|
immediate: !0
|
|
13243
13257
|
},
|
|
13244
13258
|
variant: {
|
|
13245
|
-
handler(e) {
|
|
13259
|
+
handler(e, t) {
|
|
13246
13260
|
e === "gray" || e === "dark" ? this.deleteFirstTwoColors = !0 : this.deleteFirstTwoColors = !1;
|
|
13247
13261
|
},
|
|
13248
13262
|
immediate: !0
|
|
@@ -13260,17 +13274,6 @@ const vB = {
|
|
|
13260
13274
|
immediate: !0
|
|
13261
13275
|
}
|
|
13262
13276
|
},
|
|
13263
|
-
mounted() {
|
|
13264
|
-
this.horizontalBar && (this.chartOptions = {
|
|
13265
|
-
...this.chartOptions,
|
|
13266
|
-
indexAxis: "y",
|
|
13267
|
-
scales: {
|
|
13268
|
-
y: {
|
|
13269
|
-
beginAtZero: !0
|
|
13270
|
-
}
|
|
13271
|
-
}
|
|
13272
|
-
});
|
|
13273
|
-
},
|
|
13274
13277
|
methods: {
|
|
13275
13278
|
paleteBuilder: Us,
|
|
13276
13279
|
palete() {
|
|
@@ -13337,7 +13340,7 @@ function bB(e, t, n, i, s, a) {
|
|
|
13337
13340
|
])
|
|
13338
13341
|
]);
|
|
13339
13342
|
}
|
|
13340
|
-
const _B = /* @__PURE__ */ me(vB, [["render", bB], ["__scopeId", "data-v-
|
|
13343
|
+
const _B = /* @__PURE__ */ me(vB, [["render", bB], ["__scopeId", "data-v-353301a1"]]);
|
|
13341
13344
|
class ro extends Error {
|
|
13342
13345
|
}
|
|
13343
13346
|
class wB extends ro {
|
|
@@ -18941,6 +18944,11 @@ const kR = {
|
|
|
18941
18944
|
y: {
|
|
18942
18945
|
suggestedMin: this.yAxisRange[0],
|
|
18943
18946
|
suggestedMax: this.yAxisRange[1],
|
|
18947
|
+
beginAtZero: !0,
|
|
18948
|
+
grace: "10%",
|
|
18949
|
+
ticks: {
|
|
18950
|
+
precision: 0
|
|
18951
|
+
},
|
|
18944
18952
|
display: !0,
|
|
18945
18953
|
title: {
|
|
18946
18954
|
display: !0
|
|
@@ -19082,7 +19090,7 @@ function SR(e, t, n, i, s, a) {
|
|
|
19082
19090
|
])
|
|
19083
19091
|
]);
|
|
19084
19092
|
}
|
|
19085
|
-
const MR = /* @__PURE__ */ me(kR, [["render", SR], ["__scopeId", "data-v-
|
|
19093
|
+
const MR = /* @__PURE__ */ me(kR, [["render", SR], ["__scopeId", "data-v-c5a0eb61"]]);
|
|
19086
19094
|
js.register(...ao);
|
|
19087
19095
|
const OR = {
|
|
19088
19096
|
name: "CdsPieChart",
|
|
@@ -19536,6 +19544,11 @@ const PR = {
|
|
|
19536
19544
|
},
|
|
19537
19545
|
y: {
|
|
19538
19546
|
stacked: !0,
|
|
19547
|
+
beginAtZero: !0,
|
|
19548
|
+
grace: "10%",
|
|
19549
|
+
ticks: {
|
|
19550
|
+
precision: 0
|
|
19551
|
+
},
|
|
19539
19552
|
grid: {
|
|
19540
19553
|
color: "#DFE5EC"
|
|
19541
19554
|
}
|
|
@@ -19683,7 +19696,7 @@ function zR(e, t, n, i, s, a) {
|
|
|
19683
19696
|
])
|
|
19684
19697
|
]);
|
|
19685
19698
|
}
|
|
19686
|
-
const BR = /* @__PURE__ */ me(PR, [["render", zR], ["__scopeId", "data-v-
|
|
19699
|
+
const BR = /* @__PURE__ */ me(PR, [["render", zR], ["__scopeId", "data-v-ff9713f4"]]), Yp = {
|
|
19687
19700
|
name: "CdsSpacer",
|
|
19688
19701
|
props: {
|
|
19689
19702
|
/**
|
|
@@ -29924,7 +29937,7 @@ const U6 = /* @__PURE__ */ me(fY, [["render", yY], ["__scopeId", "data-v-e094b28
|
|
|
29924
29937
|
],
|
|
29925
29938
|
setup(e, { expose: t, emit: n }) {
|
|
29926
29939
|
et((we) => ({
|
|
29927
|
-
"
|
|
29940
|
+
"586cb0cc": le.value
|
|
29928
29941
|
}));
|
|
29929
29942
|
const i = rr("header-item"), s = rr("empty"), a = H1(), r = yn("search-input"), o = e, u = n, d = Q(!1), h = Q(0), p = Q(Array(a.fields.length).fill(0)), m = Q(0), g = Q(!1), b = Q(""), _ = Q(null), x = Q(tn.cloneDeep(o.customFieldsList)), S = Q("Personalizado"), $ = Ws(), D = Ws(), C = Ws();
|
|
29930
29943
|
let E = !1, P = 0, W = !1, V, G;
|
|
@@ -29967,12 +29980,12 @@ const U6 = /* @__PURE__ */ me(fY, [["render", yY], ["__scopeId", "data-v-e094b28
|
|
|
29967
29980
|
}
|
|
29968
29981
|
function J(we, Ee) {
|
|
29969
29982
|
if (Ee === "button") {
|
|
29970
|
-
u("search-button-click", we);
|
|
29983
|
+
clearTimeout(_.value), u("search-button-click", we);
|
|
29971
29984
|
return;
|
|
29972
29985
|
}
|
|
29973
|
-
clearTimeout(_.value), _.value = setTimeout(() => {
|
|
29986
|
+
!o.withSearchButton && Ee === "input" && (clearTimeout(_.value), _.value = setTimeout(() => {
|
|
29974
29987
|
u("search", we);
|
|
29975
|
-
}, o.searchInputDelay);
|
|
29988
|
+
}, o.searchInputDelay));
|
|
29976
29989
|
}
|
|
29977
29990
|
function de(we) {
|
|
29978
29991
|
S.value = we;
|
|
@@ -30155,7 +30168,7 @@ const U6 = /* @__PURE__ */ me(fY, [["render", yY], ["__scopeId", "data-v-e094b28
|
|
|
30155
30168
|
}, null, 8, ["modelValue", "custom-fields-list", "custom-fields-searchable", "selection-variant", "presets-options", "loading-custom-fields", "track-by", "min-fields", "max-fields"])
|
|
30156
30169
|
]));
|
|
30157
30170
|
}
|
|
30158
|
-
}), LY = /* @__PURE__ */ me(AY, [["__scopeId", "data-v-
|
|
30171
|
+
}), LY = /* @__PURE__ */ me(AY, [["__scopeId", "data-v-e9578d09"]]), EY = /* @__PURE__ */ Object.assign({ name: "CdsGrid" }, {
|
|
30159
30172
|
__name: "Grid",
|
|
30160
30173
|
props: {
|
|
30161
30174
|
cols: {
|