ionicpwaelements.js 1.6 KB

123456789101112131415161718192021
  1. import { p as promiseResolve, b as bootstrapLazy } from './index-1c5c47b4.js';
  2. export { s as setNonce } from './index-1c5c47b4.js';
  3. /*
  4. Stencil Client Patch Browser v3.4.0 | MIT Licensed | https://stenciljs.com
  5. */
  6. const patchBrowser = () => {
  7. const importMeta = import.meta.url;
  8. const opts = {};
  9. // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
  10. if (importMeta !== '') {
  11. opts.resourcesUrl = new URL('.', importMeta).href;
  12. // TODO(STENCIL-661): Remove code related to the dynamic import shim
  13. // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
  14. }
  15. return promiseResolve(opts);
  16. };
  17. patchBrowser().then(options => {
  18. return bootstrapLazy([["pwa-camera-modal",[[1,"pwa-camera-modal",{"facingMode":[1,"facing-mode"],"hidePicker":[4,"hide-picker"],"present":[64],"dismiss":[64]}]]],["pwa-action-sheet",[[1,"pwa-action-sheet",{"header":[1],"cancelable":[4],"options":[16],"open":[32]}]]],["pwa-toast",[[1,"pwa-toast",{"message":[1],"duration":[2],"closing":[32]}]]],["pwa-camera",[[1,"pwa-camera",{"facingMode":[1,"facing-mode"],"handlePhoto":[16],"hidePicker":[4,"hide-picker"],"handleNoDeviceError":[16],"noDevicesText":[1,"no-devices-text"],"noDevicesButtonText":[1,"no-devices-button-text"],"photo":[32],"photoSrc":[32],"showShutterOverlay":[32],"flashIndex":[32],"hasCamera":[32],"rotation":[32],"deviceError":[32]}]]],["pwa-camera-modal-instance",[[1,"pwa-camera-modal-instance",{"facingMode":[1,"facing-mode"],"hidePicker":[4,"hide-picker"],"noDevicesText":[1,"no-devices-text"],"noDevicesButtonText":[1,"no-devices-button-text"]},[[16,"keyup","handleBackdropKeyUp"]]]]]], options);
  19. });