@cuby-ui/core 0.0.131 → 0.0.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
- package/components/accordion/accordion.component.d.ts +5 -5
- package/components/accordion/accordion.module.d.ts +11 -11
- package/components/accordion/index.d.ts +3 -3
- package/components/alert/alert.component.d.ts +13 -13
- package/components/alert/alert.interfaces.d.ts +9 -9
- package/components/alert/alert.module.d.ts +11 -11
- package/components/alert/alert.service.d.ts +7 -7
- package/components/alert/alert.tokens.d.ts +15 -15
- package/components/alert/alert.types.d.ts +3 -3
- package/components/alert/alerts.component.d.ts +17 -17
- package/components/alert/index.d.ts +8 -8
- package/components/badge/badge.component.d.ts +10 -10
- package/components/badge/badge.module.d.ts +8 -8
- package/components/badge/badge.options.d.ts +8 -8
- package/components/badge/index.d.ts +2 -2
- package/components/banner/banner.component.d.ts +21 -21
- package/components/banner/banner.module.d.ts +11 -11
- package/components/banner/banner.options.d.ts +13 -13
- package/components/banner/index.d.ts +3 -3
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
- package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
- package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
- package/components/breadcrumbs/index.d.ts +3 -3
- package/components/button/button.component.d.ts +30 -30
- package/components/button/button.module.d.ts +9 -9
- package/components/button/button.options.d.ts +9 -9
- package/components/button/index.d.ts +3 -3
- package/components/button-group/button-group.component.d.ts +5 -5
- package/components/button-group/button-group.module.d.ts +7 -7
- package/components/button-group/index.d.ts +2 -2
- package/components/checkbox/checkbox.component.d.ts +5 -5
- package/components/checkbox/checkbox.module.d.ts +7 -7
- package/components/checkbox/index.d.ts +2 -2
- package/components/context-menu/context-menu.component.d.ts +39 -39
- package/components/context-menu/context-menu.module.d.ts +9 -9
- package/components/context-menu/index.d.ts +2 -2
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
- package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
- package/components/dialog/dialog.component.d.ts +37 -37
- package/components/dialog/dialog.interfaces.d.ts +10 -10
- package/components/dialog/dialog.module.d.ts +14 -14
- package/components/dialog/dialog.service.d.ts +7 -7
- package/components/dialog/dialog.tokens.d.ts +8 -8
- package/components/dialog/dialogs.component.d.ts +17 -17
- package/components/dialog/index.d.ts +8 -8
- package/components/form-field/form-field.component.d.ts +5 -5
- package/components/form-field/form-field.module.d.ts +7 -7
- package/components/form-field/index.d.ts +2 -2
- package/components/hint/hint.component.d.ts +7 -7
- package/components/hint/hint.module.d.ts +7 -7
- package/components/hint/index.d.ts +2 -2
- package/components/icon-button/icon-button.component.d.ts +13 -13
- package/components/icon-button/icon-button.module.d.ts +9 -9
- package/components/icon-button/index.d.ts +2 -2
- package/components/index.d.ts +25 -25
- package/components/input-number/index.d.ts +2 -2
- package/components/input-number/input-number.component.d.ts +55 -55
- package/components/input-number/input-number.module.d.ts +11 -11
- package/components/input-number/input-number.options.d.ts +9 -9
- package/components/input-password/index.d.ts +2 -2
- package/components/input-password/input-password.component.d.ts +31 -31
- package/components/input-password/input-password.module.d.ts +11 -11
- package/components/input-text/index.d.ts +2 -2
- package/components/input-text/input-text.component.d.ts +31 -31
- package/components/input-text/input-text.module.d.ts +11 -11
- package/components/label/index.d.ts +2 -2
- package/components/label/label.component.d.ts +6 -6
- package/components/label/label.module.d.ts +8 -8
- package/components/notification/index.d.ts +3 -3
- package/components/notification/notification.component.d.ts +13 -13
- package/components/notification/notification.module.d.ts +10 -10
- package/components/notification/notification.options.d.ts +13 -13
- package/components/radio/index.d.ts +2 -2
- package/components/radio/radio.component.d.ts +5 -5
- package/components/radio/radio.module.d.ts +7 -7
- package/components/root/index.d.ts +3 -3
- package/components/root/root.component.d.ts +11 -11
- package/components/root/root.module.d.ts +10 -10
- package/components/root/root.options.d.ts +1 -1
- package/components/select/index.d.ts +2 -2
- package/components/select/select.component.d.ts +52 -52
- package/components/select/select.module.d.ts +10 -10
- package/components/svg/index.d.ts +2 -2
- package/components/svg/svg.component.d.ts +16 -16
- package/components/svg/svg.module.d.ts +8 -8
- package/components/tabs/index.d.ts +3 -3
- package/components/tabs/tab/index.d.ts +1 -1
- package/components/tabs/tab/tab.component.d.ts +8 -8
- package/components/tabs/tabs.component.d.ts +16 -16
- package/components/tabs/tabs.module.d.ts +8 -8
- package/components/textarea/index.d.ts +2 -2
- package/components/textarea/textarea.component.d.ts +10 -10
- package/components/textarea/textarea.module.d.ts +7 -7
- package/components/toggle/index.d.ts +2 -2
- package/components/toggle/toggle.component.d.ts +5 -5
- package/components/toggle/toggle.module.d.ts +7 -7
- package/directives/index.d.ts +1 -1
- package/directives/text-field-controller/index.d.ts +8 -8
- package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
- package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field.controller.d.ts +20 -20
- package/esm2020/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
- package/esm2020/components/accordion/accordion.component.mjs +11 -11
- package/esm2020/components/accordion/accordion.module.mjs +37 -37
- package/esm2020/components/accordion/index.mjs +4 -4
- package/esm2020/components/alert/alert.component.mjs +37 -37
- package/esm2020/components/alert/alert.interfaces.mjs +2 -2
- package/esm2020/components/alert/alert.module.mjs +40 -40
- package/esm2020/components/alert/alert.service.mjs +17 -17
- package/esm2020/components/alert/alert.tokens.mjs +19 -19
- package/esm2020/components/alert/alert.types.mjs +2 -2
- package/esm2020/components/alert/alerts.component.mjs +36 -36
- package/esm2020/components/alert/index.mjs +9 -9
- package/esm2020/components/badge/badge.component.mjs +31 -31
- package/esm2020/components/badge/badge.module.mjs +18 -18
- package/esm2020/components/badge/badge.options.mjs +8 -8
- package/esm2020/components/badge/index.mjs +3 -3
- package/esm2020/components/banner/banner.component.mjs +68 -68
- package/esm2020/components/banner/banner.module.mjs +31 -31
- package/esm2020/components/banner/banner.options.mjs +6 -6
- package/esm2020/components/banner/index.mjs +4 -4
- package/esm2020/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
- package/esm2020/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
- package/esm2020/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
- package/esm2020/components/breadcrumbs/index.mjs +4 -4
- package/esm2020/components/button/button.component.mjs +104 -104
- package/esm2020/components/button/button.module.mjs +24 -24
- package/esm2020/components/button/button.options.mjs +10 -10
- package/esm2020/components/button/index.mjs +4 -4
- package/esm2020/components/button-group/button-group.component.mjs +11 -11
- package/esm2020/components/button-group/button-group.module.mjs +16 -16
- package/esm2020/components/button-group/index.mjs +3 -3
- package/esm2020/components/checkbox/checkbox.component.mjs +11 -11
- package/esm2020/components/checkbox/checkbox.module.mjs +16 -16
- package/esm2020/components/checkbox/index.mjs +3 -3
- package/esm2020/components/context-menu/context-menu.component.mjs +146 -146
- package/esm2020/components/context-menu/context-menu.module.mjs +24 -24
- package/esm2020/components/context-menu/index.mjs +3 -3
- package/esm2020/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
- package/esm2020/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
- package/esm2020/components/dialog/dialog.component.mjs +76 -76
- package/esm2020/components/dialog/dialog.interfaces.mjs +2 -2
- package/esm2020/components/dialog/dialog.module.mjs +50 -50
- package/esm2020/components/dialog/dialog.service.mjs +17 -17
- package/esm2020/components/dialog/dialog.tokens.mjs +11 -11
- package/esm2020/components/dialog/dialogs.component.mjs +48 -48
- package/esm2020/components/dialog/index.mjs +9 -9
- package/esm2020/components/form-field/form-field.component.mjs +11 -11
- package/esm2020/components/form-field/form-field.module.mjs +16 -16
- package/esm2020/components/form-field/index.mjs +3 -3
- package/esm2020/components/hint/hint.component.mjs +19 -19
- package/esm2020/components/hint/hint.module.mjs +16 -16
- package/esm2020/components/hint/index.mjs +3 -3
- package/esm2020/components/icon-button/icon-button.component.mjs +32 -32
- package/esm2020/components/icon-button/icon-button.module.mjs +24 -24
- package/esm2020/components/icon-button/index.mjs +3 -3
- package/esm2020/components/index.mjs +26 -26
- package/esm2020/components/input-number/index.mjs +3 -3
- package/esm2020/components/input-number/input-number.component.mjs +204 -204
- package/esm2020/components/input-number/input-number.module.mjs +33 -33
- package/esm2020/components/input-number/input-number.options.mjs +11 -11
- package/esm2020/components/input-password/index.mjs +3 -3
- package/esm2020/components/input-password/input-password.component.mjs +89 -89
- package/esm2020/components/input-password/input-password.module.mjs +33 -33
- package/esm2020/components/input-text/index.mjs +3 -3
- package/esm2020/components/input-text/input-text.component.mjs +87 -87
- package/esm2020/components/input-text/input-text.module.mjs +33 -33
- package/esm2020/components/label/index.mjs +3 -3
- package/esm2020/components/label/label.component.mjs +17 -17
- package/esm2020/components/label/label.module.mjs +18 -18
- package/esm2020/components/notification/index.mjs +4 -4
- package/esm2020/components/notification/notification.component.mjs +51 -51
- package/esm2020/components/notification/notification.module.mjs +27 -27
- package/esm2020/components/notification/notification.options.mjs +6 -6
- package/esm2020/components/radio/index.mjs +3 -3
- package/esm2020/components/radio/radio.component.mjs +11 -11
- package/esm2020/components/radio/radio.module.mjs +16 -16
- package/esm2020/components/root/index.mjs +4 -4
- package/esm2020/components/root/root.component.mjs +31 -31
- package/esm2020/components/root/root.module.mjs +28 -28
- package/esm2020/components/root/root.options.mjs +1 -1
- package/esm2020/components/select/index.mjs +3 -3
- package/esm2020/components/select/select.component.mjs +165 -165
- package/esm2020/components/select/select.module.mjs +29 -29
- package/esm2020/components/svg/index.mjs +3 -3
- package/esm2020/components/svg/svg.component.mjs +50 -50
- package/esm2020/components/svg/svg.module.mjs +18 -18
- package/esm2020/components/tabs/index.mjs +4 -4
- package/esm2020/components/tabs/tab/index.mjs +1 -1
- package/esm2020/components/tabs/tab/tab.component.mjs +21 -21
- package/esm2020/components/tabs/tabs.component.mjs +49 -49
- package/esm2020/components/tabs/tabs.module.mjs +18 -18
- package/esm2020/components/textarea/index.mjs +3 -3
- package/esm2020/components/textarea/textarea.component.mjs +35 -35
- package/esm2020/components/textarea/textarea.module.mjs +16 -16
- package/esm2020/components/toggle/index.mjs +3 -3
- package/esm2020/components/toggle/toggle.component.mjs +11 -11
- package/esm2020/components/toggle/toggle.module.mjs +16 -16
- package/esm2020/cuby-ui-core.mjs +4 -4
- package/esm2020/directives/index.mjs +2 -2
- package/esm2020/directives/text-field-controller/index.mjs +9 -9
- package/esm2020/directives/text-field-controller/text-field-controller.module.mjs +40 -40
- package/esm2020/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-id.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-size.directive.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field.controller.mjs +25 -25
- package/esm2020/index.mjs +7 -7
- package/esm2020/interfaces/context-menu-item.mjs +2 -2
- package/esm2020/interfaces/index.mjs +3 -3
- package/esm2020/interfaces/option.mjs +2 -2
- package/esm2020/services/index.mjs +3 -3
- package/esm2020/services/theme.options.mjs +6 -6
- package/esm2020/services/theme.service.mjs +30 -30
- package/esm2020/types/appearance.mjs +2 -2
- package/esm2020/types/hint-type.mjs +2 -2
- package/esm2020/types/index.mjs +8 -8
- package/esm2020/types/position.mjs +2 -2
- package/esm2020/types/resizing.mjs +2 -2
- package/esm2020/types/shape.mjs +2 -2
- package/esm2020/types/size.mjs +2 -2
- package/esm2020/types/status.mjs +2 -2
- package/esm2020/utils/format/index.mjs +3 -3
- package/esm2020/utils/format/remove-spaces.mjs +4 -4
- package/esm2020/utils/format/replace.mjs +5 -5
- package/esm2020/utils/index.mjs +2 -2
- package/fesm2015/cuby-ui-core.mjs +2050 -2050
- package/fesm2015/cuby-ui-core.mjs.map +1 -1
- package/fesm2020/cuby-ui-core.mjs +2049 -2049
- package/fesm2020/cuby-ui-core.mjs.map +1 -1
- package/fonts/Inter-Bold.svg +25443 -25443
- package/fonts/Inter-Medium.svg +25400 -25400
- package/fonts/Inter-Regular.svg +24341 -24341
- package/fonts/Inter-SemiBold.svg +25459 -25459
- package/index.d.ts +6 -6
- package/interfaces/context-menu-item.d.ts +7 -7
- package/interfaces/index.d.ts +2 -2
- package/interfaces/option.d.ts +5 -5
- package/package.json +3 -3
- package/services/index.d.ts +2 -2
- package/services/theme.options.d.ts +5 -5
- package/services/theme.service.d.ts +12 -12
- package/styles/fonts.scss +51 -51
- package/styles/global.scss +9 -9
- package/styles/mixins/buttons.scss +13 -13
- package/styles/mixins/headings.scss +115 -115
- package/styles/mixins/inputs.scss +91 -91
- package/styles/mixins/lists.scss +5 -5
- package/styles/mixins/paddings.scss +35 -35
- package/styles/mixins/shadows.scss +38 -38
- package/styles/mixins/texts.scss +225 -225
- package/styles/theme.scss +351 -351
- package/styles/variables/colors.scss +240 -240
- package/types/appearance.d.ts +8 -8
- package/types/hint-type.d.ts +1 -1
- package/types/index.d.ts +7 -7
- package/types/position.d.ts +2 -2
- package/types/resizing.d.ts +2 -2
- package/types/shape.d.ts +1 -1
- package/types/size.d.ts +4 -4
- package/types/status.d.ts +1 -1
- package/utils/format/index.d.ts +2 -2
- package/utils/format/remove-spaces.d.ts +1 -1
- package/utils/format/replace.d.ts +1 -1
- package/utils/index.d.ts +1 -1
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import type { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import type { CuiOnChange, CuiOnTouched, CuiNullable } from '@cuby-ui/cdk';
|
|
5
|
-
import type { CuiOption } from '../../interfaces';
|
|
6
|
-
import type { CuiSizeMd, CuiSizeSm } from '../../types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@cuby-ui/cdk";
|
|
9
|
-
export declare class CuiSelectComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
10
|
-
private readonly element;
|
|
11
|
-
private readonly document;
|
|
12
|
-
private readonly changeDetectorRef;
|
|
13
|
-
private readonly viewContainerRef;
|
|
14
|
-
private readonly destroy$;
|
|
15
|
-
private readonly cuiTextFieldController;
|
|
16
|
-
private readonly cuiClickOutsideDirective;
|
|
17
|
-
protected readonly SPACE_BETWEEN_BUTTON_AND_OPTIONS = 3;
|
|
18
|
-
protected isOpened: boolean;
|
|
19
|
-
protected isOptionsListAbove: boolean;
|
|
20
|
-
protected value: CuiNullable<unknown>;
|
|
21
|
-
protected onChange: CuiOnChange<unknown>;
|
|
22
|
-
protected onTouched: CuiOnTouched;
|
|
23
|
-
protected isDisabled: boolean;
|
|
24
|
-
protected selectedOption?: CuiOption;
|
|
25
|
-
options: CuiOption[];
|
|
26
|
-
defaultOptionText?: string;
|
|
27
|
-
protected readonly button: ElementRef<HTMLButtonElement>;
|
|
28
|
-
protected readonly getOptionsListHeightContainer: ElementRef<HTMLUListElement>;
|
|
29
|
-
protected readonly optionsWrapper: TemplateRef<unknown>;
|
|
30
|
-
protected gap: string;
|
|
31
|
-
protected get id(): string | undefined;
|
|
32
|
-
protected get size(): CuiSizeSm | CuiSizeMd;
|
|
33
|
-
protected get placeholder(): string | undefined;
|
|
34
|
-
protected get isError(): boolean;
|
|
35
|
-
protected trackByFn(_: number, item: CuiOption): string;
|
|
36
|
-
writeValue(value: unknown): void;
|
|
37
|
-
registerOnChange(fn: CuiOnChange<unknown>): void;
|
|
38
|
-
registerOnTouched(fn: CuiOnTouched): void;
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
ngOnDestroy(): void;
|
|
41
|
-
setDisabledState(isDisabled: boolean): void;
|
|
42
|
-
protected onSelect(option: CuiOption): void;
|
|
43
|
-
protected onSwitch(): void;
|
|
44
|
-
protected onClose(): void;
|
|
45
|
-
protected onWindowResize(): void;
|
|
46
|
-
private initClickOutsideSubscription;
|
|
47
|
-
private open;
|
|
48
|
-
private close;
|
|
49
|
-
private clearViewContainerRef;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiSelectComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiSelectComponent, "cui-select[options]", never, { "options": "options"; "defaultOptionText": "defaultOptionText"; }, {}, never, never, false, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }]>;
|
|
52
|
-
}
|
|
1
|
+
import type { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import type { CuiOnChange, CuiOnTouched, CuiNullable } from '@cuby-ui/cdk';
|
|
5
|
+
import type { CuiOption } from '../../interfaces';
|
|
6
|
+
import type { CuiSizeMd, CuiSizeSm } from '../../types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@cuby-ui/cdk";
|
|
9
|
+
export declare class CuiSelectComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
10
|
+
private readonly element;
|
|
11
|
+
private readonly document;
|
|
12
|
+
private readonly changeDetectorRef;
|
|
13
|
+
private readonly viewContainerRef;
|
|
14
|
+
private readonly destroy$;
|
|
15
|
+
private readonly cuiTextFieldController;
|
|
16
|
+
private readonly cuiClickOutsideDirective;
|
|
17
|
+
protected readonly SPACE_BETWEEN_BUTTON_AND_OPTIONS = 3;
|
|
18
|
+
protected isOpened: boolean;
|
|
19
|
+
protected isOptionsListAbove: boolean;
|
|
20
|
+
protected value: CuiNullable<unknown>;
|
|
21
|
+
protected onChange: CuiOnChange<unknown>;
|
|
22
|
+
protected onTouched: CuiOnTouched;
|
|
23
|
+
protected isDisabled: boolean;
|
|
24
|
+
protected selectedOption?: CuiOption;
|
|
25
|
+
options: CuiOption[];
|
|
26
|
+
defaultOptionText?: string;
|
|
27
|
+
protected readonly button: ElementRef<HTMLButtonElement>;
|
|
28
|
+
protected readonly getOptionsListHeightContainer: ElementRef<HTMLUListElement>;
|
|
29
|
+
protected readonly optionsWrapper: TemplateRef<unknown>;
|
|
30
|
+
protected gap: string;
|
|
31
|
+
protected get id(): string | undefined;
|
|
32
|
+
protected get size(): CuiSizeSm | CuiSizeMd;
|
|
33
|
+
protected get placeholder(): string | undefined;
|
|
34
|
+
protected get isError(): boolean;
|
|
35
|
+
protected trackByFn(_: number, item: CuiOption): string;
|
|
36
|
+
writeValue(value: unknown): void;
|
|
37
|
+
registerOnChange(fn: CuiOnChange<unknown>): void;
|
|
38
|
+
registerOnTouched(fn: CuiOnTouched): void;
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
setDisabledState(isDisabled: boolean): void;
|
|
42
|
+
protected onSelect(option: CuiOption): void;
|
|
43
|
+
protected onSwitch(): void;
|
|
44
|
+
protected onClose(): void;
|
|
45
|
+
protected onWindowResize(): void;
|
|
46
|
+
private initClickOutsideSubscription;
|
|
47
|
+
private open;
|
|
48
|
+
private close;
|
|
49
|
+
private clearViewContainerRef;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiSelectComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiSelectComponent, "cui-select[options]", never, { "options": "options"; "defaultOptionText": "defaultOptionText"; }, {}, never, never, false, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }]>;
|
|
52
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./select.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../svg/svg.module";
|
|
5
|
-
import * as i4 from "../../directives/text-field-controller/text-field-controller.module";
|
|
6
|
-
export declare class CuiSelectModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiSelectModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiSelectModule, [typeof i1.CuiSelectComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiSelectComponent, typeof i4.CuiTextFieldControllerModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CuiSelectModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./select.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../svg/svg.module";
|
|
5
|
+
import * as i4 from "../../directives/text-field-controller/text-field-controller.module";
|
|
6
|
+
export declare class CuiSelectModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiSelectModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiSelectModule, [typeof i1.CuiSelectComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiSelectComponent, typeof i4.CuiTextFieldControllerModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CuiSelectModule>;
|
|
10
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './svg.component';
|
|
2
|
-
export * from './svg.module';
|
|
1
|
+
export * from './svg.component';
|
|
2
|
+
export * from './svg.module';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
2
|
-
import type { CuiIcon } from '@cuby-ui/icons';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiSvgComponent {
|
|
5
|
-
private readonly domSanitizer;
|
|
6
|
-
protected safeSvgContent: SafeHtml;
|
|
7
|
-
width?: number;
|
|
8
|
-
height?: number;
|
|
9
|
-
strokeWidth?: number;
|
|
10
|
-
color?: string;
|
|
11
|
-
set icon(icon: CuiIcon | string);
|
|
12
|
-
get isWithStrokeWidth(): boolean;
|
|
13
|
-
get isWithColor(): boolean;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiSvgComponent, "cui-svg[icon]", never, { "width": "width"; "height": "height"; "strokeWidth": "strokeWidth"; "color": "color"; "icon": "icon"; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
1
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
2
|
+
import type { CuiIcon } from '@cuby-ui/icons';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiSvgComponent {
|
|
5
|
+
private readonly domSanitizer;
|
|
6
|
+
protected safeSvgContent: SafeHtml;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
color?: string;
|
|
11
|
+
set icon(icon: CuiIcon | string);
|
|
12
|
+
get isWithStrokeWidth(): boolean;
|
|
13
|
+
get isWithColor(): boolean;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiSvgComponent, "cui-svg[icon]", never, { "width": "width"; "height": "height"; "strokeWidth": "strokeWidth"; "color": "color"; "icon": "icon"; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./svg.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class CuiSvgModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiSvgModule, [typeof i1.CuiSvgComponent], [typeof i2.CommonModule], [typeof i1.CuiSvgComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CuiSvgModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./svg.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class CuiSvgModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiSvgModule, [typeof i1.CuiSvgComponent], [typeof i2.CommonModule], [typeof i1.CuiSvgComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CuiSvgModule>;
|
|
8
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tab';
|
|
2
|
-
export * from './tabs.component';
|
|
3
|
-
export * from './tabs.module';
|
|
1
|
+
export * from './tab';
|
|
2
|
+
export * from './tabs.component';
|
|
3
|
+
export * from './tabs.module';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './tab.component';
|
|
1
|
+
export * from './tab.component';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare const CUI_TAB_ACTIVATE = "cui-tab-activate";
|
|
3
|
-
export declare class CuiTabComponent {
|
|
4
|
-
protected readonly element: HTMLButtonElement;
|
|
5
|
-
protected onClick(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTabComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiTabComponent, "button[cuiTab]", never, {}, {}, never, ["*"], false, never>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare const CUI_TAB_ACTIVATE = "cui-tab-activate";
|
|
3
|
+
export declare class CuiTabComponent {
|
|
4
|
+
protected readonly element: HTMLButtonElement;
|
|
5
|
+
protected onClick(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTabComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiTabComponent, "button[cuiTab]", never, {}, {}, never, ["*"], false, never>;
|
|
8
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type { AfterViewChecked } from '@angular/core';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiTabsComponent implements AfterViewChecked {
|
|
5
|
-
private readonly element;
|
|
6
|
-
private readonly activeElementClass;
|
|
7
|
-
protected get tabs(): readonly HTMLElement[];
|
|
8
|
-
get activeElement(): HTMLElement | null;
|
|
9
|
-
ngAfterViewChecked(): void;
|
|
10
|
-
activeItemIndex: number;
|
|
11
|
-
readonly activeItemIndexChange: EventEmitter<number>;
|
|
12
|
-
protected onActivate(event: CustomEvent): void;
|
|
13
|
-
private changeActiveItem;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTabsComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiTabsComponent, "cui-tabs", never, { "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, ["[cuiTab]"], false, never>;
|
|
16
|
-
}
|
|
1
|
+
import type { AfterViewChecked } from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiTabsComponent implements AfterViewChecked {
|
|
5
|
+
private readonly element;
|
|
6
|
+
private readonly activeElementClass;
|
|
7
|
+
protected get tabs(): readonly HTMLElement[];
|
|
8
|
+
get activeElement(): HTMLElement | null;
|
|
9
|
+
ngAfterViewChecked(): void;
|
|
10
|
+
activeItemIndex: number;
|
|
11
|
+
readonly activeItemIndexChange: EventEmitter<number>;
|
|
12
|
+
protected onActivate(event: CustomEvent): void;
|
|
13
|
+
private changeActiveItem;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTabsComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiTabsComponent, "cui-tabs", never, { "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, ["[cuiTab]"], false, never>;
|
|
16
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./tabs.component";
|
|
3
|
-
import * as i2 from "./tab/tab.component";
|
|
4
|
-
export declare class CuiTabsModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTabsModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiTabsModule, [typeof i1.CuiTabsComponent, typeof i2.CuiTabComponent], never, [typeof i1.CuiTabsComponent, typeof i2.CuiTabComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CuiTabsModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tabs.component";
|
|
3
|
+
import * as i2 from "./tab/tab.component";
|
|
4
|
+
export declare class CuiTabsModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTabsModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiTabsModule, [typeof i1.CuiTabsComponent, typeof i2.CuiTabComponent], never, [typeof i1.CuiTabsComponent, typeof i2.CuiTabComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CuiTabsModule>;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './textarea.component';
|
|
2
|
-
export * from './textarea.module';
|
|
1
|
+
export * from './textarea.component';
|
|
2
|
+
export * from './textarea.module';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@cuby-ui/cdk";
|
|
3
|
-
export declare class CuiTextareaComponent {
|
|
4
|
-
private readonly cuiTextFieldController;
|
|
5
|
-
rows: number;
|
|
6
|
-
noBordersAndPaddings: boolean;
|
|
7
|
-
protected get isError(): boolean;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextareaComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiTextareaComponent, "textarea[cuiTextarea]", never, { "rows": "rows"; "noBordersAndPaddings": "noBordersAndPaddings"; }, {}, never, never, false, [{ directive: typeof i1.CuiAutoResizingDirective; inputs: {}; outputs: {}; }]>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@cuby-ui/cdk";
|
|
3
|
+
export declare class CuiTextareaComponent {
|
|
4
|
+
private readonly cuiTextFieldController;
|
|
5
|
+
rows: number;
|
|
6
|
+
noBordersAndPaddings: boolean;
|
|
7
|
+
protected get isError(): boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextareaComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiTextareaComponent, "textarea[cuiTextarea]", never, { "rows": "rows"; "noBordersAndPaddings": "noBordersAndPaddings"; }, {}, never, never, false, [{ directive: typeof i1.CuiAutoResizingDirective; inputs: {}; outputs: {}; }]>;
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./textarea.component";
|
|
3
|
-
export declare class CuiTextareaModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextareaModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiTextareaModule, [typeof i1.CuiTextareaComponent], never, [typeof i1.CuiTextareaComponent]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CuiTextareaModule>;
|
|
7
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./textarea.component";
|
|
3
|
+
export declare class CuiTextareaModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextareaModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiTextareaModule, [typeof i1.CuiTextareaComponent], never, [typeof i1.CuiTextareaComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CuiTextareaModule>;
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './toggle.component';
|
|
2
|
-
export * from './toggle.module';
|
|
1
|
+
export * from './toggle.component';
|
|
2
|
+
export * from './toggle.module';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CuiToggleComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiToggleComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiToggleComponent, "input[type=\"checkbox\"][cuiToggle]", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CuiToggleComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiToggleComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiToggleComponent, "input[type=\"checkbox\"][cuiToggle]", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./toggle.component";
|
|
3
|
-
export declare class CuiToggleModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiToggleModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiToggleModule, [typeof i1.CuiToggleComponent], never, [typeof i1.CuiToggleComponent]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CuiToggleModule>;
|
|
7
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./toggle.component";
|
|
3
|
+
export declare class CuiToggleModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiToggleModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiToggleModule, [typeof i1.CuiToggleComponent], never, [typeof i1.CuiToggleComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CuiToggleModule>;
|
|
7
|
+
}
|
package/directives/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './text-field-controller';
|
|
1
|
+
export * from './text-field-controller';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './text-field.controller';
|
|
2
|
-
export * from './text-field-controller.module';
|
|
3
|
-
export * from './text-field-controller.provider';
|
|
4
|
-
export * from './text-field-icon-left.directive';
|
|
5
|
-
export * from './text-field-id.directive';
|
|
6
|
-
export * from './text-field-is-error.directive';
|
|
7
|
-
export * from './text-field-placeholder.directive';
|
|
8
|
-
export * from './text-field-size.directive';
|
|
1
|
+
export * from './text-field.controller';
|
|
2
|
+
export * from './text-field-controller.module';
|
|
3
|
+
export * from './text-field-controller.provider';
|
|
4
|
+
export * from './text-field-icon-left.directive';
|
|
5
|
+
export * from './text-field-id.directive';
|
|
6
|
+
export * from './text-field-is-error.directive';
|
|
7
|
+
export * from './text-field-placeholder.directive';
|
|
8
|
+
export * from './text-field-size.directive';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./text-field-icon-left.directive";
|
|
3
|
-
import * as i2 from "./text-field-id.directive";
|
|
4
|
-
import * as i3 from "./text-field-placeholder.directive";
|
|
5
|
-
import * as i4 from "./text-field-is-error.directive";
|
|
6
|
-
import * as i5 from "./text-field-size.directive";
|
|
7
|
-
export declare class CuiTextFieldControllerModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldControllerModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiTextFieldControllerModule, [typeof i1.CuiTextFieldIconLeftDirective, typeof i2.CuiTextFieldIdDirective, typeof i3.CuiTextFieldPlaceholderDirective, typeof i4.CuiTextFieldIsErrorDirective, typeof i5.CuiTextFieldSizeDirective], never, [typeof i1.CuiTextFieldIconLeftDirective, typeof i2.CuiTextFieldIdDirective, typeof i3.CuiTextFieldPlaceholderDirective, typeof i4.CuiTextFieldIsErrorDirective, typeof i5.CuiTextFieldSizeDirective]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CuiTextFieldControllerModule>;
|
|
11
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./text-field-icon-left.directive";
|
|
3
|
+
import * as i2 from "./text-field-id.directive";
|
|
4
|
+
import * as i3 from "./text-field-placeholder.directive";
|
|
5
|
+
import * as i4 from "./text-field-is-error.directive";
|
|
6
|
+
import * as i5 from "./text-field-size.directive";
|
|
7
|
+
export declare class CuiTextFieldControllerModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldControllerModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CuiTextFieldControllerModule, [typeof i1.CuiTextFieldIconLeftDirective, typeof i2.CuiTextFieldIdDirective, typeof i3.CuiTextFieldPlaceholderDirective, typeof i4.CuiTextFieldIsErrorDirective, typeof i5.CuiTextFieldSizeDirective], never, [typeof i1.CuiTextFieldIconLeftDirective, typeof i2.CuiTextFieldIdDirective, typeof i3.CuiTextFieldPlaceholderDirective, typeof i4.CuiTextFieldIsErrorDirective, typeof i5.CuiTextFieldSizeDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CuiTextFieldControllerModule>;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
import { CuiTextFieldController } from './text-field.controller';
|
|
3
|
-
export declare const CUI_TEXT_FIELD_CONTROLLER: InjectionToken<CuiTextFieldController>;
|
|
4
|
-
export declare const CUI_TEXT_FILED_CONTROLLER_PROVIDER: Provider;
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { CuiTextFieldController } from './text-field.controller';
|
|
3
|
+
export declare const CUI_TEXT_FIELD_CONTROLLER: InjectionToken<CuiTextFieldController>;
|
|
4
|
+
export declare const CUI_TEXT_FILED_CONTROLLER_PROVIDER: Provider;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import type { CuiIcon } from '@cuby-ui/icons';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const CUI_TEXT_FIELD_ICON_LEFT: InjectionToken<CuiTextFieldIconLeftDirective>;
|
|
5
|
-
export declare class CuiTextFieldIconLeftDirective {
|
|
6
|
-
iconLeft?: CuiIcon | string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIconLeftDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIconLeftDirective, "[cuiTextFieldIconLeft]", never, { "iconLeft": "cuiTextFieldIconLeft"; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import type { CuiIcon } from '@cuby-ui/icons';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const CUI_TEXT_FIELD_ICON_LEFT: InjectionToken<CuiTextFieldIconLeftDirective>;
|
|
5
|
+
export declare class CuiTextFieldIconLeftDirective {
|
|
6
|
+
iconLeft?: CuiIcon | string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIconLeftDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIconLeftDirective, "[cuiTextFieldIconLeft]", never, { "iconLeft": "cuiTextFieldIconLeft"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const CUI_TEXT_FIELD_ID: InjectionToken<CuiTextFieldIdDirective>;
|
|
4
|
-
export declare class CuiTextFieldIdDirective {
|
|
5
|
-
id?: string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIdDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIdDirective, "[cuiTextFieldId]", never, { "id": "cuiTextFieldId"; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const CUI_TEXT_FIELD_ID: InjectionToken<CuiTextFieldIdDirective>;
|
|
4
|
+
export declare class CuiTextFieldIdDirective {
|
|
5
|
+
id?: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIdDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIdDirective, "[cuiTextFieldId]", never, { "id": "cuiTextFieldId"; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const CUI_TEXT_FIELD_IS_ERROR: InjectionToken<CuiTextFieldIsErrorDirective>;
|
|
4
|
-
export declare class CuiTextFieldIsErrorDirective {
|
|
5
|
-
isError: boolean;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIsErrorDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIsErrorDirective, "[cuiTextFieldIsError]", never, { "isError": "cuiTextFieldIsError"; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const CUI_TEXT_FIELD_IS_ERROR: InjectionToken<CuiTextFieldIsErrorDirective>;
|
|
4
|
+
export declare class CuiTextFieldIsErrorDirective {
|
|
5
|
+
isError: boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIsErrorDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIsErrorDirective, "[cuiTextFieldIsError]", never, { "isError": "cuiTextFieldIsError"; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const CUI_TEXT_FIELD_PLACEHOLDER: InjectionToken<CuiTextFieldPlaceholderDirective>;
|
|
4
|
-
export declare class CuiTextFieldPlaceholderDirective {
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldPlaceholderDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldPlaceholderDirective, "[cuiTextFieldPlaceholder]", never, { "placeholder": "cuiTextFieldPlaceholder"; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const CUI_TEXT_FIELD_PLACEHOLDER: InjectionToken<CuiTextFieldPlaceholderDirective>;
|
|
4
|
+
export declare class CuiTextFieldPlaceholderDirective {
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldPlaceholderDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldPlaceholderDirective, "[cuiTextFieldPlaceholder]", never, { "placeholder": "cuiTextFieldPlaceholder"; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import type { CuiSizeMd, CuiSizeSm } from '../../types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const CUI_TEXT_FIELD_SIZE: InjectionToken<CuiTextFieldSizeDirective>;
|
|
5
|
-
export declare class CuiTextFieldSizeDirective {
|
|
6
|
-
size: CuiSizeSm | CuiSizeMd;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldSizeDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldSizeDirective, "[cuiTextFieldSize]", never, { "size": "cuiTextFieldSize"; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import type { CuiSizeMd, CuiSizeSm } from '../../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const CUI_TEXT_FIELD_SIZE: InjectionToken<CuiTextFieldSizeDirective>;
|
|
5
|
+
export declare class CuiTextFieldSizeDirective {
|
|
6
|
+
size: CuiSizeSm | CuiSizeMd;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldSizeDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldSizeDirective, "[cuiTextFieldSize]", never, { "size": "cuiTextFieldSize"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { CuiIcon } from '@cuby-ui/icons';
|
|
2
|
-
import type { CuiTextFieldSizeDirective } from './text-field-size.directive';
|
|
3
|
-
import type { CuiTextFieldIdDirective } from './text-field-id.directive';
|
|
4
|
-
import type { CuiTextFieldIconLeftDirective } from './text-field-icon-left.directive';
|
|
5
|
-
import type { CuiTextFieldPlaceholderDirective } from './text-field-placeholder.directive';
|
|
6
|
-
import type { CuiTextFieldIsErrorDirective } from './text-field-is-error.directive';
|
|
7
|
-
import type { CuiSizeMd, CuiSizeSm } from '../../types';
|
|
8
|
-
export declare class CuiTextFieldController {
|
|
9
|
-
private readonly iconLeftDirective;
|
|
10
|
-
private readonly idDirective;
|
|
11
|
-
private readonly isErrorDirective;
|
|
12
|
-
private readonly placeholderDirective;
|
|
13
|
-
private readonly sizeDirective;
|
|
14
|
-
constructor(iconLeftDirective: CuiTextFieldIconLeftDirective, idDirective: CuiTextFieldIdDirective, isErrorDirective: CuiTextFieldIsErrorDirective, placeholderDirective: CuiTextFieldPlaceholderDirective, sizeDirective: CuiTextFieldSizeDirective);
|
|
15
|
-
get iconLeft(): CuiIcon | string | undefined;
|
|
16
|
-
get id(): string | undefined;
|
|
17
|
-
get isError(): boolean;
|
|
18
|
-
get placeholder(): string | undefined;
|
|
19
|
-
get size(): CuiSizeSm | CuiSizeMd;
|
|
20
|
-
}
|
|
1
|
+
import type { CuiIcon } from '@cuby-ui/icons';
|
|
2
|
+
import type { CuiTextFieldSizeDirective } from './text-field-size.directive';
|
|
3
|
+
import type { CuiTextFieldIdDirective } from './text-field-id.directive';
|
|
4
|
+
import type { CuiTextFieldIconLeftDirective } from './text-field-icon-left.directive';
|
|
5
|
+
import type { CuiTextFieldPlaceholderDirective } from './text-field-placeholder.directive';
|
|
6
|
+
import type { CuiTextFieldIsErrorDirective } from './text-field-is-error.directive';
|
|
7
|
+
import type { CuiSizeMd, CuiSizeSm } from '../../types';
|
|
8
|
+
export declare class CuiTextFieldController {
|
|
9
|
+
private readonly iconLeftDirective;
|
|
10
|
+
private readonly idDirective;
|
|
11
|
+
private readonly isErrorDirective;
|
|
12
|
+
private readonly placeholderDirective;
|
|
13
|
+
private readonly sizeDirective;
|
|
14
|
+
constructor(iconLeftDirective: CuiTextFieldIconLeftDirective, idDirective: CuiTextFieldIdDirective, isErrorDirective: CuiTextFieldIsErrorDirective, placeholderDirective: CuiTextFieldPlaceholderDirective, sizeDirective: CuiTextFieldSizeDirective);
|
|
15
|
+
get iconLeft(): CuiIcon | string | undefined;
|
|
16
|
+
get id(): string | undefined;
|
|
17
|
+
get isError(): boolean;
|
|
18
|
+
get placeholder(): string | undefined;
|
|
19
|
+
get size(): CuiSizeSm | CuiSizeMd;
|
|
20
|
+
}
|