@ionic/vue 8.8.9-dev.11780948757.1c55bd21 → 8.8.9-dev.11781024903.1e4268e5
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/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/index.js +254 -239
- package/dist/index.js.map +1 -1
- package/dist/types/components/IonPage.d.ts +5 -5
- package/dist/types/components/IonRouterOutlet.d.ts +4 -16
- package/dist/types/components/IonTabBar.d.ts +1 -1
- package/dist/types/components/IonTabButton.d.ts +6 -6
- package/dist/types/components/IonTabs.d.ts +4 -4
- package/dist/types/components/Overlays.d.ts +1 -0
- package/dist/types/controllers.d.ts +9 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/proxies.d.ts +2 -0
- package/dist/vetur/attributes.json +1714 -112
- package/dist/vetur/tags.json +261 -45
- package/dist/web-types.json +2017 -195
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -19,80 +19,83 @@ import { defineCustomElement as defineCustomElement$g } from '@ionic/core/compon
|
|
|
19
19
|
import { defineCustomElement as defineCustomElement$h } from '@ionic/core/components/ion-content.js';
|
|
20
20
|
import { defineCustomElement as defineCustomElement$i } from '@ionic/core/components/ion-datetime.js';
|
|
21
21
|
import { defineCustomElement as defineCustomElement$j } from '@ionic/core/components/ion-datetime-button.js';
|
|
22
|
-
import { defineCustomElement as defineCustomElement$k } from '@ionic/core/components/ion-
|
|
23
|
-
import { defineCustomElement as defineCustomElement$l } from '@ionic/core/components/ion-fab
|
|
24
|
-
import { defineCustomElement as defineCustomElement$m } from '@ionic/core/components/ion-fab-
|
|
25
|
-
import { defineCustomElement as defineCustomElement$n } from '@ionic/core/components/ion-
|
|
26
|
-
import { defineCustomElement as defineCustomElement$o } from '@ionic/core/components/ion-
|
|
27
|
-
import { defineCustomElement as defineCustomElement$p } from '@ionic/core/components/ion-
|
|
28
|
-
import { defineCustomElement as defineCustomElement$q } from '@ionic/core/components/ion-
|
|
29
|
-
import { defineCustomElement as defineCustomElement$r } from '@ionic/core/components/ion-
|
|
30
|
-
import { defineCustomElement as defineCustomElement$s } from '@ionic/core/components/ion-
|
|
31
|
-
import { defineCustomElement as defineCustomElement$t } from '@ionic/core/components/ion-
|
|
32
|
-
import { defineCustomElement as defineCustomElement$u } from '@ionic/core/components/ion-
|
|
33
|
-
import { defineCustomElement as defineCustomElement$v } from '@ionic/core/components/ion-input
|
|
34
|
-
import { defineCustomElement as defineCustomElement$w } from '@ionic/core/components/ion-
|
|
35
|
-
import { defineCustomElement as defineCustomElement$x } from '@ionic/core/components/ion-
|
|
36
|
-
import { defineCustomElement as defineCustomElement$y } from '@ionic/core/components/ion-item
|
|
37
|
-
import { defineCustomElement as defineCustomElement$z } from '@ionic/core/components/ion-item-
|
|
38
|
-
import { defineCustomElement as defineCustomElement$A } from '@ionic/core/components/ion-item-
|
|
39
|
-
import { defineCustomElement as defineCustomElement$B } from '@ionic/core/components/ion-item-
|
|
40
|
-
import { defineCustomElement as defineCustomElement$C } from '@ionic/core/components/ion-
|
|
41
|
-
import { defineCustomElement as defineCustomElement$D } from '@ionic/core/components/ion-
|
|
42
|
-
import { defineCustomElement as defineCustomElement$E } from '@ionic/core/components/ion-
|
|
43
|
-
import { defineCustomElement as defineCustomElement$F } from '@ionic/core/components/ion-
|
|
44
|
-
import { defineCustomElement as defineCustomElement$G } from '@ionic/core/components/ion-
|
|
45
|
-
import { defineCustomElement as defineCustomElement$H } from '@ionic/core/components/ion-menu
|
|
46
|
-
import { defineCustomElement as defineCustomElement$
|
|
47
|
-
import { defineCustomElement as defineCustomElement$
|
|
48
|
-
import { defineCustomElement as defineCustomElement$
|
|
49
|
-
import { defineCustomElement as defineCustomElement$K } from '@ionic/core/components/ion-
|
|
50
|
-
import { defineCustomElement as defineCustomElement$L } from '@ionic/core/components/ion-
|
|
51
|
-
import { defineCustomElement as defineCustomElement$M } from '@ionic/core/components/ion-picker
|
|
52
|
-
import { defineCustomElement as defineCustomElement$N } from '@ionic/core/components/ion-
|
|
53
|
-
import { defineCustomElement as defineCustomElement$O } from '@ionic/core/components/ion-
|
|
54
|
-
import { defineCustomElement as defineCustomElement$P } from '@ionic/core/components/ion-
|
|
55
|
-
import { defineCustomElement as defineCustomElement$Q } from '@ionic/core/components/ion-
|
|
56
|
-
import { defineCustomElement as defineCustomElement$R } from '@ionic/core/components/ion-
|
|
57
|
-
import { defineCustomElement as defineCustomElement$S } from '@ionic/core/components/ion-
|
|
58
|
-
import { defineCustomElement as defineCustomElement$T } from '@ionic/core/components/ion-
|
|
59
|
-
import { defineCustomElement as defineCustomElement$U } from '@ionic/core/components/ion-
|
|
60
|
-
import { defineCustomElement as defineCustomElement$V } from '@ionic/core/components/ion-
|
|
61
|
-
import { defineCustomElement as defineCustomElement$W } from '@ionic/core/components/ion-
|
|
62
|
-
import { defineCustomElement as defineCustomElement$X } from '@ionic/core/components/ion-
|
|
63
|
-
import { defineCustomElement as defineCustomElement$Y } from '@ionic/core/components/ion-
|
|
64
|
-
import { defineCustomElement as defineCustomElement$Z } from '@ionic/core/components/ion-
|
|
65
|
-
import { defineCustomElement as defineCustomElement$_ } from '@ionic/core/components/ion-segment
|
|
66
|
-
import { defineCustomElement as defineCustomElement$$ } from '@ionic/core/components/ion-segment-
|
|
67
|
-
import { defineCustomElement as defineCustomElement$10 } from '@ionic/core/components/ion-
|
|
68
|
-
import { defineCustomElement as defineCustomElement$11 } from '@ionic/core/components/ion-
|
|
69
|
-
import { defineCustomElement as defineCustomElement$12 } from '@ionic/core/components/ion-select
|
|
70
|
-
import { defineCustomElement as defineCustomElement$13 } from '@ionic/core/components/ion-
|
|
71
|
-
import { defineCustomElement as defineCustomElement$14 } from '@ionic/core/components/ion-
|
|
72
|
-
import { defineCustomElement as defineCustomElement$15 } from '@ionic/core/components/ion-
|
|
73
|
-
import { defineCustomElement as defineCustomElement$16 } from '@ionic/core/components/ion-
|
|
74
|
-
import { defineCustomElement as defineCustomElement$17 } from '@ionic/core/components/ion-
|
|
75
|
-
import { defineCustomElement as defineCustomElement$18 } from '@ionic/core/components/ion-
|
|
76
|
-
import { defineCustomElement as defineCustomElement$19 } from '@ionic/core/components/ion-
|
|
77
|
-
import { defineCustomElement as defineCustomElement$1a } from '@ionic/core/components/ion-
|
|
78
|
-
import { defineCustomElement as defineCustomElement$1b } from '@ionic/core/components/ion-
|
|
79
|
-
import { defineCustomElement as defineCustomElement$1c } from '@ionic/core/components/ion-
|
|
80
|
-
import {
|
|
22
|
+
import { defineCustomElement as defineCustomElement$k } from '@ionic/core/components/ion-divider.js';
|
|
23
|
+
import { defineCustomElement as defineCustomElement$l } from '@ionic/core/components/ion-fab.js';
|
|
24
|
+
import { defineCustomElement as defineCustomElement$m } from '@ionic/core/components/ion-fab-button.js';
|
|
25
|
+
import { defineCustomElement as defineCustomElement$n } from '@ionic/core/components/ion-fab-list.js';
|
|
26
|
+
import { defineCustomElement as defineCustomElement$o } from '@ionic/core/components/ion-footer.js';
|
|
27
|
+
import { defineCustomElement as defineCustomElement$p } from '@ionic/core/components/ion-gallery.js';
|
|
28
|
+
import { defineCustomElement as defineCustomElement$q } from '@ionic/core/components/ion-grid.js';
|
|
29
|
+
import { defineCustomElement as defineCustomElement$r } from '@ionic/core/components/ion-header.js';
|
|
30
|
+
import { defineCustomElement as defineCustomElement$s } from '@ionic/core/components/ion-img.js';
|
|
31
|
+
import { defineCustomElement as defineCustomElement$t } from '@ionic/core/components/ion-infinite-scroll.js';
|
|
32
|
+
import { defineCustomElement as defineCustomElement$u } from '@ionic/core/components/ion-infinite-scroll-content.js';
|
|
33
|
+
import { defineCustomElement as defineCustomElement$v } from '@ionic/core/components/ion-input.js';
|
|
34
|
+
import { defineCustomElement as defineCustomElement$w } from '@ionic/core/components/ion-input-otp.js';
|
|
35
|
+
import { defineCustomElement as defineCustomElement$x } from '@ionic/core/components/ion-input-password-toggle.js';
|
|
36
|
+
import { defineCustomElement as defineCustomElement$y } from '@ionic/core/components/ion-item.js';
|
|
37
|
+
import { defineCustomElement as defineCustomElement$z } from '@ionic/core/components/ion-item-divider.js';
|
|
38
|
+
import { defineCustomElement as defineCustomElement$A } from '@ionic/core/components/ion-item-group.js';
|
|
39
|
+
import { defineCustomElement as defineCustomElement$B } from '@ionic/core/components/ion-item-option.js';
|
|
40
|
+
import { defineCustomElement as defineCustomElement$C } from '@ionic/core/components/ion-item-options.js';
|
|
41
|
+
import { defineCustomElement as defineCustomElement$D } from '@ionic/core/components/ion-item-sliding.js';
|
|
42
|
+
import { defineCustomElement as defineCustomElement$E } from '@ionic/core/components/ion-label.js';
|
|
43
|
+
import { defineCustomElement as defineCustomElement$F } from '@ionic/core/components/ion-list.js';
|
|
44
|
+
import { defineCustomElement as defineCustomElement$G } from '@ionic/core/components/ion-list-header.js';
|
|
45
|
+
import { defineCustomElement as defineCustomElement$H } from '@ionic/core/components/ion-menu.js';
|
|
46
|
+
import { defineCustomElement as defineCustomElement$I } from '@ionic/core/components/ion-menu-button.js';
|
|
47
|
+
import { defineCustomElement as defineCustomElement$J } from '@ionic/core/components/ion-menu-toggle.js';
|
|
48
|
+
import { defineCustomElement as defineCustomElement$1l } from '@ionic/core/components/ion-nav.js';
|
|
49
|
+
import { defineCustomElement as defineCustomElement$K } from '@ionic/core/components/ion-nav-link.js';
|
|
50
|
+
import { defineCustomElement as defineCustomElement$L } from '@ionic/core/components/ion-note.js';
|
|
51
|
+
import { defineCustomElement as defineCustomElement$M } from '@ionic/core/components/ion-picker.js';
|
|
52
|
+
import { defineCustomElement as defineCustomElement$N } from '@ionic/core/components/ion-picker-column.js';
|
|
53
|
+
import { defineCustomElement as defineCustomElement$O } from '@ionic/core/components/ion-picker-column-option.js';
|
|
54
|
+
import { defineCustomElement as defineCustomElement$P } from '@ionic/core/components/ion-progress-bar.js';
|
|
55
|
+
import { defineCustomElement as defineCustomElement$Q } from '@ionic/core/components/ion-radio.js';
|
|
56
|
+
import { defineCustomElement as defineCustomElement$R } from '@ionic/core/components/ion-radio-group.js';
|
|
57
|
+
import { defineCustomElement as defineCustomElement$S } from '@ionic/core/components/ion-range.js';
|
|
58
|
+
import { defineCustomElement as defineCustomElement$T } from '@ionic/core/components/ion-refresher.js';
|
|
59
|
+
import { defineCustomElement as defineCustomElement$U } from '@ionic/core/components/ion-refresher-content.js';
|
|
60
|
+
import { defineCustomElement as defineCustomElement$V } from '@ionic/core/components/ion-reorder.js';
|
|
61
|
+
import { defineCustomElement as defineCustomElement$W } from '@ionic/core/components/ion-reorder-group.js';
|
|
62
|
+
import { defineCustomElement as defineCustomElement$X } from '@ionic/core/components/ion-ripple-effect.js';
|
|
63
|
+
import { defineCustomElement as defineCustomElement$Y } from '@ionic/core/components/ion-row.js';
|
|
64
|
+
import { defineCustomElement as defineCustomElement$Z } from '@ionic/core/components/ion-searchbar.js';
|
|
65
|
+
import { defineCustomElement as defineCustomElement$_ } from '@ionic/core/components/ion-segment.js';
|
|
66
|
+
import { defineCustomElement as defineCustomElement$$ } from '@ionic/core/components/ion-segment-button.js';
|
|
67
|
+
import { defineCustomElement as defineCustomElement$10 } from '@ionic/core/components/ion-segment-content.js';
|
|
68
|
+
import { defineCustomElement as defineCustomElement$11 } from '@ionic/core/components/ion-segment-view.js';
|
|
69
|
+
import { defineCustomElement as defineCustomElement$12 } from '@ionic/core/components/ion-select.js';
|
|
70
|
+
import { defineCustomElement as defineCustomElement$13 } from '@ionic/core/components/ion-select-modal.js';
|
|
71
|
+
import { defineCustomElement as defineCustomElement$14 } from '@ionic/core/components/ion-select-option.js';
|
|
72
|
+
import { defineCustomElement as defineCustomElement$15 } from '@ionic/core/components/ion-skeleton-text.js';
|
|
73
|
+
import { defineCustomElement as defineCustomElement$16 } from '@ionic/core/components/ion-spinner.js';
|
|
74
|
+
import { defineCustomElement as defineCustomElement$17 } from '@ionic/core/components/ion-split-pane.js';
|
|
75
|
+
import { defineCustomElement as defineCustomElement$18 } from '@ionic/core/components/ion-tab.js';
|
|
76
|
+
import { defineCustomElement as defineCustomElement$19 } from '@ionic/core/components/ion-text.js';
|
|
77
|
+
import { defineCustomElement as defineCustomElement$1a } from '@ionic/core/components/ion-textarea.js';
|
|
78
|
+
import { defineCustomElement as defineCustomElement$1b } from '@ionic/core/components/ion-thumbnail.js';
|
|
79
|
+
import { defineCustomElement as defineCustomElement$1c } from '@ionic/core/components/ion-title.js';
|
|
80
|
+
import { defineCustomElement as defineCustomElement$1d } from '@ionic/core/components/ion-toggle.js';
|
|
81
|
+
import { defineCustomElement as defineCustomElement$1e } from '@ionic/core/components/ion-toolbar.js';
|
|
82
|
+
import { LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, initialize, modalController as modalController$1, popoverController as popoverController$1, alertController as alertController$1, actionSheetController as actionSheetController$1, loadingController as loadingController$1, pickerController as pickerController$1, toastController as toastController$1 } from '@ionic/core/components';
|
|
81
83
|
export { IonicSafeString, IonicSlides, createAnimation, createGesture, getIonPageElement, getPlatforms, getTimeGivenProgression, iosTransitionAnimation, isPlatform, mdTransitionAnimation, menuController, openURL } from '@ionic/core/components';
|
|
82
|
-
import { defineCustomElement as defineCustomElement$
|
|
83
|
-
import { defineCustomElement as defineCustomElement$
|
|
84
|
+
import { defineCustomElement as defineCustomElement$1f } from '@ionic/core/components/ion-back-button.js';
|
|
85
|
+
import { defineCustomElement as defineCustomElement$1g } from '@ionic/core/components/ion-router-outlet.js';
|
|
84
86
|
import { routeLocationKey, useRoute, matchedRouteKey } from 'vue-router';
|
|
85
|
-
import { defineCustomElement as defineCustomElement$
|
|
86
|
-
import { defineCustomElement as defineCustomElement$
|
|
87
|
-
import { defineCustomElement as defineCustomElement$
|
|
88
|
-
import { defineCustomElement as defineCustomElement$
|
|
89
|
-
import { defineCustomElement as defineCustomElement$
|
|
90
|
-
import { defineCustomElement as defineCustomElement$
|
|
91
|
-
import { defineCustomElement as defineCustomElement$
|
|
92
|
-
import { defineCustomElement as defineCustomElement$
|
|
93
|
-
import { defineCustomElement as defineCustomElement$
|
|
94
|
-
import { defineCustomElement as defineCustomElement$
|
|
95
|
-
import { defineCustomElement as defineCustomElement$
|
|
87
|
+
import { defineCustomElement as defineCustomElement$1h } from '@ionic/core/components/ion-tab-button.js';
|
|
88
|
+
import { defineCustomElement as defineCustomElement$1i } from '@ionic/core/components/ion-tabs.js';
|
|
89
|
+
import { defineCustomElement as defineCustomElement$1j } from '@ionic/core/components/ion-tab-bar.js';
|
|
90
|
+
import { defineCustomElement as defineCustomElement$1k } from '@ionic/core/components/ion-app.js';
|
|
91
|
+
import { defineCustomElement as defineCustomElement$1m } from 'ionicons/components/ion-icon.js';
|
|
92
|
+
import { defineCustomElement as defineCustomElement$1n } from '@ionic/core/components/ion-action-sheet.js';
|
|
93
|
+
import { defineCustomElement as defineCustomElement$1o } from '@ionic/core/components/ion-alert.js';
|
|
94
|
+
import { defineCustomElement as defineCustomElement$1p } from '@ionic/core/components/ion-loading.js';
|
|
95
|
+
import { defineCustomElement as defineCustomElement$1q } from '@ionic/core/components/ion-modal.js';
|
|
96
|
+
import { defineCustomElement as defineCustomElement$1r } from '@ionic/core/components/ion-picker-legacy.js';
|
|
97
|
+
import { defineCustomElement as defineCustomElement$1s } from '@ionic/core/components/ion-popover.js';
|
|
98
|
+
import { defineCustomElement as defineCustomElement$1t } from '@ionic/core/components/ion-toast.js';
|
|
96
99
|
|
|
97
100
|
const UPDATE_VALUE_EVENT = 'update:modelValue';
|
|
98
101
|
const MODEL_VALUE = 'modelValue';
|
|
@@ -114,19 +117,8 @@ const DEFAULT_EMPTY_PROP$1 = { default: EMPTY_PROP$1 };
|
|
|
114
117
|
const getComponentClasses = (classes) => {
|
|
115
118
|
return classes?.split(' ') || [];
|
|
116
119
|
};
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
-
const element = ref.value;
|
|
120
|
-
// makes sure vue classes are on the actual element
|
|
121
|
-
componentClasses.forEach((c) => {
|
|
122
|
-
if (!!c && !element.classList.contains(c)) {
|
|
123
|
-
element.classList.add(c);
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
return [...Array.from(ref.value?.classList || []), ...defaultClasses].filter((c, i, self) => {
|
|
128
|
-
return !componentClasses.has(c) && self.indexOf(c) === i;
|
|
129
|
-
});
|
|
120
|
+
const getElementClasses = (ref, componentClasses, defaultClasses = []) => {
|
|
121
|
+
return [...Array.from(ref.value?.classList || []), ...defaultClasses].filter((c, i, self) => !componentClasses.has(c) && self.indexOf(c) === i);
|
|
130
122
|
};
|
|
131
123
|
/**
|
|
132
124
|
* Create a callback to define a Vue component wrapper around a Web Component.
|
|
@@ -142,9 +134,8 @@ const syncElementClasses = (ref, componentClasses, defaultClasses = []) => {
|
|
|
142
134
|
* to customElements.define. Only set if `includeImportCustomElements: true` in your config.
|
|
143
135
|
* @prop modelProp - The prop that v-model binds to (i.e. value)
|
|
144
136
|
* @prop modelUpdateEvent - The event that is fired from your Web Component when the value changes (i.e. ionChange)
|
|
145
|
-
* @prop modelUpdateEventAttribute - Property to read value from when the value changes.
|
|
146
137
|
*/
|
|
147
|
-
const defineContainer = (name, defineCustomElement, componentProps = [], emitProps = [], modelProp, modelUpdateEvent
|
|
138
|
+
const defineContainer = (name, defineCustomElement, componentProps = [], emitProps = [], modelProp, modelUpdateEvent) => {
|
|
148
139
|
/**
|
|
149
140
|
* Create a Vue component wrapper around a Web Component.
|
|
150
141
|
* Note: The `props` here are not all properties on a component.
|
|
@@ -189,7 +180,7 @@ const defineContainer = (name, defineCustomElement, componentProps = [], emitPro
|
|
|
189
180
|
*/
|
|
190
181
|
const vModelDirective = {
|
|
191
182
|
created: (el) => {
|
|
192
|
-
const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent];
|
|
183
|
+
const eventsNames = (Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent]).map((ev) => ev.replace(/-([a-z])/g, (g) => g[1].toUpperCase()));
|
|
193
184
|
eventsNames.forEach((eventName) => {
|
|
194
185
|
el.addEventListener(eventName, (e) => {
|
|
195
186
|
/**
|
|
@@ -200,11 +191,7 @@ const defineContainer = (name, defineCustomElement, componentProps = [], emitPro
|
|
|
200
191
|
* when ionChange bubbles up from Component B.
|
|
201
192
|
*/
|
|
202
193
|
if (e.target.tagName === el.tagName && modelProp) {
|
|
203
|
-
|
|
204
|
-
return path.split('.').reduce((value, key) => (value !== undefined ? value[key] : undefined), object);
|
|
205
|
-
};
|
|
206
|
-
const path = (modelUpdateEventAttribute ?? `target.${modelProp}`);
|
|
207
|
-
const modelPropValue = resolvePath(e, path);
|
|
194
|
+
modelPropValue = (e?.target)[modelProp];
|
|
208
195
|
emit(UPDATE_VALUE_EVENT, modelPropValue);
|
|
209
196
|
}
|
|
210
197
|
});
|
|
@@ -258,7 +245,7 @@ const defineContainer = (name, defineCustomElement, componentProps = [], emitPro
|
|
|
258
245
|
};
|
|
259
246
|
const propsToAdd = {
|
|
260
247
|
ref: containerRef,
|
|
261
|
-
class:
|
|
248
|
+
class: getElementClasses(containerRef, classes),
|
|
262
249
|
onClick: handleClick,
|
|
263
250
|
};
|
|
264
251
|
/**
|
|
@@ -306,8 +293,7 @@ const defineContainer = (name, defineCustomElement, componentProps = [], emitPro
|
|
|
306
293
|
* vModelDirective is only needed on components that support v-model.
|
|
307
294
|
* As a result, we conditionally call withDirectives with v-model components.
|
|
308
295
|
*/
|
|
309
|
-
const
|
|
310
|
-
const node = h(tagName, propsToAdd, slots.default && slots.default());
|
|
296
|
+
const node = h(name, propsToAdd, slots.default && slots.default());
|
|
311
297
|
return modelProp === undefined ? node : withDirectives(node, [[vModelDirective]]);
|
|
312
298
|
};
|
|
313
299
|
}, {
|
|
@@ -334,13 +320,18 @@ const IonAccordionGroup = /*@__PURE__*/ defineContainer('ion-accordion-group', d
|
|
|
334
320
|
'disabled',
|
|
335
321
|
'readonly',
|
|
336
322
|
'expand',
|
|
323
|
+
'shape',
|
|
337
324
|
'ionChange',
|
|
338
325
|
'ionValueChange'
|
|
339
326
|
], [
|
|
340
327
|
'ionChange',
|
|
341
328
|
'ionValueChange'
|
|
342
|
-
], 'value', '
|
|
343
|
-
const IonAvatar = /*@__PURE__*/ defineContainer('ion-avatar', defineCustomElement$2
|
|
329
|
+
], 'value', 'ion-change');
|
|
330
|
+
const IonAvatar = /*@__PURE__*/ defineContainer('ion-avatar', defineCustomElement$2, [
|
|
331
|
+
'size',
|
|
332
|
+
'shape',
|
|
333
|
+
'disabled'
|
|
334
|
+
]);
|
|
344
335
|
const IonBackdrop = /*@__PURE__*/ defineContainer('ion-backdrop', defineCustomElement$3, [
|
|
345
336
|
'visible',
|
|
346
337
|
'tappable',
|
|
@@ -350,7 +341,11 @@ const IonBackdrop = /*@__PURE__*/ defineContainer('ion-backdrop', defineCustomEl
|
|
|
350
341
|
'ionBackdropTap'
|
|
351
342
|
]);
|
|
352
343
|
const IonBadge = /*@__PURE__*/ defineContainer('ion-badge', defineCustomElement$4, [
|
|
353
|
-
'color'
|
|
344
|
+
'color',
|
|
345
|
+
'hue',
|
|
346
|
+
'shape',
|
|
347
|
+
'size',
|
|
348
|
+
'vertical'
|
|
354
349
|
]);
|
|
355
350
|
const IonBreadcrumb = /*@__PURE__*/ defineContainer('ion-breadcrumb', defineCustomElement$5, [
|
|
356
351
|
'collapsed',
|
|
@@ -419,6 +414,7 @@ const IonCard = /*@__PURE__*/ defineContainer('ion-card', defineCustomElement$9,
|
|
|
419
414
|
'rel',
|
|
420
415
|
'routerDirection',
|
|
421
416
|
'routerAnimation',
|
|
417
|
+
'shape',
|
|
422
418
|
'target'
|
|
423
419
|
]);
|
|
424
420
|
const IonCardContent = /*@__PURE__*/ defineContainer('ion-card-content', defineCustomElement$a);
|
|
@@ -445,6 +441,8 @@ const IonCheckbox = /*@__PURE__*/ defineContainer('ion-checkbox', defineCustomEl
|
|
|
445
441
|
'justify',
|
|
446
442
|
'alignment',
|
|
447
443
|
'required',
|
|
444
|
+
'shape',
|
|
445
|
+
'size',
|
|
448
446
|
'ionChange',
|
|
449
447
|
'ionFocus',
|
|
450
448
|
'ionBlur'
|
|
@@ -452,11 +450,14 @@ const IonCheckbox = /*@__PURE__*/ defineContainer('ion-checkbox', defineCustomEl
|
|
|
452
450
|
'ionChange',
|
|
453
451
|
'ionFocus',
|
|
454
452
|
'ionBlur'
|
|
455
|
-
], 'checked', '
|
|
453
|
+
], 'checked', 'ion-change');
|
|
456
454
|
const IonChip = /*@__PURE__*/ defineContainer('ion-chip', defineCustomElement$f, [
|
|
457
455
|
'color',
|
|
458
456
|
'outline',
|
|
459
|
-
'disabled'
|
|
457
|
+
'disabled',
|
|
458
|
+
'hue',
|
|
459
|
+
'shape',
|
|
460
|
+
'size'
|
|
460
461
|
]);
|
|
461
462
|
const IonCol = /*@__PURE__*/ defineContainer('ion-col', defineCustomElement$g, [
|
|
462
463
|
'offset',
|
|
@@ -465,6 +466,12 @@ const IonCol = /*@__PURE__*/ defineContainer('ion-col', defineCustomElement$g, [
|
|
|
465
466
|
'offsetMd',
|
|
466
467
|
'offsetLg',
|
|
467
468
|
'offsetXl',
|
|
469
|
+
'order',
|
|
470
|
+
'orderXs',
|
|
471
|
+
'orderSm',
|
|
472
|
+
'orderMd',
|
|
473
|
+
'orderLg',
|
|
474
|
+
'orderXl',
|
|
468
475
|
'pull',
|
|
469
476
|
'pullXs',
|
|
470
477
|
'pullSm',
|
|
@@ -547,19 +554,23 @@ const IonDatetime = /*@__PURE__*/ defineContainer('ion-datetime', defineCustomEl
|
|
|
547
554
|
'ionBlur',
|
|
548
555
|
'ionStyle',
|
|
549
556
|
'ionRender'
|
|
550
|
-
], 'value', '
|
|
557
|
+
], 'value', 'ion-change');
|
|
551
558
|
const IonDatetimeButton = /*@__PURE__*/ defineContainer('ion-datetime-button', defineCustomElement$j, [
|
|
552
559
|
'color',
|
|
553
560
|
'disabled',
|
|
554
561
|
'datetime'
|
|
555
562
|
]);
|
|
556
|
-
const
|
|
563
|
+
const IonDivider = /*@__PURE__*/ defineContainer('ion-divider', defineCustomElement$k, [
|
|
564
|
+
'spacing',
|
|
565
|
+
'inset'
|
|
566
|
+
]);
|
|
567
|
+
const IonFab = /*@__PURE__*/ defineContainer('ion-fab', defineCustomElement$l, [
|
|
557
568
|
'horizontal',
|
|
558
569
|
'vertical',
|
|
559
570
|
'edge',
|
|
560
571
|
'activated'
|
|
561
572
|
]);
|
|
562
|
-
const IonFabButton = /*@__PURE__*/ defineContainer('ion-fab-button', defineCustomElement$
|
|
573
|
+
const IonFabButton = /*@__PURE__*/ defineContainer('ion-fab-button', defineCustomElement$m, [
|
|
563
574
|
'color',
|
|
564
575
|
'activated',
|
|
565
576
|
'disabled',
|
|
@@ -580,22 +591,29 @@ const IonFabButton = /*@__PURE__*/ defineContainer('ion-fab-button', defineCusto
|
|
|
580
591
|
'ionFocus',
|
|
581
592
|
'ionBlur'
|
|
582
593
|
]);
|
|
583
|
-
const IonFabList = /*@__PURE__*/ defineContainer('ion-fab-list', defineCustomElement$
|
|
594
|
+
const IonFabList = /*@__PURE__*/ defineContainer('ion-fab-list', defineCustomElement$n, [
|
|
584
595
|
'activated',
|
|
585
596
|
'side'
|
|
586
597
|
]);
|
|
587
|
-
const IonFooter = /*@__PURE__*/ defineContainer('ion-footer', defineCustomElement$
|
|
598
|
+
const IonFooter = /*@__PURE__*/ defineContainer('ion-footer', defineCustomElement$o, [
|
|
588
599
|
'collapse',
|
|
589
600
|
'translucent'
|
|
590
601
|
]);
|
|
591
|
-
const
|
|
602
|
+
const IonGallery = /*@__PURE__*/ defineContainer('ion-gallery', defineCustomElement$p, [
|
|
603
|
+
'layout',
|
|
604
|
+
'order',
|
|
605
|
+
'columns',
|
|
606
|
+
'gap'
|
|
607
|
+
]);
|
|
608
|
+
const IonGrid = /*@__PURE__*/ defineContainer('ion-grid', defineCustomElement$q, [
|
|
592
609
|
'fixed'
|
|
593
610
|
]);
|
|
594
|
-
const IonHeader = /*@__PURE__*/ defineContainer('ion-header', defineCustomElement$
|
|
611
|
+
const IonHeader = /*@__PURE__*/ defineContainer('ion-header', defineCustomElement$r, [
|
|
595
612
|
'collapse',
|
|
613
|
+
'divider',
|
|
596
614
|
'translucent'
|
|
597
615
|
]);
|
|
598
|
-
const IonImg = /*@__PURE__*/ defineContainer('ion-img', defineCustomElement$
|
|
616
|
+
const IonImg = /*@__PURE__*/ defineContainer('ion-img', defineCustomElement$s, [
|
|
599
617
|
'alt',
|
|
600
618
|
'src',
|
|
601
619
|
'ionImgWillLoad',
|
|
@@ -606,19 +624,20 @@ const IonImg = /*@__PURE__*/ defineContainer('ion-img', defineCustomElement$q, [
|
|
|
606
624
|
'ionImgDidLoad',
|
|
607
625
|
'ionError'
|
|
608
626
|
]);
|
|
609
|
-
const IonInfiniteScroll = /*@__PURE__*/ defineContainer('ion-infinite-scroll', defineCustomElement$
|
|
627
|
+
const IonInfiniteScroll = /*@__PURE__*/ defineContainer('ion-infinite-scroll', defineCustomElement$t, [
|
|
610
628
|
'threshold',
|
|
611
629
|
'disabled',
|
|
612
630
|
'position',
|
|
631
|
+
'preserveRerenderScrollPosition',
|
|
613
632
|
'ionInfinite'
|
|
614
633
|
], [
|
|
615
634
|
'ionInfinite'
|
|
616
635
|
]);
|
|
617
|
-
const IonInfiniteScrollContent = /*@__PURE__*/ defineContainer('ion-infinite-scroll-content', defineCustomElement$
|
|
636
|
+
const IonInfiniteScrollContent = /*@__PURE__*/ defineContainer('ion-infinite-scroll-content', defineCustomElement$u, [
|
|
618
637
|
'loadingSpinner',
|
|
619
638
|
'loadingText'
|
|
620
639
|
]);
|
|
621
|
-
const IonInput = /*@__PURE__*/ defineContainer('ion-input', defineCustomElement$
|
|
640
|
+
const IonInput = /*@__PURE__*/ defineContainer('ion-input', defineCustomElement$v, [
|
|
622
641
|
'color',
|
|
623
642
|
'autocapitalize',
|
|
624
643
|
'autocomplete',
|
|
@@ -651,6 +670,7 @@ const IonInput = /*@__PURE__*/ defineContainer('ion-input', defineCustomElement$
|
|
|
651
670
|
'shape',
|
|
652
671
|
'spellcheck',
|
|
653
672
|
'step',
|
|
673
|
+
'size',
|
|
654
674
|
'type',
|
|
655
675
|
'value',
|
|
656
676
|
'ionInput',
|
|
@@ -662,8 +682,8 @@ const IonInput = /*@__PURE__*/ defineContainer('ion-input', defineCustomElement$
|
|
|
662
682
|
'ionChange',
|
|
663
683
|
'ionBlur',
|
|
664
684
|
'ionFocus'
|
|
665
|
-
], 'value', '
|
|
666
|
-
const IonInputOtp = /*@__PURE__*/ defineContainer('ion-input-otp', defineCustomElement$
|
|
685
|
+
], 'value', 'ion-input');
|
|
686
|
+
const IonInputOtp = /*@__PURE__*/ defineContainer('ion-input-otp', defineCustomElement$w, [
|
|
667
687
|
'autocapitalize',
|
|
668
688
|
'color',
|
|
669
689
|
'disabled',
|
|
@@ -688,14 +708,14 @@ const IonInputOtp = /*@__PURE__*/ defineContainer('ion-input-otp', defineCustomE
|
|
|
688
708
|
'ionComplete',
|
|
689
709
|
'ionBlur',
|
|
690
710
|
'ionFocus'
|
|
691
|
-
], 'value', '
|
|
692
|
-
const IonInputPasswordToggle = /*@__PURE__*/ defineContainer('ion-input-password-toggle', defineCustomElement$
|
|
711
|
+
], 'value', 'ion-input');
|
|
712
|
+
const IonInputPasswordToggle = /*@__PURE__*/ defineContainer('ion-input-password-toggle', defineCustomElement$x, [
|
|
693
713
|
'color',
|
|
694
714
|
'showIcon',
|
|
695
715
|
'hideIcon',
|
|
696
716
|
'type'
|
|
697
717
|
]);
|
|
698
|
-
const IonItem = /*@__PURE__*/ defineContainer('ion-item', defineCustomElement$
|
|
718
|
+
const IonItem = /*@__PURE__*/ defineContainer('ion-item', defineCustomElement$y, [
|
|
699
719
|
'color',
|
|
700
720
|
'button',
|
|
701
721
|
'detail',
|
|
@@ -710,34 +730,36 @@ const IonItem = /*@__PURE__*/ defineContainer('ion-item', defineCustomElement$w,
|
|
|
710
730
|
'target',
|
|
711
731
|
'type'
|
|
712
732
|
]);
|
|
713
|
-
const IonItemDivider = /*@__PURE__*/ defineContainer('ion-item-divider', defineCustomElement$
|
|
733
|
+
const IonItemDivider = /*@__PURE__*/ defineContainer('ion-item-divider', defineCustomElement$z, [
|
|
714
734
|
'color',
|
|
715
735
|
'sticky'
|
|
716
736
|
]);
|
|
717
|
-
const IonItemGroup = /*@__PURE__*/ defineContainer('ion-item-group', defineCustomElement$
|
|
718
|
-
const IonItemOption = /*@__PURE__*/ defineContainer('ion-item-option', defineCustomElement$
|
|
737
|
+
const IonItemGroup = /*@__PURE__*/ defineContainer('ion-item-group', defineCustomElement$A);
|
|
738
|
+
const IonItemOption = /*@__PURE__*/ defineContainer('ion-item-option', defineCustomElement$B, [
|
|
719
739
|
'color',
|
|
720
740
|
'disabled',
|
|
721
741
|
'download',
|
|
722
742
|
'expandable',
|
|
723
743
|
'href',
|
|
744
|
+
'hue',
|
|
724
745
|
'rel',
|
|
725
746
|
'target',
|
|
726
|
-
'type'
|
|
747
|
+
'type',
|
|
748
|
+
'shape'
|
|
727
749
|
]);
|
|
728
|
-
const IonItemOptions = /*@__PURE__*/ defineContainer('ion-item-options', defineCustomElement$
|
|
750
|
+
const IonItemOptions = /*@__PURE__*/ defineContainer('ion-item-options', defineCustomElement$C, [
|
|
729
751
|
'side',
|
|
730
752
|
'ionSwipe'
|
|
731
753
|
], [
|
|
732
754
|
'ionSwipe'
|
|
733
755
|
]);
|
|
734
|
-
const IonItemSliding = /*@__PURE__*/ defineContainer('ion-item-sliding', defineCustomElement$
|
|
756
|
+
const IonItemSliding = /*@__PURE__*/ defineContainer('ion-item-sliding', defineCustomElement$D, [
|
|
735
757
|
'disabled',
|
|
736
758
|
'ionDrag'
|
|
737
759
|
], [
|
|
738
760
|
'ionDrag'
|
|
739
761
|
]);
|
|
740
|
-
const IonLabel = /*@__PURE__*/ defineContainer('ion-label', defineCustomElement$
|
|
762
|
+
const IonLabel = /*@__PURE__*/ defineContainer('ion-label', defineCustomElement$E, [
|
|
741
763
|
'color',
|
|
742
764
|
'position',
|
|
743
765
|
'ionColor',
|
|
@@ -746,15 +768,16 @@ const IonLabel = /*@__PURE__*/ defineContainer('ion-label', defineCustomElement$
|
|
|
746
768
|
'ionColor',
|
|
747
769
|
'ionStyle'
|
|
748
770
|
]);
|
|
749
|
-
const IonList = /*@__PURE__*/ defineContainer('ion-list', defineCustomElement$
|
|
771
|
+
const IonList = /*@__PURE__*/ defineContainer('ion-list', defineCustomElement$F, [
|
|
750
772
|
'lines',
|
|
751
|
-
'inset'
|
|
773
|
+
'inset',
|
|
774
|
+
'shape'
|
|
752
775
|
]);
|
|
753
|
-
const IonListHeader = /*@__PURE__*/ defineContainer('ion-list-header', defineCustomElement$
|
|
776
|
+
const IonListHeader = /*@__PURE__*/ defineContainer('ion-list-header', defineCustomElement$G, [
|
|
754
777
|
'color',
|
|
755
778
|
'lines'
|
|
756
779
|
]);
|
|
757
|
-
const IonMenu = /*@__PURE__*/ defineContainer('ion-menu', defineCustomElement$
|
|
780
|
+
const IonMenu = /*@__PURE__*/ defineContainer('ion-menu', defineCustomElement$H, [
|
|
758
781
|
'contentId',
|
|
759
782
|
'menuId',
|
|
760
783
|
'type',
|
|
@@ -774,32 +797,32 @@ const IonMenu = /*@__PURE__*/ defineContainer('ion-menu', defineCustomElement$F,
|
|
|
774
797
|
'ionDidClose',
|
|
775
798
|
'ionMenuChange'
|
|
776
799
|
]);
|
|
777
|
-
const IonMenuButton = /*@__PURE__*/ defineContainer('ion-menu-button', defineCustomElement$
|
|
800
|
+
const IonMenuButton = /*@__PURE__*/ defineContainer('ion-menu-button', defineCustomElement$I, [
|
|
778
801
|
'color',
|
|
779
802
|
'disabled',
|
|
780
803
|
'menu',
|
|
781
804
|
'autoHide',
|
|
782
805
|
'type'
|
|
783
806
|
]);
|
|
784
|
-
const IonMenuToggle = /*@__PURE__*/ defineContainer('ion-menu-toggle', defineCustomElement$
|
|
807
|
+
const IonMenuToggle = /*@__PURE__*/ defineContainer('ion-menu-toggle', defineCustomElement$J, [
|
|
785
808
|
'menu',
|
|
786
809
|
'autoHide'
|
|
787
810
|
]);
|
|
788
|
-
const IonNavLink = /*@__PURE__*/ defineContainer('ion-nav-link', defineCustomElement$
|
|
811
|
+
const IonNavLink = /*@__PURE__*/ defineContainer('ion-nav-link', defineCustomElement$K, [
|
|
789
812
|
'component',
|
|
790
813
|
'componentProps',
|
|
791
814
|
'routerDirection',
|
|
792
815
|
'routerAnimation'
|
|
793
816
|
]);
|
|
794
|
-
const IonNote = /*@__PURE__*/ defineContainer('ion-note', defineCustomElement$
|
|
817
|
+
const IonNote = /*@__PURE__*/ defineContainer('ion-note', defineCustomElement$L, [
|
|
795
818
|
'color'
|
|
796
819
|
]);
|
|
797
|
-
const IonPicker = /*@__PURE__*/ defineContainer('ion-picker', defineCustomElement$
|
|
820
|
+
const IonPicker = /*@__PURE__*/ defineContainer('ion-picker', defineCustomElement$M, [
|
|
798
821
|
'ionInputModeChange'
|
|
799
822
|
], [
|
|
800
823
|
'ionInputModeChange'
|
|
801
824
|
]);
|
|
802
|
-
const IonPickerColumn = /*@__PURE__*/ defineContainer('ion-picker-column', defineCustomElement$
|
|
825
|
+
const IonPickerColumn = /*@__PURE__*/ defineContainer('ion-picker-column', defineCustomElement$N, [
|
|
803
826
|
'disabled',
|
|
804
827
|
'value',
|
|
805
828
|
'color',
|
|
@@ -808,19 +831,20 @@ const IonPickerColumn = /*@__PURE__*/ defineContainer('ion-picker-column', defin
|
|
|
808
831
|
], [
|
|
809
832
|
'ionChange'
|
|
810
833
|
]);
|
|
811
|
-
const IonPickerColumnOption = /*@__PURE__*/ defineContainer('ion-picker-column-option', defineCustomElement$
|
|
834
|
+
const IonPickerColumnOption = /*@__PURE__*/ defineContainer('ion-picker-column-option', defineCustomElement$O, [
|
|
812
835
|
'disabled',
|
|
813
836
|
'value',
|
|
814
837
|
'color'
|
|
815
838
|
]);
|
|
816
|
-
const IonProgressBar = /*@__PURE__*/ defineContainer('ion-progress-bar', defineCustomElement$
|
|
839
|
+
const IonProgressBar = /*@__PURE__*/ defineContainer('ion-progress-bar', defineCustomElement$P, [
|
|
817
840
|
'type',
|
|
818
841
|
'reversed',
|
|
819
842
|
'value',
|
|
820
843
|
'buffer',
|
|
821
|
-
'color'
|
|
844
|
+
'color',
|
|
845
|
+
'shape'
|
|
822
846
|
]);
|
|
823
|
-
const IonRadio = /*@__PURE__*/ defineContainer('ion-radio', defineCustomElement$
|
|
847
|
+
const IonRadio = /*@__PURE__*/ defineContainer('ion-radio', defineCustomElement$Q, [
|
|
824
848
|
'color',
|
|
825
849
|
'name',
|
|
826
850
|
'disabled',
|
|
@@ -833,8 +857,8 @@ const IonRadio = /*@__PURE__*/ defineContainer('ion-radio', defineCustomElement$
|
|
|
833
857
|
], [
|
|
834
858
|
'ionFocus',
|
|
835
859
|
'ionBlur'
|
|
836
|
-
], 'value', '
|
|
837
|
-
const IonRadioGroup = /*@__PURE__*/ defineContainer('ion-radio-group', defineCustomElement$
|
|
860
|
+
], 'value', 'ion-change');
|
|
861
|
+
const IonRadioGroup = /*@__PURE__*/ defineContainer('ion-radio-group', defineCustomElement$R, [
|
|
838
862
|
'allowEmptySelection',
|
|
839
863
|
'compareWith',
|
|
840
864
|
'name',
|
|
@@ -846,8 +870,8 @@ const IonRadioGroup = /*@__PURE__*/ defineContainer('ion-radio-group', defineCus
|
|
|
846
870
|
], [
|
|
847
871
|
'ionChange',
|
|
848
872
|
'ionValueChange'
|
|
849
|
-
], 'value', '
|
|
850
|
-
const IonRange = /*@__PURE__*/ defineContainer('ion-range', defineCustomElement$
|
|
873
|
+
], 'value', 'ion-change');
|
|
874
|
+
const IonRange = /*@__PURE__*/ defineContainer('ion-range', defineCustomElement$S, [
|
|
851
875
|
'color',
|
|
852
876
|
'debounce',
|
|
853
877
|
'name',
|
|
@@ -877,8 +901,8 @@ const IonRange = /*@__PURE__*/ defineContainer('ion-range', defineCustomElement$
|
|
|
877
901
|
'ionBlur',
|
|
878
902
|
'ionKnobMoveStart',
|
|
879
903
|
'ionKnobMoveEnd'
|
|
880
|
-
], 'value', '
|
|
881
|
-
const IonRefresher = /*@__PURE__*/ defineContainer('ion-refresher', defineCustomElement$
|
|
904
|
+
], 'value', 'ion-input');
|
|
905
|
+
const IonRefresher = /*@__PURE__*/ defineContainer('ion-refresher', defineCustomElement$T, [
|
|
882
906
|
'pullMin',
|
|
883
907
|
'pullMax',
|
|
884
908
|
'closeDuration',
|
|
@@ -897,14 +921,14 @@ const IonRefresher = /*@__PURE__*/ defineContainer('ion-refresher', defineCustom
|
|
|
897
921
|
'ionPullStart',
|
|
898
922
|
'ionPullEnd'
|
|
899
923
|
]);
|
|
900
|
-
const IonRefresherContent = /*@__PURE__*/ defineContainer('ion-refresher-content', defineCustomElement$
|
|
924
|
+
const IonRefresherContent = /*@__PURE__*/ defineContainer('ion-refresher-content', defineCustomElement$U, [
|
|
901
925
|
'pullingIcon',
|
|
902
926
|
'pullingText',
|
|
903
927
|
'refreshingSpinner',
|
|
904
928
|
'refreshingText'
|
|
905
929
|
]);
|
|
906
|
-
const IonReorder = /*@__PURE__*/ defineContainer('ion-reorder', defineCustomElement$
|
|
907
|
-
const IonReorderGroup = /*@__PURE__*/ defineContainer('ion-reorder-group', defineCustomElement$
|
|
930
|
+
const IonReorder = /*@__PURE__*/ defineContainer('ion-reorder', defineCustomElement$V);
|
|
931
|
+
const IonReorderGroup = /*@__PURE__*/ defineContainer('ion-reorder-group', defineCustomElement$W, [
|
|
908
932
|
'disabled',
|
|
909
933
|
'ionItemReorder',
|
|
910
934
|
'ionReorderStart',
|
|
@@ -916,11 +940,11 @@ const IonReorderGroup = /*@__PURE__*/ defineContainer('ion-reorder-group', defin
|
|
|
916
940
|
'ionReorderMove',
|
|
917
941
|
'ionReorderEnd'
|
|
918
942
|
]);
|
|
919
|
-
const IonRippleEffect = /*@__PURE__*/ defineContainer('ion-ripple-effect', defineCustomElement$
|
|
943
|
+
const IonRippleEffect = /*@__PURE__*/ defineContainer('ion-ripple-effect', defineCustomElement$X, [
|
|
920
944
|
'type'
|
|
921
945
|
]);
|
|
922
|
-
const IonRow = /*@__PURE__*/ defineContainer('ion-row', defineCustomElement$
|
|
923
|
-
const IonSearchbar = /*@__PURE__*/ defineContainer('ion-searchbar', defineCustomElement$
|
|
946
|
+
const IonRow = /*@__PURE__*/ defineContainer('ion-row', defineCustomElement$Y);
|
|
947
|
+
const IonSearchbar = /*@__PURE__*/ defineContainer('ion-searchbar', defineCustomElement$Z, [
|
|
924
948
|
'color',
|
|
925
949
|
'animated',
|
|
926
950
|
'autocapitalize',
|
|
@@ -943,6 +967,8 @@ const IonSearchbar = /*@__PURE__*/ defineContainer('ion-searchbar', defineCustom
|
|
|
943
967
|
'spellcheck',
|
|
944
968
|
'type',
|
|
945
969
|
'value',
|
|
970
|
+
'shape',
|
|
971
|
+
'size',
|
|
946
972
|
'ionInput',
|
|
947
973
|
'ionChange',
|
|
948
974
|
'ionCancel',
|
|
@@ -958,8 +984,8 @@ const IonSearchbar = /*@__PURE__*/ defineContainer('ion-searchbar', defineCustom
|
|
|
958
984
|
'ionBlur',
|
|
959
985
|
'ionFocus',
|
|
960
986
|
'ionStyle'
|
|
961
|
-
], 'value', '
|
|
962
|
-
const IonSegment = /*@__PURE__*/ defineContainer('ion-segment', defineCustomElement$
|
|
987
|
+
], 'value', 'ion-input');
|
|
988
|
+
const IonSegment = /*@__PURE__*/ defineContainer('ion-segment', defineCustomElement$_, [
|
|
963
989
|
'color',
|
|
964
990
|
'disabled',
|
|
965
991
|
'scrollable',
|
|
@@ -973,24 +999,25 @@ const IonSegment = /*@__PURE__*/ defineContainer('ion-segment', defineCustomElem
|
|
|
973
999
|
'ionChange',
|
|
974
1000
|
'ionSelect',
|
|
975
1001
|
'ionStyle'
|
|
976
|
-
], 'value', '
|
|
977
|
-
const IonSegmentButton = /*@__PURE__*/ defineContainer('ion-segment-button', defineCustomElement
|
|
1002
|
+
], 'value', 'ion-change');
|
|
1003
|
+
const IonSegmentButton = /*@__PURE__*/ defineContainer('ion-segment-button', defineCustomElement$$, [
|
|
978
1004
|
'contentId',
|
|
979
1005
|
'disabled',
|
|
980
1006
|
'layout',
|
|
981
1007
|
'type',
|
|
982
1008
|
'value'
|
|
983
|
-
], [], 'value', '
|
|
984
|
-
const IonSegmentContent = /*@__PURE__*/ defineContainer('ion-segment-content', defineCustomElement$
|
|
985
|
-
const IonSegmentView = /*@__PURE__*/ defineContainer('ion-segment-view', defineCustomElement
|
|
1009
|
+
], [], 'value', 'ion-change');
|
|
1010
|
+
const IonSegmentContent = /*@__PURE__*/ defineContainer('ion-segment-content', defineCustomElement$10);
|
|
1011
|
+
const IonSegmentView = /*@__PURE__*/ defineContainer('ion-segment-view', defineCustomElement$11, [
|
|
986
1012
|
'disabled',
|
|
987
1013
|
'swipeGesture',
|
|
988
1014
|
'ionSegmentViewScroll'
|
|
989
1015
|
], [
|
|
990
1016
|
'ionSegmentViewScroll'
|
|
991
1017
|
]);
|
|
992
|
-
const IonSelect = /*@__PURE__*/ defineContainer('ion-select', defineCustomElement$
|
|
1018
|
+
const IonSelect = /*@__PURE__*/ defineContainer('ion-select', defineCustomElement$12, [
|
|
993
1019
|
'cancelText',
|
|
1020
|
+
'cancelIcon',
|
|
994
1021
|
'color',
|
|
995
1022
|
'compareWith',
|
|
996
1023
|
'disabled',
|
|
@@ -1009,9 +1036,10 @@ const IonSelect = /*@__PURE__*/ defineContainer('ion-select', defineCustomElemen
|
|
|
1009
1036
|
'selectedText',
|
|
1010
1037
|
'toggleIcon',
|
|
1011
1038
|
'expandedIcon',
|
|
1039
|
+
'required',
|
|
1012
1040
|
'shape',
|
|
1041
|
+
'size',
|
|
1013
1042
|
'value',
|
|
1014
|
-
'required',
|
|
1015
1043
|
'ionChange',
|
|
1016
1044
|
'ionCancel',
|
|
1017
1045
|
'ionDismiss',
|
|
@@ -1025,30 +1053,35 @@ const IonSelect = /*@__PURE__*/ defineContainer('ion-select', defineCustomElemen
|
|
|
1025
1053
|
'ionFocus',
|
|
1026
1054
|
'ionBlur',
|
|
1027
1055
|
'ionStyle'
|
|
1028
|
-
], 'value', '
|
|
1029
|
-
const IonSelectModal = /*@__PURE__*/ defineContainer('ion-select-modal', defineCustomElement$
|
|
1056
|
+
], 'value', 'ion-change');
|
|
1057
|
+
const IonSelectModal = /*@__PURE__*/ defineContainer('ion-select-modal', defineCustomElement$13, [
|
|
1030
1058
|
'header',
|
|
1031
1059
|
'cancelText',
|
|
1060
|
+
'cancelIcon',
|
|
1032
1061
|
'multiple',
|
|
1033
1062
|
'options'
|
|
1034
1063
|
]);
|
|
1035
|
-
const IonSelectOption = /*@__PURE__*/ defineContainer('ion-select-option', defineCustomElement$
|
|
1064
|
+
const IonSelectOption = /*@__PURE__*/ defineContainer('ion-select-option', defineCustomElement$14, [
|
|
1036
1065
|
'disabled',
|
|
1037
|
-
'value'
|
|
1066
|
+
'value',
|
|
1067
|
+
'description',
|
|
1068
|
+
'labelPlacement',
|
|
1069
|
+
'justify'
|
|
1038
1070
|
]);
|
|
1039
|
-
const IonSkeletonText = /*@__PURE__*/ defineContainer('ion-skeleton-text', defineCustomElement$
|
|
1071
|
+
const IonSkeletonText = /*@__PURE__*/ defineContainer('ion-skeleton-text', defineCustomElement$15, [
|
|
1040
1072
|
'animated',
|
|
1041
1073
|
'ionStyle'
|
|
1042
1074
|
], [
|
|
1043
1075
|
'ionStyle'
|
|
1044
1076
|
]);
|
|
1045
|
-
const IonSpinner = /*@__PURE__*/ defineContainer('ion-spinner', defineCustomElement$
|
|
1077
|
+
const IonSpinner = /*@__PURE__*/ defineContainer('ion-spinner', defineCustomElement$16, [
|
|
1046
1078
|
'color',
|
|
1047
1079
|
'duration',
|
|
1048
1080
|
'name',
|
|
1049
|
-
'paused'
|
|
1081
|
+
'paused',
|
|
1082
|
+
'size'
|
|
1050
1083
|
]);
|
|
1051
|
-
const IonSplitPane = /*@__PURE__*/ defineContainer('ion-split-pane', defineCustomElement$
|
|
1084
|
+
const IonSplitPane = /*@__PURE__*/ defineContainer('ion-split-pane', defineCustomElement$17, [
|
|
1052
1085
|
'contentId',
|
|
1053
1086
|
'disabled',
|
|
1054
1087
|
'when',
|
|
@@ -1056,16 +1089,16 @@ const IonSplitPane = /*@__PURE__*/ defineContainer('ion-split-pane', defineCusto
|
|
|
1056
1089
|
], [
|
|
1057
1090
|
'ionSplitPaneVisible'
|
|
1058
1091
|
]);
|
|
1059
|
-
const IonTab = /*@__PURE__*/ defineContainer('ion-tab', defineCustomElement$
|
|
1092
|
+
const IonTab = /*@__PURE__*/ defineContainer('ion-tab', defineCustomElement$18, [
|
|
1060
1093
|
'active',
|
|
1061
1094
|
'delegate',
|
|
1062
1095
|
'tab',
|
|
1063
1096
|
'component'
|
|
1064
1097
|
]);
|
|
1065
|
-
const IonText = /*@__PURE__*/ defineContainer('ion-text', defineCustomElement$
|
|
1098
|
+
const IonText = /*@__PURE__*/ defineContainer('ion-text', defineCustomElement$19, [
|
|
1066
1099
|
'color'
|
|
1067
1100
|
]);
|
|
1068
|
-
const IonTextarea = /*@__PURE__*/ defineContainer('ion-textarea', defineCustomElement$
|
|
1101
|
+
const IonTextarea = /*@__PURE__*/ defineContainer('ion-textarea', defineCustomElement$1a, [
|
|
1069
1102
|
'color',
|
|
1070
1103
|
'autocapitalize',
|
|
1071
1104
|
'autofocus',
|
|
@@ -1094,6 +1127,7 @@ const IonTextarea = /*@__PURE__*/ defineContainer('ion-textarea', defineCustomEl
|
|
|
1094
1127
|
'label',
|
|
1095
1128
|
'labelPlacement',
|
|
1096
1129
|
'shape',
|
|
1130
|
+
'size',
|
|
1097
1131
|
'ionChange',
|
|
1098
1132
|
'ionInput',
|
|
1099
1133
|
'ionBlur',
|
|
@@ -1103,16 +1137,16 @@ const IonTextarea = /*@__PURE__*/ defineContainer('ion-textarea', defineCustomEl
|
|
|
1103
1137
|
'ionInput',
|
|
1104
1138
|
'ionBlur',
|
|
1105
1139
|
'ionFocus'
|
|
1106
|
-
], 'value', '
|
|
1107
|
-
const IonThumbnail = /*@__PURE__*/ defineContainer('ion-thumbnail', defineCustomElement$
|
|
1108
|
-
const IonTitle = /*@__PURE__*/ defineContainer('ion-title', defineCustomElement$
|
|
1140
|
+
], 'value', 'ion-input');
|
|
1141
|
+
const IonThumbnail = /*@__PURE__*/ defineContainer('ion-thumbnail', defineCustomElement$1b);
|
|
1142
|
+
const IonTitle = /*@__PURE__*/ defineContainer('ion-title', defineCustomElement$1c, [
|
|
1109
1143
|
'color',
|
|
1110
1144
|
'size',
|
|
1111
1145
|
'ionStyle'
|
|
1112
1146
|
], [
|
|
1113
1147
|
'ionStyle'
|
|
1114
1148
|
]);
|
|
1115
|
-
const IonToggle = /*@__PURE__*/ defineContainer('ion-toggle', defineCustomElement$
|
|
1149
|
+
const IonToggle = /*@__PURE__*/ defineContainer('ion-toggle', defineCustomElement$1d, [
|
|
1116
1150
|
'color',
|
|
1117
1151
|
'name',
|
|
1118
1152
|
'checked',
|
|
@@ -1132,9 +1166,10 @@ const IonToggle = /*@__PURE__*/ defineContainer('ion-toggle', defineCustomElemen
|
|
|
1132
1166
|
'ionChange',
|
|
1133
1167
|
'ionFocus',
|
|
1134
1168
|
'ionBlur'
|
|
1135
|
-
], 'checked', '
|
|
1136
|
-
const IonToolbar = /*@__PURE__*/ defineContainer('ion-toolbar', defineCustomElement$
|
|
1137
|
-
'color'
|
|
1169
|
+
], 'checked', 'ion-change');
|
|
1170
|
+
const IonToolbar = /*@__PURE__*/ defineContainer('ion-toolbar', defineCustomElement$1e, [
|
|
1171
|
+
'color',
|
|
1172
|
+
'titlePlacement'
|
|
1138
1173
|
]);
|
|
1139
1174
|
|
|
1140
1175
|
const useBackButton = (priority, handler) => {
|
|
@@ -1297,10 +1332,10 @@ const IonicVue = {
|
|
|
1297
1332
|
};
|
|
1298
1333
|
|
|
1299
1334
|
const IonBackButton = /*@__PURE__*/ defineComponent((_, { attrs, slots }) => {
|
|
1300
|
-
defineCustomElement$
|
|
1335
|
+
defineCustomElement$1f();
|
|
1301
1336
|
// TODO(FW-2969): type
|
|
1302
1337
|
const ionRouter = inject("navManager");
|
|
1303
|
-
const onClick = (
|
|
1338
|
+
const onClick = () => {
|
|
1304
1339
|
/**
|
|
1305
1340
|
* When using ion-back-button outside of
|
|
1306
1341
|
* a routing context, ionRouter is undefined.
|
|
@@ -1308,17 +1343,6 @@ const IonBackButton = /*@__PURE__*/ defineComponent((_, { attrs, slots }) => {
|
|
|
1308
1343
|
if (ionRouter === undefined) {
|
|
1309
1344
|
return;
|
|
1310
1345
|
}
|
|
1311
|
-
/**
|
|
1312
|
-
* If ion-back-button is being used inside
|
|
1313
|
-
* of ion-nav (e.g. in a modal) then we should
|
|
1314
|
-
* not interact with the router. The core
|
|
1315
|
-
* ion-back-button component will handle the
|
|
1316
|
-
* nav.pop() in that case.
|
|
1317
|
-
*/
|
|
1318
|
-
const target = ev.target;
|
|
1319
|
-
if (target && target.closest("ion-nav") !== null) {
|
|
1320
|
-
return;
|
|
1321
|
-
}
|
|
1322
1346
|
const defaultHref = attrs["default-href"] || attrs["defaultHref"];
|
|
1323
1347
|
const routerAnimation = attrs["router-animation"] || attrs["routerAnimation"];
|
|
1324
1348
|
ionRouter.handleNavigateBack(defaultHref, routerAnimation);
|
|
@@ -1354,14 +1378,8 @@ const isViewVisible = (enteringEl) => {
|
|
|
1354
1378
|
const viewDepthKey = Symbol(0);
|
|
1355
1379
|
const IonRouterOutlet = /*@__PURE__*/ defineComponent({
|
|
1356
1380
|
name: "IonRouterOutlet",
|
|
1357
|
-
props: {
|
|
1358
|
-
swipeGesture: {
|
|
1359
|
-
type: Boolean,
|
|
1360
|
-
default: undefined,
|
|
1361
|
-
},
|
|
1362
|
-
},
|
|
1363
1381
|
setup() {
|
|
1364
|
-
defineCustomElement$
|
|
1382
|
+
defineCustomElement$1g();
|
|
1365
1383
|
const injectedRoute = inject(routeLocationKey);
|
|
1366
1384
|
const route = useRoute();
|
|
1367
1385
|
const depth = inject(viewDepthKey, 0);
|
|
@@ -1437,6 +1455,11 @@ const IonRouterOutlet = /*@__PURE__*/ defineComponent({
|
|
|
1437
1455
|
*/
|
|
1438
1456
|
{ deep: true });
|
|
1439
1457
|
const canStart = () => {
|
|
1458
|
+
const config = getConfig();
|
|
1459
|
+
const swipeEnabled = config &&
|
|
1460
|
+
config.get("swipeBackEnabled", ionRouterOutlet.value.mode === "ios");
|
|
1461
|
+
if (!swipeEnabled)
|
|
1462
|
+
return false;
|
|
1440
1463
|
const stack = viewStacks.getViewStack(id);
|
|
1441
1464
|
if (!stack || stack.length <= 1)
|
|
1442
1465
|
return false;
|
|
@@ -1727,15 +1750,7 @@ See https://ionicframework.com/docs/vue/navigation#ionpage for more information.
|
|
|
1727
1750
|
},
|
|
1728
1751
|
render() {
|
|
1729
1752
|
const { components, registerIonPage, injectedRoute } = this;
|
|
1730
|
-
|
|
1731
|
-
* Forward props selectively to avoid setting undefined values
|
|
1732
|
-
* that would override the web component's config-based defaults.
|
|
1733
|
-
*/
|
|
1734
|
-
const routerOutletProps = { ref: "ionRouterOutlet" };
|
|
1735
|
-
if (this.$props.swipeGesture !== undefined) {
|
|
1736
|
-
routerOutletProps.swipeGesture = this.$props.swipeGesture;
|
|
1737
|
-
}
|
|
1738
|
-
return h("ion-router-outlet", routerOutletProps, components &&
|
|
1753
|
+
return h("ion-router-outlet", { ref: "ionRouterOutlet" }, components &&
|
|
1739
1754
|
components.map((c) => {
|
|
1740
1755
|
var _a, _b;
|
|
1741
1756
|
let props = {
|
|
@@ -1804,7 +1819,7 @@ const IonTabButton = /*@__PURE__*/ defineComponent({
|
|
|
1804
1819
|
},
|
|
1805
1820
|
},
|
|
1806
1821
|
setup(props, { slots }) {
|
|
1807
|
-
defineCustomElement$
|
|
1822
|
+
defineCustomElement$1h();
|
|
1808
1823
|
// TODO(FW-2969): type
|
|
1809
1824
|
const ionRouter = inject("navManager", null);
|
|
1810
1825
|
const onClick = (ev) => {
|
|
@@ -1849,7 +1864,7 @@ const IonTabButton = /*@__PURE__*/ defineComponent({
|
|
|
1849
1864
|
if (ionRouter !== null) {
|
|
1850
1865
|
if (prevActiveTab === tab) {
|
|
1851
1866
|
if (originalHref !== currentHref) {
|
|
1852
|
-
ionRouter.resetTab(tab
|
|
1867
|
+
ionRouter.resetTab(tab);
|
|
1853
1868
|
}
|
|
1854
1869
|
}
|
|
1855
1870
|
else {
|
|
@@ -1933,7 +1948,7 @@ const IonTabs = /*@__PURE__*/ defineComponent({
|
|
|
1933
1948
|
* `selectedTab` from core, which may occur if the custom
|
|
1934
1949
|
* element is defined too early in the component's lifecycle.
|
|
1935
1950
|
*/
|
|
1936
|
-
defineCustomElement$
|
|
1951
|
+
defineCustomElement$1i();
|
|
1937
1952
|
},
|
|
1938
1953
|
render() {
|
|
1939
1954
|
const { slots, props } = this;
|
|
@@ -2139,36 +2154,31 @@ const IonTabBar = defineComponent({
|
|
|
2139
2154
|
};
|
|
2140
2155
|
}
|
|
2141
2156
|
});
|
|
2142
|
-
if (activeTab &&
|
|
2143
|
-
const prevHref = prevActiveTab
|
|
2144
|
-
? this.$data.tabState.tabs[prevActiveTab].currentHref
|
|
2145
|
-
: undefined;
|
|
2157
|
+
if (activeTab && prevActiveTab) {
|
|
2158
|
+
const prevHref = this.$data.tabState.tabs[prevActiveTab].currentHref;
|
|
2146
2159
|
/**
|
|
2147
2160
|
* If the tabs change or the url changes,
|
|
2148
2161
|
* update the currentHref for the active tab.
|
|
2149
|
-
* Ex: url changes from /tabs/tab1
|
|
2162
|
+
* Ex: url changes from /tabs/tab1 --> /tabs/tab1/child
|
|
2150
2163
|
* If we went to tab2 then back to tab1, we should
|
|
2151
2164
|
* land on /tabs/tab1/child instead of /tabs/tab1.
|
|
2152
|
-
*
|
|
2153
|
-
* Also runs on initial setup so a deep-loaded tab child
|
|
2154
|
-
* records its real pathname instead of `originalHref`.
|
|
2155
2165
|
*/
|
|
2156
|
-
if (activeTab !== prevActiveTab ||
|
|
2166
|
+
if (activeTab !== prevActiveTab ||
|
|
2167
|
+
prevHref !== (currentRoute === null || currentRoute === void 0 ? void 0 : currentRoute.pathname)) {
|
|
2157
2168
|
/**
|
|
2158
2169
|
* By default the search is `undefined` in Ionic Vue,
|
|
2159
2170
|
* but Vue Router can set the search to the empty string.
|
|
2160
2171
|
* We check for truthy here because empty string is falsy
|
|
2161
2172
|
* and currentRoute.search cannot ever be a boolean.
|
|
2162
2173
|
*/
|
|
2163
|
-
const search = currentRoute.search ? `?${currentRoute.search}` : "";
|
|
2164
|
-
tabs[activeTab] = Object.assign(Object.assign({}, tabs[activeTab]), { currentHref: currentRoute.pathname + search });
|
|
2174
|
+
const search = (currentRoute === null || currentRoute === void 0 ? void 0 : currentRoute.search) ? `?${currentRoute.search}` : "";
|
|
2175
|
+
tabs[activeTab] = Object.assign(Object.assign({}, tabs[activeTab]), { currentHref: (currentRoute === null || currentRoute === void 0 ? void 0 : currentRoute.pathname) + search });
|
|
2165
2176
|
}
|
|
2166
2177
|
/**
|
|
2167
2178
|
* If navigating back and the tabs change,
|
|
2168
2179
|
* set the previous tab back to its original href.
|
|
2169
2180
|
*/
|
|
2170
|
-
if (
|
|
2171
|
-
currentRoute.routerAction === "pop" &&
|
|
2181
|
+
if ((currentRoute === null || currentRoute === void 0 ? void 0 : currentRoute.routerAction) === "pop" &&
|
|
2172
2182
|
activeTab !== prevActiveTab) {
|
|
2173
2183
|
tabs[prevActiveTab] = Object.assign(Object.assign({}, tabs[prevActiveTab]), { currentHref: tabs[prevActiveTab].originalHref });
|
|
2174
2184
|
}
|
|
@@ -2224,7 +2234,7 @@ const IonTabBar = defineComponent({
|
|
|
2224
2234
|
ionRouter === null || ionRouter === void 0 ? void 0 : ionRouter.registerHistoryChangeListener(() => this.checkActiveTab(ionRouter));
|
|
2225
2235
|
},
|
|
2226
2236
|
setup(_, { slots }) {
|
|
2227
|
-
defineCustomElement$
|
|
2237
|
+
defineCustomElement$1j();
|
|
2228
2238
|
return () => {
|
|
2229
2239
|
return h("ion-tab-bar", { ref: "ionTabBar" }, slots.default && slots.default());
|
|
2230
2240
|
};
|
|
@@ -2233,7 +2243,7 @@ const IonTabBar = defineComponent({
|
|
|
2233
2243
|
|
|
2234
2244
|
const userComponents = shallowRef([]);
|
|
2235
2245
|
const IonApp = /*@__PURE__*/ defineComponent((_, { attrs, slots }) => {
|
|
2236
|
-
defineCustomElement$
|
|
2246
|
+
defineCustomElement$1k();
|
|
2237
2247
|
return () => {
|
|
2238
2248
|
return h("ion-app", Object.assign({ name: "IonApp" }, attrs), [slots.default && slots.default(), ...userComponents.value]);
|
|
2239
2249
|
};
|
|
@@ -2286,7 +2296,7 @@ const VueDelegate = (addFn = addTeleportedUserComponent, removeFn = removeTelepo
|
|
|
2286
2296
|
};
|
|
2287
2297
|
|
|
2288
2298
|
const IonNav = /*@__PURE__*/ defineComponent((props) => {
|
|
2289
|
-
defineCustomElement$
|
|
2299
|
+
defineCustomElement$1l();
|
|
2290
2300
|
const views = shallowRef([]);
|
|
2291
2301
|
/**
|
|
2292
2302
|
* Allows us to create the component
|
|
@@ -2333,7 +2343,7 @@ const IonNav = /*@__PURE__*/ defineComponent((props) => {
|
|
|
2333
2343
|
});
|
|
2334
2344
|
|
|
2335
2345
|
const IonIcon = /*@__PURE__*/ defineComponent((props, { slots }) => {
|
|
2336
|
-
defineCustomElement$
|
|
2346
|
+
defineCustomElement$1m();
|
|
2337
2347
|
return () => {
|
|
2338
2348
|
var _a, _b;
|
|
2339
2349
|
const { icon, ios, md, mode } = props;
|
|
@@ -2585,12 +2595,13 @@ const defineOverlayContainer = (name, defineCustomElement, componentProps = [],
|
|
|
2585
2595
|
* This is an autogenerated file created by 'scripts/copy-overlays.js'.
|
|
2586
2596
|
* Changes made to this file will be overwritten on build.
|
|
2587
2597
|
*/
|
|
2588
|
-
const IonActionSheet = /*@__PURE__*/ defineOverlayContainer('ion-action-sheet', defineCustomElement$
|
|
2589
|
-
const IonAlert = /*@__PURE__*/ defineOverlayContainer('ion-alert', defineCustomElement$
|
|
2590
|
-
const IonLoading = /*@__PURE__*/ defineOverlayContainer('ion-loading', defineCustomElement$
|
|
2591
|
-
const IonModal = /*@__PURE__*/ defineOverlayContainer('ion-modal', defineCustomElement$
|
|
2592
|
-
const
|
|
2593
|
-
const
|
|
2598
|
+
const IonActionSheet = /*@__PURE__*/ defineOverlayContainer('ion-action-sheet', defineCustomElement$1n, ['animated', 'backdropDismiss', 'buttons', 'cssClass', 'enterAnimation', 'header', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'subHeader', 'theme', 'translucent', 'trigger']);
|
|
2599
|
+
const IonAlert = /*@__PURE__*/ defineOverlayContainer('ion-alert', defineCustomElement$1o, ['animated', 'backdropDismiss', 'buttons', 'cssClass', 'enterAnimation', 'header', 'htmlAttributes', 'inputs', 'isOpen', 'keyboardClose', 'leaveAnimation', 'message', 'mode', 'subHeader', 'theme', 'translucent', 'trigger']);
|
|
2600
|
+
const IonLoading = /*@__PURE__*/ defineOverlayContainer('ion-loading', defineCustomElement$1p, ['animated', 'backdropDismiss', 'cssClass', 'duration', 'enterAnimation', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'message', 'mode', 'showBackdrop', 'spinner', 'theme', 'translucent', 'trigger']);
|
|
2601
|
+
const IonModal = /*@__PURE__*/ defineOverlayContainer('ion-modal', defineCustomElement$1q, ['animated', 'backdropBreakpoint', 'backdropDismiss', 'breakpoints', 'canDismiss', 'enterAnimation', 'expandToScroll', 'focusTrap', 'handle', 'handleBehavior', 'htmlAttributes', 'initialBreakpoint', 'isOpen', 'keepContentsMounted', 'keyboardClose', 'leaveAnimation', 'mode', 'presentingElement', 'shape', 'showBackdrop', 'theme', 'trigger'], true);
|
|
2602
|
+
const IonPickerLegacy = /*@__PURE__*/ defineOverlayContainer('ion-picker-legacy', defineCustomElement$1r, ['animated', 'backdropDismiss', 'buttons', 'columns', 'cssClass', 'duration', 'enterAnimation', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'showBackdrop', 'theme', 'trigger']);
|
|
2603
|
+
const IonPopover = /*@__PURE__*/ defineOverlayContainer('ion-popover', defineCustomElement$1s, ['alignment', 'animated', 'arrow', 'backdropDismiss', 'component', 'componentProps', 'dismissOnSelect', 'enterAnimation', 'event', 'focusTrap', 'htmlAttributes', 'isOpen', 'keepContentsMounted', 'keyboardClose', 'leaveAnimation', 'mode', 'reference', 'showBackdrop', 'side', 'size', 'theme', 'translucent', 'trigger', 'triggerAction']);
|
|
2604
|
+
const IonToast = /*@__PURE__*/ defineOverlayContainer('ion-toast', defineCustomElement$1t, ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'hue', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'shape', 'swipeGesture', 'theme', 'translucent', 'trigger']);
|
|
2594
2605
|
|
|
2595
2606
|
// TODO(FW-2969): types
|
|
2596
2607
|
/**
|
|
@@ -2607,12 +2618,16 @@ const createController = (defineCustomElement, oldController, useDelegate = fals
|
|
|
2607
2618
|
};
|
|
2608
2619
|
return oldController;
|
|
2609
2620
|
};
|
|
2610
|
-
const modalController = /*@__PURE__*/ createController(defineCustomElement$
|
|
2611
|
-
const popoverController = /*@__PURE__*/ createController(defineCustomElement$
|
|
2612
|
-
const alertController = /*@__PURE__*/ createController(defineCustomElement$
|
|
2613
|
-
const actionSheetController = /*@__PURE__*/ createController(defineCustomElement$
|
|
2614
|
-
const loadingController = /*@__PURE__*/ createController(defineCustomElement$
|
|
2615
|
-
|
|
2621
|
+
const modalController = /*@__PURE__*/ createController(defineCustomElement$1q, modalController$1, true);
|
|
2622
|
+
const popoverController = /*@__PURE__*/ createController(defineCustomElement$1s, popoverController$1, true);
|
|
2623
|
+
const alertController = /*@__PURE__*/ createController(defineCustomElement$1o, alertController$1);
|
|
2624
|
+
const actionSheetController = /*@__PURE__*/ createController(defineCustomElement$1n, actionSheetController$1);
|
|
2625
|
+
const loadingController = /*@__PURE__*/ createController(defineCustomElement$1p, loadingController$1);
|
|
2626
|
+
/**
|
|
2627
|
+
* @deprecated Use the inline ion-picker component instead.
|
|
2628
|
+
*/
|
|
2629
|
+
const pickerController = /*@__PURE__*/ createController(defineCustomElement$1r, pickerController$1);
|
|
2630
|
+
const toastController = /*@__PURE__*/ createController(defineCustomElement$1t, toastController$1);
|
|
2616
2631
|
|
|
2617
|
-
export { IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonInputOtp, IonInputPasswordToggle, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonModal, IonNav, IonNavLink, IonNote, IonPage, IonPicker, IonPickerColumn, IonPickerColumnOption, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSegmentContent, IonSegmentView, IonSelect, IonSelectModal, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTab, IonTabBar, IonTabButton, IonTabs, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, IonicVue, actionSheetController, alertController, loadingController, modalController, onIonViewDidEnter, onIonViewDidLeave, onIonViewWillEnter, onIonViewWillLeave, popoverController, toastController, useBackButton, useIonRouter, useKeyboard };
|
|
2632
|
+
export { IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonDivider, IonFab, IonFabButton, IonFabList, IonFooter, IonGallery, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonInputOtp, IonInputPasswordToggle, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonModal, IonNav, IonNavLink, IonNote, IonPage, IonPicker, IonPickerColumn, IonPickerColumnOption, IonPickerLegacy, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSegmentContent, IonSegmentView, IonSelect, IonSelectModal, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTab, IonTabBar, IonTabButton, IonTabs, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, IonicVue, actionSheetController, alertController, loadingController, modalController, onIonViewDidEnter, onIonViewDidLeave, onIonViewWillEnter, onIonViewWillLeave, pickerController, popoverController, toastController, useBackButton, useIonRouter, useKeyboard };
|
|
2618
2633
|
//# sourceMappingURL=index.js.map
|