oasys-lib 2.6.0-rc.1 → 2.7.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/esm2022/lib/components/form/chip/chip.component.mjs +1 -1
- package/esm2022/lib/components/form/form-group/form-group.component.mjs +9 -3
- package/esm2022/lib/components/form/radio/radio.component.mjs +36 -26
- package/esm2022/lib/components/form/text-input/index.mjs +2 -3
- package/esm2022/lib/components/form/text-input/text-input.component.mjs +4 -23
- package/fesm2022/oasys-lib.mjs +47 -49
- package/fesm2022/oasys-lib.mjs.map +1 -1
- package/lib/components/form/form-group/form-group.component.d.ts +5 -1
- package/lib/components/form/form-group/form-group.component.d.ts.map +1 -1
- package/lib/components/form/radio/radio.component.d.ts +15 -14
- package/lib/components/form/radio/radio.component.d.ts.map +1 -1
- package/lib/components/form/text-input/index.d.ts +1 -2
- package/lib/components/form/text-input/index.d.ts.map +1 -1
- package/lib/components/form/text-input/text-input.component.d.ts +3 -7
- package/lib/components/form/text-input/text-input.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/bloomandwild/variables.css +1 -1
- package/src/assets/bloomon/variables.css +1 -1
- package/src/assets/global/scss-breakpoints.scss +1 -1
|
@@ -13,7 +13,11 @@ export declare class FormGroupComponent {
|
|
|
13
13
|
* Affects which type title text and input is shown
|
|
14
14
|
*/
|
|
15
15
|
group_type: 'primary' | 'secondary';
|
|
16
|
+
/**
|
|
17
|
+
* Add other roles here if required
|
|
18
|
+
*/
|
|
19
|
+
role?: 'radiogroup';
|
|
16
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "ui-form-group", never, { "group_title": { "alias": "group_title"; "required": false; }; "group_title_hidden": { "alias": "group_title_hidden"; "required": false; }; "group_type": { "alias": "group_type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "ui-form-group", never, { "group_title": { "alias": "group_title"; "required": false; }; "group_title_hidden": { "alias": "group_title_hidden"; "required": false; }; "group_type": { "alias": "group_type"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
22
|
}
|
|
19
23
|
//# sourceMappingURL=form-group.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-group.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/oasys-lib/src/lib/components/form/form-group/form-group.component.ts"],"names":[],"mappings":";AAIA,qBAQa,kBAAkB;IAC7B;;;OAGG;IACM,WAAW,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"form-group.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/oasys-lib/src/lib/components/form/form-group/form-group.component.ts"],"names":[],"mappings":";AAIA,qBAQa,kBAAkB;IAC7B;;;OAGG;IACM,WAAW,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACM,kBAAkB,UAAS;IAEpC;;OAEG;IACM,UAAU,EAAE,SAAS,GAAG,WAAW,CAAa;IAEzD;;OAEG;IACM,IAAI,CAAC,EAAE,YAAY,CAAa;yCApB9B,kBAAkB;2CAAlB,kBAAkB;CAqB9B"}
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit, OnChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { IconNames } from '../../icon/icon';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RadioComponent implements ControlValueAccessor,
|
|
5
|
+
export declare class RadioComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
6
|
+
private changes;
|
|
6
7
|
radio_type: 'primary' | 'secondary';
|
|
7
8
|
hide_radio: boolean;
|
|
8
9
|
iconName?: IconNames;
|
|
9
|
-
label
|
|
10
|
+
label: string;
|
|
11
|
+
name: string;
|
|
10
12
|
value?: string;
|
|
11
|
-
name?: string;
|
|
12
13
|
checked?: boolean;
|
|
13
14
|
didChange: EventEmitter<string>;
|
|
14
15
|
id: string | number;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
onChange:
|
|
18
|
-
onTouched:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
registerOnChange(fn:
|
|
22
|
-
registerOnTouched(fn:
|
|
23
|
-
|
|
16
|
+
selectedValue: string | undefined;
|
|
17
|
+
constructor(changes: ChangeDetectorRef);
|
|
18
|
+
onChange: (_: unknown) => void;
|
|
19
|
+
onTouched: (_: unknown) => void;
|
|
20
|
+
writeValue(selectedValue: string): void;
|
|
21
|
+
onValueChange(event: Event): void;
|
|
22
|
+
registerOnChange(fn: (_: unknown) => void): void;
|
|
23
|
+
registerOnTouched(fn: (_: unknown) => void): void;
|
|
24
|
+
ngOnChanges(): void;
|
|
24
25
|
ngOnInit(): void;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "ui-radio", never, { "radio_type": { "alias": "radio_type"; "required": false; }; "hide_radio": { "alias": "hide_radio"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "ui-radio", never, { "radio_type": { "alias": "radio_type"; "required": false; }; "hide_radio": { "alias": "hide_radio"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "didChange": "didChange"; }, never, ["[tertiary-content]", "*"], true, never>;
|
|
27
28
|
}
|
|
28
29
|
//# sourceMappingURL=radio.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/oasys-lib/src/lib/components/form/radio/radio.component.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"radio.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/oasys-lib/src/lib/components/form/radio/radio.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAEZ,MAAM,EAIN,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,EAIrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;;AAK5C,qBAkBa,cAAe,YAAW,MAAM,EAAE,oBAAoB,EAAE,SAAS;IAiBhE,OAAO,CAAC,OAAO;IAhBlB,UAAU,EAAE,SAAS,GAAG,WAAW,CAAa;IAGhD,UAAU,UAAS;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,KAAK,SAAM;IACX,IAAI,SAAM;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAEjB,SAAS,uBAA8B;IAEjD,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;gBAEd,OAAO,EAAE,iBAAiB;IAE9C,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAE5B;IACF,SAAS,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAE7B;IAEF,UAAU,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;IAIvC,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAQjC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAIhD,iBAAiB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAIjD,WAAW,IAAI,IAAI;IAKnB,QAAQ,IAAI,IAAI;yCAnDL,cAAc;2CAAd,cAAc;CAuD1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/oasys-lib/src/lib/components/form/text-input/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/oasys-lib/src/lib/components/form/text-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC"}
|
|
@@ -12,15 +12,15 @@ export declare class TextInputComponent implements ControlValueAccessor, OnInit,
|
|
|
12
12
|
inputmode?: TextInputMode;
|
|
13
13
|
autocomplete: AutocompleteType;
|
|
14
14
|
autofocus: boolean;
|
|
15
|
-
minlength
|
|
15
|
+
minlength: number;
|
|
16
16
|
maxlength: number;
|
|
17
|
-
pattern
|
|
17
|
+
pattern: string;
|
|
18
18
|
autocorrect: boolean;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
aria_label: string | undefined;
|
|
21
21
|
show_password_string: string;
|
|
22
22
|
hide_password_string: string;
|
|
23
|
-
validation_messages
|
|
23
|
+
validation_messages: ValidationErrorTypes;
|
|
24
24
|
didChange: EventEmitter<string>;
|
|
25
25
|
textInput: ElementRef<HTMLElement>;
|
|
26
26
|
prefaceContent: ElementRef<HTMLElement>;
|
|
@@ -28,7 +28,6 @@ export declare class TextInputComponent implements ControlValueAccessor, OnInit,
|
|
|
28
28
|
showPassword: boolean;
|
|
29
29
|
inputDidChange: boolean;
|
|
30
30
|
textInputType: TextInputType;
|
|
31
|
-
isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
32
31
|
id: string;
|
|
33
32
|
safariAutocorrect: 'on' | 'off';
|
|
34
33
|
constructor(document: Document);
|
|
@@ -38,9 +37,6 @@ export declare class TextInputComponent implements ControlValueAccessor, OnInit,
|
|
|
38
37
|
registerOnChange(fn: unknown): void;
|
|
39
38
|
registerOnTouched(fn: unknown): void;
|
|
40
39
|
onModelChange(textValue: string): void;
|
|
41
|
-
onFocus(): void;
|
|
42
|
-
onBlur(): void;
|
|
43
|
-
shouldShowHint: import("@angular/core").Signal<boolean>;
|
|
44
40
|
toggleShowPassword(): void;
|
|
45
41
|
handleEvent(): void;
|
|
46
42
|
setupValidationListener(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/oasys-lib/src/lib/components/form/text-input/text-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EAEZ,MAAM,EAGN,UAAU,EAEV,aAAa,
|
|
1
|
+
{"version":3,"file":"text-input.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/oasys-lib/src/lib/components/form/text-input/text-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EAEZ,MAAM,EAGN,UAAU,EAEV,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,EAIrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;;AAMhD,qBAsBa,kBAAmB,YAAW,oBAAoB,EAAE,MAAM,EAAE,aAAa;IAsCtD,OAAO,CAAC,QAAQ;IArCrC,KAAK,EAAG,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAQ;IACzB,IAAI,EAAE,aAAa,CAAU;IAC7B,SAAS,CAAC,EAAE,aAAa,CAAU;IAEnC,YAAY,EAAE,gBAAgB,CAAQ;IACtC,SAAS,EAAE,OAAO,CAAS;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAO;IACxB,OA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