@rededor/site-front-end-lib 20.0.8 → 20.0.9

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 (144) hide show
  1. package/README.md +124 -124
  2. package/components/cards/index.d.ts +6 -6
  3. package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +4 -4
  4. package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +1 -1
  5. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +20 -20
  6. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -1
  7. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +4 -4
  8. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -1
  9. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +4 -4
  10. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
  11. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +24 -19
  12. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -1
  13. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +4 -4
  14. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -1
  15. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +4 -4
  16. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -1
  17. package/fesm2022/rededor-site-front-end-lib-components-error.mjs +4 -4
  18. package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -1
  19. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +4 -4
  20. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -1
  21. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +4 -4
  22. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
  23. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +4 -4
  24. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -1
  25. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +4 -4
  26. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -1
  27. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +4 -4
  28. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -1
  29. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +8 -8
  30. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -1
  31. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +8 -8
  32. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -1
  33. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +8 -8
  34. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -1
  35. package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs +3 -3
  36. package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +1 -1
  37. package/fesm2022/rededor-site-front-end-lib-components-header.mjs +8 -8
  38. package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -1
  39. package/fesm2022/rededor-site-front-end-lib-components-image.mjs +4 -4
  40. package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +1 -1
  41. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +4 -4
  42. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -1
  43. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +4 -4
  44. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
  45. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +4 -4
  46. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
  47. package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +4 -4
  48. package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +1 -1
  49. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +4 -4
  50. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -1
  51. package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +4 -4
  52. package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -1
  53. package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +4 -4
  54. package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +1 -1
  55. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +4 -4
  56. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -1
  57. package/fesm2022/rededor-site-front-end-lib-components-search.mjs +4 -4
  58. package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -1
  59. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +4 -4
  60. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -1
  61. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +20 -20
  62. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -1
  63. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +4 -4
  64. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -1
  65. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +4 -4
  66. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -1
  67. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +4 -4
  68. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -1
  69. package/fesm2022/rededor-site-front-end-lib-core.mjs +51 -51
  70. package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -1
  71. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +8 -8
  72. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +1 -1
  73. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +26 -26
  74. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +1 -1
  75. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +4 -4
  76. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +1 -1
  77. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +4 -4
  78. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +1 -1
  79. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +4 -4
  80. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +1 -1
  81. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +4 -4
  82. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +1 -1
  83. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +4 -4
  84. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +1 -1
  85. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +4 -4
  86. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +1 -1
  87. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +4 -4
  88. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +1 -1
  89. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +4 -4
  90. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +1 -1
  91. package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +1 -1
  92. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +4 -4
  93. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +1 -1
  94. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +4 -4
  95. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +1 -1
  96. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +4 -4
  97. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +1 -1
  98. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +4 -4
  99. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +1 -1
  100. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +5 -5
  101. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +1 -1
  102. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +5 -5
  103. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +1 -1
  104. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +4 -4
  105. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +1 -1
  106. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +5 -5
  107. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +1 -1
  108. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +4 -4
  109. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +1 -1
  110. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +5 -5
  111. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +1 -1
  112. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +5 -5
  113. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +1 -1
  114. package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +1 -1
  115. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +4 -4
  116. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +1 -1
  117. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +4 -4
  118. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +1 -1
  119. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +4 -4
  120. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +1 -1
  121. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +4 -4
  122. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +1 -1
  123. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +4 -4
  124. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +1 -1
  125. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +4 -4
  126. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +1 -1
  127. package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +1 -1
  128. package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs +3 -3
  129. package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +1 -1
  130. package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs +3 -3
  131. package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +1 -1
  132. package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs +3 -3
  133. package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +1 -1
  134. package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs +3 -3
  135. package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +1 -1
  136. package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs +3 -3
  137. package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +1 -1
  138. package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs +3 -3
  139. package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +1 -1
  140. package/fesm2022/rededor-site-front-end-lib-shared.mjs +6 -6
  141. package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +1 -1
  142. package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
  143. package/package.json +1 -1
  144. package/styles/_breakpoints.scss +5 -5
@@ -514,16 +514,16 @@ class CuraInputTextComponent {
514
514
  this.maskedInput.updateValue();
515
515
  }
516
516
  }
517
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraInputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
518
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: CuraInputTextComponent, isStandalone: true, selector: "cura-input-text", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, inputMode: { classPropertyName: "inputMode", publicName: "inputMode", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, iconName: { classPropertyName: "iconName", publicName: "iconName", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, maskPreset: { classPropertyName: "maskPreset", publicName: "maskPreset", isSignal: true, isRequired: false, transformFunction: null }, enableSelectionMode: { classPropertyName: "enableSelectionMode", publicName: "enableSelectionMode", isSignal: true, isRequired: false, transformFunction: null }, maskRegex: { classPropertyName: "maskRegex", publicName: "maskRegex", isSignal: true, isRequired: false, transformFunction: null }, maskAdvanced: { classPropertyName: "maskAdvanced", publicName: "maskAdvanced", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, clearIcon: { classPropertyName: "clearIcon", publicName: "clearIcon", isSignal: true, isRequired: false, transformFunction: null }, hideErrorIcon: { classPropertyName: "hideErrorIcon", publicName: "hideErrorIcon", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", valueChange: "valueChange", inputClear: "inputClear" }, host: { attributes: { "role": "textbox" }, properties: { "attr.aria-disabled": "disabled()", "attr.aria-required": "required()", "attr.aria-invalid": "status() === \"error\"" } }, providers: [
517
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraInputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
518
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: CuraInputTextComponent, isStandalone: true, selector: "cura-input-text", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, inputMode: { classPropertyName: "inputMode", publicName: "inputMode", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, iconName: { classPropertyName: "iconName", publicName: "iconName", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, maskPreset: { classPropertyName: "maskPreset", publicName: "maskPreset", isSignal: true, isRequired: false, transformFunction: null }, enableSelectionMode: { classPropertyName: "enableSelectionMode", publicName: "enableSelectionMode", isSignal: true, isRequired: false, transformFunction: null }, maskRegex: { classPropertyName: "maskRegex", publicName: "maskRegex", isSignal: true, isRequired: false, transformFunction: null }, maskAdvanced: { classPropertyName: "maskAdvanced", publicName: "maskAdvanced", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, clearIcon: { classPropertyName: "clearIcon", publicName: "clearIcon", isSignal: true, isRequired: false, transformFunction: null }, hideErrorIcon: { classPropertyName: "hideErrorIcon", publicName: "hideErrorIcon", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", valueChange: "valueChange", inputClear: "inputClear" }, host: { attributes: { "role": "textbox" }, properties: { "attr.aria-disabled": "disabled()", "attr.aria-required": "required()", "attr.aria-invalid": "status() === \"error\"" } }, providers: [
519
519
  {
520
520
  provide: NG_VALUE_ACCESSOR,
521
521
  useExisting: forwardRef(() => CuraInputTextComponent),
522
522
  multi: true,
523
523
  },
524
- ], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"cura-input-group\" [ngClass]=\"classes()\" [style]=\"styles()\" (mouseenter)=\"handleMouseEnter()\" (mouseleave)=\"handleMouseLeave()\">\r\n <div class=\"input-wrapper\">\r\n @if (label()) {\r\n <cura-label class=\"label\" weight=\"bold\" [size]=\"size() === 'large' ? 'small' : 'xsmall'\" [color]=\"labelColor()\">\r\n {{ label() }}\r\n @if (required()) {\r\n <span class=\"required\">*</span>\r\n }\r\n </cura-label>\r\n }\r\n\r\n <div class=\"cura-input-field\" [style]=\"styles()\">\r\n @if (iconConfig().icon) {\r\n <div class=\"feedback-icon\" [style]=\"styles()\">\r\n <cura-icon [name]=\"iconConfig().icon!.name\" iconset=\"default\" [size]=\"iconConfig().size\" [color]=\"iconConfig().icon!.color\"> </cura-icon>\r\n </div>\r\n }\r\n\r\n <input\r\n #inputElement\r\n [name]=\"name() || ''\"\r\n [type]=\"type()\"\r\n [placeholder]=\"placeholder()\"\r\n [disabled]=\"disabled() || isLoading()\"\r\n [required]=\"required()\"\r\n [readonly]=\"readOnly()\"\r\n [attr.maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"value\"\r\n [attr.inputmode]=\"maskPreset() ? 'tel' : inputMode()\"\r\n [autocomplete]=\"autocomplete()\"\r\n [ngClass]=\"classes()\"\r\n [style]=\"styles()\"\r\n (focus)=\"handleInputFocus()\"\r\n (blur)=\"handleInputBlur()\"\r\n (input)=\"handleInputChange($event)\"\r\n (keydown)=\"handleKeyDown($event)\"\r\n />\r\n\r\n @if (shouldShowClearButton()) {\r\n <cura-icon\r\n [size]=\"size() === 'large' || mode() === 'transparent' ? 20 : 16\"\r\n color=\"primary-base\"\r\n name=\"closeCircle\"\r\n iconset=\"default\"\r\n class=\"clear-button\"\r\n (click)=\"handleClearInput()\"\r\n >\r\n </cura-icon>\r\n }\r\n\r\n @if (isLoading()) {\r\n <cura-loader-circle [size]=\"size() === 'large' ? 'medium' : 'small'\" color=\"primary-base\"> </cura-loader-circle>\r\n }\r\n </div>\r\n\r\n @if (helperText()) {\r\n <div [style]=\"styles()\" class=\"helper-text\" part=\"cura-input-text-helper\">\r\n <cura-label size=\"xsmall\" lineHeight=\"xsmall\" [color]=\"helperText().color\">\r\n <ng-content></ng-content>\r\n </cura-label>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [":host{display:block;box-sizing:border-box;width:100%}.required{color:var(--error-base)}.cura-input-group{width:100%;font-family:var(--font-family);text-align:left!important}.cura-input-group cura-label{margin-bottom:8px}.cura-input-group .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group .cura-input-field cura-loader-circle{margin:0 12px}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px;padding-top:6px}.cura-input-group .cura-input-field .clear-button{margin-right:12px;cursor:pointer}.cura-input-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark)!important;background-color:var(--success-lighter)!important}.cura-input-group.success:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark)!important;background-color:var(--error-lighter)!important}.cura-input-group.error:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base)!important;background-color:var(--neutral-purewhite);outline:none}.cura-input-group:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black)!important}.cura-input-group:focus-within.selection .cura-input-field{border-radius:4px 4px 0 0}.cura-input-group.isLoading{cursor:wait}.cura-input-group.isLoading .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:var(--neutral-white)!important;border:2px solid var(--primary-base)!important}.cura-input-group.isLoading .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.isLoading .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.isLoading .cura-input-field input{cursor:wait;color:var(--primary-base)!important}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--primary-base)!important}.cura-input-group.readOnly[read-only] .cura-input-field,.cura-input-group.readOnly[read-only] .cura-input-field input{cursor:default}.cura-input-group.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.cura-input-group.disabled .cura-input-field input{color:var(--neutral-medium)}.cura-input-group.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.cura-input-group.transparent{background-color:transparent;padding:0;max-height:80px}.cura-input-group.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent!important;border:none!important;border-radius:0;height:27px}.cura-input-group.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent .cura-input-field input{color:var(--neutral-black)!important;font-size:16px;font-weight:var(--font-weight-bold)!important;padding:0}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.cura-input-group.transparent:focus-within .cura-input-field{border:none!important;background-color:transparent!important}.cura-input-group.transparent:focus-within .cura-input-field input{border:none!important;outline:none}.cura-input-group.transparent .helper-text{margin-top:0}.cura-input-group.transparent.transparent{display:flex;background-color:transparent;padding:0;justify-content:start;align-items:center;max-height:80px;gap:4px}.cura-input-group.transparent.transparent .input-wrapper{display:flex;width:100%;flex-direction:column;justify-content:start}.cura-input-group.transparent.transparent cura-label{margin-bottom:4px;--color-body: var(--neutral-dark) !important}.cura-input-group.transparent.transparent.error cura-label{--color-body: var(--neutral-black) !important}.cura-input-group.transparent.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);color:var(--primary-base);letter-spacing:.32px;line-height:20px;box-sizing:border-box;background-color:transparent!important;border:none!important;border-radius:0;height:27px;overflow:hidden}.cura-input-group.transparent.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent.transparent .cura-input-field input{order:1;color:var(--neutral-black)!important;font-size:16px;font-weight:var(--font-weight-bold)!important;padding:0}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent.transparent .cura-input-field .clear-button{order:2;cursor:pointer;margin:0 20px 0 0;padding:0}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding:6px 0 0}.cura-input-group.transparent.transparent .cura-input-field cura-loader-circle{order:2;margin:0 20px 0 0}.cura-input-group.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field input{color:var(--error-darker)!important}.cura-input-group.error .cura-input-field input::placeholder{color:var(--error-darker)!important}.cura-input-group.error.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.error.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.error.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.error:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark)!important;background-color:var(--error-lighter)!important}.cura-input-group.error:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field input{color:var(--success-darker)!important}.cura-input-group.success .cura-input-field input::placeholder{color:var(--success-darker)!important}.cura-input-group.success.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.success.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.success.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.success:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark)!important;background-color:var(--success-lighter)!important}.cura-input-group.success:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: CuraLabelComponent, selector: "cura-label", inputs: ["size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }, { kind: "component", type: CuraLoaderCircleComponent, selector: "cura-loader-circle", inputs: ["size", "color"] }] }); }
524
+ ], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"cura-input-group\" [ngClass]=\"classes()\" [style]=\"styles()\" (mouseenter)=\"handleMouseEnter()\" (mouseleave)=\"handleMouseLeave()\">\n <div class=\"input-wrapper\">\n @if (label()) {\n <cura-label class=\"label\" weight=\"bold\" [size]=\"size() === 'large' ? 'small' : 'xsmall'\" [color]=\"labelColor()\">\n {{ label() }}\n @if (required()) {\n <span class=\"required\">*</span>\n }\n </cura-label>\n }\n\n <div class=\"cura-input-field\" [style]=\"styles()\">\n @if (iconConfig().icon) {\n <div class=\"feedback-icon\" [style]=\"styles()\">\n <cura-icon [name]=\"iconConfig().icon!.name\" iconset=\"default\" [size]=\"iconConfig().size\" [color]=\"iconConfig().icon!.color\"> </cura-icon>\n </div>\n }\n\n <input\n #inputElement\n [name]=\"name() || ''\"\n [type]=\"type()\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"disabled() || isLoading()\"\n [required]=\"required()\"\n [readonly]=\"readOnly()\"\n [attr.maxlength]=\"maxlength()\"\n [(ngModel)]=\"value\"\n [attr.inputmode]=\"maskPreset() ? 'tel' : inputMode()\"\n [autocomplete]=\"autocomplete()\"\n [ngClass]=\"classes()\"\n [style]=\"styles()\"\n (focus)=\"handleInputFocus()\"\n (blur)=\"handleInputBlur()\"\n (input)=\"handleInputChange($event)\"\n (keydown)=\"handleKeyDown($event)\"\n />\n\n @if (shouldShowClearButton()) {\n <cura-icon\n [size]=\"size() === 'large' || mode() === 'transparent' ? 20 : 16\"\n color=\"primary-base\"\n name=\"closeCircle\"\n iconset=\"default\"\n class=\"clear-button\"\n (click)=\"handleClearInput()\"\n >\n </cura-icon>\n }\n\n @if (isLoading()) {\n <cura-loader-circle [size]=\"size() === 'large' ? 'medium' : 'small'\" color=\"primary-base\"> </cura-loader-circle>\n }\n </div>\n\n @if (helperText()) {\n <div [style]=\"styles()\" class=\"helper-text\" part=\"cura-input-text-helper\">\n <cura-label size=\"xsmall\" lineHeight=\"xsmall\" [color]=\"helperText().color\">\n <ng-content></ng-content>\n </cura-label>\n </div>\n }\n </div>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;width:100%}.required{color:var(--error-base)}.cura-input-group{width:100%;font-family:var(--font-family);text-align:left!important}.cura-input-group cura-label{margin-bottom:8px}.cura-input-group .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group .cura-input-field cura-loader-circle{margin:0 12px}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px;padding-top:6px}.cura-input-group .cura-input-field .clear-button{margin-right:12px;cursor:pointer}.cura-input-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark)!important;background-color:var(--success-lighter)!important}.cura-input-group.success:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark)!important;background-color:var(--error-lighter)!important}.cura-input-group.error:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base)!important;background-color:var(--neutral-purewhite);outline:none}.cura-input-group:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black)!important}.cura-input-group:focus-within.selection .cura-input-field{border-radius:4px 4px 0 0}.cura-input-group.isLoading{cursor:wait}.cura-input-group.isLoading .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:var(--neutral-white)!important;border:2px solid var(--primary-base)!important}.cura-input-group.isLoading .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.isLoading .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.isLoading .cura-input-field input{cursor:wait;color:var(--primary-base)!important}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--primary-base)!important}.cura-input-group.readOnly[read-only] .cura-input-field,.cura-input-group.readOnly[read-only] .cura-input-field input{cursor:default}.cura-input-group.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.cura-input-group.disabled .cura-input-field input{color:var(--neutral-medium)}.cura-input-group.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.cura-input-group.transparent{background-color:transparent;padding:0;max-height:80px}.cura-input-group.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent!important;border:none!important;border-radius:0;height:27px}.cura-input-group.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent .cura-input-field input{color:var(--neutral-black)!important;font-size:16px;font-weight:var(--font-weight-bold)!important;padding:0}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.cura-input-group.transparent:focus-within .cura-input-field{border:none!important;background-color:transparent!important}.cura-input-group.transparent:focus-within .cura-input-field input{border:none!important;outline:none}.cura-input-group.transparent .helper-text{margin-top:0}.cura-input-group.transparent.transparent{display:flex;background-color:transparent;padding:0;justify-content:start;align-items:center;max-height:80px;gap:4px}.cura-input-group.transparent.transparent .input-wrapper{display:flex;width:100%;flex-direction:column;justify-content:start}.cura-input-group.transparent.transparent cura-label{margin-bottom:4px;--color-body: var(--neutral-dark) !important}.cura-input-group.transparent.transparent.error cura-label{--color-body: var(--neutral-black) !important}.cura-input-group.transparent.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);color:var(--primary-base);letter-spacing:.32px;line-height:20px;box-sizing:border-box;background-color:transparent!important;border:none!important;border-radius:0;height:27px;overflow:hidden}.cura-input-group.transparent.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent.transparent .cura-input-field input{order:1;color:var(--neutral-black)!important;font-size:16px;font-weight:var(--font-weight-bold)!important;padding:0}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent.transparent .cura-input-field .clear-button{order:2;cursor:pointer;margin:0 20px 0 0;padding:0}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding:6px 0 0}.cura-input-group.transparent.transparent .cura-input-field cura-loader-circle{order:2;margin:0 20px 0 0}.cura-input-group.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field input{color:var(--error-darker)!important}.cura-input-group.error .cura-input-field input::placeholder{color:var(--error-darker)!important}.cura-input-group.error.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.error.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.error.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.error:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark)!important;background-color:var(--error-lighter)!important}.cura-input-group.error:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field input{color:var(--success-darker)!important}.cura-input-group.success .cura-input-field input::placeholder{color:var(--success-darker)!important}.cura-input-group.success.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.success.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.success.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.success:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark)!important;background-color:var(--success-lighter)!important}.cura-input-group.success:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: CuraLabelComponent, selector: "cura-label", inputs: ["size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }, { kind: "component", type: CuraLoaderCircleComponent, selector: "cura-loader-circle", inputs: ["size", "color"] }] }); }
525
525
  }
