@wikicasa-dev/components 2.0.22 → 2.0.24
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/CheckboxGroup.js +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/assets/BaseTooltip.css +1 -1
- package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.JlHKkjHJ.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.C1NwpE7V.js} +10 -10
- package/dist/chunks/{RadioGroup.vue_vue_type_script_setup_true_lang.BalzO73O.js → RadioGroup.vue_vue_type_script_setup_true_lang.DdmSUyxZ.js} +5 -5
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/CheckboxGroup.js
CHANGED
package/dist/RadioGroup.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.base-tooltip[data-v-b0e473d5]{--tooltip-sm-content-width: 250px;--tooltip-sm-arrows-width: 8px;--tooltip-sm-height: 65px;--tooltip-md-width: calc(var(--tooltip-sm-content-width) * 1.2);--tooltip-md-height: 100px;--tooltip-lg-width: calc(var(--tooltip-sm-content-width) * 1.4);--tooltip-lg-height: 130px;--tooltip-border-radius: 10px;--tooltip-space-from-top-content: 65%;--tooltip-blue-bg: #2B5DFF;--tooltip-blue-color: #fff;--tooltip-white-bg: #fff;--tooltip-white-color: #000;--arrow-width: 10px;--arrow-margin-left: calc(var(--arrow-width) * -1);--arrow-left-position: 10%;position:relative;display:inline-block}.base-tooltip .tooltip-content-wrapper[data-v-b0e473d5]{position:absolute;top:60%}.base-tooltip .tooltip-content-wrapper.sm[data-v-b0e473d5]{width:var(--tooltip-sm-content-width)}.base-tooltip .tooltip-content-wrapper.md[data-v-b0e473d5]{width:var(--tooltip-md-width)}.base-tooltip .tooltip-content-wrapper.lg[data-v-b0e473d5]{width:var(--tooltip-lg-width)}.base-tooltip .tooltip-content[data-v-b0e473d5]{display:none;opacity:0;text-align:center;padding:5px 0;position:absolute;z-index:1;left:var(--arrow-left-position);top:var(--tooltip-space-from-top-content)}.base-tooltip .tooltip-content.lg[data-v-b0e473d5]{top:calc(var(--tooltip-space-from-top-content) + 20%)}.base-tooltip .mail-alert[data-v-b0e473d5]{padding-top:22px;position:absolute;top:90%;z-index:1053}.base-tooltip .mail-alert.listing>.tooltip-content[data-v-b0e473d5]{left:-70px}.base-tooltip .mail-alert .tooltip-content[data-v-b0e473d5]{left:0;top:65%;display:flex!important;justify-content:center;align-items:center}.base-tooltip .mail-alert .tooltip-content[data-v-b0e473d5],.base-tooltip .mail-alert .tooltip-content[data-v-b0e473d5]:after{display:block;opacity:1;transition:opacity .25s ease-out}.base-tooltip .tooltip-content[data-v-b0e473d5],.base-tooltip .tooltip-content[data-v-b0e473d5]>*{border-radius:var(--tooltip-border-radius)}.base-tooltip .tooltip-content.blue[data-v-b0e473d5]{background-color:var(--tooltip-blue-bg);color:var(--tooltip-blue-color)}.base-tooltip .tooltip-content.blue[data-v-b0e473d5]:after{border-color:transparent transparent var(--tooltip-blue-bg) transparent}.base-tooltip .tooltip-content.white[data-v-b0e473d5]{background-color:var(--tooltip-white-bg);color:var(--tooltip-white-color)}.base-tooltip .tooltip-content.white[data-v-b0e473d5]:after{border-color:transparent transparent var(--tooltip-white-bg) transparent}.base-tooltip .tooltip-content.sm[data-v-b0e473d5]{width:var(--tooltip-sm-content-width);height:var(--tooltip-sm-height)}.base-tooltip .tooltip-content.sm[data-v-b0e473d5]:after{border-width:var(--tooltip-sm-arrows-width)}.base-tooltip .tooltip-content.md[data-v-b0e473d5]{width:var(--tooltip-md-width);height:var(--tooltip-md-height)}.base-tooltip .tooltip-content.md[data-v-b0e473d5]:after{border-width:calc(var(--tooltip-sm-arrows-width) +
|
|
1
|
+
.base-tooltip[data-v-b0e473d5]{--tooltip-sm-content-width: 250px;--tooltip-sm-arrows-width: 8px;--tooltip-sm-height: 65px;--tooltip-md-width: calc(var(--tooltip-sm-content-width) * 1.2);--tooltip-md-height: 100px;--tooltip-lg-width: calc(var(--tooltip-sm-content-width) * 1.4);--tooltip-lg-height: 130px;--tooltip-border-radius: 10px;--tooltip-space-from-top-content: 65%;--tooltip-blue-bg: #2B5DFF;--tooltip-blue-color: #fff;--tooltip-white-bg: #fff;--tooltip-white-color: #000;--arrow-width: 10px;--arrow-margin-left: calc(var(--arrow-width) * -1);--arrow-left-position: 10%;position:relative;display:inline-block}.base-tooltip .tooltip-content-wrapper[data-v-b0e473d5]{position:absolute;top:60%}.base-tooltip .tooltip-content-wrapper.sm[data-v-b0e473d5]{width:var(--tooltip-sm-content-width)}.base-tooltip .tooltip-content-wrapper.md[data-v-b0e473d5]{width:var(--tooltip-md-width)}.base-tooltip .tooltip-content-wrapper.lg[data-v-b0e473d5]{width:var(--tooltip-lg-width)}.base-tooltip .tooltip-content[data-v-b0e473d5]{display:none;opacity:0;text-align:center;padding:5px 0;position:absolute;z-index:1;left:var(--arrow-left-position);top:var(--tooltip-space-from-top-content)}.base-tooltip .tooltip-content.lg[data-v-b0e473d5]{top:calc(var(--tooltip-space-from-top-content) + 20%)}.base-tooltip .mail-alert[data-v-b0e473d5]{padding-top:22px;position:absolute;top:90%;z-index:1053}.base-tooltip .mail-alert.listing>.tooltip-content[data-v-b0e473d5]{left:-70px}.base-tooltip .mail-alert .tooltip-content[data-v-b0e473d5]{left:0;top:65%;display:flex!important;justify-content:center;align-items:center}.base-tooltip .mail-alert .tooltip-content[data-v-b0e473d5],.base-tooltip .mail-alert .tooltip-content[data-v-b0e473d5]:after{display:block;opacity:1;transition:opacity .25s ease-out}.base-tooltip .tooltip-content[data-v-b0e473d5],.base-tooltip .tooltip-content[data-v-b0e473d5]>*{border-radius:var(--tooltip-border-radius)}.base-tooltip .tooltip-content.blue[data-v-b0e473d5]{background-color:var(--tooltip-blue-bg);color:var(--tooltip-blue-color)}.base-tooltip .tooltip-content.blue[data-v-b0e473d5]:after{border-color:transparent transparent var(--tooltip-blue-bg) transparent}.base-tooltip .tooltip-content.white[data-v-b0e473d5]{background-color:var(--tooltip-white-bg);color:var(--tooltip-white-color)}.base-tooltip .tooltip-content.white[data-v-b0e473d5]:after{border-color:transparent transparent var(--tooltip-white-bg) transparent}.base-tooltip .tooltip-content.sm[data-v-b0e473d5]{width:var(--tooltip-sm-content-width);height:var(--tooltip-sm-height)}.base-tooltip .tooltip-content.sm[data-v-b0e473d5]:after{border-width:var(--tooltip-sm-arrows-width)}.base-tooltip .tooltip-content.md[data-v-b0e473d5]{width:var(--tooltip-md-width);height:var(--tooltip-md-height)}.base-tooltip .tooltip-content.md[data-v-b0e473d5]:after{border-width:calc(var(--tooltip-sm-arrows-width) + 1px)}.base-tooltip .tooltip-content.lg[data-v-b0e473d5]{width:var(--tooltip-lg-width);height:var(--tooltip-lg-height)}.base-tooltip .tooltip-content.lg[data-v-b0e473d5]:after{border-width:calc(var(--tooltip-sm-arrows-width) + 2px)}.base-tooltip:hover .tooltip-content-wrapper[data-v-b0e473d5]{padding-top:30px}.base-tooltip:hover .tooltip-content.lg[data-v-b0e473d5]{left:8%}.base-tooltip:hover .tooltip-content[data-v-b0e473d5],.base-tooltip .tooltip-content[data-v-b0e473d5]:after{display:block;opacity:1;transition:opacity .25s ease-out}.base-tooltip-arrow[data-v-b0e473d5]:after{content:" ";position:absolute;margin-left:var(--arrow-margin-left);border-style:solid}.base-tooltip-arrow.top[data-v-b0e473d5]:after{bottom:100%;left:var(--arrow-left-position)}.base-tooltip-arrow.top-center[data-v-b0e473d5]:after{bottom:100%;left:50%}.base-tooltip-arrow.right[data-v-b0e473d5]:after{top:50%;left:100%;transform:rotate(90deg)}.base-tooltip-arrow.bottom[data-v-b0e473d5]:after{top:100%;left:var(--arrow-left-position);transform:rotate(180deg)}.base-tooltip-arrow.bottom-center[data-v-b0e473d5]:after{top:100%;left:50%;transform:rotate(180deg)}.base-tooltip-arrow.left[data-v-b0e473d5]:after{top:50%;right:100%;transform:rotate(270deg)}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as v, ref as x, computed as
|
|
1
|
+
import { defineComponent as v, ref as x, computed as i, watch as D, renderSlot as m, createElementVNode as E, normalizeClass as $, openBlock as b, createElementBlock as B, Fragment as I, renderList as R, createBlock as A, unref as K, createCommentVNode as L } from "vue";
|
|
2
2
|
import "./types-B0dZ7OiV.D29wNgoj.js";
|
|
3
3
|
import V from "../CheckboxBtn.js";
|
|
4
|
-
const w = (a) => !a?.length, G = (a = "") => !a || !a.trim() ? "" : (a = a.trim(), a.replace(" ", "-").toLowerCase()),
|
|
4
|
+
const w = (a) => !a?.length, G = (a = "") => !a || !a.trim() ? "" : (a = a.trim(), a.replace(" ", "-").toLowerCase()), M = ["id", "data-cy"], z = /* @__PURE__ */ v({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "CheckboxGroup",
|
|
7
7
|
props: {
|
|
@@ -22,11 +22,11 @@ const w = (a) => !a?.length, G = (a = "") => !a || !a.trim() ? "" : (a = a.trim(
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["resetted", "update:modelValue", "checkedGroup"],
|
|
24
24
|
setup(a, { emit: g }) {
|
|
25
|
-
const o = a, s = g, l = x(/* @__PURE__ */ new Map()), r =
|
|
25
|
+
const o = a, s = g, l = x(/* @__PURE__ */ new Map()), r = i(() => {
|
|
26
26
|
for (const e of o.checkboxData)
|
|
27
27
|
if (e.reset) return e;
|
|
28
28
|
return null;
|
|
29
|
-
}), C =
|
|
29
|
+
}), C = i(() => o.checkboxData.length), f = i(() => {
|
|
30
30
|
let e = 0;
|
|
31
31
|
return l.value.forEach((t) => {
|
|
32
32
|
t.checked && e++;
|
|
@@ -39,7 +39,7 @@ const w = (a) => !a?.length, G = (a = "") => !a || !a.trim() ? "" : (a = a.trim(
|
|
|
39
39
|
`${t.id}`,
|
|
40
40
|
t
|
|
41
41
|
), t.checked && e.push(t);
|
|
42
|
-
|
|
42
|
+
s("update:modelValue", e);
|
|
43
43
|
})();
|
|
44
44
|
const u = (e, t) => {
|
|
45
45
|
const c = l.value.get(e);
|
|
@@ -56,7 +56,7 @@ const w = (a) => !a?.length, G = (a = "") => !a || !a.trim() ? "" : (a = a.trim(
|
|
|
56
56
|
});
|
|
57
57
|
}, p = () => {
|
|
58
58
|
k(), s("update:modelValue", []), s("resetted");
|
|
59
|
-
}, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1,
|
|
59
|
+
}, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1, h = (e) => {
|
|
60
60
|
if (w(o.checkboxData)) return;
|
|
61
61
|
const t = l.value.get(e.id);
|
|
62
62
|
t?.reset && e.checked ? k() : r.value && !t?.reset && u(o.getKey(r.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && r.value && f.value === C.value - 1 && l.value.forEach((n) => {
|
|
@@ -74,7 +74,7 @@ const w = (a) => !a?.length, G = (a = "") => !a || !a.trim() ? "" : (a = a.trim(
|
|
|
74
74
|
}
|
|
75
75
|
), (e, t) => m(e.$slots, "default", {
|
|
76
76
|
isActive: d,
|
|
77
|
-
handleChange:
|
|
77
|
+
handleChange: h,
|
|
78
78
|
checkboxesData: e.checkboxData
|
|
79
79
|
}, () => [
|
|
80
80
|
E("div", {
|
|
@@ -84,7 +84,7 @@ const w = (a) => !a?.length, G = (a = "") => !a || !a.trim() ? "" : (a = a.trim(
|
|
|
84
84
|
}, [
|
|
85
85
|
m(e.$slots, "checkbox_elements", {
|
|
86
86
|
isActive: d,
|
|
87
|
-
handleChange:
|
|
87
|
+
handleChange: h,
|
|
88
88
|
checkboxesData: e.checkboxData,
|
|
89
89
|
reset: p
|
|
90
90
|
}, () => [
|
|
@@ -99,10 +99,10 @@ const w = (a) => !a?.length, G = (a = "") => !a || !a.trim() ? "" : (a = a.trim(
|
|
|
99
99
|
e.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
|
|
100
100
|
e.checkboxContainerClasses
|
|
101
101
|
],
|
|
102
|
-
onChange:
|
|
102
|
+
onChange: h
|
|
103
103
|
}, null, 8, ["id", "data-cy", "label", "inline", "model-value", "container-class"]))), 128)) : L("", !0)
|
|
104
104
|
])
|
|
105
|
-
], 10,
|
|
105
|
+
], 10, M)
|
|
106
106
|
]);
|
|
107
107
|
}
|
|
108
108
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as p, mergeModels as d, useModel as C, ref as h, watch as $, renderSlot as u, createElementVNode as V, normalizeClass as c, openBlock as m, createElementBlock as
|
|
1
|
+
import { defineComponent as p, mergeModels as d, useModel as C, ref as h, watch as $, renderSlot as u, createElementVNode as V, normalizeClass as c, openBlock as m, createElementBlock as k, Fragment as R, renderList as g, createBlock as y } from "vue";
|
|
2
2
|
import { _ } from "./RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js";
|
|
3
|
-
const b = ["data-cy"],
|
|
3
|
+
const b = ["data-cy"], w = /* @__PURE__ */ p({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "RadioGroup",
|
|
6
6
|
props: /* @__PURE__ */ d({
|
|
@@ -27,7 +27,7 @@ const b = ["data-cy"], E = /* @__PURE__ */ p({
|
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
29
|
})(), $(n, (e) => {
|
|
30
|
-
|
|
30
|
+
e && t();
|
|
31
31
|
}), (e, M) => u(e.$slots, "default", {
|
|
32
32
|
handleClick: l,
|
|
33
33
|
activeValue: a.value,
|
|
@@ -44,7 +44,7 @@ const b = ["data-cy"], E = /* @__PURE__ */ p({
|
|
|
44
44
|
reset: t,
|
|
45
45
|
isActive: r
|
|
46
46
|
}, () => [
|
|
47
|
-
(m(!0), R
|
|
47
|
+
(m(!0), k(R, null, g(e.radioValues, (s, v) => (m(), y(_, {
|
|
48
48
|
id: s.id,
|
|
49
49
|
key: v,
|
|
50
50
|
class: c(e.radioContainerClasses),
|
|
@@ -58,5 +58,5 @@ const b = ["data-cy"], E = /* @__PURE__ */ p({
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
w as _
|
|
62
62
|
};
|
package/dist/index.js
CHANGED
|
@@ -4,11 +4,11 @@ import { _ as f } from "./chunks/BaseAccordionContent.vue_vue_type_script_setup_
|
|
|
4
4
|
import { _ as m } from "./chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js";
|
|
5
5
|
import { _ as l } from "./chunks/SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js";
|
|
6
6
|
import { default as d } from "./CheckboxBtn.js";
|
|
7
|
-
import { _ as u } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.
|
|
7
|
+
import { _ as u } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.C1NwpE7V.js";
|
|
8
8
|
import { _ } from "./chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js";
|
|
9
9
|
import { _ as S } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Ar2KNVYH.js";
|
|
10
10
|
import { _ as g } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js";
|
|
11
|
-
import { _ as h } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.
|
|
11
|
+
import { _ as h } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.DdmSUyxZ.js";
|
|
12
12
|
import { _ as I } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.ClV6kObA.js";
|
|
13
13
|
import { _ as w } from "./chunks/BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js";
|
|
14
14
|
import { _ as k } from "./chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.CCR6X0si.js";
|