@ouestfrance/sipa-bms-ui 8.17.0 → 8.19.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.
- package/dist/components/navigation/BmsTabs.vue.d.ts +6 -1
- package/dist/components/navigation/UiTab.vue.d.ts +5 -4
- package/dist/components/navigation/UiTabs.vue.d.ts +21 -0
- package/dist/helpers/tab.helper.d.ts +2 -0
- package/dist/models/tab.model.d.ts +5 -0
- package/dist/sipa-bms-ui.css +45 -24
- package/dist/sipa-bms-ui.es.js +290 -207
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +297 -214
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/layout/BmsFloatingWindow.vue +1 -0
- package/src/components/layout/BmsSplitWindow.vue +36 -10
- package/src/components/navigation/BmsTabs.stories.js +58 -4
- package/src/components/navigation/BmsTabs.vue +53 -33
- package/src/components/navigation/UiTab.stories.js +5 -5
- package/src/components/navigation/UiTab.vue +15 -20
- package/src/components/navigation/UiTabs.stories.js +34 -0
- package/src/components/navigation/UiTabs.vue +76 -0
- package/src/helpers/tab.helper.ts +3 -0
- package/src/models/tab.model.ts +6 -0
package/dist/sipa-bms-ui.es.js
CHANGED
|
@@ -329,7 +329,7 @@ const getHeaderClasses = (header, sort) => {
|
|
|
329
329
|
|
|
330
330
|
const _hoisted_1$$ = ["href", "target"];
|
|
331
331
|
const _hoisted_2$G = ["href", "onClick", "target"];
|
|
332
|
-
const _sfc_main$
|
|
332
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
333
333
|
__name: "BmsLink",
|
|
334
334
|
props: {
|
|
335
335
|
to: {},
|
|
@@ -379,7 +379,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
379
379
|
});
|
|
380
380
|
|
|
381
381
|
const _hoisted_1$_ = ["type"];
|
|
382
|
-
const _sfc_main$
|
|
382
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
383
383
|
__name: "UiButtonLink",
|
|
384
384
|
props: {
|
|
385
385
|
type: {},
|
|
@@ -404,7 +404,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
404
404
|
type: __props.type
|
|
405
405
|
}, [
|
|
406
406
|
renderSlot(_ctx.$slots, "default")
|
|
407
|
-
], 10, _hoisted_1$_)) : (openBlock(), createBlock(_sfc_main$
|
|
407
|
+
], 10, _hoisted_1$_)) : (openBlock(), createBlock(_sfc_main$1r, {
|
|
408
408
|
key: 1,
|
|
409
409
|
to: __props.to,
|
|
410
410
|
target: __props.target,
|
|
@@ -422,7 +422,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
422
422
|
const _hoisted_1$Z = { class: "start" };
|
|
423
423
|
const _hoisted_2$F = { class: "content" };
|
|
424
424
|
const _hoisted_3$m = { class: "end" };
|
|
425
|
-
const _sfc_main$
|
|
425
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
426
426
|
__name: "UiButton",
|
|
427
427
|
props: {
|
|
428
428
|
type: { default: "button" },
|
|
@@ -435,7 +435,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
435
435
|
setup(__props) {
|
|
436
436
|
const props = __props;
|
|
437
437
|
return (_ctx, _cache) => {
|
|
438
|
-
return openBlock(), createBlock(_sfc_main$
|
|
438
|
+
return openBlock(), createBlock(_sfc_main$1q, normalizeProps(guardReactiveProps(props)), {
|
|
439
439
|
default: withCtx(() => [
|
|
440
440
|
createElementVNode("span", _hoisted_1$Z, [
|
|
441
441
|
renderSlot(_ctx.$slots, "start")
|
|
@@ -453,7 +453,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
453
453
|
}
|
|
454
454
|
});
|
|
455
455
|
|
|
456
|
-
const _sfc_main$
|
|
456
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
457
457
|
__name: "BmsButton",
|
|
458
458
|
props: {
|
|
459
459
|
type: { default: "primary" },
|
|
@@ -477,7 +477,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
477
477
|
}
|
|
478
478
|
});
|
|
479
479
|
return (_ctx, _cache) => {
|
|
480
|
-
return openBlock(), createBlock(_sfc_main$
|
|
480
|
+
return openBlock(), createBlock(_sfc_main$1p, {
|
|
481
481
|
mode: uiMode.value,
|
|
482
482
|
color: __props.mode,
|
|
483
483
|
to: __props.to,
|
|
@@ -499,7 +499,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
499
499
|
}
|
|
500
500
|
});
|
|
501
501
|
|
|
502
|
-
const _sfc_main$
|
|
502
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
503
503
|
__name: "BmsIconButton",
|
|
504
504
|
props: {
|
|
505
505
|
to: { default: null },
|
|
@@ -519,7 +519,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
519
519
|
direction: __props.tooltipDirection
|
|
520
520
|
}, {
|
|
521
521
|
default: withCtx(() => [
|
|
522
|
-
createVNode(_sfc_main$
|
|
522
|
+
createVNode(_sfc_main$1p, mergeProps(_ctx.$attrs, {
|
|
523
523
|
icon: "",
|
|
524
524
|
to: __props.to,
|
|
525
525
|
target: __props.target,
|
|
@@ -37445,7 +37445,7 @@ const lucideIcons = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
37445
37445
|
const _hoisted_1$Y = { class: "info-line" };
|
|
37446
37446
|
const _hoisted_2$E = { class: "icon" };
|
|
37447
37447
|
const _hoisted_3$l = { class: "message" };
|
|
37448
|
-
const _sfc_main$
|
|
37448
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
37449
37449
|
__name: "BmsAlert",
|
|
37450
37450
|
props: {
|
|
37451
37451
|
message: {},
|
|
@@ -37480,7 +37480,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
37480
37480
|
], true)
|
|
37481
37481
|
]),
|
|
37482
37482
|
renderSlot(_ctx.$slots, "action", {}, void 0, true),
|
|
37483
|
-
__props.dismissable ? (openBlock(), createBlock(_sfc_main$
|
|
37483
|
+
__props.dismissable ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
37484
37484
|
key: 0,
|
|
37485
37485
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("dismiss"))
|
|
37486
37486
|
}, {
|
|
@@ -37504,13 +37504,13 @@ const _export_sfc = (sfc, props) => {
|
|
|
37504
37504
|
return target;
|
|
37505
37505
|
};
|
|
37506
37506
|
|
|
37507
|
-
const BmsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37507
|
+
const BmsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-26caccdd"]]);
|
|
37508
37508
|
|
|
37509
37509
|
const _hoisted_1$X = {
|
|
37510
37510
|
key: 0,
|
|
37511
37511
|
class: "ui-badge__container"
|
|
37512
37512
|
};
|
|
37513
|
-
const _sfc_main$
|
|
37513
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
37514
37514
|
__name: "BmsBadge",
|
|
37515
37515
|
props: {
|
|
37516
37516
|
pending: { default: 0 },
|
|
@@ -37536,14 +37536,14 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
37536
37536
|
}
|
|
37537
37537
|
});
|
|
37538
37538
|
|
|
37539
|
-
const BmsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37539
|
+
const BmsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-8a6297ca"]]);
|
|
37540
37540
|
|
|
37541
37541
|
const _hoisted_1$W = {
|
|
37542
37542
|
key: 0,
|
|
37543
37543
|
class: "icon"
|
|
37544
37544
|
};
|
|
37545
37545
|
const _hoisted_2$D = ["innerHTML"];
|
|
37546
|
-
const _sfc_main$
|
|
37546
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
37547
37547
|
__name: "BmsCaption",
|
|
37548
37548
|
props: {
|
|
37549
37549
|
caption: {}
|
|
@@ -37586,7 +37586,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
37586
37586
|
}
|
|
37587
37587
|
});
|
|
37588
37588
|
|
|
37589
|
-
const BmsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37589
|
+
const BmsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-b08dd4e0"]]);
|
|
37590
37590
|
|
|
37591
37591
|
const _hoisted_1$V = { class: "circular-progress" };
|
|
37592
37592
|
const _hoisted_2$C = {
|
|
@@ -37596,7 +37596,7 @@ const _hoisted_2$C = {
|
|
|
37596
37596
|
const _hoisted_3$k = { transform: "rotate(-90, 50, 50)" };
|
|
37597
37597
|
const _hoisted_4$d = ["stroke-dashoffset"];
|
|
37598
37598
|
const _hoisted_5$9 = { class: "percent" };
|
|
37599
|
-
const _sfc_main$
|
|
37599
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
37600
37600
|
__name: "BmsCircularProgress",
|
|
37601
37601
|
props: ["progress"],
|
|
37602
37602
|
setup(__props) {
|
|
@@ -37631,13 +37631,13 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
37631
37631
|
}
|
|
37632
37632
|
});
|
|
37633
37633
|
|
|
37634
|
-
const BmsCircularProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37634
|
+
const BmsCircularProgress = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-7869acfb"]]);
|
|
37635
37635
|
|
|
37636
37636
|
const _hoisted_1$U = { class: "bms-loader" };
|
|
37637
37637
|
function transformIntoPx(totransform) {
|
|
37638
37638
|
return typeof totransform === "string" ? totransform : `${totransform}px`;
|
|
37639
37639
|
}
|
|
37640
|
-
const _sfc_main$
|
|
37640
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
37641
37641
|
__name: "BmsLoader",
|
|
37642
37642
|
props: {
|
|
37643
37643
|
size: { default: "inherit" }
|
|
@@ -37658,7 +37658,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
37658
37658
|
}
|
|
37659
37659
|
});
|
|
37660
37660
|
|
|
37661
|
-
const BmsLoader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37661
|
+
const BmsLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-7cc96135"]]);
|
|
37662
37662
|
|
|
37663
37663
|
function tryOnScopeDispose(fn) {
|
|
37664
37664
|
if (getCurrentScope()) {
|
|
@@ -38552,7 +38552,7 @@ const useTooltipHelper = () => {
|
|
|
38552
38552
|
};
|
|
38553
38553
|
};
|
|
38554
38554
|
|
|
38555
|
-
const _sfc_main$
|
|
38555
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
38556
38556
|
__name: "UiTooltip",
|
|
38557
38557
|
props: {
|
|
38558
38558
|
visible: { type: Boolean, default: true },
|
|
@@ -38628,9 +38628,9 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
38628
38628
|
}
|
|
38629
38629
|
});
|
|
38630
38630
|
|
|
38631
|
-
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38631
|
+
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-bf923418"]]);
|
|
38632
38632
|
|
|
38633
|
-
const _sfc_main$
|
|
38633
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
38634
38634
|
__name: "BmsTooltip",
|
|
38635
38635
|
props: {
|
|
38636
38636
|
tooltipText: { default: "" },
|
|
@@ -38709,14 +38709,14 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
38709
38709
|
}
|
|
38710
38710
|
});
|
|
38711
38711
|
|
|
38712
|
-
const BmsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38712
|
+
const BmsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-b033f8af"]]);
|
|
38713
38713
|
|
|
38714
38714
|
const _hoisted_1$T = {
|
|
38715
38715
|
class: "options-list",
|
|
38716
38716
|
"data-testid": "select-options"
|
|
38717
38717
|
};
|
|
38718
38718
|
const _hoisted_2$B = ["data-testid", "onClick"];
|
|
38719
|
-
const _sfc_main$
|
|
38719
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
38720
38720
|
__name: "FieldDatalist",
|
|
38721
38721
|
props: {
|
|
38722
38722
|
options: {},
|
|
@@ -38813,13 +38813,13 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
38813
38813
|
}
|
|
38814
38814
|
});
|
|
38815
38815
|
|
|
38816
|
-
const FieldDatalist = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38816
|
+
const FieldDatalist = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-ba5302fc"]]);
|
|
38817
38817
|
|
|
38818
38818
|
const _hoisted_1$S = { class: "field__input-label" };
|
|
38819
38819
|
const _hoisted_2$A = { class: "field__input-icon field__input-icon--start" };
|
|
38820
38820
|
const _hoisted_3$j = ["type", "value", "placeholder", "required", "disabled", "max", "min", "minlength", "maxlength"];
|
|
38821
38821
|
const _hoisted_4$c = { class: "field__input-icon field__input-icon--end" };
|
|
38822
|
-
const _sfc_main$
|
|
38822
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
38823
38823
|
__name: "RawInputText",
|
|
38824
38824
|
props: {
|
|
38825
38825
|
modelValue: {},
|
|
@@ -38900,9 +38900,9 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
38900
38900
|
}
|
|
38901
38901
|
});
|
|
38902
38902
|
|
|
38903
|
-
const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38903
|
+
const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-4c74b915"]]);
|
|
38904
38904
|
|
|
38905
|
-
const _sfc_main$
|
|
38905
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
38906
38906
|
__name: "RawAutocomplete",
|
|
38907
38907
|
props: /* @__PURE__ */ mergeModels({
|
|
38908
38908
|
options: {},
|
|
@@ -39074,11 +39074,11 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
39074
39074
|
}
|
|
39075
39075
|
});
|
|
39076
39076
|
|
|
39077
|
-
const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39077
|
+
const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-15343285"]]);
|
|
39078
39078
|
|
|
39079
39079
|
const _hoisted_1$R = ["innerHTML"];
|
|
39080
39080
|
const _hoisted_2$z = ["innerHTML"];
|
|
39081
|
-
const _sfc_main$
|
|
39081
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
39082
39082
|
__name: "BmsAutocomplete",
|
|
39083
39083
|
props: /* @__PURE__ */ mergeModels({
|
|
39084
39084
|
options: {},
|
|
@@ -39169,11 +39169,11 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
39169
39169
|
}
|
|
39170
39170
|
});
|
|
39171
39171
|
|
|
39172
|
-
const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39172
|
+
const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-43ad5137"]]);
|
|
39173
39173
|
|
|
39174
39174
|
const _hoisted_1$Q = ["innerHTML"];
|
|
39175
39175
|
const _hoisted_2$y = ["innerHTML"];
|
|
39176
|
-
const _sfc_main$
|
|
39176
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
39177
39177
|
__name: "BmsServerAutocomplete",
|
|
39178
39178
|
props: /* @__PURE__ */ mergeModels({
|
|
39179
39179
|
url: {},
|
|
@@ -39305,9 +39305,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
39305
39305
|
}
|
|
39306
39306
|
});
|
|
39307
39307
|
|
|
39308
|
-
const BmsServerAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39308
|
+
const BmsServerAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-d94effd6"]]);
|
|
39309
39309
|
|
|
39310
|
-
const _sfc_main$
|
|
39310
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
39311
39311
|
__name: "BmsBetweenInput",
|
|
39312
39312
|
props: {
|
|
39313
39313
|
inputType: { default: InputType.NUMBER },
|
|
@@ -39404,9 +39404,9 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
39404
39404
|
}
|
|
39405
39405
|
});
|
|
39406
39406
|
|
|
39407
|
-
const BmsBetweenInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39407
|
+
const BmsBetweenInput = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-f25b520b"]]);
|
|
39408
39408
|
|
|
39409
|
-
const _sfc_main$
|
|
39409
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
39410
39410
|
__name: "BmsChip",
|
|
39411
39411
|
props: {
|
|
39412
39412
|
color: { default: ChipColor.Grey }
|
|
@@ -39429,13 +39429,13 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
39429
39429
|
}
|
|
39430
39430
|
});
|
|
39431
39431
|
|
|
39432
|
-
const BmsChip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39432
|
+
const BmsChip = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-72b945cc"]]);
|
|
39433
39433
|
|
|
39434
39434
|
const _hoisted_1$P = { class: "file-upload" };
|
|
39435
39435
|
const _hoisted_2$x = { class: "file-upload__label" };
|
|
39436
39436
|
const _hoisted_3$i = { key: 1 };
|
|
39437
39437
|
const _hoisted_4$b = { class: "file-upload__file-name" };
|
|
39438
|
-
const _sfc_main$
|
|
39438
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
39439
39439
|
__name: "BmsFilePicker",
|
|
39440
39440
|
props: {
|
|
39441
39441
|
modelValue: {},
|
|
@@ -39534,7 +39534,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
39534
39534
|
class: "file-upload__file"
|
|
39535
39535
|
}, [
|
|
39536
39536
|
createElementVNode("span", _hoisted_4$b, toDisplayString(file.name), 1),
|
|
39537
|
-
createVNode(unref(_sfc_main$
|
|
39537
|
+
createVNode(unref(_sfc_main$1n), {
|
|
39538
39538
|
onClick: ($event) => onDeleteFile(file)
|
|
39539
39539
|
}, {
|
|
39540
39540
|
default: withCtx(() => [
|
|
@@ -39550,14 +39550,14 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
39550
39550
|
}
|
|
39551
39551
|
});
|
|
39552
39552
|
|
|
39553
|
-
const BmsFilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39553
|
+
const BmsFilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-c892a845"]]);
|
|
39554
39554
|
|
|
39555
39555
|
const _hoisted_1$O = ["disabled", "name", "value"];
|
|
39556
39556
|
const _hoisted_2$w = {
|
|
39557
39557
|
key: 0,
|
|
39558
39558
|
class: "input-checkbox-info"
|
|
39559
39559
|
};
|
|
39560
|
-
const _sfc_main$
|
|
39560
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
39561
39561
|
__name: "UiBmsInputCheckbox",
|
|
39562
39562
|
props: {
|
|
39563
39563
|
modelValue: { default: false },
|
|
@@ -39607,9 +39607,9 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
39607
39607
|
}
|
|
39608
39608
|
});
|
|
39609
39609
|
|
|
39610
|
-
const UiBmsInputCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39610
|
+
const UiBmsInputCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-e1d94c62"]]);
|
|
39611
39611
|
|
|
39612
|
-
const _sfc_main$
|
|
39612
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
39613
39613
|
__name: "BmsInputBooleanCheckbox",
|
|
39614
39614
|
props: {
|
|
39615
39615
|
modelValue: {},
|
|
@@ -39730,7 +39730,7 @@ function v4(options, buf, offset) {
|
|
|
39730
39730
|
return _v4(options, buf, offset);
|
|
39731
39731
|
}
|
|
39732
39732
|
|
|
39733
|
-
const _sfc_main$
|
|
39733
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
39734
39734
|
__name: "BmsInputCheckboxGroup",
|
|
39735
39735
|
props: {
|
|
39736
39736
|
values: {},
|
|
@@ -39801,9 +39801,9 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
39801
39801
|
}
|
|
39802
39802
|
});
|
|
39803
39803
|
|
|
39804
|
-
const BmsInputCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39804
|
+
const BmsInputCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-43978315"]]);
|
|
39805
39805
|
|
|
39806
|
-
const _sfc_main$
|
|
39806
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
39807
39807
|
__name: "BmsInputCheckboxCaption",
|
|
39808
39808
|
props: {
|
|
39809
39809
|
modelValue: {},
|
|
@@ -39879,9 +39879,9 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
39879
39879
|
}
|
|
39880
39880
|
});
|
|
39881
39881
|
|
|
39882
|
-
const BmsInputCheckboxCaption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39882
|
+
const BmsInputCheckboxCaption = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-6cb7c474"]]);
|
|
39883
39883
|
|
|
39884
|
-
const _sfc_main$
|
|
39884
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
39885
39885
|
__name: "BmsInputCheckboxCaptionGroup",
|
|
39886
39886
|
props: {
|
|
39887
39887
|
options: { default: () => [] },
|
|
@@ -39936,7 +39936,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
39936
39936
|
}
|
|
39937
39937
|
});
|
|
39938
39938
|
|
|
39939
|
-
const BmsInputCheckboxCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39939
|
+
const BmsInputCheckboxCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-4183cc04"]]);
|
|
39940
39940
|
|
|
39941
39941
|
/**
|
|
39942
39942
|
The default maximum length of a `TreeBuffer` node.
|
|
@@ -68462,7 +68462,7 @@ const basicSetup = /*@__PURE__*/(() => [
|
|
|
68462
68462
|
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=defineComponent({name:"VueCodemirror",props:Object.assign({},w),emits:Object.assign({},F),setup:function(t,s){var f=shallowRef(),d=shallowRef(),C=shallowRef(),D=Object.assign(Object.assign({},h),inject(y,{})),U=computed((function(){var e={};return Object.keys(toRaw(t)).forEach((function(n){var o;"modelValue"!==n&&(e[n]=null!==(o=t[n])&&void 0!==o?o:D[n]);})),e}));return 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);watch((function(){return t.modelValue}),(function(e){e!==n.getDoc()&&n.setDoc(e);})),watch((function(){return t.extensions}),(function(e){return n.reExtensions(e||[])}),{immediate:true}),watch((function(){return U.value.disabled}),(function(e){return n.toggleDisabled(e)}),{immediate:true}),watch((function(){return U.value.indentWithTab}),(function(e){return n.toggleIndentWithTab(e)}),{immediate:true}),watch((function(){return U.value.tabSize}),(function(e){return n.setTabSize(e)}),{immediate:true}),watch((function(){return U.value.phrases}),(function(e){return n.setPhrases(e||{})}),{immediate:true}),watch((function(){return U.value.placeholder}),(function(e){return n.setPlaceholder(e)}),{immediate:true}),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});})),onBeforeUnmount((function(){U.value.autoDestroy&&C.value&&function(e){e.destroy();}(C.value);})),function(){return h$1("div",{class:"v-codemirror",style:{display:"contents"},ref:f})}}}),T=P;
|
|
68463
68463
|
|
|
68464
68464
|
const _hoisted_1$N = { class: "code-mirror" };
|
|
68465
|
-
const _sfc_main$
|
|
68465
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
68466
68466
|
__name: "BmsInputCode",
|
|
68467
68467
|
props: /* @__PURE__ */ mergeModels({
|
|
68468
68468
|
type: {},
|
|
@@ -68515,9 +68515,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
68515
68515
|
}
|
|
68516
68516
|
});
|
|
68517
68517
|
|
|
68518
|
-
const BmsInputCode = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
68518
|
+
const BmsInputCode = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-0de8ac2e"]]);
|
|
68519
68519
|
|
|
68520
|
-
const _sfc_main$
|
|
68520
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
68521
68521
|
__name: "BmsInputText",
|
|
68522
68522
|
props: {
|
|
68523
68523
|
inputType: { default: InputType.TEXT },
|
|
@@ -68632,7 +68632,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
68632
68632
|
}
|
|
68633
68633
|
});
|
|
68634
68634
|
|
|
68635
|
-
const _sfc_main
|
|
68635
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
68636
68636
|
__name: "BmsInputDateTime",
|
|
68637
68637
|
props: {
|
|
68638
68638
|
modelValue: {},
|
|
@@ -68658,7 +68658,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
68658
68658
|
if (!props.disabled && value) $emits("update:modelValue", value);
|
|
68659
68659
|
};
|
|
68660
68660
|
return (_ctx, _cache) => {
|
|
68661
|
-
return openBlock(), createBlock(_sfc_main$
|
|
68661
|
+
return openBlock(), createBlock(_sfc_main$11, {
|
|
68662
68662
|
modelValue: __props.modelValue,
|
|
68663
68663
|
label: __props.label,
|
|
68664
68664
|
required: __props.required,
|
|
@@ -68681,7 +68681,7 @@ const _hoisted_3$h = {
|
|
|
68681
68681
|
key: 1,
|
|
68682
68682
|
class: "file-upload__file-name"
|
|
68683
68683
|
};
|
|
68684
|
-
const _sfc_main
|
|
68684
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
68685
68685
|
__name: "BmsInputFile",
|
|
68686
68686
|
props: {
|
|
68687
68687
|
modelValue: {},
|
|
@@ -68837,7 +68837,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
68837
68837
|
src: getImageSrc(file),
|
|
68838
68838
|
class: "file-upload__file-img"
|
|
68839
68839
|
}, null, 8, _hoisted_2$v)) : (openBlock(), createElementBlock("span", _hoisted_3$h, toDisplayString(file.name), 1)),
|
|
68840
|
-
createVNode(_sfc_main$
|
|
68840
|
+
createVNode(_sfc_main$1n, {
|
|
68841
68841
|
mode: unref(StatusType).Danger,
|
|
68842
68842
|
onClick: withModifiers(($event) => onDeleteFile(file), ["prevent"]),
|
|
68843
68843
|
class: "close-button"
|
|
@@ -68857,9 +68857,9 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
68857
68857
|
}
|
|
68858
68858
|
});
|
|
68859
68859
|
|
|
68860
|
-
const BmsInputFile = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
68860
|
+
const BmsInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-07e6912d"]]);
|
|
68861
68861
|
|
|
68862
|
-
const _sfc_main$
|
|
68862
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
68863
68863
|
__name: "BmsInputNumber",
|
|
68864
68864
|
props: {
|
|
68865
68865
|
modelValue: {},
|
|
@@ -68919,7 +68919,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
68919
68919
|
() => checkLimit()
|
|
68920
68920
|
);
|
|
68921
68921
|
return (_ctx, _cache) => {
|
|
68922
|
-
return openBlock(), createBlock(_sfc_main$
|
|
68922
|
+
return openBlock(), createBlock(_sfc_main$11, {
|
|
68923
68923
|
modelValue: __props.modelValue,
|
|
68924
68924
|
label: __props.label,
|
|
68925
68925
|
required: __props.required,
|
|
@@ -68943,7 +68943,7 @@ const _hoisted_2$u = {
|
|
|
68943
68943
|
key: 0,
|
|
68944
68944
|
class: "input-radio-info"
|
|
68945
68945
|
};
|
|
68946
|
-
const _sfc_main$
|
|
68946
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
68947
68947
|
__name: "BmsInputRadio",
|
|
68948
68948
|
props: {
|
|
68949
68949
|
modelValue: {},
|
|
@@ -68994,9 +68994,9 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
68994
68994
|
}
|
|
68995
68995
|
});
|
|
68996
68996
|
|
|
68997
|
-
const BmsInputRadio = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
68997
|
+
const BmsInputRadio = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-c0c9efa3"]]);
|
|
68998
68998
|
|
|
68999
|
-
const _sfc_main$
|
|
68999
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
69000
69000
|
__name: "BmsInputRadioGroup",
|
|
69001
69001
|
props: {
|
|
69002
69002
|
values: { default: () => [] },
|
|
@@ -69067,9 +69067,9 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
69067
69067
|
}
|
|
69068
69068
|
});
|
|
69069
69069
|
|
|
69070
|
-
const BmsInputRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69070
|
+
const BmsInputRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-186163e2"]]);
|
|
69071
69071
|
|
|
69072
|
-
const _sfc_main$
|
|
69072
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
69073
69073
|
__name: "BmsInputRadioCaption",
|
|
69074
69074
|
props: {
|
|
69075
69075
|
modelValue: {},
|
|
@@ -69131,9 +69131,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
69131
69131
|
}
|
|
69132
69132
|
});
|
|
69133
69133
|
|
|
69134
|
-
const BmsInputRadioCaption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69134
|
+
const BmsInputRadioCaption = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-c3ba4fee"]]);
|
|
69135
69135
|
|
|
69136
|
-
const _sfc_main$
|
|
69136
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
69137
69137
|
__name: "BmsInputRadioCaptionGroup",
|
|
69138
69138
|
props: {
|
|
69139
69139
|
options: { default: () => [] },
|
|
@@ -69193,10 +69193,10 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
69193
69193
|
}
|
|
69194
69194
|
});
|
|
69195
69195
|
|
|
69196
|
-
const BmsInputRadioCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69196
|
+
const BmsInputRadioCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-a4287904"]]);
|
|
69197
69197
|
|
|
69198
69198
|
const _hoisted_1$K = ["disabled", "name"];
|
|
69199
|
-
const _sfc_main$
|
|
69199
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
69200
69200
|
__name: "UiBmsSwitch",
|
|
69201
69201
|
props: {
|
|
69202
69202
|
disabled: { type: Boolean, default: false },
|
|
@@ -69233,11 +69233,11 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
69233
69233
|
}
|
|
69234
69234
|
});
|
|
69235
69235
|
|
|
69236
|
-
const UiBmsSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69236
|
+
const UiBmsSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-6de1a5c6"]]);
|
|
69237
69237
|
|
|
69238
69238
|
const _hoisted_1$J = ["title"];
|
|
69239
69239
|
const _hoisted_2$t = { class: "input-switch-info" };
|
|
69240
|
-
const _sfc_main$
|
|
69240
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
69241
69241
|
__name: "BmsInputToggle",
|
|
69242
69242
|
props: {
|
|
69243
69243
|
name: {},
|
|
@@ -69282,10 +69282,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
69282
69282
|
}
|
|
69283
69283
|
});
|
|
69284
69284
|
|
|
69285
|
-
const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69285
|
+
const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-5f354760"]]);
|
|
69286
69286
|
|
|
69287
69287
|
const _hoisted_1$I = { class: "dismiss-button" };
|
|
69288
|
-
const _sfc_main$
|
|
69288
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
69289
69289
|
__name: "BmsTag",
|
|
69290
69290
|
props: {
|
|
69291
69291
|
active: { type: Boolean, default: false },
|
|
@@ -69303,7 +69303,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
69303
69303
|
}, [
|
|
69304
69304
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
69305
69305
|
createElementVNode("span", _hoisted_1$I, [
|
|
69306
|
-
__props.canBeDismissed ? (openBlock(), createBlock(unref(_sfc_main$
|
|
69306
|
+
__props.canBeDismissed ? (openBlock(), createBlock(unref(_sfc_main$1n), {
|
|
69307
69307
|
key: 0,
|
|
69308
69308
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emits("dismiss"), ["stop"]))
|
|
69309
69309
|
}, {
|
|
@@ -69320,9 +69320,9 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
69320
69320
|
}
|
|
69321
69321
|
});
|
|
69322
69322
|
|
|
69323
|
-
const BmsTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69323
|
+
const BmsTag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-e2517fee"]]);
|
|
69324
69324
|
|
|
69325
|
-
const _sfc_main$
|
|
69325
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
69326
69326
|
__name: "RawSelect",
|
|
69327
69327
|
props: {
|
|
69328
69328
|
options: {},
|
|
@@ -69380,12 +69380,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
69380
69380
|
}
|
|
69381
69381
|
});
|
|
69382
69382
|
|
|
69383
|
-
const RawSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69383
|
+
const RawSelect = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-6231389d"]]);
|
|
69384
69384
|
|
|
69385
69385
|
const _hoisted_1$H = { class: "tags" };
|
|
69386
69386
|
const _hoisted_2$s = ["disabled"];
|
|
69387
69387
|
const _hoisted_3$g = { class: "icon-container" };
|
|
69388
|
-
const _sfc_main$
|
|
69388
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
69389
69389
|
__name: "BmsMultiSelect",
|
|
69390
69390
|
props: /* @__PURE__ */ mergeModels({
|
|
69391
69391
|
options: {},
|
|
@@ -69540,9 +69540,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
69540
69540
|
}
|
|
69541
69541
|
});
|
|
69542
69542
|
|
|
69543
|
-
const BmsMultiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69543
|
+
const BmsMultiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-b8b817ba"]]);
|
|
69544
69544
|
|
|
69545
|
-
const _sfc_main$
|
|
69545
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
69546
69546
|
__name: "BmsSearch",
|
|
69547
69547
|
props: {
|
|
69548
69548
|
modelValue: {},
|
|
@@ -69572,7 +69572,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
69572
69572
|
setFocus
|
|
69573
69573
|
});
|
|
69574
69574
|
return (_ctx, _cache) => {
|
|
69575
|
-
return openBlock(), createBlock(_sfc_main$
|
|
69575
|
+
return openBlock(), createBlock(_sfc_main$11, {
|
|
69576
69576
|
ref_key: "input",
|
|
69577
69577
|
ref: input,
|
|
69578
69578
|
modelValue: search.value,
|
|
@@ -69601,7 +69601,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
69601
69601
|
}
|
|
69602
69602
|
});
|
|
69603
69603
|
|
|
69604
|
-
const BmsSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69604
|
+
const BmsSearch = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-66c267f2"]]);
|
|
69605
69605
|
|
|
69606
69606
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
69607
69607
|
|
|
@@ -86823,7 +86823,7 @@ const _ = /*@__PURE__*/getDefaultExportFromCjs(lodashExports);
|
|
|
86823
86823
|
|
|
86824
86824
|
const _hoisted_1$G = ["value", "placeholder", "required", "disabled"];
|
|
86825
86825
|
const _hoisted_2$r = { class: "icon-toggle-container" };
|
|
86826
|
-
const _sfc_main$
|
|
86826
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
86827
86827
|
__name: "BmsSelect",
|
|
86828
86828
|
props: /* @__PURE__ */ mergeModels({
|
|
86829
86829
|
options: {},
|
|
@@ -86922,10 +86922,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
86922
86922
|
}
|
|
86923
86923
|
});
|
|
86924
86924
|
|
|
86925
|
-
const BmsSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
86925
|
+
const BmsSelect = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-7aef9c6c"]]);
|
|
86926
86926
|
|
|
86927
86927
|
const _hoisted_1$F = ["value", "required", "placeholder", "disabled"];
|
|
86928
|
-
const _sfc_main$
|
|
86928
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
86929
86929
|
__name: "BmsTextArea",
|
|
86930
86930
|
props: {
|
|
86931
86931
|
modelValue: {},
|
|
@@ -86990,11 +86990,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
86990
86990
|
}
|
|
86991
86991
|
});
|
|
86992
86992
|
|
|
86993
|
-
const BmsTextArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
86993
|
+
const BmsTextArea = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-94de6dd9"]]);
|
|
86994
86994
|
|
|
86995
86995
|
const _hoisted_1$E = { class: "page__breadcrumb" };
|
|
86996
86996
|
const _hoisted_2$q = { class: "page__header" };
|
|
86997
|
-
const _sfc_main$
|
|
86997
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
86998
86998
|
__name: "BmsContentPageLayout",
|
|
86999
86999
|
props: {
|
|
87000
87000
|
size: { default: "large" }
|
|
@@ -87021,14 +87021,14 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
87021
87021
|
}
|
|
87022
87022
|
});
|
|
87023
87023
|
|
|
87024
|
-
const BmsContentPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
87024
|
+
const BmsContentPageLayout = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-31057778"]]);
|
|
87025
87025
|
|
|
87026
87026
|
const _hoisted_1$D = { class: "card__body__content" };
|
|
87027
87027
|
const _hoisted_2$p = {
|
|
87028
87028
|
key: 0,
|
|
87029
87029
|
class: "card__body__action"
|
|
87030
87030
|
};
|
|
87031
|
-
const _sfc_main$
|
|
87031
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
87032
87032
|
__name: "BmsCard",
|
|
87033
87033
|
props: {
|
|
87034
87034
|
animated: { type: Boolean, default: false },
|
|
@@ -87068,7 +87068,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
87068
87068
|
class: normalizeClass(["card__body", { animated: __props.animated, hasAction: !!_ctx.$slots.action }])
|
|
87069
87069
|
}, [
|
|
87070
87070
|
createElementVNode("div", _hoisted_1$D, [
|
|
87071
|
-
__props.to ? (openBlock(), createBlock(_sfc_main$
|
|
87071
|
+
__props.to ? (openBlock(), createBlock(_sfc_main$1r, {
|
|
87072
87072
|
key: 0,
|
|
87073
87073
|
class: "card__body__content__link",
|
|
87074
87074
|
to: __props.to
|
|
@@ -87088,14 +87088,14 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
87088
87088
|
}
|
|
87089
87089
|
});
|
|
87090
87090
|
|
|
87091
|
-
const BmsCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
87091
|
+
const BmsCard = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-cff3f84d"]]);
|
|
87092
87092
|
|
|
87093
87093
|
const _hoisted_1$C = { class: "floating-window-wrapper" };
|
|
87094
87094
|
const _hoisted_2$o = { class: "floating-window" };
|
|
87095
87095
|
const _hoisted_3$f = { class: "floating-window__header" };
|
|
87096
87096
|
const _hoisted_4$a = { class: "floating-window__header__buttons" };
|
|
87097
87097
|
const _hoisted_5$8 = { class: "floating-window__content" };
|
|
87098
|
-
const _sfc_main$
|
|
87098
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
87099
87099
|
__name: "BmsFloatingWindow",
|
|
87100
87100
|
props: /* @__PURE__ */ mergeModels({
|
|
87101
87101
|
title: {}
|
|
@@ -87114,7 +87114,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
87114
87114
|
createElementVNode("div", _hoisted_3$f, [
|
|
87115
87115
|
createElementVNode("h2", null, toDisplayString(__props.title), 1),
|
|
87116
87116
|
createElementVNode("div", _hoisted_4$a, [
|
|
87117
|
-
createVNode(_sfc_main$
|
|
87117
|
+
createVNode(_sfc_main$1n, {
|
|
87118
87118
|
"tooltip-text": "Maximiser la fenêtre",
|
|
87119
87119
|
disabled: ""
|
|
87120
87120
|
}, {
|
|
@@ -87123,7 +87123,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
87123
87123
|
]),
|
|
87124
87124
|
_: 1
|
|
87125
87125
|
}),
|
|
87126
|
-
createVNode(_sfc_main$
|
|
87126
|
+
createVNode(_sfc_main$1n, {
|
|
87127
87127
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => open.value = false, ["prevent", "stop"]))
|
|
87128
87128
|
}, {
|
|
87129
87129
|
default: withCtx(() => [
|
|
@@ -87144,7 +87144,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
87144
87144
|
}
|
|
87145
87145
|
});
|
|
87146
87146
|
|
|
87147
|
-
const BmsFloatingWindow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
87147
|
+
const BmsFloatingWindow = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-fdb4e567"]]);
|
|
87148
87148
|
|
|
87149
87149
|
const _hoisted_1$B = { class: "form-section" };
|
|
87150
87150
|
const _hoisted_2$n = {
|
|
@@ -87152,7 +87152,7 @@ const _hoisted_2$n = {
|
|
|
87152
87152
|
style: "border"
|
|
87153
87153
|
};
|
|
87154
87154
|
const _hoisted_3$e = { class: "actions" };
|
|
87155
|
-
const _sfc_main$
|
|
87155
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
87156
87156
|
__name: "BmsForm",
|
|
87157
87157
|
setup(__props) {
|
|
87158
87158
|
const slots = useSlots();
|
|
@@ -87179,16 +87179,16 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
87179
87179
|
}
|
|
87180
87180
|
});
|
|
87181
87181
|
|
|
87182
|
-
const BmsForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
87182
|
+
const BmsForm = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-b5bab57e"]]);
|
|
87183
87183
|
|
|
87184
|
-
const _sfc_main$
|
|
87184
|
+
const _sfc_main$J = { };
|
|
87185
87185
|
|
|
87186
87186
|
function _sfc_render$1(_ctx, _cache) {
|
|
87187
87187
|
return (openBlock(), createElementBlock("header", null, [
|
|
87188
87188
|
renderSlot(_ctx.$slots, "default", {}, undefined, true)
|
|
87189
87189
|
]))
|
|
87190
87190
|
}
|
|
87191
|
-
const BmsHeader = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
87191
|
+
const BmsHeader = /*#__PURE__*/_export_sfc(_sfc_main$J, [['render',_sfc_render$1],['__scopeId',"data-v-97c1615a"]]);
|
|
87192
87192
|
|
|
87193
87193
|
function isPlainObject$1(value) {
|
|
87194
87194
|
if (value === null || typeof value !== "object") {
|
|
@@ -89971,7 +89971,7 @@ const _hoisted_1$A = {
|
|
|
89971
89971
|
"stroke-linecap": "round",
|
|
89972
89972
|
"stroke-linejoin": "round"
|
|
89973
89973
|
};
|
|
89974
|
-
const _sfc_main$
|
|
89974
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
89975
89975
|
__name: "AnimatedCircleHelpIcon",
|
|
89976
89976
|
setup(__props) {
|
|
89977
89977
|
const defaultTransition = {
|
|
@@ -90046,7 +90046,7 @@ const _hoisted_1$z = {
|
|
|
90046
90046
|
"stroke-linecap": "round",
|
|
90047
90047
|
"stroke-linejoin": "round"
|
|
90048
90048
|
};
|
|
90049
|
-
const _sfc_main$
|
|
90049
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
90050
90050
|
__name: "AnimatedActivityIcon",
|
|
90051
90051
|
setup(__props) {
|
|
90052
90052
|
const variants = {
|
|
@@ -90106,7 +90106,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
90106
90106
|
}
|
|
90107
90107
|
});
|
|
90108
90108
|
|
|
90109
|
-
const _sfc_main$
|
|
90109
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
90110
90110
|
__name: "BmsShortLinkMenu",
|
|
90111
90111
|
props: {
|
|
90112
90112
|
outline: { type: Boolean, default: false },
|
|
@@ -90119,7 +90119,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
90119
90119
|
key: 0,
|
|
90120
90120
|
class: normalizeClass(["bms-short-link-menu", { "bms-short-link-menu__outline": __props.outline }])
|
|
90121
90121
|
}, [
|
|
90122
|
-
!!__props.helpLink ? (openBlock(), createBlock(_sfc_main$
|
|
90122
|
+
!!__props.helpLink ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
90123
90123
|
key: 0,
|
|
90124
90124
|
"tooltip-text": "Voir la documentation",
|
|
90125
90125
|
to: __props.helpLink,
|
|
@@ -90127,12 +90127,12 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
90127
90127
|
}, {
|
|
90128
90128
|
default: withCtx(() => [
|
|
90129
90129
|
renderSlot(_ctx.$slots, "documentationIcon", {}, () => [
|
|
90130
|
-
createVNode(_sfc_main$
|
|
90130
|
+
createVNode(_sfc_main$I)
|
|
90131
90131
|
], true)
|
|
90132
90132
|
]),
|
|
90133
90133
|
_: 3
|
|
90134
90134
|
}, 8, ["to"])) : createCommentVNode("", true),
|
|
90135
|
-
!!__props.activityLink ? (openBlock(), createBlock(_sfc_main$
|
|
90135
|
+
!!__props.activityLink ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
90136
90136
|
key: 1,
|
|
90137
90137
|
"tooltip-text": "Voir l'activité",
|
|
90138
90138
|
to: __props.activityLink,
|
|
@@ -90140,7 +90140,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
90140
90140
|
}, {
|
|
90141
90141
|
default: withCtx(() => [
|
|
90142
90142
|
renderSlot(_ctx.$slots, "activityIcon", {}, () => [
|
|
90143
|
-
createVNode(_sfc_main$
|
|
90143
|
+
createVNode(_sfc_main$H)
|
|
90144
90144
|
], true)
|
|
90145
90145
|
]),
|
|
90146
90146
|
_: 3
|
|
@@ -90150,7 +90150,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
90150
90150
|
}
|
|
90151
90151
|
});
|
|
90152
90152
|
|
|
90153
|
-
const BmsShortLinkMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90153
|
+
const BmsShortLinkMenu = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-d23e08a5"]]);
|
|
90154
90154
|
|
|
90155
90155
|
const _hoisted_1$y = { class: "bms-header" };
|
|
90156
90156
|
const _hoisted_2$m = { class: "bms-header__title" };
|
|
@@ -90168,7 +90168,7 @@ const _hoisted_7$5 = {
|
|
|
90168
90168
|
key: 0,
|
|
90169
90169
|
class: "bms-header__subtitle"
|
|
90170
90170
|
};
|
|
90171
|
-
const _sfc_main$
|
|
90171
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
90172
90172
|
__name: "BmsHeaderTitle",
|
|
90173
90173
|
props: {
|
|
90174
90174
|
title: {},
|
|
@@ -90210,9 +90210,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
90210
90210
|
}
|
|
90211
90211
|
});
|
|
90212
90212
|
|
|
90213
|
-
const BmsHeaderTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90213
|
+
const BmsHeaderTitle = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-1368f77d"]]);
|
|
90214
90214
|
|
|
90215
|
-
const _sfc_main$
|
|
90215
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
90216
90216
|
__name: "BmsOverlay",
|
|
90217
90217
|
props: {
|
|
90218
90218
|
active: { type: Boolean },
|
|
@@ -90230,7 +90230,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
90230
90230
|
}
|
|
90231
90231
|
});
|
|
90232
90232
|
|
|
90233
|
-
const BmsOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90233
|
+
const BmsOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-383b958c"]]);
|
|
90234
90234
|
|
|
90235
90235
|
const _hoisted_1$x = ["data-testid"];
|
|
90236
90236
|
const _hoisted_2$l = { class: "ui-modal__header" };
|
|
@@ -90244,7 +90244,7 @@ const _hoisted_8$3 = {
|
|
|
90244
90244
|
class: "ui-modal__loader"
|
|
90245
90245
|
};
|
|
90246
90246
|
const _hoisted_9$2 = { key: 0 };
|
|
90247
|
-
const _sfc_main$
|
|
90247
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
90248
90248
|
__name: "BmsModal",
|
|
90249
90249
|
props: {
|
|
90250
90250
|
modelValue: { default: null },
|
|
@@ -90384,7 +90384,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
90384
90384
|
])
|
|
90385
90385
|
], true)
|
|
90386
90386
|
]),
|
|
90387
|
-
createVNode(_sfc_main$
|
|
90387
|
+
createVNode(_sfc_main$1n, {
|
|
90388
90388
|
disabled: !isModalClosable.value,
|
|
90389
90389
|
onClick: dismissModal,
|
|
90390
90390
|
"data-testid": "close-modal"
|
|
@@ -90410,7 +90410,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
90410
90410
|
modalData: props.modelValue
|
|
90411
90411
|
}, () => [
|
|
90412
90412
|
(openBlock(true), createElementBlock(Fragment, null, renderList(buttons.value, (button) => {
|
|
90413
|
-
return openBlock(), createBlock(_sfc_main$
|
|
90413
|
+
return openBlock(), createBlock(_sfc_main$1o, {
|
|
90414
90414
|
key: button.label + button.role,
|
|
90415
90415
|
type: button.role === "cancel" ? "secondary" : "primary",
|
|
90416
90416
|
disabled: !isModalClosable.value || button.disabled,
|
|
@@ -90450,10 +90450,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
90450
90450
|
}
|
|
90451
90451
|
});
|
|
90452
90452
|
|
|
90453
|
-
const BmsModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90453
|
+
const BmsModal = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-769d070b"]]);
|
|
90454
90454
|
|
|
90455
90455
|
const _hoisted_1$w = { class: "header" };
|
|
90456
|
-
const _sfc_main$
|
|
90456
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
90457
90457
|
__name: "BmsSection",
|
|
90458
90458
|
props: {
|
|
90459
90459
|
style: { default: "flat" }
|
|
@@ -90472,14 +90472,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
90472
90472
|
}
|
|
90473
90473
|
});
|
|
90474
90474
|
|
|
90475
|
-
const BmsSection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90475
|
+
const BmsSection = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-2e9192be"]]);
|
|
90476
90476
|
|
|
90477
90477
|
const _hoisted_1$v = ["id"];
|
|
90478
90478
|
const _hoisted_2$k = ["aria-label", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-orientation", "aria-controls"];
|
|
90479
90479
|
const _hoisted_3$b = ["id"];
|
|
90480
90480
|
const DEFAULT_MIN = 0;
|
|
90481
90481
|
const DEFAULT_MAX = 100;
|
|
90482
|
-
const _sfc_main$
|
|
90482
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
90483
90483
|
__name: "BmsSplitWindow",
|
|
90484
90484
|
props: /* @__PURE__ */ mergeModels({
|
|
90485
90485
|
splitOrientation: { default: "vertical" },
|
|
@@ -90514,6 +90514,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
90514
90514
|
watch(
|
|
90515
90515
|
() => props.collapsed,
|
|
90516
90516
|
(val) => {
|
|
90517
|
+
console.log("watch:collapsed", val);
|
|
90517
90518
|
collapsedLocal.value = val ?? false;
|
|
90518
90519
|
}
|
|
90519
90520
|
);
|
|
@@ -90559,7 +90560,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
90559
90560
|
});
|
|
90560
90561
|
function onPointerDown(evt) {
|
|
90561
90562
|
isDragging.value = true;
|
|
90562
|
-
|
|
90563
|
+
if (collapsedLocal.value) {
|
|
90564
|
+
setCollapsed(false);
|
|
90565
|
+
}
|
|
90563
90566
|
startSplit.value = clampSplit.value;
|
|
90564
90567
|
startPosition.value = props.splitOrientation === "vertical" ? evt.clientX : evt.clientY;
|
|
90565
90568
|
}
|
|
@@ -90583,14 +90586,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
90583
90586
|
switch (evt.key) {
|
|
90584
90587
|
case "ArrowLeft":
|
|
90585
90588
|
case "ArrowUp":
|
|
90586
|
-
if (collapsedLocal.value
|
|
90589
|
+
if (collapsedLocal.value) {
|
|
90587
90590
|
setCollapsed(false);
|
|
90588
90591
|
}
|
|
90589
90592
|
split.value = Math.max(min.value, clampSplit.value - 1);
|
|
90590
90593
|
break;
|
|
90591
90594
|
case "ArrowRight":
|
|
90592
90595
|
case "ArrowDown":
|
|
90593
|
-
if (collapsedLocal.value
|
|
90596
|
+
if (collapsedLocal.value) {
|
|
90594
90597
|
setCollapsed(false);
|
|
90595
90598
|
}
|
|
90596
90599
|
split.value = Math.min(max.value, clampSplit.value + 1);
|
|
@@ -90599,13 +90602,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
90599
90602
|
setCollapsed(!collapsedLocal.value);
|
|
90600
90603
|
break;
|
|
90601
90604
|
case "Home":
|
|
90602
|
-
if (collapsedLocal.value
|
|
90605
|
+
if (collapsedLocal.value) {
|
|
90603
90606
|
setCollapsed(false);
|
|
90604
90607
|
}
|
|
90605
90608
|
split.value = props.primary === "first" ? min.value : max.value;
|
|
90606
90609
|
break;
|
|
90607
90610
|
case "End":
|
|
90608
|
-
if (collapsedLocal.value
|
|
90611
|
+
if (collapsedLocal.value) {
|
|
90609
90612
|
setCollapsed(false);
|
|
90610
90613
|
}
|
|
90611
90614
|
split.value = props.primary === "first" ? max.value : min.value;
|
|
@@ -90626,17 +90629,20 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
90626
90629
|
return (_ctx, _cache) => {
|
|
90627
90630
|
return openBlock(), createElementBlock("div", {
|
|
90628
90631
|
ref: "split-window",
|
|
90629
|
-
class: normalizeClass(["split-window",
|
|
90632
|
+
class: normalizeClass(["split-window", [
|
|
90633
|
+
`split-window--${__props.splitOrientation}`,
|
|
90634
|
+
{ "split-window--dragging": isDragging.value }
|
|
90635
|
+
]]),
|
|
90630
90636
|
style: normalizeStyle(gridStyle.value)
|
|
90631
90637
|
}, [
|
|
90632
90638
|
createElementVNode("div", {
|
|
90633
|
-
class: "split-window__first-pane",
|
|
90639
|
+
class: "split-window__pane split-window__first-pane",
|
|
90634
90640
|
id: __props.primary === "first" ? primaryId.value : void 0
|
|
90635
90641
|
}, [
|
|
90636
90642
|
renderSlot(_ctx.$slots, "first", {}, void 0, true)
|
|
90637
90643
|
], 8, _hoisted_1$v),
|
|
90638
90644
|
createElementVNode("div", {
|
|
90639
|
-
class: "split-window__separator",
|
|
90645
|
+
class: "split-window__separator toto",
|
|
90640
90646
|
role: "separator",
|
|
90641
90647
|
tabindex: "0",
|
|
90642
90648
|
"aria-label": props.ariaLabel || "Séparateur de volet",
|
|
@@ -90649,7 +90655,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
90649
90655
|
onKeydown: onKeyDown
|
|
90650
90656
|
}, null, 40, _hoisted_2$k),
|
|
90651
90657
|
createElementVNode("div", {
|
|
90652
|
-
class: "split-window__second-pane",
|
|
90658
|
+
class: "split-window__pane split-window__second-pane",
|
|
90653
90659
|
id: __props.primary === "second" ? primaryId.value : void 0
|
|
90654
90660
|
}, [
|
|
90655
90661
|
renderSlot(_ctx.$slots, "second", {}, void 0, true)
|
|
@@ -90659,11 +90665,11 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
90659
90665
|
}
|
|
90660
90666
|
});
|
|
90661
90667
|
|
|
90662
|
-
const BmsSplitWindow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90668
|
+
const BmsSplitWindow = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-15128bb0"]]);
|
|
90663
90669
|
|
|
90664
90670
|
const _hoisted_1$u = { class: "step" };
|
|
90665
90671
|
const _hoisted_2$j = { class: "step-buttons" };
|
|
90666
|
-
const _sfc_main$
|
|
90672
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
90667
90673
|
__name: "BmsStep",
|
|
90668
90674
|
props: {
|
|
90669
90675
|
previousLabel: { default: "Précédent" },
|
|
@@ -90679,7 +90685,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
90679
90685
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
90680
90686
|
renderSlot(_ctx.$slots, "actions", {}, () => [
|
|
90681
90687
|
createElementVNode("div", _hoisted_2$j, [
|
|
90682
|
-
__props.previousLabel ? (openBlock(), createBlock(_sfc_main$
|
|
90688
|
+
__props.previousLabel ? (openBlock(), createBlock(_sfc_main$1o, {
|
|
90683
90689
|
key: 0,
|
|
90684
90690
|
"data-test": "previous-button",
|
|
90685
90691
|
name: "previous",
|
|
@@ -90691,7 +90697,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
90691
90697
|
]),
|
|
90692
90698
|
_: 1
|
|
90693
90699
|
})) : createCommentVNode("", true),
|
|
90694
|
-
__props.nextLabel ? (openBlock(), createBlock(_sfc_main$
|
|
90700
|
+
__props.nextLabel ? (openBlock(), createBlock(_sfc_main$1o, {
|
|
90695
90701
|
key: 1,
|
|
90696
90702
|
"data-test": "next-button",
|
|
90697
90703
|
class: "",
|
|
@@ -90711,7 +90717,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
90711
90717
|
}
|
|
90712
90718
|
});
|
|
90713
90719
|
|
|
90714
|
-
const BmsStep = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90720
|
+
const BmsStep = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-fcce71d1"]]);
|
|
90715
90721
|
|
|
90716
90722
|
const _hoisted_1$t = { class: "stepper" };
|
|
90717
90723
|
const _hoisted_2$i = { class: "stepper-header" };
|
|
@@ -90723,7 +90729,7 @@ const _hoisted_6$3 = {
|
|
|
90723
90729
|
class: "stepper-header--separator"
|
|
90724
90730
|
};
|
|
90725
90731
|
const _hoisted_7$3 = { class: "stepper-body" };
|
|
90726
|
-
const _sfc_main$
|
|
90732
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
90727
90733
|
__name: "BmsStepper",
|
|
90728
90734
|
props: {
|
|
90729
90735
|
currentStep: { default: 0 },
|
|
@@ -90797,7 +90803,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
90797
90803
|
}
|
|
90798
90804
|
});
|
|
90799
90805
|
|
|
90800
|
-
const BmsStepper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90806
|
+
const BmsStepper = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-c132d5cd"]]);
|
|
90801
90807
|
|
|
90802
90808
|
const historyRoutes = ref([]);
|
|
90803
90809
|
const useRouterHistory = () => {
|
|
@@ -90832,7 +90838,7 @@ const useRouterHistory = () => {
|
|
|
90832
90838
|
};
|
|
90833
90839
|
};
|
|
90834
90840
|
|
|
90835
|
-
const _sfc_main$
|
|
90841
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
90836
90842
|
__name: "BmsBackButton",
|
|
90837
90843
|
props: {
|
|
90838
90844
|
fallback: {}
|
|
@@ -90856,7 +90862,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
90856
90862
|
}
|
|
90857
90863
|
});
|
|
90858
90864
|
|
|
90859
|
-
const BmsBackButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90865
|
+
const BmsBackButton = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-02d02028"]]);
|
|
90860
90866
|
|
|
90861
90867
|
const _hoisted_1$s = {
|
|
90862
90868
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -90869,7 +90875,7 @@ const _hoisted_1$s = {
|
|
|
90869
90875
|
"stroke-linecap": "round",
|
|
90870
90876
|
"stroke-linejoin": "round"
|
|
90871
90877
|
};
|
|
90872
|
-
const _sfc_main$
|
|
90878
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
90873
90879
|
__name: "AnimatedHomeIcon",
|
|
90874
90880
|
setup(__props) {
|
|
90875
90881
|
const variants = {
|
|
@@ -90928,7 +90934,7 @@ const _hoisted_2$h = {
|
|
|
90928
90934
|
key: 1,
|
|
90929
90935
|
class: "breadcrumb__here"
|
|
90930
90936
|
};
|
|
90931
|
-
const _sfc_main$
|
|
90937
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
90932
90938
|
__name: "BmsBreadcrumb",
|
|
90933
90939
|
props: {
|
|
90934
90940
|
homeLocation: { default: "/" },
|
|
@@ -90941,7 +90947,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
90941
90947
|
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
90942
90948
|
createVNode(_component_RouterLink, { to: __props.homeLocation }, {
|
|
90943
90949
|
default: withCtx(() => [
|
|
90944
|
-
createVNode(_sfc_main$
|
|
90950
|
+
createVNode(_sfc_main$x)
|
|
90945
90951
|
]),
|
|
90946
90952
|
_: 1
|
|
90947
90953
|
}, 8, ["to"]),
|
|
@@ -90966,10 +90972,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
90966
90972
|
}
|
|
90967
90973
|
});
|
|
90968
90974
|
|
|
90969
|
-
const BmsBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
90975
|
+
const BmsBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-a7f3b134"]]);
|
|
90970
90976
|
|
|
90971
90977
|
const _hoisted_1$q = { class: "label" };
|
|
90972
|
-
const _sfc_main$
|
|
90978
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
90973
90979
|
__name: "UiMenuItem",
|
|
90974
90980
|
props: {
|
|
90975
90981
|
item: {},
|
|
@@ -90986,7 +90992,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
90986
90992
|
return classes2;
|
|
90987
90993
|
});
|
|
90988
90994
|
return (_ctx, _cache) => {
|
|
90989
|
-
return openBlock(), createBlock(_sfc_main$
|
|
90995
|
+
return openBlock(), createBlock(_sfc_main$1r, {
|
|
90990
90996
|
to: __props.item.link,
|
|
90991
90997
|
target: __props.target,
|
|
90992
90998
|
classes: classes.value
|
|
@@ -91017,7 +91023,7 @@ const _hoisted_2$g = { class: "parent-label" };
|
|
|
91017
91023
|
const _hoisted_3$9 = ["onClick"];
|
|
91018
91024
|
const _hoisted_4$6 = { class: "parent-label" };
|
|
91019
91025
|
const _hoisted_5$4 = { class: "additional" };
|
|
91020
|
-
const _sfc_main$
|
|
91026
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
91021
91027
|
__name: "BmsMenuNav",
|
|
91022
91028
|
props: {
|
|
91023
91029
|
items: {},
|
|
@@ -91080,7 +91086,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
91080
91086
|
key: item.label
|
|
91081
91087
|
}, [
|
|
91082
91088
|
hasSubItems(item) ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
91083
|
-
item.link ? (openBlock(), createBlock(_sfc_main$
|
|
91089
|
+
item.link ? (openBlock(), createBlock(_sfc_main$1r, {
|
|
91084
91090
|
key: 0,
|
|
91085
91091
|
to: item.link,
|
|
91086
91092
|
class: normalizeClass(`parent-item ${isItemActive(item) ? "active" : ""}`)
|
|
@@ -91108,7 +91114,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
91108
91114
|
return openBlock(), createElementBlock("li", {
|
|
91109
91115
|
key: subItem.label
|
|
91110
91116
|
}, [
|
|
91111
|
-
createVNode(_sfc_main$
|
|
91117
|
+
createVNode(_sfc_main$v, {
|
|
91112
91118
|
item: subItem,
|
|
91113
91119
|
active: isItemActive(subItem),
|
|
91114
91120
|
onClick: ($event) => clickItem(subItem)
|
|
@@ -91126,7 +91132,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
91126
91132
|
]),
|
|
91127
91133
|
_: 2
|
|
91128
91134
|
}, 1024)
|
|
91129
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
91135
|
+
])) : (openBlock(), createBlock(_sfc_main$v, {
|
|
91130
91136
|
key: 1,
|
|
91131
91137
|
item,
|
|
91132
91138
|
active: isItemActive(item),
|
|
@@ -91148,12 +91154,12 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
91148
91154
|
}
|
|
91149
91155
|
});
|
|
91150
91156
|
|
|
91151
|
-
const BmsMenuNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
91157
|
+
const BmsMenuNav = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-8b4752b4"]]);
|
|
91152
91158
|
|
|
91153
91159
|
const _hoisted_1$o = { class: "menu__container" };
|
|
91154
91160
|
const _hoisted_2$f = { class: "menu__top" };
|
|
91155
91161
|
const _hoisted_3$8 = { class: "menu__copyright" };
|
|
91156
|
-
const _sfc_main$
|
|
91162
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
91157
91163
|
__name: "BmsFixedMenu",
|
|
91158
91164
|
props: {
|
|
91159
91165
|
items: {},
|
|
@@ -91187,11 +91193,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
91187
91193
|
}
|
|
91188
91194
|
});
|
|
91189
91195
|
|
|
91190
|
-
const BmsFixedMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
91196
|
+
const BmsFixedMenu = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-b6a4c4f0"]]);
|
|
91191
91197
|
|
|
91192
91198
|
const _hoisted_1$n = { class: "menu" };
|
|
91193
91199
|
const _hoisted_2$e = { class: "menu__copyright" };
|
|
91194
|
-
const _sfc_main$
|
|
91200
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
91195
91201
|
__name: "BmsMenu",
|
|
91196
91202
|
props: {
|
|
91197
91203
|
items: {},
|
|
@@ -91208,7 +91214,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
91208
91214
|
const toggleMenu = (newMenuState = true) => isMenuOpen.value = newMenuState;
|
|
91209
91215
|
return (_ctx, _cache) => {
|
|
91210
91216
|
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
91211
|
-
createVNode(unref(_sfc_main$
|
|
91217
|
+
createVNode(unref(_sfc_main$1n), {
|
|
91212
91218
|
onClick: _cache[0] || (_cache[0] = ($event) => toggleMenu(!isMenuOpen.value)),
|
|
91213
91219
|
"data-testid": "openMenu",
|
|
91214
91220
|
"aria-label": "Ouvrir le menu"
|
|
@@ -91232,7 +91238,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
91232
91238
|
ref: menu,
|
|
91233
91239
|
class: normalizeClass(["menu__container", { "is-show": isMenuOpen.value }])
|
|
91234
91240
|
}, [
|
|
91235
|
-
createVNode(unref(_sfc_main$
|
|
91241
|
+
createVNode(unref(_sfc_main$1n), {
|
|
91236
91242
|
class: "menu__close",
|
|
91237
91243
|
onClick: _cache[1] || (_cache[1] = ($event) => toggleMenu(false)),
|
|
91238
91244
|
"data-testid": "closeMenu",
|
|
@@ -91272,52 +91278,66 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
91272
91278
|
}
|
|
91273
91279
|
});
|
|
91274
91280
|
|
|
91275
|
-
const BmsMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
91281
|
+
const BmsMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-02719cac"]]);
|
|
91276
91282
|
|
|
91277
|
-
const
|
|
91283
|
+
const getTabId = (tab) => tab.id || tab.name;
|
|
91284
|
+
|
|
91285
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
91278
91286
|
__name: "UiTab",
|
|
91279
91287
|
props: {
|
|
91280
|
-
|
|
91288
|
+
selectedTabId: {},
|
|
91281
91289
|
tab: {}
|
|
91282
91290
|
},
|
|
91283
91291
|
setup(__props) {
|
|
91284
91292
|
const props = __props;
|
|
91293
|
+
const tabId = computed(() => getTabId(props.tab));
|
|
91285
91294
|
const isTabSelected = computed(
|
|
91286
|
-
() =>
|
|
91287
|
-
);
|
|
91288
|
-
const tabTarget = computed(
|
|
91289
|
-
() => props.tab.routePath ? { path: props.tab.routePath } : { name: props.tab.routeName }
|
|
91295
|
+
() => tabId.value && tabId.value === props.selectedTabId || false
|
|
91290
91296
|
);
|
|
91291
91297
|
return (_ctx, _cache) => {
|
|
91292
|
-
|
|
91293
|
-
return openBlock(), createBlock(_component_router_link, {
|
|
91294
|
-
to: tabTarget.value,
|
|
91298
|
+
return openBlock(), createElementBlock("span", {
|
|
91295
91299
|
"data-testid": "tab",
|
|
91296
91300
|
class: normalizeClass(["tab", { active: isTabSelected.value, error: __props.tab.error, disabled: __props.tab.disabled }])
|
|
91297
|
-
},
|
|
91298
|
-
|
|
91299
|
-
|
|
91300
|
-
|
|
91301
|
-
|
|
91302
|
-
]),
|
|
91303
|
-
_: 3
|
|
91304
|
-
}, 8, ["to", "class"]);
|
|
91301
|
+
}, [
|
|
91302
|
+
renderSlot(_ctx.$slots, "router", { tab: __props.tab }, () => [
|
|
91303
|
+
createTextVNode(toDisplayString(__props.tab.name), 1)
|
|
91304
|
+
], true)
|
|
91305
|
+
], 2);
|
|
91305
91306
|
};
|
|
91306
91307
|
}
|
|
91307
91308
|
});
|
|
91308
91309
|
|
|
91309
|
-
const UiTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
91310
|
+
const UiTab = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-b6feec3b"]]);
|
|
91310
91311
|
|
|
91311
91312
|
const _hoisted_1$m = { class: "tabs-header" };
|
|
91312
91313
|
const _hoisted_2$d = { class: "tabs-title" };
|
|
91313
|
-
const _sfc_main$
|
|
91314
|
-
__name: "
|
|
91314
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
91315
|
+
__name: "UiTabs",
|
|
91315
91316
|
props: {
|
|
91316
91317
|
title: {},
|
|
91317
|
-
tabs: {}
|
|
91318
|
+
tabs: {},
|
|
91319
|
+
initialTabId: {}
|
|
91318
91320
|
},
|
|
91319
|
-
|
|
91320
|
-
|
|
91321
|
+
emits: ["click"],
|
|
91322
|
+
setup(__props, { emit: __emit }) {
|
|
91323
|
+
const props = __props;
|
|
91324
|
+
const selectedTabId = ref(null);
|
|
91325
|
+
onMounted(() => {
|
|
91326
|
+
selectedTabId.value = props.initialTabId || null;
|
|
91327
|
+
});
|
|
91328
|
+
watch(
|
|
91329
|
+
() => props.initialTabId,
|
|
91330
|
+
() => {
|
|
91331
|
+
selectedTabId.value = props.initialTabId || null;
|
|
91332
|
+
}
|
|
91333
|
+
);
|
|
91334
|
+
const $emits = __emit;
|
|
91335
|
+
const onTabClick = (tab) => {
|
|
91336
|
+
if (getTabId(tab) !== selectedTabId.value) {
|
|
91337
|
+
$emits("click", tab);
|
|
91338
|
+
selectedTabId.value = getTabId(tab);
|
|
91339
|
+
}
|
|
91340
|
+
};
|
|
91321
91341
|
return (_ctx, _cache) => {
|
|
91322
91342
|
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
91323
91343
|
createElementVNode("div", _hoisted_2$d, [
|
|
@@ -91325,17 +91345,80 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
91325
91345
|
]),
|
|
91326
91346
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabs, (tab) => {
|
|
91327
91347
|
return openBlock(), createBlock(UiTab, {
|
|
91328
|
-
key: tab
|
|
91348
|
+
key: unref(getTabId)(tab),
|
|
91349
|
+
selectedTabId: selectedTabId.value,
|
|
91329
91350
|
tab,
|
|
91330
|
-
|
|
91331
|
-
},
|
|
91351
|
+
onClick: ($event) => onTabClick(tab)
|
|
91352
|
+
}, {
|
|
91353
|
+
router: withCtx(({ tab: tab2 }) => [
|
|
91354
|
+
renderSlot(_ctx.$slots, "router", { tab: tab2 }, void 0, true)
|
|
91355
|
+
]),
|
|
91356
|
+
_: 2
|
|
91357
|
+
}, 1032, ["selectedTabId", "tab", "onClick"]);
|
|
91332
91358
|
}), 128))
|
|
91333
91359
|
]);
|
|
91334
91360
|
};
|
|
91335
91361
|
}
|
|
91336
91362
|
});
|
|
91337
91363
|
|
|
91338
|
-
const
|
|
91364
|
+
const UiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-9f2a5368"]]);
|
|
91365
|
+
|
|
91366
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
91367
|
+
__name: "BmsTabs",
|
|
91368
|
+
props: {
|
|
91369
|
+
title: {},
|
|
91370
|
+
tabs: {},
|
|
91371
|
+
initialTabId: {}
|
|
91372
|
+
},
|
|
91373
|
+
emits: ["click"],
|
|
91374
|
+
setup(__props, { emit: __emit }) {
|
|
91375
|
+
const { currentRoute } = useRouter();
|
|
91376
|
+
const props = __props;
|
|
91377
|
+
const getTabTarget = (tab) => {
|
|
91378
|
+
return tab.routePath ? { path: tab.routePath } : { name: tab.routeName };
|
|
91379
|
+
};
|
|
91380
|
+
const $emits = __emit;
|
|
91381
|
+
const needRouterEngine = computed(() => {
|
|
91382
|
+
return !!props.tabs && !!props.tabs[0] && !!(props.tabs[0].routePath || props.tabs[0].routeName);
|
|
91383
|
+
});
|
|
91384
|
+
const selectedTabId = computed(() => {
|
|
91385
|
+
if (needRouterEngine.value) {
|
|
91386
|
+
const selectedTab = props.tabs.find((t) => isTabSelected(t, currentRoute.value)) || null;
|
|
91387
|
+
return selectedTab ? getTabId(selectedTab) : null;
|
|
91388
|
+
} else if (props.initialTabId) {
|
|
91389
|
+
return props.initialTabId;
|
|
91390
|
+
} else {
|
|
91391
|
+
return null;
|
|
91392
|
+
}
|
|
91393
|
+
});
|
|
91394
|
+
const isTabSelected = (tab, currentRoute2) => tab.routePath ? currentRoute2.path.includes(tab.routePath) : tab.routeName ? !!currentRoute2.name && currentRoute2.name.includes(tab.routeName) : false;
|
|
91395
|
+
return (_ctx, _cache) => {
|
|
91396
|
+
const _component_router_link = resolveComponent("router-link");
|
|
91397
|
+
return openBlock(), createBlock(UiTabs, {
|
|
91398
|
+
title: __props.title,
|
|
91399
|
+
tabs: __props.tabs,
|
|
91400
|
+
"initial-tab-id": selectedTabId.value,
|
|
91401
|
+
onClick: _cache[0] || (_cache[0] = ($event) => $emits("click", $event))
|
|
91402
|
+
}, createSlots({ _: 2 }, [
|
|
91403
|
+
needRouterEngine.value ? {
|
|
91404
|
+
name: "router",
|
|
91405
|
+
fn: withCtx(({ tab }) => [
|
|
91406
|
+
createVNode(_component_router_link, {
|
|
91407
|
+
class: "tab",
|
|
91408
|
+
to: getTabTarget(tab)
|
|
91409
|
+
}, {
|
|
91410
|
+
default: withCtx(() => [
|
|
91411
|
+
createTextVNode(toDisplayString(tab.name), 1)
|
|
91412
|
+
]),
|
|
91413
|
+
_: 2
|
|
91414
|
+
}, 1032, ["to"])
|
|
91415
|
+
]),
|
|
91416
|
+
key: "0"
|
|
91417
|
+
} : void 0
|
|
91418
|
+
]), 1032, ["title", "tabs", "initial-tab-id"]);
|
|
91419
|
+
};
|
|
91420
|
+
}
|
|
91421
|
+
});
|
|
91339
91422
|
|
|
91340
91423
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
91341
91424
|
__name: "UiPopoverMenu",
|
|
@@ -91489,7 +91572,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
91489
91572
|
createTextVNode(" " + toDisplayString(__props.tenant.label), 1),
|
|
91490
91573
|
createElementVNode("em", null, "- " + toDisplayString(__props.tenant.information), 1)
|
|
91491
91574
|
], 8, _hoisted_1$k),
|
|
91492
|
-
__props.tenant.isFavorite ? (openBlock(), createBlock(_sfc_main$
|
|
91575
|
+
__props.tenant.isFavorite ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
91493
91576
|
key: 0,
|
|
91494
91577
|
class: "remove-tenant-button",
|
|
91495
91578
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emits("removeFavorite"), ["stop"]))
|
|
@@ -91569,7 +91652,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
91569
91652
|
}, {
|
|
91570
91653
|
default: withCtx(() => [
|
|
91571
91654
|
createElementVNode("div", _hoisted_1$j, [
|
|
91572
|
-
createVNode(unref(_sfc_main$
|
|
91655
|
+
createVNode(unref(_sfc_main$11), {
|
|
91573
91656
|
ref_key: "searchRef",
|
|
91574
91657
|
ref: searchRef,
|
|
91575
91658
|
modelValue: search.value,
|
|
@@ -91685,7 +91768,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
91685
91768
|
__props.currentTenant && __props.tenants.length === 1 ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
91686
91769
|
createVNode(_sfc_main$n, { tenant: __props.currentTenant }, null, 8, ["tenant"]),
|
|
91687
91770
|
createElementVNode("span", null, toDisplayString(__props.currentTenant.label), 1)
|
|
91688
|
-
])) : __props.tenants.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$
|
|
91771
|
+
])) : __props.tenants.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$1o), {
|
|
91689
91772
|
key: 1,
|
|
91690
91773
|
type: "tertiary",
|
|
91691
91774
|
onClick: _cache[0] || (_cache[0] = ($event) => showTenantSwitcher.value = !showTenantSwitcher.value)
|
|
@@ -91828,7 +91911,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
91828
91911
|
onMouseup: _cache[1] || (_cache[1] = () => gripped.value = false)
|
|
91829
91912
|
}),
|
|
91830
91913
|
renderSlot(_ctx.$slots, "default", { row: item }, void 0, true),
|
|
91831
|
-
createVNode(unref(_sfc_main$
|
|
91914
|
+
createVNode(unref(_sfc_main$1n), {
|
|
91832
91915
|
mode: unref(StatusType).Danger,
|
|
91833
91916
|
onClick: ($event) => onRemove(item)
|
|
91834
91917
|
}, {
|
|
@@ -91976,7 +92059,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
91976
92059
|
], true)
|
|
91977
92060
|
]),
|
|
91978
92061
|
createElementVNode("div", _hoisted_3$6, [
|
|
91979
|
-
createVNode(_sfc_main$
|
|
92062
|
+
createVNode(_sfc_main$1n, {
|
|
91980
92063
|
color: "neutral",
|
|
91981
92064
|
onClick: goToFirst,
|
|
91982
92065
|
disabled: __props.currentPage === 0
|
|
@@ -91986,7 +92069,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
91986
92069
|
]),
|
|
91987
92070
|
_: 1
|
|
91988
92071
|
}, 8, ["disabled"]),
|
|
91989
|
-
createVNode(_sfc_main$
|
|
92072
|
+
createVNode(_sfc_main$1n, {
|
|
91990
92073
|
onClick: goToPrevious,
|
|
91991
92074
|
disabled: __props.currentPage === 0
|
|
91992
92075
|
}, {
|
|
@@ -91995,7 +92078,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
91995
92078
|
]),
|
|
91996
92079
|
_: 1
|
|
91997
92080
|
}, 8, ["disabled"]),
|
|
91998
|
-
createVNode(_sfc_main$
|
|
92081
|
+
createVNode(_sfc_main$1n, {
|
|
91999
92082
|
onClick: goToNext,
|
|
92000
92083
|
disabled: __props.currentPage === __props.pages - 1 || __props.pages === 0
|
|
92001
92084
|
}, {
|
|
@@ -92004,7 +92087,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
92004
92087
|
]),
|
|
92005
92088
|
_: 1
|
|
92006
92089
|
}, 8, ["disabled"]),
|
|
92007
|
-
createVNode(_sfc_main$
|
|
92090
|
+
createVNode(_sfc_main$1n, {
|
|
92008
92091
|
onClick: goToLast,
|
|
92009
92092
|
disabled: __props.currentPage === __props.pages - 1 || __props.pages === 0 || __props.total === Infinity
|
|
92010
92093
|
}, {
|
|
@@ -96207,7 +96290,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
96207
96290
|
);
|
|
96208
96291
|
return (_ctx, _cache) => {
|
|
96209
96292
|
return openBlock(), createElementBlock("span", _hoisted_1$a, [
|
|
96210
|
-
createVNode(_sfc_main$
|
|
96293
|
+
createVNode(_sfc_main$1p, {
|
|
96211
96294
|
class: "filter-button",
|
|
96212
96295
|
color: __props.isFilterVisible ? unref(StatusType).Default : unref(StatusType).Information,
|
|
96213
96296
|
mode: __props.isFilterVisible ? "fill" : "ghost",
|
|
@@ -98363,9 +98446,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
98363
98446
|
case "boolean":
|
|
98364
98447
|
return BmsSelect;
|
|
98365
98448
|
case "input":
|
|
98366
|
-
return _sfc_main$
|
|
98449
|
+
return _sfc_main$11;
|
|
98367
98450
|
case "inputDate":
|
|
98368
|
-
return _sfc_main
|
|
98451
|
+
return _sfc_main$10;
|
|
98369
98452
|
case "autocomplete":
|
|
98370
98453
|
return BmsAutocomplete;
|
|
98371
98454
|
case "autocompleteServer":
|
|
@@ -98452,7 +98535,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
98452
98535
|
_cache[2] || (_cache[2] = createTextVNode(" Recherche avancée ", -1))
|
|
98453
98536
|
]),
|
|
98454
98537
|
createElementVNode("span", _hoisted_4$3, [
|
|
98455
|
-
__props.canSaveFilters ? (openBlock(), createBlock(_sfc_main$
|
|
98538
|
+
__props.canSaveFilters ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
98456
98539
|
key: 0,
|
|
98457
98540
|
class: "save",
|
|
98458
98541
|
tooltipText: "Sauvegarder le filtre",
|
|
@@ -98463,7 +98546,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
98463
98546
|
]),
|
|
98464
98547
|
_: 1
|
|
98465
98548
|
})) : createCommentVNode("", true),
|
|
98466
|
-
createVNode(_sfc_main$
|
|
98549
|
+
createVNode(_sfc_main$1n, {
|
|
98467
98550
|
class: "reset",
|
|
98468
98551
|
tooltipText: "Vider les champs",
|
|
98469
98552
|
onClick: reset
|
|
@@ -98512,7 +98595,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
98512
98595
|
}, {
|
|
98513
98596
|
default: withCtx(() => [
|
|
98514
98597
|
_cache[3] || (_cache[3] = createElementVNode("div", null, " Vous pouvez sauvegarder votre recherche pour la retrouver plus facilement. ", -1)),
|
|
98515
|
-
createVNode(unref(_sfc_main$
|
|
98598
|
+
createVNode(unref(_sfc_main$11), {
|
|
98516
98599
|
ref_key: "nameInput",
|
|
98517
98600
|
ref: nameInput,
|
|
98518
98601
|
label: "Nom de la sauvegarde",
|
|
@@ -103116,7 +103199,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
103116
103199
|
class: "bms-notification__icon"
|
|
103117
103200
|
})),
|
|
103118
103201
|
createElementVNode("div", _hoisted_2$4, toDisplayString(__props.notification.text), 1),
|
|
103119
|
-
createVNode(_sfc_main$
|
|
103202
|
+
createVNode(_sfc_main$1n, {
|
|
103120
103203
|
class: "bms-notification__close-button",
|
|
103121
103204
|
onClick: closeNotification
|
|
103122
103205
|
}, {
|
|
@@ -103357,7 +103440,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
103357
103440
|
createElementVNode("div", null, [
|
|
103358
103441
|
createElementVNode("div", _hoisted_5$1, [
|
|
103359
103442
|
createElementVNode("span", _hoisted_6$1, toDisplayString(__props.problem.detail), 1),
|
|
103360
|
-
createVNode(unref(_sfc_main$
|
|
103443
|
+
createVNode(unref(_sfc_main$1n), {
|
|
103361
103444
|
class: "copyToClipboardButton",
|
|
103362
103445
|
onClick: _cache[1] || (_cache[1] = ($event) => onCopyToClipboard(__props.problem.detail))
|
|
103363
103446
|
}, {
|
|
@@ -103392,7 +103475,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
103392
103475
|
createElementVNode("div", null, [
|
|
103393
103476
|
createElementVNode("div", _hoisted_8$1, [
|
|
103394
103477
|
createElementVNode("span", _hoisted_9, toDisplayString(__props.problem.correlationId), 1),
|
|
103395
|
-
createVNode(unref(_sfc_main$
|
|
103478
|
+
createVNode(unref(_sfc_main$1n), {
|
|
103396
103479
|
class: "copyToClipboardButton",
|
|
103397
103480
|
onClick: _cache[3] || (_cache[3] = ($event) => onCopyToClipboard(__props.problem.detail))
|
|
103398
103481
|
}, {
|
|
@@ -103602,7 +103685,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
103602
103685
|
);
|
|
103603
103686
|
return (_ctx, _cache) => {
|
|
103604
103687
|
return isFeatureFlippingOn.value ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
103605
|
-
createVNode(_sfc_main$
|
|
103688
|
+
createVNode(_sfc_main$1o, {
|
|
103606
103689
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("click")),
|
|
103607
103690
|
mode: unref(StatusType).Danger
|
|
103608
103691
|
}, {
|
|
@@ -105899,8 +105982,8 @@ const routerHistoryPlugin = {
|
|
|
105899
105982
|
|
|
105900
105983
|
const createBmsUi = () => ({
|
|
105901
105984
|
install: (app) => {
|
|
105902
|
-
app.component("BmsButton", _sfc_main$
|
|
105903
|
-
app.component("BmsIconButton", _sfc_main$
|
|
105985
|
+
app.component("BmsButton", _sfc_main$1o);
|
|
105986
|
+
app.component("BmsIconButton", _sfc_main$1n);
|
|
105904
105987
|
app.component("BmsAlert", BmsAlert);
|
|
105905
105988
|
app.component("BmsBadge", BmsBadge);
|
|
105906
105989
|
app.component("BmsCaption", BmsCaption);
|
|
@@ -105912,19 +105995,19 @@ const createBmsUi = () => ({
|
|
|
105912
105995
|
app.component("BmsBetweenInput", BmsBetweenInput);
|
|
105913
105996
|
app.component("BmsChip", BmsChip);
|
|
105914
105997
|
app.component("BmsFilePicker", BmsFilePicker);
|
|
105915
|
-
app.component("BmsInputBooleanCheckbox", _sfc_main$
|
|
105998
|
+
app.component("BmsInputBooleanCheckbox", _sfc_main$16);
|
|
105916
105999
|
app.component("BmsInputCheckboxGroup", BmsInputCheckboxGroup);
|
|
105917
106000
|
app.component("BmsInputCheckboxCaption", BmsInputCheckboxCaption);
|
|
105918
106001
|
app.component("BmsInputCheckboxCaptionGroup", BmsInputCheckboxCaptionGroup);
|
|
105919
106002
|
app.component("BmsInputCode", BmsInputCode);
|
|
105920
|
-
app.component("BmsInputDateTime", _sfc_main
|
|
106003
|
+
app.component("BmsInputDateTime", _sfc_main$10);
|
|
105921
106004
|
app.component("BmsInputFile", BmsInputFile);
|
|
105922
|
-
app.component("BmsInputNumber", _sfc_main$
|
|
106005
|
+
app.component("BmsInputNumber", _sfc_main$_);
|
|
105923
106006
|
app.component("BmsInputRadio", BmsInputRadio);
|
|
105924
106007
|
app.component("BmsInputRadioGroup", BmsInputRadioGroup);
|
|
105925
106008
|
app.component("BmsInputRadioCaption", BmsInputRadioCaption);
|
|
105926
106009
|
app.component("BmsInputRadioCaptionGroup", BmsInputRadioCaptionGroup);
|
|
105927
|
-
app.component("BmsInputText", _sfc_main$
|
|
106010
|
+
app.component("BmsInputText", _sfc_main$11);
|
|
105928
106011
|
app.component("BmsInputToggle", BmsInputToggle);
|
|
105929
106012
|
app.component("BmsMultiSelect", BmsMultiSelect);
|
|
105930
106013
|
app.component("BmsSearch", BmsSearch);
|
|
@@ -105946,11 +106029,11 @@ const createBmsUi = () => ({
|
|
|
105946
106029
|
app.component("BmsBackButton", BmsBackButton);
|
|
105947
106030
|
app.component("BmsBreadcrumb", BmsBreadcrumb);
|
|
105948
106031
|
app.component("BmsFixedMenu", BmsFixedMenu);
|
|
105949
|
-
app.component("BmsLink", _sfc_main$
|
|
106032
|
+
app.component("BmsLink", _sfc_main$1r);
|
|
105950
106033
|
app.component("BmsMenu", BmsMenu);
|
|
105951
106034
|
app.component("BmsMenuNav", BmsMenuNav);
|
|
105952
106035
|
app.component("BmsShortLinkMenu", BmsShortLinkMenu);
|
|
105953
|
-
app.component("BmsTabs",
|
|
106036
|
+
app.component("BmsTabs", _sfc_main$p);
|
|
105954
106037
|
app.component("BmsTenantSwitcher", BmsTenantSwitcher);
|
|
105955
106038
|
app.component("BmsDraggableList", BmsDraggableList);
|
|
105956
106039
|
app.component("BmsEmptyScreen", BmsEmptyScreen);
|
|
@@ -105963,5 +106046,5 @@ const createBmsUi = () => ({
|
|
|
105963
106046
|
}
|
|
105964
106047
|
});
|
|
105965
106048
|
|
|
105966
|
-
export { BMS_FORM_VALID_URL_REGEX, BmsAlert, BmsAutocomplete, BmsBackButton, BmsBadge, BmsBetweenInput, BmsBreadcrumb, _sfc_main$
|
|
106049
|
+
export { BMS_FORM_VALID_URL_REGEX, BmsAlert, BmsAutocomplete, BmsBackButton, BmsBadge, BmsBetweenInput, BmsBreadcrumb, _sfc_main$1o as BmsButton, BmsCaption, BmsCard, BmsChip, BmsCircularProgress, BmsCocarde, BmsContentPageLayout, BmsDraggableList, BmsEmptyScreen, BmsFilePicker, BmsFixedMenu, BmsFloatingWindow, BmsForm, BmsHeader, BmsHeaderTitle, _sfc_main$1n as BmsIconButton, _sfc_main$16 as BmsInputBooleanCheckbox, BmsInputCheckboxCaption, BmsInputCheckboxCaptionGroup, BmsInputCheckboxGroup, BmsInputCode, _sfc_main$10 as BmsInputDateTime, BmsInputFile, _sfc_main$_ as BmsInputNumber, BmsInputRadio, BmsInputRadioCaption, BmsInputRadioCaptionGroup, BmsInputRadioGroup, _sfc_main$11 as BmsInputText, BmsInputToggle, _sfc_main$1r as BmsLink, BmsLoader, BmsMenu, BmsMenuNav, BmsModal, BmsMultiSelect, BmsNotificationsInstance, BmsOverlay, BmsPagination, BmsProblem, _sfc_main$g as BmsRelativeTime, BmsSearch, BmsSection, BmsSelect, BmsServerAutocomplete, BmsServerTable, BmsShortLinkMenu, BmsSplitWindow, BmsStep, BmsStepper, BmsTable, _sfc_main$p as BmsTabs, BmsTag, BmsTenantSwitcher, BmsTextArea, BmsTooltip, ChipColor, CocardeBorder, ColumnType, ConfirmInstance, InputType, KeycloakAuthAdapterInstance, RuntimeEnv, SelectMode, SortValue, StatusType, TooltipDirection, confirmPlugin, convertStringToCaption, createBmsUi, createRuntimeEnv, defaultSortFunction, enforceActionsColumnHeader, featureFlipperPlugin, fetchRuntimeEnv, field, getCurrentHistory, getCurrentLocation, getFiltersAsQueryParams, getHeaderClasses, getImageFromFile, getNumberFromPathQuery, getStringFromPathQuery, getUserPrefFromLocalStorage, getValueByPath, handleValueInSearchParams, isEmptyStringOrNotDefined, isExternalLink, isFileImage, isProblem, keycloakAuthAdapter, keycloakAuthAdapterInit, notifications, readableDate, reflectFiltersToPath, reflectSearchToPath, relativeDate, relativeDateDefaultFormatFunction, routerHistoryPlugin, sanitizeHtml, sanitizeString, saveValuesToPathQuery, searchString, setUserPrefFromLocalStorage, useClipboard, useConfirm, useFeatureFlipper, useKeycloakAuthAdapter, useNotifications, usePagination, useRouterHistory, useRuntimeEnv, useSearch, useSort, useUserPref, writeLocation };
|
|
105967
106050
|
//# sourceMappingURL=sipa-bms-ui.es.js.map
|