@paperless/core 3.28.4 → 3.29.0

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 (237) hide show
  1. package/dist/build/index.esm.js +1 -1
  2. package/dist/build/{p-ea2deb46.entry.js → p-0025fed7.entry.js} +1 -1
  3. package/dist/{paperless/p-b190b534.entry.js → build/p-10524bb8.entry.js} +1 -1
  4. package/dist/build/{p-a035467d.entry.js → p-1bf1c531.entry.js} +1 -1
  5. package/dist/{paperless/p-78244c70.entry.js → build/p-1f7088e0.entry.js} +1 -1
  6. package/dist/build/{p-8c141cb8.entry.js → p-20bbd9f7.entry.js} +1 -1
  7. package/dist/build/{p-c9b79bd8.entry.js → p-2815c450.entry.js} +1 -1
  8. package/dist/build/{p-3efce878.entry.js → p-406978fd.entry.js} +1 -1
  9. package/dist/{paperless/p-688afaf3.entry.js → build/p-42a9d7a9.entry.js} +1 -1
  10. package/dist/build/{p-92910dad.entry.js → p-458a1300.entry.js} +1 -1
  11. package/dist/build/p-45f64a83.entry.js +1 -0
  12. package/dist/build/{p-fadcfc9f.entry.js → p-56807646.entry.js} +1 -1
  13. package/dist/build/p-669c6727.entry.js +1 -0
  14. package/dist/build/{p-6ac8c0c1.entry.js → p-66aa349f.entry.js} +1 -1
  15. package/dist/build/{p-51312a8f.entry.js → p-6da143ff.entry.js} +1 -1
  16. package/dist/build/{p-91686988.entry.js → p-707ec953.entry.js} +1 -1
  17. package/dist/build/{p-ec0a6d22.entry.js → p-75a9889e.entry.js} +1 -1
  18. package/dist/build/p-9245172e.entry.js +1 -0
  19. package/dist/build/p-92f92a42.entry.js +1 -0
  20. package/dist/build/{p-7c8ec514.entry.js → p-98bc206c.entry.js} +1 -1
  21. package/dist/build/{p-DeWIZIsV.js → p-BLcs2Mis.js} +1 -1
  22. package/dist/build/{p-592a84ce.entry.js → p-a2725e3b.entry.js} +1 -1
  23. package/dist/{paperless/p-fccb23e5.entry.js → build/p-b042c605.entry.js} +1 -1
  24. package/dist/{paperless/p-d21a8908.entry.js → build/p-bc15eb99.entry.js} +1 -1
  25. package/dist/{paperless/p-31cf13c6.entry.js → build/p-cc99ef0c.entry.js} +2 -2
  26. package/dist/build/p-cf13f533.entry.js +1 -0
  27. package/dist/build/{p-d7d2411e.entry.js → p-d10cdb57.entry.js} +1 -1
  28. package/dist/build/{p-055b6209.entry.js → p-d4970495.entry.js} +1 -1
  29. package/dist/build/p-fa24e216.js +1 -0
  30. package/dist/build/paperless.esm.js +1 -1
  31. package/dist/cjs/index.cjs.js +19 -1
  32. package/dist/cjs/loader.cjs.js +1 -1
  33. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  34. package/dist/cjs/p-attachment.cjs.entry.js +8 -8
  35. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  36. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  37. package/dist/cjs/p-checkbox_3.cjs.entry.js +18 -16
  38. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  39. package/dist/cjs/p-cropper.cjs.entry.js +1 -1
  40. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  41. package/dist/cjs/p-empty-state_8.cjs.entry.js +13 -13
  42. package/dist/cjs/p-field_3.cjs.entry.js +4 -4
  43. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  44. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  45. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  46. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  47. package/dist/cjs/p-pagination_3.cjs.entry.js +3 -3
  48. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  49. package/dist/cjs/p-range.cjs.entry.js +3 -3
  50. package/dist/cjs/p-submenu-item.cjs.entry.js +3 -3
  51. package/dist/cjs/p-submenu.cjs.entry.js +9 -9
  52. package/dist/cjs/p-tab-container.cjs.entry.js +10 -1
  53. package/dist/cjs/p-tab-item.cjs.entry.js +11 -3
  54. package/dist/cjs/p-table.cjs.entry.js +1 -1
  55. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  56. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  57. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  58. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  59. package/dist/cjs/paperless.cjs.js +1 -1
  60. package/dist/cjs/{table-helpers-CskH_8AL.js → table-helpers-BMTEeBOx.js} +3 -3
  61. package/dist/collection/components/atoms/tab/container/tab-container.component.js +33 -1
  62. package/dist/collection/components/atoms/tab/container/tab-container.stories.js +18 -0
  63. package/dist/collection/components/atoms/tab/item/tab-item.component.css +1 -1
  64. package/dist/collection/components/atoms/tab/item/tab-item.component.js +50 -2
  65. package/dist/collection/components/atoms/tab/item/tab-item.stories.js +5 -1
  66. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  67. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
  68. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  69. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  70. package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
  71. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  72. package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
  73. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  74. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  75. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  76. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  77. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  78. package/dist/collection/components/molecules/dropdown/dropdown.component.js +18 -16
  79. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  80. package/dist/collection/components/molecules/field/field/field.component.js +4 -4
  81. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  82. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  83. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  84. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  85. package/dist/collection/components/molecules/range/range.component.js +3 -3
  86. package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +3 -3
  87. package/dist/collection/components/molecules/submenu/menu/submenu.component.js +9 -9
  88. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  89. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  90. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  91. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  92. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  93. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  94. package/dist/collection/tailwind/theme/animation.js +18 -0
  95. package/dist/collection/utils/table-helpers.js +3 -3
  96. package/dist/components/index.js +1 -1
  97. package/dist/components/{p-Dg_DgmLY.js → p-2-4yuHR1.js} +1 -1
  98. package/dist/components/{p-BDWOQXx7.js → p-4KZlY5xH.js} +1 -1
  99. package/dist/components/{p-CxrxqKhq.js → p-B3Dks732.js} +1 -1
  100. package/dist/components/{p-DHJIvL0U.js → p-B7pLpkL0.js} +1 -1
  101. package/dist/components/{p-c6u4OYf0.js → p-BAVMxgJn.js} +1 -1
  102. package/dist/components/{p-C_ImoJA8.js → p-CklXrITo.js} +1 -1
  103. package/dist/components/p-D8Cwg2-6.js +1 -0
  104. package/dist/components/{p-Cmltn24W.js → p-D9Vv2Jg9.js} +1 -1
  105. package/dist/components/{p-Bh3wcvje.js → p-DZzA60Dx.js} +1 -1
  106. package/dist/components/{p-CVR1NJF5.js → p-DcIQGfEt.js} +1 -1
  107. package/dist/components/{p-9XjFw7wO.js → p-DpkIrMz9.js} +1 -1
  108. package/dist/components/{p-D0469rhA.js → p-DrGWvXqN.js} +1 -1
  109. package/dist/components/{p-DxuTDs4a.js → p-DsgO2Ufk.js} +1 -1
  110. package/dist/components/{p-ByJPQrlL.js → p-GGeQLkOT.js} +1 -1
  111. package/dist/components/{p-WEZng7dj.js → p-PGY9gVyt.js} +1 -1
  112. package/dist/components/{p-BmsR-djQ.js → p-PISPo1NR.js} +1 -1
  113. package/dist/components/p-accordion.js +1 -1
  114. package/dist/components/p-attachment.js +1 -1
  115. package/dist/components/p-button-group.js +1 -1
  116. package/dist/components/p-calendar.js +1 -1
  117. package/dist/components/p-content-slider.js +1 -1
  118. package/dist/components/p-cropper.js +2 -2
  119. package/dist/components/p-datepicker.js +1 -1
  120. package/dist/components/p-dropdown.js +1 -1
  121. package/dist/components/p-empty-state.js +1 -1
  122. package/dist/components/{p-BJyXdiHc.js → p-eo0MmU1s.js} +1 -1
  123. package/dist/components/p-field-container.js +1 -1
  124. package/dist/components/p-field.js +1 -1
  125. package/dist/components/p-helper.js +1 -1
  126. package/dist/components/p-listing.js +1 -1
  127. package/dist/components/p-navbar.js +1 -1
  128. package/dist/components/p-navigation-item.js +1 -1
  129. package/dist/components/p-navigation-section.js +1 -1
  130. package/dist/components/p-pagination-pages.js +1 -1
  131. package/dist/components/p-pagination-size.js +1 -1
  132. package/dist/components/p-pagination.js +1 -1
  133. package/dist/components/p-profile.js +1 -1
  134. package/dist/components/p-range.js +1 -1
  135. package/dist/components/p-select.js +1 -1
  136. package/dist/components/p-submenu-item.js +1 -1
  137. package/dist/components/p-submenu.js +1 -1
  138. package/dist/components/p-tab-container.js +1 -1
  139. package/dist/components/p-tab-item.js +1 -1
  140. package/dist/components/p-table-cell.js +1 -1
  141. package/dist/components/p-table-container.js +1 -1
  142. package/dist/components/p-table-footer.js +1 -1
  143. package/dist/components/p-table-header.js +1 -1
  144. package/dist/components/p-table-row-actions-container.js +1 -1
  145. package/dist/components/p-table-row.js +1 -1
  146. package/dist/components/p-table.js +1 -1
  147. package/dist/components/p-toast-container.js +1 -1
  148. package/dist/components/p-toast.js +1 -1
  149. package/dist/components/p-toggle.js +1 -1
  150. package/dist/components/p-tooltip.js +1 -1
  151. package/dist/components/p-vlEpgOl1.js +1 -0
  152. package/dist/esm/index.js +19 -1
  153. package/dist/esm/loader.js +1 -1
  154. package/dist/esm/p-accordion.entry.js +2 -2
  155. package/dist/esm/p-attachment.entry.js +8 -8
  156. package/dist/esm/p-button-group.entry.js +1 -1
  157. package/dist/esm/p-calendar.entry.js +1 -1
  158. package/dist/esm/p-checkbox_3.entry.js +18 -16
  159. package/dist/esm/p-content-slider.entry.js +2 -2
  160. package/dist/esm/p-cropper.entry.js +1 -1
  161. package/dist/esm/p-datepicker.entry.js +2 -2
  162. package/dist/esm/p-empty-state_8.entry.js +13 -13
  163. package/dist/esm/p-field_3.entry.js +4 -4
  164. package/dist/esm/p-listing.entry.js +2 -2
  165. package/dist/esm/p-navbar.entry.js +1 -1
  166. package/dist/esm/p-navigation-item.entry.js +3 -3
  167. package/dist/esm/p-navigation-section.entry.js +1 -1
  168. package/dist/esm/p-pagination_3.entry.js +3 -3
  169. package/dist/esm/p-profile.entry.js +1 -1
  170. package/dist/esm/p-range.entry.js +3 -3
  171. package/dist/esm/p-submenu-item.entry.js +3 -3
  172. package/dist/esm/p-submenu.entry.js +9 -9
  173. package/dist/esm/p-tab-container.entry.js +10 -1
  174. package/dist/esm/p-tab-item.entry.js +11 -3
  175. package/dist/esm/p-table.entry.js +1 -1
  176. package/dist/esm/p-toast-container.entry.js +2 -2
  177. package/dist/esm/p-toast.entry.js +1 -1
  178. package/dist/esm/p-toggle.entry.js +3 -3
  179. package/dist/esm/p-tooltip.entry.js +2 -2
  180. package/dist/esm/paperless.js +1 -1
  181. package/dist/esm/{table-helpers-Bvtfm-ta.js → table-helpers-BDN3t0Wa.js} +3 -3
  182. package/dist/index.html +1 -1
  183. package/dist/paperless/index.esm.js +1 -1
  184. package/dist/paperless/{p-ea2deb46.entry.js → p-0025fed7.entry.js} +1 -1
  185. package/dist/{build/p-b190b534.entry.js → paperless/p-10524bb8.entry.js} +1 -1
  186. package/dist/paperless/{p-a035467d.entry.js → p-1bf1c531.entry.js} +1 -1
  187. package/dist/{build/p-78244c70.entry.js → paperless/p-1f7088e0.entry.js} +1 -1
  188. package/dist/paperless/{p-8c141cb8.entry.js → p-20bbd9f7.entry.js} +1 -1
  189. package/dist/paperless/{p-c9b79bd8.entry.js → p-2815c450.entry.js} +1 -1
  190. package/dist/paperless/{p-3efce878.entry.js → p-406978fd.entry.js} +1 -1
  191. package/dist/{build/p-688afaf3.entry.js → paperless/p-42a9d7a9.entry.js} +1 -1
  192. package/dist/paperless/{p-92910dad.entry.js → p-458a1300.entry.js} +1 -1
  193. package/dist/paperless/p-45f64a83.entry.js +1 -0
  194. package/dist/paperless/{p-fadcfc9f.entry.js → p-56807646.entry.js} +1 -1
  195. package/dist/paperless/p-669c6727.entry.js +1 -0
  196. package/dist/paperless/{p-6ac8c0c1.entry.js → p-66aa349f.entry.js} +1 -1
  197. package/dist/paperless/{p-51312a8f.entry.js → p-6da143ff.entry.js} +1 -1
  198. package/dist/paperless/{p-91686988.entry.js → p-707ec953.entry.js} +1 -1
  199. package/dist/paperless/{p-ec0a6d22.entry.js → p-75a9889e.entry.js} +1 -1
  200. package/dist/paperless/p-9245172e.entry.js +1 -0
  201. package/dist/paperless/p-92f92a42.entry.js +1 -0
  202. package/dist/paperless/{p-7c8ec514.entry.js → p-98bc206c.entry.js} +1 -1
  203. package/dist/paperless/{p-DeWIZIsV.js → p-BLcs2Mis.js} +1 -1
  204. package/dist/paperless/{p-592a84ce.entry.js → p-a2725e3b.entry.js} +1 -1
  205. package/dist/{build/p-fccb23e5.entry.js → paperless/p-b042c605.entry.js} +1 -1
  206. package/dist/{build/p-d21a8908.entry.js → paperless/p-bc15eb99.entry.js} +1 -1
  207. package/dist/{build/p-31cf13c6.entry.js → paperless/p-cc99ef0c.entry.js} +2 -2
  208. package/dist/paperless/p-cf13f533.entry.js +1 -0
  209. package/dist/paperless/{p-d7d2411e.entry.js → p-d10cdb57.entry.js} +1 -1
  210. package/dist/paperless/{p-055b6209.entry.js → p-d4970495.entry.js} +1 -1
  211. package/dist/paperless/paperless.esm.js +1 -1
  212. package/dist/sw.js +1 -1
  213. package/dist/sw.js.map +1 -1
  214. package/dist/tailwind/theme/animation.ts +18 -0
  215. package/dist/types/components/atoms/tab/container/tab-container.component.d.ts +4 -0
  216. package/dist/types/components/atoms/tab/container/tab-container.stories.d.ts +3 -0
  217. package/dist/types/components/atoms/tab/item/tab-item.component.d.ts +8 -0
  218. package/dist/types/components/atoms/tab/item/tab-item.stories.d.ts +7 -1
  219. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +1 -1
  220. package/dist/types/components.d.ts +30 -0
  221. package/dist/types/tailwind/theme/animation.d.ts +18 -0
  222. package/hydrate/index.js +113 -93
  223. package/hydrate/index.mjs +113 -93
  224. package/package.json +1 -1
  225. package/dist/build/p-014ef0e1.entry.js +0 -1
  226. package/dist/build/p-1a424b04.entry.js +0 -1
  227. package/dist/build/p-50c0e9df.js +0 -1
  228. package/dist/build/p-571575d2.entry.js +0 -1
  229. package/dist/build/p-9f684244.entry.js +0 -1
  230. package/dist/build/p-a395e9e0.entry.js +0 -1
  231. package/dist/components/p-BG1plx2A.js +0 -1
  232. package/dist/components/p-zBwPEKhI.js +0 -1
  233. package/dist/paperless/p-014ef0e1.entry.js +0 -1
  234. package/dist/paperless/p-1a424b04.entry.js +0 -1
  235. package/dist/paperless/p-571575d2.entry.js +0 -1
  236. package/dist/paperless/p-9f684244.entry.js +0 -1
  237. package/dist/paperless/p-a395e9e0.entry.js +0 -1
