@rededor/cura 2.0.0-alpha.13 → 2.0.0-alpha.16

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 (168) hide show
  1. package/dist/cjs/cura-accordion_22.cjs.entry.js +65 -74
  2. package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
  3. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  4. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +1 -1
  5. package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
  6. package/dist/cjs/cura-input-date.cjs.entry.js +1 -1
  7. package/dist/cjs/cura-input-textarea.cjs.entry.js +236 -0
  8. package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
  9. package/dist/cjs/cura-modal.cjs.entry.js +1 -1
  10. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +2 -2
  11. package/dist/cjs/cura-radio.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-stepper.cjs.entry.js +1 -1
  13. package/dist/cjs/cura-switch.cjs.entry.js +1 -1
  14. package/dist/cjs/cura-tabs-button.cjs.entry.js +1 -1
  15. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +1 -1
  16. package/dist/cjs/cura-toast.cjs.entry.js +1 -1
  17. package/dist/cjs/cura-tooltip.cjs.entry.js +1 -1
  18. package/dist/cjs/cura.cjs.js +1 -1
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/cjs/utils-DMHZ2n4p.js +47 -0
  21. package/dist/collection/collection-manifest.json +1 -0
  22. package/dist/collection/components/cura-calendar/cura-calendar.css +13 -1
  23. package/dist/collection/components/cura-calendar/cura-calendar.js +92 -11
  24. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +29 -1
  25. package/dist/collection/components/cura-calendar/cura-calendar.type.js +1 -0
  26. package/dist/collection/components/cura-card/cura-card.js +1 -1
  27. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +1 -1
  28. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +1 -1
  29. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +1 -1
  30. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +1 -1
  31. package/dist/collection/components/cura-icon/cura-icon.js +1 -1
  32. package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
  33. package/dist/collection/components/cura-modal/cura-modal.js +1 -1
  34. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
  35. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +1 -1
  36. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
  37. package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
  38. package/dist/collection/components/cura-toast/cura-toast.js +1 -1
  39. package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
  40. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
  41. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
  42. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.css +174 -0
  43. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.js +613 -0
  44. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.stories.js +222 -0
  45. package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
  46. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  47. package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
  48. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  49. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  50. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  51. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  52. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +1 -1
  53. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +1 -1
  54. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +1 -1
  55. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +1 -1
  56. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  57. package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
  58. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
  59. package/dist/components/cura-accordion-item.js +1 -1
  60. package/dist/components/cura-alert.js +1 -1
  61. package/dist/components/cura-badge-counter.js +1 -1
  62. package/dist/components/cura-badge-distance.js +1 -1
  63. package/dist/components/cura-badge-pill.js +1 -1
  64. package/dist/components/cura-button-outline.js +1 -1
  65. package/dist/components/cura-button-select.js +1 -1
  66. package/dist/components/cura-button-transparent.js +1 -1
  67. package/dist/components/cura-button.js +1 -1
  68. package/dist/components/cura-calendar.js +1 -1
  69. package/dist/components/cura-card.js +1 -1
  70. package/dist/components/cura-checkbox.js +1 -1
  71. package/dist/components/cura-display.js +1 -1
  72. package/dist/components/cura-dropdown-search-category.js +1 -1
  73. package/dist/components/cura-dropdown-search-not-found.js +1 -1
  74. package/dist/components/cura-dropdown-search-option.js +1 -1
  75. package/dist/components/cura-dropdown-search.js +1 -1
  76. package/dist/components/cura-heading.js +1 -1
  77. package/dist/components/cura-icon.js +1 -1
  78. package/dist/components/cura-icons-view.js +1 -1
  79. package/dist/components/cura-input-date.js +1 -1
  80. package/dist/components/cura-input-text.js +1 -1
  81. package/dist/components/cura-input-textarea.d.ts +11 -0
  82. package/dist/components/cura-input-textarea.js +1 -0
  83. package/dist/components/cura-label.js +1 -1
  84. package/dist/components/cura-loader-bar.js +1 -1
  85. package/dist/components/cura-loader-circle.js +1 -1
  86. package/dist/components/cura-modal.js +1 -1
  87. package/dist/components/cura-page-template.js +1 -1
  88. package/dist/components/cura-paragraph.js +1 -1
  89. package/dist/components/cura-progress-bar.js +1 -1
  90. package/dist/components/cura-radio.js +1 -1
  91. package/dist/components/cura-select-option.js +1 -1
  92. package/dist/components/cura-select.js +1 -1
  93. package/dist/components/cura-stepper-item.js +1 -1
  94. package/dist/components/cura-stepper.js +1 -1
  95. package/dist/components/cura-switch.js +1 -1
  96. package/dist/components/cura-tabs-button.js +1 -1
  97. package/dist/components/cura-tabs-group.js +1 -1
  98. package/dist/components/cura-tabs-transparent.js +1 -1
  99. package/dist/components/cura-tabs.js +1 -1
  100. package/dist/components/cura-toast.js +1 -1
  101. package/dist/components/cura-tooltip.js +1 -1
  102. package/dist/components/index.js +1 -1
  103. package/dist/components/p-B2TDH4aP.js +1 -0
  104. package/dist/components/{p-C05r6CQV.js → p-BHVSbubb.js} +1 -1
  105. package/dist/components/{p-B2RN7oe_.js → p-BKDpza6x.js} +1 -1
  106. package/dist/components/{p-BYA8glxD.js → p-BuETJyzc.js} +1 -1
  107. package/dist/components/p-CalvBU-U.js +1 -0
  108. package/dist/components/{p-CCkEqDZb.js → p-CksTHXxZ.js} +1 -1
  109. package/dist/components/{p-DxJedO3K.js → p-D4hCuriT.js} +1 -1
  110. package/dist/components/{p-fn4zJrKE.js → p-DI66_jP6.js} +1 -1
  111. package/dist/components/{p-Bf21UQXV.js → p-DQP7jRHp.js} +1 -1
  112. package/dist/components/p-DgK8dEko.js +1 -0
  113. package/dist/components/{p-DXlGQp3a.js → p-DgQJ968V.js} +1 -1
  114. package/dist/components/{p-fR02COZb.js → p-Dmalf4Oj.js} +1 -1
  115. package/dist/components/{p-D6xuYQiO.js → p-KovUKiTX.js} +1 -1
  116. package/dist/components/{p-D7WNwjv-.js → p-PiUhcFob.js} +1 -1
  117. package/dist/components/{p-C7so9xnO.js → p-TnCIk87O.js} +1 -1
  118. package/dist/components/{p-BSdkRryc.js → p-i55vIhdM.js} +1 -1
  119. package/dist/cura/cura.esm.js +1 -1
  120. package/dist/cura/{p-bf99e8bf.entry.js → p-18a1cadf.entry.js} +1 -1
  121. package/dist/cura/{p-ddf4d240.entry.js → p-1c48aaa7.entry.js} +1 -1
  122. package/dist/cura/{p-b7369d04.entry.js → p-4178e3e6.entry.js} +1 -1
  123. package/dist/cura/p-5b26a166.entry.js +1 -0
  124. package/dist/cura/{p-42e72d12.entry.js → p-604f1c1d.entry.js} +1 -1
  125. package/dist/cura/{p-9de85de6.entry.js → p-906c8b66.entry.js} +1 -1
  126. package/dist/cura/p-CUmwazb8.js +1 -0
  127. package/dist/cura/p-a305e17a.entry.js +1 -0
  128. package/dist/cura/{p-3a3202f0.entry.js → p-a72db13d.entry.js} +1 -1
  129. package/dist/cura/{p-c247c93b.entry.js → p-b157025d.entry.js} +1 -1
  130. package/dist/cura/{p-f911a6c5.entry.js → p-b447fca2.entry.js} +1 -1
  131. package/dist/cura/{p-2e2e2b4d.entry.js → p-bd649bed.entry.js} +1 -1
  132. package/dist/cura/{p-c18d7f16.entry.js → p-c987ddde.entry.js} +1 -1
  133. package/dist/cura/{p-b14ae206.entry.js → p-d43fb791.entry.js} +1 -1
  134. package/dist/cura/{p-7965fe63.entry.js → p-d64ef37d.entry.js} +1 -1
  135. package/dist/cura/{p-1dc9c478.entry.js → p-f072b011.entry.js} +1 -1
  136. package/dist/cura/{p-5357f7bd.entry.js → p-f407bd73.entry.js} +1 -1
  137. package/dist/cura/p-f638eda8.entry.js +1 -0
  138. package/dist/esm/cura-accordion_22.entry.js +58 -67
  139. package/dist/esm/cura-checkbox.entry.js +1 -1
  140. package/dist/esm/cura-display.entry.js +1 -1
  141. package/dist/esm/cura-dropdown-search-not-found.entry.js +1 -1
  142. package/dist/esm/cura-icons-view.entry.js +1 -1
  143. package/dist/esm/cura-input-date.entry.js +1 -1
  144. package/dist/esm/cura-input-textarea.entry.js +234 -0
  145. package/dist/esm/cura-loader-bar.entry.js +1 -1
  146. package/dist/esm/cura-modal.entry.js +1 -1
  147. package/dist/esm/cura-progress-bar_2.entry.js +2 -2
  148. package/dist/esm/cura-radio.entry.js +1 -1
  149. package/dist/esm/cura-stepper.entry.js +1 -1
  150. package/dist/esm/cura-switch.entry.js +1 -1
  151. package/dist/esm/cura-tabs-button.entry.js +1 -1
  152. package/dist/esm/cura-tabs-transparent.entry.js +1 -1
  153. package/dist/esm/cura-toast.entry.js +1 -1
  154. package/dist/esm/cura-tooltip.entry.js +1 -1
  155. package/dist/esm/cura.js +1 -1
  156. package/dist/esm/loader.js +1 -1
  157. package/dist/esm/utils-BZCR971L.js +41 -0
  158. package/dist/types/components/cura-calendar/cura-calendar.d.ts +20 -2
  159. package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +29 -0
  160. package/dist/types/components/cura-calendar/cura-calendar.type.d.ts +4 -0
  161. package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.d.ts +116 -0
  162. package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.stories.d.ts +188 -0
  163. package/dist/types/components.d.ts +232 -0
  164. package/package.json +2 -2
  165. package/dist/components/p-B8xnU6YS.js +0 -1
  166. package/dist/components/p-CG1lz5DR.js +0 -1
  167. package/dist/cura/p-47fdb124.entry.js +0 -1
  168. package/dist/cura/p-cbe8c690.entry.js +0 -1
