@ouestfrance/sipa-bms-ui 8.17.0 → 8.18.0

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.
@@ -332,7 +332,7 @@
332
332
 
333
333
  const _hoisted_1$$ = ["href", "target"];
334
334
  const _hoisted_2$G = ["href", "onClick", "target"];
335
- const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
335
+ const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
336
336
  __name: "BmsLink",
337
337
  props: {
338
338
  to: {},
@@ -382,7 +382,7 @@
382
382
  });
383
383
 
384
384
  const _hoisted_1$_ = ["type"];
385
- const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
385
+ const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
386
386
  __name: "UiButtonLink",
387
387
  props: {
388
388
  type: {},
@@ -407,7 +407,7 @@
407
407
  type: __props.type
408
408
  }, [
409
409
  vue.renderSlot(_ctx.$slots, "default")
410
- ], 10, _hoisted_1$_)) : (vue.openBlock(), vue.createBlock(_sfc_main$1q, {
410
+ ], 10, _hoisted_1$_)) : (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
411
411
  key: 1,
412
412
  to: __props.to,
413
413
  target: __props.target,
@@ -425,7 +425,7 @@
425
425
  const _hoisted_1$Z = { class: "start" };
426
426
  const _hoisted_2$F = { class: "content" };
427
427
  const _hoisted_3$m = { class: "end" };
428
- const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
428
+ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
429
429
  __name: "UiButton",
430
430
  props: {
431
431
  type: { default: "button" },
@@ -438,7 +438,7 @@
438
438
  setup(__props) {
439
439
  const props = __props;
440
440
  return (_ctx, _cache) => {
441
- return vue.openBlock(), vue.createBlock(_sfc_main$1p, vue.normalizeProps(vue.guardReactiveProps(props)), {
441
+ return vue.openBlock(), vue.createBlock(_sfc_main$1q, vue.normalizeProps(vue.guardReactiveProps(props)), {
442
442
  default: vue.withCtx(() => [
443
443
  vue.createElementVNode("span", _hoisted_1$Z, [
444
444
  vue.renderSlot(_ctx.$slots, "start")
@@ -456,7 +456,7 @@
456
456
  }
457
457
  });
458
458
 
459
- const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
459
+ const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
460
460
  __name: "BmsButton",
461
461
  props: {
462
462
  type: { default: "primary" },
@@ -480,7 +480,7 @@
480
480
  }
481
481
  });
482
482
  return (_ctx, _cache) => {
483
- return vue.openBlock(), vue.createBlock(_sfc_main$1o, {
483
+ return vue.openBlock(), vue.createBlock(_sfc_main$1p, {
484
484
  mode: uiMode.value,
485
485
  color: __props.mode,
486
486
  to: __props.to,
@@ -502,7 +502,7 @@
502
502
  }
503
503
  });
504
504
 
505
- const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
505
+ const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
506
506
  __name: "BmsIconButton",
507
507
  props: {
508
508
  to: { default: null },
@@ -522,7 +522,7 @@
522
522
  direction: __props.tooltipDirection
523
523
  }, {
524
524
  default: vue.withCtx(() => [
525
- vue.createVNode(_sfc_main$1o, vue.mergeProps(_ctx.$attrs, {
525
+ vue.createVNode(_sfc_main$1p, vue.mergeProps(_ctx.$attrs, {
526
526
  icon: "",
527
527
  to: __props.to,
528
528
  target: __props.target,
@@ -37448,7 +37448,7 @@
37448
37448
  const _hoisted_1$Y = { class: "info-line" };
37449
37449
  const _hoisted_2$E = { class: "icon" };
37450
37450
  const _hoisted_3$l = { class: "message" };
37451
- const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
37451
+ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
37452
37452
  __name: "BmsAlert",
37453
37453
  props: {
37454
37454
  message: {},
@@ -37483,7 +37483,7 @@
37483
37483
  ], true)
37484
37484
  ]),
37485
37485
  vue.renderSlot(_ctx.$slots, "action", {}, void 0, true),
37486
- __props.dismissable ? (vue.openBlock(), vue.createBlock(_sfc_main$1m, {
37486
+ __props.dismissable ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
37487
37487
  key: 0,
37488
37488
  onClick: _cache[0] || (_cache[0] = ($event) => emits("dismiss"))
37489
37489
  }, {
@@ -37507,13 +37507,13 @@
37507
37507
  return target;
37508
37508
  };
37509
37509
 
37510
- const BmsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-26caccdd"]]);
37510
+ const BmsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-26caccdd"]]);
37511
37511
 
37512
37512
  const _hoisted_1$X = {
37513
37513
  key: 0,
37514
37514
  class: "ui-badge__container"
37515
37515
  };
37516
- const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
37516
+ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
37517
37517
  __name: "BmsBadge",
37518
37518
  props: {
37519
37519
  pending: { default: 0 },
@@ -37539,14 +37539,14 @@
37539
37539
  }
37540
37540
  });
37541
37541
 
37542
- const BmsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-8a6297ca"]]);
37542
+ const BmsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-8a6297ca"]]);
37543
37543
 
37544
37544
  const _hoisted_1$W = {
37545
37545
  key: 0,
37546
37546
  class: "icon"
37547
37547
  };
37548
37548
  const _hoisted_2$D = ["innerHTML"];
37549
- const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
37549
+ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
37550
37550
  __name: "BmsCaption",
37551
37551
  props: {
37552
37552
  caption: {}
@@ -37589,7 +37589,7 @@
37589
37589
  }
37590
37590
  });
37591
37591
 
37592
- const BmsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-b08dd4e0"]]);
37592
+ const BmsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-b08dd4e0"]]);
37593
37593
 
37594
37594
  const _hoisted_1$V = { class: "circular-progress" };
37595
37595
  const _hoisted_2$C = {
@@ -37599,7 +37599,7 @@
37599
37599
  const _hoisted_3$k = { transform: "rotate(-90, 50, 50)" };
37600
37600
  const _hoisted_4$d = ["stroke-dashoffset"];
37601
37601
  const _hoisted_5$9 = { class: "percent" };
37602
- const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
37602
+ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
37603
37603
  __name: "BmsCircularProgress",
37604
37604
  props: ["progress"],
37605
37605
  setup(__props) {
@@ -37634,13 +37634,13 @@
37634
37634
  }
37635
37635
  });
37636
37636
 
37637
- const BmsCircularProgress = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-7869acfb"]]);
37637
+ const BmsCircularProgress = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-7869acfb"]]);
37638
37638
 
37639
37639
  const _hoisted_1$U = { class: "bms-loader" };
37640
37640
  function transformIntoPx(totransform) {
37641
37641
  return typeof totransform === "string" ? totransform : `${totransform}px`;
37642
37642
  }
37643
- const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
37643
+ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
37644
37644
  __name: "BmsLoader",
37645
37645
  props: {
37646
37646
  size: { default: "inherit" }
@@ -37661,7 +37661,7 @@
37661
37661
  }
37662
37662
  });
37663
37663
 
37664
- const BmsLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-7cc96135"]]);
37664
+ const BmsLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-7cc96135"]]);
37665
37665
 
37666
37666
  function tryOnScopeDispose(fn) {
37667
37667
  if (vue.getCurrentScope()) {
@@ -38555,7 +38555,7 @@
38555
38555
  };
38556
38556
  };
38557
38557
 
38558
- const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
38558
+ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
38559
38559
  __name: "UiTooltip",
38560
38560
  props: {
38561
38561
  visible: { type: Boolean, default: true },
@@ -38631,9 +38631,9 @@
38631
38631
  }
38632
38632
  });
38633
38633
 
38634
- const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-bf923418"]]);
38634
+ const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-bf923418"]]);
38635
38635
 
38636
- const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
38636
+ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
38637
38637
  __name: "BmsTooltip",
38638
38638
  props: {
38639
38639
  tooltipText: { default: "" },
@@ -38712,14 +38712,14 @@
38712
38712
  }
38713
38713
  });
38714
38714
 
38715
- const BmsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-b033f8af"]]);
38715
+ const BmsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-b033f8af"]]);
38716
38716
 
38717
38717
  const _hoisted_1$T = {
38718
38718
  class: "options-list",
38719
38719
  "data-testid": "select-options"
38720
38720
  };
38721
38721
  const _hoisted_2$B = ["data-testid", "onClick"];
38722
- const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
38722
+ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
38723
38723
  __name: "FieldDatalist",
38724
38724
  props: {
38725
38725
  options: {},
@@ -38816,13 +38816,13 @@
38816
38816
  }
38817
38817
  });
38818
38818
 
38819
- const FieldDatalist = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-ba5302fc"]]);
38819
+ const FieldDatalist = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-ba5302fc"]]);
38820
38820
 
38821
38821
  const _hoisted_1$S = { class: "field__input-label" };
38822
38822
  const _hoisted_2$A = { class: "field__input-icon field__input-icon--start" };
38823
38823
  const _hoisted_3$j = ["type", "value", "placeholder", "required", "disabled", "max", "min", "minlength", "maxlength"];
38824
38824
  const _hoisted_4$c = { class: "field__input-icon field__input-icon--end" };
38825
- const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
38825
+ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
38826
38826
  __name: "RawInputText",
38827
38827
  props: {
38828
38828
  modelValue: {},
@@ -38903,9 +38903,9 @@
38903
38903
  }
38904
38904
  });
38905
38905
 
38906
- const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-4c74b915"]]);
38906
+ const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-4c74b915"]]);
38907
38907
 
38908
- const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
38908
+ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
38909
38909
  __name: "RawAutocomplete",
38910
38910
  props: /* @__PURE__ */ vue.mergeModels({
38911
38911
  options: {},
@@ -39077,11 +39077,11 @@
39077
39077
  }
39078
39078
  });
39079
39079
 
39080
- const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-15343285"]]);
39080
+ const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-15343285"]]);
39081
39081
 
39082
39082
  const _hoisted_1$R = ["innerHTML"];
39083
39083
  const _hoisted_2$z = ["innerHTML"];
39084
- const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
39084
+ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
39085
39085
  __name: "BmsAutocomplete",
39086
39086
  props: /* @__PURE__ */ vue.mergeModels({
39087
39087
  options: {},
@@ -39172,11 +39172,11 @@
39172
39172
  }
39173
39173
  });
