@bisom/web_plugin 1.1.2 → 1.1.3
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/bisom-lib.js +42 -58
- package/dist/bisom-lib.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/bisom-lib.js
CHANGED
|
@@ -1811,7 +1811,7 @@ var Zr = Oe, Qr = () => `${Me().api_url}/api/v1/users`, $r = () => `${Qr()}/info
|
|
|
1811
1811
|
userDivisions: [],
|
|
1812
1812
|
showNewsBadge: !1,
|
|
1813
1813
|
isAuth: !1,
|
|
1814
|
-
versionApp: { VUE_APP_VERSION: "lrm-web1.1.
|
|
1814
|
+
versionApp: { VUE_APP_VERSION: "lrm-web1.1.3" }.VUE_APP_VERSION ?? ""
|
|
1815
1815
|
}),
|
|
1816
1816
|
getters: {
|
|
1817
1817
|
userId(e) {
|
|
@@ -7706,7 +7706,8 @@ var Kl = /*#__PURE__*/ U(Hl, [["render", Gl]]), ql = {
|
|
|
7706
7706
|
emits: [
|
|
7707
7707
|
"onMissionSelected",
|
|
7708
7708
|
"update:search",
|
|
7709
|
-
"onSearch"
|
|
7709
|
+
"onSearch",
|
|
7710
|
+
"onRefresh"
|
|
7710
7711
|
],
|
|
7711
7712
|
data() {
|
|
7712
7713
|
return { getOperatorIcon: Jl };
|
|
@@ -9906,7 +9907,7 @@ function kd(t, n, r, i, a, o) {
|
|
|
9906
9907
|
let s = I("BIconBtnWithTooltip"), c = I("BBoldMissionCode");
|
|
9907
9908
|
return N(), l(wd, {
|
|
9908
9909
|
permanent: "",
|
|
9909
|
-
width: "
|
|
9910
|
+
width: "350",
|
|
9910
9911
|
elevation: "3"
|
|
9911
9912
|
}, {
|
|
9912
9913
|
prepend: H(() => [f("div", Td, [
|
|
@@ -9920,7 +9921,12 @@ function kd(t, n, r, i, a, o) {
|
|
|
9920
9921
|
_: 1
|
|
9921
9922
|
}),
|
|
9922
9923
|
f("div", Ed, R(t.$t("labelText.patientsFolders")), 1),
|
|
9923
|
-
m(Lr)
|
|
9924
|
+
m(Lr),
|
|
9925
|
+
m(s, {
|
|
9926
|
+
icon: "$iconRefresh",
|
|
9927
|
+
message: t.$t("tooltip.refresh"),
|
|
9928
|
+
onOnClick: n[0] ||= (e) => t.$emit("onRefresh")
|
|
9929
|
+
}, null, 8, ["message"])
|
|
9924
9930
|
]),
|
|
9925
9931
|
_: 1
|
|
9926
9932
|
}),
|
|
@@ -9932,8 +9938,8 @@ function kd(t, n, r, i, a, o) {
|
|
|
9932
9938
|
label: t.$t("labelText.search"),
|
|
9933
9939
|
placeholder: t.$t("labelText.searchPatient"),
|
|
9934
9940
|
clearable: "",
|
|
9935
|
-
onKeydown: n[
|
|
9936
|
-
"onUpdate:modelValue": n[
|
|
9941
|
+
onKeydown: n[1] ||= he((e) => t.$emit("onSearch"), ["enter"]),
|
|
9942
|
+
"onUpdate:modelValue": n[2] ||= (e) => t.$emit("update:search", e)
|
|
9937
9943
|
}, null, 8, [
|
|
9938
9944
|
"modelValue",
|
|
9939
9945
|
"label",
|
|
@@ -9943,7 +9949,7 @@ function kd(t, n, r, i, a, o) {
|
|
|
9943
9949
|
}), m(s, {
|
|
9944
9950
|
icon: "$iconSearch",
|
|
9945
9951
|
message: t.$t("labelText.search"),
|
|
9946
|
-
onOnClick: n[
|
|
9952
|
+
onOnClick: n[3] ||= (e) => t.$emit("onSearch")
|
|
9947
9953
|
}, null, 8, ["message"])]),
|
|
9948
9954
|
_: 1
|
|
9949
9955
|
})
|
|
@@ -10853,19 +10859,23 @@ function _f(t, n, r, i, a, o) {
|
|
|
10853
10859
|
key: e.id,
|
|
10854
10860
|
cols: "3"
|
|
10855
10861
|
}, {
|
|
10856
|
-
default: H(() => [m(
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10862
|
+
default: H(() => [m(xs, { location: "bottom" }, {
|
|
10863
|
+
activator: H(({ props: t }) => [f("div", C({ ref_for: !0 }, t), [m(s, {
|
|
10864
|
+
modelValue: e.value,
|
|
10865
|
+
"onUpdate:modelValue": (t) => e.value = t,
|
|
10866
|
+
label: e.name,
|
|
10867
|
+
disabled: "",
|
|
10868
|
+
placeholder: e.placeholder,
|
|
10869
|
+
"persistent-placeholder": ""
|
|
10870
|
+
}, null, 8, [
|
|
10871
|
+
"modelValue",
|
|
10872
|
+
"onUpdate:modelValue",
|
|
10873
|
+
"label",
|
|
10874
|
+
"placeholder"
|
|
10875
|
+
])], 16)]),
|
|
10876
|
+
default: H(() => [f("span", null, R(e.name), 1)]),
|
|
10877
|
+
_: 2
|
|
10878
|
+
}, 1024)]),
|
|
10869
10879
|
_: 2
|
|
10870
10880
|
}, 1024))), 128))]),
|
|
10871
10881
|
_: 1
|
|
@@ -11163,7 +11173,8 @@ var vf = /*#__PURE__*/ U(gf, [["render", _f]]), yf = G({
|
|
|
11163
11173
|
components: {
|
|
11164
11174
|
BCommentCard: hf,
|
|
11165
11175
|
SauBilanStructureConstant: vf,
|
|
11166
|
-
SauBilanTextCommentsButton: Tf
|
|
11176
|
+
SauBilanTextCommentsButton: Tf,
|
|
11177
|
+
BCardHeader: Xr
|
|
11167
11178
|
},
|
|
11168
11179
|
props: {
|
|
11169
11180
|
folderId: {
|
|
@@ -11219,22 +11230,6 @@ var vf = /*#__PURE__*/ U(gf, [["render", _f]]), yf = G({
|
|
|
11219
11230
|
si.notifyError(e);
|
|
11220
11231
|
}
|
|
11221
11232
|
},
|
|
11222
|
-
async postBilanTextComment() {
|
|
11223
|
-
try {
|
|
11224
|
-
if (this.comment?.trim().length) {
|
|
11225
|
-
let e = {
|
|
11226
|
-
comment: this.comment,
|
|
11227
|
-
user_id: this.userId,
|
|
11228
|
-
user_full_name: this.username,
|
|
11229
|
-
user_function: this.userFunction
|
|
11230
|
-
}, { id: t, decision_id: n, mean_id: r } = this.medicalReport;
|
|
11231
|
-
await Df.postBilanTextComment(this.folderId, this.folderPatientId, n, r, t, e), this.comment = "";
|
|
11232
|
-
}
|
|
11233
|
-
this.getBilanTextComment();
|
|
11234
|
-
} catch (e) {
|
|
11235
|
-
si.notifyError(e);
|
|
11236
|
-
}
|
|
11237
|
-
},
|
|
11238
11233
|
async putBilanTextComment(e) {
|
|
11239
11234
|
try {
|
|
11240
11235
|
let t = { comment: e.comment }, { id: n, decision_id: r, mean_id: i } = this.medicalReport;
|
|
@@ -11271,7 +11266,7 @@ var vf = /*#__PURE__*/ U(gf, [["render", _f]]), yf = G({
|
|
|
11271
11266
|
//#endregion
|
|
11272
11267
|
//#region src/components/sauView/SauBilanStructure.vue
|
|
11273
11268
|
function kf(t, n, r, i, a, o) {
|
|
11274
|
-
let s = I("SauBilanStructureConstant"), c = I("BTextarea"), f = I("
|
|
11269
|
+
let s = I("SauBilanStructureConstant"), c = I("BTextarea"), f = I("BCardHeader"), p = I("BCommentCard"), h = I("SauBilanTextCommentsButton");
|
|
11275
11270
|
return N(), d(e, null, [
|
|
11276
11271
|
m(s, { constants: t.constants.slice(0, 4) }, null, 8, ["constants"]),
|
|
11277
11272
|
m(s, { constants: t.constants.slice(4, 8) }, null, 8, ["constants"]),
|
|
@@ -11289,31 +11284,18 @@ function kf(t, n, r, i, a, o) {
|
|
|
11289
11284
|
})]),
|
|
11290
11285
|
_: 1
|
|
11291
11286
|
}),
|
|
11292
|
-
m(
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
"onUpdate:modelValue": n[0] ||= (e) => t.comment = e,
|
|
11297
|
-
clearable: "",
|
|
11298
|
-
label: t.$t("bilanVector.bilanText"),
|
|
11299
|
-
onBlur: t.postBilanTextComment
|
|
11300
|
-
}, null, 8, [
|
|
11301
|
-
"modelValue",
|
|
11302
|
-
"label",
|
|
11303
|
-
"onBlur"
|
|
11304
|
-
])]),
|
|
11305
|
-
_: 1
|
|
11306
|
-
})]),
|
|
11307
|
-
_: 1
|
|
11308
|
-
}),
|
|
11287
|
+
m(f, {
|
|
11288
|
+
title: t.$t("bilanVector.bilanText"),
|
|
11289
|
+
"icon-title": "$iconBilan"
|
|
11290
|
+
}, null, 8, ["title"]),
|
|
11309
11291
|
t.bilanTextComments?.[0] ? (N(), l(Q, { key: 0 }, {
|
|
11310
11292
|
default: H(() => [m(Z, null, {
|
|
11311
|
-
default: H(() => [m(
|
|
11293
|
+
default: H(() => [m(p, { message: t.bilanTextComments[0] }, null, 8, ["message"])]),
|
|
11312
11294
|
_: 1
|
|
11313
11295
|
})]),
|
|
11314
11296
|
_: 1
|
|
11315
11297
|
})) : u("", !0),
|
|
11316
|
-
m(
|
|
11298
|
+
m(h, {
|
|
11317
11299
|
"bilan-text-comments": t.bilanTextComments,
|
|
11318
11300
|
onOnUpdateMessage: t.putBilanTextComment
|
|
11319
11301
|
}, null, 8, ["bilan-text-comments", "onOnUpdateMessage"])
|
|
@@ -11658,6 +11640,7 @@ var Uf = /*#__PURE__*/ U(Bf, [["render", Hf]]), Wf = "api/v1/regulation_folders"
|
|
|
11658
11640
|
} catch (e) {
|
|
11659
11641
|
si.notifyError(e);
|
|
11660
11642
|
}
|
|
11643
|
+
else h.value = {};
|
|
11661
11644
|
}
|
|
11662
11645
|
async function E(e, t) {
|
|
11663
11646
|
try {
|
|
@@ -11698,7 +11681,8 @@ var Uf = /*#__PURE__*/ U(Bf, [["render", Hf]]), Wf = "api/v1/regulation_folders"
|
|
|
11698
11681
|
emergencies: o.value,
|
|
11699
11682
|
"selected-emergency-id": i.value,
|
|
11700
11683
|
onOnMissionSelected: O,
|
|
11701
|
-
onOnSearch: t[1] ||= (e) => (k(), O(null))
|
|
11684
|
+
onOnSearch: t[1] ||= (e) => (k(), O(null)),
|
|
11685
|
+
onOnRefresh: t[2] ||= (e) => (v.value = null, k(), O(null))
|
|
11702
11686
|
}, null, 8, [
|
|
11703
11687
|
"search",
|
|
11704
11688
|
"emergencies",
|