@@ -5,7 +5,7 @@ var index$1 = require('./index-mudu9vpz.js');
5
5
  var themedHost_component = require('./themed-host.component-BeeT9Ite.js');
6
6
  var asBoolean = require('./as-boolean-C1PzA22I.js');
7
7
  var localization = require('./localization-CTvpcGDo.js');
8
- var tableHelpers = require('./table-helpers-CskH_8AL.js');
8
+ var tableHelpers = require('./table-helpers-BMTEeBOx.js');
9
9
  var objectGetByPath = require('./object-get-by-path-CxU4WbZu.js');
10
10
  var cn = require('./cn-Cd68UVBT.js');
11
11
  var constants = require('./constants-BuWBrjuU.js');
@@ -72,11 +72,11 @@ const EmptyState = class {
72
72
  const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
73
73
  const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
74
74
  const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
75
- return (index.h(themedHost_component.ThemedHost, { key: 'eed19be38cd66ad6c316f45ecec5d92612bfa98e' }, index.h("div", { key: '2a4e2dcd83b5716770fa459d6c2701af6ea9a5e3', class: emptyState({
75
+ return (index.h(themedHost_component.ThemedHost, { key: '88c1f3ded82cfdb33056c1a5882a965eaca03641' }, index.h("div", { key: '0f397cbf947d3189b1fc8085cf50790e62d405f1', class: emptyState({
76
76
  enableAction: asBoolean.asBoolean(this.enableAction, true),
77
77
  }), onClick: ev => this.enableAction && !this.actionLoading
78
78
  ? this.action.emit(ev)
79
- : undefined }, this.illustration && (index.h("p-illustration", { key: '4165b934ab83562aafe5c855a772475c363e79a4', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (index.h("slot", { name: 'header' })) : (this.header?.length && (index.h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (index.h("slot", { name: 'content' })) : (this.content?.length && (index.h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
79
+ : undefined }, this.illustration && (index.h("p-illustration", { key: '7debb3c4d38db63f33c0f3cb59e42af1b5be84cd', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (index.h("slot", { name: 'header' })) : (this.header?.length && (index.h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (index.h("slot", { name: 'content' })) : (this.content?.length && (index.h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
80
80
  (hasActionSlot ? (index.h("slot", { name: 'action' })) : (index.h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
81
81
  }
82
82
  };
@@ -214,7 +214,7 @@ const TableCell = class {
214
214
  };
215
215
  }
216
216
  render() {
217
- return (index.h(themedHost_component.ThemedHost, { key: '561af3131d5290ab9738cb4f1920424ef6727f13', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
217
+ return (index.h(themedHost_component.ThemedHost, { key: 'd5049caf156aeb279f0c49c3318db77f9b69a322', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
218
218
  }
219
219
  _getContent() {
220
220
  if (this.variant === 'loading') {
@@ -247,7 +247,7 @@ const TableContainer = class {
247
247
  index.registerInstance(this, hostRef);
248
248
  }
249
249
  render() {
250
- return (index.h(index.Host, { key: 'b9d7f44f21b11338c133bcd9c49de1a6a3da7587', class: container() }, index.h("slot", { key: '5e7f9650d045b9b46d8c3357dd4f23f5eedbbc2c' })));
250
+ return (index.h(index.Host, { key: 'bd09e94f4e6625a107c8bbdc27d2bd2fe3c1f1b9', class: container() }, index.h("slot", { key: '8e1f895b9168cd6baade8b7e8f4f7438a371c20a' })));
251
251
  }
252
252
  };
253
253
  TableContainer.style = tableContainerComponentCss();
@@ -362,12 +362,12 @@ const TableFooter = class {
362
362
  this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
363
363
  }
364
364
  render() {
365
- return (index.h(themedHost_component.ThemedHost, { key: '838cc36822e7cc8ae27663a24a3bfdc43b972e16' }, index.h("div", { key: '827e9b3207527766e1307962b7021e14b137173a', class: footer({
365
+ return (index.h(themedHost_component.ThemedHost, { key: 'bd11ef4ea7db5cd2b68bdc54a861fc0e7c57757f' }, index.h("div", { key: 'd79176ec7bdc104cdd669c57af4ff31e9afdf27f', class: footer({
366
366
  pinned: this._isPinned,
367
367
  hidden: this._hidden,
368
368
  tableHeaderHasAction: this.tableHeaderHasAction,
369
369
  }) }, (this.enablePaginationPages || this.enablePaginationSize) &&
370
- this.total > 0 && (index.h("p-pagination", { key: 'f03d3de3c10237dd966435c67b66a968b6b4a87b', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
370
+ this.total > 0 && (index.h("p-pagination", { key: 'f4342d8e961deb557d9da8b44e6522e581615b7a', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
371
371
  }
372
372
  _changePageSize(s) {
373
373
  if (!s) {
@@ -10158,13 +10158,13 @@ const TableRow = class {
10158
10158
  */
10159
10159
  isLast = false;
10160
10160
  render() {
10161
- return (index.h(themedHost_component.ThemedHost, { key: '6afacd153aa236826889a81561d8a4cfaab68584' }, index.h("div", { key: '83aa5f82cdd91b6e64921493fc194305da11ef0d', class: 'flex flex-col' }, index.h("div", { key: '442151adebd3431c8810efc2cd4041c4b43cc0ec', class: row({
10161
+ return (index.h(themedHost_component.ThemedHost, { key: 'ddf6a2776b32e8b37994cc2ca37a22ee28f6f39d' }, index.h("div", { key: 'b5eeb9ce4daabcdf70bce497f33dfe26945b6e28', class: 'flex flex-col' }, index.h("div", { key: '1f591131dd1b530275b6b5bf1a79a0a4977c33dc', class: row({
10162
10162
  variant: this.variant,
10163
10163
  enableHover: this.enableHover,
10164
10164
  checked: this.checked,
10165
- }) }, index.h("div", { key: 'e994c3629806ca1f82808fdfce127e1f17569788', class: content({
10165
+ }) }, index.h("div", { key: '7c26c9172d6d272e008bc9156f1b67d8d09a9b1e', class: content({
10166
10166
  variant: this.variant,
10167
- }) }, index.h("slot", { key: '42d02bf96ef9a8a55ab8ff861600161cf21b229f' }), index.h("div", { key: '750734513d1ebe567e089d4f2b7bb1a1b83d911e', class: actions() }, index.h("slot", { key: '6424f39c79ad42ec8f0b05c23f42f9b105aed2e3', name: 'actions' })))), !asBoolean.asBoolean(this.isLast) && this.variant !== 'secondary' && (index.h("p-divider", { key: '65df59b62d5de884e4b1fe4ee772aef7314fe513' })))));
10167
+ }) }, index.h("slot", { key: 'f58033f70451c7fb4bfbf07823feb4aa199d4730' }), index.h("div", { key: '999168db7e5b7a7c5f5f47560786a4ec9d338cc2', class: actions() }, index.h("slot", { key: '5a5860691132504171222e2052e75f60198d711c', name: 'actions' })))), !asBoolean.asBoolean(this.isLast) && this.variant !== 'secondary' && (index.h("p-divider", { key: 'db86b959ebedfbb6cfdd3d819634c100fb0f972d' })))));
10168
10168
  }
10169
10169
  };
10170
10170
  TableRow.style = tableRowComponentCss();
@@ -10180,16 +10180,16 @@ const TableRowActionsContainer = class {
10180
10180
  */
10181
10181
  checked = false;
10182
10182
  render() {
10183
- return (index.h(themedHost_component.ThemedHost, { key: 'c44d458c5c90a54a179f7b58f9db306d31bf9d05' }, index.h("div", { key: 'c8290412592c8cf51c19e78287b7cccf0744276f', class: cn.cn(`
10183
+ return (index.h(themedHost_component.ThemedHost, { key: 'ab990c6a331db255603ba28a08da30199a8f27ef' }, index.h("div", { key: 'c5589f08fc28e26a6c73a9a66970b128daa95206', class: cn.cn(`
10184
10184
  flex
10185
10185
  before:w-4 before:bg-gradient-to-l before:from-off-white-200
10186
10186
  `, {
10187
10187
  'dark:before:from-hurricane-600': !this.checked,
10188
10188
  'dark:before:from-hurricane-400': !!this.checked,
10189
- }) }, index.h("div", { key: '1a1a07d586b461606e39976a5c68240b6feae2e4', class: cn.cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
10189
+ }) }, index.h("div", { key: '3e5a2a33bea96d75a1633e17887b57963cca2f9a', class: cn.cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
10190
10190
  'dark:bg-hurricane-600': !this.checked,
10191
10191
  'dark:bg-hurricane-400': !!this.checked,
10192
- }) }, index.h("slot", { key: 'be144a40603d355ecc6eea9c5d410437ad8654eb' })))));
10192
+ }) }, index.h("slot", { key: '388975242f43cc8f146a8cf3ff45001aea038f44' })))));
10193
10193
  }
10194
10194
  };
10195
10195
  TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
@@ -390,8 +390,8 @@ const Field = class {
390
390
  }
391
391
  render() {
392
392
  const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
393
- return (index.h(themedHost_component.ThemedHost, { key: 'b251e9ed78735fc141963abe577696100e973d37' }, index.h("p-field-container", { key: '7f9e06a6e2904f43404fb93b886e4e0918b5a862', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
394
- (!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (index.h("slot", { key: 'bc559fcf5b77ff3b87120eb52fd0e3dd14e1b912', name: 'label', slot: 'label' })), hasHeaderSlot && (index.h("slot", { key: '1b87bb5d34f429f9319632f14c12b28f8e76cf1a', name: 'header', slot: 'header' })), hasHelperSlot && (index.h("slot", { key: 'a6a461f45d58d76b1ef0f6b3e013d699e72dbf49', name: 'helper', slot: 'helper' })), hasErrorSlot && (index.h("slot", { key: 'b3947ba2b86f3b776178288e4946eb11e3efe3f2', name: 'error', slot: 'error' })), index.h("div", { key: 'aaed5d10a79306e400128254b9ca4c132cd06088', class: field({
393
+ return (index.h(themedHost_component.ThemedHost, { key: '34ff09d82525eb78723fb820f0d0290ae23721b0' }, index.h("p-field-container", { key: '347566f3dab26546ddca4034335af525da68678b', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
394
+ (!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (index.h("slot", { key: '519d4c702f9dc06fc7a9372a967b2f687947bc33', name: 'label', slot: 'label' })), hasHeaderSlot && (index.h("slot", { key: '00536ca06d00f9b777065a33e68232b6748e1660', name: 'header', slot: 'header' })), hasHelperSlot && (index.h("slot", { key: '65d37212c39a122453d91ddeae877f946992e01a', name: 'helper', slot: 'helper' })), hasErrorSlot && (index.h("slot", { key: '0a61cbb8744cb2735839036f32ec4678ffa5fba7', name: 'error', slot: 'error' })), index.h("div", { key: '3f33946b5fa9bce68ee1adfab0bdbe55104975bf', class: field({
395
395
  error: !!this.error?.length,
396
396
  disabled: asBoolean.asBoolean(this.disabled),
397
397
  focused: asBoolean.asBoolean(this.focused) || this._focused,
@@ -402,7 +402,7 @@ const Field = class {
402
402
  ? `${this.value}`
403
403
  : undefined }, (this.error?.length ||
404
404
  prefix ||
405
- (this.icon && this.iconPosition === 'start')) && (index.h("div", { key: 'e516c3533d88e87a601d9c97504100687d6f30da', class: prefixAndSuffix({
405
+ (this.icon && this.iconPosition === 'start')) && (index.h("div", { key: 'b41a10d82c3d11189763cb25e0b729b520b27d84', class: prefixAndSuffix({
406
406
  variant: this.variant,
407
407
  error: !!this.error?.length,
408
408
  disabled: asBoolean.asBoolean(this.disabled),
@@ -414,7 +414,7 @@ const Field = class {
414
414
  'mt-1': this.variant === 'read' && this.size === 'base',
415
415
  }), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
416
416
  (this.type === 'password' && this.enablePasswordEye) ||
417
- (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '62fcd0427be492bd46faeafd2a35b0df447bebac', class: cn.cn(prefixAndSuffix({
417
+ (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '918ba94e63f2a04363ae84328f2cc199ec1a54e7', class: cn.cn(prefixAndSuffix({
418
418
  variant: this.variant,
419
419
  error: !!this.error?.length,
420
420
  disabled: asBoolean.asBoolean(this.disabled),
@@ -24,10 +24,10 @@ const Listing = class {
24
24
  }
25
25
  }
26
26
  render() {
27
- return (index.h("div", { key: 'f1a202de4615b4d854fa78e27cdc77b71aa09b64', class: cn.cn('flex w-full flex-col flex-wrap items-start gap-1', {
27
+ return (index.h("div", { key: 'ed45a2e778aba5ec905b3229ead141fdcdfea198', class: cn.cn('flex w-full flex-col flex-wrap items-start gap-1', {
28
28
  'opacity-100': this._generatedOnce,
29
29
  'opacity-0': !this._generatedOnce,
30
- }) }, index.h("slot", { key: '52d133d71700c7a08cbba824844cd88a9a20adb2', onSlotchange: () => this._generateLinesOnce() })));
30
+ }) }, index.h("slot", { key: '2a18a4366d054d65412d8b28a70abca0ad2ee649', onSlotchange: () => this._generateLinesOnce() })));
31
31
  }
32
32
  _generateLinesOnce() {
33
33
  if (this._generateTimeout) {
@@ -71,7 +71,7 @@ const Navbar = class {
71
71
  }
72
72
  _show = false;
73
73
  render() {
74
- return (index.h(themedHost_component.ThemedHost, { key: 'fe2de332dfdc64399f90e88e1595bcb7ca95a901' }, index.h("p-backdrop", { key: 'c2f8a860ee2026cc0430fe2b3557119010e02f9b', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), index.h("div", { key: 'c01fe9cc8d2a3342e7358b298a1e7807e7612019', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, index.h("div", { key: '78535c4470591c2ae2fe9464902bd4f54baa12bd', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, index.h("p-button", { key: '6d50a2f05639094b429c616820272e7ce744ab72', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), index.h("div", { key: '93a332c6fa4046dab5a3bf8d4dd2de5f8d909d3a', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, index.h("slot", { key: '49e41e442a8b33f826fb210578c9169981b4062d', name: 'company' })), index.h("div", { key: '2def55a3be3a2220058f1cf61a61cae73ef793b2', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, index.h("slot", { key: '9eca0f94e4eb271ea1c3ac625213f6a2271e0ca2', name: 'content' })), index.h("div", { key: 'c5b9d2be190f64059f03dcfba0f094d797bad910', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, index.h("slot", { key: '521d4b932bbb0bfcc5512e2b79f620c2db659e29', name: 'user' }))), index.h("div", { key: '657811cf4dfe72bd0d2935e773ea1d7fbbd45373', class: topbar({ class: sidebarAndTopbar() }) }, index.h("p-button", { key: '81357f0eef70cce8f73e7c96eb7a7fe68fc4ae7d', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), index.h("slot", { key: 'db2742453f251f54f8fb94f1ea3c18e628b883ca', name: 'topbar' }))));
74
+ return (index.h(themedHost_component.ThemedHost, { key: '7619eeefa9ea944a63289912cd81cf78b6e811b5' }, index.h("p-backdrop", { key: '595791a894b53d4a9b2129b56f4f0f3486c57d3c', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), index.h("div", { key: '780b7fc75b411b8f29f75a6ae407b4362fd35c7e', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, index.h("div", { key: '0c66a30858b20cd7eec21468e8458ca1a418aacb', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, index.h("p-button", { key: '5ccd0baad2faea3f4f45e41e016a00b0e8eab362', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), index.h("div", { key: '7a9fe638e83dc4ffca39dc6a393c4e1d65e7a8d6', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, index.h("slot", { key: '25958b6ef7b0a6dc2cd7e12908e59422b049ddc0', name: 'company' })), index.h("div", { key: '568ab6c376b7c3db2902778f97a35176d5bfdcf0', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, index.h("slot", { key: 'd7b085c1043b107e883e058f5501d5e33e4c8581', name: 'content' })), index.h("div", { key: '68c47441d63f5a640027a7eadd237c182b0c6f60', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, index.h("slot", { key: '736dbba0b3fea35a30c6be8e9845650fdb325b08', name: 'user' }))), index.h("div", { key: '7eb3b90ad16257344d0857e22e9d8864f6675438', class: topbar({ class: sidebarAndTopbar() }) }, index.h("p-button", { key: '38db319651a5ec5287d50011186dca5e02619c34', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), index.h("slot", { key: '3d1e5dd3d203c15b6748be563a929e9451747d82', name: 'topbar' }))));
75
75
  }
76
76
  handleCloseNavbar() {
77
77
  this._show = false;
@@ -98,13 +98,13 @@ const NavigationItem = class {
98
98
  render() {
99
99
  const TagType = this.as;
100
100
  const active = asBoolean.asBoolean(this.active) || this.class?.includes('active');
101
- return (index.h(themedHost_component.ThemedHost, { key: '9dbc90d066c5c8af033baeadfd56b0d6fc97b8e8', class: cn.cn('inline-block', this.class) }, index.h(TagType, { key: '54794c49462a1695aa7ab2aac1798ebd7e659775', class: navigationItem({
101
+ return (index.h(themedHost_component.ThemedHost, { key: '347b0fff17aa518408c501e0f36c1705b10748c6', class: cn.cn('inline-block', this.class) }, index.h(TagType, { key: '5ef2af324e413caafb7315dc4b13d30c42267b6c', class: navigationItem({
102
102
  icon: !!this.icon,
103
103
  active,
104
- }), href: this.href, target: this.target }, index.h("div", { key: 'a64642008da3eb90fabef41ff4f7849bd5990769', class: navigationItemIconContainer({ active }) }, index.h("p-icon", { key: '5717e6bab1ccaff30409cdc470a5e26c0453abc3', variant: this.icon })), index.h("span", { key: '10724de271347188676041a4d3d34abda19570fe', class: cn.cn({
104
+ }), href: this.href, target: this.target }, index.h("div", { key: '6313d3de316f39dfc24bc5d4a53f5153c0413a35', class: navigationItemIconContainer({ active }) }, index.h("p-icon", { key: 'a1598b69de4fe59e6831d53948c55dc0f685b9ad', variant: this.icon })), index.h("span", { key: 'fa7e13deabd7b690fc5be427bf86538b1889cef9', class: cn.cn({
105
105
  'has-counter': !!this.counter,
106
106
  'w-full': this.applyFullWidth,
107
- }) }, index.h("slot", { key: 'c28eb7ba26a618dcd80cfb53a9b6e99f202be44c' })), !!this.counter && this.counter !== '0' && (index.h("p-badge", { key: '3c75ef84bea0f90c136544c30aa32bc3bb5de311' }, this.counter)), !!this.loading && index.h("p-loader", { key: '0039f85358dcdd014ba98415256dc49be0daf366', class: 'ml-auto' }))));
107
+ }) }, index.h("slot", { key: '86dc19d97dd2a19d056f1e33c0fba9d94e4f2218' })), !!this.counter && this.counter !== '0' && (index.h("p-badge", { key: 'ebfafb0aea1e0b38757f28b8118d4f54b8388582' }, this.counter)), !!this.loading && index.h("p-loader", { key: '83cb991e82cf7fe34531f4c7c7a1a1167b38a8d3', class: 'ml-auto' }))));
108
108
  }
109
109
  };
110
110
  NavigationItem.style = navigationItemComponentCss();
@@ -15,7 +15,7 @@ const NavigationSection = class {
15
15
  */
16
16
  header;
17
17
  render() {
18
- return (index.h(themedHost_component.ThemedHost, { key: 'a0ca4e59eecc786d21f19b5cf19109ff2ecff9c2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (index.h("p-navigation-title", { key: '2c01baaaff7f298d2589c62571cc765c885c7c21' }, this.header)), index.h("div", { key: 'e92d1f46d8fb376f93097bb29d47983055d0657d', class: 'flex flex-col' }, index.h("slot", { key: '6e68b9723d5ae4f738c3f56d6c8c73fbb824e497' }))));
18
+ return (index.h(themedHost_component.ThemedHost, { key: 'ef9bc5a34ec30fddac926c6eb32225ad29933a6b', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (index.h("p-navigation-title", { key: 'c2247b566e622687b63cc461b4d18383c4657c87' }, this.header)), index.h("div", { key: '214b7cdcc8425ae88ac667f2fabaf74e08e4dbc8', class: 'flex flex-col' }, index.h("slot", { key: '26833f9c31a682f58160fc54063ecb7459f3f0b1' }))));
19
19
  }
20
20
  };
21
21
  NavigationSection.style = navigationSectionComponentCss();
@@ -77,12 +77,12 @@ const Pagination = class {
77
77
  _hasPaginationPages = true;
78
78
  render() {
79
79
  const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
80
- return (index.h(themedHost_component.ThemedHost, { key: 'a5a07358c2ab6751f4d101c6001765984338c0f5' }, index.h("div", { key: 'f56d13ec01851b1342129c1f815b85d5ee2ca536', class: pagination$1({
80
+ return (index.h(themedHost_component.ThemedHost, { key: 'e2f69a73151e71438cf062a47746f9dc010eb384' }, index.h("div", { key: 'dbd0ae5dfa3fd531bdc0ea72437e0ea5930ebc39', class: pagination$1({
81
81
  hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
82
82
  (!this.enablePaginationSize && !this.enablePaginationPages),
83
- }) }, this.enablePaginationPages && this.enablePaginationSize && (index.h(index.Fragment, { key: '76d975d6c125a8f396a02f09fae593693fa2beda' }, index.h("p-pagination-size", { key: 'ded600f766ad55ad0c191bf1e87796176c6dd395', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
83
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (index.h(index.Fragment, { key: '3fac7a287f0371da17ed53ca05ee558b93349cfc' }, index.h("p-pagination-size", { key: 'a618ba84f7b1700dd7f082554ffd92cc7593e2c9', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
84
84
  this.hideOnSinglePage &&
85
- this._hasPaginationPages && (index.h("p-divider", { key: '624f38b4cab761accfca28f4ced270449c6f0a7d', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (index.h("p-pagination-pages", { key: 'cd4a6b794c6a2ff43904b1f718555a3a9752b843', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
85
+ this._hasPaginationPages && (index.h("p-divider", { key: '70513fb604cf7d5a9d0e3c97d60a992d3091fa53', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (index.h("p-pagination-pages", { key: '603c3be274dc8a3118aa908cecccfd8071813f16', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
86
86
  this._hasPaginationPages = detail > 1;
87
87
  this.pagesChange.emit(detail);
88
88
  } })))));
@@ -35,7 +35,7 @@ const Profile = class {
35
35
  }
36
36
  render() {
37
37
  const content = this._getContent();
38
- return (index.h(themedHost_component.ThemedHost, { key: 'acfcfd3ddb3bae8247f1df99884ac155be45aa86' }, this._hasDropdownSlot ? (index.h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, index.h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), index.h("div", { slot: 'items' }, index.h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
38
+ return (index.h(themedHost_component.ThemedHost, { key: 'c71ae75aee86e05fc18b7a726993bb8b8a914396' }, this._hasDropdownSlot ? (index.h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, index.h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), index.h("div", { slot: 'items' }, index.h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
39
39
  }
40
40
  slotchange() {
41
41
  this._checkDropdownSlot();
@@ -33,13 +33,13 @@ const Range = class {
33
33
  valueChange;
34
34
  render() {
35
35
  const percentage = Math.round((this.value / (this.max - this.min)) * 100);
36
- return (index.h(themedHost_component.ThemedHost, { key: 'fd0a731e7d20e593d1065248f50db452b17ee1cb' }, index.h("div", { key: 'ff11a123161008ab1df2ecd6409d36930a2caeac', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, index.h("p-icon", { key: '1728a242b890cd3396f46b1dbfe4b91293e0e11d', variant: 'minus' }), index.h("div", { key: 'cfb6620df8ad9b2dfe66334ebd931d3384b7523a', class: 'relative h-6 flex-1' }, index.h("input", { key: '0ac09cea4ef3f55a96f19216e2826620bdbc33d4', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
36
+ return (index.h(themedHost_component.ThemedHost, { key: '2952d5f5caa55f4a75803f5390c456eb29afee01' }, index.h("div", { key: 'aa0f43967f84b39994434c59fe76c66018fcc14b', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, index.h("p-icon", { key: 'f5594f8160de301b2cbb992f94306a19d1023598', variant: 'minus' }), index.h("div", { key: '164086b526cc2517922599b0999cc3d9ab5ac4f0', class: 'relative h-6 flex-1' }, index.h("input", { key: '087d0766b0a9bc5cd1bf9529b48b21dc98f25a1d', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
37
37
  const value = ev.target.value;
38
38
  this.value = Number.parseFloat(value);
39
39
  this.valueChange.emit(value);
40
- } }), index.h("div", { key: '9e5bc94ed20c00fcb15f1d973828feb910e0bbfc', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
40
+ } }), index.h("div", { key: '2c30f6e893a06e685da3380cb5cf4ab229838609', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
41
41
  width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
42
- } })), index.h("p-icon", { key: 'df9f96eb46d92d02777bbb0bc9e58f6cf0d21ca7', variant: 'plus' }))));
42
+ } })), index.h("p-icon", { key: '32e64c394789f7da7a1df5297acf624ee3c25c56', variant: 'plus' }))));
43
43
  }
44
44
  };
45
45
  Range.style = rangeComponentCss();
@@ -34,15 +34,15 @@ const SubmenuItem = class {
34
34
  this.activeChange.emit(this.active);
35
35
  }
36
36
  render() {
37
- return (index.h(themedHost_component.ThemedHost, { key: '90bce86bc100210f8491a1a2301813046fd7de1b' }, index.h("div", { key: '51e0542d7e19c609fec475cbbbb0115be419fbf1', class: cn.cn([
37
+ return (index.h(themedHost_component.ThemedHost, { key: '4579daf4e68ade03abd2af7983535d369ba4e7d0' }, index.h("div", { key: '23b987c8c93ac1df5ce9676971d5cd93665cabb1', class: cn.cn([
38
38
  'flex items-center',
39
39
  'h-8 w-full pl-[calc(3rem+2px)]',
40
40
  'cursor-pointer',
41
41
  'group/submenu-item',
42
- ]) }, index.h("div", { key: 'a0d12ac8717ed69491bcdf4dd08b650f39aee67c', class: cn.cn('flex items-center gap-2 transition-colors', {
42
+ ]) }, index.h("div", { key: 'e988f4eb07e19ef11020fdda727a1c30e748120f', class: cn.cn('flex items-center gap-2 transition-colors', {
43
43
  'text-storm-400 dark:text-hurricane-100': !this.active,
44
44
  'text-indigo-600': this.active,
45
- }) }, index.h("p-icon", { key: '45354d39e6b24c0202bcc476c02b7b1d017f91ac', variant: this.icon }), index.h("slot", { key: '762d3933cb5b6145aea1c07d2c3187e5401f5a50' })))));
45
+ }) }, index.h("p-icon", { key: '315cae7459d9340a47970834ada637ac52059897', variant: this.icon }), index.h("slot", { key: '78cdd4b6a7caaf4f5e23f3921fb478f16e979b8f' })))));
46
46
  }
47
47
  };
48
48
  SubmenuItem.style = submenuItemComponentCss();
@@ -152,34 +152,34 @@ const Submenu = class {
152
152
  const maxHeight = submenuItems.length *
153
153
  Number.parseInt(firstItem.height.replace('px', '')) +
154
154
  16; // the margin of the content
155
- return (index.h(themedHost_component.ThemedHost, { key: 'c3a6ed7e5cba465d7e338e2a99bdec41f45c736e' }, index.h("div", { key: 'd77a6a78c054a1f955e4f1c154a3e3a1b5d7f378', class: 'flex w-full flex-col' }, index.h("div", { key: 'a0067a2ed9695507201f7deaa38dcb9170a483ea', class: cn.cn(header({
155
+ return (index.h(themedHost_component.ThemedHost, { key: 'b0155aacc6f39b156f88b570a4041194480a8655' }, index.h("div", { key: '7bd0395cf764d93d4dc648d0da4b284d57dd618b', class: 'flex w-full flex-col' }, index.h("div", { key: '0b45f8696cb04f47e43cbfe50b327c0900e7d01f', class: cn.cn(header({
156
156
  active: this.active,
157
157
  open: this.open,
158
- })), onClick: () => (this.open = !this.open) }, this.showIndex && (index.h("div", { key: '2a963f6d3a2db3bb32cb9b84a46646dec2a97934', class: indexContainer({
158
+ })), onClick: () => (this.open = !this.open) }, this.showIndex && (index.h("div", { key: 'd4c204a8b0e770bffb99e47c5d5c04e488141df9', class: indexContainer({
159
159
  active: this.active,
160
160
  open: this.open,
161
- }) }, this.index)), index.h("div", { key: '9a42e0938ffbae07a7b1674eca31551f11eb3c6b', class: 'flex flex-1 flex-col' }, index.h("p", { key: '7bc3f1d8a62e8358d40a86e48e50a240ca90e861', class: cn.cn('m-0 text-sm', {
161
+ }) }, this.index)), index.h("div", { key: '95c73c9fdc7f8084e73b2134eff8010a9d40778c', class: 'flex flex-1 flex-col' }, index.h("p", { key: 'a551eeba3a348fffdbbbcb3580022cd72959f9f5', class: cn.cn('m-0 text-sm', {
162
162
  'text-storm-400 dark:text-hurricane-100 dark:group-hover/submenu-header:text-white': !this.active,
163
163
  'text-storm-500 dark:text-white': this.active,
164
- }) }, this.title), index.h("p", { key: '06412fdc6a1bf7a5f78f4a6fb2c7589d9188dc32', class: cn.cn('m-0 text-xs', {
164
+ }) }, this.title), index.h("p", { key: 'bda3aaacf1a1cecb877fb80dbc7ac32ecc7d5a7f', class: cn.cn('m-0 text-xs', {
165
165
  'text-storm-300 dark:text-hurricane-300': !this.active,
166
166
  'text-storm-300 dark:text-indigo-200': this.active,
167
- }) }, this.subtitle)), index.h("p-icon", { key: '2762789b5f442e836521cd4b89f5e23d48c17634', class: cn.cn({
167
+ }) }, this.subtitle)), index.h("p-icon", { key: '3eac0ca8b452b654bd0089c4879e9089dd6fba36', class: cn.cn({
168
168
  'text-storm-500 dark:text-white': this.active,
169
169
  'text-storm-300 dark:text-hurricane-300': !this.active,
170
- }), rotate: this.open ? 180 : 0, variant: 'caret' })), index.h("div", { key: 'b050ce61b92e1185797035f7977a60c0b258e6fa', class: cn.cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
170
+ }), rotate: this.open ? 180 : 0, variant: 'caret' })), index.h("div", { key: '8edaeafa660c40d03c615e0aa2d60e7711c37b96', class: cn.cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
171
171
  maxHeight: `${this.open ? maxHeight : 0}px`,
172
- } }, index.h("div", { key: '5211381342902807ced13d616fb9ac6f396f20f5', class: cn.cn('absolute left-6 top-0 z-0 w-px', {
172
+ } }, index.h("div", { key: '2668b4bdf209968453bb97ced1b888ae2dc67bf1', class: cn.cn('absolute left-6 top-0 z-0 w-px', {
173
173
  'bg-off-white-400 dark:bg-storm-500/30': !this.active,
174
174
  'bg-indigo-100 dark:bg-hurricane-400': this.active,
175
175
  }), style: {
176
176
  height: `${maxHeight}px`,
177
- } }), index.h("div", { key: '81eb625408a052fec4e005c3774e99b5bed26035', class: cn.cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
177
+ } }), index.h("div", { key: 'fa5056cc735706f26d0ca4a03d9d03fd5767e4fb', class: cn.cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
178
178
  'bg-indigo-600': this._showItemIndicator,
179
179
  'bg-transparent': !this._showItemIndicator,
180
180
  }), style: {
181
181
  transform: `translateY(${this._activeItemPosition}px)`,
182
- } }), index.h("div", { key: '68eb6a12f619fefd296a71e3573f49f7f582fa18', class: 'z-10 my-2 flex flex-col' }, index.h("slot", { key: 'b60634f606158986b86df75c4fc637eef7c48410', onSlotchange: () => this._slotChanged() }))))));
182
+ } }), index.h("div", { key: 'ba73b20686349f4ca3b71b06f5147e6f972b5b0a', class: 'z-10 my-2 flex flex-col' }, index.h("slot", { key: '5dd58c5ba434e9749cbd93c4d0164e1cdb71fd69', onSlotchange: () => this._slotChanged() }))))));
183
183
  }
184
184
  onWindowResize() {
185
185
  this._calculateHeaderOffset();
@@ -1,6 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-BGtpSJv_.js');
4
+ var cn = require('./cn-Cd68UVBT.js');
5
+ var asBoolean = require('./as-boolean-C1PzA22I.js');
6
+ require('./clsx-BtxeOLZW.js');
4
7
 
5
8
  const tabContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.m-0{margin:0}.flex{display:flex}.h-8{height:2rem}.w-full{width:100%}.flex-col{flex-direction:column}.gap-5{gap:1.25rem}.overflow-x-auto{overflow-x:auto}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hide::-webkit-scrollbar{display:none}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}`;
6
9
 
@@ -8,8 +11,14 @@ const TabContainer = class {
8
11
  constructor(hostRef) {
9
12
  index.registerInstance(this, hostRef);
10
13
  }
14
+ /**
15
+ * Whether to enable scroll
16
+ */
17
+ enableScroll = true;
11
18
  render() {
12
- return (index.h("div", { key: 'e89642efdbdac9c36ea1b79ed2f3f7002975b4d9', class: 'relative flex h-8 w-full flex-col' }, index.h("div", { key: '4e11ddb4ad1adbb1b5f6c8f13ceabd7417c5cd2f', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, index.h("slot", { key: 'e1a80331ad4b1e1dd4a93b6c06e2d7e1df68d8d7' })), index.h("p-divider", { key: '317e13b7257271335a4e68596a6269e6bf4ae865', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
19
+ return (index.h("div", { key: '1b5aabd360facf84eb92465a4c97ba7e277346c2', class: 'relative flex h-8 w-full flex-col' }, index.h("div", { key: 'cf478ed95026aae7c02416d8322c72371ffea585', class: cn.cn('flex w-full gap-5 scrollbar-hide', {
20
+ 'overflow-x-auto': asBoolean.asBoolean(this.enableScroll),
21
+ }) }, index.h("slot", { key: '43597e5b985e144bb99803ed125f91918d830fd2' })), index.h("p-divider", { key: 'c61b5b15edaea91c68e736b6bb56739fb91c8024', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
13
22
  }
14
23
  };
15
24
  TabContainer.style = tabContainerComponentCss();
@@ -6,10 +6,10 @@ var themedHost_component = require('./themed-host.component-BeeT9Ite.js');
6
6
  require('./clsx-BtxeOLZW.js');
7
7
  require('./state-DM8SZBNO.js');
8
8
 
9
- const tabItemComponentCss = () => `*{box-sizing:border-box}:host{--tw-content:" "}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.text-sm{font-size:.875rem;line-height:1.25rem}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.after\\:h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:bg-indigo-600:after{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:bg-transparent:after{background-color:transparent;content:var(--tw-content)}.hover\\:text-storm-400:hover{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.hover\\:after\\:bg-storm-400:hover:after{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where([data-theme=dark],[data-theme=dark] *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}`;
9
+ const tabItemComponentCss = () => `*{box-sizing:border-box}:host{--tw-content:" "}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.after\\:h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:bg-indigo-600:after{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:bg-transparent:after{background-color:transparent;content:var(--tw-content)}.hover\\:text-storm-400:hover{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.hover\\:after\\:bg-storm-400:hover:after{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where([data-theme=dark],[data-theme=dark] *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}`;
10
10
 
11
11
  const item = index$1.cva([
12
- 'flex h-8 flex-col justify-between text-sm',
12
+ 'flex h-8 items-center justify-center gap-2 text-sm',
13
13
  'cursor-pointer',
14
14
  `
15
15
  after:content-['
@@ -47,8 +47,16 @@ const TabItem = class {
47
47
  * Wether the tab item is active
48
48
  */
49
49
  active = false;
50
+ /**
51
+ * Wether to show a chevron or not
52
+ */
53
+ chevron = false;
54
+ /**
55
+ * Chevron position
56
+ */
57
+ chevronPosition = 'end';
50
58
  render() {
51
- return (index.h(themedHost_component.ThemedHost, { key: '9c61f2d31392fe6b36493d1ae717ce6e02fe4f21' }, index.h("div", { key: 'f673837150832946c4186588e8e92ba1534d2f32', class: item({ active: this.active }) }, index.h("slot", { key: '82eb84bfb66d1ed93bec1d8925dece7cd15411de' }))));
59
+ return (index.h(themedHost_component.ThemedHost, { key: 'bbcccea54feff997f547cb924e7a32a6be9672fc' }, index.h("div", { key: 'a2ab472cdd47d15a9b231e0c4f1757800130c078', class: item({ active: this.active }) }, this.chevron && this.chevronPosition === 'start' && (index.h("p-icon", { key: 'cd3a11b8fc0bba0f0318bac8e7ba6eb4037a9f25', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), index.h("slot", { key: 'e9f495d5bcdd55d5a0e106ed1ade959e5f361e8c' }), this.chevron && this.chevronPosition === 'end' && (index.h("p-icon", { key: 'de000972354a9a4dd3ce3bab3a0ce2b6d880b944', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })))));
52
60
  }
53
61
  };
54
62
  TabItem.style = tabItemComponentCss();
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-BGtpSJv_.js');
4
4
  var localization = require('./localization-CTvpcGDo.js');
5
- var tableHelpers = require('./table-helpers-CskH_8AL.js');
5
+ var tableHelpers = require('./table-helpers-BMTEeBOx.js');
6
6
  var screens = require('./screens-AithmFZ8.js');
7
7
  var isPlatform = require('./is-platform-byJrxYJO.js');
8
8
  var cn = require('./cn-Cd68UVBT.js');
@@ -48,9 +48,9 @@ const ToastContainer = class {
48
48
  */
49
49
  placement = 'top-end';
50
50
  render() {
51
- return (index.h("div", { key: 'b8450106a439c1afa6fcce3dccc3d52d982c9c0f', class: container({
51
+ return (index.h("div", { key: '248a68b4ffbf7f9b3136927fb4a8ef6a3b683651', class: container({
52
52
  placement: this.placement,
53
- }) }, index.h("slot", { key: '6a6203ca9e4c53e1d74f834bd023a60a5241f415' })));
53
+ }) }, index.h("slot", { key: 'd7d6813c675f8bc54e3ed97b9e0adb7f18c96b3b' })));
54
54
  }
55
55
  };
56
56
  ToastContainer.style = toastContainerComponentCss();
@@ -72,7 +72,7 @@ const Toast = class {
72
72
  */
73
73
  action;
74
74
  render() {
75
- return (index.h(themedHost_component.ThemedHost, { key: '008becccf14ae165e05fd1e7b8fe9e04c1f204a1' }, index.h("div", { key: 'e783c3d97e1c1e434a042be33c99d34b8d11ede0', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, index.h("div", { key: 'ef643aeffdc0fc7db4ab9f6c51668afd84723b04', class: indicator({ variant: this.variant }) }), index.h("div", { key: '14c15d046eb741e39e952983f66f41af92cd239a', class: content() }, index.h("div", { key: 'f3b5ccd2ad643751f79f7be558c7b090a552e073', class: 'flex w-full min-w-0 flex-col' }, index.h("p", { key: '23407aac7d8311913796c8147901a4fd97b85a03', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : index.h("slot", { name: 'header' })), index.h("p", { key: '74f6229b2bbd5175937e5982f474fdf3fbf98984', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : index.h("slot", { name: 'content' }))), this.enableAction && (index.h("div", { key: 'd3bf57747e399938018001613d5f052550640ce8', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, index.h("p-icon", { key: '52c6b8446c8a21b3d710339342773bacfdddcaa1', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
75
+ return (index.h(themedHost_component.ThemedHost, { key: '15023dff5c0c4bf47744cbe407ef640344f869fc' }, index.h("div", { key: '2fec29167d1a4b22f02a8ec1dd30e60db478221a', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, index.h("div", { key: 'b0e559e3a165f7947695bf28454ec2b4cd249bd4', class: indicator({ variant: this.variant }) }), index.h("div", { key: '480e746e6346ac5db91fa4a41122fc0973972b98', class: content() }, index.h("div", { key: '41b8ea9c77b34d3bb88907080ebcb0c1c7639a6e', class: 'flex w-full min-w-0 flex-col' }, index.h("p", { key: '64c485588c03b1af6b4f9621db8092864218a9b3', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : index.h("slot", { name: 'header' })), index.h("p", { key: '2ffcc6a67a00de0342fd434708b970dd362d190b', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : index.h("slot", { name: 'content' }))), this.enableAction && (index.h("div", { key: '4eb33012eea3fd9c7867ea8b442c93b9ae0df5dd', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, index.h("p-icon", { key: '053e42f39fab14d6aff87ed85b6f05325a91bd98', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
76
76
  }
77
77
  _onClick() {
78
78
  if (this.enableAction) {
@@ -151,11 +151,11 @@ const Toggle = class {
151
151
  }
152
152
  render() {
153
153
  const id = this.id?.length ? this.id : this._nonce;
154
- return (index.h(themedHost_component.ThemedHost, { key: '95b39ce4f5dc7b62a04d7901316d8da577b611f1' }, index.h("label", { key: '24c67608985ef2f63dcd09d875f04cea03d6ae17', class: 'flex items-center justify-start gap-2', htmlFor: id }, index.h("div", { key: 'c54f1bf846aff7870ff43b8860f48caa699b70ab', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, index.h("input", { key: '1f724e6e8595a8ad13cedf24cf709a0c6009d025', checked: !!this.checked, class: toggle({
154
+ return (index.h(themedHost_component.ThemedHost, { key: '1367dc5e8e2ddc280c8fe4c3b1b8fd3b81140597' }, index.h("label", { key: 'bbad177e14ede6263edf0ce15c137d0eae15ad81', class: 'flex items-center justify-start gap-2', htmlFor: id }, index.h("div", { key: '8186da479526babe82d03cd5ef0e56d54c1fbae9', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, index.h("input", { key: 'ba7acb727133094f0f8caffe39e175a562d3a257', checked: !!this.checked, class: toggle({
155
155
  disabled: asBoolean.asBoolean(this.disabled),
156
- }), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), index.h("div", { key: '09c80849a3d22d20008de5349c9212edf080dd24', class: circle({
156
+ }), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), index.h("div", { key: 'fed7597c831e749fe546086a0597d29441f835be', class: circle({
157
157
  disabled: asBoolean.asBoolean(this.disabled),
158
- }) })), index.h("div", { key: '925b703dee98131f67ca94f880f04454eb5cbcc6', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, index.h("slot", { key: 'a70cd6e4d3a12c71e474979517976fa09a559de4' })))));
158
+ }) })), index.h("div", { key: '3999918587494793cd04a72829dfa1b4c3558773', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, index.h("slot", { key: '3b70574c69a51566f484649e5590c919e938becc' })))));
159
159
  }
160
160
  _onChange(ev) {
161
161
  if (asBoolean.asBoolean(this.disabled)) {
@@ -105,10 +105,10 @@ const Tooltip = class {
105
105
  this._cleanup = null;
106
106
  }
107
107
  render() {
108
- return (index.h(themedHost_component.ThemedHost, { key: 'ad852c968b1119825237d1c9e4c67083156163f2', "data-filled": this.content?.length > 0 || this._hasContentSlot }, index.h("slot", { key: 'c51cfa0a0d9df2f529f05aadacabc257c7253aff', name: 'trigger' }), index.h("div", { key: 'd07f501940600d2e29f20c45b373074b58c4a71f', class: popover({
108
+ return (index.h(themedHost_component.ThemedHost, { key: '351cfb85c63fe9f93cdd64d5faa4ff402b48a4bf', "data-filled": this.content?.length > 0 || this._hasContentSlot }, index.h("slot", { key: '39ad8ee33b22b75b43211aa03be843c9a90cd92a', name: 'trigger' }), index.h("div", { key: '3c271dcad6cdc2eb1740aa095c65c96978de6ed7', class: popover({
109
109
  variant: this.variant,
110
110
  strategy: this.strategy,
111
- }), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, index.h("div", { key: 'e203d8e859a60f3ff4ae6fd0608211d4210bfdf2', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (index.h("div", { key: '6cc7c7d1465ffbea310710d5789a03cda13e36f3', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? index.h("slot", { key: '1ff33cc0032b792cf14f29405b876ea69a0dfbeb', name: 'content' })))));
111
+ }), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, index.h("div", { key: '0408ffc10db978b05c6ae14ac2511b8f12ff3e87', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (index.h("div", { key: '8a103bafed5c8f522463831dc756fa7e78d24142', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? index.h("slot", { key: '2f8857816accda837015f59e49c062d529dcb1df', name: 'content' })))));
112
112
  }
113
113
  clickHandler() {
114
114
  if (this.variant === 'hover' || !this.enableUserInput) {