@govbr-ds/webcomponents 2.0.0-next.56 → 2.0.0-next.57

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.
Files changed (43) hide show
  1. package/dist/cjs/br-checkbox.br-input.br-radio.entry.cjs.js.map +1 -1
  2. package/dist/cjs/br-checkbox_3.cjs.entry.js +63 -2
  3. package/dist/cjs/br-dropdown.br-select.entry.cjs.js.map +1 -1
  4. package/dist/cjs/br-dropdown_2.cjs.entry.js +95 -6
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/webcomponents.cjs.js +1 -1
  7. package/dist/collection/components/input/input.js +87 -2
  8. package/dist/collection/components/input/input.js.map +1 -1
  9. package/dist/collection/components/select/select.js +160 -8
  10. package/dist/collection/components/select/select.js.map +1 -1
  11. package/dist/collection/pages/components/select/index.js +41 -0
  12. package/dist/components/br-input.js +4 -4
  13. package/dist/components/br-pagination.js +2 -2
  14. package/dist/components/br-select.js +4 -4
  15. package/dist/components/{p-Cw0pxndP.js → p-B8JLH_ik.js} +171 -74
  16. package/dist/components/p-B8JLH_ik.js.map +1 -0
  17. package/dist/components/{p-CbnpaWFn.js → p-CkOo_SmU.js} +75 -9
  18. package/dist/components/p-CkOo_SmU.js.map +1 -0
  19. package/dist/custom-elements.json +171 -4
  20. package/dist/esm/br-checkbox.br-input.br-radio.entry.js.map +1 -1
  21. package/dist/esm/br-checkbox_3.entry.js +63 -2
  22. package/dist/esm/br-dropdown.br-select.entry.js.map +1 -1
  23. package/dist/esm/br-dropdown_2.entry.js +95 -6
  24. package/dist/esm/loader.js +1 -1
  25. package/dist/esm/webcomponents.js +1 -1
  26. package/dist/hydrate/index.js +167 -11
  27. package/dist/hydrate/index.mjs +167 -11
  28. package/dist/types/components/input/input.d.ts +9 -0
  29. package/dist/types/components/select/select.d.ts +25 -0
  30. package/dist/types/components.d.ts +30 -8
  31. package/dist/webcomponents/br-checkbox.br-input.br-radio.entry.esm.js.map +1 -1
  32. package/dist/webcomponents/br-dropdown.br-select.entry.esm.js.map +1 -1
  33. package/dist/webcomponents/{p-abfb0743.entry.js → p-6511c9cd.entry.js} +126 -64
  34. package/dist/webcomponents/p-6511c9cd.entry.js.map +1 -0
  35. package/dist/webcomponents/{p-67d88dcb.entry.js → p-a7fa8119.entry.js} +110 -18
  36. package/dist/webcomponents/p-a7fa8119.entry.js.map +1 -0
  37. package/dist/webcomponents/webcomponents.esm.js +15 -15
  38. package/dist/webcomponents.html-custom-data.json +7 -2
  39. package/package.json +1 -1
  40. package/dist/components/p-CbnpaWFn.js.map +0 -1
  41. package/dist/components/p-Cw0pxndP.js.map +0 -1
  42. package/dist/webcomponents/p-67d88dcb.entry.js.map +0 -1
  43. package/dist/webcomponents/p-abfb0743.entry.js.map +0 -1
@@ -2,22 +2,22 @@
2
2
  * Construído por SERPRO
3
3
  * © https://serpro.gov.br/ - MIT License.
4
4
  */
5
- import { r as t, c as e, h as i, a as r, g as a } from "./p-ByGJPTh2.js";
5
+ import { r as t, c as i, h as e, a as r, g as a } from "./p-ByGJPTh2.js";
6
6
 
7
7
  import { _ as o } from "./p-DIPMDb5E.js";
8
8
 
