@ember-eui/validated-form 9.0.0 → 9.0.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/package.json +3 -3
- package/declarations/-private/random-id.d.ts +0 -9
- package/declarations/-private/random-id.d.ts.map +0 -1
- package/declarations/components/validated-form/field-base/index.d.ts +0 -37
- package/declarations/components/validated-form/field-base/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-base.d.ts +0 -58
- package/declarations/components/validated-form/field-base.d.ts.map +0 -1
- package/declarations/components/validated-form/field-checkbox-group/index.d.ts +0 -8
- package/declarations/components/validated-form/field-checkbox-group/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-checkbox-group.d.ts +0 -30
- package/declarations/components/validated-form/field-checkbox-group.d.ts.map +0 -1
- package/declarations/components/validated-form/field-combo-box/index.d.ts +0 -5
- package/declarations/components/validated-form/field-combo-box/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-combo-box.d.ts +0 -27
- package/declarations/components/validated-form/field-combo-box.d.ts.map +0 -1
- package/declarations/components/validated-form/field-dual-range-slider/index.d.ts +0 -5
- package/declarations/components/validated-form/field-dual-range-slider/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-dual-range-slider.d.ts +0 -32
- package/declarations/components/validated-form/field-dual-range-slider.d.ts.map +0 -1
- package/declarations/components/validated-form/field-markdown-editor/index.d.ts +0 -5
- package/declarations/components/validated-form/field-markdown-editor/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-markdown-editor.d.ts +0 -25
- package/declarations/components/validated-form/field-markdown-editor.d.ts.map +0 -1
- package/declarations/components/validated-form/field-number/index.d.ts +0 -4
- package/declarations/components/validated-form/field-number/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-number.d.ts +0 -24
- package/declarations/components/validated-form/field-number.d.ts.map +0 -1
- package/declarations/components/validated-form/field-password/index.d.ts +0 -4
- package/declarations/components/validated-form/field-password/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-password.d.ts +0 -24
- package/declarations/components/validated-form/field-password.d.ts.map +0 -1
- package/declarations/components/validated-form/field-radio-group/index.d.ts +0 -8
- package/declarations/components/validated-form/field-radio-group/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-radio-group.d.ts +0 -29
- package/declarations/components/validated-form/field-radio-group.d.ts.map +0 -1
- package/declarations/components/validated-form/field-range-slider/index.d.ts +0 -4
- package/declarations/components/validated-form/field-range-slider/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-range-slider.d.ts +0 -28
- package/declarations/components/validated-form/field-range-slider.d.ts.map +0 -1
- package/declarations/components/validated-form/field-select/index.d.ts +0 -4
- package/declarations/components/validated-form/field-select/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-select.d.ts +0 -23
- package/declarations/components/validated-form/field-select.d.ts.map +0 -1
- package/declarations/components/validated-form/field-switch/index.d.ts +0 -5
- package/declarations/components/validated-form/field-switch/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-switch.d.ts +0 -24
- package/declarations/components/validated-form/field-switch.d.ts.map +0 -1
- package/declarations/components/validated-form/field-text/index.d.ts +0 -4
- package/declarations/components/validated-form/field-text/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-text-area/index.d.ts +0 -4
- package/declarations/components/validated-form/field-text-area/index.d.ts.map +0 -1
- package/declarations/components/validated-form/field-text-area.d.ts +0 -29
- package/declarations/components/validated-form/field-text-area.d.ts.map +0 -1
- package/declarations/components/validated-form/field-text.d.ts +0 -22
- package/declarations/components/validated-form/field-text.d.ts.map +0 -1
- package/declarations/components/validated-form/index.d.ts +0 -30
- package/declarations/components/validated-form/index.d.ts.map +0 -1
- package/declarations/components/validated-form.d.ts +0 -108
- package/declarations/components/validated-form.d.ts.map +0 -1
- package/declarations/utils/build-validation-messages.d.ts +0 -13
- package/declarations/utils/build-validation-messages.d.ts.map +0 -1
- package/declarations/utils/get-messages.d.ts +0 -11
- package/declarations/utils/get-messages.d.ts.map +0 -1
- package/declarations/utils/validation-errors.d.ts +0 -2
- package/declarations/utils/validation-errors.d.ts.map +0 -1
- package/declarations/utils/with-defaults.d.ts +0 -10
- package/declarations/utils/with-defaults.d.ts.map +0 -1
- package/declarations/validators/messages.d.ts +0 -4
- package/declarations/validators/messages.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-eui/validated-form",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "The default blueprint for ember-cli addons.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"decorator-transforms": "^1.0.3"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@ember-eui/core": "^9.0.
|
|
43
|
+
"@ember-eui/core": "^9.0.1",
|
|
44
44
|
"@glimmer/component": "^1.1.2",
|
|
45
45
|
"@glimmer/tracking": "^1.1.2",
|
|
46
46
|
"ember-source": "^3.28.0 || >=4.0.0"
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"rollup-plugin-ts": "^3.0.2",
|
|
107
107
|
"typescript": "~5.0.3",
|
|
108
108
|
"webpack": "^5.89.0",
|
|
109
|
-
"@ember-eui/core": "9.0.
|
|
109
|
+
"@ember-eui/core": "9.0.1"
|
|
110
110
|
},
|
|
111
111
|
"engines": {
|
|
112
112
|
"node": "12.* || 14.* || >= 16"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const _default: import("@ember/component/helper").FunctionBasedHelper<{
|
|
2
|
-
Args: {
|
|
3
|
-
Positional: unknown[];
|
|
4
|
-
Named: import("@ember/component/helper").EmptyObject;
|
|
5
|
-
};
|
|
6
|
-
Return: any;
|
|
7
|
-
}>;
|
|
8
|
-
export default _default;
|
|
9
|
-
//# sourceMappingURL=random-id.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"random-id.d.ts","sourceRoot":"","sources":["../../src/-private/random-id.js"],"names":[],"mappings":""}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export default class ValidatedFormFieldBase extends Component<any> {
|
|
2
|
-
constructor(...args: any[]);
|
|
3
|
-
validationProperty: string;
|
|
4
|
-
lastIsValid: any;
|
|
5
|
-
lastIsTouched: any;
|
|
6
|
-
_validationErrorMessages: null;
|
|
7
|
-
isTouched: boolean;
|
|
8
|
-
get validations(): any;
|
|
9
|
-
get hasErrorMessages(): any;
|
|
10
|
-
get isValid(): boolean;
|
|
11
|
-
get isInvalid(): any;
|
|
12
|
-
get isInvalidAndTouched(): any;
|
|
13
|
-
set formHasBeenValidated(arg: boolean);
|
|
14
|
-
get formHasBeenValidated(): boolean;
|
|
15
|
-
get customValidations(): any;
|
|
16
|
-
get rowExtra(): any;
|
|
17
|
-
get label(): any;
|
|
18
|
-
get error(): any;
|
|
19
|
-
get options(): any;
|
|
20
|
-
get validationErrorMessages(): any[] | null;
|
|
21
|
-
setValidationMessages(): void;
|
|
22
|
-
didUpdateValue(): void;
|
|
23
|
-
notifyValidityChange(): void;
|
|
24
|
-
setIsTouched(val: any): void;
|
|
25
|
-
/**
|
|
26
|
-
* This is just a default handleChange, you should override this method
|
|
27
|
-
* if you need to or use whatever mechanism to bubble the changed
|
|
28
|
-
* value outside and then notifyValidityChanges
|
|
29
|
-
*
|
|
30
|
-
* @override
|
|
31
|
-
* @param {*} e
|
|
32
|
-
*/
|
|
33
|
-
override handleChange(e: any): void;
|
|
34
|
-
willDestroy(...args: any[]): void;
|
|
35
|
-
}
|
|
36
|
-
import Component from '@glimmer/component';
|
|
37
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-base/index.js"],"names":[],"mappings":"AASA;IA+EE,4BAGC;IAjFD,2BAAkC;IAGlC,iBAAY;IACZ,mBAAc;IAEd,+BAAyC;IAEzC,mBAA2B;IAE3B,uBAEC;IAED,4BAEC;IAED,uBAEC;IAED,qBAEC;IAED,+BAEC;IAMD,uCAEC;IAND,oCAEC;IAMD,6BAEC;IAED,oBAEC;IAED,iBAEC;IAED,iBAEC;IAED,mBAEC;IAED,4CAkBC;IAQD,8BAMC;IAGD,uBAQC;IAED,6BAGC;IAED,6BAIC;IAED;;;;;;;OAOG;IACH,oCAKC;IAED,kCAGC;CACF;sBA/IqB,oBAAoB"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import type { ComponentLike } from '@glint/template';
|
|
3
|
-
export interface FieldBaseSignature<T = ComponentLike> {
|
|
4
|
-
Args: {
|
|
5
|
-
id?: string;
|
|
6
|
-
value: any;
|
|
7
|
-
label?: string;
|
|
8
|
-
error?: string[];
|
|
9
|
-
options?: any[];
|
|
10
|
-
validations?: any;
|
|
11
|
-
customValidations?: {
|
|
12
|
-
validation(value: any, options?: Record<string, unknown>): boolean;
|
|
13
|
-
}[];
|
|
14
|
-
rowClasses?: string;
|
|
15
|
-
rowExtra?: Record<string, unknown>;
|
|
16
|
-
onChange: (value: any) => void;
|
|
17
|
-
onValidityChange: (isValid: boolean) => void;
|
|
18
|
-
register: (field: T) => void;
|
|
19
|
-
unregister: (field: T) => void;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export default class ValidatedFormFieldBase<T extends FieldBaseSignature = FieldBaseSignature> extends Component<T> {
|
|
23
|
-
validationProperty: string;
|
|
24
|
-
lastIsValid?: boolean;
|
|
25
|
-
lastIsTouched?: boolean;
|
|
26
|
-
_validationErrorMessages: null | string[];
|
|
27
|
-
isTouched: boolean;
|
|
28
|
-
get validations(): {};
|
|
29
|
-
get hasErrorMessages(): number | boolean;
|
|
30
|
-
get isValid(): boolean;
|
|
31
|
-
get isInvalid(): number | boolean;
|
|
32
|
-
get isInvalidAndTouched(): boolean;
|
|
33
|
-
get formHasBeenValidated(): boolean;
|
|
34
|
-
set formHasBeenValidated(value: boolean);
|
|
35
|
-
get customValidations(): never[] | NonNullable<import("@glimmer/component/-private/component.js").Args<T>["customValidations"]>;
|
|
36
|
-
get rowClasses(): "" | NonNullable<import("@glimmer/component/-private/component.js").Args<T>["rowClasses"]>;
|
|
37
|
-
get rowExtra(): {};
|
|
38
|
-
get label(): "" | NonNullable<import("@glimmer/component/-private/component.js").Args<T>["label"]>;
|
|
39
|
-
get error(): never[] | NonNullable<import("@glimmer/component/-private/component.js").Args<T>["error"]>;
|
|
40
|
-
get options(): never[] | NonNullable<import("@glimmer/component/-private/component.js").Args<T>["options"]>;
|
|
41
|
-
get validationErrorMessages(): string[] | null;
|
|
42
|
-
constructor(owner: unknown, args: T['Args']);
|
|
43
|
-
setValidationMessages(): void;
|
|
44
|
-
didUpdateValue(): void;
|
|
45
|
-
notifyValidityChange(): void;
|
|
46
|
-
setIsTouched(val: boolean): void;
|
|
47
|
-
/**
|
|
48
|
-
* This is just a default handleChange, you should override this method
|
|
49
|
-
* if you need to or use whatever mechanism to bubble the changed
|
|
50
|
-
* value outside and then notifyValidityChanges
|
|
51
|
-
*
|
|
52
|
-
* @override
|
|
53
|
-
* @param {*} e
|
|
54
|
-
*/
|
|
55
|
-
handleChange(e: Event): void;
|
|
56
|
-
willDestroy(): void;
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=field-base.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-base.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-base.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,aAAa;IACnD,IAAI,EAAE;QACJ,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,GAAG,CAAC;QACX,KAAK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,IAAI,KAAK,0FAER;IAED,IAAI,KAAK,+FAER;IAED,IAAI,OAAO,iGAEV;IAED,IAAI,uBAAuB,oBAmB1B;gBAEW,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;IAO3C,qBAAqB;IASrB,cAAc;IAUd,oBAAoB;IAKpB,YAAY,CAAC,GAAG,EAAE,OAAO;IAKzB;;;;;;;OAOG;IAEH,YAAY,CAAC,CAAC,EAAE,KAAK;IAOrB,WAAW;CAUZ"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export default class ValidatedFormFieldCheckboxGroup extends ValidatedFormFieldBase {
|
|
2
|
-
get value(): any;
|
|
3
|
-
get arrayToMap(): any;
|
|
4
|
-
transformToMap(value?: any[]): any;
|
|
5
|
-
handleChange(optionId: any): void;
|
|
6
|
-
}
|
|
7
|
-
import ValidatedFormFieldBase from '../field-base';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-checkbox-group/index.js"],"names":[],"mappings":"AAIA;IACE,iBAGC;IAED,sBAGC;IAED,mCAMC;IAED,kCAiBC;CAsCF;mCA9EkC,eAAe"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiCheckboxGroupSignature } from '@ember-eui/core/components/eui-checkbox-group';
|
|
4
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
5
|
-
export interface FieldCheckboxGroupSignature {
|
|
6
|
-
Element: EuiCheckboxGroupSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiCheckboxGroupSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
};
|
|
16
|
-
Blocks: {
|
|
17
|
-
label: [...EuiFormRowSignature['Blocks']['label']];
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export default class ValidatedFormFieldCheckboxGroup extends ValidatedFormFieldBase<FieldCheckboxGroupSignature> {
|
|
21
|
-
get value(): string[];
|
|
22
|
-
get arrayToMap(): {
|
|
23
|
-
[key: string]: boolean;
|
|
24
|
-
};
|
|
25
|
-
transformToMap(value?: string[]): {
|
|
26
|
-
[key: string]: boolean;
|
|
27
|
-
};
|
|
28
|
-
handleChange(optionId: string): void;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=field-checkbox-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-checkbox-group.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-checkbox-group.ts"],"names":[],"mappings":"AAUA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;IAC9C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,yBAAyB,CAAC,MAAM,CAAC,GAAG;QAClC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;KACpD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,sBAAsB,CAAC,2BAA2B,CAAC;IAC9G,IAAI,KAAK,IAAI,MAAM,EAAE,CAIpB;IAED,IAAI,UAAU;;MAIb;IAED,cAAc,CAAC,KAAK,GAAE,MAAM,EAAO;;;IAenC,YAAY,CAAC,QAAQ,EAAE,MAAM;CAsD9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-combo-box/index.js"],"names":[],"mappings":"AAGA;IAGE,iCAIC;CA2CF;mCArDkC,eAAe"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiComboBoxSignature } from '@ember-eui/core/components/eui-combo-box';
|
|
4
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
5
|
-
export interface FieldComboBoxSignature {
|
|
6
|
-
Element: EuiComboBoxSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiComboBoxSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
options?: EuiComboBoxSignature['Args']['options'];
|
|
16
|
-
selectedOptions?: EuiComboBoxSignature['Args']['selectedOptions'];
|
|
17
|
-
};
|
|
18
|
-
Blocks: {
|
|
19
|
-
label: EuiFormRowSignature['Blocks']['label'];
|
|
20
|
-
default: EuiComboBoxSignature['Blocks']['default'];
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export default class ValidatedFormFieldComboBox extends ValidatedFormFieldBase<FieldComboBoxSignature> {
|
|
24
|
-
validationProperty: string;
|
|
25
|
-
handleChange(options: any[]): void;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=field-combo-box.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-combo-box.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-combo-box.ts"],"names":[],"mappings":"AAYA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACzC,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,oBAAoB,CAAC,MAAM,CAAC,GAAG;QAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;QAClD,eAAe,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAC,iBAAiB,CAAC,CAAC;KACnE,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;QAC9C,OAAO,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;KACpD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;IACpG,kBAAkB,SAA0B;IAI5C,YAAY,CAAC,OAAO,EAAE,GAAG,EAAE;CA8C5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-dual-range-slider/index.js"],"names":[],"mappings":"AAGA;IACE,2BAMC;CAyDF;mCAnEkC,eAAe"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiDualRangeSignature, ValueMember } from '@ember-eui/core/components/eui-dual-range';
|
|
4
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
5
|
-
export interface FieldDualRangeSliderSignature {
|
|
6
|
-
Element: EuiDualRangeSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiDualRangeSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
compressed?: boolean;
|
|
15
|
-
hasFocus?: boolean;
|
|
16
|
-
isLoading?: boolean;
|
|
17
|
-
readOnly?: boolean;
|
|
18
|
-
icon?: string;
|
|
19
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
20
|
-
};
|
|
21
|
-
Blocks: {
|
|
22
|
-
label: [];
|
|
23
|
-
prepend: [...EuiDualRangeSignature['Blocks']['prepend']];
|
|
24
|
-
min: [...EuiDualRangeSignature['Blocks']['min']];
|
|
25
|
-
append: [...EuiDualRangeSignature['Blocks']['append']];
|
|
26
|
-
max: [...EuiDualRangeSignature['Blocks']['max']];
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export default class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase<FieldDualRangeSliderSignature> {
|
|
30
|
-
handleChange(e: [ValueMember, ValueMember], _isValid: boolean, _event: Event): void;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=field-dual-range-slider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-dual-range-slider.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-dual-range-slider.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EACV,qBAAqB,EACrB,WAAW,EACZ,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC1C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,qBAAqB,CAAC,MAAM,CAAC,GAAG;QAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;KACpD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QACzD,GAAG,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACjD,MAAM,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;QACvD,GAAG,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;KAClD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,sBAAsB,CAAC,6BAA6B,CAAC;IAG9G,YAAY,CACV,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,EAC7B,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,KAAK;CAgEhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-markdown-editor/index.js"],"names":[],"mappings":"AAGA;IACE,6BAIC;CAgDF;mCAvDkC,eAAe"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
4
|
-
import type { EuiMarkdownEditorSignature } from '@ember-eui/core/components/eui-markdown-editor';
|
|
5
|
-
import type { ComponentLike } from '@glint/template';
|
|
6
|
-
export interface FieldMarkdownEditorSignature {
|
|
7
|
-
Element: EuiMarkdownEditorSignature['Element'];
|
|
8
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiMarkdownEditorSignature['Args'] & {
|
|
9
|
-
rowClasses?: string;
|
|
10
|
-
fieldClasses?: string;
|
|
11
|
-
formId?: string;
|
|
12
|
-
ariaLabel?: string;
|
|
13
|
-
autofocus?: boolean;
|
|
14
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
editorComponent?: ComponentLike;
|
|
17
|
-
};
|
|
18
|
-
Blocks: {
|
|
19
|
-
label: [...EuiFormRowSignature['Blocks']['label']];
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export default class ValidatedFormFieldMarkdownEditor extends ValidatedFormFieldBase<FieldMarkdownEditorSignature> {
|
|
23
|
-
handleChange(str: string): void;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=field-markdown-editor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-markdown-editor.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-markdown-editor.ts"],"names":[],"mappings":"AAYA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC/C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,0BAA0B,CAAC,MAAM,CAAC,GAAG;QACnC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,eAAe,CAAC,EAAE,aAAa,CAAA;KAChC,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;KACpD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,gCAAiC,SAAQ,sBAAsB,CAAC,4BAA4B,CAAC;IAGhH,YAAY,CAAC,GAAG,EAAE,MAAM;CAoDzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-number/index.js"],"names":[],"mappings":"AAEA;CAkDC;mCApDkC,eAAe"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFieldNumberSignature } from '@ember-eui/core/components/eui-field-number';
|
|
4
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
5
|
-
export interface FieldNumberSignature {
|
|
6
|
-
Element: EuiFieldNumberSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldNumberSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
};
|
|
16
|
-
Blocks: {
|
|
17
|
-
label: [...EuiFormRowSignature['Blocks']['label']];
|
|
18
|
-
prepend: [...EuiFieldNumberSignature['Blocks']['prepend']];
|
|
19
|
-
append: [...EuiFieldNumberSignature['Blocks']['append']];
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export default class ValidatedFormFieldNumber extends ValidatedFormFieldBase<FieldNumberSignature> {
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=field-number.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-number.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-number.ts"],"names":[],"mappings":"AAUA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,uBAAuB,CAAC,MAAM,CAAC,GAAG;QAChC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,OAAO,EAAE,CAAC,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QAC3D,MAAM,EAAE,CAAC,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC1D,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,sBAAsB,CAAC,oBAAoB,CAAC;CAkDjG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-password/index.js"],"names":[],"mappings":"AAEA;CAkDC;mCApDkC,eAAe"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFieldPasswordSignature } from '@ember-eui/core/components/eui-field-password';
|
|
4
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
5
|
-
export interface FieldPasswordSignature {
|
|
6
|
-
Element: EuiFieldPasswordSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldPasswordSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
};
|
|
16
|
-
Blocks: {
|
|
17
|
-
label: [...EuiFormRowSignature['Blocks']['label']];
|
|
18
|
-
prepend: [...EuiFieldPasswordSignature['Blocks']['prepend']];
|
|
19
|
-
append: [...EuiFieldPasswordSignature['Blocks']['append']];
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export default class ValidatedFormFieldPassword extends ValidatedFormFieldBase<FieldPasswordSignature> {
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=field-password.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-password.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-password.ts"],"names":[],"mappings":"AAUA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;IAC9C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,yBAAyB,CAAC,MAAM,CAAC,GAAG;QAClC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,OAAO,EAAE,CAAC,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QAC7D,MAAM,EAAE,CAAC,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC5D,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;CAkDrG"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export default class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase {
|
|
2
|
-
get value(): any;
|
|
3
|
-
get arrayToMap(): any;
|
|
4
|
-
transformToMap(value?: any[]): any;
|
|
5
|
-
handleChange(optionId: any): void;
|
|
6
|
-
}
|
|
7
|
-
import ValidatedFormFieldBase from '../field-base';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-radio-group/index.js"],"names":[],"mappings":"AAGA;IACE,iBAGC;IAED,sBAGC;IAED,mCAMC;IAED,kCAeC;CAsCF;mCA3EkC,eAAe"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
4
|
-
import type { EuiRadioGroupSignature } from '@ember-eui/core/components/eui-radio-group';
|
|
5
|
-
export interface FieldRadioGroupSignature {
|
|
6
|
-
Element: EuiRadioGroupSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRadioGroupSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
14
|
-
};
|
|
15
|
-
Blocks: {
|
|
16
|
-
label: [...EuiFormRowSignature['Blocks']['label']];
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export default class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase<FieldRadioGroupSignature> {
|
|
20
|
-
get value(): any;
|
|
21
|
-
get arrayToMap(): {
|
|
22
|
-
[key: string]: boolean;
|
|
23
|
-
};
|
|
24
|
-
transformToMap(value?: never[]): {
|
|
25
|
-
[key: string]: boolean;
|
|
26
|
-
};
|
|
27
|
-
handleChange(optionId: string): void;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=field-radio-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-radio-group.ts"],"names":[],"mappings":"AAUA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAEzF,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAC3C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,sBAAsB,CAAC,MAAM,CAAC,GAAG;QAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;KACpD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;KACpD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,sBAAsB,CAAC,wBAAwB,CAAC;IACxG,IAAI,KAAK,QAIR;IAED,IAAI,UAAU;;MAIb;IAED,cAAc,CAAC,KAAK,UAAK;;;IAezB,YAAY,CAAC,QAAQ,EAAE,MAAM;CAoD9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-range-slider/index.js"],"names":[],"mappings":"AAEA;CAoEC;mCAtEkC,eAAe"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
4
|
-
import type { EuiRangeSignature } from '@ember-eui/core/components/eui-range';
|
|
5
|
-
export interface FieldRangeSliderSignature {
|
|
6
|
-
Element: EuiRangeSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRangeSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
14
|
-
};
|
|
15
|
-
Blocks: {
|
|
16
|
-
label: [];
|
|
17
|
-
prepend: [...EuiRangeSignature['Blocks']['prepend']];
|
|
18
|
-
min: [...EuiRangeSignature['Blocks']['min']];
|
|
19
|
-
valuePrepend: [...EuiRangeSignature['Blocks']['valuePrepend']];
|
|
20
|
-
value: [...EuiRangeSignature['Blocks']['value']];
|
|
21
|
-
valueAppend: [...EuiRangeSignature['Blocks']['valueAppend']];
|
|
22
|
-
append: [...EuiRangeSignature['Blocks']['append']];
|
|
23
|
-
max: [...EuiRangeSignature['Blocks']['max']];
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export default class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase<FieldRangeSliderSignature> {
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=field-range-slider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-range-slider.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-range-slider.ts"],"names":[],"mappings":"AAUA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACtC,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,iBAAiB,CAAC,MAAM,CAAC,GAAG;QAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;KACpD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QACrD,GAAG,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QAC7C,YAAY,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;QAC/D,KAAK,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACjD,WAAW,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;QAC7D,MAAM,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;QACnD,GAAG,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;KAC9C,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,sBAAsB,CAAC,yBAAyB,CAAC;CAoE3G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-select/index.js"],"names":[],"mappings":"AAEA;CAiDC;mCAnDkC,eAAe"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
4
|
-
import type { EuiSelectSignature } from '@ember-eui/core/components/eui-select';
|
|
5
|
-
export interface FieldSelectSignature {
|
|
6
|
-
Element: EuiSelectSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSelectSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
14
|
-
};
|
|
15
|
-
Blocks: {
|
|
16
|
-
label: [];
|
|
17
|
-
prepend: [...EuiSelectSignature['Blocks']['prepend']];
|
|
18
|
-
append: [...EuiSelectSignature['Blocks']['append']];
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export default class ValidatedFormFieldSelect extends ValidatedFormFieldBase<FieldSelectSignature> {
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=field-select.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-select.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-select.ts"],"names":[],"mappings":"AAUA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACvC,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,kBAAkB,CAAC,MAAM,CAAC,GAAG;QAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;KACpD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QACtD,MAAM,EAAE,CAAC,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KACrD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,sBAAsB,CAAC,oBAAoB,CAAC;CAiDjG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-switch/index.js"],"names":[],"mappings":"AAGA;IACE,2BAMC;CA4CF;mCAtDkC,eAAe"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
4
|
-
import type { EuiSwitchSignature } from '@ember-eui/core/components/eui-switch';
|
|
5
|
-
export interface FieldSwitchSignature {
|
|
6
|
-
Element: EuiSwitchSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSwitchSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
switchLabel?: EuiSwitchSignature['Args']['label'];
|
|
14
|
-
onChange?: (state: boolean, e: MouseEvent) => void;
|
|
15
|
-
};
|
|
16
|
-
Blocks: {
|
|
17
|
-
label: [];
|
|
18
|
-
'switch-label': [];
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export default class ValidatedFormFieldSwitch extends ValidatedFormFieldBase<FieldSwitchSignature> {
|
|
22
|
-
handleChange(e: MouseEvent): void;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=field-switch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-switch.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-switch.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACvC,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,kBAAkB,CAAC,MAAM,CAAC,GAAG;QAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,WAAW,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;QAClD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;KACpD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,cAAc,EAAE,EAAE,CAAC;KACpB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,sBAAsB,CAAC,oBAAoB,CAAC;IAEhG,YAAY,CAAC,CAAC,EAAE,UAAU;CAmD3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-text/index.js"],"names":[],"mappings":"AAEA;CAkDC;mCApDkC,eAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validated-form/field-text-area/index.js"],"names":[],"mappings":"AAEA;CAkDC;mCApDkC,eAAe"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
4
|
-
import type { EuiTextAreaSignature } from '@ember-eui/core/components/eui-text-area';
|
|
5
|
-
import type { ComponentLike } from '@glint/template';
|
|
6
|
-
export interface FieldTextAreaSignature extends FieldBaseSignature {
|
|
7
|
-
Element: EuiTextAreaSignature['Element'];
|
|
8
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiTextAreaSignature['Args'] & {
|
|
9
|
-
formId?: string;
|
|
10
|
-
ariaLabel?: string;
|
|
11
|
-
rows?: number;
|
|
12
|
-
resize?: 'vertical' | 'horizontal' | 'both' | 'none';
|
|
13
|
-
rowClasses?: string;
|
|
14
|
-
fieldClasses?: string;
|
|
15
|
-
labelAppend?: ComponentLike;
|
|
16
|
-
prepend?: ComponentLike;
|
|
17
|
-
append?: ComponentLike;
|
|
18
|
-
placeholder?: string;
|
|
19
|
-
autofocus?: boolean;
|
|
20
|
-
inputRef?: (element: HTMLTextAreaElement) => void;
|
|
21
|
-
};
|
|
22
|
-
Blocks: {
|
|
23
|
-
label: [];
|
|
24
|
-
default: [...EuiTextAreaSignature['Blocks']['default']];
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export default class ValidatedFormFieldTextArea extends ValidatedFormFieldBase<FieldTextAreaSignature> {
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=field-text-area.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-text-area.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-text-area.ts"],"names":[],"mappings":"AAUA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACzC,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,oBAAoB,CAAC,MAAM,CAAC,GAAG;QAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,MAAM,CAAC;QACrD,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,aAAa,CAAC;QAC5B,OAAO,CAAC,EAAE,aAAa,CAAC;QACxB,MAAM,CAAC,EAAE,aAAa,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;KACnD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACzD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;CA8CrG"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import ValidatedFormFieldBase from './field-base.gts';
|
|
2
|
-
import type { FieldBaseSignature } from './field-base.gts';
|
|
3
|
-
import type { EuiFieldTextSignature } from '@ember-eui/core/components/eui-field-text';
|
|
4
|
-
import type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';
|
|
5
|
-
export interface FieldTextSignature {
|
|
6
|
-
Element: EuiFieldTextSignature['Element'];
|
|
7
|
-
Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldTextSignature['Args'] & {
|
|
8
|
-
rowClasses?: string;
|
|
9
|
-
fieldClasses?: string;
|
|
10
|
-
formId?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
autofocus?: boolean;
|
|
13
|
-
};
|
|
14
|
-
Blocks: {
|
|
15
|
-
label: [];
|
|
16
|
-
prepend: [...EuiFieldTextSignature['Blocks']['prepend']];
|
|
17
|
-
append: [...EuiFieldTextSignature['Blocks']['append']];
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export default class ValidatedFormFieldText extends ValidatedFormFieldBase<FieldTextSignature> {
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=field-text.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-text.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-text.ts"],"names":[],"mappings":"AAUA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC1C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,qBAAqB,CAAC,MAAM,CAAC,GAAG;QAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;QACvB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;KAClB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QACzD,MAAM,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KACxD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,sBAAsB,CAAC,kBAAkB,CAAC;CAkD7F"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export default class ValidatedForm extends Component<any> {
|
|
2
|
-
constructor(...args: any[]);
|
|
3
|
-
childComponents: import("@ember/array/-private/native-array").default<never>;
|
|
4
|
-
lastIsValid: any;
|
|
5
|
-
lastIsTouched: any;
|
|
6
|
-
isInvalid: boolean;
|
|
7
|
-
isTouched: boolean;
|
|
8
|
-
willDestroy(...args: any[]): void;
|
|
9
|
-
get isValid(): boolean;
|
|
10
|
-
get isInvalidAndTouched(): boolean;
|
|
11
|
-
addChild(child: any): void;
|
|
12
|
-
removeChild(child: any): void;
|
|
13
|
-
handleSubmit(e: any): Promise<void>;
|
|
14
|
-
handleReset(e: any): void;
|
|
15
|
-
register(child: any): void;
|
|
16
|
-
unregister(child: any): void;
|
|
17
|
-
updateValidity(): void;
|
|
18
|
-
getIsValid(): boolean;
|
|
19
|
-
getIsTouched(): boolean;
|
|
20
|
-
triggerValidityChange(): void;
|
|
21
|
-
setNewValidity(): void;
|
|
22
|
-
onChildValidityChange({ child, isValid, isTouched, isInvalidAndTouched }: {
|
|
23
|
-
child: any;
|
|
24
|
-
isValid: any;
|
|
25
|
-
isTouched: any;
|
|
26
|
-
isInvalidAndTouched: any;
|
|
27
|
-
}): void;
|
|
28
|
-
}
|
|
29
|
-
import Component from '@glimmer/component';
|
|
30
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/index.js"],"names":[],"mappings":"AAMA;IASE,4BAGC;IAXD,6EAAiC;IAEjC,iBAAY;IACZ,mBAAc;IAEd,mBAA2B;IAC3B,mBAA2B;IAO3B,kCAGC;IAED,uBAEC;IAED,mCAEC;IAED,2BAEC;IAED,8BAEC;IAED,oCAcC;IAED,0BAIC;IAED,2BAKC;IAED,6BAQC;IAED,uBAGC;IAED,sBAEC;IAED,wBAEC;IAED,8BAUC;IAED,uBAaC;IAED;;;;;aAUC;CAkDF;sBApLqB,oBAAoB"}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import FieldBase from './validated-form/field-base.gts';
|
|
3
|
-
import type { EuiFormSignature } from '@ember-eui/core/components/eui-form';
|
|
4
|
-
import type { ComponentLike } from '@glint/template';
|
|
5
|
-
export interface IValidatedFormTheme {
|
|
6
|
-
FieldBase: ComponentLike<any>;
|
|
7
|
-
FieldNumber: ComponentLike<any>;
|
|
8
|
-
FieldText: ComponentLike<any>;
|
|
9
|
-
FieldPassword: ComponentLike<any>;
|
|
10
|
-
FieldTextArea: ComponentLike<any>;
|
|
11
|
-
FieldSelect: ComponentLike<any>;
|
|
12
|
-
FieldComboBox: ComponentLike<any>;
|
|
13
|
-
FieldCheckboxGroup: ComponentLike<any>;
|
|
14
|
-
FieldRadioGroup: ComponentLike<any>;
|
|
15
|
-
FieldRangeSlider: ComponentLike<any>;
|
|
16
|
-
FieldDualRangeSlider: ComponentLike<any>;
|
|
17
|
-
FieldSwitch: ComponentLike<any>;
|
|
18
|
-
FieldMarkdownEditor: ComponentLike<any>;
|
|
19
|
-
}
|
|
20
|
-
export declare const ValidatedFormDefaultTheme: IValidatedFormTheme;
|
|
21
|
-
export interface ValidatedFormSignature {
|
|
22
|
-
Element: EuiFormSignature['Element'];
|
|
23
|
-
Args: {
|
|
24
|
-
id?: string;
|
|
25
|
-
register?: (child: ValidatedFormComponent) => void;
|
|
26
|
-
unregister?: (child: ValidatedFormComponent) => void;
|
|
27
|
-
addChild?: (child: FieldBase) => void;
|
|
28
|
-
removeChild?: (child: FieldBase) => void;
|
|
29
|
-
onInvalid?: () => void;
|
|
30
|
-
onSubmit?: () => void;
|
|
31
|
-
onReset?: (e: Event) => void;
|
|
32
|
-
onValidityChange?: (isValid: boolean, isTouched: boolean, isInvalidAndTouched: boolean) => void;
|
|
33
|
-
theme?: Partial<IValidatedFormTheme>;
|
|
34
|
-
isDisabled?: boolean;
|
|
35
|
-
fullWidth?: boolean;
|
|
36
|
-
tagName?: EuiFormSignature['Args']['tagName'];
|
|
37
|
-
isInvalid?: EuiFormSignature['Args']['isInvalid'];
|
|
38
|
-
invalidCallout?: EuiFormSignature['Args']['invalidCallout'];
|
|
39
|
-
error?: EuiFormSignature['Args']['error'];
|
|
40
|
-
errorTitle?: EuiFormSignature['Args']['errorTitle'];
|
|
41
|
-
};
|
|
42
|
-
Blocks: {
|
|
43
|
-
default: [
|
|
44
|
-
{
|
|
45
|
-
onValidityChange: (isValid: boolean, isTouched: boolean, isInvalidAndTouched: boolean) => void;
|
|
46
|
-
register: (child: FieldBase) => void;
|
|
47
|
-
unregister: (child: FieldBase) => void;
|
|
48
|
-
isValid: boolean;
|
|
49
|
-
isInvalid: boolean;
|
|
50
|
-
isTouched: boolean;
|
|
51
|
-
isInvalidAndTouched: boolean;
|
|
52
|
-
formId: string;
|
|
53
|
-
FieldBase: IValidatedFormTheme['FieldBase'];
|
|
54
|
-
FieldNumber: IValidatedFormTheme['FieldNumber'];
|
|
55
|
-
FieldText: IValidatedFormTheme['FieldText'];
|
|
56
|
-
FieldPassword: IValidatedFormTheme['FieldPassword'];
|
|
57
|
-
FieldTextArea: IValidatedFormTheme['FieldTextArea'];
|
|
58
|
-
FieldSelect: IValidatedFormTheme['FieldSelect'];
|
|
59
|
-
FieldComboBox: IValidatedFormTheme['FieldComboBox'];
|
|
60
|
-
FieldCheckboxGroup: IValidatedFormTheme['FieldCheckboxGroup'];
|
|
61
|
-
FieldRadioGroup: IValidatedFormTheme['FieldRadioGroup'];
|
|
62
|
-
FieldRangeSlider: IValidatedFormTheme['FieldRangeSlider'];
|
|
63
|
-
FieldDualRangeSlider: IValidatedFormTheme['FieldDualRangeSlider'];
|
|
64
|
-
FieldSwitch: IValidatedFormTheme['FieldSwitch'];
|
|
65
|
-
FieldMarkdownEditor: IValidatedFormTheme['FieldMarkdownEditor'];
|
|
66
|
-
}
|
|
67
|
-
];
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
export default class ValidatedFormComponent extends Component<ValidatedFormSignature> {
|
|
71
|
-
childComponents: import("@ember/array/-private/native-array").default<FieldBase<import("./validated-form/field-base.gts").FieldBaseSignature<ComponentLike>>>;
|
|
72
|
-
lastIsValid?: boolean;
|
|
73
|
-
lastIsTouched?: boolean;
|
|
74
|
-
isInvalid: boolean;
|
|
75
|
-
isTouched: boolean;
|
|
76
|
-
constructor(owner: unknown, args: ValidatedFormSignature['Args']);
|
|
77
|
-
willDestroy(): void;
|
|
78
|
-
get isValid(): boolean;
|
|
79
|
-
get isInvalidAndTouched(): boolean;
|
|
80
|
-
addChild(child: FieldBase): void;
|
|
81
|
-
removeChild(child: FieldBase): void;
|
|
82
|
-
handleSubmit(e: Event): Promise<void>;
|
|
83
|
-
handleReset(e: Event): void;
|
|
84
|
-
register(child: FieldBase): void;
|
|
85
|
-
unregister(child: FieldBase): void;
|
|
86
|
-
updateValidity(): void;
|
|
87
|
-
getIsValid(): boolean;
|
|
88
|
-
getIsTouched(): boolean;
|
|
89
|
-
triggerValidityChange(): void;
|
|
90
|
-
setNewValidity(): void;
|
|
91
|
-
onChildValidityChange(): void;
|
|
92
|
-
get theme(): {
|
|
93
|
-
FieldBase: ComponentLike<any>;
|
|
94
|
-
FieldNumber: ComponentLike<any>;
|
|
95
|
-
FieldText: ComponentLike<any>;
|
|
96
|
-
FieldPassword: ComponentLike<any>;
|
|
97
|
-
FieldTextArea: ComponentLike<any>;
|
|
98
|
-
FieldSelect: ComponentLike<any>;
|
|
99
|
-
FieldComboBox: ComponentLike<any>;
|
|
100
|
-
FieldCheckboxGroup: ComponentLike<any>;
|
|
101
|
-
FieldRadioGroup: ComponentLike<any>;
|
|
102
|
-
FieldRangeSlider: ComponentLike<any>;
|
|
103
|
-
FieldDualRangeSlider: ComponentLike<any>;
|
|
104
|
-
FieldSwitch: ComponentLike<any>;
|
|
105
|
-
FieldMarkdownEditor: ComponentLike<any>;
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
//# sourceMappingURL=validated-form.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validated-form.d.ts","sourceRoot":"","sources":["../../src/components/validated-form.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAY3C,OAAO,SAAS,MAAM,iCAAiC,CAAC;AAcxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9B,WAAW,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAChC,SAAS,EAAE,aAAa,CAA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-
* @param {string} property - property to grab the currentValue from
|
|
4
|
-
* @returns
|
|
5
|
-
*/
|
|
6
|
-
export function buildValidationMessages(property: string): any[];
|
|
7
|
-
export function notifyValidityChange(ctx: any, onValidityChange: any): void;
|
|
8
|
-
declare namespace _default {
|
|
9
|
-
export { buildValidationMessages };
|
|
10
|
-
export { notifyValidityChange };
|
|
11
|
-
}
|
|
12
|
-
export default _default;
|
|
13
|
-
//# sourceMappingURL=build-validation-messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-validation-messages.d.ts","sourceRoot":"","sources":["../../src/utils/build-validation-messages.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,kDAHW,MAAM,SAiEhB;AAED,4EAkBC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Find and load messages module on consuming app. Defaults to addon messages.
|
|
3
|
-
* To define a custom message map, create `my-app/app/validators/messages.js`
|
|
4
|
-
* that extends from ember-validators/messages
|
|
5
|
-
*
|
|
6
|
-
* @param {Object} owner
|
|
7
|
-
* @param {Boolean} useCache Pass `false` to ignore cached key
|
|
8
|
-
* @return {Object}
|
|
9
|
-
*/
|
|
10
|
-
export default function getMessages(owner: Object, useCache?: boolean): Object;
|
|
11
|
-
//# sourceMappingURL=get-messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-messages.d.ts","sourceRoot":"","sources":["../../src/utils/get-messages.js"],"names":[],"mappings":"AAOA;;;;;;;;GAQG;AACH,2CAJY,MAAM,uBAEN,MAAM,CAgBjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation-errors.d.ts","sourceRoot":"","sources":["../../src/utils/validation-errors.js"],"names":[],"mappings":"AAEA,gFAUC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create a new object with defaults
|
|
3
|
-
*
|
|
4
|
-
* @public
|
|
5
|
-
* @param {Object} obj
|
|
6
|
-
* @param {Object} defaults
|
|
7
|
-
* @return {Object}
|
|
8
|
-
*/
|
|
9
|
-
export default function withDefaults(obj?: Object, defaults?: Object): Object;
|
|
10
|
-
//# sourceMappingURL=with-defaults.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"with-defaults.d.ts","sourceRoot":"","sources":["../../src/utils/with-defaults.js"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,2CAJY,MAAM,aACN,MAAM,GACN,MAAM,CAIjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/validators/messages.js"],"names":[],"mappings":";;wBAAwB,eAAe"}
|