@pod-os/elements 0.25.2 → 0.25.3-rc.3de9abd.0
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/dist/cjs/elements.cjs.js +1 -1
- package/dist/cjs/ion-badge_5.cjs.entry.js +187 -0
- package/dist/cjs/ion-badge_5.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-card-content.cjs.entry.js +34 -0
- package/dist/cjs/ion-card-content.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-card-header.cjs.entry.js +37 -0
- package/dist/cjs/ion-card-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-card-title.cjs.entry.js +35 -0
- package/dist/cjs/ion-card-title.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-card.cjs.entry.js +71 -0
- package/dist/cjs/ion-card.cjs.entry.js.map +1 -0
- package/dist/cjs/{ion-checkbox_6.cjs.entry.js → ion-checkbox_7.cjs.entry.js} +274 -1
- package/dist/cjs/ion-checkbox_7.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-col.cjs.entry.js +152 -0
- package/dist/cjs/ion-col.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-grid.cjs.entry.js +28 -0
- package/dist/cjs/ion-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/{ion-card_34.cjs.entry.js → ion-icon_31.cjs.entry.js} +35 -143
- package/dist/cjs/ion-icon_31.cjs.entry.js.map +1 -0
- package/dist/cjs/{ion-input_2.cjs.entry.js → ion-input.cjs.entry.js} +1 -21
- package/dist/cjs/ion-input.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-note.cjs.entry.js +34 -0
- package/dist/cjs/ion-note.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-row.cjs.entry.js +23 -0
- package/dist/cjs/ion-row.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pos-app-document-viewer.cjs.entry.js +8 -1
- package/dist/cjs/pos-app-document-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-generic.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-app-image-viewer.cjs.entry.js +11 -2
- package/dist/cjs/pos-app-image-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-app-ldp-container.cjs.entry.js +8 -1
- package/dist/cjs/pos-app-ldp-container.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-app-rdf-document.cjs.entry.js +8 -1
- package/dist/cjs/pos-app-rdf-document.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-container-contents.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-container-item.cjs.entry.js +5 -1
- package/dist/cjs/pos-container-item.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-document.cjs.entry.js +1 -1
- package/dist/cjs/pos-document.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-relations_2.cjs.entry.js +2 -2
- package/dist/cjs/pos-relations_2.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-subjects.cjs.entry.js +1 -1
- package/dist/cjs/pos-subjects.cjs.entry.js.map +1 -1
- package/dist/collection/apps/pos-app-browser/pos-app-browser.css +5 -4
- package/dist/collection/apps/pos-app-dashboard/pos-app-dashboard.css +0 -2
- package/dist/collection/apps/pos-app-dashboard/pos-example-resources/pos-example-resources.css +2 -2
- package/dist/collection/apps/pos-app-dashboard/pos-getting-started/pos-getting-started.css +2 -3
- package/dist/collection/apps/pos-app-document-viewer/pos-app-document-viewer.js +12 -2
- package/dist/collection/apps/pos-app-document-viewer/pos-app-document-viewer.js.map +1 -1
- package/dist/collection/apps/pos-app-generic/pos-app-generic.css +2 -1
- package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.css +3 -0
- package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.js +12 -3
- package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.js.map +1 -1
- package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js +13 -2
- package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js.map +1 -1
- package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js +13 -2
- package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js.map +1 -1
- package/dist/collection/apps/pos-app-settings/pos-app-settings.css +0 -2
- package/dist/collection/apps/pos-app-settings/pos-app-settings.js +1 -1
- package/dist/collection/apps/pos-app-settings/pos-setting-offline-cache/pos-setting-offline-cache.css +4 -2
- package/dist/collection/apps/pos-app-settings/pos-setting-offline-cache/pos-setting-offline-cache.js +1 -1
- package/dist/collection/apps/styles/article-card.css +19 -0
- package/dist/collection/apps/styles/default-app-layout.css +28 -0
- package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.css +15 -0
- package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.js +2 -2
- package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.js.map +1 -1
- package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.css +3 -3
- package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.js +1 -1
- package/dist/collection/components/pos-app/pos-app.js +1 -1
- package/dist/collection/components/pos-container-contents/pos-container-contents.css +1 -1
- package/dist/collection/components/pos-container-contents/pos-container-contents.js.map +1 -1
- package/dist/collection/components/pos-container-contents/pos-container-item.css +16 -0
- package/dist/collection/components/pos-container-contents/pos-container-item.js +11 -1
- package/dist/collection/components/pos-container-contents/pos-container-item.js.map +1 -1
- package/dist/collection/components/pos-dialog/pos-dialog.css +35 -3
- package/dist/collection/components/pos-dialog/pos-dialog.js +1 -1
- package/dist/collection/components/pos-document/pos-document.css +5 -8
- package/dist/collection/components/pos-error-toast/pos-error-toast.js +1 -1
- package/dist/collection/components/pos-literals/pos-literals.css +1 -1
- package/dist/collection/components/pos-literals/pos-literals.js +1 -1
- package/dist/collection/components/pos-login/pos-login.js +1 -1
- package/dist/collection/components/pos-login-form/pos-login-form.css +6 -3
- package/dist/collection/components/pos-login-form/pos-login-form.js +1 -1
- package/dist/collection/components/pos-make-findable/pos-make-findable.css +6 -5
- package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.css +7 -10
- package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.js +1 -1
- package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.css +11 -6
- package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
- package/dist/collection/components/pos-relations/pos-relations.css +1 -1
- package/dist/collection/components/pos-resource/pos-resource.css +11 -0
- package/dist/collection/components/pos-resource/pos-resource.js +12 -2
- package/dist/collection/components/pos-resource/pos-resource.js.map +1 -1
- package/dist/collection/components/pos-reverse-relations/pos-reverse-relations.css +1 -1
- package/dist/collection/components/pos-rich-link/pos-rich-link.css +4 -4
- package/dist/collection/components/pos-rich-link/pos-rich-link.js +2 -2
- package/dist/collection/components/pos-router/pos-router.js +1 -1
- package/dist/collection/components/pos-select-term/pos-select-term.css +2 -0
- package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
- package/dist/collection/components/pos-subjects/pos-subjects.css +1 -1
- package/dist/components/ion-card-content.js +40 -1
- package/dist/components/ion-card-content.js.map +1 -1
- package/dist/components/ion-card-header.js +47 -1
- package/dist/components/ion-card-header.js.map +1 -1
- package/dist/components/ion-card-title.js +44 -1
- package/dist/components/ion-card-title.js.map +1 -1
- package/dist/components/ion-card.js +95 -1
- package/dist/components/ion-card.js.map +1 -1
- package/dist/components/ion-col.js +184 -1
- package/dist/components/ion-col.js.map +1 -1
- package/dist/components/ion-grid.js +37 -1
- package/dist/components/ion-grid.js.map +1 -1
- package/dist/components/ion-input.js +566 -1
- package/dist/components/ion-input.js.map +1 -1
- package/dist/components/ion-row.js +30 -1
- package/dist/components/ion-row.js.map +1 -1
- package/dist/components/pos-add-literal-value2.js +5 -11
- package/dist/components/pos-add-literal-value2.js.map +1 -1
- package/dist/components/pos-add-new-thing2.js +2 -2
- package/dist/components/pos-add-new-thing2.js.map +1 -1
- package/dist/components/pos-app-browser.js +2 -20
- package/dist/components/pos-app-browser.js.map +1 -1
- package/dist/components/pos-app-dashboard2.js +3 -27
- package/dist/components/pos-app-dashboard2.js.map +1 -1
- package/dist/components/pos-app-document-viewer.js +13 -54
- package/dist/components/pos-app-document-viewer.js.map +1 -1
- package/dist/components/pos-app-generic.js +7 -37
- package/dist/components/pos-app-generic.js.map +1 -1
- package/dist/components/pos-app-image-viewer.js +16 -55
- package/dist/components/pos-app-image-viewer.js.map +1 -1
- package/dist/components/pos-app-ldp-container.js +17 -75
- package/dist/components/pos-app-ldp-container.js.map +1 -1
- package/dist/components/pos-app-rdf-document.js +17 -63
- package/dist/components/pos-app-rdf-document.js.map +1 -1
- package/dist/components/pos-app-settings2.js +2 -2
- package/dist/components/pos-app-settings2.js.map +1 -1
- package/dist/components/pos-app2.js +1 -1
- package/dist/components/pos-container-contents2.js +4 -40
- package/dist/components/pos-container-contents2.js.map +1 -1
- package/dist/components/pos-container-item2.js +7 -21
- package/dist/components/pos-container-item2.js.map +1 -1
- package/dist/components/pos-dialog2.js +2 -2
- package/dist/components/pos-dialog2.js.map +1 -1
- package/dist/components/pos-document2.js +1 -1
- package/dist/components/pos-document2.js.map +1 -1
- package/dist/components/pos-error-toast2.js +1 -1
- package/dist/components/pos-example-resources2.js +3 -27
- package/dist/components/pos-example-resources2.js.map +1 -1
- package/dist/components/pos-getting-started2.js +1 -1
- package/dist/components/pos-getting-started2.js.map +1 -1
- package/dist/components/pos-internal-router2.js +2 -26
- package/dist/components/pos-internal-router2.js.map +1 -1
- package/dist/components/pos-literals2.js +4 -10
- package/dist/components/pos-literals2.js.map +1 -1
- package/dist/components/pos-login-form2.js +2 -2
- package/dist/components/pos-login-form2.js.map +1 -1
- package/dist/components/pos-login2.js +5 -29
- package/dist/components/pos-login2.js.map +1 -1
- package/dist/components/pos-make-findable2.js +3 -27
- package/dist/components/pos-make-findable2.js.map +1 -1
- package/dist/components/pos-navigation-bar2.js +6 -30
- package/dist/components/pos-navigation-bar2.js.map +1 -1
- package/dist/components/pos-new-thing-form2.js +2 -2
- package/dist/components/pos-new-thing-form2.js.map +1 -1
- package/dist/components/pos-relations2.js +5 -29
- package/dist/components/pos-relations2.js.map +1 -1
- package/dist/components/pos-resource2.js +8 -28
- package/dist/components/pos-resource2.js.map +1 -1
- package/dist/components/pos-reverse-relations2.js +5 -29
- package/dist/components/pos-reverse-relations2.js.map +1 -1
- package/dist/components/pos-rich-link2.js +5 -29
- package/dist/components/pos-rich-link2.js.map +1 -1
- package/dist/components/pos-router2.js +1 -1
- package/dist/components/pos-select-term2.js +2 -2
- package/dist/components/pos-select-term2.js.map +1 -1
- package/dist/components/pos-setting-offline-cache2.js +2 -2
- package/dist/components/pos-setting-offline-cache2.js.map +1 -1
- package/dist/components/pos-subjects2.js +3 -27
- package/dist/components/pos-subjects2.js.map +1 -1
- package/dist/elements/elements.css +21 -1
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/elements.esm.js.map +1 -1
- package/dist/elements/p-0017dc14.entry.js +2 -0
- package/dist/elements/p-0017dc14.entry.js.map +1 -0
- package/dist/elements/p-01981011.entry.js +2 -0
- package/dist/elements/{p-62a60344.entry.js.map → p-01981011.entry.js.map} +1 -1
- package/dist/elements/p-05fff093.entry.js +2 -0
- package/dist/elements/{p-2e13f1ea.entry.js.map → p-05fff093.entry.js.map} +1 -1
- package/dist/elements/{p-4cb77968.js → p-061819d1.js} +6 -6
- package/dist/elements/p-07773ed5.entry.js +2 -0
- package/dist/elements/p-07773ed5.entry.js.map +1 -0
- package/dist/elements/p-07d2bd5a.entry.js +2 -0
- package/dist/elements/p-07d2bd5a.entry.js.map +1 -0
- package/dist/elements/{p-68fa0553.entry.js → p-09d80405.entry.js} +2 -2
- package/dist/elements/{p-fb766a59.entry.js → p-0b4204e3.entry.js} +2 -2
- package/dist/elements/p-0b4204e3.entry.js.map +1 -0
- package/dist/elements/p-0ddcbecd.entry.js +2 -0
- package/dist/elements/p-0ddcbecd.entry.js.map +1 -0
- package/dist/elements/p-0f7379bc.entry.js +2 -0
- package/dist/elements/p-0f7379bc.entry.js.map +1 -0
- package/dist/elements/p-1b2d32c1.entry.js +2 -0
- package/dist/elements/p-1b2d32c1.entry.js.map +1 -0
- package/dist/elements/{p-f1a6f6f2.js → p-1fc8e557.js} +2 -2
- package/dist/elements/{p-196197ab.entry.js → p-239442f9.entry.js} +2 -2
- package/dist/elements/{p-2d5448aa.entry.js → p-250d4bf1.entry.js} +2 -2
- package/dist/elements/{p-a3726198.entry.js → p-25926b66.entry.js} +2 -2
- package/dist/elements/{p-da0cfe0c.entry.js → p-266d2934.entry.js} +2 -2
- package/dist/elements/{p-13d85a0a.entry.js → p-2a548485.entry.js} +2 -2
- package/dist/elements/{p-d016e7e0.entry.js → p-2f0509be.entry.js} +2 -2
- package/dist/elements/{p-ec0d5d03.entry.js → p-300ec095.entry.js} +3 -3
- package/dist/elements/{p-34d3ff03.js → p-307d1531.js} +3 -3
- package/dist/elements/p-3e6ffc13.entry.js +5 -0
- package/dist/elements/p-3e6ffc13.entry.js.map +1 -0
- package/dist/elements/p-406df11a.entry.js +2 -0
- package/dist/elements/p-406df11a.entry.js.map +1 -0
- package/dist/elements/{p-b725d322.entry.js → p-41854c8f.entry.js} +2 -2
- package/dist/elements/{p-609cf34b.entry.js → p-41bb9792.entry.js} +2 -2
- package/dist/elements/{p-ad32e711.js → p-42169e41.js} +2 -2
- package/dist/elements/{p-b58ed3d9.entry.js → p-4383e1bb.entry.js} +2 -2
- package/dist/elements/{p-df24c396.entry.js → p-49fcec88.entry.js} +2 -2
- package/dist/elements/{p-1b971594.entry.js → p-4a370bdc.entry.js} +2 -2
- package/dist/elements/p-4c078751.entry.js +2 -0
- package/dist/elements/p-4c078751.entry.js.map +1 -0
- package/dist/elements/p-4c78c8c9.js +5 -0
- package/dist/elements/p-4ccdbcbf.entry.js +2 -0
- package/dist/elements/p-4ccdbcbf.entry.js.map +1 -0
- package/dist/elements/{p-a8afe4ef.entry.js → p-4dd65d40.entry.js} +2 -2
- package/dist/elements/p-523432d1.js +2 -0
- package/dist/elements/p-5441ae35.entry.js +2 -0
- package/dist/elements/{p-8b22dca0.entry.js.map → p-5441ae35.entry.js.map} +1 -1
- package/dist/elements/{p-8a61526b.entry.js → p-552a9992.entry.js} +2 -2
- package/dist/elements/{p-66812011.entry.js → p-59ec8b76.entry.js} +2 -2
- package/dist/elements/{p-0cf27008.entry.js → p-5bf40440.entry.js} +2 -2
- package/dist/elements/{p-714cb336.entry.js → p-6119b57a.entry.js} +2 -2
- package/dist/elements/{p-d3e26e17.entry.js → p-627826b0.entry.js} +2 -2
- package/dist/elements/{p-3e1b5fc4.entry.js → p-645632a8.entry.js} +4 -4
- package/dist/elements/{p-aca8e982.entry.js → p-66973c59.entry.js} +2 -2
- package/dist/elements/{p-097747f2.entry.js → p-66a58eb0.entry.js} +2 -2
- package/dist/elements/{p-3bf6d7b8.entry.js → p-6cc9961e.entry.js} +2 -2
- package/dist/elements/p-71835d6f.entry.js +2 -0
- package/dist/elements/{p-970fce25.entry.js.map → p-71835d6f.entry.js.map} +1 -1
- package/dist/elements/p-7183a9ca.entry.js +2 -0
- package/dist/elements/p-7183a9ca.entry.js.map +1 -0
- package/dist/elements/p-7190d53c.entry.js +2 -0
- package/dist/elements/p-7190d53c.entry.js.map +1 -0
- package/dist/elements/{p-25270f1a.js → p-71ee259b.js} +2 -2
- package/dist/elements/{p-6189fb02.entry.js → p-72a9cbdc.entry.js} +2 -2
- package/dist/elements/{p-3ab4f8b6.js → p-734e5a97.js} +2 -2
- package/dist/elements/p-7e8b8df1.entry.js +2 -0
- package/dist/elements/p-7e8b8df1.entry.js.map +1 -0
- package/dist/elements/p-7f53778f.entry.js +2 -0
- package/dist/elements/{p-ec9d0fd2.entry.js → p-87c81685.entry.js} +2 -2
- package/dist/elements/{p-163e3e87.js → p-89aef852.js} +2 -2
- package/dist/elements/p-89c7559b.entry.js +20 -0
- package/dist/elements/p-89c7559b.entry.js.map +1 -0
- package/dist/elements/{p-a9478dc1.entry.js → p-8b209e66.entry.js} +2 -2
- package/dist/elements/p-8e8881a8.entry.js +2 -0
- package/dist/elements/p-8e8881a8.entry.js.map +1 -0
- package/dist/elements/{p-9a3d973e.entry.js → p-8f6d1cbe.entry.js} +2 -2
- package/dist/elements/p-932de51e.js +8 -0
- package/dist/elements/{p-20e2e8c1.js → p-949b115f.js} +2 -2
- package/dist/elements/p-95161a5d.entry.js +2 -0
- package/dist/elements/{p-1df0edde.entry.js.map → p-95161a5d.entry.js.map} +1 -1
- package/dist/elements/p-9a4bf79e.entry.js +2 -0
- package/dist/elements/p-9a4bf79e.entry.js.map +1 -0
- package/dist/elements/p-a06d93c7.entry.js +2 -0
- package/dist/elements/{p-1651e9a7.entry.js.map → p-a06d93c7.entry.js.map} +1 -1
- package/dist/elements/p-a08f0446.entry.js +2 -0
- package/dist/elements/p-a08f0446.entry.js.map +1 -0
- package/dist/elements/p-a13569cf.entry.js +2 -0
- package/dist/elements/{p-76351ab7.entry.js → p-a376351f.entry.js} +2 -2
- package/dist/elements/p-a37a2712.js +5 -0
- package/dist/elements/p-a421bbe5.entry.js +2 -0
- package/dist/elements/{p-abed69a9.entry.js.map → p-a421bbe5.entry.js.map} +1 -1
- package/dist/elements/p-a45b1964.entry.js +2 -0
- package/dist/elements/p-a45b1964.entry.js.map +1 -0
- package/dist/elements/p-a507d627.entry.js +2 -0
- package/dist/elements/p-a507d627.entry.js.map +1 -0
- package/dist/elements/{p-f7490d6e.js → p-a6c03ce8.js} +2 -2
- package/dist/elements/p-ae984107.entry.js +2 -0
- package/dist/elements/p-ae984107.entry.js.map +1 -0
- package/dist/elements/{p-a9df5a3a.entry.js → p-b5f6b322.entry.js} +2 -2
- package/dist/elements/{p-00c6a8f5.entry.js → p-b64a85bf.entry.js} +2 -2
- package/dist/elements/{p-fa63a2cc.entry.js → p-b8bd7745.entry.js} +2 -2
- package/dist/elements/{p-dc0cae0c.js → p-b9dcf3b2.js} +2 -2
- package/dist/elements/{p-bf16fe9d.entry.js → p-bc675b21.entry.js} +2 -2
- package/dist/elements/p-bca341ba.entry.js +2 -0
- package/dist/elements/p-bdea20c4.entry.js +2 -0
- package/dist/elements/{p-d0c67d7c.entry.js.map → p-bdea20c4.entry.js.map} +1 -1
- package/dist/elements/p-c01a4a79.entry.js +2 -0
- package/dist/elements/{p-c0ad1e98.entry.js.map → p-c01a4a79.entry.js.map} +1 -1
- package/dist/elements/{p-6183b212.entry.js → p-c186950b.entry.js} +2 -2
- package/dist/elements/{p-bb3054a3.js → p-c191e6df.js} +8 -8
- package/dist/elements/{p-b90da7d9.entry.js → p-c350af00.entry.js} +2 -2
- package/dist/elements/p-c452a2e9.js +5 -0
- package/dist/elements/{p-b250dee1.entry.js → p-c698ab8e.entry.js} +3 -3
- package/dist/elements/{p-33b22cc6.entry.js → p-c9604122.entry.js} +2 -2
- package/dist/elements/p-cb550d04.entry.js +2 -0
- package/dist/elements/{p-c21dcd46.entry.js.map → p-cb550d04.entry.js.map} +1 -1
- package/dist/elements/{p-b25dd1f1.js → p-cbae963d.js} +3 -3
- package/dist/elements/{p-592177e8.js → p-cbf050d6.js} +2 -2
- package/dist/elements/p-d08312dd.entry.js +2 -0
- package/dist/elements/{p-c6c9f7e0.entry.js.map → p-d08312dd.entry.js.map} +1 -1
- package/dist/elements/{p-4d6e48bf.js → p-d1e7b393.js} +2 -2
- package/dist/elements/{p-34f376f2.entry.js → p-d358565a.entry.js} +2 -2
- package/dist/elements/{p-dcd16290.js → p-d61d280b.js} +3 -3
- package/dist/elements/{p-04c9fe91.entry.js → p-d6394ee4.entry.js} +3 -3
- package/dist/elements/{p-0cdbd05c.entry.js → p-d8818bb3.entry.js} +2 -2
- package/dist/elements/{p-17cb620a.js → p-da0d920d.js} +2 -2
- package/dist/elements/{p-b9e14ed6.entry.js → p-dadb557e.entry.js} +4 -4
- package/dist/elements/{p-2bb537fb.entry.js → p-dc709055.entry.js} +2 -2
- package/dist/elements/{p-0ffd76fc.entry.js → p-e0de7c6a.entry.js} +2 -2
- package/dist/elements/{p-bcd11997.entry.js → p-e78cf007.entry.js} +2 -2
- package/dist/elements/{p-dcd0a40c.entry.js → p-e8268c7a.entry.js} +2 -2
- package/dist/elements/p-eba70ed1.js +6 -0
- package/dist/elements/{p-1c44ef41.entry.js → p-f4035b4a.entry.js} +2 -2
- package/dist/elements/{p-de2c14be.entry.js → p-f40b3ec6.entry.js} +2 -2
- package/dist/elements/{p-e04e65b9.entry.js → p-f50c3045.entry.js} +2 -2
- package/dist/elements/p-f67bba50.js +5 -0
- package/dist/elements/{p-2d13e141.entry.js → p-f96384f2.entry.js} +2 -2
- package/dist/elements/p-fa0be1d8.entry.js +2 -0
- package/dist/elements/p-fa0be1d8.entry.js.map +1 -0
- package/dist/elements/{p-925bb96a.entry.js → p-fa19a3e9.entry.js} +2 -2
- package/dist/elements/p-facc0ac5.entry.js +2 -0
- package/dist/elements/{p-5d1eb685.entry.js.map → p-facc0ac5.entry.js.map} +1 -1
- package/dist/elements/{p-ab68c761.entry.js → p-ffa8c481.entry.js} +2 -2
- package/dist/esm/{BrokenFile-f46cbf25.js → BrokenFile-d387a173.js} +2 -2
- package/dist/esm/{BrokenFile-f46cbf25.js.map → BrokenFile-d387a173.js.map} +1 -1
- package/dist/esm/{animation-8c622dae.js → animation-43b39c85.js} +2 -2
- package/dist/esm/{animation-8c622dae.js.map → animation-43b39c85.js.map} +1 -1
- package/dist/esm/{app-globals-04af85f0.js → app-globals-f420d326.js} +2 -2
- package/dist/esm/{app-globals-04af85f0.js.map → app-globals-f420d326.js.map} +1 -1
- package/dist/esm/elements.js +5 -5
- package/dist/esm/{form-controller-1f70ed52.js → form-controller-3b50bf52.js} +2 -2
- package/dist/esm/{form-controller-1f70ed52.js.map → form-controller-3b50bf52.js.map} +1 -1
- package/dist/esm/{framework-delegate-b5751311.js → framework-delegate-c5179013.js} +2 -2
- package/dist/esm/{framework-delegate-b5751311.js.map → framework-delegate-c5179013.js.map} +1 -1
- package/dist/esm/{hardware-back-button-41efa076.js → hardware-back-button-12e771ad.js} +3 -3
- package/dist/esm/{hardware-back-button-41efa076.js.map → hardware-back-button-12e771ad.js.map} +1 -1
- package/dist/esm/{helpers-a93a8cd2.js → helpers-c51da066.js} +2 -2
- package/dist/esm/{helpers-a93a8cd2.js.map → helpers-c51da066.js.map} +1 -1
- package/dist/esm/{index-432e7c6f.js → index-12e18dab.js} +2 -2
- package/dist/esm/{index-432e7c6f.js.map → index-12e18dab.js.map} +1 -1
- package/dist/esm/{index-2ac08fda.js → index-7462d21e.js} +5 -5
- package/dist/esm/{index-2ac08fda.js.map → index-7462d21e.js.map} +1 -1
- package/dist/esm/{index-f69a875d.js → index-842e2941.js} +2 -2
- package/dist/esm/{index-f69a875d.js.map → index-842e2941.js.map} +1 -1
- package/dist/esm/{index-4fdc2561.js → index-9725d917.js} +2 -2
- package/dist/esm/{index-4fdc2561.js.map → index-9725d917.js.map} +1 -1
- package/dist/esm/{index-d511bcdc.js → index-ccbcf170.js} +5 -5
- package/dist/esm/{index-d511bcdc.js.map → index-ccbcf170.js.map} +1 -1
- package/dist/esm/{input-shims-212ee02f.js → input-shims-0cb1bad1.js} +3 -3
- package/dist/esm/{input-shims-212ee02f.js.map → input-shims-0cb1bad1.js.map} +1 -1
- package/dist/esm/{input.utils-d2c917c3.js → input.utils-0e2bf61a.js} +2 -2
- package/dist/esm/{input.utils-d2c917c3.js.map → input.utils-0e2bf61a.js.map} +1 -1
- package/dist/esm/ion-accordion-group.entry.js +2 -2
- package/dist/esm/ion-accordion.entry.js +3 -3
- package/dist/esm/ion-action-sheet_3.entry.js +7 -7
- package/dist/esm/ion-app.entry.js +7 -7
- package/dist/esm/ion-avatar.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-badge_5.entry.js +179 -0
- package/dist/esm/ion-badge_5.entry.js.map +1 -0
- package/dist/esm/ion-breadcrumb.entry.js +3 -3
- package/dist/esm/ion-breadcrumbs.entry.js +2 -2
- package/dist/esm/ion-button_4.entry.js +3 -3
- package/dist/{components/card-content.js → esm/ion-card-content.entry.js} +12 -26
- package/dist/esm/ion-card-content.entry.js.map +1 -0
- package/dist/{components/card-header.js → esm/ion-card-header.entry.js} +13 -31
- package/dist/esm/ion-card-header.entry.js.map +1 -0
- package/dist/esm/ion-card-subtitle.entry.js +2 -2
- package/dist/{components/card-title.js → esm/ion-card-title.entry.js} +13 -30
- package/dist/esm/ion-card-title.entry.js.map +1 -0
- package/dist/{components/card.js → esm/ion-card.entry.js} +15 -47
- package/dist/esm/ion-card.entry.js.map +1 -0
- package/dist/esm/{ion-checkbox_6.entry.js → ion-checkbox_7.entry.js} +280 -8
- package/dist/esm/ion-checkbox_7.entry.js.map +1 -0
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/{components/col.js → esm/ion-col.entry.js} +9 -49
- package/dist/esm/ion-col.entry.js.map +1 -0
- package/dist/esm/ion-content.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +3 -3
- package/dist/esm/ion-datetime.entry.js +3 -3
- package/dist/esm/ion-fab-button.entry.js +3 -3
- package/dist/esm/ion-fab-list.entry.js +2 -2
- package/dist/esm/ion-fab.entry.js +2 -2
- package/dist/esm/ion-footer.entry.js +4 -4
- package/dist/{components/grid.js → esm/ion-grid.entry.js} +9 -26
- package/dist/esm/ion-grid.entry.js.map +1 -0
- package/dist/esm/ion-header.entry.js +4 -4
- package/dist/esm/{ion-card_34.entry.js → ion-icon_31.entry.js} +45 -150
- package/dist/esm/ion-icon_31.entry.js.map +1 -0
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll.entry.js +4 -4
- package/dist/esm/{ion-input_2.entry.js → ion-input.entry.js} +8 -27
- package/dist/esm/ion-input.entry.js.map +1 -0
- package/dist/esm/ion-item-divider.entry.js +2 -2
- package/dist/esm/ion-item-group.entry.js +2 -2
- package/dist/esm/ion-item-option.entry.js +2 -2
- package/dist/esm/ion-item-options.entry.js +3 -3
- package/dist/esm/ion-item-sliding.entry.js +4 -4
- package/dist/esm/ion-loading.entry.js +7 -7
- package/dist/esm/ion-menu-button.entry.js +7 -7
- package/dist/esm/ion-menu-toggle.entry.js +7 -7
- package/dist/esm/ion-menu.entry.js +8 -8
- package/dist/esm/ion-modal.entry.js +9 -9
- package/dist/esm/ion-nav-link.entry.js +1 -1
- package/dist/esm/ion-nav.entry.js +6 -6
- package/dist/esm/ion-note.entry.js +30 -0
- package/dist/esm/ion-note.entry.js.map +1 -0
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +7 -7
- package/dist/esm/ion-popover.entry.js +8 -8
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher-content.entry.js +5 -5
- package/dist/esm/ion-refresher.entry.js +6 -6
- package/dist/esm/ion-reorder-group.entry.js +4 -4
- package/dist/esm/ion-reorder.entry.js +2 -2
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +6 -6
- package/dist/esm/ion-router.entry.js +2 -2
- package/dist/esm/ion-row.entry.js +19 -0
- package/dist/esm/ion-row.entry.js.map +1 -0
- package/dist/esm/ion-segment-button.entry.js +3 -3
- package/dist/esm/ion-segment.entry.js +3 -3
- package/dist/esm/ion-select-option.entry.js +2 -2
- package/dist/esm/ion-select.entry.js +8 -8
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar.entry.js +2 -2
- package/dist/esm/ion-tab-button.entry.js +3 -3
- package/dist/esm/ion-tab.entry.js +3 -3
- package/dist/esm/ion-tabs.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -6
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-title.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ion-toolbar.entry.js +2 -2
- package/dist/esm/{ionic-global-df0a32a5.js → ionic-global-07f989af.js} +2 -2
- package/dist/esm/{ionic-global-df0a32a5.js.map → ionic-global-07f989af.js.map} +1 -1
- package/dist/esm/{ios.transition-82aca0a1.js → ios.transition-02b5b74a.js} +5 -5
- package/dist/esm/{ios.transition-82aca0a1.js.map → ios.transition-02b5b74a.js.map} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-8ab6c7b8.js → md.transition-0e6cf607.js} +5 -5
- package/dist/esm/{md.transition-8ab6c7b8.js.map → md.transition-0e6cf607.js.map} +1 -1
- package/dist/esm/{menu-toggle-util-1b366cd3.js → menu-toggle-util-6257f7b5.js} +2 -2
- package/dist/esm/{menu-toggle-util-1b366cd3.js.map → menu-toggle-util-6257f7b5.js.map} +1 -1
- package/dist/esm/{notch-controller-ae856621.js → notch-controller-79926902.js} +2 -2
- package/dist/esm/{notch-controller-ae856621.js.map → notch-controller-79926902.js.map} +1 -1
- package/dist/esm/{overlays-75a54062.js → overlays-ef03d5bd.js} +5 -5
- package/dist/esm/{overlays-75a54062.js.map → overlays-ef03d5bd.js.map} +1 -1
- package/dist/esm/pos-app-document-viewer.entry.js +9 -2
- package/dist/esm/pos-app-document-viewer.entry.js.map +1 -1
- package/dist/esm/pos-app-generic.entry.js +2 -2
- package/dist/esm/pos-app-generic.entry.js.map +1 -1
- package/dist/esm/pos-app-image-viewer.entry.js +12 -3
- package/dist/esm/pos-app-image-viewer.entry.js.map +1 -1
- package/dist/esm/pos-app-ldp-container.entry.js +9 -2
- package/dist/esm/pos-app-ldp-container.entry.js.map +1 -1
- package/dist/esm/pos-app-rdf-document.entry.js +9 -2
- package/dist/esm/pos-app-rdf-document.entry.js.map +1 -1
- package/dist/esm/pos-container-contents.entry.js +1 -1
- package/dist/esm/pos-container-contents.entry.js.map +1 -1
- package/dist/esm/pos-container-item.entry.js +6 -2
- package/dist/esm/pos-container-item.entry.js.map +1 -1
- package/dist/esm/pos-document.entry.js +3 -3
- package/dist/esm/pos-document.entry.js.map +1 -1
- package/dist/esm/pos-relations_2.entry.js +3 -3
- package/dist/esm/pos-relations_2.entry.js.map +1 -1
- package/dist/esm/pos-subjects.entry.js +2 -2
- package/dist/esm/pos-subjects.entry.js.map +1 -1
- package/dist/esm/pos-value.entry.js +1 -1
- package/dist/esm/{refresher.utils-b1770bf3.js → refresher.utils-d191622d.js} +4 -4
- package/dist/esm/{refresher.utils-b1770bf3.js.map → refresher.utils-d191622d.js.map} +1 -1
- package/dist/esm/{status-tap-e14d7459.js → status-tap-cdf580e7.js} +4 -4
- package/dist/esm/{status-tap-e14d7459.js.map → status-tap-cdf580e7.js.map} +1 -1
- package/dist/esm/{swipe-back-5993fe10.js → swipe-back-698e6532.js} +2 -2
- package/dist/esm/{swipe-back-5993fe10.js.map → swipe-back-698e6532.js.map} +1 -1
- package/package.json +1 -1
- package/dist/cjs/ion-badge_8.cjs.entry.js +0 -368
- package/dist/cjs/ion-badge_8.cjs.entry.js.map +0 -1
- package/dist/cjs/ion-card_34.cjs.entry.js.map +0 -1
- package/dist/cjs/ion-checkbox_6.cjs.entry.js.map +0 -1
- package/dist/cjs/ion-input_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ion-item_2.cjs.entry.js +0 -309
- package/dist/cjs/ion-item_2.cjs.entry.js.map +0 -1
- package/dist/components/card-content.js.map +0 -1
- package/dist/components/card-header.js.map +0 -1
- package/dist/components/card-title.js.map +0 -1
- package/dist/components/card.js.map +0 -1
- package/dist/components/col.js.map +0 -1
- package/dist/components/grid.js.map +0 -1
- package/dist/components/input.js +0 -570
- package/dist/components/input.js.map +0 -1
- package/dist/components/row.js +0 -34
- package/dist/components/row.js.map +0 -1
- package/dist/elements/p-012323aa.entry.js +0 -2
- package/dist/elements/p-012323aa.entry.js.map +0 -1
- package/dist/elements/p-06d453ad.entry.js +0 -2
- package/dist/elements/p-06d453ad.entry.js.map +0 -1
- package/dist/elements/p-07df0400.entry.js +0 -2
- package/dist/elements/p-07df0400.entry.js.map +0 -1
- package/dist/elements/p-1651e9a7.entry.js +0 -2
- package/dist/elements/p-1df0edde.entry.js +0 -2
- package/dist/elements/p-2e13f1ea.entry.js +0 -2
- package/dist/elements/p-305e6eb1.entry.js +0 -2
- package/dist/elements/p-305e6eb1.entry.js.map +0 -1
- package/dist/elements/p-39c3380c.entry.js +0 -2
- package/dist/elements/p-39c3380c.entry.js.map +0 -1
- package/dist/elements/p-4a049a02.entry.js +0 -2
- package/dist/elements/p-59feb185.js +0 -5
- package/dist/elements/p-5d1eb685.entry.js +0 -2
- package/dist/elements/p-62a60344.entry.js +0 -2
- package/dist/elements/p-780ee959.entry.js +0 -2
- package/dist/elements/p-7a563988.js +0 -5
- package/dist/elements/p-8206b1f1.js +0 -6
- package/dist/elements/p-8b22dca0.entry.js +0 -2
- package/dist/elements/p-968b8bef.entry.js +0 -2
- package/dist/elements/p-968b8bef.entry.js.map +0 -1
- package/dist/elements/p-970fce25.entry.js +0 -2
- package/dist/elements/p-a3af481c.js +0 -5
- package/dist/elements/p-a4b77d8f.entry.js +0 -2
- package/dist/elements/p-a4b77d8f.entry.js.map +0 -1
- package/dist/elements/p-abed69a9.entry.js +0 -2
- package/dist/elements/p-bed596af.entry.js +0 -2
- package/dist/elements/p-bed596af.entry.js.map +0 -1
- package/dist/elements/p-bfaa6328.entry.js +0 -2
- package/dist/elements/p-bfaa6328.entry.js.map +0 -1
- package/dist/elements/p-c0ad1e98.entry.js +0 -2
- package/dist/elements/p-c21dcd46.entry.js +0 -2
- package/dist/elements/p-c2690129.js +0 -5
- package/dist/elements/p-c6c9f7e0.entry.js +0 -2
- package/dist/elements/p-ca453b3d.js +0 -8
- package/dist/elements/p-d0c67d7c.entry.js +0 -2
- package/dist/elements/p-d0fad707.entry.js +0 -2
- package/dist/elements/p-d0fad707.entry.js.map +0 -1
- package/dist/elements/p-d80f77af.entry.js +0 -2
- package/dist/elements/p-defde894.entry.js +0 -2
- package/dist/elements/p-defde894.entry.js.map +0 -1
- package/dist/elements/p-e11f2e70.entry.js +0 -20
- package/dist/elements/p-e11f2e70.entry.js.map +0 -1
- package/dist/elements/p-e41c7c26.entry.js +0 -5
- package/dist/elements/p-e41c7c26.entry.js.map +0 -1
- package/dist/elements/p-f02106b8.entry.js +0 -2
- package/dist/elements/p-f02106b8.entry.js.map +0 -1
- package/dist/elements/p-f0d9cf91.js +0 -2
- package/dist/elements/p-fb766a59.entry.js.map +0 -1
- package/dist/esm/ion-badge_8.entry.js +0 -357
- package/dist/esm/ion-badge_8.entry.js.map +0 -1
- package/dist/esm/ion-card_34.entry.js.map +0 -1
- package/dist/esm/ion-checkbox_6.entry.js.map +0 -1
- package/dist/esm/ion-input_2.entry.js.map +0 -1
- package/dist/esm/ion-item_2.entry.js +0 -304
- package/dist/esm/ion-item_2.entry.js.map +0 -1
- /package/dist/elements/{p-4cb77968.js.map → p-061819d1.js.map} +0 -0
- /package/dist/elements/{p-68fa0553.entry.js.map → p-09d80405.entry.js.map} +0 -0
- /package/dist/elements/{p-f1a6f6f2.js.map → p-1fc8e557.js.map} +0 -0
- /package/dist/elements/{p-196197ab.entry.js.map → p-239442f9.entry.js.map} +0 -0
- /package/dist/elements/{p-2d5448aa.entry.js.map → p-250d4bf1.entry.js.map} +0 -0
- /package/dist/elements/{p-a3726198.entry.js.map → p-25926b66.entry.js.map} +0 -0
- /package/dist/elements/{p-da0cfe0c.entry.js.map → p-266d2934.entry.js.map} +0 -0
- /package/dist/elements/{p-13d85a0a.entry.js.map → p-2a548485.entry.js.map} +0 -0
- /package/dist/elements/{p-d016e7e0.entry.js.map → p-2f0509be.entry.js.map} +0 -0
- /package/dist/elements/{p-ec0d5d03.entry.js.map → p-300ec095.entry.js.map} +0 -0
- /package/dist/elements/{p-34d3ff03.js.map → p-307d1531.js.map} +0 -0
- /package/dist/elements/{p-b725d322.entry.js.map → p-41854c8f.entry.js.map} +0 -0
- /package/dist/elements/{p-609cf34b.entry.js.map → p-41bb9792.entry.js.map} +0 -0
- /package/dist/elements/{p-ad32e711.js.map → p-42169e41.js.map} +0 -0
- /package/dist/elements/{p-b58ed3d9.entry.js.map → p-4383e1bb.entry.js.map} +0 -0
- /package/dist/elements/{p-df24c396.entry.js.map → p-49fcec88.entry.js.map} +0 -0
- /package/dist/elements/{p-1b971594.entry.js.map → p-4a370bdc.entry.js.map} +0 -0
- /package/dist/elements/{p-c2690129.js.map → p-4c78c8c9.js.map} +0 -0
- /package/dist/elements/{p-a8afe4ef.entry.js.map → p-4dd65d40.entry.js.map} +0 -0
- /package/dist/elements/{p-f0d9cf91.js.map → p-523432d1.js.map} +0 -0
- /package/dist/elements/{p-8a61526b.entry.js.map → p-552a9992.entry.js.map} +0 -0
- /package/dist/elements/{p-66812011.entry.js.map → p-59ec8b76.entry.js.map} +0 -0
- /package/dist/elements/{p-0cf27008.entry.js.map → p-5bf40440.entry.js.map} +0 -0
- /package/dist/elements/{p-714cb336.entry.js.map → p-6119b57a.entry.js.map} +0 -0
- /package/dist/elements/{p-d3e26e17.entry.js.map → p-627826b0.entry.js.map} +0 -0
- /package/dist/elements/{p-3e1b5fc4.entry.js.map → p-645632a8.entry.js.map} +0 -0
- /package/dist/elements/{p-aca8e982.entry.js.map → p-66973c59.entry.js.map} +0 -0
- /package/dist/elements/{p-097747f2.entry.js.map → p-66a58eb0.entry.js.map} +0 -0
- /package/dist/elements/{p-3bf6d7b8.entry.js.map → p-6cc9961e.entry.js.map} +0 -0
- /package/dist/elements/{p-25270f1a.js.map → p-71ee259b.js.map} +0 -0
- /package/dist/elements/{p-6189fb02.entry.js.map → p-72a9cbdc.entry.js.map} +0 -0
- /package/dist/elements/{p-3ab4f8b6.js.map → p-734e5a97.js.map} +0 -0
- /package/dist/elements/{p-780ee959.entry.js.map → p-7f53778f.entry.js.map} +0 -0
- /package/dist/elements/{p-ec9d0fd2.entry.js.map → p-87c81685.entry.js.map} +0 -0
- /package/dist/elements/{p-163e3e87.js.map → p-89aef852.js.map} +0 -0
- /package/dist/elements/{p-a9478dc1.entry.js.map → p-8b209e66.entry.js.map} +0 -0
- /package/dist/elements/{p-9a3d973e.entry.js.map → p-8f6d1cbe.entry.js.map} +0 -0
- /package/dist/elements/{p-ca453b3d.js.map → p-932de51e.js.map} +0 -0
- /package/dist/elements/{p-20e2e8c1.js.map → p-949b115f.js.map} +0 -0
- /package/dist/elements/{p-d80f77af.entry.js.map → p-a13569cf.entry.js.map} +0 -0
- /package/dist/elements/{p-76351ab7.entry.js.map → p-a376351f.entry.js.map} +0 -0
- /package/dist/elements/{p-a3af481c.js.map → p-a37a2712.js.map} +0 -0
- /package/dist/elements/{p-f7490d6e.js.map → p-a6c03ce8.js.map} +0 -0
- /package/dist/elements/{p-a9df5a3a.entry.js.map → p-b5f6b322.entry.js.map} +0 -0
- /package/dist/elements/{p-00c6a8f5.entry.js.map → p-b64a85bf.entry.js.map} +0 -0
- /package/dist/elements/{p-fa63a2cc.entry.js.map → p-b8bd7745.entry.js.map} +0 -0
- /package/dist/elements/{p-dc0cae0c.js.map → p-b9dcf3b2.js.map} +0 -0
- /package/dist/elements/{p-bf16fe9d.entry.js.map → p-bc675b21.entry.js.map} +0 -0
- /package/dist/elements/{p-4a049a02.entry.js.map → p-bca341ba.entry.js.map} +0 -0
- /package/dist/elements/{p-6183b212.entry.js.map → p-c186950b.entry.js.map} +0 -0
- /package/dist/elements/{p-bb3054a3.js.map → p-c191e6df.js.map} +0 -0
- /package/dist/elements/{p-b90da7d9.entry.js.map → p-c350af00.entry.js.map} +0 -0
- /package/dist/elements/{p-7a563988.js.map → p-c452a2e9.js.map} +0 -0
- /package/dist/elements/{p-b250dee1.entry.js.map → p-c698ab8e.entry.js.map} +0 -0
- /package/dist/elements/{p-33b22cc6.entry.js.map → p-c9604122.entry.js.map} +0 -0
- /package/dist/elements/{p-b25dd1f1.js.map → p-cbae963d.js.map} +0 -0
- /package/dist/elements/{p-592177e8.js.map → p-cbf050d6.js.map} +0 -0
- /package/dist/elements/{p-4d6e48bf.js.map → p-d1e7b393.js.map} +0 -0
- /package/dist/elements/{p-34f376f2.entry.js.map → p-d358565a.entry.js.map} +0 -0
- /package/dist/elements/{p-dcd16290.js.map → p-d61d280b.js.map} +0 -0
- /package/dist/elements/{p-04c9fe91.entry.js.map → p-d6394ee4.entry.js.map} +0 -0
- /package/dist/elements/{p-0cdbd05c.entry.js.map → p-d8818bb3.entry.js.map} +0 -0
- /package/dist/elements/{p-17cb620a.js.map → p-da0d920d.js.map} +0 -0
- /package/dist/elements/{p-b9e14ed6.entry.js.map → p-dadb557e.entry.js.map} +0 -0
- /package/dist/elements/{p-2bb537fb.entry.js.map → p-dc709055.entry.js.map} +0 -0
- /package/dist/elements/{p-0ffd76fc.entry.js.map → p-e0de7c6a.entry.js.map} +0 -0
- /package/dist/elements/{p-bcd11997.entry.js.map → p-e78cf007.entry.js.map} +0 -0
- /package/dist/elements/{p-dcd0a40c.entry.js.map → p-e8268c7a.entry.js.map} +0 -0
- /package/dist/elements/{p-8206b1f1.js.map → p-eba70ed1.js.map} +0 -0
- /package/dist/elements/{p-1c44ef41.entry.js.map → p-f4035b4a.entry.js.map} +0 -0
- /package/dist/elements/{p-de2c14be.entry.js.map → p-f40b3ec6.entry.js.map} +0 -0
- /package/dist/elements/{p-e04e65b9.entry.js.map → p-f50c3045.entry.js.map} +0 -0
- /package/dist/elements/{p-59feb185.js.map → p-f67bba50.js.map} +0 -0
- /package/dist/elements/{p-2d13e141.entry.js.map → p-f96384f2.entry.js.map} +0 -0
- /package/dist/elements/{p-925bb96a.entry.js.map → p-fa19a3e9.entry.js.map} +0 -0
- /package/dist/elements/{p-ab68c761.entry.js.map → p-ffa8c481.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["infiniteScrollCss","IonInfiniteScrollStyle0","InfiniteScroll","constructor","hostRef","this","thrPx","thrPc","didFire","isBusy","onScroll","scrollEl","canStart","infiniteHeight","el","offsetHeight","scrollTop","scrollHeight","height","threshold","distanceFromInfinite","position","isLoading","ionInfinite","emit","disabled","thresholdChanged","val","lastIndexOf","parseFloat","disabledChanged","enableScrollEvents","connectedCallback","contentEl","findClosestIonContent","printIonContentErrorMsg","getScrollElement","writeTask","clientHeight","disconnectedCallback","undefined","complete","prev","requestAnimationFrame","readTask","newScrollTop","shouldListen","addEventListener","removeEventListener","render","mode","getIonMode","h","Host","key","class"],"sources":["../node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css?tag=ion-infinite-scroll","../node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.js"],"sourcesContent":["ion-infinite-scroll {\n display: none;\n width: 100%;\n}\n\n.infinite-scroll-enabled {\n display: block;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h, readTask, writeTask } from \"@stencil/core\";\nimport { findClosestIonContent, getScrollElement, printIonContentErrorMsg } from \"../../utils/content/index\";\nimport { getIonMode } from \"../../global/ionic-global\";\nexport class InfiniteScroll {\n constructor() {\n this.thrPx = 0;\n this.thrPc = 0;\n /**\n * didFire exists so that ionInfinite\n * does not fire multiple times if\n * users continue to scroll after\n * scrolling into the infinite\n * scroll threshold.\n */\n this.didFire = false;\n this.isBusy = false;\n this.onScroll = () => {\n const scrollEl = this.scrollEl;\n if (!scrollEl || !this.canStart()) {\n return 1;\n }\n const infiniteHeight = this.el.offsetHeight;\n if (infiniteHeight === 0) {\n // if there is no height of this element then do nothing\n return 2;\n }\n const scrollTop = scrollEl.scrollTop;\n const scrollHeight = scrollEl.scrollHeight;\n const height = scrollEl.offsetHeight;\n const threshold = this.thrPc !== 0 ? height * this.thrPc : this.thrPx;\n const distanceFromInfinite = this.position === 'bottom'\n ? scrollHeight - infiniteHeight - scrollTop - threshold - height\n : scrollTop - infiniteHeight - threshold;\n if (distanceFromInfinite < 0) {\n if (!this.didFire) {\n this.isLoading = true;\n this.didFire = true;\n this.ionInfinite.emit();\n return 3;\n }\n }\n return 4;\n };\n this.isLoading = false;\n this.threshold = '15%';\n this.disabled = false;\n this.position = 'bottom';\n }\n thresholdChanged() {\n const val = this.threshold;\n if (val.lastIndexOf('%') > -1) {\n this.thrPx = 0;\n this.thrPc = parseFloat(val) / 100;\n }\n else {\n this.thrPx = parseFloat(val);\n this.thrPc = 0;\n }\n }\n disabledChanged() {\n const disabled = this.disabled;\n if (disabled) {\n this.isLoading = false;\n this.isBusy = false;\n }\n this.enableScrollEvents(!disabled);\n }\n async connectedCallback() {\n const contentEl = findClosestIonContent(this.el);\n if (!contentEl) {\n printIonContentErrorMsg(this.el);\n return;\n }\n this.scrollEl = await getScrollElement(contentEl);\n this.thresholdChanged();\n this.disabledChanged();\n if (this.position === 'top') {\n writeTask(() => {\n if (this.scrollEl) {\n this.scrollEl.scrollTop = this.scrollEl.scrollHeight - this.scrollEl.clientHeight;\n }\n });\n }\n }\n disconnectedCallback() {\n this.enableScrollEvents(false);\n this.scrollEl = undefined;\n }\n /**\n * Call `complete()` within the `ionInfinite` output event handler when\n * your async operation has completed. For example, the `loading`\n * state is while the app is performing an asynchronous operation,\n * such as receiving more data from an AJAX request to add more items\n * to a data list. Once the data has been received and UI updated, you\n * then call this method to signify that the loading has completed.\n * This method will change the infinite scroll's state from `loading`\n * to `enabled`.\n */\n async complete() {\n const scrollEl = this.scrollEl;\n if (!this.isLoading || !scrollEl) {\n return;\n }\n this.isLoading = false;\n if (this.position === 'top') {\n /**\n * New content is being added at the top, but the scrollTop position stays the same,\n * which causes a scroll jump visually. This algorithm makes sure to prevent this.\n * (Frame 1)\n * - complete() is called, but the UI hasn't had time to update yet.\n * - Save the current content dimensions.\n * - Wait for the next frame using _dom.read, so the UI will be updated.\n * (Frame 2)\n * - Read the new content dimensions.\n * - Calculate the height difference and the new scroll position.\n * - Delay the scroll position change until other possible dom reads are done using _dom.write to be performant.\n * (Still frame 2, if I'm correct)\n * - Change the scroll position (= visually maintain the scroll position).\n * - Change the state to re-enable the InfiniteScroll.\n * - This should be after changing the scroll position, or it could\n * cause the InfiniteScroll to be triggered again immediately.\n * (Frame 3)\n * Done.\n */\n this.isBusy = true;\n // ******** DOM READ ****************\n // Save the current content dimensions before the UI updates\n const prev = scrollEl.scrollHeight - scrollEl.scrollTop;\n // ******** DOM READ ****************\n requestAnimationFrame(() => {\n readTask(() => {\n // UI has updated, save the new content dimensions\n const scrollHeight = scrollEl.scrollHeight;\n // New content was added on top, so the scroll position should be changed immediately to prevent it from jumping around\n const newScrollTop = scrollHeight - prev;\n // ******** DOM WRITE ****************\n requestAnimationFrame(() => {\n writeTask(() => {\n scrollEl.scrollTop = newScrollTop;\n this.isBusy = false;\n this.didFire = false;\n });\n });\n });\n });\n }\n else {\n this.didFire = false;\n }\n }\n canStart() {\n return !this.disabled && !this.isBusy && !!this.scrollEl && !this.isLoading;\n }\n enableScrollEvents(shouldListen) {\n if (this.scrollEl) {\n if (shouldListen) {\n this.scrollEl.addEventListener('scroll', this.onScroll);\n }\n else {\n this.scrollEl.removeEventListener('scroll', this.onScroll);\n }\n }\n }\n render() {\n const mode = getIonMode(this);\n const disabled = this.disabled;\n return (h(Host, { key: 'c2248d06232dd7771dd155693ec75f9258dc969e', class: {\n [mode]: true,\n 'infinite-scroll-loading': this.isLoading,\n 'infinite-scroll-enabled': !disabled,\n } }));\n }\n static get is() { return \"ion-infinite-scroll\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"infinite-scroll.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"infinite-scroll.css\"]\n };\n }\n static get properties() {\n return {\n \"threshold\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The threshold distance from the bottom\\nof the content to call the `infinite` output event when scrolled.\\nThe threshold value can be either a percent, or\\nin pixels. For example, use the value of `10%` for the `infinite`\\noutput event to get called when the user has scrolled 10%\\nfrom the bottom of the page. Use the value `100px` when the\\nscroll is within 100 pixels from the bottom of the page.\"\n },\n \"attribute\": \"threshold\",\n \"reflect\": false,\n \"defaultValue\": \"'15%'\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the infinite scroll will be hidden and scroll event listeners\\nwill be removed.\\n\\nSet this to true to disable the infinite scroll from actively\\ntrying to receive new data while scrolling. This is useful\\nwhen it is known that there is no more data that can be added, and\\nthe infinite scroll is no longer needed.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"position\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'top' | 'bottom'\",\n \"resolved\": \"\\\"bottom\\\" | \\\"top\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The position of the infinite scroll element.\\nThe value can be either `top` or `bottom`.\"\n },\n \"attribute\": \"position\",\n \"reflect\": false,\n \"defaultValue\": \"'bottom'\"\n }\n };\n }\n static get states() {\n return {\n \"isLoading\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionInfinite\",\n \"name\": \"ionInfinite\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the scroll reaches\\nthe threshold distance. From within your infinite handler,\\nyou must call the infinite scroll's `complete()` method when\\nyour async operation has completed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"complete\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Call `complete()` within the `ionInfinite` output event handler when\\nyour async operation has completed. For example, the `loading`\\nstate is while the app is performing an asynchronous operation,\\nsuch as receiving more data from an AJAX request to add more items\\nto a data list. Once the data has been received and UI updated, you\\nthen call this method to signify that the loading has completed.\\nThis method will change the infinite scroll's state from `loading`\\nto `enabled`.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"threshold\",\n \"methodName\": \"thresholdChanged\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"disabledChanged\"\n }];\n }\n}\n"],"mappings":"+MAAA,MAAMA,EAAoB,sFAC1B,MAAAC,EAAeD,E,MCKFE,EAAc,MACvB,WAAAC,CAAAC,G,mDACIC,KAAKC,MAAQ,EACbD,KAAKE,MAAQ,EAQbF,KAAKG,QAAU,MACfH,KAAKI,OAAS,MACdJ,KAAKK,SAAW,KACZ,MAAMC,EAAWN,KAAKM,SACtB,IAAKA,IAAaN,KAAKO,WAAY,CAC/B,OAAO,C,CAEX,MAAMC,EAAiBR,KAAKS,GAAGC,aAC/B,GAAIF,IAAmB,EAAG,CAEtB,OAAO,C,CAEX,MAAMG,EAAYL,EAASK,UAC3B,MAAMC,EAAeN,EAASM,aAC9B,MAAMC,EAASP,EAASI,aACxB,MAAMI,EAAYd,KAAKE,QAAU,EAAIW,EAASb,KAAKE,MAAQF,KAAKC,MAChE,MAAMc,EAAuBf,KAAKgB,WAAa,SACzCJ,EAAeJ,EAAiBG,EAAYG,EAAYD,EACxDF,EAAYH,EAAiBM,EACnC,GAAIC,EAAuB,EAAG,CAC1B,IAAKf,KAAKG,QAAS,CACfH,KAAKiB,UAAY,KACjBjB,KAAKG,QAAU,KACfH,KAAKkB,YAAYC,OACjB,OAAO,C,EAGf,OAAO,CAAC,EAEZnB,KAAKiB,UAAY,MACjBjB,KAAKc,UAAY,MACjBd,KAAKoB,SAAW,MAChBpB,KAAKgB,SAAW,Q,CAEpB,gBAAAK,GACI,MAAMC,EAAMtB,KAAKc,UACjB,GAAIQ,EAAIC,YAAY,MAAQ,EAAG,CAC3BvB,KAAKC,MAAQ,EACbD,KAAKE,MAAQsB,WAAWF,GAAO,G,KAE9B,CACDtB,KAAKC,MAAQuB,WAAWF,GACxBtB,KAAKE,MAAQ,C,EAGrB,eAAAuB,GACI,MAAML,EAAWpB,KAAKoB,SACtB,GAAIA,EAAU,CACVpB,KAAKiB,UAAY,MACjBjB,KAAKI,OAAS,K,CAElBJ,KAAK0B,oBAAoBN,E,CAE7B,uBAAMO,GACF,MAAMC,EAAYC,EAAsB7B,KAAKS,IAC7C,IAAKmB,EAAW,CACZE,EAAwB9B,KAAKS,IAC7B,M,CAEJT,KAAKM,eAAiByB,EAAiBH,GACvC5B,KAAKqB,mBACLrB,KAAKyB,kBACL,GAAIzB,KAAKgB,WAAa,MAAO,CACzBgB,GAAU,KACN,GAAIhC,KAAKM,SAAU,CACfN,KAAKM,SAASK,UAAYX,KAAKM,SAASM,aAAeZ,KAAKM,SAAS2B,Y,MAKrF,oBAAAC,GACIlC,KAAK0B,mBAAmB,OACxB1B,KAAKM,SAAW6B,S,CAYpB,cAAMC,GACF,MAAM9B,EAAWN,KAAKM,SACtB,IAAKN,KAAKiB,YAAcX,EAAU,CAC9B,M,CAEJN,KAAKiB,UAAY,MACjB,GAAIjB,KAAKgB,WAAa,MAAO,CAoBzBhB,KAAKI,OAAS,KAGd,MAAMiC,EAAO/B,EAASM,aAAeN,EAASK,UAE9C2B,uBAAsB,KAClBC,GAAS,KAEL,MAAM3B,EAAeN,EAASM,aAE9B,MAAM4B,EAAe5B,EAAeyB,EAEpCC,uBAAsB,KAClBN,GAAU,KACN1B,EAASK,UAAY6B,EACrBxC,KAAKI,OAAS,MACdJ,KAAKG,QAAU,KAAK,GACtB,GACJ,GACJ,G,KAGL,CACDH,KAAKG,QAAU,K,EAGvB,QAAAI,GACI,OAAQP,KAAKoB,WAAapB,KAAKI,UAAYJ,KAAKM,WAAaN,KAAKiB,S,CAEtE,kBAAAS,CAAmBe,GACf,GAAIzC,KAAKM,SAAU,CACf,GAAImC,EAAc,CACdzC,KAAKM,SAASoC,iBAAiB,SAAU1C,KAAKK,S,KAE7C,CACDL,KAAKM,SAASqC,oBAAoB,SAAU3C,KAAKK,S,GAI7D,MAAAuC,GACI,MAAMC,EAAOC,EAAW9C,MACxB,MAAMoB,EAAWpB,KAAKoB,SACtB,OAAQ2B,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClEL,CAACA,GAAO,KACR,0BAA2B7C,KAAKiB,UAChC,2BAA4BG,I","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["infiniteScrollCss","IonInfiniteScrollStyle0","InfiniteScroll","constructor","hostRef","this","thrPx","thrPc","didFire","isBusy","onScroll","scrollEl","canStart","infiniteHeight","el","offsetHeight","scrollTop","scrollHeight","height","threshold","distanceFromInfinite","position","isLoading","ionInfinite","emit","disabled","thresholdChanged","val","lastIndexOf","parseFloat","disabledChanged","enableScrollEvents","connectedCallback","contentEl","findClosestIonContent","printIonContentErrorMsg","getScrollElement","writeTask","clientHeight","disconnectedCallback","undefined","complete","prev","requestAnimationFrame","readTask","newScrollTop","shouldListen","addEventListener","removeEventListener","render","mode","getIonMode","h","Host","key","class"],"sources":["../node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css?tag=ion-infinite-scroll","../node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.js"],"sourcesContent":["ion-infinite-scroll {\n display: none;\n width: 100%;\n}\n\n.infinite-scroll-enabled {\n display: block;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h, readTask, writeTask } from \"@stencil/core\";\nimport { findClosestIonContent, getScrollElement, printIonContentErrorMsg } from \"../../utils/content/index\";\nimport { getIonMode } from \"../../global/ionic-global\";\nexport class InfiniteScroll {\n constructor() {\n this.thrPx = 0;\n this.thrPc = 0;\n /**\n * didFire exists so that ionInfinite\n * does not fire multiple times if\n * users continue to scroll after\n * scrolling into the infinite\n * scroll threshold.\n */\n this.didFire = false;\n this.isBusy = false;\n this.onScroll = () => {\n const scrollEl = this.scrollEl;\n if (!scrollEl || !this.canStart()) {\n return 1;\n }\n const infiniteHeight = this.el.offsetHeight;\n if (infiniteHeight === 0) {\n // if there is no height of this element then do nothing\n return 2;\n }\n const scrollTop = scrollEl.scrollTop;\n const scrollHeight = scrollEl.scrollHeight;\n const height = scrollEl.offsetHeight;\n const threshold = this.thrPc !== 0 ? height * this.thrPc : this.thrPx;\n const distanceFromInfinite = this.position === 'bottom'\n ? scrollHeight - infiniteHeight - scrollTop - threshold - height\n : scrollTop - infiniteHeight - threshold;\n if (distanceFromInfinite < 0) {\n if (!this.didFire) {\n this.isLoading = true;\n this.didFire = true;\n this.ionInfinite.emit();\n return 3;\n }\n }\n return 4;\n };\n this.isLoading = false;\n this.threshold = '15%';\n this.disabled = false;\n this.position = 'bottom';\n }\n thresholdChanged() {\n const val = this.threshold;\n if (val.lastIndexOf('%') > -1) {\n this.thrPx = 0;\n this.thrPc = parseFloat(val) / 100;\n }\n else {\n this.thrPx = parseFloat(val);\n this.thrPc = 0;\n }\n }\n disabledChanged() {\n const disabled = this.disabled;\n if (disabled) {\n this.isLoading = false;\n this.isBusy = false;\n }\n this.enableScrollEvents(!disabled);\n }\n async connectedCallback() {\n const contentEl = findClosestIonContent(this.el);\n if (!contentEl) {\n printIonContentErrorMsg(this.el);\n return;\n }\n this.scrollEl = await getScrollElement(contentEl);\n this.thresholdChanged();\n this.disabledChanged();\n if (this.position === 'top') {\n writeTask(() => {\n if (this.scrollEl) {\n this.scrollEl.scrollTop = this.scrollEl.scrollHeight - this.scrollEl.clientHeight;\n }\n });\n }\n }\n disconnectedCallback() {\n this.enableScrollEvents(false);\n this.scrollEl = undefined;\n }\n /**\n * Call `complete()` within the `ionInfinite` output event handler when\n * your async operation has completed. For example, the `loading`\n * state is while the app is performing an asynchronous operation,\n * such as receiving more data from an AJAX request to add more items\n * to a data list. Once the data has been received and UI updated, you\n * then call this method to signify that the loading has completed.\n * This method will change the infinite scroll's state from `loading`\n * to `enabled`.\n */\n async complete() {\n const scrollEl = this.scrollEl;\n if (!this.isLoading || !scrollEl) {\n return;\n }\n this.isLoading = false;\n if (this.position === 'top') {\n /**\n * New content is being added at the top, but the scrollTop position stays the same,\n * which causes a scroll jump visually. This algorithm makes sure to prevent this.\n * (Frame 1)\n * - complete() is called, but the UI hasn't had time to update yet.\n * - Save the current content dimensions.\n * - Wait for the next frame using _dom.read, so the UI will be updated.\n * (Frame 2)\n * - Read the new content dimensions.\n * - Calculate the height difference and the new scroll position.\n * - Delay the scroll position change until other possible dom reads are done using _dom.write to be performant.\n * (Still frame 2, if I'm correct)\n * - Change the scroll position (= visually maintain the scroll position).\n * - Change the state to re-enable the InfiniteScroll.\n * - This should be after changing the scroll position, or it could\n * cause the InfiniteScroll to be triggered again immediately.\n * (Frame 3)\n * Done.\n */\n this.isBusy = true;\n // ******** DOM READ ****************\n // Save the current content dimensions before the UI updates\n const prev = scrollEl.scrollHeight - scrollEl.scrollTop;\n // ******** DOM READ ****************\n requestAnimationFrame(() => {\n readTask(() => {\n // UI has updated, save the new content dimensions\n const scrollHeight = scrollEl.scrollHeight;\n // New content was added on top, so the scroll position should be changed immediately to prevent it from jumping around\n const newScrollTop = scrollHeight - prev;\n // ******** DOM WRITE ****************\n requestAnimationFrame(() => {\n writeTask(() => {\n scrollEl.scrollTop = newScrollTop;\n this.isBusy = false;\n this.didFire = false;\n });\n });\n });\n });\n }\n else {\n this.didFire = false;\n }\n }\n canStart() {\n return !this.disabled && !this.isBusy && !!this.scrollEl && !this.isLoading;\n }\n enableScrollEvents(shouldListen) {\n if (this.scrollEl) {\n if (shouldListen) {\n this.scrollEl.addEventListener('scroll', this.onScroll);\n }\n else {\n this.scrollEl.removeEventListener('scroll', this.onScroll);\n }\n }\n }\n render() {\n const mode = getIonMode(this);\n const disabled = this.disabled;\n return (h(Host, { key: 'c2248d06232dd7771dd155693ec75f9258dc969e', class: {\n [mode]: true,\n 'infinite-scroll-loading': this.isLoading,\n 'infinite-scroll-enabled': !disabled,\n } }));\n }\n static get is() { return \"ion-infinite-scroll\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"infinite-scroll.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"infinite-scroll.css\"]\n };\n }\n static get properties() {\n return {\n \"threshold\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The threshold distance from the bottom\\nof the content to call the `infinite` output event when scrolled.\\nThe threshold value can be either a percent, or\\nin pixels. For example, use the value of `10%` for the `infinite`\\noutput event to get called when the user has scrolled 10%\\nfrom the bottom of the page. Use the value `100px` when the\\nscroll is within 100 pixels from the bottom of the page.\"\n },\n \"attribute\": \"threshold\",\n \"reflect\": false,\n \"defaultValue\": \"'15%'\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the infinite scroll will be hidden and scroll event listeners\\nwill be removed.\\n\\nSet this to true to disable the infinite scroll from actively\\ntrying to receive new data while scrolling. This is useful\\nwhen it is known that there is no more data that can be added, and\\nthe infinite scroll is no longer needed.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"position\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'top' | 'bottom'\",\n \"resolved\": \"\\\"bottom\\\" | \\\"top\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The position of the infinite scroll element.\\nThe value can be either `top` or `bottom`.\"\n },\n \"attribute\": \"position\",\n \"reflect\": false,\n \"defaultValue\": \"'bottom'\"\n }\n };\n }\n static get states() {\n return {\n \"isLoading\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionInfinite\",\n \"name\": \"ionInfinite\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the scroll reaches\\nthe threshold distance. From within your infinite handler,\\nyou must call the infinite scroll's `complete()` method when\\nyour async operation has completed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"complete\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Call `complete()` within the `ionInfinite` output event handler when\\nyour async operation has completed. For example, the `loading`\\nstate is while the app is performing an asynchronous operation,\\nsuch as receiving more data from an AJAX request to add more items\\nto a data list. Once the data has been received and UI updated, you\\nthen call this method to signify that the loading has completed.\\nThis method will change the infinite scroll's state from `loading`\\nto `enabled`.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"threshold\",\n \"methodName\": \"thresholdChanged\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"disabledChanged\"\n }];\n }\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,i as e,h as i,H as s,e as n}from"./p-42169e41.js";const o=":host{left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;flex:1;contain:layout size style}";const a=o;const r=class{constructor(i){t(this,i);this.ionNavWillLoad=e(this,"ionNavWillLoad",7);this.ionTabsWillChange=e(this,"ionTabsWillChange",3);this.ionTabsDidChange=e(this,"ionTabsDidChange",3);this.transitioning=false;this.onTabClicked=t=>{const{href:e,tab:i}=t.detail;if(this.useRouter&&e!==undefined){const t=document.querySelector("ion-router");if(t){t.push(e)}}else{this.select(i)}};this.selectedTab=undefined;this.useRouter=false}async componentWillLoad(){if(!this.useRouter){this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]")}if(!this.useRouter){const t=this.tabs;if(t.length>0){await this.select(t[0])}}this.ionNavWillLoad.emit()}componentWillRender(){const t=this.el.querySelector("ion-tab-bar");if(t){const e=this.selectedTab?this.selectedTab.tab:undefined;t.selectedTab=e}}async select(t){const e=h(this.tabs,t);if(!this.shouldSwitch(e)){return false}await this.setActive(e);await this.notifyRouter();this.tabSwitch();return true}async getTab(t){return h(this.tabs,t)}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:undefined)}async setRouteId(t){const e=h(this.tabs,t);if(!this.shouldSwitch(e)){return{changed:false,element:this.selectedTab}}await this.setActive(e);return{changed:true,element:this.selectedTab,markVisible:()=>this.tabSwitch()}}async getRouteId(){var t;const e=(t=this.selectedTab)===null||t===void 0?void 0:t.tab;return e!==undefined?{id:e,element:this.selectedTab}:undefined}setActive(t){if(this.transitioning){return Promise.reject("transitioning already happening")}this.transitioning=true;this.leavingTab=this.selectedTab;this.selectedTab=t;this.ionTabsWillChange.emit({tab:t.tab});t.active=true;return Promise.resolve()}tabSwitch(){const t=this.selectedTab;const e=this.leavingTab;this.leavingTab=undefined;this.transitioning=false;if(!t){return}if(e!==t){if(e){e.active=false}this.ionTabsDidChange.emit({tab:t.tab})}}notifyRouter(){if(this.useRouter){const t=document.querySelector("ion-router");if(t){return t.navChanged("forward")}}return Promise.resolve(false)}shouldSwitch(t){const e=this.selectedTab;return t!==undefined&&t!==e&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return i(s,{key:"5102fdd8ae80408811312631f0739c356d913840",onIonTabButtonClick:this.onTabClicked},i("slot",{key:"55f781cd010dcebf9675f2a0b4eab9f4271b780e",name:"top"}),i("div",{key:"2da0ee7b8c82e4bfa42f8bc5873e23e50a88c405",class:"tabs-inner"},i("slot",{key:"6335a62a10398c008c91f87f15b4a940a95e175d"})),i("slot",{key:"9b6f08a21c703cc7fdebd48eb746d0fde6a8454d",name:"bottom"}))}get el(){return n(this)}};const h=(t,e)=>{const i=typeof e==="string"?t.find((t=>t.tab===e)):e;if(!i){console.error(`tab with id: "${i}" does not exist`)}return i};r.style=a;export{r as ion_tabs};
|
|
2
|
+
//# sourceMappingURL=p-c01a4a79.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["tabsCss","IonTabsStyle0","Tabs","constructor","hostRef","this","transitioning","onTabClicked","ev","href","tab","detail","useRouter","undefined","router","document","querySelector","push","select","selectedTab","componentWillLoad","el","closest","tabs","length","ionNavWillLoad","emit","componentWillRender","tabBar","getTab","shouldSwitch","setActive","notifyRouter","tabSwitch","getSelected","Promise","resolve","setRouteId","id","changed","element","markVisible","getRouteId","_a","tabId","reject","leavingTab","ionTabsWillChange","active","ionTabsDidChange","navChanged","Array","from","querySelectorAll","render","h","Host","key","onIonTabButtonClick","name","class","tabEl","find","t","console","error"],"sources":["../node_modules/@ionic/core/dist/collection/components/tabs/tabs.css?tag=ion-tabs&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/tabs/tabs.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n position: absolute;\n flex-direction: column;\n width: 100%;\n height: 100%;\n contain: layout size style;\n z-index: 0;\n}\n\n.tabs-inner {\n position: relative;\n flex: 1;\n contain: layout size style;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\n/**\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot top - Content is placed at the top of the screen.\n * @slot bottom - Content is placed at the bottom of the screen.\n */\nexport class Tabs {\n constructor() {\n this.transitioning = false;\n this.onTabClicked = (ev) => {\n const { href, tab } = ev.detail;\n if (this.useRouter && href !== undefined) {\n const router = document.querySelector('ion-router');\n if (router) {\n router.push(href);\n }\n }\n else {\n this.select(tab);\n }\n };\n this.selectedTab = undefined;\n this.useRouter = false;\n }\n async componentWillLoad() {\n if (!this.useRouter) {\n this.useRouter = !!document.querySelector('ion-router') && !this.el.closest('[no-router]');\n }\n if (!this.useRouter) {\n const tabs = this.tabs;\n if (tabs.length > 0) {\n await this.select(tabs[0]);\n }\n }\n this.ionNavWillLoad.emit();\n }\n componentWillRender() {\n const tabBar = this.el.querySelector('ion-tab-bar');\n if (tabBar) {\n const tab = this.selectedTab ? this.selectedTab.tab : undefined;\n tabBar.selectedTab = tab;\n }\n }\n /**\n * Select a tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async select(tab) {\n const selectedTab = getTab(this.tabs, tab);\n if (!this.shouldSwitch(selectedTab)) {\n return false;\n }\n await this.setActive(selectedTab);\n await this.notifyRouter();\n this.tabSwitch();\n return true;\n }\n /**\n * Get a specific tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async getTab(tab) {\n return getTab(this.tabs, tab);\n }\n /**\n * Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n */\n getSelected() {\n return Promise.resolve(this.selectedTab ? this.selectedTab.tab : undefined);\n }\n /** @internal */\n async setRouteId(id) {\n const selectedTab = getTab(this.tabs, id);\n if (!this.shouldSwitch(selectedTab)) {\n return { changed: false, element: this.selectedTab };\n }\n await this.setActive(selectedTab);\n return {\n changed: true,\n element: this.selectedTab,\n markVisible: () => this.tabSwitch(),\n };\n }\n /** @internal */\n async getRouteId() {\n var _a;\n const tabId = (_a = this.selectedTab) === null || _a === void 0 ? void 0 : _a.tab;\n return tabId !== undefined ? { id: tabId, element: this.selectedTab } : undefined;\n }\n setActive(selectedTab) {\n if (this.transitioning) {\n return Promise.reject('transitioning already happening');\n }\n this.transitioning = true;\n this.leavingTab = this.selectedTab;\n this.selectedTab = selectedTab;\n this.ionTabsWillChange.emit({ tab: selectedTab.tab });\n selectedTab.active = true;\n return Promise.resolve();\n }\n tabSwitch() {\n const selectedTab = this.selectedTab;\n const leavingTab = this.leavingTab;\n this.leavingTab = undefined;\n this.transitioning = false;\n if (!selectedTab) {\n return;\n }\n if (leavingTab !== selectedTab) {\n if (leavingTab) {\n leavingTab.active = false;\n }\n this.ionTabsDidChange.emit({ tab: selectedTab.tab });\n }\n }\n notifyRouter() {\n if (this.useRouter) {\n const router = document.querySelector('ion-router');\n if (router) {\n return router.navChanged('forward');\n }\n }\n return Promise.resolve(false);\n }\n shouldSwitch(selectedTab) {\n const leavingTab = this.selectedTab;\n return selectedTab !== undefined && selectedTab !== leavingTab && !this.transitioning;\n }\n get tabs() {\n return Array.from(this.el.querySelectorAll('ion-tab'));\n }\n render() {\n return (h(Host, { key: '5102fdd8ae80408811312631f0739c356d913840', onIonTabButtonClick: this.onTabClicked }, h(\"slot\", { key: '55f781cd010dcebf9675f2a0b4eab9f4271b780e', name: \"top\" }), h(\"div\", { key: '2da0ee7b8c82e4bfa42f8bc5873e23e50a88c405', class: \"tabs-inner\" }, h(\"slot\", { key: '6335a62a10398c008c91f87f15b4a940a95e175d' })), h(\"slot\", { key: '9b6f08a21c703cc7fdebd48eb746d0fde6a8454d', name: \"bottom\" })));\n }\n static get is() { return \"ion-tabs\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tabs.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tabs.css\"]\n };\n }\n static get properties() {\n return {\n \"useRouter\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"use-router\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"selectedTab\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionNavWillLoad\",\n \"name\": \"ionNavWillLoad\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the navigation will load a component.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"ionTabsWillChange\",\n \"name\": \"ionTabsWillChange\",\n \"bubbles\": false,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the navigation is about to transition to a new component.\"\n },\n \"complexType\": {\n \"original\": \"{ tab: string }\",\n \"resolved\": \"{ tab: string; }\",\n \"references\": {}\n }\n }, {\n \"method\": \"ionTabsDidChange\",\n \"name\": \"ionTabsDidChange\",\n \"bubbles\": false,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the navigation has finished transitioning to a new component.\"\n },\n \"complexType\": {\n \"original\": \"{ tab: string }\",\n \"resolved\": \"{ tab: string; }\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"select\": {\n \"complexType\": {\n \"signature\": \"(tab: string | HTMLIonTabElement) => Promise<boolean>\",\n \"parameters\": [{\n \"name\": \"tab\",\n \"type\": \"string | HTMLIonTabElement\",\n \"docs\": \"The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonTabElement\"\n }\n },\n \"return\": \"Promise<boolean>\"\n },\n \"docs\": {\n \"text\": \"Select a tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }]\n }\n },\n \"getTab\": {\n \"complexType\": {\n \"signature\": \"(tab: string | HTMLIonTabElement) => Promise<HTMLIonTabElement | undefined>\",\n \"parameters\": [{\n \"name\": \"tab\",\n \"type\": \"string | HTMLIonTabElement\",\n \"docs\": \"The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonTabElement\"\n }\n },\n \"return\": \"Promise<HTMLIonTabElement | undefined>\"\n },\n \"docs\": {\n \"text\": \"Get a specific tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }]\n }\n },\n \"getSelected\": {\n \"complexType\": {\n \"signature\": \"() => Promise<string | undefined>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<string | undefined>\"\n },\n \"docs\": {\n \"text\": \"Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": []\n }\n },\n \"setRouteId\": {\n \"complexType\": {\n \"signature\": \"(id: string) => Promise<RouteWrite>\",\n \"parameters\": [{\n \"name\": \"id\",\n \"type\": \"string\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"RouteWrite\": {\n \"location\": \"import\",\n \"path\": \"../router/utils/interface\",\n \"id\": \"src/components/router/utils/interface.ts::RouteWrite\"\n }\n },\n \"return\": \"Promise<RouteWrite>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n },\n \"getRouteId\": {\n \"complexType\": {\n \"signature\": \"() => Promise<RouteID | undefined>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"RouteID\": {\n \"location\": \"import\",\n \"path\": \"../router/utils/interface\",\n \"id\": \"src/components/router/utils/interface.ts::RouteID\"\n }\n },\n \"return\": \"Promise<RouteID | undefined>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\nconst getTab = (tabs, tab) => {\n const tabEl = typeof tab === 'string' ? tabs.find((t) => t.tab === tab) : tab;\n if (!tabEl) {\n console.error(`tab with id: \"${tabEl}\" does not exist`);\n }\n return tabEl;\n};\n"],"mappings":"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","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["tabsCss","IonTabsStyle0","Tabs","constructor","hostRef","this","transitioning","onTabClicked","ev","href","tab","detail","useRouter","undefined","router","document","querySelector","push","select","selectedTab","componentWillLoad","el","closest","tabs","length","ionNavWillLoad","emit","componentWillRender","tabBar","getTab","shouldSwitch","setActive","notifyRouter","tabSwitch","getSelected","Promise","resolve","setRouteId","id","changed","element","markVisible","getRouteId","_a","tabId","reject","leavingTab","ionTabsWillChange","active","ionTabsDidChange","navChanged","Array","from","querySelectorAll","render","h","Host","key","onIonTabButtonClick","name","class","tabEl","find","t","console","error"],"sources":["../node_modules/@ionic/core/dist/collection/components/tabs/tabs.css?tag=ion-tabs&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/tabs/tabs.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n position: absolute;\n flex-direction: column;\n width: 100%;\n height: 100%;\n contain: layout size style;\n z-index: 0;\n}\n\n.tabs-inner {\n position: relative;\n flex: 1;\n contain: layout size style;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\n/**\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot top - Content is placed at the top of the screen.\n * @slot bottom - Content is placed at the bottom of the screen.\n */\nexport class Tabs {\n constructor() {\n this.transitioning = false;\n this.onTabClicked = (ev) => {\n const { href, tab } = ev.detail;\n if (this.useRouter && href !== undefined) {\n const router = document.querySelector('ion-router');\n if (router) {\n router.push(href);\n }\n }\n else {\n this.select(tab);\n }\n };\n this.selectedTab = undefined;\n this.useRouter = false;\n }\n async componentWillLoad() {\n if (!this.useRouter) {\n this.useRouter = !!document.querySelector('ion-router') && !this.el.closest('[no-router]');\n }\n if (!this.useRouter) {\n const tabs = this.tabs;\n if (tabs.length > 0) {\n await this.select(tabs[0]);\n }\n }\n this.ionNavWillLoad.emit();\n }\n componentWillRender() {\n const tabBar = this.el.querySelector('ion-tab-bar');\n if (tabBar) {\n const tab = this.selectedTab ? this.selectedTab.tab : undefined;\n tabBar.selectedTab = tab;\n }\n }\n /**\n * Select a tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async select(tab) {\n const selectedTab = getTab(this.tabs, tab);\n if (!this.shouldSwitch(selectedTab)) {\n return false;\n }\n await this.setActive(selectedTab);\n await this.notifyRouter();\n this.tabSwitch();\n return true;\n }\n /**\n * Get a specific tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async getTab(tab) {\n return getTab(this.tabs, tab);\n }\n /**\n * Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n */\n getSelected() {\n return Promise.resolve(this.selectedTab ? this.selectedTab.tab : undefined);\n }\n /** @internal */\n async setRouteId(id) {\n const selectedTab = getTab(this.tabs, id);\n if (!this.shouldSwitch(selectedTab)) {\n return { changed: false, element: this.selectedTab };\n }\n await this.setActive(selectedTab);\n return {\n changed: true,\n element: this.selectedTab,\n markVisible: () => this.tabSwitch(),\n };\n }\n /** @internal */\n async getRouteId() {\n var _a;\n const tabId = (_a = this.selectedTab) === null || _a === void 0 ? void 0 : _a.tab;\n return tabId !== undefined ? { id: tabId, element: this.selectedTab } : undefined;\n }\n setActive(selectedTab) {\n if (this.transitioning) {\n return Promise.reject('transitioning already happening');\n }\n this.transitioning = true;\n this.leavingTab = this.selectedTab;\n this.selectedTab = selectedTab;\n this.ionTabsWillChange.emit({ tab: selectedTab.tab });\n selectedTab.active = true;\n return Promise.resolve();\n }\n tabSwitch() {\n const selectedTab = this.selectedTab;\n const leavingTab = this.leavingTab;\n this.leavingTab = undefined;\n this.transitioning = false;\n if (!selectedTab) {\n return;\n }\n if (leavingTab !== selectedTab) {\n if (leavingTab) {\n leavingTab.active = false;\n }\n this.ionTabsDidChange.emit({ tab: selectedTab.tab });\n }\n }\n notifyRouter() {\n if (this.useRouter) {\n const router = document.querySelector('ion-router');\n if (router) {\n return router.navChanged('forward');\n }\n }\n return Promise.resolve(false);\n }\n shouldSwitch(selectedTab) {\n const leavingTab = this.selectedTab;\n return selectedTab !== undefined && selectedTab !== leavingTab && !this.transitioning;\n }\n get tabs() {\n return Array.from(this.el.querySelectorAll('ion-tab'));\n }\n render() {\n return (h(Host, { key: '5102fdd8ae80408811312631f0739c356d913840', onIonTabButtonClick: this.onTabClicked }, h(\"slot\", { key: '55f781cd010dcebf9675f2a0b4eab9f4271b780e', name: \"top\" }), h(\"div\", { key: '2da0ee7b8c82e4bfa42f8bc5873e23e50a88c405', class: \"tabs-inner\" }, h(\"slot\", { key: '6335a62a10398c008c91f87f15b4a940a95e175d' })), h(\"slot\", { key: '9b6f08a21c703cc7fdebd48eb746d0fde6a8454d', name: \"bottom\" })));\n }\n static get is() { return \"ion-tabs\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tabs.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tabs.css\"]\n };\n }\n static get properties() {\n return {\n \"useRouter\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"use-router\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"selectedTab\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionNavWillLoad\",\n \"name\": \"ionNavWillLoad\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the navigation will load a component.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"ionTabsWillChange\",\n \"name\": \"ionTabsWillChange\",\n \"bubbles\": false,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the navigation is about to transition to a new component.\"\n },\n \"complexType\": {\n \"original\": \"{ tab: string }\",\n \"resolved\": \"{ tab: string; }\",\n \"references\": {}\n }\n }, {\n \"method\": \"ionTabsDidChange\",\n \"name\": \"ionTabsDidChange\",\n \"bubbles\": false,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the navigation has finished transitioning to a new component.\"\n },\n \"complexType\": {\n \"original\": \"{ tab: string }\",\n \"resolved\": \"{ tab: string; }\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"select\": {\n \"complexType\": {\n \"signature\": \"(tab: string | HTMLIonTabElement) => Promise<boolean>\",\n \"parameters\": [{\n \"name\": \"tab\",\n \"type\": \"string | HTMLIonTabElement\",\n \"docs\": \"The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonTabElement\"\n }\n },\n \"return\": \"Promise<boolean>\"\n },\n \"docs\": {\n \"text\": \"Select a tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }]\n }\n },\n \"getTab\": {\n \"complexType\": {\n \"signature\": \"(tab: string | HTMLIonTabElement) => Promise<HTMLIonTabElement | undefined>\",\n \"parameters\": [{\n \"name\": \"tab\",\n \"type\": \"string | HTMLIonTabElement\",\n \"docs\": \"The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonTabElement\"\n }\n },\n \"return\": \"Promise<HTMLIonTabElement | undefined>\"\n },\n \"docs\": {\n \"text\": \"Get a specific tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }]\n }\n },\n \"getSelected\": {\n \"complexType\": {\n \"signature\": \"() => Promise<string | undefined>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<string | undefined>\"\n },\n \"docs\": {\n \"text\": \"Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": []\n }\n },\n \"setRouteId\": {\n \"complexType\": {\n \"signature\": \"(id: string) => Promise<RouteWrite>\",\n \"parameters\": [{\n \"name\": \"id\",\n \"type\": \"string\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"RouteWrite\": {\n \"location\": \"import\",\n \"path\": \"../router/utils/interface\",\n \"id\": \"src/components/router/utils/interface.ts::RouteWrite\"\n }\n },\n \"return\": \"Promise<RouteWrite>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n },\n \"getRouteId\": {\n \"complexType\": {\n \"signature\": \"() => Promise<RouteID | undefined>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"RouteID\": {\n \"location\": \"import\",\n \"path\": \"../router/utils/interface\",\n \"id\": \"src/components/router/utils/interface.ts::RouteID\"\n }\n },\n \"return\": \"Promise<RouteID | undefined>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\nconst getTab = (tabs, tab) => {\n const tabEl = typeof tab === 'string' ? tabs.find((t) => t.tab === tab) : tab;\n if (!tabEl) {\n console.error(`tab with id: \"${tabEl}\" does not exist`);\n }\n return tabEl;\n};\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as n,h as i,H as e}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as n,h as i,H as e}from"./p-42169e41.js";import{E as t,s as o}from"./p-46b6ae86.js";import{c as s,g as l}from"./p-da0d920d.js";const r="ion-infinite-scroll-content{display:flex;flex-direction:column;justify-content:center;min-height:84px;text-align:center;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}";const c=r;const a="ion-infinite-scroll-content{display:flex;flex-direction:column;justify-content:center;min-height:84px;text-align:center;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}";const d=a;const f=class{constructor(i){n(this,i);this.customHTMLEnabled=s.get("innerHTMLTemplatesEnabled",t);this.loadingSpinner=undefined;this.loadingText=undefined}componentDidLoad(){if(this.loadingSpinner===undefined){const n=l(this);this.loadingSpinner=s.get("infiniteLoadingSpinner",s.get("spinner",n==="ios"?"lines":"crescent"))}}renderLoadingText(){const{customHTMLEnabled:n,loadingText:e}=this;if(n){return i("div",{class:"infinite-loading-text",innerHTML:o(e)})}return i("div",{class:"infinite-loading-text"},this.loadingText)}render(){const n=l(this);return i(e,{key:"2f4afb07bcfe3e12528eb9cee8646a097e0b359f",class:{[n]:true,[`infinite-scroll-content-${n}`]:true}},i("div",{key:"af038177bf10c88c8970682487a4328689aaa5f2",class:"infinite-loading"},this.loadingSpinner&&i("div",{key:"1da5d419bc6a978b6a509fdab47dae347fc8d221",class:"infinite-loading-spinner"},i("ion-spinner",{key:"60cc5c64e0a317ac0005d5afe42c4bb8da58136f",name:this.loadingSpinner})),this.loadingText!==undefined&&this.renderLoadingText()))}};f.style={ios:c,md:d};export{f as ion_infinite_scroll_content};
|
|
2
|
+
//# sourceMappingURL=p-c186950b.entry.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import{w as o,d as t}from"./p-7efd6867.js";import{g as n,c as s,a as e}from"./p-
|
|
1
|
+
import{w as o,d as t}from"./p-7efd6867.js";import{g as n,c as s,a as e}from"./p-949b115f.js";import{b as i,e as c,r,a}from"./p-71ee259b.js";import{a as f,K as u}from"./p-67b68c5d.js";import"./p-d6769f21.js";import"./p-21b22219.js";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/const l=new WeakMap;const d=(o,t,n,s=0,e=false)=>{if(l.has(o)===n){return}if(n){p(o,t,s,e)}else{m(o,t)}};const w=o=>o===o.getRootNode().activeElement;const p=(o,t,n,s=false)=>{const e=t.parentNode;const i=t.cloneNode(false);i.classList.add("cloned-input");i.tabIndex=-1;if(s){i.disabled=true}e.appendChild(i);l.set(o,i);const c=o.ownerDocument;const r=c.dir==="rtl"?9999:-9999;o.style.pointerEvents="none";t.style.transform=`translate3d(${r}px,${n}px,0) scale(0)`};const m=(o,t)=>{const n=l.get(o);if(n){l.delete(o);n.remove()}o.style.pointerEvents="";t.style.transform=""};const
|
|
4
|
+
*/const l=new WeakMap;const d=(o,t,n,s=0,e=false)=>{if(l.has(o)===n){return}if(n){p(o,t,s,e)}else{m(o,t)}};const w=o=>o===o.getRootNode().activeElement;const p=(o,t,n,s=false)=>{const e=t.parentNode;const i=t.cloneNode(false);i.classList.add("cloned-input");i.tabIndex=-1;if(s){i.disabled=true}e.appendChild(i);l.set(o,i);const c=o.ownerDocument;const r=c.dir==="rtl"?9999:-9999;o.style.pointerEvents="none";t.style.transform=`translate3d(${r}px,${n}px,0) scale(0)`};const m=(o,t)=>{const n=l.get(o);if(n){l.delete(o);n.remove()}o.style.pointerEvents="";t.style.transform=""};const b=50;
|
|
5
5
|
/*!
|
|
6
6
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
7
|
-
*/const
|
|
7
|
+
*/const S=(o,t,n)=>{if(!n||!t){return()=>{}}const s=n=>{if(w(t)){d(o,t,n)}};const e=()=>d(o,t,false);const r=()=>s(true);const a=()=>s(false);i(n,"ionScrollStart",r);i(n,"ionScrollEnd",a);t.addEventListener("blur",e);return()=>{c(n,"ionScrollStart",r);c(n,"ionScrollEnd",a);t.removeEventListener("blur",e)}};
|
|
8
8
|
/*!
|
|
9
9
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
10
|
-
*/const
|
|
10
|
+
*/const h="input, textarea, [no-blur], [contenteditable]";const y=()=>{let o=true;let t=false;const n=document;const s=()=>{t=true};const e=()=>{o=true};const r=s=>{if(t){t=false;return}const e=n.activeElement;if(!e){return}if(e.matches(h)){return}const i=s.target;if(i===e){return}if(i.matches(h)||i.closest(h)){return}o=false;setTimeout((()=>{if(!o){e.blur()}}),50)};i(n,"ionScrollStart",s);n.addEventListener("focusin",e,true);n.addEventListener("touchend",r,false);return()=>{c(n,"ionScrollStart",s,true);n.removeEventListener("focusin",e,true);n.removeEventListener("touchend",r,false)}};
|
|
11
11
|
/*!
|
|
12
12
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
13
|
-
*/const D=.3;const K=(o,t,n,s)=>{var e;const i=(e=o.closest("ion-item,[ion-item]"))!==null&&e!==void 0?e:o;return M(i.getBoundingClientRect(),t.getBoundingClientRect(),n,s)};const M=(o,t,n,s)=>{const e=o.top;const i=o.bottom;const c=t.top;const r=Math.min(t.bottom,s-n);const a=c+15;const f=r-
|
|
13
|
+
*/const D=.3;const K=(o,t,n,s)=>{var e;const i=(e=o.closest("ion-item,[ion-item]"))!==null&&e!==void 0?e:o;return M(i.getBoundingClientRect(),t.getBoundingClientRect(),n,s)};const M=(o,t,n,s)=>{const e=o.top;const i=o.bottom;const c=t.top;const r=Math.min(t.bottom,s-n);const a=c+15;const f=r-b;const u=f-i;const l=a-e;const d=Math.round(u<0?-u:l>0?-l:0);const w=Math.min(d,e-c);const p=Math.abs(w);const m=p/D;const S=Math.min(400,Math.max(150,m));return{scrollAmount:w,scrollDuration:S,scrollPadding:n,inputSafeY:-(e-a)+4}};
|
|
14
14
|
/*!
|
|
15
15
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
16
16
|
*/const v="$ionPaddingTimer";const x=(o,t,n)=>{const s=o[v];if(s){clearTimeout(s)}if(t>0){o.style.setProperty("--keyboard-offset",`${t}px`)}else{o[v]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px");if(n){n()}}),120)}};const k=(o,t,n)=>{const s=()=>{if(t){x(t,0,n)}};o.addEventListener("focusout",s,{once:true})};
|
|
17
17
|
/*!
|
|
18
18
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
19
|
-
*/let g=0;const j="data-ionic-skip-scroll-assist";const T=(t,n,s,e,i,c,r,a=false)=>{const u=c&&(r===undefined||r.mode===f.None);let l=false;const d=o!==undefined?o.innerHeight:0;const w=o=>{if(l===false){l=true;return}$(t,n,s,e,o.detail.keyboardHeight,u,a,d,false)};const p=()=>{l=false;o===null||o===void 0?void 0:o.removeEventListener("ionKeyboardDidShow",w);t.removeEventListener("focusout",p)};const m=async()=>{if(n.hasAttribute(j)){n.removeAttribute(j);return}$(t,n,s,e,i,u,a,d);o===null||o===void 0?void 0:o.addEventListener("ionKeyboardDidShow",w);t.addEventListener("focusout",p)};t.addEventListener("focusin",m);return()=>{t.removeEventListener("focusin",m);o===null||o===void 0?void 0:o.removeEventListener("ionKeyboardDidShow",w);t.removeEventListener("focusout",p)}};const P=o=>{if(document.activeElement===o){return}o.setAttribute(j,"true");o.focus()};const $=async(o,t,e,i,c,a,f=false,u=0,l=true)=>{if(!e&&!i){return}const w=K(o,e||i,c,u);if(e&&Math.abs(w.scrollAmount)<4){P(t);if(a&&e!==null){x(e,g);k(t,e,(()=>g=0))}return}d(o,t,true,w.inputSafeY,f);P(t);r((()=>o.click()));if(a&&e){g=w.scrollPadding;x(e,g)}if(typeof window!=="undefined"){let i;const c=async()=>{if(i!==undefined){clearTimeout(i)}window.removeEventListener("ionKeyboardDidShow",r);window.removeEventListener("ionKeyboardDidShow",c);if(e){await s(e,0,w.scrollAmount,w.scrollDuration)}d(o,t,false,w.inputSafeY);P(t);if(a){k(t,e,(()=>g=0))}};const r=()=>{window.removeEventListener("ionKeyboardDidShow",r);window.addEventListener("ionKeyboardDidShow",c)};if(e){const o=await n(e);const s=o.scrollHeight-o.clientHeight;if(l&&w.scrollAmount>s-o.scrollTop){if(t.type==="password"){w.scrollAmount+=
|
|
19
|
+
*/let g=0;const j="data-ionic-skip-scroll-assist";const T=(t,n,s,e,i,c,r,a=false)=>{const u=c&&(r===undefined||r.mode===f.None);let l=false;const d=o!==undefined?o.innerHeight:0;const w=o=>{if(l===false){l=true;return}$(t,n,s,e,o.detail.keyboardHeight,u,a,d,false)};const p=()=>{l=false;o===null||o===void 0?void 0:o.removeEventListener("ionKeyboardDidShow",w);t.removeEventListener("focusout",p)};const m=async()=>{if(n.hasAttribute(j)){n.removeAttribute(j);return}$(t,n,s,e,i,u,a,d);o===null||o===void 0?void 0:o.addEventListener("ionKeyboardDidShow",w);t.addEventListener("focusout",p)};t.addEventListener("focusin",m);return()=>{t.removeEventListener("focusin",m);o===null||o===void 0?void 0:o.removeEventListener("ionKeyboardDidShow",w);t.removeEventListener("focusout",p)}};const P=o=>{if(document.activeElement===o){return}o.setAttribute(j,"true");o.focus()};const $=async(o,t,e,i,c,a,f=false,u=0,l=true)=>{if(!e&&!i){return}const w=K(o,e||i,c,u);if(e&&Math.abs(w.scrollAmount)<4){P(t);if(a&&e!==null){x(e,g);k(t,e,(()=>g=0))}return}d(o,t,true,w.inputSafeY,f);P(t);r((()=>o.click()));if(a&&e){g=w.scrollPadding;x(e,g)}if(typeof window!=="undefined"){let i;const c=async()=>{if(i!==undefined){clearTimeout(i)}window.removeEventListener("ionKeyboardDidShow",r);window.removeEventListener("ionKeyboardDidShow",c);if(e){await s(e,0,w.scrollAmount,w.scrollDuration)}d(o,t,false,w.inputSafeY);P(t);if(a){k(t,e,(()=>g=0))}};const r=()=>{window.removeEventListener("ionKeyboardDidShow",r);window.addEventListener("ionKeyboardDidShow",c)};if(e){const o=await n(e);const s=o.scrollHeight-o.clientHeight;if(l&&w.scrollAmount>s-o.scrollTop){if(t.type==="password"){w.scrollAmount+=b;window.addEventListener("ionKeyboardDidShow",r)}else{window.addEventListener("ionKeyboardDidShow",c)}i=setTimeout(c,1e3);return}}c()}};
|
|
20
20
|
/*!
|
|
21
21
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
22
|
-
*/const A=true;const W=async(o,n)=>{if(t===undefined){return}const s=n==="ios";const i=n==="android";const c=o.getNumber("keyboardHeight",290);const r=o.getBoolean("scrollAssist",true);const f=o.getBoolean("hideCaretOnScroll",s);const l=o.getBoolean("inputBlurring",s);const d=o.getBoolean("scrollPadding",true);const w=Array.from(t.querySelectorAll("ion-input, ion-textarea"));const p=new WeakMap;const m=new WeakMap;const
|
|
23
|
-
//# sourceMappingURL=p-
|
|
22
|
+
*/const A=true;const W=async(o,n)=>{if(t===undefined){return}const s=n==="ios";const i=n==="android";const c=o.getNumber("keyboardHeight",290);const r=o.getBoolean("scrollAssist",true);const f=o.getBoolean("hideCaretOnScroll",s);const l=o.getBoolean("inputBlurring",s);const d=o.getBoolean("scrollPadding",true);const w=Array.from(t.querySelectorAll("ion-input, ion-textarea"));const p=new WeakMap;const m=new WeakMap;const b=await u.getResizeMode();const h=async o=>{await new Promise((t=>a(o,t)));const t=o.shadowRoot||o;const n=t.querySelector("input")||t.querySelector("textarea");const s=e(o);const u=!s?o.closest("ion-footer"):null;if(!n){return}if(!!s&&f&&!p.has(o)){const t=S(o,n,s);p.set(o,t)}const l=n.type==="date"||n.type==="datetime-local";if(!l&&(!!s||!!u)&&r&&!m.has(o)){const t=T(o,n,s,u,c,d,b,i);m.set(o,t)}};const D=o=>{if(f){const t=p.get(o);if(t){t()}p.delete(o)}if(r){const t=m.get(o);if(t){t()}m.delete(o)}};if(l&&A){y()}for(const o of w){h(o)}t.addEventListener("ionInputDidLoad",(o=>{h(o.detail)}));t.addEventListener("ionInputDidUnload",(o=>{D(o.detail)}))};export{W as startInputShims};
|
|
23
|
+
//# sourceMappingURL=p-c191e6df.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as e,H as i}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-42169e41.js";import{o as r,c as o}from"./p-669fab6c.js";import{g as n}from"./p-da0d920d.js";const s=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";const a=s;const c=class{constructor(e){t(this,e);this.onClick=t=>{r(this.href,t,this.routerDirection,this.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}render(){const t=n(this);const r={href:this.href,rel:this.rel,target:this.target};return e(i,{key:"e69892f4c6a6baf040a20c429afdec0e4db2dc0e",onClick:this.onClick,class:o(this.color,{[t]:true,"ion-activatable":true})},e("a",Object.assign({key:"648cb22526f2933abe0865c86da6f30eac3ccb87"},r),e("slot",{key:"d6bc2e28b7c5cc228caedffebe653bde35934b67"})))}};c.style=a;export{c as ion_router_link};
|
|
2
|
+
//# sourceMappingURL=p-c350af00.entry.js.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{c as t}from"./p-71ee259b.js";import{i as o}from"./p-4d0cb38d.js";import{createGesture as s}from"./p-b943833e.js";import"./p-98c00bd2.js";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/const n=(n,c,r,e,a)=>{const i=n.ownerDocument.defaultView;let p=o(n);const m=t=>{const o=50;const{startX:s}=t;if(p){return s>=i.innerWidth-o}return s<=o};const u=t=>p?-t.deltaX:t.deltaX;const b=t=>p?-t.velocityX:t.velocityX;const d=t=>{p=o(n);return m(t)&&c()};const f=t=>{const o=u(t);const s=o/i.innerWidth;e(s)};const h=o=>{const s=u(o);const n=i.innerWidth;const c=s/n;const r=b(o);const e=n/2;const p=r>=0&&(r>.2||s>e);const m=p?1-c:c;const d=m*n;let f=0;if(d>5){const t=d/Math.abs(r);f=Math.min(t,540)}a(p,c<=0?.01:t(0,c,.9999),f)};return s({el:n,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:d,onStart:r,onMove:f,onEnd:h})};export{n as createSwipeBackGesture};
|
|
5
|
+
//# sourceMappingURL=p-c452a2e9.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{r as t,i as e,h as i,
|
|
1
|
+
import{r as t,i as e,h as i,e as s}from"./p-42169e41.js";import{g as n}from"./p-bc04bd54.js";import{n as r,s as o}from"./p-71ee259b.js";import{l as a,t as h,s as c,L as f,a as u,b as d}from"./p-cbae963d.js";import{g as l,c as v}from"./p-da0d920d.js";import{a as m}from"./p-eba70ed1.js";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/const p=1;const w=2;const b=3;class g{constructor(t,e){this.component=t;this.params=e;this.state=p}async init(t){this.state=w;if(!this.element){const e=this.component;this.element=await v(this.delegate,t,e,["ion-page","ion-page-invisible"],this.params)}}_destroy(){r(this.state!==b,"view state must be ATTACHED");const t=this.element;if(t){if(this.delegate){this.delegate.removeViewFromDom(t.parentElement,t)}else{t.remove()}}this.nav=undefined;this.state=b}}const y=(t,e,i)=>{if(!t){return false}if(t.component!==e){return false}return o(t.params,i)};const k=(t,e)=>{if(!t){return null}if(t instanceof g){return t}return new g(t,e)};const C=t=>t.map((t=>{if(t instanceof g){return t}if("component"in t){return k(t.component,t.componentProps===null?undefined:t.componentProps)}return k(t,undefined)})).filter((t=>t!==null));const j=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const V=j;const E=class{constructor(i){t(this,i);this.ionNavWillLoad=e(this,"ionNavWillLoad",7);this.ionNavWillChange=e(this,"ionNavWillChange",3);this.ionNavDidChange=e(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}swipeGestureChanged(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}}rootChanged(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}}componentWillLoad(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){const t=l(this);this.swipeGesture=m.getBoolean("swipeBackEnabled",t==="ios")}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=true;this.rootChanged();this.gesture=(await import("./p-7a563988.js")).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this));this.swipeGestureChanged()}connectedCallback(){this.destroyed=false}disconnectedCallback(){for(const t of this.views){a(t.element,f);t._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true}push(t,e,i,s){return this.insert(-1,t,e,i,s)}insert(t,e,i,s,n){return this.insertPages(t,[{component:e,componentProps:i}],s,n)}insertPages(t,e,i,s){return this.queueTrns({insertStart:t,insertViews:e,opts:i},s)}pop(t,e){return this.removeIndex(-1,1,t,e)}popTo(t,e,i){const s={removeStart:-1,removeCount:-1,opts:e};if(typeof t==="object"&&t.component){s.removeView=t;s.removeStart=1}else if(typeof t==="number"){s.removeStart=t+1}return this.queueTrns(s,i)}popToRoot(t,e){return this.removeIndex(1,-1,t,e)}removeIndex(t,e=1,i,s){return this.queueTrns({removeStart:t,removeCount:e,opts:i},s)}setRoot(t,e,i,s){return this.setPages([{component:t,componentProps:e}],i,s)}setPages(t,e,i){e!==null&&e!==void 0?e:e={};if(e.animated!==true){e.animated=false}return this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},i)}setRouteId(t,e,i,s){const n=this.getActiveSync();if(y(n,t,e)){return Promise.resolve({changed:false,element:n.element})}let r;const o=new Promise((t=>r=t));let a;const h={updateURL:false,viewIsReady:t=>{let e;const i=new Promise((t=>e=t));r({changed:true,element:t,markVisible:async()=>{e();await a}});return i}};if(i==="root"){a=this.setRoot(t,e,h)}else{const n=this.views.find((i=>y(i,t,e)));if(n){a=this.popTo(n,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:s}))}else if(i==="forward"){a=this.push(t,e,Object.assign(Object.assign({},h),{animationBuilder:s}))}else if(i==="back"){a=this.setRoot(t,e,Object.assign(Object.assign({},h),{direction:"back",animated:true,animationBuilder:s}))}}return o}async getRouteId(){const t=this.getActiveSync();if(t){return{id:t.element.tagName,params:t.params,element:t.element}}return undefined}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!!(t&&this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t){return undefined}const e=this.views;const i=e.indexOf(t);return i>0?e[i-1]:undefined}async queueTrns(t,e){var i,s;if(this.isTransitioning&&((i=t.opts)===null||i===void 0?void 0:i.skipIfBusy)){return false}const n=new Promise(((e,i)=>{t.resolve=e;t.reject=i}));t.done=e;if(t.opts&&t.opts.updateURL!==false&&this.useRouter){const e=document.querySelector("ion-router");if(e){const i=await e.canTransition();if(i===false){return false}if(typeof i==="string"){e.push(i,t.opts.direction||"back");return false}}}if(((s=t.insertViews)===null||s===void 0?void 0:s.length)===0){t.insertViews=undefined}this.transInstr.push(t);this.nextTrns();return n}success(t,e){if(this.destroyed){this.fireError("nav controller was destroyed",e);return}if(e.done){e.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction)}e.resolve(t.hasCompleted);if(e.opts.updateURL!==false&&this.useRouter){const e=document.querySelector("ion-router");if(e){const i=t.direction==="back"?"back":"forward";e.navChanged(i)}}}failed(t,e){if(this.destroyed){this.fireError("nav controller was destroyed",e);return}this.transInstr.length=0;this.fireError(t,e)}fireError(t,e){if(e.done){e.done(false,false,t)}if(e.reject&&!this.destroyed){e.reject(t)}else{e.resolve(false)}}nextTrns(){if(this.isTransitioning){return false}const t=this.transInstr.shift();if(!t){return false}this.runTransition(t);return true}async runTransition(t){try{this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(t);const e=this.getActiveSync();const i=this.getEnteringView(t,e);if(!e&&!i){throw new Error("no views in the stack to be removed")}if(i&&i.state===p){await i.init(this.el)}this.postViewInit(i,e,t);const s=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&i!==e;if(s&&t.opts&&e){const s=t.opts.direction==="back";if(s){t.opts.animationBuilder=t.opts.animationBuilder||(i===null||i===void 0?void 0:i.animationBuilder)}e.animationBuilder=t.opts.animationBuilder}let n;if(s){n=await this.transition(i,e,t)}else{n={hasCompleted:true,requiresTransition:false}}this.success(n,t);this.ionNavDidChange.emit()}catch(e){this.failed(e,t)}this.isTransitioning=false;this.nextTrns()}prepareTI(t){var e,i;var s;const n=this.views.length;(e=t.opts)!==null&&e!==void 0?e:t.opts={};(i=(s=t.opts).delegate)!==null&&i!==void 0?i:s.delegate=this.delegate;if(t.removeView!==undefined){r(t.removeStart!==undefined,"removeView needs removeStart");r(t.removeCount!==undefined,"removeView needs removeCount");const e=this.views.indexOf(t.removeView);if(e<0){throw new Error("removeView was not found")}t.removeStart+=e}if(t.removeStart!==undefined){if(t.removeStart<0){t.removeStart=n-1}if(t.removeCount<0){t.removeCount=n-t.removeStart}t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n}if(t.insertViews){if(t.insertStart<0||t.insertStart>n){t.insertStart=n}t.enteringRequiresTransition=t.insertStart===n}const o=t.insertViews;if(!o){return}r(o.length>0,"length can not be zero");const a=C(o);if(a.length===0){throw new Error("invalid views to insert")}for(const e of a){e.delegate=t.opts.delegate;const i=e.nav;if(i&&i!==this){throw new Error("inserted view was already inserted")}if(e.state===b){throw new Error("inserted view was already destroyed")}}t.insertViews=a}getEnteringView(t,e){const i=t.insertViews;if(i!==undefined){return i[i.length-1]}const s=t.removeStart;if(s!==undefined){const i=this.views;const n=s+t.removeCount;for(let t=i.length-1;t>=0;t--){const r=i[t];if((t<s||t>=n)&&r!==e){return r}}}return undefined}postViewInit(t,e,i){var s,n,o;r(e||t,"Both leavingView and enteringView are null");r(i.resolve,"resolve must be valid");r(i.reject,"reject must be valid");const h=i.opts;const{insertViews:c,removeStart:l,removeCount:m}=i;let v;if(l!==undefined&&m!==undefined){r(l>=0,"removeStart can not be negative");r(m>=0,"removeCount can not be negative");v=[];for(let i=l;i<l+m;i++){const s=this.views[i];if(s!==undefined&&s!==t&&s!==e){v.push(s)}}(s=h.direction)!==null&&s!==void 0?s:h.direction="back"}const p=this.views.length+((n=c===null||c===void 0?void 0:c.length)!==null&&n!==void 0?n:0)-(m!==null&&m!==void 0?m:0);r(p>=0,"final balance can not be negative");if(p===0){console.warn(`You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.`,this,this.el);throw new Error("navigation stack needs at least one root page")}if(c){let t=i.insertStart;for(const e of c){this.insertViewAt(e,t);t++}if(i.enteringRequiresTransition){(o=h.direction)!==null&&o!==void 0?o:h.direction="forward"}}if(v&&v.length>0){for(const t of v){a(t.element,u);a(t.element,d);a(t.element,f)}for(const t of v){this.destroyView(t)}}}async transition(t,e,i){const s=i.opts;const n=s.progressAnimation?t=>{if(t!==undefined&&!this.gestureOrAnimationInProgress){this.gestureOrAnimationInProgress=true;t.onFinish((()=>{this.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});t.progressEnd(0,0,0)}else{this.sbAni=t}}:undefined;const r=l(this);const o=t.element;const a=e&&e.element;const c=Object.assign(Object.assign({mode:r,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:n,animated:this.animated&&m.getBoolean("animated",true),enteringEl:o,leavingEl:a},s),{animationBuilder:s.animationBuilder||this.animation||m.get("navAnimation")});const{hasCompleted:f}=await h(c);return this.transitionFinish(f,t,e,s)}transitionFinish(t,e,i,s){const n=t?e:i;if(n){this.unmountInactiveViews(n)}return{hasCompleted:t,requiresTransition:true,enteringView:e,leavingView:i,direction:s.direction}}insertViewAt(t,e){const i=this.views;const s=i.indexOf(t);if(s>-1){r(t.nav===this,"view is not part of the nav");i.splice(s,1);i.splice(e,0,t)}else{r(!t.nav,"nav is used");t.nav=this;i.splice(e,0,t)}}removeView(t){r(t.state===w||t.state===b,"view state should be loaded or destroyed");const e=this.views;const i=e.indexOf(t);r(i>-1,"view must be part of the stack");if(i>=0){e.splice(i,1)}}destroyView(t){t._destroy();this.removeView(t)}unmountInactiveViews(t){if(this.destroyed){return}const e=this.views;const i=e.indexOf(t);for(let t=e.length-1;t>=0;t--){const s=e[t];const n=s.element;if(n){if(t>i){a(n,f);this.destroyView(s)}else if(t<i){c(n,true)}}}}canStart(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()}onStart(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})}onMove(t){if(this.sbAni){this.sbAni.progressStep(t)}}onEnd(t,e,i){if(this.sbAni){this.sbAni.onFinish((()=>{this.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});let s=t?-.001:.001;if(!t){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");s+=n([0,0],[1,0],[.68,.28],[1,1],e)[0]}else{s+=n([0,0],[.32,.72],[0,1],[1,1],e)[0]}this.sbAni.progressEnd(t?1:0,s,i)}else{this.gestureOrAnimationInProgress=false}}render(){return i("slot",{key:"6894eccc60e446294b01261477691ea1e88348ab"})}get el(){return s(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};E.style=V;export{E as ion_nav};
|
|
5
|
-
//# sourceMappingURL=p-
|
|
4
|
+
*/const p=1;const w=2;const b=3;class g{constructor(t,e){this.component=t;this.params=e;this.state=p}async init(t){this.state=w;if(!this.element){const e=this.component;this.element=await m(this.delegate,t,e,["ion-page","ion-page-invisible"],this.params)}}_destroy(){r(this.state!==b,"view state must be ATTACHED");const t=this.element;if(t){if(this.delegate){this.delegate.removeViewFromDom(t.parentElement,t)}else{t.remove()}}this.nav=undefined;this.state=b}}const y=(t,e,i)=>{if(!t){return false}if(t.component!==e){return false}return o(t.params,i)};const k=(t,e)=>{if(!t){return null}if(t instanceof g){return t}return new g(t,e)};const C=t=>t.map((t=>{if(t instanceof g){return t}if("component"in t){return k(t.component,t.componentProps===null?undefined:t.componentProps)}return k(t,undefined)})).filter((t=>t!==null));const j=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const V=j;const E=class{constructor(i){t(this,i);this.ionNavWillLoad=e(this,"ionNavWillLoad",7);this.ionNavWillChange=e(this,"ionNavWillChange",3);this.ionNavDidChange=e(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}swipeGestureChanged(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}}rootChanged(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}}componentWillLoad(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){const t=l(this);this.swipeGesture=v.getBoolean("swipeBackEnabled",t==="ios")}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=true;this.rootChanged();this.gesture=(await import("./p-c452a2e9.js")).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this));this.swipeGestureChanged()}connectedCallback(){this.destroyed=false}disconnectedCallback(){for(const t of this.views){a(t.element,f);t._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true}push(t,e,i,s){return this.insert(-1,t,e,i,s)}insert(t,e,i,s,n){return this.insertPages(t,[{component:e,componentProps:i}],s,n)}insertPages(t,e,i,s){return this.queueTrns({insertStart:t,insertViews:e,opts:i},s)}pop(t,e){return this.removeIndex(-1,1,t,e)}popTo(t,e,i){const s={removeStart:-1,removeCount:-1,opts:e};if(typeof t==="object"&&t.component){s.removeView=t;s.removeStart=1}else if(typeof t==="number"){s.removeStart=t+1}return this.queueTrns(s,i)}popToRoot(t,e){return this.removeIndex(1,-1,t,e)}removeIndex(t,e=1,i,s){return this.queueTrns({removeStart:t,removeCount:e,opts:i},s)}setRoot(t,e,i,s){return this.setPages([{component:t,componentProps:e}],i,s)}setPages(t,e,i){e!==null&&e!==void 0?e:e={};if(e.animated!==true){e.animated=false}return this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},i)}setRouteId(t,e,i,s){const n=this.getActiveSync();if(y(n,t,e)){return Promise.resolve({changed:false,element:n.element})}let r;const o=new Promise((t=>r=t));let a;const h={updateURL:false,viewIsReady:t=>{let e;const i=new Promise((t=>e=t));r({changed:true,element:t,markVisible:async()=>{e();await a}});return i}};if(i==="root"){a=this.setRoot(t,e,h)}else{const n=this.views.find((i=>y(i,t,e)));if(n){a=this.popTo(n,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:s}))}else if(i==="forward"){a=this.push(t,e,Object.assign(Object.assign({},h),{animationBuilder:s}))}else if(i==="back"){a=this.setRoot(t,e,Object.assign(Object.assign({},h),{direction:"back",animated:true,animationBuilder:s}))}}return o}async getRouteId(){const t=this.getActiveSync();if(t){return{id:t.element.tagName,params:t.params,element:t.element}}return undefined}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!!(t&&this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t){return undefined}const e=this.views;const i=e.indexOf(t);return i>0?e[i-1]:undefined}async queueTrns(t,e){var i,s;if(this.isTransitioning&&((i=t.opts)===null||i===void 0?void 0:i.skipIfBusy)){return false}const n=new Promise(((e,i)=>{t.resolve=e;t.reject=i}));t.done=e;if(t.opts&&t.opts.updateURL!==false&&this.useRouter){const e=document.querySelector("ion-router");if(e){const i=await e.canTransition();if(i===false){return false}if(typeof i==="string"){e.push(i,t.opts.direction||"back");return false}}}if(((s=t.insertViews)===null||s===void 0?void 0:s.length)===0){t.insertViews=undefined}this.transInstr.push(t);this.nextTrns();return n}success(t,e){if(this.destroyed){this.fireError("nav controller was destroyed",e);return}if(e.done){e.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction)}e.resolve(t.hasCompleted);if(e.opts.updateURL!==false&&this.useRouter){const e=document.querySelector("ion-router");if(e){const i=t.direction==="back"?"back":"forward";e.navChanged(i)}}}failed(t,e){if(this.destroyed){this.fireError("nav controller was destroyed",e);return}this.transInstr.length=0;this.fireError(t,e)}fireError(t,e){if(e.done){e.done(false,false,t)}if(e.reject&&!this.destroyed){e.reject(t)}else{e.resolve(false)}}nextTrns(){if(this.isTransitioning){return false}const t=this.transInstr.shift();if(!t){return false}this.runTransition(t);return true}async runTransition(t){try{this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(t);const e=this.getActiveSync();const i=this.getEnteringView(t,e);if(!e&&!i){throw new Error("no views in the stack to be removed")}if(i&&i.state===p){await i.init(this.el)}this.postViewInit(i,e,t);const s=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&i!==e;if(s&&t.opts&&e){const s=t.opts.direction==="back";if(s){t.opts.animationBuilder=t.opts.animationBuilder||(i===null||i===void 0?void 0:i.animationBuilder)}e.animationBuilder=t.opts.animationBuilder}let n;if(s){n=await this.transition(i,e,t)}else{n={hasCompleted:true,requiresTransition:false}}this.success(n,t);this.ionNavDidChange.emit()}catch(e){this.failed(e,t)}this.isTransitioning=false;this.nextTrns()}prepareTI(t){var e,i;var s;const n=this.views.length;(e=t.opts)!==null&&e!==void 0?e:t.opts={};(i=(s=t.opts).delegate)!==null&&i!==void 0?i:s.delegate=this.delegate;if(t.removeView!==undefined){r(t.removeStart!==undefined,"removeView needs removeStart");r(t.removeCount!==undefined,"removeView needs removeCount");const e=this.views.indexOf(t.removeView);if(e<0){throw new Error("removeView was not found")}t.removeStart+=e}if(t.removeStart!==undefined){if(t.removeStart<0){t.removeStart=n-1}if(t.removeCount<0){t.removeCount=n-t.removeStart}t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n}if(t.insertViews){if(t.insertStart<0||t.insertStart>n){t.insertStart=n}t.enteringRequiresTransition=t.insertStart===n}const o=t.insertViews;if(!o){return}r(o.length>0,"length can not be zero");const a=C(o);if(a.length===0){throw new Error("invalid views to insert")}for(const e of a){e.delegate=t.opts.delegate;const i=e.nav;if(i&&i!==this){throw new Error("inserted view was already inserted")}if(e.state===b){throw new Error("inserted view was already destroyed")}}t.insertViews=a}getEnteringView(t,e){const i=t.insertViews;if(i!==undefined){return i[i.length-1]}const s=t.removeStart;if(s!==undefined){const i=this.views;const n=s+t.removeCount;for(let t=i.length-1;t>=0;t--){const r=i[t];if((t<s||t>=n)&&r!==e){return r}}}return undefined}postViewInit(t,e,i){var s,n,o;r(e||t,"Both leavingView and enteringView are null");r(i.resolve,"resolve must be valid");r(i.reject,"reject must be valid");const h=i.opts;const{insertViews:c,removeStart:l,removeCount:v}=i;let m;if(l!==undefined&&v!==undefined){r(l>=0,"removeStart can not be negative");r(v>=0,"removeCount can not be negative");m=[];for(let i=l;i<l+v;i++){const s=this.views[i];if(s!==undefined&&s!==t&&s!==e){m.push(s)}}(s=h.direction)!==null&&s!==void 0?s:h.direction="back"}const p=this.views.length+((n=c===null||c===void 0?void 0:c.length)!==null&&n!==void 0?n:0)-(v!==null&&v!==void 0?v:0);r(p>=0,"final balance can not be negative");if(p===0){console.warn(`You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.`,this,this.el);throw new Error("navigation stack needs at least one root page")}if(c){let t=i.insertStart;for(const e of c){this.insertViewAt(e,t);t++}if(i.enteringRequiresTransition){(o=h.direction)!==null&&o!==void 0?o:h.direction="forward"}}if(m&&m.length>0){for(const t of m){a(t.element,u);a(t.element,d);a(t.element,f)}for(const t of m){this.destroyView(t)}}}async transition(t,e,i){const s=i.opts;const n=s.progressAnimation?t=>{if(t!==undefined&&!this.gestureOrAnimationInProgress){this.gestureOrAnimationInProgress=true;t.onFinish((()=>{this.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});t.progressEnd(0,0,0)}else{this.sbAni=t}}:undefined;const r=l(this);const o=t.element;const a=e&&e.element;const c=Object.assign(Object.assign({mode:r,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:n,animated:this.animated&&v.getBoolean("animated",true),enteringEl:o,leavingEl:a},s),{animationBuilder:s.animationBuilder||this.animation||v.get("navAnimation")});const{hasCompleted:f}=await h(c);return this.transitionFinish(f,t,e,s)}transitionFinish(t,e,i,s){const n=t?e:i;if(n){this.unmountInactiveViews(n)}return{hasCompleted:t,requiresTransition:true,enteringView:e,leavingView:i,direction:s.direction}}insertViewAt(t,e){const i=this.views;const s=i.indexOf(t);if(s>-1){r(t.nav===this,"view is not part of the nav");i.splice(s,1);i.splice(e,0,t)}else{r(!t.nav,"nav is used");t.nav=this;i.splice(e,0,t)}}removeView(t){r(t.state===w||t.state===b,"view state should be loaded or destroyed");const e=this.views;const i=e.indexOf(t);r(i>-1,"view must be part of the stack");if(i>=0){e.splice(i,1)}}destroyView(t){t._destroy();this.removeView(t)}unmountInactiveViews(t){if(this.destroyed){return}const e=this.views;const i=e.indexOf(t);for(let t=e.length-1;t>=0;t--){const s=e[t];const n=s.element;if(n){if(t>i){a(n,f);this.destroyView(s)}else if(t<i){c(n,true)}}}}canStart(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()}onStart(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})}onMove(t){if(this.sbAni){this.sbAni.progressStep(t)}}onEnd(t,e,i){if(this.sbAni){this.sbAni.onFinish((()=>{this.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});let s=t?-.001:.001;if(!t){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");s+=n([0,0],[1,0],[.68,.28],[1,1],e)[0]}else{s+=n([0,0],[.32,.72],[0,1],[1,1],e)[0]}this.sbAni.progressEnd(t?1:0,s,i)}else{this.gestureOrAnimationInProgress=false}}render(){return i("slot",{key:"6894eccc60e446294b01261477691ea1e88348ab"})}get el(){return s(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};E.style=V;export{E as ion_nav};
|
|
5
|
+
//# sourceMappingURL=p-c698ab8e.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as e,H as o,
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as e,H as o,e as s}from"./p-42169e41.js";import{shouldUseCloseWatcher as i}from"./p-1fc8e557.js";import{p as a}from"./p-d6769f21.js";import{g as n,c as r,a as p}from"./p-da0d920d.js";import"./p-7efd6867.js";const d="html.plt-mobile ion-app{user-select:none}html.plt-mobile ion-app [contenteditable]{user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";const c=d;const f=class{constructor(e){t(this,e)}componentDidLoad(){{m((async()=>{const t=p(window,"hybrid");if(!r.getBoolean("_testing")){import("./p-89aef852.js").then((t=>t.startTapClick(r)))}if(r.getBoolean("statusTap",t)){import("./p-a37a2712.js").then((t=>t.startStatusTap()))}if(r.getBoolean("inputShims",u())){const t=p(window,"ios")?"ios":"android";import("./p-c191e6df.js").then((e=>e.startInputShims(r,t)))}const e=await import("./p-1fc8e557.js");const o=t||i();if(r.getBoolean("hardwareBackButton",o)){e.startHardwareBackButton()}else{if(i()){a("experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used.")}e.blockHardwareBackButton()}if(typeof window!=="undefined"){import("./p-20f265c7.js").then((t=>t.startKeyboardAssist(window)))}import("./p-6cdaf5e6.js").then((t=>this.focusVisible=t.startFocusVisible()))}))}}async setFocus(t){if(this.focusVisible){this.focusVisible.setFocus(t)}}render(){const t=n(this);return e(o,{key:"6d7c57453b4be454690e8f1a0721f1e3da8f92aa",class:{[t]:true,"ion-page":true,"force-statusbar-padding":r.getBoolean("_forceStatusbarPadding")}})}get el(){return s(this)}};const u=()=>{const t=p(window,"ios")&&p(window,"mobile");if(t){return true}const e=p(window,"android")&&p(window,"mobileweb");if(e){return true}return false};const m=t=>{if("requestIdleCallback"in window){window.requestIdleCallback(t)}else{setTimeout(t,32)}};f.style=c;export{f as ion_app};
|
|
2
|
+
//# sourceMappingURL=p-c9604122.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as i,H as s,e}from"./p-42169e41.js";import{g as n}from"./p-da0d920d.js";const a=":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;flex-direction:column;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;flex-direction:row-reverse}@supports (inset-inline-start: 0){:host(.fab-list-side-start){inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-start){right:0}:host-context([dir=rtl]):host(.fab-list-side-start),:host-context([dir=rtl]).fab-list-side-start{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){:host(.fab-list-side-start:dir(rtl)){left:unset;right:unset;left:0}}}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;flex-direction:row}@supports (inset-inline-start: 0){:host(.fab-list-side-end){inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-end){left:0}:host-context([dir=rtl]):host(.fab-list-side-end),:host-context([dir=rtl]).fab-list-side-end{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.fab-list-side-end:dir(rtl)){left:unset;right:unset;right:0}}}";const r=a;const o=class{constructor(i){t(this,i);this.activated=false;this.side="bottom"}activatedChanged(t){const i=Array.from(this.el.querySelectorAll("ion-fab-button"));const s=t?30:0;i.forEach(((i,e)=>{setTimeout((()=>i.show=t),e*s)}))}render(){const t=n(this);return i(s,{key:"3de1b0db4eb0230d4d2954e4265ddeb3c930b4dc",class:{[t]:true,"fab-list-active":this.activated,[`fab-list-side-${this.side}`]:true}},i("slot",{key:"970aac2239ad9ea2b6b6c3c3ea45a18c45b37df2"}))}get el(){return e(this)}static get watchers(){return{activated:["activatedChanged"]}}};o.style=r;export{o as ion_fab_list};
|
|
2
|
+
//# sourceMappingURL=p-cb550d04.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["fabListCss","IonFabListStyle0","FabList","constructor","hostRef","this","activated","side","activatedChanged","fabs","Array","from","el","querySelectorAll","timeout","forEach","fab","i","setTimeout","show","render","mode","getIonMode","h","Host","key","class"],"sources":["../node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css?tag=ion-fab-list&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n margin-left: 0;\n margin-right: 0;\n margin-top: calc(100% + 10px);\n margin-bottom: calc(100% + 10px);\n display: none;\n position: absolute;\n top: 0;\n flex-direction: column;\n align-items: center;\n /**\n * The list should be centered relative to the parent\n * FAB button. We set minimum dimensions so the\n * FAB list can be centered relative to the small FAB button.\n * However, the small FAB button adds start/end margin, so we need\n * to account for that in the FAB list dimensions.\n */\n min-width: 56px;\n min-height: 56px;\n}\n\n:host(.fab-list-active) {\n display: flex;\n}\n\n::slotted(.fab-button-in-list) {\n margin-left: 0;\n margin-right: 0;\n margin-top: 8px;\n margin-bottom: 8px;\n width: 40px;\n height: 40px;\n transform: scale(0);\n opacity: 0;\n visibility: hidden;\n}\n\n:host(.fab-list-side-top) ::slotted(.fab-button-in-list),\n:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list) {\n margin-left: 0;\n margin-right: 0;\n margin-top: 5px;\n margin-bottom: 5px;\n}\n\n:host(.fab-list-side-start) ::slotted(.fab-button-in-list),\n:host(.fab-list-side-end) ::slotted(.fab-button-in-list) {\n -webkit-margin-start: 5px;\n margin-inline-start: 5px;\n -webkit-margin-end: 5px;\n margin-inline-end: 5px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted(.fab-button-in-list.fab-button-show) {\n transform: scale(1);\n opacity: 1;\n visibility: visible;\n}\n\n:host(.fab-list-side-top) {\n top: auto;\n bottom: 0;\n flex-direction: column-reverse;\n}\n\n:host(.fab-list-side-start) {\n -webkit-margin-start: calc(100% + 10px);\n margin-inline-start: calc(100% + 10px);\n -webkit-margin-end: calc(100% + 10px);\n margin-inline-end: calc(100% + 10px);\n margin-top: 0;\n margin-bottom: 0;\n flex-direction: row-reverse;\n}\n@supports (inset-inline-start: 0) {\n :host(.fab-list-side-start) {\n inset-inline-end: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n :host(.fab-list-side-start) {\n right: 0;\n }\n :host-context([dir=rtl]):host(.fab-list-side-start), :host-context([dir=rtl]).fab-list-side-start {\n left: unset;\n right: unset;\n left: 0;\n }\n @supports selector(:dir(rtl)) {\n :host(.fab-list-side-start:dir(rtl)) {\n left: unset;\n right: unset;\n left: 0;\n }\n }\n}\n\n:host(.fab-list-side-end) {\n -webkit-margin-start: calc(100% + 10px);\n margin-inline-start: calc(100% + 10px);\n -webkit-margin-end: calc(100% + 10px);\n margin-inline-end: calc(100% + 10px);\n margin-top: 0;\n margin-bottom: 0;\n flex-direction: row;\n}\n@supports (inset-inline-start: 0) {\n :host(.fab-list-side-end) {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n :host(.fab-list-side-end) {\n left: 0;\n }\n :host-context([dir=rtl]):host(.fab-list-side-end), :host-context([dir=rtl]).fab-list-side-end {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n :host(.fab-list-side-end:dir(rtl)) {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { getIonMode } from \"../../global/ionic-global\";\nexport class FabList {\n constructor() {\n this.activated = false;\n this.side = 'bottom';\n }\n activatedChanged(activated) {\n const fabs = Array.from(this.el.querySelectorAll('ion-fab-button'));\n // if showing the fabs add a timeout, else show immediately\n const timeout = activated ? 30 : 0;\n fabs.forEach((fab, i) => {\n setTimeout(() => (fab.show = activated), i * timeout);\n });\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: '3de1b0db4eb0230d4d2954e4265ddeb3c930b4dc', class: {\n [mode]: true,\n 'fab-list-active': this.activated,\n [`fab-list-side-${this.side}`]: true,\n } }, h(\"slot\", { key: '970aac2239ad9ea2b6b6c3c3ea45a18c45b37df2' })));\n }\n static get is() { return \"ion-fab-list\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"fab-list.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"fab-list.css\"]\n };\n }\n static get properties() {\n return {\n \"activated\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the fab list will show all fab buttons in the list.\"\n },\n \"attribute\": \"activated\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"side\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'start' | 'end' | 'top' | 'bottom'\",\n \"resolved\": \"\\\"bottom\\\" | \\\"end\\\" | \\\"start\\\" | \\\"top\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The side the fab list will show on relative to the main fab button.\"\n },\n \"attribute\": \"side\",\n \"reflect\": false,\n \"defaultValue\": \"'bottom'\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"activated\",\n \"methodName\": \"activatedChanged\"\n }];\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAa,kqEACnB,MAAAC,EAAeD,E,MCIFE,EAAO,MAChB,WAAAC,CAAAC,G,UACIC,KAAKC,UAAY,MACjBD,KAAKE,KAAO,Q,CAEhB,gBAAAC,CAAiBF,GACb,MAAMG,EAAOC,MAAMC,KAAKN,KAAKO,GAAGC,iBAAiB,mBAEjD,MAAMC,EAAUR,EAAY,GAAK,EACjCG,EAAKM,SAAQ,CAACC,EAAKC,KACfC,YAAW,IAAOF,EAAIG,KAAOb,GAAYW,EAAIH,EAAQ,G,CAG7D,MAAAM,GACI,MAAMC,EAAOC,EAAWjB,MACxB,OAAQkB,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClEL,CAACA,GAAO,KACR,kBAAmBhB,KAAKC,UACxB,CAAC,iBAAiBD,KAAKE,QAAS,OAC/BgB,EAAE,OAAQ,CAAEE,IAAK,6C","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["fabListCss","IonFabListStyle0","FabList","constructor","hostRef","this","activated","side","activatedChanged","fabs","Array","from","el","querySelectorAll","timeout","forEach","fab","i","setTimeout","show","render","mode","getIonMode","h","Host","key","class"],"sources":["../node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css?tag=ion-fab-list&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n margin-left: 0;\n margin-right: 0;\n margin-top: calc(100% + 10px);\n margin-bottom: calc(100% + 10px);\n display: none;\n position: absolute;\n top: 0;\n flex-direction: column;\n align-items: center;\n /**\n * The list should be centered relative to the parent\n * FAB button. We set minimum dimensions so the\n * FAB list can be centered relative to the small FAB button.\n * However, the small FAB button adds start/end margin, so we need\n * to account for that in the FAB list dimensions.\n */\n min-width: 56px;\n min-height: 56px;\n}\n\n:host(.fab-list-active) {\n display: flex;\n}\n\n::slotted(.fab-button-in-list) {\n margin-left: 0;\n margin-right: 0;\n margin-top: 8px;\n margin-bottom: 8px;\n width: 40px;\n height: 40px;\n transform: scale(0);\n opacity: 0;\n visibility: hidden;\n}\n\n:host(.fab-list-side-top) ::slotted(.fab-button-in-list),\n:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list) {\n margin-left: 0;\n margin-right: 0;\n margin-top: 5px;\n margin-bottom: 5px;\n}\n\n:host(.fab-list-side-start) ::slotted(.fab-button-in-list),\n:host(.fab-list-side-end) ::slotted(.fab-button-in-list) {\n -webkit-margin-start: 5px;\n margin-inline-start: 5px;\n -webkit-margin-end: 5px;\n margin-inline-end: 5px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted(.fab-button-in-list.fab-button-show) {\n transform: scale(1);\n opacity: 1;\n visibility: visible;\n}\n\n:host(.fab-list-side-top) {\n top: auto;\n bottom: 0;\n flex-direction: column-reverse;\n}\n\n:host(.fab-list-side-start) {\n -webkit-margin-start: calc(100% + 10px);\n margin-inline-start: calc(100% + 10px);\n -webkit-margin-end: calc(100% + 10px);\n margin-inline-end: calc(100% + 10px);\n margin-top: 0;\n margin-bottom: 0;\n flex-direction: row-reverse;\n}\n@supports (inset-inline-start: 0) {\n :host(.fab-list-side-start) {\n inset-inline-end: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n :host(.fab-list-side-start) {\n right: 0;\n }\n :host-context([dir=rtl]):host(.fab-list-side-start), :host-context([dir=rtl]).fab-list-side-start {\n left: unset;\n right: unset;\n left: 0;\n }\n @supports selector(:dir(rtl)) {\n :host(.fab-list-side-start:dir(rtl)) {\n left: unset;\n right: unset;\n left: 0;\n }\n }\n}\n\n:host(.fab-list-side-end) {\n -webkit-margin-start: calc(100% + 10px);\n margin-inline-start: calc(100% + 10px);\n -webkit-margin-end: calc(100% + 10px);\n margin-inline-end: calc(100% + 10px);\n margin-top: 0;\n margin-bottom: 0;\n flex-direction: row;\n}\n@supports (inset-inline-start: 0) {\n :host(.fab-list-side-end) {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n :host(.fab-list-side-end) {\n left: 0;\n }\n :host-context([dir=rtl]):host(.fab-list-side-end), :host-context([dir=rtl]).fab-list-side-end {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n :host(.fab-list-side-end:dir(rtl)) {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { getIonMode } from \"../../global/ionic-global\";\nexport class FabList {\n constructor() {\n this.activated = false;\n this.side = 'bottom';\n }\n activatedChanged(activated) {\n const fabs = Array.from(this.el.querySelectorAll('ion-fab-button'));\n // if showing the fabs add a timeout, else show immediately\n const timeout = activated ? 30 : 0;\n fabs.forEach((fab, i) => {\n setTimeout(() => (fab.show = activated), i * timeout);\n });\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: '3de1b0db4eb0230d4d2954e4265ddeb3c930b4dc', class: {\n [mode]: true,\n 'fab-list-active': this.activated,\n [`fab-list-side-${this.side}`]: true,\n } }, h(\"slot\", { key: '970aac2239ad9ea2b6b6c3c3ea45a18c45b37df2' })));\n }\n static get is() { return \"ion-fab-list\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"fab-list.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"fab-list.css\"]\n };\n }\n static get properties() {\n return {\n \"activated\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the fab list will show all fab buttons in the list.\"\n },\n \"attribute\": \"activated\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"side\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'start' | 'end' | 'top' | 'bottom'\",\n \"resolved\": \"\\\"bottom\\\" | \\\"end\\\" | \\\"start\\\" | \\\"top\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The side the fab list will show on relative to the main fab button.\"\n },\n \"attribute\": \"side\",\n \"reflect\": false,\n \"defaultValue\": \"'bottom'\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"activated\",\n \"methodName\": \"activatedChanged\"\n }];\n }\n}\n"],"mappings":"wFAAA,MAAMA,EAAa,kqEACnB,MAAAC,EAAeD,E,MCIFE,EAAO,MAChB,WAAAC,CAAAC,G,UACIC,KAAKC,UAAY,MACjBD,KAAKE,KAAO,Q,CAEhB,gBAAAC,CAAiBF,GACb,MAAMG,EAAOC,MAAMC,KAAKN,KAAKO,GAAGC,iBAAiB,mBAEjD,MAAMC,EAAUR,EAAY,GAAK,EACjCG,EAAKM,SAAQ,CAACC,EAAKC,KACfC,YAAW,IAAOF,EAAIG,KAAOb,GAAYW,EAAIH,EAAQ,G,CAG7D,MAAAM,GACI,MAAMC,EAAOC,EAAWjB,MACxB,OAAQkB,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClEL,CAACA,GAAO,KACR,kBAAmBhB,KAAKC,UACxB,CAAC,iBAAiBD,KAAKE,QAAS,OAC/BgB,EAAE,OAAQ,CAAEE,IAAK,6C","ignoreList":[]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{w as n,B as e}from"./p-
|
|
1
|
+
import{w as n,B as e}from"./p-42169e41.js";import{r as s}from"./p-71ee259b.js";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
4
|
*/const t="ionViewWillEnter";const i="ionViewDidEnter";const o="ionViewWillLeave";const a="ionViewDidLeave";const c="ionViewWillUnload";
|
|
5
5
|
/*!
|
|
6
6
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
7
|
-
*/const r=()=>import("./p-
|
|
8
|
-
//# sourceMappingURL=p-
|
|
7
|
+
*/const r=()=>import("./p-307d1531.js");const f=()=>import("./p-f67bba50.js");const l=e=>new Promise(((s,t)=>{n((()=>{d(e);u(e).then((n=>{if(n.animation){n.animation.destroy()}p(e);s(n)}),(n=>{p(e);t(n)}))}))}));const d=n=>{const e=n.enteringEl;const s=n.leavingEl;E(e,s,n.direction);if(n.showGoBack){e.classList.add("can-go-back")}else{e.classList.remove("can-go-back")}C(e,false);e.style.setProperty("pointer-events","none");if(s){C(s,false);s.style.setProperty("pointer-events","none")}};const u=async n=>{const s=await w(n);const t=s&&e.isBrowser?m(s,n):b(n);return t};const p=n=>{const e=n.enteringEl;const s=n.leavingEl;e.classList.remove("ion-page-invisible");e.style.removeProperty("pointer-events");if(s!==undefined){s.classList.remove("ion-page-invisible");s.style.removeProperty("pointer-events")}};const w=async n=>{if(!n.leavingEl||!n.animated||n.duration===0){return undefined}if(n.animationBuilder){return n.animationBuilder}const e=n.mode==="ios"?(await r()).iosTransitionAnimation:(await f()).mdTransitionAnimation;return e};const m=async(n,e)=>{await v(e,true);const s=n(e.baseEl,e);h(e.enteringEl,e.leavingEl);const t=await y(s,e);if(e.progressCallback){e.progressCallback(undefined)}if(t){P(e.enteringEl,e.leavingEl)}return{hasCompleted:t,animation:s}};const b=async n=>{const e=n.enteringEl;const s=n.leavingEl;await v(n,false);h(e,s);P(e,s);return{hasCompleted:true}};const v=async(n,e)=>{const s=n.deepWait!==undefined?n.deepWait:e;if(s){await Promise.all([k(n.enteringEl),k(n.leavingEl)])}await g(n.viewIsReady,n.enteringEl)};const g=async(n,e)=>{if(n){await n(e)}};const y=(n,e)=>{const s=e.progressCallback;const t=new Promise((e=>{n.onFinish((n=>e(n===1)))}));if(s){n.progressStart(true);s(n)}else{n.play()}return t};const h=(n,e)=>{V(e,o);V(n,t)};const P=(n,e)=>{V(n,i);V(e,a)};const V=(n,e)=>{if(n){const s=new CustomEvent(e,{bubbles:false,cancelable:false});n.dispatchEvent(s)}};const j=()=>new Promise((n=>s((()=>s((()=>n()))))));const k=async n=>{const e=n;if(e){if(e.componentOnReady!=null){const n=await e.componentOnReady();if(n!=null){return}}else if(e.__registerHost!=null){const n=new Promise((n=>s(n)));await n;return}await Promise.all(Array.from(e.children).map(k))}};const C=(n,e)=>{if(e){n.setAttribute("aria-hidden","true");n.classList.add("ion-page-hidden")}else{n.hidden=false;n.removeAttribute("aria-hidden");n.classList.remove("ion-page-hidden")}};const E=(n,e,s)=>{if(n!==undefined){n.style.zIndex=s==="back"?"99":"101"}if(e!==undefined){e.style.zIndex="100"}};const L=n=>{if(n.classList.contains("ion-page")){return n}const e=n.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");if(e){return e}return n};export{c as L,o as a,a as b,k as d,L as g,V as l,C as s,l as t,j as w};
|
|
8
|
+
//# sourceMappingURL=p-cbae963d.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{w as n}from"./p-7efd6867.js";import{r as t}from"./p-
|
|
1
|
+
import{w as n}from"./p-7efd6867.js";import{r as t}from"./p-71ee259b.js";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
4
|
*/let e;const i=n=>{n.forEach((n=>{for(const t in n){if(n.hasOwnProperty(t)){const e=n[t];if(t==="easing"){const i="animation-timing-function";n[i]=e;delete n[t]}else{const i=o(t);if(i!==t){n[i]=e;delete n[t]}}}}}));return n};const o=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const s=n=>{if(e===undefined){const t=n.style.animationName!==undefined;const i=n.style.webkitAnimationName!==undefined;e=!t&&i?"-webkit-":""}return e};const r=(n,t,e)=>{const i=t.startsWith("animation")?s(n):"";n.style.setProperty(i+t,e)};const a=(n,t)=>{const e=t.startsWith("animation")?s(n):"";n.style.removeProperty(e+t)};const f=(n,t)=>{let e;const i={passive:true};const o=()=>{if(e){e()}};const s=e=>{if(n===e.target){o();t(e)}};if(n){n.addEventListener("webkitAnimationEnd",s,i);n.addEventListener("animationend",s,i);e=()=>{n.removeEventListener("webkitAnimationEnd",s,i);n.removeEventListener("animationend",s,i)}}return o};const c=(n=[])=>n.map((n=>{const t=n.offset;const e=[];for(const t in n){if(n.hasOwnProperty(t)&&t!=="offset"){e.push(`${t}: ${n[t]};`)}}return`${t*100}% { ${e.join(" ")} }`})).join(" ");const u=[];const l=n=>{let t=u.indexOf(n);if(t<0){t=u.push(n)-1}return`ion-animation-${t}`};const d=n=>{const t=n.getRootNode!==undefined?n.getRootNode():n;return t.head||t};const m=(n,t,e)=>{var i;const o=d(e);const r=s(e);const a=o.querySelector("#"+n);if(a){return a}const f=((i=e.ownerDocument)!==null&&i!==void 0?i:document).createElement("style");f.id=n;f.textContent=`@${r}keyframes ${n} { ${t} } @${r}keyframes ${n}-alt { ${t} }`;o.appendChild(f);return f};const y=(n=[],t)=>{if(t!==undefined){const e=Array.isArray(t)?t:[t];return[...n,...e]}return n};
|
|
5
5
|
/*!
|
|
6
6
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
7
7
|
*/const p=e=>{let o;let s;let u;let d;let p;let g;let $=[];let v=[];let A=[];let b=false;let E;let k={};let C=[];let h=[];let w={};let S=0;let T=false;let R=false;let F;let I;let D;let W;let j=true;let K=false;let M=true;let x;let z;let P=false;const Z=e;const q=[];const B=[];const G=[];const H=[];const J=[];const L=[];const N=[];const O=[];const Q=[];const U=[];const V=[];const X=typeof AnimationEffect==="function"||n!==undefined&&typeof n.AnimationEffect==="function";const Y=typeof Element==="function"&&typeof Element.prototype.animate==="function"&&X;const _=100;const nn=()=>V;const tn=n=>{J.forEach((t=>{t.destroy(n)}));en(n);H.length=0;J.length=0;$.length=0;cn();b=false;M=true;return z};const en=n=>{un();if(n){ln()}};const on=()=>{T=false;R=false;M=true;I=undefined;D=undefined;W=undefined;S=0;K=false;j=true;P=false};const sn=()=>S!==0&&!P;const rn=(n,t)=>{const e=t.findIndex((t=>t.c===n));if(e>-1){t.splice(e,1)}};const an=(n,t)=>{G.push({c:n,o:t});return z};const fn=(n,t)=>{const e=(t===null||t===void 0?void 0:t.oneTimeCallback)?B:q;e.push({c:n,o:t});return z};const cn=()=>{q.length=0;B.length=0;return z};const un=()=>{if(Y){V.forEach((n=>{n.cancel()}));V.length=0}else{const n=H.slice();t((()=>{n.forEach((n=>{a(n,"animation-name");a(n,"animation-duration");a(n,"animation-timing-function");a(n,"animation-iteration-count");a(n,"animation-delay");a(n,"animation-play-state");a(n,"animation-fill-mode");a(n,"animation-direction")}))}))}};const ln=()=>{L.forEach((n=>{if(n===null||n===void 0?void 0:n.parentNode){n.parentNode.removeChild(n)}}));L.length=0};const dn=n=>{N.push(n);return z};const mn=n=>{O.push(n);return z};const yn=n=>{Q.push(n);return z};const pn=n=>{U.push(n);return z};const gn=n=>{v=y(v,n);return z};const $n=n=>{A=y(A,n);return z};const vn=(n={})=>{k=n;return z};const An=(n=[])=>{for(const t of n){k[t]=""}return z};const bn=n=>{C=y(C,n);return z};const En=n=>{h=y(h,n);return z};const kn=(n={})=>{w=n;return z};const Cn=(n=[])=>{for(const t of n){w[t]=""}return z};const hn=()=>{if(p!==undefined){return p}if(E){return E.getFill()}return"both"};const wn=()=>{if(I!==undefined){return I}if(g!==undefined){return g}if(E){return E.getDirection()}return"normal"};const Sn=()=>{if(T){return"linear"}if(u!==undefined){return u}if(E){return E.getEasing()}return"linear"};const Tn=()=>{if(R){return 0}if(D!==undefined){return D}if(s!==undefined){return s}if(E){return E.getDuration()}return 0};const Rn=()=>{if(d!==undefined){return d}if(E){return E.getIterations()}return 1};const Fn=()=>{if(W!==undefined){return W}if(o!==undefined){return o}if(E){return E.getDelay()}return 0};const In=()=>$;const Dn=n=>{g=n;Xn(true);return z};const Wn=n=>{p=n;Xn(true);return z};const jn=n=>{o=n;Xn(true);return z};const Kn=n=>{u=n;Xn(true);return z};const Mn=n=>{if(!Y&&n===0){n=1}s=n;Xn(true);return z};const xn=n=>{d=n;Xn(true);return z};const zn=n=>{E=n;return z};const Pn=n=>{if(n!=null){if(n.nodeType===1){H.push(n)}else if(n.length>=0){for(let t=0;t<n.length;t++){H.push(n[t])}}else{console.error("Invalid addElement value")}}return z};const Zn=n=>{if(n!=null){if(Array.isArray(n)){for(const t of n){t.parent(z);J.push(t)}}else{n.parent(z);J.push(n)}}return z};const qn=n=>{const t=$!==n;$=n;if(t){Bn($)}return z};const Bn=n=>{if(Y){nn().forEach((t=>{const e=t.effect;if(e.setKeyframes){e.setKeyframes(n)}else{const i=new KeyframeEffect(e.target,n,e.getTiming());t.effect=i}}))}else{Ln()}};const Gn=()=>{N.forEach((n=>n()));O.forEach((n=>n()));const n=v;const t=A;const e=k;H.forEach((i=>{const o=i.classList;n.forEach((n=>o.add(n)));t.forEach((n=>o.remove(n)));for(const n in e){if(e.hasOwnProperty(n)){r(i,n,e[n])}}}))};const Hn=()=>{ot();Q.forEach((n=>n()));U.forEach((n=>n()));const n=j?1:0;const t=C;const e=h;const i=w;H.forEach((n=>{const o=n.classList;t.forEach((n=>o.add(n)));e.forEach((n=>o.remove(n)));for(const t in i){if(i.hasOwnProperty(t)){r(n,t,i[t])}}}));D=undefined;I=undefined;W=undefined;q.forEach((t=>t.c(n,z)));B.forEach((t=>t.c(n,z)));B.length=0;M=true;if(j){K=true}j=true};const Jn=()=>{if(S===0){return}S--;if(S===0){Hn();if(E){E.animationFinish()}}};const Ln=(n=true)=>{ln();const o=i($);H.forEach((i=>{if(o.length>0){const s=c(o);x=e!==undefined?e:l(s);const a=m(x,s,i);L.push(a);r(i,"animation-duration",`${Tn()}ms`);r(i,"animation-timing-function",Sn());r(i,"animation-delay",`${Fn()}ms`);r(i,"animation-fill-mode",hn());r(i,"animation-direction",wn());const f=Rn()===Infinity?"infinite":Rn().toString();r(i,"animation-iteration-count",f);r(i,"animation-play-state","paused");if(n){r(i,"animation-name",`${a.id}-alt`)}t((()=>{r(i,"animation-name",a.id||null)}))}}))};const Nn=()=>{H.forEach((n=>{const t=n.animate($,{id:Z,delay:Fn(),duration:Tn(),easing:Sn(),iterations:Rn(),fill:hn(),direction:wn()});t.pause();V.push(t)}));if(V.length>0){V[0].onfinish=()=>{Jn()}}};const On=(n=true)=>{Gn();if($.length>0){if(Y){Nn()}else{Ln(n)}}b=true};const Qn=n=>{n=Math.min(Math.max(n,0),.9999);if(Y){V.forEach((t=>{t.currentTime=t.effect.getComputedTiming().delay+Tn()*n;t.pause()}))}else{const t=`-${Tn()*n}ms`;H.forEach((n=>{if($.length>0){r(n,"animation-delay",t);r(n,"animation-play-state","paused")}}))}};const Un=n=>{V.forEach((n=>{n.effect.updateTiming({delay:Fn(),duration:Tn(),easing:Sn(),iterations:Rn(),fill:hn(),direction:wn()})}));if(n!==undefined){Qn(n)}};const Vn=(n=true,e)=>{t((()=>{H.forEach((i=>{r(i,"animation-name",x||null);r(i,"animation-duration",`${Tn()}ms`);r(i,"animation-timing-function",Sn());r(i,"animation-delay",e!==undefined?`-${e*Tn()}ms`:`${Fn()}ms`);r(i,"animation-fill-mode",hn()||null);r(i,"animation-direction",wn()||null);const o=Rn()===Infinity?"infinite":Rn().toString();r(i,"animation-iteration-count",o);if(n){r(i,"animation-name",`${x}-alt`)}t((()=>{r(i,"animation-name",x||null)}))}))}))};const Xn=(n=false,t=true,e)=>{if(n){J.forEach((i=>{i.update(n,t,e)}))}if(Y){Un(e)}else{Vn(t,e)}return z};const Yn=(n=false,t)=>{J.forEach((e=>{e.progressStart(n,t)}));tt();T=n;if(!b){On()}Xn(false,true,t);return z};const _n=n=>{J.forEach((t=>{t.progressStep(n)}));Qn(n);return z};const nt=(n,t,e)=>{T=false;J.forEach((i=>{i.progressEnd(n,t,e)}));if(e!==undefined){D=e}K=false;j=true;if(n===0){I=wn()==="reverse"?"normal":"reverse";if(I==="reverse"){j=false}if(Y){Xn();Qn(1-t)}else{W=(1-t)*Tn()*-1;Xn(false,false)}}else if(n===1){if(Y){Xn();Qn(t)}else{W=t*Tn()*-1;Xn(false,false)}}if(n!==undefined&&!E){ct()}return z};const tt=()=>{if(b){if(Y){V.forEach((n=>{n.pause()}))}else{H.forEach((n=>{r(n,"animation-play-state","paused")}))}P=true}};const et=()=>{J.forEach((n=>{n.pause()}));tt();return z};const it=()=>{F=undefined;Jn()};const ot=()=>{if(F){clearTimeout(F)}};const st=()=>{ot();t((()=>{H.forEach((n=>{if($.length>0){r(n,"animation-play-state","running")}}))}));if($.length===0||H.length===0){Jn()}else{const n=Fn()||0;const e=Tn()||0;const i=Rn()||1;if(isFinite(i)){F=setTimeout(it,n+e*i+_)}f(H[0],(()=>{ot();t((()=>{rt();t(Jn)}))}))}};const rt=()=>{H.forEach((n=>{a(n,"animation-duration");a(n,"animation-delay");a(n,"animation-play-state")}))};const at=()=>{V.forEach((n=>{n.play()}));if($.length===0||H.length===0){Jn()}};const ft=()=>{if(Y){Qn(0);Un()}else{Vn()}};const ct=n=>new Promise((t=>{if(n===null||n===void 0?void 0:n.sync){R=true;fn((()=>R=false),{oneTimeCallback:true})}if(!b){On()}if(K){ft();K=false}if(M){S=J.length+1;M=false}const e=()=>{rn(i,B);t()};const i=()=>{rn(e,G);t()};fn(i,{oneTimeCallback:true});an(e,{oneTimeCallback:true});J.forEach((n=>{n.play()}));if(Y){at()}else{st()}P=false}));const ut=()=>{J.forEach((n=>{n.stop()}));if(b){un();b=false}on();G.forEach((n=>n.c(0,z)));G.length=0};const lt=(n,t)=>{const e=$[0];if(e!==undefined&&(e.offset===undefined||e.offset===0)){e[n]=t}else{$=[{offset:0,[n]:t},...$]}return z};const dt=(n,t)=>{const e=$[$.length-1];if(e!==undefined&&(e.offset===undefined||e.offset===1)){e[n]=t}else{$=[...$,{offset:1,[n]:t}]}return z};const mt=(n,t,e)=>lt(n,t).to(n,e);return z={parentAnimation:E,elements:H,childAnimations:J,id:Z,animationFinish:Jn,from:lt,to:dt,fromTo:mt,parent:zn,play:ct,pause:et,stop:ut,destroy:tn,keyframes:qn,addAnimation:Zn,addElement:Pn,update:Xn,fill:Wn,direction:Dn,iterations:xn,duration:Mn,easing:Kn,delay:jn,getWebAnimations:nn,getKeyframes:In,getFill:hn,getDirection:wn,getDelay:Fn,getIterations:Rn,getEasing:Sn,getDuration:Tn,afterAddRead:yn,afterAddWrite:pn,afterClearStyles:Cn,afterStyles:kn,afterRemoveClass:En,afterAddClass:bn,beforeAddRead:dn,beforeAddWrite:mn,beforeClearStyles:An,beforeStyles:vn,beforeRemoveClass:$n,beforeAddClass:gn,onFinish:fn,isRunning:sn,progressStart:Yn,progressStep:_n,progressEnd:nt}};export{p as c};
|
|
8
|
-
//# sourceMappingURL=p-
|
|
8
|
+
//# sourceMappingURL=p-cbf050d6.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,i as o,h as s,H as i,e}from"./p-42169e41.js";import{c as n,h as a}from"./p-669fab6c.js";import{g as r}from"./p-da0d920d.js";const c=":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;flex-wrap:wrap;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;justify-content:center}";const d=c;const l=":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;flex-wrap:wrap;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}";const h=l;const b=class{constructor(s){t(this,s);this.ionCollapsedClick=o(this,"ionCollapsedClick",7);this.breadcrumbsInit=()=>{this.setBreadcrumbSeparator();this.setMaxItems()};this.resetActiveBreadcrumb=()=>{const t=this.getBreadcrumbs();const o=t.find((t=>t.active));if(o&&this.activeChanged){o.active=false}};this.setMaxItems=()=>{const{itemsAfterCollapse:t,itemsBeforeCollapse:o,maxItems:s}=this;const i=this.getBreadcrumbs();for(const t of i){t.showCollapsedIndicator=false;t.collapsed=false}const e=s!==undefined&&i.length>s&&o+t<=s;if(e){i.forEach(((s,e)=>{if(e===o){s.showCollapsedIndicator=true}if(e>=o&&e<i.length-t){s.collapsed=true}}))}};this.setBreadcrumbSeparator=()=>{const{itemsAfterCollapse:t,itemsBeforeCollapse:o,maxItems:s}=this;const i=this.getBreadcrumbs();const e=i.find((t=>t.active));for(const n of i){const a=s!==undefined&&t===0?n===i[o]:n===i[i.length-1];n.last=a;const r=n.separator!==undefined?n.separator:a?undefined:true;n.separator=r;if(!e&&a){n.active=true;this.activeChanged=true}}};this.getBreadcrumbs=()=>Array.from(this.el.querySelectorAll("ion-breadcrumb"));this.slotChanged=()=>{this.resetActiveBreadcrumb();this.breadcrumbsInit()};this.collapsed=undefined;this.activeChanged=undefined;this.color=undefined;this.maxItems=undefined;this.itemsBeforeCollapse=1;this.itemsAfterCollapse=1}onCollapsedClick(t){const o=this.getBreadcrumbs();const s=o.filter((t=>t.collapsed));this.ionCollapsedClick.emit(Object.assign(Object.assign({},t.detail),{collapsedBreadcrumbs:s}))}maxItemsChanged(){this.resetActiveBreadcrumb();this.breadcrumbsInit()}componentWillLoad(){this.breadcrumbsInit()}render(){const{color:t,collapsed:o}=this;const e=r(this);return s(i,{key:"cd288d4bf5498f86d086eb999b506993818642f3",class:n(t,{[e]:true,"in-toolbar":a("ion-toolbar",this.el),"in-toolbar-color":a("ion-toolbar[color]",this.el),"breadcrumbs-collapsed":o})},s("slot",{key:"73c802065511dbebef3867b01ce929313d24cba2",onSlotchange:this.slotChanged}))}get el(){return e(this)}static get watchers(){return{maxItems:["maxItemsChanged"],itemsBeforeCollapse:["maxItemsChanged"],itemsAfterCollapse:["maxItemsChanged"]}}};b.style={ios:d,md:h};export{b as ion_breadcrumbs};
|
|
2
|
+
//# sourceMappingURL=p-d08312dd.entry.js.map
|