@sarasanalytics-com/design-system 0.0.32 → 0.0.33
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/card/checkbox-card/checkbox-card.component.mjs +3 -3
- package/esm2022/lib/checkbox/checkbox.component.mjs +23 -34
- package/esm2022/lib/page-layout/page-layout.component.mjs +5 -3
- package/esm2022/lib/radio-button/radio-button.component.mjs +18 -26
- package/fesm2022/sarasanalytics-com-design-system.mjs +45 -67
- package/fesm2022/sarasanalytics-com-design-system.mjs.map +1 -1
- package/lib/checkbox/checkbox.component.d.ts +6 -12
- package/lib/page-layout/page-layout.component.d.ts +2 -1
- package/lib/radio-button/radio-button.component.d.ts +6 -10
- package/package.json +1 -1
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { OptionInterface } from '../../interfaces/option-interface';
|
|
1
|
+
import { FieldType } from '@ngx-formly/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CheckboxComponent {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
selectionChange: EventEmitter<OptionInterface[]>;
|
|
9
|
-
type: string;
|
|
10
|
-
state: string;
|
|
11
|
-
onSelectionChange(option: OptionInterface): void;
|
|
12
|
-
isSelected(option: OptionInterface): boolean;
|
|
3
|
+
export declare class CheckboxComponent extends FieldType {
|
|
4
|
+
toggleSelection(option: any): void;
|
|
5
|
+
isSelected(option: any): boolean;
|
|
6
|
+
get options$(): import("rxjs").Observable<any[]>;
|
|
13
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "sa-checkbox", never, {
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "sa-checkbox", never, {}, {}, never, never, true, never>;
|
|
15
9
|
}
|
|
@@ -2,6 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class PageLayoutComponent {
|
|
3
3
|
showRightContent: boolean;
|
|
4
4
|
showFooterContent: boolean;
|
|
5
|
+
showProgressBarContent: any;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutComponent, "sa-page-layout", never, { "showRightContent": { "alias": "showRightContent"; "required": false; }; "showFooterContent": { "alias": "showFooterContent"; "required": false; }; }, {}, never, ["[progress-bar-content]", "[top-content]", "[left-content]", "[footer-content]", "[right-content]"], true, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutComponent, "sa-page-layout", never, { "showRightContent": { "alias": "showRightContent"; "required": false; }; "showFooterContent": { "alias": "showFooterContent"; "required": false; }; "showProgressBarContent": { "alias": "showProgressBarContent"; "required": false; }; }, {}, never, ["[progress-bar-content]", "[top-content]", "[left-content]", "[footer-content]", "[right-content]"], true, never>;
|
|
7
8
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { OptionInterface } from '../../interfaces/option-interface';
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RadioButtonComponent {
|
|
6
|
-
options: OptionInterface[];
|
|
7
|
-
selectedValue: OptionInterface | null;
|
|
8
|
-
column: boolean;
|
|
9
|
-
selectedValueChange: EventEmitter<any>;
|
|
4
|
+
export declare class RadioButtonComponent extends FieldType {
|
|
10
5
|
ngOnInit(): void;
|
|
11
|
-
|
|
6
|
+
get options$(): import("rxjs").Observable<any[]>;
|
|
7
|
+
get formControl(): FormControl;
|
|
12
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "sa-radio-button", never, {
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "sa-radio-button", never, {}, {}, never, never, true, never>;
|
|
14
10
|
}
|