@paperless/core 2.0.1-beta.43 → 2.0.1-beta.45

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 (245) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/build/{p-d6bda000.entry.js → p-146bb45f.entry.js} +2 -2
  3. package/dist/build/p-146bb45f.entry.js.map +1 -0
  4. package/dist/build/p-2000298f.entry.js +2 -0
  5. package/dist/build/p-2000298f.entry.js.map +1 -0
  6. package/dist/build/p-308e4330.js +2 -0
  7. package/dist/build/p-308e4330.js.map +1 -0
  8. package/dist/build/p-410c1df5.entry.js +2 -0
  9. package/dist/build/p-410c1df5.entry.js.map +1 -0
  10. package/dist/build/{p-2218e936.js → p-496a698b.js} +1 -1
  11. package/dist/build/p-64fc708f.entry.js +2 -0
  12. package/dist/build/p-64fc708f.entry.js.map +1 -0
  13. package/dist/build/p-7c6f6a23.entry.js +2 -0
  14. package/dist/build/p-7c6f6a23.entry.js.map +1 -0
  15. package/dist/build/p-7c8fa6b6.entry.js +2 -0
  16. package/dist/build/p-7c8fa6b6.entry.js.map +1 -0
  17. package/dist/build/p-8745a553.entry.js +2 -0
  18. package/dist/build/p-8745a553.entry.js.map +1 -0
  19. package/dist/build/p-8ca9c7c7.entry.js +2 -0
  20. package/dist/build/p-8ca9c7c7.entry.js.map +1 -0
  21. package/dist/build/p-9b01475d.entry.js +2 -0
  22. package/dist/build/p-9b01475d.entry.js.map +1 -0
  23. package/dist/build/p-cd9dbf02.entry.js +2 -0
  24. package/dist/build/p-cd9dbf02.entry.js.map +1 -0
  25. package/dist/build/p-db1cf43e.entry.js +2 -0
  26. package/dist/build/p-db1cf43e.entry.js.map +1 -0
  27. package/dist/build/p-dbf71a6f.entry.js +2 -0
  28. package/dist/build/p-dbf71a6f.entry.js.map +1 -0
  29. package/dist/build/p-edb96664.entry.js +2 -0
  30. package/dist/build/p-edb96664.entry.js.map +1 -0
  31. package/dist/build/paperless.esm.js +1 -1
  32. package/dist/build/paperless.esm.js.map +1 -1
  33. package/dist/cjs/as-boolean-777950b0.js +15 -0
  34. package/dist/cjs/as-boolean-777950b0.js.map +1 -0
  35. package/dist/cjs/loader.cjs.js +1 -1
  36. package/dist/cjs/p-backdrop.cjs.entry.js +7 -3
  37. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  38. package/dist/cjs/p-badge_3.cjs.entry.js +5 -4
  39. package/dist/cjs/p-badge_3.cjs.entry.js.map +1 -1
  40. package/dist/cjs/p-button_3.cjs.entry.js +12 -11
  41. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  42. package/dist/cjs/p-checkbox_2.cjs.entry.js +8 -7
  43. package/dist/cjs/p-checkbox_2.cjs.entry.js.map +1 -1
  44. package/dist/cjs/p-datepicker.cjs.entry.js +3 -2
  45. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
  46. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +5 -4
  47. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  48. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +13 -12
  49. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js.map +1 -1
  50. package/dist/cjs/p-field_2.cjs.entry.js +13 -12
  51. package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
  52. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +7 -6
  53. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  54. package/dist/cjs/p-navigation-item.cjs.entry.js +4 -3
  55. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  56. package/dist/cjs/p-radio.cjs.entry.js +7 -6
  57. package/dist/cjs/p-radio.cjs.entry.js.map +1 -1
  58. package/dist/cjs/p-select.cjs.entry.js +2 -1
  59. package/dist/cjs/p-select.cjs.entry.js.map +1 -1
  60. package/dist/cjs/p-toggle.cjs.entry.js +6 -5
  61. package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
  62. package/dist/cjs/paperless.cjs.js +1 -1
  63. package/dist/collection/components/atoms/backdrop/backdrop.component.js +7 -3
  64. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
  65. package/dist/collection/components/atoms/checkbox/checkbox.component.js +8 -7
  66. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
  67. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +5 -4
  68. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  69. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +12 -11
  70. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  71. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +9 -8
  72. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  73. package/dist/collection/components/atoms/radio/radio.component.js +7 -6
  74. package/dist/collection/components/atoms/radio/radio.component.js.map +1 -1
  75. package/dist/collection/components/atoms/segment-item/segment-item.component.js +5 -4
  76. package/dist/collection/components/atoms/segment-item/segment-item.component.js.map +1 -1
  77. package/dist/collection/components/atoms/toggle/toggle.component.js +6 -5
  78. package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -1
  79. package/dist/collection/components/molecules/button/button.component.js +12 -11
  80. package/dist/collection/components/molecules/button/button.component.js.map +1 -1
  81. package/dist/collection/components/molecules/datepicker/datepicker.component.js +3 -2
  82. package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
  83. package/dist/collection/components/molecules/field/field.component.js +11 -10
  84. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  85. package/dist/collection/components/molecules/field-container/field-container.component.js +3 -2
  86. package/dist/collection/components/molecules/field-container/field-container.component.js.map +1 -1
  87. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +4 -3
  88. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  89. package/dist/collection/components/molecules/pagination-size/pagination-size.component.js +4 -3
  90. package/dist/collection/components/molecules/pagination-size/pagination-size.component.js.map +1 -1
  91. package/dist/collection/components/molecules/select/select.component.js +2 -1
  92. package/dist/collection/components/molecules/select/select.component.js.map +1 -1
  93. package/dist/collection/utils/as-boolean.js +10 -0
  94. package/dist/collection/utils/as-boolean.js.map +1 -0
  95. package/dist/components/as-boolean.js +13 -0
  96. package/dist/components/as-boolean.js.map +1 -0
  97. package/dist/components/backdrop.component.js +7 -3
  98. package/dist/components/backdrop.component.js.map +1 -1
  99. package/dist/components/button.component.js +12 -11
  100. package/dist/components/button.component.js.map +1 -1
  101. package/dist/components/checkbox.component.js +8 -7
  102. package/dist/components/checkbox.component.js.map +1 -1
  103. package/dist/components/dropdown-menu-container.component.js +5 -4
  104. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  105. package/dist/components/dropdown-menu-item.component.js +10 -9
  106. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  107. package/dist/components/field-container.component.js +3 -2
  108. package/dist/components/field-container.component.js.map +1 -1
  109. package/dist/components/field.component.js +11 -10
  110. package/dist/components/field.component.js.map +1 -1
  111. package/dist/components/floating-menu-item.component.js +9 -8
  112. package/dist/components/floating-menu-item.component.js.map +1 -1
  113. package/dist/components/p-datepicker.js +3 -2
  114. package/dist/components/p-datepicker.js.map +1 -1
  115. package/dist/components/p-navigation-item.js +4 -3
  116. package/dist/components/p-navigation-item.js.map +1 -1
  117. package/dist/components/p-radio.js +7 -6
  118. package/dist/components/p-radio.js.map +1 -1
  119. package/dist/components/p-select.js +2 -1
  120. package/dist/components/p-select.js.map +1 -1
  121. package/dist/components/p-toggle.js +6 -5
  122. package/dist/components/p-toggle.js.map +1 -1
  123. package/dist/components/pagination-size.component.js +4 -3
  124. package/dist/components/pagination-size.component.js.map +1 -1
  125. package/dist/components/segment-item.component.js +5 -4
  126. package/dist/components/segment-item.component.js.map +1 -1
  127. package/dist/esm/as-boolean-141b269b.js +13 -0
  128. package/dist/esm/as-boolean-141b269b.js.map +1 -0
  129. package/dist/esm/loader.js +1 -1
  130. package/dist/esm/p-backdrop.entry.js +7 -3
  131. package/dist/esm/p-backdrop.entry.js.map +1 -1
  132. package/dist/esm/p-badge_3.entry.js +5 -4
  133. package/dist/esm/p-badge_3.entry.js.map +1 -1
  134. package/dist/esm/p-button_3.entry.js +12 -11
  135. package/dist/esm/p-button_3.entry.js.map +1 -1
  136. package/dist/esm/p-checkbox_2.entry.js +8 -7
  137. package/dist/esm/p-checkbox_2.entry.js.map +1 -1
  138. package/dist/esm/p-datepicker.entry.js +3 -2
  139. package/dist/esm/p-datepicker.entry.js.map +1 -1
  140. package/dist/esm/p-dropdown-menu-container.entry.js +5 -4
  141. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  142. package/dist/esm/p-dropdown-menu-item_4.entry.js +13 -12
  143. package/dist/esm/p-dropdown-menu-item_4.entry.js.map +1 -1
  144. package/dist/esm/p-field_2.entry.js +13 -12
  145. package/dist/esm/p-field_2.entry.js.map +1 -1
  146. package/dist/esm/p-floating-menu-container_8.entry.js +7 -6
  147. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  148. package/dist/esm/p-navigation-item.entry.js +4 -3
  149. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  150. package/dist/esm/p-radio.entry.js +7 -6
  151. package/dist/esm/p-radio.entry.js.map +1 -1
  152. package/dist/esm/p-select.entry.js +2 -1
  153. package/dist/esm/p-select.entry.js.map +1 -1
  154. package/dist/esm/p-toggle.entry.js +6 -5
  155. package/dist/esm/p-toggle.entry.js.map +1 -1
  156. package/dist/esm/paperless.js +1 -1
  157. package/dist/index.html +1 -1
  158. package/dist/paperless/{p-d6bda000.entry.js → p-146bb45f.entry.js} +2 -2
  159. package/dist/paperless/p-146bb45f.entry.js.map +1 -0
  160. package/dist/paperless/p-2000298f.entry.js +2 -0
  161. package/dist/paperless/p-2000298f.entry.js.map +1 -0
  162. package/dist/paperless/p-308e4330.js +2 -0
  163. package/dist/paperless/p-308e4330.js.map +1 -0
  164. package/dist/paperless/p-410c1df5.entry.js +2 -0
  165. package/dist/paperless/p-410c1df5.entry.js.map +1 -0
  166. package/dist/paperless/p-64fc708f.entry.js +2 -0
  167. package/dist/paperless/p-64fc708f.entry.js.map +1 -0
  168. package/dist/paperless/p-7c6f6a23.entry.js +2 -0
  169. package/dist/paperless/p-7c6f6a23.entry.js.map +1 -0
  170. package/dist/paperless/p-7c8fa6b6.entry.js +2 -0
  171. package/dist/paperless/p-7c8fa6b6.entry.js.map +1 -0
  172. package/dist/paperless/p-8745a553.entry.js +2 -0
  173. package/dist/paperless/p-8745a553.entry.js.map +1 -0
  174. package/dist/paperless/p-8ca9c7c7.entry.js +2 -0
  175. package/dist/paperless/p-8ca9c7c7.entry.js.map +1 -0
  176. package/dist/paperless/p-9b01475d.entry.js +2 -0
  177. package/dist/paperless/p-9b01475d.entry.js.map +1 -0
  178. package/dist/paperless/p-cd9dbf02.entry.js +2 -0
  179. package/dist/paperless/p-cd9dbf02.entry.js.map +1 -0
  180. package/dist/paperless/p-db1cf43e.entry.js +2 -0
  181. package/dist/paperless/p-db1cf43e.entry.js.map +1 -0
  182. package/dist/paperless/p-dbf71a6f.entry.js +2 -0
  183. package/dist/paperless/p-dbf71a6f.entry.js.map +1 -0
  184. package/dist/paperless/p-edb96664.entry.js +2 -0
  185. package/dist/paperless/p-edb96664.entry.js.map +1 -0
  186. package/dist/paperless/paperless.esm.js +1 -1
  187. package/dist/paperless/paperless.esm.js.map +1 -1
  188. package/dist/sw.js +1 -1
  189. package/dist/sw.js.map +1 -1
  190. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +1 -1
  191. package/dist/types/components.d.ts +1 -1
  192. package/dist/types/utils/as-boolean.d.ts +1 -0
  193. package/hydrate/index.js +93 -79
  194. package/hydrate/index.mjs +93 -79
  195. package/package.json +1 -1
  196. package/dist/build/p-04459f71.entry.js +0 -2
  197. package/dist/build/p-04459f71.entry.js.map +0 -1
  198. package/dist/build/p-05a76cb5.entry.js +0 -2
  199. package/dist/build/p-05a76cb5.entry.js.map +0 -1
  200. package/dist/build/p-1c725862.entry.js +0 -2
  201. package/dist/build/p-1c725862.entry.js.map +0 -1
  202. package/dist/build/p-2841c42f.entry.js +0 -2
  203. package/dist/build/p-2841c42f.entry.js.map +0 -1
  204. package/dist/build/p-590a1b81.entry.js +0 -2
  205. package/dist/build/p-590a1b81.entry.js.map +0 -1
  206. package/dist/build/p-711bb72e.entry.js +0 -2
  207. package/dist/build/p-711bb72e.entry.js.map +0 -1
  208. package/dist/build/p-885497ca.entry.js +0 -2
  209. package/dist/build/p-885497ca.entry.js.map +0 -1
  210. package/dist/build/p-a64d7a8d.entry.js +0 -2
  211. package/dist/build/p-a64d7a8d.entry.js.map +0 -1
  212. package/dist/build/p-ba0e7853.entry.js +0 -2
  213. package/dist/build/p-ba0e7853.entry.js.map +0 -1
  214. package/dist/build/p-d6bda000.entry.js.map +0 -1
  215. package/dist/build/p-eb654d58.entry.js +0 -2
  216. package/dist/build/p-eb654d58.entry.js.map +0 -1
  217. package/dist/build/p-ef2983f6.entry.js +0 -2
  218. package/dist/build/p-ef2983f6.entry.js.map +0 -1
  219. package/dist/build/p-ff6356cb.entry.js +0 -2
  220. package/dist/build/p-ff6356cb.entry.js.map +0 -1
  221. package/dist/paperless/p-04459f71.entry.js +0 -2
  222. package/dist/paperless/p-04459f71.entry.js.map +0 -1
  223. package/dist/paperless/p-05a76cb5.entry.js +0 -2
  224. package/dist/paperless/p-05a76cb5.entry.js.map +0 -1
  225. package/dist/paperless/p-1c725862.entry.js +0 -2
  226. package/dist/paperless/p-1c725862.entry.js.map +0 -1
  227. package/dist/paperless/p-2841c42f.entry.js +0 -2
  228. package/dist/paperless/p-2841c42f.entry.js.map +0 -1
  229. package/dist/paperless/p-590a1b81.entry.js +0 -2
  230. package/dist/paperless/p-590a1b81.entry.js.map +0 -1
  231. package/dist/paperless/p-711bb72e.entry.js +0 -2
  232. package/dist/paperless/p-711bb72e.entry.js.map +0 -1
  233. package/dist/paperless/p-885497ca.entry.js +0 -2
  234. package/dist/paperless/p-885497ca.entry.js.map +0 -1
  235. package/dist/paperless/p-a64d7a8d.entry.js +0 -2
  236. package/dist/paperless/p-a64d7a8d.entry.js.map +0 -1
  237. package/dist/paperless/p-ba0e7853.entry.js +0 -2
  238. package/dist/paperless/p-ba0e7853.entry.js.map +0 -1
  239. package/dist/paperless/p-d6bda000.entry.js.map +0 -1
  240. package/dist/paperless/p-eb654d58.entry.js +0 -2
  241. package/dist/paperless/p-eb654d58.entry.js.map +0 -1
  242. package/dist/paperless/p-ef2983f6.entry.js +0 -2
  243. package/dist/paperless/p-ef2983f6.entry.js.map +0 -1
  244. package/dist/paperless/p-ff6356cb.entry.js +0 -2
  245. package/dist/paperless/p-ff6356cb.entry.js.map +0 -1
