@descope/web-components-ui 3.26.3 → 3.26.5
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/dist/cjs/index.cjs.js +9 -5
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1050.js +1 -1
- package/dist/umd/1050.js.map +1 -1
- package/dist/umd/3241.js +1 -1
- package/dist/umd/5414.js +1 -1
- package/dist/umd/5414.js.LICENSE.txt +3 -1
- package/dist/umd/5414.js.map +1 -1
- package/dist/umd/7668.js +2 -0
- package/dist/umd/7668.js.map +1 -0
- package/dist/umd/DescopeDev.js +2 -1
- package/dist/umd/DescopeDev.js.LICENSE.txt +3 -0
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-date-field-index-js.js +1 -1
- package/dist/umd/descope-date-field-index-js.js.map +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js.map +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js.map +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js.map +1 -1
- package/dist/umd/descope-password-strength.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +46 -45
- package/src/components/descope-date-field/DateFieldClass.js +1 -1
- package/src/components/descope-password/PasswordClass.js +2 -0
- package/dist/umd/6558.js +0 -2
- package/dist/umd/6558.js.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -27,7 +27,7 @@ import '@vaadin/email-field';
|
|
|
27
27
|
import '@vaadin/multi-select-combo-box';
|
|
28
28
|
import '@vaadin/avatar';
|
|
29
29
|
import '@vaadin/tooltip';
|
|
30
|
-
import {
|
|
30
|
+
import { ZxcvbnFactory } from '@zxcvbn-ts/core';
|
|
31
31
|
import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common';
|
|
32
32
|
import * as zxcvbnEnPackage from '@zxcvbn-ts/language-en';
|
|
33
33
|
|
|
@@ -9036,7 +9036,7 @@ class RawDateFieldClass extends BaseInputClass$g {
|
|
|
9036
9036
|
return { valueMissing: true };
|
|
9037
9037
|
}
|
|
9038
9038
|
|
|
9039
|
-
if (this.isCountersOutOfRange || this.isInvalidDate()) {
|
|
9039
|
+
if (!this.isCountersEmpty && (this.isCountersOutOfRange || this.isInvalidDate())) {
|
|
9040
9040
|
return { patternMismatch: true };
|
|
9041
9041
|
}
|
|
9042
9042
|
|
|
@@ -10265,6 +10265,7 @@ const PasswordClass = compose(
|
|
|
10265
10265
|
${useHostExternalPadding(PasswordClass.cssVarList)}
|
|
10266
10266
|
${resetInputCursor('vaadin-password-field')}
|
|
10267
10267
|
${resetInputLabelPosition('vaadin-password-field')}
|
|
10268
|
+
${resetInputAutoFill('vaadin-password-field', PasswordClass.cssVarList)}
|
|
10268
10269
|
|
|
10269
10270
|
vaadin-password-field {
|
|
10270
10271
|
width: 100%;
|
|
@@ -25013,7 +25014,7 @@ class RawPasswordStrength extends createBaseClass$1({
|
|
|
25013
25014
|
}
|
|
25014
25015
|
|
|
25015
25016
|
// we need to have the option to take the zxcvbn from outside the component
|
|
25016
|
-
getCalcScoreFn = () => Promise.resolve().then(function () { return calcScore; }).then(module => module.default);
|
|
25017
|
+
getCalcScoreFn = () => Promise.resolve().then(function () { return calcScore$1; }).then(module => module.default);
|
|
25017
25018
|
|
|
25018
25019
|
#score = -1;
|
|
25019
25020
|
|
|
@@ -36772,11 +36773,14 @@ const options = {
|
|
|
36772
36773
|
...zxcvbnEnPackage.dictionary,
|
|
36773
36774
|
},
|
|
36774
36775
|
};
|
|
36775
|
-
zxcvbnOptions.setOptions(options);
|
|
36776
36776
|
|
|
36777
|
-
|
|
36777
|
+
const scorer = new ZxcvbnFactory(options);
|
|
36778
|
+
|
|
36779
|
+
var calcScore = (password) => scorer.check(password);
|
|
36780
|
+
|
|
36781
|
+
var calcScore$1 = /*#__PURE__*/Object.freeze({
|
|
36778
36782
|
__proto__: null,
|
|
36779
|
-
default:
|
|
36783
|
+
default: calcScore,
|
|
36780
36784
|
options: options
|
|
36781
36785
|
});
|
|
36782
36786
|
|