@uxland/primary-shell 7.35.5 → 7.36.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/{component-p9xkUhDo.js → component-DVhgBGqC.js} +2 -2
- package/dist/{component-p9xkUhDo.js.map → component-DVhgBGqC.js.map} +1 -1
- package/dist/{index-BRNyQKMi.js → index-B_9ErUyY.js} +681 -722
- package/dist/index-B_9ErUyY.js.map +1 -0
- package/dist/index.js +21 -20
- package/dist/index.umd.cjs +65 -67
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/api/context-manager/context-manager.d.ts +1 -0
- package/dist/primary/shell/src/index.d.ts +2 -0
- package/dist/primary/shell/src/locales.d.ts +0 -1
- package/package.json +1 -1
- package/src/UI/components/bootstrapper.ts +0 -2
- package/src/api/context-manager/context-manager.ts +1 -0
- package/src/features/bootstrapper.ts +0 -3
- package/src/features/navigate-to-ecap/navigate-to-ecap.ts +8 -5
- package/src/index.ts +2 -0
- package/src/locales.ts +0 -1
- package/dist/index-BRNyQKMi.js.map +0 -1
- package/dist/primary/shell/src/features/visit/finalize-visit/bootstrapper.d.ts +0 -3
- package/dist/primary/shell/src/features/visit/finalize-visit/component/finalize-visit-button.d.ts +0 -5
- package/dist/primary/shell/src/features/visit/finalize-visit/component/template.d.ts +0 -2
- package/dist/primary/shell/src/features/visit/finalize-visit/handler.d.ts +0 -7
- package/dist/primary/shell/src/features/visit/finalize-visit/request.d.ts +0 -2
- package/src/features/visit/finalize-visit/bootstrapper.ts +0 -26
- package/src/features/visit/finalize-visit/component/finalize-visit-button.ts +0 -14
- package/src/features/visit/finalize-visit/component/template.ts +0 -9
- package/src/features/visit/finalize-visit/handler.ts +0 -19
- package/src/features/visit/finalize-visit/request.ts +0 -1
|
@@ -70,7 +70,7 @@ function require_Reflect() {
|
|
|
70
70
|
}
|
|
71
71
|
}, fe = Object.getPrototypeOf(Function), be = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Yt(), me = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : ks(), ge = typeof WeakMap == "function" ? WeakMap : ts(), ve = oe ? Symbol.for("@reflect-metadata:registry") : void 0, _e = Ft(), we = zt(_e);
|
|
72
72
|
function Se(it, nt, vt, St) {
|
|
73
|
-
if (
|
|
73
|
+
if (Be(vt)) {
|
|
74
74
|
if (!It(it))
|
|
75
75
|
throw new TypeError();
|
|
76
76
|
if (!Nt(nt))
|
|
@@ -79,9 +79,9 @@ function require_Reflect() {
|
|
|
79
79
|
} else {
|
|
80
80
|
if (!It(it))
|
|
81
81
|
throw new TypeError();
|
|
82
|
-
if (!
|
|
82
|
+
if (!Ve(nt))
|
|
83
83
|
throw new TypeError();
|
|
84
|
-
if (!
|
|
84
|
+
if (!Ve(St) && !Be(St) && !Qe(St))
|
|
85
85
|
throw new TypeError();
|
|
86
86
|
return Qe(St) && (St = void 0), vt = kt(vt), ze(it, nt, vt, St);
|
|
87
87
|
}
|
|
@@ -89,9 +89,9 @@ function require_Reflect() {
|
|
|
89
89
|
X("decorate", Se);
|
|
90
90
|
function ye(it, nt) {
|
|
91
91
|
function vt(St, Pt) {
|
|
92
|
-
if (!
|
|
92
|
+
if (!Ve(St))
|
|
93
93
|
throw new TypeError();
|
|
94
|
-
if (!
|
|
94
|
+
if (!Be(Pt) && !Vt(Pt))
|
|
95
95
|
throw new TypeError();
|
|
96
96
|
Je(it, nt, St, Pt);
|
|
97
97
|
}
|
|
@@ -99,66 +99,66 @@ function require_Reflect() {
|
|
|
99
99
|
}
|
|
100
100
|
X("metadata", ye);
|
|
101
101
|
function Ce(it, nt, vt, St) {
|
|
102
|
-
if (!
|
|
102
|
+
if (!Ve(vt))
|
|
103
103
|
throw new TypeError();
|
|
104
|
-
return
|
|
104
|
+
return Be(St) || (St = kt(St)), Je(it, nt, vt, St);
|
|
105
105
|
}
|
|
106
106
|
X("defineMetadata", Ce);
|
|
107
107
|
function Le(it, nt, vt) {
|
|
108
|
-
if (!
|
|
108
|
+
if (!Ve(nt))
|
|
109
109
|
throw new TypeError();
|
|
110
|
-
return
|
|
110
|
+
return Be(vt) || (vt = kt(vt)), We(it, nt, vt);
|
|
111
111
|
}
|
|
112
112
|
X("hasMetadata", Le);
|
|
113
113
|
function De(it, nt, vt) {
|
|
114
|
-
if (!
|
|
114
|
+
if (!Ve(nt))
|
|
115
115
|
throw new TypeError();
|
|
116
|
-
return
|
|
116
|
+
return Be(vt) || (vt = kt(vt)), Ge(it, nt, vt);
|
|
117
117
|
}
|
|
118
118
|
X("hasOwnMetadata", De);
|
|
119
119
|
function Fe(it, nt, vt) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!Ve(nt))
|
|
121
121
|
throw new TypeError();
|
|
122
|
-
return
|
|
122
|
+
return Be(vt) || (vt = kt(vt)), Ye(it, nt, vt);
|
|
123
123
|
}
|
|
124
124
|
X("getMetadata", Fe);
|
|
125
125
|
function He(it, nt, vt) {
|
|
126
|
-
if (!
|
|
126
|
+
if (!Ve(nt))
|
|
127
127
|
throw new TypeError();
|
|
128
|
-
return
|
|
128
|
+
return Be(vt) || (vt = kt(vt)), ft(it, nt, vt);
|
|
129
129
|
}
|
|
130
130
|
X("getOwnMetadata", He);
|
|
131
131
|
function Ie(it, nt) {
|
|
132
|
-
if (!
|
|
132
|
+
if (!Ve(it))
|
|
133
133
|
throw new TypeError();
|
|
134
|
-
return
|
|
134
|
+
return Be(nt) || (nt = kt(nt)), Ze(it, nt);
|
|
135
135
|
}
|
|
136
136
|
X("getMetadataKeys", Ie);
|
|
137
137
|
function Ae(it, nt) {
|
|
138
|
-
if (!
|
|
138
|
+
if (!Ve(it))
|
|
139
139
|
throw new TypeError();
|
|
140
|
-
return
|
|
140
|
+
return Be(nt) || (nt = kt(nt)), Me(it, nt);
|
|
141
141
|
}
|
|
142
142
|
X("getOwnMetadataKeys", Ae);
|
|
143
143
|
function qe(it, nt, vt) {
|
|
144
|
-
if (!
|
|
144
|
+
if (!Ve(nt))
|
|
145
145
|
throw new TypeError();
|
|
146
|
-
if (
|
|
146
|
+
if (Be(vt) || (vt = kt(vt)), !Ve(nt))
|
|
147
147
|
throw new TypeError();
|
|
148
|
-
|
|
148
|
+
Be(vt) || (vt = kt(vt));
|
|
149
149
|
var St = ds(
|
|
150
150
|
nt,
|
|
151
151
|
vt,
|
|
152
152
|
/*Create*/
|
|
153
153
|
!1
|
|
154
154
|
);
|
|
155
|
-
return
|
|
155
|
+
return Be(St) ? !1 : St.OrdinaryDeleteMetadata(it, nt, vt);
|
|
156
156
|
}
|
|
157
157
|
X("deleteMetadata", qe);
|
|
158
158
|
function Pe(it, nt) {
|
|
159
159
|
for (var vt = it.length - 1; vt >= 0; --vt) {
|
|
160
160
|
var St = it[vt], Pt = St(nt);
|
|
161
|
-
if (!
|
|
161
|
+
if (!Be(Pt) && !Qe(Pt)) {
|
|
162
162
|
if (!Nt(Pt))
|
|
163
163
|
throw new TypeError();
|
|
164
164
|
nt = Pt;
|
|
@@ -169,8 +169,8 @@ function require_Reflect() {
|
|
|
169
169
|
function ze(it, nt, vt, St) {
|
|
170
170
|
for (var Pt = it.length - 1; Pt >= 0; --Pt) {
|
|
171
171
|
var os = it[Pt], ls = os(nt, vt, St);
|
|
172
|
-
if (!
|
|
173
|
-
if (!
|
|
172
|
+
if (!Be(ls) && !Qe(ls)) {
|
|
173
|
+
if (!Ve(ls))
|
|
174
174
|
throw new TypeError();
|
|
175
175
|
St = ls;
|
|
176
176
|
}
|
|
@@ -191,7 +191,7 @@ function require_Reflect() {
|
|
|
191
191
|
/*Create*/
|
|
192
192
|
!1
|
|
193
193
|
);
|
|
194
|
-
return
|
|
194
|
+
return Be(St) ? !1 : ot(St.OrdinaryHasOwnMetadata(it, nt, vt));
|
|
195
195
|
}
|
|
196
196
|
function Ye(it, nt, vt) {
|
|
197
197
|
var St = Ge(it, nt, vt);
|
|
@@ -208,7 +208,7 @@ function require_Reflect() {
|
|
|
208
208
|
/*Create*/
|
|
209
209
|
!1
|
|
210
210
|
);
|
|
211
|
-
if (!
|
|
211
|
+
if (!Be(St))
|
|
212
212
|
return St.OrdinaryGetOwnMetadata(it, nt, vt);
|
|
213
213
|
}
|
|
214
214
|
function Je(it, nt, vt, St) {
|
|
@@ -229,8 +229,8 @@ function require_Reflect() {
|
|
|
229
229
|
return vt;
|
|
230
230
|
if (vt.length <= 0)
|
|
231
231
|
return Pt;
|
|
232
|
-
for (var os = new me(), ls = [],
|
|
233
|
-
var Tt = At[
|
|
232
|
+
for (var os = new me(), ls = [], Bt = 0, At = vt; Bt < At.length; Bt++) {
|
|
233
|
+
var Tt = At[Bt], Dt = os.has(Tt);
|
|
234
234
|
Dt || (os.add(Tt), ls.push(Tt));
|
|
235
235
|
}
|
|
236
236
|
for (var Ot = 0, Ht = Pt; Ot < Ht.length; Ot++) {
|
|
@@ -268,7 +268,7 @@ function require_Reflect() {
|
|
|
268
268
|
return 6;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Be(it) {
|
|
272
272
|
return it === void 0;
|
|
273
273
|
}
|
|
274
274
|
function Qe(it) {
|
|
@@ -277,7 +277,7 @@ function require_Reflect() {
|
|
|
277
277
|
function Xe(it) {
|
|
278
278
|
return typeof it == "symbol";
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function Ve(it) {
|
|
281
281
|
return typeof it == "object" ? it !== null : typeof it == "function";
|
|
282
282
|
}
|
|
283
283
|
function Ke(it, nt) {
|
|
@@ -298,7 +298,7 @@ function require_Reflect() {
|
|
|
298
298
|
var vt = "string", St = Kt(it, ne);
|
|
299
299
|
if (St !== void 0) {
|
|
300
300
|
var Pt = St.call(it, vt);
|
|
301
|
-
if (
|
|
301
|
+
if (Ve(Pt))
|
|
302
302
|
throw new TypeError();
|
|
303
303
|
return Pt;
|
|
304
304
|
}
|
|
@@ -310,13 +310,13 @@ function require_Reflect() {
|
|
|
310
310
|
var os = it.toString;
|
|
311
311
|
if (qt(os)) {
|
|
312
312
|
var St = os.call(it);
|
|
313
|
-
if (!
|
|
313
|
+
if (!Ve(St))
|
|
314
314
|
return St;
|
|
315
315
|
}
|
|
316
316
|
var vt = it.valueOf;
|
|
317
317
|
if (qt(vt)) {
|
|
318
318
|
var St = vt.call(it);
|
|
319
|
-
if (!
|
|
319
|
+
if (!Ve(St))
|
|
320
320
|
return St;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
@@ -341,7 +341,7 @@ function require_Reflect() {
|
|
|
341
341
|
function Nt(it) {
|
|
342
342
|
return typeof it == "function";
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function Vt(it) {
|
|
345
345
|
switch (Ue(it)) {
|
|
346
346
|
case 3:
|
|
347
347
|
return !0;
|
|
@@ -367,7 +367,7 @@ function require_Reflect() {
|
|
|
367
367
|
if (!qt(nt))
|
|
368
368
|
throw new TypeError();
|
|
369
369
|
var vt = nt.call(it);
|
|
370
|
-
if (!
|
|
370
|
+
if (!Ve(vt))
|
|
371
371
|
throw new TypeError();
|
|
372
372
|
return vt;
|
|
373
373
|
}
|
|
@@ -394,7 +394,7 @@ function require_Reflect() {
|
|
|
394
394
|
}
|
|
395
395
|
function Mt() {
|
|
396
396
|
var it;
|
|
397
|
-
!
|
|
397
|
+
!Be(ve) && typeof te.Reflect < "u" && !(ve in te.Reflect) && typeof te.Reflect.defineMetadata == "function" && (it = cs(te.Reflect));
|
|
398
398
|
var nt, vt, St, Pt = new ge(), os = {
|
|
399
399
|
registerProvider: ls,
|
|
400
400
|
getProvider: At,
|
|
@@ -407,12 +407,12 @@ function require_Reflect() {
|
|
|
407
407
|
switch (!0) {
|
|
408
408
|
case it === Ot:
|
|
409
409
|
break;
|
|
410
|
-
case
|
|
410
|
+
case Be(nt):
|
|
411
411
|
nt = Ot;
|
|
412
412
|
break;
|
|
413
413
|
case nt === Ot:
|
|
414
414
|
break;
|
|
415
|
-
case
|
|
415
|
+
case Be(vt):
|
|
416
416
|
vt = Ot;
|
|
417
417
|
break;
|
|
418
418
|
case vt === Ot:
|
|
@@ -422,14 +422,14 @@ function require_Reflect() {
|
|
|
422
422
|
break;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
if (!
|
|
425
|
+
function Bt(Ot, Ht) {
|
|
426
|
+
if (!Be(nt)) {
|
|
427
427
|
if (nt.isProviderFor(Ot, Ht))
|
|
428
428
|
return nt;
|
|
429
|
-
if (!
|
|
429
|
+
if (!Be(vt)) {
|
|
430
430
|
if (vt.isProviderFor(Ot, Ht))
|
|
431
431
|
return nt;
|
|
432
|
-
if (!
|
|
432
|
+
if (!Be(St))
|
|
433
433
|
for (var Xt = gt(St); ; ) {
|
|
434
434
|
var ns = xt(Xt);
|
|
435
435
|
if (!ns)
|
|
@@ -440,34 +440,34 @@ function require_Reflect() {
|
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
if (!
|
|
443
|
+
if (!Be(it) && it.isProviderFor(Ot, Ht))
|
|
444
444
|
return it;
|
|
445
445
|
}
|
|
446
446
|
function At(Ot, Ht) {
|
|
447
447
|
var Xt = Pt.get(Ot), ns;
|
|
448
|
-
return
|
|
448
|
+
return Be(Xt) || (ns = Xt.get(Ht)), Be(ns) && (ns = Bt(Ot, Ht), Be(ns) || (Be(Xt) && (Xt = new be(), Pt.set(Ot, Xt)), Xt.set(Ht, ns))), ns;
|
|
449
449
|
}
|
|
450
450
|
function Tt(Ot) {
|
|
451
|
-
if (
|
|
451
|
+
if (Be(Ot))
|
|
452
452
|
throw new TypeError();
|
|
453
|
-
return nt === Ot || vt === Ot || !
|
|
453
|
+
return nt === Ot || vt === Ot || !Be(St) && St.has(Ot);
|
|
454
454
|
}
|
|
455
455
|
function Dt(Ot, Ht, Xt) {
|
|
456
456
|
if (!Tt(Xt))
|
|
457
457
|
throw new Error("Metadata provider not registered.");
|
|
458
458
|
var ns = At(Ot, Ht);
|
|
459
459
|
if (ns !== Xt) {
|
|
460
|
-
if (!
|
|
460
|
+
if (!Be(ns))
|
|
461
461
|
return !1;
|
|
462
462
|
var ps = Pt.get(Ot);
|
|
463
|
-
|
|
463
|
+
Be(ps) && (ps = new be(), Pt.set(Ot, ps)), ps.set(Ht, Xt);
|
|
464
464
|
}
|
|
465
465
|
return !0;
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
468
|
function Ft() {
|
|
469
469
|
var it;
|
|
470
|
-
return !
|
|
470
|
+
return !Be(ve) && Ve(te.Reflect) && Object.isExtensible(te.Reflect) && (it = te.Reflect[ve]), Be(it) && (it = Mt()), !Be(ve) && Ve(te.Reflect) && Object.isExtensible(te.Reflect) && Object.defineProperty(te.Reflect, ve, {
|
|
471
471
|
enumerable: !1,
|
|
472
472
|
configurable: !1,
|
|
473
473
|
writable: !1,
|
|
@@ -478,24 +478,24 @@ function require_Reflect() {
|
|
|
478
478
|
var nt = new ge(), vt = {
|
|
479
479
|
isProviderFor: function(Tt, Dt) {
|
|
480
480
|
var Ot = nt.get(Tt);
|
|
481
|
-
return
|
|
481
|
+
return Be(Ot) ? !1 : Ot.has(Dt);
|
|
482
482
|
},
|
|
483
483
|
OrdinaryDefineOwnMetadata: ls,
|
|
484
484
|
OrdinaryHasOwnMetadata: Pt,
|
|
485
485
|
OrdinaryGetOwnMetadata: os,
|
|
486
|
-
OrdinaryOwnMetadataKeys:
|
|
486
|
+
OrdinaryOwnMetadataKeys: Bt,
|
|
487
487
|
OrdinaryDeleteMetadata: At
|
|
488
488
|
};
|
|
489
489
|
return _e.registerProvider(vt), vt;
|
|
490
490
|
function St(Tt, Dt, Ot) {
|
|
491
491
|
var Ht = nt.get(Tt), Xt = !1;
|
|
492
|
-
if (
|
|
492
|
+
if (Be(Ht)) {
|
|
493
493
|
if (!Ot)
|
|
494
494
|
return;
|
|
495
495
|
Ht = new be(), nt.set(Tt, Ht), Xt = !0;
|
|
496
496
|
}
|
|
497
497
|
var ns = Ht.get(Dt);
|
|
498
|
-
if (
|
|
498
|
+
if (Be(ns)) {
|
|
499
499
|
if (!Ot)
|
|
500
500
|
return;
|
|
501
501
|
if (ns = new be(), Ht.set(Dt, ns), !it.setProvider(Tt, Dt, vt))
|
|
@@ -510,7 +510,7 @@ function require_Reflect() {
|
|
|
510
510
|
/*Create*/
|
|
511
511
|
!1
|
|
512
512
|
);
|
|
513
|
-
return
|
|
513
|
+
return Be(Ht) ? !1 : ot(Ht.has(Tt));
|
|
514
514
|
}
|
|
515
515
|
function os(Tt, Dt, Ot) {
|
|
516
516
|
var Ht = St(
|
|
@@ -519,7 +519,7 @@ function require_Reflect() {
|
|
|
519
519
|
/*Create*/
|
|
520
520
|
!1
|
|
521
521
|
);
|
|
522
|
-
if (!
|
|
522
|
+
if (!Be(Ht))
|
|
523
523
|
return Ht.get(Tt);
|
|
524
524
|
}
|
|
525
525
|
function ls(Tt, Dt, Ot, Ht) {
|
|
@@ -531,14 +531,14 @@ function require_Reflect() {
|
|
|
531
531
|
);
|
|
532
532
|
Xt.set(Tt, Dt);
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function Bt(Tt, Dt) {
|
|
535
535
|
var Ot = [], Ht = St(
|
|
536
536
|
Tt,
|
|
537
537
|
Dt,
|
|
538
538
|
/*Create*/
|
|
539
539
|
!1
|
|
540
540
|
);
|
|
541
|
-
if (
|
|
541
|
+
if (Be(Ht))
|
|
542
542
|
return Ot;
|
|
543
543
|
for (var Xt = Ht.keys(), ns = gt(Xt), ps = 0; ; ) {
|
|
544
544
|
var Es = xt(ns);
|
|
@@ -564,20 +564,20 @@ function require_Reflect() {
|
|
|
564
564
|
/*Create*/
|
|
565
565
|
!1
|
|
566
566
|
);
|
|
567
|
-
if (
|
|
567
|
+
if (Be(Ht) || !Ht.delete(Tt))
|
|
568
568
|
return !1;
|
|
569
569
|
if (Ht.size === 0) {
|
|
570
570
|
var Xt = nt.get(Dt);
|
|
571
|
-
|
|
571
|
+
Be(Xt) || (Xt.delete(Ot), Xt.size === 0 && nt.delete(Xt));
|
|
572
572
|
}
|
|
573
573
|
return !0;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
function cs(it) {
|
|
577
|
-
var nt = it.defineMetadata, vt = it.hasOwnMetadata, St = it.getOwnMetadata, Pt = it.getOwnMetadataKeys, os = it.deleteMetadata, ls = new ge(),
|
|
577
|
+
var nt = it.defineMetadata, vt = it.hasOwnMetadata, St = it.getOwnMetadata, Pt = it.getOwnMetadataKeys, os = it.deleteMetadata, ls = new ge(), Bt = {
|
|
578
578
|
isProviderFor: function(At, Tt) {
|
|
579
579
|
var Dt = ls.get(At);
|
|
580
|
-
return !
|
|
580
|
+
return !Be(Dt) && Dt.has(Tt) ? !0 : Pt(At, Tt).length ? (Be(Dt) && (Dt = new me(), ls.set(At, Dt)), Dt.add(Tt), !0) : !1;
|
|
581
581
|
},
|
|
582
582
|
OrdinaryDefineOwnMetadata: nt,
|
|
583
583
|
OrdinaryHasOwnMetadata: vt,
|
|
@@ -585,11 +585,11 @@ function require_Reflect() {
|
|
|
585
585
|
OrdinaryOwnMetadataKeys: Pt,
|
|
586
586
|
OrdinaryDeleteMetadata: os
|
|
587
587
|
};
|
|
588
|
-
return
|
|
588
|
+
return Bt;
|
|
589
589
|
}
|
|
590
590
|
function ds(it, nt, vt) {
|
|
591
591
|
var St = _e.getProvider(it, nt);
|
|
592
|
-
if (!
|
|
592
|
+
if (!Be(St))
|
|
593
593
|
return St;
|
|
594
594
|
if (vt) {
|
|
595
595
|
if (_e.setProvider(it, nt, we))
|
|
@@ -601,59 +601,59 @@ function require_Reflect() {
|
|
|
601
601
|
var it = {}, nt = [], vt = (
|
|
602
602
|
/** @class */
|
|
603
603
|
(function() {
|
|
604
|
-
function
|
|
604
|
+
function Bt(At, Tt, Dt) {
|
|
605
605
|
this._index = 0, this._keys = At, this._values = Tt, this._selector = Dt;
|
|
606
606
|
}
|
|
607
|
-
return
|
|
607
|
+
return Bt.prototype["@@iterator"] = function() {
|
|
608
608
|
return this;
|
|
609
|
-
},
|
|
609
|
+
}, Bt.prototype[de] = function() {
|
|
610
610
|
return this;
|
|
611
|
-
},
|
|
611
|
+
}, Bt.prototype.next = function() {
|
|
612
612
|
var At = this._index;
|
|
613
613
|
if (At >= 0 && At < this._keys.length) {
|
|
614
614
|
var Tt = this._selector(this._keys[At], this._values[At]);
|
|
615
615
|
return At + 1 >= this._keys.length ? (this._index = -1, this._keys = nt, this._values = nt) : this._index++, { value: Tt, done: !1 };
|
|
616
616
|
}
|
|
617
617
|
return { value: void 0, done: !0 };
|
|
618
|
-
},
|
|
618
|
+
}, Bt.prototype.throw = function(At) {
|
|
619
619
|
throw this._index >= 0 && (this._index = -1, this._keys = nt, this._values = nt), At;
|
|
620
|
-
},
|
|
620
|
+
}, Bt.prototype.return = function(At) {
|
|
621
621
|
return this._index >= 0 && (this._index = -1, this._keys = nt, this._values = nt), { value: At, done: !0 };
|
|
622
|
-
},
|
|
622
|
+
}, Bt;
|
|
623
623
|
})()
|
|
624
624
|
), St = (
|
|
625
625
|
/** @class */
|
|
626
626
|
(function() {
|
|
627
|
-
function
|
|
627
|
+
function Bt() {
|
|
628
628
|
this._keys = [], this._values = [], this._cacheKey = it, this._cacheIndex = -2;
|
|
629
629
|
}
|
|
630
|
-
return Object.defineProperty(
|
|
630
|
+
return Object.defineProperty(Bt.prototype, "size", {
|
|
631
631
|
get: function() {
|
|
632
632
|
return this._keys.length;
|
|
633
633
|
},
|
|
634
634
|
enumerable: !0,
|
|
635
635
|
configurable: !0
|
|
636
|
-
}),
|
|
636
|
+
}), Bt.prototype.has = function(At) {
|
|
637
637
|
return this._find(
|
|
638
638
|
At,
|
|
639
639
|
/*insert*/
|
|
640
640
|
!1
|
|
641
641
|
) >= 0;
|
|
642
|
-
},
|
|
642
|
+
}, Bt.prototype.get = function(At) {
|
|
643
643
|
var Tt = this._find(
|
|
644
644
|
At,
|
|
645
645
|
/*insert*/
|
|
646
646
|
!1
|
|
647
647
|
);
|
|
648
648
|
return Tt >= 0 ? this._values[Tt] : void 0;
|
|
649
|
-
},
|
|
649
|
+
}, Bt.prototype.set = function(At, Tt) {
|
|
650
650
|
var Dt = this._find(
|
|
651
651
|
At,
|
|
652
652
|
/*insert*/
|
|
653
653
|
!0
|
|
654
654
|
);
|
|
655
655
|
return this._values[Dt] = Tt, this;
|
|
656
|
-
},
|
|
656
|
+
}, Bt.prototype.delete = function(At) {
|
|
657
657
|
var Tt = this._find(
|
|
658
658
|
At,
|
|
659
659
|
/*insert*/
|
|
@@ -665,19 +665,19 @@ function require_Reflect() {
|
|
|
665
665
|
return this._keys.length--, this._values.length--, rs(At, this._cacheKey) && (this._cacheKey = it, this._cacheIndex = -2), !0;
|
|
666
666
|
}
|
|
667
667
|
return !1;
|
|
668
|
-
},
|
|
668
|
+
}, Bt.prototype.clear = function() {
|
|
669
669
|
this._keys.length = 0, this._values.length = 0, this._cacheKey = it, this._cacheIndex = -2;
|
|
670
|
-
},
|
|
670
|
+
}, Bt.prototype.keys = function() {
|
|
671
671
|
return new vt(this._keys, this._values, Pt);
|
|
672
|
-
},
|
|
672
|
+
}, Bt.prototype.values = function() {
|
|
673
673
|
return new vt(this._keys, this._values, os);
|
|
674
|
-
},
|
|
674
|
+
}, Bt.prototype.entries = function() {
|
|
675
675
|
return new vt(this._keys, this._values, ls);
|
|
676
|
-
},
|
|
676
|
+
}, Bt.prototype["@@iterator"] = function() {
|
|
677
677
|
return this.entries();
|
|
678
|
-
},
|
|
678
|
+
}, Bt.prototype[de] = function() {
|
|
679
679
|
return this.entries();
|
|
680
|
-
},
|
|
680
|
+
}, Bt.prototype._find = function(At, Tt) {
|
|
681
681
|
if (!rs(this._cacheKey, At)) {
|
|
682
682
|
this._cacheIndex = -1;
|
|
683
683
|
for (var Dt = 0; Dt < this._keys.length; Dt++)
|
|
@@ -687,18 +687,18 @@ function require_Reflect() {
|
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
689
|
return this._cacheIndex < 0 && Tt && (this._cacheIndex = this._keys.length, this._keys.push(At), this._values.push(void 0)), this._cacheIndex;
|
|
690
|
-
},
|
|
690
|
+
}, Bt;
|
|
691
691
|
})()
|
|
692
692
|
);
|
|
693
693
|
return St;
|
|
694
|
-
function Pt(
|
|
695
|
-
return
|
|
694
|
+
function Pt(Bt, At) {
|
|
695
|
+
return Bt;
|
|
696
696
|
}
|
|
697
|
-
function os(
|
|
697
|
+
function os(Bt, At) {
|
|
698
698
|
return At;
|
|
699
699
|
}
|
|
700
|
-
function ls(
|
|
701
|
-
return [
|
|
700
|
+
function ls(Bt, At) {
|
|
701
|
+
return [Bt, At];
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
function ks() {
|
|
@@ -781,7 +781,7 @@ function require_Reflect() {
|
|
|
781
781
|
function St() {
|
|
782
782
|
var At;
|
|
783
783
|
do
|
|
784
|
-
At = "@@WeakMap@@" +
|
|
784
|
+
At = "@@WeakMap@@" + Bt();
|
|
785
785
|
while (pe.has(nt, At));
|
|
786
786
|
return nt[At] = !0, At;
|
|
787
787
|
}
|
|
@@ -805,7 +805,7 @@ function require_Reflect() {
|
|
|
805
805
|
}
|
|
806
806
|
return os(new Array(At), At);
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function Bt() {
|
|
809
809
|
var At = ls(it);
|
|
810
810
|
At[6] = At[6] & 79 | 64, At[8] = At[8] & 191 | 128;
|
|
811
811
|
for (var Tt = "", Dt = 0; Dt < it; ++Dt) {
|
|
@@ -4771,11 +4771,11 @@ const resolveConfig = (J) => {
|
|
|
4771
4771
|
duplex: "half"
|
|
4772
4772
|
}), Ue;
|
|
4773
4773
|
if (utils$1.isFormData(_e) && (Ue = Me.headers.get("content-type")) && Fe.setContentType(Ue), Me.body) {
|
|
4774
|
-
const [
|
|
4774
|
+
const [Be, Qe] = progressEventDecorator(
|
|
4775
4775
|
We,
|
|
4776
4776
|
progressEventReducer(asyncDecorator(Le))
|
|
4777
4777
|
);
|
|
4778
|
-
_e = trackStream(Me.body, DEFAULT_CHUNK_SIZE,
|
|
4778
|
+
_e = trackStream(Me.body, DEFAULT_CHUNK_SIZE, Be, Qe);
|
|
4779
4779
|
}
|
|
4780
4780
|
}
|
|
4781
4781
|
utils$1.isString(He) || (He = He ? "include" : "omit");
|
|
@@ -4796,12 +4796,12 @@ const resolveConfig = (J) => {
|
|
|
4796
4796
|
["status", "statusText", "headers"].forEach((Xe) => {
|
|
4797
4797
|
Me[Xe] = ft[Xe];
|
|
4798
4798
|
});
|
|
4799
|
-
const Ue = utils$1.toFiniteNumber(ft.headers.get("content-length")), [
|
|
4799
|
+
const Ue = utils$1.toFiniteNumber(ft.headers.get("content-length")), [Be, Qe] = Ce && progressEventDecorator(
|
|
4800
4800
|
Ue,
|
|
4801
4801
|
progressEventReducer(asyncDecorator(Ce), !0)
|
|
4802
4802
|
) || [];
|
|
4803
4803
|
ft = new te(
|
|
4804
|
-
trackStream(ft.body, DEFAULT_CHUNK_SIZE,
|
|
4804
|
+
trackStream(ft.body, DEFAULT_CHUNK_SIZE, Be, () => {
|
|
4805
4805
|
Qe && Qe(), ze && ze();
|
|
4806
4806
|
}),
|
|
4807
4807
|
Me
|
|
@@ -5886,11 +5886,11 @@ function peg$parse(J, W) {
|
|
|
5886
5886
|
return vs.pop(), Oe.replace(/\s*$/, "");
|
|
5887
5887
|
}, Ge = ",", Ye = us(",", !1), ft = "number", Je = us("number", !1), Ze = function(Oe, je, tt) {
|
|
5888
5888
|
return __assign$4({ type: je === "number" ? TYPE.number : je === "date" ? TYPE.date : TYPE.time, style: tt && tt[2], value: Oe }, _s());
|
|
5889
|
-
}, Me = "'", Ue = us("'", !1),
|
|
5889
|
+
}, Me = "'", Ue = us("'", !1), Be = /^[^']/, Qe = $s(["'"], !0, !1), Xe = /^[^a-zA-Z'{}]/, Ve = $s([["a", "z"], ["A", "Z"], "'", "{", "}"], !0, !1), Ke = /^[a-zA-Z]/, rt = $s([["a", "z"], ["A", "Z"]], !1, !1), ot = function(Oe) {
|
|
5890
5890
|
return __assign$4({ type: 1, pattern: Oe }, _s());
|
|
5891
5891
|
}, _t = function() {
|
|
5892
5892
|
return vs.push("dateOrTimeArgStyle"), !0;
|
|
5893
|
-
}, kt = "date", It = us("date", !1), qt = "time", Nt = us("time", !1),
|
|
5893
|
+
}, kt = "date", It = us("date", !1), qt = "time", Nt = us("time", !1), Vt = "plural", rs = us("plural", !1), Kt = "selectordinal", gt = us("selectordinal", !1), mt = "offset:", xt = us("offset:", !1), Ct = function(Oe, je, tt, bt) {
|
|
5894
5894
|
return __assign$4({ type: TYPE.plural, pluralType: je === "plural" ? "cardinal" : "ordinal", value: Oe, offset: tt ? tt[2] : 0, options: bt.reduce(function(wt, Lt) {
|
|
5895
5895
|
var es = Lt.id, Ut = Lt.value, fs = Lt.location;
|
|
5896
5896
|
return es in wt && li('Duplicate option "' + es + '" in plural element: "' + ai() + '"', Is()), wt[es] = {
|
|
@@ -5920,7 +5920,7 @@ function peg$parse(J, W) {
|
|
|
5920
5920
|
id: Oe,
|
|
5921
5921
|
value: je
|
|
5922
5922
|
}, _s());
|
|
5923
|
-
}, hs = bs("whitespace"), it = /^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, nt = $s([[" ", "\r"], " ", "
", " ", " ", [" ", " "], "\u2028", "\u2029", " ", " ", " "], !1, !1), vt = bs("syntax pattern"), St = /^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/, Pt = $s([["!", "/"], [":", "@"], ["[", "^"], "`", ["{", "~"], ["¡", "§"], "©", "«", "¬", "®", "°", "±", "¶", "»", "¿", "×", "÷", ["‐", "‧"], ["‰", "‾"], ["⁁", "⁓"], ["⁕", "⁞"], ["←", ""], ["─", "❵"], ["➔", "⯿"], ["⸀", ""], ["、", "〃"], ["〈", "〠"], "〰", "﴾", "﴿", "﹅", "﹆"], !1, !1), os = bs("optional whitespace"), ls = bs("number"),
|
|
5923
|
+
}, hs = bs("whitespace"), it = /^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, nt = $s([[" ", "\r"], " ", "
", " ", " ", [" ", " "], "\u2028", "\u2029", " ", " ", " "], !1, !1), vt = bs("syntax pattern"), St = /^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/, Pt = $s([["!", "/"], [":", "@"], ["[", "^"], "`", ["{", "~"], ["¡", "§"], "©", "«", "¬", "®", "°", "±", "¶", "»", "¿", "×", "÷", ["‐", "‧"], ["‰", "‾"], ["⁁", "⁓"], ["⁕", "⁞"], ["←", ""], ["─", "❵"], ["➔", "⯿"], ["⸀", ""], ["、", "〃"], ["〈", "〠"], "〰", "﴾", "﴿", "﹅", "﹆"], !1, !1), os = bs("optional whitespace"), ls = bs("number"), Bt = "-", At = us("-", !1), Tt = function(Oe, je) {
|
|
5924
5924
|
return je ? Oe ? -je : je : 0;
|
|
5925
5925
|
}, Dt = bs("double apostrophes"), Ot = "''", Ht = us("''", !1), Xt = function() {
|
|
5926
5926
|
return "'";
|
|
@@ -5949,7 +5949,7 @@ function peg$parse(J, W) {
|
|
|
5949
5949
|
return Os(Gt, Ne);
|
|
5950
5950
|
}
|
|
5951
5951
|
function li(Oe, je) {
|
|
5952
|
-
throw je = je !== void 0 ? je : Os(Gt, Ne),
|
|
5952
|
+
throw je = je !== void 0 ? je : Os(Gt, Ne), Bi(Oe, je);
|
|
5953
5953
|
}
|
|
5954
5954
|
function us(Oe, je) {
|
|
5955
5955
|
return { type: "literal", text: Oe, ignoreCase: je };
|
|
@@ -5997,10 +5997,10 @@ function peg$parse(J, W) {
|
|
|
5997
5997
|
function Et(Oe) {
|
|
5998
5998
|
Ne < ms || (Ne > ms && (ms = Ne, Rs = []), Rs.push(Oe));
|
|
5999
5999
|
}
|
|
6000
|
-
function
|
|
6000
|
+
function Bi(Oe, je) {
|
|
6001
6001
|
return new SyntaxError(Oe, [], "", je);
|
|
6002
6002
|
}
|
|
6003
|
-
function
|
|
6003
|
+
function Vi(Oe, je, tt) {
|
|
6004
6004
|
return new SyntaxError(SyntaxError.buildMessage(Oe, je), Oe, je, tt);
|
|
6005
6005
|
}
|
|
6006
6006
|
function ci() {
|
|
@@ -6084,18 +6084,18 @@ function peg$parse(J, W) {
|
|
|
6084
6084
|
function bi() {
|
|
6085
6085
|
var Oe, je, tt, bt;
|
|
6086
6086
|
if (Oe = Ne, J.charCodeAt(Ne) === 39 ? (je = Me, Ne++) : (je = X, yt === 0 && Et(Ue)), je !== X) {
|
|
6087
|
-
if (tt = [], bt = xs(), bt === X && (
|
|
6087
|
+
if (tt = [], bt = xs(), bt === X && (Be.test(J.charAt(Ne)) ? (bt = J.charAt(Ne), Ne++) : (bt = X, yt === 0 && Et(Qe))), bt !== X)
|
|
6088
6088
|
for (; bt !== X; )
|
|
6089
|
-
tt.push(bt), bt = xs(), bt === X && (
|
|
6089
|
+
tt.push(bt), bt = xs(), bt === X && (Be.test(J.charAt(Ne)) ? (bt = J.charAt(Ne), Ne++) : (bt = X, yt === 0 && Et(Qe)));
|
|
6090
6090
|
else
|
|
6091
6091
|
tt = X;
|
|
6092
6092
|
tt !== X ? (J.charCodeAt(Ne) === 39 ? (bt = Me, Ne++) : (bt = X, yt === 0 && Et(Ue)), bt !== X ? (je = [je, tt, bt], Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X);
|
|
6093
6093
|
} else
|
|
6094
6094
|
Ne = Oe, Oe = X;
|
|
6095
6095
|
if (Oe === X)
|
|
6096
|
-
if (Oe = [], je = xs(), je === X && (Xe.test(J.charAt(Ne)) ? (je = J.charAt(Ne), Ne++) : (je = X, yt === 0 && Et(
|
|
6096
|
+
if (Oe = [], je = xs(), je === X && (Xe.test(J.charAt(Ne)) ? (je = J.charAt(Ne), Ne++) : (je = X, yt === 0 && Et(Ve))), je !== X)
|
|
6097
6097
|
for (; je !== X; )
|
|
6098
|
-
Oe.push(je), je = xs(), je === X && (Xe.test(J.charAt(Ne)) ? (je = J.charAt(Ne), Ne++) : (je = X, yt === 0 && Et(
|
|
6098
|
+
Oe.push(je), je = xs(), je === X && (Xe.test(J.charAt(Ne)) ? (je = J.charAt(Ne), Ne++) : (je = X, yt === 0 && Et(Ve)));
|
|
6099
6099
|
else
|
|
6100
6100
|
Oe = X;
|
|
6101
6101
|
return Oe;
|
|
@@ -6138,7 +6138,7 @@ function peg$parse(J, W) {
|
|
|
6138
6138
|
if (wt = jt(), wt !== X)
|
|
6139
6139
|
if (J.charCodeAt(Ne) === 44 ? (Lt = Ge, Ne++) : (Lt = X, yt === 0 && Et(Ye)), Lt !== X)
|
|
6140
6140
|
if (es = jt(), es !== X)
|
|
6141
|
-
if (J.substr(Ne, 6) ===
|
|
6141
|
+
if (J.substr(Ne, 6) === Vt ? (Ut = Vt, Ne += 6) : (Ut = X, yt === 0 && Et(rs)), Ut === X && (J.substr(Ne, 13) === Kt ? (Ut = Kt, Ne += 13) : (Ut = X, yt === 0 && Et(gt))), Ut !== X)
|
|
6142
6142
|
if (fs = jt(), fs !== X)
|
|
6143
6143
|
if (J.charCodeAt(Ne) === 44 ? (Wt = Ge, Ne++) : (Wt = X, yt === 0 && Et(Ye)), Wt !== X)
|
|
6144
6144
|
if (as = jt(), as !== X)
|
|
@@ -6244,7 +6244,7 @@ function peg$parse(J, W) {
|
|
|
6244
6244
|
}
|
|
6245
6245
|
function yi() {
|
|
6246
6246
|
var Oe, je, tt;
|
|
6247
|
-
return yt++, Oe = Ne, J.charCodeAt(Ne) === 45 ? (je =
|
|
6247
|
+
return yt++, Oe = Ne, J.charCodeAt(Ne) === 45 ? (je = Bt, Ne++) : (je = X, yt === 0 && Et(At)), je === X && (je = null), je !== X ? (tt = xi(), tt !== X ? (Gt = Oe, je = Tt(je, tt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X), yt--, Oe === X && (je = X, yt === 0 && Et(ls)), Oe;
|
|
6248
6248
|
}
|
|
6249
6249
|
function xs() {
|
|
6250
6250
|
var Oe, je;
|
|
@@ -6254,8 +6254,8 @@ function peg$parse(J, W) {
|
|
|
6254
6254
|
var Oe, je, tt, bt, wt, Lt;
|
|
6255
6255
|
if (Oe = Ne, J.charCodeAt(Ne) === 39 ? (je = Me, Ne++) : (je = X, yt === 0 && Et(Ue)), je !== X)
|
|
6256
6256
|
if (tt = or(), tt !== X) {
|
|
6257
|
-
for (bt = Ne, wt = [], J.substr(Ne, 2) === Ot ? (Lt = Ot, Ne += 2) : (Lt = X, yt === 0 && Et(Ht)), Lt === X && (
|
|
6258
|
-
wt.push(Lt), J.substr(Ne, 2) === Ot ? (Lt = Ot, Ne += 2) : (Lt = X, yt === 0 && Et(Ht)), Lt === X && (
|
|
6257
|
+
for (bt = Ne, wt = [], J.substr(Ne, 2) === Ot ? (Lt = Ot, Ne += 2) : (Lt = X, yt === 0 && Et(Ht)), Lt === X && (Be.test(J.charAt(Ne)) ? (Lt = J.charAt(Ne), Ne++) : (Lt = X, yt === 0 && Et(Qe))); Lt !== X; )
|
|
6258
|
+
wt.push(Lt), J.substr(Ne, 2) === Ot ? (Lt = Ot, Ne += 2) : (Lt = X, yt === 0 && Et(Ht)), Lt === X && (Be.test(J.charAt(Ne)) ? (Lt = J.charAt(Ne), Ne++) : (Lt = X, yt === 0 && Et(Qe)));
|
|
6259
6259
|
wt !== X ? bt = J.substring(bt, Ne) : bt = wt, bt !== X ? (J.charCodeAt(Ne) === 39 ? (wt = Me, Ne++) : (wt = X, yt === 0 && Et(Ue)), wt === X && (wt = null), wt !== X ? (Gt = Oe, je = ns(tt, bt), Oe = je) : (Ne = Oe, Oe = X)) : (Ne = Oe, Oe = X);
|
|
6260
6260
|
} else
|
|
6261
6261
|
Ne = Oe, Oe = X;
|
|
@@ -6311,7 +6311,7 @@ function peg$parse(J, W) {
|
|
|
6311
6311
|
}
|
|
6312
6312
|
if (Ts = re(), Ts !== X && Ne === J.length)
|
|
6313
6313
|
return Ts;
|
|
6314
|
-
throw Ts !== X && Ne < J.length && Et(Hi()),
|
|
6314
|
+
throw Ts !== X && Ne < J.length && Et(Hi()), Vi(Rs, ms < J.length ? J.charAt(ms) : null, ms < J.length ? Os(ms, ms + 1) : Os(ms, ms));
|
|
6315
6315
|
}
|
|
6316
6316
|
var pegParse = peg$parse, __spreadArrays$2 = function() {
|
|
6317
6317
|
for (var J = 0, W = 0, X = arguments.length; W < X; W++) J += arguments[W].length;
|
|
@@ -7025,8 +7025,7 @@ const useLocalization = async (J) => {
|
|
|
7025
7025
|
create: "Crear",
|
|
7026
7026
|
toggleMenuClose: "Tancar menú",
|
|
7027
7027
|
toggleMenuOpen: "Expandir menú",
|
|
7028
|
-
askExit: "Atenció, vols sortir igualment?"
|
|
7029
|
-
finalizeVisit: "Finalitzar visita"
|
|
7028
|
+
askExit: "Atenció, vols sortir igualment?"
|
|
7030
7029
|
},
|
|
7031
7030
|
errors: {
|
|
7032
7031
|
session: "Hi ha hagut un error amb la sessió. Siusplau, tanca i torna a obrir l'aplicació.",
|
|
@@ -7187,7 +7186,7 @@ const Jt = (J, W, X) => {
|
|
|
7187
7186
|
}
|
|
7188
7187
|
return this.ut = ne, dt(J, ce), R$3;
|
|
7189
7188
|
}
|
|
7190
|
-
}), template$
|
|
7189
|
+
}), template$q = (J) => {
|
|
7191
7190
|
const W = (X) => ke$1`
|
|
7192
7191
|
<div class="pdf-item">
|
|
7193
7192
|
<dss-checkbox @onChange=${() => J.setActivePdf(X.id)}>
|
|
@@ -7213,7 +7212,7 @@ const Jt = (J, W, X) => {
|
|
|
7213
7212
|
</div>
|
|
7214
7213
|
`;
|
|
7215
7214
|
};
|
|
7216
|
-
var __defProp$t = Object.defineProperty, __decorateClass$
|
|
7215
|
+
var __defProp$t = Object.defineProperty, __decorateClass$y = (J, W, X, te) => {
|
|
7217
7216
|
for (var re = void 0, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
7218
7217
|
(ne = J[oe]) && (re = ne(W, X, re) || re);
|
|
7219
7218
|
return re && __defProp$t(W, X, re), re;
|
|
@@ -7223,7 +7222,7 @@ const zs = class zs extends h$p {
|
|
|
7223
7222
|
super(...arguments), this.activePdfs = [];
|
|
7224
7223
|
}
|
|
7225
7224
|
render() {
|
|
7226
|
-
return template$
|
|
7225
|
+
return template$q(this);
|
|
7227
7226
|
}
|
|
7228
7227
|
removePdf(W) {
|
|
7229
7228
|
this.dispatchEvent(
|
|
@@ -7244,10 +7243,10 @@ zs.styles = i$R`
|
|
|
7244
7243
|
${r$O(styles$r)}
|
|
7245
7244
|
`;
|
|
7246
7245
|
let PdfSelector = zs;
|
|
7247
|
-
__decorateClass$
|
|
7246
|
+
__decorateClass$y([
|
|
7248
7247
|
n$y({ type: Array })
|
|
7249
7248
|
], PdfSelector.prototype, "pdfList");
|
|
7250
|
-
__decorateClass$
|
|
7249
|
+
__decorateClass$y([
|
|
7251
7250
|
n$y({ type: Array })
|
|
7252
7251
|
], PdfSelector.prototype, "activePdfs");
|
|
7253
7252
|
var NAMED_TAG = "named", NAME_TAG = "name", UNMANAGED_TAG = "unmanaged", OPTIONAL_TAG = "optional", INJECT_TAG = "inject", MULTI_INJECT_TAG = "multi_inject", TAGGED = "inversify:tagged", TAGGED_PROP = "inversify:tagged_props", PARAM_TYPES = "inversify:paramtypes", DESIGN_PARAM_TYPES = "design:paramtypes", POST_CONSTRUCT = "post_construct", PRE_DESTROY = "pre_destroy";
|
|
@@ -9251,7 +9250,7 @@ const container$1 = new Container(), { lazyInject: lazyInject$1 } = getDecorator
|
|
|
9251
9250
|
}, TYPES$1 = {
|
|
9252
9251
|
primaryApi: Symbol.for("primaryApi")
|
|
9253
9252
|
}, styles$q = ":host{min-height:1px;height:100%;width:100%;display:flex}iframe{border:none;flex:1;height:100%}.pdf-container{display:flex;justify-content:center;align-items:center;height:100%;flex:1;border:1px solid #ccc}.no-pdf{text-align:center;color:#666;font-size:1.2rem;font-weight:700}";
|
|
9254
|
-
var __defProp$s = Object.defineProperty, __decorateClass$
|
|
9253
|
+
var __defProp$s = Object.defineProperty, __decorateClass$x = (J, W, X, te) => {
|
|
9255
9254
|
for (var re = void 0, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
9256
9255
|
(ne = J[oe]) && (re = ne(W, X, re) || re);
|
|
9257
9256
|
return re && __defProp$s(W, X, re), re;
|
|
@@ -9323,17 +9322,17 @@ const Ns = class Ns extends h$p {
|
|
|
9323
9322
|
};
|
|
9324
9323
|
Ns.styles = i$R`${r$O(styles$q)}`;
|
|
9325
9324
|
let PdfVisor = Ns;
|
|
9326
|
-
__decorateClass$
|
|
9325
|
+
__decorateClass$x([
|
|
9327
9326
|
lazyInject$1(TYPES$1.primaryApi)
|
|
9328
9327
|
], PdfVisor.prototype, "api");
|
|
9329
|
-
__decorateClass$
|
|
9328
|
+
__decorateClass$x([
|
|
9330
9329
|
n$y({ type: Array })
|
|
9331
9330
|
], PdfVisor.prototype, "pdfList");
|
|
9332
|
-
__decorateClass$
|
|
9331
|
+
__decorateClass$x([
|
|
9333
9332
|
n$y({ type: Array })
|
|
9334
9333
|
], PdfVisor.prototype, "activePdfs");
|
|
9335
9334
|
const styles$p = ":host{display:block}.tooltip-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;pointer-events:none}.navigation-tooltip{position:absolute;min-width:250px;transform:translateY(-50%);background:#eaf7fd;color:#0f4877;border:2px solid #0F4877;padding:12px 16px;border-radius:10px;white-space:nowrap;box-shadow:0 2px 8px #00000026;font-size:13px;font-family:var(--etc-font-family, inherit);font-weight:500;animation:fadeInOut 5s ease-in-out forwards;display:flex;align-items:center;gap:8px}.tooltip-icon{font-size:16px}.arrow{position:absolute;right:100%;top:50%;transform:translateY(-50%);width:0;height:0;border:12px solid transparent;border-right-color:#0f4877}@keyframes fadeInOut{0%{opacity:0;transform:translateY(-50%) translate(-10px)}10%{opacity:1;transform:translateY(-50%) translate(0)}90%{opacity:1;transform:translateY(-50%) translate(0)}to{opacity:0;transform:translateY(-50%) translate(-10px)}}";
|
|
9336
|
-
var __defProp$r = Object.defineProperty, __decorateClass$
|
|
9335
|
+
var __defProp$r = Object.defineProperty, __decorateClass$w = (J, W, X, te) => {
|
|
9337
9336
|
for (var re = void 0, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
9338
9337
|
(ne = J[oe]) && (re = ne(W, X, re) || re);
|
|
9339
9338
|
return re && __defProp$r(W, X, re), re;
|
|
@@ -9359,10 +9358,10 @@ Hs.styles = i$R`
|
|
|
9359
9358
|
${r$O(styles$p)}
|
|
9360
9359
|
`;
|
|
9361
9360
|
let NavigationTooltip = Hs;
|
|
9362
|
-
__decorateClass$
|
|
9361
|
+
__decorateClass$w([
|
|
9363
9362
|
n$y({ type: String })
|
|
9364
9363
|
], NavigationTooltip.prototype, "text");
|
|
9365
|
-
__decorateClass$
|
|
9364
|
+
__decorateClass$w([
|
|
9366
9365
|
n$y({ type: Number })
|
|
9367
9366
|
], NavigationTooltip.prototype, "itemAbsoluteY");
|
|
9368
9367
|
customElements.define("navigation-tooltip", NavigationTooltip);
|
|
@@ -9421,7 +9420,7 @@ class PdfViewerManager {
|
|
|
9421
9420
|
return this.pdfs;
|
|
9422
9421
|
}
|
|
9423
9422
|
}
|
|
9424
|
-
const createPdfViewerManager = (J, W) => new PdfViewerManager(J, W), styles$o = ".container{display:flex;flex-direction:column;gap:4px;align-items:center}.title{font-size:15px;line-height:24px;font-weight:600;color:var(--color-red-600)}.list{display:flex;flex-direction:column;gap:8px}.plugin-busy-item{text-align:center;border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:var(--dss-radius-lg);padding:var(--dss-spacing-md)}", template$
|
|
9423
|
+
const createPdfViewerManager = (J, W) => new PdfViewerManager(J, W), styles$o = ".container{display:flex;flex-direction:column;gap:4px;align-items:center}.title{font-size:15px;line-height:24px;font-weight:600;color:var(--color-red-600)}.list{display:flex;flex-direction:column;gap:8px}.plugin-busy-item{text-align:center;border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:var(--dss-radius-lg);padding:var(--dss-spacing-md)}", template$p = (J) => ke$1`
|
|
9425
9424
|
<div class="container">
|
|
9426
9425
|
<div class="title">${translate$1("busyManager.title")}</div>
|
|
9427
9426
|
<div class="list">
|
|
@@ -9435,15 +9434,15 @@ const createPdfViewerManager = (J, W) => new PdfViewerManager(J, W), styles$o =
|
|
|
9435
9434
|
)}
|
|
9436
9435
|
</div>
|
|
9437
9436
|
</div>
|
|
9438
|
-
`,
|
|
9437
|
+
`, Bs = class Bs extends h$p {
|
|
9439
9438
|
render() {
|
|
9440
|
-
return ke$1`${template$
|
|
9439
|
+
return ke$1`${template$p(this)}`;
|
|
9441
9440
|
}
|
|
9442
9441
|
};
|
|
9443
|
-
|
|
9442
|
+
Bs.styles = i$R`
|
|
9444
9443
|
${r$O(styles$o)}
|
|
9445
9444
|
`;
|
|
9446
|
-
let PluginBusyList =
|
|
9445
|
+
let PluginBusyList = Bs;
|
|
9447
9446
|
class PluginBusyManagerImpl {
|
|
9448
9447
|
constructor() {
|
|
9449
9448
|
this.tasks = [], customElements.get("plugin-busy-list") || t$v("plugin-busy-list")(PluginBusyList);
|
|
@@ -9666,7 +9665,7 @@ class ImportDataManagerImpl {
|
|
|
9666
9665
|
async import(W) {
|
|
9667
9666
|
this.currentImporterId = W, this.selectedItems = {}, this.pluginTexts = {};
|
|
9668
9667
|
try {
|
|
9669
|
-
const { ImportDataManagerModal: X } = await import("./component-
|
|
9668
|
+
const { ImportDataManagerModal: X } = await import("./component-DVhgBGqC.js"), { confirmed: te } = await this.interactionService.confirm(
|
|
9670
9669
|
void 0,
|
|
9671
9670
|
{ component: X },
|
|
9672
9671
|
{
|
|
@@ -11301,38 +11300,38 @@ const container = new Container(), { lazyInject } = getDecorators(container), bi
|
|
|
11301
11300
|
}, unbindDeps = () => {
|
|
11302
11301
|
container.unbind(TYPES.primaryApi), container.unbind(TYPES.store);
|
|
11303
11302
|
};
|
|
11304
|
-
var __getOwnPropDesc$
|
|
11305
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
11303
|
+
var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor, __decorateClass$v = (J, W, X, te) => {
|
|
11304
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$h(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
11306
11305
|
(ne = J[oe]) && (re = ne(re) || re);
|
|
11307
11306
|
return re;
|
|
11308
|
-
}, __decorateParam$
|
|
11307
|
+
}, __decorateParam$3 = (J, W) => (X, te) => W(X, te, J);
|
|
11309
11308
|
let StoreBaseHandler = class {
|
|
11310
11309
|
constructor(J) {
|
|
11311
11310
|
this.store = J;
|
|
11312
11311
|
}
|
|
11313
11312
|
};
|
|
11314
|
-
StoreBaseHandler = __decorateClass$
|
|
11313
|
+
StoreBaseHandler = __decorateClass$v([
|
|
11315
11314
|
injectable(),
|
|
11316
|
-
__decorateParam$
|
|
11315
|
+
__decorateParam$3(0, inject(TYPES.store))
|
|
11317
11316
|
], StoreBaseHandler);
|
|
11318
11317
|
let ApiBaseHandler = class {
|
|
11319
11318
|
constructor(J) {
|
|
11320
11319
|
this.api = J;
|
|
11321
11320
|
}
|
|
11322
11321
|
};
|
|
11323
|
-
ApiBaseHandler = __decorateClass$
|
|
11322
|
+
ApiBaseHandler = __decorateClass$v([
|
|
11324
11323
|
injectable(),
|
|
11325
|
-
__decorateParam$
|
|
11324
|
+
__decorateParam$3(0, inject(TYPES.primaryApi))
|
|
11326
11325
|
], ApiBaseHandler);
|
|
11327
11326
|
let BaseHandler = class {
|
|
11328
11327
|
constructor(J, W) {
|
|
11329
11328
|
this.store = J, this.api = W;
|
|
11330
11329
|
}
|
|
11331
11330
|
};
|
|
11332
|
-
BaseHandler = __decorateClass$
|
|
11331
|
+
BaseHandler = __decorateClass$v([
|
|
11333
11332
|
injectable(),
|
|
11334
|
-
__decorateParam$
|
|
11335
|
-
__decorateParam$
|
|
11333
|
+
__decorateParam$3(0, inject(TYPES.store)),
|
|
11334
|
+
__decorateParam$3(1, inject(TYPES.primaryApi))
|
|
11336
11335
|
], BaseHandler);
|
|
11337
11336
|
const { addBusyHistoryItem, removeBusyHistoryItem } = activityHistoryCollectionsSlice.actions, { addErrorHistoryItem, removeErrorHistoryItem } = activityHistoryCollectionsSlice.actions, validateAddAsyncCommand = (J, W) => {
|
|
11338
11337
|
if (!J.filters)
|
|
@@ -11378,14 +11377,14 @@ class InjectAsyncHistoryItemsHandler extends BaseHandler {
|
|
|
11378
11377
|
}
|
|
11379
11378
|
}
|
|
11380
11379
|
}
|
|
11381
|
-
let request$
|
|
11380
|
+
let request$i;
|
|
11382
11381
|
const bootstrapInjectAsyncHistoryItems = (J, W) => {
|
|
11383
|
-
request$
|
|
11382
|
+
request$i = J.registerRequest(
|
|
11384
11383
|
W.broker.events.activityHistory.injectAsyncHistoryItemsRequest,
|
|
11385
11384
|
InjectAsyncHistoryItemsHandler
|
|
11386
11385
|
);
|
|
11387
11386
|
}, teardownInjectAsyncHistoryItems = () => {
|
|
11388
|
-
request$
|
|
11387
|
+
request$i?.dispose();
|
|
11389
11388
|
};
|
|
11390
11389
|
let pluginLocaleManager;
|
|
11391
11390
|
const initializeLocalization = async (J) => {
|
|
@@ -11532,11 +11531,11 @@ class AddHistoryItemHandler extends BaseHandler {
|
|
|
11532
11531
|
}
|
|
11533
11532
|
}
|
|
11534
11533
|
}
|
|
11535
|
-
let request$
|
|
11534
|
+
let request$h;
|
|
11536
11535
|
const bootstrapAddHistoryItem = (J, W) => {
|
|
11537
|
-
request$
|
|
11536
|
+
request$h = J.registerRequest(W.broker.events.activityHistory.addHistoryItemRequest, AddHistoryItemHandler);
|
|
11538
11537
|
}, teardownAddHistoryItem = () => {
|
|
11539
|
-
request$
|
|
11538
|
+
request$h?.dispose();
|
|
11540
11539
|
};
|
|
11541
11540
|
class AddCustomFiltersCommand {
|
|
11542
11541
|
constructor(W) {
|
|
@@ -11573,24 +11572,24 @@ class AddHistoryItemsHandler extends BaseHandler {
|
|
|
11573
11572
|
return re.length < W.length && this.api.notificationService.warning(translate("warning.someItemsAlreadyExist")), re;
|
|
11574
11573
|
}
|
|
11575
11574
|
}
|
|
11576
|
-
let request$
|
|
11575
|
+
let request$g;
|
|
11577
11576
|
const bootstrapAddHistoryItems = (J, W) => {
|
|
11578
|
-
request$
|
|
11577
|
+
request$g = J.registerRequest(W.broker.events.activityHistory.addHistoryItemsRequest, AddHistoryItemsHandler);
|
|
11579
11578
|
}, teardownAddHistoryItems = () => {
|
|
11580
|
-
request$
|
|
11579
|
+
request$g?.dispose();
|
|
11581
11580
|
};
|
|
11582
11581
|
function connectedProperty(J, W = {}) {
|
|
11583
11582
|
return createConnectedProperty(store)(J, W);
|
|
11584
11583
|
}
|
|
11585
|
-
const isAnyCollectionBusySelector = (J) => J.activityHistoryCollections.busy.length > 0, isSomeCollectionLoadedAndOtherLoading = (J) => Object.values(J.activityHistoryCollections.collections) && isAnyCollectionBusySelector(J), isEmptyDataAndOtherLoading = (J) => !Object.values(J.activityHistoryCollections.collections)?.length && isAnyCollectionBusySelector(J), styles$n = ".spinner-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}.skeleton-container{padding:20px;height:100%}", template$
|
|
11586
|
-
var __defProp$q = Object.defineProperty, __getOwnPropDesc$
|
|
11587
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
11584
|
+
const isAnyCollectionBusySelector = (J) => J.activityHistoryCollections.busy.length > 0, isSomeCollectionLoadedAndOtherLoading = (J) => Object.values(J.activityHistoryCollections.collections) && isAnyCollectionBusySelector(J), isEmptyDataAndOtherLoading = (J) => !Object.values(J.activityHistoryCollections.collections)?.length && isAnyCollectionBusySelector(J), styles$n = ".spinner-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}.skeleton-container{padding:20px;height:100%}", template$o = (J) => J.isEmptyDataAndOtherLoading ? ke$1`<div class="skeleton-container">${J.skeletons}</div>` : J.isSomeCollectionLoadedAndOtherLoading ? ke$1`<div class="spinner-container"><dss-spinner size="sm"></dss-spinner><div class="busy-description">${translate("busyEntriesLoading")}</div></div>` : D$5;
|
|
11585
|
+
var __defProp$q = Object.defineProperty, __getOwnPropDesc$g = Object.getOwnPropertyDescriptor, __decorateClass$u = (J, W, X, te) => {
|
|
11586
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$g(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
11588
11587
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
11589
11588
|
return te && re && __defProp$q(W, X, re), re;
|
|
11590
11589
|
};
|
|
11591
11590
|
let ActivityHistoryBusy = class extends h$p {
|
|
11592
11591
|
render() {
|
|
11593
|
-
return ke$1`${template$
|
|
11592
|
+
return ke$1`${template$o(this)}`;
|
|
11594
11593
|
}
|
|
11595
11594
|
get skeletons() {
|
|
11596
11595
|
return Array.from({ length: 12 }, () => ke$1`<dss-skeleton width="100" height="10"></dss-skeleton>`);
|
|
@@ -11599,13 +11598,13 @@ let ActivityHistoryBusy = class extends h$p {
|
|
|
11599
11598
|
ActivityHistoryBusy.styles = i$R`
|
|
11600
11599
|
${r$O(styles$n)}
|
|
11601
11600
|
`;
|
|
11602
|
-
__decorateClass$
|
|
11601
|
+
__decorateClass$u([
|
|
11603
11602
|
connectedProperty(isSomeCollectionLoadedAndOtherLoading)
|
|
11604
11603
|
], ActivityHistoryBusy.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
|
|
11605
|
-
__decorateClass$
|
|
11604
|
+
__decorateClass$u([
|
|
11606
11605
|
connectedProperty(isEmptyDataAndOtherLoading)
|
|
11607
11606
|
], ActivityHistoryBusy.prototype, "isEmptyDataAndOtherLoading", 2);
|
|
11608
|
-
ActivityHistoryBusy = __decorateClass$
|
|
11607
|
+
ActivityHistoryBusy = __decorateClass$u([
|
|
11609
11608
|
t$v("activity-history-busy")
|
|
11610
11609
|
], ActivityHistoryBusy);
|
|
11611
11610
|
class HandleHistoryItemsAddError {
|
|
@@ -11627,12 +11626,12 @@ class HandleHistoryItemsAddErrorHandler extends BaseHandler {
|
|
|
11627
11626
|
this.store.dispatch(removeErrorHistoryItem(X));
|
|
11628
11627
|
}
|
|
11629
11628
|
}
|
|
11630
|
-
let request$
|
|
11629
|
+
let request$f;
|
|
11631
11630
|
const bootstrapHandleHistoryItemsAddError = (J) => {
|
|
11632
|
-
teardownHandleHistoryItemsAddError(), request$
|
|
11631
|
+
teardownHandleHistoryItemsAddError(), request$f = J.registerRequest(HandleHistoryItemsAddError, HandleHistoryItemsAddErrorHandler);
|
|
11633
11632
|
}, teardownHandleHistoryItemsAddError = () => {
|
|
11634
|
-
request$
|
|
11635
|
-
}, styles$m = ".wrapper{display:flex;flex-direction:column;align-items:center;gap:24px;width:484px;height:auto}.wrapper .content-options{display:flex;flex-direction:column;align-items:center;gap:16px}.wrapper .selector-options{display:flex;flex-direction:row;gap:16px}.wrapper .content-date{display:flex;flex-direction:column;align-items:center;gap:16px;height:124px}.wrapper .datepicker-canvas{display:flex;flex-direction:row;justify-content:center;align-content:center;gap:16px}.wrapper .actions{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px}dss-datepicker{width:234px;height:48px;border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm);padding:var(--dss-spacing-sm);gap:var(--dss-spacing-xs);color:var(--color-neutral-100)}", template$
|
|
11633
|
+
request$f?.dispose();
|
|
11634
|
+
}, styles$m = ".wrapper{display:flex;flex-direction:column;align-items:center;gap:24px;width:484px;height:auto}.wrapper .content-options{display:flex;flex-direction:column;align-items:center;gap:16px}.wrapper .selector-options{display:flex;flex-direction:row;gap:16px}.wrapper .content-date{display:flex;flex-direction:column;align-items:center;gap:16px;height:124px}.wrapper .datepicker-canvas{display:flex;flex-direction:row;justify-content:center;align-content:center;gap:16px}.wrapper .actions{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px}dss-datepicker{width:234px;height:48px;border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm);padding:var(--dss-spacing-sm);gap:var(--dss-spacing-xs);color:var(--color-neutral-100)}", template$n = (J) => {
|
|
11636
11635
|
const { arrayElements: W, text: X } = J;
|
|
11637
11636
|
return ke$1`
|
|
11638
11637
|
<div class="wrapper">
|
|
@@ -11674,8 +11673,8 @@ const bootstrapHandleHistoryItemsAddError = (J) => {
|
|
|
11674
11673
|
</div>` : D$5}
|
|
11675
11674
|
</div>`;
|
|
11676
11675
|
};
|
|
11677
|
-
var __defProp$p = Object.defineProperty, __getOwnPropDesc$
|
|
11678
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
11676
|
+
var __defProp$p = Object.defineProperty, __getOwnPropDesc$f = Object.getOwnPropertyDescriptor, __decorateClass$t = (J, W, X, te) => {
|
|
11677
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$f(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
11679
11678
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
11680
11679
|
return te && re && __defProp$p(W, X, re), re;
|
|
11681
11680
|
};
|
|
@@ -11690,7 +11689,7 @@ let ExportPdfModal = class extends h$p {
|
|
|
11690
11689
|
}
|
|
11691
11690
|
render() {
|
|
11692
11691
|
return ke$1`
|
|
11693
|
-
${template$
|
|
11692
|
+
${template$n(this)}
|
|
11694
11693
|
`;
|
|
11695
11694
|
}
|
|
11696
11695
|
static get styles() {
|
|
@@ -11705,22 +11704,22 @@ let ExportPdfModal = class extends h$p {
|
|
|
11705
11704
|
);
|
|
11706
11705
|
}
|
|
11707
11706
|
};
|
|
11708
|
-
__decorateClass$
|
|
11707
|
+
__decorateClass$t([
|
|
11709
11708
|
n$y()
|
|
11710
11709
|
], ExportPdfModal.prototype, "selectedRadioOption", 2);
|
|
11711
|
-
__decorateClass$
|
|
11710
|
+
__decorateClass$t([
|
|
11712
11711
|
n$y()
|
|
11713
11712
|
], ExportPdfModal.prototype, "text", 2);
|
|
11714
|
-
__decorateClass$
|
|
11713
|
+
__decorateClass$t([
|
|
11715
11714
|
n$y()
|
|
11716
11715
|
], ExportPdfModal.prototype, "selectedVisibilityLevelElement", 2);
|
|
11717
|
-
__decorateClass$
|
|
11716
|
+
__decorateClass$t([
|
|
11718
11717
|
n$y()
|
|
11719
11718
|
], ExportPdfModal.prototype, "selectedPeriodDate", 2);
|
|
11720
|
-
__decorateClass$
|
|
11719
|
+
__decorateClass$t([
|
|
11721
11720
|
n$y({ type: Array })
|
|
11722
11721
|
], ExportPdfModal.prototype, "arrayElements", 2);
|
|
11723
|
-
ExportPdfModal = __decorateClass$
|
|
11722
|
+
ExportPdfModal = __decorateClass$t([
|
|
11724
11723
|
t$v("export-pdf-modal")
|
|
11725
11724
|
], ExportPdfModal);
|
|
11726
11725
|
class ExportToPdfHandler extends ApiBaseHandler {
|
|
@@ -11743,11 +11742,11 @@ class ExportToPdfHandler extends ApiBaseHandler {
|
|
|
11743
11742
|
}
|
|
11744
11743
|
class ExportPdf {
|
|
11745
11744
|
}
|
|
11746
|
-
let request$
|
|
11745
|
+
let request$e;
|
|
11747
11746
|
const bootstrapExportPdf = (J) => {
|
|
11748
|
-
request$
|
|
11747
|
+
request$e = J.registerRequest(ExportPdf, ExportToPdfHandler);
|
|
11749
11748
|
}, teardownExportPdf = () => {
|
|
11750
|
-
request$
|
|
11749
|
+
request$e?.dispose();
|
|
11751
11750
|
};
|
|
11752
11751
|
function getUniqueObjects(J, W, X, te) {
|
|
11753
11752
|
const re = `Sense ${te.toLocaleLowerCase()}`, oe = /* @__PURE__ */ new Map();
|
|
@@ -12121,7 +12120,7 @@ const filterTemplates = {
|
|
|
12121
12120
|
J.singleOption ? W(X?.id, J.id, null, he.detail) : re && te ? W(X?.id, J.id, te.id, he.detail) : W(J.id, he.detail);
|
|
12122
12121
|
}, ce = re && te ? J.enabledValues?.includes(te.id) : J.enabled, ue = re && te || J.singleOption ? X.enabled : !0;
|
|
12123
12122
|
return filterTemplates[J.type]?.(oe, ne, de, ce, ue) || ke$1``;
|
|
12124
|
-
}, template$
|
|
12123
|
+
}, template$m = (J) => ke$1`
|
|
12125
12124
|
<div class="filters-sidebar" ?expanded=${J.filtersExpanded} >
|
|
12126
12125
|
${J.filtersExpanded ? ke$1`<div class="filters-sidebar-opened">${translate("filters.filters")}<dss-icon-button ?hidden=${J.wrapperMaximized} @click=${() => J._toggleFilters()} size="md" variant="primary" icon="keyboard_double_arrow_left"></dss-icon-button></div>
|
|
12127
12126
|
<div class="filter-container">
|
|
@@ -12193,8 +12192,8 @@ const filterTemplates = {
|
|
|
12193
12192
|
`
|
|
12194
12193
|
);
|
|
12195
12194
|
};
|
|
12196
|
-
var __defProp$o = Object.defineProperty, __getOwnPropDesc$
|
|
12197
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
12195
|
+
var __defProp$o = Object.defineProperty, __getOwnPropDesc$e = Object.getOwnPropertyDescriptor, __decorateClass$s = (J, W, X, te) => {
|
|
12196
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$e(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
12198
12197
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
12199
12198
|
return te && re && __defProp$o(W, X, re), re;
|
|
12200
12199
|
};
|
|
@@ -12203,7 +12202,7 @@ let ActivityHistoryFilters = class extends h$p {
|
|
|
12203
12202
|
super(...arguments), this.filtersExpanded = !1;
|
|
12204
12203
|
}
|
|
12205
12204
|
render() {
|
|
12206
|
-
return ke$1`${template$
|
|
12205
|
+
return ke$1`${template$m(this)}`;
|
|
12207
12206
|
}
|
|
12208
12207
|
updated(J) {
|
|
12209
12208
|
J.has("wrapperMaximized") && (this.filtersExpanded = this.wrapperMaximized);
|
|
@@ -12244,28 +12243,28 @@ let ActivityHistoryFilters = class extends h$p {
|
|
|
12244
12243
|
ActivityHistoryFilters.styles = i$R`
|
|
12245
12244
|
${r$O(styles$l)}
|
|
12246
12245
|
`;
|
|
12247
|
-
__decorateClass$
|
|
12246
|
+
__decorateClass$s([
|
|
12248
12247
|
connectedProperty(activityHistoryCommonFiltersSelector)
|
|
12249
12248
|
], ActivityHistoryFilters.prototype, "commonFilters", 2);
|
|
12250
|
-
__decorateClass$
|
|
12249
|
+
__decorateClass$s([
|
|
12251
12250
|
connectedProperty(customFilterGroupsWithOptionsSelector)
|
|
12252
12251
|
], ActivityHistoryFilters.prototype, "customFilterGroups", 2);
|
|
12253
|
-
__decorateClass$
|
|
12252
|
+
__decorateClass$s([
|
|
12254
12253
|
connectedProperty(upFilterSelector)
|
|
12255
12254
|
], ActivityHistoryFilters.prototype, "upFilter", 2);
|
|
12256
|
-
__decorateClass$
|
|
12255
|
+
__decorateClass$s([
|
|
12257
12256
|
connectedProperty(upFilterEnabledValuesSelector)
|
|
12258
12257
|
], ActivityHistoryFilters.prototype, "upFilterEnabledValues", 2);
|
|
12259
|
-
__decorateClass$
|
|
12258
|
+
__decorateClass$s([
|
|
12260
12259
|
lazyInject(TYPES.primaryApi)
|
|
12261
12260
|
], ActivityHistoryFilters.prototype, "api", 2);
|
|
12262
|
-
__decorateClass$
|
|
12261
|
+
__decorateClass$s([
|
|
12263
12262
|
r$L()
|
|
12264
12263
|
], ActivityHistoryFilters.prototype, "filtersExpanded", 2);
|
|
12265
|
-
__decorateClass$
|
|
12264
|
+
__decorateClass$s([
|
|
12266
12265
|
n$y({ type: Boolean })
|
|
12267
12266
|
], ActivityHistoryFilters.prototype, "wrapperMaximized", 2);
|
|
12268
|
-
ActivityHistoryFilters = __decorateClass$
|
|
12267
|
+
ActivityHistoryFilters = __decorateClass$s([
|
|
12269
12268
|
t$v("activity-history-filters")
|
|
12270
12269
|
], ActivityHistoryFilters);
|
|
12271
12270
|
const { setCommonFilterValue } = activityHistoryFiltersSlice.actions;
|
|
@@ -12278,11 +12277,11 @@ class SetCommonFilterHandler extends StoreBaseHandler {
|
|
|
12278
12277
|
}
|
|
12279
12278
|
}
|
|
12280
12279
|
}
|
|
12281
|
-
let request$
|
|
12280
|
+
let request$d;
|
|
12282
12281
|
const bootstrapSetCommonFilter = (J) => {
|
|
12283
|
-
request$
|
|
12282
|
+
request$d = J.registerRequest(SetCommonFilter, SetCommonFilterHandler);
|
|
12284
12283
|
}, teardownSetCommonFilter = () => {
|
|
12285
|
-
request$
|
|
12284
|
+
request$d?.dispose();
|
|
12286
12285
|
}, { addCustomFilters } = activityHistoryFiltersSlice.actions;
|
|
12287
12286
|
class AddCustomFiltersHandler extends StoreBaseHandler {
|
|
12288
12287
|
async handle(W) {
|
|
@@ -12293,11 +12292,11 @@ class AddCustomFiltersHandler extends StoreBaseHandler {
|
|
|
12293
12292
|
}
|
|
12294
12293
|
}
|
|
12295
12294
|
}
|
|
12296
|
-
let request$
|
|
12295
|
+
let request$c;
|
|
12297
12296
|
const bootstrapAddCustomFilter = (J) => {
|
|
12298
|
-
request$
|
|
12297
|
+
request$c = J.registerRequest(AddCustomFiltersCommand, AddCustomFiltersHandler);
|
|
12299
12298
|
}, teardownAddCustomFilter = () => {
|
|
12300
|
-
request$
|
|
12299
|
+
request$c?.dispose();
|
|
12301
12300
|
}, { setCustomFilterAllValues } = activityHistoryFiltersSlice.actions;
|
|
12302
12301
|
class SetCustomFilterAllValuesHandler extends StoreBaseHandler {
|
|
12303
12302
|
async handle(W) {
|
|
@@ -12308,11 +12307,11 @@ class SetCustomFilterAllValuesHandler extends StoreBaseHandler {
|
|
|
12308
12307
|
}
|
|
12309
12308
|
}
|
|
12310
12309
|
}
|
|
12311
|
-
let request$
|
|
12310
|
+
let request$b;
|
|
12312
12311
|
const bootstrapSetCustomFilterAllValues = (J) => {
|
|
12313
|
-
request$
|
|
12312
|
+
request$b = J.registerRequest(SetCustomFilterAllValues, SetCustomFilterAllValuesHandler);
|
|
12314
12313
|
}, teardownSetCustomFilterAllValues = () => {
|
|
12315
|
-
request$
|
|
12314
|
+
request$b?.dispose();
|
|
12316
12315
|
}, { setCustomFilterGroupValue } = activityHistoryFiltersSlice.actions;
|
|
12317
12316
|
class SetCustomFilterGroupHandler extends StoreBaseHandler {
|
|
12318
12317
|
async handle(W) {
|
|
@@ -12323,11 +12322,11 @@ class SetCustomFilterGroupHandler extends StoreBaseHandler {
|
|
|
12323
12322
|
}
|
|
12324
12323
|
}
|
|
12325
12324
|
}
|
|
12326
|
-
let request$
|
|
12325
|
+
let request$a;
|
|
12327
12326
|
const bootstrapSetCustomFilterGroup = (J) => {
|
|
12328
|
-
request$
|
|
12327
|
+
request$a = J.registerRequest(SetCustomFilterGroup, SetCustomFilterGroupHandler);
|
|
12329
12328
|
}, teardownSetCustomFilterGroup = () => {
|
|
12330
|
-
request$
|
|
12329
|
+
request$a?.dispose();
|
|
12331
12330
|
}, { setCustomFilterValue } = activityHistoryFiltersSlice.actions;
|
|
12332
12331
|
class SetCustomFilterValueHandler extends StoreBaseHandler {
|
|
12333
12332
|
async handle(W) {
|
|
@@ -12338,11 +12337,11 @@ class SetCustomFilterValueHandler extends StoreBaseHandler {
|
|
|
12338
12337
|
}
|
|
12339
12338
|
}
|
|
12340
12339
|
}
|
|
12341
|
-
let request$
|
|
12340
|
+
let request$9;
|
|
12342
12341
|
const bootstrapSetCustomFilterValue = (J) => {
|
|
12343
|
-
request$
|
|
12342
|
+
request$9 = J.registerRequest(SetCustomFilterValue, SetCustomFilterValueHandler);
|
|
12344
12343
|
}, teardownSetCustomFilterValue = () => {
|
|
12345
|
-
request$
|
|
12344
|
+
request$9?.dispose();
|
|
12346
12345
|
}, { deleteDiagnosticFilterValue } = activityHistoryFiltersSlice.actions;
|
|
12347
12346
|
class DeleteDiagnosticFilterValueHandler extends BaseHandler {
|
|
12348
12347
|
async handle(W) {
|
|
@@ -12407,11 +12406,11 @@ class ResetFiltersHandler extends BaseHandler {
|
|
|
12407
12406
|
}
|
|
12408
12407
|
}
|
|
12409
12408
|
}
|
|
12410
|
-
let request$
|
|
12409
|
+
let request$8;
|
|
12411
12410
|
const bootstrapResetFilters = (J) => {
|
|
12412
|
-
request$
|
|
12411
|
+
request$8 = J.registerRequest(ResetFiltersCommand, ResetFiltersHandler);
|
|
12413
12412
|
}, teardownResetFilters = () => {
|
|
12414
|
-
request$
|
|
12413
|
+
request$8?.dispose();
|
|
12415
12414
|
}, { addUpFilters } = activityHistoryFiltersSlice.actions;
|
|
12416
12415
|
class AddUpFiltersHandler extends StoreBaseHandler {
|
|
12417
12416
|
async handle(W) {
|
|
@@ -12427,11 +12426,11 @@ class AddUpFiltersCommand {
|
|
|
12427
12426
|
this.payload = W;
|
|
12428
12427
|
}
|
|
12429
12428
|
}
|
|
12430
|
-
let request$
|
|
12429
|
+
let request$7;
|
|
12431
12430
|
const bootstrapAddUpFilter = (J) => {
|
|
12432
|
-
request$
|
|
12431
|
+
request$7 = J.registerRequest(AddUpFiltersCommand, AddUpFiltersHandler);
|
|
12433
12432
|
}, teardownAddUpFilter = () => {
|
|
12434
|
-
request$
|
|
12433
|
+
request$7?.dispose();
|
|
12435
12434
|
}, { setUpFilterValues } = activityHistoryFiltersSlice.actions;
|
|
12436
12435
|
class SetUpFiltersHandler extends StoreBaseHandler {
|
|
12437
12436
|
async handle(W) {
|
|
@@ -12442,11 +12441,11 @@ class SetUpFiltersHandler extends StoreBaseHandler {
|
|
|
12442
12441
|
}
|
|
12443
12442
|
}
|
|
12444
12443
|
}
|
|
12445
|
-
let request$
|
|
12444
|
+
let request$6;
|
|
12446
12445
|
const bootstrapSetUpFilter = (J) => {
|
|
12447
|
-
request$
|
|
12446
|
+
request$6 = J.registerRequest(SetUpFiltersCommand, SetUpFiltersHandler);
|
|
12448
12447
|
}, teardownSetUpFilter = () => {
|
|
12449
|
-
request$
|
|
12448
|
+
request$6?.dispose();
|
|
12450
12449
|
}, bootstrapFilters = (J, W) => {
|
|
12451
12450
|
bootstrapSetCommonFilter(J), bootstrapAddCustomFilter(J), bootstrapSetCustomFilterGroup(J), bootstrapSetCustomFilterValue(J), bootstrapSetCustomFilterAllValues(J), bootstrapSetDiagnosticFilter(J), bootstrapDeleteDiagnosticFilterValue(J), bootstrapAddUpFilter(J), bootstrapSetUpFilter(J), bootstrapResetFilters(J), subscribeDiagnosticFilters(W);
|
|
12452
12451
|
}, teardownFilters = () => {
|
|
@@ -15253,26 +15252,26 @@ function cleanEscapedString(J) {
|
|
|
15253
15252
|
* Copyright 2018 Google LLC
|
|
15254
15253
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15255
15254
|
*/
|
|
15256
|
-
const to = (J) => J ?? D$5, styles$j = ".grouping-busy-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}", template$
|
|
15255
|
+
const to = (J) => J ?? D$5, styles$j = ".grouping-busy-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}", template$l = (J) => ke$1`
|
|
15257
15256
|
<div class="grouping-busy-container">
|
|
15258
15257
|
<dss-spinner size="sm"></dss-spinner>
|
|
15259
15258
|
<div>${translate("isGrouping")}</div>
|
|
15260
15259
|
</div>
|
|
15261
15260
|
`;
|
|
15262
|
-
var __getOwnPropDesc$
|
|
15263
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
15261
|
+
var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor, __decorateClass$r = (J, W, X, te) => {
|
|
15262
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$d(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
15264
15263
|
(ne = J[oe]) && (re = ne(re) || re);
|
|
15265
15264
|
return re;
|
|
15266
15265
|
};
|
|
15267
15266
|
let ActivityHistoryIsGroupingBusy = class extends h$p {
|
|
15268
15267
|
render() {
|
|
15269
|
-
return template$
|
|
15268
|
+
return template$l();
|
|
15270
15269
|
}
|
|
15271
15270
|
};
|
|
15272
15271
|
ActivityHistoryIsGroupingBusy.styles = i$R`
|
|
15273
15272
|
${r$O(styles$j)}
|
|
15274
15273
|
`;
|
|
15275
|
-
ActivityHistoryIsGroupingBusy = __decorateClass$
|
|
15274
|
+
ActivityHistoryIsGroupingBusy = __decorateClass$r([
|
|
15276
15275
|
t$v("activity-history-is-grouping-busy")
|
|
15277
15276
|
], ActivityHistoryIsGroupingBusy);
|
|
15278
15277
|
function shouldShowRole(J) {
|
|
@@ -15292,7 +15291,7 @@ const hasItemDivider = (J, W) => {
|
|
|
15292
15291
|
subGroup: te
|
|
15293
15292
|
}));
|
|
15294
15293
|
return [...W, ...X].sort((te, re) => re.date.getTime() - te.date.getTime());
|
|
15295
|
-
}, notFound = "data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20opacity='0.9'%20d='M135.132%2057.43C96.9221%2047.658%2083.3815%20-29.7048%2026.9734%2012.5083C-13.0511%2042.4595%2011.4691%20115.499%2061.6878%20107.019C92.0822%20101.867%2087.3917%20101.341%20113.129%20115.244C139.231%20129.308%20167.972%20136.397%20195.855%20111.436C210.28%2098.5179%20215.939%2067.0352%20201.939%2050.7417C184.388%2030.3592%20158.485%2063.4098%20135.132%2057.43Z'%20fill='%23EFF7FF'/%3e%3cellipse%20cx='120.5'%20cy='143.5'%20rx='52.5'%20ry='3.5'%20fill='%23F5F5F5'/%3e%3cpath%20d='M121.387%2080.2184C121.995%2079.5948%20122.563%2078.953%20123.09%2078.2959L134.396%2089.3383C135.09%2090.0177%20134.851%2091.389%20133.861%2092.4024C132.872%2093.4159%20131.505%2093.6888%20130.811%2093.0094L119.505%2081.967C120.148%2081.424%20120.777%2080.8407%20121.385%2080.2171L121.387%2080.2184Z'%20fill='%231D1D1D'/%3e%3cpath%20opacity='0.6'%20d='M121.127%2079.9896C132.157%2068.6986%20131.888%2050.5485%20120.527%2039.4502C109.166%2028.3519%2091.0149%2028.5081%2079.9849%2039.799C68.955%2051.09%2069.2233%2069.2401%2080.5843%2080.3385C91.9453%2091.4368%20110.097%2091.2806%20121.127%2079.9896Z'%20fill='%238FC2F5'/%3e%3cpath%20d='M78.0382%2083.0622C90.8729%2095.6382%20111.378%2095.4578%20123.835%2082.6609C136.293%2069.8625%20135.986%2049.2932%20123.15%2036.7173C110.316%2024.1413%2089.8107%2024.3217%2077.3538%2037.1186C64.8956%2049.9169%2065.2022%2070.4862%2078.0382%2083.0622ZM80.642%2080.387C69.289%2069.264%2069.0172%2051.0692%2080.037%2039.749C91.0569%2028.4288%20109.194%2028.2694%20120.547%2039.3938C131.9%2050.5182%20132.171%2068.713%20121.152%2080.0332C110.132%2091.3534%2091.9949%2091.5128%2080.642%2080.3884V80.387Z'%20fill='%237BACFC'/%3e%3cpath%20d='M169.953%20128.522L171.714%20126.696C173.474%20124.871%20173.421%20121.964%20171.595%20120.205L135.013%2084.9265C133.187%2083.1661%20130.281%2083.2205%20128.522%2085.0451L126.761%2086.8711C125.001%2088.6957%20125.055%2091.6028%20126.88%2093.3619L163.462%20128.64C165.287%20130.401%20168.194%20130.346%20169.953%20128.522Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.35'%20d='M88.8399%2071.2315C96.506%2079.2245%20101.258%2078.1642%20100.757%2082.4547C100.256%2086.7452%2091.398%2085.7448%2082.7698%2076.0396C74.1415%2066.3344%2075.0893%2054.9166%2079.8491%2055.2485C84.6089%2055.5803%2080.129%2062.1492%2088.8399%2071.2315Z'%20fill='white'/%3e%3c/svg%3e", template$
|
|
15294
|
+
}, notFound = "data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20opacity='0.9'%20d='M135.132%2057.43C96.9221%2047.658%2083.3815%20-29.7048%2026.9734%2012.5083C-13.0511%2042.4595%2011.4691%20115.499%2061.6878%20107.019C92.0822%20101.867%2087.3917%20101.341%20113.129%20115.244C139.231%20129.308%20167.972%20136.397%20195.855%20111.436C210.28%2098.5179%20215.939%2067.0352%20201.939%2050.7417C184.388%2030.3592%20158.485%2063.4098%20135.132%2057.43Z'%20fill='%23EFF7FF'/%3e%3cellipse%20cx='120.5'%20cy='143.5'%20rx='52.5'%20ry='3.5'%20fill='%23F5F5F5'/%3e%3cpath%20d='M121.387%2080.2184C121.995%2079.5948%20122.563%2078.953%20123.09%2078.2959L134.396%2089.3383C135.09%2090.0177%20134.851%2091.389%20133.861%2092.4024C132.872%2093.4159%20131.505%2093.6888%20130.811%2093.0094L119.505%2081.967C120.148%2081.424%20120.777%2080.8407%20121.385%2080.2171L121.387%2080.2184Z'%20fill='%231D1D1D'/%3e%3cpath%20opacity='0.6'%20d='M121.127%2079.9896C132.157%2068.6986%20131.888%2050.5485%20120.527%2039.4502C109.166%2028.3519%2091.0149%2028.5081%2079.9849%2039.799C68.955%2051.09%2069.2233%2069.2401%2080.5843%2080.3385C91.9453%2091.4368%20110.097%2091.2806%20121.127%2079.9896Z'%20fill='%238FC2F5'/%3e%3cpath%20d='M78.0382%2083.0622C90.8729%2095.6382%20111.378%2095.4578%20123.835%2082.6609C136.293%2069.8625%20135.986%2049.2932%20123.15%2036.7173C110.316%2024.1413%2089.8107%2024.3217%2077.3538%2037.1186C64.8956%2049.9169%2065.2022%2070.4862%2078.0382%2083.0622ZM80.642%2080.387C69.289%2069.264%2069.0172%2051.0692%2080.037%2039.749C91.0569%2028.4288%20109.194%2028.2694%20120.547%2039.3938C131.9%2050.5182%20132.171%2068.713%20121.152%2080.0332C110.132%2091.3534%2091.9949%2091.5128%2080.642%2080.3884V80.387Z'%20fill='%237BACFC'/%3e%3cpath%20d='M169.953%20128.522L171.714%20126.696C173.474%20124.871%20173.421%20121.964%20171.595%20120.205L135.013%2084.9265C133.187%2083.1661%20130.281%2083.2205%20128.522%2085.0451L126.761%2086.8711C125.001%2088.6957%20125.055%2091.6028%20126.88%2093.3619L163.462%20128.64C165.287%20130.401%20168.194%20130.346%20169.953%20128.522Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.35'%20d='M88.8399%2071.2315C96.506%2079.2245%20101.258%2078.1642%20100.757%2082.4547C100.256%2086.7452%2091.398%2085.7448%2082.7698%2076.0396C74.1415%2066.3344%2075.0893%2054.9166%2079.8491%2055.2485C84.6089%2055.5803%2080.129%2062.1492%2088.8399%2071.2315Z'%20fill='white'/%3e%3c/svg%3e", template$k = (J) => ke$1`
|
|
15296
15295
|
<div class="container">
|
|
15297
15296
|
<activity-history-full-data-error></activity-history-full-data-error>
|
|
15298
15297
|
<activity-history-partial-data-error></activity-history-partial-data-error>
|
|
@@ -15510,8 +15509,8 @@ class VirtualScroller {
|
|
|
15510
15509
|
}), re;
|
|
15511
15510
|
}
|
|
15512
15511
|
}
|
|
15513
|
-
var __defProp$n = Object.defineProperty, __getOwnPropDesc$
|
|
15514
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
15512
|
+
var __defProp$n = Object.defineProperty, __getOwnPropDesc$c = Object.getOwnPropertyDescriptor, __decorateClass$q = (J, W, X, te) => {
|
|
15513
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$c(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
15515
15514
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
15516
15515
|
return te && re && __defProp$n(W, X, re), re;
|
|
15517
15516
|
};
|
|
@@ -15529,7 +15528,7 @@ let ActivityHistoryTimeline = class extends h$p {
|
|
|
15529
15528
|
}
|
|
15530
15529
|
render() {
|
|
15531
15530
|
return ke$1`
|
|
15532
|
-
${template$
|
|
15531
|
+
${template$k(this)}
|
|
15533
15532
|
`;
|
|
15534
15533
|
}
|
|
15535
15534
|
connectedCallback() {
|
|
@@ -15615,40 +15614,40 @@ let ActivityHistoryTimeline = class extends h$p {
|
|
|
15615
15614
|
ActivityHistoryTimeline.styles = i$R`
|
|
15616
15615
|
${r$O(styles$k)}
|
|
15617
15616
|
`;
|
|
15618
|
-
__decorateClass$
|
|
15617
|
+
__decorateClass$q([
|
|
15619
15618
|
connectedProperty(activityHistoryGroupedItems)
|
|
15620
15619
|
], ActivityHistoryTimeline.prototype, "historyGroups", 2);
|
|
15621
|
-
__decorateClass$
|
|
15620
|
+
__decorateClass$q([
|
|
15622
15621
|
connectedProperty(isSomeCollectionLoadedAndOtherLoading)
|
|
15623
15622
|
], ActivityHistoryTimeline.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
|
|
15624
|
-
__decorateClass$
|
|
15623
|
+
__decorateClass$q([
|
|
15625
15624
|
connectedProperty(isAnyCollectionBusySelector)
|
|
15626
15625
|
], ActivityHistoryTimeline.prototype, "isAnyCollectionBusy", 2);
|
|
15627
|
-
__decorateClass$
|
|
15626
|
+
__decorateClass$q([
|
|
15628
15627
|
connectedProperty(activityHistorySearchStringSelector)
|
|
15629
15628
|
], ActivityHistoryTimeline.prototype, "searchString", 2);
|
|
15630
|
-
__decorateClass$
|
|
15629
|
+
__decorateClass$q([
|
|
15631
15630
|
lazyInject(TYPES.primaryApi)
|
|
15632
15631
|
], ActivityHistoryTimeline.prototype, "api", 2);
|
|
15633
|
-
__decorateClass$
|
|
15632
|
+
__decorateClass$q([
|
|
15634
15633
|
e$N(".virtual-container")
|
|
15635
15634
|
], ActivityHistoryTimeline.prototype, "_virtualContainer", 2);
|
|
15636
|
-
__decorateClass$
|
|
15635
|
+
__decorateClass$q([
|
|
15637
15636
|
e$N(".virtual-viewport")
|
|
15638
15637
|
], ActivityHistoryTimeline.prototype, "_viewport", 2);
|
|
15639
|
-
__decorateClass$
|
|
15638
|
+
__decorateClass$q([
|
|
15640
15639
|
e$N(".virtual-content")
|
|
15641
15640
|
], ActivityHistoryTimeline.prototype, "_content", 2);
|
|
15642
|
-
__decorateClass$
|
|
15641
|
+
__decorateClass$q([
|
|
15643
15642
|
r$L()
|
|
15644
15643
|
], ActivityHistoryTimeline.prototype, "_virtualScrollerState", 2);
|
|
15645
|
-
__decorateClass$
|
|
15644
|
+
__decorateClass$q([
|
|
15646
15645
|
r$L()
|
|
15647
15646
|
], ActivityHistoryTimeline.prototype, "_canShowNoDataMessage", 2);
|
|
15648
|
-
ActivityHistoryTimeline = __decorateClass$
|
|
15647
|
+
ActivityHistoryTimeline = __decorateClass$q([
|
|
15649
15648
|
t$v("activity-history-timeline")
|
|
15650
15649
|
], ActivityHistoryTimeline);
|
|
15651
|
-
const template$
|
|
15650
|
+
const template$j = (J) => {
|
|
15652
15651
|
const W = J.areCustomFiltersActive || J.areCommonFiltersActive || J.areDiagnosticFiltersActive || J.areUpFiltersActive;
|
|
15653
15652
|
return !W && J.searchString.length < 1 ? D$5 : ke$1`
|
|
15654
15653
|
<div class="active-filters-header">
|
|
@@ -15657,38 +15656,38 @@ const template$k = (J) => {
|
|
|
15657
15656
|
</div>
|
|
15658
15657
|
`;
|
|
15659
15658
|
}, styles$i = ".active-filters-header{display:flex;flex-direction:column;border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);font-size:14px;line-height:24px}";
|
|
15660
|
-
var __defProp$m = Object.defineProperty, __getOwnPropDesc$
|
|
15661
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
15659
|
+
var __defProp$m = Object.defineProperty, __getOwnPropDesc$b = Object.getOwnPropertyDescriptor, __decorateClass$p = (J, W, X, te) => {
|
|
15660
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$b(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
15662
15661
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
15663
15662
|
return te && re && __defProp$m(W, X, re), re;
|
|
15664
15663
|
};
|
|
15665
15664
|
let ActiveFiltersHeader = class extends h$p {
|
|
15666
15665
|
render() {
|
|
15667
|
-
return ke$1`${template$
|
|
15666
|
+
return ke$1`${template$j(this)}`;
|
|
15668
15667
|
}
|
|
15669
15668
|
};
|
|
15670
15669
|
ActiveFiltersHeader.styles = i$R`
|
|
15671
15670
|
${r$O(styles$i)}
|
|
15672
15671
|
`;
|
|
15673
|
-
__decorateClass$
|
|
15672
|
+
__decorateClass$p([
|
|
15674
15673
|
connectedProperty(activityHistorySearchStringSelector)
|
|
15675
15674
|
], ActiveFiltersHeader.prototype, "searchString", 2);
|
|
15676
|
-
__decorateClass$
|
|
15675
|
+
__decorateClass$p([
|
|
15677
15676
|
connectedProperty(areCustomFiltersActive)
|
|
15678
15677
|
], ActiveFiltersHeader.prototype, "areCustomFiltersActive", 2);
|
|
15679
|
-
__decorateClass$
|
|
15678
|
+
__decorateClass$p([
|
|
15680
15679
|
connectedProperty(areCommonFiltersActive)
|
|
15681
15680
|
], ActiveFiltersHeader.prototype, "areCommonFiltersActive", 2);
|
|
15682
|
-
__decorateClass$
|
|
15681
|
+
__decorateClass$p([
|
|
15683
15682
|
connectedProperty(areDiagnosticFiltersActive)
|
|
15684
15683
|
], ActiveFiltersHeader.prototype, "areDiagnosticFiltersActive", 2);
|
|
15685
|
-
__decorateClass$
|
|
15684
|
+
__decorateClass$p([
|
|
15686
15685
|
connectedProperty(areUpFiltersActive)
|
|
15687
15686
|
], ActiveFiltersHeader.prototype, "areUpFiltersActive", 2);
|
|
15688
|
-
ActiveFiltersHeader = __decorateClass$
|
|
15687
|
+
ActiveFiltersHeader = __decorateClass$p([
|
|
15689
15688
|
t$v("active-filters-header")
|
|
15690
15689
|
], ActiveFiltersHeader);
|
|
15691
|
-
const styles$h = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;height:100%;justify-content:center}", showError = "data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.567%20147.925C107.663%20137.604%2098.7018%20141.859%2073.5817%20144.094C53.0605%20145.899%2028.8192%20138.451%2013.3757%20118.871C-27.3088%2067.293%2034.5441%2014.0839%2069.5091%202.68275C94.145%20-5.32822%20109.688%205.00477%20126.605%2028.3004C133.183%2037.3621%20138.613%2048.3337%20146.353%2055.9441C154.667%2064.106%20164.606%2063.9667%20172.441%2070.7586C210.442%20103.691%20165.801%20161.689%20132.567%20147.925Z'%20fill='%23EFF7FF'/%3e%3cpath%20d='M100.714%20124.222C100.714%20124.335%20100.714%20124.448%20100.714%20124.561C100.703%20125.212%20100.443%20125.832%2099.9909%20126.288C99.5388%20126.745%2098.9306%20127%2098.297%20127L37.3382%20126.232C36.7472%20126.217%2036.1824%20125.979%2035.7523%20125.562C35.3223%20125.145%2035.0575%20124.579%2035.0089%20123.974C34.997%20123.869%2034.997%20123.763%2035.0089%20123.658C35.0218%20123.158%2035.1821%20122.675%2035.4687%20122.272C35.7552%20121.868%2036.1543%20121.564%2036.6131%20121.399C36.8615%20121.318%2037.1214%20121.28%2037.3822%20121.286L98.341%20122.032C98.7724%20122.017%2099.1984%20122.134%2099.5657%20122.367C99.9331%20122.6%20100.226%20122.939%20100.407%20123.341C100.568%20123.61%20100.673%20123.91%20100.714%20124.222Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.5'%20d='M95.9608%20127L204.061%20126.226C204.373%20126.226%20204.683%20126.162%20204.972%20126.037C205.261%20125.912%20205.523%20125.728%20205.743%20125.498C205.963%20125.267%20206.137%20124.993%20206.254%20124.692C206.372%20124.391%20206.431%20124.069%20206.428%20123.744C206.417%20123.092%20206.161%20122.47%20205.715%20122.011C205.268%20121.552%20204.667%20121.291%20204.039%20121.286L95.9389%20122.06C95.3108%20122.072%2094.7119%20122.338%2094.2697%20122.801C93.8275%20123.264%2093.5769%20123.889%2093.5713%20124.541C93.5827%20125.194%2093.8388%20125.815%2094.2851%20126.275C94.7314%20126.734%2095.3326%20126.994%2095.9608%20127Z'%20fill='%2300356A'/%3e%3cpath%20d='M212.109%2054.5398L207.23%20114.387C207.064%20116.104%20206.378%20117.729%20205.262%20119.044C204.147%20120.36%20202.656%20121.303%20200.989%20121.747C200.446%20121.91%20199.885%20122.006%20199.318%20122.033H199.033L99.2345%20122.714H99.0147C98.0548%20122.719%2097.1045%20122.522%2096.2259%20122.136C95.3472%20121.749%2094.5598%20121.182%2093.915%20120.471C93.2702%20119.76%2092.7825%20118.921%2092.4835%20118.009C92.1845%20117.098%2092.0811%20116.133%2092.1798%20115.178L97.0588%2055.3307C97.2569%2053.278%2098.2004%2051.3689%2099.7108%2049.9642C101.221%2048.5595%20103.194%2047.7565%20105.256%2047.707H106.773L205.055%2047.0039C206.032%2046.9708%20207.005%2047.1471%20207.908%2047.5208C208.812%2047.8946%20209.625%2048.4572%20210.293%2049.1709C210.961%2049.8846%20211.469%2050.7329%20211.782%2051.6589C212.095%2052.5849%20212.207%2053.5672%20212.109%2054.5398Z'%20fill='%237BACFC'/%3e%3cpath%20opacity='0.2'%20d='M208.156%2047.0002L109.387%2047.6899C108.732%2047.6984%20108.081%2047.7926%20107.451%2047.97C105.803%2048.4018%20104.328%2049.3229%20103.224%2050.6096C102.12%2051.8962%20101.439%2053.4868%20101.274%2055.1677L96.4673%20113.891C96.3645%20114.839%2096.4677%20115.798%2096.7699%20116.703C97.0721%20117.609%2097.5665%20118.439%2098.2196%20119.139C98.8728%20119.84%2099.6696%20120.393%20100.557%20120.763C101.444%20121.133%20102.4%20121.31%20103.362%20121.283L200.609%20120.593H202.11C204.152%20120.549%20206.107%20119.763%20207.603%20118.385C209.099%20117.006%20210.031%20115.131%20210.223%20113.116L214.964%2054.4134C215.062%2053.4725%20214.959%2052.5216%20214.66%2051.6231C214.362%2050.7245%20213.876%2049.8983%20213.233%2049.1986C212.591%2048.499%20211.806%2047.9415%20210.932%2047.5627C210.057%2047.1839%20209.111%2046.9922%20208.156%2047.0002Z'%20fill='white'/%3e%3ccircle%20cx='33'%20cy='31'%20r='20'%20fill='%23B60000'/%3e%3cpath%20d='M41.4%2022.6133C40.88%2022.0933%2040.04%2022.0933%2039.52%2022.6133L33%2029.12L26.48%2022.6C25.96%2022.08%2025.12%2022.08%2024.6%2022.6C24.08%2023.12%2024.08%2023.96%2024.6%2024.48L31.12%2031L24.6%2037.52C24.08%2038.04%2024.08%2038.88%2024.6%2039.4C25.12%2039.92%2025.96%2039.92%2026.48%2039.4L33%2032.88L39.52%2039.4C40.04%2039.92%2040.88%2039.92%2041.4%2039.4C41.92%2038.88%2041.92%2038.04%2041.4%2037.52L34.88%2031L41.4%2024.48C41.9066%2023.9733%2041.9066%2023.12%2041.4%2022.6133Z'%20fill='white'/%3e%3c/svg%3e", template$
|
|
15690
|
+
const styles$h = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;height:100%;justify-content:center}", showError = "data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.567%20147.925C107.663%20137.604%2098.7018%20141.859%2073.5817%20144.094C53.0605%20145.899%2028.8192%20138.451%2013.3757%20118.871C-27.3088%2067.293%2034.5441%2014.0839%2069.5091%202.68275C94.145%20-5.32822%20109.688%205.00477%20126.605%2028.3004C133.183%2037.3621%20138.613%2048.3337%20146.353%2055.9441C154.667%2064.106%20164.606%2063.9667%20172.441%2070.7586C210.442%20103.691%20165.801%20161.689%20132.567%20147.925Z'%20fill='%23EFF7FF'/%3e%3cpath%20d='M100.714%20124.222C100.714%20124.335%20100.714%20124.448%20100.714%20124.561C100.703%20125.212%20100.443%20125.832%2099.9909%20126.288C99.5388%20126.745%2098.9306%20127%2098.297%20127L37.3382%20126.232C36.7472%20126.217%2036.1824%20125.979%2035.7523%20125.562C35.3223%20125.145%2035.0575%20124.579%2035.0089%20123.974C34.997%20123.869%2034.997%20123.763%2035.0089%20123.658C35.0218%20123.158%2035.1821%20122.675%2035.4687%20122.272C35.7552%20121.868%2036.1543%20121.564%2036.6131%20121.399C36.8615%20121.318%2037.1214%20121.28%2037.3822%20121.286L98.341%20122.032C98.7724%20122.017%2099.1984%20122.134%2099.5657%20122.367C99.9331%20122.6%20100.226%20122.939%20100.407%20123.341C100.568%20123.61%20100.673%20123.91%20100.714%20124.222Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.5'%20d='M95.9608%20127L204.061%20126.226C204.373%20126.226%20204.683%20126.162%20204.972%20126.037C205.261%20125.912%20205.523%20125.728%20205.743%20125.498C205.963%20125.267%20206.137%20124.993%20206.254%20124.692C206.372%20124.391%20206.431%20124.069%20206.428%20123.744C206.417%20123.092%20206.161%20122.47%20205.715%20122.011C205.268%20121.552%20204.667%20121.291%20204.039%20121.286L95.9389%20122.06C95.3108%20122.072%2094.7119%20122.338%2094.2697%20122.801C93.8275%20123.264%2093.5769%20123.889%2093.5713%20124.541C93.5827%20125.194%2093.8388%20125.815%2094.2851%20126.275C94.7314%20126.734%2095.3326%20126.994%2095.9608%20127Z'%20fill='%2300356A'/%3e%3cpath%20d='M212.109%2054.5398L207.23%20114.387C207.064%20116.104%20206.378%20117.729%20205.262%20119.044C204.147%20120.36%20202.656%20121.303%20200.989%20121.747C200.446%20121.91%20199.885%20122.006%20199.318%20122.033H199.033L99.2345%20122.714H99.0147C98.0548%20122.719%2097.1045%20122.522%2096.2259%20122.136C95.3472%20121.749%2094.5598%20121.182%2093.915%20120.471C93.2702%20119.76%2092.7825%20118.921%2092.4835%20118.009C92.1845%20117.098%2092.0811%20116.133%2092.1798%20115.178L97.0588%2055.3307C97.2569%2053.278%2098.2004%2051.3689%2099.7108%2049.9642C101.221%2048.5595%20103.194%2047.7565%20105.256%2047.707H106.773L205.055%2047.0039C206.032%2046.9708%20207.005%2047.1471%20207.908%2047.5208C208.812%2047.8946%20209.625%2048.4572%20210.293%2049.1709C210.961%2049.8846%20211.469%2050.7329%20211.782%2051.6589C212.095%2052.5849%20212.207%2053.5672%20212.109%2054.5398Z'%20fill='%237BACFC'/%3e%3cpath%20opacity='0.2'%20d='M208.156%2047.0002L109.387%2047.6899C108.732%2047.6984%20108.081%2047.7926%20107.451%2047.97C105.803%2048.4018%20104.328%2049.3229%20103.224%2050.6096C102.12%2051.8962%20101.439%2053.4868%20101.274%2055.1677L96.4673%20113.891C96.3645%20114.839%2096.4677%20115.798%2096.7699%20116.703C97.0721%20117.609%2097.5665%20118.439%2098.2196%20119.139C98.8728%20119.84%2099.6696%20120.393%20100.557%20120.763C101.444%20121.133%20102.4%20121.31%20103.362%20121.283L200.609%20120.593H202.11C204.152%20120.549%20206.107%20119.763%20207.603%20118.385C209.099%20117.006%20210.031%20115.131%20210.223%20113.116L214.964%2054.4134C215.062%2053.4725%20214.959%2052.5216%20214.66%2051.6231C214.362%2050.7245%20213.876%2049.8983%20213.233%2049.1986C212.591%2048.499%20211.806%2047.9415%20210.932%2047.5627C210.057%2047.1839%20209.111%2046.9922%20208.156%2047.0002Z'%20fill='white'/%3e%3ccircle%20cx='33'%20cy='31'%20r='20'%20fill='%23B60000'/%3e%3cpath%20d='M41.4%2022.6133C40.88%2022.0933%2040.04%2022.0933%2039.52%2022.6133L33%2029.12L26.48%2022.6C25.96%2022.08%2025.12%2022.08%2024.6%2022.6C24.08%2023.12%2024.08%2023.96%2024.6%2024.48L31.12%2031L24.6%2037.52C24.08%2038.04%2024.08%2038.88%2024.6%2039.4C25.12%2039.92%2025.96%2039.92%2026.48%2039.4L33%2032.88L39.52%2039.4C40.04%2039.92%2040.88%2039.92%2041.4%2039.4C41.92%2038.88%2041.92%2038.04%2041.4%2037.52L34.88%2031L41.4%2024.48C41.9066%2023.9733%2041.9066%2023.12%2041.4%2022.6133Z'%20fill='white'/%3e%3c/svg%3e", template$i = (J) => ke$1`
|
|
15692
15691
|
${J.isAllDataFailedToLoad ? renderErrorFeedback(J) : D$5}
|
|
15693
15692
|
`, renderErrorFeedback = (J) => ke$1`
|
|
15694
15693
|
<div class="container">
|
|
@@ -15703,8 +15702,8 @@ const styles$h = ":host{width:100%}.container{display:flex;align-items:center;fl
|
|
|
15703
15702
|
const W = J.activityHistoryCollections.collections;
|
|
15704
15703
|
return Object.values(W).every((X) => !X.items || X.items.length === 0);
|
|
15705
15704
|
}, isAllDataFailedToLoad = (J) => !isSomeCollectionLoadedAndOtherLoading(J) && isErrorOccurred(J) && areCollectionsEmpty(J), selectErrorMessages = (J) => J.activityHistoryCollections.error;
|
|
15706
|
-
var __defProp$l = Object.defineProperty, __getOwnPropDesc$
|
|
15707
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
15705
|
+
var __defProp$l = Object.defineProperty, __getOwnPropDesc$a = Object.getOwnPropertyDescriptor, __decorateClass$o = (J, W, X, te) => {
|
|
15706
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$a(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
15708
15707
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
15709
15708
|
return te && re && __defProp$l(W, X, re), re;
|
|
15710
15709
|
};
|
|
@@ -15713,7 +15712,7 @@ let ActivityHistoryFullDataError = class extends h$p {
|
|
|
15713
15712
|
super(...arguments), this.errorMessages = [];
|
|
15714
15713
|
}
|
|
15715
15714
|
render() {
|
|
15716
|
-
return ke$1`${template$
|
|
15715
|
+
return ke$1`${template$i(this)}`;
|
|
15717
15716
|
}
|
|
15718
15717
|
handleClickFeedback() {
|
|
15719
15718
|
this.api.broker.send(new HandleHistoryItemsAddError(this.errorMessages));
|
|
@@ -15722,19 +15721,19 @@ let ActivityHistoryFullDataError = class extends h$p {
|
|
|
15722
15721
|
ActivityHistoryFullDataError.styles = i$R`
|
|
15723
15722
|
${r$O(styles$h)}
|
|
15724
15723
|
`;
|
|
15725
|
-
__decorateClass$
|
|
15724
|
+
__decorateClass$o([
|
|
15726
15725
|
connectedProperty(isAllDataFailedToLoad)
|
|
15727
15726
|
], ActivityHistoryFullDataError.prototype, "isAllDataFailedToLoad", 2);
|
|
15728
|
-
__decorateClass$
|
|
15727
|
+
__decorateClass$o([
|
|
15729
15728
|
connectedProperty(selectErrorMessages)
|
|
15730
15729
|
], ActivityHistoryFullDataError.prototype, "errorMessages", 2);
|
|
15731
|
-
__decorateClass$
|
|
15730
|
+
__decorateClass$o([
|
|
15732
15731
|
lazyInject(TYPES.primaryApi)
|
|
15733
15732
|
], ActivityHistoryFullDataError.prototype, "api", 2);
|
|
15734
|
-
ActivityHistoryFullDataError = __decorateClass$
|
|
15733
|
+
ActivityHistoryFullDataError = __decorateClass$o([
|
|
15735
15734
|
t$v("activity-history-full-data-error")
|
|
15736
15735
|
], ActivityHistoryFullDataError);
|
|
15737
|
-
const styles$g = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;padding-top:16px;padding-inline:16px}", template$
|
|
15736
|
+
const styles$g = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;padding-top:16px;padding-inline:16px}", template$h = (J) => {
|
|
15738
15737
|
const W = J.getCombinedMessage();
|
|
15739
15738
|
return ke$1`
|
|
15740
15739
|
${J.isErrorOccurred ? renderPartialErrorAlert(J, W) : D$5}
|
|
@@ -15744,8 +15743,8 @@ const styles$g = ":host{width:100%}.container{display:flex;align-items:center;fl
|
|
|
15744
15743
|
<dss-alert @onButtonClick=${J.handleClickAlert} state="warning" size="lg" message="${W}" buttonLabel=${translate("error.partial.refresh")} hasbutton></dss-alert>
|
|
15745
15744
|
</div>
|
|
15746
15745
|
`;
|
|
15747
|
-
var __defProp$k = Object.defineProperty, __getOwnPropDesc$
|
|
15748
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
15746
|
+
var __defProp$k = Object.defineProperty, __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor, __decorateClass$n = (J, W, X, te) => {
|
|
15747
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$9(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
15749
15748
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
15750
15749
|
return te && re && __defProp$k(W, X, re), re;
|
|
15751
15750
|
};
|
|
@@ -15754,7 +15753,7 @@ let ActivityHistoryPartialDataError = class extends h$p {
|
|
|
15754
15753
|
super(...arguments), this.errorMessages = [];
|
|
15755
15754
|
}
|
|
15756
15755
|
render() {
|
|
15757
|
-
return ke$1`${template$
|
|
15756
|
+
return ke$1`${template$h(this)}`;
|
|
15758
15757
|
}
|
|
15759
15758
|
handleClickAlert() {
|
|
15760
15759
|
this.api.broker.send(new HandleHistoryItemsAddError(this.errorMessages));
|
|
@@ -15767,16 +15766,16 @@ let ActivityHistoryPartialDataError = class extends h$p {
|
|
|
15767
15766
|
ActivityHistoryPartialDataError.styles = i$R`
|
|
15768
15767
|
${r$O(styles$g)}
|
|
15769
15768
|
`;
|
|
15770
|
-
__decorateClass$
|
|
15769
|
+
__decorateClass$n([
|
|
15771
15770
|
connectedProperty(isErrorOccurred)
|
|
15772
15771
|
], ActivityHistoryPartialDataError.prototype, "isErrorOccurred", 2);
|
|
15773
|
-
__decorateClass$
|
|
15772
|
+
__decorateClass$n([
|
|
15774
15773
|
connectedProperty(selectErrorMessages)
|
|
15775
15774
|
], ActivityHistoryPartialDataError.prototype, "errorMessages", 2);
|
|
15776
|
-
__decorateClass$
|
|
15775
|
+
__decorateClass$n([
|
|
15777
15776
|
lazyInject(TYPES.primaryApi)
|
|
15778
15777
|
], ActivityHistoryPartialDataError.prototype, "api", 2);
|
|
15779
|
-
ActivityHistoryPartialDataError = __decorateClass$
|
|
15778
|
+
ActivityHistoryPartialDataError = __decorateClass$n([
|
|
15780
15779
|
t$v("activity-history-partial-data-error")
|
|
15781
15780
|
], ActivityHistoryPartialDataError);
|
|
15782
15781
|
const { clearActivityHistoryCollections } = activityHistoryCollectionsSlice.actions;
|
|
@@ -15787,11 +15786,11 @@ class RefreshHistoryItemsHandler extends BaseHandler {
|
|
|
15787
15786
|
}
|
|
15788
15787
|
class HandleRefreshHistoryItems {
|
|
15789
15788
|
}
|
|
15790
|
-
let request$
|
|
15789
|
+
let request$5;
|
|
15791
15790
|
const bootstrapHandleRefreshHistoryItems = (J) => {
|
|
15792
|
-
teardownHandleRefreshHistoryItems(), request$
|
|
15791
|
+
teardownHandleRefreshHistoryItems(), request$5 = J.registerRequest(HandleRefreshHistoryItems, RefreshHistoryItemsHandler);
|
|
15793
15792
|
}, teardownHandleRefreshHistoryItems = () => {
|
|
15794
|
-
request$
|
|
15793
|
+
request$5?.dispose();
|
|
15795
15794
|
}, { removeActivityHistoryItem } = activityHistoryCollectionsSlice.actions;
|
|
15796
15795
|
class RemoveHistoryItemHandler extends StoreBaseHandler {
|
|
15797
15796
|
async handle(W) {
|
|
@@ -15807,11 +15806,11 @@ class RemoveHistoryItemHandler extends StoreBaseHandler {
|
|
|
15807
15806
|
}
|
|
15808
15807
|
}
|
|
15809
15808
|
}
|
|
15810
|
-
let request$
|
|
15809
|
+
let request$4;
|
|
15811
15810
|
const bootstrapRemoveHistoryItem = (J) => {
|
|
15812
|
-
request$
|
|
15811
|
+
request$4 = J.registerRequest("remove_history_item_request", RemoveHistoryItemHandler);
|
|
15813
15812
|
}, teardownRemoveHistoryItem = () => {
|
|
15814
|
-
request$
|
|
15813
|
+
request$4?.dispose();
|
|
15815
15814
|
}, { setSearchString } = activityHistoryFiltersSlice.actions;
|
|
15816
15815
|
class SearchItemsHandler extends BaseHandler {
|
|
15817
15816
|
async handle(W) {
|
|
@@ -15831,11 +15830,11 @@ class SearchActivityHistoryItems {
|
|
|
15831
15830
|
this.searchString = W, this.searchString = W;
|
|
15832
15831
|
}
|
|
15833
15832
|
}
|
|
15834
|
-
const styles$f = ".search-header{color:var(--color-neutral-900);font-weight:600}", template$
|
|
15833
|
+
const styles$f = ".search-header{color:var(--color-neutral-900);font-weight:600}", template$g = (J) => ke$1`<div class="search-header">
|
|
15835
15834
|
${translate("searchBarResults")} “${J.searchQuery}”
|
|
15836
15835
|
</div>`;
|
|
15837
|
-
var __defProp$j = Object.defineProperty, __getOwnPropDesc$
|
|
15838
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
15836
|
+
var __defProp$j = Object.defineProperty, __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor, __decorateClass$m = (J, W, X, te) => {
|
|
15837
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$8(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
15839
15838
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
15840
15839
|
return te && re && __defProp$j(W, X, re), re;
|
|
15841
15840
|
};
|
|
@@ -15844,24 +15843,24 @@ let ActivityHistorySearchResults = class extends h$p {
|
|
|
15844
15843
|
super(...arguments), this.searchQuery = "";
|
|
15845
15844
|
}
|
|
15846
15845
|
render() {
|
|
15847
|
-
return ke$1`${template$
|
|
15846
|
+
return ke$1`${template$g(this)}`;
|
|
15848
15847
|
}
|
|
15849
15848
|
};
|
|
15850
15849
|
ActivityHistorySearchResults.styles = i$R`
|
|
15851
15850
|
${r$O(styles$f)}
|
|
15852
15851
|
`;
|
|
15853
|
-
__decorateClass$
|
|
15852
|
+
__decorateClass$m([
|
|
15854
15853
|
n$y()
|
|
15855
15854
|
], ActivityHistorySearchResults.prototype, "searchQuery", 2);
|
|
15856
|
-
ActivityHistorySearchResults = __decorateClass$
|
|
15855
|
+
ActivityHistorySearchResults = __decorateClass$m([
|
|
15857
15856
|
t$v("activity-history-search-results")
|
|
15858
15857
|
], ActivityHistorySearchResults);
|
|
15859
|
-
const styles$e = ".search-header{padding-inline:16px;padding-top:12px;padding-bottom:12px;gap:var(--dss-spacing-xs);border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;color:var(--color-neutral-900);font-weight:600;font-size:14px;line-height:24px}", template$
|
|
15858
|
+
const styles$e = ".search-header{padding-inline:16px;padding-top:12px;padding-bottom:12px;gap:var(--dss-spacing-xs);border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;color:var(--color-neutral-900);font-weight:600;font-size:14px;line-height:24px}", template$f = (J) => ke$1`<dss-search-bar dropdownStyle=${"display: none"} @onSearchChange=${J._handleSearchChange} icon="search" inputsize="md" threshold="2" recentsearchestext="" emptydropdowntext="">
|
|
15860
15859
|
<label slot="label" for="searchbar1" aria-hidden="false"></label>
|
|
15861
15860
|
<input slot="input" id="searchbar1" type="text" value=${J.searchQuery} @input=${(W) => J._handleSearchChange({ detail: [W.target.value] })}>
|
|
15862
15861
|
</dss-search-bar>`;
|
|
15863
|
-
var __defProp$i = Object.defineProperty, __getOwnPropDesc$
|
|
15864
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
15862
|
+
var __defProp$i = Object.defineProperty, __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor, __decorateClass$l = (J, W, X, te) => {
|
|
15863
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$7(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
15865
15864
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
15866
15865
|
return te && re && __defProp$i(W, X, re), re;
|
|
15867
15866
|
};
|
|
@@ -15870,7 +15869,7 @@ let ActivityHistorySearchBar = class extends h$p {
|
|
|
15870
15869
|
super(...arguments), this.searchQuery = "";
|
|
15871
15870
|
}
|
|
15872
15871
|
render() {
|
|
15873
|
-
return ke$1`${template$
|
|
15872
|
+
return ke$1`${template$f(this)}`;
|
|
15874
15873
|
}
|
|
15875
15874
|
_handleSearchChange(J) {
|
|
15876
15875
|
const W = J.detail || [], X = W.length > 0 ? W.join(" ") : "", te = X.length > 1 ? X : "";
|
|
@@ -15880,10 +15879,10 @@ let ActivityHistorySearchBar = class extends h$p {
|
|
|
15880
15879
|
ActivityHistorySearchBar.styles = i$R`
|
|
15881
15880
|
${r$O(styles$e)}
|
|
15882
15881
|
`;
|
|
15883
|
-
__decorateClass$
|
|
15882
|
+
__decorateClass$l([
|
|
15884
15883
|
n$y()
|
|
15885
15884
|
], ActivityHistorySearchBar.prototype, "searchQuery", 2);
|
|
15886
|
-
ActivityHistorySearchBar = __decorateClass$
|
|
15885
|
+
ActivityHistorySearchBar = __decorateClass$l([
|
|
15887
15886
|
t$v("activity-history-search-bar")
|
|
15888
15887
|
], ActivityHistorySearchBar);
|
|
15889
15888
|
const styles$d = ":host{display:flex;justify-content:space-between}.filters-container{display:flex;gap:var(--dss-spacing-md)}.filters-header{font-weight:700}.filter-groups{display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs)}.filter-group{display:flex;gap:var(--dss-spacing-xs);color:var(--color-neutral-600);font-weight:600}.clean-filters{display:flex}.clean-filters .separator{padding:0 8px}.popover-content{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs);padding:10px;max-width:368px;max-height:336px;overflow:auto}", formatShowFilterTitle = (J) => {
|
|
@@ -15925,7 +15924,7 @@ const styles$d = ":host{display:flex;justify-content:space-between}.filters-cont
|
|
|
15925
15924
|
@click=${() => X._onDeleteUpFilterValue(J)}
|
|
15926
15925
|
@onDelete=${() => X._onDeleteUpFilterValue(J)}
|
|
15927
15926
|
></dss-chip>
|
|
15928
|
-
`, renderFilterTitle = (J) => ke$1`<div class="filter-title">${`${J}:`}</div>`, template$
|
|
15927
|
+
`, renderFilterTitle = (J) => ke$1`<div class="filter-title">${`${J}:`}</div>`, template$e = (J) => {
|
|
15929
15928
|
if (J.enabledFilters.length === 0 && J.enabledCommonFilters.length === 0 && J.diagnosticFilterEnabled?.enabledValues?.length === 0 && J.upFilterEnabled.enabledValues.length === 0)
|
|
15930
15929
|
return D$5;
|
|
15931
15930
|
let W = 0;
|
|
@@ -15995,14 +15994,14 @@ const styles$d = ":host{display:flex;justify-content:space-between}.filters-cont
|
|
|
15995
15994
|
</div>
|
|
15996
15995
|
`;
|
|
15997
15996
|
};
|
|
15998
|
-
var __defProp$h = Object.defineProperty, __getOwnPropDesc$
|
|
15999
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
15997
|
+
var __defProp$h = Object.defineProperty, __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor, __decorateClass$k = (J, W, X, te) => {
|
|
15998
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$6(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
16000
15999
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
16001
16000
|
return te && re && __defProp$h(W, X, re), re;
|
|
16002
16001
|
};
|
|
16003
16002
|
let ActiveFiltersBadges = class extends h$p {
|
|
16004
16003
|
render() {
|
|
16005
|
-
return ke$1`${template$
|
|
16004
|
+
return ke$1`${template$e(this)}`;
|
|
16006
16005
|
}
|
|
16007
16006
|
_onDeleteFilterValue(J, W, X, te) {
|
|
16008
16007
|
this.api.broker.send(
|
|
@@ -16030,29 +16029,29 @@ let ActiveFiltersBadges = class extends h$p {
|
|
|
16030
16029
|
ActiveFiltersBadges.styles = i$R`
|
|
16031
16030
|
${r$O(styles$d)}
|
|
16032
16031
|
`;
|
|
16033
|
-
__decorateClass$
|
|
16032
|
+
__decorateClass$k([
|
|
16034
16033
|
lazyInject(TYPES.primaryApi)
|
|
16035
16034
|
], ActiveFiltersBadges.prototype, "api", 2);
|
|
16036
|
-
__decorateClass$
|
|
16035
|
+
__decorateClass$k([
|
|
16037
16036
|
connectedProperty(activityHistoryEnabledCommonFiltersSelector)
|
|
16038
16037
|
], ActiveFiltersBadges.prototype, "enabledCommonFilters", 2);
|
|
16039
|
-
__decorateClass$
|
|
16038
|
+
__decorateClass$k([
|
|
16040
16039
|
connectedProperty(customFilterGroupsWithOptionsSelector)
|
|
16041
16040
|
], ActiveFiltersBadges.prototype, "enabledFilters", 2);
|
|
16042
|
-
__decorateClass$
|
|
16041
|
+
__decorateClass$k([
|
|
16043
16042
|
connectedProperty(diagnosticFilterSelector)
|
|
16044
16043
|
], ActiveFiltersBadges.prototype, "diagnosticFilterEnabled", 2);
|
|
16045
|
-
__decorateClass$
|
|
16044
|
+
__decorateClass$k([
|
|
16046
16045
|
connectedProperty(upFilterSelector)
|
|
16047
16046
|
], ActiveFiltersBadges.prototype, "upFilterEnabled", 2);
|
|
16048
|
-
ActiveFiltersBadges = __decorateClass$
|
|
16047
|
+
ActiveFiltersBadges = __decorateClass$k([
|
|
16049
16048
|
t$v("active-filters-badges")
|
|
16050
16049
|
], ActiveFiltersBadges);
|
|
16051
|
-
let request$
|
|
16050
|
+
let request$3;
|
|
16052
16051
|
const bootstrapSearchItems = (J) => {
|
|
16053
|
-
request$
|
|
16052
|
+
request$3 = J.registerRequest(SearchActivityHistoryItems, SearchItemsHandler);
|
|
16054
16053
|
}, teardownSearchItems = () => {
|
|
16055
|
-
request$
|
|
16054
|
+
request$3?.dispose();
|
|
16056
16055
|
}, { updateActivityHistoryItem } = activityHistoryCollectionsSlice.actions;
|
|
16057
16056
|
class UpdateHistoryItemHandler extends StoreBaseHandler {
|
|
16058
16057
|
async handle(W) {
|
|
@@ -16068,18 +16067,18 @@ class UpdateHistoryItemHandler extends StoreBaseHandler {
|
|
|
16068
16067
|
}
|
|
16069
16068
|
}
|
|
16070
16069
|
}
|
|
16071
|
-
let request$
|
|
16070
|
+
let request$2;
|
|
16072
16071
|
const bootstrapUpdateHistoryItem = (J) => {
|
|
16073
|
-
request$
|
|
16072
|
+
request$2 = J.registerRequest("update_history_item_request", UpdateHistoryItemHandler);
|
|
16074
16073
|
}, teardownUpdateHistoryItem = () => {
|
|
16075
|
-
request$
|
|
16074
|
+
request$2?.dispose();
|
|
16076
16075
|
};
|
|
16077
16076
|
let broker;
|
|
16078
16077
|
const bootstrapActivityHistoryItem = (J) => {
|
|
16079
16078
|
broker = brokerExtensions(J, container), bootstrapInjectAsyncHistoryItems(broker, J), bootstrapAddHistoryItem(broker, J), bootstrapAddHistoryItems(broker, J), bootstrapHandleHistoryItemsAddError(broker), bootstrapHandleRefreshHistoryItems(broker), bootstrapUpdateHistoryItem(broker), bootstrapExportPdf(broker), bootstrapFilters(broker, J), bootstrapSearchItems(broker), bootstrapRemoveHistoryItem(broker);
|
|
16080
16079
|
}, teardownActivityHistoryItem = () => {
|
|
16081
16080
|
teardownInjectAsyncHistoryItems(), teardownAddHistoryItem(), teardownAddHistoryItems(), teardownHandleHistoryItemsAddError(), teardownUpdateHistoryItem(), teardownExportPdf(), teardownFilters(), teardownSearchItems(), teardownRemoveHistoryItem();
|
|
16082
|
-
}, styles$c = ":host{display:flex;min-height:1px;height:100%;width:100%}.container{display:flex;flex-direction:column;width:100%;border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm)}.container[maximized]{position:absolute;background:#fff;top:0;left:0;bottom:0;border:none}.container[maximized] .header-maximized-container{display:flex;flex-direction:column}.container[maximized] .header-maximized-container .header__maximized{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding-top:24px;padding-bottom:24px;padding-inline:40px}.container[maximized] .header-maximized-container .header__maximized .header__maximized__search{flex:1;border-radius:8px;border:1px solid rgb(189,189,189);padding:8px;width:300px}.container[maximized] .header-maximized-container .header__maximized .title{color:var(--color-neutral-900);font-weight:700;font-size:20px;line-height:30px;white-space:nowrap}.container[maximized] .header-maximized-container .header__maximized .options{display:flex;align-items:center;color:var(--color-primary-400);font-weight:600;font-size:14px;line-height:24px;cursor:pointer}.container[maximized] .header-maximized-container .header__maximized .header__maximized__left{display:flex;flex-direction:row;gap:24px;align-items:center;width:100%}.container[maximized] .header-maximized-container .header__maximized .header__maximized__right{display:flex;flex-direction:row;gap:16px;align-items:center}.container[maximized] .wrapper{height:calc(100vh - 175px);border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm);margin-bottom:24px;margin-inline:40px;width:calc(100% - 80px)}.container .header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid rgb(189,189,189);gap:16px}.container .header .header__left{display:flex;flex-direction:row;align-items:center;flex:1;gap:16px}.container .header .header__left .title{color:var(--color-neutral-800);font-weight:700;font-size:16px;line-height:24px;white-space:nowrap}.container .header .header__right{display:flex;flex-direction:row;align-items:center;gap:8px}.container .header .header__right .action-icons{display:flex;align-items:center}.container .wrapper{display:flex;flex-direction:row;min-height:1px;width:100%;height:100%}.container .wrapper[maximized] .content{width:100%;background:var(--color-neutral-50);border-top-right-radius:var(--dss-radius-sm);display:flex;flex-direction:column}.container .wrapper .content{width:100%;background:var(--color-neutral-50);border-bottom-right-radius:var(--dss-radius-sm);overflow:hidden;display:flex;flex-direction:column}", template$
|
|
16081
|
+
}, styles$c = ":host{display:flex;min-height:1px;height:100%;width:100%}.container{display:flex;flex-direction:column;width:100%;border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm)}.container[maximized]{position:absolute;background:#fff;top:0;left:0;bottom:0;border:none}.container[maximized] .header-maximized-container{display:flex;flex-direction:column}.container[maximized] .header-maximized-container .header__maximized{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding-top:24px;padding-bottom:24px;padding-inline:40px}.container[maximized] .header-maximized-container .header__maximized .header__maximized__search{flex:1;border-radius:8px;border:1px solid rgb(189,189,189);padding:8px;width:300px}.container[maximized] .header-maximized-container .header__maximized .title{color:var(--color-neutral-900);font-weight:700;font-size:20px;line-height:30px;white-space:nowrap}.container[maximized] .header-maximized-container .header__maximized .options{display:flex;align-items:center;color:var(--color-primary-400);font-weight:600;font-size:14px;line-height:24px;cursor:pointer}.container[maximized] .header-maximized-container .header__maximized .header__maximized__left{display:flex;flex-direction:row;gap:24px;align-items:center;width:100%}.container[maximized] .header-maximized-container .header__maximized .header__maximized__right{display:flex;flex-direction:row;gap:16px;align-items:center}.container[maximized] .wrapper{height:calc(100vh - 175px);border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm);margin-bottom:24px;margin-inline:40px;width:calc(100% - 80px)}.container .header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid rgb(189,189,189);gap:16px}.container .header .header__left{display:flex;flex-direction:row;align-items:center;flex:1;gap:16px}.container .header .header__left .title{color:var(--color-neutral-800);font-weight:700;font-size:16px;line-height:24px;white-space:nowrap}.container .header .header__right{display:flex;flex-direction:row;align-items:center;gap:8px}.container .header .header__right .action-icons{display:flex;align-items:center}.container .wrapper{display:flex;flex-direction:row;min-height:1px;width:100%;height:100%}.container .wrapper[maximized] .content{width:100%;background:var(--color-neutral-50);border-top-right-radius:var(--dss-radius-sm);display:flex;flex-direction:column}.container .wrapper .content{width:100%;background:var(--color-neutral-50);border-bottom-right-radius:var(--dss-radius-sm);overflow:hidden;display:flex;flex-direction:column}", template$d = (J) => ke$1`<div class="container" ?maximized=${J.maximized}>
|
|
16083
16082
|
${J.maximized ? ke$1`${headerMaximizedTemplate(J)}` : ke$1`<div class="header">
|
|
16084
16083
|
<div class="header__left">
|
|
16085
16084
|
<div class="title">${translate("activityHistory")}</div>
|
|
@@ -16137,8 +16136,8 @@ const bootstrapActivityHistoryItem = (J) => {
|
|
|
16137
16136
|
</div>
|
|
16138
16137
|
</div>
|
|
16139
16138
|
`;
|
|
16140
|
-
var __defProp$g = Object.defineProperty, __getOwnPropDesc$
|
|
16141
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
16139
|
+
var __defProp$g = Object.defineProperty, __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor, __decorateClass$j = (J, W, X, te) => {
|
|
16140
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$5(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
16142
16141
|
(ne = J[oe]) && (re = (te ? ne(W, X, re) : ne(re)) || re);
|
|
16143
16142
|
return te && re && __defProp$g(W, X, re), re;
|
|
16144
16143
|
};
|
|
@@ -16147,7 +16146,7 @@ let ActivityHistoryMain = class extends PrimariaRegionHost(h$p) {
|
|
|
16147
16146
|
super(...arguments), this.subscriptions = [], this._searchTimeout = null, this.maximized = !1, this.searchQuery = "";
|
|
16148
16147
|
}
|
|
16149
16148
|
render() {
|
|
16150
|
-
return ke$1`${template$
|
|
16149
|
+
return ke$1`${template$d(this)}`;
|
|
16151
16150
|
}
|
|
16152
16151
|
connectedCallback() {
|
|
16153
16152
|
super.connectedCallback();
|
|
@@ -16197,25 +16196,25 @@ let ActivityHistoryMain = class extends PrimariaRegionHost(h$p) {
|
|
|
16197
16196
|
ActivityHistoryMain.styles = i$R`
|
|
16198
16197
|
${r$O(styles$c)}
|
|
16199
16198
|
`;
|
|
16200
|
-
__decorateClass$
|
|
16199
|
+
__decorateClass$j([
|
|
16201
16200
|
n$y({ type: Boolean, reflect: !0 })
|
|
16202
16201
|
], ActivityHistoryMain.prototype, "maximized", 2);
|
|
16203
|
-
__decorateClass$
|
|
16202
|
+
__decorateClass$j([
|
|
16204
16203
|
lazyInject(TYPES.primaryApi)
|
|
16205
16204
|
], ActivityHistoryMain.prototype, "api", 2);
|
|
16206
|
-
__decorateClass$
|
|
16205
|
+
__decorateClass$j([
|
|
16207
16206
|
connectedProperty(activityHistoryGroupedItems)
|
|
16208
16207
|
], ActivityHistoryMain.prototype, "historyGroups", 2);
|
|
16209
|
-
__decorateClass$
|
|
16208
|
+
__decorateClass$j([
|
|
16210
16209
|
connectedProperty(isSomeCollectionLoadedAndOtherLoading)
|
|
16211
16210
|
], ActivityHistoryMain.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
|
|
16212
|
-
__decorateClass$
|
|
16211
|
+
__decorateClass$j([
|
|
16213
16212
|
connectedProperty(isAnyCollectionBusySelector)
|
|
16214
16213
|
], ActivityHistoryMain.prototype, "isAnyCollectionBusy", 2);
|
|
16215
|
-
__decorateClass$
|
|
16214
|
+
__decorateClass$j([
|
|
16216
16215
|
n$y()
|
|
16217
16216
|
], ActivityHistoryMain.prototype, "searchQuery", 2);
|
|
16218
|
-
ActivityHistoryMain = __decorateClass$
|
|
16217
|
+
ActivityHistoryMain = __decorateClass$j([
|
|
16219
16218
|
t$v("activity-history-main")
|
|
16220
16219
|
], ActivityHistoryMain);
|
|
16221
16220
|
const registerViews = (J) => {
|
|
@@ -16253,11 +16252,11 @@ const internalPlugins = [
|
|
|
16253
16252
|
X?.importedPlugin?.startup && X?.importedPlugin?.startup?.(X.apiInstance, W.params);
|
|
16254
16253
|
}
|
|
16255
16254
|
}, disposePlugins = async () => Promise.all(bootstrappedPlugins.map((J) => J?.dispose()));
|
|
16256
|
-
var __getOwnPropDesc$
|
|
16257
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
16255
|
+
var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor, __decorateClass$i = (J, W, X, te) => {
|
|
16256
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$4(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
16258
16257
|
(ne = J[oe]) && (re = ne(re) || re);
|
|
16259
16258
|
return re;
|
|
16260
|
-
}, __decorateParam$
|
|
16259
|
+
}, __decorateParam$2 = (J, W) => (X, te) => W(X, te, J);
|
|
16261
16260
|
let ExitShellHandler = class {
|
|
16262
16261
|
constructor(J) {
|
|
16263
16262
|
this.api = J;
|
|
@@ -16295,25 +16294,25 @@ let ExitShellHandler = class {
|
|
|
16295
16294
|
J ? raiseCustomCloseEvent(J) : raiseCloseEvent();
|
|
16296
16295
|
}
|
|
16297
16296
|
};
|
|
16298
|
-
ExitShellHandler = __decorateClass$
|
|
16299
|
-
__decorateParam$
|
|
16297
|
+
ExitShellHandler = __decorateClass$i([
|
|
16298
|
+
__decorateParam$2(0, inject(TYPES$1.primaryApi))
|
|
16300
16299
|
], ExitShellHandler);
|
|
16301
16300
|
class ExitShell {
|
|
16302
16301
|
constructor(W, X) {
|
|
16303
16302
|
this.ecapEvent = W, this.payload = X;
|
|
16304
16303
|
}
|
|
16305
16304
|
}
|
|
16306
|
-
let request$
|
|
16305
|
+
let request$1;
|
|
16307
16306
|
const useExitShell = (J) => {
|
|
16308
|
-
disposeExitShell(), request$
|
|
16307
|
+
disposeExitShell(), request$1 = registerRequest$1(J, container$1)(ExitShell, ExitShellHandler);
|
|
16309
16308
|
}, disposeExitShell = () => {
|
|
16310
|
-
request$
|
|
16309
|
+
request$1?.dispose();
|
|
16311
16310
|
};
|
|
16312
|
-
var __getOwnPropDesc$
|
|
16313
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
16311
|
+
var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor, __decorateClass$h = (J, W, X, te) => {
|
|
16312
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$3(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
16314
16313
|
(ne = J[oe]) && (re = ne(re) || re);
|
|
16315
16314
|
return re;
|
|
16316
|
-
}, __decorateParam$
|
|
16315
|
+
}, __decorateParam$1 = (J, W) => (X, te) => W(X, te, J);
|
|
16317
16316
|
let GetUserInfoBackendAdapter = class {
|
|
16318
16317
|
constructor(J) {
|
|
16319
16318
|
this.api = J;
|
|
@@ -16341,15 +16340,15 @@ let GetUserInfoBackendAdapter = class {
|
|
|
16341
16340
|
)?.value;
|
|
16342
16341
|
}
|
|
16343
16342
|
};
|
|
16344
|
-
GetUserInfoBackendAdapter = __decorateClass$
|
|
16343
|
+
GetUserInfoBackendAdapter = __decorateClass$h([
|
|
16345
16344
|
injectable(),
|
|
16346
|
-
__decorateParam$
|
|
16345
|
+
__decorateParam$1(0, inject(TYPES$1.primaryApi))
|
|
16347
16346
|
], GetUserInfoBackendAdapter);
|
|
16348
|
-
var __getOwnPropDesc$
|
|
16349
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$
|
|
16347
|
+
var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor, __decorateClass$g = (J, W, X, te) => {
|
|
16348
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$2(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
16350
16349
|
(ne = J[oe]) && (re = ne(re) || re);
|
|
16351
16350
|
return re;
|
|
16352
|
-
}, __decorateParam
|
|
16351
|
+
}, __decorateParam = (J, W) => (X, te) => W(X, te, J);
|
|
16353
16352
|
let GetUserInfoHandler = class {
|
|
16354
16353
|
constructor(J, W) {
|
|
16355
16354
|
this.api = J, this.backendAdapter = W;
|
|
@@ -16363,65 +16362,21 @@ let GetUserInfoHandler = class {
|
|
|
16363
16362
|
}
|
|
16364
16363
|
}
|
|
16365
16364
|
};
|
|
16366
|
-
GetUserInfoHandler = __decorateClass$
|
|
16367
|
-
__decorateParam
|
|
16368
|
-
__decorateParam
|
|
16365
|
+
GetUserInfoHandler = __decorateClass$g([
|
|
16366
|
+
__decorateParam(0, inject(TYPES$1.primaryApi)),
|
|
16367
|
+
__decorateParam(1, inject(GetUserInfoBackendAdapter))
|
|
16369
16368
|
], GetUserInfoHandler);
|
|
16370
16369
|
class GetUserInfo {
|
|
16371
16370
|
}
|
|
16372
|
-
let request
|
|
16371
|
+
let request;
|
|
16373
16372
|
const useGetUserInfo = (J) => {
|
|
16374
|
-
disposeGetUserInfo(), request
|
|
16373
|
+
disposeGetUserInfo(), request = registerRequest$1(J, container$1)(GetUserInfo, GetUserInfoHandler), registerDep(GetUserInfoBackendAdapter);
|
|
16375
16374
|
}, disposeGetUserInfo = () => {
|
|
16376
|
-
request
|
|
16377
|
-
};
|
|
16378
|
-
var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor, __decorateClass$g = (J, W, X, te) => {
|
|
16379
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$2(W, X) : W, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
16380
|
-
(ne = J[oe]) && (re = ne(re) || re);
|
|
16381
|
-
return re;
|
|
16382
|
-
}, __decorateParam = (J, W) => (X, te) => W(X, te, J);
|
|
16383
|
-
let FinalizeVisitHandler = class {
|
|
16384
|
-
constructor(J) {
|
|
16385
|
-
this.api = J;
|
|
16386
|
-
}
|
|
16387
|
-
async handle(J) {
|
|
16388
|
-
try {
|
|
16389
|
-
const W = this.api.contextManager.getContext().visi_id;
|
|
16390
|
-
W && this.api.broker.send(new ExitShell("RESOL_VISITA", { VisiID: W }));
|
|
16391
|
-
} catch (W) {
|
|
16392
|
-
this.api.notificationService.error(W.message);
|
|
16393
|
-
}
|
|
16394
|
-
}
|
|
16395
|
-
};
|
|
16396
|
-
FinalizeVisitHandler = __decorateClass$g([
|
|
16397
|
-
__decorateParam(0, inject(TYPES$1.primaryApi))
|
|
16398
|
-
], FinalizeVisitHandler);
|
|
16399
|
-
class FinalizeVisit {
|
|
16400
|
-
}
|
|
16401
|
-
const template$d = (J) => ke$1`
|
|
16402
|
-
<dss-button @click=${J.finalizeVisitHandler} variant="secondary" size="md" icon="check" label=${translate$1("actions.finalizeVisit")}></dss-button>
|
|
16403
|
-
`;
|
|
16404
|
-
class FinalizeVisitButton extends h$p {
|
|
16405
|
-
render() {
|
|
16406
|
-
return ke$1`${template$d(this)}`;
|
|
16407
|
-
}
|
|
16408
|
-
finalizeVisitHandler() {
|
|
16409
|
-
shellApi.broker.send(new FinalizeVisit());
|
|
16410
|
-
}
|
|
16411
|
-
}
|
|
16412
|
-
let request;
|
|
16413
|
-
const useFinalizeVisit = (J) => {
|
|
16414
|
-
disposeFinalizeVisit(), J.contextManager.getContext().visi_id && (J.regionManager.registerView(J.regionManager.regions.shell.headerRightActions, {
|
|
16415
|
-
id: "finalize-visit-button",
|
|
16416
|
-
sortHint: "0001",
|
|
16417
|
-
factory: () => Promise.resolve(new FinalizeVisitButton())
|
|
16418
|
-
}), request = registerRequest$1(J, container$1)(FinalizeVisit, FinalizeVisitHandler));
|
|
16419
|
-
}, disposeFinalizeVisit = () => {
|
|
16420
|
-
request?.dispose();
|
|
16375
|
+
request?.dispose(), unregisterDep(GetUserInfoBackendAdapter);
|
|
16421
16376
|
}, useFeatures = (J) => {
|
|
16422
|
-
container$1.bind(TYPES$1.primaryApi).toConstantValue(J), useGetUserInfo(J), useExitShell(J),
|
|
16377
|
+
container$1.bind(TYPES$1.primaryApi).toConstantValue(J), useGetUserInfo(J), useExitShell(J), J.broker.send(new GetUserInfo());
|
|
16423
16378
|
}, disposeFeatures = (J) => {
|
|
16424
|
-
disposeGetUserInfo(), disposeExitShell(),
|
|
16379
|
+
disposeGetUserInfo(), disposeExitShell(), container$1.unbindAll(), J.regionManager._destroy(), mediatorSettings.resolver.clear();
|
|
16425
16380
|
}, disposeShell = () => {
|
|
16426
16381
|
disposeFeatures(shellApi), shellApi.interactionService.dispose();
|
|
16427
16382
|
}, raiseCloseEvent = () => {
|
|
@@ -17939,18 +17894,18 @@ function flip(J) {
|
|
|
17939
17894
|
}
|
|
17940
17895
|
if (Fe)
|
|
17941
17896
|
for (var Ze = me ? 3 : 1, Me = function(Xe) {
|
|
17942
|
-
var
|
|
17897
|
+
var Ve = ye.find(function(Ke) {
|
|
17943
17898
|
var rt = De.get(Ke);
|
|
17944
17899
|
if (rt)
|
|
17945
17900
|
return rt.slice(0, Xe).every(function(ot) {
|
|
17946
17901
|
return ot;
|
|
17947
17902
|
});
|
|
17948
17903
|
});
|
|
17949
|
-
if (
|
|
17950
|
-
return He =
|
|
17904
|
+
if (Ve)
|
|
17905
|
+
return He = Ve, "break";
|
|
17951
17906
|
}, Ue = Ze; Ue > 0; Ue--) {
|
|
17952
|
-
var
|
|
17953
|
-
if (
|
|
17907
|
+
var Be = Me(Ue);
|
|
17908
|
+
if (Be === "break") break;
|
|
17954
17909
|
}
|
|
17955
17910
|
W.placement !== He && (W.modifiersData[te]._skip = !0, W.placement = He, W.reset = !0);
|
|
17956
17911
|
}
|
|
@@ -18067,10 +18022,10 @@ function preventOverflow(J) {
|
|
|
18067
18022
|
};
|
|
18068
18023
|
if (Le) {
|
|
18069
18024
|
if (oe) {
|
|
18070
|
-
var Pe, ze = ye === "y" ? top : left, We = ye === "y" ? bottom : right, Ge = ye === "y" ? "height" : "width", Ye = Le[ye], ft = Ye + ve[ze], Je = Ye - ve[We], Ze = be ? -Fe[Ge] / 2 : 0, Me = we === start ? De[Ge] : Fe[Ge], Ue = we === start ? -Fe[Ge] : -De[Ge],
|
|
18025
|
+
var Pe, ze = ye === "y" ? top : left, We = ye === "y" ? bottom : right, Ge = ye === "y" ? "height" : "width", Ye = Le[ye], ft = Ye + ve[ze], Je = Ye - ve[We], Ze = be ? -Fe[Ge] / 2 : 0, Me = we === start ? De[Ge] : Fe[Ge], Ue = we === start ? -Fe[Ge] : -De[Ge], Be = W.elements.arrow, Qe = be && Be ? getLayoutRect(Be) : {
|
|
18071
18026
|
width: 0,
|
|
18072
18027
|
height: 0
|
|
18073
|
-
}, Xe = W.modifiersData["arrow#persistent"] ? W.modifiersData["arrow#persistent"].padding : getFreshSideObject(),
|
|
18028
|
+
}, Xe = W.modifiersData["arrow#persistent"] ? W.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Ve = Xe[ze], Ke = Xe[We], rt = within(0, De[Ge], Qe[Ge]), ot = Se ? De[Ge] / 2 - Ze - rt - Ve - Ie.mainAxis : Me - rt - Ve - Ie.mainAxis, _t = Se ? -De[Ge] / 2 + Ze + rt + Ke + Ie.mainAxis : Ue + rt + Ke + Ie.mainAxis, kt = W.elements.arrow && getOffsetParent(W.elements.arrow), It = kt ? ye === "y" ? kt.clientTop || 0 : kt.clientLeft || 0 : 0, qt = (Pe = Ae?.[ye]) != null ? Pe : 0, Nt = Ye + ot - qt - It, Vt = Ye + _t - qt, rs = within(be ? min(ft, Nt) : ft, Ye, be ? max(Je, Vt) : Je);
|
|
18074
18029
|
Le[ye] = rs, qe[ye] = rs - Ye;
|
|
18075
18030
|
}
|
|
18076
18031
|
if (de) {
|
|
@@ -42276,7 +42231,7 @@ var __defProp$e = Object.defineProperty, __decorateClass$e = (J, W, X, te) => {
|
|
|
42276
42231
|
(ne = J[oe]) && (re = ne(W, X, re) || re);
|
|
42277
42232
|
return re && __defProp$e(W, X, re), re;
|
|
42278
42233
|
};
|
|
42279
|
-
const
|
|
42234
|
+
const Vs = class Vs extends PrimariaRegionHost(h$p) {
|
|
42280
42235
|
constructor() {
|
|
42281
42236
|
super(...arguments), this.sidebarExpanded = !1, this.viewSelected = shellViews.shell, this.quickActionBusy = !1, this.subscriptions = [];
|
|
42282
42237
|
}
|
|
@@ -42370,10 +42325,10 @@ const Bs = class Bs extends PrimariaRegionHost(h$p) {
|
|
|
42370
42325
|
}, 300);
|
|
42371
42326
|
}
|
|
42372
42327
|
};
|
|
42373
|
-
|
|
42328
|
+
Vs.styles = i$R`
|
|
42374
42329
|
${r$O(styles$b)}
|
|
42375
42330
|
`;
|
|
42376
|
-
let PrimariaShell =
|
|
42331
|
+
let PrimariaShell = Vs;
|
|
42377
42332
|
__decorateClass$e([
|
|
42378
42333
|
s$L({ targetId: "menu-region-container", name: shellApi.regionManager.regions.shell.navigationMenu })
|
|
42379
42334
|
], PrimariaShell.prototype, "navigationMenuRegion");
|
|
@@ -42832,7 +42787,7 @@ Js.styles = i$R`
|
|
|
42832
42787
|
`;
|
|
42833
42788
|
let HeaderDivider = Js;
|
|
42834
42789
|
const useComponents = () => {
|
|
42835
|
-
t$v("primaria-shell")(PrimariaShell), t$v("primaria-shell-header")(PrimariaShellHeader), t$v("primaria-error-view")(PrimariaErrorView), t$v("quick-actions-menu")(QuickActionsMenu), t$v("
|
|
42790
|
+
t$v("primaria-shell")(PrimariaShell), t$v("primaria-shell-header")(PrimariaShellHeader), t$v("primaria-error-view")(PrimariaErrorView), t$v("quick-actions-menu")(QuickActionsMenu), t$v("header-divider")(HeaderDivider), t$v("communication-action-menu")(CommunicationActionMenu), t$v("clinical-pathways-action-menu")(ClinicalPathwaysActionMenu), t$v("petitioner-action-menu")(PetitionerActionMenu), t$v("poc-events-ecap")(PocEventsEcap), t$v("primaria-accordion")(PrimariaAccordion);
|
|
42836
42791
|
};
|
|
42837
42792
|
var __defProp$7 = Object.defineProperty, __decorateClass$7 = (J, W, X, te) => {
|
|
42838
42793
|
for (var re = void 0, oe = J.length - 1, ne; oe >= 0; oe--)
|
|
@@ -43625,15 +43580,15 @@ function requireQuill() {
|
|
|
43625
43580
|
return Je && typeof Symbol == "function" && Je.constructor === Symbol && Je !== Symbol.prototype ? "symbol" : typeof Je;
|
|
43626
43581
|
}, ne = /* @__PURE__ */ (function() {
|
|
43627
43582
|
function Je(Ze, Me) {
|
|
43628
|
-
var Ue = [],
|
|
43583
|
+
var Ue = [], Be = !0, Qe = !1, Xe = void 0;
|
|
43629
43584
|
try {
|
|
43630
|
-
for (var
|
|
43585
|
+
for (var Ve = Ze[Symbol.iterator](), Ke; !(Be = (Ke = Ve.next()).done) && (Ue.push(Ke.value), !(Me && Ue.length === Me)); Be = !0)
|
|
43631
43586
|
;
|
|
43632
43587
|
} catch (rt) {
|
|
43633
43588
|
Qe = !0, Xe = rt;
|
|
43634
43589
|
} finally {
|
|
43635
43590
|
try {
|
|
43636
|
-
!
|
|
43591
|
+
!Be && Ve.return && Ve.return();
|
|
43637
43592
|
} finally {
|
|
43638
43593
|
if (Qe) throw Xe;
|
|
43639
43594
|
}
|
|
@@ -43650,8 +43605,8 @@ function requireQuill() {
|
|
|
43650
43605
|
})(), de = /* @__PURE__ */ (function() {
|
|
43651
43606
|
function Je(Ze, Me) {
|
|
43652
43607
|
for (var Ue = 0; Ue < Me.length; Ue++) {
|
|
43653
|
-
var
|
|
43654
|
-
|
|
43608
|
+
var Be = Me[Ue];
|
|
43609
|
+
Be.enumerable = Be.enumerable || !1, Be.configurable = !0, "value" in Be && (Be.writable = !0), Object.defineProperty(Ze, Be.key, Be);
|
|
43655
43610
|
}
|
|
43656
43611
|
}
|
|
43657
43612
|
return function(Ze, Me, Ue) {
|
|
@@ -43689,11 +43644,11 @@ function requireQuill() {
|
|
|
43689
43644
|
}, {
|
|
43690
43645
|
key: "register",
|
|
43691
43646
|
value: function(Me, Ue) {
|
|
43692
|
-
var
|
|
43647
|
+
var Be = this, Qe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
|
|
43693
43648
|
if (typeof Me != "string") {
|
|
43694
43649
|
var Xe = Me.attrName || Me.blotName;
|
|
43695
|
-
typeof Xe == "string" ? this.register("formats/" + Xe, Me, Ue) : Object.keys(Me).forEach(function(
|
|
43696
|
-
|
|
43650
|
+
typeof Xe == "string" ? this.register("formats/" + Xe, Me, Ue) : Object.keys(Me).forEach(function(Ve) {
|
|
43651
|
+
Be.register(Ve, Me[Ve], Ue);
|
|
43697
43652
|
});
|
|
43698
43653
|
} else
|
|
43699
43654
|
this.imports[Me] != null && !Qe && Pe.warn("Overwriting " + Me + " with", Ue), this.imports[Me] = Ue, (Me.startsWith("blots/") || Me.startsWith("formats/")) && Ue.blotName !== "abstract" ? _e.default.register(Ue) : Me.startsWith("modules") && typeof Ue.register == "function" && Ue.register();
|
|
@@ -43704,19 +43659,19 @@ function requireQuill() {
|
|
|
43704
43659
|
if (qe(this, Je), this.options = We(Ze, Ue), this.container = this.options.container, this.container == null)
|
|
43705
43660
|
return Pe.error("Invalid Quill container", Ze);
|
|
43706
43661
|
this.options.debug && Je.debug(this.options.debug);
|
|
43707
|
-
var
|
|
43662
|
+
var Be = this.container.innerHTML.trim();
|
|
43708
43663
|
this.container.classList.add("ql-container"), this.container.innerHTML = "", this.container.__quill = this, this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.root.setAttribute("data-gramm", !1), this.scrollingContainer = this.options.scrollingContainer || this.root, this.emitter = new be.default(), this.scroll = _e.default.create(this.root, {
|
|
43709
43664
|
emitter: this.emitter,
|
|
43710
43665
|
whitelist: this.options.formats
|
|
43711
43666
|
}), this.editor = new pe.default(this.scroll), this.selection = new Se.default(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.theme.init(), this.emitter.on(be.default.events.EDITOR_CHANGE, function(Xe) {
|
|
43712
43667
|
Xe === be.default.events.TEXT_CHANGE && Me.root.classList.toggle("ql-blank", Me.editor.isBlank());
|
|
43713
|
-
}), this.emitter.on(be.default.events.SCROLL_UPDATE, function(Xe,
|
|
43668
|
+
}), this.emitter.on(be.default.events.SCROLL_UPDATE, function(Xe, Ve) {
|
|
43714
43669
|
var Ke = Me.selection.lastRange, rt = Ke && Ke.length === 0 ? Ke.index : void 0;
|
|
43715
43670
|
Ge.call(Me, function() {
|
|
43716
|
-
return Me.editor.update(null,
|
|
43671
|
+
return Me.editor.update(null, Ve, rt);
|
|
43717
43672
|
}, Xe);
|
|
43718
43673
|
});
|
|
43719
|
-
var Qe = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` +
|
|
43674
|
+
var Qe = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + Be + "<p><br></p></div>");
|
|
43720
43675
|
this.setContents(Qe), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
|
|
43721
43676
|
}
|
|
43722
43677
|
return de(Je, [{
|
|
@@ -43724,8 +43679,8 @@ function requireQuill() {
|
|
|
43724
43679
|
value: function(Me) {
|
|
43725
43680
|
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
43726
43681
|
if (typeof Me == "string") {
|
|
43727
|
-
var
|
|
43728
|
-
Me = document.createElement("div"), Me.classList.add(
|
|
43682
|
+
var Be = Me;
|
|
43683
|
+
Me = document.createElement("div"), Me.classList.add(Be);
|
|
43729
43684
|
}
|
|
43730
43685
|
return this.container.insertBefore(Me, Ue), Me;
|
|
43731
43686
|
}
|
|
@@ -43736,11 +43691,11 @@ function requireQuill() {
|
|
|
43736
43691
|
}
|
|
43737
43692
|
}, {
|
|
43738
43693
|
key: "deleteText",
|
|
43739
|
-
value: function(Me, Ue,
|
|
43740
|
-
var Qe = this, Xe = Ye(Me, Ue,
|
|
43741
|
-
return Me =
|
|
43694
|
+
value: function(Me, Ue, Be) {
|
|
43695
|
+
var Qe = this, Xe = Ye(Me, Ue, Be), Ve = ne(Xe, 4);
|
|
43696
|
+
return Me = Ve[0], Ue = Ve[1], Be = Ve[3], Ge.call(this, function() {
|
|
43742
43697
|
return Qe.editor.deleteText(Me, Ue);
|
|
43743
|
-
},
|
|
43698
|
+
}, Be, Me, -1 * Ue);
|
|
43744
43699
|
}
|
|
43745
43700
|
}, {
|
|
43746
43701
|
key: "disable",
|
|
@@ -43762,56 +43717,56 @@ function requireQuill() {
|
|
|
43762
43717
|
}, {
|
|
43763
43718
|
key: "format",
|
|
43764
43719
|
value: function(Me, Ue) {
|
|
43765
|
-
var
|
|
43720
|
+
var Be = this, Qe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : be.default.sources.API;
|
|
43766
43721
|
return Ge.call(this, function() {
|
|
43767
|
-
var Xe =
|
|
43722
|
+
var Xe = Be.getSelection(!0), Ve = new ue.default();
|
|
43768
43723
|
if (Xe == null)
|
|
43769
|
-
return
|
|
43724
|
+
return Ve;
|
|
43770
43725
|
if (_e.default.query(Me, _e.default.Scope.BLOCK))
|
|
43771
|
-
|
|
43726
|
+
Ve = Be.editor.formatLine(Xe.index, Xe.length, Ae({}, Me, Ue));
|
|
43772
43727
|
else {
|
|
43773
43728
|
if (Xe.length === 0)
|
|
43774
|
-
return
|
|
43775
|
-
|
|
43729
|
+
return Be.selection.format(Me, Ue), Ve;
|
|
43730
|
+
Ve = Be.editor.formatText(Xe.index, Xe.length, Ae({}, Me, Ue));
|
|
43776
43731
|
}
|
|
43777
|
-
return
|
|
43732
|
+
return Be.setSelection(Xe, be.default.sources.SILENT), Ve;
|
|
43778
43733
|
}, Qe);
|
|
43779
43734
|
}
|
|
43780
43735
|
}, {
|
|
43781
43736
|
key: "formatLine",
|
|
43782
|
-
value: function(Me, Ue,
|
|
43783
|
-
var
|
|
43737
|
+
value: function(Me, Ue, Be, Qe, Xe) {
|
|
43738
|
+
var Ve = this, Ke = void 0, rt = Ye(Me, Ue, Be, Qe, Xe), ot = ne(rt, 4);
|
|
43784
43739
|
return Me = ot[0], Ue = ot[1], Ke = ot[2], Xe = ot[3], Ge.call(this, function() {
|
|
43785
|
-
return
|
|
43740
|
+
return Ve.editor.formatLine(Me, Ue, Ke);
|
|
43786
43741
|
}, Xe, Me, 0);
|
|
43787
43742
|
}
|
|
43788
43743
|
}, {
|
|
43789
43744
|
key: "formatText",
|
|
43790
|
-
value: function(Me, Ue,
|
|
43791
|
-
var
|
|
43745
|
+
value: function(Me, Ue, Be, Qe, Xe) {
|
|
43746
|
+
var Ve = this, Ke = void 0, rt = Ye(Me, Ue, Be, Qe, Xe), ot = ne(rt, 4);
|
|
43792
43747
|
return Me = ot[0], Ue = ot[1], Ke = ot[2], Xe = ot[3], Ge.call(this, function() {
|
|
43793
|
-
return
|
|
43748
|
+
return Ve.editor.formatText(Me, Ue, Ke);
|
|
43794
43749
|
}, Xe, Me, 0);
|
|
43795
43750
|
}
|
|
43796
43751
|
}, {
|
|
43797
43752
|
key: "getBounds",
|
|
43798
43753
|
value: function(Me) {
|
|
43799
|
-
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0,
|
|
43800
|
-
typeof Me == "number" ?
|
|
43754
|
+
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, Be = void 0;
|
|
43755
|
+
typeof Me == "number" ? Be = this.selection.getBounds(Me, Ue) : Be = this.selection.getBounds(Me.index, Me.length);
|
|
43801
43756
|
var Qe = this.container.getBoundingClientRect();
|
|
43802
43757
|
return {
|
|
43803
|
-
bottom:
|
|
43804
|
-
height:
|
|
43805
|
-
left:
|
|
43806
|
-
right:
|
|
43807
|
-
top:
|
|
43808
|
-
width:
|
|
43758
|
+
bottom: Be.bottom - Qe.top,
|
|
43759
|
+
height: Be.height,
|
|
43760
|
+
left: Be.left - Qe.left,
|
|
43761
|
+
right: Be.right - Qe.left,
|
|
43762
|
+
top: Be.top - Qe.top,
|
|
43763
|
+
width: Be.width
|
|
43809
43764
|
};
|
|
43810
43765
|
}
|
|
43811
43766
|
}, {
|
|
43812
43767
|
key: "getContents",
|
|
43813
43768
|
value: function() {
|
|
43814
|
-
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me,
|
|
43769
|
+
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, Be = Ye(Me, Ue), Qe = ne(Be, 2);
|
|
43815
43770
|
return Me = Qe[0], Ue = Qe[1], this.editor.getContents(Me, Ue);
|
|
43816
43771
|
}
|
|
43817
43772
|
}, {
|
|
@@ -43860,7 +43815,7 @@ function requireQuill() {
|
|
|
43860
43815
|
}, {
|
|
43861
43816
|
key: "getText",
|
|
43862
43817
|
value: function() {
|
|
43863
|
-
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me,
|
|
43818
|
+
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, Be = Ye(Me, Ue), Qe = ne(Be, 2);
|
|
43864
43819
|
return Me = Qe[0], Ue = Qe[1], this.editor.getText(Me, Ue);
|
|
43865
43820
|
}
|
|
43866
43821
|
}, {
|
|
@@ -43870,18 +43825,18 @@ function requireQuill() {
|
|
|
43870
43825
|
}
|
|
43871
43826
|
}, {
|
|
43872
43827
|
key: "insertEmbed",
|
|
43873
|
-
value: function(Me, Ue,
|
|
43828
|
+
value: function(Me, Ue, Be) {
|
|
43874
43829
|
var Qe = this, Xe = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Je.sources.API;
|
|
43875
43830
|
return Ge.call(this, function() {
|
|
43876
|
-
return Qe.editor.insertEmbed(Me, Ue,
|
|
43831
|
+
return Qe.editor.insertEmbed(Me, Ue, Be);
|
|
43877
43832
|
}, Xe, Me);
|
|
43878
43833
|
}
|
|
43879
43834
|
}, {
|
|
43880
43835
|
key: "insertText",
|
|
43881
|
-
value: function(Me, Ue,
|
|
43882
|
-
var
|
|
43836
|
+
value: function(Me, Ue, Be, Qe, Xe) {
|
|
43837
|
+
var Ve = this, Ke = void 0, rt = Ye(Me, 0, Be, Qe, Xe), ot = ne(rt, 4);
|
|
43883
43838
|
return Me = ot[0], Ke = ot[2], Xe = ot[3], Ge.call(this, function() {
|
|
43884
|
-
return
|
|
43839
|
+
return Ve.editor.insertText(Me, Ue, Ke);
|
|
43885
43840
|
}, Xe, Me, Ue.length);
|
|
43886
43841
|
}
|
|
43887
43842
|
}, {
|
|
@@ -43906,16 +43861,16 @@ function requireQuill() {
|
|
|
43906
43861
|
}
|
|
43907
43862
|
}, {
|
|
43908
43863
|
key: "pasteHTML",
|
|
43909
|
-
value: function(Me, Ue,
|
|
43910
|
-
this.clipboard.dangerouslyPasteHTML(Me, Ue,
|
|
43864
|
+
value: function(Me, Ue, Be) {
|
|
43865
|
+
this.clipboard.dangerouslyPasteHTML(Me, Ue, Be);
|
|
43911
43866
|
}
|
|
43912
43867
|
}, {
|
|
43913
43868
|
key: "removeFormat",
|
|
43914
|
-
value: function(Me, Ue,
|
|
43915
|
-
var Qe = this, Xe = Ye(Me, Ue,
|
|
43916
|
-
return Me =
|
|
43869
|
+
value: function(Me, Ue, Be) {
|
|
43870
|
+
var Qe = this, Xe = Ye(Me, Ue, Be), Ve = ne(Xe, 4);
|
|
43871
|
+
return Me = Ve[0], Ue = Ve[1], Be = Ve[3], Ge.call(this, function() {
|
|
43917
43872
|
return Qe.editor.removeFormat(Me, Ue);
|
|
43918
|
-
},
|
|
43873
|
+
}, Be, Me);
|
|
43919
43874
|
}
|
|
43920
43875
|
}, {
|
|
43921
43876
|
key: "scrollIntoView",
|
|
@@ -43925,31 +43880,31 @@ function requireQuill() {
|
|
|
43925
43880
|
}, {
|
|
43926
43881
|
key: "setContents",
|
|
43927
43882
|
value: function(Me) {
|
|
43928
|
-
var Ue = this,
|
|
43883
|
+
var Ue = this, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : be.default.sources.API;
|
|
43929
43884
|
return Ge.call(this, function() {
|
|
43930
43885
|
Me = new ue.default(Me);
|
|
43931
|
-
var Qe = Ue.getLength(), Xe = Ue.editor.deleteText(0, Qe),
|
|
43886
|
+
var Qe = Ue.getLength(), Xe = Ue.editor.deleteText(0, Qe), Ve = Ue.editor.applyDelta(Me), Ke = Ve.ops[Ve.ops.length - 1];
|
|
43932
43887
|
Ke != null && typeof Ke.insert == "string" && Ke.insert[Ke.insert.length - 1] === `
|
|
43933
|
-
` && (Ue.editor.deleteText(Ue.getLength() - 1, 1),
|
|
43934
|
-
var rt = Xe.compose(
|
|
43888
|
+
` && (Ue.editor.deleteText(Ue.getLength() - 1, 1), Ve.delete(1));
|
|
43889
|
+
var rt = Xe.compose(Ve);
|
|
43935
43890
|
return rt;
|
|
43936
|
-
},
|
|
43891
|
+
}, Be);
|
|
43937
43892
|
}
|
|
43938
43893
|
}, {
|
|
43939
43894
|
key: "setSelection",
|
|
43940
|
-
value: function(Me, Ue,
|
|
43895
|
+
value: function(Me, Ue, Be) {
|
|
43941
43896
|
if (Me == null)
|
|
43942
43897
|
this.selection.setRange(null, Ue || Je.sources.API);
|
|
43943
43898
|
else {
|
|
43944
|
-
var Qe = Ye(Me, Ue,
|
|
43945
|
-
Me = Xe[0], Ue = Xe[1],
|
|
43899
|
+
var Qe = Ye(Me, Ue, Be), Xe = ne(Qe, 4);
|
|
43900
|
+
Me = Xe[0], Ue = Xe[1], Be = Xe[3], this.selection.setRange(new we.Range(Me, Ue), Be), Be !== be.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
|
|
43946
43901
|
}
|
|
43947
43902
|
}
|
|
43948
43903
|
}, {
|
|
43949
43904
|
key: "setText",
|
|
43950
43905
|
value: function(Me) {
|
|
43951
|
-
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : be.default.sources.API,
|
|
43952
|
-
return this.setContents(
|
|
43906
|
+
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : be.default.sources.API, Be = new ue.default().insert(Me);
|
|
43907
|
+
return this.setContents(Be, Ue);
|
|
43953
43908
|
}
|
|
43954
43909
|
}, {
|
|
43955
43910
|
key: "update",
|
|
@@ -43960,10 +43915,10 @@ function requireQuill() {
|
|
|
43960
43915
|
}, {
|
|
43961
43916
|
key: "updateContents",
|
|
43962
43917
|
value: function(Me) {
|
|
43963
|
-
var Ue = this,
|
|
43918
|
+
var Ue = this, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : be.default.sources.API;
|
|
43964
43919
|
return Ge.call(this, function() {
|
|
43965
|
-
return Me = new ue.default(Me), Ue.editor.applyDelta(Me,
|
|
43966
|
-
},
|
|
43920
|
+
return Me = new ue.default(Me), Ue.editor.applyDelta(Me, Be);
|
|
43921
|
+
}, Be, !0);
|
|
43967
43922
|
}
|
|
43968
43923
|
}]), Je;
|
|
43969
43924
|
})();
|
|
@@ -44000,13 +43955,13 @@ function requireQuill() {
|
|
|
44000
43955
|
Qe.modules[Xe] === !0 && (Qe.modules[Xe] = {});
|
|
44001
43956
|
});
|
|
44002
43957
|
});
|
|
44003
|
-
var Ue = Object.keys(Me.modules).concat(Object.keys(Ze.modules)),
|
|
44004
|
-
var
|
|
44005
|
-
return
|
|
43958
|
+
var Ue = Object.keys(Me.modules).concat(Object.keys(Ze.modules)), Be = Ue.reduce(function(Qe, Xe) {
|
|
43959
|
+
var Ve = ze.import("modules/" + Xe);
|
|
43960
|
+
return Ve == null ? Pe.error("Cannot load " + Xe + " module. Are you sure you registered it?") : Qe[Xe] = Ve.DEFAULTS || {}, Qe;
|
|
44006
43961
|
}, {});
|
|
44007
43962
|
return Ze.modules != null && Ze.modules.toolbar && Ze.modules.toolbar.constructor !== Object && (Ze.modules.toolbar = {
|
|
44008
43963
|
container: Ze.modules.toolbar
|
|
44009
|
-
}), Ze = (0, Ce.default)(!0, {}, ze.DEFAULTS, { modules:
|
|
43964
|
+
}), Ze = (0, Ce.default)(!0, {}, ze.DEFAULTS, { modules: Be }, Me, Ze), ["bounds", "container", "scrollingContainer"].forEach(function(Qe) {
|
|
44010
43965
|
typeof Ze[Qe] == "string" && (Ze[Qe] = document.querySelector(Ze[Qe]));
|
|
44011
43966
|
}), Ze.modules = Object.keys(Ze.modules).reduce(function(Qe, Xe) {
|
|
44012
43967
|
return Ze.modules[Xe] && (Qe[Xe] = Ze.modules[Xe]), Qe;
|
|
@@ -44015,35 +43970,35 @@ function requireQuill() {
|
|
|
44015
43970
|
function Ge(Je, Ze, Me, Ue) {
|
|
44016
43971
|
if (this.options.strict && !this.isEnabled() && Ze === be.default.sources.USER)
|
|
44017
43972
|
return new ue.default();
|
|
44018
|
-
var
|
|
44019
|
-
if (
|
|
44020
|
-
var
|
|
44021
|
-
if ((
|
|
43973
|
+
var Be = Me == null ? null : this.getSelection(), Qe = this.editor.delta, Xe = Je();
|
|
43974
|
+
if (Be != null && (Me === !0 && (Me = Be.index), Ue == null ? Be = ft(Be, Xe, Ze) : Ue !== 0 && (Be = ft(Be, Me, Ue, Ze)), this.setSelection(Be, be.default.sources.SILENT)), Xe.length() > 0) {
|
|
43975
|
+
var Ve, Ke = [be.default.events.TEXT_CHANGE, Xe, Qe, Ze];
|
|
43976
|
+
if ((Ve = this.emitter).emit.apply(Ve, [be.default.events.EDITOR_CHANGE].concat(Ke)), Ze !== be.default.sources.SILENT) {
|
|
44022
43977
|
var rt;
|
|
44023
43978
|
(rt = this.emitter).emit.apply(rt, Ke);
|
|
44024
43979
|
}
|
|
44025
43980
|
}
|
|
44026
43981
|
return Xe;
|
|
44027
43982
|
}
|
|
44028
|
-
function Ye(Je, Ze, Me, Ue,
|
|
43983
|
+
function Ye(Je, Ze, Me, Ue, Be) {
|
|
44029
43984
|
var Qe = {};
|
|
44030
|
-
return typeof Je.index == "number" && typeof Je.length == "number" ? typeof Ze != "number" ? (
|
|
43985
|
+
return typeof Je.index == "number" && typeof Je.length == "number" ? typeof Ze != "number" ? (Be = Ue, Ue = Me, Me = Ze, Ze = Je.length, Je = Je.index) : (Ze = Je.length, Je = Je.index) : typeof Ze != "number" && (Be = Ue, Ue = Me, Me = Ze, Ze = 0), (typeof Me > "u" ? "undefined" : oe(Me)) === "object" ? (Qe = Me, Be = Ue) : typeof Me == "string" && (Ue != null ? Qe[Me] = Ue : Be = Me), Be = Be || be.default.sources.API, [Je, Ze, Qe, Be];
|
|
44031
43986
|
}
|
|
44032
43987
|
function ft(Je, Ze, Me, Ue) {
|
|
44033
43988
|
if (Je == null) return null;
|
|
44034
|
-
var
|
|
43989
|
+
var Be = void 0, Qe = void 0;
|
|
44035
43990
|
if (Ze instanceof ue.default) {
|
|
44036
43991
|
var Xe = [Je.index, Je.index + Je.length].map(function(ot) {
|
|
44037
43992
|
return Ze.transformPosition(ot, Ue !== be.default.sources.USER);
|
|
44038
|
-
}),
|
|
44039
|
-
|
|
43993
|
+
}), Ve = ne(Xe, 2);
|
|
43994
|
+
Be = Ve[0], Qe = Ve[1];
|
|
44040
43995
|
} else {
|
|
44041
43996
|
var Ke = [Je.index, Je.index + Je.length].map(function(ot) {
|
|
44042
43997
|
return ot < Ze || ot === Ze && Ue === be.default.sources.USER ? ot : Me >= 0 ? ot + Me : Math.max(Ze, ot + Me);
|
|
44043
43998
|
}), rt = ne(Ke, 2);
|
|
44044
|
-
|
|
43999
|
+
Be = rt[0], Qe = rt[1];
|
|
44045
44000
|
}
|
|
44046
|
-
return new we.Range(
|
|
44001
|
+
return new we.Range(Be, Qe - Be);
|
|
44047
44002
|
}
|
|
44048
44003
|
te.expandConfig = We, te.overload = Ye, te.default = ze;
|
|
44049
44004
|
}),
|
|
@@ -44570,15 +44525,15 @@ function requireQuill() {
|
|
|
44570
44525
|
return Je && typeof Symbol == "function" && Je.constructor === Symbol && Je !== Symbol.prototype ? "symbol" : typeof Je;
|
|
44571
44526
|
}, ne = /* @__PURE__ */ (function() {
|
|
44572
44527
|
function Je(Ze, Me) {
|
|
44573
|
-
var Ue = [],
|
|
44528
|
+
var Ue = [], Be = !0, Qe = !1, Xe = void 0;
|
|
44574
44529
|
try {
|
|
44575
|
-
for (var
|
|
44530
|
+
for (var Ve = Ze[Symbol.iterator](), Ke; !(Be = (Ke = Ve.next()).done) && (Ue.push(Ke.value), !(Me && Ue.length === Me)); Be = !0)
|
|
44576
44531
|
;
|
|
44577
44532
|
} catch (rt) {
|
|
44578
44533
|
Qe = !0, Xe = rt;
|
|
44579
44534
|
} finally {
|
|
44580
44535
|
try {
|
|
44581
|
-
!
|
|
44536
|
+
!Be && Ve.return && Ve.return();
|
|
44582
44537
|
} finally {
|
|
44583
44538
|
if (Qe) throw Xe;
|
|
44584
44539
|
}
|
|
@@ -44595,8 +44550,8 @@ function requireQuill() {
|
|
|
44595
44550
|
})(), de = /* @__PURE__ */ (function() {
|
|
44596
44551
|
function Je(Ze, Me) {
|
|
44597
44552
|
for (var Ue = 0; Ue < Me.length; Ue++) {
|
|
44598
|
-
var
|
|
44599
|
-
|
|
44553
|
+
var Be = Me[Ue];
|
|
44554
|
+
Be.enumerable = Be.enumerable || !1, Be.configurable = !0, "value" in Be && (Be.writable = !0), Object.defineProperty(Ze, Be.key, Be);
|
|
44600
44555
|
}
|
|
44601
44556
|
}
|
|
44602
44557
|
return function(Ze, Me, Ue) {
|
|
@@ -44620,35 +44575,35 @@ function requireQuill() {
|
|
|
44620
44575
|
return de(Je, [{
|
|
44621
44576
|
key: "applyDelta",
|
|
44622
44577
|
value: function(Me) {
|
|
44623
|
-
var Ue = this,
|
|
44578
|
+
var Ue = this, Be = !1;
|
|
44624
44579
|
this.scroll.update();
|
|
44625
44580
|
var Qe = this.scroll.length();
|
|
44626
|
-
return this.scroll.batchStart(), Me = ft(Me), Me.reduce(function(Xe,
|
|
44627
|
-
var Ke =
|
|
44628
|
-
if (
|
|
44629
|
-
if (typeof
|
|
44630
|
-
var ot =
|
|
44581
|
+
return this.scroll.batchStart(), Me = ft(Me), Me.reduce(function(Xe, Ve) {
|
|
44582
|
+
var Ke = Ve.retain || Ve.delete || Ve.insert.length || 1, rt = Ve.attributes || {};
|
|
44583
|
+
if (Ve.insert != null) {
|
|
44584
|
+
if (typeof Ve.insert == "string") {
|
|
44585
|
+
var ot = Ve.insert;
|
|
44631
44586
|
ot.endsWith(`
|
|
44632
|
-
`) &&
|
|
44633
|
-
`) && (
|
|
44587
|
+
`) && Be && (Be = !1, ot = ot.slice(0, -1)), Xe >= Qe && !ot.endsWith(`
|
|
44588
|
+
`) && (Be = !0), Ue.scroll.insertAt(Xe, ot);
|
|
44634
44589
|
var _t = Ue.scroll.line(Xe), kt = ne(_t, 2), It = kt[0], qt = kt[1], Nt = (0, Ae.default)({}, (0, we.bubbleFormats)(It));
|
|
44635
44590
|
if (It instanceof Se.default) {
|
|
44636
|
-
var
|
|
44591
|
+
var Vt = It.descendant(be.default.Leaf, qt), rs = ne(Vt, 1), Kt = rs[0];
|
|
44637
44592
|
Nt = (0, Ae.default)(Nt, (0, we.bubbleFormats)(Kt));
|
|
44638
44593
|
}
|
|
44639
44594
|
rt = pe.default.attributes.diff(Nt, rt) || {};
|
|
44640
|
-
} else if (oe(
|
|
44641
|
-
var gt = Object.keys(
|
|
44595
|
+
} else if (oe(Ve.insert) === "object") {
|
|
44596
|
+
var gt = Object.keys(Ve.insert)[0];
|
|
44642
44597
|
if (gt == null) return Xe;
|
|
44643
|
-
Ue.scroll.insertAt(Xe, gt,
|
|
44598
|
+
Ue.scroll.insertAt(Xe, gt, Ve.insert[gt]);
|
|
44644
44599
|
}
|
|
44645
44600
|
Qe += Ke;
|
|
44646
44601
|
}
|
|
44647
44602
|
return Object.keys(rt).forEach(function(mt) {
|
|
44648
44603
|
Ue.scroll.formatAt(Xe, Ke, mt, rt[mt]);
|
|
44649
44604
|
}), Xe + Ke;
|
|
44650
|
-
}, 0), Me.reduce(function(Xe,
|
|
44651
|
-
return typeof
|
|
44605
|
+
}, 0), Me.reduce(function(Xe, Ve) {
|
|
44606
|
+
return typeof Ve.delete == "number" ? (Ue.scroll.deleteAt(Xe, Ve.delete), Xe) : Xe + (Ve.retain || Ve.insert.length || 1);
|
|
44652
44607
|
}, 0), this.scroll.batchEnd(), this.update(Me);
|
|
44653
44608
|
}
|
|
44654
44609
|
}, {
|
|
@@ -44659,16 +44614,16 @@ function requireQuill() {
|
|
|
44659
44614
|
}, {
|
|
44660
44615
|
key: "formatLine",
|
|
44661
44616
|
value: function(Me, Ue) {
|
|
44662
|
-
var
|
|
44617
|
+
var Be = this, Qe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
44663
44618
|
return this.scroll.update(), Object.keys(Qe).forEach(function(Xe) {
|
|
44664
|
-
if (!(
|
|
44665
|
-
var
|
|
44666
|
-
|
|
44619
|
+
if (!(Be.scroll.whitelist != null && !Be.scroll.whitelist[Xe])) {
|
|
44620
|
+
var Ve = Be.scroll.lines(Me, Math.max(Ue, 1)), Ke = Ue;
|
|
44621
|
+
Ve.forEach(function(rt) {
|
|
44667
44622
|
var ot = rt.length();
|
|
44668
44623
|
if (!(rt instanceof ge.default))
|
|
44669
44624
|
rt.format(Xe, Qe[Xe]);
|
|
44670
44625
|
else {
|
|
44671
|
-
var _t = Me - rt.offset(
|
|
44626
|
+
var _t = Me - rt.offset(Be.scroll), kt = rt.newlineIndex(_t + Ke) - _t + 1;
|
|
44672
44627
|
rt.formatAt(_t, kt, Xe, Qe[Xe]);
|
|
44673
44628
|
}
|
|
44674
44629
|
Ke -= ot;
|
|
@@ -44679,9 +44634,9 @@ function requireQuill() {
|
|
|
44679
44634
|
}, {
|
|
44680
44635
|
key: "formatText",
|
|
44681
44636
|
value: function(Me, Ue) {
|
|
44682
|
-
var
|
|
44637
|
+
var Be = this, Qe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
44683
44638
|
return Object.keys(Qe).forEach(function(Xe) {
|
|
44684
|
-
|
|
44639
|
+
Be.scroll.formatAt(Me, Ue, Xe, Qe[Xe]);
|
|
44685
44640
|
}), this.update(new ue.default().retain(Me).retain(Ue, (0, De.default)(Qe)));
|
|
44686
44641
|
}
|
|
44687
44642
|
}, {
|
|
@@ -44699,15 +44654,15 @@ function requireQuill() {
|
|
|
44699
44654
|
}, {
|
|
44700
44655
|
key: "getFormat",
|
|
44701
44656
|
value: function(Me) {
|
|
44702
|
-
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0,
|
|
44703
|
-
Ue === 0 ? this.scroll.path(Me).forEach(function(
|
|
44704
|
-
var Ke = ne(
|
|
44705
|
-
rt instanceof Se.default ?
|
|
44706
|
-
}) : (
|
|
44707
|
-
var Xe = [
|
|
44708
|
-
if (
|
|
44709
|
-
for (var Ke = (0, we.bubbleFormats)(
|
|
44710
|
-
var rt =
|
|
44657
|
+
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, Be = [], Qe = [];
|
|
44658
|
+
Ue === 0 ? this.scroll.path(Me).forEach(function(Ve) {
|
|
44659
|
+
var Ke = ne(Ve, 1), rt = Ke[0];
|
|
44660
|
+
rt instanceof Se.default ? Be.push(rt) : rt instanceof be.default.Leaf && Qe.push(rt);
|
|
44661
|
+
}) : (Be = this.scroll.lines(Me, Ue), Qe = this.scroll.descendants(be.default.Leaf, Me, Ue));
|
|
44662
|
+
var Xe = [Be, Qe].map(function(Ve) {
|
|
44663
|
+
if (Ve.length === 0) return {};
|
|
44664
|
+
for (var Ke = (0, we.bubbleFormats)(Ve.shift()); Object.keys(Ke).length > 0; ) {
|
|
44665
|
+
var rt = Ve.shift();
|
|
44711
44666
|
if (rt == null) return Ke;
|
|
44712
44667
|
Ke = Ye((0, we.bubbleFormats)(rt), Ke);
|
|
44713
44668
|
}
|
|
@@ -44718,25 +44673,25 @@ function requireQuill() {
|
|
|
44718
44673
|
}, {
|
|
44719
44674
|
key: "getText",
|
|
44720
44675
|
value: function(Me, Ue) {
|
|
44721
|
-
return this.getContents(Me, Ue).filter(function(
|
|
44722
|
-
return typeof
|
|
44723
|
-
}).map(function(
|
|
44724
|
-
return
|
|
44676
|
+
return this.getContents(Me, Ue).filter(function(Be) {
|
|
44677
|
+
return typeof Be.insert == "string";
|
|
44678
|
+
}).map(function(Be) {
|
|
44679
|
+
return Be.insert;
|
|
44725
44680
|
}).join("");
|
|
44726
44681
|
}
|
|
44727
44682
|
}, {
|
|
44728
44683
|
key: "insertEmbed",
|
|
44729
|
-
value: function(Me, Ue,
|
|
44730
|
-
return this.scroll.insertAt(Me, Ue,
|
|
44684
|
+
value: function(Me, Ue, Be) {
|
|
44685
|
+
return this.scroll.insertAt(Me, Ue, Be), this.update(new ue.default().retain(Me).insert(Pe({}, Ue, Be)));
|
|
44731
44686
|
}
|
|
44732
44687
|
}, {
|
|
44733
44688
|
key: "insertText",
|
|
44734
44689
|
value: function(Me, Ue) {
|
|
44735
|
-
var
|
|
44690
|
+
var Be = this, Qe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
44736
44691
|
return Ue = Ue.replace(/\r\n/g, `
|
|
44737
44692
|
`).replace(/\r/g, `
|
|
44738
44693
|
`), this.scroll.insertAt(Me, Ue), Object.keys(Qe).forEach(function(Xe) {
|
|
44739
|
-
|
|
44694
|
+
Be.scroll.formatAt(Me, Ue.length, Xe, Qe[Xe]);
|
|
44740
44695
|
}), this.update(new ue.default().retain(Me).insert(Ue, (0, De.default)(Qe)));
|
|
44741
44696
|
}
|
|
44742
44697
|
}, {
|
|
@@ -44750,23 +44705,23 @@ function requireQuill() {
|
|
|
44750
44705
|
}, {
|
|
44751
44706
|
key: "removeFormat",
|
|
44752
44707
|
value: function(Me, Ue) {
|
|
44753
|
-
var
|
|
44754
|
-
|
|
44708
|
+
var Be = this.getText(Me, Ue), Qe = this.scroll.line(Me + Ue), Xe = ne(Qe, 2), Ve = Xe[0], Ke = Xe[1], rt = 0, ot = new ue.default();
|
|
44709
|
+
Ve != null && (Ve instanceof ge.default ? rt = Ve.newlineIndex(Ke) - Ke + 1 : rt = Ve.length() - Ke, ot = Ve.delta().slice(Ke, Ke + rt - 1).insert(`
|
|
44755
44710
|
`));
|
|
44756
|
-
var _t = this.getContents(Me, Ue + rt), kt = _t.diff(new ue.default().insert(
|
|
44711
|
+
var _t = this.getContents(Me, Ue + rt), kt = _t.diff(new ue.default().insert(Be).concat(ot)), It = new ue.default().retain(Me).concat(kt);
|
|
44757
44712
|
return this.applyDelta(It);
|
|
44758
44713
|
}
|
|
44759
44714
|
}, {
|
|
44760
44715
|
key: "update",
|
|
44761
44716
|
value: function(Me) {
|
|
44762
|
-
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [],
|
|
44717
|
+
var Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], Be = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, Qe = this.delta;
|
|
44763
44718
|
if (Ue.length === 1 && Ue[0].type === "characterData" && Ue[0].target.data.match(We) && be.default.find(Ue[0].target)) {
|
|
44764
|
-
var Xe = be.default.find(Ue[0].target),
|
|
44719
|
+
var Xe = be.default.find(Ue[0].target), Ve = (0, we.bubbleFormats)(Xe), Ke = Xe.offset(this.scroll), rt = Ue[0].oldValue.replace(_e.default.CONTENTS, ""), ot = new ue.default().insert(rt), _t = new ue.default().insert(Xe.value()), kt = new ue.default().retain(Ke).concat(ot.diff(_t, Be));
|
|
44765
44720
|
Me = kt.reduce(function(It, qt) {
|
|
44766
|
-
return qt.insert ? It.insert(qt.insert,
|
|
44721
|
+
return qt.insert ? It.insert(qt.insert, Ve) : It.push(qt);
|
|
44767
44722
|
}, new ue.default()), this.delta = Qe.compose(Me);
|
|
44768
44723
|
} else
|
|
44769
|
-
this.delta = this.getDelta(), (!Me || !(0, He.default)(Qe.compose(Me), this.delta)) && (Me = Qe.diff(this.delta,
|
|
44724
|
+
this.delta = this.getDelta(), (!Me || !(0, He.default)(Qe.compose(Me), this.delta)) && (Me = Qe.diff(this.delta, Be));
|
|
44770
44725
|
return Me;
|
|
44771
44726
|
}
|
|
44772
44727
|
}]), Je;
|
|
@@ -44783,10 +44738,10 @@ function requireQuill() {
|
|
|
44783
44738
|
return delete Ue.image, Ze.insert({ image: Me.attributes.image }, Ue);
|
|
44784
44739
|
}
|
|
44785
44740
|
if (Me.attributes != null && (Me.attributes.list === !0 || Me.attributes.bullet === !0) && (Me = (0, De.default)(Me), Me.attributes.list ? Me.attributes.list = "ordered" : (Me.attributes.list = "bullet", delete Me.attributes.bullet)), typeof Me.insert == "string") {
|
|
44786
|
-
var
|
|
44741
|
+
var Be = Me.insert.replace(/\r\n/g, `
|
|
44787
44742
|
`).replace(/\r/g, `
|
|
44788
44743
|
`);
|
|
44789
|
-
return Ze.insert(
|
|
44744
|
+
return Ze.insert(Be, Me.attributes);
|
|
44790
44745
|
}
|
|
44791
44746
|
return Ze.push(Me);
|
|
44792
44747
|
}, new ue.default());
|
|
@@ -44940,17 +44895,17 @@ function requireQuill() {
|
|
|
44940
44895
|
var Me = document.createRange();
|
|
44941
44896
|
if (qe > 0) {
|
|
44942
44897
|
Me.setStart(ze, ft);
|
|
44943
|
-
var Ue = this.scroll.leaf(Ae + qe),
|
|
44944
|
-
if (Ye =
|
|
44898
|
+
var Ue = this.scroll.leaf(Ae + qe), Be = oe(Ue, 2);
|
|
44899
|
+
if (Ye = Be[0], ft = Be[1], Ye == null) return null;
|
|
44945
44900
|
var Qe = Ye.position(ft, !0), Xe = oe(Qe, 2);
|
|
44946
44901
|
return ze = Xe[0], ft = Xe[1], Me.setEnd(ze, ft), Me.getBoundingClientRect();
|
|
44947
44902
|
} else {
|
|
44948
|
-
var
|
|
44949
|
-
return ze instanceof Text ? (ft < ze.data.length ? (Me.setStart(ze, ft), Me.setEnd(ze, ft + 1)) : (Me.setStart(ze, ft - 1), Me.setEnd(ze, ft),
|
|
44903
|
+
var Ve = "left", Ke = void 0;
|
|
44904
|
+
return ze instanceof Text ? (ft < ze.data.length ? (Me.setStart(ze, ft), Me.setEnd(ze, ft + 1)) : (Me.setStart(ze, ft - 1), Me.setEnd(ze, ft), Ve = "right"), Ke = Me.getBoundingClientRect()) : (Ke = Ye.domNode.getBoundingClientRect(), ft > 0 && (Ve = "right")), {
|
|
44950
44905
|
bottom: Ke.top + Ke.height,
|
|
44951
44906
|
height: Ke.height,
|
|
44952
|
-
left: Ke[
|
|
44953
|
-
right: Ke[
|
|
44907
|
+
left: Ke[Ve],
|
|
44908
|
+
right: Ke[Ve],
|
|
44954
44909
|
top: Ke.top,
|
|
44955
44910
|
width: 0
|
|
44956
44911
|
};
|
|
@@ -45015,7 +44970,7 @@ function requireQuill() {
|
|
|
45015
44970
|
var qe = this, Pe = Ae.collapsed ? [Ae.index] : [Ae.index, Ae.index + Ae.length], ze = [], We = this.scroll.length();
|
|
45016
44971
|
return Pe.forEach(function(Ge, Ye) {
|
|
45017
44972
|
Ge = Math.min(We - 1, Ge);
|
|
45018
|
-
var ft = void 0, Je = qe.scroll.leaf(Ge), Ze = oe(Je, 2), Me = Ze[0], Ue = Ze[1],
|
|
44973
|
+
var ft = void 0, Je = qe.scroll.leaf(Ge), Ze = oe(Je, 2), Me = Ze[0], Ue = Ze[1], Be = Me.position(Ue, Ye !== 0), Qe = oe(Be, 2);
|
|
45019
44974
|
ft = Qe[0], Ue = Qe[1], ze.push(ft, Ue);
|
|
45020
44975
|
}), ze.length < 2 && (ze = ze.concat(ze)), ze;
|
|
45021
44976
|
}
|
|
@@ -45556,8 +45511,8 @@ function requireQuill() {
|
|
|
45556
45511
|
ye.push(Fe), Ce.push(Ie);
|
|
45557
45512
|
}
|
|
45558
45513
|
oe(Fe, ne) && Fe.forEach(function(Ze, Me) {
|
|
45559
|
-
var Ue = De(Me, He - 1),
|
|
45560
|
-
Ie.set(Ue,
|
|
45514
|
+
var Ue = De(Me, He - 1), Be = De(Ze, He - 1);
|
|
45515
|
+
Ie.set(Ue, Be);
|
|
45561
45516
|
}), oe(Fe, de) && Fe.forEach(function(Ze) {
|
|
45562
45517
|
var Me = De(Ze, He - 1);
|
|
45563
45518
|
Ie.add(Me);
|
|
@@ -45724,8 +45679,8 @@ function requireQuill() {
|
|
|
45724
45679
|
return;
|
|
45725
45680
|
}
|
|
45726
45681
|
} else if (Me instanceof _e.default) {
|
|
45727
|
-
var
|
|
45728
|
-
|
|
45682
|
+
var Be = Me.newlineIndex(0);
|
|
45683
|
+
Be > -1 && Me.split(Be + 1);
|
|
45729
45684
|
}
|
|
45730
45685
|
var Qe = Me.children.head instanceof ge.default ? null : Me.children.head;
|
|
45731
45686
|
Ye.moveChildren(Me, Qe), Ye.remove();
|
|
@@ -45785,8 +45740,8 @@ function requireQuill() {
|
|
|
45785
45740
|
value: function() {
|
|
45786
45741
|
var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, We = function Ge(Ye, ft, Je) {
|
|
45787
45742
|
var Ze = [], Me = Je;
|
|
45788
|
-
return Ye.children.forEachAt(ft, Je, function(Ue,
|
|
45789
|
-
Fe(Ue) ? Ze.push(Ue) : Ue instanceof ue.default.Container && (Ze = Ze.concat(Ge(Ue,
|
|
45743
|
+
return Ye.children.forEachAt(ft, Je, function(Ue, Be, Qe) {
|
|
45744
|
+
Fe(Ue) ? Ze.push(Ue) : Ue instanceof ue.default.Container && (Ze = Ze.concat(Ge(Ue, Be, Me))), Me -= Qe;
|
|
45790
45745
|
}), Ze;
|
|
45791
45746
|
};
|
|
45792
45747
|
return We(this, Pe, ze);
|
|
@@ -45820,18 +45775,18 @@ function requireQuill() {
|
|
|
45820
45775
|
Object.defineProperty(te, "__esModule", {
|
|
45821
45776
|
value: !0
|
|
45822
45777
|
}), te.SHORTKEY = te.default = void 0;
|
|
45823
|
-
var oe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
45824
|
-
return typeof
|
|
45825
|
-
} : function(
|
|
45826
|
-
return
|
|
45778
|
+
var oe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(Ve) {
|
|
45779
|
+
return typeof Ve;
|
|
45780
|
+
} : function(Ve) {
|
|
45781
|
+
return Ve && typeof Symbol == "function" && Ve.constructor === Symbol && Ve !== Symbol.prototype ? "symbol" : typeof Ve;
|
|
45827
45782
|
}, ne = /* @__PURE__ */ (function() {
|
|
45828
|
-
function
|
|
45783
|
+
function Ve(Ke, rt) {
|
|
45829
45784
|
var ot = [], _t = !0, kt = !1, It = void 0;
|
|
45830
45785
|
try {
|
|
45831
45786
|
for (var qt = Ke[Symbol.iterator](), Nt; !(_t = (Nt = qt.next()).done) && (ot.push(Nt.value), !(rt && ot.length === rt)); _t = !0)
|
|
45832
45787
|
;
|
|
45833
|
-
} catch (
|
|
45834
|
-
kt = !0, It =
|
|
45788
|
+
} catch (Vt) {
|
|
45789
|
+
kt = !0, It = Vt;
|
|
45835
45790
|
} finally {
|
|
45836
45791
|
try {
|
|
45837
45792
|
!_t && qt.return && qt.return();
|
|
@@ -45845,42 +45800,42 @@ function requireQuill() {
|
|
|
45845
45800
|
if (Array.isArray(Ke))
|
|
45846
45801
|
return Ke;
|
|
45847
45802
|
if (Symbol.iterator in Object(Ke))
|
|
45848
|
-
return
|
|
45803
|
+
return Ve(Ke, rt);
|
|
45849
45804
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
45850
45805
|
};
|
|
45851
45806
|
})(), de = /* @__PURE__ */ (function() {
|
|
45852
|
-
function
|
|
45807
|
+
function Ve(Ke, rt) {
|
|
45853
45808
|
for (var ot = 0; ot < rt.length; ot++) {
|
|
45854
45809
|
var _t = rt[ot];
|
|
45855
45810
|
_t.enumerable = _t.enumerable || !1, _t.configurable = !0, "value" in _t && (_t.writable = !0), Object.defineProperty(Ke, _t.key, _t);
|
|
45856
45811
|
}
|
|
45857
45812
|
}
|
|
45858
45813
|
return function(Ke, rt, ot) {
|
|
45859
|
-
return rt &&
|
|
45814
|
+
return rt && Ve(Ke.prototype, rt), ot && Ve(Ke, ot), Ke;
|
|
45860
45815
|
};
|
|
45861
45816
|
})(), ce = re(21), ue = Ie(ce), he = re(11), pe = Ie(he), fe = re(3), be = Ie(fe), me = re(2), ge = Ie(me), ve = re(20), _e = Ie(ve), we = re(0), Se = Ie(we), ye = re(5), Ce = Ie(ye), Le = re(10), De = Ie(Le), Fe = re(9), He = Ie(Fe);
|
|
45862
|
-
function Ie(
|
|
45863
|
-
return
|
|
45817
|
+
function Ie(Ve) {
|
|
45818
|
+
return Ve && Ve.__esModule ? Ve : { default: Ve };
|
|
45864
45819
|
}
|
|
45865
|
-
function Ae(
|
|
45866
|
-
return Ke in
|
|
45820
|
+
function Ae(Ve, Ke, rt) {
|
|
45821
|
+
return Ke in Ve ? Object.defineProperty(Ve, Ke, { value: rt, enumerable: !0, configurable: !0, writable: !0 }) : Ve[Ke] = rt, Ve;
|
|
45867
45822
|
}
|
|
45868
|
-
function qe(
|
|
45869
|
-
if (!(
|
|
45823
|
+
function qe(Ve, Ke) {
|
|
45824
|
+
if (!(Ve instanceof Ke))
|
|
45870
45825
|
throw new TypeError("Cannot call a class as a function");
|
|
45871
45826
|
}
|
|
45872
|
-
function Pe(
|
|
45873
|
-
if (!
|
|
45827
|
+
function Pe(Ve, Ke) {
|
|
45828
|
+
if (!Ve)
|
|
45874
45829
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
45875
|
-
return Ke && (typeof Ke == "object" || typeof Ke == "function") ? Ke :
|
|
45830
|
+
return Ke && (typeof Ke == "object" || typeof Ke == "function") ? Ke : Ve;
|
|
45876
45831
|
}
|
|
45877
|
-
function ze(
|
|
45832
|
+
function ze(Ve, Ke) {
|
|
45878
45833
|
if (typeof Ke != "function" && Ke !== null)
|
|
45879
45834
|
throw new TypeError("Super expression must either be null or a function, not " + typeof Ke);
|
|
45880
|
-
|
|
45835
|
+
Ve.prototype = Object.create(Ke && Ke.prototype, { constructor: { value: Ve, enumerable: !1, writable: !0, configurable: !0 } }), Ke && (Object.setPrototypeOf ? Object.setPrototypeOf(Ve, Ke) : Ve.__proto__ = Ke);
|
|
45881
45836
|
}
|
|
45882
|
-
var We = (0, De.default)("quill:keyboard"), Ge = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", Ye = (function(
|
|
45883
|
-
ze(Ke,
|
|
45837
|
+
var We = (0, De.default)("quill:keyboard"), Ge = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", Ye = (function(Ve) {
|
|
45838
|
+
ze(Ke, Ve), de(Ke, null, [{
|
|
45884
45839
|
key: "match",
|
|
45885
45840
|
value: function(ot, _t) {
|
|
45886
45841
|
return _t = Xe(_t), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(kt) {
|
|
@@ -45916,7 +45871,7 @@ function requireQuill() {
|
|
|
45916
45871
|
if (It.length !== 0) {
|
|
45917
45872
|
var qt = ot.quill.getSelection();
|
|
45918
45873
|
if (!(qt == null || !ot.quill.hasFocus())) {
|
|
45919
|
-
var Nt = ot.quill.getLine(qt.index),
|
|
45874
|
+
var Nt = ot.quill.getLine(qt.index), Vt = ne(Nt, 2), rs = Vt[0], Kt = Vt[1], gt = ot.quill.getLeaf(qt.index), mt = ne(gt, 2), xt = mt[0], Ct = mt[1], $t = qt.length === 0 ? [xt, Ct] : ot.quill.getLeaf(qt.index + qt.length), Mt = ne($t, 2), Ft = Mt[0], zt = Mt[1], cs = xt instanceof Se.default.Text ? xt.value().slice(0, Ct) : "", ds = Ft instanceof Se.default.Text ? Ft.value().slice(zt) : "", Yt = {
|
|
45920
45875
|
collapsed: qt.length === 0,
|
|
45921
45876
|
empty: qt.length === 0 && rs.length() <= 1,
|
|
45922
45877
|
format: ot.quill.getFormat(qt),
|
|
@@ -45991,8 +45946,8 @@ function requireQuill() {
|
|
|
45991
45946
|
rt.format.indent != null ? this.quill.format("indent", "-1", Ce.default.sources.USER) : rt.format.list != null && this.quill.format("list", !1, Ce.default.sources.USER);
|
|
45992
45947
|
}
|
|
45993
45948
|
},
|
|
45994
|
-
"indent code-block":
|
|
45995
|
-
"outdent code-block":
|
|
45949
|
+
"indent code-block": Be(!0),
|
|
45950
|
+
"outdent code-block": Be(!1),
|
|
45996
45951
|
"remove tab": {
|
|
45997
45952
|
key: Ye.keys.TAB,
|
|
45998
45953
|
shiftKey: !0,
|
|
@@ -46065,8 +46020,8 @@ function requireQuill() {
|
|
|
46065
46020
|
Nt = "ordered";
|
|
46066
46021
|
}
|
|
46067
46022
|
this.quill.insertText(Ke.index, " ", Ce.default.sources.USER), this.quill.history.cutoff();
|
|
46068
|
-
var
|
|
46069
|
-
this.quill.updateContents(
|
|
46023
|
+
var Vt = new ge.default().retain(Ke.index - qt).delete(ot + 1).retain(It.length() - 2 - qt).retain(1, { list: Nt });
|
|
46024
|
+
this.quill.updateContents(Vt, Ce.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(Ke.index - ot, Ce.default.sources.SILENT);
|
|
46070
46025
|
}
|
|
46071
46026
|
},
|
|
46072
46027
|
"code exit": {
|
|
@@ -46086,103 +46041,103 @@ function requireQuill() {
|
|
|
46086
46041
|
"embed right shift": ft(Ye.keys.RIGHT, !0)
|
|
46087
46042
|
}
|
|
46088
46043
|
};
|
|
46089
|
-
function ft(
|
|
46090
|
-
var rt, ot =
|
|
46044
|
+
function ft(Ve, Ke) {
|
|
46045
|
+
var rt, ot = Ve === Ye.keys.LEFT ? "prefix" : "suffix";
|
|
46091
46046
|
return rt = {
|
|
46092
|
-
key:
|
|
46047
|
+
key: Ve,
|
|
46093
46048
|
shiftKey: Ke,
|
|
46094
46049
|
altKey: null
|
|
46095
46050
|
}, Ae(rt, ot, /^$/), Ae(rt, "handler", function(kt) {
|
|
46096
46051
|
var It = kt.index;
|
|
46097
|
-
|
|
46098
|
-
var qt = this.quill.getLeaf(It), Nt = ne(qt, 1),
|
|
46099
|
-
return
|
|
46052
|
+
Ve === Ye.keys.RIGHT && (It += kt.length + 1);
|
|
46053
|
+
var qt = this.quill.getLeaf(It), Nt = ne(qt, 1), Vt = Nt[0];
|
|
46054
|
+
return Vt instanceof Se.default.Embed ? (Ve === Ye.keys.LEFT ? Ke ? this.quill.setSelection(kt.index - 1, kt.length + 1, Ce.default.sources.USER) : this.quill.setSelection(kt.index - 1, Ce.default.sources.USER) : Ke ? this.quill.setSelection(kt.index, kt.length + 1, Ce.default.sources.USER) : this.quill.setSelection(kt.index + kt.length + 1, Ce.default.sources.USER), !1) : !0;
|
|
46100
46055
|
}), rt;
|
|
46101
46056
|
}
|
|
46102
|
-
function Je(
|
|
46103
|
-
if (!(
|
|
46104
|
-
var rt = this.quill.getLine(
|
|
46057
|
+
function Je(Ve, Ke) {
|
|
46058
|
+
if (!(Ve.index === 0 || this.quill.getLength() <= 1)) {
|
|
46059
|
+
var rt = this.quill.getLine(Ve.index), ot = ne(rt, 1), _t = ot[0], kt = {};
|
|
46105
46060
|
if (Ke.offset === 0) {
|
|
46106
|
-
var It = this.quill.getLine(
|
|
46061
|
+
var It = this.quill.getLine(Ve.index - 1), qt = ne(It, 1), Nt = qt[0];
|
|
46107
46062
|
if (Nt != null && Nt.length() > 1) {
|
|
46108
|
-
var
|
|
46109
|
-
kt = _e.default.attributes.diff(
|
|
46063
|
+
var Vt = _t.formats(), rs = this.quill.getFormat(Ve.index - 1, 1);
|
|
46064
|
+
kt = _e.default.attributes.diff(Vt, rs) || {};
|
|
46110
46065
|
}
|
|
46111
46066
|
}
|
|
46112
46067
|
var Kt = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(Ke.prefix) ? 2 : 1;
|
|
46113
|
-
this.quill.deleteText(
|
|
46068
|
+
this.quill.deleteText(Ve.index - Kt, Kt, Ce.default.sources.USER), Object.keys(kt).length > 0 && this.quill.formatLine(Ve.index - Kt, Kt, kt, Ce.default.sources.USER), this.quill.focus();
|
|
46114
46069
|
}
|
|
46115
46070
|
}
|
|
46116
|
-
function Ze(
|
|
46071
|
+
function Ze(Ve, Ke) {
|
|
46117
46072
|
var rt = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(Ke.suffix) ? 2 : 1;
|
|
46118
|
-
if (!(
|
|
46119
|
-
var ot = {}, _t = 0, kt = this.quill.getLine(
|
|
46073
|
+
if (!(Ve.index >= this.quill.getLength() - rt)) {
|
|
46074
|
+
var ot = {}, _t = 0, kt = this.quill.getLine(Ve.index), It = ne(kt, 1), qt = It[0];
|
|
46120
46075
|
if (Ke.offset >= qt.length() - 1) {
|
|
46121
|
-
var Nt = this.quill.getLine(
|
|
46076
|
+
var Nt = this.quill.getLine(Ve.index + 1), Vt = ne(Nt, 1), rs = Vt[0];
|
|
46122
46077
|
if (rs) {
|
|
46123
|
-
var Kt = qt.formats(), gt = this.quill.getFormat(
|
|
46078
|
+
var Kt = qt.formats(), gt = this.quill.getFormat(Ve.index, 1);
|
|
46124
46079
|
ot = _e.default.attributes.diff(Kt, gt) || {}, _t = rs.length();
|
|
46125
46080
|
}
|
|
46126
46081
|
}
|
|
46127
|
-
this.quill.deleteText(
|
|
46082
|
+
this.quill.deleteText(Ve.index, rt, Ce.default.sources.USER), Object.keys(ot).length > 0 && this.quill.formatLine(Ve.index + _t - 1, rt, ot, Ce.default.sources.USER);
|
|
46128
46083
|
}
|
|
46129
46084
|
}
|
|
46130
|
-
function Me(
|
|
46131
|
-
var Ke = this.quill.getLines(
|
|
46085
|
+
function Me(Ve) {
|
|
46086
|
+
var Ke = this.quill.getLines(Ve), rt = {};
|
|
46132
46087
|
if (Ke.length > 1) {
|
|
46133
46088
|
var ot = Ke[0].formats(), _t = Ke[Ke.length - 1].formats();
|
|
46134
46089
|
rt = _e.default.attributes.diff(_t, ot) || {};
|
|
46135
46090
|
}
|
|
46136
|
-
this.quill.deleteText(
|
|
46091
|
+
this.quill.deleteText(Ve, Ce.default.sources.USER), Object.keys(rt).length > 0 && this.quill.formatLine(Ve.index, 1, rt, Ce.default.sources.USER), this.quill.setSelection(Ve.index, Ce.default.sources.SILENT), this.quill.focus();
|
|
46137
46092
|
}
|
|
46138
|
-
function Ue(
|
|
46093
|
+
function Ue(Ve, Ke) {
|
|
46139
46094
|
var rt = this;
|
|
46140
|
-
|
|
46095
|
+
Ve.length > 0 && this.quill.scroll.deleteAt(Ve.index, Ve.length);
|
|
46141
46096
|
var ot = Object.keys(Ke.format).reduce(function(_t, kt) {
|
|
46142
46097
|
return Se.default.query(kt, Se.default.Scope.BLOCK) && !Array.isArray(Ke.format[kt]) && (_t[kt] = Ke.format[kt]), _t;
|
|
46143
46098
|
}, {});
|
|
46144
|
-
this.quill.insertText(
|
|
46145
|
-
`, ot, Ce.default.sources.USER), this.quill.setSelection(
|
|
46099
|
+
this.quill.insertText(Ve.index, `
|
|
46100
|
+
`, ot, Ce.default.sources.USER), this.quill.setSelection(Ve.index + 1, Ce.default.sources.SILENT), this.quill.focus(), Object.keys(Ke.format).forEach(function(_t) {
|
|
46146
46101
|
ot[_t] == null && (Array.isArray(Ke.format[_t]) || _t !== "link" && rt.quill.format(_t, Ke.format[_t], Ce.default.sources.USER));
|
|
46147
46102
|
});
|
|
46148
46103
|
}
|
|
46149
|
-
function Ve
|
|
46104
|
+
function Be(Ve) {
|
|
46150
46105
|
return {
|
|
46151
46106
|
key: Ye.keys.TAB,
|
|
46152
|
-
shiftKey: !
|
|
46107
|
+
shiftKey: !Ve,
|
|
46153
46108
|
format: { "code-block": !0 },
|
|
46154
46109
|
handler: function(rt) {
|
|
46155
|
-
var ot = Se.default.query("code-block"), _t = rt.index, kt = rt.length, It = this.quill.scroll.descendant(ot, _t), qt = ne(It, 2), Nt = qt[0],
|
|
46110
|
+
var ot = Se.default.query("code-block"), _t = rt.index, kt = rt.length, It = this.quill.scroll.descendant(ot, _t), qt = ne(It, 2), Nt = qt[0], Vt = qt[1];
|
|
46156
46111
|
if (Nt != null) {
|
|
46157
|
-
var rs = this.quill.getIndex(Nt), Kt = Nt.newlineIndex(
|
|
46112
|
+
var rs = this.quill.getIndex(Nt), Kt = Nt.newlineIndex(Vt, !0) + 1, gt = Nt.newlineIndex(rs + Vt + kt), mt = Nt.domNode.textContent.slice(Kt, gt).split(`
|
|
46158
46113
|
`);
|
|
46159
|
-
|
|
46160
|
-
|
|
46114
|
+
Vt = 0, mt.forEach(function(xt, Ct) {
|
|
46115
|
+
Ve ? (Nt.insertAt(Kt + Vt, ot.TAB), Vt += ot.TAB.length, Ct === 0 ? _t += ot.TAB.length : kt += ot.TAB.length) : xt.startsWith(ot.TAB) && (Nt.deleteAt(Kt + Vt, ot.TAB.length), Vt -= ot.TAB.length, Ct === 0 ? _t -= ot.TAB.length : kt -= ot.TAB.length), Vt += xt.length + 1;
|
|
46161
46116
|
}), this.quill.update(Ce.default.sources.USER), this.quill.setSelection(_t, kt, Ce.default.sources.SILENT);
|
|
46162
46117
|
}
|
|
46163
46118
|
}
|
|
46164
46119
|
};
|
|
46165
46120
|
}
|
|
46166
|
-
function Qe(
|
|
46121
|
+
function Qe(Ve) {
|
|
46167
46122
|
return {
|
|
46168
|
-
key:
|
|
46123
|
+
key: Ve[0].toUpperCase(),
|
|
46169
46124
|
shortKey: !0,
|
|
46170
46125
|
handler: function(rt, ot) {
|
|
46171
|
-
this.quill.format(
|
|
46126
|
+
this.quill.format(Ve, !ot.format[Ve], Ce.default.sources.USER);
|
|
46172
46127
|
}
|
|
46173
46128
|
};
|
|
46174
46129
|
}
|
|
46175
|
-
function Xe(
|
|
46176
|
-
if (typeof
|
|
46177
|
-
return Xe({ key:
|
|
46178
|
-
if ((typeof
|
|
46179
|
-
if (Ye.keys[
|
|
46180
|
-
|
|
46181
|
-
else if (
|
|
46182
|
-
|
|
46130
|
+
function Xe(Ve) {
|
|
46131
|
+
if (typeof Ve == "string" || typeof Ve == "number")
|
|
46132
|
+
return Xe({ key: Ve });
|
|
46133
|
+
if ((typeof Ve > "u" ? "undefined" : oe(Ve)) === "object" && (Ve = (0, ue.default)(Ve, !1)), typeof Ve.key == "string")
|
|
46134
|
+
if (Ye.keys[Ve.key.toUpperCase()] != null)
|
|
46135
|
+
Ve.key = Ye.keys[Ve.key.toUpperCase()];
|
|
46136
|
+
else if (Ve.key.length === 1)
|
|
46137
|
+
Ve.key = Ve.key.toUpperCase().charCodeAt(0);
|
|
46183
46138
|
else
|
|
46184
46139
|
return null;
|
|
46185
|
-
return
|
|
46140
|
+
return Ve.shortKey && (Ve[Ge] = Ve.shortKey, delete Ve.shortKey), Ve;
|
|
46186
46141
|
}
|
|
46187
46142
|
te.default = Ye, te.SHORTKEY = Ge;
|
|
46188
46143
|
}),
|
|
@@ -47043,8 +46998,8 @@ function requireQuill() {
|
|
|
47043
46998
|
throw new TypeError("unexpected type: " + qe.type);
|
|
47044
46999
|
return Ae.setStart(Ge, 0), Ae.setEnd(Ye, Ye.length), { range: Ae, mode: "all" };
|
|
47045
47000
|
}
|
|
47046
|
-
var Ze = We(), Me = void 0, Ue = void 0,
|
|
47047
|
-
return ft ? (qe.extend(Ge, 0), Me = We() + ye(Ge), qe.extend(Ye,
|
|
47001
|
+
var Ze = We(), Me = void 0, Ue = void 0, Be = Ye.length - Ce(Ye);
|
|
47002
|
+
return ft ? (qe.extend(Ge, 0), Me = We() + ye(Ge), qe.extend(Ye, Be), Ue = Be - (We() - Ze), qe.extend(Ye, Ue)) : (qe.extend(Ye, Be), Ue = Be - We(), qe.extend(Ge, 0), Me = We() - Ze + ye(Ge), qe.extend(Ge, Me)), Ae.setStart(Ge, Me), Ae.setEnd(Ye, Ue), {
|
|
47048
47003
|
mode: ft ? "right" : "left",
|
|
47049
47004
|
range: Ae
|
|
47050
47005
|
};
|
|
@@ -47509,92 +47464,92 @@ function requireQuill() {
|
|
|
47509
47464
|
value: !0
|
|
47510
47465
|
}), te.default = te.BaseTooltip = void 0;
|
|
47511
47466
|
var oe = /* @__PURE__ */ (function() {
|
|
47512
|
-
function Ue(
|
|
47467
|
+
function Ue(Be, Qe) {
|
|
47513
47468
|
for (var Xe = 0; Xe < Qe.length; Xe++) {
|
|
47514
|
-
var
|
|
47515
|
-
|
|
47469
|
+
var Ve = Qe[Xe];
|
|
47470
|
+
Ve.enumerable = Ve.enumerable || !1, Ve.configurable = !0, "value" in Ve && (Ve.writable = !0), Object.defineProperty(Be, Ve.key, Ve);
|
|
47516
47471
|
}
|
|
47517
47472
|
}
|
|
47518
|
-
return function(
|
|
47519
|
-
return Qe && Ue(
|
|
47473
|
+
return function(Be, Qe, Xe) {
|
|
47474
|
+
return Qe && Ue(Be.prototype, Qe), Xe && Ue(Be, Xe), Be;
|
|
47520
47475
|
};
|
|
47521
|
-
})(), ne = function Ue(
|
|
47522
|
-
|
|
47523
|
-
var
|
|
47524
|
-
if (
|
|
47525
|
-
var Ke = Object.getPrototypeOf(
|
|
47476
|
+
})(), ne = function Ue(Be, Qe, Xe) {
|
|
47477
|
+
Be === null && (Be = Function.prototype);
|
|
47478
|
+
var Ve = Object.getOwnPropertyDescriptor(Be, Qe);
|
|
47479
|
+
if (Ve === void 0) {
|
|
47480
|
+
var Ke = Object.getPrototypeOf(Be);
|
|
47526
47481
|
return Ke === null ? void 0 : Ue(Ke, Qe, Xe);
|
|
47527
47482
|
} else {
|
|
47528
|
-
if ("value" in
|
|
47529
|
-
return
|
|
47530
|
-
var rt =
|
|
47483
|
+
if ("value" in Ve)
|
|
47484
|
+
return Ve.value;
|
|
47485
|
+
var rt = Ve.get;
|
|
47531
47486
|
return rt === void 0 ? void 0 : rt.call(Xe);
|
|
47532
47487
|
}
|
|
47533
47488
|
}, de = re(3), ce = He(de), ue = re(2), he = He(ue), pe = re(8), fe = He(pe), be = re(23), me = He(be), ge = re(35), ve = He(ge), _e = re(60), we = He(_e), Se = re(61), ye = He(Se), Ce = re(28), Le = He(Ce), De = re(62), Fe = He(De);
|
|
47534
47489
|
function He(Ue) {
|
|
47535
47490
|
return Ue && Ue.__esModule ? Ue : { default: Ue };
|
|
47536
47491
|
}
|
|
47537
|
-
function Ie(Ue,
|
|
47538
|
-
if (!(Ue instanceof
|
|
47492
|
+
function Ie(Ue, Be) {
|
|
47493
|
+
if (!(Ue instanceof Be))
|
|
47539
47494
|
throw new TypeError("Cannot call a class as a function");
|
|
47540
47495
|
}
|
|
47541
|
-
function Ae(Ue,
|
|
47496
|
+
function Ae(Ue, Be) {
|
|
47542
47497
|
if (!Ue)
|
|
47543
47498
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
47544
|
-
return
|
|
47499
|
+
return Be && (typeof Be == "object" || typeof Be == "function") ? Be : Ue;
|
|
47545
47500
|
}
|
|
47546
|
-
function qe(Ue,
|
|
47547
|
-
if (typeof
|
|
47548
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
47549
|
-
Ue.prototype = Object.create(
|
|
47501
|
+
function qe(Ue, Be) {
|
|
47502
|
+
if (typeof Be != "function" && Be !== null)
|
|
47503
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof Be);
|
|
47504
|
+
Ue.prototype = Object.create(Be && Be.prototype, { constructor: { value: Ue, enumerable: !1, writable: !0, configurable: !0 } }), Be && (Object.setPrototypeOf ? Object.setPrototypeOf(Ue, Be) : Ue.__proto__ = Be);
|
|
47550
47505
|
}
|
|
47551
47506
|
var Pe = [!1, "center", "right", "justify"], ze = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], We = [!1, "serif", "monospace"], Ge = ["1", "2", "3", !1], Ye = ["petita", !1, "gran", "enorme"], ft = (function(Ue) {
|
|
47552
|
-
qe(
|
|
47553
|
-
function
|
|
47554
|
-
Ie(this,
|
|
47555
|
-
var
|
|
47507
|
+
qe(Be, Ue);
|
|
47508
|
+
function Be(Qe, Xe) {
|
|
47509
|
+
Ie(this, Be);
|
|
47510
|
+
var Ve = Ae(this, (Be.__proto__ || Object.getPrototypeOf(Be)).call(this, Qe, Xe)), Ke = function rt(ot) {
|
|
47556
47511
|
if (!document.body.contains(Qe.root))
|
|
47557
47512
|
return document.body.removeEventListener("click", rt);
|
|
47558
|
-
|
|
47513
|
+
Ve.tooltip != null && !Ve.tooltip.root.contains(ot.target) && document.activeElement !== Ve.tooltip.textbox && !Ve.quill.hasFocus() && Ve.tooltip.hide(), Ve.pickers != null && Ve.pickers.forEach(function(_t) {
|
|
47559
47514
|
_t.container.contains(ot.target) || _t.close();
|
|
47560
47515
|
});
|
|
47561
47516
|
};
|
|
47562
|
-
return Qe.emitter.listenDOM("click", document.body, Ke),
|
|
47517
|
+
return Qe.emitter.listenDOM("click", document.body, Ke), Ve;
|
|
47563
47518
|
}
|
|
47564
|
-
return oe(
|
|
47519
|
+
return oe(Be, [{
|
|
47565
47520
|
key: "addModule",
|
|
47566
47521
|
value: function(Xe) {
|
|
47567
|
-
var
|
|
47568
|
-
return Xe === "toolbar" && this.extendToolbar(
|
|
47522
|
+
var Ve = ne(Be.prototype.__proto__ || Object.getPrototypeOf(Be.prototype), "addModule", this).call(this, Xe);
|
|
47523
|
+
return Xe === "toolbar" && this.extendToolbar(Ve), Ve;
|
|
47569
47524
|
}
|
|
47570
47525
|
}, {
|
|
47571
47526
|
key: "buildButtons",
|
|
47572
|
-
value: function(Xe,
|
|
47527
|
+
value: function(Xe, Ve) {
|
|
47573
47528
|
Xe.forEach(function(Ke) {
|
|
47574
47529
|
var rt = Ke.getAttribute("class") || "";
|
|
47575
47530
|
rt.split(/\s+/).forEach(function(ot) {
|
|
47576
|
-
if (ot.startsWith("ql-") && (ot = ot.slice(3),
|
|
47531
|
+
if (ot.startsWith("ql-") && (ot = ot.slice(3), Ve[ot] != null))
|
|
47577
47532
|
if (ot === "direction")
|
|
47578
|
-
Ke.innerHTML =
|
|
47579
|
-
else if (typeof
|
|
47580
|
-
Ke.innerHTML =
|
|
47533
|
+
Ke.innerHTML = Ve[ot][""] + Ve[ot].rtl;
|
|
47534
|
+
else if (typeof Ve[ot] == "string")
|
|
47535
|
+
Ke.innerHTML = Ve[ot];
|
|
47581
47536
|
else {
|
|
47582
47537
|
var _t = Ke.value || "";
|
|
47583
|
-
_t != null &&
|
|
47538
|
+
_t != null && Ve[ot][_t] && (Ke.innerHTML = Ve[ot][_t]);
|
|
47584
47539
|
}
|
|
47585
47540
|
});
|
|
47586
47541
|
});
|
|
47587
47542
|
}
|
|
47588
47543
|
}, {
|
|
47589
47544
|
key: "buildPickers",
|
|
47590
|
-
value: function(Xe,
|
|
47545
|
+
value: function(Xe, Ve) {
|
|
47591
47546
|
var Ke = this;
|
|
47592
47547
|
this.pickers = Xe.map(function(ot) {
|
|
47593
47548
|
if (ot.classList.contains("ql-align"))
|
|
47594
|
-
return ot.querySelector("option") == null && Me(ot, Pe), new ye.default(ot,
|
|
47549
|
+
return ot.querySelector("option") == null && Me(ot, Pe), new ye.default(ot, Ve.align);
|
|
47595
47550
|
if (ot.classList.contains("ql-background") || ot.classList.contains("ql-color")) {
|
|
47596
47551
|
var _t = ot.classList.contains("ql-background") ? "background" : "color";
|
|
47597
|
-
return ot.querySelector("option") == null && Me(ot, ze, _t === "background" ? "#ffffff" : "#000000"), new we.default(ot,
|
|
47552
|
+
return ot.querySelector("option") == null && Me(ot, ze, _t === "background" ? "#ffffff" : "#000000"), new we.default(ot, Ve[_t]);
|
|
47598
47553
|
} else
|
|
47599
47554
|
return ot.querySelector("option") == null && (ot.classList.contains("ql-font") ? Me(ot, We) : ot.classList.contains("ql-header") ? Me(ot, Ge) : ot.classList.contains("ql-size") && Me(ot, Ye)), new Le.default(ot);
|
|
47600
47555
|
});
|
|
@@ -47605,7 +47560,7 @@ function requireQuill() {
|
|
|
47605
47560
|
};
|
|
47606
47561
|
this.quill.on(fe.default.events.EDITOR_CHANGE, rt);
|
|
47607
47562
|
}
|
|
47608
|
-
}]),
|
|
47563
|
+
}]), Be;
|
|
47609
47564
|
})(ve.default);
|
|
47610
47565
|
ft.DEFAULTS = (0, ce.default)(!0, {}, ve.default.DEFAULTS, {
|
|
47611
47566
|
modules: {
|
|
@@ -47615,13 +47570,13 @@ function requireQuill() {
|
|
|
47615
47570
|
this.quill.theme.tooltip.edit("formula");
|
|
47616
47571
|
},
|
|
47617
47572
|
image: function() {
|
|
47618
|
-
var
|
|
47573
|
+
var Be = this, Qe = this.container.querySelector("input.ql-image[type=file]");
|
|
47619
47574
|
Qe == null && (Qe = document.createElement("input"), Qe.setAttribute("type", "file"), Qe.setAttribute("accept", "image/png, image/gif, image/jpeg, image/bmp, image/x-icon"), Qe.classList.add("ql-image"), Qe.addEventListener("change", function() {
|
|
47620
47575
|
if (Qe.files != null && Qe.files[0] != null) {
|
|
47621
47576
|
var Xe = new FileReader();
|
|
47622
|
-
Xe.onload = function(
|
|
47623
|
-
var Ke =
|
|
47624
|
-
|
|
47577
|
+
Xe.onload = function(Ve) {
|
|
47578
|
+
var Ke = Be.quill.getSelection(!0);
|
|
47579
|
+
Be.quill.updateContents(new he.default().retain(Ke.index).delete(Ke.length).insert({ image: Ve.target.result }), fe.default.sources.USER), Be.quill.setSelection(Ke.index + 1, fe.default.sources.SILENT), Qe.value = "";
|
|
47625
47580
|
}, Xe.readAsDataURL(Qe.files[0]);
|
|
47626
47581
|
}
|
|
47627
47582
|
}), this.container.appendChild(Qe)), Qe.click();
|
|
@@ -47634,18 +47589,18 @@ function requireQuill() {
|
|
|
47634
47589
|
}
|
|
47635
47590
|
});
|
|
47636
47591
|
var Je = (function(Ue) {
|
|
47637
|
-
qe(
|
|
47638
|
-
function
|
|
47639
|
-
Ie(this,
|
|
47640
|
-
var
|
|
47641
|
-
return
|
|
47592
|
+
qe(Be, Ue);
|
|
47593
|
+
function Be(Qe, Xe) {
|
|
47594
|
+
Ie(this, Be);
|
|
47595
|
+
var Ve = Ae(this, (Be.__proto__ || Object.getPrototypeOf(Be)).call(this, Qe, Xe));
|
|
47596
|
+
return Ve.textbox = Ve.root.querySelector('input[type="text"]'), Ve.listen(), Ve;
|
|
47642
47597
|
}
|
|
47643
|
-
return oe(
|
|
47598
|
+
return oe(Be, [{
|
|
47644
47599
|
key: "listen",
|
|
47645
47600
|
value: function() {
|
|
47646
47601
|
var Xe = this;
|
|
47647
|
-
this.textbox.addEventListener("keydown", function(
|
|
47648
|
-
me.default.match(
|
|
47602
|
+
this.textbox.addEventListener("keydown", function(Ve) {
|
|
47603
|
+
me.default.match(Ve, "enter") ? (Xe.save(), Ve.preventDefault()) : me.default.match(Ve, "escape") && (Xe.cancel(), Ve.preventDefault());
|
|
47649
47604
|
});
|
|
47650
47605
|
}
|
|
47651
47606
|
}, {
|
|
@@ -47656,8 +47611,8 @@ function requireQuill() {
|
|
|
47656
47611
|
}, {
|
|
47657
47612
|
key: "edit",
|
|
47658
47613
|
value: function() {
|
|
47659
|
-
var Xe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "link",
|
|
47660
|
-
this.root.classList.remove("ql-hidden"), this.root.classList.add("ql-editing"),
|
|
47614
|
+
var Xe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "link", Ve = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
47615
|
+
this.root.classList.remove("ql-hidden"), this.root.classList.add("ql-editing"), Ve != null ? this.textbox.value = Ve : Xe !== this.root.getAttribute("data-mode") && (this.textbox.value = ""), this.position(this.quill.getBounds(this.quill.selection.savedRange)), this.textbox.select(), this.textbox.setAttribute("placeholder", this.textbox.getAttribute("data-" + Xe) || ""), this.root.setAttribute("data-mode", Xe);
|
|
47661
47616
|
}
|
|
47662
47617
|
}, {
|
|
47663
47618
|
key: "restoreFocus",
|
|
@@ -47671,8 +47626,8 @@ function requireQuill() {
|
|
|
47671
47626
|
var Xe = this.textbox.value;
|
|
47672
47627
|
switch (this.root.getAttribute("data-mode")) {
|
|
47673
47628
|
case "link": {
|
|
47674
|
-
var
|
|
47675
|
-
this.linkRange ? (this.quill.formatText(this.linkRange, "link", Xe, fe.default.sources.USER), delete this.linkRange) : (this.restoreFocus(), this.quill.format("link", Xe, fe.default.sources.USER)), this.quill.root.scrollTop =
|
|
47629
|
+
var Ve = this.quill.root.scrollTop;
|
|
47630
|
+
this.linkRange ? (this.quill.formatText(this.linkRange, "link", Xe, fe.default.sources.USER), delete this.linkRange) : (this.restoreFocus(), this.quill.format("link", Xe, fe.default.sources.USER)), this.quill.root.scrollTop = Ve;
|
|
47676
47631
|
break;
|
|
47677
47632
|
}
|
|
47678
47633
|
case "video":
|
|
@@ -47690,17 +47645,17 @@ function requireQuill() {
|
|
|
47690
47645
|
}
|
|
47691
47646
|
this.textbox.value = "", this.hide();
|
|
47692
47647
|
}
|
|
47693
|
-
}]),
|
|
47648
|
+
}]), Be;
|
|
47694
47649
|
})(Fe.default);
|
|
47695
47650
|
function Ze(Ue) {
|
|
47696
|
-
var
|
|
47697
|
-
return
|
|
47651
|
+
var Be = Ue.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || Ue.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
|
|
47652
|
+
return Be ? (Be[1] || "https") + "://www.youtube.com/embed/" + Be[2] + "?showinfo=0" : (Be = Ue.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? (Be[1] || "https") + "://player.vimeo.com/video/" + Be[2] + "/" : Ue;
|
|
47698
47653
|
}
|
|
47699
|
-
function Me(Ue,
|
|
47654
|
+
function Me(Ue, Be) {
|
|
47700
47655
|
var Qe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
|
|
47701
|
-
|
|
47702
|
-
var
|
|
47703
|
-
Xe === Qe ?
|
|
47656
|
+
Be.forEach(function(Xe) {
|
|
47657
|
+
var Ve = document.createElement("option");
|
|
47658
|
+
Xe === Qe ? Ve.setAttribute("selected", "selected") : Ve.setAttribute("value", Xe), Ue.appendChild(Ve);
|
|
47704
47659
|
});
|
|
47705
47660
|
}
|
|
47706
47661
|
te.BaseTooltip = Je, te.default = ft;
|
|
@@ -48136,38 +48091,38 @@ function requireQuill() {
|
|
|
48136
48091
|
Ae[He + 1] = 0, qe[He + 1] = 0;
|
|
48137
48092
|
for (var ze = Le - De, We = ze % 2 != 0, Ge = 0, Ye = 0, ft = 0, Je = 0, Ze = 0; Ze < Fe; Ze++) {
|
|
48138
48093
|
for (var Me = -Ze + Ge; Me <= Ze - Ye; Me += 2) {
|
|
48139
|
-
var Ue = He + Me,
|
|
48140
|
-
Me == -Ze || Me != Ze && Ae[Ue - 1] < Ae[Ue + 1] ?
|
|
48141
|
-
for (var Qe =
|
|
48142
|
-
|
|
48143
|
-
if (Ae[Ue] =
|
|
48094
|
+
var Ue = He + Me, Be;
|
|
48095
|
+
Me == -Ze || Me != Ze && Ae[Ue - 1] < Ae[Ue + 1] ? Be = Ae[Ue + 1] : Be = Ae[Ue - 1] + 1;
|
|
48096
|
+
for (var Qe = Be - Me; Be < Le && Qe < De && ye.charAt(Be) == Ce.charAt(Qe); )
|
|
48097
|
+
Be++, Qe++;
|
|
48098
|
+
if (Ae[Ue] = Be, Be > Le)
|
|
48144
48099
|
Ye += 2;
|
|
48145
48100
|
else if (Qe > De)
|
|
48146
48101
|
Ge += 2;
|
|
48147
48102
|
else if (We) {
|
|
48148
48103
|
var Xe = He + ze - Me;
|
|
48149
48104
|
if (Xe >= 0 && Xe < Ie && qe[Xe] != -1) {
|
|
48150
|
-
var
|
|
48151
|
-
if (
|
|
48152
|
-
return he(ye, Ce,
|
|
48105
|
+
var Ve = Le - qe[Xe];
|
|
48106
|
+
if (Be >= Ve)
|
|
48107
|
+
return he(ye, Ce, Be, Qe);
|
|
48153
48108
|
}
|
|
48154
48109
|
}
|
|
48155
48110
|
}
|
|
48156
48111
|
for (var Ke = -Ze + ft; Ke <= Ze - Je; Ke += 2) {
|
|
48157
|
-
var Xe = He + Ke,
|
|
48158
|
-
Ke == -Ze || Ke != Ze && qe[Xe - 1] < qe[Xe + 1] ?
|
|
48159
|
-
for (var rt =
|
|
48160
|
-
|
|
48161
|
-
if (qe[Xe] =
|
|
48112
|
+
var Xe = He + Ke, Ve;
|
|
48113
|
+
Ke == -Ze || Ke != Ze && qe[Xe - 1] < qe[Xe + 1] ? Ve = qe[Xe + 1] : Ve = qe[Xe - 1] + 1;
|
|
48114
|
+
for (var rt = Ve - Ke; Ve < Le && rt < De && ye.charAt(Le - Ve - 1) == Ce.charAt(De - rt - 1); )
|
|
48115
|
+
Ve++, rt++;
|
|
48116
|
+
if (qe[Xe] = Ve, Ve > Le)
|
|
48162
48117
|
Je += 2;
|
|
48163
48118
|
else if (rt > De)
|
|
48164
48119
|
ft += 2;
|
|
48165
48120
|
else if (!We) {
|
|
48166
48121
|
var Ue = He + ze - Ke;
|
|
48167
48122
|
if (Ue >= 0 && Ue < Ie && Ae[Ue] != -1) {
|
|
48168
|
-
var
|
|
48169
|
-
if (
|
|
48170
|
-
return he(ye, Ce,
|
|
48123
|
+
var Be = Ae[Ue], Qe = He + Be - Ue;
|
|
48124
|
+
if (Ve = Le - Ve, Be >= Ve)
|
|
48125
|
+
return he(ye, Ce, Be, Qe);
|
|
48171
48126
|
}
|
|
48172
48127
|
}
|
|
48173
48128
|
}
|
|
@@ -48197,7 +48152,7 @@ function requireQuill() {
|
|
|
48197
48152
|
if (Le.length < 4 || De.length * 2 < Le.length)
|
|
48198
48153
|
return null;
|
|
48199
48154
|
function Fe(Ye, ft, Je) {
|
|
48200
|
-
for (var Ze = Ye.substring(Je, Je + Math.floor(Ye.length / 4)), Me = -1, Ue = "",
|
|
48155
|
+
for (var Ze = Ye.substring(Je, Je + Math.floor(Ye.length / 4)), Me = -1, Ue = "", Be, Qe, Xe, Ve; (Me = ft.indexOf(Ze, Me + 1)) != -1; ) {
|
|
48201
48156
|
var Ke = pe(
|
|
48202
48157
|
Ye.substring(Je),
|
|
48203
48158
|
ft.substring(Me)
|
|
@@ -48205,13 +48160,13 @@ function requireQuill() {
|
|
|
48205
48160
|
Ye.substring(0, Je),
|
|
48206
48161
|
ft.substring(0, Me)
|
|
48207
48162
|
);
|
|
48208
|
-
Ue.length < rt + Ke && (Ue = ft.substring(Me - rt, Me) + ft.substring(Me, Me + Ke),
|
|
48163
|
+
Ue.length < rt + Ke && (Ue = ft.substring(Me - rt, Me) + ft.substring(Me, Me + Ke), Be = Ye.substring(0, Je - rt), Qe = Ye.substring(Je + Ke), Xe = ft.substring(0, Me - rt), Ve = ft.substring(Me + Ke));
|
|
48209
48164
|
}
|
|
48210
48165
|
return Ue.length * 2 >= Ye.length ? [
|
|
48211
|
-
|
|
48166
|
+
Be,
|
|
48212
48167
|
Qe,
|
|
48213
48168
|
Xe,
|
|
48214
|
-
|
|
48169
|
+
Ve,
|
|
48215
48170
|
Ue
|
|
48216
48171
|
] : null;
|
|
48217
48172
|
}
|
|
@@ -48515,7 +48470,7 @@ function requireQuill() {
|
|
|
48515
48470
|
throw new TypeError("Super expression must either be null or a function, not " + typeof mt);
|
|
48516
48471
|
gt.prototype = Object.create(mt && mt.prototype, { constructor: { value: gt, enumerable: !1, writable: !0, configurable: !0 } }), mt && (Object.setPrototypeOf ? Object.setPrototypeOf(gt, mt) : gt.__proto__ = mt);
|
|
48517
48472
|
}
|
|
48518
|
-
var Ye = (0, _e.default)("quill:clipboard"), ft = "__ql-matcher", Je = [[Node.TEXT_NODE, Kt], [Node.TEXT_NODE, Nt], ["br", kt], [Node.ELEMENT_NODE, Nt], [Node.ELEMENT_NODE, _t], [Node.ELEMENT_NODE,
|
|
48473
|
+
var Ye = (0, _e.default)("quill:clipboard"), ft = "__ql-matcher", Je = [[Node.TEXT_NODE, Kt], [Node.TEXT_NODE, Nt], ["br", kt], [Node.ELEMENT_NODE, Nt], [Node.ELEMENT_NODE, _t], [Node.ELEMENT_NODE, Vt], [Node.ELEMENT_NODE, ot], [Node.ELEMENT_NODE, rs], ["li", qt], ["b", rt.bind(rt, "bold")], ["i", rt.bind(rt, "italic")], ["style", It]], Ze = [ye.AlignAttribute, He.DirectionAttribute].reduce(function(gt, mt) {
|
|
48519
48474
|
return gt[mt.keyName] = mt, gt;
|
|
48520
48475
|
}, {}), Me = [ye.AlignStyle, Ce.BackgroundStyle, Fe.ColorStyle, He.DirectionStyle, Ie.FontStyle, Ae.SizeStyle].reduce(function(gt, mt) {
|
|
48521
48476
|
return gt[mt.keyName] = mt, gt;
|
|
@@ -48526,7 +48481,7 @@ function requireQuill() {
|
|
|
48526
48481
|
var $t = We(this, (mt.__proto__ || Object.getPrototypeOf(mt)).call(this, xt, Ct));
|
|
48527
48482
|
return $t.quill.root.addEventListener("paste", $t.onPaste.bind($t)), $t.container = $t.quill.addContainer("ql-clipboard"), $t.container.setAttribute("contenteditable", !0), $t.container.setAttribute("tabindex", -1), $t.matchers = [], Je.concat($t.options.matchers).forEach(function(Mt) {
|
|
48528
48483
|
var Ft = ne(Mt, 2), zt = Ft[0], cs = Ft[1];
|
|
48529
|
-
!Ct.matchVisual && cs ===
|
|
48484
|
+
!Ct.matchVisual && cs === Vt || $t.addMatcher(zt, cs);
|
|
48530
48485
|
}), $t;
|
|
48531
48486
|
}
|
|
48532
48487
|
return de(mt, [{
|
|
@@ -48597,9 +48552,9 @@ function requireQuill() {
|
|
|
48597
48552
|
matchers: [],
|
|
48598
48553
|
matchVisual: !0
|
|
48599
48554
|
};
|
|
48600
|
-
function
|
|
48555
|
+
function Be(gt, mt, xt) {
|
|
48601
48556
|
return (typeof mt > "u" ? "undefined" : oe(mt)) === "object" ? Object.keys(mt).reduce(function(Ct, $t) {
|
|
48602
|
-
return
|
|
48557
|
+
return Be(Ct, $t, mt[$t]);
|
|
48603
48558
|
}, gt) : gt.reduce(function(Ct, $t) {
|
|
48604
48559
|
return $t.attributes && $t.attributes[mt] ? Ct.push($t) : Ct.insert($t.insert, (0, ue.default)({}, Pe({}, mt, xt), $t.attributes));
|
|
48605
48560
|
}, new pe.default());
|
|
@@ -48617,7 +48572,7 @@ function requireQuill() {
|
|
|
48617
48572
|
}
|
|
48618
48573
|
return xt.slice(-1 * mt.length) === mt;
|
|
48619
48574
|
}
|
|
48620
|
-
function
|
|
48575
|
+
function Ve(gt) {
|
|
48621
48576
|
if (gt.childNodes.length === 0) return !1;
|
|
48622
48577
|
var mt = Qe(gt);
|
|
48623
48578
|
return ["block", "list-item"].indexOf(mt.display) > -1;
|
|
@@ -48635,14 +48590,14 @@ function requireQuill() {
|
|
|
48635
48590
|
}, new pe.default()) : new pe.default();
|
|
48636
48591
|
}
|
|
48637
48592
|
function rt(gt, mt, xt) {
|
|
48638
|
-
return
|
|
48593
|
+
return Be(xt, gt, !0);
|
|
48639
48594
|
}
|
|
48640
48595
|
function ot(gt, mt) {
|
|
48641
48596
|
var xt = be.default.Attributor.Attribute.keys(gt), Ct = be.default.Attributor.Class.keys(gt), $t = be.default.Attributor.Style.keys(gt), Mt = {};
|
|
48642
48597
|
return xt.concat(Ct).concat($t).forEach(function(Ft) {
|
|
48643
48598
|
var zt = be.default.query(Ft, be.default.Scope.ATTRIBUTE);
|
|
48644
48599
|
zt != null && (Mt[zt.attrName] = zt.value(gt), Mt[zt.attrName]) || (zt = Ze[Ft], zt != null && (zt.attrName === Ft || zt.keyName === Ft) && (Mt[zt.attrName] = zt.value(gt) || void 0), zt = Me[Ft], zt != null && (zt.attrName === Ft || zt.keyName === Ft) && (zt = Me[Ft], Mt[zt.attrName] = zt.value(gt) || void 0));
|
|
48645
|
-
}), Object.keys(Mt).length > 0 && (mt =
|
|
48600
|
+
}), Object.keys(Mt).length > 0 && (mt = Be(mt, Mt)), mt;
|
|
48646
48601
|
}
|
|
48647
48602
|
function _t(gt, mt) {
|
|
48648
48603
|
var xt = be.default.query(gt);
|
|
@@ -48650,7 +48605,7 @@ function requireQuill() {
|
|
|
48650
48605
|
if (xt.prototype instanceof be.default.Embed) {
|
|
48651
48606
|
var Ct = {}, $t = xt.value(gt);
|
|
48652
48607
|
$t != null && (Ct[xt.blotName] = $t, mt = new pe.default().insert(Ct, xt.formats(gt)));
|
|
48653
|
-
} else typeof xt.formats == "function" && (mt =
|
|
48608
|
+
} else typeof xt.formats == "function" && (mt = Be(mt, xt.blotName, xt.formats(gt)));
|
|
48654
48609
|
return mt;
|
|
48655
48610
|
}
|
|
48656
48611
|
function kt(gt, mt) {
|
|
@@ -48672,11 +48627,11 @@ function requireQuill() {
|
|
|
48672
48627
|
}
|
|
48673
48628
|
function Nt(gt, mt) {
|
|
48674
48629
|
return Xe(mt, `
|
|
48675
|
-
`) || (
|
|
48630
|
+
`) || (Ve(gt) || mt.length() > 0 && gt.nextSibling && Ve(gt.nextSibling)) && mt.insert(`
|
|
48676
48631
|
`), mt;
|
|
48677
48632
|
}
|
|
48678
|
-
function
|
|
48679
|
-
if (
|
|
48633
|
+
function Vt(gt, mt) {
|
|
48634
|
+
if (Ve(gt) && gt.nextElementSibling != null && !Xe(mt, `
|
|
48680
48635
|
|
|
48681
48636
|
`)) {
|
|
48682
48637
|
var xt = gt.offsetHeight + parseFloat(Qe(gt).marginTop) + parseFloat(Qe(gt).marginBottom);
|
|
@@ -48687,7 +48642,7 @@ function requireQuill() {
|
|
|
48687
48642
|
}
|
|
48688
48643
|
function rs(gt, mt) {
|
|
48689
48644
|
var xt = {}, Ct = gt.style || {};
|
|
48690
|
-
return Ct.fontStyle && Qe(gt).fontStyle === "italic" && (xt.italic = !0), Ct.fontWeight && (Qe(gt).fontWeight.startsWith("bold") || parseInt(Qe(gt).fontWeight) >= 700) && (xt.bold = !0), Object.keys(xt).length > 0 && (mt =
|
|
48645
|
+
return Ct.fontStyle && Qe(gt).fontStyle === "italic" && (xt.italic = !0), Ct.fontWeight && (Qe(gt).fontWeight.startsWith("bold") || parseInt(Qe(gt).fontWeight) >= 700) && (xt.bold = !0), Object.keys(xt).length > 0 && (mt = Be(mt, xt)), parseFloat(Ct.textIndent || 0) > 0 && (mt = new pe.default().insert(" ").concat(mt)), mt;
|
|
48691
48646
|
}
|
|
48692
48647
|
function Kt(gt, mt) {
|
|
48693
48648
|
var xt = gt.data;
|
|
@@ -48699,11 +48654,11 @@ function requireQuill() {
|
|
|
48699
48654
|
var Ct = function(Mt, Ft) {
|
|
48700
48655
|
return Ft = Ft.replace(/[^\u00a0]/g, ""), Ft.length < 1 && Mt ? " " : Ft;
|
|
48701
48656
|
};
|
|
48702
|
-
xt = xt.replace(/\r\n/g, " ").replace(/\n/g, " "), xt = xt.replace(/\s\s+/g, Ct.bind(Ct, !0)), (gt.previousSibling == null &&
|
|
48657
|
+
xt = xt.replace(/\r\n/g, " ").replace(/\n/g, " "), xt = xt.replace(/\s\s+/g, Ct.bind(Ct, !0)), (gt.previousSibling == null && Ve(gt.parentNode) || gt.previousSibling != null && Ve(gt.previousSibling)) && (xt = xt.replace(/^\s+/, Ct.bind(Ct, !1))), (gt.nextSibling == null && Ve(gt.parentNode) || gt.nextSibling != null && Ve(gt.nextSibling)) && (xt = xt.replace(/\s+$/, Ct.bind(Ct, !1)));
|
|
48703
48658
|
}
|
|
48704
48659
|
return mt.insert(xt);
|
|
48705
48660
|
}
|
|
48706
|
-
te.default = Ue, te.matchAttributor = ot, te.matchBlot = _t, te.matchNewline = Nt, te.matchSpacing =
|
|
48661
|
+
te.default = Ue, te.matchAttributor = ot, te.matchBlot = _t, te.matchNewline = Nt, te.matchSpacing = Vt, te.matchText = Kt;
|
|
48707
48662
|
}),
|
|
48708
48663
|
/* 57 */
|
|
48709
48664
|
/***/
|
|
@@ -48896,7 +48851,7 @@ function requireQuill() {
|
|
|
48896
48851
|
} else
|
|
48897
48852
|
We.classList.contains("ql-active") ? Ze = !1 : Ze = We.value || !We.hasAttribute("value"), Je.preventDefault();
|
|
48898
48853
|
Ge.quill.focus();
|
|
48899
|
-
var Ue = Ge.quill.selection.getRange(),
|
|
48854
|
+
var Ue = Ge.quill.selection.getRange(), Be = oe(Ue, 1), Qe = Be[0];
|
|
48900
48855
|
if (Ge.handlers[Ye] != null)
|
|
48901
48856
|
Ge.handlers[Ye].call(Ge, Ze);
|
|
48902
48857
|
else if (he.default.query(Ye).prototype instanceof he.default.Embed) {
|
|
@@ -48928,8 +48883,8 @@ function requireQuill() {
|
|
|
48928
48883
|
} else if (We == null)
|
|
48929
48884
|
Ze.classList.remove("ql-active");
|
|
48930
48885
|
else if (Ze.hasAttribute("value")) {
|
|
48931
|
-
var
|
|
48932
|
-
Ze.classList.toggle("ql-active",
|
|
48886
|
+
var Be = Ge[Je] === Ze.getAttribute("value") || Ge[Je] != null && Ge[Je].toString() === Ze.getAttribute("value") || Ge[Je] == null && !Ze.getAttribute("value");
|
|
48887
|
+
Ze.classList.toggle("ql-active", Be);
|
|
48933
48888
|
} else
|
|
48934
48889
|
Ze.classList.toggle("ql-active", Ge[Je] != null);
|
|
48935
48890
|
});
|
|
@@ -49346,7 +49301,7 @@ function requireQuill() {
|
|
|
49346
49301
|
Object.defineProperty(te, "__esModule", {
|
|
49347
49302
|
value: !0
|
|
49348
49303
|
});
|
|
49349
|
-
var oe = re(29), ne = $t(oe), de = re(37), ce = re(39), ue = re(65), he = re(66), pe = $t(he), fe = re(67), be = $t(fe), me = re(68), ge = $t(me), ve = re(38), _e = re(26), we = re(40), Se = re(41), ye = re(57), Ce = $t(ye), Le = re(69), De = $t(Le), Fe = re(27), He = $t(Fe), Ie = re(70), Ae = $t(Ie), qe = re(71), Pe = $t(qe), ze = re(72), We = $t(ze), Ge = re(73), Ye = $t(Ge), ft = re(74), Je = $t(ft), Ze = re(13), Me = $t(Ze), Ue = re(75),
|
|
49304
|
+
var oe = re(29), ne = $t(oe), de = re(37), ce = re(39), ue = re(65), he = re(66), pe = $t(he), fe = re(67), be = $t(fe), me = re(68), ge = $t(me), ve = re(38), _e = re(26), we = re(40), Se = re(41), ye = re(57), Ce = $t(ye), Le = re(69), De = $t(Le), Fe = re(27), He = $t(Fe), Ie = re(70), Ae = $t(Ie), qe = re(71), Pe = $t(qe), ze = re(72), We = $t(ze), Ge = re(73), Ye = $t(Ge), ft = re(74), Je = $t(ft), Ze = re(13), Me = $t(Ze), Ue = re(75), Be = $t(Ue), Qe = re(76), Xe = $t(Qe), Ve = re(58), Ke = $t(Ve), rt = re(42), ot = $t(rt), _t = re(28), kt = $t(_t), It = re(60), qt = $t(It), Nt = re(61), Vt = $t(Nt), rs = re(62), Kt = $t(rs), gt = re(109), mt = $t(gt), xt = re(63), Ct = $t(xt);
|
|
49350
49305
|
function $t(Mt) {
|
|
49351
49306
|
return Mt && Mt.__esModule ? Mt : { default: Mt };
|
|
49352
49307
|
}
|
|
@@ -49386,14 +49341,14 @@ function requireQuill() {
|
|
|
49386
49341
|
"formats/image": Ye.default,
|
|
49387
49342
|
"formats/video": Je.default,
|
|
49388
49343
|
"formats/list/item": me.ListItem,
|
|
49389
|
-
"modules/formula":
|
|
49344
|
+
"modules/formula": Be.default,
|
|
49390
49345
|
"modules/syntax": Xe.default,
|
|
49391
49346
|
"modules/toolbar": Ke.default,
|
|
49392
49347
|
"themes/bubble": mt.default,
|
|
49393
49348
|
"themes/snow": Ct.default,
|
|
49394
49349
|
"ui/icons": ot.default,
|
|
49395
49350
|
"ui/picker": kt.default,
|
|
49396
|
-
"ui/icon-picker":
|
|
49351
|
+
"ui/icon-picker": Vt.default,
|
|
49397
49352
|
"ui/color-picker": qt.default,
|
|
49398
49353
|
"ui/tooltip": Kt.default
|
|
49399
49354
|
}, !0), te.default = ne.default;
|
|
@@ -50858,11 +50813,14 @@ const useSharedUI = () => {
|
|
|
50858
50813
|
});
|
|
50859
50814
|
}, getPatientCip = async (J) => await J.broker.send("get_patient_cip"), navigateToEcap = async (J, W = "NO_TANCAR", X = {}, te = !0) => {
|
|
50860
50815
|
const re = { ...X };
|
|
50861
|
-
|
|
50862
|
-
|
|
50863
|
-
|
|
50816
|
+
try {
|
|
50817
|
+
if (te) {
|
|
50818
|
+
const oe = await getPatientCip(shellApi);
|
|
50819
|
+
re.CIP = oe, shellApi.ecapEventManager.publish(J, W, re);
|
|
50820
|
+
}
|
|
50821
|
+
} catch (oe) {
|
|
50822
|
+
console.error(oe);
|
|
50864
50823
|
}
|
|
50865
|
-
shellApi.ecapEventManager.publish(J, W, re);
|
|
50866
50824
|
}, template$1 = (J) => ke$1`
|
|
50867
50825
|
<dss-action-menu-item @click=${J.callbackFn} notificationsstate="error" rightIcon=${J.icon} label=${J.label}></dss-action-menu-item>
|
|
50868
50826
|
`;
|
|
@@ -51593,25 +51551,26 @@ export {
|
|
|
51593
51551
|
PrimariaNavItem as c,
|
|
51594
51552
|
PrimariaRegion as d,
|
|
51595
51553
|
createEcapEventManager as e,
|
|
51596
|
-
|
|
51597
|
-
|
|
51554
|
+
ExitShell as f,
|
|
51555
|
+
initializeShell as g,
|
|
51598
51556
|
h$p as h,
|
|
51599
51557
|
i$R as i,
|
|
51600
|
-
|
|
51558
|
+
disposeShell as j,
|
|
51601
51559
|
ke$1 as k,
|
|
51602
|
-
|
|
51603
|
-
|
|
51604
|
-
|
|
51605
|
-
|
|
51606
|
-
|
|
51607
|
-
|
|
51560
|
+
raiseCloseEvent as l,
|
|
51561
|
+
raiseCustomCloseEvent as m,
|
|
51562
|
+
shellRegions as n,
|
|
51563
|
+
clinicalMonitoringRegions as o,
|
|
51564
|
+
activityHistoryRegions as p,
|
|
51565
|
+
bootstrapPlugins as q,
|
|
51608
51566
|
r$O as r,
|
|
51609
51567
|
s$L as s,
|
|
51610
51568
|
translate$1 as t,
|
|
51611
|
-
|
|
51612
|
-
|
|
51613
|
-
|
|
51614
|
-
|
|
51615
|
-
|
|
51616
|
-
|
|
51617
|
-
|
|
51569
|
+
handleStartupPlugin as u,
|
|
51570
|
+
disposePlugins as v,
|
|
51571
|
+
primariaApiFactory as w,
|
|
51572
|
+
PrimariaContentSwitcher as x,
|
|
51573
|
+
l as y,
|
|
51574
|
+
PrimariaInteractionService as z
|
|
51575
|
+
};
|
|
51576
|
+
//# sourceMappingURL=index-B_9ErUyY.js.map
|