@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.
@@ -9392,7 +9392,7 @@ class RawPasswordStrength extends createBaseClass$1({
9392
9392
  }
9393
9393
 
9394
9394
  // we need to have the option to take the zxcvbn from outside the component
9395
- getCalcScoreFn = () => Promise.resolve().then(function () { return calcScore; }).then(module => module.default);
9395
+ getCalcScoreFn = () => Promise.resolve().then(function () { return calcScore$1; }).then(module => module.default);
9396
9396
 
9397
9397
  #score = -1;
9398
9398
 
@@ -31219,7 +31219,7 @@ class RawDateFieldClass extends BaseInputClass$2 {
31219
31219
  return { valueMissing: true };
31220
31220
  }
31221
31221
 
31222
- if (this.isCountersOutOfRange || this.isInvalidDate()) {
31222
+ if (!this.isCountersEmpty && (this.isCountersOutOfRange || this.isInvalidDate())) {
31223
31223
  return { patternMismatch: true };
31224
31224
  }
31225
31225
 
@@ -34070,11 +34070,14 @@ const options = {
34070
34070
  ...zxcvbnEnPackage__namespace.dictionary,
34071
34071
  },
34072
34072
  };
34073
- core.zxcvbnOptions.setOptions(options);
34074
34073
 
34075
- var calcScore = /*#__PURE__*/Object.freeze({
34074
+ const scorer = new core.ZxcvbnFactory(options);
34075
+
34076
+ var calcScore = (password) => scorer.check(password);
34077
+
34078
+ var calcScore$1 = /*#__PURE__*/Object.freeze({
34076
34079
  __proto__: null,
34077
- default: core.zxcvbn,
34080
+ default: calcScore,
34078
34081
  options: options
34079
34082
  });
34080
34083