@ionic/react 7.6.7-dev.11706198728.127edf24 → 7.6.7-dev.11706551083.17301493

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 CHANGED
@@ -1,7 +1,6 @@
1
1
  import React, { useContext, useRef, useEffect, createElement, useState, useMemo, Fragment, useCallback } from 'react';
2
2
  import { isPlatform as isPlatform$1, getPlatforms as getPlatforms$1, componentOnReady, createAnimation, actionSheetController, alertController, toastController, modalController, popoverController, pickerController, loadingController, initialize } from '@ionic/core/components';
3
3
  export { IonicSafeString, IonicSlides, createAnimation, createGesture, getIonPageElement, getTimeGivenProgression, iosTransitionAnimation, mdTransitionAnimation, openURL } from '@ionic/core/components';
4
- import { __rest } from 'tslib';
5
4
  import ReactDOM, { createPortal } from 'react-dom';
6
5
  import { defineCustomElement as defineCustomElement$1 } from '@ionic/core/components/ion-accordion.js';
7
6
  import { defineCustomElement as defineCustomElement$2 } from '@ionic/core/components/ion-accordion-group.js';
@@ -405,6 +404,40 @@ const NavContext = /*@__PURE__*/ React.createContext({
405
404
  },
406
405
  });
407
406
 
407
+ /******************************************************************************
408
+ Copyright (c) Microsoft Corporation.
409
+
410
+ Permission to use, copy, modify, and/or distribute this software for any
411
+ purpose with or without fee is hereby granted.
412
+
413
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
414
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
415
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
416
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
417
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
418
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
419
+ PERFORMANCE OF THIS SOFTWARE.
420
+ ***************************************************************************** */
421
+ /* global Reflect, Promise, SuppressedError, Symbol */
422
+
423
+
424
+ function __rest(s, e) {
425
+ var t = {};
426
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
427
+ t[p] = s[p];
428
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
429
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
430
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
431
+ t[p[i]] = s[p[i]];
432
+ }
433
+ return t;
434
+ }
435
+
436
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
437
+ var e = new Error(message);
438
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
439
+ };
440
+
408
441
  const dashToPascalCase = (str) => str
409
442
  .toLowerCase()
410
443
  .split('-')