526
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraInputTextComponent, decorators: [{
526
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraInputTextComponent, decorators: [{
527
527
  type: Component,
528
528
  args: [{ selector: 'cura-input-text', imports: [CommonModule, FormsModule, CuraLabelComponent, CuraIconComponent, CuraLoaderCircleComponent], host: {
529
529
  role: 'textbox',
@@ -536,7 +536,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
536
536
  useExisting: forwardRef(() => CuraInputTextComponent),
537
537
  multi: true,
538
538
  },
539
- ], template: "<div class=\"cura-input-group\" [ngClass]=\"classes()\" [style]=\"styles()\" (mouseenter)=\"handleMouseEnter()\" (mouseleave)=\"handleMouseLeave()\">\r\n <div class=\"input-wrapper\">\r\n @if (label()) {\r\n <cura-label class=\"label\" weight=\"bold\" [size]=\"size() === 'large' ? 'small' : 'xsmall'\" [color]=\"labelColor()\">\r\n {{ label() }}\r\n @if (required()) {\r\n <span class=\"required\">*</span>\r\n }\r\n </cura-label>\r\n }\r\n\r\n <div class=\"cura-input-field\" [style]=\"styles()\">\r\n @if (iconConfig().icon) {\r\n <div class=\"feedback-icon\" [style]=\"styles()\">\r\n <cura-icon [name]=\"iconConfig().icon!.name\" iconset=\"default\" [size]=\"iconConfig().size\" [color]=\"iconConfig().icon!.color\"> </cura-icon>\r\n </div>\r\n }\r\n\r\n <input\r\n #inputElement\r\n [name]=\"name() || ''\"\r\n [type]=\"type()\"\r\n [placeholder]=\"placeholder()\"\r\n [disabled]=\"disabled() || isLoading()\"\r\n [required]=\"required()\"\r\n [readonly]=\"readOnly()\"\r\n [attr.maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"value\"\r\n [attr.inputmode]=\"maskPreset() ? 'tel' : inputMode()\"\r\n [autocomplete]=\"autocomplete()\"\r\n [ngClass]=\"classes()\"\r\n [style]=\"styles()\"\r\n (focus)=\"handleInputFocus()\"\r\n (blur)=\"handleInputBlur()\"\r\n (input)=\"handleInputChange($event)\"\r\n (keydown)=\"handleKeyDown($event)\"\r\n />\r\n\r\n @if (shouldShowClearButton()) {\r\n <cura-icon\r\n [size]=\"size() === 'large' || mode() === 'transparent' ? 20 : 16\"\r\n color=\"primary-base\"\r\n name=\"closeCircle\"\r\n iconset=\"default\"\r\n class=\"clear-button\"\r\n (click)=\"handleClearInput()\"\r\n >\r\n </cura-icon>\r\n }\r\n\r\n @if (isLoading()) {\r\n <cura-loader-circle [size]=\"size() === 'large' ? 'medium' : 'small'\" color=\"primary-base\"> </cura-loader-circle>\r\n }\r\n </div>\r\n\r\n @if (helperText()) {\r\n <div [style]=\"styles()\" class=\"helper-text\" part=\"cura-input-text-helper\">\r\n <cura-label size=\"xsmall\" lineHeight=\"xsmall\" [color]=\"helperText().color\">\r\n <ng-content></ng-content>\r\n </cura-label>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [":host{display:block;box-sizing:border-box;width:100%}.required{color:var(--error-base)}.cura-input-group{width:100%;font-family:var(--font-family);text-align:left!important}.cura-input-group cura-label{margin-bottom:8px}.cura-input-group .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group .cura-input-field cura-loader-circle{margin:0 12px}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px;padding-top:6px}.cura-input-group .cura-input-field .clear-button{margin-right:12px;cursor:pointer}.cura-input-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark)!important;background-color:var(--success-lighter)!important}.cura-input-group.success:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark)!important;background-color:var(--error-lighter)!important}.cura-input-group.error:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base)!important;background-color:var(--neutral-purewhite);outline:none}.cura-input-group:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black)!important}.cura-input-group:focus-within.selection .cura-input-field{border-radius:4px 4px 0 0}.cura-input-group.isLoading{cursor:wait}.cura-input-group.isLoading .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:var(--neutral-white)!important;border:2px solid var(--primary-base)!important}.cura-input-group.isLoading .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.isLoading .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.isLoading .cura-input-field input{cursor:wait;color:var(--primary-base)!important}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--primary-base)!important}.cura-input-group.readOnly[read-only] .cura-input-field,.cura-input-group.readOnly[read-only] .cura-input-field input{cursor:default}.cura-input-group.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.cura-input-group.disabled .cura-input-field input{color:var(--neutral-medium)}.cura-input-group.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.cura-input-group.transparent{background-color:transparent;padding:0;max-height:80px}.cura-input-group.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent!important;border:none!important;border-radius:0;height:27px}.cura-input-group.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent .cura-input-field input{color:var(--neutral-black)!important;font-size:16px;font-weight:var(--font-weight-bold)!important;padding:0}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.cura-input-group.transparent:focus-within .cura-input-field{border:none!important;background-color:transparent!important}.cura-input-group.transparent:focus-within .cura-input-field input{border:none!important;outline:none}.cura-input-group.transparent .helper-text{margin-top:0}.cura-input-group.transparent.transparent{display:flex;background-color:transparent;padding:0;justify-content:start;align-items:center;max-height:80px;gap:4px}.cura-input-group.transparent.transparent .input-wrapper{display:flex;width:100%;flex-direction:column;justify-content:start}.cura-input-group.transparent.transparent cura-label{margin-bottom:4px;--color-body: var(--neutral-dark) !important}.cura-input-group.transparent.transparent.error cura-label{--color-body: var(--neutral-black) !important}.cura-input-group.transparent.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);color:var(--primary-base);letter-spacing:.32px;line-height:20px;box-sizing:border-box;background-color:transparent!important;border:none!important;border-radius:0;height:27px;overflow:hidden}.cura-input-group.transparent.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent.transparent .cura-input-field input{order:1;color:var(--neutral-black)!important;font-size:16px;font-weight:var(--font-weight-bold)!important;padding:0}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent.transparent .cura-input-field .clear-button{order:2;cursor:pointer;margin:0 20px 0 0;padding:0}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding:6px 0 0}.cura-input-group.transparent.transparent .cura-input-field cura-loader-circle{order:2;margin:0 20px 0 0}.cura-input-group.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field input{color:var(--error-darker)!important}.cura-input-group.error .cura-input-field input::placeholder{color:var(--error-darker)!important}.cura-input-group.error.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.error.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.error.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.error:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark)!important;background-color:var(--error-lighter)!important}.cura-input-group.error:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field input{color:var(--success-darker)!important}.cura-input-group.success .cura-input-field input::placeholder{color:var(--success-darker)!important}.cura-input-group.success.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.success.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.success.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.success:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark)!important;background-color:var(--success-lighter)!important}.cura-input-group.success:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n"] }]
539
+ ], template: "<div class=\"cura-input-group\" [ngClass]=\"classes()\" [style]=\"styles()\" (mouseenter)=\"handleMouseEnter()\" (mouseleave)=\"handleMouseLeave()\">\n <div class=\"input-wrapper\">\n @if (label()) {\n <cura-label class=\"label\" weight=\"bold\" [size]=\"size() === 'large' ? 'small' : 'xsmall'\" [color]=\"labelColor()\">\n {{ label() }}\n @if (required()) {\n <span class=\"required\">*</span>\n }\n </cura-label>\n }\n\n <div class=\"cura-input-field\" [style]=\"styles()\">\n @if (iconConfig().icon) {\n <div class=\"feedback-icon\" [style]=\"styles()\">\n <cura-icon [name]=\"iconConfig().icon!.name\" iconset=\"default\" [size]=\"iconConfig().size\" [color]=\"iconConfig().icon!.color\"> </cura-icon>\n </div>\n }\n\n <input\n #inputElement\n [name]=\"name() || ''\"\n [type]=\"type()\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"disabled() || isLoading()\"\n [required]=\"required()\"\n [readonly]=\"readOnly()\"\n [attr.maxlength]=\"maxlength()\"\n [(ngModel)]=\"value\"\n [attr.inputmode]=\"maskPreset() ? 'tel' : inputMode()\"\n [autocomplete]=\"autocomplete()\"\n [ngClass]=\"classes()\"\n [style]=\"styles()\"\n (focus)=\"handleInputFocus()\"\n (blur)=\"handleInputBlur()\"\n (input)=\"handleInputChange($event)\"\n (keydown)=\"handleKeyDown($event)\"\n />\n\n @if (shouldShowClearButton()) {\n <cura-icon\n [size]=\"size() === 'large' || mode() === 'transparent' ? 20 : 16\"\n color=\"primary-base\"\n name=\"closeCircle\"\n iconset=\"default\"\n class=\"clear-button\"\n (click)=\"handleClearInput()\"\n >\n </cura-icon>\n }\n\n @if (isLoading()) {\n <cura-loader-circle [size]=\"size() === 'large' ? 'medium' : 'small'\" color=\"primary-base\"> </cura-loader-circle>\n }\n </div>\n\n @if (helperText()) {\n <div [style]=\"styles()\" class=\"helper-text\" part=\"cura-input-text-helper\">\n <cura-label size=\"xsmall\" lineHeight=\"xsmall\" [color]=\"helperText().color\">\n <ng-content></ng-content>\n </cura-label>\n </div>\n }\n </div>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;width:100%}.required{color:var(--error-base)}.cura-input-group{width:100%;font-family:var(--font-family);text-align:left!important}.cura-input-group cura-label{margin-bottom:8px}.cura-input-group .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group .cura-input-field cura-loader-circle{margin:0 12px}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px;padding-top:6px}.cura-input-group .cura-input-field .clear-button{margin-right:12px;cursor:pointer}.cura-input-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark)!important;background-color:var(--success-lighter)!important}.cura-input-group.success:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark)!important;background-color:var(--error-lighter)!important}.cura-input-group.error:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base)!important;background-color:var(--neutral-purewhite);outline:none}.cura-input-group:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black)!important}.cura-input-group:focus-within.selection .cura-input-field{border-radius:4px 4px 0 0}.cura-input-group.isLoading{cursor:wait}.cura-input-group.isLoading .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:var(--neutral-white)!important;border:2px solid var(--primary-base)!important}.cura-input-group.isLoading .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.isLoading .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.isLoading .cura-input-field input{cursor:wait;color:var(--primary-base)!important}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--primary-base)!important}.cura-input-group.readOnly[read-only] .cura-input-field,.cura-input-group.readOnly[read-only] .cura-input-field input{cursor:default}.cura-input-group.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.cura-input-group.disabled .cura-input-field input{color:var(--neutral-medium)}.cura-input-group.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.cura-input-group.transparent{background-color:transparent;padding:0;max-height:80px}.cura-input-group.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent!important;border:none!important;border-radius:0;height:27px}.cura-input-group.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent .cura-input-field input{color:var(--neutral-black)!important;font-size:16px;font-weight:var(--font-weight-bold)!important;padding:0}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.cura-input-group.transparent:focus-within .cura-input-field{border:none!important;background-color:transparent!important}.cura-input-group.transparent:focus-within .cura-input-field input{border:none!important;outline:none}.cura-input-group.transparent .helper-text{margin-top:0}.cura-input-group.transparent.transparent{display:flex;background-color:transparent;padding:0;justify-content:start;align-items:center;max-height:80px;gap:4px}.cura-input-group.transparent.transparent .input-wrapper{display:flex;width:100%;flex-direction:column;justify-content:start}.cura-input-group.transparent.transparent cura-label{margin-bottom:4px;--color-body: var(--neutral-dark) !important}.cura-input-group.transparent.transparent.error cura-label{--color-body: var(--neutral-black) !important}.cura-input-group.transparent.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);color:var(--primary-base);letter-spacing:.32px;line-height:20px;box-sizing:border-box;background-color:transparent!important;border:none!important;border-radius:0;height:27px;overflow:hidden}.cura-input-group.transparent.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent.transparent .cura-input-field input{order:1;color:var(--neutral-black)!important;font-size:16px;font-weight:var(--font-weight-bold)!important;padding:0}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent.transparent .cura-input-field .clear-button{order:2;cursor:pointer;margin:0 20px 0 0;padding:0}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding:6px 0 0}.cura-input-group.transparent.transparent .cura-input-field cura-loader-circle{order:2;margin:0 20px 0 0}.cura-input-group.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field input{color:var(--error-darker)!important}.cura-input-group.error .cura-input-field input::placeholder{color:var(--error-darker)!important}.cura-input-group.error.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.error.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.error.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.error:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark)!important;background-color:var(--error-lighter)!important}.cura-input-group.error:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.error:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field input{color:var(--success-darker)!important}.cura-input-group.success .cura-input-field input::placeholder{color:var(--success-darker)!important}.cura-input-group.success.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.small .cura-input-field input{line-height:13px;letter-spacing:.72px}.cura-input-group.success.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.medium .cura-input-field input{line-height:16px;letter-spacing:.56px}.cura-input-group.success.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.success:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark)!important;background-color:var(--success-lighter)!important}.cura-input-group.success:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0 12px 0 8px}.cura-input-group.success:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n"] }]
540
540
  }], ctorParameters: () => [], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], inputMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputMode", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], iconName: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconName", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], maskPreset: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskPreset", required: false }] }], enableSelectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableSelectionMode", required: false }] }], maskRegex: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskRegex", required: false }] }], maskAdvanced: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskAdvanced", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], clearIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearIcon", required: false }] }], hideErrorIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideErrorIcon", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], inputClear: [{ type: i0.Output, args: ["inputClear"] }], inputElement: [{ type: i0.ViewChild, args: ['inputElement', { isSignal: true }] }] } });
