@paperless/core 1.36.0 → 1.36.2

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 (33) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/build/{p-141e1345.entry.js → p-22a84714.entry.js} +2 -2
  3. package/dist/{paperless/p-141e1345.entry.js.map → build/p-22a84714.entry.js.map} +1 -1
  4. package/dist/build/p-d9267cc3.entry.js +2 -0
  5. package/dist/{paperless/p-6cbe8dc8.entry.js.map → build/p-d9267cc3.entry.js.map} +1 -1
  6. package/dist/build/paperless.esm.js +1 -1
  7. package/dist/cjs/p-dropdown_2.cjs.entry.js +1 -1
  8. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
  9. package/dist/cjs/p-select.cjs.entry.js +1 -1
  10. package/dist/cjs/p-select.cjs.entry.js.map +1 -1
  11. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  12. package/dist/collection/components/molecules/select/select.component.js +1 -1
  13. package/dist/collection/components/molecules/select/select.component.js.map +1 -1
  14. package/dist/components/dropdown-menu-item.component.js +1 -1
  15. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  16. package/dist/components/p-select.js +1 -1
  17. package/dist/components/p-select.js.map +1 -1
  18. package/dist/esm/p-dropdown_2.entry.js +1 -1
  19. package/dist/esm/p-dropdown_2.entry.js.map +1 -1
  20. package/dist/esm/p-select.entry.js +1 -1
  21. package/dist/esm/p-select.entry.js.map +1 -1
  22. package/dist/index.html +1 -1
  23. package/dist/paperless/{p-141e1345.entry.js → p-22a84714.entry.js} +2 -2
  24. package/dist/{build/p-141e1345.entry.js.map → paperless/p-22a84714.entry.js.map} +1 -1
  25. package/dist/paperless/p-d9267cc3.entry.js +2 -0
  26. package/dist/{build/p-6cbe8dc8.entry.js.map → paperless/p-d9267cc3.entry.js.map} +1 -1
  27. package/dist/paperless/paperless.esm.js +1 -1
  28. package/dist/sw.js +1 -1
  29. package/dist/sw.js.map +1 -1
  30. package/hydrate/index.js +2 -2
  31. package/package.json +1 -1
  32. package/dist/build/p-6cbe8dc8.entry.js +0 -2
  33. package/dist/paperless/p-6cbe8dc8.entry.js +0 -2
package/hydrate/index.js CHANGED
@@ -19667,7 +19667,7 @@ class DropdownMenuContainer {
19667
19667
  }; }
19668
19668
  }
19669
19669
 
