@ionic/core 7.5.4-dev.11699031793.11a4baba → 7.5.4-dev.11699282935.1db450b0
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/components/ion-header.js +1 -1
- package/components/item.js +2 -2
- package/components/list.js +2 -2
- package/dist/cjs/{app-globals-d1892126.js → app-globals-ef077808.js} +1 -1
- package/dist/cjs/{button-active-e93ab34d.js → button-active-625d1d77.js} +1 -1
- package/dist/cjs/{index-84c4c696.js → index-135a6097.js} +3 -3
- package/dist/cjs/{index-4323b635.js → index-3659e3a5.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +5 -5
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{ionic-global-91f1f8f2.js → ionic-global-4538d91c.js} +1 -1
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/{ios.transition-facbe500.js → ios.transition-b71990aa.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-0a7d53f1.js → md.transition-3caa648a.js} +2 -2
- package/dist/cjs/{overlays-91bb8ff7.js → overlays-6d1daf80.js} +1 -1
- package/dist/cjs/{status-tap-a9d8edcf.js → status-tap-2e9f9c86.js} +1 -1
- package/dist/collection/components/header/header.ios.css +3 -1
- package/dist/collection/components/icon/test/dir/heart-broken.svg +0 -0
- package/dist/collection/components/item/item.ios.css +60 -12
- package/dist/collection/components/item/item.md.css +60 -12
- package/dist/collection/components/item/test/basic/item.e2e.js +26 -0
- package/dist/collection/components/item/test/icons/heart-broken.svg +0 -0
- package/dist/collection/components/list/list.ios.css +15 -1
- package/dist/collection/components/list/list.md.css +41 -3
- package/dist/collection/components/list/test/lines/list.e2e.js +143 -0
- package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +5 -0
- package/dist/docs.json +1 -1
- package/dist/esm/{app-globals-8d413354.js → app-globals-ba8b3a06.js} +1 -1
- package/dist/esm/{button-active-c7a04c9a.js → button-active-1fb561b0.js} +1 -1
- package/dist/esm/{index-e2052f20.js → index-056b43e7.js} +1 -1
- package/dist/esm/{index-d62333a6.js → index-47a510cf.js} +3 -3
- package/dist/esm/index.js +7 -7
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +5 -5
- package/dist/esm/ion-avatar_3.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-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +3 -3
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +7 -7
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-internal.entry.js +2 -2
- package/dist/esm/ion-picker-internal.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +4 -4
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +4 -4
- 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_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/{ionic-global-8673c5ce.js → ionic-global-7efdecd0.js} +1 -1
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-2fdb6f26.js → ios.transition-b53e19a3.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-6f8b3cd0.js → md.transition-276c1159.js} +2 -2
- package/dist/esm/{overlays-d4c45da6.js → overlays-928a4afe.js} +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{status-tap-71db1a8f.js → status-tap-7ca28a1c.js} +1 -1
- package/dist/esm-es5/app-globals-ba8b3a06.js +4 -0
- package/dist/esm-es5/{button-active-c7a04c9a.js → button-active-1fb561b0.js} +1 -1
- package/dist/esm-es5/{index-e2052f20.js → index-056b43e7.js} +1 -1
- package/dist/esm-es5/{index-d62333a6.js → index-47a510cf.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-8673c5ce.js → ionic-global-7efdecd0.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-2fdb6f26.js → ios.transition-b53e19a3.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-6f8b3cd0.js → md.transition-276c1159.js} +1 -1
- package/dist/esm-es5/{overlays-d4c45da6.js → overlays-928a4afe.js} +1 -1
- package/dist/esm-es5/{status-tap-71db1a8f.js → status-tap-7ca28a1c.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-793625e5.system.entry.js → p-00a10b94.system.entry.js} +1 -1
- package/dist/ionic/{p-1e87e3fb.system.js → p-0148306b.system.js} +1 -1
- package/dist/ionic/{p-c096895d.system.js → p-02663394.system.js} +1 -1
- package/dist/ionic/{p-d1ac0094.entry.js → p-03a36678.entry.js} +1 -1
- package/dist/ionic/{p-843fe6e3.entry.js → p-0816f061.entry.js} +1 -1
- package/dist/ionic/{p-664cb3ad.system.entry.js → p-084413f2.system.entry.js} +1 -1
- package/dist/ionic/{p-55a8f9a3.entry.js → p-09ec6b90.entry.js} +1 -1
- package/dist/ionic/{p-c87d155e.entry.js → p-0e7712cb.entry.js} +1 -1
- package/dist/ionic/{p-44723fa5.entry.js → p-0e8335b9.entry.js} +1 -1
- package/dist/ionic/{p-ef0d410f.entry.js → p-12d62aa9.entry.js} +1 -1
- package/dist/ionic/{p-d9c86724.system.entry.js → p-152998a6.system.entry.js} +1 -1
- package/dist/ionic/{p-1acd1607.system.entry.js → p-15512a5e.system.entry.js} +1 -1
- package/dist/ionic/{p-c2af8468.system.entry.js → p-1589d649.system.entry.js} +2 -2
- package/dist/ionic/{p-ecbc7728.system.entry.js → p-16b94c87.system.entry.js} +1 -1
- package/dist/ionic/{p-4c724478.entry.js → p-17ebfee6.entry.js} +1 -1
- package/dist/ionic/{p-93a2c76b.entry.js → p-18532ed6.entry.js} +1 -1
- package/dist/ionic/{p-cc68ad40.system.js → p-1a1fcc8b.system.js} +1 -1
- package/dist/ionic/{p-c3b62be8.system.entry.js → p-1ad8ddc1.system.entry.js} +1 -1
- package/dist/ionic/{p-076e622f.system.entry.js → p-1b5b6845.system.entry.js} +1 -1
- package/dist/ionic/{p-2954d245.system.entry.js → p-20ff4d7f.system.entry.js} +1 -1
- package/dist/ionic/{p-b95cc39b.entry.js → p-25b8d65c.entry.js} +1 -1
- package/dist/ionic/{p-6a61d423.system.entry.js → p-27923249.system.entry.js} +1 -1
- package/dist/ionic/{p-5916b355.system.entry.js → p-28acf48d.system.entry.js} +1 -1
- package/dist/ionic/{p-6008efa0.entry.js → p-2d86b19a.entry.js} +1 -1
- package/dist/ionic/{p-a134a81b.system.entry.js → p-30d6fb24.system.entry.js} +1 -1
- package/dist/ionic/{p-1289df52.entry.js → p-33986d02.entry.js} +1 -1
- package/dist/ionic/{p-14be0381.system.entry.js → p-35e25602.system.entry.js} +1 -1
- package/dist/ionic/{p-f323209c.system.entry.js → p-3e1deb37.system.entry.js} +1 -1
- package/dist/ionic/{p-b977b57a.js → p-3e8d7ed8.js} +1 -1
- package/dist/ionic/{p-b4085a03.system.entry.js → p-400a78f3.system.entry.js} +1 -1
- package/dist/ionic/{p-c75422d5.entry.js → p-40762835.entry.js} +1 -1
- package/dist/ionic/{p-0993782a.system.entry.js → p-40c0c580.system.entry.js} +1 -1
- package/dist/ionic/p-40dd5937.system.js +4 -0
- package/dist/ionic/{p-da6b2907.entry.js → p-4430713b.entry.js} +1 -1
- package/dist/ionic/{p-d37d3ebc.system.entry.js → p-4eb8645b.system.entry.js} +1 -1
- package/dist/ionic/{p-40f5a803.entry.js → p-510bc27b.entry.js} +1 -1
- package/dist/ionic/{p-9c933855.system.entry.js → p-51b94085.system.entry.js} +1 -1
- package/dist/ionic/{p-f33808d4.entry.js → p-565d1dc5.entry.js} +1 -1
- package/dist/ionic/{p-08dcf03a.entry.js → p-59f491c5.entry.js} +1 -1
- package/dist/ionic/{p-8f518e79.entry.js → p-5a7df436.entry.js} +1 -1
- package/dist/ionic/{p-4639874e.system.js → p-5b978c94.system.js} +2 -2
- package/dist/ionic/{p-ae2e4e30.system.entry.js → p-5c7107b4.system.entry.js} +1 -1
- package/dist/ionic/p-5f4c4347.system.entry.js +4 -0
- package/dist/ionic/{p-cbe7738f.entry.js → p-5feb31c6.entry.js} +1 -1
- package/dist/ionic/{p-959e7a7a.js → p-60f25049.js} +1 -1
- package/dist/ionic/{p-3878d22f.system.entry.js → p-60f55715.system.entry.js} +1 -1
- package/dist/ionic/p-647fcea8.entry.js +4 -0
- package/dist/ionic/{p-38fbf9f5.system.entry.js → p-677a233c.system.entry.js} +1 -1
- package/dist/ionic/{p-cd1c8ab2.entry.js → p-6825ff8d.entry.js} +1 -1
- package/dist/ionic/{p-7fd77f56.system.entry.js → p-696c63fb.system.entry.js} +1 -1
- package/dist/ionic/{p-f2743f0f.system.entry.js → p-6abde4f1.system.entry.js} +1 -1
- package/dist/ionic/p-6dc21cd1.system.entry.js +4 -0
- package/dist/ionic/{p-3299adbf.system.entry.js → p-70bf6086.system.entry.js} +1 -1
- package/dist/ionic/p-7ac30f6a.entry.js +4 -0
- package/dist/ionic/{p-8c63eccf.system.js → p-7d3be70f.system.js} +1 -1
- package/dist/ionic/{p-ce62bf2c.system.entry.js → p-7dafac2c.system.entry.js} +1 -1
- package/dist/ionic/{p-6e4225ed.entry.js → p-80baef4f.entry.js} +1 -1
- package/dist/ionic/{p-287d76e0.entry.js → p-82c503f7.entry.js} +1 -1
- package/dist/ionic/{p-889118cf.system.entry.js → p-8704e922.system.entry.js} +1 -1
- package/dist/ionic/{p-7e6cf80c.entry.js → p-89703003.entry.js} +1 -1
- package/dist/ionic/{p-10a2ab8c.system.entry.js → p-8a9760f7.system.entry.js} +1 -1
- package/dist/ionic/{p-b1200f55.entry.js → p-8be2b964.entry.js} +1 -1
- package/dist/ionic/{p-3d074f21.system.js → p-8cc04bea.system.js} +1 -1
- package/dist/ionic/{p-5504ca9b.system.js → p-940a581d.system.js} +1 -1
- package/dist/ionic/{p-a30595f3.system.entry.js → p-9bb21465.system.entry.js} +1 -1
- package/dist/ionic/{p-3b3046e8.system.js → p-a07cd4aa.system.js} +1 -1
- package/dist/ionic/{p-8bda8767.js → p-a2200630.js} +1 -1
- package/dist/ionic/{p-1df460d5.system.entry.js → p-a3434028.system.entry.js} +1 -1
- package/dist/ionic/{p-f30dabf4.entry.js → p-a3545dad.entry.js} +1 -1
- package/dist/ionic/{p-31589ed7.entry.js → p-a5b3aa82.entry.js} +1 -1
- package/dist/ionic/{p-cd3a87bd.system.entry.js → p-a6880f79.system.entry.js} +1 -1
- package/dist/ionic/{p-e23c3d22.entry.js → p-a843f88e.entry.js} +1 -1
- package/dist/ionic/p-a8e2b2b0.js +4 -0
- package/dist/ionic/{p-a3b6e1b2.entry.js → p-aa310f38.entry.js} +1 -1
- package/dist/ionic/{p-f47f2024.entry.js → p-ae590bcd.entry.js} +1 -1
- package/dist/ionic/{p-153ea88b.system.entry.js → p-af589369.system.entry.js} +1 -1
- package/dist/ionic/{p-ad227931.system.js → p-b1075d53.system.js} +1 -1
- package/dist/ionic/{p-d59f70db.entry.js → p-b3d50a72.entry.js} +1 -1
- package/dist/ionic/p-b6be9a42.system.js +4 -0
- package/dist/ionic/{p-f3d770d2.entry.js → p-bc6e32d2.entry.js} +1 -1
- package/dist/ionic/{p-5b9cb91d.system.entry.js → p-bedc16f0.system.entry.js} +1 -1
- package/dist/ionic/{p-0335e66c.entry.js → p-bf3396e1.entry.js} +1 -1
- package/dist/ionic/{p-8c44e074.system.entry.js → p-bf731526.system.entry.js} +1 -1
- package/dist/ionic/{p-9da6eef4.entry.js → p-c2e199ac.entry.js} +1 -1
- package/dist/ionic/p-c3278d57.js +4 -0
- package/dist/ionic/{p-952c64ea.entry.js → p-c4381a06.entry.js} +1 -1
- package/dist/ionic/p-c6e9ffd6.js +4 -0
- package/dist/ionic/{p-7eaa28eb.system.entry.js → p-c7138053.system.entry.js} +1 -1
- package/dist/ionic/{p-0d8e9076.system.entry.js → p-cbbefe72.system.entry.js} +1 -1
- package/dist/ionic/{p-fc758470.entry.js → p-d2de097b.entry.js} +1 -1
- package/dist/ionic/{p-a7c33806.entry.js → p-d3278cb8.entry.js} +1 -1
- package/dist/ionic/{p-091702af.system.entry.js → p-d40d3245.system.entry.js} +1 -1
- package/dist/ionic/{p-910c1904.system.entry.js → p-d6c6b195.system.entry.js} +1 -1
- package/dist/ionic/{p-bd946be0.entry.js → p-d73eb00e.entry.js} +1 -1
- package/dist/ionic/{p-c5106edf.entry.js → p-da3e5259.entry.js} +1 -1
- package/dist/ionic/{p-9e4bb700.entry.js → p-daf71560.entry.js} +1 -1
- package/dist/ionic/{p-88cfa8f1.system.entry.js → p-dbc066cd.system.entry.js} +1 -1
- package/dist/ionic/p-df9d7fe1.entry.js +4 -0
- package/dist/ionic/{p-d0c701d0.system.entry.js → p-e1e64156.system.entry.js} +1 -1
- package/dist/ionic/{p-176a386b.system.entry.js → p-e4d66e2d.system.entry.js} +1 -1
- package/dist/ionic/{p-094dbfa5.entry.js → p-e53f2605.entry.js} +1 -1
- package/dist/ionic/{p-51086b36.system.entry.js → p-e96da585.system.entry.js} +1 -1
- package/dist/ionic/{p-8708a93c.entry.js → p-eb5283b6.entry.js} +1 -1
- package/dist/ionic/{p-ce9bf0ed.entry.js → p-ebdaf11b.entry.js} +1 -1
- package/dist/ionic/{p-202654b4.system.entry.js → p-ec8347e0.system.entry.js} +1 -1
- package/dist/ionic/{p-1b16c2ef.system.entry.js → p-eec1aa12.system.entry.js} +1 -1
- package/dist/ionic/{p-0f23c3a5.entry.js → p-f2ad4b10.entry.js} +1 -1
- package/dist/ionic/p-f4ccdc77.js +4 -0
- package/dist/ionic/{p-4d06fd5b.entry.js → p-f6d089a7.entry.js} +1 -1
- package/dist/ionic/{p-da26ba41.js → p-f87219d2.js} +1 -1
- package/dist/ionic/{p-d27ade6f.system.entry.js → p-f8febce9.system.entry.js} +1 -1
- package/dist/ionic/{p-4f91b9c6.js → p-fb10190f.js} +1 -1
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +144 -0
- package/dist/types/utils/test/playwright/page/utils/goto.d.ts +1 -1
- package/hydrate/index.js +5 -5
- package/package.json +30 -31
- package/dist/esm-es5/app-globals-8d413354.js +0 -4
- package/dist/ionic/p-02863edb.system.js +0 -4
- package/dist/ionic/p-0f4f11eb.entry.js +0 -4
- package/dist/ionic/p-2ac243b7.entry.js +0 -4
- package/dist/ionic/p-3daa6ecf.js +0 -4
- package/dist/ionic/p-8d9c5be5.system.entry.js +0 -4
- package/dist/ionic/p-94154db4.js +0 -4
- package/dist/ionic/p-9c7a56f0.entry.js +0 -4
- package/dist/ionic/p-a809a205.js +0 -4
- package/dist/ionic/p-d05b431a.system.entry.js +0 -4
- package/dist/ionic/p-dee844d7.js +0 -4
- package/dist/ionic/p-f9336ef9.system.js +0 -4
- /package/dist/cjs/{index-677c4d13.js → index-09471526.js} +0 -0
- /package/dist/cjs/{index-53026db1.js → index-73186843.js} +0 -0
- /package/dist/esm/{index-8eb0239b.js → index-4392ebcb.js} +0 -0
- /package/dist/esm/{index-4d016006.js → index-c132c5f1.js} +0 -0
- /package/dist/esm-es5/{index-8eb0239b.js → index-4392ebcb.js} +0 -0
- /package/dist/esm-es5/{index-4d016006.js → index-c132c5f1.js} +0 -0
- /package/dist/ionic/{p-0c55ffe1.system.js → p-8050b9b9.system.js} +0 -0
- /package/dist/ionic/{p-2814c8e5.system.js → p-dab42c1b.system.js} +0 -0
- /package/dist/ionic/{p-e90d610c.js → p-ea96fa73.js} +0 -0
- /package/dist/ionic/{p-8a40746c.js → p-f5e886cd.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function o(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):a(e.value).then(o,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(r=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];a=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-2814c8e5.system.js","./p-3d726a67.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-44bc8b45.system.js","./p-1e87e3fb.system.js"],(function(e){"use strict";var t,i,r,a,n,o,s,l,d,c,p,h,m,f;return{setters:[function(e){t=e.r;i=e.d;r=e.h;a=e.H;n=e.f},function(e){o=e.c},function(e){s=e.a;l=e.b;d=e.e;c=e.d},function(e){p=e.p},function(e){h=e.h;m=e.c},function(e){f=e.b}],execute:function(){var b=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var u=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-12px}}}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var g=e("ion_radio",function(){function e(e){var r=this;t(this,e);this.ionStyle=i(this,"ionStyle",7);this.ionFocus=i(this,"ionFocus",7);this.ionBlur=i(this,"ionBlur",7);this.inputId="ion-rb-".concat(x++);this.radioGroup=null;this.hasLoggedDeprecationWarning=false;this.updateState=function(){if(r.radioGroup){r.checked=r.radioGroup.value===r.value}};this.onClick=function(){var e=r,t=e.radioGroup,i=e.checked,a=e.disabled;if(a){return}if(r.legacyFormController.hasLegacyControl()){r.checked=r.nativeInput.checked;return}if(i&&(t===null||t===void 0?void 0:t.allowEmptySelection)){r.checked=false}else{r.checked=true}};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.ionBlur.emit()};this.checked=false;this.buttonTabindex=-1;this.color=undefined;this.name=this.inputId;this.disabled=false;this.value=undefined;this.labelPlacement="start";this.legacy=undefined;this.justify="space-between";this.alignment="center"}e.prototype.valueChanged=function(){this.updateState()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){e.stopPropagation();e.preventDefault();this.el.focus();return[2]}))}))};e.prototype.setButtonTabindex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonTabindex=e;return[2]}))}))};e.prototype.connectedCallback=function(){this.legacyFormController=o(this.el);if(this.value===undefined){this.value=this.inputId}var e=this.radioGroup=this.el.closest("ion-radio-group");if(e){this.updateState();s(e,"ionValueChange",this.updateState)}};e.prototype.disconnectedCallback=function(){var e=this.radioGroup;if(e){l(e,"ionValueChange",this.updateState);this.radioGroup=null}};e.prototype.componentWillLoad=function(){this.emitStyle()};e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.emitStyle=function(){var e={"interactive-disabled":this.disabled};if(this.legacyFormController.hasLegacyControl()){e["radio-checked"]=this.checked}this.ionStyle.emit(e)};Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});e.prototype.renderRadioControl=function(){return r("div",{class:"radio-icon",part:"container"},r("div",{class:"radio-inner",part:"mark"}),r("div",{class:"radio-ripple"}))};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()};e.prototype.renderRadio=function(){var e;var t=this,i=t.checked,n=t.disabled,o=t.color,s=t.el,l=t.justify,d=t.labelPlacement,c=t.hasLabel,p=t.buttonTabindex,b=t.alignment;var u=f(this);var g=h("ion-item",s);return r(a,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:m(o,(e={},e[u]=true,e["in-item"]=g,e["radio-checked"]=i,e["radio-disabled"]=n,e["radio-justify-".concat(l)]=true,e["radio-alignment-".concat(b)]=true,e["radio-label-placement-".concat(d)]=true,e["ion-activatable"]=!g,e["ion-focusable"]=!g,e)),role:"radio","aria-checked":i?"true":"false","aria-disabled":n?"true":null,tabindex:p},r("label",{class:"radio-wrapper"},r("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!c}},r("slot",null)),r("div",{class:"native-wrapper"},this.renderRadioControl())))};e.prototype.renderLegacyRadio=function(){var e;var t=this;if(!this.hasLoggedDeprecationWarning){p('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-radio>Option Label</ion-radio>\nExample with aria-label: <ion-radio aria-label="Option Label"></ion-radio>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){p('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var i=this,n=i.inputId,o=i.disabled,s=i.checked,l=i.color,c=i.el,b=i.buttonTabindex;var u=f(this);var g=d(c,n),x=g.label,w=g.labelId,y=g.labelText;return r(a,{"aria-checked":"".concat(s),"aria-hidden":o?"true":null,"aria-labelledby":x?w:null,role:"radio",tabindex:b,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:m(l,(e={},e[u]=true,e["in-item"]=h("ion-item",c),e.interactive=true,e["radio-checked"]=s,e["radio-disabled"]=o,e["legacy-radio"]=true,e))},this.renderRadioControl(),r("label",{htmlFor:n},y),r("input",{type:"radio",checked:s,disabled:o,tabindex:"-1",id:n,ref:function(e){return t.nativeInput=e}}))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return e}());var x=0;g.style={ios:b,md:u};var w=e("ion_radio_group",function(){function e(e){var r=this;t(this,e);this.ionChange=i(this,"ionChange",7);this.ionValueChange=i(this,"ionValueChange",7);this.inputId="ion-rg-".concat(y++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(e){var t=r.getRadios();var i=t.find((function(e){return!e.disabled}));var a=t.find((function(t){return t.value===e&&!t.disabled}));if(!i&&!a){return}var n=a||i;for(var o=0,s=t;o<s.length;o++){var l=s[o];var d=l===n?0:-1;l.setButtonTabindex(d)}};this.onClick=function(e){e.preventDefault();var t=e.target&&e.target.closest("ion-radio");if(t&&t.disabled===false){var i=r.value;var a=t.value;if(a!==i){r.value=a;r.emitValueChange(e)}else if(r.allowEmptySelection){r.value=undefined;r.emitValueChange(e)}}};this.allowEmptySelection=false;this.name=this.inputId;this.value=undefined}e.prototype.valueChanged=function(e){this.setRadioTabindex(e);this.ionValueChange.emit({value:e})};e.prototype.componentDidLoad=function(){this.setRadioTabindex(this.value)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){t=this.label=e.querySelector("ion-label");if(t){this.labelId=t.id=this.name+"-lbl"}}return[2]}))}))};e.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};e.prototype.emitValueChange=function(e){var t=this.value;this.ionChange.emit({value:t,event:e})};e.prototype.onKeydown=function(e){var t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target)){return}var i=this.getRadios().filter((function(e){return!e.disabled}));if(e.target&&i.includes(e.target)){var r=i.findIndex((function(t){return t===e.target}));var a=i[r];var n=void 0;if(["ArrowDown","ArrowRight"].includes(e.key)){n=r===i.length-1?i[0]:i[r+1]}if(["ArrowUp","ArrowLeft"].includes(e.key)){n=r===0?i[i.length-1]:i[r-1]}if(n&&i.includes(n)){n.setFocus(e);if(!t){this.value=n.value;this.emitValueChange(e)}}if([" "].includes(e.key)){var o=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(o!==this.value||this.allowEmptySelection){this.emitValueChange(e)}e.preventDefault()}}};e.prototype.render=function(){var e=this,t=e.label,i=e.labelId,n=e.el,o=e.name,s=e.value;var l=f(this);c(true,n,o,s,false);return r(a,{role:"radiogroup","aria-labelledby":t?i:null,onClick:this.onClick,class:l})};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var y=0}}}));
|
|
4
|
+
*/System.register(["./p-dab42c1b.system.js","./p-3d726a67.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-44bc8b45.system.js","./p-0148306b.system.js"],(function(e){"use strict";var t,i,r,a,n,o,s,l,d,c,p,h,m,f;return{setters:[function(e){t=e.r;i=e.d;r=e.h;a=e.H;n=e.f},function(e){o=e.c},function(e){s=e.a;l=e.b;d=e.e;c=e.d},function(e){p=e.p},function(e){h=e.h;m=e.c},function(e){f=e.b}],execute:function(){var b=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var u=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-12px}}}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var g=e("ion_radio",function(){function e(e){var r=this;t(this,e);this.ionStyle=i(this,"ionStyle",7);this.ionFocus=i(this,"ionFocus",7);this.ionBlur=i(this,"ionBlur",7);this.inputId="ion-rb-".concat(x++);this.radioGroup=null;this.hasLoggedDeprecationWarning=false;this.updateState=function(){if(r.radioGroup){r.checked=r.radioGroup.value===r.value}};this.onClick=function(){var e=r,t=e.radioGroup,i=e.checked,a=e.disabled;if(a){return}if(r.legacyFormController.hasLegacyControl()){r.checked=r.nativeInput.checked;return}if(i&&(t===null||t===void 0?void 0:t.allowEmptySelection)){r.checked=false}else{r.checked=true}};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.ionBlur.emit()};this.checked=false;this.buttonTabindex=-1;this.color=undefined;this.name=this.inputId;this.disabled=false;this.value=undefined;this.labelPlacement="start";this.legacy=undefined;this.justify="space-between";this.alignment="center"}e.prototype.valueChanged=function(){this.updateState()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){e.stopPropagation();e.preventDefault();this.el.focus();return[2]}))}))};e.prototype.setButtonTabindex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonTabindex=e;return[2]}))}))};e.prototype.connectedCallback=function(){this.legacyFormController=o(this.el);if(this.value===undefined){this.value=this.inputId}var e=this.radioGroup=this.el.closest("ion-radio-group");if(e){this.updateState();s(e,"ionValueChange",this.updateState)}};e.prototype.disconnectedCallback=function(){var e=this.radioGroup;if(e){l(e,"ionValueChange",this.updateState);this.radioGroup=null}};e.prototype.componentWillLoad=function(){this.emitStyle()};e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.emitStyle=function(){var e={"interactive-disabled":this.disabled};if(this.legacyFormController.hasLegacyControl()){e["radio-checked"]=this.checked}this.ionStyle.emit(e)};Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});e.prototype.renderRadioControl=function(){return r("div",{class:"radio-icon",part:"container"},r("div",{class:"radio-inner",part:"mark"}),r("div",{class:"radio-ripple"}))};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()};e.prototype.renderRadio=function(){var e;var t=this,i=t.checked,n=t.disabled,o=t.color,s=t.el,l=t.justify,d=t.labelPlacement,c=t.hasLabel,p=t.buttonTabindex,b=t.alignment;var u=f(this);var g=h("ion-item",s);return r(a,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:m(o,(e={},e[u]=true,e["in-item"]=g,e["radio-checked"]=i,e["radio-disabled"]=n,e["radio-justify-".concat(l)]=true,e["radio-alignment-".concat(b)]=true,e["radio-label-placement-".concat(d)]=true,e["ion-activatable"]=!g,e["ion-focusable"]=!g,e)),role:"radio","aria-checked":i?"true":"false","aria-disabled":n?"true":null,tabindex:p},r("label",{class:"radio-wrapper"},r("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!c}},r("slot",null)),r("div",{class:"native-wrapper"},this.renderRadioControl())))};e.prototype.renderLegacyRadio=function(){var e;var t=this;if(!this.hasLoggedDeprecationWarning){p('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-radio>Option Label</ion-radio>\nExample with aria-label: <ion-radio aria-label="Option Label"></ion-radio>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){p('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var i=this,n=i.inputId,o=i.disabled,s=i.checked,l=i.color,c=i.el,b=i.buttonTabindex;var u=f(this);var g=d(c,n),x=g.label,w=g.labelId,y=g.labelText;return r(a,{"aria-checked":"".concat(s),"aria-hidden":o?"true":null,"aria-labelledby":x?w:null,role:"radio",tabindex:b,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:m(l,(e={},e[u]=true,e["in-item"]=h("ion-item",c),e.interactive=true,e["radio-checked"]=s,e["radio-disabled"]=o,e["legacy-radio"]=true,e))},this.renderRadioControl(),r("label",{htmlFor:n},y),r("input",{type:"radio",checked:s,disabled:o,tabindex:"-1",id:n,ref:function(e){return t.nativeInput=e}}))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return e}());var x=0;g.style={ios:b,md:u};var w=e("ion_radio_group",function(){function e(e){var r=this;t(this,e);this.ionChange=i(this,"ionChange",7);this.ionValueChange=i(this,"ionValueChange",7);this.inputId="ion-rg-".concat(y++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(e){var t=r.getRadios();var i=t.find((function(e){return!e.disabled}));var a=t.find((function(t){return t.value===e&&!t.disabled}));if(!i&&!a){return}var n=a||i;for(var o=0,s=t;o<s.length;o++){var l=s[o];var d=l===n?0:-1;l.setButtonTabindex(d)}};this.onClick=function(e){e.preventDefault();var t=e.target&&e.target.closest("ion-radio");if(t&&t.disabled===false){var i=r.value;var a=t.value;if(a!==i){r.value=a;r.emitValueChange(e)}else if(r.allowEmptySelection){r.value=undefined;r.emitValueChange(e)}}};this.allowEmptySelection=false;this.name=this.inputId;this.value=undefined}e.prototype.valueChanged=function(e){this.setRadioTabindex(e);this.ionValueChange.emit({value:e})};e.prototype.componentDidLoad=function(){this.setRadioTabindex(this.value)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){t=this.label=e.querySelector("ion-label");if(t){this.labelId=t.id=this.name+"-lbl"}}return[2]}))}))};e.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};e.prototype.emitValueChange=function(e){var t=this.value;this.ionChange.emit({value:t,event:e})};e.prototype.onKeydown=function(e){var t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target)){return}var i=this.getRadios().filter((function(e){return!e.disabled}));if(e.target&&i.includes(e.target)){var r=i.findIndex((function(t){return t===e.target}));var a=i[r];var n=void 0;if(["ArrowDown","ArrowRight"].includes(e.key)){n=r===i.length-1?i[0]:i[r+1]}if(["ArrowUp","ArrowLeft"].includes(e.key)){n=r===0?i[i.length-1]:i[r-1]}if(n&&i.includes(n)){n.setFocus(e);if(!t){this.value=n.value;this.emitValueChange(e)}}if([" "].includes(e.key)){var o=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(o!==this.value||this.allowEmptySelection){this.emitValueChange(e)}e.preventDefault()}}};e.prototype.render=function(){var e=this,t=e.label,i=e.labelId,n=e.el,o=e.name,s=e.value;var l=f(this);c(true,n,o,s,false);return r(a,{role:"radiogroup","aria-labelledby":t?i:null,onClick:this.onClick,class:l})};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var y=0}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-2814c8e5.system.js","./p-815c2fba.system.js","./p-44bc8b45.system.js","./p-1e87e3fb.system.js"],(function(t){"use strict";var o,i,r,n,e,a,s,d;return{setters:[function(t){o=t.r;i=t.h;r=t.H;n=t.f},function(t){e=t.k},function(t){a=t.o;s=t.c},function(t){d=t.b}],execute:function(){var c=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{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-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}";var l=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{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-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}";var p=t("ion_card",function(){function t(t){o(this,t);this.inheritedAriaAttributes={};this.color=undefined;this.button=false;this.type="button";this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}t.prototype.componentWillLoad=function(){this.inheritedAriaAttributes=e(this.el,["aria-label"])};t.prototype.isClickable=function(){return this.href!==undefined||this.button};t.prototype.renderCard=function(t){var o=this.isClickable();if(!o){return[i("slot",null)]}var r=this,n=r.href,e=r.routerAnimation,s=r.routerDirection,d=r.inheritedAriaAttributes;var c=o?n===undefined?"button":"a":"div";var l=c==="button"?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return i(c,Object.assign({},l,d,{class:"card-native",part:"native",disabled:this.disabled,onClick:function(t){return a(n,t,s,e)}}),i("slot",null),o&&t==="md"&&i("ion-ripple-effect",null))};t.prototype.render=function(){var t;var o=d(this);return i(r,{class:s(this.color,(t={},t[o]=true,t["card-disabled"]=this.disabled,t["ion-activatable"]=this.isClickable(),t))},this.renderCard(o))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());p.style={ios:c,md:l};var g="ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}";var h="ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}";var m=t("ion_card_content",function(){function t(t){o(this,t)}t.prototype.render=function(){var t;var o=d(this);return i(r,{class:(t={},t[o]=true,t["card-content-".concat(o)]=true,t)})};return t}());m.style={ios:g,md:h};var b=":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}";var f=":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}";var u=t("ion_card_header",function(){function t(t){o(this,t);this.color=undefined;this.translucent=false}t.prototype.render=function(){var t;var o=d(this);return i(r,{class:s(this.color,(t={"card-header-translucent":this.translucent,"ion-inherit-color":true},t[o]=true,t))},i("slot",null))};return t}());u.style={ios:b,md:f};var v=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.75rem;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}";var x=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.875rem;font-weight:500}";var k=t("ion_card_subtitle",function(){function t(t){o(this,t);this.color=undefined}t.prototype.render=function(){var t;var o=d(this);return i(r,{role:"heading","aria-level":"3",class:s(this.color,(t={"ion-inherit-color":true},t[o]=true,t))},i("slot",null))};return t}());k.style={ios:v,md:x};var w=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}";var y=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}";var z=t("ion_card_title",function(){function t(t){o(this,t);this.color=undefined}t.prototype.render=function(){var t;var o=d(this);return i(r,{role:"heading","aria-level":"2",class:s(this.color,(t={"ion-inherit-color":true},t[o]=true,t))},i("slot",null))};return t}());z.style={ios:w,md:y}}}}));
|
|
4
|
+
System.register(["./p-dab42c1b.system.js","./p-815c2fba.system.js","./p-44bc8b45.system.js","./p-0148306b.system.js"],(function(t){"use strict";var o,i,r,n,e,a,s,d;return{setters:[function(t){o=t.r;i=t.h;r=t.H;n=t.f},function(t){e=t.k},function(t){a=t.o;s=t.c},function(t){d=t.b}],execute:function(){var c=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{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-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}";var l=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{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-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}";var p=t("ion_card",function(){function t(t){o(this,t);this.inheritedAriaAttributes={};this.color=undefined;this.button=false;this.type="button";this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}t.prototype.componentWillLoad=function(){this.inheritedAriaAttributes=e(this.el,["aria-label"])};t.prototype.isClickable=function(){return this.href!==undefined||this.button};t.prototype.renderCard=function(t){var o=this.isClickable();if(!o){return[i("slot",null)]}var r=this,n=r.href,e=r.routerAnimation,s=r.routerDirection,d=r.inheritedAriaAttributes;var c=o?n===undefined?"button":"a":"div";var l=c==="button"?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return i(c,Object.assign({},l,d,{class:"card-native",part:"native",disabled:this.disabled,onClick:function(t){return a(n,t,s,e)}}),i("slot",null),o&&t==="md"&&i("ion-ripple-effect",null))};t.prototype.render=function(){var t;var o=d(this);return i(r,{class:s(this.color,(t={},t[o]=true,t["card-disabled"]=this.disabled,t["ion-activatable"]=this.isClickable(),t))},this.renderCard(o))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());p.style={ios:c,md:l};var g="ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}";var h="ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}";var m=t("ion_card_content",function(){function t(t){o(this,t)}t.prototype.render=function(){var t;var o=d(this);return i(r,{class:(t={},t[o]=true,t["card-content-".concat(o)]=true,t)})};return t}());m.style={ios:g,md:h};var b=":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}";var f=":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}";var u=t("ion_card_header",function(){function t(t){o(this,t);this.color=undefined;this.translucent=false}t.prototype.render=function(){var t;var o=d(this);return i(r,{class:s(this.color,(t={"card-header-translucent":this.translucent,"ion-inherit-color":true},t[o]=true,t))},i("slot",null))};return t}());u.style={ios:b,md:f};var v=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.75rem;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}";var x=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.875rem;font-weight:500}";var k=t("ion_card_subtitle",function(){function t(t){o(this,t);this.color=undefined}t.prototype.render=function(){var t;var o=d(this);return i(r,{role:"heading","aria-level":"3",class:s(this.color,(t={"ion-inherit-color":true},t[o]=true,t))},i("slot",null))};return t}());k.style={ios:v,md:x};var w=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}";var y=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}";var z=t("ion_card_title",function(){function t(t){o(this,t);this.color=undefined}t.prototype.render=function(){var t;var o=d(this);return i(r,{role:"heading","aria-level":"2",class:s(this.color,(t={"ion-inherit-color":true},t[o]=true,t))},i("slot",null))};return t}());z.style={ios:w,md:y}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-dab42c1b.system.js","./p-44bc8b45.system.js","./p-0148306b.system.js"],(function(o){"use strict";var i,r,n,t,a;return{setters:[function(o){i=o.r;r=o.h;n=o.H},function(o){t=o.c},function(o){a=o.b}],execute:function(){var e=":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}";var l=":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:0.875rem}";var g=o("ion_chip",function(){function o(o){i(this,o);this.color=undefined;this.outline=false;this.disabled=false}o.prototype.render=function(){var o;var i=a(this);return r(n,{"aria-disabled":this.disabled?"true":null,class:t(this.color,(o={},o[i]=true,o["chip-outline"]=this.outline,o["chip-disabled"]=this.disabled,o["ion-activatable"]=true,o))},r("slot",null),i==="md"&&r("ion-ripple-effect",null))};return o}());g.style={ios:e,md:l}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,d as r,h as i,H as t,f as e}from"./p-8a40746c.js";import{i as a}from"./p-63eb0acd.js";import{o as n,c as s,h as c}from"./p-1d072d3d.js";import{m as l,n as d}from"./p-e90d610c.js";import{b}from"./p-b977b57a.js";const p=class{constructor(i){o(this,i),this.ionFocus=r(this,"ionFocus",7),this.ionBlur=r(this,"ionBlur",7),this.collapsedClick=r(this,"collapsedClick",7),this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.collapsedIndicatorClick=()=>{this.collapsedClick.emit({ionShadowTarget:this.collapsedRef})},this.collapsed=!1,this.last=void 0,this.showCollapsedIndicator=void 0,this.color=void 0,this.active=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.separator=void 0,this.target=void 0,this.routerDirection="forward",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=a(this.el)}isClickable(){return void 0!==this.href}render(){const{color:o,active:r,collapsed:e,disabled:a,download:p,el:h,inheritedAttributes:m,last:g,routerAnimation:u,routerDirection:x,separator:f,showCollapsedIndicator:v,target:w}=this,k=this.isClickable(),y=void 0===this.href?"span":"a",C=a?void 0:this.href,z=b(this),j="span"===y?{}:{download:p,href:C,target:w},I=!g&&(e?!(!v||g):f);return i(t,{onClick:o=>n(C,o,x,u),"aria-disabled":a?"true":null,class:s(o,{[z]:!0,"breadcrumb-active":r,"breadcrumb-collapsed":e,"breadcrumb-disabled":a,"in-breadcrumbs-color":c("ion-breadcrumbs[color]",h),"in-toolbar":c("ion-toolbar",this.el),"in-toolbar-color":c("ion-toolbar[color]",this.el),"ion-activatable":k,"ion-focusable":k})},i(y,Object.assign({},j,{class:"breadcrumb-native",part:"native",disabled:a,onFocus:this.onFocus,onBlur:this.onBlur},m),i("slot",{name:"start"}),i("slot",null),i("slot",{name:"end"})),v&&i("button",{part:"collapsed-indicator","aria-label":"Show more breadcrumbs",onClick:()=>this.collapsedIndicatorClick(),ref:o=>this.collapsedRef=o,class:{"breadcrumbs-collapsed-indicator":!0}},i("ion-icon",{"aria-hidden":"true",icon:d,lazy:!1})),I&&i("span",{class:"breadcrumb-separator",part:"separator","aria-hidden":"true"},i("slot",{name:"separator"},"ios"===z?i("ion-icon",{icon:l,lazy:!1,"flip-rtl":!0}):i("span",null,"/"))))}get el(){return e(this)}};p.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{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-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}",md:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{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-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:var(--ion-color-step-50, #fff)}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}"};const h=class{constructor(i){o(this,i),this.ionCollapsedClick=r(this,"ionCollapsedClick",7),this.breadcrumbsInit=()=>{this.setBreadcrumbSeparator(),this.setMaxItems()},this.resetActiveBreadcrumb=()=>{const o=this.getBreadcrumbs().find((o=>o.active));o&&this.activeChanged&&(o.active=!1)},this.setMaxItems=()=>{const{itemsAfterCollapse:o,itemsBeforeCollapse:r,maxItems:i}=this,t=this.getBreadcrumbs();for(const o of t)o.showCollapsedIndicator=!1,o.collapsed=!1;void 0!==i&&t.length>i&&r+o<=i&&t.forEach(((i,e)=>{e===r&&(i.showCollapsedIndicator=!0),e>=r&&e<t.length-o&&(i.collapsed=!0)}))},this.setBreadcrumbSeparator=()=>{const{itemsAfterCollapse:o,itemsBeforeCollapse:r,maxItems:i}=this,t=this.getBreadcrumbs(),e=t.find((o=>o.active));for(const a of t){const n=void 0!==i&&0===o?a===t[r]:a===t[t.length-1];a.last=n,a.separator=void 0!==a.separator?a.separator:!n||void 0,!e&&n&&(a.active=!0,this.activeChanged=!0)}},this.getBreadcrumbs=()=>Array.from(this.el.querySelectorAll("ion-breadcrumb")),this.slotChanged=()=>{this.resetActiveBreadcrumb(),this.breadcrumbsInit()},this.collapsed=void 0,this.activeChanged=void 0,this.color=void 0,this.maxItems=void 0,this.itemsBeforeCollapse=1,this.itemsAfterCollapse=1}onCollapsedClick(o){const r=this.getBreadcrumbs().filter((o=>o.collapsed));this.ionCollapsedClick.emit(Object.assign(Object.assign({},o.detail),{collapsedBreadcrumbs:r}))}maxItemsChanged(){this.resetActiveBreadcrumb(),this.breadcrumbsInit()}componentWillLoad(){this.breadcrumbsInit()}render(){const{color:o,collapsed:r}=this,e=b(this);return i(t,{class:s(o,{[e]:!0,"in-toolbar":c("ion-toolbar",this.el),"in-toolbar-color":c("ion-toolbar[color]",this.el),"breadcrumbs-collapsed":r})},i("slot",{onSlotchange:this.slotChanged}))}get el(){return e(this)}static get watchers(){return{maxItems:["maxItemsChanged"],itemsBeforeCollapse:["maxItemsChanged"],itemsAfterCollapse:["maxItemsChanged"]}}};h.style={ios:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;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;-ms-flex-pack:center;justify-content:center}",md:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;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}"};export{p as ion_breadcrumb,h as ion_breadcrumbs}
|
|
4
|
+
import{r as o,d as r,h as i,H as t,f as e}from"./p-f5e886cd.js";import{i as a}from"./p-63eb0acd.js";import{o as n,c as s,h as c}from"./p-1d072d3d.js";import{m as l,n as d}from"./p-ea96fa73.js";import{b}from"./p-3e8d7ed8.js";const p=class{constructor(i){o(this,i),this.ionFocus=r(this,"ionFocus",7),this.ionBlur=r(this,"ionBlur",7),this.collapsedClick=r(this,"collapsedClick",7),this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.collapsedIndicatorClick=()=>{this.collapsedClick.emit({ionShadowTarget:this.collapsedRef})},this.collapsed=!1,this.last=void 0,this.showCollapsedIndicator=void 0,this.color=void 0,this.active=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.separator=void 0,this.target=void 0,this.routerDirection="forward",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=a(this.el)}isClickable(){return void 0!==this.href}render(){const{color:o,active:r,collapsed:e,disabled:a,download:p,el:h,inheritedAttributes:m,last:g,routerAnimation:u,routerDirection:x,separator:f,showCollapsedIndicator:v,target:w}=this,k=this.isClickable(),y=void 0===this.href?"span":"a",C=a?void 0:this.href,z=b(this),j="span"===y?{}:{download:p,href:C,target:w},I=!g&&(e?!(!v||g):f);return i(t,{onClick:o=>n(C,o,x,u),"aria-disabled":a?"true":null,class:s(o,{[z]:!0,"breadcrumb-active":r,"breadcrumb-collapsed":e,"breadcrumb-disabled":a,"in-breadcrumbs-color":c("ion-breadcrumbs[color]",h),"in-toolbar":c("ion-toolbar",this.el),"in-toolbar-color":c("ion-toolbar[color]",this.el),"ion-activatable":k,"ion-focusable":k})},i(y,Object.assign({},j,{class:"breadcrumb-native",part:"native",disabled:a,onFocus:this.onFocus,onBlur:this.onBlur},m),i("slot",{name:"start"}),i("slot",null),i("slot",{name:"end"})),v&&i("button",{part:"collapsed-indicator","aria-label":"Show more breadcrumbs",onClick:()=>this.collapsedIndicatorClick(),ref:o=>this.collapsedRef=o,class:{"breadcrumbs-collapsed-indicator":!0}},i("ion-icon",{"aria-hidden":"true",icon:d,lazy:!1})),I&&i("span",{class:"breadcrumb-separator",part:"separator","aria-hidden":"true"},i("slot",{name:"separator"},"ios"===z?i("ion-icon",{icon:l,lazy:!1,"flip-rtl":!0}):i("span",null,"/"))))}get el(){return e(this)}};p.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{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-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}",md:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{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-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:var(--ion-color-step-50, #fff)}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}"};const h=class{constructor(i){o(this,i),this.ionCollapsedClick=r(this,"ionCollapsedClick",7),this.breadcrumbsInit=()=>{this.setBreadcrumbSeparator(),this.setMaxItems()},this.resetActiveBreadcrumb=()=>{const o=this.getBreadcrumbs().find((o=>o.active));o&&this.activeChanged&&(o.active=!1)},this.setMaxItems=()=>{const{itemsAfterCollapse:o,itemsBeforeCollapse:r,maxItems:i}=this,t=this.getBreadcrumbs();for(const o of t)o.showCollapsedIndicator=!1,o.collapsed=!1;void 0!==i&&t.length>i&&r+o<=i&&t.forEach(((i,e)=>{e===r&&(i.showCollapsedIndicator=!0),e>=r&&e<t.length-o&&(i.collapsed=!0)}))},this.setBreadcrumbSeparator=()=>{const{itemsAfterCollapse:o,itemsBeforeCollapse:r,maxItems:i}=this,t=this.getBreadcrumbs(),e=t.find((o=>o.active));for(const a of t){const n=void 0!==i&&0===o?a===t[r]:a===t[t.length-1];a.last=n,a.separator=void 0!==a.separator?a.separator:!n||void 0,!e&&n&&(a.active=!0,this.activeChanged=!0)}},this.getBreadcrumbs=()=>Array.from(this.el.querySelectorAll("ion-breadcrumb")),this.slotChanged=()=>{this.resetActiveBreadcrumb(),this.breadcrumbsInit()},this.collapsed=void 0,this.activeChanged=void 0,this.color=void 0,this.maxItems=void 0,this.itemsBeforeCollapse=1,this.itemsAfterCollapse=1}onCollapsedClick(o){const r=this.getBreadcrumbs().filter((o=>o.collapsed));this.ionCollapsedClick.emit(Object.assign(Object.assign({},o.detail),{collapsedBreadcrumbs:r}))}maxItemsChanged(){this.resetActiveBreadcrumb(),this.breadcrumbsInit()}componentWillLoad(){this.breadcrumbsInit()}render(){const{color:o,collapsed:r}=this,e=b(this);return i(t,{class:s(o,{[e]:!0,"in-toolbar":c("ion-toolbar",this.el),"in-toolbar-color":c("ion-toolbar[color]",this.el),"breadcrumbs-collapsed":r})},i("slot",{onSlotchange:this.slotChanged}))}get el(){return e(this)}static get watchers(){return{maxItems:["maxItemsChanged"],itemsBeforeCollapse:["maxItemsChanged"],itemsAfterCollapse:["maxItemsChanged"]}}};h.style={ios:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;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;-ms-flex-pack:center;justify-content:center}",md:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;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}"};export{p as ion_breadcrumb,h as ion_breadcrumbs}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(r,t,n,e){function i(r){return r instanceof n?r:new n((function(t){t(r)}))}return new(n||(n=Promise))((function(n,u){function o(r){try{f(e.next(r))}catch(r){u(r)}}function a(r){try{f(e["throw"](r))}catch(r){u(r)}}function f(r){r.done?n(r.value):i(r.value).then(o,a)}f((e=e.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},e,i,u,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(r){return function(t){return f([r,t])}}function f(a){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(n=0)),n)try{if(e=1,i&&(u=a[0]&2?i["return"]:a[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,a[1])).done)return u;if(i=0,u)a=[a[0]&2,u.value];switch(a[0]){case 0:case 1:u=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){n.label=a[1];break}if(a[0]===6&&n.label<u[1]){n.label=u[1];u=a;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(a);break}if(u[2])n.ops.pop();n.trys.pop();continue}a=t.call(r,n)}catch(r){a=[6,r];i=0}finally{e=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var e=0,i=t.length,u;e<i;e++){if(u||!(e in t)){if(!u)u=Array.prototype.slice.call(t,0,e);u[e]=t[e]}}return r.concat(u||Array.prototype.slice.call(t))};
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-2814c8e5.system.js","./p-815c2fba.system.js","./p-44bc8b45.system.js","./p-1e87e3fb.system.js"],(function(r){"use strict";var t,n,e,i,u,o,a,f,s,c;return{setters:[function(r){t=r.r;n=r.d;e=r.f;i=r.h;u=r.H},function(r){o=r.c;a=r.q},function(r){f=r.o;s=r.c},function(r){c=r.b}],execute:function(){var h=this;var v=r("ion_route",function(){function r(r){t(this,r);this.ionRouteDataChanged=n(this,"ionRouteDataChanged",7);this.url="";this.component=undefined;this.componentProps=undefined;this.beforeLeave=undefined;this.beforeEnter=undefined}r.prototype.onUpdate=function(r){this.ionRouteDataChanged.emit(r)};r.prototype.onComponentProps=function(r,t){if(r===t){return}var n=r?Object.keys(r):[];var e=t?Object.keys(t):[];if(n.length!==e.length){this.onUpdate(r);return}for(var i=0,u=n;i<u.length;i++){var o=u[i];if(r[o]!==t[o]){this.onUpdate(r);return}}};r.prototype.connectedCallback=function(){this.ionRouteDataChanged.emit()};Object.defineProperty(r,"watchers",{get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}},enumerable:false,configurable:true});return r}());var l=r("ion_route_redirect",function(){function r(r){t(this,r);this.ionRouteRedirectChanged=n(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}r.prototype.propDidChange=function(){this.ionRouteRedirectChanged.emit()};r.prototype.connectedCallback=function(){this.ionRouteRedirectChanged.emit()};Object.defineProperty(r,"watchers",{get:function(){return{from:["propDidChange"],to:["propDidChange"]}},enumerable:false,configurable:true});return r}());var d="root";var _="forward";var w="back";var b=function(r){var t=r.filter((function(r){return r.length>0})).join("/");return"/"+t};var g=function(r,t,n){var e=b(r);if(t){e="#"+e}if(n!==undefined){e+="?"+n}return e};var m=function(r,t,n,e,i,u,o){var a=g(__spreadArray(__spreadArray([],j(t).segments,true),e,true),n,o);if(i===_){r.pushState(u,"",a)}else{r.replaceState(u,"",a)}};var p=function(r){var t=[];for(var n=0,e=r;n<e.length;n++){var i=e[n];for(var u=0,o=i.segments;u<o.length;u++){var a=o[u];if(a[0]===":"){var f=i.params&&i.params[a.slice(1)];if(!f){return null}t.push(f)}else if(a!==""){t.push(a)}}}return t};var y=function(r,t){if(r.length>t.length){return null}if(r.length<=1&&r[0]===""){return t}for(var n=0;n<r.length;n++){if(r[n]!==t[n]){return null}}if(t.length===r.length){return[""]}return t.slice(r.length)};var R=function(r,t,n){var e=j(t).segments;var i=n?r.hash.slice(1):r.pathname;var u=j(i).segments;return y(e,u)};var j=function(r){var t=[""];var n;if(r!=null){var e=r.indexOf("?");if(e>-1){n=r.substring(e+1);r=r.substring(0,e)}t=r.split("/").map((function(r){return r.trim()})).filter((function(r){return r.length>0}));if(t.length===0){t=[""]}}return{segments:t,queryString:n}};var O=function(r){console.group("[ion-core] ROUTES[".concat(r.length,"]"));var t=function(r){var t=[];r.forEach((function(r){return t.push.apply(t,r.segments)}));var n=r.map((function(r){return r.id}));console.debug("%c ".concat(b(t)),"font-weight: bold; padding-left: 20px","=>\t","(".concat(n.join(", "),")"))};for(var n=0,e=r;n<e.length;n++){var i=e[n];t(i)}console.groupEnd()};var C=function(r){console.group("[ion-core] REDIRECTS[".concat(r.length,"]"));for(var t=0,n=r;t<n.length;t++){var e=n[t];if(e.to){console.debug("FROM: ","$c ".concat(b(e.from)),"font-weight: bold"," TO: ","$c ".concat(b(e.to.segments)),"font-weight: bold")}}console.groupEnd()};var k=function(r,t,n,e,i,u){if(i===void 0){i=false}return __awaiter(h,void 0,void 0,(function(){var a,f,s,c;return __generator(this,(function(h){switch(h.label){case 0:h.trys.push([0,6,,7]);a=P(r);if(e>=t.length||!a){return[2,i]}return[4,new Promise((function(r){return o(a,r)}))];case 1:h.sent();f=t[e];return[4,a.setRouteId(f.id,f.params,n,u)];case 2:s=h.sent();if(s.changed){n=d;i=true}return[4,k(s.element,t,n,e+1,i,u)];case 3:i=h.sent();if(!s.markVisible)return[3,5];return[4,s.markVisible()];case 4:h.sent();h.label=5;case 5:return[2,i];case 6:c=h.sent();console.error(c);return[2,false];case 7:return[2]}}))}))};var E=function(r){return __awaiter(h,void 0,void 0,(function(){var t,n,e,i;return __generator(this,(function(u){switch(u.label){case 0:t=[];e=r;u.label=1;case 1:if(!(n=P(e)))return[3,3];return[4,n.getRouteId()];case 2:i=u.sent();if(i){e=i.element;i.element=undefined;t.push(i)}else{return[3,3]}return[3,1];case 3:return[2,{ids:t,outlet:n}]}}))}))};var x=function(){if(P(document.body)){return Promise.resolve()}return new Promise((function(r){window.addEventListener("ionNavWillLoad",(function(){return r()}),{once:true})}))};var A=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet";var P=function(r){if(!r){return undefined}if(r.matches(A)){return r}var t=r.querySelector(A);return t!==null&&t!==void 0?t:undefined};var U=function(r,t){var n=t.from,e=t.to;if(e===undefined){return false}if(n.length>r.length){return false}for(var i=0;i<n.length;i++){var u=n[i];if(u==="*"){return true}if(u!==r[i]){return false}}return n.length===r.length};var D=function(r,t){return t.find((function(t){return U(r,t)}))};var L=function(r,t){var n=Math.min(r.length,t.length);var e=0;for(var i=0;i<n;i++){var u=r[i];var o=t[i];if(u.id.toLowerCase()!==o.id){break}if(u.params){var a=Object.keys(u.params);if(a.length===o.segments.length){var f=a.map((function(r){return":".concat(r)}));for(var s=0;s<f.length;s++){if(f[s].toLowerCase()!==o.segments[s]){break}e++}}}e++}return e};var T=function(r,t){var n=new q(r);var e=false;var i;for(var u=0;u<t.length;u++){var o=t[u].segments;if(o[0]===""){e=true}else{for(var a=0,f=o;a<f.length;a++){var s=f[a];var c=n.next();if(s[0]===":"){if(c===""){return null}i=i||[];var h=i[u]||(i[u]={});h[s.slice(1)]=c}else if(c!==s){return null}}e=false}}var v=e?e===(n.next()===""):true;if(!v){return null}if(i){return t.map((function(r,t){return{id:r.id,segments:r.segments,params:S(r.params,i[t]),beforeEnter:r.beforeEnter,beforeLeave:r.beforeLeave}}))}return t};var S=function(r,t){return r||t?Object.assign(Object.assign({},r),t):undefined};var I=function(r,t){var n=null;var e=0;for(var i=0,u=t;i<u.length;i++){var o=u[i];var a=L(r,o);if(a>e){n=o;e=a}}if(n){return n.map((function(t,n){var e;return{id:t.id,segments:t.segments,params:S(t.params,(e=r[n])===null||e===void 0?void 0:e.params)}}))}return null};var M=function(r,t){var n=null;var e=0;for(var i=0,u=t;i<u.length;i++){var o=u[i];var a=T(r,o);if(a!==null){var f=N(a);if(f>e){e=f;n=a}}}return n};var N=function(r){var t=1;var n=1;for(var e=0,i=r;e<i.length;e++){var u=i[e];for(var o=0,a=u.segments;o<a.length;o++){var f=a[o];if(f[0]===":"){t+=Math.pow(1,n)}else if(f!==""){t+=Math.pow(2,n)}n++}}return t};var q=function(){function r(r){this.segments=r.slice()}r.prototype.next=function(){if(this.segments.length>0){return this.segments.shift()}return""};return r}();var F=function(r,t){if(t in r){return r[t]}if(r.hasAttribute(t)){return r.getAttribute(t)}return null};var W=function(r){return Array.from(r.children).filter((function(r){return r.tagName==="ION-ROUTE-REDIRECT"})).map((function(r){var t=F(r,"to");return{from:j(F(r,"from")).segments,to:t==null?undefined:j(t)}}))};var $=function(r){return G(z(r))};var z=function(r){return Array.from(r.children).filter((function(r){return r.tagName==="ION-ROUTE"&&r.component})).map((function(r){var t=F(r,"component");return{segments:j(F(r,"url")).segments,id:t.toLowerCase(),params:r.componentProps,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter,children:z(r)}}))};var G=function(r){var t=[];for(var n=0,e=r;n<e.length;n++){var i=e[n];B([],t,i)}return t};var B=function(r,t,n){r=__spreadArray(__spreadArray([],r,true),[{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],false);if(n.children.length===0){t.push(r);return}for(var e=0,i=n.children;e<i.length;e++){var u=i[e];B(r,t,u)}};var H=r("ion_router",function(){function r(r){t(this,r);this.ionRouteWillChange=n(this,"ionRouteWillChange",7);this.ionRouteDidChange=n(this,"ionRouteDidChange",7);this.previousPath=null;this.busy=false;this.state=0;this.lastState=0;this.root="/";this.useHash=true}r.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,n;return __generator(this,(function(e){switch(e.label){case 0:return[4,x()];case 1:e.sent();return[4,this.runGuards(this.getSegments())];case 2:r=e.sent();if(!(r!==true))return[3,5];if(!(typeof r==="object"))return[3,4];t=r.redirect;n=j(t);this.setSegments(n.segments,d,n.queryString);return[4,this.writeNavStateRoot(n.segments,d)];case 3:e.sent();e.label=4;case 4:return[3,7];case 5:return[4,this.onRoutesChanged()];case 6:e.sent();e.label=7;case 7:return[2]}}))}))};r.prototype.componentDidLoad=function(){window.addEventListener("ionRouteRedirectChanged",a(this.onRedirectChanged.bind(this),10));window.addEventListener("ionRouteDataChanged",a(this.onRoutesChanged.bind(this),100))};r.prototype.onPopState=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,n;return __generator(this,(function(e){switch(e.label){case 0:r=this.historyDirection();t=this.getSegments();return[4,this.runGuards(t)];case 1:n=e.sent();if(n!==true){if(typeof n==="object"){t=j(n.redirect).segments}else{return[2,false]}}return[2,this.writeNavStateRoot(t,r)]}}))}))};r.prototype.onBackButton=function(r){var t=this;r.detail.register(0,(function(r){t.back();r()}))};r.prototype.canTransition=function(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runGuards()];case 1:r=t.sent();if(r!==true){if(typeof r==="object"){return[2,r.redirect]}else{return[2,false]}}return[2,true]}}))}))};r.prototype.push=function(r,t,n){if(t===void 0){t="forward"}return __awaiter(this,void 0,void 0,(function(){var e,i,u,o,a;return __generator(this,(function(f){switch(f.label){case 0:if(r.startsWith(".")){i=(e=this.previousPath)!==null&&e!==void 0?e:"/";u=new URL(r,"https://host/".concat(i));r=u.pathname+u.search}o=j(r);return[4,this.runGuards(o.segments)];case 1:a=f.sent();if(a!==true){if(typeof a==="object"){o=j(a.redirect)}else{return[2,false]}}this.setSegments(o.segments,t,o.queryString);return[2,this.writeNavStateRoot(o.segments,t,n)]}}))}))};r.prototype.back=function(){window.history.back();return Promise.resolve(this.waitPromise)};r.prototype.printDebug=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){O($(this.el));C(W(this.el));return[2]}))}))};r.prototype.navChanged=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,u,o;return __generator(this,(function(a){switch(a.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, navChanged was cancelled");return[2,false]}return[4,E(window.document.body)];case 1:t=a.sent(),n=t.ids,e=t.outlet;i=$(this.el);u=I(n,i);if(!u){console.warn("[ion-router] no matching URL for ",n.map((function(r){return r.id})));return[2,false]}o=p(u);if(!o){console.warn("[ion-router] router could not match path because some required param is missing");return[2,false]}this.setSegments(o,r);return[4,this.safeWriteNavState(e,u,d,o,null,n.length)];case 2:a.sent();return[2,true]}}))}))};r.prototype.onRedirectChanged=function(){var r=this.getSegments();if(r&&D(r,W(this.el))){this.writeNavStateRoot(r,d)}};r.prototype.onRoutesChanged=function(){return this.writeNavStateRoot(this.getSegments(),d)};r.prototype.historyDirection=function(){var r;var t=window;if(t.history.state===null){this.state++;t.history.replaceState(this.state,t.document.title,(r=t.document.location)===null||r===void 0?void 0:r.href)}var n=t.history.state;var e=this.lastState;this.lastState=n;if(n>e||n>=e&&e>0){return _}if(n<e){return w}return d};r.prototype.writeNavStateRoot=function(r,t,n){return __awaiter(this,void 0,void 0,(function(){var e,i,u,o,a,f,s,c;return __generator(this,(function(h){if(!r){console.error("[ion-router] URL is not part of the routing set");return[2,false]}e=W(this.el);i=D(r,e);u=null;if(i){o=i.to,a=o.segments,f=o.queryString;this.setSegments(a,t,f);u=i.from;r=a}s=$(this.el);c=M(r,s);if(!c){console.error("[ion-router] the path does not match any route");return[2,false]}return[2,this.safeWriteNavState(document.body,c,t,r,u,0,n)]}))}))};r.prototype.safeWriteNavState=function(r,t,n,e,i,u,o){if(u===void 0){u=0}return __awaiter(this,void 0,void 0,(function(){var a,f,s;return __generator(this,(function(c){switch(c.label){case 0:return[4,this.lock()];case 1:a=c.sent();f=false;c.label=2;case 2:c.trys.push([2,4,,5]);return[4,this.writeNavState(r,t,n,e,i,u,o)];case 3:f=c.sent();return[3,5];case 4:s=c.sent();console.error(s);return[3,5];case 5:a();return[2,f]}}))}))};r.prototype.lock=function(){return __awaiter(this,void 0,void 0,(function(){var r,t;return __generator(this,(function(n){switch(n.label){case 0:r=this.waitPromise;this.waitPromise=new Promise((function(r){return t=r}));if(!(r!==undefined))return[3,2];return[4,r];case 1:n.sent();n.label=2;case 2:return[2,t]}}))}))};r.prototype.runGuards=function(r,t){if(r===void 0){r=this.getSegments()}return __awaiter(this,void 0,void 0,(function(){var n,e,i,u,o,a,f;return __generator(this,(function(s){switch(s.label){case 0:if(t===undefined){t=j(this.previousPath).segments}if(!r||!t){return[2,true]}n=$(this.el);e=M(t,n);i=e&&e[e.length-1].beforeLeave;if(!i)return[3,2];return[4,i()];case 1:o=s.sent();return[3,3];case 2:o=true;s.label=3;case 3:u=o;if(u===false||typeof u==="object"){return[2,u]}a=M(r,n);f=a&&a[a.length-1].beforeEnter;return[2,f?f():true]}}))}))};r.prototype.writeNavState=function(r,t,n,e,i,u,o){if(u===void 0){u=0}return __awaiter(this,void 0,void 0,(function(){var a,f;return __generator(this,(function(s){switch(s.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, transition was cancelled");return[2,false]}this.busy=true;a=this.routeChangeEvent(e,i);if(a){this.ionRouteWillChange.emit(a)}return[4,k(r,t,n,u,false,o)];case 1:f=s.sent();this.busy=false;if(a){this.ionRouteDidChange.emit(a)}return[2,f]}}))}))};r.prototype.setSegments=function(r,t,n){this.state++;m(window.history,this.root,this.useHash,r,t,this.state,n)};r.prototype.getSegments=function(){return R(window.location,this.root,this.useHash)};r.prototype.routeChangeEvent=function(r,t){var n=this.previousPath;var e=b(r);this.previousPath=e;if(e===n){return null}var i=t?b(t):null;return{from:n,redirectedFrom:i,to:e}};Object.defineProperty(r.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return r}());var J=":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}";var K=r("ion_router_link",function(){function r(r){var n=this;t(this,r);this.onClick=function(r){f(n.href,r,n.routerDirection,n.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}r.prototype.render=function(){var r;var t=c(this);var n={href:this.href,rel:this.rel,target:this.target};return i(u,{onClick:this.onClick,class:s(this.color,(r={},r[t]=true,r["ion-activatable"]=true,r))},i("a",Object.assign({},n),i("slot",null)))};return r}());K.style=J}}}));
|
|
4
|
+
*/System.register(["./p-dab42c1b.system.js","./p-815c2fba.system.js","./p-44bc8b45.system.js","./p-0148306b.system.js"],(function(r){"use strict";var t,n,e,i,u,o,a,f,s,c;return{setters:[function(r){t=r.r;n=r.d;e=r.f;i=r.h;u=r.H},function(r){o=r.c;a=r.q},function(r){f=r.o;s=r.c},function(r){c=r.b}],execute:function(){var h=this;var v=r("ion_route",function(){function r(r){t(this,r);this.ionRouteDataChanged=n(this,"ionRouteDataChanged",7);this.url="";this.component=undefined;this.componentProps=undefined;this.beforeLeave=undefined;this.beforeEnter=undefined}r.prototype.onUpdate=function(r){this.ionRouteDataChanged.emit(r)};r.prototype.onComponentProps=function(r,t){if(r===t){return}var n=r?Object.keys(r):[];var e=t?Object.keys(t):[];if(n.length!==e.length){this.onUpdate(r);return}for(var i=0,u=n;i<u.length;i++){var o=u[i];if(r[o]!==t[o]){this.onUpdate(r);return}}};r.prototype.connectedCallback=function(){this.ionRouteDataChanged.emit()};Object.defineProperty(r,"watchers",{get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}},enumerable:false,configurable:true});return r}());var l=r("ion_route_redirect",function(){function r(r){t(this,r);this.ionRouteRedirectChanged=n(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}r.prototype.propDidChange=function(){this.ionRouteRedirectChanged.emit()};r.prototype.connectedCallback=function(){this.ionRouteRedirectChanged.emit()};Object.defineProperty(r,"watchers",{get:function(){return{from:["propDidChange"],to:["propDidChange"]}},enumerable:false,configurable:true});return r}());var d="root";var _="forward";var w="back";var b=function(r){var t=r.filter((function(r){return r.length>0})).join("/");return"/"+t};var g=function(r,t,n){var e=b(r);if(t){e="#"+e}if(n!==undefined){e+="?"+n}return e};var m=function(r,t,n,e,i,u,o){var a=g(__spreadArray(__spreadArray([],j(t).segments,true),e,true),n,o);if(i===_){r.pushState(u,"",a)}else{r.replaceState(u,"",a)}};var p=function(r){var t=[];for(var n=0,e=r;n<e.length;n++){var i=e[n];for(var u=0,o=i.segments;u<o.length;u++){var a=o[u];if(a[0]===":"){var f=i.params&&i.params[a.slice(1)];if(!f){return null}t.push(f)}else if(a!==""){t.push(a)}}}return t};var y=function(r,t){if(r.length>t.length){return null}if(r.length<=1&&r[0]===""){return t}for(var n=0;n<r.length;n++){if(r[n]!==t[n]){return null}}if(t.length===r.length){return[""]}return t.slice(r.length)};var R=function(r,t,n){var e=j(t).segments;var i=n?r.hash.slice(1):r.pathname;var u=j(i).segments;return y(e,u)};var j=function(r){var t=[""];var n;if(r!=null){var e=r.indexOf("?");if(e>-1){n=r.substring(e+1);r=r.substring(0,e)}t=r.split("/").map((function(r){return r.trim()})).filter((function(r){return r.length>0}));if(t.length===0){t=[""]}}return{segments:t,queryString:n}};var O=function(r){console.group("[ion-core] ROUTES[".concat(r.length,"]"));var t=function(r){var t=[];r.forEach((function(r){return t.push.apply(t,r.segments)}));var n=r.map((function(r){return r.id}));console.debug("%c ".concat(b(t)),"font-weight: bold; padding-left: 20px","=>\t","(".concat(n.join(", "),")"))};for(var n=0,e=r;n<e.length;n++){var i=e[n];t(i)}console.groupEnd()};var C=function(r){console.group("[ion-core] REDIRECTS[".concat(r.length,"]"));for(var t=0,n=r;t<n.length;t++){var e=n[t];if(e.to){console.debug("FROM: ","$c ".concat(b(e.from)),"font-weight: bold"," TO: ","$c ".concat(b(e.to.segments)),"font-weight: bold")}}console.groupEnd()};var k=function(r,t,n,e,i,u){if(i===void 0){i=false}return __awaiter(h,void 0,void 0,(function(){var a,f,s,c;return __generator(this,(function(h){switch(h.label){case 0:h.trys.push([0,6,,7]);a=P(r);if(e>=t.length||!a){return[2,i]}return[4,new Promise((function(r){return o(a,r)}))];case 1:h.sent();f=t[e];return[4,a.setRouteId(f.id,f.params,n,u)];case 2:s=h.sent();if(s.changed){n=d;i=true}return[4,k(s.element,t,n,e+1,i,u)];case 3:i=h.sent();if(!s.markVisible)return[3,5];return[4,s.markVisible()];case 4:h.sent();h.label=5;case 5:return[2,i];case 6:c=h.sent();console.error(c);return[2,false];case 7:return[2]}}))}))};var E=function(r){return __awaiter(h,void 0,void 0,(function(){var t,n,e,i;return __generator(this,(function(u){switch(u.label){case 0:t=[];e=r;u.label=1;case 1:if(!(n=P(e)))return[3,3];return[4,n.getRouteId()];case 2:i=u.sent();if(i){e=i.element;i.element=undefined;t.push(i)}else{return[3,3]}return[3,1];case 3:return[2,{ids:t,outlet:n}]}}))}))};var x=function(){if(P(document.body)){return Promise.resolve()}return new Promise((function(r){window.addEventListener("ionNavWillLoad",(function(){return r()}),{once:true})}))};var A=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet";var P=function(r){if(!r){return undefined}if(r.matches(A)){return r}var t=r.querySelector(A);return t!==null&&t!==void 0?t:undefined};var U=function(r,t){var n=t.from,e=t.to;if(e===undefined){return false}if(n.length>r.length){return false}for(var i=0;i<n.length;i++){var u=n[i];if(u==="*"){return true}if(u!==r[i]){return false}}return n.length===r.length};var D=function(r,t){return t.find((function(t){return U(r,t)}))};var L=function(r,t){var n=Math.min(r.length,t.length);var e=0;for(var i=0;i<n;i++){var u=r[i];var o=t[i];if(u.id.toLowerCase()!==o.id){break}if(u.params){var a=Object.keys(u.params);if(a.length===o.segments.length){var f=a.map((function(r){return":".concat(r)}));for(var s=0;s<f.length;s++){if(f[s].toLowerCase()!==o.segments[s]){break}e++}}}e++}return e};var T=function(r,t){var n=new q(r);var e=false;var i;for(var u=0;u<t.length;u++){var o=t[u].segments;if(o[0]===""){e=true}else{for(var a=0,f=o;a<f.length;a++){var s=f[a];var c=n.next();if(s[0]===":"){if(c===""){return null}i=i||[];var h=i[u]||(i[u]={});h[s.slice(1)]=c}else if(c!==s){return null}}e=false}}var v=e?e===(n.next()===""):true;if(!v){return null}if(i){return t.map((function(r,t){return{id:r.id,segments:r.segments,params:S(r.params,i[t]),beforeEnter:r.beforeEnter,beforeLeave:r.beforeLeave}}))}return t};var S=function(r,t){return r||t?Object.assign(Object.assign({},r),t):undefined};var I=function(r,t){var n=null;var e=0;for(var i=0,u=t;i<u.length;i++){var o=u[i];var a=L(r,o);if(a>e){n=o;e=a}}if(n){return n.map((function(t,n){var e;return{id:t.id,segments:t.segments,params:S(t.params,(e=r[n])===null||e===void 0?void 0:e.params)}}))}return null};var M=function(r,t){var n=null;var e=0;for(var i=0,u=t;i<u.length;i++){var o=u[i];var a=T(r,o);if(a!==null){var f=N(a);if(f>e){e=f;n=a}}}return n};var N=function(r){var t=1;var n=1;for(var e=0,i=r;e<i.length;e++){var u=i[e];for(var o=0,a=u.segments;o<a.length;o++){var f=a[o];if(f[0]===":"){t+=Math.pow(1,n)}else if(f!==""){t+=Math.pow(2,n)}n++}}return t};var q=function(){function r(r){this.segments=r.slice()}r.prototype.next=function(){if(this.segments.length>0){return this.segments.shift()}return""};return r}();var F=function(r,t){if(t in r){return r[t]}if(r.hasAttribute(t)){return r.getAttribute(t)}return null};var W=function(r){return Array.from(r.children).filter((function(r){return r.tagName==="ION-ROUTE-REDIRECT"})).map((function(r){var t=F(r,"to");return{from:j(F(r,"from")).segments,to:t==null?undefined:j(t)}}))};var $=function(r){return G(z(r))};var z=function(r){return Array.from(r.children).filter((function(r){return r.tagName==="ION-ROUTE"&&r.component})).map((function(r){var t=F(r,"component");return{segments:j(F(r,"url")).segments,id:t.toLowerCase(),params:r.componentProps,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter,children:z(r)}}))};var G=function(r){var t=[];for(var n=0,e=r;n<e.length;n++){var i=e[n];B([],t,i)}return t};var B=function(r,t,n){r=__spreadArray(__spreadArray([],r,true),[{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],false);if(n.children.length===0){t.push(r);return}for(var e=0,i=n.children;e<i.length;e++){var u=i[e];B(r,t,u)}};var H=r("ion_router",function(){function r(r){t(this,r);this.ionRouteWillChange=n(this,"ionRouteWillChange",7);this.ionRouteDidChange=n(this,"ionRouteDidChange",7);this.previousPath=null;this.busy=false;this.state=0;this.lastState=0;this.root="/";this.useHash=true}r.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,n;return __generator(this,(function(e){switch(e.label){case 0:return[4,x()];case 1:e.sent();return[4,this.runGuards(this.getSegments())];case 2:r=e.sent();if(!(r!==true))return[3,5];if(!(typeof r==="object"))return[3,4];t=r.redirect;n=j(t);this.setSegments(n.segments,d,n.queryString);return[4,this.writeNavStateRoot(n.segments,d)];case 3:e.sent();e.label=4;case 4:return[3,7];case 5:return[4,this.onRoutesChanged()];case 6:e.sent();e.label=7;case 7:return[2]}}))}))};r.prototype.componentDidLoad=function(){window.addEventListener("ionRouteRedirectChanged",a(this.onRedirectChanged.bind(this),10));window.addEventListener("ionRouteDataChanged",a(this.onRoutesChanged.bind(this),100))};r.prototype.onPopState=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,n;return __generator(this,(function(e){switch(e.label){case 0:r=this.historyDirection();t=this.getSegments();return[4,this.runGuards(t)];case 1:n=e.sent();if(n!==true){if(typeof n==="object"){t=j(n.redirect).segments}else{return[2,false]}}return[2,this.writeNavStateRoot(t,r)]}}))}))};r.prototype.onBackButton=function(r){var t=this;r.detail.register(0,(function(r){t.back();r()}))};r.prototype.canTransition=function(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runGuards()];case 1:r=t.sent();if(r!==true){if(typeof r==="object"){return[2,r.redirect]}else{return[2,false]}}return[2,true]}}))}))};r.prototype.push=function(r,t,n){if(t===void 0){t="forward"}return __awaiter(this,void 0,void 0,(function(){var e,i,u,o,a;return __generator(this,(function(f){switch(f.label){case 0:if(r.startsWith(".")){i=(e=this.previousPath)!==null&&e!==void 0?e:"/";u=new URL(r,"https://host/".concat(i));r=u.pathname+u.search}o=j(r);return[4,this.runGuards(o.segments)];case 1:a=f.sent();if(a!==true){if(typeof a==="object"){o=j(a.redirect)}else{return[2,false]}}this.setSegments(o.segments,t,o.queryString);return[2,this.writeNavStateRoot(o.segments,t,n)]}}))}))};r.prototype.back=function(){window.history.back();return Promise.resolve(this.waitPromise)};r.prototype.printDebug=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){O($(this.el));C(W(this.el));return[2]}))}))};r.prototype.navChanged=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,u,o;return __generator(this,(function(a){switch(a.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, navChanged was cancelled");return[2,false]}return[4,E(window.document.body)];case 1:t=a.sent(),n=t.ids,e=t.outlet;i=$(this.el);u=I(n,i);if(!u){console.warn("[ion-router] no matching URL for ",n.map((function(r){return r.id})));return[2,false]}o=p(u);if(!o){console.warn("[ion-router] router could not match path because some required param is missing");return[2,false]}this.setSegments(o,r);return[4,this.safeWriteNavState(e,u,d,o,null,n.length)];case 2:a.sent();return[2,true]}}))}))};r.prototype.onRedirectChanged=function(){var r=this.getSegments();if(r&&D(r,W(this.el))){this.writeNavStateRoot(r,d)}};r.prototype.onRoutesChanged=function(){return this.writeNavStateRoot(this.getSegments(),d)};r.prototype.historyDirection=function(){var r;var t=window;if(t.history.state===null){this.state++;t.history.replaceState(this.state,t.document.title,(r=t.document.location)===null||r===void 0?void 0:r.href)}var n=t.history.state;var e=this.lastState;this.lastState=n;if(n>e||n>=e&&e>0){return _}if(n<e){return w}return d};r.prototype.writeNavStateRoot=function(r,t,n){return __awaiter(this,void 0,void 0,(function(){var e,i,u,o,a,f,s,c;return __generator(this,(function(h){if(!r){console.error("[ion-router] URL is not part of the routing set");return[2,false]}e=W(this.el);i=D(r,e);u=null;if(i){o=i.to,a=o.segments,f=o.queryString;this.setSegments(a,t,f);u=i.from;r=a}s=$(this.el);c=M(r,s);if(!c){console.error("[ion-router] the path does not match any route");return[2,false]}return[2,this.safeWriteNavState(document.body,c,t,r,u,0,n)]}))}))};r.prototype.safeWriteNavState=function(r,t,n,e,i,u,o){if(u===void 0){u=0}return __awaiter(this,void 0,void 0,(function(){var a,f,s;return __generator(this,(function(c){switch(c.label){case 0:return[4,this.lock()];case 1:a=c.sent();f=false;c.label=2;case 2:c.trys.push([2,4,,5]);return[4,this.writeNavState(r,t,n,e,i,u,o)];case 3:f=c.sent();return[3,5];case 4:s=c.sent();console.error(s);return[3,5];case 5:a();return[2,f]}}))}))};r.prototype.lock=function(){return __awaiter(this,void 0,void 0,(function(){var r,t;return __generator(this,(function(n){switch(n.label){case 0:r=this.waitPromise;this.waitPromise=new Promise((function(r){return t=r}));if(!(r!==undefined))return[3,2];return[4,r];case 1:n.sent();n.label=2;case 2:return[2,t]}}))}))};r.prototype.runGuards=function(r,t){if(r===void 0){r=this.getSegments()}return __awaiter(this,void 0,void 0,(function(){var n,e,i,u,o,a,f;return __generator(this,(function(s){switch(s.label){case 0:if(t===undefined){t=j(this.previousPath).segments}if(!r||!t){return[2,true]}n=$(this.el);e=M(t,n);i=e&&e[e.length-1].beforeLeave;if(!i)return[3,2];return[4,i()];case 1:o=s.sent();return[3,3];case 2:o=true;s.label=3;case 3:u=o;if(u===false||typeof u==="object"){return[2,u]}a=M(r,n);f=a&&a[a.length-1].beforeEnter;return[2,f?f():true]}}))}))};r.prototype.writeNavState=function(r,t,n,e,i,u,o){if(u===void 0){u=0}return __awaiter(this,void 0,void 0,(function(){var a,f;return __generator(this,(function(s){switch(s.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, transition was cancelled");return[2,false]}this.busy=true;a=this.routeChangeEvent(e,i);if(a){this.ionRouteWillChange.emit(a)}return[4,k(r,t,n,u,false,o)];case 1:f=s.sent();this.busy=false;if(a){this.ionRouteDidChange.emit(a)}return[2,f]}}))}))};r.prototype.setSegments=function(r,t,n){this.state++;m(window.history,this.root,this.useHash,r,t,this.state,n)};r.prototype.getSegments=function(){return R(window.location,this.root,this.useHash)};r.prototype.routeChangeEvent=function(r,t){var n=this.previousPath;var e=b(r);this.previousPath=e;if(e===n){return null}var i=t?b(t):null;return{from:n,redirectedFrom:i,to:e}};Object.defineProperty(r.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return r}());var J=":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}";var K=r("ion_router_link",function(){function r(r){var n=this;t(this,r);this.onClick=function(r){f(n.href,r,n.routerDirection,n.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}r.prototype.render=function(){var r;var t=c(this);var n={href:this.href,rel:this.rel,target:this.target};return i(u,{onClick:this.onClick,class:s(this.color,(r={},r[t]=true,r["ion-activatable"]=true,r))},i("a",Object.assign({},n),i("slot",null)))};return r}());K.style=J}}}));
|