pwa-auth 0.0.16 → 1.1.4
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/CHANGELOG.md +76 -4
- package/README.md +133 -84
- package/demo/index.html +118 -0
- package/demo/styles.css +52 -0
- package/images/empty.jpg +0 -0
- package/license +21 -21
- package/npm/THIRD_PARTY_LICENSES.txt +303 -0
- package/npm/pwa-auth.js +306 -0
- package/package.json +51 -39
- package/deploy/store.js +0 -18
- package/deploy/styles-drawer.js +0 -139
- package/deploy/styles-settings.js +0 -57
- package/deploy/styles.js +0 -88
- package/deploy/user-action.js +0 -69
- package/deploy/user-drawer.js +0 -168
- package/deploy/user-functions.js +0 -191
- package/deploy/user-icon.js +0 -106
- package/deploy/user-reducer.js +0 -41
- package/deploy/user-settings.js +0 -427
- package/images/background.svg +0 -23
- package/images/icon-48x48.png +0 -0
- package/images/npm.svg +0 -85
- package/images/npm007.png +0 -0
- package/index.html +0 -111
- package/launch/application-shell.js +0 -95
- package/launch/package-lock.json +0 -3198
- package/launch/package.json +0 -17
- package/manifest.json +0 -44
- package/polymer.json +0 -24
- package/pwa-auth.js +0 -16
- package/src/store.ts +0 -52
- package/src/styles-drawer.ts +0 -143
- package/src/styles-settings.ts +0 -61
- package/src/styles.ts +0 -95
- package/src/user-action.ts +0 -91
- package/src/user-drawer.ts +0 -168
- package/src/user-functions.ts +0 -190
- package/src/user-icon.ts +0 -104
- package/src/user-reducer.ts +0 -91
- package/src/user-settings.ts +0 -421
- package/tsconfig.json +0 -19
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
@license
|
|
3
|
-
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
4
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
5
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
6
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7
|
-
Code distributed by Google as part of the polymer project is also
|
|
8
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
//@ts-check
|
|
12
|
-
import { LitElement, html, css } from 'lit-element';
|
|
13
|
-
import { setPassiveTouchGestures } from '@polymer/polymer/lib/utils/settings';
|
|
14
|
-
// POLYMER ELEMENTS
|
|
15
|
-
import '@polymer/app-layout/app-header-layout/app-header-layout';
|
|
16
|
-
import '@polymer/app-layout/app-header/app-header';
|
|
17
|
-
// ELEMENTS
|
|
18
|
-
import '../pwa-auth';
|
|
19
|
-
class ApplicationShell extends LitElement {
|
|
20
|
-
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
// See https://www.polymer-project.org/2.0/docs/devguide/gesture-events#use-passive-gesture-listeners
|
|
24
|
-
setPassiveTouchGestures(true);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
static get styles() {
|
|
28
|
-
return [
|
|
29
|
-
css`
|
|
30
|
-
:host {
|
|
31
|
-
display: block;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* DISPLAY READY STATE */
|
|
35
|
-
main { display: block; margin: 10px; }
|
|
36
|
-
.page {
|
|
37
|
-
background-color: rgba(255,255,255, 0.9);
|
|
38
|
-
border-radius: 8px;
|
|
39
|
-
max-width: 600px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/* Wide layout: when the viewport width is bigger than 480px, layout changes to a wide layout. */
|
|
43
|
-
@media (min-width: 480px) {
|
|
44
|
-
/** h2 { font-size: 36px; } */
|
|
45
|
-
.main-title { font-size: 1em; }
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
`
|
|
49
|
-
];
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
render() {
|
|
53
|
-
return html`
|
|
54
|
-
|
|
55
|
-
<!-- APPLICATION HEADER LAYOUT -->
|
|
56
|
-
<app-header-layout
|
|
57
|
-
fullbleed>
|
|
58
|
-
|
|
59
|
-
<!-- APPLICATION HEADER -->
|
|
60
|
-
<app-header
|
|
61
|
-
id="head"
|
|
62
|
-
class="main-header"
|
|
63
|
-
slot="header"
|
|
64
|
-
fixed
|
|
65
|
-
condenses>
|
|
66
|
-
|
|
67
|
-
<!-- TITLE / PROJECT PAGE -->
|
|
68
|
-
<a class="main-title">pwa-auth</a>
|
|
69
|
-
|
|
70
|
-
<!-- LOG IN -->
|
|
71
|
-
<user-icon></user-icon>
|
|
72
|
-
|
|
73
|
-
</app-header>
|
|
74
|
-
|
|
75
|
-
<!-- PAGES -->
|
|
76
|
-
<main id="main">
|
|
77
|
-
<user-drawer></user-drawer>
|
|
78
|
-
</main>
|
|
79
|
-
|
|
80
|
-
<!-- FOOTER -->
|
|
81
|
-
<footer>
|
|
82
|
-
<ul>
|
|
83
|
-
<li><h3 class="business">©inmostFire</h3></li>
|
|
84
|
-
<li><p class="slogan">"Innovation"</p></li>
|
|
85
|
-
<li><p><a class="link" href="https://www.jackspublishing.com">about us</a></p></li>
|
|
86
|
-
</ul>
|
|
87
|
-
</footer>
|
|
88
|
-
|
|
89
|
-
</app-header-layout>
|
|
90
|
-
|
|
91
|
-
`;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
window.customElements.define('application-shell', ApplicationShell);
|