@ouestfrance/sipa-bms-ui 8.23.5 → 8.24.1
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/form/BmsBetweenInput.vue.d.ts +2 -2
- package/dist/components/form/BmsInputCheckboxCaption.vue.d.ts +4 -4
- package/dist/components/form/BmsInputCheckboxCaptionGroup.vue.d.ts +4 -4
- package/dist/components/form/BmsInputDateTime.vue.d.ts +4 -2
- package/dist/components/form/BmsInputNumber.vue.d.ts +2 -0
- package/dist/components/form/BmsInputRadioCaption.vue.d.ts +4 -4
- package/dist/components/form/BmsInputText.vue.d.ts +6 -2
- package/dist/components/form/BmsInputTime.vue.d.ts +26 -0
- package/dist/components/form/BmsSearch.vue.d.ts +6 -2
- package/dist/components/form/RawAutocomplete.vue.d.ts +4 -1
- package/dist/components/form/RawInputText.vue.d.ts +3 -1
- package/dist/components/navigation/UiTenantSwitcher.vue.d.ts +5 -1
- package/dist/components/table/BmsTableFilters.vue.d.ts +5 -1
- package/dist/index.d.ts +2 -1
- package/dist/models/form.model.d.ts +4 -3
- package/dist/sipa-bms-ui.css +49 -48
- package/dist/sipa-bms-ui.es.js +204 -134
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +211 -140
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/BmsBetweenInput.vue +3 -3
- package/src/components/form/BmsInputCheckboxCaption.vue +2 -2
- package/src/components/form/BmsInputCheckboxCaptionGroup.vue +2 -2
- package/src/components/form/BmsInputDateTime.stories.js +7 -0
- package/src/components/form/BmsInputDateTime.vue +5 -2
- package/src/components/form/BmsInputNumber.stories.js +8 -0
- package/src/components/form/BmsInputNumber.vue +3 -0
- package/src/components/form/BmsInputRadioCaption.vue +2 -2
- package/src/components/form/BmsInputText.stories.js +3 -5
- package/src/components/form/BmsInputText.vue +4 -1
- package/src/components/form/BmsInputTime.stories.js +65 -0
- package/src/components/form/BmsInputTime.vue +62 -0
- package/src/components/form/BmsMultiSelect.vue +1 -1
- package/src/components/form/BmsSearch.vue +1 -1
- package/src/components/form/BmsTag.vue +3 -2
- package/src/components/form/RawInputText.vue +19 -1
- package/src/index.ts +3 -0
- package/src/models/form.model.ts +3 -2
package/dist/sipa-bms-ui.es.js
CHANGED
|
@@ -22,6 +22,7 @@ var InputType = /* @__PURE__ */ ((InputType2) => {
|
|
|
22
22
|
InputType2["NUMBER"] = "number";
|
|
23
23
|
InputType2["DATE"] = "date";
|
|
24
24
|
InputType2["DATETIME"] = "datetime-local";
|
|
25
|
+
InputType2["TIME"] = "time";
|
|
25
26
|
return InputType2;
|
|
26
27
|
})(InputType || {});
|
|
27
28
|
|
|
@@ -335,7 +336,7 @@ const getHeaderClasses = (header, sort) => {
|
|
|
335
336
|
|
|
336
337
|
const _hoisted_1$10 = ["href", "target"];
|
|
337
338
|
const _hoisted_2$G = ["href", "onClick", "target"];
|
|
338
|
-
const _sfc_main$
|
|
339
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
339
340
|
__name: "BmsLink",
|
|
340
341
|
props: {
|
|
341
342
|
to: {},
|
|
@@ -385,7 +386,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
385
386
|
});
|
|
386
387
|
|
|
387
388
|
const _hoisted_1$$ = ["type"];
|
|
388
|
-
const _sfc_main$
|
|
389
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
389
390
|
__name: "UiButtonLink",
|
|
390
391
|
props: {
|
|
391
392
|
type: {},
|
|
@@ -410,7 +411,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
410
411
|
type: __props.type
|
|
411
412
|
}, [
|
|
412
413
|
renderSlot(_ctx.$slots, "default")
|
|
413
|
-
], 10, _hoisted_1$$)) : (openBlock(), createBlock(_sfc_main$
|
|
414
|
+
], 10, _hoisted_1$$)) : (openBlock(), createBlock(_sfc_main$1u, {
|
|
414
415
|
key: 1,
|
|
415
416
|
to: __props.to,
|
|
416
417
|
target: __props.target,
|
|
@@ -428,7 +429,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
428
429
|
const _hoisted_1$_ = { class: "start" };
|
|
429
430
|
const _hoisted_2$F = { class: "content" };
|
|
430
431
|
const _hoisted_3$m = { class: "end" };
|
|
431
|
-
const _sfc_main$
|
|
432
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
432
433
|
__name: "UiButton",
|
|
433
434
|
props: {
|
|
434
435
|
type: { default: "button" },
|
|
@@ -441,7 +442,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
441
442
|
setup(__props) {
|
|
442
443
|
const props = __props;
|
|
443
444
|
return (_ctx, _cache) => {
|
|
444
|
-
return openBlock(), createBlock(_sfc_main$
|
|
445
|
+
return openBlock(), createBlock(_sfc_main$1t, normalizeProps(guardReactiveProps(props)), {
|
|
445
446
|
default: withCtx(() => [
|
|
446
447
|
createElementVNode("span", _hoisted_1$_, [
|
|
447
448
|
renderSlot(_ctx.$slots, "start")
|
|
@@ -459,7 +460,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
459
460
|
}
|
|
460
461
|
});
|
|
461
462
|
|
|
462
|
-
const _sfc_main$
|
|
463
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
463
464
|
__name: "BmsButton",
|
|
464
465
|
props: {
|
|
465
466
|
type: { default: "primary" },
|
|
@@ -483,7 +484,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
483
484
|
}
|
|
484
485
|
});
|
|
485
486
|
return (_ctx, _cache) => {
|
|
486
|
-
return openBlock(), createBlock(_sfc_main$
|
|
487
|
+
return openBlock(), createBlock(_sfc_main$1s, {
|
|
487
488
|
mode: uiMode.value,
|
|
488
489
|
color: __props.mode,
|
|
489
490
|
to: __props.to,
|
|
@@ -505,7 +506,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
505
506
|
}
|
|
506
507
|
});
|
|
507
508
|
|
|
508
|
-
const _sfc_main$
|
|
509
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
509
510
|
__name: "BmsIconButton",
|
|
510
511
|
props: {
|
|
511
512
|
to: { default: null },
|
|
@@ -525,7 +526,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
525
526
|
direction: __props.tooltipDirection
|
|
526
527
|
}, {
|
|
527
528
|
default: withCtx(() => [
|
|
528
|
-
createVNode(_sfc_main$
|
|
529
|
+
createVNode(_sfc_main$1s, mergeProps(_ctx.$attrs, {
|
|
529
530
|
icon: "",
|
|
530
531
|
to: __props.to,
|
|
531
532
|
target: __props.target,
|
|
@@ -545,7 +546,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
545
546
|
});
|
|
546
547
|
|
|
547
548
|
const _hoisted_1$Z = ["disabled"];
|
|
548
|
-
const _sfc_main$
|
|
549
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
549
550
|
__name: "BmsToggleIcon",
|
|
550
551
|
props: {
|
|
551
552
|
modelValue: { type: Boolean, default: false },
|
|
@@ -583,7 +584,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
583
584
|
return target;
|
|
584
585
|
};
|
|
585
586
|
|
|
586
|
-
const BmsToggleIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
587
|
+
const BmsToggleIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-76fd6513"]]);
|
|
587
588
|
|
|
588
589
|
/**
|
|
589
590
|
* @license lucide-vue-next v0.562.0 - ISC
|
|
@@ -37952,7 +37953,7 @@ const lucideIcons = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
37952
37953
|
const _hoisted_1$Y = { class: "info-line" };
|
|
37953
37954
|
const _hoisted_2$E = { class: "icon" };
|
|
37954
37955
|
const _hoisted_3$l = { class: "message" };
|
|
37955
|
-
const _sfc_main$
|
|
37956
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
37956
37957
|
__name: "BmsAlert",
|
|
37957
37958
|
props: {
|
|
37958
37959
|
message: {},
|
|
@@ -37987,7 +37988,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
37987
37988
|
], true)
|
|
37988
37989
|
]),
|
|
37989
37990
|
renderSlot(_ctx.$slots, "action", {}, void 0, true),
|
|
37990
|
-
__props.dismissable ? (openBlock(), createBlock(_sfc_main$
|
|
37991
|
+
__props.dismissable ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
37991
37992
|
key: 0,
|
|
37992
37993
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("dismiss"))
|
|
37993
37994
|
}, {
|
|
@@ -38003,13 +38004,13 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
38003
38004
|
}
|
|
38004
38005
|
});
|
|
38005
38006
|
|
|
38006
|
-
const BmsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38007
|
+
const BmsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-26caccdd"]]);
|
|
38007
38008
|
|
|
38008
38009
|
const _hoisted_1$X = {
|
|
38009
38010
|
key: 0,
|
|
38010
38011
|
class: "ui-badge__container"
|
|
38011
38012
|
};
|
|
38012
|
-
const _sfc_main$
|
|
38013
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
38013
38014
|
__name: "BmsBadge",
|
|
38014
38015
|
props: {
|
|
38015
38016
|
pending: { default: 0 },
|
|
@@ -38035,14 +38036,14 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
38035
38036
|
}
|
|
38036
38037
|
});
|
|
38037
38038
|
|
|
38038
|
-
const BmsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38039
|
+
const BmsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-8a6297ca"]]);
|
|
38039
38040
|
|
|
38040
38041
|
const _hoisted_1$W = {
|
|
38041
38042
|
key: 0,
|
|
38042
38043
|
class: "icon"
|
|
38043
38044
|
};
|
|
38044
38045
|
const _hoisted_2$D = ["innerHTML"];
|
|
38045
|
-
const _sfc_main$
|
|
38046
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
38046
38047
|
__name: "BmsCaption",
|
|
38047
38048
|
props: {
|
|
38048
38049
|
caption: {}
|
|
@@ -38085,7 +38086,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
38085
38086
|
}
|
|
38086
38087
|
});
|
|
38087
38088
|
|
|
38088
|
-
const BmsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38089
|
+
const BmsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-b08dd4e0"]]);
|
|
38089
38090
|
|
|
38090
38091
|
const _hoisted_1$V = { class: "circular-progress" };
|
|
38091
38092
|
const _hoisted_2$C = {
|
|
@@ -38095,7 +38096,7 @@ const _hoisted_2$C = {
|
|
|
38095
38096
|
const _hoisted_3$k = { transform: "rotate(-90, 50, 50)" };
|
|
38096
38097
|
const _hoisted_4$b = ["stroke-dashoffset"];
|
|
38097
38098
|
const _hoisted_5$7 = { class: "percent" };
|
|
38098
|
-
const _sfc_main$
|
|
38099
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
38099
38100
|
__name: "BmsCircularProgress",
|
|
38100
38101
|
props: ["progress"],
|
|
38101
38102
|
setup(__props) {
|
|
@@ -38130,10 +38131,10 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
38130
38131
|
}
|
|
38131
38132
|
});
|
|
38132
38133
|
|
|
38133
|
-
const BmsCircularProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38134
|
+
const BmsCircularProgress = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-7869acfb"]]);
|
|
38134
38135
|
|
|
38135
38136
|
const SCREEN_MARGIN = 10;
|
|
38136
|
-
const _sfc_main$
|
|
38137
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
38137
38138
|
__name: "BmsGhost",
|
|
38138
38139
|
props: /* @__PURE__ */ mergeModels({
|
|
38139
38140
|
opacityWhenVisible: { default: 0.8 }
|
|
@@ -38193,13 +38194,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
38193
38194
|
}
|
|
38194
38195
|
});
|
|
38195
38196
|
|
|
38196
|
-
const BmsGhost = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38197
|
+
const BmsGhost = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-205789ac"]]);
|
|
38197
38198
|
|
|
38198
38199
|
const _hoisted_1$U = { class: "bms-loader" };
|
|
38199
38200
|
function transformIntoPx(totransform) {
|
|
38200
38201
|
return typeof totransform === "string" ? totransform : `${totransform}px`;
|
|
38201
38202
|
}
|
|
38202
|
-
const _sfc_main$
|
|
38203
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
38203
38204
|
__name: "BmsLoader",
|
|
38204
38205
|
props: {
|
|
38205
38206
|
size: { default: "inherit" }
|
|
@@ -38220,7 +38221,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
38220
38221
|
}
|
|
38221
38222
|
});
|
|
38222
38223
|
|
|
38223
|
-
const BmsLoader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38224
|
+
const BmsLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-7cc96135"]]);
|
|
38224
38225
|
|
|
38225
38226
|
function tryOnScopeDispose(fn) {
|
|
38226
38227
|
if (getCurrentScope()) {
|
|
@@ -39166,7 +39167,7 @@ const useTooltipHelper = () => {
|
|
|
39166
39167
|
};
|
|
39167
39168
|
};
|
|
39168
39169
|
|
|
39169
|
-
const _sfc_main$
|
|
39170
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
39170
39171
|
__name: "UiTooltip",
|
|
39171
39172
|
props: {
|
|
39172
39173
|
visible: { type: Boolean, default: true },
|
|
@@ -39243,9 +39244,9 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
39243
39244
|
}
|
|
39244
39245
|
});
|
|
39245
39246
|
|
|
39246
|
-
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39247
|
+
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-6fa8f4d8"]]);
|
|
39247
39248
|
|
|
39248
|
-
const _sfc_main$
|
|
39249
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
39249
39250
|
__name: "BmsTooltip",
|
|
39250
39251
|
props: {
|
|
39251
39252
|
tooltipText: { default: "" },
|
|
@@ -39330,14 +39331,14 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
39330
39331
|
}
|
|
39331
39332
|
});
|
|
39332
39333
|
|
|
39333
|
-
const BmsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39334
|
+
const BmsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-5c0e03ac"]]);
|
|
39334
39335
|
|
|
39335
39336
|
const _hoisted_1$T = {
|
|
39336
39337
|
class: "options-list",
|
|
39337
39338
|
"data-testid": "select-options"
|
|
39338
39339
|
};
|
|
39339
39340
|
const _hoisted_2$B = ["data-testid", "onClick"];
|
|
39340
|
-
const _sfc_main$
|
|
39341
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
39341
39342
|
__name: "FieldDatalist",
|
|
39342
39343
|
props: {
|
|
39343
39344
|
options: {},
|
|
@@ -39434,13 +39435,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
39434
39435
|
}
|
|
39435
39436
|
});
|
|
39436
39437
|
|
|
39437
|
-
const FieldDatalist = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39438
|
+
const FieldDatalist = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-ba5302fc"]]);
|
|
39438
39439
|
|
|
39439
39440
|
const _hoisted_1$S = { class: "field__input-label" };
|
|
39440
39441
|
const _hoisted_2$A = { class: "field__input-icon field__input-icon--start" };
|
|
39441
|
-
const _hoisted_3$j = ["type", "value", "placeholder", "required", "disabled", "max", "min", "minlength", "maxlength"];
|
|
39442
|
+
const _hoisted_3$j = ["type", "value", "placeholder", "required", "disabled", "max", "min", "step", "minlength", "maxlength"];
|
|
39442
39443
|
const _hoisted_4$a = { class: "field__input-icon field__input-icon--end" };
|
|
39443
|
-
const _sfc_main$
|
|
39444
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
39444
39445
|
__name: "RawInputText",
|
|
39445
39446
|
props: {
|
|
39446
39447
|
modelValue: {},
|
|
@@ -39450,6 +39451,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
39450
39451
|
max: {},
|
|
39451
39452
|
minlength: {},
|
|
39452
39453
|
maxlength: {},
|
|
39454
|
+
step: { default: 0 },
|
|
39453
39455
|
type: { default: InputType.TEXT },
|
|
39454
39456
|
label: {},
|
|
39455
39457
|
loading: { type: Boolean },
|
|
@@ -39466,6 +39468,17 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
39466
39468
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39467
39469
|
const props = __props;
|
|
39468
39470
|
const input = ref(null);
|
|
39471
|
+
const computedStep = computed(() => {
|
|
39472
|
+
if ([
|
|
39473
|
+
InputType.TIME,
|
|
39474
|
+
InputType.DATE,
|
|
39475
|
+
InputType.DATETIME,
|
|
39476
|
+
InputType.NUMBER
|
|
39477
|
+
].includes(props.type)) {
|
|
39478
|
+
return props.step || 0;
|
|
39479
|
+
}
|
|
39480
|
+
return 0;
|
|
39481
|
+
});
|
|
39469
39482
|
const $emits = __emit;
|
|
39470
39483
|
const setFocus = () => {
|
|
39471
39484
|
if (input.value) {
|
|
@@ -39507,6 +39520,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
39507
39520
|
disabled: __props.disabled,
|
|
39508
39521
|
max: __props.max,
|
|
39509
39522
|
min: __props.min,
|
|
39523
|
+
step: computedStep.value,
|
|
39510
39524
|
minlength: __props.minlength,
|
|
39511
39525
|
maxlength: __props.maxlength,
|
|
39512
39526
|
onBlur: _cache[0] || (_cache[0] = ($event) => $emits("blur")),
|
|
@@ -39522,9 +39536,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
39522
39536
|
}
|
|
39523
39537
|
});
|
|
39524
39538
|
|
|
39525
|
-
const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39539
|
+
const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-47a0ec36"]]);
|
|
39526
39540
|
|
|
39527
|
-
const _sfc_main$
|
|
39541
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
39528
39542
|
__name: "RawAutocomplete",
|
|
39529
39543
|
props: /* @__PURE__ */ mergeModels({
|
|
39530
39544
|
options: {},
|
|
@@ -39707,11 +39721,11 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
39707
39721
|
}
|
|
39708
39722
|
});
|
|
39709
39723
|
|
|
39710
|
-
const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39724
|
+
const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-f0bd97df"]]);
|
|
39711
39725
|
|
|
39712
39726
|
const _hoisted_1$R = ["innerHTML"];
|
|
39713
39727
|
const _hoisted_2$z = ["innerHTML"];
|
|
39714
|
-
const _sfc_main$
|
|
39728
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
39715
39729
|
__name: "BmsAutocomplete",
|
|
39716
39730
|
props: /* @__PURE__ */ mergeModels({
|
|
39717
39731
|
options: {},
|
|
@@ -39802,11 +39816,11 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
39802
39816
|
}
|
|
39803
39817
|
});
|
|
39804
39818
|
|
|
39805
|
-
const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39819
|
+
const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-43ad5137"]]);
|
|
39806
39820
|
|
|
39807
39821
|
const _hoisted_1$Q = ["innerHTML"];
|
|
39808
39822
|
const _hoisted_2$y = ["innerHTML"];
|
|
39809
|
-
const _sfc_main$
|
|
39823
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
39810
39824
|
__name: "BmsServerAutocomplete",
|
|
39811
39825
|
props: /* @__PURE__ */ mergeModels({
|
|
39812
39826
|
url: {},
|
|
@@ -39938,9 +39952,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
39938
39952
|
}
|
|
39939
39953
|
});
|
|
39940
39954
|
|
|
39941
|
-
const BmsServerAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39955
|
+
const BmsServerAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-d94effd6"]]);
|
|
39942
39956
|
|
|
39943
|
-
const _sfc_main$
|
|
39957
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
39944
39958
|
__name: "BmsBetweenInput",
|
|
39945
39959
|
props: {
|
|
39946
39960
|
inputType: { default: InputType.NUMBER },
|
|
@@ -40037,9 +40051,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
40037
40051
|
}
|
|
40038
40052
|
});
|
|
40039
40053
|
|
|
40040
|
-
const BmsBetweenInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40054
|
+
const BmsBetweenInput = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-197c2374"]]);
|
|
40041
40055
|
|
|
40042
|
-
const _sfc_main$
|
|
40056
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
40043
40057
|
__name: "BmsChip",
|
|
40044
40058
|
props: {
|
|
40045
40059
|
color: { default: ChipColor.Grey }
|
|
@@ -40062,13 +40076,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
40062
40076
|
}
|
|
40063
40077
|
});
|
|
40064
40078
|
|
|
40065
|
-
const BmsChip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40079
|
+
const BmsChip = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-72b945cc"]]);
|
|
40066
40080
|
|
|
40067
40081
|
const _hoisted_1$P = { class: "file-upload" };
|
|
40068
40082
|
const _hoisted_2$x = { class: "file-upload__label" };
|
|
40069
40083
|
const _hoisted_3$i = { key: 1 };
|
|
40070
40084
|
const _hoisted_4$9 = { class: "file-upload__file-name" };
|
|
40071
|
-
const _sfc_main$
|
|
40085
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
40072
40086
|
__name: "BmsFilePicker",
|
|
40073
40087
|
props: {
|
|
40074
40088
|
dragOverMessage: { default: "Déposer votre image ici" },
|
|
@@ -40169,7 +40183,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
40169
40183
|
class: "file-upload__file"
|
|
40170
40184
|
}, [
|
|
40171
40185
|
createElementVNode("span", _hoisted_4$9, toDisplayString(file.name), 1),
|
|
40172
|
-
createVNode(unref(_sfc_main$
|
|
40186
|
+
createVNode(unref(_sfc_main$1q), {
|
|
40173
40187
|
onClick: ($event) => onDeleteFile(file)
|
|
40174
40188
|
}, {
|
|
40175
40189
|
default: withCtx(() => [
|
|
@@ -40185,14 +40199,14 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
40185
40199
|
}
|
|
40186
40200
|
});
|
|
40187
40201
|
|
|
40188
|
-
const BmsFilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40202
|
+
const BmsFilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-4aaf4346"]]);
|
|
40189
40203
|
|
|
40190
40204
|
const _hoisted_1$O = ["disabled", "name", "value"];
|
|
40191
40205
|
const _hoisted_2$w = {
|
|
40192
40206
|
key: 0,
|
|
40193
40207
|
class: "input-checkbox-info"
|
|
40194
40208
|
};
|
|
40195
|
-
const _sfc_main$
|
|
40209
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
40196
40210
|
__name: "UiBmsInputCheckbox",
|
|
40197
40211
|
props: {
|
|
40198
40212
|
modelValue: { default: false },
|
|
@@ -40242,9 +40256,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
40242
40256
|
}
|
|
40243
40257
|
});
|
|
40244
40258
|
|
|
40245
|
-
const UiBmsInputCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40259
|
+
const UiBmsInputCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-e1d94c62"]]);
|
|
40246
40260
|
|
|
40247
|
-
const _sfc_main$
|
|
40261
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
40248
40262
|
__name: "BmsInputBooleanCheckbox",
|
|
40249
40263
|
props: {
|
|
40250
40264
|
modelValue: {},
|
|
@@ -40365,7 +40379,7 @@ function v4(options, buf, offset) {
|
|
|
40365
40379
|
return _v4(options, buf, offset);
|
|
40366
40380
|
}
|
|
40367
40381
|
|
|
40368
|
-
const _sfc_main$
|
|
40382
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
40369
40383
|
__name: "BmsInputCheckboxGroup",
|
|
40370
40384
|
props: {
|
|
40371
40385
|
values: {},
|
|
@@ -40436,9 +40450,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
40436
40450
|
}
|
|
40437
40451
|
});
|
|
40438
40452
|
|
|
40439
|
-
const BmsInputCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40453
|
+
const BmsInputCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-43978315"]]);
|
|
40440
40454
|
|
|
40441
|
-
const _sfc_main$
|
|
40455
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
40442
40456
|
__name: "BmsInputCheckboxCaption",
|
|
40443
40457
|
props: {
|
|
40444
40458
|
modelValue: {},
|
|
@@ -40514,9 +40528,9 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
40514
40528
|
}
|
|
40515
40529
|
});
|
|
40516
40530
|
|
|
40517
|
-
const BmsInputCheckboxCaption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40531
|
+
const BmsInputCheckboxCaption = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-88b3d8ef"]]);
|
|
40518
40532
|
|
|
40519
|
-
const _sfc_main$
|
|
40533
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
40520
40534
|
__name: "BmsInputCheckboxCaptionGroup",
|
|
40521
40535
|
props: {
|
|
40522
40536
|
options: { default: () => [] },
|
|
@@ -40571,7 +40585,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
40571
40585
|
}
|
|
40572
40586
|
});
|
|
40573
40587
|
|
|
40574
|
-
const BmsInputCheckboxCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
40588
|
+
const BmsInputCheckboxCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-3768fc44"]]);
|
|
40575
40589
|
|
|
40576
40590
|
/**
|
|
40577
40591
|
The default maximum length of a `TreeBuffer` node.
|
|
@@ -69097,7 +69111,7 @@ const basicSetup = /*@__PURE__*/(() => [
|
|
|
69097
69111
|
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;
|
|
69098
69112
|
|
|
69099
69113
|
const _hoisted_1$N = { class: "code-mirror" };
|
|
69100
|
-
const _sfc_main$
|
|
69114
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
69101
69115
|
__name: "BmsInputCode",
|
|
69102
69116
|
props: /* @__PURE__ */ mergeModels({
|
|
69103
69117
|
type: {},
|
|
@@ -69150,9 +69164,9 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
69150
69164
|
}
|
|
69151
69165
|
});
|
|
69152
69166
|
|
|
69153
|
-
const BmsInputCode = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69167
|
+
const BmsInputCode = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-0de8ac2e"]]);
|
|
69154
69168
|
|
|
69155
|
-
const _sfc_main$
|
|
69169
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
69156
69170
|
__name: "BmsInputText",
|
|
69157
69171
|
props: {
|
|
69158
69172
|
inputType: { default: InputType.TEXT },
|
|
@@ -69162,6 +69176,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
69162
69176
|
max: {},
|
|
69163
69177
|
minlength: {},
|
|
69164
69178
|
maxlength: {},
|
|
69179
|
+
step: {},
|
|
69165
69180
|
label: { default: "" },
|
|
69166
69181
|
loading: { type: Boolean },
|
|
69167
69182
|
required: { type: Boolean, default: false },
|
|
@@ -69246,6 +69261,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
69246
69261
|
errors: computedErrors.value,
|
|
69247
69262
|
hasDate: false,
|
|
69248
69263
|
small: __props.small,
|
|
69264
|
+
step: __props.step,
|
|
69249
69265
|
min: __props.min,
|
|
69250
69266
|
max: __props.max,
|
|
69251
69267
|
minlength: __props.minlength,
|
|
@@ -69260,7 +69276,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
69260
69276
|
renderSlot(_ctx.$slots, "icon-end")
|
|
69261
69277
|
]),
|
|
69262
69278
|
_: 3
|
|
69263
|
-
}, 8, ["type", "modelValue", "required", "placeholder", "disabled", "errors", "small", "min", "max", "minlength", "maxlength"])
|
|
69279
|
+
}, 8, ["type", "modelValue", "required", "placeholder", "disabled", "errors", "small", "step", "min", "max", "minlength", "maxlength"])
|
|
69264
69280
|
]),
|
|
69265
69281
|
_: 3
|
|
69266
69282
|
}, 16, ["captions", "errors"]);
|
|
@@ -69268,7 +69284,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
69268
69284
|
}
|
|
69269
69285
|
});
|
|
69270
69286
|
|
|
69271
|
-
const _sfc_main$
|
|
69287
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
69272
69288
|
__name: "BmsInputDateTime",
|
|
69273
69289
|
props: {
|
|
69274
69290
|
modelValue: {},
|
|
@@ -69280,7 +69296,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
69280
69296
|
placeholder: {},
|
|
69281
69297
|
captions: {},
|
|
69282
69298
|
errors: {},
|
|
69283
|
-
hasTime: { type: Boolean, default: true }
|
|
69299
|
+
hasTime: { type: Boolean, default: true },
|
|
69300
|
+
step: { default: 0 }
|
|
69284
69301
|
},
|
|
69285
69302
|
emits: ["update:modelValue"],
|
|
69286
69303
|
setup(__props, { emit: __emit }) {
|
|
@@ -69294,7 +69311,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
69294
69311
|
if (!props.disabled && value) $emits("update:modelValue", value);
|
|
69295
69312
|
};
|
|
69296
69313
|
return (_ctx, _cache) => {
|
|
69297
|
-
return openBlock(), createBlock(_sfc_main$
|
|
69314
|
+
return openBlock(), createBlock(_sfc_main$12, {
|
|
69298
69315
|
modelValue: __props.modelValue,
|
|
69299
69316
|
label: __props.label,
|
|
69300
69317
|
required: __props.required,
|
|
@@ -69305,8 +69322,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
69305
69322
|
captions: __props.captions,
|
|
69306
69323
|
errors: __props.errors,
|
|
69307
69324
|
inputType: inputType.value,
|
|
69325
|
+
step: __props.step,
|
|
69308
69326
|
onInput
|
|
69309
|
-
}, null, 8, ["modelValue", "label", "required", "optional", "disabled", "helperText", "placeholder", "captions", "errors", "inputType"]);
|
|
69327
|
+
}, null, 8, ["modelValue", "label", "required", "optional", "disabled", "helperText", "placeholder", "captions", "errors", "inputType", "step"]);
|
|
69310
69328
|
};
|
|
69311
69329
|
}
|
|
69312
69330
|
});
|
|
@@ -69317,7 +69335,7 @@ const _hoisted_3$h = {
|
|
|
69317
69335
|
key: 1,
|
|
69318
69336
|
class: "file-upload__file-name"
|
|
69319
69337
|
};
|
|
69320
|
-
const _sfc_main
|
|
69338
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
69321
69339
|
__name: "BmsInputFile",
|
|
69322
69340
|
props: {
|
|
69323
69341
|
modelValue: {},
|
|
@@ -69473,7 +69491,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
69473
69491
|
src: getImageSrc(file),
|
|
69474
69492
|
class: "file-upload__file-img"
|
|
69475
69493
|
}, null, 8, _hoisted_2$v)) : (openBlock(), createElementBlock("span", _hoisted_3$h, toDisplayString(file.name), 1)),
|
|
69476
|
-
createVNode(_sfc_main$
|
|
69494
|
+
createVNode(_sfc_main$1q, {
|
|
69477
69495
|
mode: unref(StatusType).Danger,
|
|
69478
69496
|
onClick: withModifiers(($event) => onDeleteFile(file), ["prevent"]),
|
|
69479
69497
|
class: "close-button"
|
|
@@ -69493,9 +69511,9 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
69493
69511
|
}
|
|
69494
69512
|
});
|
|
69495
69513
|
|
|
69496
|
-
const BmsInputFile = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
69514
|
+
const BmsInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-07e6912d"]]);
|
|
69497
69515
|
|
|
69498
|
-
const _sfc_main
|
|
69516
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
69499
69517
|
__name: "BmsInputNumber",
|
|
69500
69518
|
props: {
|
|
69501
69519
|
modelValue: {},
|
|
@@ -69507,6 +69525,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
69507
69525
|
placeholder: {},
|
|
69508
69526
|
captions: {},
|
|
69509
69527
|
errors: {},
|
|
69528
|
+
step: { default: 0 },
|
|
69510
69529
|
max: {},
|
|
69511
69530
|
min: {}
|
|
69512
69531
|
},
|
|
@@ -69556,7 +69575,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
69556
69575
|
() => checkLimit()
|
|
69557
69576
|
);
|
|
69558
69577
|
return (_ctx, _cache) => {
|
|
69559
|
-
return openBlock(), createBlock(_sfc_main$
|
|
69578
|
+
return openBlock(), createBlock(_sfc_main$12, {
|
|
69560
69579
|
modelValue: __props.modelValue,
|
|
69561
69580
|
label: __props.label,
|
|
69562
69581
|
required: __props.required,
|
|
@@ -69569,8 +69588,9 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
69569
69588
|
inputType: unref(InputType).NUMBER,
|
|
69570
69589
|
min: __props.min,
|
|
69571
69590
|
max: __props.max,
|
|
69591
|
+
step: __props.step,
|
|
69572
69592
|
onInput
|
|
69573
|
-
}, null, 8, ["modelValue", "label", "required", "optional", "disabled", "helperText", "placeholder", "captions", "errors", "inputType", "min", "max"]);
|
|
69593
|
+
}, null, 8, ["modelValue", "label", "required", "optional", "disabled", "helperText", "placeholder", "captions", "errors", "inputType", "min", "max", "step"]);
|
|
69574
69594
|
};
|
|
69575
69595
|
}
|
|
69576
69596
|
});
|
|
@@ -69580,7 +69600,7 @@ const _hoisted_2$u = {
|
|
|
69580
69600
|
key: 0,
|
|
69581
69601
|
class: "input-radio-info"
|
|
69582
69602
|
};
|
|
69583
|
-
const _sfc_main$
|
|
69603
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
69584
69604
|
__name: "BmsInputRadio",
|
|
69585
69605
|
props: {
|
|
69586
69606
|
modelValue: {},
|
|
@@ -69631,9 +69651,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
69631
69651
|
}
|
|
69632
69652
|
});
|
|
69633
69653
|
|
|
69634
|
-
const BmsInputRadio = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69654
|
+
const BmsInputRadio = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-c0c9efa3"]]);
|
|
69635
69655
|
|
|
69636
|
-
const _sfc_main$
|
|
69656
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
69637
69657
|
__name: "BmsInputRadioGroup",
|
|
69638
69658
|
props: {
|
|
69639
69659
|
values: { default: () => [] },
|
|
@@ -69704,9 +69724,9 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
69704
69724
|
}
|
|
69705
69725
|
});
|
|
69706
69726
|
|
|
69707
|
-
const BmsInputRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69727
|
+
const BmsInputRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-186163e2"]]);
|
|
69708
69728
|
|
|
69709
|
-
const _sfc_main$
|
|
69729
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
69710
69730
|
__name: "BmsInputRadioCaption",
|
|
69711
69731
|
props: {
|
|
69712
69732
|
modelValue: {},
|
|
@@ -69768,9 +69788,9 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
69768
69788
|
}
|
|
69769
69789
|
});
|
|
69770
69790
|
|
|
69771
|
-
const BmsInputRadioCaption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69791
|
+
const BmsInputRadioCaption = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-59486e84"]]);
|
|
69772
69792
|
|
|
69773
|
-
const _sfc_main$
|
|
69793
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
69774
69794
|
__name: "BmsInputRadioCaptionGroup",
|
|
69775
69795
|
props: {
|
|
69776
69796
|
options: { default: () => [] },
|
|
@@ -69830,10 +69850,10 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
69830
69850
|
}
|
|
69831
69851
|
});
|
|
69832
69852
|
|
|
69833
|
-
const BmsInputRadioCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69853
|
+
const BmsInputRadioCaptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-a4287904"]]);
|
|
69834
69854
|
|
|
69835
69855
|
const _hoisted_1$K = ["disabled", "name"];
|
|
69836
|
-
const _sfc_main$
|
|
69856
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
69837
69857
|
__name: "UiBmsSwitch",
|
|
69838
69858
|
props: {
|
|
69839
69859
|
disabled: { type: Boolean, default: false },
|
|
@@ -69870,11 +69890,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
69870
69890
|
}
|
|
69871
69891
|
});
|
|
69872
69892
|
|
|
69873
|
-
const UiBmsSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69893
|
+
const UiBmsSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-6de1a5c6"]]);
|
|
69874
69894
|
|
|
69875
69895
|
const _hoisted_1$J = ["title"];
|
|
69876
69896
|
const _hoisted_2$t = { class: "input-switch-info" };
|
|
69877
|
-
const _sfc_main$
|
|
69897
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
69878
69898
|
__name: "BmsInputToggle",
|
|
69879
69899
|
props: {
|
|
69880
69900
|
name: {},
|
|
@@ -69919,13 +69939,13 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
69919
69939
|
}
|
|
69920
69940
|
});
|
|
69921
69941
|
|
|
69922
|
-
const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69942
|
+
const BmsInputToggle = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-5f354760"]]);
|
|
69923
69943
|
|
|
69924
69944
|
const _hoisted_1$I = {
|
|
69925
69945
|
key: 0,
|
|
69926
69946
|
class: "dismiss-button"
|
|
69927
69947
|
};
|
|
69928
|
-
const _sfc_main$
|
|
69948
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
69929
69949
|
__name: "BmsTag",
|
|
69930
69950
|
props: {
|
|
69931
69951
|
active: { type: Boolean, default: false },
|
|
@@ -69943,7 +69963,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
69943
69963
|
}, [
|
|
69944
69964
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
69945
69965
|
__props.canBeDismissed ? (openBlock(), createElementBlock("span", _hoisted_1$I, [
|
|
69946
|
-
createVNode(unref(_sfc_main$
|
|
69966
|
+
createVNode(unref(_sfc_main$1q), {
|
|
69947
69967
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emits("dismiss"), ["stop"]))
|
|
69948
69968
|
}, {
|
|
69949
69969
|
default: withCtx(() => [
|
|
@@ -69959,9 +69979,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
69959
69979
|
}
|
|
69960
69980
|
});
|
|
69961
69981
|
|
|
69962
|
-
const BmsTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69982
|
+
const BmsTag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-66a1abd4"]]);
|
|
69963
69983
|
|
|
69964
|
-
const _sfc_main$
|
|
69984
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
69965
69985
|
__name: "RawSelect",
|
|
69966
69986
|
props: {
|
|
69967
69987
|
options: {},
|
|
@@ -70019,12 +70039,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
70019
70039
|
}
|
|
70020
70040
|
});
|
|
70021
70041
|
|
|
70022
|
-
const RawSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
70042
|
+
const RawSelect = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-6231389d"]]);
|
|
70023
70043
|
|
|
70024
70044
|
const _hoisted_1$H = { class: "tags" };
|
|
70025
70045
|
const _hoisted_2$s = ["disabled"];
|
|
70026
70046
|
const _hoisted_3$g = { class: "icon-container" };
|
|
70027
|
-
const _sfc_main$
|
|
70047
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
70028
70048
|
__name: "BmsMultiSelect",
|
|
70029
70049
|
props: /* @__PURE__ */ mergeModels({
|
|
70030
70050
|
options: {},
|
|
@@ -70185,9 +70205,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
70185
70205
|
}
|
|
70186
70206
|
});
|
|
70187
70207
|
|
|
70188
|
-
const BmsMultiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
70208
|
+
const BmsMultiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-873ece7e"]]);
|
|
70189
70209
|
|
|
70190
|
-
const _sfc_main$
|
|
70210
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
70191
70211
|
__name: "BmsSearch",
|
|
70192
70212
|
props: {
|
|
70193
70213
|
modelValue: {},
|
|
@@ -70217,7 +70237,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
70217
70237
|
setFocus
|
|
70218
70238
|
});
|
|
70219
70239
|
return (_ctx, _cache) => {
|
|
70220
|
-
return openBlock(), createBlock(_sfc_main$
|
|
70240
|
+
return openBlock(), createBlock(_sfc_main$12, {
|
|
70221
70241
|
ref_key: "input",
|
|
70222
70242
|
ref: input,
|
|
70223
70243
|
modelValue: search.value,
|
|
@@ -70246,7 +70266,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
70246
70266
|
}
|
|
70247
70267
|
});
|
|
70248
70268
|
|
|
70249
|
-
const BmsSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
70269
|
+
const BmsSearch = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-82b0bcd1"]]);
|
|
70250
70270
|
|
|
70251
70271
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
70252
70272
|
|
|
@@ -87468,7 +87488,7 @@ const _ = /*@__PURE__*/getDefaultExportFromCjs(lodashExports);
|
|
|
87468
87488
|
|
|
87469
87489
|
const _hoisted_1$G = ["value", "placeholder", "required", "disabled"];
|
|
87470
87490
|
const _hoisted_2$r = { class: "icon-toggle-container" };
|
|
87471
|
-
const _sfc_main$
|
|
87491
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
87472
87492
|
__name: "BmsSelect",
|
|
87473
87493
|
props: /* @__PURE__ */ mergeModels({
|
|
87474
87494
|
options: {},
|
|
@@ -87573,10 +87593,10 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
87573
87593
|
}
|
|
87574
87594
|
});
|
|
87575
87595
|
|
|
87576
|
-
const BmsSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
87596
|
+
const BmsSelect = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-52e9172c"]]);
|
|
87577
87597
|
|
|
87578
87598
|
const _hoisted_1$F = ["value", "required", "placeholder", "disabled"];
|
|
87579
|
-
const _sfc_main$
|
|
87599
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
87580
87600
|
__name: "BmsTextArea",
|
|
87581
87601
|
props: {
|
|
87582
87602
|
modelValue: {},
|
|
@@ -87641,7 +87661,56 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
87641
87661
|
}
|
|
87642
87662
|
});
|
|
87643
87663
|
|
|
87644
|
-
const BmsTextArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
87664
|
+
const BmsTextArea = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-94de6dd9"]]);
|
|
87665
|
+
|
|
87666
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
87667
|
+
__name: "BmsInputTime",
|
|
87668
|
+
props: {
|
|
87669
|
+
modelValue: {},
|
|
87670
|
+
label: { default: "" },
|
|
87671
|
+
required: { type: Boolean, default: false },
|
|
87672
|
+
optional: { type: Boolean },
|
|
87673
|
+
disabled: { type: Boolean, default: false },
|
|
87674
|
+
helperText: {},
|
|
87675
|
+
placeholder: {},
|
|
87676
|
+
captions: {},
|
|
87677
|
+
errors: {},
|
|
87678
|
+
step: { default: 0 },
|
|
87679
|
+
hasSeconds: { type: Boolean, default: false }
|
|
87680
|
+
},
|
|
87681
|
+
emits: ["update:modelValue"],
|
|
87682
|
+
setup(__props, { emit: __emit }) {
|
|
87683
|
+
const props = __props;
|
|
87684
|
+
const computedStep = computed(() => {
|
|
87685
|
+
if (props.hasSeconds && !props.step) {
|
|
87686
|
+
return 1;
|
|
87687
|
+
} else {
|
|
87688
|
+
return props.step;
|
|
87689
|
+
}
|
|
87690
|
+
});
|
|
87691
|
+
const $emits = __emit;
|
|
87692
|
+
const onInput = (e) => {
|
|
87693
|
+
const value = (e?.target).value;
|
|
87694
|
+
if (!props.disabled && value) $emits("update:modelValue", value);
|
|
87695
|
+
};
|
|
87696
|
+
return (_ctx, _cache) => {
|
|
87697
|
+
return openBlock(), createBlock(_sfc_main$12, {
|
|
87698
|
+
modelValue: __props.modelValue,
|
|
87699
|
+
label: __props.label,
|
|
87700
|
+
required: __props.required,
|
|
87701
|
+
optional: __props.optional,
|
|
87702
|
+
disabled: __props.disabled,
|
|
87703
|
+
helperText: __props.helperText,
|
|
87704
|
+
placeholder: __props.placeholder,
|
|
87705
|
+
captions: __props.captions,
|
|
87706
|
+
errors: __props.errors,
|
|
87707
|
+
inputType: unref(InputType).TIME,
|
|
87708
|
+
step: computedStep.value,
|
|
87709
|
+
onInput
|
|
87710
|
+
}, null, 8, ["modelValue", "label", "required", "optional", "disabled", "helperText", "placeholder", "captions", "errors", "inputType", "step"]);
|
|
87711
|
+
};
|
|
87712
|
+
}
|
|
87713
|
+
});
|
|
87645
87714
|
|
|
87646
87715
|
const _hoisted_1$E = { class: "page__breadcrumb" };
|
|
87647
87716
|
const _hoisted_2$q = { class: "page__header" };
|
|
@@ -87719,7 +87788,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
87719
87788
|
class: normalizeClass(["card__body", { animated: __props.animated, hasAction: !!_ctx.$slots.action }])
|
|
87720
87789
|
}, [
|
|
87721
87790
|
createElementVNode("div", _hoisted_1$D, [
|
|
87722
|
-
__props.to ? (openBlock(), createBlock(_sfc_main$
|
|
87791
|
+
__props.to ? (openBlock(), createBlock(_sfc_main$1u, {
|
|
87723
87792
|
key: 0,
|
|
87724
87793
|
class: "card__body__content__link",
|
|
87725
87794
|
to: __props.to
|
|
@@ -87951,7 +88020,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
87951
88020
|
}, [
|
|
87952
88021
|
createElementVNode("h3", _hoisted_1$C, toDisplayString(__props.title), 1),
|
|
87953
88022
|
createElementVNode("div", _hoisted_2$o, [
|
|
87954
|
-
__props.expandable ? (openBlock(), createBlock(_sfc_main$
|
|
88023
|
+
__props.expandable ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
87955
88024
|
key: 0,
|
|
87956
88025
|
class: normalizeClass(["floating-window__expand-btn", { "floating-window__expand-btn--expanded": isExpanded.value }]),
|
|
87957
88026
|
"tooltip-text": isExpanded.value ? "Réduire la fenêtre" : "Maximiser la fenêtre",
|
|
@@ -87962,7 +88031,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
87962
88031
|
]),
|
|
87963
88032
|
_: 1
|
|
87964
88033
|
}, 8, ["class", "tooltip-text"])) : createCommentVNode("", true),
|
|
87965
|
-
createVNode(_sfc_main$
|
|
88034
|
+
createVNode(_sfc_main$1q, {
|
|
87966
88035
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => open.value = false, ["prevent", "stop"]))
|
|
87967
88036
|
}, {
|
|
87968
88037
|
default: withCtx(() => [
|
|
@@ -90958,7 +91027,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
90958
91027
|
key: 0,
|
|
90959
91028
|
class: normalizeClass(["bms-short-link-menu", { "bms-short-link-menu__outline": __props.outline }])
|
|
90960
91029
|
}, [
|
|
90961
|
-
!!__props.helpLink ? (openBlock(), createBlock(_sfc_main$
|
|
91030
|
+
!!__props.helpLink ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
90962
91031
|
key: 0,
|
|
90963
91032
|
"tooltip-text": "Voir la documentation",
|
|
90964
91033
|
to: __props.helpLink,
|
|
@@ -90971,7 +91040,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
90971
91040
|
]),
|
|
90972
91041
|
_: 3
|
|
90973
91042
|
}, 8, ["to"])) : createCommentVNode("", true),
|
|
90974
|
-
!!__props.activityLink ? (openBlock(), createBlock(_sfc_main$
|
|
91043
|
+
!!__props.activityLink ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
90975
91044
|
key: 1,
|
|
90976
91045
|
"tooltip-text": "Voir l'activité",
|
|
90977
91046
|
to: __props.activityLink,
|
|
@@ -91223,7 +91292,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
91223
91292
|
])
|
|
91224
91293
|
], true)
|
|
91225
91294
|
]),
|
|
91226
|
-
createVNode(_sfc_main$
|
|
91295
|
+
createVNode(_sfc_main$1q, {
|
|
91227
91296
|
disabled: !isModalClosable.value,
|
|
91228
91297
|
onClick: dismissModal,
|
|
91229
91298
|
"data-testid": "close-modal"
|
|
@@ -91249,7 +91318,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
91249
91318
|
modalData: props.modelValue
|
|
91250
91319
|
}, () => [
|
|
91251
91320
|
(openBlock(true), createElementBlock(Fragment, null, renderList(buttons.value, (button) => {
|
|
91252
|
-
return openBlock(), createBlock(_sfc_main$
|
|
91321
|
+
return openBlock(), createBlock(_sfc_main$1r, {
|
|
91253
91322
|
key: button.label + button.role,
|
|
91254
91323
|
type: button.role === "cancel" ? "secondary" : "primary",
|
|
91255
91324
|
disabled: !isModalClosable.value || button.disabled,
|
|
@@ -91525,7 +91594,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
91525
91594
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
91526
91595
|
renderSlot(_ctx.$slots, "actions", {}, () => [
|
|
91527
91596
|
createElementVNode("div", _hoisted_2$j, [
|
|
91528
|
-
__props.previousLabel ? (openBlock(), createBlock(_sfc_main$
|
|
91597
|
+
__props.previousLabel ? (openBlock(), createBlock(_sfc_main$1r, {
|
|
91529
91598
|
key: 0,
|
|
91530
91599
|
"data-test": "previous-button",
|
|
91531
91600
|
name: "previous",
|
|
@@ -91537,7 +91606,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
91537
91606
|
]),
|
|
91538
91607
|
_: 1
|
|
91539
91608
|
})) : createCommentVNode("", true),
|
|
91540
|
-
__props.nextLabel ? (openBlock(), createBlock(_sfc_main$
|
|
91609
|
+
__props.nextLabel ? (openBlock(), createBlock(_sfc_main$1r, {
|
|
91541
91610
|
key: 1,
|
|
91542
91611
|
"data-test": "next-button",
|
|
91543
91612
|
class: "",
|
|
@@ -91832,7 +91901,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
91832
91901
|
return classes2;
|
|
91833
91902
|
});
|
|
91834
91903
|
return (_ctx, _cache) => {
|
|
91835
|
-
return openBlock(), createBlock(_sfc_main$
|
|
91904
|
+
return openBlock(), createBlock(_sfc_main$1u, {
|
|
91836
91905
|
to: __props.item.link,
|
|
91837
91906
|
target: __props.target,
|
|
91838
91907
|
classes: classes.value
|
|
@@ -91926,7 +91995,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
91926
91995
|
key: item.label
|
|
91927
91996
|
}, [
|
|
91928
91997
|
hasSubItems(item) ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
91929
|
-
item.link ? (openBlock(), createBlock(_sfc_main$
|
|
91998
|
+
item.link ? (openBlock(), createBlock(_sfc_main$1u, {
|
|
91930
91999
|
key: 0,
|
|
91931
92000
|
to: item.link,
|
|
91932
92001
|
class: normalizeClass(`parent-item ${isItemActive(item) ? "active" : ""}`)
|
|
@@ -92054,7 +92123,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
92054
92123
|
const toggleMenu = (newMenuState = true) => isMenuOpen.value = newMenuState;
|
|
92055
92124
|
return (_ctx, _cache) => {
|
|
92056
92125
|
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
92057
|
-
createVNode(unref(_sfc_main$
|
|
92126
|
+
createVNode(unref(_sfc_main$1q), {
|
|
92058
92127
|
onClick: _cache[0] || (_cache[0] = ($event) => toggleMenu(!isMenuOpen.value)),
|
|
92059
92128
|
"data-testid": "openMenu",
|
|
92060
92129
|
"aria-label": "Ouvrir le menu"
|
|
@@ -92078,7 +92147,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
92078
92147
|
ref: menu,
|
|
92079
92148
|
class: normalizeClass(["menu__container", { "is-show": isMenuOpen.value }])
|
|
92080
92149
|
}, [
|
|
92081
|
-
createVNode(unref(_sfc_main$
|
|
92150
|
+
createVNode(unref(_sfc_main$1q), {
|
|
92082
92151
|
class: "menu__close",
|
|
92083
92152
|
onClick: _cache[1] || (_cache[1] = ($event) => toggleMenu(false)),
|
|
92084
92153
|
"data-testid": "closeMenu",
|
|
@@ -92412,7 +92481,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
92412
92481
|
createTextVNode(" " + toDisplayString(__props.tenant.label), 1),
|
|
92413
92482
|
createElementVNode("em", null, "- " + toDisplayString(__props.tenant.information), 1)
|
|
92414
92483
|
], 8, _hoisted_1$k),
|
|
92415
|
-
__props.tenant.isFavorite ? (openBlock(), createBlock(_sfc_main$
|
|
92484
|
+
__props.tenant.isFavorite ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
92416
92485
|
key: 0,
|
|
92417
92486
|
class: "remove-tenant-button",
|
|
92418
92487
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emits("removeFavorite"), ["stop"]))
|
|
@@ -92492,7 +92561,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
92492
92561
|
}, {
|
|
92493
92562
|
default: withCtx(() => [
|
|
92494
92563
|
createElementVNode("div", _hoisted_1$j, [
|
|
92495
|
-
createVNode(unref(_sfc_main$
|
|
92564
|
+
createVNode(unref(_sfc_main$12), {
|
|
92496
92565
|
ref_key: "searchRef",
|
|
92497
92566
|
ref: searchRef,
|
|
92498
92567
|
modelValue: search.value,
|
|
@@ -92608,7 +92677,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
92608
92677
|
__props.currentTenant && __props.tenants.length === 1 ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
92609
92678
|
createVNode(_sfc_main$n, { tenant: __props.currentTenant }, null, 8, ["tenant"]),
|
|
92610
92679
|
createElementVNode("span", null, toDisplayString(__props.currentTenant.label), 1)
|
|
92611
|
-
])) : __props.tenants.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$
|
|
92680
|
+
])) : __props.tenants.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$1r), {
|
|
92612
92681
|
key: 1,
|
|
92613
92682
|
type: "tertiary",
|
|
92614
92683
|
onClick: _cache[0] || (_cache[0] = ($event) => showTenantSwitcher.value = !showTenantSwitcher.value)
|
|
@@ -92751,7 +92820,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
92751
92820
|
onMouseup: _cache[1] || (_cache[1] = () => gripped.value = false)
|
|
92752
92821
|
}),
|
|
92753
92822
|
renderSlot(_ctx.$slots, "default", { row: item }, void 0, true),
|
|
92754
|
-
createVNode(unref(_sfc_main$
|
|
92823
|
+
createVNode(unref(_sfc_main$1q), {
|
|
92755
92824
|
mode: unref(StatusType).Danger,
|
|
92756
92825
|
onClick: ($event) => onRemove(item)
|
|
92757
92826
|
}, {
|
|
@@ -92901,7 +92970,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
92901
92970
|
], true)
|
|
92902
92971
|
]),
|
|
92903
92972
|
createElementVNode("div", _hoisted_3$6, [
|
|
92904
|
-
createVNode(_sfc_main$
|
|
92973
|
+
createVNode(_sfc_main$1q, {
|
|
92905
92974
|
color: "neutral",
|
|
92906
92975
|
onClick: goToFirst,
|
|
92907
92976
|
disabled: __props.currentPage === 0
|
|
@@ -92911,7 +92980,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
92911
92980
|
]),
|
|
92912
92981
|
_: 1
|
|
92913
92982
|
}, 8, ["disabled"]),
|
|
92914
|
-
createVNode(_sfc_main$
|
|
92983
|
+
createVNode(_sfc_main$1q, {
|
|
92915
92984
|
onClick: goToPrevious,
|
|
92916
92985
|
disabled: __props.currentPage === 0
|
|
92917
92986
|
}, {
|
|
@@ -92920,7 +92989,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
92920
92989
|
]),
|
|
92921
92990
|
_: 1
|
|
92922
92991
|
}, 8, ["disabled"]),
|
|
92923
|
-
createVNode(_sfc_main$
|
|
92992
|
+
createVNode(_sfc_main$1q, {
|
|
92924
92993
|
onClick: goToNext,
|
|
92925
92994
|
disabled: __props.currentPage === __props.pages - 1 || __props.pages === 0
|
|
92926
92995
|
}, {
|
|
@@ -92929,7 +92998,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
92929
92998
|
]),
|
|
92930
92999
|
_: 1
|
|
92931
93000
|
}, 8, ["disabled"]),
|
|
92932
|
-
createVNode(_sfc_main$
|
|
93001
|
+
createVNode(_sfc_main$1q, {
|
|
92933
93002
|
onClick: goToLast,
|
|
92934
93003
|
disabled: __props.currentPage === __props.pages - 1 || __props.pages === 0 || __props.total === Infinity
|
|
92935
93004
|
}, {
|
|
@@ -97134,7 +97203,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
97134
97203
|
);
|
|
97135
97204
|
return (_ctx, _cache) => {
|
|
97136
97205
|
return openBlock(), createElementBlock("span", _hoisted_1$a, [
|
|
97137
|
-
createVNode(_sfc_main$
|
|
97206
|
+
createVNode(_sfc_main$1s, {
|
|
97138
97207
|
class: "filter-button",
|
|
97139
97208
|
color: __props.isFilterVisible ? unref(StatusType).Default : unref(StatusType).Information,
|
|
97140
97209
|
mode: __props.isFilterVisible ? "fill" : "ghost",
|
|
@@ -99290,9 +99359,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
99290
99359
|
case "boolean":
|
|
99291
99360
|
return BmsSelect;
|
|
99292
99361
|
case "input":
|
|
99293
|
-
return _sfc_main$
|
|
99362
|
+
return _sfc_main$12;
|
|
99294
99363
|
case "inputDate":
|
|
99295
|
-
return _sfc_main$
|
|
99364
|
+
return _sfc_main$11;
|
|
99296
99365
|
case "autocomplete":
|
|
99297
99366
|
return BmsAutocomplete;
|
|
99298
99367
|
case "autocompleteServer":
|
|
@@ -99381,7 +99450,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
99381
99450
|
_cache[2] || (_cache[2] = createTextVNode(" Recherche avancée ", -1))
|
|
99382
99451
|
]),
|
|
99383
99452
|
createElementVNode("span", _hoisted_3$3, [
|
|
99384
|
-
__props.canSaveFilters ? (openBlock(), createBlock(_sfc_main$
|
|
99453
|
+
__props.canSaveFilters ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
99385
99454
|
key: 0,
|
|
99386
99455
|
class: "save",
|
|
99387
99456
|
tooltipText: "Sauvegarder le filtre",
|
|
@@ -99392,7 +99461,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
99392
99461
|
]),
|
|
99393
99462
|
_: 1
|
|
99394
99463
|
})) : createCommentVNode("", true),
|
|
99395
|
-
createVNode(_sfc_main$
|
|
99464
|
+
createVNode(_sfc_main$1q, {
|
|
99396
99465
|
class: "reset",
|
|
99397
99466
|
tooltipText: "Vider les champs",
|
|
99398
99467
|
onClick: reset
|
|
@@ -99444,7 +99513,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
99444
99513
|
}, {
|
|
99445
99514
|
default: withCtx(() => [
|
|
99446
99515
|
_cache[3] || (_cache[3] = createElementVNode("div", null, " Vous pouvez sauvegarder votre recherche pour la retrouver plus facilement. ", -1)),
|
|
99447
|
-
createVNode(unref(_sfc_main$
|
|
99516
|
+
createVNode(unref(_sfc_main$12), {
|
|
99448
99517
|
ref_key: "nameInput",
|
|
99449
99518
|
ref: nameInput,
|
|
99450
99519
|
label: "Nom de la sauvegarde",
|
|
@@ -104058,7 +104127,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
104058
104127
|
class: "bms-notification__icon"
|
|
104059
104128
|
})),
|
|
104060
104129
|
createElementVNode("div", _hoisted_2$4, toDisplayString(__props.notification.text), 1),
|
|
104061
|
-
createVNode(_sfc_main$
|
|
104130
|
+
createVNode(_sfc_main$1q, {
|
|
104062
104131
|
class: "bms-notification__close-button",
|
|
104063
104132
|
onClick: closeNotification
|
|
104064
104133
|
}, {
|
|
@@ -104299,7 +104368,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
104299
104368
|
createElementVNode("div", null, [
|
|
104300
104369
|
createElementVNode("div", _hoisted_5$1, [
|
|
104301
104370
|
createElementVNode("span", _hoisted_6$1, toDisplayString(__props.problem.detail), 1),
|
|
104302
|
-
createVNode(unref(_sfc_main$
|
|
104371
|
+
createVNode(unref(_sfc_main$1q), {
|
|
104303
104372
|
class: "copyToClipboardButton",
|
|
104304
104373
|
onClick: _cache[1] || (_cache[1] = ($event) => onCopyToClipboard(__props.problem.detail))
|
|
104305
104374
|
}, {
|
|
@@ -104334,7 +104403,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
104334
104403
|
createElementVNode("div", null, [
|
|
104335
104404
|
createElementVNode("div", _hoisted_8$1, [
|
|
104336
104405
|
createElementVNode("span", _hoisted_9, toDisplayString(__props.problem.correlationId), 1),
|
|
104337
|
-
createVNode(unref(_sfc_main$
|
|
104406
|
+
createVNode(unref(_sfc_main$1q), {
|
|
104338
104407
|
class: "copyToClipboardButton",
|
|
104339
104408
|
onClick: _cache[3] || (_cache[3] = ($event) => onCopyToClipboard(__props.problem.detail))
|
|
104340
104409
|
}, {
|
|
@@ -104544,7 +104613,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
104544
104613
|
);
|
|
104545
104614
|
return (_ctx, _cache) => {
|
|
104546
104615
|
return isFeatureFlippingOn.value ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
104547
|
-
createVNode(_sfc_main$
|
|
104616
|
+
createVNode(_sfc_main$1r, {
|
|
104548
104617
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("click")),
|
|
104549
104618
|
mode: unref(StatusType).Danger
|
|
104550
104619
|
}, {
|
|
@@ -106841,8 +106910,8 @@ const routerHistoryPlugin = {
|
|
|
106841
106910
|
|
|
106842
106911
|
const createBmsUi = () => ({
|
|
106843
106912
|
install: (app) => {
|
|
106844
|
-
app.component("BmsButton", _sfc_main$
|
|
106845
|
-
app.component("BmsIconButton", _sfc_main$
|
|
106913
|
+
app.component("BmsButton", _sfc_main$1r);
|
|
106914
|
+
app.component("BmsIconButton", _sfc_main$1q);
|
|
106846
106915
|
app.component("BmsToggleIcon", BmsToggleIcon);
|
|
106847
106916
|
app.component("BmsAlert", BmsAlert);
|
|
106848
106917
|
app.component("BmsBadge", BmsBadge);
|
|
@@ -106856,25 +106925,26 @@ const createBmsUi = () => ({
|
|
|
106856
106925
|
app.component("BmsBetweenInput", BmsBetweenInput);
|
|
106857
106926
|
app.component("BmsChip", BmsChip);
|
|
106858
106927
|
app.component("BmsFilePicker", BmsFilePicker);
|
|
106859
|
-
app.component("BmsInputBooleanCheckbox", _sfc_main$
|
|
106928
|
+
app.component("BmsInputBooleanCheckbox", _sfc_main$17);
|
|
106860
106929
|
app.component("BmsInputCheckboxGroup", BmsInputCheckboxGroup);
|
|
106861
106930
|
app.component("BmsInputCheckboxCaption", BmsInputCheckboxCaption);
|
|
106862
106931
|
app.component("BmsInputCheckboxCaptionGroup", BmsInputCheckboxCaptionGroup);
|
|
106863
106932
|
app.component("BmsInputCode", BmsInputCode);
|
|
106864
|
-
app.component("BmsInputDateTime", _sfc_main$
|
|
106933
|
+
app.component("BmsInputDateTime", _sfc_main$11);
|
|
106865
106934
|
app.component("BmsInputFile", BmsInputFile);
|
|
106866
|
-
app.component("BmsInputNumber", _sfc_main
|
|
106935
|
+
app.component("BmsInputNumber", _sfc_main$$);
|
|
106867
106936
|
app.component("BmsInputRadio", BmsInputRadio);
|
|
106868
106937
|
app.component("BmsInputRadioGroup", BmsInputRadioGroup);
|
|
106869
106938
|
app.component("BmsInputRadioCaption", BmsInputRadioCaption);
|
|
106870
106939
|
app.component("BmsInputRadioCaptionGroup", BmsInputRadioCaptionGroup);
|
|
106871
|
-
app.component("BmsInputText", _sfc_main$
|
|
106940
|
+
app.component("BmsInputText", _sfc_main$12);
|
|
106872
106941
|
app.component("BmsInputToggle", BmsInputToggle);
|
|
106873
106942
|
app.component("BmsMultiSelect", BmsMultiSelect);
|
|
106874
106943
|
app.component("BmsSearch", BmsSearch);
|
|
106875
106944
|
app.component("BmsSelect", BmsSelect);
|
|
106876
106945
|
app.component("BmsTag", BmsTag);
|
|
106877
106946
|
app.component("BmsTextArea", BmsTextArea);
|
|
106947
|
+
app.component("BmsInputTime", _sfc_main$O);
|
|
106878
106948
|
app.component("BmsContentPageLayout", BmsContentPageLayout);
|
|
106879
106949
|
app.component("BmsCard", BmsCard);
|
|
106880
106950
|
app.component("BmsFloatingWindow", BmsFloatingWindow);
|
|
@@ -106890,7 +106960,7 @@ const createBmsUi = () => ({
|
|
|
106890
106960
|
app.component("BmsBackButton", BmsBackButton);
|
|
106891
106961
|
app.component("BmsBreadcrumb", BmsBreadcrumb);
|
|
106892
106962
|
app.component("BmsFixedMenu", BmsFixedMenu);
|
|
106893
|
-
app.component("BmsLink", _sfc_main$
|
|
106963
|
+
app.component("BmsLink", _sfc_main$1u);
|
|
106894
106964
|
app.component("BmsMenu", BmsMenu);
|
|
106895
106965
|
app.component("BmsMenuNav", BmsMenuNav);
|
|
106896
106966
|
app.component("BmsShortLinkMenu", BmsShortLinkMenu);
|
|
@@ -106907,5 +106977,5 @@ const createBmsUi = () => ({
|
|
|
106907
106977
|
}
|
|
106908
106978
|
});
|
|
106909
106979
|
|
|
106910
|
-
export { BMS_FORM_VALID_URL_REGEX, BmsAlert, BmsAutocomplete, BmsBackButton, BmsBadge, BmsBetweenInput, BmsBreadcrumb, _sfc_main$
|
|
106980
|
+
export { BMS_FORM_VALID_URL_REGEX, BmsAlert, BmsAutocomplete, BmsBackButton, BmsBadge, BmsBetweenInput, BmsBreadcrumb, _sfc_main$1r as BmsButton, BmsCaption, BmsCard, BmsChip, BmsCircularProgress, BmsCocarde, BmsContentPageLayout, BmsDraggableList, BmsEmptyScreen, BmsFilePicker, BmsFixedMenu, BmsFloatingWindow, BmsForm, BmsGhost, BmsHeader, BmsHeaderTitle, _sfc_main$1q as BmsIconButton, _sfc_main$17 as BmsInputBooleanCheckbox, BmsInputCheckboxCaption, BmsInputCheckboxCaptionGroup, BmsInputCheckboxGroup, BmsInputCode, _sfc_main$11 as BmsInputDateTime, BmsInputFile, _sfc_main$$ as BmsInputNumber, BmsInputRadio, BmsInputRadioCaption, BmsInputRadioCaptionGroup, BmsInputRadioGroup, _sfc_main$12 as BmsInputText, _sfc_main$O as BmsInputTime, BmsInputToggle, _sfc_main$1u 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, BmsToggleIcon, BmsTooltip, ChipColor, CocardeBorder, ColumnType, ConfirmInstance, InputType, KeycloakAuthAdapterInstance, RuntimeEnv, SelectMode, SortValue, StatusType, TableMode, 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 };
|
|
106911
106981
|
//# sourceMappingURL=sipa-bms-ui.es.js.map
|