@ionic/core 7.3.3-nightly.20230831 → 7.3.3-nightly.20230905

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.
Files changed (161) hide show
  1. package/components/action-sheet.js +8 -16
  2. package/components/alert.js +8 -16
  3. package/components/framework-delegate.js +21 -2
  4. package/components/ion-loading.js +8 -16
  5. package/components/ion-modal.js +21 -29
  6. package/components/ion-picker.js +8 -16
  7. package/components/ion-router-outlet.js +1 -0
  8. package/components/ion-textarea.js +3 -3
  9. package/components/ion-toast.js +8 -16
  10. package/components/lock-controller.js +38 -0
  11. package/components/popover.js +15 -29
  12. package/dist/cjs/{framework-delegate-e8174951.js → framework-delegate-c0873a6f.js} +21 -2
  13. package/dist/cjs/index.cjs.js +2 -2
  14. package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -18
  15. package/dist/cjs/ion-alert.cjs.entry.js +10 -18
  16. package/dist/cjs/ion-app_8.cjs.entry.js +2 -1
  17. package/dist/cjs/ion-datetime_3.cjs.entry.js +10 -18
  18. package/dist/cjs/ion-loading.cjs.entry.js +10 -18
  19. package/dist/cjs/ion-menu_3.cjs.entry.js +2 -2
  20. package/dist/cjs/ion-modal.cjs.entry.js +23 -31
  21. package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
  22. package/dist/cjs/ion-popover.cjs.entry.js +17 -31
  23. package/dist/cjs/ion-select_3.cjs.entry.js +2 -2
  24. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  25. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  26. package/dist/cjs/ion-toast.cjs.entry.js +10 -18
  27. package/dist/cjs/ionic.cjs.js +1 -1
  28. package/dist/cjs/loader.cjs.js +1 -1
  29. package/dist/cjs/lock-controller-4ae2eb59.js +40 -0
  30. package/dist/cjs/{overlays-0ea06fcb.js → overlays-5c1706ed.js} +1 -1
  31. package/dist/collection/components/action-sheet/action-sheet.js +8 -16
  32. package/dist/collection/components/alert/alert.js +8 -16
  33. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +48 -17
  34. package/dist/collection/components/loading/loading.js +8 -16
  35. package/dist/collection/components/modal/modal.js +21 -29
  36. package/dist/collection/components/picker/picker.js +8 -16
  37. package/dist/collection/components/popover/popover.js +15 -29
  38. package/dist/collection/components/popover/test/async/popover.e2e.js +42 -0
  39. package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +20 -0
  40. package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +20 -0
  41. package/dist/collection/components/radio/test/item/radio.e2e.js +1 -1
  42. package/dist/collection/components/router-outlet/router-outlet.js +1 -0
  43. package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +6 -6
  44. package/dist/collection/components/textarea/test/card/textarea.e2e.js +1 -1
  45. package/dist/collection/components/textarea/test/color/textarea.e2e.js +15 -15
  46. package/dist/collection/components/textarea/test/cols/textarea.e2e.js +37 -0
  47. package/dist/collection/components/textarea/test/fill/textarea.e2e.js +10 -10
  48. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +9 -9
  49. package/dist/collection/components/textarea/test/item/textarea.e2e.js +2 -2
  50. package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +21 -21
  51. package/dist/collection/components/textarea/test/legacy/autogrow/textarea.e2e.js +5 -5
  52. package/dist/collection/components/textarea/test/states/textarea.e2e.js +2 -2
  53. package/dist/collection/components/textarea/textarea.ios.css +16 -0
  54. package/dist/collection/components/textarea/textarea.js +1 -1
  55. package/dist/collection/components/textarea/textarea.md.css +16 -0
  56. package/dist/collection/components/toast/toast.js +8 -16
  57. package/dist/collection/utils/framework-delegate.js +21 -2
  58. package/dist/collection/utils/lock-controller.js +36 -0
  59. package/dist/docs.json +2 -2
  60. package/dist/esm/{framework-delegate-2b76c681.js → framework-delegate-aa433dea.js} +21 -2
  61. package/dist/esm/index.js +2 -2
  62. package/dist/esm/ion-action-sheet.entry.js +10 -18
  63. package/dist/esm/ion-alert.entry.js +10 -18
  64. package/dist/esm/ion-app_8.entry.js +2 -1
  65. package/dist/esm/ion-datetime_3.entry.js +10 -18
  66. package/dist/esm/ion-loading.entry.js +10 -18
  67. package/dist/esm/ion-menu_3.entry.js +2 -2
  68. package/dist/esm/ion-modal.entry.js +23 -31
  69. package/dist/esm/ion-nav_2.entry.js +1 -1
  70. package/dist/esm/ion-popover.entry.js +17 -31
  71. package/dist/esm/ion-select_3.entry.js +2 -2
  72. package/dist/esm/ion-tab_2.entry.js +1 -1
  73. package/dist/esm/ion-textarea.entry.js +2 -2
  74. package/dist/esm/ion-toast.entry.js +10 -18
  75. package/dist/esm/ionic.js +1 -1
  76. package/dist/esm/loader.js +1 -1
  77. package/dist/esm/lock-controller-e8c6c051.js +38 -0
  78. package/dist/esm/{overlays-c3387ec0.js → overlays-e1dadfe6.js} +1 -1
  79. package/dist/esm-es5/framework-delegate-aa433dea.js +4 -0
  80. package/dist/esm-es5/index.js +1 -1
  81. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  82. package/dist/esm-es5/ion-alert.entry.js +1 -1
  83. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  84. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  85. package/dist/esm-es5/ion-loading.entry.js +1 -1
  86. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  87. package/dist/esm-es5/ion-modal.entry.js +1 -1
  88. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  89. package/dist/esm-es5/ion-popover.entry.js +1 -1
  90. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  91. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  92. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  93. package/dist/esm-es5/ion-toast.entry.js +1 -1
  94. package/dist/esm-es5/ionic.js +1 -1
  95. package/dist/esm-es5/loader.js +1 -1
  96. package/dist/esm-es5/lock-controller-e8c6c051.js +4 -0
  97. package/dist/esm-es5/{overlays-c3387ec0.js → overlays-e1dadfe6.js} +1 -1
  98. package/dist/ionic/index.esm.js +1 -1
  99. package/dist/ionic/ionic.esm.js +1 -1
  100. package/dist/ionic/{p-958bde76.entry.js → p-091cd81e.entry.js} +1 -1
  101. package/dist/ionic/{p-d1356034.system.entry.js → p-0b68c41d.system.entry.js} +1 -1
  102. package/dist/ionic/p-0cc2bf5a.system.entry.js +4 -0
  103. package/dist/ionic/p-208f640c.entry.js +4 -0
  104. package/dist/ionic/p-2539e967.system.entry.js +4 -0
  105. package/dist/ionic/{p-74bd26b8.system.entry.js → p-28f5715a.system.entry.js} +1 -1
  106. package/dist/ionic/p-38dd9aec.entry.js +4 -0
  107. package/dist/ionic/p-3ff018da.entry.js +4 -0
  108. package/dist/ionic/{p-8074bdd7.system.entry.js → p-45ee211b.system.entry.js} +1 -1
  109. package/dist/ionic/p-48144921.entry.js +4 -0
  110. package/dist/ionic/p-5009cb46.entry.js +4 -0
  111. package/dist/ionic/p-53b2a46f.js +4 -0
  112. package/dist/ionic/{p-5ef91692.js → p-582dc7c1.js} +1 -1
  113. package/dist/ionic/{p-c0d1e5a1.entry.js → p-5c17f888.entry.js} +1 -1
  114. package/dist/ionic/{p-8d9475b5.system.js → p-613d4042.system.js} +1 -1
  115. package/dist/ionic/p-647d15d4.system.entry.js +4 -0
  116. package/dist/ionic/p-653f2fc6.entry.js +4 -0
  117. package/dist/ionic/p-721933ff.system.js +1 -1
  118. package/dist/ionic/p-772f6c84.system.js +4 -0
  119. package/dist/ionic/p-87383d00.system.entry.js +4 -0
  120. package/dist/ionic/{p-db46fc66.system.js → p-8843b046.system.js} +1 -1
  121. package/dist/ionic/p-93e47822.entry.js +4 -0
  122. package/dist/ionic/{p-229df0d8.entry.js → p-98ebc376.entry.js} +1 -1
  123. package/dist/ionic/p-af0bc751.system.entry.js +4 -0
  124. package/dist/ionic/p-b0e9e0b8.system.entry.js +4 -0
  125. package/dist/ionic/p-b287ab05.js +4 -0
  126. package/dist/ionic/{p-81b46714.system.js → p-b32742f3.system.js} +1 -1
  127. package/dist/ionic/p-b3394798.system.entry.js +4 -0
  128. package/dist/ionic/p-bbae0ac3.system.entry.js +4 -0
  129. package/dist/ionic/{p-20087c90.entry.js → p-c759a704.entry.js} +1 -1
  130. package/dist/ionic/{p-6b9bf14c.system.entry.js → p-d1d3b740.system.entry.js} +1 -1
  131. package/dist/ionic/{p-8fa43732.system.entry.js → p-d693e765.system.entry.js} +1 -1
  132. package/dist/ionic/{p-5c96dc4e.entry.js → p-f7faa32d.entry.js} +1 -1
  133. package/dist/ionic/p-fabb7294.entry.js +4 -0
  134. package/dist/types/components/action-sheet/action-sheet.d.ts +1 -1
  135. package/dist/types/components/alert/alert.d.ts +1 -1
  136. package/dist/types/components/loading/loading.d.ts +1 -1
  137. package/dist/types/components/modal/modal.d.ts +1 -1
  138. package/dist/types/components/picker/picker.d.ts +1 -1
  139. package/dist/types/components/popover/popover.d.ts +1 -1
  140. package/dist/types/components/toast/toast.d.ts +1 -1
  141. package/dist/types/utils/lock-controller.d.ts +10 -0
  142. package/hydrate/index.js +129 -144
  143. package/package.json +1 -1
  144. package/dist/esm-es5/framework-delegate-2b76c681.js +0 -4
  145. package/dist/ionic/p-06f1f560.system.entry.js +0 -4
  146. package/dist/ionic/p-2936ec7f.system.entry.js +0 -4
  147. package/dist/ionic/p-29b3e70a.entry.js +0 -4
  148. package/dist/ionic/p-2bc49e5d.system.entry.js +0 -4
  149. package/dist/ionic/p-2da3e015.system.entry.js +0 -4
  150. package/dist/ionic/p-423d5a4d.entry.js +0 -4
  151. package/dist/ionic/p-564aaba3.entry.js +0 -4
  152. package/dist/ionic/p-61769039.entry.js +0 -4
  153. package/dist/ionic/p-74723f41.entry.js +0 -4
  154. package/dist/ionic/p-7d93084b.entry.js +0 -4
  155. package/dist/ionic/p-9b3c3564.entry.js +0 -4
  156. package/dist/ionic/p-b34c1ae1.js +0 -4
  157. package/dist/ionic/p-c328936a.system.entry.js +0 -4
  158. package/dist/ionic/p-ccea9adc.system.entry.js +0 -4
  159. package/dist/ionic/p-d5db0834.system.entry.js +0 -4
  160. package/dist/ionic/p-d8538837.entry.js +0 -4
  161. package/dist/ionic/p-dd0b6889.system.entry.js +0 -4
