@sixbell-telco/sdk 0.1.3 → 0.1.5
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 +128 -4
- package/README.md +53 -45
- package/components/accordion/accordion-item/accordion-item.component.d.ts +9 -6
- package/components/avatar/src/avatar.component.d.ts +17 -12
- package/components/button/src/button.component.d.ts +29 -28
- package/components/card/src/card.component.d.ts +18 -12
- package/components/dropdown/src/dropdown.component.d.ts +29 -27
- package/components/dual-list/src/dual-list.component.d.ts +47 -37
- package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +20 -11
- package/components/forms/checkbox/src/checkbox.component.d.ts +7 -3
- package/components/forms/combobox/src/combobox.component.d.ts +17 -16
- package/components/forms/input/src/input.component.d.ts +20 -15
- package/components/forms/radio/src/radio.component.d.ts +14 -1
- package/components/forms/range/src/range.component.d.ts +11 -11
- package/components/forms/select/src/select.component.d.ts +17 -15
- package/components/forms/switch/src/switch.component.d.ts +11 -11
- package/components/forms/textarea/src/textarea.component.d.ts +20 -16
- package/components/forms/toggle/src/toggle.component.d.ts +12 -7
- package/components/icon/src/icon.component.d.ts +12 -7
- package/components/link/src/link.component.d.ts +27 -16
- package/components/modal/src/modal.component.d.ts +18 -7
- package/components/notification/src/notification.component.d.ts +15 -7
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +18 -7
- package/components/product-card/src/product-card.component.d.ts +42 -17
- package/components/progress/src/progress.component.d.ts +9 -7
- package/components/tab/directives/tab-content/tab-content.directive.d.ts +8 -10
- package/components/tab/directives/tab-header/tab-header.directive.d.ts +9 -12
- package/components/tab/src/tab.component.d.ts +14 -9
- package/components/table/src/table.component.d.ts +28 -17
- package/components/toast/toast-message/toast-message.component.d.ts +9 -7
- package/components/tooltip/src/tooltip.component.d.ts +12 -7
- package/components/wizard/wizard-content/wizard-content.component.d.ts +3 -3
- package/directives/typography/src/typography.directive.d.ts +13 -12
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +7 -7
- package/esm2022/components/accordion/src/accordion.component.mjs +3 -3
- package/esm2022/components/avatar/src/avatar.component.mjs +7 -7
- package/esm2022/components/button/src/button.component.mjs +13 -11
- package/esm2022/components/card/src/card.component.mjs +7 -7
- package/esm2022/components/dropdown/src/dropdown.component.mjs +15 -11
- package/esm2022/components/dual-list/src/dual-list.component.mjs +53 -33
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +3 -4
- package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +28 -22
- package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +9 -9
- package/esm2022/components/forms/combobox/src/combobox.component.mjs +31 -28
- package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +3 -3
- package/esm2022/components/forms/form-error/src/form-error.component.mjs +3 -3
- package/esm2022/components/forms/input/src/input.component.mjs +34 -34
- package/esm2022/components/forms/radio/src/radio.component.mjs +53 -4
- package/esm2022/components/forms/range/src/range.component.mjs +14 -13
- package/esm2022/components/forms/select/src/select.component.mjs +30 -28
- package/esm2022/components/forms/switch/src/switch.component.mjs +15 -14
- package/esm2022/components/forms/textarea/src/textarea.component.mjs +35 -36
- package/esm2022/components/forms/toggle/src/toggle.component.mjs +113 -90
- package/esm2022/components/icon/src/icon.component.mjs +9 -8
- package/esm2022/components/link/src/link.component.mjs +26 -20
- package/esm2022/components/modal/src/modal.component.mjs +17 -13
- package/esm2022/components/notification/src/notification.component.mjs +10 -8
- package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +18 -15
- package/esm2022/components/paginator/src/paginator.component.mjs +3 -3
- package/esm2022/components/product-card/src/product-card.component.mjs +52 -46
- package/esm2022/components/progress/src/progress.component.mjs +11 -11
- package/esm2022/components/tab/directives/tab-content/tab-content.directive.mjs +14 -13
- package/esm2022/components/tab/directives/tab-header/tab-header.directive.mjs +17 -15
- package/esm2022/components/tab/src/tab.component.mjs +17 -15
- package/esm2022/components/table/src/table.component.mjs +32 -23
- 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 +22 -17
- package/esm2022/components/toast/toasts-container/toasts-container.component.mjs +2 -2
- package/esm2022/components/tooltip/src/tooltip.component.mjs +12 -10
- package/esm2022/components/wizard/wizard-content/wizard-content.component.mjs +6 -6
- package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +3 -3
- package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +3 -4
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +3 -11
- package/esm2022/directives/typography/src/typography.directive.mjs +9 -6
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +9 -9
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +7 -7
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +13 -11
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +7 -7
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +15 -11
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +51 -31
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +2 -3
- 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 +27 -21
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +8 -8
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +30 -27
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +2 -2
- 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 +33 -33
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +52 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +13 -12
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +29 -27
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +14 -13
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +34 -35
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +113 -90
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs +9 -8
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +26 -20
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +17 -13
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs +10 -8
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +20 -17
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +52 -46
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +11 -11
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +46 -41
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +35 -25
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +23 -18
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +12 -10
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +11 -19
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +8 -5
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +9 -3
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const
|
|
2
|
+
export declare const toggleComponent: (props?: ({
|
|
4
3
|
variant?: "primary" | "primary-toggled" | "primary-disabled" | "secondary" | "secondary-toggled" | "secondary-disabled" | "success" | "success-toggled" | "success-disabled" | "error" | "error-toggled" | "error-disabled" | "warning" | "warning-toggled" | "warning-disabled" | "info" | "info-toggled" | "info-disabled" | "accent" | "accent-toggled" | "accent-disabled" | null | undefined;
|
|
5
4
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
export type ToggleVariantProps =
|
|
6
|
+
export type ToggleVariantProps = 'primary' | 'primary-toggled' | 'primary-disabled' | 'secondary' | 'secondary-toggled' | 'secondary-disabled' | 'success' | 'success-toggled' | 'success-disabled' | 'error' | 'error-toggled' | 'error-disabled' | 'warning' | 'warning-toggled' | 'warning-disabled' | 'info' | 'info-toggled' | 'info-disabled' | 'accent' | 'accent-toggled' | 'accent-disabled' | null | undefined;
|
|
7
|
+
export type ToggleSizeProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
8
|
+
export type ToggleProps = {
|
|
9
|
+
variant?: ToggleVariantProps;
|
|
10
|
+
size?: ToggleSizeProps;
|
|
11
|
+
};
|
|
8
12
|
export declare class ToggleComponent {
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
variant: import("@angular/core").InputSignal<ToggleVariantProps>;
|
|
14
|
+
size: import("@angular/core").InputSignal<ToggleSizeProps>;
|
|
15
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
11
16
|
label: import("@angular/core").InputSignal<string>;
|
|
12
17
|
name: import("@angular/core").InputSignal<string | null>;
|
|
13
18
|
value: import("@angular/core").ModelSignal<boolean>;
|
|
@@ -21,7 +26,7 @@ export declare class ToggleComponent {
|
|
|
21
26
|
onChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
22
27
|
handleChange(): void;
|
|
23
28
|
handleBlur(): void;
|
|
24
|
-
get
|
|
29
|
+
get componentClass(): string;
|
|
25
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "app-toggle", never, { "
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "app-toggle", 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; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onChange": "onChange"; }, never, never, true, never>;
|
|
27
32
|
}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import { IconName } from './icon';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const iconComponent: (props?: ({
|
|
5
4
|
color?: "white" | "black" | "primary" | "inherit" | null | undefined;
|
|
6
5
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
export type
|
|
7
|
+
export type IconColorProps = 'white' | 'black' | 'primary' | 'inherit' | null | undefined;
|
|
8
|
+
export type IconSizeProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
9
|
+
export type IconProps = {
|
|
10
|
+
color?: IconColorProps;
|
|
11
|
+
size?: IconSizeProps;
|
|
12
|
+
};
|
|
9
13
|
export declare class IconComponent {
|
|
10
|
-
|
|
11
|
-
|
|
14
|
+
color: import("@angular/core").InputSignal<IconColorProps>;
|
|
15
|
+
size: import("@angular/core").InputSignal<IconSizeProps>;
|
|
16
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
12
17
|
iconName: import("@angular/core").InputSignal<IconName>;
|
|
13
|
-
get
|
|
18
|
+
get componentClass(): string;
|
|
14
19
|
get iconPath(): string;
|
|
15
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "app-icon", never, { "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "app-icon", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
22
|
}
|
|
@@ -1,32 +1,43 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { IconName } from '@sixbell-telco/sdk/components/icon';
|
|
4
|
-
import {
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { TypographyVariantProps } from '@sixbell-telco/sdk/directives/typography';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export type Route = {
|
|
8
7
|
label: string;
|
|
9
8
|
path: string;
|
|
10
9
|
};
|
|
11
|
-
export declare const
|
|
10
|
+
export declare const linkContainer: (props?: ({
|
|
12
11
|
variant?: "primary" | "secondary" | "accent" | "success" | "info" | "warning" | "error" | "btn-primary" | "btn-secondary" | "btn-warning" | "btn-error" | "btn-collapsable-primary" | null | undefined;
|
|
13
12
|
shape?: "round-none" | "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
14
13
|
padding?: "auto" | "sm" | "md" | "lg" | null | undefined;
|
|
15
14
|
alignment?: "center" | "left" | "right" | "between" | null | undefined;
|
|
16
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
|
-
export type
|
|
16
|
+
export type LinkContainerVariantProps = 'primary' | 'secondary' | 'accent' | 'success' | 'info' | 'warning' | 'error' | 'btn-primary' | 'btn-secondary' | 'btn-warning' | 'btn-error' | 'btn-collapsable-primary';
|
|
17
|
+
export type LinkContainerShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg';
|
|
18
|
+
export type LinkContainerPaddingProps = 'auto' | 'sm' | 'md' | 'lg';
|
|
19
|
+
export type LinkContainerAlignmentProps = 'center' | 'left' | 'right' | 'between';
|
|
18
20
|
export declare const linkIcon: (props?: ({
|
|
19
21
|
iconPosition?: "center" | "left" | "right" | null | undefined;
|
|
20
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
21
|
-
export type
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
export type LinkIconPositionProps = 'center' | 'left' | 'right';
|
|
24
|
+
export type LinkProps = {
|
|
25
|
+
variant?: LinkContainerVariantProps;
|
|
26
|
+
shape?: LinkContainerShapeProps;
|
|
27
|
+
padding?: LinkContainerPaddingProps;
|
|
28
|
+
alignment?: LinkContainerAlignmentProps;
|
|
29
|
+
iconPosition?: LinkIconPositionProps;
|
|
30
|
+
};
|
|
31
|
+
export declare const linkComponent: ({ variant, shape, padding, alignment, iconPosition }?: LinkProps) => string;
|
|
25
32
|
export declare class LinkComponent implements OnInit {
|
|
26
33
|
private router;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
34
|
+
variant: import("@angular/core").InputSignal<LinkContainerVariantProps | undefined>;
|
|
35
|
+
shape: import("@angular/core").InputSignal<LinkContainerShapeProps | undefined>;
|
|
36
|
+
padding: import("@angular/core").InputSignal<LinkContainerPaddingProps | undefined>;
|
|
37
|
+
alignment: import("@angular/core").InputSignal<LinkContainerAlignmentProps | undefined>;
|
|
38
|
+
iconPosition: import("@angular/core").InputSignal<LinkIconPositionProps | undefined>;
|
|
39
|
+
fontSize: import("@angular/core").InputSignal<TypographyVariantProps>;
|
|
40
|
+
containerClasses: import("@angular/core").InputSignal<string>;
|
|
30
41
|
label: import("@angular/core").InputSignal<string>;
|
|
31
42
|
iconName: import("@angular/core").InputSignal<IconName | undefined>;
|
|
32
43
|
opened: boolean;
|
|
@@ -37,13 +48,13 @@ export declare class LinkComponent implements OnInit {
|
|
|
37
48
|
exact: boolean;
|
|
38
49
|
}>;
|
|
39
50
|
constructor(router: Router);
|
|
40
|
-
get
|
|
41
|
-
get
|
|
42
|
-
get
|
|
43
|
-
get
|
|
51
|
+
get containerClass(): string;
|
|
52
|
+
get iconClass(): string;
|
|
53
|
+
get dropdownClass(): string;
|
|
54
|
+
get isOpenedClass(): string;
|
|
44
55
|
ngOnInit(): void;
|
|
45
56
|
updateOpenedState(currentPath: string): void;
|
|
46
57
|
toggle(): void;
|
|
47
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "app-link", never, { "
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "app-link", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "fontSize": { "alias": "fontSize"; "required": false; "isSignal": true; }; "containerClasses": { "alias": "containerClasses"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; "childrenRoutes": { "alias": "childrenRoutes"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
49
60
|
}
|
|
@@ -1,25 +1,36 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const modalComponent: (props?: ({
|
|
5
4
|
variant?: "primary" | null | undefined;
|
|
6
5
|
shape?: "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
7
6
|
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
8
7
|
width?: "full" | "fit" | null | undefined;
|
|
9
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
-
export type ModalVariantProps =
|
|
9
|
+
export type ModalVariantProps = 'primary' | null | undefined;
|
|
10
|
+
export type ModalShapeProps = 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
11
|
+
export type ModalPaddingProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
12
|
+
export type ModalWidthProps = 'full' | 'fit' | null | undefined;
|
|
13
|
+
export type ModalProps = {
|
|
14
|
+
variant?: ModalVariantProps;
|
|
15
|
+
shape?: ModalShapeProps;
|
|
16
|
+
padding?: ModalPaddingProps;
|
|
17
|
+
width?: ModalWidthProps;
|
|
18
|
+
};
|
|
11
19
|
export declare class ModalComponent {
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
variant: import("@angular/core").InputSignal<ModalVariantProps>;
|
|
21
|
+
shape: import("@angular/core").InputSignal<ModalShapeProps>;
|
|
22
|
+
padding: import("@angular/core").InputSignal<ModalPaddingProps>;
|
|
23
|
+
width: import("@angular/core").InputSignal<ModalWidthProps>;
|
|
24
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
14
25
|
label: import("@angular/core").InputSignal<string>;
|
|
15
26
|
modalId: import("@angular/core").InputSignal<string>;
|
|
16
27
|
onClickOutside: import("@angular/core").OutputEmitterRef<void>;
|
|
17
28
|
dialog: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
18
29
|
opened: import("@angular/core").InputSignal<boolean>;
|
|
19
30
|
openedEffect: import("@angular/core").EffectRef;
|
|
20
|
-
get
|
|
31
|
+
get componentClass(): string;
|
|
21
32
|
handleOpen(): void;
|
|
22
33
|
handleClose(): void;
|
|
23
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "app-modal", never, { "
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "app-modal", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "modalId": { "alias": "modalId"; "required": true; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; }, { "onClickOutside": "onClickOutside"; }, never, ["*"], true, never>;
|
|
25
36
|
}
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
import { IconName } from '@sixbell-telco/sdk/components/icon';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type NotificationStatus = 'seen' | 'unseen';
|
|
5
|
-
export declare const
|
|
4
|
+
export declare const notificationComponent: (props?: ({
|
|
6
5
|
variant?: "primary" | null | undefined;
|
|
7
6
|
shape?: "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
8
7
|
size?: "auto" | null | undefined;
|
|
9
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
-
export type NotificationVariantProps =
|
|
9
|
+
export type NotificationVariantProps = 'primary';
|
|
10
|
+
export type NotificationShapeProps = 'round-sm' | 'round-md' | 'round-lg';
|
|
11
|
+
export type NotificationSizeProps = 'auto';
|
|
12
|
+
export type NotificationProps = {
|
|
13
|
+
variant?: NotificationVariantProps;
|
|
14
|
+
shape?: NotificationShapeProps;
|
|
15
|
+
size?: NotificationSizeProps;
|
|
16
|
+
};
|
|
11
17
|
export declare class NotificationComponent {
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
variant: import("@angular/core").InputSignal<"primary" | undefined>;
|
|
19
|
+
shape: import("@angular/core").InputSignal<NotificationShapeProps | undefined>;
|
|
20
|
+
size: import("@angular/core").InputSignal<"auto" | undefined>;
|
|
21
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
14
22
|
iconName: import("@angular/core").InputSignal<IconName>;
|
|
15
23
|
status: import("@angular/core").InputSignal<NotificationStatus>;
|
|
16
24
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
17
|
-
get
|
|
25
|
+
get componentClass(): string;
|
|
18
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "app-notification", never, { "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "app-notification", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
28
|
}
|
|
@@ -1,20 +1,31 @@
|
|
|
1
1
|
import { IconName } from '@sixbell-telco/sdk/components/icon';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const paginationItemComponent: (props?: ({
|
|
5
4
|
variant?: "numeric" | "icon" | "dots" | null | undefined;
|
|
6
5
|
shape?: "round-xs" | "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
7
6
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
8
7
|
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
9
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
-
export type PaginationItemVariantProps =
|
|
9
|
+
export type PaginationItemVariantProps = 'numeric' | 'icon' | 'dots' | null | undefined;
|
|
10
|
+
export type PaginationItemShapeProps = 'round-xs' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
11
|
+
export type PaginationItemSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
12
|
+
export type PaginationItemPaddingProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
13
|
+
export type PaginationItemProps = {
|
|
14
|
+
variant?: PaginationItemVariantProps;
|
|
15
|
+
shape?: PaginationItemShapeProps;
|
|
16
|
+
size?: PaginationItemSizeProps;
|
|
17
|
+
padding?: PaginationItemPaddingProps;
|
|
18
|
+
};
|
|
11
19
|
export declare class PaginationItemComponent {
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
variant: import("@angular/core").InputSignal<PaginationItemVariantProps>;
|
|
21
|
+
shape: import("@angular/core").InputSignal<PaginationItemShapeProps>;
|
|
22
|
+
size: import("@angular/core").InputSignal<PaginationItemSizeProps>;
|
|
23
|
+
padding: import("@angular/core").InputSignal<PaginationItemPaddingProps>;
|
|
24
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
14
25
|
iconName: import("@angular/core").InputSignal<IconName>;
|
|
15
26
|
number: import("@angular/core").InputSignal<string | number>;
|
|
16
27
|
active: import("@angular/core").InputSignal<boolean>;
|
|
17
|
-
get
|
|
28
|
+
get componentClass(): string;
|
|
18
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationItemComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationItemComponent, "app-pagination-item", never, { "
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationItemComponent, "app-pagination-item", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "number": { "alias": "number"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
31
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { IconName } from '@sixbell-telco/sdk/components/icon';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import { ProductCardActionsDirective } from '../directives/product-card-actions.directive';
|
|
4
3
|
import { ProductCardContentDirective } from '../directives/product-card-content.directive';
|
|
5
4
|
import { ProductCardHeaderDirective } from '../directives/product-card-header.directive';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare const
|
|
6
|
+
export declare const productCardContainer: (props?: ({
|
|
8
7
|
shadow?: "none" | "primary" | "secondary" | null | undefined;
|
|
9
8
|
height?: "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
10
9
|
width?: "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
@@ -12,23 +11,49 @@ export declare const productCardBase: (props?: ({
|
|
|
12
11
|
size?: "sm" | "md" | null | undefined;
|
|
13
12
|
figurePosition?: "top" | "bottom" | "side" | null | undefined;
|
|
14
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
-
export type
|
|
14
|
+
export type ProductCardContainerShadowProps = 'none' | 'primary' | 'secondary' | null | undefined;
|
|
15
|
+
export type ProductCardContainerHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;
|
|
16
|
+
export type ProductCardContainerWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;
|
|
17
|
+
export type ProductCardContainerShapeProps = 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
18
|
+
export type ProductCardContainerSizeProps = 'sm' | 'md' | null | undefined;
|
|
19
|
+
export type ProductCardContainerFigurePositionProps = 'top' | 'bottom' | 'side' | null | undefined;
|
|
16
20
|
export declare const productCardFigure: (props?: ({
|
|
17
21
|
figureBackground?: "none" | "primary" | "secondary" | "image" | "warning" | "error" | "neutral" | null | undefined;
|
|
18
22
|
figureAlignment?: "auto" | "center" | "start" | "end" | null | undefined;
|
|
19
23
|
figurePaddingY?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
20
24
|
figurePaddingX?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
21
25
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
|
-
export type
|
|
23
|
-
export
|
|
24
|
-
|
|
25
|
-
export
|
|
26
|
-
export type
|
|
26
|
+
export type ProductCardFigureBackgroundProps = 'none' | 'image' | 'primary' | 'secondary' | 'warning' | 'error' | 'neutral' | null | undefined;
|
|
27
|
+
export type ProductCardFigureAlignmentProps = 'auto' | 'center' | 'start' | 'end' | null | undefined;
|
|
28
|
+
export type ProductCardFigurePaddingYProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
29
|
+
export type ProductCardFigurePaddingXProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
30
|
+
export type ProductCardVariantProps = {
|
|
31
|
+
shadow?: ProductCardContainerShadowProps;
|
|
32
|
+
height?: ProductCardContainerHeightProps;
|
|
33
|
+
width?: ProductCardContainerWidthProps;
|
|
34
|
+
shape?: ProductCardContainerShapeProps;
|
|
35
|
+
size?: ProductCardContainerSizeProps;
|
|
36
|
+
figureBackground?: ProductCardFigureBackgroundProps;
|
|
37
|
+
figurePosition?: ProductCardContainerFigurePositionProps;
|
|
38
|
+
figureAlignment?: ProductCardFigureAlignmentProps;
|
|
39
|
+
figurePaddingY?: ProductCardFigurePaddingYProps;
|
|
40
|
+
figurePaddingX?: ProductCardFigurePaddingXProps;
|
|
41
|
+
};
|
|
42
|
+
export declare const productCardComponent: ({ shadow, height, width, shape, size, figureBackground, figurePosition, figureAlignment, figurePaddingY, figurePaddingX, }?: ProductCardVariantProps) => string;
|
|
27
43
|
export declare class ProductCardComponent {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
44
|
+
shadow: import("@angular/core").InputSignal<ProductCardContainerShadowProps>;
|
|
45
|
+
height: import("@angular/core").InputSignal<ProductCardContainerHeightProps>;
|
|
46
|
+
width: import("@angular/core").InputSignal<ProductCardContainerWidthProps>;
|
|
47
|
+
shape: import("@angular/core").InputSignal<ProductCardContainerShapeProps>;
|
|
48
|
+
size: import("@angular/core").InputSignal<ProductCardContainerSizeProps>;
|
|
49
|
+
figurePosition: import("@angular/core").InputSignal<ProductCardContainerFigurePositionProps>;
|
|
50
|
+
figureBackground: import("@angular/core").InputSignal<ProductCardFigureBackgroundProps>;
|
|
51
|
+
figureAlignment: import("@angular/core").InputSignal<ProductCardFigureAlignmentProps>;
|
|
52
|
+
figurePaddingY: import("@angular/core").InputSignal<ProductCardFigurePaddingYProps>;
|
|
53
|
+
figurePaddingX: import("@angular/core").InputSignal<ProductCardFigurePaddingXProps>;
|
|
54
|
+
containerClasses: import("@angular/core").InputSignal<string>;
|
|
55
|
+
titleClasses: import("@angular/core").InputSignal<string>;
|
|
56
|
+
actionsClasses: import("@angular/core").InputSignal<string>;
|
|
32
57
|
image: import("@angular/core").InputSignal<{
|
|
33
58
|
src: string;
|
|
34
59
|
alt: string;
|
|
@@ -37,10 +62,10 @@ export declare class ProductCardComponent {
|
|
|
37
62
|
header: import("@angular/core").Signal<ProductCardHeaderDirective | undefined>;
|
|
38
63
|
content: import("@angular/core").Signal<ProductCardContentDirective | undefined>;
|
|
39
64
|
actions: import("@angular/core").Signal<ProductCardActionsDirective | undefined>;
|
|
40
|
-
get
|
|
41
|
-
get
|
|
42
|
-
get
|
|
43
|
-
get
|
|
65
|
+
get containerClass(): string;
|
|
66
|
+
get figureClass(): string;
|
|
67
|
+
get titleClass(): string;
|
|
68
|
+
get actionsClass(): string;
|
|
44
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCardComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductCardComponent, "app-product-card", never, { "
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductCardComponent, "app-product-card", never, { "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "figurePosition": { "alias": "figurePosition"; "required": false; "isSignal": true; }; "figureBackground": { "alias": "figureBackground"; "required": false; "isSignal": true; }; "figureAlignment": { "alias": "figureAlignment"; "required": false; "isSignal": true; }; "figurePaddingY": { "alias": "figurePaddingY"; "required": false; "isSignal": true; }; "figurePaddingX": { "alias": "figurePaddingX"; "required": false; "isSignal": true; }; "containerClasses": { "alias": "containerClasses"; "required": false; "isSignal": true; }; "titleClasses": { "alias": "titleClasses"; "required": false; "isSignal": true; }; "actionsClasses": { "alias": "actionsClasses"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; }, {}, ["header", "content", "actions"], never, true, never>;
|
|
46
71
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const
|
|
2
|
+
export declare const progressComponent: (props?: ({
|
|
4
3
|
variant?: "primary" | "secondary" | "success" | "info" | "error" | "warning" | "accent" | null | undefined;
|
|
5
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
-
export type ProgressVariantProps =
|
|
5
|
+
export type ProgressVariantProps = 'primary' | 'secondary' | 'success' | 'info' | 'error' | 'warning' | 'accent' | null | undefined;
|
|
6
|
+
export type ProgressProps = {
|
|
7
|
+
variant?: ProgressVariantProps;
|
|
8
|
+
};
|
|
7
9
|
export declare class ProgressComponent {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
variant: import("@angular/core").InputSignal<ProgressVariantProps>;
|
|
11
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
10
12
|
value: import("@angular/core").InputSignal<number>;
|
|
11
13
|
max: import("@angular/core").InputSignal<number>;
|
|
12
14
|
indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
13
15
|
labelPosition: import("@angular/core").InputSignal<"top" | "bottom" | "none">;
|
|
14
|
-
get
|
|
16
|
+
get componentClass(): string;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "app-progress", never, { "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "app-progress", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
19
|
}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export type TabContentVariantProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
3
|
+
export type TabContentDirectiveProps = {
|
|
4
|
+
variant?: TabContentVariantProps;
|
|
5
|
+
};
|
|
7
6
|
export declare class TabContentDirective {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
padding: import("@angular/core").InputSignal<TabContentVariantProps>;
|
|
8
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
10
9
|
label: import("@angular/core").InputSignal<string>;
|
|
11
10
|
private element;
|
|
12
11
|
private renderer;
|
|
13
|
-
get
|
|
12
|
+
get componentClass(): string;
|
|
14
13
|
classListEffect: import("@angular/core").EffectRef;
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "div[tab-content]", never, { "
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "div[tab-content]", never, { "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
16
|
}
|
|
18
|
-
export {};
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export type TabHeaderVariants = Exclude<TabHeaderVariantProps['variant'], null>;
|
|
2
|
+
export type TabHeaderVariantProps = 'default' | 'active' | 'disabled' | null | undefined;
|
|
3
|
+
export type TabHeaderDirectiveProps = {
|
|
4
|
+
variant?: TabHeaderVariantProps;
|
|
5
|
+
};
|
|
8
6
|
export declare class TabHeaderDirective {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
status: import("@angular/core").InputSignal<
|
|
7
|
+
variant: import("@angular/core").InputSignal<TabHeaderVariantProps>;
|
|
8
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
9
|
+
status: import("@angular/core").InputSignal<TabHeaderVariantProps>;
|
|
12
10
|
label: import("@angular/core").InputSignal<string>;
|
|
13
11
|
private element;
|
|
14
12
|
private renderer;
|
|
15
|
-
get
|
|
13
|
+
get componentClass(): string;
|
|
16
14
|
classListEffect: import("@angular/core").EffectRef;
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeaderDirective, "a[tab-header]", never, { "
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeaderDirective, "a[tab-header]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
17
|
}
|
|
20
|
-
export {};
|
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TabHeaderVariants } from '../directives/tab-header/tab-header.directive';
|
|
1
|
+
import { TabHeaderVariantProps } from '../directives/tab-header/tab-header.directive';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type Tab = {
|
|
5
4
|
id: string;
|
|
6
5
|
label: string;
|
|
7
|
-
status:
|
|
6
|
+
status: TabHeaderVariantProps;
|
|
8
7
|
};
|
|
9
|
-
export declare const
|
|
8
|
+
export declare const tabComponent: (props?: ({
|
|
10
9
|
variant?: "bodexed" | "bordered" | "lifted" | null | undefined;
|
|
11
10
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
12
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
-
export type TabVariantProps =
|
|
12
|
+
export type TabVariantProps = 'bodexed' | 'bordered' | 'lifted' | null | undefined;
|
|
13
|
+
export type TabSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
14
|
+
export type TabProps = {
|
|
15
|
+
variant?: TabVariantProps;
|
|
16
|
+
size?: TabSizeProps;
|
|
17
|
+
};
|
|
14
18
|
export declare class TabComponent {
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
variant: import("@angular/core").InputSignal<TabVariantProps>;
|
|
20
|
+
size: import("@angular/core").InputSignal<TabSizeProps>;
|
|
21
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
17
22
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
18
23
|
active: import("@angular/core").InputSignal<boolean>;
|
|
19
|
-
get
|
|
24
|
+
get componentClass(): string;
|
|
20
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "app-tab", never, { "
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "app-tab", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
27
|
}
|
|
@@ -1,22 +1,29 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import { TableHeaderCheckboxComponent } from '../table-header-checkbox/table-header-checkbox.component';
|
|
3
2
|
import { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-checkbox.component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export type PaginationType = 'default' | 'dots';
|
|
6
|
-
export declare const
|
|
5
|
+
export declare const tableContent: (props?: ({
|
|
7
6
|
variant?: "default" | "zebra" | null | undefined;
|
|
8
7
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
9
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
-
export type
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
export type TableContentVariantProps = 'default' | 'zebra' | null | undefined;
|
|
10
|
+
export type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
11
|
+
export declare const tableContainer: (props?: ({
|
|
12
|
+
containerShadow?: "none" | "secondary" | null | undefined;
|
|
13
|
+
containerHeight?: "sm" | "md" | "lg" | "auto" | "full" | null | undefined;
|
|
14
|
+
containerShape?: "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
15
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
|
-
export type
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
export
|
|
16
|
+
export type TableContainerShadowProps = 'none' | 'secondary' | null | undefined;
|
|
17
|
+
export type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
18
|
+
export type TableContainerShapeProps = 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
19
|
+
export type TableVariantProps = {
|
|
20
|
+
size?: TableContentSizeProps;
|
|
21
|
+
variant?: TableContentVariantProps;
|
|
22
|
+
containerHeight?: TableContainerHeightProps;
|
|
23
|
+
containerShadow?: TableContainerShadowProps;
|
|
24
|
+
containerShape?: TableContainerShapeProps;
|
|
25
|
+
};
|
|
26
|
+
export declare const tableComponent: ({ size, variant, containerHeight, containerShadow, containerShape }?: TableVariantProps) => string;
|
|
20
27
|
export type TablePagination = {
|
|
21
28
|
id: string;
|
|
22
29
|
currentPage: number;
|
|
@@ -24,9 +31,13 @@ export type TablePagination = {
|
|
|
24
31
|
search: string;
|
|
25
32
|
};
|
|
26
33
|
export declare class TableComponent {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
34
|
+
variant: import("@angular/core").InputSignal<TableContentVariantProps>;
|
|
35
|
+
size: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
36
|
+
height: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
37
|
+
shadow: import("@angular/core").InputSignal<TableContainerShadowProps>;
|
|
38
|
+
shape: import("@angular/core").InputSignal<TableContainerShapeProps>;
|
|
39
|
+
contentClasses: import("@angular/core").InputSignal<string>;
|
|
40
|
+
containerClasses: import("@angular/core").InputSignal<string>;
|
|
30
41
|
paginatorType: import("@angular/core").InputSignal<PaginationType>;
|
|
31
42
|
data: import("@angular/core").InputSignal<unknown[]>;
|
|
32
43
|
totalItems: import("@angular/core").InputSignal<number>;
|
|
@@ -40,8 +51,8 @@ export declare class TableComponent {
|
|
|
40
51
|
paginationRange: import("@angular/core").Signal<string>;
|
|
41
52
|
handlePageChange(page: number): void;
|
|
42
53
|
handlePageSizeChange(size: number): void;
|
|
43
|
-
get
|
|
44
|
-
get
|
|
54
|
+
get contentClass(): string;
|
|
55
|
+
get containerClass(): string;
|
|
45
56
|
header: import("@angular/core").Signal<TableHeaderCheckboxComponent | undefined>;
|
|
46
57
|
rows: import("@angular/core").Signal<readonly TableRowCheckboxComponent[]>;
|
|
47
58
|
identifiers: import("@angular/core").WritableSignal<Set<unknown>>;
|
|
@@ -51,5 +62,5 @@ export declare class TableComponent {
|
|
|
51
62
|
handleToggleCheckbox(value: boolean, identifier: unknown): void;
|
|
52
63
|
private clearList;
|
|
53
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "app-table", never, { "
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "app-table", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "contentClasses": { "alias": "contentClasses"; "required": false; "isSignal": true; }; "containerClasses": { "alias": "containerClasses"; "required": false; "isSignal": true; }; "paginatorType": { "alias": "paginatorType"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "showItemsPerPage": { "alias": "showItemsPerPage"; "required": false; "isSignal": true; }; "showEntries": { "alias": "showEntries"; "required": false; "isSignal": true; }; }, { "onPageChange": "onPageChange"; "onPageSizeChange": "onPageSizeChange"; "onCheck": "onCheck"; }, ["header", "rows"], ["thead", "tbody"], true, never>;
|
|
55
66
|
}
|