@ionic/core 7.5.8-dev.11701806358.1ca1b519 → 7.5.8-dev.11701894917.1c1465bd
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/data.js +1 -1
- package/components/ion-datetime.js +30 -39
- package/components/ion-picker-column-internal.d.ts +11 -0
- package/components/ion-picker-column-internal.js +9 -0
- package/components/ion-picker-column.js +2 -2
- package/components/{ion-picker-legacy.d.ts → ion-picker-internal.d.ts} +4 -4
- package/components/ion-picker-internal.js +9 -0
- package/components/ion-picker.js +309 -1
- package/components/overlays.js +3 -6
- package/components/picker-column-internal.js +390 -0
- package/components/picker-column.js +317 -363
- package/components/{picker.js → picker-internal.js} +16 -16
- package/dist/cjs/{data-e7526b58.js → data-36b9094e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +35 -29
- package/dist/cjs/ion-loading.cjs.entry.js +1 -1
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-modal.cjs.entry.js +1 -1
- package/dist/cjs/{ion-picker-column.cjs.entry.js → ion-picker-column-internal.cjs.entry.js} +72 -105
- package/dist/cjs/{ion-picker.cjs.entry.js → ion-picker-internal.cjs.entry.js} +13 -13
- package/dist/cjs/ion-popover.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-toast.cjs.entry.js +1 -1
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-e8e05b0e.js → overlays-2c6b1072.js} +3 -6
- package/dist/collection/collection-manifest.json +6 -7
- package/dist/collection/components/datetime/datetime.ios.css +13 -0
- package/dist/collection/components/datetime/datetime.js +16 -19
- package/dist/collection/components/datetime/datetime.md.css +13 -0
- package/dist/collection/components/datetime/test/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +4 -4
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +6 -6
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +41 -43
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +12 -15
- package/dist/collection/components/datetime/utils/data.js +1 -1
- package/dist/collection/components/picker/picker.ios.css +205 -100
- package/dist/collection/components/picker/picker.js +743 -461
- package/dist/collection/components/picker/picker.md.css +194 -98
- package/dist/collection/components/picker/test/basic/picker.e2e.js +13 -99
- package/dist/collection/components/{picker-legacy → picker}/test/is-open/picker.e2e.js +4 -4
- package/dist/collection/components/{picker-legacy → picker}/test/picker-id.spec.js +5 -5
- package/dist/collection/components/{picker-legacy → picker}/test/trigger/picker.e2e.js +1 -1
- package/dist/collection/components/picker-column/picker-column.ios.css +160 -120
- package/dist/collection/components/picker-column/picker-column.js +329 -514
- package/dist/collection/components/picker-column/picker-column.md.css +107 -134
- package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column-aria.spec.js +3 -3
- package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column-dynamic.spec.js +2 -2
- package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column.spec.js +2 -2
- package/dist/collection/components/{picker-legacy-column → picker-column}/test/standalone/picker-column.e2e.js +3 -3
- package/dist/collection/components/{picker-column-option/picker-column-option.md.css → picker-column-internal/picker-column-internal.ios.css} +53 -6
- package/dist/collection/components/picker-column-internal/picker-column-internal.js +565 -0
- package/dist/collection/components/{picker-legacy-column/picker-column.md.css → picker-column-internal/picker-column-internal.md.css} +63 -113
- package/dist/collection/components/{picker-column/test/basic/picker-column.e2e.js → picker-column-internal/test/basic/picker-column-internal.e2e.js} +8 -8
- package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +162 -0
- package/dist/collection/components/{picker-legacy/picker.md.css → picker-internal/picker-internal.ios.css} +100 -192
- package/dist/collection/components/picker-internal/picker-internal.js +544 -0
- package/dist/collection/components/{picker-legacy-column/picker-column.ios.css → picker-internal/picker-internal.md.css} +101 -98
- package/dist/collection/components/{picker/test/a11y/picker.e2e.js → picker-internal/test/a11y/picker-internal.e2e.js} +2 -2
- package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +118 -0
- package/dist/collection/components/{picker/test/keyboard-entry/picker.e2e.js → picker-internal/test/keyboard-entry/picker-internal.e2e.js} +22 -23
- package/dist/collection/utils/overlays.js +3 -6
- package/dist/docs.json +23 -487
- package/dist/esm/{data-4b9508c9.js → data-f5c75b4e.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +1 -1
- package/dist/esm/ion-alert.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +34 -28
- package/dist/esm/ion-loading.entry.js +1 -1
- package/dist/esm/ion-menu_3.entry.js +1 -1
- package/dist/esm/ion-modal.entry.js +1 -1
- package/dist/esm/{ion-picker-column.entry.js → ion-picker-column-internal.entry.js} +72 -105
- package/dist/esm/{ion-picker.entry.js → ion-picker-internal.entry.js} +13 -13
- package/dist/esm/ion-popover.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +1 -1
- package/dist/esm/ion-toast.entry.js +1 -1
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-fbc5cab5.js → overlays-d23ea6e1.js} +3 -6
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.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-picker-column-internal.entry.js +4 -0
- package/dist/esm-es5/ion-picker-internal.entry.js +4 -0
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/overlays-d23ea6e1.js +4 -0
- package/dist/html.html-data.json +1 -152
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-846ee227.entry.js → p-1e57bd24.entry.js} +1 -1
- package/dist/ionic/{p-26798a7b.system.entry.js → p-1f620cd4.system.entry.js} +1 -1
- package/dist/ionic/{p-5d42b6b4.entry.js → p-27ea6f4e.entry.js} +1 -1
- package/dist/ionic/{p-6b7c55cd.entry.js → p-2dc43d20.entry.js} +1 -1
- package/dist/ionic/{p-4a36430f.system.entry.js → p-2f2293da.system.entry.js} +1 -1
- package/dist/ionic/{p-21c3515a.entry.js → p-2f300cca.entry.js} +1 -1
- package/dist/ionic/{p-8017aad2.system.entry.js → p-39a335b6.system.entry.js} +1 -1
- package/dist/ionic/{p-4a081ea9.entry.js → p-3b568d18.entry.js} +1 -1
- package/dist/ionic/{p-c18de88a.system.entry.js → p-3e3d06a6.system.entry.js} +1 -1
- package/dist/ionic/{p-96dbbac1.system.entry.js → p-4df97e3c.system.entry.js} +1 -1
- package/dist/ionic/p-60502e3f.system.entry.js +4 -0
- package/dist/ionic/{p-563c41f0.system.entry.js → p-60b386c9.system.entry.js} +1 -1
- package/dist/ionic/p-67da080d.entry.js +4 -0
- package/dist/ionic/p-73ea8f82.system.entry.js +4 -0
- package/dist/ionic/p-80fa068e.entry.js +4 -0
- package/dist/ionic/{p-a8baa23e.entry.js → p-8780cc2a.entry.js} +1 -1
- package/dist/ionic/{p-f910cc73.system.entry.js → p-9eec42cc.system.entry.js} +1 -1
- package/dist/ionic/p-ab11130c.system.js +4 -0
- package/dist/ionic/p-af16fe62.entry.js +4 -0
- package/dist/ionic/{p-73aa7604.entry.js → p-af19a573.entry.js} +1 -1
- package/dist/ionic/p-c14f8ac8.js +4 -0
- package/dist/ionic/p-cce9f61a.system.entry.js +4 -0
- package/dist/ionic/{p-b133e9b4.entry.js → p-ddb30596.entry.js} +1 -1
- package/dist/ionic/{p-27bcbbc7.system.entry.js → p-e1e5afe1.system.entry.js} +1 -1
- package/dist/ionic/p-e3584231.system.js +1 -1
- package/dist/ionic/{p-fbf3a689.system.entry.js → p-e3ad9607.system.entry.js} +1 -1
- package/dist/ionic/{p-73190c5f.entry.js → p-f78efbd1.entry.js} +1 -1
- package/dist/ionic/{p-54dfc9b5.system.js → p-fff7a57e.system.js} +1 -1
- package/dist/types/components/datetime/utils/data.d.ts +2 -2
- package/dist/types/components/picker/picker.d.ts +131 -74
- package/dist/types/components/picker-column/picker-column.d.ts +39 -105
- package/dist/types/components/picker-column-internal/picker-column-internal.d.ts +102 -0
- package/dist/types/components/picker-internal/picker-internal-interfaces.d.ts +8 -0
- package/dist/types/components/picker-internal/picker-internal.d.ts +102 -0
- package/dist/types/components.d.ts +122 -163
- package/dist/types/interface.d.ts +1 -1
- package/dist/types/utils/config.d.ts +2 -2
- package/dist/types/utils/overlays.d.ts +2 -5
- package/hydrate/index.js +1151 -1287
- package/package.json +1 -1
- package/components/ion-picker-column-option.d.ts +0 -11
- package/components/ion-picker-column-option.js +0 -9
- package/components/ion-picker-legacy-column.d.ts +0 -11
- package/components/ion-picker-legacy-column.js +0 -9
- package/components/ion-picker-legacy.js +0 -309
- package/components/picker-column-option.js +0 -122
- package/components/picker-column2.js +0 -379
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +0 -104
- package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -113
- package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -87
- package/dist/collection/components/picker-column-option/picker-column-option.js +0 -173
- package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
- package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
- package/dist/collection/components/picker-legacy/picker.ios.css +0 -367
- package/dist/collection/components/picker-legacy/picker.js +0 -817
- package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
- package/dist/collection/components/picker-legacy-column/picker-column.js +0 -419
- package/dist/esm/ion-picker-column-option.entry.js +0 -100
- package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column.entry.js +0 -4
- package/dist/esm-es5/ion-picker.entry.js +0 -4
- package/dist/esm-es5/overlays-fbc5cab5.js +0 -4
- package/dist/ionic/p-23672c82.system.entry.js +0 -4
- package/dist/ionic/p-8fa6583d.system.js +0 -4
- package/dist/ionic/p-9282b16f.entry.js +0 -4
- package/dist/ionic/p-9ba90516.system.entry.js +0 -4
- package/dist/ionic/p-afcf4620.entry.js +0 -4
- package/dist/ionic/p-c2910c78.entry.js +0 -4
- package/dist/ionic/p-c8f0a036.entry.js +0 -4
- package/dist/ionic/p-ca8938f4.js +0 -4
- package/dist/ionic/p-ca9d1792.system.entry.js +0 -4
- package/dist/ionic/p-ffd5dba4.system.entry.js +0 -4
- package/dist/types/components/picker/picker-interfaces.d.ts +0 -8
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -66
- package/dist/types/components/picker-legacy/picker.d.ts +0 -158
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
- /package/dist/collection/components/{picker-legacy → picker}/animations/ios.enter.js +0 -0
- /package/dist/collection/components/{picker-legacy → picker}/animations/ios.leave.js +0 -0
- /package/dist/collection/components/picker/{picker-interfaces.js → picker-interface.js} +0 -0
- /package/dist/collection/components/{picker-legacy-column → picker-column}/test/test.utils.js +0 -0
- /package/dist/collection/components/{picker-column/picker-column-interfaces.js → picker-column-internal/picker-column-internal-interfaces.js} +0 -0
- /package/dist/collection/components/{picker-legacy/picker-interface.js → picker-internal/picker-internal-interfaces.js} +0 -0
- /package/dist/esm-es5/{data-4b9508c9.js → data-f5c75b4e.js} +0 -0
- /package/dist/ionic/{p-368f5215.js → p-2aea8b1e.js} +0 -0
- /package/dist/ionic/{p-f58981c2.system.js → p-82e3d633.system.js} +0 -0
- /package/dist/types/components/{picker-legacy → picker}/animations/ios.enter.d.ts +0 -0
- /package/dist/types/components/{picker-legacy → picker}/animations/ios.leave.d.ts +0 -0
- /package/dist/types/components/{picker-legacy → picker}/picker-interface.d.ts +0 -0
- /package/dist/types/components/{picker-legacy-column → picker-column}/test/test.utils.d.ts +0 -0
- /package/dist/types/components/{picker-column/picker-column-interfaces.d.ts → picker-column-internal/picker-column-internal-interfaces.d.ts} +0 -0
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, d as createEvent, h, H as Host, f as getElement } from './index-08d686eb.js';
|
|
5
|
-
import { d as doc } from './index-7a14ecec.js';
|
|
6
5
|
import { r as raf, g as getElementRoot } from './helpers-ae653409.js';
|
|
7
6
|
import { a as hapticSelectionStart, b as hapticSelectionChanged, h as hapticSelectionEnd } from './haptic-152c4172.js';
|
|
8
7
|
import { a as isPlatform, b as getIonMode } from './ionic-global-c0cda98e.js';
|
|
9
8
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
10
9
|
import './capacitor-b0e5fe83.js';
|
|
10
|
+
import './index-7a14ecec.js';
|
|
11
11
|
|
|
12
|
-
const
|
|
12
|
+
const pickerColumnInternalIosCss = ":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item[disabled]{cursor:default}:host .picker-item-empty,:host(:not([disabled])) .picker-item[disabled]{scroll-snap-align:none}:host([disabled]){overflow-y:hidden}:host .picker-item[disabled]{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";
|
|
13
13
|
|
|
14
|
-
const
|
|
14
|
+
const pickerColumnInternalMdCss = ":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item[disabled]{cursor:default}:host .picker-item-empty,:host(:not([disabled])) .picker-item[disabled]{scroll-snap-align:none}:host([disabled]){overflow-y:hidden}:host .picker-item[disabled]{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}";
|
|
15
15
|
|
|
16
|
-
const
|
|
16
|
+
const PickerColumnInternal = class {
|
|
17
17
|
constructor(hostRef) {
|
|
18
18
|
registerInstance(this, hostRef);
|
|
19
19
|
this.ionChange = createEvent(this, "ionChange", 7);
|
|
@@ -21,11 +21,11 @@ const PickerColumn = class {
|
|
|
21
21
|
this.isColumnVisible = false;
|
|
22
22
|
this.canExitInputMode = true;
|
|
23
23
|
this.centerPickerItemInView = (target, smooth = true, canExitInputMode = true) => {
|
|
24
|
-
const {
|
|
25
|
-
if (isColumnVisible
|
|
24
|
+
const { el, isColumnVisible } = this;
|
|
25
|
+
if (isColumnVisible) {
|
|
26
26
|
// (Vertical offset from parent) - (three empty picker rows) + (half the height of the target to ensure the scroll triggers)
|
|
27
27
|
const top = target.offsetTop - 3 * target.clientHeight + target.clientHeight / 2;
|
|
28
|
-
if (
|
|
28
|
+
if (el.scrollTop !== top) {
|
|
29
29
|
/**
|
|
30
30
|
* Setting this flag prevents input
|
|
31
31
|
* mode from exiting in the picker column's
|
|
@@ -34,7 +34,7 @@ const PickerColumn = class {
|
|
|
34
34
|
* of these can cause a scroll to occur.
|
|
35
35
|
*/
|
|
36
36
|
this.canExitInputMode = canExitInputMode;
|
|
37
|
-
|
|
37
|
+
el.scroll({
|
|
38
38
|
top,
|
|
39
39
|
left: 0,
|
|
40
40
|
behavior: smooth ? 'smooth' : undefined,
|
|
@@ -103,13 +103,11 @@ const PickerColumn = class {
|
|
|
103
103
|
* be disabled on Android.
|
|
104
104
|
*/
|
|
105
105
|
const enableHaptics = isPlatform('ios');
|
|
106
|
-
const { el
|
|
106
|
+
const { el } = this;
|
|
107
107
|
let timeout;
|
|
108
108
|
let activeEl = this.activeItem;
|
|
109
109
|
const scrollCallback = () => {
|
|
110
110
|
raf(() => {
|
|
111
|
-
if (!scrollEl)
|
|
112
|
-
return;
|
|
113
111
|
if (timeout) {
|
|
114
112
|
clearTimeout(timeout);
|
|
115
113
|
timeout = undefined;
|
|
@@ -122,54 +120,21 @@ const PickerColumn = class {
|
|
|
122
120
|
* Select item in the center of the column
|
|
123
121
|
* which is the month/year that we want to select
|
|
124
122
|
*/
|
|
125
|
-
const bbox =
|
|
123
|
+
const bbox = el.getBoundingClientRect();
|
|
126
124
|
const centerX = bbox.x + bbox.width / 2;
|
|
127
125
|
const centerY = bbox.y + bbox.height / 2;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
* This means that if an ion-backdrop is overlaying the
|
|
131
|
-
* picker then the appropriate picker column option will
|
|
132
|
-
* not be selected. To account for this, we use elementsFromPoint
|
|
133
|
-
* and use an Array.find to find the appropriate column option
|
|
134
|
-
* at that point.
|
|
135
|
-
*
|
|
136
|
-
* Additionally, the picker column could be used in the
|
|
137
|
-
* Shadow DOM (i.e. in ion-datetime) so we need to make
|
|
138
|
-
* sure we are choosing the correct host otherwise
|
|
139
|
-
* the elements returns by elementsFromPoint will be
|
|
140
|
-
* retargeted. To account for this, we check to see
|
|
141
|
-
* if the picker column has a parent shadow root. If
|
|
142
|
-
* so, we use that shadow root when doing elementsFromPoint.
|
|
143
|
-
* Otherwise, we just use the document.
|
|
144
|
-
*/
|
|
145
|
-
const rootNode = el.getRootNode();
|
|
146
|
-
const hasParentShadow = rootNode instanceof ShadowRoot;
|
|
147
|
-
const referenceNode = hasParentShadow ? rootNode : doc;
|
|
148
|
-
/**
|
|
149
|
-
* If the reference node is undefined
|
|
150
|
-
* then it's likely that doc is undefined
|
|
151
|
-
* due to being in an SSR environment.
|
|
152
|
-
*/
|
|
153
|
-
if (referenceNode === undefined) {
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
const elementsAtPoint = referenceNode.elementsFromPoint(centerX, centerY);
|
|
157
|
-
/**
|
|
158
|
-
* elementsFromPoint can returns multiple elements
|
|
159
|
-
* so find the relevant picker column option if one exists.
|
|
160
|
-
*/
|
|
161
|
-
const newActiveElement = elementsAtPoint.find((el) => el.tagName === 'ION-PICKER-COLUMN-OPTION');
|
|
162
|
-
if (activeEl !== undefined) {
|
|
126
|
+
const activeElement = el.shadowRoot.elementFromPoint(centerX, centerY);
|
|
127
|
+
if (activeEl !== null) {
|
|
163
128
|
this.setPickerItemActiveState(activeEl, false);
|
|
164
129
|
}
|
|
165
|
-
if (
|
|
130
|
+
if (activeElement === null || activeElement.disabled) {
|
|
166
131
|
return;
|
|
167
132
|
}
|
|
168
133
|
/**
|
|
169
134
|
* If we are selecting a new value,
|
|
170
135
|
* we need to run haptics again.
|
|
171
136
|
*/
|
|
172
|
-
if (
|
|
137
|
+
if (activeElement !== activeEl) {
|
|
173
138
|
enableHaptics && hapticSelectionChanged();
|
|
174
139
|
if (this.canExitInputMode) {
|
|
175
140
|
/**
|
|
@@ -186,8 +151,8 @@ const PickerColumn = class {
|
|
|
186
151
|
this.exitInputMode();
|
|
187
152
|
}
|
|
188
153
|
}
|
|
189
|
-
activeEl =
|
|
190
|
-
this.setPickerItemActiveState(
|
|
154
|
+
activeEl = activeElement;
|
|
155
|
+
this.setPickerItemActiveState(activeElement, true);
|
|
191
156
|
timeout = setTimeout(() => {
|
|
192
157
|
this.isScrolling = false;
|
|
193
158
|
enableHaptics && hapticSelectionEnd();
|
|
@@ -209,7 +174,20 @@ const PickerColumn = class {
|
|
|
209
174
|
* case, we should exit input mode.
|
|
210
175
|
*/
|
|
211
176
|
this.canExitInputMode = true;
|
|
212
|
-
|
|
177
|
+
const dataIndex = activeElement.getAttribute('data-index');
|
|
178
|
+
/**
|
|
179
|
+
* If no value it is
|
|
180
|
+
* possible we hit one of the
|
|
181
|
+
* empty padding columns.
|
|
182
|
+
*/
|
|
183
|
+
if (dataIndex === null) {
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
const index = parseInt(dataIndex, 10);
|
|
187
|
+
const selectedItem = this.items[index];
|
|
188
|
+
if (selectedItem.value !== this.value) {
|
|
189
|
+
this.setValue(selectedItem.value);
|
|
190
|
+
}
|
|
213
191
|
}, 250);
|
|
214
192
|
});
|
|
215
193
|
};
|
|
@@ -218,11 +196,9 @@ const PickerColumn = class {
|
|
|
218
196
|
* does not fire when component is initially shown.
|
|
219
197
|
*/
|
|
220
198
|
raf(() => {
|
|
221
|
-
|
|
222
|
-
return;
|
|
223
|
-
scrollEl.addEventListener('scroll', scrollCallback);
|
|
199
|
+
el.addEventListener('scroll', scrollCallback);
|
|
224
200
|
this.destroyScrollListener = () => {
|
|
225
|
-
|
|
201
|
+
el.removeEventListener('scroll', scrollCallback);
|
|
226
202
|
};
|
|
227
203
|
});
|
|
228
204
|
};
|
|
@@ -299,25 +275,28 @@ const PickerColumn = class {
|
|
|
299
275
|
}
|
|
300
276
|
};
|
|
301
277
|
new IntersectionObserver(visibleCallback, { threshold: 0.001 }).observe(this.el);
|
|
302
|
-
const parentEl = (this.parentEl = this.el.closest('ion-picker'));
|
|
278
|
+
const parentEl = (this.parentEl = this.el.closest('ion-picker-internal'));
|
|
303
279
|
if (parentEl !== null) {
|
|
304
280
|
// TODO(FW-2832): type
|
|
305
281
|
parentEl.addEventListener('ionInputModeChange', (ev) => this.inputModeChange(ev));
|
|
306
282
|
}
|
|
307
283
|
}
|
|
308
284
|
componentDidRender() {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
285
|
+
var _a;
|
|
286
|
+
const { activeItem, items, isColumnVisible, value } = this;
|
|
287
|
+
if (isColumnVisible) {
|
|
288
|
+
if (activeItem) {
|
|
289
|
+
this.scrollActiveItemIntoView();
|
|
290
|
+
}
|
|
291
|
+
else if (((_a = items[0]) === null || _a === void 0 ? void 0 : _a.value) !== value) {
|
|
292
|
+
/**
|
|
293
|
+
* If the picker column does not have an active item and the current value
|
|
294
|
+
* does not match the first item in the picker column, that means
|
|
295
|
+
* the value is out of bounds. In this case, we assign the value to the
|
|
296
|
+
* first item to match the scroll position of the column.
|
|
297
|
+
*
|
|
298
|
+
*/
|
|
299
|
+
this.setValue(items[0].value);
|
|
321
300
|
}
|
|
322
301
|
}
|
|
323
302
|
}
|
|
@@ -336,64 +315,52 @@ const PickerColumn = class {
|
|
|
336
315
|
* @internal
|
|
337
316
|
*/
|
|
338
317
|
async setValue(value) {
|
|
339
|
-
|
|
340
|
-
return;
|
|
341
|
-
}
|
|
318
|
+
const { items } = this;
|
|
342
319
|
this.value = value;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
* Sets focus on the scrollable container within the picker column.
|
|
347
|
-
* Use this method instead of the global `pickerColumn.focus()`.
|
|
348
|
-
*/
|
|
349
|
-
async setFocus() {
|
|
350
|
-
if (this.scrollEl) {
|
|
351
|
-
this.scrollEl.focus();
|
|
320
|
+
const findItem = items.find((item) => item.value === value && item.disabled !== true);
|
|
321
|
+
if (findItem) {
|
|
322
|
+
this.ionChange.emit(findItem);
|
|
352
323
|
}
|
|
353
324
|
}
|
|
354
325
|
get activeItem() {
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
* If the whole picker column is disabled, the current value should appear active
|
|
360
|
-
* If the current value item is specifically disabled, it should not appear active
|
|
361
|
-
*/
|
|
362
|
-
if (!this.disabled && option.disabled) {
|
|
363
|
-
return false;
|
|
364
|
-
}
|
|
365
|
-
return option.value === value;
|
|
366
|
-
});
|
|
326
|
+
// If the whole picker column is disabled, the current value should appear active
|
|
327
|
+
// If the current value item is specifically disabled, it should not appear active
|
|
328
|
+
const selector = `.picker-item[data-value="${this.value}"]${this.disabled ? '' : ':not([disabled])'}`;
|
|
329
|
+
return getElementRoot(this.el).querySelector(selector);
|
|
367
330
|
}
|
|
368
331
|
render() {
|
|
369
|
-
const { color, disabled: pickerDisabled, isActive, numericInput } = this;
|
|
332
|
+
const { items, color, disabled: pickerDisabled, isActive, numericInput } = this;
|
|
370
333
|
const mode = getIonMode(this);
|
|
371
334
|
/**
|
|
372
335
|
* exportparts is needed so ion-datetime can expose the parts
|
|
373
336
|
* from two layers of shadow nesting. If this causes problems,
|
|
374
337
|
* the attribute can be moved to datetime.tsx and set on every
|
|
375
|
-
* instance of ion-picker-column there instead.
|
|
376
|
-
* TODO FW-5580 remove exportparts
|
|
338
|
+
* instance of ion-picker-column-internal there instead.
|
|
377
339
|
*/
|
|
378
|
-
return (h(Host, { exportparts: `${PICKER_ITEM_PART}, ${PICKER_ITEM_ACTIVE_PART}`, disabled: pickerDisabled, class: createColorClasses(color, {
|
|
340
|
+
return (h(Host, { exportparts: `${PICKER_ITEM_PART}, ${PICKER_ITEM_ACTIVE_PART}`, disabled: pickerDisabled, tabindex: pickerDisabled ? null : 0, class: createColorClasses(color, {
|
|
379
341
|
[mode]: true,
|
|
380
342
|
['picker-column-active']: isActive,
|
|
381
343
|
['picker-column-numeric-input']: numericInput,
|
|
382
|
-
}) }, h("
|
|
383
|
-
|
|
384
|
-
|
|
344
|
+
}) }, h("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), items.map((item, index) => {
|
|
345
|
+
const isItemDisabled = pickerDisabled || item.disabled || false;
|
|
346
|
+
return (h("button", { tabindex: "-1", class: {
|
|
347
|
+
'picker-item': true,
|
|
348
|
+
}, "data-value": item.value, "data-index": index, onClick: (ev) => {
|
|
349
|
+
this.centerPickerItemInView(ev.target, true);
|
|
350
|
+
}, disabled: isItemDisabled, part: PICKER_ITEM_PART }, item.text));
|
|
351
|
+
}), h("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0")));
|
|
385
352
|
}
|
|
386
353
|
get el() { return getElement(this); }
|
|
387
354
|
static get watchers() { return {
|
|
388
355
|
"value": ["valueChange"]
|
|
389
356
|
}; }
|
|
390
357
|
};
|
|
391
|
-
const PICKER_ITEM_ACTIVE_CLASS = '
|
|
358
|
+
const PICKER_ITEM_ACTIVE_CLASS = 'picker-item-active';
|
|
392
359
|
const PICKER_ITEM_PART = 'wheel-item';
|
|
393
360
|
const PICKER_ITEM_ACTIVE_PART = 'active';
|
|
394
|
-
|
|
395
|
-
ios:
|
|
396
|
-
md:
|
|
361
|
+
PickerColumnInternal.style = {
|
|
362
|
+
ios: pickerColumnInternalIosCss,
|
|
363
|
+
md: pickerColumnInternalMdCss
|
|
397
364
|
};
|
|
398
365
|
|
|
399
|
-
export {
|
|
366
|
+
export { PickerColumnInternal as ion_picker_column_internal };
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { r as registerInstance, d as createEvent, h, H as Host, f as getElement } from './index-08d686eb.js';
|
|
5
5
|
import { g as getElementRoot } from './helpers-ae653409.js';
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const pickerInternalIosCss = ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-before{left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-after{left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--wheel-highlight-background, var(--ion-color-step-150, #eeeeef))}";
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const pickerInternalMdCss = ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-before{left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-after{left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}";
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const PickerInternal = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
registerInstance(this, hostRef);
|
|
14
14
|
this.ionInputModeChange = createEvent(this, "ionInputModeChange", 7);
|
|
@@ -40,7 +40,7 @@ const Picker = class {
|
|
|
40
40
|
this.onFocusOut = (ev) => {
|
|
41
41
|
// TODO(FW-2832): type
|
|
42
42
|
const { relatedTarget } = ev;
|
|
43
|
-
if (!relatedTarget || (relatedTarget.tagName !== 'ION-PICKER-COLUMN' && relatedTarget !== this.inputEl)) {
|
|
43
|
+
if (!relatedTarget || (relatedTarget.tagName !== 'ION-PICKER-COLUMN-INTERNAL' && relatedTarget !== this.inputEl)) {
|
|
44
44
|
this.exitInputMode();
|
|
45
45
|
}
|
|
46
46
|
};
|
|
@@ -58,7 +58,7 @@ const Picker = class {
|
|
|
58
58
|
* make sure that this function only ever runs when
|
|
59
59
|
* focusing a picker column.
|
|
60
60
|
*/
|
|
61
|
-
if (target.tagName !== 'ION-PICKER-COLUMN') {
|
|
61
|
+
if (target.tagName !== 'ION-PICKER-COLUMN-INTERNAL') {
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
@@ -125,7 +125,7 @@ const Picker = class {
|
|
|
125
125
|
* since we just tapped the highlight and
|
|
126
126
|
* not a column.
|
|
127
127
|
*/
|
|
128
|
-
if (ev.target.tagName === 'ION-PICKER-COLUMN') {
|
|
128
|
+
if (ev.target.tagName === 'ION-PICKER-COLUMN-INTERNAL') {
|
|
129
129
|
/**
|
|
130
130
|
* If user taps 2 different columns
|
|
131
131
|
* then we should just switch to input mode
|
|
@@ -159,7 +159,7 @@ const Picker = class {
|
|
|
159
159
|
* If there is only 1 numeric input column
|
|
160
160
|
* then we should skip multi column input.
|
|
161
161
|
*/
|
|
162
|
-
const columns = el.querySelectorAll('ion-picker-column.picker-column-numeric-input');
|
|
162
|
+
const columns = el.querySelectorAll('ion-picker-column-internal.picker-column-numeric-input');
|
|
163
163
|
const columnEl = columns.length === 1 ? ev.target : undefined;
|
|
164
164
|
this.actionOnClick = () => {
|
|
165
165
|
this.enterInputMode(columnEl);
|
|
@@ -193,7 +193,7 @@ const Picker = class {
|
|
|
193
193
|
* Only active input mode if there is at
|
|
194
194
|
* least one column that accepts numeric input.
|
|
195
195
|
*/
|
|
196
|
-
const hasInputColumn = el.querySelector('ion-picker-column.picker-column-numeric-input');
|
|
196
|
+
const hasInputColumn = el.querySelector('ion-picker-column-internal.picker-column-numeric-input');
|
|
197
197
|
if (!hasInputColumn) {
|
|
198
198
|
return;
|
|
199
199
|
}
|
|
@@ -322,7 +322,7 @@ const Picker = class {
|
|
|
322
322
|
if (!inputEl) {
|
|
323
323
|
return;
|
|
324
324
|
}
|
|
325
|
-
const numericPickers = Array.from(el.querySelectorAll('ion-picker-column')).filter((col) => col.numericInput);
|
|
325
|
+
const numericPickers = Array.from(el.querySelectorAll('ion-picker-column-internal')).filter((col) => col.numericInput);
|
|
326
326
|
const firstColumn = numericPickers[0];
|
|
327
327
|
const lastColumn = numericPickers[1];
|
|
328
328
|
let value = inputEl.value;
|
|
@@ -474,9 +474,9 @@ const Picker = class {
|
|
|
474
474
|
}
|
|
475
475
|
get el() { return getElement(this); }
|
|
476
476
|
};
|
|
477
|
-
|
|
478
|
-
ios:
|
|
479
|
-
md:
|
|
477
|
+
PickerInternal.style = {
|
|
478
|
+
ios: pickerInternalIosCss,
|
|
479
|
+
md: pickerInternalMdCss
|
|
480
480
|
};
|
|
481
481
|
|
|
482
|
-
export {
|
|
482
|
+
export { PickerInternal as ion_picker_internal };
|
|
@@ -6,7 +6,7 @@ import { C as CoreDelegate, a as attachComponent, d as detachComponent } from '.
|
|
|
6
6
|
import { r as raf, g as getElementRoot, a as addEventListener, m as hasLazyBuild } from './helpers-ae653409.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
8
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
9
|
-
import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, o as focusFirstDescendant, g as dismiss, h as eventMethod } from './overlays-
|
|
9
|
+
import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, o as focusFirstDescendant, g as dismiss, h as eventMethod } from './overlays-d23ea6e1.js';
|
|
10
10
|
import { b as getIonMode, a as isPlatform } from './ionic-global-c0cda98e.js';
|
|
11
11
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
12
12
|
import { e as deepReady, w as waitForMount } from './index-d8817fb0.js';
|
|
@@ -6,7 +6,7 @@ import { c as createLegacyFormController } from './form-controller-548aa79c.js';
|
|
|
6
6
|
import { c as createNotchController } from './notch-controller-d09b6aca.js';
|
|
7
7
|
import { k as inheritAttributes, f as focusElement, h as findItemLabel, d as renderHiddenInput, e as getAriaLabel } from './helpers-ae653409.js';
|
|
8
8
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
9
|
-
import { c as popoverController, b as actionSheetController, a as alertController, s as safeCall } from './overlays-
|
|
9
|
+
import { c as popoverController, b as actionSheetController, a as alertController, s as safeCall } from './overlays-d23ea6e1.js';
|
|
10
10
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
11
11
|
import { h as hostContext, c as createColorClasses, g as getClassMap } from './theme-01f3f29c.js';
|
|
12
12
|
import { w as watchForOptions } from './watch-options-c2911ace.js';
|
|
@@ -6,7 +6,7 @@ import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './conf
|
|
|
6
6
|
import { g as getElementRoot, r as raf } from './helpers-ae653409.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
8
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
9
|
-
import { d as createDelegateController, e as createTriggerController, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-
|
|
9
|
+
import { d as createDelegateController, e as createTriggerController, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-d23ea6e1.js';
|
|
10
10
|
import { g as getClassMap, c as createColorClasses } from './theme-01f3f29c.js';
|
|
11
11
|
import { c as config, b as getIonMode } from './ionic-global-c0cda98e.js';
|
|
12
12
|
import { c as createAnimation } from './animation-fb0e0f6f.js';
|