@descope/web-components-ui 1.0.351 → 1.0.353
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +18 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-grid/GridClass.js +8 -0
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +10 -2
package/dist/index.esm.js
CHANGED
@@ -7068,10 +7068,18 @@ class NewPasswordInternal extends BaseInputClass$4 {
|
|
7068
7068
|
renderInputs() {
|
7069
7069
|
const template = `
|
7070
7070
|
<div>
|
7071
|
-
<descope-password
|
7071
|
+
<descope-password
|
7072
|
+
autocomplete="new-password"
|
7073
|
+
manual-visibility-toggle="true"
|
7074
|
+
data-id="password"
|
7075
|
+
></descope-password>
|
7072
7076
|
<descope-policy-validation></descope-policy-validation>
|
7073
7077
|
</div>
|
7074
|
-
<descope-password
|
7078
|
+
<descope-password
|
7079
|
+
autocomplete="new-password"
|
7080
|
+
manual-visibility-toggle="true"
|
7081
|
+
data-id="confirm"
|
7082
|
+
></descope-password>
|
7075
7083
|
`;
|
7076
7084
|
|
7077
7085
|
this.wrapperEle.innerHTML = template;
|
@@ -8776,6 +8784,14 @@ const GridMixin = (superclass) =>
|
|
8776
8784
|
// disable the grid sort
|
8777
8785
|
this.baseElement._mapSorters = () => {};
|
8778
8786
|
|
8787
|
+
// there is an issue in vaadin that on some cases when trying to render the details panel, the row is null and this fn throwing
|
8788
|
+
// so we override it to prevent the error
|
8789
|
+
const origUpdateDetailsCellHeight = this.baseElement._updateDetailsCellHeight;
|
8790
|
+
this.baseElement._updateDetailsCellHeight = (row) => {
|
8791
|
+
if (!row) return;
|
8792
|
+
origUpdateDetailsCellHeight.call(this.baseElement, row);
|
8793
|
+
};
|
8794
|
+
|
8779
8795
|
this.baseElement.rowDetailsRenderer = this.#rowDetailsRenderer.bind(this);
|
8780
8796
|
}
|
8781
8797
|
|