@beterdichtbij/component-library 0.72.1 → 0.72.2-beta.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.
Files changed (71) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +117 -117
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +6336 -6497
  5. package/dist/bd-component-lib.umd.js +104 -104
  6. package/dist/browser-J9v82mb3.cjs +1 -0
  7. package/dist/browser-aFX0ImH2.js +170 -0
  8. package/dist/locales/en.json +79 -79
  9. package/dist/locales/nl.json +180 -180
  10. package/dist/scss/_active-filters.scss +65 -65
  11. package/dist/scss/_alert.scss +5 -5
  12. package/dist/scss/_article.scss +20 -20
  13. package/dist/scss/_assign-conversation-modal.scss +13 -13
  14. package/dist/scss/_attachments.scss +107 -107
  15. package/dist/scss/_badge.scss +18 -18
  16. package/dist/scss/_button.scss +80 -80
  17. package/dist/scss/_card.scss +56 -56
  18. package/dist/scss/_chatcloud.scss +98 -98
  19. package/dist/scss/_collapsable-card.scss +107 -107
  20. package/dist/scss/_content-library-card-message-template.scss +136 -136
  21. package/dist/scss/_content-library-card.scss +158 -158
  22. package/dist/scss/_content-library-modal.scss +8 -8
  23. package/dist/scss/_content-library-overview.scss +4 -4
  24. package/dist/scss/_content-library-split-button.scss +23 -23
  25. package/dist/scss/_conversation-to-text-modal.scss +36 -36
  26. package/dist/scss/_dropdown.scss +113 -113
  27. package/dist/scss/_extern.scss +1 -1
  28. package/dist/scss/_file-upload-preview.scss +53 -53
  29. package/dist/scss/_file-upload.scss +26 -26
  30. package/dist/scss/_filter-card.scss +64 -64
  31. package/dist/scss/_form-field.scss +12 -12
  32. package/dist/scss/_form-multiple-checkbox.scss +51 -51
  33. package/dist/scss/_forms.scss +3 -3
  34. package/dist/scss/_header.scss +170 -170
  35. package/dist/scss/_icon-luscii-logo.scss +31 -31
  36. package/dist/scss/_icons.scss +38 -38
  37. package/dist/scss/_image-attachment-modal.scss +91 -91
  38. package/dist/scss/_input-group.scss +2 -2
  39. package/dist/scss/_loader.scss +59 -59
  40. package/dist/scss/_markdown-editor.scss +114 -114
  41. package/dist/scss/_message-template-form-modal.scss +47 -47
  42. package/dist/scss/_mixins.scss +78 -78
  43. package/dist/scss/_mobile-menu.scss +91 -91
  44. package/dist/scss/_modal.scss +183 -183
  45. package/dist/scss/_notification-button.scss +29 -29
  46. package/dist/scss/_pagination.scss +56 -56
  47. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  48. package/dist/scss/_pill-container.scss +26 -26
  49. package/dist/scss/_pill.scss +63 -63
  50. package/dist/scss/_profile-image.scss +34 -34
  51. package/dist/scss/_table-sort-header.scss +13 -13
  52. package/dist/scss/_table.scss +16 -16
  53. package/dist/scss/_templates.scss +318 -318
  54. package/dist/scss/_toast.scss +69 -69
  55. package/dist/scss/_user-information.scss +34 -34
  56. package/dist/scss/_user.scss +21 -21
  57. package/dist/scss/_video-call-toast.scss +100 -100
  58. package/dist/scss/_zoomslider.scss +77 -77
  59. package/dist/scss/base/variables.scss +210 -210
  60. package/dist/scss/extern/_bootstrap.scss +14 -14
  61. package/dist/scss/extern/_prime-vue.scss +551 -551
  62. package/dist/scss/forms/_form-check.scss +16 -16
  63. package/dist/scss/forms/_form-input.scss +9 -9
  64. package/dist/scss/forms/_form-select.scss +5 -5
  65. package/dist/scss/main.scss +52 -52
  66. package/dist/scss/templates/_change-password-template.scss +8 -8
  67. package/dist/scss/templates/_content-library-template.scss +135 -135
  68. package/dist/scss/templates/_not-found-template.scss +9 -9
  69. package/dist/scss/templates/_video-call-template.scss +225 -225
  70. package/dist/stores/SessionTimeOutStore.ts +46 -46
  71. package/package.json +133 -133
