@datametria/vue-components 2.4.0 → 2.4.1
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/README.md +1 -1
- package/dist/index.es.js +13 -13
- package/dist/index.umd.js +1 -1
- package/dist/vue-components.css +1 -1
- package/package.json +1 -1
- package/src/components/DatametriaCheckbox.vue +4 -4
- package/src/components/DatametriaCheckboxGroup.vue +38 -56
- package/src/components/DatametriaFileUpload.vue +13 -13
- package/src/components/DatametriaInput.vue +15 -15
- package/src/components/DatametriaPasswordInput.vue +13 -11
- package/src/components/DatametriaRadio.vue +2 -2
- package/src/components/DatametriaRadioGroup.vue +37 -55
- package/src/components/DatametriaSelect.vue +15 -15
- package/src/components/DatametriaSortableTable.vue +35 -29
- package/src/components/DatametriaSwitch.vue +1 -1
- package/src/components/DatametriaTextarea.vue +15 -15
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, computed as S, createElementBlock as o, openBlock as l, normalizeClass as F, createCommentVNode as w, renderSlot as O, ref as I, createElementVNode as c, createTextVNode as U, toDisplayString as B, withDirectives as Q, vModelDynamic as pe, watch as G, normalizeStyle as H, onMounted as Z, onUnmounted as ie, createBlock as J, Fragment as j, renderList as W, vModelSelect as ce, Teleport as te,
|
|
1
|
+
import { defineComponent as N, computed as S, createElementBlock as o, openBlock as l, normalizeClass as F, createCommentVNode as w, renderSlot as O, ref as I, createElementVNode as c, createTextVNode as U, toDisplayString as B, withDirectives as Q, vModelDynamic as pe, watch as G, normalizeStyle as H, onMounted as Z, onUnmounted as ie, createBlock as J, withModifiers as Y, Fragment as j, renderList as W, vModelSelect as ce, Teleport as te, vModelText as re, inject as de, provide as ue, nextTick as ae, withKeys as le, reactive as $e, onBeforeUnmount as he, createVNode as oe, Transition as ne, withCtx as se, createStaticVNode as be, resolveComponent as we, useCssVars as xe, resolveDynamicComponent as ge } from "vue";
|
|
2
2
|
var me = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e.SECONDARY = "secondary", e.OUTLINE = "outline", e.GHOST = "ghost", e))(me || {}), _e = /* @__PURE__ */ ((e) => (e.SM = "sm", e.MD = "md", e.LG = "lg", e))(_e || {});
|
|
3
3
|
const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
4
4
|
key: 0,
|
|
@@ -173,7 +173,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
173
173
|
e.errorMessage ? (l(), o("div", Ae, B(e.errorMessage), 1)) : w("", !0)
|
|
174
174
|
], 2));
|
|
175
175
|
}
|
|
176
|
-
}), fi = /* @__PURE__ */ K(Oe, [["__scopeId", "data-v-
|
|
176
|
+
}), fi = /* @__PURE__ */ K(Oe, [["__scopeId", "data-v-8090bea1"]]), Pe = { class: "datametria-password-input" }, Ne = ["for"], Ke = {
|
|
177
177
|
key: 0,
|
|
178
178
|
class: "datametria-password-input__required"
|
|
179
179
|
}, qe = { class: "datametria-password-input__wrapper" }, je = ["id", "value", "type", "placeholder", "disabled", "required", "autocomplete", "aria-invalid", "aria-describedby"], We = ["aria-label"], Ue = {
|
|
@@ -383,7 +383,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
383
383
|
}, B(e.helpText), 9, ot)) : w("", !0)
|
|
384
384
|
]));
|
|
385
385
|
}
|
|
386
|
-
}), pi = /* @__PURE__ */ K(nt, [["__scopeId", "data-v-
|
|
386
|
+
}), pi = /* @__PURE__ */ K(nt, [["__scopeId", "data-v-38b27914"]]), it = {
|
|
387
387
|
key: 0,
|
|
388
388
|
class: "datametria-select__label"
|
|
389
389
|
}, rt = {
|
|
@@ -472,7 +472,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
472
472
|
ref_key: "triggerRef",
|
|
473
473
|
ref: i,
|
|
474
474
|
class: "datametria-select__trigger",
|
|
475
|
-
onClick: _
|
|
475
|
+
onClick: Y(_, ["stop"])
|
|
476
476
|
}, [
|
|
477
477
|
f.value ? (l(), o("span", dt, B(f.value), 1)) : (l(), o("span", ct, B(e.placeholder), 1)),
|
|
478
478
|
h[3] || (h[3] = c("span", { class: "datametria-select__arrow" }, "▼", -1)),
|
|
@@ -520,7 +520,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
520
520
|
e.errorMessage ? (l(), o("div", bt, B(e.errorMessage), 1)) : w("", !0)
|
|
521
521
|
], 2));
|
|
522
522
|
}
|
|
523
|
-
}), hi = /* @__PURE__ */ K(gt, [["__scopeId", "data-v-
|
|
523
|
+
}), hi = /* @__PURE__ */ K(gt, [["__scopeId", "data-v-f67293a1"]]), _t = { class: "datametria-checkbox__input" }, yt = ["checked", "disabled", "indeterminate"], kt = {
|
|
524
524
|
key: 0,
|
|
525
525
|
class: "datametria-checkbox__label"
|
|
526
526
|
}, $t = /* @__PURE__ */ N({
|
|
@@ -582,7 +582,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
582
582
|
])) : w("", !0)
|
|
583
583
|
], 2));
|
|
584
584
|
}
|
|
585
|
-
}), bi = /* @__PURE__ */ K($t, [["__scopeId", "data-v-
|
|
585
|
+
}), bi = /* @__PURE__ */ K($t, [["__scopeId", "data-v-f3bc3466"]]), wt = {
|
|
586
586
|
class: "datametria-checkbox-group",
|
|
587
587
|
role: "group"
|
|
588
588
|
}, xt = /* @__PURE__ */ N({
|
|
@@ -604,7 +604,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
604
604
|
O(n.$slots, "default", {}, void 0, !0)
|
|
605
605
|
]));
|
|
606
606
|
}
|
|
607
|
-
}), gi = /* @__PURE__ */ K(xt, [["__scopeId", "data-v-
|
|
607
|
+
}), gi = /* @__PURE__ */ K(xt, [["__scopeId", "data-v-9134bf4b"]]), Ct = { class: "datametria-radio__input" }, Vt = ["checked", "disabled", "value"], Dt = {
|
|
608
608
|
key: 0,
|
|
609
609
|
class: "datametria-radio__label"
|
|
610
610
|
}, St = /* @__PURE__ */ N({
|
|
@@ -646,7 +646,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
646
646
|
])) : w("", !0)
|
|
647
647
|
], 2));
|
|
648
648
|
}
|
|
649
|
-
}), _i = /* @__PURE__ */ K(St, [["__scopeId", "data-v-
|
|
649
|
+
}), _i = /* @__PURE__ */ K(St, [["__scopeId", "data-v-7d8f8226"]]), Bt = {
|
|
650
650
|
class: "datametria-radio-group",
|
|
651
651
|
role: "radiogroup"
|
|
652
652
|
}, Mt = /* @__PURE__ */ N({
|
|
@@ -668,7 +668,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
668
668
|
O(n.$slots, "default", {}, void 0, !0)
|
|
669
669
|
]));
|
|
670
670
|
}
|
|
671
|
-
}), yi = /* @__PURE__ */ K(Mt, [["__scopeId", "data-v-
|
|
671
|
+
}), yi = /* @__PURE__ */ K(Mt, [["__scopeId", "data-v-b0c12ada"]]), Tt = ["aria-checked", "disabled"], It = {
|
|
672
672
|
key: 0,
|
|
673
673
|
class: "datametria-switch__loading"
|
|
674
674
|
}, Et = /* @__PURE__ */ N({
|
|
@@ -711,7 +711,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
711
711
|
], 4)
|
|
712
712
|
], 10, Tt));
|
|
713
713
|
}
|
|
714
|
-
}), ki = /* @__PURE__ */ K(Et, [["__scopeId", "data-v-
|
|
714
|
+
}), ki = /* @__PURE__ */ K(Et, [["__scopeId", "data-v-83868477"]]), zt = ["placeholder", "disabled", "readonly", "rows", "maxlength"], Lt = {
|
|
715
715
|
key: 0,
|
|
716
716
|
class: "datametria-textarea__count"
|
|
717
717
|
}, Rt = /* @__PURE__ */ N({
|
|
@@ -794,7 +794,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
794
794
|
e.showWordLimit && e.maxlength ? (l(), o("div", Lt, B(r.value.length) + " / " + B(e.maxlength), 1)) : w("", !0)
|
|
795
795
|
], 2));
|
|
796
796
|
}
|
|
797
|
-
}), $i = /* @__PURE__ */ K(Rt, [["__scopeId", "data-v-
|
|
797
|
+
}), $i = /* @__PURE__ */ K(Rt, [["__scopeId", "data-v-2393573e"]]), Ft = ["placeholder", "disabled", "readonly"], At = {
|
|
798
798
|
key: 0,
|
|
799
799
|
class: "datametria-datepicker__shortcuts"
|
|
800
800
|
}, Ot = ["onClick"], Pt = { class: "datametria-datepicker__calendar" }, Nt = { class: "datametria-datepicker__header" }, Kt = { class: "datametria-datepicker__weekdays" }, qt = { class: "datametria-datepicker__days" }, jt = ["disabled", "onClick"], Wt = /* @__PURE__ */ N({
|
|
@@ -1381,7 +1381,7 @@ const Ce = ["disabled", "type", "aria-busy", "aria-disabled"], Ve = {
|
|
|
1381
1381
|
v.value ? (l(), o("div", Ta, B(v.value), 1)) : w("", !0)
|
|
1382
1382
|
], 2));
|
|
1383
1383
|
}
|
|
1384
|
-
}), Vi = /* @__PURE__ */ K(Ia, [["__scopeId", "data-v-
|
|
1384
|
+
}), Vi = /* @__PURE__ */ K(Ia, [["__scopeId", "data-v-dfe81729"]]), Ea = ["accept", "multiple", "disabled"], za = {
|
|
1385
1385
|
key: 1,
|
|
1386
1386
|
class: "datametria-upload__button"
|
|
1387
1387
|
}, La = ["disabled"], Ra = ["accept", "multiple", "disabled"], Fa = {
|
|
@@ -3015,7 +3015,7 @@ const ll = { class: "datametria-form-item__content" }, sl = {
|
|
|
3015
3015
|
])) : w("", !0)
|
|
3016
3016
|
]));
|
|
3017
3017
|
}
|
|
3018
|
-
}), Ui = /* @__PURE__ */ K(no, [["__scopeId", "data-v-
|
|
3018
|
+
}), Ui = /* @__PURE__ */ K(no, [["__scopeId", "data-v-81924a67"]]), io = {
|
|
3019
3019
|
key: 0,
|
|
3020
3020
|
class: "datametria-datatable__loading"
|
|
3021
3021
|
}, ro = { class: "datametria-datatable__header" }, co = {
|