@ionic/core 8.4.4-dev.11741630999.189d7fc2 → 8.4.4-dev.11741648084.118e26ac
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox.js +37 -5
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +47 -5
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/modal.js +15 -7
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +39 -2
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +5 -5
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +35 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +11 -11
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +15 -7
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +39 -4
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +47 -7
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +52 -15
- package/dist/collection/components/checkbox/checkbox.js +70 -3
- package/dist/collection/components/checkbox/checkbox.md.css +52 -15
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/gestures/sheet.js +11 -3
- package/dist/collection/components/modal/modal.js +5 -5
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.ios.css +205 -0
- package/dist/collection/components/radio-group/radio-group.js +72 -1
- package/dist/collection/components/radio-group/radio-group.md.css +205 -0
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.ios.css +59 -0
- package/dist/collection/components/select/select.js +80 -3
- package/dist/collection/components/select/select.md.css +61 -0
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +194 -2
- package/dist/esm/ion-app_8.entry.js +5 -5
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +35 -5
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +11 -11
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +15 -7
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +39 -4
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +47 -7
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/html.html-data.json +25 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-026517fb.entry.js → p-020df11a.entry.js} +1 -1
- package/dist/ionic/{p-dd14d988.entry.js → p-0434c94c.entry.js} +1 -1
- package/dist/ionic/p-0ab8caf8.system.entry.js +4 -0
- package/dist/ionic/{p-136ff13e.entry.js → p-0eab6979.entry.js} +1 -1
- package/dist/ionic/{p-ab2f4b05.entry.js → p-0f138cf3.entry.js} +1 -1
- package/dist/ionic/{p-d9ef8526.system.entry.js → p-166a794f.system.entry.js} +1 -1
- package/dist/ionic/{p-3fe95571.system.entry.js → p-1cf593cf.system.entry.js} +1 -1
- package/dist/ionic/p-21780245.entry.js +4 -0
- package/dist/ionic/p-221fbdf5.entry.js +4 -0
- package/dist/ionic/{p-d782ad8d.entry.js → p-2840743b.entry.js} +1 -1
- package/dist/ionic/{p-71e1d84d.entry.js → p-29cccf08.entry.js} +1 -1
- package/dist/ionic/{p-d25142f7.entry.js → p-2f429536.entry.js} +1 -1
- package/dist/ionic/{p-166f4ba0.entry.js → p-3b872754.entry.js} +1 -1
- package/dist/ionic/p-3e6be709.entry.js +4 -0
- package/dist/ionic/p-41d7ca3c.entry.js +4 -0
- package/dist/ionic/{p-323984f9.system.entry.js → p-4200e056.system.entry.js} +1 -1
- package/dist/ionic/{p-56a8aa85.entry.js → p-43bfbfd7.entry.js} +1 -1
- package/dist/ionic/{p-7112ab06.system.entry.js → p-47026941.system.entry.js} +1 -1
- package/dist/ionic/p-48e9eedb.entry.js +4 -0
- package/dist/ionic/{p-2cb33c6c.system.entry.js → p-506f2664.system.entry.js} +2 -2
- package/dist/ionic/p-541b5191.entry.js +4 -0
- package/dist/ionic/{p-3c29cb9d.entry.js → p-5c364a5b.entry.js} +1 -1
- package/dist/ionic/{p-424eb140.system.entry.js → p-5cc9314d.system.entry.js} +1 -1
- package/dist/ionic/{p-5d3dc32b.system.entry.js → p-5f10138c.system.entry.js} +1 -1
- package/dist/ionic/{p-98ce0c01.system.entry.js → p-5f7a9125.system.entry.js} +2 -2
- package/dist/ionic/p-62151078.system.entry.js +4 -0
- package/dist/ionic/{p-c42a4dad.system.entry.js → p-623b4fa6.system.entry.js} +1 -1
- package/dist/ionic/{p-37a21d70.entry.js → p-62d2e17d.entry.js} +1 -1
- package/dist/ionic/{p-e4c1fd74.system.entry.js → p-6321783a.system.entry.js} +1 -1
- package/dist/ionic/{p-b6208867.system.entry.js → p-66425a02.system.entry.js} +1 -1
- package/dist/ionic/{p-e84da6cb.system.entry.js → p-6703c724.system.entry.js} +1 -1
- package/dist/ionic/{p-fd2c0aa6.entry.js → p-6f6dd24f.entry.js} +1 -1
- package/dist/ionic/{p-57cca929.system.entry.js → p-717520d6.system.entry.js} +1 -1
- package/dist/ionic/{p-16799667.system.entry.js → p-7af3d1e8.system.entry.js} +1 -1
- package/dist/ionic/{p-6c85db7e.system.entry.js → p-7ef62ef9.system.entry.js} +2 -2
- package/dist/ionic/{p-712b57f9.system.entry.js → p-826c4d67.system.entry.js} +1 -1
- package/dist/ionic/{p-e18fc89c.entry.js → p-82afe775.entry.js} +1 -1
- package/dist/ionic/{p-8c0d81a9.entry.js → p-85d6d07c.entry.js} +1 -1
- package/dist/ionic/{p-c2583512.entry.js → p-8eee812a.entry.js} +1 -1
- package/dist/ionic/{p-badd3610.entry.js → p-8fa80de0.entry.js} +1 -1
- package/dist/ionic/{p-5bf080b2.entry.js → p-95a11fc4.entry.js} +1 -1
- package/dist/ionic/{p-8c42a26f.system.entry.js → p-986a98d9.system.entry.js} +1 -1
- package/dist/ionic/{p-5996d3ad.system.entry.js → p-98aefaa1.system.entry.js} +1 -1
- package/dist/ionic/{p-f670529f.system.entry.js → p-99b4160f.system.entry.js} +1 -1
- package/dist/ionic/p-9a950d3c.entry.js +4 -0
- package/dist/ionic/{p-48e13807.system.entry.js → p-9aaaff17.system.entry.js} +1 -1
- package/dist/ionic/{p-d7fef52e.system.entry.js → p-a4e7eaf6.system.entry.js} +1 -1
- package/dist/ionic/{p-b6849d30.system.entry.js → p-aae5907a.system.entry.js} +1 -1
- package/dist/ionic/{p-6f36e4c8.system.entry.js → p-afba4c00.system.entry.js} +1 -1
- package/dist/ionic/{p-e2f893bd.entry.js → p-b1dbfc12.entry.js} +1 -1
- package/dist/ionic/{p-91b944fa.entry.js → p-bd1c99cb.entry.js} +1 -1
- package/dist/ionic/{p-2cf956b8.entry.js → p-c43872df.entry.js} +1 -1
- package/dist/ionic/p-c4f9367a.entry.js +4 -0
- package/dist/ionic/{p-6347c733.system.entry.js → p-c52ca485.system.entry.js} +1 -1
- package/dist/ionic/{p-d4896d36.system.entry.js → p-cad0b874.system.entry.js} +1 -1
- package/dist/ionic/{p-193d447d.system.entry.js → p-d9162cf7.system.entry.js} +1 -1
- package/dist/ionic/{p-3c3d353b.entry.js → p-dbe534f5.entry.js} +1 -1
- package/dist/ionic/{p-42a9bb35.entry.js → p-dde5afee.entry.js} +1 -1
- package/dist/ionic/{p-d6b60875.entry.js → p-de0b8503.entry.js} +1 -1
- package/dist/ionic/p-e3bd1070.entry.js +4 -0
- package/dist/ionic/{p-85b1ffae.entry.js → p-ebceb0ac.entry.js} +1 -1
- package/dist/ionic/{p-a873feda.system.entry.js → p-ec92cc52.system.entry.js} +1 -1
- package/dist/ionic/{p-447d4981.system.entry.js → p-ee70a913.system.entry.js} +1 -1
- package/dist/ionic/{p-73dc4950.entry.js → p-f2a72b24.entry.js} +1 -1
- package/dist/ionic/p-f4f255cb.system.js +1 -1
- package/dist/ionic/{p-c3a51c19.system.entry.js → p-f5f52b6d.system.entry.js} +1 -1
- package/dist/ionic/{p-4eed0eb2.system.entry.js → p-fa5a45cd.system.entry.js} +1 -1
- package/dist/ionic/{p-3b8b35c7.system.entry.js → p-fb048d4d.system.entry.js} +1 -1
- package/dist/ionic/p-fe00ac05.system.entry.js +4 -0
- package/dist/types/components/checkbox/checkbox.d.ts +19 -0
- package/dist/types/components/modal/modal.d.ts +6 -3
- package/dist/types/components/radio-group/radio-group.d.ts +15 -0
- package/dist/types/components/select/select.d.ts +23 -0
- package/dist/types/components.d.ts +50 -2
- package/hydrate/index.js +231 -106
- package/hydrate/index.mjs +231 -106
- package/package.json +1 -1
- package/dist/ionic/p-14be4015.entry.js +0 -4
- package/dist/ionic/p-30ec5574.entry.js +0 -4
- package/dist/ionic/p-37264dcc.entry.js +0 -4
- package/dist/ionic/p-49b2653a.system.entry.js +0 -4
- package/dist/ionic/p-59884cc7.system.entry.js +0 -4
- package/dist/ionic/p-7896a440.system.entry.js +0 -4
- package/dist/ionic/p-8b367303.entry.js +0 -4
- package/dist/ionic/p-ba61193a.entry.js +0 -4
- package/dist/ionic/p-ebb85488.entry.js +0 -4
- package/dist/ionic/p-ec197876.entry.js +0 -4
- package/dist/ionic/p-efcb7383.entry.js +0 -4
- package/dist/ionic/p-fc9149bd.entry.js +0 -4
|
@@ -5,6 +5,12 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
5
5
|
import { e as renderHiddenInput } from './helpers.js';
|
|
6
6
|
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
|
|
8
|
+
const radioGroupIosCss = "ion-radio-group{vertical-align:top}.radio-group-wrapper{display:inline}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}";
|
|
9
|
+
const IonRadioGroupIosStyle0 = radioGroupIosCss;
|
|
10
|
+
|
|
11
|
+
const radioGroupMdCss = "ion-radio-group{vertical-align:top}.radio-group-wrapper{display:inline}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}";
|
|
12
|
+
const IonRadioGroupMdStyle0 = radioGroupMdCss;
|
|
13
|
+
|
|
8
14
|
const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTMLElement {
|
|
9
15
|
constructor() {
|
|
10
16
|
super();
|
|
@@ -12,6 +18,8 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
12
18
|
this.ionChange = createEvent(this, "ionChange", 7);
|
|
13
19
|
this.ionValueChange = createEvent(this, "ionValueChange", 7);
|
|
14
20
|
this.inputId = `ion-rg-${radioGroupIds++}`;
|
|
21
|
+
this.helperTextId = `${this.inputId}-helper-text`;
|
|
22
|
+
this.errorTextId = `${this.inputId}-error-text`;
|
|
15
23
|
this.labelId = `${this.inputId}-lbl`;
|
|
16
24
|
this.setRadioTabindex = (value) => {
|
|
17
25
|
const radios = this.getRadios();
|
|
@@ -63,6 +71,8 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
63
71
|
this.compareWith = undefined;
|
|
64
72
|
this.name = this.inputId;
|
|
65
73
|
this.value = undefined;
|
|
74
|
+
this.helperText = undefined;
|
|
75
|
+
this.errorText = undefined;
|
|
66
76
|
}
|
|
67
77
|
valueChanged(value) {
|
|
68
78
|
this.setRadioTabindex(value);
|
|
@@ -161,21 +171,48 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
161
171
|
const radioToFocus = this.getRadios().find((r) => r.tabIndex !== -1);
|
|
162
172
|
radioToFocus === null || radioToFocus === void 0 ? void 0 : radioToFocus.setFocus();
|
|
163
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* Renders the helper text or error text values
|
|
176
|
+
*/
|
|
177
|
+
renderHintText() {
|
|
178
|
+
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
179
|
+
const hasHintText = !!helperText || !!errorText;
|
|
180
|
+
if (!hasHintText) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
return (h("div", { class: "radio-group-top" }, h("div", { id: helperTextId, class: "helper-text" }, helperText), h("div", { id: errorTextId, class: "error-text" }, errorText)));
|
|
184
|
+
}
|
|
185
|
+
getHintTextID() {
|
|
186
|
+
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
187
|
+
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
188
|
+
return errorTextId;
|
|
189
|
+
}
|
|
190
|
+
if (helperText) {
|
|
191
|
+
return helperTextId;
|
|
192
|
+
}
|
|
193
|
+
return undefined;
|
|
194
|
+
}
|
|
164
195
|
render() {
|
|
165
196
|
const { label, labelId, el, name, value } = this;
|
|
166
197
|
const mode = getIonMode(this);
|
|
167
198
|
renderHiddenInput(true, el, name, value, false);
|
|
168
|
-
return h(Host, { key: '
|
|
199
|
+
return (h(Host, { key: 'cac92777297029d7fd1b6af264d92850e35dfbba', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: mode }, this.renderHintText(), h("div", { key: '6b5c634dba30d54eedc031b077863f3d6a9d9e9b', class: "radio-group-wrapper" }, h("slot", { key: '443edb3ff6f4c59d4c4324c8a19f2d6def47a322' }))));
|
|
169
200
|
}
|
|
170
201
|
get el() { return this; }
|
|
171
202
|
static get watchers() { return {
|
|
172
203
|
"value": ["valueChanged"]
|
|
173
204
|
}; }
|
|
174
|
-
|
|
205
|
+
static get style() { return {
|
|
206
|
+
ios: IonRadioGroupIosStyle0,
|
|
207
|
+
md: IonRadioGroupMdStyle0
|
|
208
|
+
}; }
|
|
209
|
+
}, [36, "ion-radio-group", {
|
|
175
210
|
"allowEmptySelection": [4, "allow-empty-selection"],
|
|
176
211
|
"compareWith": [1, "compare-with"],
|
|
177
212
|
"name": [1],
|
|
178
213
|
"value": [1032],
|
|
214
|
+
"helperText": [1, "helper-text"],
|
|
215
|
+
"errorText": [1, "error-text"],
|
|
179
216
|
"setFocus": [64]
|
|
180
217
|
}, [[4, "keydown", "onKeydown"]], {
|
|
181
218
|
"value": ["valueChanged"]
|
package/components/radio.js
CHANGED
|
@@ -159,7 +159,7 @@ const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends HTMLElement {
|
|
|
159
159
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
160
160
|
const mode = getIonMode(this);
|
|
161
161
|
const inItem = hostContext('ion-item', el);
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: '8badd4aec277addc0793e14df21f73bb345e99b7', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
163
163
|
[mode]: true,
|
|
164
164
|
'in-item': inItem,
|
|
165
165
|
'radio-checked': checked,
|
|
@@ -170,10 +170,10 @@ const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends HTMLElement {
|
|
|
170
170
|
// Focus and active styling should not apply when the radio is in an item
|
|
171
171
|
'ion-activatable': !inItem,
|
|
172
172
|
'ion-focusable': !inItem,
|
|
173
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
173
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '8765b847edc93a1b5a16506e155ed03da807bb10', class: "radio-wrapper" }, h("div", { key: '3d568a0192a32d4f0b8a920019c79ff02639b5c9', class: {
|
|
174
174
|
'label-text-wrapper': true,
|
|
175
175
|
'label-text-wrapper-hidden': !hasLabel,
|
|
176
|
-
}, part: "label" }, h("slot", { key: '
|
|
176
|
+
}, part: "label" }, h("slot", { key: '331f3dc2ce5f6ed8f124fc4560f92e0f7c668a85' })), h("div", { key: '473bd4aaf448753e385f2dda3fddc9f56379aa19', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
177
177
|
}
|
|
178
178
|
get el() { return this; }
|
|
179
179
|
static get watchers() { return {
|
|
@@ -66,7 +66,7 @@ const RippleEffect = /*@__PURE__*/ proxyCustomElement(class RippleEffect extends
|
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
const mode = getIonMode(this);
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '40c7f73e7f5f67e29f83e1236a61c6e1c9943c42', role: "presentation", class: {
|
|
70
70
|
[mode]: true,
|
|
71
71
|
unbounded: this.unbounded,
|
|
72
72
|
} }));
|
|
@@ -102,7 +102,7 @@ const SelectModal = /*@__PURE__*/ proxyCustomElement(class SelectModal extends H
|
|
|
102
102
|
} }, option.text))));
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '885198a9f21884e3bfb9bf0af53e0ee3ae37b231', class: getIonMode(this) }, h("ion-header", { key: 'd8b63726869747ac711e4fda78a50ce46f72970c' }, h("ion-toolbar", { key: '9ab2a4c1480dd74eeae38d7b580a2e87fb71270e' }, this.header !== undefined && h("ion-title", { key: '87a7034385ef57f55cefdd0371dbb66a64827290' }, this.header), h("ion-buttons", { key: '0a35424ea13ca002abc9a43b6138730254f187d0', slot: "end" }, h("ion-button", { key: '238bf40b47128d9aa995d14d9ff9ebcae4f79492', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: '4a256f3381f8cabbc7194337b8ae4aa1c3ab1066' }, h("ion-list", { key: 'acd38fc52024632176467ed6a84106a454021544' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
106
106
|
}
|
|
107
107
|
get el() { return this; }
|
|
108
108
|
static get style() { return {
|
|
@@ -117,7 +117,7 @@ const SelectPopover = /*@__PURE__*/ proxyCustomElement(class SelectPopover exten
|
|
|
117
117
|
render() {
|
|
118
118
|
const { header, message, options, subHeader } = this;
|
|
119
119
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
120
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: '542367ab8fb72bfebf7e65630b91017d68827fd6', class: getIonMode(this) }, h("ion-list", { key: 'f2f0f37e1365cd7780b02de1a1698700d0df48a7' }, header !== undefined && h("ion-list-header", { key: '4b8800a68e800f19277a44b7074ca24b70218daf' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '932b7903daf97d5a57d289b7ee49e868bb9b0cf5' }, h("ion-label", { key: 'fc3f1b69aa2a0bc6125d35692dcad3a8a99fd160', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'eceab2f47afa95f04b138342b0bdbfa1f50919a8' }, subHeader), message !== undefined && h("p", { key: '70f4e27ad1316318efd0c17efce31e5e45c8fa02' }, message)))), this.renderOptions(options))));
|
|
121
121
|
}
|
|
122
122
|
get el() { return this; }
|
|
123
123
|
static get style() { return {
|
package/components/spinner.js
CHANGED
|
@@ -185,7 +185,7 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends HTMLEleme
|
|
|
185
185
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
return (h(Host, { key: '
|
|
188
|
+
return (h(Host, { key: 'e0dfa8a3ee2a0469eb31323f506750bd77d65797', class: createColorClasses(self.color, {
|
|
189
189
|
[mode]: true,
|
|
190
190
|
[`spinner-${spinnerName}`]: true,
|
|
191
191
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
package/components/title.js
CHANGED
|
@@ -38,11 +38,11 @@ const ToolbarTitle = /*@__PURE__*/ proxyCustomElement(class ToolbarTitle extends
|
|
|
38
38
|
render() {
|
|
39
39
|
const mode = getIonMode(this);
|
|
40
40
|
const size = this.getSize();
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '3f7b19c99961dbb86c0a925218332528b22e6880', class: createColorClasses(this.color, {
|
|
42
42
|
[mode]: true,
|
|
43
43
|
[`title-${size}`]: true,
|
|
44
44
|
'title-rtl': document.dir === 'rtl',
|
|
45
|
-
}) }, h("div", { key: '
|
|
45
|
+
}) }, h("div", { key: '12054fbdd60e40a15875e442c20143766fc34fc3', class: "toolbar-title" }, h("slot", { key: '9f14fb14a67d4bd1e4536a4d64a637fbe5a151c7' }))));
|
|
46
46
|
}
|
|
47
47
|
get el() { return this; }
|
|
48
48
|
static get watchers() { return {
|
package/components/toolbar.js
CHANGED
|
@@ -63,10 +63,10 @@ const Toolbar = /*@__PURE__*/ proxyCustomElement(class Toolbar extends HTMLEleme
|
|
|
63
63
|
this.childrenStyles.forEach((value) => {
|
|
64
64
|
Object.assign(childStyles, value);
|
|
65
65
|
});
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '402afe7ce0c97883cedd0e48a5a0492a9bfe76ae', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
67
67
|
[mode]: true,
|
|
68
68
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
69
|
-
})) }, h("div", { key: '
|
|
69
|
+
})) }, h("div", { key: '2465a6dc8d507ec650538378d1be2abd399c58ad', class: "toolbar-background", part: "background" }), h("div", { key: '6075096afd12303b961e4fe9ad345ef2887573af', class: "toolbar-container", part: "container" }, h("slot", { key: '8b7eec1148cfeb339d87cdf9273f2104703e7601', name: "start" }), h("slot", { key: 'b102d3926cade24faf78b7af78ad5e192c4c0308', name: "secondary" }), h("div", { key: 'c6ab2e978328324c6f9e7892024cbcd8b8987067', class: "toolbar-content", part: "content" }, h("slot", { key: '86f8952c4355a9df5b4bbb95e9d0cafefd272d5b' })), h("slot", { key: '501e43431da6b9dd35b47b79222f948d445f7a78', name: "primary" }), h("slot", { key: '84bf1a15a5e52e8e94df9f479c4ce18004f5ab57', name: "end" }))));
|
|
70
70
|
}
|
|
71
71
|
get el() { return this; }
|
|
72
72
|
static get style() { return {
|
|
@@ -1200,7 +1200,7 @@ const RouterOutlet = class {
|
|
|
1200
1200
|
return true;
|
|
1201
1201
|
}
|
|
1202
1202
|
render() {
|
|
1203
|
-
return index.h("slot", { key: '
|
|
1203
|
+
return index.h("slot", { key: '8d0c163c5f63158e16ef2db7cc3c756cf597461d' });
|
|
1204
1204
|
}
|
|
1205
1205
|
get el() { return index.getElement(this); }
|
|
1206
1206
|
static get watchers() { return {
|
|
@@ -1240,11 +1240,11 @@ const ToolbarTitle = class {
|
|
|
1240
1240
|
render() {
|
|
1241
1241
|
const mode = ionicGlobal.getIonMode(this);
|
|
1242
1242
|
const size = this.getSize();
|
|
1243
|
-
return (index.h(index.Host, { key: '
|
|
1243
|
+
return (index.h(index.Host, { key: '3f7b19c99961dbb86c0a925218332528b22e6880', class: theme.createColorClasses(this.color, {
|
|
1244
1244
|
[mode]: true,
|
|
1245
1245
|
[`title-${size}`]: true,
|
|
1246
1246
|
'title-rtl': document.dir === 'rtl',
|
|
1247
|
-
}) }, index.h("div", { key: '
|
|
1247
|
+
}) }, index.h("div", { key: '12054fbdd60e40a15875e442c20143766fc34fc3', class: "toolbar-title" }, index.h("slot", { key: '9f14fb14a67d4bd1e4536a4d64a637fbe5a151c7' }))));
|
|
1248
1248
|
}
|
|
1249
1249
|
get el() { return index.getElement(this); }
|
|
1250
1250
|
static get watchers() { return {
|
|
@@ -1312,10 +1312,10 @@ const Toolbar = class {
|
|
|
1312
1312
|
this.childrenStyles.forEach((value) => {
|
|
1313
1313
|
Object.assign(childStyles, value);
|
|
1314
1314
|
});
|
|
1315
|
-
return (index.h(index.Host, { key: '
|
|
1315
|
+
return (index.h(index.Host, { key: '402afe7ce0c97883cedd0e48a5a0492a9bfe76ae', class: Object.assign(Object.assign({}, childStyles), theme.createColorClasses(this.color, {
|
|
1316
1316
|
[mode]: true,
|
|
1317
1317
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
1318
|
-
})) }, index.h("div", { key: '
|
|
1318
|
+
})) }, index.h("div", { key: '2465a6dc8d507ec650538378d1be2abd399c58ad', class: "toolbar-background", part: "background" }), index.h("div", { key: '6075096afd12303b961e4fe9ad345ef2887573af', class: "toolbar-container", part: "container" }, index.h("slot", { key: '8b7eec1148cfeb339d87cdf9273f2104703e7601', name: "start" }), index.h("slot", { key: 'b102d3926cade24faf78b7af78ad5e192c4c0308', name: "secondary" }), index.h("div", { key: 'c6ab2e978328324c6f9e7892024cbcd8b8987067', class: "toolbar-content", part: "content" }, index.h("slot", { key: '86f8952c4355a9df5b4bbb95e9d0cafefd272d5b' })), index.h("slot", { key: '501e43431da6b9dd35b47b79222f948d445f7a78', name: "primary" }), index.h("slot", { key: '84bf1a15a5e52e8e94df9f479c4ce18004f5ab57', name: "end" }))));
|
|
1319
1319
|
}
|
|
1320
1320
|
get el() { return index.getElement(this); }
|
|
1321
1321
|
};
|
|
@@ -59,7 +59,7 @@ const Thumbnail = class {
|
|
|
59
59
|
index.registerInstance(this, hostRef);
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: '7f5fd6c056da2d82feb2c3c33f3e6dec898787f5', class: ionicGlobal.getIonMode(this) }, index.h("slot", { key: 'd15fd2b6cdc03777edc1930be95ad838e1b376c8' })));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
Thumbnail.style = IonThumbnailStyle0;
|
|
@@ -10,10 +10,10 @@ const helpers = require('./helpers-b14a0f09.js');
|
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-96da1b2e.js');
|
|
12
12
|
|
|
13
|
-
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}
|
|
13
|
+
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}";
|
|
14
14
|
const IonCheckboxIosStyle0 = checkboxIosCss;
|
|
15
15
|
|
|
16
|
-
const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}
|
|
16
|
+
const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}";
|
|
17
17
|
const IonCheckboxMdStyle0 = checkboxMdCss;
|
|
18
18
|
|
|
19
19
|
const Checkbox = class {
|
|
@@ -23,6 +23,8 @@ const Checkbox = class {
|
|
|
23
23
|
this.ionFocus = index.createEvent(this, "ionFocus", 7);
|
|
24
24
|
this.ionBlur = index.createEvent(this, "ionBlur", 7);
|
|
25
25
|
this.inputId = `ion-cb-${checkboxIds++}`;
|
|
26
|
+
this.helperTextId = `${this.inputId}-helper-text`;
|
|
27
|
+
this.errorTextId = `${this.inputId}-error-text`;
|
|
26
28
|
this.inheritedAttributes = {};
|
|
27
29
|
/**
|
|
28
30
|
* Sets the checked property and emits
|
|
@@ -60,6 +62,8 @@ const Checkbox = class {
|
|
|
60
62
|
this.checked = false;
|
|
61
63
|
this.indeterminate = false;
|
|
62
64
|
this.disabled = false;
|
|
65
|
+
this.errorText = undefined;
|
|
66
|
+
this.helperText = undefined;
|
|
63
67
|
this.value = 'on';
|
|
64
68
|
this.labelPlacement = 'start';
|
|
65
69
|
this.justify = undefined;
|
|
@@ -75,12 +79,38 @@ const Checkbox = class {
|
|
|
75
79
|
this.focusEl.focus();
|
|
76
80
|
}
|
|
77
81
|
}
|
|
82
|
+
getHintTextID() {
|
|
83
|
+
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
84
|
+
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
85
|
+
return errorTextId;
|
|
86
|
+
}
|
|
87
|
+
if (helperText) {
|
|
88
|
+
return helperTextId;
|
|
89
|
+
}
|
|
90
|
+
return undefined;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Responsible for rendering helper text and error text.
|
|
94
|
+
* This element should only be rendered if hint text is set.
|
|
95
|
+
*/
|
|
96
|
+
renderHintText() {
|
|
97
|
+
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
98
|
+
/**
|
|
99
|
+
* undefined and empty string values should
|
|
100
|
+
* be treated as not having helper/error text.
|
|
101
|
+
*/
|
|
102
|
+
const hasHintText = !!helperText || !!errorText;
|
|
103
|
+
if (!hasHintText) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
return (index.h("div", { class: "checkbox-bottom" }, index.h("div", { id: helperTextId, class: "helper-text", part: "supporting-text helper-text" }, helperText), index.h("div", { id: errorTextId, class: "error-text", part: "supporting-text error-text" }, errorText)));
|
|
107
|
+
}
|
|
78
108
|
render() {
|
|
79
109
|
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, required, } = this;
|
|
80
110
|
const mode = ionicGlobal.getIonMode(this);
|
|
81
111
|
const path = getSVGPath(mode, indeterminate);
|
|
82
112
|
helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
83
|
-
return (index.h(index.Host, { key: '
|
|
113
|
+
return (index.h(index.Host, { key: '7ac31df89b07c781ddcd30a6a8c109494d0c500a', "aria-checked": indeterminate ? 'mixed' : `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, class: theme.createColorClasses(color, {
|
|
84
114
|
[mode]: true,
|
|
85
115
|
'in-item': theme.hostContext('ion-item', el),
|
|
86
116
|
'checkbox-checked': checked,
|
|
@@ -90,10 +120,10 @@ const Checkbox = class {
|
|
|
90
120
|
[`checkbox-justify-${justify}`]: justify !== undefined,
|
|
91
121
|
[`checkbox-alignment-${alignment}`]: alignment !== undefined,
|
|
92
122
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
93
|
-
}), onClick: this.onClick }, index.h("label", { key: '
|
|
123
|
+
}), onClick: this.onClick }, index.h("label", { key: '674e923fe1ec83a33c31d67b0d414d61ba8f9e4b', class: "checkbox-wrapper" }, index.h("input", Object.assign({ key: 'c4866e392fbdf3b76edcd1507cb67f40a213a4e7', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), index.h("div", { key: '79cb96e5963b9331a760438ec8cc9e456215de91', class: {
|
|
94
124
|
'label-text-wrapper': true,
|
|
95
125
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
96
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
126
|
+
}, part: "label" }, index.h("slot", { key: '896cb26292c9a4a6c105afb39611472b93bf5e90' }), this.renderHintText()), index.h("div", { key: '52cd22e79fd5db30b45d7b092aa5af3944392336', class: "native-wrapper" }, index.h("svg", { key: '18d862ab7cc32055eaf200eea560ff1b2b6cbde0', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
97
127
|
}
|
|
98
128
|
getSVGPath(mode, indeterminate) {
|
|
99
129
|
let path = indeterminate ? (index.h("path", { d: "M6 12L18 12", part: "mark" })) : (index.h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -173,7 +173,7 @@ const Row = class {
|
|
|
173
173
|
index.registerInstance(this, hostRef);
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (index.h(index.Host, { key: '
|
|
176
|
+
return (index.h(index.Host, { key: 'a690022e2abdce6946d24264574e4aa0886a8ea5', class: ionicGlobal.getIonMode(this) }, index.h("slot", { key: 'd1a0e831dd1dbfe7877d3ad01d0a3045a5fb29e3' })));
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
Row.style = IonRowStyle0;
|
|
@@ -2030,11 +2030,11 @@ const Picker = class {
|
|
|
2030
2030
|
render() {
|
|
2031
2031
|
const { htmlAttributes } = this;
|
|
2032
2032
|
const mode = ionicGlobal.getIonMode(this);
|
|
2033
|
-
return (index$1.h(index$1.Host, Object.assign({ key: '
|
|
2033
|
+
return (index$1.h(index$1.Host, Object.assign({ key: 'dc03f252e3b59a94bc7132c953d2d3b36b62237e', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2034
2034
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2035
2035
|
}, class: Object.assign({ [mode]: true,
|
|
2036
2036
|
// Used internally for styling
|
|
2037
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index$1.h("ion-backdrop", { key: '
|
|
2037
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index$1.h("ion-backdrop", { key: 'bdabe9c82c41f96da5dafb1a0aa0854fa7e7ec93', visible: this.showBackdrop, tappable: this.backdropDismiss }), index$1.h("div", { key: '1380e0c8989153b425674753764f12f253f4a738', tabindex: "0", "aria-hidden": "true" }), index$1.h("div", { key: 'edec769bbc0993d003852d0bf1123e6e2332ebbe', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index$1.h("div", { key: 'b82c67ff47aa9412a6ff8f3b2e6230b855e92c51', class: "picker-toolbar" }, this.buttons.map((b) => (index$1.h("div", { class: buttonWrapperClass(b) }, index$1.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index$1.h("div", { key: '76485b643387f36b6b3d5f85e4d072fa18e68552', class: "picker-columns" }, index$1.h("div", { key: '99268217263feb5285db1b1acd48fd0e4d5f0e7b', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index$1.h("ion-picker-legacy-column", { col: c })), index$1.h("div", { key: '2dd7e488bc4e9695094f0758567e626e0bb5979d', class: "picker-below-highlight" }))), index$1.h("div", { key: '8b2f3ae798a4ddcdd4e2716ebba1de797e446ac4', tabindex: "0", "aria-hidden": "true" })));
|
|
2038
2038
|
}
|
|
2039
2039
|
get el() { return index$1.getElement(this); }
|
|
2040
2040
|
static get watchers() { return {
|
|
@@ -2391,9 +2391,9 @@ const PickerColumnCmp = class {
|
|
|
2391
2391
|
render() {
|
|
2392
2392
|
const col = this.col;
|
|
2393
2393
|
const mode = ionicGlobal.getIonMode(this);
|
|
2394
|
-
return (index$1.h(index$1.Host, { key: '
|
|
2394
|
+
return (index$1.h(index$1.Host, { key: '88a3c9397c9ac92dd814074c8ae6ecf8e3420a2c', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2395
2395
|
'max-width': this.col.columnWidth,
|
|
2396
|
-
} }, col.prefix && (index$1.h("div", { key: '
|
|
2396
|
+
} }, col.prefix && (index$1.h("div", { key: '4491a705d15337e6f45f3cf6fd21af5242474729', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index$1.h("div", { key: 'b0dd4b7a7a4c1edc4b73e7fb134ac85264072365', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (index$1.h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (index$1.h("div", { key: 'c16419ce6481d60fc3ba6b8d102a4edf0ede02aa', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2397
2397
|
}
|
|
2398
2398
|
get el() { return index$1.getElement(this); }
|
|
2399
2399
|
static get watchers() { return {
|
|
@@ -48,12 +48,12 @@ const ItemOption = class {
|
|
|
48
48
|
href: this.href,
|
|
49
49
|
target: this.target,
|
|
50
50
|
};
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: '1b7708dd178dc2c9280652ca3da38c84ba7b767f', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
52
52
|
[mode]: true,
|
|
53
53
|
'item-option-disabled': disabled,
|
|
54
54
|
'item-option-expandable': expandable,
|
|
55
55
|
'ion-activatable': true,
|
|
56
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
56
|
+
}) }, index.h(TagType, Object.assign({ key: 'd9f899f5425ad6b97071494485aa3ca90bc89d30' }, attrs, { class: "button-native", part: "native", disabled: disabled }), index.h("span", { key: 'adc2cf72b4363be9b9eeb3584723e2bfc862af20', class: "button-inner" }, index.h("slot", { key: 'e668fe8e655a74e6a35e979e0cd488506b962dbf', name: "top" }), index.h("div", { key: '2ddcdb92b6b19c3cc549a7aee2400d1a6eeb51f1', class: "horizontal-wrapper" }, index.h("slot", { key: '441f13df18b72e5ed6bb51b157722e065b5847d2', name: "start" }), index.h("slot", { key: '425d815874b49e1628880160d7175ed3ca36ca39', name: "icon-only" }), index.h("slot", { key: '27437d3fa3365b12bc030704e18481fdfb14aebb' }), index.h("slot", { key: 'bd39330771c7f85c6df10f7f9050335ee7f14ff0', name: "end" })), index.h("slot", { key: '440cb6dc7743d50b261d4bf61d2c24e24b89e58c', name: "bottom" })), mode === 'md' && index.h("ion-ripple-effect", { key: '29632941464bbb34551cf64961187643f62bf755' }))));
|
|
57
57
|
}
|
|
58
58
|
get el() { return index.getElement(this); }
|
|
59
59
|
};
|
|
@@ -83,7 +83,7 @@ const ItemOptions = class {
|
|
|
83
83
|
render() {
|
|
84
84
|
const mode = ionicGlobal.getIonMode(this);
|
|
85
85
|
const isEnd = helpers.isEndSide(this.side);
|
|
86
|
-
return (index.h(index.Host, { key: '
|
|
86
|
+
return (index.h(index.Host, { key: '7df4b71547524bf359c48e1b40ccbc44e850f632', class: {
|
|
87
87
|
[mode]: true,
|
|
88
88
|
// Used internally for styling
|
|
89
89
|
[`item-options-${mode}`]: true,
|
|
@@ -491,7 +491,7 @@ const ItemSliding = class {
|
|
|
491
491
|
}
|
|
492
492
|
render() {
|
|
493
493
|
const mode = ionicGlobal.getIonMode(this);
|
|
494
|
-
return (index.h(index.Host, { key: '
|
|
494
|
+
return (index.h(index.Host, { key: '22f83febcbc1bc27e4ddbd7fcbe590de60a10e89', class: {
|
|
495
495
|
[mode]: true,
|
|
496
496
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
497
497
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -242,11 +242,11 @@ const ItemDivider = class {
|
|
|
242
242
|
}
|
|
243
243
|
render() {
|
|
244
244
|
const mode = ionicGlobal.getIonMode(this);
|
|
245
|
-
return (index.h(index.Host, { key: '
|
|
245
|
+
return (index.h(index.Host, { key: '7150b1a3a881c3c312db40821acb9830c2885ccf', class: theme.createColorClasses(this.color, {
|
|
246
246
|
[mode]: true,
|
|
247
247
|
'item-divider-sticky': this.sticky,
|
|
248
248
|
item: true,
|
|
249
|
-
}) }, index.h("slot", { key: '
|
|
249
|
+
}) }, index.h("slot", { key: '6e9d9615f475392a81177bc49b4b01dbdab67925', name: "start" }), index.h("div", { key: '12fe6b840ad1a1897cc34529e488207b2df448f7', class: "item-divider-inner" }, index.h("div", { key: '626776a8c9887dd2df5ecf3b7861beb742b41e03', class: "item-divider-wrapper" }, index.h("slot", { key: '90379dd99914e24ae45c9571c8d390f9b6622fd4' })), index.h("slot", { key: '105644332c08530155b9cd8e8c6fa9e332072a63', name: "end" }))));
|
|
250
250
|
}
|
|
251
251
|
get el() { return index.getElement(this); }
|
|
252
252
|
};
|
|
@@ -267,7 +267,7 @@ const ItemGroup = class {
|
|
|
267
267
|
}
|
|
268
268
|
render() {
|
|
269
269
|
const mode = ionicGlobal.getIonMode(this);
|
|
270
|
-
return (index.h(index.Host, { key: '
|
|
270
|
+
return (index.h(index.Host, { key: 'de2a969ed0dda880bc560a325848b28d0287fdb9', role: "group", class: {
|
|
271
271
|
[mode]: true,
|
|
272
272
|
// Used internally for styling
|
|
273
273
|
[`item-group-${mode}`]: true,
|
|
@@ -337,13 +337,13 @@ const Label = class {
|
|
|
337
337
|
render() {
|
|
338
338
|
const position = this.position;
|
|
339
339
|
const mode = ionicGlobal.getIonMode(this);
|
|
340
|
-
return (index.h(index.Host, { key: '
|
|
340
|
+
return (index.h(index.Host, { key: '4da84c95351a74b547f8224ecfa66924d21398c5', class: theme.createColorClasses(this.color, {
|
|
341
341
|
[mode]: true,
|
|
342
342
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
343
343
|
[`label-${position}`]: position !== undefined,
|
|
344
344
|
[`label-no-animate`]: this.noAnimate,
|
|
345
345
|
'label-rtl': document.dir === 'rtl',
|
|
346
|
-
}) }, index.h("slot", { key: '
|
|
346
|
+
}) }, index.h("slot", { key: 'ea158ebb620275e5492965234d0ab925d391f919' })));
|
|
347
347
|
}
|
|
348
348
|
get el() { return index.getElement(this); }
|
|
349
349
|
static get watchers() { return {
|
|
@@ -415,10 +415,10 @@ const ListHeader = class {
|
|
|
415
415
|
render() {
|
|
416
416
|
const { lines } = this;
|
|
417
417
|
const mode = ionicGlobal.getIonMode(this);
|
|
418
|
-
return (index.h(index.Host, { key: '
|
|
418
|
+
return (index.h(index.Host, { key: '95ce2135e2b1ad4d7d6020b0fb9bc6e02b3c0851', class: theme.createColorClasses(this.color, {
|
|
419
419
|
[mode]: true,
|
|
420
420
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
421
|
-
}) }, index.h("div", { key: '
|
|
421
|
+
}) }, index.h("div", { key: '3065b0a094bc31a90518898a5126a813c8a33816', class: "list-header-inner" }, index.h("slot", { key: 'fe15c87d7867f3e5d8185645c49c0228496697b8' }))));
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
424
|
ListHeader.style = {
|
|
@@ -439,9 +439,9 @@ const Note = class {
|
|
|
439
439
|
}
|
|
440
440
|
render() {
|
|
441
441
|
const mode = ionicGlobal.getIonMode(this);
|
|
442
|
-
return (index.h(index.Host, { key: '
|
|
442
|
+
return (index.h(index.Host, { key: '3c3d9b2aa805c0bc1fdc6270a2bbf4dcc1b96c5b', class: theme.createColorClasses(this.color, {
|
|
443
443
|
[mode]: true,
|
|
444
|
-
}) }, index.h("slot", { key: '
|
|
444
|
+
}) }, index.h("slot", { key: '39e34682009fcb705ecafe51825162734bdf14d3' })));
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
Note.style = {
|
|
@@ -474,11 +474,11 @@ const SkeletonText = class {
|
|
|
474
474
|
const animated = this.animated && ionicGlobal.config.getBoolean('animated', true);
|
|
475
475
|
const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
|
|
476
476
|
const mode = ionicGlobal.getIonMode(this);
|
|
477
|
-
return (index.h(index.Host, { key: '
|
|
477
|
+
return (index.h(index.Host, { key: 'c193f9a8e8efab5139544f047bdae4b6d421aa86', class: {
|
|
478
478
|
[mode]: true,
|
|
479
479
|
'skeleton-text-animated': animated,
|
|
480
480
|
'in-media': inMedia,
|
|
481
|
-
} }, index.h("span", { key: '
|
|
481
|
+
} }, index.h("span", { key: 'e15db679bd3c359b4df5123efd2f92e5b380fde3' }, "\u00A0")));
|
|
482
482
|
}
|
|
483
483
|
get el() { return index.getElement(this); }
|
|
484
484
|
};
|
|
@@ -265,9 +265,9 @@ const Loading = class {
|
|
|
265
265
|
* Otherwise, don't set aria-labelledby.
|
|
266
266
|
*/
|
|
267
267
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
268
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
268
|
+
return (index.h(index.Host, Object.assign({ key: 'd6066c8b56b1fe4b597a243a7dab191ef0d21286', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
269
269
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
270
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '
|
|
270
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '2431eda00a2a3f510f5dfc39b7c7d47c056dfa3d', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'cf210aaf5e754e4eccdb49cf7ead4647b3f9b2d1', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: 'fa9375143d391656d70e181d25b952c77c2fc6ec', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: '8e4a4ed994f7f62df86b03696ac95162df41f52d', class: "loading-spinner" }, index.h("ion-spinner", { key: 'e5b323c272d365853ba92bd211e390b4fd4751d2', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: 'cae35ec8c34800477bff3ebcec8010e632158233', tabindex: "0", "aria-hidden": "true" })));
|
|
271
271
|
}
|
|
272
272
|
get el() { return index.getElement(this); }
|
|
273
273
|
static get watchers() { return {
|