@@ -9,7 +9,8 @@ const index = require('./index-484b1104.js');
9
9
  const config = require('./config-d5882735.js');
10
10
  const buttonActive = require('./button-active-dfd2756e.js');
11
11
  const helpers = require('./helpers-ea4ccbcb.js');
12
- const overlays = require('./overlays-0ea06fcb.js');
12
+ const lockController = require('./lock-controller-4ae2eb59.js');
13
+ const overlays = require('./overlays-5c1706ed.js');
13
14
  const theme = require('./theme-fbc56b3b.js');
14
15
  const ionicGlobal = require('./ionic-global-f81d8b73.js');
15
16
  const animation = require('./animation-2bb33618.js');
@@ -18,7 +19,7 @@ require('./capacitor-2ffba62a.js');
18
19
  require('./index-306a7476.js');
19
20
  require('./index-0ee995e4.js');
20
21
  require('./gesture-controller-b46721be.js');
21
- require('./framework-delegate-e8174951.js');
22
+ require('./framework-delegate-c0873a6f.js');
22
23
  require('./hardware-back-button-b67c8e75.js');
23
24
  require('./index-cc7dfb7c.js');
24
25
 
@@ -123,6 +124,7 @@ const Alert = class {
123
124
  this.willDismissShorthand = index.createEvent(this, "willDismiss", 7);
124
125
  this.didDismissShorthand = index.createEvent(this, "didDismiss", 7);
125
126
  this.delegateController = overlays.createDelegateController(this);
127
+ this.lockController = lockController.createLockController();
126
128
  this.triggerController = overlays.createTriggerController();
127
129
  this.customHTMLEnabled = ionicGlobal.config.get('innerHTMLTemplatesEnabled', config.ENABLE_HTML_CONTENT_DEFAULT);
128
130
  this.processedInputs = [];
@@ -289,21 +291,10 @@ const Alert = class {
289
291
  * Present the alert overlay after it has been created.
290
292
  */
291
293
  async present() {
292
- /**
293
- * When using an inline alert
294
- * and dismissing an alert it is possible to
295
- * quickly present the alert while it is
296
- * dismissing. We need to await any current
297
- * transition to allow the dismiss to finish
298
- * before presenting again.
299
- */
300
- if (this.currentTransition !== undefined) {
301
- await this.currentTransition;
302
- }
294
+ const unlock = await this.lockController.lock();
303
295
  await this.delegateController.attachViewToDom();
304
- this.currentTransition = overlays.present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation);
305
- await this.currentTransition;
306
- this.currentTransition = undefined;
296
+ await overlays.present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation);
297
+ unlock();
307
298
  }