39174
39174
 
39175
- const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-43ad5137"]]);
39175
+ const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-43ad5137"]]);
39176
39176
 
39177
39177
  const _hoisted_1$Q = ["innerHTML"];
39178
39178
  const _hoisted_2$y = ["innerHTML"];
39179
- const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
39179
+ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
39180
39180
  __name: "BmsServerAutocomplete",
39181
39181
  props: /* @__PURE__ */ vue.mergeModels({
39182
39182
  url: {},
@@ -39308,9 +39308,9 @@
39308
39308
  }
39309
39309
  });
39310
39310
 
39311
- const BmsServerAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-d94effd6"]]);
39311
+ const BmsServerAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-d94effd6"]]);
39312
39312
 
39313
- const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
39313
+ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
39314
39314
  __name: "BmsBetweenInput",
39315
39315
  props: {
39316
39316
  inputType: { default: InputType.NUMBER },
@@ -39407,9 +39407,9 @@
39407
39407
  }
39408
39408
  });
39409
39409
 
39410
- const BmsBetweenInput = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-f25b520b"]]);
39410
+ const BmsBetweenInput = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-f25b520b"]]);
39411
39411
 
39412
- const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
39412
+ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
39413
39413
  __name: "BmsChip",
39414
39414
  props: {
39415
39415
  color: { default: ChipColor.Grey }
@@ -39432,13 +39432,13 @@
39432
39432
  }
39433
39433
  });
39434
39434
 
39435
- const BmsChip = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-72b945cc"]]);
39435
+ const BmsChip = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-72b945cc"]]);
39436
39436
 
39437
39437
  const _hoisted_1$P = { class: "file-upload" };
39438
39438
  const _hoisted_2$x = { class: "file-upload__label" };
39439
39439
  const _hoisted_3$i = { key: 1 };
39440
39440
  const _hoisted_4$b = { class: "file-upload__file-name" };
39441
- const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
39441
+ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
39442
39442
  __name: "BmsFilePicker",
39443
39443
  props: {
39444
39444
  modelValue: {},
@@ -39537,7 +39537,7 @@
39537
39537
  class: "file-upload__file"
39538
39538
  }, [
39539
39539
  vue.createElementVNode("span", _hoisted_4$b, vue.toDisplayString(file.name), 1),
39540
- vue.createVNode(vue.unref(_sfc_main$1m), {
39540
+ vue.createVNode(vue.unref(_sfc_main$1n), {
39541
39541
  onClick: ($event) => onDeleteFile(file)
39542
39542
  }, {
39543
39543
  default: vue.withCtx(() => [
@@ -39553,14 +39553,14 @@
39553
39553
  }
39554
39554
  });
39555
39555
 
39556
- const BmsFilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-c892a845"]]);
39556
+ const BmsFilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-c892a845"]]);
39557
39557
 
39558
39558
  const _hoisted_1$O = ["disabled", "name", "value"];
39559
39559
  const _hoisted_2$w = {
39560
39560
  key: 0,
39561
39561
  class: "input-checkbox-info"
39562
39562
  };
39563
- const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
39563
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
39564
39564
  __name: "UiBmsInputCheckbox",
39565
39565
  props: {
39566
39566
  modelValue: { default: false },
@@ -39610,9 +39610,9 @@
39610
39610
  }
39611
39611
  });
39612
39612
 
39613
- const UiBmsInputCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-e1d94c62"]]);
39613
+ const UiBmsInputCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-e1d94c62"]]);
39614
39614
 
39615
- const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
39615
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
39616
39616
  __name: "BmsInputBooleanCheckbox",
39617
39617
  props: {
39618
39618
  modelValue: {},
@@ -39733,7 +39733,7 @@
39733
39733
  return _v4(options, buf, offset);
39734
39734
  }
39735
39735
 
39736
- const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
39736
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
39737
39737
  __name: "BmsInputCheckboxGroup",
39738
39738
  props: {
39739
39739
  values: {},
@@ -39804,9 +39804,9 @@
39804
39804
  }
39805
39805
  });
39806
39806
 
39807
- const BmsInputCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-43978315"]]);
39807
+ const BmsInputCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-43978315"]]);
39808
39808
 
39809
- const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
39809
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
39810
39810
  __name: "BmsInputCheckboxCaption",
39811
39811
  props: {
39812
39812
  modelValue: {},
@@ -39882,9 +39882,9 @@
39882
39882
  }
39883
39883
  });
39884
39884
 
39885
- const BmsInputCheckboxCaption = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-6cb7c474"]]);
39885
+ const BmsInputCheckboxCaption = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-6cb7c474"]]);
39886
39886
 
39887
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
39887
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
39888
39888
  __name: "BmsInputCheckboxCaptionGroup",
39889
39889
  props: {
39890
39890
  options: { default: () => [] },
@@ -39939,7 +39939,7 @@
39939
39939
  }
39940
39940
  });
39941
39941
 
39942
- const BmsInputCheckboxCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-4183cc04"]]);
39942
+ const BmsInputCheckboxCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-4183cc04"]]);
39943
39943
 
39944
39944
  /**
39945
39945
  The default maximum length of a `TreeBuffer` node.
@@ -68465,7 +68465,7 @@
68465
68465
  var h=Object.freeze({autofocus:false,disabled:false,indentWithTab:true,tabSize:2,placeholder:"",autoDestroy:true,extensions:[basicSetup]}),y=Symbol("vue-codemirror-global-config");var O,j=function(e){var t=e.onUpdate,n=e.onChange,o=e.onFocus,r=e.onBlur,u=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);}return n}(e,["onUpdate","onChange","onFocus","onBlur"]);return EditorState.create({doc:u.doc,selection:u.selection,extensions:(Array.isArray(u.extensions)?u.extensions:[u.extensions]).concat([EditorView.updateListener.of((function(e){t(e),e.docChanged&&n(e.state.doc.toString(),e),e.focusChanged&&(e.view.hasFocus?o(e):r(e));}))])})},S=function(e){var t=new Compartment;return {compartment:t,run:function(n){t.get(e.state)?e.dispatch({effects:t.reconfigure(n)}):e.dispatch({effects:StateEffect.appendConfig.of(t.of(n))});}}},x=function(e,t){var n=S(e),o=n.compartment,r=n.run;return function(n){var u=o.get(e.state);r((null!=n?n:u!==t)?t:[]);}},C={type:Boolean,default:void 0},D={autofocus:C,disabled:C,indentWithTab:C,tabSize:Number,placeholder:String,style:Object,autoDestroy:C,phrases:Object,root:Object,extensions:Array,selection:Object},U={modelValue:{type:String,default:""}},w=Object.assign(Object.assign({},D),U);!function(e){e.Change="change",e.Update="update",e.Focus="focus",e.Blur="blur",e.Ready="ready",e.ModelUpdate="update:modelValue";}(O||(O={}));var z={};z[O.Change]=function(e,t){return true},z[O.Update]=function(e){return true},z[O.Focus]=function(e){return true},z[O.Blur]=function(e){return true},z[O.Ready]=function(e){return true};var B={};B[O.ModelUpdate]=z[O.Change];var F=Object.assign(Object.assign({},z),B),P=vue.defineComponent({name:"VueCodemirror",props:Object.assign({},w),emits:Object.assign({},F),setup:function(t,s){var f=vue.shallowRef(),d=vue.shallowRef(),C=vue.shallowRef(),D=Object.assign(Object.assign({},h),vue.inject(y,{})),U=vue.computed((function(){var e={};return Object.keys(vue.toRaw(t)).forEach((function(n){var o;"modelValue"!==n&&(e[n]=null!==(o=t[n])&&void 0!==o?o:D[n]);})),e}));return vue.onMounted((function(){var e;d.value=j({doc:t.modelValue,selection:U.value.selection,extensions:null!==(e=D.extensions)&&void 0!==e?e:[],onFocus:function(e){return s.emit(O.Focus,e)},onBlur:function(e){return s.emit(O.Blur,e)},onUpdate:function(e){return s.emit(O.Update,e)},onChange:function(e,n){e!==t.modelValue&&(s.emit(O.Change,e,n),s.emit(O.ModelUpdate,e,n));}}),C.value=function(e){return new EditorView(Object.assign({},e))}({state:d.value,parent:f.value,root:U.value.root});var n=function(e){var t=function(){return e.state.doc.toString()},n=S(e).run,o=x(e,[EditorView.editable.of(false),EditorState.readOnly.of(true)]),r=x(e,keymap.of([indentWithTab])),u=S(e).run,a=S(e).run,i=S(e).run,c=S(e).run;return {focus:function(){return e.focus()},getDoc:t,setDoc:function(n){n!==t()&&e.dispatch({changes:{from:0,to:e.state.doc.length,insert:n}});},reExtensions:n,toggleDisabled:o,toggleIndentWithTab:r,setTabSize:function(e){u([EditorState.tabSize.of(e),indentUnit.of(" ".repeat(e))]);},setPhrases:function(e){a([EditorState.phrases.of(e)]);},setPlaceholder:function(e){i(placeholder(e));},setStyle:function(e){ void 0===e&&(e={}),c(EditorView.theme({"&":Object.assign({},e)}));}}}(C.value);vue.watch((function(){return t.modelValue}),(function(e){e!==n.getDoc()&&n.setDoc(e);})),vue.watch((function(){return t.extensions}),(function(e){return n.reExtensions(e||[])}),{immediate:true}),vue.watch((function(){return U.value.disabled}),(function(e){return n.toggleDisabled(e)}),{immediate:true}),vue.watch((function(){return U.value.indentWithTab}),(function(e){return n.toggleIndentWithTab(e)}),{immediate:true}),vue.watch((function(){return U.value.tabSize}),(function(e){return n.setTabSize(e)}),{immediate:true}),vue.watch((function(){return U.value.phrases}),(function(e){return n.setPhrases(e||{})}),{immediate:true}),vue.watch((function(){return U.value.placeholder}),(function(e){return n.setPlaceholder(e)}),{immediate:true}),vue.watch((function(){return U.value.style}),(function(e){return n.setStyle(e)}),{immediate:true}),U.value.autofocus&&n.focus(),s.emit(O.Ready,{state:d.value,view:C.value,container:f.value});})),vue.onBeforeUnmount((function(){U.value.autoDestroy&&C.value&&function(e){e.destroy();}(C.value);})),function(){return vue.h("div",{class:"v-codemirror",style:{display:"contents"},ref:f})}}}),T=P;
68466
68466
 
68467
68467
  const _hoisted_1$N = { class: "code-mirror" };
68468
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
68468
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
68469
68469
  __name: "BmsInputCode",
68470
68470
  props: /* @__PURE__ */ vue.mergeModels({
68471
68471
  type: {},
@@ -68518,9 +68518,9 @@
68518
68518
  }
68519
68519
  });