@@ -0,0 +1 @@
1
+ function e(...e){if(e.length>0){let t=String(e[0]);t.includes(`:error`)?console.error(...e):t.includes(`:warning`)?console.warn(...e):t.includes(`:info`)?console.info(...e):(t.includes(`:verbose`),console.debug(...e))}}function t(e){return globalThis.process?.env?.[e]}typeof window<`u`&&window.document,typeof self==`object`&&`importScripts`in self&&typeof self.importScripts==`function`&&(self.constructor?.name===`DedicatedWorkerGlobalScope`||self.constructor?.name===`ServiceWorkerGlobalScope`||self.constructor?.name);var n=t(`DEBUG`),r,i=[],a=[],o=[];n&&c(n);var s=Object.assign(e=>f(e),{enable:c,enabled:l,disable:d,log:e});function c(e){r=e,i=[],a=[];let t=e.split(`,`).map(e=>e.trim());for(let e of t)e.startsWith(`-`)?a.push(e.substring(1)):i.push(e);for(let e of o)e.enabled=l(e.namespace)}function l(e){if(e.endsWith(`*`))return!0;for(let t of a)if(u(e,t))return!1;for(let t of i)if(u(e,t))return!0;return!1}function u(e,t){if(t.indexOf(`*`)===-1)return e===t;let n=t;if(t.indexOf(`**`)!==-1){let e=[],r=``;for(let n of t)if(n===`*`&&r===`*`)continue;else r=n,e.push(n);n=e.join(``)}let r=0,i=0,a=n.length,o=e.length,s=-1,c=-1;for(;r<o&&i<a;)if(n[i]===`*`){if(s=i,i++,i===a)return!0;for(;e[r]!==n[i];)if(r++,r===o)return!1;c=r,r++,i++;continue}else if(n[i]===e[r])i++,r++;else if(s>=0){if(i=s+1,r=c+1,r===o)return!1;for(;e[r]!==n[i];)if(r++,r===o)return!1;c=r,r++,i++;continue}else return!1;let l=r===e.length,u=i===n.length,d=i===n.length-1&&n[i]===`*`;return l&&(u||d)}function d(){let e=r||``;return c(``),e}function f(e){let t=Object.assign(n,{enabled:l(e),destroy:p,log:s.log,namespace:e,extend:m});function n(...n){t.enabled&&(n.length>0&&(n[0]=`${e} ${n[0]}`),t.log(...n))}return o.push(t),t}function p(){let e=o.indexOf(this);return e>=0?(o.splice(e,1),!0):!1}function m(e){let t=f(`${this.namespace}:${e}`);return t.log=this.log,t}var h=[`verbose`,`info`,`warning`,`error`],g={verbose:400,info:300,warning:200,error:100};function _(e,t){t.log=(...t)=>{e.log(...t)}}function v(e){return h.includes(e)}function y(e){let n=new Set,r=t(e.logLevelEnvVarName),i,a=s(e.namespace);a.log=(...e)=>{s.log(...e)};function o(e){if(e&&!v(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${h.join(`,`)}`);i=e;let t=[];for(let e of n)c(e)&&t.push(e.namespace);s.enable(t.join(`,`))}r&&(v(r)?o(r):console.error(`${e.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${h.join(`, `)}.`));function c(e){return!!(i&&g[e.level]<=g[i])}function l(e,t){let r=Object.assign(e.extend(t),{level:t});if(_(e,r),c(r)){let e=s.disable();s.enable(e+`,`+r.namespace)}return n.add(r),r}function u(){return i}function d(e){let t=a.extend(e);return _(a,t),{error:l(t,`error`),warning:l(t,`warning`),info:l(t,`info`),verbose:l(t,`verbose`)}}return{setLogLevel:o,getLogLevel:u,createClientLogger:d,logger:a}}y({logLevelEnvVarName:`TYPESPEC_RUNTIME_LOG_LEVEL`,namespace:`typeSpecRuntime`}).logger;var b=y({logLevelEnvVarName:`AZURE_LOG_LEVEL`,namespace:`azure`}),x=b.logger;function S(e){b.setLogLevel(e)}function C(){return b.getLogLevel()}function w(e){return b.createClientLogger(e)}exports.AzureLogger=x,exports.createClientLogger=w,exports.getLogLevel=C,exports.setLogLevel=S;
@@ -0,0 +1,170 @@
1
+ //#region node_modules/@typespec/ts-http-runtime/dist/browser/logger/log.common.js
2
+ function e(...e) {
3
+ if (e.length > 0) {
4
+ let t = String(e[0]);
5
+ t.includes(":error") ? console.error(...e) : t.includes(":warning") ? console.warn(...e) : t.includes(":info") ? console.info(...e) : (t.includes(":verbose"), console.debug(...e));
6
+ }
7
+ }
8
+ //#endregion
9
+ //#region node_modules/@typespec/ts-http-runtime/dist/browser/env-browser.mjs
10
+ function t(e) {
11
+ return globalThis.process?.env?.[e];
12
+ }
13
+ typeof window < "u" && window.document, typeof self == "object" && "importScripts" in self && typeof self.importScripts == "function" && (self.constructor?.name === "DedicatedWorkerGlobalScope" || self.constructor?.name === "ServiceWorkerGlobalScope" || self.constructor?.name);
14
+ //#endregion
15
+ //#region node_modules/@typespec/ts-http-runtime/dist/browser/logger/debug.js
16
+ var n = t("DEBUG"), r, i = [], a = [], o = [];
17
+ n && c(n);
18
+ var s = Object.assign((e) => f(e), {
19
+ enable: c,
20
+ enabled: l,
21
+ disable: d,
22
+ log: e
23
+ });
24
+ function c(e) {
25
+ r = e, i = [], a = [];
26
+ let t = e.split(",").map((e) => e.trim());
27
+ for (let e of t) e.startsWith("-") ? a.push(e.substring(1)) : i.push(e);
28
+ for (let e of o) e.enabled = l(e.namespace);
29
+ }
30
+ function l(e) {
31
+ if (e.endsWith("*")) return !0;
32
+ for (let t of a) if (u(e, t)) return !1;
33
+ for (let t of i) if (u(e, t)) return !0;
34
+ return !1;
35
+ }
36
+ function u(e, t) {
37
+ if (t.indexOf("*") === -1) return e === t;
38
+ let n = t;
39
+ if (t.indexOf("**") !== -1) {
40
+ let e = [], r = "";
41
+ for (let n of t) if (n === "*" && r === "*") continue;
42
+ else r = n, e.push(n);
43
+ n = e.join("");
44
+ }
45
+ let r = 0, i = 0, a = n.length, o = e.length, s = -1, c = -1;
46
+ for (; r < o && i < a;) if (n[i] === "*") {
47
+ if (s = i, i++, i === a) return !0;
48
+ for (; e[r] !== n[i];) if (r++, r === o) return !1;
49
+ c = r, r++, i++;
50
+ continue;
51
+ } else if (n[i] === e[r]) i++, r++;
52
+ else if (s >= 0) {
53
+ if (i = s + 1, r = c + 1, r === o) return !1;
54
+ for (; e[r] !== n[i];) if (r++, r === o) return !1;
55
+ c = r, r++, i++;
56
+ continue;
57
+ } else return !1;
58
+ let l = r === e.length, u = i === n.length, d = i === n.length - 1 && n[i] === "*";
59
+ return l && (u || d);
60
+ }
61
+ function d() {
62
+ let e = r || "";
63
+ return c(""), e;
64
+ }
65
+ function f(e) {
66
+ let t = Object.assign(n, {
67
+ enabled: l(e),
68
+ destroy: p,
69
+ log: s.log,
70
+ namespace: e,
71
+ extend: m
72
+ });
73
+ function n(...n) {
74
+ t.enabled && (n.length > 0 && (n[0] = `${e} ${n[0]}`), t.log(...n));
75
+ }
76
+ return o.push(t), t;
77
+ }
78
+ function p() {
79
+ let e = o.indexOf(this);
80
+ return e >= 0 ? (o.splice(e, 1), !0) : !1;
81
+ }
82
+ function m(e) {
83
+ let t = f(`${this.namespace}:${e}`);
84
+ return t.log = this.log, t;
85
+ }
86
+ //#endregion
87
+ //#region node_modules/@typespec/ts-http-runtime/dist/browser/logger/logger.js
88
+ var h = [
89
+ "verbose",
90
+ "info",
91
+ "warning",
92
+ "error"
93
+ ], g = {
94
+ verbose: 400,
95
+ info: 300,
96
+ warning: 200,
97
+ error: 100
98
+ };
99
+ function _(e, t) {
100
+ t.log = (...t) => {
101
+ e.log(...t);
102
+ };
103
+ }
104
+ function v(e) {
105
+ return h.includes(e);
106
+ }
107
+ function y(e) {
108
+ let n = /* @__PURE__ */ new Set(), r = t(e.logLevelEnvVarName), i, a = s(e.namespace);
109
+ a.log = (...e) => {
110
+ s.log(...e);
111
+ };
112
+ function o(e) {
113
+ if (e && !v(e)) throw Error(`Unknown log level '${e}'. Acceptable values: ${h.join(",")}`);
114
+ i = e;
115
+ let t = [];
116
+ for (let e of n) c(e) && t.push(e.namespace);
117
+ s.enable(t.join(","));
118
+ }
119
+ r && (v(r) ? o(r) : console.error(`${e.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${h.join(", ")}.`));
120
+ function c(e) {
121
+ return !!(i && g[e.level] <= g[i]);
122
+ }
123
+ function l(e, t) {
124
+ let r = Object.assign(e.extend(t), { level: t });
125
+ if (_(e, r), c(r)) {
126
+ let e = s.disable();
127
+ s.enable(e + "," + r.namespace);
128
+ }
129
+ return n.add(r), r;
130
+ }
131
+ function u() {
132
+ return i;
133
+ }
134
+ function d(e) {
135
+ let t = a.extend(e);
136
+ return _(a, t), {
137
+ error: l(t, "error"),
138
+ warning: l(t, "warning"),
139
+ info: l(t, "info"),
140
+ verbose: l(t, "verbose")
141
+ };
142
+ }
143
+ return {
144
+ setLogLevel: o,
145
+ getLogLevel: u,
146
+ createClientLogger: d,
147
+ logger: a
148
+ };
149
+ }
150
+ y({
151
+ logLevelEnvVarName: "TYPESPEC_RUNTIME_LOG_LEVEL",
152
+ namespace: "typeSpecRuntime"
153
+ }).logger;
154
+ //#endregion
155
+ //#region node_modules/@azure/logger/dist/browser/index.js
156
+ var b = y({
157
+ logLevelEnvVarName: "AZURE_LOG_LEVEL",
158
+ namespace: "azure"
159
+ }), x = b.logger;
160
+ function S(e) {
161
+ b.setLogLevel(e);
162
+ }
163
+ function C() {
164
+ return b.getLogLevel();
165
+ }
166
+ function w(e) {
167
+ return b.createClientLogger(e);
168
+ }
169
+ //#endregion
170
+ export { x as AzureLogger, w as createClientLogger, C as getLogLevel, S as setLogLevel };
@@ -1,80 +1,80 @@
1
- {
2
- "notFoundTemplate": {
3
- "title": "Page not found",
4
- "description": "The page you're looking for couldn't be found. Check the URL or go back to the mainpage.",
5
- "buttonDefault": "Back to mainpage"
6
- },
7
- "practitionerHeader": {
8
- "tooltipAcademy": "BeterDichtbij Academie",
9
- "menuItemAcademy": "Academie"
10
- },
11
- "videoCallTemplate": {
12
- "signalStrength": {
13
- "weak": "Weak signal",
14
- "steady": "Moderate signal",
15
- "strong": "Strong signal"
16
- },
17
- "actions": {
18
- "fullScreen": "Full screen",
19
- "miniPlayer": "Mini player",
20
- "shareScreen": "Share screen",
21
- "stopSharingScreen": "Stop sharing screen",
22
- "testCall": "Run the video call test",
23
- "serviceDesk": "Service desk",
24
- "endCall": "End call",
25
- "closeWindow": "Close window",
26
- "switchCamera": "Switch camera"
27
- },
28
- "help": {
29
- "placeholderSettingsHelpTitle": "Connection issues?",
30
- "placeholderSettingsHelpMessage": "End the call and try again."
31
- },
32
- "statusTextMessage": {
33
- "initializing": "Initializing...",
34
- "dialing": "Calling...",
35
- "ringing": "Phone is ringing",
36
- "answered": "Call answered",
37
- "connected": "Connected",
38
- "videoCallDeclined": "The call could not be answered right now.",
39
- "videoCallHangedUp": "Call has ended.",
40
- "devicePermissionDenied": "A call cannot be started",
41
- "callNotDelivered": "The video call does not arrive on the {participantRole}'s mobile phone or tablet.",
42
- "signalHold": "Video call connection with {participantRole}'s phone/tablet could not be established",
43
- "connectionIssues": "Connection issues"
44
- },
45
- "statusDetailMessage": {
46
- "notAnsweredDetail": "{participantRole} does not appear to answer.",
47
- "noVideoHint": "No video? Run the video call test.",
48
- "callNotDeliveredDetail": "Asking {participantRole} to log in again in the BeterDichtbij app often resolves this.",
49
- "connectionIssuesMedium": "The connection is unstable.",
50
- "connectionIssuesStrong": "The connection seems lost. Check internet connection and try again.",
51
- "signalHoldDetail": "Run the video call test."
52
- },
53
- "permissions": {
54
- "permissionDeniedForVideo": "No access to camera",
55
- "permissionDeniedForAudio": "No access to microphone"
56
- },
57
- "cameraAvailability": {
58
- "hasNoAvailableCamera": "No camera available.",
59
- "hasOneAvailableCamera": "One camera is available.",
60
- "hasMultipleAvailableCameras": "Multiple cameras are available."
61
- },
62
- "endReasons": {
63
- "0": "{participantRole} ended the call.",
64
- "4": "The app was closed.",
65
- "5": "{participantRole} ended the call.",
66
- "6": "BeterDichtbij call screen was closed.",
67
- "10": "{participantRole} waited too long to answer.",
68
- "12": "Network or camera issue on {participantRole} side. Check internet and camera permission.",
69
- "20": "{participantRole} pressed Back while the phone was ringing.",
70
- "21": "Call was hung up.",
71
- "22": "{participantRole} pressed Home while the phone was ringing.",
72
- "23": "{participantRole} waited too long to answer.",
73
- "24": "{participantRole} clicked Yes in the popup.",
74
- "25": "{participantRole} ended the call.",
75
- "26": "The app moved to background on phone/tablet.",
76
- "33": "Outdated app version. Ask {participantRole} to update the BeterDichtbij app."
77
- },
78
- "unknown": "Unknown message"
79
- }
1
+ {
2
+ "notFoundTemplate": {
3
+ "title": "Page not found",
4
+ "description": "The page you're looking for couldn't be found. Check the URL or go back to the mainpage.",
5
+ "buttonDefault": "Back to mainpage"
6
+ },
7
+ "practitionerHeader": {
8
+ "tooltipAcademy": "BeterDichtbij Academie",
9
+ "menuItemAcademy": "Academie"
10
+ },
11
+ "videoCallTemplate": {
12
+ "signalStrength": {
13
+ "weak": "Weak signal",
14
+ "steady": "Moderate signal",
15
+ "strong": "Strong signal"
16
+ },
17
+ "actions": {
18
+ "fullScreen": "Full screen",
19
+ "miniPlayer": "Mini player",
20
+ "shareScreen": "Share screen",
21
+ "stopSharingScreen": "Stop sharing screen",
22
+ "testCall": "Run the video call test",
23
+ "serviceDesk": "Service desk",
24
+ "endCall": "End call",
25
+ "closeWindow": "Close window",
26
+ "switchCamera": "Switch camera"
27
+ },
28
+ "help": {
29
+ "placeholderSettingsHelpTitle": "Connection issues?",
30
+ "placeholderSettingsHelpMessage": "End the call and try again."
31
+ },
32
+ "statusTextMessage": {
33
+ "initializing": "Initializing...",
34
+ "dialing": "Calling...",
35
+ "ringing": "Phone is ringing",
36
+ "answered": "Call answered",
37
+ "connected": "Connected",
38
+ "videoCallDeclined": "The call could not be answered right now.",
39
+ "videoCallHangedUp": "Call has ended.",
40
+ "devicePermissionDenied": "A call cannot be started",
41
+ "callNotDelivered": "The video call does not arrive on the {participantRole}'s mobile phone or tablet.",
42
+ "signalHold": "Video call connection with {participantRole}'s phone/tablet could not be established",
43
+ "connectionIssues": "Connection issues"
44
+ },
45
+ "statusDetailMessage": {
46
+ "notAnsweredDetail": "{participantRole} does not appear to answer.",
47
+ "noVideoHint": "No video? Run the video call test.",
48
+ "callNotDeliveredDetail": "Asking {participantRole} to log in again in the BeterDichtbij app often resolves this.",
49
+ "connectionIssuesMedium": "The connection is unstable.",
50
+ "connectionIssuesStrong": "The connection seems lost. Check internet connection and try again.",
51
+ "signalHoldDetail": "Run the video call test."
52
+ },
53
+ "permissions": {
54
+ "permissionDeniedForVideo": "No access to camera",
55
+ "permissionDeniedForAudio": "No access to microphone"
56
+ },
57
+ "cameraAvailability": {
58
+ "hasNoAvailableCamera": "No camera available.",
59
+ "hasOneAvailableCamera": "One camera is available.",
60
+ "hasMultipleAvailableCameras": "Multiple cameras are available."
61
+ },
62
+ "endReasons": {
63
+ "0": "{participantRole} ended the call.",
64
+ "4": "The app was closed.",
65
+ "5": "{participantRole} ended the call.",
66
+ "6": "BeterDichtbij call screen was closed.",
67
+ "10": "{participantRole} waited too long to answer.",
68
+ "12": "Network or camera issue on {participantRole} side. Check internet and camera permission.",
69
+ "20": "{participantRole} pressed Back while the phone was ringing.",
70
+ "21": "Call was hung up.",
71
+ "22": "{participantRole} pressed Home while the phone was ringing.",
72
+ "23": "{participantRole} waited too long to answer.",
73
+ "24": "{participantRole} clicked Yes in the popup.",
74
+ "25": "{participantRole} ended the call.",
75
+ "26": "The app moved to background on phone/tablet.",
76
+ "33": "Outdated app version. Ask {participantRole} to update the BeterDichtbij app."
77
+ },
78
+ "unknown": "Unknown message"
79
+ }
80
80
  }