@schukai/monster 3.95.2 → 3.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/source/components/datatable/dataset.mjs +23 -19
- package/source/components/datatable/datasource/dom.mjs +4 -6
- package/source/components/datatable/datasource/rest.mjs +469 -471
- package/source/components/datatable/datasource.mjs +0 -8
- package/source/components/datatable/pagination.mjs +433 -439
- package/source/components/datatable/status.mjs +1 -3
- package/source/components/datatable/stylesheet/pagination.mjs +13 -6
- package/source/components/datatable/util.mjs +1 -1
- package/source/components/form/select.mjs +1 -1
- package/source/components/form/toggle-switch.mjs +2 -6
- package/source/components/layout/tabs.mjs +897 -895
- package/source/components/notify/message.mjs +10 -14
- package/source/components/notify/notify.mjs +9 -13
- package/source/components/notify/stylesheet/notify.mjs +13 -6
- package/source/components/state/log.mjs +184 -184
- package/source/components/state/stylesheet/log.mjs +13 -6
- package/source/data/datasource/server/restapi.mjs +2 -3
- package/source/data/transformer.mjs +803 -806
- package/source/dom/customelement.mjs +0 -34
- package/source/dom/updater.mjs +767 -767
- package/source/i18n/time-ago.mjs +1352 -636
- package/source/monster.mjs +2 -0
- package/source/types/has.mjs +3 -6
- package/source/types/version.mjs +1 -1
- package/test/cases/components/form/form.mjs +166 -125
- package/test/cases/monster.mjs +1 -1
- package/test/web/import.js +1 -0
- package/test/web/test.html +2 -2
- package/test/web/tests.js +2080 -1433
@@ -219,40 +219,6 @@ class CustomElement extends HTMLElement {
|
|
219
219
|
return Symbol.for("@schukai/monster/dom/custom-element@@instance");
|
220
220
|
}
|
221
221
|
|
222
|
-
// /**
|
223
|
-
// * This method is called by the `instanceof` operator.
|
224
|
-
// *
|
225
|
-
// * @param instance
|
226
|
-
// * @returns {arg is any[]}
|
227
|
-
// */
|
228
|
-
// static [Symbol.hasInstance](instance) {
|
229
|
-
// if (!isObject(instance)) {
|
230
|
-
// return false;
|
231
|
-
// }
|
232
|
-
// debugger
|
233
|
-
// const instanceSym = instance?.[instanceSymbol];
|
234
|
-
// if (instanceSym === undefined) {
|
235
|
-
// return false;
|
236
|
-
// }
|
237
|
-
//
|
238
|
-
// // Direktes Matching des Symbols
|
239
|
-
// if (instanceSym === this[instanceSymbol]) {
|
240
|
-
// return true;
|
241
|
-
// }
|
242
|
-
//
|
243
|
-
// // Prüfe den Prototypenbaum des Objekts für eine Übereinstimmung
|
244
|
-
// let proto = Object.getPrototypeOf(instance);
|
245
|
-
// while (proto) {
|
246
|
-
// const protoSymbol = proto.constructor?.[instanceSymbol];
|
247
|
-
// if (protoSymbol === this[instanceSymbol]) {
|
248
|
-
// return true;
|
249
|
-
// }
|
250
|
-
// proto = Object.getPrototypeOf(proto); // Gehe weiter den Prototypenbaum entlang
|
251
|
-
// }
|
252
|
-
//
|
253
|
-
// return false;
|
254
|
-
// }
|
255
|
-
|
256
222
|
/**
|
257
223
|
* This method determines which attributes are to be
|
258
224
|
* monitored by `attributeChangedCallback()`. Unfortunately, this method is static.
|