@ionic/core 7.4.4-dev.11696860023.1b8ee3ef → 7.4.4-dev.11696893919.1af6b3c1
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/components/animation.js +60 -1
- package/components/checkbox.js +3 -0
- package/components/ion-footer.js +11 -21
- package/components/ion-menu.js +51 -19
- package/components/ion-tab-bar.js +11 -21
- package/components/ion-toggle.js +3 -0
- package/components/radio-group.js +1 -1
- package/components/radio.js +4 -1
- package/components/swipe-back.js +5 -1
- package/dist/cjs/{animation-2bb33618.js → animation-c8bdd3c7.js} +60 -1
- package/dist/cjs/{index-97a3eade.js → index-1f1ea05f.js} +1 -1
- package/dist/cjs/{index-acf6bdf0.js → index-fa649bd8.js} +2 -2
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +14 -23
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -0
- package/dist/cjs/ion-datetime_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-loading.cjs.entry.js +1 -1
- package/dist/cjs/ion-menu_3.cjs.entry.js +53 -21
- package/dist/cjs/ion-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +12 -21
- package/dist/cjs/ion-toast.cjs.entry.js +1 -1
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -0
- package/dist/cjs/{ios.transition-e31445c2.js → ios.transition-4195d10d.js} +2 -2
- package/dist/cjs/{md.transition-fb13ac79.js → md.transition-0713f667.js} +2 -2
- package/dist/cjs/{swipe-back-6c57d1df.js → swipe-back-d0412fb6.js} +5 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -0
- package/dist/collection/components/footer/footer.js +11 -21
- package/dist/collection/components/menu/menu.js +51 -19
- package/dist/collection/components/menu/test/disable/menu.e2e.js +55 -0
- package/dist/collection/components/radio/radio.js +4 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/tab-bar/tab-bar.js +11 -21
- package/dist/collection/components/toggle/toggle.js +3 -0
- package/dist/collection/utils/animation/animation.js +60 -1
- package/dist/collection/utils/gesture/swipe-back.js +5 -1
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{animation-a1d9e088.js → animation-92066c62.js} +60 -1
- package/dist/esm/{index-32c6828b.js → index-0b0dd67c.js} +2 -2
- package/dist/esm/{index-3d6aefa2.js → index-97a2bb98.js} +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/ion-action-sheet.entry.js +1 -1
- package/dist/esm/ion-alert.entry.js +1 -1
- package/dist/esm/ion-app_8.entry.js +14 -23
- package/dist/esm/ion-checkbox.entry.js +3 -0
- package/dist/esm/ion-datetime_3.entry.js +1 -1
- package/dist/esm/ion-loading.entry.js +1 -1
- package/dist/esm/ion-menu_3.entry.js +53 -21
- package/dist/esm/ion-modal.entry.js +2 -2
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +5 -2
- package/dist/esm/ion-refresher_2.entry.js +1 -1
- package/dist/esm/ion-tab-bar_2.entry.js +12 -21
- package/dist/esm/ion-toast.entry.js +1 -1
- package/dist/esm/ion-toggle.entry.js +3 -0
- package/dist/esm/{ios.transition-d8223b18.js → ios.transition-875ba2ea.js} +2 -2
- package/dist/esm/{md.transition-caed184e.js → md.transition-54c79f72.js} +2 -2
- package/dist/esm/{swipe-back-6d4c0a4e.js → swipe-back-0f3bfc8e.js} +5 -1
- package/dist/esm-es5/animation-92066c62.js +4 -0
- package/dist/esm-es5/{index-32c6828b.js → index-0b0dd67c.js} +1 -1
- package/dist/esm-es5/{index-3d6aefa2.js → index-97a2bb98.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ios.transition-d8223b18.js → ios.transition-875ba2ea.js} +1 -1
- package/dist/esm-es5/{md.transition-caed184e.js → md.transition-54c79f72.js} +1 -1
- package/dist/esm-es5/{swipe-back-6d4c0a4e.js → swipe-back-0f3bfc8e.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-00d3814a.system.entry.js +4 -0
- package/dist/ionic/p-015187e5.system.js +4 -0
- package/dist/ionic/{p-96ad49f1.entry.js → p-07c816fb.entry.js} +1 -1
- package/dist/ionic/{p-1d2d1ab5.system.entry.js → p-0c7d0167.system.entry.js} +1 -1
- package/dist/ionic/{p-95e44641.system.entry.js → p-0dcdf480.system.entry.js} +1 -1
- package/dist/ionic/{p-8957b1de.system.entry.js → p-0fc8a522.system.entry.js} +1 -1
- package/dist/ionic/{p-57c5eca2.system.js → p-15041a8c.system.js} +1 -1
- package/dist/ionic/{p-30b04d8d.js → p-2062958e.js} +1 -1
- package/dist/ionic/{p-4b23f472.entry.js → p-2134558d.entry.js} +1 -1
- package/dist/ionic/{p-037e2738.system.entry.js → p-2330af92.system.entry.js} +1 -1
- package/dist/ionic/{p-e88ed929.system.entry.js → p-24952f8a.system.entry.js} +1 -1
- package/dist/ionic/{p-1caf1ec6.entry.js → p-32eaa293.entry.js} +1 -1
- package/dist/ionic/{p-fb18f74b.system.entry.js → p-3d278648.system.entry.js} +1 -1
- package/dist/ionic/p-446230d7.js +4 -0
- package/dist/ionic/p-4c274938.entry.js +4 -0
- package/dist/ionic/{p-58565369.system.entry.js → p-52e5f8f0.system.entry.js} +1 -1
- package/dist/ionic/p-53d4606a.entry.js +4 -0
- package/dist/ionic/{p-d580cbb7.system.entry.js → p-63b4ef44.system.entry.js} +1 -1
- package/dist/ionic/{p-7cad90ed.entry.js → p-678f37d7.entry.js} +1 -1
- package/dist/ionic/{p-c381a9a9.system.entry.js → p-7061fa75.system.entry.js} +1 -1
- package/dist/ionic/p-73eba881.system.js +1 -1
- package/dist/ionic/p-775f3749.entry.js +4 -0
- package/dist/ionic/p-77872abc.entry.js +4 -0
- package/dist/ionic/p-77b9d68a.system.entry.js +4 -0
- package/dist/ionic/p-7b15d413.entry.js +4 -0
- package/dist/ionic/p-8b33cfef.entry.js +4 -0
- package/dist/ionic/{p-c57cde35.system.js → p-8dbdb163.system.js} +1 -1
- package/dist/ionic/p-8f36cde3.system.entry.js +4 -0
- package/dist/ionic/{p-9e727d1d.entry.js → p-979dc719.entry.js} +1 -1
- package/dist/ionic/{p-9d0916cb.system.js → p-9e6bf328.system.js} +1 -1
- package/dist/ionic/{p-e7d69cad.entry.js → p-a1528344.entry.js} +1 -1
- package/dist/ionic/p-a1e2f98c.js +4 -0
- package/dist/ionic/{p-c2d6b2fb.entry.js → p-ab37db48.entry.js} +1 -1
- package/dist/ionic/p-af39c1c5.js +4 -0
- package/dist/ionic/{p-a760fd9a.system.js → p-b7258ddb.system.js} +1 -1
- package/dist/ionic/p-c5395981.js +4 -0
- package/dist/ionic/{p-043e8328.system.js → p-c9524896.system.js} +1 -1
- package/dist/ionic/{p-6db9035a.system.entry.js → p-cd075e75.system.entry.js} +1 -1
- package/dist/ionic/{p-a0e2f6d8.entry.js → p-d055bba9.entry.js} +1 -1
- package/dist/ionic/p-d17638e9.system.js +4 -0
- package/dist/ionic/{p-6b3784a2.system.entry.js → p-df951755.system.entry.js} +1 -1
- package/dist/ionic/p-e627ed84.js +4 -0
- package/dist/ionic/{p-ab7edc16.system.entry.js → p-e92068d4.system.entry.js} +1 -1
- package/dist/ionic/{p-e3272ed8.entry.js → p-eaa58d23.entry.js} +1 -1
- package/dist/types/components/menu/menu.d.ts +8 -1
- package/hydrate/index.js +149 -63
- package/package.json +1 -1
- package/dist/esm-es5/animation-a1d9e088.js +0 -4
- package/dist/ionic/p-0cbec498.system.entry.js +0 -4
- package/dist/ionic/p-1c59608c.system.entry.js +0 -4
- package/dist/ionic/p-469d6a98.entry.js +0 -4
- package/dist/ionic/p-4af11953.entry.js +0 -4
- package/dist/ionic/p-606fddbe.system.entry.js +0 -4
- package/dist/ionic/p-6641d7fa.js +0 -4
- package/dist/ionic/p-686a9d53.entry.js +0 -4
- package/dist/ionic/p-68b405cc.entry.js +0 -4
- package/dist/ionic/p-6b2641f6.system.js +0 -4
- package/dist/ionic/p-90ebbca0.entry.js +0 -4
- package/dist/ionic/p-94a4ce40.js +0 -4
- package/dist/ionic/p-9649c54e.js +0 -4
- package/dist/ionic/p-a0b19468.entry.js +0 -4
- package/dist/ionic/p-a732cfec.system.js +0 -4
- package/dist/ionic/p-b370d1b4.js +0 -4
- package/dist/ionic/p-df7357c5.js +0 -4
|
@@ -36,6 +36,7 @@ export const createAnimation = (animationId) => {
|
|
|
36
36
|
const id = animationId;
|
|
37
37
|
const onFinishCallbacks = [];
|
|
38
38
|
const onFinishOneTimeCallbacks = [];
|
|
39
|
+
const onStopOneTimeCallbacks = [];
|
|
39
40
|
const elements = [];
|
|
40
41
|
const childAnimations = [];
|
|
41
42
|
const stylesheets = [];
|
|
@@ -93,6 +94,28 @@ export const createAnimation = (animationId) => {
|
|
|
93
94
|
const isRunning = () => {
|
|
94
95
|
return numAnimationsRunning !== 0 && !paused;
|
|
95
96
|
};
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
* Remove a callback from a chosen callback array
|
|
100
|
+
* @param callbackToRemove: A reference to the callback that should be removed
|
|
101
|
+
* @param callbackObjects: An array of callbacks that callbackToRemove should be removed from.
|
|
102
|
+
*/
|
|
103
|
+
const clearCallback = (callbackToRemove, callbackObjects) => {
|
|
104
|
+
const index = callbackObjects.findIndex((callbackObject) => callbackObject.c === callbackToRemove);
|
|
105
|
+
if (index > -1) {
|
|
106
|
+
callbackObjects.splice(index, 1);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
* Add a callback to be fired when an animation is stopped/cancelled.
|
|
112
|
+
* @param callback: A reference to the callback that should be fired
|
|
113
|
+
* @param opts: Any options associated with this particular callback
|
|
114
|
+
*/
|
|
115
|
+
const onStop = (callback, opts) => {
|
|
116
|
+
onStopOneTimeCallbacks.push({ c: callback, o: opts });
|
|
117
|
+
return ani;
|
|
118
|
+
};
|
|
96
119
|
const onFinish = (callback, opts) => {
|
|
97
120
|
const callbacks = (opts === null || opts === void 0 ? void 0 : opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;
|
|
98
121
|
callbacks.push({ c: callback, o: opts });
|
|
@@ -761,7 +784,33 @@ export const createAnimation = (animationId) => {
|
|
|
761
784
|
numAnimationsRunning = childAnimations.length + 1;
|
|
762
785
|
shouldCalculateNumAnimations = false;
|
|
763
786
|
}
|
|
764
|
-
|
|
787
|
+
/**
|
|
788
|
+
* When one of these callbacks fires we
|
|
789
|
+
* need to clear the other's callback otherwise
|
|
790
|
+
* you can potentially get these callbacks
|
|
791
|
+
* firing multiple times if the play method
|
|
792
|
+
* is subsequently called.
|
|
793
|
+
* Example:
|
|
794
|
+
* animation.play() (onStop and onFinish callbacks are registered)
|
|
795
|
+
* animation.stop() (onStop callback is fired, onFinish is not)
|
|
796
|
+
* animation.play() (onStop and onFinish callbacks are registered)
|
|
797
|
+
* Total onStop callbacks: 1
|
|
798
|
+
* Total onFinish callbacks: 2
|
|
799
|
+
*/
|
|
800
|
+
const onStopCallback = () => {
|
|
801
|
+
clearCallback(onFinishCallback, onFinishOneTimeCallbacks);
|
|
802
|
+
resolve();
|
|
803
|
+
};
|
|
804
|
+
const onFinishCallback = () => {
|
|
805
|
+
clearCallback(onStopCallback, onStopOneTimeCallbacks);
|
|
806
|
+
resolve();
|
|
807
|
+
};
|
|
808
|
+
/**
|
|
809
|
+
* The play method resolves when an animation
|
|
810
|
+
* run either finishes or is cancelled.
|
|
811
|
+
*/
|
|
812
|
+
onFinish(onFinishCallback, { oneTimeCallback: true });
|
|
813
|
+
onStop(onStopCallback, { oneTimeCallback: true });
|
|
765
814
|
childAnimations.forEach((animation) => {
|
|
766
815
|
animation.play();
|
|
767
816
|
});
|
|
@@ -774,6 +823,14 @@ export const createAnimation = (animationId) => {
|
|
|
774
823
|
paused = false;
|
|
775
824
|
});
|
|
776
825
|
};
|
|
826
|
+
/**
|
|
827
|
+
* Stops an animation and resets it state to the
|
|
828
|
+
* beginning. This does not fire any onFinish
|
|
829
|
+
* callbacks because the animation did not finish.
|
|
830
|
+
* However, since the animation was not destroyed
|
|
831
|
+
* (i.e. the animation could run again) we do not
|
|
832
|
+
* clear the onFinish callbacks.
|
|
833
|
+
*/
|
|
777
834
|
const stop = () => {
|
|
778
835
|
childAnimations.forEach((animation) => {
|
|
779
836
|
animation.stop();
|
|
@@ -783,6 +840,8 @@ export const createAnimation = (animationId) => {
|
|
|
783
840
|
initialized = false;
|
|
784
841
|
}
|
|
785
842
|
resetFlags();
|
|
843
|
+
onStopOneTimeCallbacks.forEach((onStopCallback) => onStopCallback.c(0, ani));
|
|
844
|
+
onStopOneTimeCallbacks.length = 0;
|
|
786
845
|
};
|
|
787
846
|
const from = (property, value) => {
|
|
788
847
|
const firstFrame = _keyframes[0];
|
|
@@ -61,7 +61,11 @@ export const createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMo
|
|
|
61
61
|
return createGesture({
|
|
62
62
|
el,
|
|
63
63
|
gestureName: 'goback-swipe',
|
|
64
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Swipe to go back should have priority over other horizontal swipe
|
|
66
|
+
* gestures. These gestures have a priority of 100 which is why 101 was chosen here.
|
|
67
|
+
*/
|
|
68
|
+
gesturePriority: 101,
|
|
65
69
|
threshold: 10,
|
|
66
70
|
canStart,
|
|
67
71
|
onStart: onStartHandler,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { doc, win } from "../browser/index";
|
|
5
|
-
import { Keyboard, KeyboardResize } from "../native/
|
|
5
|
+
import { Keyboard, KeyboardResize } from "../native/keyboard";
|
|
6
6
|
/**
|
|
7
7
|
* The element that resizes when the keyboard opens
|
|
8
8
|
* is going to depend on the resize mode
|
package/dist/docs.json
CHANGED
|
@@ -159,6 +159,7 @@ const createAnimation = (animationId) => {
|
|
|
159
159
|
const id = animationId;
|
|
160
160
|
const onFinishCallbacks = [];
|
|
161
161
|
const onFinishOneTimeCallbacks = [];
|
|
162
|
+
const onStopOneTimeCallbacks = [];
|
|
162
163
|
const elements = [];
|
|
163
164
|
const childAnimations = [];
|
|
164
165
|
const stylesheets = [];
|
|
@@ -216,6 +217,28 @@ const createAnimation = (animationId) => {
|
|
|
216
217
|
const isRunning = () => {
|
|
217
218
|
return numAnimationsRunning !== 0 && !paused;
|
|
218
219
|
};
|
|
220
|
+
/**
|
|
221
|
+
* @internal
|
|
222
|
+
* Remove a callback from a chosen callback array
|
|
223
|
+
* @param callbackToRemove: A reference to the callback that should be removed
|
|
224
|
+
* @param callbackObjects: An array of callbacks that callbackToRemove should be removed from.
|
|
225
|
+
*/
|
|
226
|
+
const clearCallback = (callbackToRemove, callbackObjects) => {
|
|
227
|
+
const index = callbackObjects.findIndex((callbackObject) => callbackObject.c === callbackToRemove);
|
|
228
|
+
if (index > -1) {
|
|
229
|
+
callbackObjects.splice(index, 1);
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
* Add a callback to be fired when an animation is stopped/cancelled.
|
|
235
|
+
* @param callback: A reference to the callback that should be fired
|
|
236
|
+
* @param opts: Any options associated with this particular callback
|
|
237
|
+
*/
|
|
238
|
+
const onStop = (callback, opts) => {
|
|
239
|
+
onStopOneTimeCallbacks.push({ c: callback, o: opts });
|
|
240
|
+
return ani;
|
|
241
|
+
};
|
|
219
242
|
const onFinish = (callback, opts) => {
|
|
220
243
|
const callbacks = (opts === null || opts === void 0 ? void 0 : opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;
|
|
221
244
|
callbacks.push({ c: callback, o: opts });
|
|
@@ -884,7 +907,33 @@ const createAnimation = (animationId) => {
|
|
|
884
907
|
numAnimationsRunning = childAnimations.length + 1;
|
|
885
908
|
shouldCalculateNumAnimations = false;
|
|
886
909
|
}
|
|
887
|
-
|
|
910
|
+
/**
|
|
911
|
+
* When one of these callbacks fires we
|
|
912
|
+
* need to clear the other's callback otherwise
|
|
913
|
+
* you can potentially get these callbacks
|
|
914
|
+
* firing multiple times if the play method
|
|
915
|
+
* is subsequently called.
|
|
916
|
+
* Example:
|
|
917
|
+
* animation.play() (onStop and onFinish callbacks are registered)
|
|
918
|
+
* animation.stop() (onStop callback is fired, onFinish is not)
|
|
919
|
+
* animation.play() (onStop and onFinish callbacks are registered)
|
|
920
|
+
* Total onStop callbacks: 1
|
|
921
|
+
* Total onFinish callbacks: 2
|
|
922
|
+
*/
|
|
923
|
+
const onStopCallback = () => {
|
|
924
|
+
clearCallback(onFinishCallback, onFinishOneTimeCallbacks);
|
|
925
|
+
resolve();
|
|
926
|
+
};
|
|
927
|
+
const onFinishCallback = () => {
|
|
928
|
+
clearCallback(onStopCallback, onStopOneTimeCallbacks);
|
|
929
|
+
resolve();
|
|
930
|
+
};
|
|
931
|
+
/**
|
|
932
|
+
* The play method resolves when an animation
|
|
933
|
+
* run either finishes or is cancelled.
|
|
934
|
+
*/
|
|
935
|
+
onFinish(onFinishCallback, { oneTimeCallback: true });
|
|
936
|
+
onStop(onStopCallback, { oneTimeCallback: true });
|
|
888
937
|
childAnimations.forEach((animation) => {
|
|
889
938
|
animation.play();
|
|
890
939
|
});
|
|
@@ -897,6 +946,14 @@ const createAnimation = (animationId) => {
|
|
|
897
946
|
paused = false;
|
|
898
947
|
});
|
|
899
948
|
};
|
|
949
|
+
/**
|
|
950
|
+
* Stops an animation and resets it state to the
|
|
951
|
+
* beginning. This does not fire any onFinish
|
|
952
|
+
* callbacks because the animation did not finish.
|
|
953
|
+
* However, since the animation was not destroyed
|
|
954
|
+
* (i.e. the animation could run again) we do not
|
|
955
|
+
* clear the onFinish callbacks.
|
|
956
|
+
*/
|
|
900
957
|
const stop = () => {
|
|
901
958
|
childAnimations.forEach((animation) => {
|
|
902
959
|
animation.stop();
|
|
@@ -906,6 +963,8 @@ const createAnimation = (animationId) => {
|
|
|
906
963
|
initialized = false;
|
|
907
964
|
}
|
|
908
965
|
resetFlags();
|
|
966
|
+
onStopOneTimeCallbacks.forEach((onStopCallback) => onStopCallback.c(0, ani));
|
|
967
|
+
onStopOneTimeCallbacks.length = 0;
|
|
909
968
|
};
|
|
910
969
|
const from = (property, value) => {
|
|
911
970
|
const firstFrame = _keyframes[0];
|
|
@@ -10,8 +10,8 @@ const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
|
|
|
10
10
|
const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
|
|
11
11
|
const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
|
|
12
12
|
|
|
13
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
|
14
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
|
13
|
+
const iosTransitionAnimation = () => import('./ios.transition-875ba2ea.js');
|
|
14
|
+
const mdTransitionAnimation = () => import('./md.transition-54c79f72.js');
|
|
15
15
|
// TODO(FW-2832): types
|
|
16
16
|
const transition = (opts) => {
|
|
17
17
|
return new Promise((resolve, reject) => {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-39299f84.js';
|
|
5
5
|
import { c as componentOnReady } from './helpers-3379ba19.js';
|
|
6
6
|
import { b as getIonMode } from './ionic-global-63a8d8c9.js';
|
|
7
|
-
import { c as createAnimation } from './animation-
|
|
7
|
+
import { c as createAnimation } from './animation-92066c62.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* baseAnimation
|
package/dist/esm/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
export { c as createAnimation } from './animation-
|
|
5
|
-
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-
|
|
6
|
-
export { iosTransitionAnimation } from './ios.transition-
|
|
7
|
-
export { mdTransitionAnimation } from './md.transition-
|
|
4
|
+
export { c as createAnimation } from './animation-92066c62.js';
|
|
5
|
+
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-0b0dd67c.js';
|
|
6
|
+
export { iosTransitionAnimation } from './ios.transition-875ba2ea.js';
|
|
7
|
+
export { mdTransitionAnimation } from './md.transition-54c79f72.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-66542bc5.js';
|
|
9
9
|
export { createGesture } from './index-ff313b19.js';
|
|
10
10
|
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-63a8d8c9.js';
|
|
11
11
|
export { c as componentOnReady } from './helpers-3379ba19.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-96c9ace3.js';
|
|
13
|
-
export { m as menuController } from './index-
|
|
13
|
+
export { m as menuController } from './index-97a2bb98.js';
|
|
14
14
|
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-84621c0a.js';
|
|
15
15
|
import './index-7a14ecec.js';
|
|
16
16
|
import './index-cb894020.js';
|
|
@@ -8,7 +8,7 @@ import { c as createLockController } from './lock-controller-e8c6c051.js';
|
|
|
8
8
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-84621c0a.js';
|
|
9
9
|
import { g as getClassMap } from './theme-17531cdf.js';
|
|
10
10
|
import { b as getIonMode } from './ionic-global-63a8d8c9.js';
|
|
11
|
-
import { c as createAnimation } from './animation-
|
|
11
|
+
import { c as createAnimation } from './animation-92066c62.js';
|
|
12
12
|
import './haptic-6447af60.js';
|
|
13
13
|
import './capacitor-b4979570.js';
|
|
14
14
|
import './index-7a14ecec.js';
|
|
@@ -9,7 +9,7 @@ import { c as createLockController } from './lock-controller-e8c6c051.js';
|
|
|
9
9
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-84621c0a.js';
|
|
10
10
|
import { g as getClassMap } from './theme-17531cdf.js';
|
|
11
11
|
import { c as config, b as getIonMode } from './ionic-global-63a8d8c9.js';
|
|
12
|
-
import { c as createAnimation } from './animation-
|
|
12
|
+
import { c as createAnimation } from './animation-92066c62.js';
|
|
13
13
|
import './haptic-6447af60.js';
|
|
14
14
|
import './capacitor-b4979570.js';
|
|
15
15
|
import './index-7a14ecec.js';
|
|
@@ -8,13 +8,13 @@ import { i as isRTL } from './dir-912e3e13.js';
|
|
|
8
8
|
import { c as createColorClasses, h as hostContext } from './theme-17531cdf.js';
|
|
9
9
|
import { a as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-746a238e.js';
|
|
10
10
|
import { c as createKeyboardController } from './keyboard-controller-0c2dce71.js';
|
|
11
|
-
import { K as Keyboard, a as KeyboardResize } from './keyboard-b063f012.js';
|
|
12
11
|
import { g as getTimeGivenProgression } from './cubic-bezier-66542bc5.js';
|
|
13
12
|
import { a as attachComponent, d as detachComponent } from './framework-delegate-aa433dea.js';
|
|
14
13
|
import { c as createLockController } from './lock-controller-e8c6c051.js';
|
|
15
|
-
import { t as transition } from './index-
|
|
14
|
+
import { t as transition } from './index-0b0dd67c.js';
|
|
16
15
|
import './index-595d62c9.js';
|
|
17
16
|
import './index-7a14ecec.js';
|
|
17
|
+
import './keyboard-b063f012.js';
|
|
18
18
|
import './capacitor-b4979570.js';
|
|
19
19
|
|
|
20
20
|
const appCss = "html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";
|
|
@@ -610,26 +610,17 @@ const Footer = class {
|
|
|
610
610
|
this.checkCollapsibleFooter();
|
|
611
611
|
}
|
|
612
612
|
async connectedCallback() {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
* for the webview to resize. Otherwise, the footer
|
|
625
|
-
* will flicker before the webview resizes.
|
|
626
|
-
*/
|
|
627
|
-
if (keyboardOpen === false && waitForResize !== undefined) {
|
|
628
|
-
await waitForResize;
|
|
629
|
-
}
|
|
630
|
-
this.keyboardVisible = keyboardOpen; // trigger re-render by updating state
|
|
631
|
-
});
|
|
632
|
-
}
|
|
613
|
+
this.keyboardCtrl = await createKeyboardController(async (keyboardOpen, waitForResize) => {
|
|
614
|
+
/**
|
|
615
|
+
* If the keyboard is hiding, then we need to wait
|
|
616
|
+
* for the webview to resize. Otherwise, the footer
|
|
617
|
+
* will flicker before the webview resizes.
|
|
618
|
+
*/
|
|
619
|
+
if (keyboardOpen === false && waitForResize !== undefined) {
|
|
620
|
+
await waitForResize;
|
|
621
|
+
}
|
|
622
|
+
this.keyboardVisible = keyboardOpen; // trigger re-render by updating state
|
|
623
|
+
});
|
|
633
624
|
}
|
|
634
625
|
disconnectedCallback() {
|
|
635
626
|
if (this.keyboardCtrl) {
|
|
@@ -1019,7 +1010,7 @@ const RouterOutlet = class {
|
|
|
1019
1010
|
this.swipeHandler.onStart();
|
|
1020
1011
|
}
|
|
1021
1012
|
};
|
|
1022
|
-
this.gesture = (await import('./swipe-back-
|
|
1013
|
+
this.gesture = (await import('./swipe-back-0f3bfc8e.js')).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => { var _a; return (_a = this.ani) === null || _a === void 0 ? void 0 : _a.progressStep(step); }, (shouldComplete, step, dur) => {
|
|
1023
1014
|
if (this.ani) {
|
|
1024
1015
|
this.ani.onFinish(() => {
|
|
1025
1016
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -12,7 +12,7 @@ import { b as getIonMode } from './ionic-global-63a8d8c9.js';
|
|
|
12
12
|
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getEndOfWeek, j as getStartOfWeek, k as getPreviousDay, l as getNextDay, m as getPreviousWeek, n as getNextWeek, p as parseMinParts, o as parseMaxParts, q as parseDate, w as warnIfValueOutOfBounds, r as convertToArrayOfNumbers, s as convertDataToISO, t as getToday, u as getClosestValidDate, x as getNumDaysInMonth, y as getCombinedDateColumnData, z as getMonthColumnData, A as getDayColumnData, B as getYearColumnData, C as isMonthFirstLocale, D as getTimeColumnsData, E as isLocaleDayPeriodRTL, F as getDaysOfWeek, G as getMonthAndYear, H as getDaysOfMonth, I as generateMonths, J as is24Hour, K as getLocalizedTime, L as getMonthAndDay, M as formatValue, N as getNextYear, O as getPreviousYear, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data-009dbf15.js';
|
|
13
13
|
import { c as createLockController } from './lock-controller-e8c6c051.js';
|
|
14
14
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-84621c0a.js';
|
|
15
|
-
import { c as createAnimation } from './animation-
|
|
15
|
+
import { c as createAnimation } from './animation-92066c62.js';
|
|
16
16
|
import { b as hapticSelectionChanged, h as hapticSelectionEnd, a as hapticSelectionStart } from './haptic-6447af60.js';
|
|
17
17
|
import './index-7a14ecec.js';
|
|
18
18
|
import './framework-delegate-aa433dea.js';
|
|
@@ -8,7 +8,7 @@ import { c as createLockController } from './lock-controller-e8c6c051.js';
|
|
|
8
8
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-84621c0a.js';
|
|
9
9
|
import { g as getClassMap } from './theme-17531cdf.js';
|
|
10
10
|
import { c as config, b as getIonMode } from './ionic-global-63a8d8c9.js';
|
|
11
|
-
import { c as createAnimation } from './animation-
|
|
11
|
+
import { c as createAnimation } from './animation-92066c62.js';
|
|
12
12
|
import './index-7a14ecec.js';
|
|
13
13
|
import './framework-delegate-aa433dea.js';
|
|
14
14
|
import './hardware-back-button-39299f84.js';
|
|
@@ -6,13 +6,13 @@ import { g as getTimeGivenProgression } from './cubic-bezier-66542bc5.js';
|
|
|
6
6
|
import { d as doc } from './index-7a14ecec.js';
|
|
7
7
|
import { G as GESTURE_CONTROLLER } from './gesture-controller-0fa396c4.js';
|
|
8
8
|
import { p as isEndSide, i as inheritAriaAttributes, o as assert, l as clamp } from './helpers-3379ba19.js';
|
|
9
|
-
import { m as menuController } from './index-
|
|
9
|
+
import { m as menuController } from './index-97a2bb98.js';
|
|
10
10
|
import { q as getPresentedOverlay } from './overlays-84621c0a.js';
|
|
11
11
|
import { c as config, b as getIonMode } from './ionic-global-63a8d8c9.js';
|
|
12
12
|
import { c as createColorClasses, h as hostContext } from './theme-17531cdf.js';
|
|
13
13
|
import { u as menuOutline, v as menuSharp } from './index-ecfc2c9f.js';
|
|
14
14
|
import './hardware-back-button-39299f84.js';
|
|
15
|
-
import './animation-
|
|
15
|
+
import './animation-92066c62.js';
|
|
16
16
|
import './framework-delegate-aa433dea.js';
|
|
17
17
|
import './index-595d62c9.js';
|
|
18
18
|
|
|
@@ -36,6 +36,14 @@ const Menu = class {
|
|
|
36
36
|
this.lastOnEnd = 0;
|
|
37
37
|
this.blocker = GESTURE_CONTROLLER.createBlocker({ disableScroll: true });
|
|
38
38
|
this.didLoad = false;
|
|
39
|
+
/**
|
|
40
|
+
* Flag used to determine if an open/close
|
|
41
|
+
* operation was cancelled. For example, if
|
|
42
|
+
* an app calls "menu.open" then disables the menu
|
|
43
|
+
* part way through the animation, then this would
|
|
44
|
+
* be considered a cancelled operation.
|
|
45
|
+
*/
|
|
46
|
+
this.operationCancelled = false;
|
|
39
47
|
this.isAnimating = false;
|
|
40
48
|
this._isOpen = false;
|
|
41
49
|
this.inheritedAttributes = {};
|
|
@@ -301,6 +309,15 @@ const Menu = class {
|
|
|
301
309
|
this.beforeAnimation(shouldOpen);
|
|
302
310
|
await this.loadAnimation();
|
|
303
311
|
await this.startAnimation(shouldOpen, animated);
|
|
312
|
+
/**
|
|
313
|
+
* If the animation was cancelled then
|
|
314
|
+
* return false because the operation
|
|
315
|
+
* did not succeed.
|
|
316
|
+
*/
|
|
317
|
+
if (this.operationCancelled) {
|
|
318
|
+
this.operationCancelled = false;
|
|
319
|
+
return false;
|
|
320
|
+
}
|
|
304
321
|
this.afterAnimation(shouldOpen);
|
|
305
322
|
return true;
|
|
306
323
|
}
|
|
@@ -337,18 +354,23 @@ const Menu = class {
|
|
|
337
354
|
const easingReverse = mode === 'ios' ? iosEasingReverse : mdEasingReverse;
|
|
338
355
|
const ani = this.animation
|
|
339
356
|
.direction(isReversed ? 'reverse' : 'normal')
|
|
340
|
-
.easing(isReversed ? easingReverse : easing)
|
|
341
|
-
.onFinish(() => {
|
|
342
|
-
if (ani.getDirection() === 'reverse') {
|
|
343
|
-
ani.direction('normal');
|
|
344
|
-
}
|
|
345
|
-
});
|
|
357
|
+
.easing(isReversed ? easingReverse : easing);
|
|
346
358
|
if (animated) {
|
|
347
359
|
await ani.play();
|
|
348
360
|
}
|
|
349
361
|
else {
|
|
350
362
|
ani.play({ sync: true });
|
|
351
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* We run this after the play invocation
|
|
366
|
+
* instead of using ani.onFinish so that
|
|
367
|
+
* multiple onFinish callbacks do not get
|
|
368
|
+
* run if an animation is played, stopped,
|
|
369
|
+
* and then played again.
|
|
370
|
+
*/
|
|
371
|
+
if (ani.getDirection() === 'reverse') {
|
|
372
|
+
ani.direction('normal');
|
|
373
|
+
}
|
|
352
374
|
}
|
|
353
375
|
_isActive() {
|
|
354
376
|
return !this.disabled && !this.isPaneVisible;
|
|
@@ -485,7 +507,6 @@ const Menu = class {
|
|
|
485
507
|
}
|
|
486
508
|
afterAnimation(isOpen) {
|
|
487
509
|
var _a;
|
|
488
|
-
assert(this.isAnimating, '_before() should be called while animating');
|
|
489
510
|
// keep opening/closing the menu disabled for a touch more yet
|
|
490
511
|
// only add listeners/css if it's enabled and isOpen
|
|
491
512
|
// and only remove listeners/css if it's not open
|
|
@@ -544,10 +565,29 @@ const Menu = class {
|
|
|
544
565
|
if (this.gesture) {
|
|
545
566
|
this.gesture.enable(isActive && this.swipeGesture);
|
|
546
567
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
568
|
+
/**
|
|
569
|
+
* If the menu is disabled but it is still open
|
|
570
|
+
* then we should close the menu immediately.
|
|
571
|
+
* Additionally, if the menu is in the process
|
|
572
|
+
* of animating {open, close} and the menu is disabled
|
|
573
|
+
* then it should still be closed immediately.
|
|
574
|
+
*/
|
|
575
|
+
if (!isActive) {
|
|
576
|
+
/**
|
|
577
|
+
* It is possible to disable the menu while
|
|
578
|
+
* it is mid-animation. When this happens, we
|
|
579
|
+
* need to set the operationCancelled flag
|
|
580
|
+
* so that this._setOpen knows to return false
|
|
581
|
+
* and not run the "afterAnimation" callback.
|
|
582
|
+
*/
|
|
583
|
+
if (this.isAnimating) {
|
|
584
|
+
this.operationCancelled = true;
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* If the menu is disabled then we should
|
|
588
|
+
* forcibly close the menu even if it is open.
|
|
589
|
+
*/
|
|
590
|
+
this.afterAnimation(false);
|
|
551
591
|
}
|
|
552
592
|
if (doc === null || doc === void 0 ? void 0 : doc.contains(this.el)) {
|
|
553
593
|
/**
|
|
@@ -560,14 +600,6 @@ const Menu = class {
|
|
|
560
600
|
menuController._setActiveMenu(this);
|
|
561
601
|
}
|
|
562
602
|
}
|
|
563
|
-
assert(!this.isAnimating, 'can not be animating');
|
|
564
|
-
}
|
|
565
|
-
forceClosing() {
|
|
566
|
-
assert(this._isOpen, 'menu cannot be closed');
|
|
567
|
-
this.isAnimating = true;
|
|
568
|
-
const ani = this.animation.direction('reverse');
|
|
569
|
-
ani.play({ sync: true });
|
|
570
|
-
this.afterAnimation(false);
|
|
571
603
|
}
|
|
572
604
|
render() {
|
|
573
605
|
const { type, disabled, isPaneVisible, inheritedAttributes, side } = this;
|
|
@@ -10,10 +10,10 @@ import { p as printIonWarning } from './index-595d62c9.js';
|
|
|
10
10
|
import { g as getCapacitor } from './capacitor-b4979570.js';
|
|
11
11
|
import { G as GESTURE, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, n as activeAnimations, g as dismiss, h as eventMethod } from './overlays-84621c0a.js';
|
|
12
12
|
import { g as getClassMap } from './theme-17531cdf.js';
|
|
13
|
-
import { e as deepReady, w as waitForMount } from './index-
|
|
13
|
+
import { e as deepReady, w as waitForMount } from './index-0b0dd67c.js';
|
|
14
14
|
import { b as getIonMode, c as config } from './ionic-global-63a8d8c9.js';
|
|
15
15
|
import { KEYBOARD_DID_OPEN } from './keyboard-b551279d.js';
|
|
16
|
-
import { c as createAnimation } from './animation-
|
|
16
|
+
import { c as createAnimation } from './animation-92066c62.js';
|
|
17
17
|
import { g as getTimeGivenProgression } from './cubic-bezier-66542bc5.js';
|
|
18
18
|
import { createGesture } from './index-ff313b19.js';
|
|
19
19
|
import { w as win } from './index-7a14ecec.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { r as registerInstance, d as createEvent, h, f as getElement, H as Host } from './index-cb894020.js';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier-66542bc5.js';
|
|
6
6
|
import { o as assert, s as shallowEqualStringMap } from './helpers-3379ba19.js';
|
|
7
|
-
import { l as lifecycle, t as transition, s as setPageHidden, d as LIFECYCLE_WILL_UNLOAD, b as LIFECYCLE_WILL_LEAVE, c as LIFECYCLE_DID_LEAVE } from './index-
|
|
7
|
+
import { l as lifecycle, t as transition, s as setPageHidden, d as LIFECYCLE_WILL_UNLOAD, b as LIFECYCLE_WILL_LEAVE, c as LIFECYCLE_DID_LEAVE } from './index-0b0dd67c.js';
|
|
8
8
|
import { b as getIonMode, c as config } from './ionic-global-63a8d8c9.js';
|
|
9
9
|
import { a as attachComponent } from './framework-delegate-aa433dea.js';
|
|
10
10
|
|
|
@@ -131,7 +131,7 @@ const Nav = class {
|
|
|
131
131
|
// We want to set this flag before any watch callbacks are manually called
|
|
132
132
|
this.didLoad = true;
|
|
133
133
|
this.rootChanged();
|
|
134
|
-
this.gesture = (await import('./swipe-back-
|
|
134
|
+
this.gesture = (await import('./swipe-back-0f3bfc8e.js')).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this));
|
|
135
135
|
this.swipeGestureChanged();
|
|
136
136
|
}
|
|
137
137
|
connectedCallback() {
|
|
@@ -9,8 +9,8 @@ import { p as printIonWarning } from './index-595d62c9.js';
|
|
|
9
9
|
import { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, o as focusFirstDescendant, g as dismiss, h as eventMethod } from './overlays-84621c0a.js';
|
|
10
10
|
import { b as getIonMode, a as isPlatform } from './ionic-global-63a8d8c9.js';
|
|
11
11
|
import { g as getClassMap } from './theme-17531cdf.js';
|
|
12
|
-
import { e as deepReady, w as waitForMount } from './index-
|
|
13
|
-
import { c as createAnimation } from './animation-
|
|
12
|
+
import { e as deepReady, w as waitForMount } from './index-0b0dd67c.js';
|
|
13
|
+
import { c as createAnimation } from './animation-92066c62.js';
|
|
14
14
|
import './index-7a14ecec.js';
|
|
15
15
|
import './hardware-back-button-39299f84.js';
|
|
16
16
|
|
|
@@ -28,7 +28,10 @@ const Radio = class {
|
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
this.onClick = () => {
|
|
31
|
-
const { radioGroup, checked } = this;
|
|
31
|
+
const { radioGroup, checked, disabled } = this;
|
|
32
|
+
if (disabled) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
32
35
|
/**
|
|
33
36
|
* The legacy control uses a native input inside
|
|
34
37
|
* of the radio host, so we can set this.checked
|
|
@@ -228,7 +231,7 @@ const RadioGroup = class {
|
|
|
228
231
|
* using the `name` attribute.
|
|
229
232
|
*/
|
|
230
233
|
const selectedRadio = ev.target && ev.target.closest('ion-radio');
|
|
231
|
-
if (selectedRadio) {
|
|
234
|
+
if (selectedRadio && selectedRadio.disabled === false) {
|
|
232
235
|
const currentValue = this.value;
|
|
233
236
|
const newValue = selectedRadio.value;
|
|
234
237
|
if (newValue !== currentValue) {
|
|
@@ -7,7 +7,7 @@ import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p a
|
|
|
7
7
|
import { t as transitionEndAsync, c as componentOnReady, l as clamp, g as getElementRoot, r as raf } from './helpers-3379ba19.js';
|
|
8
8
|
import { d as hapticImpact, I as ImpactStyle } from './haptic-6447af60.js';
|
|
9
9
|
import { a as isPlatform, b as getIonMode, c as config } from './ionic-global-63a8d8c9.js';
|
|
10
|
-
import { c as createAnimation } from './animation-
|
|
10
|
+
import { c as createAnimation } from './animation-92066c62.js';
|
|
11
11
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-96c9ace3.js';
|
|
12
12
|
import { h as caretBackSharp, i as arrowDown } from './index-ecfc2c9f.js';
|
|
13
13
|
import { S as SPINNERS } from './spinner-configs-d09fbbbb.js';
|