@watermarkinsights/ripple 5.12.0-0 → 5.12.0-10
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/{app-globals-3cfb5688.js → app-globals-2dfea561.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-modal_3.cjs.entry.js +3 -3
- package/dist/cjs/wm-toggletip.cjs.entry.js +49 -10
- package/dist/collection/components/wm-modal/wm-modal-footer.css +9 -16
- package/dist/collection/components/wm-modal/wm-modal-header.css +1 -3
- package/dist/collection/components/wm-modal/wm-modal.css +19 -17
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +55 -10
- package/dist/collection/dev/modal.js +34 -31
- package/dist/collection/dev/toggletip.js +9 -0
- package/dist/esm/{app-globals-8867159c.js → app-globals-62cba688.js} +1 -1
- package/dist/esm/{chartFunctions-ef4089f9.js → chartFunctions-1478f4db.js} +1 -1
- package/dist/esm/{functions-a3c016ae.js → functions-f53b3537.js} +1 -1
- package/dist/esm/{intl-66ad4bcd.js → intl-6426ba51.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/priv-calendar.entry.js +1 -1
- package/dist/esm/priv-chart-popover.entry.js +1 -1
- package/dist/esm/priv-option-list.entry.js +1 -1
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-action-menu_2.entry.js +1 -1
- package/dist/esm/wm-button.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +3 -3
- package/dist/esm/wm-date-range.entry.js +1 -1
- package/dist/esm/wm-datepicker.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +1 -1
- package/dist/esm/wm-input.entry.js +2 -2
- package/dist/esm/wm-line-chart.entry.js +3 -3
- package/dist/esm/wm-modal-pss_3.entry.js +2 -2
- package/dist/esm/wm-modal_3.entry.js +5 -5
- package/dist/esm/wm-navigation_3.entry.js +2 -2
- package/dist/esm/wm-navigator.entry.js +1 -1
- package/dist/esm/wm-nested-select.entry.js +2 -2
- package/dist/esm/wm-optgroup.entry.js +1 -1
- package/dist/esm/wm-option_2.entry.js +2 -2
- package/dist/esm/wm-pagination.entry.js +1 -1
- package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +2 -2
- package/dist/esm/wm-snackbar.entry.js +2 -2
- package/dist/esm/wm-tab-item_3.entry.js +1 -1
- package/dist/esm/wm-tag-input.entry.js +2 -2
- package/dist/esm/wm-tag-option.entry.js +1 -1
- package/dist/esm/wm-textarea.entry.js +2 -2
- package/dist/esm/wm-timepicker.entry.js +1 -1
- package/dist/esm/wm-toggletip.entry.js +50 -11
- package/dist/esm/wm-uploader.entry.js +2 -2
- package/dist/esm-es5/app-globals-62cba688.js +1 -0
- package/dist/esm-es5/{chartFunctions-ef4089f9.js → chartFunctions-1478f4db.js} +1 -1
- package/dist/esm-es5/{functions-a3c016ae.js → functions-f53b3537.js} +1 -1
- package/dist/esm-es5/{intl-66ad4bcd.js → intl-6426ba51.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-option-list.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-tag-option.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/ripple/{p-ecd07575.system.js → p-003e95d5.system.js} +1 -1
- package/dist/ripple/{p-6be11c03.system.entry.js → p-02bd68af.system.entry.js} +1 -1
- package/dist/ripple/{p-e19ff8fc.system.entry.js → p-02e60a11.system.entry.js} +1 -1
- package/dist/ripple/p-03fafb82.entry.js +1 -0
- package/dist/ripple/{p-7649cbfe.system.entry.js → p-0d163672.system.entry.js} +1 -1
- package/dist/ripple/{p-79ad7be0.system.entry.js → p-1f174e18.system.entry.js} +1 -1
- package/dist/ripple/{p-ef91a9d6.system.entry.js → p-20b137a3.system.entry.js} +1 -1
- package/dist/ripple/{p-a538aa2b.system.entry.js → p-226217d3.system.entry.js} +1 -1
- package/dist/ripple/{p-c59f9246.system.entry.js → p-233f14ec.system.entry.js} +1 -1
- package/dist/ripple/{p-16ec9711.system.entry.js → p-243a7a17.system.entry.js} +1 -1
- package/dist/ripple/{p-a8f1f6ce.entry.js → p-263e42e0.entry.js} +1 -1
- package/dist/ripple/{p-6fafc1f1.system.entry.js → p-28f9e202.system.entry.js} +1 -1
- package/dist/ripple/{p-5429827a.entry.js → p-2c8153c1.entry.js} +1 -1
- package/dist/ripple/{p-a2171118.entry.js → p-368e9ee9.entry.js} +1 -1
- package/dist/ripple/{p-e13f558e.entry.js → p-3a2a3b70.entry.js} +1 -1
- package/dist/ripple/{p-5eaa2392.entry.js → p-3b5d106d.entry.js} +1 -1
- package/dist/ripple/p-3d1257fd.system.js +1 -0
- package/dist/ripple/{p-24b23624.entry.js → p-45b5d2d2.entry.js} +1 -1
- package/dist/ripple/{p-19c4e55f.system.entry.js → p-486b3b56.system.entry.js} +1 -1
- package/dist/ripple/{p-8a596bc9.entry.js → p-49e24926.entry.js} +1 -1
- package/dist/ripple/{p-f2578643.system.entry.js → p-4fbe205e.system.entry.js} +1 -1
- package/dist/ripple/{p-e9032dfc.entry.js → p-50294e3f.entry.js} +1 -1
- package/dist/ripple/{p-ba0614f5.system.entry.js → p-529f179c.system.entry.js} +1 -1
- package/dist/ripple/{p-0d18809d.system.entry.js → p-53400bc4.system.entry.js} +1 -1
- package/dist/ripple/{p-688f175a.entry.js → p-55f8aa05.entry.js} +1 -1
- package/dist/ripple/{p-1dd1ce52.entry.js → p-58734b13.entry.js} +1 -1
- package/dist/ripple/{p-1ec431e6.entry.js → p-6136d0d7.entry.js} +1 -1
- package/dist/ripple/{p-724c9ebf.entry.js → p-66141f19.entry.js} +1 -1
- package/dist/ripple/p-672e8364.system.entry.js +1 -0
- package/dist/ripple/{p-7fa67af6.entry.js → p-713ea307.entry.js} +1 -1
- package/dist/ripple/{p-dcf62788.system.entry.js → p-727175e1.system.entry.js} +1 -1
- package/dist/ripple/{p-1abd114f.entry.js → p-791513e7.entry.js} +1 -1
- package/dist/ripple/{p-28d6a7b4.system.entry.js → p-7959c4bd.system.entry.js} +1 -1
- package/dist/ripple/{p-78faed97.js → p-7a1bb29b.js} +1 -1
- package/dist/ripple/{p-1403e680.entry.js → p-81ac8d49.entry.js} +1 -1
- package/dist/ripple/{p-f9182339.system.entry.js → p-82819500.system.entry.js} +1 -1
- package/dist/ripple/{p-45a2ea03.system.entry.js → p-8634abad.system.entry.js} +1 -1
- package/dist/ripple/{p-7271dbdd.system.entry.js → p-864158de.system.entry.js} +1 -1
- package/dist/ripple/{p-5e5524a1.js → p-8c95493c.js} +1 -1
- package/dist/ripple/{p-7f8a93dc.entry.js → p-94dc80a0.entry.js} +1 -1
- package/dist/ripple/{p-7f2bd4c9.system.entry.js → p-94fbf6f6.system.entry.js} +1 -1
- package/dist/ripple/{p-1804d8dd.entry.js → p-9b739280.entry.js} +1 -1
- package/dist/ripple/{p-7c4757c8.system.entry.js → p-a0edf336.system.entry.js} +1 -1
- package/dist/ripple/{p-3a2b3dcd.system.js → p-a2544443.system.js} +1 -1
- package/dist/ripple/{p-ed9031a2.entry.js → p-a280d710.entry.js} +1 -1
- package/dist/ripple/{p-c2e95216.system.entry.js → p-a9a7731b.system.entry.js} +1 -1
- package/dist/ripple/{p-bd9fb348.system.entry.js → p-b16f07f1.system.entry.js} +1 -1
- package/dist/ripple/{p-03071693.js → p-c550716e.js} +1 -1
- package/dist/ripple/{p-a2b40881.entry.js → p-ccae5bec.entry.js} +1 -1
- package/dist/ripple/{p-df1c9682.entry.js → p-d530c703.entry.js} +1 -1
- package/dist/ripple/p-d6c3fc6e.js +1 -0
- package/dist/ripple/{p-93b1503a.entry.js → p-d96291e7.entry.js} +1 -1
- package/dist/ripple/{p-be92ae6c.entry.js → p-db27414a.entry.js} +1 -1
- package/dist/ripple/{p-89121330.system.entry.js → p-e2fbed8c.system.entry.js} +1 -1
- package/dist/ripple/{p-146bc712.system.entry.js → p-e6e36701.system.entry.js} +1 -1
- package/dist/ripple/{p-ddd6addd.entry.js → p-e8cfa832.entry.js} +1 -1
- package/dist/ripple/{p-f850a628.entry.js → p-e973024a.entry.js} +1 -1
- package/dist/ripple/{p-1419b29f.entry.js → p-ed24dc42.entry.js} +1 -1
- package/dist/ripple/{p-4a5e7fd4.entry.js → p-ee825214.entry.js} +1 -1
- package/dist/ripple/{p-add4b737.entry.js → p-f28106ea.entry.js} +1 -1
- package/dist/ripple/{p-1dc791dd.system.js → p-f471ee29.system.js} +1 -1
- package/dist/ripple/{p-120bc89b.entry.js → p-f66480de.entry.js} +1 -1
- package/dist/ripple/{p-391f300f.system.entry.js → p-f778baf4.system.entry.js} +1 -1
- package/dist/ripple/{p-7d0c9c6a.system.entry.js → p-fc7965e4.system.entry.js} +1 -1
- package/dist/ripple/{p-ef6be458.system.entry.js → p-fdfa3579.system.entry.js} +1 -1
- package/dist/ripple/{p-47f21da9.system.entry.js → p-ff60375d.system.entry.js} +1 -1
- package/dist/ripple/{p-0204a0fe.system.js → p-ffbb9fc0.system.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +2 -0
- package/package.json +1 -1
- package/dist/esm-es5/app-globals-8867159c.js +0 -1
- package/dist/ripple/p-27b22d31.entry.js +0 -1
- package/dist/ripple/p-708640d3.system.js +0 -1
- package/dist/ripple/p-7d212e00.js +0 -1
- package/dist/ripple/p-d8c6b2f0.system.entry.js +0 -1
|
@@ -22,6 +22,9 @@ const Toggletip = class {
|
|
|
22
22
|
}
|
|
23
23
|
this.isHidden = false;
|
|
24
24
|
}, 100);
|
|
25
|
+
this.debouncedResize = functions.debounce(() => {
|
|
26
|
+
this.scrollableParent = functions.findScrollableParent(this.el);
|
|
27
|
+
}, 200);
|
|
25
28
|
this.label = undefined;
|
|
26
29
|
this.tooltip = undefined;
|
|
27
30
|
this.tooltipPosition = "bottom-right";
|
|
@@ -37,18 +40,38 @@ const Toggletip = class {
|
|
|
37
40
|
let position = this.tooltipPosition;
|
|
38
41
|
// toggletip position
|
|
39
42
|
// Vertical
|
|
40
|
-
if (position.includes("
|
|
41
|
-
|
|
43
|
+
if (!position.includes("top") && functions.shouldOpenUp(this.el, this.toggletipEl.clientHeight)) {
|
|
44
|
+
if (position.includes("bottom")) {
|
|
45
|
+
position = position.replace("bottom", "top");
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
position = ("top-" + position);
|
|
49
|
+
}
|
|
42
50
|
}
|
|
43
|
-
else if (position.includes("
|
|
44
|
-
|
|
51
|
+
else if (!position.includes("bottom") && functions.shouldOpenDown(this.el, this.toggletipEl.clientHeight)) {
|
|
52
|
+
if (position.includes("top")) {
|
|
53
|
+
position = position.replace("top", "bottom");
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
position = ("bottom-" + position);
|
|
57
|
+
}
|
|
45
58
|
}
|
|
46
59
|
// Horizontal
|
|
47
|
-
if (position.includes("
|
|
48
|
-
|
|
60
|
+
if (!position.includes("right") && functions.shouldShiftRight(this.el, this.toggletipEl.clientWidth)) {
|
|
61
|
+
if (position.includes("left")) {
|
|
62
|
+
position = position.replace("left", "right");
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
position = (position + "-right");
|
|
66
|
+
}
|
|
49
67
|
}
|
|
50
|
-
else if (position.includes("
|
|
51
|
-
|
|
68
|
+
else if (!position.includes("left") && functions.shouldShiftLeft(this.el, this.toggletipEl.clientWidth)) {
|
|
69
|
+
if (position.includes("right")) {
|
|
70
|
+
position = position.replace("right", "left");
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
position = (position + "-left");
|
|
74
|
+
}
|
|
52
75
|
}
|
|
53
76
|
return position;
|
|
54
77
|
}
|
|
@@ -87,6 +110,11 @@ const Toggletip = class {
|
|
|
87
110
|
}
|
|
88
111
|
}
|
|
89
112
|
}
|
|
113
|
+
handleResize() {
|
|
114
|
+
if (!CSS.supports("top", "anchor(bottom)")) {
|
|
115
|
+
this.debouncedResize();
|
|
116
|
+
}
|
|
117
|
+
}
|
|
90
118
|
handleKeydown(ev) {
|
|
91
119
|
switch (ev.key) {
|
|
92
120
|
case "Escape":
|
|
@@ -112,9 +140,20 @@ const Toggletip = class {
|
|
|
112
140
|
}
|
|
113
141
|
}
|
|
114
142
|
open() {
|
|
143
|
+
// the popover API takes care of the actual opening.
|
|
144
|
+
// toggletip is visually hidden by default so it can be measured and repositioned.
|
|
115
145
|
functions.hideTooltip();
|
|
116
146
|
requestAnimationFrame(() => {
|
|
147
|
+
this.toggletipEl.classList.remove("top", "bottom", "left", "right", "top-right", "top-left", "bottom-right", "bottom-left");
|
|
117
148
|
this.toggletipEl.classList.add(this.toggletipPosition);
|
|
149
|
+
// handling scroll offset for older browsers (currently FF and Safari)
|
|
150
|
+
if (!CSS.supports("top", "anchor(bottom)")) {
|
|
151
|
+
this.scrollableParent = functions.findScrollableParent(this.el);
|
|
152
|
+
if (!!this.scrollableParent) {
|
|
153
|
+
this.el.style.setProperty("--offset-x", "-" + this.scrollableParent.scrollLeft + "px");
|
|
154
|
+
this.el.style.setProperty("--offset-y", "-" + this.scrollableParent.scrollTop + "px");
|
|
155
|
+
}
|
|
156
|
+
}
|
|
118
157
|
this.toggletipEl.classList.remove("hidden");
|
|
119
158
|
});
|
|
120
159
|
this.isHidden = false;
|
|
@@ -132,9 +171,9 @@ const Toggletip = class {
|
|
|
132
171
|
}, 10);
|
|
133
172
|
}
|
|
134
173
|
render() {
|
|
135
|
-
return (index.h(index.Host, { key: '
|
|
174
|
+
return (index.h(index.Host, { key: 'b515bcbf26c9848d6bac1b9865c445bf7d38fb51', class: `size-${this.targetSize}` }, index.h("button", { key: '803eac8a3732cf04cd5a4e6fad460faee04f7f68', class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
|
|
136
175
|
// In order to position the tooltip identically to the toggletip, its presence is determined by these four events
|
|
137
|
-
onMouseEnter: () => functions.showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => functions.hideTooltip(), onFocus: () => functions.showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, index.h("div", { key: '
|
|
176
|
+
onMouseEnter: () => !this.isOpen && functions.showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => functions.hideTooltip(), onFocus: () => !this.isOpen && functions.showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, index.h("div", { key: 'c3bd15da06234bd1e8d3238e0e8cdd9bf8653473', class: "svg-icon svg-info" })), index.h("div", { key: '75a94cb1f55130dc8e6b0376ca7fdfbf2678f0d8', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip" }, this.tooltip), index.h("div", { key: 'f86c3e78eba66ca25c5d2f47e38ee81a09fe6d4c', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
|
|
138
177
|
}
|
|
139
178
|
static get delegatesFocus() { return true; }
|
|
140
179
|
get el() { return index.getElement(this); }
|
|
@@ -828,25 +828,18 @@ wm-modal-footer .wm-wrapper {
|
|
|
828
828
|
-webkit-align-items: center;
|
|
829
829
|
-ms-flex-align: center;
|
|
830
830
|
align-items: center;
|
|
831
|
+
gap: 1rem;
|
|
832
|
+
flex-wrap: wrap;
|
|
831
833
|
}
|
|
832
|
-
|
|
833
|
-
wm-modal-footer .wm-wrapper.footer-text {
|
|
834
|
-
flex-direction: column;
|
|
835
|
-
align-items: flex-start;
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
wm-modal-footer .wm-wrapper wm-button + wm-button {
|
|
839
|
-
margin-left: 1rem;
|
|
840
|
-
}
|
|
841
|
-
wm-modal-footer .wm-wrapper .wm-info {
|
|
834
|
+
wm-modal-footer .wm-info {
|
|
842
835
|
font-size: 0.875rem;
|
|
843
836
|
font-style: italic;
|
|
844
837
|
}
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
838
|
+
wm-modal-footer .wm-button-collection {
|
|
839
|
+
display: flex;
|
|
840
|
+
gap: 1rem;
|
|
841
|
+
flex-wrap: wrap;
|
|
849
842
|
}
|
|
850
|
-
wm-modal-footer
|
|
851
|
-
|
|
843
|
+
wm-modal-footer wm-button + wm-button {
|
|
844
|
+
margin-left: 0;
|
|
852
845
|
}
|
|
@@ -828,6 +828,7 @@ wm-modal-header .wm-wrapper {
|
|
|
828
828
|
-webkit-align-items: center;
|
|
829
829
|
-ms-flex-align: center;
|
|
830
830
|
align-items: center;
|
|
831
|
+
column-gap: 1rem;
|
|
831
832
|
}
|
|
832
833
|
wm-modal-header .wm-wrapper .title {
|
|
833
834
|
margin: 0;
|
|
@@ -840,7 +841,4 @@ wm-modal-header .wm-wrapper .title .subtitle {
|
|
|
840
841
|
display: block;
|
|
841
842
|
font-size: 0.875rem;
|
|
842
843
|
font-weight: normal;
|
|
843
|
-
}
|
|
844
|
-
wm-modal-header .wm-wrapper .title:focus {
|
|
845
|
-
outline: none;
|
|
846
844
|
}
|
|
@@ -821,49 +821,51 @@ wm-modal dialog {
|
|
|
821
821
|
color: inherit;
|
|
822
822
|
padding: 0;
|
|
823
823
|
width: 80vw;
|
|
824
|
-
max-width:
|
|
824
|
+
max-width: 46.875rem;
|
|
825
825
|
max-height: 80vh;
|
|
826
|
-
-webkit-border-radius: 5px
|
|
827
|
-
-moz-border-radius: 5px
|
|
828
|
-
-ms-border-radius: 5px
|
|
829
|
-
border-radius: 5px
|
|
826
|
+
-webkit-border-radius: 5px;
|
|
827
|
+
-moz-border-radius: 5px;
|
|
828
|
+
-ms-border-radius: 5px;
|
|
829
|
+
border-radius: 5px;
|
|
830
830
|
border: none;
|
|
831
831
|
background: var(--wmcolor-modal-background);
|
|
832
832
|
}
|
|
833
|
-
wm-modal dialog > :not(wm-modal-header):not(wm-modal-footer) {
|
|
834
|
-
max-height: calc(80vh - 166px);
|
|
835
|
-
}
|
|
836
833
|
wm-modal dialog::backdrop {
|
|
837
|
-
background:
|
|
834
|
+
background: var(--wmcolor-modal-overlay);
|
|
838
835
|
}
|
|
839
836
|
wm-modal dialog[open] {
|
|
840
837
|
-webkit-box-shadow: 0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);
|
|
841
838
|
-moz-box-shadow: 0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);
|
|
842
839
|
box-shadow: 0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);
|
|
843
840
|
}
|
|
841
|
+
wm-modal dialog.wm-modal[open] {
|
|
842
|
+
display: flex;
|
|
843
|
+
flex-direction: column;
|
|
844
|
+
}
|
|
845
|
+
wm-modal dialog.wm-modal > :not(wm-modal-header, wm-modal-footer) {
|
|
846
|
+
flex: 1;
|
|
847
|
+
}
|
|
844
848
|
wm-modal dialog.wm-modal > wm-modal-header {
|
|
845
849
|
border-bottom: 1px solid var(--wmcolor-modal-border);
|
|
846
850
|
}
|
|
847
851
|
wm-modal dialog.wm-modal > wm-modal-footer {
|
|
848
852
|
border-top: 1px solid var(--wmcolor-modal-border);
|
|
849
853
|
}
|
|
850
|
-
@media only screen and (max-width:
|
|
854
|
+
@media only screen and (max-width: 48rem) {
|
|
851
855
|
wm-modal dialog.wm-modal {
|
|
852
|
-
height:
|
|
856
|
+
height: 100vh;
|
|
857
|
+
height: 100dvh;
|
|
853
858
|
max-height: none;
|
|
854
859
|
max-width: none;
|
|
855
860
|
width: 100vw;
|
|
861
|
+
border-radius: 0;
|
|
856
862
|
}
|
|
857
863
|
wm-modal dialog.wm-modal > * {
|
|
858
|
-
max-width:
|
|
864
|
+
max-width: 100%;
|
|
859
865
|
width: 100vw;
|
|
860
866
|
}
|
|
861
|
-
wm-modal dialog.wm-modal > *:not(wm-modal-header):not(wm-modal-footer) {
|
|
862
|
-
max-height: none;
|
|
863
|
-
height: calc(100vh - 166px);
|
|
864
|
-
}
|
|
865
867
|
}
|
|
866
|
-
wm-modal dialog.wm-dialog > :not(wm-modal-header
|
|
868
|
+
wm-modal dialog.wm-dialog > :not(wm-modal-header, wm-modal-footer) {
|
|
867
869
|
padding: 0 1.875rem 1.25rem 1.875rem;
|
|
868
870
|
font-size: 0.875rem;
|
|
869
871
|
border: none;
|
|
@@ -13,6 +13,9 @@ export class Toggletip {
|
|
|
13
13
|
}
|
|
14
14
|
this.isHidden = false;
|
|
15
15
|
}, 100);
|
|
16
|
+
this.debouncedResize = debounce(() => {
|
|
17
|
+
this.scrollableParent = findScrollableParent(this.el);
|
|
18
|
+
}, 200);
|
|
16
19
|
this.label = undefined;
|
|
17
20
|
this.tooltip = undefined;
|
|
18
21
|
this.tooltipPosition = "bottom-right";
|
|
@@ -28,18 +31,38 @@ export class Toggletip {
|
|
|
28
31
|
let position = this.tooltipPosition;
|
|
29
32
|
// toggletip position
|
|
30
33
|
// Vertical
|
|
31
|
-
if (position.includes("
|
|
32
|
-
|
|
34
|
+
if (!position.includes("top") && shouldOpenUp(this.el, this.toggletipEl.clientHeight)) {
|
|
35
|
+
if (position.includes("bottom")) {
|
|
36
|
+
position = position.replace("bottom", "top");
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
position = ("top-" + position);
|
|
40
|
+
}
|
|
33
41
|
}
|
|
34
|
-
else if (position.includes("
|
|
35
|
-
|
|
42
|
+
else if (!position.includes("bottom") && shouldOpenDown(this.el, this.toggletipEl.clientHeight)) {
|
|
43
|
+
if (position.includes("top")) {
|
|
44
|
+
position = position.replace("top", "bottom");
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
position = ("bottom-" + position);
|
|
48
|
+
}
|
|
36
49
|
}
|
|
37
50
|
// Horizontal
|
|
38
|
-
if (position.includes("
|
|
39
|
-
|
|
51
|
+
if (!position.includes("right") && shouldShiftRight(this.el, this.toggletipEl.clientWidth)) {
|
|
52
|
+
if (position.includes("left")) {
|
|
53
|
+
position = position.replace("left", "right");
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
position = (position + "-right");
|
|
57
|
+
}
|
|
40
58
|
}
|
|
41
|
-
else if (position.includes("
|
|
42
|
-
|
|
59
|
+
else if (!position.includes("left") && shouldShiftLeft(this.el, this.toggletipEl.clientWidth)) {
|
|
60
|
+
if (position.includes("right")) {
|
|
61
|
+
position = position.replace("right", "left");
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
position = (position + "-left");
|
|
65
|
+
}
|
|
43
66
|
}
|
|
44
67
|
return position;
|
|
45
68
|
}
|
|
@@ -78,6 +101,11 @@ export class Toggletip {
|
|
|
78
101
|
}
|
|
79
102
|
}
|
|
80
103
|
}
|
|
104
|
+
handleResize() {
|
|
105
|
+
if (!CSS.supports("top", "anchor(bottom)")) {
|
|
106
|
+
this.debouncedResize();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
81
109
|
handleKeydown(ev) {
|
|
82
110
|
switch (ev.key) {
|
|
83
111
|
case "Escape":
|
|
@@ -103,9 +131,20 @@ export class Toggletip {
|
|
|
103
131
|
}
|
|
104
132
|
}
|
|
105
133
|
open() {
|
|
134
|
+
// the popover API takes care of the actual opening.
|
|
135
|
+
// toggletip is visually hidden by default so it can be measured and repositioned.
|
|
106
136
|
hideTooltip();
|
|
107
137
|
requestAnimationFrame(() => {
|
|
138
|
+
this.toggletipEl.classList.remove("top", "bottom", "left", "right", "top-right", "top-left", "bottom-right", "bottom-left");
|
|
108
139
|
this.toggletipEl.classList.add(this.toggletipPosition);
|
|
140
|
+
// handling scroll offset for older browsers (currently FF and Safari)
|
|
141
|
+
if (!CSS.supports("top", "anchor(bottom)")) {
|
|
142
|
+
this.scrollableParent = findScrollableParent(this.el);
|
|
143
|
+
if (!!this.scrollableParent) {
|
|
144
|
+
this.el.style.setProperty("--offset-x", "-" + this.scrollableParent.scrollLeft + "px");
|
|
145
|
+
this.el.style.setProperty("--offset-y", "-" + this.scrollableParent.scrollTop + "px");
|
|
146
|
+
}
|
|
147
|
+
}
|
|
109
148
|
this.toggletipEl.classList.remove("hidden");
|
|
110
149
|
});
|
|
111
150
|
this.isHidden = false;
|
|
@@ -123,9 +162,9 @@ export class Toggletip {
|
|
|
123
162
|
}, 10);
|
|
124
163
|
}
|
|
125
164
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: 'b515bcbf26c9848d6bac1b9865c445bf7d38fb51', class: `size-${this.targetSize}` }, h("button", { key: '803eac8a3732cf04cd5a4e6fad460faee04f7f68', class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
|
|
127
166
|
// In order to position the tooltip identically to the toggletip, its presence is determined by these four events
|
|
128
|
-
onMouseEnter: () => showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, h("div", { key: '
|
|
167
|
+
onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, h("div", { key: 'c3bd15da06234bd1e8d3238e0e8cdd9bf8653473', class: "svg-icon svg-info" })), h("div", { key: '75a94cb1f55130dc8e6b0376ca7fdfbf2678f0d8', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip" }, this.tooltip), h("div", { key: 'f86c3e78eba66ca25c5d2f47e38ee81a09fe6d4c', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
|
|
129
168
|
}
|
|
130
169
|
static get is() { return "wm-toggletip"; }
|
|
131
170
|
static get encapsulation() { return "shadow"; }
|
|
@@ -228,6 +267,12 @@ export class Toggletip {
|
|
|
228
267
|
static get elementRef() { return "el"; }
|
|
229
268
|
static get listeners() {
|
|
230
269
|
return [{
|
|
270
|
+
"name": "resize",
|
|
271
|
+
"method": "handleResize",
|
|
272
|
+
"target": "window",
|
|
273
|
+
"capture": false,
|
|
274
|
+
"passive": true
|
|
275
|
+
}, {
|
|
231
276
|
"name": "keydown",
|
|
232
277
|
"method": "handleKeydown",
|
|
233
278
|
"target": undefined,
|
|
@@ -7,39 +7,42 @@ function hideModal(ev) {
|
|
|
7
7
|
ev.target.open = false;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
//
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
|
|
10
|
+
// if we don't wait, sometimes the DOM else are not queryied. Waiting for load doesn't work as load, it seems it have already fired. requestAnimationFrame doesn't work either
|
|
11
|
+
setTimeout(() => {
|
|
12
|
+
// hook up each modal and its button
|
|
13
|
+
const ids = ["modal", "inner-modal", "inner-dialog", "nested-modal", "dialog"];
|
|
14
|
+
ids.forEach((id) => {
|
|
15
|
+
const modalBtn = document.getElementById(`${id}-btn`);
|
|
16
|
+
modalBtn && modalBtn.addEventListener("click", () => showModal(id));
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
});
|
|
18
|
+
const modal = document.getElementById(id);
|
|
19
|
+
modal && modal.addEventListener("wmModalPrimaryTriggered", actionTriggered);
|
|
20
|
+
modal && modal.addEventListener("wmModalSecondaryTriggered", hideModal);
|
|
21
|
+
modal && modal.addEventListener("wmModalCloseTriggered", hideModal);
|
|
22
|
+
});
|
|
21
23
|
|
|
22
|
-
const modalInput = document.getElementById("modal-input");
|
|
23
|
-
const count = document.getElementById("count");
|
|
24
|
-
const modalFooter = document.getElementById("modal-footer");
|
|
24
|
+
const modalInput = document.getElementById("modal-input");
|
|
25
|
+
const count = document.getElementById("count");
|
|
26
|
+
const modalFooter = document.getElementById("modal-footer");
|
|
25
27
|
|
|
26
|
-
modalInput &&
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
modalInput &&
|
|
29
|
+
modalInput.addEventListener("change", function () {
|
|
30
|
+
if (modalInput.value !== "") {
|
|
31
|
+
modalFooter.primaryActionDisabled = false;
|
|
32
|
+
} else {
|
|
33
|
+
modalFooter.primaryActionDisabled = true;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
34
36
|
|
|
35
|
-
count &&
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
count &&
|
|
38
|
+
count.addEventListener("change", (ev) => {
|
|
39
|
+
modalFooter.setAttribute("info-text", ev.target.value + " things ready to launch");
|
|
40
|
+
});
|
|
39
41
|
|
|
40
|
-
function actionTriggered(ev) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
42
|
+
function actionTriggered(ev) {
|
|
43
|
+
modalInput.value = "";
|
|
44
|
+
console.log("Changes saved");
|
|
45
|
+
modalFooter.actionDisabled = true;
|
|
46
|
+
ev.target.open = false;
|
|
47
|
+
}
|
|
48
|
+
}, 50);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
requestAnimationFrame(() => {
|
|
2
|
+
// put toggletip in shadow DOM
|
|
3
|
+
const host = document.querySelector("#host");
|
|
4
|
+
const shadow = host.attachShadow({ mode: "open" });
|
|
5
|
+
const tsd = document.querySelector("#tsd");
|
|
6
|
+
tsd.label = "Toggletip in shadow DOM";
|
|
7
|
+
tsd.tooltip = "Toggletip in shadow DOM";
|
|
8
|
+
shadow.appendChild(tsd);
|
|
9
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-130e07bb.js';
|
|
2
|
-
import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-
|
|
2
|
+
import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-f53b3537.js';
|
|
3
3
|
|
|
4
4
|
const colors = {
|
|
5
5
|
salmon: "#ff5f4e",
|
|
@@ -8419,4 +8419,4 @@ const weekdays = [
|
|
|
8419
8419
|
intl.formatMessage({ id: "date.saturday", defaultMessage: "Saturday" }),
|
|
8420
8420
|
];
|
|
8421
8421
|
|
|
8422
|
-
export { isElOrChild as A, throttle as B, getContextMeasurements as C, dateFind as D, calendar_months as E, findParentWithHiddenOverflow as F, transposeMatrix as G, wrapAround as H, getSmallestSkipInterval as I, calcPercentageInRange as J, makeISO as K, getMonthLength as L, weekdays as M, handleDisabledAttribute as a, triggerFormSubmit as b, checkForActiveElInShadow as c, debounce as d, safeMultiplyFloat as e, getPosition as f, generateId as g, hideTooltip as h, intl as i, dateToISO as j, shouldOpenUp as k, hasRoomRight as l, truncateText as m, snakeCaseToCamelCase as n, getNewIndexToFocus as o,
|
|
8422
|
+
export { isElOrChild as A, throttle as B, getContextMeasurements as C, dateFind as D, calendar_months as E, findParentWithHiddenOverflow as F, transposeMatrix as G, wrapAround as H, getSmallestSkipInterval as I, calcPercentageInRange as J, makeISO as K, getMonthLength as L, weekdays as M, handleDisabledAttribute as a, triggerFormSubmit as b, checkForActiveElInShadow as c, debounce as d, safeMultiplyFloat as e, getPosition as f, generateId as g, hideTooltip as h, intl as i, dateToISO as j, shouldOpenUp as k, hasRoomRight as l, truncateText as m, snakeCaseToCamelCase as n, getNewIndexToFocus as o, findScrollableParent as p, shouldOpenDown as q, shouldShiftRight as r, showTooltip as s, toBool as t, shouldShiftLeft as u, measureText as v, findNext as w, findPrev as x, csvToArray as y, getTextDir as z };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { b as bootstrapLazy } from './index-130e07bb.js';
|
|
2
2
|
export { s as setNonce } from './index-130e07bb.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
3
|
+
import { g as globalScripts } from './app-globals-62cba688.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy(JSON.parse("[[\"wm-tab-item_3\",[[17,\"wm-tab-list\",{\"customBackground\":[1,\"custom-background\"],\"customPadding\":[1,\"custom-padding\"],\"selectedTab\":[1,\"selected-tab\"]},[[0,\"tabItemLoaded\",\"tabItemLoaded\"],[0,\"keydownOnTabItem\",\"handleKeydown\"]],{\"selectedTab\":[\"setSelected\"]}],[17,\"wm-tab-item\",{\"selected\":[4],\"show\":[4],\"tabId\":[1,\"tab-id\"]}],[0,\"wm-tab-panel\",{\"active\":[1028],\"tabId\":[1025,\"tab-id\"]}]]],[\"wm-file\",[[17,\"wm-file\",{\"name\":[1],\"type\":[1],\"fileActions\":[1,\"file-actions\"],\"lastUpdated\":[1,\"last-updated\"],\"progress\":[514],\"size\":[1],\"uploadedBy\":[1,\"uploaded-by\"],\"errorMessage\":[1,\"error-message\"],\"showInfo\":[1025,\"show-info\"]}]]],[\"wm-modal-pss_3\",[[0,\"wm-modal-pss-footer\",{\"secondaryText\":[1,\"secondary-text\"],\"primaryText\":[1,\"primary-text\"],\"infoText\":[1,\"info-text\"],\"primaryActionDisabled\":[4,\"primary-action-disabled\"],\"deleteStyle\":[4,\"delete-style\"]}],[0,\"wm-modal-pss-header\",{\"heading\":[1],\"subheading\":[1]}],[0,\"wm-modal-pss\",{\"open\":[1540],\"elementToFocus\":[1025,\"element-to-focus\"],\"modalType\":[513,\"modal-type\"],\"uid\":[1537],\"emitCloseEvent\":[64],\"emitPrimaryEvent\":[64],\"emitSecondaryEvent\":[64]},[[0,\"click\",\"handleClick\"],[0,\"keydown\",\"closeModalOnEscape\"]],{\"open\":[\"toggleModal\"]}]]],[\"wm-modal_3\",[[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\"]}],[0,\"wm-modal-header\",{\"heading\":[1],\"subheading\":[1]}],[4,\"wm-modal\",{\"open\":[1540],\"elementToFocus\":[1025,\"element-to-focus\"],\"modalType\":[513,\"modal-type\"],\"uid\":[1537],\"returnFocusEl\":[32],\"emitCloseEvent\":[64],\"emitPrimaryEvent\":[64],\"emitSecondaryEvent\":[64]},null,{\"open\":[\"toggleModal\"]}]]],[\"wm-navigator\",[[17,\"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],\"itemIndexToFocus\":[32]},[[0,\"keydown\",\"handleKeys\"],[0,\"keydownOnNavItem\",\"handleKeydown\"],[4,\"click\",\"handleClick\"],[0,\"buttonActivated\",\"handleButtonClick\"]],{\"products\":[\"parseData\"]}]]],[\"wm-optgroup\",[[17,\"wm-optgroup\",{\"label\":[1],\"isExpanded\":[1028,\"is-expanded\"],\"multiple\":[1028],\"disabled\":[4],\"emitDeselection\":[64],\"handleChildChange\":[64]},[[0,\"wmKeyLeftPressed\",\"handleOptionKeyLeft\"]],{\"isExpanded\":[\"isExpandedChanged\"]}]]],[\"wm-navigation_3\",[[17,\"wm-navigation\",{\"open\":[1540]},[[0,\"keydown\",\"closeOnEscape\"],[9,\"resize\",\"handleWindowResize\"],[8,\"wmNavigationHamburgerClicked\",\"handleHamburgerClicked\"],[0,\"wmNavigationItemClicked\",\"handleClickOnItem\"]],{\"open\":[\"handleStateChange\"]}],[17,\"wm-navigation-hamburger\",{\"navId\":[1,\"nav-id\"],\"isTabbing\":[32],\"open\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[4,\"wmNavigationStateChanged\",\"handleNavigationStateChanged\"]]],[17,\"wm-navigation-item\",{\"href\":[1],\"text\":[1],\"active\":[4]}]]],[\"wm-progress-indicator_3\",[[17,\"wm-progress-indicator\",{\"label\":[1],\"subinfo\":[1],\"completionMessage\":[1,\"completion-message\"],\"showLegend\":[4,\"show-legend\"],\"printMode\":[4,\"print-mode\"],\"printModeFormat\":[1,\"print-mode-format\"],\"isTabbing\":[32],\"mode\":[32],\"userIsNavigating\":[32],\"focusedSliceId\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmProgressSliceUpdated\",\"handleSliceUpdate\"]],{\"mode\":[\"handleModeUpdate\"]}],[17,\"wm-progress-monitor\",{\"breakpoint\":[8],\"groupLegend\":[1,\"group-legend\"],\"barLabelsWidth\":[1,\"bar-labels-width\"]}],[1,\"wm-progress-slice\",{\"legend\":[1],\"amount\":[1],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"popoverButtonText\":[1,\"popover-button-text\"]}]]],[\"wm-chart\",[[17,\"wm-chart\",{\"chartType\":[1,\"chart-type\"],\"label\":[1],\"labelWidth\":[1,\"label-width\"],\"subinfo\":[1],\"valueFormat\":[1,\"value-format\"],\"showGrid\":[4,\"show-grid\"],\"showLegend\":[4,\"show-legend\"],\"showBarLegend\":[4,\"show-bar-legend\"],\"notStartedColor\":[4,\"not-started-color\"],\"printMode\":[4,\"print-mode\"],\"printModeFormat\":[1,\"print-mode-format\"],\"labelPosition\":[1,\"label-position\"],\"isTabbing\":[32],\"userIsNavigating\":[32],\"focusedSliceId\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmChartSliceUpdated\",\"handleSliceUpdate\"]]]]],[\"wm-date-range\",[[17,\"wm-date-range\",{\"dateFormat\":[1,\"date-format\"],\"disabled\":[4],\"errorMessage\":[513,\"error-message\"],\"invalidStart\":[4,\"invalid-start\"],\"invalidEnd\":[4,\"invalid-end\"],\"labelStart\":[1,\"label-start\"],\"labelEnd\":[1,\"label-end\"],\"preselected\":[1],\"requiredField\":[4,\"required-field\"],\"valueStart\":[1025,\"value-start\"],\"valueEnd\":[1025,\"value-end\"],\"availSpace\":[32],\"isExpanded\":[32],\"reformatDate\":[64],\"isValidISO\":[64]},[[0,\"keydown\",\"handleKey\"],[4,\"click\",\"blurHandler\"],[8,\"blur\",\"handleBlurOnWindow\"],[0,\"popupBlurred\",\"handlePopupBlurred\"],[0,\"cellTriggered\",\"handleCellTriggered\"],[0,\"outOfCal\",\"handleOutOfCal\"],[0,\"cellHovered\",\"handleCellHovered\"],[9,\"resize\",\"setAvailSpace\"]],{\"disabled\":[\"handleDisabled\"],\"valueStart\":[\"updateValueStart\"],\"valueEnd\":[\"updateValueEnd\"],\"errorMessage\":[\"handleErrorMessage\"]}]]],[\"wm-datepicker\",[[17,\"wm-datepicker\",{\"value\":[1025],\"disabled\":[4],\"dateFormat\":[1,\"date-format\"],\"errorMessage\":[513,\"error-message\"],\"labelPosition\":[1,\"label-position\"],\"label\":[1],\"requiredField\":[4,\"required-field\"],\"preselected\":[1],\"isExpanded\":[32],\"reformatDate\":[64],\"isValidIso\":[64]},[[0,\"keydown\",\"handleKey\"],[4,\"click\",\"blurHandler\"],[8,\"blur\",\"handleBlurOnWindow\"],[0,\"cellTriggered\",\"handleCellTriggered\"]],{\"disabled\":[\"handleDisabledChange\"],\"value\":[\"updateValue\"],\"errorMessage\":[\"announceError\"]}]]],[\"wm-line-chart\",[[1,\"wm-line-chart\",{\"label\":[1],\"description\":[1],\"xAxisLabel\":[1,\"x-axis-label\"],\"yAxisLabel\":[1,\"y-axis-label\"],\"lineData\":[513,\"line-data\"],\"units\":[1],\"labelWidth\":[1,\"label-width\"],\"highlightQualifier\":[1,\"highlight-qualifier\"],\"highlightStart\":[1,\"highlight-start\"],\"highlightEnd\":[1,\"highlight-end\"],\"visibilityToggles\":[4,\"visibility-toggles\"],\"showDeltas\":[4,\"show-deltas\"],\"yRange\":[1,\"y-range\"],\"parsedLineData\":[32],\"popoverIndex\":[32],\"focusedLine\":[32],\"hiddenLines\":[32],\"isTabbing\":[32],\"intervalSkip\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]],{\"lineData\":[\"parseData\"],\"intervalSkip\":[\"handleIntervalSkip\"]}]]],[\"wm-search\",[[17,\"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],\"announcement\":[32],\"updateValue\":[64]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]],{\"numResults\":[\"handleNumResultsUpdate\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"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-file-list\",[[17,\"wm-file-list\",{\"showInfo\":[1,\"show-info\"]}]]],[\"wm-input\",[[17,\"wm-input\",{\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"value\":[1025],\"disabled\":[4],\"info\":[1],\"inputWidth\":[1,\"input-width\"],\"placeholder\":[1],\"requiredField\":[4,\"required-field\"],\"errorMessage\":[1,\"error-message\"],\"characterLimit\":[2,\"character-limit\"],\"symbolBefore\":[1,\"symbol-before\"],\"symbolAfter\":[1,\"symbol-after\"],\"textAfter\":[1,\"text-after\"],\"type\":[1],\"step\":[2],\"min\":[2],\"max\":[2],\"isSubmit\":[4,\"is-submit\"],\"announcement\":[32]},null,{\"disabled\":[\"handleDisabledChange\"],\"errorMessage\":[\"announceError\"]}]]],[\"wm-nested-select\",[[17,\"wm-nested-select\",{\"disabled\":[516],\"maxHeight\":[1,\"max-height\"],\"label\":[1025],\"labelPosition\":[1,\"label-position\"],\"requiredField\":[4,\"required-field\"],\"errorMessage\":[1025,\"error-message\"],\"multiple\":[4],\"search\":[4],\"selectAll\":[4,\"select-all\"],\"placeholder\":[1],\"searchPlaceholder\":[1,\"search-placeholder\"],\"allSelectedMessage\":[1,\"all-selected-message\"],\"constrainedMaxHeight\":[1025,\"constrained-max-height\"],\"isExpanded\":[32],\"showClearSelectionButton\":[32],\"announcement\":[32]},[[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"wmEnterKeyPressed\",\"handleChildEnter\"],[0,\"wmEscKeyPressed\",\"closePopupOnEscape\"],[0,\"keydown\",\"handleKeyDown\"],[6,\"click\",\"handleClick\"],[0,\"optgroupExpanded\",\"handleOptgroupExpanded\"],[0,\"optgroupHidden\",\"handleOptgroupHidden\"]]]]],[\"wm-pagination\",[[17,\"wm-pagination\",{\"currentPage\":[2,\"current-page\"],\"totalItems\":[2,\"total-items\"],\"itemsPerPage\":[2,\"items-per-page\"],\"value\":[2],\"isLargeSize\":[4,\"is-large-size\"],\"srAnnouncement\":[32]},null,{\"totalItems\":[\"calculateTotalPages\"],\"itemsPerPage\":[\"calculateTotalPages\"]}]]],[\"wm-snackbar\",[[1,\"wm-snackbar\",{\"notifications\":[1537],\"isTabbing\":[32],\"announcement\":[32]},[[4,\"keydown\",\"checkForTabbing\"],[5,\"mouseover\",\"handleMouse\"]],{\"notifications\":[\"updateSnacks\"]}]]],[\"wm-tag-input\",[[17,\"wm-tag-input\",{\"label\":[1],\"errorMessage\":[1,\"error-message\"],\"info\":[1],\"labelPosition\":[1,\"label-position\"],\"maxTags\":[2,\"max-tags\"],\"placeholder\":[1025],\"requiredField\":[4,\"required-field\"],\"tagInputType\":[1,\"tag-input-type\"],\"helpText\":[1,\"help-text\"],\"addNew\":[4,\"add-new\"],\"characterLimit\":[2,\"character-limit\"],\"colHeaders\":[1,\"col-headers\"],\"colWidths\":[1,\"col-widths\"],\"colWrap\":[1,\"col-wrap\"],\"isKeying\":[32],\"isExpanded\":[32],\"liveRegionMessage\":[32],\"focusedOption\":[32],\"focusedColumn\":[32],\"focusedTagIndex\":[32],\"tagsList\":[32]},[[8,\"wmUserIsKeying\",\"toggleKeyingOn\"],[8,\"wmUserIsTabbing\",\"toggleKeyingOn\"],[8,\"wmUserIsNotKeying\",\"toggleKeyingOff\"],[8,\"wmUserIsNotTabbing\",\"toggleKeyingOff\"],[0,\"privTagOptionSelected\",\"handleTagOptionSelected\"],[0,\"privTagOptionDeselected\",\"handleTagOptionDeselected\"],[4,\"click\",\"handleClick\"],[11,\"scroll\",\"dismissTooltip\"],[0,\"blur\",\"handleBlur\"]],{\"errorMessage\":[\"announceError\"]}]]],[\"wm-tag-option\",[[0,\"wm-tag-option\",{\"selected\":[1540],\"locked\":[4],\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"emitSelectedEvent\":[64],\"emitDeselectedEvent\":[64]},null,{\"selected\":[\"handleSelected\"]}]]],[\"wm-textarea\",[[1,\"wm-textarea\",{\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"value\":[1025],\"disabled\":[4],\"info\":[1],\"placeholder\":[1],\"requiredField\":[4,\"required-field\"],\"errorMessage\":[1,\"error-message\"],\"characterLimit\":[2,\"character-limit\"],\"inputWidth\":[1,\"input-width\"],\"inputHeight\":[1,\"input-height\"],\"announcement\":[32]},null,{\"disabled\":[\"handleDisabledChange\"],\"errorMessage\":[\"announceError\"]}]]],[\"wm-timepicker\",[[17,\"wm-timepicker\",{\"disabled\":[4],\"value\":[1025],\"errorMessage\":[1,\"error-message\"],\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"requiredField\":[4,\"required-field\"],\"preselected\":[1],\"isExpanded\":[32],\"isValidTime\":[64],\"reformatTime\":[64]},[[0,\"keydown\",\"handleKey\"]],{\"disabled\":[\"handleDisabledChange\"],\"value\":[\"handleValueChange\"],\"errorMessage\":[\"announceError\"]}]]],[\"wm-toggletip\",[[17,\"wm-toggletip\",{\"label\":[1],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"targetSize\":[1,\"target-size\"],\"isHidden\":[32]},[[0,\"keydown\",\"handleKeydown\"],[4,\"click\",\"handleClick\"]]]]],[\"wm-uploader\",[[17,\"wm-uploader\",{\"label\":[1],\"uploaderType\":[1,\"uploader-type\"],\"dropArea\":[1,\"drop-area\"],\"buttonText\":[1,\"button-text\"],\"icon\":[1],\"fileTypes\":[1,\"file-types\"],\"maxSize\":[1,\"max-size\"],\"maxFiles\":[2,\"max-files\"],\"errorMessage\":[1,\"error-message\"],\"requiredField\":[4,\"required-field\"],\"showInfo\":[1,\"show-info\"],\"isTabbing\":[32],\"notif\":[32],\"isCondensed\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmFileErrorCleared\",\"handleFileErrorCleared\"],[0,\"wmFileDelete\",\"storeDeletedId\"],[5,\"dragenter\",\"handleDocumentDragEnter\"],[5,\"mouseout\",\"handleDocumentMouseOut\"],[5,\"dragleave\",\"handleDocumentDragLeave\"],[4,\"visibilitychange\",\"handleDocumentVisibilityChange\"]],{\"errorMessage\":[\"announceError\"]}]]],[\"wm-wrapper\",[[0,\"wm-wrapper\"]]],[\"priv-navigator-button\",[[17,\"priv-navigator-button\",{\"expanded\":[1028],\"altText\":[1,\"alt-text\"]}]]],[\"priv-navigator-item\",[[1,\"priv-navigator-item\",{\"selected\":[1028],\"focused\":[1028],\"link\":[1025]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"priv-calendar\",[[0,\"priv-calendar\",{\"disabled\":[4],\"view\":[1025],\"focusDate\":[1025,\"focus-date\"],\"startDate\":[1,\"start-date\"],\"endDate\":[1,\"end-date\"],\"hoverDate\":[1,\"hover-date\"],\"focusFirstFocusable\":[64],\"focusLastFocusable\":[64],\"focusCell\":[64]},[[0,\"keydown\",\"handleKey\"]],{\"focusDate\":[\"handleFocusDate\"]}]]],[\"priv-chart-popover\",[[0,\"priv-chart-popover\",{\"open\":[1028],\"sliceDetails\":[16]},[[4,\"click\",\"handleClickOnDocument\"],[0,\"click\",\"handleClick\"]],{\"open\":[\"handleOpenChange\"],\"sliceDetails\":[\"handleDetailsChange\"]}]]],[\"wm-option_2\",[[17,\"wm-select\",{\"disabled\":[516],\"maxHeight\":[1,\"max-height\"],\"label\":[1025],\"labelPosition\":[1,\"label-position\"],\"requiredField\":[4,\"required-field\"],\"errorMessage\":[1025,\"error-message\"],\"multiple\":[4],\"search\":[4],\"selectAll\":[4,\"select-all\"],\"placeholder\":[1],\"searchPlaceholder\":[1,\"search-placeholder\"],\"allSelectedMessage\":[1,\"all-selected-message\"],\"isExpanded\":[32],\"announcement\":[32]},[[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"wmEnterKeyPressed\",\"handleChildEnter\"],[0,\"wmEscKeyPressed\",\"closePopupOnEscape\"],[0,\"wmOptionBlurred\",\"handleOptionBlur\"],[6,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKey\"]],{\"errorMessage\":[\"announceError\"],\"disabled\":[\"handleDisabledChange\"]}],[1,\"wm-option\",{\"value\":[1],\"subinfo\":[1025],\"disabled\":[516],\"selected\":[516],\"focused\":[4],\"searchTerm\":[32]},[[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleSelection\"],[0,\"blur\",\"handleBlur\"]],{\"selected\":[\"syncAriaSelected\"],\"disabled\":[\"syncAriaDisabled\",\"updateDisabledOnClick\"]}]]],[\"priv-option-list\",[[4,\"priv-option-list\",{\"multiple\":[4],\"search\":[4],\"selectAll\":[4,\"select-all\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"optgroupLabel\":[1,\"optgroup-label\"],\"maxHeight\":[1,\"max-height\"],\"upwardsHeightLimit\":[2,\"upwards-height-limit\"],\"announcement\":[32],\"searchTerm\":[32],\"handleChildChange\":[64],\"clearSearch\":[64],\"focusOption\":[64],\"handleInitialFocus\":[64],\"unfocusAll\":[64],\"updateOptionVisibility\":[64]},[[0,\"wmLetterPressed\",\"findAndFocusOption\"],[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"wmKeyUpPressed\",\"handleChildUp\"],[0,\"wmKeyDownPressed\",\"handleChildDown\"],[0,\"wmHomeKeyPressed\",\"moveToFirstOption\"],[0,\"wmEndKeyPressed\",\"moveToLastOption\"],[0,\"intCloneClicked\",\"handleOptionCloneSelection\"]]]]],[\"wm-button\",[[17,\"wm-button\",{\"disabled\":[516],\"buttonType\":[1025,\"button-type\"],\"icon\":[1537],\"iconSize\":[1,\"icon-size\"],\"iconRotate\":[2,\"icon-rotate\"],\"iconFlip\":[1,\"icon-flip\"],\"tooltip\":[1537],\"labelForIdenticalButtons\":[1,\"label-for-identical-buttons\"],\"tooltipPosition\":[1,\"tooltip-position\"],\"permanentlyDelete\":[4,\"permanently-delete\"],\"textWrap\":[4,\"text-wrap\"],\"customBackground\":[1,\"custom-background\"],\"isSubmit\":[4,\"is-submit\"],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[11,\"scroll\",\"handleScroll\"],[0,\"keydown\",\"handleKeydown\"]],{\"buttonType\":[\"validateType\"],\"icon\":[\"updateIcon\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"wm-action-menu_2\",[[17,\"wm-action-menu\",{\"tooltipPosition\":[1,\"tooltip-position\"],\"actionMenuType\":[1,\"action-menu-type\"],\"buttonText\":[1,\"button-text\"],\"disabled\":[516],\"tooltip\":[1],\"labelForIdenticalButtons\":[1,\"label-for-identical-buttons\"],\"darkMode\":[4,\"dark-mode\"],\"isExpanded\":[32]},[[0,\"wmMenuitemClicked\",\"handleClickedItem\"],[0,\"wmKeyUpPressed\",\"handleKeyUp\"],[0,\"wmKeyDownPressed\",\"handleKeyDown\"],[0,\"wmHomeKeyPressed\",\"handleHomeKey\"],[0,\"wmEndKeyPressed\",\"handleEndKey\"],[0,\"wmTabKeyPressed\",\"handleTabKey\"],[0,\"wmEscKeyPressed\",\"handleEscKey\"],[0,\"keydown\",\"handleKey\"],[0,\"wmMenuitemBlurred\",\"handleMenuitemBlur\"],[0,\"wmLetterPressed\",\"findAndFocusItem\"]]],[1,\"wm-menuitem\",{\"disabled\":[4],\"icon\":[1025],\"description\":[1]},[[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleClick\"],[0,\"blur\",\"handleBlur\"]],{\"disabled\":[\"setOnClick\"]}]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"wm-tab-item_3\",[[17,\"wm-tab-list\",{\"customBackground\":[1,\"custom-background\"],\"customPadding\":[1,\"custom-padding\"],\"selectedTab\":[1,\"selected-tab\"]},[[0,\"tabItemLoaded\",\"tabItemLoaded\"],[0,\"keydownOnTabItem\",\"handleKeydown\"]],{\"selectedTab\":[\"setSelected\"]}],[17,\"wm-tab-item\",{\"selected\":[4],\"show\":[4],\"tabId\":[1,\"tab-id\"]}],[0,\"wm-tab-panel\",{\"active\":[1028],\"tabId\":[1025,\"tab-id\"]}]]],[\"wm-file\",[[17,\"wm-file\",{\"name\":[1],\"type\":[1],\"fileActions\":[1,\"file-actions\"],\"lastUpdated\":[1,\"last-updated\"],\"progress\":[514],\"size\":[1],\"uploadedBy\":[1,\"uploaded-by\"],\"errorMessage\":[1,\"error-message\"],\"showInfo\":[1025,\"show-info\"]}]]],[\"wm-modal-pss_3\",[[0,\"wm-modal-pss-footer\",{\"secondaryText\":[1,\"secondary-text\"],\"primaryText\":[1,\"primary-text\"],\"infoText\":[1,\"info-text\"],\"primaryActionDisabled\":[4,\"primary-action-disabled\"],\"deleteStyle\":[4,\"delete-style\"]}],[0,\"wm-modal-pss-header\",{\"heading\":[1],\"subheading\":[1]}],[0,\"wm-modal-pss\",{\"open\":[1540],\"elementToFocus\":[1025,\"element-to-focus\"],\"modalType\":[513,\"modal-type\"],\"uid\":[1537],\"emitCloseEvent\":[64],\"emitPrimaryEvent\":[64],\"emitSecondaryEvent\":[64]},[[0,\"click\",\"handleClick\"],[0,\"keydown\",\"closeModalOnEscape\"]],{\"open\":[\"toggleModal\"]}]]],[\"wm-modal_3\",[[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\"]}],[0,\"wm-modal-header\",{\"heading\":[1],\"subheading\":[1]}],[4,\"wm-modal\",{\"open\":[1540],\"elementToFocus\":[1025,\"element-to-focus\"],\"modalType\":[513,\"modal-type\"],\"uid\":[1537],\"returnFocusEl\":[32],\"emitCloseEvent\":[64],\"emitPrimaryEvent\":[64],\"emitSecondaryEvent\":[64]},null,{\"open\":[\"toggleModal\"]}]]],[\"wm-navigator\",[[17,\"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],\"itemIndexToFocus\":[32]},[[0,\"keydown\",\"handleKeys\"],[0,\"keydownOnNavItem\",\"handleKeydown\"],[4,\"click\",\"handleClick\"],[0,\"buttonActivated\",\"handleButtonClick\"]],{\"products\":[\"parseData\"]}]]],[\"wm-optgroup\",[[17,\"wm-optgroup\",{\"label\":[1],\"isExpanded\":[1028,\"is-expanded\"],\"multiple\":[1028],\"disabled\":[4],\"emitDeselection\":[64],\"handleChildChange\":[64]},[[0,\"wmKeyLeftPressed\",\"handleOptionKeyLeft\"]],{\"isExpanded\":[\"isExpandedChanged\"]}]]],[\"wm-navigation_3\",[[17,\"wm-navigation\",{\"open\":[1540]},[[0,\"keydown\",\"closeOnEscape\"],[9,\"resize\",\"handleWindowResize\"],[8,\"wmNavigationHamburgerClicked\",\"handleHamburgerClicked\"],[0,\"wmNavigationItemClicked\",\"handleClickOnItem\"]],{\"open\":[\"handleStateChange\"]}],[17,\"wm-navigation-hamburger\",{\"navId\":[1,\"nav-id\"],\"isTabbing\":[32],\"open\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[4,\"wmNavigationStateChanged\",\"handleNavigationStateChanged\"]]],[17,\"wm-navigation-item\",{\"href\":[1],\"text\":[1],\"active\":[4]}]]],[\"wm-progress-indicator_3\",[[17,\"wm-progress-indicator\",{\"label\":[1],\"subinfo\":[1],\"completionMessage\":[1,\"completion-message\"],\"showLegend\":[4,\"show-legend\"],\"printMode\":[4,\"print-mode\"],\"printModeFormat\":[1,\"print-mode-format\"],\"isTabbing\":[32],\"mode\":[32],\"userIsNavigating\":[32],\"focusedSliceId\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmProgressSliceUpdated\",\"handleSliceUpdate\"]],{\"mode\":[\"handleModeUpdate\"]}],[17,\"wm-progress-monitor\",{\"breakpoint\":[8],\"groupLegend\":[1,\"group-legend\"],\"barLabelsWidth\":[1,\"bar-labels-width\"]}],[1,\"wm-progress-slice\",{\"legend\":[1],\"amount\":[1],\"popoverTitle\":[1,\"popover-title\"],\"popoverText\":[1,\"popover-text\"],\"popoverButtonText\":[1,\"popover-button-text\"]}]]],[\"wm-chart\",[[17,\"wm-chart\",{\"chartType\":[1,\"chart-type\"],\"label\":[1],\"labelWidth\":[1,\"label-width\"],\"subinfo\":[1],\"valueFormat\":[1,\"value-format\"],\"showGrid\":[4,\"show-grid\"],\"showLegend\":[4,\"show-legend\"],\"showBarLegend\":[4,\"show-bar-legend\"],\"notStartedColor\":[4,\"not-started-color\"],\"printMode\":[4,\"print-mode\"],\"printModeFormat\":[1,\"print-mode-format\"],\"labelPosition\":[1,\"label-position\"],\"isTabbing\":[32],\"userIsNavigating\":[32],\"focusedSliceId\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"keydown\",\"handleKeydown\"],[0,\"wmChartSliceUpdated\",\"handleSliceUpdate\"]]]]],[\"wm-date-range\",[[17,\"wm-date-range\",{\"dateFormat\":[1,\"date-format\"],\"disabled\":[4],\"errorMessage\":[513,\"error-message\"],\"invalidStart\":[4,\"invalid-start\"],\"invalidEnd\":[4,\"invalid-end\"],\"labelStart\":[1,\"label-start\"],\"labelEnd\":[1,\"label-end\"],\"preselected\":[1],\"requiredField\":[4,\"required-field\"],\"valueStart\":[1025,\"value-start\"],\"valueEnd\":[1025,\"value-end\"],\"availSpace\":[32],\"isExpanded\":[32],\"reformatDate\":[64],\"isValidISO\":[64]},[[0,\"keydown\",\"handleKey\"],[4,\"click\",\"blurHandler\"],[8,\"blur\",\"handleBlurOnWindow\"],[0,\"popupBlurred\",\"handlePopupBlurred\"],[0,\"cellTriggered\",\"handleCellTriggered\"],[0,\"outOfCal\",\"handleOutOfCal\"],[0,\"cellHovered\",\"handleCellHovered\"],[9,\"resize\",\"setAvailSpace\"]],{\"disabled\":[\"handleDisabled\"],\"valueStart\":[\"updateValueStart\"],\"valueEnd\":[\"updateValueEnd\"],\"errorMessage\":[\"handleErrorMessage\"]}]]],[\"wm-datepicker\",[[17,\"wm-datepicker\",{\"value\":[1025],\"disabled\":[4],\"dateFormat\":[1,\"date-format\"],\"errorMessage\":[513,\"error-message\"],\"labelPosition\":[1,\"label-position\"],\"label\":[1],\"requiredField\":[4,\"required-field\"],\"preselected\":[1],\"isExpanded\":[32],\"reformatDate\":[64],\"isValidIso\":[64]},[[0,\"keydown\",\"handleKey\"],[4,\"click\",\"blurHandler\"],[8,\"blur\",\"handleBlurOnWindow\"],[0,\"cellTriggered\",\"handleCellTriggered\"]],{\"disabled\":[\"handleDisabledChange\"],\"value\":[\"updateValue\"],\"errorMessage\":[\"announceError\"]}]]],[\"wm-line-chart\",[[1,\"wm-line-chart\",{\"label\":[1],\"description\":[1],\"xAxisLabel\":[1,\"x-axis-label\"],\"yAxisLabel\":[1,\"y-axis-label\"],\"lineData\":[513,\"line-data\"],\"units\":[1],\"labelWidth\":[1,\"label-width\"],\"highlightQualifier\":[1,\"highlight-qualifier\"],\"highlightStart\":[1,\"highlight-start\"],\"highlightEnd\":[1,\"highlight-end\"],\"visibilityToggles\":[4,\"visibility-toggles\"],\"showDeltas\":[4,\"show-deltas\"],\"yRange\":[1,\"y-range\"],\"parsedLineData\":[32],\"popoverIndex\":[32],\"focusedLine\":[32],\"hiddenLines\":[32],\"isTabbing\":[32],\"intervalSkip\":[32],\"announcement\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]],{\"lineData\":[\"parseData\"],\"intervalSkip\":[\"handleIntervalSkip\"]}]]],[\"wm-search\",[[17,\"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],\"announcement\":[32],\"updateValue\":[64]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"]],{\"numResults\":[\"handleNumResultsUpdate\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"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-file-list\",[[17,\"wm-file-list\",{\"showInfo\":[1,\"show-info\"]}]]],[\"wm-input\",[[17,\"wm-input\",{\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"value\":[1025],\"disabled\":[4],\"info\":[1],\"inputWidth\":[1,\"input-width\"],\"placeholder\":[1],\"requiredField\":[4,\"required-field\"],\"errorMessage\":[1,\"error-message\"],\"characterLimit\":[2,\"character-limit\"],\"symbolBefore\":[1,\"symbol-before\"],\"symbolAfter\":[1,\"symbol-after\"],\"textAfter\":[1,\"text-after\"],\"type\":[1],\"step\":[2],\"min\":[2],\"max\":[2],\"isSubmit\":[4,\"is-submit\"],\"announcement\":[32]},null,{\"disabled\":[\"handleDisabledChange\"],\"errorMessage\":[\"announceError\"]}]]],[\"wm-nested-select\",[[17,\"wm-nested-select\",{\"disabled\":[516],\"maxHeight\":[1,\"max-height\"],\"label\":[1025],\"labelPosition\":[1,\"label-position\"],\"requiredField\":[4,\"required-field\"],\"errorMessage\":[1025,\"error-message\"],\"multiple\":[4],\"search\":[4],\"selectAll\":[4,\"select-all\"],\"placeholder\":[1],\"searchPlaceholder\":[1,\"search-placeholder\"],\"allSelectedMessage\":[1,\"all-selected-message\"],\"constrainedMaxHeight\":[1025,\"constrained-max-height\"],\"isExpanded\":[32],\"showClearSelectionButton\":[32],\"announcement\":[32]},[[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"wmEnterKeyPressed\",\"handleChildEnter\"],[0,\"wmEscKeyPressed\",\"closePopupOnEscape\"],[0,\"keydown\",\"handleKeyDown\"],[6,\"click\",\"handleClick\"],[0,\"optgroupExpanded\",\"handleOptgroupExpanded\"],[0,\"optgroupHidden\",\"handleOptgroupHidden\"]]]]],[\"wm-pagination\",[[17,\"wm-pagination\",{\"currentPage\":[2,\"current-page\"],\"totalItems\":[2,\"total-items\"],\"itemsPerPage\":[2,\"items-per-page\"],\"value\":[2],\"isLargeSize\":[4,\"is-large-size\"],\"srAnnouncement\":[32]},null,{\"totalItems\":[\"calculateTotalPages\"],\"itemsPerPage\":[\"calculateTotalPages\"]}]]],[\"wm-snackbar\",[[1,\"wm-snackbar\",{\"notifications\":[1537],\"isTabbing\":[32],\"announcement\":[32]},[[4,\"keydown\",\"checkForTabbing\"],[5,\"mouseover\",\"handleMouse\"]],{\"notifications\":[\"updateSnacks\"]}]]],[\"wm-tag-input\",[[17,\"wm-tag-input\",{\"label\":[1],\"errorMessage\":[1,\"error-message\"],\"info\":[1],\"labelPosition\":[1,\"label-position\"],\"maxTags\":[2,\"max-tags\"],\"placeholder\":[1025],\"requiredField\":[4,\"required-field\"],\"tagInputType\":[1,\"tag-input-type\"],\"helpText\":[1,\"help-text\"],\"addNew\":[4,\"add-new\"],\"characterLimit\":[2,\"character-limit\"],\"colHeaders\":[1,\"col-headers\"],\"colWidths\":[1,\"col-widths\"],\"colWrap\":[1,\"col-wrap\"],\"isKeying\":[32],\"isExpanded\":[32],\"liveRegionMessage\":[32],\"focusedOption\":[32],\"focusedColumn\":[32],\"focusedTagIndex\":[32],\"tagsList\":[32]},[[8,\"wmUserIsKeying\",\"toggleKeyingOn\"],[8,\"wmUserIsTabbing\",\"toggleKeyingOn\"],[8,\"wmUserIsNotKeying\",\"toggleKeyingOff\"],[8,\"wmUserIsNotTabbing\",\"toggleKeyingOff\"],[0,\"privTagOptionSelected\",\"handleTagOptionSelected\"],[0,\"privTagOptionDeselected\",\"handleTagOptionDeselected\"],[4,\"click\",\"handleClick\"],[11,\"scroll\",\"dismissTooltip\"],[0,\"blur\",\"handleBlur\"]],{\"errorMessage\":[\"announceError\"]}]]],[\"wm-tag-option\",[[0,\"wm-tag-option\",{\"selected\":[1540],\"locked\":[4],\"col1\":[1],\"col2\":[1],\"col3\":[1],\"col4\":[1],\"emitSelectedEvent\":[64],\"emitDeselectedEvent\":[64]},null,{\"selected\":[\"handleSelected\"]}]]],[\"wm-textarea\",[[1,\"wm-textarea\",{\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"value\":[1025],\"disabled\":[4],\"info\":[1],\"placeholder\":[1],\"requiredField\":[4,\"required-field\"],\"errorMessage\":[1,\"error-message\"],\"characterLimit\":[2,\"character-limit\"],\"inputWidth\":[1,\"input-width\"],\"inputHeight\":[1,\"input-height\"],\"announcement\":[32]},null,{\"disabled\":[\"handleDisabledChange\"],\"errorMessage\":[\"announceError\"]}]]],[\"wm-timepicker\",[[17,\"wm-timepicker\",{\"disabled\":[4],\"value\":[1025],\"errorMessage\":[1,\"error-message\"],\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"requiredField\":[4,\"required-field\"],\"preselected\":[1],\"isExpanded\":[32],\"isValidTime\":[64],\"reformatTime\":[64]},[[0,\"keydown\",\"handleKey\"]],{\"disabled\":[\"handleDisabledChange\"],\"value\":[\"handleValueChange\"],\"errorMessage\":[\"announceError\"]}]]],[\"wm-toggletip\",[[17,\"wm-toggletip\",{\"label\":[1],\"tooltip\":[1],\"tooltipPosition\":[1,\"tooltip-position\"],\"targetSize\":[1,\"target-size\"],\"isHidden\":[32]},[[9,\"resize\",\"handleResize\"],[0,\"keydown\",\"handleKeydown\"],[4,\"click\",\"handleClick\"]]]]],[\"wm-uploader\",[[17,\"wm-uploader\",{\"label\":[1],\"uploaderType\":[1,\"uploader-type\"],\"dropArea\":[1,\"drop-area\"],\"buttonText\":[1,\"button-text\"],\"icon\":[1],\"fileTypes\":[1,\"file-types\"],\"maxSize\":[1,\"max-size\"],\"maxFiles\":[2,\"max-files\"],\"errorMessage\":[1,\"error-message\"],\"requiredField\":[4,\"required-field\"],\"showInfo\":[1,\"show-info\"],\"isTabbing\":[32],\"notif\":[32],\"isCondensed\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[0,\"wmFileErrorCleared\",\"handleFileErrorCleared\"],[0,\"wmFileDelete\",\"storeDeletedId\"],[5,\"dragenter\",\"handleDocumentDragEnter\"],[5,\"mouseout\",\"handleDocumentMouseOut\"],[5,\"dragleave\",\"handleDocumentDragLeave\"],[4,\"visibilitychange\",\"handleDocumentVisibilityChange\"]],{\"errorMessage\":[\"announceError\"]}]]],[\"wm-wrapper\",[[0,\"wm-wrapper\"]]],[\"priv-navigator-button\",[[17,\"priv-navigator-button\",{\"expanded\":[1028],\"altText\":[1,\"alt-text\"]}]]],[\"priv-navigator-item\",[[1,\"priv-navigator-item\",{\"selected\":[1028],\"focused\":[1028],\"link\":[1025]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"priv-calendar\",[[0,\"priv-calendar\",{\"disabled\":[4],\"view\":[1025],\"focusDate\":[1025,\"focus-date\"],\"startDate\":[1,\"start-date\"],\"endDate\":[1,\"end-date\"],\"hoverDate\":[1,\"hover-date\"],\"focusFirstFocusable\":[64],\"focusLastFocusable\":[64],\"focusCell\":[64]},[[0,\"keydown\",\"handleKey\"]],{\"focusDate\":[\"handleFocusDate\"]}]]],[\"priv-chart-popover\",[[0,\"priv-chart-popover\",{\"open\":[1028],\"sliceDetails\":[16]},[[4,\"click\",\"handleClickOnDocument\"],[0,\"click\",\"handleClick\"]],{\"open\":[\"handleOpenChange\"],\"sliceDetails\":[\"handleDetailsChange\"]}]]],[\"wm-option_2\",[[17,\"wm-select\",{\"disabled\":[516],\"maxHeight\":[1,\"max-height\"],\"label\":[1025],\"labelPosition\":[1,\"label-position\"],\"requiredField\":[4,\"required-field\"],\"errorMessage\":[1025,\"error-message\"],\"multiple\":[4],\"search\":[4],\"selectAll\":[4,\"select-all\"],\"placeholder\":[1],\"searchPlaceholder\":[1,\"search-placeholder\"],\"allSelectedMessage\":[1,\"all-selected-message\"],\"isExpanded\":[32],\"announcement\":[32]},[[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"wmEnterKeyPressed\",\"handleChildEnter\"],[0,\"wmEscKeyPressed\",\"closePopupOnEscape\"],[0,\"wmOptionBlurred\",\"handleOptionBlur\"],[6,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKey\"]],{\"errorMessage\":[\"announceError\"],\"disabled\":[\"handleDisabledChange\"]}],[1,\"wm-option\",{\"value\":[1],\"subinfo\":[1025],\"disabled\":[516],\"selected\":[516],\"focused\":[4],\"searchTerm\":[32]},[[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleSelection\"],[0,\"blur\",\"handleBlur\"]],{\"selected\":[\"syncAriaSelected\"],\"disabled\":[\"syncAriaDisabled\",\"updateDisabledOnClick\"]}]]],[\"priv-option-list\",[[4,\"priv-option-list\",{\"multiple\":[4],\"search\":[4],\"selectAll\":[4,\"select-all\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"optgroupLabel\":[1,\"optgroup-label\"],\"maxHeight\":[1,\"max-height\"],\"upwardsHeightLimit\":[2,\"upwards-height-limit\"],\"announcement\":[32],\"searchTerm\":[32],\"handleChildChange\":[64],\"clearSearch\":[64],\"focusOption\":[64],\"handleInitialFocus\":[64],\"unfocusAll\":[64],\"updateOptionVisibility\":[64]},[[0,\"wmLetterPressed\",\"findAndFocusOption\"],[0,\"wmOptionSelected\",\"handleOptionSelection\"],[0,\"wmKeyUpPressed\",\"handleChildUp\"],[0,\"wmKeyDownPressed\",\"handleChildDown\"],[0,\"wmHomeKeyPressed\",\"moveToFirstOption\"],[0,\"wmEndKeyPressed\",\"moveToLastOption\"],[0,\"intCloneClicked\",\"handleOptionCloneSelection\"]]]]],[\"wm-button\",[[17,\"wm-button\",{\"disabled\":[516],\"buttonType\":[1025,\"button-type\"],\"icon\":[1537],\"iconSize\":[1,\"icon-size\"],\"iconRotate\":[2,\"icon-rotate\"],\"iconFlip\":[1,\"icon-flip\"],\"tooltip\":[1537],\"labelForIdenticalButtons\":[1,\"label-for-identical-buttons\"],\"tooltipPosition\":[1,\"tooltip-position\"],\"permanentlyDelete\":[4,\"permanently-delete\"],\"textWrap\":[4,\"text-wrap\"],\"customBackground\":[1,\"custom-background\"],\"isSubmit\":[4,\"is-submit\"],\"isTabbing\":[32]},[[8,\"wmUserIsTabbing\",\"toggleTabbingOn\"],[8,\"wmUserIsNotTabbing\",\"toggleTabbingOff\"],[11,\"scroll\",\"handleScroll\"],[0,\"keydown\",\"handleKeydown\"]],{\"buttonType\":[\"validateType\"],\"icon\":[\"updateIcon\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"wm-action-menu_2\",[[17,\"wm-action-menu\",{\"tooltipPosition\":[1,\"tooltip-position\"],\"actionMenuType\":[1,\"action-menu-type\"],\"buttonText\":[1,\"button-text\"],\"disabled\":[516],\"tooltip\":[1],\"labelForIdenticalButtons\":[1,\"label-for-identical-buttons\"],\"darkMode\":[4,\"dark-mode\"],\"isExpanded\":[32]},[[0,\"wmMenuitemClicked\",\"handleClickedItem\"],[0,\"wmKeyUpPressed\",\"handleKeyUp\"],[0,\"wmKeyDownPressed\",\"handleKeyDown\"],[0,\"wmHomeKeyPressed\",\"handleHomeKey\"],[0,\"wmEndKeyPressed\",\"handleEndKey\"],[0,\"wmTabKeyPressed\",\"handleTabKey\"],[0,\"wmEscKeyPressed\",\"handleEscKey\"],[0,\"keydown\",\"handleKey\"],[0,\"wmMenuitemBlurred\",\"handleMenuitemBlur\"],[0,\"wmLetterPressed\",\"findAndFocusItem\"]]],[1,\"wm-menuitem\",{\"disabled\":[4],\"icon\":[1025],\"description\":[1]},[[0,\"keydown\",\"handleKeydown\"],[0,\"click\",\"handleClick\"],[0,\"blur\",\"handleBlur\"]],{\"disabled\":[\"setOnClick\"]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|