@datarailsshared/datarailsshared 1.5.462 → 1.5.471
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/datarailsshared-datarailsshared-1.5.471.tgz +0 -0
- package/esm2022/lib/dr-error/dr-error.component.mjs +26 -21
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.mjs +2 -2
- package/esm2022/lib/dr-inputs/dr-select/dr-select.component.mjs +2 -2
- package/esm2022/lib/dr-tabs/dr-tab.component.mjs +4 -2
- package/esm2022/lib/dr-tabs/dr-tabs.component.mjs +88 -39
- package/fesm2022/datarailsshared-datarailsshared.mjs +123 -68
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-error/dr-error.component.d.ts +6 -3
- package/lib/dr-tabs/dr-tab.component.d.ts +2 -1
- package/lib/dr-tabs/dr-tabs.component.d.ts +4 -1
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.5.462.tgz +0 -0
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { AbstractControl, FormGroupDirective, NgModel } from '@angular/forms';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DrErrorComponent {
|
|
4
5
|
private formGroupDirective;
|
|
5
6
|
constructor(formGroupDirective: FormGroupDirective);
|
|
6
|
-
_control: AbstractControl | NgModel;
|
|
7
7
|
set control(value: AbstractControl | NgModel);
|
|
8
8
|
set controlName(value: string);
|
|
9
9
|
label: string;
|
|
10
10
|
errorTooltipPosition: string;
|
|
11
11
|
displayAsLabel: boolean;
|
|
12
12
|
noIcon: boolean;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
errorString(control: AbstractControl | NgModel): any;
|
|
14
|
+
readonly controlChange$: BehaviorSubject<NgModel | AbstractControl<any, any>>;
|
|
15
|
+
readonly controlErrorStatus$: import("rxjs").Observable<boolean>;
|
|
16
|
+
readonly error$: import("rxjs").Observable<any>;
|
|
17
|
+
readonly warning$: import("rxjs").Observable<boolean>;
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrErrorComponent, [{ optional: true; }]>;
|
|
16
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<DrErrorComponent, "dr-error", never, { "control": { "alias": "control"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "errorTooltipPosition": { "alias": "errorTooltipPosition"; "required": false; }; "displayAsLabel": { "alias": "displayAsLabel"; "required": false; }; "noIcon": { "alias": "noIcon"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
20
|
}
|
|
@@ -6,9 +6,10 @@ export declare class DrTabComponent implements OnInit {
|
|
|
6
6
|
icon: string;
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
tooltip: string;
|
|
9
|
+
customLabelTemplate: TemplateRef<any>;
|
|
9
10
|
contentTemplate: TemplateRef<any>;
|
|
10
11
|
constructor();
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrTabComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrTabComponent, "dr-tab", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrTabComponent, "dr-tab", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "customLabelTemplate": { "alias": "customLabelTemplate"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
14
15
|
}
|
|
@@ -16,7 +16,10 @@ export declare class DrTabsComponent implements AfterViewInit {
|
|
|
16
16
|
noBodyPadding: boolean;
|
|
17
17
|
hideTabs: boolean;
|
|
18
18
|
noHeaderBorder: boolean;
|
|
19
|
+
noLabelBorders: boolean;
|
|
19
20
|
noTabLabelsPadding: boolean;
|
|
21
|
+
noLabelPadding: boolean;
|
|
22
|
+
noFixedTabHeight: boolean;
|
|
20
23
|
selectedTabChange: EventEmitter<any>;
|
|
21
24
|
selectedTabIdChange: EventEmitter<any>;
|
|
22
25
|
tabsContentList: QueryList<DrTabComponent>;
|
|
@@ -25,5 +28,5 @@ export declare class DrTabsComponent implements AfterViewInit {
|
|
|
25
28
|
selectedIndexChange($event: any): void;
|
|
26
29
|
private getTabIndexById;
|
|
27
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrTabsComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrTabsComponent, "dr-tabs", never, { "theme": { "alias": "theme"; "required": false; }; "disableAnimation": { "alias": "disableAnimation"; "required": false; }; "selectedTab": { "alias": "selectedTab"; "required": false; }; "selectedTabId": { "alias": "selectedTabId"; "required": false; }; "withRadio": { "alias": "withRadio"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "noBodyPadding": { "alias": "noBodyPadding"; "required": false; }; "hideTabs": { "alias": "hideTabs"; "required": false; }; "noHeaderBorder": { "alias": "noHeaderBorder"; "required": false; }; "noTabLabelsPadding": { "alias": "noTabLabelsPadding"; "required": false; }; }, { "selectedTabChange": "selectedTabChange"; "selectedTabIdChange": "selectedTabIdChange"; }, ["tabsContentList"], never, false, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrTabsComponent, "dr-tabs", never, { "theme": { "alias": "theme"; "required": false; }; "disableAnimation": { "alias": "disableAnimation"; "required": false; }; "selectedTab": { "alias": "selectedTab"; "required": false; }; "selectedTabId": { "alias": "selectedTabId"; "required": false; }; "withRadio": { "alias": "withRadio"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "noBodyPadding": { "alias": "noBodyPadding"; "required": false; }; "hideTabs": { "alias": "hideTabs"; "required": false; }; "noHeaderBorder": { "alias": "noHeaderBorder"; "required": false; }; "noLabelBorders": { "alias": "noLabelBorders"; "required": false; }; "noTabLabelsPadding": { "alias": "noTabLabelsPadding"; "required": false; }; "noLabelPadding": { "alias": "noLabelPadding"; "required": false; }; "noFixedTabHeight": { "alias": "noFixedTabHeight"; "required": false; }; }, { "selectedTabChange": "selectedTabChange"; "selectedTabIdChange": "selectedTabIdChange"; }, ["tabsContentList"], never, false, never>;
|
|
29
32
|
}
|
package/package.json
CHANGED
|
Binary file
|