9
9
  const n = '*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}.d-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}}.justify-content-start{-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.justify-content-end{-webkit-box-pack:end !important;-ms-flex-pack:end !important;justify-content:flex-end !important}.justify-content-center{-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important}.align-items-center{-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;min-width:8.3333333333%}.col-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-2{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}}@media (min-width: 992px){.container,.container-lg{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}}@media (min-width: 1600px){.container,.container-lg{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.mt-1{margin-top:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.mr-n2{margin-right:calc(var(--spacing-scale-base)*-1) !important}.ml-2{margin-left:var(--spacing-scale-base) !important}.m-3{margin:var(--spacing-scale-2x) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mr-auto{margin-right:auto !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}.py-3{padding-bottom:var(--spacing-scale-2x) !important;padding-top:var(--spacing-scale-2x) !important}.py-4{padding-bottom:var(--spacing-scale-3x) !important;padding-top:var(--spacing-scale-3x) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}body{--bg-color:var(--background);--bg-color-rgb:var(--background-rgb);--bg-color-hsl:var(--background-hsl);--font-size:var(--font-size-scale-base);--font-weight:var(--font-weight-regular);--link-color:var(--interactive);--link-color-rgb:var(--interactive-rgb);--link-color-hsl:var(--interactive-hsl);--line-height:var(--font-line-height-medium);--text-color:var(--color);--text-color-rgb:var(--color-rgb);--text-color-hsl:var(--color-hsl);background:var(--bg-color);color:var(--text-color);font-family:var(--font-family-base);font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--line-height)}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--hover))), to(rgba(var(--interactive-rgb), var(--hover))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--pressed))), to(rgba(var(--interactive-rgb), var(--pressed))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}button{cursor:pointer}img{max-width:100%;vertical-align:middle}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}::-webkit-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::-moz-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::-ms-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}.text-pure-0{color:var(--pure-0) !important}.text-primary-default{color:var(--color-primary-default) !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-medium{font-weight:500 !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}.ease{-webkit-animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1);animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-in-out{-webkit-animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1);animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.highlight{background:var(--status-highlight-background) -webkit-gradient(linear, left top, left bottom, from(var(--status-highlight-overlay)), to(var(--status-highlight-overlay)));background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{-webkit-box-shadow:var(--surface-shadow-sm);box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}*[data-toggle=collapse]:not(:disabled):hover{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--hover))), to(rgba(var(--interactive-rgb), var(--hover))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-checkbox{--checkbox-padding:var(--spacing-scale-base);--checkbox-size:24px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.br-checkbox+.br-checkbox{margin-top:var(--spacing-scale-base)}.br-checkbox input{margin:0;opacity:0;position:absolute}.br-checkbox input+label{cursor:pointer;display:inline-block;margin-bottom:0;min-height:var(--checkbox-size);min-width:var(--checkbox-size);padding-left:calc(var(--spacing-scale-base) + var(--checkbox-size));position:relative}.br-checkbox input+label::before{background:var(--background-light);border:1px solid var(--border-color);border-radius:4px;content:"";height:var(--checkbox-size);left:0;position:absolute;width:var(--checkbox-size)}.br-checkbox input+label:empty{padding:0}.br-checkbox label{font-weight:var(--font-weight-medium)}.br-checkbox.hidden-label label{padding-left:calc(var(--checkbox-size) + var(--surface-width-md)*2);text-indent:-10000px;white-space:nowrap;width:0}.br-checkbox input:checked+label::after,.br-checkbox input:indeterminate+label::after{border:solid var(--selected);border-width:0 3px 3px 0;content:"";height:var(--icon-size-sm);left:8px;position:absolute;top:4px;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:8px}.br-checkbox input[indeterminate]+label::before,.br-checkbox input:indeterminate+label::before{--interactive-rgb:var(--color-rgb);background:var(--selected);border-color:var(--selected)}.br-checkbox input[indeterminate]:hover:not(:disabled)+label::before,.br-checkbox input:indeterminate:hover:not(:disabled)+label::before{--interactive-rgb:var(--color-dark-rgb)}.br-checkbox input[indeterminate]:checked+label::after,.br-checkbox input[indeterminate]+label::after,.br-checkbox input:indeterminate:checked+label::after,.br-checkbox input:indeterminate+label::after{border-color:var(--background-light);border-width:0 0 3px;top:2px;-webkit-transform:none;transform:none}.br-checkbox.invalid input+label::before,.br-checkbox[invalid] input+label::before{--border-color:var(--danger)}.br-checkbox.invalid input:focus-visible:checked+label::before,.br-checkbox.invalid input:focus-visible+label::before,.br-checkbox[invalid] input:focus-visible:checked+label::before,.br-checkbox[invalid] input:focus-visible+label::before{--border-color:var(--focus-color)}.br-checkbox.invalid input:checked+label::before,.br-checkbox[invalid] input:checked+label::before{--border-color:var(--danger)}.br-checkbox.valid input+label::before,.br-checkbox[valid] input+label::before{--border-color:var(--success)}.br-checkbox.valid input:focus-visible:checked+label::before,.br-checkbox.valid input:focus-visible+label::before,.br-checkbox[valid] input:focus-visible:checked+label::before,.br-checkbox[valid] input:focus-visible+label::before{--border-color:var(--focus-color)}.br-checkbox.valid input:checked+label::before,.br-checkbox[valid] input:checked+label::before{--border-color:var(--success)}.br-checkbox.small input+label,.br-checkbox[small] input+label{line-height:var(--spacing-scale-2xh);min-height:var(--spacing-scale-2xh)}.br-checkbox.small input+label::before,.br-checkbox[small] input+label::before{height:var(--spacing-scale-2xh);width:var(--spacing-scale-2xh)}.br-checkbox.small input:checked+label::after,.br-checkbox[small] input:checked+label::after{border-width:0 2px 2px 0;height:var(--icon-size-sm);left:7px;top:4px;width:6px}.br-checkbox.small input[indeterminate]+label::after,.br-checkbox.small input:indeterminate+label::after,.br-checkbox[small] input[indeterminate]+label::after,.br-checkbox[small] input:indeterminate+label::after{border-color:var(--background-light);border-width:0 0 3px;left:7px;top:1px;-webkit-transform:none;transform:none;width:6px}.br-checkbox input:invalid+label::before{--border-color:var(--danger)}.br-checkbox input:focus-visible:checked+label::before,.br-checkbox input:focus-visible+label::before{border-color:var(--focus) !important;-webkit-box-shadow:0 0 0 var(--surface-width-md) var(--focus);box-shadow:0 0 0 var(--surface-width-md) var(--focus);outline:none}.br-checkbox input:hover:not(:disabled)+label::before{--interactive-rgb:var(--interactive-light-rgb);background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--hover))), to(rgba(var(--interactive-rgb), var(--hover))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}.br-checkbox:not(.disabled) input:disabled+label{cursor:not-allowed;opacity:var(--disabled)}.br-checkbox:not(.disabled) input:disabled+label *{pointer-events:none}.br-checkbox.inverted,.br-checkbox.inverted label,.br-checkbox.dark-mode,.br-checkbox.dark-mode label{color:var(--color-dark)}:host{display:inline-block}:host .br-checkbox{--checkbox-padding:var(--spacing-scale-half);--checkbox-size:24px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}:host .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;border:0}';
