@ionic/pwa-elements
Advanced tools
Comparing version 1.2.4 to 1.2.5
'use strict'; | ||
const __chunk_1 = require('./ionicpwaelements-8e12256d.js'); | ||
const __chunk_1 = require('./ionicpwaelements-14746a7a.js'); | ||
@@ -5,0 +5,0 @@ __chunk_1.patchBrowser().then(resourcesUrl => { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const __chunk_1 = require('./ionicpwaelements-8e12256d.js'); | ||
const __chunk_1 = require('./ionicpwaelements-14746a7a.js'); | ||
@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const __chunk_1 = require('./ionicpwaelements-8e12256d.js'); | ||
const __chunk_1 = require('./ionicpwaelements-14746a7a.js'); | ||
@@ -8,0 +8,0 @@ class PWACameraModal { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const __chunk_1 = require('./ionicpwaelements-8e12256d.js'); | ||
const __chunk_1 = require('./ionicpwaelements-14746a7a.js'); | ||
@@ -8,0 +8,0 @@ class PWACameraModal { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const __chunk_1 = require('./ionicpwaelements-8e12256d.js'); | ||
const __chunk_1 = require('./ionicpwaelements-14746a7a.js'); | ||
@@ -8,0 +8,0 @@ /** |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const __chunk_1 = require('./ionicpwaelements-8e12256d.js'); | ||
const __chunk_1 = require('./ionicpwaelements-14746a7a.js'); | ||
@@ -8,0 +8,0 @@ class PWAToast { |
@@ -5,8 +5,8 @@ { | ||
"components/camera-modal/camera-modal.js", | ||
"components/toast/toast.js", | ||
"components/camera/camera.js" | ||
"components/camera/camera.js", | ||
"components/toast/toast.js" | ||
], | ||
"compiler": { | ||
"name": "@stencil/core", | ||
"version": "1.0.0-beta.3", | ||
"version": "1.0.0-beta.5", | ||
"typescriptVersion": "3.4.5" | ||
@@ -13,0 +13,0 @@ }, |
@@ -36,3 +36,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { d as registerInstance, e as createEvent, f as h, g as getElement } from './ionicpwaelements-fa86e7e7.js'; | ||
import { d as registerInstance, e as createEvent, f as h, g as getElement } from './ionicpwaelements-51948158.js'; | ||
var PWACameraModal = /** @class */ (function () { | ||
@@ -39,0 +39,0 @@ function PWACameraModal(hostRef) { |
@@ -36,3 +36,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { d as registerInstance, e as createEvent, f as h } from './ionicpwaelements-fa86e7e7.js'; | ||
import { d as registerInstance, e as createEvent, f as h } from './ionicpwaelements-51948158.js'; | ||
var PWACameraModal = /** @class */ (function () { | ||
@@ -39,0 +39,0 @@ function PWACameraModal(hostRef) { |
@@ -36,3 +36,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { d as registerInstance, i as getContext, f as h, g as getElement } from './ionicpwaelements-fa86e7e7.js'; | ||
import { d as registerInstance, i as getContext, f as h, g as getElement } from './ionicpwaelements-51948158.js'; | ||
/** | ||
@@ -39,0 +39,0 @@ * MediaStream ImageCapture polyfill |
@@ -1,2 +0,2 @@ | ||
import { d as registerInstance, f as h, g as getElement, h as Host } from './ionicpwaelements-fa86e7e7.js'; | ||
import { d as registerInstance, f as h, g as getElement, h as Host } from './ionicpwaelements-51948158.js'; | ||
var PWAToast = /** @class */ (function () { | ||
@@ -3,0 +3,0 @@ function PWAToast(hostRef) { |
@@ -1,2 +0,4 @@ | ||
!function(){const t="undefined"!=typeof self,n=t?self:global;let e;if("undefined"!=typeof location){const t=(e=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==t&&(e=e.slice(0,t+1))}const o=/\\/g;function r(t,n){if(-1!==t.indexOf("\\")&&(t=t.replace(o,"/")),"/"===t[0]&&"/"===t[1])return n.slice(0,n.indexOf(":")+1)+t;if("."===t[0]&&("/"===t[1]||"."===t[1]&&("/"===t[2]||2===t.length&&(t+="/"))||1===t.length&&(t+="/"))||"/"===t[0]){const e=n.slice(0,n.indexOf(":")+1);let o;if(o="/"===n[e.length+1]?"file:"!==e?(o=n.slice(e.length+2)).slice(o.indexOf("/")+1):n.slice(8):n.slice(e.length+("/"===n[e.length])),"/"===t[0])return n.slice(0,n.length-o.length-1)+t;const r=o.slice(0,o.lastIndexOf("/")+1)+t,i=[];let c=-1;for(let t=0;t<r.length;t++)-1!==c?"/"===r[t]&&(i.push(r.slice(c,t+1)),c=-1):"."===r[t]?"."!==r[t+1]||"/"!==r[t+2]&&t+2!==r.length?"/"===r[t+1]||t+1===r.length?t+=1:c=t:(i.pop(),t+=2):c=t;return-1!==c&&i.push(r.slice(c)),n.slice(0,n.length-o.length)+i.join("")}}function i(t,n){return r(t,n)||-1!==t.indexOf(":")&&t||r("./"+t,n)}function c(t){var n={};for(var e in t){var o=t[e];"string"==typeof o&&(n[r(e)||e]=o)}return n}function s(t,n){const e=c(t.imports)||{},o={};if(t.scopes)for(let e in t.scopes){const r=t.scopes[e];let s=i(e,n);"/"!==s[s.length-1]&&(s+="/"),o[s]=c(r)||{}}return{imports:e,scopes:o,baseUrl:n}}function u(t,n){if(n[t])return t;let e=t.length;do{const o=t.slice(0,e+1);if(o in n)return o}while(-1!==(e=t.lastIndexOf("/",e-1)))}function l(t,n,e){const o=u(t,n);if(o){const r=n[o];return null===r&&t.length>o.length&&"/"!==r[r.length-1]&&console.warn("Invalid package target "+r+" for '"+o+"' should have a trailing '/'."),i(r+t.slice(o.length),e)}}function f(t,n,e){const o=r(t,n);o&&(t=o);const i=u(n,e.scopes);if(i){const n=l(t,e.scopes[i],i);if(n)return n}return l(t,e.imports,e.baseUrl)||o||function(t,n){throw new Error('Unable to resolve bare specifier "'+t+(n?'" from '+n:'"'))}(t,n)}const a="undefined"!=typeof Symbol,d=a&&Symbol.toStringTag,h=a?Symbol():"@";function p(){this[h]={}}const m=p.prototype;let g;m.import=function(t,n){const e=this;return Promise.resolve(e.resolve(t,n)).then(function(t){const n=function t(n,e,o){let r=n[h][e];if(r)return r;const i=[],c=Object.create(null);d&&Object.defineProperty(c,d,{value:"Module"});let s=Promise.resolve().then(function(){return n.instantiate(e,o)}).then(function(t){if(!t)throw new Error("Module "+e+" did not instantiate");const o=t[1](function(t,n){r.h=!0;let e=!1;if("object"!=typeof t)t in c&&c[t]===n||(c[t]=n,e=!0);else for(let n in t){let o=t[n];n in c&&c[n]===o||(c[n]=o,e=!0)}if(e)for(let t=0;t<i.length;t++)i[t](c);return n},2===t[1].length?{import:function(t){return n.import(t,e)},meta:n.createContext(e)}:void 0);return r.e=o.execute||function(){},[t[0],o.setters||[]]});const u=(s=s.catch(function(t){throw n.onload(r.id,t),t})).then(function(o){return Promise.all(o[0].map(function(r,i){const c=o[1][i];return Promise.resolve(n.resolve(r,e)).then(function(o){const r=t(n,o,e);return Promise.resolve(r.I).then(function(){return c&&(r.i.push(c),!r.h&&r.I||c(r.n)),r})})})).then(function(t){r.d=t})});return u.catch(function(t){r.e=null,r.er=t}),r=n[h][e]={id:e,i:i,n:c,I:s,L:u,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0}}(e,t);return n.C||function(t,n){return n.C=function t(n,e,o){if(!o[e.id])return o[e.id]=!0,Promise.resolve(e.L).then(function(){return Promise.all(e.d.map(function(e){return t(n,e,o)}))})}(t,n,{}).then(function(){return function t(n,e,o){if(o[e.id])return;if(o[e.id]=!0,!e.e){if(e.er)throw e.er;return e.E?e.E:void 0}let r;return e.d.forEach(function(i){try{const c=t(n,i,o);c&&(r=r||[]).push(c)}catch(t){throw n.onload(e.id,t),t}}),r?Promise.all(r).then(i).catch(function(t){throw n.onload(e.id,t),t}):i();function i(){try{let t=e.e.call(y);if(t)return(t=t.then(function(){e.C=e.n,e.E=null,n.onload(e.id,null)},function(t){throw n.onload(e.id,t),t})).catch(function(){}),e.E=e.E||t;e.C=e.n,n.onload(e.id,null)}catch(t){throw n.onload(e.id,t),e.er=t,t}finally{e.L=e.I=void 0,e.e=null}}}(t,n,{})}).then(function(){return n.n})}(e,n)})},m.createContext=function(t){return{url:t}},m.onload=function(){},m.register=function(t,n){g=[t,n]},m.getRegister=function(){const t=g;return g=void 0,t};const y=Object.freeze(Object.create(null));let v;n.System=new p,"undefined"!=typeof window&&window.addEventListener("error",function(t){v=t.error});const b=m.register;m.register=function(t,n){v=void 0,b.call(this,t,n)},m.instantiate=function(t,n){const e=this;return new Promise(function(o,r){const i=document.createElement("script");i.charset="utf-8",i.async=!0,i.crossOrigin="anonymous",i.addEventListener("error",function(){r(new Error("Error loading "+t+(n?" from "+n:"")))}),i.addEventListener("load",function(){if(document.head.removeChild(i),v)return r(v);o(e.getRegister())}),i.src=t,document.head.appendChild(i)})},t&&"function"==typeof importScripts&&(m.instantiate=function(t){const n=this;return new Promise(function(e,o){try{importScripts(t)}catch(t){o(t)}e(n.getRegister())})}),function(t){const n=System.constructor.prototype;let e,o,r;const i=n.import;n.import=function(n,c){return function(){e=o=void 0;for(let n in t)t.hasOwnProperty(n)&&(e?o||(o=n):e=n,r=n)}(),i.call(this,n,c)};const c=[[],function(){return{}}],s=n.getRegister;n.getRegister=function(){const n=s.call(this);if(n)return n;const i=function(){let n,i=0;for(let r in t)if(t.hasOwnProperty(r)){if(0===i&&r!==e||1===i&&r!==o)return r;i++,n=r}if(n!==r)return n}();if(!i)return c;let u;try{u=t[i]}catch(t){return c}return[[],function(t){return{execute:function(){t("default",u)}}}]}}("undefined"!=typeof self?self:global);const w=m.instantiate;var E,O;if(m.instantiate=function(t,n){return".wasm"!==t.slice(-5)?w.call(this,t,n):fetch(t).then(function(t){if(!t.ok)throw new Error(t.status+" "+t.statusText+" "+t.url+(n?" loading from "+n:""));return WebAssembly.compileStreaming?WebAssembly.compileStreaming(t):t.arrayBuffer().then(function(t){return WebAssembly.compile(t)})}).then(function(t){const n=[],e=[],o={};return WebAssembly.Module.imports&&WebAssembly.Module.imports(t).forEach(function(t){const r=t.module;e.push(function(t){o[r]=t}),-1===n.indexOf(r)&&n.push(r)}),[n,function(n){return{setters:e,execute:function(){return WebAssembly.instantiate(t,o).then(function(t){n(t.exports)})}}}]})},"undefined"!=typeof document){const t=document.getElementsByTagName("script");for(let n=0;n<t.length;n++){const o=t[n];if("systemjs-importmap"===o.type){o.src?O=fetch(o.src).then(function(t){return t.json()}).then(function(t){E=s(t,o.src)}):E=s(JSON.parse(o.innerHTML),e);break}}}E=E||{imports:{},scopes:{}},m.resolve=function(t,n){return n=n||e,O?O.then(function(){return f(t,n,E)}):f(t,n,E)};const x="undefined"!=typeof Symbol&&Symbol.toStringTag;m.get=function(t){const n=this[h][t];if(n&&null===n.e&&!n.E)return n.er?null:n.n},m.set=function(t,n){let e;x&&"Module"===n[x]?e=n:(e=Object.assign(Object.create(null),n),x&&Object.defineProperty(e,x,{value:"Module"}));const o=Promise.resolve(e);return this.delete(t),this[h][t]={id:t,i:[],n:e,I:o,L:o,h:!1,d:[],e:null,er:void 0,E:void 0,C:o},e},m.has=function(t){const n=this[h][t];return n&&null===n.e&&!n.E},m.delete=function(t){const n=this.get(t);return void 0!==n&&(n&&n.d&&n.d.forEach(function(t){const e=t.i.indexOf(n);-1!==e&&t.i.splice(e,1)}),delete this[h][t])}}(); | ||
!function(t){const n=System.constructor.prototype;let e,r,o;const i=n.import;n.import=function(n,u){return function(){e=r=void 0;for(let n in t)t.hasOwnProperty(n)&&(e?r||(r=n):e=n,o=n)}(),i.call(this,n,u)};const u=[[],function(){return{}}],c=n.getRegister;n.getRegister=function(){const n=c.call(this);if(n)return n;const i=function(){let n,i=0;for(let o in t)if(t.hasOwnProperty(o)){if(0===i&&o!==e||1===i&&o!==r)return o;i++,n=o}if(n!==o)return n}();if(!i)return u;let f;try{f=t[i]}catch(t){return u}return[[],function(t){return{execute:function(){t("default",f)}}}]}}("undefined"!=typeof self?self:global); | ||
/* | ||
* SystemJS 3.1.3 | ||
*/ | ||
!function(){const e="undefined"!=typeof self,n=e?self:global;let t;if("undefined"!=typeof location){const e=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==e&&(t=t.slice(0,e+1))}const r=/\\/g,i="undefined"!=typeof Symbol,o=i&&Symbol.toStringTag,c=i?Symbol():"@";function l(){this[c]={}}const s=l.prototype;let u;s.import=function(e,n){const t=this;return Promise.resolve(t.resolve(e,n)).then(function(e){const n=function e(n,t,r){let i=n[c][t];if(i)return i;const l=[],s=Object.create(null);o&&Object.defineProperty(s,o,{value:"Module"});let u=Promise.resolve().then(function(){return n.instantiate(t,r)}).then(function(e){if(!e)throw new Error("Module "+t+" did not instantiate");const r=e[1](function(e,n){i.h=!0;let t=!1;if("object"!=typeof e)e in s&&s[e]===n||(s[e]=n,t=!0);else for(let n in e){let r=e[n];n in s&&s[n]===r||(s[n]=r,t=!0)}if(t)for(let e=0;e<l.length;e++)l[e](s);return n},2===e[1].length?{import:function(e){return n.import(e,t)},meta:n.createContext(t)}:void 0);return i.e=r.execute||function(){},[e[0],r.setters||[]]});const f=u.then(function(r){return Promise.all(r[0].map(function(i,o){const c=r[1][o];return Promise.resolve(n.resolve(i,t)).then(function(r){const i=e(n,r,t);return Promise.resolve(i.I).then(function(){return c&&(i.i.push(c),!i.h&&i.I||c(i.n)),i})})})).then(function(e){i.d=e})});return f.catch(function(e){i.e=null,i.er=e}),i=n[c][t]={id:t,i:l,n:s,I:u,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0}}(t,e);return n.C||function(e,n){return n.C=function e(n,t,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then(function(){return Promise.all(t.d.map(function(t){return e(n,t,r)}))})}(e,n,{}).then(function(){return function e(n,t,r){if(r[t.id])return;if(r[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}let i;return t.d.forEach(function(t){{const o=e(n,t,r);o&&(i=i||[]).push(o)}}),i?Promise.all(i).then(o):o();function o(){try{let e=t.e.call(f);if(e)return e=e.then(function(){t.C=t.n,t.E=null}),t.E=t.E||e;t.C=t.n}catch(e){throw t.er=e,e}finally{t.L=t.I=void 0,t.e=null}}}(e,n,{})}).then(function(){return n.n})}(t,n)})},s.createContext=function(e){return{url:e}},s.register=function(e,n){u=[e,n]},s.getRegister=function(){const e=u;return u=void 0,e};const f=Object.freeze(Object.create(null));let d;n.System=new l,"undefined"!=typeof window&&window.addEventListener("error",function(e){d=e.error});const h=s.register;s.register=function(e,n){d=void 0,h.call(this,e,n)},s.instantiate=function(e,n){const t=this;return new Promise(function(r,i){const o=document.createElement("script");o.charset="utf-8",o.async=!0,o.crossOrigin="anonymous",o.addEventListener("error",function(){i(new Error("Error loading "+e+(n?" from "+n:"")))}),o.addEventListener("load",function(){if(document.head.removeChild(o),d)return i(d),d=void 0;r(t.getRegister())}),o.src=e,document.head.appendChild(o)})},e&&"function"==typeof importScripts&&(s.instantiate=function(e){const n=this;return new Promise(function(t,r){try{importScripts(e)}catch(e){r(e)}t(n.getRegister())})}),s.resolve=function(e,n){const i=function(e,n){if(-1!==e.indexOf("\\")&&(e=e.replace(r,"/")),"/"===e[0]&&"/"===e[1])return n.slice(0,n.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){const t=n.slice(0,n.indexOf(":")+1);let r;if(r="/"===n[t.length+1]?"file:"!==t?(r=n.slice(t.length+2)).slice(r.indexOf("/")+1):n.slice(8):n.slice(t.length+("/"===n[t.length])),"/"===e[0])return n.slice(0,n.length-r.length-1)+e;const i=r.slice(0,r.lastIndexOf("/")+1)+e,o=[];let c=-1;for(let e=0;e<i.length;e++)-1!==c?"/"===i[e]&&(o.push(i.slice(c,e+1)),c=-1):"."===i[e]?"."!==i[e+1]||"/"!==i[e+2]&&e+2!==i.length?"/"===i[e+1]||e+1===i.length?e+=1:c=e:(o.pop(),e+=2):c=e;return-1!==c&&o.push(i.slice(c)),n.slice(0,n.length-r.length)+o.join("")}}(e,n||t);if(!i){if(-1!==e.indexOf(":"))return Promise.resolve(e);throw new Error('Cannot resolve "'+e+(n?'" from '+n:'"'))}return Promise.resolve(i)}}(); |
@@ -1,2 +0,2 @@ | ||
import { d as registerInstance, e as createEvent, f as h, g as getElement } from './ionicpwaelements-fa86e7e7.js'; | ||
import { d as registerInstance, e as createEvent, f as h, g as getElement } from './ionicpwaelements-51948158.js'; | ||
@@ -3,0 +3,0 @@ class PWACameraModal { |
@@ -1,2 +0,2 @@ | ||
import { d as registerInstance, e as createEvent, f as h } from './ionicpwaelements-fa86e7e7.js'; | ||
import { d as registerInstance, e as createEvent, f as h } from './ionicpwaelements-51948158.js'; | ||
@@ -3,0 +3,0 @@ class PWACameraModal { |
@@ -1,2 +0,2 @@ | ||
import { d as registerInstance, i as getContext, f as h, g as getElement } from './ionicpwaelements-fa86e7e7.js'; | ||
import { d as registerInstance, i as getContext, f as h, g as getElement } from './ionicpwaelements-51948158.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { d as registerInstance, f as h, g as getElement, h as Host } from './ionicpwaelements-fa86e7e7.js'; | ||
import { d as registerInstance, f as h, g as getElement, h as Host } from './ionicpwaelements-51948158.js'; | ||
@@ -3,0 +3,0 @@ class PWAToast { |
@@ -1,1 +0,1 @@ | ||
import{a,b as e}from"./p-a93e7da4.js";a().then(a=>e([["p-yfalpp0w",[[1,"pwa-camera-modal",{present:[64],dismiss:[64]}]]],["p-6y9uqwd8",[[1,"pwa-toast",{message:[1],duration:[2],closing:[32]}]]],["p-spedobbw",[[1,"pwa-camera",{facingMode:[1,"facing-mode"],onPhoto:[16],photo:[32],photoSrc:[32],showShutterOverlay:[32],flashIndex:[32],cameraError:[32],cameraErrorString:[32]}]]],["p-710k7854",[[1,"pwa-camera-modal-instance",null,[[32,"keyup","handleBackdropKeyUp"]]]]]],{resourcesUrl:a})); | ||
import{a,b as r}from"./p-7a741ef8.js";a().then(a=>r([["p-biwru87b",[[1,"pwa-camera-modal",{present:[64],dismiss:[64]}]]],["p-fdm4yntq",[[1,"pwa-toast",{message:[1],duration:[2],closing:[32]}]]],["p-xcyoklhb",[[1,"pwa-camera",{facingMode:[1,"facing-mode"],onPhoto:[16],photo:[32],photoSrc:[32],showShutterOverlay:[32],flashIndex:[32],cameraError:[32],cameraErrorString:[32]}]]],["p-ctbsxitn",[[1,"pwa-camera-modal-instance",null,[[32,"keyup","handleBackdropKeyUp"]]]]]],{resourcesUrl:a})); |
{ | ||
"name": "@ionic/pwa-elements", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Stencil Component Starter", | ||
@@ -12,3 +12,3 @@ "main": "dist/index.js", | ||
"dist/", | ||
"dist/loader/" | ||
"loader/" | ||
], | ||
@@ -19,3 +19,5 @@ "scripts": { | ||
"test": "stencil test --spec --e2e", | ||
"test.watch": "stencil test --spec --e2e --watchAll" | ||
"test.watch": "stencil test --spec --e2e --watchAll", | ||
"release": "np", | ||
"version": "npm run build" | ||
}, | ||
@@ -33,5 +35,11 @@ "repository": { | ||
"devDependencies": { | ||
"@stencil/core": "1.0.0-beta.3", | ||
"@stencil/core": "1.0.0-beta.5", | ||
"@types/jest": "23.3.14", | ||
"@types/puppeteer": "1.12.4", | ||
"jest": "23.6.0", | ||
"jest-cli": "23.6.0", | ||
"np": "^5.0.2", | ||
"puppeteer": "1.14.0", | ||
"workbox-build": "4.3.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110
13475
9
771603
8