19670
- const dropdownMenuItemComponentCss = "/*!@.block*/.block.sc-p-dropdown-menu-item{display:block!important}/*!@.flex*/.flex.sc-p-dropdown-menu-item{display:flex!important}/*!@.h-4*/.h-4.sc-p-dropdown-menu-item{height:1rem!important}/*!@.h-6*/.h-6.sc-p-dropdown-menu-item{height:1.5rem!important}/*!@.h-8*/.h-8.sc-p-dropdown-menu-item{height:2rem!important}/*!@.w-4*/.w-4.sc-p-dropdown-menu-item{width:1rem!important}/*!@.w-6*/.w-6.sc-p-dropdown-menu-item{width:1.5rem!important}/*!@.w-\\[2\\.375rem\\]*/.w-\\[2\\.375rem\\].sc-p-dropdown-menu-item{width:2.375rem!important}/*!@.w-full*/.w-full.sc-p-dropdown-menu-item{width:100%!important}/*!@.translate-x-0*/.translate-x-0.sc-p-dropdown-menu-item{--tw-translate-x:0px!important}/*!@.translate-x-0,.translate-x-3*/.translate-x-0.sc-p-dropdown-menu-item,.translate-x-3.sc-p-dropdown-menu-item{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}/*!@.translate-x-3*/.translate-x-3.sc-p-dropdown-menu-item{--tw-translate-x:0.75rem!important}/*!@.transform*/.transform.sc-p-dropdown-menu-item{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}/*!@.appearance-none*/.appearance-none.sc-p-dropdown-menu-item{appearance:none!important}/*!@.items-center*/.items-center.sc-p-dropdown-menu-item{align-items:center!important}/*!@.gap-2*/.gap-2.sc-p-dropdown-menu-item{gap:.5rem!important}/*!@.overflow-hidden*/.overflow-hidden.sc-p-dropdown-menu-item{overflow:hidden!important}/*!@.text-ellipsis*/.text-ellipsis.sc-p-dropdown-menu-item{text-overflow:ellipsis!important}/*!@.rounded*/.rounded.sc-p-dropdown-menu-item{border-radius:.25rem!important}/*!@.border*/.border.sc-p-dropdown-menu-item{border-width:1px!important}/*!@.border-solid*/.border-solid.sc-p-dropdown-menu-item{border-style:solid!important}/*!@.border-indigo*/.border-indigo.sc-p-dropdown-menu-item{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}/*!@.border-negative*/.border-negative.sc-p-dropdown-menu-item{--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important}/*!@.bg-indigo-light*/.bg-indigo-light.sc-p-dropdown-menu-item{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}/*!@.bg-mystic-dark*/.bg-mystic-dark.sc-p-dropdown-menu-item{background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}/*!@.bg-mystic-dark,.bg-white*/.bg-mystic-dark.sc-p-dropdown-menu-item,.bg-white.sc-p-dropdown-menu-item{--tw-bg-opacity:1!important}/*!@.bg-white*/.bg-white.sc-p-dropdown-menu-item{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}/*!@.bg-center*/.bg-center.sc-p-dropdown-menu-item{background-position:50%!important}/*!@.text-sm*/.text-sm.sc-p-dropdown-menu-item{font-size:.875rem!important;line-height:1.25rem!important}/*!@.font-semibold*/.font-semibold.sc-p-dropdown-menu-item{font-weight:600!important}/*!@.outline-none*/.outline-none.sc-p-dropdown-menu-item{outline:2px solid transparent!important;outline-offset:2px!important}/*!@.transition-transform*/.transition-transform.sc-p-dropdown-menu-item{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}/*!@**/*.sc-p-dropdown-menu-item{box-sizing:border-box}/*!@:host*/.sc-p-dropdown-menu-item-h{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;height:2rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;width:100%}/*!@:host input[type=checkbox].p-input*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item{--tw-bg-opacity:1;--tw-border-opacity:1;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));background-position:50%;background-repeat:no-repeat;background-size:1rem;border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:.25rem;border-style:solid;border-width:1px;height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;width:1.5rem}/*!@:host input[type=checkbox].p-input+label*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item+label.sc-p-dropdown-menu-item{margin-left:.2rem;margin-top:.05rem}/*!@:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}/*!@:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){--tw-border-opacity:1;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23dae6f0' fill-rule='evenodd'/%3E%3C/svg%3E\");border-color:rgb(82 138 250/var(--tw-border-opacity))}/*!@:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[checked],:host input[type=checkbox].p-input[indeterminate]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.indeterminate.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:indeterminate,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[checked].sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[indeterminate].sc-p-dropdown-menu-item{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}/*!@:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input[checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[checked].sc-p-dropdown-menu-item{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}/*!@:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[indeterminate]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.indeterminate.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:indeterminate,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[indeterminate].sc-p-dropdown-menu-item{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h8a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}/*!@:host input[type=checkbox].p-input.disabled,:host input[type=checkbox].p-input:disabled,:host input[type=checkbox].p-input[disabled]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.disabled.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:disabled,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[disabled].sc-p-dropdown-menu-item{opacity:.4}/*!@:host input[type=checkbox].p-input.error,:host input[type=checkbox].p-input[error]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].sc-p-dropdown-menu-item{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-input.error::-moz-placeholder,:host input[type=checkbox].p-input[error]::-moz-placeholder*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.sc-p-dropdown-menu-item::-moz-placeholder,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].sc-p-dropdown-menu-item::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-input.error::placeholder,:host input[type=checkbox].p-input[error]::placeholder*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.sc-p-dropdown-menu-item::placeholder,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].sc-p-dropdown-menu-item::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-input.error.checked,:host input[type=checkbox].p-input.error:checked,:host input[type=checkbox].p-input.error[checked],:host input[type=checkbox].p-input[error].checked,:host input[type=checkbox].p-input[error]:checked,:host input[type=checkbox].p-input[error][checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error[checked].sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error][checked].sc-p-dropdown-menu-item{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}/*!@:host input[type=checkbox].p-input.size-small*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small.sc-p-dropdown-menu-item{height:1rem;width:1rem}/*!@:host input[type=checkbox].p-input.size-small:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23DAE6F0' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}/*!@:host input[type=checkbox].p-input.size-small.checked,:host input[type=checkbox].p-input.size-small:checked,:host input[type=checkbox].p-input.size-small[checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small[checked].sc-p-dropdown-menu-item{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23FFF' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}/*!@:host input[type=checkbox].p-toggle*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item{--tw-bg-opacity:1;--tw-border-opacity:1;align-items:center;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:1.5625rem;border-style:solid;border-width:1px;display:flex;height:1.5rem;justify-content:flex-start;padding:.25rem;width:2.375rem}/*!@:host input[type=checkbox].p-toggle:after*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:after{--tw-translate-x:0px;--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;content:\"\";display:block;height:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.1s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}/*!@:host input[type=checkbox].p-toggle.checked,:host input[type=checkbox].p-toggle:checked,:host input[type=checkbox].p-toggle[checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[checked].sc-p-dropdown-menu-item{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}/*!@:host input[type=checkbox].p-toggle.checked:after,:host input[type=checkbox].p-toggle:checked:after,:host input[type=checkbox].p-toggle[checked]:after*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.checked.sc-p-dropdown-menu-item:after,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:checked:after,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[checked].sc-p-dropdown-menu-item:after{--tw-translate-x:0.75rem;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}/*!@:host input[type=checkbox].p-toggle.disabled,:host input[type=checkbox].p-toggle:disabled,:host input[type=checkbox].p-toggle[disabled]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.disabled.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:disabled,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[disabled].sc-p-dropdown-menu-item{opacity:.4}/*!@:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}/*!@:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked){--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity))}/*!@:host input[type=checkbox].p-toggle.error,:host input[type=checkbox].p-toggle[error]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].sc-p-dropdown-menu-item{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-toggle.error::-moz-placeholder,:host input[type=checkbox].p-toggle[error]::-moz-placeholder*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.sc-p-dropdown-menu-item::-moz-placeholder,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].sc-p-dropdown-menu-item::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-toggle.error::placeholder,:host input[type=checkbox].p-toggle[error]::placeholder*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.sc-p-dropdown-menu-item::placeholder,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].sc-p-dropdown-menu-item::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-toggle.error.checked,:host input[type=checkbox].p-toggle.error:checked,:host input[type=checkbox].p-toggle.error[checked],:host input[type=checkbox].p-toggle[error].checked,:host input[type=checkbox].p-toggle[error]:checked,:host input[type=checkbox].p-toggle[error][checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error[checked].sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error][checked].sc-p-dropdown-menu-item{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}/*!@:host .text-container*/.sc-p-dropdown-menu-item-h .text-container.sc-p-dropdown-menu-item{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}/*!@:host(.hover:hover)*/.hover.sc-p-dropdown-menu-item-h:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(81 83 107/var(--tw-text-opacity))}/*!@:host(.active)*/.active.sc-p-dropdown-menu-item-h{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}/*!@.static*/.static.sc-p-dropdown-menu-item{position:static!important}/*!@.flex-shrink-0*/.flex-shrink-0.sc-p-dropdown-menu-item{flex-shrink:0!important}";
19670
+ const dropdownMenuItemComponentCss = "/*!@.block*/.block.sc-p-dropdown-menu-item{display:block!important}/*!@.flex*/.flex.sc-p-dropdown-menu-item{display:flex!important}/*!@.h-4*/.h-4.sc-p-dropdown-menu-item{height:1rem!important}/*!@.h-6*/.h-6.sc-p-dropdown-menu-item{height:1.5rem!important}/*!@.h-8*/.h-8.sc-p-dropdown-menu-item{height:2rem!important}/*!@.w-4*/.w-4.sc-p-dropdown-menu-item{width:1rem!important}/*!@.w-6*/.w-6.sc-p-dropdown-menu-item{width:1.5rem!important}/*!@.w-\\[2\\.375rem\\]*/.w-\\[2\\.375rem\\].sc-p-dropdown-menu-item{width:2.375rem!important}/*!@.w-full*/.w-full.sc-p-dropdown-menu-item{width:100%!important}/*!@.translate-x-0*/.translate-x-0.sc-p-dropdown-menu-item{--tw-translate-x:0px!important}/*!@.translate-x-0,.translate-x-3*/.translate-x-0.sc-p-dropdown-menu-item,.translate-x-3.sc-p-dropdown-menu-item{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}/*!@.translate-x-3*/.translate-x-3.sc-p-dropdown-menu-item{--tw-translate-x:0.75rem!important}/*!@.transform*/.transform.sc-p-dropdown-menu-item{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}/*!@.appearance-none*/.appearance-none.sc-p-dropdown-menu-item{appearance:none!important}/*!@.items-center*/.items-center.sc-p-dropdown-menu-item{align-items:center!important}/*!@.gap-2*/.gap-2.sc-p-dropdown-menu-item{gap:.5rem!important}/*!@.overflow-hidden*/.overflow-hidden.sc-p-dropdown-menu-item{overflow:hidden!important}/*!@.text-ellipsis*/.text-ellipsis.sc-p-dropdown-menu-item{text-overflow:ellipsis!important}/*!@.whitespace-nowrap*/.whitespace-nowrap.sc-p-dropdown-menu-item{white-space:nowrap!important}/*!@.rounded*/.rounded.sc-p-dropdown-menu-item{border-radius:.25rem!important}/*!@.border*/.border.sc-p-dropdown-menu-item{border-width:1px!important}/*!@.border-solid*/.border-solid.sc-p-dropdown-menu-item{border-style:solid!important}/*!@.border-indigo*/.border-indigo.sc-p-dropdown-menu-item{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}/*!@.border-negative*/.border-negative.sc-p-dropdown-menu-item{--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important}/*!@.bg-indigo-light*/.bg-indigo-light.sc-p-dropdown-menu-item{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}/*!@.bg-mystic-dark*/.bg-mystic-dark.sc-p-dropdown-menu-item{background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}/*!@.bg-mystic-dark,.bg-white*/.bg-mystic-dark.sc-p-dropdown-menu-item,.bg-white.sc-p-dropdown-menu-item{--tw-bg-opacity:1!important}/*!@.bg-white*/.bg-white.sc-p-dropdown-menu-item{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}/*!@.bg-center*/.bg-center.sc-p-dropdown-menu-item{background-position:50%!important}/*!@.text-sm*/.text-sm.sc-p-dropdown-menu-item{font-size:.875rem!important;line-height:1.25rem!important}/*!@.font-semibold*/.font-semibold.sc-p-dropdown-menu-item{font-weight:600!important}/*!@.outline-none*/.outline-none.sc-p-dropdown-menu-item{outline:2px solid transparent!important;outline-offset:2px!important}/*!@.transition-transform*/.transition-transform.sc-p-dropdown-menu-item{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}/*!@**/*.sc-p-dropdown-menu-item{box-sizing:border-box}/*!@:host*/.sc-p-dropdown-menu-item-h{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;height:2rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;width:100%}/*!@:host input[type=checkbox].p-input*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item{--tw-bg-opacity:1;--tw-border-opacity:1;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));background-position:50%;background-repeat:no-repeat;background-size:1rem;border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:.25rem;border-style:solid;border-width:1px;height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;width:1.5rem}/*!@:host input[type=checkbox].p-input+label*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item+label.sc-p-dropdown-menu-item{margin-left:.2rem;margin-top:.05rem}/*!@:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}/*!@:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){--tw-border-opacity:1;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23dae6f0' fill-rule='evenodd'/%3E%3C/svg%3E\");border-color:rgb(82 138 250/var(--tw-border-opacity))}/*!@:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[checked],:host input[type=checkbox].p-input[indeterminate]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.indeterminate.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:indeterminate,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[checked].sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[indeterminate].sc-p-dropdown-menu-item{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}/*!@:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input[checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[checked].sc-p-dropdown-menu-item{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}/*!@:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[indeterminate]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.indeterminate.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:indeterminate,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[indeterminate].sc-p-dropdown-menu-item{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h8a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}/*!@:host input[type=checkbox].p-input.disabled,:host input[type=checkbox].p-input:disabled,:host input[type=checkbox].p-input[disabled]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.disabled.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.sc-p-dropdown-menu-item:disabled,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[disabled].sc-p-dropdown-menu-item{opacity:.4}/*!@:host input[type=checkbox].p-input.error,:host input[type=checkbox].p-input[error]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].sc-p-dropdown-menu-item{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-input.error::-moz-placeholder,:host input[type=checkbox].p-input[error]::-moz-placeholder*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.sc-p-dropdown-menu-item::-moz-placeholder,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].sc-p-dropdown-menu-item::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-input.error::placeholder,:host input[type=checkbox].p-input[error]::placeholder*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.sc-p-dropdown-menu-item::placeholder,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].sc-p-dropdown-menu-item::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-input.error.checked,:host input[type=checkbox].p-input.error:checked,:host input[type=checkbox].p-input.error[checked],:host input[type=checkbox].p-input[error].checked,:host input[type=checkbox].p-input[error]:checked,:host input[type=checkbox].p-input[error][checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.error[checked].sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error].sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input[error][checked].sc-p-dropdown-menu-item{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}/*!@:host input[type=checkbox].p-input.size-small*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small.sc-p-dropdown-menu-item{height:1rem;width:1rem}/*!@:host input[type=checkbox].p-input.size-small:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23DAE6F0' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}/*!@:host input[type=checkbox].p-input.size-small.checked,:host input[type=checkbox].p-input.size-small:checked,:host input[type=checkbox].p-input.size-small[checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-input.size-small[checked].sc-p-dropdown-menu-item{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23FFF' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}/*!@:host input[type=checkbox].p-toggle*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item{--tw-bg-opacity:1;--tw-border-opacity:1;align-items:center;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:1.5625rem;border-style:solid;border-width:1px;display:flex;height:1.5rem;justify-content:flex-start;padding:.25rem;width:2.375rem}/*!@:host input[type=checkbox].p-toggle:after*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:after{--tw-translate-x:0px;--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;content:\"\";display:block;height:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.1s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}/*!@:host input[type=checkbox].p-toggle.checked,:host input[type=checkbox].p-toggle:checked,:host input[type=checkbox].p-toggle[checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[checked].sc-p-dropdown-menu-item{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}/*!@:host input[type=checkbox].p-toggle.checked:after,:host input[type=checkbox].p-toggle:checked:after,:host input[type=checkbox].p-toggle[checked]:after*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.checked.sc-p-dropdown-menu-item:after,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:checked:after,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[checked].sc-p-dropdown-menu-item:after{--tw-translate-x:0.75rem;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}/*!@:host input[type=checkbox].p-toggle.disabled,:host input[type=checkbox].p-toggle:disabled,:host input[type=checkbox].p-toggle[disabled]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.disabled.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:disabled,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[disabled].sc-p-dropdown-menu-item{opacity:.4}/*!@:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}/*!@:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked)*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.sc-p-dropdown-menu-item:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked){--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity))}/*!@:host input[type=checkbox].p-toggle.error,:host input[type=checkbox].p-toggle[error]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].sc-p-dropdown-menu-item{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-toggle.error::-moz-placeholder,:host input[type=checkbox].p-toggle[error]::-moz-placeholder*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.sc-p-dropdown-menu-item::-moz-placeholder,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].sc-p-dropdown-menu-item::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-toggle.error::placeholder,:host input[type=checkbox].p-toggle[error]::placeholder*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.sc-p-dropdown-menu-item::placeholder,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].sc-p-dropdown-menu-item::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}/*!@:host input[type=checkbox].p-toggle.error.checked,:host input[type=checkbox].p-toggle.error:checked,:host input[type=checkbox].p-toggle.error[checked],:host input[type=checkbox].p-toggle[error].checked,:host input[type=checkbox].p-toggle[error]:checked,:host input[type=checkbox].p-toggle[error][checked]*/.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error.sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle.error[checked].sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].checked.sc-p-dropdown-menu-item,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error].sc-p-dropdown-menu-item:checked,.sc-p-dropdown-menu-item-h input[type=checkbox].p-toggle[error][checked].sc-p-dropdown-menu-item{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}/*!@:host .text-container*/.sc-p-dropdown-menu-item-h .text-container.sc-p-dropdown-menu-item{display:block;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;width:100%}/*!@:host(.hover:hover)*/.hover.sc-p-dropdown-menu-item-h:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(81 83 107/var(--tw-text-opacity))}/*!@:host(.active)*/.active.sc-p-dropdown-menu-item-h{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}/*!@.static*/.static.sc-p-dropdown-menu-item{position:static!important}/*!@.flex-shrink-0*/.flex-shrink-0.sc-p-dropdown-menu-item{flex-shrink:0!important}";
19671
19671
 
