@rededor/cura 1.8.3-alpha.0 → 2.0.0-alpha.11

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 (674) hide show
  1. package/dist/assets/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/assets/icons/iconset-default-tmp.svg +40 -0
  3. package/dist/assets/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/app-globals-e8cmvmo1.js +69 -0
  5. package/dist/cjs/{cura-accordion_20.cjs.entry.js → cura-accordion_21.cjs.entry.js} +1957 -98
  6. package/dist/cjs/cura-alert.cjs.entry.js +11 -11
  7. package/dist/cjs/cura-badge-counter.cjs.entry.js +13 -10
  8. package/dist/cjs/cura-badge-dot.cjs.entry.js +4 -7
  9. package/dist/cjs/cura-badge-pill.cjs.entry.js +7 -8
  10. package/dist/cjs/cura-button-outline.cjs.entry.js +15 -10
  11. package/dist/cjs/cura-button-select.cjs.entry.js +10 -9
  12. package/dist/cjs/cura-button.definitions-B3SK8MaV.js +0 -3
  13. package/dist/cjs/cura-calendar.cjs.entry.js +12 -9
  14. package/dist/cjs/cura-checkbox.cjs.entry.js +18 -11
  15. package/dist/cjs/cura-display.cjs.entry.js +10 -9
  16. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +4 -7
  17. package/dist/cjs/cura-forms.definitions-DVLuO67c.js +0 -3
  18. package/dist/cjs/cura-icon.definitions-DT0wF67y.js +0 -3
  19. package/dist/cjs/cura-icons-view.cjs.entry.js +5 -8
  20. package/dist/cjs/cura-input-date.cjs.entry.js +7 -8
  21. package/dist/cjs/cura-loader-bar.cjs.entry.js +10 -9
  22. package/dist/cjs/cura-modal.cjs.entry.js +19 -12
  23. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +6 -9
  24. package/dist/cjs/cura-radio.cjs.entry.js +15 -10
  25. package/dist/cjs/cura-stepper.cjs.entry.js +4 -7
  26. package/dist/cjs/cura-switch.cjs.entry.js +13 -10
  27. package/dist/cjs/cura-tabs-button.cjs.entry.js +7 -8
  28. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +7 -8
  29. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js +0 -3
  30. package/dist/cjs/cura-theme-module-Dg1d3VUN.js +237 -0
  31. package/dist/cjs/cura-toast.cjs.entry.js +10 -9
  32. package/dist/cjs/cura-tooltip.cjs.entry.js +4 -7
  33. package/dist/cjs/cura.cjs.js +8 -8
  34. package/dist/cjs/{index-BK9MSAiE.js → index-BLhmsPd0.js} +705 -579
  35. package/dist/cjs/index-EyP6Zlkd.js +0 -3
  36. package/dist/cjs/index.cjs.js +3 -4
  37. package/dist/cjs/loader.cjs.js +7 -7
  38. package/dist/cjs/static-DHz-FA_O.js +88 -0
  39. package/dist/cjs/theme-legacy-default-COE-hjD7.js +264 -0
  40. package/dist/collection/api/cura-api.js +0 -1
  41. package/dist/collection/api/cura-api.type.js +0 -1
  42. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +0 -1
  43. package/dist/collection/api/modules/cura-theme-colors-module.js +0 -1
  44. package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -1
  45. package/dist/collection/api/modules/cura-theme-module.js +0 -1
  46. package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -1
  47. package/dist/collection/api/theme-presets/static.js +0 -1
  48. package/dist/collection/api/theme-presets/theme-default.js +0 -1
  49. package/dist/collection/api/theme-presets/theme-legacy-default.js +0 -1
  50. package/dist/collection/api/theme-presets/theme-maternity.js +0 -1
  51. package/dist/collection/api/theme-presets/theme-oncology.js +0 -1
  52. package/dist/collection/api/theme-presets/theme-perinatal-temporary.js +0 -1
  53. package/dist/collection/api/theme-presets/theme-presets.js +0 -1
  54. package/dist/collection/api/theme-presets/theme-richet.js +0 -1
  55. package/dist/collection/assets/icons/iconset-default-list.js +1 -2
  56. package/dist/collection/assets/icons/iconset-default-tmp.svg +40 -0
  57. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  58. package/dist/collection/assets-raw/icons/default/autism.svg +3 -0
  59. package/dist/collection/assets-raw/icons/default/biop.svg +3 -0
  60. package/dist/collection/assets-raw/icons/default/lab.svg +3 -0
  61. package/dist/collection/assets-raw/icons/default/mobileClick.svg +3 -0
  62. package/dist/collection/assets-raw/icons/default/mobileRotate1.svg +3 -0
  63. package/dist/collection/assets-raw/icons/default/mobileRotate2.svg +3 -0
  64. package/dist/collection/assets-raw/icons/default/mobileRotate3.svg +3 -0
  65. package/dist/collection/assets-raw/icons/default/star.svg +3 -0
  66. package/dist/collection/assets-raw/icons/default/stop.svg +3 -0
  67. package/dist/collection/assets-raw/icons/default/xray.svg +3 -0
  68. package/dist/collection/collection-manifest.json +3 -2
  69. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +9 -10
  70. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +0 -1
  71. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +9 -10
  72. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +5 -6
  73. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js +0 -1
  74. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +2 -3
  75. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js +0 -1
  76. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +3 -4
  77. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js +0 -1
  78. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +8 -9
  79. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js +0 -1
  80. package/dist/collection/components/buttons/cura-button/cura-button.js +24 -25
  81. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +0 -1
  82. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +17 -18
  83. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +0 -1
  84. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +12 -13
  85. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +0 -1
  86. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +16 -17
  87. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +0 -1
  88. package/dist/collection/components/buttons/cura-button.definitions.js +0 -1
  89. package/dist/collection/components/cura-alert/cura-alert.js +11 -11
  90. package/dist/collection/components/cura-alert/cura-alert.stories.js +0 -1
  91. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js +0 -1
  92. package/dist/collection/components/cura-avatar/cura-avatar.js +13 -14
  93. package/dist/collection/components/cura-avatar/cura-avatar.stories.js +0 -1
  94. package/dist/collection/components/cura-calendar/cura-calendar.js +21 -25
  95. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +0 -1
  96. package/dist/collection/components/cura-card/cura-card.js +7 -8
  97. package/dist/collection/components/cura-card/cura-card.stories.js +0 -1
  98. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +0 -1
  99. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +0 -1
  100. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +0 -1
  101. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +0 -1
  102. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +7 -8
  103. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +0 -1
  104. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.css +1 -1
  105. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +40 -19
  106. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js +0 -1
  107. package/dist/collection/components/cura-icon/cura-icon.definitions.js +0 -1
  108. package/dist/collection/components/cura-icon/cura-icon.js +6 -7
  109. package/dist/collection/components/cura-icon/cura-icon.stories.js +0 -1
  110. package/dist/collection/components/cura-icons-view/cura-icons-view.js +0 -1
  111. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js +0 -1
  112. package/dist/collection/components/cura-modal/cura-modal.js +9 -10
  113. package/dist/collection/components/cura-modal/cura-modal.stories.js +0 -1
  114. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -2
  115. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +8 -9
  116. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +6 -7
  117. package/dist/collection/components/cura-stepper/cura-stepper.js +8 -8
  118. package/dist/collection/components/cura-stepper/cura-stepper.stories.js +0 -1
  119. package/dist/collection/components/cura-stepper/stepper.type.js +0 -1
  120. package/dist/collection/components/cura-toast/cura-toast.js +9 -10
  121. package/dist/collection/components/cura-toast/cura-toast.stories.js +0 -1
  122. package/dist/collection/components/cura-tooltip/cura-tooltip.js +8 -9
  123. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +0 -1
  124. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +19 -20
  125. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +0 -1
  126. package/dist/collection/components/forms/cura-forms.definitions.js +0 -1
  127. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +15 -16
  128. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +0 -1
  129. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +37 -35
  130. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +0 -1
  131. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +0 -1
  132. package/dist/collection/components/forms/cura-label/cura-label.js +8 -9
  133. package/dist/collection/components/forms/cura-label/cura-label.stories.js +0 -1
  134. package/dist/collection/components/forms/cura-radio/cura-radio.js +15 -16
  135. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +0 -1
  136. package/dist/collection/components/forms/cura-select/cura-select.css +3 -148
  137. package/dist/collection/components/forms/cura-select/cura-select.js +116 -25
  138. package/dist/collection/components/forms/cura-select/cura-select.stories.js +0 -1
  139. package/dist/collection/components/forms/cura-select-options/cura-select-option.css +15 -0
  140. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +5 -6
  141. package/dist/collection/components/forms/cura-switch/cura-switch.js +10 -11
  142. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +0 -1
  143. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +2 -3
  144. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js +0 -1
  145. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +2 -3
  146. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +0 -1
  147. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +9 -10
  148. package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js +0 -1
  149. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +9 -10
  150. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js +0 -1
  151. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +3 -4
  152. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js +0 -1
  153. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +9 -10
  154. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js +0 -1
  155. package/dist/collection/components/tabs/cura-tabs.definitions.js +0 -1
  156. package/dist/collection/components/text/cura-display/cura-display.js +7 -8
  157. package/dist/collection/components/text/cura-display/cura-display.stories.js +0 -1
  158. package/dist/collection/components/text/cura-heading/cura-heading.js +9 -10
  159. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +0 -1
  160. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +7 -8
  161. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +0 -1
  162. package/dist/collection/index.js +0 -1
  163. package/dist/collection/rededor-cura-start.js +0 -1
  164. package/dist/collection/utils/FixedElementScrollBehavior.js +0 -1
  165. package/dist/collection/utils/utils.js +0 -1
  166. package/dist/components/cura-accordion-item.js +1 -102
  167. package/dist/components/cura-accordion.js +1 -144
  168. package/dist/components/cura-alert.js +1 -109
  169. package/dist/components/cura-avatar.js +1 -112
  170. package/dist/components/cura-badge-counter.js +1 -9
  171. package/dist/components/cura-badge-distance.js +1 -73
  172. package/dist/components/cura-badge-dot.js +1 -73
  173. package/dist/components/cura-badge-pill.js +1 -9
  174. package/dist/components/cura-button-outline.js +1 -206
  175. package/dist/components/cura-button-select.js +1 -163
  176. package/dist/components/cura-button-transparent.js +1 -9
  177. package/dist/components/cura-button.js +1 -205
  178. package/dist/components/cura-calendar.js +1 -9
  179. package/dist/components/cura-card.js +1 -104
  180. package/dist/components/cura-checkbox.js +1 -286
  181. package/dist/components/cura-display.js +1 -128
  182. package/dist/components/cura-dropdown-search-category.js +1 -49
  183. package/dist/components/cura-dropdown-search-not-found.js +1 -48
  184. package/dist/components/cura-dropdown-search-option.js +1 -93
  185. package/dist/components/cura-dropdown-search.js +1 -445
  186. package/dist/components/cura-heading.js +1 -9
  187. package/dist/components/cura-icon.js +1 -9
  188. package/dist/components/cura-icons-view.js +1 -67
  189. package/dist/components/cura-input-date.js +1 -286
  190. package/dist/components/cura-input-text.js +1 -9
  191. package/dist/components/cura-label.js +1 -9
  192. package/dist/components/cura-loader-bar.js +1 -9
  193. package/dist/components/cura-loader-circle.js +1 -9
  194. package/dist/components/cura-modal.js +1 -181
  195. package/dist/components/cura-page-template.js +1 -50
  196. package/dist/components/cura-paragraph.js +1 -9
  197. package/dist/components/cura-progress-bar.js +1 -9
  198. package/dist/components/cura-radio.js +1 -249
  199. package/dist/components/cura-select-option.js +1 -9
  200. package/dist/components/cura-select.js +1 -9
  201. package/dist/components/cura-stepper-item.js +1 -9
  202. package/dist/components/cura-stepper.js +1 -205
  203. package/dist/components/cura-switch.js +1 -201
  204. package/dist/components/cura-tabs-button.js +1 -148
  205. package/dist/components/cura-tabs-group.js +1 -64
  206. package/dist/components/cura-tabs-transparent.js +1 -141
  207. package/dist/components/cura-tabs.js +1 -146
  208. package/dist/components/cura-toast.js +1 -162
  209. package/dist/components/cura-tooltip.js +1 -291
  210. package/dist/components/index.d.ts +2 -0
  211. package/dist/components/index.js +1 -115
  212. package/dist/components/p-B2RN7oe_.js +1 -0
  213. package/dist/components/p-B8xnU6YS.js +1 -0
  214. package/dist/components/p-BSI2FkNn.js +1 -11
  215. package/dist/components/p-BSdkRryc.js +1 -0
  216. package/dist/components/p-BYA8glxD.js +1 -0
  217. package/dist/components/p-Bf21UQXV.js +1 -0
  218. package/dist/components/p-C7so9xnO.js +1 -0
  219. package/dist/components/p-CCkEqDZb.js +1 -0
  220. package/dist/components/p-CG1lz5DR.js +1 -0
  221. package/dist/components/p-CHcd-uKK.js +1 -11
  222. package/dist/components/p-CpmZ68rD.js +1 -0
  223. package/dist/components/p-D6xuYQiO.js +1 -0
  224. package/dist/components/p-D7WNwjv-.js +1 -0
  225. package/dist/components/p-DBXUEjWh.js +1 -0
  226. package/dist/components/p-DXlGQp3a.js +1 -0
  227. package/dist/components/p-Dot54hbB.js +1 -19
  228. package/dist/components/p-DxJedO3K.js +1 -0
  229. package/dist/components/p-fR02COZb.js +1 -0
  230. package/dist/components/p-fn4zJrKE.js +1 -0
  231. package/dist/cura/cura.esm.js +1 -2
  232. package/dist/cura/index.esm.js +1 -2
  233. package/dist/cura/p-1dc9c478.entry.js +1 -0
  234. package/dist/cura/p-27ba7ef5.entry.js +1 -0
  235. package/dist/cura/p-2db704a6.entry.js +1 -0
  236. package/dist/cura/p-2e2e2b4d.entry.js +1 -0
  237. package/dist/cura/p-31373db7.entry.js +1 -0
  238. package/dist/cura/p-3a3202f0.entry.js +1 -0
  239. package/dist/cura/p-42e72d12.entry.js +1 -0
  240. package/dist/cura/p-5357f7bd.entry.js +1 -0
  241. package/dist/cura/p-54624944.entry.js +1 -0
  242. package/dist/cura/p-582f8b72.entry.js +1 -0
  243. package/dist/cura/p-7965fe63.entry.js +1 -0
  244. package/dist/cura/p-964stZ3D.js +1 -2
  245. package/dist/cura/p-9de85de6.entry.js +1 -0
  246. package/dist/cura/p-BM8Akv15.js +1 -0
  247. package/dist/cura/p-BSI2FkNn.js +1 -2
  248. package/dist/cura/p-BTIDzOyO.js +1 -0
  249. package/dist/cura/p-BxFVLGIR.js +2 -0
  250. package/dist/cura/p-CHcd-uKK.js +1 -2
  251. package/dist/cura/p-DQopj-k5.js +1 -0
  252. package/dist/cura/p-DfJS7YqS.js +1 -0
  253. package/dist/cura/p-Dot54hbB.js +1 -2
  254. package/dist/cura/p-b14ae206.entry.js +1 -0
  255. package/dist/cura/p-b7369d04.entry.js +1 -0
  256. package/dist/cura/p-bf99e8bf.entry.js +1 -0
  257. package/dist/cura/p-c18d7f16.entry.js +1 -0
  258. package/dist/cura/p-c247c93b.entry.js +1 -0
  259. package/dist/cura/p-cbe8c690.entry.js +1 -0
  260. package/dist/cura/p-d2f670f6.entry.js +1 -0
  261. package/dist/cura/p-d5c6d2b4.entry.js +1 -0
  262. package/dist/cura/p-ddf4d240.entry.js +1 -0
  263. package/dist/cura/p-f534123f.entry.js +1 -0
  264. package/dist/cura/p-f911a6c5.entry.js +1 -0
  265. package/dist/cura/p-sjLA93YY.js +1 -2
  266. package/dist/esm/app-globals-B7bpkHH3.js +67 -0
  267. package/dist/esm/{cura-accordion_20.entry.js → cura-accordion_21.entry.js} +1956 -98
  268. package/dist/esm/cura-alert.entry.js +11 -11
  269. package/dist/esm/cura-badge-counter.entry.js +13 -10
  270. package/dist/esm/cura-badge-dot.entry.js +4 -7
  271. package/dist/esm/cura-badge-pill.entry.js +7 -8
  272. package/dist/esm/cura-button-outline.entry.js +15 -10
  273. package/dist/esm/cura-button-select.entry.js +10 -9
  274. package/dist/esm/cura-button.definitions-BSI2FkNn.js +0 -3
  275. package/dist/esm/cura-calendar.entry.js +12 -9
  276. package/dist/esm/cura-checkbox.entry.js +18 -11
  277. package/dist/esm/cura-display.entry.js +10 -9
  278. package/dist/esm/cura-dropdown-search-not-found.entry.js +4 -7
  279. package/dist/esm/cura-forms.definitions-Dot54hbB.js +0 -3
  280. package/dist/esm/cura-icon.definitions-sjLA93YY.js +0 -3
  281. package/dist/esm/cura-icons-view.entry.js +5 -8
  282. package/dist/esm/cura-input-date.entry.js +7 -8
  283. package/dist/esm/cura-loader-bar.entry.js +10 -9
  284. package/dist/esm/cura-modal.entry.js +19 -12
  285. package/dist/esm/cura-progress-bar_2.entry.js +6 -9
  286. package/dist/esm/cura-radio.entry.js +15 -10
  287. package/dist/esm/cura-stepper.entry.js +4 -7
  288. package/dist/esm/cura-switch.entry.js +13 -10
  289. package/dist/esm/cura-tabs-button.entry.js +7 -8
  290. package/dist/esm/cura-tabs-transparent.entry.js +7 -8
  291. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js +0 -3
  292. package/dist/esm/{cura-theme-module-BPKQjAwN.js → cura-theme-module-BrK961-w.js} +3 -339
  293. package/dist/esm/cura-toast.entry.js +10 -9
  294. package/dist/esm/cura-tooltip.entry.js +4 -7
  295. package/dist/esm/cura.js +8 -8
  296. package/dist/esm/index-964stZ3D.js +0 -3
  297. package/dist/esm/{index-OdKytJIH.js → index-Ce1Pxw3V.js} +706 -579
  298. package/dist/esm/index.js +3 -4
  299. package/dist/esm/loader.js +7 -7
  300. package/dist/esm/static-DfJS7YqS.js +86 -0
  301. package/dist/esm/theme-legacy-default-BTIDzOyO.js +257 -0
  302. package/dist/types/components/cura-dropdown-search/cura-dropdown-search.d.ts +2 -0
  303. package/dist/types/components/forms/cura-select/cura-select.d.ts +21 -0
  304. package/dist/types/components.d.ts +559 -85
  305. package/dist/types/stencil-public-runtime.d.ts +169 -11
  306. package/package.json +4 -3
  307. package/dist/cjs/cura-accordion_20.cjs.entry.js.map +0 -1
  308. package/dist/cjs/cura-alert.cjs.entry.js.map +0 -1
  309. package/dist/cjs/cura-alert.entry.cjs.js.map +0 -1
  310. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +0 -1
  311. package/dist/cjs/cura-badge-counter.entry.cjs.js.map +0 -1
  312. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +0 -1
  313. package/dist/cjs/cura-badge-dot.entry.cjs.js.map +0 -1
  314. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +0 -1
  315. package/dist/cjs/cura-badge-pill.entry.cjs.js.map +0 -1
  316. package/dist/cjs/cura-button-outline.cjs.entry.js.map +0 -1
  317. package/dist/cjs/cura-button-outline.entry.cjs.js.map +0 -1
  318. package/dist/cjs/cura-button-select.cjs.entry.js.map +0 -1
  319. package/dist/cjs/cura-button-select.entry.cjs.js.map +0 -1
  320. package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +0 -1
  321. package/dist/cjs/cura-calendar.cjs.entry.js.map +0 -1
  322. package/dist/cjs/cura-calendar.entry.cjs.js.map +0 -1
  323. package/dist/cjs/cura-card.cjs.entry.js +0 -81
  324. package/dist/cjs/cura-card.cjs.entry.js.map +0 -1
  325. package/dist/cjs/cura-card.entry.cjs.js.map +0 -1
  326. package/dist/cjs/cura-checkbox.cjs.entry.js.map +0 -1
  327. package/dist/cjs/cura-checkbox.entry.cjs.js.map +0 -1
  328. package/dist/cjs/cura-display.cjs.entry.js.map +0 -1
  329. package/dist/cjs/cura-display.entry.cjs.js.map +0 -1
  330. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +0 -1
  331. package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +0 -1
  332. package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +0 -1
  333. package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +0 -1
  334. package/dist/cjs/cura-icons-view.cjs.entry.js.map +0 -1
  335. package/dist/cjs/cura-icons-view.entry.cjs.js.map +0 -1
  336. package/dist/cjs/cura-input-date.cjs.entry.js.map +0 -1
  337. package/dist/cjs/cura-input-date.entry.cjs.js.map +0 -1
  338. package/dist/cjs/cura-loader-bar.cjs.entry.js.map +0 -1
  339. package/dist/cjs/cura-loader-bar.entry.cjs.js.map +0 -1
  340. package/dist/cjs/cura-modal.cjs.entry.js.map +0 -1
  341. package/dist/cjs/cura-modal.entry.cjs.js.map +0 -1
  342. package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +0 -1
  343. package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +0 -1
  344. package/dist/cjs/cura-radio.cjs.entry.js.map +0 -1
  345. package/dist/cjs/cura-radio.entry.cjs.js.map +0 -1
  346. package/dist/cjs/cura-stepper.cjs.entry.js.map +0 -1
  347. package/dist/cjs/cura-stepper.entry.cjs.js.map +0 -1
  348. package/dist/cjs/cura-switch.cjs.entry.js.map +0 -1
  349. package/dist/cjs/cura-switch.entry.cjs.js.map +0 -1
  350. package/dist/cjs/cura-tabs-button.cjs.entry.js.map +0 -1
  351. package/dist/cjs/cura-tabs-button.entry.cjs.js.map +0 -1
  352. package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +0 -1
  353. package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +0 -1
  354. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +0 -1
  355. package/dist/cjs/cura-theme-module-CJkmAxBA.js +0 -574
  356. package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +0 -1
  357. package/dist/cjs/cura-toast.cjs.entry.js.map +0 -1
  358. package/dist/cjs/cura-toast.entry.cjs.js.map +0 -1
  359. package/dist/cjs/cura-tooltip.cjs.entry.js.map +0 -1
  360. package/dist/cjs/cura-tooltip.entry.cjs.js.map +0 -1
  361. package/dist/cjs/cura.cjs.js.map +0 -1
  362. package/dist/cjs/index-BK9MSAiE.js.map +0 -1
  363. package/dist/cjs/index-EyP6Zlkd.js.map +0 -1
  364. package/dist/cjs/index.cjs.js.map +0 -1
  365. package/dist/cjs/loader.cjs.js.map +0 -1
  366. package/dist/collection/api/cura-api.js.map +0 -1
  367. package/dist/collection/api/cura-api.type.js.map +0 -1
  368. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +0 -1
  369. package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -1
  370. package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -1
  371. package/dist/collection/api/modules/cura-theme-module.js.map +0 -1
  372. package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -1
  373. package/dist/collection/api/theme-presets/static.js.map +0 -1
  374. package/dist/collection/api/theme-presets/theme-default.js.map +0 -1
  375. package/dist/collection/api/theme-presets/theme-legacy-default.js.map +0 -1
  376. package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -1
  377. package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -1
  378. package/dist/collection/api/theme-presets/theme-perinatal-temporary.js.map +0 -1
  379. package/dist/collection/api/theme-presets/theme-presets.js.map +0 -1
  380. package/dist/collection/api/theme-presets/theme-richet.js.map +0 -1
  381. package/dist/collection/assets/icons/iconset-default-list.js.map +0 -1
  382. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +0 -1
  383. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +0 -1
  384. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +0 -1
  385. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +0 -1
  386. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js.map +0 -1
  387. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +0 -1
  388. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js.map +0 -1
  389. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +0 -1
  390. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js.map +0 -1
  391. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +0 -1
  392. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js.map +0 -1
  393. package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -1
  394. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +0 -1
  395. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +0 -1
  396. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +0 -1
  397. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +0 -1
  398. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +0 -1
  399. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +0 -1
  400. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +0 -1
  401. package/dist/collection/components/buttons/cura-button.definitions.js.map +0 -1
  402. package/dist/collection/components/cura-alert/cura-alert.js.map +0 -1
  403. package/dist/collection/components/cura-alert/cura-alert.stories.js.map +0 -1
  404. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js.map +0 -1
  405. package/dist/collection/components/cura-avatar/cura-avatar.js.map +0 -1
  406. package/dist/collection/components/cura-avatar/cura-avatar.stories.js.map +0 -1
  407. package/dist/collection/components/cura-calendar/cura-calendar.js.map +0 -1
  408. package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +0 -1
  409. package/dist/collection/components/cura-card/cura-card.js.map +0 -1
  410. package/dist/collection/components/cura-card/cura-card.stories.js.map +0 -1
  411. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js.map +0 -1
  412. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +0 -1
  413. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +0 -1
  414. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +0 -1
  415. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +0 -1
  416. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +0 -1
  417. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +0 -1
  418. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js.map +0 -1
  419. package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +0 -1
  420. package/dist/collection/components/cura-icon/cura-icon.js.map +0 -1
  421. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +0 -1
  422. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -1
  423. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js.map +0 -1
  424. package/dist/collection/components/cura-modal/cura-modal.js.map +0 -1
  425. package/dist/collection/components/cura-modal/cura-modal.stories.js.map +0 -1
  426. package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -1
  427. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +0 -1
  428. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +0 -1
  429. package/dist/collection/components/cura-stepper/cura-stepper.js.map +0 -1
  430. package/dist/collection/components/cura-stepper/cura-stepper.stories.js.map +0 -1
  431. package/dist/collection/components/cura-stepper/stepper.type.js.map +0 -1
  432. package/dist/collection/components/cura-toast/cura-toast.js.map +0 -1
  433. package/dist/collection/components/cura-toast/cura-toast.stories.js.map +0 -1
  434. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +0 -1
  435. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +0 -1
  436. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +0 -1
  437. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +0 -1
  438. package/dist/collection/components/forms/cura-forms.definitions.js.map +0 -1
  439. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +0 -1
  440. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +0 -1
  441. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +0 -1
  442. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +0 -1
  443. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +0 -1
  444. package/dist/collection/components/forms/cura-label/cura-label.js.map +0 -1
  445. package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +0 -1
  446. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +0 -1
  447. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +0 -1
  448. package/dist/collection/components/forms/cura-select/cura-select.js.map +0 -1
  449. package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +0 -1
  450. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +0 -1
  451. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +0 -1
  452. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +0 -1
  453. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +0 -1
  454. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js.map +0 -1
  455. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +0 -1
  456. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +0 -1
  457. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +0 -1
  458. package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js.map +0 -1
  459. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +0 -1
  460. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js.map +0 -1
  461. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +0 -1
  462. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js.map +0 -1
  463. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +0 -1
  464. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js.map +0 -1
  465. package/dist/collection/components/tabs/cura-tabs.definitions.js.map +0 -1
  466. package/dist/collection/components/text/cura-display/cura-display.js.map +0 -1
  467. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +0 -1
  468. package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -1
  469. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +0 -1
  470. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -1
  471. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +0 -1
  472. package/dist/collection/index.js.map +0 -1
  473. package/dist/collection/rededor-cura-start.js.map +0 -1
  474. package/dist/collection/utils/FixedElementScrollBehavior.js.map +0 -1
  475. package/dist/collection/utils/utils.js.map +0 -1
  476. package/dist/components/cura-accordion-item.js.map +0 -1
  477. package/dist/components/cura-accordion.js.map +0 -1
  478. package/dist/components/cura-alert.js.map +0 -1
  479. package/dist/components/cura-avatar.js.map +0 -1
  480. package/dist/components/cura-badge-counter.js.map +0 -1
  481. package/dist/components/cura-badge-distance.js.map +0 -1
  482. package/dist/components/cura-badge-dot.js.map +0 -1
  483. package/dist/components/cura-badge-pill.js.map +0 -1
  484. package/dist/components/cura-button-outline.js.map +0 -1
  485. package/dist/components/cura-button-select.js.map +0 -1
  486. package/dist/components/cura-button-transparent.js.map +0 -1
  487. package/dist/components/cura-button.js.map +0 -1
  488. package/dist/components/cura-calendar.js.map +0 -1
  489. package/dist/components/cura-card.js.map +0 -1
  490. package/dist/components/cura-checkbox.js.map +0 -1
  491. package/dist/components/cura-display.js.map +0 -1
  492. package/dist/components/cura-dropdown-search-category.js.map +0 -1
  493. package/dist/components/cura-dropdown-search-not-found.js.map +0 -1
  494. package/dist/components/cura-dropdown-search-option.js.map +0 -1
  495. package/dist/components/cura-dropdown-search.js.map +0 -1
  496. package/dist/components/cura-heading.js.map +0 -1
  497. package/dist/components/cura-icon.js.map +0 -1
  498. package/dist/components/cura-icons-view.js.map +0 -1
  499. package/dist/components/cura-input-date.js.map +0 -1
  500. package/dist/components/cura-input-text.js.map +0 -1
  501. package/dist/components/cura-label.js.map +0 -1
  502. package/dist/components/cura-loader-bar.js.map +0 -1
  503. package/dist/components/cura-loader-circle.js.map +0 -1
  504. package/dist/components/cura-modal.js.map +0 -1
  505. package/dist/components/cura-page-template.js.map +0 -1
  506. package/dist/components/cura-paragraph.js.map +0 -1
  507. package/dist/components/cura-progress-bar.js.map +0 -1
  508. package/dist/components/cura-radio.js.map +0 -1
  509. package/dist/components/cura-select-option.js.map +0 -1
  510. package/dist/components/cura-select.js.map +0 -1
  511. package/dist/components/cura-stepper-item.js.map +0 -1
  512. package/dist/components/cura-stepper.js.map +0 -1
  513. package/dist/components/cura-switch.js.map +0 -1
  514. package/dist/components/cura-tabs-button.js.map +0 -1
  515. package/dist/components/cura-tabs-group.js.map +0 -1
  516. package/dist/components/cura-tabs-transparent.js.map +0 -1
  517. package/dist/components/cura-tabs.js.map +0 -1
  518. package/dist/components/cura-toast.js.map +0 -1
  519. package/dist/components/cura-tooltip.js.map +0 -1
  520. package/dist/components/index.js.map +0 -1
  521. package/dist/components/p-B5aO1chh.js +0 -85
  522. package/dist/components/p-B5aO1chh.js.map +0 -1
  523. package/dist/components/p-BGnJiNyu.js +0 -7032
  524. package/dist/components/p-BGnJiNyu.js.map +0 -1
  525. package/dist/components/p-BHEafDKD.js +0 -127
  526. package/dist/components/p-BHEafDKD.js.map +0 -1
  527. package/dist/components/p-BRDqwZ4N.js +0 -187
  528. package/dist/components/p-BRDqwZ4N.js.map +0 -1
  529. package/dist/components/p-BSI2FkNn.js.map +0 -1
  530. package/dist/components/p-BTt-pVTn.js +0 -442
  531. package/dist/components/p-BTt-pVTn.js.map +0 -1
  532. package/dist/components/p-C72aF-gL.js +0 -99
  533. package/dist/components/p-C72aF-gL.js.map +0 -1
  534. package/dist/components/p-CHcd-uKK.js.map +0 -1
  535. package/dist/components/p-CgMS6FUK.js +0 -4137
  536. package/dist/components/p-CgMS6FUK.js.map +0 -1
  537. package/dist/components/p-D1cPOZpG.js +0 -2617
  538. package/dist/components/p-D1cPOZpG.js.map +0 -1
  539. package/dist/components/p-DI4g-ZH4.js +0 -101
  540. package/dist/components/p-DI4g-ZH4.js.map +0 -1
  541. package/dist/components/p-DR1RHrEX.js +0 -120
  542. package/dist/components/p-DR1RHrEX.js.map +0 -1
  543. package/dist/components/p-DaPc6Dxl.js +0 -125
  544. package/dist/components/p-DaPc6Dxl.js.map +0 -1
  545. package/dist/components/p-Dot54hbB.js.map +0 -1
  546. package/dist/components/p-DpIu_Oxz.js +0 -86
  547. package/dist/components/p-DpIu_Oxz.js.map +0 -1
  548. package/dist/components/p-Dqm2sAwv.js +0 -58
  549. package/dist/components/p-Dqm2sAwv.js.map +0 -1
  550. package/dist/components/p-FTSrgi0q.js +0 -51
  551. package/dist/components/p-FTSrgi0q.js.map +0 -1
  552. package/dist/components/p-KIQMkSRF.js +0 -64
  553. package/dist/components/p-KIQMkSRF.js.map +0 -1
  554. package/dist/components/p-cOEGtL9C.js +0 -131
  555. package/dist/components/p-cOEGtL9C.js.map +0 -1
  556. package/dist/cura/cura-alert.entry.esm.js.map +0 -1
  557. package/dist/cura/cura-badge-counter.entry.esm.js.map +0 -1
  558. package/dist/cura/cura-badge-dot.entry.esm.js.map +0 -1
  559. package/dist/cura/cura-badge-pill.entry.esm.js.map +0 -1
  560. package/dist/cura/cura-button-outline.entry.esm.js.map +0 -1
  561. package/dist/cura/cura-button-select.entry.esm.js.map +0 -1
  562. package/dist/cura/cura-calendar.entry.esm.js.map +0 -1
  563. package/dist/cura/cura-card.entry.esm.js.map +0 -1
  564. package/dist/cura/cura-checkbox.entry.esm.js.map +0 -1
  565. package/dist/cura/cura-display.entry.esm.js.map +0 -1
  566. package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +0 -1
  567. package/dist/cura/cura-icons-view.entry.esm.js.map +0 -1
  568. package/dist/cura/cura-input-date.entry.esm.js.map +0 -1
  569. package/dist/cura/cura-loader-bar.entry.esm.js.map +0 -1
  570. package/dist/cura/cura-modal.entry.esm.js.map +0 -1
  571. package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +0 -1
  572. package/dist/cura/cura-radio.entry.esm.js.map +0 -1
  573. package/dist/cura/cura-stepper.entry.esm.js.map +0 -1
  574. package/dist/cura/cura-switch.entry.esm.js.map +0 -1
  575. package/dist/cura/cura-tabs-button.entry.esm.js.map +0 -1
  576. package/dist/cura/cura-tabs-transparent.entry.esm.js.map +0 -1
  577. package/dist/cura/cura-toast.entry.esm.js.map +0 -1
  578. package/dist/cura/cura-tooltip.entry.esm.js.map +0 -1
  579. package/dist/cura/cura.esm.js.map +0 -1
  580. package/dist/cura/index.esm.js.map +0 -1
  581. package/dist/cura/loader.esm.js.map +0 -1
  582. package/dist/cura/p-077019da.entry.js +0 -2
  583. package/dist/cura/p-077019da.entry.js.map +0 -1
  584. package/dist/cura/p-07783235.entry.js +0 -2
  585. package/dist/cura/p-07783235.entry.js.map +0 -1
  586. package/dist/cura/p-090e297c.entry.js +0 -2
  587. package/dist/cura/p-090e297c.entry.js.map +0 -1
  588. package/dist/cura/p-16c0b52c.entry.js +0 -2
  589. package/dist/cura/p-16c0b52c.entry.js.map +0 -1
  590. package/dist/cura/p-2632183e.entry.js +0 -2
  591. package/dist/cura/p-2632183e.entry.js.map +0 -1
  592. package/dist/cura/p-32015dcc.entry.js +0 -2
  593. package/dist/cura/p-32015dcc.entry.js.map +0 -1
  594. package/dist/cura/p-32f94709.entry.js +0 -2
  595. package/dist/cura/p-32f94709.entry.js.map +0 -1
  596. package/dist/cura/p-3d6040e2.entry.js +0 -2
  597. package/dist/cura/p-3d6040e2.entry.js.map +0 -1
  598. package/dist/cura/p-4ac578a6.entry.js +0 -2
  599. package/dist/cura/p-4ac578a6.entry.js.map +0 -1
  600. package/dist/cura/p-4bde448e.entry.js +0 -2
  601. package/dist/cura/p-4bde448e.entry.js.map +0 -1
  602. package/dist/cura/p-5ed7ce95.entry.js +0 -2
  603. package/dist/cura/p-5ed7ce95.entry.js.map +0 -1
  604. package/dist/cura/p-6feba852.entry.js +0 -2
  605. package/dist/cura/p-6feba852.entry.js.map +0 -1
  606. package/dist/cura/p-7586fd07.entry.js +0 -2
  607. package/dist/cura/p-7586fd07.entry.js.map +0 -1
  608. package/dist/cura/p-76cbb798.entry.js +0 -2
  609. package/dist/cura/p-76cbb798.entry.js.map +0 -1
  610. package/dist/cura/p-7fd143aa.entry.js +0 -2
  611. package/dist/cura/p-7fd143aa.entry.js.map +0 -1
  612. package/dist/cura/p-8c83f259.entry.js +0 -2
  613. package/dist/cura/p-8c83f259.entry.js.map +0 -1
  614. package/dist/cura/p-95cd7918.entry.js +0 -2
  615. package/dist/cura/p-95cd7918.entry.js.map +0 -1
  616. package/dist/cura/p-964stZ3D.js.map +0 -1
  617. package/dist/cura/p-9ef5444e.entry.js +0 -2
  618. package/dist/cura/p-9ef5444e.entry.js.map +0 -1
  619. package/dist/cura/p-BPKQjAwN.js +0 -2
  620. package/dist/cura/p-BPKQjAwN.js.map +0 -1
  621. package/dist/cura/p-BSI2FkNn.js.map +0 -1
  622. package/dist/cura/p-CHcd-uKK.js.map +0 -1
  623. package/dist/cura/p-Dot54hbB.js.map +0 -1
  624. package/dist/cura/p-PPMZr_VE.js +0 -3
  625. package/dist/cura/p-PPMZr_VE.js.map +0 -1
  626. package/dist/cura/p-c6f240f0.entry.js +0 -2
  627. package/dist/cura/p-c6f240f0.entry.js.map +0 -1
  628. package/dist/cura/p-ceb646df.entry.js +0 -2
  629. package/dist/cura/p-ceb646df.entry.js.map +0 -1
  630. package/dist/cura/p-d040f8b9.entry.js +0 -2
  631. package/dist/cura/p-d040f8b9.entry.js.map +0 -1
  632. package/dist/cura/p-d8aeca82.entry.js +0 -2
  633. package/dist/cura/p-d8aeca82.entry.js.map +0 -1
  634. package/dist/cura/p-deb0b764.entry.js +0 -2
  635. package/dist/cura/p-deb0b764.entry.js.map +0 -1
  636. package/dist/cura/p-f9af3a3b.entry.js +0 -2
  637. package/dist/cura/p-f9af3a3b.entry.js.map +0 -1
  638. package/dist/cura/p-sjLA93YY.js.map +0 -1
  639. package/dist/esm/cura-accordion_20.entry.js.map +0 -1
  640. package/dist/esm/cura-alert.entry.js.map +0 -1
  641. package/dist/esm/cura-badge-counter.entry.js.map +0 -1
  642. package/dist/esm/cura-badge-dot.entry.js.map +0 -1
  643. package/dist/esm/cura-badge-pill.entry.js.map +0 -1
  644. package/dist/esm/cura-button-outline.entry.js.map +0 -1
  645. package/dist/esm/cura-button-select.entry.js.map +0 -1
  646. package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +0 -1
  647. package/dist/esm/cura-calendar.entry.js.map +0 -1
  648. package/dist/esm/cura-card.entry.js +0 -79
  649. package/dist/esm/cura-card.entry.js.map +0 -1
  650. package/dist/esm/cura-checkbox.entry.js.map +0 -1
  651. package/dist/esm/cura-display.entry.js.map +0 -1
  652. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +0 -1
  653. package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +0 -1
  654. package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +0 -1
  655. package/dist/esm/cura-icons-view.entry.js.map +0 -1
  656. package/dist/esm/cura-input-date.entry.js.map +0 -1
  657. package/dist/esm/cura-loader-bar.entry.js.map +0 -1
  658. package/dist/esm/cura-modal.entry.js.map +0 -1
  659. package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +0 -1
  660. package/dist/esm/cura-progress-bar_2.entry.js.map +0 -1
  661. package/dist/esm/cura-radio.entry.js.map +0 -1
  662. package/dist/esm/cura-stepper.entry.js.map +0 -1
  663. package/dist/esm/cura-switch.entry.js.map +0 -1
  664. package/dist/esm/cura-tabs-button.entry.js.map +0 -1
  665. package/dist/esm/cura-tabs-transparent.entry.js.map +0 -1
  666. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +0 -1
  667. package/dist/esm/cura-theme-module-BPKQjAwN.js.map +0 -1
  668. package/dist/esm/cura-toast.entry.js.map +0 -1
  669. package/dist/esm/cura-tooltip.entry.js.map +0 -1
  670. package/dist/esm/cura.js.map +0 -1
  671. package/dist/esm/index-964stZ3D.js.map +0 -1
  672. package/dist/esm/index-OdKytJIH.js.map +0 -1
  673. package/dist/esm/index.js.map +0 -1
  674. package/dist/esm/loader.js.map +0 -1