68520
68520
 
68521
- const BmsInputCode = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-0de8ac2e"]]);
68521
+ const BmsInputCode = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-0de8ac2e"]]);
68522
68522
 
68523
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
68523
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
68524
68524
  __name: "BmsInputText",
68525
68525
  props: {
68526
68526
  inputType: { default: InputType.TEXT },
@@ -68635,7 +68635,7 @@
68635
68635
  }
68636
68636
  });
68637
68637
 
68638
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
68638
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
68639
68639
  __name: "BmsInputDateTime",
68640
68640
  props: {
68641
68641
  modelValue: {},
@@ -68661,7 +68661,7 @@
68661
68661
  if (!props.disabled && value) $emits("update:modelValue", value);
68662
68662
  };
68663
68663
  return (_ctx, _cache) => {
68664
- return vue.openBlock(), vue.createBlock(_sfc_main$10, {
68664
+ return vue.openBlock(), vue.createBlock(_sfc_main$11, {
68665
68665
  modelValue: __props.modelValue,
68666
68666
  label: __props.label,
68667
68667
  required: __props.required,
@@ -68684,7 +68684,7 @@
68684
68684
  key: 1,
68685
68685
  class: "file-upload__file-name"
68686
68686
  };
68687
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
68687
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
68688
68688
  __name: "BmsInputFile",
68689
68689
  props: {
68690
68690
  modelValue: {},
@@ -68840,7 +68840,7 @@
68840
68840
  src: getImageSrc(file),
68841
68841
  class: "file-upload__file-img"
68842
68842
  }, null, 8, _hoisted_2$v)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$h, vue.toDisplayString(file.name), 1)),
68843
- vue.createVNode(_sfc_main$1m, {
68843
+ vue.createVNode(_sfc_main$1n, {
68844
68844
  mode: vue.unref(StatusType).Danger,
68845
68845
  onClick: vue.withModifiers(($event) => onDeleteFile(file), ["prevent"]),
68846
68846
  class: "close-button"
@@ -68860,9 +68860,9 @@
68860
68860
  }
68861
68861
  });
68862
68862
 
68863
- const BmsInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-07e6912d"]]);
68863
+ const BmsInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-07e6912d"]]);
68864
68864
 
68865
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
68865
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
68866
68866
  __name: "BmsInputNumber",
68867
68867
  props: {
68868
68868
  modelValue: {},
@@ -68922,7 +68922,7 @@
68922
68922
  () => checkLimit()
68923
68923
  );
68924
68924
  return (_ctx, _cache) => {
68925
- return vue.openBlock(), vue.createBlock(_sfc_main$10, {
68925
+ return vue.openBlock(), vue.createBlock(_sfc_main$11, {
68926
68926
  modelValue: __props.modelValue,
68927
68927
  label: __props.label,
68928
68928
  required: __props.required,
@@ -68946,7 +68946,7 @@
68946
68946
  key: 0,
68947
68947
  class: "input-radio-info"
68948
68948
  };
68949
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
68949
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
68950
68950
  __name: "BmsInputRadio",
68951
68951
  props: {
68952
68952
  modelValue: {},
@@ -68997,9 +68997,9 @@
68997
68997
  }
68998
68998
  });
68999
68999
 
69000
- const BmsInputRadio = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-c0c9efa3"]]);
69000
+ const BmsInputRadio = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-c0c9efa3"]]);
69001
69001
 
69002
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
69002
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
69003
69003
  __name: "BmsInputRadioGroup",
69004
69004
  props: {
69005
69005
  values: { default: () => [] },
@@ -69070,9 +69070,9 @@
69070
69070
  }
69071
69071
  });
69072
69072
 
69073
- const BmsInputRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-186163e2"]]);
69073
+ const BmsInputRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-186163e2"]]);
69074
69074
 
69075
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
69075
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
69076
69076
  __name: "BmsInputRadioCaption",
69077
69077
  props: {
69078
69078
  modelValue: {},
@@ -69134,9 +69134,9 @@
69134
69134
  }
69135
69135
  });
69136
69136
 
69137
- const BmsInputRadioCaption = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-c3ba4fee"]]);
69137
+ const BmsInputRadioCaption = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-c3ba4fee"]]);
69138
69138
 
69139
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
69139
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
69140
69140
  __name: "BmsInputRadioCaptionGroup",
69141
69141
  props: {
69142
69142
  options: { default: () => [] },
@@ -69196,10 +69196,10 @@
69196
69196
  }
69197
69197
  });
69198
69198
 
69199
- const BmsInputRadioCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-a4287904"]]);
69199
+ const BmsInputRadioCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-a4287904"]]);
69200
69200
 
69201
69201
  const _hoisted_1$K = ["disabled", "name"];
69202
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
69202
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
69203
69203
  __name: "UiBmsSwitch",
69204
69204
  props: {
69205
69205
  disabled: { type: Boolean, default: false },
@@ -69236,11 +69236,11 @@
69236
69236
  }
69237
69237
  });
69238
69238
 
69239
- const UiBmsSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-6de1a5c6"]]);
69239
+ const UiBmsSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-6de1a5c6"]]);
69240
69240
 
69241
69241
  const _hoisted_1$J = ["title"];
69242
69242
  const _hoisted_2$t = { class: "input-switch-info" };
69243
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
69243
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
69244
69244
  __name: "BmsInputToggle",
69245
69245
  props: {
69246
69246
  name: {},
@@ -69285,10 +69285,10 @@
69285
69285
  }
69286
69286
  });
69287
69287
 
69288
- const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-5f354760"]]);
69288
+ const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-5f354760"]]);
69289
69289
 
69290
69290
  const _hoisted_1$I = { class: "dismiss-button" };
69291
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
69291
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
69292
69292
  __name: "BmsTag",
69293
69293
  props: {
69294
69294
  active: { type: Boolean, default: false },
@@ -69306,7 +69306,7 @@
69306
69306
  }, [
69307
69307
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
69308
69308
  vue.createElementVNode("span", _hoisted_1$I, [
69309
- __props.canBeDismissed ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$1m), {
69309
+ __props.canBeDismissed ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$1n), {
69310
69310
  key: 0,
69311
69311
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => emits("dismiss"), ["stop"]))
69312
69312
  }, {
@@ -69323,9 +69323,9 @@
69323
69323
  }
69324
69324
  });
69325
69325
 
69326
- const BmsTag = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-e2517fee"]]);
69326
+ const BmsTag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-e2517fee"]]);
69327
69327
 
69328
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
69328
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
69329
69329
  __name: "RawSelect",
69330
69330
  props: {
69331
69331
  options: {},
@@ -69383,12 +69383,12 @@
69383
69383
  }
69384
69384
  });
69385
69385
 
69386
- const RawSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-6231389d"]]);
69386
+ const RawSelect = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-6231389d"]]);
69387
69387
 
69388
69388
  const _hoisted_1$H = { class: "tags" };
69389
69389
  const _hoisted_2$s = ["disabled"];
69390
69390
  const _hoisted_3$g = { class: "icon-container" };
