@ionic/core 7.3.2-dev.11692803611.15c1bc87 → 7.3.2-dev.11693254222.1822966d
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 +16 -2
- package/components/framework-delegate.js +5 -2
- package/components/popover.js +1 -1
- package/dist/cjs/{data-2a87e11f.js → data-967b9c15.js} +16 -2
- package/dist/cjs/{framework-delegate-e8174951.js → framework-delegate-91be3b84.js} +5 -2
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/ion-alert.cjs.entry.js +2 -2
- package/dist/cjs/ion-app_8.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 +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +3 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/{overlays-0ea06fcb.js → overlays-cf7fa4cf.js} +1 -1
- package/dist/collection/components/datetime/utils/parse.js +16 -2
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/utils/framework-delegate.js +5 -2
- package/dist/docs.json +1 -1
- package/dist/esm/{data-834f9822.js → data-4b448e3a.js} +16 -2
- package/dist/esm/{framework-delegate-2b76c681.js → framework-delegate-43758c88.js} +5 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +2 -2
- package/dist/esm/ion-alert.entry.js +2 -2
- package/dist/esm/ion-app_8.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +2 -2
- package/dist/esm/ion-modal.entry.js +2 -2
- package/dist/esm/ion-nav_2.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/{overlays-c3387ec0.js → overlays-236d01c6.js} +1 -1
- package/dist/esm-es5/data-4b448e3a.js +4 -0
- package/dist/esm-es5/framework-delegate-43758c88.js +4 -0
- 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-app_8.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-nav_2.entry.js +1 -1
- 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-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/{overlays-c3387ec0.js → overlays-236d01c6.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-8fa43732.system.entry.js → p-04515b10.system.entry.js} +1 -1
- package/dist/ionic/{p-ccea9adc.system.entry.js → p-13df6e84.system.entry.js} +1 -1
- package/dist/ionic/{p-74723f41.entry.js → p-2bdc6097.entry.js} +1 -1
- package/dist/ionic/{p-06f1f560.system.entry.js → p-2d37d114.system.entry.js} +1 -1
- package/dist/ionic/{p-8d9475b5.system.js → p-33dc95e4.system.js} +1 -1
- package/dist/ionic/{p-2da3e015.system.entry.js → p-3c14c5b9.system.entry.js} +1 -1
- package/dist/ionic/{p-20087c90.entry.js → p-4852bb39.entry.js} +1 -1
- package/dist/ionic/{p-d8538837.entry.js → p-4adb3257.entry.js} +1 -1
- package/dist/ionic/{p-74bd26b8.system.entry.js → p-50e474b3.system.entry.js} +1 -1
- package/dist/ionic/{p-229df0d8.entry.js → p-5c0754cd.entry.js} +1 -1
- package/dist/ionic/{p-db46fc66.system.js → p-5f5d78da.system.js} +1 -1
- package/dist/ionic/p-601fd53c.js +4 -0
- package/dist/ionic/{p-423d5a4d.entry.js → p-647c433f.entry.js} +1 -1
- package/dist/ionic/p-721933ff.system.js +1 -1
- package/dist/ionic/{p-61769039.entry.js → p-77465c7a.entry.js} +1 -1
- package/dist/ionic/{p-b22ee955.system.entry.js → p-870fee8d.system.entry.js} +1 -1
- package/dist/ionic/{p-9b3c3564.entry.js → p-8d1ef5d0.entry.js} +1 -1
- package/dist/ionic/{p-d5db0834.system.entry.js → p-ad5a562b.system.entry.js} +1 -1
- package/dist/ionic/{p-77913af5.entry.js → p-b1e8f045.entry.js} +1 -1
- package/dist/ionic/{p-65403c81.system.entry.js → p-b3cfc6e1.system.entry.js} +1 -1
- package/dist/ionic/{p-81b46714.system.js → p-c275a599.system.js} +1 -1
- package/dist/ionic/p-cc8910e7.system.js +4 -0
- package/dist/ionic/{p-737a8573.entry.js → p-d3602489.entry.js} +1 -1
- package/dist/ionic/{p-2bc49e5d.system.entry.js → p-e015fbd9.system.entry.js} +1 -1
- package/dist/ionic/{p-29b3e70a.entry.js → p-e30f020d.entry.js} +1 -1
- package/dist/ionic/{p-c0d1e5a1.entry.js → p-e484ae56.entry.js} +1 -1
- package/dist/ionic/{p-5c96dc4e.entry.js → p-ed290b4a.entry.js} +1 -1
- package/dist/ionic/{p-8074bdd7.system.entry.js → p-f1bf45b2.system.entry.js} +1 -1
- package/dist/ionic/p-f2743457.js +4 -0
- package/dist/ionic/{p-6b9bf14c.system.entry.js → p-f2c1459b.system.entry.js} +1 -1
- package/dist/ionic/{p-5ef91692.js → p-f4bbbc33.js} +1 -1
- package/dist/ionic/{p-2936ec7f.system.entry.js → p-f94cad00.system.entry.js} +1 -1
- package/dist/ionic/{p-958bde76.entry.js → p-fb16e75c.entry.js} +1 -1
- package/dist/ionic/{p-d1356034.system.entry.js → p-ff0f2ef4.system.entry.js} +1 -1
- package/dist/types/components/datetime/utils/parse.d.ts +2 -2
- package/hydrate/index.js +22 -5
- package/package.json +2 -2
- package/dist/esm-es5/data-834f9822.js +0 -4
- package/dist/esm-es5/framework-delegate-2b76c681.js +0 -4
- package/dist/ionic/p-7618d0c2.system.js +0 -4
- package/dist/ionic/p-a2d804ae.js +0 -4
- package/dist/ionic/p-b34c1ae1.js +0 -4
package/components/data.js
CHANGED
|
@@ -245,7 +245,14 @@ const parseAmPm = (hour) => {
|
|
|
245
245
|
* month, day, hour, and minute information.
|
|
246
246
|
*/
|
|
247
247
|
const parseMaxParts = (max, todayParts) => {
|
|
248
|
-
const
|
|
248
|
+
const result = parseDate(max);
|
|
249
|
+
/**
|
|
250
|
+
* If min was not a valid date then return undefined.
|
|
251
|
+
*/
|
|
252
|
+
if (result === undefined) {
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
const { month, day, year, hour, minute } = result;
|
|
249
256
|
/**
|
|
250
257
|
* When passing in `max` or `min`, developers
|
|
251
258
|
* can pass in any ISO-8601 string. This means
|
|
@@ -278,7 +285,14 @@ const parseMaxParts = (max, todayParts) => {
|
|
|
278
285
|
* month, day, hour, and minute information.
|
|
279
286
|
*/
|
|
280
287
|
const parseMinParts = (min, todayParts) => {
|
|
281
|
-
const
|
|
288
|
+
const result = parseDate(min);
|
|
289
|
+
/**
|
|
290
|
+
* If min was not a valid date then return undefined.
|
|
291
|
+
*/
|
|
292
|
+
if (result === undefined) {
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
const { month, day, year, hour, minute } = result;
|
|
282
296
|
/**
|
|
283
297
|
* When passing in `max` or `min`, developers
|
|
284
298
|
* can pass in any ISO-8601 string. This means
|
|
@@ -39,6 +39,7 @@ const CoreDelegate = () => {
|
|
|
39
39
|
const attachViewToDom = async (parentElement, userComponent, userComponentProps = {}, cssClasses = []) => {
|
|
40
40
|
var _a, _b;
|
|
41
41
|
BaseComponent = parentElement;
|
|
42
|
+
let ChildComponent;
|
|
42
43
|
/**
|
|
43
44
|
* If passing in a component via the `component` props
|
|
44
45
|
* we need to append it inside of our overlay component.
|
|
@@ -65,6 +66,7 @@ const CoreDelegate = () => {
|
|
|
65
66
|
* inside of the overlay component.
|
|
66
67
|
*/
|
|
67
68
|
BaseComponent.appendChild(el);
|
|
69
|
+
ChildComponent = el;
|
|
68
70
|
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
69
71
|
}
|
|
70
72
|
else if (BaseComponent.children.length > 0 &&
|
|
@@ -73,7 +75,7 @@ const CoreDelegate = () => {
|
|
|
73
75
|
* The delegate host wrapper el is only needed for modals and popovers
|
|
74
76
|
* because they allow the dev to provide custom content to the overlay.
|
|
75
77
|
*/
|
|
76
|
-
const root = BaseComponent.children[0];
|
|
78
|
+
const root = (ChildComponent = BaseComponent.children[0]);
|
|
77
79
|
if (!root.classList.contains('ion-delegate-host')) {
|
|
78
80
|
/**
|
|
79
81
|
* If the root element is not a delegate host, it means
|
|
@@ -88,6 +90,7 @@ const CoreDelegate = () => {
|
|
|
88
90
|
el.append(...BaseComponent.children);
|
|
89
91
|
// Append the new parent element to the original parent element.
|
|
90
92
|
BaseComponent.appendChild(el);
|
|
93
|
+
ChildComponent = el;
|
|
91
94
|
}
|
|
92
95
|
}
|
|
93
96
|
/**
|
|
@@ -103,7 +106,7 @@ const CoreDelegate = () => {
|
|
|
103
106
|
Reference = document.createComment('ionic teleport');
|
|
104
107
|
BaseComponent.parentNode.insertBefore(Reference, BaseComponent);
|
|
105
108
|
app.appendChild(BaseComponent);
|
|
106
|
-
return
|
|
109
|
+
return ChildComponent;
|
|
107
110
|
};
|
|
108
111
|
const removeViewFromDom = () => {
|
|
109
112
|
/**
|
package/components/popover.js
CHANGED
|
@@ -1173,12 +1173,12 @@ const Popover = /*@__PURE__*/ proxyCustomElement(class Popover extends HTMLEleme
|
|
|
1173
1173
|
}
|
|
1174
1174
|
const { el } = this;
|
|
1175
1175
|
const { inline, delegate } = this.getDelegate(true);
|
|
1176
|
+
this.ionMount.emit();
|
|
1176
1177
|
this.usersElement = await attachComponent(delegate, el, this.component, ['popover-viewport'], this.componentProps, inline);
|
|
1177
1178
|
if (!this.keyboardEvents) {
|
|
1178
1179
|
this.configureKeyboardInteraction();
|
|
1179
1180
|
}
|
|
1180
1181
|
this.configureDismissInteraction();
|
|
1181
|
-
this.ionMount.emit();
|
|
1182
1182
|
/**
|
|
1183
1183
|
* When using the lazy loaded build of Stencil, we need to wait
|
|
1184
1184
|
* for every Stencil component instance to be ready before presenting
|
|
@@ -247,7 +247,14 @@ const parseAmPm = (hour) => {
|
|
|
247
247
|
* month, day, hour, and minute information.
|
|
248
248
|
*/
|
|
249
249
|
const parseMaxParts = (max, todayParts) => {
|
|
250
|
-
const
|
|
250
|
+
const result = parseDate(max);
|
|
251
|
+
/**
|
|
252
|
+
* If min was not a valid date then return undefined.
|
|
253
|
+
*/
|
|
254
|
+
if (result === undefined) {
|
|
255
|
+
return;
|
|
256
|
+
}
|
|
257
|
+
const { month, day, year, hour, minute } = result;
|
|
251
258
|
/**
|
|
252
259
|
* When passing in `max` or `min`, developers
|
|
253
260
|
* can pass in any ISO-8601 string. This means
|
|
@@ -280,7 +287,14 @@ const parseMaxParts = (max, todayParts) => {
|
|
|
280
287
|
* month, day, hour, and minute information.
|
|
281
288
|
*/
|
|
282
289
|
const parseMinParts = (min, todayParts) => {
|
|
283
|
-
const
|
|
290
|
+
const result = parseDate(min);
|
|
291
|
+
/**
|
|
292
|
+
* If min was not a valid date then return undefined.
|
|
293
|
+
*/
|
|
294
|
+
if (result === undefined) {
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
const { month, day, year, hour, minute } = result;
|
|
284
298
|
/**
|
|
285
299
|
* When passing in `max` or `min`, developers
|
|
286
300
|
* can pass in any ISO-8601 string. This means
|
|
@@ -41,6 +41,7 @@ const CoreDelegate = () => {
|
|
|
41
41
|
const attachViewToDom = async (parentElement, userComponent, userComponentProps = {}, cssClasses = []) => {
|
|
42
42
|
var _a, _b;
|
|
43
43
|
BaseComponent = parentElement;
|
|
44
|
+
let ChildComponent;
|
|
44
45
|
/**
|
|
45
46
|
* If passing in a component via the `component` props
|
|
46
47
|
* we need to append it inside of our overlay component.
|
|
@@ -67,6 +68,7 @@ const CoreDelegate = () => {
|
|
|
67
68
|
* inside of the overlay component.
|
|
68
69
|
*/
|
|
69
70
|
BaseComponent.appendChild(el);
|
|
71
|
+
ChildComponent = el;
|
|
70
72
|
await new Promise((resolve) => helpers.componentOnReady(el, resolve));
|
|
71
73
|
}
|
|
72
74
|
else if (BaseComponent.children.length > 0 &&
|
|
@@ -75,7 +77,7 @@ const CoreDelegate = () => {
|
|
|
75
77
|
* The delegate host wrapper el is only needed for modals and popovers
|
|
76
78
|
* because they allow the dev to provide custom content to the overlay.
|
|
77
79
|
*/
|
|
78
|
-
const root = BaseComponent.children[0];
|
|
80
|
+
const root = (ChildComponent = BaseComponent.children[0]);
|
|
79
81
|
if (!root.classList.contains('ion-delegate-host')) {
|
|
80
82
|
/**
|
|
81
83
|
* If the root element is not a delegate host, it means
|
|
@@ -90,6 +92,7 @@ const CoreDelegate = () => {
|
|
|
90
92
|
el.append(...BaseComponent.children);
|
|
91
93
|
// Append the new parent element to the original parent element.
|
|
92
94
|
BaseComponent.appendChild(el);
|
|
95
|
+
ChildComponent = el;
|
|
93
96
|
}
|
|
94
97
|
}
|
|
95
98
|
/**
|
|
@@ -105,7 +108,7 @@ const CoreDelegate = () => {
|
|
|
105
108
|
Reference = document.createComment('ionic teleport');
|
|
106
109
|
BaseComponent.parentNode.insertBefore(Reference, BaseComponent);
|
|
107
110
|
app.appendChild(BaseComponent);
|
|
108
|
-
return
|
|
111
|
+
return ChildComponent;
|
|
109
112
|
};
|
|
110
113
|
const removeViewFromDom = () => {
|
|
111
114
|
/**
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -15,12 +15,12 @@ const helpers = require('./helpers-ea4ccbcb.js');
|
|
|
15
15
|
const config = require('./config-d5882735.js');
|
|
16
16
|
const index$1 = require('./index-8568bedb.js');
|
|
17
17
|
const index$2 = require('./index-653be4df.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
18
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
19
19
|
require('./index-306a7476.js');
|
|
20
20
|
require('./gesture-controller-b46721be.js');
|
|
21
21
|
require('./index-484b1104.js');
|
|
22
22
|
require('./hardware-back-button-b67c8e75.js');
|
|
23
|
-
require('./framework-delegate-
|
|
23
|
+
require('./framework-delegate-91be3b84.js');
|
|
24
24
|
require('./index-cc7dfb7c.js');
|
|
25
25
|
|
|
26
26
|
const IonicSlides = (opts) => {
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-484b1104.js');
|
|
9
9
|
const buttonActive = require('./button-active-dfd2756e.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
|
-
const overlays = require('./overlays-
|
|
11
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
12
12
|
const theme = require('./theme-fbc56b3b.js');
|
|
13
13
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
14
14
|
const animation = require('./animation-2bb33618.js');
|
|
@@ -17,7 +17,7 @@ require('./capacitor-2ffba62a.js');
|
|
|
17
17
|
require('./index-306a7476.js');
|
|
18
18
|
require('./index-0ee995e4.js');
|
|
19
19
|
require('./gesture-controller-b46721be.js');
|
|
20
|
-
require('./framework-delegate-
|
|
20
|
+
require('./framework-delegate-91be3b84.js');
|
|
21
21
|
require('./hardware-back-button-b67c8e75.js');
|
|
22
22
|
require('./index-cc7dfb7c.js');
|
|
23
23
|
|
|
@@ -9,7 +9,7 @@ const index = require('./index-484b1104.js');
|
|
|
9
9
|
const config = require('./config-d5882735.js');
|
|
10
10
|
const buttonActive = require('./button-active-dfd2756e.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
13
13
|
const theme = require('./theme-fbc56b3b.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
15
15
|
const animation = require('./animation-2bb33618.js');
|
|
@@ -18,7 +18,7 @@ require('./capacitor-2ffba62a.js');
|
|
|
18
18
|
require('./index-306a7476.js');
|
|
19
19
|
require('./index-0ee995e4.js');
|
|
20
20
|
require('./gesture-controller-b46721be.js');
|
|
21
|
-
require('./framework-delegate-
|
|
21
|
+
require('./framework-delegate-91be3b84.js');
|
|
22
22
|
require('./hardware-back-button-b67c8e75.js');
|
|
23
23
|
require('./index-cc7dfb7c.js');
|
|
24
24
|
|
|
@@ -13,7 +13,7 @@ const theme = require('./theme-fbc56b3b.js');
|
|
|
13
13
|
const index$1 = require('./index-10873539.js');
|
|
14
14
|
const keyboardController = require('./keyboard-controller-50beb83a.js');
|
|
15
15
|
const cubicBezier = require('./cubic-bezier-6b9222ad.js');
|
|
16
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
16
|
+
const frameworkDelegate = require('./framework-delegate-91be3b84.js');
|
|
17
17
|
const index$2 = require('./index-8568bedb.js');
|
|
18
18
|
require('./index-cc7dfb7c.js');
|
|
19
19
|
require('./index-306a7476.js');
|
|
@@ -10,7 +10,7 @@ const helpers = require('./helpers-ea4ccbcb.js');
|
|
|
10
10
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
11
11
|
const theme = require('./theme-fbc56b3b.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
13
|
-
const data = require('./data-
|
|
13
|
+
const data = require('./data-967b9c15.js');
|
|
14
14
|
|
|
15
15
|
const iosDatetimeButtonCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";
|
|
16
16
|
|
|
@@ -13,11 +13,11 @@ const dir = require('./dir-f1e0ca26.js');
|
|
|
13
13
|
const theme = require('./theme-fbc56b3b.js');
|
|
14
14
|
const index$2 = require('./index-d8d1fc0b.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
16
|
-
const data = require('./data-
|
|
17
|
-
const overlays = require('./overlays-
|
|
16
|
+
const data = require('./data-967b9c15.js');
|
|
17
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
18
18
|
const animation = require('./animation-2bb33618.js');
|
|
19
19
|
const haptic = require('./haptic-c5f6b4d5.js');
|
|
20
|
-
require('./framework-delegate-
|
|
20
|
+
require('./framework-delegate-91be3b84.js');
|
|
21
21
|
require('./hardware-back-button-b67c8e75.js');
|
|
22
22
|
require('./index-306a7476.js');
|
|
23
23
|
require('./capacitor-2ffba62a.js');
|
|
@@ -8,11 +8,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-484b1104.js');
|
|
9
9
|
const config = require('./config-d5882735.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
|
-
const overlays = require('./overlays-
|
|
11
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
12
12
|
const theme = require('./theme-fbc56b3b.js');
|
|
13
13
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
14
14
|
const animation = require('./animation-2bb33618.js');
|
|
15
|
-
require('./framework-delegate-
|
|
15
|
+
require('./framework-delegate-91be3b84.js');
|
|
16
16
|
require('./hardware-back-button-b67c8e75.js');
|
|
17
17
|
require('./index-cc7dfb7c.js');
|
|
18
18
|
require('./index-306a7476.js');
|
|
@@ -11,13 +11,13 @@ const index$2 = require('./index-306a7476.js');
|
|
|
11
11
|
const gestureController = require('./gesture-controller-b46721be.js');
|
|
12
12
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
13
13
|
const index$1 = require('./index-653be4df.js');
|
|
14
|
-
const overlays = require('./overlays-
|
|
14
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
16
16
|
const theme = require('./theme-fbc56b3b.js');
|
|
17
17
|
const index$3 = require('./index-d8d1fc0b.js');
|
|
18
18
|
require('./hardware-back-button-b67c8e75.js');
|
|
19
19
|
require('./animation-2bb33618.js');
|
|
20
|
-
require('./framework-delegate-
|
|
20
|
+
require('./framework-delegate-91be3b84.js');
|
|
21
21
|
require('./index-cc7dfb7c.js');
|
|
22
22
|
|
|
23
23
|
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
|
|
@@ -7,11 +7,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index$3 = require('./index-484b1104.js');
|
|
9
9
|
const index$2 = require('./index-10873539.js');
|
|
10
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
10
|
+
const frameworkDelegate = require('./framework-delegate-91be3b84.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const index$4 = require('./index-cc7dfb7c.js');
|
|
13
13
|
const capacitor = require('./capacitor-2ffba62a.js');
|
|
14
|
-
const overlays = require('./overlays-
|
|
14
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
16
|
const index$5 = require('./index-8568bedb.js');
|
|
17
17
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
@@ -10,7 +10,7 @@ const cubicBezier = require('./cubic-bezier-6b9222ad.js');
|
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const index$1 = require('./index-8568bedb.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
13
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
13
|
+
const frameworkDelegate = require('./framework-delegate-91be3b84.js');
|
|
14
14
|
|
|
15
15
|
const VIEW_STATE_NEW = 1;
|
|
16
16
|
const VIEW_STATE_ATTACHED = 2;
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-484b1104.js');
|
|
9
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
9
|
+
const frameworkDelegate = require('./framework-delegate-91be3b84.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
13
13
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
15
|
const index$2 = require('./index-8568bedb.js');
|
|
@@ -1176,12 +1176,12 @@ const Popover = class {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
const { el } = this;
|
|
1178
1178
|
const { inline, delegate } = this.getDelegate(true);
|
|
1179
|
+
this.ionMount.emit();
|
|
1179
1180
|
this.usersElement = await frameworkDelegate.attachComponent(delegate, el, this.component, ['popover-viewport'], this.componentProps, inline);
|
|
1180
1181
|
if (!this.keyboardEvents) {
|
|
1181
1182
|
this.configureKeyboardInteraction();
|
|
1182
1183
|
}
|
|
1183
1184
|
this.configureDismissInteraction();
|
|
1184
|
-
this.ionMount.emit();
|
|
1185
1185
|
/**
|
|
1186
1186
|
* When using the lazy loaded build of Stencil, we need to wait
|
|
1187
1187
|
* for every Stencil component instance to be ready before presenting
|
|
@@ -10,14 +10,14 @@ const formController = require('./form-controller-5e223b54.js');
|
|
|
10
10
|
const notchController = require('./notch-controller-c27fe0b7.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
14
14
|
const dir = require('./dir-f1e0ca26.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
16
|
const watchOptions = require('./watch-options-f3f77e54.js');
|
|
17
17
|
const index$2 = require('./index-d8d1fc0b.js');
|
|
18
18
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
19
19
|
require('./index-306a7476.js');
|
|
20
|
-
require('./framework-delegate-
|
|
20
|
+
require('./framework-delegate-91be3b84.js');
|
|
21
21
|
require('./hardware-back-button-b67c8e75.js');
|
|
22
22
|
|
|
23
23
|
const selectIosCss = ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{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}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}:host(:not(.legacy-select)){min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}.select-icon{width:18px;height:18px;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 18px - 4px)}:host(.select-disabled){opacity:0.3}";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-484b1104.js');
|
|
9
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
9
|
+
const frameworkDelegate = require('./framework-delegate-91be3b84.js');
|
|
10
10
|
require('./helpers-ea4ccbcb.js');
|
|
11
11
|
|
|
12
12
|
const tabCss = ":host(.tab-hidden){display:none !important}";
|
|
@@ -9,11 +9,11 @@ const index = require('./index-484b1104.js');
|
|
|
9
9
|
const config = require('./config-d5882735.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-cf7fa4cf.js');
|
|
13
13
|
const theme = require('./theme-fbc56b3b.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
15
15
|
const animation = require('./animation-2bb33618.js');
|
|
16
|
-
require('./framework-delegate-
|
|
16
|
+
require('./framework-delegate-91be3b84.js');
|
|
17
17
|
require('./hardware-back-button-b67c8e75.js');
|
|
18
18
|
require('./index-306a7476.js');
|
|
19
19
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const ionicGlobal = require('./ionic-global-f81d8b73.js');
|
|
7
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
7
|
+
const frameworkDelegate = require('./framework-delegate-91be3b84.js');
|
|
8
8
|
const hardwareBackButton = require('./hardware-back-button-b67c8e75.js');
|
|
9
9
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
10
10
|
const index = require('./index-cc7dfb7c.js');
|
|
@@ -107,7 +107,14 @@ export const parseAmPm = (hour) => {
|
|
|
107
107
|
* month, day, hour, and minute information.
|
|
108
108
|
*/
|
|
109
109
|
export const parseMaxParts = (max, todayParts) => {
|
|
110
|
-
const
|
|
110
|
+
const result = parseDate(max);
|
|
111
|
+
/**
|
|
112
|
+
* If min was not a valid date then return undefined.
|
|
113
|
+
*/
|
|
114
|
+
if (result === undefined) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
const { month, day, year, hour, minute } = result;
|
|
111
118
|
/**
|
|
112
119
|
* When passing in `max` or `min`, developers
|
|
113
120
|
* can pass in any ISO-8601 string. This means
|
|
@@ -140,7 +147,14 @@ export const parseMaxParts = (max, todayParts) => {
|
|
|
140
147
|
* month, day, hour, and minute information.
|
|
141
148
|
*/
|
|
142
149
|
export const parseMinParts = (min, todayParts) => {
|
|
143
|
-
const
|
|
150
|
+
const result = parseDate(min);
|
|
151
|
+
/**
|
|
152
|
+
* If min was not a valid date then return undefined.
|
|
153
|
+
*/
|
|
154
|
+
if (result === undefined) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
const { month, day, year, hour, minute } = result;
|
|
144
158
|
/**
|
|
145
159
|
* When passing in `max` or `min`, developers
|
|
146
160
|
* can pass in any ISO-8601 string. This means
|
|
@@ -218,12 +218,12 @@ export class Popover {
|
|
|
218
218
|
}
|
|
219
219
|
const { el } = this;
|
|
220
220
|
const { inline, delegate } = this.getDelegate(true);
|
|
221
|
+
this.ionMount.emit();
|
|
221
222
|
this.usersElement = await attachComponent(delegate, el, this.component, ['popover-viewport'], this.componentProps, inline);
|
|
222
223
|
if (!this.keyboardEvents) {
|
|
223
224
|
this.configureKeyboardInteraction();
|
|
224
225
|
}
|
|
225
226
|
this.configureDismissInteraction();
|
|
226
|
-
this.ionMount.emit();
|
|
227
227
|
/**
|
|
228
228
|
* When using the lazy loaded build of Stencil, we need to wait
|
|
229
229
|
* for every Stencil component instance to be ready before presenting
|
|
@@ -38,6 +38,7 @@ export const CoreDelegate = () => {
|
|
|
38
38
|
const attachViewToDom = async (parentElement, userComponent, userComponentProps = {}, cssClasses = []) => {
|
|
39
39
|
var _a, _b;
|
|
40
40
|
BaseComponent = parentElement;
|
|
41
|
+
let ChildComponent;
|
|
41
42
|
/**
|
|
42
43
|
* If passing in a component via the `component` props
|
|
43
44
|
* we need to append it inside of our overlay component.
|
|
@@ -64,6 +65,7 @@ export const CoreDelegate = () => {
|
|
|
64
65
|
* inside of the overlay component.
|
|
65
66
|
*/
|
|
66
67
|
BaseComponent.appendChild(el);
|
|
68
|
+
ChildComponent = el;
|
|
67
69
|
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
68
70
|
}
|
|
69
71
|
else if (BaseComponent.children.length > 0 &&
|
|
@@ -72,7 +74,7 @@ export const CoreDelegate = () => {
|
|
|
72
74
|
* The delegate host wrapper el is only needed for modals and popovers
|
|
73
75
|
* because they allow the dev to provide custom content to the overlay.
|
|
74
76
|
*/
|
|
75
|
-
const root = BaseComponent.children[0];
|
|
77
|
+
const root = (ChildComponent = BaseComponent.children[0]);
|
|
76
78
|
if (!root.classList.contains('ion-delegate-host')) {
|
|
77
79
|
/**
|
|
78
80
|
* If the root element is not a delegate host, it means
|
|
@@ -87,6 +89,7 @@ export const CoreDelegate = () => {
|
|
|
87
89
|
el.append(...BaseComponent.children);
|
|
88
90
|
// Append the new parent element to the original parent element.
|
|
89
91
|
BaseComponent.appendChild(el);
|
|
92
|
+
ChildComponent = el;
|
|
90
93
|
}
|
|
91
94
|
}
|
|
92
95
|
/**
|
|
@@ -102,7 +105,7 @@ export const CoreDelegate = () => {
|
|
|
102
105
|
Reference = document.createComment('ionic teleport');
|
|
103
106
|
BaseComponent.parentNode.insertBefore(Reference, BaseComponent);
|
|
104
107
|
app.appendChild(BaseComponent);
|
|
105
|
-
return
|
|
108
|
+
return ChildComponent;
|
|
106
109
|
};
|
|
107
110
|
const removeViewFromDom = () => {
|
|
108
111
|
/**
|
package/dist/docs.json
CHANGED
|
@@ -245,7 +245,14 @@ const parseAmPm = (hour) => {
|
|
|
245
245
|
* month, day, hour, and minute information.
|
|
246
246
|
*/
|
|
247
247
|
const parseMaxParts = (max, todayParts) => {
|
|
248
|
-
const
|
|
248
|
+
const result = parseDate(max);
|
|
249
|
+
/**
|
|
250
|
+
* If min was not a valid date then return undefined.
|
|
251
|
+
*/
|
|
252
|
+
if (result === undefined) {
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
const { month, day, year, hour, minute } = result;
|
|
249
256
|
/**
|
|
250
257
|
* When passing in `max` or `min`, developers
|
|
251
258
|
* can pass in any ISO-8601 string. This means
|
|
@@ -278,7 +285,14 @@ const parseMaxParts = (max, todayParts) => {
|
|
|
278
285
|
* month, day, hour, and minute information.
|
|
279
286
|
*/
|
|
280
287
|
const parseMinParts = (min, todayParts) => {
|
|
281
|
-
const
|
|
288
|
+
const result = parseDate(min);
|
|
289
|
+
/**
|
|
290
|
+
* If min was not a valid date then return undefined.
|
|
291
|
+
*/
|
|
292
|
+
if (result === undefined) {
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
const { month, day, year, hour, minute } = result;
|
|
282
296
|
/**
|
|
283
297
|
* When passing in `max` or `min`, developers
|
|
284
298
|
* can pass in any ISO-8601 string. This means
|
|
@@ -39,6 +39,7 @@ const CoreDelegate = () => {
|
|
|
39
39
|
const attachViewToDom = async (parentElement, userComponent, userComponentProps = {}, cssClasses = []) => {
|
|
40
40
|
var _a, _b;
|
|
41
41
|
BaseComponent = parentElement;
|
|
42
|
+
let ChildComponent;
|
|
42
43
|
/**
|
|
43
44
|
* If passing in a component via the `component` props
|
|
44
45
|
* we need to append it inside of our overlay component.
|
|
@@ -65,6 +66,7 @@ const CoreDelegate = () => {
|
|
|
65
66
|
* inside of the overlay component.
|
|
66
67
|
*/
|
|
67
68
|
BaseComponent.appendChild(el);
|
|
69
|
+
ChildComponent = el;
|
|
68
70
|
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
69
71
|
}
|
|
70
72
|
else if (BaseComponent.children.length > 0 &&
|
|
@@ -73,7 +75,7 @@ const CoreDelegate = () => {
|
|
|
73
75
|
* The delegate host wrapper el is only needed for modals and popovers
|
|
74
76
|
* because they allow the dev to provide custom content to the overlay.
|
|
75
77
|
*/
|
|
76
|
-
const root = BaseComponent.children[0];
|
|
78
|
+
const root = (ChildComponent = BaseComponent.children[0]);
|
|
77
79
|
if (!root.classList.contains('ion-delegate-host')) {
|
|
78
80
|
/**
|
|
79
81
|
* If the root element is not a delegate host, it means
|
|
@@ -88,6 +90,7 @@ const CoreDelegate = () => {
|
|
|
88
90
|
el.append(...BaseComponent.children);
|
|
89
91
|
// Append the new parent element to the original parent element.
|
|
90
92
|
BaseComponent.appendChild(el);
|
|
93
|
+
ChildComponent = el;
|
|
91
94
|
}
|
|
92
95
|
}
|
|
93
96
|
/**
|
|
@@ -103,7 +106,7 @@ const CoreDelegate = () => {
|
|
|
103
106
|
Reference = document.createComment('ionic teleport');
|
|
104
107
|
BaseComponent.parentNode.insertBefore(Reference, BaseComponent);
|
|
105
108
|
app.appendChild(BaseComponent);
|
|
106
|
-
return
|
|
109
|
+
return ChildComponent;
|
|
107
110
|
};
|
|
108
111
|
const removeViewFromDom = () => {
|
|
109
112
|
/**
|
package/dist/esm/index.js
CHANGED
|
@@ -11,12 +11,12 @@ export { c as componentOnReady } from './helpers-3379ba19.js';
|
|
|
11
11
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-96c9ace3.js';
|
|
12
12
|
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD } from './index-6391de89.js';
|
|
13
13
|
export { m as menuController } from './index-b3e05099.js';
|
|
14
|
-
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-
|
|
14
|
+
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-236d01c6.js';
|
|
15
15
|
import './index-7a14ecec.js';
|
|
16
16
|
import './gesture-controller-0fa396c4.js';
|
|
17
17
|
import './index-847f2fde.js';
|
|
18
18
|
import './hardware-back-button-39299f84.js';
|
|
19
|
-
import './framework-delegate-
|
|
19
|
+
import './framework-delegate-43758c88.js';
|
|
20
20
|
import './index-595d62c9.js';
|
|
21
21
|
|
|
22
22
|
const IonicSlides = (opts) => {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { r as registerInstance, d as createEvent, e as readTask, h, H as Host, f as getElement } from './index-847f2fde.js';
|
|
5
5
|
import { c as createButtonActiveGesture } from './button-active-2da0f611.js';
|
|
6
6
|
import { r as raf } from './helpers-3379ba19.js';
|
|
7
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-
|
|
7
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-236d01c6.js';
|
|
8
8
|
import { g as getClassMap } from './theme-17531cdf.js';
|
|
9
9
|
import { b as getIonMode } from './ionic-global-1ef19007.js';
|
|
10
10
|
import { c as createAnimation } from './animation-a1d9e088.js';
|
|
@@ -13,7 +13,7 @@ import './capacitor-b4979570.js';
|
|
|
13
13
|
import './index-7a14ecec.js';
|
|
14
14
|
import './index-ff313b19.js';
|
|
15
15
|
import './gesture-controller-0fa396c4.js';
|
|
16
|
-
import './framework-delegate-
|
|
16
|
+
import './framework-delegate-43758c88.js';
|
|
17
17
|
import './hardware-back-button-39299f84.js';
|
|
18
18
|
import './index-595d62c9.js';
|
|
19
19
|
|
|
@@ -5,7 +5,7 @@ import { r as registerInstance, d as createEvent, i as forceUpdate, h, H as Host
|
|
|
5
5
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-96c9ace3.js';
|
|
6
6
|
import { c as createButtonActiveGesture } from './button-active-2da0f611.js';
|
|
7
7
|
import { r as raf } from './helpers-3379ba19.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-236d01c6.js';
|
|
9
9
|
import { g as getClassMap } from './theme-17531cdf.js';
|
|
10
10
|
import { c as config, b as getIonMode } from './ionic-global-1ef19007.js';
|
|
11
11
|
import { c as createAnimation } from './animation-a1d9e088.js';
|
|
@@ -14,7 +14,7 @@ import './capacitor-b4979570.js';
|
|
|
14
14
|
import './index-7a14ecec.js';
|
|
15
15
|
import './index-ff313b19.js';
|
|
16
16
|
import './gesture-controller-0fa396c4.js';
|
|
17
|
-
import './framework-delegate-
|
|
17
|
+
import './framework-delegate-43758c88.js';
|
|
18
18
|
import './hardware-back-button-39299f84.js';
|
|
19
19
|
import './index-595d62c9.js';
|
|
20
20
|
|