@paperless/core 3.28.5 → 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 (219) hide show
  1. package/dist/build/{p-ea2deb46.entry.js → p-0025fed7.entry.js} +1 -1
  2. package/dist/{paperless/p-b190b534.entry.js → build/p-10524bb8.entry.js} +1 -1
  3. package/dist/build/{p-a035467d.entry.js → p-1bf1c531.entry.js} +1 -1
  4. package/dist/{paperless/p-78244c70.entry.js → build/p-1f7088e0.entry.js} +1 -1
  5. package/dist/build/{p-8c141cb8.entry.js → p-20bbd9f7.entry.js} +1 -1
  6. package/dist/build/{p-c9b79bd8.entry.js → p-2815c450.entry.js} +1 -1
  7. package/dist/build/{p-3efce878.entry.js → p-406978fd.entry.js} +1 -1
  8. package/dist/{paperless/p-688afaf3.entry.js → build/p-42a9d7a9.entry.js} +1 -1
  9. package/dist/build/{p-92910dad.entry.js → p-458a1300.entry.js} +1 -1
  10. package/dist/build/p-45f64a83.entry.js +1 -0
  11. package/dist/build/{p-fadcfc9f.entry.js → p-56807646.entry.js} +1 -1
  12. package/dist/build/p-669c6727.entry.js +1 -0
  13. package/dist/build/{p-6ac8c0c1.entry.js → p-66aa349f.entry.js} +1 -1
  14. package/dist/build/{p-51312a8f.entry.js → p-6da143ff.entry.js} +1 -1
  15. package/dist/build/{p-91686988.entry.js → p-707ec953.entry.js} +1 -1
  16. package/dist/build/{p-ec0a6d22.entry.js → p-75a9889e.entry.js} +1 -1
  17. package/dist/build/p-9245172e.entry.js +1 -0
  18. package/dist/build/p-92f92a42.entry.js +1 -0
  19. package/dist/build/{p-7c8ec514.entry.js → p-98bc206c.entry.js} +1 -1
  20. package/dist/build/{p-93a57d38.entry.js → p-a2725e3b.entry.js} +1 -1
  21. package/dist/{paperless/p-d21a8908.entry.js → build/p-bc15eb99.entry.js} +1 -1
  22. package/dist/{paperless/p-31cf13c6.entry.js → build/p-cc99ef0c.entry.js} +2 -2
  23. package/dist/build/p-cf13f533.entry.js +1 -0
  24. package/dist/build/{p-d7d2411e.entry.js → p-d10cdb57.entry.js} +1 -1
  25. package/dist/build/{p-055b6209.entry.js → p-d4970495.entry.js} +1 -1
  26. package/dist/build/p-fa24e216.js +1 -0
  27. package/dist/build/paperless.esm.js +1 -1
  28. package/dist/cjs/loader.cjs.js +1 -1
  29. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  30. package/dist/cjs/p-attachment.cjs.entry.js +8 -8
  31. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  32. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  33. package/dist/cjs/p-checkbox_3.cjs.entry.js +18 -16
  34. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  35. package/dist/cjs/p-cropper.cjs.entry.js +1 -1
  36. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  37. package/dist/cjs/p-empty-state_8.cjs.entry.js +12 -12
  38. package/dist/cjs/p-field_3.cjs.entry.js +4 -4
  39. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  40. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  41. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  42. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  43. package/dist/cjs/p-pagination_3.cjs.entry.js +3 -3
  44. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  45. package/dist/cjs/p-range.cjs.entry.js +3 -3
  46. package/dist/cjs/p-submenu-item.cjs.entry.js +3 -3
  47. package/dist/cjs/p-submenu.cjs.entry.js +9 -9
  48. package/dist/cjs/p-tab-container.cjs.entry.js +10 -1
  49. package/dist/cjs/p-tab-item.cjs.entry.js +11 -3
  50. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  51. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  52. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  53. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  54. package/dist/cjs/paperless.cjs.js +1 -1
  55. package/dist/collection/components/atoms/tab/container/tab-container.component.js +33 -1
  56. package/dist/collection/components/atoms/tab/container/tab-container.stories.js +18 -0
  57. package/dist/collection/components/atoms/tab/item/tab-item.component.css +1 -1
  58. package/dist/collection/components/atoms/tab/item/tab-item.component.js +50 -2
  59. package/dist/collection/components/atoms/tab/item/tab-item.stories.js +5 -1
  60. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  61. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
  62. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  63. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  64. package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
  65. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  66. package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
  67. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  68. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  69. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  70. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  71. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  72. package/dist/collection/components/molecules/dropdown/dropdown.component.js +18 -16
  73. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  74. package/dist/collection/components/molecules/field/field/field.component.js +4 -4
  75. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  76. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  77. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  78. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  79. package/dist/collection/components/molecules/range/range.component.js +3 -3
  80. package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +3 -3
  81. package/dist/collection/components/molecules/submenu/menu/submenu.component.js +9 -9
  82. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  83. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  84. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  85. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  86. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  87. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  88. package/dist/components/{p-Dg_DgmLY.js → p-2-4yuHR1.js} +1 -1
  89. package/dist/components/{p-BDWOQXx7.js → p-4KZlY5xH.js} +1 -1
  90. package/dist/components/{p-CxrxqKhq.js → p-B3Dks732.js} +1 -1
  91. package/dist/components/{p-DHJIvL0U.js → p-B7pLpkL0.js} +1 -1
  92. package/dist/components/{p-c6u4OYf0.js → p-BAVMxgJn.js} +1 -1
  93. package/dist/components/{p-C_ImoJA8.js → p-CklXrITo.js} +1 -1
  94. package/dist/components/p-D8Cwg2-6.js +1 -0
  95. package/dist/components/{p-Cmltn24W.js → p-D9Vv2Jg9.js} +1 -1
  96. package/dist/components/{p-Bh3wcvje.js → p-DZzA60Dx.js} +1 -1
  97. package/dist/components/{p-CVR1NJF5.js → p-DcIQGfEt.js} +1 -1
  98. package/dist/components/{p-9XjFw7wO.js → p-DpkIrMz9.js} +1 -1
  99. package/dist/components/{p-B2SjLmdM.js → p-DrGWvXqN.js} +1 -1
  100. package/dist/components/{p-DxuTDs4a.js → p-DsgO2Ufk.js} +1 -1
  101. package/dist/components/{p-ByJPQrlL.js → p-GGeQLkOT.js} +1 -1
  102. package/dist/components/{p-BmsR-djQ.js → p-PISPo1NR.js} +1 -1
  103. package/dist/components/p-accordion.js +1 -1
  104. package/dist/components/p-attachment.js +1 -1
  105. package/dist/components/p-button-group.js +1 -1
  106. package/dist/components/p-calendar.js +1 -1
  107. package/dist/components/p-content-slider.js +1 -1
  108. package/dist/components/p-cropper.js +2 -2
  109. package/dist/components/p-datepicker.js +1 -1
  110. package/dist/components/p-dropdown.js +1 -1
  111. package/dist/components/p-empty-state.js +1 -1
  112. package/dist/components/{p-BJyXdiHc.js → p-eo0MmU1s.js} +1 -1
  113. package/dist/components/p-field-container.js +1 -1
  114. package/dist/components/p-field.js +1 -1
  115. package/dist/components/p-helper.js +1 -1
  116. package/dist/components/p-listing.js +1 -1
  117. package/dist/components/p-navbar.js +1 -1
  118. package/dist/components/p-navigation-item.js +1 -1
  119. package/dist/components/p-navigation-section.js +1 -1
  120. package/dist/components/p-pagination-pages.js +1 -1
  121. package/dist/components/p-pagination-size.js +1 -1
  122. package/dist/components/p-pagination.js +1 -1
  123. package/dist/components/p-profile.js +1 -1
  124. package/dist/components/p-range.js +1 -1
  125. package/dist/components/p-select.js +1 -1
  126. package/dist/components/p-submenu-item.js +1 -1
  127. package/dist/components/p-submenu.js +1 -1
  128. package/dist/components/p-tab-container.js +1 -1
  129. package/dist/components/p-tab-item.js +1 -1
  130. package/dist/components/p-table-cell.js +1 -1
  131. package/dist/components/p-table-container.js +1 -1
  132. package/dist/components/p-table-footer.js +1 -1
  133. package/dist/components/p-table-header.js +1 -1
  134. package/dist/components/p-table-row-actions-container.js +1 -1
  135. package/dist/components/p-table-row.js +1 -1
  136. package/dist/components/p-table.js +1 -1
  137. package/dist/components/p-toast-container.js +1 -1
  138. package/dist/components/p-toast.js +1 -1
  139. package/dist/components/p-toggle.js +1 -1
  140. package/dist/components/p-tooltip.js +1 -1
  141. package/dist/components/p-vlEpgOl1.js +1 -0
  142. package/dist/esm/loader.js +1 -1
  143. package/dist/esm/p-accordion.entry.js +2 -2
  144. package/dist/esm/p-attachment.entry.js +8 -8
  145. package/dist/esm/p-button-group.entry.js +1 -1
  146. package/dist/esm/p-calendar.entry.js +1 -1
  147. package/dist/esm/p-checkbox_3.entry.js +18 -16
  148. package/dist/esm/p-content-slider.entry.js +2 -2
  149. package/dist/esm/p-cropper.entry.js +1 -1
  150. package/dist/esm/p-datepicker.entry.js +2 -2
  151. package/dist/esm/p-empty-state_8.entry.js +12 -12
  152. package/dist/esm/p-field_3.entry.js +4 -4
  153. package/dist/esm/p-listing.entry.js +2 -2
  154. package/dist/esm/p-navbar.entry.js +1 -1
  155. package/dist/esm/p-navigation-item.entry.js +3 -3
  156. package/dist/esm/p-navigation-section.entry.js +1 -1
  157. package/dist/esm/p-pagination_3.entry.js +3 -3
  158. package/dist/esm/p-profile.entry.js +1 -1
  159. package/dist/esm/p-range.entry.js +3 -3
  160. package/dist/esm/p-submenu-item.entry.js +3 -3
  161. package/dist/esm/p-submenu.entry.js +9 -9
  162. package/dist/esm/p-tab-container.entry.js +10 -1
  163. package/dist/esm/p-tab-item.entry.js +11 -3
  164. package/dist/esm/p-toast-container.entry.js +2 -2
  165. package/dist/esm/p-toast.entry.js +1 -1
  166. package/dist/esm/p-toggle.entry.js +3 -3
  167. package/dist/esm/p-tooltip.entry.js +2 -2
  168. package/dist/esm/paperless.js +1 -1
  169. package/dist/index.html +1 -1
  170. package/dist/paperless/{p-ea2deb46.entry.js → p-0025fed7.entry.js} +1 -1
  171. package/dist/{build/p-b190b534.entry.js → paperless/p-10524bb8.entry.js} +1 -1
  172. package/dist/paperless/{p-a035467d.entry.js → p-1bf1c531.entry.js} +1 -1
  173. package/dist/{build/p-78244c70.entry.js → paperless/p-1f7088e0.entry.js} +1 -1
  174. package/dist/paperless/{p-8c141cb8.entry.js → p-20bbd9f7.entry.js} +1 -1
  175. package/dist/paperless/{p-c9b79bd8.entry.js → p-2815c450.entry.js} +1 -1
  176. package/dist/paperless/{p-3efce878.entry.js → p-406978fd.entry.js} +1 -1
  177. package/dist/{build/p-688afaf3.entry.js → paperless/p-42a9d7a9.entry.js} +1 -1
  178. package/dist/paperless/{p-92910dad.entry.js → p-458a1300.entry.js} +1 -1
  179. package/dist/paperless/p-45f64a83.entry.js +1 -0
  180. package/dist/paperless/{p-fadcfc9f.entry.js → p-56807646.entry.js} +1 -1
  181. package/dist/paperless/p-669c6727.entry.js +1 -0
  182. package/dist/paperless/{p-6ac8c0c1.entry.js → p-66aa349f.entry.js} +1 -1
  183. package/dist/paperless/{p-51312a8f.entry.js → p-6da143ff.entry.js} +1 -1
  184. package/dist/paperless/{p-91686988.entry.js → p-707ec953.entry.js} +1 -1
  185. package/dist/paperless/{p-ec0a6d22.entry.js → p-75a9889e.entry.js} +1 -1
  186. package/dist/paperless/p-9245172e.entry.js +1 -0
  187. package/dist/paperless/p-92f92a42.entry.js +1 -0
  188. package/dist/paperless/{p-7c8ec514.entry.js → p-98bc206c.entry.js} +1 -1
  189. package/dist/paperless/{p-93a57d38.entry.js → p-a2725e3b.entry.js} +1 -1
  190. package/dist/{build/p-d21a8908.entry.js → paperless/p-bc15eb99.entry.js} +1 -1
  191. package/dist/{build/p-31cf13c6.entry.js → paperless/p-cc99ef0c.entry.js} +2 -2
  192. package/dist/paperless/p-cf13f533.entry.js +1 -0
  193. package/dist/paperless/{p-d7d2411e.entry.js → p-d10cdb57.entry.js} +1 -1
  194. package/dist/paperless/{p-055b6209.entry.js → p-d4970495.entry.js} +1 -1
  195. package/dist/paperless/paperless.esm.js +1 -1
  196. package/dist/sw.js +1 -1
  197. package/dist/sw.js.map +1 -1
  198. package/dist/types/components/atoms/tab/container/tab-container.component.d.ts +4 -0
  199. package/dist/types/components/atoms/tab/container/tab-container.stories.d.ts +3 -0
  200. package/dist/types/components/atoms/tab/item/tab-item.component.d.ts +8 -0
  201. package/dist/types/components/atoms/tab/item/tab-item.stories.d.ts +7 -1
  202. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +1 -1
  203. package/dist/types/components.d.ts +30 -0
  204. package/hydrate/index.js +110 -90
  205. package/hydrate/index.mjs +110 -90
  206. package/package.json +1 -1
  207. package/dist/build/p-014ef0e1.entry.js +0 -1
  208. package/dist/build/p-1a424b04.entry.js +0 -1
  209. package/dist/build/p-571575d2.entry.js +0 -1
  210. package/dist/build/p-9430fadc.js +0 -1
  211. package/dist/build/p-9f684244.entry.js +0 -1
  212. package/dist/build/p-a395e9e0.entry.js +0 -1
  213. package/dist/components/p-BG1plx2A.js +0 -1
  214. package/dist/components/p-zBwPEKhI.js +0 -1
  215. package/dist/paperless/p-014ef0e1.entry.js +0 -1
  216. package/dist/paperless/p-1a424b04.entry.js +0 -1
  217. package/dist/paperless/p-571575d2.entry.js +0 -1
  218. package/dist/paperless/p-9f684244.entry.js +0 -1
  219. package/dist/paperless/p-a395e9e0.entry.js +0 -1
