@everymatrix/general-input 1.31.1 → 1.32.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/package.json +3 -2
- package/dist/cjs/checkbox-group-input_10.cjs.entry.js +0 -36077
- package/dist/cjs/general-input.cjs.entry.js +0 -75
- package/dist/cjs/general-input.cjs.js +0 -19
- package/dist/cjs/index-132a0774.js +0 -1327
- package/dist/cjs/index.cjs.js +0 -18
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/locale.utils-cef1d3b6.js +0 -128
- package/dist/cjs/toggle-checkbox-input.cjs.entry.js +0 -85
- package/dist/cjs/tooltipIcon-092a795f.js +0 -5
- package/dist/collection/collection-manifest.json +0 -23
- package/dist/collection/components/checkbox-group-input/checkbox-group-input.css +0 -82
- package/dist/collection/components/checkbox-group-input/checkbox-group-input.js +0 -366
- package/dist/collection/components/checkbox-input/checkbox-input.css +0 -68
- package/dist/collection/components/checkbox-input/checkbox-input.js +0 -324
- package/dist/collection/components/date-input/date-input.css +0 -101
- package/dist/collection/components/date-input/date-input.js +0 -396
- package/dist/collection/components/email-input/email-input.css +0 -95
- package/dist/collection/components/email-input/email-input.js +0 -403
- package/dist/collection/components/general-input/general-input.css +0 -4
- package/dist/collection/components/general-input/general-input.js +0 -373
- package/dist/collection/components/number-input/number-input.css +0 -102
- package/dist/collection/components/number-input/number-input.js +0 -368
- package/dist/collection/components/password-input/password-input.css +0 -182
- package/dist/collection/components/password-input/password-input.js +0 -527
- package/dist/collection/components/radio-input/radio-input.css +0 -43
- package/dist/collection/components/radio-input/radio-input.js +0 -297
- package/dist/collection/components/select-input/select-input.css +0 -122
- package/dist/collection/components/select-input/select-input.js +0 -429
- package/dist/collection/components/tel-input/tel-input.css +0 -145
- package/dist/collection/components/tel-input/tel-input.js +0 -440
- package/dist/collection/components/text-input/text-input.css +0 -98
- package/dist/collection/components/text-input/text-input.js +0 -448
- package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.css +0 -82
- package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.js +0 -324
- package/dist/collection/index.js +0 -17
- package/dist/collection/utils/locale.utils.js +0 -123
- package/dist/collection/utils/tooltipIcon.svg +0 -5
- package/dist/collection/utils/types.js +0 -1
- package/dist/collection/utils/utils.js +0 -5
- package/dist/components/active-mixin.js +0 -975
- package/dist/components/checkbox-group-input.d.ts +0 -11
- package/dist/components/checkbox-group-input.js +0 -6
- package/dist/components/checkbox-group-input2.js +0 -1078
- package/dist/components/checkbox-input.d.ts +0 -11
- package/dist/components/checkbox-input.js +0 -6
- package/dist/components/checkbox-input2.js +0 -129
- package/dist/components/date-input.d.ts +0 -11
- package/dist/components/date-input.js +0 -6
- package/dist/components/date-input2.js +0 -11556
- package/dist/components/email-input.d.ts +0 -11
- package/dist/components/email-input.js +0 -6
- package/dist/components/email-input2.js +0 -171
- package/dist/components/field-mixin.js +0 -12426
- package/dist/components/general-input.d.ts +0 -11
- package/dist/components/general-input.js +0 -6
- package/dist/components/general-input2.js +0 -341
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -18
- package/dist/components/input-field-shared-styles.js +0 -1211
- package/dist/components/number-input.d.ts +0 -11
- package/dist/components/number-input.js +0 -6
- package/dist/components/number-input2.js +0 -158
- package/dist/components/password-input.d.ts +0 -11
- package/dist/components/password-input.js +0 -6
- package/dist/components/password-input2.js +0 -1041
- package/dist/components/radio-input.d.ts +0 -11
- package/dist/components/radio-input.js +0 -6
- package/dist/components/radio-input2.js +0 -114
- package/dist/components/select-input.d.ts +0 -11
- package/dist/components/select-input.js +0 -6
- package/dist/components/select-input2.js +0 -183
- package/dist/components/tel-input.d.ts +0 -11
- package/dist/components/tel-input.js +0 -6
- package/dist/components/tel-input2.js +0 -197
- package/dist/components/text-input.d.ts +0 -11
- package/dist/components/text-input.js +0 -6
- package/dist/components/text-input2.js +0 -199
- package/dist/components/toggle-checkbox-input.d.ts +0 -11
- package/dist/components/toggle-checkbox-input.js +0 -6
- package/dist/components/tooltipIcon.js +0 -127
- package/dist/components/vaadin-button.js +0 -490
- package/dist/components/vaadin-combo-box.js +0 -4512
- package/dist/components/virtual-keyboard-controller.js +0 -2001
- package/dist/esm/checkbox-group-input_10.entry.js +0 -36064
- package/dist/esm/general-input.entry.js +0 -71
- package/dist/esm/general-input.js +0 -17
- package/dist/esm/index-db76d5b5.js +0 -1299
- package/dist/esm/index.js +0 -16
- package/dist/esm/loader.js +0 -17
- package/dist/esm/locale.utils-de759721.js +0 -125
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/toggle-checkbox-input.entry.js +0 -81
- package/dist/esm/tooltipIcon-99c1c7b7.js +0 -3
- package/dist/general-input/general-input.esm.js +0 -1
- package/dist/general-input/index.esm.js +0 -1
- package/dist/general-input/p-10efdf3f.js +0 -1
- package/dist/general-input/p-613c3e00.entry.js +0 -1
- package/dist/general-input/p-660bcdd1.entry.js +0 -1
- package/dist/general-input/p-9b6b0396.entry.js +0 -3646
- package/dist/general-input/p-b408093e.js +0 -1
- package/dist/general-input/p-f4f4ccda.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/stencil.config.js +0 -22
- package/dist/types/Users/sebastian.strulea/Documents/work/widgets-stencil/packages/general-input/.stencil/packages/general-input/stencil.config.d.ts +0 -2
- package/dist/types/components/checkbox-group-input/checkbox-group-input.d.ts +0 -74
- package/dist/types/components/checkbox-input/checkbox-input.d.ts +0 -65
- package/dist/types/components/date-input/date-input.d.ts +0 -84
- package/dist/types/components/email-input/email-input.d.ts +0 -80
- package/dist/types/components/general-input/general-input.d.ts +0 -75
- package/dist/types/components/number-input/number-input.d.ts +0 -74
- package/dist/types/components/password-input/password-input.d.ts +0 -91
- package/dist/types/components/radio-input/radio-input.d.ts +0 -59
- package/dist/types/components/select-input/select-input.d.ts +0 -83
- package/dist/types/components/tel-input/tel-input.d.ts +0 -89
- package/dist/types/components/text-input/text-input.d.ts +0 -84
- package/dist/types/components/toggle-checkbox-input/toggle-checkbox-input.d.ts +0 -67
- package/dist/types/components.d.ts +0 -1268
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1565
- package/dist/types/utils/locale.utils.d.ts +0 -17
- package/dist/types/utils/types.d.ts +0 -87
- package/dist/types/utils/utils.d.ts +0 -1
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -12
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -10
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
import { Component, h, Prop, Host } from '@stencil/core';
|
|
2
|
-
import { getTranslations } from '../../utils/locale.utils';
|
|
3
|
-
export class GeneralInput {
|
|
4
|
-
constructor() {
|
|
5
|
-
/**
|
|
6
|
-
* Type the general-input should take. Can take the default HTML input values.
|
|
7
|
-
*/
|
|
8
|
-
this.type = 'text';
|
|
9
|
-
/**
|
|
10
|
-
* Client custom styling via inline style
|
|
11
|
-
*/
|
|
12
|
-
this.clientStyling = '';
|
|
13
|
-
/**
|
|
14
|
-
* Translations via URL
|
|
15
|
-
*/
|
|
16
|
-
this.translationUrl = '';
|
|
17
|
-
/**
|
|
18
|
-
* Emit event on click
|
|
19
|
-
*/
|
|
20
|
-
this.emitOnClick = false;
|
|
21
|
-
this.handleClick = () => {
|
|
22
|
-
if (this.emitOnClick) {
|
|
23
|
-
window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
connectedCallback() {
|
|
28
|
-
if (this.translationUrl) {
|
|
29
|
-
getTranslations(this.translationUrl);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
renderInput() {
|
|
33
|
-
var _a;
|
|
34
|
-
switch ((_a = this.type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
|
|
35
|
-
case 'text':
|
|
36
|
-
return h("text-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
37
|
-
case 'email':
|
|
38
|
-
return h("email-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
39
|
-
case 'number':
|
|
40
|
-
return h("number-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
41
|
-
case 'checkbox':
|
|
42
|
-
return h("checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, defaultValue: this.defaultValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip });
|
|
43
|
-
case 'checkboxgroup':
|
|
44
|
-
return h("checkbox-group-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options });
|
|
45
|
-
case 'togglecheckbox':
|
|
46
|
-
return h("toggle-checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options });
|
|
47
|
-
case 'datetime':
|
|
48
|
-
return h("date-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder, dateFormat: this.dateFormat });
|
|
49
|
-
case 'password':
|
|
50
|
-
return h("password-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
51
|
-
case 'radio':
|
|
52
|
-
return h("radio-input", { name: this.name, displayName: this.displayName, optionsGroup: this.options, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
|
|
53
|
-
case 'tel':
|
|
54
|
-
return h("tel-input", { name: this.name, action: this.action, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, emitValue: this.emitValue, language: this.language, autofilled: this.autofilled, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
55
|
-
case 'dropdown':
|
|
56
|
-
return h("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
57
|
-
default:
|
|
58
|
-
return h("p", null,
|
|
59
|
-
"The ",
|
|
60
|
-
this.type,
|
|
61
|
-
" input type is not valid");
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
render() {
|
|
65
|
-
return (h(Host, { class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
|
|
66
|
-
}
|
|
67
|
-
static get is() { return "general-input"; }
|
|
68
|
-
static get encapsulation() { return "shadow"; }
|
|
69
|
-
static get originalStyleUrls() { return {
|
|
70
|
-
"$": ["general-input.scss"]
|
|
71
|
-
}; }
|
|
72
|
-
static get styleUrls() { return {
|
|
73
|
-
"$": ["general-input.css"]
|
|
74
|
-
}; }
|
|
75
|
-
static get properties() { return {
|
|
76
|
-
"type": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"mutable": false,
|
|
79
|
-
"complexType": {
|
|
80
|
-
"original": "string",
|
|
81
|
-
"resolved": "string",
|
|
82
|
-
"references": {}
|
|
83
|
-
},
|
|
84
|
-
"required": false,
|
|
85
|
-
"optional": false,
|
|
86
|
-
"docs": {
|
|
87
|
-
"tags": [],
|
|
88
|
-
"text": "Type the general-input should take. Can take the default HTML input values."
|
|
89
|
-
},
|
|
90
|
-
"attribute": "type",
|
|
91
|
-
"reflect": true,
|
|
92
|
-
"defaultValue": "'text'"
|
|
93
|
-
},
|
|
94
|
-
"name": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"mutable": false,
|
|
97
|
-
"complexType": {
|
|
98
|
-
"original": "string",
|
|
99
|
-
"resolved": "string",
|
|
100
|
-
"references": {}
|
|
101
|
-
},
|
|
102
|
-
"required": false,
|
|
103
|
-
"optional": false,
|
|
104
|
-
"docs": {
|
|
105
|
-
"tags": [],
|
|
106
|
-
"text": "Name of the input."
|
|
107
|
-
},
|
|
108
|
-
"attribute": "name",
|
|
109
|
-
"reflect": true
|
|
110
|
-
},
|
|
111
|
-
"displayName": {
|
|
112
|
-
"type": "string",
|
|
113
|
-
"mutable": false,
|
|
114
|
-
"complexType": {
|
|
115
|
-
"original": "string",
|
|
116
|
-
"resolved": "string",
|
|
117
|
-
"references": {}
|
|
118
|
-
},
|
|
119
|
-
"required": false,
|
|
120
|
-
"optional": false,
|
|
121
|
-
"docs": {
|
|
122
|
-
"tags": [],
|
|
123
|
-
"text": "Name of input to be shown to the user."
|
|
124
|
-
},
|
|
125
|
-
"attribute": "display-name",
|
|
126
|
-
"reflect": true
|
|
127
|
-
},
|
|
128
|
-
"placeholder": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"mutable": false,
|
|
131
|
-
"complexType": {
|
|
132
|
-
"original": "string",
|
|
133
|
-
"resolved": "string",
|
|
134
|
-
"references": {}
|
|
135
|
-
},
|
|
136
|
-
"required": false,
|
|
137
|
-
"optional": false,
|
|
138
|
-
"docs": {
|
|
139
|
-
"tags": [],
|
|
140
|
-
"text": "Placeholder text to be shown."
|
|
141
|
-
},
|
|
142
|
-
"attribute": "placeholder",
|
|
143
|
-
"reflect": true
|
|
144
|
-
},
|
|
145
|
-
"action": {
|
|
146
|
-
"type": "string",
|
|
147
|
-
"mutable": false,
|
|
148
|
-
"complexType": {
|
|
149
|
-
"original": "string",
|
|
150
|
-
"resolved": "string",
|
|
151
|
-
"references": {}
|
|
152
|
-
},
|
|
153
|
-
"required": false,
|
|
154
|
-
"optional": false,
|
|
155
|
-
"docs": {
|
|
156
|
-
"tags": [],
|
|
157
|
-
"text": "Special behaviour an input should have. Can be fetching for data."
|
|
158
|
-
},
|
|
159
|
-
"attribute": "action",
|
|
160
|
-
"reflect": true
|
|
161
|
-
},
|
|
162
|
-
"validation": {
|
|
163
|
-
"type": "unknown",
|
|
164
|
-
"mutable": false,
|
|
165
|
-
"complexType": {
|
|
166
|
-
"original": "ValidationSchema",
|
|
167
|
-
"resolved": "ValidationSchema",
|
|
168
|
-
"references": {
|
|
169
|
-
"ValidationSchema": {
|
|
170
|
-
"location": "import",
|
|
171
|
-
"path": "../../utils/types"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"required": false,
|
|
176
|
-
"optional": false,
|
|
177
|
-
"docs": {
|
|
178
|
-
"tags": [],
|
|
179
|
-
"text": "Object of validation rules for the input."
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
"options": {
|
|
183
|
-
"type": "any",
|
|
184
|
-
"mutable": false,
|
|
185
|
-
"complexType": {
|
|
186
|
-
"original": "any",
|
|
187
|
-
"resolved": "any",
|
|
188
|
-
"references": {}
|
|
189
|
-
},
|
|
190
|
-
"required": false,
|
|
191
|
-
"optional": false,
|
|
192
|
-
"docs": {
|
|
193
|
-
"tags": [],
|
|
194
|
-
"text": "For input elements that have multiple options or choises."
|
|
195
|
-
},
|
|
196
|
-
"attribute": "options",
|
|
197
|
-
"reflect": true
|
|
198
|
-
},
|
|
199
|
-
"language": {
|
|
200
|
-
"type": "string",
|
|
201
|
-
"mutable": false,
|
|
202
|
-
"complexType": {
|
|
203
|
-
"original": "string",
|
|
204
|
-
"resolved": "string",
|
|
205
|
-
"references": {}
|
|
206
|
-
},
|
|
207
|
-
"required": false,
|
|
208
|
-
"optional": false,
|
|
209
|
-
"docs": {
|
|
210
|
-
"tags": [],
|
|
211
|
-
"text": "Currently selected language."
|
|
212
|
-
},
|
|
213
|
-
"attribute": "language",
|
|
214
|
-
"reflect": true
|
|
215
|
-
},
|
|
216
|
-
"autofilled": {
|
|
217
|
-
"type": "boolean",
|
|
218
|
-
"mutable": false,
|
|
219
|
-
"complexType": {
|
|
220
|
-
"original": "boolean",
|
|
221
|
-
"resolved": "boolean",
|
|
222
|
-
"references": {}
|
|
223
|
-
},
|
|
224
|
-
"required": false,
|
|
225
|
-
"optional": false,
|
|
226
|
-
"docs": {
|
|
227
|
-
"tags": [],
|
|
228
|
-
"text": "Boolean. Determines if input should be readonly."
|
|
229
|
-
},
|
|
230
|
-
"attribute": "autofilled",
|
|
231
|
-
"reflect": true
|
|
232
|
-
},
|
|
233
|
-
"tooltip": {
|
|
234
|
-
"type": "string",
|
|
235
|
-
"mutable": false,
|
|
236
|
-
"complexType": {
|
|
237
|
-
"original": "string",
|
|
238
|
-
"resolved": "string",
|
|
239
|
-
"references": {}
|
|
240
|
-
},
|
|
241
|
-
"required": false,
|
|
242
|
-
"optional": false,
|
|
243
|
-
"docs": {
|
|
244
|
-
"tags": [],
|
|
245
|
-
"text": "Tooltip text."
|
|
246
|
-
},
|
|
247
|
-
"attribute": "tooltip",
|
|
248
|
-
"reflect": true
|
|
249
|
-
},
|
|
250
|
-
"defaultValue": {
|
|
251
|
-
"type": "any",
|
|
252
|
-
"mutable": false,
|
|
253
|
-
"complexType": {
|
|
254
|
-
"original": "any",
|
|
255
|
-
"resolved": "any",
|
|
256
|
-
"references": {}
|
|
257
|
-
},
|
|
258
|
-
"required": false,
|
|
259
|
-
"optional": false,
|
|
260
|
-
"docs": {
|
|
261
|
-
"tags": [],
|
|
262
|
-
"text": "Default value for the input."
|
|
263
|
-
},
|
|
264
|
-
"attribute": "default-value",
|
|
265
|
-
"reflect": true
|
|
266
|
-
},
|
|
267
|
-
"emitValue": {
|
|
268
|
-
"type": "boolean",
|
|
269
|
-
"mutable": false,
|
|
270
|
-
"complexType": {
|
|
271
|
-
"original": "boolean",
|
|
272
|
-
"resolved": "boolean",
|
|
273
|
-
"references": {}
|
|
274
|
-
},
|
|
275
|
-
"required": false,
|
|
276
|
-
"optional": false,
|
|
277
|
-
"docs": {
|
|
278
|
-
"tags": [],
|
|
279
|
-
"text": "State passed down from the parent element. Will trigger the child specialised input to send it's value through an event."
|
|
280
|
-
},
|
|
281
|
-
"attribute": "emit-value",
|
|
282
|
-
"reflect": true
|
|
283
|
-
},
|
|
284
|
-
"isDuplicateInput": {
|
|
285
|
-
"type": "boolean",
|
|
286
|
-
"mutable": false,
|
|
287
|
-
"complexType": {
|
|
288
|
-
"original": "boolean",
|
|
289
|
-
"resolved": "boolean",
|
|
290
|
-
"references": {}
|
|
291
|
-
},
|
|
292
|
-
"required": false,
|
|
293
|
-
"optional": false,
|
|
294
|
-
"docs": {
|
|
295
|
-
"tags": [],
|
|
296
|
-
"text": "Boolean that triggers certain validation rules, for duplicated inputs."
|
|
297
|
-
},
|
|
298
|
-
"attribute": "is-duplicate-input",
|
|
299
|
-
"reflect": true
|
|
300
|
-
},
|
|
301
|
-
"clientStyling": {
|
|
302
|
-
"type": "any",
|
|
303
|
-
"mutable": false,
|
|
304
|
-
"complexType": {
|
|
305
|
-
"original": "any",
|
|
306
|
-
"resolved": "any",
|
|
307
|
-
"references": {}
|
|
308
|
-
},
|
|
309
|
-
"required": false,
|
|
310
|
-
"optional": false,
|
|
311
|
-
"docs": {
|
|
312
|
-
"tags": [],
|
|
313
|
-
"text": "Client custom styling via inline style"
|
|
314
|
-
},
|
|
315
|
-
"attribute": "client-styling",
|
|
316
|
-
"reflect": true,
|
|
317
|
-
"defaultValue": "''"
|
|
318
|
-
},
|
|
319
|
-
"dateFormat": {
|
|
320
|
-
"type": "string",
|
|
321
|
-
"mutable": false,
|
|
322
|
-
"complexType": {
|
|
323
|
-
"original": "string",
|
|
324
|
-
"resolved": "string",
|
|
325
|
-
"references": {}
|
|
326
|
-
},
|
|
327
|
-
"required": false,
|
|
328
|
-
"optional": false,
|
|
329
|
-
"docs": {
|
|
330
|
-
"tags": [],
|
|
331
|
-
"text": "Date format for date picker."
|
|
332
|
-
},
|
|
333
|
-
"attribute": "date-format",
|
|
334
|
-
"reflect": true
|
|
335
|
-
},
|
|
336
|
-
"translationUrl": {
|
|
337
|
-
"type": "string",
|
|
338
|
-
"mutable": false,
|
|
339
|
-
"complexType": {
|
|
340
|
-
"original": "string",
|
|
341
|
-
"resolved": "string",
|
|
342
|
-
"references": {}
|
|
343
|
-
},
|
|
344
|
-
"required": false,
|
|
345
|
-
"optional": false,
|
|
346
|
-
"docs": {
|
|
347
|
-
"tags": [],
|
|
348
|
-
"text": "Translations via URL"
|
|
349
|
-
},
|
|
350
|
-
"attribute": "translation-url",
|
|
351
|
-
"reflect": true,
|
|
352
|
-
"defaultValue": "''"
|
|
353
|
-
},
|
|
354
|
-
"emitOnClick": {
|
|
355
|
-
"type": "boolean",
|
|
356
|
-
"mutable": false,
|
|
357
|
-
"complexType": {
|
|
358
|
-
"original": "boolean",
|
|
359
|
-
"resolved": "boolean",
|
|
360
|
-
"references": {}
|
|
361
|
-
},
|
|
362
|
-
"required": false,
|
|
363
|
-
"optional": false,
|
|
364
|
-
"docs": {
|
|
365
|
-
"tags": [],
|
|
366
|
-
"text": "Emit event on click"
|
|
367
|
-
},
|
|
368
|
-
"attribute": "emit-on-click",
|
|
369
|
-
"reflect": true,
|
|
370
|
-
"defaultValue": "false"
|
|
371
|
-
}
|
|
372
|
-
}; }
|
|
373
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
*,
|
|
2
|
-
*::before,
|
|
3
|
-
*::after {
|
|
4
|
-
padding: 0;
|
|
5
|
-
margin: 0;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.number {
|
|
10
|
-
font-family: "Roboto";
|
|
11
|
-
font-style: normal;
|
|
12
|
-
}
|
|
13
|
-
.number__wrapper {
|
|
14
|
-
position: relative;
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
|
-
.number__wrapper--autofilled {
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
}
|
|
20
|
-
.number__wrapper--autofilled .number__label {
|
|
21
|
-
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
22
|
-
}
|
|
23
|
-
.number__wrapper--autofilled .number__input {
|
|
24
|
-
color: var(--emfe-w-color-black, #000000);
|
|
25
|
-
}
|
|
26
|
-
.number__wrapper--flex {
|
|
27
|
-
display: flex;
|
|
28
|
-
gap: 5px;
|
|
29
|
-
}
|
|
30
|
-
.number__wrapper--relative {
|
|
31
|
-
position: relative;
|
|
32
|
-
}
|
|
33
|
-
.number__label {
|
|
34
|
-
font-family: inherit;
|
|
35
|
-
font-style: normal;
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
font-size: 16px;
|
|
38
|
-
line-height: 20px;
|
|
39
|
-
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
40
|
-
}
|
|
41
|
-
.number__label--required::after {
|
|
42
|
-
content: "*";
|
|
43
|
-
font-family: inherit;
|
|
44
|
-
color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
45
|
-
margin-left: 2px;
|
|
46
|
-
}
|
|
47
|
-
.number__input {
|
|
48
|
-
font-family: inherit;
|
|
49
|
-
border-radius: 5px;
|
|
50
|
-
width: 100%;
|
|
51
|
-
height: 44px;
|
|
52
|
-
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
53
|
-
color: var(--emfe-w-color-black, #000000);
|
|
54
|
-
border-radius: 5px;
|
|
55
|
-
box-sizing: border-box;
|
|
56
|
-
padding: 5px 15px;
|
|
57
|
-
font-size: 16px;
|
|
58
|
-
line-height: 18px;
|
|
59
|
-
position: relative;
|
|
60
|
-
/* Firefox */
|
|
61
|
-
-moz-appearance: textfield;
|
|
62
|
-
/* Chrome, Safari, Edge, Opera */
|
|
63
|
-
}
|
|
64
|
-
.number__input:focus {
|
|
65
|
-
outline-color: #3E3E3E;
|
|
66
|
-
}
|
|
67
|
-
.number__input::-webkit-outer-spin-button, .number__input::-webkit-inner-spin-button {
|
|
68
|
-
-webkit-appearance: none;
|
|
69
|
-
margin: 0;
|
|
70
|
-
}
|
|
71
|
-
.number__input--invalid {
|
|
72
|
-
border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
73
|
-
}
|
|
74
|
-
.number__input::placeholder {
|
|
75
|
-
color: #979797;
|
|
76
|
-
}
|
|
77
|
-
.number__error-message {
|
|
78
|
-
position: absolute;
|
|
79
|
-
top: calc(100% + 5px);
|
|
80
|
-
left: 0;
|
|
81
|
-
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
82
|
-
}
|
|
83
|
-
.number__tooltip-icon {
|
|
84
|
-
width: 16px;
|
|
85
|
-
height: auto;
|
|
86
|
-
}
|
|
87
|
-
.number__tooltip {
|
|
88
|
-
position: absolute;
|
|
89
|
-
top: 0;
|
|
90
|
-
left: 20px;
|
|
91
|
-
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
92
|
-
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
93
|
-
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
94
|
-
padding: 10px;
|
|
95
|
-
border-radius: 5px;
|
|
96
|
-
opacity: 0;
|
|
97
|
-
transition: opacity 0.3s ease-in-out;
|
|
98
|
-
z-index: 10;
|
|
99
|
-
}
|
|
100
|
-
.number__tooltip.visible {
|
|
101
|
-
opacity: 1;
|
|
102
|
-
}
|