@@ -3,10 +3,11 @@
3
3
  var index = require('./index-BLhmsPd0.js');
4
4
  var curaButton_definitions = require('./cura-button.definitions-B3SK8MaV.js');
5
5
  var index$1 = require('./index-EyP6Zlkd.js');
6
- var _static = require('./static-DHz-FA_O.js');
6
+ var utils = require('./utils-DMHZ2n4p.js');
7
7
  var curaIcon_definitions = require('./cura-icon.definitions-DT0wF67y.js');
8
8
  var curaTabs_definitions = require('./cura-tabs.definitions-CGqqGE2e.js');
9
9
  require('./theme-legacy-default-COE-hjD7.js');
10
+ require('./static-DHz-FA_O.js');
10
11
 
11
12
  const curaAccordionCss = () => `:host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}`;
12
13
 
@@ -6796,12 +6797,13 @@ var locale = {
6796
6797
  }
6797
6798
  };
6798
6799
 
6799
- const curaCalendarCss = () => `:host{display:block;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);margin:0 auto}:host .calendar{display:flex;flex-direction:column;gap:5px;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);border-radius:4px;overflow:hidden;background:#fff;font-family:var(--font-family)}:host .calendar.embedded{border:2px solid var(--neutral-light);padding:0px 12px 12px 12px}:host .calendar.floating{box-shadow:0 4px 8px var(--neutral-light)}:host .header{position:relative;padding:12px 0}:host .header::after{content:"";position:absolute;bottom:0;left:2px;right:2px;border-bottom:2px dotted var(--neutral-light)}:host .month-year{display:flex;padding:12px 8px;justify-content:space-between;align-self:stretch}:host .month-year.dropdown{padding:0%}:host .select{display:flex;padding:7px 10px 0px;justify-content:center;align-items:center;gap:6px;flex:1 0 0}:host .drop-month{display:flex;max-width:118px;padding:0px;align-items:flex-start;gap:0px;flex:1 0 0}:host .drop-year{display:flex;min-width:80px;max-width:85px;padding:0px;align-items:flex-start;gap:0px;flex:1 0 0}:host .days-of-week{display:flex;height:30px;padding:4px;justify-content:center;align-items:center;gap:4px;flex-shrink:0}:host .day{flex:1;text-align:center}:host .dates{display:flex;flex-wrap:wrap;align-items:center;align-self:stretch;gap:0}:host .icon{cursor:pointer;position:relative;overflow:hidden;border-radius:50%}:host .icon.dropdown{margin-top:10px}:host .icon::before{content:"";position:absolute;border-radius:50%;top:50%;left:50%;width:20px;height:20px;background:var(--primary-base);transform:translate(-50%, -50%) scale(0);transition:transform 0.2s ease}:host .icon:active::before{transform:translate(-50%, -50%) scale(1)}:host .icon:active{transform:scale(1)}:host .collapsed-container{text-align:center;position:relative;display:flex;align-items:center;justify-content:center;padding-top:10px}:host .collapsed-container::before{content:"";position:absolute;bottom:0;top:0;left:2px;right:2px;border-top:2px dotted var(--neutral-light)}:host .date{display:flex;justify-content:center;align-items:center;height:auto;width:14.2857142857%;aspect-ratio:1;font-size:14px;cursor:pointer;position:relative;box-sizing:border-box;text-align:center;flex-shrink:0}:host .date.today{border:2px solid var(--primary-darker);border-radius:50%;color:var(--primary-darker)}:host .date.selected{color:var(--select-label) !important;background:var(--primary-base);border-radius:50%}:host .date.default-dates{color:var(--select-label) !important;background:var(--primary-base);border-radius:50%;border:none}:host .date.invalid{color:var(--neutral-dark) !important;cursor:not-allowed}:host .date.invalid:hover{background:none;box-shadow:none}:host .date.valid{color:var(--primary-darker);font-weight:var(--font-weight-bold)}:host .date.range.start{border-radius:50% 0 0 50%;color:var(--select-label) !important;background:var(--primary-base)}:host .date.range.interval{border-radius:0;background:var(--primary-lighter);color:var(--neutral-black) !important}:host .date.range.interval.today{border:none}:host .date.range.end{border-radius:0 50% 50% 0;color:var(--select-label) !important;background:var(--primary-base)}@media (min-width: 992px){:host .date:hover{background:var(--primary-lighter);border-radius:50%;color:var(--neutral-white)}}:host select,:host input{width:60px;font-size:16px;box-shadow:0 2px 2px var(--neutral-black);padding:5px;border-radius:4px;border:1px solid #ccc;background:#f7f7f7}:host .--disabled .icon::before{display:none}:host .--disabled .date{cursor:initial}@media (min-width: 992px){:host .--disabled .date:hover{color:var(--neutral-dark);cursor:initial;background:none;box-shadow:none}}:host .--disabled .default-dates{background-color:transparent;color:var(--neutral-dark) !important}:host .--disabled .today{border:2px solid var(--neutral-dark);color:var(--neutral-dark);cursor:initial}:host .--disabled .valid{color:var(--neutral-dark);font-weight:initial}`;
6800
+ const curaCalendarCss = () => `:host{display:block;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);margin:0 auto}:host .calendar{display:flex;flex-direction:column;gap:5px;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);border-radius:4px;overflow:hidden;background:var(--color-neutral-purewhite);font-family:var(--font-family);position:relative}:host .calendar.embedded{border:2px solid var(--neutral-light);padding:0px 12px 12px 12px}:host .calendar.floating{box-shadow:0 4px 8px var(--neutral-light)}:host .header{position:relative;padding:12px 0}:host .header::after{content:"";position:absolute;bottom:0;left:2px;right:2px;border-bottom:2px dotted var(--neutral-light)}:host .month-year{display:flex;padding:12px 8px;justify-content:space-between;align-self:stretch}:host .month-year.dropdown{padding:0%}:host .select{display:flex;padding:7px 10px 0px;justify-content:center;align-items:center;gap:6px;flex:1 0 0}:host .drop-month{display:flex;max-width:118px;padding:0px;align-items:flex-start;gap:0px;flex:1 0 0}:host .drop-year{display:flex;min-width:80px;max-width:85px;padding:0px;align-items:flex-start;gap:0px;flex:1 0 0}:host .days-of-week{display:flex;height:30px;padding:4px;justify-content:center;align-items:center;gap:4px;flex-shrink:0}:host .day{flex:1;text-align:center}:host .dates{display:flex;flex-wrap:wrap;align-items:center;align-self:stretch;gap:0}:host .icon{cursor:pointer;position:relative;overflow:hidden;border-radius:50%}:host .icon.dropdown{margin-top:10px}:host .icon::before{content:"";position:absolute;border-radius:50%;top:50%;left:50%;width:20px;height:20px;background:var(--primary-base);transform:translate(-50%, -50%) scale(0);transition:transform 0.2s ease}:host .icon:active::before{transform:translate(-50%, -50%) scale(1)}:host .icon:active{transform:scale(1)}:host .collapsed-container{text-align:center;position:relative;display:flex;align-items:center;justify-content:center;padding-top:10px}:host .collapsed-container::before{content:"";position:absolute;bottom:0;top:0;left:2px;right:2px;border-top:2px dotted var(--neutral-light)}:host .date{display:flex;justify-content:center;align-items:center;height:auto;width:14.2857142857%;aspect-ratio:1;font-size:14px;cursor:pointer;position:relative;box-sizing:border-box;text-align:center;flex-shrink:0}:host .date.today{border:2px solid var(--primary-darker);border-radius:50%;color:var(--primary-darker)}:host .date.selected{color:var(--select-label) !important;background:var(--primary-base);border-radius:50%}:host .date.default-dates{color:var(--select-label) !important;background:var(--primary-base);border-radius:50%;border:none}:host .date.invalid{color:var(--neutral-dark) !important;cursor:not-allowed}:host .date.invalid:hover{background:none;box-shadow:none}:host .date.valid{color:var(--primary-darker);font-weight:var(--font-weight-bold)}:host .date.range.start{border-radius:50% 0 0 50%;color:var(--select-label) !important;background:var(--primary-base)}:host .date.range.interval{border-radius:0;background:var(--primary-lighter);color:var(--neutral-black) !important}:host .date.range.interval.today{border:none}:host .date.range.end{border-radius:0 50% 50% 0;color:var(--select-label) !important;background:var(--primary-base)}@media (min-width: 992px){:host .date:hover{background:var(--primary-lighter);border-radius:50%;color:var(--neutral-white)}}:host select,:host input{width:60px;font-size:16px;box-shadow:0 2px 2px var(--neutral-black);padding:5px;border-radius:4px;border:1px solid #ccc;background:#f7f7f7}:host .--disabled .icon::before{display:none}:host .--disabled .date{cursor:initial}@media (min-width: 992px){:host .--disabled .date:hover{color:var(--neutral-dark);cursor:initial;background:none;box-shadow:none}}:host .--disabled .default-dates{background-color:transparent;color:var(--neutral-dark) !important}:host .--disabled .today{border:2px solid var(--neutral-dark);color:var(--neutral-dark);cursor:initial}:host .--disabled .valid{color:var(--neutral-dark);font-weight:initial}:host .loading-container{align-items:center;background-color:var(--color-neutral-purewhite);display:flex;flex-direction:column;gap:12px;height:100%;justify-content:center;position:absolute;width:calc(100% - 12px)}`;
6800
6801
 
