@3mo/code-field 0.1.0
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/FieldCode.d.ts +65 -0
- package/dist/FieldCode.d.ts.map +1 -0
- package/dist/FieldCode.js +248 -0
- package/dist/custom-elements.json +456 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +35 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { FieldComponent } from '@3mo/field';
|
|
2
|
+
import { SegmentedDisplayController } from '@3mo/segmented-input';
|
|
3
|
+
export type FieldCodeType = 'numeric' | 'alphanumeric' | 'alphabetic';
|
|
4
|
+
/**
|
|
5
|
+
* A short code entered one character per cell — a verification code, a one-time password, a PIN.
|
|
6
|
+
*
|
|
7
|
+
* The cells are a drawing: the value lives in one real input behind them, which is what lets a phone
|
|
8
|
+
* offer the code it has just received, a password manager fill an authenticator code, and a pasted
|
|
9
|
+
* code land in one go. A screen reader is handed that one input, named by the field's label, rather
|
|
10
|
+
* than as many controls as there are characters.
|
|
11
|
+
*
|
|
12
|
+
* `input` follows every character. `change` reports the code once it settles, which for a value of a
|
|
13
|
+
* known length is the moment its last character lands rather than the moment the field is left.
|
|
14
|
+
*
|
|
15
|
+
* @element mo-field-code
|
|
16
|
+
*
|
|
17
|
+
* @attr value - The characters entered so far
|
|
18
|
+
* @attr length - How many characters the code has. Defaults to six.
|
|
19
|
+
* @attr type - What the code is made of: "numeric" (default), "alphanumeric" or "alphabetic"
|
|
20
|
+
* @attr pattern - A regular expression a character must match, in place of `type`
|
|
21
|
+
* @attr separators - The positions a separator follows, e.g. "2" for "123-456"
|
|
22
|
+
* @attr separator - The separator itself
|
|
23
|
+
* @attr mask - Shown in place of every entered character, e.g. "•" for a PIN
|
|
24
|
+
* @attr autoComplete - Defaults to "one-time-code". Set "off" for a code no phone should offer.
|
|
25
|
+
*
|
|
26
|
+
* @csspart label - The field's label
|
|
27
|
+
* @csspart group - The row of cells
|
|
28
|
+
* @csspart input - The input holding the value
|
|
29
|
+
* @csspart cell - One character's cell
|
|
30
|
+
* @csspart separator - A separator between two cells
|
|
31
|
+
*
|
|
32
|
+
* @i18n "Code"
|
|
33
|
+
*/
|
|
34
|
+
export declare class FieldCode extends FieldComponent<string> {
|
|
35
|
+
label: string;
|
|
36
|
+
value?: string;
|
|
37
|
+
length: number;
|
|
38
|
+
type: FieldCodeType;
|
|
39
|
+
pattern?: string;
|
|
40
|
+
separators?: Array<number>;
|
|
41
|
+
separator?: string;
|
|
42
|
+
mask?: string;
|
|
43
|
+
autoComplete?: string;
|
|
44
|
+
readonly display: SegmentedDisplayController<this>;
|
|
45
|
+
/** Completing the code and then leaving it settle the same value; only the first of them is a change. */
|
|
46
|
+
private handleSettledValue;
|
|
47
|
+
private accepts;
|
|
48
|
+
/** What the cells draw: the code being typed, or else the committed one. */
|
|
49
|
+
private get code();
|
|
50
|
+
get isPopulated(): boolean;
|
|
51
|
+
focus(): void;
|
|
52
|
+
private customValidity;
|
|
53
|
+
setCustomValidity(error: string): void;
|
|
54
|
+
checkValidity(): Promise<boolean>;
|
|
55
|
+
reportValidity(): void;
|
|
56
|
+
static get styles(): import("@a11d/lit").CSSResult;
|
|
57
|
+
protected get template(): import("lit-html").HTMLTemplateResult;
|
|
58
|
+
protected get inputTemplate(): import("lit-html").HTMLTemplateResult;
|
|
59
|
+
}
|
|
60
|
+
declare global {
|
|
61
|
+
interface HTMLElementTagNameMap {
|
|
62
|
+
'mo-field-code': FieldCode;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=FieldCode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldCode.d.ts","sourceRoot":"","sources":["../FieldCode.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAMjE,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,cAAc,GAAG,YAAY,CAAA;AAQrE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBACa,SAAU,SAAQ,cAAc,CAAC,MAAM,CAAC;IAC/B,KAAK,SAAY;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACE,MAAM,SAAI;IAC1B,IAAI,EAAE,aAAa,CAAY;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IACD,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACzC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IAEjC,QAAQ,CAAC,OAAO,mCAgBb;IAEH,yGAAyG;IACzG,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,OAAO;IAKf,4EAA4E;IAC5E,OAAO,KAAK,IAAI,GAEf;IAED,IAAa,WAAW,YAEvB;IAEQ,KAAK;IAId,OAAO,CAAC,cAAc,CAAK;IAElB,iBAAiB,CAAC,KAAK,EAAE,MAAM;IAIzB,aAAa;IAKnB,cAAc;IAIvB,WAAoB,MAAM,kCAmGzB;IAED,cAAuB,QAAQ,0CAO9B;IAED,cAAuB,aAAa,0CASnC;CACD;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,eAAe,EAAE,SAAS,CAAA;KAC1B;CACD"}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { component, css, html, property } from '@a11d/lit';
|
|
3
|
+
import { FieldComponent } from '@3mo/field';
|
|
4
|
+
import { Localizer } from '@3mo/localization';
|
|
5
|
+
import { SegmentedDisplayController } from '@3mo/segmented-input';
|
|
6
|
+
Localizer.dictionaries.add('de', {
|
|
7
|
+
'Code': 'Code',
|
|
8
|
+
});
|
|
9
|
+
const patternsByType = {
|
|
10
|
+
numeric: /\d/u,
|
|
11
|
+
alphanumeric: /[\p{L}\d]/u,
|
|
12
|
+
alphabetic: /\p{L}/u,
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* A short code entered one character per cell — a verification code, a one-time password, a PIN.
|
|
16
|
+
*
|
|
17
|
+
* The cells are a drawing: the value lives in one real input behind them, which is what lets a phone
|
|
18
|
+
* offer the code it has just received, a password manager fill an authenticator code, and a pasted
|
|
19
|
+
* code land in one go. A screen reader is handed that one input, named by the field's label, rather
|
|
20
|
+
* than as many controls as there are characters.
|
|
21
|
+
*
|
|
22
|
+
* `input` follows every character. `change` reports the code once it settles, which for a value of a
|
|
23
|
+
* known length is the moment its last character lands rather than the moment the field is left.
|
|
24
|
+
*
|
|
25
|
+
* @element mo-field-code
|
|
26
|
+
*
|
|
27
|
+
* @attr value - The characters entered so far
|
|
28
|
+
* @attr length - How many characters the code has. Defaults to six.
|
|
29
|
+
* @attr type - What the code is made of: "numeric" (default), "alphanumeric" or "alphabetic"
|
|
30
|
+
* @attr pattern - A regular expression a character must match, in place of `type`
|
|
31
|
+
* @attr separators - The positions a separator follows, e.g. "2" for "123-456"
|
|
32
|
+
* @attr separator - The separator itself
|
|
33
|
+
* @attr mask - Shown in place of every entered character, e.g. "•" for a PIN
|
|
34
|
+
* @attr autoComplete - Defaults to "one-time-code". Set "off" for a code no phone should offer.
|
|
35
|
+
*
|
|
36
|
+
* @csspart label - The field's label
|
|
37
|
+
* @csspart group - The row of cells
|
|
38
|
+
* @csspart input - The input holding the value
|
|
39
|
+
* @csspart cell - One character's cell
|
|
40
|
+
* @csspart separator - A separator between two cells
|
|
41
|
+
*
|
|
42
|
+
* @i18n "Code"
|
|
43
|
+
*/
|
|
44
|
+
let FieldCode = class FieldCode extends FieldComponent {
|
|
45
|
+
constructor() {
|
|
46
|
+
super(...arguments);
|
|
47
|
+
this.label = t('Code');
|
|
48
|
+
this.length = 6;
|
|
49
|
+
this.type = 'numeric';
|
|
50
|
+
this.display = new SegmentedDisplayController(this, host => ({
|
|
51
|
+
get value() { return host.code; },
|
|
52
|
+
get length() { return host.length; },
|
|
53
|
+
get label() { return host._label; },
|
|
54
|
+
get mask() { return host.mask; },
|
|
55
|
+
get separators() { return host.separators; },
|
|
56
|
+
get separator() { return host.separator; },
|
|
57
|
+
get autocomplete() { return host.autoComplete; },
|
|
58
|
+
get inputMode() { return host.type === 'numeric' ? 'numeric' : 'text'; },
|
|
59
|
+
get disabled() { return host.disabled; },
|
|
60
|
+
get readonly() { return host.readonly; },
|
|
61
|
+
get required() { return host.required; },
|
|
62
|
+
get invalid() { return host.invalid; },
|
|
63
|
+
accept: character => host.accepts(character) ? character : undefined,
|
|
64
|
+
handleInput: value => host.handleInput(value),
|
|
65
|
+
handleChange: value => host.handleSettledValue(value),
|
|
66
|
+
}));
|
|
67
|
+
this.customValidity = '';
|
|
68
|
+
}
|
|
69
|
+
/** Completing the code and then leaving it settle the same value; only the first of them is a change. */
|
|
70
|
+
handleSettledValue(value) {
|
|
71
|
+
if (value !== this.value) {
|
|
72
|
+
this.handleChange(value);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
accepts(character) {
|
|
76
|
+
const pattern = this.pattern ? new RegExp(this.pattern, 'u') : patternsByType[this.type];
|
|
77
|
+
return pattern.test(character);
|
|
78
|
+
}
|
|
79
|
+
/** What the cells draw: the code being typed, or else the committed one. */
|
|
80
|
+
get code() {
|
|
81
|
+
return this.inputValue ?? this.value ?? '';
|
|
82
|
+
}
|
|
83
|
+
get isPopulated() {
|
|
84
|
+
return !!this.code;
|
|
85
|
+
}
|
|
86
|
+
focus() {
|
|
87
|
+
this.display.focus();
|
|
88
|
+
}
|
|
89
|
+
setCustomValidity(error) {
|
|
90
|
+
this.customValidity = error;
|
|
91
|
+
}
|
|
92
|
+
async checkValidity() {
|
|
93
|
+
await this.updateComplete;
|
|
94
|
+
return !this.customValidity && (!this.required || this.code.length === this.length);
|
|
95
|
+
}
|
|
96
|
+
reportValidity() {
|
|
97
|
+
this.focus();
|
|
98
|
+
}
|
|
99
|
+
static get styles() {
|
|
100
|
+
return css `
|
|
101
|
+
:host {
|
|
102
|
+
display: inline-flex;
|
|
103
|
+
flex-direction: column;
|
|
104
|
+
gap: 0.375rem;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[part=label] {
|
|
108
|
+
color: var(--mo-color-gray);
|
|
109
|
+
font-size: 0.875rem;
|
|
110
|
+
user-select: none;
|
|
111
|
+
|
|
112
|
+
&[data-invalid] {
|
|
113
|
+
color: var(--mo-color-red);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&[data-disabled] {
|
|
117
|
+
opacity: 0.5;
|
|
118
|
+
pointer-events: none;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[part=group] {
|
|
123
|
+
position: relative;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
gap: var(--mo-field-code-gap, 0.5rem);
|
|
127
|
+
|
|
128
|
+
&[data-disabled] {
|
|
129
|
+
opacity: 0.5;
|
|
130
|
+
pointer-events: none;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* The input covers the cells so that every native gesture — caret, selection, paste, the
|
|
135
|
+
long-press menu — still lands on it, while what is seen is drawn behind. It stays visible
|
|
136
|
+
and merely colorless: a hidden input is not offered a code by the operating system. Its
|
|
137
|
+
selection is colorless too, or a selected code would show through the cells, which mark
|
|
138
|
+
the selected range themselves. */
|
|
139
|
+
[part=input] {
|
|
140
|
+
position: absolute;
|
|
141
|
+
inset: 0;
|
|
142
|
+
width: 100%;
|
|
143
|
+
height: 100%;
|
|
144
|
+
margin: 0;
|
|
145
|
+
padding: 0;
|
|
146
|
+
border: none;
|
|
147
|
+
outline: none;
|
|
148
|
+
background: transparent;
|
|
149
|
+
color: transparent;
|
|
150
|
+
caret-color: transparent;
|
|
151
|
+
font: inherit;
|
|
152
|
+
text-align: center;
|
|
153
|
+
letter-spacing: 1em;
|
|
154
|
+
|
|
155
|
+
&::selection {
|
|
156
|
+
background: transparent;
|
|
157
|
+
color: transparent;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:disabled {
|
|
161
|
+
cursor: not-allowed;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
[part=cell] {
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
display: flex;
|
|
168
|
+
align-items: center;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
width: var(--mo-field-code-cell-width, 2.75rem);
|
|
171
|
+
height: var(--mo-field-code-cell-height, 3.25rem);
|
|
172
|
+
border: 1px solid var(--mo-color-gray-transparent);
|
|
173
|
+
border-radius: var(--mo-border-radius);
|
|
174
|
+
background: var(--mo-field-background, transparent);
|
|
175
|
+
font-size: 1.5rem;
|
|
176
|
+
user-select: none;
|
|
177
|
+
transition: border-color 0.15s, box-shadow 0.15s;
|
|
178
|
+
|
|
179
|
+
&[data-placeholder] {
|
|
180
|
+
color: var(--mo-color-gray-transparent);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&[data-active] {
|
|
184
|
+
border-color: var(--mo-color-accent);
|
|
185
|
+
box-shadow: 0 0 0 1px var(--mo-color-accent);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&[data-invalid] {
|
|
189
|
+
border-color: var(--mo-color-red);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
[part=separator] {
|
|
194
|
+
color: var(--mo-color-gray-transparent);
|
|
195
|
+
user-select: none;
|
|
196
|
+
}
|
|
197
|
+
`;
|
|
198
|
+
}
|
|
199
|
+
get template() {
|
|
200
|
+
return html `
|
|
201
|
+
${!this._label ? html.nothing : html `
|
|
202
|
+
<span part='label' ?data-invalid=${this.invalid} ?data-disabled=${this.disabled} @click=${() => this.focus()}>${this._label}${this.required ? ' *' : ''}</span>
|
|
203
|
+
`}
|
|
204
|
+
${this.inputTemplate}
|
|
205
|
+
`;
|
|
206
|
+
}
|
|
207
|
+
get inputTemplate() {
|
|
208
|
+
return html `
|
|
209
|
+
<div part='group' ?data-disabled=${this.disabled} ${this.display.group.ref()}>
|
|
210
|
+
<input part='input' ${this.display.input.ref()}>
|
|
211
|
+
${this.display.segments.map(segment => html `
|
|
212
|
+
<span part=${segment.editable ? 'cell' : 'separator'} ?data-invalid=${segment.editable && this.invalid} ${this.display.segment.ref(segment)}></span>
|
|
213
|
+
`)}
|
|
214
|
+
</div>
|
|
215
|
+
`;
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
__decorate([
|
|
219
|
+
property()
|
|
220
|
+
], FieldCode.prototype, "label", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
property()
|
|
223
|
+
], FieldCode.prototype, "value", void 0);
|
|
224
|
+
__decorate([
|
|
225
|
+
property({ type: Number })
|
|
226
|
+
], FieldCode.prototype, "length", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
property()
|
|
229
|
+
], FieldCode.prototype, "type", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
property()
|
|
232
|
+
], FieldCode.prototype, "pattern", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
property({ type: Array })
|
|
235
|
+
], FieldCode.prototype, "separators", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
property()
|
|
238
|
+
], FieldCode.prototype, "separator", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
property()
|
|
241
|
+
], FieldCode.prototype, "mask", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
property()
|
|
244
|
+
], FieldCode.prototype, "autoComplete", void 0);
|
|
245
|
+
FieldCode = __decorate([
|
|
246
|
+
component('mo-field-code')
|
|
247
|
+
], FieldCode);
|
|
248
|
+
export { FieldCode };
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "experimental",
|
|
3
|
+
"tags": [
|
|
4
|
+
{
|
|
5
|
+
"name": "mo-field-code",
|
|
6
|
+
"path": ".\\packages\\CodeField\\FieldCode.ts",
|
|
7
|
+
"description": "A short code entered one character per cell — a verification code, a one-time password, a PIN.\n\nThe cells are a drawing: the value lives in one real input behind them, which is what lets a phone\noffer the code it has just received, a password manager fill an authenticator code, and a pasted\ncode land in one go. A screen reader is handed that one input, named by the field's label, rather\nthan as many controls as there are characters.\n\n`input` follows every character. `change` reports the code once it settles, which for a value of a\nknown length is the moment its last character lands rather than the moment the field is left.",
|
|
8
|
+
"attributes": [
|
|
9
|
+
{
|
|
10
|
+
"name": "length",
|
|
11
|
+
"description": "How many characters the code has. Defaults to six.",
|
|
12
|
+
"type": "number",
|
|
13
|
+
"default": "6"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "type",
|
|
17
|
+
"description": "What the code is made of: \"numeric\" (default), \"alphanumeric\" or \"alphabetic\"",
|
|
18
|
+
"type": "FieldCodeType",
|
|
19
|
+
"default": "\"numeric\""
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "pattern",
|
|
23
|
+
"description": "A regular expression a character must match, in place of `type`",
|
|
24
|
+
"type": "string | undefined"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "separators",
|
|
28
|
+
"description": "The positions a separator follows, e.g. \"2\" for \"123-456\"",
|
|
29
|
+
"type": "number[] | undefined"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "separator",
|
|
33
|
+
"description": "The separator itself",
|
|
34
|
+
"type": "string | undefined"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "mask",
|
|
38
|
+
"description": "Shown in place of every entered character, e.g. \"•\" for a PIN",
|
|
39
|
+
"type": "string | undefined"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "autoComplete",
|
|
43
|
+
"description": "Defaults to \"one-time-code\". Set \"off\" for a code no phone should offer.",
|
|
44
|
+
"type": "string | undefined"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "value",
|
|
48
|
+
"description": "The characters entered so far",
|
|
49
|
+
"type": "string | undefined"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "label",
|
|
53
|
+
"description": "The field's label",
|
|
54
|
+
"type": "string",
|
|
55
|
+
"default": "\"t('Code')\""
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "readonly",
|
|
59
|
+
"description": "Whether the field is readonly",
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"default": "false"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "disabled",
|
|
65
|
+
"description": "Whether the field is disabled",
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"default": "false"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "required",
|
|
71
|
+
"description": "Whether the field is required",
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"default": "false"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"properties": [
|
|
77
|
+
{
|
|
78
|
+
"name": "display",
|
|
79
|
+
"type": "SegmentedDisplayController<this>",
|
|
80
|
+
"default": "\"new SegmentedDisplayController(this, host => ({\\n\\t\\tget value() { return host.code },\\n\\t\\tget length() { return host.length },\\n\\t\\tget label() { return host._label },\\n\\t\\tget mask() { return host.mask },\\n\\t\\tget separators() { return host.separators },\\n\\t\\tget separator() { return host.separator },\\n\\t\\tget autocomplete() { return host.autoComplete },\\n\\t\\tget inputMode() { return host.type === 'numeric' ? 'numeric' : 'text' },\\n\\t\\tget disabled() { return host.disabled },\\n\\t\\tget readonly() { return host.readonly },\\n\\t\\tget required() { return host.required },\\n\\t\\tget invalid() { return host.invalid },\\n\\t\\taccept: character => host.accepts(character) ? character : undefined,\\n\\t\\thandleInput: value => host.handleInput(value),\\n\\t\\thandleChange: value => host.handleSettledValue(value),\\n\\t}))\""
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "length",
|
|
84
|
+
"attribute": "length",
|
|
85
|
+
"description": "How many characters the code has. Defaults to six.",
|
|
86
|
+
"type": "number",
|
|
87
|
+
"default": "6"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "type",
|
|
91
|
+
"attribute": "type",
|
|
92
|
+
"description": "What the code is made of: \"numeric\" (default), \"alphanumeric\" or \"alphabetic\"",
|
|
93
|
+
"type": "FieldCodeType",
|
|
94
|
+
"default": "\"numeric\""
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "pattern",
|
|
98
|
+
"attribute": "pattern",
|
|
99
|
+
"description": "A regular expression a character must match, in place of `type`",
|
|
100
|
+
"type": "string | undefined"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "separators",
|
|
104
|
+
"attribute": "separators",
|
|
105
|
+
"description": "The positions a separator follows, e.g. \"2\" for \"123-456\"",
|
|
106
|
+
"type": "number[] | undefined"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "separator",
|
|
110
|
+
"attribute": "separator",
|
|
111
|
+
"description": "The separator itself",
|
|
112
|
+
"type": "string | undefined"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "mask",
|
|
116
|
+
"attribute": "mask",
|
|
117
|
+
"description": "Shown in place of every entered character, e.g. \"•\" for a PIN",
|
|
118
|
+
"type": "string | undefined"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "autoComplete",
|
|
122
|
+
"attribute": "autoComplete",
|
|
123
|
+
"description": "Defaults to \"one-time-code\". Set \"off\" for a code no phone should offer.",
|
|
124
|
+
"type": "string | undefined"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "change",
|
|
128
|
+
"type": "EventDispatcher<T | undefined>"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "input",
|
|
132
|
+
"type": "EventDispatcher<T | undefined>"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "validityChange",
|
|
136
|
+
"type": "EventDispatcher<boolean>"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "isPopulated",
|
|
140
|
+
"type": "boolean"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "value",
|
|
144
|
+
"attribute": "value",
|
|
145
|
+
"description": "The characters entered so far",
|
|
146
|
+
"type": "string | undefined"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "label",
|
|
150
|
+
"attribute": "label",
|
|
151
|
+
"description": "The field's label",
|
|
152
|
+
"type": "string",
|
|
153
|
+
"default": "\"t('Code')\""
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "readonly",
|
|
157
|
+
"attribute": "readonly",
|
|
158
|
+
"description": "Whether the field is readonly",
|
|
159
|
+
"type": "boolean",
|
|
160
|
+
"default": "false"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "disabled",
|
|
164
|
+
"attribute": "disabled",
|
|
165
|
+
"description": "Whether the field is disabled",
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"default": "false"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "required",
|
|
171
|
+
"attribute": "required",
|
|
172
|
+
"description": "Whether the field is required",
|
|
173
|
+
"type": "boolean",
|
|
174
|
+
"default": "false"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"events": [
|
|
178
|
+
{
|
|
179
|
+
"name": "change",
|
|
180
|
+
"type": "CustomEvent<T | undefined>"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "input",
|
|
184
|
+
"type": "CustomEvent<T | undefined>"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "validityChange",
|
|
188
|
+
"type": "CustomEvent<boolean>"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"slots": [
|
|
192
|
+
{
|
|
193
|
+
"name": "",
|
|
194
|
+
"description": "The field's content"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "start",
|
|
198
|
+
"description": "Content to be placed at the start of the field"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "end",
|
|
202
|
+
"description": "Content to be placed at the end of the field"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"cssParts": [
|
|
206
|
+
{
|
|
207
|
+
"name": "label",
|
|
208
|
+
"description": "The field's label"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "group",
|
|
212
|
+
"description": "The row of cells"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "input",
|
|
216
|
+
"description": "The input holding the value"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "cell",
|
|
220
|
+
"description": "One character's cell"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "separator",
|
|
224
|
+
"description": "A separator between two cells"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "container",
|
|
228
|
+
"description": "Field's container"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "mo-field-code",
|
|
234
|
+
"path": ".\\packages\\CodeField\\dist\\FieldCode.d.ts",
|
|
235
|
+
"description": "A short code entered one character per cell — a verification code, a one-time password, a PIN.\n\nThe cells are a drawing: the value lives in one real input behind them, which is what lets a phone\noffer the code it has just received, a password manager fill an authenticator code, and a pasted\ncode land in one go. A screen reader is handed that one input, named by the field's label, rather\nthan as many controls as there are characters.\n\n`input` follows every character. `change` reports the code once it settles, which for a value of a\nknown length is the moment its last character lands rather than the moment the field is left.",
|
|
236
|
+
"attributes": [
|
|
237
|
+
{
|
|
238
|
+
"name": "length",
|
|
239
|
+
"description": "How many characters the code has. Defaults to six.",
|
|
240
|
+
"type": "number"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "type",
|
|
244
|
+
"description": "What the code is made of: \"numeric\" (default), \"alphanumeric\" or \"alphabetic\"",
|
|
245
|
+
"type": "FieldCodeType"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "pattern",
|
|
249
|
+
"description": "A regular expression a character must match, in place of `type`",
|
|
250
|
+
"type": "string | undefined"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "separators",
|
|
254
|
+
"description": "The positions a separator follows, e.g. \"2\" for \"123-456\"",
|
|
255
|
+
"type": "number[] | undefined"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "separator",
|
|
259
|
+
"description": "The separator itself",
|
|
260
|
+
"type": "string | undefined"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "mask",
|
|
264
|
+
"description": "Shown in place of every entered character, e.g. \"•\" for a PIN",
|
|
265
|
+
"type": "string | undefined"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "autoComplete",
|
|
269
|
+
"description": "Defaults to \"one-time-code\". Set \"off\" for a code no phone should offer.",
|
|
270
|
+
"type": "string | undefined"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "value",
|
|
274
|
+
"description": "The characters entered so far",
|
|
275
|
+
"type": "string | undefined"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "label",
|
|
279
|
+
"description": "The field's label",
|
|
280
|
+
"type": "string",
|
|
281
|
+
"default": "\"\""
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "readonly",
|
|
285
|
+
"description": "Whether the field is readonly",
|
|
286
|
+
"type": "boolean",
|
|
287
|
+
"default": "false"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "disabled",
|
|
291
|
+
"description": "Whether the field is disabled",
|
|
292
|
+
"type": "boolean",
|
|
293
|
+
"default": "false"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "required",
|
|
297
|
+
"description": "Whether the field is required",
|
|
298
|
+
"type": "boolean",
|
|
299
|
+
"default": "false"
|
|
300
|
+
}
|
|
301
|
+
],
|
|
302
|
+
"properties": [
|
|
303
|
+
{
|
|
304
|
+
"name": "display",
|
|
305
|
+
"type": "SegmentedDisplayController<this>"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "length",
|
|
309
|
+
"attribute": "length",
|
|
310
|
+
"description": "How many characters the code has. Defaults to six.",
|
|
311
|
+
"type": "number"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "type",
|
|
315
|
+
"attribute": "type",
|
|
316
|
+
"description": "What the code is made of: \"numeric\" (default), \"alphanumeric\" or \"alphabetic\"",
|
|
317
|
+
"type": "FieldCodeType"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "pattern",
|
|
321
|
+
"attribute": "pattern",
|
|
322
|
+
"description": "A regular expression a character must match, in place of `type`",
|
|
323
|
+
"type": "string | undefined"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "separators",
|
|
327
|
+
"attribute": "separators",
|
|
328
|
+
"description": "The positions a separator follows, e.g. \"2\" for \"123-456\"",
|
|
329
|
+
"type": "number[] | undefined"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "separator",
|
|
333
|
+
"attribute": "separator",
|
|
334
|
+
"description": "The separator itself",
|
|
335
|
+
"type": "string | undefined"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "mask",
|
|
339
|
+
"attribute": "mask",
|
|
340
|
+
"description": "Shown in place of every entered character, e.g. \"•\" for a PIN",
|
|
341
|
+
"type": "string | undefined"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "autoComplete",
|
|
345
|
+
"attribute": "autoComplete",
|
|
346
|
+
"description": "Defaults to \"one-time-code\". Set \"off\" for a code no phone should offer.",
|
|
347
|
+
"type": "string | undefined"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "change",
|
|
351
|
+
"type": "EventDispatcher<T | undefined>"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "input",
|
|
355
|
+
"type": "EventDispatcher<T | undefined>"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "validityChange",
|
|
359
|
+
"type": "EventDispatcher<boolean>"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "isPopulated",
|
|
363
|
+
"type": "boolean"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "value",
|
|
367
|
+
"attribute": "value",
|
|
368
|
+
"description": "The characters entered so far",
|
|
369
|
+
"type": "string | undefined"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "label",
|
|
373
|
+
"attribute": "label",
|
|
374
|
+
"description": "The field's label",
|
|
375
|
+
"type": "string",
|
|
376
|
+
"default": "\"\""
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "readonly",
|
|
380
|
+
"attribute": "readonly",
|
|
381
|
+
"description": "Whether the field is readonly",
|
|
382
|
+
"type": "boolean",
|
|
383
|
+
"default": "false"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "disabled",
|
|
387
|
+
"attribute": "disabled",
|
|
388
|
+
"description": "Whether the field is disabled",
|
|
389
|
+
"type": "boolean",
|
|
390
|
+
"default": "false"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "required",
|
|
394
|
+
"attribute": "required",
|
|
395
|
+
"description": "Whether the field is required",
|
|
396
|
+
"type": "boolean",
|
|
397
|
+
"default": "false"
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"events": [
|
|
401
|
+
{
|
|
402
|
+
"name": "change",
|
|
403
|
+
"type": "CustomEvent<T | undefined>"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"name": "input",
|
|
407
|
+
"type": "CustomEvent<T | undefined>"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "validityChange",
|
|
411
|
+
"type": "CustomEvent<boolean>"
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"slots": [
|
|
415
|
+
{
|
|
416
|
+
"name": "",
|
|
417
|
+
"description": "The field's content"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "start",
|
|
421
|
+
"description": "Content to be placed at the start of the field"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "end",
|
|
425
|
+
"description": "Content to be placed at the end of the field"
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"cssParts": [
|
|
429
|
+
{
|
|
430
|
+
"name": "label",
|
|
431
|
+
"description": "The field's label"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "group",
|
|
435
|
+
"description": "The row of cells"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "input",
|
|
439
|
+
"description": "The input holding the value"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "cell",
|
|
443
|
+
"description": "One character's cell"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "separator",
|
|
447
|
+
"description": "A separator between two cells"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "container",
|
|
451
|
+
"description": "Field's container"
|
|
452
|
+
}
|
|
453
|
+
]
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAA;AACnB,cAAc,gBAAgB,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/tslib/modules/index.d.ts","../../../node_modules/@a11d/constructor/dist/constructor.d.ts","../../../node_modules/@a11d/constructor/dist/index.d.ts","../../../node_modules/@lit/reactive-element/development/css-tag.d.ts","../../../node_modules/@lit/reactive-element/development/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/development/reactive-element.d.ts","../../../node_modules/lit-html/development/directive.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/lit-html/development/lit-html.d.ts","../../../node_modules/lit-element/development/lit-element.d.ts","../../../node_modules/lit-html/development/is-server.d.ts","../../../node_modules/lit/development/index.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/development/decorators.d.ts","../../../node_modules/lit-html/development/static.d.ts","../../../node_modules/lit/development/static-html.d.ts","../../../node_modules/lit-html/development/directive-helpers.d.ts","../../../node_modules/lit-html/development/async-directive.d.ts","../../../node_modules/lit-html/development/directives/async-replace.d.ts","../../../node_modules/lit-html/development/directives/async-append.d.ts","../../../node_modules/lit-html/development/directives/cache.d.ts","../../../node_modules/lit-html/development/directives/choose.d.ts","../../../node_modules/lit-html/development/directives/class-map.d.ts","../../../node_modules/lit-html/development/directives/guard.d.ts","../../../node_modules/lit-html/development/directives/if-defined.d.ts","../../../node_modules/lit-html/development/directives/join.d.ts","../../../node_modules/lit-html/development/directives/keyed.d.ts","../../../node_modules/lit-html/development/directives/live.d.ts","../../../node_modules/lit-html/development/directives/map.d.ts","../../../node_modules/lit-html/development/directives/range.d.ts","../../../node_modules/lit-html/development/directives/ref.d.ts","../../../node_modules/lit-html/development/directives/repeat.d.ts","../../../node_modules/lit-html/development/directives/style-map.d.ts","../../../node_modules/lit-html/development/directives/template-content.d.ts","../../../node_modules/lit-html/development/directives/unsafe-html.d.ts","../../../node_modules/lit-html/development/directives/unsafe-svg.d.ts","../../../node_modules/lit-html/development/directives/until.d.ts","../../../node_modules/lit-html/development/directives/when.d.ts","../../../node_modules/@a11d/lit/dist/component/html.d.ts","../../../node_modules/@a11d/lit/dist/component/component.d.ts","../../../node_modules/@a11d/lit/dist/component/index.d.ts","../../../node_modules/@a11d/lit/dist/host.d.ts","../../../node_modules/@a11d/lit/dist/controller/controller.d.ts","../../../node_modules/@a11d/lit/dist/controller/index.d.ts","../../../node_modules/@a11d/lit/dist/componentpart/componentpart.d.ts","../../../node_modules/@a11d/lit/dist/componentpart/index.d.ts","../../../node_modules/@a11d/lit/dist/elementref/elementreflifecycle.d.ts","../../../node_modules/@a11d/lit/dist/elementref/elementref.d.ts","../../../node_modules/@a11d/lit/dist/elementref/elementrefs.d.ts","../../../node_modules/@a11d/lit/dist/elementref/index.d.ts","../../../node_modules/@a11d/lit/dist/query/query.d.ts","../../../node_modules/@a11d/lit/dist/query/queryall.d.ts","../../../node_modules/@a11d/lit/dist/query/queryallasnodelist.d.ts","../../../node_modules/@a11d/lit/dist/query/queryconnectedinstances.d.ts","../../../node_modules/@a11d/lit/dist/query/index.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@a11d/lit/dist/style/style.d.ts","../../../node_modules/@a11d/lit/dist/style/index.d.ts","../../../node_modules/@a11d/lit/dist/updated/updatedcontroller.d.ts","../../../node_modules/@a11d/lit/dist/updated/updated.d.ts","../../../node_modules/@a11d/lit/dist/updated/index.d.ts","../../../node_modules/@a11d/lit/dist/eventlistener/extracteventtargets.d.ts","../../../node_modules/@a11d/lit/dist/eventlistener/eventlistener.d.ts","../../../node_modules/@a11d/lit/dist/eventlistener/extracteventhandler.d.ts","../../../node_modules/@a11d/lit/dist/eventlistener/eventlistenercontroller.d.ts","../../../node_modules/@a11d/lit/dist/eventlistener/index.d.ts","../../../node_modules/@a11d/lit/dist/event/eventdispatcher.d.ts","../../../node_modules/@a11d/lit/dist/event/pureeventdispatcher.d.ts","../../../node_modules/@a11d/lit/dist/event/htmlelementeventdispatcher.d.ts","../../../node_modules/@a11d/lit/dist/event/event.d.ts","../../../node_modules/@a11d/lit/dist/event/index.d.ts","../../../node_modules/@a11d/lit/dist/bind/bindingdefaultproperty.d.ts","../../../node_modules/@a11d/lit/dist/bind/associatedevent/associatedevent.d.ts","../../../node_modules/@a11d/is-writable/dist/iswritable.d.ts","../../../node_modules/@a11d/is-writable/dist/index.d.ts","../../../node_modules/@a11d/key-path/dist/keypath.d.ts","../../../node_modules/@a11d/key-path/dist/index.d.ts","../../../node_modules/@a11d/lit/dist/bind/binddirective.d.ts","../../../node_modules/@a11d/lit/dist/bind/valuebinder.d.ts","../../../node_modules/@a11d/lit/dist/bind/binder.d.ts","../../../node_modules/@a11d/lit/dist/bind/bindingintegration.d.ts","../../../node_modules/@a11d/lit/dist/bind/nativeelementsupport.d.ts","../../../node_modules/@a11d/lit/dist/bind/index.d.ts","../../../node_modules/@a11d/lit/dist/property.d.ts","../../../node_modules/@a11d/lit/dist/state.d.ts","../../../node_modules/@a11d/lit/dist/index.d.ts","../../theme/colorcontrast.ts","../../../node_modules/@a11d/local-storage/dist/localstorage.d.ts","../../../node_modules/@a11d/local-storage/dist/index.d.ts","../../theme/background.ts","../../../node_modules/@types/color-string/index.d.ts","../../color/color.ts","../../color/index.ts","../../theme/accent.ts","../../theme/theme.ts","../../../node_modules/@a11d/root-css-injector/dist/rootcssinjector.d.ts","../../../node_modules/@a11d/root-css-injector/dist/rootcssinjectorcontroller.d.ts","../../../node_modules/@a11d/root-css-injector/dist/index.d.ts","../../theme/styles.css.ts","../../theme/themecontroller.ts","../../theme/index.ts","../../slotcontroller/slotcontroller.ts","../../slotcontroller/index.ts","../../focuscontroller/focuscontroller.ts","../../focuscontroller/index.ts","../../instanceofattributecontroller/instanceofattributecontroller.ts","../../instanceofattributecontroller/index.ts","../../field/slottedinputdirectioncontroller.ts","../../field/field.ts","../../field/fieldcomponent.ts","../../field/inputfieldcomponent.ts","../../field/index.ts","../../localization/languagecode.ts","../../localization/localizer.ts","../../localization/directionsbylanguage.ts","../../localization/cardinalpluralizationrulesbylanguage.ts","../../localization/localizedstring.ts","../../localization/localizablestring.ts","../../localization/languagecontroller.ts","../../../node_modules/intl-format-cache/index.d.ts","../../localization/formatters/optionswithlanguage.ts","../../localization/formatters/number.format.ts","../../localization/formatters/currency.ts","../../localization/formatters/number.formatascurrency.ts","../../localization/formatters/number.formatasunit.ts","../../localization/formatters/number.formataspercent.ts","../../localization/formatters/string.tonumber.ts","../../localization/formatters/date.format.ts","../../localization/formatters/date.formatasdate.ts","../../localization/formatters/date.formatastime.ts","../../localization/formatters/array.format.ts","../../localization/formatters/index.ts","../../localization/index.ts","../../segmentedinput/inputsegment.ts","../../segmentedinput/setorremove.ts","../../segmentedinput/segmentedinputcontroller.ts","../../segmentedinput/segmenteddisplaycontroller.ts","../../segmentedinput/index.ts","../fieldcode.ts","../index.ts"],"fileIdsList":[[62],[143],[145],[144],[72],[146,155],[67,69,147,148],[155],[148],[141,142,147,149,150,151],[72,147],[69,72,83],[108,109],[72,113],[114],[72,111],[112],[116,155],[116,117,118],[136,137,138,139],[72,112,131],[131,132,133,134],[66,72],[63,67,69,72,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,110,111,113,115,119,124,127,130,135,140,152,153,154],[72,128],[120,121,122,123],[72,112],[83],[72,83,112,128],[126],[67,125,155],[128,129],[72,112,128],[111,113],[157],[165,166],[73],[66,73,111],[66,73,81,111],[75],[64,65],[66,69,111],[67,69],[69],[67,69,88],[67,69,87],[67],[67,69,104],[69,87],[67,68],[74,75,76,77,78,79,80,81,82],[66,69,70,71,111],[84],[60],[61,155,181,202,207],[61,181,208],[61,160],[61,161],[61,155,172,177],[61,155,172,174,176,178],[61,170,178,179,180],[61,155,174,179],[61,155],[61,173],[61,175],[61,182],[61,182,183],[61,190],[61,183],[61,189,190],[61,190,197],[61,190,191,192,193,194,195,196,197,198,199,200],[61,183,189,190],[61,190,192],[61,182,183,184,185,186,187,188,201],[61],[61,155,183],[61,182,183,186],[61,183,185,202],[61,155,158,182,183],[61,203,205,206],[61,155,203,204],[61,171],[61,155,158,162],[61,155,158],[61,156,159,163,164,168,169],[61,155,156,167],[61,159,163,164],[61,155,164]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f57fc4404ff020bc45b9c620aff2b40f700b95fe31164024c453a5e3c163c54","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"b8f34dd1757f68e03262b1ca3ddfa668a855b872f8bdd5224d6f993a7b37dc2c","impliedFormat":99},{"version":"eaf71303faefce7c63f3da861d339223be2e958279aaa97368310b9751dad0bc","affectsGlobalScope":true,"impliedFormat":99},{"version":"104f2db43e0d3ce214e6fef01e5ea6e1b834094a27ad84381846c1a7a9b3d36f","impliedFormat":99},{"version":"74012d464fbc5354ca3a7d5e71bee43b17da01a853c8ff10971bbe3680c76f40","impliedFormat":99},{"version":"5e30131b6a5587fe666926ad1d9807e733c0a597ed12d682669fcaa331aea576","impliedFormat":99},{"version":"a0f82d2f9450bd147a8c137798d9501bd49b7c9e118f75b07b76709ff39b6b55","affectsGlobalScope":true,"impliedFormat":99},{"version":"00cb63103f9670f8094c238a4a7e252c8b4c06ba371fea5c44add7e41b7247e4","impliedFormat":99},{"version":"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e","impliedFormat":1},{"version":"e09db3291e6b440f7debed2227d8357e80c95987a0d0d67ac17521d8f7b11bdb","impliedFormat":99},{"version":"9a318e3a8900672b85cd3c8c3a5acf51b88049557a3ae897ccdcf2b85a8f61f9","impliedFormat":99},{"version":"1bcd560deed90a43c51b08aa18f7f55229f2e30974ab5ed1b7bb5721be379013","impliedFormat":99},{"version":"dc08fe04e50bc24d1baded4f33e942222bbdd5d77d6341a93cfe6e4e4586a3be","impliedFormat":99},{"version":"cdeae34aca6700620ebf3f27cf7d439c3af97595dd6e2729fa4780483add5680","impliedFormat":99},{"version":"3ff87ea3471b51beaf4aa8fd8f4422862b11d343fdbb55bf383e0f8cc195a445","impliedFormat":99},{"version":"99bdf729529cdbf12e2bf76ea751b662011133dcf9e35abcb3def47bb02f7b0a","impliedFormat":99},{"version":"732fb71ecb695d6f36ddcbb72ebfe4ff6b6491d45101a00fa2b75a26b80d640f","impliedFormat":99},{"version":"039cb05125d7621f8143616c495b8e6b54249c4e64d2754b80ff93867f7f4b01","impliedFormat":99},{"version":"1b81f1fa82ad30af01ab1cae91ccaddc10c48f5916bbd6d282155e44a65d858d","impliedFormat":99},{"version":"a0fc7a02a75802678a67000607f20266cf1a49dc0e787967efe514e31b9ed0c3","impliedFormat":99},{"version":"5ebf098a1d81d400b8af82807cf19893700335cf91a7b9dbd83a5d737af34b11","impliedFormat":99},{"version":"101cf83ac3f9c5e1a7355a02e4fbe988877ef83c4ebec0ff0f02b2af022254a3","impliedFormat":99},{"version":"d017e2fcd44b46ca80cd2b592a6314e75f5caab5bda230f0f4a45e964049a43a","impliedFormat":99},{"version":"a8992b852521a66f63e0cedc6e1f054b28f972232b6fa5ca59771db6a1c8bbea","impliedFormat":99},{"version":"fa8ef3fb228e258f9508386e2056c95c959d1c1168301181313a5c978754ba70","impliedFormat":99},{"version":"15c9478a8a3d630ac5e738aca25fca15d0842aaeb97fb1a9c1e80eddc5a0e14c","impliedFormat":99},{"version":"18b503f13b418f532ffdf558cf58f70f3cdc4dafa5dd45f882e881745a0af67d","impliedFormat":99},{"version":"c42f9b18f5f559b133cf9b409f678afb30df9c6498865aae9a1abad0f1e727a8","impliedFormat":99},{"version":"feaf207fddc69de2a8826438be06f5f954964cddc8e95bf980c9fe02cb22616a","impliedFormat":99},{"version":"22a1db6ed8bebd4969610da4ac82e6b821123f20862abe04992aed979f990c56","impliedFormat":99},{"version":"89069f48799198a4faeddffd2324ddd831fc8e099b5b1917bfeee379c2013773","impliedFormat":99},{"version":"430575191b1f9413196a64d611ff48edcd8d038a558e087143e287638a87c4c6","impliedFormat":99},{"version":"9e77270468dc77ee3f0182f377a6022b37cce590cab79205c497cfb964ee2d20","impliedFormat":99},{"version":"65925d46dcd2c666c08b1c2c18031cfef6e46e43adbe0eee06c66fa00f9ef4eb","impliedFormat":99},{"version":"74fe889b1d2bba4b2893d518ba94e2b20dabe6d19d0c2f9554d9a5d3755710f4","impliedFormat":99},{"version":"f599ef6a8f8678be036ae5ac26b00657664ed26d9e0ebaf9244739b267410646","impliedFormat":99},{"version":"e752c35aa2c473cb8c9c0a7d1330063c0a98ed5d421a6c25afefebdca805b876","impliedFormat":99},{"version":"81f64e790559d21c168e85c0f8e1ceb745b1906863a220c2b3c03aa4a636fad8","impliedFormat":99},{"version":"f0d4da8c4cc589095f0c2dc87ba5cd73394c382b54793357b6cf821dbd26c8e4","impliedFormat":99},{"version":"8eda58842fed4ca236afe50dd183d569d2cf0cb99be517e955c1c033d8b6bd58","impliedFormat":99},{"version":"5ba86f64dbaa08c0c799710953b7277e198c06e36efa9c1103774e7119c6ef7c","impliedFormat":99},{"version":"a4bbe05f59182f4ce279bf92b2fcf9ce52fe1a9feba61867aa97e11eaa1912aa","impliedFormat":99},{"version":"fb605fccb30512c9291061c381cba041e06b51d10479d1589441e9468a32363e","impliedFormat":99},{"version":"c50cdef58c53c1f6ccddb43b206fb327857af2bac581192d325ee8df817638d5","impliedFormat":99},{"version":"33b3c0269bf9dd055b94fe52c0e7e26b8a764274f2270a4a3d4a3ee2872165ba","impliedFormat":99},{"version":"ccf24cd06f3a6ed653dbfcfd162241399c727bfedd91ce5e6fabfa1e1796c37e","impliedFormat":99},{"version":"f4b26b8107218c67993b23418c9f07888651ef7106a611fa2ec30a2f8b61efd9","impliedFormat":99},{"version":"fe7cba26a13d8bb7d59328df2d4fa91a762cb92de62f163ff698829ce8fef4b3","impliedFormat":99},{"version":"463faba982eb24996db72bb4899e99101fccdb4d1e434fa083d3146eab8dbd32","impliedFormat":99},{"version":"3a3741a6cf7f8ca06277e50b08def1673a1cdf438dd3d8a6dfb196c7aa2de655","impliedFormat":99},{"version":"aef0f46ff1d6f3961e63b341fea232b5f4519895c56e7807362725bd26e7e04c","impliedFormat":99},{"version":"7c09943890cda5522989ef21807fb99486db66f53d693f6c3a81fec879a901fd","impliedFormat":99},{"version":"142b48dd12b9eca45ebbff239e6fded2def675ff0bc6f5ea9d93612ffdc6d83a","impliedFormat":99},{"version":"927f5e39c8cae873fb3cdbb93b4cc5d302decbfb8f5d9b2113988dcf8a150371","impliedFormat":99},{"version":"ec94a50e817108482f5ddd4fce1d5ab52074fd89dfdea50f2742479f5adc0ed8","impliedFormat":99},{"version":"f37df6ceb53c4c79e0a70d9bca6ea746a19d1ecd90cbb3c3ac5b28eadb4efe1f","impliedFormat":99},{"version":"ea8e9b396327865bea37657f064323973955230e5f16eb160f24342ac71af4fb","impliedFormat":99},{"version":"b0290b4354f2164c2f43de9d3a8481801f7f6bc84150bd5d53dcdd91ff77f96d","impliedFormat":99},{"version":"aa4d9388ee8674acd8fb5d995b9d3022f2e2e81c4d981dd153c50692c5c44e1a","impliedFormat":99},{"version":"32d52dbf16d4e4a1daed88ab9165fed74156b7c781eba9cf8642b0ba3fbdb035","impliedFormat":99},{"version":"efffd49dfa12fd5c6f24cbe265f4049b14595f86cb10476ea8bc225645e3fd7f","impliedFormat":99},{"version":"4274ddc03a8fac2badee8ce0ec80aaf875528d666a65767268d4bada0e23e7de","impliedFormat":99},{"version":"dba12ebd03d0b06be80194e5ef9e83f87405ebfbffe263bd1c612174a7b72520","impliedFormat":99},{"version":"0a01f0e57f3277e4e13dd32918829f1db7c88339741752b15cb4e120dbf3a28b","impliedFormat":99},{"version":"077579a47c807da116d314be5a8e24fdbb453d139c16343dff93f1a50bd57728","impliedFormat":99},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"f06781c32d2a93598d926cdd1ae54b29e1b1c8d0bdfa5d95339cbd8ed15f8b6c","impliedFormat":99},{"version":"86ee3d380037ab37ffa8910edec153967b3b1a6c63d6e39a6d5d77c5559a2404","impliedFormat":99},{"version":"1957cb806ea15d65c96346a3372493bd0f86ab3cce9c8c9fe6b042278a391239","impliedFormat":99},{"version":"d842c91613e134202281bed1f6a26a08bfd7608037770c5d9cd5c4a44fa86ae6","impliedFormat":99},{"version":"a2aef0e5c2af0088cc43ff756c4ae1282d1d88f85c6ec7e1472dbe48b1226911","impliedFormat":99},{"version":"b6774952752576e2b90ab3a9e0e6122f1b086648a8d1266aba4ce19f22b7ac8b","impliedFormat":99},{"version":"36f13ff5166642b1597397ee27892fd0e6bb0dd652cb3904f1d43c9ebc4b38ad","impliedFormat":99},{"version":"019a7d171d48aec3d22b042b4f4a1699af13f34f26e3177ef5fdae9f6af072ee","impliedFormat":99},{"version":"869a30bb3d1996964cd1f6bda791d93732bdaa156e46da98ca748207c1d708fa","impliedFormat":99},{"version":"93cfb10a4b87c84d8c823bc624b3cd3a313d5c16a7c17e50273c4dca99b91340","impliedFormat":99},{"version":"9a3edeb212dd00a8a24c582d780f831bb779ea9ae4fa34b4279561887d4bd066","affectsGlobalScope":true,"impliedFormat":99},{"version":"72d30486d50c5624b446418a54c93ef2cdfb781ee5801fec3ef642094498c640","impliedFormat":99},{"version":"091729c3d769cc65f63d535d4998222f16da87311f5f6fc49e407b1dbd39d274","impliedFormat":99},{"version":"6fcdc851702e0f11209d63a1415d9148351e6738e38faee6eb67b7effc53f1c4","impliedFormat":99},{"version":"673a6be5d1871dc1c26385ffb6bee5cee8c914195502e67c7a830c8058ea3a22","impliedFormat":99},{"version":"de3ed1b1858b41b404e8d6cfa8f00f2a848287046dbeaa95729b712176b43d56","impliedFormat":99},{"version":"478459149b5c95a3edf38882f327b6f6ce19f6dc9cf3ec644a67d4cb242dca5c","impliedFormat":99},{"version":"3e168ef532d11e93595146147fb6a0730806a1938d68245539bdbce909ed2d78","affectsGlobalScope":true,"impliedFormat":99},{"version":"094bec6b9d9ca9ade55d6f2b70cc4f76cf86c440f9a25032b1b058371b0a3fde","impliedFormat":99},{"version":"ce6357775e7888f3b1bca4ec32e8a307156f928046020fbe4b287e4746bec67c","affectsGlobalScope":true,"impliedFormat":99},{"version":"8ae128871458811d834db25fdba2a24a2474c3cfab5d1216ff5b5ada7e53ff18","impliedFormat":99},{"version":"f1076d144f14f4c798e95e51042c5e6afb5fd6204bbae0f50c03ce5a033b8732","impliedFormat":99},{"version":"cba05a2b2ebb721119c7bad09a031f72398cd5d8c360fbceb8bd912cadc65ae0","impliedFormat":99},{"version":"cac6f5c23d791fbd0ee50604cfd67576dba60951a80b1e6089ebf84fc2277150","impliedFormat":99},{"version":"1bb2635795eb6e46cb3fe362e0af3826c726fa46307adab03d6b1c9238d3484b","impliedFormat":99},{"version":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"b80e73eabc5b7d90a924ea3f9168e061ff7163cff8c14d8bb522546e4caea6a6","impliedFormat":99},{"version":"2ab8f58931d7b26a7c5dae44566e0a7b7ed57452df618f28be7b6c7b587da1ed","impliedFormat":99},{"version":"4f372c6fb68c1150ff6604d2654e7fdc067856ecf5122efeacef69d80b12d38c","impliedFormat":99},{"version":"3656cc88c522e09b756ce086ec3db0ab554af003a90fe0ede85f3eb11d315d6c","impliedFormat":99},{"version":"5d3afcce891ac34799cc04069e29c7fef3bf8a1ddf06f7e748a8fdc36101d48c","impliedFormat":99},{"version":"dab8d04540735ee6c89f762118f2d9bcaa29b92b9c560749912c1fced3f7eaf1","impliedFormat":99},{"version":"5135fe5fa63b10bccc9f30b2d035c656c20b6e82410fc4b7a702bf3fcdd90194","impliedFormat":99},{"version":"66f35f607df57d50974ebb37e5dd36c6865563e0611505bc002486be15acba8e","impliedFormat":99},{"version":"4778a9776deef4cd941794c028aaa40ee72704f2c265c422ee46a2c3bb877785","impliedFormat":1},{"version":"9fc28b534412fc448ae0c0ee9d9f8d2de0b64183f231bb6588f1eab9560cb9ce","impliedFormat":99},{"version":"8803501b4d9b272d092c5341f690a81186782b80f7cd500cbb3c89a451dd30d7","impliedFormat":99},{"version":"67930155aad1f8fbccf89ce2e146ac858743e273c2c9226eb05c99fb8a1316fe","impliedFormat":99},{"version":"cb1f479f718a76058d9c55526eb4c5a0085706deb5440e36e85277646426bfda","affectsGlobalScope":true,"impliedFormat":99},{"version":"e4ffd85237547a345e4d0d18a38924f1170b5370993b7a8fd08c065770cddd48","impliedFormat":99},{"version":"93e39912ab56a9f122aba71c28ecc7191fcb88094d1e10f1e2977906b9ec4811","impliedFormat":99},{"version":"cd6ad81027e4ba6657a2f5bc7db968022475cd583e36fa9d3a099fe941f631c9","impliedFormat":99},{"version":"0784819b1c24c6e668208a55d98065ffcd82ec1a1e4bd76bef4a033221cf18af","impliedFormat":99},{"version":"412a1e8787d5f3103e4eaebddc3a0253b9604741121265f173e1bddcef8c03f2","impliedFormat":99},{"version":"1b31f5b464f285cee996dd5d0d835e5dd21611c1daff430b8483dca1a11b35a5","impliedFormat":99},{"version":"233ec53d2e8f0278616deba80c66f60ebe8f3f692b4d38fb5b7f7ae533aaecb4","impliedFormat":99},{"version":"f9f7be1de4a7cb83707bc3c74b641e278172d84081ba8345004f6026376933a6","impliedFormat":99},{"version":"10c38ba65f8c225e80765730e41625614e7f3f07b22db0463f3d29ced4e01056","impliedFormat":99},{"version":"1a744a2f146ee1db7651fcc7446f8472641903065d61d936a0f09aba402ce524","impliedFormat":99},{"version":"c7e029578a36dce1b9d7e8a57f3bc5f91bb99e16495889323d16b091c6d1c885","impliedFormat":99},{"version":"4234d56ce06e81bf0ce57c26022e0fd9454ca4372647a2367245a3e2e9780cc1","impliedFormat":99},{"version":"5b80ac623139881337a5c668d600477b02fcaab12e4b2e4a25e5510d0eb5b0f3","impliedFormat":99},{"version":"08f955e3ec7e14cbf16d450de052db05f0aa57631a886a8bf449490c998d0c6d","affectsGlobalScope":true,"impliedFormat":99},{"version":"9ffe66cc13b27f8fd82da57881680cd3c23d852be1b216ca1eaffdf4e431e629","impliedFormat":99},{"version":"f1939c14a71285338e49c757f8fea5b6a883d3a85ef3fea2b3f9187341355777","impliedFormat":99},{"version":"ff7961a63ee7da24eaf8d2a0ea0bc65efa609b94926d9101c8043151a6679810","impliedFormat":99},{"version":"7adc41be7985c5a5d21b0086ffbccc64192372dff409544a423481073e80839d","impliedFormat":99},{"version":"ae2d1ac404018e6020196c0551751bb9a353ae2eea8ab929cb191558473fdbac","affectsGlobalScope":true,"impliedFormat":99},{"version":"94bde5a31a23473af0813517bd1be4f093bd936a046cc1c174be9123da3604ea","impliedFormat":99},{"version":"a921fe82968b75fb521ea92a41e585df3411f940a116e0bcb95b8c409dd99a96","impliedFormat":99},{"version":"a1138959ff4335c09deeb460d2281f64a711e89cd308529c806aea5a1bce9e57","impliedFormat":99},{"version":"3697fd40514b6ec5ea8dc92d13bfd07aa24a5110365612feb87c98f0ca8e822f","affectsGlobalScope":true,"impliedFormat":99},{"version":"81ed26a2d2675788dace8fc65cfcca3ee56fb6485f499592fddd9f47fc4c7e65","impliedFormat":99},{"version":"2d32004b21f017c9514c5e2a985472017d0e7b508b42c723670faa84bb03dd3f","impliedFormat":1},{"version":"f2e9e9b6c5b299c8f3d996c0924b9db53316783befbe4d7bba7ab71fdcb51bde","impliedFormat":99},{"version":"1c84908f8f14ac6dbc04224806275b39aa2e9d23d4d0d54336b3332242879fd9","affectsGlobalScope":true,"impliedFormat":99},{"version":"e0e101a06f2b47f3c093b73b5de229d666642f7880b2f5cdb24416027a5433d3","impliedFormat":99},{"version":"c0f86ae6f2f15c96be2814a6f93203713d181af4cf236caccf6b596501b0bb06","affectsGlobalScope":true,"impliedFormat":99},{"version":"4d2e299990b1cfb46f476994c6c088869896ee9a00ac135bee52cfe1cb74a04e","affectsGlobalScope":true,"impliedFormat":99},{"version":"d9b6f64da7bbd58813aa7ff13aa6c2585541fc34298b35a43be023c21b400925","affectsGlobalScope":true,"impliedFormat":99},{"version":"82bdf9963093ddf91cf7a20d1d05972cb4240bc4a9d54686514c567dc6a4bbe3","affectsGlobalScope":true,"impliedFormat":99},{"version":"3f6902084a9c347b3f73435c81eee957884bc548142f0c83e249e32b438a904d","affectsGlobalScope":true,"impliedFormat":99},{"version":"aabcaec0c72846b9ec34cff7c5cd9ff428f222793f47d2ad049b03265e4cb894","affectsGlobalScope":true,"impliedFormat":99},{"version":"e6dbc7392238b312d8fcd0733d6808bc6c0faf4446e5294c9d2ac86869b44691","affectsGlobalScope":true,"impliedFormat":99},{"version":"8348d66e7640907d0217329058ea496cdb64d381eac07d3f847595947d8204d5","affectsGlobalScope":true,"impliedFormat":99},{"version":"9f0019aa73c0d90e95c22c6d2faeb8586e3fe35c59cea309c428b4ed7e8943a0","impliedFormat":99},{"version":"dbd5c9ec493b5d9257e5ecd7541a29c35b7c38acc545b1be634ed0edec8dff10","impliedFormat":99},{"version":"254b376821f2b7debb644762088b00856f85e069bd7c8f98b442f5317c645b69","impliedFormat":99},{"version":"d0fcc33f0229c71f2c847c2706bef12df04da887a9c0781a88e9e94319e7a2ec","impliedFormat":99},{"version":"a995c4951d2901d49a39f5dd87828ca2fb987135ef5f6766a2e7ecf50e80cf2a","impliedFormat":99},{"version":"59dc66ba5243a6108e776784d9ac83db9abbeda95ffa10f5611413a375f6047d","impliedFormat":99},{"version":"e1d21cb3d3455996c1bcb12ddafb551ba936013dd46d5475d8bc29921915502b","impliedFormat":99},{"version":"a3ac1054b729daafd52b1c5ac5c0e6a37d44ebec77bdf7bc018adfc79daf9493","signature":"a9d75e89262dd1440877fbfb7b550acfe9c00385dd5cb1ae9102645644b63745","affectsGlobalScope":true,"impliedFormat":99},{"version":"e75160a2d6f8b0791a4c200cd9530af85a0d7c8b6824c74b870473aa796270e0","signature":"0573af88951ac8b742c17d38e85308028dc10a69ebd2d2894d75c57449281e9b","impliedFormat":99}],"root":[208,209],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"module":199,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":9,"useDefineForClassFields":false},"referencedMap":[[63,1],[144,2],[146,3],[145,4],[142,5],[147,6],[149,7],[141,8],[150,9],[152,10],[148,11],[109,12],[108,5],[110,13],[114,14],[115,15],[112,16],[113,17],[117,18],[118,18],[119,19],[140,20],[132,21],[134,21],[135,22],[111,23],[155,24],[153,25],[124,26],[120,27],[121,27],[122,28],[123,5],[154,29],[127,30],[126,31],[130,32],[129,33],[128,34],[158,35],[157,8],[167,36],[165,8],[166,8],[74,37],[77,38],[75,38],[79,38],[82,39],[81,38],[80,38],[78,38],[76,40],[66,41],[70,42],[87,43],[86,43],[67,44],[89,45],[88,46],[90,43],[92,43],[93,43],[94,44],[96,47],[97,43],[100,46],[101,43],[102,43],[103,43],[104,43],[105,48],[106,49],[69,50],[84,44],[83,51],[72,52],[85,53],[61,54],[208,55],[209,56],[161,57],[162,58],[178,59],[179,60],[181,61],[180,62],[177,63],[173,63],[174,64],[176,65],[175,63],[185,66],[184,67],[200,68],[192,69],[197,70],[198,71],[199,71],[201,72],[191,73],[193,74],[195,68],[194,68],[190,67],[196,67],[202,75],[182,76],[188,77],[187,78],[186,79],[183,80],[207,81],[203,76],[206,82],[205,82],[204,76],[172,83],[171,63],[163,84],[159,85],[156,63],[170,86],[168,87],[164,88],[169,89]],"version":"6.0.3"}
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@3mo/code-field",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A field for short codes — verification codes, one-time passwords and PINs — as one cell per character.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/3mo-esolutions/web-components"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"lit",
|
|
11
|
+
"web-component",
|
|
12
|
+
"code",
|
|
13
|
+
"otp",
|
|
14
|
+
"pin",
|
|
15
|
+
"one-time-code",
|
|
16
|
+
"field-code"
|
|
17
|
+
],
|
|
18
|
+
"author": "3MO GmbH",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"homepage": "https://www.3mo.de",
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "dist/index.js",
|
|
23
|
+
"types": "dist/index.d.ts",
|
|
24
|
+
"customElements": "dist/custom-elements.json",
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@a11d/lit": "x",
|
|
30
|
+
"tslib": "x",
|
|
31
|
+
"@3mo/field": "x",
|
|
32
|
+
"@3mo/localization": "x",
|
|
33
|
+
"@3mo/segmented-input": "x"
|
|
34
|
+
}
|
|
35
|
+
}
|