@validol4ik/uikit 0.8.5 → 0.8.7
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/{AppButtonCopy-CScGhyE9.js → AppButtonCopy-DtyuObNR.js} +3 -3
- package/dist/{AppSelect-s_Ao9Q_s.js → AppSelect-CYhIzu1c.js} +18 -18
- package/dist/{DropdownButton-Cqpr-9xv.js → DropdownButton-C9ezj3x1.js} +3 -3
- package/dist/{QMenu-DTMufKSj.js → QMenu-YxMyCS9G.js} +1 -1
- package/dist/{index-BG2U5bYT.js → index-PLQPOSmX.js} +11 -11
- package/dist/uikit.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as s, onMounted as u, h as l, defineComponent as p,
|
|
1
|
+
import { ref as s, onMounted as u, h as l, defineComponent as p, openBlock as f, createBlock as m, unref as h, withCtx as d, createVNode as y, mergeProps as v, withModifiers as C, renderSlot as g } from "vue";
|
|
2
2
|
import { r as S, a as b, i as B } from "./focusout-DjvPXP_b.js";
|
|
3
|
-
import { c as O, h as i, C as _, A as P } from "./index-
|
|
3
|
+
import { c as O, h as i, C as _, A as P } from "./index-PLQPOSmX.js";
|
|
4
4
|
function x(e) {
|
|
5
5
|
const t = document.createElement("textarea");
|
|
6
6
|
t.value = e, t.contentEditable = "true", t.style.position = "fixed";
|
|
@@ -82,7 +82,7 @@ const N = O({
|
|
|
82
82
|
console.log(a);
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
|
-
return (a, k) => (
|
|
85
|
+
return (a, k) => (f(), m(h(N), null, {
|
|
86
86
|
default: d(() => [
|
|
87
87
|
y(P, v(t, {
|
|
88
88
|
"icon-middle": o.value,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getCurrentInstance as re, ref as M, onBeforeUpdate as el, inject as _l, watch as J, onMounted as tl, onBeforeUnmount as Ve, computed as r, nextTick as fe, onDeactivated as ll, onActivated as ol, h as g, Transition as gt, onBeforeMount as Al, onUpdated as Bl, defineComponent as zl,
|
|
2
|
-
import { u as pt, s as ae, p as ge, a as bt, Q as Oe, b as Tl, h as qe, c as xe, d as Ol, e as Ml, f as Il, g as Ll, R as Hl, i as Pl, j as $l, k as nl, l as Dl, m as we, n as jl, o as Kl, q as Nl, r as Ul, t as Ql, v as Wl, w as Te, x as Xl, S as Yl, P as Zl, _ as Jl } from "./index-
|
|
3
|
-
import { a as ul, u as Gl, r as eo, g as to, b as lo, h as oo, c as no, d as uo, e as io, f as ao, i as ro, j as so, k as co, l as fo, m as It, n as vo, Q as mo } from "./QMenu-
|
|
1
|
+
import { getCurrentInstance as re, ref as M, onBeforeUpdate as el, inject as _l, watch as J, onMounted as tl, onBeforeUnmount as Ve, computed as r, nextTick as fe, onDeactivated as ll, onActivated as ol, h as g, Transition as gt, onBeforeMount as Al, onUpdated as Bl, defineComponent as zl, openBlock as ce, createElementBlock as de, normalizeClass as Xe, toDisplayString as Ye, createCommentVNode as Ze, createVNode as Tt, unref as El, withCtx as rt, mergeProps as Rl, Fragment as Je, createTextVNode as Ot, createElementVNode as Mt, withModifiers as Fl } from "vue";
|
|
2
|
+
import { u as pt, s as ae, p as ge, a as bt, Q as Oe, b as Tl, h as qe, c as xe, d as Ol, e as Ml, f as Il, g as Ll, R as Hl, i as Pl, j as $l, k as nl, l as Dl, m as we, n as jl, o as Kl, q as Nl, r as Ul, t as Ql, v as Wl, w as Te, x as Xl, S as Yl, P as Zl, _ as Jl } from "./index-PLQPOSmX.js";
|
|
3
|
+
import { a as ul, u as Gl, r as eo, g as to, b as lo, h as oo, c as no, d as uo, e as io, f as ao, i as ro, j as so, k as co, l as fo, m as It, n as vo, Q as mo } from "./QMenu-YxMyCS9G.js";
|
|
4
4
|
import { b as go, c as ke, r as Lt, a as ho } from "./focusout-DjvPXP_b.js";
|
|
5
5
|
const Ht = (e) => e ? !0 : "Обовʼязкове поле", Pt = /^on[A-Z]/;
|
|
6
6
|
function po() {
|
|
@@ -2210,13 +2210,13 @@ const Wo = xe({
|
|
|
2210
2210
|
u.value = h;
|
|
2211
2211
|
});
|
|
2212
2212
|
};
|
|
2213
|
-
return (h, m) => (
|
|
2213
|
+
return (h, m) => (ce(), de("div", {
|
|
2214
2214
|
class: Xe(["app-select", [{ "app-select_opened": d.value }, `app-select_${h.size}`]])
|
|
2215
2215
|
}, [
|
|
2216
|
-
h.label ? (
|
|
2216
|
+
h.label ? (ce(), de("label", {
|
|
2217
2217
|
key: 0,
|
|
2218
2218
|
class: Xe(["app-select__label", { "app-select__label_bold": h.required }])
|
|
2219
|
-
},
|
|
2219
|
+
}, Ye(h.required ? `${h.label} *` : h.label), 3)) : Ze("", !0),
|
|
2220
2220
|
Tt(El(Wo), {
|
|
2221
2221
|
standout: "",
|
|
2222
2222
|
"hide-bottom-space": "",
|
|
@@ -2243,18 +2243,18 @@ const Wo = xe({
|
|
|
2243
2243
|
onPopupHide: k
|
|
2244
2244
|
}, {
|
|
2245
2245
|
append: rt(() => [
|
|
2246
|
-
S.value ? (
|
|
2246
|
+
S.value ? (ce(), de("i", {
|
|
2247
2247
|
key: 0,
|
|
2248
2248
|
class: "icon-kl icon-kl-circle-close app-select__clear",
|
|
2249
2249
|
onClick: Fl(C, ["stop", "prevent"])
|
|
2250
|
-
})) :
|
|
2250
|
+
})) : Ze("", !0),
|
|
2251
2251
|
m[1] || (m[1] = Mt("i", { class: "icon-kl icon-kl-arrow-down app-select__drop-icon" }, null, -1))
|
|
2252
2252
|
]),
|
|
2253
2253
|
selected: rt(() => {
|
|
2254
2254
|
var q, D;
|
|
2255
2255
|
return [
|
|
2256
|
-
Array.isArray(a.value) ? (
|
|
2257
|
-
!h.filtering || a.value.length ? (
|
|
2256
|
+
Array.isArray(a.value) ? (ce(), de(Je, { key: 0 }, [
|
|
2257
|
+
!h.filtering || a.value.length ? (ce(), de("span", {
|
|
2258
2258
|
key: 0,
|
|
2259
2259
|
class: Xe([
|
|
2260
2260
|
"app-select__selected",
|
|
@@ -2263,21 +2263,21 @@ const Wo = xe({
|
|
|
2263
2263
|
}
|
|
2264
2264
|
])
|
|
2265
2265
|
}, [
|
|
2266
|
-
(D = a.value) != null && D.length ? (
|
|
2266
|
+
(D = a.value) != null && D.length ? (ce(), de(Je, { key: 0 }, [
|
|
2267
2267
|
m[2] || (m[2] = Ot(" Вибрано ", -1)),
|
|
2268
|
-
Mt("span", Xo,
|
|
2269
|
-
], 64)) : (
|
|
2270
|
-
Ot(
|
|
2268
|
+
Mt("span", Xo, Ye(a.value.length), 1)
|
|
2269
|
+
], 64)) : (ce(), de(Je, { key: 1 }, [
|
|
2270
|
+
Ot(Ye(o.placeholder), 1)
|
|
2271
2271
|
], 64))
|
|
2272
|
-
], 2)) :
|
|
2273
|
-
], 64)) : (
|
|
2274
|
-
!h.filtering || a.value ? (
|
|
2272
|
+
], 2)) : Ze("", !0)
|
|
2273
|
+
], 64)) : (ce(), de(Je, { key: 1 }, [
|
|
2274
|
+
!h.filtering || a.value ? (ce(), de("span", {
|
|
2275
2275
|
key: 0,
|
|
2276
2276
|
class: Xe([
|
|
2277
2277
|
"app-select__selected",
|
|
2278
2278
|
{ "app-select__placeholder": !a.value && h.placeholder }
|
|
2279
2279
|
])
|
|
2280
|
-
},
|
|
2280
|
+
}, Ye(b.value), 3)) : Ze("", !0)
|
|
2281
2281
|
], 64))
|
|
2282
2282
|
];
|
|
2283
2283
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed as u, h as i, getCurrentInstance as z, ref as C, watch as q, onMounted as _, defineComponent as j,
|
|
2
|
-
import { S as c, c as A, h as L, y as I, z as G, Q as U, B as D, w as W, C as N, _ as T } from "./index-
|
|
3
|
-
import { d as X, u as Y, Q as Z } from "./QMenu-
|
|
1
|
+
import { computed as u, h as i, getCurrentInstance as z, ref as C, watch as q, onMounted as _, defineComponent as j, openBlock as B, createBlock as E, unref as h, normalizeClass as p, withCtx as M, renderSlot as v, createElementBlock as S, createCommentVNode as y, toDisplayString as F } from "vue";
|
|
2
|
+
import { S as c, c as A, h as L, y as I, z as G, Q as U, B as D, w as W, C as N, _ as T } from "./index-PLQPOSmX.js";
|
|
3
|
+
import { d as X, u as Y, Q as Z } from "./QMenu-YxMyCS9G.js";
|
|
4
4
|
const J = {
|
|
5
5
|
[c.SM]: "3px 9px",
|
|
6
6
|
[c.MD]: "5px 12px",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as T, onMounted as te, watch as S, computed as E, getCurrentInstance as R, nextTick as I, onBeforeUnmount as z, onUnmounted as Oe, h as K, Teleport as Ie, onDeactivated as Te, Transition as Ke } from "vue";
|
|
2
2
|
import { i as Ne, P as Qe, b as _e, c as Se, r as je, a as Ue } from "./focusout-DjvPXP_b.js";
|
|
3
|
-
import { p as se, D as ce, k as Ce, E as Ge, m as J, F as Xe,
|
|
3
|
+
import { p as se, D as ce, k as Ce, E as Ge, m as J, F as Xe, G as B, c as He, H as ke, I as Ye, J as de, u as Je, a as Ze, K as et, L as tt, h as ot, o as nt, s as lt } from "./index-PLQPOSmX.js";
|
|
4
4
|
let X, V = 0;
|
|
5
5
|
const w = new Array(256);
|
|
6
6
|
for (let e = 0; e < 256; e++)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as r, markRaw as Ee, defineComponent as K, h as p, withDirectives as oe, getCurrentInstance as ee, unref as Z, ref as W, onBeforeUnmount as Fe, Transition as Qe,
|
|
1
|
+
import { computed as r, markRaw as Ee, defineComponent as K, h as p, withDirectives as oe, getCurrentInstance as ee, unref as Z, ref as W, onBeforeUnmount as Fe, Transition as Qe, openBlock as b, createBlock as ae, normalizeClass as P, withCtx as Ue, createElementBlock as _, createCommentVNode as V, renderSlot as se, Fragment as ie, createTextVNode as Pe, toDisplayString as Y, createElementVNode as T, toRaw as Q, createVNode as He, normalizeStyle as re, watch as Xe, onMounted as We, renderList as Le, withKeys as Ye, vModelText as Ge, nextTick as he, useModel as Je, mergeModels as Ze, defineAsyncComponent as ge } from "vue";
|
|
2
2
|
const _n = ({ app: e }) => {
|
|
3
3
|
const t = e.config.globalProperties.$q;
|
|
4
4
|
t.iconMapFn = (n) => {
|
|
@@ -1566,7 +1566,7 @@ const dn = te({
|
|
|
1566
1566
|
}
|
|
1567
1567
|
}), Tn = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-4e11db87"]]), gn = { class: "app-segment__track" }, hn = { class: "app-segment__buttons" }, bn = ["onClick", "disabled"], kn = /* @__PURE__ */ K({
|
|
1568
1568
|
__name: "AppSegment",
|
|
1569
|
-
props: /* @__PURE__ */
|
|
1569
|
+
props: /* @__PURE__ */ Ze({
|
|
1570
1570
|
options: {},
|
|
1571
1571
|
disabled: { type: Boolean },
|
|
1572
1572
|
size: { default: z.MD }
|
|
@@ -1576,7 +1576,7 @@ const dn = te({
|
|
|
1576
1576
|
}),
|
|
1577
1577
|
emits: ["update:modelValue"],
|
|
1578
1578
|
setup(e) {
|
|
1579
|
-
const t =
|
|
1579
|
+
const t = Je(e, "modelValue"), n = e, a = r(
|
|
1580
1580
|
() => n.options.findIndex((l) => l.value === t.value)
|
|
1581
1581
|
);
|
|
1582
1582
|
function s(l) {
|
|
@@ -1609,11 +1609,11 @@ const dn = te({
|
|
|
1609
1609
|
], 2));
|
|
1610
1610
|
}
|
|
1611
1611
|
}), zn = /* @__PURE__ */ G(kn, [["__scopeId", "data-v-ff56abdf"]]), On = ge(
|
|
1612
|
-
() => import("./AppButtonCopy-
|
|
1612
|
+
() => import("./AppButtonCopy-DtyuObNR.js")
|
|
1613
1613
|
), jn = ge(
|
|
1614
|
-
() => import("./AppSelect-
|
|
1614
|
+
() => import("./AppSelect-CYhIzu1c.js")
|
|
1615
1615
|
), Dn = ge(
|
|
1616
|
-
() => import("./DropdownButton-
|
|
1616
|
+
() => import("./DropdownButton-C9ezj3x1.js")
|
|
1617
1617
|
);
|
|
1618
1618
|
export {
|
|
1619
1619
|
Mn as A,
|
|
@@ -1628,17 +1628,17 @@ export {
|
|
|
1628
1628
|
ct as J,
|
|
1629
1629
|
dt as K,
|
|
1630
1630
|
Zt as L,
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1631
|
+
On as M,
|
|
1632
|
+
Tn as N,
|
|
1633
|
+
In as O,
|
|
1634
1634
|
An as P,
|
|
1635
1635
|
me as Q,
|
|
1636
1636
|
ht as R,
|
|
1637
1637
|
z as S,
|
|
1638
1638
|
zn as T,
|
|
1639
|
-
|
|
1639
|
+
jn as U,
|
|
1640
1640
|
xt as V,
|
|
1641
|
-
|
|
1641
|
+
Dn as W,
|
|
1642
1642
|
_n as X,
|
|
1643
1643
|
G as _,
|
|
1644
1644
|
Ke as a,
|
package/dist/uikit.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as a,
|
|
1
|
+
import { A as a, M as s, N as e, O as n, T as A, U as u, V as m, W as r, P as c, X as g } from "./index-PLQPOSmX.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
a as AppButton,
|