@paperless/core 0.1.0-alpha.280 → 0.1.0-alpha.282
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 +22 -0
- package/dist/build/p-07f28695.entry.js +1 -0
- package/dist/build/p-105940d9.entry.js +1 -0
- package/dist/build/p-12f5c483.entry.js +1 -0
- package/dist/build/{p-ad147b1b.entry.js → p-1ba7cadc.entry.js} +1 -1
- package/dist/build/{p-62e0ed1a.entry.js → p-1c0ec278.entry.js} +1 -1
- package/dist/build/{p-9bb7534a.entry.js → p-29388966.entry.js} +1 -1
- package/dist/build/p-2e47afc7.entry.js +1 -0
- package/dist/build/p-35c1d905.entry.js +1 -0
- package/dist/build/{p-c11282d2.entry.js → p-3946e0a3.entry.js} +1 -1
- package/dist/build/p-39e63e42.entry.js +1 -0
- package/dist/{paperless/p-7e40c097.entry.js → build/p-48fd3cac.entry.js} +1 -1
- package/dist/build/p-529ccaf7.entry.js +1 -0
- package/dist/build/{p-bd31605b.entry.js → p-530ddb38.entry.js} +1 -1
- package/dist/build/p-56c90fca.entry.js +1 -0
- package/dist/build/p-5e574eab.entry.js +1 -0
- package/dist/build/p-62d49606.entry.js +1 -0
- package/dist/build/p-63de1c3d.entry.js +1 -0
- package/dist/build/p-644e6762.entry.js +1 -0
- package/dist/build/p-6cc16633.entry.js +1 -0
- package/dist/build/p-700b5ce6.entry.js +1 -0
- package/dist/build/{p-600a2f21.entry.js → p-7df6230f.entry.js} +1 -1
- package/dist/build/p-8f4ba2d4.entry.js +1 -0
- package/dist/build/p-91d032b2.entry.js +1 -0
- package/dist/build/{p-4588a510.entry.js → p-9315c1e2.entry.js} +1 -1
- package/dist/build/p-98e3dcd7.entry.js +1 -0
- package/dist/build/p-9f273f07.entry.js +1 -0
- package/dist/build/{p-52ab1f62.entry.js → p-ac5a17c4.entry.js} +1 -1
- package/dist/build/p-b3363052.entry.js +1 -0
- package/dist/build/p-b4af4b21.entry.js +1 -0
- package/dist/build/p-b8dd503c.entry.js +1 -0
- package/dist/build/p-c2da342f.entry.js +1 -0
- package/dist/build/p-c9f2fa8f.js +2 -0
- package/dist/build/p-d2cf5ab2.entry.js +1 -0
- package/dist/build/p-d3eb4901.entry.js +1 -0
- package/dist/build/p-dbb409ab.entry.js +1 -0
- package/dist/build/{p-44d46765.entry.js → p-f499f696.entry.js} +1 -1
- package/dist/build/p-f86fcdf4.js +1 -0
- package/dist/build/p-fa3216a5.entry.js +1 -0
- package/dist/build/paperless.css +1 -392
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-cf92051a.js → index-195002a8.js} +454 -269
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/p-accordion.cjs.entry.js +2 -10
- package/dist/cjs/p-avatar-group.cjs.entry.js +3 -2
- package/dist/cjs/p-avatar.cjs.entry.js +5 -8
- package/dist/cjs/p-backdrop.cjs.entry.js +4 -9
- package/dist/cjs/p-button_3.cjs.entry.js +14 -51
- package/dist/cjs/p-card-body.cjs.entry.js +1 -4
- package/dist/cjs/p-card-container.cjs.entry.js +2 -8
- package/dist/cjs/p-card-header.cjs.entry.js +2 -4
- package/dist/cjs/p-content-slider.cjs.entry.js +5 -16
- package/dist/cjs/p-counter.cjs.entry.js +2 -8
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +6 -11
- package/dist/cjs/p-drawer.cjs.entry.js +18 -18
- package/dist/cjs/p-dropdown_3.cjs.entry.js +8 -36
- package/dist/cjs/p-helper_2.cjs.entry.js +5 -26
- package/dist/cjs/p-illustration_6.cjs.entry.js +27 -78
- package/dist/cjs/p-info-panel.cjs.entry.js +3 -7
- package/dist/cjs/p-input-group_4.cjs.entry.js +19 -31
- package/dist/cjs/p-layout.cjs.entry.js +2 -5
- package/dist/cjs/p-modal-body_4.cjs.entry.js +7 -15
- package/dist/cjs/p-modal.cjs.entry.js +19 -28
- package/dist/cjs/p-navbar.cjs.entry.js +3 -9
- package/dist/cjs/p-navigation-item.cjs.entry.js +6 -5
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +6 -41
- package/dist/cjs/p-profile.cjs.entry.js +2 -8
- package/dist/cjs/p-select.cjs.entry.js +12 -29
- package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -4
- package/dist/cjs/p-status.cjs.entry.js +4 -4
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +3 -21
- package/dist/cjs/p-stepper.cjs.entry.js +1 -7
- package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -4
- package/dist/cjs/p-table-column.cjs.entry.js +3 -13
- package/dist/cjs/p-table.cjs.entry.js +11 -56
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -5
- package/dist/cjs/p-toast.cjs.entry.js +6 -11
- package/dist/cjs/paperless.cjs.js +3 -3
- package/dist/cjs/{popper-e0c4ed4c.js → popper-d7a0f999.js} +60 -49
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/atoms/avatar/avatar.component.css +1 -27
- package/dist/collection/components/atoms/avatar/avatar.component.js +97 -91
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -18
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -31
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -16
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +98 -76
- package/dist/collection/components/atoms/button/button.component.css +1 -131
- package/dist/collection/components/atoms/button/button.component.js +300 -319
- package/dist/collection/components/atoms/card-body/card-body.component.css +1 -9
- package/dist/collection/components/atoms/card-body/card-body.component.js +34 -32
- package/dist/collection/components/atoms/card-container/card-container.component.css +1 -17
- package/dist/collection/components/atoms/card-container/card-container.component.js +51 -52
- package/dist/collection/components/atoms/card-header/card-header.component.css +1 -17
- package/dist/collection/components/atoms/card-header/card-header.component.js +51 -51
- package/dist/collection/components/atoms/counter/counter.component.css +1 -30
- package/dist/collection/components/atoms/counter/counter.component.js +51 -52
- package/dist/collection/components/atoms/divider/divider.component.css +1 -10
- package/dist/collection/components/atoms/divider/divider.component.js +12 -11
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -5
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +34 -32
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -7
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +37 -9
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -10
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +54 -51
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -8
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +34 -32
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -16
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +72 -74
- package/dist/collection/components/atoms/helper/helper.component.css +1 -7
- package/dist/collection/components/atoms/helper/helper.component.js +38 -39
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +98 -100
- package/dist/collection/components/atoms/illustration/illustration.component.js +28 -23
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -28
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +85 -89
- package/dist/collection/components/atoms/label/label.component.css +1 -101
- package/dist/collection/components/atoms/label/label.component.js +149 -156
- package/dist/collection/components/atoms/layout/layout.component.css +1 -73
- package/dist/collection/components/atoms/layout/layout.component.js +34 -38
- package/dist/collection/components/atoms/loader/loader.component.css +1 -52
- package/dist/collection/components/atoms/loader/loader.component.js +108 -113
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -7
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +34 -32
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -6
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +52 -31
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -4
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +12 -10
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -7
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +54 -52
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -16
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +34 -32
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -6
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +12 -9
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -17
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +96 -90
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -7
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +33 -30
- package/dist/collection/components/atoms/status/status.component.css +1 -16
- package/dist/collection/components/atoms/status/status.component.js +97 -93
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -59
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +85 -94
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -18
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +50 -50
- package/dist/collection/components/atoms/tab-group/tab-group.component.css +1 -9
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +12 -11
- package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -10
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +34 -32
- package/dist/collection/components/atoms/table-container/table-container.component.css +1 -5
- package/dist/collection/components/atoms/table-container/table-container.component.js +12 -9
- package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -27
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +34 -32
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -43
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +184 -197
- package/dist/collection/components/helpers/table-column/table-column.component.js +128 -135
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -3
- package/dist/collection/components/molecules/accordion/accordion.component.js +102 -108
- package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -44
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +119 -125
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -12
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +194 -206
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -324
- package/dist/collection/components/molecules/input-group/input-group.component.js +276 -281
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -22
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +106 -104
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +161 -180
- package/dist/collection/components/molecules/pagination/pagination.component.css +1 -3
- package/dist/collection/components/molecules/pagination/pagination.component.js +116 -114
- package/dist/collection/components/molecules/profile/profile.component.css +1 -60
- package/dist/collection/components/molecules/profile/profile.component.js +57 -63
- package/dist/collection/components/molecules/select/select.component.css +1 -6
- package/dist/collection/components/molecules/select/select.component.js +418 -426
- package/dist/collection/components/molecules/stepper/stepper.component.css +1 -12
- package/dist/collection/components/molecules/stepper/stepper.component.js +50 -50
- package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -3
- package/dist/collection/components/molecules/table-cell/table-cell.component.js +160 -156
- package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -30
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +219 -233
- package/dist/collection/components/molecules/table-header/table-header.component.css +1 -16
- package/dist/collection/components/molecules/table-header/table-header.component.js +296 -321
- package/dist/collection/components/molecules/table-row/table-row.component.css +1 -21
- package/dist/collection/components/molecules/table-row/table-row.component.js +51 -54
- package/dist/collection/components/molecules/toast/toast.component.css +1 -23
- package/dist/collection/components/molecules/toast/toast.component.js +168 -169
- package/dist/collection/components/organisms/drawer/drawer.component.js +147 -128
- package/dist/collection/components/organisms/modal/modal.component.js +206 -197
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -54
- package/dist/collection/components/organisms/navbar/navbar.component.js +71 -81
- package/dist/collection/components/organisms/table/table.component.css +1 -3
- package/dist/collection/components/organisms/table/table.component.js +828 -869
- package/dist/collection/tailwind/animation.js +64 -4
- package/dist/components/backdrop.component.js +5 -9
- package/dist/components/button.component.js +6 -28
- package/dist/components/counter.component.js +1 -7
- package/dist/components/divider.component.js +1 -1
- package/dist/components/drawer-body.component.js +1 -4
- package/dist/components/drawer-container.component.js +6 -3
- package/dist/components/drawer-header.component.js +1 -4
- package/dist/components/dropdown-menu-container.component.js +1 -4
- package/dist/components/dropdown-menu-item.component.js +2 -7
- package/dist/components/dropdown.component.js +3 -23
- package/dist/components/helper.component.js +1 -4
- package/dist/components/icon.component.js +2 -10
- package/dist/components/illustration.component.js +1 -0
- package/dist/components/input-group.component.js +10 -13
- package/dist/components/label.component.js +4 -13
- package/dist/components/loader.component.js +5 -12
- package/dist/components/modal-body.component.js +1 -4
- package/dist/components/modal-container.component.js +5 -6
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-header.component.js +1 -4
- package/dist/components/p-accordion.js +1 -9
- package/dist/components/p-avatar-group.js +2 -1
- package/dist/components/p-avatar.js +4 -7
- package/dist/components/p-card-body.js +0 -3
- package/dist/components/p-card-container.js +1 -7
- package/dist/components/p-card-header.js +1 -3
- package/dist/components/p-content-slider.js +4 -15
- package/dist/components/p-drawer.js +19 -18
- package/dist/components/p-info-panel.js +2 -6
- package/dist/components/p-layout.js +1 -4
- package/dist/components/p-modal.js +20 -28
- package/dist/components/p-navbar.js +2 -8
- package/dist/components/p-navigation-item.js +5 -4
- package/dist/components/p-profile.js +1 -7
- package/dist/components/p-select.js +11 -28
- package/dist/components/p-status.js +3 -3
- package/dist/components/p-stepper.js +0 -6
- package/dist/components/p-tab-item.js +0 -3
- package/dist/components/p-table-column.js +2 -12
- package/dist/components/p-table.js +10 -55
- package/dist/components/p-toast-container.js +1 -4
- package/dist/components/p-toast.js +5 -10
- package/dist/components/page-size-select.component.js +0 -24
- package/dist/components/pagination-item.component.js +1 -4
- package/dist/components/pagination.component.js +4 -12
- package/dist/components/popper.js +60 -49
- package/dist/components/segment-item.component.js +4 -4
- package/dist/components/slider-indicator.component.js +0 -3
- package/dist/components/stepper-item.component.js +1 -13
- package/dist/components/stepper-line.component.js +1 -7
- package/dist/components/table-cell.component.js +6 -6
- package/dist/components/table-footer.component.js +1 -24
- package/dist/components/table-header.component.js +10 -32
- package/dist/components/table-row.component.js +1 -7
- package/dist/components/tooltip.component.js +2 -20
- package/dist/esm/{index-7c99f044.js → index-8170b4fb.js} +454 -269
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +2 -10
- package/dist/esm/p-avatar-group.entry.js +3 -2
- package/dist/esm/p-avatar.entry.js +5 -8
- package/dist/esm/p-backdrop.entry.js +4 -9
- package/dist/esm/p-button_3.entry.js +14 -51
- package/dist/esm/p-card-body.entry.js +1 -4
- package/dist/esm/p-card-container.entry.js +2 -8
- package/dist/esm/p-card-header.entry.js +2 -4
- package/dist/esm/p-content-slider.entry.js +5 -16
- package/dist/esm/p-counter.entry.js +2 -8
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +6 -11
- package/dist/esm/p-drawer.entry.js +18 -18
- package/dist/esm/p-dropdown_3.entry.js +8 -36
- package/dist/esm/p-helper_2.entry.js +5 -26
- package/dist/esm/p-illustration_6.entry.js +27 -78
- package/dist/esm/p-info-panel.entry.js +3 -7
- package/dist/esm/p-input-group_4.entry.js +19 -31
- package/dist/esm/p-layout.entry.js +2 -5
- package/dist/esm/p-modal-body_4.entry.js +7 -15
- package/dist/esm/p-modal.entry.js +19 -28
- package/dist/esm/p-navbar.entry.js +3 -9
- package/dist/esm/p-navigation-item.entry.js +6 -5
- package/dist/esm/p-page-size-select_3.entry.js +6 -41
- package/dist/esm/p-profile.entry.js +2 -8
- package/dist/esm/p-select.entry.js +12 -29
- package/dist/esm/p-slider-indicator.entry.js +1 -4
- package/dist/esm/p-status.entry.js +4 -4
- package/dist/esm/p-stepper-item_2.entry.js +3 -21
- package/dist/esm/p-stepper.entry.js +1 -7
- package/dist/esm/p-tab-group.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -4
- package/dist/esm/p-table-column.entry.js +3 -13
- package/dist/esm/p-table.entry.js +11 -56
- package/dist/esm/p-toast-container.entry.js +2 -5
- package/dist/esm/p-toast.entry.js +6 -11
- package/dist/esm/paperless.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-41c6f9cd.js → popper-42db9fbd.js} +60 -49
- package/dist/index.html +1 -1
- package/dist/paperless/p-07f28695.entry.js +1 -0
- package/dist/paperless/p-105940d9.entry.js +1 -0
- package/dist/paperless/p-12f5c483.entry.js +1 -0
- package/dist/paperless/{p-ad147b1b.entry.js → p-1ba7cadc.entry.js} +1 -1
- package/dist/paperless/{p-62e0ed1a.entry.js → p-1c0ec278.entry.js} +1 -1
- package/dist/paperless/{p-9bb7534a.entry.js → p-29388966.entry.js} +1 -1
- package/dist/paperless/p-2e47afc7.entry.js +1 -0
- package/dist/paperless/p-35c1d905.entry.js +1 -0
- package/dist/paperless/{p-c11282d2.entry.js → p-3946e0a3.entry.js} +1 -1
- package/dist/paperless/p-39e63e42.entry.js +1 -0
- package/dist/{build/p-7e40c097.entry.js → paperless/p-48fd3cac.entry.js} +1 -1
- package/dist/paperless/p-529ccaf7.entry.js +1 -0
- package/dist/paperless/{p-bd31605b.entry.js → p-530ddb38.entry.js} +1 -1
- package/dist/paperless/p-56c90fca.entry.js +1 -0
- package/dist/paperless/p-5e574eab.entry.js +1 -0
- package/dist/paperless/p-62d49606.entry.js +1 -0
- package/dist/paperless/p-63de1c3d.entry.js +1 -0
- package/dist/paperless/p-644e6762.entry.js +1 -0
- package/dist/paperless/p-6cc16633.entry.js +1 -0
- package/dist/paperless/p-700b5ce6.entry.js +1 -0
- package/dist/paperless/{p-600a2f21.entry.js → p-7df6230f.entry.js} +1 -1
- package/dist/paperless/p-8f4ba2d4.entry.js +1 -0
- package/dist/paperless/p-91d032b2.entry.js +1 -0
- package/dist/paperless/{p-4588a510.entry.js → p-9315c1e2.entry.js} +1 -1
- package/dist/paperless/p-98e3dcd7.entry.js +1 -0
- package/dist/paperless/p-9f273f07.entry.js +1 -0
- package/dist/paperless/{p-52ab1f62.entry.js → p-ac5a17c4.entry.js} +1 -1
- package/dist/paperless/p-b3363052.entry.js +1 -0
- package/dist/paperless/p-b4af4b21.entry.js +1 -0
- package/dist/paperless/p-b8dd503c.entry.js +1 -0
- package/dist/paperless/p-c2da342f.entry.js +1 -0
- package/dist/paperless/p-c9f2fa8f.js +2 -0
- package/dist/paperless/p-d2cf5ab2.entry.js +1 -0
- package/dist/paperless/p-d3eb4901.entry.js +1 -0
- package/dist/paperless/p-dbb409ab.entry.js +1 -0
- package/dist/paperless/{p-44d46765.entry.js → p-f499f696.entry.js} +1 -1
- package/dist/paperless/p-f86fcdf4.js +1 -0
- package/dist/paperless/p-fa3216a5.entry.js +1 -0
- package/dist/paperless/paperless.css +678 -886
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/animation.js +64 -4
- package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +4 -0
- package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +4 -0
- package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +4 -0
- package/dist/types/components/organisms/drawer/drawer.component.d.ts +7 -1
- package/dist/types/components/organisms/modal/modal.component.d.ts +7 -1
- package/dist/types/components.d.ts +34 -2
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/{workbox-5fe694da.js → workbox-5b279812.js} +2 -2
- package/dist/{workbox-5fe694da.js.map → workbox-5b279812.js.map} +1 -1
- package/loader/package.json +1 -0
- package/package.json +2 -2
- package/dist/build/p-0531f2cd.entry.js +0 -1
- package/dist/build/p-06899ffb.entry.js +0 -1
- package/dist/build/p-0818aeaa.entry.js +0 -1
- package/dist/build/p-08cd459b.entry.js +0 -1
- package/dist/build/p-150aadaf.entry.js +0 -1
- package/dist/build/p-15d13147.entry.js +0 -1
- package/dist/build/p-3180c96e.entry.js +0 -1
- package/dist/build/p-33669e61.entry.js +0 -1
- package/dist/build/p-337ad423.entry.js +0 -1
- package/dist/build/p-3b2d5451.entry.js +0 -1
- package/dist/build/p-41588819.entry.js +0 -1
- package/dist/build/p-4ac1f4de.entry.js +0 -1
- package/dist/build/p-55c5a1bd.entry.js +0 -1
- package/dist/build/p-58dd41be.entry.js +0 -1
- package/dist/build/p-5a71d6ae.entry.js +0 -1
- package/dist/build/p-7e9a866e.entry.js +0 -1
- package/dist/build/p-8614bd10.entry.js +0 -1
- package/dist/build/p-86a6c56a.entry.js +0 -1
- package/dist/build/p-8f179b0d.entry.js +0 -1
- package/dist/build/p-a7086ffa.js +0 -1
- package/dist/build/p-be2a7816.entry.js +0 -1
- package/dist/build/p-c4110c09.entry.js +0 -1
- package/dist/build/p-c7bebafd.entry.js +0 -1
- package/dist/build/p-d17b038f.entry.js +0 -1
- package/dist/build/p-d9c1fe13.js +0 -2
- package/dist/build/p-db69c965.entry.js +0 -1
- package/dist/build/p-ed78ef52.entry.js +0 -1
- package/dist/build/p-ffeb1ddc.entry.js +0 -1
- package/dist/paperless/p-0531f2cd.entry.js +0 -1
- package/dist/paperless/p-06899ffb.entry.js +0 -1
- package/dist/paperless/p-0818aeaa.entry.js +0 -1
- package/dist/paperless/p-08cd459b.entry.js +0 -1
- package/dist/paperless/p-150aadaf.entry.js +0 -1
- package/dist/paperless/p-15d13147.entry.js +0 -1
- package/dist/paperless/p-3180c96e.entry.js +0 -1
- package/dist/paperless/p-33669e61.entry.js +0 -1
- package/dist/paperless/p-337ad423.entry.js +0 -1
- package/dist/paperless/p-3b2d5451.entry.js +0 -1
- package/dist/paperless/p-41588819.entry.js +0 -1
- package/dist/paperless/p-4ac1f4de.entry.js +0 -1
- package/dist/paperless/p-55c5a1bd.entry.js +0 -1
- package/dist/paperless/p-58dd41be.entry.js +0 -1
- package/dist/paperless/p-5a71d6ae.entry.js +0 -1
- package/dist/paperless/p-7e9a866e.entry.js +0 -1
- package/dist/paperless/p-8614bd10.entry.js +0 -1
- package/dist/paperless/p-86a6c56a.entry.js +0 -1
- package/dist/paperless/p-8f179b0d.entry.js +0 -1
- package/dist/paperless/p-a7086ffa.js +0 -1
- package/dist/paperless/p-be2a7816.entry.js +0 -1
- package/dist/paperless/p-c4110c09.entry.js +0 -1
- package/dist/paperless/p-c7bebafd.entry.js +0 -1
- package/dist/paperless/p-d17b038f.entry.js +0 -1
- package/dist/paperless/p-d9c1fe13.js +0 -2
- package/dist/paperless/p-db69c965.entry.js +0 -1
- package/dist/paperless/p-ed78ef52.entry.js +0 -1
- package/dist/paperless/p-ffeb1ddc.entry.js +0 -1
|
@@ -66,6 +66,10 @@ export namespace Components {
|
|
|
66
66
|
* Wether to apply blur on the background of the backdrop
|
|
67
67
|
*/
|
|
68
68
|
"applyBlur": boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Wether the backdrop is closing
|
|
71
|
+
*/
|
|
72
|
+
"closing": boolean;
|
|
69
73
|
/**
|
|
70
74
|
* The variant of the backdrop
|
|
71
75
|
*/
|
|
@@ -214,6 +218,10 @@ export namespace Components {
|
|
|
214
218
|
"variant": 'default' | 'table';
|
|
215
219
|
}
|
|
216
220
|
interface PDrawerContainer {
|
|
221
|
+
/**
|
|
222
|
+
* Wether the container is closing
|
|
223
|
+
*/
|
|
224
|
+
"closing": boolean;
|
|
217
225
|
}
|
|
218
226
|
interface PDrawerHeader {
|
|
219
227
|
/**
|
|
@@ -487,6 +495,10 @@ export namespace Components {
|
|
|
487
495
|
"variant": 'default' | 'table';
|
|
488
496
|
}
|
|
489
497
|
interface PModalContainer {
|
|
498
|
+
/**
|
|
499
|
+
* Wether the container is closing
|
|
500
|
+
*/
|
|
501
|
+
"closing": boolean;
|
|
490
502
|
/**
|
|
491
503
|
* The size of the modal container
|
|
492
504
|
*/
|
|
@@ -1609,6 +1621,10 @@ declare namespace LocalJSX {
|
|
|
1609
1621
|
* Wether to apply blur on the background of the backdrop
|
|
1610
1622
|
*/
|
|
1611
1623
|
"applyBlur"?: boolean;
|
|
1624
|
+
/**
|
|
1625
|
+
* Wether the backdrop is closing
|
|
1626
|
+
*/
|
|
1627
|
+
"closing"?: boolean;
|
|
1612
1628
|
/**
|
|
1613
1629
|
* When the backdrop is clicked
|
|
1614
1630
|
*/
|
|
@@ -1752,7 +1768,11 @@ declare namespace LocalJSX {
|
|
|
1752
1768
|
/**
|
|
1753
1769
|
* Close click event
|
|
1754
1770
|
*/
|
|
1755
|
-
"
|
|
1771
|
+
"onCloseClicked"?: (event: PDrawerCustomEvent<MouseEvent>) => void;
|
|
1772
|
+
/**
|
|
1773
|
+
* Closed event
|
|
1774
|
+
*/
|
|
1775
|
+
"onClosed"?: (event: PDrawerCustomEvent<null>) => void;
|
|
1756
1776
|
/**
|
|
1757
1777
|
* Wether to show the drawer or not
|
|
1758
1778
|
*/
|
|
@@ -1769,6 +1789,10 @@ declare namespace LocalJSX {
|
|
|
1769
1789
|
"variant"?: 'default' | 'table';
|
|
1770
1790
|
}
|
|
1771
1791
|
interface PDrawerContainer {
|
|
1792
|
+
/**
|
|
1793
|
+
* Wether the container is closing
|
|
1794
|
+
*/
|
|
1795
|
+
"closing"?: boolean;
|
|
1772
1796
|
}
|
|
1773
1797
|
interface PDrawerHeader {
|
|
1774
1798
|
/**
|
|
@@ -2025,7 +2049,11 @@ declare namespace LocalJSX {
|
|
|
2025
2049
|
/**
|
|
2026
2050
|
* Close click event
|
|
2027
2051
|
*/
|
|
2028
|
-
"
|
|
2052
|
+
"onCloseClicked"?: (event: PModalCustomEvent<MouseEvent>) => void;
|
|
2053
|
+
/**
|
|
2054
|
+
* Closed event
|
|
2055
|
+
*/
|
|
2056
|
+
"onClosed"?: (event: PModalCustomEvent<null>) => void;
|
|
2029
2057
|
/**
|
|
2030
2058
|
* Wether to show the modal or not
|
|
2031
2059
|
*/
|
|
@@ -2054,6 +2082,10 @@ declare namespace LocalJSX {
|
|
|
2054
2082
|
"variant"?: 'default' | 'table';
|
|
2055
2083
|
}
|
|
2056
2084
|
interface PModalContainer {
|
|
2085
|
+
/**
|
|
2086
|
+
* Wether the container is closing
|
|
2087
|
+
*/
|
|
2088
|
+
"closing"?: boolean;
|
|
2057
2089
|
/**
|
|
2058
2090
|
* The size of the modal container
|
|
2059
2091
|
*/
|
|
@@ -221,7 +221,9 @@ export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
|
221
221
|
*/
|
|
222
222
|
export declare const setMode: (handler: ResolutionHandler) => void;
|
|
223
223
|
/**
|
|
224
|
-
* getMode
|
|
224
|
+
* `getMode()` is used for libraries which provide multiple "modes" for styles.
|
|
225
|
+
* @param ref a reference to the node to get styles for
|
|
226
|
+
* @returns the current mode or undefined, if not found
|
|
225
227
|
*/
|
|
226
228
|
export declare function getMode<T = string | undefined>(ref: any): T;
|
|
227
229
|
export declare function setPlatformHelpers(helpers: {
|
|
@@ -234,6 +236,9 @@ export declare function setPlatformHelpers(helpers: {
|
|
|
234
236
|
/**
|
|
235
237
|
* Get the base path to where the assets can be found. Use `setAssetPath(path)`
|
|
236
238
|
* if the path needs to be customized.
|
|
239
|
+
* @param path the path to use in calculating the asset path. this value will be
|
|
240
|
+
* used in conjunction with the base asset path
|
|
241
|
+
* @returns the base path
|
|
237
242
|
*/
|
|
238
243
|
export declare function getAssetPath(path: string): string;
|
|
239
244
|
/**
|
|
@@ -246,22 +251,29 @@ export declare function getAssetPath(path: string): string;
|
|
|
246
251
|
* `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to
|
|
247
252
|
* dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`.
|
|
248
253
|
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
249
|
-
*
|
|
254
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
250
255
|
* will have to ensure the static assets are copied to its build directory.
|
|
256
|
+
* @param path the asset path to set
|
|
257
|
+
* @returns the set path
|
|
251
258
|
*/
|
|
252
259
|
export declare function setAssetPath(path: string): string;
|
|
253
260
|
/**
|
|
254
|
-
*
|
|
261
|
+
* Retrieve a Stencil element for a given reference
|
|
262
|
+
* @param ref the ref to get the Stencil element for
|
|
263
|
+
* @returns a reference to the element
|
|
255
264
|
*/
|
|
256
265
|
export declare function getElement(ref: any): HTMLStencilElement;
|
|
257
266
|
/**
|
|
258
267
|
* Schedules a new render of the given instance or element even if no state changed.
|
|
259
268
|
*
|
|
260
|
-
* Notice `forceUpdate()` is not
|
|
269
|
+
* Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
|
|
270
|
+
*
|
|
271
|
+
* @param ref the node/element to force the re-render of
|
|
261
272
|
*/
|
|
262
273
|
export declare function forceUpdate(ref: any): void;
|
|
263
274
|
/**
|
|
264
275
|
* getRenderingRef
|
|
276
|
+
* @returns the rendering ref
|
|
265
277
|
*/
|
|
266
278
|
export declare function getRenderingRef(): any;
|
|
267
279
|
export interface HTMLStencilElement extends HTMLElement {
|
|
@@ -272,6 +284,8 @@ export interface HTMLStencilElement extends HTMLElement {
|
|
|
272
284
|
* in the best moment to perform DOM mutation without causing layout thrashing.
|
|
273
285
|
*
|
|
274
286
|
* For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
|
|
287
|
+
*
|
|
288
|
+
* @param task the DOM-write to schedule
|
|
275
289
|
*/
|
|
276
290
|
export declare function writeTask(task: RafCallback): void;
|
|
277
291
|
/**
|
|
@@ -279,6 +293,8 @@ export declare function writeTask(task: RafCallback): void;
|
|
|
279
293
|
* in the best moment to perform DOM reads without causing layout thrashing.
|
|
280
294
|
*
|
|
281
295
|
* For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
|
|
296
|
+
*
|
|
297
|
+
* @param task the DOM-read to schedule
|
|
282
298
|
*/
|
|
283
299
|
export declare function readTask(task: RafCallback): void;
|
|
284
300
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.3"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.3"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},h=t=>[a.prefix,t,a.suffix].filter((t=>t&&t.length>0)).join("-"),u=t=>t||h(a.precache),l=t=>t||h(a.runtime);function f(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.3"]&&_()}catch(t){}function w(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class d{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class p{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let y;async function g(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===y){const t=new Response("");if("body"in t)try{new Response(t.body),y=!0}catch(t){y=!1}y=!1}return y}()?i.body:await i.blob();return new Response(c,o)}function R(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class m{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const v=new Set;try{self["workbox:strategies:6.5.3"]&&_()}catch(t){}function q(t){return"string"==typeof t?new Request(t):t}class U{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new m,this.g=[],this.R=[...t.plugins],this.m=new Map;for(const t of this.R)this.m.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=q(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=q(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=q(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.v(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=R(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===R(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of v)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=q(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.m.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.g.push(t),t}async doneWaiting(){let t;for(;t=this.g.shift();)await t}destroy(){this.p.resolve(null)}async v(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class L extends class{constructor(t={}){this.cacheName=l(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new U(this,{event:e,request:s,params:n}),r=this.q(i,s,e);return[r,this.U(r,i,s,e)]}async q(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.L(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async U(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}{constructor(t={}){t.cacheName=u(t.cacheName),super(t),this._=!1!==t.fallbackToNetwork,this.plugins.push(L.copyRedirectedCacheableResponsesPlugin)}async L(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.C(t,e):await this.O(t,e))}async O(t,e){let n;const i=e.params||{};if(!this._)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.N(),await e.cachePut(t,n.clone()))}return n}async C(t,e){this.N();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}N(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==L.copyRedirectedCacheableResponsesPlugin&&(n===L.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(L.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}L.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},L.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await g(t):t};class b{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new Map,this.K=new Map,this.T=new Map,this.l=new L({cacheName:u(t),plugins:[...e,new p({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=w(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return f(t,(async()=>{const e=new d;this.strategy.plugins.push(e);for(const[e,s]of this.k){const n=this.T.get(s),i=this.K.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return f(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.k.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.k.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let C;const E=()=>(C||(C=new b),C);class O extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}function x(t){const e=E();!function(t,e,n){let a;if("string"==typeof t){const s=new URL(t,location.href);a=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)a=new r(t,e,n);else if("function"==typeof t)a=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=t}(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c).registerRoute(a)}(new O(e,t))}t.precacheAndRoute=function(t,e){!function(t){E().precache(t)}(t),x(e)}}));
|
|
2
|
-
//# sourceMappingURL=workbox-
|
|
1
|
+
define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.3"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.3"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},h=t=>[a.prefix,t,a.suffix].filter((t=>t&&t.length>0)).join("-"),u=t=>t||h(a.precache),l=t=>t||h(a.runtime);function f(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.3"]&&_()}catch(t){}function w(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class d{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class p{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let y;async function g(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===y){const t=new Response("");if("body"in t)try{new Response(t.body),y=!0}catch(t){y=!1}y=!1}return y}()?i.body:await i.blob();return new Response(c,o)}function R(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class m{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const v=new Set;try{self["workbox:strategies:6.5.3"]&&_()}catch(t){}function q(t){return"string"==typeof t?new Request(t):t}class U{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new m,this.g=[],this.R=[...t.plugins],this.m=new Map;for(const t of this.R)this.m.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=q(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=q(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=q(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.v(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=R(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===R(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of v)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=q(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.m.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.g.push(t),t}async doneWaiting(){let t;for(;t=this.g.shift();)await t}destroy(){this.p.resolve(null)}async v(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class L{constructor(t={}){this.cacheName=l(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new U(this,{event:e,request:s,params:n}),r=this.q(i,s,e);return[r,this.U(r,i,s,e)]}async q(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.L(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async U(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class b extends L{constructor(t={}){t.cacheName=u(t.cacheName),super(t),this._=!1!==t.fallbackToNetwork,this.plugins.push(b.copyRedirectedCacheableResponsesPlugin)}async L(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.C(t,e):await this.O(t,e))}async O(t,e){let n;const i=e.params||{};if(!this._)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.N(),await e.cachePut(t,n.clone()))}return n}async C(t,e){this.N();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}N(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==b.copyRedirectedCacheableResponsesPlugin&&(n===b.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(b.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}b.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},b.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await g(t):t};class C{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new Map,this.K=new Map,this.T=new Map,this.l=new b({cacheName:u(t),plugins:[...e,new p({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=w(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return f(t,(async()=>{const e=new d;this.strategy.plugins.push(e);for(const[e,s]of this.k){const n=this.T.get(s),i=this.K.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return f(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.k.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.k.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let E;const O=()=>(E||(E=new C),E);class x extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}function N(t){const e=O();!function(t,e,n){let a;if("string"==typeof t){const s=new URL(t,location.href);a=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)a=new r(t,e,n);else if("function"==typeof t)a=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=t}(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c).registerRoute(a)}(new x(e,t))}t.precacheAndRoute=function(t,e){!function(t){O().precache(t)}(t),N(e)}}));
|
|
2
|
+
//# sourceMappingURL=workbox-5b279812.js.map
|