@paperless/core 2.0.1-beta.26 → 2.0.1-beta.27

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 (194) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/{p-54f7740e.entry.js → p-04f4b015.entry.js} +2 -2
  5. package/dist/build/p-28601ee5.entry.js +2 -0
  6. package/dist/build/p-28601ee5.entry.js.map +1 -0
  7. package/dist/build/{p-cd3c25ac.entry.js → p-38edcb47.entry.js} +2 -2
  8. package/dist/build/p-3e3983ec.js +2 -0
  9. package/dist/build/{p-ccbd2de0.entry.js → p-3fec2247.entry.js} +2 -2
  10. package/dist/build/{p-d82e4315.entry.js → p-45d789f5.entry.js} +2 -2
  11. package/dist/build/{p-f56de35e.entry.js → p-610eb0ff.entry.js} +2 -2
  12. package/dist/build/{p-401ff01b.entry.js → p-68647b9e.entry.js} +2 -2
  13. package/dist/{paperless/p-9cac28b6.js → build/p-6bcfa4d5.js} +2 -2
  14. package/dist/build/p-859c4fb1.entry.js +2 -0
  15. package/dist/build/{p-7929ec90.entry.js → p-886c060f.entry.js} +2 -2
  16. package/dist/build/{p-9406a32e.entry.js → p-963f037a.entry.js} +2 -2
  17. package/dist/build/{p-e5a54d05.entry.js → p-971aac89.entry.js} +2 -2
  18. package/dist/{paperless/p-dc06602f.entry.js → build/p-9a0262b1.entry.js} +2 -2
  19. package/dist/build/{p-fde8b75b.entry.js → p-a0fad3d8.entry.js} +2 -2
  20. package/dist/build/{p-a38a330d.entry.js → p-a93ce615.entry.js} +2 -2
  21. package/dist/build/p-e839a672.entry.js +2 -0
  22. package/dist/build/p-efbc122f.js +2 -0
  23. package/dist/build/p-efbc122f.js.map +1 -0
  24. package/dist/build/{p-8b1a485b.entry.js → p-f173bb97.entry.js} +2 -2
  25. package/dist/build/paperless.esm.js +1 -1
  26. package/dist/build/paperless.esm.js.map +1 -1
  27. package/dist/cjs/index.cjs.js +2 -0
  28. package/dist/cjs/index.cjs.js.map +1 -1
  29. package/dist/cjs/is-mobile-browser-0e393879.js +19 -0
  30. package/dist/cjs/is-mobile-browser-0e393879.js.map +1 -0
  31. package/dist/cjs/loader.cjs.js +1 -1
  32. package/dist/cjs/p-checkbox_3.cjs.entry.js +3 -3
  33. package/dist/cjs/p-datepicker.cjs.entry.js +64 -3
  34. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
  35. package/dist/cjs/p-field_2.cjs.entry.js +3 -3
  36. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +4 -4
  37. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  38. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  39. package/dist/cjs/p-label.cjs.entry.js +3 -3
  40. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  41. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  42. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  43. package/dist/cjs/p-page-size-select_3.cjs.entry.js +1 -1
  44. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  45. package/dist/cjs/p-select.cjs.entry.js +1 -1
  46. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  47. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  48. package/dist/cjs/paperless.cjs.js +1 -1
  49. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
  50. package/dist/collection/components/molecules/datepicker/datepicker.component.js +62 -5
  51. package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
  52. package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
  53. package/dist/collection/components/molecules/field/field.component.js +3 -3
  54. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  55. package/dist/collection/components/molecules/input-group/input-group.component.js +3 -3
  56. package/dist/collection/components/molecules/label/label.component.js +3 -3
  57. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +2 -2
  58. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  59. package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
  60. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  61. package/dist/collection/components/molecules/select/select.component.js +1 -1
  62. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  63. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  64. package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
  65. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  66. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  67. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  68. package/dist/collection/utils/index.js +1 -0
  69. package/dist/collection/utils/index.js.map +1 -1
  70. package/dist/collection/utils/is-mobile-browser.js +14 -0
  71. package/dist/collection/utils/is-mobile-browser.js.map +1 -0
  72. package/dist/components/calendar.component.js +1 -1
  73. package/dist/components/dropdown.component.js +3 -3
  74. package/dist/components/field.component.js +3 -3
  75. package/dist/components/index.js +1 -0
  76. package/dist/components/index.js.map +1 -1
  77. package/dist/components/input-error.component.js +1 -1
  78. package/dist/components/is-mobile-browser.js +17 -0
  79. package/dist/components/is-mobile-browser.js.map +1 -0
  80. package/dist/components/p-datepicker.js +68 -5
  81. package/dist/components/p-datepicker.js.map +1 -1
  82. package/dist/components/p-input-group.js +3 -3
  83. package/dist/components/p-label.js +3 -3
  84. package/dist/components/p-navbar.js +1 -1
  85. package/dist/components/p-navigation-item.js +2 -2
  86. package/dist/components/p-navigation-section.js +1 -1
  87. package/dist/components/p-profile.js +1 -1
  88. package/dist/components/p-select.js +1 -1
  89. package/dist/components/p-stepper.js +1 -1
  90. package/dist/components/p-toast.js +1 -1
  91. package/dist/components/pagination.component.js +1 -1
  92. package/dist/components/table-cell.component.js +1 -1
  93. package/dist/components/table-footer.component.js +1 -1
  94. package/dist/components/table-row.component.js +2 -2
  95. package/dist/esm/{index-538f1fd8.js → index-64e10183.js} +2 -2
  96. package/dist/esm/{index-538f1fd8.js.map → index-64e10183.js.map} +1 -1
  97. package/dist/esm/index.js +1 -0
  98. package/dist/esm/index.js.map +1 -1
  99. package/dist/esm/is-mobile-browser-0f0bfd54.js +17 -0
  100. package/dist/esm/is-mobile-browser-0f0bfd54.js.map +1 -0
  101. package/dist/esm/loader.js +1 -1
  102. package/dist/esm/p-calendar.entry.js +1 -1
  103. package/dist/esm/p-checkbox_3.entry.js +3 -3
  104. package/dist/esm/p-datepicker.entry.js +65 -4
  105. package/dist/esm/p-datepicker.entry.js.map +1 -1
  106. package/dist/esm/p-field_2.entry.js +3 -3
  107. package/dist/esm/p-floating-menu-container_8.entry.js +4 -4
  108. package/dist/esm/p-input-error.entry.js +1 -1
  109. package/dist/esm/p-input-group.entry.js +3 -3
  110. package/dist/esm/p-label.entry.js +3 -3
  111. package/dist/esm/p-navbar.entry.js +1 -1
  112. package/dist/esm/p-navigation-item.entry.js +2 -2
  113. package/dist/esm/p-navigation-section.entry.js +1 -1
  114. package/dist/esm/p-page-size-select_3.entry.js +1 -1
  115. package/dist/esm/p-profile.entry.js +1 -1
  116. package/dist/esm/p-select.entry.js +1 -1
  117. package/dist/esm/p-stepper.entry.js +1 -1
  118. package/dist/esm/p-toast.entry.js +1 -1
  119. package/dist/esm/paperless.js +1 -1
  120. package/dist/index.html +1 -1
  121. package/dist/paperless/index.esm.js +1 -1
  122. package/dist/paperless/index.esm.js.map +1 -1
  123. package/dist/paperless/{p-54f7740e.entry.js → p-04f4b015.entry.js} +2 -2
  124. package/dist/paperless/p-28601ee5.entry.js +2 -0
  125. package/dist/paperless/p-28601ee5.entry.js.map +1 -0
  126. package/dist/paperless/{p-cd3c25ac.entry.js → p-38edcb47.entry.js} +2 -2
  127. package/dist/paperless/{p-ccbd2de0.entry.js → p-3fec2247.entry.js} +2 -2
  128. package/dist/paperless/{p-d82e4315.entry.js → p-45d789f5.entry.js} +2 -2
  129. package/dist/paperless/{p-f56de35e.entry.js → p-610eb0ff.entry.js} +2 -2
  130. package/dist/paperless/{p-401ff01b.entry.js → p-68647b9e.entry.js} +2 -2
  131. package/dist/{build/p-9cac28b6.js → paperless/p-6bcfa4d5.js} +2 -2
  132. package/dist/paperless/p-859c4fb1.entry.js +2 -0
  133. package/dist/paperless/{p-7929ec90.entry.js → p-886c060f.entry.js} +2 -2
  134. package/dist/paperless/{p-9406a32e.entry.js → p-963f037a.entry.js} +2 -2
  135. package/dist/paperless/{p-e5a54d05.entry.js → p-971aac89.entry.js} +2 -2
  136. package/dist/{build/p-dc06602f.entry.js → paperless/p-9a0262b1.entry.js} +2 -2
  137. package/dist/paperless/{p-fde8b75b.entry.js → p-a0fad3d8.entry.js} +2 -2
  138. package/dist/paperless/{p-a38a330d.entry.js → p-a93ce615.entry.js} +2 -2
  139. package/dist/paperless/p-e839a672.entry.js +2 -0
  140. package/dist/paperless/p-efbc122f.js +2 -0
  141. package/dist/paperless/p-efbc122f.js.map +1 -0
  142. package/dist/paperless/{p-8b1a485b.entry.js → p-f173bb97.entry.js} +2 -2
  143. package/dist/paperless/paperless.esm.js +1 -1
  144. package/dist/paperless/paperless.esm.js.map +1 -1
  145. package/dist/sw.js +1 -1
  146. package/dist/sw.js.map +1 -1
  147. package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +7 -0
  148. package/dist/types/components.d.ts +8 -0
  149. package/dist/types/utils/index.d.ts +1 -0
  150. package/dist/types/utils/is-mobile-browser.d.ts +1 -0
  151. package/hydrate/index.js +106 -30
  152. package/hydrate/index.mjs +106 -30
  153. package/package.json +1 -1
  154. package/dist/build/p-23ccc7b6.entry.js +0 -2
  155. package/dist/build/p-23ccc7b6.entry.js.map +0 -1
  156. package/dist/build/p-2f613a2a.entry.js +0 -2
  157. package/dist/build/p-e078f787.entry.js +0 -2
  158. package/dist/build/p-faf3a10b.js +0 -2
  159. package/dist/paperless/p-23ccc7b6.entry.js +0 -2
  160. package/dist/paperless/p-23ccc7b6.entry.js.map +0 -1
  161. package/dist/paperless/p-2f613a2a.entry.js +0 -2
  162. package/dist/paperless/p-e078f787.entry.js +0 -2
  163. /package/dist/build/{p-54f7740e.entry.js.map → p-04f4b015.entry.js.map} +0 -0
  164. /package/dist/build/{p-cd3c25ac.entry.js.map → p-38edcb47.entry.js.map} +0 -0
  165. /package/dist/build/{p-ccbd2de0.entry.js.map → p-3fec2247.entry.js.map} +0 -0
  166. /package/dist/build/{p-d82e4315.entry.js.map → p-45d789f5.entry.js.map} +0 -0
  167. /package/dist/build/{p-f56de35e.entry.js.map → p-610eb0ff.entry.js.map} +0 -0
  168. /package/dist/build/{p-401ff01b.entry.js.map → p-68647b9e.entry.js.map} +0 -0
  169. /package/dist/build/{p-9cac28b6.js.map → p-6bcfa4d5.js.map} +0 -0
  170. /package/dist/build/{p-2f613a2a.entry.js.map → p-859c4fb1.entry.js.map} +0 -0
  171. /package/dist/build/{p-7929ec90.entry.js.map → p-886c060f.entry.js.map} +0 -0
  172. /package/dist/build/{p-9406a32e.entry.js.map → p-963f037a.entry.js.map} +0 -0
  173. /package/dist/build/{p-e5a54d05.entry.js.map → p-971aac89.entry.js.map} +0 -0
  174. /package/dist/build/{p-dc06602f.entry.js.map → p-9a0262b1.entry.js.map} +0 -0
  175. /package/dist/build/{p-fde8b75b.entry.js.map → p-a0fad3d8.entry.js.map} +0 -0
  176. /package/dist/build/{p-a38a330d.entry.js.map → p-a93ce615.entry.js.map} +0 -0
  177. /package/dist/build/{p-e078f787.entry.js.map → p-e839a672.entry.js.map} +0 -0
  178. /package/dist/build/{p-8b1a485b.entry.js.map → p-f173bb97.entry.js.map} +0 -0
  179. /package/dist/paperless/{p-54f7740e.entry.js.map → p-04f4b015.entry.js.map} +0 -0
  180. /package/dist/paperless/{p-cd3c25ac.entry.js.map → p-38edcb47.entry.js.map} +0 -0
  181. /package/dist/paperless/{p-ccbd2de0.entry.js.map → p-3fec2247.entry.js.map} +0 -0
  182. /package/dist/paperless/{p-d82e4315.entry.js.map → p-45d789f5.entry.js.map} +0 -0
  183. /package/dist/paperless/{p-f56de35e.entry.js.map → p-610eb0ff.entry.js.map} +0 -0
  184. /package/dist/paperless/{p-401ff01b.entry.js.map → p-68647b9e.entry.js.map} +0 -0
  185. /package/dist/paperless/{p-9cac28b6.js.map → p-6bcfa4d5.js.map} +0 -0
  186. /package/dist/paperless/{p-2f613a2a.entry.js.map → p-859c4fb1.entry.js.map} +0 -0
  187. /package/dist/paperless/{p-7929ec90.entry.js.map → p-886c060f.entry.js.map} +0 -0
  188. /package/dist/paperless/{p-9406a32e.entry.js.map → p-963f037a.entry.js.map} +0 -0
  189. /package/dist/paperless/{p-e5a54d05.entry.js.map → p-971aac89.entry.js.map} +0 -0
  190. /package/dist/paperless/{p-dc06602f.entry.js.map → p-9a0262b1.entry.js.map} +0 -0
  191. /package/dist/paperless/{p-fde8b75b.entry.js.map → p-a0fad3d8.entry.js.map} +0 -0
  192. /package/dist/paperless/{p-a38a330d.entry.js.map → p-a93ce615.entry.js.map} +0 -0
  193. /package/dist/paperless/{p-e078f787.entry.js.map → p-e839a672.entry.js.map} +0 -0
  194. /package/dist/paperless/{p-8b1a485b.entry.js.map → p-f173bb97.entry.js.map} +0 -0
