@ionic/vue 8.4.2-dev.11737633140.1934dd0f → 8.4.2-dev.11739468652.1ae78967
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 +223 -137
- package/dist/index.js.map +1 -1
- package/dist/types/components/Overlays.d.ts +1 -1
- package/dist/types/proxies.d.ts +94 -77
- package/dist/vetur/attributes.json +1486 -196
- package/dist/vetur/tags.json +201 -49
- package/dist/web-types.json +1346 -137
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, ref, getCurrentInstance, inject, h, withDirectives, computed, provide, shallowRef, watch, onUnmounted, Fragment, isVNode, Teleport, onMounted } from 'vue';
|
|
2
2
|
import { defineCustomElement } from '@ionic/core/components/ion-accordion.js';
|
|
3
3
|
import { defineCustomElement as defineCustomElement$1 } from '@ionic/core/components/ion-accordion-group.js';
|
|
4
4
|
import { defineCustomElement as defineCustomElement$2 } from '@ionic/core/components/ion-avatar.js';
|
|
@@ -76,7 +76,6 @@ import { defineCustomElement as defineCustomElement$18 } from '@ionic/core/compo
|
|
|
76
76
|
import { defineCustomElement as defineCustomElement$19 } from '@ionic/core/components/ion-title.js';
|
|
77
77
|
import { defineCustomElement as defineCustomElement$1a } from '@ionic/core/components/ion-toggle.js';
|
|
78
78
|
import { defineCustomElement as defineCustomElement$1b } from '@ionic/core/components/ion-toolbar.js';
|
|
79
|
-
import { ref, getCurrentInstance, inject, defineComponent, h, computed, provide, shallowRef, watch, onUnmounted, Fragment, isVNode, Teleport, onMounted } from 'vue';
|
|
80
79
|
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
80
|
export { IonicSafeString, IonicSlides, createAnimation, createGesture, getIonPageElement, getPlatforms, getTimeGivenProgression, iosTransitionAnimation, isPlatform, mdTransitionAnimation, menuController, openURL } from '@ionic/core/components';
|
|
82
81
|
import { defineCustomElement as defineCustomElement$1c } from '@ionic/core/components/ion-back-button.js';
|
|
@@ -95,6 +94,194 @@ import { defineCustomElement as defineCustomElement$1o } from '@ionic/core/compo
|
|
|
95
94
|
import { defineCustomElement as defineCustomElement$1p } from '@ionic/core/components/ion-modal.js';
|
|
96
95
|
import { defineCustomElement as defineCustomElement$1q } from '@ionic/core/components/ion-popover.js';
|
|
97
96
|
|
|
97
|
+
// @ts-nocheck
|
|
98
|
+
// It's easier and safer for Volar to disable typechecking and let the return type inference do its job.
|
|
99
|
+
const UPDATE_VALUE_EVENT = 'update:modelValue';
|
|
100
|
+
const MODEL_VALUE = 'modelValue';
|
|
101
|
+
const ROUTER_LINK_VALUE = 'routerLink';
|
|
102
|
+
const NAV_MANAGER = 'navManager';
|
|
103
|
+
const ROUTER_PROP_PREFIX = 'router';
|
|
104
|
+
const ARIA_PROP_PREFIX = 'aria';
|
|
105
|
+
/**
|
|
106
|
+
* Starting in Vue 3.1.0, all properties are
|
|
107
|
+
* added as keys to the props object, even if
|
|
108
|
+
* they are not being used. In order to correctly
|
|
109
|
+
* account for both value props and v-model props,
|
|
110
|
+
* we need to check if the key exists for Vue <3.1.0
|
|
111
|
+
* and then check if it is not undefined for Vue >= 3.1.0.
|
|
112
|
+
* See https://github.com/vuejs/vue-next/issues/3889
|
|
113
|
+
*/
|
|
114
|
+
const EMPTY_PROP$1 = Symbol();
|
|
115
|
+
const DEFAULT_EMPTY_PROP$1 = { default: EMPTY_PROP$1 };
|
|
116
|
+
const getComponentClasses = (classes) => {
|
|
117
|
+
return (classes === null || classes === void 0 ? void 0 : classes.split(' ')) || [];
|
|
118
|
+
};
|
|
119
|
+
const getElementClasses = (ref, componentClasses, defaultClasses = []) => {
|
|
120
|
+
var _a;
|
|
121
|
+
return [...Array.from(((_a = ref.value) === null || _a === void 0 ? void 0 : _a.classList) || []), ...defaultClasses].filter((c, i, self) => !componentClasses.has(c) && self.indexOf(c) === i);
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Create a callback to define a Vue component wrapper around a Web Component.
|
|
125
|
+
*
|
|
126
|
+
* @prop name - The component tag name (i.e. `ion-button`)
|
|
127
|
+
* @prop componentProps - An array of properties on the
|
|
128
|
+
* component. These usually match up with the @Prop definitions
|
|
129
|
+
* in each component's TSX file.
|
|
130
|
+
* @prop customElement - An option custom element instance to pass
|
|
131
|
+
* to customElements.define. Only set if `includeImportCustomElements: true` in your config.
|
|
132
|
+
* @prop modelProp - The prop that v-model binds to (i.e. value)
|
|
133
|
+
* @prop modelUpdateEvent - The event that is fired from your Web Component when the value changes (i.e. ionChange)
|
|
134
|
+
*/
|
|
135
|
+
const defineContainer = (name, defineCustomElement, componentProps = [], modelProp, modelUpdateEvent) => {
|
|
136
|
+
/**
|
|
137
|
+
* Create a Vue component wrapper around a Web Component.
|
|
138
|
+
* Note: The `props` here are not all properties on a component.
|
|
139
|
+
* They refer to whatever properties are set on an instance of a component.
|
|
140
|
+
*/
|
|
141
|
+
if (defineCustomElement !== undefined) {
|
|
142
|
+
defineCustomElement();
|
|
143
|
+
}
|
|
144
|
+
const Container = defineComponent((props, { attrs, slots, emit }) => {
|
|
145
|
+
var _a;
|
|
146
|
+
let modelPropValue = props[modelProp];
|
|
147
|
+
const containerRef = ref();
|
|
148
|
+
const classes = new Set(getComponentClasses(attrs.class));
|
|
149
|
+
/**
|
|
150
|
+
* This directive is responsible for updating any reactive
|
|
151
|
+
* reference associated with v-model on the component.
|
|
152
|
+
* This code must be run inside of the "created" callback.
|
|
153
|
+
* Since the following listener callbacks as well as any potential
|
|
154
|
+
* event callback defined in the developer's app are set on
|
|
155
|
+
* the same element, we need to make sure the following callbacks
|
|
156
|
+
* are set first so they fire first. If the developer's callback fires first
|
|
157
|
+
* then the reactive reference will not have been updated yet.
|
|
158
|
+
*/
|
|
159
|
+
const vModelDirective = {
|
|
160
|
+
created: (el) => {
|
|
161
|
+
const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent];
|
|
162
|
+
eventsNames.forEach((eventName) => {
|
|
163
|
+
el.addEventListener(eventName.toLowerCase(), (e) => {
|
|
164
|
+
/**
|
|
165
|
+
* Only update the v-model binding if the event's target is the element we are
|
|
166
|
+
* listening on. For example, Component A could emit ionChange, but it could also
|
|
167
|
+
* have a descendant Component B that also emits ionChange. We only want to update
|
|
168
|
+
* the v-model for Component A when ionChange originates from that element and not
|
|
169
|
+
* when ionChange bubbles up from Component B.
|
|
170
|
+
*/
|
|
171
|
+
if (e.target.tagName === el.tagName) {
|
|
172
|
+
modelPropValue = (e === null || e === void 0 ? void 0 : e.target)[modelProp];
|
|
173
|
+
emit(UPDATE_VALUE_EVENT, modelPropValue);
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
const currentInstance = getCurrentInstance();
|
|
180
|
+
const hasRouter = (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.appContext) === null || _a === void 0 ? void 0 : _a.provides[NAV_MANAGER];
|
|
181
|
+
const navManager = hasRouter ? inject(NAV_MANAGER) : undefined;
|
|
182
|
+
const handleRouterLink = (ev) => {
|
|
183
|
+
const { routerLink } = props;
|
|
184
|
+
if (routerLink === EMPTY_PROP$1)
|
|
185
|
+
return;
|
|
186
|
+
if (navManager !== undefined) {
|
|
187
|
+
/**
|
|
188
|
+
* This prevents the browser from
|
|
189
|
+
* performing a page reload when pressing
|
|
190
|
+
* an Ionic component with routerLink.
|
|
191
|
+
* The page reload interferes with routing
|
|
192
|
+
* and causes ion-back-button to disappear
|
|
193
|
+
* since the local history is wiped on reload.
|
|
194
|
+
*/
|
|
195
|
+
ev.preventDefault();
|
|
196
|
+
let navigationPayload = { event: ev };
|
|
197
|
+
for (const key in props) {
|
|
198
|
+
const value = props[key];
|
|
199
|
+
if (props.hasOwnProperty(key) && key.startsWith(ROUTER_PROP_PREFIX) && value !== EMPTY_PROP$1) {
|
|
200
|
+
navigationPayload[key] = value;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
navManager.navigate(navigationPayload);
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
console.warn('Tried to navigate, but no router was found. Make sure you have mounted Vue Router.');
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
return () => {
|
|
210
|
+
modelPropValue = props[modelProp];
|
|
211
|
+
getComponentClasses(attrs.class).forEach((value) => {
|
|
212
|
+
classes.add(value);
|
|
213
|
+
});
|
|
214
|
+
const oldClick = props.onClick;
|
|
215
|
+
const handleClick = (ev) => {
|
|
216
|
+
if (oldClick !== undefined) {
|
|
217
|
+
oldClick(ev);
|
|
218
|
+
}
|
|
219
|
+
if (!ev.defaultPrevented) {
|
|
220
|
+
handleRouterLink(ev);
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
let propsToAdd = {
|
|
224
|
+
ref: containerRef,
|
|
225
|
+
class: getElementClasses(containerRef, classes),
|
|
226
|
+
onClick: handleClick,
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* We can use Object.entries here
|
|
230
|
+
* to avoid the hasOwnProperty check,
|
|
231
|
+
* but that would require 2 iterations
|
|
232
|
+
* where as this only requires 1.
|
|
233
|
+
*/
|
|
234
|
+
for (const key in props) {
|
|
235
|
+
const value = props[key];
|
|
236
|
+
if ((props.hasOwnProperty(key) && value !== EMPTY_PROP$1) || key.startsWith(ARIA_PROP_PREFIX)) {
|
|
237
|
+
propsToAdd[key] = value;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
if (modelProp) {
|
|
241
|
+
/**
|
|
242
|
+
* If form value property was set using v-model
|
|
243
|
+
* then we should use that value.
|
|
244
|
+
* Otherwise, check to see if form value property
|
|
245
|
+
* was set as a static value (i.e. no v-model).
|
|
246
|
+
*/
|
|
247
|
+
if (props[MODEL_VALUE] !== EMPTY_PROP$1) {
|
|
248
|
+
propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: props[MODEL_VALUE] });
|
|
249
|
+
}
|
|
250
|
+
else if (modelPropValue !== EMPTY_PROP$1) {
|
|
251
|
+
propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: modelPropValue });
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
// If router link is defined, add href to props
|
|
255
|
+
// in order to properly render an anchor tag inside
|
|
256
|
+
// of components that should become activatable and
|
|
257
|
+
// focusable with router link.
|
|
258
|
+
if (props[ROUTER_LINK_VALUE] !== EMPTY_PROP$1) {
|
|
259
|
+
propsToAdd = Object.assign(Object.assign({}, propsToAdd), { href: props[ROUTER_LINK_VALUE] });
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* vModelDirective is only needed on components that support v-model.
|
|
263
|
+
* As a result, we conditionally call withDirectives with v-model components.
|
|
264
|
+
*/
|
|
265
|
+
const node = h(name, propsToAdd, slots.default && slots.default());
|
|
266
|
+
return modelProp === undefined ? node : withDirectives(node, [[vModelDirective]]);
|
|
267
|
+
};
|
|
268
|
+
});
|
|
269
|
+
if (typeof Container !== 'function') {
|
|
270
|
+
Container.name = name;
|
|
271
|
+
Container.props = {
|
|
272
|
+
[ROUTER_LINK_VALUE]: DEFAULT_EMPTY_PROP$1,
|
|
273
|
+
};
|
|
274
|
+
componentProps.forEach((componentProp) => {
|
|
275
|
+
Container.props[componentProp] = DEFAULT_EMPTY_PROP$1;
|
|
276
|
+
});
|
|
277
|
+
if (modelProp) {
|
|
278
|
+
Container.props[MODEL_VALUE] = DEFAULT_EMPTY_PROP$1;
|
|
279
|
+
Container.emits = [UPDATE_VALUE_EVENT];
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
return Container;
|
|
283
|
+
};
|
|
284
|
+
|
|
98
285
|
/* eslint-disable */
|
|
99
286
|
/* tslint:disable */
|
|
100
287
|
/* auto-generated vue proxies */
|
|
@@ -112,23 +299,24 @@ const IonAccordionGroup = /*@__PURE__*/ defineContainer('ion-accordion-group', d
|
|
|
112
299
|
'disabled',
|
|
113
300
|
'readonly',
|
|
114
301
|
'expand',
|
|
115
|
-
'
|
|
116
|
-
'ionValueChange'
|
|
117
|
-
], [
|
|
302
|
+
'shape',
|
|
118
303
|
'ionChange',
|
|
119
304
|
'ionValueChange'
|
|
120
305
|
], 'value', 'ion-change');
|
|
121
|
-
const IonAvatar = /*@__PURE__*/ defineContainer('ion-avatar', defineCustomElement$2
|
|
306
|
+
const IonAvatar = /*@__PURE__*/ defineContainer('ion-avatar', defineCustomElement$2, [
|
|
307
|
+
'size',
|
|
308
|
+
'shape'
|
|
309
|
+
]);
|
|
122
310
|
const IonBackdrop = /*@__PURE__*/ defineContainer('ion-backdrop', defineCustomElement$3, [
|
|
123
311
|
'visible',
|
|
124
312
|
'tappable',
|
|
125
313
|
'stopPropagation',
|
|
126
314
|
'ionBackdropTap'
|
|
127
|
-
], [
|
|
128
|
-
'ionBackdropTap'
|
|
129
315
|
]);
|
|
130
316
|
const IonBadge = /*@__PURE__*/ defineContainer('ion-badge', defineCustomElement$4, [
|
|
131
|
-
'color'
|
|
317
|
+
'color',
|
|
318
|
+
'shape',
|
|
319
|
+
'size'
|
|
132
320
|
]);
|
|
133
321
|
const IonBreadcrumb = /*@__PURE__*/ defineContainer('ion-breadcrumb', defineCustomElement$5, [
|
|
134
322
|
'collapsed',
|
|
@@ -147,10 +335,6 @@ const IonBreadcrumb = /*@__PURE__*/ defineContainer('ion-breadcrumb', defineCust
|
|
|
147
335
|
'ionFocus',
|
|
148
336
|
'ionBlur',
|
|
149
337
|
'collapsedClick'
|
|
150
|
-
], [
|
|
151
|
-
'ionFocus',
|
|
152
|
-
'ionBlur',
|
|
153
|
-
'collapsedClick'
|
|
154
338
|
]);
|
|
155
339
|
const IonBreadcrumbs = /*@__PURE__*/ defineContainer('ion-breadcrumbs', defineCustomElement$6, [
|
|
156
340
|
'color',
|
|
@@ -158,8 +342,6 @@ const IonBreadcrumbs = /*@__PURE__*/ defineContainer('ion-breadcrumbs', defineCu
|
|
|
158
342
|
'itemsBeforeCollapse',
|
|
159
343
|
'itemsAfterCollapse',
|
|
160
344
|
'ionCollapsedClick'
|
|
161
|
-
], [
|
|
162
|
-
'ionCollapsedClick'
|
|
163
345
|
]);
|
|
164
346
|
const IonButton = /*@__PURE__*/ defineContainer('ion-button', defineCustomElement$7, [
|
|
165
347
|
'color',
|
|
@@ -180,9 +362,6 @@ const IonButton = /*@__PURE__*/ defineContainer('ion-button', defineCustomElemen
|
|
|
180
362
|
'form',
|
|
181
363
|
'ionFocus',
|
|
182
364
|
'ionBlur'
|
|
183
|
-
], [
|
|
184
|
-
'ionFocus',
|
|
185
|
-
'ionBlur'
|
|
186
365
|
]);
|
|
187
366
|
const IonButtons = /*@__PURE__*/ defineContainer('ion-buttons', defineCustomElement$8, [
|
|
188
367
|
'collapse'
|
|
@@ -197,6 +376,7 @@ const IonCard = /*@__PURE__*/ defineContainer('ion-card', defineCustomElement$9,
|
|
|
197
376
|
'rel',
|
|
198
377
|
'routerDirection',
|
|
199
378
|
'routerAnimation',
|
|
379
|
+
'shape',
|
|
200
380
|
'target'
|
|
201
381
|
]);
|
|
202
382
|
const IonCardContent = /*@__PURE__*/ defineContainer('ion-card-content', defineCustomElement$a);
|
|
@@ -220,11 +400,8 @@ const IonCheckbox = /*@__PURE__*/ defineContainer('ion-checkbox', defineCustomEl
|
|
|
220
400
|
'labelPlacement',
|
|
221
401
|
'justify',
|
|
222
402
|
'alignment',
|
|
223
|
-
'
|
|
224
|
-
'
|
|
225
|
-
'ionFocus',
|
|
226
|
-
'ionBlur'
|
|
227
|
-
], [
|
|
403
|
+
'size',
|
|
404
|
+
'shape',
|
|
228
405
|
'ionChange',
|
|
229
406
|
'ionFocus',
|
|
230
407
|
'ionBlur'
|
|
@@ -232,7 +409,9 @@ const IonCheckbox = /*@__PURE__*/ defineContainer('ion-checkbox', defineCustomEl
|
|
|
232
409
|
const IonChip = /*@__PURE__*/ defineContainer('ion-chip', defineCustomElement$f, [
|
|
233
410
|
'color',
|
|
234
411
|
'outline',
|
|
235
|
-
'disabled'
|
|
412
|
+
'disabled',
|
|
413
|
+
'shape',
|
|
414
|
+
'size'
|
|
236
415
|
]);
|
|
237
416
|
const IonCol = /*@__PURE__*/ defineContainer('ion-col', defineCustomElement$g, [
|
|
238
417
|
'offset',
|
|
@@ -271,10 +450,6 @@ const IonContent = /*@__PURE__*/ defineContainer('ion-content', defineCustomElem
|
|
|
271
450
|
'ionScrollStart',
|
|
272
451
|
'ionScroll',
|
|
273
452
|
'ionScrollEnd'
|
|
274
|
-
], [
|
|
275
|
-
'ionScrollStart',
|
|
276
|
-
'ionScroll',
|
|
277
|
-
'ionScrollEnd'
|
|
278
453
|
]);
|
|
279
454
|
const IonDatetime = /*@__PURE__*/ defineContainer('ion-datetime', defineCustomElement$i, [
|
|
280
455
|
'color',
|
|
@@ -314,14 +489,6 @@ const IonDatetime = /*@__PURE__*/ defineContainer('ion-datetime', defineCustomEl
|
|
|
314
489
|
'ionBlur',
|
|
315
490
|
'ionStyle',
|
|
316
491
|
'ionRender'
|
|
317
|
-
], [
|
|
318
|
-
'ionCancel',
|
|
319
|
-
'ionChange',
|
|
320
|
-
'ionValueChange',
|
|
321
|
-
'ionFocus',
|
|
322
|
-
'ionBlur',
|
|
323
|
-
'ionStyle',
|
|
324
|
-
'ionRender'
|
|
325
492
|
], 'value', 'ion-change');
|
|
326
493
|
const IonDatetimeButton = /*@__PURE__*/ defineContainer('ion-datetime-button', defineCustomElement$j, [
|
|
327
494
|
'color',
|
|
@@ -351,9 +518,6 @@ const IonFabButton = /*@__PURE__*/ defineContainer('ion-fab-button', defineCusto
|
|
|
351
518
|
'closeIcon',
|
|
352
519
|
'ionFocus',
|
|
353
520
|
'ionBlur'
|
|
354
|
-
], [
|
|
355
|
-
'ionFocus',
|
|
356
|
-
'ionBlur'
|
|
357
521
|
]);
|
|
358
522
|
const IonFabList = /*@__PURE__*/ defineContainer('ion-fab-list', defineCustomElement$m, [
|
|
359
523
|
'activated',
|
|
@@ -368,6 +532,7 @@ const IonGrid = /*@__PURE__*/ defineContainer('ion-grid', defineCustomElement$o,
|
|
|
368
532
|
]);
|
|
369
533
|
const IonHeader = /*@__PURE__*/ defineContainer('ion-header', defineCustomElement$p, [
|
|
370
534
|
'collapse',
|
|
535
|
+
'divider',
|
|
371
536
|
'translucent'
|
|
372
537
|
]);
|
|
373
538
|
const IonImg = /*@__PURE__*/ defineContainer('ion-img', defineCustomElement$q, [
|
|
@@ -376,18 +541,12 @@ const IonImg = /*@__PURE__*/ defineContainer('ion-img', defineCustomElement$q, [
|
|
|
376
541
|
'ionImgWillLoad',
|
|
377
542
|
'ionImgDidLoad',
|
|
378
543
|
'ionError'
|
|
379
|
-
], [
|
|
380
|
-
'ionImgWillLoad',
|
|
381
|
-
'ionImgDidLoad',
|
|
382
|
-
'ionError'
|
|
383
544
|
]);
|
|
384
545
|
const IonInfiniteScroll = /*@__PURE__*/ defineContainer('ion-infinite-scroll', defineCustomElement$r, [
|
|
385
546
|
'threshold',
|
|
386
547
|
'disabled',
|
|
387
548
|
'position',
|
|
388
549
|
'ionInfinite'
|
|
389
|
-
], [
|
|
390
|
-
'ionInfinite'
|
|
391
550
|
]);
|
|
392
551
|
const IonInfiniteScrollContent = /*@__PURE__*/ defineContainer('ion-infinite-scroll-content', defineCustomElement$s, [
|
|
393
552
|
'loadingSpinner',
|
|
@@ -426,17 +585,13 @@ const IonInput = /*@__PURE__*/ defineContainer('ion-input', defineCustomElement$
|
|
|
426
585
|
'shape',
|
|
427
586
|
'spellcheck',
|
|
428
587
|
'step',
|
|
588
|
+
'size',
|
|
429
589
|
'type',
|
|
430
590
|
'value',
|
|
431
591
|
'ionInput',
|
|
432
592
|
'ionChange',
|
|
433
593
|
'ionBlur',
|
|
434
594
|
'ionFocus'
|
|
435
|
-
], [
|
|
436
|
-
'ionInput',
|
|
437
|
-
'ionChange',
|
|
438
|
-
'ionBlur',
|
|
439
|
-
'ionFocus'
|
|
440
595
|
], 'value', 'ion-input');
|
|
441
596
|
const IonInputPasswordToggle = /*@__PURE__*/ defineContainer('ion-input-password-toggle', defineCustomElement$u, [
|
|
442
597
|
'color',
|
|
@@ -472,32 +627,27 @@ const IonItemOption = /*@__PURE__*/ defineContainer('ion-item-option', defineCus
|
|
|
472
627
|
'href',
|
|
473
628
|
'rel',
|
|
474
629
|
'target',
|
|
475
|
-
'type'
|
|
630
|
+
'type',
|
|
631
|
+
'shape'
|
|
476
632
|
]);
|
|
477
633
|
const IonItemOptions = /*@__PURE__*/ defineContainer('ion-item-options', defineCustomElement$z, [
|
|
478
634
|
'side',
|
|
479
635
|
'ionSwipe'
|
|
480
|
-
], [
|
|
481
|
-
'ionSwipe'
|
|
482
636
|
]);
|
|
483
637
|
const IonItemSliding = /*@__PURE__*/ defineContainer('ion-item-sliding', defineCustomElement$A, [
|
|
484
638
|
'disabled',
|
|
485
639
|
'ionDrag'
|
|
486
|
-
], [
|
|
487
|
-
'ionDrag'
|
|
488
640
|
]);
|
|
489
641
|
const IonLabel = /*@__PURE__*/ defineContainer('ion-label', defineCustomElement$B, [
|
|
490
642
|
'color',
|
|
491
643
|
'position',
|
|
492
644
|
'ionColor',
|
|
493
645
|
'ionStyle'
|
|
494
|
-
], [
|
|
495
|
-
'ionColor',
|
|
496
|
-
'ionStyle'
|
|
497
646
|
]);
|
|
498
647
|
const IonList = /*@__PURE__*/ defineContainer('ion-list', defineCustomElement$C, [
|
|
499
648
|
'lines',
|
|
500
|
-
'inset'
|
|
649
|
+
'inset',
|
|
650
|
+
'shape'
|
|
501
651
|
]);
|
|
502
652
|
const IonListHeader = /*@__PURE__*/ defineContainer('ion-list-header', defineCustomElement$D, [
|
|
503
653
|
'color',
|
|
@@ -516,12 +666,6 @@ const IonMenu = /*@__PURE__*/ defineContainer('ion-menu', defineCustomElement$E,
|
|
|
516
666
|
'ionDidOpen',
|
|
517
667
|
'ionDidClose',
|
|
518
668
|
'ionMenuChange'
|
|
519
|
-
], [
|
|
520
|
-
'ionWillOpen',
|
|
521
|
-
'ionWillClose',
|
|
522
|
-
'ionDidOpen',
|
|
523
|
-
'ionDidClose',
|
|
524
|
-
'ionMenuChange'
|
|
525
669
|
]);
|
|
526
670
|
const IonMenuButton = /*@__PURE__*/ defineContainer('ion-menu-button', defineCustomElement$F, [
|
|
527
671
|
'color',
|
|
@@ -545,8 +689,6 @@ const IonNote = /*@__PURE__*/ defineContainer('ion-note', defineCustomElement$I,
|
|
|
545
689
|
]);
|
|
546
690
|
const IonPicker = /*@__PURE__*/ defineContainer('ion-picker', defineCustomElement$J, [
|
|
547
691
|
'ionInputModeChange'
|
|
548
|
-
], [
|
|
549
|
-
'ionInputModeChange'
|
|
550
692
|
]);
|
|
551
693
|
const IonPickerColumn = /*@__PURE__*/ defineContainer('ion-picker-column', defineCustomElement$K, [
|
|
552
694
|
'disabled',
|
|
@@ -554,8 +696,6 @@ const IonPickerColumn = /*@__PURE__*/ defineContainer('ion-picker-column', defin
|
|
|
554
696
|
'color',
|
|
555
697
|
'numericInput',
|
|
556
698
|
'ionChange'
|
|
557
|
-
], [
|
|
558
|
-
'ionChange'
|
|
559
699
|
]);
|
|
560
700
|
const IonPickerColumnOption = /*@__PURE__*/ defineContainer('ion-picker-column-option', defineCustomElement$L, [
|
|
561
701
|
'disabled',
|
|
@@ -567,7 +707,8 @@ const IonProgressBar = /*@__PURE__*/ defineContainer('ion-progress-bar', defineC
|
|
|
567
707
|
'reversed',
|
|
568
708
|
'value',
|
|
569
709
|
'buffer',
|
|
570
|
-
'color'
|
|
710
|
+
'color',
|
|
711
|
+
'shape'
|
|
571
712
|
]);
|
|
572
713
|
const IonRadio = /*@__PURE__*/ defineContainer('ion-radio', defineCustomElement$N, [
|
|
573
714
|
'color',
|
|
@@ -579,21 +720,14 @@ const IonRadio = /*@__PURE__*/ defineContainer('ion-radio', defineCustomElement$
|
|
|
579
720
|
'alignment',
|
|
580
721
|
'ionFocus',
|
|
581
722
|
'ionBlur'
|
|
582
|
-
], [
|
|
583
|
-
'ionFocus',
|
|
584
|
-
'ionBlur'
|
|
585
723
|
], 'value', 'ion-change');
|
|
586
724
|
const IonRadioGroup = /*@__PURE__*/ defineContainer('ion-radio-group', defineCustomElement$O, [
|
|
587
725
|
'allowEmptySelection',
|
|
588
726
|
'compareWith',
|
|
589
727
|
'name',
|
|
590
|
-
'required',
|
|
591
728
|
'value',
|
|
592
729
|
'ionChange',
|
|
593
730
|
'ionValueChange'
|
|
594
|
-
], [
|
|
595
|
-
'ionChange',
|
|
596
|
-
'ionValueChange'
|
|
597
731
|
], 'value', 'ion-change');
|
|
598
732
|
const IonRange = /*@__PURE__*/ defineContainer('ion-range', defineCustomElement$P, [
|
|
599
733
|
'color',
|
|
@@ -618,13 +752,6 @@ const IonRange = /*@__PURE__*/ defineContainer('ion-range', defineCustomElement$
|
|
|
618
752
|
'ionBlur',
|
|
619
753
|
'ionKnobMoveStart',
|
|
620
754
|
'ionKnobMoveEnd'
|
|
621
|
-
], [
|
|
622
|
-
'ionChange',
|
|
623
|
-
'ionInput',
|
|
624
|
-
'ionFocus',
|
|
625
|
-
'ionBlur',
|
|
626
|
-
'ionKnobMoveStart',
|
|
627
|
-
'ionKnobMoveEnd'
|
|
628
755
|
], 'value', 'ion-input');
|
|
629
756
|
const IonRefresher = /*@__PURE__*/ defineContainer('ion-refresher', defineCustomElement$Q, [
|
|
630
757
|
'pullMin',
|
|
@@ -636,10 +763,6 @@ const IonRefresher = /*@__PURE__*/ defineContainer('ion-refresher', defineCustom
|
|
|
636
763
|
'ionRefresh',
|
|
637
764
|
'ionPull',
|
|
638
765
|
'ionStart'
|
|
639
|
-
], [
|
|
640
|
-
'ionRefresh',
|
|
641
|
-
'ionPull',
|
|
642
|
-
'ionStart'
|
|
643
766
|
]);
|
|
644
767
|
const IonRefresherContent = /*@__PURE__*/ defineContainer('ion-refresher-content', defineCustomElement$R, [
|
|
645
768
|
'pullingIcon',
|
|
@@ -651,8 +774,6 @@ const IonReorder = /*@__PURE__*/ defineContainer('ion-reorder', defineCustomElem
|
|
|
651
774
|
const IonReorderGroup = /*@__PURE__*/ defineContainer('ion-reorder-group', defineCustomElement$T, [
|
|
652
775
|
'disabled',
|
|
653
776
|
'ionItemReorder'
|
|
654
|
-
], [
|
|
655
|
-
'ionItemReorder'
|
|
656
777
|
]);
|
|
657
778
|
const IonRippleEffect = /*@__PURE__*/ defineContainer('ion-ripple-effect', defineCustomElement$U, [
|
|
658
779
|
'type'
|
|
@@ -688,14 +809,6 @@ const IonSearchbar = /*@__PURE__*/ defineContainer('ion-searchbar', defineCustom
|
|
|
688
809
|
'ionBlur',
|
|
689
810
|
'ionFocus',
|
|
690
811
|
'ionStyle'
|
|
691
|
-
], [
|
|
692
|
-
'ionInput',
|
|
693
|
-
'ionChange',
|
|
694
|
-
'ionCancel',
|
|
695
|
-
'ionClear',
|
|
696
|
-
'ionBlur',
|
|
697
|
-
'ionFocus',
|
|
698
|
-
'ionStyle'
|
|
699
812
|
], 'value', 'ion-input');
|
|
700
813
|
const IonSegment = /*@__PURE__*/ defineContainer('ion-segment', defineCustomElement$X, [
|
|
701
814
|
'color',
|
|
@@ -707,10 +820,6 @@ const IonSegment = /*@__PURE__*/ defineContainer('ion-segment', defineCustomElem
|
|
|
707
820
|
'ionChange',
|
|
708
821
|
'ionSelect',
|
|
709
822
|
'ionStyle'
|
|
710
|
-
], [
|
|
711
|
-
'ionChange',
|
|
712
|
-
'ionSelect',
|
|
713
|
-
'ionStyle'
|
|
714
823
|
], 'value', 'ion-change');
|
|
715
824
|
const IonSegmentButton = /*@__PURE__*/ defineContainer('ion-segment-button', defineCustomElement$Y, [
|
|
716
825
|
'contentId',
|
|
@@ -718,13 +827,11 @@ const IonSegmentButton = /*@__PURE__*/ defineContainer('ion-segment-button', def
|
|
|
718
827
|
'layout',
|
|
719
828
|
'type',
|
|
720
829
|
'value'
|
|
721
|
-
],
|
|
830
|
+
], 'value', 'ion-change');
|
|
722
831
|
const IonSegmentContent = /*@__PURE__*/ defineContainer('ion-segment-content', defineCustomElement$Z);
|
|
723
832
|
const IonSegmentView = /*@__PURE__*/ defineContainer('ion-segment-view', defineCustomElement$_, [
|
|
724
833
|
'disabled',
|
|
725
834
|
'ionSegmentViewScroll'
|
|
726
|
-
], [
|
|
727
|
-
'ionSegmentViewScroll'
|
|
728
835
|
]);
|
|
729
836
|
const IonSelect = /*@__PURE__*/ defineContainer('ion-select', defineCustomElement$$, [
|
|
730
837
|
'cancelText',
|
|
@@ -746,14 +853,7 @@ const IonSelect = /*@__PURE__*/ defineContainer('ion-select', defineCustomElemen
|
|
|
746
853
|
'expandedIcon',
|
|
747
854
|
'shape',
|
|
748
855
|
'value',
|
|
749
|
-
'
|
|
750
|
-
'ionChange',
|
|
751
|
-
'ionCancel',
|
|
752
|
-
'ionDismiss',
|
|
753
|
-
'ionFocus',
|
|
754
|
-
'ionBlur',
|
|
755
|
-
'ionStyle'
|
|
756
|
-
], [
|
|
856
|
+
'size',
|
|
757
857
|
'ionChange',
|
|
758
858
|
'ionCancel',
|
|
759
859
|
'ionDismiss',
|
|
@@ -773,22 +873,19 @@ const IonSelectOption = /*@__PURE__*/ defineContainer('ion-select-option', defin
|
|
|
773
873
|
const IonSkeletonText = /*@__PURE__*/ defineContainer('ion-skeleton-text', defineCustomElement$12, [
|
|
774
874
|
'animated',
|
|
775
875
|
'ionStyle'
|
|
776
|
-
], [
|
|
777
|
-
'ionStyle'
|
|
778
876
|
]);
|
|
779
877
|
const IonSpinner = /*@__PURE__*/ defineContainer('ion-spinner', defineCustomElement$13, [
|
|
780
878
|
'color',
|
|
781
879
|
'duration',
|
|
782
880
|
'name',
|
|
783
|
-
'paused'
|
|
881
|
+
'paused',
|
|
882
|
+
'size'
|
|
784
883
|
]);
|
|
785
884
|
const IonSplitPane = /*@__PURE__*/ defineContainer('ion-split-pane', defineCustomElement$14, [
|
|
786
885
|
'contentId',
|
|
787
886
|
'disabled',
|
|
788
887
|
'when',
|
|
789
888
|
'ionSplitPaneVisible'
|
|
790
|
-
], [
|
|
791
|
-
'ionSplitPaneVisible'
|
|
792
889
|
]);
|
|
793
890
|
const IonTab = /*@__PURE__*/ defineContainer('ion-tab', defineCustomElement$15, [
|
|
794
891
|
'active',
|
|
@@ -828,11 +925,7 @@ const IonTextarea = /*@__PURE__*/ defineContainer('ion-textarea', defineCustomEl
|
|
|
828
925
|
'label',
|
|
829
926
|
'labelPlacement',
|
|
830
927
|
'shape',
|
|
831
|
-
'
|
|
832
|
-
'ionInput',
|
|
833
|
-
'ionBlur',
|
|
834
|
-
'ionFocus'
|
|
835
|
-
], [
|
|
928
|
+
'size',
|
|
836
929
|
'ionChange',
|
|
837
930
|
'ionInput',
|
|
838
931
|
'ionBlur',
|
|
@@ -843,8 +936,6 @@ const IonTitle = /*@__PURE__*/ defineContainer('ion-title', defineCustomElement$
|
|
|
843
936
|
'color',
|
|
844
937
|
'size',
|
|
845
938
|
'ionStyle'
|
|
846
|
-
], [
|
|
847
|
-
'ionStyle'
|
|
848
939
|
]);
|
|
849
940
|
const IonToggle = /*@__PURE__*/ defineContainer('ion-toggle', defineCustomElement$1a, [
|
|
850
941
|
'color',
|
|
@@ -856,11 +947,6 @@ const IonToggle = /*@__PURE__*/ defineContainer('ion-toggle', defineCustomElemen
|
|
|
856
947
|
'labelPlacement',
|
|
857
948
|
'justify',
|
|
858
949
|
'alignment',
|
|
859
|
-
'required',
|
|
860
|
-
'ionChange',
|
|
861
|
-
'ionFocus',
|
|
862
|
-
'ionBlur'
|
|
863
|
-
], [
|
|
864
950
|
'ionChange',
|
|
865
951
|
'ionFocus',
|
|
866
952
|
'ionBlur'
|
|
@@ -2234,13 +2320,13 @@ const defineOverlayContainer = (name, defineCustomElement, componentProps = [],
|
|
|
2234
2320
|
* This is an autogenerated file created by 'scripts/copy-overlays.js'.
|
|
2235
2321
|
* Changes made to this file will be overwritten on build.
|
|
2236
2322
|
*/
|
|
2237
|
-
const IonActionSheet = /*@__PURE__*/ defineOverlayContainer('ion-action-sheet', defineCustomElement$1k, ['animated', 'backdropDismiss', 'buttons', 'cssClass', 'enterAnimation', 'header', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'subHeader', 'translucent', 'trigger']);
|
|
2238
|
-
const IonAlert = /*@__PURE__*/ defineOverlayContainer('ion-alert', defineCustomElement$1l, ['animated', 'backdropDismiss', 'buttons', 'cssClass', 'enterAnimation', 'header', 'htmlAttributes', 'inputs', 'isOpen', 'keyboardClose', 'leaveAnimation', 'message', 'mode', 'subHeader', 'translucent', 'trigger']);
|
|
2239
|
-
const IonLoading = /*@__PURE__*/ defineOverlayContainer('ion-loading', defineCustomElement$1m, ['animated', 'backdropDismiss', 'cssClass', 'duration', 'enterAnimation', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'message', 'mode', 'showBackdrop', 'spinner', 'translucent', 'trigger']);
|
|
2240
|
-
const IonPickerLegacy = /*@__PURE__*/ defineOverlayContainer('ion-picker-legacy', defineCustomElement$1n, ['animated', 'backdropDismiss', 'buttons', 'columns', 'cssClass', 'duration', 'enterAnimation', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'showBackdrop', 'trigger']);
|
|
2241
|
-
const IonToast = /*@__PURE__*/ defineOverlayContainer('ion-toast', defineCustomElement$1o, ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'swipeGesture', 'translucent', 'trigger']);
|
|
2242
|
-
const IonModal = /*@__PURE__*/ defineOverlayContainer('ion-modal', defineCustomElement$1p, ['animated', 'backdropBreakpoint', 'backdropDismiss', 'breakpoints', 'canDismiss', 'enterAnimation', 'focusTrap', 'handle', 'handleBehavior', 'htmlAttributes', 'initialBreakpoint', 'isOpen', 'keepContentsMounted', 'keyboardClose', 'leaveAnimation', 'mode', 'presentingElement', 'showBackdrop', 'trigger'], true);
|
|
2243
|
-
const IonPopover = /*@__PURE__*/ defineOverlayContainer('ion-popover', defineCustomElement$1q, ['alignment', 'animated', 'arrow', 'backdropDismiss', 'component', 'componentProps', 'dismissOnSelect', 'enterAnimation', 'event', 'focusTrap', 'htmlAttributes', 'isOpen', 'keepContentsMounted', 'keyboardClose', 'leaveAnimation', 'mode', 'reference', 'showBackdrop', 'side', 'size', 'translucent', 'trigger', 'triggerAction']);
|
|
2323
|
+
const IonActionSheet = /*@__PURE__*/ defineOverlayContainer('ion-action-sheet', defineCustomElement$1k, ['animated', 'backdropDismiss', 'buttons', 'cssClass', 'enterAnimation', 'header', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'subHeader', 'theme', 'translucent', 'trigger']);
|
|
2324
|
+
const IonAlert = /*@__PURE__*/ defineOverlayContainer('ion-alert', defineCustomElement$1l, ['animated', 'backdropDismiss', 'buttons', 'cssClass', 'enterAnimation', 'header', 'htmlAttributes', 'inputs', 'isOpen', 'keyboardClose', 'leaveAnimation', 'message', 'mode', 'subHeader', 'theme', 'translucent', 'trigger']);
|
|
2325
|
+
const IonLoading = /*@__PURE__*/ defineOverlayContainer('ion-loading', defineCustomElement$1m, ['animated', 'backdropDismiss', 'cssClass', 'duration', 'enterAnimation', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'message', 'mode', 'showBackdrop', 'spinner', 'theme', 'translucent', 'trigger']);
|
|
2326
|
+
const IonPickerLegacy = /*@__PURE__*/ defineOverlayContainer('ion-picker-legacy', defineCustomElement$1n, ['animated', 'backdropDismiss', 'buttons', 'columns', 'cssClass', 'duration', 'enterAnimation', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'showBackdrop', 'theme', 'trigger']);
|
|
2327
|
+
const IonToast = /*@__PURE__*/ defineOverlayContainer('ion-toast', defineCustomElement$1o, ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'shape', 'swipeGesture', 'theme', 'translucent', 'trigger']);
|
|
2328
|
+
const IonModal = /*@__PURE__*/ defineOverlayContainer('ion-modal', defineCustomElement$1p, ['animated', 'backdropBreakpoint', 'backdropDismiss', 'breakpoints', 'canDismiss', 'enterAnimation', 'focusTrap', 'handle', 'handleBehavior', 'htmlAttributes', 'initialBreakpoint', 'isOpen', 'keepContentsMounted', 'keyboardClose', 'leaveAnimation', 'mode', 'presentingElement', 'shape', 'showBackdrop', 'theme', 'trigger'], true);
|
|
2329
|
+
const IonPopover = /*@__PURE__*/ defineOverlayContainer('ion-popover', defineCustomElement$1q, ['alignment', 'animated', 'arrow', 'backdropDismiss', 'component', 'componentProps', 'dismissOnSelect', 'enterAnimation', 'event', 'focusTrap', 'htmlAttributes', 'isOpen', 'keepContentsMounted', 'keyboardClose', 'leaveAnimation', 'mode', 'reference', 'showBackdrop', 'side', 'size', 'theme', 'translucent', 'trigger', 'triggerAction']);
|
|
2244
2330
|
|
|
2245
2331
|
// TODO(FW-2969): types
|
|
2246
2332
|
/**
|