@ouestfrance/sipa-bms-ui 8.23.2 → 8.23.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.
@@ -7,7 +7,7 @@
7
7
  * - Please do NOT modify this file.
8
8
  */
9
9
 
10
- const PACKAGE_VERSION = '2.12.4'
10
+ const PACKAGE_VERSION = '2.12.7'
11
11
  const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'
12
12
  const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
13
13
  const activeClientIds = new Set()
@@ -268,59 +268,74 @@
268
268
  --bms-button-disabled-background-color: transparent;
269
269
  --bms-button-disabled-border-color: transparent;
270
270
  --bms-button-disabled-text-color: var(--bms-disabled-color);
271
- }.toggle-icon[data-v-1070e8e1] {
271
+ }.toggle-icon[data-v-76fd6513] {
272
272
  --icon-color: var(--bms-grey-100);
273
273
  --underline-color: transparent;
274
274
  background: none;
275
275
  border: none;
276
276
  padding: 0;
277
- padding-bottom: 0.25em;
278
277
  cursor: pointer;
279
278
  display: inline-flex;
280
279
  align-items: center;
281
280
  justify-content: center;
282
281
  position: relative;
282
+ width: 34px;
283
+ height: 34px;
284
+ padding: 7px 0;
283
285
  }
284
- .toggle-icon[data-v-1070e8e1] svg {
286
+ .toggle-icon[data-v-76fd6513] svg {
285
287
  color: var(--icon-color);
286
288
  transition: color 0.2s;
289
+ width: 20px;
290
+ height: 20px;
291
+ display: block;
287
292
  }
288
- .toggle-icon[data-v-1070e8e1]::after {
293
+ .toggle-icon[data-v-76fd6513]::after {
289
294
  content: "";
290
295
  position: absolute;
291
- bottom: 0;
292
- left: 0;
293
- right: 0;
294
- height: 0.125em;
296
+ bottom: 3px;
297
+ left: 50%;
298
+ transform: translateX(-50%);
299
+ width: 20px;
300
+ height: 2px;
295
301
  background-color: var(--underline-color);
296
302
  transition: background-color 0.2s;
297
303
  }
298
- .toggle-icon[data-v-1070e8e1]:hover:not(.disabled), .toggle-icon._hover[data-v-1070e8e1]:not(.disabled) {
304
+ .toggle-icon[data-v-76fd6513]:hover:not(.disabled), .toggle-icon._hover[data-v-76fd6513]:not(.disabled) {
299
305
  --icon-color: var(--bms-grey-140);
300
306
  --underline-color: var(--bms-grey-140);
301
307
  }
302
- .toggle-icon.active[data-v-1070e8e1] {
308
+ .toggle-icon.active[data-v-76fd6513] {
303
309
  --icon-color: var(--bms-main-100);
304
310
  --underline-color: var(--bms-main-100);
305
311
  }
306
- .toggle-icon.active[data-v-1070e8e1]:hover:not(.disabled), .toggle-icon.active._hover[data-v-1070e8e1]:not(.disabled) {
312
+ .toggle-icon.active[data-v-76fd6513]:hover:not(.disabled), .toggle-icon.active._hover[data-v-76fd6513]:not(.disabled) {
307
313
  --icon-color: var(--bms-main-140);
308
314
  --underline-color: var(--bms-main-140);
309
315
  }
310
- .toggle-icon.disabled[data-v-1070e8e1] {
316
+ .toggle-icon.disabled[data-v-76fd6513] {
311
317
  --icon-color: var(--bms-grey-50);
312
318
  cursor: default;
313
319
  pointer-events: none;
314
320
  }
315
- .toggle-icon.disabled.active[data-v-1070e8e1] {
321
+ .toggle-icon.disabled.active[data-v-76fd6513] {
316
322
  --underline-color: var(--bms-grey-50);
317
323
  }
318
- .toggle-icon.small[data-v-1070e8e1] svg {
324
+ .toggle-icon.small[data-v-76fd6513] {
325
+ width: 24px;
326
+ height: 24px;
327
+ padding: 0.25em 0;
328
+ }
329
+ .toggle-icon.small[data-v-76fd6513] svg {
319
330
  width: 1em;
320
331
  height: 1em;
321
332
  }
322
- .toggle-icon.small[data-v-1070e8e1]::after {
333
+ .toggle-icon.small[data-v-76fd6513]::after {
323
334
  height: 1.5px;
335
+ bottom: -2px;
336
+ left: 50%;
337
+ transform: translateX(-50%);
338
+ width: 1em;
324
339
  }.alert[data-v-26caccdd] {
325
340
  --alert-main-color: var(--bms-main-100);
326
341
  --alert-secondary-color: var(--bms-main-10);
@@ -653,7 +668,7 @@ ul li[data-v-ba5302fc]:hover, ul li.selected[data-v-ba5302fc] {
653
668
  line-height: 1;
654
669
  width: 100%;
655
670
  background-color: transparent;
656
- }.field__input .autocomplete-wrapper[data-v-f4e90286] {
671
+ }.field__input .autocomplete-wrapper[data-v-f1e65919] {
657
672
  width: 100%;
658
673
  padding: 0.7em;
659
674
  margin: 0.5em 0;
@@ -662,22 +677,22 @@ ul li[data-v-ba5302fc]:hover, ul li.selected[data-v-ba5302fc] {
662
677
  background-color: var(--input-background-color);
663
678
  height: 48px;
664
679
  }
665
- .field__input .autocomplete-wrapper[data-v-f4e90286]:hover {
680
+ .field__input .autocomplete-wrapper[data-v-f1e65919]:hover {
666
681
  --field-border-color: var(--bms-grey-100);
667
682
  }
668
- .field__input .autocomplete-wrapper[data-v-f4e90286]:has(input:focus) {
683
+ .field__input .autocomplete-wrapper[data-v-f1e65919]:has(input:focus) {
669
684
  --field-border-color: var(--field-border-color-active);
670
685
  }
671
- .field__input .autocomplete-wrapper.is-error[data-v-f4e90286] {
686
+ .field__input .autocomplete-wrapper.is-error[data-v-f1e65919] {
672
687
  --field-border-color: var(--bms-red-100);
673
688
  --input-background-color: var(--bms-red-25);
674
689
  }
675
- .field__input .autocomplete-wrapper.is-disabled[data-v-f4e90286] {
690
+ .field__input .autocomplete-wrapper.is-disabled[data-v-f1e65919] {
676
691
  --field-border-color: var(--bms-grey-25);
677
692
  --input-background-color: var(--bms-grey-25);
678
693
  pointer-events: none;
679
694
  }
680
- .field__input .autocomplete-wrapper input[data-v-f4e90286] {
695
+ .field__input .autocomplete-wrapper input[data-v-f1e65919] {
681
696
  outline: none;
682
697
  appearance: none;
683
698
  border: 0;
@@ -690,7 +705,7 @@ ul li[data-v-ba5302fc]:hover, ul li.selected[data-v-ba5302fc] {
690
705
  width: 100%;
691
706
  background-color: transparent;
692
707
  }
693
- .icon[data-v-f4e90286] {
708
+ .icon[data-v-f1e65919] {
694
709
  height: 1em;
695
710
  width: 1em;
696
711
  cursor: pointer;
@@ -1171,7 +1186,7 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1171
1186
  }
1172
1187
  .input-toggle[data-v-5f354760]:hover {
1173
1188
  cursor: var(--cursor);
1174
- }.tag[data-v-e2517fee] {
1189
+ }.tag[data-v-35d99c82] {
1175
1190
  --tag-border-color: var(--bms-main-100);
1176
1191
  --tag-background-color: transparent;
1177
1192
  --tag-color: var(--bms-main-100);
@@ -1189,52 +1204,52 @@ input[type=radio][data-v-c0c9efa3]:checked::before {
1189
1204
  background-color: var(--tag-background-color);
1190
1205
  cursor: pointer;
1191
1206
  }
1192
- .tag.disabled[data-v-e2517fee] {
1207
+ .tag.disabled[data-v-35d99c82] {
1193
1208
  pointer-events: none;
1194
1209
  cursor: default;
1195
1210
  --tag-color: var(--bms-grey-50);
1196
1211
  --tag-border-color: var(--bms-grey-50);
1197
1212
  }
1198
- .tag.disabled.active[data-v-e2517fee] {
1213
+ .tag.disabled.active[data-v-35d99c82] {
1199
1214
  --tag-color: white;
1200
1215
  --tag-background-color: var(--bms-grey-50);
1201
1216
  }
1202
- .tag.small[data-v-e2517fee] {
1217
+ .tag.small[data-v-35d99c82] {
1203
1218
  padding: 2px 4px;
1204
1219
  gap: 4px;
1205
1220
  }
1206
- .tag[data-v-e2517fee]:focus, .tag[data-v-e2517fee]:hover {
1221
+ .tag[data-v-35d99c82]:focus, .tag[data-v-35d99c82]:hover {
1207
1222
  --tag-color: var(--bms-main-140);
1208
1223
  --tag-border-color: var(--bms-main-140);
1209
1224
  }
1210
- .tag.active[data-v-e2517fee] {
1225
+ .tag.active[data-v-35d99c82] {
1211
1226
  --tag-color: white;
1212
1227
  --tag-background-color: var(--bms-main-100);
1213
1228
  }
1214
- .tag.active[data-v-e2517fee]:focus, .tag.active[data-v-e2517fee]:hover {
1229
+ .tag.active[data-v-35d99c82]:focus, .tag.active[data-v-35d99c82]:hover {
1215
1230
  --tag-border-color: var(--bms-main-140);
1216
1231
  --tag-background-color: var(--bms-main-140);
1217
1232
  }
1218
- .tag[data-v-e2517fee] svg {
1233
+ .tag[data-v-35d99c82] svg {
1219
1234
  width: 14px;
1220
1235
  height: 14px;
1221
1236
  }
1222
- .tag .dismiss-button[data-v-e2517fee] {
1237
+ .tag .dismiss-button[data-v-35d99c82] {
1223
1238
  display: flex;
1224
1239
  justify-content: center;
1225
1240
  align-items: center;
1226
1241
  background-color: var(--tag-background-color);
1227
1242
  color: var(--tag-color);
1228
1243
  }
1229
- .tag .dismiss-button[data-v-e2517fee] .bms-button {
1244
+ .tag .dismiss-button[data-v-35d99c82] .bms-button {
1230
1245
  color: currentColor;
1231
1246
  padding: 0;
1232
1247
  height: fit-content;
1233
1248
  }
1234
- .tag .dismiss-button[data-v-e2517fee] .bms-button .content {
1249
+ .tag .dismiss-button[data-v-35d99c82] .bms-button .content {
1235
1250
  margin: 0;
1236
1251
  }
1237
- .tag .dismiss-button[data-v-e2517fee] .bms-button:hover {
1252
+ .tag .dismiss-button[data-v-35d99c82] .bms-button:hover {
1238
1253
  background-color: var(--tag-background-color);
1239
1254
  }.field__input[data-v-6231389d] {
1240
1255
  --field-border-color: var(--bms-grey-50);
@@ -583,7 +583,7 @@ const _export_sfc = (sfc, props) => {
583
583
  return target;
584
584
  };
585
585
 
586
- const BmsToggleIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-1070e8e1"]]);
586
+ const BmsToggleIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-76fd6513"]]);
587
587
 
588
588
  /**
589
589
  * @license lucide-vue-next v0.562.0 - ISC
@@ -39611,11 +39611,13 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
39611
39611
  isDatalistOpen.value = !isDatalistOpen.value;
39612
39612
  }
39613
39613
  };
39614
- const onInput = () => {
39615
- openDatalist();
39614
+ const onInput = ($event) => {
39616
39615
  if (inputText.value === "") {
39617
39616
  clearInput();
39617
+ } else {
39618
+ emits("input", $event);
39618
39619
  }
39620
+ openDatalist();
39619
39621
  };
39620
39622
  const setFocus = () => {
39621
39623
  if (rawInput.value) {
@@ -39705,7 +39707,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
39705
39707
  }
39706
39708
  });
39707
39709
 
39708
- const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-f4e90286"]]);
39710
+ const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-f1e65919"]]);
39709
39711
 
39710
39712
  const _hoisted_1$R = ["innerHTML"];
39711
39713
  const _hoisted_2$z = ["innerHTML"];
@@ -69919,7 +69921,10 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
69919
69921
 
69920
69922
  const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-5f354760"]]);
69921
69923
 
69922
- const _hoisted_1$I = { class: "dismiss-button" };
69924
+ const _hoisted_1$I = {
69925
+ key: 0,
69926
+ class: "dismiss-button"
69927
+ };
69923
69928
  const _sfc_main$T = /* @__PURE__ */ defineComponent({
69924
69929
  __name: "BmsTag",
69925
69930
  props: {
@@ -69937,9 +69942,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
69937
69942
  onClick: _cache[1] || (_cache[1] = ($event) => emits("click"))
69938
69943
  }, [
69939
69944
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
69940
- createElementVNode("span", _hoisted_1$I, [
69941
- __props.canBeDismissed ? (openBlock(), createBlock(unref(_sfc_main$1p), {
69942
- key: 0,
69945
+ __props.canBeDismissed ? (openBlock(), createElementBlock("span", _hoisted_1$I, [
69946
+ createVNode(unref(_sfc_main$1p), {
69943
69947
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emits("dismiss"), ["stop"]))
69944
69948
  }, {
69945
69949
  default: withCtx(() => [
@@ -69948,14 +69952,14 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
69948
69952
  ], true)
69949
69953
  ]),
69950
69954
  _: 3
69951
- })) : createCommentVNode("", true)
69952
- ])
69955
+ })
69956
+ ])) : createCommentVNode("", true)
69953
69957
  ], 2);
69954
69958
  };
69955
69959
  }
69956
69960
  });
69957
69961
 
69958
- const BmsTag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-e2517fee"]]);
69962
+ const BmsTag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-35d99c82"]]);
69959
69963
 
69960
69964
  const _sfc_main$S = /* @__PURE__ */ defineComponent({
69961
69965
  __name: "RawSelect",