@@ -41,11 +41,11 @@ const InputGroup = /*@__PURE__*/ proxyCustomElement(class InputGroup extends HTM
41
41
  }
42
42
  render() {
43
43
  const { hasHeaderSlot, helper, label, prefix, suffix, errorAndErrorIsNotBoolean, errorVariant, } = this._getSlotInfo();
44
- return (h(Host, { key: '9848be9dc18dbb66de4ffaeb0fd6377204355127', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, h("div", { key: '4d4035d525fe79a6afbd669bf49302fbd96ee4a9', class: 'flex items-end justify-between' }, label && (h("div", { key: '859e6c72d70ddd2b62c72170be460452d0d87d11', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && h("span", { key: '19c99b31a2d0f5b6f03971b6441e459653e3af13', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (h("div", { key: '3e2abec6c63ae8d26b42316d48516992c2bc699b', class: 'input-header' }, hasHeaderSlot && h("slot", { key: '1d100f887f1345ccfcf11e97d7667dd94355f026', name: 'header' }), helper && (h("p-helper", { key: '9dbf5401cd26db9421c526bd406c683829abd877', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), h("p-tooltip", { key: '71ef03a090b4311c14d7c935809f147140791e9e', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
44
+ return (h(Host, { key: '7c6b1a6a99947e106e1643c7fc1be75a8f2b7cee', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, h("div", { key: 'e5169853ae114e0bb28dde38a9ca01a419c483fa', class: 'flex items-end justify-between' }, label && (h("div", { key: 'd6a86094fa1c23aa2ad0ae9be4e7b2c2e5f6b08a', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && h("span", { key: '784a019a9e528c2ba660c1cf5ac639c0d22a7d49', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (h("div", { key: 'ebcfae4c6dd40d6cf396a9e5e9bb3a92d3b97e6e', class: 'input-header' }, hasHeaderSlot && h("slot", { key: '88a47687137491526b7a4910cf525c6ca83feda5', name: 'header' }), helper && (h("p-helper", { key: 'c2e55ad18f1b42283698849e3d9d5ddbfe5bed56', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), h("p-tooltip", { key: 'bf382febbfbc2f79c4d7d18011173eadd779b786', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
45
45
  errorVariant === 'element' &&
46
- (this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, h("div", { key: '21bda229af33f22f4080ef66cd2b2821f755edd6', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '21f4e49db797a4ee2e6caee81d952858cc550567', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
46
+ (this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, h("div", { key: '306065f4b9df5467febe25a249111a67affe7382', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '8ee0a54494f54c91e812ac19692fe33de55b16ee', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
47
47
  (errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
48
- (this.icon && this.iconPosition === 'end')) && (h("div", { key: '033bc354c872c0b9fb351182d7466515642d3f9b', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), h("slot", { key: '1dc6aa666c99246ba2d532c435987875528af5f6', name: 'input' })))));
48
+ (this.icon && this.iconPosition === 'end')) && (h("div", { key: '07dae7781dd393de1101c6c6d5d8937d743bc5e5', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), h("slot", { key: 'e9244425d359da5540cafa9d24f920254c0caefa', name: 'input' })))));
49
49
  }
50
50
  handleFocusIn() {
51
51
  this._forceShowTooltip = true;
@@ -45,14 +45,14 @@ const Label = /*@__PURE__*/ proxyCustomElement(class Label extends HTMLElement {
45
45
  this.keepMobileContent = false;
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '04c0b2510fd1ae8cad957ee02d7d54245b7fdbb0', class: 'p-label' }, h("div", { key: '7dfd0871e52cef46c49f0c30e58facfa603c5d0f', class: label({
48
+ return (h(Host, { key: '1ea6b62ca882280297a9da6f6621c656ab5e5ad2', class: 'p-label' }, h("div", { key: '59a0a606b8d20ccf79154dd94436a2ecac6a78d7', class: label({
49
49
  variant: this.variant,
50
50
  iconOnly: this.iconOnly,
51
51
  keepMobileContent: this.keepMobileContent,
52
- }) }, this.icon && (h("p-icon", { key: 'b70587122206d6b26785cbf5e9e8219219aeb7d0', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '5426ae86e86f205b04130628923f3d53747c85d5', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
52
+ }) }, this.icon && (h("p-icon", { key: 'c0a2010bdb110d4b9d94f4dd74d3070eaaf33c0c', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '3080a8dea111f38a9eb73b60a984bdd39276c7ae', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
53
53
  hidden: !this.keepMobileContent,
54
54
  'desktop-xs:block': !this.keepMobileContent,
55
- }) }, h("slot", { key: '62413d44b71c12291cb13997e839774d2b047fdd' }))))));
55
+ }) }, h("slot", { key: 'f2f655c88df2ef9c953b0993fdd34b818a062567' }))))));
56
56
  }
57
57
  static get style() { return PLabelStyle0; }
58
58
  }, [1, "p-label", {
@@ -55,7 +55,7 @@ const Navbar = /*@__PURE__*/ proxyCustomElement(class Navbar extends HTMLElement
55
55
  this._show = false;
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: '5a650991757775c859753a4cba897657673e2c16', class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, h("p-backdrop", { key: '7b9941b9890fe9b6caeec31abae0a3bd760122ff', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: 'a5e159a45366eaec2c82ad05a8cf1beba3019a26', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '2c0ac1808679344a2e13bb6226753b6ab22a612b', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: '3cb94341bf85ae8b06bae64cfb3ff23d1a2ba513', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: 'b1a7c5563b6e952a0bc9642c1f7838e078bb393e', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: 'ae42cffb58b026119581692611f9daff81e047cd', name: 'company' })), h("div", { key: '5b5907be291cdb13e508316c238e2258d8333cc8', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: 'e5ad788e78dc14a77b0a49cc372851a446c5f9a8', name: 'content' })), h("div", { key: '638e5b77b2bc7f92113e38f8926dcefffb9cbaf3', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: '5a0b81c1d1901a7f59b612f2ef56893ace17f4ec', name: 'user' }))), h("div", { key: '5cba6c913ed6c801c90096a8c7ec61850850982f', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '9588e62b42781a82c31ff815d49424c9750906bd', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: '78d2d84e2fe4e99bd8f188d8231a5250271e92bd', name: 'topbar' }))));
58
+ return (h(Host, { key: '900ed939d2ab652ff4d9770f4fbcbb606cdbd3ba', class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, h("p-backdrop", { key: '6e9cc4a3aab95fcf7eddb2846a5ffdb853ae9f8e', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '838482d57234a24ce435536c227fdf3ab226b8cc', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '368f1a39868f592f40303fb217200d265a0201dd', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: '40c8f44565fa3798ee09900d2ac87230ca4fa0ea', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: 'f39bde405fdfa2a004c0e12c77aa7b825cadacc8', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: '7f9c30322714025dc9922e368397c8147b2bae5a', name: 'company' })), h("div", { key: '18360a19ea43cab962960001202327467a235ffb', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: '1c99bfc9b34dfe6eaa802b67d43f78a6d5e6e20f', name: 'content' })), h("div", { key: 'cc250265c364af33026dbcb972ba4f3b1cc99bfc', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: '8b79bd563e93d6d3ea5aafca92d4499a4ef07a62', name: 'user' }))), h("div", { key: 'a1dd20c5b11a758c11a44b024aebd454b881c342', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '02723bb57b6d1e5e93f20d13cd87879020527fa0', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: '03647eeeb2ee42c14ab373cf1cf46c909be9a973', name: 'topbar' }))));
59
59
  }
60
60
  handleCloseNavbar() {
61
61
  this._show = false;
@@ -52,10 +52,10 @@ const NavigationItem = /*@__PURE__*/ proxyCustomElement(class NavigationItem ext
52
52
  render() {
53
53
  const TagType = this.as;
54
54
  const active = this.active || this.class?.includes('active');
55
- return (h(Host, { key: '79388e74c4f842451ba5bfc706b69905cdbd23f3', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '6f7f1bcabc8818c254af81a137c4f111e7405302', class: navigationItem({
55
+ return (h(Host, { key: 'fd0d001679ae464ac2b9f0e4fa20f0fb64c8523d', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '69b28661607031697191fc1f4b0587e2bd2cee25', class: navigationItem({
56
56
  icon: !!this.icon,
57
57
  active,
58
- }), href: this.href, target: this.target }, h("div", { key: '37f9fea4dafa366137346990d27b1c4ed483f9f7', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'ac71d3273d79a30dfdf3383ad988fc57755676dd', variant: this.icon })), h("span", { key: '2125e1909ebdb212e6b873b73edcbaae7d936d50', class: this.counter && 'has-counter' }, h("slot", { key: 'dd26013244c8282e21de4c32c6a7a28a15e52433' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'c8a88ea5590e98e8d2e9fe3f381a334167ae7920' }, this.counter)), !!this.loading && h("p-loader", { key: 'ba965e9b68f55340f3c69fc4dd120b6ee7dcbb44', class: 'ml-auto' }))));
58
+ }), href: this.href, target: this.target }, h("div", { key: 'aa9e7c60e62a4e82af779f94770b58ae10757ac8', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '31a6d07a4c90acc898ac346c7e7ecbbe8cb39a37', variant: this.icon })), h("span", { key: 'b9eaee4eddd78500657eee76ea19ef5a12d10479', class: this.counter && 'has-counter' }, h("slot", { key: '932d02bcf7251608a35cda8df7cfb6b545e83fca' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '7b992d27f6accd7df40d20609045cc9e1f6f4974' }, this.counter)), !!this.loading && h("p-loader", { key: 'cad21a90aab7f340a78ce7b31cf60426649d835c', class: 'ml-auto' }))));
59
59
  }
60
60
  static get style() { return PNavigationItemStyle0; }
61
61
  }, [4, "p-navigation-item", {
@@ -11,7 +11,7 @@ const NavigationSection = /*@__PURE__*/ proxyCustomElement(class NavigationSecti
11
11
  this.header = undefined;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'd08d6483e06b2f42650d3b866d9b80b3ecf493fe', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '36c6cad94d0d3372fd81448f29011ee6eb880447' }, this.header)), h("div", { key: '0592eab02c6dfbaea10457f7c148b00de228f1e5', class: 'flex flex-col' }, h("slot", { key: 'e1f2e8847c6b7cdb10696ac9a2a5409a00a94018' }))));
14
+ return (h(Host, { key: 'aa7af42074a08744f5b6e07d5d878209790215cb', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '1ff0422bad541f4cb25e497151f4239cd2657548' }, this.header)), h("div", { key: 'f1c1089ff6a40535315efc1203d47cfdc1cf03b6', class: 'flex flex-col' }, h("slot", { key: '024ed5e805f64ee6c4beb018c4be83f2b910613d' }))));
15
15
  }
16
16
  static get style() { return PNavigationSectionStyle0; }
17
17
  }, [4, "p-navigation-section", {
@@ -35,7 +35,7 @@ const Profile = /*@__PURE__*/ proxyCustomElement(class Profile extends HTMLEleme
35
35
  }
36
36
  render() {
37
37
  const content = this._getContent();
38
- return (h(Host, { key: '155d1be3f5cd2acbed03155a869ced051470fbca', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
38
+ return (h(Host, { key: 'ed8dcfa862e21eb3e08871b88b376ec9ccccc74b', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
39
39
  }
40
40
  slotchange() {
41
41
  this._checkDropdownSlot();
@@ -195,7 +195,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
195
195
  }
196
196
  }
197
197
  render() {
198
- return (h(Host, { key: '3ad24d7aa400eb387face3025fdc42b99e1b3fc6', class: 'p-select' }, h("p-dropdown", { key: 'd42e8c1b722a0b69d82e4042bca65fa15f20a20f', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-field-container", { key: '9dd68063eb7762d1fefb7865cee1d4ed96ecab8a', slot: 'trigger', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: 'c71ce74fdfb994d3843a522ac974210c2df5167b', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: '0c25c23e2234f064972edbe678a022e5a4a3f4b8', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
198
+ return (h(Host, { key: 'c8e6d0b1ea9133a463bdd3fcd5a7bbe7344bfbd3', class: 'p-select' }, h("p-dropdown", { key: '4901191964e4ba438141b39d3328359683374aa1', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-field-container", { key: 'ba296caea08b2cb0c973be1ff8a8f29f4ea71ad7', slot: 'trigger', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: '18437b40ba02760454809f1e2f92354e38b30e29', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: '8bb161da7fa806ae480083c2e719430b1a36bcf0', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
199
199
  }
200
200
  documentClickHandler({ target }) {
201
201
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -96,7 +96,7 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLEleme
96
96
  this._generateSteps(true);
97
97
  }
98
98
  render() {
99
- return (h(Host, { key: '8fa52e3d517deebb230039f2938893a14fb5613e', class: 'p-stepper' }, h("slot", { key: '385c27e425dad328346910e77f42d7fdc32183b8', onSlotchange: this._onSlotChange })));
99
+ return (h(Host, { key: '51f99206402f99e4376b21ab8d62467c48ebee4d', class: 'p-stepper' }, h("slot", { key: 'e5d42ec1843f8a98034d1fade84a39ec9ecd17f5', onSlotchange: this._onSlotChange })));
100
100
  }
101
101
  _onActiveStepChange() {
102
102
  this._generateSteps();
@@ -25,7 +25,7 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
25
25
  */
26
26
  action;
27
27
  render() {
28
- return (h(Host, { key: '8037040911805538a87e382891c638dc02b60206', class: `p-toast variant-${this.variant}`, onClick: () => this._onClick() }, h("div", { key: '3d62bfbdc62f0aad9f0b2aa399b881498328329c', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '6025fc8d67bdaeff8e43ae6b65aed1c12a42a107', class: 'font-semibold text-storm' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '39b41b1033a0b4eaaca958949556cae1037d0019', class: 'w-full text-sm text-storm-medium' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("p-button", { key: '0b58b68d606925c26007d2e00437a3e2c69bfd0f', variant: 'secondary', iconOnly: true, size: 'sm', icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' }))));
28
+ return (h(Host, { key: '3b395df421e00c30e6327c2fd441eb28529e1284', class: `p-toast variant-${this.variant}`, onClick: () => this._onClick() }, h("div", { key: '462c79c5f7f601efefdbd62816c7e530a9962256', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '6d3164bcbb24221af015c96c3348a65a379633e9', class: 'font-semibold text-storm' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '803017ee064e98e746f9f98979694ea19aed17af', class: 'w-full text-sm text-storm-medium' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("p-button", { key: 'cf478aa9b216e6091c5bf073af57110fe94b14e1', variant: 'secondary', iconOnly: true, size: 'sm', icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' }))));
29
29
  }
30
30
  _onClick() {
31
31
  if (this.enableAction) {
@@ -25,7 +25,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends HTM
25
25
  this._generate();
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '3568c3e866dcd2ffee3fb8acd34a81d63e564068', class: `p-pagination ${this.hideOnSinglePage && this._set?.length === 3 && 'hidden'}` }, this._set?.map(p => {
28
+ return (h(Host, { key: '2059378b68c7958bced60dc09f6bf46587724dc1', class: `p-pagination ${this.hideOnSinglePage && this._set?.length === 3 && 'hidden'}` }, this._set?.map(p => {
29
29
  if (p.type === 'previous' || p.type === 'next') {
30
30
  return (h("p-pagination-item", { onClick: () => p.type === 'previous'
31
31
  ? this._previousClick()
@@ -33,7 +33,7 @@ const TableCell = /*@__PURE__*/ proxyCustomElement(class TableCell extends HTMLE
33
33
  };
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: 'fdd68a4b75fa75a0301b2721d81a069cac64d098', class: {
36
+ return (h(Host, { key: 'd4a279d8bf16c93cfcab39340c65a73b73b9208a', class: {
37
37
  'p-table-cell': true,
38
38
  [`variant-${this.variant}`]: true,
39
39
  ...this._getColumnClasses(),
@@ -52,7 +52,7 @@ const TableFooter = /*@__PURE__*/ proxyCustomElement(class TableFooter extends H
52
52
  }
53
53
  render() {
54
54
  const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
55
- return (h(Host, { key: '8c85669efe0bdc3f14fe0dfb5cbca5a38451b2ca', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (h("p-page-size-select", { key: '69cb04177926201d314ab138ac72452d9a32ccd3', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (h("p-loader", { key: '4601f2a8736bb05af33159769bfba2e1854c8cdf', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (h("p-pagination", { key: 'e9c672d24d92cb973482a37b16f8a1210fb17345', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (h("p-button", { key: '3f6942fb87389cb69281e397134f857d2cedb87c', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
55
+ return (h(Host, { key: 'ef96f7c0d01bd9d85f36becfc5458ae1e335bebf', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (h("p-page-size-select", { key: '6acc6c9aec481853f9bf376dc3e2644a60836386', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (h("p-loader", { key: 'b58677035576cd44ffdda3b95de496caeb7ada12', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (h("p-pagination", { key: '1d6c73ecfb6aff3b3e061616c9ad100f08cc4c62', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (h("p-button", { key: '5ba22bf6410c30242baccb5b999176a73eefe665', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
56
56
  }
57
57
  async _setLocales() {
58
58
  this._locales = await getLocaleComponentStrings(this._el);
@@ -13,9 +13,9 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
13
13
  this.enableHover = true;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '962ec4f0187a22416270df391edb910c6584fc57', class: `p-table-row variant-${this.variant} ${this.enableHover &&
16
+ return (h(Host, { key: 'ef1fdb723ada0436bb2635a6befb0a2d4d3ffa87', class: `p-table-row variant-${this.variant} ${this.enableHover &&
17
17
  this.variant === 'default' &&
18
- 'enable-hover'} group` }, h("div", { key: '45deb1c2a22e4afdf99b3e4f407f8ceedc3769fc', class: "content" }, h("slot", { key: 'd9bae05aad34f48ef13598e432813ffacab3d3f6' })), this.variant === 'default' && h("p-divider", { key: 'efdc3dcb43ea3f74786495f62ceaf7b6a62908d6', class: "m-0" })));
18
+ 'enable-hover'} group` }, h("div", { key: 'fd05bf187d722815cbe86d90b7ffac78188b7b17', class: "content" }, h("slot", { key: 'b9ac1208c608c7b50b3e7398ed6a22e551aeb5e0' })), this.variant === 'default' && h("p-divider", { key: '2222dbad0f1cd7f742e76a218cd7981589d3bff0', class: "m-0" })));
19
19
  }
20
20
  static get style() { return PTableRowStyle0; }
21
21
  }, [1, "p-table-row", {
@@ -2304,6 +2304,6 @@ function isBefore(dirtyDate, dirtyDateToCompare) {
2304
2304
  return date.getTime() < dateToCompare.getTime();
2305
2305
  }
2306
2306
 
2307
- export { _typeof as _, startOfUTCISOWeek as a, getUTCWeek as b, toInteger as c, getUTCISOWeek as d, getDefaultOptions as e, subMilliseconds as f, getUTCWeekYear as g, getTimezoneOffsetInMilliseconds as h, defaultLocale as i, isProtectedWeekYearToken as j, throwProtectedError as k, longFormatters$1 as l, isProtectedDayOfYearToken as m, isValid as n, isBefore as o, isAfter as p, startOfDay as q, requiredArgs as r, startOfUTCWeek as s, toDate as t, isSameDay as u, format as v };
2307
+ export { _typeof as _, startOfUTCISOWeek as a, getUTCWeek as b, toInteger as c, getUTCISOWeek as d, getDefaultOptions as e, subMilliseconds as f, getUTCWeekYear as g, getTimezoneOffsetInMilliseconds as h, defaultLocale as i, isProtectedWeekYearToken as j, throwProtectedError as k, longFormatters$1 as l, isProtectedDayOfYearToken as m, isValid as n, isBefore as o, isAfter as p, format as q, requiredArgs as r, startOfUTCWeek as s, toDate as t, startOfDay as u, isSameDay as v };
2308
2308
 
2309
- //# sourceMappingURL=index-538f1fd8.js.map
2309
+ //# sourceMappingURL=index-64e10183.js.map