308
299
  /**
309
300
  * Dismiss the alert overlay after it has been presented.
@@ -315,11 +306,12 @@ const Alert = class {
315
306
  * Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
316
307
  */
317
308
  async dismiss(data, role) {
318
- this.currentTransition = overlays.dismiss(this, data, role, 'alertLeave', iosLeaveAnimation, mdLeaveAnimation);
319
- const dismissed = await this.currentTransition;
309
+ const unlock = await this.lockController.lock();
310
+ const dismissed = await overlays.dismiss(this, data, role, 'alertLeave', iosLeaveAnimation, mdLeaveAnimation);
320
311
  if (dismissed) {
321
312
  this.delegateController.removeViewFromDom();
322
313
  }
314
+ unlock();
323
315
  return dismissed;
324
316
  }
325
317
  /**
@@ -13,7 +13,7 @@ const theme = require('./theme-fbc56b3b.js');
13
13
  const index$1 = require('./index-10873539.js');
14
14
  const keyboardController = require('./keyboard-controller-50beb83a.js');
15
15
  const cubicBezier = require('./cubic-bezier-6b9222ad.js');
16
- const frameworkDelegate = require('./framework-delegate-e8174951.js');
16
+ const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
17
17
  const index$2 = require('./index-8568bedb.js');
18
18
  require('./index-cc7dfb7c.js');
19
19
  require('./index-306a7476.js');
@@ -1111,6 +1111,7 @@ const RouterOutlet = class {
1111
1111
  this.ionNavDidChange.emit();
1112
1112
  return true;
1113
1113
  }
1114
+ // TODO: FW-5048 - Remove this code in favor of using lock controller from utils
1114
1115
  async lock() {
1115
1116
  const p = this.waitPromise;
1116
1117
  let resolve;
@@ -14,10 +14,11 @@ const theme = require('./theme-fbc56b3b.js');
14
14
  const index$2 = require('./index-d8d1fc0b.js');
15
15
  const ionicGlobal = require('./ionic-global-f81d8b73.js');
16
16
  const data = require('./data-967b9c15.js');
17
- const overlays = require('./overlays-0ea06fcb.js');
17
+ const lockController = require('./lock-controller-4ae2eb59.js');
18
+ const overlays = require('./overlays-5c1706ed.js');
18
19
  const animation = require('./animation-2bb33618.js');
19
20
  const haptic = require('./haptic-c5f6b4d5.js');
20
- require('./framework-delegate-e8174951.js');
21
+ require('./framework-delegate-c0873a6f.js');
21
22
  require('./hardware-back-button-b67c8e75.js');
22
23
  require('./index-306a7476.js');
23
24
  require('./capacitor-2ffba62a.js');
@@ -1730,6 +1731,7 @@ const Picker = class {
1730
1731
  this.willDismissShorthand = index$1.createEvent(this, "willDismiss", 7);
1731
1732
  this.didDismissShorthand = index$1.createEvent(this, "didDismiss", 7);
1732
1733
  this.delegateController = overlays.createDelegateController(this);
1734
+ this.lockController = lockController.createLockController();
1733
1735
  this.triggerController = overlays.createTriggerController();
1734
1736
  this.onBackdropTap = () => {
1735
1737
  this.dismiss(undefined, overlays.BACKDROP);
@@ -1796,24 +1798,13 @@ const Picker = class {
1796
1798
  * Present the picker overlay after it has been created.
1797
1799
  */
