@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-78812.3 → 0.0.0-bugfix-dev-KB-76362.1

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 (261) hide show
  1. package/dist/cjs/RecordValidationProcessor-10846595.js +108 -0
  2. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-button.cjs.entry.js +2 -2
  9. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-card-item_3.cjs.entry.js +20 -13
  11. package/dist/cjs/ez-chart.cjs.entry.js +2 -2
  12. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-combo-box.cjs.entry.js +11 -47
  16. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +4 -5
  17. package/dist/cjs/ez-date-input.cjs.entry.js +3 -9
  18. package/dist/cjs/ez-date-time-input.cjs.entry.js +3 -9
  19. package/dist/cjs/ez-dialog.cjs.entry.js +3 -11
  20. package/dist/cjs/ez-dropdown_2.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-form-view.cjs.entry.js +3 -3
  23. package/dist/cjs/ez-form.cjs.entry.js +326 -6
  24. package/dist/cjs/ez-grid.cjs.entry.js +70519 -14637
  25. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-icon.cjs.entry.js +2 -2
  27. package/dist/cjs/ez-list.cjs.entry.js +101 -152
  28. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  31. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-number-input.cjs.entry.js +1 -8
  33. package/dist/cjs/ez-popover.cjs.entry.js +2 -2
  34. package/dist/cjs/ez-popup.cjs.entry.js +2 -2
  35. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-search.cjs.entry.js +23 -72
  38. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-split-button.cjs.entry.js +2 -2
  40. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-text-area.cjs.entry.js +5 -67
  44. package/dist/cjs/ez-text-input.cjs.entry.js +8 -50
  45. package/dist/cjs/ez-time-input.cjs.entry.js +1 -7
  46. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  50. package/dist/cjs/ezui.cjs.js +2 -2
  51. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  52. package/dist/cjs/{index-a7b0c73d.js → index-9e5554cb.js} +3 -0
  53. package/dist/cjs/loader.cjs.js +2 -2
  54. package/dist/collection/collection-manifest.json +1 -1
  55. package/dist/collection/components/ez-button/ez-button.css +2 -2
  56. package/dist/collection/components/ez-card-item/ez-card-item.css +5 -14
  57. package/dist/collection/components/ez-combo-box/ez-combo-box.js +14 -75
  58. package/dist/collection/components/ez-date-input/ez-date-input.js +4 -35
  59. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +4 -35
  60. package/dist/collection/components/ez-dialog/ez-dialog.css +3 -3
  61. package/dist/collection/components/ez-dialog/ez-dialog.js +1 -9
  62. package/dist/collection/components/ez-filter-input/ez-filter-input.css +11 -0
  63. package/dist/collection/components/ez-filter-input/ez-filter-input.js +52 -22
  64. package/dist/collection/components/ez-form/ez-form.js +0 -1
  65. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +2 -3
  66. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
  67. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +27 -100
  68. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +0 -8
  69. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +46 -164
  70. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +0 -7
  71. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +0 -1
  72. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +0 -1
  73. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +0 -1
  74. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +0 -1
  75. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +1 -4
  76. package/dist/collection/components/ez-grid/ez-grid.js +3 -90
  77. package/dist/collection/components/ez-icon/ez-icon.css +149 -153
  78. package/dist/collection/components/ez-list/ez-list.css +5 -5
  79. package/dist/collection/components/ez-list/ez-list.js +170 -152
  80. package/dist/collection/components/ez-modal/ez-modal.css +0 -4
  81. package/dist/collection/components/ez-modal/ez-modal.js +2 -2
  82. package/dist/collection/components/ez-number-input/ez-number-input.js +0 -25
  83. package/dist/collection/components/ez-popover/ez-popover.css +10 -3
  84. package/dist/collection/components/ez-popup/ez-popup.css +7 -3
  85. package/dist/collection/components/ez-search/ez-search.css +1 -1
  86. package/dist/collection/components/ez-search/ez-search.js +24 -98
  87. package/dist/collection/components/ez-split-button/ez-split-button.css +2 -2
  88. package/dist/collection/components/ez-text-area/ez-text-area.css +0 -49
  89. package/dist/collection/components/ez-text-area/ez-text-area.js +2 -102
  90. package/dist/collection/components/ez-text-input/ez-text-input.css +53 -27
  91. package/dist/collection/components/ez-text-input/ez-text-input.js +6 -84
  92. package/dist/collection/components/ez-time-input/ez-time-input.js +0 -24
  93. package/dist/collection/utils/form/DataBinder.js +3 -18
  94. package/dist/collection/utils/form/FormMetadata.js +1 -1
  95. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
  96. package/dist/custom-elements/index.js +71095 -15526
  97. package/dist/esm/RecordValidationProcessor-9c6cc267.js +105 -0
  98. package/dist/esm/ez-actions-button.entry.js +1 -1
  99. package/dist/esm/ez-alert-list.entry.js +1 -1
  100. package/dist/esm/ez-alert.entry.js +1 -1
  101. package/dist/esm/ez-application.entry.js +1 -1
  102. package/dist/esm/ez-badge.entry.js +1 -1
  103. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  104. package/dist/esm/ez-button.entry.js +2 -2
  105. package/dist/esm/ez-calendar.entry.js +1 -1
  106. package/dist/esm/ez-card-item_3.entry.js +20 -13
  107. package/dist/esm/ez-chart.entry.js +2 -2
  108. package/dist/esm/ez-check.entry.js +1 -1
  109. package/dist/esm/ez-chip.entry.js +1 -1
  110. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  111. package/dist/esm/ez-combo-box.entry.js +12 -48
  112. package/dist/esm/ez-custom-form-input_2.entry.js +4 -5
  113. package/dist/esm/ez-date-input.entry.js +3 -9
  114. package/dist/esm/ez-date-time-input.entry.js +3 -9
  115. package/dist/esm/ez-dialog.entry.js +3 -11
  116. package/dist/esm/ez-dropdown_2.entry.js +1 -1
  117. package/dist/esm/ez-file-item.entry.js +1 -1
  118. package/dist/esm/ez-form-view.entry.js +3 -3
  119. package/dist/esm/ez-form.entry.js +325 -5
  120. package/dist/esm/ez-grid.entry.js +70546 -14664
  121. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  122. package/dist/esm/ez-icon.entry.js +2 -2
  123. package/dist/esm/ez-list.entry.js +102 -153
  124. package/dist/esm/ez-loading-bar.entry.js +1 -1
  125. package/dist/esm/ez-modal-container.entry.js +1 -1
  126. package/dist/esm/ez-modal.entry.js +2 -2
  127. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  128. package/dist/esm/ez-number-input.entry.js +1 -8
  129. package/dist/esm/ez-popover.entry.js +2 -2
  130. package/dist/esm/ez-popup.entry.js +2 -2
  131. package/dist/esm/ez-radio-button.entry.js +1 -1
  132. package/dist/esm/ez-scroller_2.entry.js +1 -1
  133. package/dist/esm/ez-search.entry.js +23 -72
  134. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  135. package/dist/esm/ez-split-button.entry.js +2 -2
  136. package/dist/esm/ez-split-item.entry.js +1 -1
  137. package/dist/esm/ez-split-panel.entry.js +1 -1
  138. package/dist/esm/ez-tabselector.entry.js +1 -1
  139. package/dist/esm/ez-text-area.entry.js +5 -67
  140. package/dist/esm/ez-text-input.entry.js +8 -50
  141. package/dist/esm/ez-time-input.entry.js +1 -7
  142. package/dist/esm/ez-toast.entry.js +1 -1
  143. package/dist/esm/ez-tree.entry.js +1 -1
  144. package/dist/esm/ez-upload.entry.js +1 -1
  145. package/dist/esm/ez-view-stack.entry.js +1 -1
  146. package/dist/esm/ezui.js +3 -3
  147. package/dist/esm/filter-column.entry.js +1 -1
  148. package/dist/esm/{index-baa5e267.js → index-5a720e56.js} +3 -1
  149. package/dist/esm/loader.js +3 -3
  150. package/dist/ezui/ezui.esm.js +1 -1
  151. package/dist/ezui/p-00687830.entry.js +1 -0
  152. package/dist/ezui/{p-44caad9a.entry.js → p-0378416a.entry.js} +1 -1
  153. package/dist/ezui/p-044d46d5.entry.js +1 -0
  154. package/dist/ezui/{p-1285c902.entry.js → p-11b09aa1.entry.js} +1 -1
  155. package/dist/ezui/{p-77a4bd35.entry.js → p-11bfeca3.entry.js} +1 -1
  156. package/dist/ezui/p-190c190f.entry.js +304 -0
  157. package/dist/ezui/{p-8888d9ed.entry.js → p-1b08bf3c.entry.js} +1 -1
  158. package/dist/ezui/p-2de9f0aa.entry.js +1 -0
  159. package/dist/ezui/{p-baf80b13.entry.js → p-30951bd7.entry.js} +1 -1
  160. package/dist/ezui/p-36180f4d.entry.js +1 -0
  161. package/dist/ezui/{p-7409eeaa.entry.js → p-3b546374.entry.js} +1 -1
  162. package/dist/ezui/p-3f8c33e0.entry.js +1 -0
  163. package/dist/ezui/p-52100a6e.entry.js +1 -0
  164. package/dist/ezui/{p-6d79930d.entry.js → p-554522db.entry.js} +1 -1
  165. package/dist/ezui/p-5a40c77a.entry.js +1 -0
  166. package/dist/ezui/p-61059f6b.entry.js +1 -0
  167. package/dist/ezui/p-68267f59.entry.js +1 -0
  168. package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
  169. package/dist/ezui/p-6ec40dec.entry.js +1 -0
  170. package/dist/ezui/{p-5ed81457.entry.js → p-6fc26622.entry.js} +1 -1
  171. package/dist/ezui/{p-f9e551de.entry.js → p-70f1c812.entry.js} +1 -1
  172. package/dist/ezui/{p-555c9018.entry.js → p-7567ccdd.entry.js} +1 -1
  173. package/dist/ezui/{p-1e7a8633.entry.js → p-81461d2f.entry.js} +1 -1
  174. package/dist/ezui/p-823cc11b.entry.js +1 -0
  175. package/dist/ezui/{p-8df1ca33.entry.js → p-82fa4b09.entry.js} +1 -1
  176. package/dist/ezui/p-85b500bb.entry.js +1 -0
  177. package/dist/ezui/{p-bcb53f27.entry.js → p-868b56f7.entry.js} +1 -1
  178. package/dist/ezui/p-8ac13678.entry.js +1 -0
  179. package/dist/ezui/{p-09de35a2.entry.js → p-91ccae0c.entry.js} +1 -1
  180. package/dist/ezui/{p-c0d9c4f8.entry.js → p-92748142.entry.js} +1 -1
  181. package/dist/ezui/p-940760bf.entry.js +1 -0
  182. package/dist/ezui/p-9e08ddb0.entry.js +1 -0
  183. package/dist/ezui/{p-c4320a39.entry.js → p-a563df31.entry.js} +1 -1
  184. package/dist/ezui/{p-990b4318.entry.js → p-a921e3e7.entry.js} +1 -1
  185. package/dist/ezui/p-b2a1398f.entry.js +1 -0
  186. package/dist/ezui/{p-17be134a.entry.js → p-b2f6bc0a.entry.js} +1 -1
  187. package/dist/ezui/{p-c3045972.entry.js → p-b858fc6e.entry.js} +1 -1
  188. package/dist/ezui/p-ba5f4ee7.entry.js +1 -0
  189. package/dist/ezui/{p-e347df9c.entry.js → p-bef7daac.entry.js} +1 -1
  190. package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
  191. package/dist/ezui/p-d40b93a7.entry.js +1 -0
  192. package/dist/ezui/p-d4aba783.entry.js +1 -0
  193. package/dist/ezui/{p-7fdd479f.entry.js → p-e18d9e6a.entry.js} +1 -1
  194. package/dist/ezui/p-e3ec7422.entry.js +1 -0
  195. package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
  196. package/dist/ezui/{p-0306dff7.entry.js → p-e6b38ade.entry.js} +1 -1
  197. package/dist/ezui/{p-90bcd2ba.entry.js → p-e7395eae.entry.js} +1 -1
  198. package/dist/ezui/{p-650e4b6d.entry.js → p-f1c2c19e.entry.js} +1 -1
  199. package/dist/ezui/p-f291db18.entry.js +1 -0
  200. package/dist/ezui/p-f42855b9.js +1 -0
  201. package/dist/ezui/{p-6e429cff.entry.js → p-fc194825.entry.js} +1 -1
  202. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +1 -7
  203. package/dist/types/components/ez-date-input/ez-date-input.d.ts +1 -6
  204. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +1 -6
  205. package/dist/types/components/ez-dialog/ez-dialog.d.ts +0 -2
  206. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +11 -4
  207. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
  208. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +0 -12
  209. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -7
  210. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -2
  211. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +7 -19
  212. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +1 -3
  213. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +1 -1
  214. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  215. package/dist/types/components/ez-grid/controller/ag-grid/components/cellRendererStatus.d.ts +1 -1
  216. package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +1 -1
  217. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +1 -1
  218. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +1 -1
  219. package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellEditor.d.ts +0 -1
  220. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +1 -1
  221. package/dist/types/components/ez-grid/ez-grid.d.ts +1 -11
  222. package/dist/types/components/ez-list/ez-list.d.ts +26 -3
  223. package/dist/types/components/ez-modal/ez-modal.d.ts +1 -1
  224. package/dist/types/components/ez-number-input/ez-number-input.d.ts +0 -4
  225. package/dist/types/components/ez-search/ez-search.d.ts +2 -10
  226. package/dist/types/components/ez-text-area/ez-text-area.d.ts +0 -17
  227. package/dist/types/components/ez-text-input/ez-text-input.d.ts +0 -9
  228. package/dist/types/components/ez-time-input/ez-time-input.d.ts +0 -4
  229. package/dist/types/components.d.ts +44 -109
  230. package/dist/types/utils/form/DataBinder.d.ts +0 -3
  231. package/package.json +4 -11
  232. package/dist/cjs/DataBinder-3b083480.js +0 -445
  233. package/dist/cjs/FocusResolver-885f2173.js +0 -35
  234. package/dist/collection/utils/FocusResolver.js +0 -31
  235. package/dist/esm/DataBinder-02fa9bb9.js +0 -441
  236. package/dist/esm/FocusResolver-1ccbf850.js +0 -33
  237. package/dist/ezui/p-0a75bb05.entry.js +0 -1
  238. package/dist/ezui/p-0db68715.entry.js +0 -1
  239. package/dist/ezui/p-15d7af92.entry.js +0 -1
  240. package/dist/ezui/p-19098a3f.entry.js +0 -1
  241. package/dist/ezui/p-1f830a2f.entry.js +0 -1
  242. package/dist/ezui/p-2aa8e4b2.entry.js +0 -1
  243. package/dist/ezui/p-2bb2a0c4.entry.js +0 -1
  244. package/dist/ezui/p-3175fe8c.entry.js +0 -1
  245. package/dist/ezui/p-43b41d3e.entry.js +0 -309
  246. package/dist/ezui/p-455e737c.js +0 -1
  247. package/dist/ezui/p-7ed30844.entry.js +0 -1
  248. package/dist/ezui/p-97af4b13.entry.js +0 -1
  249. package/dist/ezui/p-a5b91a77.entry.js +0 -1
  250. package/dist/ezui/p-a80b1287.entry.js +0 -1
  251. package/dist/ezui/p-bc2f844e.entry.js +0 -1
  252. package/dist/ezui/p-bfad39eb.entry.js +0 -1
  253. package/dist/ezui/p-cd2e78f0.entry.js +0 -1
  254. package/dist/ezui/p-d0ca26fe.entry.js +0 -1
  255. package/dist/ezui/p-d24a7b4c.entry.js +0 -1
  256. package/dist/ezui/p-dc628ed3.js +0 -1
  257. package/dist/ezui/p-dc8b36c3.entry.js +0 -1
  258. package/dist/ezui/p-e5e16038.entry.js +0 -1
  259. package/dist/ezui/p-fec696ab.entry.js +0 -1
  260. package/dist/ezui/p-ffd246f5.entry.js +0 -1
  261. package/dist/types/utils/FocusResolver.d.ts +0 -5
@@ -38,8 +38,7 @@ export class EzSearch {
38
38
  this.options = undefined;
39
39
  this.suppressSearch = false;
40
40
  this.ensureClearButtonVisible = false;
41
- this.suppressPreLoad = true;
42
- this.autoFocus = false;
41
+ this.suppressPreLoad = false;
43
42
  }
44
43
  observeErrorMessage() {
45
44
  var _a;
@@ -50,25 +49,12 @@ export class EzSearch {
50
49
  }
51
50
  }
52
51
  }
53
- getValue(val) {
54
- return typeof val === 'object' ? val === null || val === void 0 ? void 0 : val.value : val;
55
- }
56
52
  validateNewValue(newValue, oldValue) {
57
- const parsedNewValue = this.getValue(newValue);
58
- const parsedOldValue = this.getValue(oldValue);
59
- const newValueIsValid = parsedNewValue !== "[object Object]" && !!parsedNewValue;
60
- const oldValueIsValid = parsedOldValue !== "[object Object]" && !!parsedOldValue;
61
- const valuesIsDifferent = parsedNewValue !== parsedOldValue;
62
- if (!oldValueIsValid && newValueIsValid) {
63
- return true;
64
- }
65
- if (newValueIsValid && oldValueIsValid && valuesIsDifferent) {
66
- return true;
67
- }
68
- return false;
53
+ const getValue = (val) => typeof val === 'object' ? val === null || val === void 0 ? void 0 : val.value : val;
54
+ return (getValue(newValue) !== getValue(oldValue));
69
55
  }
70
56
  async observeValue(newValue, oldValue) {
71
- if (this._textInput && this.validateNewValue(newValue, oldValue)) {
57
+ if (this._textInput && newValue !== oldValue && this.validateNewValue(newValue, oldValue)) {
72
58
  if (typeof newValue === "string") {
73
59
  await this.handleValueAsString(newValue);
74
60
  return;
@@ -111,9 +97,9 @@ export class EzSearch {
111
97
  /**
112
98
  * Aplica o foco no campo.
113
99
  */
114
- async setFocus(options) {
100
+ async setFocus() {
115
101
  if (this._textInput) {
116
- this._textInput.setFocus(options);
102
+ this._textInput.setFocus();
117
103
  }
118
104
  }
119
105
  /**
@@ -156,9 +142,6 @@ export class EzSearch {
156
142
  return;
157
143
  }
158
144
  await this.loadDescriptionValue(value);
159
- if (!this._currentValue) {
160
- return;
161
- }
162
145
  this.setInputValue();
163
146
  this.ezChange.emit(this.value);
164
147
  this._currentValue = this.value;
@@ -214,7 +197,7 @@ export class EzSearch {
214
197
  return;
215
198
  }
216
199
  let text = (!this.showSelectedValue || currentValue.value == undefined) ? currentValue.label : currentValue.label ? `${currentValue.value} - ${currentValue.label}` : currentValue.value;
217
- text = text === null || text === void 0 ? void 0 : text.replace(new RegExp(this._startHighlightTag, 'g'), '').replace(new RegExp(this._endHighlightTag, 'g'), '');
200
+ text = text.replace(new RegExp(this._startHighlightTag, 'g'), '').replace(new RegExp(this._endHighlightTag, 'g'), '');
218
201
  return text;
219
202
  }
220
203
  getText() {
@@ -374,7 +357,7 @@ export class EzSearch {
374
357
  this.updateVisibleOptions();
375
358
  if (this._tabPressed) {
376
359
  this._tabPressed = false;
377
- this.controlEmptySearch(false);
360
+ this.controlEmptySearch();
378
361
  }
379
362
  }
380
363
  else {
@@ -389,16 +372,15 @@ export class EzSearch {
389
372
  replaceHighlight(value) {
390
373
  const startHighlight = new RegExp(this._startHighlightTag, 'g');
391
374
  const endHighlight = new RegExp(this._endHighlightTag, 'g');
392
- return String(value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
375
+ return (value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
393
376
  }
394
- selectOption(newOption, focusOnInput = true) {
377
+ selectOption(newOption) {
395
378
  var _a, _b;
396
379
  const currentValue = this.getSelectedOption(this.value);
397
380
  const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: this.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: this.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
398
- const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: this.replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: this.replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
399
- if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) === null || _b === void 0 ? void 0 : _b.toString()))
400
- || (currentValue == undefined && newOptionsFormatted != undefined && "value" in newOptionsFormatted)) {
401
- const adjustedOpt = !(newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) ? undefined : newOptionsFormatted;
381
+ if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value) === null || _b === void 0 ? void 0 : _b.toString()))
382
+ || (currentValue == undefined && newOptionsReplaced != undefined && "value" in newOptionsReplaced)) {
383
+ const adjustedOpt = !(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value) ? undefined : newOptionsReplaced;
402
384
  this.value = adjustedOpt;
403
385
  this._currentValue = adjustedOpt;
404
386
  }
@@ -408,11 +390,6 @@ export class EzSearch {
408
390
  }
409
391
  this._visibleOptions = [];
410
392
  this.clearSource();
411
- if (focusOnInput) {
412
- setTimeout(() => {
413
- this.setFocus();
414
- }, 0);
415
- }
416
393
  }
417
394
  loadOptions(mode, argument = "") {
418
395
  this._criteria = argument;
@@ -449,7 +426,7 @@ export class EzSearch {
449
426
  this.value = null;
450
427
  this._currentValue = null;
451
428
  }
452
- controlListWithOnlyOne(focusOnInput = true) {
429
+ controlListWithOnlyOne() {
453
430
  var _a, _b;
454
431
  const source = (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.filter((opt) => opt.label !== "" && opt.value != undefined);
455
432
  if ((source === null || source === void 0 ? void 0 : source.length) > 0) {
@@ -460,17 +437,17 @@ export class EzSearch {
460
437
  value: (_b = source[0].value) === null || _b === void 0 ? void 0 : _b.replace(startHighlight, '').replace(endHighlight, ''),
461
438
  label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
462
439
  };
463
- this.selectOption(option, focusOnInput);
440
+ this.selectOption(option);
464
441
  }
465
442
  }
466
- controlEmptySearch(focusOnInput = true) {
443
+ controlEmptySearch() {
467
444
  var _a;
468
445
  if (!((_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.length)) {
469
446
  this.clearSearch();
470
447
  ApplicationUtils.info(this._textEmptyList);
471
448
  }
472
449
  else {
473
- this.controlListWithOnlyOne(focusOnInput);
450
+ this.controlListWithOnlyOne();
474
451
  }
475
452
  }
476
453
  async loadDescriptionValue(argument) {
@@ -541,19 +518,6 @@ export class EzSearch {
541
518
  this._preSelection = undefined;
542
519
  this.updateVisibleOptions();
543
520
  }
544
- async handleInitialValue() {
545
- const valueIsValid = !!this.getValue(this.value);
546
- if (!valueIsValid) {
547
- return;
548
- }
549
- if (typeof this.value === "string") {
550
- await this.handleValueAsString(this.value);
551
- return;
552
- }
553
- let text = this.getFormattedText(this.value);
554
- text = this.replaceQuotes(text);
555
- this._textInput.value = text;
556
- }
557
521
  //---------------------------------------------
558
522
  // Lifecycle web component
559
523
  //---------------------------------------------
@@ -585,9 +549,10 @@ export class EzSearch {
585
549
  ElementIDUtils.addIDInfoIfNotExists(elem, "itemSearch");
586
550
  });
587
551
  }
588
- async componentDidLoad() {
552
+ componentDidLoad() {
589
553
  this._currentValue = this.value;
590
554
  CSSVarsUtils.applyVarsTextInput(this.el, this._textInput);
555
+ this.setInputValue(false);
591
556
  this._resizeObserver = new ResizeObserver((entries) => {
592
557
  window.requestAnimationFrame(() => {
593
558
  if (!Array.isArray(entries) || !entries.length)
@@ -598,16 +563,6 @@ export class EzSearch {
598
563
  }
599
564
  });
600
565
  });
601
- await this.handleInitialValue();
602
- if (this.autoFocus) {
603
- requestAnimationFrame(() => {
604
- this.setFocus({ selectText: true });
605
- });
606
- }
607
- }
608
- disconnectedCallback() {
609
- var _a;
610
- (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
611
566
  }
612
567
  //---------------------------------------------
613
568
  // Event handlers
@@ -677,16 +632,12 @@ export class EzSearch {
677
632
  }
678
633
  switch (event.key) {
679
634
  case "ArrowDown":
680
- event.stopPropagation();
681
- if (this.canShowListOptions())
682
- event.preventDefault();
683
635
  this.nextOption();
636
+ event.stopPropagation();
684
637
  break;
685
638
  case "ArrowUp":
686
- event.stopPropagation();
687
- if (this.canShowListOptions())
688
- event.preventDefault();
689
639
  this.previousOption();
640
+ event.stopPropagation();
690
641
  break;
691
642
  case "Enter":
692
643
  this.handleEventPropagation(event);
@@ -697,7 +648,7 @@ export class EzSearch {
697
648
  break;
698
649
  case "Tab":
699
650
  this._tabPressed = true;
700
- this.controlListWithOnlyOne(false);
651
+ this.controlListWithOnlyOne();
701
652
  break;
702
653
  }
703
654
  //ATENÇÃO: Existe a necessidade de propagar o evento de teclado.
@@ -1103,24 +1054,6 @@ export class EzSearch {
1103
1054
  },
1104
1055
  "attribute": "suppress-pre-load",
1105
1056
  "reflect": false,
1106
- "defaultValue": "true"
1107
- },
1108
- "autoFocus": {
1109
- "type": "boolean",
1110
- "mutable": false,
1111
- "complexType": {
1112
- "original": "boolean",
1113
- "resolved": "boolean",
1114
- "references": {}
1115
- },
1116
- "required": false,
1117
- "optional": false,
1118
- "docs": {
1119
- "tags": [],
1120
- "text": "Se true o campo de texto receber\u00E1 o foco ao ser renderizado."
1121
- },
1122
- "attribute": "auto-focus",
1123
- "reflect": false,
1124
1057
  "defaultValue": "false"
1125
1058
  }
1126
1059
  };
@@ -1177,18 +1110,11 @@ export class EzSearch {
1177
1110
  },
1178
1111
  "setFocus": {
1179
1112
  "complexType": {
1180
- "signature": "(options?: TFocusOptions) => Promise<void>",
1181
- "parameters": [{
1182
- "tags": [],
1183
- "text": ""
1184
- }],
1113
+ "signature": "() => Promise<void>",
1114
+ "parameters": [],
1185
1115
  "references": {
1186
1116
  "Promise": {
1187
1117
  "location": "global"
1188
- },
1189
- "TFocusOptions": {
1190
- "location": "import",
1191
- "path": "../ez-text-input/ez-text-input"
1192
1118
  }
1193
1119
  },
1194
1120
  "return": "Promise<void>"
@@ -41,9 +41,9 @@
41
41
  /*@doc Define a cor de fundo quando o cursor está sobre o botão.*/
42
42
  --ez-split-button--hover--background-color: var(--background--light, #ffffff);
43
43
  /*@doc Define a cor do texto quando o botão está desabilitado.*/
44
- --ez-split-button--disabled-color: var(--text--primary);
44
+ --ez-split-button--disabled-color: var(--text--disable);
45
45
  /*@doc Define a cor de fundo quando o botão está desabilitado.*/
46
- --ez-split-button--disabled--background-color: var(--background--medium);
46
+ --ez-split-button--disabled--background-color: var(--color--disable-secondary);
47
47
  /*@doc Define o estido da borda quando o botão está selecionado.*/
48
48
  --ez-split-button--focus--border: var(--border--medium, 2px) var(--color--primary-300);
49
49
  /*@doc Define a sombra do botão quando selecionado.*/
@@ -51,20 +51,6 @@
51
51
  /*@doc Define o espaçamento direito do label.*/
52
52
  --text-area__label--padding-right: 12px;
53
53
 
54
- /* scrollbar */
55
- /*@doc Define a cor da barra de rolagem do componente.*/
56
- --text-area__scrollbar--color-default: var(--scrollbar--default, #626e82);
57
- /*@doc Define a cor de fundo da barra de rolagem do componente.*/
58
- --text-area__scrollbar--color-background: var(--scrollbar--background, #E5EAF0);
59
- /*@doc Define a cor do hover na barra de rolagem do componente.*/
60
- --text-area__scrollbar--color-hover: var(--scrollbar--hover, #2B3A54);
61
- /*@doc Define a cor do active na barra de rolagem do componente.*/
62
- --text-area__scrollbar--color-clicked: var(--scrollbar--clicked, #a2abb9);
63
- /*@doc Define o raio da borda da barra de rolagem do componente.*/
64
- --text-area__scrollbar--border-radius: var(--border--radius-small, 6px);
65
- /*@doc Define a largura da barra de rolagem do componente.*/
66
- --text-area__scrollbar--width: var(--space--medium, 12px);
67
-
68
54
  /***************
69
55
  host style
70
56
  ***************/
@@ -91,9 +77,6 @@ textarea {
91
77
  font-size: var(--text-area--font-size);
92
78
  color: var(--text-area--color);
93
79
  margin-top: calc(var(--space--medium, 12px) + 4px);
94
-
95
- scrollbar-width: thin;
96
- scrollbar-color: var(--text-area__scrollbar--color-clicked) var(--text-area__scrollbar--color-background);
97
80
  }
98
81
 
99
82
  textarea:focus {
@@ -109,38 +92,6 @@ textarea:disabled {
109
92
  cursor: not-allowed;
110
93
  }
111
94
 
112
- textarea::-webkit-scrollbar {
113
- background-color: var(--text-area__scrollbar--color-background);
114
-
115
- width: var(--text-area__scrollbar--width);
116
- max-width: var(--text-area__scrollbar--width);
117
- min-width: var(--text-area__scrollbar--width);
118
- }
119
-
120
- textarea::-webkit-scrollbar-thumb {
121
- /*public*/
122
- background-color: var(--text-area__scrollbar--color-default);
123
- border-radius: var(--text-area__scrollbar--border-radius);
124
- }
125
-
126
- textarea::-webkit-scrollbar-track {
127
- /*public*/
128
- background-color: var(--text-area__scrollbar--color-background);
129
- border-radius: var(--text-area__scrollbar--border-radius);
130
- }
131
-
132
- textarea::-webkit-scrollbar-thumb:vertical:hover,
133
- textarea::-webkit-scrollbar-thumb:horizontal:hover {
134
- /*public*/
135
- background-color: var(--text-area__scrollbar--color-hover);
136
- }
137
-
138
- textarea::-webkit-scrollbar-thumb:vertical:active,
139
- textarea::-webkit-scrollbar-thumb:horizontal:active {
140
- /*public*/
141
- background-color: var(--text-area__scrollbar--color-clicked);
142
- }
143
-
144
95
  .textarea {
145
96
  /*private*/
146
97
  width: 100%;
@@ -2,8 +2,6 @@ import { ElementIDUtils } from '@sankhyalabs/core';
2
2
  import { h, Host } from '@stencil/core';
3
3
  export class EzTextArea {
4
4
  constructor() {
5
- this.LINE_HEIGHT = 24;
6
- this.HEIGHT_RATIO = 1.4;
7
5
  this.label = undefined;
8
6
  this.value = undefined;
9
7
  this.enabled = true;
@@ -12,8 +10,6 @@ export class EzTextArea {
12
10
  this.canShowError = true;
13
11
  this.mode = "regular";
14
12
  this.enableResize = false;
15
- this.autoRows = false;
16
- this.autoFocus = false;
17
13
  }
18
14
  observeErrorMessage() {
19
15
  var _a, _b, _c, _d;
@@ -51,17 +47,8 @@ export class EzTextArea {
51
47
  observeRows() {
52
48
  const rows = this.rows > 0 ? this.rows : this.mode != "slim" ? 4 : 2;
53
49
  if (rows !== this.rows) {
54
- this.updateRows(rows);
55
- }
56
- }
57
- observeAutoRows() {
58
- var _a, _b;
59
- if (this.autoRows) {
60
- (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
61
- this.initializeResizeObserver();
62
- }
63
- else {
64
- (_b = this._resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
50
+ this.rows = rows;
51
+ this._initialRows = rows;
65
52
  }
66
53
  }
67
54
  //---------------------------------------------
@@ -130,42 +117,6 @@ export class EzTextArea {
130
117
  isFocused() {
131
118
  return this._hostElement.shadowRoot.activeElement !== null;
132
119
  }
133
- updateRows(newRows) {
134
- this.rows = newRows;
135
- this._initialRows = newRows;
136
- }
137
- calculateMaxRows() {
138
- const parentElement = this._hostElement.parentElement;
139
- if (!parentElement) {
140
- return;
141
- }
142
- const height = Math.max((parentElement === null || parentElement === void 0 ? void 0 : parentElement.clientHeight) || 0, this.LINE_HEIGHT);
143
- if (height > 0) {
144
- const maxRows = Math.floor(height / this.LINE_HEIGHT * this.HEIGHT_RATIO);
145
- if (maxRows !== this.rows) {
146
- this.updateRows(maxRows);
147
- }
148
- }
149
- }
150
- initializeResizeObserver() {
151
- if (!this.autoRows) {
152
- return;
153
- }
154
- const parentElement = this._hostElement.parentElement;
155
- if (parentElement) {
156
- try {
157
- if (this._resizeObserver != undefined) {
158
- this._resizeObserver.unobserve(parentElement);
159
- }
160
- this._resizeObserver = new ResizeObserver(this.calculateMaxRows.bind(this));
161
- this._resizeObserver.observe(parentElement);
162
- }
163
- catch (e) {
164
- console.warn(e);
165
- }
166
- this.calculateMaxRows();
167
- }
168
- }
169
120
  //---------------------------------------------
170
121
  // Event handlers
171
122
  //---------------------------------------------
@@ -188,13 +139,6 @@ export class EzTextArea {
188
139
  this._container.classList.add("textarea--focus");
189
140
  }
190
141
  }
191
- connectedCallback() {
192
- this.initializeResizeObserver();
193
- }
194
- disconnectedCallback() {
195
- var _a;
196
- (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
197
- }
198
142
  //---------------------------------------------
199
143
  // Lifecycle web component
200
144
  //---------------------------------------------
@@ -202,11 +146,6 @@ export class EzTextArea {
202
146
  this.observeErrorMessage();
203
147
  this.adjustFloatingLabel();
204
148
  this.observeMode();
205
- if (this.autoFocus) {
206
- requestAnimationFrame(() => {
207
- this.setFocus();
208
- });
209
- }
210
149
  }
211
150
  render() {
212
151
  ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
@@ -372,42 +311,6 @@ export class EzTextArea {
372
311
  "attribute": "enable-resize",
373
312
  "reflect": true,
374
313
  "defaultValue": "false"
375
- },
376
- "autoRows": {
377
- "type": "boolean",
378
- "mutable": false,
379
- "complexType": {
380
- "original": "boolean",
381
- "resolved": "boolean",
382
- "references": {}
383
- },
384
- "required": false,
385
- "optional": false,
386
- "docs": {
387
- "tags": [],
388
- "text": "Ativa a op\u00E7\u00E3o de fazer as linhas do componente serem baseados na altura m\u00E1xima."
389
- },
390
- "attribute": "auto-rows",
391
- "reflect": true,
392
- "defaultValue": "false"
393
- },
394
- "autoFocus": {
395
- "type": "boolean",
396
- "mutable": false,
397
- "complexType": {
398
- "original": "boolean",
399
- "resolved": "boolean",
400
- "references": {}
401
- },
402
- "required": false,
403
- "optional": false,
404
- "docs": {
405
- "tags": [],
406
- "text": "Se true o campo de texto receber\u00E1 o foco ao ser renderizado."
407
- },
408
- "attribute": "auto-focus",
409
- "reflect": false,
410
- "defaultValue": "false"
411
314
  }
412
315
  };
413
316
  }
@@ -520,9 +423,6 @@ export class EzTextArea {
520
423
  }, {
521
424
  "propName": "rows",
522
425
  "methodName": "observeRows"
523
- }, {
524
- "propName": "autoRows",
525
- "methodName": "observeAutoRows"
526
426
  }];
527
427
  }
528
428
  }
@@ -6,6 +6,8 @@
6
6
  --ez-text-input--width: 100%;
7
7
  /*@doc Define a largura do slot que contém o ícone.*/
8
8
  --ez-text-input__icon--width: 48px;
9
+ --ez-text-input__icon--left--width: var(--ez-text-input__icon--width);
10
+ --ez-text-input__icon--right--width: var(--ez-text-input__icon--width);
9
11
  /*@doc Define a altura do componente em modo "slim".*/
10
12
  --ez-text-input--height--slim: 32px;
11
13
 
@@ -46,9 +48,6 @@
46
48
  --ez-text-input__input--noborder-color: white;
47
49
  /*@doc Define o padding do input*/
48
50
  --ez-text-input__input--padding: var(--space--medium, 6px);
49
- /*@doc Define a cor do placeholder do input.*/
50
- --ez-text-input__placeholder--color: var(--text--secondary, #a2abb9);
51
-
52
51
 
53
52
  /* message box */
54
53
  /*@doc Define o tamanho da fonte da mensagem abaixo do input.*/
@@ -105,6 +104,8 @@ input {
105
104
  color: var(--ez-text-input--color);
106
105
  font-weight: var(--ez-text-input--font-weight);
107
106
  padding: var(--ez-text-input__input--padding);
107
+ text-overflow: ellipsis;
108
+ overflow: hidden;
108
109
  }
109
110
 
110
111
  input:disabled {
@@ -122,11 +123,11 @@ input:focus {
122
123
  }
123
124
 
124
125
  input.icon--left {
125
- padding-left: var(--ez-text-input__icon--width);
126
+ padding-left: var(--ez-text-input__icon--left--width);
126
127
  }
127
128
 
128
129
  input.icon--right {
129
- padding-right: var(--ez-text-input__icon--width);
130
+ padding-right: var(--ez-text-input__icon--right--width);
130
131
  }
131
132
 
132
133
  input.hasError {
@@ -203,25 +204,23 @@ input:read-only {
203
204
  cursor: not-allowed;
204
205
  }
205
206
 
207
+ .input__label--left.input__label--right {
208
+ left: calc(var(--ez-text-input__icon--left--width) + 2px);
209
+ /*borda*/
210
+ width: calc(100% - (var(--ez-text-input__icon--right--width) + var(--ez-text-input__icon--left--width)));
211
+ }
206
212
  .input__label--left {
207
213
  /*public*/
208
214
  text-align: left;
209
- left: calc(var(--ez-text-input__icon--width) + 2px);
215
+ left: calc(var(--ez-text-input__icon--left--width) + 2px);
210
216
  /*borda*/
211
- width: calc(100% - var(--ez-text-input__icon--width));
217
+ width: calc(100% - var(--ez-text-input__icon--left--width));
212
218
  }
213
219
 
214
220
  .input__label--right {
215
221
  /*public*/
216
- right: var(--ez-text-input__icon--width);
217
- width: calc(100% - var(--ez-text-input__icon--width));
218
- }
219
-
220
- /* ISSO TA ERRADO CRIAR INPUT__LABEL--BOTH */
221
- .input__label--left.input__label--right {
222
- left: calc(var(--ez-text-input__icon--width) + 2px);
223
- /*borda*/
224
- width: calc(100% - var(--ez-text-input__icon--width) * 2);
222
+ right: var(--ez-text-input__icon--right--width);
223
+ width: calc(100% - var(--ez-text-input__icon--right--width));
225
224
  }
226
225
 
227
226
  .input--with--label {
@@ -241,18 +240,45 @@ input:read-only {
241
240
  font-weight: bold;
242
241
  }
243
242
 
244
- .input--slim::-webkit-input-placeholder, /* Edge */
245
- .input--slim:-moz-placeholder, /* Firefox 4-18 */
246
- .input--slim::-moz-placeholder, /* Firefox 19+ */
247
- .input--slim:-ms-input-placeholder, /* IE 10-11 */
248
- .input--slim::placeholder { /* Modern browsers */
249
- /*public*/
250
- font-family: var(--ez-text-input--font-family);
251
- font-size: var(--ez-text-input--font-size);
252
- font-weight: var(--ez-text-input--font-weight);
253
- color: var(--ez-text-input__placeholder--color);
254
- }
243
+ .input--slim::-webkit-input-placeholder { /* Edge */
244
+ /*public*/
245
+ font-family: var(--ez-text-input--font-family);
246
+ font-size: var(--ez-text-input--font-size);
247
+ font-weight: var(--ez-text-input--font-weight);
248
+ color: var(--ez-text-input--color);
249
+ }
255
250
 
251
+ .input--slim:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
252
+ /*public*/
253
+ font-family: var(--ez-text-input--font-family);
254
+ font-size: var(--ez-text-input--font-size);
255
+ font-weight: var(--ez-text-input--font-weight);
256
+ color: var(--ez-text-input--color);
257
+ }
258
+
259
+ .input--slim::-moz-placeholder { /* Mozilla Firefox 19+ */
260
+ /*public*/
261
+ font-family: var(--ez-text-input--font-family);
262
+ font-size: var(--ez-text-input--font-size);
263
+ font-weight: var(--ez-text-input--font-weight);
264
+ color: var(--ez-text-input--color);
265
+ }
266
+
267
+ .input--slim:-ms-input-placeholder { /* Internet Explorer 10-11 */
268
+ /*public*/
269
+ font-family: var(--ez-text-input--font-family);
270
+ font-size: var(--ez-text-input--font-size);
271
+ font-weight: var(--ez-text-input--font-weight);
272
+ color: var(--ez-text-input--color);
273
+ }
274
+
275
+ .input--slim::placeholder {
276
+ /*public*/
277
+ font-family: var(--ez-text-input--font-family);
278
+ font-size: var(--ez-text-input--font-size);
279
+ font-weight: var(--ez-text-input--font-weight);
280
+ color: var(--ez-text-input--color);
281
+ }
256
282
 
257
283
  .input--slim:disabled::-webkit-input-placeholder, /* WebKit browsers */
258
284
  .input--slim:disabled:-moz-placeholder, /* Mozilla Firefox 4 to 18 */