@@ -119,7 +119,7 @@ export class Dropdown {
119
119
  this._update();
120
120
  }
121
121
  componentDidLoad() {
122
- this._checkButtons();
122
+ this._checkTriggers();
123
123
  }
124
124
  disconnectedCallback() {
125
125
  if (!this._cleanup) {
@@ -129,34 +129,36 @@ export class Dropdown {
129
129
  this._cleanup = null;
130
130
  }
131
131
  componentDidRender() {
132
- this._checkButtons();
132
+ this._checkTriggers();
133
133
  this._checkItems();
134
134
  }
135
135
  render() {
136
- return (h(Host, { key: '42a631c6824e90a489e74dab6ae942f4c3e97ff4', class: 'relative' }, h("div", { key: 'b94bf3245828fe537152e5c2ab8fed0b90561c63', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, h("slot", { key: '470e2e6d9cd87dba46d6cf718f78a1e31efd9c00', name: 'trigger' })), h("div", { key: '449f163bdcba639d88fcf0dbeee138f3c44cb832', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: 'b98f064e3ee94d2bc6ad9a7fc21a910bd2de6dbf', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
136
+ return (h(Host, { key: '1c9ee1c32b2e4c55569882ccc33b33f90e391b85', class: 'relative' }, h("div", { key: '6e80ec057d334f296ff427c0e0788ce5e4c10000', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, h("slot", { key: '218bd8aa27760c3717f0fe6aa5c320d3fe125938', name: 'trigger' })), h("div", { key: 'b674651b28be116e470caf3accabbda09f512fca', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: '69eaac45d6576aec68301c5c5fd59964c07d0254', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
137
137
  strategy: this.strategy,
138
138
  maxWidth: this.applyMaxWidth,
139
139
  fullWidth: this.applyFullWidth && !this.applyMaxWidth,
140
140
  isDatepicker: this.isDatepicker,
141
- }), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, h("slot", { key: '5c961dd4efeeae8326f45a6bcad185a31cc36af4', name: 'items' })))));
141
+ }), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, h("slot", { key: '74dfa5c50deadb6e447c497b854716e82bcbcebe', name: 'items' })))));
142
142
  }
