@paperless/core 2.0.1-beta.13 → 2.0.1-beta.14
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.
- package/CHANGELOG.md +65 -0
- package/dist/build/{p-60492c98.entry.js → p-04f2c445.entry.js} +2 -2
- package/dist/build/{p-2f9e9197.entry.js → p-0b5a9b3b.entry.js} +2 -2
- package/dist/{paperless/p-dce95c92.entry.js → build/p-0fb58b95.entry.js} +2 -2
- package/dist/{paperless/p-64b53130.entry.js → build/p-12f5d6c1.entry.js} +2 -2
- package/dist/build/{p-5ab354bf.entry.js → p-14f3312f.entry.js} +2 -2
- package/dist/build/{p-d81a30f6.entry.js → p-15abe9ab.entry.js} +2 -2
- package/dist/build/{p-b8e718c7.entry.js → p-1926e607.entry.js} +2 -2
- package/dist/{paperless/p-385943b2.entry.js → build/p-195ede81.entry.js} +2 -2
- package/dist/build/{p-32056913.entry.js → p-198b4653.entry.js} +2 -2
- package/dist/build/{p-221dbb71.entry.js → p-1c97ddaa.entry.js} +2 -2
- package/dist/build/{p-bc46f89a.entry.js → p-285babdd.entry.js} +2 -2
- package/dist/build/{p-b9a7e240.entry.js → p-28fee2e1.entry.js} +2 -2
- package/dist/build/{p-dd6d3839.entry.js → p-2bedd43c.entry.js} +2 -2
- package/dist/build/{p-5e789bb1.entry.js → p-36d0d0e6.entry.js} +2 -2
- package/dist/build/{p-e10cf2d3.entry.js → p-3885d19b.entry.js} +2 -2
- package/dist/build/{p-bfbab545.entry.js → p-3b9d77dc.entry.js} +2 -2
- package/dist/build/{p-7a577384.entry.js → p-3dba9a43.entry.js} +2 -2
- package/dist/build/{p-c6bcbcbf.entry.js → p-43cdfda1.entry.js} +2 -2
- package/dist/build/{p-fcaa0539.entry.js → p-4c3cdddf.entry.js} +2 -2
- package/dist/{paperless/p-6fed974c.entry.js → build/p-51b3884b.entry.js} +2 -2
- package/dist/build/{p-ea3bce45.entry.js → p-55752ba9.entry.js} +2 -2
- package/dist/build/p-57fd5974.entry.js +2 -0
- package/dist/build/p-57fd5974.entry.js.map +1 -0
- package/dist/build/{p-6f7721eb.entry.js → p-5a072ae3.entry.js} +2 -2
- package/dist/build/{p-3d867690.entry.js → p-5a7c004d.entry.js} +2 -2
- package/dist/build/{p-3e9d994a.entry.js → p-5afd99f1.entry.js} +2 -2
- package/dist/build/{p-16a18649.entry.js → p-5df485b9.entry.js} +2 -2
- package/dist/build/{p-9fa5d08a.entry.js → p-648c33b9.entry.js} +2 -2
- package/dist/build/{p-047c1c6f.entry.js → p-6521a730.entry.js} +2 -2
- package/dist/{paperless/p-909879e3.entry.js → build/p-6d6bb913.entry.js} +2 -2
- package/dist/build/{p-45463125.entry.js → p-75330470.entry.js} +2 -2
- package/dist/{paperless/p-a7b8e22f.entry.js → build/p-7eb4689d.entry.js} +2 -2
- package/dist/{paperless/p-7beb3401.entry.js → build/p-82c79faa.entry.js} +2 -2
- package/dist/build/p-88f72088.entry.js +2 -0
- package/dist/build/p-88f72088.entry.js.map +1 -0
- package/dist/build/{p-6e71ebca.entry.js → p-9d112705.entry.js} +2 -2
- package/dist/build/{p-937b2d74.entry.js → p-a26e1c6d.entry.js} +2 -2
- package/dist/build/p-a3853fc7.js +3 -0
- package/dist/build/p-a3853fc7.js.map +1 -0
- package/dist/build/{p-be0c925e.entry.js → p-a5995873.entry.js} +2 -2
- package/dist/{paperless/p-cb8a454c.entry.js → build/p-aa4ebfcd.entry.js} +2 -2
- package/dist/build/{p-a587ff9f.entry.js → p-b18ef00d.entry.js} +2 -2
- package/dist/build/{p-190704d1.entry.js → p-b7a45a0a.entry.js} +2 -2
- package/dist/build/p-b7a45a0a.entry.js.map +1 -0
- package/dist/build/{p-393eba2f.entry.js → p-b9cdcb32.entry.js} +2 -2
- package/dist/{paperless/p-aab1cda1.entry.js → build/p-b9e42e93.entry.js} +2 -2
- package/dist/build/{p-851a7662.entry.js → p-bf9965ea.entry.js} +2 -2
- package/dist/build/p-bf9965ea.entry.js.map +1 -0
- package/dist/build/{p-013cd7f9.entry.js → p-cada312c.entry.js} +2 -2
- package/dist/{paperless/p-f78afad9.entry.js → build/p-d8498647.entry.js} +2 -2
- package/dist/build/p-d8498647.entry.js.map +1 -0
- package/dist/{paperless/p-0348e450.entry.js → build/p-dc9bf641.entry.js} +2 -2
- package/dist/build/{p-aa058967.entry.js → p-e18e29aa.entry.js} +2 -2
- package/dist/build/{p-ece8998b.entry.js → p-e4ab1d73.entry.js} +2 -2
- package/dist/build/{p-08ea38ad.entry.js → p-e74bd898.entry.js} +2 -2
- package/dist/build/{p-23ca3688.entry.js → p-e78945ad.entry.js} +2 -2
- package/dist/build/{p-cb7c509e.entry.js → p-ea329388.entry.js} +2 -2
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/{index-02e05522.js → index-6d3f569b.js} +79 -6
- package/dist/cjs/{index-02e05522.js.map → index-6d3f569b.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/p-accordion.cjs.entry.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/p-badge.cjs.entry.js +1 -1
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +1 -1
- package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
- package/dist/cjs/p-counter.cjs.entry.js +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +1 -1
- package/dist/cjs/p-drawer.cjs.entry.js +1 -1
- package/dist/cjs/{p-dropdown-menu-container.cjs.entry.js → p-dropdown-menu-container_2.cjs.entry.js} +24 -2
- package/dist/cjs/p-dropdown-menu-container_2.cjs.entry.js.map +1 -0
- package/dist/cjs/p-dropdown_2.cjs.entry.js +36 -12
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +1 -1
- package/dist/cjs/p-helper_3.cjs.entry.js +15 -16
- package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
- package/dist/cjs/p-icon-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
- package/dist/cjs/p-label_3.cjs.entry.js +1 -1
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-select.cjs.entry.js.map +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
- package/dist/cjs/p-status.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table-column.cjs.entry.js +1 -1
- package/dist/cjs/p-table-row-action.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/portal/portal.component.js +43 -0
- package/dist/collection/components/atoms/portal/portal.component.js.map +1 -0
- package/dist/collection/components/atoms/portal/test/portal.component.e2e.js +26 -0
- package/dist/collection/components/atoms/portal/test/portal.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/portal/test/portal.component.spec.js +17 -0
- package/dist/collection/components/atoms/portal/test/portal.component.spec.js.map +1 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +52 -10
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.js +15 -16
- package/dist/collection/components/molecules/input-group/input-group.component.js.map +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
- package/dist/collection/components/molecules/select/select.component.js.map +1 -1
- package/dist/components/dropdown.component.js +44 -13
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/input-group.component.js +14 -15
- package/dist/components/input-group.component.js.map +1 -1
- package/dist/components/p-datepicker.js +20 -14
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-portal.d.ts +11 -0
- package/dist/components/p-portal.js +8 -0
- package/dist/components/p-portal.js.map +1 -0
- package/dist/components/p-profile.js +16 -10
- package/dist/components/p-profile.js.map +1 -1
- package/dist/components/p-select.js +24 -18
- package/dist/components/p-select.js.map +1 -1
- package/dist/components/p-table.js +40 -34
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/page-size-select.component.js +18 -12
- package/dist/components/page-size-select.component.js.map +1 -1
- package/dist/components/portal.component.js +42 -0
- package/dist/components/portal.component.js.map +1 -0
- package/dist/components/table-footer.component.js +24 -18
- package/dist/components/table-footer.component.js.map +1 -1
- package/dist/esm/{index-f99096d4.js → index-7f8d27cf.js} +79 -6
- package/dist/esm/{index-f99096d4.js.map → index-7f8d27cf.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +1 -1
- package/dist/esm/p-attachment.entry.js +1 -1
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +1 -1
- package/dist/esm/p-badge.entry.js +1 -1
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +1 -1
- package/dist/esm/p-card-header.entry.js +1 -1
- package/dist/esm/p-content-slider.entry.js +1 -1
- package/dist/esm/p-counter.entry.js +1 -1
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +1 -1
- package/dist/esm/p-divider.entry.js +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +1 -1
- package/dist/esm/p-drawer.entry.js +1 -1
- package/dist/esm/{p-dropdown-menu-container.entry.js → p-dropdown-menu-container_2.entry.js} +24 -3
- package/dist/esm/p-dropdown-menu-container_2.entry.js.map +1 -0
- package/dist/esm/p-dropdown_2.entry.js +36 -12
- package/dist/esm/p-dropdown_2.entry.js.map +1 -1
- package/dist/esm/p-floating-menu-container_8.entry.js +1 -1
- package/dist/esm/p-helper_3.entry.js +15 -16
- package/dist/esm/p-helper_3.entry.js.map +1 -1
- package/dist/esm/p-iban-icon.entry.js +1 -1
- package/dist/esm/p-icon-deprecated.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +1 -1
- package/dist/esm/p-label_3.entry.js +1 -1
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +1 -1
- package/dist/esm/p-modal.entry.js +1 -1
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +1 -1
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-page-size-select_3.entry.js +1 -1
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-profile.entry.js.map +1 -1
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-select.entry.js.map +1 -1
- package/dist/esm/p-slider-indicator.entry.js +1 -1
- package/dist/esm/p-status.entry.js +1 -1
- package/dist/esm/p-stepper-item.entry.js +1 -1
- package/dist/esm/p-stepper-line.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-group.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table-column.entry.js +1 -1
- package/dist/esm/p-table-row-action.entry.js +1 -1
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-tooltip.entry.js +1 -1
- package/dist/esm/paperless.js +3 -3
- package/dist/index.html +1 -1
- package/dist/paperless/{p-60492c98.entry.js → p-04f2c445.entry.js} +2 -2
- package/dist/paperless/{p-2f9e9197.entry.js → p-0b5a9b3b.entry.js} +2 -2
- package/dist/{build/p-dce95c92.entry.js → paperless/p-0fb58b95.entry.js} +2 -2
- package/dist/{build/p-64b53130.entry.js → paperless/p-12f5d6c1.entry.js} +2 -2
- package/dist/paperless/{p-5ab354bf.entry.js → p-14f3312f.entry.js} +2 -2
- package/dist/paperless/{p-d81a30f6.entry.js → p-15abe9ab.entry.js} +2 -2
- package/dist/paperless/{p-b8e718c7.entry.js → p-1926e607.entry.js} +2 -2
- package/dist/{build/p-385943b2.entry.js → paperless/p-195ede81.entry.js} +2 -2
- package/dist/paperless/{p-32056913.entry.js → p-198b4653.entry.js} +2 -2
- package/dist/paperless/{p-221dbb71.entry.js → p-1c97ddaa.entry.js} +2 -2
- package/dist/paperless/{p-bc46f89a.entry.js → p-285babdd.entry.js} +2 -2
- package/dist/paperless/{p-b9a7e240.entry.js → p-28fee2e1.entry.js} +2 -2
- package/dist/paperless/{p-dd6d3839.entry.js → p-2bedd43c.entry.js} +2 -2
- package/dist/paperless/{p-5e789bb1.entry.js → p-36d0d0e6.entry.js} +2 -2
- package/dist/paperless/{p-e10cf2d3.entry.js → p-3885d19b.entry.js} +2 -2
- package/dist/paperless/{p-bfbab545.entry.js → p-3b9d77dc.entry.js} +2 -2
- package/dist/paperless/{p-7a577384.entry.js → p-3dba9a43.entry.js} +2 -2
- package/dist/paperless/{p-c6bcbcbf.entry.js → p-43cdfda1.entry.js} +2 -2
- package/dist/paperless/{p-fcaa0539.entry.js → p-4c3cdddf.entry.js} +2 -2
- package/dist/{build/p-6fed974c.entry.js → paperless/p-51b3884b.entry.js} +2 -2
- package/dist/paperless/{p-ea3bce45.entry.js → p-55752ba9.entry.js} +2 -2
- package/dist/paperless/p-57fd5974.entry.js +2 -0
- package/dist/paperless/p-57fd5974.entry.js.map +1 -0
- package/dist/paperless/{p-6f7721eb.entry.js → p-5a072ae3.entry.js} +2 -2
- package/dist/paperless/{p-3d867690.entry.js → p-5a7c004d.entry.js} +2 -2
- package/dist/paperless/{p-3e9d994a.entry.js → p-5afd99f1.entry.js} +2 -2
- package/dist/paperless/{p-16a18649.entry.js → p-5df485b9.entry.js} +2 -2
- package/dist/paperless/{p-9fa5d08a.entry.js → p-648c33b9.entry.js} +2 -2
- package/dist/paperless/{p-047c1c6f.entry.js → p-6521a730.entry.js} +2 -2
- package/dist/{build/p-909879e3.entry.js → paperless/p-6d6bb913.entry.js} +2 -2
- package/dist/paperless/{p-45463125.entry.js → p-75330470.entry.js} +2 -2
- package/dist/{build/p-a7b8e22f.entry.js → paperless/p-7eb4689d.entry.js} +2 -2
- package/dist/{build/p-7beb3401.entry.js → paperless/p-82c79faa.entry.js} +2 -2
- package/dist/paperless/p-88f72088.entry.js +2 -0
- package/dist/paperless/p-88f72088.entry.js.map +1 -0
- package/dist/paperless/{p-6e71ebca.entry.js → p-9d112705.entry.js} +2 -2
- package/dist/paperless/{p-937b2d74.entry.js → p-a26e1c6d.entry.js} +2 -2
- package/dist/paperless/p-a3853fc7.js +3 -0
- package/dist/paperless/p-a3853fc7.js.map +1 -0
- package/dist/paperless/{p-be0c925e.entry.js → p-a5995873.entry.js} +2 -2
- package/dist/{build/p-cb8a454c.entry.js → paperless/p-aa4ebfcd.entry.js} +2 -2
- package/dist/paperless/{p-a587ff9f.entry.js → p-b18ef00d.entry.js} +2 -2
- package/dist/paperless/{p-190704d1.entry.js → p-b7a45a0a.entry.js} +2 -2
- package/dist/paperless/p-b7a45a0a.entry.js.map +1 -0
- package/dist/paperless/{p-393eba2f.entry.js → p-b9cdcb32.entry.js} +2 -2
- package/dist/{build/p-aab1cda1.entry.js → paperless/p-b9e42e93.entry.js} +2 -2
- package/dist/paperless/{p-851a7662.entry.js → p-bf9965ea.entry.js} +2 -2
- package/dist/paperless/p-bf9965ea.entry.js.map +1 -0
- package/dist/paperless/{p-013cd7f9.entry.js → p-cada312c.entry.js} +2 -2
- package/dist/{build/p-f78afad9.entry.js → paperless/p-d8498647.entry.js} +2 -2
- package/dist/paperless/p-d8498647.entry.js.map +1 -0
- package/dist/{build/p-0348e450.entry.js → paperless/p-dc9bf641.entry.js} +2 -2
- package/dist/paperless/{p-aa058967.entry.js → p-e18e29aa.entry.js} +2 -2
- package/dist/paperless/{p-ece8998b.entry.js → p-e4ab1d73.entry.js} +2 -2
- package/dist/paperless/{p-08ea38ad.entry.js → p-e74bd898.entry.js} +2 -2
- package/dist/paperless/{p-23ca3688.entry.js → p-e78945ad.entry.js} +2 -2
- package/dist/paperless/{p-cb7c509e.entry.js → p-ea329388.entry.js} +2 -2
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/portal/portal.component.d.ts +9 -0
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +6 -1
- package/dist/types/components.d.ts +23 -0
- package/hydrate/index.js +103 -38
- package/package.json +1 -1
- package/dist/build/p-190704d1.entry.js.map +0 -1
- package/dist/build/p-64b68231.js +0 -3
- package/dist/build/p-64b68231.js.map +0 -1
- package/dist/build/p-851a7662.entry.js.map +0 -1
- package/dist/build/p-cc321a7b.entry.js +0 -2
- package/dist/build/p-cc321a7b.entry.js.map +0 -1
- package/dist/build/p-d7dbd13e.entry.js +0 -2
- package/dist/build/p-d7dbd13e.entry.js.map +0 -1
- package/dist/build/p-f78afad9.entry.js.map +0 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +0 -1
- package/dist/esm/p-dropdown-menu-container.entry.js.map +0 -1
- package/dist/paperless/p-190704d1.entry.js.map +0 -1
- package/dist/paperless/p-64b68231.js +0 -3
- package/dist/paperless/p-64b68231.js.map +0 -1
- package/dist/paperless/p-851a7662.entry.js.map +0 -1
- package/dist/paperless/p-cc321a7b.entry.js +0 -2
- package/dist/paperless/p-cc321a7b.entry.js.map +0 -1
- package/dist/paperless/p-d7dbd13e.entry.js +0 -2
- package/dist/paperless/p-d7dbd13e.entry.js.map +0 -1
- package/dist/paperless/p-f78afad9.entry.js.map +0 -1
- /package/dist/build/{p-60492c98.entry.js.map → p-04f2c445.entry.js.map} +0 -0
- /package/dist/build/{p-2f9e9197.entry.js.map → p-0b5a9b3b.entry.js.map} +0 -0
- /package/dist/build/{p-dce95c92.entry.js.map → p-0fb58b95.entry.js.map} +0 -0
- /package/dist/build/{p-64b53130.entry.js.map → p-12f5d6c1.entry.js.map} +0 -0
- /package/dist/build/{p-5ab354bf.entry.js.map → p-14f3312f.entry.js.map} +0 -0
- /package/dist/build/{p-d81a30f6.entry.js.map → p-15abe9ab.entry.js.map} +0 -0
- /package/dist/build/{p-b8e718c7.entry.js.map → p-1926e607.entry.js.map} +0 -0
- /package/dist/build/{p-385943b2.entry.js.map → p-195ede81.entry.js.map} +0 -0
- /package/dist/build/{p-32056913.entry.js.map → p-198b4653.entry.js.map} +0 -0
- /package/dist/build/{p-221dbb71.entry.js.map → p-1c97ddaa.entry.js.map} +0 -0
- /package/dist/build/{p-bc46f89a.entry.js.map → p-285babdd.entry.js.map} +0 -0
- /package/dist/build/{p-b9a7e240.entry.js.map → p-28fee2e1.entry.js.map} +0 -0
- /package/dist/build/{p-dd6d3839.entry.js.map → p-2bedd43c.entry.js.map} +0 -0
- /package/dist/build/{p-5e789bb1.entry.js.map → p-36d0d0e6.entry.js.map} +0 -0
- /package/dist/build/{p-e10cf2d3.entry.js.map → p-3885d19b.entry.js.map} +0 -0
- /package/dist/build/{p-bfbab545.entry.js.map → p-3b9d77dc.entry.js.map} +0 -0
- /package/dist/build/{p-7a577384.entry.js.map → p-3dba9a43.entry.js.map} +0 -0
- /package/dist/build/{p-c6bcbcbf.entry.js.map → p-43cdfda1.entry.js.map} +0 -0
- /package/dist/build/{p-fcaa0539.entry.js.map → p-4c3cdddf.entry.js.map} +0 -0
- /package/dist/build/{p-6fed974c.entry.js.map → p-51b3884b.entry.js.map} +0 -0
- /package/dist/build/{p-ea3bce45.entry.js.map → p-55752ba9.entry.js.map} +0 -0
- /package/dist/build/{p-6f7721eb.entry.js.map → p-5a072ae3.entry.js.map} +0 -0
- /package/dist/build/{p-3d867690.entry.js.map → p-5a7c004d.entry.js.map} +0 -0
- /package/dist/build/{p-3e9d994a.entry.js.map → p-5afd99f1.entry.js.map} +0 -0
- /package/dist/build/{p-16a18649.entry.js.map → p-5df485b9.entry.js.map} +0 -0
- /package/dist/build/{p-9fa5d08a.entry.js.map → p-648c33b9.entry.js.map} +0 -0
- /package/dist/build/{p-047c1c6f.entry.js.map → p-6521a730.entry.js.map} +0 -0
- /package/dist/build/{p-909879e3.entry.js.map → p-6d6bb913.entry.js.map} +0 -0
- /package/dist/build/{p-45463125.entry.js.map → p-75330470.entry.js.map} +0 -0
- /package/dist/build/{p-a7b8e22f.entry.js.map → p-7eb4689d.entry.js.map} +0 -0
- /package/dist/build/{p-7beb3401.entry.js.map → p-82c79faa.entry.js.map} +0 -0
- /package/dist/build/{p-6e71ebca.entry.js.map → p-9d112705.entry.js.map} +0 -0
- /package/dist/build/{p-937b2d74.entry.js.map → p-a26e1c6d.entry.js.map} +0 -0
- /package/dist/build/{p-be0c925e.entry.js.map → p-a5995873.entry.js.map} +0 -0
- /package/dist/build/{p-cb8a454c.entry.js.map → p-aa4ebfcd.entry.js.map} +0 -0
- /package/dist/build/{p-a587ff9f.entry.js.map → p-b18ef00d.entry.js.map} +0 -0
- /package/dist/build/{p-393eba2f.entry.js.map → p-b9cdcb32.entry.js.map} +0 -0
- /package/dist/build/{p-aab1cda1.entry.js.map → p-b9e42e93.entry.js.map} +0 -0
- /package/dist/build/{p-013cd7f9.entry.js.map → p-cada312c.entry.js.map} +0 -0
- /package/dist/build/{p-0348e450.entry.js.map → p-dc9bf641.entry.js.map} +0 -0
- /package/dist/build/{p-aa058967.entry.js.map → p-e18e29aa.entry.js.map} +0 -0
- /package/dist/build/{p-ece8998b.entry.js.map → p-e4ab1d73.entry.js.map} +0 -0
- /package/dist/build/{p-08ea38ad.entry.js.map → p-e74bd898.entry.js.map} +0 -0
- /package/dist/build/{p-23ca3688.entry.js.map → p-e78945ad.entry.js.map} +0 -0
- /package/dist/build/{p-cb7c509e.entry.js.map → p-ea329388.entry.js.map} +0 -0
- /package/dist/paperless/{p-60492c98.entry.js.map → p-04f2c445.entry.js.map} +0 -0
- /package/dist/paperless/{p-2f9e9197.entry.js.map → p-0b5a9b3b.entry.js.map} +0 -0
- /package/dist/paperless/{p-dce95c92.entry.js.map → p-0fb58b95.entry.js.map} +0 -0
- /package/dist/paperless/{p-64b53130.entry.js.map → p-12f5d6c1.entry.js.map} +0 -0
- /package/dist/paperless/{p-5ab354bf.entry.js.map → p-14f3312f.entry.js.map} +0 -0
- /package/dist/paperless/{p-d81a30f6.entry.js.map → p-15abe9ab.entry.js.map} +0 -0
- /package/dist/paperless/{p-b8e718c7.entry.js.map → p-1926e607.entry.js.map} +0 -0
- /package/dist/paperless/{p-385943b2.entry.js.map → p-195ede81.entry.js.map} +0 -0
- /package/dist/paperless/{p-32056913.entry.js.map → p-198b4653.entry.js.map} +0 -0
- /package/dist/paperless/{p-221dbb71.entry.js.map → p-1c97ddaa.entry.js.map} +0 -0
- /package/dist/paperless/{p-bc46f89a.entry.js.map → p-285babdd.entry.js.map} +0 -0
- /package/dist/paperless/{p-b9a7e240.entry.js.map → p-28fee2e1.entry.js.map} +0 -0
- /package/dist/paperless/{p-dd6d3839.entry.js.map → p-2bedd43c.entry.js.map} +0 -0
- /package/dist/paperless/{p-5e789bb1.entry.js.map → p-36d0d0e6.entry.js.map} +0 -0
- /package/dist/paperless/{p-e10cf2d3.entry.js.map → p-3885d19b.entry.js.map} +0 -0
- /package/dist/paperless/{p-bfbab545.entry.js.map → p-3b9d77dc.entry.js.map} +0 -0
- /package/dist/paperless/{p-7a577384.entry.js.map → p-3dba9a43.entry.js.map} +0 -0
- /package/dist/paperless/{p-c6bcbcbf.entry.js.map → p-43cdfda1.entry.js.map} +0 -0
- /package/dist/paperless/{p-fcaa0539.entry.js.map → p-4c3cdddf.entry.js.map} +0 -0
- /package/dist/paperless/{p-6fed974c.entry.js.map → p-51b3884b.entry.js.map} +0 -0
- /package/dist/paperless/{p-ea3bce45.entry.js.map → p-55752ba9.entry.js.map} +0 -0
- /package/dist/paperless/{p-6f7721eb.entry.js.map → p-5a072ae3.entry.js.map} +0 -0
- /package/dist/paperless/{p-3d867690.entry.js.map → p-5a7c004d.entry.js.map} +0 -0
- /package/dist/paperless/{p-3e9d994a.entry.js.map → p-5afd99f1.entry.js.map} +0 -0
- /package/dist/paperless/{p-16a18649.entry.js.map → p-5df485b9.entry.js.map} +0 -0
- /package/dist/paperless/{p-9fa5d08a.entry.js.map → p-648c33b9.entry.js.map} +0 -0
- /package/dist/paperless/{p-047c1c6f.entry.js.map → p-6521a730.entry.js.map} +0 -0
- /package/dist/paperless/{p-909879e3.entry.js.map → p-6d6bb913.entry.js.map} +0 -0
- /package/dist/paperless/{p-45463125.entry.js.map → p-75330470.entry.js.map} +0 -0
- /package/dist/paperless/{p-a7b8e22f.entry.js.map → p-7eb4689d.entry.js.map} +0 -0
- /package/dist/paperless/{p-7beb3401.entry.js.map → p-82c79faa.entry.js.map} +0 -0
- /package/dist/paperless/{p-6e71ebca.entry.js.map → p-9d112705.entry.js.map} +0 -0
- /package/dist/paperless/{p-937b2d74.entry.js.map → p-a26e1c6d.entry.js.map} +0 -0
- /package/dist/paperless/{p-be0c925e.entry.js.map → p-a5995873.entry.js.map} +0 -0
- /package/dist/paperless/{p-cb8a454c.entry.js.map → p-aa4ebfcd.entry.js.map} +0 -0
- /package/dist/paperless/{p-a587ff9f.entry.js.map → p-b18ef00d.entry.js.map} +0 -0
- /package/dist/paperless/{p-393eba2f.entry.js.map → p-b9cdcb32.entry.js.map} +0 -0
- /package/dist/paperless/{p-aab1cda1.entry.js.map → p-b9e42e93.entry.js.map} +0 -0
- /package/dist/paperless/{p-013cd7f9.entry.js.map → p-cada312c.entry.js.map} +0 -0
- /package/dist/paperless/{p-0348e450.entry.js.map → p-dc9bf641.entry.js.map} +0 -0
- /package/dist/paperless/{p-aa058967.entry.js.map → p-e18e29aa.entry.js.map} +0 -0
- /package/dist/paperless/{p-ece8998b.entry.js.map → p-e4ab1d73.entry.js.map} +0 -0
- /package/dist/paperless/{p-08ea38ad.entry.js.map → p-e74bd898.entry.js.map} +0 -0
- /package/dist/paperless/{p-23ca3688.entry.js.map → p-e78945ad.entry.js.map} +0 -0
- /package/dist/paperless/{p-cb7c509e.entry.js.map → p-ea329388.entry.js.map} +0 -0
|
@@ -17,6 +17,10 @@ export declare class Dropdown {
|
|
|
17
17
|
* Wether to show the dropdown menu
|
|
18
18
|
*/
|
|
19
19
|
show: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Wether to use a portal for the dropdown container
|
|
22
|
+
*/
|
|
23
|
+
usePortal: boolean;
|
|
20
24
|
/**
|
|
21
25
|
* Wether to automatically calculate the width of the menu based on the trigger
|
|
22
26
|
*/
|
|
@@ -72,8 +76,9 @@ export declare class Dropdown {
|
|
|
72
76
|
componentShouldUpdate(): void;
|
|
73
77
|
componentDidLoad(): void;
|
|
74
78
|
disconnectedCallback(): void;
|
|
79
|
+
componentDidRender(): void;
|
|
75
80
|
render(): any;
|
|
76
|
-
private
|
|
81
|
+
private _checkButtons;
|
|
77
82
|
protected onShowChange(show: any): void;
|
|
78
83
|
protected documentClickHandler({ target }: {
|
|
79
84
|
target: any;
|
|
@@ -512,6 +512,10 @@ export namespace Components {
|
|
|
512
512
|
* The strategy of the dropdown placement
|
|
513
513
|
*/
|
|
514
514
|
"strategy": Strategy;
|
|
515
|
+
/**
|
|
516
|
+
* Wether to use a portal for the dropdown container
|
|
517
|
+
*/
|
|
518
|
+
"usePortal": boolean;
|
|
515
519
|
}
|
|
516
520
|
interface PDropdownMenuContainer {
|
|
517
521
|
/**
|
|
@@ -980,6 +984,9 @@ export namespace Components {
|
|
|
980
984
|
*/
|
|
981
985
|
"active": boolean;
|
|
982
986
|
}
|
|
987
|
+
interface PPortal {
|
|
988
|
+
"containerClass": string;
|
|
989
|
+
}
|
|
983
990
|
interface PProfile {
|
|
984
991
|
/**
|
|
985
992
|
* The position of the dropdown
|
|
@@ -2100,6 +2107,12 @@ declare global {
|
|
|
2100
2107
|
prototype: HTMLPPaginationItemElement;
|
|
2101
2108
|
new (): HTMLPPaginationItemElement;
|
|
2102
2109
|
};
|
|
2110
|
+
interface HTMLPPortalElement extends Components.PPortal, HTMLStencilElement {
|
|
2111
|
+
}
|
|
2112
|
+
var HTMLPPortalElement: {
|
|
2113
|
+
prototype: HTMLPPortalElement;
|
|
2114
|
+
new (): HTMLPPortalElement;
|
|
2115
|
+
};
|
|
2103
2116
|
interface HTMLPProfileElement extends Components.PProfile, HTMLStencilElement {
|
|
2104
2117
|
}
|
|
2105
2118
|
var HTMLPProfileElement: {
|
|
@@ -2282,6 +2295,7 @@ declare global {
|
|
|
2282
2295
|
"p-page-size-select": HTMLPPageSizeSelectElement;
|
|
2283
2296
|
"p-pagination": HTMLPPaginationElement;
|
|
2284
2297
|
"p-pagination-item": HTMLPPaginationItemElement;
|
|
2298
|
+
"p-portal": HTMLPPortalElement;
|
|
2285
2299
|
"p-profile": HTMLPProfileElement;
|
|
2286
2300
|
"p-segment-container": HTMLPSegmentContainerElement;
|
|
2287
2301
|
"p-segment-item": HTMLPSegmentItemElement;
|
|
@@ -2833,6 +2847,10 @@ declare namespace LocalJSX {
|
|
|
2833
2847
|
* The strategy of the dropdown placement
|
|
2834
2848
|
*/
|
|
2835
2849
|
"strategy"?: Strategy;
|
|
2850
|
+
/**
|
|
2851
|
+
* Wether to use a portal for the dropdown container
|
|
2852
|
+
*/
|
|
2853
|
+
"usePortal"?: boolean;
|
|
2836
2854
|
}
|
|
2837
2855
|
interface PDropdownMenuContainer {
|
|
2838
2856
|
/**
|
|
@@ -3325,6 +3343,9 @@ declare namespace LocalJSX {
|
|
|
3325
3343
|
*/
|
|
3326
3344
|
"active"?: boolean;
|
|
3327
3345
|
}
|
|
3346
|
+
interface PPortal {
|
|
3347
|
+
"containerClass"?: string;
|
|
3348
|
+
}
|
|
3328
3349
|
interface PProfile {
|
|
3329
3350
|
/**
|
|
3330
3351
|
* The position of the dropdown
|
|
@@ -4223,6 +4244,7 @@ declare namespace LocalJSX {
|
|
|
4223
4244
|
"p-page-size-select": PPageSizeSelect;
|
|
4224
4245
|
"p-pagination": PPagination;
|
|
4225
4246
|
"p-pagination-item": PPaginationItem;
|
|
4247
|
+
"p-portal": PPortal;
|
|
4226
4248
|
"p-profile": PProfile;
|
|
4227
4249
|
"p-segment-container": PSegmentContainer;
|
|
4228
4250
|
"p-segment-item": PSegmentItem;
|
|
@@ -4300,6 +4322,7 @@ declare module "@stencil/core" {
|
|
|
4300
4322
|
"p-page-size-select": LocalJSX.PPageSizeSelect & JSXBase.HTMLAttributes<HTMLPPageSizeSelectElement>;
|
|
4301
4323
|
"p-pagination": LocalJSX.PPagination & JSXBase.HTMLAttributes<HTMLPPaginationElement>;
|
|
4302
4324
|
"p-pagination-item": LocalJSX.PPaginationItem & JSXBase.HTMLAttributes<HTMLPPaginationItemElement>;
|
|
4325
|
+
"p-portal": LocalJSX.PPortal & JSXBase.HTMLAttributes<HTMLPPortalElement>;
|
|
4303
4326
|
"p-profile": LocalJSX.PProfile & JSXBase.HTMLAttributes<HTMLPProfileElement>;
|
|
4304
4327
|
"p-segment-container": LocalJSX.PSegmentContainer & JSXBase.HTMLAttributes<HTMLPSegmentContainerElement>;
|
|
4305
4328
|
"p-segment-item": LocalJSX.PSegmentItem & JSXBase.HTMLAttributes<HTMLPSegmentItemElement>;
|
package/hydrate/index.js
CHANGED
|
@@ -4950,7 +4950,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4950
4950
|
|
|
4951
4951
|
|
|
4952
4952
|
const NAMESPACE$1 = 'paperless';
|
|
4953
|
-
const BUILD = /* paperless */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: false, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, patchPseudoShadowDom: false, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey:
|
|
4953
|
+
const BUILD = /* paperless */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: false, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, patchPseudoShadowDom: false, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4954
4954
|
|
|
4955
4955
|
function queryNonceMetaTagContent(e) {
|
|
4956
4956
|
var t, o, n;
|
|
@@ -5139,19 +5139,21 @@ function waitingOnElementMsg(e) {
|
|
|
5139
5139
|
|
|
5140
5140
|
const createTime = (e, t = "") => {
|
|
5141
5141
|
return () => {};
|
|
5142
|
-
}, EMPTY_OBJ = {}, isComplexType = e => "object" == (e = typeof e) || "function" === e, isPromise = e => !!e && ("object" == typeof e || "function" == typeof e) && "function" == typeof e.then, h = (e, t, ...o) => {
|
|
5143
|
-
let n = null, l = null, a = !1, r = !1;
|
|
5142
|
+
}, XLINK_NS = "http://www.w3.org/1999/xlink", EMPTY_OBJ = {}, isComplexType = e => "object" == (e = typeof e) || "function" === e, isPromise = e => !!e && ("object" == typeof e || "function" == typeof e) && "function" == typeof e.then, h = (e, t, ...o) => {
|
|
5143
|
+
let n = null, s = null, l = null, a = !1, r = !1;
|
|
5144
5144
|
const i = [], d = t => {
|
|
5145
5145
|
for (let o = 0; o < t.length; o++) n = t[o], Array.isArray(n) ? d(n) : null != n && "boolean" != typeof n && ((a = "function" != typeof e && !isComplexType(n)) ? n = String(n) : BUILD.isDev ,
|
|
5146
5146
|
a && r ? i[i.length - 1].$text$ += n : i.push(a ? newVNode(null, n) : n), r = a);
|
|
5147
5147
|
};
|
|
5148
|
-
if (d(o), t && (t.
|
|
5148
|
+
if (d(o), t && (t.key && (s = t.key),
|
|
5149
|
+
t.name && (l = t.name), BUILD.vdomClass)) {
|
|
5149
5150
|
const e = t.className || t.class;
|
|
5150
5151
|
e && (t.class = "object" != typeof e ? e : Object.keys(e).filter((t => e[t])).join(" "));
|
|
5151
5152
|
}
|
|
5152
5153
|
if ("function" == typeof e) return e(null === t ? {} : t, i, vdomFnUtils);
|
|
5153
5154
|
const c = newVNode(e, null);
|
|
5154
|
-
return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), (c.$
|
|
5155
|
+
return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), (c.$key$ = s),
|
|
5156
|
+
(c.$name$ = l), c;
|
|
5155
5157
|
}, newVNode = (e, t) => {
|
|
5156
5158
|
const o = {
|
|
5157
5159
|
$flags$: 0,
|
|
@@ -5160,7 +5162,8 @@ const createTime = (e, t = "") => {
|
|
|
5160
5162
|
$elm$: null,
|
|
5161
5163
|
$children$: null
|
|
5162
5164
|
};
|
|
5163
|
-
return (o.$attrs$ = null), (o.$
|
|
5165
|
+
return (o.$attrs$ = null), (o.$key$ = null),
|
|
5166
|
+
(o.$name$ = null), o;
|
|
5164
5167
|
}, Host = {}, isHost = e => e && e.$tag$ === Host, vdomFnUtils = {
|
|
5165
5168
|
forEach: (e, t) => e.map(convertToPublic).forEach(t),
|
|
5166
5169
|
map: (e, t) => e.map(convertToPublic).map(t).map(convertToPrivate)
|
|
@@ -5281,7 +5284,7 @@ const createTime = (e, t = "") => {
|
|
|
5281
5284
|
} else if ("style" === t) {
|
|
5282
5285
|
for (const t in o) n && null != n[t] || (e.style[t] = "");
|
|
5283
5286
|
for (const t in n) o && n[t] === o[t] || (e.style[t] = n[t]);
|
|
5284
|
-
} else if ("ref" === t) n && n(e); else if ((a ) || "o" !== t[0] || "n" !== t[1]) {
|
|
5287
|
+
} else if ("key" === t) ; else if ("ref" === t) n && n(e); else if ((a ) || "o" !== t[0] || "n" !== t[1]) {
|
|
5285
5288
|
{
|
|
5286
5289
|
const i = isComplexType(n);
|
|
5287
5290
|
if ((a || i && null !== n) && !s) try {
|
|
@@ -5290,8 +5293,9 @@ const createTime = (e, t = "") => {
|
|
|
5290
5293
|
"list" === t ? a = !1 : null != o && e[t] == s || (e[t] = s);
|
|
5291
5294
|
}
|
|
5292
5295
|
} catch (e) {}
|
|
5293
|
-
|
|
5294
|
-
|
|
5296
|
+
let d = !1;
|
|
5297
|
+
r !== (r = r.replace(/^xlink\:?/, "")) && (t = r, d = !0), null == n || !1 === n ? !1 === n && "" !== e.getAttribute(t) || (d ? e.removeAttributeNS(XLINK_NS, t) : e.removeAttribute(t)) : (!a || 4 & l || s) && !i && (n = !0 === n ? "" : n,
|
|
5298
|
+
d ? e.setAttributeNS(XLINK_NS, t, n) : e.setAttribute(t, n));
|
|
5295
5299
|
}
|
|
5296
5300
|
} else t = "-" === t[2] ? t.slice(3) : isMemberInElement(win, r) ? r.slice(2) : r[2] + t.slice(3),
|
|
5297
5301
|
o && plt.rel(e, t, o, !1), n && plt.ael(e, t, n, !1);
|
|
@@ -5341,17 +5345,22 @@ const createElm = (e, t, o, n) => {
|
|
|
5341
5345
|
e["s-ol"] ? e["s-ol"].remove() : putBackInOriginalLocation(e, !0)), e.remove());
|
|
5342
5346
|
}
|
|
5343
5347
|
}
|
|
5344
|
-
}, isSameVnode = (e, t) => e.$tag$ === t.$tag$ && ("slot" === e.$tag$ ? e.$name$ === t.$name$ :
|
|
5348
|
+
}, isSameVnode = (e, t) => e.$tag$ === t.$tag$ && ("slot" === e.$tag$ ? e.$name$ === t.$name$ : e.$key$ === t.$key$), referenceNode = e => e && e["s-ol"] || e, parentReferenceNode = e => (e["s-ol"] ? e["s-ol"] : e).parentNode, patch = (e, t) => {
|
|
5345
5349
|
const o = t.$elm$ = e.$elm$, n = e.$children$, s = t.$children$, l = t.$tag$, a = t.$text$;
|
|
5346
5350
|
let r;
|
|
5347
5351
|
null !== a ? (r = o["s-cr"]) ? r.parentNode.textContent = a : e.$text$ !== a && (o.data = a) : (("slot" === l || updateElement(e, t, isSvgMode)),
|
|
5348
5352
|
null !== n && null !== s ? ((e, t, o, n) => {
|
|
5349
|
-
let s, a = 0, r = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1, h = n[0], u = n[p];
|
|
5353
|
+
let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1, h = n[0], u = n[p];
|
|
5350
5354
|
for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null == h) h = n[++r]; else if (null == u) u = n[--p]; else if (isSameVnode($, h)) patch($, h),
|
|
5351
5355
|
$ = t[++a], h = n[++r]; else if (isSameVnode(m, u)) patch(m, u), m = t[--c], u = n[--p]; else if (isSameVnode($, u)) "slot" !== $.$tag$ && "slot" !== u.$tag$ || putBackInOriginalLocation($.$elm$.parentNode, !1),
|
|
5352
5356
|
patch($, u), e.insertBefore($.$elm$, m.$elm$.nextSibling), $ = t[++a], u = n[--p]; else if (isSameVnode(m, h)) "slot" !== $.$tag$ && "slot" !== u.$tag$ || putBackInOriginalLocation(m.$elm$.parentNode, !1),
|
|
5353
5357
|
patch(m, h), e.insertBefore(m.$elm$, $.$elm$), m = t[--c], h = n[++r]; else {
|
|
5354
|
-
(
|
|
5358
|
+
if (i = -1, BUILD.vdomKey) for (d = a; d <= c; ++d) if (t[d] && null !== t[d].$key$ && t[d].$key$ === h.$key$) {
|
|
5359
|
+
i = d;
|
|
5360
|
+
break;
|
|
5361
|
+
}
|
|
5362
|
+
i >= 0 ? (l = t[i], l.$tag$ !== h.$tag$ ? s = createElm(t && t[r], o, i, e) : (patch(l, h),
|
|
5363
|
+
t[i] = void 0, s = l.$elm$), h = n[++r]) : (s = createElm(t && t[r], o, r, e), h = n[++r]),
|
|
5355
5364
|
s && (parentReferenceNode($.$elm$).insertBefore(s, referenceNode($.$elm$)) );
|
|
5356
5365
|
}
|
|
5357
5366
|
a > c ? addVnodes(e, null == n[p + 1] ? null : n[p + 1].$elm$, o, n, r, p) : r > p && removeVnodes(t, a, c);
|
|
@@ -21522,9 +21531,9 @@ const computePosition = (reference, floating, options) => {
|
|
|
21522
21531
|
});
|
|
21523
21532
|
};
|
|
21524
21533
|
|
|
21525
|
-
const dropdownComponentCss = ".flex{display:flex!important}.hidden{display:none!important}*{box-sizing:border-box}p-dropdown p-dropdown-menu-container{display:none}p-dropdown p-dropdown-menu-container[data-show]{display:flex}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-dropdown{z-index:200!important}
|
|
21534
|
+
const dropdownComponentCss = ".flex{display:flex!important}.hidden{display:none!important}*{box-sizing:border-box}p-dropdown p-dropdown-menu-container{display:none}p-dropdown p-dropdown-menu-container[data-show]{display:flex}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-dropdown{z-index:200!important}";
|
|
21526
21535
|
|
|
21527
|
-
const
|
|
21536
|
+
const dropdownContainerClass = cva(['z-dropdown hidden'], {
|
|
21528
21537
|
variants: {
|
|
21529
21538
|
strategy: {
|
|
21530
21539
|
absolute: 'absolute',
|
|
@@ -21541,6 +21550,7 @@ class Dropdown {
|
|
|
21541
21550
|
this.offset = 8;
|
|
21542
21551
|
this.strategy = 'absolute';
|
|
21543
21552
|
this.show = false;
|
|
21553
|
+
this.usePortal = false;
|
|
21544
21554
|
this.calculateWidth = false;
|
|
21545
21555
|
this.applyMaxWidth = true;
|
|
21546
21556
|
this.applyFullWidth = true;
|
|
@@ -21556,25 +21566,44 @@ class Dropdown {
|
|
|
21556
21566
|
this._update();
|
|
21557
21567
|
}
|
|
21558
21568
|
componentDidLoad() {
|
|
21559
|
-
this.
|
|
21569
|
+
this._checkButtons();
|
|
21560
21570
|
}
|
|
21561
21571
|
disconnectedCallback() {
|
|
21562
21572
|
if (this._cleanup) {
|
|
21563
21573
|
this._cleanup();
|
|
21564
21574
|
this._cleanup = null;
|
|
21565
21575
|
}
|
|
21576
|
+
this._menu.remove();
|
|
21577
|
+
}
|
|
21578
|
+
componentDidRender() {
|
|
21579
|
+
this._checkButtons();
|
|
21566
21580
|
}
|
|
21567
21581
|
render() {
|
|
21568
|
-
|
|
21582
|
+
const dropdownContainerProps = {
|
|
21583
|
+
class: dropdownContainerClass({
|
|
21569
21584
|
strategy: this.strategy,
|
|
21570
|
-
}),
|
|
21585
|
+
}),
|
|
21586
|
+
ref: el => this._load(el),
|
|
21587
|
+
onClick: () => this._containerClickHandler(),
|
|
21588
|
+
role: 'popover',
|
|
21589
|
+
'data-placement': this.placement,
|
|
21590
|
+
'data-strategy': this.strategy,
|
|
21591
|
+
};
|
|
21592
|
+
let dropdownContainer;
|
|
21593
|
+
if (this.usePortal) {
|
|
21594
|
+
dropdownContainer = (hAsync("p-portal", Object.assign({}, dropdownContainerProps), hAsync("p-dropdown-menu-container", { maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, hAsync("slot", { name: 'items' }))));
|
|
21595
|
+
}
|
|
21596
|
+
else {
|
|
21597
|
+
dropdownContainer = (hAsync("p-dropdown-menu-container", Object.assign({ maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, dropdownContainerProps), hAsync("slot", { name: 'items' })));
|
|
21598
|
+
}
|
|
21599
|
+
return (hAsync(Host, { class: 'p-dropdown relative' }, hAsync("div", { class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, hAsync("slot", { name: 'trigger' })), dropdownContainer));
|
|
21571
21600
|
}
|
|
21572
|
-
|
|
21601
|
+
_checkButtons(active = false) {
|
|
21573
21602
|
if (!this.applyChevron) {
|
|
21574
21603
|
return;
|
|
21575
21604
|
}
|
|
21576
|
-
const buttons = this._el.querySelectorAll('p-button');
|
|
21577
|
-
for (let button of buttons) {
|
|
21605
|
+
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
21606
|
+
for (let button of [...buttons]) {
|
|
21578
21607
|
button.chevronPosition = this.chevronPosition;
|
|
21579
21608
|
button.chevron = this.chevronDirection
|
|
21580
21609
|
? this.chevronDirection
|
|
@@ -21596,7 +21625,7 @@ class Dropdown {
|
|
|
21596
21625
|
this._show();
|
|
21597
21626
|
}
|
|
21598
21627
|
documentClickHandler({ target }) {
|
|
21599
|
-
if (!this._menu.hasAttribute('data-show') || childOf(target, this.
|
|
21628
|
+
if (!this._menu.hasAttribute('data-show') || childOf(target, this._menu)) {
|
|
21600
21629
|
return;
|
|
21601
21630
|
}
|
|
21602
21631
|
this._hide();
|
|
@@ -21639,8 +21668,10 @@ class Dropdown {
|
|
|
21639
21668
|
}
|
|
21640
21669
|
this._cleanup = autoUpdate(this._el, this._menu, () => this._update());
|
|
21641
21670
|
this._menu.setAttribute('data-show', '');
|
|
21671
|
+
this._menu.classList.remove('hidden');
|
|
21672
|
+
this._menu.classList.add('flex');
|
|
21642
21673
|
this.isOpen.emit(true);
|
|
21643
|
-
this.
|
|
21674
|
+
this._checkButtons(true);
|
|
21644
21675
|
}
|
|
21645
21676
|
_hide() {
|
|
21646
21677
|
if (!this._loaded || this.show) {
|
|
@@ -21652,8 +21683,10 @@ class Dropdown {
|
|
|
21652
21683
|
}
|
|
21653
21684
|
// Hide the popover
|
|
21654
21685
|
this._menu.removeAttribute('data-show');
|
|
21686
|
+
this._menu.classList.remove('flex');
|
|
21687
|
+
this._menu.classList.add('hidden');
|
|
21655
21688
|
this.isOpen.emit(false);
|
|
21656
|
-
this.
|
|
21689
|
+
this._checkButtons(false);
|
|
21657
21690
|
}
|
|
21658
21691
|
_update() {
|
|
21659
21692
|
if (!this._menu) {
|
|
@@ -21684,6 +21717,7 @@ class Dropdown {
|
|
|
21684
21717
|
"offset": [2],
|
|
21685
21718
|
"strategy": [1],
|
|
21686
21719
|
"show": [4],
|
|
21720
|
+
"usePortal": [4, "use-portal"],
|
|
21687
21721
|
"calculateWidth": [4, "calculate-width"],
|
|
21688
21722
|
"applyMaxWidth": [4, "apply-max-width"],
|
|
21689
21723
|
"applyFullWidth": [4, "apply-full-width"],
|
|
@@ -22209,14 +22243,11 @@ class InputGroup {
|
|
|
22209
22243
|
render() {
|
|
22210
22244
|
var _a;
|
|
22211
22245
|
const { hasHeaderSlot, helper, label, prefix, suffix, errorAndErrorIsNotBoolean, errorVariant, } = this._getSlotInfo();
|
|
22212
|
-
return (hAsync(Host, { class: `p-input-group ${((_a = this.error) === null || _a === void 0 ? void 0 : _a.length) && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, hAsync("div", { class:
|
|
22246
|
+
return (hAsync(Host, { class: `p-input-group ${((_a = this.error) === null || _a === void 0 ? void 0 : _a.length) && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, hAsync("div", { class: 'flex items-end justify-between' }, label && (hAsync("div", { class: 'input-label', onClick: () => this._focusInput() }, label, this.required && hAsync("span", { class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (hAsync("div", { class: 'input-header' }, hasHeaderSlot && hAsync("slot", { name: 'header' }), helper && (hAsync("p-helper", { class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), hAsync("p-tooltip", { class: 'w-full', variant: 'error-element', content: this.error, show: errorAndErrorIsNotBoolean &&
|
|
22213
22247
|
errorVariant === 'element' &&
|
|
22214
|
-
(this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, hAsync("div", { class:
|
|
22215
|
-
(
|
|
22216
|
-
(errorAndErrorIsNotBoolean &&
|
|
22217
|
-
errorVariant === 'icon') ||
|
|
22218
|
-
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean &&
|
|
22219
|
-
errorVariant === 'icon' ? (hAsync("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (hAsync("p-icon", { class: "flex", variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), hAsync("slot", { name: "input" })))));
|
|
22248
|
+
(this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, hAsync("div", { class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (hAsync("div", { class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (hAsync("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
|
|
22249
|
+
(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
|
|
22250
|
+
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (hAsync("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (hAsync("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), hAsync("slot", { name: 'input' })))));
|
|
22220
22251
|
}
|
|
22221
22252
|
handleFocusIn() {
|
|
22222
22253
|
this._forceShowTooltip = true;
|
|
@@ -22269,13 +22300,11 @@ class InputGroup {
|
|
|
22269
22300
|
const hasPrefixSlot = !!this._el.querySelector(':scope > [slot="prefix"]');
|
|
22270
22301
|
const hasSuffixSlot = !!this._el.querySelector(':scope > [slot="suffix"]');
|
|
22271
22302
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
22272
|
-
const helper = hasHelperSlot ? hAsync("slot", { name:
|
|
22273
|
-
const label = hasLabelSlot ? hAsync("slot", { name:
|
|
22274
|
-
const prefix = hasPrefixSlot ? hAsync("slot", { name:
|
|
22275
|
-
const suffix = hasSuffixSlot ? hAsync("slot", { name:
|
|
22276
|
-
const errorAndErrorIsNotBoolean = this.error &&
|
|
22277
|
-
typeof this.error === 'string' &&
|
|
22278
|
-
this.error !== 'true';
|
|
22303
|
+
const helper = hasHelperSlot ? hAsync("slot", { name: 'helper' }) : this.helper;
|
|
22304
|
+
const label = hasLabelSlot ? hAsync("slot", { name: 'label' }) : this.label;
|
|
22305
|
+
const prefix = hasPrefixSlot ? hAsync("slot", { name: 'prefix' }) : this.prefix;
|
|
22306
|
+
const suffix = hasSuffixSlot ? hAsync("slot", { name: 'suffix' }) : this.suffix;
|
|
22307
|
+
const errorAndErrorIsNotBoolean = this.error && typeof this.error === 'string' && this.error !== 'true';
|
|
22279
22308
|
return {
|
|
22280
22309
|
hasHelperSlot,
|
|
22281
22310
|
hasLabelSlot,
|
|
@@ -22287,7 +22316,11 @@ class InputGroup {
|
|
|
22287
22316
|
prefix,
|
|
22288
22317
|
suffix,
|
|
22289
22318
|
errorAndErrorIsNotBoolean,
|
|
22290
|
-
errorVariant: this.errorVariant === 'auto'
|
|
22319
|
+
errorVariant: this.errorVariant === 'auto'
|
|
22320
|
+
? this._el.offsetWidth <= 72
|
|
22321
|
+
? 'element'
|
|
22322
|
+
: 'icon'
|
|
22323
|
+
: this.errorVariant,
|
|
22291
22324
|
};
|
|
22292
22325
|
}
|
|
22293
22326
|
_focusInput() {
|
|
@@ -25968,6 +26001,37 @@ class PaginationItem {
|
|
|
25968
26001
|
}; }
|
|
25969
26002
|
}
|
|
25970
26003
|
|
|
26004
|
+
class Portal {
|
|
26005
|
+
constructor(hostRef) {
|
|
26006
|
+
registerInstance(this, hostRef);
|
|
26007
|
+
this._moved = false;
|
|
26008
|
+
this.containerClass = undefined;
|
|
26009
|
+
}
|
|
26010
|
+
createPortal() {
|
|
26011
|
+
document.body.append(this._element);
|
|
26012
|
+
}
|
|
26013
|
+
componentDidLoad() {
|
|
26014
|
+
this.createPortal();
|
|
26015
|
+
}
|
|
26016
|
+
disconnectedCallback() {
|
|
26017
|
+
this._moved ? this._element.remove() : (this._moved = true);
|
|
26018
|
+
}
|
|
26019
|
+
render() {
|
|
26020
|
+
return (hAsync(Host, null, hAsync("slot", null)));
|
|
26021
|
+
}
|
|
26022
|
+
get _element() { return getElement(this); }
|
|
26023
|
+
static get cmpMeta() { return {
|
|
26024
|
+
"$flags$": 4,
|
|
26025
|
+
"$tagName$": "p-portal",
|
|
26026
|
+
"$members$": {
|
|
26027
|
+
"containerClass": [1, "container-class"]
|
|
26028
|
+
},
|
|
26029
|
+
"$listeners$": undefined,
|
|
26030
|
+
"$lazyBundleId$": "-",
|
|
26031
|
+
"$attrsToReflect$": []
|
|
26032
|
+
}; }
|
|
26033
|
+
}
|
|
26034
|
+
|
|
25971
26035
|
const profileComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.max-w-full{max-width:100%!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";
|
|
25972
26036
|
|
|
25973
26037
|
const profileContent = cva(['flex gap-2 items-center flex-1 min-w-0'], {
|
|
@@ -29029,6 +29093,7 @@ registerComponents([
|
|
|
29029
29093
|
PageSizeSelect,
|
|
29030
29094
|
Pagination,
|
|
29031
29095
|
PaginationItem,
|
|
29096
|
+
Portal,
|
|
29032
29097
|
Profile,
|
|
29033
29098
|
SegmentContainer,
|
|
29034
29099
|
SegmentItem,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["profileComponentCss","profileContent","cva","variants","dropdown","false","true","Profile","componentWillLoad","this","_checkDropdownSlot","componentWillRender","_updateAvatar","render","content","_getContent","h","Host","class","_hasDropdownSlot","strategy","placement","dropdownLocation","applyFullWidth","applyMaxWidth","onIsOpen","ev","_dropdownOpen","detail","variant","chevron","active","slot","size","name","onSlotchange","slotchange","_el","querySelector","avatar"],"sources":["src/components/molecules/profile/profile.component.scss?tag=p-profile","src/components/molecules/profile/profile.component.tsx"],"sourcesContent":[null,"import {\n\tComponent,\n\tElement,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst profileContent = cva(['flex gap-2 items-center flex-1 min-w-0'], {\n\tvariants: {\n\t\tdropdown: {\n\t\t\tfalse: 'h-10 py-1',\n\t\t\ttrue: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-profile',\n\tstyleUrl: 'profile.component.scss',\n})\nexport class Profile {\n\t/**\n\t * The position of the dropdown\n\t */\n\t@Prop() dropdownLocation: 'top-end' | 'bottom-end' = 'bottom-end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _dropdownOpen = false;\n\t@State() private _hasDropdownSlot = false;\n\n\tcomponentWillLoad() {\n\t\tthis._checkDropdownSlot();\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._updateAvatar();\n\t}\n\n\trender() {\n\t\tconst content = this._getContent();\n\t\treturn (\n\t\t\t<Host class='p-profile inline-block w-inherit'>\n\t\t\t\t{this._hasDropdownSlot ? (\n\t\t\t\t\t<p-dropdown\n\t\t\t\t\t\tclass='block'\n\t\t\t\t\t\tstrategy='absolute'\n\t\t\t\t\t\tplacement={this.dropdownLocation}\n\t\t\t\t\t\tapplyFullWidth={true}\n\t\t\t\t\t\tapplyMaxWidth={false}\n\t\t\t\t\t\tonIsOpen={ev => (this._dropdownOpen = ev.detail)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant='dropdown'\n\t\t\t\t\t\t\tchevron={this._dropdownOpen ? 'up' : 'down'}\n\t\t\t\t\t\t\tactive={this._dropdownOpen}\n\t\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\t\tsize='lg'\n\t\t\t\t\t\t\tclass='w-full'\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{content}\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t\t<div slot='items'>\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='dropdown'\n\t\t\t\t\t\t\t\tonSlotchange={() => this._checkDropdownSlot()}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</p-dropdown>\n\t\t\t\t) : (\n\t\t\t\t\tcontent\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('slotchange')\n\tslotchange() {\n\t\tthis._checkDropdownSlot();\n\t}\n\n\tprivate _checkDropdownSlot() {\n\t\tthis._hasDropdownSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"dropdown\"]'\n\t\t);\n\n\t\tif (!this._hasDropdownSlot && this._dropdownOpen) {\n\t\t\tthis._dropdownOpen = false;\n\t\t}\n\t}\n\n\tprivate _getContent() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={profileContent({\n\t\t\t\t\tdropdown: this._hasDropdownSlot,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot name='avatar' />\n\t\t\t\t<div class='flex min-w-0 flex-1 flex-col items-start'>\n\t\t\t\t\t<p class='w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium'>\n\t\t\t\t\t\t<slot name='title' />\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-black-teal-300'>\n\t\t\t\t\t\t<slot name='subtitle' />\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\n\t\t\t\t<slot name='post-title' />\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _updateAvatar() {\n\t\tconst avatar = this._el.querySelector(\n\t\t\t'p-avatar[slot=\"avatar\"]'\n\t\t) as HTMLPAvatarElement;\n\n\t\tif (!avatar) {\n\t\t\treturn;\n\t\t}\n\n\t\tavatar.size = this._hasDropdownSlot ? 'sm' : avatar.size;\n\t}\n}\n"],"mappings":"qHAAA,MAAMA,EAAsB,2iCCW5B,MAAMC,EAAiBC,EAAI,CAAC,0CAA2C,CACtEC,SAAU,CACTC,SAAU,CACTC,MAAO,YACPC,KAAM,S,MASIC,EAAO,M,+CAIkC,a,mBAOpB,M,sBACG,K,CAEpC,iBAAAC,GACCC,KAAKC,oB,CAGN,mBAAAC,GACCF,KAAKG,e,CAGN,MAAAC,GACC,MAAMC,EAAUL,KAAKM,cACrB,OACCC,EAACC,EAAI,CAACC,MAAM,oCACVT,KAAKU,iBACLH,EAAA,cACCE,MAAM,QACNE,SAAS,WACTC,UAAWZ,KAAKa,iBAChBC,eAAgB,KAChBC,cAAe,MACfC,SAAUC,GAAOjB,KAAKkB,cAAgBD,EAAGE,QAEzCZ,EAAA,YACCa,QAAQ,WACRC,QAASrB,KAAKkB,cAAgB,KAAO,OACrCI,OAAQtB,KAAKkB,cACbK,KAAK,UACLC,KAAK,KACLf,MAAM,UAELJ,GAEFE,EAAA,OAAKgB,KAAK,SACThB,EAAA,QACCkB,KAAK,WACLC,aAAc,IAAM1B,KAAKC,yBAGf,E,CASjB,UAAA0B,GACC3B,KAAKC,oB,CAGE,kBAAAA,GACPD,KAAKU,mBAAqBV,KAAK4B,IAAIC,cAClC,8BAGD,IAAK7B,KAAKU,kBAAoBV,KAAKkB,cAAe,CACjDlB,KAAKkB,cAAgB,K,EAIf,WAAAZ,GACP,OACCC,EAAA,OACCE,MAAOjB,EAAe,CACrBG,SAAUK,KAAKU,oBAGhBH,EAAA,QAAMkB,KAAK,WACXlB,EAAA,OAAKE,MAAM,4CACVF,EAAA,KAAGE,MAAM,yFACRF,EAAA,QAAMkB,KAAK,WAEZlB,EAAA,KAAGE,MAAM,iGACRF,EAAA,QAAMkB,KAAK,eAIblB,EAAA,QAAMkB,KAAK,e,CAKN,aAAAtB,GACP,MAAM2B,EAAS9B,KAAK4B,IAAIC,cACvB,2BAGD,IAAKC,EAAQ,CACZ,M,CAGDA,EAAON,KAAOxB,KAAKU,iBAAmB,KAAOoB,EAAON,I"}
|
package/dist/build/p-64b68231.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const t="paperless";let e;let n;let s;let l=false;let o=false;let i=false;let c=false;let f=false;const r=(t,e="")=>{{return()=>{}}};const u=(t,e)=>{{return()=>{}}};const a="r";const d="o";const $="s";const p="t";const h="s-id";const y="sty-id";const m="c-id";const v="{visibility:hidden}.hydrated{visibility:inherit}";const b={};const w=t=>t!=null;const g=t=>{t=typeof t;return t==="object"||t==="function"};function S(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const k=(t,e,...n)=>{let s=null;let l=null;let o=false;let i=false;const c=[];const f=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(o=typeof t!=="function"&&!g(s)){s=String(s)}if(o&&i){c[c.length-1].t+=s}else{c.push(o?j(null,s):s)}i=o}}};f(n);if(e){if(e.name){l=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,c,O)}const r=j(t,null);r.l=e;if(c.length>0){r.o=c}{r.i=l}return r};const j=(t,e)=>{const n={u:0,$:t,t:e,p:null,o:null};{n.l=null}{n.i=null}return n};const C={};const M=t=>t&&t.$===C;const O={forEach:(t,e)=>t.map(x).forEach(e),map:(t,e)=>t.map(x).map(e).map(R)};const x=t=>({vattrs:t.l,vchildren:t.o,vkey:t.h,vname:t.i,vtag:t.$,vtext:t.t});const R=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return k(t.vtag,e,...t.vchildren||[])}const e=j(t.vtag,t.vtext);e.l=t.vattrs;e.o=t.vchildren;e.h=t.vkey;e.i=t.vname;return e};const U=(t,e,n,s)=>{const l=r("hydrateClient",e);const o=t.shadowRoot;const i=[];const c=[];const f=o?[]:null;const u=s.m=j(e,null);if(!zt.v){P(_t.body,zt.v=new Map)}t[h]=n;t.removeAttribute(h);I(u,i,c,f,t,t,n);i.map((t=>{const n=t.g+"."+t.S;const s=zt.v.get(n);const l=t.p;if(s&&Bt&&s["s-en"]===""){s.parentNode.insertBefore(l,s.nextSibling)}if(!o){l["s-hn"]=e;if(s){l["s-ol"]=s;l["s-ol"]["s-nr"]=l}}zt.v.delete(n)}));if(o){f.map((t=>{if(t){o.appendChild(t)}}))}l()};const I=(t,e,n,s,l,o,i)=>{let c;let f;let r;let u;if(o.nodeType===1){c=o.getAttribute(m);if(c){f=c.split(".");if(f[0]===i||f[0]==="0"){r={u:0,g:f[0],S:f[1],k:f[2],j:f[3],$:o.tagName.toLowerCase(),p:o,l:null,o:null,h:null,i:null,t:null};e.push(r);o.removeAttribute(m);if(!t.o){t.o=[]}t.o[r.j]=r;t=r;if(s&&r.k==="0"){s[r.j]=r.p}}}for(u=o.childNodes.length-1;u>=0;u--){I(t,e,n,s,l,o.childNodes[u],i)}if(o.shadowRoot){for(u=o.shadowRoot.childNodes.length-1;u>=0;u--){I(t,e,n,s,l,o.shadowRoot.childNodes[u],i)}}}else if(o.nodeType===8){f=o.nodeValue.split(".");if(f[1]===i||f[1]==="0"){c=f[0];r={u:0,g:f[1],S:f[2],k:f[3],j:f[4],p:o,l:null,o:null,h:null,i:null,$:null,t:null};if(c===p){r.p=o.nextSibling;if(r.p&&r.p.nodeType===3){r.t=r.p.textContent;e.push(r);o.remove();if(!t.o){t.o=[]}t.o[r.j]=r;if(s&&r.k==="0"){s[r.j]=r.p}}}else if(r.g===i){if(c===$){r.$="slot";if(f[5]){o["s-sn"]=r.i=f[5]}else{o["s-sn"]=""}o["s-sr"]=true;if(s){r.p=_t.createElement(r.$);if(r.i){r.p.setAttribute("name",r.i)}o.parentNode.insertBefore(r.p,o);o.remove();if(r.k==="0"){s[r.j]=r.p}}n.push(r);if(!t.o){t.o=[]}t.o[r.j]=r}else if(c===a){if(s){o.remove()}else{l["s-cr"]=o;o["s-cn"]=true}}}}}else if(t&&t.$==="style"){const e=j(null,o.textContent);e.p=o;e.j="0";t.o=[e]}};const P=(t,e)=>{if(t.nodeType===1){let n=0;for(;n<t.childNodes.length;n++){P(t.childNodes[n],e)}if(t.shadowRoot){for(n=0;n<t.shadowRoot.childNodes.length;n++){P(t.shadowRoot.childNodes[n],e)}}}else if(t.nodeType===8){const n=t.nodeValue.split(".");if(n[0]===d){e.set(n[1]+"."+n[2],t);t.nodeValue="";t["s-en"]=n[3]}}};const T=(t,e)=>{if(t!=null&&!g(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const W=t=>Et(t).C;const E=(t,e,n)=>{const s=W(t);return{emit:t=>L(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const L=(t,e,n)=>{const s=zt.ce(e,n);t.dispatchEvent(s);return s};const N=new WeakMap;const A=(t,e,n)=>{let s=qt.get(t);if(Jt&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}qt.set(t,s)};const D=(t,e,n)=>{var s;const l=H(e);const o=qt.get(l);t=t.nodeType===11?t:_t;if(o){if(typeof o==="string"){t=t.head||t;let e=N.get(t);let n;if(!e){N.set(t,e=new Set)}if(!e.has(l)){if(t.host&&(n=t.querySelector(`[${y}="${l}"]`))){n.innerHTML=o}else{n=_t.createElement("style");n.innerHTML=o;const e=(s=zt.M)!==null&&s!==void 0?s:S(_t);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const F=t=>{const e=t.O;const n=t.C;const s=e.u;const l=r("attachStyles",e.R);const o=D(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h")}l()};const H=(t,e)=>"sc-"+t.R;const q=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");const V=(t,e,n,s,l,o)=>{if(n!==s){let i=At(t,e);let c=e.toLowerCase();if(e==="class"){const e=t.classList;const l=z(n);const o=z(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(At(Vt,c)){e=c.slice(2)}else{e=c[2]+e.slice(3)}if(n){zt.rel(t,e,n,false)}if(s){zt.ael(t,e,s,false)}}else{const c=g(s);if((i||c&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!c){s=s===true?"":s;{t.setAttribute(e,s)}}}}};const _=/\s/;const z=t=>!t?[]:t.split(_);const B=(t,e,n,s)=>{const l=e.p.nodeType===11&&e.p.host?e.p.host:e.p;const o=t&&t.l||b;const i=e.l||b;{for(s in o){if(!(s in i)){V(l,s,o[s],undefined,n,e.u)}}}for(s in i){V(l,s,o[s],i[s],n,e.u)}};const G=(t,o,f,r)=>{const u=o.o[f];let a=0;let d;let $;let p;if(!l){i=true;if(u.$==="slot"){if(e){r.classList.add(e+"-s")}u.u|=u.o?2:1}}if(u.t!==null){d=u.p=_t.createTextNode(u.t)}else if(u.u&1){d=u.p=_t.createTextNode("")}else{d=u.p=_t.createElement(u.u&2?"slot-fb":u.$);{B(null,u,c)}if(w(e)&&d["s-si"]!==e){d.classList.add(d["s-si"]=e)}if(u.o){for(a=0;a<u.o.length;++a){$=G(t,u,a,d);if($){d.appendChild($)}}}}{d["s-hn"]=s;if(u.u&(2|1)){d["s-sr"]=true;d["s-cr"]=n;d["s-sn"]=u.i||"";p=t&&t.o&&t.o[f];if(p&&p.$===u.$&&t.p){J(t.p,false)}}}return d};const J=(t,e)=>{zt.u|=1;const n=t.childNodes;for(let t=n.length-1;t>=0;t--){const l=n[t];if(l["s-hn"]!==s&&l["s-ol"]){tt(l).insertBefore(l,Z(l));l["s-ol"].remove();l["s-ol"]=undefined;i=true}if(e){J(l,e)}}zt.u&=~1};const K=(t,e,n,l,o,i)=>{let c=t["s-cr"]&&t["s-cr"].parentNode||t;let f;if(c.shadowRoot&&c.tagName===s){c=c.shadowRoot}for(;o<=i;++o){if(l[o]){f=G(null,n,o,t);if(f){l[o].p=f;c.insertBefore(f,Z(e))}}}};const Q=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.p;it(e);if(t){{o=true;if(t["s-ol"]){t["s-ol"].remove()}else{J(t,true)}}t.remove()}}}};const X=(t,e,n,s)=>{let l=0;let o=0;let i=e.length-1;let c=e[0];let f=e[i];let r=s.length-1;let u=s[0];let a=s[r];let d;while(l<=i&&o<=r){if(c==null){c=e[++l]}else if(f==null){f=e[--i]}else if(u==null){u=s[++o]}else if(a==null){a=s[--r]}else if(Y(c,u)){et(c,u);c=e[++l];u=s[++o]}else if(Y(f,a)){et(f,a);f=e[--i];a=s[--r]}else if(Y(c,a)){if(c.$==="slot"||a.$==="slot"){J(c.p.parentNode,false)}et(c,a);t.insertBefore(c.p,f.p.nextSibling);c=e[++l];a=s[--r]}else if(Y(f,u)){if(c.$==="slot"||a.$==="slot"){J(f.p.parentNode,false)}et(f,u);t.insertBefore(f.p,c.p);f=e[--i];u=s[++o]}else{{d=G(e&&e[o],n,o,t);u=s[++o]}if(d){{tt(c.p).insertBefore(d,Z(c.p))}}}}if(l>i){K(t,s[r+1]==null?null:s[r+1].p,n,s,o,r)}else if(o>r){Q(e,l,i)}};const Y=(t,e)=>{if(t.$===e.$){if(t.$==="slot"){return t.i===e.i}return true}return false};const Z=t=>t&&t["s-ol"]||t;const tt=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const et=(t,e)=>{const n=e.p=t.p;const s=t.o;const l=e.o;const o=e.$;const i=e.t;let f;if(i===null){{if(o==="slot");else{B(t,e,c)}}if(s!==null&&l!==null){X(n,s,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}K(n,null,e,l,0,l.length-1)}else if(s!==null){Q(s,0,s.length-1)}}else if(f=n["s-cr"]){f.parentNode.textContent=i}else if(t.t!==i){n.data=i}};const nt=t=>{const e=t.childNodes;let n;let s;let l;let o;let i;let c;for(s=0,l=e.length;s<l;s++){n=e[s];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<l;o++){c=e[o].nodeType;if(e[o]["s-hn"]!==n["s-hn"]||i!==""){if(c===1&&i===e[o].getAttribute("slot")){n.hidden=true;break}}else{if(c===1||c===3&&e[o].textContent.trim()!==""){n.hidden=true;break}}}}nt(n)}}};const st=[];const lt=t=>{let e;let n;let s;let l;let i;let c;let f=0;const r=t.childNodes;const u=r.length;for(;f<u;f++){e=r[f];if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;l=e["s-sn"];for(c=s.length-1;c>=0;c--){n=s[c];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==e["s-hn"]){if(ot(n,l)){i=st.find((t=>t.U===n));o=true;n["s-sn"]=n["s-sn"]||l;if(i){i.I=e}else{st.push({I:e,U:n})}if(n["s-sr"]){st.map((t=>{if(ot(t.U,n["s-sn"])){i=st.find((t=>t.U===n));if(i&&!t.I){t.I=i.I}}}))}}else if(!st.some((t=>t.U===n))){st.push({U:n})}}}}if(e.nodeType===1){lt(e)}}};const ot=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const it=t=>{{t.l&&t.l.ref&&t.l.ref(null);t.o&&t.o.map(it)}};const ct=(t,c,f=false)=>{const r=t.C;const u=t.O;const a=t.m||j(null,null);const d=M(c)?c:k(null,null,c);s=r.tagName;if(u.P){d.l=d.l||{};u.P.map((([t,e])=>d.l[e]=r[t]))}if(f&&d.l){for(const t of Object.keys(d.l)){if(r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){d.l[t]=r[t]}}}d.$=null;d.u|=4;t.m=d;d.p=a.p=r.shadowRoot||r;{e=r["s-sc"]}{n=r["s-cr"];l=(u.u&1)!==0;o=false}et(a,d);{zt.u|=1;if(i){lt(d.p);let t;let e;let n;let s;let l;let o;let i=0;for(;i<st.length;i++){t=st[i];e=t.U;if(!e["s-ol"]){n=_t.createTextNode("");n["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=n,e)}}for(i=0;i<st.length;i++){t=st[i];e=t.U;if(t.I){s=t.I.parentNode;l=t.I.nextSibling;n=e["s-ol"];while(n=n.previousSibling){o=n["s-nr"];if(o&&o["s-sn"]===e["s-sn"]&&s===o.parentNode){o=o.nextSibling;if(!o||!o["s-nr"]){l=o;break}}}if(!l&&s!==e.parentNode||e.nextSibling!==l){if(e!==l){if(!e["s-hn"]&&e["s-ol"]){e["s-hn"]=e["s-ol"].parentNode.nodeName}s.insertBefore(e,l)}}}else{if(e.nodeType===1){e.hidden=true}}}}if(o){nt(d.p)}zt.u&=~1;st.length=0}};const ft=(t,e)=>{if(e&&!t.T&&e["s-p"]){e["s-p"].push(new Promise((e=>t.T=e)))}};const rt=(t,e)=>{{t.u|=16}if(t.u&4){t.u|=512;return}ft(t,t.W);const n=()=>ut(t,e);return ee(n)};const ut=(t,e)=>{const n=r("scheduleUpdate",t.O.R);const s=t.L;let l;if(e){{t.u|=256;if(t.N){t.N.map((([t,e])=>mt(s,t,e)));t.N=undefined}}{l=mt(s,"componentWillLoad")}}else{{l=mt(s,"componentWillUpdate")}}{l=at(l,(()=>mt(s,"componentWillRender")))}n();return at(l,(()=>$t(t,s,e)))};const at=(t,e)=>dt(t)?t.then(e):e();const dt=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const $t=async(t,e,n)=>{var s;const l=t.C;const o=r("update",t.O.R);const i=l["s-rc"];if(n){F(t)}const c=r("render",t.O.R);{pt(t,e,l,n)}if(i){i.map((t=>t()));l["s-rc"]=undefined}c();o();{const e=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>ht(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.u|=4;e.length=0}}};const pt=(t,e,n,s)=>{try{e=e.render();{t.u&=~16}{t.u|=2}{{{ct(t,e,s)}}}}catch(e){Dt(e,t.C)}return null};const ht=t=>{const e=t.O.R;const n=t.C;const s=r("postUpdate",e);const l=t.L;const o=t.W;{mt(l,"componentDidRender")}if(!(t.u&64)){t.u|=64;{vt(n)}{mt(l,"componentDidLoad")}s();{t.A(n);if(!o){yt()}}}else{{mt(l,"componentDidUpdate")}s()}{if(t.T){t.T();t.T=undefined}if(t.u&512){te((()=>rt(t,false)))}t.u&=~(4|512)}};const yt=e=>{{vt(_t.documentElement)}te((()=>L(Vt,"appload",{detail:{namespace:t}})))};const mt=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){Dt(t)}}return undefined};const vt=t=>t.classList.add("hydrated");const bt=(t,e)=>Et(t).D.get(e);const wt=(t,e,n,s)=>{const l=Et(t);const o=l.C;const i=l.D.get(e);const c=l.u;const f=l.L;n=T(n,s.F[e][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(c&8)||i===undefined)&&u){l.D.set(e,n);if(f){if(s.H&&c&128){const t=s.H[e];if(t){t.map((t=>{try{f[t](n,i,e)}catch(t){Dt(t,o)}}))}}if((c&(2|16))===2){if(f.componentShouldUpdate){if(f.componentShouldUpdate(n,i,e)===false){return}}rt(l,false)}}}};const gt=(t,e,n)=>{var s;if(e.F){if(t.watchers){e.H=t.watchers}const l=Object.entries(e.F);const o=t.prototype;l.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(o,t,{get(){return bt(this,t)},set(n){wt(this,t,n,e)},configurable:true,enumerable:true})}}));if(n&1){const n=new Map;o.attributeChangedCallback=function(t,s,l){zt.jmp((()=>{const i=n.get(t);if(this.hasOwnProperty(i)){l=this[i];delete this[i]}else if(o.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==l){return}else if(i==null){const n=Et(this);const o=n===null||n===void 0?void 0:n.u;if(!(o&8)&&o&128&&l!==s){const o=n.L;const i=e.H[t];i===null||i===void 0?void 0:i.forEach((e=>{if(o[e]!=null){o[e].call(o,l,s,t)}}))}return}this[i]=l===null&&typeof this[i]==="boolean"?false:l}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=e.H)!==null&&s!==void 0?s:{}),...l.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const l=s[1]||t;n.set(l,t);if(s[0]&512){e.P.push([t,l])}return l}))]))}}return t};const St=async(t,e,n,s,l)=>{if((e.u&32)===0){e.u|=32;{l=Ht(n);if(l.then){const t=u();l=await l;t()}if(!l.isProxied){{n.H=l.watchers}gt(l,n,2);l.isProxied=true}const t=r("createInstance",n.R);{e.u|=8}try{new l(e)}catch(t){Dt(t)}{e.u&=~8}{e.u|=128}t()}if(l.style){let t=l.style;const e=H(n);if(!qt.has(e)){const s=r("registerStyles",n.R);A(e,t,!!(n.u&1));s()}}}const o=e.W;const i=()=>rt(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const kt=t=>{};const jt=t=>{if((zt.u&1)===0){const e=Et(t);const n=e.O;const s=r("connectedCallback",n.R);if(!(e.u&1)){e.u|=1;let s;{s=t.getAttribute(h);if(s){if(n.u&1){const e=D(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}U(t,n.R,s,e)}}if(!s){if(n.u&(4|8)){Ct(t)}}{let n=t;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ft(e,e.W=n);break}}}if(n.F){Object.entries(n.F).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{St(t,e,n)}}else{Rt(t,e,n.q);if(e===null||e===void 0?void 0:e.L);else if(e===null||e===void 0?void 0:e.V){e.V.then((()=>kt()))}}s()}};const Ct=t=>{const e=t["s-cr"]=_t.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const Mt=t=>{{mt(t,"disconnectedCallback")}};const Ot=async t=>{if((zt.u&1)===0){const e=Et(t);{if(e._){e._.map((t=>t()));e._=undefined}}if(e===null||e===void 0?void 0:e.L){Mt(e.L)}else if(e===null||e===void 0?void 0:e.V){e.V.then((()=>Mt(e.L)))}}};const xt=(t,e={})=>{var n;const s=r();const l=[];const o=e.exclude||[];const i=Vt.customElements;const c=_t.head;const f=c.querySelector("meta[charset]");const u=_t.createElement("style");const a=[];const d=_t.querySelectorAll(`[${y}]`);let $;let p=true;let h=0;Object.assign(zt,e);zt.B=new URL(e.resourcesUrl||"./",_t.baseURI).href;{zt.u|=2}{for(;h<d.length;h++){A(d[h].getAttribute(y),q(d[h].innerHTML),true)}}t.map((t=>{t[1].map((e=>{var n;const s={u:e[0],R:e[1],F:e[2],q:e[3]};{s.F=e[2]}{s.q=e[3]}{s.P=[]}{s.H=(n=e[4])!==null&&n!==void 0?n:{}}const c=s.R;const f=class extends HTMLElement{constructor(t){super(t);t=this;Nt(t,s);if(s.u&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if($){clearTimeout($);$=null}if(p){a.push(this)}else{zt.jmp((()=>jt(this)))}}disconnectedCallback(){zt.jmp((()=>Ot(this)))}componentOnReady(){return Et(this).V}};s.G=t[0];if(!o.includes(c)&&!i.get(c)){l.push(c);i.define(c,gt(f,s,1))}}))}));{u.innerHTML=l+v;u.setAttribute("data-styles","");const t=(n=zt.M)!==null&&n!==void 0?n:S(_t);if(t!=null){u.setAttribute("nonce",t)}c.insertBefore(u,f?f.nextSibling:c.firstChild)}p=false;if(a.length){a.map((t=>t.connectedCallback()))}else{{zt.jmp((()=>$=setTimeout(yt,30)))}}s()};const Rt=(t,e,n,s)=>{if(n){n.map((([n,s,l])=>{const o=It(t,n);const i=Ut(e,l);const c=Pt(n);zt.ael(o,s,i,c);(e._=e._||[]).push((()=>zt.rel(o,s,i,c)))}))}};const Ut=(t,e)=>n=>{try{{if(t.u&256){t.L[e](n)}else{(t.N=t.N||[]).push([e,n])}}}catch(t){Dt(t)}};const It=(t,e)=>{if(e&4)return _t;if(e&8)return Vt;if(e&16)return _t.body;return t};const Pt=t=>(t&2)!==0;const Tt=t=>zt.M=t;const Wt=new WeakMap;const Et=t=>Wt.get(t);const Lt=(t,e)=>Wt.set(e.L=t,e);const Nt=(t,e)=>{const n={u:0,C:t,O:e,D:new Map};{n.V=new Promise((t=>n.A=t));t["s-p"]=[];t["s-rc"]=[]}Rt(t,n,e.q);return Wt.set(t,n)};const At=(t,e)=>e in t;const Dt=(t,e)=>(0,console.error)(t,e);const Ft=new Map;const Ht=(t,e,n)=>{const s=t.R.replace(/-/g,"_");const l=t.G;const o=Ft.get(l);if(o){return o[s]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{Ft.set(l,t)}return t[s]}),Dt)};const qt=new Map;const Vt=typeof window!=="undefined"?window:{};const _t=Vt.document||{head:{}};const zt={u:0,B:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Bt=true;const Gt=t=>Promise.resolve(t);const Jt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Kt=[];const Qt=[];const Xt=(t,e)=>n=>{t.push(n);if(!f){f=true;if(e&&zt.u&4){te(Zt)}else{zt.raf(Zt)}}};const Yt=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){Dt(t)}}t.length=0};const Zt=()=>{Yt(Kt);{Yt(Qt);if(f=Kt.length>0){zt.raf(Zt)}}};const te=t=>Gt().then(t);const ee=Xt(Qt,true);export{C as H,xt as b,E as c,W as g,k as h,Gt as p,Lt as r,Tt as s};
|
|
3
|
-
//# sourceMappingURL=p-64b68231.js.map
|