@schukai/monster 4.124.0 → 4.124.1
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 +8 -0
- package/package.json +1 -1
- package/source/components/datatable/datatable.mjs +6 -4
- package/source/components/datatable/save-button.mjs +10 -16
- package/source/components/datatable/style/datatable.pcss +6 -1
- package/source/components/datatable/stylesheet/datatable.mjs +1 -1
- package/source/components/form/login.mjs +3 -2
- package/source/components/form/popper-button.mjs +4 -1
- package/source/components/form/select.mjs +3546 -3544
- package/source/components/form/toggle-switch.mjs +465 -465
- package/source/components/host/host.mjs +7 -2
- package/source/components/layout/popper.mjs +4 -1
|
@@ -1490,8 +1490,9 @@ function initEventHandler() {
|
|
|
1490
1490
|
getWindow()
|
|
1491
1491
|
.fetch(url, options)
|
|
1492
1492
|
.then((response) => {
|
|
1493
|
-
const disabledCodes =
|
|
1494
|
-
|
|
1493
|
+
const disabledCodes = this.getOption(
|
|
1494
|
+
"behavior.passwordResetDisabledStatusCodes",
|
|
1495
|
+
) || [401];
|
|
1495
1496
|
const isResetDisabled =
|
|
1496
1497
|
disabledCodes.includes(response.status) &&
|
|
1497
1498
|
response.headers.has("x-password-reset") &&
|
|
@@ -18,7 +18,10 @@ import {
|
|
|
18
18
|
assembleMethodSymbol,
|
|
19
19
|
registerCustomElement,
|
|
20
20
|
} from "../../dom/customelement.mjs";
|
|
21
|
-
import {
|
|
21
|
+
import {
|
|
22
|
+
findElementWithSelectorUpwards,
|
|
23
|
+
getDocument,
|
|
24
|
+
} from "../../dom/util.mjs";
|
|
22
25
|
import { isFunction } from "../../types/is.mjs";
|
|
23
26
|
import { DeadMansSwitch } from "../../util/deadmansswitch.mjs";
|
|
24
27
|
import { Popper } from "../layout/popper.mjs";
|