@saasbase-io/core-elements 1.20.0 → 1.21.0

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/index.mjs CHANGED
@@ -22121,16 +22121,16 @@ var Em = Object.defineProperty, km = Object.getOwnPropertyDescriptor, ht = (t, e
22121
22121
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
22122
22122
  return i && s && Em(e, r, s), s;
22123
22123
  };
22124
- let N = class extends v {
22124
+ let P = class extends v {
22125
22125
  constructor() {
22126
22126
  super(...arguments), this.seed = Nt(), this.name = "name", this.content = "split", this.label = "Name", this.requiredError = "Name is a required field.", this.formatError = "Enter a valid name.", this._invalid = !1, this._error = "", this._value = "", this._form = null, this._handleInput = (t) => {
22127
22127
  const e = t.target;
22128
- e.matches(`[part="${N.parts.input}"]>input`) && (this._value = e.value);
22128
+ e.matches(`[part="${P.parts.input}"]>input`) && (this._value = e.value);
22129
22129
  }, this._handleFormSubmit = (t) => {
22130
22130
  this._validate() || t.preventDefault();
22131
22131
  }, this._handleFormReset = () => {
22132
22132
  const t = this.querySelector(
22133
- `rtg-input[part="${N.parts.input}"]`
22133
+ `rtg-input[part="${P.parts.input}"]`
22134
22134
  );
22135
22135
  t && (t.value = ""), this._value = "", this._invalid = !1, this._error = "";
22136
22136
  };
@@ -22159,49 +22159,49 @@ let N = class extends v {
22159
22159
  * derived from the component's part name and `seed`.
22160
22160
  */
22161
22161
  get rootId() {
22162
- return this.childId ?? `sb-${N.parts.root}-${this.seed}`;
22162
+ return this.childId ?? `sb-${P.parts.root}-${this.seed}`;
22163
22163
  }
22164
22164
  /**
22165
22165
  * The `id` of the field content element, derived from `rootId` with the
22166
22166
  * content part name appended.
22167
22167
  */
22168
22168
  get contentId() {
22169
- return `${this.rootId}-${N._CONTENT}`;
22169
+ return `${this.rootId}-${P._CONTENT}`;
22170
22170
  }
22171
22171
  /**
22172
22172
  * The `id` of the field label element, derived from `rootId` with the label
22173
22173
  * part name appended.
22174
22174
  */
22175
22175
  get labelId() {
22176
- return `${this.rootId}-${N._LABEL}`;
22176
+ return `${this.rootId}-${P._LABEL}`;
22177
22177
  }
22178
22178
  /**
22179
22179
  * The `id` of the field description element, derived from `rootId` with the
22180
22180
  * description part name appended.
22181
22181
  */
22182
22182
  get descriptionId() {
22183
- return `${this.rootId}-${N._DESCRIPTION}`;
22183
+ return `${this.rootId}-${P._DESCRIPTION}`;
22184
22184
  }
22185
22185
  /**
22186
22186
  * The `id` of the mark element, derived from `rootId` with the mark part name
22187
22187
  * appended.
22188
22188
  */
22189
22189
  get markId() {
22190
- return `${this.rootId}-${N._MARK}`;
22190
+ return `${this.rootId}-${P._MARK}`;
22191
22191
  }
22192
22192
  /**
22193
22193
  * The `id` of the input element, equal to `fieldId` when provided, otherwise
22194
22194
  * derived from `rootId` with the input part name appended.
22195
22195
  */
22196
22196
  get inputId() {
22197
- return this.fieldId ?? `${this.rootId}-${N._INPUT}`;
22197
+ return this.fieldId ?? `${this.rootId}-${P._INPUT}`;
22198
22198
  }
22199
22199
  /**
22200
22200
  * The `id` of the field error element, derived from `rootId` with the error
22201
22201
  * part name appended.
22202
22202
  */
22203
22203
  get errorId() {
22204
- return `${this.rootId}-${N._ERROR}`;
22204
+ return `${this.rootId}-${P._ERROR}`;
22205
22205
  }
22206
22206
  /**
22207
22207
  * Returns the normalized value of `_value` by trimming leading/trailing
@@ -22227,7 +22227,7 @@ let N = class extends v {
22227
22227
  * `pattern` prop when provided, otherwise falling back to `_PATTERN`.
22228
22228
  */
22229
22229
  get _pattern() {
22230
- return this.pattern ? new RegExp(this.pattern) : N._PATTERN;
22230
+ return this.pattern ? new RegExp(this.pattern) : P._PATTERN;
22231
22231
  }
22232
22232
  /**
22233
22233
  * Adds the input, form submit, and form reset event listeners.
@@ -22254,7 +22254,7 @@ let N = class extends v {
22254
22254
  * Defines and dispatches the validate event.
22255
22255
  */
22256
22256
  _dispatchValidate(t, e, r, i) {
22257
- const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(N.validateEventName, {
22257
+ const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(P.validateEventName, {
22258
22258
  detail: { id: s, parentId: o, name: n, value: r, valid: t, type: e, message: i },
22259
22259
  bubbles: !0,
22260
22260
  composed: !0
@@ -22329,7 +22329,7 @@ let N = class extends v {
22329
22329
  return !this.mark && (!this.caret || !this.required) ? g : d`
22330
22330
  <span
22331
22331
  id="${this.markId}"
22332
- part="${N.parts.mark}"
22332
+ part="${P.parts.mark}"
22333
22333
  data-content="${this.mark ? "text" : "caret"}"
22334
22334
  >
22335
22335
  ${this.mark ? this.mark : d`&ast;`}
@@ -22343,7 +22343,7 @@ let N = class extends v {
22343
22343
  return d`
22344
22344
  <rtg-field-label
22345
22345
  id="${this.labelId}"
22346
- part="${N.parts.label}"
22346
+ part="${P.parts.label}"
22347
22347
  for="${this.inputId}"
22348
22348
  >
22349
22349
  ${this.label} ${this._renderMark()}
@@ -22357,7 +22357,7 @@ let N = class extends v {
22357
22357
  return this.description ? d`
22358
22358
  <rtg-field-description
22359
22359
  id="${this.descriptionId}"
22360
- part="${N.parts.description}"
22360
+ part="${P.parts.description}"
22361
22361
  >
22362
22362
  ${this.description}
22363
22363
  </rtg-field-description>
@@ -22371,7 +22371,7 @@ let N = class extends v {
22371
22371
  return this._invalid ? d`
22372
22372
  <rtg-field-error
22373
22373
  id="${this.errorId}"
22374
- part="${N.parts.error}"
22374
+ part="${P.parts.error}"
22375
22375
  .errors=${[{ message: this._error }]}
22376
22376
  ></rtg-field-error>
22377
22377
  ` : g;
@@ -22381,7 +22381,7 @@ let N = class extends v {
22381
22381
  return d`
22382
22382
  <rtg-field
22383
22383
  id="${this.rootId}"
22384
- part="${N.parts.root}"
22384
+ part="${P.parts.root}"
22385
22385
  data-content="${this.content}"
22386
22386
  ?disabled="${this.disabled}"
22387
22387
  ?invalid="${this._invalid}"
@@ -22389,7 +22389,7 @@ let N = class extends v {
22389
22389
  ${this.content === "group" ? d`
22390
22390
  <rtg-field-content
22391
22391
  id="${this.contentId}"
22392
- part="${N.parts.content}"
22392
+ part="${P.parts.content}"
22393
22393
  >
22394
22394
  ${this._renderLabel()} ${this._renderDescription()}
22395
22395
  </rtg-field-content>
@@ -22397,7 +22397,7 @@ let N = class extends v {
22397
22397
 
22398
22398
  <rtg-input
22399
22399
  id="${this.inputId}"
22400
- part="${N.parts.input}"
22400
+ part="${P.parts.input}"
22401
22401
  type="text"
22402
22402
  name="${this.name}"
22403
22403
  placeholder="${this.placeholder ?? g}"
@@ -22415,84 +22415,84 @@ let N = class extends v {
22415
22415
  `;
22416
22416
  }
22417
22417
  };
22418
- N._ROOT = "name-field";
22419
- N._CONTENT = "content";
22420
- N._LABEL = "label";
22421
- N._MARK = "mark";
22422
- N._DESCRIPTION = "description";
22423
- N._INPUT = "input";
22424
- N._ERROR = "error";
22425
- N.TAG = `sb-${N._ROOT}`;
22426
- N._PATTERN = /^[\p{L} .'-]*$/u;
22418
+ P._ROOT = "name-field";
22419
+ P._CONTENT = "content";
22420
+ P._LABEL = "label";
22421
+ P._MARK = "mark";
22422
+ P._DESCRIPTION = "description";
22423
+ P._INPUT = "input";
22424
+ P._ERROR = "error";
22425
+ P.TAG = `sb-${P._ROOT}`;
22426
+ P._PATTERN = /^[\p{L} .'-]*$/u;
22427
22427
  ht([
22428
22428
  a({ type: String })
22429
- ], N.prototype, "seed", 2);
22429
+ ], P.prototype, "seed", 2);
22430
22430
  ht([
22431
22431
  a({ attribute: "child-id", type: String })
22432
- ], N.prototype, "childId", 2);
22432
+ ], P.prototype, "childId", 2);
22433
22433
  ht([
22434
22434
  a({ attribute: "field-id", type: String })
22435
- ], N.prototype, "fieldId", 2);
22435
+ ], P.prototype, "fieldId", 2);
22436
22436
  ht([
22437
22437
  a({ type: String })
22438
- ], N.prototype, "name", 2);
22438
+ ], P.prototype, "name", 2);
22439
22439
  ht([
22440
22440
  a({ type: String })
22441
- ], N.prototype, "content", 2);
22441
+ ], P.prototype, "content", 2);
22442
22442
  ht([
22443
22443
  a({ type: String })
22444
- ], N.prototype, "label", 2);
22444
+ ], P.prototype, "label", 2);
22445
22445
  ht([
22446
22446
  a({ type: String })
22447
- ], N.prototype, "placeholder", 2);
22447
+ ], P.prototype, "placeholder", 2);
22448
22448
  ht([
22449
22449
  a({ type: String })
22450
- ], N.prototype, "description", 2);
22450
+ ], P.prototype, "description", 2);
22451
22451
  ht([
22452
22452
  a({ type: String })
22453
- ], N.prototype, "mark", 2);
22453
+ ], P.prototype, "mark", 2);
22454
22454
  ht([
22455
22455
  a({ type: Boolean })
22456
- ], N.prototype, "caret", 2);
22456
+ ], P.prototype, "caret", 2);
22457
22457
  ht([
22458
22458
  a({ type: Boolean })
22459
- ], N.prototype, "disabled", 2);
22459
+ ], P.prototype, "disabled", 2);
22460
22460
  ht([
22461
22461
  a({ type: Boolean })
22462
- ], N.prototype, "required", 2);
22462
+ ], P.prototype, "required", 2);
22463
22463
  ht([
22464
22464
  a({ type: Number })
22465
- ], N.prototype, "minlength", 2);
22465
+ ], P.prototype, "minlength", 2);
22466
22466
  ht([
22467
22467
  a({ type: Number })
22468
- ], N.prototype, "maxlength", 2);
22468
+ ], P.prototype, "maxlength", 2);
22469
22469
  ht([
22470
22470
  a({ type: String })
22471
- ], N.prototype, "pattern", 2);
22471
+ ], P.prototype, "pattern", 2);
22472
22472
  ht([
22473
22473
  a({ attribute: "required-error", type: String })
22474
- ], N.prototype, "requiredError", 2);
22474
+ ], P.prototype, "requiredError", 2);
22475
22475
  ht([
22476
22476
  a({ attribute: "minlength-error", type: String })
22477
- ], N.prototype, "minlengthError", 2);
22477
+ ], P.prototype, "minlengthError", 2);
22478
22478
  ht([
22479
22479
  a({ attribute: "maxlength-error", type: String })
22480
- ], N.prototype, "maxlengthError", 2);
22480
+ ], P.prototype, "maxlengthError", 2);
22481
22481
  ht([
22482
22482
  a({ attribute: "format-error", type: String })
22483
- ], N.prototype, "formatError", 2);
22483
+ ], P.prototype, "formatError", 2);
22484
22484
  ht([
22485
22485
  x()
22486
- ], N.prototype, "_invalid", 2);
22486
+ ], P.prototype, "_invalid", 2);
22487
22487
  ht([
22488
22488
  x()
22489
- ], N.prototype, "_error", 2);
22489
+ ], P.prototype, "_error", 2);
22490
22490
  ht([
22491
22491
  x()
22492
- ], N.prototype, "_value", 2);
22493
- N = ht([
22492
+ ], P.prototype, "_value", 2);
22493
+ P = ht([
22494
22494
  u("sb-name-field")
22495
- ], N);
22495
+ ], P);
22496
22496
  var Rm = Object.defineProperty, Om = Object.getOwnPropertyDescriptor, Ot = (t, e, r, i) => {
22497
22497
  for (var s = i > 1 ? void 0 : i ? Om(e, r) : e, o = t.length - 1, n; o >= 0; o--)
22498
22498
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
@@ -22811,16 +22811,16 @@ var Im = Object.defineProperty, Am = Object.getOwnPropertyDescriptor, pt = (t, e
22811
22811
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
22812
22812
  return i && s && Im(e, r, s), s;
22813
22813
  };
22814
- let P = class extends v {
22814
+ let N = class extends v {
22815
22815
  constructor() {
22816
22816
  super(...arguments), this.seed = Nt(), this.name = "username", this.content = "split", this.label = "Username", this.requiredError = "Username is a required field.", this.formatError = "Enter a valid username.", this._invalid = !1, this._error = "", this._value = "", this._form = null, this._handleInput = (t) => {
22817
22817
  const e = t.target;
22818
- e.matches(`[part="${P.parts.input}"]>input`) && (this._value = e.value);
22818
+ e.matches(`[part="${N.parts.input}"]>input`) && (this._value = e.value);
22819
22819
  }, this._handleFormSubmit = (t) => {
22820
22820
  this._validate() || t.preventDefault();
22821
22821
  }, this._handleFormReset = () => {
22822
22822
  const t = this.querySelector(
22823
- `rtg-input[part="${P.parts.input}"]`
22823
+ `rtg-input[part="${N.parts.input}"]`
22824
22824
  );
22825
22825
  t && (t.value = ""), this._value = "", this._invalid = !1, this._error = "";
22826
22826
  };
@@ -22849,49 +22849,49 @@ let P = class extends v {
22849
22849
  * derived from the component's part name and `seed`.
22850
22850
  */
22851
22851
  get rootId() {
22852
- return this.childId ?? `sb-${P.parts.root}-${this.seed}`;
22852
+ return this.childId ?? `sb-${N.parts.root}-${this.seed}`;
22853
22853
  }
22854
22854
  /**
22855
22855
  * The `id` of the field content element, derived from `rootId` with the
22856
22856
  * content part name appended.
22857
22857
  */
22858
22858
  get contentId() {
22859
- return `${this.rootId}-${P._CONTENT}`;
22859
+ return `${this.rootId}-${N._CONTENT}`;
22860
22860
  }
22861
22861
  /**
22862
22862
  * The `id` of the field label element, derived from `rootId` with the label
22863
22863
  * part name appended.
22864
22864
  */
22865
22865
  get labelId() {
22866
- return `${this.rootId}-${P._LABEL}`;
22866
+ return `${this.rootId}-${N._LABEL}`;
22867
22867
  }
22868
22868
  /**
22869
22869
  * The `id` of the field description element, derived from `rootId` with the
22870
22870
  * description part name appended.
22871
22871
  */
22872
22872
  get descriptionId() {
22873
- return `${this.rootId}-${P._DESCRIPTION}`;
22873
+ return `${this.rootId}-${N._DESCRIPTION}`;
22874
22874
  }
22875
22875
  /**
22876
22876
  * The `id` of the mark element, derived from `rootId` with the mark part name
22877
22877
  * appended.
22878
22878
  */
22879
22879
  get markId() {
22880
- return `${this.rootId}-${P._MARK}`;
22880
+ return `${this.rootId}-${N._MARK}`;
22881
22881
  }
22882
22882
  /**
22883
22883
  * The `id` of the input element, equal to `fieldId` when provided, otherwise
22884
22884
  * derived from `rootId` with the input part name appended.
22885
22885
  */
22886
22886
  get inputId() {
22887
- return this.fieldId ?? `${this.rootId}-${P._INPUT}`;
22887
+ return this.fieldId ?? `${this.rootId}-${N._INPUT}`;
22888
22888
  }
22889
22889
  /**
22890
22890
  * The `id` of the field error element, derived from `rootId` with the error
22891
22891
  * part name appended.
22892
22892
  */
22893
22893
  get errorId() {
22894
- return `${this.rootId}-${P._ERROR}`;
22894
+ return `${this.rootId}-${N._ERROR}`;
22895
22895
  }
22896
22896
  /**
22897
22897
  * Returns a the normalized value of `_value` by trimming whitespace and
@@ -22917,7 +22917,7 @@ let P = class extends v {
22917
22917
  * `pattern` prop when provided, otherwise falling back to `_PATTERN`.
22918
22918
  */
22919
22919
  get _pattern() {
22920
- return this.pattern ? new RegExp(this.pattern) : P._PATTERN;
22920
+ return this.pattern ? new RegExp(this.pattern) : N._PATTERN;
22921
22921
  }
22922
22922
  /**
22923
22923
  * Adds the input, form submit, and form reset event listeners.
@@ -22944,7 +22944,7 @@ let P = class extends v {
22944
22944
  * Defines and dispatches the validate event.
22945
22945
  */
22946
22946
  _dispatchValidate(t, e, r, i) {
22947
- const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(P.validateEventName, {
22947
+ const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(N.validateEventName, {
22948
22948
  detail: { id: s, parentId: o, name: n, value: r, valid: t, type: e, message: i },
22949
22949
  bubbles: !0,
22950
22950
  composed: !0
@@ -23019,7 +23019,7 @@ let P = class extends v {
23019
23019
  return !this.mark && (!this.caret || !this.required) ? g : d`
23020
23020
  <span
23021
23021
  id="${this.markId}"
23022
- part="${P.parts.mark}"
23022
+ part="${N.parts.mark}"
23023
23023
  data-content="${this.mark ? "text" : "caret"}"
23024
23024
  >
23025
23025
  ${this.mark ? this.mark : d`&ast;`}
@@ -23033,7 +23033,7 @@ let P = class extends v {
23033
23033
  return d`
23034
23034
  <rtg-field-label
23035
23035
  id="${this.labelId}"
23036
- part="${P.parts.label}"
23036
+ part="${N.parts.label}"
23037
23037
  for="${this.inputId}"
23038
23038
  >
23039
23039
  ${this.label} ${this._renderMark()}
@@ -23047,7 +23047,7 @@ let P = class extends v {
23047
23047
  return this.description ? d`
23048
23048
  <rtg-field-description
23049
23049
  id="${this.descriptionId}"
23050
- part="${P.parts.description}"
23050
+ part="${N.parts.description}"
23051
23051
  >
23052
23052
  ${this.description}
23053
23053
  </rtg-field-description>
@@ -23061,7 +23061,7 @@ let P = class extends v {
23061
23061
  return this._invalid ? d`
23062
23062
  <rtg-field-error
23063
23063
  id="${this.errorId}"
23064
- part="${P.parts.error}"
23064
+ part="${N.parts.error}"
23065
23065
  .errors=${[{ message: this._error }]}
23066
23066
  ></rtg-field-error>
23067
23067
  ` : g;
@@ -23071,7 +23071,7 @@ let P = class extends v {
23071
23071
  return d`
23072
23072
  <rtg-field
23073
23073
  id="${this.rootId}"
23074
- part="${P.parts.root}"
23074
+ part="${N.parts.root}"
23075
23075
  data-content="${this.content}"
23076
23076
  ?disabled="${this.disabled}"
23077
23077
  ?invalid="${this._invalid}"
@@ -23079,7 +23079,7 @@ let P = class extends v {
23079
23079
  ${this.content === "group" ? d`
23080
23080
  <rtg-field-content
23081
23081
  id="${this.contentId}"
23082
- part="${P.parts.content}"
23082
+ part="${N.parts.content}"
23083
23083
  >
23084
23084
  ${this._renderLabel()} ${this._renderDescription()}
23085
23085
  </rtg-field-content>
@@ -23087,7 +23087,7 @@ let P = class extends v {
23087
23087
 
23088
23088
  <rtg-input
23089
23089
  id="${this.inputId}"
23090
- part="${P.parts.input}"
23090
+ part="${N.parts.input}"
23091
23091
  type="text"
23092
23092
  name="${this.name}"
23093
23093
  placeholder="${this.placeholder ?? g}"
@@ -23105,84 +23105,84 @@ let P = class extends v {
23105
23105
  `;
23106
23106
  }
23107
23107
  };
23108
- P._ROOT = "username-field";
23109
- P._CONTENT = "content";
23110
- P._LABEL = "label";
23111
- P._MARK = "mark";
23112
- P._DESCRIPTION = "description";
23113
- P._INPUT = "input";
23114
- P._ERROR = "error";
23115
- P.TAG = `sb-${P._ROOT}`;
23116
- P._PATTERN = /^[a-z0-9_]*$/;
23108
+ N._ROOT = "username-field";
23109
+ N._CONTENT = "content";
23110
+ N._LABEL = "label";
23111
+ N._MARK = "mark";
23112
+ N._DESCRIPTION = "description";
23113
+ N._INPUT = "input";
23114
+ N._ERROR = "error";
23115
+ N.TAG = `sb-${N._ROOT}`;
23116
+ N._PATTERN = /^[a-z0-9_]*$/;
23117
23117
  pt([
23118
23118
  a({ type: String })
23119
- ], P.prototype, "seed", 2);
23119
+ ], N.prototype, "seed", 2);
23120
23120
  pt([
23121
23121
  a({ attribute: "child-id", type: String })
23122
- ], P.prototype, "childId", 2);
23122
+ ], N.prototype, "childId", 2);
23123
23123
  pt([
23124
23124
  a({ attribute: "field-id", type: String })
23125
- ], P.prototype, "fieldId", 2);
23125
+ ], N.prototype, "fieldId", 2);
23126
23126
  pt([
23127
23127
  a({ type: String })
23128
- ], P.prototype, "name", 2);
23128
+ ], N.prototype, "name", 2);
23129
23129
  pt([
23130
23130
  a({ type: String })
23131
- ], P.prototype, "content", 2);
23131
+ ], N.prototype, "content", 2);
23132
23132
  pt([
23133
23133
  a({ type: String })
23134
- ], P.prototype, "label", 2);
23134
+ ], N.prototype, "label", 2);
23135
23135
  pt([
23136
23136
  a({ type: String })
23137
- ], P.prototype, "placeholder", 2);
23137
+ ], N.prototype, "placeholder", 2);
23138
23138
  pt([
23139
23139
  a({ type: String })
23140
- ], P.prototype, "description", 2);
23140
+ ], N.prototype, "description", 2);
23141
23141
  pt([
23142
23142
  a({ type: String })
23143
- ], P.prototype, "mark", 2);
23143
+ ], N.prototype, "mark", 2);
23144
23144
  pt([
23145
23145
  a({ type: Boolean })
23146
- ], P.prototype, "caret", 2);
23146
+ ], N.prototype, "caret", 2);
23147
23147
  pt([
23148
23148
  a({ type: Boolean })
23149
- ], P.prototype, "disabled", 2);
23149
+ ], N.prototype, "disabled", 2);
23150
23150
  pt([
23151
23151
  a({ type: Boolean })
23152
- ], P.prototype, "required", 2);
23152
+ ], N.prototype, "required", 2);
23153
23153
  pt([
23154
23154
  a({ type: Number })
23155
- ], P.prototype, "minlength", 2);
23155
+ ], N.prototype, "minlength", 2);
23156
23156
  pt([
23157
23157
  a({ type: Number })
23158
- ], P.prototype, "maxlength", 2);
23158
+ ], N.prototype, "maxlength", 2);
23159
23159
  pt([
23160
23160
  a({ type: String })
23161
- ], P.prototype, "pattern", 2);
23161
+ ], N.prototype, "pattern", 2);
23162
23162
  pt([
23163
23163
  a({ attribute: "required-error", type: String })
23164
- ], P.prototype, "requiredError", 2);
23164
+ ], N.prototype, "requiredError", 2);
23165
23165
  pt([
23166
23166
  a({ attribute: "minlength-error", type: String })
23167
- ], P.prototype, "minlengthError", 2);
23167
+ ], N.prototype, "minlengthError", 2);
23168
23168
  pt([
23169
23169
  a({ attribute: "maxlength-error", type: String })
23170
- ], P.prototype, "maxlengthError", 2);
23170
+ ], N.prototype, "maxlengthError", 2);
23171
23171
  pt([
23172
23172
  a({ attribute: "format-error", type: String })
23173
- ], P.prototype, "formatError", 2);
23173
+ ], N.prototype, "formatError", 2);
23174
23174
  pt([
23175
23175
  x()
23176
- ], P.prototype, "_invalid", 2);
23176
+ ], N.prototype, "_invalid", 2);
23177
23177
  pt([
23178
23178
  x()
23179
- ], P.prototype, "_error", 2);
23179
+ ], N.prototype, "_error", 2);
23180
23180
  pt([
23181
23181
  x()
23182
- ], P.prototype, "_value", 2);
23183
- P = pt([
23182
+ ], N.prototype, "_value", 2);
23183
+ N = pt([
23184
23184
  u("sb-username-field")
23185
- ], P);
23185
+ ], N);
23186
23186
  var Tm = Object.defineProperty, Lm = Object.getOwnPropertyDescriptor, ve = (t, e, r, i) => {
23187
23187
  for (var s = i > 1 ? void 0 : i ? Lm(e, r) : e, o = t.length - 1, n; o >= 0; o--)
23188
23188
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
@@ -23321,8 +23321,9 @@ at = ve([
23321
23321
  const ph = [
23322
23322
  D,
23323
23323
  U,
23324
- P,
23324
+ N,
23325
23325
  M,
23326
+ P,
23326
23327
  A,
23327
23328
  j
23328
23329
  ], Pm = ph.map((t) => t.TAG).join(", "), uc = ph.map((t) => t.validateEventName);
@@ -27157,7 +27158,7 @@ export {
27157
27158
  or as SbLocationInfo,
27158
27159
  rs as SbLogo,
27159
27160
  ts as SbLogoRenderer,
27160
- N as SbNameField,
27161
+ P as SbNameField,
27161
27162
  be as SbOtp,
27162
27163
  ao as SbOtpRenderer,
27163
27164
  ct as SbPasskeyButton,
@@ -27176,7 +27177,7 @@ export {
27176
27177
  yo as SbTitle,
27177
27178
  nr as SbUrlsInfo,
27178
27179
  we as SbUserProfile,
27179
- P as SbUsernameField,
27180
+ N as SbUsernameField,
27180
27181
  qt as SbWatermark,
27181
27182
  go as SbWatermarkRenderer,
27182
27183
  ia as SignedIn,