@descope/web-components-ui 3.26.2 → 3.26.4
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 +8 -5
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -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/2540.js +1 -1
- package/dist/umd/2540.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-password-strength.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +45 -45
- package/src/components/descope-date-field/DateFieldClass.js +1 -1
- 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
|
|
|
@@ -25013,7 +25013,7 @@ class RawPasswordStrength extends createBaseClass$1({
|
|
|
25013
25013
|
}
|
|
25014
25014
|
|
|
25015
25015
|
// 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);
|
|
25016
|
+
getCalcScoreFn = () => Promise.resolve().then(function () { return calcScore$1; }).then(module => module.default);
|
|
25017
25017
|
|
|
25018
25018
|
#score = -1;
|
|
25019
25019
|
|
|
@@ -36772,11 +36772,14 @@ const options = {
|
|
|
36772
36772
|
...zxcvbnEnPackage.dictionary,
|
|
36773
36773
|
},
|
|
36774
36774
|
};
|
|
36775
|
-
zxcvbnOptions.setOptions(options);
|
|
36776
36775
|
|
|
36777
|
-
|
|
36776
|
+
const scorer = new ZxcvbnFactory(options);
|
|
36777
|
+
|
|
36778
|
+
var calcScore = (password) => scorer.check(password);
|
|
36779
|
+
|
|
36780
|
+
var calcScore$1 = /*#__PURE__*/Object.freeze({
|
|
36778
36781
|
__proto__: null,
|
|
36779
|
-
default:
|
|
36782
|
+
default: calcScore,
|
|
36780
36783
|
options: options
|
|
36781
36784
|
});
|
|
36782
36785
|
|