@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,55 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ButtonProps } from '@sixbell-telco/sdk/components/button';
|
|
2
|
+
import { TableContainerHeightProps, TableContainerShadowProps, TableContainerShapeProps, TableContentSizeProps, TableContentVariantProps, TablePagination } from '@sixbell-telco/sdk/components/table';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type DualListData<T> = T & {
|
|
5
5
|
selected: boolean;
|
|
6
6
|
};
|
|
7
7
|
export declare class DualListComponent<T> {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
leftTableVariant: import("@angular/core").InputSignal<TableContentVariantProps>;
|
|
9
|
+
leftTableSize: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
10
|
+
leftTableHeight: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
11
|
+
leftTableShadow: import("@angular/core").InputSignal<TableContainerShadowProps>;
|
|
12
|
+
leftTableShape: import("@angular/core").InputSignal<TableContainerShapeProps>;
|
|
13
|
+
leftTableContentClasses: import("@angular/core").InputSignal<string>;
|
|
14
|
+
leftTableContainerClasses: import("@angular/core").InputSignal<string>;
|
|
15
|
+
rightTableVariant: import("@angular/core").InputSignal<TableContentVariantProps>;
|
|
16
|
+
rightTableSize: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
17
|
+
rightTableHeight: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
18
|
+
rightTableShadow: import("@angular/core").InputSignal<TableContainerShadowProps>;
|
|
19
|
+
rightTableShape: import("@angular/core").InputSignal<TableContainerShapeProps>;
|
|
20
|
+
rightTableContentClasses: import("@angular/core").InputSignal<string>;
|
|
21
|
+
rightTableContainerClasses: import("@angular/core").InputSignal<string>;
|
|
22
|
+
leftTableVariantsClasses(): {
|
|
15
23
|
variant: "default" | "zebra";
|
|
16
|
-
|
|
17
|
-
size:
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
height: "sm" | "md" | "lg" | "auto" | "full";
|
|
25
|
+
size: TableContentSizeProps;
|
|
26
|
+
shadow: TableContainerShadowProps;
|
|
27
|
+
shape: TableContainerShapeProps;
|
|
20
28
|
};
|
|
21
|
-
|
|
29
|
+
rightTableVariantsClasses(): {
|
|
22
30
|
variant: "default" | "zebra";
|
|
23
|
-
|
|
24
|
-
size:
|
|
25
|
-
|
|
26
|
-
|
|
31
|
+
height: "sm" | "md" | "lg" | "auto" | "full";
|
|
32
|
+
size: TableContentSizeProps;
|
|
33
|
+
shadow: TableContainerShadowProps;
|
|
34
|
+
shape: TableContainerShapeProps;
|
|
27
35
|
};
|
|
28
|
-
get
|
|
29
|
-
get
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
get leftTableContainerClass(): string;
|
|
37
|
+
get rightTableContainerClass(): string;
|
|
38
|
+
buttonAddVariant: import("@angular/core").InputSignal<ButtonProps>;
|
|
39
|
+
buttonAddContainerClasses: import("@angular/core").InputSignal<string>;
|
|
40
|
+
buttonAddIconClasses: import("@angular/core").InputSignal<string>;
|
|
41
|
+
buttonAddLabel: import("@angular/core").InputSignal<string>;
|
|
42
|
+
buttonRemoveVariant: import("@angular/core").InputSignal<ButtonProps>;
|
|
43
|
+
buttonRemoveContainerClasses: import("@angular/core").InputSignal<string>;
|
|
44
|
+
buttonRemoveIconClasses: import("@angular/core").InputSignal<string>;
|
|
45
|
+
buttonRemoveLabel: import("@angular/core").InputSignal<string>;
|
|
46
|
+
buttonAddClasses(): {
|
|
37
47
|
variant: "secondary" | "primary" | "warning" | "error" | "ghost-primary" | "ghost-error" | "circle" | "icon";
|
|
38
48
|
width: "auto" | "full" | "fit" | "min-content" | "max-content" | "normal";
|
|
39
|
-
height: import("@sixbell-telco/sdk/components/button").
|
|
40
|
-
shape: import("@sixbell-telco/sdk/components/button").
|
|
41
|
-
padding: import("@sixbell-telco/sdk/components/button").
|
|
49
|
+
height: import("@sixbell-telco/sdk/components/button").ButtonContainerHeightProps;
|
|
50
|
+
shape: import("@sixbell-telco/sdk/components/button").ButtonContainerShapeProps;
|
|
51
|
+
padding: import("@sixbell-telco/sdk/components/button").ButtonContainerPaddingProps;
|
|
42
52
|
iconPosition: import("@sixbell-telco/sdk/components/button").ButtonIconVariantProps;
|
|
43
|
-
alignment: import("@sixbell-telco/sdk/components/button").
|
|
53
|
+
alignment: import("@sixbell-telco/sdk/components/button").ButtonContainerAlignmentProps;
|
|
44
54
|
};
|
|
45
|
-
|
|
55
|
+
buttonRemoveClasses(): {
|
|
46
56
|
variant: "secondary" | "primary" | "warning" | "error" | "ghost-primary" | "ghost-error" | "circle" | "icon";
|
|
47
57
|
width: "auto" | "full" | "fit" | "min-content" | "max-content" | "normal";
|
|
48
|
-
height: import("@sixbell-telco/sdk/components/button").
|
|
49
|
-
shape: import("@sixbell-telco/sdk/components/button").
|
|
50
|
-
padding: import("@sixbell-telco/sdk/components/button").
|
|
58
|
+
height: import("@sixbell-telco/sdk/components/button").ButtonContainerHeightProps;
|
|
59
|
+
shape: import("@sixbell-telco/sdk/components/button").ButtonContainerShapeProps;
|
|
60
|
+
padding: import("@sixbell-telco/sdk/components/button").ButtonContainerPaddingProps;
|
|
51
61
|
iconPosition: import("@sixbell-telco/sdk/components/button").ButtonIconVariantProps;
|
|
52
|
-
alignment: import("@sixbell-telco/sdk/components/button").
|
|
62
|
+
alignment: import("@sixbell-telco/sdk/components/button").ButtonContainerAlignmentProps;
|
|
53
63
|
};
|
|
54
64
|
key: import("@angular/core").InputSignal<string>;
|
|
55
65
|
label: import("@angular/core").InputSignal<string>;
|
|
@@ -88,5 +98,5 @@ export declare class DualListComponent<T> {
|
|
|
88
98
|
handleRemoveItems(): void;
|
|
89
99
|
private updateTargetList;
|
|
90
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<DualListComponent<any>, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DualListComponent<any>, "app-dual-list", never, { "
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DualListComponent<any>, "app-dual-list", never, { "leftTableVariant": { "alias": "leftTableVariant"; "required": false; "isSignal": true; }; "leftTableSize": { "alias": "leftTableSize"; "required": false; "isSignal": true; }; "leftTableHeight": { "alias": "leftTableHeight"; "required": false; "isSignal": true; }; "leftTableShadow": { "alias": "leftTableShadow"; "required": false; "isSignal": true; }; "leftTableShape": { "alias": "leftTableShape"; "required": false; "isSignal": true; }; "leftTableContentClasses": { "alias": "leftTableContentClasses"; "required": false; "isSignal": true; }; "leftTableContainerClasses": { "alias": "leftTableContainerClasses"; "required": false; "isSignal": true; }; "rightTableVariant": { "alias": "rightTableVariant"; "required": false; "isSignal": true; }; "rightTableSize": { "alias": "rightTableSize"; "required": false; "isSignal": true; }; "rightTableHeight": { "alias": "rightTableHeight"; "required": false; "isSignal": true; }; "rightTableShadow": { "alias": "rightTableShadow"; "required": false; "isSignal": true; }; "rightTableShape": { "alias": "rightTableShape"; "required": false; "isSignal": true; }; "rightTableContentClasses": { "alias": "rightTableContentClasses"; "required": false; "isSignal": true; }; "rightTableContainerClasses": { "alias": "rightTableContainerClasses"; "required": false; "isSignal": true; }; "buttonAddVariant": { "alias": "buttonAddVariant"; "required": false; "isSignal": true; }; "buttonAddContainerClasses": { "alias": "buttonAddContainerClasses"; "required": false; "isSignal": true; }; "buttonAddIconClasses": { "alias": "buttonAddIconClasses"; "required": false; "isSignal": true; }; "buttonAddLabel": { "alias": "buttonAddLabel"; "required": false; "isSignal": true; }; "buttonRemoveVariant": { "alias": "buttonRemoveVariant"; "required": false; "isSignal": true; }; "buttonRemoveContainerClasses": { "alias": "buttonRemoveContainerClasses"; "required": false; "isSignal": true; }; "buttonRemoveIconClasses": { "alias": "buttonRemoveIconClasses"; "required": false; "isSignal": true; }; "buttonRemoveLabel": { "alias": "buttonRemoveLabel"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "titleLeft": { "alias": "titleLeft"; "required": false; "isSignal": true; }; "titleRight": { "alias": "titleRight"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "addedItems": { "alias": "addedItems"; "required": true; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": true; "isSignal": true; }; }, { "onListChange": "onListChange"; "onSearch": "onSearch"; "onPageChange": "onPageChange"; "onPageSizeChange": "onPageSizeChange"; }, never, never, true, never>;
|
|
92
102
|
}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { InputPaddingProps, InputShapeProps, InputSizeProps, InputVariantProps } from '@sixbell-telco/sdk/components/forms/input';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
type
|
|
6
|
-
|
|
5
|
+
export type FileUploaderVariantProps = Exclude<InputVariantProps, 'search' | 'search-ghost'>;
|
|
6
|
+
export type FileUploaderShapeProps = InputShapeProps;
|
|
7
|
+
export type FileUploaderSizeProps = InputSizeProps;
|
|
8
|
+
export type FileUploaderPaddingProps = InputPaddingProps;
|
|
9
|
+
export type FileUploaderProps = {
|
|
10
|
+
variant?: FileUploaderVariantProps;
|
|
11
|
+
shape?: FileUploaderShapeProps;
|
|
12
|
+
size?: FileUploaderSizeProps;
|
|
13
|
+
padding?: FileUploaderPaddingProps;
|
|
7
14
|
};
|
|
8
15
|
export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
variant: import("@angular/core").InputSignal<FileUploaderVariantProps>;
|
|
17
|
+
shape: import("@angular/core").InputSignal<InputShapeProps>;
|
|
18
|
+
size: import("@angular/core").InputSignal<InputSizeProps>;
|
|
19
|
+
padding: import("@angular/core").InputSignal<InputPaddingProps>;
|
|
20
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
11
21
|
label: import("@angular/core").InputSignal<string>;
|
|
12
22
|
name: import("@angular/core").InputSignal<string | null>;
|
|
13
23
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
@@ -33,11 +43,10 @@ export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
|
33
43
|
handleReadFile(event: Event): void;
|
|
34
44
|
handleAddFile(event: Event): void;
|
|
35
45
|
removeFile(): void;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
componentClass(): FileUploaderProps;
|
|
47
|
+
errorClass(): FileUploaderProps;
|
|
48
|
+
successClass(): FileUploaderProps;
|
|
49
|
+
validationClass(): FileUploaderProps;
|
|
40
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploaderComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploaderComponent, "app-file-uploader", never, { "
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploaderComponent, "app-file-uploader", 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; }; "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>;
|
|
42
52
|
}
|
|
43
|
-
export {};
|
|
@@ -2,10 +2,14 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type CheckboxVariantProps = 'primary' | 'success' | 'error' | 'warning' | 'info' | null | undefined;
|
|
4
4
|
export type CheckboxSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
5
|
+
export type CheckboxProps = {
|
|
6
|
+
variant?: CheckboxVariantProps;
|
|
7
|
+
size?: CheckboxSizeProps;
|
|
8
|
+
};
|
|
5
9
|
export declare class CheckboxComponent implements ControlValueAccessor {
|
|
6
10
|
variant: import("@angular/core").InputSignal<CheckboxVariantProps>;
|
|
7
11
|
size: import("@angular/core").InputSignal<CheckboxSizeProps>;
|
|
8
|
-
|
|
12
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
9
13
|
label: import("@angular/core").InputSignal<string>;
|
|
10
14
|
name: import("@angular/core").InputSignal<string | null>;
|
|
11
15
|
value: import("@angular/core").ModelSignal<boolean>;
|
|
@@ -19,7 +23,7 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
19
23
|
onChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
20
24
|
handleChange(): void;
|
|
21
25
|
handleBlur(): void;
|
|
22
|
-
get
|
|
26
|
+
get componentClass(): string;
|
|
23
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "app-checkbox", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "app-checkbox", 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>;
|
|
25
29
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import { NativeSelectVariantProps } from '@sixbell-telco/sdk/components/forms/select';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
export type ComboboxVariantProps = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | null | undefined;
|
|
4
|
+
export type ComboboxShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
5
|
+
export type ComboboxHeightProps = 'fit' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
6
|
+
export type ComboboxProps = {
|
|
7
|
+
variant?: ComboboxVariantProps;
|
|
8
|
+
shape?: ComboboxShapeProps;
|
|
9
|
+
height?: ComboboxHeightProps;
|
|
10
|
+
};
|
|
11
11
|
/**
|
|
12
12
|
* Search input component
|
|
13
13
|
* A search input component that allows the user to search for an option from a list of options
|
|
@@ -15,8 +15,10 @@ export type ComboboxVariantProps = VariantProps<typeof combobox>;
|
|
|
15
15
|
* Docs: https://github.com/ng-select/ng-select
|
|
16
16
|
*/
|
|
17
17
|
export declare class ComboboxComponent implements ControlValueAccessor {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
variant: import("@angular/core").InputSignal<ComboboxVariantProps>;
|
|
19
|
+
shape: import("@angular/core").InputSignal<ComboboxShapeProps>;
|
|
20
|
+
height: import("@angular/core").InputSignal<ComboboxHeightProps>;
|
|
21
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
20
22
|
name: import("@angular/core").InputSignal<string | null>;
|
|
21
23
|
label: import("@angular/core").InputSignal<string>;
|
|
22
24
|
value: import("@angular/core").ModelSignal<unknown>;
|
|
@@ -43,11 +45,10 @@ export declare class ComboboxComponent implements ControlValueAccessor {
|
|
|
43
45
|
handleBlur(): void;
|
|
44
46
|
simpleOption: boolean;
|
|
45
47
|
optionsEffect: import("@angular/core").EffectRef;
|
|
46
|
-
get
|
|
47
|
-
get
|
|
48
|
-
get
|
|
49
|
-
get
|
|
48
|
+
get componentClass(): string;
|
|
49
|
+
get errorClass(): string;
|
|
50
|
+
get successClass(): string;
|
|
51
|
+
get validationClass(): string;
|
|
50
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "app-combobox", never, { "
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "app-combobox", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "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; }; "loading": { "alias": "loading"; "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"; "onSearch": "onSearch"; }, never, ["*"], true, never>;
|
|
52
54
|
}
|
|
53
|
-
export {};
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import { Subject } from 'rxjs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
export type InputVariantProps = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'search' | 'search-ghost' | null | undefined;
|
|
5
|
+
export type InputShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
6
|
+
export type InputSizeProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
7
|
+
export type InputPaddingProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
8
|
+
export type InputProps = {
|
|
9
|
+
variant?: InputVariantProps;
|
|
10
|
+
shape?: InputShapeProps;
|
|
11
|
+
size?: InputSizeProps;
|
|
12
|
+
padding?: InputPaddingProps;
|
|
13
|
+
};
|
|
12
14
|
type HTMLNativeInputType = 'text' | 'email' | 'number' | 'password' | 'file';
|
|
13
15
|
export declare class InputComponent implements ControlValueAccessor {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
variant: import("@angular/core").InputSignal<InputVariantProps>;
|
|
17
|
+
shape: import("@angular/core").InputSignal<InputShapeProps>;
|
|
18
|
+
size: import("@angular/core").InputSignal<InputSizeProps>;
|
|
19
|
+
padding: import("@angular/core").InputSignal<InputPaddingProps>;
|
|
20
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
16
21
|
label: import("@angular/core").InputSignal<string>;
|
|
17
22
|
type: import("@angular/core").InputSignal<HTMLNativeInputType>;
|
|
18
23
|
name: import("@angular/core").InputSignal<string | null>;
|
|
@@ -41,11 +46,11 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
41
46
|
debounceTimeEffect: import("@angular/core").EffectRef;
|
|
42
47
|
value$: import("rxjs").Observable<string>;
|
|
43
48
|
constructor();
|
|
44
|
-
get
|
|
45
|
-
get
|
|
46
|
-
get
|
|
47
|
-
get
|
|
49
|
+
get componentClass(): string;
|
|
50
|
+
get errorClass(): string;
|
|
51
|
+
get successClass(): string;
|
|
52
|
+
get validationClass(): string;
|
|
48
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "app-input", never, { "
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "app-input", 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; }; "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; }; "readonly": { "alias": "readonly"; "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; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onEnter": "onEnter"; "onBlur": "onBlur"; "onDebounceChange": "onDebounceChange"; }, never, ["*"], true, never>;
|
|
50
55
|
}
|
|
51
56
|
export {};
|
|
@@ -1,6 +1,18 @@
|
|
|
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;
|
|
5
|
+
export type RadioSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
6
|
+
export type RadioProps = {
|
|
7
|
+
variant?: RadioVariantProps;
|
|
8
|
+
borderVariant?: RadioBorderVariantProps;
|
|
9
|
+
size?: RadioSizeProps;
|
|
10
|
+
};
|
|
3
11
|
export declare class RadioComponent implements ControlValueAccessor {
|
|
12
|
+
variant: import("@angular/core").InputSignal<RadioVariantProps>;
|
|
13
|
+
borderVariant: import("@angular/core").InputSignal<RadioBorderVariantProps>;
|
|
14
|
+
size: import("@angular/core").InputSignal<RadioSizeProps>;
|
|
15
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
4
16
|
label: import("@angular/core").InputSignal<string>;
|
|
5
17
|
name: import("@angular/core").InputSignal<string | null>;
|
|
6
18
|
value: import("@angular/core").InputSignal<unknown>;
|
|
@@ -15,6 +27,7 @@ export declare class RadioComponent implements ControlValueAccessor {
|
|
|
15
27
|
onChange: import("@angular/core").OutputEmitterRef<any>;
|
|
16
28
|
handleChange(): void;
|
|
17
29
|
handleBlur(): void;
|
|
30
|
+
get componentClass(): string;
|
|
18
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "app-radio", never, { "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>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "app-radio", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "borderVariant": { "alias": "borderVariant"; "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": 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>;
|
|
20
33
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
export type RangeVariantProps = 'primary' | 'secondary' | 'success' | 'info' | 'error' | 'warning' | 'accent' | null | undefined;
|
|
4
|
+
export type RangeSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
5
|
+
export type RangeProps = {
|
|
6
|
+
variant?: RangeVariantProps;
|
|
7
|
+
size?: RangeSizeProps;
|
|
8
|
+
};
|
|
9
9
|
export declare class RangeComponent implements ControlValueAccessor {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
variant: import("@angular/core").InputSignal<RangeVariantProps>;
|
|
11
|
+
size: import("@angular/core").InputSignal<RangeSizeProps>;
|
|
12
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
12
13
|
label: import("@angular/core").InputSignal<string>;
|
|
13
14
|
name: import("@angular/core").InputSignal<string | null>;
|
|
14
15
|
min: import("@angular/core").InputSignal<number>;
|
|
@@ -30,8 +31,7 @@ export declare class RangeComponent implements ControlValueAccessor {
|
|
|
30
31
|
setDisabledState(isDisabled: boolean): void;
|
|
31
32
|
onChange: import("@angular/core").OutputEmitterRef<number>;
|
|
32
33
|
handleChange(): void;
|
|
33
|
-
get
|
|
34
|
+
get componentClass(): string;
|
|
34
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<RangeComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RangeComponent, "app-range", never, { "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RangeComponent, "app-range", 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; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showRange": { "alias": "showRange"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "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; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onChange": "onChange"; }, never, never, true, never>;
|
|
36
37
|
}
|
|
37
|
-
export {};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
export type SelectVariantProps = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | null | undefined;
|
|
4
|
+
export type SelectShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
5
|
+
export type SelectHeightProps = 'fit' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
6
|
+
export type SelectProps = {
|
|
7
|
+
variant?: SelectVariantProps;
|
|
8
|
+
shape?: SelectShapeProps;
|
|
9
|
+
height?: SelectHeightProps;
|
|
10
|
+
};
|
|
10
11
|
export declare class SelectComponent {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
variant: import("@angular/core").InputSignal<SelectVariantProps>;
|
|
13
|
+
shape: import("@angular/core").InputSignal<SelectShapeProps>;
|
|
14
|
+
height: import("@angular/core").InputSignal<SelectHeightProps>;
|
|
15
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
13
16
|
label: import("@angular/core").InputSignal<string>;
|
|
14
17
|
name: import("@angular/core").InputSignal<string | null>;
|
|
15
18
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
@@ -33,11 +36,10 @@ export declare class SelectComponent {
|
|
|
33
36
|
handleBlur(): void;
|
|
34
37
|
simpleOption: boolean;
|
|
35
38
|
optionsEffect: import("@angular/core").EffectRef;
|
|
36
|
-
get
|
|
37
|
-
get
|
|
38
|
-
get
|
|
39
|
-
get
|
|
39
|
+
get componentClass(): string;
|
|
40
|
+
get errorClass(): string;
|
|
41
|
+
get successClass(): string;
|
|
42
|
+
get validationClass(): string;
|
|
40
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "app-select", never, { "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "app-select", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "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; }; "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, ["*"], true, never>;
|
|
42
45
|
}
|
|
43
|
-
export {};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
export type SwitchVariantProps = 'primary' | 'warning' | 'error' | null | undefined;
|
|
4
|
+
export type SwitchSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
5
|
+
export type SwitchProps = {
|
|
6
|
+
variant?: SwitchVariantProps;
|
|
7
|
+
size?: SwitchSizeProps;
|
|
8
|
+
};
|
|
9
9
|
export declare class SwitchComponent implements ControlValueAccessor {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
variant: import("@angular/core").InputSignal<SwitchVariantProps>;
|
|
11
|
+
size: import("@angular/core").InputSignal<SwitchSizeProps>;
|
|
12
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
12
13
|
label: import("@angular/core").InputSignal<string>;
|
|
13
14
|
name: import("@angular/core").InputSignal<string | null>;
|
|
14
15
|
value: import("@angular/core").ModelSignal<boolean>;
|
|
@@ -20,10 +21,9 @@ export declare class SwitchComponent implements ControlValueAccessor {
|
|
|
20
21
|
registerOnTouched(fn: any): void;
|
|
21
22
|
setDisabledState?(isDisabled: boolean): void;
|
|
22
23
|
onChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
23
|
-
get
|
|
24
|
+
get componentClass(): string;
|
|
24
25
|
handleChange(): void;
|
|
25
26
|
handleBlur(): void;
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "app-switch", never, { "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "app-switch", 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>;
|
|
28
29
|
}
|
|
29
|
-
export {};
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import { Subject } from 'rxjs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
export type textareaVariantProps = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | null | undefined;
|
|
5
|
+
export type textareaShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
6
|
+
export type textareaSizeProps = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | null | undefined;
|
|
7
|
+
export type textareaPaddingProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
8
|
+
export type textareaProps = {
|
|
9
|
+
variant?: textareaVariantProps;
|
|
10
|
+
shape?: textareaShapeProps;
|
|
11
|
+
size?: textareaSizeProps;
|
|
12
|
+
padding?: textareaPaddingProps;
|
|
13
|
+
};
|
|
12
14
|
export declare class TextareaComponent {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
variant: import("@angular/core").InputSignal<textareaVariantProps>;
|
|
16
|
+
shape: import("@angular/core").InputSignal<textareaShapeProps>;
|
|
17
|
+
size: import("@angular/core").InputSignal<textareaSizeProps>;
|
|
18
|
+
padding: import("@angular/core").InputSignal<textareaPaddingProps>;
|
|
19
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
15
20
|
label: import("@angular/core").InputSignal<string>;
|
|
16
21
|
name: import("@angular/core").InputSignal<string | null>;
|
|
17
22
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
@@ -39,11 +44,10 @@ export declare class TextareaComponent {
|
|
|
39
44
|
debounceTimeEffect: import("@angular/core").EffectRef;
|
|
40
45
|
value$: import("rxjs").Observable<string>;
|
|
41
46
|
constructor();
|
|
42
|
-
get
|
|
43
|
-
get
|
|
44
|
-
get
|
|
45
|
-
get
|
|
47
|
+
get componentClass(): string;
|
|
48
|
+
get errorClass(): string;
|
|
49
|
+
get successClass(): string;
|
|
50
|
+
get validationClass(): string;
|
|
46
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "app-textarea", never, { "
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "app-textarea", 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; }; "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>;
|
|
48
53
|
}
|
|
49
|
-
export {};
|