ablok-components 0.3.95 → 0.3.97
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/ablok-components.umd.js +2 -2
- package/dist/components/molecules/bulk-upload/bulk-upload.vue.d.ts +9 -0
- package/dist/components/molecules/bulk-upload/bulk-upload.vue.js +14 -10
- package/dist/components/molecules/input-datepicker/input-datepicker.vue.js +136 -108
- package/package.json +1 -1
|
@@ -135,6 +135,10 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
135
135
|
type: NumberConstructor;
|
|
136
136
|
default: number;
|
|
137
137
|
};
|
|
138
|
+
showProgress: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
138
142
|
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
139
143
|
"update:modelValue": (...args: any[]) => void;
|
|
140
144
|
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
@@ -249,6 +253,10 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
249
253
|
type: NumberConstructor;
|
|
250
254
|
default: number;
|
|
251
255
|
};
|
|
256
|
+
showProgress: {
|
|
257
|
+
type: BooleanConstructor;
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
252
260
|
}>> & Readonly<{
|
|
253
261
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
254
262
|
}>, {
|
|
@@ -271,6 +279,7 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
271
279
|
editCaptions: boolean;
|
|
272
280
|
allowDuplicateFiles: boolean;
|
|
273
281
|
maxFiles: number;
|
|
282
|
+
showProgress: boolean;
|
|
274
283
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {
|
|
275
284
|
root: HTMLDivElement;
|
|
276
285
|
}, HTMLDivElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as I, computed as V, ref as k, resolveComponent as x, openBlock as n, createElementBlock as i, createElementVNode as l, unref as N, renderSlot as $, withModifiers as M, createVNode as f, createCommentVNode as u, toDisplayString as g, withCtx as F, normalizeClass as U, Fragment as A, withDirectives as E, vModelText as R, nextTick as K } from "vue";
|
|
2
2
|
import j from "../file-upload/file-upload.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { sanitizeHtml as q } from "../../../composables/useSanitize.js";
|
|
@@ -11,7 +11,7 @@ const G = { class: "container" }, J = { class: "row" }, O = {
|
|
|
11
11
|
}, Z = { class: "m-0" }, ee = { class: "preview-item border-bottom p-3" }, te = { class: "d-flex gap-3" }, le = { class: "col-2" }, oe = { class: "col d-flex flex-column" }, se = { class: "file-meta text-muted small mb-2" }, ae = { class: "fw-semibold" }, ne = { key: 0 }, ie = { key: 1 }, de = ["onUpdate:modelValue", "id"], re = ["innerHTML"], ue = {
|
|
12
12
|
key: 2,
|
|
13
13
|
class: "upload-progress mt-3 mb-0"
|
|
14
|
-
}, ce = ["value"], pe = { class: "col-auto d-flex flex-column gap-2" }, me = ["onClick"], fe = ["onClick"], ve = { class: "file-upload__label" }, be = { class: "d-flex align-items-end p-3" }, he = ["for"], ge = ["innerHTML"], Me = /* @__PURE__ */
|
|
14
|
+
}, ce = ["value"], pe = { class: "col-auto d-flex flex-column gap-2" }, me = ["onClick"], fe = ["onClick"], ve = { class: "file-upload__label" }, be = { class: "d-flex align-items-end p-3" }, he = ["for"], ge = ["innerHTML"], Me = /* @__PURE__ */ I({
|
|
15
15
|
__name: "bulk-upload",
|
|
16
16
|
props: {
|
|
17
17
|
storeId: String,
|
|
@@ -61,11 +61,15 @@ const G = { class: "container" }, J = { class: "row" }, O = {
|
|
|
61
61
|
maxFiles: {
|
|
62
62
|
type: Number,
|
|
63
63
|
default: 0
|
|
64
|
+
},
|
|
65
|
+
showProgress: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: !0
|
|
64
68
|
}
|
|
65
69
|
},
|
|
66
70
|
emits: ["update:modelValue"],
|
|
67
71
|
setup(d, { emit: z }) {
|
|
68
|
-
const r = d,
|
|
72
|
+
const r = d, w = z, C = (e) => `${e.name ?? ""}|${e.size ?? 0}|${e.lastModified ?? 0}|${e.type ?? ""}`, c = V({
|
|
69
73
|
get: () => {
|
|
70
74
|
const e = r.modelValue || [];
|
|
71
75
|
return b.value = e.map((t) => t.caption || ""), e.map((t) => ({
|
|
@@ -79,8 +83,8 @@ const G = { class: "container" }, J = { class: "row" }, O = {
|
|
|
79
83
|
},
|
|
80
84
|
set: (e) => {
|
|
81
85
|
const t = c.value || [], a = Array.isArray(e) ? e : [], p = r.allowDuplicateFiles ? a : a.filter((y) => {
|
|
82
|
-
const _ =
|
|
83
|
-
return !t.some((
|
|
86
|
+
const _ = C(y);
|
|
87
|
+
return !t.some((P) => C(P) === _);
|
|
84
88
|
}), o = r.maxFiles > 0 ? Math.max(0, r.maxFiles - t.length) : void 0, s = typeof o == "number" ? p.slice(0, o) : p;
|
|
85
89
|
if (!r.allowDuplicateFiles && a.length > 0 && s.length === 0)
|
|
86
90
|
return;
|
|
@@ -90,7 +94,7 @@ const G = { class: "container" }, J = { class: "row" }, O = {
|
|
|
90
94
|
}), B = k(null), v = k({}), b = k({}), H = V(() => r.disabled || r.maxFiles > 0 && c.value.length >= r.maxFiles);
|
|
91
95
|
function S(e) {
|
|
92
96
|
const t = [...r.modelValue || []];
|
|
93
|
-
t.splice(e, 1),
|
|
97
|
+
t.splice(e, 1), w("update:modelValue", t);
|
|
94
98
|
}
|
|
95
99
|
async function D(e) {
|
|
96
100
|
v.value[e] = !v.value[e], v.value[e] || h(), await K(), B.value?.querySelector(`#caption-${e}`)?.focus();
|
|
@@ -107,7 +111,7 @@ const G = { class: "container" }, J = { class: "row" }, O = {
|
|
|
107
111
|
return e ? new Date(e).toLocaleDateString() : "";
|
|
108
112
|
}
|
|
109
113
|
function h(e) {
|
|
110
|
-
|
|
114
|
+
w("update:modelValue", (e || c.value).map((t, a) => ({
|
|
111
115
|
...t,
|
|
112
116
|
caption: b.value[a] || ""
|
|
113
117
|
})));
|
|
@@ -125,7 +129,7 @@ const G = { class: "container" }, J = { class: "row" }, O = {
|
|
|
125
129
|
l("div", Q, [
|
|
126
130
|
l("p", {
|
|
127
131
|
class: "fw-bold m-0",
|
|
128
|
-
innerHTML:
|
|
132
|
+
innerHTML: N(q)(d.title || e.$t("fileInput.bulkUploadHeadline"))
|
|
129
133
|
}, null, 8, W),
|
|
130
134
|
$(e.$slots, "bulk-remove", {}, () => [
|
|
131
135
|
d.hasBulkRemove ? (n(), i("button", {
|
|
@@ -185,7 +189,7 @@ const G = { class: "container" }, J = { class: "row" }, O = {
|
|
|
185
189
|
class: "m-0",
|
|
186
190
|
innerHTML: b.value[s] || `<small>${e.$t("fileInput.noCaption")}</small>`
|
|
187
191
|
}, null, 8, re)),
|
|
188
|
-
o.uploadProgress ? (n(), i("div", ue, [
|
|
192
|
+
d.showProgress && o.uploadProgress ? (n(), i("div", ue, [
|
|
189
193
|
$(e.$slots, "upload-progress", {
|
|
190
194
|
bind: { item: o, index: s }
|
|
191
195
|
}, () => [
|
|
@@ -224,7 +228,7 @@ const G = { class: "container" }, J = { class: "row" }, O = {
|
|
|
224
228
|
l("span", be, [
|
|
225
229
|
l("label", {
|
|
226
230
|
for: `${d.id}-file-upload`,
|
|
227
|
-
class:
|
|
231
|
+
class: U(["btn btn-primary btn-sm ms-auto d-flex align-items-center gap-2", { disabled: H.value }])
|
|
228
232
|
}, [
|
|
229
233
|
f(a, {
|
|
230
234
|
symbol: "upload",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { uniqueId as
|
|
1
|
+
import { defineComponent as P, shallowRef as j, onMounted as F, computed as S, ref as Y, watch as z, openBlock as o, createElementBlock as V, normalizeClass as E, renderSlot as w, createElementVNode as c, unref as K, createCommentVNode as x, createBlock as b, resolveDynamicComponent as A } from "vue";
|
|
2
|
+
import { uniqueId as M } from "../../../utilities/helpers.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { sanitizeHtml as
|
|
6
|
-
import { fr as
|
|
7
|
-
import { de as
|
|
8
|
-
import { enUS as
|
|
9
|
-
const
|
|
4
|
+
import { useI18n as G } from "vue-i18n";
|
|
5
|
+
import { sanitizeHtml as J } from "../../../composables/useSanitize.js";
|
|
6
|
+
import { fr as Q } from "../../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/fr.js";
|
|
7
|
+
import { de as W } from "../../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/de.js";
|
|
8
|
+
import { enUS as O } from "../../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US.js";
|
|
9
|
+
const X = { class: "row" }, _ = { class: "col-12" }, ee = ["for", "innerHTML"], te = { key: 0 }, le = { class: "input-group justify-content-center" }, ae = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "row"
|
|
12
|
-
},
|
|
12
|
+
}, ne = { class: "col-12 col-md-6" }, re = { class: "col-12 col-md-6" }, ue = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "row"
|
|
15
|
-
},
|
|
15
|
+
}, oe = { class: "col-12" }, ve = /* @__PURE__ */ P({
|
|
16
16
|
__name: "input-datepicker",
|
|
17
17
|
props: {
|
|
18
18
|
modelValue: {
|
|
@@ -33,11 +33,11 @@ const z = { class: "row" }, E = { class: "col-12" }, F = ["for", "innerHTML"], K
|
|
|
33
33
|
},
|
|
34
34
|
name: {
|
|
35
35
|
type: String,
|
|
36
|
-
default: () =>
|
|
36
|
+
default: () => M()
|
|
37
37
|
},
|
|
38
38
|
id: {
|
|
39
39
|
type: String,
|
|
40
|
-
default: () =>
|
|
40
|
+
default: () => M()
|
|
41
41
|
},
|
|
42
42
|
label: {
|
|
43
43
|
type: String,
|
|
@@ -85,159 +85,187 @@ const z = { class: "row" }, E = { class: "col-12" }, F = ["for", "innerHTML"], K
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
emits: ["update:modelValue", "update:from", "update:to"],
|
|
88
|
-
setup(a, { emit:
|
|
89
|
-
const
|
|
90
|
-
|
|
88
|
+
setup(a, { emit: R }) {
|
|
89
|
+
const m = j(null);
|
|
90
|
+
F(async () => {
|
|
91
91
|
const { VueDatePicker: e } = await import("@vuepic/vue-datepicker");
|
|
92
|
-
|
|
92
|
+
m.value = e;
|
|
93
93
|
});
|
|
94
|
-
const
|
|
95
|
-
en:
|
|
96
|
-
de:
|
|
97
|
-
fr:
|
|
98
|
-
},
|
|
99
|
-
const e =
|
|
100
|
-
return
|
|
101
|
-
}),
|
|
94
|
+
const l = a, i = R, { t: ie, locale: U } = G(), H = {
|
|
95
|
+
en: O,
|
|
96
|
+
de: W,
|
|
97
|
+
fr: Q
|
|
98
|
+
}, s = S(() => {
|
|
99
|
+
const e = l.locale || U.value;
|
|
100
|
+
return H[e] || O;
|
|
101
|
+
}), N = S(() => l.inline || !l.picker ? { openMenu: !1, format: s.value } : !0);
|
|
102
|
+
function k(e) {
|
|
103
|
+
return !e || Number.isNaN(e.getTime()) ? null : e.toISOString().replace("Z", "");
|
|
104
|
+
}
|
|
105
|
+
function f(e) {
|
|
106
|
+
return !e || Array.isArray(e) ? null : k(/* @__PURE__ */ new Date(`${e}Z`));
|
|
107
|
+
}
|
|
108
|
+
function y(e) {
|
|
109
|
+
if (!e || Array.isArray(e)) return null;
|
|
110
|
+
const t = new Date(e);
|
|
111
|
+
return Number.isNaN(t.getTime()) ? null : (t.setUTCHours(t.getHours()), k(t));
|
|
112
|
+
}
|
|
113
|
+
function B() {
|
|
114
|
+
let e = l.from || (Array.isArray(l.modelValue) ? l.modelValue[0] : null), t = l.to || (Array.isArray(l.modelValue) ? l.modelValue[1] : null);
|
|
115
|
+
return l.utcStore ? (e = e ? g(e) : null, t = t ? g(t) : null) : (e = f(e), t = f(t)), [e, t];
|
|
116
|
+
}
|
|
117
|
+
const d = Y(B());
|
|
118
|
+
z(() => [l.modelValue, l.from, l.to, l.utcStore], () => {
|
|
119
|
+
if (!l.range) return;
|
|
120
|
+
const e = B();
|
|
121
|
+
(e[0] !== d.value[0] || e[1] !== d.value[1]) && (d.value = e);
|
|
122
|
+
});
|
|
123
|
+
function Z(e, t) {
|
|
124
|
+
l.utcStore ? (e = e ? p(e) : null, t = t ? p(t) : null) : (e = y(e), t = y(t)), i("update:modelValue", [e, t]), i("update:from", e), i("update:to", t);
|
|
125
|
+
}
|
|
126
|
+
function T(e, t) {
|
|
127
|
+
d.value = [e ?? null, t ?? null], Z(e ?? null, t ?? null);
|
|
128
|
+
}
|
|
129
|
+
const $ = S({
|
|
102
130
|
get() {
|
|
103
|
-
if (
|
|
104
|
-
let e =
|
|
105
|
-
return
|
|
131
|
+
if (l.range) {
|
|
132
|
+
let e = l.from || (Array.isArray(l.modelValue) ? l.modelValue[0] : null), t = l.to || (Array.isArray(l.modelValue) ? l.modelValue[1] : null);
|
|
133
|
+
return l.utcStore ? (e = e ? g(e) : null, t = t ? g(t) : null) : (e = f(e), t = f(t)), [
|
|
106
134
|
...e ? [e] : [],
|
|
107
135
|
...t ? [t] : []
|
|
108
136
|
];
|
|
109
137
|
} else {
|
|
110
|
-
if (
|
|
111
|
-
const
|
|
112
|
-
return
|
|
138
|
+
if (l.utcStore) {
|
|
139
|
+
const e = l.modelValue;
|
|
140
|
+
return e && g(e) || "";
|
|
113
141
|
}
|
|
114
|
-
|
|
115
|
-
return t && t.replace("Z", "");
|
|
142
|
+
return f(l.modelValue) || "";
|
|
116
143
|
}
|
|
117
144
|
},
|
|
118
145
|
set(e) {
|
|
119
|
-
if (
|
|
120
|
-
let [t,
|
|
121
|
-
|
|
122
|
-
} else if (
|
|
123
|
-
const t =
|
|
124
|
-
|
|
125
|
-
} else
|
|
126
|
-
|
|
127
|
-
t?.setUTCHours(t?.getHours()), e = t && t.toISOString(), m("update:modelValue", e && e.replace("Z", ""));
|
|
128
|
-
}
|
|
146
|
+
if (l.range && Array.isArray(e)) {
|
|
147
|
+
let [t, n] = e;
|
|
148
|
+
l.utcStore ? (t = p(t) || null, n = p(n) || null) : (t = y(t), n = y(n)), i("update:modelValue", [t, n]), i("update:from", t), i("update:to", n);
|
|
149
|
+
} else if (l.utcStore) {
|
|
150
|
+
const t = p(e);
|
|
151
|
+
i("update:modelValue", t);
|
|
152
|
+
} else
|
|
153
|
+
i("update:modelValue", y(e));
|
|
129
154
|
}
|
|
130
|
-
}),
|
|
155
|
+
}), D = S({
|
|
131
156
|
get() {
|
|
132
|
-
return
|
|
157
|
+
return d.value[0];
|
|
133
158
|
},
|
|
134
159
|
set(e) {
|
|
135
|
-
|
|
160
|
+
T(e, d.value[1]);
|
|
136
161
|
}
|
|
137
|
-
}),
|
|
162
|
+
}), h = S({
|
|
138
163
|
get() {
|
|
139
|
-
return
|
|
164
|
+
return d.value[1];
|
|
140
165
|
},
|
|
141
166
|
set(e) {
|
|
142
|
-
|
|
167
|
+
T(d.value[0], e);
|
|
143
168
|
}
|
|
144
169
|
});
|
|
145
|
-
|
|
146
|
-
n.range && e.some((l) => l === void 0) && t.every(Boolean) && (o.value = []);
|
|
147
|
-
});
|
|
148
|
-
function q(e) {
|
|
170
|
+
function I(e) {
|
|
149
171
|
if (!e)
|
|
150
172
|
return;
|
|
151
|
-
const t = e.getDate(),
|
|
152
|
-
switch (
|
|
173
|
+
const t = e.getDate(), n = e.getMonth() + 1, v = e.getFullYear(), r = e.getMinutes(), u = e.getHours();
|
|
174
|
+
switch (s.value) {
|
|
153
175
|
case "de":
|
|
154
|
-
return `${t}.${
|
|
176
|
+
return `${t}.${n}.${v} ${u < 10 ? "0" + u : u}:${r < 10 ? "0" + r : r}`;
|
|
155
177
|
case "fr":
|
|
156
|
-
return `${t}/${
|
|
178
|
+
return `${t}/${n}/${v} ${u < 10 ? "0" + u : u}:${r < 10 ? "0" + r : r}`;
|
|
157
179
|
default:
|
|
158
|
-
return `${
|
|
180
|
+
return `${n}/${t}/${v} ${u < 10 ? "0" + u : u}:${r < 10 ? "0" + r : r}`;
|
|
159
181
|
}
|
|
160
182
|
}
|
|
161
|
-
function
|
|
162
|
-
if (!e) return null;
|
|
163
|
-
const t = e instanceof Date ? new Date(e) : /* @__PURE__ */ new Date(`${e}Z`)
|
|
164
|
-
return
|
|
183
|
+
function g(e) {
|
|
184
|
+
if (!e || Array.isArray(e)) return null;
|
|
185
|
+
const t = e instanceof Date ? new Date(e) : /* @__PURE__ */ new Date(`${e}Z`);
|
|
186
|
+
if (Number.isNaN(t.getTime())) return null;
|
|
187
|
+
const n = t.getFullYear(), v = String(t.getMonth() + 1).padStart(2, "0"), r = String(t.getDate()).padStart(2, "0"), u = String(t.getHours()).padStart(2, "0"), C = String(t.getMinutes()).padStart(2, "0"), L = String(t.getSeconds()).padStart(2, "0");
|
|
188
|
+
return `${n}-${v}-${r}T${u}:${C}:${L}`;
|
|
165
189
|
}
|
|
166
|
-
function
|
|
167
|
-
|
|
190
|
+
function p(e) {
|
|
191
|
+
if (!e || Array.isArray(e)) return null;
|
|
192
|
+
const t = e instanceof Date ? new Date(e) : new Date(String(e));
|
|
193
|
+
return Number.isNaN(t.getTime()) ? null : t.toISOString().split(".")[0];
|
|
168
194
|
}
|
|
169
|
-
const
|
|
170
|
-
return (e, t) => (
|
|
171
|
-
class:
|
|
195
|
+
const q = (e) => (Array.isArray(e) ? e = e.map((t) => I(t)).join(" - ") : e = I(e), e);
|
|
196
|
+
return (e, t) => (o(), V("div", {
|
|
197
|
+
class: E(["input", "input--datepicker"])
|
|
172
198
|
}, [
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
a.label ? (
|
|
199
|
+
w(e.$slots, "label", {}, () => [
|
|
200
|
+
c("div", X, [
|
|
201
|
+
c("div", _, [
|
|
202
|
+
a.label ? (o(), V("label", {
|
|
177
203
|
key: 0,
|
|
178
204
|
for: a.id,
|
|
179
205
|
class: "input__label",
|
|
180
|
-
innerHTML:
|
|
181
|
-
}, null, 8,
|
|
206
|
+
innerHTML: K(J)(`${a.label}${a.required ? " *" : ""}`)
|
|
207
|
+
}, null, 8, ee)) : x("", !0)
|
|
182
208
|
])
|
|
183
209
|
])
|
|
184
210
|
]),
|
|
185
|
-
a.textInput ? (
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
a.range && !a.textRange ? (
|
|
189
|
-
|
|
190
|
-
(
|
|
211
|
+
a.textInput ? (o(), V("div", te, [
|
|
212
|
+
c("div", le, [
|
|
213
|
+
w(e.$slots, "input-prepend", { slotScope: "props" }),
|
|
214
|
+
a.range && !a.textRange ? (o(), V("div", ae, [
|
|
215
|
+
c("div", ne, [
|
|
216
|
+
(o(), b(A(m.value), {
|
|
191
217
|
uid: `${a.id}-from`,
|
|
192
|
-
modelValue:
|
|
193
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
194
|
-
locale:
|
|
195
|
-
format:
|
|
196
|
-
"text-input":
|
|
218
|
+
modelValue: D.value,
|
|
219
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => D.value = n),
|
|
220
|
+
locale: s.value,
|
|
221
|
+
format: q,
|
|
222
|
+
"text-input": N.value,
|
|
197
223
|
disabled: a.disabled,
|
|
198
224
|
"read-only": a.readOnly,
|
|
199
225
|
required: a.required,
|
|
226
|
+
"max-date": h.value,
|
|
200
227
|
"auto-apply": !0
|
|
201
|
-
}, null, 8, ["uid", "modelValue", "locale", "text-input", "disabled", "read-only", "required"]))
|
|
228
|
+
}, null, 8, ["uid", "modelValue", "locale", "text-input", "disabled", "read-only", "required", "max-date"]))
|
|
202
229
|
]),
|
|
203
|
-
|
|
204
|
-
(
|
|
230
|
+
c("div", re, [
|
|
231
|
+
(o(), b(A(m.value), {
|
|
205
232
|
uid: `${a.id}-to`,
|
|
206
|
-
modelValue:
|
|
207
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
208
|
-
locale:
|
|
209
|
-
format:
|
|
210
|
-
"text-input":
|
|
233
|
+
modelValue: h.value,
|
|
234
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => h.value = n),
|
|
235
|
+
locale: s.value,
|
|
236
|
+
format: q,
|
|
237
|
+
"text-input": N.value,
|
|
211
238
|
disabled: a.disabled,
|
|
212
239
|
"read-only": a.readOnly,
|
|
213
240
|
required: a.required,
|
|
241
|
+
"min-date": D.value,
|
|
214
242
|
"auto-apply": !0
|
|
215
|
-
}, null, 8, ["uid", "modelValue", "locale", "text-input", "disabled", "read-only", "required"]))
|
|
243
|
+
}, null, 8, ["uid", "modelValue", "locale", "text-input", "disabled", "read-only", "required", "min-date"]))
|
|
216
244
|
])
|
|
217
|
-
])) : (
|
|
245
|
+
])) : (o(), b(A(m.value), {
|
|
218
246
|
key: 1,
|
|
219
247
|
uid: `${a.id}-input-to`,
|
|
220
|
-
modelValue:
|
|
221
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
222
|
-
format:
|
|
223
|
-
locale:
|
|
248
|
+
modelValue: $.value,
|
|
249
|
+
"onUpdate:modelValue": t[2] || (t[2] = (n) => $.value = n),
|
|
250
|
+
format: q,
|
|
251
|
+
locale: s.value,
|
|
224
252
|
range: a.textRange,
|
|
225
|
-
"text-input":
|
|
253
|
+
"text-input": N.value,
|
|
226
254
|
disabled: a.disabled,
|
|
227
255
|
"read-only": a.readOnly,
|
|
228
256
|
required: a.required,
|
|
229
257
|
"auto-apply": !0
|
|
230
258
|
}, null, 8, ["uid", "modelValue", "locale", "range", "text-input", "disabled", "read-only", "required"])),
|
|
231
|
-
|
|
259
|
+
w(e.$slots, "input-append", { slotScope: "props" })
|
|
232
260
|
])
|
|
233
|
-
])) :
|
|
234
|
-
a.inline ? (
|
|
235
|
-
|
|
236
|
-
(
|
|
261
|
+
])) : x("", !0),
|
|
262
|
+
a.inline ? (o(), V("div", ue, [
|
|
263
|
+
c("div", oe, [
|
|
264
|
+
(o(), b(A(m.value), {
|
|
237
265
|
uid: `${a.id}-inline`,
|
|
238
|
-
modelValue:
|
|
239
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
240
|
-
locale:
|
|
266
|
+
modelValue: $.value,
|
|
267
|
+
"onUpdate:modelValue": t[3] || (t[3] = (n) => $.value = n),
|
|
268
|
+
locale: s.value,
|
|
241
269
|
cancelText: "abbrechen",
|
|
242
270
|
selectText: "auswählen",
|
|
243
271
|
range: a.range,
|
|
@@ -254,10 +282,10 @@ const z = { class: "row" }, E = { class: "col-12" }, F = ["for", "innerHTML"], K
|
|
|
254
282
|
"month-name-format": "long"
|
|
255
283
|
}, null, 8, ["uid", "modelValue", "locale", "range", "multi-calendars", "partial-range", "disabled", "read-only", "required"]))
|
|
256
284
|
])
|
|
257
|
-
])) :
|
|
285
|
+
])) : x("", !0)
|
|
258
286
|
]));
|
|
259
287
|
}
|
|
260
288
|
});
|
|
261
289
|
export {
|
|
262
|
-
|
|
290
|
+
ve as default
|
|
263
291
|
};
|