1798
1800
  async present() {
1799
- /**
1800
- * When using an inline picker
1801
- * and dismissing an picker it is possible to
1802
- * quickly present the picker while it is
1803
- * dismissing. We need to await any current
1804
- * transition to allow the dismiss to finish
1805
- * before presenting again.
1806
- */
1807
- if (this.currentTransition !== undefined) {
1808
- await this.currentTransition;
1809
- }
1801
+ const unlock = await this.lockController.lock();
1810
1802
  await this.delegateController.attachViewToDom();
1811
- this.currentTransition = overlays.present(this, 'pickerEnter', iosEnterAnimation, iosEnterAnimation, undefined);
1812
- await this.currentTransition;
1813
- this.currentTransition = undefined;
1803
+ await overlays.present(this, 'pickerEnter', iosEnterAnimation, iosEnterAnimation, undefined);
1814
1804
  if (this.duration > 0) {
1815
1805
  this.durationTimeout = setTimeout(() => this.dismiss(), this.duration);
1816
1806
  }
1807
+ unlock();
1817
1808
  }
1818
1809
  /**
1819
1810
  * Dismiss the picker overlay after it has been presented.
@@ -1825,14 +1816,15 @@ const Picker = class {
1825
1816
  * Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
1826
1817
  */
1827
1818
  async dismiss(data, role) {
1819
+ const unlock = await this.lockController.lock();
1828
1820
  if (this.durationTimeout) {
1829
1821
  clearTimeout(this.durationTimeout);
1830
1822
  }
1831
- this.currentTransition = overlays.dismiss(this, data, role, 'pickerLeave', iosLeaveAnimation, iosLeaveAnimation);
1832
- const dismissed = await this.currentTransition;
1823
+ const dismissed = await overlays.dismiss(this, data, role, 'pickerLeave', iosLeaveAnimation, iosLeaveAnimation);
1833
1824
  if (dismissed) {
1834
1825
  this.delegateController.removeViewFromDom();
1835
1826
  }
1827
+ unlock();
1836
1828
  return dismissed;
1837
1829
  }
