@tedi-design-system/angular 6.2.0-rc.8 → 6.2.0
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/README.md +26 -1
- package/community/components/cards/accordion/accordion/accordion.component.d.ts +3 -0
- package/community/components/cards/accordion/accordion/accordion.component.d.ts.map +1 -1
- package/community/components/cards/accordion/accordion-item/accordion-item.component.d.ts +2 -2
- package/community/components/cards/accordion/accordion-item/accordion-item.component.d.ts.map +1 -1
- package/community/components/cards/accordion/accordion-item-header/accordion-item-header.component.d.ts +1 -1
- package/community/components/cards/accordion/accordion-item-header/accordion-item-header.component.d.ts.map +1 -1
- package/community/components/form/file-dropzone/file.service.d.ts.map +1 -1
- package/community/components/form/input/input.component.d.ts +3 -0
- package/community/components/form/input/input.component.d.ts.map +1 -1
- package/fesm2022/tedi-design-system-angular-community.mjs +24 -20
- package/fesm2022/tedi-design-system-angular-community.mjs.map +1 -1
- package/fesm2022/tedi-design-system-angular-tedi.mjs +464 -30
- package/fesm2022/tedi-design-system-angular-tedi.mjs.map +1 -1
- package/index.css +1 -1
- package/package.json +10 -10
- package/tedi/components/cards/accordion/accordion/accordion.component.d.ts +14 -0
- package/tedi/components/cards/accordion/accordion/accordion.component.d.ts.map +1 -0
- package/tedi/components/cards/accordion/accordion-item/accordion-item.component.d.ts +90 -0
- package/tedi/components/cards/accordion/accordion-item/accordion-item.component.d.ts.map +1 -0
- package/tedi/components/cards/accordion/index.d.ts +3 -0
- package/tedi/components/cards/accordion/index.d.ts.map +1 -0
- package/tedi/components/cards/index.d.ts +2 -0
- package/tedi/components/cards/index.d.ts.map +1 -0
- package/tedi/components/form/form-field/form-field-control.d.ts +31 -0
- package/tedi/components/form/form-field/form-field-control.d.ts.map +1 -0
- package/tedi/components/form/form-field/form-field.component.d.ts +57 -0
- package/tedi/components/form/form-field/form-field.component.d.ts.map +1 -0
- package/tedi/components/form/index.d.ts +2 -0
- package/tedi/components/form/index.d.ts.map +1 -1
- package/tedi/components/form/text-field/text-field.component.d.ts +38 -0
- package/tedi/components/form/text-field/text-field.component.d.ts.map +1 -0
- package/tedi/components/index.d.ts +1 -0
- package/tedi/components/index.d.ts.map +1 -1
- package/tedi/components/loader/spinner/spinner.component.d.ts +3 -0
- package/tedi/components/loader/spinner/spinner.component.d.ts.map +1 -1
- package/tedi/components/overlay/popover/popover.component.d.ts +7 -1
- package/tedi/components/overlay/popover/popover.component.d.ts.map +1 -1
- package/tedi/components/tags/index.d.ts +1 -0
- package/tedi/components/tags/index.d.ts.map +1 -1
- package/tedi/components/tags/status-badge/status-badge.component.d.ts +55 -0
- package/tedi/components/tags/status-badge/status-badge.component.d.ts.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tedi-design-system/angular",
|
|
3
|
-
"version": "6.2.0
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "community.mjs",
|
|
6
6
|
"module": "fesm2022/tedi-design-system-angular.mjs",
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@angular/animations": "^19.0.0 || ^20.0.0",
|
|
29
|
-
"@angular/cdk": "^19.0.0 || ^20.0.0",
|
|
30
|
-
"@angular/common": "^19.0.0 || ^20.0.0",
|
|
31
|
-
"@angular/core": "^19.0.0 || ^20.0.0",
|
|
32
|
-
"@angular/forms": "^19.0.0 || ^20.0.0",
|
|
33
|
-
"@angular/platform-browser": "^19.0.0 || ^20.0.0",
|
|
34
|
-
"ngx-float-ui": "^19.0.1 || ^20.0.0"
|
|
28
|
+
"@angular/animations": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
29
|
+
"@angular/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
30
|
+
"@angular/common": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
31
|
+
"@angular/core": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
32
|
+
"@angular/forms": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
33
|
+
"@angular/platform-browser": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
34
|
+
"ngx-float-ui": "^19.0.1 || ^20.0.0 || ^21.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tedi-design-system/core": "^3.0
|
|
37
|
+
"@tedi-design-system/core": "^3.3.0",
|
|
38
38
|
"tslib": "^2.3.0"
|
|
39
39
|
},
|
|
40
40
|
"commitlint": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"repository": {
|
|
71
71
|
"type": "git",
|
|
72
|
-
"url": "https://github.com/TEDI-Design-System/angular.git"
|
|
72
|
+
"url": "git+https://github.com/TEDI-Design-System/angular.git"
|
|
73
73
|
},
|
|
74
74
|
"typings": "index.d.ts",
|
|
75
75
|
"sideEffects": false
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AccordionItemComponent } from "../accordion-item/accordion-item.component";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AccordionComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the accordion allows multiple items to be expanded at the same time.
|
|
6
|
+
* If false, opening one item will collapse the others automatically.
|
|
7
|
+
*/
|
|
8
|
+
allowMultiple: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
items: import("@angular/core").Signal<readonly AccordionItemComponent[]>;
|
|
10
|
+
onItemToggled(activeItem: AccordionItemComponent): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "tedi-accordion", never, { "allowMultiple": { "alias": "allowMultiple"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=accordion.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/cards/accordion/accordion/accordion.component.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;;AAEpF,qBAQa,kBAAkB;IAC7B;;;OAGG;IACH,aAAa,+CAAgB;IAE7B,KAAK,oEAA2C;IAEhD,aAAa,CAAC,UAAU,EAAE,sBAAsB;yCATrC,kBAAkB;2CAAlB,kBAAkB;CAoB9B"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { _IdGenerator } from "@angular/cdk/a11y";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AccordionItemComponent implements OnInit {
|
|
5
|
+
readonly idGenerator: _IdGenerator;
|
|
6
|
+
readonly bodyId: string;
|
|
7
|
+
readonly headerId: string;
|
|
8
|
+
/**
|
|
9
|
+
* If false, disables header toggling and enables using interactive elements in the accordion header.
|
|
10
|
+
*/
|
|
11
|
+
headerClickable: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
/** The title of the accordion item. */
|
|
13
|
+
title: import("@angular/core").InputSignal<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Sets how the accordion title stretches horizontally.
|
|
16
|
+
* `hug` - container sizes to its content.
|
|
17
|
+
* `fill` - container expands to available space, moving any trailing elements to the end.
|
|
18
|
+
*/
|
|
19
|
+
titleLayout: import("@angular/core").InputSignal<"fill" | "hug">;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the title is rendered as separate text in the accordion header.
|
|
22
|
+
* If false and `showExpandLabel` is true, the title is used as the expand button label.
|
|
23
|
+
*/
|
|
24
|
+
showSeparateTitle: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
/** Label shown when accordion is collapsed */
|
|
26
|
+
openLabel: import("@angular/core").InputSignal<string>;
|
|
27
|
+
/** Label shown when accordion is expanded */
|
|
28
|
+
closeLabel: import("@angular/core").InputSignal<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Controls whether the expand/collapse label is shown.
|
|
31
|
+
*/
|
|
32
|
+
showExpandLabel: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* Controls whether the default expand/collapse action is shown.
|
|
35
|
+
*/
|
|
36
|
+
showDefaultExpandAction: import("@angular/core").InputSignal<boolean>;
|
|
37
|
+
/**
|
|
38
|
+
* Position of the expand action relative to the header content.
|
|
39
|
+
*/
|
|
40
|
+
expandActionPosition: import("@angular/core").InputSignal<"end" | "start">;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the accordion item is expanded initially.
|
|
43
|
+
* Does not control the expanded state after initialization.
|
|
44
|
+
*/
|
|
45
|
+
defaultExpanded: import("@angular/core").InputSignal<boolean>;
|
|
46
|
+
/** Optional description text shown in the header */
|
|
47
|
+
description: import("@angular/core").InputSignal<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Position of the description relative to the title.
|
|
50
|
+
*/
|
|
51
|
+
descriptionPosition: import("@angular/core").InputSignal<"end" | "start" | "both">;
|
|
52
|
+
/**
|
|
53
|
+
* Enables the icon-card layout variant.
|
|
54
|
+
*/
|
|
55
|
+
showIconCard: import("@angular/core").InputSignal<boolean>;
|
|
56
|
+
/**
|
|
57
|
+
* Marks the accordion item as selected.
|
|
58
|
+
*/
|
|
59
|
+
selected: import("@angular/core").InputSignal<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* Custom CSS classes for the accordion header.
|
|
62
|
+
*/
|
|
63
|
+
headerClass: import("@angular/core").InputSignal<string | null>;
|
|
64
|
+
/**
|
|
65
|
+
* Custom CSS classes for the accordion body.
|
|
66
|
+
*/
|
|
67
|
+
bodyClass: import("@angular/core").InputSignal<string | null>;
|
|
68
|
+
expanded: import("@angular/core").ModelSignal<boolean>;
|
|
69
|
+
private readonly accordion;
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
toggle(): void;
|
|
72
|
+
setExpanded(value: boolean): void;
|
|
73
|
+
expandLabel: import("@angular/core").Signal<string>;
|
|
74
|
+
showStartExpandAction: import("@angular/core").Signal<boolean>;
|
|
75
|
+
showEndExpandAction: import("@angular/core").Signal<boolean>;
|
|
76
|
+
readonly headerClasses: import("@angular/core").Signal<{
|
|
77
|
+
"tedi-accordion__header--hoverable": boolean;
|
|
78
|
+
"tedi-accordion__header--expanded": boolean;
|
|
79
|
+
"tedi-accordion__header--with-icon-card": boolean;
|
|
80
|
+
"tedi-accordion__header": boolean;
|
|
81
|
+
}>;
|
|
82
|
+
readonly bodyClasses: import("@angular/core").Signal<{
|
|
83
|
+
"tedi-accordion__body--with-icon-card": boolean;
|
|
84
|
+
"tedi-accordion__body": boolean;
|
|
85
|
+
}>;
|
|
86
|
+
hideTitleFromSR: import("@angular/core").Signal<boolean>;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "tedi-accordion-item", never, { "headerClickable": { "alias": "headerClickable"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "titleLayout": { "alias": "titleLayout"; "required": false; "isSignal": true; }; "showSeparateTitle": { "alias": "showSeparateTitle"; "required": false; "isSignal": true; }; "openLabel": { "alias": "openLabel"; "required": false; "isSignal": true; }; "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; "showExpandLabel": { "alias": "showExpandLabel"; "required": false; "isSignal": true; }; "showDefaultExpandAction": { "alias": "showDefaultExpandAction"; "required": false; "isSignal": true; }; "expandActionPosition": { "alias": "expandActionPosition"; "required": false; "isSignal": true; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "descriptionPosition": { "alias": "descriptionPosition"; "required": false; "isSignal": true; }; "showIconCard": { "alias": "showIconCard"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "headerClass": { "alias": "headerClass"; "required": false; "isSignal": true; }; "bodyClass": { "alias": "bodyClass"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[tedi-accordion-icon-card]", "*", "[tedi-accordion-start-action]", "[tedi-accordion-start-before-title]", "[tedi-accordion-start-description]", "[tedi-accordion-start-after-title]", "[tedi-accordion-end-description]", "[tedi-accordion-end-action]"], true, never>;
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=accordion-item.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion-item.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/cards/accordion/accordion-item/accordion-item.component.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,MAAM,EAIP,MAAM,eAAe,CAAC;AAOvB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;;AAEjD,qBAgBa,sBAAuB,YAAW,MAAM;IACnD,QAAQ,CAAC,WAAW,eAAwB;IAC5C,QAAQ,CAAC,MAAM,SAAiD;IAChE,QAAQ,CAAC,QAAQ,SAAmD;IACpE;;OAEG;IACH,eAAe,+CAAe;IAC9B,uCAAuC;IACvC,KAAK,8CAAa;IAClB;;;;OAIG;IACH,WAAW,sDAAgC;IAC3C;;;OAGG;IACH,iBAAiB,+CAAe;IAChC,8CAA8C;IAC9C,SAAS,8CAAyB;IAClC,6CAA6C;IAC7C,UAAU,8CAA0B;IACpC;;OAEG;IACH,eAAe,+CAAe;IAC9B;;OAEG;IACH,uBAAuB,+CAAe;IACtC;;OAEG;IACH,oBAAoB,uDAAiC;IACrD;;;OAGG;IACH,eAAe,+CAAgB;IAC/B,oDAAoD;IACpD,WAAW,0DAAwC;IACnD;;OAEG;IACH,mBAAmB,gEAA4C;IAC/D;;OAEG;IACH,YAAY,+CAAgB;IAC5B;;OAEG;IACH,QAAQ,+CAAgB;IACxB;;OAEG;IACH,WAAW,qDAA8B;IACzC;;OAEG;IACH,SAAS,qDAA8B;IAEvC,QAAQ,+CAAgB;IAExB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkD;IAE5E,QAAQ;IAIR,MAAM;IAKN,WAAW,CAAC,KAAK,EAAE,OAAO;IAI1B,WAAW,yCAET;IAEF,qBAAqB,0CAGnB;IAEF,mBAAmB,0CAGjB;IAEF,QAAQ,CAAC,aAAa;;;;;OAUnB;IAEH,QAAQ,CAAC,WAAW;;;OAOjB;IAEH,eAAe,0CAEZ;yCAvHQ,sBAAsB;2CAAtB,sBAAsB;CAwHlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/cards/accordion/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../tedi/components/cards/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { InjectionToken, Signal } from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Interface implemented by controls that can be used inside `tedi-form-field`.
|
|
4
|
+
* Allows the form field container to interact with the underlying control.
|
|
5
|
+
*/
|
|
6
|
+
export interface FormFieldControl<T = unknown> {
|
|
7
|
+
/**
|
|
8
|
+
* Current value of the control.
|
|
9
|
+
*/
|
|
10
|
+
value: Signal<T>;
|
|
11
|
+
/**
|
|
12
|
+
* Whether the control is disabled.
|
|
13
|
+
*/
|
|
14
|
+
disabled: Signal<boolean>;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the control is currently in an invalid state.
|
|
17
|
+
* Usually derived from Angular form validation state.
|
|
18
|
+
*/
|
|
19
|
+
invalid: Signal<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* Optional method used by the form field clear button.
|
|
22
|
+
* If implemented, the form field can trigger clearing the value.
|
|
23
|
+
*/
|
|
24
|
+
clearField?(): void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Injection token used by `tedi-form-field` to obtain
|
|
28
|
+
* the associated control instance.
|
|
29
|
+
*/
|
|
30
|
+
export declare const TEDI_FORM_FIELD_CONTROL: InjectionToken<FormFieldControl<unknown>>;
|
|
31
|
+
//# sourceMappingURL=form-field-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-control.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/form/form-field/form-field-control.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,gBAAgB,CAAC,CAAC,GAAG,OAAO;IAC3C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAC1B;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAEzB;;;OAGG;IACH,UAAU,CAAC,IAAI,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,2CAEnC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { FormFieldControl } from "./form-field-control";
|
|
2
|
+
import { IconColor, IconSize, IconType, IconVariant } from "../../../components/base/icon/icon.component";
|
|
3
|
+
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type InputSize = "small" | "large" | "default";
|
|
6
|
+
export type InputState = "valid" | "error" | "default";
|
|
7
|
+
type ValidationState = "invalid" | "valid" | "neutral";
|
|
8
|
+
export interface FormFieldIcon {
|
|
9
|
+
name: string;
|
|
10
|
+
size?: IconSize;
|
|
11
|
+
color?: IconColor;
|
|
12
|
+
type?: IconType;
|
|
13
|
+
variant?: IconVariant;
|
|
14
|
+
}
|
|
15
|
+
export declare class FormFieldComponent {
|
|
16
|
+
/**
|
|
17
|
+
* The size of the form field.
|
|
18
|
+
* @default "default"
|
|
19
|
+
*/
|
|
20
|
+
size: import("@angular/core").InputSignal<InputSize>;
|
|
21
|
+
/**
|
|
22
|
+
* Icon name or configuration object.
|
|
23
|
+
*/
|
|
24
|
+
icon: import("@angular/core").InputSignal<string | FormFieldIcon | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the form field includes a clear button.
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
clearable: import("@angular/core").InputSignal<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* Custom CSS classes for the input.
|
|
32
|
+
*/
|
|
33
|
+
inputClass: import("@angular/core").InputSignal<string | null>;
|
|
34
|
+
control?: FormFieldControl;
|
|
35
|
+
feedback?: FeedbackTextComponent;
|
|
36
|
+
readonly resolvedIcon: import("@angular/core").Signal<FormFieldIcon | undefined>;
|
|
37
|
+
readonly validationState: import("@angular/core").Signal<ValidationState>;
|
|
38
|
+
showClearButton: import("@angular/core").Signal<boolean>;
|
|
39
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
40
|
+
readonly hostClasses: import("@angular/core").Signal<{
|
|
41
|
+
"tedi-form-field": boolean;
|
|
42
|
+
"tedi-form-field--valid": boolean;
|
|
43
|
+
"tedi-form-field--invalid": boolean;
|
|
44
|
+
"tedi-form-field--disabled": boolean | undefined;
|
|
45
|
+
"tedi-form-field--small": boolean;
|
|
46
|
+
"tedi-form-field--large": boolean;
|
|
47
|
+
"tedi-form-field--with-icon": boolean;
|
|
48
|
+
}>;
|
|
49
|
+
readonly inputClasses: import("@angular/core").Signal<{
|
|
50
|
+
"tedi-form-field__input": boolean;
|
|
51
|
+
}>;
|
|
52
|
+
clear(): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "tedi-form-field", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, ["control", "feedback"], ["label[tedi-label]", "input[tedi-text-field]", "tedi-feedback-text"], true, never>;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=form-field.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/form/form-field/form-field.component.ts"],"names":[],"mappings":"AASA,OAAO,EACL,gBAAgB,EAEjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,SAAS,EAET,QAAQ,EACR,QAAQ,EACR,WAAW,EACZ,MAAM,8CAA8C,CAAC;AAItD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;;AAEjF,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AACtD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AACvD,KAAK,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvD,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,qBAkBa,kBAAkB;IAC7B;;;OAGG;IACH,IAAI,iDAA+B;IACnC;;OAEG;IACH,IAAI,0EAA+C;IACnD;;;OAGG;IACH,SAAS,+CAAyB;IAClC;;OAEG;IACH,UAAU,qDAA8B;IAGxC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAG3B,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IAEjC,QAAQ,CAAC,YAAY,4DAKlB;IAEH,QAAQ,CAAC,eAAe,kDAQrB;IAEH,eAAe,0CAGZ;IAEH,QAAQ,CAAC,UAAU,0CAAqD;IAExE,QAAQ,CAAC,WAAW;;;;;;;;OAUjB;IAEH,QAAQ,CAAC,YAAY;;OAOlB;IAEH,KAAK;yCAvEM,kBAAkB;2CAAlB,kBAAkB;CA0E9B"}
|
|
@@ -4,4 +4,6 @@ export * from "./feedback-text/feedback-text.component";
|
|
|
4
4
|
export * from "./label/label.component";
|
|
5
5
|
export * from "./number-field/number-field.component";
|
|
6
6
|
export * from "./toggle/toggle.component";
|
|
7
|
+
export * from "./form-field/form-field.component";
|
|
8
|
+
export * from "./text-field/text-field.component";
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../tedi/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../tedi/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor, NgControl } from "@angular/forms";
|
|
3
|
+
import { FormFieldControl } from "../form-field/form-field-control";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TextFieldComponent implements ControlValueAccessor, FormFieldControl {
|
|
6
|
+
private el;
|
|
7
|
+
private ngControl;
|
|
8
|
+
/**
|
|
9
|
+
* Value of the input field. Supports two-way binding, use with form controls.
|
|
10
|
+
*/
|
|
11
|
+
value: import("@angular/core").ModelSignal<string>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether to hide arrows for number inputs.
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
arrowsHidden: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
/**
|
|
18
|
+
* Callback triggered when the clear button is clicked.
|
|
19
|
+
*/
|
|
20
|
+
readonly clear: import("@angular/core").OutputEmitterRef<void>;
|
|
21
|
+
constructor(el: ElementRef<HTMLInputElement>, ngControl: NgControl | null);
|
|
22
|
+
readonly disabled: import("@angular/core").Signal<boolean>;
|
|
23
|
+
readonly invalid: import("@angular/core").Signal<boolean>;
|
|
24
|
+
private formDisabled;
|
|
25
|
+
private onChange;
|
|
26
|
+
private onTouched;
|
|
27
|
+
private setValue;
|
|
28
|
+
writeValue(value: string | null): void;
|
|
29
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
30
|
+
registerOnTouched(fn: () => void): void;
|
|
31
|
+
setDisabledState(isDisabled: boolean): void;
|
|
32
|
+
handleInputChange(event: Event): void;
|
|
33
|
+
handleBlur(): void;
|
|
34
|
+
clearField(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, [null, { optional: true; self: true; }]>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "input[tedi-text-field]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "arrowsHidden": { "alias": "arrowsHidden"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "clear": "clear"; }, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=text-field.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-field.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/form/text-field/text-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,UAAU,EAGX,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,EAEpB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,gBAAgB,EAEjB,MAAM,kCAAkC,CAAC;;AAE1C,qBA0Ba,kBACX,YAAW,oBAAoB,EAAE,gBAAgB;IAiB/C,OAAO,CAAC,EAAE;IACU,OAAO,CAAC,SAAS;IAhBvC;;OAEG;IACH,KAAK,8CAAqB;IAC1B;;;OAGG;IACH,YAAY,+CAAwB;IACpC;;OAEG;IACH,QAAQ,CAAC,KAAK,iDAAkB;gBAGtB,EAAE,EAAE,UAAU,CAAC,gBAAgB,CAAC,EACZ,SAAS,EAAE,SAAS,GAAG,IAAI;IAOzD,QAAQ,CAAC,QAAQ,0CAEf;IACF,QAAQ,CAAC,OAAO,0CAGb;IAEH,OAAO,CAAC,YAAY,CAAiB;IACrC,OAAO,CAAC,QAAQ,CAAqC;IACrD,OAAO,CAAC,SAAS,CAAwB;IAEzC,OAAO,CAAC,QAAQ;IAKhB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAItC,gBAAgB,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAInD,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAK3C,iBAAiB,CAAC,KAAK,EAAE,KAAK;IAQ9B,UAAU;IAIV,UAAU;yCAxEC,kBAAkB;2CAAlB,kBAAkB;CAgF9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tedi/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tedi/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -17,6 +17,9 @@ export declare class SpinnerComponent {
|
|
|
17
17
|
* Provides a text label for screen readers to announce the spinner's purpose or status.
|
|
18
18
|
*/
|
|
19
19
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
+
private readonly sizeConfig;
|
|
21
|
+
strokeWidth: import("@angular/core").Signal<number>;
|
|
22
|
+
r: import("@angular/core").Signal<number>;
|
|
20
23
|
classes: import("@angular/core").Signal<string>;
|
|
21
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
22
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "tedi-spinner", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/loader/spinner/spinner.component.ts"],"names":[],"mappings":";AAQA,MAAM,MAAM,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AACvC,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnD,qBAea,gBAAgB;IAC3B;;;OAGG;IACH,IAAI,mDAA0B;IAC9B;;;;OAIG;IACH,KAAK,oDAAkC;IACvC;;OAEG;IACH,KAAK,0DAAmB;IAExB,OAAO,yCAQJ;
|
|
1
|
+
{"version":3,"file":"spinner.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/loader/spinner/spinner.component.ts"],"names":[],"mappings":";AAQA,MAAM,MAAM,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AACvC,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnD,qBAea,gBAAgB;IAC3B;;;OAGG;IACH,IAAI,mDAA0B;IAC9B;;;;OAIG;IACH,KAAK,oDAAkC;IACvC;;OAEG;IACH,KAAK,0DAAmB;IAExB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAIzB;IAEF,WAAW,yCAA4D;IACvE,CAAC,yCAAkD;IAEnD,OAAO,yCAQJ;yCAlCQ,gBAAgB;2CAAhB,gBAAgB;CAmC5B"}
|
|
@@ -38,6 +38,12 @@ export declare class PopoverComponent implements AfterContentChecked {
|
|
|
38
38
|
* @default false
|
|
39
39
|
*/
|
|
40
40
|
lockScroll: import("@angular/core").InputSignal<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Append floating element to given selector.
|
|
43
|
+
* Use 'body' to append at the end of DOM or empty string to append next to trigger element.
|
|
44
|
+
* @default "body"
|
|
45
|
+
*/
|
|
46
|
+
readonly appendTo: import("@angular/core").InputSignal<string>;
|
|
41
47
|
/** Delay time (in ms) for closing popover when not hovering trigger or content.
|
|
42
48
|
* @default 100
|
|
43
49
|
*/
|
|
@@ -69,6 +75,6 @@ export declare class PopoverComponent implements AfterContentChecked {
|
|
|
69
75
|
private focusElementBeforeTrigger;
|
|
70
76
|
private handleClosePopoverEvent;
|
|
71
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "tedi-popover", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "preventOverflow": { "alias": "preventOverflow"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "hideOnScroll": { "alias": "hideOnScroll"; "required": false; "isSignal": true; }; "withBorder": { "alias": "withBorder"; "required": false; "isSignal": true; }; "withArrow": { "alias": "withArrow"; "required": false; "isSignal": true; }; "lockScroll": { "alias": "lockScroll"; "required": false; "isSignal": true; }; "timeoutDelay": { "alias": "timeoutDelay"; "required": false; "isSignal": true; }; }, {}, ["popoverTrigger", "popoverContent"], ["[tedi-popover-trigger]", "tedi-popover-content"], true, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "tedi-popover", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "preventOverflow": { "alias": "preventOverflow"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "hideOnScroll": { "alias": "hideOnScroll"; "required": false; "isSignal": true; }; "withBorder": { "alias": "withBorder"; "required": false; "isSignal": true; }; "withArrow": { "alias": "withArrow"; "required": false; "isSignal": true; }; "lockScroll": { "alias": "lockScroll"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "timeoutDelay": { "alias": "timeoutDelay"; "required": false; "isSignal": true; }; }, {}, ["popoverTrigger", "popoverContent"], ["[tedi-popover-trigger]", "tedi-popover-content"], true, never>;
|
|
73
79
|
}
|
|
74
80
|
//# sourceMappingURL=popover.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/popover/popover.component.ts"],"names":[],"mappings":"AACA,OAAO,EAWL,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,0BAA0B,EAE1B,oBAAoB,EACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;;AAItF,MAAM,MAAM,eAAe,GAAG,GAAG,oBAAoB,EAAE,CAAC;AAExD,qBASa,gBAAiB,YAAW,mBAAmB;IAC1D;;;OAGG;IACH,QAAQ,oOAAiC;IACzC;;;OAGG;IACH,eAAe,+CAAgB;IAC/B;;;OAGG;IACH,WAAW,+CAAe;IAC1B;;;OAGG;IACH,YAAY,+CAAgB;IAC5B;;;OAGG;IACH,UAAU,+CAAgB;IAC1B;;OAEG;IACH,SAAS,+CAAe;IACxB;;;OAGG;IACH,UAAU,+CAAgB;IAC1B;;OAEG;IACH,QAAQ,CAAC,YAAY,8CAAc;IAEnC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C,QAAQ,CAAC,gBAAgB,6DAAkD;IAC3E,QAAQ,CAAC,cAAc,0DAAkD;IACzE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,QAAQ,CAAC,WAAW,iDAAc;IAClC,QAAQ,CAAC,gBAAgB,kDAAiB;IAE1C,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IAC5C,OAAO,CAAC,eAAe,CAAC,CAAa;IACrC,OAAO,CAAC,cAAc,CAAC,CAAa;IACpC,OAAO,CAAC,eAAe,CAAC,CAAa;IACrC,OAAO,CAAC,iBAAiB,CAAC,CAAa;IAEvC,qBAAqB;IAiBrB,WAAW;IA8BX,WAAW,CAAC,YAAY,CAAC,EAAE,OAAO;IAiBlC,aAAa;IAQb,QAAQ,CAAC,qBAAqB,yCAY3B;IAEH,OAAO,CAAC,uBAAuB;IAqC/B,OAAO,CAAC,yBAAyB;IAOjC,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,qBAAqB;IAgB7B,OAAO,CAAC,uBAAuB;IAY/B,OAAO,CAAC,wBAAwB;IAahC,OAAO,CAAC,yBAAyB;IAajC,OAAO,CAAC,uBAAuB;
|
|
1
|
+
{"version":3,"file":"popover.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/popover/popover.component.ts"],"names":[],"mappings":"AACA,OAAO,EAWL,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,0BAA0B,EAE1B,oBAAoB,EACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;;AAItF,MAAM,MAAM,eAAe,GAAG,GAAG,oBAAoB,EAAE,CAAC;AAExD,qBASa,gBAAiB,YAAW,mBAAmB;IAC1D;;;OAGG;IACH,QAAQ,oOAAiC;IACzC;;;OAGG;IACH,eAAe,+CAAgB;IAC/B;;;OAGG;IACH,WAAW,+CAAe;IAC1B;;;OAGG;IACH,YAAY,+CAAgB;IAC5B;;;OAGG;IACH,UAAU,+CAAgB;IAC1B;;OAEG;IACH,SAAS,+CAAe;IACxB;;;OAGG;IACH,UAAU,+CAAgB;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,8CAAiB;IAClC;;OAEG;IACH,QAAQ,CAAC,YAAY,8CAAc;IAEnC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C,QAAQ,CAAC,gBAAgB,6DAAkD;IAC3E,QAAQ,CAAC,cAAc,0DAAkD;IACzE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,QAAQ,CAAC,WAAW,iDAAc;IAClC,QAAQ,CAAC,gBAAgB,kDAAiB;IAE1C,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IAC5C,OAAO,CAAC,eAAe,CAAC,CAAa;IACrC,OAAO,CAAC,cAAc,CAAC,CAAa;IACpC,OAAO,CAAC,eAAe,CAAC,CAAa;IACrC,OAAO,CAAC,iBAAiB,CAAC,CAAa;IAEvC,qBAAqB;IAiBrB,WAAW;IA8BX,WAAW,CAAC,YAAY,CAAC,EAAE,OAAO;IAiBlC,aAAa;IAQb,QAAQ,CAAC,qBAAqB,yCAY3B;IAEH,OAAO,CAAC,uBAAuB;IAqC/B,OAAO,CAAC,yBAAyB;IAOjC,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,qBAAqB;IAgB7B,OAAO,CAAC,uBAAuB;IAY/B,OAAO,CAAC,wBAAwB;IAahC,OAAO,CAAC,yBAAyB;IAajC,OAAO,CAAC,uBAAuB;yCA9QpB,gBAAgB;2CAAhB,gBAAgB;CA0R5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../tedi/components/tags/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../tedi/components/tags/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { _IdGenerator } from "@angular/cdk/a11y";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type StatusBadgeColor = "neutral" | "brand" | "accent" | "success" | "danger" | "warning" | "transparent";
|
|
4
|
+
export type StatusBadgeVariant = "filled" | "filled-bordered" | "bordered";
|
|
5
|
+
export type StatusBadgeSize = "default" | "large";
|
|
6
|
+
export type StatusBadgeStatus = "danger" | "success" | "warning" | "inactive";
|
|
7
|
+
export declare class StatusBadgeComponent {
|
|
8
|
+
readonly idGenerator: _IdGenerator;
|
|
9
|
+
readonly uniqueId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The text to be displayed inside the StatusBadge.
|
|
12
|
+
*/
|
|
13
|
+
text: import("@angular/core").InputSignal<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Additional classes to apply custom styles to the StatusBadge.
|
|
16
|
+
*/
|
|
17
|
+
class: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Provides the full text or description when the Badge represents an abbreviation.
|
|
20
|
+
* This is typically shown as a tooltip on hover.
|
|
21
|
+
*/
|
|
22
|
+
title: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* ARIA role attribute for accessibility.
|
|
25
|
+
*/
|
|
26
|
+
role: import("@angular/core").InputSignal<string | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Specifies the color scheme of the StatusBadge.
|
|
29
|
+
* @default neutral
|
|
30
|
+
*/
|
|
31
|
+
color: import("@angular/core").InputSignal<StatusBadgeColor>;
|
|
32
|
+
/**
|
|
33
|
+
* Determines the style or visual type of the StatusBadge.
|
|
34
|
+
* @default filled
|
|
35
|
+
*/
|
|
36
|
+
variant: import("@angular/core").InputSignal<StatusBadgeVariant>;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the size of the StatusBadge.
|
|
39
|
+
* @default default
|
|
40
|
+
*/
|
|
41
|
+
size: import("@angular/core").InputSignal<StatusBadgeSize>;
|
|
42
|
+
/**
|
|
43
|
+
* StatusBadge status indicator.
|
|
44
|
+
*/
|
|
45
|
+
status: import("@angular/core").InputSignal<StatusBadgeStatus | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* The name of the icon to be displayed inside the StatusBadge. The icon is rendered using the `Icon` component.
|
|
48
|
+
*/
|
|
49
|
+
icon: import("@angular/core").InputSignal<string>;
|
|
50
|
+
classes: import("@angular/core").Signal<string[]>;
|
|
51
|
+
ariaLive: import("@angular/core").Signal<"assertive" | "polite" | null>;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBadgeComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBadgeComponent, "tedi-status-badge", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=status-badge.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-badge.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/tags/status-badge/status-badge.component.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;;AAEjD,MAAM,MAAM,gBAAgB,GACxB,SAAS,GACT,OAAO,GACP,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,SAAS,GACT,aAAa,CAAC;AAClB,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,iBAAiB,GAAG,UAAU,CAAC;AAC3E,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,CAAC;AAClD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAE9E,qBASa,oBAAoB;IAC/B,QAAQ,CAAC,WAAW,eAAwB;IAC5C,QAAQ,CAAC,QAAQ,SAA+C;IAChE;;OAEG;IACH,IAAI,8CAAqB;IACzB;;OAEG;IACH,KAAK,0DAAmB;IACxB;;;OAGG;IACH,KAAK,0DAAmB;IACxB;;OAEG;IACH,IAAI,0DAAmB;IACvB;;;OAGG;IACH,KAAK,wDAAsC;IAC3C;;;OAGG;IACH,OAAO,0DAAuC;IAC9C;;;OAGG;IACH,IAAI,uDAAqC;IACzC;;OAEG;IACH,MAAM,qEAA8B;IACpC;;OAEG;IACH,IAAI,8CAAqB;IAEzB,OAAO,2CAkCJ;IAEH,QAAQ,gEAQL;yCAxFQ,oBAAoB;2CAApB,oBAAoB;CAyFhC"}
|