package/hydrate/index.js CHANGED
@@ -2752,6 +2752,16 @@ class AvatarGroup {
2752
2752
  }; }
2753
2753
  }
2754
2754
 
2755
+ const asBoolean = (value, defaultValue = false) => {
2756
+ if (value === undefined || value === null) {
2757
+ return defaultValue ?? false;
2758
+ }
2759
+ if (typeof value === 'string') {
2760
+ return value.toLowerCase() === 'true';
2761
+ }
2762
+ return !!value;
2763
+ };
2764
+
2755
2765
  const backdropComponentCss = "*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.fixed{position:fixed!important}.left-0{left:0!important}.top-0{top:0!important}.z-backdrop{z-index:490!important}.flex{display:flex!important}.h-full{height:100%!important}.w-full{width:100%!important}.animate-fade-in{animation:fadeIn .2s ease forwards!important}.animate-fade-out{animation:fadeOut .2s ease forwards!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.overflow-hidden{overflow:hidden!important}.overflow-y-auto{overflow-y:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.bg-black-teal-800\\/40{background-color:rgba(0,2,2,.4)!important}.pt-16{padding-top:4rem!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.max-h-screen{max-height:100vh!important}.max-w-screen{max-width:100vw!important}@media (min-width:40rem){.tablet\\:px-16{padding-left:4rem!important;padding-right:4rem!important}}@media (min-width:64rem){.desktop-xs\\:items-start{align-items:flex-start!important}.desktop-xs\\:items-stretch{align-items:stretch!important}.desktop-xs\\:p-16{padding:4rem!important}}";