541
541
 
542
542
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"rededor-site-front-end-lib-cura-forms-cura-input-text.mjs","sources":["../../../projects/site-front-end-lib/cura/forms/cura-input-text/cura-input-text.definitions.ts","../../../projects/site-front-end-lib/cura/forms/cura-input-text/cura-input-text.component.ts","../../../projects/site-front-end-lib/cura/forms/cura-input-text/cura-input-text.component.html","../../../projects/site-front-end-lib/cura/forms/cura-input-text/rededor-site-front-end-lib-cura-forms-cura-input-text.ts"],"sourcesContent":["/**\r\n * Display mode options for the input text component\r\n */\r\nexport type InputTextMode = 'default' | 'transparent';\r\n\r\n/**\r\n * Size options for the input text component\r\n */\r\nexport type InputTextSize = 'small' | 'medium' | 'large';\r\n\r\n/**\r\n * Status options for the input text component\r\n */\r\nexport type InputTextStatus = 'success' | 'error' | 'default';\r\n\r\n/**\r\n * Input type options for the input text component\r\n */\r\nexport type InputTextType = 'text' | 'number' | 'email' | 'password' | 'tel' | 'url';\r\n\r\n/**\r\n * Input mode options for the input text component\r\n */\r\nexport type InputTextInputMode = 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\r\n\r\n/**\r\n * Mask preset options for input formatting\r\n */\r\nexport type MaskPreset = 'cpf' | 'cnpj' | 'cpf_cnpj' | 'phone' | 'date' | 'dateRange';\r\n\r\n/**\r\n * Event payload emitted when the input value changes\r\n */\r\nexport interface InputTextValueChangeEvent {\r\n /**\r\n * The new value of the input\r\n */\r\n value: string | number;\r\n}\r\n\r\n/**\r\n * Event payload emitted when the clear button is clicked\r\n */\r\nexport interface InputTextClearEvent {\r\n /**\r\n * The value that was cleared (usually empty string)\r\n */\r\n value: string | number;\r\n}\r\n\r\n/**\r\n * Mask options map for IMask library\r\n */\r\nexport interface MaskOptionsMap {\r\n [key: string]: any;\r\n}\r\n\r\n/**\r\n * Mask configuration for different presets\r\n */\r\nexport const maskOptions: MaskOptionsMap = {\r\n cpf_cnpj: {\r\n mask: [{ mask: '000.000.000-00' }, { mask: '00.000.000/0000-00' }],\r\n placeholderChar: '_',\r\n },\r\n cpf: {\r\n mask: '000.000.000-00',\r\n placeholderChar: '_',\r\n },\r\n cnpj: {\r\n mask: '00.000.000/0000-00',\r\n placeholderChar: '_',\r\n },\r\n phone: {\r\n mask: '(00) 00000-0000',\r\n blocks: {\r\n '(00)': {\r\n mask: '(00)',\r\n maxLength: 2,\r\n placeholderChar: '',\r\n },\r\n '00000': {\r\n mask: '00000',\r\n maxLength: 5,\r\n placeholderChar: '_',\r\n },\r\n '-': {\r\n mask: '-',\r\n },\r\n '0000': {\r\n mask: '0000',\r\n maxLength: 4,\r\n placeholderChar: '_',\r\n },\r\n },\r\n placeholderChar: '_',\r\n },\r\n date: {\r\n mask: '00/00/0000',\r\n },\r\n dateRange: {\r\n mask: '00/00/0000 - 00/00/0000',\r\n },\r\n};\r\n","import {\r\n Component,\r\n input,\r\n output,\r\n signal,\r\n computed,\r\n inject,\r\n forwardRef,\r\n ElementRef,\r\n AfterViewInit,\r\n OnDestroy,\r\n viewChild,\r\n model,\r\n effect,\r\n PLATFORM_ID,\r\n} from '@angular/core';\r\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\r\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\r\nimport { CuraLabelComponent } from '@rededor/site-front-end-lib/cura/forms/cura-label';\r\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\r\nimport { CuraLoaderCircleComponent } from '@rededor/site-front-end-lib/cura/loaders/cura-loader-circle';\r\nimport IMask, { FactoryArg, InputMask } from 'imask';\r\nimport {\r\n InputTextMode,\r\n InputTextSize,\r\n InputTextStatus,\r\n InputTextType,\r\n InputTextInputMode,\r\n MaskPreset,\r\n InputTextValueChangeEvent,\r\n InputTextClearEvent,\r\n maskOptions,\r\n} from './cura-input-text.definitions';\r\n\r\n@Component({\r\n selector: 'cura-input-text',\r\n imports: [CommonModule, FormsModule, CuraLabelComponent, CuraIconComponent, CuraLoaderCircleComponent],\r\n templateUrl: './cura-input-text.component.html',\r\n styleUrls: ['./cura-input-text.component.scss'],\r\n host: {\r\n role: 'textbox',\r\n '[attr.aria-disabled]': 'disabled()',\r\n '[attr.aria-required]': 'required()',\r\n '[attr.aria-invalid]': 'status() === \"error\"',\r\n },\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => CuraInputTextComponent),\r\n multi: true,\r\n },\r\n ],\r\n})\r\nexport class CuraInputTextComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {\r\n private curaApi: CuraApiService = inject(CuraApiService);\r\n private elementRef = inject(ElementRef);\r\n private platformId = inject(PLATFORM_ID);\r\n /**\r\n * Mode of the input: 'default' or 'transparent'\r\n */\r\n mode = input<InputTextMode>('default');\r\n\r\n /**\r\n * Status of the input component\r\n */\r\n status = input<InputTextStatus>('default');\r\n\r\n /**\r\n * Size of the input component\r\n */\r\n size = input<InputTextSize>('medium');\r\n\r\n /**\r\n * Type of the input\r\n */\r\n type = input<InputTextType>('text');\r\n\r\n /**\r\n * Input mode for mobile keyboards\r\n */\r\n inputMode = input<InputTextInputMode>('text');\r\n\r\n /**\r\n * Label text for the input\r\n */\r\n label = input<string>('');\r\n\r\n /**\r\n * Name attribute for the input\r\n */\r\n name = input<string>('');\r\n\r\n /**\r\n * Placeholder text for the input\r\n */\r\n placeholder = input<string | null>(null);\r\n\r\n /**\r\n * Current value of the input\r\n */\r\n value = model<string | number | any>('');\r\n\r\n /**\r\n * Icon name to display\r\n */\r\n iconName = input<string>('');\r\n\r\n /**\r\n * Helper text displayed below the input\r\n */\r\n // helperText = input<string>(''); // Não está sendo usado\r\n\r\n /**\r\n * Whether the input is disabled\r\n */\r\n disabled = input<boolean>(false);\r\n\r\n /**\r\n * Whether the input is required\r\n */\r\n required = input<boolean>(false);\r\n\r\n /**\r\n * Mask preset for input formatting\r\n */\r\n maskPreset = input<MaskPreset | undefined>(undefined);\r\n\r\n /**\r\n * Controls whether the selection functionality is active\r\n */\r\n enableSelectionMode = input<boolean>(false);\r\n\r\n /**\r\n * Regular expression for custom input masking\r\n */\r\n maskRegex = input<string | null>(null);\r\n\r\n /**\r\n * Advanced mask object for IMask library\r\n */\r\n maskAdvanced = input<any | string | null>(null);\r\n\r\n /**\r\n * Maximum length of the input value\r\n */\r\n maxlength = input<number | undefined>(undefined);\r\n\r\n /**\r\n * Whether the input is read-only\r\n */\r\n readOnly = input<boolean>(false);\r\n\r\n /**\r\n * Whether the input is in loading state\r\n */\r\n isLoading = input<boolean>(false);\r\n\r\n /**\r\n * Whether to show the clear button\r\n */\r\n clearIcon = input<boolean>(true);\r\n\r\n /**\r\n * Removes the error icon when necessary\r\n */\r\n hideErrorIcon = input<boolean>(false);\r\n\r\n /**\r\n * Autocomplete attribute for the input\r\n */\r\n autocomplete = input<string>('on');\r\n\r\n /**\r\n * Event emitted when the value changes\r\n */\r\n valueChange = output<InputTextValueChangeEvent>();\r\n\r\n /**\r\n * Event emitted when the clear button is clicked\r\n */\r\n inputClear = output<InputTextClearEvent>();\r\n\r\n // Internal state signals\r\n private isHovered = signal<boolean>(false);\r\n private isFocused = signal<boolean>(false);\r\n\r\n // Form control callbacks\r\n private onChange = (value: string | number) => {};\r\n private onTouched = () => {};\r\n\r\n // ViewChild references\r\n inputElement = viewChild<ElementRef<HTMLInputElement>>('inputElement');\r\n\r\n /**\r\n * Instance of InputMask is returned when IMask constructor is called.\r\n */\r\n maskedInput?: InputMask<FactoryArg>;\r\n\r\n // Reference to input element (equivalent to inputRef in Stencil)\r\n private inputRef?: HTMLInputElement;\r\n\r\n // Utility functions (equivalent to Stencil utils)\r\n private checkMobile(): boolean {\r\n if (isPlatformBrowser(this.platformId)) {\r\n return window?.innerWidth < 768; // Static.breakpoints.medium.min equivalent\r\n }\r\n return false;\r\n }\r\n\r\n private checkIOS(): boolean {\r\n if (isPlatformBrowser(this.platformId)) {\r\n return (\r\n ['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.userAgent) ||\r\n // iPad on iOS 13 detection\r\n (navigator.userAgent.includes('Mac') && 'ontouchend' in document)\r\n );\r\n }\r\n return false;\r\n }\r\n\r\n private fakeInputIOSHack(targetElement: HTMLElement): HTMLInputElement | null {\r\n if (!this.checkMobile() || !this.checkIOS()) return null;\r\n const fakeInput = document.createElement('input');\r\n fakeInput.setAttribute('type', 'text');\r\n fakeInput.style.position = 'absolute';\r\n fakeInput.style.opacity = '0';\r\n fakeInput.style.height = '0';\r\n fakeInput.style.fontSize = '16px'; // disable auto zoom\r\n targetElement.prepend(fakeInput);\r\n // focus so that subsequent async focus will work\r\n fakeInput.focus();\r\n return fakeInput;\r\n }\r\n\r\n // Computed styles\r\n styles = computed(() => {\r\n const { fonts, colors } = this.curaApi?.theme || { fonts: null, colors: null };\r\n\r\n const baseStyles: { [key: string]: string } = {};\r\n\r\n if (fonts) {\r\n const fontWeights = fonts.getWeights();\r\n baseStyles['--font-weight-medium'] = fontWeights.medium;\r\n baseStyles['--font-weight-bold'] = fontWeights.bold;\r\n baseStyles['--font-weight-regular'] = fontWeights.regular;\r\n baseStyles['--font-color'] = fonts.getColor();\r\n baseStyles['--font-family'] = fonts.getFamily();\r\n baseStyles['--font-size'] = fonts.getSize();\r\n }\r\n\r\n if (colors) {\r\n const colorKeys = [\r\n 'primary-base',\r\n 'neutral-purewhite',\r\n 'neutral-white',\r\n 'neutral-black',\r\n 'neutral-medium',\r\n 'neutral-base',\r\n 'neutral-dark',\r\n 'success-dark',\r\n 'success-darker',\r\n 'success-lighter',\r\n 'error-lighter',\r\n 'error-dark',\r\n 'error-darker',\r\n 'error-base',\r\n 'info-base',\r\n ];\r\n\r\n colorKeys.forEach((key) => {\r\n baseStyles[`--${key}`] = colors.getColor(key);\r\n });\r\n }\r\n\r\n return baseStyles;\r\n });\r\n\r\n constructor() {\r\n effect(() => {\r\n if (this.inputRef && (this.maskPreset() || this.maskRegex() || this.maskAdvanced())) {\r\n this.initializeMask();\r\n } else {\r\n this.destroyMask();\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n const inputEl = this.inputElement();\r\n if (inputEl) {\r\n this.inputRef = inputEl.nativeElement;\r\n this.initializeMask();\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n this.destroyMask();\r\n }\r\n\r\n // ControlValueAccessor implementation\r\n writeValue(value: string | number): void {\r\n this.value.set(value);\r\n }\r\n\r\n registerOnChange(fn: (value: string | number) => void): void {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: () => void): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n // Public methods\r\n async setFocus(): Promise<void> {\r\n // IOS needs large timeout value to work\r\n const timeoutMs = this.checkMobile() && this.checkIOS() ? 1000 : 200;\r\n // IOS fake input hack\r\n let fakeInput = this.fakeInputIOSHack(this.elementRef.nativeElement);\r\n\r\n setTimeout(() => {\r\n if (this.inputRef) {\r\n this.inputRef.focus();\r\n }\r\n if (fakeInput) {\r\n fakeInput.remove();\r\n }\r\n }, timeoutMs);\r\n }\r\n\r\n // Computed signals\r\n classes = computed(() => ({\r\n [this.size().toLowerCase()]: this.mode() === 'default',\r\n disabled: this.disabled(),\r\n isLoading: this.isLoading(),\r\n isFocused: this.isFocused() && !this.disabled() && !this.readOnly() && !this.isLoading(),\r\n isHovered: this.isHovered(),\r\n [this.status()]: true,\r\n transparent: this.mode() === 'transparent',\r\n selection: this.enableSelectionMode(),\r\n }));\r\n\r\n labelColor = computed(() => {\r\n if (this.disabled()) {\r\n return 'neutral-medium';\r\n } else if (this.isLoading() && this.mode() === 'transparent' && !this.isHovered()) {\r\n return 'neutral-dark';\r\n } else if (((this.isFocused() || this.isHovered() || this.status() === 'success' || this.status() === 'error') && !this.readOnly()) || this.isHovered()) {\r\n return 'neutral-black';\r\n } else {\r\n return 'neutral-dark';\r\n }\r\n });\r\n\r\n iconConfig = computed(() => {\r\n const shouldShowIcon = (() => {\r\n if (\r\n (this.iconName() === '' && this.status() === 'default') ||\r\n (this.mode() === 'transparent' && this.isLoading()) ||\r\n (this.mode() === 'transparent' && this.status() === 'default')\r\n ) {\r\n return false;\r\n }\r\n if (this.status() === 'error' && this.hideErrorIcon()) {\r\n return false;\r\n }\r\n return true;\r\n })();\r\n\r\n if (!shouldShowIcon) {\r\n return {\r\n icon: null,\r\n size: 0,\r\n };\r\n }\r\n\r\n const iconSizeDefaultMode = this.size() === 'large' ? 20 : 16;\r\n const size = this.mode() === 'transparent' ? 20 : iconSizeDefaultMode;\r\n\r\n const iconMap: { [key: string]: { name: string; color: string } } = {\r\n loading: { name: this.iconName(), color: 'primary-base' },\r\n success: { name: 'checkCircle', color: 'success-dark' },\r\n error: { name: 'alertCircle', color: 'error-dark' },\r\n default: { name: this.iconName(), color: 'neutral-dark' },\r\n disabled: { name: this.iconName(), color: 'neutral-medium' },\r\n };\r\n\r\n const icon = iconMap[this.isLoading() ? 'loading' : this.disabled() ? 'disabled' : this.status() || 'default'];\r\n\r\n return {\r\n icon,\r\n size,\r\n };\r\n });\r\n\r\n helperText = computed(() => {\r\n const isError = this.status() === 'error';\r\n const isSuccess = this.status() === 'success';\r\n const isDefault = this.status() === 'default';\r\n const helperTextSize = this.size() === 'large' ? 'small' : 'xsmall';\r\n\r\n const colorText = (() => {\r\n if (this.disabled()) return 'neutral-medium';\r\n if (this.isLoading()) return 'primary-base';\r\n if (this.isFocused() || this.isHovered()) return 'neutral-black';\r\n return 'neutral-dark';\r\n })();\r\n\r\n return {\r\n size: helperTextSize,\r\n color: isDefault ? colorText : isError ? (this.mode() === 'transparent' ? 'neutral-black' : 'error-dark') : isSuccess ? 'success-dark' : colorText,\r\n };\r\n });\r\n\r\n shouldShowClearButton = computed(() => {\r\n return !!(this.clearIcon() && !this.readOnly() && !this.isLoading() && !this.disabled() && this.value() && this.isFocused());\r\n });\r\n\r\n // Event handlers\r\n handleMouseEnter(): void {\r\n this.isHovered.set(true);\r\n }\r\n\r\n handleMouseLeave(): void {\r\n this.isHovered.set(false);\r\n }\r\n\r\n handleInputFocus(): void {\r\n this.handleMaskUpdate();\r\n this.isFocused.set(true);\r\n }\r\n\r\n handleInputBlur(): void {\r\n this.handleMaskUpdate();\r\n this.onTouched();\r\n setTimeout(() => {\r\n this.isFocused.set(false);\r\n }, 150);\r\n }\r\n\r\n handleInputChange(event: Event): void {\r\n const inputValue = (event.target as HTMLInputElement).value;\r\n\r\n if (this.type() === 'number') {\r\n this.handleNumberInputChange(inputValue);\r\n } else {\r\n this.handleTextInputChange(inputValue);\r\n }\r\n }\r\n\r\n handleKeyDown(event: KeyboardEvent): void {\r\n if (this.type() === 'number') {\r\n this.handleBlockInvalidNumber(event);\r\n }\r\n }\r\n\r\n handleClearInput(): void {\r\n this.handleMaskUpdate();\r\n this.value.set('');\r\n if (this.inputRef) {\r\n this.inputRef.value = '';\r\n }\r\n this.valueChange.emit({ value: this.value() });\r\n this.inputClear.emit({ value: this.value() });\r\n this.onChange(this.value());\r\n this.handleMaskUpdate();\r\n this.setFocus();\r\n }\r\n\r\n // Private methods\r\n private handleNumberInputChange(inputValue: string): void {\r\n const numericValue = parseFloat(inputValue);\r\n if (!isNaN(numericValue)) {\r\n this.value.set(numericValue);\r\n } else {\r\n console.error('Invalid numeric input:', inputValue);\r\n }\r\n this.valueChange.emit({ value: inputValue });\r\n }\r\n\r\n private handleTextInputChange(inputValue: string): void {\r\n if (this.maskedInput) {\r\n if (this.maskedInput.mask instanceof Date || this.maskedInput.mask === Number) {\r\n this.maskedInput.typedValue = inputValue;\r\n }\r\n this.maskedInput.value = inputValue;\r\n this.valueChange.emit({ value: this.maskedInput.value });\r\n } else {\r\n this.valueChange.emit({ value: inputValue });\r\n }\r\n }\r\n\r\n private handleBlockInvalidNumber(e: KeyboardEvent): void {\r\n if (['e', 'E', '+', '-'].includes(e.key)) {\r\n e.preventDefault();\r\n }\r\n }\r\n\r\n private shouldDisplayMask(): boolean {\r\n return !!(this.maskPreset() || this.maskRegex() || this.maskAdvanced());\r\n }\r\n\r\n private initializeMask(): void {\r\n if (this.shouldDisplayMask()) {\r\n if (this.maskedInput) {\r\n this.destroyMask();\r\n }\r\n if (this.maskPreset()) {\r\n this.initializePresetMask();\r\n } else if (this.maskRegex()) {\r\n this.initializeRegexMask();\r\n } else if (this.maskAdvanced()) {\r\n this.initializeAdvancedMask();\r\n }\r\n this.applyValueToMask();\r\n } else {\r\n this.clearMaskValue();\r\n }\r\n }\r\n\r\n initializePresetMask() {\r\n const preset = this.maskPreset();\r\n if (!preset) return;\r\n\r\n const options = maskOptions[preset];\r\n\r\n if (options && this.inputRef) {\r\n this.maskedInput = IMask(this.inputRef, options);\r\n } else {\r\n console.error(`Mask preset \"${preset}\" not found.`);\r\n }\r\n }\r\n\r\n initializeRegexMask() {\r\n const regex = this.maskRegex();\r\n if (!regex || !this.inputRef) return;\r\n\r\n const cleanedRegexString = regex.replace(/^\\/|\\/[gimsuy]*$/g, '');\r\n const flags = (regex.match(/\\/[gimsuy]*$/g) || [''])[0].slice(1);\r\n this.maskedInput = IMask(this.inputRef, { mask: new RegExp(cleanedRegexString, flags) });\r\n }\r\n\r\n initializeAdvancedMask() {\r\n if (!this.inputRef) return;\r\n\r\n try {\r\n const config = typeof this.maskAdvanced() === 'string' ? JSON.parse(this.maskAdvanced()) : this.maskAdvanced();\r\n this.maskedInput = IMask(this.inputRef, config);\r\n } catch (error) {\r\n console.error('Error defining maskAdvanced:', error);\r\n }\r\n }\r\n\r\n private applyValueToMask(): void {\r\n if (this.maskedInput) {\r\n if (this.maskedInput.mask === Date || this.maskedInput.mask === Number) {\r\n this.maskedInput.typedValue = this.value();\r\n } else {\r\n this.maskedInput.value = this.value() as string;\r\n }\r\n this.handleMaskUpdate();\r\n }\r\n }\r\n\r\n private clearMaskValue(): void {\r\n if (this.inputRef) {\r\n this.inputRef.value = this.value() as string;\r\n }\r\n }\r\n\r\n private destroyMask(): void {\r\n if (this.maskedInput) {\r\n this.maskedInput.destroy();\r\n this.maskedInput = undefined;\r\n }\r\n }\r\n\r\n private handleMaskUpdate(): void {\r\n if (this.maskedInput) {\r\n this.maskedInput.updateValue();\r\n }\r\n }\r\n}\r\n","<div class=\"cura-input-group\" [ngClass]=\"classes()\" [style]=\"styles()\" (mouseenter)=\"handleMouseEnter()\" (mouseleave)=\"handleMouseLeave()\">\r\n <div class=\"input-wrapper\">\r\n @if (label()) {\r\n <cura-label class=\"label\" weight=\"bold\" [size]=\"size() === 'large' ? 'small' : 'xsmall'\" [color]=\"labelColor()\">\r\n {{ label() }}\r\n @if (required()) {\r\n <span class=\"required\">*</span>\r\n }\r\n </cura-label>\r\n }\r\n\r\n <div class=\"cura-input-field\" [style]=\"styles()\">\r\n @if (iconConfig().icon) {\r\n <div class=\"feedback-icon\" [style]=\"styles()\">\r\n <cura-icon [name]=\"iconConfig().icon!.name\" iconset=\"default\" [size]=\"iconConfig().size\" [color]=\"iconConfig().icon!.color\"> </cura-icon>\r\n </div>\r\n }\r\n\r\n <input\r\n #inputElement\r\n [name]=\"name() || ''\"\r\n [type]=\"type()\"\r\n [placeholder]=\"placeholder()\"\r\n [disabled]=\"disabled() || isLoading()\"\r\n [required]=\"required()\"\r\n [readonly]=\"readOnly()\"\r\n [attr.maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"value\"\r\n [attr.inputmode]=\"maskPreset() ? 'tel' : inputMode()\"\r\n [autocomplete]=\"autocomplete()\"\r\n [ngClass]=\"classes()\"\r\n [style]=\"styles()\"\r\n (focus)=\"handleInputFocus()\"\r\n (blur)=\"handleInputBlur()\"\r\n (input)=\"handleInputChange($event)\"\r\n (keydown)=\"handleKeyDown($event)\"\r\n />\r\n\r\n @if (shouldShowClearButton()) {\r\n <cura-icon\r\n [size]=\"size() === 'large' || mode() === 'transparent' ? 20 : 16\"\r\n color=\"primary-base\"\r\n name=\"closeCircle\"\r\n iconset=\"default\"\r\n class=\"clear-button\"\r\n (click)=\"handleClearInput()\"\r\n >\r\n </cura-icon>\r\n }\r\n\r\n @if (isLoading()) {\r\n <cura-loader-circle [size]=\"size() === 'large' ? 'medium' : 'small'\" color=\"primary-base\"> </cura-loader-circle>\r\n }\r\n </div>\r\n\r\n @if (helperText()) {\r\n <div [style]=\"styles()\" class=\"helper-text\" part=\"cura-input-text-helper\">\r\n <cura-label size=\"xsmall\" lineHeight=\"xsmall\" [color]=\"helperText().color\">\r\n <ng-content></ng-content>\r\n </cura-label>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAyDA;;AAEG;AACI,MAAM,WAAW,GAAmB;AACzC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;AAClE,QAAA,eAAe,EAAE,GAAG;AACrB,KAAA;AACD,IAAA,GAAG,EAAE;AACH,QAAA,IAAI,EAAE,gBAAgB;AACtB,QAAA,eAAe,EAAE,GAAG;AACrB,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE,oBAAoB;AAC1B,QAAA,eAAe,EAAE,GAAG;AACrB,KAA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EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,yBAAyB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAiB1F,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,EAAA,OAAA,EAClB,CAAC,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,yBAAyB,CAAC,EAAA,IAAA,EAGhG;AACJ,wBAAA,IAAI,EAAE,SAAS;AACf,wBAAA,sBAAsB,EAAE,YAAY;AACpC,wBAAA,sBAAsB,EAAE,YAAY;AACpC,wBAAA,qBAAqB,EAAE,sBAAsB;qBAC9C,EAAA,SAAA,EACU;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,4BAA4B,CAAC;AACrD,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA,EAAA,QAAA,EAAA,u5EAAA,EAAA,MAAA,EAAA,CAAA,+sqBAAA,CAAA,EAAA;w1EA4IsD,cAAc,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEhMvE;;AAEG;;;;"}
1
+ {"version":3,"file":"rededor-site-front-end-lib-cura-forms-cura-input-text.mjs","sources":["../../../projects/site-front-end-lib/cura/forms/cura-input-text/cura-input-text.definitions.ts","../../../projects/site-front-end-lib/cura/forms/cura-input-text/cura-input-text.component.ts","../../../projects/site-front-end-lib/cura/forms/cura-input-text/cura-input-text.component.html","../../../projects/site-front-end-lib/cura/forms/cura-input-text/rededor-site-front-end-lib-cura-forms-cura-input-text.ts"],"sourcesContent":["/**\n * Display mode options for the input text component\n */\nexport type InputTextMode = 'default' | 'transparent';\n\n/**\n * Size options for the input text component\n */\nexport type InputTextSize = 'small' | 'medium' | 'large';\n\n/**\n * Status options for the input text component\n */\nexport type InputTextStatus = 'success' | 'error' | 'default';\n\n/**\n * Input type options for the input text component\n */\nexport type InputTextType = 'text' | 'number' | 'email' | 'password' | 'tel' | 'url';\n\n/**\n * Input mode options for the input text component\n */\nexport type InputTextInputMode = 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n/**\n * Mask preset options for input formatting\n */\nexport type MaskPreset = 'cpf' | 'cnpj' | 'cpf_cnpj' | 'phone' | 'date' | 'dateRange';\n\n/**\n * Event payload emitted when the input value changes\n */\nexport interface InputTextValueChangeEvent {\n /**\n * The new value of the input\n */\n value: string | number;\n}\n\n/**\n * Event payload emitted when the clear button is clicked\n */\nexport interface InputTextClearEvent {\n /**\n * The value that was cleared (usually empty string)\n */\n value: string | number;\n}\n\n/**\n * Mask options map for IMask library\n */\nexport interface MaskOptionsMap {\n [key: string]: any;\n}\n\n/**\n * Mask configuration for different presets\n */\nexport const maskOptions: MaskOptionsMap = {\n cpf_cnpj: {\n mask: [{ mask: '000.000.000-00' }, { mask: '00.000.000/0000-00' }],\n placeholderChar: '_',\n },\n cpf: {\n mask: '000.000.000-00',\n placeholderChar: '_',\n },\n cnpj: {\n mask: '00.000.000/0000-00',\n placeholderChar: '_',\n },\n phone: {\n mask: '(00) 00000-0000',\n blocks: {\n '(00)': {\n mask: '(00)',\n maxLength: 2,\n placeholderChar: '',\n },\n '00000': {\n mask: '00000',\n maxLength: 5,\n placeholderChar: '_',\n },\n '-': {\n mask: '-',\n },\n '0000': {\n mask: '0000',\n maxLength: 4,\n placeholderChar: '_',\n },\n },\n placeholderChar: '_',\n },\n date: {\n mask: '00/00/0000',\n },\n dateRange: {\n mask: '00/00/0000 - 00/00/0000',\n },\n};\n","import {\n Component,\n input,\n output,\n signal,\n computed,\n inject,\n forwardRef,\n ElementRef,\n AfterViewInit,\n OnDestroy,\n viewChild,\n model,\n effect,\n PLATFORM_ID,\n} from '@angular/core';\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { CuraLabelComponent } from '@rededor/site-front-end-lib/cura/forms/cura-label';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\nimport { CuraLoaderCircleComponent } from '@rededor/site-front-end-lib/cura/loaders/cura-loader-circle';\nimport IMask, { FactoryArg, InputMask } from 'imask';\nimport {\n InputTextMode,\n InputTextSize,\n InputTextStatus,\n InputTextType,\n InputTextInputMode,\n MaskPreset,\n InputTextValueChangeEvent,\n InputTextClearEvent,\n maskOptions,\n} from './cura-input-text.definitions';\n\n@Component({\n selector: 'cura-input-text',\n imports: [CommonModule, FormsModule, CuraLabelComponent, CuraIconComponent, CuraLoaderCircleComponent],\n templateUrl: './cura-input-text.component.html',\n styleUrls: ['./cura-input-text.component.scss'],\n host: {\n role: 'textbox',\n '[attr.aria-disabled]': 'disabled()',\n '[attr.aria-required]': 'required()',\n '[attr.aria-invalid]': 'status() === \"error\"',\n },\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => CuraInputTextComponent),\n multi: true,\n },\n ],\n})\nexport class CuraInputTextComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {\n private curaApi: CuraApiService = inject(CuraApiService);\n private elementRef = inject(ElementRef);\n private platformId = inject(PLATFORM_ID);\n /**\n * Mode of the input: 'default' or 'transparent'\n */\n mode = input<InputTextMode>('default');\n\n /**\n * Status of the input component\n */\n status = input<InputTextStatus>('default');\n\n /**\n * Size of the input component\n */\n size = input<InputTextSize>('medium');\n\n /**\n * Type of the input\n */\n type = input<InputTextType>('text');\n\n /**\n * Input mode for mobile keyboards\n */\n inputMode = input<InputTextInputMode>('text');\n\n /**\n * Label text for the input\n */\n label = input<string>('');\n\n /**\n * Name attribute for the input\n */\n name = input<string>('');\n\n /**\n * Placeholder text for the input\n */\n placeholder = input<string | null>(null);\n\n /**\n * Current value of the input\n */\n value = model<string | number | any>('');\n\n /**\n * Icon name to display\n */\n iconName = input<string>('');\n\n /**\n * Helper text displayed below the input\n */\n // helperText = input<string>(''); // Não está sendo usado\n\n /**\n * Whether the input is disabled\n */\n disabled = input<boolean>(false);\n\n /**\n * Whether the input is required\n */\n required = input<boolean>(false);\n\n /**\n * Mask preset for input formatting\n */\n maskPreset = input<MaskPreset | undefined>(undefined);\n\n /**\n * Controls whether the selection functionality is active\n */\n enableSelectionMode = input<boolean>(false);\n\n /**\n * Regular expression for custom input masking\n */\n maskRegex = input<string | null>(null);\n\n /**\n * Advanced mask object for IMask library\n */\n maskAdvanced = input<any | string | null>(null);\n\n /**\n * Maximum length of the input value\n */\n maxlength = input<number | undefined>(undefined);\n\n /**\n * Whether the input is read-only\n */\n readOnly = input<boolean>(false);\n\n /**\n * Whether the input is in loading state\n */\n isLoading = input<boolean>(false);\n\n /**\n * Whether to show the clear button\n */\n clearIcon = input<boolean>(true);\n\n /**\n * Removes the error icon when necessary\n */\n hideErrorIcon = input<boolean>(false);\n\n /**\n * Autocomplete attribute for the input\n */\n autocomplete = input<string>('on');\n\n /**\n * Event emitted when the value changes\n */\n valueChange = output<InputTextValueChangeEvent>();\n\n /**\n * Event emitted when the clear button is clicked\n */\n inputClear = output<InputTextClearEvent>();\n\n // Internal state signals\n private isHovered = signal<boolean>(false);\n private isFocused = signal<boolean>(false);\n\n // Form control callbacks\n private onChange = (value: string | number) => {};\n private onTouched = () => {};\n\n // ViewChild references\n inputElement = viewChild<ElementRef<HTMLInputElement>>('inputElement');\n\n /**\n * Instance of InputMask is returned when IMask constructor is called.\n */\n maskedInput?: InputMask<FactoryArg>;\n\n // Reference to input element (equivalent to inputRef in Stencil)\n private inputRef?: HTMLInputElement;\n\n // Utility functions (equivalent to Stencil utils)\n private checkMobile(): boolean {\n if (isPlatformBrowser(this.platformId)) {\n return window?.innerWidth < 768; // Static.breakpoints.medium.min equivalent\n }\n return false;\n }\n\n private checkIOS(): boolean {\n if (isPlatformBrowser(this.platformId)) {\n return (\n ['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.userAgent) ||\n // iPad on iOS 13 detection\n (navigator.userAgent.includes('Mac') && 'ontouchend' in document)\n );\n }\n return false;\n }\n\n private fakeInputIOSHack(targetElement: HTMLElement): HTMLInputElement | null {\n if (!this.checkMobile() || !this.checkIOS()) return null;\n const fakeInput = document.createElement('input');\n fakeInput.setAttribute('type', 'text');\n fakeInput.style.position = 'absolute';\n fakeInput.style.opacity = '0';\n fakeInput.style.height = '0';\n fakeInput.style.fontSize = '16px'; // disable auto zoom\n targetElement.prepend(fakeInput);\n // focus so that subsequent async focus will work\n fakeInput.focus();\n return fakeInput;\n }\n\n // Computed styles\n styles = computed(() => {\n const { fonts, colors } = this.curaApi?.theme || { fonts: null, colors: null };\n\n const baseStyles: { [key: string]: string } = {};\n\n if (fonts) {\n const fontWeights = fonts.getWeights();\n baseStyles['--font-weight-medium'] = fontWeights.medium;\n baseStyles['--font-weight-bold'] = fontWeights.bold;\n baseStyles['--font-weight-regular'] = fontWeights.regular;\n baseStyles['--font-color'] = fonts.getColor();\n baseStyles['--font-family'] = fonts.getFamily();\n baseStyles['--font-size'] = fonts.getSize();\n }\n\n if (colors) {\n const colorKeys = [\n 'primary-base',\n 'neutral-purewhite',\n 'neutral-white',\n 'neutral-black',\n 'neutral-medium',\n 'neutral-base',\n 'neutral-dark',\n 'success-dark',\n 'success-darker',\n 'success-lighter',\n 'error-lighter',\n 'error-dark',\n 'error-darker',\n 'error-base',\n 'info-base',\n ];\n\n colorKeys.forEach((key) => {\n baseStyles[`--${key}`] = colors.getColor(key);\n });\n }\n\n return baseStyles;\n });\n\n constructor() {\n effect(() => {\n if (this.inputRef && (this.maskPreset() || this.maskRegex() || this.maskAdvanced())) {\n this.initializeMask();\n } else {\n this.destroyMask();\n }\n });\n }\n\n ngAfterViewInit() {\n const inputEl = this.inputElement();\n if (inputEl) {\n this.inputRef = inputEl.nativeElement;\n this.initializeMask();\n }\n }\n\n ngOnDestroy() {\n this.destroyMask();\n }\n\n // ControlValueAccessor implementation\n writeValue(value: string | number): void {\n this.value.set(value);\n }\n\n registerOnChange(fn: (value: string | number) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n // Public methods\n async setFocus(): Promise<void> {\n // IOS needs large timeout value to work\n const timeoutMs = this.checkMobile() && this.checkIOS() ? 1000 : 200;\n // IOS fake input hack\n let fakeInput = this.fakeInputIOSHack(this.elementRef.nativeElement);\n\n setTimeout(() => {\n if (this.inputRef) {\n this.inputRef.focus();\n }\n if (fakeInput) {\n fakeInput.remove();\n }\n }, timeoutMs);\n }\n\n // Computed signals\n classes = computed(() => ({\n [this.size().toLowerCase()]: this.mode() === 'default',\n disabled: this.disabled(),\n isLoading: this.isLoading(),\n isFocused: this.isFocused() && !this.disabled() && !this.readOnly() && !this.isLoading(),\n isHovered: this.isHovered(),\n [this.status()]: true,\n transparent: this.mode() === 'transparent',\n selection: this.enableSelectionMode(),\n }));\n\n labelColor = computed(() => {\n if (this.disabled()) {\n return 'neutral-medium';\n } else if (this.isLoading() && this.mode() === 'transparent' && !this.isHovered()) {\n return 'neutral-dark';\n } else if (((this.isFocused() || this.isHovered() || this.status() === 'success' || this.status() === 'error') && !this.readOnly()) || this.isHovered()) {\n return 'neutral-black';\n } else {\n return 'neutral-dark';\n }\n });\n\n iconConfig = computed(() => {\n const shouldShowIcon = (() => {\n if (\n (this.iconName() === '' && this.status() === 'default') ||\n (this.mode() === 'transparent' && this.isLoading()) ||\n (this.mode() === 'transparent' && this.status() === 'default')\n ) {\n return false;\n }\n if (this.status() === 'error' && this.hideErrorIcon()) {\n return false;\n }\n return true;\n })();\n\n if (!shouldShowIcon) {\n return {\n icon: null,\n size: 0,\n };\n }\n\n const iconSizeDefaultMode = this.size() === 'large' ? 20 : 16;\n const size = this.mode() === 'transparent' ? 20 : iconSizeDefaultMode;\n\n const iconMap: { [key: string]: { name: string; color: string } } = {\n loading: { name: this.iconName(), color: 'primary-base' },\n success: { name: 'checkCircle', color: 'success-dark' },\n error: { name: 'alertCircle', color: 'error-dark' },\n default: { name: this.iconName(), color: 'neutral-dark' },\n disabled: { name: this.iconName(), color: 'neutral-medium' },\n };\n\n const icon = iconMap[this.isLoading() ? 'loading' : this.disabled() ? 'disabled' : this.status() || 'default'];\n\n return {\n icon,\n size,\n };\n });\n\n helperText = computed(() => {\n const isError = this.status() === 'error';\n const isSuccess = this.status() === 'success';\n const isDefault = this.status() === 'default';\n const helperTextSize = this.size() === 'large' ? 'small' : 'xsmall';\n\n const colorText = (() => {\n if (this.disabled()) return 'neutral-medium';\n if (this.isLoading()) return 'primary-base';\n if (this.isFocused() || this.isHovered()) return 'neutral-black';\n return 'neutral-dark';\n })();\n\n return {\n size: helperTextSize,\n color: isDefault ? colorText : isError ? (this.mode() === 'transparent' ? 'neutral-black' : 'error-dark') : isSuccess ? 'success-dark' : colorText,\n };\n });\n\n shouldShowClearButton = computed(() => {\n return !!(this.clearIcon() && !this.readOnly() && !this.isLoading() && !this.disabled() && this.value() && this.isFocused());\n });\n\n // Event handlers\n handleMouseEnter(): void {\n this.isHovered.set(true);\n }\n\n handleMouseLeave(): void {\n this.isHovered.set(false);\n }\n\n handleInputFocus(): void {\n this.handleMaskUpdate();\n this.isFocused.set(true);\n }\n\n handleInputBlur(): void {\n this.handleMaskUpdate();\n this.onTouched();\n setTimeout(() => {\n this.isFocused.set(false);\n }, 150);\n }\n\n handleInputChange(event: Event): void {\n const inputValue = (event.target as HTMLInputElement).value;\n\n if (this.type() === 'number') {\n this.handleNumberInputChange(inputValue);\n } else {\n this.handleTextInputChange(inputValue);\n }\n }\n\n handleKeyDown(event: KeyboardEvent): void {\n if (this.type() === 'number') {\n this.handleBlockInvalidNumber(event);\n }\n }\n\n handleClearInput(): void {\n this.handleMaskUpdate();\n this.value.set('');\n if (this.inputRef) {\n this.inputRef.value = '';\n }\n this.valueChange.emit({ value: this.value() });\n this.inputClear.emit({ value: this.value() });\n this.onChange(this.value());\n this.handleMaskUpdate();\n this.setFocus();\n }\n\n // Private methods\n private handleNumberInputChange(inputValue: string): void {\n const numericValue = parseFloat(inputValue);\n if (!isNaN(numericValue)) {\n this.value.set(numericValue);\n } else {\n console.error('Invalid numeric input:', inputValue);\n }\n this.valueChange.emit({ value: inputValue });\n }\n\n private handleTextInputChange(inputValue: string): void {\n if (this.maskedInput) {\n if (this.maskedInput.mask instanceof Date || this.maskedInput.mask === Number) {\n this.maskedInput.typedValue = inputValue;\n }\n this.maskedInput.value = inputValue;\n this.valueChange.emit({ value: this.maskedInput.value });\n } else {\n this.valueChange.emit({ value: inputValue });\n }\n }\n\n private handleBlockInvalidNumber(e: KeyboardEvent): void {\n if (['e', 'E', '+', '-'].includes(e.key)) {\n e.preventDefault();\n }\n }\n\n private shouldDisplayMask(): boolean {\n return !!(this.maskPreset() || this.maskRegex() || this.maskAdvanced());\n }\n\n private initializeMask(): void {\n if (this.shouldDisplayMask()) {\n if (this.maskedInput) {\n this.destroyMask();\n }\n if (this.maskPreset()) {\n this.initializePresetMask();\n } else if (this.maskRegex()) {\n this.initializeRegexMask();\n } else if (this.maskAdvanced()) {\n this.initializeAdvancedMask();\n }\n this.applyValueToMask();\n } else {\n this.clearMaskValue();\n }\n }\n\n initializePresetMask() {\n const preset = this.maskPreset();\n if (!preset) return;\n\n const options = maskOptions[preset];\n\n if (options && this.inputRef) {\n this.maskedInput = IMask(this.inputRef, options);\n } else {\n console.error(`Mask preset \"${preset}\" not found.`);\n }\n }\n\n initializeRegexMask() {\n const regex = this.maskRegex();\n if (!regex || !this.inputRef) return;\n\n const cleanedRegexString = regex.replace(/^\\/|\\/[gimsuy]*$/g, '');\n const flags = (regex.match(/\\/[gimsuy]*$/g) || [''])[0].slice(1);\n this.maskedInput = IMask(this.inputRef, { mask: new RegExp(cleanedRegexString, flags) });\n }\n\n initializeAdvancedMask() {\n if (!this.inputRef) return;\n\n try {\n const config = typeof this.maskAdvanced() === 'string' ? JSON.parse(this.maskAdvanced()) : this.maskAdvanced();\n this.maskedInput = IMask(this.inputRef, config);\n } catch (error) {\n console.error('Error defining maskAdvanced:', error);\n }\n }\n\n private applyValueToMask(): void {\n if (this.maskedInput) {\n if (this.maskedInput.mask === Date || this.maskedInput.mask === Number) {\n this.maskedInput.typedValue = this.value();\n } else {\n this.maskedInput.value = this.value() as string;\n }\n this.handleMaskUpdate();\n }\n }\n\n private clearMaskValue(): void {\n if (this.inputRef) {\n this.inputRef.value = this.value() as string;\n }\n }\n\n private destroyMask(): void {\n if (this.maskedInput) {\n this.maskedInput.destroy();\n this.maskedInput = undefined;\n }\n }\n\n private handleMaskUpdate(): void {\n if (this.maskedInput) {\n this.maskedInput.updateValue();\n }\n }\n}\n","<div class=\"cura-input-group\" [ngClass]=\"classes()\" [style]=\"styles()\" (mouseenter)=\"handleMouseEnter()\" (mouseleave)=\"handleMouseLeave()\">\n <div class=\"input-wrapper\">\n @if (label()) {\n <cura-label class=\"label\" weight=\"bold\" [size]=\"size() === 'large' ? 'small' : 'xsmall'\" [color]=\"labelColor()\">\n {{ label() }}\n @if (required()) {\n <span class=\"required\">*</span>\n }\n </cura-label>\n }\n\n <div class=\"cura-input-field\" [style]=\"styles()\">\n @if (iconConfig().icon) {\n <div class=\"feedback-icon\" [style]=\"styles()\">\n <cura-icon [name]=\"iconConfig().icon!.name\" iconset=\"default\" [size]=\"iconConfig().size\" [color]=\"iconConfig().icon!.color\"> </cura-icon>\n </div>\n }\n\n <input\n #inputElement\n [name]=\"name() || ''\"\n [type]=\"type()\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"disabled() || isLoading()\"\n [required]=\"required()\"\n [readonly]=\"readOnly()\"\n [attr.maxlength]=\"maxlength()\"\n [(ngModel)]=\"value\"\n [attr.inputmode]=\"maskPreset() ? 'tel' : inputMode()\"\n [autocomplete]=\"autocomplete()\"\n [ngClass]=\"classes()\"\n [style]=\"styles()\"\n (focus)=\"handleInputFocus()\"\n (blur)=\"handleInputBlur()\"\n (input)=\"handleInputChange($event)\"\n (keydown)=\"handleKeyDown($event)\"\n />\n\n @if (shouldShowClearButton()) {\n <cura-icon\n [size]=\"size() === 'large' || mode() === 'transparent' ? 20 : 16\"\n color=\"primary-base\"\n name=\"closeCircle\"\n iconset=\"default\"\n class=\"clear-button\"\n (click)=\"handleClearInput()\"\n >\n </cura-icon>\n }\n\n @if (isLoading()) {\n <cura-loader-circle [size]=\"size() === 'large' ? 'medium' : 'small'\" color=\"primary-base\"> </cura-loader-circle>\n }\n </div>\n\n @if (helperText()) {\n <div [style]=\"styles()\" class=\"helper-text\" part=\"cura-input-text-helper\">\n <cura-label size=\"xsmall\" lineHeight=\"xsmall\" [color]=\"helperText().color\">\n <ng-content></ng-content>\n </cura-label>\n </div>\n }\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAyDA;;AAEG;AACI,MAAM,WAAW,GAAmB;AACzC,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;AAClE,QAAA,eAAe,EAAE,GAAG;AACrB,KAAA;AACD,IAAA,GAAG,EAAE;AACH,QAAA,IAAI,EAAE,gBAAgB;AACtB,QAAA,eAAe,EAAE,GAAG;AACrB,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE,oBAAoB;AAC1B,QAAA,eAAe,EAAE,GAAG;AACrB,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,IAAI,EAAE,iBAAiB;AACvB,QAAA,MAAM,EAAE;AACN,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,MAAM;AACZ,gBAAA,SAAS,EAAE,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;;4FAiB1F,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,EAAA,OAAA,EAClB,CAAC,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,yBAAyB,CAAC,EAAA,IAAA,EAGhG;AACJ,wBAAA,IAAI,EAAE,SAAS;AACf,wBAAA,sBAAsB,EAAE,YAAY;AACpC,wBAAA,sBAAsB,EAAE,YAAY;AACpC,wBAAA,qBAAqB,EAAE,sBAAsB;qBAC9C,EAAA,SAAA,EACU;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,4BAA4B,CAAC;AACrD,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA,EAAA,QAAA,EAAA,uxEAAA,EAAA,MAAA,EAAA,CAAA,+sqBAAA,CAAA,EAAA;w1EA4IsD,cAAc,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEhMvE;;AAEG;;;;"}
@@ -63,15 +63,15 @@ class CuraLabelComponent {
63
63
  return classes.join(' ');
64
64
  }, ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
65
65
  }
