@wikicasa-dev/components 1.9.23 → 1.9.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/UIKit/Checkbox/CheckboxGroup.vue.d.ts +2 -2
- package/dist/UIKit/types.d.ts +1 -1
- package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.ClVBkga-.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.BNNGrUMj.js} +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/CheckboxGroup.js
CHANGED
|
@@ -33,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
33
33
|
autoCheckResetAll: boolean;
|
|
34
34
|
autoCheckResetEmpty: boolean;
|
|
35
35
|
manualToggleResetButton: boolean;
|
|
36
|
-
getKey(): (checkBtn: CheckboxButtonType | string | number) => string
|
|
36
|
+
getKey(): (checkBtn: CheckboxButtonType | string | number) => string;
|
|
37
37
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
38
|
"update:modelValue": (args_0: CheckboxButtonType[]) => void;
|
|
39
39
|
resetted: () => void;
|
|
@@ -58,7 +58,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
58
58
|
autoCheckResetAll: boolean;
|
|
59
59
|
autoCheckResetEmpty: boolean;
|
|
60
60
|
manualToggleResetButton: boolean;
|
|
61
|
-
getKey(): (checkBtn: CheckboxButtonType | string | number) => string
|
|
61
|
+
getKey(): (checkBtn: CheckboxButtonType | string | number) => string;
|
|
62
62
|
}>>> & Readonly<{
|
|
63
63
|
"onUpdate:modelValue"?: ((args_0: CheckboxButtonType[]) => any) | undefined;
|
|
64
64
|
onResetted?: (() => any) | undefined;
|
package/dist/UIKit/types.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export type CheckboxButtonType<T = string | number, T1 = string | number, T2 = u
|
|
|
34
34
|
export type CheckboxButtonTypeObj = Omit<CheckboxButtonType, "checked"> & {
|
|
35
35
|
checked: boolean;
|
|
36
36
|
};
|
|
37
|
-
export type GetterIdType<T = CheckboxButtonType | string | number> = (checkboxBtn: T) => string
|
|
37
|
+
export type GetterIdType<T = CheckboxButtonType | string | number> = (checkboxBtn: T) => string;
|
|
38
38
|
export type LabelState = "inline-label" | "floating-label";
|
|
39
39
|
export type FeedbackLabels = {
|
|
40
40
|
valid?: string[] | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y, useAttrs as C, ref as j, computed as i, watch as O, renderSlot as p, createElementVNode as
|
|
1
|
+
import { defineComponent as y, useAttrs as C, ref as j, computed as i, watch as O, renderSlot as p, createElementVNode as $, normalizeClass as B, openBlock as m, createElementBlock as E, Fragment as R, renderList as w, createBlock as A, unref as K, createCommentVNode as L } from "vue";
|
|
2
2
|
import "./types-B0dZ7OiV.D29wNgoj.js";
|
|
3
3
|
import { s as G } from "./ObjectUtils.BOUbloeg.js";
|
|
4
4
|
import D from "../CheckboxBtn.js";
|
|
@@ -16,7 +16,7 @@ const I = (l = "") => !l || !l.trim() ? "" : (l = l.trim(), l.replace(" ", "-").
|
|
|
16
16
|
autoCheckResetEmpty: { type: Boolean, default: !1 },
|
|
17
17
|
manualToggleResetButton: { type: Boolean, default: !1 },
|
|
18
18
|
getKey: { default() {
|
|
19
|
-
return (l) => typeof l == "string" || typeof l == "number" ? l : l.id
|
|
19
|
+
return (l) => typeof l == "string" || typeof l == "number" ? `${l}` : `${l.id}`;
|
|
20
20
|
} }
|
|
21
21
|
},
|
|
22
22
|
emits: ["resetted", "update:modelValue", "checkedGroup"],
|
|
@@ -68,9 +68,9 @@ const I = (l = "") => !l || !l.trim() ? "" : (l = l.trim(), l.replace(" ", "-").
|
|
|
68
68
|
handleChange: d,
|
|
69
69
|
checkboxesData: e.valuesObj
|
|
70
70
|
}, () => [
|
|
71
|
-
|
|
71
|
+
$("div", {
|
|
72
72
|
id: e.$attrs["group-id"] || "",
|
|
73
|
-
class:
|
|
73
|
+
class: B(["checkbox-group-container", e.$attrs.class || ""]),
|
|
74
74
|
"data-cy": e.$attrs["data-cy"] || ""
|
|
75
75
|
}, [
|
|
76
76
|
p(e.$slots, "checkbox_elements", {
|
|
@@ -78,7 +78,7 @@ const I = (l = "") => !l || !l.trim() ? "" : (l = l.trim(), l.replace(" ", "-").
|
|
|
78
78
|
handleChange: d,
|
|
79
79
|
checkboxesData: e.valuesObj
|
|
80
80
|
}, () => [
|
|
81
|
-
e.valuesObj ? (m(!0),
|
|
81
|
+
e.valuesObj ? (m(!0), E(R, { key: 0 }, w(e.valuesObj, (s, T, g) => (m(), A(D, {
|
|
82
82
|
id: e.getKey(s),
|
|
83
83
|
key: g,
|
|
84
84
|
"data-cy": `checkbox_${K(I)(`${s.label}`)}`,
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ 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.CR-nWss7.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 i } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.
|
|
7
|
+
import { _ as i } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.BNNGrUMj.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.RbxW2M0Y.js";
|
|
10
10
|
import { _ as g } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.DR6a7QAi.js";
|