@nymphjs/tilmeld-components 1.0.0-beta.13 → 1.0.0-beta.130

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.
@@ -1,339 +0,0 @@
1
- {#if clientConfig != null && clientConfig.pwRecovery}
2
- <Dialog
3
- use={usePass}
4
- bind:open
5
- aria-labelledby="tilmeld-recovery-title"
6
- aria-describedby="tilmeld-recovery-content"
7
- surface$class="tilmeld-recover-dialog-surface"
8
- {...exclude($$restProps, [
9
- 'recoveryTypePassword$',
10
- 'recoveryTypeUsername$',
11
- 'account$',
12
- 'alreadyGotCodeLink$',
13
- 'codeSentMessage$',
14
- 'recoveryCode$',
15
- 'password$',
16
- 'password2$',
17
- 'needCodeLink$',
18
- 'sendCodeButton$',
19
- 'resetPasswordButton$',
20
- 'progress$',
21
- ])}
22
- >
23
- <!-- Title cannot contain leading whitespace due to mdc-typography-baseline-top() -->
24
- <Title id="tilmeld-recovery-title">{title}</Title>
25
- <Content id="tilmeld-recovery-content">
26
- {#if successRecoveredMessage}
27
- {successRecoveredMessage}
28
- {:else}
29
- {#if !hasSentSecret}
30
- {#if !clientConfig.emailUsernames}
31
- <div>
32
- <FormField style="margin-right: 1em;">
33
- <Radio
34
- bind:group={recoveryType}
35
- value="password"
36
- {...prefixFilter($$restProps, 'recoveryTypePassword$')}
37
- />
38
- <span slot="label">I don't know my password.</span>
39
- </FormField>
40
- <FormField style="margin-right: 1em;">
41
- <Radio
42
- bind:group={recoveryType}
43
- value="username"
44
- {...prefixFilter($$restProps, 'recoveryTypeUsername$')}
45
- />
46
- <span slot="label">I don't know my username.</span>
47
- </FormField>
48
- </div>
49
- {/if}
50
-
51
- <div>
52
- {#if recoveryType === 'password'}
53
- <p>
54
- To reset your password, type the {clientConfig.emailUsernames
55
- ? 'email'
56
- : 'username'}
57
- you use to sign in below.
58
- </p>
59
- {/if}
60
- {#if recoveryType === 'username'}
61
- <p>
62
- To get your username, type your email as you entered it when
63
- creating your account.
64
- </p>
65
- {/if}
66
- </div>
67
-
68
- <div>
69
- <Textfield
70
- bind:this={accountElem}
71
- bind:value={account}
72
- label={clientConfig.emailUsernames || recoveryType === 'username'
73
- ? 'Email Address'
74
- : 'Username'}
75
- type={clientConfig.emailUsernames || recoveryType === 'username'
76
- ? 'email'
77
- : 'text'}
78
- input$autocomplete={clientConfig.emailUsernames ||
79
- recoveryType === 'username'
80
- ? 'email'
81
- : 'username'}
82
- input$autocapitalize="off"
83
- input$spellcheck="false"
84
- {...prefixFilter($$restProps, 'account$')}
85
- />
86
- </div>
87
-
88
- {#if recoveryType === 'password'}
89
- <div class="tilmeld-recover-action">
90
- <a
91
- href="javascript:void(0);"
92
- on:click={() => (hasSentSecret = 1)}
93
- {...prefixFilter($$restProps, 'alreadyGotCodeLink$')}
94
- >
95
- Already Got a Code?
96
- </a>
97
- </div>
98
- {/if}
99
- {:else}
100
- <div>
101
- <p {...prefixFilter($$restProps, 'codeSentMessage$')}>
102
- A code has been sent to you by email. Enter that code here, and a
103
- new password for your account.
104
- </p>
105
- </div>
106
-
107
- {#if hasSentSecret === 1}
108
- <div>
109
- <Textfield
110
- bind:this={accountElem}
111
- bind:value={account}
112
- label={clientConfig.emailUsernames
113
- ? 'Email Address'
114
- : 'Username'}
115
- type={clientConfig.emailUsernames ? 'email' : 'text'}
116
- input$autocomplete={clientConfig.emailUsernames
117
- ? 'email'
118
- : 'username'}
119
- input$autocapitalize="off"
120
- input$spellcheck="false"
121
- {...prefixFilter($$restProps, 'account$')}
122
- />
123
- </div>
124
- {/if}
125
-
126
- <div>
127
- <Textfield
128
- bind:value={secret}
129
- label="Recovery Code"
130
- type="text"
131
- input$autocomplete="one-time-code"
132
- {...prefixFilter($$restProps, 'recoveryCode$')}
133
- />
134
- </div>
135
-
136
- <div>
137
- <Textfield
138
- bind:value={password}
139
- label="Password"
140
- type="password"
141
- input$autocomplete="new-password"
142
- {...prefixFilter($$restProps, 'password$')}
143
- />
144
- </div>
145
-
146
- <div>
147
- <Textfield
148
- bind:value={password2}
149
- label="Re-enter Password"
150
- type="password"
151
- input$autocomplete="new-password"
152
- {...prefixFilter($$restProps, 'password2$')}
153
- />
154
- </div>
155
-
156
- <div class="tilmeld-recover-action">
157
- <a
158
- href="javascript:void(0);"
159
- on:click={() => (hasSentSecret = false)}
160
- {...prefixFilter($$restProps, 'needCodeLink$')}
161
- >
162
- Need a New Code?
163
- </a>
164
- </div>
165
- {/if}
166
-
167
- {#if failureMessage}
168
- <div class="tilmeld-recover-failure">
169
- {failureMessage}
170
- </div>
171
- {/if}
172
-
173
- {#if recovering}
174
- <div class="tilmeld-recover-loading">
175
- <CircularProgress
176
- style="height: 24px; width: 24px;"
177
- indeterminate
178
- {...prefixFilter($$restProps, 'progress$')}
179
- />
180
- </div>
181
- {/if}
182
- {/if}
183
- </Content>
184
- <Actions>
185
- <Button on:click={() => (open = false)} disabled={recovering}>
186
- <Label>{successRecoveredMessage ? 'Close' : 'Cancel'}</Label>
187
- </Button>
188
- {#if !successRecoveredMessage}
189
- {#if !hasSentSecret}
190
- <Button
191
- on:click$preventDefault$stopPropagation={sendRecovery}
192
- disabled={recovering}
193
- {...prefixFilter($$restProps, 'sendCodeButton$')}
194
- >
195
- <Label>Send Recovery</Label>
196
- </Button>
197
- {:else}
198
- <Button
199
- on:click$preventDefault$stopPropagation={recover}
200
- disabled={recovering}
201
- {...prefixFilter($$restProps, 'resetPasswordButton$')}
202
- >
203
- <Label>Reset Password</Label>
204
- </Button>
205
- {/if}
206
- {/if}
207
- </Actions>
208
- </Dialog>
209
- {/if}
210
-
211
- <script>import { onMount } from 'svelte';
212
- import { get_current_component } from 'svelte/internal';
213
- import CircularProgress from '@smui/circular-progress';
214
- import Dialog, { Title, Content, Actions } from '@smui/dialog';
215
- import Textfield from '@smui/textfield';
216
- import Button, { Label } from '@smui/button';
217
- import FormField from '@smui/form-field';
218
- import Radio from '@smui/radio';
219
- import { forwardEventsBuilder, exclude, prefixFilter, } from '@smui/common/internal';
220
- const forwardEvents = forwardEventsBuilder(get_current_component());
221
- export let use = [];
222
- $: usePass = [forwardEvents, ...use];
223
- export let open = false;
224
- export let title = 'Recover Your Account';
225
- export let clientConfig = undefined;
226
- export let User;
227
- export let autofocus = true;
228
- export let recoveryType = 'password';
229
- export let account = '';
230
- export let secret = '';
231
- export let password = '';
232
- export let password2 = '';
233
- let recovering = false;
234
- let hasSentSecret = false;
235
- let accountElem;
236
- let failureMessage = undefined;
237
- let successRecoveredMessage = undefined;
238
- $: {
239
- if (open && autofocus && accountElem) {
240
- accountElem.focus();
241
- }
242
- }
243
- onMount(async () => {
244
- if (clientConfig === undefined) {
245
- clientConfig = await User.getClientConfig();
246
- }
247
- });
248
- async function sendRecovery() {
249
- if (account === '') {
250
- failureMessage =
251
- 'You need to enter ' +
252
- (clientConfig?.emailUsernames || recoveryType === 'username'
253
- ? 'an email address'
254
- : 'a username') +
255
- '.';
256
- return;
257
- }
258
- failureMessage = undefined;
259
- recovering = true;
260
- try {
261
- const data = await User.sendRecovery({
262
- recoveryType,
263
- account,
264
- });
265
- if (!data.result) {
266
- failureMessage = data.message;
267
- }
268
- else {
269
- if (recoveryType === 'username') {
270
- successRecoveredMessage = data.message;
271
- }
272
- else if (recoveryType === 'password') {
273
- hasSentSecret = true;
274
- }
275
- }
276
- }
277
- catch (e) {
278
- failureMessage = e?.message;
279
- }
280
- recovering = false;
281
- }
282
- async function recover() {
283
- if (account === '') {
284
- failureMessage =
285
- 'You need to enter ' +
286
- (clientConfig?.emailUsernames || recoveryType === 'username'
287
- ? 'an email address'
288
- : 'a username') +
289
- '.';
290
- return;
291
- }
292
- if (password !== password2) {
293
- failureMessage = 'Your passwords do not match.';
294
- return;
295
- }
296
- if (password === '') {
297
- failureMessage = 'You need to enter a password.';
298
- return;
299
- }
300
- failureMessage = undefined;
301
- recovering = true;
302
- try {
303
- const data = await User.recover({
304
- username: account,
305
- secret,
306
- password,
307
- });
308
- if (!data.result) {
309
- failureMessage = data.message;
310
- }
311
- else {
312
- successRecoveredMessage = data.message;
313
- }
314
- }
315
- catch (e) {
316
- failureMessage = e?.message;
317
- }
318
- recovering = false;
319
- }
320
- </script>
321
-
322
- <style>
323
- :global(.mdc-dialog .mdc-dialog__surface.tilmeld-recover-dialog-surface) {
324
- width: 540px;
325
- max-width: calc(100vw - 32px);
326
- }
327
- .tilmeld-recover-action {
328
- margin-top: 1em;
329
- }
330
- .tilmeld-recover-failure {
331
- margin-top: 1em;
332
- color: var(--mdc-theme-error, #f00);
333
- }
334
- .tilmeld-recover-loading {
335
- display: flex;
336
- justify-content: center;
337
- align-items: center;
338
- }
339
- </style>
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AAAA,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU;AACpD,EAAE,CAAC;AACH,IAAI,GAAG,CAAC,CAAC,OAAO;AAChB,IAAI,IAAI,CAAC;AACT,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK;AAC3C,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO;AAC9C,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO;AACjD,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AAC7B,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAC7B,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAC7B,MAAM,CAAC,OAAO,CAAC,CAAC;AAChB,MAAM,CAAC,kBAAkB,CAAC,CAAC;AAC3B,MAAM,CAAC,eAAe,CAAC,CAAC;AACxB,MAAM,CAAC,YAAY,CAAC,CAAC;AACrB,MAAM,CAAC,QAAQ,CAAC,CAAC;AACjB,MAAM,CAAC,SAAS,CAAC,CAAC;AAClB,MAAM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,CAAC,OAAO,CAAC;AAC3B,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG;AACnB,IAAI,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;AACvC,EAAE;AACF,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC;AAC3B,IAAI,OAAO,CAAC,CAAC,IAAI;AACjB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM;AAC3B,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM;AACvB,EAAE;AACF,CAAC,CAAC,KAAK;","names":[],"sources":["Recover.svelte"]}
package/lib/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import Account from './Account.svelte';
2
- import ChangePassword from './ChangePassword.svelte';
3
- import Login from './Login.svelte';
4
- import Recover from './Recover.svelte';
5
- export { Account, ChangePassword, Login, Recover };
package/lib/index.js DELETED
@@ -1,6 +0,0 @@
1
- import Account from './Account.svelte';
2
- import ChangePassword from './ChangePassword.svelte';
3
- import Login from './Login.svelte';
4
- import Recover from './Recover.svelte';
5
- export { Account, ChangePassword, Login, Recover };
6
- //# sourceMappingURL=index.js.map
@@ -1,35 +0,0 @@
1
- const path = require('path');
2
- const sveltePreprocess = require('svelte-preprocess');
3
-
4
- module.exports = {
5
- mode: 'production',
6
- devtool: 'source-map',
7
- entry: {
8
- TilmeldComponents: './src/index.ts',
9
- },
10
- output: {
11
- path: path.resolve(__dirname, 'dist'),
12
- filename: 'index.cjs',
13
- },
14
- resolve: {
15
- extensions: ['.mjs', '.js', '.ts', '.svelte'],
16
- mainFields: ['svelte', 'browser', 'module', 'main'],
17
- },
18
- module: {
19
- rules: [
20
- {
21
- test: /\.svelte$/,
22
- use: {
23
- loader: 'svelte-loader',
24
- options: {
25
- preprocess: sveltePreprocess(),
26
- },
27
- },
28
- },
29
- {
30
- test: /\.ts$/,
31
- loader: 'ts-loader',
32
- },
33
- ],
34
- },
35
- };