66
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
67
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.15", type: CuraLabelComponent, isStandalone: true, selector: "cura-label", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, weight: { classPropertyName: "weight", publicName: "weight", isSignal: true, isRequired: false, transformFunction: null }, spotColor: { classPropertyName: "spotColor", publicName: "spotColor", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, marginBlock: { classPropertyName: "marginBlock", publicName: "marginBlock", isSignal: true, isRequired: false, transformFunction: null }, lineHeight: { classPropertyName: "lineHeight", publicName: "lineHeight", isSignal: true, isRequired: false, transformFunction: null }, textOverflow: { classPropertyName: "textOverflow", publicName: "textOverflow", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--line-height": "lineHeight()", "style.--color-body": "bodyColor()" } }, ngImport: i0, template: "<p [class]=\"containerClasses()\">\r\n <ng-content></ng-content>\r\n</p>\r\n", styles: [":host{display:block;font-size:var(--cura-font-size)}:host p{font-family:var(--cura-font-body);font-size:1.143em;font-weight:500;color:var(--color-body);line-height:var(--line-height);margin-block:0px;letter-spacing:.32px}:host p.bold-weight{font-weight:700}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:.56px}:host p.xsmall{font-size:.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:.72px}:host p.textoverflow-single{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host p ::ng-deep b,:host p ::ng-deep strong,:host p ::ng-deep u{font-weight:700}:host p ::ng-deep a{font-weight:700;color:rgba(var(--cura-color-accent-700));text-underline-offset:10%}:host p ::ng-deep u{text-underline-offset:10%}:host p ::ng-deep abbr{color:rgba(var(--cura-color-accent-700));text-decoration:underline dashed 1px rgba(var(--cura-color-accent-700));text-underline-offset:10%;cursor:default}\n"] }); }
66
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
67
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: CuraLabelComponent, isStandalone: true, selector: "cura-label", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, weight: { classPropertyName: "weight", publicName: "weight", isSignal: true, isRequired: false, transformFunction: null }, spotColor: { classPropertyName: "spotColor", publicName: "spotColor", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, marginBlock: { classPropertyName: "marginBlock", publicName: "marginBlock", isSignal: true, isRequired: false, transformFunction: null }, lineHeight: { classPropertyName: "lineHeight", publicName: "lineHeight", isSignal: true, isRequired: false, transformFunction: null }, textOverflow: { classPropertyName: "textOverflow", publicName: "textOverflow", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--line-height": "lineHeight()", "style.--color-body": "bodyColor()" } }, ngImport: i0, template: "<p [class]=\"containerClasses()\">\n <ng-content></ng-content>\n</p>\n", styles: [":host{display:block;font-size:var(--cura-font-size)}:host p{font-family:var(--cura-font-body);font-size:1.143em;font-weight:500;color:var(--color-body);line-height:var(--line-height);margin-block:0px;letter-spacing:.32px}:host p.bold-weight{font-weight:700}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:.56px}:host p.xsmall{font-size:.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:.72px}:host p.textoverflow-single{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host p ::ng-deep b,:host p ::ng-deep strong,:host p ::ng-deep u{font-weight:700}:host p ::ng-deep a{font-weight:700;color:rgba(var(--cura-color-accent-700));text-underline-offset:10%}:host p ::ng-deep u{text-underline-offset:10%}:host p ::ng-deep abbr{color:rgba(var(--cura-color-accent-700));text-decoration:underline dashed 1px rgba(var(--cura-color-accent-700));text-underline-offset:10%;cursor:default}\n"] }); }
68
68
  }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraLabelComponent, decorators: [{
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraLabelComponent, decorators: [{
70
70
  type: Component,
71
71
  args: [{ selector: 'cura-label', host: {
72
72
  '[style.--line-height]': 'lineHeight()',
73
73
  '[style.--color-body]': 'bodyColor()',
74
- }, template: "<p [class]=\"containerClasses()\">\r\n <ng-content></ng-content>\r\n</p>\r\n", styles: [":host{display:block;font-size:var(--cura-font-size)}:host p{font-family:var(--cura-font-body);font-size:1.143em;font-weight:500;color:var(--color-body);line-height:var(--line-height);margin-block:0px;letter-spacing:.32px}:host p.bold-weight{font-weight:700}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:.56px}:host p.xsmall{font-size:.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:.72px}:host p.textoverflow-single{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host p ::ng-deep b,:host p ::ng-deep strong,:host p ::ng-deep u{font-weight:700}:host p ::ng-deep a{font-weight:700;color:rgba(var(--cura-color-accent-700));text-underline-offset:10%}:host p ::ng-deep u{text-underline-offset:10%}:host p ::ng-deep abbr{color:rgba(var(--cura-color-accent-700));text-decoration:underline dashed 1px rgba(var(--cura-color-accent-700));text-underline-offset:10%;cursor:default}\n"] }]
74
+ }, template: "<p [class]=\"containerClasses()\">\n <ng-content></ng-content>\n</p>\n", styles: [":host{display:block;font-size:var(--cura-font-size)}:host p{font-family:var(--cura-font-body);font-size:1.143em;font-weight:500;color:var(--color-body);line-height:var(--line-height);margin-block:0px;letter-spacing:.32px}:host p.bold-weight{font-weight:700}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:.56px}:host p.xsmall{font-size:.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:.72px}:host p.textoverflow-single{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host p ::ng-deep b,:host p ::ng-deep strong,:host p ::ng-deep u{font-weight:700}:host p ::ng-deep a{font-weight:700;color:rgba(var(--cura-color-accent-700));text-underline-offset:10%}:host p ::ng-deep u{text-underline-offset:10%}:host p ::ng-deep abbr{color:rgba(var(--cura-color-accent-700));text-decoration:underline dashed 1px rgba(var(--cura-color-accent-700));text-underline-offset:10%;cursor:default}\n"] }]
75
75
  }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], weight: [{ type: i0.Input, args: [{ isSignal: true, alias: "weight", required: false }] }], spotColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "spotColor", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], marginBlock: [{ type: i0.Input, args: [{ isSignal: true, alias: "marginBlock", required: false }] }], lineHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineHeight", required: false }] }], textOverflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "textOverflow", required: false }] }] } });