2756
2766
  var PBackdropStyle0 = backdropComponentCss;
2757
2767
 
@@ -2827,10 +2837,13 @@ class Backdrop {
2827
2837
  }
2828
2838
  }
2829
2839
  render() {
2830
- return (hAsync(Host, { key: '95ac511a34ab0b04574d8bef8b6b5730de679c09', class: backdrop$1({ blur: this.applyBlur, closing: this.closing }) }, hAsync("div", { key: 'd94b9d754981ac58f34ee3c8a8a4506640c65b22', class: contentContainer({
2840
+ return (hAsync(Host, { key: '2d2521c12e265cd9414d84b772f1cefc3055f3d1', class: backdrop$1({
2841
+ blur: asBoolean(this.applyBlur),
2842
+ closing: asBoolean(this.closing),
2843
+ }) }, hAsync("div", { key: '52b66587dfe3e93ed3841c617f84dc04a09810ee', class: contentContainer({
2831
2844
  variant: this.variant,
2832
- closing: this.closing,
2833
- }) }, hAsync("slot", { key: '8ebcf135d1ea574e29210beebeab28998b563dff' }))));
2845
+ closing: asBoolean(this.closing),
2846
+ }) }, hAsync("slot", { key: '23b3ab4ce6153000749bc23447ec049b3efb0366' }))));
2834
2847
  }
