@schukai/monster 3.58.3 → 3.58.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/source/components/datatable/dataset.mjs +0 -1
- package/source/components/datatable/datatable.mjs +0 -1
- package/source/components/datatable/filter.mjs +32 -28
- package/source/components/datatable/style/filter.pcss +2 -3
- package/source/components/datatable/stylesheet/filter.mjs +1 -1
- package/source/components/form/button-bar.mjs +462 -460
- package/source/components/form/toggle-switch.mjs +3 -3
- package/source/dom/events.mjs +0 -1
- package/source/monster.mjs +0 -1
- package/source/types/version.mjs +1 -1
- package/source/util/freeze.mjs +1 -1
- package/test/cases/monster.mjs +1 -1
@@ -335,7 +335,7 @@ function toggleClassOff() {
|
|
335
335
|
/**
|
336
336
|
* @private
|
337
337
|
*/
|
338
|
-
function toggleClass() {
|
338
|
+
function toggleClass() {
|
339
339
|
if (this.getOption("value") === this.getOption("values.on")) {
|
340
340
|
toggleClassOn.call(this);
|
341
341
|
} else {
|
@@ -346,7 +346,7 @@ function toggleClass() {;
|
|
346
346
|
/**
|
347
347
|
* @private
|
348
348
|
*/
|
349
|
-
function toggleValues() {
|
349
|
+
function toggleValues() {
|
350
350
|
|
351
351
|
if (this.getOption("disabled") === true) {
|
352
352
|
return;
|
@@ -366,7 +366,7 @@ function toggleValues() {;
|
|
366
366
|
/**
|
367
367
|
* @private
|
368
368
|
*/
|
369
|
-
function validateAndSetValue() {
|
369
|
+
function validateAndSetValue() {
|
370
370
|
const value = this.getOption("value");
|
371
371
|
|
372
372
|
const validatedValues = [];
|
package/source/dom/events.mjs
CHANGED
package/source/monster.mjs
CHANGED
package/source/types/version.mjs
CHANGED
package/source/util/freeze.mjs
CHANGED
@@ -24,7 +24,7 @@ function deepFreeze(object) {
|
|
24
24
|
validateObject(object);
|
25
25
|
|
26
26
|
// Retrieve the defined property names of the object
|
27
|
-
|
27
|
+
let propNames = Object.getOwnPropertyNames(object);
|
28
28
|
|
29
29
|
// Freeze properties before freezing yourself
|
30
30
|
for (const name of propNames) {
|
package/test/cases/monster.mjs
CHANGED