@things-factory/operato-codelingua 10.0.0-beta.4 → 10.0.0-beta.43
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-client/entries/public/home.d.ts +21 -0
- package/dist-client/entries/public/home.js +249 -0
- package/dist-client/entries/public/home.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/middlewares/index.d.ts +2 -1
- package/dist-server/middlewares/index.js +1 -1
- package/dist-server/middlewares/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +29 -29
- package/views/public/home.html +0 -3
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import '@material/web/icon/icon.js';
|
|
2
|
+
import '@material/web/button/text-button.js';
|
|
3
|
+
import '@material/web/button/elevated-button.js';
|
|
4
|
+
import { LitElement } from 'lit';
|
|
5
|
+
declare const HomePage_base: (new (...args: any[]) => LitElement) & typeof LitElement;
|
|
6
|
+
export declare class HomePage extends HomePage_base {
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
tagline?: string;
|
|
9
|
+
explanation1?: string;
|
|
10
|
+
explanation2?: string;
|
|
11
|
+
private _applicationMeta?;
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
firstInput: HTMLInputElement;
|
|
14
|
+
firstUpdated(): void;
|
|
15
|
+
get applicationMeta(): {
|
|
16
|
+
icon?: string;
|
|
17
|
+
title?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import '@material/web/icon/icon.js';
|
|
3
|
+
import '@material/web/button/text-button.js';
|
|
4
|
+
import '@material/web/button/elevated-button.js';
|
|
5
|
+
import { css, html, LitElement } from 'lit';
|
|
6
|
+
import { customElement, property, query } from 'lit/decorators.js';
|
|
7
|
+
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
8
|
+
import { i18next, localize } from '@operato/i18n';
|
|
9
|
+
let HomePage = class HomePage extends localize(i18next)(LitElement) {
|
|
10
|
+
static { this.styles = [
|
|
11
|
+
css `
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.signin {
|
|
18
|
+
position: absolute;
|
|
19
|
+
right: 20px;
|
|
20
|
+
top: 10px;
|
|
21
|
+
display: inline-block;
|
|
22
|
+
padding: 12px 24px;
|
|
23
|
+
font-size: 16px;
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
color: var(--md-sys-color-on-tertiary-container);
|
|
26
|
+
background-color: var(--md-sys-color-tertiary-container);
|
|
27
|
+
border: none;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
text-align: center;
|
|
30
|
+
text-decoration: none;
|
|
31
|
+
transition:
|
|
32
|
+
background-color 0.3s,
|
|
33
|
+
transform 0.3s;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.signin:hover {
|
|
37
|
+
color: var(--md-sys-color-tertiary-container);
|
|
38
|
+
background-color: var(--md-sys-color-on-tertiary-container);
|
|
39
|
+
transform: translateY(-2px);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.signin:active {
|
|
43
|
+
color: var(--md-sys-color-on-tertiary-container);
|
|
44
|
+
background-color: var(--md-sys-color-tertiary-container);
|
|
45
|
+
transform: translateY(0);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[message] {
|
|
49
|
+
background-color: var(--md-sys-color-secondary-container);
|
|
50
|
+
padding: 60px 50px 0 50px;
|
|
51
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
52
|
+
text-align: center;
|
|
53
|
+
font-size: 20px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[message] strong {
|
|
57
|
+
display: block;
|
|
58
|
+
font-size: 2.5rem;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[message] img {
|
|
62
|
+
width: 800px;
|
|
63
|
+
max-width: 90%;
|
|
64
|
+
display: block;
|
|
65
|
+
margin: auto;
|
|
66
|
+
margin-top: -15px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[ticket] {
|
|
70
|
+
display: grid;
|
|
71
|
+
grid-template-columns: 96px 1fr;
|
|
72
|
+
width: 450px;
|
|
73
|
+
margin: auto;
|
|
74
|
+
margin-top: -20px;
|
|
75
|
+
margin-bottom: 60px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[brand] {
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
border-radius: 12px;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
background-color: var(--md-sys-color-primary);
|
|
85
|
+
box-shadow: var(--box-shadow);
|
|
86
|
+
border-right: 3px dotted var(--md-sys-color-secondary-container);
|
|
87
|
+
text-align: center;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
[ticket] [content] {
|
|
91
|
+
border-radius: 12px;
|
|
92
|
+
background-color: var(--md-sys-color-tertiary-container);
|
|
93
|
+
padding: var(--spacing-medium) var(--spacing-large);
|
|
94
|
+
box-shadow: var(--box-shadow);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
fieldset {
|
|
98
|
+
border: none;
|
|
99
|
+
margin: 0;
|
|
100
|
+
padding: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
legend {
|
|
104
|
+
margin: 0;
|
|
105
|
+
padding: var(--spacing-small) 0 var(--spacing-medium) 0;
|
|
106
|
+
font-weight: bold;
|
|
107
|
+
color: var(--legend-color);
|
|
108
|
+
text-transform: uppercase;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
input {
|
|
112
|
+
border: var(--md-sys-color-outline);
|
|
113
|
+
border-radius: var(--border-radius);
|
|
114
|
+
padding: var(--spacing-medium);
|
|
115
|
+
font: var(--input-font);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
input[type='text'] {
|
|
119
|
+
min-width: 190px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
input:focus {
|
|
123
|
+
outline: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@media screen and (max-width: 480px) {
|
|
127
|
+
[message] {
|
|
128
|
+
padding: 60px 10px 0 10px;
|
|
129
|
+
text-align: center;
|
|
130
|
+
font-size: 14px;
|
|
131
|
+
}
|
|
132
|
+
[message] strong {
|
|
133
|
+
margin-bottom: 15px;
|
|
134
|
+
font-size: 1.6rem;
|
|
135
|
+
line-height: 1.2em;
|
|
136
|
+
}
|
|
137
|
+
[message] img {
|
|
138
|
+
max-width: 100%;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
legend {
|
|
142
|
+
padding: 0;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
[ticket] {
|
|
146
|
+
display: grid;
|
|
147
|
+
grid-template-columns: 0 1fr;
|
|
148
|
+
width: 90%;
|
|
149
|
+
margin: auto;
|
|
150
|
+
margin-top: -15px;
|
|
151
|
+
margin-bottom: 60px;
|
|
152
|
+
}
|
|
153
|
+
[brand] {
|
|
154
|
+
border: 0;
|
|
155
|
+
}
|
|
156
|
+
[content] {
|
|
157
|
+
border: 1px solid var(--md-sys-color-primary);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
fieldset {
|
|
161
|
+
text-align: center;
|
|
162
|
+
}
|
|
163
|
+
input[type='text'] {
|
|
164
|
+
width: calc(100% - 20px);
|
|
165
|
+
margin: var(--spacing-small) 0 var(--spacing-medium) 0;
|
|
166
|
+
text-align: center;
|
|
167
|
+
}
|
|
168
|
+
fieldset md-text-button {
|
|
169
|
+
width: 100%;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
`
|
|
173
|
+
]; }
|
|
174
|
+
render() {
|
|
175
|
+
var { icon, title } = this.applicationMeta;
|
|
176
|
+
const tagline = this.tagline || `Join the ${title} Business Program`;
|
|
177
|
+
const explanation1 = this.explanation1 || 'Create your free account today.';
|
|
178
|
+
const explanation2 = this.explanation2 || 'Everything you need to go from where you are, to where you want to be.';
|
|
179
|
+
return html `
|
|
180
|
+
<a
|
|
181
|
+
class="signin"
|
|
182
|
+
@click=${e => {
|
|
183
|
+
e.preventDefault();
|
|
184
|
+
window.location.href = '/auth/signin';
|
|
185
|
+
}}
|
|
186
|
+
>
|
|
187
|
+
${i18next.t('button.sign_in')}</a
|
|
188
|
+
>
|
|
189
|
+
|
|
190
|
+
<div message>
|
|
191
|
+
<strong>${tagline}</strong> ${explanation1} <br />
|
|
192
|
+
${explanation2}
|
|
193
|
+
<img src="/assets/images/invitation.png" />
|
|
194
|
+
</div>
|
|
195
|
+
|
|
196
|
+
<div ticket>
|
|
197
|
+
<div brand><img src=${ifDefined(icon)} /></div>
|
|
198
|
+
<div content>
|
|
199
|
+
<form action="/auth/join" accept-charset="utf-8" name="join" method="post">
|
|
200
|
+
<fieldset>
|
|
201
|
+
<legend>${title} invitation ticket</legend>
|
|
202
|
+
<input type="email" name="email" placeholder="Enter your email address" />
|
|
203
|
+
<input type="submit" value="join now" />
|
|
204
|
+
</fieldset>
|
|
205
|
+
</form>
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
`;
|
|
209
|
+
}
|
|
210
|
+
firstUpdated() {
|
|
211
|
+
setTimeout(() => {
|
|
212
|
+
this.firstInput.focus();
|
|
213
|
+
}, 100);
|
|
214
|
+
}
|
|
215
|
+
get applicationMeta() {
|
|
216
|
+
if (!this._applicationMeta) {
|
|
217
|
+
var iconLink = document.querySelector('link[rel="application-icon"]');
|
|
218
|
+
var titleMeta = document.querySelector('meta[name="application-name"]');
|
|
219
|
+
var descriptionMeta = document.querySelector('meta[name="application-description"]');
|
|
220
|
+
this._applicationMeta = {
|
|
221
|
+
icon: iconLink?.href,
|
|
222
|
+
title: titleMeta ? titleMeta.content : 'Things Factory',
|
|
223
|
+
description: descriptionMeta ? descriptionMeta.content : 'Reimagining Software'
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
return this._applicationMeta;
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
__decorate([
|
|
230
|
+
property({ type: String, attribute: true }),
|
|
231
|
+
__metadata("design:type", String)
|
|
232
|
+
], HomePage.prototype, "tagline", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
property({ type: String, attribute: true }),
|
|
235
|
+
__metadata("design:type", String)
|
|
236
|
+
], HomePage.prototype, "explanation1", void 0);
|
|
237
|
+
__decorate([
|
|
238
|
+
property({ type: String, attribute: true }),
|
|
239
|
+
__metadata("design:type", String)
|
|
240
|
+
], HomePage.prototype, "explanation2", void 0);
|
|
241
|
+
__decorate([
|
|
242
|
+
query('input[type=email]'),
|
|
243
|
+
__metadata("design:type", HTMLInputElement)
|
|
244
|
+
], HomePage.prototype, "firstInput", void 0);
|
|
245
|
+
HomePage = __decorate([
|
|
246
|
+
customElement('home-page')
|
|
247
|
+
], HomePage);
|
|
248
|
+
export { HomePage };
|
|
249
|
+
//# sourceMappingURL=home.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"home.js","sourceRoot":"","sources":["../../../client/entries/public/home.ts"],"names":[],"mappings":"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","sourcesContent":["import '@material/web/icon/icon.js'\nimport '@material/web/button/text-button.js'\nimport '@material/web/button/elevated-button.js'\n\nimport { css, html, LitElement } from 'lit'\nimport { customElement, property, query } from 'lit/decorators.js'\nimport { ifDefined } from 'lit/directives/if-defined.js'\n\nimport { i18next, localize } from '@operato/i18n'\n\n@customElement('home-page')\nexport class HomePage extends localize(i18next)(LitElement) {\n static styles = [\n css`\n :host {\n display: block;\n position: relative;\n }\n\n .signin {\n position: absolute;\n right: 20px;\n top: 10px;\n display: inline-block;\n padding: 12px 24px;\n font-size: 16px;\n font-weight: bold;\n color: var(--md-sys-color-on-tertiary-container);\n background-color: var(--md-sys-color-tertiary-container);\n border: none;\n border-radius: 4px;\n text-align: center;\n text-decoration: none;\n transition:\n background-color 0.3s,\n transform 0.3s;\n }\n\n .signin:hover {\n color: var(--md-sys-color-tertiary-container);\n background-color: var(--md-sys-color-on-tertiary-container);\n transform: translateY(-2px);\n }\n\n .signin:active {\n color: var(--md-sys-color-on-tertiary-container);\n background-color: var(--md-sys-color-tertiary-container);\n transform: translateY(0);\n }\n\n [message] {\n background-color: var(--md-sys-color-secondary-container);\n padding: 60px 50px 0 50px;\n color: var(--md-sys-color-on-secondary-container);\n text-align: center;\n font-size: 20px;\n }\n\n [message] strong {\n display: block;\n font-size: 2.5rem;\n }\n\n [message] img {\n width: 800px;\n max-width: 90%;\n display: block;\n margin: auto;\n margin-top: -15px;\n }\n\n [ticket] {\n display: grid;\n grid-template-columns: 96px 1fr;\n width: 450px;\n margin: auto;\n margin-top: -20px;\n margin-bottom: 60px;\n }\n\n [brand] {\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 12px;\n overflow: hidden;\n background-color: var(--md-sys-color-primary);\n box-shadow: var(--box-shadow);\n border-right: 3px dotted var(--md-sys-color-secondary-container);\n text-align: center;\n }\n\n [ticket] [content] {\n border-radius: 12px;\n background-color: var(--md-sys-color-tertiary-container);\n padding: var(--spacing-medium) var(--spacing-large);\n box-shadow: var(--box-shadow);\n }\n\n fieldset {\n border: none;\n margin: 0;\n padding: 0;\n }\n\n legend {\n margin: 0;\n padding: var(--spacing-small) 0 var(--spacing-medium) 0;\n font-weight: bold;\n color: var(--legend-color);\n text-transform: uppercase;\n }\n\n input {\n border: var(--md-sys-color-outline);\n border-radius: var(--border-radius);\n padding: var(--spacing-medium);\n font: var(--input-font);\n }\n\n input[type='text'] {\n min-width: 190px;\n }\n\n input:focus {\n outline: none;\n }\n\n @media screen and (max-width: 480px) {\n [message] {\n padding: 60px 10px 0 10px;\n text-align: center;\n font-size: 14px;\n }\n [message] strong {\n margin-bottom: 15px;\n font-size: 1.6rem;\n line-height: 1.2em;\n }\n [message] img {\n max-width: 100%;\n }\n\n legend {\n padding: 0;\n }\n\n [ticket] {\n display: grid;\n grid-template-columns: 0 1fr;\n width: 90%;\n margin: auto;\n margin-top: -15px;\n margin-bottom: 60px;\n }\n [brand] {\n border: 0;\n }\n [content] {\n border: 1px solid var(--md-sys-color-primary);\n }\n\n fieldset {\n text-align: center;\n }\n input[type='text'] {\n width: calc(100% - 20px);\n margin: var(--spacing-small) 0 var(--spacing-medium) 0;\n text-align: center;\n }\n fieldset md-text-button {\n width: 100%;\n }\n }\n `\n ]\n\n @property({ type: String, attribute: true }) tagline?: string\n @property({ type: String, attribute: true }) explanation1?: string\n @property({ type: String, attribute: true }) explanation2?: string\n\n private _applicationMeta?: { icon?: string; title?: string; description?: string }\n\n render() {\n var { icon, title } = this.applicationMeta\n\n const tagline = this.tagline || `Join the ${title} Business Program`\n const explanation1 = this.explanation1 || 'Create your free account today.'\n const explanation2 = this.explanation2 || 'Everything you need to go from where you are, to where you want to be.'\n\n return html`\n <a\n class=\"signin\"\n @click=${e => {\n e.preventDefault()\n window.location.href = '/auth/signin'\n }}\n >\n ${i18next.t('button.sign_in')}</a\n >\n\n <div message>\n <strong>${tagline}</strong> ${explanation1} <br />\n ${explanation2}\n <img src=\"/assets/images/invitation.png\" />\n </div>\n\n <div ticket>\n <div brand><img src=${ifDefined(icon)} /></div>\n <div content>\n <form action=\"/auth/join\" accept-charset=\"utf-8\" name=\"join\" method=\"post\">\n <fieldset>\n <legend>${title} invitation ticket</legend>\n <input type=\"email\" name=\"email\" placeholder=\"Enter your email address\" />\n <input type=\"submit\" value=\"join now\" />\n </fieldset>\n </form>\n </div>\n </div>\n `\n }\n\n @query('input[type=email]') firstInput!: HTMLInputElement\n\n firstUpdated() {\n setTimeout(() => {\n this.firstInput.focus()\n }, 100)\n }\n\n get applicationMeta() {\n if (!this._applicationMeta) {\n var iconLink: HTMLLinkElement | null = document.querySelector('link[rel=\"application-icon\"]')\n var titleMeta: HTMLMetaElement | null = document.querySelector('meta[name=\"application-name\"]')\n var descriptionMeta: HTMLMetaElement | null = document.querySelector('meta[name=\"application-description\"]')\n\n this._applicationMeta = {\n icon: iconLink?.href,\n title: titleMeta ? titleMeta.content : 'Things Factory',\n description: descriptionMeta ? descriptionMeta.content : 'Reimagining Software'\n }\n }\n\n return this._applicationMeta\n }\n}\n"]}
|