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