10
10
 
11
11
  const l = class {
12
- constructor(i) {
13
- t(this, i);
14
- this.checkedChange = e(this, "checkedChange", 7);
15
- this.indeterminateChange = e(this, "indeterminateChange", 7);
16
- if (i.$hostElement$["s-ei"]) {
17
- this.elementInternals = i.$hostElement$["s-ei"];
12
+ constructor(e) {
13
+ t(this, e);
14
+ this.checkedChange = i(this, "checkedChange", 7);
15
+ this.indeterminateChange = i(this, "indeterminateChange", 7);
16
+ if (e.$hostElement$["s-ei"]) {
17
+ this.elementInternals = e.$hostElement$["s-ei"];
18
18
  } else {
19
- this.elementInternals = i.$hostElement$.attachInternals();
20
- i.$hostElement$["s-ei"] = this.elementInternals;
19
+ this.elementInternals = e.$hostElement$.attachInternals();
20
+ e.$hostElement$["s-ei"] = this.elementInternals;
21
21
  }
22
22
  /**
23
23
  * Define o estado intermediário do checkbox.
@@ -65,9 +65,9 @@ const l = class {
65
65
  };
66
66
  }
67
67
  updateIndeterminate(t) {
68
- const e = this.el.shadowRoot.querySelector("input");
69
- if (e !== null) {
70
- e.indeterminate = t;
68
+ const i = this.el.shadowRoot.querySelector("input");
69
+ if (i !== null) {
70
+ i.indeterminate = t;
71
71
  }
72
72
  }
73
73
  componentWillLoad() {
@@ -118,12 +118,12 @@ const l = class {
118
118
  }));
119
119
  }
120
120
  render() {
121
- return i(r, {
121
+ return e(r, {
122
122
  key: "3abfeffe69c7df3a86ff4b8e2bb30e33b2c0a9db"
123
- }, i("div", {
123
+ }, e("div", {
124
124
  key: "bb3e47e3fe772b485ad6863e0c493c40dc290cbd",
125
125
  class: this.getCssClassMap()
126
- }, i("input", {
126
+ }, e("input", {
127
127
  key: "2ca8eae07da146fa5038d37f0d39d3d91893aadd",
128
128
  type: "checkbox",
129
129
  id: this.customId,
@@ -135,11 +135,11 @@ const l = class {
135
135
  ref: t => t && (t.indeterminate = this.indeterminate),
136
136
  "aria-checked": this.getAriaCheckedValue(),
137
137
  "aria-describedby": this.numberOfChildren > 0 ? "children-number" : null
138
- }), i("label", {
138
+ }), e("label", {
139
139
  key: "d2241663180d6c378babfdd46bf598ef4d223dbb",
140
140
  htmlFor: this.customId,
141
141
  class: this.hasHiddenLabel ? "visually-hidden" : undefined
142
- }, this.slotDefault ? i("slot", null) : this.label)), this.isFather ? i("span", {
142
+ }, this.slotDefault ? e("slot", null) : this.label)), this.isFather ? e("span", {
143
143
  id: "children-number",
144
144
  class: "sr-only"
145
145
  }, "Número de opções: ", this.numberOfChildren) : null);
@@ -166,7 +166,7 @@ const c = "*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-
166
166
  const d = class {
167
167
  constructor(r) {
168
168
  t(this, r);
169
- this.valueChange = e(this, "valueChange", 7);
169
+ this.valueChange = i(this, "valueChange", 7);
170
170
  if (r.$hostElement$["s-ei"]) {
171
171
  this.elementInternals = r.$hostElement$["s-ei"];
172
172
  } else {
@@ -225,29 +225,39 @@ const d = class {
225
225
  this.hasActionSlot = false;
226
226
  this.hasFeedbackSlot = false;
227
227
  this.handleInput = t => {
228
- this.value = t.target.value;
228
+ var i;
229
+ const e = t.target;
230
+ let r = (i = e.value) !== null && i !== void 0 ? i : "";
231
+ if (this.hasMaskConfigured()) {
232
+ const t = this.applyMask(r);
233
+ if (t !== r) {
234
+ e.value = t;
235
+ }
236
+ r = t;
237
+ }
238
+ this.value = r;
229
239
  this.valueChange.emit(this.value);
230
240
  };
231
241
  this.renderLabel = () => {
232
242
  var t;
233
243
  if (((t = this.label) === null || t === void 0 ? void 0 : t.length) > 0) {
234
244
  if (this.isInline) {
235
- return i("div", {
245
+ return e("div", {
236
246
  class: "input-label"
237
- }, i("label", {
247
+ }, e("label", {
238
248
  part: "label",
239
249
  class: "text-nowrap",
240
250
  htmlFor: this.customId
241
251
  }, this.label));
242
252
  } else {
243
- return i("label", {
253
+ return e("label", {
244
254
  part: "label",
245
255
  htmlFor: this.customId
246
256
  }, this.label);
247
257
  }
248
258
  }
249
259
  };
250
- this.renderInput = () => i("input", {
260
+ this.renderInput = () => e("input", {
251
261
  class: this.isHighlight ? "input-highlight" : null,
252
262
  id: this.customId,
253
263
  style: this.controlWidth !== undefined && this.controlWidth !== null ? {
@@ -274,13 +284,13 @@ const d = class {
274
284
  });
275
285
  this.renderHelpText = () => {
276
286
  var t;
277
- return ((t = this.helpText) === null || t === void 0 ? void 0 : t.length) > 0 ? i("p", null, this.helpText) : i("slot", {
287
+ return ((t = this.helpText) === null || t === void 0 ? void 0 : t.length) > 0 ? e("p", null, this.helpText) : e("slot", {
278
288
  name: "help-text"
279
289
  });
280
290
  };
281
291
  this.renderIconPassword = () => {
282
292
  const t = this.isPasswordVisible ? "fa-solid:eye-slash" : "fa-solid:eye";
283
- return i("br-icon", {
293
+ return e("br-icon", {
284
294
  "icon-name": t
285
295
  });
286
296
  };
@@ -291,17 +301,17 @@ const d = class {
291
301
  };
292
302
  this.renderInlineInputContent = () => {
293
303
  if (this.hasIconSlot) {
294
- return i("div", {
304
+ return e("div", {
295
305
  class: "input-content"
296
306
  }, this.renderInputWithIcon());
297
307
  } else {
298
- return i("div", {
308
+ return e("div", {
299
309
  class: "input-content"
300
310
  }, this.renderInputWithoutIcon());
301
311
  }
302
312
  };
303
313
  this.renderInputContent = () => this.hasIconSlot ? this.renderInputWithIcon() : this.renderInputWithoutIcon();
304
- this.renderInputWithIcon = () => i("div", {
314
+ this.renderInputWithIcon = () => e("div", {
305
315
  class: "input-group"
306
316
  }, this.renderIconSlot(), this.renderInput(), this.renderButton(), this.renderHelpText());
307
317
  this.renderInputWithoutIcon = () => [ this.renderInput(), this.renderButton(), this.renderHelpText() ];
@@ -311,6 +321,7 @@ const d = class {
311
321
  this.hasActionSlot = this.hasSlotContent("action");
312
322
  this.hasFeedbackSlot = this.hasSlotContent("feedback");
313
323
  this.internalState = this.state;
324
+ this.applyMaskToValue();
314
325
  if (this.hasFeedbackSlot) {
315
326
  this.initializeStateWithFeedback();
316
327
  }
@@ -323,17 +334,17 @@ const d = class {
323
334
  initializeStateWithFeedback() {
324
335
  const t = this.el.querySelector("br-message");
325
336
  if (t !== null || t !== undefined) {
326
- const e = t.getAttribute("state");
327
- this.internalState = e || this.state;
337
+ const i = t.getAttribute("state");
338
+ this.internalState = i || this.state;
328
339
  } else {
329
340
  this.internalState = this.state;
330
341
  }
331
342
  }
332
343
  setupSlotFeedbackListener() {
333
344
  var t;
334
- const e = (t = this.el.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector('slot[name="feedback"]');
335
- if (e !== null && e !== undefined) {
336
- e.addEventListener("slotchange", (() => {
345
+ const i = (t = this.el.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector('slot[name="feedback"]');
346
+ if (i !== null && i !== undefined) {
347
+ i.addEventListener("slotchange", (() => {
337
348
  this.syncStateWithSlotFeedback();
338
349
  }));
339
350
  }
@@ -361,21 +372,33 @@ const d = class {
361
372
  warning: this.internalState === "warning"
362
373
  };
363
374
  }
375
+ handleValueChange(t) {
376
+ if (!this.hasMaskConfigured()) {
377
+ return;
378
+ }
379
+ const i = this.applyMask(t !== null && t !== void 0 ? t : "");
380
+ if (i !== t) {
381
+ this.value = i;
382
+ }
383
+ }
384
+ handleMaskChange() {
385
+ this.applyMaskToValue();
386
+ }
364
387
  hasSlotContent(t) {
365
388
  return this.el.querySelector(`[slot="${t}"]`) !== null;
366
389
  }
367
390
  renderIconSlot() {
368
391
  if (this.hasSlotContent("icon")) {
369
- return i("div", {
392
+ return e("div", {
370
393
  class: "input-icon"
371
- }, i("slot", {
394
+ }, e("slot", {
372
395
  name: "icon"
373
396
  }));
374
397
  }
375
398
  }
376
399
  renderButton() {
377
400
  if (this.type === "password") {
378
- return i("br-button", {
401
+ return e("br-button", {
379
402
  class: "button-transform",
380
403
  shape: "circle",
381
404
  density: "small",
@@ -384,12 +407,12 @@ const d = class {
384
407
  onClick: this.togglePasswordVisibility
385
408
  }, this.renderIconPassword());
386
409
  } else if (this.hasSlotContent("action")) {
387
- return i("br-button", {
410
+ return e("br-button", {
388
411
  class: "button-transform",
389
412
  shape: "circle",
390
413
  density: "small",
391
414
  "aria-label": this.actionLabel
392
- }, i("slot", {
415
+ }, e("slot", {
393
416
  name: "action"
394
417
  }));
395
418
  }
@@ -397,16 +420,49 @@ const d = class {
397
420
  }
398
421
  renderFeedback() {
399
422
  if (this.hasFeedbackSlot) {
400
- return i("slot", {
423
+ return e("slot", {
401
424
  name: "feedback"
402
425
  });
403
426
  }
404
427
  }
428
+ applyMaskToValue() {
429
+ if (!this.hasMaskConfigured() || this.value === undefined || this.value === null) {
430
+ return;
431
+ }
432
+ const t = this.applyMask(this.value);
433
+ if (this.value !== t) {
434
+ this.value = t;
435
+ }
436
+ }
437
+ applyMask(t) {
438
+ if (!this.hasMaskConfigured()) {
439
+ return t !== null && t !== void 0 ? t : "";
440
+ }
441
+ const i = (t !== null && t !== void 0 ? t : "").replace(/\D/g, "");
442
+ if (i.length === 0) {
443
+ return "";
444
+ }
445
+ let e = "";
446
+ let r = 0;
447
+ for (let t = 0; t < this.mask.length && r < i.length; t++) {
448
+ const a = this.mask[t];
449
+ if (a === "#") {
450
+ e += i[r];
451
+ r++;
452
+ } else {
453
+ e += a;
454
+ }
455
+ }
456
+ return e;
457
+ }
458
+ hasMaskConfigured() {
459
+ return typeof this.mask === "string" && this.mask.length > 0;
460
+ }
405
461
  render() {
406
- return i(r, {
407
- key: "b86101fdb03dd510bd6ef30656cf12139bcdfc1e"
408
- }, i("div", {
409
- key: "ca5d66789aee3feae1918e70a0c25af070cf708f",
462
+ return e(r, {
463
+ key: "251164fce4650bd0fa1a1b9189537b11c2ebe6b6"
464
+ }, e("div", {
465
+ key: "7b2f561f2cc1d767ba75b483e3d2b93bccd30901",
410
466
  class: this.getInputCssClassMap()
411
467
  }, this.renderLabel(), this.isInline ? this.renderInlineInputContent() : this.renderInputContent(), this.renderFeedback()));
412
468
  }
@@ -416,6 +472,12 @@ const d = class {
416
472
  get el() {
417
473
  return a(this);
418
474
  }
475
+ static get watchers() {
476
+ return {
477
+ value: [ "handleValueChange" ],
478
+ mask: [ "handleMaskChange" ]
479
+ };
480
+ }
419
481
  };
420
482
 
421
483
  let b = 0;
@@ -424,15 +486,15 @@ d.style = c;
424
486
 
425
487
  const g = '*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}.d-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}}.justify-content-start{-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.justify-content-end{-webkit-box-pack:end !important;-ms-flex-pack:end !important;justify-content:flex-end !important}.justify-content-center{-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important}.align-items-center{-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;min-width:8.3333333333%}.col-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-2{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}}@media (min-width: 992px){.container,.container-lg{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}}@media (min-width: 1600px){.container,.container-lg{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.mt-1{margin-top:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.mr-n2{margin-right:calc(var(--spacing-scale-base)*-1) !important}.ml-2{margin-left:var(--spacing-scale-base) !important}.m-3{margin:var(--spacing-scale-2x) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mr-auto{margin-right:auto !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}.py-3{padding-bottom:var(--spacing-scale-2x) !important;padding-top:var(--spacing-scale-2x) !important}.py-4{padding-bottom:var(--spacing-scale-3x) !important;padding-top:var(--spacing-scale-3x) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}body{--bg-color:var(--background);--bg-color-rgb:var(--background-rgb);--bg-color-hsl:var(--background-hsl);--font-size:var(--font-size-scale-base);--font-weight:var(--font-weight-regular);--link-color:var(--interactive);--link-color-rgb:var(--interactive-rgb);--link-color-hsl:var(--interactive-hsl);--line-height:var(--font-line-height-medium);--text-color:var(--color);--text-color-rgb:var(--color-rgb);--text-color-hsl:var(--color-hsl);background:var(--bg-color);color:var(--text-color);font-family:var(--font-family-base);font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--line-height)}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--hover))), to(rgba(var(--interactive-rgb), var(--hover))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--pressed))), to(rgba(var(--interactive-rgb), var(--pressed))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}button{cursor:pointer}img{max-width:100%;vertical-align:middle}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}::-webkit-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::-moz-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::-ms-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}.text-pure-0{color:var(--pure-0) !important}.text-primary-default{color:var(--color-primary-default) !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-medium{font-weight:500 !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}.ease{-webkit-animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1);animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-in-out{-webkit-animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1);animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.highlight{background:var(--status-highlight-background) -webkit-gradient(linear, left top, left bottom, from(var(--status-highlight-overlay)), to(var(--status-highlight-overlay)));background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{-webkit-box-shadow:var(--surface-shadow-sm);box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}*[data-toggle=collapse]:not(:disabled):hover{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--hover))), to(rgba(var(--interactive-rgb), var(--hover))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-radio{--radio-size:24px;--radio-bullet-size:16px;--radio-bullet-position:calc((var(--radio-size) - var(--radio-bullet-size)) * 0.5);display:block}.br-radio+.br-radio{margin-top:var(--spacing-scale-base)}.br-radio input{opacity:0;position:absolute}.br-radio input+label{cursor:pointer;display:inline-block;margin-bottom:0;min-height:var(--radio-size);min-width:var(--radio-size);padding-left:calc(var(--spacing-scale-base) + var(--radio-size));position:relative}.br-radio input+label::before{background:var(--background);border:1px solid var(--border-color);border-radius:50%;content:"";height:var(--radio-size);left:0;position:absolute;top:-1px;width:var(--radio-size)}.br-radio input+label:empty{padding:0}.br-radio input+label:empty::before{top:0}.br-radio label{font-weight:var(--font-weight-medium)}.br-radio input:checked+label::after{background:var(--selected);border:7px solid var(--selected);border-radius:50%;content:"";height:var(--radio-bullet-size);left:var(--radio-bullet-position);position:absolute;right:0;top:calc(var(--radio-bullet-position) - 1px);width:var(--radio-bullet-size)}.br-radio input:checked+label:empty::after{top:var(--radio-bullet-position)}.br-radio.valid input+label::before,.br-radio[valid] input+label::before{border-color:var(--success)}.br-radio.invalid input+label::before,.br-radio[invalid] input+label::before{border-color:var(--danger)}.br-radio.small input+label,.br-radio[small] input+label{line-height:var(--spacing-scale-2xh);min-height:var(--spacing-scale-2xh)}.br-radio.small input+label::before,.br-radio[small] input+label::before{height:var(--spacing-scale-2xh);width:var(--spacing-scale-2xh)}.br-radio.small input:checked+label::after,.br-radio[small] input:checked+label::after{border-width:4px;height:10px;width:10px}.br-radio input:invalid+label::before{border-color:var(--danger)}.br-radio input:focus-visible:checked+label::before,.br-radio input:focus-visible+label::before{border-color:var(--focus) !important;-webkit-box-shadow:0 0 0 var(--surface-width-md) var(--focus);box-shadow:0 0 0 var(--surface-width-md) var(--focus);outline:none}.br-radio input:hover:not(:disabled)+label::before{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--hover))), to(rgba(var(--interactive-rgb), var(--hover))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}.br-radio.inverted,.br-radio.inverted label,.br-radio.dark-mode,.br-radio.dark-mode label{color:var(--color-dark)}input:checked+label::after{background:var(--selected);border:7px solid var(--selected);border-radius:50%;content:"";height:var(--radio-bullet-size);left:var(--radio-bullet-position);position:absolute;right:0;top:calc(var(--radio-bullet-position) - 1px);width:var(--radio-bullet-size)}input:checked+label:empty::after{top:var(--radio-bullet-position)}:host{display:inline-block}:host .br-radio.hidden-label label{padding-left:calc(var(--checkbox-size) + var(--surface-width-md)*2);text-indent:-10000px;white-space:nowrap;width:0}';
426
488
 
427
- const p = class {
428
- constructor(i) {
429
- t(this, i);
430
- this.checkedChange = e(this, "checkedChange", 7);
431
- if (i.$hostElement$["s-ei"]) {
432
- this.elementInternals = i.$hostElement$["s-ei"];
489
+ const h = class {
490
+ constructor(e) {
491
+ t(this, e);
492
+ this.checkedChange = i(this, "checkedChange", 7);
493
+ if (e.$hostElement$["s-ei"]) {
494
+ this.elementInternals = e.$hostElement$["s-ei"];
433
495
  } else {
434
- this.elementInternals = i.$hostElement$.attachInternals();
435
- i.$hostElement$["s-ei"] = this.elementInternals;
496
+ this.elementInternals = e.$hostElement$.attachInternals();
497
+ e.$hostElement$["s-ei"] = this.elementInternals;
436
498
  }
437
499
  /**
438
500
  * Define o estado de seleção do radio.
@@ -448,7 +510,7 @@ const p = class {
448
510
  /**
449
511
  * Identificador único.
450
512
  * Caso não seja fornecido, um ID gerado automaticamente será usado.
451
- */ this.customId = `br-radio-${h++}`
513
+ */ this.customId = `br-radio-${p++}`
452
514
  /**
453
515
  * Handler para o event `click`
454
516
  * @param event Objeto Event
@@ -475,7 +537,7 @@ const p = class {
475
537
  * @param {KeyboardEvent} event O evento de teclado.
476
538
  * @listens keydown
477
539
  */ handleKeyDown(t) {
478
- var e, i, r;
540
+ var i, e, r;
479
541
  if (this.disabled || !this.checked) return;
480
542
  const a = [ "ArrowRight", "ArrowDown", "ArrowLeft", "ArrowUp" ].includes(t.key);
481
543
  if (!a) return;
@@ -490,8 +552,8 @@ const p = class {
490
552
  l = (n - 1 + o.length) % o.length;
491
553
  }
492
554
  const s = o[l];
493
- (e = s === null || s === void 0 ? void 0 : s.toggleChecked) === null || e === void 0 ? void 0 : e.call(s);
494
- (r = (i = s === null || s === void 0 ? void 0 : s.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector("input")) === null || r === void 0 ? void 0 : r.focus();
555
+ (i = s === null || s === void 0 ? void 0 : s.toggleChecked) === null || i === void 0 ? void 0 : i.call(s);
556
+ (r = (e = s === null || s === void 0 ? void 0 : s.shadowRoot) === null || e === void 0 ? void 0 : e.querySelector("input")) === null || r === void 0 ? void 0 : r.focus();
495
557
  }
496
558
  /**
497
559
  * Inverte o valor da prop `checked`
@@ -511,13 +573,13 @@ const p = class {
511
573
  };
512
574
  }
513
575
  render() {
514
- return i(r, {
576
+ return e(r, {
515
577
  key: "be64166757dadf95cc179dea8548ea2c7811dccf",
516
578
  "aria-disabled": this.disabled ? "true" : null
517
- }, i("div", {
579
+ }, e("div", {
518
580
  key: "e016b02d896719cf85b99bd8a538d722cf54bb4b",
519
581
  class: this.getCssClassMap()
520
- }, i("input", {
582
+ }, e("input", {
521
583
  key: "8f06738bbfe7811594d187a6468c3c43a710cec5",
522
584
  part: "radio-input",
523
585
  "aria-label": this.hasHiddenLabel && this.label ? this.label : null,
@@ -529,11 +591,11 @@ const p = class {
529
591
  value: this.value,
530
592
  onClick: this.onClick,
531
593
  onChange: this.onChange
532
- }), i("label", {
594
+ }), e("label", {
533
595
  key: "44952b7dc4b78f2a0e0666345e60c7e3837254ba",
534
596
  part: "radio-label",
535
597
  htmlFor: this.customId
536
- }, i("slot", {
598
+ }, e("slot", {
537
599
  key: "c3c962daaac6ca24fca1f787a64c5d0684b39394"
538
600
  }, this.label))));
539
601
  }
@@ -545,10 +607,10 @@ const p = class {
545
607
  }
546
608
  };
547
609
 
548
- let h = 0;
610
+ let p = 0;
549
611
 
550
- p.style = g;
612
+ h.style = g;
551
613
 
552
- export { l as br_checkbox, d as br_input, p as br_radio };
614
+ export { l as br_checkbox, d as br_input, h as br_radio };
553
615
  //# sourceMappingURL=br-checkbox.br-input.br-radio.entry.esm.js.map
554
- //# sourceMappingURL=p-abfb0743.entry.js.map
616
+ //# sourceMappingURL=p-6511c9cd.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["registerInstance","createEvent","h","Host","getElement","__awaiter","checkboxCss","Checkbox","constructor","hostRef","this","checkedChange","indeterminateChange","$hostElement$","elementInternals","attachInternals","indeterminate","checked","customId","checkboxId","disabled","hasHiddenLabel","isFather","slotDefault","numberOfChildren","handleCheckedChange","emit","updateIndeterminate","newValue","input","el","shadowRoot","querySelector","componentWillLoad","hasSlotContentDefault","innerHTML","getCssClassMap","valid","state","invalid","getAriaCheckedValue","setIndeterminate","value","toggleChecked","setNumberOfChildren","render","key","class","type","id","name","onChange","ref","htmlFor","undefined","label","formAssociated","watchers","style","inputCss","Input","valueChange","density","isInline","isHighlight","inputId","readonly","required","borderless","autocorrect","multiple","isPasswordVisible","internalState","hasIconSlot","hasActionSlot","hasFeedbackSlot","handleInput","event","_a","inputElement","target","nextValue","hasMaskConfigured","maskedValue","applyMask","renderLabel","length","part","renderInput","controlWidth","width","autocomplete","autoCorrect","min","max","minLength","minlength","maxLength","maxlength","pattern","step","onInput","placeholder","title","renderHelpText","helpText","renderIconPassword","iconName","togglePasswordVisibility","renderInlineInputContent","renderInputWithIcon","renderInputWithoutIcon","renderInputContent","renderIconSlot","renderButton","hasSlotContent","applyMaskToValue","initializeStateWithFeedback","componentDidLoad","setupSlotFeedbackListener","initialMessageElement","messageState","getAttribute","slot","addEventListener","syncStateWithSlotFeedback","messageElement","getInputCssClassMap","small","large","medium","success","danger","info","warning","handleValueChange","handleMaskChange","slotName","shape","onClick","actionLabel","renderFeedback","digits","replace","digitIndex","i","mask","maskChar","radioCss","Radio","radioId","stopPropagation","handleKeyDown","_b","_c","isArrowKey","includes","preventDefault","radios","Array","from","document","querySelectorAll","filter","currentIndex","findIndex","radio","nextIndex","nextRadio","call","focus"],"sources":["0"],"mappings":";;;;cAIcA,QAAuBC,QAAaC,QAAQC,QAAWC,SAAkB;;cACzEC,SAAiB;;AAE/B,MAAMC,IAAc;;AAEpB,MAAMC,IAAW;EACb,WAAAC,CAAYC;IACRT,EAAiBU,MAAMD;IACvBC,KAAKC,gBAAgBV,EAAYS,MAAM,iBAAiB;IACxDA,KAAKE,sBAAsBX,EAAYS,MAAM,uBAAuB;IACpE,IAAID,EAAQI,cAAc,SAAS;MAC/BH,KAAKI,mBAAmBL,EAAQI,cAAc;AAClD,WACK;MACDH,KAAKI,mBAAmBL,EAAQI,cAAcE;MAC9CN,EAAQI,cAAc,UAAUH,KAAKI;AACzC;;;;;;eAOAJ,KAAKM,gBAAgB;;;;eAKrBN,KAAKO,UAAU;;;;eAKfP,KAAKQ,WAAW,eAAeC;;;;IAI/BT,KAAKU,WAAW;;;;eAKhBV,KAAKW,iBAAiB;;;eAItBX,KAAKY,WAAW;;;eAIhBZ,KAAKa,cAAc;;;eAInBb,KAAKc,mBAAmB;IACxBd,KAAKe,sBAAsB;MACvB,IAAIf,KAAKM,eAAe;;QAEpBN,KAAKM,gBAAgB;QACrBN,KAAKO,UAAU;QACfP,KAAKE,oBAAoBc,KAAKhB,KAAKM;AACvC,aACK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