bitboss-ui 2.0.171 → 2.0.172
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/components/BaseColorInput/BaseColorInput.vue.d.ts +95 -5
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +2 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +12 -6
- package/dist/components/BbPopover/BbPopover.vue.d.ts +12 -6
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +12 -6
- package/dist/components/CommonPopover.vue.d.ts +5 -4
- package/dist/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index129.js +2 -2
- package/dist/index13.js +1 -1
- package/dist/index131.js +3 -3
- package/dist/index133.js +1 -1
- package/dist/index139.js +2 -2
- package/dist/index15.js +129 -142
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index209.js +10 -2
- package/dist/index21.js +16 -16
- package/dist/index210.js +3 -4
- package/dist/index211.js +13 -2
- package/dist/index212.js +33 -17
- package/dist/index213.js +13 -128
- package/dist/index214.js +59 -99
- package/dist/index216.js +2 -100
- package/dist/index217.js +6 -0
- package/dist/index218.js +2 -66
- package/dist/index219.js +4 -0
- package/dist/index220.js +40 -12
- package/dist/index222.js +7 -15
- package/dist/index223.js +15 -29
- package/dist/index224.js +5 -16
- package/dist/index225.js +9 -12
- package/dist/index226.js +5 -51
- package/dist/index227.js +5 -17
- package/dist/index228.js +5 -15
- package/dist/index229.js +5 -3
- package/dist/index23.js +136 -159
- package/dist/index230.js +5 -12
- package/dist/index231.js +2 -13
- package/dist/index232.js +2 -2
- package/dist/index233.js +11 -228
- package/dist/index234.js +17 -365
- package/dist/index235.js +105 -2
- package/dist/index237.js +86 -5
- package/dist/index239.js +29 -5
- package/dist/index240.js +17 -5
- package/dist/index241.js +51 -5
- package/dist/index242.js +15 -5
- package/dist/index243.js +3 -8
- package/dist/index244.js +12 -250
- package/dist/index245.js +16 -52
- package/dist/index246.js +4 -44
- package/dist/index247.js +200 -5
- package/dist/index249.js +18 -5
- package/dist/index25.js +4 -4
- package/dist/index250.js +12 -2
- package/dist/index251.js +106 -41
- package/dist/index253.js +94 -88
- package/dist/index255.js +228 -9
- package/dist/index256.js +2 -4
- package/dist/index257.js +174 -197
- package/dist/index258.js +5 -0
- package/dist/index259.js +2 -7
- package/dist/index260.js +5 -86
- package/dist/index261.js +7 -0
- package/dist/index262.js +6 -32
- package/dist/index263.js +250 -2
- package/dist/index264.js +52 -2
- package/dist/index265.js +44 -3
- package/dist/index266.js +5 -177
- package/dist/index267.js +60 -10
- package/dist/index268.js +8 -2
- package/dist/index269.js +23 -6
- package/dist/index27.js +1 -1
- package/dist/index270.js +6 -16
- package/dist/index271.js +15 -10
- package/dist/index272.js +3 -101
- package/dist/index273.js +11 -0
- package/dist/index274.js +8 -3
- package/dist/index275.js +2 -9
- package/dist/index276.js +67 -23
- package/dist/index277.js +5 -2
- package/dist/index278.js +8 -9
- package/dist/index279.js +5 -8
- package/dist/index280.js +7 -5
- package/dist/index281.js +11 -67
- package/dist/index282.js +2 -5
- package/dist/index284.js +6 -3
- package/dist/index285.js +3 -4
- package/dist/index286.js +4 -129
- package/dist/index287.js +1 -1
- package/dist/index288.js +17 -3
- package/dist/index289.js +28 -3
- package/dist/index29.js +2 -2
- package/dist/index290.js +6 -0
- package/dist/index291.js +469 -5
- package/dist/index292.js +1 -1
- package/dist/index293.js +3 -2
- package/dist/index294.js +3 -17
- package/dist/index295.js +279 -27
- package/dist/index296.js +2 -7
- package/dist/index297.js +124 -10
- package/dist/index298.js +2 -280
- package/dist/index299.js +15 -2
- package/dist/index300.js +2 -16
- package/dist/index301.js +16 -2
- package/dist/index302.js +2 -16
- package/dist/index303.js +16 -2
- package/dist/index304.js +2 -19
- package/dist/index305.js +19 -2
- package/dist/index306.js +2 -15
- package/dist/index307.js +200 -2
- package/dist/index308.js +5 -18
- package/dist/index309.js +3 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +3 -27
- package/dist/index311.js +2 -2
- package/dist/index312.js +5 -2
- package/dist/index313.js +19 -2
- package/dist/index314.js +2 -2
- package/dist/index315.js +27 -2
- package/dist/index316.js +2 -22
- package/dist/index317.js +4 -0
- package/dist/index318.js +2 -125
- package/dist/index319.js +2 -2
- package/dist/index320.js +2 -471
- package/dist/index321.js +22 -3
- package/dist/index323.js +5 -382
- package/dist/index324.js +700 -125
- package/dist/index325.js +354 -2
- package/dist/index326.js +58 -3
- package/dist/index327.js +2 -6
- package/dist/index328.js +56 -198
- package/dist/index329.js +58 -5
- package/dist/index33.js +8 -8
- package/dist/index330.js +31 -699
- package/dist/index331.js +28 -354
- package/dist/index333.js +47 -3
- package/dist/index334.js +7 -5
- package/dist/index335.js +7 -46
- package/dist/index336.js +6 -2
- package/dist/index337.js +7 -32
- package/dist/index338.js +7 -28
- package/dist/index339.js +21 -0
- package/dist/index340.js +227 -57
- package/dist/index341.js +127 -57
- package/dist/index342.js +367 -6
- package/dist/index343.js +92 -7
- package/dist/index345.js +3 -8
- package/dist/index346.js +482 -5
- package/dist/index347.js +46 -6
- package/dist/index348.js +127 -17
- package/dist/index349.js +377 -223
- package/dist/index35.js +4 -4
- package/dist/index350.js +124 -91
- package/dist/index37.js +230 -240
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index79.js +4 -4
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index87.js +1 -1
- package/dist/index90.js +4 -4
- package/dist/index92.js +2 -2
- package/dist/index94.js +3 -3
- package/package.json +1 -1
- package/dist/components/CommonFloating.vue.d.ts +0 -38
- package/dist/index236.js +0 -7
- package/dist/index238.js +0 -7
- package/dist/index248.js +0 -62
- package/dist/index252.js +0 -22
- package/dist/index283.js +0 -10
- package/dist/index322.js +0 -5
- package/dist/index332.js +0 -60
- package/dist/index344.js +0 -8
- package/dist/index351.js +0 -484
- package/dist/index353.js +0 -5
- package/dist/index354.js +0 -49
- package/dist/index355.js +0 -483
- package/dist/index356.js +0 -4
package/dist/index23.js
CHANGED
@@ -1,31 +1,29 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
import
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
import {
|
1
|
+
import { defineComponent as J, watchEffect as K, ref as n, computed as y, watch as Q, createBlock as X, openBlock as w, normalizeClass as S, withCtx as l, createVNode as h, unref as r, withDirectives as x, createElementVNode as d, createElementBlock as ee, createCommentVNode as te, mergeProps as B, withModifiers as ae, toDisplayString as E, renderSlot as p } from "vue";
|
2
|
+
import { _config as oe } from "./index4.js";
|
3
|
+
import o from "./index224.js";
|
4
|
+
import { debounce as re } from "./index225.js";
|
5
|
+
import ne from "./index226.js";
|
6
|
+
import le from "./index227.js";
|
7
|
+
import ie from "./index228.js";
|
8
|
+
import se from "./index229.js";
|
9
|
+
import de from "./index230.js";
|
10
|
+
import { identity as ue } from "./index219.js";
|
11
|
+
import { isEmpty as ce } from "./index231.js";
|
12
|
+
import { last as pe } from "./index232.js";
|
13
|
+
import { useId as me } from "./index8.js";
|
14
|
+
import { useIntersectionObserver as fe } from "./index137.js";
|
15
|
+
import { useLocale as be } from "./index211.js";
|
14
16
|
import { useMobile as ke } from "./index9.js";
|
15
|
-
import {
|
16
|
-
import {
|
17
|
-
import
|
18
|
-
import De from "./index21.js";
|
17
|
+
import { useUntil as ge } from "./index233.js";
|
18
|
+
import { vMaska as ye } from "./index234.js";
|
19
|
+
import ve from "./index21.js";
|
19
20
|
/* empty css */
|
20
|
-
import
|
21
|
+
import Ve from "./index214.js";
|
21
22
|
/* empty css */
|
22
|
-
import
|
23
|
+
import he from "./index213.js";
|
24
|
+
import Me from "./index235.js";
|
23
25
|
/* empty css */
|
24
|
-
|
25
|
-
import { _config as Ce } from "./index4.js";
|
26
|
-
import { isEmpty as Ye } from "./index232.js";
|
27
|
-
import { debounce as Se } from "./index255.js";
|
28
|
-
const Ie = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], Be = ["aria-label", "disabled"], Oe = ["id"], $e = ["inert"], nt = /* @__PURE__ */ ee({
|
26
|
+
const De = ["inert"], Ce = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], Ye = ["aria-label", "disabled"], we = ["id"], Xe = /* @__PURE__ */ J({
|
29
27
|
__name: "BaseDatePickerInput",
|
30
28
|
props: {
|
31
29
|
allowWriting: { type: [Boolean, String], default: !0 },
|
@@ -52,93 +50,73 @@ const Ie = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
|
|
52
50
|
teleportTarget: {}
|
53
51
|
},
|
54
52
|
emits: ["active", "error", "focus", "inactive", "update:modelValue"],
|
55
|
-
setup(
|
56
|
-
const
|
57
|
-
o.extend(
|
58
|
-
o.locale(
|
53
|
+
setup(I, { emit: $ }) {
|
54
|
+
const L = { it: de, en: le };
|
55
|
+
o.extend(ne), o.extend(ie), o.extend(se), K(() => {
|
56
|
+
o.locale(L[oe.locale]);
|
59
57
|
});
|
60
|
-
const t =
|
61
|
-
() => t.allowWriting === "not-mobile" &&
|
62
|
-
)
|
63
|
-
|
58
|
+
const t = I, i = $, { t: u } = be(), M = n(null), v = n(null), m = n(null), _ = n(null), f = n(null), D = n(), b = t.id || `bdpi-${me().id.value}`, { isMobile: O } = ke(), P = y(
|
59
|
+
() => t.allowWriting === "not-mobile" && O.value ? "none" : "numeric"
|
60
|
+
);
|
61
|
+
fe(
|
64
62
|
// @ts-expect-error wrong inferred type
|
65
|
-
|
66
|
-
|
67
|
-
|
63
|
+
m,
|
64
|
+
re(() => {
|
65
|
+
s.value && (m.value && m.value.$el.querySelector(
|
68
66
|
".bb-base-date-picker-input__calendar-btn"
|
69
|
-
).focus({ preventScroll: !0 }),
|
67
|
+
).focus({ preventScroll: !0 }), V());
|
70
68
|
}, 100),
|
71
69
|
{ threshold: [0, 1] }
|
72
70
|
);
|
73
|
-
const
|
71
|
+
const F = y(() => ({
|
74
72
|
"bb-base-date-picker-input": !0,
|
75
|
-
"bb-base-date-picker-input--active":
|
73
|
+
"bb-base-date-picker-input--active": k.value,
|
76
74
|
"bb-base-date-picker-input--errors": t.hasErrors,
|
77
75
|
"bb-base-date-picker-input--loading": t.loading,
|
78
76
|
"bb-base-date-picker-input--readonly": t.readonly,
|
79
77
|
"bb-base-date-picker-input--disabled": t.disabled,
|
80
78
|
"bb-base-date-picker-input--compact": t.compact
|
81
|
-
})),
|
79
|
+
})), j = {
|
82
80
|
onInput: (e) => {
|
83
81
|
if (!t.range && e.target instanceof HTMLInputElement)
|
84
|
-
if (
|
82
|
+
if (f.value = e.target.value, /\d{2}\/\d{2}\/\d{4}/.test(e.target.value)) {
|
85
83
|
const a = o(e.target.value, "DD/MM/YYYY");
|
86
|
-
|
87
|
-
} else e.target.value === "" &&
|
84
|
+
z(a) ? (e.target.value = "", i("update:modelValue", null), i("error", "invalid_date_typed")) : i("update:modelValue", a.toISOString());
|
85
|
+
} else e.target.value === "" && i("update:modelValue", null);
|
88
86
|
}
|
89
|
-
},
|
90
|
-
|
91
|
-
},
|
87
|
+
}, k = n(!1), A = () => {
|
88
|
+
k.value || (i("active"), k.value = !0, document.addEventListener("focusin", g), document.addEventListener("click", g));
|
89
|
+
}, g = (e) => {
|
92
90
|
var a, c;
|
93
|
-
|
94
|
-
},
|
91
|
+
e.target instanceof HTMLElement && (a = v.value) != null && a.$el && !v.value.$el.contains(e.target) && !((c = M.value) != null && c.contains(e.target)) && (k.value = !1, i("inactive"), document.removeEventListener("focusin", g), document.removeEventListener("click", g));
|
92
|
+
}, C = (e) => {
|
95
93
|
if (e)
|
96
94
|
if (Array.isArray(e)) {
|
97
95
|
let a, c;
|
98
|
-
return e.length && (a = e[0]), e.length > 1 && (c = pe(e)), [a, c].filter(
|
96
|
+
return e.length && (a = e[0]), e.length > 1 && (c = pe(e)), [a, c].filter(ue).map((G) => o(G).format("DD/MM/YYYY")).join(" - ");
|
99
97
|
} else
|
100
98
|
return o(e).format("DD/MM/YYYY");
|
101
99
|
return null;
|
102
|
-
},
|
103
|
-
|
100
|
+
}, H = y(() => f.value ? f.value : C(t.modelValue));
|
101
|
+
Q(
|
104
102
|
() => t.modelValue,
|
105
103
|
(e) => {
|
106
|
-
|
104
|
+
f.value = C(e);
|
107
105
|
}
|
108
106
|
);
|
109
|
-
const
|
110
|
-
|
111
|
-
|
107
|
+
const s = n(!1), W = ge(s), Y = (e) => {
|
108
|
+
const a = e.target;
|
109
|
+
a && a instanceof HTMLDialogElement && V();
|
110
|
+
}, q = async () => {
|
111
|
+
t.disabled || t.readonly || (s.value = !0, document.addEventListener("click", Y, { passive: !0 }));
|
112
|
+
}, V = async () => {
|
112
113
|
var e;
|
113
|
-
|
114
|
-
},
|
115
|
-
b.value || (S.value = !0, await he(() => !!m.value), await z(), Z());
|
116
|
-
}, b = r(!1), { activate: Z, deactivate: I } = me(m, {
|
117
|
-
onActivate: () => b.value = !0,
|
118
|
-
// On post activation focus on current date
|
119
|
-
onPostActivate: () => {
|
120
|
-
var e;
|
121
|
-
(e = m.value.querySelector(
|
122
|
-
".bb-base-date-picker-date--current button"
|
123
|
-
)) == null || e.focus();
|
124
|
-
},
|
125
|
-
onPostDeactivate: async () => {
|
126
|
-
await ye(200), b.value = !1;
|
127
|
-
},
|
128
|
-
/* On esc deactivate the trap, return focus and then close the modal */
|
129
|
-
escapeDeactivates: () => (w.value = !1, h(), !0),
|
130
|
-
clickOutsideDeactivates: () => (w.value = !1, h(), !0),
|
131
|
-
allowOutsideClick: !0,
|
132
|
-
preventScroll: !0
|
133
|
-
}), w = r(!t.allowWriting || t.range), G = (e) => t.range && Array.isArray(e) && e.length === 2 || !t.range && !!e, J = {
|
114
|
+
s.value = !1, (e = D.value) == null || e.resetStatus(), document.removeEventListener("click", Y);
|
115
|
+
}, R = n(!t.allowWriting || t.range), T = (e) => t.range && Array.isArray(e) && e.length === 2 || !t.range && !!e, N = {
|
134
116
|
"onUpdate:modelValue": (e) => {
|
135
|
-
|
136
|
-
onPostDeactivate: () => {
|
137
|
-
b.value = !1, h();
|
138
|
-
}
|
139
|
-
}));
|
117
|
+
i("update:modelValue", e), T(e) && (R.value = !1, V());
|
140
118
|
}
|
141
|
-
},
|
119
|
+
}, U = y(() => {
|
142
120
|
if (t.range) {
|
143
121
|
if (!t.modelValue || t.modelValue.length < 2)
|
144
122
|
return u("baseDatePickerInput.emptyRange").value;
|
@@ -150,152 +128,151 @@ const Ie = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska",
|
|
150
128
|
return u("baseDatePickerInput.changeSelection", e).value;
|
151
129
|
}
|
152
130
|
return u("baseDatePickerInput.emptySelection").value;
|
153
|
-
}),
|
131
|
+
}), z = (e) => {
|
154
132
|
let a = !0;
|
155
133
|
return t.min && a && (a = e.isSameOrAfter(o(t.min).startOf("day"))), t.max && a && (a = e.isSameOrBefore(o(t.max).startOf("day"))), typeof t.selectable == "function" && a && (a = t.selectable(e.toDate())), !a;
|
156
|
-
},
|
134
|
+
}, Z = () => {
|
157
135
|
let e = null;
|
158
|
-
t.range && (e = []),
|
136
|
+
t.range && (e = []), i("update:modelValue", e);
|
159
137
|
};
|
160
|
-
return (e, a) => (
|
138
|
+
return (e, a) => (w(), X(he, {
|
161
139
|
ref_key: "outerContainer",
|
162
|
-
ref:
|
163
|
-
class:
|
164
|
-
onFocusin:
|
140
|
+
ref: v,
|
141
|
+
class: S(F.value),
|
142
|
+
onFocusin: A
|
165
143
|
}, {
|
166
|
-
"prepend-outer":
|
144
|
+
"prepend-outer": l(() => [
|
167
145
|
p(e.$slots, "prepend-outer")
|
168
146
|
]),
|
169
|
-
"append-outer":
|
147
|
+
"append-outer": l(() => [
|
170
148
|
p(e.$slots, "append-outer")
|
171
149
|
]),
|
172
|
-
default:
|
173
|
-
|
150
|
+
default: l(() => [
|
151
|
+
h(Ve, {
|
174
152
|
ref_key: "innerContainer",
|
175
|
-
ref:
|
153
|
+
ref: m,
|
176
154
|
"append:icon": t["append:icon"],
|
177
|
-
clearable: t.clearable && !
|
155
|
+
clearable: t.clearable && !r(ce)(e.modelValue),
|
178
156
|
"prepend:icon": t["prepend:icon"],
|
179
|
-
"onClick:clear":
|
157
|
+
"onClick:clear": Z
|
180
158
|
}, {
|
181
|
-
prepend:
|
159
|
+
prepend: l(() => [
|
182
160
|
p(e.$slots, "prepend")
|
183
161
|
]),
|
184
|
-
prefix:
|
162
|
+
prefix: l(() => [
|
185
163
|
p(e.$slots, "prefix")
|
186
164
|
]),
|
187
|
-
append:
|
165
|
+
append: l(() => [
|
188
166
|
p(e.$slots, "append")
|
189
167
|
]),
|
190
|
-
suffix:
|
168
|
+
suffix: l(() => [
|
191
169
|
p(e.$slots, "suffix")
|
192
170
|
]),
|
193
|
-
default:
|
194
|
-
|
195
|
-
|
171
|
+
default: l(() => [
|
172
|
+
h(Me, {
|
173
|
+
modelValue: s.value,
|
174
|
+
"onUpdate:modelValue": a[0] || (a[0] = (c) => s.value = c),
|
175
|
+
block: !0,
|
176
|
+
dialog: "",
|
177
|
+
offset: 4
|
178
|
+
}, {
|
179
|
+
default: l(() => [
|
180
|
+
r(W) ? (w(), ee("div", {
|
181
|
+
key: 0,
|
182
|
+
ref_key: "calendar",
|
183
|
+
ref: M,
|
184
|
+
class: S(["bb-base-date-picker-input__calendar", {
|
185
|
+
"bb-base-date-picker-input__calendar--shown": s.value
|
186
|
+
}]),
|
187
|
+
inert: !s.value
|
188
|
+
}, [
|
189
|
+
h(ve, B({ id: r(b) }, N, {
|
190
|
+
ref_key: "basedatepicker",
|
191
|
+
ref: D,
|
192
|
+
disabled: e.disabled,
|
193
|
+
"first-day-of-week": e.firstDayOfWeek,
|
194
|
+
max: e.max,
|
195
|
+
min: e.min,
|
196
|
+
"model-value": e.modelValue,
|
197
|
+
range: e.range,
|
198
|
+
readonly: e.readonly,
|
199
|
+
selectable: e.selectable
|
200
|
+
}), null, 16, ["id", "disabled", "first-day-of-week", "max", "min", "model-value", "range", "readonly", "selectable"])
|
201
|
+
], 10, De)) : te("", !0)
|
202
|
+
]),
|
203
|
+
_: 1
|
204
|
+
}, 8, ["modelValue"]),
|
205
|
+
x(d("input", B({
|
206
|
+
id: r(b),
|
196
207
|
ref_key: "input",
|
197
|
-
ref:
|
198
|
-
"aria-describedby": `bdpi-description_${
|
208
|
+
ref: _,
|
209
|
+
"aria-describedby": `bdpi-description_${r(b)}`,
|
199
210
|
autocomplete: e.autocomplete,
|
200
211
|
autofocus: e.autofocus,
|
201
212
|
"data-maska": t.range ? "##/##/#### - ##/##/####" : "##/##/####",
|
202
213
|
disabled: e.disabled,
|
203
|
-
inputmode:
|
214
|
+
inputmode: P.value,
|
204
215
|
name: e.name,
|
205
216
|
placeholder: e.placeholder,
|
206
217
|
readonly: e.readonly || e.range || !e.allowWriting,
|
207
218
|
required: e.required
|
208
|
-
},
|
219
|
+
}, j, {
|
209
220
|
size: "1",
|
210
221
|
type: "text",
|
211
|
-
value:
|
212
|
-
}), null, 16,
|
213
|
-
[
|
222
|
+
value: H.value
|
223
|
+
}), null, 16, Ce), [
|
224
|
+
[r(ye)]
|
214
225
|
]),
|
215
|
-
|
216
|
-
"aria-label":
|
226
|
+
d("button", {
|
227
|
+
"aria-label": U.value,
|
217
228
|
class: "bb-base-date-picker-input__calendar-btn",
|
218
|
-
disabled: e.disabled || e.readonly
|
229
|
+
disabled: e.disabled || e.readonly,
|
219
230
|
type: "button",
|
220
|
-
onClick:
|
221
|
-
}, a[
|
222
|
-
|
231
|
+
onClick: ae(q, ["stop"])
|
232
|
+
}, a[1] || (a[1] = [
|
233
|
+
d("svg", {
|
223
234
|
fill: "none",
|
224
235
|
viewBox: "0 0 16 16",
|
225
236
|
xmlns: "http://www.w3.org/2000/svg"
|
226
237
|
}, [
|
227
|
-
|
238
|
+
d("path", {
|
228
239
|
d: "M12.6667 2.66667H3.33333C2.59695 2.66667 2 3.26363 2 4.00001V13.3333C2 14.0697 2.59695 14.6667 3.33333 14.6667H12.6667C13.403 14.6667 14 14.0697 14 13.3333V4.00001C14 3.26363 13.403 2.66667 12.6667 2.66667Z",
|
229
240
|
stroke: "currentColor",
|
230
241
|
"stroke-linecap": "round",
|
231
242
|
"stroke-linejoin": "round"
|
232
243
|
}),
|
233
|
-
|
244
|
+
d("path", {
|
234
245
|
d: "M10.6667 1.33333V3.99999",
|
235
246
|
stroke: "currentColor",
|
236
247
|
"stroke-linecap": "round",
|
237
248
|
"stroke-linejoin": "round"
|
238
249
|
}),
|
239
|
-
|
250
|
+
d("path", {
|
240
251
|
d: "M5.33333 1.33333V3.99999",
|
241
252
|
stroke: "currentColor",
|
242
253
|
"stroke-linecap": "round",
|
243
254
|
"stroke-linejoin": "round"
|
244
255
|
}),
|
245
|
-
|
256
|
+
d("path", {
|
246
257
|
d: "M2 6.66667H14",
|
247
258
|
stroke: "currentColor",
|
248
259
|
"stroke-linecap": "round",
|
249
260
|
"stroke-linejoin": "round"
|
250
261
|
})
|
251
262
|
], -1)
|
252
|
-
]), 8,
|
253
|
-
|
254
|
-
id: `bdpi-description_${
|
263
|
+
]), 8, Ye),
|
264
|
+
d("span", {
|
265
|
+
id: `bdpi-description_${r(b)}`,
|
255
266
|
class: "bb-base-date-picker-input__accessible-description sr-only"
|
256
|
-
}, E(
|
267
|
+
}, E(r(u)("baseDatePickerInput.dateFormat")) + " " + E(t.range ? r(u)("baseDatePickerInput.dateFormatRange") : r(u)("baseDatePickerInput.dateFormatSingle")), 9, we)
|
257
268
|
]),
|
258
269
|
_: 3
|
259
|
-
}, 8, ["append:icon", "clearable", "prepend:icon"])
|
260
|
-
S.value ? (O(), B(Me, {
|
261
|
-
key: 0,
|
262
|
-
"base-class": "bb-base-date-picker-input",
|
263
|
-
offset: 4,
|
264
|
-
open: d.value,
|
265
|
-
"teleport-target": e.teleportTarget,
|
266
|
-
"transition-duration": 300,
|
267
|
-
wrapper: f.value
|
268
|
-
}, {
|
269
|
-
default: n(() => [
|
270
|
-
i("div", {
|
271
|
-
ref_key: "calendar",
|
272
|
-
ref: m,
|
273
|
-
class: $(["bb-base-date-picker-input__calendar", {
|
274
|
-
"bb-base-date-picker-input__calendar--shown": d.value
|
275
|
-
}]),
|
276
|
-
inert: !d.value
|
277
|
-
}, [
|
278
|
-
_(De, P({ id: l(k) }, J, {
|
279
|
-
ref_key: "basedatepicker",
|
280
|
-
ref: C,
|
281
|
-
disabled: e.disabled,
|
282
|
-
"first-day-of-week": e.firstDayOfWeek,
|
283
|
-
max: e.max,
|
284
|
-
min: e.min,
|
285
|
-
"model-value": e.modelValue,
|
286
|
-
range: e.range,
|
287
|
-
readonly: e.readonly,
|
288
|
-
selectable: e.selectable
|
289
|
-
}), null, 16, ["id", "disabled", "first-day-of-week", "max", "min", "model-value", "range", "readonly", "selectable"])
|
290
|
-
], 10, $e)
|
291
|
-
]),
|
292
|
-
_: 1
|
293
|
-
}, 8, ["open", "teleport-target", "wrapper"])) : re("", !0)
|
270
|
+
}, 8, ["append:icon", "clearable", "prepend:icon"])
|
294
271
|
]),
|
295
272
|
_: 3
|
296
273
|
}, 8, ["class"]));
|
297
274
|
}
|
298
275
|
});
|
299
276
|
export {
|
300
|
-
|
277
|
+
Xe as default
|
301
278
|
};
|
package/dist/index230.js
CHANGED
@@ -1,14 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
o,
|
6
|
-
(r, t) => {
|
7
|
-
e(r) !== e(t) && c(r, t);
|
8
|
-
},
|
9
|
-
h
|
10
|
-
);
|
11
|
-
};
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index308.js";
|
2
|
+
import { __require as t } from "./index305.js";
|
3
|
+
var o = t();
|
4
|
+
const a = /* @__PURE__ */ r(o);
|
12
5
|
export {
|
13
|
-
|
6
|
+
a as default
|
14
7
|
};
|
package/dist/index231.js
CHANGED
@@ -1,15 +1,4 @@
|
|
1
|
-
|
2
|
-
import { _config as m } from "./index4.js";
|
3
|
-
import { get as c } from "./index297.js";
|
4
|
-
import { readonly as l, computed as n } from "vue";
|
5
|
-
const p = (o, ...r) => l(
|
6
|
-
n(() => c(t[m.locale], o).replace(
|
7
|
-
/\{(\d+)\}/g,
|
8
|
-
(a, e) => r[e]
|
9
|
-
))
|
10
|
-
), d = () => ({
|
11
|
-
t: p
|
12
|
-
});
|
1
|
+
const n = (t) => t == null || Number.isNaN(t) || typeof t == "object" && Object.keys(t).length === 0 || typeof t == "string" && t.trim().length === 0 || t instanceof Map && [...t.keys()].length === 0 || t instanceof Set && [...t.keys()].length === 0;
|
13
2
|
export {
|
14
|
-
|
3
|
+
n as isEmpty
|
15
4
|
};
|
package/dist/index232.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
const
|
1
|
+
const e = (t) => t[t.length - 1];
|
2
2
|
export {
|
3
|
-
|
3
|
+
e as last
|
4
4
|
};
|