@avenirs-esr/avenirs-dsav 0.1.128 → 0.1.129
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/index.es.js
CHANGED
|
@@ -4435,12 +4435,14 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4435
4435
|
endDateDisabled: { type: Boolean, default: !1 },
|
|
4436
4436
|
startDateDisabled: { type: Boolean, default: !1 },
|
|
4437
4437
|
type: { default: "date" },
|
|
4438
|
-
labelVisible: { type: Boolean, default: !0 }
|
|
4438
|
+
labelVisible: { type: Boolean, default: !0 },
|
|
4439
|
+
startErrorMessage: {},
|
|
4440
|
+
endErrorMessage: {}
|
|
4439
4441
|
},
|
|
4440
4442
|
emits: ["update:startModelValue", "update:endModelValue", "change"],
|
|
4441
4443
|
setup(e, { emit: t }) {
|
|
4442
4444
|
oe((T) => ({
|
|
4443
|
-
|
|
4445
|
+
c7c0c816: T.separatorSpacing
|
|
4444
4446
|
}));
|
|
4445
4447
|
const a = t, n = g(() => e.id ?? `period-input-${crypto.randomUUID()}`), l = g(() => `${n.value}__start`), i = g(() => `${n.value}__end`);
|
|
4446
4448
|
function o(T) {
|
|
@@ -4493,9 +4495,10 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4493
4495
|
width: e.width,
|
|
4494
4496
|
"min-date": r(f),
|
|
4495
4497
|
"max-date": r(I),
|
|
4498
|
+
"error-message": e.startErrorMessage,
|
|
4496
4499
|
"data-testid": "start-date-input",
|
|
4497
4500
|
"onUpdate:modelValue": M[0] || (M[0] = (L) => D(L))
|
|
4498
|
-
}, null, 8, ["id", "type", "model-value", "label", "aria-label", "disabled", "width", "min-date", "max-date"]),
|
|
4501
|
+
}, null, 8, ["id", "type", "model-value", "label", "aria-label", "disabled", "width", "min-date", "max-date", "error-message"]),
|
|
4499
4502
|
U(qe, {
|
|
4500
4503
|
id: r(i),
|
|
4501
4504
|
type: e.type,
|
|
@@ -4507,13 +4510,14 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4507
4510
|
width: e.width,
|
|
4508
4511
|
"min-date": r(m),
|
|
4509
4512
|
"max-date": r(v),
|
|
4513
|
+
"error-message": e.endErrorMessage,
|
|
4510
4514
|
"data-testid": "end-date-input",
|
|
4511
4515
|
"onUpdate:modelValue": M[1] || (M[1] = (L) => E(L))
|
|
4512
|
-
}, null, 8, ["id", "type", "model-value", "label", "aria-label", "disabled", "width", "min-date", "max-date"])
|
|
4516
|
+
}, null, 8, ["id", "type", "model-value", "label", "aria-label", "disabled", "width", "min-date", "max-date", "error-message"])
|
|
4513
4517
|
], 2)
|
|
4514
4518
|
], 2));
|
|
4515
4519
|
}
|
|
4516
|
-
}), ru = /* @__PURE__ */ P(go, [["__scopeId", "data-v-
|
|
4520
|
+
}), ru = /* @__PURE__ */ P(go, [["__scopeId", "data-v-658fa9fb"]]), Io = {
|
|
4517
4521
|
class: "av-search-bar",
|
|
4518
4522
|
role: "search"
|
|
4519
4523
|
}, bo = /* @__PURE__ */ k({
|