69391
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
69391
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
69392
69392
  __name: "BmsMultiSelect",
69393
69393
  props: /* @__PURE__ */ vue.mergeModels({
69394
69394
  options: {},
@@ -69543,9 +69543,9 @@
69543
69543
  }
69544
69544
  });
69545
69545
 
69546
- const BmsMultiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-b8b817ba"]]);
69546
+ const BmsMultiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-b8b817ba"]]);
69547
69547
 
69548
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
69548
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
69549
69549
  __name: "BmsSearch",
69550
69550
  props: {
69551
69551
  modelValue: {},
@@ -69575,7 +69575,7 @@
69575
69575
  setFocus
69576
69576
  });
69577
69577
  return (_ctx, _cache) => {
69578
- return vue.openBlock(), vue.createBlock(_sfc_main$10, {
69578
+ return vue.openBlock(), vue.createBlock(_sfc_main$11, {
69579
69579
  ref_key: "input",
69580
69580
  ref: input,
69581
69581
  modelValue: search.value,
@@ -69604,7 +69604,7 @@
69604
69604
  }
69605
69605
  });
69606
69606
 
69607
- const BmsSearch = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-66c267f2"]]);
69607
+ const BmsSearch = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-66c267f2"]]);
69608
69608
 
69609
69609
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
69610
69610
 
@@ -86826,7 +86826,7 @@
86826
86826
 
86827
86827
  const _hoisted_1$G = ["value", "placeholder", "required", "disabled"];
86828
86828
  const _hoisted_2$r = { class: "icon-toggle-container" };
86829
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
86829
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
86830
86830
  __name: "BmsSelect",
86831
86831
  props: /* @__PURE__ */ vue.mergeModels({
86832
86832
  options: {},
@@ -86925,10 +86925,10 @@
86925
86925
  }
86926
86926
  });
86927
86927
 
86928
- const BmsSelect = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-7aef9c6c"]]);
86928
+ const BmsSelect = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-7aef9c6c"]]);
86929
86929
 
86930
86930
  const _hoisted_1$F = ["value", "required", "placeholder", "disabled"];
86931
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
86931
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
86932
86932
  __name: "BmsTextArea",
86933
86933
  props: {
86934
86934
  modelValue: {},
@@ -86993,11 +86993,11 @@
86993
86993
  }
86994
86994
  });
86995
86995
 
86996
- const BmsTextArea = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-94de6dd9"]]);
86996
+ const BmsTextArea = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-94de6dd9"]]);
86997
86997
 
86998
86998
  const _hoisted_1$E = { class: "page__breadcrumb" };
86999
86999
  const _hoisted_2$q = { class: "page__header" };
87000
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
87000
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
87001
87001
  __name: "BmsContentPageLayout",
87002
87002
  props: {
87003
87003
  size: { default: "large" }
@@ -87024,14 +87024,14 @@
87024
87024
  }
87025
87025
  });
87026
87026
 
87027
- const BmsContentPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-31057778"]]);
87027
+ const BmsContentPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-31057778"]]);
87028
87028
 
87029
87029
  const _hoisted_1$D = { class: "card__body__content" };
87030
87030
  const _hoisted_2$p = {
87031
87031
  key: 0,
87032
87032
  class: "card__body__action"
87033
87033
  };
87034
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
87034
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
87035
87035
  __name: "BmsCard",
87036
87036
  props: {
87037
87037
  animated: { type: Boolean, default: false },
@@ -87071,7 +87071,7 @@
87071
87071
  class: vue.normalizeClass(["card__body", { animated: __props.animated, hasAction: !!_ctx.$slots.action }])
87072
87072
  }, [
87073
87073
  vue.createElementVNode("div", _hoisted_1$D, [
87074
- __props.to ? (vue.openBlock(), vue.createBlock(_sfc_main$1q, {
87074
+ __props.to ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
87075
87075
  key: 0,
87076
87076
  class: "card__body__content__link",
87077
87077
  to: __props.to
@@ -87091,14 +87091,14 @@
87091
87091
  }
87092
87092
  });
87093
87093
 
87094
- const BmsCard = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-cff3f84d"]]);
87094
+ const BmsCard = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-cff3f84d"]]);
87095
87095
 
87096
87096
  const _hoisted_1$C = { class: "floating-window-wrapper" };
87097
87097
  const _hoisted_2$o = { class: "floating-window" };
87098
87098
  const _hoisted_3$f = { class: "floating-window__header" };
87099
87099
  const _hoisted_4$a = { class: "floating-window__header__buttons" };
87100
87100
  const _hoisted_5$8 = { class: "floating-window__content" };
87101
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
87101
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
87102
87102
  __name: "BmsFloatingWindow",
87103
87103
  props: /* @__PURE__ */ vue.mergeModels({
87104
87104
  title: {}
@@ -87117,7 +87117,7 @@
87117
87117
  vue.createElementVNode("div", _hoisted_3$f, [
87118
87118
  vue.createElementVNode("h2", null, vue.toDisplayString(__props.title), 1),
87119
87119
  vue.createElementVNode("div", _hoisted_4$a, [
87120
- vue.createVNode(_sfc_main$1m, {
87120
+ vue.createVNode(_sfc_main$1n, {
87121
87121
  "tooltip-text": "Maximiser la fenêtre",
87122
87122
  disabled: ""
87123
87123
  }, {
@@ -87126,7 +87126,7 @@
87126
87126
  ]),
87127
87127
  _: 1
87128
87128
  }),
87129
- vue.createVNode(_sfc_main$1m, {
87129
+ vue.createVNode(_sfc_main$1n, {
87130
87130
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => open.value = false, ["prevent", "stop"]))
87131
87131
  }, {
87132
87132
  default: vue.withCtx(() => [
@@ -87147,7 +87147,7 @@
87147
87147
  }
87148
87148
  });
87149
87149
 
87150
- const BmsFloatingWindow = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-9bfb3c86"]]);
87150
+ const BmsFloatingWindow = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-fdb4e567"]]);
87151
87151
 
87152
87152
  const _hoisted_1$B = { class: "form-section" };
87153
87153
  const _hoisted_2$n = {
@@ -87155,7 +87155,7 @@
87155
87155
  style: "border"
87156
87156
  };
87157
87157
  const _hoisted_3$e = { class: "actions" };
87158
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
87158
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
87159
87159
  __name: "BmsForm",
87160
87160
  setup(__props) {
87161
87161
  const slots = vue.useSlots();
@@ -87182,16 +87182,16 @@
87182
87182
  }
87183
87183
  });
87184
87184
 
87185
- const BmsForm = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-b5bab57e"]]);
87185
+ const BmsForm = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-b5bab57e"]]);
87186
87186
 
87187
- const _sfc_main$I = { };
87187
+ const _sfc_main$J = { };
87188
87188
 
87189
87189
  function _sfc_render$1(_ctx, _cache) {
87190
87190
  return (vue.openBlock(), vue.createElementBlock("header", null, [
87191
87191
  vue.renderSlot(_ctx.$slots, "default", {}, undefined, true)
87192
87192
  ]))
87193
87193
  }
87194
- const BmsHeader = /*#__PURE__*/_export_sfc(_sfc_main$I, [['render',_sfc_render$1],['__scopeId',"data-v-97c1615a"]]);
87194
+ const BmsHeader = /*#__PURE__*/_export_sfc(_sfc_main$J, [['render',_sfc_render$1],['__scopeId',"data-v-97c1615a"]]);
87195
87195
 
87196
87196
  function isPlainObject$1(value) {
87197
87197
  if (value === null || typeof value !== "object") {
@@ -89974,7 +89974,7 @@
89974
89974
  "stroke-linecap": "round",
89975
89975
  "stroke-linejoin": "round"
89976
89976
  };
89977
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
89977
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
89978
89978
  __name: "AnimatedCircleHelpIcon",
89979
89979
  setup(__props) {
89980
89980
  const defaultTransition = {
@@ -90049,7 +90049,7 @@
90049
90049
  "stroke-linecap": "round",
90050
90050
  "stroke-linejoin": "round"
90051
90051
  };
90052
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
90052
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
90053
90053
  __name: "AnimatedActivityIcon",
90054
90054
  setup(__props) {
90055
90055
  const variants = {
@@ -90109,7 +90109,7 @@
90109
90109
  }
90110
90110
  });
90111
90111
 
90112
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
90112
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
90113
90113
  __name: "BmsShortLinkMenu",
90114
90114
  props: {
90115
90115
  outline: { type: Boolean, default: false },
@@ -90122,7 +90122,7 @@
90122
90122
  key: 0,
90123
90123
  class: vue.normalizeClass(["bms-short-link-menu", { "bms-short-link-menu__outline": __props.outline }])
90124
90124
  }, [
90125
- !!__props.helpLink ? (vue.openBlock(), vue.createBlock(_sfc_main$1m, {
90125
+ !!__props.helpLink ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
90126
90126
  key: 0,
90127
90127
  "tooltip-text": "Voir la documentation",
90128
90128
  to: __props.helpLink,
@@ -90130,12 +90130,12 @@
90130
90130
  }, {
90131
90131
  default: vue.withCtx(() => [
90132
90132
  vue.renderSlot(_ctx.$slots, "documentationIcon", {}, () => [
90133
- vue.createVNode(_sfc_main$H)
90133
+ vue.createVNode(_sfc_main$I)
90134
90134
  ], true)
90135
90135
  ]),
90136
90136
  _: 3
90137
90137
  }, 8, ["to"])) : vue.createCommentVNode("", true),
90138
- !!__props.activityLink ? (vue.openBlock(), vue.createBlock(_sfc_main$1m, {
90138
+ !!__props.activityLink ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
90139
90139
  key: 1,
90140
90140
  "tooltip-text": "Voir l'activité",
90141
90141
  to: __props.activityLink,
@@ -90143,7 +90143,7 @@
90143
90143
  }, {
90144
90144
  default: vue.withCtx(() => [
90145
90145
  vue.renderSlot(_ctx.$slots, "activityIcon", {}, () => [
90146
- vue.createVNode(_sfc_main$G)
90146
+ vue.createVNode(_sfc_main$H)
90147
90147
  ], true)
90148
90148
  ]),
90149
90149
  _: 3
@@ -90153,7 +90153,7 @@
90153
90153
  }
90154
90154
  });
90155
90155
 
90156
- const BmsShortLinkMenu = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-d23e08a5"]]);
90156
+ const BmsShortLinkMenu = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-d23e08a5"]]);
90157
90157
 
90158
90158
  const _hoisted_1$y = { class: "bms-header" };
90159
90159
  const _hoisted_2$m = { class: "bms-header__title" };
@@ -90171,7 +90171,7 @@
90171
90171
  key: 0,
90172
90172
  class: "bms-header__subtitle"
90173
90173
  };
90174
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
90174
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
90175
90175
  __name: "BmsHeaderTitle",
90176
90176
  props: {
90177
90177
  title: {},
@@ -90213,9 +90213,9 @@
90213
90213
  }
90214
90214
  });
90215
90215
 
90216
- const BmsHeaderTitle = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-1368f77d"]]);
90216
+ const BmsHeaderTitle = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-1368f77d"]]);
90217
90217
 
90218
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
90218
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
90219
90219
  __name: "BmsOverlay",
90220
90220
  props: {
90221
90221
  active: { type: Boolean },
@@ -90233,7 +90233,7 @@
90233
90233
  }
90234
90234
  });
90235
90235
 
90236
- const BmsOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-383b958c"]]);
90236
+ const BmsOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-383b958c"]]);
90237
90237
 
90238
90238
  const _hoisted_1$x = ["data-testid"];
90239
90239
  const _hoisted_2$l = { class: "ui-modal__header" };
@@ -90247,7 +90247,7 @@
90247
90247
  class: "ui-modal__loader"
90248
90248
  };
90249
90249
  const _hoisted_9$2 = { key: 0 };
90250
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
90250
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
90251
90251
  __name: "BmsModal",
90252
90252
  props: {
90253
90253
  modelValue: { default: null },
@@ -90387,7 +90387,7 @@
90387
90387
  ])
90388
90388
  ], true)
90389
90389
  ]),
