@paperless/core 0.1.0-alpha.334 → 0.1.0-alpha.335
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 +11 -0
- package/dist/{paperless/p-5477db13.entry.js → build/p-0065fc80.entry.js} +2 -2
- package/dist/build/{p-5477db13.entry.js.map → p-0065fc80.entry.js.map} +0 -0
- package/dist/build/{p-38f88fcb.entry.js → p-04fe2be7.entry.js} +2 -2
- package/dist/build/{p-38f88fcb.entry.js.map → p-04fe2be7.entry.js.map} +0 -0
- package/dist/build/{p-b5a51e04.entry.js → p-06c0c17c.entry.js} +2 -2
- package/dist/build/{p-b5a51e04.entry.js.map → p-06c0c17c.entry.js.map} +0 -0
- package/dist/build/p-11e2e81c.entry.js +2 -0
- package/dist/build/{p-fe6db098.entry.js.map → p-11e2e81c.entry.js.map} +1 -1
- package/dist/build/{p-f64106d1.entry.js → p-19c08855.entry.js} +2 -2
- package/dist/build/{p-f64106d1.entry.js.map → p-19c08855.entry.js.map} +0 -0
- package/dist/build/{p-26501e6f.entry.js → p-25ac3f10.entry.js} +2 -2
- package/dist/build/{p-26501e6f.entry.js.map → p-25ac3f10.entry.js.map} +0 -0
- package/dist/{paperless/p-91a42549.entry.js → build/p-32ce71f9.entry.js} +2 -2
- package/dist/build/{p-91a42549.entry.js.map → p-32ce71f9.entry.js.map} +0 -0
- package/dist/build/p-3a1fa184.entry.js +2 -0
- package/dist/{paperless/p-295ef188.entry.js.map → build/p-3a1fa184.entry.js.map} +1 -1
- package/dist/build/p-5ab56199.entry.js +2 -0
- package/dist/build/{p-5f8538e7.entry.js.map → p-5ab56199.entry.js.map} +1 -1
- package/dist/build/p-60b6c14b.entry.js +2 -0
- package/dist/build/{p-db4c03d8.entry.js.map → p-60b6c14b.entry.js.map} +1 -1
- package/dist/build/p-649b1a0a.entry.js +2 -0
- package/dist/build/{p-b54a9bb2.entry.js.map → p-649b1a0a.entry.js.map} +1 -1
- package/dist/build/{p-bcbb18e0.entry.js → p-6645532b.entry.js} +2 -2
- package/dist/build/{p-bcbb18e0.entry.js.map → p-6645532b.entry.js.map} +0 -0
- package/dist/build/{p-8c8f9caa.entry.js → p-6966b84f.entry.js} +2 -2
- package/dist/build/{p-8c8f9caa.entry.js.map → p-6966b84f.entry.js.map} +0 -0
- package/dist/build/p-69d43b9d.js +3 -0
- package/dist/build/p-69d43b9d.js.map +1 -0
- package/dist/build/p-6a5f5cc4.entry.js +2 -0
- package/dist/build/{p-c1ab6e47.entry.js.map → p-6a5f5cc4.entry.js.map} +1 -1
- package/dist/build/p-6a65767e.entry.js +2 -0
- package/dist/build/{p-9f4617e1.entry.js.map → p-6a65767e.entry.js.map} +1 -1
- package/dist/build/{p-142c9878.entry.js → p-71b442d7.entry.js} +2 -2
- package/dist/build/{p-142c9878.entry.js.map → p-71b442d7.entry.js.map} +0 -0
- package/dist/build/p-745b9852.entry.js +2 -0
- package/dist/build/{p-e6561000.entry.js.map → p-745b9852.entry.js.map} +1 -1
- package/dist/build/{p-2336d954.entry.js → p-7e654e16.entry.js} +2 -2
- package/dist/build/{p-2336d954.entry.js.map → p-7e654e16.entry.js.map} +0 -0
- package/dist/{paperless/p-df38fb1d.entry.js → build/p-9066d04f.entry.js} +2 -2
- package/dist/{paperless/p-df38fb1d.entry.js.map → build/p-9066d04f.entry.js.map} +1 -1
- package/dist/{paperless/p-d3d37d1d.entry.js → build/p-94cf7d35.entry.js} +2 -2
- package/dist/{paperless/p-d3d37d1d.entry.js.map → build/p-94cf7d35.entry.js.map} +1 -1
- package/dist/build/p-963d2b2a.entry.js +2 -0
- package/dist/build/{p-ef0622db.entry.js.map → p-963d2b2a.entry.js.map} +1 -1
- package/dist/build/{p-52d7d305.entry.js → p-966917a1.entry.js} +2 -2
- package/dist/build/{p-52d7d305.entry.js.map → p-966917a1.entry.js.map} +0 -0
- package/dist/build/p-97ea9ebe.entry.js +2 -0
- package/dist/build/{p-09a3626c.entry.js.map → p-97ea9ebe.entry.js.map} +1 -1
- package/dist/build/p-9dc6f147.entry.js +2 -0
- package/dist/build/{p-2e66e252.entry.js.map → p-9dc6f147.entry.js.map} +1 -1
- package/dist/build/p-9f88e06d.entry.js +2 -0
- package/dist/{paperless/p-fb277355.entry.js.map → build/p-9f88e06d.entry.js.map} +1 -1
- package/dist/build/p-a206e4cd.entry.js +2 -0
- package/dist/build/{p-8a471962.entry.js.map → p-a206e4cd.entry.js.map} +1 -1
- package/dist/{paperless/p-3fffdc43.entry.js → build/p-a5eb1757.entry.js} +2 -2
- package/dist/build/{p-3fffdc43.entry.js.map → p-a5eb1757.entry.js.map} +0 -0
- package/dist/build/p-a6576739.entry.js +2 -0
- package/dist/{paperless/p-05f976da.entry.js.map → build/p-a6576739.entry.js.map} +1 -1
- package/dist/build/p-ad5ba47b.entry.js +2 -0
- package/dist/build/{p-4539d855.entry.js.map → p-ad5ba47b.entry.js.map} +1 -1
- package/dist/build/p-b4121a02.entry.js +2 -0
- package/dist/{paperless/p-a5133564.entry.js.map → build/p-b4121a02.entry.js.map} +1 -1
- package/dist/build/p-b4616ed4.entry.js +2 -0
- package/dist/build/{p-d85a8835.entry.js.map → p-b4616ed4.entry.js.map} +1 -1
- package/dist/build/p-ba02ea5b.entry.js +2 -0
- package/dist/build/{p-c5a5a394.entry.js.map → p-ba02ea5b.entry.js.map} +1 -1
- package/dist/{paperless/p-0764d32f.entry.js → build/p-bf38e363.entry.js} +2 -2
- package/dist/build/{p-0764d32f.entry.js.map → p-bf38e363.entry.js.map} +0 -0
- package/dist/build/{p-5da19525.entry.js → p-c1e7b677.entry.js} +2 -2
- package/dist/build/{p-5da19525.entry.js.map → p-c1e7b677.entry.js.map} +0 -0
- package/dist/build/p-c770eac3.entry.js +2 -0
- package/dist/build/{p-62543956.entry.js.map → p-c770eac3.entry.js.map} +1 -1
- package/dist/build/p-d774205e.entry.js +2 -0
- package/dist/build/{p-90a0ba40.entry.js.map → p-d774205e.entry.js.map} +1 -1
- package/dist/{paperless/p-dcf862ac.entry.js → build/p-da62f3c0.entry.js} +2 -2
- package/dist/build/{p-dcf862ac.entry.js.map → p-da62f3c0.entry.js.map} +0 -0
- package/dist/build/{p-ce944a28.entry.js → p-eba0b0a5.entry.js} +2 -2
- package/dist/build/{p-ce944a28.entry.js.map → p-eba0b0a5.entry.js.map} +0 -0
- package/dist/build/p-eee779b4.entry.js +2 -0
- package/dist/build/{p-270f2589.entry.js.map → p-eee779b4.entry.js.map} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-0a3162ce.js → index-19716b9c.js} +250 -3
- package/dist/cjs/index-19716b9c.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.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 +2 -2
- package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button_3.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js.map +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 +2 -2
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js +3 -3
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-helper_3.cjs.entry.js +4 -4
- package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-illustration_6.cjs.entry.js +6 -6
- package/dist/cjs/p-illustration_6.cjs.entry.js.map +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/p-label_3.cjs.entry.js +4 -4
- package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +5 -5
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +3 -3
- package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/p-select.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/p-status.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +3 -3
- package/dist/cjs/p-stepper-item_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-group.cjs.entry.js.map +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.cjs.entry.js +2 -2
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
- package/dist/collection/components/atoms/button/button.component.css +1 -1
- package/dist/collection/components/atoms/counter/counter.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- package/dist/collection/components/atoms/label/label.component.css +1 -1
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
- package/dist/collection/components/atoms/status/status.component.css +1 -1
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
- package/dist/collection/components/atoms/tab-group/tab-group.component.css +1 -1
- package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
- package/dist/collection/components/molecules/profile/profile.component.css +1 -1
- package/dist/collection/components/molecules/select/select.component.css +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.css +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/table/table.component.css +1 -1
- package/dist/components/backdrop.component.js +1 -1
- package/dist/components/backdrop.component.js.map +1 -1
- package/dist/components/button.component.js +1 -1
- package/dist/components/button.component.js.map +1 -1
- package/dist/components/counter.component.js +1 -1
- package/dist/components/counter.component.js.map +1 -1
- package/dist/components/divider.component.js +1 -1
- package/dist/components/divider.component.js.map +1 -1
- package/dist/components/dropdown-menu-container.component.js +1 -1
- package/dist/components/dropdown-menu-container.component.js.map +1 -1
- package/dist/components/dropdown-menu-item.component.js +1 -1
- package/dist/components/dropdown-menu-item.component.js.map +1 -1
- package/dist/components/dropdown.component.js +1 -1
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/helper.component.js +1 -1
- package/dist/components/helper.component.js.map +1 -1
- package/dist/components/icon.component.js +1 -1
- package/dist/components/input-group.component.js +1 -1
- package/dist/components/input-group.component.js.map +1 -1
- package/dist/components/label.component.js +1 -1
- package/dist/components/label.component.js.map +1 -1
- package/dist/components/loader.component.js +1 -1
- package/dist/components/loader.component.js.map +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-body.component.js.map +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-container.component.js.map +1 -1
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-footer.component.js.map +1 -1
- package/dist/components/modal-header.component.js +1 -1
- package/dist/components/modal-header.component.js.map +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-info-panel.js.map +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navbar.js.map +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-item.js.map +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-profile.js.map +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-select.js.map +1 -1
- package/dist/components/p-status.js +1 -1
- package/dist/components/p-status.js.map +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-stepper.js.map +1 -1
- package/dist/components/p-tab-group.js +1 -1
- package/dist/components/p-tab-group.js.map +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast-container.js.map +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toast.js.map +1 -1
- package/dist/components/pagination-item.component.js +1 -1
- package/dist/components/pagination-item.component.js.map +1 -1
- package/dist/components/pagination.component.js +1 -1
- package/dist/components/pagination.component.js.map +1 -1
- package/dist/components/segment-container.component.js +1 -1
- package/dist/components/segment-container.component.js.map +1 -1
- package/dist/components/segment-item.component.js +1 -1
- package/dist/components/segment-item.component.js.map +1 -1
- package/dist/components/stepper-item.component.js +1 -1
- package/dist/components/stepper-item.component.js.map +1 -1
- package/dist/components/stepper-line.component.js +1 -1
- package/dist/components/stepper-line.component.js.map +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-cell.component.js.map +1 -1
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-container.component.js.map +1 -1
- package/dist/components/table-footer.component.js +1 -1
- package/dist/components/table-footer.component.js.map +1 -1
- package/dist/components/table-header.component.js +1 -1
- package/dist/components/table-header.component.js.map +1 -1
- package/dist/components/table-row.component.js +1 -1
- package/dist/components/table-row.component.js.map +1 -1
- package/dist/components/tooltip.component.js +1 -1
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/esm/{index-5b62da5c.js → index-8a4a3f2a.js} +250 -3
- package/dist/esm/index-8a4a3f2a.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/p-accordion.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 +2 -2
- package/dist/esm/p-backdrop.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +4 -4
- package/dist/esm/p-button_3.entry.js.map +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 +2 -2
- package/dist/esm/p-counter.entry.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +1 -1
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-divider.entry.js.map +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 +2 -2
- package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
- package/dist/esm/p-dropdown_2.entry.js +3 -3
- package/dist/esm/p-dropdown_2.entry.js.map +1 -1
- package/dist/esm/p-helper_3.entry.js +4 -4
- package/dist/esm/p-helper_3.entry.js.map +1 -1
- package/dist/esm/p-illustration_6.entry.js +6 -6
- package/dist/esm/p-illustration_6.entry.js.map +1 -1
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-info-panel.entry.js.map +1 -1
- package/dist/esm/p-label_3.entry.js +4 -4
- package/dist/esm/p-label_3.entry.js.map +1 -1
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +5 -5
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-modal.entry.js +1 -1
- package/dist/esm/p-navbar.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js.map +1 -1
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-item.entry.js.map +1 -1
- package/dist/esm/p-page-size-select_3.entry.js +3 -3
- package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-profile.entry.js.map +1 -1
- package/dist/esm/p-select.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/p-status.entry.js.map +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +3 -3
- package/dist/esm/p-stepper-item_2.entry.js.map +1 -1
- package/dist/esm/p-stepper.entry.js +2 -2
- package/dist/esm/p-stepper.entry.js.map +1 -1
- package/dist/esm/p-tab-group.entry.js +2 -2
- package/dist/esm/p-tab-group.entry.js.map +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.entry.js +2 -2
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toast-container.entry.js.map +1 -1
- package/dist/esm/p-toast.entry.js +2 -2
- package/dist/esm/p-toast.entry.js.map +1 -1
- package/dist/esm/paperless.js +2 -2
- package/dist/index.html +1 -1
- package/dist/{build/p-5477db13.entry.js → paperless/p-0065fc80.entry.js} +2 -2
- package/dist/paperless/{p-5477db13.entry.js.map → p-0065fc80.entry.js.map} +0 -0
- package/dist/paperless/{p-38f88fcb.entry.js → p-04fe2be7.entry.js} +2 -2
- package/dist/paperless/{p-38f88fcb.entry.js.map → p-04fe2be7.entry.js.map} +0 -0
- package/dist/paperless/{p-b5a51e04.entry.js → p-06c0c17c.entry.js} +2 -2
- package/dist/paperless/{p-b5a51e04.entry.js.map → p-06c0c17c.entry.js.map} +0 -0
- package/dist/paperless/p-11e2e81c.entry.js +2 -0
- package/dist/paperless/{p-fe6db098.entry.js.map → p-11e2e81c.entry.js.map} +1 -1
- package/dist/paperless/{p-f64106d1.entry.js → p-19c08855.entry.js} +2 -2
- package/dist/paperless/{p-f64106d1.entry.js.map → p-19c08855.entry.js.map} +0 -0
- package/dist/paperless/{p-26501e6f.entry.js → p-25ac3f10.entry.js} +2 -2
- package/dist/paperless/{p-26501e6f.entry.js.map → p-25ac3f10.entry.js.map} +0 -0
- package/dist/{build/p-91a42549.entry.js → paperless/p-32ce71f9.entry.js} +2 -2
- package/dist/paperless/{p-91a42549.entry.js.map → p-32ce71f9.entry.js.map} +0 -0
- package/dist/paperless/p-3a1fa184.entry.js +2 -0
- package/dist/{build/p-295ef188.entry.js.map → paperless/p-3a1fa184.entry.js.map} +1 -1
- package/dist/paperless/p-5ab56199.entry.js +2 -0
- package/dist/paperless/{p-5f8538e7.entry.js.map → p-5ab56199.entry.js.map} +1 -1
- package/dist/paperless/p-60b6c14b.entry.js +2 -0
- package/dist/paperless/{p-db4c03d8.entry.js.map → p-60b6c14b.entry.js.map} +1 -1
- package/dist/paperless/p-649b1a0a.entry.js +2 -0
- package/dist/paperless/{p-b54a9bb2.entry.js.map → p-649b1a0a.entry.js.map} +1 -1
- package/dist/paperless/{p-bcbb18e0.entry.js → p-6645532b.entry.js} +2 -2
- package/dist/paperless/{p-bcbb18e0.entry.js.map → p-6645532b.entry.js.map} +0 -0
- package/dist/paperless/{p-8c8f9caa.entry.js → p-6966b84f.entry.js} +2 -2
- package/dist/paperless/{p-8c8f9caa.entry.js.map → p-6966b84f.entry.js.map} +0 -0
- package/dist/paperless/p-69d43b9d.js +3 -0
- package/dist/paperless/p-69d43b9d.js.map +1 -0
- package/dist/paperless/p-6a5f5cc4.entry.js +2 -0
- package/dist/paperless/{p-c1ab6e47.entry.js.map → p-6a5f5cc4.entry.js.map} +1 -1
- package/dist/paperless/p-6a65767e.entry.js +2 -0
- package/dist/paperless/{p-9f4617e1.entry.js.map → p-6a65767e.entry.js.map} +1 -1
- package/dist/paperless/{p-142c9878.entry.js → p-71b442d7.entry.js} +2 -2
- package/dist/paperless/{p-142c9878.entry.js.map → p-71b442d7.entry.js.map} +0 -0
- package/dist/paperless/p-745b9852.entry.js +2 -0
- package/dist/paperless/{p-e6561000.entry.js.map → p-745b9852.entry.js.map} +1 -1
- package/dist/paperless/{p-2336d954.entry.js → p-7e654e16.entry.js} +2 -2
- package/dist/paperless/{p-2336d954.entry.js.map → p-7e654e16.entry.js.map} +0 -0
- package/dist/{build/p-df38fb1d.entry.js → paperless/p-9066d04f.entry.js} +2 -2
- package/dist/{build/p-df38fb1d.entry.js.map → paperless/p-9066d04f.entry.js.map} +1 -1
- package/dist/{build/p-d3d37d1d.entry.js → paperless/p-94cf7d35.entry.js} +2 -2
- package/dist/{build/p-d3d37d1d.entry.js.map → paperless/p-94cf7d35.entry.js.map} +1 -1
- package/dist/paperless/p-963d2b2a.entry.js +2 -0
- package/dist/paperless/{p-ef0622db.entry.js.map → p-963d2b2a.entry.js.map} +1 -1
- package/dist/paperless/{p-52d7d305.entry.js → p-966917a1.entry.js} +2 -2
- package/dist/paperless/{p-52d7d305.entry.js.map → p-966917a1.entry.js.map} +0 -0
- package/dist/paperless/p-97ea9ebe.entry.js +2 -0
- package/dist/paperless/{p-09a3626c.entry.js.map → p-97ea9ebe.entry.js.map} +1 -1
- package/dist/paperless/p-9dc6f147.entry.js +2 -0
- package/dist/paperless/{p-2e66e252.entry.js.map → p-9dc6f147.entry.js.map} +1 -1
- package/dist/paperless/p-9f88e06d.entry.js +2 -0
- package/dist/{build/p-fb277355.entry.js.map → paperless/p-9f88e06d.entry.js.map} +1 -1
- package/dist/paperless/p-a206e4cd.entry.js +2 -0
- package/dist/paperless/{p-8a471962.entry.js.map → p-a206e4cd.entry.js.map} +1 -1
- package/dist/{build/p-3fffdc43.entry.js → paperless/p-a5eb1757.entry.js} +2 -2
- package/dist/paperless/{p-3fffdc43.entry.js.map → p-a5eb1757.entry.js.map} +0 -0
- package/dist/paperless/p-a6576739.entry.js +2 -0
- package/dist/{build/p-05f976da.entry.js.map → paperless/p-a6576739.entry.js.map} +1 -1
- package/dist/paperless/p-ad5ba47b.entry.js +2 -0
- package/dist/paperless/{p-4539d855.entry.js.map → p-ad5ba47b.entry.js.map} +1 -1
- package/dist/paperless/p-b4121a02.entry.js +2 -0
- package/dist/{build/p-a5133564.entry.js.map → paperless/p-b4121a02.entry.js.map} +1 -1
- package/dist/paperless/p-b4616ed4.entry.js +2 -0
- package/dist/paperless/{p-d85a8835.entry.js.map → p-b4616ed4.entry.js.map} +1 -1
- package/dist/paperless/p-ba02ea5b.entry.js +2 -0
- package/dist/paperless/{p-c5a5a394.entry.js.map → p-ba02ea5b.entry.js.map} +1 -1
- package/dist/{build/p-0764d32f.entry.js → paperless/p-bf38e363.entry.js} +2 -2
- package/dist/paperless/{p-0764d32f.entry.js.map → p-bf38e363.entry.js.map} +0 -0
- package/dist/paperless/{p-5da19525.entry.js → p-c1e7b677.entry.js} +2 -2
- package/dist/paperless/{p-5da19525.entry.js.map → p-c1e7b677.entry.js.map} +0 -0
- package/dist/paperless/p-c770eac3.entry.js +2 -0
- package/dist/paperless/{p-62543956.entry.js.map → p-c770eac3.entry.js.map} +1 -1
- package/dist/paperless/p-d774205e.entry.js +2 -0
- package/dist/paperless/{p-90a0ba40.entry.js.map → p-d774205e.entry.js.map} +1 -1
- package/dist/{build/p-dcf862ac.entry.js → paperless/p-da62f3c0.entry.js} +2 -2
- package/dist/paperless/{p-dcf862ac.entry.js.map → p-da62f3c0.entry.js.map} +0 -0
- package/dist/paperless/{p-ce944a28.entry.js → p-eba0b0a5.entry.js} +2 -2
- package/dist/paperless/{p-ce944a28.entry.js.map → p-eba0b0a5.entry.js.map} +0 -0
- package/dist/paperless/p-eee779b4.entry.js +2 -0
- package/dist/paperless/{p-270f2589.entry.js.map → p-eee779b4.entry.js.map} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/package.json +4 -4
- package/dist/build/p-05f976da.entry.js +0 -2
- package/dist/build/p-09a3626c.entry.js +0 -2
- package/dist/build/p-270f2589.entry.js +0 -2
- package/dist/build/p-295ef188.entry.js +0 -2
- package/dist/build/p-2e66e252.entry.js +0 -2
- package/dist/build/p-4539d855.entry.js +0 -2
- package/dist/build/p-5f8538e7.entry.js +0 -2
- package/dist/build/p-62543956.entry.js +0 -2
- package/dist/build/p-8a471962.entry.js +0 -2
- package/dist/build/p-90a0ba40.entry.js +0 -2
- package/dist/build/p-9f4617e1.entry.js +0 -2
- package/dist/build/p-a5133564.entry.js +0 -2
- package/dist/build/p-b54a9bb2.entry.js +0 -2
- package/dist/build/p-c1ab6e47.entry.js +0 -2
- package/dist/build/p-c432f3f6.js +0 -3
- package/dist/build/p-c432f3f6.js.map +0 -1
- package/dist/build/p-c5a5a394.entry.js +0 -2
- package/dist/build/p-d85a8835.entry.js +0 -2
- package/dist/build/p-db4c03d8.entry.js +0 -2
- package/dist/build/p-e6561000.entry.js +0 -2
- package/dist/build/p-ef0622db.entry.js +0 -2
- package/dist/build/p-fb277355.entry.js +0 -2
- package/dist/build/p-fe6db098.entry.js +0 -2
- package/dist/cjs/index-0a3162ce.js.map +0 -1
- package/dist/esm/index-5b62da5c.js.map +0 -1
- package/dist/paperless/p-05f976da.entry.js +0 -2
- package/dist/paperless/p-09a3626c.entry.js +0 -2
- package/dist/paperless/p-270f2589.entry.js +0 -2
- package/dist/paperless/p-295ef188.entry.js +0 -2
- package/dist/paperless/p-2e66e252.entry.js +0 -2
- package/dist/paperless/p-4539d855.entry.js +0 -2
- package/dist/paperless/p-5f8538e7.entry.js +0 -2
- package/dist/paperless/p-62543956.entry.js +0 -2
- package/dist/paperless/p-8a471962.entry.js +0 -2
- package/dist/paperless/p-90a0ba40.entry.js +0 -2
- package/dist/paperless/p-9f4617e1.entry.js +0 -2
- package/dist/paperless/p-a5133564.entry.js +0 -2
- package/dist/paperless/p-b54a9bb2.entry.js +0 -2
- package/dist/paperless/p-c1ab6e47.entry.js +0 -2
- package/dist/paperless/p-c432f3f6.js +0 -3
- package/dist/paperless/p-c432f3f6.js.map +0 -1
- package/dist/paperless/p-c5a5a394.entry.js +0 -2
- package/dist/paperless/p-d85a8835.entry.js +0 -2
- package/dist/paperless/p-db4c03d8.entry.js +0 -2
- package/dist/paperless/p-e6561000.entry.js +0 -2
- package/dist/paperless/p-ef0622db.entry.js +0 -2
- package/dist/paperless/p-fb277355.entry.js +0 -2
- package/dist/paperless/p-fe6db098.entry.js +0 -2
|
@@ -30,6 +30,13 @@ const uniqueTime = (key, measureText) => {
|
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
+
const CONTENT_REF_ID = 'r';
|
|
34
|
+
const ORG_LOCATION_ID = 'o';
|
|
35
|
+
const SLOT_NODE_ID = 's';
|
|
36
|
+
const TEXT_NODE_ID = 't';
|
|
37
|
+
const HYDRATE_ID = 's-id';
|
|
38
|
+
const HYDRATED_STYLE_ID = 'sty-id';
|
|
39
|
+
const HYDRATE_CHILD_ID = 'c-id';
|
|
33
40
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
34
41
|
/**
|
|
35
42
|
* Default style mode id
|
|
@@ -211,6 +218,211 @@ const convertToPrivate = (node) => {
|
|
|
211
218
|
vnode.$name$ = node.vname;
|
|
212
219
|
return vnode;
|
|
213
220
|
};
|
|
221
|
+
const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
222
|
+
const endHydrate = createTime('hydrateClient', tagName);
|
|
223
|
+
const shadowRoot = hostElm.shadowRoot;
|
|
224
|
+
const childRenderNodes = [];
|
|
225
|
+
const slotNodes = [];
|
|
226
|
+
const shadowRootNodes = shadowRoot ? [] : null;
|
|
227
|
+
const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
|
|
228
|
+
if (!plt.$orgLocNodes$) {
|
|
229
|
+
initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
|
|
230
|
+
}
|
|
231
|
+
hostElm[HYDRATE_ID] = hostId;
|
|
232
|
+
hostElm.removeAttribute(HYDRATE_ID);
|
|
233
|
+
clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
|
|
234
|
+
childRenderNodes.map((c) => {
|
|
235
|
+
const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
|
|
236
|
+
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
237
|
+
const node = c.$elm$;
|
|
238
|
+
if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
|
|
239
|
+
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
240
|
+
}
|
|
241
|
+
if (!shadowRoot) {
|
|
242
|
+
node['s-hn'] = tagName;
|
|
243
|
+
if (orgLocationNode) {
|
|
244
|
+
node['s-ol'] = orgLocationNode;
|
|
245
|
+
node['s-ol']['s-nr'] = node;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
249
|
+
});
|
|
250
|
+
if (shadowRoot) {
|
|
251
|
+
shadowRootNodes.map((shadowRootNode) => {
|
|
252
|
+
if (shadowRootNode) {
|
|
253
|
+
shadowRoot.appendChild(shadowRootNode);
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
endHydrate();
|
|
258
|
+
};
|
|
259
|
+
const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
|
|
260
|
+
let childNodeType;
|
|
261
|
+
let childIdSplt;
|
|
262
|
+
let childVNode;
|
|
263
|
+
let i;
|
|
264
|
+
if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
265
|
+
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
266
|
+
if (childNodeType) {
|
|
267
|
+
// got the node data from the element's attribute
|
|
268
|
+
// `${hostId}.${nodeId}.${depth}.${index}`
|
|
269
|
+
childIdSplt = childNodeType.split('.');
|
|
270
|
+
if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
|
|
271
|
+
childVNode = {
|
|
272
|
+
$flags$: 0,
|
|
273
|
+
$hostId$: childIdSplt[0],
|
|
274
|
+
$nodeId$: childIdSplt[1],
|
|
275
|
+
$depth$: childIdSplt[2],
|
|
276
|
+
$index$: childIdSplt[3],
|
|
277
|
+
$tag$: node.tagName.toLowerCase(),
|
|
278
|
+
$elm$: node,
|
|
279
|
+
$attrs$: null,
|
|
280
|
+
$children$: null,
|
|
281
|
+
$key$: null,
|
|
282
|
+
$name$: null,
|
|
283
|
+
$text$: null,
|
|
284
|
+
};
|
|
285
|
+
childRenderNodes.push(childVNode);
|
|
286
|
+
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
287
|
+
// this is a new child vnode
|
|
288
|
+
// so ensure its parent vnode has the vchildren array
|
|
289
|
+
if (!parentVNode.$children$) {
|
|
290
|
+
parentVNode.$children$ = [];
|
|
291
|
+
}
|
|
292
|
+
// add our child vnode to a specific index of the vnode's children
|
|
293
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
294
|
+
// this is now the new parent vnode for all the next child checks
|
|
295
|
+
parentVNode = childVNode;
|
|
296
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
297
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
// recursively drill down, end to start so we can remove nodes
|
|
302
|
+
for (i = node.childNodes.length - 1; i >= 0; i--) {
|
|
303
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
|
|
304
|
+
}
|
|
305
|
+
if (node.shadowRoot) {
|
|
306
|
+
// keep drilling down through the shadow root nodes
|
|
307
|
+
for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
|
|
308
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
|
|
313
|
+
// `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
|
|
314
|
+
childIdSplt = node.nodeValue.split('.');
|
|
315
|
+
if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
|
|
316
|
+
// comment node for either the host id or a 0 host id
|
|
317
|
+
childNodeType = childIdSplt[0];
|
|
318
|
+
childVNode = {
|
|
319
|
+
$flags$: 0,
|
|
320
|
+
$hostId$: childIdSplt[1],
|
|
321
|
+
$nodeId$: childIdSplt[2],
|
|
322
|
+
$depth$: childIdSplt[3],
|
|
323
|
+
$index$: childIdSplt[4],
|
|
324
|
+
$elm$: node,
|
|
325
|
+
$attrs$: null,
|
|
326
|
+
$children$: null,
|
|
327
|
+
$key$: null,
|
|
328
|
+
$name$: null,
|
|
329
|
+
$tag$: null,
|
|
330
|
+
$text$: null,
|
|
331
|
+
};
|
|
332
|
+
if (childNodeType === TEXT_NODE_ID) {
|
|
333
|
+
childVNode.$elm$ = node.nextSibling;
|
|
334
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {
|
|
335
|
+
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
336
|
+
childRenderNodes.push(childVNode);
|
|
337
|
+
// remove the text comment since it's no longer needed
|
|
338
|
+
node.remove();
|
|
339
|
+
if (!parentVNode.$children$) {
|
|
340
|
+
parentVNode.$children$ = [];
|
|
341
|
+
}
|
|
342
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
343
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
344
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
else if (childVNode.$hostId$ === hostId) {
|
|
349
|
+
// this comment node is specifcally for this host id
|
|
350
|
+
if (childNodeType === SLOT_NODE_ID) {
|
|
351
|
+
// `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
|
|
352
|
+
childVNode.$tag$ = 'slot';
|
|
353
|
+
if (childIdSplt[5]) {
|
|
354
|
+
node['s-sn'] = childVNode.$name$ = childIdSplt[5];
|
|
355
|
+
}
|
|
356
|
+
else {
|
|
357
|
+
node['s-sn'] = '';
|
|
358
|
+
}
|
|
359
|
+
node['s-sr'] = true;
|
|
360
|
+
if (shadowRootNodes) {
|
|
361
|
+
// browser support shadowRoot and this is a shadow dom component
|
|
362
|
+
// create an actual slot element
|
|
363
|
+
childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
364
|
+
if (childVNode.$name$) {
|
|
365
|
+
// add the slot name attribute
|
|
366
|
+
childVNode.$elm$.setAttribute('name', childVNode.$name$);
|
|
367
|
+
}
|
|
368
|
+
// insert the new slot element before the slot comment
|
|
369
|
+
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
370
|
+
// remove the slot comment since it's not needed for shadow
|
|
371
|
+
node.remove();
|
|
372
|
+
if (childVNode.$depth$ === '0') {
|
|
373
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
slotNodes.push(childVNode);
|
|
377
|
+
if (!parentVNode.$children$) {
|
|
378
|
+
parentVNode.$children$ = [];
|
|
379
|
+
}
|
|
380
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
381
|
+
}
|
|
382
|
+
else if (childNodeType === CONTENT_REF_ID) {
|
|
383
|
+
// `${CONTENT_REF_ID}.${hostId}`;
|
|
384
|
+
if (shadowRootNodes) {
|
|
385
|
+
// remove the content ref comment since it's not needed for shadow
|
|
386
|
+
node.remove();
|
|
387
|
+
}
|
|
388
|
+
else {
|
|
389
|
+
hostElm['s-cr'] = node;
|
|
390
|
+
node['s-cn'] = true;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
else if (parentVNode && parentVNode.$tag$ === 'style') {
|
|
397
|
+
const vnode = newVNode(null, node.textContent);
|
|
398
|
+
vnode.$elm$ = node;
|
|
399
|
+
vnode.$index$ = '0';
|
|
400
|
+
parentVNode.$children$ = [vnode];
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
const initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
404
|
+
if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
405
|
+
let i = 0;
|
|
406
|
+
for (; i < node.childNodes.length; i++) {
|
|
407
|
+
initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
|
|
408
|
+
}
|
|
409
|
+
if (node.shadowRoot) {
|
|
410
|
+
for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
|
|
411
|
+
initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
|
|
416
|
+
const childIdSplt = node.nodeValue.split('.');
|
|
417
|
+
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
418
|
+
orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
|
|
419
|
+
node.nodeValue = '';
|
|
420
|
+
// useful to know if the original location is
|
|
421
|
+
// the root light-dom of a shadow dom component
|
|
422
|
+
node['s-en'] = childIdSplt[3];
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
};
|
|
214
426
|
/**
|
|
215
427
|
* Parse a new property value for a given property type.
|
|
216
428
|
*
|
|
@@ -317,7 +529,12 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
317
529
|
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
318
530
|
}
|
|
319
531
|
if (!appliedStyles.has(scopeId)) {
|
|
320
|
-
|
|
532
|
+
if (styleContainerNode.host &&
|
|
533
|
+
(styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
|
|
534
|
+
// This is only happening on native shadow-dom, do not needs CSS var shim
|
|
535
|
+
styleElm.innerHTML = style;
|
|
536
|
+
}
|
|
537
|
+
else {
|
|
321
538
|
// TODO(STENCIL-659): Remove code implementing the CSS variable shim
|
|
322
539
|
{
|
|
323
540
|
styleElm = doc.createElement('style');
|
|
@@ -362,6 +579,7 @@ const attachStyles = (hostRef) => {
|
|
|
362
579
|
endAttachStyles();
|
|
363
580
|
};
|
|
364
581
|
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
582
|
+
const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{');
|
|
365
583
|
/**
|
|
366
584
|
* Production setAccessor() function based on Preact by
|
|
367
585
|
* Jason Miller (@developit)
|
|
@@ -1658,7 +1876,18 @@ const connectedCallback = (elm) => {
|
|
|
1658
1876
|
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
1659
1877
|
// first time this component has connected
|
|
1660
1878
|
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
1879
|
+
let hostId;
|
|
1661
1880
|
{
|
|
1881
|
+
hostId = elm.getAttribute(HYDRATE_ID);
|
|
1882
|
+
if (hostId) {
|
|
1883
|
+
if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
1884
|
+
const scopeId = addStyle(elm.shadowRoot, cmpMeta);
|
|
1885
|
+
elm.classList.remove(scopeId + '-h', scopeId + '-s');
|
|
1886
|
+
}
|
|
1887
|
+
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
if (!hostId) {
|
|
1662
1891
|
// initUpdate
|
|
1663
1892
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1664
1893
|
// in here to act as original content anchors as we move nodes around
|
|
@@ -1675,7 +1904,10 @@ const connectedCallback = (elm) => {
|
|
|
1675
1904
|
while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
|
|
1676
1905
|
// climb up the ancestors looking for the first
|
|
1677
1906
|
// component that hasn't finished its lifecycle update yet
|
|
1678
|
-
if (ancestorComponent
|
|
1907
|
+
if ((ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
|
|
1908
|
+
ancestorComponent.hasAttribute('s-id') &&
|
|
1909
|
+
ancestorComponent['s-p']) ||
|
|
1910
|
+
ancestorComponent['s-p']) {
|
|
1679
1911
|
// we found this components first ancestor component
|
|
1680
1912
|
// keep a reference to this component's ancestor component
|
|
1681
1913
|
attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
|
|
@@ -1743,10 +1975,22 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1743
1975
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
1744
1976
|
const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
|
|
1745
1977
|
const deferredConnectedCallbacks = [];
|
|
1978
|
+
const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
1746
1979
|
let appLoadFallback;
|
|
1747
1980
|
let isBootstrapping = true;
|
|
1981
|
+
let i = 0;
|
|
1748
1982
|
Object.assign(plt, options);
|
|
1749
1983
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1984
|
+
{
|
|
1985
|
+
// If the app is already hydrated there is not point to disable the
|
|
1986
|
+
// async queue. This will improve the first input delay
|
|
1987
|
+
plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;
|
|
1988
|
+
}
|
|
1989
|
+
{
|
|
1990
|
+
for (; i < styles.length; i++) {
|
|
1991
|
+
registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1750
1994
|
lazyBundles.map((lazyBundle) => {
|
|
1751
1995
|
lazyBundle[1].map((compactMeta) => {
|
|
1752
1996
|
const cmpMeta = {
|
|
@@ -2101,6 +2345,9 @@ const plt = {
|
|
|
2101
2345
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2102
2346
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2103
2347
|
};
|
|
2348
|
+
const supportsShadow =
|
|
2349
|
+
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
2350
|
+
true;
|
|
2104
2351
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
2105
2352
|
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2106
2353
|
try {
|
|
@@ -2156,4 +2403,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
|
2156
2403
|
|
|
2157
2404
|
export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
2158
2405
|
|
|
2159
|
-
//# sourceMappingURL=index-
|
|
2406
|
+
//# sourceMappingURL=index-8a4a3f2a.js.map
|