19672
19672
  class DropdownMenuItem {
19673
19673
  constructor(hostRef) {
@@ -21187,7 +21187,7 @@ class Select {
21187
21187
  return items;
21188
21188
  }
21189
21189
  _getAutoCompleteItem() {
21190
- return (hAsync("div", { class: "bg-white sticky top-0 pt-2 -mt-2" }, hAsync("input", { class: "p-input size-small mb-2 sticky top-2", placeholder: this.autocompletePlaceholder, onInput: (ev) => this._onAutoComplete(ev), ref: (ref) => (this.autocompleteInputRef = ref) })));
21190
+ return (hAsync("div", { class: "bg-white sticky top-0 pt-2 -mt-2" }, hAsync("input", { class: "p-input size-small mb-2 sticky top-2", placeholder: this.autocompletePlaceholder, onInput: (ev) => this._onAutoComplete(ev), ref: (ref) => (this.autocompleteInputRef = ref), value: this.query })));
21191
21191
  }
21192
21192
  _setMultiContainerMaxWidth() {
21193
21193
  if (!this._inputRef || !this._multiContainerRef) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "1.36.0",
3
+ "version": "1.36.2",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,h as o,H as r,g as i}from"./p-e4d5e7a7.js";import{a,c as p,o as n,f as s,s as c}from"./p-fef32402.js";import{c as h}from"./p-4d330cfc.js";const l=".fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-0{left:0!important}.top-0{top:0!important}.z-dropdown{z-index:200!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.h-auto{height:auto!important}*{box-sizing:border-box}:host{display:block;position:relative}:host .trigger{display:block;height:auto;position:relative;width:auto}:host p-dropdown-menu-container{display:none;left:0;top:0;z-index:200}:host p-dropdown-menu-container[data-show]{display:flex}:host p-dropdown-menu-container[data-strategy=absolute]{position:absolute}:host p-dropdown-menu-container[data-strategy=fixed]{position:fixed}.visible{visibility:visible!important}.static{position:static!important}";const d=class{constructor(o){t(this,o);this.isOpen=e(this,"isOpen",3);this._loaded=false;this.placement="bottom-start";this.strategy="absolute";this.show=false;this.calculateWidth=false;this.applyMaxWidth=true;this.applyFullWidth=true;this.scrollable=false;this.insideClick=false;this.disableTriggerClick=false;this.applyChevron=true;this.chevronPosition="end";this.chevronDirection=undefined}componentShouldUpdate(){this._update()}disconnectedCallback(){if(this._cleanup){this._cleanup();this._cleanup=null}}render(){return o(r,{class:"p-dropdown"},o("div",{class:"trigger",ref:t=>this._trigger=t,onClick:()=>this._triggerClickHandler()},o("slot",{onSlotchange:t=>this._checkButton(t),name:"trigger"})),o("p-dropdown-menu-container",{role:"popover",maxWidth:!this.calculateWidth&&this.applyMaxWidth,fullWidth:this.applyFullWidth&&!this.applyMaxWidth,ref:t=>this._load(t),"data-placement":this.placement,"data-strategy":this.strategy,onClick:()=>this._containerClickHandler(),scrollable:this.scrollable},o("slot",{name:"items"})))}_checkButton({target:t}){if(!this.applyChevron){return}const e=t;const o=e.assignedElements();for(let t of o){if(t.nodeName==="P-BUTTON"){t.chevronPosition=this.chevronPosition;t.chevron=this.chevronDirection?this.chevronDirection:this.placement.indexOf("top")>=0?"up":"down"}}}onShowChange(t){if(!this._loaded){return}if(!t){this._hide();return}this._show()}documentClickHandler({target:t}){if(!this._menu.hasAttribute("data-show")||h(t,this._el)){return}this._hide()}_containerClickHandler(){if(this.insideClick){return}if(this._menu.hasAttribute("data-show")){this._hide()}}_triggerClickHandler(){if(this.disableTriggerClick){return}if(this._menu.hasAttribute("data-show")){this._hide();return}this._show()}_load(t){this._menu=t;if(t){this._update();this._loaded=true;if(this.show){setTimeout((()=>this._show()),100)}}}_show(){if(!this._loaded){return}if(this.calculateWidth){this._menu.style.width=`${this._trigger.clientWidth}px`}this._cleanup=a(this._el,this._menu,(()=>this._update()));this._menu.setAttribute("data-show","");this.isOpen.emit(true)}_hide(){if(!this._loaded||this.show){return}if(this._cleanup){this._cleanup();this._cleanup=null}this._menu.removeAttribute("data-show");this.isOpen.emit(false)}_update(){if(!this._menu){return}p(this._el,this._menu,{placement:this.placement,strategy:this.strategy,middleware:[n(8),s(),c()]}).then((({x:t,y:e,placement:o})=>{this._menu.dataset.placement=o;Object.assign(this._menu.style,{top:`${e}px`,left:`${t}px`})}))}get _el(){return i(this)}static get watchers(){return{show:["onShowChange"]}}};d.style=l;const b=".block{display:block!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.w-\\[2\\.375rem\\]{width:2.375rem!important}.w-full{width:100%!important}.translate-x-0{--tw-translate-x:0px!important}.translate-x-0,.translate-x-3{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-x-3{--tw-translate-x:0.75rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-negative{--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important}.bg-indigo-light{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}.bg-mystic-dark{background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}.bg-mystic-dark,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-center{background-position:50%!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;height:2rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;width:100%}:host input[type=checkbox].p-input{--tw-bg-opacity:1;--tw-border-opacity:1;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));background-position:50%;background-repeat:no-repeat;background-size:1rem;border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:.25rem;border-style:solid;border-width:1px;height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;width:1.5rem}:host input[type=checkbox].p-input+label{margin-left:.2rem;margin-top:.05rem}:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){--tw-border-opacity:1;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23dae6f0' fill-rule='evenodd'/%3E%3C/svg%3E\");border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[checked],:host input[type=checkbox].p-input[indeterminate]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input[checked]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[indeterminate]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h8a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.disabled,:host input[type=checkbox].p-input:disabled,:host input[type=checkbox].p-input[disabled]{opacity:.4}:host input[type=checkbox].p-input.error,:host input[type=checkbox].p-input[error]{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error::-moz-placeholder,:host input[type=checkbox].p-input[error]::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error::placeholder,:host input[type=checkbox].p-input[error]::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error.checked,:host input[type=checkbox].p-input.error:checked,:host input[type=checkbox].p-input.error[checked],:host input[type=checkbox].p-input[error].checked,:host input[type=checkbox].p-input[error]:checked,:host input[type=checkbox].p-input[error][checked]{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host input[type=checkbox].p-input.size-small{height:1rem;width:1rem}:host input[type=checkbox].p-input.size-small:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23DAE6F0' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.size-small.checked,:host input[type=checkbox].p-input.size-small:checked,:host input[type=checkbox].p-input.size-small[checked]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23FFF' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}:host input[type=checkbox].p-toggle{--tw-bg-opacity:1;--tw-border-opacity:1;align-items:center;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:1.5625rem;border-style:solid;border-width:1px;display:flex;height:1.5rem;justify-content:flex-start;padding:.25rem;width:2.375rem}:host input[type=checkbox].p-toggle:after{--tw-translate-x:0px;--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;content:\"\";display:block;height:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.1s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host input[type=checkbox].p-toggle.checked,:host input[type=checkbox].p-toggle:checked,:host input[type=checkbox].p-toggle[checked]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-toggle.checked:after,:host input[type=checkbox].p-toggle:checked:after,:host input[type=checkbox].p-toggle[checked]:after{--tw-translate-x:0.75rem;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host input[type=checkbox].p-toggle.disabled,:host input[type=checkbox].p-toggle:disabled,:host input[type=checkbox].p-toggle[disabled]{opacity:.4}:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked){--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-toggle.error,:host input[type=checkbox].p-toggle[error]{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error::-moz-placeholder,:host input[type=checkbox].p-toggle[error]::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error::placeholder,:host input[type=checkbox].p-toggle[error]::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error.checked,:host input[type=checkbox].p-toggle.error:checked,:host input[type=checkbox].p-toggle.error[checked],:host input[type=checkbox].p-toggle[error].checked,:host input[type=checkbox].p-toggle[error]:checked,:host input[type=checkbox].p-toggle[error][checked]{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host .text-container{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}:host(.hover:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.flex-shrink-0{flex-shrink:0!important}";const g=class{constructor(e){t(this,e);this.active=false;this.variant="default";this.enableHover=true;this.icon=undefined}render(){return o(r,{class:`p-dropdown-menu-item ${this.active&&"active"} ${this.enableHover&&"hover"}`},this.icon&&o("p-icon",{variant:this.icon}),this.variant==="checkbox"&&o("input",{type:"checkbox",class:"p-input size-small flex-shrink-0",checked:this.active}),o("div",{class:"text-container"},o("slot",null)))}};g.style=b;export{d as p_dropdown,g as p_dropdown_menu_item};
2
- //# sourceMappingURL=p-6cbe8dc8.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,h as o,H as r,g as i}from"./p-e4d5e7a7.js";import{a,c as p,o as n,f as s,s as c}from"./p-fef32402.js";import{c as h}from"./p-4d330cfc.js";const l=".fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-0{left:0!important}.top-0{top:0!important}.z-dropdown{z-index:200!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.h-auto{height:auto!important}*{box-sizing:border-box}:host{display:block;position:relative}:host .trigger{display:block;height:auto;position:relative;width:auto}:host p-dropdown-menu-container{display:none;left:0;top:0;z-index:200}:host p-dropdown-menu-container[data-show]{display:flex}:host p-dropdown-menu-container[data-strategy=absolute]{position:absolute}:host p-dropdown-menu-container[data-strategy=fixed]{position:fixed}.visible{visibility:visible!important}.static{position:static!important}";const d=class{constructor(o){t(this,o);this.isOpen=e(this,"isOpen",3);this._loaded=false;this.placement="bottom-start";this.strategy="absolute";this.show=false;this.calculateWidth=false;this.applyMaxWidth=true;this.applyFullWidth=true;this.scrollable=false;this.insideClick=false;this.disableTriggerClick=false;this.applyChevron=true;this.chevronPosition="end";this.chevronDirection=undefined}componentShouldUpdate(){this._update()}disconnectedCallback(){if(this._cleanup){this._cleanup();this._cleanup=null}}render(){return o(r,{class:"p-dropdown"},o("div",{class:"trigger",ref:t=>this._trigger=t,onClick:()=>this._triggerClickHandler()},o("slot",{onSlotchange:t=>this._checkButton(t),name:"trigger"})),o("p-dropdown-menu-container",{role:"popover",maxWidth:!this.calculateWidth&&this.applyMaxWidth,fullWidth:this.applyFullWidth&&!this.applyMaxWidth,ref:t=>this._load(t),"data-placement":this.placement,"data-strategy":this.strategy,onClick:()=>this._containerClickHandler(),scrollable:this.scrollable},o("slot",{name:"items"})))}_checkButton({target:t}){if(!this.applyChevron){return}const e=t;const o=e.assignedElements();for(let t of o){if(t.nodeName==="P-BUTTON"){t.chevronPosition=this.chevronPosition;t.chevron=this.chevronDirection?this.chevronDirection:this.placement.indexOf("top")>=0?"up":"down"}}}onShowChange(t){if(!this._loaded){return}if(!t){this._hide();return}this._show()}documentClickHandler({target:t}){if(!this._menu.hasAttribute("data-show")||h(t,this._el)){return}this._hide()}_containerClickHandler(){if(this.insideClick){return}if(this._menu.hasAttribute("data-show")){this._hide()}}_triggerClickHandler(){if(this.disableTriggerClick){return}if(this._menu.hasAttribute("data-show")){this._hide();return}this._show()}_load(t){this._menu=t;if(t){this._update();this._loaded=true;if(this.show){setTimeout((()=>this._show()),100)}}}_show(){if(!this._loaded){return}if(this.calculateWidth){this._menu.style.width=`${this._trigger.clientWidth}px`}this._cleanup=a(this._el,this._menu,(()=>this._update()));this._menu.setAttribute("data-show","");this.isOpen.emit(true)}_hide(){if(!this._loaded||this.show){return}if(this._cleanup){this._cleanup();this._cleanup=null}this._menu.removeAttribute("data-show");this.isOpen.emit(false)}_update(){if(!this._menu){return}p(this._el,this._menu,{placement:this.placement,strategy:this.strategy,middleware:[n(8),s(),c()]}).then((({x:t,y:e,placement:o})=>{this._menu.dataset.placement=o;Object.assign(this._menu.style,{top:`${e}px`,left:`${t}px`})}))}get _el(){return i(this)}static get watchers(){return{show:["onShowChange"]}}};d.style=l;const b=".block{display:block!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.w-\\[2\\.375rem\\]{width:2.375rem!important}.w-full{width:100%!important}.translate-x-0{--tw-translate-x:0px!important}.translate-x-0,.translate-x-3{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-x-3{--tw-translate-x:0.75rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-negative{--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important}.bg-indigo-light{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}.bg-mystic-dark{background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}.bg-mystic-dark,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-center{background-position:50%!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;height:2rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;width:100%}:host input[type=checkbox].p-input{--tw-bg-opacity:1;--tw-border-opacity:1;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));background-position:50%;background-repeat:no-repeat;background-size:1rem;border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:.25rem;border-style:solid;border-width:1px;height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;width:1.5rem}:host input[type=checkbox].p-input+label{margin-left:.2rem;margin-top:.05rem}:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){--tw-border-opacity:1;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23dae6f0' fill-rule='evenodd'/%3E%3C/svg%3E\");border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[checked],:host input[type=checkbox].p-input[indeterminate]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input[checked]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[indeterminate]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h8a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.disabled,:host input[type=checkbox].p-input:disabled,:host input[type=checkbox].p-input[disabled]{opacity:.4}:host input[type=checkbox].p-input.error,:host input[type=checkbox].p-input[error]{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error::-moz-placeholder,:host input[type=checkbox].p-input[error]::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error::placeholder,:host input[type=checkbox].p-input[error]::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error.checked,:host input[type=checkbox].p-input.error:checked,:host input[type=checkbox].p-input.error[checked],:host input[type=checkbox].p-input[error].checked,:host input[type=checkbox].p-input[error]:checked,:host input[type=checkbox].p-input[error][checked]{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host input[type=checkbox].p-input.size-small{height:1rem;width:1rem}:host input[type=checkbox].p-input.size-small:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23DAE6F0' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.size-small.checked,:host input[type=checkbox].p-input.size-small:checked,:host input[type=checkbox].p-input.size-small[checked]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23FFF' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}:host input[type=checkbox].p-toggle{--tw-bg-opacity:1;--tw-border-opacity:1;align-items:center;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:1.5625rem;border-style:solid;border-width:1px;display:flex;height:1.5rem;justify-content:flex-start;padding:.25rem;width:2.375rem}:host input[type=checkbox].p-toggle:after{--tw-translate-x:0px;--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;content:\"\";display:block;height:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.1s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host input[type=checkbox].p-toggle.checked,:host input[type=checkbox].p-toggle:checked,:host input[type=checkbox].p-toggle[checked]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-toggle.checked:after,:host input[type=checkbox].p-toggle:checked:after,:host input[type=checkbox].p-toggle[checked]:after{--tw-translate-x:0.75rem;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host input[type=checkbox].p-toggle.disabled,:host input[type=checkbox].p-toggle:disabled,:host input[type=checkbox].p-toggle[disabled]{opacity:.4}:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked){--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-toggle.error,:host input[type=checkbox].p-toggle[error]{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error::-moz-placeholder,:host input[type=checkbox].p-toggle[error]::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error::placeholder,:host input[type=checkbox].p-toggle[error]::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error.checked,:host input[type=checkbox].p-toggle.error:checked,:host input[type=checkbox].p-toggle.error[checked],:host input[type=checkbox].p-toggle[error].checked,:host input[type=checkbox].p-toggle[error]:checked,:host input[type=checkbox].p-toggle[error][checked]{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host .text-container{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}:host(.hover:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.flex-shrink-0{flex-shrink:0!important}";const g=class{constructor(e){t(this,e);this.active=false;this.variant="default";this.enableHover=true;this.icon=undefined}render(){return o(r,{class:`p-dropdown-menu-item ${this.active&&"active"} ${this.enableHover&&"hover"}`},this.icon&&o("p-icon",{variant:this.icon}),this.variant==="checkbox"&&o("input",{type:"checkbox",class:"p-input size-small flex-shrink-0",checked:this.active}),o("div",{class:"text-container"},o("slot",null)))}};g.style=b;export{d as p_dropdown,g as p_dropdown_menu_item};
2
- //# sourceMappingURL=p-6cbe8dc8.entry.js.map