@unicef-polymer/etools-form-builder 2.1.8 → 3.0.0-rc.1
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 +674 -674
- package/README.md +1 -1
- package/dist/assets/translations.d.ts +6 -6
- package/dist/assets/translations.js +67 -67
- package/dist/form-attachments-popup/form-attachments-popup.d.ts +84 -86
- package/dist/form-attachments-popup/form-attachments-popup.helper.d.ts +8 -8
- package/dist/form-attachments-popup/form-attachments-popup.helper.js +14 -14
- package/dist/form-attachments-popup/form-attachments-popup.js +249 -255
- package/dist/form-attachments-popup/form-attachments-popup.tpl.d.ts +7 -3
- package/dist/form-attachments-popup/form-attachments-popup.tpl.js +102 -91
- package/dist/form-attachments-popup/index.d.ts +2 -2
- package/dist/form-attachments-popup/index.js +2 -2
- package/dist/form-fields/abstract-field-base.class.d.ts +33 -33
- package/dist/form-fields/abstract-field-base.class.js +209 -213
- package/dist/form-fields/field-renderer-component.d.ts +20 -20
- package/dist/form-fields/field-renderer-component.js +251 -255
- package/dist/form-fields/index.d.ts +12 -12
- package/dist/form-fields/index.js +12 -12
- package/dist/form-fields/repeatable-fields/repeatable-attachment-field.d.ts +19 -17
- package/dist/form-fields/repeatable-fields/repeatable-attachment-field.js +212 -209
- package/dist/form-fields/repeatable-fields/repeatable-base-field.d.ts +21 -20
- package/dist/form-fields/repeatable-fields/repeatable-base-field.js +121 -124
- package/dist/form-fields/repeatable-fields/repeatable-number-field.d.ts +10 -10
- package/dist/form-fields/repeatable-fields/repeatable-number-field.js +63 -67
- package/dist/form-fields/repeatable-fields/repeatable-scale-field.d.ts +15 -15
- package/dist/form-fields/repeatable-fields/repeatable-scale-field.js +106 -108
- package/dist/form-fields/repeatable-fields/repeatable-text-field.d.ts +8 -8
- package/dist/form-fields/repeatable-fields/repeatable-text-field.js +49 -53
- package/dist/form-fields/single-fields/attachment-field.d.ts +16 -16
- package/dist/form-fields/single-fields/attachment-field.js +94 -98
- package/dist/form-fields/single-fields/base-field.d.ts +11 -11
- package/dist/form-fields/single-fields/base-field.js +53 -58
- package/dist/form-fields/single-fields/boolean-field.d.ts +8 -8
- package/dist/form-fields/single-fields/boolean-field.js +45 -49
- package/dist/form-fields/single-fields/number-field.d.ts +10 -10
- package/dist/form-fields/single-fields/number-field.js +63 -67
- package/dist/form-fields/single-fields/scale-field.d.ts +18 -18
- package/dist/form-fields/single-fields/scale-field.js +109 -108
- package/dist/form-fields/single-fields/text-field.d.ts +8 -8
- package/dist/form-fields/single-fields/text-field.js +49 -54
- package/dist/form-groups/form-abstract-group.d.ts +71 -71
- package/dist/form-groups/form-abstract-group.js +396 -398
- package/dist/form-groups/form-card.d.ts +35 -32
- package/dist/form-groups/form-card.js +115 -113
- package/dist/form-groups/form-collapsed-card.d.ts +72 -71
- package/dist/form-groups/form-collapsed-card.js +261 -259
- package/dist/form-groups/index.d.ts +3 -3
- package/dist/form-groups/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/lib/additional-components/confirmation-dialog.d.ts +18 -18
- package/dist/lib/additional-components/confirmation-dialog.js +68 -72
- package/dist/lib/additional-components/etools-fb-card.d.ts +21 -21
- package/dist/lib/additional-components/etools-fb-card.js +242 -239
- package/dist/lib/styles/attachments.styles.d.ts +2 -2
- package/dist/lib/styles/attachments.styles.js +72 -72
- package/dist/lib/styles/card-styles.d.ts +2 -2
- package/dist/lib/styles/card-styles.js +154 -154
- package/dist/lib/styles/dialog.styles.d.ts +2 -2
- package/dist/lib/styles/dialog.styles.js +85 -85
- package/dist/lib/styles/elevation-styles.d.ts +9 -9
- package/dist/lib/styles/elevation-styles.js +43 -43
- package/dist/lib/styles/flex-layout-classes.d.ts +2 -2
- package/dist/lib/styles/flex-layout-classes.js +319 -319
- package/dist/lib/styles/form-builder-card.styles.d.ts +2 -2
- package/dist/lib/styles/form-builder-card.styles.js +49 -49
- package/dist/lib/styles/input-styles.d.ts +2 -2
- package/dist/lib/styles/input-styles.js +138 -138
- package/dist/lib/styles/page-layout-styles.d.ts +2 -2
- package/dist/lib/styles/page-layout-styles.js +201 -201
- package/dist/lib/styles/shared-styles.d.ts +2 -2
- package/dist/lib/styles/shared-styles.js +70 -70
- package/dist/lib/types/form-builder.interfaces.d.ts +83 -83
- package/dist/lib/types/form-builder.interfaces.js +1 -0
- package/dist/lib/types/form-builder.types.d.ts +59 -59
- package/dist/lib/types/form-builder.types.js +1 -0
- package/dist/lib/types/global.types.d.ts +4 -4
- package/dist/lib/types/global.types.js +1 -0
- package/dist/lib/utils/dialog.d.ts +10 -10
- package/dist/lib/utils/dialog.js +21 -21
- package/dist/lib/utils/fire-custom-event.d.ts +1 -1
- package/dist/lib/utils/fire-custom-event.js +7 -7
- package/dist/lib/utils/translate.d.ts +1 -1
- package/dist/lib/utils/translate.js +9 -9
- package/dist/lib/utils/validations.helper.d.ts +26 -26
- package/dist/lib/utils/validations.helper.js +42 -42
- package/package.json +51 -56
|
@@ -1,124 +1,121 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
this.
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
this.
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
this.
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
this.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
errorMessage =
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
this.editedValues
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
this.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
this.
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
if (this.
|
|
96
|
-
this.editedValues = Array.isArray(this.value) && this.value.length ? this.value : [null];
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
__decorate([
|
|
120
|
-
property()
|
|
121
|
-
], RepeatableBaseField.prototype, "
|
|
122
|
-
__decorate([
|
|
123
|
-
property()
|
|
124
|
-
], RepeatableBaseField.prototype, "editedValues", void 0);
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, html } from 'lit';
|
|
3
|
+
import { property } from 'lit/decorators.js';
|
|
4
|
+
import '@unicef-polymer/etools-unicef/src/etools-icon-button/etools-icon-button';
|
|
5
|
+
import { AbstractFieldBaseClass } from '../abstract-field-base.class';
|
|
6
|
+
import { fireEvent } from '../../lib/utils/fire-custom-event';
|
|
7
|
+
import { getTranslation } from '../../lib/utils/translate';
|
|
8
|
+
export class RepeatableBaseField extends AbstractFieldBaseClass {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this._errorMessage = [];
|
|
12
|
+
this.editedValues = null;
|
|
13
|
+
}
|
|
14
|
+
set errorMessage(messages) {
|
|
15
|
+
this._errorMessage = messages || [];
|
|
16
|
+
}
|
|
17
|
+
get errorMessage() {
|
|
18
|
+
return this.isReadonly ? [] : this._errorMessage;
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
const values = this.getValues();
|
|
22
|
+
return html `
|
|
23
|
+
<div class="finding-container">
|
|
24
|
+
<div class="question layout start"><slot>${this.questionTemplate()}</slot></div>
|
|
25
|
+
<div class="question-control layout vertical center-justified start">
|
|
26
|
+
${values.map((value, index) => html `<div class="layout horizontal center full-width">
|
|
27
|
+
${this.controlTemplate(value, index)}
|
|
28
|
+
<etools-icon-button
|
|
29
|
+
name="close"
|
|
30
|
+
?hidden="${this.isReadonly || values.length < 2}"
|
|
31
|
+
@click="${() => this.removeControl(index)}"
|
|
32
|
+
></etools-icon-button>
|
|
33
|
+
</div>`)}
|
|
34
|
+
<sl-button variant="primary" class="add-button" ?hidden="${this.isReadonly}" @click="${this.addNewField}">
|
|
35
|
+
${getTranslation(this.language, 'ADD')}
|
|
36
|
+
</sl-button>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
`;
|
|
40
|
+
}
|
|
41
|
+
questionTemplate() {
|
|
42
|
+
return html `<span class="question-text">${this.questionText}</span>`;
|
|
43
|
+
}
|
|
44
|
+
valueChanged(newValue, index) {
|
|
45
|
+
if (!this.isReadonly) {
|
|
46
|
+
this.validateField(newValue, index);
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this._errorMessage = [];
|
|
50
|
+
}
|
|
51
|
+
if (this.editedValues && newValue !== this.editedValues[index]) {
|
|
52
|
+
this.editedValues[index] = newValue;
|
|
53
|
+
this.setValue(this.editedValues);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
setValue(value) {
|
|
57
|
+
this.editedValues = value;
|
|
58
|
+
this.value = value.filter((value) => Boolean(value));
|
|
59
|
+
fireEvent(this, 'value-changed', { value: this.value });
|
|
60
|
+
}
|
|
61
|
+
validateField(value, index) {
|
|
62
|
+
if (this.isArrayData(value)) {
|
|
63
|
+
return value.forEach((item, index) => this.validateField(item, index));
|
|
64
|
+
}
|
|
65
|
+
let errorMessage;
|
|
66
|
+
if (this.required && !value && value !== null && typeof value !== 'number') {
|
|
67
|
+
errorMessage = getTranslation(this.language, 'REQUIRED_FIELD');
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
errorMessage = this.metaValidation(value);
|
|
71
|
+
}
|
|
72
|
+
const oldError = (this._errorMessage || [])[index] || null;
|
|
73
|
+
if (oldError !== errorMessage) {
|
|
74
|
+
const errors = this.editedValues.map((_, index) => (this._errorMessage && this._errorMessage[index]) || null);
|
|
75
|
+
errors.splice(index, 1, errorMessage);
|
|
76
|
+
const newErrors = errors.some((error) => error !== null) ? errors : null;
|
|
77
|
+
fireEvent(this, 'error-changed', { error: newErrors });
|
|
78
|
+
this._errorMessage = errors;
|
|
79
|
+
this.requestUpdate();
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
addNewField() {
|
|
83
|
+
this.editedValues = [...this.editedValues, null];
|
|
84
|
+
}
|
|
85
|
+
removeControl(index) {
|
|
86
|
+
this.editedValues.splice(index, 1);
|
|
87
|
+
this.value = this.editedValues.filter((value) => Boolean(value));
|
|
88
|
+
fireEvent(this, 'value-changed', { value: this.value });
|
|
89
|
+
this.requestUpdate();
|
|
90
|
+
}
|
|
91
|
+
getValues() {
|
|
92
|
+
if (this.isReadonly) {
|
|
93
|
+
this.editedValues = Array.isArray(this.value) && this.value.length ? this.value : [null];
|
|
94
|
+
}
|
|
95
|
+
else if (!this.editedValues) {
|
|
96
|
+
this.editedValues = Array.isArray(this.value) && this.value.length ? this.value : [null];
|
|
97
|
+
}
|
|
98
|
+
return this.editedValues || [null];
|
|
99
|
+
}
|
|
100
|
+
isArrayData(value) {
|
|
101
|
+
return Array.isArray(value);
|
|
102
|
+
}
|
|
103
|
+
static get styles() {
|
|
104
|
+
// language=CSS
|
|
105
|
+
return [
|
|
106
|
+
...AbstractFieldBaseClass.styles,
|
|
107
|
+
css `
|
|
108
|
+
:host(:not([is-readonly])) .question-control,
|
|
109
|
+
:host(:not([is-readonly])) .question {
|
|
110
|
+
padding-bottom: 10px;
|
|
111
|
+
}
|
|
112
|
+
`
|
|
113
|
+
];
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
__decorate([
|
|
117
|
+
property()
|
|
118
|
+
], RepeatableBaseField.prototype, "_errorMessage", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
property()
|
|
121
|
+
], RepeatableBaseField.prototype, "editedValues", void 0);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CSSResultArray, TemplateResult } from 'lit
|
|
2
|
-
import '@polymer/
|
|
3
|
-
import { RepeatableBaseField } from './repeatable-base-field';
|
|
4
|
-
export declare class RepeatableNumberField extends RepeatableBaseField<number> {
|
|
5
|
-
isInteger: boolean;
|
|
6
|
-
protected controlTemplate(value: number | null, index: number): TemplateResult;
|
|
7
|
-
protected valueChanged(newValue: number, index: number): void;
|
|
8
|
-
protected customValidation(value: number): string | null;
|
|
9
|
-
static get styles(): CSSResultArray;
|
|
10
|
-
}
|
|
1
|
+
import { CSSResultArray, TemplateResult } from 'lit';
|
|
2
|
+
import '@unicef-polymer/etools-unicef/src/etools-input/etools-input';
|
|
3
|
+
import { RepeatableBaseField } from './repeatable-base-field';
|
|
4
|
+
export declare class RepeatableNumberField extends RepeatableBaseField<number> {
|
|
5
|
+
isInteger: boolean;
|
|
6
|
+
protected controlTemplate(value: number | null, index: number): TemplateResult;
|
|
7
|
+
protected valueChanged(newValue: number, index: number): void;
|
|
8
|
+
protected customValidation(value: number): string | null;
|
|
9
|
+
static get styles(): CSSResultArray;
|
|
10
|
+
}
|
|
@@ -1,67 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
import {
|
|
8
|
-
import '
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
return
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
};
|
|
64
|
-
RepeatableNumberField = __decorate([
|
|
65
|
-
customElement('repeatable-number-field')
|
|
66
|
-
], RepeatableNumberField);
|
|
67
|
-
export { RepeatableNumberField };
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, html } from 'lit';
|
|
3
|
+
import { customElement } from 'lit/decorators.js';
|
|
4
|
+
import '@unicef-polymer/etools-unicef/src/etools-input/etools-input';
|
|
5
|
+
import { InputStyles } from '../../lib/styles/input-styles';
|
|
6
|
+
import { RepeatableBaseField } from './repeatable-base-field';
|
|
7
|
+
import { AbstractFieldBaseClass } from '../abstract-field-base.class';
|
|
8
|
+
import { getTranslation } from '../../lib/utils/translate';
|
|
9
|
+
let RepeatableNumberField = class RepeatableNumberField extends RepeatableBaseField {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.isInteger = false;
|
|
13
|
+
}
|
|
14
|
+
controlTemplate(value, index) {
|
|
15
|
+
return html `
|
|
16
|
+
${InputStyles}
|
|
17
|
+
<etools-input
|
|
18
|
+
class="no-padding-left"
|
|
19
|
+
no-label-float
|
|
20
|
+
placeholder="${this.isReadonly ? '—' : this.placeholder}"
|
|
21
|
+
.value="${value}"
|
|
22
|
+
@value-changed="${({ detail }) => this.valueChanged(detail.value, index)}"
|
|
23
|
+
placeholder="—"
|
|
24
|
+
?invalid="${this.errorMessage[index]}"
|
|
25
|
+
error-message="${this.errorMessage[index]}"
|
|
26
|
+
?readonly="${this.isReadonly}"
|
|
27
|
+
>
|
|
28
|
+
</etools-input>
|
|
29
|
+
`;
|
|
30
|
+
}
|
|
31
|
+
valueChanged(newValue, index) {
|
|
32
|
+
const formatted = Number(newValue);
|
|
33
|
+
const isNumber = !isNaN(formatted) && `${newValue}` !== '' && `${newValue}` !== 'null';
|
|
34
|
+
super.valueChanged(isNumber ? formatted : newValue, index);
|
|
35
|
+
}
|
|
36
|
+
customValidation(value) {
|
|
37
|
+
if (!value) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
if (isNaN(value)) {
|
|
41
|
+
return getTranslation(this.language, 'MUST_BE_NUMBER');
|
|
42
|
+
}
|
|
43
|
+
const integerValidation = !this.isInteger || value - Math.floor(value) === 0;
|
|
44
|
+
return integerValidation ? null : getTranslation(this.language, 'MUST_BE_INTEGER');
|
|
45
|
+
}
|
|
46
|
+
static get styles() {
|
|
47
|
+
// language=CSS
|
|
48
|
+
return [
|
|
49
|
+
...AbstractFieldBaseClass.styles,
|
|
50
|
+
css `
|
|
51
|
+
@media (max-width: 380px) {
|
|
52
|
+
.no-padding-left {
|
|
53
|
+
padding-left: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
`
|
|
57
|
+
];
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
RepeatableNumberField = __decorate([
|
|
61
|
+
customElement('repeatable-number-field')
|
|
62
|
+
], RepeatableNumberField);
|
|
63
|
+
export { RepeatableNumberField };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '@
|
|
3
|
-
import '@
|
|
4
|
-
import
|
|
5
|
-
import { RepeatableBaseField } from './repeatable-base-field';
|
|
6
|
-
import { FieldOption } from '..';
|
|
7
|
-
export declare class RepeatableScaleField extends RepeatableBaseField<string | number | null> {
|
|
8
|
-
options: (FieldOption | string | number)[];
|
|
9
|
-
protected controlTemplate(value: string | null, index: number): TemplateResult;
|
|
10
|
-
protected onSelect(
|
|
11
|
-
protected getLabel(option: FieldOption | string | number): unknown;
|
|
12
|
-
protected getValue(option: FieldOption | string | number): unknown;
|
|
13
|
-
protected customValidation(): string | null;
|
|
14
|
-
static get styles(): CSSResultArray;
|
|
15
|
-
}
|
|
1
|
+
import { CSSResultArray, TemplateResult } from 'lit';
|
|
2
|
+
import '@shoelace-style/shoelace/dist/components/radio-group/radio-group.js';
|
|
3
|
+
import '@shoelace-style/shoelace/dist/components/radio/radio.js';
|
|
4
|
+
import '@shoelace-style/shoelace/dist/components/button/button.js';
|
|
5
|
+
import { RepeatableBaseField } from './repeatable-base-field';
|
|
6
|
+
import { FieldOption } from '..';
|
|
7
|
+
export declare class RepeatableScaleField extends RepeatableBaseField<string | number | null> {
|
|
8
|
+
options: (FieldOption | string | number)[];
|
|
9
|
+
protected controlTemplate(value: string | null, index: number): TemplateResult;
|
|
10
|
+
protected onSelect(itemValue: string, index: number): void;
|
|
11
|
+
protected getLabel(option: FieldOption | string | number): unknown;
|
|
12
|
+
protected getValue(option: FieldOption | string | number): unknown;
|
|
13
|
+
protected customValidation(): string | null;
|
|
14
|
+
static get styles(): CSSResultArray;
|
|
15
|
+
}
|