@ionic/react 7.5.7-dev.11701188221.15180cb4 → 7.5.7-dev.11701201960.104b3a1f
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/dist/index.js +90 -86
- package/dist/index.js.map +1 -1
- package/dist/types/components/proxies.d.ts +2 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -39,34 +39,36 @@ import { defineCustomElement as defineCustomElement$x } from '@ionic/core/compon
|
|
|
39
39
|
import { defineCustomElement as defineCustomElement$y } from '@ionic/core/components/ion-menu.js';
|
|
40
40
|
import { defineCustomElement as defineCustomElement$z } from '@ionic/core/components/ion-menu-button.js';
|
|
41
41
|
import { defineCustomElement as defineCustomElement$A } from '@ionic/core/components/ion-menu-toggle.js';
|
|
42
|
-
import { defineCustomElement as defineCustomElement$
|
|
42
|
+
import { defineCustomElement as defineCustomElement$1f } from '@ionic/core/components/ion-nav.js';
|
|
43
43
|
import { defineCustomElement as defineCustomElement$B } from '@ionic/core/components/ion-nav-link.js';
|
|
44
44
|
import { defineCustomElement as defineCustomElement$C } from '@ionic/core/components/ion-note.js';
|
|
45
|
-
import { defineCustomElement as defineCustomElement$D } from '@ionic/core/components/ion-
|
|
46
|
-
import { defineCustomElement as defineCustomElement$E } from '@ionic/core/components/ion-
|
|
47
|
-
import { defineCustomElement as defineCustomElement$F } from '@ionic/core/components/ion-
|
|
48
|
-
import { defineCustomElement as defineCustomElement$G } from '@ionic/core/components/ion-
|
|
49
|
-
import { defineCustomElement as defineCustomElement$H } from '@ionic/core/components/ion-
|
|
50
|
-
import { defineCustomElement as defineCustomElement$I } from '@ionic/core/components/ion-
|
|
51
|
-
import { defineCustomElement as defineCustomElement$J } from '@ionic/core/components/ion-
|
|
52
|
-
import { defineCustomElement as defineCustomElement$K } from '@ionic/core/components/ion-
|
|
53
|
-
import { defineCustomElement as defineCustomElement$L } from '@ionic/core/components/ion-
|
|
54
|
-
import { defineCustomElement as defineCustomElement$M } from '@ionic/core/components/ion-
|
|
55
|
-
import { defineCustomElement as defineCustomElement$N } from '@ionic/core/components/ion-
|
|
56
|
-
import { defineCustomElement as defineCustomElement$O } from '@ionic/core/components/ion-
|
|
57
|
-
import { defineCustomElement as defineCustomElement$P } from '@ionic/core/components/ion-
|
|
58
|
-
import { defineCustomElement as defineCustomElement$Q } from '@ionic/core/components/ion-
|
|
59
|
-
import { defineCustomElement as defineCustomElement$R } from '@ionic/core/components/ion-
|
|
60
|
-
import { defineCustomElement as defineCustomElement$S } from '@ionic/core/components/ion-
|
|
61
|
-
import { defineCustomElement as defineCustomElement$T } from '@ionic/core/components/ion-
|
|
62
|
-
import { defineCustomElement as defineCustomElement$U } from '@ionic/core/components/ion-
|
|
63
|
-
import { defineCustomElement as defineCustomElement$V } from '@ionic/core/components/ion-
|
|
64
|
-
import { defineCustomElement as defineCustomElement$W } from '@ionic/core/components/ion-
|
|
65
|
-
import { defineCustomElement as defineCustomElement$X } from '@ionic/core/components/ion-
|
|
66
|
-
import { defineCustomElement as defineCustomElement$Y } from '@ionic/core/components/ion-
|
|
67
|
-
import { defineCustomElement as defineCustomElement$Z } from '@ionic/core/components/ion-
|
|
68
|
-
import { defineCustomElement as defineCustomElement$_ } from '@ionic/core/components/ion-
|
|
69
|
-
import { defineCustomElement as defineCustomElement$$ } from '@ionic/core/components/ion-
|
|
45
|
+
import { defineCustomElement as defineCustomElement$D } from '@ionic/core/components/ion-picker.js';
|
|
46
|
+
import { defineCustomElement as defineCustomElement$E } from '@ionic/core/components/ion-picker-column.js';
|
|
47
|
+
import { defineCustomElement as defineCustomElement$F } from '@ionic/core/components/ion-progress-bar.js';
|
|
48
|
+
import { defineCustomElement as defineCustomElement$G } from '@ionic/core/components/ion-radio.js';
|
|
49
|
+
import { defineCustomElement as defineCustomElement$H } from '@ionic/core/components/ion-radio-group.js';
|
|
50
|
+
import { defineCustomElement as defineCustomElement$I } from '@ionic/core/components/ion-range.js';
|
|
51
|
+
import { defineCustomElement as defineCustomElement$J } from '@ionic/core/components/ion-refresher.js';
|
|
52
|
+
import { defineCustomElement as defineCustomElement$K } from '@ionic/core/components/ion-refresher-content.js';
|
|
53
|
+
import { defineCustomElement as defineCustomElement$L } from '@ionic/core/components/ion-reorder.js';
|
|
54
|
+
import { defineCustomElement as defineCustomElement$M } from '@ionic/core/components/ion-reorder-group.js';
|
|
55
|
+
import { defineCustomElement as defineCustomElement$N } from '@ionic/core/components/ion-ripple-effect.js';
|
|
56
|
+
import { defineCustomElement as defineCustomElement$O } from '@ionic/core/components/ion-row.js';
|
|
57
|
+
import { defineCustomElement as defineCustomElement$P } from '@ionic/core/components/ion-searchbar.js';
|
|
58
|
+
import { defineCustomElement as defineCustomElement$Q } from '@ionic/core/components/ion-segment.js';
|
|
59
|
+
import { defineCustomElement as defineCustomElement$R } from '@ionic/core/components/ion-segment-button.js';
|
|
60
|
+
import { defineCustomElement as defineCustomElement$S } from '@ionic/core/components/ion-select.js';
|
|
61
|
+
import { defineCustomElement as defineCustomElement$T } from '@ionic/core/components/ion-select-option.js';
|
|
62
|
+
import { defineCustomElement as defineCustomElement$U } from '@ionic/core/components/ion-skeleton-text.js';
|
|
63
|
+
import { defineCustomElement as defineCustomElement$V } from '@ionic/core/components/ion-spinner.js';
|
|
64
|
+
import { defineCustomElement as defineCustomElement$W } from '@ionic/core/components/ion-split-pane.js';
|
|
65
|
+
import { defineCustomElement as defineCustomElement$X } from '@ionic/core/components/ion-tab.js';
|
|
66
|
+
import { defineCustomElement as defineCustomElement$Y } from '@ionic/core/components/ion-text.js';
|
|
67
|
+
import { defineCustomElement as defineCustomElement$Z } from '@ionic/core/components/ion-textarea.js';
|
|
68
|
+
import { defineCustomElement as defineCustomElement$_ } from '@ionic/core/components/ion-thumbnail.js';
|
|
69
|
+
import { defineCustomElement as defineCustomElement$$ } from '@ionic/core/components/ion-title.js';
|
|
70
|
+
import { defineCustomElement as defineCustomElement$10 } from '@ionic/core/components/ion-toggle.js';
|
|
71
|
+
import { defineCustomElement as defineCustomElement$11 } from '@ionic/core/components/ion-toolbar.js';
|
|
70
72
|
import { IonBreadcrumb as IonBreadcrumb$1 } from '@ionic/core/components/ion-breadcrumb.js';
|
|
71
73
|
import { IonButton as IonButton$1 } from '@ionic/core/components/ion-button.js';
|
|
72
74
|
import { IonCard as IonCard$1 } from '@ionic/core/components/ion-card.js';
|
|
@@ -74,19 +76,19 @@ import { IonFabButton as IonFabButton$1 } from '@ionic/core/components/ion-fab-b
|
|
|
74
76
|
import { IonItemOption as IonItemOption$1 } from '@ionic/core/components/ion-item-option.js';
|
|
75
77
|
import { IonItem as IonItem$1 } from '@ionic/core/components/ion-item.js';
|
|
76
78
|
import { IonRouterLink as IonRouterLink$1 } from '@ionic/core/components/ion-router-link.js';
|
|
77
|
-
import { defineCustomElement as defineCustomElement$
|
|
78
|
-
import { defineCustomElement as defineCustomElement$
|
|
79
|
-
import { defineCustomElement as defineCustomElement$
|
|
80
|
-
import { defineCustomElement as defineCustomElement$
|
|
81
|
-
import { defineCustomElement as defineCustomElement$
|
|
82
|
-
import { defineCustomElement as defineCustomElement$
|
|
83
|
-
import { defineCustomElement as defineCustomElement$
|
|
84
|
-
import { defineCustomElement as defineCustomElement$
|
|
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$
|
|
79
|
+
import { defineCustomElement as defineCustomElement$12 } from '@ionic/core/components/ion-alert.js';
|
|
80
|
+
import { defineCustomElement as defineCustomElement$13 } from '@ionic/core/components/ion-loading.js';
|
|
81
|
+
import { defineCustomElement as defineCustomElement$14 } from '@ionic/core/components/ion-toast.js';
|
|
82
|
+
import { defineCustomElement as defineCustomElement$15 } from '@ionic/core/components/ion-picker-legacy.js';
|
|
83
|
+
import { defineCustomElement as defineCustomElement$16 } from '@ionic/core/components/ion-action-sheet.js';
|
|
84
|
+
import { defineCustomElement as defineCustomElement$17 } from '@ionic/core/components/ion-modal.js';
|
|
85
|
+
import { defineCustomElement as defineCustomElement$18 } from '@ionic/core/components/ion-popover.js';
|
|
86
|
+
import { defineCustomElement as defineCustomElement$1e } from '@ionic/core/components/ion-app.js';
|
|
87
|
+
import { defineCustomElement as defineCustomElement$1d } from '@ionic/core/components/ion-back-button.js';
|
|
88
|
+
import { defineCustomElement as defineCustomElement$1a } from '@ionic/core/components/ion-router-outlet.js';
|
|
89
|
+
import { defineCustomElement as defineCustomElement$19 } from '@ionic/core/components/ion-tab-bar.js';
|
|
90
|
+
import { defineCustomElement as defineCustomElement$1c } from '@ionic/core/components/ion-tab-button.js';
|
|
91
|
+
import { defineCustomElement as defineCustomElement$1b } from 'ionicons/components/ion-icon.js';
|
|
90
92
|
|
|
91
93
|
const IonLifeCycleContext = /*@__PURE__*/ React.createContext({
|
|
92
94
|
onIonViewWillEnter: () => {
|
|
@@ -651,31 +653,33 @@ const IonMenuButton = /*@__PURE__*/ createReactComponent('ion-menu-button', unde
|
|
|
651
653
|
const IonMenuToggle = /*@__PURE__*/ createReactComponent('ion-menu-toggle', undefined, undefined, defineCustomElement$A);
|
|
652
654
|
const IonNavLink = /*@__PURE__*/ createReactComponent('ion-nav-link', undefined, undefined, defineCustomElement$B);
|
|
653
655
|
const IonNote = /*@__PURE__*/ createReactComponent('ion-note', undefined, undefined, defineCustomElement$C);
|
|
654
|
-
const
|
|
655
|
-
const
|
|
656
|
-
const
|
|
657
|
-
const
|
|
658
|
-
const
|
|
659
|
-
const
|
|
660
|
-
const
|
|
661
|
-
const
|
|
662
|
-
const
|
|
663
|
-
const
|
|
664
|
-
const
|
|
665
|
-
const
|
|
666
|
-
const
|
|
667
|
-
const
|
|
668
|
-
const
|
|
669
|
-
const
|
|
670
|
-
const
|
|
671
|
-
const
|
|
672
|
-
const
|
|
673
|
-
const
|
|
674
|
-
const
|
|
675
|
-
const
|
|
676
|
-
const
|
|
677
|
-
const
|
|
678
|
-
const
|
|
656
|
+
const IonPicker = /*@__PURE__*/ createReactComponent('ion-picker', undefined, undefined, defineCustomElement$D);
|
|
657
|
+
const IonPickerColumn = /*@__PURE__*/ createReactComponent('ion-picker-column', undefined, undefined, defineCustomElement$E);
|
|
658
|
+
const IonProgressBar = /*@__PURE__*/ createReactComponent('ion-progress-bar', undefined, undefined, defineCustomElement$F);
|
|
659
|
+
const IonRadio = /*@__PURE__*/ createReactComponent('ion-radio', undefined, undefined, defineCustomElement$G);
|
|
660
|
+
const IonRadioGroup = /*@__PURE__*/ createReactComponent('ion-radio-group', undefined, undefined, defineCustomElement$H);
|
|
661
|
+
const IonRange = /*@__PURE__*/ createReactComponent('ion-range', undefined, undefined, defineCustomElement$I);
|
|
662
|
+
const IonRefresher = /*@__PURE__*/ createReactComponent('ion-refresher', undefined, undefined, defineCustomElement$J);
|
|
663
|
+
const IonRefresherContent = /*@__PURE__*/ createReactComponent('ion-refresher-content', undefined, undefined, defineCustomElement$K);
|
|
664
|
+
const IonReorder = /*@__PURE__*/ createReactComponent('ion-reorder', undefined, undefined, defineCustomElement$L);
|
|
665
|
+
const IonReorderGroup = /*@__PURE__*/ createReactComponent('ion-reorder-group', undefined, undefined, defineCustomElement$M);
|
|
666
|
+
const IonRippleEffect = /*@__PURE__*/ createReactComponent('ion-ripple-effect', undefined, undefined, defineCustomElement$N);
|
|
667
|
+
const IonRow = /*@__PURE__*/ createReactComponent('ion-row', undefined, undefined, defineCustomElement$O);
|
|
668
|
+
const IonSearchbar = /*@__PURE__*/ createReactComponent('ion-searchbar', undefined, undefined, defineCustomElement$P);
|
|
669
|
+
const IonSegment = /*@__PURE__*/ createReactComponent('ion-segment', undefined, undefined, defineCustomElement$Q);
|
|
670
|
+
const IonSegmentButton = /*@__PURE__*/ createReactComponent('ion-segment-button', undefined, undefined, defineCustomElement$R);
|
|
671
|
+
const IonSelect = /*@__PURE__*/ createReactComponent('ion-select', undefined, undefined, defineCustomElement$S);
|
|
672
|
+
const IonSelectOption = /*@__PURE__*/ createReactComponent('ion-select-option', undefined, undefined, defineCustomElement$T);
|
|
673
|
+
const IonSkeletonText = /*@__PURE__*/ createReactComponent('ion-skeleton-text', undefined, undefined, defineCustomElement$U);
|
|
674
|
+
const IonSpinner = /*@__PURE__*/ createReactComponent('ion-spinner', undefined, undefined, defineCustomElement$V);
|
|
675
|
+
const IonSplitPane = /*@__PURE__*/ createReactComponent('ion-split-pane', undefined, undefined, defineCustomElement$W);
|
|
676
|
+
const IonTab = /*@__PURE__*/ createReactComponent('ion-tab', undefined, undefined, defineCustomElement$X);
|
|
677
|
+
const IonText = /*@__PURE__*/ createReactComponent('ion-text', undefined, undefined, defineCustomElement$Y);
|
|
678
|
+
const IonTextarea = /*@__PURE__*/ createReactComponent('ion-textarea', undefined, undefined, defineCustomElement$Z);
|
|
679
|
+
const IonThumbnail = /*@__PURE__*/ createReactComponent('ion-thumbnail', undefined, undefined, defineCustomElement$_);
|
|
680
|
+
const IonTitle = /*@__PURE__*/ createReactComponent('ion-title', undefined, undefined, defineCustomElement$$);
|
|
681
|
+
const IonToggle = /*@__PURE__*/ createReactComponent('ion-toggle', undefined, undefined, defineCustomElement$10);
|
|
682
|
+
const IonToolbar = /*@__PURE__*/ createReactComponent('ion-toolbar', undefined, undefined, defineCustomElement$11);
|
|
679
683
|
|
|
680
684
|
const createForwardRef = (ReactComponent, // TODO(FW-2959): type
|
|
681
685
|
displayName) => {
|
|
@@ -960,19 +964,19 @@ const createInlineOverlayComponent = (tagName, defineCustomElement, hasDelegateH
|
|
|
960
964
|
};
|
|
961
965
|
const DELEGATE_HOST = 'ion-delegate-host';
|
|
962
966
|
|
|
963
|
-
const IonAlert = /*@__PURE__*/ createInlineOverlayComponent('ion-alert', defineCustomElement$
|
|
967
|
+
const IonAlert = /*@__PURE__*/ createInlineOverlayComponent('ion-alert', defineCustomElement$12);
|
|
964
968
|
|
|
965
|
-
const IonLoading = /*@__PURE__*/ createInlineOverlayComponent('ion-loading', defineCustomElement$
|
|
969
|
+
const IonLoading = /*@__PURE__*/ createInlineOverlayComponent('ion-loading', defineCustomElement$13);
|
|
966
970
|
|
|
967
|
-
const IonToast = /*@__PURE__*/ createInlineOverlayComponent('ion-toast', defineCustomElement$
|
|
971
|
+
const IonToast = /*@__PURE__*/ createInlineOverlayComponent('ion-toast', defineCustomElement$14);
|
|
968
972
|
|
|
969
|
-
const IonPickerLegacy = /*@__PURE__*/ createInlineOverlayComponent('ion-picker-legacy', defineCustomElement$
|
|
973
|
+
const IonPickerLegacy = /*@__PURE__*/ createInlineOverlayComponent('ion-picker-legacy', defineCustomElement$15);
|
|
970
974
|
|
|
971
|
-
const IonActionSheet = /*@__PURE__*/ createInlineOverlayComponent('ion-action-sheet', defineCustomElement$
|
|
975
|
+
const IonActionSheet = /*@__PURE__*/ createInlineOverlayComponent('ion-action-sheet', defineCustomElement$16);
|
|
972
976
|
|
|
973
|
-
const IonModal = /*@__PURE__*/ createInlineOverlayComponent('ion-modal', defineCustomElement$
|
|
977
|
+
const IonModal = /*@__PURE__*/ createInlineOverlayComponent('ion-modal', defineCustomElement$17, true);
|
|
974
978
|
|
|
975
|
-
const IonPopover = /*@__PURE__*/ createInlineOverlayComponent('ion-popover', defineCustomElement$
|
|
979
|
+
const IonPopover = /*@__PURE__*/ createInlineOverlayComponent('ion-popover', defineCustomElement$18);
|
|
976
980
|
|
|
977
981
|
const IonContext = React.createContext({
|
|
978
982
|
addOverlay: () => {
|
|
@@ -1064,13 +1068,13 @@ const IonOverlayManager = ({ onAddOverlay, onRemoveOverlay }) => {
|
|
|
1064
1068
|
})));
|
|
1065
1069
|
};
|
|
1066
1070
|
|
|
1067
|
-
const IonTabButtonInner = /*@__PURE__*/ createReactComponent('ion-tab-button', undefined, undefined, defineCustomElement$
|
|
1068
|
-
const IonTabBarInner = /*@__PURE__*/ createReactComponent('ion-tab-bar', undefined, undefined, defineCustomElement$
|
|
1069
|
-
const IonBackButtonInner = /*@__PURE__*/ createReactComponent('ion-back-button', undefined, undefined, defineCustomElement$
|
|
1070
|
-
const IonRouterOutletInner = /*@__PURE__*/ createReactComponent('ion-router-outlet', undefined, undefined, defineCustomElement$
|
|
1071
|
-
const IonAppInner = /*@__PURE__*/ createReactComponent('ion-app', undefined, undefined, defineCustomElement$
|
|
1071
|
+
const IonTabButtonInner = /*@__PURE__*/ createReactComponent('ion-tab-button', undefined, undefined, defineCustomElement$1c);
|
|
1072
|
+
const IonTabBarInner = /*@__PURE__*/ createReactComponent('ion-tab-bar', undefined, undefined, defineCustomElement$19);
|
|
1073
|
+
const IonBackButtonInner = /*@__PURE__*/ createReactComponent('ion-back-button', undefined, undefined, defineCustomElement$1d);
|
|
1074
|
+
const IonRouterOutletInner = /*@__PURE__*/ createReactComponent('ion-router-outlet', undefined, undefined, defineCustomElement$1a);
|
|
1075
|
+
const IonAppInner = /*@__PURE__*/ createReactComponent('ion-app', undefined, undefined, defineCustomElement$1e);
|
|
1072
1076
|
// ionicons
|
|
1073
|
-
const IonIconInner = /*@__PURE__*/ createReactComponent('ion-icon', undefined, undefined, defineCustomElement$
|
|
1077
|
+
const IonIconInner = /*@__PURE__*/ createReactComponent('ion-icon', undefined, undefined, defineCustomElement$1b);
|
|
1074
1078
|
|
|
1075
1079
|
const IonApp = /*@__PURE__*/ (() => class extends React.Component {
|
|
1076
1080
|
constructor(props) {
|
|
@@ -1225,7 +1229,7 @@ const ReactDelegate = (addView, removeView) => {
|
|
|
1225
1229
|
};
|
|
1226
1230
|
};
|
|
1227
1231
|
|
|
1228
|
-
const IonNavInner = createReactComponent('ion-nav', undefined, undefined, defineCustomElement$
|
|
1232
|
+
const IonNavInner = createReactComponent('ion-nav', undefined, undefined, defineCustomElement$1f);
|
|
1229
1233
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1230
1234
|
const IonNavInternal = (_a) => {
|
|
1231
1235
|
var { children, forwardedRef } = _a, restOfProps = __rest(_a, ["children", "forwardedRef"]);
|
|
@@ -1927,7 +1931,7 @@ function useController(displayName, controller, defineCustomElement) {
|
|
|
1927
1931
|
* @returns Returns the present and dismiss methods in an array
|
|
1928
1932
|
*/
|
|
1929
1933
|
function useIonActionSheet() {
|
|
1930
|
-
const controller = useController('IonActionSheet', actionSheetController, defineCustomElement$
|
|
1934
|
+
const controller = useController('IonActionSheet', actionSheetController, defineCustomElement$16);
|
|
1931
1935
|
const present = useCallback((buttonsOrOptions, header) => {
|
|
1932
1936
|
if (Array.isArray(buttonsOrOptions)) {
|
|
1933
1937
|
return controller.present({
|
|
@@ -1947,7 +1951,7 @@ function useIonActionSheet() {
|
|
|
1947
1951
|
* @returns Returns the present and dismiss methods in an array
|
|
1948
1952
|
*/
|
|
1949
1953
|
function useIonAlert() {
|
|
1950
|
-
const controller = useController('IonAlert', alertController, defineCustomElement$
|
|
1954
|
+
const controller = useController('IonAlert', alertController, defineCustomElement$12);
|
|
1951
1955
|
const present = useCallback((messageOrOptions, buttons) => {
|
|
1952
1956
|
if (typeof messageOrOptions === 'string') {
|
|
1953
1957
|
return controller.present({
|
|
@@ -1967,7 +1971,7 @@ function useIonAlert() {
|
|
|
1967
1971
|
* @returns Returns the present and dismiss methods in an array
|
|
1968
1972
|
*/
|
|
1969
1973
|
function useIonToast() {
|
|
1970
|
-
const controller = useController('IonToast', toastController, defineCustomElement$
|
|
1974
|
+
const controller = useController('IonToast', toastController, defineCustomElement$14);
|
|
1971
1975
|
const present = useCallback((messageOrOptions, duration) => {
|
|
1972
1976
|
if (typeof messageOrOptions === 'string') {
|
|
1973
1977
|
return controller.present({
|
|
@@ -2050,7 +2054,7 @@ function useOverlay(displayName, controller, defineCustomElement, component, com
|
|
|
2050
2054
|
* @returns Returns the present and dismiss methods in an array
|
|
2051
2055
|
*/
|
|
2052
2056
|
function useIonModal(component, componentProps) {
|
|
2053
|
-
const controller = useOverlay('IonModal', modalController, defineCustomElement$
|
|
2057
|
+
const controller = useOverlay('IonModal', modalController, defineCustomElement$17, component, componentProps);
|
|
2054
2058
|
const present = useCallback((options = {}) => {
|
|
2055
2059
|
controller.present(options);
|
|
2056
2060
|
}, [controller.present]);
|
|
@@ -2065,7 +2069,7 @@ function useIonModal(component, componentProps) {
|
|
|
2065
2069
|
* @returns Returns the present and dismiss methods in an array
|
|
2066
2070
|
*/
|
|
2067
2071
|
function useIonPopover(component, componentProps) {
|
|
2068
|
-
const controller = useOverlay('IonPopover', popoverController, defineCustomElement$
|
|
2072
|
+
const controller = useOverlay('IonPopover', popoverController, defineCustomElement$18, component, componentProps);
|
|
2069
2073
|
const present = useCallback((options = {}) => {
|
|
2070
2074
|
controller.present(options);
|
|
2071
2075
|
}, [controller.present]);
|
|
@@ -2078,7 +2082,7 @@ function useIonPopover(component, componentProps) {
|
|
|
2078
2082
|
* @deprecated Use the inline ion-picker component instead.
|
|
2079
2083
|
*/
|
|
2080
2084
|
function useIonPicker() {
|
|
2081
|
-
const controller = useController('IonPicker', pickerController, defineCustomElement$
|
|
2085
|
+
const controller = useController('IonPicker', pickerController, defineCustomElement$15);
|
|
2082
2086
|
const present = useCallback((columnsOrOptions, buttons) => {
|
|
2083
2087
|
if (Array.isArray(columnsOrOptions)) {
|
|
2084
2088
|
return controller.present({
|
|
@@ -2098,7 +2102,7 @@ function useIonPicker() {
|
|
|
2098
2102
|
* @returns Returns the present and dismiss methods in an array
|
|
2099
2103
|
*/
|
|
2100
2104
|
function useIonLoading() {
|
|
2101
|
-
const controller = useController('IonLoading', loadingController, defineCustomElement$
|
|
2105
|
+
const controller = useController('IonLoading', loadingController, defineCustomElement$13);
|
|
2102
2106
|
const present = useCallback((messageOrOptions = {}, duration, spinner) => {
|
|
2103
2107
|
if (typeof messageOrOptions === 'string') {
|
|
2104
2108
|
return controller.present({
|
|
@@ -2443,5 +2447,5 @@ class ViewStacks {
|
|
|
2443
2447
|
}
|
|
2444
2448
|
}
|
|
2445
2449
|
|
|
2446
|
-
export { CreateAnimation, DefaultIonLifeCycleContext, 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, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonLifeCycleContext, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonModal, IonNav, IonNavLink, IonNote, IonPage, IonPickerLegacy, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRedirect, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRoute, IonRouterContext, IonRouterLink, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTab, IonTabBar, IonTabButton, IonTabs, IonTabsContext, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, LocationHistory, NavContext, NavManager, RouteManagerContext, StackContext, ViewLifeCycleManager, ViewStacks, generateId, getConfig, getPlatforms, isPlatform, setupIonicReact, useIonActionSheet, useIonAlert, useIonLoading, useIonModal, useIonPicker, useIonPopover, useIonRouter, useIonToast, useIonViewDidEnter, useIonViewDidLeave, useIonViewWillEnter, useIonViewWillLeave, withIonLifeCycle };
|
|
2450
|
+
export { CreateAnimation, DefaultIonLifeCycleContext, 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, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonLifeCycleContext, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonModal, IonNav, IonNavLink, IonNote, IonPage, IonPicker, IonPickerColumn, IonPickerLegacy, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRedirect, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRoute, IonRouterContext, IonRouterLink, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTab, IonTabBar, IonTabButton, IonTabs, IonTabsContext, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, LocationHistory, NavContext, NavManager, RouteManagerContext, StackContext, ViewLifeCycleManager, ViewStacks, generateId, getConfig, getPlatforms, isPlatform, setupIonicReact, useIonActionSheet, useIonAlert, useIonLoading, useIonModal, useIonPicker, useIonPopover, useIonRouter, useIonToast, useIonViewDidEnter, useIonViewDidLeave, useIonViewWillEnter, useIonViewWillLeave, withIonLifeCycle };
|
|
2447
2451
|
//# sourceMappingURL=index.js.map
|