@ionic/react 7.5.7-dev.11701201960.104b3a1f → 7.5.7-dev.11701270755.14f050ad
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 +88 -86
- package/dist/index.js.map +1 -1
- package/dist/types/components/proxies.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -39,36 +39,37 @@ 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$1g } 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
45
|
import { defineCustomElement as defineCustomElement$D } from '@ionic/core/components/ion-picker.js';
|
|
46
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-
|
|
48
|
-
import { defineCustomElement as defineCustomElement$G } from '@ionic/core/components/ion-
|
|
49
|
-
import { defineCustomElement as defineCustomElement$H } from '@ionic/core/components/ion-radio
|
|
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-refresher
|
|
53
|
-
import { defineCustomElement as defineCustomElement$L } from '@ionic/core/components/ion-
|
|
54
|
-
import { defineCustomElement as defineCustomElement$M } from '@ionic/core/components/ion-reorder
|
|
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-segment
|
|
60
|
-
import { defineCustomElement as defineCustomElement$S } from '@ionic/core/components/ion-
|
|
61
|
-
import { defineCustomElement as defineCustomElement$T } from '@ionic/core/components/ion-select
|
|
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-
|
|
70
|
-
import { defineCustomElement as defineCustomElement$10 } from '@ionic/core/components/ion-
|
|
71
|
-
import { defineCustomElement as defineCustomElement$11 } from '@ionic/core/components/ion-
|
|
47
|
+
import { defineCustomElement as defineCustomElement$F } from '@ionic/core/components/ion-picker-column-option.js';
|
|
48
|
+
import { defineCustomElement as defineCustomElement$G } from '@ionic/core/components/ion-progress-bar.js';
|
|
49
|
+
import { defineCustomElement as defineCustomElement$H } from '@ionic/core/components/ion-radio.js';
|
|
50
|
+
import { defineCustomElement as defineCustomElement$I } from '@ionic/core/components/ion-radio-group.js';
|
|
51
|
+
import { defineCustomElement as defineCustomElement$J } from '@ionic/core/components/ion-range.js';
|
|
52
|
+
import { defineCustomElement as defineCustomElement$K } from '@ionic/core/components/ion-refresher.js';
|
|
53
|
+
import { defineCustomElement as defineCustomElement$L } from '@ionic/core/components/ion-refresher-content.js';
|
|
54
|
+
import { defineCustomElement as defineCustomElement$M } from '@ionic/core/components/ion-reorder.js';
|
|
55
|
+
import { defineCustomElement as defineCustomElement$N } from '@ionic/core/components/ion-reorder-group.js';
|
|
56
|
+
import { defineCustomElement as defineCustomElement$O } from '@ionic/core/components/ion-ripple-effect.js';
|
|
57
|
+
import { defineCustomElement as defineCustomElement$P } from '@ionic/core/components/ion-row.js';
|
|
58
|
+
import { defineCustomElement as defineCustomElement$Q } from '@ionic/core/components/ion-searchbar.js';
|
|
59
|
+
import { defineCustomElement as defineCustomElement$R } from '@ionic/core/components/ion-segment.js';
|
|
60
|
+
import { defineCustomElement as defineCustomElement$S } from '@ionic/core/components/ion-segment-button.js';
|
|
61
|
+
import { defineCustomElement as defineCustomElement$T } from '@ionic/core/components/ion-select.js';
|
|
62
|
+
import { defineCustomElement as defineCustomElement$U } from '@ionic/core/components/ion-select-option.js';
|
|
63
|
+
import { defineCustomElement as defineCustomElement$V } from '@ionic/core/components/ion-skeleton-text.js';
|
|
64
|
+
import { defineCustomElement as defineCustomElement$W } from '@ionic/core/components/ion-spinner.js';
|
|
65
|
+
import { defineCustomElement as defineCustomElement$X } from '@ionic/core/components/ion-split-pane.js';
|
|
66
|
+
import { defineCustomElement as defineCustomElement$Y } from '@ionic/core/components/ion-tab.js';
|
|
67
|
+
import { defineCustomElement as defineCustomElement$Z } from '@ionic/core/components/ion-text.js';
|
|
68
|
+
import { defineCustomElement as defineCustomElement$_ } from '@ionic/core/components/ion-textarea.js';
|
|
69
|
+
import { defineCustomElement as defineCustomElement$$ } from '@ionic/core/components/ion-thumbnail.js';
|
|
70
|
+
import { defineCustomElement as defineCustomElement$10 } from '@ionic/core/components/ion-title.js';
|
|
71
|
+
import { defineCustomElement as defineCustomElement$11 } from '@ionic/core/components/ion-toggle.js';
|
|
72
|
+
import { defineCustomElement as defineCustomElement$12 } from '@ionic/core/components/ion-toolbar.js';
|
|
72
73
|
import { IonBreadcrumb as IonBreadcrumb$1 } from '@ionic/core/components/ion-breadcrumb.js';
|
|
73
74
|
import { IonButton as IonButton$1 } from '@ionic/core/components/ion-button.js';
|
|
74
75
|
import { IonCard as IonCard$1 } from '@ionic/core/components/ion-card.js';
|
|
@@ -76,19 +77,19 @@ import { IonFabButton as IonFabButton$1 } from '@ionic/core/components/ion-fab-b
|
|
|
76
77
|
import { IonItemOption as IonItemOption$1 } from '@ionic/core/components/ion-item-option.js';
|
|
77
78
|
import { IonItem as IonItem$1 } from '@ionic/core/components/ion-item.js';
|
|
78
79
|
import { IonRouterLink as IonRouterLink$1 } from '@ionic/core/components/ion-router-link.js';
|
|
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$
|
|
90
|
-
import { defineCustomElement as defineCustomElement$
|
|
91
|
-
import { defineCustomElement as defineCustomElement$
|
|
80
|
+
import { defineCustomElement as defineCustomElement$13 } from '@ionic/core/components/ion-alert.js';
|
|
81
|
+
import { defineCustomElement as defineCustomElement$14 } from '@ionic/core/components/ion-loading.js';
|
|
82
|
+
import { defineCustomElement as defineCustomElement$15 } from '@ionic/core/components/ion-toast.js';
|
|
83
|
+
import { defineCustomElement as defineCustomElement$16 } from '@ionic/core/components/ion-picker-legacy.js';
|
|
84
|
+
import { defineCustomElement as defineCustomElement$17 } from '@ionic/core/components/ion-action-sheet.js';
|
|
85
|
+
import { defineCustomElement as defineCustomElement$18 } from '@ionic/core/components/ion-modal.js';
|
|
86
|
+
import { defineCustomElement as defineCustomElement$19 } from '@ionic/core/components/ion-popover.js';
|
|
87
|
+
import { defineCustomElement as defineCustomElement$1f } from '@ionic/core/components/ion-app.js';
|
|
88
|
+
import { defineCustomElement as defineCustomElement$1e } from '@ionic/core/components/ion-back-button.js';
|
|
89
|
+
import { defineCustomElement as defineCustomElement$1b } from '@ionic/core/components/ion-router-outlet.js';
|
|
90
|
+
import { defineCustomElement as defineCustomElement$1a } from '@ionic/core/components/ion-tab-bar.js';
|
|
91
|
+
import { defineCustomElement as defineCustomElement$1d } from '@ionic/core/components/ion-tab-button.js';
|
|
92
|
+
import { defineCustomElement as defineCustomElement$1c } from 'ionicons/components/ion-icon.js';
|
|
92
93
|
|
|
93
94
|
const IonLifeCycleContext = /*@__PURE__*/ React.createContext({
|
|
94
95
|
onIonViewWillEnter: () => {
|
|
@@ -655,31 +656,32 @@ const IonNavLink = /*@__PURE__*/ createReactComponent('ion-nav-link', undefined,
|
|
|
655
656
|
const IonNote = /*@__PURE__*/ createReactComponent('ion-note', undefined, undefined, defineCustomElement$C);
|
|
656
657
|
const IonPicker = /*@__PURE__*/ createReactComponent('ion-picker', undefined, undefined, defineCustomElement$D);
|
|
657
658
|
const IonPickerColumn = /*@__PURE__*/ createReactComponent('ion-picker-column', undefined, undefined, defineCustomElement$E);
|
|
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
|
|
679
|
-
const
|
|
680
|
-
const
|
|
681
|
-
const
|
|
682
|
-
const
|
|
659
|
+
const IonPickerColumnOption = /*@__PURE__*/ createReactComponent('ion-picker-column-option', undefined, undefined, defineCustomElement$F);
|
|
660
|
+
const IonProgressBar = /*@__PURE__*/ createReactComponent('ion-progress-bar', undefined, undefined, defineCustomElement$G);
|
|
661
|
+
const IonRadio = /*@__PURE__*/ createReactComponent('ion-radio', undefined, undefined, defineCustomElement$H);
|
|
662
|
+
const IonRadioGroup = /*@__PURE__*/ createReactComponent('ion-radio-group', undefined, undefined, defineCustomElement$I);
|
|
663
|
+
const IonRange = /*@__PURE__*/ createReactComponent('ion-range', undefined, undefined, defineCustomElement$J);
|
|
664
|
+
const IonRefresher = /*@__PURE__*/ createReactComponent('ion-refresher', undefined, undefined, defineCustomElement$K);
|
|
665
|
+
const IonRefresherContent = /*@__PURE__*/ createReactComponent('ion-refresher-content', undefined, undefined, defineCustomElement$L);
|
|
666
|
+
const IonReorder = /*@__PURE__*/ createReactComponent('ion-reorder', undefined, undefined, defineCustomElement$M);
|
|
667
|
+
const IonReorderGroup = /*@__PURE__*/ createReactComponent('ion-reorder-group', undefined, undefined, defineCustomElement$N);
|
|
668
|
+
const IonRippleEffect = /*@__PURE__*/ createReactComponent('ion-ripple-effect', undefined, undefined, defineCustomElement$O);
|
|
669
|
+
const IonRow = /*@__PURE__*/ createReactComponent('ion-row', undefined, undefined, defineCustomElement$P);
|
|
670
|
+
const IonSearchbar = /*@__PURE__*/ createReactComponent('ion-searchbar', undefined, undefined, defineCustomElement$Q);
|
|
671
|
+
const IonSegment = /*@__PURE__*/ createReactComponent('ion-segment', undefined, undefined, defineCustomElement$R);
|
|
672
|
+
const IonSegmentButton = /*@__PURE__*/ createReactComponent('ion-segment-button', undefined, undefined, defineCustomElement$S);
|
|
673
|
+
const IonSelect = /*@__PURE__*/ createReactComponent('ion-select', undefined, undefined, defineCustomElement$T);
|
|
674
|
+
const IonSelectOption = /*@__PURE__*/ createReactComponent('ion-select-option', undefined, undefined, defineCustomElement$U);
|
|
675
|
+
const IonSkeletonText = /*@__PURE__*/ createReactComponent('ion-skeleton-text', undefined, undefined, defineCustomElement$V);
|
|
676
|
+
const IonSpinner = /*@__PURE__*/ createReactComponent('ion-spinner', undefined, undefined, defineCustomElement$W);
|
|
677
|
+
const IonSplitPane = /*@__PURE__*/ createReactComponent('ion-split-pane', undefined, undefined, defineCustomElement$X);
|
|
678
|
+
const IonTab = /*@__PURE__*/ createReactComponent('ion-tab', undefined, undefined, defineCustomElement$Y);
|
|
679
|
+
const IonText = /*@__PURE__*/ createReactComponent('ion-text', undefined, undefined, defineCustomElement$Z);
|
|
680
|
+
const IonTextarea = /*@__PURE__*/ createReactComponent('ion-textarea', undefined, undefined, defineCustomElement$_);
|
|
681
|
+
const IonThumbnail = /*@__PURE__*/ createReactComponent('ion-thumbnail', undefined, undefined, defineCustomElement$$);
|
|
682
|
+
const IonTitle = /*@__PURE__*/ createReactComponent('ion-title', undefined, undefined, defineCustomElement$10);
|
|
683
|
+
const IonToggle = /*@__PURE__*/ createReactComponent('ion-toggle', undefined, undefined, defineCustomElement$11);
|
|
684
|
+
const IonToolbar = /*@__PURE__*/ createReactComponent('ion-toolbar', undefined, undefined, defineCustomElement$12);
|
|
683
685
|
|
|
684
686
|
const createForwardRef = (ReactComponent, // TODO(FW-2959): type
|
|
685
687
|
displayName) => {
|
|
@@ -964,19 +966,19 @@ const createInlineOverlayComponent = (tagName, defineCustomElement, hasDelegateH
|
|
|
964
966
|
};
|
|
965
967
|
const DELEGATE_HOST = 'ion-delegate-host';
|
|
966
968
|
|
|
967
|
-
const IonAlert = /*@__PURE__*/ createInlineOverlayComponent('ion-alert', defineCustomElement$
|
|
969
|
+
const IonAlert = /*@__PURE__*/ createInlineOverlayComponent('ion-alert', defineCustomElement$13);
|
|
968
970
|
|
|
969
|
-
const IonLoading = /*@__PURE__*/ createInlineOverlayComponent('ion-loading', defineCustomElement$
|
|
971
|
+
const IonLoading = /*@__PURE__*/ createInlineOverlayComponent('ion-loading', defineCustomElement$14);
|
|
970
972
|
|
|
971
|
-
const IonToast = /*@__PURE__*/ createInlineOverlayComponent('ion-toast', defineCustomElement$
|
|
973
|
+
const IonToast = /*@__PURE__*/ createInlineOverlayComponent('ion-toast', defineCustomElement$15);
|
|
972
974
|
|
|
973
|
-
const IonPickerLegacy = /*@__PURE__*/ createInlineOverlayComponent('ion-picker-legacy', defineCustomElement$
|
|
975
|
+
const IonPickerLegacy = /*@__PURE__*/ createInlineOverlayComponent('ion-picker-legacy', defineCustomElement$16);
|
|
974
976
|
|
|
975
|
-
const IonActionSheet = /*@__PURE__*/ createInlineOverlayComponent('ion-action-sheet', defineCustomElement$
|
|
977
|
+
const IonActionSheet = /*@__PURE__*/ createInlineOverlayComponent('ion-action-sheet', defineCustomElement$17);
|
|
976
978
|
|
|
977
|
-
const IonModal = /*@__PURE__*/ createInlineOverlayComponent('ion-modal', defineCustomElement$
|
|
979
|
+
const IonModal = /*@__PURE__*/ createInlineOverlayComponent('ion-modal', defineCustomElement$18, true);
|
|
978
980
|
|
|
979
|
-
const IonPopover = /*@__PURE__*/ createInlineOverlayComponent('ion-popover', defineCustomElement$
|
|
981
|
+
const IonPopover = /*@__PURE__*/ createInlineOverlayComponent('ion-popover', defineCustomElement$19);
|
|
980
982
|
|
|
981
983
|
const IonContext = React.createContext({
|
|
982
984
|
addOverlay: () => {
|
|
@@ -1068,13 +1070,13 @@ const IonOverlayManager = ({ onAddOverlay, onRemoveOverlay }) => {
|
|
|
1068
1070
|
})));
|
|
1069
1071
|
};
|
|
1070
1072
|
|
|
1071
|
-
const IonTabButtonInner = /*@__PURE__*/ createReactComponent('ion-tab-button', undefined, undefined, defineCustomElement$
|
|
1072
|
-
const IonTabBarInner = /*@__PURE__*/ createReactComponent('ion-tab-bar', undefined, undefined, defineCustomElement$
|
|
1073
|
-
const IonBackButtonInner = /*@__PURE__*/ createReactComponent('ion-back-button', undefined, undefined, defineCustomElement$
|
|
1074
|
-
const IonRouterOutletInner = /*@__PURE__*/ createReactComponent('ion-router-outlet', undefined, undefined, defineCustomElement$
|
|
1075
|
-
const IonAppInner = /*@__PURE__*/ createReactComponent('ion-app', undefined, undefined, defineCustomElement$
|
|
1073
|
+
const IonTabButtonInner = /*@__PURE__*/ createReactComponent('ion-tab-button', undefined, undefined, defineCustomElement$1d);
|
|
1074
|
+
const IonTabBarInner = /*@__PURE__*/ createReactComponent('ion-tab-bar', undefined, undefined, defineCustomElement$1a);
|
|
1075
|
+
const IonBackButtonInner = /*@__PURE__*/ createReactComponent('ion-back-button', undefined, undefined, defineCustomElement$1e);
|
|
1076
|
+
const IonRouterOutletInner = /*@__PURE__*/ createReactComponent('ion-router-outlet', undefined, undefined, defineCustomElement$1b);
|
|
1077
|
+
const IonAppInner = /*@__PURE__*/ createReactComponent('ion-app', undefined, undefined, defineCustomElement$1f);
|
|
1076
1078
|
// ionicons
|
|
1077
|
-
const IonIconInner = /*@__PURE__*/ createReactComponent('ion-icon', undefined, undefined, defineCustomElement$
|
|
1079
|
+
const IonIconInner = /*@__PURE__*/ createReactComponent('ion-icon', undefined, undefined, defineCustomElement$1c);
|
|
1078
1080
|
|
|
1079
1081
|
const IonApp = /*@__PURE__*/ (() => class extends React.Component {
|
|
1080
1082
|
constructor(props) {
|
|
@@ -1229,7 +1231,7 @@ const ReactDelegate = (addView, removeView) => {
|
|
|
1229
1231
|
};
|
|
1230
1232
|
};
|
|
1231
1233
|
|
|
1232
|
-
const IonNavInner = createReactComponent('ion-nav', undefined, undefined, defineCustomElement$
|
|
1234
|
+
const IonNavInner = createReactComponent('ion-nav', undefined, undefined, defineCustomElement$1g);
|
|
1233
1235
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1234
1236
|
const IonNavInternal = (_a) => {
|
|
1235
1237
|
var { children, forwardedRef } = _a, restOfProps = __rest(_a, ["children", "forwardedRef"]);
|
|
@@ -1931,7 +1933,7 @@ function useController(displayName, controller, defineCustomElement) {
|
|
|
1931
1933
|
* @returns Returns the present and dismiss methods in an array
|
|
1932
1934
|
*/
|
|
1933
1935
|
function useIonActionSheet() {
|
|
1934
|
-
const controller = useController('IonActionSheet', actionSheetController, defineCustomElement$
|
|
1936
|
+
const controller = useController('IonActionSheet', actionSheetController, defineCustomElement$17);
|
|
1935
1937
|
const present = useCallback((buttonsOrOptions, header) => {
|
|
1936
1938
|
if (Array.isArray(buttonsOrOptions)) {
|
|
1937
1939
|
return controller.present({
|
|
@@ -1951,7 +1953,7 @@ function useIonActionSheet() {
|
|
|
1951
1953
|
* @returns Returns the present and dismiss methods in an array
|
|
1952
1954
|
*/
|
|
1953
1955
|
function useIonAlert() {
|
|
1954
|
-
const controller = useController('IonAlert', alertController, defineCustomElement$
|
|
1956
|
+
const controller = useController('IonAlert', alertController, defineCustomElement$13);
|
|
1955
1957
|
const present = useCallback((messageOrOptions, buttons) => {
|
|
1956
1958
|
if (typeof messageOrOptions === 'string') {
|
|
1957
1959
|
return controller.present({
|
|
@@ -1971,7 +1973,7 @@ function useIonAlert() {
|
|
|
1971
1973
|
* @returns Returns the present and dismiss methods in an array
|
|
1972
1974
|
*/
|
|
1973
1975
|
function useIonToast() {
|
|
1974
|
-
const controller = useController('IonToast', toastController, defineCustomElement$
|
|
1976
|
+
const controller = useController('IonToast', toastController, defineCustomElement$15);
|
|
1975
1977
|
const present = useCallback((messageOrOptions, duration) => {
|
|
1976
1978
|
if (typeof messageOrOptions === 'string') {
|
|
1977
1979
|
return controller.present({
|
|
@@ -2054,7 +2056,7 @@ function useOverlay(displayName, controller, defineCustomElement, component, com
|
|
|
2054
2056
|
* @returns Returns the present and dismiss methods in an array
|
|
2055
2057
|
*/
|
|
2056
2058
|
function useIonModal(component, componentProps) {
|
|
2057
|
-
const controller = useOverlay('IonModal', modalController, defineCustomElement$
|
|
2059
|
+
const controller = useOverlay('IonModal', modalController, defineCustomElement$18, component, componentProps);
|
|
2058
2060
|
const present = useCallback((options = {}) => {
|
|
2059
2061
|
controller.present(options);
|
|
2060
2062
|
}, [controller.present]);
|
|
@@ -2069,7 +2071,7 @@ function useIonModal(component, componentProps) {
|
|
|
2069
2071
|
* @returns Returns the present and dismiss methods in an array
|
|
2070
2072
|
*/
|
|
2071
2073
|
function useIonPopover(component, componentProps) {
|
|
2072
|
-
const controller = useOverlay('IonPopover', popoverController, defineCustomElement$
|
|
2074
|
+
const controller = useOverlay('IonPopover', popoverController, defineCustomElement$19, component, componentProps);
|
|
2073
2075
|
const present = useCallback((options = {}) => {
|
|
2074
2076
|
controller.present(options);
|
|
2075
2077
|
}, [controller.present]);
|
|
@@ -2082,7 +2084,7 @@ function useIonPopover(component, componentProps) {
|
|
|
2082
2084
|
* @deprecated Use the inline ion-picker component instead.
|
|
2083
2085
|
*/
|
|
2084
2086
|
function useIonPicker() {
|
|
2085
|
-
const controller = useController('IonPicker', pickerController, defineCustomElement$
|
|
2087
|
+
const controller = useController('IonPicker', pickerController, defineCustomElement$16);
|
|
2086
2088
|
const present = useCallback((columnsOrOptions, buttons) => {
|
|
2087
2089
|
if (Array.isArray(columnsOrOptions)) {
|
|
2088
2090
|
return controller.present({
|
|
@@ -2102,7 +2104,7 @@ function useIonPicker() {
|
|
|
2102
2104
|
* @returns Returns the present and dismiss methods in an array
|
|
2103
2105
|
*/
|
|
2104
2106
|
function useIonLoading() {
|
|
2105
|
-
const controller = useController('IonLoading', loadingController, defineCustomElement$
|
|
2107
|
+
const controller = useController('IonLoading', loadingController, defineCustomElement$14);
|
|
2106
2108
|
const present = useCallback((messageOrOptions = {}, duration, spinner) => {
|
|
2107
2109
|
if (typeof messageOrOptions === 'string') {
|
|
2108
2110
|
return controller.present({
|
|
@@ -2447,5 +2449,5 @@ class ViewStacks {
|
|
|
2447
2449
|
}
|
|
2448
2450
|
}
|
|
2449
2451
|
|
|
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 };
|
|
2452
|
+
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, IonPickerColumnOption, 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 };
|
|
2451
2453
|
//# sourceMappingURL=index.js.map
|