2835
2848
  handleClick(ev) {
2836
2849
  if (ev.target !== this._el && !this._el.contains(ev.target)) {
@@ -3169,24 +3182,24 @@ class Button {
3169
3182
  const VariableTag = this.variant === 'text' || this.href?.length || this.as === 'a'
3170
3183
  ? 'a'
3171
3184
  : 'button';
3172
- const active = this.active || this.class?.includes('active');
3173
- return (hAsync(Host, { key: '953bc72ccbf5cbaf885fdfedcba5b93d5e75331e', class: 'p-button inline-block' }, hAsync(VariableTag, { key: '6e32032b8f01ca2e1183fdada3233b0f8038a88c', disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
3185
+ const active = asBoolean(this.active) || this.class?.includes('active');
3186
+ return (hAsync(Host, { key: 'c07e9f061c1ced17cedb0b7bbbbac5d00177cb70', class: 'p-button inline-block' }, hAsync(VariableTag, { key: 'bb09f943cfa2428f8d4f94c40713f3c9cb47bbd5', disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
3174
3187
  variant: this.variant,
3175
3188
  size: this.size,
3176
- underline: this.underline,
3177
- loading: this.loading,
3178
- disabled: this.disabled,
3189
+ underline: asBoolean(this.underline, true),
3190
+ loading: asBoolean(this.loading),
3191
+ disabled: asBoolean(this.disabled),
3179
3192
  buttonGroupPosition: this.buttonGroupPosition,
3180
- iconOnly: this.iconOnly,
3193
+ iconOnly: asBoolean(this.iconOnly),
3181
3194
  active,
3182
- }) }, this.chevron && this.chevronPosition === 'start' && (hAsync("p-icon", { key: '1e147d6354410e5eb10dea1762a07a3e07482dd5', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
3195
+ }) }, this.chevron && this.chevronPosition === 'start' && (hAsync("p-icon", { key: '8b8161a8e018ede3555974b56ac725758fe74fac', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
3183
3196
  this.iconPosition === 'start' &&
3184
3197
  !(this.iconOnly && this.loading) &&
3185
- this._getIcon(), hAsync("slot", { key: '145ebb2b41c0e1bc120512d17f240e6378416e7f' }), this.icon &&
3198
+ this._getIcon(), hAsync("slot", { key: '168574cbad66d2d7d4f81819d45925a4ee73d4e6' }), this.icon &&
3186
3199
  this.iconPosition === 'end' &&
3187
3200
  !this.loading &&
3188
3201
  !this.chevron &&
3189
- this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (hAsync("p-icon", { key: '41da9a08e588012f5e92368061280d4f77dac48e', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && hAsync("p-loader", { key: '88edf474096e64d4c04f019f6fcd59645594388b', color: loaderColor }))));
3202
+ this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (hAsync("p-icon", { key: '6a78154cefef83683a144dff242d01a092bb1c35', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && hAsync("p-loader", { key: '06b9874656622c1324ec804581f7e66c0e233e2f', color: loaderColor }))));
3190
3203
  }
3191
3204
  handleClick(ev) {
3192
3205
  if (this.loading || this.disabled) {
@@ -3202,8 +3215,8 @@ class Button {
3202
3215
  return (hAsync("p-icon", { class: icon$3({
3203
3216
  size: this.size,
3204
3217
  variant: this.variant,
3205
- disabled: this.disabled,
3206
- active: this.active,
3218
+ disabled: asBoolean(this.disabled),
3219
+ active: asBoolean(this.active),
3207
3220
  }), variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
3208
3221
  }
3209
3222
  static get style() { return PButtonStyle0; }
@@ -12203,13 +12216,13 @@ class Checkbox {
12203
12216
  */
12204
12217
  indeterminateChange;
12205
12218
  render() {
12206
- return (hAsync(Host, { key: '3fc7254132b37579295b56aa49cd9d5313ca1b17', class: 'p-checkbox' }, hAsync("label", { key: 'bcb109993fb2219ed2575773976f5c312dd70999', htmlFor: this.id ?? this._nonce, class: 'group/p-checkbox flex items-center justify-start gap-2 text-black-teal' }, hAsync("div", { key: '8a248d351a959bcc8095024d739c20243a69e797', class: 'relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'a297cea3c229c9d5241884732f6281cc4ae471a2', class: checkbox$1({
12207
- disabled: this.disabled,
12208
- }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), hAsync("div", { key: '59733c1ee445272627bb3f11bf8f9a59798755fa', class: iconContainer({
12209
- disabled: this.disabled,
12210
- }) }, hAsync("p-icon", { key: 'd31d40111ef2073daca07fdc4ec994a31350cc40', class: icon$2({
12211
- disabled: this.disabled,
12212
- }), size: 'auto', variant: !!this.indeterminate ? 'minus' : 'checkmarkThick' }))), hAsync("slot", { key: 'd5bc07c185226d73f5823afdd437b4b1f208240d' }))));
12219
+ return (hAsync(Host, { key: '67d7d568e204e24280ec939c20b9df9940d32866', class: 'p-checkbox' }, hAsync("label", { key: '1726a9fd3784633f385ab222399e0d9749d9a757', htmlFor: this.id ?? this._nonce, class: 'group/p-checkbox flex items-center justify-start gap-2 text-black-teal' }, hAsync("div", { key: '0dbf6abd950aa26e270ab2d7ca561636693d1cad', class: 'relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'dcf66a3a330c0f9ce2b825397372ba4435e2313b', class: checkbox$1({
12220
+ disabled: asBoolean(this.disabled),
12221
+ }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: asBoolean(this.required), checked: !!this.checked, indeterminate: this.indeterminate, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), hAsync("div", { key: '2297a0eb43fa60076b96ea4023297a929ed1fe95', class: iconContainer({
12222
+ disabled: asBoolean(this.disabled),
12223
+ }) }, hAsync("p-icon", { key: '65670d446eacc9640628a07e409ced8fa1c19df4', class: icon$2({
12224
+ disabled: asBoolean(this.disabled),
12225
+ }), size: 'auto', variant: !!this.indeterminate ? 'minus' : 'checkmarkThick' }))), hAsync("slot", { key: 'e0fdb4ea59fe99badb2a80ba582d5b5eca313abf' }))));
12213
12226
  }
12214
12227
  _onChange(ev) {
12215
12228
  if (this.disabled) {
@@ -20001,9 +20014,9 @@ class Datepicker {
20001
20014
  this.parseValue(this.value);
20002
20015
  }
20003
20016
  render() {
20004
- return (hAsync(Host, { key: '5eb880c345d56b9e74899183775426c84712025f', class: 'p-datepicker' }, hAsync("p-dropdown", { key: 'e6e698d7d5f18c1d59ea5dd853cd90902efc021c', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, hAsync("p-field", { key: '86b71559a5af280e773350bc09e5a2a93a79a1ea', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, disabled: this.disabled, focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (hAsync("input", { key: '9895991baddee049e48e1a277596b5dbb6e13e0a', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'h-0 overflow-hidden' // we use h-0 here so location dependent pickers can correctly place itself
20017
+ return (hAsync(Host, { key: '016227b024586201499ed79a01eb337599bb2333', class: 'p-datepicker' }, hAsync("p-dropdown", { key: '698a9aaf9199c3b5ecd4e90aec27a020a28a40dc', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, hAsync("p-field", { key: '7c21946bb9499607ac1757c40fe928e8c360a6c6', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: asBoolean(this.required), error: this.error, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (hAsync("input", { key: 'bccd4e6fec3943a932db54ce9bb6ee050e6796f5', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'h-0 overflow-hidden' // we use h-0 here so location dependent pickers can correctly place itself
20005
20018
  ,
20006
- onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), hAsync("div", { key: '2119a5a698d538c40a00083bbf79626ad6cfd444', slot: 'items' }, hAsync("p-calendar", { key: 'b4f861f1df9ac62f5f05b570a48b223de2048adb', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
20019
+ onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), hAsync("div", { key: '76509e1becad7c6022d09cce6737696429ea36c9', slot: 'items' }, hAsync("p-calendar", { key: '8b828cafab764a4e290f862d8fb507b686639160', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
20007
20020
  }
20008
20021
  documentClickHandler({ target }) {
20009
20022
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -22596,14 +22609,14 @@ class DropdownMenuContainer {
22596
22609
  : this.scrollable === true
22597
22610
  ? 'default'
22598
22611
  : this.scrollable;
22599
- return (hAsync(Host, { key: '04e1181dd9274ed1668002ddf4f63e4739cf5282', class: dropdownMenuContainer({
22612
+ return (hAsync(Host, { key: '40d82bee7fcc639ec89b6824ef8cfbbdcd3ed42c', class: dropdownMenuContainer({
22600
22613
  class: this.class,
22601
22614
  variant: this.variant,
22602
- fullWidth: this.fullWidth,
22603
- allowOverflow: this.allowOverflow,
22615
+ fullWidth: asBoolean(this.fullWidth, true),
22616
+ allowOverflow: asBoolean(this.allowOverflow),
22604
22617
  scrollable,
22605
22618
  maxWidth: this.maxWidth,
22606
- }) }, hAsync("div", { key: 'a8c270e32fd7b89953e923e99574d561e3bfdb21', class: 'flex w-full flex-col gap-[1px]' }, hAsync("slot", { key: '520a112ce75a4dad3fafbbe233db1b87344bf480' }))));
22619
+ }) }, hAsync("div", { key: '178eca33c0f2a3c0bd488fd2533f3cc9d74fe3ce', class: 'flex w-full flex-col gap-[1px]' }, hAsync("slot", { key: 'facfdfe6229e88177bc2adac657e8bb2df923812' }))));
22607
22620
  }
22608
22621
  static get style() { return PDropdownMenuContainerStyle0; }
22609
22622
  static get cmpMeta() { return {
@@ -22776,22 +22789,22 @@ class DropdownMenuItem {
22776
22789
  this.active = false;
22777
22790
  this.checkbox = false;
22778
22791
  this.variant = 'default';
22779
- this.enableHover = true;
22792
+ this.enableHover = false;
22780
22793
  this.disabled = false;
22781
22794
  this.icon = undefined;
22782
22795
  this.useContainer = true;
22783
22796
  }
22784
22797
  render() {
22785
- return (hAsync(Host, { key: '32964bd59857a3a902c7e27641dfe04040e71cf8', class: dropdownMenuItem({
22798
+ return (hAsync(Host, { key: '2d41e180b8c3134d323188998af074678036754c', class: dropdownMenuItem({
22786
22799
  variant: this.variant,
22787
- active: this.active,
22788
- enableHover: this.enableHover,
22789
- disabled: this.disabled,
22790
- }) }, this.icon && (hAsync("p-icon", { key: '2dcd2db6b8bced38d21fe16cecc8d76b9298dec0', class: dropdownMenuItemIcon({
22800
+ active: asBoolean(this.active),
22801
+ enableHover: asBoolean(this.enableHover ?? true),
22802
+ disabled: asBoolean(this.disabled),
22803
+ }) }, this.icon && (hAsync("p-icon", { key: '12a5e2703c8d60e82d20031bd49a4a1bbe229c56', class: dropdownMenuItemIcon({
22791
22804
  variant: this.variant,
22792
- active: this.active,
22793
- disabled: this.disabled,
22794
- }), variant: this.icon })), this.checkbox && (hAsync("p-checkbox", { key: '83b9eb1dedd3f7bcaf9e064167832b1b9ec7dbd3', checked: this.active, disabled: this.disabled })), this.useContainer ? (hAsync("div", { class: 'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start' }, hAsync("slot", null))) : (hAsync("slot", null))));
22805
+ active: asBoolean(this.active),
22806
+ disabled: asBoolean(this.disabled),
22807
+ }), variant: this.icon })), this.checkbox && (hAsync("p-checkbox", { key: 'f30b4ca26e3aa12bb16dba87e8d49d527263e5fd', checked: this.active, disabled: this.disabled })), this.useContainer ? (hAsync("div", { class: 'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start' }, hAsync("slot", null))) : (hAsync("slot", null))));
22795
22808
  }
22796
22809
  static get style() { return PDropdownMenuItemStyle0; }
22797
22810
  static get cmpMeta() { return {
@@ -22993,24 +23006,24 @@ class Field {
22993
23006
  }
22994
23007
  render() {
22995
23008
  const { prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
22996
- return (hAsync(Host, { key: '1b8b2dc1097acc0e526ee2c968b5756d5cd3d2ba', class: 'p-field' }, hAsync("p-field-container", { key: '3ef9f6354992d470676935728bf12d92710b4fe0', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required, variant: this.variant }, hasLabelSlot && (hAsync("slot", { key: '4489a94949ab662ec88f35b699a362f6c54748c1', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: '6d1a46d462c5388c19513831344072267ef8a404', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: '5cee513bbcfa0eeb02482b04869087d9b600f3b8', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: 'b9564cb87621082013c6efc3b0f9e816ce48c745', name: 'error', slot: 'error' })), hAsync("div", { key: 'aded5884f1b8f92d96de9ea82da6c4d26e9fcb2c', class: field({
23009
+ return (hAsync(Host, { key: '079dfe17253a415691af3987db6df8e591d33cdf', class: 'p-field' }, hAsync("p-field-container", { key: '6e46a083e870185797121c45181e0a6f1b17690f', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required, variant: this.variant }, hasLabelSlot && (hAsync("slot", { key: '3984fb0ffff9395af9e6cd1be0205543775bcb08', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: '314d551c1c148ddcdc5688f3ac09a59f3dc63e77', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: 'ea7f601d373f1067d56ebb57f40dcc0816472b4f', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: '084580040cb940f887c346d76462ec17864b6206', name: 'error', slot: 'error' })), hAsync("div", { key: '6c6d6f161b9cb68a0b35b5edcf7311c1ed32326a', class: field({
22997
23010
  error: !!this.error?.length,
22998
- disabled: this.disabled,
22999
- focused: this.focused || this._focused,
23011
+ disabled: asBoolean(this.disabled),
23012
+ focused: asBoolean(this.focused) || this._focused,
23000
23013
  size: this.size,
23001
23014
  variant: this.variant,
23002
23015
  isTextarea: this.type === 'textarea',
23003
- }), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '871a874efbe824fda3649baf84d6bfb2df825cdf', class: prefixAndSuffix({
23016
+ }), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '980f8cffb7d3efe3d6534c88aa43a715ec2760bf', class: prefixAndSuffix({
23004
23017
  error: !!this.error?.length,
23005
- disabled: this.disabled,
23006
- focused: this.focused || this._focused,
23018
+ disabled: asBoolean(this.disabled),
23019
+ focused: asBoolean(this.focused) || this._focused,
23007
23020
  isText: typeof suffix === 'string',
23008
23021
  }), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (hAsync("p-icon", { class: cn('flex', {
23009
23022
  'mt-1': this.variant === 'read' && this.size === 'base',
23010
- }), variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot), (suffix || (this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '9aff1cd76d5581d5ef7a842f91e9d5f88fa479a7', class: prefixAndSuffix({
23023
+ }), variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot), (suffix || (this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '22604fd27aec86f1bda1a9757f5802420b7ef145', class: prefixAndSuffix({
23011
23024
  error: !!this.error?.length,
23012
- disabled: this.disabled,
23013
- focused: this.focused || this._focused,
23025
+ disabled: asBoolean(this.disabled),
23026
+ focused: asBoolean(this.focused) || this._focused,
23014
23027
  isText: typeof suffix === 'string',
23015
23028
  }), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'end' ? (hAsync("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix)))))));
23016
23029
  }
@@ -23060,7 +23073,7 @@ class Field {
23060
23073
  }
23061
23074
  const props = {
23062
23075
  class: input({
23063
- disabled: this.disabled,
23076
+ disabled: asBoolean(this.disabled),
23064
23077
  isTextarea: this.type === 'textarea',
23065
23078
  }),
23066
23079
  value: this.value,
@@ -23172,8 +23185,8 @@ class FieldContainer {
23172
23185
  }
23173
23186
  render() {
23174
23187
  const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
23175
- const contentSlot = (hAsync("slot", { key: 'a7e3919d645cc21fa538340b0c9ea7a98e66ca90', name: 'content', slot: 'trigger' }));
23176
- return (hAsync(Host, { key: '44a79d2058aafb4d9bf89f09cb3e7a1a708d99f9', class: 'p-field-container' }, hAsync("div", { key: '47af2893a5f27a1a905c846a016c183756d026f8', class: 'flex w-inherit flex-col gap-1' }, hAsync("div", { key: 'cd64bc812c19e11d35ea4eb1756f9885a1f2a148', class: 'flex items-end justify-between gap-1' }, label && (hAsync("div", { key: '962aecba76c4ba9326ed992d6ad39c1efbdab8ab', class: 'text-xs font-medium text-black-teal-300', onClick: () => this.focus.emit() }, label)), (!this.required || helper || hasHeaderSlot) && (hAsync("div", { key: 'd0cdd8810de8098eaca90d2aeddd1f01fbcd0faf', class: 'flex items-center gap-1' }, !this.required && this.variant === 'write' && (hAsync("span", { key: 'e83d37fcb0050bad328d0aa2d6890c1226fe17fb', class: 'text-xs font-medium text-black-teal-200' }, this.optionalTemplate())), (helper || hasHeaderSlot) && (hAsync(Fragment, { key: 'c156ee1c951fec9dbe602cf317ff7591a6bce9bf' }, hasHeaderSlot && hAsync("slot", { key: 'e568644b05673354c9059042b0ba40f137d1709c', name: 'header' }), helper && (hAsync("p-helper", { key: '7dcbdd61deb2eba74abf8f57b245b011fbf9066b', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))))), hAsync("p-tooltip", { key: '08fa8890dc2c859d8e99ae26775cb3c5695cd037', class: this.variant === 'write' ? 'w-full' : '', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean && this.forceShowTooltip, enableUserInput: false, placement: this.errorPlacement }, hasErrorSlot && (hAsync("slot", { key: 'd81dd610ce5957a0f15e8afd02dca9c270a6f63b', name: 'error', slot: 'content' })), contentSlot))));
23188
+ const contentSlot = (hAsync("slot", { key: 'd18320f02edf2c2b03b5bc6e82cd9301f6d3d47b', name: 'content', slot: 'trigger' }));
23189
+ return (hAsync(Host, { key: '60ac93a094833ecf4f5a2c58c31c05e4f7f79623', class: 'p-field-container' }, hAsync("div", { key: 'cd9428b140fa8ca0433c07c6e4b6ecf77701ba44', class: 'flex w-inherit flex-col gap-1' }, hAsync("div", { key: '09a410fc851f9ab65fc71aec2c1df6a59820e0ad', class: 'flex items-end justify-between gap-1' }, label && (hAsync("div", { key: '45024cec09ee0d05241afc3e629c0eb3b1ec46a2', class: 'text-xs font-medium text-black-teal-300', onClick: () => this.focus.emit() }, label)), (!asBoolean(this.required) || helper || hasHeaderSlot) && (hAsync("div", { key: '422ce7b1ef58ef9e2551ae48eba633e65e12795e', class: 'flex items-center gap-1' }, !asBoolean(this.required) && this.variant === 'write' && (hAsync("span", { key: 'ddc043a192f20e85550ea92953d48e7ef0a08f62', class: 'text-xs font-medium text-black-teal-200' }, this.optionalTemplate())), (helper || hasHeaderSlot) && (hAsync(Fragment, { key: 'daa1f96c0fe3b18e1a4cb97a3f278ae12324eb5f' }, hasHeaderSlot && hAsync("slot", { key: '81ab8296ea3966750b762f34ae15fa414e45af4e', name: 'header' }), helper && (hAsync("p-helper", { key: 'b65490c148ee2b62dd2dbfe856ab8fc5cc08c683', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))))), hAsync("p-tooltip", { key: 'ad08dbeea2fa113b4938a65f74f04491f784bf8f', class: this.variant === 'write' ? 'w-full' : '', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean && asBoolean(this.forceShowTooltip), enableUserInput: false, placement: this.errorPlacement }, hasErrorSlot && (hAsync("slot", { key: 'b7cc50a3965e0e31fee0ac898f1a9bbf2d3abc10', name: 'error', slot: 'content' })), contentSlot))));
23177
23190
  }
23178
23191
  async _setLocales() {
23179
23192
  this._locales = await getLocaleComponentStrings(this._el);
@@ -23345,10 +23358,10 @@ class FloatingMenuItem {
23345
23358
  this.iconRotate = undefined;
23346
23359
  }
23347
23360
  render() {
23348
- return (hAsync(Host, { key: '89082d400cd797029c4265e5e35865375c341acf', class: item$1({
23349
- hover: this.hover && !this.loading,
23350
- disabled: this.disabled,
23351
- }) }, this._getIcon(), hAsync("p", { key: '9bd3e924cd1abb96281c8d5adc6b958c526b5884', class: 'min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold' }, hAsync("slot", { key: '61212ad54e7446aff3656f7309f1ac37014dab46' }))));
23361
+ return (hAsync(Host, { key: '3cb99305ad3b1538dd172adda934020013535e6f', class: item$1({
23362
+ hover: asBoolean(this.hover) && !asBoolean(this.loading),
23363
+ disabled: asBoolean(this.disabled),
23364
+ }) }, this._getIcon(), hAsync("p", { key: 'b1800c870b90854a44f8edea23b4e5021a9b1473', class: 'min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold' }, hAsync("slot", { key: '8ebc6d4d9acc37952370737eb5a1abaeff7c81bb' }))));
23352
23365
  }
23353
23366
  _getIcon() {
23354
23367
  if (!this.icon && !this.loading) {
@@ -23358,8 +23371,8 @@ class FloatingMenuItem {
23358
23371
  return hAsync("p-loader", { color: 'white' });
23359
23372
  }
23360
23373
  return (hAsync("p-icon", { class: icon$1({
23361
- hover: this.hover,
23362
- disabled: this.disabled,
23374
+ hover: asBoolean(this.hover),
23375
+ disabled: asBoolean(this.disabled),
23363
23376
  }), variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
23364
23377
  }
23365
23378
  static get style() { return PFloatingMenuItemStyle0; }
@@ -23367,8 +23380,8 @@ class FloatingMenuItem {
23367
23380
  "$flags$": 4,
23368
23381
  "$tagName$": "p-floating-menu-item",
23369
23382
  "$members$": {
23370
- "hover": [516],
23371
- "disabled": [516],
23383
+ "hover": [4],
23384
+ "disabled": [4],
23372
23385
  "loading": [4],
23373
23386
  "icon": [1],
23374
23387
  "iconPosition": [1, "icon-position"],
@@ -23377,7 +23390,7 @@ class FloatingMenuItem {
23377
23390
  },
23378
23391
  "$listeners$": undefined,
23379
23392
  "$lazyBundleId$": "-",
23380
- "$attrsToReflect$": [["hover", "hover"], ["disabled", "disabled"]]
23393
+ "$attrsToReflect$": []
23381
23394
  }; }
23382
23395
  }
23383
23396
 
@@ -24369,11 +24382,11 @@ class NavigationItem {
24369
24382
  }
24370
24383
  render() {
24371
24384
  const TagType = this.as;
24372
- const active = this.active || this.class?.includes('active');
24373
- return (hAsync(Host, { key: 'fcfd018e4ee9cec5d1269c48ac211e4a8bbe7e27', class: cn('p-navigation-item inline-block', this.class) }, hAsync(TagType, { key: '4f95da3f82fe9434981deb52a27905152b9cdce0', class: navigationItem({
24385
+ const active = asBoolean(this.active) || this.class?.includes('active');
24386
+ return (hAsync(Host, { key: '21642e0864dae6959b46a258618e1c9afd1bbca9', class: cn('p-navigation-item inline-block', this.class) }, hAsync(TagType, { key: '48eed7a378c1500d8b8b67fba1f62d24e21b3472', class: navigationItem({
24374
24387
  icon: !!this.icon,
24375
24388
  active,
24376
- }), href: this.href, target: this.target }, hAsync("div", { key: '1d29d71e5c36b93461940f8a139d468f850d6c21', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: '0173a50767eb4a8bbe07d04a7ee8e6dcd43e1a2b', variant: this.icon })), hAsync("span", { key: '8672ed05d64bc2dc615ea6b0957f34c0b7be9dd0', class: this.counter && 'has-counter' }, hAsync("slot", { key: 'cacf7fe34a79bfef107583d1d774234aabf01b6c' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: 'a77ee462895d467c612c0722329f33a7ca32214b' }, this.counter)), !!this.loading && hAsync("p-loader", { key: '54724cf73b51566d0ff76c01d79ad704e05a13ef', class: 'ml-auto' }))));
24389
+ }), href: this.href, target: this.target }, hAsync("div", { key: 'b7ebf5e86b5c05e986ed976250290a0c89411c4f', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: '8eef40ebcfd348b5d45eba71cbb200f43888a67a', variant: this.icon })), hAsync("span", { key: '12d965e27f55240dc8c2bc03d6cf0df724590880', class: this.counter && 'has-counter' }, hAsync("slot", { key: 'c016e6065a74e982002ee1a8af73f87941b67a61' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: 'ffacde69418e4bdf4ecf4ab82304869dfc4850cb' }, this.counter)), !!this.loading && hAsync("p-loader", { key: '8ffec752786d9b23e9ca83a31560e1f1ec34213d', class: 'ml-auto' }))));
24377
24390
  }
24378
24391
  static get style() { return PNavigationItemStyle0; }
24379
24392
  static get cmpMeta() { return {
@@ -24862,11 +24875,11 @@ class PaginationSize {
24862
24875
  this._setLocales();
24863
24876
  }
24864
24877
  render() {
24865
- return (hAsync(Host, { key: 'c6a8bdc78842d4eea1a88621dfea502146de809e', class: paginationSize({ hidden: this.hidden }) }, hAsync("p-dropdown", { key: '426f6a7215cf96574d6b541582730f486d99f603', variant: 'dark-teal', placement: 'top-start', chevronDirection: 'down', calculateWidth: true, onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, hAsync("div", { key: '1d0e91bbda0055e463d5240b58ddb5a1fa4f4ff5', class: trigger({
24878
+ return (hAsync(Host, { key: '76ba9aad09efd47ad218bde8475eca4dbd12ddce', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, hAsync("p-dropdown", { key: '3326e8709c971040b09f1bcf9a202ed1024ed74d', variant: 'dark-teal', placement: 'top-start', chevronDirection: 'down', calculateWidth: true, onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, hAsync("div", { key: '2db246a5cbec5d1aa190733dd143405daa1a3639', class: trigger({
24866
24879
  active: this.dropdownIsOpen,
24867
- }), slot: 'trigger' }, hAsync("p", { key: '22fd50f9438b897fd2e44ae1c7b36f2964c6b415', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
24880
+ }), slot: 'trigger' }, hAsync("p", { key: 'd3e2ee452df57eb5634b3bc6faa5f48d06073181', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
24868
24881
  ? this.itemTemplate(this.size)
24869
- : this._defaultItemTemplate(this.size)), hAsync("p-icon", { key: '0d1b2ef85f9a19593e454923adc3c969c8c4351d', class: 'flex-shrink-0', variant: 'double-caret', size: 'sm' })), hAsync("slot", { key: '95bb00e64170b9df61ba489343e58fdf647051b3', slot: 'items' }, this.sizeOptions.map(option => (hAsync("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
24882
+ : this._defaultItemTemplate(this.size)), hAsync("p-icon", { key: 'b337270cbc6f58e91844784ae1a285b4b5d8cf44', class: 'flex-shrink-0', variant: 'double-caret', size: 'sm' })), hAsync("slot", { key: '5980b79191a9f2ff058ba070478af7249ff9f898', slot: 'items' }, this.sizeOptions.map(option => (hAsync("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
24870
24883
  ? this.itemTemplate(option)
24871
24884
  : this._defaultItemTemplate(option))))))));
24872
24885
  }
@@ -25054,14 +25067,14 @@ class Radio {
25054
25067
  */
25055
25068
  checkedChange;
25056
25069
  render() {
25057
- return (hAsync(Host, { key: '658055a3fe8964f1b9aacac6328589378ecb5e65', class: 'p-radio' }, hAsync("label", { key: 'd26499f5c5f959670fa60039c462d30376258742', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, hAsync("div", { key: 'd8e90dc7b26edf3d0d4c5c9c3d4d2f204723fef8', class: 'relative flex flex-shrink-0 items-center' }, hAsync("input", { key: '893f998e9a7a7a91c830c1f2cdcca3b7ed2a7a7e', class: radio({
25058
- disabled: this.disabled,
25059
- }), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: this.disabled, onChange: ev => this._onChange(ev) }), hAsync("div", { key: '22413291018ffbc803f31c6211bb99531581cc4f', class: circle$1({
25060
- disabled: this.disabled,
25061
- }) })), hAsync("slot", { key: 'b30677ea30eff5805a87b108029a2cb21405c502' }))));
25070
+ return (hAsync(Host, { key: '7ed775d83fd504b12c8bae5c2f845b35696318a0', class: 'p-radio' }, hAsync("label", { key: '43433e2e61096f118a839e5cb7e593f2c1d45882', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, hAsync("div", { key: 'e47eb50a4a6c34f402b721e38975905957c4391a', class: 'relative flex flex-shrink-0 items-center' }, hAsync("input", { key: '04168aa446a50b5806728eeb72425b3847bd3240', class: radio({
25071
+ disabled: asBoolean(this.disabled),
25072
+ }), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), hAsync("div", { key: 'adba2a0b0bd2593c36468834da9232aadd7bca65', class: circle$1({
25073
+ disabled: asBoolean(this.disabled),
25074
+ }) })), hAsync("slot", { key: 'fb4649847a4ab9e30cb0d71f3bf63fcb308693e6' }))));
25062
25075
  }
25063
25076
  _onChange(ev) {
25064
- if (this.disabled) {
25077
+ if (asBoolean(this.disabled)) {
25065
25078
  ev.preventDefault();
25066
25079
  return;
25067
25080
  }
@@ -25145,11 +25158,11 @@ class SegmentItem {
25145
25158
  }
25146
25159
  render() {
25147
25160
  const descriptionSlot = this.variant === 'block' ? hAsync("slot", { name: 'description' }) : null;
25148
- return (hAsync(Host, { key: 'c1593f415fee9946b8c5e294dfea65c6c1713260', class: segmentItem({
25161
+ return (hAsync(Host, { key: 'a52fe32057a67da036508e7a557fc63b675ef0a1', class: segmentItem({
25149
25162
  variant: this.variant,
25150
- active: this.active,
25151
- iconOnly: this.iconOnly,
25152
- }) }, this.icon && (hAsync("p-icon", { key: '95f240924717fc1d68e8e5c29bd89079a114a0e3', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), this.variant === 'default' ? (hAsync("slot", null)) : (hAsync("div", { class: 'flex flex-col items-center gap-1' }, hAsync("p", { class: 'font-semibold empty:hidden' }, hAsync("slot", { name: 'title' })), descriptionSlot && hAsync("p", { class: 'text-xs' }, descriptionSlot)))));
25163
+ active: asBoolean(this.active),
25164
+ iconOnly: asBoolean(this.iconOnly),
25165
+ }) }, this.icon && (hAsync("p-icon", { key: '4f54334e3e9ac47cfbfc28048957428015322c25', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), this.variant === 'default' ? (hAsync("slot", null)) : (hAsync("div", { class: 'flex flex-col items-center gap-1' }, hAsync("p", { class: 'font-semibold empty:hidden' }, hAsync("slot", { name: 'title' })), descriptionSlot && hAsync("p", { class: 'text-xs' }, descriptionSlot)))));
25153
25166
  }
25154
25167
  static get style() { return PSegmentItemStyle0; }
25155
25168
  static get cmpMeta() { return {
@@ -25513,7 +25526,8 @@ class Select {
25513
25526
  if (!this._inputRef || !this._multiContainerRef) {
25514
25527
  return;
25515
25528
  }
25516
- this._multiContainerRef.style.maxWidth = `${this._inputRef.clientWidth - 16}px`;
25529
+ const calced = this._inputRef.clientWidth - 16;
25530
+ this._multiContainerRef.style.maxWidth = `${calced >= 16 ? calced : 16}px`;
25517
25531
  }
25518
25532
  _setCheckSelectedItemsTimeout() {
25519
25533
  if (this._checkSelectedItemsTimeout) {
@@ -28133,14 +28147,14 @@ class Toggle {
28133
28147
  */
28134
28148
  indeterminateChange;
28135
28149
  render() {
28136
- return (hAsync(Host, { key: '2eb5fbb512368179d3c5241a894e8e26846f61f5', class: 'p-checkbox' }, hAsync("label", { key: 'f058bbab3426392b0cae97759c913f39934a0b3a', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, hAsync("div", { key: 'c07339b5e6ac8f42eff1fcfd4159a695577be3a5', class: 'group relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'f7b3debaf7a516cbacd5e8a1c33e24765052c595', class: checkbox({
28150
+ return (hAsync(Host, { key: '346633e23e7fee1765a57fca983375ab4565d76b', class: 'p-checkbox' }, hAsync("label", { key: 'caa4d70fead2c33484d805cd5e32c8bd9385b1b0', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, hAsync("div", { key: 'c469c4e1b19daedf8386f4a00c111be4f2fa630a', class: 'group relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'f325a11e63cf4b4134db50283348cc7514d0dec2', class: checkbox({
28151
+ disabled: asBoolean(this.disabled),
28152
+ }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), hAsync("div", { key: 'df4144c18ad0b454b47b430637afc0ebf0cd2b7a', class: circle({
28137
28153
  disabled: this.disabled,
28138
- }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), hAsync("div", { key: '0fb49b68ca77711a496bba9d67bb3389e384ced5', class: circle({
28139
- disabled: this.disabled,
28140
- }) })), hAsync("slot", { key: '271b918b319a8ae027ed106f3ba32d833e2215df' }))));
28154
+ }) })), hAsync("slot", { key: '8f431ddb98a4bd29836e6fb570825b1f610522e3' }))));
28141
28155
  }
28142
28156
  _onChange(ev) {
28143
- if (this.disabled) {
28157
+ if (asBoolean(this.disabled)) {
28144
28158
  ev.preventDefault();
28145
28159
  return;
28146
28160
  }