@ouestfrance/sipa-bms-ui 8.5.2 → 8.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mockServiceWorker.js +1 -1
- package/dist/sipa-bms-ui.css +28 -22
- package/dist/sipa-bms-ui.es.js +38 -26
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +38 -26
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +13 -13
- package/src/components/form/BmsSelect.vue +1 -0
- package/src/components/form/RawAutocomplete.vue +15 -14
- package/src/plugins/confirm/index.ts +4 -2
- package/src/plugins/feature-flipper/index.ts +1 -0
- package/src/plugins/field/index.ts +1 -0
- package/src/plugins/notifications/index.ts +1 -0
- package/src/plugins/router-history/index.ts +4 -2
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - Please do NOT modify this file.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
const PACKAGE_VERSION = '2.11.
|
|
10
|
+
const PACKAGE_VERSION = '2.11.1'
|
|
11
11
|
const INTEGRITY_CHECKSUM = 'f5825c521429caf22a4dd13b66e243af'
|
|
12
12
|
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
|
13
13
|
const activeClientIds = new Set()
|
package/dist/sipa-bms-ui.css
CHANGED
|
@@ -587,7 +587,7 @@ ul li[data-v-413e6742]:hover, ul li.selected[data-v-413e6742] {
|
|
|
587
587
|
line-height: 1;
|
|
588
588
|
width: 100%;
|
|
589
589
|
background-color: transparent;
|
|
590
|
-
}.field__input .autocomplete-wrapper[data-v-
|
|
590
|
+
}.field__input .autocomplete-wrapper[data-v-5d665f68] {
|
|
591
591
|
width: 100%;
|
|
592
592
|
padding: 0.7em;
|
|
593
593
|
margin: 0.5em 0;
|
|
@@ -596,22 +596,22 @@ ul li[data-v-413e6742]:hover, ul li.selected[data-v-413e6742] {
|
|
|
596
596
|
background-color: var(--input-background-color);
|
|
597
597
|
height: 48px;
|
|
598
598
|
}
|
|
599
|
-
.field__input .autocomplete-wrapper[data-v-
|
|
599
|
+
.field__input .autocomplete-wrapper[data-v-5d665f68]:hover {
|
|
600
600
|
--field-border-color: var(--bms-grey-100);
|
|
601
601
|
}
|
|
602
|
-
.field__input .autocomplete-wrapper[data-v-
|
|
602
|
+
.field__input .autocomplete-wrapper[data-v-5d665f68]:has(input:focus) {
|
|
603
603
|
--field-border-color: var(--field-border-color-active);
|
|
604
604
|
}
|
|
605
|
-
.field__input .autocomplete-wrapper.is-error[data-v-
|
|
605
|
+
.field__input .autocomplete-wrapper.is-error[data-v-5d665f68] {
|
|
606
606
|
--field-border-color: var(--bms-red-100);
|
|
607
607
|
--input-background-color: var(--bms-red-25);
|
|
608
608
|
}
|
|
609
|
-
.field__input .autocomplete-wrapper.is-disabled[data-v-
|
|
609
|
+
.field__input .autocomplete-wrapper.is-disabled[data-v-5d665f68] {
|
|
610
610
|
--field-border-color: var(--bms-grey-25);
|
|
611
611
|
--input-background-color: var(--bms-grey-25);
|
|
612
612
|
pointer-events: none;
|
|
613
613
|
}
|
|
614
|
-
.field__input .autocomplete-wrapper input[data-v-
|
|
614
|
+
.field__input .autocomplete-wrapper input[data-v-5d665f68] {
|
|
615
615
|
outline: none;
|
|
616
616
|
appearance: none;
|
|
617
617
|
border: 0;
|
|
@@ -624,7 +624,7 @@ ul li[data-v-413e6742]:hover, ul li.selected[data-v-413e6742] {
|
|
|
624
624
|
width: 100%;
|
|
625
625
|
background-color: transparent;
|
|
626
626
|
}
|
|
627
|
-
.icon[data-v-
|
|
627
|
+
.icon[data-v-5d665f68] {
|
|
628
628
|
height: 1em;
|
|
629
629
|
width: 1em;
|
|
630
630
|
cursor: pointer;
|
|
@@ -1080,12 +1080,12 @@ input[type=radio][data-v-cb26402d]:checked::before {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
.input-toggle[data-v-9570e0a9]:hover {
|
|
1082
1082
|
cursor: var(--cursor);
|
|
1083
|
-
}.field__input[data-v-
|
|
1083
|
+
}.field__input[data-v-6e3f7aab] {
|
|
1084
1084
|
--field-border-color: var(--bms-grey-50);
|
|
1085
1085
|
--field-border-color-active: var(--bms-main-100);
|
|
1086
1086
|
--input-background-color: var(--bms-white);
|
|
1087
1087
|
}
|
|
1088
|
-
.field__input .select-wrapper[data-v-
|
|
1088
|
+
.field__input .select-wrapper[data-v-6e3f7aab] {
|
|
1089
1089
|
width: 100%;
|
|
1090
1090
|
padding: 0 0 0 1em;
|
|
1091
1091
|
border-radius: var(--bms-border-radius);
|
|
@@ -1096,35 +1096,35 @@ input[type=radio][data-v-cb26402d]:checked::before {
|
|
|
1096
1096
|
align-items: center;
|
|
1097
1097
|
justify-content: space-between;
|
|
1098
1098
|
}
|
|
1099
|
-
.field__input .select-wrapper .icon-down-container[data-v-
|
|
1099
|
+
.field__input .select-wrapper .icon-down-container[data-v-6e3f7aab] {
|
|
1100
1100
|
height: 100%;
|
|
1101
1101
|
display: flex;
|
|
1102
1102
|
align-items: center;
|
|
1103
1103
|
}
|
|
1104
|
-
.field__input .select-wrapper .icon-down-container[data-v-
|
|
1104
|
+
.field__input .select-wrapper .icon-down-container[data-v-6e3f7aab]:hover {
|
|
1105
1105
|
cursor: pointer;
|
|
1106
1106
|
}
|
|
1107
|
-
.field__input .select-wrapper .icon-down-button[data-v-
|
|
1107
|
+
.field__input .select-wrapper .icon-down-button[data-v-6e3f7aab] {
|
|
1108
1108
|
width: 1em;
|
|
1109
1109
|
margin: 0 var(--field-padding);
|
|
1110
1110
|
display: block;
|
|
1111
1111
|
}
|
|
1112
|
-
.field__input .select-wrapper[data-v-
|
|
1112
|
+
.field__input .select-wrapper[data-v-6e3f7aab]:hover {
|
|
1113
1113
|
--field-border-color: var(--bms-grey-100);
|
|
1114
1114
|
}
|
|
1115
|
-
.field__input .select-wrapper[data-v-
|
|
1115
|
+
.field__input .select-wrapper[data-v-6e3f7aab]:has(input:focus) {
|
|
1116
1116
|
--field-border-color: var(--field-border-color-active);
|
|
1117
1117
|
}
|
|
1118
|
-
.field__input .select-wrapper.is-error[data-v-
|
|
1118
|
+
.field__input .select-wrapper.is-error[data-v-6e3f7aab] {
|
|
1119
1119
|
--field-border-color: var(--bms-red-100);
|
|
1120
1120
|
--input-background-color: var(--bms-red-25);
|
|
1121
1121
|
}
|
|
1122
|
-
.field__input .select-wrapper.is-disabled[data-v-
|
|
1122
|
+
.field__input .select-wrapper.is-disabled[data-v-6e3f7aab] {
|
|
1123
1123
|
--field-border-color: var(--bms-grey-25);
|
|
1124
1124
|
--input-background-color: var(--bms-grey-25);
|
|
1125
1125
|
pointer-events: none;
|
|
1126
1126
|
}
|
|
1127
|
-
.field__input .select-wrapper input[data-v-
|
|
1127
|
+
.field__input .select-wrapper input[data-v-6e3f7aab] {
|
|
1128
1128
|
border: none;
|
|
1129
1129
|
background-color: transparent;
|
|
1130
1130
|
caret-color: transparent;
|
|
@@ -1322,7 +1322,6 @@ input[type=radio][data-v-cb26402d]:checked::before {
|
|
|
1322
1322
|
border-radius: var(--bms-border-radius-large);
|
|
1323
1323
|
position: relative;
|
|
1324
1324
|
overflow: hidden;
|
|
1325
|
-
--card-content-border-radius: var(--bms-border-radius-large);
|
|
1326
1325
|
}
|
|
1327
1326
|
.card.card--information[data-v-cff3f84d] {
|
|
1328
1327
|
--summary-card-color: white;
|
|
@@ -1340,6 +1339,9 @@ input[type=radio][data-v-cb26402d]:checked::before {
|
|
|
1340
1339
|
--summary-card-color: white;
|
|
1341
1340
|
--summary-card-background-color: var(--bms-danger-color);
|
|
1342
1341
|
}
|
|
1342
|
+
.card[data-v-cff3f84d] {
|
|
1343
|
+
--card-content-border-radius: var(--bms-border-radius-large);
|
|
1344
|
+
}
|
|
1343
1345
|
.card .hasAction[data-v-cff3f84d] {
|
|
1344
1346
|
--card-content-border-radius: var(--bms-border-radius-large)
|
|
1345
1347
|
var(--bms-border-radius-large) 0 0;
|
|
@@ -2275,6 +2277,11 @@ nav .additional[data-v-731a6d8c] {
|
|
|
2275
2277
|
.bms-table .blob[data-v-9cbfc981] {
|
|
2276
2278
|
visibility: hidden;
|
|
2277
2279
|
--table-blob-height: 80px;
|
|
2280
|
+
}
|
|
2281
|
+
.bms-table .blob.dense[data-v-9cbfc981] {
|
|
2282
|
+
--table-blob-height: 50px;
|
|
2283
|
+
}
|
|
2284
|
+
.bms-table .blob[data-v-9cbfc981] {
|
|
2278
2285
|
width: 200px;
|
|
2279
2286
|
height: var(--table-blob-height);
|
|
2280
2287
|
background-color: var(--bms-main-50);
|
|
@@ -2283,9 +2290,6 @@ nav .additional[data-v-731a6d8c] {
|
|
|
2283
2290
|
z-index: -5;
|
|
2284
2291
|
filter: blur(20px);
|
|
2285
2292
|
}
|
|
2286
|
-
.bms-table .blob.dense[data-v-9cbfc981] {
|
|
2287
|
-
--table-blob-height: 50px;
|
|
2288
|
-
}
|
|
2289
2293
|
[data-v-9cbfc981] table {
|
|
2290
2294
|
padding: 0 var(--dynamic-border-height);
|
|
2291
2295
|
}
|
|
@@ -2381,10 +2385,12 @@ nav .additional[data-v-731a6d8c] {
|
|
|
2381
2385
|
}
|
|
2382
2386
|
.filters__inputs .input[data-v-58f3ef61] {
|
|
2383
2387
|
width: 25%;
|
|
2384
|
-
padding-right: 32px;
|
|
2385
2388
|
}
|
|
2386
2389
|
.filters__inputs .input.large[data-v-58f3ef61] {
|
|
2387
2390
|
width: 50%;
|
|
2391
|
+
}
|
|
2392
|
+
.filters__inputs .input[data-v-58f3ef61] {
|
|
2393
|
+
padding-right: 32px;
|
|
2388
2394
|
}.table-search[data-v-1a3ad3f2] {
|
|
2389
2395
|
width: 260px;
|
|
2390
2396
|
}.table-search[data-v-f2f86c8c] {
|
package/dist/sipa-bms-ui.es.js
CHANGED
|
@@ -38069,7 +38069,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38069
38069
|
const inputText = ref(
|
|
38070
38070
|
getValidOptionByValue(modelValue.value)?.label ?? ""
|
|
38071
38071
|
);
|
|
38072
|
-
const
|
|
38072
|
+
const showDataList = ref(props.open);
|
|
38073
38073
|
const autocompleteInput = ref(null);
|
|
38074
38074
|
const classes = computed(() => {
|
|
38075
38075
|
return { "is-error": props.errors?.length, "is-disabled": props.disabled };
|
|
@@ -38081,7 +38081,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38081
38081
|
emits("select", option);
|
|
38082
38082
|
const existingOption = getValidOptionByLabel(option.label) || getValidOptionByValue(option.value);
|
|
38083
38083
|
modelValue.value = existingOption?.value ?? null;
|
|
38084
|
-
|
|
38084
|
+
showDataList.value = false;
|
|
38085
|
+
setFocus();
|
|
38085
38086
|
};
|
|
38086
38087
|
const displayItem = (option) => {
|
|
38087
38088
|
const existingOption = getValidOptionByLabel(option.label) || getValidOptionByValue(option.value);
|
|
@@ -38106,19 +38107,24 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38106
38107
|
}
|
|
38107
38108
|
);
|
|
38108
38109
|
const onInput = () => {
|
|
38109
|
-
|
|
38110
|
+
showDataList.value = true;
|
|
38110
38111
|
if (inputText.value === "") {
|
|
38111
38112
|
clearInput();
|
|
38112
38113
|
}
|
|
38113
38114
|
};
|
|
38114
38115
|
const setFocus = () => {
|
|
38115
38116
|
if (autocompleteInput.value) {
|
|
38116
|
-
autocompleteInput.value.
|
|
38117
|
+
autocompleteInput.value.setFocus();
|
|
38117
38118
|
}
|
|
38118
38119
|
};
|
|
38119
38120
|
const clearInput = () => {
|
|
38120
38121
|
inputText.value = "";
|
|
38121
38122
|
modelValue.value = null;
|
|
38123
|
+
setFocus();
|
|
38124
|
+
};
|
|
38125
|
+
const toggleList = () => {
|
|
38126
|
+
showDataList.value = !showDataList.value;
|
|
38127
|
+
setFocus();
|
|
38122
38128
|
};
|
|
38123
38129
|
__expose({
|
|
38124
38130
|
setFocus
|
|
@@ -38129,13 +38135,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38129
38135
|
datalist: withCtx(() => [
|
|
38130
38136
|
withDirectives(createVNode(FieldDatalist, {
|
|
38131
38137
|
"data-testid": "autocomplete-menu",
|
|
38132
|
-
"is-input-focused":
|
|
38138
|
+
"is-input-focused": showDataList.value,
|
|
38133
38139
|
"can-add-new-option": _ctx.canAddNewOption,
|
|
38134
38140
|
"new-option": inputText.value,
|
|
38135
38141
|
options: filteredMenuItems.value,
|
|
38136
38142
|
small: _ctx.small,
|
|
38137
38143
|
onSelect: selectItem,
|
|
38138
|
-
onAddNewOption: _cache[
|
|
38144
|
+
onAddNewOption: _cache[1] || (_cache[1] = (option) => emits("addNewOption", option))
|
|
38139
38145
|
}, {
|
|
38140
38146
|
option: withCtx(({ option }) => [
|
|
38141
38147
|
renderSlot(_ctx.$slots, "option", { option }, () => [
|
|
@@ -38144,7 +38150,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38144
38150
|
]),
|
|
38145
38151
|
_: 3
|
|
38146
38152
|
}, 8, ["is-input-focused", "can-add-new-option", "new-option", "options", "small"]), [
|
|
38147
|
-
[vShow,
|
|
38153
|
+
[vShow, showDataList.value]
|
|
38148
38154
|
])
|
|
38149
38155
|
]),
|
|
38150
38156
|
default: withCtx(() => [
|
|
@@ -38152,16 +38158,14 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38152
38158
|
ref_key: "autocompleteInput",
|
|
38153
38159
|
ref: autocompleteInput,
|
|
38154
38160
|
modelValue: inputText.value,
|
|
38155
|
-
"onUpdate:modelValue": _cache[
|
|
38161
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputText.value = $event),
|
|
38156
38162
|
type: unref(InputType).TEXT,
|
|
38157
38163
|
disabled: _ctx.disabled,
|
|
38158
38164
|
class: normalizeClass(classes.value),
|
|
38159
38165
|
placeholder: _ctx.placeholder,
|
|
38160
38166
|
required: _ctx.required,
|
|
38161
38167
|
small: _ctx.small,
|
|
38162
|
-
onInput
|
|
38163
|
-
focus: isInputFocused.value,
|
|
38164
|
-
"onUpdate:focus": _cache[2] || (_cache[2] = ($event) => isInputFocused.value = $event)
|
|
38168
|
+
onInput
|
|
38165
38169
|
}, {
|
|
38166
38170
|
"icon-start": withCtx(() => [
|
|
38167
38171
|
renderSlot(_ctx.$slots, "icon-start", {}, void 0, true)
|
|
@@ -38177,14 +38181,14 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38177
38181
|
])) : (openBlock(), createElementBlock("span", {
|
|
38178
38182
|
key: 1,
|
|
38179
38183
|
class: "icon",
|
|
38180
|
-
onClick:
|
|
38184
|
+
onClick: withModifiers(toggleList, ["stop"])
|
|
38181
38185
|
}, [
|
|
38182
|
-
!
|
|
38186
|
+
!showDataList.value ? (openBlock(), createBlock(unref(ChevronDown), { key: 0 })) : (openBlock(), createBlock(unref(ChevronUp), { key: 1 }))
|
|
38183
38187
|
]))
|
|
38184
38188
|
], true)
|
|
38185
38189
|
]),
|
|
38186
38190
|
_: 3
|
|
38187
|
-
}, 8, ["modelValue", "type", "disabled", "class", "placeholder", "required", "small"
|
|
38191
|
+
}, 8, ["modelValue", "type", "disabled", "class", "placeholder", "required", "small"])
|
|
38188
38192
|
]),
|
|
38189
38193
|
_: 3
|
|
38190
38194
|
}, 16);
|
|
@@ -38192,7 +38196,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
38192
38196
|
}
|
|
38193
38197
|
});
|
|
38194
38198
|
|
|
38195
|
-
const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-
|
|
38199
|
+
const RawAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-5d665f68"]]);
|
|
38196
38200
|
|
|
38197
38201
|
const _hoisted_1$N = ["innerHTML"];
|
|
38198
38202
|
const _hoisted_2$v = ["innerHTML"];
|
|
@@ -38518,8 +38522,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
38518
38522
|
default: withCtx(() => [
|
|
38519
38523
|
createVNode(unref(Trash2))
|
|
38520
38524
|
]),
|
|
38521
|
-
_:
|
|
38522
|
-
},
|
|
38525
|
+
_: 1
|
|
38526
|
+
}, 8, ["onClick"])
|
|
38523
38527
|
]);
|
|
38524
38528
|
}), 128)) : createCommentVNode("", true)
|
|
38525
38529
|
]))
|
|
@@ -67778,8 +67782,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
67778
67782
|
default: withCtx(() => [
|
|
67779
67783
|
createVNode(unref(CircleX))
|
|
67780
67784
|
]),
|
|
67781
|
-
_:
|
|
67782
|
-
},
|
|
67785
|
+
_: 1
|
|
67786
|
+
}, 8, ["mode", "onClick"])
|
|
67783
67787
|
], 2);
|
|
67784
67788
|
}), 128))
|
|
67785
67789
|
], 2)) : createCommentVNode("", true)
|
|
@@ -85450,6 +85454,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
85450
85454
|
});
|
|
85451
85455
|
const selectItem = (option) => {
|
|
85452
85456
|
modelValue.value = option.value;
|
|
85457
|
+
setFocus();
|
|
85453
85458
|
open.value = false;
|
|
85454
85459
|
};
|
|
85455
85460
|
const setFocus = () => {
|
|
@@ -85508,7 +85513,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
85508
85513
|
}
|
|
85509
85514
|
});
|
|
85510
85515
|
|
|
85511
|
-
const BmsSelect = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-
|
|
85516
|
+
const BmsSelect = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-6e3f7aab"]]);
|
|
85512
85517
|
|
|
85513
85518
|
const _hoisted_1$E = { class: "dismiss-button" };
|
|
85514
85519
|
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
@@ -90372,8 +90377,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
90372
90377
|
default: withCtx(() => [
|
|
90373
90378
|
createVNode(unref(Trash))
|
|
90374
90379
|
]),
|
|
90375
|
-
_:
|
|
90376
|
-
},
|
|
90380
|
+
_: 1
|
|
90381
|
+
}, 8, ["mode", "onClick"])
|
|
90377
90382
|
], 40, _hoisted_1$g),
|
|
90378
90383
|
createElementVNode("div", {
|
|
90379
90384
|
class: "separator",
|
|
@@ -101503,6 +101508,7 @@ const notifications = {
|
|
|
101503
101508
|
}
|
|
101504
101509
|
});
|
|
101505
101510
|
app.component("bms-notifications", NotificationWidget);
|
|
101511
|
+
app.component("BmsNotifications", NotificationWidget);
|
|
101506
101512
|
}
|
|
101507
101513
|
};
|
|
101508
101514
|
function useNotifications() {
|
|
@@ -101946,6 +101952,7 @@ const featureFlipperPlugin = {
|
|
|
101946
101952
|
install: (app, initialFeatures) => {
|
|
101947
101953
|
const { initFeatures } = useFeatureFlipper();
|
|
101948
101954
|
initFeatures(initialFeatures);
|
|
101955
|
+
app.component("BmsFeatureFlipper", _sfc_main$1);
|
|
101949
101956
|
app.component("bms-feature-flipper", _sfc_main$1);
|
|
101950
101957
|
}
|
|
101951
101958
|
};
|
|
@@ -102110,6 +102117,7 @@ const field = {
|
|
|
102110
102117
|
}
|
|
102111
102118
|
});
|
|
102112
102119
|
app.component("field", _sfc_main);
|
|
102120
|
+
app.component("Field", _sfc_main);
|
|
102113
102121
|
}
|
|
102114
102122
|
};
|
|
102115
102123
|
|
|
@@ -104126,11 +104134,13 @@ const confirmPlugin = {
|
|
|
104126
104134
|
});
|
|
104127
104135
|
}
|
|
104128
104136
|
);
|
|
104129
|
-
|
|
104137
|
+
const confirm = {
|
|
104130
104138
|
render() {
|
|
104131
104139
|
return h$1("div", { id: "confirm" });
|
|
104132
104140
|
}
|
|
104133
|
-
}
|
|
104141
|
+
};
|
|
104142
|
+
app.component("BmsConfirm", confirm);
|
|
104143
|
+
app.component("bms-confirm", confirm);
|
|
104134
104144
|
}
|
|
104135
104145
|
};
|
|
104136
104146
|
function useConfirm() {
|
|
@@ -104162,7 +104172,7 @@ const createRuntimeEnv = (env) => ({
|
|
|
104162
104172
|
|
|
104163
104173
|
const routerHistoryPlugin = {
|
|
104164
104174
|
install(app) {
|
|
104165
|
-
|
|
104175
|
+
const history = {
|
|
104166
104176
|
setup() {
|
|
104167
104177
|
const { addHistoryRoute } = useRouterHistory();
|
|
104168
104178
|
const currentRoute = useRoute();
|
|
@@ -104173,7 +104183,9 @@ const routerHistoryPlugin = {
|
|
|
104173
104183
|
render() {
|
|
104174
104184
|
return "";
|
|
104175
104185
|
}
|
|
104176
|
-
}
|
|
104186
|
+
};
|
|
104187
|
+
app.component("BmsRouterHistory", history);
|
|
104188
|
+
app.component("bms-router-history", history);
|
|
104177
104189
|
}
|
|
104178
104190
|
};
|
|
104179
104191
|
|