90390
- vue.createVNode(_sfc_main$1m, {
90390
+ vue.createVNode(_sfc_main$1n, {
90391
90391
  disabled: !isModalClosable.value,
90392
90392
  onClick: dismissModal,
90393
90393
  "data-testid": "close-modal"
@@ -90413,7 +90413,7 @@
90413
90413
  modalData: props.modelValue
90414
90414
  }, () => [
90415
90415
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(buttons.value, (button) => {
90416
- return vue.openBlock(), vue.createBlock(_sfc_main$1n, {
90416
+ return vue.openBlock(), vue.createBlock(_sfc_main$1o, {
90417
90417
  key: button.label + button.role,
90418
90418
  type: button.role === "cancel" ? "secondary" : "primary",
90419
90419
  disabled: !isModalClosable.value || button.disabled,
@@ -90453,10 +90453,10 @@
90453
90453
  }
90454
90454
  });
90455
90455
 
90456
- const BmsModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-769d070b"]]);
90456
+ const BmsModal = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-769d070b"]]);
90457
90457
 
90458
90458
  const _hoisted_1$w = { class: "header" };
90459
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
90459
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
90460
90460
  __name: "BmsSection",
90461
90461
  props: {
90462
90462
  style: { default: "flat" }
@@ -90475,14 +90475,14 @@
90475
90475
  }
90476
90476
  });
90477
90477
 
90478
- const BmsSection = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-2e9192be"]]);
90478
+ const BmsSection = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-2e9192be"]]);
90479
90479
 
90480
90480
  const _hoisted_1$v = ["id"];
90481
90481
  const _hoisted_2$k = ["aria-label", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-orientation", "aria-controls"];
90482
90482
  const _hoisted_3$b = ["id"];
90483
90483
  const DEFAULT_MIN = 0;
90484
90484
  const DEFAULT_MAX = 100;
90485
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
90485
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
90486
90486
  __name: "BmsSplitWindow",
90487
90487
  props: /* @__PURE__ */ vue.mergeModels({
90488
90488
  splitOrientation: { default: "vertical" },
@@ -90662,11 +90662,11 @@
90662
90662
  }
90663
90663
  });
90664
90664
 
90665
- const BmsSplitWindow = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-61513081"]]);
90665
+ const BmsSplitWindow = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-61513081"]]);
90666
90666
 
90667
90667
  const _hoisted_1$u = { class: "step" };
90668
90668
  const _hoisted_2$j = { class: "step-buttons" };
90669
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
90669
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
90670
90670
  __name: "BmsStep",
90671
90671
  props: {
90672
90672
  previousLabel: { default: "Précédent" },
@@ -90682,7 +90682,7 @@
90682
90682
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
90683
90683
  vue.renderSlot(_ctx.$slots, "actions", {}, () => [
90684
90684
  vue.createElementVNode("div", _hoisted_2$j, [
90685
- __props.previousLabel ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
90685
+ __props.previousLabel ? (vue.openBlock(), vue.createBlock(_sfc_main$1o, {
90686
90686
  key: 0,
90687
90687
  "data-test": "previous-button",
90688
90688
  name: "previous",
@@ -90694,7 +90694,7 @@
90694
90694
  ]),
90695
90695
  _: 1
90696
90696
  })) : vue.createCommentVNode("", true),
90697
- __props.nextLabel ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
90697
+ __props.nextLabel ? (vue.openBlock(), vue.createBlock(_sfc_main$1o, {
90698
90698
  key: 1,
90699
90699
  "data-test": "next-button",
90700
90700
  class: "",
@@ -90714,7 +90714,7 @@
90714
90714
  }
90715
90715
  });
90716
90716
 
90717
- const BmsStep = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-fcce71d1"]]);
90717
+ const BmsStep = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-fcce71d1"]]);
90718
90718
 
90719
90719
  const _hoisted_1$t = { class: "stepper" };
90720
90720
  const _hoisted_2$i = { class: "stepper-header" };
@@ -90726,7 +90726,7 @@
90726
90726
  class: "stepper-header--separator"
90727
90727
  };
90728
90728
  const _hoisted_7$3 = { class: "stepper-body" };
90729
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
90729
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
90730
90730
  __name: "BmsStepper",
90731
90731
  props: {
90732
90732
  currentStep: { default: 0 },
@@ -90800,7 +90800,7 @@
90800
90800
  }
90801
90801
  });
90802
90802
 
90803
- const BmsStepper = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-c132d5cd"]]);
90803
+ const BmsStepper = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-c132d5cd"]]);
90804
90804
 
90805
90805
  const historyRoutes = vue.ref([]);
90806
90806
  const useRouterHistory = () => {
@@ -90835,7 +90835,7 @@
90835
90835
  };
90836
90836
  };
90837
90837
 
90838
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
90838
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
90839
90839
  __name: "BmsBackButton",
90840
90840
  props: {
90841
90841
  fallback: {}
@@ -90859,7 +90859,7 @@
90859
90859
  }
90860
90860
  });
90861
90861
 
90862
- const BmsBackButton = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-02d02028"]]);
90862
+ const BmsBackButton = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-02d02028"]]);
90863
90863
 
90864
90864
  const _hoisted_1$s = {
90865
90865
  xmlns: "http://www.w3.org/2000/svg",
@@ -90872,7 +90872,7 @@
90872
90872
  "stroke-linecap": "round",
90873
90873
  "stroke-linejoin": "round"
90874
90874
  };
90875
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
90875
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
90876
90876
  __name: "AnimatedHomeIcon",
90877
90877
  setup(__props) {
90878
90878
  const variants = {
@@ -90931,7 +90931,7 @@
90931
90931
  key: 1,
90932
90932
  class: "breadcrumb__here"
90933
90933
  };
90934
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
90934
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
90935
90935
  __name: "BmsBreadcrumb",
90936
90936
  props: {
90937
90937
  homeLocation: { default: "/" },
@@ -90944,7 +90944,7 @@
90944
90944
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
90945
90945
  vue.createVNode(_component_RouterLink, { to: __props.homeLocation }, {
90946
90946
  default: vue.withCtx(() => [
90947
- vue.createVNode(_sfc_main$w)
90947
+ vue.createVNode(_sfc_main$x)
90948
90948
  ]),
90949
90949
  _: 1
90950
90950
  }, 8, ["to"]),
@@ -90969,10 +90969,10 @@
90969
90969
  }
90970
90970
  });
90971
90971
 
90972
- const BmsBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-a7f3b134"]]);
90972
+ const BmsBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-a7f3b134"]]);
90973
90973
 
90974
90974
  const _hoisted_1$q = { class: "label" };
90975
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
90975
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
90976
90976
  __name: "UiMenuItem",
90977
90977
  props: {
90978
90978
  item: {},
@@ -90989,7 +90989,7 @@
90989
90989
  return classes2;
90990
90990
  });
