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