@sixbell-telco/sdk 2.1.0 → 3.1.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/CHANGELOG.md +82 -1
- package/README.md +323 -84
- package/_index.css +17 -3
- package/components/card/card-actions/card-actions.component.d.ts +4 -4
- package/components/card/card-body/card-body.component.d.ts +5 -0
- package/components/card/card-context.d.ts +8 -0
- package/components/card/card-footer/card-footer.component.d.ts +7 -0
- package/components/card/card-header/card-header.component.d.ts +5 -0
- package/components/card/card-header-aside/card-header-aside.component.d.ts +5 -0
- package/components/card/card-section/card-section.component.d.ts +5 -0
- package/components/card/card-section-body/card-section-body.component.d.ts +13 -0
- package/components/card/card-section-footer/card-section-footer.component.d.ts +5 -0
- package/components/card/card-section-group/card-section-group.component.d.ts +16 -0
- package/components/card/card-section-header/card-section-header.component.d.ts +5 -0
- package/components/card/card-section-header-aside/card-section-header-aside.component.d.ts +5 -0
- package/components/card/card-subtitle/card-subtitle.component.d.ts +34 -0
- package/components/card/card-title/card-title.component.d.ts +23 -14
- package/components/card/public-api.d.ts +12 -1
- package/components/card/src/card.component.d.ts +5 -1
- package/components/data-table/actions/actions.component.d.ts +67 -0
- package/components/data-table/actions/actions.types.d.ts +38 -0
- package/components/data-table/public-api.d.ts +2 -0
- package/components/data-table/sortable-header/sortable-header.component.d.ts +2 -0
- package/components/data-table/src/data-table.component.d.ts +14 -5
- package/{directives/typography → components/divider}/index.d.ts +1 -1
- package/components/divider/public-api.d.ts +1 -0
- package/components/divider/src/divider.component.d.ts +13 -0
- package/components/forms/date-picker/src/date-picker.component.d.ts +3 -0
- package/components/forms/form-error/src/form-error.component.d.ts +8 -1
- package/components/forms/input/src/input.component.d.ts +1 -12
- package/components/forms/textarea/src/textarea.component.d.ts +1 -6
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +10 -1
- package/components/paginator/src/paginator.component.d.ts +7 -1
- package/components/table/public-api.d.ts +1 -0
- package/components/table/src/table.component.d.ts +37 -4
- package/components/table/table-action/table-action.component.d.ts +2 -6
- package/components/table/table-actions/table-actions.component.d.ts +52 -6
- package/components/table/table-actions/table-actions.types.d.ts +28 -0
- package/components/{toast → text}/index.d.ts +1 -1
- package/components/text/public-api.d.ts +2 -0
- package/components/text/src/text.component.d.ts +38 -0
- package/directives/only-numbers/public-api.d.ts +0 -5
- package/directives/only-numbers/src/only-numbers.directive.d.ts +1 -13
- package/directives/text/index.d.ts +5 -0
- package/directives/text/public-api.d.ts +1 -0
- package/directives/text/src/text.directive.d.ts +87 -0
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +9 -9
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +10 -11
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +428 -47
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +202 -51
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-divider.mjs +44 -0
- package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +6 -6
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +21 -5
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +12 -5
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +3 -15
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +5 -11
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +46 -18
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +439 -47
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-text.mjs +308 -0
- package/fesm2022/sixbell-telco-sdk-components-text.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +12 -12
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +5 -22
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-text.mjs +160 -0
- package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs +490 -0
- package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +49 -1
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
- package/package.json +100 -92
- package/utils/formatting/README.md +100 -0
- package/utils/formatting/index.d.ts +5 -0
- package/utils/formatting/public-api.d.ts +9 -0
- package/utils/formatting/src/constants/constants.d.ts +18 -0
- package/utils/formatting/src/models/formatting.d.ts +33 -0
- package/utils/formatting/src/pipes/currency/st-currency.pipe.d.ts +9 -0
- package/utils/formatting/src/pipes/date/st-date.pipe.d.ts +9 -0
- package/utils/formatting/src/pipes/decimal/st-decimal.pipe.d.ts +9 -0
- package/utils/formatting/src/pipes/percent/st-percent.pipe.d.ts +9 -0
- package/utils/formatting/src/service/formatting.service.d.ts +13 -0
- package/utils/formatting/src/utils/date-format/date-format.d.ts +9 -0
- package/utils/formatting/src/utils/number-format/number-format.d.ts +12 -0
- package/utils/logger/README.md +8 -19
- package/utils/runtime-config/README.md +1 -1
- package/utils/theme/README.md +21 -2
- package/utils/translation/README.md +40 -10
- package/utils/translation/public-api.d.ts +1 -1
- package/utils/translation/src/constants.d.ts +9 -2
- package/utils/translation/src/models/translation.d.ts +11 -0
- package/utils/translation/src/providers/translation.provider.d.ts +1 -1
- package/utils/translation/src/translation.service.d.ts +6 -1
- package/assets/styles/toast.css +0 -63
- package/components/card/card-content/card-content.component.d.ts +0 -30
- package/components/toast/public-api.d.ts +0 -12
- package/components/toast/services/toast.service.d.ts +0 -35
- package/components/toast/toast-message/toast-message.component.d.ts +0 -70
- package/components/toast/toasts-container/toasts-container.component.d.ts +0 -21
- package/directives/typography/public-api.d.ts +0 -1
- package/directives/typography/src/typography.directive.d.ts +0 -68
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +0 -250
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +0 -1
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +0 -126
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +0 -1
package/_index.css
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
@import 'tailwindcss' source('../');
|
|
2
2
|
@import '@angular/cdk/overlay-prebuilt.css';
|
|
3
|
-
/* Legacy toast system (deprecated) + Sonner relies on component classes */
|
|
4
|
-
@import './assets/styles/toast.css';
|
|
5
|
-
|
|
6
3
|
@plugin "@midudev/tailwind-animations";
|
|
7
4
|
@plugin "@tailwindcss/typography";
|
|
8
5
|
@plugin "daisyui" {
|
|
@@ -632,6 +629,23 @@
|
|
|
632
629
|
}
|
|
633
630
|
}
|
|
634
631
|
|
|
632
|
+
st-card > .card {
|
|
633
|
+
outline: 0 solid transparent;
|
|
634
|
+
outline-offset: 0;
|
|
635
|
+
transition: none;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
st-card > .card:focus,
|
|
639
|
+
st-card > .card:focus-visible,
|
|
640
|
+
st-card > .card:has(> :checked) {
|
|
641
|
+
outline: 0 solid transparent;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
st-card > .card:has(> input:is(input[type='checkbox'], input[type='radio'])) {
|
|
645
|
+
cursor: default;
|
|
646
|
+
user-select: auto;
|
|
647
|
+
}
|
|
648
|
+
|
|
635
649
|
.hide-x-scrollbar {
|
|
636
650
|
scrollbar-width: none; /* Firefox */
|
|
637
651
|
-ms-overflow-style: none; /* IE 10+ */
|
|
@@ -12,11 +12,11 @@ export type CardActionsAligmentProps = 'left' | 'right' | 'center';
|
|
|
12
12
|
* @example
|
|
13
13
|
* ```html
|
|
14
14
|
* <st-card>
|
|
15
|
-
* <st-card-
|
|
16
|
-
*
|
|
17
|
-
* <st-card-actions alignment="right">
|
|
15
|
+
* <st-card-footer>
|
|
16
|
+
* <st-card-actions alignment="right">
|
|
18
17
|
* <button class="btn">Action</button>
|
|
19
|
-
*
|
|
18
|
+
* </st-card-actions>
|
|
19
|
+
* </st-card-footer>
|
|
20
20
|
* </st-card>
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InjectionToken, Signal } from '@angular/core';
|
|
2
|
+
export type CardTypographyArea = 'card-header' | 'section-header';
|
|
3
|
+
export type CardTypographyContext = {
|
|
4
|
+
area: CardTypographyArea;
|
|
5
|
+
prominent: Signal<boolean>;
|
|
6
|
+
};
|
|
7
|
+
export declare const CARD_HAS_SECTIONS: InjectionToken<Signal<boolean>>;
|
|
8
|
+
export declare const CARD_TYPOGRAPHY_CONTEXT: InjectionToken<CardTypographyContext>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardFooterComponent {
|
|
3
|
+
divided: import("@angular/core").InputSignal<boolean>;
|
|
4
|
+
protected readonly contentClass: import("@angular/core").Signal<"mt-6" | "">;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardFooterComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardFooterComponent, "st-card-footer", never, { "divided": { "alias": "divided"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardHeaderComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "st-card-header", never, {}, {}, never, ["*", "st-card-header-aside"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardHeaderAsideComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderAsideComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderAsideComponent, "st-card-header-aside", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardSectionComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSectionComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSectionComponent, "st-card-section", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type CardSectionBodyGapProps = 'tight' | 'normal' | 'relaxed' | null | undefined;
|
|
3
|
+
export type CardSectionBodyProps = {
|
|
4
|
+
gap?: CardSectionBodyGapProps;
|
|
5
|
+
class?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare class CardSectionBodyComponent {
|
|
8
|
+
gap: import("@angular/core").InputSignal<CardSectionBodyGapProps>;
|
|
9
|
+
class: import("@angular/core").InputSignal<string>;
|
|
10
|
+
containerClass: import("@angular/core").Signal<string>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSectionBodyComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSectionBodyComponent, "st-card-section-body", never, { "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardSectionFooterComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSectionFooterComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSectionFooterComponent, "st-card-section-footer", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CardSectionComponent } from '../card-section/card-section.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CardSectionGroupComponent {
|
|
4
|
+
private readonly host;
|
|
5
|
+
private readonly destroyRef;
|
|
6
|
+
private readonly envInjector;
|
|
7
|
+
private readonly dividerClass;
|
|
8
|
+
private dividerRefs;
|
|
9
|
+
divided: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
protected readonly sections: import("@angular/core").Signal<readonly CardSectionComponent[]>;
|
|
11
|
+
constructor();
|
|
12
|
+
private syncDividers;
|
|
13
|
+
private removeDividers;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSectionGroupComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSectionGroupComponent, "st-card-section-group", never, { "divided": { "alias": "divided"; "required": false; "isSignal": true; }; }, {}, ["sections"], ["*"], true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardSectionHeaderComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSectionHeaderComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSectionHeaderComponent, "st-card-section-header", never, {}, {}, never, ["*", "st-card-section-header-aside"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardSectionHeaderAsideComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSectionHeaderAsideComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSectionHeaderAsideComponent, "st-card-section-header-aside", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TextPreset } from '@sixbell-telco/sdk/directives/text';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A context-aware subtitle primitive for cards.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* Renders as a `<p>` element with the prominent card-header preset inside `<st-card-header>` when the card contains sections.
|
|
8
|
+
* If the card has no sections, the subtitle downgrades to the same preset used by section subtitles.
|
|
9
|
+
* Preset and classes are overridable per instance.
|
|
10
|
+
* Supports arbitrary inner HTML/components.
|
|
11
|
+
*
|
|
12
|
+
* Uses `display: contents` so the rendered paragraph element participates
|
|
13
|
+
* directly in the parent flex layout.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <st-card-header>
|
|
18
|
+
* <st-card-title>Title</st-card-title>
|
|
19
|
+
* <st-card-subtitle>Last updated today</st-card-subtitle>
|
|
20
|
+
* </st-card-header>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class CardSubtitleComponent {
|
|
24
|
+
private readonly typographyContext;
|
|
25
|
+
private readonly hostStaticClasses;
|
|
26
|
+
preset: import("@angular/core").InputSignal<TextPreset>;
|
|
27
|
+
class: import("@angular/core").InputSignal<string>;
|
|
28
|
+
protected readonly isCardHeader: import("@angular/core").Signal<boolean>;
|
|
29
|
+
protected readonly prominent: import("@angular/core").Signal<boolean>;
|
|
30
|
+
protected readonly resolvedPreset: import("@angular/core").Signal<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10">;
|
|
31
|
+
protected readonly resolvedClass: import("@angular/core").Signal<string>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSubtitleComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSubtitleComponent, "st-card-subtitle", never, { "preset": { "alias": "preset"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
34
|
+
}
|
|
@@ -1,27 +1,36 @@
|
|
|
1
|
+
import { TextPreset } from '@sixbell-telco/sdk/directives/text';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
|
-
* A title
|
|
4
|
+
* A context-aware title primitive for cards.
|
|
4
5
|
*
|
|
5
6
|
* @remarks
|
|
6
|
-
*
|
|
7
|
-
*
|
|
7
|
+
* Renders as `<h2>` with prominent preset 2 inside `<st-card-header>` when the card contains sections.
|
|
8
|
+
* If the card has no sections, the header title downgrades to preset 4 so the header does not overstate hierarchy.
|
|
9
|
+
* Inside `<st-card-section-header>` (or standalone), it renders as `<h3>` with preset 4.
|
|
10
|
+
* Semantic tag (`as`), preset, and classes are overridable per instance.
|
|
11
|
+
* Supports arbitrary inner HTML/components (badges, links, icons).
|
|
8
12
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* <st-card>
|
|
12
|
-
* <st-card-title>Card Header</st-card-title>
|
|
13
|
-
* <p>Card content</p>
|
|
14
|
-
* </st-card>
|
|
15
|
-
* ```
|
|
13
|
+
* Uses `display: contents` so the rendered heading element participates
|
|
14
|
+
* directly in the parent flex layout.
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```html
|
|
19
|
-
* <st-card-
|
|
20
|
-
*
|
|
21
|
-
* </st-card-
|
|
18
|
+
* <st-card-header>
|
|
19
|
+
* <st-card-title>Customer overview</st-card-title>
|
|
20
|
+
* </st-card-header>
|
|
22
21
|
* ```
|
|
23
22
|
*/
|
|
24
23
|
export declare class CardTitleComponent {
|
|
24
|
+
private readonly typographyContext;
|
|
25
|
+
private readonly hostStaticClasses;
|
|
26
|
+
tagOverride: import("@angular/core").InputSignal<"h2" | "h3" | undefined>;
|
|
27
|
+
preset: import("@angular/core").InputSignal<TextPreset>;
|
|
28
|
+
class: import("@angular/core").InputSignal<string>;
|
|
29
|
+
protected readonly isCardHeader: import("@angular/core").Signal<boolean>;
|
|
30
|
+
protected readonly prominent: import("@angular/core").Signal<boolean>;
|
|
31
|
+
protected readonly tag: import("@angular/core").Signal<"h2" | "h3">;
|
|
32
|
+
protected readonly resolvedPreset: import("@angular/core").Signal<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10">;
|
|
33
|
+
protected readonly resolvedClass: import("@angular/core").Signal<string>;
|
|
25
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardTitleComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardTitleComponent, "st-card-title", never, {}, {}, never, ["*"], true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardTitleComponent, "st-card-title", never, { "tagOverride": { "alias": "as"; "required": false; "isSignal": true; }; "preset": { "alias": "preset"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
27
36
|
}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
export * from './card-actions/card-actions.component';
|
|
2
|
-
export * from './card-
|
|
2
|
+
export * from './card-body/card-body.component';
|
|
3
|
+
export * from './card-context';
|
|
4
|
+
export * from './card-footer/card-footer.component';
|
|
5
|
+
export * from './card-header-aside/card-header-aside.component';
|
|
6
|
+
export * from './card-header/card-header.component';
|
|
7
|
+
export * from './card-section-body/card-section-body.component';
|
|
8
|
+
export * from './card-section-footer/card-section-footer.component';
|
|
9
|
+
export * from './card-section-group/card-section-group.component';
|
|
10
|
+
export * from './card-section-header-aside/card-section-header-aside.component';
|
|
11
|
+
export * from './card-section-header/card-section-header.component';
|
|
12
|
+
export * from './card-section/card-section.component';
|
|
13
|
+
export * from './card-subtitle/card-subtitle.component';
|
|
3
14
|
export * from './card-title/card-title.component';
|
|
4
15
|
export * from './src/card.component';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CardSectionComponent } from '../card-section/card-section.component';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -47,6 +48,9 @@ export type CardProps = {
|
|
|
47
48
|
* ```
|
|
48
49
|
*/
|
|
49
50
|
export declare class CardComponent {
|
|
51
|
+
protected readonly sections: import("@angular/core").Signal<readonly CardSectionComponent[]>;
|
|
52
|
+
protected readonly hasSections: import("@angular/core").Signal<boolean>;
|
|
53
|
+
protected readonly bodyClass: import("@angular/core").Signal<"card-body gap-6" | "card-body gap-5">;
|
|
50
54
|
/**
|
|
51
55
|
* Card container size variant
|
|
52
56
|
* @defaultValue 'md'
|
|
@@ -107,5 +111,5 @@ export declare class CardComponent {
|
|
|
107
111
|
*/
|
|
108
112
|
componentClass: import("@angular/core").Signal<string>;
|
|
109
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "st-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "imageAlt": { "alias": "imageAlt"; "required": false; "isSignal": true; }; "imageOrientation": { "alias": "imageOrientation"; "required": false; "isSignal": true; }; "imageAlignment": { "alias": "imageAlignment"; "required": false; "isSignal": true; }; "imageAsBackground": { "alias": "imageAsBackground"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "dash": { "alias": "dash"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; }, {},
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "st-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "imageAlt": { "alias": "imageAlt"; "required": false; "isSignal": true; }; "imageOrientation": { "alias": "imageOrientation"; "required": false; "isSignal": true; }; "imageAlignment": { "alias": "imageAlignment"; "required": false; "isSignal": true; }; "imageAsBackground": { "alias": "imageAsBackground"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "dash": { "alias": "dash"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; }, {}, ["sections"], ["*"], true, never>;
|
|
111
115
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { type CellContext, RowData } from '@tanstack/angular-table';
|
|
2
|
+
import { DataTableContextService } from '../src/data-table-context.service';
|
|
3
|
+
import { DataTableActionConfig, DataTableActionEvent, DataTableActionsMode, DataTableActionsSizeProps } from './actions.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Data-table actions component that auto-syncs with the parent data-table size
|
|
7
|
+
* and provides row context from TanStack Table.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* This component wraps `st-table-actions` for use within TanStack-based data tables.
|
|
11
|
+
* It injects the flex render context to access the row data and the data table context
|
|
12
|
+
* to automatically synchronize the action button sizes with the table size.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* // In column definitions:
|
|
17
|
+
* {
|
|
18
|
+
* id: 'actions',
|
|
19
|
+
* header: 'Actions',
|
|
20
|
+
* enableSorting: false,
|
|
21
|
+
* cell: () => flexRenderComponent(DataTableActionsComponent, {
|
|
22
|
+
* inputs: { actions: this.userActions },
|
|
23
|
+
* outputs: { actionTriggered: (event) => this.handleAction(event.action, event.row) },
|
|
24
|
+
* }),
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class DataTableActionsComponent<T extends RowData> {
|
|
29
|
+
/**
|
|
30
|
+
* TanStack Table context injected by flexRender
|
|
31
|
+
*/
|
|
32
|
+
readonly context: CellContext<T, unknown>;
|
|
33
|
+
/**
|
|
34
|
+
* Data table context for size synchronization
|
|
35
|
+
*/
|
|
36
|
+
readonly dataTableContext: DataTableContextService;
|
|
37
|
+
/**
|
|
38
|
+
* Array of action configurations.
|
|
39
|
+
*/
|
|
40
|
+
readonly actions: import("@angular/core").InputSignal<DataTableActionConfig[]>;
|
|
41
|
+
/**
|
|
42
|
+
* Rendering mode for the actions.
|
|
43
|
+
* @defaultValue 'inline'
|
|
44
|
+
*/
|
|
45
|
+
readonly mode: import("@angular/core").InputSignal<DataTableActionsMode>;
|
|
46
|
+
/**
|
|
47
|
+
* Icon for the dropdown trigger button.
|
|
48
|
+
* @defaultValue matMoreVert (Material vertical dots icon)
|
|
49
|
+
*/
|
|
50
|
+
readonly triggerIcon: import("@angular/core").InputSignal<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Emitted when an action is triggered. Includes both the action config and the row data.
|
|
53
|
+
*/
|
|
54
|
+
readonly actionTriggered: import("@angular/core").OutputEmitterRef<DataTableActionEvent<T>>;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* Computed action size synchronized with the parent data-table size.
|
|
58
|
+
*/
|
|
59
|
+
readonly actionsSize: import("@angular/core").Signal<DataTableActionsSizeProps>;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* Handles action click from the inner st-table-actions and emits with row context.
|
|
63
|
+
*/
|
|
64
|
+
onActionClick(action: DataTableActionConfig): void;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableActionsComponent<any>, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableActionsComponent<any>, "st-data-table-actions", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "triggerIcon": { "alias": "triggerIcon"; "required": false; "isSignal": true; }; }, { "actionTriggered": "actionTriggered"; }, never, never, true, never>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ButtonVariantProps } from '@sixbell-telco/sdk/components/button';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for a single data-table action.
|
|
4
|
+
*/
|
|
5
|
+
export interface DataTableActionConfig {
|
|
6
|
+
/** Unique identifier for the action. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** SVG icon string (from ng-icons). */
|
|
9
|
+
icon?: string;
|
|
10
|
+
/** Display label (supports i18n translation keys, used in dropdown mode). */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** Tooltip text for inline mode (supports i18n translation keys). */
|
|
13
|
+
tooltip?: string;
|
|
14
|
+
/** Button variant style. */
|
|
15
|
+
variant?: ButtonVariantProps;
|
|
16
|
+
/** Whether the action is disabled. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Rendering mode for data-table actions.
|
|
21
|
+
* - `inline`: Renders action buttons in a row (default).
|
|
22
|
+
* - `dropdown`: Renders a kebab menu (3-dot) that opens a dropdown with action items.
|
|
23
|
+
*/
|
|
24
|
+
export type DataTableActionsMode = 'inline' | 'dropdown';
|
|
25
|
+
/**
|
|
26
|
+
* Size options for data-table actions.
|
|
27
|
+
*/
|
|
28
|
+
export type DataTableActionsSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
29
|
+
/**
|
|
30
|
+
* Event emitted when a data-table action is triggered.
|
|
31
|
+
* Bundles the action config and the row data together.
|
|
32
|
+
*/
|
|
33
|
+
export interface DataTableActionEvent<T = unknown> {
|
|
34
|
+
/** The action that was triggered. */
|
|
35
|
+
action: DataTableActionConfig;
|
|
36
|
+
/** The row data associated with the action. */
|
|
37
|
+
row: T;
|
|
38
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from '@tanstack/angular-table';
|
|
2
|
+
export * from './actions/actions.component';
|
|
3
|
+
export * from './actions/actions.types';
|
|
2
4
|
export * from './data-table-empty-actions/data-table-empty-actions.component';
|
|
3
5
|
export * from './expandable/expandable.component';
|
|
4
6
|
export * from './selection/selection.component';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ButtonSizeProps } from '@sixbell-telco/sdk/components/button';
|
|
2
2
|
import { IconSizeProps } from '@sixbell-telco/sdk/components/icon';
|
|
3
|
+
import { TextPreset } from '@sixbell-telco/sdk/directives/text';
|
|
3
4
|
import { DataTableContextService } from '../src/data-table-context.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
@@ -46,6 +47,7 @@ export declare class DataTableSortableHeaderComponent {
|
|
|
46
47
|
* Computes icon size based on data table size
|
|
47
48
|
*/
|
|
48
49
|
readonly iconSize: import("@angular/core").Signal<IconSizeProps>;
|
|
50
|
+
readonly labelPreset: import("@angular/core").Signal<TextPreset>;
|
|
49
51
|
/**
|
|
50
52
|
* @internal
|
|
51
53
|
* Computes the appropriate icon based on current sort state
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { SelectSizeProps } from '@sixbell-telco/sdk/components/forms/select';
|
|
2
|
+
import { PaginationType, PaginatorSizeProps } from '@sixbell-telco/sdk/components/paginator';
|
|
3
|
+
import { TableContainerHeightProps, TableContentSizeProps, TableFooterLayoutTokens, TableResolvedSize, TableSizeTokens } from '@sixbell-telco/sdk/components/table';
|
|
4
|
+
import { TextPreset } from '@sixbell-telco/sdk/directives/text';
|
|
4
5
|
import { TranslateService } from '@sixbell-telco/sdk/utils/translation';
|
|
5
6
|
import { DataTableContextService } from './data-table-context.service';
|
|
6
7
|
import { DataTablePagination } from './models';
|
|
@@ -44,6 +45,7 @@ export declare const dataTableContent: (props?: ({
|
|
|
44
45
|
export declare class DataTableContainerComponent {
|
|
45
46
|
readonly translationService: TranslateService;
|
|
46
47
|
readonly dataTableContext: DataTableContextService;
|
|
48
|
+
readonly resolvedSize: import("@angular/core").Signal<TableResolvedSize>;
|
|
47
49
|
/**
|
|
48
50
|
* Empty state icon for no data state
|
|
49
51
|
* @defaultValue heroDocumentText
|
|
@@ -51,7 +53,7 @@ export declare class DataTableContainerComponent {
|
|
|
51
53
|
noDataIcon: import("@angular/core").InputSignal<string>;
|
|
52
54
|
/**
|
|
53
55
|
* Empty state icon for no results state
|
|
54
|
-
* @defaultValue
|
|
56
|
+
* @defaultValue matSearchOff
|
|
55
57
|
*/
|
|
56
58
|
noResultsIcon: import("@angular/core").InputSignal<string>;
|
|
57
59
|
/**
|
|
@@ -145,7 +147,14 @@ export declare class DataTableContainerComponent {
|
|
|
145
147
|
* @internal
|
|
146
148
|
* Computes typography variant for paginator text based on table size
|
|
147
149
|
*/
|
|
148
|
-
readonly paginatorTextSize: import("@angular/core").Signal<
|
|
150
|
+
readonly paginatorTextSize: import("@angular/core").Signal<TextPreset>;
|
|
151
|
+
readonly sizeTokens: import("@angular/core").Signal<TableSizeTokens>;
|
|
152
|
+
readonly footerLayoutTokens: import("@angular/core").Signal<TableFooterLayoutTokens>;
|
|
153
|
+
readonly footerSelectSize: import("@angular/core").Signal<SelectSizeProps>;
|
|
154
|
+
readonly footerPaginatorSize: import("@angular/core").Signal<PaginatorSizeProps>;
|
|
155
|
+
readonly footerWrapperClass: import("@angular/core").Signal<string>;
|
|
156
|
+
readonly footerDividerClass: import("@angular/core").Signal<string>;
|
|
157
|
+
readonly footerContentClass: import("@angular/core").Signal<string>;
|
|
149
158
|
/**
|
|
150
159
|
* @internal
|
|
151
160
|
* Computes table element classes based on current configuration
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/divider.component';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type DividerVariant = 'neutral' | 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | undefined;
|
|
3
|
+
export type DividerOrientation = 'vertical' | 'horizontal';
|
|
4
|
+
export type DividerPlacement = 'start' | 'center' | 'end';
|
|
5
|
+
export declare class DividerComponent {
|
|
6
|
+
orientation: import("@angular/core").InputSignal<DividerOrientation>;
|
|
7
|
+
placement: import("@angular/core").InputSignal<DividerPlacement>;
|
|
8
|
+
variant: import("@angular/core").InputSignal<DividerVariant>;
|
|
9
|
+
withMargin: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
componentClass: import("@angular/core").Signal<string>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "st-divider", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "withMargin": { "alias": "withMargin"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
}
|
|
@@ -76,6 +76,7 @@ export declare class DatepickerComponent implements ControlValueAccessor {
|
|
|
76
76
|
private isUpdatingRange;
|
|
77
77
|
/** Translation service for reactive language changes */
|
|
78
78
|
private readonly translationService;
|
|
79
|
+
private readonly formattingService;
|
|
79
80
|
/** Form change callback */
|
|
80
81
|
private onControlChange;
|
|
81
82
|
/** Form touch callback */
|
|
@@ -221,6 +222,8 @@ export declare class DatepickerComponent implements ControlValueAccessor {
|
|
|
221
222
|
endTimeDisplay: import("@angular/core").Signal<string>;
|
|
222
223
|
/** Keep internal state in sync when rangeValue input changes */
|
|
223
224
|
syncInputEff: import("@angular/core").EffectRef;
|
|
225
|
+
/** Keep internal state in sync when single value input changes */
|
|
226
|
+
syncSingleInputEff: import("@angular/core").EffectRef;
|
|
224
227
|
/** Sync external start/end time inputs into internal signals */
|
|
225
228
|
syncTimeInputsEff: import("@angular/core").EffectRef;
|
|
226
229
|
/** Exposed selected date value (ISO format) for template access */
|
|
@@ -4,7 +4,14 @@ export declare class FormErrorsComponent {
|
|
|
4
4
|
parentForm: import("@angular/core").InputSignal<FormGroup<any>>;
|
|
5
5
|
formField: import("@angular/core").InputSignal<string>;
|
|
6
6
|
formControl: import("@angular/core").Signal<FormControl<any>>;
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Returns the value of the first custom error on the current form control.
|
|
9
|
+
*
|
|
10
|
+
* This is intentionally a method (not a `computed()`) because `FormControl.errors`
|
|
11
|
+
* is a plain mutable object — not a signal — so a `computed()` cannot track when
|
|
12
|
+
* validation errors change and would return a stale cached value.
|
|
13
|
+
*/
|
|
14
|
+
customError(): string | null;
|
|
8
15
|
isRequired: import("@angular/core").InputSignal<string | undefined>;
|
|
9
16
|
isMinLength: import("@angular/core").InputSignal<string | undefined>;
|
|
10
17
|
isMaxLength: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -81,12 +81,6 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
81
81
|
*/
|
|
82
82
|
readonly: import("@angular/core").InputSignal<boolean>;
|
|
83
83
|
focus: import("@angular/core").InputSignal<boolean>;
|
|
84
|
-
/**
|
|
85
|
-
* Whether to restrict input to numeric characters only
|
|
86
|
-
* @defaultValue false
|
|
87
|
-
* @deprecated Use `onlyNumbers` instead. This input is maintained for backward compatibility.
|
|
88
|
-
*/
|
|
89
|
-
justNumbers: import("@angular/core").InputSignal<boolean>;
|
|
90
84
|
/**
|
|
91
85
|
* Whether to restrict input to numeric characters only
|
|
92
86
|
* @defaultValue false
|
|
@@ -116,11 +110,6 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
116
110
|
* @defaultValue false
|
|
117
111
|
*/
|
|
118
112
|
disabled: import("@angular/core").ModelSignal<boolean>;
|
|
119
|
-
/**
|
|
120
|
-
* Event emitted when Enter key is pressed
|
|
121
|
-
* @deprecated Use keyDownEnter or triggered instead. This output will be removed in the next major.
|
|
122
|
-
*/
|
|
123
|
-
enterPressed: import("@angular/core").OutputEmitterRef<string>;
|
|
124
113
|
/**
|
|
125
114
|
* Stop event propagation for activation events
|
|
126
115
|
* @defaultValue false
|
|
@@ -218,6 +207,6 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
218
207
|
*/
|
|
219
208
|
private setupDebounce;
|
|
220
209
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
221
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "st-input", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showOptional": { "alias": "showOptional"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "focus": { "alias": "focus"; "required": false; "isSignal": true; }; "
|
|
210
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "st-input", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showOptional": { "alias": "showOptional"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "focus": { "alias": "focus"; "required": false; "isSignal": true; }; "onlyNumbers": { "alias": "onlyNumbers"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "keyDownEnter": "keyDownEnter"; "triggered": "triggered"; "clicked": "clicked"; "blurred": "blurred"; "valueDebounced": "valueDebounced"; }, never, ["st-input-content[alignment='start']", "st-input-content[alignment='end']", ":not(st-input-content)"], true, never>;
|
|
222
211
|
}
|
|
223
212
|
export {};
|
|
@@ -127,11 +127,6 @@ export declare class TextareaComponent {
|
|
|
127
127
|
private onControlChange;
|
|
128
128
|
/** @internal */
|
|
129
129
|
private onControlTouch;
|
|
130
|
-
/**
|
|
131
|
-
* Event emitted on Enter key press
|
|
132
|
-
* @deprecated Use keyDownEnter or triggered instead. This output will be removed in the next major.
|
|
133
|
-
*/
|
|
134
|
-
enterPressed: import("@angular/core").OutputEmitterRef<string>;
|
|
135
130
|
/**
|
|
136
131
|
* Stop event propagation for activation events
|
|
137
132
|
* @defaultValue false
|
|
@@ -249,5 +244,5 @@ export declare class TextareaComponent {
|
|
|
249
244
|
*/
|
|
250
245
|
private setupDebounce;
|
|
251
246
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
252
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "st-textarea", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showOptional": { "alias": "showOptional"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "blurred": "blurred"; "value": "valueChange"; "
|
|
247
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "st-textarea", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showOptional": { "alias": "showOptional"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "blurred": "blurred"; "value": "valueChange"; "keyDownEnter": "keyDownEnter"; "triggered": "triggered"; "valueDebounced": "valueDebounced"; }, never, ["*"], true, never>;
|
|
253
248
|
}
|