90991
90991
  return (_ctx, _cache) => {
90992
- return vue.openBlock(), vue.createBlock(_sfc_main$1q, {
90992
+ return vue.openBlock(), vue.createBlock(_sfc_main$1r, {
90993
90993
  to: __props.item.link,
90994
90994
  target: __props.target,
90995
90995
  classes: classes.value
@@ -91020,7 +91020,7 @@
91020
91020
  const _hoisted_3$9 = ["onClick"];
91021
91021
  const _hoisted_4$6 = { class: "parent-label" };
91022
91022
  const _hoisted_5$4 = { class: "additional" };
91023
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
91023
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
91024
91024
  __name: "BmsMenuNav",
91025
91025
  props: {
91026
91026
  items: {},
@@ -91083,7 +91083,7 @@
91083
91083
  key: item.label
91084
91084
  }, [
91085
91085
  hasSubItems(item) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
91086
- item.link ? (vue.openBlock(), vue.createBlock(_sfc_main$1q, {
91086
+ item.link ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
91087
91087
  key: 0,
91088
91088
  to: item.link,
91089
91089
  class: vue.normalizeClass(`parent-item ${isItemActive(item) ? "active" : ""}`)
@@ -91111,7 +91111,7 @@
91111
91111
  return vue.openBlock(), vue.createElementBlock("li", {
91112
91112
  key: subItem.label
91113
91113
  }, [
91114
- vue.createVNode(_sfc_main$u, {
91114
+ vue.createVNode(_sfc_main$v, {
91115
91115
  item: subItem,
91116
91116
  active: isItemActive(subItem),
91117
91117
  onClick: ($event) => clickItem(subItem)
@@ -91129,7 +91129,7 @@
91129
91129
  ]),
91130
91130
  _: 2
91131
91131
  }, 1024)
91132
- ])) : (vue.openBlock(), vue.createBlock(_sfc_main$u, {
91132
+ ])) : (vue.openBlock(), vue.createBlock(_sfc_main$v, {
91133
91133
  key: 1,
91134
91134
  item,
91135
91135
  active: isItemActive(item),
@@ -91151,12 +91151,12 @@
91151
91151
  }
91152
91152
  });
91153
91153
 
91154
- const BmsMenuNav = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-8b4752b4"]]);
91154
+ const BmsMenuNav = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-8b4752b4"]]);
91155
91155
 
91156
91156
  const _hoisted_1$o = { class: "menu__container" };
91157
91157
  const _hoisted_2$f = { class: "menu__top" };
91158
91158
  const _hoisted_3$8 = { class: "menu__copyright" };
91159
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
91159
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
91160
91160
  __name: "BmsFixedMenu",
91161
91161
  props: {
91162
91162
  items: {},
@@ -91190,11 +91190,11 @@
91190
91190
  }
91191
91191
  });
91192
91192
 
91193
- const BmsFixedMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-b6a4c4f0"]]);
91193
+ const BmsFixedMenu = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-b6a4c4f0"]]);
91194
91194
 
91195
91195
  const _hoisted_1$n = { class: "menu" };
91196
91196
  const _hoisted_2$e = { class: "menu__copyright" };
91197
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
91197
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
91198
91198
  __name: "BmsMenu",
91199
91199
  props: {
91200
91200
  items: {},
@@ -91211,7 +91211,7 @@
91211
91211
  const toggleMenu = (newMenuState = true) => isMenuOpen.value = newMenuState;
91212
91212
  return (_ctx, _cache) => {
91213
91213
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
91214
- vue.createVNode(vue.unref(_sfc_main$1m), {
91214
+ vue.createVNode(vue.unref(_sfc_main$1n), {
91215
91215
  onClick: _cache[0] || (_cache[0] = ($event) => toggleMenu(!isMenuOpen.value)),
91216
91216
  "data-testid": "openMenu",
91217
91217
  "aria-label": "Ouvrir le menu"
@@ -91235,7 +91235,7 @@
91235
91235
  ref: menu,
91236
91236
  class: vue.normalizeClass(["menu__container", { "is-show": isMenuOpen.value }])
91237
91237
  }, [
91238
- vue.createVNode(vue.unref(_sfc_main$1m), {
91238
+ vue.createVNode(vue.unref(_sfc_main$1n), {
91239
91239
  class: "menu__close",
91240
91240
  onClick: _cache[1] || (_cache[1] = ($event) => toggleMenu(false)),
91241
91241
  "data-testid": "closeMenu",
@@ -91275,52 +91275,66 @@
91275
91275
  }
91276
91276
  });
91277
91277
 
91278
- const BmsMenu = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-02719cac"]]);
91278
+ const BmsMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-02719cac"]]);
91279
91279
 
91280
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
91280
+ const getTabId = (tab) => tab.id || tab.name;
91281
+
91282
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
91281
91283
  __name: "UiTab",
91282
91284
  props: {
91283
- currentRoute: {},
91285
+ selectedTabId: {},
91284
91286
  tab: {}
91285
91287
  },
91286
91288
  setup(__props) {
91287
91289
  const props = __props;
91290
+ const tabId = vue.computed(() => getTabId(props.tab));
91288
91291
  const isTabSelected = vue.computed(
91289
- () => props.tab.routePath ? props.currentRoute.path.includes(props.tab.routePath) : props.tab.routeName ? !!props.currentRoute.name && props.currentRoute.name.includes(props.tab.routeName) : false
91290
- );
91291
- const tabTarget = vue.computed(
91292
- () => props.tab.routePath ? { path: props.tab.routePath } : { name: props.tab.routeName }
91292
+ () => tabId.value && tabId.value === props.selectedTabId || false
91293
91293
  );
91294
91294
  return (_ctx, _cache) => {
91295
- const _component_router_link = vue.resolveComponent("router-link");
91296
- return vue.openBlock(), vue.createBlock(_component_router_link, {
91297
- to: tabTarget.value,
91295
+ return vue.openBlock(), vue.createElementBlock("span", {
91298
91296
  "data-testid": "tab",
91299
91297
  class: vue.normalizeClass(["tab", { active: isTabSelected.value, error: __props.tab.error, disabled: __props.tab.disabled }])
91300
- }, {
91301
- default: vue.withCtx(() => [
91302
- vue.renderSlot(_ctx.$slots, "default", {}, () => [
91303
- vue.createTextVNode(vue.toDisplayString(__props.tab.name), 1)
91304
- ], true)
91305
- ]),
91306
- _: 3
91307
- }, 8, ["to", "class"]);
91298
+ }, [
91299
+ vue.renderSlot(_ctx.$slots, "router", { tab: __props.tab }, () => [
91300
+ vue.createTextVNode(vue.toDisplayString(__props.tab.name), 1)
91301
+ ], true)
91302
+ ], 2);
91308
91303
  };
91309
91304
  }
91310
91305
  });
91311
91306
 
91312
- const UiTab = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-d2f6b84b"]]);
91307
+ const UiTab = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-b6feec3b"]]);
91313
91308
 
91314
91309
  const _hoisted_1$m = { class: "tabs-header" };
91315
91310
  const _hoisted_2$d = { class: "tabs-title" };
91316
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
91317
- __name: "BmsTabs",
91311
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
91312
+ __name: "UiTabs",
91318
91313
  props: {
91319
91314
  title: {},
91320
- tabs: {}
91315
+ tabs: {},
91316
+ initialTabId: {}
91321
91317
  },
91322
- setup(__props) {
91323
- const { currentRoute } = vueRouter.useRouter();
91318
+ emits: ["click"],
91319
+ setup(__props, { emit: __emit }) {
91320
+ const props = __props;
91321
+ const selectedTabId = vue.ref(null);
91322
+ vue.onMounted(() => {
91323
+ selectedTabId.value = props.initialTabId || null;
91324
+ });
91325
+ vue.watch(
91326
+ () => props.initialTabId,
91327
+ () => {
91328
+ selectedTabId.value = props.initialTabId || null;
91329
+ }
91330
+ );
91331
+ const $emits = __emit;
91332
+ const onTabClick = (tab) => {
91333
+ if (getTabId(tab) !== selectedTabId.value) {
91334
+ $emits("click", tab);
91335
+ selectedTabId.value = getTabId(tab);
91336
+ }
91337
+ };
91324
91338
  return (_ctx, _cache) => {
91325
91339
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
91326
91340
  vue.createElementVNode("div", _hoisted_2$d, [
@@ -91328,17 +91342,80 @@
91328
91342
  ]),
91329
91343
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.tabs, (tab) => {
91330
91344
  return vue.openBlock(), vue.createBlock(UiTab, {
91331
- key: tab.name,
91345
+ key: vue.unref(getTabId)(tab),
91346
+ selectedTabId: selectedTabId.value,
91332
91347
  tab,
91333
- "current-route": vue.unref(currentRoute)
91334
- }, null, 8, ["tab", "current-route"]);
91348
+ onClick: ($event) => onTabClick(tab)
91349
+ }, {
91350
+ router: vue.withCtx(({ tab: tab2 }) => [
91351
+ vue.renderSlot(_ctx.$slots, "router", { tab: tab2 }, void 0, true)
91352
+ ]),
91353
+ _: 2
91354
+ }, 1032, ["selectedTabId", "tab", "onClick"]);
91335
91355
  }), 128))
91336
91356
  ]);
91337
91357
  };
91338
91358
  }
91339
91359
  });
91340
91360
 
91341
- const BmsTabs = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-f862fbda"]]);
91361
+ const UiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-9f2a5368"]]);
91362
+
91363
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
91364
+ __name: "BmsTabs",
91365
+ props: {
91366
+ title: {},
91367
+ tabs: {},
91368
+ initialTabId: {}
91369
+ },
91370
+ emits: ["click"],
91371
+ setup(__props, { emit: __emit }) {
91372
+ const { currentRoute } = vueRouter.useRouter();
91373
+ const props = __props;
91374
+ const getTabTarget = (tab) => {
91375
+ return tab.routePath ? { path: tab.routePath } : { name: tab.routeName };
91376
+ };
91377
+ const $emits = __emit;
91378
+ const needRouterEngine = vue.computed(() => {
91379
+ return !!props.tabs && !!props.tabs[0] && !!(props.tabs[0].routePath || props.tabs[0].routeName);
91380
+ });
91381
+ const selectedTabId = vue.computed(() => {
91382
+ if (needRouterEngine.value) {
91383
+ const selectedTab = props.tabs.find((t) => isTabSelected(t, currentRoute.value)) || null;
91384
+ return selectedTab ? getTabId(selectedTab) : null;
91385
+ } else if (props.initialTabId) {
91386
+ return props.initialTabId;
91387
+ } else {
91388
+ return null;
91389
+ }
91390
+ });
91391
+ const isTabSelected = (tab, currentRoute2) => tab.routePath ? currentRoute2.path.includes(tab.routePath) : tab.routeName ? !!currentRoute2.name && currentRoute2.name.includes(tab.routeName) : false;
91392
+ return (_ctx, _cache) => {
91393
+ const _component_router_link = vue.resolveComponent("router-link");
91394
+ return vue.openBlock(), vue.createBlock(UiTabs, {
91395
+ title: __props.title,
91396
+ tabs: __props.tabs,
91397
+ "initial-tab-id": selectedTabId.value,
91398
+ onClick: _cache[0] || (_cache[0] = ($event) => $emits("click", $event))
91399
+ }, vue.createSlots({ _: 2 }, [
91400
+ needRouterEngine.value ? {
91401
+ name: "router",
91402
+ fn: vue.withCtx(({ tab }) => [
91403
+ vue.createVNode(_component_router_link, {
91404
+ class: "tab",
91405
+ to: getTabTarget(tab)
91406
+ }, {
91407
+ default: vue.withCtx(() => [
91408
+ vue.createTextVNode(vue.toDisplayString(tab.name), 1)
91409
+ ]),
91410
+ _: 2
91411
+ }, 1032, ["to"])
91412
+ ]),
91413
+ key: "0"
91414
+ } : void 0
91415
+ ]), 1032, ["title", "tabs", "initial-tab-id"]);
91416
+ };
91417
+ }
91418
+ });
91342
91419
 
91343
91420
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
91344
91421
  __name: "UiPopoverMenu",
@@ -91492,7 +91569,7 @@
91492
91569
  vue.createTextVNode(" " + vue.toDisplayString(__props.tenant.label), 1),
91493
91570
  vue.createElementVNode("em", null, "- " + vue.toDisplayString(__props.tenant.information), 1)
91494
91571
  ], 8, _hoisted_1$k),
