bt-core-app 2.2.6 → 2.2.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/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +10 -11
- package/dist/components/BT-Background-Task.vue.mjs +44 -46
- package/dist/components/BT-Blade-Item.vue.mjs +64 -63
- package/dist/components/BT-Blade-Items.vue.mjs +2 -2
- package/dist/components/BT-Blade-Items.vue2.mjs +239 -238
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +457 -456
- package/dist/components/BT-Blade.vue.mjs +187 -189
- package/dist/components/BT-Camera-Overlay.vue.mjs +139 -141
- package/dist/components/BT-Cron.vue.mjs +127 -126
- package/dist/components/BT-Dialog-Select.vue.mjs +91 -90
- package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
- package/dist/components/BT-Drag-Counter.vue2.mjs +87 -89
- package/dist/components/BT-Entity.vue.mjs +79 -81
- package/dist/components/BT-Error.vue.mjs +23 -25
- package/dist/components/BT-Form-Builder.vue.mjs +221 -220
- package/dist/components/BT-Form-Field.vue.mjs +67 -66
- package/dist/components/BT-Form.vue.mjs +192 -191
- package/dist/components/BT-Header-Option.vue.mjs +21 -20
- package/dist/components/BT-Numpad.vue.mjs +143 -145
- package/dist/components/BT-Select-List-Box.vue.mjs +270 -272
- package/dist/components/BT-Signature-Overlay.vue.mjs +107 -109
- package/dist/components/BT-Signature.vue.mjs +91 -93
- package/dist/components/BT-Slider.vue.mjs +91 -93
- package/dist/components/BT-Square-Check.vue.mjs +66 -68
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as q, computed as
|
|
1
|
+
import { defineComponent as q, computed as p, ref as A, watch as y, onMounted as D, openBlock as n, createBlock as s, unref as t, normalizeStyle as O, withCtx as i, createVNode as d, createElementBlock as b, Fragment as C, renderList as S, renderSlot as v, createTextVNode as W, toDisplayString as z, createCommentVNode as E } from "vue";
|
|
2
2
|
import { useRoute as F } from "vue-router";
|
|
3
3
|
import { VWindow as M } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs";
|
|
4
|
-
import { VWindowItem as
|
|
4
|
+
import { VWindowItem as T } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs";
|
|
5
5
|
import { VList as P } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
|
|
6
6
|
import { VListItem as R } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { VSlideXTransition as U } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
|
|
8
|
+
import { VToolbar as X } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs";
|
|
8
9
|
import { VBtn as j } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
9
10
|
import { VToolbarTitle as G } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs";
|
|
10
11
|
import { VSpacer as I } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs";
|
|
11
|
-
const
|
|
12
|
+
const ae = /* @__PURE__ */ q({
|
|
12
13
|
__name: "BT-Slider",
|
|
13
14
|
props: {
|
|
14
15
|
hideHeader: { type: Boolean },
|
|
@@ -17,118 +18,115 @@ const oe = /* @__PURE__ */ q({
|
|
|
17
18
|
width: {}
|
|
18
19
|
},
|
|
19
20
|
emits: ["update:modelValue"],
|
|
20
|
-
setup(
|
|
21
|
-
const L =
|
|
21
|
+
setup(B, { emit: _ }) {
|
|
22
|
+
const L = _, m = B, r = F(), H = p(() => m.width != null ? `width: ${m.width}px` : ""), a = A([]);
|
|
22
23
|
y(() => r.query, (e) => {
|
|
23
24
|
e.slide != null && k(e.slide);
|
|
24
25
|
});
|
|
25
|
-
const
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
if (typeof
|
|
29
|
-
|
|
26
|
+
const f = p(() => a.value.length > 0 ? a.value[a.value.length - 1] : 0), c = p(() => (m.options ?? []).map((o, l) => {
|
|
27
|
+
var $;
|
|
28
|
+
var u = { value: "", index: l + 1 };
|
|
29
|
+
if (typeof o == "string")
|
|
30
|
+
u.hide = !1, u.title = o, u.value = u.title.replaceAll(" ", "").toLowerCase();
|
|
30
31
|
else {
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
...
|
|
34
|
-
index:
|
|
35
|
-
value:
|
|
32
|
+
var h = o;
|
|
33
|
+
u = {
|
|
34
|
+
...h,
|
|
35
|
+
index: l + 1,
|
|
36
|
+
value: h.value ?? (($ = h.title) == null ? void 0 : $.replaceAll(" ", "").toLowerCase())
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
|
-
return
|
|
39
|
-
})), N =
|
|
39
|
+
return u;
|
|
40
|
+
})), N = p(() => c.value.filter((e) => e.hide !== !0));
|
|
40
41
|
function w() {
|
|
41
42
|
a.value.pop();
|
|
42
43
|
}
|
|
43
44
|
function V(e) {
|
|
44
|
-
e == 0 ? a.value = [e] :
|
|
45
|
+
e == 0 ? a.value = [e] : f.value != e && (a.value.length == 0 && a.value.push(0), a.value.push(e));
|
|
45
46
|
}
|
|
46
47
|
function k(e) {
|
|
47
48
|
if (e == null)
|
|
48
49
|
return;
|
|
49
|
-
const
|
|
50
|
-
|
|
50
|
+
const o = c.value.find((l) => l.value == e);
|
|
51
|
+
o != null && V(o.index);
|
|
51
52
|
}
|
|
52
|
-
return y(
|
|
53
|
+
return y(f, (e) => {
|
|
53
54
|
e != m.modelValue && L("update:modelValue", e);
|
|
54
55
|
}), y(() => m.modelValue, (e) => {
|
|
55
|
-
e != null &&
|
|
56
|
+
e != null && f.value != e && V(e);
|
|
56
57
|
}), D(() => {
|
|
57
58
|
(r == null ? void 0 : r.query.slide) != null && k(r == null ? void 0 : r.query.slide);
|
|
58
|
-
}), (e,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
}), (e, o) => (n(), s(t(M), {
|
|
60
|
+
modelValue: f.value,
|
|
61
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => f.value = l),
|
|
62
|
+
style: O(H.value)
|
|
63
|
+
}, {
|
|
64
|
+
default: i(() => [
|
|
65
|
+
d(t(T), null, {
|
|
66
|
+
default: i(() => [
|
|
67
|
+
d(t(P), null, {
|
|
68
|
+
default: i(() => [
|
|
69
|
+
(n(!0), b(C, null, S(N.value, (l) => (n(), s(t(R), {
|
|
70
|
+
"append-icon": "$arrow-right",
|
|
71
|
+
onClick: (u) => V(l.index),
|
|
72
|
+
disabled: l.disabled,
|
|
73
|
+
key: l.value ?? l.title,
|
|
74
|
+
title: l.title
|
|
75
|
+
}, null, 8, ["onClick", "disabled", "title"]))), 128))
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
})
|
|
79
|
+
]),
|
|
80
|
+
_: 1
|
|
81
|
+
}),
|
|
82
|
+
(n(!0), b(C, null, S(c.value, (l) => (n(), s(t(T), {
|
|
83
|
+
key: l.value ?? l.title,
|
|
84
|
+
value: l.index
|
|
85
|
+
}, {
|
|
86
|
+
default: i(() => [
|
|
87
|
+
v(e.$slots, `${l.value}-top`, {}, () => [
|
|
88
|
+
d(t(U), { "hide-on-leave": "" }, {
|
|
69
89
|
default: i(() => [
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
90
|
+
!e.hideHeader && !l.hideHeader ? (n(), s(t(X), {
|
|
91
|
+
key: 0,
|
|
92
|
+
density: "compact",
|
|
93
|
+
flat: "",
|
|
94
|
+
tile: ""
|
|
95
|
+
}, {
|
|
96
|
+
default: i(() => [
|
|
97
|
+
v(e.$slots, `${l.value}-toolbar`, {
|
|
98
|
+
back: () => w(),
|
|
99
|
+
title: l.title
|
|
100
|
+
}, () => [
|
|
101
|
+
d(t(j), {
|
|
102
|
+
icon: "$arrow-left",
|
|
103
|
+
onClick: w
|
|
104
|
+
}),
|
|
105
|
+
d(t(G), null, {
|
|
106
|
+
default: i(() => [
|
|
107
|
+
W(z(l.title), 1)
|
|
108
|
+
]),
|
|
109
|
+
_: 2
|
|
110
|
+
}, 1024),
|
|
111
|
+
d(t(I)),
|
|
112
|
+
v(e.$slots, `${l.value}-toolbar-right`)
|
|
113
|
+
])
|
|
114
|
+
]),
|
|
115
|
+
_: 2
|
|
116
|
+
}, 1024)) : E("", !0)
|
|
77
117
|
]),
|
|
78
|
-
_:
|
|
79
|
-
})
|
|
80
|
-
]),
|
|
81
|
-
_: 1
|
|
82
|
-
}),
|
|
83
|
-
(n(!0), $(C, null, b(h.value, (l) => (n(), v(o(B), {
|
|
84
|
-
key: l.value ?? l.title,
|
|
85
|
-
value: l.index
|
|
86
|
-
}, {
|
|
87
|
-
default: i(() => [
|
|
88
|
-
c(e.$slots, `${l.value}-top`, {}, () => [
|
|
89
|
-
d(u, { "hide-on-leave": "" }, {
|
|
90
|
-
default: i(() => [
|
|
91
|
-
!e.hideHeader && !l.hideHeader ? (n(), v(o(U), {
|
|
92
|
-
key: 0,
|
|
93
|
-
density: "compact",
|
|
94
|
-
flat: "",
|
|
95
|
-
tile: ""
|
|
96
|
-
}, {
|
|
97
|
-
default: i(() => [
|
|
98
|
-
c(e.$slots, `${l.value}-toolbar`, {
|
|
99
|
-
back: () => w(),
|
|
100
|
-
title: l.title
|
|
101
|
-
}, () => [
|
|
102
|
-
d(o(j), {
|
|
103
|
-
icon: "$arrow-left",
|
|
104
|
-
onClick: w
|
|
105
|
-
}),
|
|
106
|
-
d(o(G), null, {
|
|
107
|
-
default: i(() => [
|
|
108
|
-
x(z(l.title), 1)
|
|
109
|
-
]),
|
|
110
|
-
_: 2
|
|
111
|
-
}, 1024),
|
|
112
|
-
d(o(I)),
|
|
113
|
-
c(e.$slots, `${l.value}-toolbar-right`)
|
|
114
|
-
])
|
|
115
|
-
]),
|
|
116
|
-
_: 2
|
|
117
|
-
}, 1024)) : E("", !0)
|
|
118
|
-
]),
|
|
119
|
-
_: 2
|
|
120
|
-
}, 1024)
|
|
121
|
-
]),
|
|
122
|
-
c(e.$slots, l.value)
|
|
118
|
+
_: 2
|
|
119
|
+
}, 1024)
|
|
123
120
|
]),
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
121
|
+
v(e.$slots, l.value)
|
|
122
|
+
]),
|
|
123
|
+
_: 2
|
|
124
|
+
}, 1032, ["value"]))), 128))
|
|
125
|
+
]),
|
|
126
|
+
_: 3
|
|
127
|
+
}, 8, ["modelValue", "style"]));
|
|
130
128
|
}
|
|
131
129
|
});
|
|
132
130
|
export {
|
|
133
|
-
|
|
131
|
+
ae as default
|
|
134
132
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { VCard as
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { defineComponent as I, computed as o, inject as z, ref as C, openBlock as a, createBlock as r, unref as s, withModifiers as B, withCtx as i, renderSlot as T, createVNode as f, createElementBlock as d, toDisplayString as n, normalizeClass as c, createTextVNode as p } from "vue";
|
|
2
|
+
import { VCard as L } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
3
|
+
import { VSlideXTransition as w, VSlideYReverseTransition as E } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
|
|
4
|
+
import { VIcon as g } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
|
|
5
|
+
const $ = { key: "1" }, j = { key: "2" }, N = { key: "3" }, Y = /* @__PURE__ */ I({
|
|
5
6
|
__name: "BT-Square-Check",
|
|
6
7
|
props: {
|
|
7
8
|
disabled: { type: Boolean },
|
|
@@ -23,78 +24,75 @@ const $ = { key: "1" }, j = { key: "2" }, N = { key: "3" }, F = /* @__PURE__ */
|
|
|
23
24
|
width: { default: "100" }
|
|
24
25
|
},
|
|
25
26
|
emits: ["update:modelValue"],
|
|
26
|
-
setup(
|
|
27
|
-
const l =
|
|
27
|
+
setup(m, { emit: h }) {
|
|
28
|
+
const l = m, b = h, u = o({
|
|
28
29
|
get() {
|
|
29
30
|
return l.modelValue;
|
|
30
31
|
},
|
|
31
32
|
set(e) {
|
|
32
33
|
b("update:modelValue", e);
|
|
33
34
|
}
|
|
34
|
-
}),
|
|
35
|
-
function
|
|
36
|
-
l.onToggle != null ? l.onToggle() :
|
|
35
|
+
}), v = z("isEditing", () => C(!1), !0), V = o(() => l.isEditing ?? v.value), t = o(() => u.value === l.trueValue), y = o(() => t.value ? l.trueLabel : l.falseLabel), S = o(() => t.value ? l.trueIcon : l.falseIcon);
|
|
36
|
+
function k() {
|
|
37
|
+
l.onToggle != null ? l.onToggle() : u.value = u.value == l.falseValue ? l.trueValue : l.falseValue;
|
|
37
38
|
}
|
|
38
|
-
return (e, q) => {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
_: 3
|
|
94
|
-
}, 8, ["disabled", "height", "ripple", "width"]);
|
|
95
|
-
};
|
|
39
|
+
return (e, q) => (a(), r(s(L), {
|
|
40
|
+
onClick: B(k, ["stop"]),
|
|
41
|
+
disabled: e.disabled || !V.value,
|
|
42
|
+
class: "d-flex flex-column align-center justify-center",
|
|
43
|
+
height: e.height,
|
|
44
|
+
ripple: e.ripple,
|
|
45
|
+
width: e.width
|
|
46
|
+
}, {
|
|
47
|
+
default: i(() => [
|
|
48
|
+
T(e.$slots, "content", {
|
|
49
|
+
icon: S.value,
|
|
50
|
+
isTrue: t.value,
|
|
51
|
+
label: y.value,
|
|
52
|
+
iconSize: e.iconSize
|
|
53
|
+
}, () => [
|
|
54
|
+
f(s(w), {
|
|
55
|
+
group: "",
|
|
56
|
+
"hide-on-leave": ""
|
|
57
|
+
}, {
|
|
58
|
+
default: i(() => [
|
|
59
|
+
e.label != null ? (a(), d("p", $, n(e.label), 1)) : t.value ? (a(), d("p", j, n(e.trueLabel), 1)) : (a(), d("p", N, n(e.falseLabel), 1))
|
|
60
|
+
]),
|
|
61
|
+
_: 1
|
|
62
|
+
}),
|
|
63
|
+
f(s(E), {
|
|
64
|
+
group: "",
|
|
65
|
+
"hide-on-leave": ""
|
|
66
|
+
}, {
|
|
67
|
+
default: i(() => [
|
|
68
|
+
t.value ? (a(), r(s(g), {
|
|
69
|
+
size: e.iconSize,
|
|
70
|
+
class: c(e.disabled ? "" : e.trueClass),
|
|
71
|
+
key: "3"
|
|
72
|
+
}, {
|
|
73
|
+
default: i(() => [
|
|
74
|
+
p(n(e.trueIcon), 1)
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["size", "class"])) : (a(), r(s(g), {
|
|
78
|
+
size: e.iconSize,
|
|
79
|
+
class: c(e.disabled ? "" : e.falseClass),
|
|
80
|
+
key: "4"
|
|
81
|
+
}, {
|
|
82
|
+
default: i(() => [
|
|
83
|
+
p(n(e.falseIcon), 1)
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 8, ["size", "class"]))
|
|
87
|
+
]),
|
|
88
|
+
_: 1
|
|
89
|
+
})
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 3
|
|
93
|
+
}, 8, ["disabled", "height", "ripple", "width"]));
|
|
96
94
|
}
|
|
97
95
|
});
|
|
98
96
|
export {
|
|
99
|
-
|
|
97
|
+
Y as default
|
|
100
98
|
};
|