1838
1830
  /**
@@ -8,11 +8,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
  const index = require('./index-484b1104.js');
9
9
  const config = require('./config-d5882735.js');
10
10
  const helpers = require('./helpers-ea4ccbcb.js');
11
- const overlays = require('./overlays-0ea06fcb.js');
11
+ const lockController = require('./lock-controller-4ae2eb59.js');
12
+ const overlays = require('./overlays-5c1706ed.js');
12
13
  const theme = require('./theme-fbc56b3b.js');
13
14
  const ionicGlobal = require('./ionic-global-f81d8b73.js');
14
15
  const animation = require('./animation-2bb33618.js');
15
- require('./framework-delegate-e8174951.js');
16
+ require('./framework-delegate-c0873a6f.js');
16
17
  require('./hardware-back-button-b67c8e75.js');
17
18
  require('./index-cc7dfb7c.js');
18
19
  require('./index-306a7476.js');
@@ -121,6 +122,7 @@ const Loading = class {
121
122
  this.willDismissShorthand = index.createEvent(this, "willDismiss", 7);
122
123
  this.didDismissShorthand = index.createEvent(this, "didDismiss", 7);
123
124
  this.delegateController = overlays.createDelegateController(this);
125
+ this.lockController = lockController.createLockController();
124
126
  this.triggerController = overlays.createTriggerController();
125
127
  this.customHTMLEnabled = ionicGlobal.config.get('innerHTMLTemplatesEnabled', config.ENABLE_HTML_CONTENT_DEFAULT);
126
128
  this.presented = false;
@@ -186,24 +188,13 @@ const Loading = class {
186
188
  * Present the loading overlay after it has been created.
187
189
  */
188
190
  async present() {
189
- /**
190
- * When using an inline loading indicator
191
- * and dismissing a loading indicator it is possible to
192
- * quickly present the loading indicator while it is
193
- * dismissing. We need to await any current
194
- * transition to allow the dismiss to finish
195
- * before presenting again.
196
- */
197
- if (this.currentTransition !== undefined) {
198
- await this.currentTransition;
199
- }
191
+ const unlock = await this.lockController.lock();
200
192
  await this.delegateController.attachViewToDom();
201
- this.currentTransition = overlays.present(this, 'loadingEnter', iosEnterAnimation, mdEnterAnimation);
202
- await this.currentTransition;
193
+ await overlays.present(this, 'loadingEnter', iosEnterAnimation, mdEnterAnimation);
203
194
  if (this.duration > 0) {
204
195
  this.durationTimeout = setTimeout(() => this.dismiss(), this.duration + 10);
205
196
  }
206
- this.currentTransition = undefined;
197
+ unlock();
207
198
  }
208
199
  /**
209
200
  * Dismiss the loading overlay after it has been presented.
@@ -215,14 +206,15 @@ const Loading = class {
215
206
  * Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
216
207
  */
217
208
  async dismiss(data, role) {
209
+ const unlock = await this.lockController.lock();
218
210
  if (this.durationTimeout) {
219
211
  clearTimeout(this.durationTimeout);
220
212
  }
221
- this.currentTransition = overlays.dismiss(this, data, role, 'loadingLeave', iosLeaveAnimation, mdLeaveAnimation);
222
- const dismissed = await this.currentTransition;
213
+ const dismissed = await overlays.dismiss(this, data, role, 'loadingLeave', iosLeaveAnimation, mdLeaveAnimation);
223
214
  if (dismissed) {
224
215
  this.delegateController.removeViewFromDom();
225
216
  }
217
+ unlock();
226
218
  return dismissed;
227
219
  }
228
220
  /**
@@ -11,13 +11,13 @@ const index$2 = require('./index-306a7476.js');
11
11
  const gestureController = require('./gesture-controller-b46721be.js');
12
12
  const helpers = require('./helpers-ea4ccbcb.js');
13
13
  const index$1 = require('./index-653be4df.js');
14
- const overlays = require('./overlays-0ea06fcb.js');
14
+ const overlays = require('./overlays-5c1706ed.js');
15
15
  const ionicGlobal = require('./ionic-global-f81d8b73.js');
16
16
  const theme = require('./theme-fbc56b3b.js');
17
17
  const index$3 = require('./index-d8d1fc0b.js');
18
18
  require('./hardware-back-button-b67c8e75.js');
19
19
  require('./animation-2bb33618.js');
20
- require('./framework-delegate-e8174951.js');
20
+ require('./framework-delegate-c0873a6f.js');
21
21
  require('./index-cc7dfb7c.js');
22
22
 
23
23
  const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
@@ -7,11 +7,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index$3 = require('./index-484b1104.js');
9
9
  const index$2 = require('./index-10873539.js');
10
- const frameworkDelegate = require('./framework-delegate-e8174951.js');
10
+ const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
11
11
  const helpers = require('./helpers-ea4ccbcb.js');
12
+ const lockController = require('./lock-controller-4ae2eb59.js');
12
13
  const index$4 = require('./index-cc7dfb7c.js');
13
14
  const capacitor = require('./capacitor-2ffba62a.js');
14
- const overlays = require('./overlays-0ea06fcb.js');
15
+ const overlays = require('./overlays-5c1706ed.js');
15
16
  const theme = require('./theme-fbc56b3b.js');
16
17
  const index$5 = require('./index-8568bedb.js');
17
18
  const ionicGlobal = require('./ionic-global-f81d8b73.js');
@@ -1117,6 +1118,7 @@ const Modal = class {
1117
1118
  this.willDismissShorthand = index$3.createEvent(this, "willDismiss", 7);
1118
1119
  this.didDismissShorthand = index$3.createEvent(this, "didDismiss", 7);
1119
1120
  this.ionMount = index$3.createEvent(this, "ionMount", 7);
1121
+ this.lockController = lockController.createLockController();
1120
1122
  this.triggerController = overlays.createTriggerController();
1121
1123
  this.coreDelegate = frameworkDelegate.CoreDelegate();
1122
1124
  this.isSheetModal = false;
@@ -1281,29 +1283,25 @@ const Modal = class {
1281
1283
  * Present the modal overlay after it has been created.
1282
1284
  */
