@venite/components 0.16.33 → 0.16.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/animation-ee586546.js +986 -0
- package/dist/cjs/app-globals-5906b2f0.js +7 -0
- package/dist/cjs/cubic-bezier-53d26d05.js +93 -0
- package/dist/cjs/dir-5af5259a.js +20 -0
- package/dist/cjs/focus-visible-b0b07ba6.js +76 -0
- package/dist/cjs/framework-delegate-59a98abd.js +111 -0
- package/dist/cjs/gesture-controller-0eb5579e.js +196 -0
- package/dist/cjs/haptic-780f33c4.js +116 -0
- package/dist/cjs/hardware-back-button-92d97ff8.js +76 -0
- package/dist/cjs/helpers-c2496722.js +425 -0
- package/dist/{esm/index-f0f6a379.js → cjs/index-01fdec29.js} +566 -132
- package/dist/cjs/index-12082cba.js +465 -0
- package/dist/cjs/index-25a76ef5.js +30 -0
- package/dist/cjs/index-59bd9a39.js +232 -0
- package/dist/cjs/index-8b5629a6.js +186 -0
- package/dist/cjs/index-9c7b27e4.js +140 -0
- package/dist/cjs/index-af080b50.js +139 -0
- package/dist/cjs/index-b6879fbc.js +48 -0
- package/dist/cjs/index-e56e09b8.js +38 -0
- package/dist/cjs/index-f8a7d3a6.js +314 -0
- package/dist/cjs/input-shims-f9d0c582.js +428 -0
- package/dist/cjs/ion-accordion-group.cjs.entry.js +205 -0
- package/dist/cjs/ion-accordion.cjs.entry.js +336 -0
- package/dist/cjs/ion-action-sheet_10.cjs.entry.js +3053 -0
- package/dist/cjs/ion-app.cjs.entry.js +30 -11
- package/dist/cjs/ion-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +27 -12
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -5
- package/dist/cjs/ion-badge.cjs.entry.js +6 -4
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +101 -0
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +133 -0
- package/dist/cjs/ion-button_14.cjs.entry.js +2231 -0
- package/dist/cjs/ion-card-content_6.cjs.entry.js +51 -41
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +7 -4
- package/dist/cjs/ion-card_2.cjs.entry.js +21 -15
- package/dist/cjs/ion-chip.cjs.entry.js +15 -6
- package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
- package/dist/cjs/ion-datetime_4.cjs.entry.js +2584 -0
- package/dist/cjs/ion-fab-button.cjs.entry.js +43 -9
- package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab.cjs.entry.js +15 -13
- package/dist/cjs/ion-footer.cjs.entry.js +139 -9
- package/dist/cjs/ion-img.cjs.entry.js +38 -9
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -13
- package/dist/cjs/ion-input_2.cjs.entry.js +102 -23
- package/dist/cjs/ion-item-divider.cjs.entry.js +8 -4
- package/dist/cjs/ion-item-group.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option.cjs.entry.js +13 -8
- package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-sliding.cjs.entry.js +69 -30
- package/dist/cjs/ion-loading.cjs.entry.js +92 -90
- package/dist/cjs/ion-menu-button.cjs.entry.js +27 -12
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
- package/dist/cjs/ion-menu.cjs.entry.js +172 -53
- package/dist/cjs/ion-modal.cjs.entry.js +1517 -318
- package/dist/cjs/ion-nav-link.cjs.entry.js +23 -20
- package/dist/cjs/ion-nav.cjs.entry.js +284 -224
- package/dist/cjs/ion-picker-column.cjs.entry.js +31 -27
- package/dist/cjs/ion-picker.cjs.entry.js +59 -52
- package/dist/cjs/ion-progress-bar.cjs.entry.js +23 -16
- package/dist/cjs/ion-range.cjs.entry.js +182 -62
- package/dist/cjs/ion-refresher-content.cjs.entry.js +7 -12
- package/dist/cjs/ion-refresher.cjs.entry.js +264 -293
- package/dist/cjs/ion-reorder-group.cjs.entry.js +19 -19
- package/dist/cjs/ion-reorder.cjs.entry.js +12 -5
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +9 -6
- package/dist/cjs/ion-router-outlet.cjs.entry.js +65 -25
- package/dist/cjs/ion-router.cjs.entry.js +598 -398
- package/dist/cjs/ion-segment_16.cjs.entry.js +172 -47
- package/dist/cjs/ion-slide.cjs.entry.js +3 -3
- package/dist/cjs/ion-slides.cjs.entry.js +38 -51
- package/dist/cjs/ion-spinner.cjs.entry.js +12 -8
- package/dist/cjs/ion-split-pane.cjs.entry.js +16 -12
- package/dist/cjs/ion-tab-bar.cjs.entry.js +24 -15
- package/dist/cjs/ion-tab-button.cjs.entry.js +11 -7
- package/dist/cjs/ion-tab.cjs.entry.js +4 -3
- package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
- package/dist/cjs/ion-text.cjs.entry.js +6 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +67 -36
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +105 -113
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +239 -228
- package/dist/cjs/ionic-global-bd0aab94.js +230 -0
- package/dist/cjs/ios.transition-f008fdcc.js +482 -0
- package/dist/cjs/keyboard-91096619.js +140 -0
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +7 -7
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-boolean_2.cjs.entry.js +129 -0
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +5 -2
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +5 -4
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +3 -2
- package/dist/cjs/ldf-editor-cursors.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
- package/dist/cjs/ldf.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/md.transition-19d9d9b2.js +57 -0
- package/dist/cjs/menu-toggle-util-b6fb068f.js +14 -0
- package/dist/cjs/overlays-240c867b.js +509 -0
- package/dist/cjs/parse-c36185aa.js +1303 -0
- package/dist/cjs/spinner-configs-0ac05f2d.js +147 -0
- package/dist/cjs/status-tap-edb6375f.js +42 -0
- package/dist/cjs/swipe-back-4a826f9b.js +76 -0
- package/dist/cjs/{swiper.bundle-cb0f61f7.js → swiper.bundle-8c897c07.js} +260 -86
- package/dist/cjs/theme-b0b295c1.js +48 -0
- package/dist/collection/collection-manifest.json +9 -2
- package/dist/collection/components/bible-reading/bible-reading.js +1 -2
- package/dist/collection/components/day-name/day-name.js +1 -2
- package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.js +1 -2
- package/dist/collection/components/editable-condition-piece/dist/editable-condition-piece.js +6 -4
- package/dist/collection/components/editable-condition-piece/editable-condition-piece.js +6 -4
- package/dist/collection/components/editable-string-list/dist/editable-string-list.js +51 -51
- package/dist/collection/components/editable-string-list/editable-string-list.js +2 -1
- package/dist/collection/components/editable-text/editable-text.js +1 -1
- package/dist/collection/components/string/string.css +1 -1
- package/dist/esm/animation-fa1c28fc.js +984 -0
- package/dist/esm/app-globals-07fa76a3.js +5 -0
- package/dist/esm/cubic-bezier-4c0db14f.js +91 -0
- package/dist/esm/dir-03012648.js +18 -0
- package/dist/esm/focus-visible-4e9a0764.js +74 -0
- package/dist/esm/framework-delegate-d512b396.js +107 -0
- package/dist/esm/gesture-controller-7be18351.js +194 -0
- package/dist/esm/haptic-522f76f2.js +110 -0
- package/dist/esm/hardware-back-button-fa04d6e9.js +71 -0
- package/dist/esm/helpers-af86adf0.js +403 -0
- package/dist/{cjs/index-8fe0df8d.js → esm/index-034add74.js} +530 -167
- package/dist/esm/index-09acb2ac.js +128 -0
- package/dist/esm/index-21661af2.js +463 -0
- package/dist/esm/index-5aa6aa3e.js +28 -0
- package/dist/esm/index-7a608887.js +312 -0
- package/dist/esm/index-ac6e5d74.js +34 -0
- package/dist/esm/index-be6112f8.js +137 -0
- package/dist/esm/index-ef8020d2.js +184 -0
- package/dist/esm/index-f258b2dd.js +25 -0
- package/dist/esm/index-faad3da4.js +223 -0
- package/dist/esm/input-shims-5f3fd3d0.js +426 -0
- package/dist/esm/ion-accordion-group.entry.js +201 -0
- package/dist/esm/ion-accordion.entry.js +332 -0
- package/dist/esm/ion-action-sheet_10.entry.js +3040 -0
- package/dist/esm/ion-app.entry.js +30 -11
- package/dist/esm/ion-avatar.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +27 -12
- package/dist/esm/ion-backdrop.entry.js +5 -5
- package/dist/esm/ion-badge.entry.js +6 -4
- package/dist/esm/ion-breadcrumb.entry.js +97 -0
- package/dist/esm/ion-breadcrumbs.entry.js +129 -0
- package/dist/esm/ion-button_14.entry.js +2214 -0
- package/dist/esm/ion-card-content_6.entry.js +51 -41
- package/dist/esm/ion-card-subtitle.entry.js +7 -4
- package/dist/esm/ion-card_2.entry.js +21 -15
- package/dist/esm/ion-chip.entry.js +15 -6
- package/dist/esm/ion-datetime-button.entry.js +308 -0
- package/dist/esm/ion-datetime_4.entry.js +2577 -0
- package/dist/esm/ion-fab-button.entry.js +43 -9
- package/dist/esm/ion-fab-list.entry.js +4 -4
- package/dist/esm/ion-fab.entry.js +15 -13
- package/dist/esm/ion-footer.entry.js +137 -7
- package/dist/esm/ion-img.entry.js +38 -9
- package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
- package/dist/esm/ion-infinite-scroll.entry.js +13 -13
- package/dist/esm/ion-input_2.entry.js +102 -23
- package/dist/esm/ion-item-divider.entry.js +8 -4
- package/dist/esm/ion-item-group.entry.js +3 -3
- package/dist/esm/ion-item-option.entry.js +13 -8
- package/dist/esm/ion-item-options.entry.js +5 -5
- package/dist/esm/ion-item-sliding.entry.js +69 -30
- package/dist/esm/ion-loading.entry.js +92 -90
- package/dist/esm/ion-menu-button.entry.js +27 -12
- package/dist/esm/ion-menu-toggle.entry.js +7 -7
- package/dist/esm/ion-menu.entry.js +172 -53
- package/dist/esm/ion-modal.entry.js +1509 -310
- package/dist/esm/ion-nav-link.entry.js +23 -20
- package/dist/esm/ion-nav.entry.js +284 -224
- package/dist/esm/ion-picker-column.entry.js +31 -27
- package/dist/esm/ion-picker.entry.js +59 -52
- package/dist/esm/ion-progress-bar.entry.js +23 -16
- package/dist/esm/ion-range.entry.js +182 -62
- package/dist/esm/ion-refresher-content.entry.js +7 -12
- package/dist/esm/ion-refresher.entry.js +263 -292
- package/dist/esm/ion-reorder-group.entry.js +19 -19
- package/dist/esm/ion-reorder.entry.js +12 -5
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +9 -6
- package/dist/esm/ion-router-outlet.entry.js +65 -25
- package/dist/esm/ion-router.entry.js +598 -398
- package/dist/esm/ion-segment_16.entry.js +172 -47
- package/dist/esm/ion-slide.entry.js +3 -3
- package/dist/esm/ion-slides.entry.js +38 -51
- package/dist/esm/ion-spinner.entry.js +12 -8
- package/dist/esm/ion-split-pane.entry.js +16 -12
- package/dist/esm/ion-tab-bar.entry.js +24 -15
- package/dist/esm/ion-tab-button.entry.js +11 -7
- package/dist/esm/ion-tab.entry.js +4 -3
- package/dist/esm/ion-tabs.entry.js +4 -5
- package/dist/esm/ion-text.entry.js +6 -4
- package/dist/esm/ion-textarea.entry.js +67 -36
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +105 -113
- package/dist/esm/ion-virtual-scroll.entry.js +239 -228
- package/dist/esm/ionic-global-24253941.js +225 -0
- package/dist/esm/ios.transition-971db583.js +479 -0
- package/dist/esm/keyboard-7e8329b3.js +128 -0
- package/dist/esm/ldf-day-name_5.entry.js +7 -7
- package/dist/esm/ldf-editable-add-block-menu.entry.js +1 -1
- package/dist/esm/ldf-editable-boolean_2.entry.js +124 -0
- package/dist/esm/ldf-editable-condition-piece.entry.js +5 -2
- package/dist/esm/ldf-editable-condition.entry.js +1 -1
- package/dist/esm/ldf-editable-filter-documents.entry.js +1 -1
- package/dist/esm/ldf-editable-lookup_2.entry.js +1 -1
- package/dist/esm/ldf-editable-metadata.entry.js +1 -1
- package/dist/esm/ldf-editable-preference-option.entry.js +1 -1
- package/dist/esm/ldf-editable-preference.entry.js +1 -1
- package/dist/esm/ldf-editable-preferences.entry.js +5 -4
- package/dist/esm/ldf-editable-string-list.entry.js +3 -2
- package/dist/esm/ldf-editor-cursors.entry.js +1 -1
- package/dist/esm/ldf-editor.entry.js +1 -1
- package/dist/esm/ldf.js +5 -5
- package/dist/esm/loader.js +5 -5
- package/dist/esm/md.transition-e0dd51e0.js +55 -0
- package/dist/esm/menu-toggle-util-22353199.js +12 -0
- package/dist/esm/overlays-59377e10.js +492 -0
- package/dist/esm/parse-9ce69067.js +1260 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/spinner-configs-a37e628a.js +145 -0
- package/dist/esm/status-tap-39682200.js +40 -0
- package/dist/esm/swipe-back-cac0fc31.js +74 -0
- package/dist/esm/{swiper.bundle-13b9da83.js → swiper.bundle-b6a959de.js} +260 -86
- package/dist/esm/theme-7ef00c83.js +43 -0
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/p-011c0279.js +4 -0
- package/dist/ldf/p-01454f1d.entry.js +1 -0
- package/dist/ldf/p-05c32d13.entry.js +1 -0
- package/dist/ldf/{p-aeaa99ba.entry.js → p-06480ead.entry.js} +1 -1
- package/dist/ldf/{p-78da8fe1.js → p-076f0239.js} +3 -0
- package/dist/ldf/p-0aca5787.entry.js +1 -0
- package/dist/ldf/p-0bd969ec.entry.js +1 -0
- package/dist/ldf/p-0d66aa76.entry.js +1 -0
- package/dist/ldf/p-0e4de1d0.js +4 -0
- package/dist/ldf/p-0f1ea192.js +4 -0
- package/dist/ldf/p-0f92b1b7.entry.js +1 -0
- package/dist/ldf/p-12ee702d.entry.js +7 -0
- package/dist/ldf/p-14744625.js +4 -0
- package/dist/ldf/{p-6fe24d85.entry.js → p-16c0303d.entry.js} +1 -1
- package/dist/ldf/p-23ba057c.entry.js +4 -0
- package/dist/ldf/p-252f09bb.entry.js +7 -0
- package/dist/ldf/{p-1411d9f8.entry.js → p-25fb58d0.entry.js} +1 -1
- package/dist/ldf/p-27bcb5ae.entry.js +1 -0
- package/dist/ldf/p-28c57ab2.entry.js +1 -0
- package/dist/ldf/p-2aae7b1d.js +5 -0
- package/dist/ldf/p-2d75b171.entry.js +1 -0
- package/dist/ldf/p-35c5e6ed.js +4 -0
- package/dist/ldf/p-371e3c25.js +1 -0
- package/dist/ldf/p-37b167f9.entry.js +5 -0
- package/dist/ldf/p-39b04d83.entry.js +1 -0
- package/dist/ldf/p-3bd0921b.entry.js +1 -0
- package/dist/ldf/p-41a3d41c.entry.js +1 -0
- package/dist/ldf/p-421481d2.js +1 -0
- package/dist/ldf/p-463c08f0.entry.js +1 -0
- package/dist/ldf/p-477b1f19.entry.js +7 -0
- package/dist/ldf/p-4aeedb04.js +4 -0
- package/dist/ldf/{p-70e47f8b.entry.js → p-4bdbb2e9.entry.js} +1 -1
- package/dist/ldf/p-4c623761.entry.js +4 -0
- package/dist/ldf/{p-177ede88.js → p-4d4077ea.js} +3 -0
- package/dist/ldf/p-4d92cd8f.entry.js +1 -0
- package/dist/ldf/{p-5906d820.entry.js → p-4ecb68ed.entry.js} +1 -1
- package/dist/ldf/p-506221fe.js +4 -0
- package/dist/ldf/p-554d477d.js +4 -0
- package/dist/ldf/p-5aeeffc1.entry.js +1 -0
- package/dist/ldf/p-5cd022a2.entry.js +1 -0
- package/dist/ldf/{p-c77ba7ad.entry.js → p-5e7c2a87.entry.js} +1 -1
- package/dist/ldf/p-604a7987.js +4 -0
- package/dist/ldf/p-63030685.entry.js +1 -0
- package/dist/ldf/p-6444fbf7.entry.js +4 -0
- package/dist/ldf/{p-0f706bcd.entry.js → p-6677c236.entry.js} +1 -1
- package/dist/ldf/{p-07d6d3ad.entry.js → p-683be896.entry.js} +1 -1
- package/dist/ldf/{p-c3807857.entry.js → p-6bde308b.entry.js} +1 -1
- package/dist/ldf/p-6c98ad19.entry.js +1 -0
- package/dist/ldf/p-7029115d.js +4 -0
- package/dist/ldf/p-787f82be.entry.js +1 -0
- package/dist/ldf/p-7b1975f8.entry.js +7 -0
- package/dist/ldf/p-7d8427eb.js +4 -0
- package/dist/ldf/p-7dbfc316.js +1 -0
- package/dist/ldf/p-7e55016b.entry.js +1 -0
- package/dist/ldf/p-7e7ce516.js +4 -0
- package/dist/ldf/p-814a5a13.js +2 -0
- package/dist/ldf/p-81b0dc47.entry.js +1 -0
- package/dist/ldf/p-81e57a8c.entry.js +1 -0
- package/dist/ldf/p-8311f0dc.entry.js +4 -0
- package/dist/ldf/{p-84ab4f0c.entry.js → p-83ec2b27.entry.js} +1 -1
- package/dist/ldf/p-851881fb.entry.js +1 -0
- package/dist/ldf/p-8582914d.entry.js +1 -0
- package/dist/ldf/{p-ea66c343.entry.js → p-8d4a57f4.entry.js} +1 -1
- package/dist/ldf/p-924b2917.js +4 -0
- package/dist/ldf/p-924f3f49.js +4 -0
- package/dist/ldf/p-95c875aa.entry.js +1 -0
- package/dist/ldf/p-963ace47.entry.js +1 -0
- package/dist/ldf/p-98bed85f.entry.js +1 -0
- package/dist/ldf/p-98f56fbf.entry.js +21 -0
- package/dist/ldf/p-9a866be1.js +4 -0
- package/dist/ldf/p-a15235e5.entry.js +1 -0
- package/dist/ldf/{p-d195c957.entry.js → p-a2af4e4a.entry.js} +1 -1
- package/dist/ldf/p-a4c2fe67.entry.js +1 -0
- package/dist/ldf/p-a7f912f0.js +4 -0
- package/dist/ldf/{p-dc445c36.entry.js → p-ad00fdd0.entry.js} +1 -1
- package/dist/ldf/p-ad0bf896.entry.js +1 -0
- package/dist/ldf/p-add30d46.js +4 -0
- package/dist/ldf/p-b78117ea.js +4 -0
- package/dist/ldf/p-b791c821.entry.js +1 -0
- package/dist/ldf/p-b7c33573.js +4 -0
- package/dist/ldf/p-bcb0ac1a.entry.js +1 -0
- package/dist/ldf/p-bf0050d8.entry.js +1 -0
- package/dist/ldf/p-c0777dea.js +4 -0
- package/dist/ldf/p-c30ef23d.entry.js +1 -0
- package/dist/ldf/{p-b7388aec.entry.js → p-c394b5c0.entry.js} +1 -1
- package/dist/ldf/p-c5583a99.entry.js +1 -0
- package/dist/ldf/p-c6d911c3.entry.js +1 -0
- package/dist/ldf/{p-c6163f81.entry.js → p-ce2e4949.entry.js} +1 -1
- package/dist/ldf/p-d0088940.js +4 -0
- package/dist/ldf/p-d0606e37.entry.js +7 -0
- package/dist/ldf/p-d06a35ea.js +7 -0
- package/dist/ldf/p-d289236b.entry.js +1 -0
- package/dist/ldf/p-de8a07a7.entry.js +5 -0
- package/dist/ldf/p-df5eb5f6.entry.js +1 -0
- package/dist/ldf/p-e23817f2.entry.js +1 -0
- package/dist/ldf/{p-8932ec85.entry.js → p-e2f62b3b.entry.js} +1 -1
- package/dist/ldf/p-e6ca76b2.entry.js +1 -0
- package/dist/ldf/p-e8ce0eea.entry.js +1 -0
- package/dist/ldf/{p-791369ff.entry.js → p-e930dae9.entry.js} +1 -1
- package/dist/ldf/p-e9431eeb.js +7 -0
- package/dist/ldf/p-e9aa89e8.entry.js +4 -0
- package/dist/ldf/p-ee42b36f.entry.js +1 -0
- package/dist/ldf/p-ef9aa667.entry.js +1 -0
- package/dist/ldf/p-f18e0f91.entry.js +7 -0
- package/dist/ldf/p-f3cba72a.js +4 -0
- package/dist/ldf/p-f503561a.entry.js +1 -0
- package/dist/ldf/p-f67dae27.entry.js +1 -0
- package/dist/ldf/p-f6e844e9.entry.js +1 -0
- package/dist/ldf/p-fdd761c5.entry.js +1 -0
- package/dist/ldf/p-fed23985.js +4 -0
- package/dist/ldf/p-ff287d5e.js +4 -0
- package/dist/ldf/svg/accessibility-outline.svg +1 -0
- package/dist/ldf/svg/accessibility-sharp.svg +1 -0
- package/dist/ldf/svg/accessibility.svg +1 -0
- package/dist/ldf/svg/add-circle-outline.svg +1 -1
- package/dist/ldf/svg/add-circle-sharp.svg +1 -1
- package/dist/ldf/svg/add-circle.svg +1 -1
- package/dist/ldf/svg/add-outline.svg +1 -1
- package/dist/ldf/svg/add-sharp.svg +1 -1
- package/dist/ldf/svg/add.svg +1 -1
- package/dist/ldf/svg/airplane-outline.svg +1 -1
- package/dist/ldf/svg/airplane-sharp.svg +1 -1
- package/dist/ldf/svg/airplane.svg +1 -1
- package/dist/ldf/svg/alarm-outline.svg +1 -1
- package/dist/ldf/svg/alarm-sharp.svg +1 -1
- package/dist/ldf/svg/alarm.svg +1 -1
- package/dist/ldf/svg/albums-outline.svg +1 -1
- package/dist/ldf/svg/albums-sharp.svg +1 -1
- package/dist/ldf/svg/albums.svg +1 -1
- package/dist/ldf/svg/alert-circle-outline.svg +1 -1
- package/dist/ldf/svg/alert-circle-sharp.svg +1 -1
- package/dist/ldf/svg/alert-circle.svg +1 -1
- package/dist/ldf/svg/alert-outline.svg +1 -1
- package/dist/ldf/svg/alert-sharp.svg +1 -1
- package/dist/ldf/svg/alert.svg +1 -1
- package/dist/ldf/svg/american-football-outline.svg +1 -1
- package/dist/ldf/svg/american-football-sharp.svg +1 -1
- package/dist/ldf/svg/american-football.svg +1 -1
- package/dist/ldf/svg/analytics-outline.svg +1 -1
- package/dist/ldf/svg/analytics-sharp.svg +1 -1
- package/dist/ldf/svg/analytics.svg +1 -1
- package/dist/ldf/svg/aperture-outline.svg +1 -1
- package/dist/ldf/svg/aperture-sharp.svg +1 -1
- package/dist/ldf/svg/aperture.svg +1 -1
- package/dist/ldf/svg/apps-outline.svg +1 -1
- package/dist/ldf/svg/apps-sharp.svg +1 -1
- package/dist/ldf/svg/apps.svg +1 -1
- package/dist/ldf/svg/archive-outline.svg +1 -1
- package/dist/ldf/svg/archive-sharp.svg +1 -1
- package/dist/ldf/svg/archive.svg +1 -1
- package/dist/ldf/svg/arrow-back-circle-outline.svg +1 -1
- package/dist/ldf/svg/arrow-back-circle-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-back-circle.svg +1 -1
- package/dist/ldf/svg/arrow-back-outline.svg +1 -1
- package/dist/ldf/svg/arrow-back-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-back.svg +1 -1
- package/dist/ldf/svg/arrow-down-circle-outline.svg +1 -1
- package/dist/ldf/svg/arrow-down-circle-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-down-circle.svg +1 -1
- package/dist/ldf/svg/arrow-down-outline.svg +1 -1
- package/dist/ldf/svg/arrow-down-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-down.svg +1 -1
- package/dist/ldf/svg/arrow-forward-circle-outline.svg +1 -1
- package/dist/ldf/svg/arrow-forward-circle-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-forward-circle.svg +1 -1
- package/dist/ldf/svg/arrow-forward-outline.svg +1 -1
- package/dist/ldf/svg/arrow-forward-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-forward.svg +1 -1
- package/dist/ldf/svg/arrow-redo-circle-outline.svg +1 -1
- package/dist/ldf/svg/arrow-redo-circle-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-redo-circle.svg +1 -1
- package/dist/ldf/svg/arrow-redo-outline.svg +1 -1
- package/dist/ldf/svg/arrow-redo-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-redo.svg +1 -1
- package/dist/ldf/svg/arrow-undo-circle-outline.svg +1 -1
- package/dist/ldf/svg/arrow-undo-circle-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-undo-circle.svg +1 -1
- package/dist/ldf/svg/arrow-undo-outline.svg +1 -1
- package/dist/ldf/svg/arrow-undo-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-undo.svg +1 -1
- package/dist/ldf/svg/arrow-up-circle-outline.svg +1 -1
- package/dist/ldf/svg/arrow-up-circle-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-up-circle.svg +1 -1
- package/dist/ldf/svg/arrow-up-outline.svg +1 -1
- package/dist/ldf/svg/arrow-up-sharp.svg +1 -1
- package/dist/ldf/svg/arrow-up.svg +1 -1
- package/dist/ldf/svg/at-circle-outline.svg +1 -1
- package/dist/ldf/svg/at-circle-sharp.svg +1 -1
- package/dist/ldf/svg/at-circle.svg +1 -1
- package/dist/ldf/svg/at-outline.svg +1 -1
- package/dist/ldf/svg/at-sharp.svg +1 -1
- package/dist/ldf/svg/at.svg +1 -1
- package/dist/ldf/svg/attach-outline.svg +1 -1
- package/dist/ldf/svg/attach-sharp.svg +1 -1
- package/dist/ldf/svg/attach.svg +1 -1
- package/dist/ldf/svg/backspace-outline.svg +1 -1
- package/dist/ldf/svg/backspace-sharp.svg +1 -1
- package/dist/ldf/svg/backspace.svg +1 -1
- package/dist/ldf/svg/bag-add-outline.svg +1 -0
- package/dist/ldf/svg/bag-add-sharp.svg +1 -0
- package/dist/ldf/svg/bag-add.svg +1 -0
- package/dist/ldf/svg/bag-check-outline.svg +1 -0
- package/dist/ldf/svg/bag-check-sharp.svg +1 -0
- package/dist/ldf/svg/bag-check.svg +1 -0
- package/dist/ldf/svg/bag-handle-outline.svg +1 -0
- package/dist/ldf/svg/bag-handle-sharp.svg +1 -0
- package/dist/ldf/svg/bag-handle.svg +1 -0
- package/dist/ldf/svg/bag-outline.svg +1 -0
- package/dist/ldf/svg/bag-remove-outline.svg +1 -0
- package/dist/ldf/svg/bag-remove-sharp.svg +1 -0
- package/dist/ldf/svg/bag-remove.svg +1 -0
- package/dist/ldf/svg/bag-sharp.svg +1 -0
- package/dist/ldf/svg/bag.svg +1 -0
- package/dist/ldf/svg/balloon-outline.svg +1 -0
- package/dist/ldf/svg/balloon-sharp.svg +1 -0
- package/dist/ldf/svg/balloon.svg +1 -0
- package/dist/ldf/svg/ban-outline.svg +1 -0
- package/dist/ldf/svg/ban-sharp.svg +1 -0
- package/dist/ldf/svg/ban.svg +1 -0
- package/dist/ldf/svg/bandage-outline.svg +1 -1
- package/dist/ldf/svg/bandage-sharp.svg +1 -1
- package/dist/ldf/svg/bandage.svg +1 -1
- package/dist/ldf/svg/bar-chart-outline.svg +1 -1
- package/dist/ldf/svg/bar-chart-sharp.svg +1 -1
- package/dist/ldf/svg/bar-chart.svg +1 -1
- package/dist/ldf/svg/barbell-outline.svg +1 -1
- package/dist/ldf/svg/barbell-sharp.svg +1 -1
- package/dist/ldf/svg/barbell.svg +1 -1
- package/dist/ldf/svg/barcode-outline.svg +1 -1
- package/dist/ldf/svg/barcode-sharp.svg +1 -1
- package/dist/ldf/svg/barcode.svg +1 -1
- package/dist/ldf/svg/baseball-outline.svg +1 -1
- package/dist/ldf/svg/baseball-sharp.svg +1 -1
- package/dist/ldf/svg/baseball.svg +1 -1
- package/dist/ldf/svg/basket-outline.svg +1 -1
- package/dist/ldf/svg/basket-sharp.svg +1 -1
- package/dist/ldf/svg/basket.svg +1 -1
- package/dist/ldf/svg/basketball-outline.svg +1 -1
- package/dist/ldf/svg/basketball-sharp.svg +1 -1
- package/dist/ldf/svg/basketball.svg +1 -1
- package/dist/ldf/svg/battery-charging-outline.svg +1 -1
- package/dist/ldf/svg/battery-charging-sharp.svg +1 -1
- package/dist/ldf/svg/battery-charging.svg +1 -1
- package/dist/ldf/svg/battery-dead-outline.svg +1 -1
- package/dist/ldf/svg/battery-dead-sharp.svg +1 -1
- package/dist/ldf/svg/battery-dead.svg +1 -1
- package/dist/ldf/svg/battery-full-outline.svg +1 -1
- package/dist/ldf/svg/battery-full-sharp.svg +1 -1
- package/dist/ldf/svg/battery-full.svg +1 -1
- package/dist/ldf/svg/battery-half-outline.svg +1 -1
- package/dist/ldf/svg/battery-half-sharp.svg +1 -1
- package/dist/ldf/svg/battery-half.svg +1 -1
- package/dist/ldf/svg/beaker-outline.svg +1 -1
- package/dist/ldf/svg/beaker-sharp.svg +1 -1
- package/dist/ldf/svg/beaker.svg +1 -1
- package/dist/ldf/svg/bed-outline.svg +1 -1
- package/dist/ldf/svg/bed-sharp.svg +1 -1
- package/dist/ldf/svg/bed.svg +1 -1
- package/dist/ldf/svg/beer-outline.svg +1 -1
- package/dist/ldf/svg/beer-sharp.svg +1 -1
- package/dist/ldf/svg/beer.svg +1 -1
- package/dist/ldf/svg/bicycle-outline.svg +1 -1
- package/dist/ldf/svg/bicycle-sharp.svg +1 -1
- package/dist/ldf/svg/bicycle.svg +1 -1
- package/dist/ldf/svg/bluetooth-outline.svg +1 -1
- package/dist/ldf/svg/bluetooth-sharp.svg +1 -1
- package/dist/ldf/svg/bluetooth.svg +1 -1
- package/dist/ldf/svg/boat-outline.svg +1 -1
- package/dist/ldf/svg/boat-sharp.svg +1 -1
- package/dist/ldf/svg/boat.svg +1 -1
- package/dist/ldf/svg/body-outline.svg +1 -1
- package/dist/ldf/svg/body-sharp.svg +1 -1
- package/dist/ldf/svg/body.svg +1 -1
- package/dist/ldf/svg/bonfire-outline.svg +1 -1
- package/dist/ldf/svg/bonfire-sharp.svg +1 -1
- package/dist/ldf/svg/bonfire.svg +1 -1
- package/dist/ldf/svg/book-outline.svg +1 -1
- package/dist/ldf/svg/book-sharp.svg +1 -1
- package/dist/ldf/svg/book.svg +1 -1
- package/dist/ldf/svg/bookmark-outline.svg +1 -1
- package/dist/ldf/svg/bookmark-sharp.svg +1 -1
- package/dist/ldf/svg/bookmark.svg +1 -1
- package/dist/ldf/svg/bookmarks-outline.svg +1 -1
- package/dist/ldf/svg/bookmarks-sharp.svg +1 -1
- package/dist/ldf/svg/bookmarks.svg +1 -1
- package/dist/ldf/svg/bowling-ball-outline.svg +1 -0
- package/dist/ldf/svg/bowling-ball-sharp.svg +1 -0
- package/dist/ldf/svg/bowling-ball.svg +1 -0
- package/dist/ldf/svg/briefcase-outline.svg +1 -1
- package/dist/ldf/svg/briefcase-sharp.svg +1 -1
- package/dist/ldf/svg/briefcase.svg +1 -1
- package/dist/ldf/svg/browsers-outline.svg +1 -1
- package/dist/ldf/svg/browsers-sharp.svg +1 -1
- package/dist/ldf/svg/browsers.svg +1 -1
- package/dist/ldf/svg/brush-outline.svg +1 -1
- package/dist/ldf/svg/brush-sharp.svg +1 -1
- package/dist/ldf/svg/brush.svg +1 -1
- package/dist/ldf/svg/bug-outline.svg +1 -1
- package/dist/ldf/svg/bug-sharp.svg +1 -1
- package/dist/ldf/svg/bug.svg +1 -1
- package/dist/ldf/svg/build-outline.svg +1 -1
- package/dist/ldf/svg/build-sharp.svg +1 -1
- package/dist/ldf/svg/build.svg +1 -1
- package/dist/ldf/svg/bulb-outline.svg +1 -1
- package/dist/ldf/svg/bulb-sharp.svg +1 -1
- package/dist/ldf/svg/bulb.svg +1 -1
- package/dist/ldf/svg/bus-outline.svg +1 -1
- package/dist/ldf/svg/bus-sharp.svg +1 -1
- package/dist/ldf/svg/bus.svg +1 -1
- package/dist/ldf/svg/business-outline.svg +1 -1
- package/dist/ldf/svg/business-sharp.svg +1 -1
- package/dist/ldf/svg/business.svg +1 -1
- package/dist/ldf/svg/cafe-outline.svg +1 -1
- package/dist/ldf/svg/cafe-sharp.svg +1 -1
- package/dist/ldf/svg/cafe.svg +1 -1
- package/dist/ldf/svg/calculator-outline.svg +1 -1
- package/dist/ldf/svg/calculator-sharp.svg +1 -1
- package/dist/ldf/svg/calculator.svg +1 -1
- package/dist/ldf/svg/calendar-clear-outline.svg +1 -0
- package/dist/ldf/svg/calendar-clear-sharp.svg +1 -0
- package/dist/ldf/svg/calendar-clear.svg +1 -0
- package/dist/ldf/svg/calendar-number-outline.svg +1 -0
- package/dist/ldf/svg/calendar-number-sharp.svg +1 -0
- package/dist/ldf/svg/calendar-number.svg +1 -0
- package/dist/ldf/svg/calendar-outline.svg +1 -1
- package/dist/ldf/svg/calendar-sharp.svg +1 -1
- package/dist/ldf/svg/calendar.svg +1 -1
- package/dist/ldf/svg/call-outline.svg +1 -1
- package/dist/ldf/svg/call-sharp.svg +1 -1
- package/dist/ldf/svg/call.svg +1 -1
- package/dist/ldf/svg/camera-outline.svg +1 -1
- package/dist/ldf/svg/camera-reverse-outline.svg +1 -1
- package/dist/ldf/svg/camera-reverse-sharp.svg +1 -1
- package/dist/ldf/svg/camera-reverse.svg +1 -1
- package/dist/ldf/svg/camera-sharp.svg +1 -1
- package/dist/ldf/svg/camera.svg +1 -1
- package/dist/ldf/svg/car-outline.svg +1 -1
- package/dist/ldf/svg/car-sharp.svg +1 -1
- package/dist/ldf/svg/car-sport-outline.svg +1 -1
- package/dist/ldf/svg/car-sport-sharp.svg +1 -1
- package/dist/ldf/svg/car-sport.svg +1 -1
- package/dist/ldf/svg/car.svg +1 -1
- package/dist/ldf/svg/card-outline.svg +1 -1
- package/dist/ldf/svg/card-sharp.svg +1 -1
- package/dist/ldf/svg/card.svg +1 -1
- package/dist/ldf/svg/caret-back-circle-outline.svg +1 -1
- package/dist/ldf/svg/caret-back-circle-sharp.svg +1 -1
- package/dist/ldf/svg/caret-back-circle.svg +1 -1
- package/dist/ldf/svg/caret-back-outline.svg +1 -1
- package/dist/ldf/svg/caret-back-sharp.svg +1 -1
- package/dist/ldf/svg/caret-back.svg +1 -1
- package/dist/ldf/svg/caret-down-circle-outline.svg +1 -1
- package/dist/ldf/svg/caret-down-circle-sharp.svg +1 -1
- package/dist/ldf/svg/caret-down-circle.svg +1 -1
- package/dist/ldf/svg/caret-down-outline.svg +1 -1
- package/dist/ldf/svg/caret-down-sharp.svg +1 -1
- package/dist/ldf/svg/caret-down.svg +1 -1
- package/dist/ldf/svg/caret-forward-circle-outline.svg +1 -1
- package/dist/ldf/svg/caret-forward-circle-sharp.svg +1 -1
- package/dist/ldf/svg/caret-forward-circle.svg +1 -1
- package/dist/ldf/svg/caret-forward-outline.svg +1 -1
- package/dist/ldf/svg/caret-forward-sharp.svg +1 -1
- package/dist/ldf/svg/caret-forward.svg +1 -1
- package/dist/ldf/svg/caret-up-circle-outline.svg +1 -1
- package/dist/ldf/svg/caret-up-circle-sharp.svg +1 -1
- package/dist/ldf/svg/caret-up-circle.svg +1 -1
- package/dist/ldf/svg/caret-up-outline.svg +1 -1
- package/dist/ldf/svg/caret-up-sharp.svg +1 -1
- package/dist/ldf/svg/caret-up.svg +1 -1
- package/dist/ldf/svg/cart-outline.svg +1 -1
- package/dist/ldf/svg/cart-sharp.svg +1 -1
- package/dist/ldf/svg/cart.svg +1 -1
- package/dist/ldf/svg/cash-outline.svg +1 -1
- package/dist/ldf/svg/cash-sharp.svg +1 -1
- package/dist/ldf/svg/cash.svg +1 -1
- package/dist/ldf/svg/cellular-outline.svg +1 -1
- package/dist/ldf/svg/cellular-sharp.svg +1 -1
- package/dist/ldf/svg/cellular.svg +1 -1
- package/dist/ldf/svg/chatbox-ellipses-outline.svg +1 -1
- package/dist/ldf/svg/chatbox-ellipses-sharp.svg +1 -1
- package/dist/ldf/svg/chatbox-ellipses.svg +1 -1
- package/dist/ldf/svg/chatbox-outline.svg +1 -1
- package/dist/ldf/svg/chatbox-sharp.svg +1 -1
- package/dist/ldf/svg/chatbox.svg +1 -1
- package/dist/ldf/svg/chatbubble-ellipses-outline.svg +1 -1
- package/dist/ldf/svg/chatbubble-ellipses-sharp.svg +1 -1
- package/dist/ldf/svg/chatbubble-ellipses.svg +1 -1
- package/dist/ldf/svg/chatbubble-outline.svg +1 -1
- package/dist/ldf/svg/chatbubble-sharp.svg +1 -1
- package/dist/ldf/svg/chatbubble.svg +1 -1
- package/dist/ldf/svg/chatbubbles-outline.svg +1 -1
- package/dist/ldf/svg/chatbubbles-sharp.svg +1 -1
- package/dist/ldf/svg/chatbubbles.svg +1 -1
- package/dist/ldf/svg/checkbox-outline.svg +1 -1
- package/dist/ldf/svg/checkbox-sharp.svg +1 -1
- package/dist/ldf/svg/checkbox.svg +1 -1
- package/dist/ldf/svg/checkmark-circle-outline.svg +1 -1
- package/dist/ldf/svg/checkmark-circle-sharp.svg +1 -1
- package/dist/ldf/svg/checkmark-circle.svg +1 -1
- package/dist/ldf/svg/checkmark-done-circle-outline.svg +1 -1
- package/dist/ldf/svg/checkmark-done-circle-sharp.svg +1 -1
- package/dist/ldf/svg/checkmark-done-circle.svg +1 -1
- package/dist/ldf/svg/checkmark-done-outline.svg +1 -1
- package/dist/ldf/svg/checkmark-done-sharp.svg +1 -1
- package/dist/ldf/svg/checkmark-done.svg +1 -1
- package/dist/ldf/svg/checkmark-outline.svg +1 -1
- package/dist/ldf/svg/checkmark-sharp.svg +1 -1
- package/dist/ldf/svg/checkmark.svg +1 -1
- package/dist/ldf/svg/chevron-back-circle-outline.svg +1 -1
- package/dist/ldf/svg/chevron-back-circle-sharp.svg +1 -1
- package/dist/ldf/svg/chevron-back-circle.svg +1 -1
- package/dist/ldf/svg/chevron-back-outline.svg +1 -1
- package/dist/ldf/svg/chevron-back-sharp.svg +1 -1
- package/dist/ldf/svg/chevron-back.svg +1 -1
- package/dist/ldf/svg/chevron-down-circle-outline.svg +1 -1
- package/dist/ldf/svg/chevron-down-circle-sharp.svg +1 -1
- package/dist/ldf/svg/chevron-down-circle.svg +1 -1
- package/dist/ldf/svg/chevron-down-outline.svg +1 -1
- package/dist/ldf/svg/chevron-down-sharp.svg +1 -1
- package/dist/ldf/svg/chevron-down.svg +1 -1
- package/dist/ldf/svg/chevron-forward-circle-outline.svg +1 -1
- package/dist/ldf/svg/chevron-forward-circle-sharp.svg +1 -1
- package/dist/ldf/svg/chevron-forward-circle.svg +1 -1
- package/dist/ldf/svg/chevron-forward-outline.svg +1 -1
- package/dist/ldf/svg/chevron-forward-sharp.svg +1 -1
- package/dist/ldf/svg/chevron-forward.svg +1 -1
- package/dist/ldf/svg/chevron-up-circle-outline.svg +1 -1
- package/dist/ldf/svg/chevron-up-circle-sharp.svg +1 -1
- package/dist/ldf/svg/chevron-up-circle.svg +1 -1
- package/dist/ldf/svg/chevron-up-outline.svg +1 -1
- package/dist/ldf/svg/chevron-up-sharp.svg +1 -1
- package/dist/ldf/svg/chevron-up.svg +1 -1
- package/dist/ldf/svg/clipboard-outline.svg +1 -1
- package/dist/ldf/svg/clipboard-sharp.svg +1 -1
- package/dist/ldf/svg/clipboard.svg +1 -1
- package/dist/ldf/svg/close-circle-outline.svg +1 -1
- package/dist/ldf/svg/close-circle-sharp.svg +1 -1
- package/dist/ldf/svg/close-circle.svg +1 -1
- package/dist/ldf/svg/close-outline.svg +1 -1
- package/dist/ldf/svg/close-sharp.svg +1 -1
- package/dist/ldf/svg/close.svg +1 -1
- package/dist/ldf/svg/cloud-circle-outline.svg +1 -1
- package/dist/ldf/svg/cloud-circle-sharp.svg +1 -1
- package/dist/ldf/svg/cloud-circle.svg +1 -1
- package/dist/ldf/svg/cloud-done-outline.svg +1 -1
- package/dist/ldf/svg/cloud-done-sharp.svg +1 -1
- package/dist/ldf/svg/cloud-done.svg +1 -1
- package/dist/ldf/svg/cloud-download-outline.svg +1 -1
- package/dist/ldf/svg/cloud-download-sharp.svg +1 -1
- package/dist/ldf/svg/cloud-download.svg +1 -1
- package/dist/ldf/svg/cloud-offline-outline.svg +1 -1
- package/dist/ldf/svg/cloud-offline-sharp.svg +1 -1
- package/dist/ldf/svg/cloud-offline.svg +1 -1
- package/dist/ldf/svg/cloud-outline.svg +1 -1
- package/dist/ldf/svg/cloud-sharp.svg +1 -1
- package/dist/ldf/svg/cloud-upload-outline.svg +1 -1
- package/dist/ldf/svg/cloud-upload-sharp.svg +1 -1
- package/dist/ldf/svg/cloud-upload.svg +1 -1
- package/dist/ldf/svg/cloud.svg +1 -1
- package/dist/ldf/svg/cloudy-night-outline.svg +1 -1
- package/dist/ldf/svg/cloudy-night-sharp.svg +1 -1
- package/dist/ldf/svg/cloudy-night.svg +1 -1
- package/dist/ldf/svg/cloudy-outline.svg +1 -1
- package/dist/ldf/svg/cloudy-sharp.svg +1 -1
- package/dist/ldf/svg/cloudy.svg +1 -1
- package/dist/ldf/svg/code-download-outline.svg +1 -1
- package/dist/ldf/svg/code-download-sharp.svg +1 -1
- package/dist/ldf/svg/code-download.svg +1 -1
- package/dist/ldf/svg/code-outline.svg +1 -1
- package/dist/ldf/svg/code-sharp.svg +1 -1
- package/dist/ldf/svg/code-slash-outline.svg +1 -1
- package/dist/ldf/svg/code-slash-sharp.svg +1 -1
- package/dist/ldf/svg/code-slash.svg +1 -1
- package/dist/ldf/svg/code-working-outline.svg +1 -1
- package/dist/ldf/svg/code-working-sharp.svg +1 -1
- package/dist/ldf/svg/code-working.svg +1 -1
- package/dist/ldf/svg/code.svg +1 -1
- package/dist/ldf/svg/cog-outline.svg +1 -1
- package/dist/ldf/svg/cog-sharp.svg +1 -1
- package/dist/ldf/svg/cog.svg +1 -1
- package/dist/ldf/svg/color-fill-outline.svg +1 -1
- package/dist/ldf/svg/color-fill-sharp.svg +1 -1
- package/dist/ldf/svg/color-fill.svg +1 -1
- package/dist/ldf/svg/color-filter-outline.svg +1 -1
- package/dist/ldf/svg/color-filter-sharp.svg +1 -1
- package/dist/ldf/svg/color-filter.svg +1 -1
- package/dist/ldf/svg/color-palette-outline.svg +1 -1
- package/dist/ldf/svg/color-palette-sharp.svg +1 -1
- package/dist/ldf/svg/color-palette.svg +1 -1
- package/dist/ldf/svg/color-wand-outline.svg +1 -1
- package/dist/ldf/svg/color-wand-sharp.svg +1 -1
- package/dist/ldf/svg/color-wand.svg +1 -1
- package/dist/ldf/svg/compass-outline.svg +1 -1
- package/dist/ldf/svg/compass-sharp.svg +1 -1
- package/dist/ldf/svg/compass.svg +1 -1
- package/dist/ldf/svg/construct-outline.svg +1 -1
- package/dist/ldf/svg/construct-sharp.svg +1 -1
- package/dist/ldf/svg/construct.svg +1 -1
- package/dist/ldf/svg/contract-outline.svg +1 -1
- package/dist/ldf/svg/contract-sharp.svg +1 -1
- package/dist/ldf/svg/contract.svg +1 -1
- package/dist/ldf/svg/contrast-outline.svg +1 -1
- package/dist/ldf/svg/contrast-sharp.svg +1 -1
- package/dist/ldf/svg/contrast.svg +1 -1
- package/dist/ldf/svg/copy-outline.svg +1 -1
- package/dist/ldf/svg/copy-sharp.svg +1 -1
- package/dist/ldf/svg/copy.svg +1 -1
- package/dist/ldf/svg/create-outline.svg +1 -1
- package/dist/ldf/svg/create-sharp.svg +1 -1
- package/dist/ldf/svg/create.svg +1 -1
- package/dist/ldf/svg/crop-outline.svg +1 -1
- package/dist/ldf/svg/crop-sharp.svg +1 -1
- package/dist/ldf/svg/crop.svg +1 -1
- package/dist/ldf/svg/cube-outline.svg +1 -1
- package/dist/ldf/svg/cube-sharp.svg +1 -1
- package/dist/ldf/svg/cube.svg +1 -1
- package/dist/ldf/svg/cut-outline.svg +1 -1
- package/dist/ldf/svg/cut-sharp.svg +1 -1
- package/dist/ldf/svg/cut.svg +1 -1
- package/dist/ldf/svg/desktop-outline.svg +1 -1
- package/dist/ldf/svg/desktop-sharp.svg +1 -1
- package/dist/ldf/svg/desktop.svg +1 -1
- package/dist/ldf/svg/diamond-outline.svg +1 -0
- package/dist/ldf/svg/diamond-sharp.svg +1 -0
- package/dist/ldf/svg/diamond.svg +1 -0
- package/dist/ldf/svg/dice-outline.svg +1 -0
- package/dist/ldf/svg/dice-sharp.svg +1 -0
- package/dist/ldf/svg/dice.svg +1 -0
- package/dist/ldf/svg/disc-outline.svg +1 -1
- package/dist/ldf/svg/disc-sharp.svg +1 -1
- package/dist/ldf/svg/disc.svg +1 -1
- package/dist/ldf/svg/document-attach-outline.svg +1 -1
- package/dist/ldf/svg/document-attach-sharp.svg +1 -1
- package/dist/ldf/svg/document-attach.svg +1 -1
- package/dist/ldf/svg/document-lock-outline.svg +1 -0
- package/dist/ldf/svg/document-lock-sharp.svg +1 -0
- package/dist/ldf/svg/document-lock.svg +1 -0
- package/dist/ldf/svg/document-outline.svg +1 -1
- package/dist/ldf/svg/document-sharp.svg +1 -1
- package/dist/ldf/svg/document-text-outline.svg +1 -1
- package/dist/ldf/svg/document-text-sharp.svg +1 -1
- package/dist/ldf/svg/document-text.svg +1 -1
- package/dist/ldf/svg/document.svg +1 -1
- package/dist/ldf/svg/documents-outline.svg +1 -1
- package/dist/ldf/svg/documents-sharp.svg +1 -1
- package/dist/ldf/svg/documents.svg +1 -1
- package/dist/ldf/svg/download-outline.svg +1 -1
- package/dist/ldf/svg/download-sharp.svg +1 -1
- package/dist/ldf/svg/download.svg +1 -1
- package/dist/ldf/svg/duplicate-outline.svg +1 -1
- package/dist/ldf/svg/duplicate-sharp.svg +1 -1
- package/dist/ldf/svg/duplicate.svg +1 -1
- package/dist/ldf/svg/ear-outline.svg +1 -1
- package/dist/ldf/svg/ear-sharp.svg +1 -1
- package/dist/ldf/svg/ear.svg +1 -1
- package/dist/ldf/svg/earth-outline.svg +1 -1
- package/dist/ldf/svg/earth-sharp.svg +1 -1
- package/dist/ldf/svg/earth.svg +1 -1
- package/dist/ldf/svg/easel-outline.svg +1 -1
- package/dist/ldf/svg/easel-sharp.svg +1 -1
- package/dist/ldf/svg/easel.svg +1 -1
- package/dist/ldf/svg/egg-outline.svg +1 -1
- package/dist/ldf/svg/egg-sharp.svg +1 -1
- package/dist/ldf/svg/egg.svg +1 -1
- package/dist/ldf/svg/ellipse-outline.svg +1 -1
- package/dist/ldf/svg/ellipse-sharp.svg +1 -1
- package/dist/ldf/svg/ellipse.svg +1 -1
- package/dist/ldf/svg/ellipsis-horizontal-circle-outline.svg +1 -1
- package/dist/ldf/svg/ellipsis-horizontal-circle-sharp.svg +1 -1
- package/dist/ldf/svg/ellipsis-horizontal-circle.svg +1 -1
- package/dist/ldf/svg/ellipsis-horizontal-outline.svg +1 -1
- package/dist/ldf/svg/ellipsis-horizontal-sharp.svg +1 -1
- package/dist/ldf/svg/ellipsis-horizontal.svg +1 -1
- package/dist/ldf/svg/ellipsis-vertical-circle-outline.svg +1 -1
- package/dist/ldf/svg/ellipsis-vertical-circle-sharp.svg +1 -1
- package/dist/ldf/svg/ellipsis-vertical-circle.svg +1 -1
- package/dist/ldf/svg/ellipsis-vertical-outline.svg +1 -1
- package/dist/ldf/svg/ellipsis-vertical-sharp.svg +1 -1
- package/dist/ldf/svg/ellipsis-vertical.svg +1 -1
- package/dist/ldf/svg/enter-outline.svg +1 -1
- package/dist/ldf/svg/enter-sharp.svg +1 -1
- package/dist/ldf/svg/enter.svg +1 -1
- package/dist/ldf/svg/exit-outline.svg +1 -1
- package/dist/ldf/svg/exit-sharp.svg +1 -1
- package/dist/ldf/svg/exit.svg +1 -1
- package/dist/ldf/svg/expand-outline.svg +1 -1
- package/dist/ldf/svg/expand-sharp.svg +1 -1
- package/dist/ldf/svg/expand.svg +1 -1
- package/dist/ldf/svg/extension-puzzle-outline.svg +1 -0
- package/dist/ldf/svg/extension-puzzle-sharp.svg +1 -0
- package/dist/ldf/svg/extension-puzzle.svg +1 -0
- package/dist/ldf/svg/eye-off-outline.svg +1 -1
- package/dist/ldf/svg/eye-off-sharp.svg +1 -1
- package/dist/ldf/svg/eye-off.svg +1 -1
- package/dist/ldf/svg/eye-outline.svg +1 -1
- package/dist/ldf/svg/eye-sharp.svg +1 -1
- package/dist/ldf/svg/eye.svg +1 -1
- package/dist/ldf/svg/eyedrop-outline.svg +1 -1
- package/dist/ldf/svg/eyedrop-sharp.svg +1 -1
- package/dist/ldf/svg/eyedrop.svg +1 -1
- package/dist/ldf/svg/fast-food-outline.svg +1 -1
- package/dist/ldf/svg/fast-food-sharp.svg +1 -1
- package/dist/ldf/svg/fast-food.svg +1 -1
- package/dist/ldf/svg/female-outline.svg +1 -1
- package/dist/ldf/svg/female-sharp.svg +1 -1
- package/dist/ldf/svg/female.svg +1 -1
- package/dist/ldf/svg/file-tray-full-outline.svg +1 -1
- package/dist/ldf/svg/file-tray-full-sharp.svg +1 -1
- package/dist/ldf/svg/file-tray-full.svg +1 -1
- package/dist/ldf/svg/file-tray-outline.svg +1 -1
- package/dist/ldf/svg/file-tray-sharp.svg +1 -1
- package/dist/ldf/svg/file-tray-stacked-outline.svg +1 -1
- package/dist/ldf/svg/file-tray-stacked-sharp.svg +1 -1
- package/dist/ldf/svg/file-tray-stacked.svg +1 -1
- package/dist/ldf/svg/file-tray.svg +1 -1
- package/dist/ldf/svg/film-outline.svg +1 -1
- package/dist/ldf/svg/film-sharp.svg +1 -1
- package/dist/ldf/svg/film.svg +1 -1
- package/dist/ldf/svg/filter-circle-outline.svg +1 -0
- package/dist/ldf/svg/filter-circle-sharp.svg +1 -0
- package/dist/ldf/svg/filter-circle.svg +1 -0
- package/dist/ldf/svg/filter-outline.svg +1 -1
- package/dist/ldf/svg/filter-sharp.svg +1 -1
- package/dist/ldf/svg/filter.svg +1 -1
- package/dist/ldf/svg/finger-print-outline.svg +1 -1
- package/dist/ldf/svg/finger-print-sharp.svg +1 -1
- package/dist/ldf/svg/finger-print.svg +1 -1
- package/dist/ldf/svg/fish-outline.svg +1 -0
- package/dist/ldf/svg/fish-sharp.svg +1 -0
- package/dist/ldf/svg/fish.svg +1 -0
- package/dist/ldf/svg/fitness-outline.svg +1 -1
- package/dist/ldf/svg/fitness-sharp.svg +1 -1
- package/dist/ldf/svg/fitness.svg +1 -1
- package/dist/ldf/svg/flag-outline.svg +1 -1
- package/dist/ldf/svg/flag-sharp.svg +1 -1
- package/dist/ldf/svg/flag.svg +1 -1
- package/dist/ldf/svg/flame-outline.svg +1 -1
- package/dist/ldf/svg/flame-sharp.svg +1 -1
- package/dist/ldf/svg/flame.svg +1 -1
- package/dist/ldf/svg/flash-off-outline.svg +1 -1
- package/dist/ldf/svg/flash-off-sharp.svg +1 -1
- package/dist/ldf/svg/flash-off.svg +1 -1
- package/dist/ldf/svg/flash-outline.svg +1 -1
- package/dist/ldf/svg/flash-sharp.svg +1 -1
- package/dist/ldf/svg/flash.svg +1 -1
- package/dist/ldf/svg/flashlight-outline.svg +1 -1
- package/dist/ldf/svg/flashlight-sharp.svg +1 -1
- package/dist/ldf/svg/flashlight.svg +1 -1
- package/dist/ldf/svg/flask-outline.svg +1 -1
- package/dist/ldf/svg/flask-sharp.svg +1 -1
- package/dist/ldf/svg/flask.svg +1 -1
- package/dist/ldf/svg/flower-outline.svg +1 -1
- package/dist/ldf/svg/flower-sharp.svg +1 -1
- package/dist/ldf/svg/flower.svg +1 -1
- package/dist/ldf/svg/folder-open-outline.svg +1 -1
- package/dist/ldf/svg/folder-open-sharp.svg +1 -1
- package/dist/ldf/svg/folder-open.svg +1 -1
- package/dist/ldf/svg/folder-outline.svg +1 -1
- package/dist/ldf/svg/folder-sharp.svg +1 -1
- package/dist/ldf/svg/folder.svg +1 -1
- package/dist/ldf/svg/football-outline.svg +1 -1
- package/dist/ldf/svg/football-sharp.svg +1 -1
- package/dist/ldf/svg/football.svg +1 -1
- package/dist/ldf/svg/footsteps-outline.svg +1 -0
- package/dist/ldf/svg/footsteps-sharp.svg +1 -0
- package/dist/ldf/svg/footsteps.svg +1 -0
- package/dist/ldf/svg/funnel-outline.svg +1 -1
- package/dist/ldf/svg/funnel-sharp.svg +1 -1
- package/dist/ldf/svg/funnel.svg +1 -1
- package/dist/ldf/svg/game-controller-outline.svg +1 -1
- package/dist/ldf/svg/game-controller-sharp.svg +1 -1
- package/dist/ldf/svg/game-controller.svg +1 -1
- package/dist/ldf/svg/gift-outline.svg +1 -1
- package/dist/ldf/svg/gift-sharp.svg +1 -1
- package/dist/ldf/svg/gift.svg +1 -1
- package/dist/ldf/svg/git-branch-outline.svg +1 -1
- package/dist/ldf/svg/git-branch-sharp.svg +1 -1
- package/dist/ldf/svg/git-branch.svg +1 -1
- package/dist/ldf/svg/git-commit-outline.svg +1 -1
- package/dist/ldf/svg/git-commit-sharp.svg +1 -1
- package/dist/ldf/svg/git-commit.svg +1 -1
- package/dist/ldf/svg/git-compare-outline.svg +1 -1
- package/dist/ldf/svg/git-compare-sharp.svg +1 -1
- package/dist/ldf/svg/git-compare.svg +1 -1
- package/dist/ldf/svg/git-merge-outline.svg +1 -1
- package/dist/ldf/svg/git-merge-sharp.svg +1 -1
- package/dist/ldf/svg/git-merge.svg +1 -1
- package/dist/ldf/svg/git-network-outline.svg +1 -1
- package/dist/ldf/svg/git-network-sharp.svg +1 -1
- package/dist/ldf/svg/git-network.svg +1 -1
- package/dist/ldf/svg/git-pull-request-outline.svg +1 -1
- package/dist/ldf/svg/git-pull-request-sharp.svg +1 -1
- package/dist/ldf/svg/git-pull-request.svg +1 -1
- package/dist/ldf/svg/glasses-outline.svg +1 -1
- package/dist/ldf/svg/glasses-sharp.svg +1 -1
- package/dist/ldf/svg/glasses.svg +1 -1
- package/dist/ldf/svg/globe-outline.svg +1 -1
- package/dist/ldf/svg/globe-sharp.svg +1 -1
- package/dist/ldf/svg/globe.svg +1 -1
- package/dist/ldf/svg/golf-outline.svg +1 -1
- package/dist/ldf/svg/golf-sharp.svg +1 -1
- package/dist/ldf/svg/golf.svg +1 -1
- package/dist/ldf/svg/grid-outline.svg +1 -1
- package/dist/ldf/svg/grid-sharp.svg +1 -1
- package/dist/ldf/svg/grid.svg +1 -1
- package/dist/ldf/svg/hammer-outline.svg +1 -1
- package/dist/ldf/svg/hammer-sharp.svg +1 -1
- package/dist/ldf/svg/hammer.svg +1 -1
- package/dist/ldf/svg/hand-left-outline.svg +1 -1
- package/dist/ldf/svg/hand-left-sharp.svg +1 -1
- package/dist/ldf/svg/hand-left.svg +1 -1
- package/dist/ldf/svg/hand-right-outline.svg +1 -1
- package/dist/ldf/svg/hand-right-sharp.svg +1 -1
- package/dist/ldf/svg/hand-right.svg +1 -1
- package/dist/ldf/svg/happy-outline.svg +1 -1
- package/dist/ldf/svg/happy-sharp.svg +1 -1
- package/dist/ldf/svg/happy.svg +1 -1
- package/dist/ldf/svg/hardware-chip-outline.svg +1 -1
- package/dist/ldf/svg/hardware-chip-sharp.svg +1 -1
- package/dist/ldf/svg/hardware-chip.svg +1 -1
- package/dist/ldf/svg/headset-outline.svg +1 -1
- package/dist/ldf/svg/headset-sharp.svg +1 -1
- package/dist/ldf/svg/headset.svg +1 -1
- package/dist/ldf/svg/heart-circle-outline.svg +1 -1
- package/dist/ldf/svg/heart-circle-sharp.svg +1 -1
- package/dist/ldf/svg/heart-circle.svg +1 -1
- package/dist/ldf/svg/heart-dislike-circle-outline.svg +1 -1
- package/dist/ldf/svg/heart-dislike-circle-sharp.svg +1 -1
- package/dist/ldf/svg/heart-dislike-circle.svg +1 -1
- package/dist/ldf/svg/heart-dislike-outline.svg +1 -1
- package/dist/ldf/svg/heart-dislike-sharp.svg +1 -1
- package/dist/ldf/svg/heart-dislike.svg +1 -1
- package/dist/ldf/svg/heart-half-outline.svg +1 -1
- package/dist/ldf/svg/heart-half-sharp.svg +1 -1
- package/dist/ldf/svg/heart-half.svg +1 -1
- package/dist/ldf/svg/heart-outline.svg +1 -1
- package/dist/ldf/svg/heart-sharp.svg +1 -1
- package/dist/ldf/svg/heart.svg +1 -1
- package/dist/ldf/svg/help-buoy-outline.svg +1 -1
- package/dist/ldf/svg/help-buoy-sharp.svg +1 -1
- package/dist/ldf/svg/help-buoy.svg +1 -1
- package/dist/ldf/svg/help-circle-outline.svg +1 -1
- package/dist/ldf/svg/help-circle-sharp.svg +1 -1
- package/dist/ldf/svg/help-circle.svg +1 -1
- package/dist/ldf/svg/help-outline.svg +1 -1
- package/dist/ldf/svg/help-sharp.svg +1 -1
- package/dist/ldf/svg/help.svg +1 -1
- package/dist/ldf/svg/home-outline.svg +1 -1
- package/dist/ldf/svg/home-sharp.svg +1 -1
- package/dist/ldf/svg/home.svg +1 -1
- package/dist/ldf/svg/hourglass-outline.svg +1 -1
- package/dist/ldf/svg/hourglass-sharp.svg +1 -1
- package/dist/ldf/svg/hourglass.svg +1 -1
- package/dist/ldf/svg/ice-cream-outline.svg +1 -1
- package/dist/ldf/svg/ice-cream-sharp.svg +1 -1
- package/dist/ldf/svg/ice-cream.svg +1 -1
- package/dist/ldf/svg/id-card-outline.svg +1 -0
- package/dist/ldf/svg/id-card-sharp.svg +1 -0
- package/dist/ldf/svg/id-card.svg +1 -0
- package/dist/ldf/svg/image-outline.svg +1 -1
- package/dist/ldf/svg/image-sharp.svg +1 -1
- package/dist/ldf/svg/image.svg +1 -1
- package/dist/ldf/svg/images-outline.svg +1 -1
- package/dist/ldf/svg/images-sharp.svg +1 -1
- package/dist/ldf/svg/images.svg +1 -1
- package/dist/ldf/svg/infinite-outline.svg +1 -1
- package/dist/ldf/svg/infinite-sharp.svg +1 -1
- package/dist/ldf/svg/infinite.svg +1 -1
- package/dist/ldf/svg/information-circle-outline.svg +1 -1
- package/dist/ldf/svg/information-circle-sharp.svg +1 -1
- package/dist/ldf/svg/information-circle.svg +1 -1
- package/dist/ldf/svg/information-outline.svg +1 -1
- package/dist/ldf/svg/information-sharp.svg +1 -1
- package/dist/ldf/svg/information.svg +1 -1
- package/dist/ldf/svg/invert-mode-outline.svg +1 -0
- package/dist/ldf/svg/invert-mode-sharp.svg +1 -0
- package/dist/ldf/svg/invert-mode.svg +1 -0
- package/dist/ldf/svg/journal-outline.svg +1 -1
- package/dist/ldf/svg/journal-sharp.svg +1 -1
- package/dist/ldf/svg/journal.svg +1 -1
- package/dist/ldf/svg/key-outline.svg +1 -1
- package/dist/ldf/svg/key-sharp.svg +1 -1
- package/dist/ldf/svg/key.svg +1 -1
- package/dist/ldf/svg/keypad-outline.svg +1 -1
- package/dist/ldf/svg/keypad-sharp.svg +1 -1
- package/dist/ldf/svg/keypad.svg +1 -1
- package/dist/ldf/svg/language-outline.svg +1 -1
- package/dist/ldf/svg/language-sharp.svg +1 -1
- package/dist/ldf/svg/language.svg +1 -1
- package/dist/ldf/svg/laptop-outline.svg +1 -1
- package/dist/ldf/svg/laptop-sharp.svg +1 -1
- package/dist/ldf/svg/laptop.svg +1 -1
- package/dist/ldf/svg/layers-outline.svg +1 -1
- package/dist/ldf/svg/layers-sharp.svg +1 -1
- package/dist/ldf/svg/layers.svg +1 -1
- package/dist/ldf/svg/leaf-outline.svg +1 -1
- package/dist/ldf/svg/leaf-sharp.svg +1 -1
- package/dist/ldf/svg/leaf.svg +1 -1
- package/dist/ldf/svg/library-outline.svg +1 -1
- package/dist/ldf/svg/library-sharp.svg +1 -1
- package/dist/ldf/svg/library.svg +1 -1
- package/dist/ldf/svg/link-outline.svg +1 -1
- package/dist/ldf/svg/link-sharp.svg +1 -1
- package/dist/ldf/svg/link.svg +1 -1
- package/dist/ldf/svg/list-circle-outline.svg +1 -1
- package/dist/ldf/svg/list-circle-sharp.svg +1 -1
- package/dist/ldf/svg/list-circle.svg +1 -1
- package/dist/ldf/svg/list-outline.svg +1 -1
- package/dist/ldf/svg/list-sharp.svg +1 -1
- package/dist/ldf/svg/list.svg +1 -1
- package/dist/ldf/svg/locate-outline.svg +1 -1
- package/dist/ldf/svg/locate-sharp.svg +1 -1
- package/dist/ldf/svg/locate.svg +1 -1
- package/dist/ldf/svg/location-outline.svg +1 -1
- package/dist/ldf/svg/location-sharp.svg +1 -1
- package/dist/ldf/svg/location.svg +1 -1
- package/dist/ldf/svg/lock-closed-outline.svg +1 -1
- package/dist/ldf/svg/lock-closed-sharp.svg +1 -1
- package/dist/ldf/svg/lock-closed.svg +1 -1
- package/dist/ldf/svg/lock-open-outline.svg +1 -1
- package/dist/ldf/svg/lock-open-sharp.svg +1 -1
- package/dist/ldf/svg/lock-open.svg +1 -1
- package/dist/ldf/svg/log-in-outline.svg +1 -1
- package/dist/ldf/svg/log-in-sharp.svg +1 -1
- package/dist/ldf/svg/log-in.svg +1 -1
- package/dist/ldf/svg/log-out-outline.svg +1 -1
- package/dist/ldf/svg/log-out-sharp.svg +1 -1
- package/dist/ldf/svg/log-out.svg +1 -1
- package/dist/ldf/svg/logo-alipay.svg +1 -0
- package/dist/ldf/svg/logo-amazon.svg +1 -1
- package/dist/ldf/svg/logo-amplify.svg +1 -1
- package/dist/ldf/svg/logo-android.svg +1 -1
- package/dist/ldf/svg/logo-angular.svg +1 -1
- package/dist/ldf/svg/logo-apple-appstore.svg +1 -1
- package/dist/ldf/svg/logo-apple-ar.svg +1 -0
- package/dist/ldf/svg/logo-apple.svg +1 -1
- package/dist/ldf/svg/logo-behance.svg +1 -0
- package/dist/ldf/svg/logo-bitbucket.svg +1 -1
- package/dist/ldf/svg/logo-bitcoin.svg +1 -1
- package/dist/ldf/svg/logo-buffer.svg +1 -1
- package/dist/ldf/svg/logo-capacitor.svg +1 -1
- package/dist/ldf/svg/logo-chrome.svg +1 -1
- package/dist/ldf/svg/logo-closed-captioning.svg +1 -1
- package/dist/ldf/svg/logo-codepen.svg +1 -1
- package/dist/ldf/svg/logo-css3.svg +1 -1
- package/dist/ldf/svg/logo-designernews.svg +1 -1
- package/dist/ldf/svg/logo-deviantart.svg +1 -0
- package/dist/ldf/svg/logo-discord.svg +1 -0
- package/dist/ldf/svg/logo-docker.svg +1 -0
- package/dist/ldf/svg/logo-dribbble.svg +1 -1
- package/dist/ldf/svg/logo-dropbox.svg +1 -1
- package/dist/ldf/svg/logo-edge.svg +1 -1
- package/dist/ldf/svg/logo-electron.svg +1 -1
- package/dist/ldf/svg/logo-euro.svg +1 -1
- package/dist/ldf/svg/logo-facebook.svg +1 -1
- package/dist/ldf/svg/logo-figma.svg +1 -0
- package/dist/ldf/svg/logo-firebase.svg +1 -1
- package/dist/ldf/svg/logo-firefox.svg +1 -1
- package/dist/ldf/svg/logo-flickr.svg +1 -1
- package/dist/ldf/svg/logo-foursquare.svg +1 -1
- package/dist/ldf/svg/logo-github.svg +1 -1
- package/dist/ldf/svg/logo-gitlab.svg +1 -0
- package/dist/ldf/svg/logo-google-playstore.svg +1 -1
- package/dist/ldf/svg/logo-google.svg +1 -1
- package/dist/ldf/svg/logo-hackernews.svg +1 -1
- package/dist/ldf/svg/logo-html5.svg +1 -1
- package/dist/ldf/svg/logo-instagram.svg +1 -1
- package/dist/ldf/svg/logo-ionic.svg +1 -1
- package/dist/ldf/svg/logo-ionitron.svg +1 -1
- package/dist/ldf/svg/logo-javascript.svg +1 -1
- package/dist/ldf/svg/logo-laravel.svg +1 -1
- package/dist/ldf/svg/logo-linkedin.svg +1 -1
- package/dist/ldf/svg/logo-markdown.svg +1 -1
- package/dist/ldf/svg/logo-mastodon.svg +1 -0
- package/dist/ldf/svg/logo-medium.svg +1 -0
- package/dist/ldf/svg/logo-microsoft.svg +1 -0
- package/dist/ldf/svg/logo-no-smoking.svg +1 -1
- package/dist/ldf/svg/logo-nodejs.svg +1 -1
- package/dist/ldf/svg/logo-npm.svg +1 -1
- package/dist/ldf/svg/logo-octocat.svg +1 -1
- package/dist/ldf/svg/logo-paypal.svg +1 -0
- package/dist/ldf/svg/logo-pinterest.svg +1 -1
- package/dist/ldf/svg/logo-playstation.svg +1 -1
- package/dist/ldf/svg/logo-pwa.svg +1 -1
- package/dist/ldf/svg/logo-python.svg +1 -1
- package/dist/ldf/svg/logo-react.svg +1 -1
- package/dist/ldf/svg/logo-reddit.svg +1 -1
- package/dist/ldf/svg/logo-rss.svg +1 -1
- package/dist/ldf/svg/logo-sass.svg +1 -1
- package/dist/ldf/svg/logo-skype.svg +1 -1
- package/dist/ldf/svg/logo-slack.svg +1 -1
- package/dist/ldf/svg/logo-snapchat.svg +1 -1
- package/dist/ldf/svg/logo-soundcloud.svg +1 -0
- package/dist/ldf/svg/logo-stackoverflow.svg +1 -1
- package/dist/ldf/svg/logo-steam.svg +1 -1
- package/dist/ldf/svg/logo-stencil.svg +1 -1
- package/dist/ldf/svg/logo-tableau.svg +1 -0
- package/dist/ldf/svg/logo-tiktok.svg +1 -0
- package/dist/ldf/svg/logo-tumblr.svg +1 -1
- package/dist/ldf/svg/logo-tux.svg +1 -1
- package/dist/ldf/svg/logo-twitch.svg +1 -1
- package/dist/ldf/svg/logo-twitter.svg +1 -1
- package/dist/ldf/svg/logo-usd.svg +1 -1
- package/dist/ldf/svg/logo-venmo.svg +1 -0
- package/dist/ldf/svg/logo-vercel.svg +1 -0
- package/dist/ldf/svg/logo-vimeo.svg +1 -1
- package/dist/ldf/svg/logo-vk.svg +1 -1
- package/dist/ldf/svg/logo-vue.svg +1 -1
- package/dist/ldf/svg/logo-web-component.svg +1 -1
- package/dist/ldf/svg/logo-wechat.svg +1 -0
- package/dist/ldf/svg/logo-whatsapp.svg +1 -1
- package/dist/ldf/svg/logo-windows.svg +1 -1
- package/dist/ldf/svg/logo-wordpress.svg +1 -1
- package/dist/ldf/svg/logo-xbox.svg +1 -1
- package/dist/ldf/svg/logo-xing.svg +1 -1
- package/dist/ldf/svg/logo-yahoo.svg +1 -1
- package/dist/ldf/svg/logo-yen.svg +1 -1
- package/dist/ldf/svg/logo-youtube.svg +1 -1
- package/dist/ldf/svg/magnet-outline.svg +1 -1
- package/dist/ldf/svg/magnet-sharp.svg +1 -1
- package/dist/ldf/svg/magnet.svg +1 -1
- package/dist/ldf/svg/mail-open-outline.svg +1 -1
- package/dist/ldf/svg/mail-open-sharp.svg +1 -1
- package/dist/ldf/svg/mail-open.svg +1 -1
- package/dist/ldf/svg/mail-outline.svg +1 -1
- package/dist/ldf/svg/mail-sharp.svg +1 -1
- package/dist/ldf/svg/mail-unread-outline.svg +1 -1
- package/dist/ldf/svg/mail-unread-sharp.svg +1 -1
- package/dist/ldf/svg/mail-unread.svg +1 -1
- package/dist/ldf/svg/mail.svg +1 -1
- package/dist/ldf/svg/male-female-outline.svg +1 -1
- package/dist/ldf/svg/male-female-sharp.svg +1 -1
- package/dist/ldf/svg/male-female.svg +1 -1
- package/dist/ldf/svg/male-outline.svg +1 -1
- package/dist/ldf/svg/male-sharp.svg +1 -1
- package/dist/ldf/svg/male.svg +1 -1
- package/dist/ldf/svg/man-outline.svg +1 -1
- package/dist/ldf/svg/man-sharp.svg +1 -1
- package/dist/ldf/svg/man.svg +1 -1
- package/dist/ldf/svg/map-outline.svg +1 -1
- package/dist/ldf/svg/map-sharp.svg +1 -1
- package/dist/ldf/svg/map.svg +1 -1
- package/dist/ldf/svg/medal-outline.svg +1 -1
- package/dist/ldf/svg/medal-sharp.svg +1 -1
- package/dist/ldf/svg/medal.svg +1 -1
- package/dist/ldf/svg/medical-outline.svg +1 -1
- package/dist/ldf/svg/medical-sharp.svg +1 -1
- package/dist/ldf/svg/medical.svg +1 -1
- package/dist/ldf/svg/medkit-outline.svg +1 -1
- package/dist/ldf/svg/medkit-sharp.svg +1 -1
- package/dist/ldf/svg/medkit.svg +1 -1
- package/dist/ldf/svg/megaphone-outline.svg +1 -1
- package/dist/ldf/svg/megaphone-sharp.svg +1 -1
- package/dist/ldf/svg/megaphone.svg +1 -1
- package/dist/ldf/svg/menu-outline.svg +1 -1
- package/dist/ldf/svg/menu-sharp.svg +1 -1
- package/dist/ldf/svg/menu.svg +1 -1
- package/dist/ldf/svg/mic-circle-outline.svg +1 -1
- package/dist/ldf/svg/mic-circle-sharp.svg +1 -1
- package/dist/ldf/svg/mic-circle.svg +1 -1
- package/dist/ldf/svg/mic-off-circle-outline.svg +1 -1
- package/dist/ldf/svg/mic-off-circle-sharp.svg +1 -1
- package/dist/ldf/svg/mic-off-circle.svg +1 -1
- package/dist/ldf/svg/mic-off-outline.svg +1 -1
- package/dist/ldf/svg/mic-off-sharp.svg +1 -1
- package/dist/ldf/svg/mic-off.svg +1 -1
- package/dist/ldf/svg/mic-outline.svg +1 -1
- package/dist/ldf/svg/mic-sharp.svg +1 -1
- package/dist/ldf/svg/mic.svg +1 -1
- package/dist/ldf/svg/moon-outline.svg +1 -1
- package/dist/ldf/svg/moon-sharp.svg +1 -1
- package/dist/ldf/svg/moon.svg +1 -1
- package/dist/ldf/svg/move-outline.svg +1 -1
- package/dist/ldf/svg/move-sharp.svg +1 -1
- package/dist/ldf/svg/move.svg +1 -1
- package/dist/ldf/svg/musical-note-outline.svg +1 -1
- package/dist/ldf/svg/musical-note-sharp.svg +1 -1
- package/dist/ldf/svg/musical-note.svg +1 -1
- package/dist/ldf/svg/musical-notes-outline.svg +1 -1
- package/dist/ldf/svg/musical-notes-sharp.svg +1 -1
- package/dist/ldf/svg/musical-notes.svg +1 -1
- package/dist/ldf/svg/navigate-circle-outline.svg +1 -1
- package/dist/ldf/svg/navigate-circle-sharp.svg +1 -1
- package/dist/ldf/svg/navigate-circle.svg +1 -1
- package/dist/ldf/svg/navigate-outline.svg +1 -1
- package/dist/ldf/svg/navigate-sharp.svg +1 -1
- package/dist/ldf/svg/navigate.svg +1 -1
- package/dist/ldf/svg/newspaper-outline.svg +1 -1
- package/dist/ldf/svg/newspaper-sharp.svg +1 -1
- package/dist/ldf/svg/newspaper.svg +1 -1
- package/dist/ldf/svg/notifications-circle-outline.svg +1 -1
- package/dist/ldf/svg/notifications-circle-sharp.svg +1 -1
- package/dist/ldf/svg/notifications-circle.svg +1 -1
- package/dist/ldf/svg/notifications-off-circle-outline.svg +1 -1
- package/dist/ldf/svg/notifications-off-circle-sharp.svg +1 -1
- package/dist/ldf/svg/notifications-off-circle.svg +1 -1
- package/dist/ldf/svg/notifications-off-outline.svg +1 -1
- package/dist/ldf/svg/notifications-off-sharp.svg +1 -1
- package/dist/ldf/svg/notifications-off.svg +1 -1
- package/dist/ldf/svg/notifications-outline.svg +1 -1
- package/dist/ldf/svg/notifications-sharp.svg +1 -1
- package/dist/ldf/svg/notifications.svg +1 -1
- package/dist/ldf/svg/nuclear-outline.svg +1 -1
- package/dist/ldf/svg/nuclear-sharp.svg +1 -1
- package/dist/ldf/svg/nuclear.svg +1 -1
- package/dist/ldf/svg/nutrition-outline.svg +1 -1
- package/dist/ldf/svg/nutrition-sharp.svg +1 -1
- package/dist/ldf/svg/nutrition.svg +1 -1
- package/dist/ldf/svg/open-outline.svg +1 -1
- package/dist/ldf/svg/open-sharp.svg +1 -1
- package/dist/ldf/svg/open.svg +1 -1
- package/dist/ldf/svg/options-outline.svg +1 -1
- package/dist/ldf/svg/options-sharp.svg +1 -1
- package/dist/ldf/svg/options.svg +1 -1
- package/dist/ldf/svg/paper-plane-outline.svg +1 -1
- package/dist/ldf/svg/paper-plane-sharp.svg +1 -1
- package/dist/ldf/svg/paper-plane.svg +1 -1
- package/dist/ldf/svg/partly-sunny-outline.svg +1 -1
- package/dist/ldf/svg/partly-sunny-sharp.svg +1 -1
- package/dist/ldf/svg/partly-sunny.svg +1 -1
- package/dist/ldf/svg/pause-circle-outline.svg +1 -1
- package/dist/ldf/svg/pause-circle-sharp.svg +1 -1
- package/dist/ldf/svg/pause-circle.svg +1 -1
- package/dist/ldf/svg/pause-outline.svg +1 -1
- package/dist/ldf/svg/pause-sharp.svg +1 -1
- package/dist/ldf/svg/pause.svg +1 -1
- package/dist/ldf/svg/paw-outline.svg +1 -1
- package/dist/ldf/svg/paw-sharp.svg +1 -1
- package/dist/ldf/svg/paw.svg +1 -1
- package/dist/ldf/svg/pencil-outline.svg +1 -1
- package/dist/ldf/svg/pencil-sharp.svg +1 -1
- package/dist/ldf/svg/pencil.svg +1 -1
- package/dist/ldf/svg/people-circle-outline.svg +1 -1
- package/dist/ldf/svg/people-circle-sharp.svg +1 -1
- package/dist/ldf/svg/people-circle.svg +1 -1
- package/dist/ldf/svg/people-outline.svg +1 -1
- package/dist/ldf/svg/people-sharp.svg +1 -1
- package/dist/ldf/svg/people.svg +1 -1
- package/dist/ldf/svg/person-add-outline.svg +1 -1
- package/dist/ldf/svg/person-add-sharp.svg +1 -1
- package/dist/ldf/svg/person-add.svg +1 -1
- package/dist/ldf/svg/person-circle-outline.svg +1 -1
- package/dist/ldf/svg/person-circle-sharp.svg +1 -1
- package/dist/ldf/svg/person-circle.svg +1 -1
- package/dist/ldf/svg/person-outline.svg +1 -1
- package/dist/ldf/svg/person-remove-outline.svg +1 -1
- package/dist/ldf/svg/person-remove-sharp.svg +1 -1
- package/dist/ldf/svg/person-remove.svg +1 -1
- package/dist/ldf/svg/person-sharp.svg +1 -1
- package/dist/ldf/svg/person.svg +1 -1
- package/dist/ldf/svg/phone-landscape-outline.svg +1 -1
- package/dist/ldf/svg/phone-landscape-sharp.svg +1 -1
- package/dist/ldf/svg/phone-landscape.svg +1 -1
- package/dist/ldf/svg/phone-portrait-outline.svg +1 -1
- package/dist/ldf/svg/phone-portrait-sharp.svg +1 -1
- package/dist/ldf/svg/phone-portrait.svg +1 -1
- package/dist/ldf/svg/pie-chart-outline.svg +1 -1
- package/dist/ldf/svg/pie-chart-sharp.svg +1 -1
- package/dist/ldf/svg/pie-chart.svg +1 -1
- package/dist/ldf/svg/pin-outline.svg +1 -1
- package/dist/ldf/svg/pin-sharp.svg +1 -1
- package/dist/ldf/svg/pin.svg +1 -1
- package/dist/ldf/svg/pint-outline.svg +1 -1
- package/dist/ldf/svg/pint-sharp.svg +1 -1
- package/dist/ldf/svg/pint.svg +1 -1
- package/dist/ldf/svg/pizza-outline.svg +1 -1
- package/dist/ldf/svg/pizza-sharp.svg +1 -1
- package/dist/ldf/svg/pizza.svg +1 -1
- package/dist/ldf/svg/planet-outline.svg +1 -1
- package/dist/ldf/svg/planet-sharp.svg +1 -1
- package/dist/ldf/svg/planet.svg +1 -1
- package/dist/ldf/svg/play-back-circle-outline.svg +1 -1
- package/dist/ldf/svg/play-back-circle-sharp.svg +1 -1
- package/dist/ldf/svg/play-back-circle.svg +1 -1
- package/dist/ldf/svg/play-back-outline.svg +1 -1
- package/dist/ldf/svg/play-back-sharp.svg +1 -1
- package/dist/ldf/svg/play-back.svg +1 -1
- package/dist/ldf/svg/play-circle-outline.svg +1 -1
- package/dist/ldf/svg/play-circle-sharp.svg +1 -1
- package/dist/ldf/svg/play-circle.svg +1 -1
- package/dist/ldf/svg/play-forward-circle-outline.svg +1 -1
- package/dist/ldf/svg/play-forward-circle-sharp.svg +1 -1
- package/dist/ldf/svg/play-forward-circle.svg +1 -1
- package/dist/ldf/svg/play-forward-outline.svg +1 -1
- package/dist/ldf/svg/play-forward-sharp.svg +1 -1
- package/dist/ldf/svg/play-forward.svg +1 -1
- package/dist/ldf/svg/play-outline.svg +1 -1
- package/dist/ldf/svg/play-sharp.svg +1 -1
- package/dist/ldf/svg/play-skip-back-circle-outline.svg +1 -1
- package/dist/ldf/svg/play-skip-back-circle-sharp.svg +1 -1
- package/dist/ldf/svg/play-skip-back-circle.svg +1 -1
- package/dist/ldf/svg/play-skip-back-outline.svg +1 -1
- package/dist/ldf/svg/play-skip-back-sharp.svg +1 -1
- package/dist/ldf/svg/play-skip-back.svg +1 -1
- package/dist/ldf/svg/play-skip-forward-circle-outline.svg +1 -1
- package/dist/ldf/svg/play-skip-forward-circle-sharp.svg +1 -1
- package/dist/ldf/svg/play-skip-forward-circle.svg +1 -1
- package/dist/ldf/svg/play-skip-forward-outline.svg +1 -1
- package/dist/ldf/svg/play-skip-forward-sharp.svg +1 -1
- package/dist/ldf/svg/play-skip-forward.svg +1 -1
- package/dist/ldf/svg/play.svg +1 -1
- package/dist/ldf/svg/podium-outline.svg +1 -1
- package/dist/ldf/svg/podium-sharp.svg +1 -1
- package/dist/ldf/svg/podium.svg +1 -1
- package/dist/ldf/svg/power-outline.svg +1 -1
- package/dist/ldf/svg/power-sharp.svg +1 -1
- package/dist/ldf/svg/power.svg +1 -1
- package/dist/ldf/svg/pricetag-outline.svg +1 -1
- package/dist/ldf/svg/pricetag-sharp.svg +1 -1
- package/dist/ldf/svg/pricetag.svg +1 -1
- package/dist/ldf/svg/pricetags-outline.svg +1 -1
- package/dist/ldf/svg/pricetags-sharp.svg +1 -1
- package/dist/ldf/svg/pricetags.svg +1 -1
- package/dist/ldf/svg/print-outline.svg +1 -1
- package/dist/ldf/svg/print-sharp.svg +1 -1
- package/dist/ldf/svg/print.svg +1 -1
- package/dist/ldf/svg/prism-outline.svg +1 -0
- package/dist/ldf/svg/prism-sharp.svg +1 -0
- package/dist/ldf/svg/prism.svg +1 -0
- package/dist/ldf/svg/pulse-outline.svg +1 -1
- package/dist/ldf/svg/pulse-sharp.svg +1 -1
- package/dist/ldf/svg/pulse.svg +1 -1
- package/dist/ldf/svg/push-outline.svg +1 -1
- package/dist/ldf/svg/push-sharp.svg +1 -1
- package/dist/ldf/svg/push.svg +1 -1
- package/dist/ldf/svg/qr-code-outline.svg +1 -1
- package/dist/ldf/svg/qr-code-sharp.svg +1 -1
- package/dist/ldf/svg/qr-code.svg +1 -1
- package/dist/ldf/svg/radio-button-off-outline.svg +1 -1
- package/dist/ldf/svg/radio-button-off-sharp.svg +1 -1
- package/dist/ldf/svg/radio-button-off.svg +1 -1
- package/dist/ldf/svg/radio-button-on-outline.svg +1 -1
- package/dist/ldf/svg/radio-button-on-sharp.svg +1 -1
- package/dist/ldf/svg/radio-button-on.svg +1 -1
- package/dist/ldf/svg/radio-outline.svg +1 -1
- package/dist/ldf/svg/radio-sharp.svg +1 -1
- package/dist/ldf/svg/radio.svg +1 -1
- package/dist/ldf/svg/rainy-outline.svg +1 -1
- package/dist/ldf/svg/rainy-sharp.svg +1 -1
- package/dist/ldf/svg/rainy.svg +1 -1
- package/dist/ldf/svg/reader-outline.svg +1 -1
- package/dist/ldf/svg/reader-sharp.svg +1 -1
- package/dist/ldf/svg/reader.svg +1 -1
- package/dist/ldf/svg/receipt-outline.svg +1 -1
- package/dist/ldf/svg/receipt-sharp.svg +1 -1
- package/dist/ldf/svg/receipt.svg +1 -1
- package/dist/ldf/svg/recording-outline.svg +1 -1
- package/dist/ldf/svg/recording-sharp.svg +1 -1
- package/dist/ldf/svg/recording.svg +1 -1
- package/dist/ldf/svg/refresh-circle-outline.svg +1 -1
- package/dist/ldf/svg/refresh-circle-sharp.svg +1 -1
- package/dist/ldf/svg/refresh-circle.svg +1 -1
- package/dist/ldf/svg/refresh-outline.svg +1 -1
- package/dist/ldf/svg/refresh-sharp.svg +1 -1
- package/dist/ldf/svg/refresh.svg +1 -1
- package/dist/ldf/svg/reload-circle-outline.svg +1 -1
- package/dist/ldf/svg/reload-circle-sharp.svg +1 -1
- package/dist/ldf/svg/reload-circle.svg +1 -1
- package/dist/ldf/svg/reload-outline.svg +1 -1
- package/dist/ldf/svg/reload-sharp.svg +1 -1
- package/dist/ldf/svg/reload.svg +1 -1
- package/dist/ldf/svg/remove-circle-outline.svg +1 -1
- package/dist/ldf/svg/remove-circle-sharp.svg +1 -1
- package/dist/ldf/svg/remove-circle.svg +1 -1
- package/dist/ldf/svg/remove-outline.svg +1 -1
- package/dist/ldf/svg/remove-sharp.svg +1 -1
- package/dist/ldf/svg/remove.svg +1 -1
- package/dist/ldf/svg/reorder-four-outline.svg +1 -1
- package/dist/ldf/svg/reorder-four-sharp.svg +1 -1
- package/dist/ldf/svg/reorder-four.svg +1 -1
- package/dist/ldf/svg/reorder-three-outline.svg +1 -1
- package/dist/ldf/svg/reorder-three-sharp.svg +1 -1
- package/dist/ldf/svg/reorder-three.svg +1 -1
- package/dist/ldf/svg/reorder-two-outline.svg +1 -1
- package/dist/ldf/svg/reorder-two-sharp.svg +1 -1
- package/dist/ldf/svg/reorder-two.svg +1 -1
- package/dist/ldf/svg/repeat-outline.svg +1 -1
- package/dist/ldf/svg/repeat-sharp.svg +1 -1
- package/dist/ldf/svg/repeat.svg +1 -1
- package/dist/ldf/svg/resize-outline.svg +1 -1
- package/dist/ldf/svg/resize-sharp.svg +1 -1
- package/dist/ldf/svg/resize.svg +1 -1
- package/dist/ldf/svg/restaurant-outline.svg +1 -1
- package/dist/ldf/svg/restaurant-sharp.svg +1 -1
- package/dist/ldf/svg/restaurant.svg +1 -1
- package/dist/ldf/svg/return-down-back-outline.svg +1 -1
- package/dist/ldf/svg/return-down-back-sharp.svg +1 -1
- package/dist/ldf/svg/return-down-back.svg +1 -1
- package/dist/ldf/svg/return-down-forward-outline.svg +1 -1
- package/dist/ldf/svg/return-down-forward-sharp.svg +1 -1
- package/dist/ldf/svg/return-down-forward.svg +1 -1
- package/dist/ldf/svg/return-up-back-outline.svg +1 -1
- package/dist/ldf/svg/return-up-back-sharp.svg +1 -1
- package/dist/ldf/svg/return-up-back.svg +1 -1
- package/dist/ldf/svg/return-up-forward-outline.svg +1 -1
- package/dist/ldf/svg/return-up-forward-sharp.svg +1 -1
- package/dist/ldf/svg/return-up-forward.svg +1 -1
- package/dist/ldf/svg/ribbon-outline.svg +1 -1
- package/dist/ldf/svg/ribbon-sharp.svg +1 -1
- package/dist/ldf/svg/ribbon.svg +1 -1
- package/dist/ldf/svg/rocket-outline.svg +1 -1
- package/dist/ldf/svg/rocket-sharp.svg +1 -1
- package/dist/ldf/svg/rocket.svg +1 -1
- package/dist/ldf/svg/rose-outline.svg +1 -1
- package/dist/ldf/svg/rose-sharp.svg +1 -1
- package/dist/ldf/svg/rose.svg +1 -1
- package/dist/ldf/svg/sad-outline.svg +1 -1
- package/dist/ldf/svg/sad-sharp.svg +1 -1
- package/dist/ldf/svg/sad.svg +1 -1
- package/dist/ldf/svg/save-outline.svg +1 -1
- package/dist/ldf/svg/save-sharp.svg +1 -1
- package/dist/ldf/svg/save.svg +1 -1
- package/dist/ldf/svg/scale-outline.svg +1 -0
- package/dist/ldf/svg/scale-sharp.svg +1 -0
- package/dist/ldf/svg/scale.svg +1 -0
- package/dist/ldf/svg/scan-circle-outline.svg +1 -1
- package/dist/ldf/svg/scan-circle-sharp.svg +1 -1
- package/dist/ldf/svg/scan-circle.svg +1 -1
- package/dist/ldf/svg/scan-outline.svg +1 -1
- package/dist/ldf/svg/scan-sharp.svg +1 -1
- package/dist/ldf/svg/scan.svg +1 -1
- package/dist/ldf/svg/school-outline.svg +1 -1
- package/dist/ldf/svg/school-sharp.svg +1 -1
- package/dist/ldf/svg/school.svg +1 -1
- package/dist/ldf/svg/search-circle-outline.svg +1 -1
- package/dist/ldf/svg/search-circle-sharp.svg +1 -1
- package/dist/ldf/svg/search-circle.svg +1 -1
- package/dist/ldf/svg/search-outline.svg +1 -1
- package/dist/ldf/svg/search-sharp.svg +1 -1
- package/dist/ldf/svg/search.svg +1 -1
- package/dist/ldf/svg/send-outline.svg +1 -1
- package/dist/ldf/svg/send-sharp.svg +1 -1
- package/dist/ldf/svg/send.svg +1 -1
- package/dist/ldf/svg/server-outline.svg +1 -1
- package/dist/ldf/svg/server-sharp.svg +1 -1
- package/dist/ldf/svg/server.svg +1 -1
- package/dist/ldf/svg/settings-outline.svg +1 -1
- package/dist/ldf/svg/settings-sharp.svg +1 -1
- package/dist/ldf/svg/settings.svg +1 -1
- package/dist/ldf/svg/shapes-outline.svg +1 -1
- package/dist/ldf/svg/shapes-sharp.svg +1 -1
- package/dist/ldf/svg/shapes.svg +1 -1
- package/dist/ldf/svg/share-outline.svg +1 -1
- package/dist/ldf/svg/share-sharp.svg +1 -1
- package/dist/ldf/svg/share-social-outline.svg +1 -1
- package/dist/ldf/svg/share-social-sharp.svg +1 -1
- package/dist/ldf/svg/share-social.svg +1 -1
- package/dist/ldf/svg/share.svg +1 -1
- package/dist/ldf/svg/shield-checkmark-outline.svg +1 -1
- package/dist/ldf/svg/shield-checkmark-sharp.svg +1 -1
- package/dist/ldf/svg/shield-checkmark.svg +1 -1
- package/dist/ldf/svg/shield-half-outline.svg +1 -0
- package/dist/ldf/svg/shield-half-sharp.svg +1 -0
- package/dist/ldf/svg/shield-half.svg +1 -0
- package/dist/ldf/svg/shield-outline.svg +1 -1
- package/dist/ldf/svg/shield-sharp.svg +1 -1
- package/dist/ldf/svg/shield.svg +1 -1
- package/dist/ldf/svg/shirt-outline.svg +1 -1
- package/dist/ldf/svg/shirt-sharp.svg +1 -1
- package/dist/ldf/svg/shirt.svg +1 -1
- package/dist/ldf/svg/shuffle-outline.svg +1 -1
- package/dist/ldf/svg/shuffle-sharp.svg +1 -1
- package/dist/ldf/svg/shuffle.svg +1 -1
- package/dist/ldf/svg/skull-outline.svg +1 -1
- package/dist/ldf/svg/skull-sharp.svg +1 -1
- package/dist/ldf/svg/skull.svg +1 -1
- package/dist/ldf/svg/snow-outline.svg +1 -1
- package/dist/ldf/svg/snow-sharp.svg +1 -1
- package/dist/ldf/svg/snow.svg +1 -1
- package/dist/ldf/svg/sparkles-outline.svg +1 -0
- package/dist/ldf/svg/sparkles-sharp.svg +1 -0
- package/dist/ldf/svg/sparkles.svg +1 -0
- package/dist/ldf/svg/speedometer-outline.svg +1 -1
- package/dist/ldf/svg/speedometer-sharp.svg +1 -1
- package/dist/ldf/svg/speedometer.svg +1 -1
- package/dist/ldf/svg/square-outline.svg +1 -1
- package/dist/ldf/svg/square-sharp.svg +1 -1
- package/dist/ldf/svg/square.svg +1 -1
- package/dist/ldf/svg/star-half-outline.svg +1 -1
- package/dist/ldf/svg/star-half-sharp.svg +1 -1
- package/dist/ldf/svg/star-half.svg +1 -1
- package/dist/ldf/svg/star-outline.svg +1 -1
- package/dist/ldf/svg/star-sharp.svg +1 -1
- package/dist/ldf/svg/star.svg +1 -1
- package/dist/ldf/svg/stats-chart-outline.svg +1 -1
- package/dist/ldf/svg/stats-chart-sharp.svg +1 -1
- package/dist/ldf/svg/stats-chart.svg +1 -1
- package/dist/ldf/svg/stop-circle-outline.svg +1 -1
- package/dist/ldf/svg/stop-circle-sharp.svg +1 -1
- package/dist/ldf/svg/stop-circle.svg +1 -1
- package/dist/ldf/svg/stop-outline.svg +1 -1
- package/dist/ldf/svg/stop-sharp.svg +1 -1
- package/dist/ldf/svg/stop.svg +1 -1
- package/dist/ldf/svg/stopwatch-outline.svg +1 -1
- package/dist/ldf/svg/stopwatch-sharp.svg +1 -1
- package/dist/ldf/svg/stopwatch.svg +1 -1
- package/dist/ldf/svg/storefront-outline.svg +1 -0
- package/dist/ldf/svg/storefront-sharp.svg +1 -0
- package/dist/ldf/svg/storefront.svg +1 -0
- package/dist/ldf/svg/subway-outline.svg +1 -1
- package/dist/ldf/svg/subway-sharp.svg +1 -1
- package/dist/ldf/svg/subway.svg +1 -1
- package/dist/ldf/svg/sunny-outline.svg +1 -1
- package/dist/ldf/svg/sunny-sharp.svg +1 -1
- package/dist/ldf/svg/sunny.svg +1 -1
- package/dist/ldf/svg/swap-horizontal-outline.svg +1 -1
- package/dist/ldf/svg/swap-horizontal-sharp.svg +1 -1
- package/dist/ldf/svg/swap-horizontal.svg +1 -1
- package/dist/ldf/svg/swap-vertical-outline.svg +1 -1
- package/dist/ldf/svg/swap-vertical-sharp.svg +1 -1
- package/dist/ldf/svg/swap-vertical.svg +1 -1
- package/dist/ldf/svg/sync-circle-outline.svg +1 -1
- package/dist/ldf/svg/sync-circle-sharp.svg +1 -1
- package/dist/ldf/svg/sync-circle.svg +1 -1
- package/dist/ldf/svg/sync-outline.svg +1 -1
- package/dist/ldf/svg/sync-sharp.svg +1 -1
- package/dist/ldf/svg/sync.svg +1 -1
- package/dist/ldf/svg/tablet-landscape-outline.svg +1 -1
- package/dist/ldf/svg/tablet-landscape-sharp.svg +1 -1
- package/dist/ldf/svg/tablet-landscape.svg +1 -1
- package/dist/ldf/svg/tablet-portrait-outline.svg +1 -1
- package/dist/ldf/svg/tablet-portrait-sharp.svg +1 -1
- package/dist/ldf/svg/tablet-portrait.svg +1 -1
- package/dist/ldf/svg/telescope-outline.svg +1 -0
- package/dist/ldf/svg/telescope-sharp.svg +1 -0
- package/dist/ldf/svg/telescope.svg +1 -0
- package/dist/ldf/svg/tennisball-outline.svg +1 -1
- package/dist/ldf/svg/tennisball-sharp.svg +1 -1
- package/dist/ldf/svg/tennisball.svg +1 -1
- package/dist/ldf/svg/terminal-outline.svg +1 -1
- package/dist/ldf/svg/terminal-sharp.svg +1 -1
- package/dist/ldf/svg/terminal.svg +1 -1
- package/dist/ldf/svg/text-outline.svg +1 -1
- package/dist/ldf/svg/text-sharp.svg +1 -1
- package/dist/ldf/svg/text.svg +1 -1
- package/dist/ldf/svg/thermometer-outline.svg +1 -1
- package/dist/ldf/svg/thermometer-sharp.svg +1 -1
- package/dist/ldf/svg/thermometer.svg +1 -1
- package/dist/ldf/svg/thumbs-down-outline.svg +1 -1
- package/dist/ldf/svg/thumbs-down-sharp.svg +1 -1
- package/dist/ldf/svg/thumbs-down.svg +1 -1
- package/dist/ldf/svg/thumbs-up-outline.svg +1 -1
- package/dist/ldf/svg/thumbs-up-sharp.svg +1 -1
- package/dist/ldf/svg/thumbs-up.svg +1 -1
- package/dist/ldf/svg/thunderstorm-outline.svg +1 -1
- package/dist/ldf/svg/thunderstorm-sharp.svg +1 -1
- package/dist/ldf/svg/thunderstorm.svg +1 -1
- package/dist/ldf/svg/ticket-outline.svg +1 -0
- package/dist/ldf/svg/ticket-sharp.svg +1 -0
- package/dist/ldf/svg/ticket.svg +1 -0
- package/dist/ldf/svg/time-outline.svg +1 -1
- package/dist/ldf/svg/time-sharp.svg +1 -1
- package/dist/ldf/svg/time.svg +1 -1
- package/dist/ldf/svg/timer-outline.svg +1 -1
- package/dist/ldf/svg/timer-sharp.svg +1 -1
- package/dist/ldf/svg/timer.svg +1 -1
- package/dist/ldf/svg/today-outline.svg +1 -1
- package/dist/ldf/svg/today-sharp.svg +1 -1
- package/dist/ldf/svg/today.svg +1 -1
- package/dist/ldf/svg/toggle-outline.svg +1 -1
- package/dist/ldf/svg/toggle-sharp.svg +1 -1
- package/dist/ldf/svg/toggle.svg +1 -1
- package/dist/ldf/svg/trail-sign-outline.svg +1 -1
- package/dist/ldf/svg/trail-sign-sharp.svg +1 -1
- package/dist/ldf/svg/trail-sign.svg +1 -1
- package/dist/ldf/svg/train-outline.svg +1 -1
- package/dist/ldf/svg/train-sharp.svg +1 -1
- package/dist/ldf/svg/train.svg +1 -1
- package/dist/ldf/svg/transgender-outline.svg +1 -1
- package/dist/ldf/svg/transgender-sharp.svg +1 -1
- package/dist/ldf/svg/transgender.svg +1 -1
- package/dist/ldf/svg/trash-bin-outline.svg +1 -1
- package/dist/ldf/svg/trash-bin-sharp.svg +1 -1
- package/dist/ldf/svg/trash-bin.svg +1 -1
- package/dist/ldf/svg/trash-outline.svg +1 -1
- package/dist/ldf/svg/trash-sharp.svg +1 -1
- package/dist/ldf/svg/trash.svg +1 -1
- package/dist/ldf/svg/trending-down-outline.svg +1 -1
- package/dist/ldf/svg/trending-down-sharp.svg +1 -1
- package/dist/ldf/svg/trending-down.svg +1 -1
- package/dist/ldf/svg/trending-up-outline.svg +1 -1
- package/dist/ldf/svg/trending-up-sharp.svg +1 -1
- package/dist/ldf/svg/trending-up.svg +1 -1
- package/dist/ldf/svg/triangle-outline.svg +1 -1
- package/dist/ldf/svg/triangle-sharp.svg +1 -1
- package/dist/ldf/svg/triangle.svg +1 -1
- package/dist/ldf/svg/trophy-outline.svg +1 -1
- package/dist/ldf/svg/trophy-sharp.svg +1 -1
- package/dist/ldf/svg/trophy.svg +1 -1
- package/dist/ldf/svg/tv-outline.svg +1 -1
- package/dist/ldf/svg/tv-sharp.svg +1 -1
- package/dist/ldf/svg/tv.svg +1 -1
- package/dist/ldf/svg/umbrella-outline.svg +1 -1
- package/dist/ldf/svg/umbrella-sharp.svg +1 -1
- package/dist/ldf/svg/umbrella.svg +1 -1
- package/dist/ldf/svg/unlink-outline.svg +1 -0
- package/dist/ldf/svg/unlink-sharp.svg +1 -0
- package/dist/ldf/svg/unlink.svg +1 -0
- package/dist/ldf/svg/videocam-off-outline.svg +1 -0
- package/dist/ldf/svg/videocam-off-sharp.svg +1 -0
- package/dist/ldf/svg/videocam-off.svg +1 -0
- package/dist/ldf/svg/videocam-outline.svg +1 -1
- package/dist/ldf/svg/videocam-sharp.svg +1 -1
- package/dist/ldf/svg/videocam.svg +1 -1
- package/dist/ldf/svg/volume-high-outline.svg +1 -1
- package/dist/ldf/svg/volume-high-sharp.svg +1 -1
- package/dist/ldf/svg/volume-high.svg +1 -1
- package/dist/ldf/svg/volume-low-outline.svg +1 -1
- package/dist/ldf/svg/volume-low-sharp.svg +1 -1
- package/dist/ldf/svg/volume-low.svg +1 -1
- package/dist/ldf/svg/volume-medium-outline.svg +1 -1
- package/dist/ldf/svg/volume-medium-sharp.svg +1 -1
- package/dist/ldf/svg/volume-medium.svg +1 -1
- package/dist/ldf/svg/volume-mute-outline.svg +1 -1
- package/dist/ldf/svg/volume-mute-sharp.svg +1 -1
- package/dist/ldf/svg/volume-mute.svg +1 -1
- package/dist/ldf/svg/volume-off-outline.svg +1 -1
- package/dist/ldf/svg/volume-off-sharp.svg +1 -1
- package/dist/ldf/svg/volume-off.svg +1 -1
- package/dist/ldf/svg/walk-outline.svg +1 -1
- package/dist/ldf/svg/walk-sharp.svg +1 -1
- package/dist/ldf/svg/walk.svg +1 -1
- package/dist/ldf/svg/wallet-outline.svg +1 -1
- package/dist/ldf/svg/wallet-sharp.svg +1 -1
- package/dist/ldf/svg/wallet.svg +1 -1
- package/dist/ldf/svg/warning-outline.svg +1 -1
- package/dist/ldf/svg/warning-sharp.svg +1 -1
- package/dist/ldf/svg/warning.svg +1 -1
- package/dist/ldf/svg/watch-outline.svg +1 -1
- package/dist/ldf/svg/watch-sharp.svg +1 -1
- package/dist/ldf/svg/watch.svg +1 -1
- package/dist/ldf/svg/water-outline.svg +1 -1
- package/dist/ldf/svg/water-sharp.svg +1 -1
- package/dist/ldf/svg/water.svg +1 -1
- package/dist/ldf/svg/wifi-outline.svg +1 -1
- package/dist/ldf/svg/wifi-sharp.svg +1 -1
- package/dist/ldf/svg/wifi.svg +1 -1
- package/dist/ldf/svg/wine-outline.svg +1 -1
- package/dist/ldf/svg/wine-sharp.svg +1 -1
- package/dist/ldf/svg/wine.svg +1 -1
- package/dist/ldf/svg/woman-outline.svg +1 -1
- package/dist/ldf/svg/woman-sharp.svg +1 -1
- package/dist/ldf/svg/woman.svg +1 -1
- package/dist/ldf/swiper/swiper.bundle.js +260 -86
- package/dist/ldf/swiper/swiper.js +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +75 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +72 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +25 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +59 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +13 -19
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +21 -16
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +12 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +4 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +234 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +237 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +38 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +0 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +5 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +25 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +25 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +6 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +6 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +85 -15
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +612 -70
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +601 -70
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +19 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +19 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +5 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +16 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +21 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +21 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +129 -27
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +326 -32
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +8 -4
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +113 -26
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +2 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +2 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +3 -7
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +3 -7
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +109 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +77 -4
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +1 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +1 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +82 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +85 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +127 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +84 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +50 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +53 -38
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +53 -38
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +32 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +32 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +5 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +7 -7
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +12 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +12 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +12 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +1 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +1 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +4 -4
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +27 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +60 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/{select-popover.css → select-popover.ios.css} +4 -4
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +4 -4
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +23 -10
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +2 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +1 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +51 -18
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +51 -18
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +14 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +15 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +15 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +76 -4
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +53 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +3 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +2 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +1 -1
- package/dist/types/components/editable-string-list/editable-string-list.d.ts +2 -1
- package/dist/types/components.d.ts +163 -51
- package/dist/types/stencil-public-runtime.d.ts +196 -186
- package/loader/index.d.ts +0 -1
- package/package.json +5 -5
- package/dist/cjs/animation-34a434a2.js +0 -957
- package/dist/cjs/app-globals-60a4f972.js +0 -7
- package/dist/cjs/cubic-bezier-f3b34d27.js +0 -91
- package/dist/cjs/focus-visible-5621d6b1.js +0 -45
- package/dist/cjs/framework-delegate-84d33ff0.js +0 -37
- package/dist/cjs/gesture-controller-5bd9d825.js +0 -193
- package/dist/cjs/haptic-88c261ab.js +0 -49
- package/dist/cjs/hardware-back-button-8c2f48d2.js +0 -59
- package/dist/cjs/helpers-41dfb43a.js +0 -110
- package/dist/cjs/index-1a73a70c.js +0 -211
- package/dist/cjs/index-4b7e4228.js +0 -135
- package/dist/cjs/index-8197bb45.js +0 -441
- package/dist/cjs/index-c5bdf2bc.js +0 -167
- package/dist/cjs/index-e4c51e4d.js +0 -307
- package/dist/cjs/input-shims-9c2d56bd.js +0 -357
- package/dist/cjs/ion-action-sheet.cjs.entry.js +0 -230
- package/dist/cjs/ion-alert.cjs.entry.js +0 -386
- package/dist/cjs/ion-button_13.cjs.entry.js +0 -1806
- package/dist/cjs/ion-checkbox_3.cjs.entry.js +0 -234
- package/dist/cjs/ion-datetime_2.cjs.entry.js +0 -1125
- package/dist/cjs/ion-list-header.cjs.entry.js +0 -28
- package/dist/cjs/ion-note.cjs.entry.js +0 -27
- package/dist/cjs/ion-popover.cjs.entry.js +0 -363
- package/dist/cjs/ion-radio_2.cjs.entry.js +0 -149
- package/dist/cjs/ion-select-popover.cjs.entry.js +0 -33
- package/dist/cjs/ion-select_2.cjs.entry.js +0 -444
- package/dist/cjs/ionic-global-581fb4f8.js +0 -204
- package/dist/cjs/ios.transition-7244ac4e.js +0 -459
- package/dist/cjs/md.transition-d86b1ef0.js +0 -62
- package/dist/cjs/menu-toggle-util-293e388b.js +0 -11
- package/dist/cjs/overlays-eb464d6d.js +0 -228
- package/dist/cjs/spinner-configs-b0bec093.js +0 -112
- package/dist/cjs/status-tap-7afb25f5.js +0 -25
- package/dist/cjs/swipe-back-f887168e.js +0 -52
- package/dist/cjs/tap-click-e0af5237.js +0 -169
- package/dist/cjs/theme-81caa5b0.js +0 -47
- package/dist/esm/animation-7a1025d0.js +0 -955
- package/dist/esm/app-globals-729b03cf.js +0 -5
- package/dist/esm/cubic-bezier-89113939.js +0 -89
- package/dist/esm/focus-visible-571e113e.js +0 -43
- package/dist/esm/framework-delegate-7af2c551.js +0 -34
- package/dist/esm/gesture-controller-5bf8565e.js +0 -191
- package/dist/esm/haptic-fc16a4d8.js +0 -44
- package/dist/esm/hardware-back-button-b3b61715.js +0 -55
- package/dist/esm/helpers-8c93393b.js +0 -98
- package/dist/esm/index-734a6b69.js +0 -305
- package/dist/esm/index-82044e24.js +0 -439
- package/dist/esm/index-86d5f3ab.js +0 -133
- package/dist/esm/index-9579282b.js +0 -202
- package/dist/esm/index-c7ecbd63.js +0 -154
- package/dist/esm/input-shims-a4ad2743.js +0 -355
- package/dist/esm/ion-action-sheet.entry.js +0 -226
- package/dist/esm/ion-alert.entry.js +0 -382
- package/dist/esm/ion-button_13.entry.js +0 -1790
- package/dist/esm/ion-checkbox_3.entry.js +0 -228
- package/dist/esm/ion-datetime_2.entry.js +0 -1120
- package/dist/esm/ion-list-header.entry.js +0 -24
- package/dist/esm/ion-note.entry.js +0 -23
- package/dist/esm/ion-popover.entry.js +0 -359
- package/dist/esm/ion-radio_2.entry.js +0 -144
- package/dist/esm/ion-select-popover.entry.js +0 -29
- package/dist/esm/ion-select_2.entry.js +0 -439
- package/dist/esm/ionic-global-ef89a0a5.js +0 -199
- package/dist/esm/ios.transition-b1be0863.js +0 -456
- package/dist/esm/md.transition-1763f475.js +0 -60
- package/dist/esm/menu-toggle-util-29e61ff3.js +0 -9
- package/dist/esm/overlays-06b43b65.js +0 -212
- package/dist/esm/spinner-configs-5dd6891e.js +0 -110
- package/dist/esm/status-tap-7458bd71.js +0 -23
- package/dist/esm/swipe-back-762284df.js +0 -50
- package/dist/esm/tap-click-9b3d603b.js +0 -167
- package/dist/esm/theme-74c22054.js +0 -42
- package/dist/ldf/p-018e57db.entry.js +0 -1
- package/dist/ldf/p-03389897.js +0 -1
- package/dist/ldf/p-04715bf0.entry.js +0 -1
- package/dist/ldf/p-08584ccc.entry.js +0 -1
- package/dist/ldf/p-0873a34a.entry.js +0 -1
- package/dist/ldf/p-0ab55cf6.js +0 -1
- package/dist/ldf/p-1482a707.js +0 -1
- package/dist/ldf/p-1a8e2899.entry.js +0 -1
- package/dist/ldf/p-1d5e9bac.entry.js +0 -1
- package/dist/ldf/p-21e2f0a3.entry.js +0 -1
- package/dist/ldf/p-25a736f1.entry.js +0 -1
- package/dist/ldf/p-2c36a583.entry.js +0 -1
- package/dist/ldf/p-302dc0d5.entry.js +0 -1
- package/dist/ldf/p-31dc4ea7.entry.js +0 -1
- package/dist/ldf/p-327b14ac.entry.js +0 -1
- package/dist/ldf/p-32f7ba8e.entry.js +0 -1
- package/dist/ldf/p-3545fcdc.entry.js +0 -1
- package/dist/ldf/p-374118d7.entry.js +0 -1
- package/dist/ldf/p-380f8655.entry.js +0 -1
- package/dist/ldf/p-3c9930ff.entry.js +0 -1
- package/dist/ldf/p-3f39c2ad.entry.js +0 -1
- package/dist/ldf/p-402c811f.js +0 -1
- package/dist/ldf/p-430c418a.entry.js +0 -1
- package/dist/ldf/p-44c8d30b.entry.js +0 -1
- package/dist/ldf/p-48e44122.js +0 -1
- package/dist/ldf/p-4a4380fa.entry.js +0 -1
- package/dist/ldf/p-4b80de48.js +0 -1
- package/dist/ldf/p-4e0b3c0f.entry.js +0 -1
- package/dist/ldf/p-52656429.entry.js +0 -1
- package/dist/ldf/p-55d797c1.js +0 -1
- package/dist/ldf/p-56ea465d.entry.js +0 -1
- package/dist/ldf/p-59340423.entry.js +0 -1
- package/dist/ldf/p-5b51185b.js +0 -1
- package/dist/ldf/p-5be7ff17.entry.js +0 -1
- package/dist/ldf/p-63b5daf6.entry.js +0 -1
- package/dist/ldf/p-66a7385e.entry.js +0 -1
- package/dist/ldf/p-6857574d.js +0 -1
- package/dist/ldf/p-69f85ad3.entry.js +0 -1
- package/dist/ldf/p-714cf0b2.js +0 -1
- package/dist/ldf/p-718ae824.js +0 -1
- package/dist/ldf/p-79a526a1.entry.js +0 -1
- package/dist/ldf/p-7abeb82c.entry.js +0 -1
- package/dist/ldf/p-7efa633b.entry.js +0 -1
- package/dist/ldf/p-84f38db6.entry.js +0 -1
- package/dist/ldf/p-8767a74e.entry.js +0 -1
- package/dist/ldf/p-88dbd8b6.js +0 -1
- package/dist/ldf/p-8af99fa3.entry.js +0 -1
- package/dist/ldf/p-8c2727db.entry.js +0 -1
- package/dist/ldf/p-978e2c6d.js +0 -1
- package/dist/ldf/p-9bd5d1d4.entry.js +0 -1
- package/dist/ldf/p-9c397c49.entry.js +0 -1
- package/dist/ldf/p-9e255008.entry.js +0 -1
- package/dist/ldf/p-9e2c172e.entry.js +0 -1
- package/dist/ldf/p-ac7a17ce.entry.js +0 -1
- package/dist/ldf/p-acbbd1ec.js +0 -1
- package/dist/ldf/p-ada4d650.entry.js +0 -1
- package/dist/ldf/p-afc1a02c.js +0 -1
- package/dist/ldf/p-b1242016.js +0 -1
- package/dist/ldf/p-b62e8f49.js +0 -1
- package/dist/ldf/p-b78336d7.entry.js +0 -1
- package/dist/ldf/p-ba021918.entry.js +0 -1
- package/dist/ldf/p-c1df632d.entry.js +0 -1
- package/dist/ldf/p-c3042920.entry.js +0 -1
- package/dist/ldf/p-c3841978.entry.js +0 -1
- package/dist/ldf/p-c41e055c.entry.js +0 -1
- package/dist/ldf/p-c6a8f4aa.js +0 -1
- package/dist/ldf/p-c6b42618.entry.js +0 -1
- package/dist/ldf/p-c74d3fd0.entry.js +0 -1
- package/dist/ldf/p-c82dd468.entry.js +0 -1
- package/dist/ldf/p-ca698b8f.entry.js +0 -1
- package/dist/ldf/p-cbfbb80c.entry.js +0 -1
- package/dist/ldf/p-d282d4f9.js +0 -1
- package/dist/ldf/p-d7966e9b.entry.js +0 -1
- package/dist/ldf/p-d7f8c770.js +0 -1
- package/dist/ldf/p-d9c1c1f6.js +0 -1
- package/dist/ldf/p-dd99e42a.entry.js +0 -1
- package/dist/ldf/p-de5bb5ad.js +0 -1
- package/dist/ldf/p-e0e12ae3.entry.js +0 -1
- package/dist/ldf/p-e215fd02.entry.js +0 -1
- package/dist/ldf/p-e4be11ad.entry.js +0 -1
- package/dist/ldf/p-ebd887c2.entry.js +0 -1
- package/dist/ldf/p-ec5eecdc.entry.js +0 -1
- package/dist/ldf/p-ed3327fa.js +0 -1
- package/dist/ldf/p-f2ce126e.js +0 -1
- package/dist/ldf/p-f3a0c163.js +0 -1
- package/dist/ldf/p-fa135d5f.entry.js +0 -1
- package/dist/ldf/p-fddee761.entry.js +0 -1
- package/dist/ldf/p-fe59a676.entry.js +0 -1
|
@@ -0,0 +1,2231 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-01fdec29.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-bd0aab94.js');
|
|
7
|
+
const helpers = require('./helpers-c2496722.js');
|
|
8
|
+
const theme = require('./theme-b0b295c1.js');
|
|
9
|
+
const dir = require('./dir-5af5259a.js');
|
|
10
|
+
const index$1 = require('./index-9c7b27e4.js');
|
|
11
|
+
const index$2 = require('./index-b6879fbc.js');
|
|
12
|
+
const index$3 = require('./index-e56e09b8.js');
|
|
13
|
+
const overlays = require('./overlays-240c867b.js');
|
|
14
|
+
require('./book-b04f6553.js');
|
|
15
|
+
const change = require('./change-cdb1e8c0.js');
|
|
16
|
+
const locale = require('./locale-13a47c0e.js');
|
|
17
|
+
require('./hardware-back-button-92d97ff8.js');
|
|
18
|
+
|
|
19
|
+
const buttonIosCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;box-sizing:border-box;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}";
|
|
20
|
+
|
|
21
|
+
const buttonMdCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;box-sizing:border-box;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--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)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}";
|
|
22
|
+
|
|
23
|
+
const Button = class {
|
|
24
|
+
constructor(hostRef) {
|
|
25
|
+
index.registerInstance(this, hostRef);
|
|
26
|
+
this.ionFocus = index.createEvent(this, "ionFocus", 7);
|
|
27
|
+
this.ionBlur = index.createEvent(this, "ionBlur", 7);
|
|
28
|
+
this.inItem = false;
|
|
29
|
+
this.inListHeader = false;
|
|
30
|
+
this.inToolbar = false;
|
|
31
|
+
this.inheritedAttributes = {};
|
|
32
|
+
/**
|
|
33
|
+
* The type of button.
|
|
34
|
+
*/
|
|
35
|
+
this.buttonType = 'button';
|
|
36
|
+
/**
|
|
37
|
+
* If `true`, the user cannot interact with the button.
|
|
38
|
+
*/
|
|
39
|
+
this.disabled = false;
|
|
40
|
+
/**
|
|
41
|
+
* When using a router, it specifies the transition direction when navigating to
|
|
42
|
+
* another page using `href`.
|
|
43
|
+
*/
|
|
44
|
+
this.routerDirection = 'forward';
|
|
45
|
+
/**
|
|
46
|
+
* If `true`, activates a button with a heavier font weight.
|
|
47
|
+
*/
|
|
48
|
+
this.strong = false;
|
|
49
|
+
/**
|
|
50
|
+
* The type of the button.
|
|
51
|
+
*/
|
|
52
|
+
this.type = 'button';
|
|
53
|
+
this.handleClick = (ev) => {
|
|
54
|
+
if (this.type === 'button') {
|
|
55
|
+
theme.openURL(this.href, ev, this.routerDirection, this.routerAnimation);
|
|
56
|
+
}
|
|
57
|
+
else if (helpers.hasShadowDom(this.el)) {
|
|
58
|
+
// this button wants to specifically submit a form
|
|
59
|
+
// climb up the dom to see if we're in a <form>
|
|
60
|
+
// and if so, then use JS to submit it
|
|
61
|
+
const form = this.el.closest('form');
|
|
62
|
+
if (form) {
|
|
63
|
+
ev.preventDefault();
|
|
64
|
+
const fakeButton = document.createElement('button');
|
|
65
|
+
fakeButton.type = this.type;
|
|
66
|
+
fakeButton.style.display = 'none';
|
|
67
|
+
form.appendChild(fakeButton);
|
|
68
|
+
fakeButton.click();
|
|
69
|
+
fakeButton.remove();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
this.onFocus = () => {
|
|
74
|
+
this.ionFocus.emit();
|
|
75
|
+
};
|
|
76
|
+
this.onBlur = () => {
|
|
77
|
+
this.ionBlur.emit();
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
componentWillLoad() {
|
|
81
|
+
this.inToolbar = !!this.el.closest('ion-buttons');
|
|
82
|
+
this.inListHeader = !!this.el.closest('ion-list-header');
|
|
83
|
+
this.inItem = !!this.el.closest('ion-item') || !!this.el.closest('ion-item-divider');
|
|
84
|
+
this.inheritedAttributes = helpers.inheritAriaAttributes(this.el);
|
|
85
|
+
}
|
|
86
|
+
get hasIconOnly() {
|
|
87
|
+
return !!this.el.querySelector('[slot="icon-only"]');
|
|
88
|
+
}
|
|
89
|
+
get rippleType() {
|
|
90
|
+
const hasClearFill = this.fill === undefined || this.fill === 'clear';
|
|
91
|
+
// If the button is in a toolbar, has a clear fill (which is the default)
|
|
92
|
+
// and only has an icon we use the unbounded "circular" ripple effect
|
|
93
|
+
if (hasClearFill && this.hasIconOnly && this.inToolbar) {
|
|
94
|
+
return 'unbounded';
|
|
95
|
+
}
|
|
96
|
+
return 'bounded';
|
|
97
|
+
}
|
|
98
|
+
render() {
|
|
99
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
100
|
+
const { buttonType, type, disabled, rel, target, size, href, color, expand, hasIconOnly, shape, strong, inheritedAttributes, } = this;
|
|
101
|
+
const finalSize = size === undefined && this.inItem ? 'small' : size;
|
|
102
|
+
const TagType = href === undefined ? 'button' : 'a';
|
|
103
|
+
const attrs = TagType === 'button'
|
|
104
|
+
? { type }
|
|
105
|
+
: {
|
|
106
|
+
download: this.download,
|
|
107
|
+
href,
|
|
108
|
+
rel,
|
|
109
|
+
target,
|
|
110
|
+
};
|
|
111
|
+
let fill = this.fill;
|
|
112
|
+
if (fill === undefined) {
|
|
113
|
+
fill = this.inToolbar || this.inListHeader ? 'clear' : 'solid';
|
|
114
|
+
}
|
|
115
|
+
return (index.h(index.Host, { onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: theme.createColorClasses(color, {
|
|
116
|
+
[mode]: true,
|
|
117
|
+
[buttonType]: true,
|
|
118
|
+
[`${buttonType}-${expand}`]: expand !== undefined,
|
|
119
|
+
[`${buttonType}-${finalSize}`]: finalSize !== undefined,
|
|
120
|
+
[`${buttonType}-${shape}`]: shape !== undefined,
|
|
121
|
+
[`${buttonType}-${fill}`]: true,
|
|
122
|
+
[`${buttonType}-strong`]: strong,
|
|
123
|
+
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
124
|
+
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
125
|
+
'button-has-icon-only': hasIconOnly,
|
|
126
|
+
'button-disabled': disabled,
|
|
127
|
+
'ion-activatable': true,
|
|
128
|
+
'ion-focusable': true,
|
|
129
|
+
}) }, index.h(TagType, Object.assign({}, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), index.h("span", { class: "button-inner" }, index.h("slot", { name: "icon-only" }), index.h("slot", { name: "start" }), index.h("slot", null), index.h("slot", { name: "end" })), mode === 'md' && index.h("ion-ripple-effect", { type: this.rippleType }))));
|
|
130
|
+
}
|
|
131
|
+
get el() { return index.getElement(this); }
|
|
132
|
+
};
|
|
133
|
+
Button.style = {
|
|
134
|
+
ios: buttonIosCss,
|
|
135
|
+
md: buttonMdCss
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
const buttonsIosCss = ".sc-ion-buttons-ios-h{display:flex;align-items:center;transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-start:5px;--padding-end:5px;margin-left:2px;margin-right:2px;height:32px;font-size:17px;font-weight:400}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:24px;line-height:0.67}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:24px;line-height:0.67}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:28px;line-height:0.67}";
|
|
139
|
+
|
|
140
|
+
const buttonsMdCss = ".sc-ion-buttons-md-h{display:flex;align-items:center;transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;--padding-start:8px;--padding-end:8px;--box-shadow:none;margin-left:2px;margin-right:2px;height:32px;font-size:14px;font-weight:500}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:48px;height:48px}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:1.4em}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:1.4em}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}";
|
|
141
|
+
|
|
142
|
+
const Buttons = class {
|
|
143
|
+
constructor(hostRef) {
|
|
144
|
+
index.registerInstance(this, hostRef);
|
|
145
|
+
/**
|
|
146
|
+
* If true, buttons will disappear when its
|
|
147
|
+
* parent toolbar has fully collapsed if the toolbar
|
|
148
|
+
* is not the first toolbar. If the toolbar is the
|
|
149
|
+
* first toolbar, the buttons will be hidden and will
|
|
150
|
+
* only be shown once all toolbars have fully collapsed.
|
|
151
|
+
*
|
|
152
|
+
* Only applies in `ios` mode with `collapse` set to
|
|
153
|
+
* `true` on `ion-header`.
|
|
154
|
+
*
|
|
155
|
+
* Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
|
|
156
|
+
*/
|
|
157
|
+
this.collapse = false;
|
|
158
|
+
}
|
|
159
|
+
render() {
|
|
160
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
161
|
+
return (index.h(index.Host, { class: {
|
|
162
|
+
[mode]: true,
|
|
163
|
+
['buttons-collapse']: this.collapse,
|
|
164
|
+
} }));
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
Buttons.style = {
|
|
168
|
+
ios: buttonsIosCss,
|
|
169
|
+
md: buttonsMdCss
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);box-sizing:border-box;overflow:hidden;touch-action:pan-x pan-y pinch-zoom}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.inner-scroll{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\"\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:flex;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:10px;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTE3MDgzRkQ5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTE3MDgzRkU5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMTcwODNGQjlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMTcwODNGQzlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmePEuQAAABNSURBVHjaYvz//z8DIxAwMDAwATGMhmFmPDQuOSZks0AMmoJBaQHjkPfB0Lfg/2gQjVow+HPy/yHvg9GiYjQfjMbBqAWjFgy/4hogwADYqwdzxy5BuwAAAABJRU5ErkJggg==);background-repeat:repeat-y;background-size:10px 16px}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;transform:translateZ(0)}";
|
|
173
|
+
|
|
174
|
+
const Content = class {
|
|
175
|
+
constructor(hostRef) {
|
|
176
|
+
index.registerInstance(this, hostRef);
|
|
177
|
+
this.ionScrollStart = index.createEvent(this, "ionScrollStart", 7);
|
|
178
|
+
this.ionScroll = index.createEvent(this, "ionScroll", 7);
|
|
179
|
+
this.ionScrollEnd = index.createEvent(this, "ionScrollEnd", 7);
|
|
180
|
+
this.isScrolling = false;
|
|
181
|
+
this.lastScroll = 0;
|
|
182
|
+
this.queued = false;
|
|
183
|
+
this.cTop = -1;
|
|
184
|
+
this.cBottom = -1;
|
|
185
|
+
this.isMainContent = true;
|
|
186
|
+
// Detail is used in a hot loop in the scroll event, by allocating it here
|
|
187
|
+
// V8 will be able to inline any read/write to it since it's a monomorphic class.
|
|
188
|
+
// https://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html
|
|
189
|
+
this.detail = {
|
|
190
|
+
scrollTop: 0,
|
|
191
|
+
scrollLeft: 0,
|
|
192
|
+
type: 'scroll',
|
|
193
|
+
event: undefined,
|
|
194
|
+
startX: 0,
|
|
195
|
+
startY: 0,
|
|
196
|
+
startTime: 0,
|
|
197
|
+
currentX: 0,
|
|
198
|
+
currentY: 0,
|
|
199
|
+
velocityX: 0,
|
|
200
|
+
velocityY: 0,
|
|
201
|
+
deltaX: 0,
|
|
202
|
+
deltaY: 0,
|
|
203
|
+
currentTime: 0,
|
|
204
|
+
data: undefined,
|
|
205
|
+
isScrolling: true,
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* If `true`, the content will scroll behind the headers
|
|
209
|
+
* and footers. This effect can easily be seen by setting the toolbar
|
|
210
|
+
* to transparent.
|
|
211
|
+
*/
|
|
212
|
+
this.fullscreen = false;
|
|
213
|
+
/**
|
|
214
|
+
* If you want to enable the content scrolling in the X axis, set this property to `true`.
|
|
215
|
+
*/
|
|
216
|
+
this.scrollX = false;
|
|
217
|
+
/**
|
|
218
|
+
* If you want to disable the content scrolling in the Y axis, set this property to `false`.
|
|
219
|
+
*/
|
|
220
|
+
this.scrollY = true;
|
|
221
|
+
/**
|
|
222
|
+
* Because of performance reasons, ionScroll events are disabled by default, in order to enable them
|
|
223
|
+
* and start listening from (ionScroll), set this property to `true`.
|
|
224
|
+
*/
|
|
225
|
+
this.scrollEvents = false;
|
|
226
|
+
}
|
|
227
|
+
connectedCallback() {
|
|
228
|
+
this.isMainContent = this.el.closest('ion-menu, ion-popover, ion-modal') === null;
|
|
229
|
+
}
|
|
230
|
+
disconnectedCallback() {
|
|
231
|
+
this.onScrollEnd();
|
|
232
|
+
}
|
|
233
|
+
onAppLoad() {
|
|
234
|
+
this.resize();
|
|
235
|
+
}
|
|
236
|
+
shouldForceOverscroll() {
|
|
237
|
+
const { forceOverscroll } = this;
|
|
238
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
239
|
+
return forceOverscroll === undefined ? mode === 'ios' && ionicGlobal.isPlatform('ios') : forceOverscroll;
|
|
240
|
+
}
|
|
241
|
+
resize() {
|
|
242
|
+
if (this.fullscreen) {
|
|
243
|
+
index.readTask(() => this.readDimensions());
|
|
244
|
+
}
|
|
245
|
+
else if (this.cTop !== 0 || this.cBottom !== 0) {
|
|
246
|
+
this.cTop = this.cBottom = 0;
|
|
247
|
+
index.forceUpdate(this);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
readDimensions() {
|
|
251
|
+
const page = getPageElement(this.el);
|
|
252
|
+
const top = Math.max(this.el.offsetTop, 0);
|
|
253
|
+
const bottom = Math.max(page.offsetHeight - top - this.el.offsetHeight, 0);
|
|
254
|
+
const dirty = top !== this.cTop || bottom !== this.cBottom;
|
|
255
|
+
if (dirty) {
|
|
256
|
+
this.cTop = top;
|
|
257
|
+
this.cBottom = bottom;
|
|
258
|
+
index.forceUpdate(this);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
onScroll(ev) {
|
|
262
|
+
const timeStamp = Date.now();
|
|
263
|
+
const shouldStart = !this.isScrolling;
|
|
264
|
+
this.lastScroll = timeStamp;
|
|
265
|
+
if (shouldStart) {
|
|
266
|
+
this.onScrollStart();
|
|
267
|
+
}
|
|
268
|
+
if (!this.queued && this.scrollEvents) {
|
|
269
|
+
this.queued = true;
|
|
270
|
+
index.readTask((ts) => {
|
|
271
|
+
this.queued = false;
|
|
272
|
+
this.detail.event = ev;
|
|
273
|
+
updateScrollDetail(this.detail, this.scrollEl, ts, shouldStart);
|
|
274
|
+
this.ionScroll.emit(this.detail);
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Get the element where the actual scrolling takes place.
|
|
280
|
+
* This element can be used to subscribe to `scroll` events or manually modify
|
|
281
|
+
* `scrollTop`. However, it's recommended to use the API provided by `ion-content`:
|
|
282
|
+
*
|
|
283
|
+
* i.e. Using `ionScroll`, `ionScrollStart`, `ionScrollEnd` for scrolling events
|
|
284
|
+
* and `scrollToPoint()` to scroll the content into a certain point.
|
|
285
|
+
*/
|
|
286
|
+
async getScrollElement() {
|
|
287
|
+
/**
|
|
288
|
+
* If this gets called in certain early lifecycle hooks (ex: Vue onMounted),
|
|
289
|
+
* scrollEl won't be defined yet with the custom elements build, so wait for it to load in.
|
|
290
|
+
*/
|
|
291
|
+
if (!this.scrollEl) {
|
|
292
|
+
await new Promise((resolve) => helpers.componentOnReady(this.el, resolve));
|
|
293
|
+
}
|
|
294
|
+
return Promise.resolve(this.scrollEl);
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Returns the background content element.
|
|
298
|
+
* @internal
|
|
299
|
+
*/
|
|
300
|
+
async getBackgroundElement() {
|
|
301
|
+
if (!this.backgroundContentEl) {
|
|
302
|
+
await new Promise((resolve) => helpers.componentOnReady(this.el, resolve));
|
|
303
|
+
}
|
|
304
|
+
return Promise.resolve(this.backgroundContentEl);
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Scroll to the top of the component.
|
|
308
|
+
*
|
|
309
|
+
* @param duration The amount of time to take scrolling to the top. Defaults to `0`.
|
|
310
|
+
*/
|
|
311
|
+
scrollToTop(duration = 0) {
|
|
312
|
+
return this.scrollToPoint(undefined, 0, duration);
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Scroll to the bottom of the component.
|
|
316
|
+
*
|
|
317
|
+
* @param duration The amount of time to take scrolling to the bottom. Defaults to `0`.
|
|
318
|
+
*/
|
|
319
|
+
async scrollToBottom(duration = 0) {
|
|
320
|
+
const scrollEl = await this.getScrollElement();
|
|
321
|
+
const y = scrollEl.scrollHeight - scrollEl.clientHeight;
|
|
322
|
+
return this.scrollToPoint(undefined, y, duration);
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Scroll by a specified X/Y distance in the component.
|
|
326
|
+
*
|
|
327
|
+
* @param x The amount to scroll by on the horizontal axis.
|
|
328
|
+
* @param y The amount to scroll by on the vertical axis.
|
|
329
|
+
* @param duration The amount of time to take scrolling by that amount.
|
|
330
|
+
*/
|
|
331
|
+
async scrollByPoint(x, y, duration) {
|
|
332
|
+
const scrollEl = await this.getScrollElement();
|
|
333
|
+
return this.scrollToPoint(x + scrollEl.scrollLeft, y + scrollEl.scrollTop, duration);
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Scroll to a specified X/Y location in the component.
|
|
337
|
+
*
|
|
338
|
+
* @param x The point to scroll to on the horizontal axis.
|
|
339
|
+
* @param y The point to scroll to on the vertical axis.
|
|
340
|
+
* @param duration The amount of time to take scrolling to that point. Defaults to `0`.
|
|
341
|
+
*/
|
|
342
|
+
async scrollToPoint(x, y, duration = 0) {
|
|
343
|
+
const el = await this.getScrollElement();
|
|
344
|
+
if (duration < 32) {
|
|
345
|
+
if (y != null) {
|
|
346
|
+
el.scrollTop = y;
|
|
347
|
+
}
|
|
348
|
+
if (x != null) {
|
|
349
|
+
el.scrollLeft = x;
|
|
350
|
+
}
|
|
351
|
+
return;
|
|
352
|
+
}
|
|
353
|
+
let resolve;
|
|
354
|
+
let startTime = 0;
|
|
355
|
+
const promise = new Promise((r) => (resolve = r));
|
|
356
|
+
const fromY = el.scrollTop;
|
|
357
|
+
const fromX = el.scrollLeft;
|
|
358
|
+
const deltaY = y != null ? y - fromY : 0;
|
|
359
|
+
const deltaX = x != null ? x - fromX : 0;
|
|
360
|
+
// scroll loop
|
|
361
|
+
const step = (timeStamp) => {
|
|
362
|
+
const linearTime = Math.min(1, (timeStamp - startTime) / duration) - 1;
|
|
363
|
+
const easedT = Math.pow(linearTime, 3) + 1;
|
|
364
|
+
if (deltaY !== 0) {
|
|
365
|
+
el.scrollTop = Math.floor(easedT * deltaY + fromY);
|
|
366
|
+
}
|
|
367
|
+
if (deltaX !== 0) {
|
|
368
|
+
el.scrollLeft = Math.floor(easedT * deltaX + fromX);
|
|
369
|
+
}
|
|
370
|
+
if (easedT < 1) {
|
|
371
|
+
// do not use DomController here
|
|
372
|
+
// must use nativeRaf in order to fire in the next frame
|
|
373
|
+
// TODO: remove as any
|
|
374
|
+
requestAnimationFrame(step);
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
resolve();
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
// chill out for a frame first
|
|
381
|
+
requestAnimationFrame((ts) => {
|
|
382
|
+
startTime = ts;
|
|
383
|
+
step(ts);
|
|
384
|
+
});
|
|
385
|
+
return promise;
|
|
386
|
+
}
|
|
387
|
+
onScrollStart() {
|
|
388
|
+
this.isScrolling = true;
|
|
389
|
+
this.ionScrollStart.emit({
|
|
390
|
+
isScrolling: true,
|
|
391
|
+
});
|
|
392
|
+
if (this.watchDog) {
|
|
393
|
+
clearInterval(this.watchDog);
|
|
394
|
+
}
|
|
395
|
+
// watchdog
|
|
396
|
+
this.watchDog = setInterval(() => {
|
|
397
|
+
if (this.lastScroll < Date.now() - 120) {
|
|
398
|
+
this.onScrollEnd();
|
|
399
|
+
}
|
|
400
|
+
}, 100);
|
|
401
|
+
}
|
|
402
|
+
onScrollEnd() {
|
|
403
|
+
clearInterval(this.watchDog);
|
|
404
|
+
this.watchDog = null;
|
|
405
|
+
if (this.isScrolling) {
|
|
406
|
+
this.isScrolling = false;
|
|
407
|
+
this.ionScrollEnd.emit({
|
|
408
|
+
isScrolling: false,
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
render() {
|
|
413
|
+
const { isMainContent, scrollX, scrollY, el } = this;
|
|
414
|
+
const rtl = dir.isRTL(el) ? 'rtl' : 'ltr';
|
|
415
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
416
|
+
const forceOverscroll = this.shouldForceOverscroll();
|
|
417
|
+
const transitionShadow = mode === 'ios';
|
|
418
|
+
const TagType = isMainContent ? 'main' : 'div';
|
|
419
|
+
this.resize();
|
|
420
|
+
return (index.h(index.Host, { class: theme.createColorClasses(this.color, {
|
|
421
|
+
[mode]: true,
|
|
422
|
+
'content-sizing': theme.hostContext('ion-popover', this.el),
|
|
423
|
+
overscroll: forceOverscroll,
|
|
424
|
+
[`content-${rtl}`]: true,
|
|
425
|
+
}), style: {
|
|
426
|
+
'--offset-top': `${this.cTop}px`,
|
|
427
|
+
'--offset-bottom': `${this.cBottom}px`,
|
|
428
|
+
} }, index.h("div", { ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), index.h(TagType, { class: {
|
|
429
|
+
'inner-scroll': true,
|
|
430
|
+
'scroll-x': scrollX,
|
|
431
|
+
'scroll-y': scrollY,
|
|
432
|
+
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
433
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, index.h("slot", null)), transitionShadow ? (index.h("div", { class: "transition-effect" }, index.h("div", { class: "transition-cover" }), index.h("div", { class: "transition-shadow" }))) : null, index.h("slot", { name: "fixed" })));
|
|
434
|
+
}
|
|
435
|
+
get el() { return index.getElement(this); }
|
|
436
|
+
};
|
|
437
|
+
const getParentElement = (el) => {
|
|
438
|
+
var _a;
|
|
439
|
+
if (el.parentElement) {
|
|
440
|
+
// normal element with a parent element
|
|
441
|
+
return el.parentElement;
|
|
442
|
+
}
|
|
443
|
+
if ((_a = el.parentNode) === null || _a === void 0 ? void 0 : _a.host) {
|
|
444
|
+
// shadow dom's document fragment
|
|
445
|
+
return el.parentNode.host;
|
|
446
|
+
}
|
|
447
|
+
return null;
|
|
448
|
+
};
|
|
449
|
+
const getPageElement = (el) => {
|
|
450
|
+
const tabs = el.closest('ion-tabs');
|
|
451
|
+
if (tabs) {
|
|
452
|
+
return tabs;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* If we're in a popover, we need to use its wrapper so we can account for space
|
|
456
|
+
* between the popover and the edges of the screen. But if the popover contains
|
|
457
|
+
* its own page element, we should use that instead.
|
|
458
|
+
*/
|
|
459
|
+
const page = el.closest('ion-app, ion-page, .ion-page, page-inner, .popover-content');
|
|
460
|
+
if (page) {
|
|
461
|
+
return page;
|
|
462
|
+
}
|
|
463
|
+
return getParentElement(el);
|
|
464
|
+
};
|
|
465
|
+
// ******** DOM READ ****************
|
|
466
|
+
const updateScrollDetail = (detail, el, timestamp, shouldStart) => {
|
|
467
|
+
const prevX = detail.currentX;
|
|
468
|
+
const prevY = detail.currentY;
|
|
469
|
+
const prevT = detail.currentTime;
|
|
470
|
+
const currentX = el.scrollLeft;
|
|
471
|
+
const currentY = el.scrollTop;
|
|
472
|
+
const timeDelta = timestamp - prevT;
|
|
473
|
+
if (shouldStart) {
|
|
474
|
+
// remember the start positions
|
|
475
|
+
detail.startTime = timestamp;
|
|
476
|
+
detail.startX = currentX;
|
|
477
|
+
detail.startY = currentY;
|
|
478
|
+
detail.velocityX = detail.velocityY = 0;
|
|
479
|
+
}
|
|
480
|
+
detail.currentTime = timestamp;
|
|
481
|
+
detail.currentX = detail.scrollLeft = currentX;
|
|
482
|
+
detail.currentY = detail.scrollTop = currentY;
|
|
483
|
+
detail.deltaX = currentX - detail.startX;
|
|
484
|
+
detail.deltaY = currentY - detail.startY;
|
|
485
|
+
if (timeDelta > 0 && timeDelta < 100) {
|
|
486
|
+
const velocityX = (currentX - prevX) / timeDelta;
|
|
487
|
+
const velocityY = (currentY - prevY) / timeDelta;
|
|
488
|
+
detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;
|
|
489
|
+
detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
Content.style = contentCss;
|
|
493
|
+
|
|
494
|
+
/*!
|
|
495
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
496
|
+
*/
|
|
497
|
+
const TRANSITION = 'all 0.2s ease-in-out';
|
|
498
|
+
const cloneElement = (tagName) => {
|
|
499
|
+
const getCachedEl = document.querySelector(`${tagName}.ion-cloned-element`);
|
|
500
|
+
if (getCachedEl !== null) {
|
|
501
|
+
return getCachedEl;
|
|
502
|
+
}
|
|
503
|
+
const clonedEl = document.createElement(tagName);
|
|
504
|
+
clonedEl.classList.add('ion-cloned-element');
|
|
505
|
+
clonedEl.style.setProperty('display', 'none');
|
|
506
|
+
document.body.appendChild(clonedEl);
|
|
507
|
+
return clonedEl;
|
|
508
|
+
};
|
|
509
|
+
const createHeaderIndex = (headerEl) => {
|
|
510
|
+
if (!headerEl) {
|
|
511
|
+
return;
|
|
512
|
+
}
|
|
513
|
+
const toolbars = headerEl.querySelectorAll('ion-toolbar');
|
|
514
|
+
return {
|
|
515
|
+
el: headerEl,
|
|
516
|
+
toolbars: Array.from(toolbars).map((toolbar) => {
|
|
517
|
+
const ionTitleEl = toolbar.querySelector('ion-title');
|
|
518
|
+
return {
|
|
519
|
+
el: toolbar,
|
|
520
|
+
background: toolbar.shadowRoot.querySelector('.toolbar-background'),
|
|
521
|
+
ionTitleEl,
|
|
522
|
+
innerTitleEl: ionTitleEl ? ionTitleEl.shadowRoot.querySelector('.toolbar-title') : null,
|
|
523
|
+
ionButtonsEl: Array.from(toolbar.querySelectorAll('ion-buttons')) || [],
|
|
524
|
+
};
|
|
525
|
+
}) || [],
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
const handleContentScroll = (scrollEl, scrollHeaderIndex, contentEl) => {
|
|
529
|
+
index.readTask(() => {
|
|
530
|
+
const scrollTop = scrollEl.scrollTop;
|
|
531
|
+
const scale = helpers.clamp(1, 1 + -scrollTop / 500, 1.1);
|
|
532
|
+
// Native refresher should not cause titles to scale
|
|
533
|
+
const nativeRefresher = contentEl.querySelector('ion-refresher.refresher-native');
|
|
534
|
+
if (nativeRefresher === null) {
|
|
535
|
+
index.writeTask(() => {
|
|
536
|
+
scaleLargeTitles(scrollHeaderIndex.toolbars, scale);
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
});
|
|
540
|
+
};
|
|
541
|
+
const setToolbarBackgroundOpacity = (headerEl, opacity) => {
|
|
542
|
+
/**
|
|
543
|
+
* Fading in the backdrop opacity
|
|
544
|
+
* should happen after the large title
|
|
545
|
+
* has collapsed, so it is handled
|
|
546
|
+
* by handleHeaderFade()
|
|
547
|
+
*/
|
|
548
|
+
if (headerEl.collapse === 'fade') {
|
|
549
|
+
return;
|
|
550
|
+
}
|
|
551
|
+
if (opacity === undefined) {
|
|
552
|
+
headerEl.style.removeProperty('--opacity-scale');
|
|
553
|
+
}
|
|
554
|
+
else {
|
|
555
|
+
headerEl.style.setProperty('--opacity-scale', opacity.toString());
|
|
556
|
+
}
|
|
557
|
+
};
|
|
558
|
+
const handleToolbarBorderIntersection = (ev, mainHeaderIndex, scrollTop) => {
|
|
559
|
+
if (!ev[0].isIntersecting) {
|
|
560
|
+
return;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* There is a bug in Safari where overflow scrolling on a non-body element
|
|
564
|
+
* does not always reset the scrollTop position to 0 when letting go. It will
|
|
565
|
+
* set to 1 once the rubber band effect has ended. This causes the background to
|
|
566
|
+
* appear slightly on certain app setups.
|
|
567
|
+
*
|
|
568
|
+
* Additionally, we check if user is rubber banding (scrolling is negative)
|
|
569
|
+
* as this can mean they are using pull to refresh. Once the refresher starts,
|
|
570
|
+
* the content is transformed which can cause the intersection observer to erroneously
|
|
571
|
+
* fire here as well.
|
|
572
|
+
*/
|
|
573
|
+
const scale = ev[0].intersectionRatio > 0.9 || scrollTop <= 0 ? 0 : ((1 - ev[0].intersectionRatio) * 100) / 75;
|
|
574
|
+
setToolbarBackgroundOpacity(mainHeaderIndex.el, scale === 1 ? undefined : scale);
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* If toolbars are intersecting, hide the scrollable toolbar content
|
|
578
|
+
* and show the primary toolbar content. If the toolbars are not intersecting,
|
|
579
|
+
* hide the primary toolbar content and show the scrollable toolbar content
|
|
580
|
+
*/
|
|
581
|
+
const handleToolbarIntersection = (ev, mainHeaderIndex, scrollHeaderIndex, scrollEl) => {
|
|
582
|
+
index.writeTask(() => {
|
|
583
|
+
const scrollTop = scrollEl.scrollTop;
|
|
584
|
+
handleToolbarBorderIntersection(ev, mainHeaderIndex, scrollTop);
|
|
585
|
+
const event = ev[0];
|
|
586
|
+
const intersection = event.intersectionRect;
|
|
587
|
+
const intersectionArea = intersection.width * intersection.height;
|
|
588
|
+
const rootArea = event.rootBounds.width * event.rootBounds.height;
|
|
589
|
+
const isPageHidden = intersectionArea === 0 && rootArea === 0;
|
|
590
|
+
const leftDiff = Math.abs(intersection.left - event.boundingClientRect.left);
|
|
591
|
+
const rightDiff = Math.abs(intersection.right - event.boundingClientRect.right);
|
|
592
|
+
const isPageTransitioning = intersectionArea > 0 && (leftDiff >= 5 || rightDiff >= 5);
|
|
593
|
+
if (isPageHidden || isPageTransitioning) {
|
|
594
|
+
return;
|
|
595
|
+
}
|
|
596
|
+
if (event.isIntersecting) {
|
|
597
|
+
setHeaderActive(mainHeaderIndex, false);
|
|
598
|
+
setHeaderActive(scrollHeaderIndex);
|
|
599
|
+
}
|
|
600
|
+
else {
|
|
601
|
+
/**
|
|
602
|
+
* There is a bug with IntersectionObserver on Safari
|
|
603
|
+
* where `event.isIntersecting === false` when cancelling
|
|
604
|
+
* a swipe to go back gesture. Checking the intersection
|
|
605
|
+
* x, y, width, and height provides a workaround. This bug
|
|
606
|
+
* does not happen when using Safari + Web Animations,
|
|
607
|
+
* only Safari + CSS Animations.
|
|
608
|
+
*/
|
|
609
|
+
const hasValidIntersection = (intersection.x === 0 && intersection.y === 0) || (intersection.width !== 0 && intersection.height !== 0);
|
|
610
|
+
if (hasValidIntersection && scrollTop > 0) {
|
|
611
|
+
setHeaderActive(mainHeaderIndex);
|
|
612
|
+
setHeaderActive(scrollHeaderIndex, false);
|
|
613
|
+
setToolbarBackgroundOpacity(mainHeaderIndex.el);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
});
|
|
617
|
+
};
|
|
618
|
+
const setHeaderActive = (headerIndex, active = true) => {
|
|
619
|
+
const headerEl = headerIndex.el;
|
|
620
|
+
if (active) {
|
|
621
|
+
headerEl.classList.remove('header-collapse-condense-inactive');
|
|
622
|
+
headerEl.removeAttribute('aria-hidden');
|
|
623
|
+
}
|
|
624
|
+
else {
|
|
625
|
+
headerEl.classList.add('header-collapse-condense-inactive');
|
|
626
|
+
headerEl.setAttribute('aria-hidden', 'true');
|
|
627
|
+
}
|
|
628
|
+
};
|
|
629
|
+
const scaleLargeTitles = (toolbars = [], scale = 1, transition = false) => {
|
|
630
|
+
toolbars.forEach((toolbar) => {
|
|
631
|
+
const ionTitle = toolbar.ionTitleEl;
|
|
632
|
+
const titleDiv = toolbar.innerTitleEl;
|
|
633
|
+
if (!ionTitle || ionTitle.size !== 'large') {
|
|
634
|
+
return;
|
|
635
|
+
}
|
|
636
|
+
titleDiv.style.transition = transition ? TRANSITION : '';
|
|
637
|
+
titleDiv.style.transform = `scale3d(${scale}, ${scale}, 1)`;
|
|
638
|
+
});
|
|
639
|
+
};
|
|
640
|
+
const handleHeaderFade = (scrollEl, baseEl, condenseHeader) => {
|
|
641
|
+
index.readTask(() => {
|
|
642
|
+
const scrollTop = scrollEl.scrollTop;
|
|
643
|
+
const baseElHeight = baseEl.clientHeight;
|
|
644
|
+
const fadeStart = condenseHeader ? condenseHeader.clientHeight : 0;
|
|
645
|
+
/**
|
|
646
|
+
* If we are using fade header with a condense
|
|
647
|
+
* header, then the toolbar backgrounds should
|
|
648
|
+
* not begin to fade in until the condense
|
|
649
|
+
* header has fully collapsed.
|
|
650
|
+
*
|
|
651
|
+
* Additionally, the main content should not
|
|
652
|
+
* overflow out of the container until the
|
|
653
|
+
* condense header has fully collapsed. When
|
|
654
|
+
* using just the condense header the content
|
|
655
|
+
* should overflow out of the container.
|
|
656
|
+
*/
|
|
657
|
+
if (condenseHeader !== null && scrollTop < fadeStart) {
|
|
658
|
+
baseEl.style.setProperty('--opacity-scale', '0');
|
|
659
|
+
scrollEl.style.setProperty('clip-path', `inset(${baseElHeight}px 0px 0px 0px)`);
|
|
660
|
+
return;
|
|
661
|
+
}
|
|
662
|
+
const distanceToStart = scrollTop - fadeStart;
|
|
663
|
+
const fadeDuration = 10;
|
|
664
|
+
const scale = helpers.clamp(0, distanceToStart / fadeDuration, 1);
|
|
665
|
+
index.writeTask(() => {
|
|
666
|
+
scrollEl.style.removeProperty('clip-path');
|
|
667
|
+
baseEl.style.setProperty('--opacity-scale', scale.toString());
|
|
668
|
+
});
|
|
669
|
+
});
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
const headerIosCss = "ion-header{display:block;position:relative;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports (backdrop-filter: blur(0)){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:7px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{height:48px;padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}";
|
|
673
|
+
|
|
674
|
+
const headerMdCss = "ion-header{display:block;position:relative;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:\"\"}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{left:unset;right:unset;right:0}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{background-position:right 0 top -2px}.header-collapse-condense{display:none}.header-md.ion-no-border::after{display:none}";
|
|
675
|
+
|
|
676
|
+
const Header = class {
|
|
677
|
+
constructor(hostRef) {
|
|
678
|
+
index.registerInstance(this, hostRef);
|
|
679
|
+
this.inheritedAttributes = {};
|
|
680
|
+
/**
|
|
681
|
+
* If `true`, the header will be translucent.
|
|
682
|
+
* Only applies when the mode is `"ios"` and the device supports
|
|
683
|
+
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
684
|
+
*
|
|
685
|
+
* Note: In order to scroll content behind the header, the `fullscreen`
|
|
686
|
+
* attribute needs to be set on the content.
|
|
687
|
+
*/
|
|
688
|
+
this.translucent = false;
|
|
689
|
+
this.setupFadeHeader = async (contentEl, condenseHeader) => {
|
|
690
|
+
const scrollEl = (this.scrollEl = await index$1.getScrollElement(contentEl));
|
|
691
|
+
/**
|
|
692
|
+
* Handle fading of toolbars on scroll
|
|
693
|
+
*/
|
|
694
|
+
this.contentScrollCallback = () => {
|
|
695
|
+
handleHeaderFade(this.scrollEl, this.el, condenseHeader);
|
|
696
|
+
};
|
|
697
|
+
scrollEl.addEventListener('scroll', this.contentScrollCallback);
|
|
698
|
+
handleHeaderFade(this.scrollEl, this.el, condenseHeader);
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
componentWillLoad() {
|
|
702
|
+
this.inheritedAttributes = helpers.inheritAriaAttributes(this.el);
|
|
703
|
+
}
|
|
704
|
+
componentDidLoad() {
|
|
705
|
+
this.checkCollapsibleHeader();
|
|
706
|
+
}
|
|
707
|
+
componentDidUpdate() {
|
|
708
|
+
this.checkCollapsibleHeader();
|
|
709
|
+
}
|
|
710
|
+
disconnectedCallback() {
|
|
711
|
+
this.destroyCollapsibleHeader();
|
|
712
|
+
}
|
|
713
|
+
async checkCollapsibleHeader() {
|
|
714
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
715
|
+
if (mode !== 'ios') {
|
|
716
|
+
return;
|
|
717
|
+
}
|
|
718
|
+
const { collapse } = this;
|
|
719
|
+
const hasCondense = collapse === 'condense';
|
|
720
|
+
const hasFade = collapse === 'fade';
|
|
721
|
+
this.destroyCollapsibleHeader();
|
|
722
|
+
if (hasCondense) {
|
|
723
|
+
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
724
|
+
const contentEl = pageEl ? index$1.findIonContent(pageEl) : null;
|
|
725
|
+
// Cloned elements are always needed in iOS transition
|
|
726
|
+
index.writeTask(() => {
|
|
727
|
+
const title = cloneElement('ion-title');
|
|
728
|
+
title.size = 'large';
|
|
729
|
+
cloneElement('ion-back-button');
|
|
730
|
+
});
|
|
731
|
+
await this.setupCondenseHeader(contentEl, pageEl);
|
|
732
|
+
}
|
|
733
|
+
else if (hasFade) {
|
|
734
|
+
const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
|
|
735
|
+
const contentEl = pageEl ? index$1.findIonContent(pageEl) : null;
|
|
736
|
+
if (!contentEl) {
|
|
737
|
+
index$1.printIonContentErrorMsg(this.el);
|
|
738
|
+
return;
|
|
739
|
+
}
|
|
740
|
+
const condenseHeader = contentEl.querySelector('ion-header[collapse="condense"]');
|
|
741
|
+
await this.setupFadeHeader(contentEl, condenseHeader);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
destroyCollapsibleHeader() {
|
|
745
|
+
if (this.intersectionObserver) {
|
|
746
|
+
this.intersectionObserver.disconnect();
|
|
747
|
+
this.intersectionObserver = undefined;
|
|
748
|
+
}
|
|
749
|
+
if (this.scrollEl && this.contentScrollCallback) {
|
|
750
|
+
this.scrollEl.removeEventListener('scroll', this.contentScrollCallback);
|
|
751
|
+
this.contentScrollCallback = undefined;
|
|
752
|
+
}
|
|
753
|
+
if (this.collapsibleMainHeader) {
|
|
754
|
+
this.collapsibleMainHeader.classList.remove('header-collapse-main');
|
|
755
|
+
this.collapsibleMainHeader = undefined;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
async setupCondenseHeader(contentEl, pageEl) {
|
|
759
|
+
if (!contentEl || !pageEl) {
|
|
760
|
+
index$1.printIonContentErrorMsg(this.el);
|
|
761
|
+
return;
|
|
762
|
+
}
|
|
763
|
+
if (typeof IntersectionObserver === 'undefined') {
|
|
764
|
+
return;
|
|
765
|
+
}
|
|
766
|
+
this.scrollEl = await index$1.getScrollElement(contentEl);
|
|
767
|
+
const headers = pageEl.querySelectorAll('ion-header');
|
|
768
|
+
this.collapsibleMainHeader = Array.from(headers).find((header) => header.collapse !== 'condense');
|
|
769
|
+
if (!this.collapsibleMainHeader) {
|
|
770
|
+
return;
|
|
771
|
+
}
|
|
772
|
+
const mainHeaderIndex = createHeaderIndex(this.collapsibleMainHeader);
|
|
773
|
+
const scrollHeaderIndex = createHeaderIndex(this.el);
|
|
774
|
+
if (!mainHeaderIndex || !scrollHeaderIndex) {
|
|
775
|
+
return;
|
|
776
|
+
}
|
|
777
|
+
setHeaderActive(mainHeaderIndex, false);
|
|
778
|
+
setToolbarBackgroundOpacity(mainHeaderIndex.el, 0);
|
|
779
|
+
/**
|
|
780
|
+
* Handle interaction between toolbar collapse and
|
|
781
|
+
* showing/hiding content in the primary ion-header
|
|
782
|
+
* as well as progressively showing/hiding the main header
|
|
783
|
+
* border as the top-most toolbar collapses or expands.
|
|
784
|
+
*/
|
|
785
|
+
const toolbarIntersection = (ev) => {
|
|
786
|
+
handleToolbarIntersection(ev, mainHeaderIndex, scrollHeaderIndex, this.scrollEl);
|
|
787
|
+
};
|
|
788
|
+
this.intersectionObserver = new IntersectionObserver(toolbarIntersection, {
|
|
789
|
+
root: contentEl,
|
|
790
|
+
threshold: [0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1],
|
|
791
|
+
});
|
|
792
|
+
this.intersectionObserver.observe(scrollHeaderIndex.toolbars[scrollHeaderIndex.toolbars.length - 1].el);
|
|
793
|
+
/**
|
|
794
|
+
* Handle scaling of large iOS titles and
|
|
795
|
+
* showing/hiding border on last toolbar
|
|
796
|
+
* in primary header
|
|
797
|
+
*/
|
|
798
|
+
this.contentScrollCallback = () => {
|
|
799
|
+
handleContentScroll(this.scrollEl, scrollHeaderIndex, contentEl);
|
|
800
|
+
};
|
|
801
|
+
this.scrollEl.addEventListener('scroll', this.contentScrollCallback);
|
|
802
|
+
index.writeTask(() => {
|
|
803
|
+
if (this.collapsibleMainHeader !== undefined) {
|
|
804
|
+
this.collapsibleMainHeader.classList.add('header-collapse-main');
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
render() {
|
|
809
|
+
const { translucent, inheritedAttributes } = this;
|
|
810
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
811
|
+
const collapse = this.collapse || 'none';
|
|
812
|
+
// banner role must be at top level, so remove role if inside a menu
|
|
813
|
+
const roleType = theme.hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
814
|
+
return (index.h(index.Host, Object.assign({ role: roleType, class: {
|
|
815
|
+
[mode]: true,
|
|
816
|
+
// Used internally for styling
|
|
817
|
+
[`header-${mode}`]: true,
|
|
818
|
+
[`header-translucent`]: this.translucent,
|
|
819
|
+
[`header-collapse-${collapse}`]: true,
|
|
820
|
+
[`header-translucent-${mode}`]: this.translucent,
|
|
821
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && index.h("div", { class: "header-background" }), index.h("slot", null)));
|
|
822
|
+
}
|
|
823
|
+
get el() { return index.getElement(this); }
|
|
824
|
+
};
|
|
825
|
+
Header.style = {
|
|
826
|
+
ios: headerIosCss,
|
|
827
|
+
md: headerMdCss
|
|
828
|
+
};
|
|
829
|
+
|
|
830
|
+
let CACHED_MAP;
|
|
831
|
+
const getIconMap = () => {
|
|
832
|
+
if (typeof window === 'undefined') {
|
|
833
|
+
return new Map();
|
|
834
|
+
}
|
|
835
|
+
else {
|
|
836
|
+
if (!CACHED_MAP) {
|
|
837
|
+
const win = window;
|
|
838
|
+
win.Ionicons = win.Ionicons || {};
|
|
839
|
+
CACHED_MAP = win.Ionicons.map = win.Ionicons.map || new Map();
|
|
840
|
+
}
|
|
841
|
+
return CACHED_MAP;
|
|
842
|
+
}
|
|
843
|
+
};
|
|
844
|
+
const getUrl = (i) => {
|
|
845
|
+
let url = getSrc(i.src);
|
|
846
|
+
if (url) {
|
|
847
|
+
return url;
|
|
848
|
+
}
|
|
849
|
+
url = getName(i.name, i.icon, i.mode, i.ios, i.md);
|
|
850
|
+
if (url) {
|
|
851
|
+
return getNamedUrl(url);
|
|
852
|
+
}
|
|
853
|
+
if (i.icon) {
|
|
854
|
+
url = getSrc(i.icon);
|
|
855
|
+
if (url) {
|
|
856
|
+
return url;
|
|
857
|
+
}
|
|
858
|
+
url = getSrc(i.icon[i.mode]);
|
|
859
|
+
if (url) {
|
|
860
|
+
return url;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
return null;
|
|
864
|
+
};
|
|
865
|
+
const getNamedUrl = (iconName) => {
|
|
866
|
+
const url = getIconMap().get(iconName);
|
|
867
|
+
if (url) {
|
|
868
|
+
return url;
|
|
869
|
+
}
|
|
870
|
+
return index.getAssetPath(`svg/${iconName}.svg`);
|
|
871
|
+
};
|
|
872
|
+
const getName = (iconName, icon, mode, ios, md) => {
|
|
873
|
+
// default to "md" if somehow the mode wasn't set
|
|
874
|
+
mode = (mode && toLower(mode)) === 'ios' ? 'ios' : 'md';
|
|
875
|
+
// if an icon was passed in using the ios or md attributes
|
|
876
|
+
// set the iconName to whatever was passed in
|
|
877
|
+
if (ios && mode === 'ios') {
|
|
878
|
+
iconName = toLower(ios);
|
|
879
|
+
}
|
|
880
|
+
else if (md && mode === 'md') {
|
|
881
|
+
iconName = toLower(md);
|
|
882
|
+
}
|
|
883
|
+
else {
|
|
884
|
+
if (!iconName && icon && !isSrc(icon)) {
|
|
885
|
+
iconName = icon;
|
|
886
|
+
}
|
|
887
|
+
if (isStr(iconName)) {
|
|
888
|
+
iconName = toLower(iconName);
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
if (!isStr(iconName) || iconName.trim() === '') {
|
|
892
|
+
return null;
|
|
893
|
+
}
|
|
894
|
+
// only allow alpha characters and dash
|
|
895
|
+
const invalidChars = iconName.replace(/[a-z]|-|\d/gi, '');
|
|
896
|
+
if (invalidChars !== '') {
|
|
897
|
+
return null;
|
|
898
|
+
}
|
|
899
|
+
return iconName;
|
|
900
|
+
};
|
|
901
|
+
const getSrc = (src) => {
|
|
902
|
+
if (isStr(src)) {
|
|
903
|
+
src = src.trim();
|
|
904
|
+
if (isSrc(src)) {
|
|
905
|
+
return src;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
return null;
|
|
909
|
+
};
|
|
910
|
+
const isSrc = (str) => str.length > 0 && /(\/|\.)/.test(str);
|
|
911
|
+
const isStr = (val) => typeof val === 'string';
|
|
912
|
+
const toLower = (val) => val.toLowerCase();
|
|
913
|
+
/**
|
|
914
|
+
* Elements inside of web components sometimes need to inherit global attributes
|
|
915
|
+
* set on the host. For example, the inner input in `ion-input` should inherit
|
|
916
|
+
* the `title` attribute that developers set directly on `ion-input`. This
|
|
917
|
+
* helper function should be called in componentWillLoad and assigned to a variable
|
|
918
|
+
* that is later used in the render function.
|
|
919
|
+
*
|
|
920
|
+
* This does not need to be reactive as changing attributes on the host element
|
|
921
|
+
* does not trigger a re-render.
|
|
922
|
+
*/
|
|
923
|
+
const inheritAttributes = (el, attributes = []) => {
|
|
924
|
+
const attributeObject = {};
|
|
925
|
+
attributes.forEach(attr => {
|
|
926
|
+
if (el.hasAttribute(attr)) {
|
|
927
|
+
const value = el.getAttribute(attr);
|
|
928
|
+
if (value !== null) {
|
|
929
|
+
attributeObject[attr] = el.getAttribute(attr);
|
|
930
|
+
}
|
|
931
|
+
el.removeAttribute(attr);
|
|
932
|
+
}
|
|
933
|
+
});
|
|
934
|
+
return attributeObject;
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
const validateContent = (svgContent) => {
|
|
938
|
+
const div = document.createElement('div');
|
|
939
|
+
div.innerHTML = svgContent;
|
|
940
|
+
// setup this way to ensure it works on our buddy IE
|
|
941
|
+
for (let i = div.childNodes.length - 1; i >= 0; i--) {
|
|
942
|
+
if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {
|
|
943
|
+
div.removeChild(div.childNodes[i]);
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
// must only have 1 root element
|
|
947
|
+
const svgElm = div.firstElementChild;
|
|
948
|
+
if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {
|
|
949
|
+
const svgClass = svgElm.getAttribute('class') || '';
|
|
950
|
+
svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());
|
|
951
|
+
// root element must be an svg
|
|
952
|
+
// lets double check we've got valid elements
|
|
953
|
+
// do not allow scripts
|
|
954
|
+
if (isValid(svgElm)) {
|
|
955
|
+
return div.innerHTML;
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
return '';
|
|
959
|
+
};
|
|
960
|
+
const isValid = (elm) => {
|
|
961
|
+
if (elm.nodeType === 1) {
|
|
962
|
+
if (elm.nodeName.toLowerCase() === 'script') {
|
|
963
|
+
return false;
|
|
964
|
+
}
|
|
965
|
+
for (let i = 0; i < elm.attributes.length; i++) {
|
|
966
|
+
const name = elm.attributes[i].name;
|
|
967
|
+
if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {
|
|
968
|
+
return false;
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
for (let i = 0; i < elm.childNodes.length; i++) {
|
|
972
|
+
if (!isValid(elm.childNodes[i])) {
|
|
973
|
+
return false;
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
return true;
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
const ioniconContent = new Map();
|
|
981
|
+
const requests = new Map();
|
|
982
|
+
const getSvgContent = (url, sanitize) => {
|
|
983
|
+
// see if we already have a request for this url
|
|
984
|
+
let req = requests.get(url);
|
|
985
|
+
if (!req) {
|
|
986
|
+
if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {
|
|
987
|
+
// we don't already have a request
|
|
988
|
+
req = fetch(url).then((rsp) => {
|
|
989
|
+
if (rsp.ok) {
|
|
990
|
+
return rsp.text().then((svgContent) => {
|
|
991
|
+
if (svgContent && sanitize !== false) {
|
|
992
|
+
svgContent = validateContent(svgContent);
|
|
993
|
+
}
|
|
994
|
+
ioniconContent.set(url, svgContent || '');
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
ioniconContent.set(url, '');
|
|
998
|
+
});
|
|
999
|
+
// cache for the same requests
|
|
1000
|
+
requests.set(url, req);
|
|
1001
|
+
}
|
|
1002
|
+
else {
|
|
1003
|
+
// set to empty for ssr scenarios and resolve promise
|
|
1004
|
+
ioniconContent.set(url, '');
|
|
1005
|
+
return Promise.resolve();
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
return req;
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
const iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
|
|
1012
|
+
|
|
1013
|
+
const Icon = class {
|
|
1014
|
+
constructor(hostRef) {
|
|
1015
|
+
index.registerInstance(this, hostRef);
|
|
1016
|
+
this.iconName = null;
|
|
1017
|
+
this.inheritedAttributes = {};
|
|
1018
|
+
this.isVisible = false;
|
|
1019
|
+
/**
|
|
1020
|
+
* The mode determines which platform styles to use.
|
|
1021
|
+
*/
|
|
1022
|
+
this.mode = getIonMode();
|
|
1023
|
+
/**
|
|
1024
|
+
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport.
|
|
1025
|
+
* Default, `false`.
|
|
1026
|
+
*/
|
|
1027
|
+
this.lazy = false;
|
|
1028
|
+
/**
|
|
1029
|
+
* When set to `false`, SVG content that is HTTP fetched will not be checked
|
|
1030
|
+
* if the response SVG content has any `<script>` elements, or any attributes
|
|
1031
|
+
* that start with `on`, such as `onclick`.
|
|
1032
|
+
* @default true
|
|
1033
|
+
*/
|
|
1034
|
+
this.sanitize = true;
|
|
1035
|
+
this.hasAriaHidden = () => {
|
|
1036
|
+
const { el } = this;
|
|
1037
|
+
return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
componentWillLoad() {
|
|
1041
|
+
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
|
|
1042
|
+
}
|
|
1043
|
+
connectedCallback() {
|
|
1044
|
+
// purposely do not return the promise here because loading
|
|
1045
|
+
// the svg file should not hold up loading the app
|
|
1046
|
+
// only load the svg if it's visible
|
|
1047
|
+
this.waitUntilVisible(this.el, '50px', () => {
|
|
1048
|
+
this.isVisible = true;
|
|
1049
|
+
this.loadIcon();
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
disconnectedCallback() {
|
|
1053
|
+
if (this.io) {
|
|
1054
|
+
this.io.disconnect();
|
|
1055
|
+
this.io = undefined;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
waitUntilVisible(el, rootMargin, cb) {
|
|
1059
|
+
if (this.lazy && typeof window !== 'undefined' && window.IntersectionObserver) {
|
|
1060
|
+
const io = (this.io = new window.IntersectionObserver((data) => {
|
|
1061
|
+
if (data[0].isIntersecting) {
|
|
1062
|
+
io.disconnect();
|
|
1063
|
+
this.io = undefined;
|
|
1064
|
+
cb();
|
|
1065
|
+
}
|
|
1066
|
+
}, { rootMargin }));
|
|
1067
|
+
io.observe(el);
|
|
1068
|
+
}
|
|
1069
|
+
else {
|
|
1070
|
+
// browser doesn't support IntersectionObserver
|
|
1071
|
+
// so just fallback to always show it
|
|
1072
|
+
cb();
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
loadIcon() {
|
|
1076
|
+
if (this.isVisible) {
|
|
1077
|
+
const url = getUrl(this);
|
|
1078
|
+
if (url) {
|
|
1079
|
+
if (ioniconContent.has(url)) {
|
|
1080
|
+
// sync if it's already loaded
|
|
1081
|
+
this.svgContent = ioniconContent.get(url);
|
|
1082
|
+
}
|
|
1083
|
+
else {
|
|
1084
|
+
// async if it hasn't been loaded
|
|
1085
|
+
getSvgContent(url, this.sanitize).then(() => (this.svgContent = ioniconContent.get(url)));
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
const label = this.iconName = getName(this.name, this.icon, this.mode, this.ios, this.md);
|
|
1090
|
+
/**
|
|
1091
|
+
* Come up with a default label
|
|
1092
|
+
* in case user does not provide their own.
|
|
1093
|
+
*/
|
|
1094
|
+
if (label) {
|
|
1095
|
+
this.ariaLabel = label.replace(/\-/g, ' ');
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
render() {
|
|
1099
|
+
const { iconName, ariaLabel, inheritedAttributes } = this;
|
|
1100
|
+
const mode = this.mode || 'md';
|
|
1101
|
+
const flipRtl = this.flipRtl ||
|
|
1102
|
+
(iconName &&
|
|
1103
|
+
(iconName.indexOf('arrow') > -1 || iconName.indexOf('chevron') > -1) &&
|
|
1104
|
+
this.flipRtl !== false);
|
|
1105
|
+
/**
|
|
1106
|
+
* Only set the aria-label if a) we have generated
|
|
1107
|
+
* one for the icon and if aria-hidden is not set to "true".
|
|
1108
|
+
* If developer wants to set their own aria-label, then
|
|
1109
|
+
* inheritedAttributes down below will override whatever
|
|
1110
|
+
* default label we have set.
|
|
1111
|
+
*/
|
|
1112
|
+
return (index.h(index.Host, Object.assign({ "aria-label": ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null, role: "img", class: Object.assign(Object.assign({ [mode]: true }, createColorClasses(this.color)), { [`icon-${this.size}`]: !!this.size, 'flip-rtl': !!flipRtl && this.el.ownerDocument.dir === 'rtl' }) }, inheritedAttributes), this.svgContent ? (index.h("div", { class: "icon-inner", innerHTML: this.svgContent })) : (index.h("div", { class: "icon-inner" }))));
|
|
1113
|
+
}
|
|
1114
|
+
static get assetsDirs() { return ["svg"]; }
|
|
1115
|
+
get el() { return index.getElement(this); }
|
|
1116
|
+
static get watchers() { return {
|
|
1117
|
+
"name": ["loadIcon"],
|
|
1118
|
+
"src": ["loadIcon"],
|
|
1119
|
+
"icon": ["loadIcon"]
|
|
1120
|
+
}; }
|
|
1121
|
+
};
|
|
1122
|
+
const getIonMode = () => (typeof document !== 'undefined' && document.documentElement.getAttribute('mode')) || 'md';
|
|
1123
|
+
const createColorClasses = (color) => {
|
|
1124
|
+
return color
|
|
1125
|
+
? {
|
|
1126
|
+
'ion-color': true,
|
|
1127
|
+
[`ion-color-${color}`]: true,
|
|
1128
|
+
}
|
|
1129
|
+
: null;
|
|
1130
|
+
};
|
|
1131
|
+
Icon.style = iconCss;
|
|
1132
|
+
|
|
1133
|
+
const itemIosCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;align-items:center;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:flex;position:relative;align-items:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;box-sizing:border-box;z-index:1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;transition:var(--transition);z-index:-1}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);box-shadow:var(--inner-box-shadow);overflow:inherit;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:flex;justify-content:space-between}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){flex:1}:host(.item-input){align-items:center}.input-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:inherit;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{flex:1;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;transform:scaleX(0);transition:transform 200ms, border-bottom-width 200ms;z-index:2;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;padding-inline-start:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:20px;--inner-padding-end:10px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:#000;--background-focused:#000;--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:17px}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}::slotted([slot=end]){margin-left:10px;margin-right:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:0px;--padding-bottom:0px;--padding-start:.5em;--padding-end:.5em;height:24px;font-size:13px}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:0px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0px;margin-inline-start:0px}}::slotted(ion-label){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}";
|
|
1134
|
+
|
|
1135
|
+
const itemMdCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;align-items:center;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:flex;position:relative;align-items:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;box-sizing:border-box;z-index:1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;transition:var(--transition);z-index:-1}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);box-shadow:var(--inner-box-shadow);overflow:inherit;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:flex;justify-content:space-between}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){flex:1}:host(.item-input){align-items:center}.input-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:inherit;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{flex:1;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;transform:scaleX(0);transition:transform 200ms, border-bottom-width 200ms;z-index:2;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;padding-inline-start:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:16px;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));left:var(--position-offset);top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));transition:none}:host-context([dir=rtl]):host(.item-fill-outline) .item-highlight,:host-context([dir=rtl]).item-fill-outline .item-highlight{left:unset;right:unset;right:var(--position-offset)}:host(.item-fill-outline.ion-focused) .item-native,:host(.item-fill-outline.item-has-focus) .item-native{border-color:transparent}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;align-self:flex-start}::slotted([slot=start]){margin-right:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){margin-right:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-webkit-padding-start:16px;padding-inline-start:16px}}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}::slotted(.button-small){--padding-top:0;--padding-bottom:0;--padding-start:.6em;--padding-end:.6em;height:25px;font-size:12px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid.ion-color),:host(.item-fill-outline.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--background-hover:var(--ion-color-step-100, #e6e6e6);--background-focused:var(--ion-color-step-150, #d9d9d9);--border-width:0 0 1px 0;--inner-border-width:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid),:host-context([dir=rtl]).item-fill-solid{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(.item-fill-solid) .item-native{--border-color:var(--ion-color-step-500, gray)}:host(.item-fill-solid.ion-focused) .item-native,:host(.item-fill-solid.item-has-focus) .item-native{--background:var(--background-focused)}:host(.item-fill-solid.item-shape-round){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid.item-shape-round),:host-context([dir=rtl]).item-fill-solid.item-shape-round{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}@media (any-hover: hover){:host(.item-fill-solid:hover) .item-native{--background:var(--background-hover);--border-color:var(--ion-color-step-750, #404040)}}:host(.item-fill-outline){--ripple-color:transparent;--background-focused:transparent;--background-hover:transparent;--border-color:var(--ion-color-step-500, gray);--border-width:1px;border:none;overflow:visible}:host(.item-fill-outline) .item-native{--native-padding-left:16px;border-radius:4px}:host(.item-fill-outline.item-shape-round) .item-native{--inner-padding-start:16px;border-radius:28px}:host(.item-fill-outline.item-shape-round) .item-bottom{padding-left:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.item-fill-outline.item-shape-round) .item-bottom{padding-left:unset;-webkit-padding-start:32px;padding-inline-start:32px}}:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-textarea:not(:first-child)){transform:translateY(-14px)}@media (any-hover: hover){:host(.item-fill-outline:hover) .item-native{--border-color:var(--ion-color-step-750, #404040)}}.item-counter{letter-spacing:0.0333333333em}";
|
|
1136
|
+
|
|
1137
|
+
const Item = class {
|
|
1138
|
+
constructor(hostRef) {
|
|
1139
|
+
index.registerInstance(this, hostRef);
|
|
1140
|
+
this.labelColorStyles = {};
|
|
1141
|
+
this.itemStyles = new Map();
|
|
1142
|
+
this.multipleInputs = false;
|
|
1143
|
+
this.focusable = true;
|
|
1144
|
+
/**
|
|
1145
|
+
* If `true`, a button tag will be rendered and the item will be tappable.
|
|
1146
|
+
*/
|
|
1147
|
+
this.button = false;
|
|
1148
|
+
/**
|
|
1149
|
+
* The icon to use when `detail` is set to `true`.
|
|
1150
|
+
*/
|
|
1151
|
+
this.detailIcon = index$2.chevronForward;
|
|
1152
|
+
/**
|
|
1153
|
+
* If `true`, the user cannot interact with the item.
|
|
1154
|
+
*/
|
|
1155
|
+
this.disabled = false;
|
|
1156
|
+
/**
|
|
1157
|
+
* If `true`, a character counter will display the ratio of characters used and the total character limit. Only applies when the `maxlength` property is set on the inner `ion-input` or `ion-textarea`.
|
|
1158
|
+
*/
|
|
1159
|
+
this.counter = false;
|
|
1160
|
+
/**
|
|
1161
|
+
* When using a router, it specifies the transition direction when navigating to
|
|
1162
|
+
* another page using `href`.
|
|
1163
|
+
*/
|
|
1164
|
+
this.routerDirection = 'forward';
|
|
1165
|
+
/**
|
|
1166
|
+
* The type of the button. Only used when an `onclick` or `button` property is present.
|
|
1167
|
+
*/
|
|
1168
|
+
this.type = 'button';
|
|
1169
|
+
}
|
|
1170
|
+
counterFormatterChanged() {
|
|
1171
|
+
this.updateCounterOutput(this.getFirstInput());
|
|
1172
|
+
}
|
|
1173
|
+
handleIonChange(ev) {
|
|
1174
|
+
if (this.counter && ev.target === this.getFirstInput()) {
|
|
1175
|
+
this.updateCounterOutput(ev.target);
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
labelColorChanged(ev) {
|
|
1179
|
+
const { color } = this;
|
|
1180
|
+
// There will be a conflict with item color if
|
|
1181
|
+
// we apply the label color to item, so we ignore
|
|
1182
|
+
// the label color if the user sets a color on item
|
|
1183
|
+
if (color === undefined) {
|
|
1184
|
+
this.labelColorStyles = ev.detail;
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
itemStyle(ev) {
|
|
1188
|
+
ev.stopPropagation();
|
|
1189
|
+
const tagName = ev.target.tagName;
|
|
1190
|
+
const updatedStyles = ev.detail;
|
|
1191
|
+
const newStyles = {};
|
|
1192
|
+
const childStyles = this.itemStyles.get(tagName) || {};
|
|
1193
|
+
let hasStyleChange = false;
|
|
1194
|
+
Object.keys(updatedStyles).forEach((key) => {
|
|
1195
|
+
if (updatedStyles[key]) {
|
|
1196
|
+
const itemKey = `item-${key}`;
|
|
1197
|
+
if (!childStyles[itemKey]) {
|
|
1198
|
+
hasStyleChange = true;
|
|
1199
|
+
}
|
|
1200
|
+
newStyles[itemKey] = true;
|
|
1201
|
+
}
|
|
1202
|
+
});
|
|
1203
|
+
if (!hasStyleChange && Object.keys(newStyles).length !== Object.keys(childStyles).length) {
|
|
1204
|
+
hasStyleChange = true;
|
|
1205
|
+
}
|
|
1206
|
+
if (hasStyleChange) {
|
|
1207
|
+
this.itemStyles.set(tagName, newStyles);
|
|
1208
|
+
index.forceUpdate(this);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
connectedCallback() {
|
|
1212
|
+
if (this.counter) {
|
|
1213
|
+
this.updateCounterOutput(this.getFirstInput());
|
|
1214
|
+
}
|
|
1215
|
+
this.hasStartEl();
|
|
1216
|
+
}
|
|
1217
|
+
componentDidUpdate() {
|
|
1218
|
+
// Do not use @Listen here to avoid making all items
|
|
1219
|
+
// appear as clickable to screen readers
|
|
1220
|
+
// https://github.com/ionic-team/ionic-framework/issues/22011
|
|
1221
|
+
const input = this.getFirstInput();
|
|
1222
|
+
if (input && !this.clickListener) {
|
|
1223
|
+
this.clickListener = (ev) => this.delegateFocus(ev, input);
|
|
1224
|
+
this.el.addEventListener('click', this.clickListener);
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
disconnectedCallback() {
|
|
1228
|
+
const input = this.getFirstInput();
|
|
1229
|
+
if (input && this.clickListener) {
|
|
1230
|
+
this.el.removeEventListener('click', this.clickListener);
|
|
1231
|
+
this.clickListener = undefined;
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
componentDidLoad() {
|
|
1235
|
+
helpers.raf(() => {
|
|
1236
|
+
this.setMultipleInputs();
|
|
1237
|
+
this.focusable = this.isFocusable();
|
|
1238
|
+
});
|
|
1239
|
+
}
|
|
1240
|
+
// If the item contains multiple clickable elements and/or inputs, then the item
|
|
1241
|
+
// should not have a clickable input cover over the entire item to prevent
|
|
1242
|
+
// interfering with their individual click events
|
|
1243
|
+
setMultipleInputs() {
|
|
1244
|
+
// The following elements have a clickable cover that is relative to the entire item
|
|
1245
|
+
const covers = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
|
|
1246
|
+
// The following elements can accept focus alongside the previous elements
|
|
1247
|
+
// therefore if these elements are also a child of item, we don't want the
|
|
1248
|
+
// input cover on top of those interfering with their clicks
|
|
1249
|
+
const inputs = this.el.querySelectorAll('ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle');
|
|
1250
|
+
// The following elements should also stay clickable when an input with cover is present
|
|
1251
|
+
const clickables = this.el.querySelectorAll('ion-anchor, ion-button, a, button');
|
|
1252
|
+
// Check for multiple inputs to change the position of the input cover to relative
|
|
1253
|
+
// for all of the covered inputs above
|
|
1254
|
+
this.multipleInputs =
|
|
1255
|
+
covers.length + inputs.length > 1 ||
|
|
1256
|
+
covers.length + clickables.length > 1 ||
|
|
1257
|
+
(covers.length > 0 && this.isClickable());
|
|
1258
|
+
}
|
|
1259
|
+
// If the item contains an input including a checkbox, datetime, select, or radio
|
|
1260
|
+
// then the item will have a clickable input cover that covers the item
|
|
1261
|
+
// that should get the hover, focused and activated states UNLESS it has multiple
|
|
1262
|
+
// inputs, then those need to individually get each click
|
|
1263
|
+
hasCover() {
|
|
1264
|
+
const inputs = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
|
|
1265
|
+
return inputs.length === 1 && !this.multipleInputs;
|
|
1266
|
+
}
|
|
1267
|
+
// If the item has an href or button property it will render a native
|
|
1268
|
+
// anchor or button that is clickable
|
|
1269
|
+
isClickable() {
|
|
1270
|
+
return this.href !== undefined || this.button;
|
|
1271
|
+
}
|
|
1272
|
+
canActivate() {
|
|
1273
|
+
return this.isClickable() || this.hasCover();
|
|
1274
|
+
}
|
|
1275
|
+
isFocusable() {
|
|
1276
|
+
const focusableChild = this.el.querySelector('.ion-focusable');
|
|
1277
|
+
return this.canActivate() || focusableChild !== null;
|
|
1278
|
+
}
|
|
1279
|
+
getFirstInput() {
|
|
1280
|
+
const inputs = this.el.querySelectorAll('ion-input, ion-textarea');
|
|
1281
|
+
return inputs[0];
|
|
1282
|
+
}
|
|
1283
|
+
// This is needed for WebKit due to a delegatesFocus bug where
|
|
1284
|
+
// clicking on the left padding of an item is not focusing the input
|
|
1285
|
+
// but is opening the keyboard. It will no longer be needed with
|
|
1286
|
+
// iOS 14.
|
|
1287
|
+
delegateFocus(ev, input) {
|
|
1288
|
+
const clickedItem = ev.target.tagName === 'ION-ITEM';
|
|
1289
|
+
let firstActive = false;
|
|
1290
|
+
// If the first input is the same as the active element we need
|
|
1291
|
+
// to focus the first input again, but if the active element
|
|
1292
|
+
// is another input inside of the item we shouldn't switch focus
|
|
1293
|
+
if (document.activeElement) {
|
|
1294
|
+
firstActive = input.querySelector('input, textarea') === document.activeElement;
|
|
1295
|
+
}
|
|
1296
|
+
// Only focus the first input if we clicked on an ion-item
|
|
1297
|
+
// and the first input exists
|
|
1298
|
+
if (clickedItem && (firstActive || !this.multipleInputs)) {
|
|
1299
|
+
input.fireFocusEvents = false;
|
|
1300
|
+
input.setBlur();
|
|
1301
|
+
input.setFocus();
|
|
1302
|
+
helpers.raf(() => {
|
|
1303
|
+
input.fireFocusEvents = true;
|
|
1304
|
+
});
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
updateCounterOutput(inputEl) {
|
|
1308
|
+
var _a, _b;
|
|
1309
|
+
const { counter, counterFormatter, defaultCounterFormatter } = this;
|
|
1310
|
+
if (counter && !this.multipleInputs && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.maxlength) !== undefined) {
|
|
1311
|
+
const length = (_b = (_a = inputEl === null || inputEl === void 0 ? void 0 : inputEl.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
1312
|
+
if (counterFormatter === undefined) {
|
|
1313
|
+
this.counterString = defaultCounterFormatter(length, inputEl.maxlength);
|
|
1314
|
+
}
|
|
1315
|
+
else {
|
|
1316
|
+
try {
|
|
1317
|
+
this.counterString = counterFormatter(length, inputEl.maxlength);
|
|
1318
|
+
}
|
|
1319
|
+
catch (e) {
|
|
1320
|
+
index$3.printIonError('Exception in provided `counterFormatter`.', e);
|
|
1321
|
+
// Fallback to the default counter formatter when an exception happens
|
|
1322
|
+
this.counterString = defaultCounterFormatter(length, inputEl.maxlength);
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
defaultCounterFormatter(length, maxlength) {
|
|
1328
|
+
return `${length} / ${maxlength}`;
|
|
1329
|
+
}
|
|
1330
|
+
hasStartEl() {
|
|
1331
|
+
const startEl = this.el.querySelector('[slot="start"]');
|
|
1332
|
+
if (startEl !== null) {
|
|
1333
|
+
this.el.classList.add('item-has-start-slot');
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
render() {
|
|
1337
|
+
const { counterString, detail, detailIcon, download, fill, labelColorStyles, lines, disabled, href, rel, shape, target, routerAnimation, routerDirection, } = this;
|
|
1338
|
+
const childStyles = {};
|
|
1339
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1340
|
+
const clickable = this.isClickable();
|
|
1341
|
+
const canActivate = this.canActivate();
|
|
1342
|
+
const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
|
|
1343
|
+
const attrs = TagType === 'button'
|
|
1344
|
+
? { type: this.type }
|
|
1345
|
+
: {
|
|
1346
|
+
download,
|
|
1347
|
+
href,
|
|
1348
|
+
rel,
|
|
1349
|
+
target,
|
|
1350
|
+
};
|
|
1351
|
+
// Only set onClick if the item is clickable to prevent screen
|
|
1352
|
+
// readers from reading all items as clickable
|
|
1353
|
+
const clickFn = clickable
|
|
1354
|
+
? {
|
|
1355
|
+
onClick: (ev) => {
|
|
1356
|
+
theme.openURL(href, ev, routerDirection, routerAnimation);
|
|
1357
|
+
},
|
|
1358
|
+
}
|
|
1359
|
+
: {};
|
|
1360
|
+
const showDetail = detail !== undefined ? detail : mode === 'ios' && clickable;
|
|
1361
|
+
this.itemStyles.forEach((value) => {
|
|
1362
|
+
Object.assign(childStyles, value);
|
|
1363
|
+
});
|
|
1364
|
+
const ariaDisabled = disabled || childStyles['item-interactive-disabled'] ? 'true' : null;
|
|
1365
|
+
const fillValue = fill || 'none';
|
|
1366
|
+
const inList = theme.hostContext('ion-list', this.el);
|
|
1367
|
+
return (index.h(index.Host, { "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), theme.createColorClasses(this.color, {
|
|
1368
|
+
item: true,
|
|
1369
|
+
[mode]: true,
|
|
1370
|
+
[`item-lines-${lines}`]: lines !== undefined,
|
|
1371
|
+
[`item-fill-${fillValue}`]: true,
|
|
1372
|
+
[`item-shape-${shape}`]: shape !== undefined,
|
|
1373
|
+
'item-disabled': disabled,
|
|
1374
|
+
'in-list': inList,
|
|
1375
|
+
'item-multiple-inputs': this.multipleInputs,
|
|
1376
|
+
'ion-activatable': canActivate,
|
|
1377
|
+
'ion-focusable': this.focusable,
|
|
1378
|
+
'item-rtl': document.dir === 'rtl',
|
|
1379
|
+
})), role: inList ? 'listitem' : null }, index.h(TagType, Object.assign({}, attrs, { class: "item-native", part: "native", disabled: disabled }, clickFn), index.h("slot", { name: "start" }), index.h("div", { class: "item-inner" }, index.h("div", { class: "input-wrapper" }, index.h("slot", null)), index.h("slot", { name: "end" }), showDetail && (index.h("ion-icon", { icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === index$2.chevronForward })), index.h("div", { class: "item-inner-highlight" })), canActivate && mode === 'md' && index.h("ion-ripple-effect", null), index.h("div", { class: "item-highlight" })), index.h("div", { class: "item-bottom" }, index.h("slot", { name: "error" }), index.h("slot", { name: "helper" }), counterString && index.h("ion-note", { class: "item-counter" }, counterString))));
|
|
1380
|
+
}
|
|
1381
|
+
static get delegatesFocus() { return true; }
|
|
1382
|
+
get el() { return index.getElement(this); }
|
|
1383
|
+
static get watchers() { return {
|
|
1384
|
+
"counterFormatter": ["counterFormatterChanged"]
|
|
1385
|
+
}; }
|
|
1386
|
+
};
|
|
1387
|
+
Item.style = {
|
|
1388
|
+
ios: itemIosCss,
|
|
1389
|
+
md: itemMdCss
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
const labelIosCss = ".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{align-self:baseline}.label-fixed.sc-ion-label-ios-h{flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;transform:translate(0, 29px);transform-origin:left top;transition:transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{transform-origin:right top}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}";
|
|
1393
|
+
|
|
1394
|
+
const labelMdCss = ".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{align-self:baseline}.label-fixed.sc-ion-label-md-h{flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{transform-origin:top right}.label-stacked.sc-ion-label-md-h{transform:translateY(50%) scale(0.75);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{transform:translateY(96%);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{transform:translateY(-6px) scale(0.75);position:relative;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:\"\"}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}";
|
|
1395
|
+
|
|
1396
|
+
const Label = class {
|
|
1397
|
+
constructor(hostRef) {
|
|
1398
|
+
index.registerInstance(this, hostRef);
|
|
1399
|
+
this.ionColor = index.createEvent(this, "ionColor", 7);
|
|
1400
|
+
this.ionStyle = index.createEvent(this, "ionStyle", 7);
|
|
1401
|
+
this.inRange = false;
|
|
1402
|
+
this.noAnimate = false;
|
|
1403
|
+
}
|
|
1404
|
+
componentWillLoad() {
|
|
1405
|
+
this.inRange = !!this.el.closest('ion-range');
|
|
1406
|
+
this.noAnimate = this.position === 'floating';
|
|
1407
|
+
this.emitStyle();
|
|
1408
|
+
this.emitColor();
|
|
1409
|
+
}
|
|
1410
|
+
componentDidLoad() {
|
|
1411
|
+
if (this.noAnimate) {
|
|
1412
|
+
setTimeout(() => {
|
|
1413
|
+
this.noAnimate = false;
|
|
1414
|
+
}, 1000);
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
colorChanged() {
|
|
1418
|
+
this.emitColor();
|
|
1419
|
+
}
|
|
1420
|
+
positionChanged() {
|
|
1421
|
+
this.emitStyle();
|
|
1422
|
+
}
|
|
1423
|
+
emitColor() {
|
|
1424
|
+
const { color } = this;
|
|
1425
|
+
this.ionColor.emit({
|
|
1426
|
+
'item-label-color': color !== undefined,
|
|
1427
|
+
[`ion-color-${color}`]: color !== undefined,
|
|
1428
|
+
});
|
|
1429
|
+
}
|
|
1430
|
+
emitStyle() {
|
|
1431
|
+
const { inRange, position } = this;
|
|
1432
|
+
// If the label is inside of a range we don't want
|
|
1433
|
+
// to override the classes added by the label that
|
|
1434
|
+
// is a direct child of the item
|
|
1435
|
+
if (!inRange) {
|
|
1436
|
+
this.ionStyle.emit({
|
|
1437
|
+
label: true,
|
|
1438
|
+
[`label-${position}`]: position !== undefined,
|
|
1439
|
+
});
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
render() {
|
|
1443
|
+
const position = this.position;
|
|
1444
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1445
|
+
return (index.h(index.Host, { class: theme.createColorClasses(this.color, {
|
|
1446
|
+
[mode]: true,
|
|
1447
|
+
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
1448
|
+
[`label-${position}`]: position !== undefined,
|
|
1449
|
+
[`label-no-animate`]: this.noAnimate,
|
|
1450
|
+
'label-rtl': document.dir === 'rtl',
|
|
1451
|
+
}) }));
|
|
1452
|
+
}
|
|
1453
|
+
get el() { return index.getElement(this); }
|
|
1454
|
+
static get watchers() { return {
|
|
1455
|
+
"color": ["colorChanged"],
|
|
1456
|
+
"position": ["positionChanged"]
|
|
1457
|
+
}; }
|
|
1458
|
+
};
|
|
1459
|
+
Label.style = {
|
|
1460
|
+
ios: labelIosCss,
|
|
1461
|
+
md: labelMdCss
|
|
1462
|
+
};
|
|
1463
|
+
|
|
1464
|
+
const listIosCss = "ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.list-ios.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-ios.list-inset ion-item{--border-width:0 0 1px 0;--inner-border-width:0}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item{--border-width:0;--inner-border-width:0}.list-ios-lines-full .item,.list-ios .item-lines-full{--border-width:0 0 0.55px 0}.list-ios-lines-full .item{--inner-border-width:0}.list-ios-lines-inset .item,.list-ios .item-lines-inset{--inner-border-width:0 0 0.55px 0}.list-ios .item-lines-inset{--border-width:0}.list-ios .item-lines-full{--inner-border-width:0}.list-ios .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
|
|
1465
|
+
|
|
1466
|
+
const listMdCss = "ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{left:0}[dir=rtl] .list-md>.input:last-child::after,:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}.list-md.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.list-md.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0;--border-width:0 0 1px 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0}.list-md.list-inset .item-interactive{--padding-start:0;--padding-end:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item{--border-width:0;--inner-border-width:0}.list-md-lines-full .item,.list-md .item-lines-full{--border-width:0 0 1px 0}.list-md-lines-full .item{--inner-border-width:0}.list-md-lines-inset .item,.list-md .item-lines-inset{--inner-border-width:0 0 1px 0}.list-md .item-lines-inset{--border-width:0}.list-md .item-lines-full{--inner-border-width:0}.list-md .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
|
|
1467
|
+
|
|
1468
|
+
const List = class {
|
|
1469
|
+
constructor(hostRef) {
|
|
1470
|
+
index.registerInstance(this, hostRef);
|
|
1471
|
+
/**
|
|
1472
|
+
* If `true`, the list will have margin around it and rounded corners.
|
|
1473
|
+
*/
|
|
1474
|
+
this.inset = false;
|
|
1475
|
+
}
|
|
1476
|
+
/**
|
|
1477
|
+
* If `ion-item-sliding` are used inside the list, this method closes
|
|
1478
|
+
* any open sliding item.
|
|
1479
|
+
*
|
|
1480
|
+
* Returns `true` if an actual `ion-item-sliding` is closed.
|
|
1481
|
+
*/
|
|
1482
|
+
async closeSlidingItems() {
|
|
1483
|
+
const item = this.el.querySelector('ion-item-sliding');
|
|
1484
|
+
if (item === null || item === void 0 ? void 0 : item.closeOpened) {
|
|
1485
|
+
return item.closeOpened();
|
|
1486
|
+
}
|
|
1487
|
+
return false;
|
|
1488
|
+
}
|
|
1489
|
+
render() {
|
|
1490
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1491
|
+
const { lines, inset } = this;
|
|
1492
|
+
return (index.h(index.Host, { role: "list", class: {
|
|
1493
|
+
[mode]: true,
|
|
1494
|
+
// Used internally for styling
|
|
1495
|
+
[`list-${mode}`]: true,
|
|
1496
|
+
'list-inset': inset,
|
|
1497
|
+
[`list-lines-${lines}`]: lines !== undefined,
|
|
1498
|
+
[`list-${mode}-lines-${lines}`]: lines !== undefined,
|
|
1499
|
+
} }));
|
|
1500
|
+
}
|
|
1501
|
+
get el() { return index.getElement(this); }
|
|
1502
|
+
};
|
|
1503
|
+
List.style = {
|
|
1504
|
+
ios: listIosCss,
|
|
1505
|
+
md: listMdCss
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
const noteIosCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6)}";
|
|
1509
|
+
|
|
1510
|
+
const noteMdCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}";
|
|
1511
|
+
|
|
1512
|
+
const Note = class {
|
|
1513
|
+
constructor(hostRef) {
|
|
1514
|
+
index.registerInstance(this, hostRef);
|
|
1515
|
+
}
|
|
1516
|
+
render() {
|
|
1517
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1518
|
+
return (index.h(index.Host, { class: theme.createColorClasses(this.color, {
|
|
1519
|
+
[mode]: true,
|
|
1520
|
+
}) }, index.h("slot", null)));
|
|
1521
|
+
}
|
|
1522
|
+
};
|
|
1523
|
+
Note.style = {
|
|
1524
|
+
ios: noteIosCss,
|
|
1525
|
+
md: noteMdCss
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
const rippleEffectCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{transform:translate(var(--translate-end)) scale(var(--final-scale, 1));animation:150ms fadeOutAnimation forwards}@keyframes rippleAnimation{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(1)}to{transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes fadeInAnimation{from{animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeOutAnimation{from{animation-timing-function:linear;opacity:0.16}to{opacity:0}}";
|
|
1529
|
+
|
|
1530
|
+
const RippleEffect = class {
|
|
1531
|
+
constructor(hostRef) {
|
|
1532
|
+
index.registerInstance(this, hostRef);
|
|
1533
|
+
/**
|
|
1534
|
+
* Sets the type of ripple-effect:
|
|
1535
|
+
*
|
|
1536
|
+
* - `bounded`: the ripple effect expands from the user's click position
|
|
1537
|
+
* - `unbounded`: the ripple effect expands from the center of the button and overflows the container.
|
|
1538
|
+
*
|
|
1539
|
+
* NOTE: Surfaces for bounded ripples should have the overflow property set to hidden,
|
|
1540
|
+
* while surfaces for unbounded ripples should have it set to visible.
|
|
1541
|
+
*/
|
|
1542
|
+
this.type = 'bounded';
|
|
1543
|
+
}
|
|
1544
|
+
/**
|
|
1545
|
+
* Adds the ripple effect to the parent element.
|
|
1546
|
+
*
|
|
1547
|
+
* @param x The horizontal coordinate of where the ripple should start.
|
|
1548
|
+
* @param y The vertical coordinate of where the ripple should start.
|
|
1549
|
+
*/
|
|
1550
|
+
async addRipple(x, y) {
|
|
1551
|
+
return new Promise((resolve) => {
|
|
1552
|
+
index.readTask(() => {
|
|
1553
|
+
const rect = this.el.getBoundingClientRect();
|
|
1554
|
+
const width = rect.width;
|
|
1555
|
+
const height = rect.height;
|
|
1556
|
+
const hypotenuse = Math.sqrt(width * width + height * height);
|
|
1557
|
+
const maxDim = Math.max(height, width);
|
|
1558
|
+
const maxRadius = this.unbounded ? maxDim : hypotenuse + PADDING;
|
|
1559
|
+
const initialSize = Math.floor(maxDim * INITIAL_ORIGIN_SCALE);
|
|
1560
|
+
const finalScale = maxRadius / initialSize;
|
|
1561
|
+
let posX = x - rect.left;
|
|
1562
|
+
let posY = y - rect.top;
|
|
1563
|
+
if (this.unbounded) {
|
|
1564
|
+
posX = width * 0.5;
|
|
1565
|
+
posY = height * 0.5;
|
|
1566
|
+
}
|
|
1567
|
+
const styleX = posX - initialSize * 0.5;
|
|
1568
|
+
const styleY = posY - initialSize * 0.5;
|
|
1569
|
+
const moveX = width * 0.5 - posX;
|
|
1570
|
+
const moveY = height * 0.5 - posY;
|
|
1571
|
+
index.writeTask(() => {
|
|
1572
|
+
const div = document.createElement('div');
|
|
1573
|
+
div.classList.add('ripple-effect');
|
|
1574
|
+
const style = div.style;
|
|
1575
|
+
style.top = styleY + 'px';
|
|
1576
|
+
style.left = styleX + 'px';
|
|
1577
|
+
style.width = style.height = initialSize + 'px';
|
|
1578
|
+
style.setProperty('--final-scale', `${finalScale}`);
|
|
1579
|
+
style.setProperty('--translate-end', `${moveX}px, ${moveY}px`);
|
|
1580
|
+
const container = this.el.shadowRoot || this.el;
|
|
1581
|
+
container.appendChild(div);
|
|
1582
|
+
setTimeout(() => {
|
|
1583
|
+
resolve(() => {
|
|
1584
|
+
removeRipple(div);
|
|
1585
|
+
});
|
|
1586
|
+
}, 225 + 100);
|
|
1587
|
+
});
|
|
1588
|
+
});
|
|
1589
|
+
});
|
|
1590
|
+
}
|
|
1591
|
+
get unbounded() {
|
|
1592
|
+
return this.type === 'unbounded';
|
|
1593
|
+
}
|
|
1594
|
+
render() {
|
|
1595
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1596
|
+
return (index.h(index.Host, { role: "presentation", class: {
|
|
1597
|
+
[mode]: true,
|
|
1598
|
+
unbounded: this.unbounded,
|
|
1599
|
+
} }));
|
|
1600
|
+
}
|
|
1601
|
+
get el() { return index.getElement(this); }
|
|
1602
|
+
};
|
|
1603
|
+
const removeRipple = (ripple) => {
|
|
1604
|
+
ripple.classList.add('fade-out');
|
|
1605
|
+
setTimeout(() => {
|
|
1606
|
+
ripple.remove();
|
|
1607
|
+
}, 200);
|
|
1608
|
+
};
|
|
1609
|
+
const PADDING = 10;
|
|
1610
|
+
const INITIAL_ORIGIN_SCALE = 0.5;
|
|
1611
|
+
RippleEffect.style = rippleEffectCss;
|
|
1612
|
+
|
|
1613
|
+
const searchbarIosCss = ".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{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;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;box-shadow:var(--box-shadow);box-sizing:border-box;appearance:none}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;height:60px;contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-searchbar-ios-h{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}.searchbar-input-container.sc-ion-searchbar-ios{height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:calc(50% - 60px);left:5px;top:0;position:absolute;width:22px;height:100%;contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px)}}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}.searchbar-input.sc-ion-searchbar-ios{padding-left:28px;padding-right:28px;padding-top:0;padding-bottom:0;height:100%;font-size:17px;font-weight:400;contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:28px;padding-inline-start:28px;-webkit-padding-end:28px;padding-inline-end:28px}}.searchbar-clear-button.sc-ion-searchbar-ios{right:0;top:0;background-position:center;position:absolute;width:30px;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:18px;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:8px;padding-right:0;padding-top:0;padding-bottom:0;flex-shrink:0;background-color:transparent;font-size:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:30px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:unset;-webkit-padding-start:30px;padding-inline-start:30px}}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:-100%;transform:translate3d(0, 0, 0);transition:all 300ms ease;opacity:0;pointer-events:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:unset;-webkit-margin-end:-100%;margin-inline-end:-100%}}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";
|
|
1614
|
+
|
|
1615
|
+
const searchbarMdCss = ".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{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;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;box-shadow:var(--box-shadow);box-sizing:border-box;appearance:none}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);appearance:none}.searchbar-clear-button.sc-ion-searchbar-md:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;background:inherit}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.searchbar-search-icon.sc-ion-searchbar-md{left:16px;top:11px;width:21px;height:21px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}.searchbar-cancel-button.sc-ion-searchbar-md{left:5px;top:0;background-color:transparent;font-size:1.6em}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{padding-left:55px;padding-right:55px;padding-top:6px;padding-bottom:6px;background-position:left 8px center;height:auto;font-size:16px;font-weight:400;line-height:30px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-md{padding-left:unset;padding-right:unset;-webkit-padding-start:55px;padding-inline-start:55px;-webkit-padding-end:55px;padding-inline-end:55px}}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}.searchbar-clear-button.sc-ion-searchbar-md{right:13px;top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:22px;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:7px;padding-right:7px;padding-top:3px;padding-bottom:3px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px}}";
|
|
1616
|
+
|
|
1617
|
+
const Searchbar = class {
|
|
1618
|
+
constructor(hostRef) {
|
|
1619
|
+
index.registerInstance(this, hostRef);
|
|
1620
|
+
this.ionInput = index.createEvent(this, "ionInput", 7);
|
|
1621
|
+
this.ionChange = index.createEvent(this, "ionChange", 7);
|
|
1622
|
+
this.ionCancel = index.createEvent(this, "ionCancel", 7);
|
|
1623
|
+
this.ionClear = index.createEvent(this, "ionClear", 7);
|
|
1624
|
+
this.ionBlur = index.createEvent(this, "ionBlur", 7);
|
|
1625
|
+
this.ionFocus = index.createEvent(this, "ionFocus", 7);
|
|
1626
|
+
this.ionStyle = index.createEvent(this, "ionStyle", 7);
|
|
1627
|
+
this.isCancelVisible = false;
|
|
1628
|
+
this.shouldAlignLeft = true;
|
|
1629
|
+
this.focused = false;
|
|
1630
|
+
this.noAnimate = true;
|
|
1631
|
+
/**
|
|
1632
|
+
* If `true`, enable searchbar animation.
|
|
1633
|
+
*/
|
|
1634
|
+
this.animated = false;
|
|
1635
|
+
/**
|
|
1636
|
+
* Set the input's autocomplete property.
|
|
1637
|
+
*/
|
|
1638
|
+
this.autocomplete = 'off';
|
|
1639
|
+
/**
|
|
1640
|
+
* Set the input's autocorrect property.
|
|
1641
|
+
*/
|
|
1642
|
+
this.autocorrect = 'off';
|
|
1643
|
+
/**
|
|
1644
|
+
* Set the cancel button icon. Only applies to `md` mode.
|
|
1645
|
+
* Defaults to `arrow-back-sharp`.
|
|
1646
|
+
*/
|
|
1647
|
+
this.cancelButtonIcon = ionicGlobal.config.get('backButtonIcon', index$2.arrowBackSharp);
|
|
1648
|
+
/**
|
|
1649
|
+
* Set the the cancel button text. Only applies to `ios` mode.
|
|
1650
|
+
*/
|
|
1651
|
+
this.cancelButtonText = 'Cancel';
|
|
1652
|
+
/**
|
|
1653
|
+
* Set the amount of time, in milliseconds, to wait to trigger the `ionChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`.
|
|
1654
|
+
*/
|
|
1655
|
+
this.debounce = 250;
|
|
1656
|
+
/**
|
|
1657
|
+
* If `true`, the user cannot interact with the input.
|
|
1658
|
+
*/
|
|
1659
|
+
this.disabled = false;
|
|
1660
|
+
/**
|
|
1661
|
+
* Set the input's placeholder.
|
|
1662
|
+
* `placeholder` can accept either plaintext or HTML as a string.
|
|
1663
|
+
* To display characters normally reserved for HTML, they
|
|
1664
|
+
* must be escaped. For example `<Ionic>` would become
|
|
1665
|
+
* `<Ionic>`
|
|
1666
|
+
*
|
|
1667
|
+
* For more information: [Security Documentation](https://ionicframework.com/docs/faq/security)
|
|
1668
|
+
*/
|
|
1669
|
+
this.placeholder = 'Search';
|
|
1670
|
+
/**
|
|
1671
|
+
* Sets the behavior for the cancel button. Defaults to `"never"`.
|
|
1672
|
+
* Setting to `"focus"` shows the cancel button on focus.
|
|
1673
|
+
* Setting to `"never"` hides the cancel button.
|
|
1674
|
+
* Setting to `"always"` shows the cancel button regardless
|
|
1675
|
+
* of focus state.
|
|
1676
|
+
*/
|
|
1677
|
+
this.showCancelButton = 'never';
|
|
1678
|
+
/**
|
|
1679
|
+
* Sets the behavior for the clear button. Defaults to `"focus"`.
|
|
1680
|
+
* Setting to `"focus"` shows the clear button on focus if the
|
|
1681
|
+
* input is not empty.
|
|
1682
|
+
* Setting to `"never"` hides the clear button.
|
|
1683
|
+
* Setting to `"always"` shows the clear button regardless
|
|
1684
|
+
* of focus state, but only if the input is not empty.
|
|
1685
|
+
*/
|
|
1686
|
+
this.showClearButton = 'always';
|
|
1687
|
+
/**
|
|
1688
|
+
* If `true`, enable spellcheck on the input.
|
|
1689
|
+
*/
|
|
1690
|
+
this.spellcheck = false;
|
|
1691
|
+
/**
|
|
1692
|
+
* Set the type of the input.
|
|
1693
|
+
*/
|
|
1694
|
+
this.type = 'search';
|
|
1695
|
+
/**
|
|
1696
|
+
* the value of the searchbar.
|
|
1697
|
+
*/
|
|
1698
|
+
this.value = '';
|
|
1699
|
+
/**
|
|
1700
|
+
* Clears the input field and triggers the control change.
|
|
1701
|
+
*/
|
|
1702
|
+
this.onClearInput = (shouldFocus) => {
|
|
1703
|
+
this.ionClear.emit();
|
|
1704
|
+
// setTimeout() fixes https://github.com/ionic-team/ionic/issues/7527
|
|
1705
|
+
// wait for 4 frames
|
|
1706
|
+
setTimeout(() => {
|
|
1707
|
+
const value = this.getValue();
|
|
1708
|
+
if (value !== '') {
|
|
1709
|
+
this.value = '';
|
|
1710
|
+
this.ionInput.emit();
|
|
1711
|
+
/**
|
|
1712
|
+
* When tapping clear button
|
|
1713
|
+
* ensure input is focused after
|
|
1714
|
+
* clearing input so users
|
|
1715
|
+
* can quickly start typing.
|
|
1716
|
+
*/
|
|
1717
|
+
if (shouldFocus && !this.focused) {
|
|
1718
|
+
this.setFocus();
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
}, 16 * 4);
|
|
1722
|
+
};
|
|
1723
|
+
/**
|
|
1724
|
+
* Clears the input field and tells the input to blur since
|
|
1725
|
+
* the clearInput function doesn't want the input to blur
|
|
1726
|
+
* then calls the custom cancel function if the user passed one in.
|
|
1727
|
+
*/
|
|
1728
|
+
this.onCancelSearchbar = (ev) => {
|
|
1729
|
+
if (ev) {
|
|
1730
|
+
ev.preventDefault();
|
|
1731
|
+
ev.stopPropagation();
|
|
1732
|
+
}
|
|
1733
|
+
this.ionCancel.emit();
|
|
1734
|
+
this.onClearInput();
|
|
1735
|
+
if (this.nativeInput) {
|
|
1736
|
+
this.nativeInput.blur();
|
|
1737
|
+
}
|
|
1738
|
+
};
|
|
1739
|
+
/**
|
|
1740
|
+
* Update the Searchbar input value when the input changes
|
|
1741
|
+
*/
|
|
1742
|
+
this.onInput = (ev) => {
|
|
1743
|
+
const input = ev.target;
|
|
1744
|
+
if (input) {
|
|
1745
|
+
this.value = input.value;
|
|
1746
|
+
}
|
|
1747
|
+
this.ionInput.emit(ev);
|
|
1748
|
+
};
|
|
1749
|
+
/**
|
|
1750
|
+
* Sets the Searchbar to not focused and checks if it should align left
|
|
1751
|
+
* based on whether there is a value in the searchbar or not.
|
|
1752
|
+
*/
|
|
1753
|
+
this.onBlur = () => {
|
|
1754
|
+
this.focused = false;
|
|
1755
|
+
this.ionBlur.emit();
|
|
1756
|
+
this.positionElements();
|
|
1757
|
+
};
|
|
1758
|
+
/**
|
|
1759
|
+
* Sets the Searchbar to focused and active on input focus.
|
|
1760
|
+
*/
|
|
1761
|
+
this.onFocus = () => {
|
|
1762
|
+
this.focused = true;
|
|
1763
|
+
this.ionFocus.emit();
|
|
1764
|
+
this.positionElements();
|
|
1765
|
+
};
|
|
1766
|
+
}
|
|
1767
|
+
debounceChanged() {
|
|
1768
|
+
this.ionChange = helpers.debounceEvent(this.ionChange, this.debounce);
|
|
1769
|
+
}
|
|
1770
|
+
valueChanged() {
|
|
1771
|
+
const inputEl = this.nativeInput;
|
|
1772
|
+
const value = this.getValue();
|
|
1773
|
+
if (inputEl && inputEl.value !== value) {
|
|
1774
|
+
inputEl.value = value;
|
|
1775
|
+
}
|
|
1776
|
+
this.ionChange.emit({ value });
|
|
1777
|
+
}
|
|
1778
|
+
showCancelButtonChanged() {
|
|
1779
|
+
requestAnimationFrame(() => {
|
|
1780
|
+
this.positionElements();
|
|
1781
|
+
index.forceUpdate(this);
|
|
1782
|
+
});
|
|
1783
|
+
}
|
|
1784
|
+
connectedCallback() {
|
|
1785
|
+
this.emitStyle();
|
|
1786
|
+
}
|
|
1787
|
+
componentDidLoad() {
|
|
1788
|
+
this.positionElements();
|
|
1789
|
+
this.debounceChanged();
|
|
1790
|
+
setTimeout(() => {
|
|
1791
|
+
this.noAnimate = false;
|
|
1792
|
+
}, 300);
|
|
1793
|
+
}
|
|
1794
|
+
emitStyle() {
|
|
1795
|
+
this.ionStyle.emit({
|
|
1796
|
+
searchbar: true,
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Sets focus on the specified `ion-searchbar`. Use this method instead of the global
|
|
1801
|
+
* `input.focus()`.
|
|
1802
|
+
*/
|
|
1803
|
+
async setFocus() {
|
|
1804
|
+
if (this.nativeInput) {
|
|
1805
|
+
this.nativeInput.focus();
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* Returns the native `<input>` element used under the hood.
|
|
1810
|
+
*/
|
|
1811
|
+
getInputElement() {
|
|
1812
|
+
return Promise.resolve(this.nativeInput);
|
|
1813
|
+
}
|
|
1814
|
+
/**
|
|
1815
|
+
* Positions the input search icon, placeholder, and the cancel button
|
|
1816
|
+
* based on the input value and if it is focused. (ios only)
|
|
1817
|
+
*/
|
|
1818
|
+
positionElements() {
|
|
1819
|
+
const value = this.getValue();
|
|
1820
|
+
const prevAlignLeft = this.shouldAlignLeft;
|
|
1821
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1822
|
+
const shouldAlignLeft = !this.animated || value.trim() !== '' || !!this.focused;
|
|
1823
|
+
this.shouldAlignLeft = shouldAlignLeft;
|
|
1824
|
+
if (mode !== 'ios') {
|
|
1825
|
+
return;
|
|
1826
|
+
}
|
|
1827
|
+
if (prevAlignLeft !== shouldAlignLeft) {
|
|
1828
|
+
this.positionPlaceholder();
|
|
1829
|
+
}
|
|
1830
|
+
if (this.animated) {
|
|
1831
|
+
this.positionCancelButton();
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
/**
|
|
1835
|
+
* Positions the input placeholder
|
|
1836
|
+
*/
|
|
1837
|
+
positionPlaceholder() {
|
|
1838
|
+
const inputEl = this.nativeInput;
|
|
1839
|
+
if (!inputEl) {
|
|
1840
|
+
return;
|
|
1841
|
+
}
|
|
1842
|
+
const rtl = dir.isRTL(this.el);
|
|
1843
|
+
const iconEl = (this.el.shadowRoot || this.el).querySelector('.searchbar-search-icon');
|
|
1844
|
+
if (this.shouldAlignLeft) {
|
|
1845
|
+
inputEl.removeAttribute('style');
|
|
1846
|
+
iconEl.removeAttribute('style');
|
|
1847
|
+
}
|
|
1848
|
+
else {
|
|
1849
|
+
// Create a dummy span to get the placeholder width
|
|
1850
|
+
const doc = document;
|
|
1851
|
+
const tempSpan = doc.createElement('span');
|
|
1852
|
+
tempSpan.innerText = this.placeholder || '';
|
|
1853
|
+
doc.body.appendChild(tempSpan);
|
|
1854
|
+
// Get the width of the span then remove it
|
|
1855
|
+
helpers.raf(() => {
|
|
1856
|
+
const textWidth = tempSpan.offsetWidth;
|
|
1857
|
+
tempSpan.remove();
|
|
1858
|
+
// Calculate the input padding
|
|
1859
|
+
const inputLeft = 'calc(50% - ' + textWidth / 2 + 'px)';
|
|
1860
|
+
// Calculate the icon margin
|
|
1861
|
+
const iconLeft = 'calc(50% - ' + (textWidth / 2 + 30) + 'px)';
|
|
1862
|
+
// Set the input padding start and icon margin start
|
|
1863
|
+
if (rtl) {
|
|
1864
|
+
inputEl.style.paddingRight = inputLeft;
|
|
1865
|
+
iconEl.style.marginRight = iconLeft;
|
|
1866
|
+
}
|
|
1867
|
+
else {
|
|
1868
|
+
inputEl.style.paddingLeft = inputLeft;
|
|
1869
|
+
iconEl.style.marginLeft = iconLeft;
|
|
1870
|
+
}
|
|
1871
|
+
});
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
/**
|
|
1875
|
+
* Show the iOS Cancel button on focus, hide it offscreen otherwise
|
|
1876
|
+
*/
|
|
1877
|
+
positionCancelButton() {
|
|
1878
|
+
const rtl = dir.isRTL(this.el);
|
|
1879
|
+
const cancelButton = (this.el.shadowRoot || this.el).querySelector('.searchbar-cancel-button');
|
|
1880
|
+
const shouldShowCancel = this.shouldShowCancelButton();
|
|
1881
|
+
if (cancelButton && shouldShowCancel !== this.isCancelVisible) {
|
|
1882
|
+
const cancelStyle = cancelButton.style;
|
|
1883
|
+
this.isCancelVisible = shouldShowCancel;
|
|
1884
|
+
if (shouldShowCancel) {
|
|
1885
|
+
if (rtl) {
|
|
1886
|
+
cancelStyle.marginLeft = '0';
|
|
1887
|
+
}
|
|
1888
|
+
else {
|
|
1889
|
+
cancelStyle.marginRight = '0';
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
else {
|
|
1893
|
+
const offset = cancelButton.offsetWidth;
|
|
1894
|
+
if (offset > 0) {
|
|
1895
|
+
if (rtl) {
|
|
1896
|
+
cancelStyle.marginLeft = -offset + 'px';
|
|
1897
|
+
}
|
|
1898
|
+
else {
|
|
1899
|
+
cancelStyle.marginRight = -offset + 'px';
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
getValue() {
|
|
1906
|
+
return this.value || '';
|
|
1907
|
+
}
|
|
1908
|
+
hasValue() {
|
|
1909
|
+
return this.getValue() !== '';
|
|
1910
|
+
}
|
|
1911
|
+
/**
|
|
1912
|
+
* Determines whether or not the cancel button should be visible onscreen.
|
|
1913
|
+
* Cancel button should be shown if one of two conditions applies:
|
|
1914
|
+
* 1. `showCancelButton` is set to `always`.
|
|
1915
|
+
* 2. `showCancelButton` is set to `focus`, and the searchbar has been focused.
|
|
1916
|
+
*/
|
|
1917
|
+
shouldShowCancelButton() {
|
|
1918
|
+
if (this.showCancelButton === 'never' || (this.showCancelButton === 'focus' && !this.focused)) {
|
|
1919
|
+
return false;
|
|
1920
|
+
}
|
|
1921
|
+
return true;
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
* Determines whether or not the clear button should be visible onscreen.
|
|
1925
|
+
* Clear button should be shown if one of two conditions applies:
|
|
1926
|
+
* 1. `showClearButton` is set to `always`.
|
|
1927
|
+
* 2. `showClearButton` is set to `focus`, and the searchbar has been focused.
|
|
1928
|
+
*/
|
|
1929
|
+
shouldShowClearButton() {
|
|
1930
|
+
if (this.showClearButton === 'never' || (this.showClearButton === 'focus' && !this.focused)) {
|
|
1931
|
+
return false;
|
|
1932
|
+
}
|
|
1933
|
+
return true;
|
|
1934
|
+
}
|
|
1935
|
+
render() {
|
|
1936
|
+
const { cancelButtonText } = this;
|
|
1937
|
+
const animated = this.animated && ionicGlobal.config.getBoolean('animated', true);
|
|
1938
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
1939
|
+
const clearIcon = this.clearIcon || (mode === 'ios' ? index$2.closeCircle : index$2.closeSharp);
|
|
1940
|
+
const searchIcon = this.searchIcon || (mode === 'ios' ? index$2.searchOutline : index$2.searchSharp);
|
|
1941
|
+
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
1942
|
+
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, index.h("div", { "aria-hidden": "true" }, mode === 'md' ? (index.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
1943
|
+
return (index.h(index.Host, { role: "search", "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
|
|
1944
|
+
[mode]: true,
|
|
1945
|
+
'searchbar-animated': animated,
|
|
1946
|
+
'searchbar-disabled': this.disabled,
|
|
1947
|
+
'searchbar-no-animate': animated && this.noAnimate,
|
|
1948
|
+
'searchbar-has-value': this.hasValue(),
|
|
1949
|
+
'searchbar-left-aligned': this.shouldAlignLeft,
|
|
1950
|
+
'searchbar-has-focus': this.focused,
|
|
1951
|
+
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
1952
|
+
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
1953
|
+
}) }, index.h("div", { class: "searchbar-input-container" }, index.h("input", { "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }), mode === 'md' && cancelButton, index.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), index.h("button", { "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
1954
|
+
/**
|
|
1955
|
+
* This prevents mobile browsers from
|
|
1956
|
+
* blurring the input when the clear
|
|
1957
|
+
* button is activated.
|
|
1958
|
+
*/
|
|
1959
|
+
ev.preventDefault();
|
|
1960
|
+
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
1961
|
+
}
|
|
1962
|
+
get el() { return index.getElement(this); }
|
|
1963
|
+
static get watchers() { return {
|
|
1964
|
+
"debounce": ["debounceChanged"],
|
|
1965
|
+
"value": ["valueChanged"],
|
|
1966
|
+
"showCancelButton": ["showCancelButtonChanged"]
|
|
1967
|
+
}; }
|
|
1968
|
+
};
|
|
1969
|
+
Searchbar.style = {
|
|
1970
|
+
ios: searchbarIosCss,
|
|
1971
|
+
md: searchbarMdCss
|
|
1972
|
+
};
|
|
1973
|
+
|
|
1974
|
+
const titleIosCss = ":host{--color:initial;display:flex;flex:1;align-items:center;transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{left:0;top:0;padding-left:90px;padding-right:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;transform:translateZ(0);font-size:17px;font-weight:600;text-align:center;box-sizing:border-box;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px}}:host(.title-small){padding-left:9px;padding-right:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:13px;font-weight:normal}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.title-small){padding-left:unset;padding-right:unset;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px}}:host(.title-large){padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;transform-origin:left center;bottom:0;align-items:flex-end;min-width:100%;padding-bottom:6px;font-size:34px;font-weight:700;text-align:start}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.title-large){padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host(.title-large.title-rtl){transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000)}:host(.title-large) .toolbar-title{transform-origin:inherit}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{transform-origin:calc(100% - inherit)}";
|
|
1975
|
+
|
|
1976
|
+
const titleMdCss = ":host{--color:initial;display:flex;flex:1;align-items:center;transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;letter-spacing:0.0125em}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}:host(.title-small){width:100%;height:100%;font-size:15px;font-weight:normal}";
|
|
1977
|
+
|
|
1978
|
+
const ToolbarTitle = class {
|
|
1979
|
+
constructor(hostRef) {
|
|
1980
|
+
index.registerInstance(this, hostRef);
|
|
1981
|
+
this.ionStyle = index.createEvent(this, "ionStyle", 7);
|
|
1982
|
+
}
|
|
1983
|
+
sizeChanged() {
|
|
1984
|
+
this.emitStyle();
|
|
1985
|
+
}
|
|
1986
|
+
connectedCallback() {
|
|
1987
|
+
this.emitStyle();
|
|
1988
|
+
}
|
|
1989
|
+
emitStyle() {
|
|
1990
|
+
const size = this.getSize();
|
|
1991
|
+
this.ionStyle.emit({
|
|
1992
|
+
[`title-${size}`]: true,
|
|
1993
|
+
});
|
|
1994
|
+
}
|
|
1995
|
+
getSize() {
|
|
1996
|
+
return this.size !== undefined ? this.size : 'default';
|
|
1997
|
+
}
|
|
1998
|
+
render() {
|
|
1999
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
2000
|
+
const size = this.getSize();
|
|
2001
|
+
return (index.h(index.Host, { class: theme.createColorClasses(this.color, {
|
|
2002
|
+
[mode]: true,
|
|
2003
|
+
[`title-${size}`]: true,
|
|
2004
|
+
'title-rtl': document.dir === 'rtl',
|
|
2005
|
+
}) }, index.h("div", { class: "toolbar-title" }, index.h("slot", null))));
|
|
2006
|
+
}
|
|
2007
|
+
get el() { return index.getElement(this); }
|
|
2008
|
+
static get watchers() { return {
|
|
2009
|
+
"size": ["sizeChanged"]
|
|
2010
|
+
}; }
|
|
2011
|
+
};
|
|
2012
|
+
ToolbarTitle.style = {
|
|
2013
|
+
ios: titleIosCss,
|
|
2014
|
+
md: titleMdCss
|
|
2015
|
+
};
|
|
2016
|
+
|
|
2017
|
+
const toolbarIosCss = ":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{flex:1;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}:host(.toolbar-searchbar) ::slotted(ion-back-button){height:38px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){order:2}::slotted([slot=secondary]){order:3}::slotted([slot=primary]){order:5;text-align:end}::slotted([slot=end]){order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{flex-wrap:wrap;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{flex:1;order:8;min-width:100%}";
|
|
2018
|
+
|
|
2019
|
+
const toolbarMdCss = ":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{flex:1;order:3;min-width:0;max-width:100%}::slotted(ion-segment){min-height:var(--min-height)}::slotted(.buttons-first-slot){margin-left:4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(.buttons-first-slot){margin-left:unset;-webkit-margin-start:4px;margin-inline-start:4px}}::slotted(.buttons-last-slot){margin-right:4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(.buttons-last-slot){margin-right:unset;-webkit-margin-end:4px;margin-inline-end:4px}}::slotted([slot=start]){order:2}::slotted([slot=secondary]){order:4}::slotted([slot=primary]){order:5;text-align:end}::slotted([slot=end]){order:6;text-align:end}";
|
|
2020
|
+
|
|
2021
|
+
const Toolbar = class {
|
|
2022
|
+
constructor(hostRef) {
|
|
2023
|
+
index.registerInstance(this, hostRef);
|
|
2024
|
+
this.childrenStyles = new Map();
|
|
2025
|
+
}
|
|
2026
|
+
componentWillLoad() {
|
|
2027
|
+
const buttons = Array.from(this.el.querySelectorAll('ion-buttons'));
|
|
2028
|
+
const firstButtons = buttons.find((button) => {
|
|
2029
|
+
return button.slot === 'start';
|
|
2030
|
+
});
|
|
2031
|
+
if (firstButtons) {
|
|
2032
|
+
firstButtons.classList.add('buttons-first-slot');
|
|
2033
|
+
}
|
|
2034
|
+
const buttonsReversed = buttons.reverse();
|
|
2035
|
+
const lastButtons = buttonsReversed.find((button) => button.slot === 'end') ||
|
|
2036
|
+
buttonsReversed.find((button) => button.slot === 'primary') ||
|
|
2037
|
+
buttonsReversed.find((button) => button.slot === 'secondary');
|
|
2038
|
+
if (lastButtons) {
|
|
2039
|
+
lastButtons.classList.add('buttons-last-slot');
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
childrenStyle(ev) {
|
|
2043
|
+
ev.stopPropagation();
|
|
2044
|
+
const tagName = ev.target.tagName;
|
|
2045
|
+
const updatedStyles = ev.detail;
|
|
2046
|
+
const newStyles = {};
|
|
2047
|
+
const childStyles = this.childrenStyles.get(tagName) || {};
|
|
2048
|
+
let hasStyleChange = false;
|
|
2049
|
+
Object.keys(updatedStyles).forEach((key) => {
|
|
2050
|
+
const childKey = `toolbar-${key}`;
|
|
2051
|
+
const newValue = updatedStyles[key];
|
|
2052
|
+
if (newValue !== childStyles[childKey]) {
|
|
2053
|
+
hasStyleChange = true;
|
|
2054
|
+
}
|
|
2055
|
+
if (newValue) {
|
|
2056
|
+
newStyles[childKey] = true;
|
|
2057
|
+
}
|
|
2058
|
+
});
|
|
2059
|
+
if (hasStyleChange) {
|
|
2060
|
+
this.childrenStyles.set(tagName, newStyles);
|
|
2061
|
+
index.forceUpdate(this);
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
render() {
|
|
2065
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
2066
|
+
const childStyles = {};
|
|
2067
|
+
this.childrenStyles.forEach((value) => {
|
|
2068
|
+
Object.assign(childStyles, value);
|
|
2069
|
+
});
|
|
2070
|
+
return (index.h(index.Host, { class: Object.assign(Object.assign({}, childStyles), theme.createColorClasses(this.color, {
|
|
2071
|
+
[mode]: true,
|
|
2072
|
+
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
2073
|
+
})) }, index.h("div", { class: "toolbar-background" }), index.h("div", { class: "toolbar-container" }, index.h("slot", { name: "start" }), index.h("slot", { name: "secondary" }), index.h("div", { class: "toolbar-content" }, index.h("slot", null)), index.h("slot", { name: "primary" }), index.h("slot", { name: "end" }))));
|
|
2074
|
+
}
|
|
2075
|
+
get el() { return index.getElement(this); }
|
|
2076
|
+
};
|
|
2077
|
+
Toolbar.style = {
|
|
2078
|
+
ios: toolbarIosCss,
|
|
2079
|
+
md: toolbarMdCss
|
|
2080
|
+
};
|
|
2081
|
+
|
|
2082
|
+
const title$1 = "Prayers and Thanksgivings";
|
|
2083
|
+
const EN = {
|
|
2084
|
+
title: title$1
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2087
|
+
const title = "Oraciones y Acciones de Gracias";
|
|
2088
|
+
const ES = {
|
|
2089
|
+
title: title
|
|
2090
|
+
};
|
|
2091
|
+
|
|
2092
|
+
const prayersAndThanksgivingsCss = ".padded.sc-ldf-prayers-and-thanksgivings{padding-left:14px}";
|
|
2093
|
+
|
|
2094
|
+
const LOCALE = {
|
|
2095
|
+
'en': EN,
|
|
2096
|
+
'es': ES
|
|
2097
|
+
};
|
|
2098
|
+
const PrayersAndThanksgivingsComponent = class {
|
|
2099
|
+
constructor(hostRef) {
|
|
2100
|
+
index.registerInstance(this, hostRef);
|
|
2101
|
+
this.ldfAskForPrayersAndThanksgivings = index.createEvent(this, "ldfAskForPrayersAndThanksgivings", 7);
|
|
2102
|
+
this.localeStrings = {};
|
|
2103
|
+
this.filter = '';
|
|
2104
|
+
}
|
|
2105
|
+
optionsChange(newOptions) {
|
|
2106
|
+
console.log("new options");
|
|
2107
|
+
this.currentOptions = newOptions;
|
|
2108
|
+
}
|
|
2109
|
+
/** Set the list of available prayers */
|
|
2110
|
+
async setOptions(options) {
|
|
2111
|
+
this.optionsChange(options);
|
|
2112
|
+
if (this.loading) {
|
|
2113
|
+
this.loading.dismiss();
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
// Lifecycle events
|
|
2117
|
+
async componentWillLoad() {
|
|
2118
|
+
this.ldfAskForPrayersAndThanksgivings.emit(true);
|
|
2119
|
+
this.loadLocaleStrings();
|
|
2120
|
+
}
|
|
2121
|
+
// Private methods
|
|
2122
|
+
async loadLocaleStrings() {
|
|
2123
|
+
try {
|
|
2124
|
+
this.localeStrings = LOCALE[locale.getComponentClosestLanguage(this.element)];
|
|
2125
|
+
}
|
|
2126
|
+
catch (e) {
|
|
2127
|
+
console.warn(e);
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
async addPrayer(value) {
|
|
2131
|
+
var _a;
|
|
2132
|
+
// if passed a parent, send the message to it that we should insert this doc
|
|
2133
|
+
if (this.parent) {
|
|
2134
|
+
this.parent.ldfDocShouldChange.emit(new change.Change({
|
|
2135
|
+
path: this.base,
|
|
2136
|
+
op: [{
|
|
2137
|
+
type: 'insertAt',
|
|
2138
|
+
index: this.index,
|
|
2139
|
+
value
|
|
2140
|
+
}]
|
|
2141
|
+
}));
|
|
2142
|
+
(_a = this.modal) === null || _a === void 0 ? void 0 : _a.dismiss();
|
|
2143
|
+
}
|
|
2144
|
+
// otherwise, just pop up the text
|
|
2145
|
+
else {
|
|
2146
|
+
const popover = await overlays.popoverController.create({
|
|
2147
|
+
backdropDismiss: true,
|
|
2148
|
+
component: "ldf-liturgical-document",
|
|
2149
|
+
componentProps: {
|
|
2150
|
+
doc: Object.assign(Object.assign({}, value), { value: value.value.map(line => typeof line === "string" ? line.replace(" ", " ") : line) }),
|
|
2151
|
+
padding: "1em"
|
|
2152
|
+
}
|
|
2153
|
+
});
|
|
2154
|
+
await popover.present();
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
buildTree() {
|
|
2158
|
+
function groupBy(list, keyGetter) {
|
|
2159
|
+
const map = new Map();
|
|
2160
|
+
list.forEach((item) => {
|
|
2161
|
+
const key = keyGetter(item);
|
|
2162
|
+
const collection = map.get(key);
|
|
2163
|
+
if (!collection) {
|
|
2164
|
+
map.set(key, [item]);
|
|
2165
|
+
}
|
|
2166
|
+
else {
|
|
2167
|
+
collection.push(item);
|
|
2168
|
+
}
|
|
2169
|
+
});
|
|
2170
|
+
return map;
|
|
2171
|
+
}
|
|
2172
|
+
const options = !this.filter ? this.currentOptions || [] :
|
|
2173
|
+
(this.currentOptions || []).filter(doc => { var _a, _b, _c, _d; return ((_b = (_a = doc.label) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.includes(this.filter.toLowerCase())) || ((_d = (_c = JSON.stringify(doc.value)) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === null || _d === void 0 ? void 0 : _d.includes(this.filter.toLowerCase())); });
|
|
2174
|
+
const categories = Array.from(groupBy(options, (item) => (item.category || [])[1]));
|
|
2175
|
+
const subcategories = categories.map(([categoryLabel, values]) => [categoryLabel, Array.from(groupBy(values, (item) => (item.category || [])[2]))]);
|
|
2176
|
+
return subcategories;
|
|
2177
|
+
}
|
|
2178
|
+
// Render
|
|
2179
|
+
render() {
|
|
2180
|
+
const localeStrings = this.localeStrings || {};
|
|
2181
|
+
const tree = this.buildTree(), list = index.h("ion-list", null, index.h("ion-searchbar", { debounce: 100, onIonChange: (ev) => this.filter = ev.detail.value }), tree.map(([category, values]) => [
|
|
2182
|
+
index.h("h2", { class: "padded" }, category),
|
|
2183
|
+
...values.map(([subcategory, subvalues]) => [
|
|
2184
|
+
index.h("h3", { class: "padded" }, subcategory),
|
|
2185
|
+
...subvalues
|
|
2186
|
+
.sort((a, b) => { var _a, _b; return Number((_a = a.label) === null || _a === void 0 ? void 0 : _a.split('.')[0]) < Number((_b = b.label) === null || _b === void 0 ? void 0 : _b.split('.')[0]) ? -1 : 1; })
|
|
2187
|
+
.map(option => {
|
|
2188
|
+
var _a, _b, _c, _d, _e, _f;
|
|
2189
|
+
let summary;
|
|
2190
|
+
if (option.type == "text") {
|
|
2191
|
+
summary = (_b = (_a = option.value[0]) === null || _a === void 0 ? void 0 : _a.replace(/\*/g, '')) === null || _b === void 0 ? void 0 : _b.replace(" ", " ");
|
|
2192
|
+
}
|
|
2193
|
+
else if (option.type == "liturgy") {
|
|
2194
|
+
summary = (_e = (_d = (_c = option.value[0]) === null || _c === void 0 ? void 0 : _c.value[0]) === null || _d === void 0 ? void 0 : _d.replace(/\*/g, '')) === null || _e === void 0 ? void 0 : _e.replace(" ", " ");
|
|
2195
|
+
}
|
|
2196
|
+
else if (option.type == "responsive-prayer") {
|
|
2197
|
+
summary = (_f = option.value[0]) === null || _f === void 0 ? void 0 : _f.text;
|
|
2198
|
+
}
|
|
2199
|
+
summary = summary || "";
|
|
2200
|
+
return index.h("ion-item", { button: true, onClick: () => this.addPrayer(option) }, index.h("ion-label", null, index.h("h3", null, option.label), index.h("p", null, summary)));
|
|
2201
|
+
})
|
|
2202
|
+
])
|
|
2203
|
+
]));
|
|
2204
|
+
return this.modal
|
|
2205
|
+
? [
|
|
2206
|
+
index.h("ion-header", null, index.h("ion-toolbar", null, index.h("ion-title", null, localeStrings.title), index.h("ion-buttons", { slot: "end" }, index.h("ion-button", { onClick: () => this.modal.dismiss() }, index.h("ion-icon", { slot: "icon-only", name: "close" }))))),
|
|
2207
|
+
index.h("ion-content", { class: "ion-padding" }, list)
|
|
2208
|
+
]
|
|
2209
|
+
: [list];
|
|
2210
|
+
}
|
|
2211
|
+
get element() { return index.getElement(this); }
|
|
2212
|
+
static get watchers() { return {
|
|
2213
|
+
"options": ["optionsChange"]
|
|
2214
|
+
}; }
|
|
2215
|
+
};
|
|
2216
|
+
PrayersAndThanksgivingsComponent.style = prayersAndThanksgivingsCss;
|
|
2217
|
+
|
|
2218
|
+
exports.ion_button = Button;
|
|
2219
|
+
exports.ion_buttons = Buttons;
|
|
2220
|
+
exports.ion_content = Content;
|
|
2221
|
+
exports.ion_header = Header;
|
|
2222
|
+
exports.ion_icon = Icon;
|
|
2223
|
+
exports.ion_item = Item;
|
|
2224
|
+
exports.ion_label = Label;
|
|
2225
|
+
exports.ion_list = List;
|
|
2226
|
+
exports.ion_note = Note;
|
|
2227
|
+
exports.ion_ripple_effect = RippleEffect;
|
|
2228
|
+
exports.ion_searchbar = Searchbar;
|
|
2229
|
+
exports.ion_title = ToolbarTitle;
|
|
2230
|
+
exports.ion_toolbar = Toolbar;
|
|
2231
|
+
exports.ldf_prayers_and_thanksgivings = PrayersAndThanksgivingsComponent;
|