@schukai/monster 3.86.0 → 3.86.2
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/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/source/components/content/copy.mjs +357 -359
- package/source/components/datatable/columnbar.mjs +5 -8
- package/source/components/datatable/datasource/dom.mjs +0 -1
- package/source/components/datatable/datatable.mjs +741 -741
- package/source/components/datatable/style/column-bar.pcss +27 -19
- package/source/components/datatable/style/datatable.pcss +6 -1
- package/source/components/datatable/stylesheet/column-bar.mjs +1 -1
- package/source/components/datatable/stylesheet/datatable.mjs +14 -7
- package/source/components/datatable/util.mjs +0 -1
- package/source/components/form/button-bar.mjs +1 -3
- package/source/components/form/style/field-set.pcss +41 -56
- package/source/components/form/stylesheet/button-bar.mjs +13 -6
- package/source/components/form/stylesheet/button.mjs +13 -6
- package/source/components/form/stylesheet/confirm-button.mjs +13 -6
- package/source/components/form/stylesheet/field-set.mjs +1 -1
- package/source/components/form/stylesheet/message-state-button.mjs +13 -6
- package/source/components/form/stylesheet/popper-button.mjs +13 -6
- package/source/components/form/stylesheet/select.mjs +13 -6
- package/source/components/form/stylesheet/state-button.mjs +13 -6
- package/source/components/layout/details.mjs +2 -2
- package/source/components/layout/stylesheet/panel.mjs +13 -6
- package/source/types/version.mjs +1 -1
- package/test/cases/monster.mjs +1 -1
- package/test/web/test.html +2 -2
- package/test/web/tests.js +192 -270
|
@@ -55,7 +55,6 @@ const dotsContainerElementSymbol = Symbol("dotsContainerElement");
|
|
|
55
55
|
*/
|
|
56
56
|
const popperInstanceSymbol = Symbol("popperInstance");
|
|
57
57
|
|
|
58
|
-
|
|
59
58
|
/**
|
|
60
59
|
* A column bar for a datatable
|
|
61
60
|
*
|
|
@@ -140,15 +139,15 @@ function initControlReferences() {
|
|
|
140
139
|
this[settingsButtonElementSymbol] = this.shadowRoot.querySelector(
|
|
141
140
|
"[data-monster-role=settings-button]",
|
|
142
141
|
);
|
|
143
|
-
|
|
142
|
+
|
|
144
143
|
this[settingsLayerElementSymbol] = this.shadowRoot.querySelector(
|
|
145
144
|
"[data-monster-role=settings-layer]",
|
|
146
145
|
);
|
|
147
|
-
|
|
146
|
+
|
|
148
147
|
this[dotsContainerElementSymbol] = this.shadowRoot.querySelector(
|
|
149
148
|
"[data-monster-role=dots]",
|
|
150
149
|
);
|
|
151
|
-
|
|
150
|
+
|
|
152
151
|
return this;
|
|
153
152
|
}
|
|
154
153
|
|
|
@@ -176,7 +175,6 @@ function initEventHandler() {
|
|
|
176
175
|
);
|
|
177
176
|
|
|
178
177
|
self[dotsContainerElementSymbol].addEventListener("click", function (event) {
|
|
179
|
-
|
|
180
178
|
const element = findTargetElementFromEvent(
|
|
181
179
|
event,
|
|
182
180
|
"data-monster-role",
|
|
@@ -198,7 +196,6 @@ function initEventHandler() {
|
|
|
198
196
|
});
|
|
199
197
|
|
|
200
198
|
self[settingsButtonEventHandlerSymbol] = (event) => {
|
|
201
|
-
|
|
202
199
|
const clickTarget = event.composedPath()?.[0];
|
|
203
200
|
if (
|
|
204
201
|
self[settingsLayerElementSymbol] === clickTarget ||
|
|
@@ -206,7 +203,7 @@ function initEventHandler() {
|
|
|
206
203
|
) {
|
|
207
204
|
return;
|
|
208
205
|
}
|
|
209
|
-
|
|
206
|
+
|
|
210
207
|
document.body.removeEventListener(
|
|
211
208
|
"click",
|
|
212
209
|
self[settingsButtonEventHandlerSymbol],
|
|
@@ -287,7 +284,7 @@ function getTemplate() {
|
|
|
287
284
|
<div data-monster-insert="column path:columns" data-monster-role="settings-popup-list">
|
|
288
285
|
</div>
|
|
289
286
|
</div>
|
|
290
|
-
|
|
287
|
+
</div>
|
|
291
288
|
`;
|
|
292
289
|
}
|
|
293
290
|
|