6801
6802
  const CuraCalendar = class {
6802
6803
  constructor(hostRef) {
6803
6804
  index.registerInstance(this, hostRef);
6804
6805
  this.onchangeday = index.createEvent(this, "onchangeday");
6806
+ this.changeDateInView = index.createEvent(this, "changeDateInView");
6805
6807
  /**
6806
6808
  * Disable component
6807
6809
  *
@@ -6809,6 +6811,13 @@ const CuraCalendar = class {
6809
6811
  * @default false
6810
6812
  */
6811
6813
  this.isDisabled = false;
6814
+ /**
6815
+ * Loading state
6816
+ *
6817
+ * @type {boolean}
6818
+ * @default false
6819
+ */
6820
+ this.isLoading = false;
6812
6821
  /**
6813
6822
  * An array of specific dates to be highlighted or processed.
6814
6823
  *
@@ -7136,6 +7145,7 @@ const CuraCalendar = class {
7136
7145
  if (direction === 'next')
7137
7146
  newMonth = addMonths(this.currentDate, 1);
7138
7147
  this.currentDate = newMonth;
7148
+ this.sendEventChangeDateInView(Boolean(this.collapsed), newMonth);
7139
7149
  }
7140
7150
  /**
7141
7151
  * Handle the month dropdown change.
@@ -7146,7 +7156,9 @@ const CuraCalendar = class {
7146
7156
  const { months } = this.fetchMonthNames();
7147
7157
  const newMonth = event.detail;
7148
7158
  this.selectMonth = newMonth;
7149
- this.currentDate = new Date(getYear(this.currentDate), months.indexOf(newMonth), 1);
7159
+ const currentDateUpdated = new Date(getYear(this.currentDate), months.indexOf(newMonth), 1);
7160
+ this.currentDate = currentDateUpdated;
7161
+ this.sendEventChangeDateInView(Boolean(this.collapsed), currentDateUpdated);
7150
7162
  }
7151
7163
  /**
7152
7164
  * Handle the year input change.
@@ -7156,7 +7168,9 @@ const CuraCalendar = class {
7156
7168
  onYearDropdownChange(event) {
7157
7169
  const newYear = event.detail;
7158
7170
  this.selectYear = newYear;
7159
- this.currentDate = new Date(newYear, getMonth(this.currentDate), 1);
7171
+ const currentDateUpdated = new Date(newYear, getMonth(this.currentDate), 1);
7172
+ this.currentDate = currentDateUpdated;
7173
+ this.sendEventChangeDateInView(Boolean(this.collapsed), currentDateUpdated);
7160
7174
  }
7161
7175
  /**
7162
7176
  * Flatten date ranges into individual dates.
@@ -7165,7 +7179,7 @@ const CuraCalendar = class {
7165
7179
  * @returns {Date[]} An array of individual dates.
7166
7180
  */
7167
7181
  expandDateRanges(dates) {
7168
- if (!dates)
7182
+ if (!dates || !Array.isArray(dates))
7169
7183
  return [];
7170
7184
  return dates.flatMap(date => {
7171
7185
  if (typeof date === 'string')
@@ -7263,10 +7277,10 @@ const CuraCalendar = class {
7263
7277
  this.collapsed = true;
7264
7278
  return this.fetchDaysOfWeek();
7265
7279
  }
7266
- fetchDaysOfWeek() {
7280
+ fetchDaysOfWeek(currentDate) {
7267
7281
  const DAYS_IN_CALENDAR_VIEW = 7;
7268
- const start = startOfWeek(this.currentDate);
7269
- const end = endOfWeek(this.currentDate);
7282
+ const start = startOfWeek(currentDate || this.currentDate);
7283
+ const end = endOfWeek(currentDate || this.currentDate);
7270
7284
  const daysIncurrentDate = eachDayOfInterval({ start, end });
7271
7285
  return daysIncurrentDate.slice(0, DAYS_IN_CALENDAR_VIEW);
7272
7286
  }
@@ -7277,11 +7291,12 @@ const CuraCalendar = class {
7277
7291
  if (direction === 'next')
7278
7292
  newWeek = addWeeks(this.currentDate, 1);
7279
7293
  this.currentDate = newWeek;
7294
+ this.sendEventChangeDateInView(Boolean(this.collapsed), newWeek);
7280
7295
  }
7281
- fetchDaysOfMonth() {
7296
+ fetchDaysOfMonth(currentDate) {
7282
7297
  const DAYS_IN_CALENDAR_VIEW = 35;
7283
- const start = startOfMonth(this.currentDate);
7284
- const end = endOfMonth(this.currentDate);
7298
+ const start = startOfMonth(currentDate || this.currentDate);
7299
+ const end = endOfMonth(currentDate || this.currentDate);
7285
7300
  const daysIncurrentDate = eachDayOfInterval({ start, end });
7286
7301
  const startWeekDay = getDay(start);
7287
7302
  const prevMonthEnd = endOfMonth(subMonths(start, 1));
@@ -7408,7 +7423,15 @@ const CuraCalendar = class {
7408
7423
  '--width': this.width,
7409
7424
  '--min-width': this.minWidth,
7410
7425
  '--max-width': this.maxWidth,
7426
+ '--color-neutral-purewhite': window.CuraAPI.theme.colors.getColor(`neutral-purewhite`)
7427
+ };
7428
+ }
7429
+ sendEventChangeDateInView(isCollapsed, currentDate) {
7430
+ const eventData = {
7431
+ datesInView: isCollapsed ? this.fetchDaysOfWeek(currentDate) : this.fetchDaysOfMonth(currentDate),
7432
+ monthDays: this.fetchDaysOfMonth(currentDate)
7411
7433
  };
7434
+ this.changeDateInView.emit(eventData);
7412
7435
  }
7413
7436
  watchDefaultDatesArray() {
7414
7437
  this.selectedDates = this.customDates;
@@ -7426,11 +7449,14 @@ const CuraCalendar = class {
7426
7449
  }
7427
7450
  this.defaultDates = this.expandDateRanges(newValue);
7428
7451
  }
7452
+ watchCollapse(isCollapsed) {
7453
+ this.sendEventChangeDateInView(isCollapsed, this.currentDate);
7454
+ }
7429
7455
  render() {
7430
7456
  const { months } = this.fetchMonthNames();
7431
- return (index.h(index.Host, { key: '0058175ddba56d4ddf6e1ba9aa6b66575f9bfb01', style: this.getHostCSSProperties() }, index.h("div", { key: 'fb70c1f051075f6b7904baef0733dd45d37b12a0', class: `calendar ${this.floating ? 'floating' : ''} ${this.embedded ? 'embedded' : ''} ${this.getDisabledClassModifier()}`, style: this.styles }, index.h("header", { key: 'e109068ef54873f86212b6ec35090961ec3ea2d7', class: "header" }, index.h("div", { key: '1a03a0147439e7fe5da109f5ae315cf5b4e9f363', class: `month-year ${this.type === 'dropdown' && 'dropdown'}` }, index.h("cura-icon", { key: '916ff723610f006170cc6ad16a466d6643ff4537', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "left", disabled: this.isDisabled, color: this.determinePrevButtonColor(), onClick: this.handlePrevMonth }), this.type === 'dropdown' ? (index.h("div", { class: "select" }, index.h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-month", mode: "transparent", value: months[getMonth(this.currentDate)], onSelected: e => this.onMonthDropdownChange(e) }, months.map((month, index$1) => (index.h("cura-select-option", { size: "xsmall", key: index$1, value: month }, month)))), index.h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-year", mode: "transparent", value: getYear(this.currentDate).toString(), onSelected: e => this.onYearDropdownChange(e) }, this.fetchYearList().map((year, index$1) => (index.h("cura-select-option", { key: index$1, value: year.toString() }, year.toString())))))) : (index.h("cura-label", { color: !this.isDisabled ? 'neutral-black' : 'neutral-dark', size: "small" }, months[getMonth(this.currentDate)].slice(0, 3), ", ", getYear(this.currentDate))), index.h("cura-icon", { key: '7989ae104c7ae55c93ce76756f8cdcc15625a9c9', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "right", disabled: this.isDisabled, color: "primary-base", onClick: this.handleNextMonth }))), index.h("span", { key: '15f1486afe03202f30352ec4efa1d21d39fffd73', class: "days-of-week" }, this.fetchWeekDays().map(this.renderItemWeekDays)), index.h("div", { key: '75f3070e86bdd892e5a48be48911b70ceac795a4', class: "dates" }, !this.collapsed
7457
+ return (index.h(index.Host, { key: 'ce5e455df204f6d7a8a3a34eba8198d33e1dd798', style: this.getHostCSSProperties() }, index.h("div", { key: 'b09f8c9ae06a38f0c04022a3c76ca89aed67f694', class: `calendar ${this.floating ? 'floating' : ''} ${this.embedded ? 'embedded' : ''} ${this.getDisabledClassModifier()}`, style: this.styles }, index.h("header", { key: 'c70bc378b8427424d4128f98b6f39f3a43d18e8b', class: "header" }, index.h("div", { key: 'cdda360107fd69b8a32e7773dfcb9f94bc63b517', class: `month-year ${this.type === 'dropdown' && 'dropdown'}` }, index.h("cura-icon", { key: 'a19af085d074aa74ba3a51712ed62228a4244911', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "left", disabled: this.isDisabled, color: this.determinePrevButtonColor(), onClick: this.handlePrevMonth }), this.type === 'dropdown' ? (index.h("div", { class: "select" }, index.h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-month", mode: "transparent", value: months[getMonth(this.currentDate)], onSelected: e => this.onMonthDropdownChange(e) }, months.map((month, index$1) => (index.h("cura-select-option", { size: "xsmall", key: index$1, value: month }, month)))), index.h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-year", mode: "transparent", value: getYear(this.currentDate).toString(), onSelected: e => this.onYearDropdownChange(e) }, this.fetchYearList().map((year, index$1) => (index.h("cura-select-option", { key: index$1, value: year.toString() }, year.toString())))))) : (index.h("cura-label", { color: !this.isDisabled ? 'neutral-black' : 'neutral-dark', size: "small" }, months[getMonth(this.currentDate)].slice(0, 3), ", ", getYear(this.currentDate))), index.h("cura-icon", { key: '0e9917d69adf95a5f4566d1269738d8ea4a11036', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "right", disabled: this.isDisabled, color: "primary-base", onClick: this.handleNextMonth }))), index.h("span", { key: 'f5249c9c7ebeae18af57c43bbd988aa7c21b7b04', class: "days-of-week" }, this.fetchWeekDays().map(this.renderItemWeekDays)), index.h("div", { key: '2465a9c40856462242a80f1fda2abf7dc2648012', class: "dates" }, !this.collapsed
7432
7458
  ? this.fetchDaysOfMonth().map((day, index$1) => (index.h("div", { key: index$1, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))
7433
- : this.fetchDaysOfWeek().map((day, index$1) => (index.h("div", { key: index$1, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))), this.collapsed !== null ? (this.collapsed ? (index.h("div", { class: "collapsed-container" }, index.h("cura-button-transparent", { disabled: this.isDisabled, onClick: () => this.showNotColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "plusCircle" }, "Veja mais datas"))) : (index.h("div", { class: "collapsed-container" }, index.h("cura-button-transparent", { onClick: () => this.showColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "minusCircle" }, "Veja menos datas")))) : null)));
7459
+ : this.fetchDaysOfWeek().map((day, index$1) => (index.h("div", { key: index$1, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))), this.collapsed !== null ? (this.collapsed ? (index.h("div", { class: "collapsed-container" }, index.h("cura-button-transparent", { disabled: this.isDisabled, onClick: () => this.showNotColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "plusCircle" }, "Veja mais datas"))) : (index.h("div", { class: "collapsed-container" }, index.h("cura-button-transparent", { onClick: () => this.showColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "minusCircle" }, "Veja menos datas")))) : null, this.isLoading && (index.h("div", { key: 'fba41e2fd1b743d534f763e690b8eaf8f741f2f4', class: "loading-container" }, index.h("cura-loader-circle", { key: '9780c689a48c0c6ef2804ba6e9864338dd6a21a9', color: "primary", size: "large" }), index.h("slot", { key: 'c0e9eee4818991d9fd6ac8322aa183cf574abb65', name: "loadingMessage" }))))));
7434
7460
  }
7435
7461
  static get watchers() { return {
7436
7462
  "defaultDate": [{
@@ -7440,6 +7466,9 @@ const CuraCalendar = class {
7440
7466
  }],
7441
7467
  "customDates": [{
7442
7468
  "watchDefaultDatesArray": 0
7469
+ }],
7470
+ "collapsed": [{
7471
+ "watchCollapse": 0
7443
7472
  }]
7444
7473
  }; }
7445
7474
  };
@@ -7512,49 +7541,11 @@ const CuraCard = class {
7512
7541
  return classes;
7513
7542
  }
7514
7543
  render() {
7515
- return (index.h(index.Host, { key: '9478ce754c108db722dbc5bcbb00a0884b6c6f38', role: this.href ? 'link' : 'div' }, this.href ? (index.h("a", { class: this.getClasses(), target: this.target, style: this.styles, href: this.href }, index.h("slot", null))) : (index.h("div", { class: this.getClasses(), style: this.styles }, index.h("slot", null)))));
7544
+ return (index.h(index.Host, { key: '73f399ec63b8a0933a22c4a6d605dbb4bc8bf2c3', role: this.href ? 'link' : 'div' }, this.href ? (index.h("a", { class: this.getClasses(), target: this.target, style: this.styles, href: this.href }, index.h("slot", null))) : (index.h("div", { class: this.getClasses(), style: this.styles }, index.h("slot", null)))));
7516
7545
  }
7517
7546
  };
7518
7547
  CuraCard.style = curaCardCss();
7519
7548
 
7520
- function checkMobile() {
7521
- return (window === null || window === void 0 ? void 0 : window.innerWidth) < _static.Static.breakpoints.medium.min;
7522
- }
7523
- function checkIOS() {
7524
- return [
7525
- 'iPad Simulator',
7526
- 'iPhone Simulator',
7527
- 'iPod Simulator',
7528
- 'iPad',
7529
- 'iPhone',
7530
- 'iPod'
7531
- ].includes(navigator.userAgent)
7532
- // iPad on iOS 13 detection
7533
- || (navigator.userAgent.includes("Mac") && "ontouchend" in document);
7534
- }
7535
- function fakeInputIOSHack(targetElement) {
7536
- if (!checkMobile() || !checkIOS())
7537
- return null;
7538
- const fakeInput = document.createElement('input');
7539
- fakeInput.setAttribute('type', 'text');
7540
- fakeInput.style.position = 'absolute';
7541
- fakeInput.style.opacity = '0';
7542
- fakeInput.style.height = '0';
7543
- fakeInput.style.fontSize = '16px'; // disable auto zoom
7544
- targetElement.prepend(fakeInput);
7545
- // focus so that subsequent async focus will work
7546
- fakeInput.focus();
7547
- return fakeInput;
7548
- }
7549
- function addBodyScrollLockClass() {
7550
- document.body.classList.add("cura-body-scroll-lock");
7551
- }
7552
- function removeBodyScrollLockClass() {
7553
- if (document.body.classList.contains("cura-body-scroll-lock")) {
7554
- document.body.classList.remove("cura-body-scroll-lock");
7555
- }
7556
- }
7557
-
7558
7549
  class FixedElementScrollBehavior {
7559
7550
  constructor(hostElement, scrollableElement) {
7560
7551
  this._stopPropagationEvent = (e) => {
@@ -7578,11 +7569,11 @@ class FixedElementScrollBehavior {
7578
7569
  disableScroll() {
7579
7570
  this.scrollPosition = window.scrollY;
7580
7571
  window.scrollTo({ top: 0, behavior: 'instant' });
7581
- addBodyScrollLockClass();
7572
+ utils.addBodyScrollLockClass();
7582
7573
  this._addEvents();
7583
7574
  }
7584
7575
  enableScroll() {
7585
- removeBodyScrollLockClass();
7576
+ utils.removeBodyScrollLockClass();
7586
7577
  window.scrollTo({ top: this.scrollPosition, behavior: 'instant' });
7587
7578
  this._removeEvents();
7588
7579
  }
@@ -7680,7 +7671,7 @@ const CuraDropdownSearch = class {
7680
7671
  if (this.resizeTimeout)
7681
7672
  clearTimeout(this.resizeTimeout);
7682
7673
  this.resizeTimeout = setTimeout(() => {
7683
- this.isMobile = checkMobile();
7674
+ this.isMobile = utils.checkMobile();
7684
7675
  this.setZoomHeight();
7685
7676
  }, this.resizeTimeoutMs);
7686
7677
  };
@@ -7712,7 +7703,7 @@ const CuraDropdownSearch = class {
7712
7703
  clearTimeout(this.blurTimeout);
7713
7704
  this.blurTimeout = setTimeout(() => {
7714
7705
  if (this.zoomState) {
7715
- const delay = checkIOS ? 500 : 100;
7706
+ const delay = utils.checkIOS ? 500 : 100;
7716
7707
  setTimeout(() => this.setZoomHeight(), delay);
7717
7708
  }
7718
7709
  this.isOnFocus = false;
@@ -7793,7 +7784,7 @@ const CuraDropdownSearch = class {
7793
7784
  window.visualViewport.addEventListener('resize', this.handleVisualViewportChange);
7794
7785
  window.visualViewport.addEventListener('scroll', this.handleVisualViewportChange);
7795
7786
  }
7796
- this.isMobile = checkMobile();
7787
+ this.isMobile = utils.checkMobile();
7797
7788
  }
7798
7789
  componentDidLoad() {
7799
7790
  var _a;
@@ -7943,7 +7934,7 @@ const CuraDropdownSearch = class {
7943
7934
  };
7944
7935
  }
7945
7936
  render() {
7946
- return (index.h(index.Host, { key: '7a312071ecc60fe462636ad7b32bcb82b5d5c1a2', style: this.getHostCSSProperties(), role: "search", "aria-label": this.label, "aria-required": this.required, "aria-disabled": this.disabled, "aria-expanded": this.zoomState }, index.h("div", { key: 'c4b906871b300013208649f8dcf9b27cf161daae', class: this.getClasses(), style: this.styles }, index.h("div", { key: '97d3d3ae67dc79f2d04456555388cce9aec36f7d', class: "component-controls" }, this.isMobile && this.zoomState ? (index.h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', index.h("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: (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) }, index.h("slot", { key: 'fb206e8295b0139082b79cc747bfe8e424df33fa', name: "helperText" }))), index.h("div", { key: '8ab0ad70e667c4b01b2f7a31fc5df6056b170565', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, index.h("slot", { key: 'dc3cda02f7a70d7229457d6c225a606ee2e03f52', onSlotchange: () => this.handleSlotChange() })))));
7937
+ return (index.h(index.Host, { key: '4eebe0e03eb20a9c056158e9bb7dafad6c5d7e36', style: this.getHostCSSProperties(), role: "search", "aria-label": this.label, "aria-required": this.required, "aria-disabled": this.disabled, "aria-expanded": this.zoomState }, index.h("div", { key: 'c74a9785e747c23f853beabce244d9d79be963f6', class: this.getClasses(), style: this.styles }, index.h("div", { key: '8e0e1b8ad5929f7a65d970da37af8da526ea1ec6', class: "component-controls" }, this.isMobile && this.zoomState ? (index.h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', index.h("cura-input-text", { key: 'd6b1e0284f7f8bbd0293ca8c7e11de7e4d390729', 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) }, index.h("slot", { key: '3626dc325181c193081af56996804453c9dee9f5', name: "helperText" }))), index.h("div", { key: 'c0b979983b567e35a15e756d24cecf0a0102e2bc', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, index.h("slot", { key: '56fc0ae14345c88eaf214a12f6ebf545fc040aea', onSlotchange: () => this.handleSlotChange() })))));
7947
7938
  }
7948
7939
  get host() { return index.getElement(this); }
7949
7940
  };
@@ -7963,7 +7954,7 @@ const CuraDropdownSearchCategory = class {
7963
7954
  };
7964
7955
  }
7965
7956
  render() {
7966
- return (index.h(index.Host, { key: '511391a8c6c1c998b04e3093838173ae76549715' }, index.h("div", { key: '63da720bb3d2cc354ef5f1e9ceaf0f2f9c396f4e', class: "component-container", style: this.styles }, index.h("cura-heading", { key: 'ba003607e581d4abaf2e6d617f94e3174d04a4b3', size: 'xsmall', weight: 'bold', color: 'neutral-dark', marginBlock: '0', lineHeight: '1em' }, index.h("slot", { key: '80b14ff99b42a64082895db81b4dbe78cd7545a3' })))));
7957
+ return (index.h(index.Host, { key: 'd80c4ebc3e7edee04eb7e3b405cc11ea1cb65111' }, index.h("div", { key: 'af087ac20e0e2075acb87b64573734e16bdd7b62', class: "component-container", style: this.styles }, index.h("cura-heading", { key: 'f48f5ca2cd5fdb7b2862ae20e51b3963461db945', size: 'xsmall', weight: 'bold', color: 'neutral-dark', marginBlock: '0', lineHeight: '1em' }, index.h("slot", { key: '13030d0abe5ac052fa3c3a7e04694ecfd7a3ab23' })))));
7967
7958
  }
7968
7959
  };
7969
7960
  CuraDropdownSearchCategory.style = curaDropdownSearchCategoryCss();
@@ -8026,7 +8017,7 @@ const CuraDropdownSearchOption = class {
8026
8017
  };
8027
8018
  }
8028
8019
  render() {
8029
- return (index.h(index.Host, { key: '6168a95a628d07878f472c310390bf9c45bd5057' }, index.h("div", { key: '29763282f101a9fbe205c91e7b3c70fa51878e63', class: this.getClasses(), style: this.styles }, index.h("div", { key: '46bd7a250ad866b984e6f4184aa4800e89b741c9', class: "selectable-container", onClick: () => this.handleSelect() }, index.h("slot", { key: '77088405f3cc4f077e49a4266fb926348774d9e9', name: 'image' }), index.h("div", { key: '96baef2af4ffe7c5ec809a5adbd0512120b6c71c', class: "content" }, index.h("slot", { key: 'e41794e8eaff6bfe1516e88e8591ca915eb7ad3f' }))), index.h("div", { key: '991bca3b0956519b531d576a1738bc3f200cc73f', class: "actions-container", onClick: () => this.handleActionsClick() }, index.h("slot", { key: '098e8c29ab48ef8e0cfff2a48a31860eafb62487', name: 'actions' })))));
8020
+ return (index.h(index.Host, { key: 'e01c513f3c2cf8ad1b4b118f2b59d5228a052112' }, index.h("div", { key: 'b59ae795fc8905929ed91fc2e18e465b0d1632f0', class: this.getClasses(), style: this.styles }, index.h("div", { key: 'f3d163ac57e5c6cbc15f4b7d822273afa1279816', class: "selectable-container", onClick: () => this.handleSelect() }, index.h("slot", { key: 'ed9427e3251354825ee9652f653f9597ccf79383', name: 'image' }), index.h("div", { key: 'a78dcf1bfd71e42542b9f7bdb7fb43e3acc628ba', class: "content" }, index.h("slot", { key: '7ad2f91f434cf69b5f45674e887d29fe4188cd9e' }))), index.h("div", { key: '7f9cac5875885a80505b7455de49c090aca7848c', class: "actions-container", onClick: () => this.handleActionsClick() }, index.h("slot", { key: '12496150bea58f08dc7c5a868d866f67903e545c', name: 'actions' })))));
8030
8021
  }
8031
8022
  };
8032
8023
  CuraDropdownSearchOption.style = curaDropdownSearchOptionCss();
@@ -8121,7 +8112,7 @@ const CuraHeading = class {
8121
8112
  return tags[`${this.level}`] || tags['default'];
8122
8113
  }
8123
8114
  render() {
8124
- return (index.h(index.Host, { key: 'd32c25d0110f82182f4559789f3d2db04e040afe', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
8115
+ return (index.h(index.Host, { key: '611cbd1aff08cda4926fc82ba821c86c5df3e954', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
8125
8116
  }
8126
8117
  get host() { return index.getElement(this); }
8127
8118
  };
@@ -8156,7 +8147,7 @@ const CuraIcon = class {
8156
8147
  this.host.style.setProperty(prop, value);
8157
8148
  }
8158
8149
  render() {
8159
- return (index.h(index.Host, { key: '5dfb1ead36b19cb799e5dad924426356b23500d4', role: "img" }, index.h("svg", { key: '9df09822b70978c96afb525cf5967145513b4a56', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, index.h("use", { key: '8ce9a2c0e434ee559a8c0ff2fb14a30093ce434a', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
8150
+ return (index.h(index.Host, { key: 'b383f07f146a8f4760317a8bfc42a16c06f8d323', role: "img" }, index.h("svg", { key: 'd1d3e98cd7afbf729989463a123030b95ea84221', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, index.h("use", { key: 'bb6c8175923161b9d603a969bc1a7ca651e19256', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
8160
8151
  }
8161
8152
  get host() { return index.getElement(this); }
8162
8153
  static get watchers() { return {
@@ -11917,9 +11908,9 @@ const CuraInputText = class {
11917
11908
  }
11918
11909
  async setFocus() {
11919
11910
  // IOS needs large timeout value to work
11920
- const timeoutMs = checkMobile() && checkIOS() ? 1000 : 200;
11911
+ const timeoutMs = utils.checkMobile() && utils.checkIOS() ? 1000 : 200;
11921
11912
  // IOS fake input hack
11922
- let fakeInput = fakeInputIOSHack(this.host);
11913
+ let fakeInput = utils.fakeInputIOSHack(this.host);
11923
11914
  setTimeout(() => {
11924
11915
  this.inputRef.focus();
11925
11916
  if (fakeInput)
@@ -12297,7 +12288,7 @@ const CuraLabel = class {
12297
12288
  };
12298
12289
  }
12299
12290
  render() {
12300
- return (index.h(index.Host, { key: '7d49bffcd8408352d48e9d2f4d1a085232b0a388', style: this.hostCSSProperties() }, index.h("p", { key: '9479efc64405d2653e2aaf185138c37c4ecca95c', style: this.styles, class: this.getClasses() }, index.h("slot", { key: '6de7990505b1f2e4af8988e9a9cc3a96ae18cf75' }))));
12291
+ return (index.h(index.Host, { key: '80bddd4f902e7084628ed2cbfe1144a6ddcf2674', style: this.hostCSSProperties() }, index.h("p", { key: 'bc507c1b119459c6efbb81120a7cc33c1e305800', style: this.styles, class: this.getClasses() }, index.h("slot", { key: '451674e41f86b0b3db3f2f29b498aa49c489a7ec' }))));
12301
12292
  }
12302
12293
  get host() { return index.getElement(this); }
12303
12294
  static get watchers() { return {
@@ -12340,7 +12331,7 @@ const CuraLoaderCircle = class {
12340
12331
  };
12341
12332
  }
12342
12333
  render() {
12343
- return (index.h(index.Host, { key: '09f72e4ec206571c1bfb4333a76da3113f2b386d', style: this.getStyles(), role: "progressbar" }, index.h("svg", { key: 'd446c093c9ae6c1ebca50e023f2eba592f37eb07', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '8d8bf0fefcb924af391977d672f777face8bf24f' }, index.h("circle", { key: 'd77eaba65fc61c265b7c495e95dae22d9732732b', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), index.h("path", { key: 'ab82247a03c327a6eac8f5c0770932e3520aa32c', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), index.h("defs", { key: '6291d976f90dd54aecaead32f8314e977dad4c3f' }, index.h("linearGradient", { key: '8f213ed3cb1e55f9aae79f18d43f414b48f45a19', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, index.h("stop", { key: 'c723178770cb0d49746a72fff6c9c8dc7fbb07b4' }), index.h("stop", { key: '07bb208a3ca3f3b7a317b1e2386dc9cf683fd155', offset: "1" }))))));
12334
+ return (index.h(index.Host, { key: '628e3341e2bc0bef9a18362ab46625d99a7f6800', style: this.getStyles(), role: "progressbar" }, index.h("svg", { key: 'c0e5366cef003222ec7a60fcaed02a1e2376acd5', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '194989f5d872562dffc46ca981a699183de87603' }, index.h("circle", { key: '6ffa4ee0394f80b4328e5bda459f849387086568', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), index.h("path", { key: '9cc41c580811d999769f1ebe1443bd63a092eae0', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), index.h("defs", { key: '1190920b737c9306a96ac9854207a339ac312815' }, index.h("linearGradient", { key: '11921fe3939bef2f32a4688058a3c818600c5781', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, index.h("stop", { key: 'fa3f8b029d39912abea7adef004f24e99f76d453' }), index.h("stop", { key: '53b8efce47f6101c36ccf9f05beca7ab76ffb886', offset: "1" }))))));
12344
12335
  }
12345
12336
  };
12346
12337
  CuraLoaderCircle.style = curaLoaderCircleCss();
@@ -12363,7 +12354,7 @@ const CuraPageTemplate = class {
12363
12354
  return classes;
12364
12355
  }
12365
12356
  render() {
12366
- return (index.h(index.Host, { key: 'a3b743b1f518ece009858e39716903869184d627' }, index.h("div", { key: 'f3f29d5306f612c197ded53885bbf598a377388a', style: this.styles, class: "grid-template" }, index.h("div", { key: '2329343b116c6bfb8f35a146bbab6b9460e50cbe', id: "sub-header" }, index.h("slot", { key: 'b27e5dd020099fc64636a0ab363003024315cff6', name: 'sub-header' })), index.h("div", { key: '45bcb4f1a574c2c0d8337635729bd603df399f20', id: "header" }, index.h("slot", { key: '27bcdc8a59b717ab1c4a021b629a5c4a6a285f8a', name: 'header' })), index.h("div", { key: 'b19ae447a53c43d2f46127b0e38e115b792bec6b', id: "pre-content" }, index.h("slot", { key: 'b37745e63e57ad2c48cf430849b2d64c71d2b45e', name: 'pre-content' })), index.h("div", { key: '4adbaacd79ebb4e5e5fae0233acba2b7215a74ce', id: "content-container", class: this.getClasses() }, index.h("div", { key: '17a7d806d6a24fe67f249cfca2fce466861e25f5', id: "sidebar-left" }, index.h("slot", { key: '6fa66175bf7e0953ce23c6c557297d6f2efb9439', name: 'sidebar-left' })), index.h("div", { key: '450c3a5a742d40d26ccdc672c855b2f9f9ae3153', id: "content" }, index.h("slot", { key: 'ce593020ba6d60ca8a2ddd835deb8c8a4b0e33a1', name: "content" }), index.h("slot", { key: '1cc8b4478d78e3c6985e811cd0d1b510f00edf1b' })), index.h("div", { key: '4497faf9a880a4ae0eaa3f097ca02d3a155a4496', id: "sidebar-right" }, index.h("slot", { key: '97dd82f3f0b83f93334a9ca896ace76521ab05fb', name: 'sidebar-right' }))), index.h("div", { key: '80fb43c7b84bdc2c0722dbada31024d477326d0a', id: "post-body" }, index.h("slot", { key: '3975794bdbefe5fd0e05d06af7715e13ff650338', name: 'post-body' })), index.h("div", { key: '08183669839fce4b448bef3f6489fc6d8c61e898', id: "footer" }, index.h("slot", { key: '9b1797aecc9fd4131944a70371fab08b239f0802', name: 'footer' })), index.h("div", { key: '3e9ea1d173490ee3bf941439fad80814d3a5daf2', id: "sub-footer" }, index.h("slot", { key: '4b0c6a8d6f4b548040195003e8b5574c83541508', name: 'sub-footer' })))));
12357
+ return (index.h(index.Host, { key: '65ceac57166149f686508dd56d865092406afe4d' }, index.h("div", { key: 'c78f1ef93fd52b43285fa3b39d203db258c1bf31', style: this.styles, class: "grid-template" }, index.h("div", { key: 'cfb99058f718560bf2679e13266bf6e1447cfb1e', id: "sub-header" }, index.h("slot", { key: 'ddd2aaeb147cad4e92e16dda69f757d9aa261e2c', name: 'sub-header' })), index.h("div", { key: 'c3d87f2c1d68d08e2c46730d731e03a17e0c355d', id: "header" }, index.h("slot", { key: 'a681e8d1c9c379be1c18278811d7e99455ad0a8b', name: 'header' })), index.h("div", { key: 'aee6e5920384ecdbf0c8adb358a431e304f612de', id: "pre-content" }, index.h("slot", { key: '4e554925885a9f8200fe8cb7b35e438e6a7dd1e8', name: 'pre-content' })), index.h("div", { key: '30f1f9aeb3a58fb390716dec7f5855fdcc1cc82d', id: "content-container", class: this.getClasses() }, index.h("div", { key: '259ab99ca0ec43a86536c3c188429a555eebbd45', id: "sidebar-left" }, index.h("slot", { key: 'ff359698c0b452776e558234b46745dd40746edc', name: 'sidebar-left' })), index.h("div", { key: '14338cdc57d8ee6cfb5ca15fd5ed8fe276d83bea', id: "content" }, index.h("slot", { key: 'ea4f4a5423bf061880d580e86f015907ee5929ea', name: "content" }), index.h("slot", { key: 'ddf40946d828b0de102e9fc21ee99201dc36342b' })), index.h("div", { key: 'c207b0c2280033f71c2b7803b1ae9ec017ab2b5c', id: "sidebar-right" }, index.h("slot", { key: 'fd15c1b0ce197f7de9e72827dca3c1d4736b4219', name: 'sidebar-right' }))), index.h("div", { key: 'fd02b69336b4d6920975bf1a8b4a7c8a957e65d6', id: "post-body" }, index.h("slot", { key: '205b2283d6fff54f3e3be4ed9b2b64b05c985601', name: 'post-body' })), index.h("div", { key: '4602dc880efe376c9a951237c43ebcb6723499db', id: "footer" }, index.h("slot", { key: 'ed9314b5192194cea91dab7fc6efdbfb198016fc', name: 'footer' })), index.h("div", { key: '53b5bd4b187a0ae6657bccfb8626a5d335bdeb73', id: "sub-footer" }, index.h("slot", { key: '8b086fb200223ff0bf5acd2266da3ae47cc30269', name: 'sub-footer' })))));
12367
12358
  }
12368
12359
  get host() { return index.getElement(this); }
12369
12360
  };
@@ -12435,7 +12426,7 @@ const CuraParagraph = class {
12435
12426
  return classes;
12436
12427
  }
12437
12428
  render() {
12438
- return (index.h(index.Host, { key: 'c3789e60b50107cc39c51e4a3ec317e86c966689', style: this.hostCSSProperties() }, index.h("p", { key: 'f70ffc6277b6164dfc8d230123820efb3d5daa64', style: this.styles, class: this.getClasses() }, index.h("slot", { key: '66251e59d51637fc7820516b17af8947cc9168e8' }))));
12429
+ return (index.h(index.Host, { key: '33b3d1d2e739523255fbfbfd8b6afd67aa5dbc2d', style: this.hostCSSProperties() }, index.h("p", { key: '1baf909ffcc9c682bc9fba3b36d173e53020d084', style: this.styles, class: this.getClasses() }, index.h("slot", { key: 'b836160b6c94a6f3a2f5a7c4c1802bc5340bd5b5' }))));
12439
12430
  }
12440
12431
  get host() { return index.getElement(this); }
12441
12432
  };
@@ -14520,10 +14511,10 @@ const CuraSelect = class {
14520
14511
  });
14521
14512
  }
14522
14513
  render() {
14523
- return (index.h(index.Host, { key: '8a05e5365062b5a2da4f10d7e3ca04f9d3136fba', style: this.styles, role: "combobox", "aria-label": this.label, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error') }, index.h("div", { key: 'ab28fd73d68ccdc5ad6dd6cc7f79d879eaf25818', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (index.h("cura-label", { key: '5405aa3706b07640fdfdaa681ad22ea9c5fd9997', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && index.h("span", { key: '39b37aefbf4e61572607d891eb63c737c332793c', class: "required" }, "* "))), index.h("div", { key: 'c339ab1ff49699fb0a348a169ba7f545b89bd593', class: {
14514
+ return (index.h(index.Host, { key: '7621641772e6c166b5359346f0d0681a614c1f5c', style: this.styles, role: "combobox", "aria-label": this.label, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error') }, index.h("div", { key: '7cc11beb3a10ada937c4668fdfcdb98b380200e0', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (index.h("cura-label", { key: 'd10426c84bb97db84074430f537293407f7afa05', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && index.h("span", { key: '82808b9add65b3c6abf03e56fe63dccd574229f3', class: "required" }, "* "))), index.h("div", { key: 'e37b1468d0bf2bdac3f1c2096c22840fe7e0eced', class: {
14524
14515
  'cura-input-field': true,
14525
14516
  'open': this.isOpen,
14526
- }, ref: el => (this.inputWrapper = el) }, this.renderIcon(), index.h("input", { key: '5118ad409b6b9c48c856670857d3cae26d28fd46', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), index.h("button", { key: '53bddc2b1e56462a9181ce99749d98568f1c5dd9', class: "up-down-button" }, index.h("cura-icon", { key: '01cb20504d2e0506e7210d33e3ca75978a598eff', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), index.h("cura-label", { key: '550c24779f690ebd16bec881770b200ce06f5390', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, index.h("slot", { key: '530f64f99df6328d3a49a449f8f924e57bb03f21' })), this.isOpen && (index.h("div", { key: '3ee7a6439c98a0837a3f39d27646ed7a55c630b3', class: {
14517
+ }, ref: el => (this.inputWrapper = el) }, this.renderIcon(), index.h("input", { key: '7fabd1a5fc59c479ea09d95f7552f49f8448125e', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), index.h("button", { key: '9fa767799517d3872d60e33a9d71562bfe24d0c5', class: "up-down-button" }, index.h("cura-icon", { key: '2299a69d28c72eba5f2a18faa87c653226105034', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), index.h("cura-label", { key: '6c88858d35cdf9c756b9ee7d9e93f5ff0596e372', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, index.h("slot", { key: '55a075d118ba10f7921d6cf13331c7c0a0ddae46' })), this.isOpen && (index.h("div", { key: 'd36637fb50aeefbb10991dd2fa8212886293fff3', class: {
14527
14518
  menu: true,
14528
14519
  open: this.isOpen,
14529
14520
  [this.preferredPlacement]: true,
@@ -14536,7 +14527,7 @@ const CuraSelect = class {
14536
14527
  visibility: this.isPositioned ? 'visible' : 'hidden',
14537
14528
  opacity: this.isPositioned ? '1' : '0',
14538
14529
  pointerEvents: this.isPositioned ? 'auto' : 'none',
14539
- } }, index.h("slot", { key: '84c3bb501966175635102b2ccbfa0cf43d2112f1', name: "option" }))))));
14530
+ } }, index.h("slot", { key: '399d62fd686ed4c0a0729d336a3502b53918e371', name: "option" }))))));
14540
14531
  }
14541
14532
  static get formAssociated() { return true; }
14542
14533
  get host() { return index.getElement(this); }
@@ -14590,7 +14581,7 @@ const CuraSelectOption = class {
14590
14581
  };
14591
14582
  }
14592
14583
  render() {
14593
- return (index.h(index.Host, { key: '0822f9ef2bf99e9f2fd9b82757c232449cec3397', slot: "option", role: "option", "aria-selected": this.selected }, index.h("div", { key: '97ce07635ab1e67676cdf80bce6b1eada30e035c', class: this.getClasses(), style: this.styles }, index.h("cura-label", { key: 'd6fb19b666f1d12d713ba1e6270ebb62a12d86ab', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, index.h("slot", { key: '78f64d9347185fd398e1adbc45650cf247894481' })), this.selected && index.h("cura-icon", { key: '948e0d36d71e4c236a2472032703dbb47a371910', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
14584
+ return (index.h(index.Host, { key: '351cadffe0228ba5af1a9d6019c8dece886061c6', slot: "option", role: "option", "aria-selected": this.selected }, index.h("div", { key: '0bbe81fd481f3d7d83e42bcbeb69c8b88ce23804', class: this.getClasses(), style: this.styles }, index.h("cura-label", { key: 'fa4ae11397845ed517f756fd4537f80bb7580e4f', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, index.h("slot", { key: 'c3b653b8a65d3b7afe0253fd9aafe922fdaebcfc' })), this.selected && index.h("cura-icon", { key: 'd7420da36a93c1f873ac79e6d55e1fa697a4eaad', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
14594
14585
  }
14595
14586
  get host() { return index.getElement(this); }
14596
14587
  static get watchers() { return {
@@ -14690,7 +14681,7 @@ const CuraTabs = class {
14690
14681
  const labelSize = curaTabs_definitions.labelSizes[this.size] || curaTabs_definitions.labelSizes['default'];
14691
14682
  const labelColor = this.computeContentColor();
14692
14683
  this.updateDynamicStyles();
14693
- return (index.h(index.Host, { key: '3966968b73a9a51ec26f3206cdb09fbfcb3d3daf', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, index.h("button", { key: '00cc6382c635a05c52fd74b3e02e968c2d94cacb', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), index.h("cura-label", { key: 'e193500f156c10cf0442e6f504e19d552c19f849', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, index.h("slot", { key: '8a0ac7c4b2ff4990093d13b4110e370616cf39f4' })))));
14684
+ return (index.h(index.Host, { key: 'd12ccbd8e900c1a21dfee2ee7363e167772acad4', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, index.h("button", { key: '2e77d02614e38baaca599d7830f5ba4dcb048519', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), index.h("cura-label", { key: '343f0d566d70ea2f132ea55ca588c57cb2ce20f2', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, index.h("slot", { key: '9acebd9e763f88d698ca6c0a08e97c3960701730' })))));
14694
14685
  }
14695
14686
  static get watchers() { return {
14696
14687
  "colorMode": [{
@@ -14729,7 +14720,7 @@ const CuraTabsGroup = class {
14729
14720
  this.styles = Object.assign(Object.assign({}, this.styles), { '--border-color': window.CuraAPI.theme.colors.getColor(this.colorMode === 'light' ? 'neutral-base' : 'primary-base'), '--gap': `${this.gap}px` });
14730
14721
  }
14731
14722
  render() {
14732
- return (index.h(index.Host, { key: 'fb6a6ae52fd5bdfb8c3978a75f26be87479ccafa', role: "tablist", style: this.styles, class: this.getClasses() }, index.h("slot", { key: 'afca97b27c8359f8236331257e4db41f1332e071' })));
14723
+ return (index.h(index.Host, { key: '1a2babd4b23b2f54644cfe9d0129736c897f50c3', role: "tablist", style: this.styles, class: this.getClasses() }, index.h("slot", { key: 'ba78df56f01619de8df14cbfde08dd501b15048e' })));
14733
14724
  }
14734
14725
  get host() { return index.getElement(this); }
14735
14726
  };
@@ -217,7 +217,7 @@ const CuraCheckbox = class {
217
217
  return index.h("cura-icon", { class: "icon", name: iconName, size: iconSize, color: iconColor });
218
218
  }
219
219
  render() {
220
- return (index.h(index.Host, { key: '2e951be46f80c67ea87aaf1c613e29ae7a1cc856', role: "checkbox", "aria-checked": this.checked, "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, index.h("div", { key: '341a30934dd6660b03e6be161999fad24fb005ef', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, index.h("div", { key: '58f32f6b047d19b8af2468b6007cf2dfb1297476', class: "info" }, index.h("div", { key: 'e23407390368c638e4e8cd9119ad3ccd1767d861', class: "label-wrapper" }, index.h("cura-label", { key: 'd7ce7b39441203e9058b0227edbfc75dd320806f', textOverflow: this.overflowLabel, class: `label${this.overflowLabel === 'single' ? ' textoverflow-single' : ''}`, weight: "bold", size: this.size === 'large' ? 'medium' : 'xsmall', color: this.assignColor('label') }, this.label), this.required && (index.h("cura-paragraph", { key: '0684b9ab1f517083bc681bd0731aedf6d38c9873', lineHeight: "0%", marginBlock: "0", color: "error-base" }, "*", ' '))), index.h("cura-label", { key: '499419ee720a7c7ba7e42fc8fcebccfb4e0b0c42', textOverflow: this.overflowHelper, color: this.assignColor('message'), size: "xsmall", class: "message" }, index.h("slot", { key: '7c9637fa4a8082f6451851452db1b751218a20ec' }))), index.h("div", { key: '91b0a1f42d65d72aca24ff8a852d3c6f461a9cb7', class: 'checkbox', tabIndex: this.ontabindex }, index.h("input", { key: '4f1db30730b2d68d3d0f3036fd5924a9da1b541b', type: "checkbox", name: this.name, value: this.value, disabled: this.disabled, required: this.required, checked: this.checked, indeterminate: this.indeterminate }), this.getIcon()))));
220
+ return (index.h(index.Host, { key: '9236b8f9d487c042e00800a624e1b729e36b296d', role: "checkbox", "aria-checked": this.checked, "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, index.h("div", { key: '4472e8ee4fa4d1ea6c6f4cf9ba347acc66f7df2a', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, index.h("div", { key: '1c74e35fbfbcfcbe113edcd5522e674d197b2212', class: "info" }, index.h("div", { key: '75e7fdf6050f38473379fb3e4a5880f9eb34e88e', class: "label-wrapper" }, index.h("cura-label", { key: 'eeac634dd87a72922c0d89e1877d0e0b132e6cd9', textOverflow: this.overflowLabel, class: `label${this.overflowLabel === 'single' ? ' textoverflow-single' : ''}`, weight: "bold", size: this.size === 'large' ? 'medium' : 'xsmall', color: this.assignColor('label') }, this.label), this.required && (index.h("cura-paragraph", { key: '7d590fd046c2ba90dbef7846f51a774d50418ca7', lineHeight: "0%", marginBlock: "0", color: "error-base" }, "*", ' '))), index.h("cura-label", { key: 'f7c750b3d3ce6afaaba514ac835ceed38674a048', textOverflow: this.overflowHelper, color: this.assignColor('message'), size: "xsmall", class: "message" }, index.h("slot", { key: 'd83d9f24b5a5274233e61256add788bfa2ee0f92' }))), index.h("div", { key: '3f67839bbbf8a583d41765a2a6450c71f5063066', class: 'checkbox', tabIndex: this.ontabindex }, index.h("input", { key: 'ab742442fc98838433f6db949478bef6ee2e0d45', type: "checkbox", name: this.name, value: this.value, disabled: this.disabled, required: this.required, checked: this.checked, indeterminate: this.indeterminate }), this.getIcon()))));
221
221
  }
222
222
  static get formAssociated() { return true; }
223
223
  get host() { return index.getElement(this); }
@@ -86,7 +86,7 @@ const CuraDisplay = class {
86
86
  return tags[`${this.level}`] || tags['default'];
87
87
  }
88
88
  render() {
89
- return (index.h(index.Host, { key: '264f7e93aac5ecb7a775c6e505f230518e3959f4', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
89
+ return (index.h(index.Host, { key: 'b9264ba7f3ff79b474f02107824441c9f6e67ec1', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
90
90
  }
91
91
  get host() { return index.getElement(this); }
92
92
  static get watchers() { return {
@@ -16,7 +16,7 @@ const CuraDropdownSearchNotFound = class {
16
16
  };
17
17
  }
18
18
  render() {
19
- return (index.h(index.Host, { key: '899559f0e05394638cd9c6dd61897383453ed176' }, index.h("div", { key: '0b1ed35b82f1df7feac928ab84e08149a38a79a3', class: "component-container", onClick: this.handleClick }, index.h("cura-heading", { key: '49f423b01e6719790bf7f3bcda6f3239042c0c9f', size: "xsmall", weight: "bold", color: "error-dark" }, index.h("slot", { key: '4fbcfb5602729f92f84a22d003d5b2e66e481b6c' })))));
19
+ return (index.h(index.Host, { key: '6b57806eb3a2c3be73c76876bfce0062e36a97fa' }, index.h("div", { key: '5a294ef5d53177d439816d881a8d5c90b60b621e', class: "component-container", onClick: this.handleClick }, index.h("cura-heading", { key: 'ff92297c1261d69ef9fa8c2b9cdbfee6365b08f2', size: "xsmall", weight: "bold", color: "error-dark" }, index.h("slot", { key: 'b84f981ba0cff218b5bf0c94a014c83daaa184ac' })))));
20
20
  }
21
21
  };
22
22
  CuraDropdownSearchNotFound.style = curaDropdownSearchNotFoundCss();
@@ -22,7 +22,7 @@ const CuraIconsView = class {
22
22
  this.sizes.unshift(this.sizes.pop());
23
23
  }
24
24
  render() {
25
- return (index.h(index.Host, { key: '08ac6235b9218c2202cd4957bb78100216b5b680' }, index.h("div", { key: '71856330d5f050d46b83c06125d29a235532bf98', class: "iconDetail" }, index.h("cura-heading", { key: '2520247cde8d71b1a31ce028c4525b04e6302bf1', size: "small", "margin-block": "0 24px" }, "Icon: ", index.h("b", { key: '5cf48d96ed36dd5514357c65b0ec8c9f137bb1e4' }, this.selected)), index.h("div", { key: '7eda1e7db5efc89abb583631a5e959e31397684f', class: "iconSizes" }, this.sizes.map(size => index.h("div", { class: "size" }, index.h("cura-icon", { name: this.selected, size: size }), index.h("span", null, size)))), index.h("div", { key: 'f443dab7e85fe89a207da8fbefb024b0c22fa084', class: "iconSizes invert" }, this.sizes.map(size => index.h("div", { class: "size" }, index.h("cura-icon", { name: this.selected, size: size, color: "neutral-white" }), index.h("span", null, size))))), index.h("div", { key: '5ea3b71259ae5454297a94aef4ce1e154c968512', class: "icons" }, iconsetdefaulticons.map(icon => index.h("div", { class: { icon: true, selected: icon === this.selected }, onClick: () => this.setSelected(icon) }, index.h("cura-icon", { name: icon, size: "32", color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }), index.h("cura-label", { size: "xsmall", weight: icon === this.selected ? 'bold' : 'regular', color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }, icon))))));
25
+ return (index.h(index.Host, { key: 'f25d10b3f380cc58fd5b4e77b437e09ba0787df4' }, index.h("div", { key: '5162f1c8aff585a60f37ef9af8451dae8b310394', class: "iconDetail" }, index.h("cura-heading", { key: '2e95f88bf98bcb3b5ea8b2ce6b015ef5d3c984e5', size: "small", "margin-block": "0 24px" }, "Icon: ", index.h("b", { key: '102d867291ca3af92c370f044a7140571b15c737' }, this.selected)), index.h("div", { key: 'e2fd0833644705ea8b406508be51c6d2d5683d24', class: "iconSizes" }, this.sizes.map(size => index.h("div", { class: "size" }, index.h("cura-icon", { name: this.selected, size: size }), index.h("span", null, size)))), index.h("div", { key: 'fa842318750f3cdb5e5d7f7333c9221aaf66b585', class: "iconSizes invert" }, this.sizes.map(size => index.h("div", { class: "size" }, index.h("cura-icon", { name: this.selected, size: size, color: "neutral-white" }), index.h("span", null, size))))), index.h("div", { key: 'a25fd5649fe3bda93f80208e634790da44dde89b', class: "icons" }, iconsetdefaulticons.map(icon => index.h("div", { class: { icon: true, selected: icon === this.selected }, onClick: () => this.setSelected(icon) }, index.h("cura-icon", { name: icon, size: "32", color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }), index.h("cura-label", { size: "xsmall", weight: icon === this.selected ? 'bold' : 'regular', color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }, icon))))));
26
26
  }
27
27
  };
28
28
  CuraIconsView.style = curaIconsViewCss();
@@ -189,7 +189,7 @@ const CuraInputDate = class {
189
189
  }
190
190
  }
191
191
  render() {
192
- return (index.h(index.Host, { key: 'a274509eede61a43a6677fbf20dc4645c745d41d' }, index.h("div", { key: '857056581ab374e280ab442aecc49d6b93a21cd2', class: "container", style: this.styles }, index.h("cura-input-text", { key: '417fd4a96ea71a747f7fee55e7a5b524c6b51ef5', label: this.label, name: this.name, status: this.status, value: this.value, onFocus: () => this.showCalendar(), size: this.size, "icon-name": this.iconName, placeholder: this.dateSettings.placeholder, "mask-preset": this.dateSettings.mask, "enable-selection-mode": true, onKeyUp: event => this.handleInputDates(event), autocomplete: "off", onValueChange: event => this.handleChangeDates(event) }, this.renderCalendarOrHelperText()))));
192
+ return (index.h(index.Host, { key: 'fe506eeb9ca1193994e8988f59f7d39aa09afb7c' }, index.h("div", { key: '33b50ee8b32c70855ec061a0fb9747203f473a62', class: "container", style: this.styles }, index.h("cura-input-text", { key: '8c3d0254c3b6dcd0b24a5c5a27e1b4aeda4c83df', label: this.label, name: this.name, status: this.status, value: this.value, onFocus: () => this.showCalendar(), size: this.size, "icon-name": this.iconName, placeholder: this.dateSettings.placeholder, "mask-preset": this.dateSettings.mask, "enable-selection-mode": true, onKeyUp: event => this.handleInputDates(event), autocomplete: "off", onValueChange: event => this.handleChangeDates(event) }, this.renderCalendarOrHelperText()))));
193
193
  }
194
194
  static get formAssociated() { return true; }
195
195
  get el() { return index.getElement(this); }