91495
- __props.tenant.isFavorite ? (vue.openBlock(), vue.createBlock(_sfc_main$1m, {
91572
+ __props.tenant.isFavorite ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
91496
91573
  key: 0,
91497
91574
  class: "remove-tenant-button",
91498
91575
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => emits("removeFavorite"), ["stop"]))
@@ -91572,7 +91649,7 @@
91572
91649
  }, {
91573
91650
  default: vue.withCtx(() => [
91574
91651
  vue.createElementVNode("div", _hoisted_1$j, [
91575
- vue.createVNode(vue.unref(_sfc_main$10), {
91652
+ vue.createVNode(vue.unref(_sfc_main$11), {
91576
91653
  ref_key: "searchRef",
91577
91654
  ref: searchRef,
91578
91655
  modelValue: search.value,
@@ -91688,7 +91765,7 @@
91688
91765
  __props.currentTenant && __props.tenants.length === 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
91689
91766
  vue.createVNode(_sfc_main$n, { tenant: __props.currentTenant }, null, 8, ["tenant"]),
91690
91767
  vue.createElementVNode("span", null, vue.toDisplayString(__props.currentTenant.label), 1)
91691
- ])) : __props.tenants.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$1n), {
91768
+ ])) : __props.tenants.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$1o), {
91692
91769
  key: 1,
91693
91770
  type: "tertiary",
91694
91771
  onClick: _cache[0] || (_cache[0] = ($event) => showTenantSwitcher.value = !showTenantSwitcher.value)
@@ -91831,7 +91908,7 @@
91831
91908
  onMouseup: _cache[1] || (_cache[1] = () => gripped.value = false)
91832
91909
  }),
91833
91910
  vue.renderSlot(_ctx.$slots, "default", { row: item }, void 0, true),
91834
- vue.createVNode(vue.unref(_sfc_main$1m), {
91911
+ vue.createVNode(vue.unref(_sfc_main$1n), {
91835
91912
  mode: vue.unref(StatusType).Danger,
91836
91913
  onClick: ($event) => onRemove(item)
91837
91914
  }, {
@@ -91979,7 +92056,7 @@
91979
92056
  ], true)
91980
92057
  ]),
91981
92058
  vue.createElementVNode("div", _hoisted_3$6, [
91982
- vue.createVNode(_sfc_main$1m, {
92059
+ vue.createVNode(_sfc_main$1n, {
91983
92060
  color: "neutral",
91984
92061
  onClick: goToFirst,
91985
92062
  disabled: __props.currentPage === 0
@@ -91989,7 +92066,7 @@
91989
92066
  ]),
91990
92067
  _: 1
91991
92068
  }, 8, ["disabled"]),
91992
- vue.createVNode(_sfc_main$1m, {
92069
+ vue.createVNode(_sfc_main$1n, {
91993
92070
  onClick: goToPrevious,
91994
92071
  disabled: __props.currentPage === 0
91995
92072
  }, {
@@ -91998,7 +92075,7 @@
91998
92075
  ]),
91999
92076
  _: 1
92000
92077
  }, 8, ["disabled"]),
92001
- vue.createVNode(_sfc_main$1m, {
92078
+ vue.createVNode(_sfc_main$1n, {
92002
92079
  onClick: goToNext,
92003
92080
  disabled: __props.currentPage === __props.pages - 1 || __props.pages === 0
92004
92081
  }, {
@@ -92007,7 +92084,7 @@
92007
92084
  ]),
92008
92085
  _: 1
92009
92086
  }, 8, ["disabled"]),
92010
- vue.createVNode(_sfc_main$1m, {
92087
+ vue.createVNode(_sfc_main$1n, {
92011
92088
  onClick: goToLast,
92012
92089
  disabled: __props.currentPage === __props.pages - 1 || __props.pages === 0 || __props.total === Infinity
92013
92090
  }, {
@@ -96210,7 +96287,7 @@
96210
96287
  );
96211
96288
  return (_ctx, _cache) => {
96212
96289
  return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$a, [
96213
- vue.createVNode(_sfc_main$1o, {
96290
+ vue.createVNode(_sfc_main$1p, {
96214
96291
  class: "filter-button",
96215
96292
  color: __props.isFilterVisible ? vue.unref(StatusType).Default : vue.unref(StatusType).Information,
96216
96293
  mode: __props.isFilterVisible ? "fill" : "ghost",
@@ -98366,9 +98443,9 @@
98366
98443
  case "boolean":
98367
98444
  return BmsSelect;
98368
98445
  case "input":
98369
- return _sfc_main$10;
98446
+ return _sfc_main$11;
98370
98447
  case "inputDate":
98371
- return _sfc_main$$;
98448
+ return _sfc_main$10;
98372
98449
  case "autocomplete":
98373
98450
  return BmsAutocomplete;
98374
98451
  case "autocompleteServer":
@@ -98455,7 +98532,7 @@
98455
98532
  _cache[2] || (_cache[2] = vue.createTextVNode(" Recherche avancée ", -1))
98456
98533
  ]),
98457
98534
  vue.createElementVNode("span", _hoisted_4$3, [
98458
- __props.canSaveFilters ? (vue.openBlock(), vue.createBlock(_sfc_main$1m, {
98535
+ __props.canSaveFilters ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
98459
98536
  key: 0,
98460
98537
  class: "save",
98461
98538
  tooltipText: "Sauvegarder le filtre",
@@ -98466,7 +98543,7 @@
98466
98543
  ]),
98467
98544
  _: 1
98468
98545
  })) : vue.createCommentVNode("", true),
98469
- vue.createVNode(_sfc_main$1m, {
98546
+ vue.createVNode(_sfc_main$1n, {
98470
98547
  class: "reset",
98471
98548
  tooltipText: "Vider les champs",
98472
98549
  onClick: reset
@@ -98515,7 +98592,7 @@
98515
98592
  }, {
98516
98593
  default: vue.withCtx(() => [
98517
98594
  _cache[3] || (_cache[3] = vue.createElementVNode("div", null, " Vous pouvez sauvegarder votre recherche pour la retrouver plus facilement. ", -1)),
98518
- vue.createVNode(vue.unref(_sfc_main$10), {
98595
+ vue.createVNode(vue.unref(_sfc_main$11), {
98519
98596
  ref_key: "nameInput",
98520
98597
  ref: nameInput,
98521
98598
  label: "Nom de la sauvegarde",
@@ -103119,7 +103196,7 @@
103119
103196
  class: "bms-notification__icon"
103120
103197
  })),
103121
103198
  vue.createElementVNode("div", _hoisted_2$4, vue.toDisplayString(__props.notification.text), 1),
103122
- vue.createVNode(_sfc_main$1m, {
103199
+ vue.createVNode(_sfc_main$1n, {
103123
103200
  class: "bms-notification__close-button",
103124
103201
  onClick: closeNotification
103125
103202
  }, {
@@ -103360,7 +103437,7 @@
103360
103437
  vue.createElementVNode("div", null, [
103361
103438
  vue.createElementVNode("div", _hoisted_5$1, [
103362
103439
  vue.createElementVNode("span", _hoisted_6$1, vue.toDisplayString(__props.problem.detail), 1),
103363
- vue.createVNode(vue.unref(_sfc_main$1m), {
103440
+ vue.createVNode(vue.unref(_sfc_main$1n), {
103364
103441
  class: "copyToClipboardButton",
103365
103442
  onClick: _cache[1] || (_cache[1] = ($event) => onCopyToClipboard(__props.problem.detail))
103366
103443
  }, {
@@ -103395,7 +103472,7 @@
103395
103472
  vue.createElementVNode("div", null, [
103396
103473
  vue.createElementVNode("div", _hoisted_8$1, [
103397
103474
  vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(__props.problem.correlationId), 1),
103398
- vue.createVNode(vue.unref(_sfc_main$1m), {
103475
+ vue.createVNode(vue.unref(_sfc_main$1n), {
103399
103476
  class: "copyToClipboardButton",
103400
103477
  onClick: _cache[3] || (_cache[3] = ($event) => onCopyToClipboard(__props.problem.detail))
103401
103478
  }, {
@@ -103605,7 +103682,7 @@
103605
103682
  );
103606
103683
  return (_ctx, _cache) => {
103607
103684
  return isFeatureFlippingOn.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
103608
- vue.createVNode(_sfc_main$1n, {
103685
+ vue.createVNode(_sfc_main$1o, {
103609
103686
  onClick: _cache[0] || (_cache[0] = ($event) => emit("click")),
103610
103687
  mode: vue.unref(StatusType).Danger
103611
103688
  }, {
@@ -105902,8 +105979,8 @@
105902
105979
 
105903
105980
  const createBmsUi = () => ({
105904
105981
  install: (app) => {
105905
- app.component("BmsButton", _sfc_main$1n);
105906
- app.component("BmsIconButton", _sfc_main$1m);
105982
+ app.component("BmsButton", _sfc_main$1o);
105983
+ app.component("BmsIconButton", _sfc_main$1n);
105907
105984
  app.component("BmsAlert", BmsAlert);
105908
105985
  app.component("BmsBadge", BmsBadge);
105909
105986
  app.component("BmsCaption", BmsCaption);
@@ -105915,19 +105992,19 @@
105915
105992
  app.component("BmsBetweenInput", BmsBetweenInput);
105916
105993
  app.component("BmsChip", BmsChip);
105917
105994
  app.component("BmsFilePicker", BmsFilePicker);
105918
- app.component("BmsInputBooleanCheckbox", _sfc_main$15);
105995
+ app.component("BmsInputBooleanCheckbox", _sfc_main$16);
105919
105996
  app.component("BmsInputCheckboxGroup", BmsInputCheckboxGroup);
105920
105997
  app.component("BmsInputCheckboxCaption", BmsInputCheckboxCaption);
105921
105998
  app.component("BmsInputCheckboxCaptionGroup", BmsInputCheckboxCaptionGroup);
105922
105999
  app.component("BmsInputCode", BmsInputCode);
105923
- app.component("BmsInputDateTime", _sfc_main$$);
106000
+ app.component("BmsInputDateTime", _sfc_main$10);
105924
106001
  app.component("BmsInputFile", BmsInputFile);
105925
- app.component("BmsInputNumber", _sfc_main$Z);
106002
+ app.component("BmsInputNumber", _sfc_main$_);
105926
106003
  app.component("BmsInputRadio", BmsInputRadio);
105927
106004
  app.component("BmsInputRadioGroup", BmsInputRadioGroup);
105928
106005
  app.component("BmsInputRadioCaption", BmsInputRadioCaption);
105929
106006
  app.component("BmsInputRadioCaptionGroup", BmsInputRadioCaptionGroup);
105930
- app.component("BmsInputText", _sfc_main$10);
106007
+ app.component("BmsInputText", _sfc_main$11);
105931
106008
  app.component("BmsInputToggle", BmsInputToggle);
105932
106009
  app.component("BmsMultiSelect", BmsMultiSelect);
105933
106010
  app.component("BmsSearch", BmsSearch);
@@ -105949,11 +106026,11 @@
105949
106026
  app.component("BmsBackButton", BmsBackButton);
105950
106027
  app.component("BmsBreadcrumb", BmsBreadcrumb);
105951
106028
  app.component("BmsFixedMenu", BmsFixedMenu);
105952
- app.component("BmsLink", _sfc_main$1q);
106029
+ app.component("BmsLink", _sfc_main$1r);
105953
106030
  app.component("BmsMenu", BmsMenu);
105954
106031
  app.component("BmsMenuNav", BmsMenuNav);
105955
106032
  app.component("BmsShortLinkMenu", BmsShortLinkMenu);
105956
- app.component("BmsTabs", BmsTabs);
106033
+ app.component("BmsTabs", _sfc_main$p);
105957
106034
  app.component("BmsTenantSwitcher", BmsTenantSwitcher);
105958
106035
  app.component("BmsDraggableList", BmsDraggableList);
105959
106036
  app.component("BmsEmptyScreen", BmsEmptyScreen);
@@ -105973,7 +106050,7 @@
105973
106050
  exports.BmsBadge = BmsBadge;
105974
106051
  exports.BmsBetweenInput = BmsBetweenInput;
105975
106052
  exports.BmsBreadcrumb = BmsBreadcrumb;
105976
- exports.BmsButton = _sfc_main$1n;
106053
+ exports.BmsButton = _sfc_main$1o;
105977
106054
  exports.BmsCaption = BmsCaption;
105978
106055
  exports.BmsCard = BmsCard;
105979
106056
  exports.BmsChip = BmsChip;
@@ -105988,22 +106065,22 @@
105988
106065
  exports.BmsForm = BmsForm;
105989
106066
  exports.BmsHeader = BmsHeader;
105990
106067
  exports.BmsHeaderTitle = BmsHeaderTitle;
105991
- exports.BmsIconButton = _sfc_main$1m;
105992
- exports.BmsInputBooleanCheckbox = _sfc_main$15;
106068
+ exports.BmsIconButton = _sfc_main$1n;
106069
+ exports.BmsInputBooleanCheckbox = _sfc_main$16;
105993
106070
  exports.BmsInputCheckboxCaption = BmsInputCheckboxCaption;
105994
106071
  exports.BmsInputCheckboxCaptionGroup = BmsInputCheckboxCaptionGroup;
105995
106072
  exports.BmsInputCheckboxGroup = BmsInputCheckboxGroup;
105996
106073
  exports.BmsInputCode = BmsInputCode;
105997
- exports.BmsInputDateTime = _sfc_main$$;
106074
+ exports.BmsInputDateTime = _sfc_main$10;
105998
106075
  exports.BmsInputFile = BmsInputFile;
105999
- exports.BmsInputNumber = _sfc_main$Z;
106076
+ exports.BmsInputNumber = _sfc_main$_;
106000
106077
  exports.BmsInputRadio = BmsInputRadio;
106001
106078
  exports.BmsInputRadioCaption = BmsInputRadioCaption;
106002
106079
  exports.BmsInputRadioCaptionGroup = BmsInputRadioCaptionGroup;
106003
106080
  exports.BmsInputRadioGroup = BmsInputRadioGroup;
106004
- exports.BmsInputText = _sfc_main$10;
106081
+ exports.BmsInputText = _sfc_main$11;
106005
106082
  exports.BmsInputToggle = BmsInputToggle;
106006
- exports.BmsLink = _sfc_main$1q;
106083
+ exports.BmsLink = _sfc_main$1r;
106007
106084
  exports.BmsLoader = BmsLoader;
106008
106085
  exports.BmsMenu = BmsMenu;
106009
106086
  exports.BmsMenuNav = BmsMenuNav;
@@ -106024,7 +106101,7 @@
106024
106101
  exports.BmsStep = BmsStep;
106025
106102
  exports.BmsStepper = BmsStepper;
106026
106103
  exports.BmsTable = BmsTable;
106027
- exports.BmsTabs = BmsTabs;
106104
+ exports.BmsTabs = _sfc_main$p;
106028
106105
  exports.BmsTag = BmsTag;
106029
106106
  exports.BmsTenantSwitcher = BmsTenantSwitcher;
106030
106107
  exports.BmsTextArea = BmsTextArea;