143
- _checkButtons(active = false) {
144
- const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
143
+ _checkTriggers(active = false) {
144
+ const triggers = this._el.querySelectorAll('p-button[slot="trigger"], p-tab-item[slot="trigger"]');
145
145
  const isOpen = this._menu.dataset.show === 'true';
146
- for (let button of buttons) {
147
- button.disabled = this.disableTriggerClick;
148
- button.active = active;
149
- if (button.iconOnly) {
150
- continue;
146
+ for (const trigger of triggers) {
147
+ if ('disabled' in trigger) {
148
+ trigger.disabled = this.disableTriggerClick;
149
+ if (trigger.iconOnly) {
150
+ continue;
151
+ }
151
152
  }
153
+ trigger.active = active;
152
154
  if (this.applyChevron === false || this.manualChevron === true) {
153
155
  if (this.manualChevron === false) {
154
- button.chevron = false;
156
+ trigger.chevron = false;
155
157
  }
156
158
  continue;
157
159
  }
158
- button.chevronPosition = this.chevronPosition;
159
- button.chevron =
160
+ trigger.chevronPosition = this.chevronPosition;
161
+ trigger.chevron =
160
162
  this.chevronDirection ??
161
163
  (this.placement.includes('top')
162
164
  ? isOpen
@@ -237,7 +239,7 @@ export class Dropdown {
237
239
  this._menu.classList.remove('hidden');
238
240
  this._menu.classList.add('block');
239
241
  this.isOpen.emit(true);
240
- this._checkButtons(true);
242
+ this._checkTriggers(true);
241
243
  }
242
244
  _hide() {
243
245
  if (!this._loaded || this.show) {
@@ -252,7 +254,7 @@ export class Dropdown {
252
254
  this._menu.classList.remove('block');
253
255
  this._menu.classList.add('hidden');
254
256
  this.isOpen.emit(false);
255
- this._checkButtons(false);
257
+ this._checkTriggers(false);
256
258
  }
257
259
  _update() {
258
260
  if (!this._menu) {
@@ -59,11 +59,11 @@ export class EmptyState {
59
59
  const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
60
60
  const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
61
61
  const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
62
- return (h(ThemedHost, { key: 'eed19be38cd66ad6c316f45ecec5d92612bfa98e' }, h("div", { key: '2a4e2dcd83b5716770fa459d6c2701af6ea9a5e3', class: emptyState({
62
+ return (h(ThemedHost, { key: '88c1f3ded82cfdb33056c1a5882a965eaca03641' }, h("div", { key: '0f397cbf947d3189b1fc8085cf50790e62d405f1', class: emptyState({
63
63
  enableAction: asBoolean(this.enableAction, true),
64
64
  }), onClick: ev => this.enableAction && !this.actionLoading
65
65
  ? this.action.emit(ev)
66
- : undefined }, this.illustration && (h("p-illustration", { key: '4165b934ab83562aafe5c855a772475c363e79a4', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (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 ? (h("slot", { name: 'content' })) : (this.content?.length && (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 &&
66
+ : undefined }, this.illustration && (h("p-illustration", { key: '7debb3c4d38db63f33c0f3cb59e42af1b5be84cd', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (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 ? (h("slot", { name: 'content' })) : (this.content?.length && (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 &&
67
67
  (hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
68
68
  }
69
69
  static get is() { return "p-empty-state"; }
@@ -371,8 +371,8 @@ export class Field {
371
371
  }
372
372
  render() {
373
373
  const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
374
- return (h(ThemedHost, { key: 'b251e9ed78735fc141963abe577696100e973d37' }, h("p-field-container", { key: '7f9e06a6e2904f43404fb93b886e4e0918b5a862', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
375
- (!!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 && (h("slot", { key: 'bc559fcf5b77ff3b87120eb52fd0e3dd14e1b912', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '1b87bb5d34f429f9319632f14c12b28f8e76cf1a', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'a6a461f45d58d76b1ef0f6b3e013d699e72dbf49', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'b3947ba2b86f3b776178288e4946eb11e3efe3f2', name: 'error', slot: 'error' })), h("div", { key: 'aaed5d10a79306e400128254b9ca4c132cd06088', class: field({
374
+ return (h(ThemedHost, { key: '34ff09d82525eb78723fb820f0d0290ae23721b0' }, h("p-field-container", { key: '347566f3dab26546ddca4034335af525da68678b', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
375
+ (!!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 && (h("slot", { key: '519d4c702f9dc06fc7a9372a967b2f687947bc33', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '00536ca06d00f9b777065a33e68232b6748e1660', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '65d37212c39a122453d91ddeae877f946992e01a', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '0a61cbb8744cb2735839036f32ec4678ffa5fba7', name: 'error', slot: 'error' })), h("div", { key: '3f33946b5fa9bce68ee1adfab0bdbe55104975bf', class: field({
376
376
  error: !!this.error?.length,
377
377
  disabled: asBoolean(this.disabled),
378
378
  focused: asBoolean(this.focused) || this._focused,
@@ -383,7 +383,7 @@ export class Field {
383
383
  ? `${this.value}`
384
384
  : undefined }, (this.error?.length ||
385
385
  prefix ||
386
- (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'e516c3533d88e87a601d9c97504100687d6f30da', class: prefixAndSuffix({
386
+ (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'b41a10d82c3d11189763cb25e0b729b520b27d84', class: prefixAndSuffix({
387
387
  variant: this.variant,
388
388
  error: !!this.error?.length,
389
389
  disabled: asBoolean(this.disabled),
@@ -395,7 +395,7 @@ export class Field {
395
395
  'mt-1': this.variant === 'read' && this.size === 'base',
396
396
  }), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
397
397
  (this.type === 'password' && this.enablePasswordEye) ||
398
- (this.icon && this.iconPosition === 'end')) && (h("div", { key: '62fcd0427be492bd46faeafd2a35b0df447bebac', class: cn(prefixAndSuffix({
398
+ (this.icon && this.iconPosition === 'end')) && (h("div", { key: '918ba94e63f2a04363ae84328f2cc199ec1a54e7', class: cn(prefixAndSuffix({
399
399
  variant: this.variant,
400
400
  error: !!this.error?.length,
401
401
  disabled: asBoolean(this.disabled),
@@ -88,13 +88,13 @@ export class NavigationItem {
88
88
  render() {
89
89
  const TagType = this.as;
90
90
  const active = asBoolean(this.active) || this.class?.includes('active');
91
- return (h(ThemedHost, { key: '9dbc90d066c5c8af033baeadfd56b0d6fc97b8e8', class: cn('inline-block', this.class) }, h(TagType, { key: '54794c49462a1695aa7ab2aac1798ebd7e659775', class: navigationItem({
91
+ return (h(ThemedHost, { key: '347b0fff17aa518408c501e0f36c1705b10748c6', class: cn('inline-block', this.class) }, h(TagType, { key: '5ef2af324e413caafb7315dc4b13d30c42267b6c', class: navigationItem({
92
92
  icon: !!this.icon,
93
93
  active,
94
- }), href: this.href, target: this.target }, h("div", { key: 'a64642008da3eb90fabef41ff4f7849bd5990769', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '5717e6bab1ccaff30409cdc470a5e26c0453abc3', variant: this.icon })), h("span", { key: '10724de271347188676041a4d3d34abda19570fe', class: cn({
94
+ }), href: this.href, target: this.target }, h("div", { key: '6313d3de316f39dfc24bc5d4a53f5153c0413a35', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'a1598b69de4fe59e6831d53948c55dc0f685b9ad', variant: this.icon })), h("span", { key: 'fa7e13deabd7b690fc5be427bf86538b1889cef9', class: cn({
95
95
  'has-counter': !!this.counter,
96
96
  'w-full': this.applyFullWidth,
97
- }) }, h("slot", { key: 'c28eb7ba26a618dcd80cfb53a9b6e99f202be44c' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '3c75ef84bea0f90c136544c30aa32bc3bb5de311' }, this.counter)), !!this.loading && h("p-loader", { key: '0039f85358dcdd014ba98415256dc49be0daf366', class: 'ml-auto' }))));
97
+ }) }, h("slot", { key: '86dc19d97dd2a19d056f1e33c0fba9d94e4f2218' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'ebfafb0aea1e0b38757f28b8118d4f54b8388582' }, this.counter)), !!this.loading && h("p-loader", { key: '83cb991e82cf7fe34531f4c7c7a1a1167b38a8d3', class: 'ml-auto' }))));
98
98
  }
99
99
  static get is() { return "p-navigation-item"; }
100
100
  static get encapsulation() { return "scoped"; }
@@ -6,7 +6,7 @@ export class NavigationSection {
6
6
  */
7
7
  header;
8
8
  render() {
9
- return (h(ThemedHost, { key: 'a0ca4e59eecc786d21f19b5cf19109ff2ecff9c2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '2c01baaaff7f298d2589c62571cc765c885c7c21' }, this.header)), h("div", { key: 'e92d1f46d8fb376f93097bb29d47983055d0657d', class: 'flex flex-col' }, h("slot", { key: '6e68b9723d5ae4f738c3f56d6c8c73fbb824e497' }))));
9
+ return (h(ThemedHost, { key: 'ef9bc5a34ec30fddac926c6eb32225ad29933a6b', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: 'c2247b566e622687b63cc461b4d18383c4657c87' }, this.header)), h("div", { key: '214b7cdcc8425ae88ac667f2fabaf74e08e4dbc8', class: 'flex flex-col' }, h("slot", { key: '26833f9c31a682f58160fc54063ecb7459f3f0b1' }))));
10
10
  }
11
11
  static get is() { return "p-navigation-section"; }
12
12
  static get originalStyleUrls() {
@@ -60,12 +60,12 @@ export class Pagination {
60
60
  _hasPaginationPages = true;
61
61
  render() {
62
62
  const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
63
- return (h(ThemedHost, { key: 'a5a07358c2ab6751f4d101c6001765984338c0f5' }, h("div", { key: 'f56d13ec01851b1342129c1f815b85d5ee2ca536', class: pagination({
63
+ return (h(ThemedHost, { key: 'e2f69a73151e71438cf062a47746f9dc010eb384' }, h("div", { key: 'dbd0ae5dfa3fd531bdc0ea72437e0ea5930ebc39', class: pagination({
64
64
  hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
65
65
  (!this.enablePaginationSize && !this.enablePaginationPages),
66
- }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '76d975d6c125a8f396a02f09fae593693fa2beda' }, h("p-pagination-size", { key: 'ded600f766ad55ad0c191bf1e87796176c6dd395', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
66
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '3fac7a287f0371da17ed53ca05ee558b93349cfc' }, h("p-pagination-size", { key: 'a618ba84f7b1700dd7f082554ffd92cc7593e2c9', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
67
67
  this.hideOnSinglePage &&
68
- this._hasPaginationPages && (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 && (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 }) => {
68
+ this._hasPaginationPages && (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 && (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 }) => {
69
69
  this._hasPaginationPages = detail > 1;
70
70
  this.pagesChange.emit(detail);
71
71
  } })))));
@@ -28,7 +28,7 @@ export class Profile {
28
28
  }
29
29
  render() {
30
30
  const content = this._getContent();
31
- return (h(ThemedHost, { key: 'acfcfd3ddb3bae8247f1df99884ac155be45aa86' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
31
+ return (h(ThemedHost, { key: 'c71ae75aee86e05fc18b7a726993bb8b8a914396' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
32
32
  }
33
33
  slotchange() {
34
34
  this._checkDropdownSlot();
@@ -23,13 +23,13 @@ export class Range {
23
23
  valueChange;
24
24
  render() {
25
25
  const percentage = Math.round((this.value / (this.max - this.min)) * 100);
26
- return (h(ThemedHost, { key: 'fd0a731e7d20e593d1065248f50db452b17ee1cb' }, h("div", { key: 'ff11a123161008ab1df2ecd6409d36930a2caeac', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '1728a242b890cd3396f46b1dbfe4b91293e0e11d', variant: 'minus' }), h("div", { key: 'cfb6620df8ad9b2dfe66334ebd931d3384b7523a', class: 'relative h-6 flex-1' }, h("input", { key: '0ac09cea4ef3f55a96f19216e2826620bdbc33d4', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
26
+ return (h(ThemedHost, { key: '2952d5f5caa55f4a75803f5390c456eb29afee01' }, h("div", { key: 'aa0f43967f84b39994434c59fe76c66018fcc14b', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: 'f5594f8160de301b2cbb992f94306a19d1023598', variant: 'minus' }), h("div", { key: '164086b526cc2517922599b0999cc3d9ab5ac4f0', class: 'relative h-6 flex-1' }, h("input", { key: '087d0766b0a9bc5cd1bf9529b48b21dc98f25a1d', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
27
27
  const value = ev.target.value;
28
28
  this.value = Number.parseFloat(value);
29
29
  this.valueChange.emit(value);
30
- } }), 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: {
30
+ } }), 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: {
31
31
  width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
32
- } })), h("p-icon", { key: 'df9f96eb46d92d02777bbb0bc9e58f6cf0d21ca7', variant: 'plus' }))));
32
+ } })), h("p-icon", { key: '32e64c394789f7da7a1df5297acf624ee3c25c56', variant: 'plus' }))));
33
33
  }
34
34
  static get is() { return "p-range"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -23,15 +23,15 @@ export class SubmenuItem {
23
23
  this.activeChange.emit(this.active);
24
24
  }
25
25
  render() {
26
- return (h(ThemedHost, { key: '90bce86bc100210f8491a1a2301813046fd7de1b' }, h("div", { key: '51e0542d7e19c609fec475cbbbb0115be419fbf1', class: cn([
26
+ return (h(ThemedHost, { key: '4579daf4e68ade03abd2af7983535d369ba4e7d0' }, h("div", { key: '23b987c8c93ac1df5ce9676971d5cd93665cabb1', class: cn([
27
27
  'flex items-center',
28
28
  'h-8 w-full pl-[calc(3rem+2px)]',
29
29
  'cursor-pointer',
30
30
  'group/submenu-item',
31
- ]) }, h("div", { key: 'a0d12ac8717ed69491bcdf4dd08b650f39aee67c', class: cn('flex items-center gap-2 transition-colors', {
31
+ ]) }, h("div", { key: 'e988f4eb07e19ef11020fdda727a1c30e748120f', class: cn('flex items-center gap-2 transition-colors', {
32
32
  'text-storm-400 dark:text-hurricane-100': !this.active,
33
33
  'text-indigo-600': this.active,
34
- }) }, h("p-icon", { key: '45354d39e6b24c0202bcc476c02b7b1d017f91ac', variant: this.icon }), h("slot", { key: '762d3933cb5b6145aea1c07d2c3187e5401f5a50' })))));
34
+ }) }, h("p-icon", { key: '315cae7459d9340a47970834ada637ac52059897', variant: this.icon }), h("slot", { key: '78cdd4b6a7caaf4f5e23f3921fb478f16e979b8f' })))));
35
35
  }
36
36
  static get is() { return "p-submenu-item"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -145,34 +145,34 @@ export class Submenu {
145
145
  const maxHeight = submenuItems.length *
146
146
  Number.parseInt(firstItem.height.replace('px', '')) +
147
147
  16; // the margin of the content
148
- return (h(ThemedHost, { key: 'c3a6ed7e5cba465d7e338e2a99bdec41f45c736e' }, h("div", { key: 'd77a6a78c054a1f955e4f1c154a3e3a1b5d7f378', class: 'flex w-full flex-col' }, h("div", { key: 'a0067a2ed9695507201f7deaa38dcb9170a483ea', class: cn(header({
148
+ return (h(ThemedHost, { key: 'b0155aacc6f39b156f88b570a4041194480a8655' }, h("div", { key: '7bd0395cf764d93d4dc648d0da4b284d57dd618b', class: 'flex w-full flex-col' }, h("div", { key: '0b45f8696cb04f47e43cbfe50b327c0900e7d01f', class: cn(header({
149
149
  active: this.active,
150
150
  open: this.open,
151
- })), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: '2a963f6d3a2db3bb32cb9b84a46646dec2a97934', class: indexContainer({
151
+ })), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: 'd4c204a8b0e770bffb99e47c5d5c04e488141df9', class: indexContainer({
152
152
  active: this.active,
153
153
  open: this.open,
154
- }) }, this.index)), h("div", { key: '9a42e0938ffbae07a7b1674eca31551f11eb3c6b', class: 'flex flex-1 flex-col' }, h("p", { key: '7bc3f1d8a62e8358d40a86e48e50a240ca90e861', class: cn('m-0 text-sm', {
154
+ }) }, this.index)), h("div", { key: '95c73c9fdc7f8084e73b2134eff8010a9d40778c', class: 'flex flex-1 flex-col' }, h("p", { key: 'a551eeba3a348fffdbbbcb3580022cd72959f9f5', class: cn('m-0 text-sm', {
155
155
  'text-storm-400 dark:text-hurricane-100 dark:group-hover/submenu-header:text-white': !this.active,
156
156
  'text-storm-500 dark:text-white': this.active,
157
- }) }, this.title), h("p", { key: '06412fdc6a1bf7a5f78f4a6fb2c7589d9188dc32', class: cn('m-0 text-xs', {
157
+ }) }, this.title), h("p", { key: 'bda3aaacf1a1cecb877fb80dbc7ac32ecc7d5a7f', class: cn('m-0 text-xs', {
158
158
  'text-storm-300 dark:text-hurricane-300': !this.active,
159
159
  'text-storm-300 dark:text-indigo-200': this.active,
160
- }) }, this.subtitle)), h("p-icon", { key: '2762789b5f442e836521cd4b89f5e23d48c17634', class: cn({
160
+ }) }, this.subtitle)), h("p-icon", { key: '3eac0ca8b452b654bd0089c4879e9089dd6fba36', class: cn({
161
161
  'text-storm-500 dark:text-white': this.active,
162
162
  'text-storm-300 dark:text-hurricane-300': !this.active,
163
- }), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: 'b050ce61b92e1185797035f7977a60c0b258e6fa', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
163
+ }), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: '8edaeafa660c40d03c615e0aa2d60e7711c37b96', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
164
164
  maxHeight: `${this.open ? maxHeight : 0}px`,
165
- } }, h("div", { key: '5211381342902807ced13d616fb9ac6f396f20f5', class: cn('absolute left-6 top-0 z-0 w-px', {
165
+ } }, h("div", { key: '2668b4bdf209968453bb97ced1b888ae2dc67bf1', class: cn('absolute left-6 top-0 z-0 w-px', {
166
166
  'bg-off-white-400 dark:bg-storm-500/30': !this.active,
167
167
  'bg-indigo-100 dark:bg-hurricane-400': this.active,
168
168
  }), style: {
169
169
  height: `${maxHeight}px`,
170
- } }), h("div", { key: '81eb625408a052fec4e005c3774e99b5bed26035', class: cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
170
+ } }), h("div", { key: 'fa5056cc735706f26d0ca4a03d9d03fd5767e4fb', class: cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
171
171
  'bg-indigo-600': this._showItemIndicator,
172
172
  'bg-transparent': !this._showItemIndicator,
173
173
  }), style: {
174
174
  transform: `translateY(${this._activeItemPosition}px)`,
175
- } }), h("div", { key: '68eb6a12f619fefd296a71e3573f49f7f582fa18', class: 'z-10 my-2 flex flex-col' }, h("slot", { key: 'b60634f606158986b86df75c4fc637eef7c48410', onSlotchange: () => this._slotChanged() }))))));
175
+ } }), h("div", { key: 'ba73b20686349f4ca3b71b06f5147e6f972b5b0a', class: 'z-10 my-2 flex flex-col' }, h("slot", { key: '5dd58c5ba434e9749cbd93c4d0164e1cdb71fd69', onSlotchange: () => this._slotChanged() }))))));
176
176
  }
177
177
  onWindowResize() {
178
178
  this._calculateHeaderOffset();
@@ -87,7 +87,7 @@ export class TableCell {
87
87
  };
88
88
  }
89
89
  render() {
90
- return (h(ThemedHost, { key: '561af3131d5290ab9738cb4f1920424ef6727f13', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: '104069f79985342e481a7dccfbb2e3495e108551' }, h("div", { key: '73887f40f8ece9056b258a4c2ebf7c8a3ed58f8a', class: 'pl-8' }), h("div", { key: 'f53f9cdc8f0a8b761a81ef8c29d715099f8fa696', class: '\n text-storm-300 text-storm-400 text-storm-500\n dark:text-hurricane-200 dark:text-white\n ' }), h("div", { key: '261eda9ea4ba01fa01d761db72ca03e63b798c26', class: 'justify-start justify-end justify-center' }), h("div", { key: '0856a61f3e64f72d3e21345356879c128c81a826', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: 'e8022b920092a63d5f620837dcd14c2e7c788db0', class: '\n w-1/12 w-10/12 w-11/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12\n w-9/12 w-full\n ' }), h("div", { key: '4d594f3b04f928c9fd9a44e9674980bf6b2c5756', class: '\n tablet:w-1/12 tablet:w-10/12 tablet:w-11/12 tablet:w-2/12 tablet:w-3/12\n tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12\n tablet:w-9/12 tablet:w-full\n ' }), h("div", { key: '3506f3846929bc11b1c77af9fc1871d3c2596ba4', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '3e87563b4cb8b2bcb21514ade9fc0b81067d3fa5', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '89f9bc9321c2e30080a38a481f61b4a37e01fcce', class: '\n desktop-sm:w-1/12 desktop-sm:w-10/12 desktop-sm:w-11/12\n desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12\n desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12\n desktop-sm:w-full\n ' }), h("div", { key: 'f2948f7665cd228561a32866475b5bdb12370857', class: '\n desktop:w-1/12 desktop:w-10/12 desktop:w-11/12 desktop:w-2/12\n desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12\n desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-full\n ' }), h("div", { key: '59eccb77454956fd957bd18a269ac242c3c708a6', class: '\n desktop-lg:w-1/12 desktop-lg:w-10/12 desktop-lg:w-11/12\n desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12\n desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12\n desktop-lg:w-full\n ' }), h("div", { key: '74a94a1740e86adc25256c215adf2c15f874065e', class: '\n desktop-xl:w-1/12 desktop-xl:w-10/12 desktop-xl:w-11/12\n desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12\n desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12\n desktop-xl:w-full\n ' }), h("div", { key: '8abe40c986a3a50a9ac06828646cd63adae6704e', class: '\n flex hidden\n group-hover:flex group-hover:hidden\n ' }), h("div", { key: 'b58fcd734d68aa04570d7f6e20d3988193f00beb', class: '\n tablet:flex tablet:hidden\n tablet:group-hover:flex tablet:group-hover:hidden\n ' }), h("div", { key: '9cc0717d6d19dc6504abbdd559c1643b81e90943', class: '\n desktop-xs:flex desktop-xs:hidden\n desktop-xs:group-hover:flex desktop-xs:group-hover:hidden\n ' }), h("div", { key: 'fade29bb0f55551ec0b4427b09884749bd9be073', class: '\n desktop-sm:flex desktop-sm:hidden\n desktop-sm:group-hover:flex desktop-sm:group-hover:hidden\n ' }), h("div", { key: '4905ddf0a3c20bfd6ba73e135fc3d72feedd270a', class: '\n desktop:flex desktop:hidden\n desktop:group-hover:flex desktop:group-hover:hidden\n ' }), h("div", { key: 'deb383fe4ef0577fb43cb38ebf77cb2c5edaa014', class: '\n desktop-lg:flex desktop-lg:hidden\n desktop-lg:group-hover:flex desktop-lg:group-hover:hidden\n ' }), h("div", { key: '5a77299d60f2350ccb89b3210dcf3304b3057c36', class: '\n desktop-xl:flex desktop-xl:hidden\n desktop-xl:group-hover:flex desktop-xl:group-hover:hidden\n ' }), h("div", { key: '32a6b9593aa4e440d0501b1448c38b6e51a5ad54', class: '\n pr-0 pr-4\n last-of-type:pr-0\n ' }), h("div", { key: 'b5f11af94a34404a55ab910c7a7cf97c34149bb0', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: '2fa5935fe932c81e903d6ab11ac11700640aab37', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: 'c1d94401811f713dc80754cafd4471a1e163393b', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: '515fecdd8ece6313018d7b45edcdf9954fe9f3fd', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: 'e244aaac0c8816803021e606c35dff9c84097054', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: 'b23539fedaa450390ed00eec711e71e017a09239', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
90
+ return (h(ThemedHost, { key: 'd5049caf156aeb279f0c49c3318db77f9b69a322', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: '5ea60d868aa012861193cf8cf9f5d3ce8dab6386' }, h("div", { key: '8b258f6d32db59ba99186bc199bf3111a184bde5', class: 'pl-8' }), h("div", { key: '78976b0a52b566f702ba97b2be3272f4cd610b4d', class: '\n text-storm-300 text-storm-400 text-storm-500\n dark:text-hurricane-200 dark:text-white\n ' }), h("div", { key: '1a6cb250e69c9c34ca78cd19385e1177c22aece1', class: 'justify-start justify-end justify-center' }), h("div", { key: '8f3fb1b1d11798f34f79911cac88f14ed8d875b0', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: 'da46473327a8fd6d18d6b79be089e5cda6a99fc2', class: '\n w-1/12 w-10/12 w-11/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12\n w-9/12 w-full\n ' }), h("div", { key: '03c17dae1dadd74a63f515dea6b7a29d8d4bf9d4', class: '\n tablet:w-1/12 tablet:w-10/12 tablet:w-11/12 tablet:w-2/12 tablet:w-3/12\n tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12\n tablet:w-9/12 tablet:w-full\n ' }), h("div", { key: '66481c151bd6917b31277b9f358cd454f58df0f7', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: 'b5f160c03faeacfeb59bb9f2613fa565fb6203c6', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '7183c73da499f67addf6bf810c1aa180ea8e97fc', class: '\n desktop-sm:w-1/12 desktop-sm:w-10/12 desktop-sm:w-11/12\n desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12\n desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12\n desktop-sm:w-full\n ' }), h("div", { key: 'ffb8500cf3ec98729587558be85c0ad4c052c731', class: '\n desktop:w-1/12 desktop:w-10/12 desktop:w-11/12 desktop:w-2/12\n desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12\n desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-full\n ' }), h("div", { key: '2a9c230fe47b8d6a323b4269d81d47df09383503', class: '\n desktop-lg:w-1/12 desktop-lg:w-10/12 desktop-lg:w-11/12\n desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12\n desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12\n desktop-lg:w-full\n ' }), h("div", { key: 'fd0979eaf192a0b46f2c557918f4e0452a68f091', class: '\n desktop-xl:w-1/12 desktop-xl:w-10/12 desktop-xl:w-11/12\n desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12\n desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12\n desktop-xl:w-full\n ' }), h("div", { key: '9548b159cd652bce9d24314f9106a8b4b4287b98', class: '\n flex hidden\n group-hover:flex group-hover:hidden\n ' }), h("div", { key: '927675b1486db507d96e105aee96b57f5856a404', class: '\n tablet:flex tablet:hidden\n tablet:group-hover:flex tablet:group-hover:hidden\n ' }), h("div", { key: '0163eb35853d0673b563b3352439d7534949b4e2', class: '\n desktop-xs:flex desktop-xs:hidden\n desktop-xs:group-hover:flex desktop-xs:group-hover:hidden\n ' }), h("div", { key: 'b1352551a13dd6634c55db666a3a9860dd31687f', class: '\n desktop-sm:flex desktop-sm:hidden\n desktop-sm:group-hover:flex desktop-sm:group-hover:hidden\n ' }), h("div", { key: 'ca529ac85148a4ccf496a26ae127a723d8afaeb6', class: '\n desktop:flex desktop:hidden\n desktop:group-hover:flex desktop:group-hover:hidden\n ' }), h("div", { key: '1259fc2118dd77d7aeae8acb90f5c9abae3a333e', class: '\n desktop-lg:flex desktop-lg:hidden\n desktop-lg:group-hover:flex desktop-lg:group-hover:hidden\n ' }), h("div", { key: 'c16d96471d8e7ea7948972f924536c92dcc2b291', class: '\n desktop-xl:flex desktop-xl:hidden\n desktop-xl:group-hover:flex desktop-xl:group-hover:hidden\n ' }), h("div", { key: '336e75cb4b7d03b19b51c746ef79fc6ee079b245', class: '\n pr-0 pr-4\n last-of-type:pr-0\n ' }), h("div", { key: '1ae66169ceb28378862d2958ea8d919465ae3240', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: '9fdeaefdb39e095decd8d93ece975c2f0fa7253f', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: '53ff7f83fc9be47b433dec89889f689170dbb9ef', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: 'cae6520fc0ea6a7d192f9d3eb6649465ab5fca73', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: 'c387f49b4cbe128d0c18fc15a0bfc6367a62388c', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: '3b195969e5fe056b7580ea315967a65d37a12fa7', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
91
91
  }
92
92
  _getContent() {
93
93
  if (this.variant === 'loading') {
@@ -107,12 +107,12 @@ export class TableFooter {
107
107
  this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
108
108
  }
109
109
  render() {
110
- return (h(ThemedHost, { key: '838cc36822e7cc8ae27663a24a3bfdc43b972e16' }, h("div", { key: '827e9b3207527766e1307962b7021e14b137173a', class: footer({
110
+ return (h(ThemedHost, { key: 'bd11ef4ea7db5cd2b68bdc54a861fc0e7c57757f' }, h("div", { key: 'd79176ec7bdc104cdd669c57af4ff31e9afdf27f', class: footer({
111
111
  pinned: this._isPinned,
112
112
  hidden: this._hidden,
113
113
  tableHeaderHasAction: this.tableHeaderHasAction,
114
114
  }) }, (this.enablePaginationPages || this.enablePaginationSize) &&
115
- this.total > 0 && (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) })))));
115
+ this.total > 0 && (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) })))));
116
116
  }
117
117
  _changePageSize(s) {
118
118
  if (!s) {
@@ -107,13 +107,13 @@ export class TableRow {
107
107
  */
108
108
  isLast = false;
109
109
  render() {
110
- return (h(ThemedHost, { key: '6afacd153aa236826889a81561d8a4cfaab68584' }, h("div", { key: '83aa5f82cdd91b6e64921493fc194305da11ef0d', class: 'flex flex-col' }, h("div", { key: '442151adebd3431c8810efc2cd4041c4b43cc0ec', class: row({
110
+ return (h(ThemedHost, { key: 'ddf6a2776b32e8b37994cc2ca37a22ee28f6f39d' }, h("div", { key: 'b5eeb9ce4daabcdf70bce497f33dfe26945b6e28', class: 'flex flex-col' }, h("div", { key: '1f591131dd1b530275b6b5bf1a79a0a4977c33dc', class: row({
111
111
  variant: this.variant,
112
112
  enableHover: this.enableHover,
113
113
  checked: this.checked,
114
- }) }, h("div", { key: 'e994c3629806ca1f82808fdfce127e1f17569788', class: content({
114
+ }) }, h("div", { key: '7c26c9172d6d272e008bc9156f1b67d8d09a9b1e', class: content({
115
115
  variant: this.variant,
116
- }) }, h("slot", { key: '42d02bf96ef9a8a55ab8ff861600161cf21b229f' }), h("div", { key: '750734513d1ebe567e089d4f2b7bb1a1b83d911e', class: actions() }, h("slot", { key: '6424f39c79ad42ec8f0b05c23f42f9b105aed2e3', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: '65df59b62d5de884e4b1fe4ee772aef7314fe513' })))));
116
+ }) }, h("slot", { key: 'f58033f70451c7fb4bfbf07823feb4aa199d4730' }), h("div", { key: '999168db7e5b7a7c5f5f47560786a4ec9d338cc2', class: actions() }, h("slot", { key: '5a5860691132504171222e2052e75f60198d711c', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: 'db86b959ebedfbb6cfdd3d819634c100fb0f972d' })))));
117
117
  }
118
118
  static get is() { return "p-table-row"; }
119
119
  static get encapsulation() { return "shadow"; }
@@ -61,7 +61,7 @@ export class Toast {
61
61
  */
62
62
  action;
63
63
  render() {
64
- return (h(ThemedHost, { key: '008becccf14ae165e05fd1e7b8fe9e04c1f204a1' }, 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() }, h("div", { key: 'ef643aeffdc0fc7db4ab9f6c51668afd84723b04', class: indicator({ variant: this.variant }) }), h("div", { key: '14c15d046eb741e39e952983f66f41af92cd239a', class: content() }, h("div", { key: 'f3b5ccd2ad643751f79f7be558c7b090a552e073', class: 'flex w-full min-w-0 flex-col' }, 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 : h("slot", { name: 'header' })), 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 : h("slot", { name: 'content' }))), this.enableAction && (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 ' }, h("p-icon", { key: '52c6b8446c8a21b3d710339342773bacfdddcaa1', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
64
+ return (h(ThemedHost, { key: '15023dff5c0c4bf47744cbe407ef640344f869fc' }, 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() }, h("div", { key: 'b0e559e3a165f7947695bf28454ec2b4cd249bd4', class: indicator({ variant: this.variant }) }), h("div", { key: '480e746e6346ac5db91fa4a41122fc0973972b98', class: content() }, h("div", { key: '41b8ea9c77b34d3bb88907080ebcb0c1c7639a6e', class: 'flex w-full min-w-0 flex-col' }, 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 : h("slot", { name: 'header' })), 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 : h("slot", { name: 'content' }))), this.enableAction && (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 ' }, h("p-icon", { key: '053e42f39fab14d6aff87ed85b6f05325a91bd98', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
65
65
  }
66
66
  _onClick() {
67
67
  if (this.enableAction) {
@@ -18,10 +18,10 @@ export class Listing {
18
18
  }
19
19
  }
20
20
  render() {
21
- return (h("div", { key: 'f1a202de4615b4d854fa78e27cdc77b71aa09b64', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
21
+ return (h("div", { key: 'ed45a2e778aba5ec905b3229ead141fdcdfea198', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
22
22
  'opacity-100': this._generatedOnce,
23
23
  'opacity-0': !this._generatedOnce,
24
- }) }, h("slot", { key: '52d133d71700c7a08cbba824844cd88a9a20adb2', onSlotchange: () => this._generateLinesOnce() })));
24
+ }) }, h("slot", { key: '2a18a4366d054d65412d8b28a70abca0ad2ee649', onSlotchange: () => this._generateLinesOnce() })));
25
25
  }
26
26
  _generateLinesOnce() {
27
27
  if (this._generateTimeout) {
@@ -61,7 +61,7 @@ const backdrop = cva([
61
61
  export class Navbar {
62
62
  _show = false;
63
63
  render() {
64
- return (h(ThemedHost, { key: 'fe2de332dfdc64399f90e88e1595bcb7ca95a901' }, h("p-backdrop", { key: 'c2f8a860ee2026cc0430fe2b3557119010e02f9b', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: 'c01fe9cc8d2a3342e7358b298a1e7807e7612019', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '78535c4470591c2ae2fe9464902bd4f54baa12bd', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: '6d50a2f05639094b429c616820272e7ce744ab72', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: '93a332c6fa4046dab5a3bf8d4dd2de5f8d909d3a', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '49e41e442a8b33f826fb210578c9169981b4062d', name: 'company' })), h("div", { key: '2def55a3be3a2220058f1cf61a61cae73ef793b2', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '9eca0f94e4eb271ea1c3ac625213f6a2271e0ca2', name: 'content' })), h("div", { key: 'c5b9d2be190f64059f03dcfba0f094d797bad910', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '521d4b932bbb0bfcc5512e2b79f620c2db659e29', name: 'user' }))), h("div", { key: '657811cf4dfe72bd0d2935e773ea1d7fbbd45373', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '81357f0eef70cce8f73e7c96eb7a7fe68fc4ae7d', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: 'db2742453f251f54f8fb94f1ea3c18e628b883ca', name: 'topbar' }))));
64
+ return (h(ThemedHost, { key: '7619eeefa9ea944a63289912cd81cf78b6e811b5' }, h("p-backdrop", { key: '595791a894b53d4a9b2129b56f4f0f3486c57d3c', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '780b7fc75b411b8f29f75a6ae407b4362fd35c7e', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '0c66a30858b20cd7eec21468e8458ca1a418aacb', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: '5ccd0baad2faea3f4f45e41e016a00b0e8eab362', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: '7a9fe638e83dc4ffca39dc6a393c4e1d65e7a8d6', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '25958b6ef7b0a6dc2cd7e12908e59422b049ddc0', name: 'company' })), h("div", { key: '568ab6c376b7c3db2902778f97a35176d5bfdcf0', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: 'd7b085c1043b107e883e058f5501d5e33e4c8581', name: 'content' })), h("div", { key: '68c47441d63f5a640027a7eadd237c182b0c6f60', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '736dbba0b3fea35a30c6be8e9845650fdb325b08', name: 'user' }))), h("div", { key: '7eb3b90ad16257344d0857e22e9d8864f6675438', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '38db319651a5ec5287d50011186dca5e02619c34', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: '3d1e5dd3d203c15b6748be563a929e9451747d82', name: 'topbar' }))));
65
65
  }
66
66
  handleCloseNavbar() {
67
67
  this._show = false;
@@ -1 +1 @@
1
- import{t,p as e,H as a,c as o,h as i}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{a as r}from"./p-C5CTp9IA.js";import{d as c}from"./p-DHKJDm0J.js";import{d as m}from"./p-gEaqH36V.js";import{d as l}from"./p-V1uzM_gT.js";import{d as p}from"./p-D8faiybE.js";const d=n(["flex w-full max-w-[27.5rem] flex-col items-center justify-start"],{variants:{enableAction:{true:"cursor-pointer",false:null}}}),h=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.action=o(this,"action",3)}illustration;header;content;enableAction=!0;actionText;actionVariant="secondary";actionIcon;actionIconPosition="start";actionLoading=!1;action;get _el(){return this}render(){const t=!!this._el.querySelector(':scope > [slot="header"]'),e=!!this._el.querySelector(':scope > [slot="content"]'),a=!!this._el.querySelector(':scope > [slot="action"]');return i(s,{key:"eed19be38cd66ad6c316f45ecec5d92612bfa98e"},i("div",{key:"2a4e2dcd83b5716770fa459d6c2701af6ea9a5e3",class:d({enableAction:r(this.enableAction,!0)}),onClick:t=>this.enableAction&&!this.actionLoading?this.action.emit(t):void 0},this.illustration&&i("p-illustration",{key:"4165b934ab83562aafe5c855a772475c363e79a4",class:"mb-8 text-5xl text-indigo-600",variant:this.illustration}),t?i("slot",{name:"header"}):this.header?.length&&i("p",{class:"\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n "},this.header),e?i("slot",{name:"content"}):this.content?.length&&i("p",{class:"\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n "},this.content),this.enableAction&&(a?i("slot",{name:"action"}):i("p-button",{class:"mt-4",icon:this.actionIcon,iconPosition:this.actionIconPosition,loading:this.actionLoading,variant:this.actionVariant},this.actionText))))}static get style(){return'*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[27\\.5rem\\]{max-width:27.5rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.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))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.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\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}'}},[769,"p-empty-state",{illustration:[1],header:[1],content:[1],enableAction:[4,"enable-action"],actionText:[1,"action-text"],actionVariant:[1,"action-variant"],actionIcon:[1,"action-icon"],actionIconPosition:[1,"action-icon-position"],actionLoading:[4,"action-loading"]}]);function x(){"undefined"!=typeof customElements&&["p-empty-state","p-button","p-icon","p-illustration","p-loader"].forEach((e=>{switch(e){case"p-empty-state":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-button":customElements.get(t(e))||c();break;case"p-icon":customElements.get(t(e))||m();break;case"p-illustration":customElements.get(t(e))||l();break;case"p-loader":customElements.get(t(e))||p()}}))}x();export{h as E,x as d}
1
+ import{t,p as e,H as o,c as a,h as i}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{a as r}from"./p-C5CTp9IA.js";import{d as c}from"./p-DHKJDm0J.js";import{d as m}from"./p-gEaqH36V.js";import{d as l}from"./p-V1uzM_gT.js";import{d as p}from"./p-D8faiybE.js";const d=n(["flex w-full max-w-[27.5rem] flex-col items-center justify-start"],{variants:{enableAction:{true:"cursor-pointer",false:null}}}),h=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.action=a(this,"action",3)}illustration;header;content;enableAction=!0;actionText;actionVariant="secondary";actionIcon;actionIconPosition="start";actionLoading=!1;action;get _el(){return this}render(){const t=!!this._el.querySelector(':scope > [slot="header"]'),e=!!this._el.querySelector(':scope > [slot="content"]'),o=!!this._el.querySelector(':scope > [slot="action"]');return i(s,{key:"88c1f3ded82cfdb33056c1a5882a965eaca03641"},i("div",{key:"0f397cbf947d3189b1fc8085cf50790e62d405f1",class:d({enableAction:r(this.enableAction,!0)}),onClick:t=>this.enableAction&&!this.actionLoading?this.action.emit(t):void 0},this.illustration&&i("p-illustration",{key:"7debb3c4d38db63f33c0f3cb59e42af1b5be84cd",class:"mb-8 text-5xl text-indigo-600",variant:this.illustration}),t?i("slot",{name:"header"}):this.header?.length&&i("p",{class:"\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n "},this.header),e?i("slot",{name:"content"}):this.content?.length&&i("p",{class:"\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n "},this.content),this.enableAction&&(o?i("slot",{name:"action"}):i("p-button",{class:"mt-4",icon:this.actionIcon,iconPosition:this.actionIconPosition,loading:this.actionLoading,variant:this.actionVariant},this.actionText))))}static get style(){return'*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[27\\.5rem\\]{max-width:27.5rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.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))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.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\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}'}},[769,"p-empty-state",{illustration:[1],header:[1],content:[1],enableAction:[4,"enable-action"],actionText:[1,"action-text"],actionVariant:[1,"action-variant"],actionIcon:[1,"action-icon"],actionIconPosition:[1,"action-icon-position"],actionLoading:[4,"action-loading"]}]);function x(){"undefined"!=typeof customElements&&["p-empty-state","p-button","p-icon","p-illustration","p-loader"].forEach((e=>{switch(e){case"p-empty-state":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-button":customElements.get(t(e))||c();break;case"p-icon":customElements.get(t(e))||m();break;case"p-illustration":customElements.get(t(e))||l();break;case"p-loader":customElements.get(t(e))||p()}}))}x();export{h as E,x as d}
@@ -1 +1 @@
1
- import{t as e,p as a,H as t,c as r,h as i,F as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as p}from"./p-Au2WuEGF.js";import{P as n,a as d}from"./p-CEaB2BT0.js";import{d as c}from"./p-DHKJDm0J.js";import{d as m}from"./p-CZ8afGMO.js";import{d as h}from"./p-CPSiExRl.js";import{d as g}from"./p-BG1plx2A.js";import{d as b}from"./p-CQnWpHIs.js";import{d as l}from"./p-CZEHKnpM.js";import{d as f}from"./p-Cmltn24W.js";import{d as u}from"./p-DHJIvL0U.js";import{d as k}from"./p-ByJPQrlL.js";import{d as w}from"./p-gEaqH36V.js";import{d as y}from"./p-D8faiybE.js";import{d as x}from"./p-Bh3wcvje.js";import{d as E}from"./p-B9klDtR-.js";import{d as j}from"./p-BmsR-djQ.js";import{d as P}from"./p-CxrxqKhq.js";const v=s(["items-center gap-2","rounded-full","border border-solid border-off-white-700 bg-off-white-300","dark:border-hurricane-400 dark:bg-hurricane-500","p-1"],{variants:{hidden:{false:"flex",true:"hidden"}}}),z=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.pageChange=r(this,"pageChange",3),this.pageSizeChange=r(this,"pageSizeChange",3),this.pagesChange=r(this,"pagesChange",3)}hideOnSinglePage=!0;enablePaginationSize=!0;enablePaginationPages=!0;page=1;total;pageSize=n;pageSizeOptions=d;pageChange;pageSizeChange;pagesChange;_hasPaginationPages=!0;render(){const e=this.hideOnSinglePage&&this.total<=this.pageSizeOptions?.[0];return i(p,{key:"a5a07358c2ab6751f4d101c6001765984338c0f5"},i("div",{key:"f56d13ec01851b1342129c1f815b85d5ee2ca536",class:v({hidden:e&&!this._hasPaginationPages||!this.enablePaginationSize&&!this.enablePaginationPages})},this.enablePaginationPages&&this.enablePaginationSize&&i(o,{key:"76d975d6c125a8f396a02f09fae593693fa2beda"},i("p-pagination-size",{key:"ded600f766ad55ad0c191bf1e87796176c6dd395",hidden:e,size:this.pageSize,sizeOptions:this.pageSizeOptions,onSizeChange:({detail:e})=>this._changePageSize(e)}),!e&&this.hideOnSinglePage&&this._hasPaginationPages&&i("p-divider",{key:"624f38b4cab761accfca28f4ced270449c6f0a7d",class:"\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ",variant:"vertical"})),this.enablePaginationPages&&i("p-pagination-pages",{key:"cd4a6b794c6a2ff43904b1f718555a3a9752b843",hideOnSinglePage:this.hideOnSinglePage,page:this.page,pageSize:this.pageSize,total:this.total,onPageChange:({detail:e})=>this.pageChange.emit(e),onPagesChange:({detail:e})=>{this._hasPaginationPages=e>1,this.pagesChange.emit(e)}})))}_changePageSize(e){e&&(this.pageSize=e,this.pageSizeChange.emit(this.pageSize))}static get style(){return"*{box-sizing:border-box}.static{position:static}.mx-0{margin-left:0;margin-right:0}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.items-center{align-items:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.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\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-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))}"}},[513,"p-pagination",{hideOnSinglePage:[4,"hide-on-single-page"],enablePaginationSize:[4,"enable-pagination-size"],enablePaginationPages:[4,"enable-pagination-pages"],page:[1538],total:[2],pageSize:[2,"page-size"],pageSizeOptions:[16],_hasPaginationPages:[32]}]);function C(){"undefined"!=typeof customElements&&["p-pagination","p-button","p-checkbox","p-divider","p-dropdown","p-dropdown-menu-container","p-dropdown-menu-item","p-field","p-field-container","p-helper","p-icon","p-loader","p-pagination-pages","p-pagination-pages-item","p-pagination-size","p-tooltip"].forEach((a=>{switch(a){case"p-pagination":customElements.get(e(a))||customElements.define(e(a),z);break;case"p-button":customElements.get(e(a))||c();break;case"p-checkbox":customElements.get(e(a))||m();break;case"p-divider":customElements.get(e(a))||h();break;case"p-dropdown":customElements.get(e(a))||g();break;case"p-dropdown-menu-container":customElements.get(e(a))||b();break;case"p-dropdown-menu-item":customElements.get(e(a))||l();break;case"p-field":customElements.get(e(a))||f();break;case"p-field-container":customElements.get(e(a))||u();break;case"p-helper":customElements.get(e(a))||k();break;case"p-icon":customElements.get(e(a))||w();break;case"p-loader":customElements.get(e(a))||y();break;case"p-pagination-pages":customElements.get(e(a))||x();break;case"p-pagination-pages-item":customElements.get(e(a))||E();break;case"p-pagination-size":customElements.get(e(a))||j();break;case"p-tooltip":customElements.get(e(a))||P()}}))}C();export{z as P,C as d}
1
+ import{t as e,p as a,H as t,c as r,h as i,F as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as p}from"./p-Au2WuEGF.js";import{P as n,a as d}from"./p-CEaB2BT0.js";import{d as c}from"./p-DHKJDm0J.js";import{d as m}from"./p-CZ8afGMO.js";import{d as g}from"./p-CPSiExRl.js";import{d as h}from"./p-vlEpgOl1.js";import{d as b}from"./p-CQnWpHIs.js";import{d as l}from"./p-CZEHKnpM.js";import{d as f}from"./p-D9Vv2Jg9.js";import{d as k}from"./p-B7pLpkL0.js";import{d as u}from"./p-GGeQLkOT.js";import{d as w}from"./p-gEaqH36V.js";import{d as y}from"./p-D8faiybE.js";import{d as x}from"./p-DZzA60Dx.js";import{d as E}from"./p-B9klDtR-.js";import{d as P}from"./p-PISPo1NR.js";import{d as j}from"./p-B3Dks732.js";const z=s(["items-center gap-2","rounded-full","border border-solid border-off-white-700 bg-off-white-300","dark:border-hurricane-400 dark:bg-hurricane-500","p-1"],{variants:{hidden:{false:"flex",true:"hidden"}}}),v=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.pageChange=r(this,"pageChange",3),this.pageSizeChange=r(this,"pageSizeChange",3),this.pagesChange=r(this,"pagesChange",3)}hideOnSinglePage=!0;enablePaginationSize=!0;enablePaginationPages=!0;page=1;total;pageSize=n;pageSizeOptions=d;pageChange;pageSizeChange;pagesChange;_hasPaginationPages=!0;render(){const e=this.hideOnSinglePage&&this.total<=this.pageSizeOptions?.[0];return i(p,{key:"e2f69a73151e71438cf062a47746f9dc010eb384"},i("div",{key:"dbd0ae5dfa3fd531bdc0ea72437e0ea5930ebc39",class:z({hidden:e&&!this._hasPaginationPages||!this.enablePaginationSize&&!this.enablePaginationPages})},this.enablePaginationPages&&this.enablePaginationSize&&i(o,{key:"3fac7a287f0371da17ed53ca05ee558b93349cfc"},i("p-pagination-size",{key:"a618ba84f7b1700dd7f082554ffd92cc7593e2c9",hidden:e,size:this.pageSize,sizeOptions:this.pageSizeOptions,onSizeChange:({detail:e})=>this._changePageSize(e)}),!e&&this.hideOnSinglePage&&this._hasPaginationPages&&i("p-divider",{key:"70513fb604cf7d5a9d0e3c97d60a992d3091fa53",class:"\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ",variant:"vertical"})),this.enablePaginationPages&&i("p-pagination-pages",{key:"603c3be274dc8a3118aa908cecccfd8071813f16",hideOnSinglePage:this.hideOnSinglePage,page:this.page,pageSize:this.pageSize,total:this.total,onPageChange:({detail:e})=>this.pageChange.emit(e),onPagesChange:({detail:e})=>{this._hasPaginationPages=e>1,this.pagesChange.emit(e)}})))}_changePageSize(e){e&&(this.pageSize=e,this.pageSizeChange.emit(this.pageSize))}static get style(){return"*{box-sizing:border-box}.static{position:static}.mx-0{margin-left:0;margin-right:0}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.items-center{align-items:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.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\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-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))}"}},[513,"p-pagination",{hideOnSinglePage:[4,"hide-on-single-page"],enablePaginationSize:[4,"enable-pagination-size"],enablePaginationPages:[4,"enable-pagination-pages"],page:[1538],total:[2],pageSize:[2,"page-size"],pageSizeOptions:[16],_hasPaginationPages:[32]}]);function S(){"undefined"!=typeof customElements&&["p-pagination","p-button","p-checkbox","p-divider","p-dropdown","p-dropdown-menu-container","p-dropdown-menu-item","p-field","p-field-container","p-helper","p-icon","p-loader","p-pagination-pages","p-pagination-pages-item","p-pagination-size","p-tooltip"].forEach((a=>{switch(a){case"p-pagination":customElements.get(e(a))||customElements.define(e(a),v);break;case"p-button":customElements.get(e(a))||c();break;case"p-checkbox":customElements.get(e(a))||m();break;case"p-divider":customElements.get(e(a))||g();break;case"p-dropdown":customElements.get(e(a))||h();break;case"p-dropdown-menu-container":customElements.get(e(a))||b();break;case"p-dropdown-menu-item":customElements.get(e(a))||l();break;case"p-field":customElements.get(e(a))||f();break;case"p-field-container":customElements.get(e(a))||k();break;case"p-helper":customElements.get(e(a))||u();break;case"p-icon":customElements.get(e(a))||w();break;case"p-loader":customElements.get(e(a))||y();break;case"p-pagination-pages":customElements.get(e(a))||x();break;case"p-pagination-pages-item":customElements.get(e(a))||E();break;case"p-pagination-size":customElements.get(e(a))||P();break;case"p-tooltip":customElements.get(e(a))||j()}}))}S();export{v as P,S as d}
@@ -1 +1 @@
1
- import{t,p as e,H as a,c as r,h as o}from"./p-CySg37XO.js";import{a as i,c as s,o as n,f as h,s as d}from"./p-CeBIrPPx.js";import{c}from"./p-CBWjHURv.js";import{T as p}from"./p-Au2WuEGF.js";const l=c(["inline-block px-2","text-xs","opacity-0 drop-shadow-3 transition-opacity","rounded-lg","z-tooltip","pointer-events-none"],{variants:{variant:{hover:"\n max-w-[14.5rem] bg-storm-500 py-1 text-white\n dark:bg-white dark:text-storm-300\n ",click:"max-w-[18rem]",error:"w-full max-w-full"},strategy:{fixed:"fixed",absolute:"absolute"}},compoundVariants:[{variant:["hover","click"],class:"w-max"},{variant:["click","error"],class:"\n bg-white py-2 text-storm-300\n dark:bg-hurricane-800 dark:text-hurricane-200\n "}]}),b=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isOpen=r(this,"isOpen",3)}variant="hover";content;placement;offset=8;strategy="absolute";enableUserInput=!0;show=!1;canManuallyClose=!0;isOpen;get _el(){return this}_hasContentSlot=!1;_loaded=!1;_popover;_cleanup;componentWillLoad(){this._hasContentSlot=!!this._el.querySelector(':scope > [slot="content"]')}componentShouldUpdate(){this._update()}disconnectedCallback(){this._cleanup&&(this._cleanup(),this._cleanup=null)}render(){return o(p,{key:"ad852c968b1119825237d1c9e4c67083156163f2","data-filled":this.content?.length>0||this._hasContentSlot},o("slot",{key:"c51cfa0a0d9df2f529f05aadacabc257c7253aff",name:"trigger"}),o("div",{key:"d07f501940600d2e29f20c45b373074b58c4a71f",class:l({variant:this.variant,strategy:this.strategy}),"data-placement":this.placement,ref:t=>this._load(t),role:"popover"},o("div",{key:"e203d8e859a60f3ff4ae6fd0608211d4210bfdf2",class:"flex gap-2 whitespace-normal"},"error"===this.variant&&o("div",{key:"6cc7c7d1465ffbea310710d5789a03cda13e36f3",class:"\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n "}),this.content??o("slot",{key:"1ff33cc0032b792cf14f29405b876ea69a0dfbeb",name:"content"}))))}clickHandler(){"hover"!==this.variant&&this.enableUserInput&&this._popover&&(Object.hasOwn(this._popover.dataset,"show")||this._show())}documentClickHandler(){"hover"!==this.variant&&this.canManuallyClose&&!this.show&&this._popover&&Object.hasOwn(this._popover.dataset,"show")&&this._hide()}mouseEnterHandler(){"hover"===this.variant&&this.enableUserInput&&this._show()}mouseLeaveHandler(){!this.show&&"hover"===this.variant&&this.enableUserInput&&this._hide()}onShowChange(t){if(this._popover)return t&&!Object.hasOwn(this._popover.dataset,"show")?this._show():this._hide()}onContentChange(t){!t||t.length>0||this._hide()}_show(){this._loaded&&(this.content?.length||this._hasContentSlot?(this._cleanup=i(this._el,this._popover,(()=>this._update())),this._popover.dataset.show="",this._popover.classList.remove("opacity-0","pointer-events-none"),this._popover.classList.add("opacity-100","pointer-events-auto"),this.isOpen.emit(!0)):Object.hasOwn(this._popover.dataset,"show")&&this._hide())}_hide(){this._loaded&&(this._cleanup&&(this._cleanup(),this._cleanup=null),delete this._popover.dataset.show,this._popover.classList.remove("opacity-100","pointer-events-auto"),this._popover.classList.add("opacity-0","pointer-events-none"),this.isOpen.emit(!1))}_load(t){this._popover=t,t&&(this._update(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_update(){this._popover&&s(this._el,this._popover,{placement:"error"!==this.variant||this.placement?this.placement??"top":"bottom-start",strategy:this.strategy,middleware:[n(this.offset),h(),d()]}).then((({x:t,y:e,placement:a})=>{this._popover.dataset.placement=a,Object.assign(this._popover.style,{top:`${e}px`,left:`${t}px`})}))}static get watchers(){return{show:[{onShowChange:0}],content:[{onContentChange:0}]}}static get style(){return".relative{position:relative}.h-inherit{height:inherit}.w-inherit{width:inherit}*{box-sizing:border-box}:host{height:inherit;max-width:100%;position:relative;width:inherit}:host([data-filled]){cursor:pointer}:host(:not([data-filled])){cursor:auto}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.z-tooltip{z-index:400}.inline-block{display:inline-block}.flex{display:flex}.w-\\[2px\\]{width:2px}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[14\\.5rem\\]{max-width:14.5rem}.max-w-\\[18rem\\]{max-width:18rem}.max-w-full{max-width:100%}.gap-2{gap:.5rem}.whitespace-normal{white-space:normal}.rounded-lg{border-radius:.5rem}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-storm-500{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.blur{--tw-blur:blur(8px)}.blur,.drop-shadow-3{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)}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.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\\:text-storm-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.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\\:text-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}"}},[769,"p-tooltip",{variant:[1],content:[1],placement:[1],offset:[2],strategy:[1],enableUserInput:[4,"enable-user-input"],show:[4],canManuallyClose:[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]],{show:[{onShowChange:0}],content:[{onContentChange:0}]}]);function w(){"undefined"!=typeof customElements&&["p-tooltip"].forEach((e=>{"p-tooltip"===e&&(customElements.get(t(e))||customElements.define(t(e),b))}))}w();export{b as T,w as d}
1
+ import{t,p as e,H as a,c as r,h as o}from"./p-CySg37XO.js";import{a as i,c as s,o as n,f as h,s as d}from"./p-CeBIrPPx.js";import{c}from"./p-CBWjHURv.js";import{T as p}from"./p-Au2WuEGF.js";const l=c(["inline-block px-2","text-xs","opacity-0 drop-shadow-3 transition-opacity","rounded-lg","z-tooltip","pointer-events-none"],{variants:{variant:{hover:"\n max-w-[14.5rem] bg-storm-500 py-1 text-white\n dark:bg-white dark:text-storm-300\n ",click:"max-w-[18rem]",error:"w-full max-w-full"},strategy:{fixed:"fixed",absolute:"absolute"}},compoundVariants:[{variant:["hover","click"],class:"w-max"},{variant:["click","error"],class:"\n bg-white py-2 text-storm-300\n dark:bg-hurricane-800 dark:text-hurricane-200\n "}]}),b=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isOpen=r(this,"isOpen",3)}variant="hover";content;placement;offset=8;strategy="absolute";enableUserInput=!0;show=!1;canManuallyClose=!0;isOpen;get _el(){return this}_hasContentSlot=!1;_loaded=!1;_popover;_cleanup;componentWillLoad(){this._hasContentSlot=!!this._el.querySelector(':scope > [slot="content"]')}componentShouldUpdate(){this._update()}disconnectedCallback(){this._cleanup&&(this._cleanup(),this._cleanup=null)}render(){return o(p,{key:"351cfb85c63fe9f93cdd64d5faa4ff402b48a4bf","data-filled":this.content?.length>0||this._hasContentSlot},o("slot",{key:"39ad8ee33b22b75b43211aa03be843c9a90cd92a",name:"trigger"}),o("div",{key:"3c271dcad6cdc2eb1740aa095c65c96978de6ed7",class:l({variant:this.variant,strategy:this.strategy}),"data-placement":this.placement,ref:t=>this._load(t),role:"popover"},o("div",{key:"0408ffc10db978b05c6ae14ac2511b8f12ff3e87",class:"flex gap-2 whitespace-normal"},"error"===this.variant&&o("div",{key:"8a103bafed5c8f522463831dc756fa7e78d24142",class:"\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n "}),this.content??o("slot",{key:"2f8857816accda837015f59e49c062d529dcb1df",name:"content"}))))}clickHandler(){"hover"!==this.variant&&this.enableUserInput&&this._popover&&(Object.hasOwn(this._popover.dataset,"show")||this._show())}documentClickHandler(){"hover"!==this.variant&&this.canManuallyClose&&!this.show&&this._popover&&Object.hasOwn(this._popover.dataset,"show")&&this._hide()}mouseEnterHandler(){"hover"===this.variant&&this.enableUserInput&&this._show()}mouseLeaveHandler(){!this.show&&"hover"===this.variant&&this.enableUserInput&&this._hide()}onShowChange(t){if(this._popover)return t&&!Object.hasOwn(this._popover.dataset,"show")?this._show():this._hide()}onContentChange(t){!t||t.length>0||this._hide()}_show(){this._loaded&&(this.content?.length||this._hasContentSlot?(this._cleanup=i(this._el,this._popover,(()=>this._update())),this._popover.dataset.show="",this._popover.classList.remove("opacity-0","pointer-events-none"),this._popover.classList.add("opacity-100","pointer-events-auto"),this.isOpen.emit(!0)):Object.hasOwn(this._popover.dataset,"show")&&this._hide())}_hide(){this._loaded&&(this._cleanup&&(this._cleanup(),this._cleanup=null),delete this._popover.dataset.show,this._popover.classList.remove("opacity-100","pointer-events-auto"),this._popover.classList.add("opacity-0","pointer-events-none"),this.isOpen.emit(!1))}_load(t){this._popover=t,t&&(this._update(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_update(){this._popover&&s(this._el,this._popover,{placement:"error"!==this.variant||this.placement?this.placement??"top":"bottom-start",strategy:this.strategy,middleware:[n(this.offset),h(),d()]}).then((({x:t,y:e,placement:a})=>{this._popover.dataset.placement=a,Object.assign(this._popover.style,{top:`${e}px`,left:`${t}px`})}))}static get watchers(){return{show:[{onShowChange:0}],content:[{onContentChange:0}]}}static get style(){return".relative{position:relative}.h-inherit{height:inherit}.w-inherit{width:inherit}*{box-sizing:border-box}:host{height:inherit;max-width:100%;position:relative;width:inherit}:host([data-filled]){cursor:pointer}:host(:not([data-filled])){cursor:auto}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.z-tooltip{z-index:400}.inline-block{display:inline-block}.flex{display:flex}.w-\\[2px\\]{width:2px}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[14\\.5rem\\]{max-width:14.5rem}.max-w-\\[18rem\\]{max-width:18rem}.max-w-full{max-width:100%}.gap-2{gap:.5rem}.whitespace-normal{white-space:normal}.rounded-lg{border-radius:.5rem}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-storm-500{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.blur{--tw-blur:blur(8px)}.blur,.drop-shadow-3{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)}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.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\\:text-storm-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.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\\:text-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}"}},[769,"p-tooltip",{variant:[1],content:[1],placement:[1],offset:[2],strategy:[1],enableUserInput:[4,"enable-user-input"],show:[4],canManuallyClose:[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]],{show:[{onShowChange:0}],content:[{onContentChange:0}]}]);function w(){"undefined"!=typeof customElements&&["p-tooltip"].forEach((e=>{"p-tooltip"===e&&(customElements.get(t(e))||customElements.define(t(e),b))}))}w();export{b as T,w as d}
@@ -1 +1 @@
1
- import{t as e,p as t,H as a,c as r,h as i}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{f as n,g as l}from"./p-CwQG70_4.js";import{c as d}from"./p-xs4N_Y-0.js";import{a as h}from"./p-C5CTp9IA.js";import{d as m}from"./p-ByJPQrlL.js";import{d as c}from"./p-gEaqH36V.js";import{d as p}from"./p-D8faiybE.js";import{d as w}from"./p-CxrxqKhq.js";const f=o(["w-full rounded-lg"],{variants:{variant:{read:null,write:null},size:{base:null,sm:null}},compoundVariants:[{variant:"read",size:"base",class:"h-5"},{variant:"read",size:"sm",class:"h-4"},{variant:"write",size:"base",class:"h-8"},{variant:"write",size:"sm",class:"h-6"}]}),x=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.focus=r(this,"focus",7)}_defaultOptionalTemplate=()=>n(this._locales.optional);id;align="start";label;loading=!1;loadingSize="base";variant;helper;required;showOptional=!0;error;errorPlacement;forceShowTooltip=!1;optionalTemplate=this._defaultOptionalTemplate;get _el(){return this}focus;_locales={};componentWillLoad(){this._setLocales()}render(){const{hasHeaderSlot:e,hasErrorSlot:t,helper:a,label:r,errorAndErrorIsNotBoolean:o}=this._getSlotInfo();let n=i("slot",{key:"5291beab9a04f71a20dc147266a4517aefc7026b",name:"content",slot:"trigger"});return this.loading&&(n=i("p-loader",{key:"7af3ba90aeecec528b526c5257f9fb53e601c795",class:f({variant:this.variant,size:this.loadingSize}),slot:"trigger",variant:"ghost"})),i(s,{key:"2aade5cc2ec5c8302d475aefc62b8a178027fbd0"},i("label",{key:"5a0920e414f7f5f0333d2b5f805e016b98b19baf",class:d("flex h-inherit w-inherit flex-col gap-1",{"cursor-auto":"read"===this.variant}),htmlFor:this.id},i("div",{key:"52f9924430ca76dd5492c8c5e78a5a640e132e29",class:d("\n flex items-end justify-between gap-1\n empty:hidden\n ",{"flex-row-reverse":"end"===this.align})},(!!r?.length||!!a?.length)&&i("div",{key:"4af64a1df141b112f28138a1f6a01ab6016bb642",class:"flex min-w-0 gap-2",onClick:()=>this.focus.emit()},i("span",{key:"6aae524554e4bd91eb9e316b7b69210be1e24b32",class:"\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n "},r),a&&i("p-helper",{key:"148aa5b036d4b2cd74cb8d55f653082d9fb25a35",class:"flex flex-shrink-0",placement:"top"},a)),(!h(this.required)&&h(this.showOptional)||e)&&i("div",{key:"5c7df3260b6add948909d13001a8f5f1a62a296b",class:"flex items-center gap-1"},!h(this.required)&&h(this.showOptional)&&"write"===this.variant&&i("span",{key:"259e21450bdd3458cba03edf5106f2e31ffb1ac1",class:"\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n "},this.optionalTemplate()),e&&i("slot",{key:"dfc59d9d34107403e05a4106b76f48eaf33efe0c",name:"header"}))),i("p-tooltip",{key:"b92186277a5c86017167ebfe66f360c2c569ea09",class:d({"w-full":"write"===this.variant||this.loading,"ml-auto":"end"===this.align,"font-normal":"read"===this.variant,"text-storm-500 dark:text-white":"read"===this.variant}),content:this.error,enableUserInput:!1,placement:this.errorPlacement,show:o&&h(this.forceShowTooltip,!1),variant:"error"},t&&i("slot",{key:"40046f1ba8136dcaf7a37c11edeb8ba75b115415",name:"error",slot:"content"}),n)))}async _setLocales(){this._locales=await l(this._el)}_getSlotInfo(){const e=!!this._el.querySelector(':scope > [slot="helper"]'),t=!!this._el.querySelector(':scope > [slot="label"]'),a=!!this._el.querySelector(':scope > [slot="header"]'),r=!!this._el.querySelector(':scope > [slot="error"]');return{hasHelperSlot:e,hasLabelSlot:t,hasHeaderSlot:a,hasErrorSlot:r,helper:e?i("slot",{name:"helper"}):this.helper,label:t?i("slot",{name:"label"}):this.label,errorAndErrorIsNotBoolean:r||this.error&&"string"==typeof this.error&&"true"!==this.error}}static get style(){return"*{box-sizing:border-box}.static{position:static}.ml-auto{margin-left:auto}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-inherit{height:inherit}.w-full{width:100%}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-auto{cursor:auto}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.empty\\:hidden:empty{display:none}.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\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-field-container",{id:[1],align:[1],label:[1],loading:[4],loadingSize:[1,"loading-size"],variant:[1],helper:[1],required:[516],showOptional:[516,"show-optional"],error:[513],errorPlacement:[1,"error-placement"],forceShowTooltip:[516,"force-show-tooltip"],optionalTemplate:[16],_locales:[32]},[[16,"localeChanged","_setLocales"]]]);function b(){"undefined"!=typeof customElements&&["p-field-container","p-helper","p-icon","p-loader","p-tooltip"].forEach((t=>{switch(t){case"p-field-container":customElements.get(e(t))||customElements.define(e(t),x);break;case"p-helper":customElements.get(e(t))||m();break;case"p-icon":customElements.get(e(t))||c();break;case"p-loader":customElements.get(e(t))||p();break;case"p-tooltip":customElements.get(e(t))||w()}}))}b();export{x as F,b as d}
1
+ import{t as e,p as t,H as a,c as r,h as i}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{f as n,g as l}from"./p-CwQG70_4.js";import{c as d}from"./p-xs4N_Y-0.js";import{a as h}from"./p-C5CTp9IA.js";import{d as m}from"./p-GGeQLkOT.js";import{d as c}from"./p-gEaqH36V.js";import{d as p}from"./p-D8faiybE.js";import{d as w}from"./p-B3Dks732.js";const f=o(["w-full rounded-lg"],{variants:{variant:{read:null,write:null},size:{base:null,sm:null}},compoundVariants:[{variant:"read",size:"base",class:"h-5"},{variant:"read",size:"sm",class:"h-4"},{variant:"write",size:"base",class:"h-8"},{variant:"write",size:"sm",class:"h-6"}]}),x=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.focus=r(this,"focus",7)}_defaultOptionalTemplate=()=>n(this._locales.optional);id;align="start";label;loading=!1;loadingSize="base";variant;helper;required;showOptional=!0;error;errorPlacement;forceShowTooltip=!1;optionalTemplate=this._defaultOptionalTemplate;get _el(){return this}focus;_locales={};componentWillLoad(){this._setLocales()}render(){const{hasHeaderSlot:e,hasErrorSlot:t,helper:a,label:r,errorAndErrorIsNotBoolean:o}=this._getSlotInfo();let n=i("slot",{key:"5291beab9a04f71a20dc147266a4517aefc7026b",name:"content",slot:"trigger"});return this.loading&&(n=i("p-loader",{key:"7af3ba90aeecec528b526c5257f9fb53e601c795",class:f({variant:this.variant,size:this.loadingSize}),slot:"trigger",variant:"ghost"})),i(s,{key:"2aade5cc2ec5c8302d475aefc62b8a178027fbd0"},i("label",{key:"5a0920e414f7f5f0333d2b5f805e016b98b19baf",class:d("flex h-inherit w-inherit flex-col gap-1",{"cursor-auto":"read"===this.variant}),htmlFor:this.id},i("div",{key:"52f9924430ca76dd5492c8c5e78a5a640e132e29",class:d("\n flex items-end justify-between gap-1\n empty:hidden\n ",{"flex-row-reverse":"end"===this.align})},(!!r?.length||!!a?.length)&&i("div",{key:"4af64a1df141b112f28138a1f6a01ab6016bb642",class:"flex min-w-0 gap-2",onClick:()=>this.focus.emit()},i("span",{key:"6aae524554e4bd91eb9e316b7b69210be1e24b32",class:"\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n "},r),a&&i("p-helper",{key:"148aa5b036d4b2cd74cb8d55f653082d9fb25a35",class:"flex flex-shrink-0",placement:"top"},a)),(!h(this.required)&&h(this.showOptional)||e)&&i("div",{key:"5c7df3260b6add948909d13001a8f5f1a62a296b",class:"flex items-center gap-1"},!h(this.required)&&h(this.showOptional)&&"write"===this.variant&&i("span",{key:"259e21450bdd3458cba03edf5106f2e31ffb1ac1",class:"\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n "},this.optionalTemplate()),e&&i("slot",{key:"dfc59d9d34107403e05a4106b76f48eaf33efe0c",name:"header"}))),i("p-tooltip",{key:"b92186277a5c86017167ebfe66f360c2c569ea09",class:d({"w-full":"write"===this.variant||this.loading,"ml-auto":"end"===this.align,"font-normal":"read"===this.variant,"text-storm-500 dark:text-white":"read"===this.variant}),content:this.error,enableUserInput:!1,placement:this.errorPlacement,show:o&&h(this.forceShowTooltip,!1),variant:"error"},t&&i("slot",{key:"40046f1ba8136dcaf7a37c11edeb8ba75b115415",name:"error",slot:"content"}),n)))}async _setLocales(){this._locales=await l(this._el)}_getSlotInfo(){const e=!!this._el.querySelector(':scope > [slot="helper"]'),t=!!this._el.querySelector(':scope > [slot="label"]'),a=!!this._el.querySelector(':scope > [slot="header"]'),r=!!this._el.querySelector(':scope > [slot="error"]');return{hasHelperSlot:e,hasLabelSlot:t,hasHeaderSlot:a,hasErrorSlot:r,helper:e?i("slot",{name:"helper"}):this.helper,label:t?i("slot",{name:"label"}):this.label,errorAndErrorIsNotBoolean:r||this.error&&"string"==typeof this.error&&"true"!==this.error}}static get style(){return"*{box-sizing:border-box}.static{position:static}.ml-auto{margin-left:auto}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-inherit{height:inherit}.w-full{width:100%}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-auto{cursor:auto}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.empty\\:hidden:empty{display:none}.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\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-field-container",{id:[1],align:[1],label:[1],loading:[4],loadingSize:[1,"loading-size"],variant:[1],helper:[1],required:[516],showOptional:[516,"show-optional"],error:[513],errorPlacement:[1,"error-placement"],forceShowTooltip:[516,"force-show-tooltip"],optionalTemplate:[16],_locales:[32]},[[16,"localeChanged","_setLocales"]]]);function b(){"undefined"!=typeof customElements&&["p-field-container","p-helper","p-icon","p-loader","p-tooltip"].forEach((t=>{switch(t){case"p-field-container":customElements.get(e(t))||customElements.define(e(t),x);break;case"p-helper":customElements.get(e(t))||m();break;case"p-icon":customElements.get(e(t))||c();break;case"p-loader":customElements.get(e(t))||p();break;case"p-tooltip":customElements.get(e(t))||w()}}))}b();export{x as F,b as d}