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