76
76
 
77
77
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"rededor-site-front-end-lib-cura-forms-cura-label.mjs","sources":["../../../projects/site-front-end-lib/cura/forms/cura-label/cura-label.component.ts","../../../projects/site-front-end-lib/cura/forms/cura-label/cura-label.component.html","../../../projects/site-front-end-lib/cura/forms/cura-label/rededor-site-front-end-lib-cura-forms-cura-label.ts"],"sourcesContent":["import { Component, inject, input, computed } from '@angular/core';\r\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\r\nimport { LabelSize, LabelWeight, TextOverflow } from '@rededor/site-front-end-lib/cura/forms';\r\n\r\n@Component({\r\n selector: 'cura-label',\r\n templateUrl: './cura-label.component.html',\r\n styleUrls: ['./cura-label.component.scss'],\r\n host: {\r\n '[style.--line-height]': 'lineHeight()',\r\n '[style.--color-body]': 'bodyColor()',\r\n },\r\n // '[style.--margin-block]': 'marginBlock()',\r\n // '[style.--font-weight-medium]': 'weights().medium',\r\n // '[style.--font-weight-bold]': 'weights().bold',\r\n // '[style.--font-size-base]': 'fontSizeBase()',\r\n // '[style.--font-family]': 'fontFamily()',\r\n // '[style.--color-link]': 'linkColor()',\r\n})\r\nexport class CuraLabelComponent {\r\n private curaApi = inject(CuraApiService);\r\n\r\n /**\r\n * Set size of body text.\r\n * Values: medium (default) | large | small | xsmall.\r\n */\r\n size = input<LabelSize>('medium');\r\n\r\n /**\r\n * Label font weight. It is possible to use regular HTML tags like <b> or <strong> as well.\r\n * Values: regular (default) | bold.\r\n */\r\n weight = input<LabelWeight>('regular');\r\n\r\n /**\r\n * Apply design system color to interactive elements like <a> and <abbr> inside the text.\r\n * Values: Color from design system scheme. Default to 'accent-dark'.\r\n */\r\n spotColor = input<string>('accent-dark'); // Desativado em nosso projeto, mas funcional no projeto cura.\r\n\r\n /**\r\n * Text color.\r\n * Values: Color from design system scheme. Default to the font color from the theme.\r\n */\r\n color = input<string>('');\r\n\r\n /**\r\n * CSS margin-block property values.\r\n * Default to '0'\r\n */\r\n marginBlock = input<string>('0');\r\n\r\n /**\r\n * CSS line-height property values.\r\n * Default to '125%'\r\n */\r\n lineHeight = input<string>('125%');\r\n\r\n /**\r\n * Apply text-overflow ellipsis definitions.\r\n * Default to 'none'\r\n */\r\n textOverflow = input<TextOverflow>('none');\r\n\r\n // Computed signals\r\n // weights = computed(() => this.curaApi.theme.fonts.getWeights());\r\n // fontSizeBase = computed(() => this.curaApi.theme.fonts.getSize());\r\n // fontFamily = computed(() => this.curaApi.theme.fonts.getFamily('body'));\r\n\r\n // linkColor = computed(() => {\r\n // return this.curaApi.theme.colors.getColor(this.spotColor());\r\n // });\r\n\r\n bodyColor = computed(() => {\r\n if (this.color()) {\r\n return this.curaApi.theme.colors.getColor(this.color());\r\n }\r\n return this.curaApi.theme.fonts.getColor() || this.curaApi.theme.colors.getColor('neutral-darker');\r\n });\r\n\r\n containerClasses = computed(() => {\r\n const classes = [];\r\n\r\n classes.push(this.size().toLowerCase());\r\n classes.push(`${this.weight().toLowerCase()}-weight`);\r\n\r\n if (this.textOverflow() === 'single') {\r\n classes.push('textoverflow-single');\r\n }\r\n\r\n return classes.join(' ');\r\n });\r\n}\r\n","<p [class]=\"containerClasses()\">\r\n <ng-content></ng-content>\r\n</p>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAmBa,kBAAkB,CAAA;AAf/B,IAAA,WAAA,GAAA;AAgBU,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC;AAExC;;;AAGG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAY,QAAQ,gDAAC;AAEjC;;;AAGG;AACH,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAc,SAAS,kDAAC;AAEtC;;;AAGG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,aAAa,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAC,CAAC;AAEzC;;;AAGG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AAEzB;;;AAGG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,GAAG,uDAAC;AAEhC;;;AAGG;AACH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,MAAM,sDAAC;AAElC;;;AAGG;AACH,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAe,MAAM,wDAAC;;;;;;;;AAW1C,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAK;AACxB,YAAA,IAAI,IAAI,CAAC,KAAK,EAAE,EAAE;AAChB,gBAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YACzD;YACA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,IAAI,CAAC,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front-end-lib-cura-forms-cura-label.mjs","sources":["../../../projects/site-front-end-lib/cura/forms/cura-label/cura-label.component.ts","../../../projects/site-front-end-lib/cura/forms/cura-label/cura-label.component.html","../../../projects/site-front-end-lib/cura/forms/cura-label/rededor-site-front-end-lib-cura-forms-cura-label.ts"],"sourcesContent":["import { Component, inject, input, computed } from '@angular/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { LabelSize, LabelWeight, TextOverflow } from '@rededor/site-front-end-lib/cura/forms';\n\n@Component({\n selector: 'cura-label',\n templateUrl: './cura-label.component.html',\n styleUrls: ['./cura-label.component.scss'],\n host: {\n '[style.--line-height]': 'lineHeight()',\n '[style.--color-body]': 'bodyColor()',\n },\n // '[style.--margin-block]': 'marginBlock()',\n // '[style.--font-weight-medium]': 'weights().medium',\n // '[style.--font-weight-bold]': 'weights().bold',\n // '[style.--font-size-base]': 'fontSizeBase()',\n // '[style.--font-family]': 'fontFamily()',\n // '[style.--color-link]': 'linkColor()',\n})\nexport class CuraLabelComponent {\n private curaApi = inject(CuraApiService);\n\n /**\n * Set size of body text.\n * Values: medium (default) | large | small | xsmall.\n */\n size = input<LabelSize>('medium');\n\n /**\n * Label font weight. It is possible to use regular HTML tags like <b> or <strong> as well.\n * Values: regular (default) | bold.\n */\n weight = input<LabelWeight>('regular');\n\n /**\n * Apply design system color to interactive elements like <a> and <abbr> inside the text.\n * Values: Color from design system scheme. Default to 'accent-dark'.\n */\n spotColor = input<string>('accent-dark'); // Desativado em nosso projeto, mas funcional no projeto cura.\n\n /**\n * Text color.\n * Values: Color from design system scheme. Default to the font color from the theme.\n */\n color = input<string>('');\n\n /**\n * CSS margin-block property values.\n * Default to '0'\n */\n marginBlock = input<string>('0');\n\n /**\n * CSS line-height property values.\n * Default to '125%'\n */\n lineHeight = input<string>('125%');\n\n /**\n * Apply text-overflow ellipsis definitions.\n * Default to 'none'\n */\n textOverflow = input<TextOverflow>('none');\n\n // Computed signals\n // weights = computed(() => this.curaApi.theme.fonts.getWeights());\n // fontSizeBase = computed(() => this.curaApi.theme.fonts.getSize());\n // fontFamily = computed(() => this.curaApi.theme.fonts.getFamily('body'));\n\n // linkColor = computed(() => {\n // return this.curaApi.theme.colors.getColor(this.spotColor());\n // });\n\n bodyColor = computed(() => {\n if (this.color()) {\n return this.curaApi.theme.colors.getColor(this.color());\n }\n return this.curaApi.theme.fonts.getColor() || this.curaApi.theme.colors.getColor('neutral-darker');\n });\n\n containerClasses = computed(() => {\n const classes = [];\n\n classes.push(this.size().toLowerCase());\n classes.push(`${this.weight().toLowerCase()}-weight`);\n\n if (this.textOverflow() === 'single') {\n classes.push('textoverflow-single');\n }\n\n return classes.join(' ');\n });\n}\n","<p [class]=\"containerClasses()\">\n <ng-content></ng-content>\n</p>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAmBa,kBAAkB,CAAA;AAf/B,IAAA,WAAA,GAAA;AAgBU,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC;AAExC;;;AAGG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAY,QAAQ,gDAAC;AAEjC;;;AAGG;AACH,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAc,SAAS,kDAAC;AAEtC;;;AAGG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,aAAa,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAC,CAAC;AAEzC;;;AAGG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AAEzB;;;AAGG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,GAAG,uDAAC;AAEhC;;;AAGG;AACH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,MAAM,sDAAC;AAElC;;;AAGG;AACH,QAAA,IAAA,CAAA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