@corp-products/ui-components 3.2.2 → 3.2.4
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/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from 'primeng/button';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { TemplateRef, OnInit, EventEmitter, PipeTransform, OnDestroy, Type, EnvironmentInjector, ApplicationRef, ViewContainerRef } from '@angular/core';
|
|
4
|
-
import {
|
|
4
|
+
import { Params, Router, ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { DynamicDialogRef, DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';
|
|
6
6
|
import { FormGroup, FormControl, ValidationErrors, AbstractControl } from '@angular/forms';
|
|
7
7
|
import { AutoCompleteSelectEvent, AutoCompleteCompleteEvent } from 'primeng/autocomplete';
|
|
@@ -32,8 +32,9 @@ interface Tab {
|
|
|
32
32
|
interface RoutedTab extends Tab {
|
|
33
33
|
link: string;
|
|
34
34
|
}
|
|
35
|
-
interface TemplateTab extends Tab {
|
|
35
|
+
interface TemplateTab<T = unknown> extends Tab {
|
|
36
36
|
contentTemplate: TemplateRef<unknown>;
|
|
37
|
+
queryParamValue?: T;
|
|
37
38
|
}
|
|
38
39
|
type AppTabs = ({
|
|
39
40
|
isRouted: true;
|
|
@@ -44,18 +45,18 @@ type AppTabs = ({
|
|
|
44
45
|
});
|
|
45
46
|
|
|
46
47
|
declare class AppTabsComponent implements OnInit {
|
|
47
|
-
private route;
|
|
48
|
-
private router;
|
|
49
48
|
tabs: AppTabs;
|
|
50
49
|
tabsStyle: "basic" | "primary_light" | "primary";
|
|
51
50
|
responsive: boolean;
|
|
51
|
+
selectedTabIndex: i0.ModelSignal<number>;
|
|
52
52
|
activeTabIndex: number;
|
|
53
|
-
|
|
53
|
+
private router;
|
|
54
|
+
private route;
|
|
54
55
|
ngOnInit(): void;
|
|
55
56
|
private updateActiveTab;
|
|
56
57
|
onTabChange(index: number): void;
|
|
57
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTabsComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppTabsComponent, "app-tabs", never, { "tabs": { "alias": "tabs"; "required": false; }; "tabsStyle": { "alias": "tabsStyle"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppTabsComponent, "app-tabs", never, { "tabs": { "alias": "tabs"; "required": false; }; "tabsStyle": { "alias": "tabsStyle"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "selectedTabIndex": { "alias": "selectedTabIndex"; "required": false; "isSignal": true; }; }, { "selectedTabIndex": "selectedTabIndexChange"; }, never, never, true, never>;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
interface DropdownMenuItem {
|
|
@@ -238,7 +239,7 @@ declare class InputComponent extends BaseInputComponent {
|
|
|
238
239
|
defaultColor: string;
|
|
239
240
|
constructor();
|
|
240
241
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
241
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "stc-input", never, { "type": { "alias": "type"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "size": { "alias": "size"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "basicInput": { "alias": "basicInput"; "required": false; }; "noStyle": { "alias": "noStyle"; "required": false; }; "hideOptionalLabel": { "alias": "hideOptionalLabel"; "required": false; }; "inputDirection": { "alias": "inputDirection"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "defaultColor": { "alias": "defaultColor"; "required": false; }; }, {}, never,
|
|
242
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "stc-input", never, { "type": { "alias": "type"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "size": { "alias": "size"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "basicInput": { "alias": "basicInput"; "required": false; }; "noStyle": { "alias": "noStyle"; "required": false; }; "hideOptionalLabel": { "alias": "hideOptionalLabel"; "required": false; }; "inputDirection": { "alias": "inputDirection"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "defaultColor": { "alias": "defaultColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
242
243
|
}
|
|
243
244
|
|
|
244
245
|
interface LabelValue<T> {
|
|
@@ -307,6 +308,10 @@ interface InputsMapData {
|
|
|
307
308
|
hint?: string;
|
|
308
309
|
readonly?: boolean;
|
|
309
310
|
disabled?: boolean;
|
|
311
|
+
hidden?: boolean;
|
|
312
|
+
required?: boolean;
|
|
313
|
+
maxLength?: number;
|
|
314
|
+
minlength?: number;
|
|
310
315
|
dateRange?: DateRangeInterface;
|
|
311
316
|
isTimeOnly?: boolean;
|
|
312
317
|
showIcon?: boolean;
|