@@ -1,93 +1 @@
1
- import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-D1cPOZpG.js';
2
-
3
- const curaDropdownSearchOptionCss = ":host{display:block;box-sizing:border-box}:host .component-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;min-height:calc(var(--cura-spacing-base) * 10px);padding:0 calc(var(--cura-spacing-base) * 1px);border-bottom:1px solid var(--neutral-light);transition:background-color 0.15s linear}:host .component-container:not(.selected):not(.not-selectable):has(.selectable-container:hover),:host .component-container:not(.selected):not(.not-selectable).highlighted{background-color:var(--neutral-white)}:host .selectable-container{flex:1;display:flex;align-items:center;justify-content:flex-start;padding:calc(var(--cura-spacing-base) * 3px) 0;min-height:calc(var(--cura-spacing-base) * 10px);min-width:0;gap:calc(var(--cura-spacing-base) * 1px);cursor:pointer}:host .selectable-container .content{flex:1;align-items:center;justify-content:flex-end;padding-right:calc(var(--cura-spacing-base) * 1px);min-width:0}:host .selectable-container ::slotted(cura-icon){--color:var(--neutral-dark) !important;margin:0 10px}:host .selectable-container ::slotted(cura-avatar){margin:0 calc(var(--cura-spacing-base) * 1px)}:host .selectable-container ::slotted(cura-heading),:host .selectable-container ::slotted(cura-paragraph){--margin-block:0 !important;--color-spot:var(--primary) !important}:host .selectable-container ::slotted(cura-heading){--color-body:var(--neutral-black) !important}:host .selectable-container ::slotted(cura-paragraph){--color-body:var(--neutral-dark) !important}:host .selected{background-color:var(--primary-lighter-50);border-bottom-color:var(--primary-light)}:host .selected .selectable-container{cursor:default}:host .selected .selectable-container ::slotted(cura-icon){--color:var(--primary) !important}:host .selected .selectable-container ::slotted(cura-heading){--color-body:var(--primary) !important}:host .actions-container{display:flex}:host .actions-container ::slotted(*){padding-left:calc(var(--cura-spacing-base) * 1px)}:host .not-selectable .selectable-container{cursor:default}:host(:last-child) .component-container{border-bottom:none !important}";
4
-
5
- const CuraDropdownSearchOption$1 = /*@__PURE__*/ proxyCustomElement(class CuraDropdownSearchOption extends H {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- this.actionclick = createEvent(this, "actionclick");
11
- this.selectoption = createEvent(this, "selectoption");
12
- /**
13
- * Enable selection for this option.
14
- * Default is true.
15
- */
16
- this.selectable = true;
17
- /**
18
- * Selected state.
19
- * This will be managed by the parent component.
20
- * Default is false.
21
- */
22
- this.selected = false;
23
- /**
24
- * Highlighted state.
25
- * This will be managed by the parent component.
26
- * Default is false.
27
- */
28
- this.highlighted = false;
29
- this.styles = {};
30
- this.theme = window.CuraAPI.theme;
31
- }
32
- connectedCallback() {
33
- this.styles = {
34
- '--neutral-light': this.theme.colors.getColor('neutral-light'),
35
- '--neutral-white': this.theme.colors.getColor('neutral-white'),
36
- '--neutral-dark': this.theme.colors.getColor('neutral-dark'),
37
- '--neutral-black': this.theme.colors.getColor('neutral-black'),
38
- '--primary-lighter-50': this.theme.colors.getColor('primary-lighter', .5),
39
- '--primary-light': this.theme.colors.getColor('primary-light'),
40
- '--primary': this.theme.colors.getColor('primary-base')
41
- };
42
- }
43
- handleSelect() {
44
- if (this.selectable) {
45
- this.selectoption.emit(this.optionid);
46
- }
47
- else {
48
- this.actionclick.emit();
49
- }
50
- }
51
- handleActionsClick() {
52
- this.actionclick.emit();
53
- }
54
- getClasses() {
55
- return {
56
- 'component-container': true,
57
- 'selected': this.selected,
58
- 'highlighted': this.highlighted,
59
- 'not-selectable': !this.selectable
60
- };
61
- }
62
- render() {
63
- return (h(Host, { key: '6168a95a628d07878f472c310390bf9c45bd5057' }, h("div", { key: '29763282f101a9fbe205c91e7b3c70fa51878e63', class: this.getClasses(), style: this.styles }, h("div", { key: '46bd7a250ad866b984e6f4184aa4800e89b741c9', class: "selectable-container", onClick: () => this.handleSelect() }, h("slot", { key: '77088405f3cc4f077e49a4266fb926348774d9e9', name: 'image' }), h("div", { key: '96baef2af4ffe7c5ec809a5adbd0512120b6c71c', class: "content" }, h("slot", { key: 'e41794e8eaff6bfe1516e88e8591ca915eb7ad3f' }))), h("div", { key: '991bca3b0956519b531d576a1738bc3f200cc73f', class: "actions-container", onClick: () => this.handleActionsClick() }, h("slot", { key: '098e8c29ab48ef8e0cfff2a48a31860eafb62487', name: 'actions' })))));
64
- }
65
- static get style() { return curaDropdownSearchOptionCss; }
66
- }, [1, "cura-dropdown-search-option", {
67
- "value": [1],
68
- "optionid": [1],
69
- "selectable": [516],
70
- "selected": [516],
71
- "highlighted": [516]
72
- }]);
73
- function defineCustomElement$1() {
74
- if (typeof customElements === "undefined") {
75
- return;
76
- }
77
- const components = ["cura-dropdown-search-option"];
78
- components.forEach(tagName => { switch (tagName) {
79
- case "cura-dropdown-search-option":
80
- if (!customElements.get(tagName)) {
81
- customElements.define(tagName, CuraDropdownSearchOption$1);
82
- }
83
- break;
84
- } });
85
- }
86
-
87
- const CuraDropdownSearchOption = CuraDropdownSearchOption$1;
88
- const defineCustomElement = defineCustomElement$1;
89
-
90
- export { CuraDropdownSearchOption, defineCustomElement };
91
- //# sourceMappingURL=cura-dropdown-search-option.js.map
92
-
93
- //# sourceMappingURL=cura-dropdown-search-option.js.map
1
+ import{p as t,H as e,k as a,i as o,j as r,t as c}from"./p-DBXUEjWh.js";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.actionclick=a(this,"actionclick"),this.selectoption=a(this,"selectoption"),this.selectable=!0,this.selected=!1,this.highlighted=!1,this.styles={},this.theme=window.CuraAPI.theme}connectedCallback(){this.styles={"--neutral-light":this.theme.colors.getColor("neutral-light"),"--neutral-white":this.theme.colors.getColor("neutral-white"),"--neutral-dark":this.theme.colors.getColor("neutral-dark"),"--neutral-black":this.theme.colors.getColor("neutral-black"),"--primary-lighter-50":this.theme.colors.getColor("primary-lighter",.5),"--primary-light":this.theme.colors.getColor("primary-light"),"--primary":this.theme.colors.getColor("primary-base")}}handleSelect(){this.selectable?this.selectoption.emit(this.optionid):this.actionclick.emit()}handleActionsClick(){this.actionclick.emit()}getClasses(){return{"component-container":!0,selected:this.selected,highlighted:this.highlighted,"not-selectable":!this.selectable}}render(){return o(r,{key:"6168a95a628d07878f472c310390bf9c45bd5057"},o("div",{key:"29763282f101a9fbe205c91e7b3c70fa51878e63",class:this.getClasses(),style:this.styles},o("div",{key:"46bd7a250ad866b984e6f4184aa4800e89b741c9",class:"selectable-container",onClick:()=>this.handleSelect()},o("slot",{key:"77088405f3cc4f077e49a4266fb926348774d9e9",name:"image"}),o("div",{key:"96baef2af4ffe7c5ec809a5adbd0512120b6c71c",class:"content"},o("slot",{key:"e41794e8eaff6bfe1516e88e8591ca915eb7ad3f"}))),o("div",{key:"991bca3b0956519b531d576a1738bc3f200cc73f",class:"actions-container",onClick:()=>this.handleActionsClick()},o("slot",{key:"098e8c29ab48ef8e0cfff2a48a31860eafb62487",name:"actions"}))))}static get style(){return":host{display:block;box-sizing:border-box}:host .component-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;min-height:calc(var(--cura-spacing-base) * 10px);padding:0 calc(var(--cura-spacing-base) * 1px);border-bottom:1px solid var(--neutral-light);transition:background-color 0.15s linear}:host .component-container:not(.selected):not(.not-selectable):has(.selectable-container:hover),:host .component-container:not(.selected):not(.not-selectable).highlighted{background-color:var(--neutral-white)}:host .selectable-container{flex:1;display:flex;align-items:center;justify-content:flex-start;padding:calc(var(--cura-spacing-base) * 3px) 0;min-height:calc(var(--cura-spacing-base) * 10px);min-width:0;gap:calc(var(--cura-spacing-base) * 1px);cursor:pointer}:host .selectable-container .content{flex:1;align-items:center;justify-content:flex-end;padding-right:calc(var(--cura-spacing-base) * 1px);min-width:0}:host .selectable-container ::slotted(cura-icon){--color:var(--neutral-dark) !important;margin:0 10px}:host .selectable-container ::slotted(cura-avatar){margin:0 calc(var(--cura-spacing-base) * 1px)}:host .selectable-container ::slotted(cura-heading),:host .selectable-container ::slotted(cura-paragraph){--margin-block:0 !important;--color-spot:var(--primary) !important}:host .selectable-container ::slotted(cura-heading){--color-body:var(--neutral-black) !important}:host .selectable-container ::slotted(cura-paragraph){--color-body:var(--neutral-dark) !important}:host .selected{background-color:var(--primary-lighter-50);border-bottom-color:var(--primary-light)}:host .selected .selectable-container{cursor:default}:host .selected .selectable-container ::slotted(cura-icon){--color:var(--primary) !important}:host .selected .selectable-container ::slotted(cura-heading){--color-body:var(--primary) !important}:host .actions-container{display:flex}:host .actions-container ::slotted(*){padding-left:calc(var(--cura-spacing-base) * 1px)}:host .not-selectable .selectable-container{cursor:default}:host(:last-child) .component-container{border-bottom:none !important}"}},[257,"cura-dropdown-search-option",{value:[1],optionid:[1],selectable:[516],selected:[516],highlighted:[516]}]),n=i,s=function(){"undefined"!=typeof customElements&&["cura-dropdown-search-option"].forEach((t=>{"cura-dropdown-search-option"===t&&(customElements.get(c(t))||customElements.define(c(t),i))}))};export{n as CuraDropdownSearchOption,s as defineCustomElement}
@@ -1,445 +1 @@
1
- import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-D1cPOZpG.js';
2
- import { a as addBodyScrollLockClass, r as removeBodyScrollLockClass, c as checkMobile, b as checkIOS, d as defineCustomElement$4 } from './p-CgMS6FUK.js';
3
- import { d as defineCustomElement$6 } from './p-BRDqwZ4N.js';
4
- import { d as defineCustomElement$5 } from './p-B5aO1chh.js';
5
- import { d as defineCustomElement$3 } from './p-DR1RHrEX.js';
6
- import { d as defineCustomElement$2 } from './p-Dqm2sAwv.js';
7
-
8
- class FixedElementScrollBehavior {
9
- constructor(hostElement, scrollableElement) {
10
- this._stopPropagationEvent = (e) => {
11
- if (this.scrollableElement.scrollHeight <= this.scrollableElement.clientHeight) {
12
- e.preventDefault();
13
- }
14
- e.stopPropagation();
15
- };
16
- this._preventEvent = (ev) => {
17
- ev.preventDefault();
18
- ev.stopPropagation();
19
- };
20
- if (!hostElement || !scrollableElement) {
21
- console.error("Componentes host ou scrollable não foram informados corretamente ou não existem.");
22
- }
23
- else {
24
- this.hostElement = hostElement;
25
- this.scrollableElement = scrollableElement;
26
- }
27
- }
28
- disableScroll() {
29
- this.scrollPosition = window.scrollY;
30
- window.scrollTo({ top: 0, behavior: 'instant' });
31
- addBodyScrollLockClass();
32
- this._addEvents();
33
- }
34
- enableScroll() {
35
- removeBodyScrollLockClass();
36
- window.scrollTo({ top: this.scrollPosition, behavior: 'instant' });
37
- this._removeEvents();
38
- }
39
- _addEvents() {
40
- this.hostElement.addEventListener('wheel', this._preventEvent, { passive: false });
41
- this.hostElement.addEventListener('mousewheel', this._preventEvent, { passive: false });
42
- this.hostElement.addEventListener('touchmove', this._preventEvent, { passive: false });
43
- this.hostElement.addEventListener('scroll', this._preventEvent, { passive: false });
44
- this.scrollableElement.addEventListener('wheel', this._stopPropagationEvent, { passive: false });
45
- this.scrollableElement.addEventListener('mousewheel', this._stopPropagationEvent, { passive: false });
46
- this.scrollableElement.addEventListener('touchmove', this._stopPropagationEvent, { passive: false });
47
- this.scrollableElement.addEventListener('scroll', this._stopPropagationEvent, { passive: false });
48
- }
49
- _removeEvents() {
50
- this.hostElement.removeEventListener('wheel', this._preventEvent);
51
- this.hostElement.removeEventListener('mousewheel', this._preventEvent);
52
- this.hostElement.removeEventListener('touchmove', this._preventEvent);
53
- this.hostElement.removeEventListener('scroll', this._preventEvent);
54
- this.scrollableElement.removeEventListener('wheel', this._stopPropagationEvent);
55
- this.scrollableElement.removeEventListener('mousewheel', this._stopPropagationEvent);
56
- this.scrollableElement.removeEventListener('touchmove', this._stopPropagationEvent);
57
- this.scrollableElement.removeEventListener('scroll', this._stopPropagationEvent);
58
- }
59
- }
60
-
61
- const curaDropdownSearchCss = ":host{display:block;box-sizing:border-box;position:relative}:host .component-controls{display:flex;align-items:center;justify-content:center;gap:calc(var(--cura-spacing-base) * 1px)}:host .component-controls #button-back{padding:0 0 0 calc(var(--cura-spacing-base) * 3px);width:max-content}:host .component-container{box-sizing:border-box;width:100%;position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:min-content 1fr}:host .component-container.zoom{position:fixed;top:0;left:0;width:100vw;background:var(--purewhite);height:var(--height);z-index:9999;overscroll-behavior:contain}:host .component-container.zoom .component-controls{border-bottom:2px solid var(--primary);padding:calc(var(--cura-spacing-base) * 3px) 0}:host .component-container.zoom.error .component-controls{border-bottom:2px solid var(--error-dark);background-color:var(--error-lighter)}:host .component-container .dropdown-container{box-sizing:border-box;width:100%;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;padding:calc(var(--cura-spacing-base) * 3px);overscroll-behavior:contain}:host .component-container:not(.zoom) .dropdown-container{box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16));position:absolute;bottom:0;left:0;transform:translateY(100%);max-height:var(--max-height);background-color:var(--purewhite);border-radius:0px 0px calc(var(--cura-spacing-base) * 1px) calc(var(--cura-spacing-base) * 1px);border-bottom:2px solid var(--neutral-light);border-left:2px solid var(--neutral-light);border-right:2px solid var(--neutral-light);display:none;z-index:9997}:host .component-container:not(.zoom).dropdown-visible ::part(cura-input-field){border-radius:4px 4px 0px 0px}:host .component-container:not(.zoom).dropdown-visible ::part(cura-input-text-helper){height:0px;overflow:hidden;margin-top:0px}:host .component-container:not(.zoom).dropdown-visible .dropdown-container{display:block}";
62
-
63
- const CuraDropdownSearch$1 = /*@__PURE__*/ proxyCustomElement(class CuraDropdownSearch extends H {
64
- constructor() {
65
- super();
66
- this.__registerHost();
67
- this.__attachShadow();
68
- this.termchange = createEvent(this, "termchange");
69
- this.optionselect = createEvent(this, "optionselect");
70
- /**
71
- * Size of the dropdown search component
72
- * Values: 'small', 'medium' or 'large' (default).
73
- */
74
- this.size = 'large';
75
- /**
76
- * Define component status.
77
- * Values: 'error' or 'default'.
78
- */
79
- this.status = 'default';
80
- /**
81
- * Disabled state. Default: false.
82
- */
83
- this.disabled = false;
84
- /**
85
- * Field is required. Default: false.
86
- */
87
- this.required = false;
88
- /**
89
- * The placeholder text.
90
- */
91
- this.placeholder = '';
92
- /**
93
- * The label.
94
- */
95
- this.label = '';
96
- /**
97
- * Custom icon name. Default: search.
98
- */
99
- this.icon = 'search';
100
- /**
101
- * CSS max-height property for dropdown item.
102
- * Can also be used by css property --max-height.
103
- * Default: 400px
104
- */
105
- this.maxheight = '400px';
106
- /**
107
- * Readonly property value.
108
- * Represents the term on the search input field.
109
- */
110
- this.value = '';
111
- /**
112
- * Delay in milliseconds to dispatch search events.
113
- * Default: 400
114
- */
115
- this.searchdelay = 400;
116
- /**
117
- * Min chars to dispatch search events.
118
- * Default: 3
119
- */
120
- this.searchminchars = 3;
121
- this.styles = {};
122
- this.zoomState = false;
123
- this.isOnFocus = false;
124
- this.resizeTimeoutMs = 66;
125
- this.focusTimeoutMs = 500;
126
- this.blurTimeoutMs = 300;
127
- this.highlightedIndex = -1;
128
- this.dropdownItems = [];
129
- this.dropdownSelectableItems = [];
130
- this.handleSlotChange = () => { this.getSlotElements(); };
131
- this.handleWindowResize = () => {
132
- if (this.resizeTimeout)
133
- clearTimeout(this.resizeTimeout);
134
- this.resizeTimeout = setTimeout(() => {
135
- this.isMobile = checkMobile();
136
- this.setZoomHeight();
137
- }, this.resizeTimeoutMs);
138
- };
139
- this.handleFocus = () => {
140
- if (this.focusTimeout)
141
- clearTimeout(this.focusTimeout);
142
- this.focusTimeout = setTimeout(() => {
143
- this.isOnFocus = true;
144
- this.clearHighlight();
145
- if (this.isMobile && !this.zoomState)
146
- this.enterZoom();
147
- if (this.zoomState)
148
- this.setZoomHeight();
149
- setTimeout(() => {
150
- var _a;
151
- (_a = this.selectedOptionElement) === null || _a === void 0 ? void 0 : _a.scrollIntoView({ behavior: 'instant', block: 'nearest', inline: 'nearest' });
152
- }, 10);
153
- }, this.focusTimeoutMs);
154
- };
155
- this.handleBlur = () => {
156
- if (this.blurTimeout)
157
- clearTimeout(this.blurTimeout);
158
- this.blurTimeout = setTimeout(() => {
159
- if (this.zoomState) {
160
- const delay = checkIOS ? 500 : 100;
161
- setTimeout(() => this.setZoomHeight(), delay);
162
- }
163
- this.isOnFocus = false;
164
- }, this.blurTimeoutMs);
165
- };
166
- this.handleFocusout = () => {
167
- if (this.zoomState)
168
- this.setZoomHeight();
169
- };
170
- this.handleBackClick = () => { this.exitZoom(); };
171
- this.handleOptionActionClick = (ev) => {
172
- this.getInputElement().setFocus();
173
- this._preventEvent(ev);
174
- };
175
- this.handleInputClear = (ev) => {
176
- this.setValue('');
177
- this.clearSelectedOptions();
178
- this._preventEvent(ev);
179
- };
180
- this.handleSelectOption = (ev) => {
181
- this._selectOption(ev.detail);
182
- this._preventEvent(ev);
183
- };
184
- this.handleInputValueChange = (ev) => {
185
- this.setValue(ev.detail);
186
- if (this.selectedOptionElement && ev.detail !== this.selectedOptionElement.value) {
187
- this.clearSelectedOptions();
188
- }
189
- this._preventEvent(ev);
190
- };
191
- this.handleDropdownMouseOver = () => {
192
- if (this.highlightedElement || this.highlightedIndex >= 0)
193
- this.clearHighlight();
194
- };
195
- this.handleKeyDown = (ev) => {
196
- if (ev.key === 'ArrowDown')
197
- this.moveHighlight('next');
198
- if (ev.key === 'ArrowUp')
199
- this.moveHighlight('prev');
200
- if (ev.key === 'Enter')
201
- this.selectHighlight();
202
- };
203
- this.getInputElement = () => { var _a; return (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('cura-input-text'); };
204
- this._preventEvent = (ev) => {
205
- ev.preventDefault();
206
- ev.stopPropagation();
207
- };
208
- }
209
- /**
210
- * Set focus to input field.
211
- */
212
- async setFocus() {
213
- this.getInputElement().setFocus();
214
- }
215
- /**
216
- * Select by optionid property of a selectable option component.
217
- */
218
- async selectOption(optionid) {
219
- this._selectOption(optionid);
220
- }
221
- connectedCallback() {
222
- this.weights = window.CuraAPI.theme.fonts.getWeights();
223
- this.breakpoints = window.CuraAPI.theme.breakpoints.get();
224
- this.styles['--info'] = window.CuraAPI.theme.colors.getColor('info-base');
225
- this.styles['--purewhite'] = window.CuraAPI.theme.colors.getColor('neutral-purewhite');
226
- this.styles['--neutral-light'] = window.CuraAPI.theme.colors.getColor('neutral-light');
227
- this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor('neutral-dark');
228
- this.styles['--neutral-black-shadow'] = window.CuraAPI.theme.colors.getColor(`neutral-black`, 0.16);
229
- this.styles['--error-dark'] = window.CuraAPI.theme.colors.getColor('error-dark');
230
- this.styles['--error-lighter'] = window.CuraAPI.theme.colors.getColor('error-lighter');
231
- this.styles['--primary'] = window.CuraAPI.theme.colors.getColor('primary');
232
- this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
233
- this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
234
- this.styles['--font-weight-medium'] = this.weights.medium;
235
- window === null || window === void 0 ? void 0 : window.addEventListener('resize', this.handleWindowResize);
236
- window === null || window === void 0 ? void 0 : window.addEventListener('orientationchange', this.handleWindowResize);
237
- this.isMobile = checkMobile();
238
- }
239
- componentDidLoad() {
240
- var _a;
241
- this.dropdownElement = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.dropdown-container');
242
- this.host.addEventListener('actionclick', this.handleOptionActionClick);
243
- this.host.addEventListener('selectoption', this.handleSelectOption);
244
- this.scrollBehavior = new FixedElementScrollBehavior(this.host, this.dropdownElement);
245
- setTimeout(() => this.getSlotElements(), 10);
246
- }
247
- disconnectedCallback() {
248
- this.removeAllListeners();
249
- }
250
- removeAllListeners() {
251
- window === null || window === void 0 ? void 0 : window.removeEventListener('resize', this.handleWindowResize);
252
- window === null || window === void 0 ? void 0 : window.removeEventListener('orientationchange', this.handleWindowResize);
253
- this.host.removeEventListener('actionclick', this.handleOptionActionClick);
254
- this.host.removeEventListener('selectoption', this.handleSelectOption);
255
- }
256
- moveHighlight(direction) {
257
- if (!this.dropdownSelectableItems.length)
258
- return;
259
- let position = direction === 'next' ? this.highlightedIndex + 1 : this.highlightedIndex - 1;
260
- if (position < 0) {
261
- this.clearHighlight();
262
- return;
263
- }
264
- const selectableItemsLastPosition = this.dropdownSelectableItems.length - 1;
265
- if (position > selectableItemsLastPosition)
266
- position = selectableItemsLastPosition;
267
- if (this.highlightedElement)
268
- this.highlightedElement.highlighted = false;
269
- this.highlightedIndex = position;
270
- this.highlightedElement = this.dropdownSelectableItems[position];
271
- if (this.highlightedElement.selected) {
272
- this.moveHighlight(direction);
273
- return;
274
- }
275
- this.highlightedElement.highlighted = true;
276
- this.highlightedElement.scrollIntoView({ behavior: 'instant', block: 'nearest', inline: 'nearest' });
277
- }
278
- clearHighlight() {
279
- if (this.highlightedElement) {
280
- this.highlightedElement.highlighted = false;
281
- this.highlightedElement = null;
282
- }
283
- this.highlightedIndex = -1;
284
- }
285
- selectHighlight() {
286
- if (this.highlightedElement) {
287
- this._selectOption(this.highlightedElement.optionid);
288
- this.clearHighlight();
289
- this.getInputElement().blur();
290
- }
291
- }
292
- setValue(value) {
293
- if (this.value !== value) {
294
- this.value = value;
295
- if (this.valueTimeout)
296
- clearTimeout(this.valueTimeout);
297
- this.valueTimeout = setTimeout(() => {
298
- this.termchange.emit(this.value === '' || this.value.length < this.searchminchars ? '' : this.value);
299
- }, this.searchdelay || 300);
300
- }
301
- }
302
- _selectOption(optionid) {
303
- if (!optionid) {
304
- this.clearSelectedOptions();
305
- this.setValue('');
306
- return;
307
- }
308
- const optionElement = this.dropdownSelectableItems.find(option => option.optionid === optionid);
309
- if (optionElement && !optionElement.selected) {
310
- this.clearSelectedOptions();
311
- this.selectedOptionElement = optionElement;
312
- this.selectedOptionElement.selected = true;
313
- this.setValue(this.selectedOptionElement.value);
314
- this.optionselect.emit(this.selectedOptionElement.optionid);
315
- if (this.zoomState)
316
- setTimeout(() => this.exitZoom(), this.blurTimeoutMs);
317
- }
318
- }
319
- clearSelectedOptions() {
320
- this.dropdownSelectableItems.forEach(option => {
321
- if (option.selected)
322
- option.selected = false;
323
- });
324
- this.selectedOptionElement = null;
325
- }
326
- getSlotElements() {
327
- const elements = [];
328
- const selectable = [];
329
- let hasNotFound = false;
330
- if (this.dropdownElement) {
331
- this.dropdownElement
332
- .querySelector('slot')
333
- .assignedElements()
334
- .forEach(item => {
335
- elements.push(item);
336
- if (item.localName === 'cura-dropdown-search-option' && item["selectable"])
337
- selectable.push(item);
338
- if (item.localName === 'cura-dropdown-search-not-found')
339
- hasNotFound = true;
340
- });
341
- }
342
- this.dropdownSelectableItems = selectable;
343
- this.dropdownItems = elements;
344
- this.status = hasNotFound ? 'error' : 'default';
345
- }
346
- enterZoom() {
347
- this.scrollBehavior.disableScroll();
348
- this.setZoomHeight();
349
- this.zoomState = true;
350
- }
351
- exitZoom() {
352
- this.scrollBehavior.enableScroll();
353
- this.setZoomHeight();
354
- setTimeout(() => { this.zoomState = false; }, 300);
355
- }
356
- setZoomHeight() {
357
- var _a;
358
- const h = window ? `${((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.height) || window.innerHeight}px` : '100vh';
359
- this.styles = Object.assign(Object.assign({}, this.styles), { '--height': h });
360
- }
361
- getClasses() {
362
- return {
363
- "component-container": true,
364
- "mobile": this.isMobile,
365
- "zoom": this.zoomState,
366
- "dropdown-visible": this.isOnFocus && (this.dropdownItems.length > 0 && !this.zoomState),
367
- "error": this.status === 'error'
368
- };
369
- }
370
- getHostCSSProperties() {
371
- return {
372
- '--max-height': this.maxheight || '400px'
373
- };
374
- }
375
- render() {
376
- return (h(Host, { key: '06350dc474b86ca27d1f78559fc6296fbc3aa73e', style: this.getHostCSSProperties(), role: "search", "aria-label": this.label, "aria-required": this.required, "aria-disabled": this.disabled, "aria-expanded": this.zoomState }, h("div", { key: 'e5cc22f978f014b4fb5bd9d33c73154d19991ef3', class: this.getClasses(), style: this.styles }, h("div", { key: '2f0ccd3de2ab3dd3b5b93f5225c25c6dbec517c1', class: "component-controls" }, this.isMobile && this.zoomState ? (h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', h("cura-input-text", { key: '9c98bf9e910d5503e93addc3d34ae9739bccf9ab', disabled: this.disabled, label: this.label, part: "cura-input-field", mode: this.zoomState ? 'transparent' : 'default', required: this.required, iconName: this.icon || 'search', value: this.value, status: this.status, onValueChange: (ev) => this.handleInputValueChange(ev), onInput: (ev) => this._preventEvent(ev), onFocus: () => this.handleFocus(), onClick: (ev) => this._preventEvent(ev), onBlur: () => this.handleBlur(), onFocusout: () => this.handleFocusout(), onInputClear: (ev) => this.handleInputClear(ev), placeholder: this.placeholder, size: this.size, onKeyDown: (ev) => this.handleKeyDown(ev) }, h("slot", { key: 'e6c0a8578436f1fa1392defb6fc7b0126bb3ae33', name: "helperText" }))), h("div", { key: '06c4fb438972a42558072600bf91af9b5c94a538', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, h("slot", { key: 'c0a63a14785e15a6fcb555732f47efa94efec930', onSlotchange: () => this.handleSlotChange() })))));
377
- }
378
- get host() { return this; }
379
- static get style() { return curaDropdownSearchCss; }
380
- }, [1, "cura-dropdown-search", {
381
- "name": [513],
382
- "size": [513],
383
- "status": [1537],
384
- "disabled": [516],
385
- "required": [516],
386
- "placeholder": [513],
387
- "label": [513],
388
- "icon": [513],
389
- "maxheight": [513],
390
- "value": [1025],
391
- "searchdelay": [514],
392
- "searchminchars": [514],
393
- "styles": [32],
394
- "zoomState": [32],
395
- "isOnFocus": [32],
396
- "dropdownItems": [32],
397
- "setFocus": [64],
398
- "selectOption": [64]
399
- }]);
400
- function defineCustomElement$1() {
401
- if (typeof customElements === "undefined") {
402
- return;
403
- }
404
- const components = ["cura-dropdown-search", "cura-button-transparent", "cura-icon", "cura-input-text", "cura-label", "cura-loader-circle"];
405
- components.forEach(tagName => { switch (tagName) {
406
- case "cura-dropdown-search":
407
- if (!customElements.get(tagName)) {
408
- customElements.define(tagName, CuraDropdownSearch$1);
409
- }
410
- break;
411
- case "cura-button-transparent":
412
- if (!customElements.get(tagName)) {
413
- defineCustomElement$6();
414
- }
415
- break;
416
- case "cura-icon":
417
- if (!customElements.get(tagName)) {
418
- defineCustomElement$5();
419
- }
420
- break;
421
- case "cura-input-text":
422
- if (!customElements.get(tagName)) {
423
- defineCustomElement$4();
424
- }
425
- break;
426
- case "cura-label":
427
- if (!customElements.get(tagName)) {
428
- defineCustomElement$3();
429
- }
430
- break;
431
- case "cura-loader-circle":
432
- if (!customElements.get(tagName)) {
433
- defineCustomElement$2();
434
- }
435
- break;
436
- } });
437
- }
438
-
439
- const CuraDropdownSearch = CuraDropdownSearch$1;
440
- const defineCustomElement = defineCustomElement$1;
441
-
442
- export { CuraDropdownSearch, defineCustomElement };
443
- //# sourceMappingURL=cura-dropdown-search.js.map
444
-
445
- //# sourceMappingURL=cura-dropdown-search.js.map
1
+ import{p as t,H as i,k as s,i as o,j as e,t as h}from"./p-DBXUEjWh.js";import{a as n,r,c as a,b as c,d as l}from"./p-B8xnU6YS.js";import{d}from"./p-DXlGQp3a.js";import{d as p}from"./p-fn4zJrKE.js";import{d as u}from"./p-BSdkRryc.js";import{d as w}from"./p-Bf21UQXV.js";class m{constructor(t,i){this._stopPropagationEvent=t=>{this.scrollableElement.scrollHeight<=this.scrollableElement.clientHeight&&t.preventDefault(),t.stopPropagation()},this._preventEvent=t=>{t.preventDefault(),t.stopPropagation()},t&&i?(this.hostElement=t,this.scrollableElement=i):console.error("Componentes host ou scrollable não foram informados corretamente ou não existem.")}disableScroll(){this.scrollPosition=window.scrollY,window.scrollTo({top:0,behavior:"instant"}),n(),this._addEvents()}enableScroll(){r(),window.scrollTo({top:this.scrollPosition,behavior:"instant"}),this._removeEvents()}_addEvents(){this.hostElement.addEventListener("wheel",this._preventEvent,{passive:!1}),this.hostElement.addEventListener("mousewheel",this._preventEvent,{passive:!1}),this.hostElement.addEventListener("touchmove",this._preventEvent,{passive:!1}),this.hostElement.addEventListener("scroll",this._preventEvent,{passive:!1}),this.scrollableElement.addEventListener("wheel",this._stopPropagationEvent,{passive:!1}),this.scrollableElement.addEventListener("mousewheel",this._stopPropagationEvent,{passive:!1}),this.scrollableElement.addEventListener("touchmove",this._stopPropagationEvent,{passive:!1}),this.scrollableElement.addEventListener("scroll",this._stopPropagationEvent,{passive:!1})}_removeEvents(){this.hostElement.removeEventListener("wheel",this._preventEvent),this.hostElement.removeEventListener("mousewheel",this._preventEvent),this.hostElement.removeEventListener("touchmove",this._preventEvent),this.hostElement.removeEventListener("scroll",this._preventEvent),this.scrollableElement.removeEventListener("wheel",this._stopPropagationEvent),this.scrollableElement.removeEventListener("mousewheel",this._stopPropagationEvent),this.scrollableElement.removeEventListener("touchmove",this._stopPropagationEvent),this.scrollableElement.removeEventListener("scroll",this._stopPropagationEvent)}}const b=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.termchange=s(this,"termchange"),this.optionselect=s(this,"optionselect"),this.size="large",this.status="default",this.disabled=!1,this.required=!1,this.placeholder="",this.label="",this.icon="search",this.maxheight="400px",this.value="",this.searchdelay=400,this.searchminchars=3,this.styles={},this.zoomState=!1,this.isOnFocus=!1,this.resizeTimeoutMs=66,this.focusTimeoutMs=500,this.blurTimeoutMs=300,this.highlightedIndex=-1,this.dropdownItems=[],this.dropdownSelectableItems=[],this.handleSlotChange=()=>{this.getSlotElements()},this.handleWindowResize=()=>{this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout((()=>{this.isMobile=a(),this.setZoomHeight()}),this.resizeTimeoutMs)},this.handleVisualViewportChange=()=>{this.zoomState&&(this.viewportTimeout&&clearTimeout(this.viewportTimeout),this.viewportTimeout=setTimeout((()=>this.setZoomHeight()),this.resizeTimeoutMs))},this.handleFocus=()=>{this.focusTimeout&&clearTimeout(this.focusTimeout),this.focusTimeout=setTimeout((()=>{this.isOnFocus=!0,this.clearHighlight(),this.isMobile&&!this.zoomState&&this.enterZoom(),this.zoomState&&this.setZoomHeight(),setTimeout((()=>{var t;null===(t=this.selectedOptionElement)||void 0===t||t.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})}),10)}),this.focusTimeoutMs)},this.handleBlur=()=>{this.blurTimeout&&clearTimeout(this.blurTimeout),this.blurTimeout=setTimeout((()=>{this.zoomState&&setTimeout((()=>this.setZoomHeight()),c?500:100),this.isOnFocus=!1}),this.blurTimeoutMs)},this.handleFocusout=()=>{this.zoomState&&this.setZoomHeight()},this.handleBackClick=()=>{this.exitZoom()},this.handleOptionActionClick=t=>{this.getInputElement().setFocus(),this._preventEvent(t)},this.handleInputClear=t=>{this.setValue(""),this.clearSelectedOptions(),this._preventEvent(t)},this.handleSelectOption=t=>{this._selectOption(t.detail),this._preventEvent(t)},this.handleInputValueChange=t=>{this.setValue(t.detail),this.selectedOptionElement&&t.detail!==this.selectedOptionElement.value&&this.clearSelectedOptions(),this._preventEvent(t)},this.handleDropdownMouseOver=()=>{(this.highlightedElement||this.highlightedIndex>=0)&&this.clearHighlight()},this.handleKeyDown=t=>{"ArrowDown"===t.key&&this.moveHighlight("next"),"ArrowUp"===t.key&&this.moveHighlight("prev"),"Enter"===t.key&&this.selectHighlight()},this.getInputElement=()=>{var t;return null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("cura-input-text")},this._preventEvent=t=>{t.preventDefault(),t.stopPropagation()}}async setFocus(){this.getInputElement().setFocus()}async selectOption(t){this._selectOption(t)}connectedCallback(){this.weights=window.CuraAPI.theme.fonts.getWeights(),this.breakpoints=window.CuraAPI.theme.breakpoints.get(),this.styles["--info"]=window.CuraAPI.theme.colors.getColor("info-base"),this.styles["--purewhite"]=window.CuraAPI.theme.colors.getColor("neutral-purewhite"),this.styles["--neutral-light"]=window.CuraAPI.theme.colors.getColor("neutral-light"),this.styles["--neutral-dark"]=window.CuraAPI.theme.colors.getColor("neutral-dark"),this.styles["--neutral-black-shadow"]=window.CuraAPI.theme.colors.getColor("neutral-black",.16),this.styles["--error-dark"]=window.CuraAPI.theme.colors.getColor("error-dark"),this.styles["--error-lighter"]=window.CuraAPI.theme.colors.getColor("error-lighter"),this.styles["--primary"]=window.CuraAPI.theme.colors.getColor("primary"),this.styles["--font-size"]=window.CuraAPI.theme.fonts.getSize(),this.styles["--font-family"]=window.CuraAPI.theme.fonts.getFamily(),this.styles["--font-weight-medium"]=this.weights.medium,null===window||void 0===window||window.addEventListener("resize",this.handleWindowResize),null===window||void 0===window||window.addEventListener("orientationchange",this.handleWindowResize),(null===window||void 0===window?void 0:window.visualViewport)&&(window.visualViewport.addEventListener("resize",this.handleVisualViewportChange),window.visualViewport.addEventListener("scroll",this.handleVisualViewportChange)),this.isMobile=a()}componentDidLoad(){var t;this.dropdownElement=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".dropdown-container"),this.host.addEventListener("actionclick",this.handleOptionActionClick),this.host.addEventListener("selectoption",this.handleSelectOption),this.scrollBehavior=new m(this.host,this.dropdownElement),setTimeout((()=>this.getSlotElements()),10)}disconnectedCallback(){this.removeAllListeners()}removeAllListeners(){null===window||void 0===window||window.removeEventListener("resize",this.handleWindowResize),null===window||void 0===window||window.removeEventListener("orientationchange",this.handleWindowResize),(null===window||void 0===window?void 0:window.visualViewport)&&(window.visualViewport.removeEventListener("resize",this.handleVisualViewportChange),window.visualViewport.removeEventListener("scroll",this.handleVisualViewportChange)),this.host.removeEventListener("actionclick",this.handleOptionActionClick),this.host.removeEventListener("selectoption",this.handleSelectOption)}moveHighlight(t){if(!this.dropdownSelectableItems.length)return;let i="next"===t?this.highlightedIndex+1:this.highlightedIndex-1;if(i<0)return void this.clearHighlight();const s=this.dropdownSelectableItems.length-1;i>s&&(i=s),this.highlightedElement&&(this.highlightedElement.highlighted=!1),this.highlightedIndex=i,this.highlightedElement=this.dropdownSelectableItems[i],this.highlightedElement.selected?this.moveHighlight(t):(this.highlightedElement.highlighted=!0,this.highlightedElement.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"}))}clearHighlight(){this.highlightedElement&&(this.highlightedElement.highlighted=!1,this.highlightedElement=null),this.highlightedIndex=-1}selectHighlight(){this.highlightedElement&&(this._selectOption(this.highlightedElement.optionid),this.clearHighlight(),this.getInputElement().blur())}setValue(t){this.value!==t&&(this.value=t,this.valueTimeout&&clearTimeout(this.valueTimeout),this.valueTimeout=setTimeout((()=>{var t;const i=null!==(t=this.value)&&void 0!==t?t:"";this.termchange.emit(""===i||i.length<this.searchminchars?"":i)}),this.searchdelay||300))}_selectOption(t){if(!t)return this.clearSelectedOptions(),void this.setValue("");const i=this.dropdownSelectableItems.find((i=>i.optionid===t));i&&!i.selected&&(this.clearSelectedOptions(),this.selectedOptionElement=i,this.selectedOptionElement.selected=!0,this.setValue(this.selectedOptionElement.value),this.optionselect.emit(this.selectedOptionElement.optionid),this.zoomState&&setTimeout((()=>this.exitZoom()),this.blurTimeoutMs))}clearSelectedOptions(){this.dropdownSelectableItems.forEach((t=>{t.selected&&(t.selected=!1)})),this.selectedOptionElement=null}getSlotElements(){const t=[],i=[];let s=!1;this.dropdownElement&&this.dropdownElement.querySelector("slot").assignedElements().forEach((o=>{t.push(o),"cura-dropdown-search-option"===o.localName&&o.selectable&&i.push(o),"cura-dropdown-search-not-found"===o.localName&&(s=!0)})),this.dropdownSelectableItems=i,this.dropdownItems=t,this.status=s?"error":"default"}enterZoom(){this.scrollBehavior.disableScroll(),this.setZoomHeight(),this.zoomState=!0}exitZoom(){this.scrollBehavior.enableScroll(),this.setZoomHeight(),setTimeout((()=>{this.zoomState=!1}),300)}setZoomHeight(){if(null===window||void 0===window?void 0:window.visualViewport){const t=window.visualViewport.height+"px",i=window.visualViewport.offsetTop+"px";return void(this.styles=Object.assign(Object.assign({},this.styles),{"--height":t,"--top-offset":i}))}const t=window?window.innerHeight+"px":"100vh";this.styles=Object.assign(Object.assign({},this.styles),{"--height":t,"--top-offset":"0px"})}getClasses(){return{"component-container":!0,mobile:this.isMobile,zoom:this.zoomState,"dropdown-visible":this.isOnFocus&&this.dropdownItems.length>0&&!this.zoomState,error:"error"===this.status}}getHostCSSProperties(){return{"--max-height":this.maxheight||"400px"}}render(){return o(e,{key:"7a312071ecc60fe462636ad7b32bcb82b5d5c1a2",style:this.getHostCSSProperties(),role:"search","aria-label":this.label,"aria-required":this.required,"aria-disabled":this.disabled,"aria-expanded":this.zoomState},o("div",{key:"c4b906871b300013208649f8dcf9b27cf161daae",class:this.getClasses(),style:this.styles},o("div",{key:"97d3d3ae67dc79f2d04456555388cce9aec36f7d",class:"component-controls"},this.isMobile&&this.zoomState?o("cura-button-transparent",{fontColor:"dark",onClick:()=>this.handleBackClick(),iconName:"arrowLeft",size:"large",iconOnly:!0,color:"primary",id:"button-back"}):"",o("cura-input-text",{key:"53aa07646542b9941804f7a7f0d66f8c340ce664",disabled:this.disabled,label:this.label,part:"cura-input-field",mode:this.zoomState?"transparent":"default",required:this.required,iconName:this.icon||"search",value:this.value,status:this.status,onValueChange:t=>this.handleInputValueChange(t),onInput:t=>this._preventEvent(t),onFocus:()=>this.handleFocus(),onClick:t=>this._preventEvent(t),onBlur:()=>this.handleBlur(),onFocusout:()=>this.handleFocusout(),onInputClear:t=>this.handleInputClear(t),placeholder:this.placeholder,size:this.size,onKeyDown:t=>this.handleKeyDown(t)},o("slot",{key:"fb206e8295b0139082b79cc747bfe8e424df33fa",name:"helperText"}))),o("div",{key:"8ab0ad70e667c4b01b2f7a31fc5df6056b170565",class:"dropdown-container",onMouseOver:()=>this.handleDropdownMouseOver()},o("slot",{key:"dc3cda02f7a70d7229457d6c225a606ee2e03f52",onSlotchange:()=>this.handleSlotChange()}))))}get host(){return this}static get style(){return":host{display:block;box-sizing:border-box;position:relative}:host .component-controls{display:flex;align-items:center;justify-content:center;gap:calc(var(--cura-spacing-base) * 1px)}:host .component-controls #button-back{padding:0 0 0 calc(var(--cura-spacing-base) * 3px);width:max-content}:host .component-container{box-sizing:border-box;width:100%;position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:min-content 1fr}:host .component-container.zoom{position:fixed;top:var(--top-offset, 0);left:0;width:100vw;background:var(--purewhite);height:var(--height);z-index:9999;overscroll-behavior:contain}:host .component-container.zoom .component-controls{border-bottom:2px solid var(--primary);padding:calc(var(--cura-spacing-base) * 3px) 0}:host .component-container.zoom.error .component-controls{border-bottom:2px solid var(--error-dark);background-color:var(--error-lighter)}:host .component-container .dropdown-container{box-sizing:border-box;width:100%;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;padding:calc(var(--cura-spacing-base) * 3px);overscroll-behavior:contain}:host .component-container:not(.zoom) .dropdown-container{box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16));position:absolute;bottom:0;left:0;transform:translateY(100%);max-height:var(--max-height);background-color:var(--purewhite);border-radius:0px 0px calc(var(--cura-spacing-base) * 1px) calc(var(--cura-spacing-base) * 1px);border-bottom:2px solid var(--neutral-light);border-left:2px solid var(--neutral-light);border-right:2px solid var(--neutral-light);display:none;z-index:9997}:host .component-container:not(.zoom).dropdown-visible ::part(cura-input-field){border-radius:4px 4px 0px 0px}:host .component-container:not(.zoom).dropdown-visible ::part(cura-input-text-helper){height:0px;overflow:hidden;margin-top:0px}:host .component-container:not(.zoom).dropdown-visible .dropdown-container{display:block}"}},[257,"cura-dropdown-search",{name:[513],size:[513],status:[1537],disabled:[516],required:[516],placeholder:[513],label:[513],icon:[513],maxheight:[513],value:[1025],searchdelay:[514],searchminchars:[514],styles:[32],zoomState:[32],isOnFocus:[32],dropdownItems:[32],setFocus:[64],selectOption:[64]}]),v=b,f=function(){"undefined"!=typeof customElements&&["cura-dropdown-search","cura-button-transparent","cura-icon","cura-input-text","cura-label","cura-loader-circle"].forEach((t=>{switch(t){case"cura-dropdown-search":customElements.get(h(t))||customElements.define(h(t),b);break;case"cura-button-transparent":customElements.get(h(t))||d();break;case"cura-icon":customElements.get(h(t))||p();break;case"cura-input-text":customElements.get(h(t))||l();break;case"cura-label":customElements.get(h(t))||u();break;case"cura-loader-circle":customElements.get(h(t))||w()}}))};export{v as CuraDropdownSearch,f as defineCustomElement}
@@ -1,9 +1 @@
1
- import { C as CuraHeading$1, d as defineCustomElement$1 } from './p-BHEafDKD.js';
2
-
3
- const CuraHeading = CuraHeading$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { CuraHeading, defineCustomElement };
7
- //# sourceMappingURL=cura-heading.js.map
8
-
9
- //# sourceMappingURL=cura-heading.js.map
1
+ import{C as o,d as s}from"./p-fR02COZb.js";const p=o,r=s;export{p as CuraHeading,r as defineCustomElement}
@@ -1,9 +1 @@
1
- import { C as CuraIcon$1, d as defineCustomElement$1 } from './p-B5aO1chh.js';
2
-
3
- const CuraIcon = CuraIcon$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { CuraIcon, defineCustomElement };
7
- //# sourceMappingURL=cura-icon.js.map
8
-
9
- //# sourceMappingURL=cura-icon.js.map
1
+ import{C as o,d as r}from"./p-fn4zJrKE.js";const s=o,p=r;export{s as CuraIcon,p as defineCustomElement}