@sixbell-telco/sdk 0.3.0 → 0.4.1
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 +53 -0
- package/README.md +96 -55
- package/assets/styles/combobox.scss +17 -17
- package/components/accordion/accordion-item/accordion-item.component.d.ts +1 -2
- package/components/avatar/src/avatar.component.d.ts +11 -18
- package/components/button/src/button.component.d.ts +12 -19
- package/components/card/card-actions/card-actions.component.d.ts +8 -0
- package/components/card/card-content/card-content.component.d.ts +5 -0
- package/components/card/card-title/card-title.component.d.ts +5 -0
- package/components/card/public-api.d.ts +3 -0
- package/components/card/src/card.component.d.ts +19 -20
- package/components/countdown/src/countdown.component.d.ts +6 -1
- package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +10 -0
- package/components/dropdown/public-api.d.ts +1 -0
- package/components/dropdown/src/dropdown.component.d.ts +24 -42
- package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +2 -5
- package/components/forms/checkbox/src/checkbox.component.d.ts +2 -3
- package/components/forms/input/src/input.component.d.ts +7 -8
- package/components/forms/radio/src/radio.component.d.ts +2 -6
- package/components/forms/select/src/select.component.d.ts +5 -8
- package/components/forms/textarea/src/textarea.component.d.ts +5 -11
- package/components/link/src/link.component.d.ts +18 -45
- package/components/modal/modal-actions/modal-actions.component.d.ts +8 -0
- package/components/modal/modal-content/modal-content.component.d.ts +5 -0
- package/components/modal/modal-title/modal-title.component.d.ts +5 -0
- package/components/modal/public-api.d.ts +3 -0
- package/components/modal/src/modal.component.d.ts +9 -13
- package/components/product-card/src/product-card.component.d.ts +5 -9
- package/components/tab/src/tab.component.d.ts +1 -2
- package/directives/click-outside/index.d.ts +5 -0
- package/directives/click-outside/public-api.d.ts +1 -0
- package/directives/click-outside/src/click-outside.directive.d.ts +10 -0
- package/directives/typography/src/typography.directive.d.ts +3 -4
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +5 -6
- package/esm2022/components/avatar/src/avatar.component.mjs +27 -43
- package/esm2022/components/button/src/button.component.mjs +12 -22
- package/esm2022/components/card/card-actions/card-actions.component.mjs +22 -0
- package/esm2022/components/card/card-content/card-content.component.mjs +12 -0
- package/esm2022/components/card/card-title/card-title.component.mjs +12 -0
- package/esm2022/components/card/public-api.mjs +4 -1
- package/esm2022/components/card/src/card.component.mjs +20 -45
- package/esm2022/components/countdown/src/countdown.component.mjs +10 -3
- package/esm2022/components/dropdown/dropdown-item/dropdown-item.component.mjs +24 -0
- package/esm2022/components/dropdown/public-api.mjs +2 -1
- package/esm2022/components/dropdown/src/dropdown.component.mjs +65 -101
- package/esm2022/components/dual-list/src/dual-list.component.mjs +3 -3
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +3 -3
- package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +3 -7
- package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +9 -8
- package/esm2022/components/forms/combobox/src/combobox.component.mjs +3 -3
- package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +2 -2
- package/esm2022/components/forms/form-error/src/form-error.component.mjs +3 -3
- package/esm2022/components/forms/input/src/input.component.mjs +51 -45
- package/esm2022/components/forms/radio/src/radio.component.mjs +5 -18
- package/esm2022/components/forms/range/src/range.component.mjs +3 -3
- package/esm2022/components/forms/select/src/select.component.mjs +24 -34
- package/esm2022/components/forms/switch/src/switch.component.mjs +3 -3
- package/esm2022/components/forms/textarea/src/textarea.component.mjs +35 -48
- package/esm2022/components/forms/toggle/src/toggle.component.mjs +3 -3
- package/esm2022/components/link/src/link.component.mjs +27 -183
- package/esm2022/components/modal/modal-actions/modal-actions.component.mjs +22 -0
- package/esm2022/components/modal/modal-content/modal-content.component.mjs +12 -0
- package/esm2022/components/modal/modal-title/modal-title.component.mjs +13 -0
- package/esm2022/components/modal/public-api.mjs +4 -1
- package/esm2022/components/modal/src/modal.component.mjs +31 -31
- package/esm2022/components/notification/src/notification.component.mjs +2 -5
- package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +24 -24
- package/esm2022/components/product-card/src/product-card.component.mjs +5 -14
- package/esm2022/components/progress/src/progress.component.mjs +3 -3
- package/esm2022/components/tab/src/tab.component.mjs +2 -4
- package/esm2022/components/table/src/table.component.mjs +4 -4
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +1 -1
- package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +1 -1
- package/esm2022/components/toast/toast-message/toast-message.component.mjs +4 -4
- package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +4 -4
- package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +3 -3
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +3 -3
- package/esm2022/directives/click-outside/public-api.mjs +2 -0
- package/esm2022/directives/click-outside/sixbell-telco-sdk-directives-click-outside.mjs +5 -0
- package/esm2022/directives/click-outside/src/click-outside.directive.mjs +30 -0
- package/esm2022/directives/typography/src/typography.directive.mjs +19 -18
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +4 -5
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +26 -42
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +11 -21
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +57 -46
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +9 -2
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +86 -101
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +2 -6
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +8 -7
- 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-datepicker.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +51 -45
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +4 -17
- 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 +23 -33
- 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 +34 -47
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +27 -183
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +71 -33
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs +1 -4
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +23 -23
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +4 -13
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +1 -3
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +7 -7
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +37 -0
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +18 -17
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +31 -25
|
@@ -7,6 +7,10 @@ export declare class CountdownComponent {
|
|
|
7
7
|
showHours: import("@angular/core").InputSignal<boolean>;
|
|
8
8
|
showMinutes: import("@angular/core").InputSignal<boolean>;
|
|
9
9
|
showSeconds: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
labelDays: import("@angular/core").InputSignal<string>;
|
|
11
|
+
labelHours: import("@angular/core").InputSignal<string>;
|
|
12
|
+
labelMinutes: import("@angular/core").InputSignal<string>;
|
|
13
|
+
labelSeconds: import("@angular/core").InputSignal<string>;
|
|
10
14
|
onFinish: import("@angular/core").OutputEmitterRef<void>;
|
|
11
15
|
private countdownDateOnMilliseconds;
|
|
12
16
|
countdowntimer$: import("rxjs").Observable<{
|
|
@@ -25,6 +29,7 @@ export declare class CountdownComponent {
|
|
|
25
29
|
hours: import("@angular/core").Signal<number | undefined>;
|
|
26
30
|
minutes: import("@angular/core").Signal<number | undefined>;
|
|
27
31
|
seconds: import("@angular/core").Signal<number | undefined>;
|
|
32
|
+
getfirstLetterOfLabel(label: string): string;
|
|
28
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CountdownComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CountdownComponent, "st-countdown", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "dueDate": { "alias": "dueDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "showDays": { "alias": "showDays"; "required": false; "isSignal": true; }; "showHours": { "alias": "showHours"; "required": false; "isSignal": true; }; "showMinutes": { "alias": "showMinutes"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; }, { "onFinish": "onFinish"; }, never, never, true, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CountdownComponent, "st-countdown", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "dueDate": { "alias": "dueDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "showDays": { "alias": "showDays"; "required": false; "isSignal": true; }; "showHours": { "alias": "showHours"; "required": false; "isSignal": true; }; "showMinutes": { "alias": "showMinutes"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "labelDays": { "alias": "labelDays"; "required": false; "isSignal": true; }; "labelHours": { "alias": "labelHours"; "required": false; "isSignal": true; }; "labelMinutes": { "alias": "labelMinutes"; "required": false; "isSignal": true; }; "labelSeconds": { "alias": "labelSeconds"; "required": false; "isSignal": true; }; }, { "onFinish": "onFinish"; }, never, never, true, never>;
|
|
30
35
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DropdownComponent } from '../src/dropdown.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DropdownItemComponent {
|
|
4
|
+
private dropdown;
|
|
5
|
+
onSelect: import("@angular/core").OutputEmitterRef<void>;
|
|
6
|
+
constructor(dropdown: DropdownComponent);
|
|
7
|
+
handleSelect(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemComponent, [{ host: true; }]>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemComponent, "st-dropdown-item", never, {}, { "onSelect": "onSelect"; }, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
@@ -1,67 +1,49 @@
|
|
|
1
|
-
import { Route } from '@sixbell-telco/sdk/components/link';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare const dropdownButton: (props?: ({
|
|
4
|
-
variant?: "primary" | "secondary" | "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
height?: "normal" | "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
8
|
-
width?: "normal" | "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
9
|
-
alignment?: "center" | "left" | "right" | null | undefined;
|
|
3
|
+
variant?: "primary" | "secondary" | "tertiary" | "accent" | "info" | "success" | "warning" | "error" | "icon" | null | undefined;
|
|
4
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
iconPosition?: "left" | "right" | null | undefined;
|
|
10
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
-
export type DropdownButtonVariantProps = 'primary' | 'secondary' | '
|
|
12
|
-
export type DropdownButtonShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
13
|
-
export type DropdownButtonPaddingProps = 'none' | 'normal' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
14
|
-
export type DropdownButtonHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
15
|
-
export type DropdownButtonWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
7
|
+
export type DropdownButtonVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'icon' | null | undefined;
|
|
16
8
|
export type DropdownButtonAlignmentProps = 'center' | 'left' | 'right' | null | undefined;
|
|
9
|
+
export type DropdownButtonPositionProps = 'left' | 'right' | null | undefined;
|
|
10
|
+
export type DropdownButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
17
11
|
export declare const dropdownMenu: (props?: ({
|
|
18
12
|
menuPosition?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
19
13
|
menuAlignment?: "start" | "end" | null | undefined;
|
|
20
|
-
menuOpenBy?: "click" | "hover" | null | undefined;
|
|
21
14
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
15
|
export type DropdownMenuPositionProps = 'top' | 'bottom' | 'right' | 'left' | null | undefined;
|
|
23
16
|
export type DropdownMenuAlignmentProps = 'start' | 'end' | null | undefined;
|
|
24
|
-
export type DropdownMenuOpenByProps = 'click' | 'hover' | null | undefined;
|
|
25
|
-
export declare const dropdownIcon: (props?: ({
|
|
26
|
-
iconPosition?: "center" | "left" | "right" | null | undefined;
|
|
27
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
28
|
-
export type DropdownIconPositionProps = 'center' | 'left' | 'right' | null | undefined;
|
|
29
17
|
export type DropdownProps = {
|
|
30
18
|
variant?: DropdownButtonVariantProps;
|
|
31
|
-
shape?: DropdownButtonShapeProps;
|
|
32
|
-
height?: DropdownButtonHeightProps;
|
|
33
|
-
padding?: DropdownButtonPaddingProps;
|
|
34
|
-
width?: DropdownButtonWidthProps;
|
|
35
19
|
alignment?: DropdownButtonAlignmentProps;
|
|
36
20
|
menuAlignment?: DropdownMenuAlignmentProps;
|
|
37
21
|
menuPosition?: DropdownMenuPositionProps;
|
|
38
|
-
|
|
39
|
-
iconPosition?: DropdownIconPositionProps;
|
|
22
|
+
iconPosition?: DropdownButtonPositionProps;
|
|
40
23
|
};
|
|
41
|
-
export declare const dropdownComponent: ({ variant,
|
|
24
|
+
export declare const dropdownComponent: ({ variant, menuAlignment, menuPosition, iconPosition }?: DropdownProps) => string;
|
|
42
25
|
export declare class DropdownComponent {
|
|
43
26
|
variant: import("@angular/core").InputSignal<DropdownButtonVariantProps>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
27
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
outline: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
circle: import("@angular/core").InputSignal<boolean>;
|
|
30
|
+
square: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
glass: import("@angular/core").InputSignal<boolean>;
|
|
32
|
+
block: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
size: import("@angular/core").InputSignal<DropdownButtonSizeProps>;
|
|
34
|
+
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
35
|
+
iconPosition: import("@angular/core").InputSignal<DropdownButtonPositionProps>;
|
|
49
36
|
menuPosition: import("@angular/core").InputSignal<DropdownMenuPositionProps>;
|
|
50
37
|
menuAlignment: import("@angular/core").InputSignal<DropdownMenuAlignmentProps>;
|
|
51
|
-
menuOpenBy: import("@angular/core").InputSignal<DropdownMenuOpenByProps>;
|
|
52
|
-
iconPosition: import("@angular/core").InputSignal<DropdownIconPositionProps>;
|
|
53
|
-
buttonClasses: import("@angular/core").InputSignal<string>;
|
|
54
|
-
menuClasses: import("@angular/core").InputSignal<string>;
|
|
55
|
-
iconClasses: import("@angular/core").InputSignal<string>;
|
|
56
38
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
disabled: import("@angular/core").InputSignal<boolean>;
|
|
61
|
-
routes: import("@angular/core").InputSignal<Route[]>;
|
|
39
|
+
isOpened: import("@angular/core").ModelSignal<boolean>;
|
|
40
|
+
onToggle: import("@angular/core").OutputEmitterRef<boolean>;
|
|
41
|
+
onMouseEnter: import("@angular/core").OutputEmitterRef<boolean>;
|
|
62
42
|
get buttonClass(): string;
|
|
63
43
|
get menuClass(): string;
|
|
64
|
-
get
|
|
44
|
+
get dropdownContentClass(): string;
|
|
45
|
+
handleToggle(): void;
|
|
46
|
+
handleClickOuside(): void;
|
|
65
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "st-dropdown", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "st-dropdown", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "menuPosition": { "alias": "menuPosition"; "required": false; "isSignal": true; }; "menuAlignment": { "alias": "menuAlignment"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "isOpened": { "alias": "isOpened"; "required": false; "isSignal": true; }; }, { "isOpened": "isOpenedChange"; "onToggle": "onToggle"; "onMouseEnter": "onMouseEnter"; }, never, ["*"], true, never>;
|
|
67
49
|
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { InputSizeProps, InputVariantProps } from '@sixbell-telco/sdk/components/forms/input';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export type FileUploaderVariantProps = Exclude<InputVariantProps, 'search' | 'search-ghost'>;
|
|
6
|
-
export type FileUploaderShapeProps = InputShapeProps;
|
|
7
6
|
export type FileUploaderSizeProps = InputSizeProps;
|
|
8
7
|
export type FileUploaderProps = {
|
|
9
8
|
variant?: FileUploaderVariantProps;
|
|
10
|
-
shape?: FileUploaderShapeProps;
|
|
11
9
|
size?: FileUploaderSizeProps;
|
|
12
10
|
};
|
|
13
11
|
export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
14
12
|
variant: import("@angular/core").InputSignal<FileUploaderVariantProps>;
|
|
15
|
-
shape: import("@angular/core").InputSignal<InputShapeProps>;
|
|
16
13
|
size: import("@angular/core").InputSignal<InputSizeProps>;
|
|
17
14
|
classes: import("@angular/core").InputSignal<string>;
|
|
18
15
|
label: import("@angular/core").InputSignal<string>;
|
|
@@ -45,5 +42,5 @@ export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
|
45
42
|
successClass(): FileUploaderProps;
|
|
46
43
|
validationClass(): FileUploaderProps;
|
|
47
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploaderComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploaderComponent, "st-file-uploader", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploaderComponent, "st-file-uploader", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showExtensions": { "alias": "showExtensions"; "required": false; "isSignal": true; }; "extensions": { "alias": "extensions"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onFileChange": "onFileChange"; "value": "valueChange"; "disabled": "disabledChange"; }, never, ["*"], true, never>;
|
|
49
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type CheckboxVariantProps = 'primary' | '
|
|
3
|
+
export type CheckboxVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | null | undefined;
|
|
4
4
|
export type CheckboxSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
5
5
|
export type CheckboxProps = {
|
|
6
6
|
variant?: CheckboxVariantProps;
|
|
@@ -9,7 +9,6 @@ export type CheckboxProps = {
|
|
|
9
9
|
export declare class CheckboxComponent implements ControlValueAccessor {
|
|
10
10
|
variant: import("@angular/core").InputSignal<CheckboxVariantProps>;
|
|
11
11
|
size: import("@angular/core").InputSignal<CheckboxSizeProps>;
|
|
12
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
13
12
|
label: import("@angular/core").InputSignal<string>;
|
|
14
13
|
name: import("@angular/core").InputSignal<string | null>;
|
|
15
14
|
value: import("@angular/core").ModelSignal<boolean>;
|
|
@@ -25,5 +24,5 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
25
24
|
handleBlur(): void;
|
|
26
25
|
get componentClass(): string;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "st-checkbox", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "st-checkbox", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onChange": "onChange"; }, never, never, true, never>;
|
|
29
28
|
}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export type InputVariantProps = 'primary' | 'secondary' | '
|
|
5
|
-
export type
|
|
6
|
-
export type InputSizeProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
4
|
+
export type InputVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | null | undefined;
|
|
5
|
+
export type InputSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
7
6
|
export type InputIconPositionProps = 'left' | 'right' | null | undefined;
|
|
8
7
|
export type InputProps = {
|
|
9
8
|
variant?: InputVariantProps;
|
|
10
|
-
shape?: InputShapeProps;
|
|
11
9
|
size?: InputSizeProps;
|
|
12
10
|
iconPosition?: InputIconPositionProps;
|
|
13
11
|
};
|
|
14
12
|
type HTMLNativeInputType = 'text' | 'email' | 'number' | 'password' | 'file';
|
|
15
13
|
export declare class InputComponent implements ControlValueAccessor {
|
|
16
14
|
variant: import("@angular/core").InputSignal<InputVariantProps>;
|
|
17
|
-
shape: import("@angular/core").InputSignal<InputShapeProps>;
|
|
18
15
|
size: import("@angular/core").InputSignal<InputSizeProps>;
|
|
19
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
20
16
|
label: import("@angular/core").InputSignal<string>;
|
|
21
17
|
type: import("@angular/core").InputSignal<HTMLNativeInputType>;
|
|
22
18
|
name: import("@angular/core").InputSignal<string | null>;
|
|
@@ -25,7 +21,9 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
25
21
|
iconPosition: import("@angular/core").InputSignal<InputIconPositionProps>;
|
|
26
22
|
iconClasses: import("@angular/core").InputSignal<string>;
|
|
27
23
|
readonly: import("@angular/core").InputSignal<boolean>;
|
|
28
|
-
|
|
24
|
+
iconClickable: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
26
|
+
onIconClick: import("@angular/core").OutputEmitterRef<void>;
|
|
29
27
|
value: import("@angular/core").ModelSignal<string>;
|
|
30
28
|
parentForm: import("@angular/core").InputSignal<FormGroup<any> | null>;
|
|
31
29
|
formControlName: import("@angular/core").InputSignal<string>;
|
|
@@ -48,12 +46,13 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
48
46
|
debounceTimeEffect: import("@angular/core").EffectRef;
|
|
49
47
|
value$: import("rxjs").Observable<string>;
|
|
50
48
|
constructor();
|
|
49
|
+
handleIconClick(): void;
|
|
51
50
|
get componentClass(): string;
|
|
52
51
|
get errorClass(): string;
|
|
53
52
|
get successClass(): string;
|
|
54
53
|
get validationClass(): string;
|
|
55
54
|
get iconClass(): string;
|
|
56
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "st-input", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
56
|
+
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; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconClasses": { "alias": "iconClasses"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "iconClickable": { "alias": "iconClickable"; "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; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "onIconClick": "onIconClick"; "value": "valueChange"; "disabled": "disabledChange"; "onEnter": "onEnter"; "onBlur": "onBlur"; "onDebounceChange": "onDebounceChange"; }, never, never, true, never>;
|
|
58
57
|
}
|
|
59
58
|
export {};
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type RadioVariantProps = 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | null | undefined;
|
|
4
|
-
export type RadioBorderVariantProps = 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | null | undefined;
|
|
3
|
+
export type RadioVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | null | undefined;
|
|
5
4
|
export type RadioSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
6
5
|
export type RadioProps = {
|
|
7
6
|
variant?: RadioVariantProps;
|
|
8
|
-
borderVariant?: RadioBorderVariantProps;
|
|
9
7
|
size?: RadioSizeProps;
|
|
10
8
|
};
|
|
11
9
|
export declare class RadioComponent implements ControlValueAccessor {
|
|
12
10
|
variant: import("@angular/core").InputSignal<RadioVariantProps>;
|
|
13
|
-
borderVariant: import("@angular/core").InputSignal<RadioBorderVariantProps>;
|
|
14
11
|
size: import("@angular/core").InputSignal<RadioSizeProps>;
|
|
15
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
16
12
|
label: import("@angular/core").InputSignal<string>;
|
|
17
13
|
name: import("@angular/core").InputSignal<string | null>;
|
|
18
14
|
value: import("@angular/core").InputSignal<unknown>;
|
|
@@ -29,5 +25,5 @@ export declare class RadioComponent implements ControlValueAccessor {
|
|
|
29
25
|
handleBlur(): void;
|
|
30
26
|
get componentClass(): string;
|
|
31
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "st-radio", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "st-radio", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "disabled": "disabledChange"; "onChange": "onChange"; }, never, never, true, never>;
|
|
33
29
|
}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type SelectVariantProps = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | null | undefined;
|
|
4
|
-
export type
|
|
5
|
-
export type SelectSizeProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
3
|
+
export type SelectVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'error' | 'warning' | null | undefined;
|
|
4
|
+
export type SelectSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
6
5
|
export type SelectProps = {
|
|
7
6
|
variant?: SelectVariantProps;
|
|
8
|
-
shape?: SelectShapeProps;
|
|
9
7
|
size?: SelectSizeProps;
|
|
10
8
|
};
|
|
11
9
|
export declare class SelectComponent {
|
|
12
10
|
variant: import("@angular/core").InputSignal<SelectVariantProps>;
|
|
13
|
-
shape: import("@angular/core").InputSignal<SelectShapeProps>;
|
|
14
11
|
size: import("@angular/core").InputSignal<SelectSizeProps>;
|
|
15
|
-
|
|
16
|
-
label: import("@angular/core").InputSignal<string>;
|
|
12
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
17
13
|
name: import("@angular/core").InputSignal<string | null>;
|
|
18
14
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
15
|
+
label: import("@angular/core").InputSignal<string>;
|
|
19
16
|
value: import("@angular/core").ModelSignal<unknown>;
|
|
20
17
|
options: import("@angular/core").InputSignal<any[]>;
|
|
21
18
|
emptyOptionText: import("@angular/core").InputSignal<string>;
|
|
@@ -41,5 +38,5 @@ export declare class SelectComponent {
|
|
|
41
38
|
get successClass(): string;
|
|
42
39
|
get validationClass(): string;
|
|
43
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "st-select", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "st-select", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "emptyOptionText": { "alias": "emptyOptionText"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "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; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onChange": "onChange"; }, never, never, true, never>;
|
|
45
42
|
}
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export type textareaVariantProps = 'primary' | 'secondary' | '
|
|
5
|
-
export type
|
|
6
|
-
export type textareaSizeProps = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | null | undefined;
|
|
7
|
-
export type textareaPaddingProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
4
|
+
export type textareaVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | null | undefined;
|
|
5
|
+
export type textareaSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
8
6
|
export type textareaProps = {
|
|
9
7
|
variant?: textareaVariantProps;
|
|
10
|
-
shape?: textareaShapeProps;
|
|
11
8
|
size?: textareaSizeProps;
|
|
12
|
-
padding?: textareaPaddingProps;
|
|
13
9
|
};
|
|
14
10
|
export declare class TextareaComponent {
|
|
15
11
|
variant: import("@angular/core").InputSignal<textareaVariantProps>;
|
|
16
|
-
shape: import("@angular/core").InputSignal<textareaShapeProps>;
|
|
17
12
|
size: import("@angular/core").InputSignal<textareaSizeProps>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
label: import("@angular/core").InputSignal<string>;
|
|
13
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
label: import("@angular/core").InputSignal<string | null>;
|
|
21
15
|
name: import("@angular/core").InputSignal<string | null>;
|
|
22
16
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
23
17
|
rows: import("@angular/core").InputSignal<string | number>;
|
|
@@ -49,5 +43,5 @@ export declare class TextareaComponent {
|
|
|
49
43
|
get successClass(): string;
|
|
50
44
|
get validationClass(): string;
|
|
51
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "st-textarea", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
46
|
+
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; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "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; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onEnter": "onEnter"; "onDebounceChange": "onDebounceChange"; }, never, ["*"], true, never>;
|
|
53
47
|
}
|
|
@@ -1,62 +1,35 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { Router } from '@angular/router';
|
|
3
|
-
import { TypographyVariantProps } from '@sixbell-telco/sdk/directives/typography';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
export type Route = {
|
|
6
4
|
label: string;
|
|
7
5
|
path: string;
|
|
8
6
|
};
|
|
9
|
-
export declare const
|
|
10
|
-
variant?: "primary" | "secondary" | "
|
|
11
|
-
shape?: "round-none" | "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
12
|
-
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
13
|
-
alignment?: "center" | "left" | "right" | "between" | null | undefined;
|
|
14
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
-
export type LinkContainerVariantProps = 'primary' | 'secondary' | 'accent' | 'success' | 'info' | 'warning' | 'error' | 'btn-primary' | 'btn-secondary' | 'btn-warning' | 'btn-error' | 'btn-collapsable-primary';
|
|
16
|
-
export type LinkContainerShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg';
|
|
17
|
-
export type LinkContainerPaddingProps = 'none' | 'sm' | 'md' | 'lg';
|
|
18
|
-
export type LinkContainerAlignmentProps = 'center' | 'left' | 'right' | 'between';
|
|
19
|
-
export declare const linkIcon: (props?: ({
|
|
7
|
+
export declare const linkComponent: (props?: ({
|
|
8
|
+
variant?: "primary" | "secondary" | "tertiary" | "accent" | "success" | "info" | "warning" | "error" | null | undefined;
|
|
20
9
|
iconPosition?: "left" | "right" | null | undefined;
|
|
21
10
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
|
-
export type
|
|
11
|
+
export type LinkVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'success' | 'info' | 'warning' | 'error' | null | undefined;
|
|
12
|
+
export type LinkIconPositionProps = 'left' | 'right' | null | undefined;
|
|
23
13
|
export type LinkProps = {
|
|
24
|
-
variant?:
|
|
25
|
-
shape?: LinkContainerShapeProps;
|
|
26
|
-
padding?: LinkContainerPaddingProps;
|
|
27
|
-
alignment?: LinkContainerAlignmentProps;
|
|
14
|
+
variant?: LinkVariantProps;
|
|
28
15
|
iconPosition?: LinkIconPositionProps;
|
|
29
16
|
};
|
|
30
|
-
export declare
|
|
31
|
-
export declare class LinkComponent implements OnInit {
|
|
17
|
+
export declare class LinkComponent {
|
|
32
18
|
private router;
|
|
33
|
-
variant: import("@angular/core").InputSignal<
|
|
34
|
-
shape: import("@angular/core").InputSignal<LinkContainerShapeProps | undefined>;
|
|
35
|
-
padding: import("@angular/core").InputSignal<LinkContainerPaddingProps | undefined>;
|
|
36
|
-
alignment: import("@angular/core").InputSignal<LinkContainerAlignmentProps | undefined>;
|
|
37
|
-
iconPosition: import("@angular/core").InputSignal<LinkIconPositionProps | undefined>;
|
|
38
|
-
fontSize: import("@angular/core").InputSignal<TypographyVariantProps>;
|
|
39
|
-
containerClasses: import("@angular/core").InputSignal<string>;
|
|
40
|
-
iconClasses: import("@angular/core").InputSignal<string>;
|
|
41
|
-
label: import("@angular/core").InputSignal<string>;
|
|
19
|
+
variant: import("@angular/core").InputSignal<LinkVariantProps>;
|
|
42
20
|
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
route: import("@angular/core").InputSignal<Route | undefined>;
|
|
48
|
-
childrenRoutes: import("@angular/core").InputSignal<Route[] | undefined>;
|
|
49
|
-
routerLinkActiveOptions: import("@angular/core").InputSignal<{
|
|
21
|
+
iconPosition: import("@angular/core").InputSignal<LinkIconPositionProps>;
|
|
22
|
+
label: import("@angular/core").InputSignal<string>;
|
|
23
|
+
routerLink: import("@angular/core").InputSignal<string | any[] | import("@angular/router").UrlTree | null | undefined>;
|
|
24
|
+
routerLinkOptions: import("@angular/core").InputSignal<{
|
|
50
25
|
exact: boolean;
|
|
51
|
-
}>;
|
|
26
|
+
} | import("@angular/router").IsActiveMatchOptions>;
|
|
27
|
+
routerLinkActive: import("@angular/core").InputSignal<string | string[]>;
|
|
28
|
+
queryParams: import("@angular/core").InputSignal<import("@angular/router").Params | null | undefined>;
|
|
29
|
+
queryParamsHandling: import("@angular/core").InputSignal<import("@angular/router").QueryParamsHandling | null | undefined>;
|
|
30
|
+
fragment: import("@angular/core").InputSignal<string | undefined>;
|
|
52
31
|
constructor(router: Router);
|
|
53
|
-
get
|
|
54
|
-
get iconClass(): string;
|
|
55
|
-
get dropdownClass(): string;
|
|
56
|
-
get isOpenedClass(): string;
|
|
57
|
-
ngOnInit(): void;
|
|
58
|
-
updateOpenedState(currentPath: string): void;
|
|
59
|
-
toggle(): void;
|
|
32
|
+
get componentClass(): string;
|
|
60
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "st-link", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "st-link", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkOptions": { "alias": "routerLinkOptions"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
62
35
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type ModalActionsAligmentProps = 'left' | 'right' | 'center';
|
|
3
|
+
export declare class ModalActionsComponent {
|
|
4
|
+
alignment: import("@angular/core").InputSignal<ModalActionsAligmentProps>;
|
|
5
|
+
get componentClass(): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalActionsComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalActionsComponent, "st-modal-actions", never, { "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModalContentComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContentComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContentComponent, "st-modal-content", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModalTitleComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalTitleComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalTitleComponent, "st-modal-title", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -1,38 +1,34 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare const modalComponent: (props?: ({
|
|
4
|
-
variant?: "primary" | null | undefined;
|
|
5
|
-
shape?: "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
6
|
-
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
7
4
|
width?: "full" | "fit" | null | undefined;
|
|
5
|
+
aligment?: "center" | "top" | "bottom" | null | undefined;
|
|
8
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
-
export type ModalVariantProps = 'primary' | null | undefined;
|
|
10
|
-
export type ModalShapeProps = 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
11
7
|
export type ModalPaddingProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
12
8
|
export type ModalWidthProps = 'full' | 'fit' | null | undefined;
|
|
9
|
+
export type ModalAlignmentProps = 'top' | 'center' | 'bottom' | null | undefined;
|
|
13
10
|
export type ModalProps = {
|
|
14
|
-
variant?: ModalVariantProps;
|
|
15
|
-
shape?: ModalShapeProps;
|
|
16
11
|
padding?: ModalPaddingProps;
|
|
17
12
|
width?: ModalWidthProps;
|
|
13
|
+
alignment?: ModalAlignmentProps;
|
|
18
14
|
};
|
|
19
15
|
export declare class ModalComponent {
|
|
20
|
-
variant: import("@angular/core").InputSignal<ModalVariantProps>;
|
|
21
|
-
shape: import("@angular/core").InputSignal<ModalShapeProps>;
|
|
22
|
-
padding: import("@angular/core").InputSignal<ModalPaddingProps>;
|
|
23
16
|
width: import("@angular/core").InputSignal<ModalWidthProps>;
|
|
24
|
-
|
|
25
|
-
label: import("@angular/core").InputSignal<string>;
|
|
17
|
+
alignment: import("@angular/core").InputSignal<ModalAlignmentProps>;
|
|
26
18
|
modalId: import("@angular/core").InputSignal<string>;
|
|
27
19
|
onClickOutside: import("@angular/core").OutputEmitterRef<void>;
|
|
20
|
+
onClose: import("@angular/core").OutputEmitterRef<void>;
|
|
28
21
|
iconClose: string;
|
|
29
22
|
dialog: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
30
23
|
opened: import("@angular/core").ModelSignal<boolean>;
|
|
31
24
|
openedEffect: import("@angular/core").EffectRef;
|
|
32
25
|
get componentClass(): string;
|
|
26
|
+
get modalClass(): string;
|
|
33
27
|
handleOpen(): void;
|
|
34
28
|
handleClose(): void;
|
|
35
29
|
handleCloseClick(): void;
|
|
30
|
+
handleCancelClick(event: Event): void;
|
|
31
|
+
handleClickOutside(event: Event): void;
|
|
36
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "st-modal", never, { "
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "st-modal", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "modalId": { "alias": "modalId"; "required": true; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; }, { "onClickOutside": "onClickOutside"; "onClose": "onClose"; "opened": "openedChange"; }, never, ["st-modal-title", "st-modal-content", "st-modal-actions"], true, never>;
|
|
38
34
|
}
|