@ouestfrance/sipa-bms-ui 8.14.3 → 8.14.4
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/sipa-bms-ui.css
CHANGED
|
@@ -1076,7 +1076,7 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
|
|
|
1076
1076
|
.switch-wrapper.disabled[data-v-6de1a5c6] {
|
|
1077
1077
|
--switch-background-color: var(--bms-grey-25);
|
|
1078
1078
|
--switch-color: var(--bms-grey-50);
|
|
1079
|
-
}.input-toggle[data-v-
|
|
1079
|
+
}.input-toggle[data-v-5f354760] {
|
|
1080
1080
|
--label-color: var(--bms-grey-100);
|
|
1081
1081
|
--cursor: pointer;
|
|
1082
1082
|
font-weight: var(--field-label-font-weight);
|
|
@@ -1084,28 +1084,28 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
|
|
|
1084
1084
|
align-items: center;
|
|
1085
1085
|
gap: 0.5em;
|
|
1086
1086
|
}
|
|
1087
|
-
.input-toggle.overflow[data-v-
|
|
1087
|
+
.input-toggle.overflow[data-v-5f354760] {
|
|
1088
1088
|
width: 100%;
|
|
1089
1089
|
}
|
|
1090
|
-
.input-toggle.overflow .input-switch-info[data-v-
|
|
1090
|
+
.input-toggle.overflow .input-switch-info[data-v-5f354760] {
|
|
1091
1091
|
width: 100%;
|
|
1092
1092
|
white-space: nowrap;
|
|
1093
1093
|
overflow: hidden;
|
|
1094
1094
|
word-break: break-all;
|
|
1095
1095
|
text-overflow: ellipsis;
|
|
1096
1096
|
}
|
|
1097
|
-
.input-toggle .input-switch-info[data-v-
|
|
1097
|
+
.input-toggle .input-switch-info[data-v-5f354760] {
|
|
1098
1098
|
color: var(--label-color);
|
|
1099
1099
|
transition: 0.2s;
|
|
1100
1100
|
}
|
|
1101
|
-
.input-toggle.isOn[data-v-
|
|
1101
|
+
.input-toggle.isOn[data-v-5f354760] {
|
|
1102
1102
|
--label-color: var(--bms-main-100);
|
|
1103
1103
|
}
|
|
1104
|
-
.input-toggle.disabled[data-v-
|
|
1104
|
+
.input-toggle.disabled[data-v-5f354760] {
|
|
1105
1105
|
--label-color: var(--bms-grey-50);
|
|
1106
1106
|
--cursor: default;
|
|
1107
1107
|
}
|
|
1108
|
-
.input-toggle[data-v-
|
|
1108
|
+
.input-toggle[data-v-5f354760]:hover {
|
|
1109
1109
|
cursor: var(--cursor);
|
|
1110
1110
|
}.tag[data-v-e2517fee] {
|
|
1111
1111
|
--tag-border-color: var(--bms-main-100);
|
package/dist/sipa-bms-ui.es.js
CHANGED
|
@@ -310,7 +310,7 @@ const enforceActionsColumnHeader = (headers) => {
|
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
const _hoisted_1$Z = ["href", "target"];
|
|
313
|
-
const _hoisted_2$
|
|
313
|
+
const _hoisted_2$E = ["href", "onClick", "target"];
|
|
314
314
|
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
315
315
|
__name: "BmsLink",
|
|
316
316
|
props: {
|
|
@@ -352,7 +352,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
352
352
|
target: __props.target
|
|
353
353
|
}, _ctx.$attrs), [
|
|
354
354
|
renderSlot(_ctx.$slots, "default")
|
|
355
|
-
], 16, _hoisted_2$
|
|
355
|
+
], 16, _hoisted_2$E)
|
|
356
356
|
]),
|
|
357
357
|
_: 3
|
|
358
358
|
}, 8, ["to"]));
|
|
@@ -402,7 +402,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
402
402
|
});
|
|
403
403
|
|
|
404
404
|
const _hoisted_1$X = { class: "start" };
|
|
405
|
-
const _hoisted_2$
|
|
405
|
+
const _hoisted_2$D = { class: "content" };
|
|
406
406
|
const _hoisted_3$k = { class: "end" };
|
|
407
407
|
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
408
408
|
__name: "UiButton",
|
|
@@ -422,7 +422,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
422
422
|
createElementVNode("span", _hoisted_1$X, [
|
|
423
423
|
renderSlot(_ctx.$slots, "start")
|
|
424
424
|
]),
|
|
425
|
-
createElementVNode("span", _hoisted_2$
|
|
425
|
+
createElementVNode("span", _hoisted_2$D, [
|
|
426
426
|
renderSlot(_ctx.$slots, "default")
|
|
427
427
|
]),
|
|
428
428
|
createElementVNode("span", _hoisted_3$k, [
|
|
@@ -36845,7 +36845,7 @@ const lucideIcons = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
36845
36845
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
36846
36846
|
|
|
36847
36847
|
const _hoisted_1$W = { class: "info-line" };
|
|
36848
|
-
const _hoisted_2$
|
|
36848
|
+
const _hoisted_2$C = { class: "icon" };
|
|
36849
36849
|
const _hoisted_3$j = { class: "message" };
|
|
36850
36850
|
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
36851
36851
|
__name: "BmsAlert",
|
|
@@ -36873,7 +36873,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
36873
36873
|
class: normalizeClass(["alert", `alert-${props.type}`])
|
|
36874
36874
|
}, [
|
|
36875
36875
|
createElementVNode("div", _hoisted_1$W, [
|
|
36876
|
-
createElementVNode("span", _hoisted_2$
|
|
36876
|
+
createElementVNode("span", _hoisted_2$C, [
|
|
36877
36877
|
(openBlock(), createBlock(resolveDynamicComponent(alertIcon.value), { size: 20 }))
|
|
36878
36878
|
]),
|
|
36879
36879
|
createElementVNode("span", _hoisted_3$j, [
|
|
@@ -36944,7 +36944,7 @@ const _hoisted_1$U = {
|
|
|
36944
36944
|
key: 0,
|
|
36945
36945
|
class: "icon"
|
|
36946
36946
|
};
|
|
36947
|
-
const _hoisted_2$
|
|
36947
|
+
const _hoisted_2$B = ["innerHTML"];
|
|
36948
36948
|
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
36949
36949
|
__name: "BmsCaption",
|
|
36950
36950
|
props: {
|
|
@@ -36982,7 +36982,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
36982
36982
|
createElementVNode("span", {
|
|
36983
36983
|
class: "label",
|
|
36984
36984
|
innerHTML: unref(sanitizeHtml)(computedCaption.value.label)
|
|
36985
|
-
}, null, 8, _hoisted_2$
|
|
36985
|
+
}, null, 8, _hoisted_2$B)
|
|
36986
36986
|
], 2);
|
|
36987
36987
|
};
|
|
36988
36988
|
}
|
|
@@ -36991,7 +36991,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
36991
36991
|
const BmsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-b08dd4e0"]]);
|
|
36992
36992
|
|
|
36993
36993
|
const _hoisted_1$T = { class: "circular-progress" };
|
|
36994
|
-
const _hoisted_2$
|
|
36994
|
+
const _hoisted_2$A = {
|
|
36995
36995
|
key: 0,
|
|
36996
36996
|
viewBox: "0 0 100 100"
|
|
36997
36997
|
};
|
|
@@ -37004,7 +37004,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
37004
37004
|
setup(__props) {
|
|
37005
37005
|
return (_ctx, _cache) => {
|
|
37006
37006
|
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
37007
|
-
__props.progress ? (openBlock(), createElementBlock("svg", _hoisted_2$
|
|
37007
|
+
__props.progress ? (openBlock(), createElementBlock("svg", _hoisted_2$A, [
|
|
37008
37008
|
createElementVNode("g", _hoisted_3$i, [
|
|
37009
37009
|
_cache[0] || (_cache[0] = createElementVNode("circle", {
|
|
37010
37010
|
opacity: ".08",
|
|
@@ -38057,7 +38057,7 @@ const _hoisted_1$R = {
|
|
|
38057
38057
|
class: "options-list",
|
|
38058
38058
|
"data-testid": "select-options"
|
|
38059
38059
|
};
|
|
38060
|
-
const _hoisted_2$
|
|
38060
|
+
const _hoisted_2$z = ["data-testid", "onClick"];
|
|
38061
38061
|
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
38062
38062
|
__name: "FieldDatalist",
|
|
38063
38063
|
props: {
|
|
@@ -38140,7 +38140,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
38140
38140
|
renderSlot(_ctx.$slots, "option", { option }, () => [
|
|
38141
38141
|
createTextVNode(toDisplayString(option.label === null ? "N/A" : option.label), 1)
|
|
38142
38142
|
], true)
|
|
38143
|
-
], 10, _hoisted_2$
|
|
38143
|
+
], 10, _hoisted_2$z);
|
|
38144
38144
|
}), 128)),
|
|
38145
38145
|
displayNewOption.value ? (openBlock(), createElementBlock("li", {
|
|
38146
38146
|
key: 0,
|
|
@@ -38158,7 +38158,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
38158
38158
|
const FieldDatalist = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-ba5302fc"]]);
|
|
38159
38159
|
|
|
38160
38160
|
const _hoisted_1$Q = { class: "field__input-label" };
|
|
38161
|
-
const _hoisted_2$
|
|
38161
|
+
const _hoisted_2$y = { class: "field__input-icon field__input-icon--start" };
|
|
38162
38162
|
const _hoisted_3$h = ["type", "value", "placeholder", "required", "disabled", "max", "min", "minlength", "maxlength"];
|
|
38163
38163
|
const _hoisted_4$b = { class: "field__input-icon field__input-icon--end" };
|
|
38164
38164
|
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
@@ -38214,7 +38214,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
38214
38214
|
createElementVNode("template", _hoisted_1$Q, [
|
|
38215
38215
|
renderSlot(_ctx.$slots, "label", {}, void 0, true)
|
|
38216
38216
|
]),
|
|
38217
|
-
createElementVNode("span", _hoisted_2$
|
|
38217
|
+
createElementVNode("span", _hoisted_2$y, [
|
|
38218
38218
|
renderSlot(_ctx.$slots, "icon-start", {}, void 0, true)
|
|
38219
38219
|
]),
|
|
38220
38220
|
createElementVNode("input", {
|
|
@@ -38419,7 +38419,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
38419
38419
|
const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-15343285"]]);
|
|
38420
38420
|
|
|
38421
38421
|
const _hoisted_1$P = ["innerHTML"];
|
|
38422
|
-
const _hoisted_2$
|
|
38422
|
+
const _hoisted_2$x = ["innerHTML"];
|
|
38423
38423
|
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
38424
38424
|
__name: "BmsAutocomplete",
|
|
38425
38425
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -38486,7 +38486,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
38486
38486
|
key: 0,
|
|
38487
38487
|
class: "icon datalist-icon",
|
|
38488
38488
|
innerHTML: option.icon
|
|
38489
|
-
}, null, 8, _hoisted_2$
|
|
38489
|
+
}, null, 8, _hoisted_2$x)) : (openBlock(), createBlock(resolveDynamicComponent(option.icon), {
|
|
38490
38490
|
key: 1,
|
|
38491
38491
|
class: "icon datalist-icon"
|
|
38492
38492
|
}))
|
|
@@ -38514,7 +38514,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
38514
38514
|
const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-43ad5137"]]);
|
|
38515
38515
|
|
|
38516
38516
|
const _hoisted_1$O = ["innerHTML"];
|
|
38517
|
-
const _hoisted_2$
|
|
38517
|
+
const _hoisted_2$w = ["innerHTML"];
|
|
38518
38518
|
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
38519
38519
|
__name: "BmsServerAutocomplete",
|
|
38520
38520
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -38614,7 +38614,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
38614
38614
|
key: 0,
|
|
38615
38615
|
class: "icon datalist-icon",
|
|
38616
38616
|
innerHTML: option.icon
|
|
38617
|
-
}, null, 8, _hoisted_2$
|
|
38617
|
+
}, null, 8, _hoisted_2$w)) : (openBlock(), createBlock(resolveDynamicComponent(option.icon), {
|
|
38618
38618
|
key: 1,
|
|
38619
38619
|
class: "icon datalist-icon"
|
|
38620
38620
|
}))
|
|
@@ -38766,7 +38766,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38766
38766
|
const BmsChip = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-72b945cc"]]);
|
|
38767
38767
|
|
|
38768
38768
|
const _hoisted_1$N = { class: "file-upload" };
|
|
38769
|
-
const _hoisted_2$
|
|
38769
|
+
const _hoisted_2$v = { class: "file-upload__label" };
|
|
38770
38770
|
const _hoisted_3$g = { key: 1 };
|
|
38771
38771
|
const _hoisted_4$a = { class: "file-upload__file-name" };
|
|
38772
38772
|
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
@@ -38849,7 +38849,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
38849
38849
|
onDragover: _cache[2] || (_cache[2] = withModifiers(() => {
|
|
38850
38850
|
}, ["prevent"]))
|
|
38851
38851
|
}, [
|
|
38852
|
-
createElementVNode("label", _hoisted_2$
|
|
38852
|
+
createElementVNode("label", _hoisted_2$v, [
|
|
38853
38853
|
isDragOver.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
38854
38854
|
createTextVNode("Déposer votre image ici")
|
|
38855
38855
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -38887,7 +38887,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
38887
38887
|
const BmsFilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-c892a845"]]);
|
|
38888
38888
|
|
|
38889
38889
|
const _hoisted_1$M = ["disabled", "name", "value"];
|
|
38890
|
-
const _hoisted_2$
|
|
38890
|
+
const _hoisted_2$u = {
|
|
38891
38891
|
key: 0,
|
|
38892
38892
|
class: "input-checkbox-info"
|
|
38893
38893
|
};
|
|
@@ -38930,7 +38930,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
38930
38930
|
}, null, 8, _hoisted_1$M), [
|
|
38931
38931
|
[vModelCheckbox, inputValue.value]
|
|
38932
38932
|
]),
|
|
38933
|
-
hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
38933
|
+
hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$u, [
|
|
38934
38934
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
38935
38935
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
38936
38936
|
], true)
|
|
@@ -68010,7 +68010,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
68010
68010
|
});
|
|
68011
68011
|
|
|
68012
68012
|
const _hoisted_1$K = ["accept"];
|
|
68013
|
-
const _hoisted_2$
|
|
68013
|
+
const _hoisted_2$t = ["src"];
|
|
68014
68014
|
const _hoisted_3$f = {
|
|
68015
68015
|
key: 1,
|
|
68016
68016
|
class: "file-upload__file-name"
|
|
@@ -68170,7 +68170,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
68170
68170
|
key: 0,
|
|
68171
68171
|
src: getImageSrc(file),
|
|
68172
68172
|
class: "file-upload__file-img"
|
|
68173
|
-
}, null, 8, _hoisted_2$
|
|
68173
|
+
}, null, 8, _hoisted_2$t)) : (openBlock(), createElementBlock("span", _hoisted_3$f, toDisplayString(file.name), 1)),
|
|
68174
68174
|
createVNode(_sfc_main$1k, {
|
|
68175
68175
|
mode: unref(StatusType).Danger,
|
|
68176
68176
|
onClick: withModifiers(($event) => onDeleteFile(file), ["prevent"]),
|
|
@@ -68273,7 +68273,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
68273
68273
|
});
|
|
68274
68274
|
|
|
68275
68275
|
const _hoisted_1$J = ["value", "name", "disabled", "required"];
|
|
68276
|
-
const _hoisted_2$
|
|
68276
|
+
const _hoisted_2$s = {
|
|
68277
68277
|
key: 0,
|
|
68278
68278
|
class: "input-radio-info"
|
|
68279
68279
|
};
|
|
@@ -68317,7 +68317,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
68317
68317
|
}, null, 8, _hoisted_1$J), [
|
|
68318
68318
|
[vModelRadio, inputValue.value]
|
|
68319
68319
|
]),
|
|
68320
|
-
hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
68320
|
+
hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$s, [
|
|
68321
68321
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
68322
68322
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
68323
68323
|
], true)
|
|
@@ -68569,7 +68569,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
68569
68569
|
|
|
68570
68570
|
const UiBmsSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-6de1a5c6"]]);
|
|
68571
68571
|
|
|
68572
|
-
const _hoisted_1$H =
|
|
68572
|
+
const _hoisted_1$H = ["title"];
|
|
68573
|
+
const _hoisted_2$r = { class: "input-switch-info" };
|
|
68573
68574
|
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
68574
68575
|
__name: "BmsInputToggle",
|
|
68575
68576
|
props: {
|
|
@@ -68597,16 +68598,17 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
68597
68598
|
}, {
|
|
68598
68599
|
default: withCtx(() => [
|
|
68599
68600
|
createElementVNode("label", {
|
|
68600
|
-
class: normalizeClass(["input-toggle", { isOn: __props.modelValue, disabled: __props.disabled, overflow: __props.ellipsisLabel }])
|
|
68601
|
+
class: normalizeClass(["input-toggle", { isOn: __props.modelValue, disabled: __props.disabled, overflow: __props.ellipsisLabel }]),
|
|
68602
|
+
title: __props.ellipsisLabel ? __props.label : void 0
|
|
68601
68603
|
}, [
|
|
68602
|
-
createElementVNode("span",
|
|
68604
|
+
createElementVNode("span", _hoisted_2$r, toDisplayString(__props.label), 1),
|
|
68603
68605
|
createVNode(UiBmsSwitch, {
|
|
68604
68606
|
modelValue: __props.modelValue,
|
|
68605
68607
|
disabled: __props.disabled,
|
|
68606
68608
|
name: __props.name,
|
|
68607
68609
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = (value) => _ctx.$emit("update:modelValue", value))
|
|
68608
68610
|
}, null, 8, ["modelValue", "disabled", "name"])
|
|
68609
|
-
],
|
|
68611
|
+
], 10, _hoisted_1$H)
|
|
68610
68612
|
]),
|
|
68611
68613
|
_: 1
|
|
68612
68614
|
}, 8, ["disabled", "small", "ellipsisLabel"]);
|
|
@@ -68614,7 +68616,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
68614
68616
|
}
|
|
68615
68617
|
});
|
|
68616
68618
|
|
|
68617
|
-
const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-
|
|
68619
|
+
const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-5f354760"]]);
|
|
68618
68620
|
|
|
68619
68621
|
const _hoisted_1$G = { class: "dismiss-button" };
|
|
68620
68622
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|