Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ionic/pwa-elements

Package Overview
Dependencies
Maintainers
19
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/pwa-elements - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

dist/ionicpwaelements/core-b0ca243c.js

6

dist/collection/collection-manifest.json
{
"entries": [
"components/camera-modal/camera-modal-instance.js",
"components/camera-modal/camera-modal.js",
"components/camera-modal/camera-modal-instance.js",
"components/toast/toast.js",

@@ -10,4 +10,4 @@ "components/camera/camera.js"

"name": "@stencil/core",
"version": "1.0.0-beta.5",
"typescriptVersion": "3.4.5"
"version": "1.3.2",
"typescriptVersion": "3.5.3"
},

@@ -14,0 +14,0 @@ "collections": [],

@@ -1,2 +0,2 @@

import { h } from '@stencil/core';
import { h } from "@stencil/core";
export class PWACameraModal {

@@ -3,0 +3,0 @@ async handlePhoto(photo) {

@@ -1,2 +0,2 @@

import { h } from '@stencil/core';
import { h } from "@stencil/core";
export class PWACameraModal {

@@ -3,0 +3,0 @@ async present() {

@@ -1,2 +0,2 @@

import { h } from '@stencil/core';
import { h } from "@stencil/core";
import './imagecapture';

@@ -3,0 +3,0 @@ export class CameraPWA {

@@ -1,2 +0,2 @@

import { h } from '@stencil/core';
import { h } from "@stencil/core";
export class PWAToast {

@@ -3,0 +3,0 @@ constructor() {

@@ -1,1 +0,6 @@

import{a,b as e}from"./p-7a741ef8.js";a().then(a=>e([["p-biwru87b",[[1,"pwa-camera-modal",{present:[64],dismiss:[64]}]]],["p-fdm4yntq",[[1,"pwa-toast",{message:[1],duration:[2],closing:[32]}]]],["p-xgtgrjtl",[[1,"pwa-camera",{facingMode:[1,"facing-mode"],onPhoto:[16],photo:[32],photoSrc:[32],showShutterOverlay:[32],flashIndex:[32]}]]],["p-ctbsxitn",[[1,"pwa-camera-modal-instance",null,[[32,"keyup","handleBackdropKeyUp"]]]]]],{resourcesUrl:a}));
import { p as patchBrowser, g as globals, b as bootstrapLazy } from './core-b0ca243c.js';
patchBrowser().then(options => {
globals();
return bootstrapLazy([["pwa-camera-modal-instance",[[1,"pwa-camera-modal-instance",null,[[32,"keyup","handleBackdropKeyUp"]]]]],["pwa-camera-modal",[[1,"pwa-camera-modal",{"present":[64],"dismiss":[64]}]]],["pwa-toast",[[1,"pwa-toast",{"message":[1],"duration":[2],"closing":[32]}]]],["pwa-camera",[[1,"pwa-camera",{"facingMode":[1,"facing-mode"],"onPhoto":[16],"photo":[32],"photoSrc":[32],"showShutterOverlay":[32],"flashIndex":[32]}]]]], options);
});

@@ -27,40 +27,5 @@ /* tslint:disable */

declare namespace LocalJSX {
interface PwaCamera extends JSXBase.HTMLAttributes {
'facingMode'?: string;
'onPhoto'?: (e: any) => void;
}
interface PwaCameraModal extends JSXBase.HTMLAttributes {
'onOnPhoto'?: (event: CustomEvent<any>) => void;
}
interface PwaCameraModalInstance extends JSXBase.HTMLAttributes {
'onOnPhoto'?: (event: CustomEvent<any>) => void;
}
interface PwaToast extends JSXBase.HTMLAttributes {
'duration'?: number;
'message'?: string;
}
interface IntrinsicElements {
'pwa-camera': PwaCamera;
'pwa-camera-modal': PwaCameraModal;
'pwa-camera-modal-instance': PwaCameraModalInstance;
'pwa-toast': PwaToast;
}
}
export { LocalJSX as JSX };
declare module "@stencil/core" {
export namespace JSX {
interface IntrinsicElements extends LocalJSX.IntrinsicElements {}
}
}
declare global {
interface HTMLPwaCameraElement extends Components.PwaCamera, HTMLStencilElement {}

@@ -89,3 +54,2 @@ var HTMLPwaCameraElement: {

};
interface HTMLElementTagNameMap {

@@ -97,5 +61,37 @@ 'pwa-camera': HTMLPwaCameraElement;

}
}
interface ElementTagNameMap extends HTMLElementTagNameMap {}
declare namespace LocalJSX {
interface PwaCamera extends JSXBase.HTMLAttributes<HTMLPwaCameraElement> {
'facingMode'?: string;
'onPhoto'?: (e: any) => void;
}
interface PwaCameraModal extends JSXBase.HTMLAttributes<HTMLPwaCameraModalElement> {
'onOnPhoto'?: (event: CustomEvent<any>) => void;
}
interface PwaCameraModalInstance extends JSXBase.HTMLAttributes<HTMLPwaCameraModalInstanceElement> {
'onOnPhoto'?: (event: CustomEvent<any>) => void;
}
interface PwaToast extends JSXBase.HTMLAttributes<HTMLPwaToastElement> {
'duration'?: number;
'message'?: string;
}
interface IntrinsicElements {
'pwa-camera': PwaCamera;
'pwa-camera-modal': PwaCameraModal;
'pwa-camera-modal-instance': PwaCameraModalInstance;
'pwa-toast': PwaToast;
}
}
export { LocalJSX as JSX };
declare module "@stencil/core" {
export namespace JSX {
interface IntrinsicElements extends LocalJSX.IntrinsicElements {}
}
}

@@ -38,3 +38,3 @@ import { FlashMode } from '../../definitions';

cycleFlash(): void;
flashScreen(): Promise<{}>;
flashScreen(): Promise<unknown>;
handleShutterClick(_e: Event): void;

@@ -41,0 +41,0 @@ handleRotateClick(_e: Event): void;

@@ -64,6 +64,9 @@ /**

export interface ComponentInstance {
export interface ComponentInterface {
connectedCallback?: () => void;
disconnectedCallback?: () => void;
componentWillRender?: () => Promise<void> | void;
componentDidRender?: () => void;
/**

@@ -111,20 +114,4 @@ * The component is about to load and it has not

/**
* The component did unload and the element
* will be destroyed.
*/
componentDidUnload?: () => void;
render?: () => any;
/**
* Used to dynamically set host element attributes.
* Should be placed directly above render()
*/
hostData?: () => {
class?: {[className: string]: boolean};
style?: any;
[attrName: string]: any;
};
[memberName: string]: any;

@@ -811,6 +798,5 @@ }

export interface HTMLAttributes<T = HTMLElement> extends DOMAttributes {
export interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
// vdom specific
innerHTML?: string;
ref?: (elm?: T) => void;
key?: string | number;

@@ -830,3 +816,2 @@

lang?: string;
slot?: string;
spellCheck?: boolean;

@@ -883,3 +868,3 @@ spellcheck?: boolean | string;

export interface SVGAttributes extends DOMAttributes {
export interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
// Attributes which also defined in HTMLAttributes

@@ -1149,3 +1134,6 @@ // See comment in SVGDOMPropertyConfig.js

export interface DOMAttributes {
export interface DOMAttributes<T = Element> {
ref?: (elm?: T) => void;
slot?: string;
// Clipboard Events

@@ -1152,0 +1140,0 @@ onCopy?: (event: ClipboardEvent) => void;

module.exports = require('../dist/cjs/loader.cjs.js');
module.exports.applyPolyfills = function() { return Promise.resolve() };
module.exports = require('../dist/cjs/loader.cjs.js');
module.exports.applyPolyfills = function() { return Promise.resolve() };

@@ -7,2 +7,3 @@

syncQueue?: boolean;
jmp?: (c: Function) => any;
raf?: (c: FrameRequestCallback) => number;

@@ -9,0 +10,0 @@ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;

@@ -6,5 +6,7 @@ {

"main": "./index.cjs.js",
"node:main": "./node-main.js",
"jsnext:main": "./index.es2017.mjs",
"es2015": "./index.es2017.mjs",
"es2017": "./index.es2017.mjs"
"es2017": "./index.es2017.mjs",
"unpkg": "./cdn.js"
}
{
"name": "@ionic/pwa-elements",
"version": "1.3.0",
"version": "1.4.0",
"description": "Stencil Component Starter",

@@ -33,3 +33,3 @@ "main": "dist/index.js",

"devDependencies": {
"@stencil/core": "1.0.0-beta.5",
"@stencil/core": "^1.3.2",
"@types/jest": "23.3.14",

@@ -36,0 +36,0 @@ "@types/puppeteer": "1.12.4",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc