@pod-os/elements 0.25.2 → 0.25.3-rc.2f9e99a.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_2.cjs.entry.js +92 -0
- package/dist/cjs/ion-badge_2.cjs.entry.js.map +1 -0
- package/dist/cjs/{ion-badge_8.cjs.entry.js → ion-card-title_6.cjs.entry.js} +3 -84
- package/dist/cjs/ion-card-title_6.cjs.entry.js.map +1 -0
- package/dist/cjs/ion-card_34.cjs.entry.js +26 -26
- package/dist/cjs/ion-card_34.cjs.entry.js.map +1 -1
- 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-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/loader.cjs.js +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-rdf-document.cjs.entry.js +5 -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-predicate.cjs.entry.js +28 -0
- package/dist/cjs/pos-predicate.cjs.entry.js.map +1 -0
- 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-generic/pos-app-generic.css +2 -1
- package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.css +39 -0
- 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/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.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-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-reverse-relations/pos-reverse-relations.css +1 -1
- package/dist/collection/components/pos-rich-link/pos-rich-link.css +3 -3
- 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-input.js +566 -1
- package/dist/components/ion-input.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 +1 -1
- package/dist/components/pos-app-browser.js +1 -1
- package/dist/components/pos-app-browser.js.map +1 -1
- package/dist/components/pos-app-dashboard2.js +1 -1
- package/dist/components/pos-app-dashboard2.js.map +1 -1
- package/dist/components/pos-app-document-viewer.js +14 -20
- package/dist/components/pos-app-document-viewer.js.map +1 -1
- package/dist/components/pos-app-generic.js +11 -17
- package/dist/components/pos-app-generic.js.map +1 -1
- package/dist/components/pos-app-image-viewer.js +14 -20
- package/dist/components/pos-app-image-viewer.js.map +1 -1
- package/dist/components/pos-app-ldp-container.js +16 -34
- package/dist/components/pos-app-ldp-container.js.map +1 -1
- package/dist/components/pos-app-rdf-document.js +22 -47
- 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 +8 -20
- 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 +1 -1
- 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-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 +1 -1
- package/dist/components/pos-navigation-bar2.js +2 -2
- 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 +1 -1
- package/dist/components/pos-relations2.js.map +1 -1
- package/dist/components/pos-reverse-relations2.js +1 -1
- package/dist/components/pos-reverse-relations2.js.map +1 -1
- package/dist/components/pos-rich-link2.js +3 -3
- 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 +1 -1
- 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-714cb336.entry.js → p-00c0e726.entry.js} +2 -2
- package/dist/elements/{p-34d3ff03.js → p-09c0b7ec.js} +3 -3
- package/dist/elements/p-0c94ec29.entry.js +2 -0
- package/dist/elements/{p-abed69a9.entry.js.map → p-0c94ec29.entry.js.map} +1 -1
- package/dist/elements/p-10bbe079.entry.js +2 -0
- package/dist/elements/p-10bbe079.entry.js.map +1 -0
- package/dist/elements/{p-0ffd76fc.entry.js → p-133e29f8.entry.js} +2 -2
- package/dist/elements/{p-097747f2.entry.js → p-18e5369d.entry.js} +2 -2
- package/dist/elements/{p-b25dd1f1.js → p-19e2dbee.js} +3 -3
- package/dist/elements/{p-a9df5a3a.entry.js → p-1d8d3167.entry.js} +2 -2
- package/dist/elements/{p-dcd16290.js → p-24118aa1.js} +3 -3
- package/dist/elements/p-248a0d89.entry.js +2 -0
- package/dist/elements/p-248a0d89.entry.js.map +1 -0
- package/dist/elements/{p-e11f2e70.entry.js → p-2543ef78.entry.js} +8 -8
- package/dist/elements/{p-e11f2e70.entry.js.map → p-2543ef78.entry.js.map} +1 -1
- package/dist/elements/{p-b725d322.entry.js → p-25b5a86a.entry.js} +2 -2
- package/dist/elements/{p-2d13e141.entry.js → p-27a5048e.entry.js} +2 -2
- package/dist/elements/{p-2d5448aa.entry.js → p-2cce9f72.entry.js} +2 -2
- package/dist/elements/{p-970fce25.entry.js → p-2d89b617.entry.js} +2 -2
- package/dist/elements/{p-66812011.entry.js → p-2e2753e7.entry.js} +2 -2
- package/dist/elements/{p-4cb77968.js → p-3856e0a0.js} +2 -2
- package/dist/elements/{p-e04e65b9.entry.js → p-3bc60b5c.entry.js} +2 -2
- package/dist/elements/{p-ec9d0fd2.entry.js → p-428e79f5.entry.js} +2 -2
- package/dist/elements/p-43d3f9dd.entry.js +2 -0
- package/dist/elements/p-43d3f9dd.entry.js.map +1 -0
- package/dist/elements/{p-62a60344.entry.js → p-489909a3.entry.js} +2 -2
- package/dist/elements/p-4c78c8c9.js +5 -0
- package/dist/elements/p-57740997.entry.js +2 -0
- package/dist/elements/{p-ec0d5d03.entry.js → p-58ad0789.entry.js} +2 -2
- package/dist/elements/{p-b250dee1.entry.js → p-616c23ad.entry.js} +3 -3
- package/dist/elements/{p-8b22dca0.entry.js → p-686bf509.entry.js} +2 -2
- package/dist/elements/{p-1c44ef41.entry.js → p-6bc1057e.entry.js} +2 -2
- package/dist/elements/{p-dcd0a40c.entry.js → p-7105c21a.entry.js} +2 -2
- package/dist/elements/{p-25270f1a.js → p-71ee259b.js} +2 -2
- package/dist/elements/{p-33b22cc6.entry.js → p-73331353.entry.js} +2 -2
- package/dist/elements/{p-df24c396.entry.js → p-77f496ea.entry.js} +2 -2
- package/dist/elements/p-7bef9b1b.entry.js +2 -0
- package/dist/elements/p-7bef9b1b.entry.js.map +1 -0
- package/dist/elements/{p-00c6a8f5.entry.js → p-849fec0f.entry.js} +2 -2
- package/dist/elements/{p-163e3e87.js → p-89aef852.js} +2 -2
- package/dist/elements/{p-a8afe4ef.entry.js → p-8c1eba2d.entry.js} +2 -2
- package/dist/elements/{p-d016e7e0.entry.js → p-8e747572.entry.js} +2 -2
- package/dist/elements/p-91fccb8b.entry.js +2 -0
- package/dist/elements/p-91fccb8b.entry.js.map +1 -0
- package/dist/elements/p-932de51e.js +8 -0
- package/dist/elements/{p-1df0edde.entry.js → p-93dc5bee.entry.js} +2 -2
- package/dist/elements/{p-20e2e8c1.js → p-949b115f.js} +2 -2
- package/dist/elements/p-983da5af.entry.js +2 -0
- package/dist/elements/p-983da5af.entry.js.map +1 -0
- package/dist/elements/{p-a3af481c.js → p-a03499f7.js} +2 -2
- package/dist/elements/{p-d0c67d7c.entry.js → p-a41edaa5.entry.js} +2 -2
- package/dist/elements/{p-34f376f2.entry.js → p-acf6cab4.entry.js} +2 -2
- package/dist/elements/{p-76351ab7.entry.js → p-ad55e9ab.entry.js} +2 -2
- package/dist/elements/p-b3117c79.entry.js +2 -0
- package/dist/elements/p-b3117c79.entry.js.map +1 -0
- package/dist/elements/{p-0cf27008.entry.js → p-b8363813.entry.js} +2 -2
- package/dist/elements/{p-da0cfe0c.entry.js → p-c13052f5.entry.js} +2 -2
- package/dist/elements/{p-bb3054a3.js → p-c191e6df.js} +8 -8
- package/dist/elements/{p-b9e14ed6.entry.js → p-c19ba914.entry.js} +4 -4
- package/dist/elements/{p-bcd11997.entry.js → p-c34f0243.entry.js} +2 -2
- package/dist/elements/p-c452a2e9.js +5 -0
- package/dist/elements/{p-1651e9a7.entry.js → p-c992243d.entry.js} +2 -2
- package/dist/elements/{p-592177e8.js → p-cbf050d6.js} +2 -2
- package/dist/elements/{p-3ab4f8b6.js → p-cdb96cf2.js} +2 -2
- package/dist/elements/p-d03f5902.entry.js +2 -0
- package/dist/elements/p-d03f5902.entry.js.map +1 -0
- package/dist/elements/{p-f7490d6e.js → p-d164af48.js} +2 -2
- package/dist/elements/{p-4d6e48bf.js → p-d1e7b393.js} +2 -2
- package/dist/elements/{p-6189fb02.entry.js → p-d7c83052.entry.js} +2 -2
- package/dist/elements/{p-59feb185.js → p-dd97c7d1.js} +3 -3
- package/dist/elements/p-e5ce5615.entry.js +5 -0
- package/dist/elements/p-e5ce5615.entry.js.map +1 -0
- package/dist/elements/p-e7a69dd3.entry.js +2 -0
- package/dist/elements/p-e7a69dd3.entry.js.map +1 -0
- package/dist/elements/p-eba70ed1.js +6 -0
- package/dist/elements/{p-ab68c761.entry.js → p-ef4ffce6.entry.js} +2 -2
- package/dist/elements/{p-04c9fe91.entry.js → p-ef87f5dd.entry.js} +2 -2
- package/dist/elements/{p-07df0400.entry.js → p-f74b9191.entry.js} +2 -2
- package/dist/elements/p-f74b9191.entry.js.map +1 -0
- package/dist/elements/{p-3e1b5fc4.entry.js → p-f9b993ab.entry.js} +4 -4
- package/dist/elements/p-fb766a59.entry.js.map +1 -1
- package/dist/elements/{p-925bb96a.entry.js → p-fd4ecbf1.entry.js} +2 -2
- package/dist/elements/p-fe4821db.entry.js +2 -0
- package/dist/elements/p-fe4821db.entry.js.map +1 -0
- 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/elements.js +1 -1
- 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/{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-f69a875d.js → index-842e2941.js} +2 -2
- package/dist/esm/{index-f69a875d.js.map → index-842e2941.js.map} +1 -1
- package/dist/esm/{index-2ac08fda.js → index-a753fbce.js} +4 -4
- package/dist/esm/{index-2ac08fda.js.map → index-a753fbce.js.map} +1 -1
- package/dist/esm/{index-d511bcdc.js → index-e268d85c.js} +3 -3
- package/dist/esm/{index-d511bcdc.js.map → index-e268d85c.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.entry.js +1 -1
- package/dist/esm/ion-action-sheet_3.entry.js +4 -4
- package/dist/esm/ion-app.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-badge_2.entry.js +87 -0
- package/dist/esm/ion-badge_2.entry.js.map +1 -0
- package/dist/esm/ion-breadcrumb.entry.js +1 -1
- package/dist/esm/ion-button_4.entry.js +1 -1
- package/dist/esm/{ion-badge_8.entry.js → ion-card-title_6.entry.js} +4 -83
- package/dist/esm/ion-card-title_6.entry.js.map +1 -0
- package/dist/esm/ion-card_34.entry.js +30 -30
- package/dist/esm/ion-card_34.entry.js.map +1 -1
- package/dist/esm/{ion-checkbox_6.entry.js → ion-checkbox_7.entry.js} +279 -7
- package/dist/esm/ion-checkbox_7.entry.js.map +1 -0
- package/dist/esm/ion-content.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime.entry.js +1 -1
- package/dist/esm/ion-fab-button.entry.js +1 -1
- package/dist/esm/ion-footer.entry.js +2 -2
- package/dist/esm/ion-header.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll.entry.js +2 -2
- package/dist/esm/{ion-input_2.entry.js → ion-input.entry.js} +6 -25
- package/dist/esm/ion-input.entry.js.map +1 -0
- package/dist/esm/ion-item-options.entry.js +1 -1
- package/dist/esm/ion-item-sliding.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +4 -4
- package/dist/esm/ion-menu-button.entry.js +4 -4
- package/dist/esm/ion-menu-toggle.entry.js +4 -4
- package/dist/esm/ion-menu.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +6 -6
- package/dist/esm/ion-nav.entry.js +4 -4
- 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 +1 -1
- package/dist/esm/ion-picker.entry.js +4 -4
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher-content.entry.js +3 -3
- package/dist/esm/ion-refresher.entry.js +4 -4
- package/dist/esm/ion-reorder-group.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +4 -4
- package/dist/esm/ion-router.entry.js +1 -1
- package/dist/esm/ion-segment-button.entry.js +1 -1
- package/dist/esm/ion-segment.entry.js +1 -1
- package/dist/esm/ion-select.entry.js +5 -5
- package/dist/esm/ion-tab-button.entry.js +1 -1
- package/dist/esm/ion-tab.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ios.transition-82aca0a1.js → ios.transition-42a569f1.js} +4 -4
- package/dist/esm/{ios.transition-82aca0a1.js.map → ios.transition-42a569f1.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-8ab6c7b8.js → md.transition-646de6a5.js} +4 -4
- package/dist/esm/{md.transition-8ab6c7b8.js.map → md.transition-646de6a5.js.map} +1 -1
- package/dist/esm/{menu-toggle-util-1b366cd3.js → menu-toggle-util-8d0172e3.js} +2 -2
- package/dist/esm/{menu-toggle-util-1b366cd3.js.map → menu-toggle-util-8d0172e3.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-4b3bb757.js} +3 -3
- package/dist/esm/{overlays-75a54062.js.map → overlays-4b3bb757.js.map} +1 -1
- package/dist/esm/pos-app-generic.entry.js +1 -1
- package/dist/esm/pos-app-generic.entry.js.map +1 -1
- package/dist/esm/pos-app-rdf-document.entry.js +6 -2
- package/dist/esm/pos-app-rdf-document.entry.js.map +1 -1
- package/dist/esm/pos-container-contents.entry.js.map +1 -1
- package/dist/esm/pos-container-item.entry.js +5 -1
- package/dist/esm/pos-container-item.entry.js.map +1 -1
- package/dist/esm/pos-document.entry.js +1 -1
- package/dist/esm/pos-document.entry.js.map +1 -1
- package/dist/esm/pos-predicate.entry.js +24 -0
- package/dist/esm/pos-predicate.entry.js.map +1 -0
- package/dist/esm/pos-relations_2.entry.js +2 -2
- package/dist/esm/pos-relations_2.entry.js.map +1 -1
- package/dist/esm/pos-subjects.entry.js +1 -1
- package/dist/esm/pos-subjects.entry.js.map +1 -1
- package/dist/esm/{refresher.utils-b1770bf3.js → refresher.utils-0e6b5f97.js} +3 -3
- package/dist/esm/{refresher.utils-b1770bf3.js.map → refresher.utils-0e6b5f97.js.map} +1 -1
- package/dist/esm/{status-tap-e14d7459.js → status-tap-e90a7a0d.js} +3 -3
- package/dist/esm/{status-tap-e14d7459.js.map → status-tap-e90a7a0d.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.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/input.js +0 -570
- package/dist/components/input.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.map +0 -1
- 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-7a563988.js +0 -5
- package/dist/elements/p-8206b1f1.js +0 -6
- 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-c2690129.js +0 -5
- package/dist/elements/p-ca453b3d.js +0 -8
- 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-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/esm/ion-badge_8.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-714cb336.entry.js.map → p-00c0e726.entry.js.map} +0 -0
- /package/dist/elements/{p-34d3ff03.js.map → p-09c0b7ec.js.map} +0 -0
- /package/dist/elements/{p-0ffd76fc.entry.js.map → p-133e29f8.entry.js.map} +0 -0
- /package/dist/elements/{p-097747f2.entry.js.map → p-18e5369d.entry.js.map} +0 -0
- /package/dist/elements/{p-b25dd1f1.js.map → p-19e2dbee.js.map} +0 -0
- /package/dist/elements/{p-a9df5a3a.entry.js.map → p-1d8d3167.entry.js.map} +0 -0
- /package/dist/elements/{p-dcd16290.js.map → p-24118aa1.js.map} +0 -0
- /package/dist/elements/{p-b725d322.entry.js.map → p-25b5a86a.entry.js.map} +0 -0
- /package/dist/elements/{p-2d13e141.entry.js.map → p-27a5048e.entry.js.map} +0 -0
- /package/dist/elements/{p-2d5448aa.entry.js.map → p-2cce9f72.entry.js.map} +0 -0
- /package/dist/elements/{p-970fce25.entry.js.map → p-2d89b617.entry.js.map} +0 -0
- /package/dist/elements/{p-66812011.entry.js.map → p-2e2753e7.entry.js.map} +0 -0
- /package/dist/elements/{p-4cb77968.js.map → p-3856e0a0.js.map} +0 -0
- /package/dist/elements/{p-e04e65b9.entry.js.map → p-3bc60b5c.entry.js.map} +0 -0
- /package/dist/elements/{p-ec9d0fd2.entry.js.map → p-428e79f5.entry.js.map} +0 -0
- /package/dist/elements/{p-62a60344.entry.js.map → p-489909a3.entry.js.map} +0 -0
- /package/dist/elements/{p-c2690129.js.map → p-4c78c8c9.js.map} +0 -0
- /package/dist/elements/{p-d80f77af.entry.js.map → p-57740997.entry.js.map} +0 -0
- /package/dist/elements/{p-ec0d5d03.entry.js.map → p-58ad0789.entry.js.map} +0 -0
- /package/dist/elements/{p-b250dee1.entry.js.map → p-616c23ad.entry.js.map} +0 -0
- /package/dist/elements/{p-8b22dca0.entry.js.map → p-686bf509.entry.js.map} +0 -0
- /package/dist/elements/{p-1c44ef41.entry.js.map → p-6bc1057e.entry.js.map} +0 -0
- /package/dist/elements/{p-dcd0a40c.entry.js.map → p-7105c21a.entry.js.map} +0 -0
- /package/dist/elements/{p-25270f1a.js.map → p-71ee259b.js.map} +0 -0
- /package/dist/elements/{p-33b22cc6.entry.js.map → p-73331353.entry.js.map} +0 -0
- /package/dist/elements/{p-df24c396.entry.js.map → p-77f496ea.entry.js.map} +0 -0
- /package/dist/elements/{p-00c6a8f5.entry.js.map → p-849fec0f.entry.js.map} +0 -0
- /package/dist/elements/{p-163e3e87.js.map → p-89aef852.js.map} +0 -0
- /package/dist/elements/{p-a8afe4ef.entry.js.map → p-8c1eba2d.entry.js.map} +0 -0
- /package/dist/elements/{p-d016e7e0.entry.js.map → p-8e747572.entry.js.map} +0 -0
- /package/dist/elements/{p-ca453b3d.js.map → p-932de51e.js.map} +0 -0
- /package/dist/elements/{p-1df0edde.entry.js.map → p-93dc5bee.entry.js.map} +0 -0
- /package/dist/elements/{p-20e2e8c1.js.map → p-949b115f.js.map} +0 -0
- /package/dist/elements/{p-a3af481c.js.map → p-a03499f7.js.map} +0 -0
- /package/dist/elements/{p-d0c67d7c.entry.js.map → p-a41edaa5.entry.js.map} +0 -0
- /package/dist/elements/{p-34f376f2.entry.js.map → p-acf6cab4.entry.js.map} +0 -0
- /package/dist/elements/{p-76351ab7.entry.js.map → p-ad55e9ab.entry.js.map} +0 -0
- /package/dist/elements/{p-0cf27008.entry.js.map → p-b8363813.entry.js.map} +0 -0
- /package/dist/elements/{p-da0cfe0c.entry.js.map → p-c13052f5.entry.js.map} +0 -0
- /package/dist/elements/{p-bb3054a3.js.map → p-c191e6df.js.map} +0 -0
- /package/dist/elements/{p-b9e14ed6.entry.js.map → p-c19ba914.entry.js.map} +0 -0
- /package/dist/elements/{p-bcd11997.entry.js.map → p-c34f0243.entry.js.map} +0 -0
- /package/dist/elements/{p-7a563988.js.map → p-c452a2e9.js.map} +0 -0
- /package/dist/elements/{p-1651e9a7.entry.js.map → p-c992243d.entry.js.map} +0 -0
- /package/dist/elements/{p-592177e8.js.map → p-cbf050d6.js.map} +0 -0
- /package/dist/elements/{p-3ab4f8b6.js.map → p-cdb96cf2.js.map} +0 -0
- /package/dist/elements/{p-f7490d6e.js.map → p-d164af48.js.map} +0 -0
- /package/dist/elements/{p-4d6e48bf.js.map → p-d1e7b393.js.map} +0 -0
- /package/dist/elements/{p-6189fb02.entry.js.map → p-d7c83052.entry.js.map} +0 -0
- /package/dist/elements/{p-59feb185.js.map → p-dd97c7d1.js.map} +0 -0
- /package/dist/elements/{p-8206b1f1.js.map → p-eba70ed1.js.map} +0 -0
- /package/dist/elements/{p-ab68c761.entry.js.map → p-ef4ffce6.entry.js.map} +0 -0
- /package/dist/elements/{p-04c9fe91.entry.js.map → p-ef87f5dd.entry.js.map} +0 -0
- /package/dist/elements/{p-3e1b5fc4.entry.js.map → p-f9b993ab.entry.js.map} +0 -0
- /package/dist/elements/{p-925bb96a.entry.js.map → p-fd4ecbf1.entry.js.map} +0 -0
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, j as forceUpdate, h, H as Host, d as getElement } from './index-4fdc2561.js';
|
|
2
|
-
import { i as inheritAttributes, r as raf } from './helpers-a93a8cd2.js';
|
|
3
|
-
import { p as printIonWarning, a as printIonError } from './index-f7ac0403.js';
|
|
4
|
-
import { h as hostContext, c as createColorClasses, o as openURL } from './theme-d75c68ae.js';
|
|
5
|
-
import { i as chevronForward } from './index-9edae53a.js';
|
|
6
|
-
import { g as getIonMode } from './ionic-global-df0a32a5.js';
|
|
7
|
-
|
|
8
|
-
const itemIosCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;align-items:center;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;position:relative;align-items:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;transition:var(--transition);z-index:-1}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);box-shadow:var(--inner-box-shadow);overflow:inherit;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:flex;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){flex:1;width:min-content;max-width:100%}:host(.item-input){align-items:center}.input-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:inherit;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{flex:1;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;transform:scaleX(0);transition:transform 200ms, border-bottom-width 200ms;z-index:2;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}";
|
|
9
|
-
const IonItemIosStyle0 = itemIosCss;
|
|
10
|
-
|
|
11
|
-
const itemMdCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;align-items:center;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;position:relative;align-items:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;transition:var(--transition);z-index:-1}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);box-shadow:var(--inner-box-shadow);overflow:inherit;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:flex;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){flex:1;width:min-content;max-width:100%}:host(.item-input){align-items:center}.input-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:inherit;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{flex:1;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;transform:scaleX(0);transition:transform 200ms, border-bottom-width 200ms;z-index:2;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:1rem;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));transition:none}@supports (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{inset-inline-start:var(--position-offset)}}@supports not (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{left:var(--position-offset)}:host-context([dir=rtl]):host(.item-fill-outline) .item-highlight,:host-context([dir=rtl]).item-fill-outline .item-highlight{left:unset;right:unset;right:var(--position-offset)}@supports selector(:dir(rtl)){:host(.item-fill-outline:dir(rtl)) .item-highlight{left:unset;right:unset;right:var(--position-offset)}}}:host(.item-fill-outline.ion-focused) .item-native,:host(.item-fill-outline.item-has-focus) .item-native{border-color:transparent}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;align-self:flex-start}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.5em}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0}::slotted(.button-small){--padding-top:2px;--padding-bottom:2px;--padding-start:.6em;--padding-end:.6em;min-height:25px;font-size:0.75rem}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid.ion-color),:host(.item-fill-outline.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--background-hover:var(--ion-color-step-100, #e6e6e6);--background-focused:var(--ion-color-step-150, #d9d9d9);--border-width:0 0 1px 0;--inner-border-width:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid),:host-context([dir=rtl]).item-fill-solid{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid:dir(rtl)){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.item-fill-solid) .item-native{--border-color:var(--ion-color-step-500, gray)}:host(.item-fill-solid.ion-focused) .item-native,:host(.item-fill-solid.item-has-focus) .item-native{--background:var(--background-focused)}:host(.item-fill-solid.item-shape-round){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid.item-shape-round),:host-context([dir=rtl]).item-fill-solid.item-shape-round{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid.item-shape-round:dir(rtl)){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}}@media (any-hover: hover){:host(.item-fill-solid:hover) .item-native{--background:var(--background-hover);--border-color:var(--ion-color-step-750, #404040)}}:host(.item-fill-outline){--ripple-color:transparent;--background-focused:transparent;--background-hover:transparent;--border-color:var(--ion-color-step-500, gray);--border-width:1px;border:none;overflow:visible}:host(.item-fill-outline) .item-native{--native-padding-left:16px;border-radius:4px}:host(.item-fill-outline.item-shape-round) .item-native{--inner-padding-start:16px;border-radius:28px}:host(.item-fill-outline.item-shape-round) .item-bottom{-webkit-padding-start:32px;padding-inline-start:32px}:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-textarea:not(:first-child)){transform:translateY(-14px)}@media (any-hover: hover){:host(.item-fill-outline:hover) .item-native{--border-color:var(--ion-color-step-750, #404040)}}.item-counter{letter-spacing:0.0333333333em}";
|
|
12
|
-
const IonItemMdStyle0 = itemMdCss;
|
|
13
|
-
|
|
14
|
-
const Item = class {
|
|
15
|
-
constructor(hostRef) {
|
|
16
|
-
registerInstance(this, hostRef);
|
|
17
|
-
this.labelColorStyles = {};
|
|
18
|
-
this.itemStyles = new Map();
|
|
19
|
-
this.inheritedAriaAttributes = {};
|
|
20
|
-
this.multipleInputs = false;
|
|
21
|
-
this.focusable = true;
|
|
22
|
-
this.color = undefined;
|
|
23
|
-
this.button = false;
|
|
24
|
-
this.detail = undefined;
|
|
25
|
-
this.detailIcon = chevronForward;
|
|
26
|
-
this.disabled = false;
|
|
27
|
-
this.download = undefined;
|
|
28
|
-
this.fill = undefined;
|
|
29
|
-
this.shape = undefined;
|
|
30
|
-
this.href = undefined;
|
|
31
|
-
this.rel = undefined;
|
|
32
|
-
this.lines = undefined;
|
|
33
|
-
this.counter = false;
|
|
34
|
-
this.routerAnimation = undefined;
|
|
35
|
-
this.routerDirection = 'forward';
|
|
36
|
-
this.target = undefined;
|
|
37
|
-
this.type = 'button';
|
|
38
|
-
this.counterFormatter = undefined;
|
|
39
|
-
this.counterString = undefined;
|
|
40
|
-
}
|
|
41
|
-
buttonChanged() {
|
|
42
|
-
// Update the focusable option when the button option is changed
|
|
43
|
-
this.focusable = this.isFocusable();
|
|
44
|
-
}
|
|
45
|
-
counterFormatterChanged() {
|
|
46
|
-
this.updateCounterOutput(this.getFirstInput());
|
|
47
|
-
}
|
|
48
|
-
handleIonInput(ev) {
|
|
49
|
-
if (this.counter && ev.target === this.getFirstInput()) {
|
|
50
|
-
this.updateCounterOutput(ev.target);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
labelColorChanged(ev) {
|
|
54
|
-
const { color } = this;
|
|
55
|
-
// There will be a conflict with item color if
|
|
56
|
-
// we apply the label color to item, so we ignore
|
|
57
|
-
// the label color if the user sets a color on item
|
|
58
|
-
if (color === undefined) {
|
|
59
|
-
this.labelColorStyles = ev.detail;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
itemStyle(ev) {
|
|
63
|
-
ev.stopPropagation();
|
|
64
|
-
const tagName = ev.target.tagName;
|
|
65
|
-
const updatedStyles = ev.detail;
|
|
66
|
-
const newStyles = {};
|
|
67
|
-
const childStyles = this.itemStyles.get(tagName) || {};
|
|
68
|
-
let hasStyleChange = false;
|
|
69
|
-
Object.keys(updatedStyles).forEach((key) => {
|
|
70
|
-
if (updatedStyles[key]) {
|
|
71
|
-
const itemKey = `item-${key}`;
|
|
72
|
-
if (!childStyles[itemKey]) {
|
|
73
|
-
hasStyleChange = true;
|
|
74
|
-
}
|
|
75
|
-
newStyles[itemKey] = true;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
if (!hasStyleChange && Object.keys(newStyles).length !== Object.keys(childStyles).length) {
|
|
79
|
-
hasStyleChange = true;
|
|
80
|
-
}
|
|
81
|
-
if (hasStyleChange) {
|
|
82
|
-
this.itemStyles.set(tagName, newStyles);
|
|
83
|
-
forceUpdate(this);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
connectedCallback() {
|
|
87
|
-
if (this.counter) {
|
|
88
|
-
this.updateCounterOutput(this.getFirstInput());
|
|
89
|
-
}
|
|
90
|
-
this.hasStartEl();
|
|
91
|
-
}
|
|
92
|
-
componentWillLoad() {
|
|
93
|
-
this.inheritedAriaAttributes = inheritAttributes(this.el, ['aria-label']);
|
|
94
|
-
}
|
|
95
|
-
componentDidLoad() {
|
|
96
|
-
const { el, counter, counterFormatter, fill, shape } = this;
|
|
97
|
-
const hasHelperSlot = el.querySelector('[slot="helper"]') !== null;
|
|
98
|
-
if (hasHelperSlot) {
|
|
99
|
-
printIonWarning('The "helper" slot has been deprecated in favor of using the "helperText" property on ion-input or ion-textarea.', el);
|
|
100
|
-
}
|
|
101
|
-
const hasErrorSlot = el.querySelector('[slot="error"]') !== null;
|
|
102
|
-
if (hasErrorSlot) {
|
|
103
|
-
printIonWarning('The "error" slot has been deprecated in favor of using the "errorText" property on ion-input or ion-textarea.', el);
|
|
104
|
-
}
|
|
105
|
-
if (counter === true) {
|
|
106
|
-
printIonWarning('The "counter" property has been deprecated in favor of using the "counter" property on ion-input or ion-textarea.', el);
|
|
107
|
-
}
|
|
108
|
-
if (counterFormatter !== undefined) {
|
|
109
|
-
printIonWarning('The "counterFormatter" property has been deprecated in favor of using the "counterFormatter" property on ion-input or ion-textarea.', el);
|
|
110
|
-
}
|
|
111
|
-
if (fill !== undefined) {
|
|
112
|
-
printIonWarning('The "fill" property has been deprecated in favor of using the "fill" property on ion-input or ion-textarea.', el);
|
|
113
|
-
}
|
|
114
|
-
if (shape !== undefined) {
|
|
115
|
-
printIonWarning('The "shape" property has been deprecated in favor of using the "shape" property on ion-input or ion-textarea.', el);
|
|
116
|
-
}
|
|
117
|
-
raf(() => {
|
|
118
|
-
this.setMultipleInputs();
|
|
119
|
-
this.focusable = this.isFocusable();
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
// If the item contains multiple clickable elements and/or inputs, then the item
|
|
123
|
-
// should not have a clickable input cover over the entire item to prevent
|
|
124
|
-
// interfering with their individual click events
|
|
125
|
-
setMultipleInputs() {
|
|
126
|
-
// The following elements have a clickable cover that is relative to the entire item
|
|
127
|
-
const covers = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
|
|
128
|
-
// The following elements can accept focus alongside the previous elements
|
|
129
|
-
// therefore if these elements are also a child of item, we don't want the
|
|
130
|
-
// input cover on top of those interfering with their clicks
|
|
131
|
-
const inputs = this.el.querySelectorAll('ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle');
|
|
132
|
-
// The following elements should also stay clickable when an input with cover is present
|
|
133
|
-
const clickables = this.el.querySelectorAll('ion-anchor, ion-button, a, button');
|
|
134
|
-
// Check for multiple inputs to change the position of the input cover to relative
|
|
135
|
-
// for all of the covered inputs above
|
|
136
|
-
this.multipleInputs =
|
|
137
|
-
covers.length + inputs.length > 1 ||
|
|
138
|
-
covers.length + clickables.length > 1 ||
|
|
139
|
-
(covers.length > 0 && this.isClickable());
|
|
140
|
-
}
|
|
141
|
-
// If the item contains an input including a checkbox, datetime, select, or radio
|
|
142
|
-
// then the item will have a clickable input cover that covers the item
|
|
143
|
-
// that should get the hover, focused and activated states UNLESS it has multiple
|
|
144
|
-
// inputs, then those need to individually get each click
|
|
145
|
-
hasCover() {
|
|
146
|
-
const inputs = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
|
|
147
|
-
return inputs.length === 1 && !this.multipleInputs;
|
|
148
|
-
}
|
|
149
|
-
// If the item has an href or button property it will render a native
|
|
150
|
-
// anchor or button that is clickable
|
|
151
|
-
isClickable() {
|
|
152
|
-
return this.href !== undefined || this.button;
|
|
153
|
-
}
|
|
154
|
-
canActivate() {
|
|
155
|
-
return this.isClickable() || this.hasCover();
|
|
156
|
-
}
|
|
157
|
-
isFocusable() {
|
|
158
|
-
const focusableChild = this.el.querySelector('.ion-focusable');
|
|
159
|
-
return this.canActivate() || focusableChild !== null;
|
|
160
|
-
}
|
|
161
|
-
getFirstInput() {
|
|
162
|
-
const inputs = this.el.querySelectorAll('ion-input, ion-textarea');
|
|
163
|
-
return inputs[0];
|
|
164
|
-
}
|
|
165
|
-
updateCounterOutput(inputEl) {
|
|
166
|
-
var _a, _b;
|
|
167
|
-
const { counter, counterFormatter, defaultCounterFormatter } = this;
|
|
168
|
-
if (counter && !this.multipleInputs && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.maxlength) !== undefined) {
|
|
169
|
-
const length = (_b = (_a = inputEl === null || inputEl === void 0 ? void 0 : inputEl.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
170
|
-
if (counterFormatter === undefined) {
|
|
171
|
-
this.counterString = defaultCounterFormatter(length, inputEl.maxlength);
|
|
172
|
-
}
|
|
173
|
-
else {
|
|
174
|
-
try {
|
|
175
|
-
this.counterString = counterFormatter(length, inputEl.maxlength);
|
|
176
|
-
}
|
|
177
|
-
catch (e) {
|
|
178
|
-
printIonError('Exception in provided `counterFormatter`.', e);
|
|
179
|
-
// Fallback to the default counter formatter when an exception happens
|
|
180
|
-
this.counterString = defaultCounterFormatter(length, inputEl.maxlength);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
defaultCounterFormatter(length, maxlength) {
|
|
186
|
-
return `${length} / ${maxlength}`;
|
|
187
|
-
}
|
|
188
|
-
hasStartEl() {
|
|
189
|
-
const startEl = this.el.querySelector('[slot="start"]');
|
|
190
|
-
if (startEl !== null) {
|
|
191
|
-
this.el.classList.add('item-has-start-slot');
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
getFirstInteractive() {
|
|
195
|
-
const controls = this.el.querySelectorAll('ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled]), ion-select:not([disabled])');
|
|
196
|
-
return controls[0];
|
|
197
|
-
}
|
|
198
|
-
render() {
|
|
199
|
-
const { counterString, detail, detailIcon, download, fill, labelColorStyles, lines, disabled, href, rel, shape, target, routerAnimation, routerDirection, inheritedAriaAttributes, multipleInputs, } = this;
|
|
200
|
-
const childStyles = {};
|
|
201
|
-
const mode = getIonMode(this);
|
|
202
|
-
const clickable = this.isClickable();
|
|
203
|
-
const canActivate = this.canActivate();
|
|
204
|
-
const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
|
|
205
|
-
const attrs = TagType === 'button'
|
|
206
|
-
? { type: this.type }
|
|
207
|
-
: {
|
|
208
|
-
download,
|
|
209
|
-
href,
|
|
210
|
-
rel,
|
|
211
|
-
target,
|
|
212
|
-
};
|
|
213
|
-
let clickFn = {};
|
|
214
|
-
const firstInteractive = this.getFirstInteractive();
|
|
215
|
-
// Only set onClick if the item is clickable to prevent screen
|
|
216
|
-
// readers from reading all items as clickable
|
|
217
|
-
if (clickable || (firstInteractive !== undefined && !multipleInputs)) {
|
|
218
|
-
clickFn = {
|
|
219
|
-
onClick: (ev) => {
|
|
220
|
-
if (clickable) {
|
|
221
|
-
openURL(href, ev, routerDirection, routerAnimation);
|
|
222
|
-
}
|
|
223
|
-
if (firstInteractive !== undefined && !multipleInputs) {
|
|
224
|
-
const path = ev.composedPath();
|
|
225
|
-
const target = path[0];
|
|
226
|
-
if (ev.isTrusted) {
|
|
227
|
-
/**
|
|
228
|
-
* Dispatches a click event to the first interactive element,
|
|
229
|
-
* when it is the result of a user clicking on the item.
|
|
230
|
-
*
|
|
231
|
-
* We check if the click target is in the shadow root,
|
|
232
|
-
* which means the user clicked on the .item-native or
|
|
233
|
-
* .item-inner padding.
|
|
234
|
-
*/
|
|
235
|
-
const clickedWithinShadowRoot = this.el.shadowRoot.contains(target);
|
|
236
|
-
if (clickedWithinShadowRoot) {
|
|
237
|
-
firstInteractive.click();
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
const showDetail = detail !== undefined ? detail : mode === 'ios' && clickable;
|
|
245
|
-
this.itemStyles.forEach((value) => {
|
|
246
|
-
Object.assign(childStyles, value);
|
|
247
|
-
});
|
|
248
|
-
const ariaDisabled = disabled || childStyles['item-interactive-disabled'] ? 'true' : null;
|
|
249
|
-
const fillValue = fill || 'none';
|
|
250
|
-
const inList = hostContext('ion-list', this.el) && !hostContext('ion-radio-group', this.el);
|
|
251
|
-
return (h(Host, { key: '077c9ab04985292f79c30691151d2778a26285fb', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses(this.color, {
|
|
252
|
-
item: true,
|
|
253
|
-
[mode]: true,
|
|
254
|
-
'item-lines-default': lines === undefined,
|
|
255
|
-
[`item-lines-${lines}`]: lines !== undefined,
|
|
256
|
-
[`item-fill-${fillValue}`]: true,
|
|
257
|
-
[`item-shape-${shape}`]: shape !== undefined,
|
|
258
|
-
'item-has-interactive-control': firstInteractive !== undefined,
|
|
259
|
-
'item-disabled': disabled,
|
|
260
|
-
'in-list': inList,
|
|
261
|
-
'item-multiple-inputs': this.multipleInputs,
|
|
262
|
-
'ion-activatable': canActivate,
|
|
263
|
-
'ion-focusable': this.focusable,
|
|
264
|
-
'item-rtl': document.dir === 'rtl',
|
|
265
|
-
})), role: inList ? 'listitem' : null }, h(TagType, Object.assign({ key: '08bb75c85d0584e9fb7f461e9e06b9b651ef3515' }, attrs, inheritedAriaAttributes, { class: "item-native", part: "native", disabled: disabled }, clickFn), h("slot", { key: '3f742b07c4a58eadedf675be4878a3e00070750e', name: "start" }), h("div", { key: '0160b8963434f3107856a2df2fb96f1abb4fdbfe', class: "item-inner" }, h("div", { key: '9439b21474443341f06a651d7c44aef90bd4c591', class: "input-wrapper" }, h("slot", { key: '8034e1337a6c950b7725bc9aa46d55de980827bf' })), h("slot", { key: '690de6d3dd3a238ab7a2d3dfea69daa6647e5134', name: "end" }), showDetail && (h("ion-icon", { key: '6f386abbde5897fca7aabc850645986e16315213', icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward })), h("div", { key: '4bb8444a5097c032d79f2083f60429b9057e3a5c', class: "item-inner-highlight" })), canActivate && mode === 'md' && h("ion-ripple-effect", { key: '31c319e2335efbb92d7dea110a66f347764f2b44' }), h("div", { key: '0fc128b44582af7c8b542c9e346ef88e40fea148', class: "item-highlight" })), h("div", { key: '7b84c0a74d148a7fa6af449b6bd06bb45530edf5', class: "item-bottom" }, h("slot", { key: '97563a615efd81b21014c41a25989c71ba3ae2cd', name: "error" }), h("slot", { key: 'd84a4bb21ed3f13af82f78104ffb06d2b079738e', name: "helper" }), counterString && h("ion-note", { key: '34eaa7798c50d2f88afca0dcb1278df05a1800e6', class: "item-counter" }, counterString))));
|
|
266
|
-
}
|
|
267
|
-
static get delegatesFocus() { return true; }
|
|
268
|
-
get el() { return getElement(this); }
|
|
269
|
-
static get watchers() { return {
|
|
270
|
-
"button": ["buttonChanged"],
|
|
271
|
-
"counterFormatter": ["counterFormatterChanged"]
|
|
272
|
-
}; }
|
|
273
|
-
};
|
|
274
|
-
Item.style = {
|
|
275
|
-
ios: IonItemIosStyle0,
|
|
276
|
-
md: IonItemMdStyle0
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
const noteIosCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6);font-size:max(14px, 1rem)}";
|
|
280
|
-
const IonNoteIosStyle0 = noteIosCss;
|
|
281
|
-
|
|
282
|
-
const noteMdCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:0.875rem}";
|
|
283
|
-
const IonNoteMdStyle0 = noteMdCss;
|
|
284
|
-
|
|
285
|
-
const Note = class {
|
|
286
|
-
constructor(hostRef) {
|
|
287
|
-
registerInstance(this, hostRef);
|
|
288
|
-
this.color = undefined;
|
|
289
|
-
}
|
|
290
|
-
render() {
|
|
291
|
-
const mode = getIonMode(this);
|
|
292
|
-
return (h(Host, { key: '79a17a318ec6e8326c9741b4a9bb4598acdc225e', class: createColorClasses(this.color, {
|
|
293
|
-
[mode]: true,
|
|
294
|
-
}) }, h("slot", { key: '5adeaccfabb4bee7b84ea5c5de804bd255b29255' })));
|
|
295
|
-
}
|
|
296
|
-
};
|
|
297
|
-
Note.style = {
|
|
298
|
-
ios: IonNoteIosStyle0,
|
|
299
|
-
md: IonNoteMdStyle0
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
export { Item as ion_item, Note as ion_note };
|
|
303
|
-
|
|
304
|
-
//# sourceMappingURL=ion-item_2.entry.js.map
|