1283
1285
  async present() {
1286
+ const unlock = await this.lockController.lock();
1284
1287
  if (this.presented) {
1288
+ unlock();
1285
1289
  return;
1286
1290
  }
1287
1291
  const { presentingElement, el } = this;
1288
- /**
1289
- * When using an inline modal
1290
- * and dismissing a modal it is possible to
1291
- * quickly present the modal while it is
1292
- * dismissing. We need to await any current
1293
- * transition to allow the dismiss to finish
1294
- * before presenting again.
1295
- */
1296
- if (this.currentTransition !== undefined) {
1297
- await this.currentTransition;
1298
- }
1299
1292
  /**
1300
1293
  * If the modal is presented multiple times (inline modals), we
1301
1294
  * need to reset the current breakpoint to the initial breakpoint.
1302
1295
  */
1303
1296
  this.currentBreakpoint = this.initialBreakpoint;
1304
1297
  const { inline, delegate } = this.getDelegate(true);
1305
- this.usersElement = await frameworkDelegate.attachComponent(delegate, el, this.component, ['ion-page'], this.componentProps, inline);
1298
+ /**
1299
+ * Emit ionMount so JS Frameworks have an opportunity
1300
+ * to add the child component to the DOM. The child
1301
+ * component will be assigned to this.usersElement below.
1302
+ */
1306
1303
  this.ionMount.emit();
1304
+ this.usersElement = await frameworkDelegate.attachComponent(delegate, el, this.component, ['ion-page'], this.componentProps, inline);
1307
1305
  /**
1308
1306
  * When using the lazy loaded build of Stencil, we need to wait
1309
1307
  * for every Stencil component instance to be ready before presenting
@@ -1327,7 +1325,7 @@ const Modal = class {
1327
1325
  await index$5.waitForMount();
1328
1326
  }
1329
1327
  index$3.writeTask(() => this.el.classList.add('show-modal'));
1330
- this.currentTransition = overlays.present(this, 'modalEnter', iosEnterAnimation, mdEnterAnimation, {
1328
+ await overlays.present(this, 'modalEnter', iosEnterAnimation, mdEnterAnimation, {
1331
1329
  presentingEl: presentingElement,
1332
1330
  currentBreakpoint: this.initialBreakpoint,
1333
1331
  backdropBreakpoint: this.backdropBreakpoint,
@@ -1374,14 +1372,13 @@ const Modal = class {
1374
1372
  this.statusBarStyle = await StatusBar.getStyle();
1375
1373
  setCardStatusBarDark();
1376
1374
  }
1377
- await this.currentTransition;
1378
1375
  if (this.isSheetModal) {
1379
1376
  this.initSheetGesture();
1380
1377
  }
1381
1378
  else if (hasCardModal) {
1382
1379
  this.initSwipeToClose();
1383
1380
  }
1384
- this.currentTransition = undefined;
1381
+ unlock();
1385
1382
  }
1386
1383
  initSwipeToClose() {
1387
1384
  var _a;
@@ -1471,12 +1468,19 @@ const Modal = class {
1471
1468
  if (this.gestureAnimationDismissing && role !== overlays.GESTURE) {
1472
1469
  return false;
1473
1470
  }
1471
+ /**
1472
+ * Because the canDismiss check below is async,
1473
+ * we need to claim a lock before the check happens,
1474
+ * in case the dismiss transition does run.
1475
+ */
1476
+ const unlock = await this.lockController.lock();
1474
1477
  /**
1475
1478
  * If a canDismiss handler is responsible
1476
1479
  * for calling the dismiss method, we should
1477
1480
  * not run the canDismiss check again.
1478
1481
  */
1479
1482
  if (role !== 'handler' && !(await this.checkCanDismiss(data, role))) {
1483
+ unlock();
1480
1484
  return false;
1481
1485
  }
1482
1486
  const { presentingElement } = this;
@@ -1494,24 +1498,12 @@ const Modal = class {
1494
1498
  window.removeEventListener(keyboard.KEYBOARD_DID_OPEN, this.keyboardOpenCallback);
1495
1499
  this.keyboardOpenCallback = undefined;
1496
1500
  }
1497
- /**
1498
- * When using an inline modal
1499
- * and presenting a modal it is possible to
1500
- * quickly dismiss the modal while it is
1501
- * presenting. We need to await any current
1502
- * transition to allow the present to finish
1503
- * before dismissing again.
1504
- */
1505
- if (this.currentTransition !== undefined) {
1506
- await this.currentTransition;
1507
- }
1508
1501
  const enteringAnimation = overlays.activeAnimations.get(this) || [];
1509
- this.currentTransition = overlays.dismiss(this, data, role, 'modalLeave', iosLeaveAnimation, mdLeaveAnimation, {
1502
+ const dismissed = await overlays.dismiss(this, data, role, 'modalLeave', iosLeaveAnimation, mdLeaveAnimation, {
1510
1503
  presentingEl: presentingElement,
1511
1504
  currentBreakpoint: (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : this.initialBreakpoint,
1512
1505
  backdropBreakpoint: this.backdropBreakpoint,
1513
1506
  });
1514
- const dismissed = await this.currentTransition;
1515
1507
  if (dismissed) {
1516
1508
  const { delegate } = this.getDelegate();
1517
1509
  await frameworkDelegate.detachComponent(delegate, this.usersElement);
@@ -1525,8 +1517,8 @@ const Modal = class {
1525
1517
  enteringAnimation.forEach((ani) => ani.destroy());
1526
1518
  }
1527
1519
  this.currentBreakpoint = undefined;
1528
- this.currentTransition = undefined;
1529
1520
  this.animation = undefined;
1521
+ unlock();
1530
1522
  return dismissed;
1531
1523
  }
1532
1524
  /**
@@ -10,7 +10,7 @@ const cubicBezier = require('./cubic-bezier-6b9222ad.js');
10
10
  const helpers = require('./helpers-ea4ccbcb.js');
11
11
  const index$1 = require('./index-8568bedb.js');
12
12
  const ionicGlobal = require('./ionic-global-f81d8b73.js');
13
- const frameworkDelegate = require('./framework-delegate-e8174951.js');
13
+ const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
14
14
 
15
15
  const VIEW_STATE_NEW = 1;
16
16
  const VIEW_STATE_ATTACHED = 2;
@@ -6,10 +6,11 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index = require('./index-484b1104.js');
9
- const frameworkDelegate = require('./framework-delegate-e8174951.js');
9
+ const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
10
10
  const helpers = require('./helpers-ea4ccbcb.js');
11
+ const lockController = require('./lock-controller-4ae2eb59.js');
11
12
  const index$1 = require('./index-cc7dfb7c.js');
12
- const overlays = require('./overlays-0ea06fcb.js');
13
+ const overlays = require('./overlays-5c1706ed.js');
13
14
  const ionicGlobal = require('./ionic-global-f81d8b73.js');
14
15
  const theme = require('./theme-fbc56b3b.js');
15
16
  const index$2 = require('./index-8568bedb.js');
@@ -987,6 +988,7 @@ const Popover = class {
987
988
  this.ionMount = index.createEvent(this, "ionMount", 7);
988
989
  this.parentPopover = null;
989
990
  this.coreDelegate = frameworkDelegate.CoreDelegate();
991
+ this.lockController = lockController.createLockController();
990
992
  this.inline = false;
991
993
  this.focusDescendantOnPresent = false;
992
994
  this.onBackdropTap = () => {
@@ -1160,28 +1162,24 @@ const Popover = class {
1160
1162
  * was dispatched.
1161
1163
  */
1162
1164
  async present(event) {
1165
+ const unlock = await this.lockController.lock();
1163
1166
  if (this.presented) {
1167
+ unlock();
1164
1168
  return;
1165
1169
  }
1166
- /**
1167
- * When using an inline popover
1168
- * and dismissing a popover it is possible to
1169
- * quickly present the popover while it is
1170
- * dismissing. We need to await any current
1171
- * transition to allow the dismiss to finish
1172
- * before presenting again.
1173
- */
1174
- if (this.currentTransition !== undefined) {
1175
- await this.currentTransition;
1176
- }
1177
1170
  const { el } = this;
1178
1171
  const { inline, delegate } = this.getDelegate(true);
1172
+ /**
1173
+ * Emit ionMount so JS Frameworks have an opportunity
1174
+ * to add the child component to the DOM. The child
1175
+ * component will be assigned to this.usersElement below.
1176
+ */
1177
+ this.ionMount.emit();
1179
1178
  this.usersElement = await frameworkDelegate.attachComponent(delegate, el, this.component, ['popover-viewport'], this.componentProps, inline);
1180
1179
  if (!this.keyboardEvents) {
1181
1180
  this.configureKeyboardInteraction();
1182
1181
  }
1183
1182
  this.configureDismissInteraction();
1184
- this.ionMount.emit();
1185
1183
  /**
1186
1184
  * When using the lazy loaded build of Stencil, we need to wait
1187
1185
  * for every Stencil component instance to be ready before presenting
@@ -1204,7 +1202,7 @@ const Popover = class {
1204
1202
  else if (!this.keepContentsMounted) {
1205
1203
  await index$2.waitForMount();
1206
1204
  }
1207
- this.currentTransition = overlays.present(this, 'popoverEnter', iosEnterAnimation, mdEnterAnimation, {
1205
+ await overlays.present(this, 'popoverEnter', iosEnterAnimation, mdEnterAnimation, {
1208
1206
  event: event || this.event,
1209
1207
  size: this.size,
1210
1208
  trigger: this.triggerEl,
@@ -1212,8 +1210,6 @@ const Popover = class {
1212
1210
  side: this.side,
1213
1211
  align: this.alignment,
1214
1212
  });
1215
- await this.currentTransition;
1216
- this.currentTransition = undefined;
1217
1213
  /**
1218
1214
  * If popover is nested and was
1219
1215
  * presented using the "Right" arrow key,
@@ -1223,6 +1219,7 @@ const Popover = class {
1223
1219
  if (this.focusDescendantOnPresent) {
1224
1220
  overlays.focusFirstDescendant(this.el, this.el);
1225
1221
  }
1222
+ unlock();
1226
1223
  }
1227
1224
  /**
1228
1225
  * Dismiss the popover overlay after it has been presented.
@@ -1233,23 +1230,12 @@ const Popover = class {
1233
1230
  * a parent popover if this popover is nested. Defaults to `true`.
1234
1231
  */
1235
1232
  async dismiss(data, role, dismissParentPopover = true) {
1236
- /**
1237
- * When using an inline popover
1238
- * and presenting a popover it is possible to
1239
- * quickly dismiss the popover while it is
1240
- * presenting. We need to await any current
1241
- * transition to allow the present to finish
1242
- * before dismissing again.
1243
- */
1244
- if (this.currentTransition !== undefined) {
1245
- await this.currentTransition;
1246
- }
1233
+ const unlock = await this.lockController.lock();
1247
1234
  const { destroyKeyboardInteraction, destroyDismissInteraction } = this;
1248
1235
  if (dismissParentPopover && this.parentPopover) {
1249
1236
  this.parentPopover.dismiss(data, role, dismissParentPopover);
1250
1237
  }
1251
- this.currentTransition = overlays.dismiss(this, data, role, 'popoverLeave', iosLeaveAnimation, mdLeaveAnimation, this.event);
1252
- const shouldDismiss = await this.currentTransition;
1238
+ const shouldDismiss = await overlays.dismiss(this, data, role, 'popoverLeave', iosLeaveAnimation, mdLeaveAnimation, this.event);
1253
1239
  if (shouldDismiss) {
1254
1240
  if (destroyKeyboardInteraction) {
1255
1241
  destroyKeyboardInteraction();
@@ -1267,7 +1253,7 @@ const Popover = class {
1267
1253
  const { delegate } = this.getDelegate();
1268
1254
  await frameworkDelegate.detachComponent(delegate, this.usersElement);
1269
1255
  }
1270
- this.currentTransition = undefined;
1256
+ unlock();
1271
1257
  return shouldDismiss;
1272
1258
  }
1273
1259
  /**
@@ -10,14 +10,14 @@ const formController = require('./form-controller-5e223b54.js');
10
10
  const notchController = require('./notch-controller-c27fe0b7.js');
11
11
  const helpers = require('./helpers-ea4ccbcb.js');
12
12
  const index$1 = require('./index-cc7dfb7c.js');
13
- const overlays = require('./overlays-0ea06fcb.js');
13
+ const overlays = require('./overlays-5c1706ed.js');
14
14
  const dir = require('./dir-f1e0ca26.js');
15
15
  const theme = require('./theme-fbc56b3b.js');
16
16
  const watchOptions = require('./watch-options-f3f77e54.js');
17
17
  const index$2 = require('./index-d8d1fc0b.js');
18
18
  const ionicGlobal = require('./ionic-global-f81d8b73.js');
19
19
  require('./index-306a7476.js');
20
- require('./framework-delegate-e8174951.js');
20
+ require('./framework-delegate-c0873a6f.js');
21
21
  require('./hardware-back-button-b67c8e75.js');
22
22
 
23
23
  const selectIosCss = ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}:host(:not(.legacy-select)){min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}.select-icon{width:18px;height:18px;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 18px - 4px)}:host(.select-disabled){opacity:0.3}";
@@ -6,7 +6,7 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index = require('./index-484b1104.js');
9
- const frameworkDelegate = require('./framework-delegate-e8174951.js');
9
+ const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
10
10
  require('./helpers-ea4ccbcb.js');
11
11
 
12
12
  const tabCss = ":host(.tab-hidden){display:none !important}";