@nhtio/lucid-resourceful-vue-components 0.1.0-master-e14740ea → 0.1.0-master-54839a90
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/{VBtn-DhfYEt9V.mjs → VBtn-C4WCntKg.mjs} +8 -8
- package/{VBtn-DhfYEt9V.mjs.map → VBtn-C4WCntKg.mjs.map} +1 -1
- package/{VDatePicker-D0OTAyvJ.mjs → VDatePicker-DOCNk-HL.mjs} +166 -166
- package/{VDatePicker-D0OTAyvJ.mjs.map → VDatePicker-DOCNk-HL.mjs.map} +1 -1
- package/{VEmptyState-BFrXSTJ-.mjs → VEmptyState-CfouFZTg.mjs} +41 -41
- package/{VEmptyState-BFrXSTJ-.mjs.map → VEmptyState-CfouFZTg.mjs.map} +1 -1
- package/{VHover-DLvOmsjv.mjs → VHover-DvUhdfsL.mjs} +3 -3
- package/{VHover-DLvOmsjv.mjs.map → VHover-DvUhdfsL.mjs.map} +1 -1
- package/{VListItem-LNaoM8S4.mjs → VListItem-BT-NXJyi.mjs} +56 -56
- package/{VListItem-LNaoM8S4.mjs.map → VListItem-BT-NXJyi.mjs.map} +1 -1
- package/{VMenu-9rTbTKtH.mjs → VMenu-Bk2NN8qb.mjs} +28 -28
- package/{VMenu-9rTbTKtH.mjs.map → VMenu-Bk2NN8qb.mjs.map} +1 -1
- package/{VPicker-BGuRD0KW.mjs → VPicker-DmY6CdER.mjs} +5 -5
- package/{VPicker-BGuRD0KW.mjs.map → VPicker-DmY6CdER.mjs.map} +1 -1
- package/{VRadioGroup-Dx_wEqzl.mjs → VRadioGroup-BO7XdtLS.mjs} +21 -21
- package/{VRadioGroup-Dx_wEqzl.mjs.map → VRadioGroup-BO7XdtLS.mjs.map} +1 -1
- package/{VRow-DaLdbIGw.mjs → VRow-BhNJcY5-.mjs} +17 -17
- package/{VRow-DaLdbIGw.mjs.map → VRow-BhNJcY5-.mjs.map} +1 -1
- package/{VSheet-DnIfs-1c.mjs → VSheet-Bkr-m6FE.mjs} +14 -14
- package/{VSheet-DnIfs-1c.mjs.map → VSheet-Bkr-m6FE.mjs.map} +1 -1
- package/{actions-8bWGsB-p.mjs → actions-ORUmfJR5.mjs} +15 -15
- package/{actions-8bWGsB-p.mjs.map → actions-ORUmfJR5.mjs.map} +1 -1
- package/{alert-IW1AIWZw.mjs → alert-pFT7pWTZ.mjs} +97 -94
- package/alert-pFT7pWTZ.mjs.map +1 -0
- package/{bigint-Jmfa2L4S.mjs → bigint-CCM0aPaS.mjs} +6 -6
- package/{bigint-Jmfa2L4S.mjs.map → bigint-CCM0aPaS.mjs.map} +1 -1
- package/{boolean-BEY7eBxf.mjs → boolean-1-MOJPSu.mjs} +40 -40
- package/{boolean-BEY7eBxf.mjs.map → boolean-1-MOJPSu.mjs.map} +1 -1
- package/{clipboard-BoKd7mFG.mjs → clipboard-CdGABqm1.mjs} +51 -51
- package/{clipboard-BoKd7mFG.mjs.map → clipboard-CdGABqm1.mjs.map} +1 -1
- package/{colorUtils-DmtKYNgW.mjs → colorUtils-BdpqbLZS.mjs} +3 -3
- package/{colorUtils-DmtKYNgW.mjs.map → colorUtils-BdpqbLZS.mjs.map} +1 -1
- package/{common-BeDAn4wu.mjs → common-Bi5RUD-n.mjs} +8881 -8880
- package/common-Bi5RUD-n.mjs.map +1 -0
- package/{component-CjPpW_A2.mjs → component-DhEJuSE6.mjs} +2 -2
- package/{component-CjPpW_A2.mjs.map → component-DhEJuSE6.mjs.map} +1 -1
- package/components/autorefresh_controller.mjs +1 -1
- package/components/control_button.mjs +1 -1
- package/components/control_button_bar.mjs +2 -2
- package/components/control_menu.mjs +1 -1
- package/components/custom_field.mjs +1 -1
- package/components/exporter.mjs +1 -1
- package/components/fields/bigint.mjs +1 -1
- package/components/fields/boolean.mjs +1 -1
- package/components/fields/date.mjs +1 -1
- package/components/fields/date_time.mjs +1 -1
- package/components/fields/enum.mjs +1 -1
- package/components/fields/integer.mjs +1 -1
- package/components/fields/number.mjs +1 -1
- package/components/fields/string.mjs +1 -1
- package/components/fields/unsigned_integer.mjs +1 -1
- package/components/fields.mjs +9 -9
- package/components/form_with_validation.mjs +1 -1
- package/components/resourceful_alerter.mjs +1 -1
- package/components/resourceful_index.mjs +1 -1
- package/components/resourceful_record.mjs +2 -2
- package/components/resourceful_record_default_form.mjs +1 -1
- package/components/resourceful_record_form.mjs +1 -1
- package/components/sortable.mjs +1 -1
- package/components/svg_icon.mjs +1 -1
- package/components/timezone_picker.mjs +1 -1
- package/components.mjs +23 -23
- package/composables.mjs +8 -8
- package/{console-CRXioSFP.mjs → console-Dgoi3FwV.mjs} +2 -2
- package/{console-CRXioSFP.mjs.map → console-Dgoi3FwV.mjs.map} +1 -1
- package/{custom-Y1WJVKP9.mjs → custom-DQmbYYPh.mjs} +17 -17
- package/{custom-Y1WJVKP9.mjs.map → custom-DQmbYYPh.mjs.map} +1 -1
- package/{date-BxEeCNWD.mjs → date-E_8RP3gK.mjs} +21 -21
- package/{date-BxEeCNWD.mjs.map → date-E_8RP3gK.mjs.map} +1 -1
- package/{date_time-6kpv7eDF.mjs → date_time-BmYl2TFi.mjs} +300 -300
- package/{date_time-6kpv7eDF.mjs.map → date_time-BmYl2TFi.mjs.map} +1 -1
- package/{display-kAyhIPBH.mjs → display-B089h_sz.mjs} +30 -28
- package/display-B089h_sz.mjs.map +1 -0
- package/{display-CO0pTIEs.mjs → display-dv4cOwRN.mjs} +42 -42
- package/{display-CO0pTIEs.mjs.map → display-dv4cOwRN.mjs.map} +1 -1
- package/{display-DvzWa1QO.mjs → display-fXo4JeIS.mjs} +41 -41
- package/{display-DvzWa1QO.mjs.map → display-fXo4JeIS.mjs.map} +1 -1
- package/{elevation-CMzO50xm.mjs → elevation-YNOj0hSa.mjs} +82 -82
- package/{elevation-CMzO50xm.mjs.map → elevation-YNOj0hSa.mjs.map} +1 -1
- package/{enum-noYU2Cqh.mjs → enum-8itqseZa.mjs} +22 -22
- package/{enum-noYU2Cqh.mjs.map → enum-8itqseZa.mjs.map} +1 -1
- package/factories.mjs +1 -1
- package/{field_composer-DpJx0Oz1.mjs → field_composer-ugYyDQNY.mjs} +7 -7
- package/{field_composer-DpJx0Oz1.mjs.map → field_composer-ugYyDQNY.mjs.map} +1 -1
- package/{form-CDLcDPyU.mjs → form-BtDnRXYm.mjs} +45 -45
- package/{form-CDLcDPyU.mjs.map → form-BtDnRXYm.mjs.map} +1 -1
- package/{guards-B99p3BPj.mjs → guards-Cby4QwzY.mjs} +2 -2
- package/{guards-B99p3BPj.mjs.map → guards-Cby4QwzY.mjs.map} +1 -1
- package/guards.mjs +4 -4
- package/helpers.mjs +6 -6
- package/{index-C9UuBVyI.mjs → index-3XRUa28C.mjs} +12 -12
- package/{index-C9UuBVyI.mjs.map → index-3XRUa28C.mjs.map} +1 -1
- package/{index-CzI9mHIx.mjs → index-BCQmj6cf.mjs} +13 -13
- package/{index-CzI9mHIx.mjs.map → index-BCQmj6cf.mjs.map} +1 -1
- package/{index-bXmNb9jX.mjs → index-BgevbZTt.mjs} +10 -10
- package/{index-bXmNb9jX.mjs.map → index-BgevbZTt.mjs.map} +1 -1
- package/{index-BaWthszI.mjs → index-C-PCfO1S.mjs} +2 -2
- package/{index-BaWthszI.mjs.map → index-C-PCfO1S.mjs.map} +1 -1
- package/{index-Bi050X9r.mjs → index-CSyOYGEi.mjs} +8 -8
- package/{index-Bi050X9r.mjs.map → index-CSyOYGEi.mjs.map} +1 -1
- package/{index-CIvylvfa.mjs → index-D9i1PRci.mjs} +5701 -5698
- package/{index-CIvylvfa.mjs.map → index-D9i1PRci.mjs.map} +1 -1
- package/{index-B2rKM3mR.mjs → index-DWv9iKZs.mjs} +21 -21
- package/{index-B2rKM3mR.mjs.map → index-DWv9iKZs.mjs.map} +1 -1
- package/{index-slHxe6b-.mjs → index-VpcXNOpn.mjs} +2 -2
- package/{index-slHxe6b-.mjs.map → index-VpcXNOpn.mjs.map} +1 -1
- package/{index-BUpccfIz.mjs → index-fiZltUBs.mjs} +3 -3
- package/{index-BUpccfIz.mjs.map → index-fiZltUBs.mjs.map} +1 -1
- package/index.mjs +31 -31
- package/{integer-BIJ4_I8y.mjs → integer-W2_SlKV1.mjs} +5 -5
- package/{integer-BIJ4_I8y.mjs.map → integer-W2_SlKV1.mjs.map} +1 -1
- package/{mdi-CqMJqgQi.mjs → mdi-DC1jeTJJ.mjs} +55 -55
- package/{mdi-CqMJqgQi.mjs.map → mdi-DC1jeTJJ.mjs.map} +1 -1
- package/{number-z_LAINPM.mjs → number-DgwZBxOw.mjs} +101 -101
- package/{number-z_LAINPM.mjs.map → number-DgwZBxOw.mjs.map} +1 -1
- package/package.json +31 -31
- package/{position-Ai5XksAO.mjs → position-B9VPkbhU.mjs} +2 -2
- package/{position-Ai5XksAO.mjs.map → position-B9VPkbhU.mjs.map} +1 -1
- package/private/control-button-bar/props.d.ts +10 -10
- package/private/fields/bigint.d.ts +128 -128
- package/private/fields/boolean.d.ts +68 -68
- package/private/fields/common.d.ts +16 -16
- package/private/fields/custom.d.ts +2 -2
- package/private/fields/date.d.ts +24 -24
- package/private/fields/date_time.d.ts +24 -24
- package/private/fields/enum.d.ts +68 -68
- package/private/fields/integer.d.ts +107 -107
- package/private/fields/multiple.d.ts +17 -17
- package/private/fields/number.d.ts +46 -46
- package/private/fields/read_mode_renderer.d.ts +17 -17
- package/private/fields/string.d.ts +24 -24
- package/private/fields/unsigned_integer.d.ts +107 -107
- package/private/filtration/filter_group_condition_element.d.ts +36 -36
- package/private/resourceful-index/index.d.ts +17 -17
- package/private/resourceful-index/partials/_controls.d.ts +1 -1
- package/private/resourceful-index/partials/_per_page_selector.d.ts +1 -1
- package/private/resourceful-index/props.d.ts +34 -34
- package/private/resourceful-record/form.d.ts +12 -12
- package/private/resourceful-record/index.d.ts +13 -13
- package/private/resourceful-record/props.d.ts +20 -20
- package/private/sortable/index.d.ts +1 -1
- package/{props-p4f5Pa5h.mjs → props-COvhL78L.mjs} +4 -4
- package/{props-p4f5Pa5h.mjs.map → props-COvhL78L.mjs.map} +1 -1
- package/{props-BYX22zcE.mjs → props-GYFmAF5-.mjs} +6 -6
- package/{props-BYX22zcE.mjs.map → props-GYFmAF5-.mjs.map} +1 -1
- package/{renderers-BKUvrrVm.mjs → renderers-BP4li2WT.mjs} +13 -13
- package/{renderers-BKUvrrVm.mjs.map → renderers-BP4li2WT.mjs.map} +1 -1
- package/{string-Dmr8SRMf.mjs → string-RfpfCwEn.mjs} +137 -137
- package/{string-Dmr8SRMf.mjs.map → string-RfpfCwEn.mjs.map} +1 -1
- package/{unsigned_integer-BliPiCXO.mjs → unsigned_integer-Cg6tbRJj.mjs} +4 -4
- package/{unsigned_integer-BliPiCXO.mjs.map → unsigned_integer-Cg6tbRJj.mjs.map} +1 -1
- package/useRender-CfNJA_8a.mjs +9 -0
- package/{useRender-BD1xw5zG.mjs.map → useRender-CfNJA_8a.mjs.map} +1 -1
- package/{utils-DqXWb-4f.mjs → utils-D3ZGaTyv.mjs} +48 -48
- package/{utils-DqXWb-4f.mjs.map → utils-D3ZGaTyv.mjs.map} +1 -1
- package/{validation-DS3tTSk5.mjs → validation-BF_JkNWB.mjs} +4 -4
- package/{validation-DS3tTSk5.mjs.map → validation-BF_JkNWB.mjs.map} +1 -1
- package/VBtn.css +0 -1
- package/VDatePicker.css +0 -1
- package/VEmptyState.css +0 -1
- package/VListItem.css +0 -1
- package/VMenu.css +0 -1
- package/VPicker.css +0 -1
- package/VRadioGroup.css +0 -1
- package/VSheet.css +0 -1
- package/actions.css +0 -1
- package/alert-IW1AIWZw.mjs.map +0 -1
- package/boolean.css +0 -1
- package/clipboard.css +0 -1
- package/common-BeDAn4wu.mjs.map +0 -1
- package/common.css +0 -1
- package/date_time.css +0 -1
- package/display-kAyhIPBH.mjs.map +0 -1
- package/display.css +0 -1
- package/display2.css +0 -1
- package/elevation.css +0 -1
- package/index.css +0 -1
- package/mdi.css +0 -1
- package/number.css +0 -1
- package/string.css +0 -1
- package/useRender-BD1xw5zG.mjs +0 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { c as je } from "./console-
|
|
5
|
-
|
|
1
|
+
import { inject as Xe, toRef as _, shallowRef as O, computed as I, watch as xe, createVNode as b, normalizeStyle as Qe, normalizeClass as j, createElementVNode as k, mergeProps as ue, withDirectives as ye, vShow as Ye, Fragment as he, toDisplayString as Ze } from "vue";
|
|
2
|
+
import { A as De, aa as ce, ab as Je, O as Te, ac as et, ad as tt, U as nt, g as fe, p as de, ae as lt, af as ze, ag as be, D as Se, o as Re, ah as Ce, a as x, ai as $e, r as ve, aj as at, y as pe, M as D, C as st, X as Oe, q as Fe, ak as ot, f as We, al as it, a2 as ke, N as rt, i as ut, a4 as ct, k as ft, n as dt, am as vt, u as pt, an as Ie, a3 as mt, S as gt, W as yt, ao as ht, E as N, a6 as we, ap as bt, a7 as St, s as Ct, aq as kt, w as It, a8 as wt, z as Vt, a9 as Ve } from "./display-fXo4JeIS.mjs";
|
|
3
|
+
import { B as Be, V as Le, Q as q, W as _t, N as At, X as Pt, Y as Me, M as Et, Z as H, _ as F, $ as xt, p as U, w as Dt, E as w, a0 as Tt, L as zt, A as Rt, C as Ge, a1 as $t } from "./utils-D3ZGaTyv.mjs";
|
|
4
|
+
import { c as je } from "./console-Dgoi3FwV.mjs";
|
|
5
|
+
const Ot = Symbol.for("vuetify:goto");
|
|
6
6
|
function Ft() {
|
|
7
7
|
return {
|
|
8
8
|
container: void 0,
|
|
@@ -36,13 +36,13 @@ async function _e(e, t, n, l) {
|
|
|
36
36
|
const p = window.getComputedStyle(f).getPropertyValue("--v-layout-top");
|
|
37
37
|
p && (y -= parseInt(p, 10));
|
|
38
38
|
}
|
|
39
|
-
y += s.offset, y =
|
|
39
|
+
y += s.offset, y = Lt(i, y, !!o, !!n);
|
|
40
40
|
const d = i[a] ?? 0;
|
|
41
41
|
if (y === d) return Promise.resolve(y);
|
|
42
42
|
const m = performance.now();
|
|
43
43
|
return new Promise((v) => requestAnimationFrame(function p(S) {
|
|
44
|
-
const C = (S - m) / s.duration,
|
|
45
|
-
if (i[a] =
|
|
44
|
+
const C = (S - m) / s.duration, A = Math.floor(d + (y - d) * r(Te(C, 0, 1)));
|
|
45
|
+
if (i[a] = A, C >= 1 && Math.abs(A - i[a]) < 10)
|
|
46
46
|
return v(y);
|
|
47
47
|
if (C > 2)
|
|
48
48
|
return et("Scroll target is not reachable"), v(i[a]);
|
|
@@ -51,7 +51,7 @@ async function _e(e, t, n, l) {
|
|
|
51
51
|
}
|
|
52
52
|
function Bt() {
|
|
53
53
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
54
|
-
const t =
|
|
54
|
+
const t = Xe(Ot), {
|
|
55
55
|
isRtl: n
|
|
56
56
|
} = De();
|
|
57
57
|
if (!t) throw new Error("[Vuetify] Could not find injected goto instance");
|
|
@@ -65,7 +65,7 @@ function Bt() {
|
|
|
65
65
|
}
|
|
66
66
|
return a.horizontal = async (s, o) => _e(s, ce(e, o), !0, l), a;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Lt(e, t, n, l) {
|
|
69
69
|
const {
|
|
70
70
|
scrollWidth: a,
|
|
71
71
|
scrollHeight: s
|
|
@@ -73,32 +73,32 @@ function Gt(e, t, n, l) {
|
|
|
73
73
|
let i, r;
|
|
74
74
|
return l ? n ? (i = -(a - o), r = 0) : (i = 0, r = a - o) : (i = 0, r = s + -f), Te(t, i, r);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Mt(e) {
|
|
77
77
|
let {
|
|
78
78
|
selectedElement: t,
|
|
79
79
|
containerElement: n,
|
|
80
80
|
isRtl: l,
|
|
81
81
|
isHorizontal: a
|
|
82
82
|
} = e;
|
|
83
|
-
const s = W(a, n), o =
|
|
83
|
+
const s = W(a, n), o = Ne(a, l, n), f = W(a, t), i = He(a, t), r = f * 0.4;
|
|
84
84
|
return o > i ? i - r : o + s < i + f ? i - s + f + r : o;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Gt(e) {
|
|
87
87
|
let {
|
|
88
88
|
selectedElement: t,
|
|
89
89
|
containerElement: n,
|
|
90
90
|
isHorizontal: l
|
|
91
91
|
} = e;
|
|
92
|
-
const a = W(l, n), s =
|
|
92
|
+
const a = W(l, n), s = He(l, t), o = W(l, t);
|
|
93
93
|
return s - a / 2 + o / 2;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Ae(e, t) {
|
|
96
96
|
return t?.[e ? "scrollWidth" : "scrollHeight"] || 0;
|
|
97
97
|
}
|
|
98
98
|
function jt(e, t) {
|
|
99
99
|
return t?.[e ? "clientWidth" : "clientHeight"] || 0;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Ne(e, t, n) {
|
|
102
102
|
if (!n)
|
|
103
103
|
return 0;
|
|
104
104
|
const {
|
|
@@ -111,7 +111,7 @@ function He(e, t, n) {
|
|
|
111
111
|
function W(e, t) {
|
|
112
112
|
return t?.[e ? "offsetWidth" : "offsetHeight"] || 0;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function He(e, t) {
|
|
115
115
|
return t?.[e ? "offsetLeft" : "offsetTop"] || 0;
|
|
116
116
|
}
|
|
117
117
|
const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
@@ -149,7 +149,7 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
149
149
|
...$e({
|
|
150
150
|
selectedClass: "v-slide-group-item--active"
|
|
151
151
|
})
|
|
152
|
-
}, "VSlideGroup"),
|
|
152
|
+
}, "VSlideGroup"), Pe = fe()({
|
|
153
153
|
name: "VSlideGroup",
|
|
154
154
|
props: Ke(),
|
|
155
155
|
emits: {
|
|
@@ -174,7 +174,7 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
174
174
|
container: m.el,
|
|
175
175
|
duration: 200,
|
|
176
176
|
easing: "easeOutQuart"
|
|
177
|
-
})),
|
|
177
|
+
})), A = I(() => o.selected.value.length ? o.items.value.findIndex((u) => u.id === o.selected.value[0]) : -1), Y = I(() => o.selected.value.length ? o.items.value.findIndex((u) => u.id === o.selected.value[o.selected.value.length - 1]) : -1);
|
|
178
178
|
if (Se) {
|
|
179
179
|
let u = -1;
|
|
180
180
|
xe(() => [o.selected.value, v.value, S.value, d.value], () => {
|
|
@@ -183,21 +183,21 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
183
183
|
const c = d.value ? "width" : "height";
|
|
184
184
|
r.value = v.value[c], y.value = S.value[c], f.value = r.value + 1 < y.value;
|
|
185
185
|
}
|
|
186
|
-
if (e.scrollToActive &&
|
|
186
|
+
if (e.scrollToActive && A.value >= 0 && p.el) {
|
|
187
187
|
const c = p.el.children[Y.value];
|
|
188
188
|
B(c, e.centerActive);
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
|
-
const
|
|
193
|
+
const P = O(!1);
|
|
194
194
|
function B(u, c) {
|
|
195
195
|
let g = 0;
|
|
196
|
-
c ? g =
|
|
196
|
+
c ? g = Gt({
|
|
197
197
|
containerElement: m.el,
|
|
198
198
|
isHorizontal: d.value,
|
|
199
199
|
selectedElement: u
|
|
200
|
-
}) : g =
|
|
200
|
+
}) : g = Mt({
|
|
201
201
|
containerElement: m.el,
|
|
202
202
|
isHorizontal: d.value,
|
|
203
203
|
isRtl: l.value,
|
|
@@ -206,8 +206,8 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
206
206
|
}
|
|
207
207
|
function T(u) {
|
|
208
208
|
if (!Se || !m.el) return;
|
|
209
|
-
const c = W(d.value, m.el), g =
|
|
210
|
-
if (!(
|
|
209
|
+
const c = W(d.value, m.el), g = Ne(d.value, l.value, m.el);
|
|
210
|
+
if (!(Ae(d.value, m.el) <= c || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
|
|
211
211
|
Math.abs(u - g) < 16)) {
|
|
212
212
|
if (d.value && l.value && m.el) {
|
|
213
213
|
const {
|
|
@@ -227,7 +227,7 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
227
227
|
i.value = d.value ? g : c;
|
|
228
228
|
}
|
|
229
229
|
function h(u) {
|
|
230
|
-
if (
|
|
230
|
+
if (P.value = !0, !(!f.value || !p.el)) {
|
|
231
231
|
for (const c of u.composedPath())
|
|
232
232
|
for (const g of p.el.children)
|
|
233
233
|
if (g === c) {
|
|
@@ -236,17 +236,17 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
|
|
239
|
+
function L(u) {
|
|
240
|
+
P.value = !1;
|
|
241
241
|
}
|
|
242
242
|
let z = !1;
|
|
243
243
|
function J(u) {
|
|
244
|
-
!z && !
|
|
244
|
+
!z && !P.value && !(u.relatedTarget && p.el?.contains(u.relatedTarget)) && $(), z = !1;
|
|
245
245
|
}
|
|
246
246
|
function R() {
|
|
247
247
|
z = !0;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function M(u) {
|
|
250
250
|
if (!p.el) return;
|
|
251
251
|
function c(g) {
|
|
252
252
|
u.preventDefault(), $(g);
|
|
@@ -292,7 +292,7 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
292
292
|
prev: o.prev,
|
|
293
293
|
select: o.select,
|
|
294
294
|
isSelected: o.isSelected
|
|
295
|
-
})),
|
|
295
|
+
})), G = I(() => f.value || Math.abs(i.value) > 0), ne = I(() => {
|
|
296
296
|
switch (e.showArrows) {
|
|
297
297
|
// Always show arrows on desktop & mobile
|
|
298
298
|
case "always":
|
|
@@ -303,19 +303,19 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
303
303
|
// Show arrows on mobile when overflowing.
|
|
304
304
|
// This matches the default 2.2 behavior
|
|
305
305
|
case !0:
|
|
306
|
-
return
|
|
306
|
+
return G.value;
|
|
307
307
|
// Always show on mobile
|
|
308
308
|
case "mobile":
|
|
309
|
-
return s.value ||
|
|
309
|
+
return s.value || G.value;
|
|
310
310
|
// https://material.io/components/tabs#scrollable-tabs
|
|
311
311
|
// Always show arrows when
|
|
312
312
|
// overflowed on desktop
|
|
313
313
|
default:
|
|
314
|
-
return !s.value &&
|
|
314
|
+
return !s.value && G.value;
|
|
315
315
|
}
|
|
316
316
|
}), le = I(() => Math.abs(i.value) > 1), ae = I(() => {
|
|
317
|
-
if (!m.value || !
|
|
318
|
-
const u =
|
|
317
|
+
if (!m.value || !G.value) return !1;
|
|
318
|
+
const u = Ae(d.value, m.el), c = jt(d.value, m.el);
|
|
319
319
|
return u - c - Math.abs(i.value) > 1;
|
|
320
320
|
});
|
|
321
321
|
return Re(() => b(e.tag, {
|
|
@@ -324,8 +324,8 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
324
324
|
"v-slide-group--has-affixes": ne.value,
|
|
325
325
|
"v-slide-group--is-overflowing": f.value
|
|
326
326
|
}, a.value, e.class]),
|
|
327
|
-
style:
|
|
328
|
-
tabindex:
|
|
327
|
+
style: Qe(e.style),
|
|
328
|
+
tabindex: P.value || o.selected.value.length ? -1 : 0,
|
|
329
329
|
onFocus: J
|
|
330
330
|
}, {
|
|
331
331
|
default: () => [ne.value && k("div", {
|
|
@@ -348,8 +348,8 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
348
348
|
ref: p,
|
|
349
349
|
class: "v-slide-group__content",
|
|
350
350
|
onFocusin: h,
|
|
351
|
-
onFocusout:
|
|
352
|
-
onKeydown:
|
|
351
|
+
onFocusout: L,
|
|
352
|
+
onKeydown: M
|
|
353
353
|
}, [n.default?.(te.value)])]), ne.value && k("div", {
|
|
354
354
|
key: "next",
|
|
355
355
|
class: j(["v-slide-group__next", {
|
|
@@ -371,7 +371,7 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
371
371
|
hasNext: ae
|
|
372
372
|
};
|
|
373
373
|
}
|
|
374
|
-
}), Ue = Symbol.for("vuetify:v-chip-group"),
|
|
374
|
+
}), Ue = Symbol.for("vuetify:v-chip-group"), Nt = de({
|
|
375
375
|
baseColor: String,
|
|
376
376
|
column: Boolean,
|
|
377
377
|
filter: Boolean,
|
|
@@ -394,7 +394,7 @@ const qe = Symbol.for("vuetify:v-slide-group"), Ke = de({
|
|
|
394
394
|
}, "VChipGroup");
|
|
395
395
|
fe()({
|
|
396
396
|
name: "VChipGroup",
|
|
397
|
-
props:
|
|
397
|
+
props: Nt(),
|
|
398
398
|
emits: {
|
|
399
399
|
"update:modelValue": (e) => !0
|
|
400
400
|
},
|
|
@@ -420,8 +420,8 @@ fe()({
|
|
|
420
420
|
variant: _(() => e.variant)
|
|
421
421
|
}
|
|
422
422
|
}), Re(() => {
|
|
423
|
-
const r =
|
|
424
|
-
return b(
|
|
423
|
+
const r = Pe.filterProps(e);
|
|
424
|
+
return b(Pe, ue(r, {
|
|
425
425
|
class: ["v-chip-group", {
|
|
426
426
|
"v-chip-group--column": e.column
|
|
427
427
|
}, l.value, e.class],
|
|
@@ -438,7 +438,7 @@ fe()({
|
|
|
438
438
|
}), {};
|
|
439
439
|
}
|
|
440
440
|
});
|
|
441
|
-
const
|
|
441
|
+
const Ht = de({
|
|
442
442
|
activeClass: String,
|
|
443
443
|
appendAvatar: String,
|
|
444
444
|
appendIcon: D,
|
|
@@ -500,7 +500,7 @@ const Nt = de({
|
|
|
500
500
|
directives: {
|
|
501
501
|
vRipple: ke
|
|
502
502
|
},
|
|
503
|
-
props:
|
|
503
|
+
props: Ht(),
|
|
504
504
|
emits: {
|
|
505
505
|
"click:close": (e) => !0,
|
|
506
506
|
"update:modelValue": (e) => !0,
|
|
@@ -527,7 +527,7 @@ const Nt = de({
|
|
|
527
527
|
sizeClasses: y
|
|
528
528
|
} = vt(e), {
|
|
529
529
|
themeClasses: d
|
|
530
|
-
} = We(e), m = pt(e, "modelValue"), v = Ie(e, Ue, !1), p = Ie(e, qe, !1), S = mt(e, n), V = _(() => e.link !== !1 && S.isLink.value), C = I(() => !e.disabled && e.link !== !1 && (!!v || e.link || S.isClickable.value)),
|
|
530
|
+
} = We(e), m = pt(e, "modelValue"), v = Ie(e, Ue, !1), p = Ie(e, qe, !1), S = mt(e, n), V = _(() => e.link !== !1 && S.isLink.value), C = I(() => !e.disabled && e.link !== !1 && (!!v || e.link || S.isClickable.value)), A = _(() => ({
|
|
531
531
|
"aria-label": s(e.closeLabel),
|
|
532
532
|
disabled: e.disabled,
|
|
533
533
|
onClick(h) {
|
|
@@ -539,7 +539,7 @@ const Nt = de({
|
|
|
539
539
|
});
|
|
540
540
|
const {
|
|
541
541
|
colorClasses: Y,
|
|
542
|
-
colorStyles:
|
|
542
|
+
colorStyles: P,
|
|
543
543
|
variantClasses: B
|
|
544
544
|
} = gt(() => ({
|
|
545
545
|
color: !v || v.isSelected.value ? e.color ?? e.baseColor : e.baseColor,
|
|
@@ -552,7 +552,7 @@ const Nt = de({
|
|
|
552
552
|
(h.key === "Enter" || h.key === " ") && (h.preventDefault(), T(h));
|
|
553
553
|
}
|
|
554
554
|
return () => {
|
|
555
|
-
const h = S.isLink.value ? "a" : e.tag,
|
|
555
|
+
const h = S.isLink.value ? "a" : e.tag, L = !!(e.appendIcon || e.appendAvatar), z = !!(L || a.append), J = !!(a.close || e.closable), R = !!(a.filter || e.filter) && v, M = !!(e.prependIcon || e.prependAvatar), E = !!(M || a.prepend);
|
|
556
556
|
return m.value && ye(b(h, ue(S.linkProps, {
|
|
557
557
|
class: ["v-chip", {
|
|
558
558
|
"v-chip--disabled": e.disabled,
|
|
@@ -562,7 +562,7 @@ const Nt = de({
|
|
|
562
562
|
"v-chip--pill": e.pill,
|
|
563
563
|
[`${e.activeClass}`]: e.activeClass && S.isActive?.value
|
|
564
564
|
}, d.value, o.value, Y.value, f.value, i.value, r.value, y.value, B.value, v?.selectedClass.value, e.class],
|
|
565
|
-
style: [
|
|
565
|
+
style: [P.value, e.style],
|
|
566
566
|
disabled: e.disabled || void 0,
|
|
567
567
|
draggable: e.draggable,
|
|
568
568
|
tabindex: C.value ? 0 : void 0,
|
|
@@ -574,7 +574,7 @@ const Nt = de({
|
|
|
574
574
|
}, {
|
|
575
575
|
default: () => [ye(k("div", {
|
|
576
576
|
class: "v-chip__filter"
|
|
577
|
-
}, [a.filter ? b(
|
|
577
|
+
}, [a.filter ? b(N, {
|
|
578
578
|
key: "filter-defaults",
|
|
579
579
|
disabled: !e.filterIcon,
|
|
580
580
|
defaults: {
|
|
@@ -589,9 +589,9 @@ const Nt = de({
|
|
|
589
589
|
}), E && k("div", {
|
|
590
590
|
key: "prepend",
|
|
591
591
|
class: "v-chip__prepend"
|
|
592
|
-
}, [a.prepend ? b(
|
|
592
|
+
}, [a.prepend ? b(N, {
|
|
593
593
|
key: "prepend-defaults",
|
|
594
|
-
disabled: !
|
|
594
|
+
disabled: !M,
|
|
595
595
|
defaults: {
|
|
596
596
|
VAvatar: {
|
|
597
597
|
image: e.prependAvatar,
|
|
@@ -623,9 +623,9 @@ const Nt = de({
|
|
|
623
623
|
}) ?? Ze(e.text)]), z && k("div", {
|
|
624
624
|
key: "append",
|
|
625
625
|
class: "v-chip__append"
|
|
626
|
-
}, [a.append ? b(
|
|
626
|
+
}, [a.append ? b(N, {
|
|
627
627
|
key: "append-defaults",
|
|
628
|
-
disabled: !
|
|
628
|
+
disabled: !L,
|
|
629
629
|
defaults: {
|
|
630
630
|
VAvatar: {
|
|
631
631
|
end: !0,
|
|
@@ -649,7 +649,7 @@ const Nt = de({
|
|
|
649
649
|
class: "v-chip__close",
|
|
650
650
|
type: "button",
|
|
651
651
|
"data-testid": "close-chip"
|
|
652
|
-
},
|
|
652
|
+
}, A.value), [a.close ? b(N, {
|
|
653
653
|
key: "close-defaults",
|
|
654
654
|
defaults: {
|
|
655
655
|
VIcon: {
|
|
@@ -673,14 +673,14 @@ function qt(e, t = Be("injectSelf")) {
|
|
|
673
673
|
}
|
|
674
674
|
const K = Symbol.for("vuetify:defaults");
|
|
675
675
|
function ge() {
|
|
676
|
-
const e =
|
|
676
|
+
const e = Le(K);
|
|
677
677
|
if (!e) throw new Error("[Vuetify] Could not find defaults instance");
|
|
678
678
|
return e;
|
|
679
679
|
}
|
|
680
680
|
function sn(e, t) {
|
|
681
681
|
const n = ge(), l = Et(e), a = q(() => {
|
|
682
|
-
if (
|
|
683
|
-
const o =
|
|
682
|
+
if (H(t?.disabled)) return n.value;
|
|
683
|
+
const o = H(t?.scoped), f = H(t?.reset), i = H(t?.root);
|
|
684
684
|
if (l.value == null && !(o || f || i))
|
|
685
685
|
return n.value;
|
|
686
686
|
let r = F(l.value, {
|
|
@@ -698,10 +698,10 @@ function sn(e, t) {
|
|
|
698
698
|
}
|
|
699
699
|
return r.prev ? F(r.prev, r) : r;
|
|
700
700
|
});
|
|
701
|
-
return
|
|
701
|
+
return Me(K, a), a;
|
|
702
702
|
}
|
|
703
703
|
function Kt(e, t) {
|
|
704
|
-
return e.props && (typeof e.props[t] < "u" || typeof e.props[
|
|
704
|
+
return e.props && (typeof e.props[t] < "u" || typeof e.props[Pt(t)] < "u");
|
|
705
705
|
}
|
|
706
706
|
function Ut(e = {}, t, n = ge()) {
|
|
707
707
|
const l = Be("useDefaults");
|
|
@@ -725,7 +725,7 @@ function Ut(e = {}, t, n = ge()) {
|
|
|
725
725
|
return V !== void 0 ? V : p;
|
|
726
726
|
}
|
|
727
727
|
}), o = _t();
|
|
728
|
-
|
|
728
|
+
At(() => {
|
|
729
729
|
if (a.value) {
|
|
730
730
|
const i = Object.entries(a.value).filter(
|
|
731
731
|
([r]) => r.startsWith(r[0].toUpperCase())
|
|
@@ -736,14 +736,14 @@ function Ut(e = {}, t, n = ge()) {
|
|
|
736
736
|
});
|
|
737
737
|
function f() {
|
|
738
738
|
const i = qt(K, l);
|
|
739
|
-
|
|
739
|
+
Me(
|
|
740
740
|
K,
|
|
741
741
|
q(() => o.value ? F(i?.value ?? {}, o.value) : i?.value)
|
|
742
742
|
);
|
|
743
743
|
}
|
|
744
744
|
return { props: s, provideSubDefaults: f };
|
|
745
745
|
}
|
|
746
|
-
function
|
|
746
|
+
function X(e) {
|
|
747
747
|
if (e._setup = e._setup ?? e.setup, !e.name)
|
|
748
748
|
return je("The component is missing an explicit name, unable to generate default prop value"), e;
|
|
749
749
|
if (e._setup) {
|
|
@@ -763,24 +763,24 @@ function Q(e) {
|
|
|
763
763
|
}
|
|
764
764
|
return e;
|
|
765
765
|
}
|
|
766
|
-
function
|
|
767
|
-
return (t) => (e ?
|
|
766
|
+
function Xt(e = !0) {
|
|
767
|
+
return (t) => (e ? X : xt)(t);
|
|
768
768
|
}
|
|
769
769
|
function on(e, t) {
|
|
770
770
|
return t.props = e, t;
|
|
771
771
|
}
|
|
772
|
-
const
|
|
772
|
+
const Qt = [String, Function, Object, Array], Yt = Symbol.for("vuetify:icons"), Q = U({
|
|
773
773
|
icon: {
|
|
774
|
-
type:
|
|
774
|
+
type: Qt
|
|
775
775
|
},
|
|
776
776
|
// Could not remove this and use makeTagProps, types complained because it is not required
|
|
777
777
|
tag: {
|
|
778
778
|
type: [String, Object, Function],
|
|
779
779
|
required: !0
|
|
780
780
|
}
|
|
781
|
-
}, "icon"), Ee =
|
|
781
|
+
}, "icon"), Ee = Xt()({
|
|
782
782
|
name: "VComponentIcon",
|
|
783
|
-
props:
|
|
783
|
+
props: Q(),
|
|
784
784
|
setup(e, {
|
|
785
785
|
slots: t
|
|
786
786
|
}) {
|
|
@@ -794,10 +794,10 @@ const Xt = [String, Function, Object, Array], Yt = Symbol.for("vuetify:icons"),
|
|
|
794
794
|
});
|
|
795
795
|
};
|
|
796
796
|
}
|
|
797
|
-
}), Zt = /* @__PURE__ */
|
|
797
|
+
}), Zt = /* @__PURE__ */ X({
|
|
798
798
|
name: "VSvgIcon",
|
|
799
799
|
inheritAttrs: !1,
|
|
800
|
-
props:
|
|
800
|
+
props: Q(),
|
|
801
801
|
setup(e, {
|
|
802
802
|
attrs: t
|
|
803
803
|
}) {
|
|
@@ -821,10 +821,10 @@ const Xt = [String, Function, Object, Array], Yt = Symbol.for("vuetify:icons"),
|
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
});
|
|
824
|
-
|
|
825
|
-
|
|
824
|
+
Q();
|
|
825
|
+
Q();
|
|
826
826
|
const rn = (e) => {
|
|
827
|
-
const t =
|
|
827
|
+
const t = Le(Yt);
|
|
828
828
|
if (!t) throw new Error("Missing Vuetify Icons provide!");
|
|
829
829
|
return {
|
|
830
830
|
iconData: q(() => {
|
|
@@ -862,7 +862,7 @@ const rn = (e) => {
|
|
|
862
862
|
"density"
|
|
863
863
|
);
|
|
864
864
|
function cn(e, t = Rt()) {
|
|
865
|
-
return { densityClasses:
|
|
865
|
+
return { densityClasses: Ge(() => `${t}--density-${e.density}`) };
|
|
866
866
|
}
|
|
867
867
|
const fn = U(
|
|
868
868
|
{
|
|
@@ -879,24 +879,24 @@ const fn = U(
|
|
|
879
879
|
"elevation"
|
|
880
880
|
);
|
|
881
881
|
function dn(e) {
|
|
882
|
-
return { elevationClasses:
|
|
882
|
+
return { elevationClasses: Ge(() => {
|
|
883
883
|
const n = $t(e) ? e.value : e.elevation;
|
|
884
884
|
return n == null ? [] : [`elevation-${n}`];
|
|
885
885
|
}) };
|
|
886
886
|
}
|
|
887
887
|
export {
|
|
888
|
-
|
|
888
|
+
Qt as I,
|
|
889
889
|
an as V,
|
|
890
890
|
un as a,
|
|
891
891
|
dn as b,
|
|
892
|
-
|
|
892
|
+
Pe as c,
|
|
893
893
|
Ke as d,
|
|
894
894
|
rn as e,
|
|
895
895
|
on as f,
|
|
896
|
-
|
|
897
|
-
|
|
896
|
+
Xt as g,
|
|
897
|
+
X as h,
|
|
898
898
|
fn as m,
|
|
899
899
|
sn as p,
|
|
900
900
|
cn as u
|
|
901
901
|
};
|
|
902
|
-
//# sourceMappingURL=elevation-
|
|
902
|
+
//# sourceMappingURL=elevation-YNOj0hSa.mjs.map
|