@beterdichtbij/component-library 0.58.4 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bd-component-lib.cjs.js +49 -49
- package/dist/bd-component-lib.css +1 -1
- package/dist/bd-component-lib.es.js +153 -145
- package/dist/bd-component-lib.umd.js +3 -3
- package/dist/scss/_content-library-card-message-template.scss +128 -0
- package/dist/scss/_content-library-card.scss +0 -118
- package/dist/scss/_content-library-overview.scss +1 -1
- package/dist/scss/component-library-styling.scss +1 -0
- package/dist/scss/templates/_content-library-template.scss +5 -2
- package/package.json +1 -1
|
@@ -31839,7 +31839,7 @@ function PG(e, n, r, a, o, d) {
|
|
|
31839
31839
|
var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "number", LG = ["textContent"], RG = ["textContent"], zG = {
|
|
31840
31840
|
key: 0,
|
|
31841
31841
|
class: "content-library-card__body"
|
|
31842
|
-
}, BG = ["textContent"], VG =
|
|
31842
|
+
}, BG = ["textContent"], VG = /* @__PURE__ */ g({
|
|
31843
31843
|
__name: "BDContentLibraryCard",
|
|
31844
31844
|
props: {
|
|
31845
31845
|
itemId: {
|
|
@@ -31877,7 +31877,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
31877
31877
|
textContent: L(r.description),
|
|
31878
31878
|
class: "content-library-card__description"
|
|
31879
31879
|
}, null, 8, BG)])])) : c("", !0),
|
|
31880
|
-
|
|
31880
|
+
u("footer", null, [r.showFooter ? F(e.$slots, "footer", { key: 0 }, () => [m(B, {
|
|
31881
31881
|
variant: "secondary",
|
|
31882
31882
|
onClick: s
|
|
31883
31883
|
}, {
|
|
@@ -31890,19 +31890,19 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
31890
31890
|
}, {
|
|
31891
31891
|
default: z(() => [m(qn)]),
|
|
31892
31892
|
_: 1
|
|
31893
|
-
}, 8, ["title"])])
|
|
31893
|
+
}, 8, ["title"])]) : c("", !0)])
|
|
31894
31894
|
], 2));
|
|
31895
31895
|
}
|
|
31896
|
-
}),
|
|
31896
|
+
}), HG = /* @__PURE__ */ g({
|
|
31897
31897
|
__name: "BDContentLibraryCardBasic",
|
|
31898
31898
|
props: { item: {
|
|
31899
31899
|
type: Object,
|
|
31900
31900
|
required: !0
|
|
31901
31901
|
} },
|
|
31902
31902
|
setup(e) {
|
|
31903
|
-
return (t, n) => (A(), s(
|
|
31903
|
+
return (t, n) => (A(), s(VG, E(v(e.item)), null, 16));
|
|
31904
31904
|
}
|
|
31905
|
-
}),
|
|
31905
|
+
}), UG = { class: "content-library-card-image__titles" }, WG = ["textContent"], GG = ["textContent"], KG = ["src"], qG = /* @__PURE__ */ g({
|
|
31906
31906
|
__name: "BDContentLibraryCardImage",
|
|
31907
31907
|
props: { item: {
|
|
31908
31908
|
type: Object,
|
|
@@ -31918,18 +31918,18 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
31918
31918
|
provider: i
|
|
31919
31919
|
};
|
|
31920
31920
|
});
|
|
31921
|
-
return (t, r) => (A(), s(
|
|
31921
|
+
return (t, r) => (A(), s(VG, C(n.value, {
|
|
31922
31922
|
"card-class": "content-library-card-image",
|
|
31923
31923
|
"show-body": !1
|
|
31924
31924
|
}), {
|
|
31925
|
-
header: z(() => [u("div",
|
|
31925
|
+
header: z(() => [u("div", UG, [u("h6", { textContent: L(e.item.title) }, null, 8, WG), u("small", { textContent: L(e.item.subtitle) }, null, 8, GG)]), u("img", {
|
|
31926
31926
|
src: e.item.imageUri,
|
|
31927
31927
|
class: "content-library-card-image__figure"
|
|
31928
|
-
}, null, 8,
|
|
31928
|
+
}, null, 8, KG)]),
|
|
31929
31929
|
_: 1
|
|
31930
31930
|
}, 16));
|
|
31931
31931
|
}
|
|
31932
|
-
}),
|
|
31932
|
+
}), JG = /* @__PURE__ */ g({
|
|
31933
31933
|
__name: "BDContentLibraryCardTitle",
|
|
31934
31934
|
props: { item: {
|
|
31935
31935
|
type: Object,
|
|
@@ -31946,18 +31946,18 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
31946
31946
|
provider: a
|
|
31947
31947
|
};
|
|
31948
31948
|
});
|
|
31949
|
-
return (e, t) => (A(), s(
|
|
31949
|
+
return (e, t) => (A(), s(VG, C(n.value, {
|
|
31950
31950
|
"show-body": !1,
|
|
31951
31951
|
"card-class": "content-library-card-title"
|
|
31952
31952
|
}), null, 16));
|
|
31953
31953
|
}
|
|
31954
|
-
}),
|
|
31955
|
-
key:
|
|
31954
|
+
}), YG = (e) => e.replace(/<\/?[^>]+(>|$)/g, ""), XG = (e) => e.replace(/<li>/g, " ").replace(/<(br|\/p)>/g, " \r"), ZG = (e) => e.replace(/(?:\r\n|\r|\n)/g, "<br>"), QG = { class: "heading" }, $G = { class: "title" }, eK = ["textContent"], tK = ["textContent"], nK = {
|
|
31955
|
+
key: 0,
|
|
31956
31956
|
class: "edit-btn-group"
|
|
31957
|
-
},
|
|
31958
|
-
key:
|
|
31957
|
+
}, rK = ["innerHTML"], iK = {
|
|
31958
|
+
key: 0,
|
|
31959
31959
|
class: "attachment-occurence"
|
|
31960
|
-
},
|
|
31960
|
+
}, aK = { class: "number-icon" }, oK = /* @__PURE__ */ g({
|
|
31961
31961
|
__name: "BDContentLibraryCardMessageTemplate",
|
|
31962
31962
|
props: {
|
|
31963
31963
|
item: {
|
|
@@ -31987,8 +31987,8 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
31987
31987
|
"delete"
|
|
31988
31988
|
],
|
|
31989
31989
|
setup(e, { emit: t }) {
|
|
31990
|
-
let { t: n } = ud(), r = e, i = t, o = N(null), d = N(!
|
|
31991
|
-
o.value && (f.value = d.value || o.value.scrollHeight >
|
|
31990
|
+
let { t: n } = ud(), r = e, i = t, o = N(null), d = N(!0), f = N(!1), h = a(() => `collapse-preview-${r.item.itemId}`), g = a(() => n_(r.item.files) ? null : r.item.files.length), _ = a(() => r.variant === "insert"), v = a(() => r.variant === "edit"), y = a(() => r.variant === "shared"), b = a(() => r.item.text ? ZG(r.item.text) : ""), x = a(() => jP(r.apiUrl, r.item.files, !1)), S = a(() => jP(r.apiUrl, r.item.files, !0)), T = a(() => d.value ? n("contentLibraryCardMessageTemplate.collapseClosed") : n("contentLibraryCardMessageTemplate.collapseOpen")), E = () => {
|
|
31991
|
+
o.value && (f.value = !d.value || o.value.scrollHeight > 75 || r.item.files && r.item.files.length > 0);
|
|
31992
31992
|
}, D = () => {
|
|
31993
31993
|
i("on-insert", r.item.itemId);
|
|
31994
31994
|
}, k = (e) => {
|
|
@@ -31997,6 +31997,8 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
31997
31997
|
i("on-change", r.item.itemId);
|
|
31998
31998
|
}, M = () => {
|
|
31999
31999
|
i("delete", r.item.itemId);
|
|
32000
|
+
}, ee = () => {
|
|
32001
|
+
d.value = !d.value;
|
|
32000
32002
|
};
|
|
32001
32003
|
return fe(() => r.item, () => {
|
|
32002
32004
|
o.value && w().then(() => {
|
|
@@ -32009,84 +32011,90 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32009
32011
|
w(() => {
|
|
32010
32012
|
E();
|
|
32011
32013
|
});
|
|
32012
|
-
}), (t, r) => (A(), s(
|
|
32013
|
-
|
|
32014
|
+
}), (t, r) => (A(), s(VG, C(e.item, {
|
|
32015
|
+
"item-id": e.item.itemId,
|
|
32016
|
+
id: h.value,
|
|
32017
|
+
"card-class": `content-library-card-message-template ${d.value ? "collapsed" : ""}`,
|
|
32014
32018
|
onOnInsert: D
|
|
32015
32019
|
}), {
|
|
32016
|
-
header: z(() => [
|
|
32017
|
-
|
|
32018
|
-
|
|
32019
|
-
|
|
32020
|
-
|
|
32020
|
+
header: z(() => [u("div", QG, [u("div", $G, [u("h6", { textContent: L(e.item.title) }, null, 8, eK), m(xg, { variant: "gray" }, {
|
|
32021
|
+
default: z(() => [p(L(e.item.category), 1)]),
|
|
32022
|
+
_: 1
|
|
32023
|
+
})]), u("small", { textContent: L(e.item.practitionerName) }, null, 8, tK)]), v.value ? (A(), l("div", nK, [m(B, {
|
|
32024
|
+
title: R(n)("contentLibraryCardMessageTemplate.edit"),
|
|
32025
|
+
variant: "icon",
|
|
32026
|
+
onClick: j
|
|
32027
|
+
}, {
|
|
32028
|
+
default: z(() => [m(Fn)]),
|
|
32029
|
+
_: 1
|
|
32030
|
+
}, 8, ["title"]), m(B, {
|
|
32031
|
+
title: R(n)("contentLibraryCardMessageTemplate.delete"),
|
|
32032
|
+
variant: "icon",
|
|
32033
|
+
onClick: M
|
|
32034
|
+
}, {
|
|
32035
|
+
default: z(() => [m(Cn)]),
|
|
32036
|
+
_: 1
|
|
32037
|
+
}, 8, ["title"])])) : c("", !0)]),
|
|
32021
32038
|
footer: z(() => [
|
|
32022
|
-
|
|
32039
|
+
u("div", null, [f.value ? (A(), s(B, {
|
|
32023
32040
|
key: 0,
|
|
32024
|
-
|
|
32025
|
-
|
|
32041
|
+
class: "collapse-button",
|
|
32042
|
+
variant: "link",
|
|
32043
|
+
onClick: ee
|
|
32026
32044
|
}, {
|
|
32027
|
-
default: z(() => [p(L(
|
|
32045
|
+
default: z(() => [p(L(T.value), 1)]),
|
|
32028
32046
|
_: 1
|
|
32029
|
-
})) : c("", !0),
|
|
32047
|
+
})) : c("", !0)]),
|
|
32048
|
+
u("div", null, [g.value ? (A(), l("div", iK, [m(Xe), u("div", aK, L(g.value), 1)])) : c("", !0)]),
|
|
32030
32049
|
y.value ? me((A(), s(B, {
|
|
32031
|
-
key:
|
|
32050
|
+
key: 0,
|
|
32032
32051
|
variant: "icon",
|
|
32033
32052
|
title: R(n)("contentLibraryCardMessageTemplate.popoverIsSharedByOtherUser")
|
|
32034
32053
|
}, {
|
|
32035
32054
|
default: z(() => [m(Vr)]),
|
|
32036
32055
|
_: 1
|
|
32037
32056
|
}, 8, ["title"])), [[R(dU)]]) : c("", !0),
|
|
32038
|
-
|
|
32039
|
-
|
|
32040
|
-
variant: "
|
|
32041
|
-
onClick:
|
|
32042
|
-
}, {
|
|
32043
|
-
default: z(() => [m(Fn)]),
|
|
32044
|
-
_: 1
|
|
32045
|
-
}, 8, ["title"]), m(B, {
|
|
32046
|
-
title: R(n)("contentLibraryCardMessageTemplate.delete"),
|
|
32047
|
-
variant: "icon",
|
|
32048
|
-
onClick: M
|
|
32057
|
+
_.value ? (A(), s(B, {
|
|
32058
|
+
key: 1,
|
|
32059
|
+
variant: "secondary",
|
|
32060
|
+
onClick: D
|
|
32049
32061
|
}, {
|
|
32050
|
-
default: z(() => [
|
|
32062
|
+
default: z(() => [p(L(R(n)("contentLibraryCardMessageTemplate.insert")), 1)]),
|
|
32051
32063
|
_: 1
|
|
32052
|
-
}
|
|
32053
|
-
g.value ? (A(), l("div", cK, [m(Xe), u("div", lK, L(g.value), 1)])) : c("", !0)
|
|
32064
|
+
})) : c("", !0)
|
|
32054
32065
|
]),
|
|
32055
32066
|
default: z(() => [u("div", {
|
|
32056
|
-
|
|
32057
|
-
class: "content-library-card-message-template__collapse collapse",
|
|
32067
|
+
class: "content-library-card-message-template__body",
|
|
32058
32068
|
ref_key: "content",
|
|
32059
32069
|
ref: o
|
|
32060
32070
|
}, [
|
|
32061
|
-
u("
|
|
32071
|
+
u("div", {
|
|
32062
32072
|
class: "message-text",
|
|
32063
|
-
innerHTML:
|
|
32064
|
-
}, null, 8,
|
|
32073
|
+
innerHTML: b.value
|
|
32074
|
+
}, null, 8, rK),
|
|
32065
32075
|
e.item.files ? (A(), s(hP, {
|
|
32066
32076
|
key: 0,
|
|
32067
32077
|
"no-download": !0,
|
|
32068
|
-
files:
|
|
32078
|
+
files: x.value,
|
|
32079
|
+
"show-delete": !1
|
|
32069
32080
|
}, null, 8, ["files"])) : c("", !0),
|
|
32070
32081
|
e.item.files ? (A(), s(wP, {
|
|
32071
32082
|
key: 1,
|
|
32072
32083
|
"no-download": !0,
|
|
32073
|
-
files:
|
|
32084
|
+
files: S.value,
|
|
32085
|
+
"fast-download": !1,
|
|
32086
|
+
"show-delete": !1,
|
|
32074
32087
|
onShow: k
|
|
32075
32088
|
}, null, 8, ["files"])) : c("", !0)
|
|
32076
|
-
],
|
|
32077
|
-
key: 0,
|
|
32078
|
-
class: "content-library-card-message-template__link-button collapse-button collapsed",
|
|
32079
|
-
variant: "link",
|
|
32080
|
-
"data-bs-toggle": "collapse",
|
|
32081
|
-
"data-bs-target": `#${h.value}`
|
|
32082
|
-
}, {
|
|
32083
|
-
default: z(() => [u("span", aK, L(R(n)("contentLibraryCardMessageTemplate.collapseOpen")), 1), u("span", oK, L(R(n)("contentLibraryCardMessageTemplate.collapseClosed")), 1)]),
|
|
32084
|
-
_: 1
|
|
32085
|
-
}, 8, ["data-bs-target"])) : c("", !0)]),
|
|
32089
|
+
], 512)]),
|
|
32086
32090
|
_: 1
|
|
32087
|
-
}, 16, [
|
|
32091
|
+
}, 16, [
|
|
32092
|
+
"item-id",
|
|
32093
|
+
"id",
|
|
32094
|
+
"card-class"
|
|
32095
|
+
]));
|
|
32088
32096
|
}
|
|
32089
|
-
}),
|
|
32097
|
+
}), sK = { class: "content-library-overview" }, cK = /* @__PURE__ */ V({
|
|
32090
32098
|
__name: "BDContentLibraryOverview",
|
|
32091
32099
|
props: {
|
|
32092
32100
|
items: {
|
|
@@ -32106,10 +32114,10 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32106
32114
|
],
|
|
32107
32115
|
setup(e, { emit: n }) {
|
|
32108
32116
|
let { t: r } = ud(), i = {
|
|
32109
|
-
BDContentLibraryCardBasic:
|
|
32110
|
-
BDContentLibraryCardImage:
|
|
32111
|
-
BDContentLibraryCardTitle:
|
|
32112
|
-
BDContentLibraryCardMessageTemplate:
|
|
32117
|
+
BDContentLibraryCardBasic: HG,
|
|
32118
|
+
BDContentLibraryCardImage: qG,
|
|
32119
|
+
BDContentLibraryCardTitle: JG,
|
|
32120
|
+
BDContentLibraryCardMessageTemplate: oK
|
|
32113
32121
|
}, o = e, u = n, d = a(() => n_(o.items)), f = a(() => Math.floor(12 / o.cols)), h = (e) => {
|
|
32114
32122
|
u("on-insert", e);
|
|
32115
32123
|
}, g = (e) => {
|
|
@@ -32119,7 +32127,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32119
32127
|
}, v = (e) => {
|
|
32120
32128
|
u("show-attachment", e);
|
|
32121
32129
|
};
|
|
32122
|
-
return (n, a) => (A(), l("div",
|
|
32130
|
+
return (n, a) => (A(), l("div", sK, [m(ke, null, {
|
|
32123
32131
|
default: z(() => [d.value ? (A(), s(De, {
|
|
32124
32132
|
key: 0,
|
|
32125
32133
|
sm: 12
|
|
@@ -32148,7 +32156,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32148
32156
|
_: 1
|
|
32149
32157
|
})]));
|
|
32150
32158
|
}
|
|
32151
|
-
}, [["__scopeId", "data-v-
|
|
32159
|
+
}, [["__scopeId", "data-v-7c017b1d"]]), lK = { class: "content-library-template" }, uK = { class: "number-of-messages" }, dK = ["src"], fK = ["src"], pK = ["id"], mK = { class: "collapse-button-container" }, hK = { class: "collapsed-show" }, gK = { class: "collapsed-hide" }, _K = /* @__PURE__ */ g({
|
|
32152
32160
|
__name: "BDContentLibraryTemplate",
|
|
32153
32161
|
props: {
|
|
32154
32162
|
modelValue: {},
|
|
@@ -32223,10 +32231,10 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32223
32231
|
}, ce = (e) => {
|
|
32224
32232
|
o("provider-changed", e.value);
|
|
32225
32233
|
};
|
|
32226
|
-
return (n, i) => (A(), l("div",
|
|
32234
|
+
return (n, i) => (A(), l("div", lK, [m(ke, null, {
|
|
32227
32235
|
default: z(() => [
|
|
32228
32236
|
m(De, C(O.value, { class: "content-library-header content-library-header__messages" }), {
|
|
32229
|
-
default: z(() => [u("span",
|
|
32237
|
+
default: z(() => [u("span", uK, L(y.value), 1), e.showAddButton ? (A(), s(B, {
|
|
32230
32238
|
key: 0,
|
|
32231
32239
|
class: "d-md-none",
|
|
32232
32240
|
onClick: F
|
|
@@ -32277,7 +32285,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32277
32285
|
n ? (A(), l("img", {
|
|
32278
32286
|
key: 1,
|
|
32279
32287
|
src: n
|
|
32280
|
-
}, null, 8,
|
|
32288
|
+
}, null, 8, dK)) : c("", !0),
|
|
32281
32289
|
u("span", null, L(t), 1)
|
|
32282
32290
|
]),
|
|
32283
32291
|
"selected-option": z(({ icon: e, label: t, img: n }) => [
|
|
@@ -32285,7 +32293,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32285
32293
|
n ? (A(), l("img", {
|
|
32286
32294
|
key: 1,
|
|
32287
32295
|
src: n
|
|
32288
|
-
}, null, 8,
|
|
32296
|
+
}, null, 8, fK)) : c("", !0),
|
|
32289
32297
|
u("span", null, L(t), 1)
|
|
32290
32298
|
]),
|
|
32291
32299
|
_: 1
|
|
@@ -32335,7 +32343,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32335
32343
|
}, {
|
|
32336
32344
|
default: z(() => [p(L(e.name), 1)]),
|
|
32337
32345
|
_: 2
|
|
32338
|
-
}, 1032, ["modelValue", "value"]))), 128))], 8,
|
|
32346
|
+
}, 1032, ["modelValue", "value"]))), 128))], 8, pK), u("div", mK, [m(B, {
|
|
32339
32347
|
class: T(["collapse-button collapsed", { "collapse-button-last": e.provider.filters.length - 1 === a }]),
|
|
32340
32348
|
variant: "link",
|
|
32341
32349
|
"data-bs-toggle": "collapse",
|
|
@@ -32343,9 +32351,9 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32343
32351
|
}, {
|
|
32344
32352
|
default: z(() => [
|
|
32345
32353
|
m(He, { class: "collapsed-show" }),
|
|
32346
|
-
u("span",
|
|
32354
|
+
u("span", hK, L(R(r)("contentLibraryTemplate.more")), 1),
|
|
32347
32355
|
m(Ke, { class: "collapsed-hide" }),
|
|
32348
|
-
u("span",
|
|
32356
|
+
u("span", gK, L(R(r)("contentLibraryTemplate.less")), 1)
|
|
32349
32357
|
]),
|
|
32350
32358
|
_: 1
|
|
32351
32359
|
}, 8, ["class", "data-bs-target"])])], 64)) : c("", !0),
|
|
@@ -32371,7 +32379,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32371
32379
|
lg: S.value,
|
|
32372
32380
|
class: "content-library-body"
|
|
32373
32381
|
}, {
|
|
32374
|
-
default: z(() => [m(
|
|
32382
|
+
default: z(() => [m(cK, {
|
|
32375
32383
|
items: g.value,
|
|
32376
32384
|
cols: w.value,
|
|
32377
32385
|
onOnInsert: I,
|
|
@@ -32400,7 +32408,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32400
32408
|
_: 1
|
|
32401
32409
|
})]));
|
|
32402
32410
|
}
|
|
32403
|
-
}),
|
|
32411
|
+
}), vK = {
|
|
32404
32412
|
__name: "BDContentLibraryModal",
|
|
32405
32413
|
props: {
|
|
32406
32414
|
modelValue: { type: Object },
|
|
@@ -32454,7 +32462,7 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32454
32462
|
onCancel: d,
|
|
32455
32463
|
onShown: p
|
|
32456
32464
|
}, {
|
|
32457
|
-
default: z(() => [m(
|
|
32465
|
+
default: z(() => [m(_K, {
|
|
32458
32466
|
modelValue: o.value,
|
|
32459
32467
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
32460
32468
|
provider: e.provider,
|
|
@@ -32476,14 +32484,14 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32476
32484
|
"visible"
|
|
32477
32485
|
]));
|
|
32478
32486
|
}
|
|
32479
|
-
},
|
|
32487
|
+
}, yK = Object.defineProperty, bK = (e, t, n) => t in e ? yK(e, t, {
|
|
32480
32488
|
enumerable: !0,
|
|
32481
32489
|
configurable: !0,
|
|
32482
32490
|
writable: !0,
|
|
32483
32491
|
value: n
|
|
32484
|
-
}) : e[t] = n,
|
|
32492
|
+
}) : e[t] = n, xK = (e, t, n) => (bK(e, typeof t == "symbol" ? t : t + "", n), n), SK = class {
|
|
32485
32493
|
constructor() {
|
|
32486
|
-
|
|
32494
|
+
xK(this, "seed", 0), xK(this, "data", /* @__PURE__ */ new Map());
|
|
32487
32495
|
}
|
|
32488
32496
|
id() {
|
|
32489
32497
|
return Date.now().toString(26) + this.seed++;
|
|
@@ -32497,28 +32505,28 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32497
32505
|
delete(e) {
|
|
32498
32506
|
this.delete(e);
|
|
32499
32507
|
}
|
|
32500
|
-
},
|
|
32508
|
+
}, CK = "Failed to copy value to clipboard. Unknown type.", wK = { asString(e) {
|
|
32501
32509
|
if (e == null) return console.warn("Clipboard input is empty"), "";
|
|
32502
32510
|
if (typeof e != "string") try {
|
|
32503
32511
|
return JSON.stringify(e);
|
|
32504
32512
|
} catch (e) {
|
|
32505
|
-
return console.warn(
|
|
32513
|
+
return console.warn(CK, e), "";
|
|
32506
32514
|
}
|
|
32507
32515
|
return e;
|
|
32508
|
-
} },
|
|
32516
|
+
} }, TK = "position:fixed; pointer-events:none; z-index:-9999; opacity:0;", EK = { createTextarea(e) {
|
|
32509
32517
|
let t = document.createElement("textarea");
|
|
32510
32518
|
return t.addEventListener("focusin", (e) => {
|
|
32511
32519
|
e.stopPropagation();
|
|
32512
|
-
}), t.value = e, t.setAttribute("readonly", ""), t.style.cssText =
|
|
32513
|
-
} },
|
|
32520
|
+
}), t.value = e, t.setAttribute("readonly", ""), t.style.cssText = TK, t;
|
|
32521
|
+
} }, DK = {
|
|
32514
32522
|
async requestClipboardPermission() {
|
|
32515
32523
|
return navigator.permissions.query({ name: "clipboard-write" });
|
|
32516
32524
|
},
|
|
32517
32525
|
async writeClipboard(e) {
|
|
32518
|
-
return (await
|
|
32526
|
+
return (await DK.requestClipboardPermission()).state === "granted" ? (await navigator.clipboard.writeText(e), !0) : !1;
|
|
32519
32527
|
},
|
|
32520
32528
|
writeClipboardExecCommand(e) {
|
|
32521
|
-
let t =
|
|
32529
|
+
let t = EK.createTextarea(e);
|
|
32522
32530
|
if (document.body.appendChild(t), navigator.userAgent.match(/ipad|ipod|iphone/i)) {
|
|
32523
32531
|
t.contentEditable = "true", t.readOnly = !0;
|
|
32524
32532
|
let e = document.createRange();
|
|
@@ -32530,21 +32538,21 @@ var FG = /* @__PURE__ */ oG(xG, [["render", PG]]), IG = (e) => typeof e == "numb
|
|
|
32530
32538
|
return document.body.removeChild(t), n;
|
|
32531
32539
|
},
|
|
32532
32540
|
async copy(e) {
|
|
32533
|
-
let t = typeof e == "function" ? e() : e, n =
|
|
32534
|
-
if (
|
|
32535
|
-
await
|
|
32541
|
+
let t = typeof e == "function" ? e() : e, n = wK.asString(t);
|
|
32542
|
+
if (DK.writeClipboardExecCommand(n)) return !0;
|
|
32543
|
+
await DK.writeClipboard(n);
|
|
32536
32544
|
}
|
|
32537
32545
|
};
|
|
32538
|
-
new
|
|
32539
|
-
var { showSuccessToast:
|
|
32540
|
-
let r = `${t}\n${e.AfzenderNaam}: \r${e.Datum} \r${XG(
|
|
32541
|
-
|
|
32542
|
-
},
|
|
32543
|
-
let r = `${t}\n${e.filter((e) => e.selected).map((e) => `${e.AfzenderNaam}: \r${e.Datum}\r${XG(
|
|
32544
|
-
|
|
32545
|
-
},
|
|
32546
|
-
|
|
32547
|
-
},
|
|
32546
|
+
new SK();
|
|
32547
|
+
var { showSuccessToast: OK } = FW(), kK = (e, t, n) => {
|
|
32548
|
+
let r = `${t}\n${e.AfzenderNaam}: \r${e.Datum} \r${YG(XG(e.Tekst))}`;
|
|
32549
|
+
DK.copy(r).then(() => OK(n));
|
|
32550
|
+
}, AK = (e, t, n) => {
|
|
32551
|
+
let r = `${t}\n${e.filter((e) => e.selected).map((e) => `${e.AfzenderNaam}: \r${e.Datum}\r${YG(XG(e.Tekst))}`).join("\n-----------------------\n")}`;
|
|
32552
|
+
DK.copy(r).then(() => OK(n));
|
|
32553
|
+
}, jK = (e, t) => {
|
|
32554
|
+
DK.copy(e).then(() => OK(t));
|
|
32555
|
+
}, MK = { class: "message-cloud-multi-select" }, NK = { class: "message-cloud-multi-select__body" }, PK = { class: "message-content" }, FK = { class: "message-cloud__header" }, IK = { class: "message-cloud__title" }, LK = { key: 0 }, RK = ["innerHTML"], zK = /* @__PURE__ */ g({
|
|
32548
32556
|
__name: "BDConversationToTextModal",
|
|
32549
32557
|
props: {
|
|
32550
32558
|
modelValue: {},
|
|
@@ -32562,7 +32570,7 @@ var { showSuccessToast: MK } = FW(), NK = (e, t, n) => {
|
|
|
32562
32570
|
return e.AfzenderType === 2 && e.AfzenderId !== e.BehandelaarId && e.BehandelaarId !== null ? t + n("conversationToTextModal.onBehalfOf") + " " + e.BehandelaarNaam : "";
|
|
32563
32571
|
}, h = (e) => e.AfzenderType === 2 ? "is-sender" : "is-receiver", g = () => {
|
|
32564
32572
|
let e = n("conversationToTextModal.prefix"), t = n("conversationToTextModal.copySuccess");
|
|
32565
|
-
return
|
|
32573
|
+
return AK(i.value, e, t);
|
|
32566
32574
|
};
|
|
32567
32575
|
return (r, a) => (A(), s(NW, {
|
|
32568
32576
|
id: "conversation-to-text-modal",
|
|
@@ -32576,36 +32584,36 @@ var { showSuccessToast: MK } = FW(), NK = (e, t, n) => {
|
|
|
32576
32584
|
}, {
|
|
32577
32585
|
default: z(() => [p(L(R(n)("conversationToTextModal.copyButton")), 1)]),
|
|
32578
32586
|
_: 1
|
|
32579
|
-
}), u("div",
|
|
32587
|
+
}), u("div", MK, [m(Ig, {
|
|
32580
32588
|
class: "select-all-checkbox",
|
|
32581
32589
|
modelValue: o.value,
|
|
32582
32590
|
"onUpdate:modelValue": a[0] ||= (e) => o.value = e
|
|
32583
32591
|
}, {
|
|
32584
32592
|
default: z(() => [p(L(R(n)("conversationToTextModal.selectAll")), 1)]),
|
|
32585
32593
|
_: 1
|
|
32586
|
-
}, 8, ["modelValue"]), u("div",
|
|
32594
|
+
}, 8, ["modelValue"]), u("div", NK, [(A(!0), l(t, null, P(i.value, (e, t) => (A(), l("div", {
|
|
32587
32595
|
class: "message-cloud-selector",
|
|
32588
32596
|
key: t
|
|
32589
32597
|
}, [m(Ig, {
|
|
32590
32598
|
class: "select-all-checkbox",
|
|
32591
32599
|
modelValue: e.selected,
|
|
32592
32600
|
"onUpdate:modelValue": (t) => e.selected = t
|
|
32593
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]), u("div",
|
|
32601
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]), u("div", PK, [u("div", { class: T(["message", h(e)]) }, [u("div", FK, [u("div", IK, [
|
|
32594
32602
|
p(L(e.AfzenderNaam) + " ", 1),
|
|
32595
|
-
e.IsTussentijdseMededeling ? (A(), l("span",
|
|
32603
|
+
e.IsTussentijdseMededeling ? (A(), l("span", LK, [u("i", null, L(d.value), 1)])) : c("", !0),
|
|
32596
32604
|
u("span", null, [u("i", null, L(f(e)), 1)]),
|
|
32597
32605
|
u("span", null, L(e.Datum), 1)
|
|
32598
32606
|
])]), u("div", {
|
|
32599
32607
|
class: "message-cloud__body",
|
|
32600
32608
|
innerHTML: e.Tekst
|
|
32601
|
-
}, null, 8,
|
|
32609
|
+
}, null, 8, RK)], 2)])]))), 128))])])]),
|
|
32602
32610
|
_: 1
|
|
32603
32611
|
}, 8, ["modal-class"]));
|
|
32604
32612
|
}
|
|
32605
32613
|
});
|
|
32606
32614
|
//#endregion
|
|
32607
32615
|
//#region src/composables/useZoom.ts
|
|
32608
|
-
function
|
|
32616
|
+
function BK() {
|
|
32609
32617
|
let e = N(0), t = N(!0), n = N(null), r = N({
|
|
32610
32618
|
top: 0,
|
|
32611
32619
|
left: 0,
|
|
@@ -32638,16 +32646,16 @@ function WK() {
|
|
|
32638
32646
|
}
|
|
32639
32647
|
//#endregion
|
|
32640
32648
|
//#region src/components/modals/BDImageAttachmentModal/BDImageAttachmentModal.vue?vue&type=script&setup=true&lang.ts
|
|
32641
|
-
var
|
|
32649
|
+
var VK = ["src", "alt"], HK = {
|
|
32642
32650
|
key: 0,
|
|
32643
32651
|
class: "show-spinner"
|
|
32644
|
-
},
|
|
32652
|
+
}, UK = {
|
|
32645
32653
|
class: "spinner-border text-primary",
|
|
32646
32654
|
role: "status"
|
|
32647
|
-
},
|
|
32655
|
+
}, WK = ["textContent"], GK = ["href"], KK = /* @__PURE__ */ g({
|
|
32648
32656
|
__name: "BDImageAttachmentModal",
|
|
32649
32657
|
setup(e, { expose: t }) {
|
|
32650
|
-
let { showModal: n } = PW("image-attachment-modal"), { zoom: r, imageHolderRef: i, SetZoom: o, OnMouseDown: d, OnMouseMove: f, OnMouseUp: p } =
|
|
32658
|
+
let { showModal: n } = PW("image-attachment-modal"), { zoom: r, imageHolderRef: i, SetZoom: o, OnMouseDown: d, OnMouseMove: f, OnMouseUp: p } = BK(), { t: h } = ud(), g = N(!0), _ = N({
|
|
32651
32659
|
BerichtId: 0,
|
|
32652
32660
|
Id: void 0,
|
|
32653
32661
|
MimeType: null,
|
|
@@ -32697,11 +32705,11 @@ var GK = ["src", "alt"], KK = {
|
|
|
32697
32705
|
class: T(["image-preview-modal", R(o)]),
|
|
32698
32706
|
onLoad: b,
|
|
32699
32707
|
draggable: !1
|
|
32700
|
-
}, null, 42,
|
|
32701
|
-
g.value ? (A(), l("div",
|
|
32708
|
+
}, null, 42, VK)) : c("", !0)], 544),
|
|
32709
|
+
g.value ? (A(), l("div", HK, [u("div", UK, [u("span", {
|
|
32702
32710
|
class: "visually-hidden",
|
|
32703
32711
|
textContent: L(y.value)
|
|
32704
|
-
}, null, 8,
|
|
32712
|
+
}, null, 8, WK)])])) : c("", !0),
|
|
32705
32713
|
m(Lo, {
|
|
32706
32714
|
modelValue: R(r),
|
|
32707
32715
|
"onUpdate:modelValue": t[3] ||= (e) => x(r) ? r.value = e : null,
|
|
@@ -32712,12 +32720,12 @@ var GK = ["src", "alt"], KK = {
|
|
|
32712
32720
|
variant: "primary",
|
|
32713
32721
|
class: "download-image",
|
|
32714
32722
|
textContent: L(v.value)
|
|
32715
|
-
}, null, 8, ["textContent"])], 8,
|
|
32723
|
+
}, null, 8, ["textContent"])], 8, GK)
|
|
32716
32724
|
]),
|
|
32717
32725
|
_: 1
|
|
32718
32726
|
}, 8, ["class", "title"]));
|
|
32719
32727
|
}
|
|
32720
|
-
}),
|
|
32728
|
+
}), qK = { key: 0 }, JK = { key: 1 }, YK = { key: 2 }, XK = { key: 3 }, ZK = { key: 1 }, QK = { key: 2 }, $K = ["href"], eq = /* @__PURE__ */ g({
|
|
32721
32729
|
__name: "BDVideoCallConfirmationModal",
|
|
32722
32730
|
props: [
|
|
32723
32731
|
"isMissingCameraPermission",
|
|
@@ -32743,21 +32751,21 @@ var GK = ["src", "alt"], KK = {
|
|
|
32743
32751
|
variant: "warning"
|
|
32744
32752
|
}, {
|
|
32745
32753
|
default: z(() => [u("p", null, L(_.value), 1), u("ul", null, [
|
|
32746
|
-
r.isMissingCameraPermission ? (A(), l("li",
|
|
32747
|
-
r.isMissingMicrophonePermission ? (A(), l("li",
|
|
32748
|
-
r.isMissingMobileActivation ? (A(), l("li",
|
|
32749
|
-
r.isMissingVideoConferencingSupport ? (A(), l("li",
|
|
32754
|
+
r.isMissingCameraPermission ? (A(), l("li", qK, L(v.value), 1)) : c("", !0),
|
|
32755
|
+
r.isMissingMicrophonePermission ? (A(), l("li", JK, L(y.value), 1)) : c("", !0),
|
|
32756
|
+
r.isMissingMobileActivation ? (A(), l("li", YK, L(f.value), 1)) : c("", !0),
|
|
32757
|
+
r.isMissingVideoConferencingSupport ? (A(), l("li", XK, L(m.value), 1)) : c("", !0)
|
|
32750
32758
|
])]),
|
|
32751
32759
|
_: 1
|
|
32752
|
-
})) : r.participantName ? (A(), l("p",
|
|
32760
|
+
})) : r.participantName ? (A(), l("p", ZK, [
|
|
32753
32761
|
p(L(x.value) + " ", 1),
|
|
32754
32762
|
u("b", null, L(r.participantName), 1),
|
|
32755
32763
|
t[0] ||= p("?", -1)
|
|
32756
|
-
])) : (A(), l("p",
|
|
32764
|
+
])) : (A(), l("p", QK, L(b.value), 1)), u("p", null, [u("a", {
|
|
32757
32765
|
href: r.videoTestUrl,
|
|
32758
32766
|
target: "blank",
|
|
32759
32767
|
rel: "noopener noreferrer"
|
|
32760
|
-
}, L(S.value), 9,
|
|
32768
|
+
}, L(S.value), 9, $K), u("span", null, "\xA0" + L(C.value), 1)])]),
|
|
32761
32769
|
_: 1
|
|
32762
32770
|
}, 8, [
|
|
32763
32771
|
"title",
|
|
@@ -32766,7 +32774,7 @@ var GK = ["src", "alt"], KK = {
|
|
|
32766
32774
|
"hide-footer-submit-button"
|
|
32767
32775
|
]));
|
|
32768
32776
|
}
|
|
32769
|
-
}),
|
|
32777
|
+
}), tq = () => ({
|
|
32770
32778
|
ResetValidation: (e) => {
|
|
32771
32779
|
for (let t in e.value) e.value[t].state = null;
|
|
32772
32780
|
},
|
|
@@ -32774,7 +32782,7 @@ var GK = ["src", "alt"], KK = {
|
|
|
32774
32782
|
for (let t in e) if (e[t].state === !1) return !1;
|
|
32775
32783
|
return !0;
|
|
32776
32784
|
}
|
|
32777
|
-
}),
|
|
32785
|
+
}), nq = { class: "template change-password-template" }, rq = { class: "template-title" }, iq = { key: 0 }, aq = { key: 1 }, oq = { class: "bd-form-field" }, sq = { class: "bd-form-field" }, cq = { class: "bd-form-field" }, lq = { class: "bd-form-buttons" }, uq = /* @__PURE__ */ g({
|
|
32778
32786
|
__name: "BDChangePasswordTemplate",
|
|
32779
32787
|
props: {
|
|
32780
32788
|
templateTitle: {},
|
|
@@ -32792,7 +32800,7 @@ var GK = ["src", "alt"], KK = {
|
|
|
32792
32800
|
submitPassword: { type: Function }
|
|
32793
32801
|
},
|
|
32794
32802
|
setup(e) {
|
|
32795
|
-
let { t: n } = ud(), { showDangerToast: r, showWarningToast: i, showSuccessToast: a } = FW(), { errorMessages: o, errorMessageText: d, MapServerErrors: f, ResetServerErrors: h } = LW(null), { ValidationObjectIsValid: g } =
|
|
32803
|
+
let { t: n } = ud(), { showDangerToast: r, showWarningToast: i, showSuccessToast: a } = FW(), { errorMessages: o, errorMessageText: d, MapServerErrors: f, ResetServerErrors: h } = LW(null), { ValidationObjectIsValid: g } = tq(), _ = e, v = N({
|
|
32796
32804
|
password: "",
|
|
32797
32805
|
passwordNew: "",
|
|
32798
32806
|
passwordRepeat: ""
|
|
@@ -32827,14 +32835,14 @@ var GK = ["src", "alt"], KK = {
|
|
|
32827
32835
|
}, S = () => {
|
|
32828
32836
|
v.value.password === "" && v.value.passwordNew === "" && v.value.passwordRepeat === "" || (v.value.password = "", v.value.passwordNew = "", v.value.passwordRepeat = "", y.value.password.state = null, y.value.passwordNew.state = null, y.value.passwordRepeat.state = null, h(), i(n("changePasswordTemplate.toasters.reset")));
|
|
32829
32837
|
};
|
|
32830
|
-
return (n, r) => (A(), l("main",
|
|
32838
|
+
return (n, r) => (A(), l("main", nq, [m(Oe, { class: "container-xl" }, {
|
|
32831
32839
|
default: z(() => [m(ke, { class: "justify-content-md-center template-header" }, {
|
|
32832
32840
|
default: z(() => [m(De, {
|
|
32833
32841
|
xs: 12,
|
|
32834
32842
|
md: 10,
|
|
32835
32843
|
lg: 7
|
|
32836
32844
|
}, {
|
|
32837
|
-
default: z(() => [u("h1",
|
|
32845
|
+
default: z(() => [u("h1", rq, L(_.templateTitle), 1)]),
|
|
32838
32846
|
_: 1
|
|
32839
32847
|
})]),
|
|
32840
32848
|
_: 1
|
|
@@ -32863,7 +32871,7 @@ var GK = ["src", "alt"], KK = {
|
|
|
32863
32871
|
R(o) || R(d) ? (A(), s(ke, { key: 0 }, {
|
|
32864
32872
|
default: z(() => [m(De, null, {
|
|
32865
32873
|
default: z(() => [m(vo, { variant: "danger" }, {
|
|
32866
|
-
default: z(() => [R(o) ? (A(), l("div",
|
|
32874
|
+
default: z(() => [R(o) ? (A(), l("div", iq, [u("ul", null, [(A(!0), l(t, null, P(R(o), (e, t) => (A(), l("li", { key: t }, [m(Lr), u("span", null, L(e), 1)]))), 128))])])) : (A(), l("div", aq, L(R(d)), 1))]),
|
|
32867
32875
|
_: 1
|
|
32868
32876
|
})]),
|
|
32869
32877
|
_: 1
|
|
@@ -32881,7 +32889,7 @@ var GK = ["src", "alt"], KK = {
|
|
|
32881
32889
|
onReset: ge(S, ["prevent"]),
|
|
32882
32890
|
class: "form"
|
|
32883
32891
|
}, [
|
|
32884
|
-
u("div",
|
|
32892
|
+
u("div", oq, [m(hg, {
|
|
32885
32893
|
modelValue: R(v).password,
|
|
32886
32894
|
"onUpdate:modelValue": r[0] ||= (e) => R(v).password = e,
|
|
32887
32895
|
label: e.currentPasswordLabel,
|
|
@@ -32894,7 +32902,7 @@ var GK = ["src", "alt"], KK = {
|
|
|
32894
32902
|
"state",
|
|
32895
32903
|
"invalid-feedback-text"
|
|
32896
32904
|
])]),
|
|
32897
|
-
u("div",
|
|
32905
|
+
u("div", sq, [m(hg, {
|
|
32898
32906
|
modelValue: R(v).passwordNew,
|
|
32899
32907
|
"onUpdate:modelValue": r[1] ||= (e) => R(v).passwordNew = e,
|
|
32900
32908
|
label: e.newPasswordLabel,
|
|
@@ -32907,7 +32915,7 @@ var GK = ["src", "alt"], KK = {
|
|
|
32907
32915
|
"state",
|
|
32908
32916
|
"invalid-feedback-text"
|
|
32909
32917
|
])]),
|
|
32910
|
-
u("div",
|
|
32918
|
+
u("div", cq, [m(hg, {
|
|
32911
32919
|
modelValue: R(v).passwordRepeat,
|
|
32912
32920
|
"onUpdate:modelValue": r[2] ||= (e) => R(v).passwordRepeat = e,
|
|
32913
32921
|
label: e.confirmNewPasswordLabel,
|
|
@@ -32920,7 +32928,7 @@ var GK = ["src", "alt"], KK = {
|
|
|
32920
32928
|
"state",
|
|
32921
32929
|
"invalid-feedback-text"
|
|
32922
32930
|
])]),
|
|
32923
|
-
u("div",
|
|
32931
|
+
u("div", lq, [m(B, { type: "submit" }, {
|
|
32924
32932
|
default: z(() => [p(L(e.submitButtonText), 1)]),
|
|
32925
32933
|
_: 1
|
|
32926
32934
|
}), m(B, {
|
|
@@ -32947,17 +32955,17 @@ var GK = ["src", "alt"], KK = {
|
|
|
32947
32955
|
_: 1
|
|
32948
32956
|
})]));
|
|
32949
32957
|
}
|
|
32950
|
-
}),
|
|
32958
|
+
}), dq = { class: "template not-found-template" }, fq = { class: "center-screen" }, pq = { class: "container-warning" }, mq = ["textContent"], hq = ["textContent"], gq = /* @__PURE__ */ g({
|
|
32951
32959
|
__name: "BDNotFoundTemplate",
|
|
32952
32960
|
props: { buttonText: { type: String } },
|
|
32953
32961
|
emits: ["navigate"],
|
|
32954
32962
|
setup(e, { emit: t }) {
|
|
32955
32963
|
let { t: n } = ud(), r = e, i = t, o = a(() => r.buttonText || n("notFoundTemplate.buttonDefault")), s = a(() => n("notFoundTemplate.title")), c = a(() => n("notFoundTemplate.description")), d = () => i("navigate");
|
|
32956
|
-
return (e, t) => (A(), l("main",
|
|
32957
|
-
default: z(() => [u("div",
|
|
32964
|
+
return (e, t) => (A(), l("main", dq, [m(Oe, { class: "container-xl" }, {
|
|
32965
|
+
default: z(() => [u("div", fq, [u("div", pq, [
|
|
32958
32966
|
m(Ya),
|
|
32959
|
-
u("h5", { textContent: L(s.value) }, null, 8,
|
|
32960
|
-
u("p", { textContent: L(c.value) }, null, 8,
|
|
32967
|
+
u("h5", { textContent: L(s.value) }, null, 8, mq),
|
|
32968
|
+
u("p", { textContent: L(c.value) }, null, 8, hq),
|
|
32961
32969
|
m(B, {
|
|
32962
32970
|
onClick: d,
|
|
32963
32971
|
variant: "primary",
|
|
@@ -32968,15 +32976,15 @@ var GK = ["src", "alt"], KK = {
|
|
|
32968
32976
|
_: 1
|
|
32969
32977
|
})]));
|
|
32970
32978
|
}
|
|
32971
|
-
}),
|
|
32979
|
+
}), _q = (e) => {
|
|
32972
32980
|
let t = /<a\b[^>]*>.*?<\/a>/gi, n = [], r;
|
|
32973
32981
|
for (; (r = t.exec(e)) !== null;) n.push({
|
|
32974
32982
|
start: r.index,
|
|
32975
32983
|
end: r.index + r[0].length
|
|
32976
32984
|
});
|
|
32977
32985
|
return e.replace(/(https?:\/\/[^\s<>"',]+|www\.[^\s<>"',]+)/g, (e, t, r) => n.some((e) => r >= e.start && r < e.end) ? e : `<a href="${e.startsWith("www.") ? `http://${e}` : e}" target="_blank" rel="noopener noreferrer">${e}</a>`);
|
|
32978
|
-
},
|
|
32979
|
-
e.component("BDAlert", vo), e.component("BDArticle", zg), e.component("BDAssignConversationModal", KW), e.component("BDAttachmentPreviewList", hP), e.component("BDAttachmentUploadModal", qW), e.component("BDBadge", xg), e.component("BDButton", B), e.component("BDCard", Yo), e.component("BDChangePasswordTemplate",
|
|
32986
|
+
}, vq = (e, t) => `<p><a href="${e}" title="${t}" target="_blank" rel="noopener noreferrer">${t}</a></p>`, yq = (e) => e.startsWith("http://") || e.startsWith("https://"), bq = { install: (e) => {
|
|
32987
|
+
e.component("BDAlert", vo), e.component("BDArticle", zg), e.component("BDAssignConversationModal", KW), e.component("BDAttachmentPreviewList", hP), e.component("BDAttachmentUploadModal", qW), e.component("BDBadge", xg), e.component("BDButton", B), e.component("BDCard", Yo), e.component("BDChangePasswordTemplate", uq), e.component("BDChatCloud", IU), e.component("BDCol", De), e.component("BDCollapsableCard", $o), e.component("BDConfirmationModal", GW), e.component("BDContentLibraryModal", vK), e.component("BDConversationToTextModal", zK), e.component("BDContentLibrarySplitButton", qh), e.component("BDContentLibraryTemplate", _K), e.component("BDContainer", Oe), e.component("BDDropdown", rW), e.component("BDDropdownItem", C_), e.component("BDDropzone", N_), e.component("BDForm", Sg), e.component("BDFormCheckbox", Ig), e.component("BDFormInput", hg), e.component("BDFormInvalidFeedback", Yh), e.component("BDFormSelect", Pg), e.component("BDHeader", uW), e.component("BDImageAttachmentModal", KK), e.component("BDImageAttachmentPreviewList", wP), e.component("BDInputGroup", vg), e.component("BDLink", je), e.component("BDLogo", Pe), e.component("BDMarkdownEditor", gU), e.component("BDMobileMenu", CU), e.component("BDModal", NW), e.component("BDNotFoundTemplate", gq), e.component("BDPagination", kg), e.component("BDPhoneNumberEditModal", HW), e.component("BDPill", Qg), e.component("BDPractitionerHeader", wW), e.component("BDProfileImage", Bo), e.component("BDRow", ke), e.component("BDSessionTimeOutModal", WW), e.component("BDTable", GU), e.component("BDToast", Wg), e.component("BDUser", OU), e.component("BDUserInformation", r_), e.component("BDVideoCallConfirmationModal", eq), e.component("BDVideoCallToast", nW), e.component("BDZoomslider", Lo), e.component("BDDate", S_), e.component("IconAcademy", Re), e.component("IconArrowDown", He), e.component("IconArrowUp", Ke), e.component("IconAttachment", Xe), e.component("IconBold", et), e.component("IconBulletList", it), e.component("IconCalendar", ct), e.component("IconCall", ft), e.component("IconCallReject", gt), e.component("IconCardView", bt), e.component("IconCaretDown", wt), e.component("IconCaretLeft", Ot), e.component("IconCaretRight", Mt), e.component("IconCheck", It), e.component("IconClipboard", Bt), e.component("IconClose", Wt), e.component("IconComment", Jt), e.component("IconCommentActive", Qt), e.component("IconCommonFileEmpty", sn), e.component("IconCommonFileWarning", dn), e.component("IconCommentStatic", nn), e.component("IconContactPerson", hn), e.component("IconCopy", yn), e.component("IconDelete", Cn), e.component("IconDoubleCheck", Dn), e.component("IconDownloadImage", jn), e.component("IconEdit", Fn), e.component("IconEndCall", zn), e.component("IconError", Un), e.component("IconExternal", qn), e.component("IconEyeShow", Zn), e.component("IconEyeSlash", tr), e.component("IconFile", ar), e.component("IconFileAdded", lr), e.component("IconForward", pr), e.component("IconHix", _r), e.component("IconHyperlink", xr), e.component("IconImageFileLandscape", Tr), e.component("IconImageFileWarning", kr), e.component("IconInbox", Nr), e.component("IconInfo", Lr), e.component("IconInformationCircle", Vr), e.component("IconItalic", Gr), e.component("IconListView", Yr), e.component("IconLock", $r), e.component("IconLusciiEscalated", ri), e.component("IconLusciiLogo", si), e.component("IconLusciiOpen", di), e.component("IconLusciiPriorityHigh", hi), e.component("IconLusciiPriorityLow", yi), e.component("IconLusciiPriorityMedium", Ci), e.component("IconMenu", Di), e.component("IconMessage", ji), e.component("IconMessageForward", Fi), e.component("IconMicrophoneSlash", Ri), e.component("IconMicrosoftTeams", Hi), e.component("IconMin", Ki), e.component("IconOrderedList", Xi), e.component("IconPlus", ea), e.component("IconRefresh", ia), e.component("IconRemove", ca), e.component("IconSananetLogo", pa), e.component("IconService", _a), e.component("IconShareScreen", xa), e.component("IconSingleNeutral", Ta), e.component("IconSort", ka), e.component("IconSortAsc", Na), e.component("IconSortDesc", La), e.component("IconSortNone", Va), e.component("IconTriangleDown", Ga), e.component("IconTriangleExclamation", Ya), e.component("IconUnderline", $a), e.component("IconVideoDisabled", oo), e.component("IconVideocall", ro), e.component("IconWarning", uo), e.component("IconZorgkaart", ho), e.directive("vBDTooltip", dU);
|
|
32980
32988
|
} };
|
|
32981
32989
|
//#endregion
|
|
32982
|
-
export { vo as BDAlert, zg as BDArticle, KW as BDAssignConversationModal, hP as BDAttachmentPreviewList, qW as BDAttachmentUploadModal, xg as BDBadge, B as BDButton, Yo as BDCard,
|
|
32990
|
+
export { vo as BDAlert, zg as BDArticle, KW as BDAssignConversationModal, hP as BDAttachmentPreviewList, qW as BDAttachmentUploadModal, xg as BDBadge, B as BDButton, Yo as BDCard, uq as BDChangePasswordTemplate, IU as BDChatCloud, De as BDCol, $o as BDCollapsableCard, GW as BDConfirmationModal, Oe as BDContainer, vK as BDContentLibraryModal, qh as BDContentLibrarySplitButton, _K as BDContentLibraryTemplate, zK as BDConversationToTextModal, S_ as BDDate, rW as BDDropdown, C_ as BDDropdownItem, N_ as BDDropzone, Sg as BDForm, Ig as BDFormCheckbox, hg as BDFormInput, Yh as BDFormInvalidFeedback, Pg as BDFormSelect, uW as BDHeader, KK as BDImageAttachmentModal, wP as BDImageAttachmentPreviewList, vg as BDInputGroup, je as BDLink, Pe as BDLogo, gU as BDMarkdownEditor, CU as BDMobileMenu, NW as BDModal, gq as BDNotFoundTemplate, kg as BDPagination, HW as BDPhoneNumberEditModal, Qg as BDPill, wW as BDPractitionerHeader, Bo as BDProfileImage, ke as BDRow, WW as BDSessionTimeOutModal, GU as BDTable, Wg as BDToast, OU as BDUser, r_ as BDUserInformation, eq as BDVideoCallConfirmationModal, nW as BDVideoCallToast, Lo as BDZoomslider, kK as CopyChatMessageToClipboard, AK as CopyChatMessagesToClipboard, jK as CopyHl7MessagesToClipboard, vq as CreateHyperlinkParagraph, OP as CreateThumbnailUri, Re as IconAcademy, He as IconArrowDown, Ke as IconArrowUp, Xe as IconAttachment, et as IconBold, it as IconBulletList, ct as IconCalendar, ft as IconCall, gt as IconCallReject, bt as IconCardView, wt as IconCaretDown, Ot as IconCaretLeft, Mt as IconCaretRight, It as IconCheck, Bt as IconClipboard, Wt as IconClose, Jt as IconComment, Qt as IconCommentActive, nn as IconCommentStatic, sn as IconCommonFileEmpty, dn as IconCommonFileWarning, hn as IconContactPerson, yn as IconCopy, Cn as IconDelete, Dn as IconDoubleCheck, jn as IconDownloadImage, Fn as IconEdit, zn as IconEndCall, Un as IconError, qn as IconExternal, Zn as IconEyeShow, tr as IconEyeSlash, ar as IconFile, lr as IconFileAdded, pr as IconForward, _r as IconHix, xr as IconHyperlink, Tr as IconImageFileLandscape, kr as IconImageFileWarning, Nr as IconInbox, Lr as IconInfo, Vr as IconInformationCircle, Gr as IconItalic, Yr as IconListView, $r as IconLock, ri as IconLusciiEscalated, si as IconLusciiLogo, di as IconLusciiOpen, hi as IconLusciiPriorityHigh, yi as IconLusciiPriorityLow, Ci as IconLusciiPriorityMedium, Di as IconMenu, ji as IconMessage, Fi as IconMessageForward, Ri as IconMicrophoneSlash, Hi as IconMicrosoftTeams, Ki as IconMin, Xi as IconOrderedList, ea as IconPlus, ia as IconRefresh, ca as IconRemove, pa as IconSananetLogo, _a as IconService, xa as IconShareScreen, Ta as IconSingleNeutral, ka as IconSort, Na as IconSortAsc, La as IconSortDesc, Va as IconSortNone, Ga as IconTriangleDown, Ya as IconTriangleExclamation, $a as IconUnderline, oo as IconVideoDisabled, ro as IconVideocall, uo as IconWarning, ho as IconZorgkaart, TP as MapAttachmentsForApi, jP as MapToAttachmentObjects, _q as TransformHyperlinks, yq as ValidateUrl, bq as default, b_ as getDisplayDateNumeric, __ as getDisplayDateTextual, y_ as getDisplayDateTimeNumeric, v_ as getDisplayDateTimeTextual, PW as useModal, hW as usePopover, LW as useServerErrors, UW as useSessionTimeOut, FW as useToaster, tq as useValidation, pW as useWindow, BK as useZoom, dU as vBdTooltip };
|