@watermarkinsights/ripple 3.9.0-4 → 3.9.0-5
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/cjs/{global-f99769e5.js → global-5faea609.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-network-uploader.cjs.entry.js +46 -14
- package/dist/cjs/wm-uploader.cjs.entry.js +16 -16
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +46 -14
- package/dist/collection/components/wm-uploader/wm-uploader.js +17 -17
- package/dist/esm/{global-b5747ff9.js → global-8eb97f09.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-network-uploader.entry.js +46 -14
- package/dist/esm/wm-uploader.entry.js +16 -16
- package/dist/esm-es5/{global-b5747ff9.js → global-8eb97f09.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-network-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/ripple/{p-b19590a5.system.entry.js → p-3e80a569.system.entry.js} +1 -1
- package/dist/ripple/{p-c73fbf30.system.js → p-722fbb3c.system.js} +1 -1
- package/dist/ripple/{p-c941f0a0.system.entry.js → p-8647d034.system.entry.js} +1 -1
- package/dist/ripple/{p-1d7ac0aa.system.js → p-8943b3e4.system.js} +1 -1
- package/dist/ripple/p-90dd1cc5.entry.js +1 -0
- package/dist/ripple/p-98c0e6a6.entry.js +1 -0
- package/dist/ripple/{p-9e60ebeb.js → p-cbdefe19.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +2 -2
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +1 -2
- package/package.json +1 -1
- package/dist/ripple/p-3460af10.entry.js +0 -1
- package/dist/ripple/p-734ff50f.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
package/dist/cjs/ripple.cjs.js
CHANGED
|
@@ -135,7 +135,7 @@ let NetworkUploader = class {
|
|
|
135
135
|
isEmpty() {
|
|
136
136
|
return !this.fileList.length && !this.inProgressList.length && !this.errorList.length;
|
|
137
137
|
}
|
|
138
|
-
isDisabled() {
|
|
138
|
+
get isDisabled() {
|
|
139
139
|
const isMax = !!this.maxFiles && this.fileList.length >= this.maxFiles;
|
|
140
140
|
if (!this.notif) {
|
|
141
141
|
if (isMax) {
|
|
@@ -355,21 +355,53 @@ let NetworkUploader = class {
|
|
|
355
355
|
}
|
|
356
356
|
componentDidLoad() {
|
|
357
357
|
this.getExistingFiles();
|
|
358
|
-
// awkward way to handle Edge bug where file input dialog doesn't open on Enter key
|
|
359
|
-
// first, detect polyfill by checking the class name that it adds to the component
|
|
360
|
-
// (it's important NOT to execute the code below in normal browsers as it would open the dialog twice)
|
|
361
|
-
this.el.classList.contains("sc-wm-uploader-h") &&
|
|
362
|
-
// then add an even listener to force a click event when Enter key is pressed
|
|
363
|
-
this.inputEl &&
|
|
364
|
-
this.inputEl.addEventListener("keydown", (ev) => {
|
|
365
|
-
if (this.inputEl && ev.key === "Enter") {
|
|
366
|
-
this.inputEl.click();
|
|
367
|
-
}
|
|
368
|
-
});
|
|
369
358
|
if (document.body.classList.contains("wmcl-user-is-tabbing")) {
|
|
370
359
|
this.toggleTabbingOn();
|
|
371
360
|
}
|
|
372
361
|
}
|
|
362
|
+
uploadButtonOnClick(ev) {
|
|
363
|
+
if (this.isDisabled) {
|
|
364
|
+
// this is a temporary fix.
|
|
365
|
+
// we need the disabled button to be programmatically focusable
|
|
366
|
+
// to allow return focus after closing the browser file panel
|
|
367
|
+
// since it's focusable the button should respond when activated
|
|
368
|
+
// it looks disabled, and announces the reason why the action cannot
|
|
369
|
+
// be taken when activated.
|
|
370
|
+
// this is not pretty duplicating a intl message + the logic of isDisabled,
|
|
371
|
+
// but not worth a bigger refactor since this is only until we get the UX for disabled elements and refactor all interactive els.
|
|
372
|
+
ev.preventDefault();
|
|
373
|
+
if (this.liveRegion) {
|
|
374
|
+
const isMax = !!this.maxFiles && this.fileList.length >= this.maxFiles;
|
|
375
|
+
let errMsg = "";
|
|
376
|
+
if (this.numFilesInProgress > 0) {
|
|
377
|
+
errMsg = functions.intl.formatMessage({
|
|
378
|
+
id: "uploader.waitToUpload",
|
|
379
|
+
defaultMessage: "Please wait for current upload to complete before uploading new files.",
|
|
380
|
+
description: "Message for screen reader users",
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
else if (isMax) {
|
|
384
|
+
errMsg = functions.intl.formatMessage({
|
|
385
|
+
id: "uploader.fileUploadLimit",
|
|
386
|
+
defaultMessage: "You have reached the file upload limit.",
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
if (errMsg) {
|
|
390
|
+
// clear and set again to re-announce if button is clicked several times
|
|
391
|
+
// (can't be done inside setTimeout because of scope, hence the promise)
|
|
392
|
+
this.liveRegion.innerHTML = "";
|
|
393
|
+
new Promise((resolve) => {
|
|
394
|
+
setTimeout(() => {
|
|
395
|
+
resolve("");
|
|
396
|
+
}, 500);
|
|
397
|
+
}).then(() => (this.liveRegion.innerHTML = errMsg));
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
else {
|
|
402
|
+
this.clearErrors();
|
|
403
|
+
}
|
|
404
|
+
}
|
|
373
405
|
renderUploadSvg() {
|
|
374
406
|
return (index.h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" }, index.h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
375
407
|
}
|
|
@@ -382,10 +414,10 @@ let NetworkUploader = class {
|
|
|
382
414
|
return this.notif ? index.h("span", { class: "notif" }, this.notif.message) : "";
|
|
383
415
|
}
|
|
384
416
|
renderUploadButton(classes) {
|
|
385
|
-
return (index.h("div", { class: "notif-wrapper" }, index.h("input", {
|
|
417
|
+
return (index.h("div", { class: "notif-wrapper" }, index.h("input", { name: this.inputId, id: this.inputId, class: "sr-only", type: "file", multiple: true, onClick: (ev) => this.uploadButtonOnClick(ev), onChange: (e) => this.handleFiles(e) }), index.h("label", { htmlFor: this.inputId, class: `wm-button ${classes}${this.isTabbing ? " user-is-tabbing" : ""}` }, this.renderIcon(), this.buttonText), this.renderNotif()));
|
|
386
418
|
}
|
|
387
419
|
renderWithItems() {
|
|
388
|
-
return (index.h("div", null, index.h("div", { class: "header" }, index.h("div", { class: "descr" }, index.h("slot", null)), this.renderUploadButton(this.isDisabled
|
|
420
|
+
return (index.h("div", null, index.h("div", { class: "header" }, index.h("div", { class: "descr" }, index.h("slot", null)), this.renderUploadButton(this.isDisabled ? "disabled" : "")), this.renderErrorList(), this.renderInProgressList(), this.renderFileList()));
|
|
389
421
|
}
|
|
390
422
|
renderEmptyState() {
|
|
391
423
|
return (index.h("div", null, index.h("div", { class: "header" }, index.h("div", { class: "descr" }, index.h("slot", null))), index.h("div", { class: "empty-block" }, this.renderUploadSvg(), index.h("div", { class: "empty-message" }, this.emptyStateText), this.renderUploadButton("-primary empty-button"))));
|
|
@@ -268,20 +268,6 @@ let Uploader = class {
|
|
|
268
268
|
this.toggleTabbingOn();
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
renderUploadSvg() {
|
|
272
|
-
return (index.h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" }, index.h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
273
|
-
}
|
|
274
|
-
renderIcon() {
|
|
275
|
-
// mdi attachment icon (paper clip) is horizontal but we want it vertical
|
|
276
|
-
const rotate = this.icon && this.icon === "f066";
|
|
277
|
-
return (this.icon && (index.h("span", { class: `mdi ${rotate ? "rotate" : ""}` }, String.fromCodePoint(parseInt(`0x${this.icon}`)))));
|
|
278
|
-
}
|
|
279
|
-
renderInfo() {
|
|
280
|
-
return this.info && this.tempUploaderType === "2" ? index.h("span", { class: "info" }, this.info) : "";
|
|
281
|
-
}
|
|
282
|
-
renderNotif() {
|
|
283
|
-
return this.notif ? index.h("div", { class: "notif" }, this.notif.message) : "";
|
|
284
|
-
}
|
|
285
271
|
uploadButtonOnClick(ev) {
|
|
286
272
|
if (this.isDisabled) {
|
|
287
273
|
// this is a temporary fix.
|
|
@@ -317,7 +303,7 @@ let Uploader = class {
|
|
|
317
303
|
setTimeout(() => {
|
|
318
304
|
resolve("");
|
|
319
305
|
}, 500);
|
|
320
|
-
}).then(() => this.liveRegion.innerHTML = errMsg);
|
|
306
|
+
}).then(() => (this.liveRegion.innerHTML = errMsg));
|
|
321
307
|
}
|
|
322
308
|
}
|
|
323
309
|
}
|
|
@@ -325,8 +311,22 @@ let Uploader = class {
|
|
|
325
311
|
this.clearErrors();
|
|
326
312
|
}
|
|
327
313
|
}
|
|
314
|
+
renderUploadSvg() {
|
|
315
|
+
return (index.h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" }, index.h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
316
|
+
}
|
|
317
|
+
renderIcon() {
|
|
318
|
+
// mdi attachment icon (paper clip) is horizontal but we want it vertical
|
|
319
|
+
const rotate = this.icon && this.icon === "f066";
|
|
320
|
+
return (this.icon && (index.h("span", { class: `mdi ${rotate ? "rotate" : ""}` }, String.fromCodePoint(parseInt(`0x${this.icon}`)))));
|
|
321
|
+
}
|
|
322
|
+
renderInfo() {
|
|
323
|
+
return this.info && this.tempUploaderType === "2" ? index.h("span", { class: "info" }, this.info) : "";
|
|
324
|
+
}
|
|
325
|
+
renderNotif() {
|
|
326
|
+
return this.notif ? index.h("div", { class: "notif" }, this.notif.message) : "";
|
|
327
|
+
}
|
|
328
328
|
renderUploadButton(classes) {
|
|
329
|
-
return (index.h("div", { class: "info-wrapper" }, index.h("input", {
|
|
329
|
+
return (index.h("div", { class: "info-wrapper" }, index.h("input", { name: this.inputId, id: this.inputId, class: "sr-only", type: "file", multiple: true, onClick: (ev) => this.uploadButtonOnClick(ev), onChange: (ev) => this.handleFiles(ev) }), index.h("label", { htmlFor: this.inputId, class: `wm-button ${classes}${this.isTabbing ? " user-is-tabbing" : ""}` }, this.renderIcon(), this.buttonText), this.renderInfo()));
|
|
330
330
|
}
|
|
331
331
|
renderEmptyState() {
|
|
332
332
|
return (index.h("div", { class: "empty-block" }, this.renderUploadSvg(), index.h("div", { class: `empty-message` }, this.emptyStateText), this.renderUploadButton("-primary empty-button"), this.renderNotif()));
|
|
@@ -127,7 +127,7 @@ export class NetworkUploader {
|
|
|
127
127
|
isEmpty() {
|
|
128
128
|
return !this.fileList.length && !this.inProgressList.length && !this.errorList.length;
|
|
129
129
|
}
|
|
130
|
-
isDisabled() {
|
|
130
|
+
get isDisabled() {
|
|
131
131
|
const isMax = !!this.maxFiles && this.fileList.length >= this.maxFiles;
|
|
132
132
|
if (!this.notif) {
|
|
133
133
|
if (isMax) {
|
|
@@ -347,21 +347,53 @@ export class NetworkUploader {
|
|
|
347
347
|
}
|
|
348
348
|
componentDidLoad() {
|
|
349
349
|
this.getExistingFiles();
|
|
350
|
-
// awkward way to handle Edge bug where file input dialog doesn't open on Enter key
|
|
351
|
-
// first, detect polyfill by checking the class name that it adds to the component
|
|
352
|
-
// (it's important NOT to execute the code below in normal browsers as it would open the dialog twice)
|
|
353
|
-
this.el.classList.contains("sc-wm-uploader-h") &&
|
|
354
|
-
// then add an even listener to force a click event when Enter key is pressed
|
|
355
|
-
this.inputEl &&
|
|
356
|
-
this.inputEl.addEventListener("keydown", (ev) => {
|
|
357
|
-
if (this.inputEl && ev.key === "Enter") {
|
|
358
|
-
this.inputEl.click();
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
350
|
if (document.body.classList.contains("wmcl-user-is-tabbing")) {
|
|
362
351
|
this.toggleTabbingOn();
|
|
363
352
|
}
|
|
364
353
|
}
|
|
354
|
+
uploadButtonOnClick(ev) {
|
|
355
|
+
if (this.isDisabled) {
|
|
356
|
+
// this is a temporary fix.
|
|
357
|
+
// we need the disabled button to be programmatically focusable
|
|
358
|
+
// to allow return focus after closing the browser file panel
|
|
359
|
+
// since it's focusable the button should respond when activated
|
|
360
|
+
// it looks disabled, and announces the reason why the action cannot
|
|
361
|
+
// be taken when activated.
|
|
362
|
+
// this is not pretty duplicating a intl message + the logic of isDisabled,
|
|
363
|
+
// but not worth a bigger refactor since this is only until we get the UX for disabled elements and refactor all interactive els.
|
|
364
|
+
ev.preventDefault();
|
|
365
|
+
if (this.liveRegion) {
|
|
366
|
+
const isMax = !!this.maxFiles && this.fileList.length >= this.maxFiles;
|
|
367
|
+
let errMsg = "";
|
|
368
|
+
if (this.numFilesInProgress > 0) {
|
|
369
|
+
errMsg = intl.formatMessage({
|
|
370
|
+
id: "uploader.waitToUpload",
|
|
371
|
+
defaultMessage: "Please wait for current upload to complete before uploading new files.",
|
|
372
|
+
description: "Message for screen reader users",
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
else if (isMax) {
|
|
376
|
+
errMsg = intl.formatMessage({
|
|
377
|
+
id: "uploader.fileUploadLimit",
|
|
378
|
+
defaultMessage: "You have reached the file upload limit.",
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
if (errMsg) {
|
|
382
|
+
// clear and set again to re-announce if button is clicked several times
|
|
383
|
+
// (can't be done inside setTimeout because of scope, hence the promise)
|
|
384
|
+
this.liveRegion.innerHTML = "";
|
|
385
|
+
new Promise((resolve) => {
|
|
386
|
+
setTimeout(() => {
|
|
387
|
+
resolve("");
|
|
388
|
+
}, 500);
|
|
389
|
+
}).then(() => (this.liveRegion.innerHTML = errMsg));
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
else {
|
|
394
|
+
this.clearErrors();
|
|
395
|
+
}
|
|
396
|
+
}
|
|
365
397
|
renderUploadSvg() {
|
|
366
398
|
return (h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" },
|
|
367
399
|
h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
@@ -376,7 +408,7 @@ export class NetworkUploader {
|
|
|
376
408
|
}
|
|
377
409
|
renderUploadButton(classes) {
|
|
378
410
|
return (h("div", { class: "notif-wrapper" },
|
|
379
|
-
h("input", {
|
|
411
|
+
h("input", { name: this.inputId, id: this.inputId, class: "sr-only", type: "file", multiple: true, onClick: (ev) => this.uploadButtonOnClick(ev), onChange: (e) => this.handleFiles(e) }),
|
|
380
412
|
h("label", { htmlFor: this.inputId, class: `wm-button ${classes}${this.isTabbing ? " user-is-tabbing" : ""}` },
|
|
381
413
|
this.renderIcon(),
|
|
382
414
|
this.buttonText),
|
|
@@ -387,7 +419,7 @@ export class NetworkUploader {
|
|
|
387
419
|
h("div", { class: "header" },
|
|
388
420
|
h("div", { class: "descr" },
|
|
389
421
|
h("slot", null)),
|
|
390
|
-
this.renderUploadButton(this.isDisabled
|
|
422
|
+
this.renderUploadButton(this.isDisabled ? "disabled" : "")),
|
|
391
423
|
this.renderErrorList(),
|
|
392
424
|
this.renderInProgressList(),
|
|
393
425
|
this.renderFileList()));
|
|
@@ -255,21 +255,6 @@ export class Uploader {
|
|
|
255
255
|
this.toggleTabbingOn();
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
-
renderUploadSvg() {
|
|
259
|
-
return (h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" },
|
|
260
|
-
h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
261
|
-
}
|
|
262
|
-
renderIcon() {
|
|
263
|
-
// mdi attachment icon (paper clip) is horizontal but we want it vertical
|
|
264
|
-
const rotate = this.icon && this.icon === "f066";
|
|
265
|
-
return (this.icon && (h("span", { class: `mdi ${rotate ? "rotate" : ""}` }, String.fromCodePoint(parseInt(`0x${this.icon}`)))));
|
|
266
|
-
}
|
|
267
|
-
renderInfo() {
|
|
268
|
-
return this.info && this.tempUploaderType === "2" ? h("span", { class: "info" }, this.info) : "";
|
|
269
|
-
}
|
|
270
|
-
renderNotif() {
|
|
271
|
-
return this.notif ? h("div", { class: "notif" }, this.notif.message) : "";
|
|
272
|
-
}
|
|
273
258
|
uploadButtonOnClick(ev) {
|
|
274
259
|
if (this.isDisabled) {
|
|
275
260
|
// this is a temporary fix.
|
|
@@ -305,7 +290,7 @@ export class Uploader {
|
|
|
305
290
|
setTimeout(() => {
|
|
306
291
|
resolve("");
|
|
307
292
|
}, 500);
|
|
308
|
-
}).then(() => this.liveRegion.innerHTML = errMsg);
|
|
293
|
+
}).then(() => (this.liveRegion.innerHTML = errMsg));
|
|
309
294
|
}
|
|
310
295
|
}
|
|
311
296
|
}
|
|
@@ -313,9 +298,24 @@ export class Uploader {
|
|
|
313
298
|
this.clearErrors();
|
|
314
299
|
}
|
|
315
300
|
}
|
|
301
|
+
renderUploadSvg() {
|
|
302
|
+
return (h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" },
|
|
303
|
+
h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
304
|
+
}
|
|
305
|
+
renderIcon() {
|
|
306
|
+
// mdi attachment icon (paper clip) is horizontal but we want it vertical
|
|
307
|
+
const rotate = this.icon && this.icon === "f066";
|
|
308
|
+
return (this.icon && (h("span", { class: `mdi ${rotate ? "rotate" : ""}` }, String.fromCodePoint(parseInt(`0x${this.icon}`)))));
|
|
309
|
+
}
|
|
310
|
+
renderInfo() {
|
|
311
|
+
return this.info && this.tempUploaderType === "2" ? h("span", { class: "info" }, this.info) : "";
|
|
312
|
+
}
|
|
313
|
+
renderNotif() {
|
|
314
|
+
return this.notif ? h("div", { class: "notif" }, this.notif.message) : "";
|
|
315
|
+
}
|
|
316
316
|
renderUploadButton(classes) {
|
|
317
317
|
return (h("div", { class: "info-wrapper" },
|
|
318
|
-
h("input", {
|
|
318
|
+
h("input", { name: this.inputId, id: this.inputId, class: "sr-only", type: "file", multiple: true, onClick: (ev) => this.uploadButtonOnClick(ev), onChange: (ev) => this.handleFiles(ev) }),
|
|
319
319
|
h("label", { htmlFor: this.inputId, class: `wm-button ${classes}${this.isTabbing ? " user-is-tabbing" : ""}` },
|
|
320
320
|
this.renderIcon(),
|
|
321
321
|
this.buttonText),
|
package/dist/esm/loader.js
CHANGED
package/dist/esm/ripple.js
CHANGED
|
@@ -131,7 +131,7 @@ let NetworkUploader = class {
|
|
|
131
131
|
isEmpty() {
|
|
132
132
|
return !this.fileList.length && !this.inProgressList.length && !this.errorList.length;
|
|
133
133
|
}
|
|
134
|
-
isDisabled() {
|
|
134
|
+
get isDisabled() {
|
|
135
135
|
const isMax = !!this.maxFiles && this.fileList.length >= this.maxFiles;
|
|
136
136
|
if (!this.notif) {
|
|
137
137
|
if (isMax) {
|
|
@@ -351,21 +351,53 @@ let NetworkUploader = class {
|
|
|
351
351
|
}
|
|
352
352
|
componentDidLoad() {
|
|
353
353
|
this.getExistingFiles();
|
|
354
|
-
// awkward way to handle Edge bug where file input dialog doesn't open on Enter key
|
|
355
|
-
// first, detect polyfill by checking the class name that it adds to the component
|
|
356
|
-
// (it's important NOT to execute the code below in normal browsers as it would open the dialog twice)
|
|
357
|
-
this.el.classList.contains("sc-wm-uploader-h") &&
|
|
358
|
-
// then add an even listener to force a click event when Enter key is pressed
|
|
359
|
-
this.inputEl &&
|
|
360
|
-
this.inputEl.addEventListener("keydown", (ev) => {
|
|
361
|
-
if (this.inputEl && ev.key === "Enter") {
|
|
362
|
-
this.inputEl.click();
|
|
363
|
-
}
|
|
364
|
-
});
|
|
365
354
|
if (document.body.classList.contains("wmcl-user-is-tabbing")) {
|
|
366
355
|
this.toggleTabbingOn();
|
|
367
356
|
}
|
|
368
357
|
}
|
|
358
|
+
uploadButtonOnClick(ev) {
|
|
359
|
+
if (this.isDisabled) {
|
|
360
|
+
// this is a temporary fix.
|
|
361
|
+
// we need the disabled button to be programmatically focusable
|
|
362
|
+
// to allow return focus after closing the browser file panel
|
|
363
|
+
// since it's focusable the button should respond when activated
|
|
364
|
+
// it looks disabled, and announces the reason why the action cannot
|
|
365
|
+
// be taken when activated.
|
|
366
|
+
// this is not pretty duplicating a intl message + the logic of isDisabled,
|
|
367
|
+
// but not worth a bigger refactor since this is only until we get the UX for disabled elements and refactor all interactive els.
|
|
368
|
+
ev.preventDefault();
|
|
369
|
+
if (this.liveRegion) {
|
|
370
|
+
const isMax = !!this.maxFiles && this.fileList.length >= this.maxFiles;
|
|
371
|
+
let errMsg = "";
|
|
372
|
+
if (this.numFilesInProgress > 0) {
|
|
373
|
+
errMsg = intl.formatMessage({
|
|
374
|
+
id: "uploader.waitToUpload",
|
|
375
|
+
defaultMessage: "Please wait for current upload to complete before uploading new files.",
|
|
376
|
+
description: "Message for screen reader users",
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
else if (isMax) {
|
|
380
|
+
errMsg = intl.formatMessage({
|
|
381
|
+
id: "uploader.fileUploadLimit",
|
|
382
|
+
defaultMessage: "You have reached the file upload limit.",
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
if (errMsg) {
|
|
386
|
+
// clear and set again to re-announce if button is clicked several times
|
|
387
|
+
// (can't be done inside setTimeout because of scope, hence the promise)
|
|
388
|
+
this.liveRegion.innerHTML = "";
|
|
389
|
+
new Promise((resolve) => {
|
|
390
|
+
setTimeout(() => {
|
|
391
|
+
resolve("");
|
|
392
|
+
}, 500);
|
|
393
|
+
}).then(() => (this.liveRegion.innerHTML = errMsg));
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
else {
|
|
398
|
+
this.clearErrors();
|
|
399
|
+
}
|
|
400
|
+
}
|
|
369
401
|
renderUploadSvg() {
|
|
370
402
|
return (h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" }, h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
371
403
|
}
|
|
@@ -378,10 +410,10 @@ let NetworkUploader = class {
|
|
|
378
410
|
return this.notif ? h("span", { class: "notif" }, this.notif.message) : "";
|
|
379
411
|
}
|
|
380
412
|
renderUploadButton(classes) {
|
|
381
|
-
return (h("div", { class: "notif-wrapper" }, h("input", {
|
|
413
|
+
return (h("div", { class: "notif-wrapper" }, h("input", { name: this.inputId, id: this.inputId, class: "sr-only", type: "file", multiple: true, onClick: (ev) => this.uploadButtonOnClick(ev), onChange: (e) => this.handleFiles(e) }), h("label", { htmlFor: this.inputId, class: `wm-button ${classes}${this.isTabbing ? " user-is-tabbing" : ""}` }, this.renderIcon(), this.buttonText), this.renderNotif()));
|
|
382
414
|
}
|
|
383
415
|
renderWithItems() {
|
|
384
|
-
return (h("div", null, h("div", { class: "header" }, h("div", { class: "descr" }, h("slot", null)), this.renderUploadButton(this.isDisabled
|
|
416
|
+
return (h("div", null, h("div", { class: "header" }, h("div", { class: "descr" }, h("slot", null)), this.renderUploadButton(this.isDisabled ? "disabled" : "")), this.renderErrorList(), this.renderInProgressList(), this.renderFileList()));
|
|
385
417
|
}
|
|
386
418
|
renderEmptyState() {
|
|
387
419
|
return (h("div", null, h("div", { class: "header" }, h("div", { class: "descr" }, h("slot", null))), h("div", { class: "empty-block" }, this.renderUploadSvg(), h("div", { class: "empty-message" }, this.emptyStateText), this.renderUploadButton("-primary empty-button"))));
|
|
@@ -264,20 +264,6 @@ let Uploader = class {
|
|
|
264
264
|
this.toggleTabbingOn();
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
renderUploadSvg() {
|
|
268
|
-
return (h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" }, h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
269
|
-
}
|
|
270
|
-
renderIcon() {
|
|
271
|
-
// mdi attachment icon (paper clip) is horizontal but we want it vertical
|
|
272
|
-
const rotate = this.icon && this.icon === "f066";
|
|
273
|
-
return (this.icon && (h("span", { class: `mdi ${rotate ? "rotate" : ""}` }, String.fromCodePoint(parseInt(`0x${this.icon}`)))));
|
|
274
|
-
}
|
|
275
|
-
renderInfo() {
|
|
276
|
-
return this.info && this.tempUploaderType === "2" ? h("span", { class: "info" }, this.info) : "";
|
|
277
|
-
}
|
|
278
|
-
renderNotif() {
|
|
279
|
-
return this.notif ? h("div", { class: "notif" }, this.notif.message) : "";
|
|
280
|
-
}
|
|
281
267
|
uploadButtonOnClick(ev) {
|
|
282
268
|
if (this.isDisabled) {
|
|
283
269
|
// this is a temporary fix.
|
|
@@ -313,7 +299,7 @@ let Uploader = class {
|
|
|
313
299
|
setTimeout(() => {
|
|
314
300
|
resolve("");
|
|
315
301
|
}, 500);
|
|
316
|
-
}).then(() => this.liveRegion.innerHTML = errMsg);
|
|
302
|
+
}).then(() => (this.liveRegion.innerHTML = errMsg));
|
|
317
303
|
}
|
|
318
304
|
}
|
|
319
305
|
}
|
|
@@ -321,8 +307,22 @@ let Uploader = class {
|
|
|
321
307
|
this.clearErrors();
|
|
322
308
|
}
|
|
323
309
|
}
|
|
310
|
+
renderUploadSvg() {
|
|
311
|
+
return (h("svg", { class: "upload-file", width: "91", height: "84", viewBox: "0 0 91 84" }, h("path", { transform: "rotate(-180.000000) translate(-452, -255.5)", fill: "#eae8ec", d: "M361,249.681818 L361,197.318182 C361,194.118182 365.555061,191.5 371.122358,191.5 L391.316463,191.5 L391.286495,200.562515 L369.871211,200.600292 L369.885404,200.622146 L369.886423,246.655947 L443.657038,246.840767 L443.657038,200.622146 L421.683537,200.622146 L421.683537,191.5 L441.978865,191.5 C447.546162,191.5 452,194.118182 452,197.318182 L452,249.681818 C452,252.881818 447.546162,255.5 441.978865,255.5 L371.122358,255.5 C365.504449,255.5 361,252.881818 361,249.681818 Z M391.5,207 L406,221 L420.5,207 L409.625,207 L409.625,172 L402.375,172 L402.375,207 L391.5,207 Z" })));
|
|
312
|
+
}
|
|
313
|
+
renderIcon() {
|
|
314
|
+
// mdi attachment icon (paper clip) is horizontal but we want it vertical
|
|
315
|
+
const rotate = this.icon && this.icon === "f066";
|
|
316
|
+
return (this.icon && (h("span", { class: `mdi ${rotate ? "rotate" : ""}` }, String.fromCodePoint(parseInt(`0x${this.icon}`)))));
|
|
317
|
+
}
|
|
318
|
+
renderInfo() {
|
|
319
|
+
return this.info && this.tempUploaderType === "2" ? h("span", { class: "info" }, this.info) : "";
|
|
320
|
+
}
|
|
321
|
+
renderNotif() {
|
|
322
|
+
return this.notif ? h("div", { class: "notif" }, this.notif.message) : "";
|
|
323
|
+
}
|
|
324
324
|
renderUploadButton(classes) {
|
|
325
|
-
return (h("div", { class: "info-wrapper" }, h("input", {
|
|
325
|
+
return (h("div", { class: "info-wrapper" }, h("input", { name: this.inputId, id: this.inputId, class: "sr-only", type: "file", multiple: true, onClick: (ev) => this.uploadButtonOnClick(ev), onChange: (ev) => this.handleFiles(ev) }), h("label", { htmlFor: this.inputId, class: `wm-button ${classes}${this.isTabbing ? " user-is-tabbing" : ""}` }, this.renderIcon(), this.buttonText), this.renderInfo()));
|
|
326
326
|
}
|
|
327
327
|
renderEmptyState() {
|
|
328
328
|
return (h("div", { class: "empty-block" }, this.renderUploadSvg(), h("div", { class: `empty-message` }, this.emptyStateText), this.renderUploadButton("-primary empty-button"), this.renderNotif()));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var version="3.9.0-
|
|
1
|
+
var version="3.9.0-5";if(window.navigator.plugins.length>0){console.log("Ripple component library",version)}function wmComponentKeys(t){if(t.key=="Tab"){var o=new Event("wmUserIsTabbing");window.dispatchEvent(o);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(t.key=="ArrowLeft"||t.key=="ArrowUp"||t.key=="ArrowRight"||t.key=="ArrowDown"){var o=new Event("wmUserIsKeying");window.dispatchEvent(o);document.querySelector("body").classList.add("wmcl-user-is-keying")}}function wmComponentMouseDownOnce(){var t=new Event("wmUserIsNotTabbing");window.dispatchEvent(t);document.querySelector("body").classList.remove("wmcl-user-is-tabbing");document.querySelector("body").classList.remove("wmcl-user-is-keying")}window.addEventListener("keydown",wmComponentKeys);window.addEventListener("mousedown",wmComponentMouseDownOnce);var tooltipContainer=document.createElement("div");tooltipContainer.id="wm-tooltip-container";var tooltipEl=document.createElement("div");tooltipEl.id="wm-tooltip";tooltipEl.setAttribute("aria-hidden","true");tooltipEl.style.position="fixed";tooltipEl.style.overflow="hidden";tooltipEl.style.pointerEvents="none";tooltipEl.style.lineHeight="normal";tooltipEl.style.fontFamily="inherit";tooltipEl.style.fontSize="0.875rem";tooltipEl.style.textTransform="none";tooltipEl.style.fontWeight="normal";tooltipEl.style.background="black";tooltipEl.style.color="#fff";tooltipEl.style.zIndex="999999";tooltipEl.style.maxWidth="13.75rem";tooltipEl.style.marginRight="1.5rem";tooltipEl.style.padding="0.375rem";tooltipEl.style.transitionProperty="opacity";tooltipEl.style.transitionDelay="opacity";tooltipEl.style.opacity="0";tooltipContainer.appendChild(tooltipEl);var body=document.querySelector("body");body.appendChild(tooltipContainer);
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-7603f98e.js";import"./global-b5747ff9.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy(JSON.parse('[["wm-tab-item_3",[[1,"wm-tab-list",{"customBackground":[1,"custom-background"],"customPadding":[1,"custom-padding"],"selectedTab":[1,"selected-tab"],"controllerEnabled":[4,"controller-enabled"]},[[0,"tabItemLoaded","tabItemLoaded"],[0,"wmTabSelected","handleTabSelected"],[0,"keydownOnTabItem","handleKeydown"],[9,"resize","setLayout"]]],[1,"wm-tab-item",{"selected":[4],"show":[4],"tabId":[1,"tab-id"]},[[4,"keydown","toggleTabbingOn"],[4,"click","toggleTabbingOff"]]],[0,"wm-tab-panel",{"active":[1028],"tabId":[1025,"tab-id"]},[[4,"keydown","toggleTabbingOn"],[4,"click","toggleTabbingOff"]]]]],["wm-navigator",[[1,"wm-navigator",{"userName":[1,"user-name"],"email":[1],"authType":[2,"auth-type"],"connectionName":[1,"connection-name"],"logoutUrl":[1,"logout-url"],"products":[1],"loadFromUserinfo":[4,"load-from-userinfo"],"isOpen":[32],"isTabbing":[32],"itemIndexToFocus":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeys"],[0,"keydownOnNavItem","handleKeydown"],[4,"click","handleClick"],[0,"buttonActivated","handleButtonClick"]]]]],["wm-network-uploader",[[1,"wm-network-uploader",{"getPath":[1,"get-path"],"requestUploadPath":[1,"request-upload-path"],"uploadPath":[1,"upload-path"],"requestDownloadPath":[1,"request-download-path"],"deletePath":[1,"delete-path"],"associatedData":[1,"associated-data"],"buttonText":[1,"button-text"],"emptyStateText":[1,"empty-state-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1026,"max-size"],"maxFiles":[2,"max-files"],"sortBy":[1,"sort-by"],"isTabbing":[32],"fileList":[32],"inProgressList":[32],"errorList":[32],"notif":[32],"snackbar":[32],"numFilesInProgress":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmUploadProgress","handleUploadProgress"],[0,"userFinishedSnack","handleFinishedSnack"]]]]],["wm-navigation_3",[[1,"wm-navigation",{"open":[1540],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","closeOnEscape"],[9,"resize","handleWindowResize"],[8,"wmNavigationHamburgerClicked","handleHamburgerClicked"],[0,"wmNavigationItemClicked","handleClickOnItem"]]],[1,"wm-navigation-hamburger",{"navId":[1,"nav-id"],"tooltipVisible":[1028,"tooltip-visible"],"isTabbing":[32],"open":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"wmNavigationStateChanged","handleNavigationStateChanged"]]],[1,"wm-navigation-item",{"href":[1],"text":[1],"active":[4],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]]]]],["wm-action-menu_2",[[1,"wm-action-menu",{"tooltipPosition":[1,"tooltip-position"],"actionMenuType":[1,"action-menu-type"],"buttonType":[1,"button-type"],"buttonText":[1,"button-text"],"disabled":[516],"tooltip":[1],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"isExpanded":[32]},[[0,"wmMenuitemClicked","handleClickedItem"],[0,"wmKeyUpPressed","handleKeyUp"],[0,"wmKeyDownPressed","handleKeyDown"],[0,"wmHomeKeyPressed","handleHomeKey"],[0,"wmEndKeyPressed","handleEndKey"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","handleEscKey"],[4,"click","handleClick"],[0,"keydown","handleKey"],[0,"wmMenuitemBlurred","handleMenuitemBlur"],[0,"wmLetterPressed","findAndFocusItem"]]],[1,"wm-menuitem",{"disabled":[4],"focused":[4],"icon":[1025],"description":[1],"isKeying":[32]},[[8,"wmUserIsKeying","toggleKeyingOn"],[8,"wmUserIsTabbing","toggleKeyingOn"],[8,"wmUserIsNotKeying","toggleKeyingOff"],[8,"wmUserIsNotTabbing","toggleKeyingOff"],[0,"keydown","handleKeydown"],[0,"click","handleClick"],[0,"blur","handleBlur"]]]]],["wm-chart",[[1,"wm-chart",{"chartType":[1,"chart-type"],"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"valueFormat":[1,"value-format"],"showValues":[1,"show-values"],"showLegend":[4,"show-legend"],"notStartedColor":[4,"not-started-color"],"labelPosition":[1,"label-position"],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[9,"resize","handleResize"],[0,"wmChartSliceUpdated","handleSliceUpdate"]]]]],["wm-datepicker",[[1,"wm-datepicker",{"value":[1025],"disabled":[4],"dateFormat":[1025,"date-format"],"errorMessage":[513,"error-message"],"labelPosition":[1025,"label-position"],"label":[1025],"requiredField":[4,"required-field"],"preventValidation":[1,"prevent-validation"],"displayError":[32]},[[0,"keydown","handleTabbingOn"],[0,"click","handleTabbingOff"],[0,"popupBlurred","handlePopupBlurred"],[0,"cellTriggered","handleCellTriggered"]]]]],["wm-modal-footer",[[0,"wm-modal-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]},[[4,"focusLastElement","focusLastEl"]]]]],["wm-modal-header",[[0,"wm-modal-header",{"heading":[1],"subheading":[1]},[[4,"focusFirstElement","focusFirstEl"]]]]],["wm-progress-indicator",[[1,"wm-progress-indicator",{"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"showLegend":[4,"show-legend"],"isTabbing":[32],"mode":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmProgressSliceUpdated","handleSliceUpdate"]]]]],["wm-search",[[1,"wm-search",{"searchType":[1025,"search-type"],"disabled":[516],"placeholder":[1],"label":[1],"numResults":[1026,"num-results"],"value":[1537],"highlightedId":[1,"highlighted-id"],"highlightedName":[1,"highlighted-name"],"isTabbing":[32],"highlightedNum":[32],"previousBlurredValue":[32],"parentModal":[32],"updateValue":[64]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]]]]],["wm-uploader",[[1,"wm-uploader",{"uploaderType":[1025,"uploader-type"],"type":[1],"buttonText":[1,"button-text"],"info":[1],"emptyStateText":[1,"empty-state-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1026,"max-size"],"maxFiles":[2,"max-files"],"sortBy":[1,"sort-by"],"files":[1],"filesToUpload":[16],"rejectedFiles":[1,"rejected-files"],"isTabbing":[32],"errorList":[32],"notif":[32],"numFilesInProgress":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmUploadProgress","handleUploadProgress"]]]]],["wm-chart-slice",[[0,"wm-chart-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-input",[[1,"wm-input",{"label":[1],"labelPosition":[1,"label-position"],"value":[1537],"disabled":[516],"info":[1],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"preventValidation":[1,"prevent-validation"],"type":[1],"step":[2],"min":[2],"max":[2],"announcement":[32],"displayedErrorMessage":[32]}]]],["wm-modal",[[0,"wm-modal",{"open":[1540],"isOpen":[1540,"is-open"],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"isTypeDialog":[516,"is-type-dialog"],"uid":[1537],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},[[0,"click","handleClick"],[0,"keydown","closeModalOnEscape"]]]]],["wm-pagination",[[1,"wm-pagination",{"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"value":[2],"isLargeViewport":[4,"is-large-viewport"],"isTabbing":[32],"srAnnouncement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[9,"resize","handleResize"]]]]],["wm-progress-monitor",[[1,"wm-progress-monitor",{"breakpoint":[8]}]]],["wm-progress-slice",[[1,"wm-progress-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-tag-input",[[1,"wm-tag-input",{"label":[1],"labelPosition":[1,"label-position"],"options":[1025],"selectedTags":[1537,"selected-tags"],"info":[1],"addNew":[4,"add-new"],"placeholder":[1025],"characterLimit":[2,"character-limit"],"maxTags":[2,"max-tags"],"focusedListItem":[32],"focusedTag":[32],"isExpanded":[32],"tagsList":[32],"optionsList":[32],"charCount":[32],"liveRegionMessage":[32]},[[4,"click","closeIfNotElOrChild"],[9,"resize","handleResize"]]]]],["wm-timepicker",[[1,"wm-timepicker",{"disabled":[4],"value":[1537],"errorMessage":[1,"error-message"],"label":[1],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"preventValidation":[1,"prevent-validation"],"selectedOption":[32],"isExpanded":[32],"isTabbing":[32],"displayedErrorMessage":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKey"]]]]],["wm-toggletip",[[1,"wm-toggletip",{"label":[1],"tooltip":[1025],"tooltipText":[1,"tooltip-text"],"tooltipPosition":[1537,"tooltip-position"],"isOpen":[32],"isTabbing":[32]},[[0,"keydown","handleKeydown"],[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"click","handleClick"]]]]],["wm-wrapper",[[0,"wm-wrapper"]]],["priv-datepicker",[[0,"priv-datepicker",{"disabled":[4],"isExpanded":[1540,"is-expanded"],"view":[1537],"date":[1040],"selectedYear":[1026,"selected-year"],"selectedMonth":[1026,"selected-month"],"selectedDay":[1026,"selected-day"],"monthInFocus":[1026,"month-in-focus"],"yearInFocus":[1026,"year-in-focus"],"dayInFocus":[1026,"day-in-focus"],"parentId":[1537,"parent-id"],"monthNumInFocus":[32],"isTabbing":[32]},[[0,"keydown","handleKey"],[0,"keydown","toggleTabbingOn"],[9,"mousedown","toggleTabbingOff"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"]]]]],["priv-navigator-button",[[1,"priv-navigator-button",{"expanded":[1028],"altText":[1,"alt-text"],"isTabbing":[1028,"is-tabbing"]}]]],["priv-navigator-item",[[1,"priv-navigator-item",{"selected":[1028],"focused":[1028],"link":[1025]},[[0,"keydown","handleKeyDown"]]]]],["wm-snackbar",[[1,"wm-snackbar",{"notifications":[1537]},[[4,"keydown","checkForTabbing"],[5,"mouseover","handleMouse"]]]]],["wm-option_2",[[1,"wm-option",{"value":[1],"subinfo":[1025],"disabled":[516],"selected":[516],"focused":[4]},[[0,"keydown","handleKeydown"],[0,"click","handleSelection"],[0,"blur","handleBlur"]]],[1,"wm-select",{"disabled":[516],"invalid":[1028],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"placeholder":[1],"allSelectedMessage":[1,"all-selected-message"],"isTabbing":[32],"isExpanded":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmKeyUpPressed","handleChildUp"],[0,"wmKeyDownPressed","handleChildDown"],[0,"wmHomeKeyPressed","moveToFirstItem"],[0,"wmEndKeyPressed","moveToLastItem"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"wmOptionBlurred","handleOptionBlur"],[6,"click","handleClick"],[0,"keydown","handleKey"],[0,"wmLetterPressed","findAndFocusItem"]]]]],["priv-chart-popover",[[0,"priv-chart-popover",{"sliceRef":[16],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"buttonText":[1,"button-text"],"open":[1028],"coords":[16]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]]]]],["wm-button",[[1,"wm-button",{"disabled":[516],"buttonType":[1025,"button-type"],"buttonStyle":[1025,"button-style"],"icon":[1537],"iconSize":[1,"icon-size"],"tooltip":[1537],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"tooltipPosition":[1,"tooltip-position"],"permanentlyDelete":[4,"permanently-delete"],"textWrap":[4,"text-wrap"],"customBackground":[1,"custom-background"],"tooltipVisible":[1028,"tooltip-visible"],"adjustedTooltipPosition":[32],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[9,"scroll","handleScroll"],[0,"keydown","handleKeydown"]]]]]]'),t)}))};export{defineCustomElements};
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-7603f98e.js";import"./global-8eb97f09.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy(JSON.parse('[["wm-tab-item_3",[[1,"wm-tab-list",{"customBackground":[1,"custom-background"],"customPadding":[1,"custom-padding"],"selectedTab":[1,"selected-tab"],"controllerEnabled":[4,"controller-enabled"]},[[0,"tabItemLoaded","tabItemLoaded"],[0,"wmTabSelected","handleTabSelected"],[0,"keydownOnTabItem","handleKeydown"],[9,"resize","setLayout"]]],[1,"wm-tab-item",{"selected":[4],"show":[4],"tabId":[1,"tab-id"]},[[4,"keydown","toggleTabbingOn"],[4,"click","toggleTabbingOff"]]],[0,"wm-tab-panel",{"active":[1028],"tabId":[1025,"tab-id"]},[[4,"keydown","toggleTabbingOn"],[4,"click","toggleTabbingOff"]]]]],["wm-navigator",[[1,"wm-navigator",{"userName":[1,"user-name"],"email":[1],"authType":[2,"auth-type"],"connectionName":[1,"connection-name"],"logoutUrl":[1,"logout-url"],"products":[1],"loadFromUserinfo":[4,"load-from-userinfo"],"isOpen":[32],"isTabbing":[32],"itemIndexToFocus":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeys"],[0,"keydownOnNavItem","handleKeydown"],[4,"click","handleClick"],[0,"buttonActivated","handleButtonClick"]]]]],["wm-network-uploader",[[1,"wm-network-uploader",{"getPath":[1,"get-path"],"requestUploadPath":[1,"request-upload-path"],"uploadPath":[1,"upload-path"],"requestDownloadPath":[1,"request-download-path"],"deletePath":[1,"delete-path"],"associatedData":[1,"associated-data"],"buttonText":[1,"button-text"],"emptyStateText":[1,"empty-state-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1026,"max-size"],"maxFiles":[2,"max-files"],"sortBy":[1,"sort-by"],"isTabbing":[32],"fileList":[32],"inProgressList":[32],"errorList":[32],"notif":[32],"snackbar":[32],"numFilesInProgress":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmUploadProgress","handleUploadProgress"],[0,"userFinishedSnack","handleFinishedSnack"]]]]],["wm-navigation_3",[[1,"wm-navigation",{"open":[1540],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","closeOnEscape"],[9,"resize","handleWindowResize"],[8,"wmNavigationHamburgerClicked","handleHamburgerClicked"],[0,"wmNavigationItemClicked","handleClickOnItem"]]],[1,"wm-navigation-hamburger",{"navId":[1,"nav-id"],"tooltipVisible":[1028,"tooltip-visible"],"isTabbing":[32],"open":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"wmNavigationStateChanged","handleNavigationStateChanged"]]],[1,"wm-navigation-item",{"href":[1],"text":[1],"active":[4],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]]]]],["wm-action-menu_2",[[1,"wm-action-menu",{"tooltipPosition":[1,"tooltip-position"],"actionMenuType":[1,"action-menu-type"],"buttonType":[1,"button-type"],"buttonText":[1,"button-text"],"disabled":[516],"tooltip":[1],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"isExpanded":[32]},[[0,"wmMenuitemClicked","handleClickedItem"],[0,"wmKeyUpPressed","handleKeyUp"],[0,"wmKeyDownPressed","handleKeyDown"],[0,"wmHomeKeyPressed","handleHomeKey"],[0,"wmEndKeyPressed","handleEndKey"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","handleEscKey"],[4,"click","handleClick"],[0,"keydown","handleKey"],[0,"wmMenuitemBlurred","handleMenuitemBlur"],[0,"wmLetterPressed","findAndFocusItem"]]],[1,"wm-menuitem",{"disabled":[4],"focused":[4],"icon":[1025],"description":[1],"isKeying":[32]},[[8,"wmUserIsKeying","toggleKeyingOn"],[8,"wmUserIsTabbing","toggleKeyingOn"],[8,"wmUserIsNotKeying","toggleKeyingOff"],[8,"wmUserIsNotTabbing","toggleKeyingOff"],[0,"keydown","handleKeydown"],[0,"click","handleClick"],[0,"blur","handleBlur"]]]]],["wm-chart",[[1,"wm-chart",{"chartType":[1,"chart-type"],"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"valueFormat":[1,"value-format"],"showValues":[1,"show-values"],"showLegend":[4,"show-legend"],"notStartedColor":[4,"not-started-color"],"labelPosition":[1,"label-position"],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[9,"resize","handleResize"],[0,"wmChartSliceUpdated","handleSliceUpdate"]]]]],["wm-datepicker",[[1,"wm-datepicker",{"value":[1025],"disabled":[4],"dateFormat":[1025,"date-format"],"errorMessage":[513,"error-message"],"labelPosition":[1025,"label-position"],"label":[1025],"requiredField":[4,"required-field"],"preventValidation":[1,"prevent-validation"],"displayError":[32]},[[0,"keydown","handleTabbingOn"],[0,"click","handleTabbingOff"],[0,"popupBlurred","handlePopupBlurred"],[0,"cellTriggered","handleCellTriggered"]]]]],["wm-modal-footer",[[0,"wm-modal-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]},[[4,"focusLastElement","focusLastEl"]]]]],["wm-modal-header",[[0,"wm-modal-header",{"heading":[1],"subheading":[1]},[[4,"focusFirstElement","focusFirstEl"]]]]],["wm-progress-indicator",[[1,"wm-progress-indicator",{"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"showLegend":[4,"show-legend"],"isTabbing":[32],"mode":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmProgressSliceUpdated","handleSliceUpdate"]]]]],["wm-search",[[1,"wm-search",{"searchType":[1025,"search-type"],"disabled":[516],"placeholder":[1],"label":[1],"numResults":[1026,"num-results"],"value":[1537],"highlightedId":[1,"highlighted-id"],"highlightedName":[1,"highlighted-name"],"isTabbing":[32],"highlightedNum":[32],"previousBlurredValue":[32],"parentModal":[32],"updateValue":[64]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]]]]],["wm-uploader",[[1,"wm-uploader",{"uploaderType":[1025,"uploader-type"],"type":[1],"buttonText":[1,"button-text"],"info":[1],"emptyStateText":[1,"empty-state-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1026,"max-size"],"maxFiles":[2,"max-files"],"sortBy":[1,"sort-by"],"files":[1],"filesToUpload":[16],"rejectedFiles":[1,"rejected-files"],"isTabbing":[32],"errorList":[32],"notif":[32],"numFilesInProgress":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmUploadProgress","handleUploadProgress"]]]]],["wm-chart-slice",[[0,"wm-chart-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-input",[[1,"wm-input",{"label":[1],"labelPosition":[1,"label-position"],"value":[1537],"disabled":[516],"info":[1],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"preventValidation":[1,"prevent-validation"],"type":[1],"step":[2],"min":[2],"max":[2],"announcement":[32],"displayedErrorMessage":[32]}]]],["wm-modal",[[0,"wm-modal",{"open":[1540],"isOpen":[1540,"is-open"],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"isTypeDialog":[516,"is-type-dialog"],"uid":[1537],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},[[0,"click","handleClick"],[0,"keydown","closeModalOnEscape"]]]]],["wm-pagination",[[1,"wm-pagination",{"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"value":[2],"isLargeViewport":[4,"is-large-viewport"],"isTabbing":[32],"srAnnouncement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[9,"resize","handleResize"]]]]],["wm-progress-monitor",[[1,"wm-progress-monitor",{"breakpoint":[8]}]]],["wm-progress-slice",[[1,"wm-progress-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-tag-input",[[1,"wm-tag-input",{"label":[1],"labelPosition":[1,"label-position"],"options":[1025],"selectedTags":[1537,"selected-tags"],"info":[1],"addNew":[4,"add-new"],"placeholder":[1025],"characterLimit":[2,"character-limit"],"maxTags":[2,"max-tags"],"focusedListItem":[32],"focusedTag":[32],"isExpanded":[32],"tagsList":[32],"optionsList":[32],"charCount":[32],"liveRegionMessage":[32]},[[4,"click","closeIfNotElOrChild"],[9,"resize","handleResize"]]]]],["wm-timepicker",[[1,"wm-timepicker",{"disabled":[4],"value":[1537],"errorMessage":[1,"error-message"],"label":[1],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"preventValidation":[1,"prevent-validation"],"selectedOption":[32],"isExpanded":[32],"isTabbing":[32],"displayedErrorMessage":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKey"]]]]],["wm-toggletip",[[1,"wm-toggletip",{"label":[1],"tooltip":[1025],"tooltipText":[1,"tooltip-text"],"tooltipPosition":[1537,"tooltip-position"],"isOpen":[32],"isTabbing":[32]},[[0,"keydown","handleKeydown"],[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"click","handleClick"]]]]],["wm-wrapper",[[0,"wm-wrapper"]]],["priv-datepicker",[[0,"priv-datepicker",{"disabled":[4],"isExpanded":[1540,"is-expanded"],"view":[1537],"date":[1040],"selectedYear":[1026,"selected-year"],"selectedMonth":[1026,"selected-month"],"selectedDay":[1026,"selected-day"],"monthInFocus":[1026,"month-in-focus"],"yearInFocus":[1026,"year-in-focus"],"dayInFocus":[1026,"day-in-focus"],"parentId":[1537,"parent-id"],"monthNumInFocus":[32],"isTabbing":[32]},[[0,"keydown","handleKey"],[0,"keydown","toggleTabbingOn"],[9,"mousedown","toggleTabbingOff"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"]]]]],["priv-navigator-button",[[1,"priv-navigator-button",{"expanded":[1028],"altText":[1,"alt-text"],"isTabbing":[1028,"is-tabbing"]}]]],["priv-navigator-item",[[1,"priv-navigator-item",{"selected":[1028],"focused":[1028],"link":[1025]},[[0,"keydown","handleKeyDown"]]]]],["wm-snackbar",[[1,"wm-snackbar",{"notifications":[1537]},[[4,"keydown","checkForTabbing"],[5,"mouseover","handleMouse"]]]]],["wm-option_2",[[1,"wm-option",{"value":[1],"subinfo":[1025],"disabled":[516],"selected":[516],"focused":[4]},[[0,"keydown","handleKeydown"],[0,"click","handleSelection"],[0,"blur","handleBlur"]]],[1,"wm-select",{"disabled":[516],"invalid":[1028],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"placeholder":[1],"allSelectedMessage":[1,"all-selected-message"],"isTabbing":[32],"isExpanded":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmKeyUpPressed","handleChildUp"],[0,"wmKeyDownPressed","handleChildDown"],[0,"wmHomeKeyPressed","moveToFirstItem"],[0,"wmEndKeyPressed","moveToLastItem"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"wmOptionBlurred","handleOptionBlur"],[6,"click","handleClick"],[0,"keydown","handleKey"],[0,"wmLetterPressed","findAndFocusItem"]]]]],["priv-chart-popover",[[0,"priv-chart-popover",{"sliceRef":[16],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"buttonText":[1,"button-text"],"open":[1028],"coords":[16]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]]]]],["wm-button",[[1,"wm-button",{"disabled":[516],"buttonType":[1025,"button-type"],"buttonStyle":[1025,"button-style"],"icon":[1537],"iconSize":[1,"icon-size"],"tooltip":[1537],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"tooltipPosition":[1,"tooltip-position"],"permanentlyDelete":[4,"permanently-delete"],"textWrap":[4,"text-wrap"],"customBackground":[1,"custom-background"],"tooltipVisible":[1028,"tooltip-visible"],"adjustedTooltipPosition":[32],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[9,"scroll","handleScroll"],[0,"keydown","handleKeydown"]]]]]]'),t)}))};export{defineCustomElements};
|