@cuby-ui/core 0.0.193 → 0.0.194
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/animations/animations.d.ts +36 -36
- package/animations/index.d.ts +1 -1
- package/classes/accessors.d.ts +17 -17
- package/classes/driver.d.ts +16 -16
- package/classes/index.d.ts +3 -3
- package/classes/vehicle.d.ts +6 -6
- 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 +16 -16
- 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 +38 -38
- 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 +33 -33
- package/components/dialog/dialog.interfaces.d.ts +11 -11
- 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 +18 -18
- 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 +26 -26
- package/components/input-number/index.d.ts +2 -2
- package/components/input-number/input-number.component.d.ts +38 -38
- package/components/input-number/input-number.module.d.ts +12 -12
- 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/input-time/index.d.ts +3 -3
- package/components/input-time/input-time.component.d.ts +36 -36
- package/components/input-time/input-time.module.d.ts +12 -12
- package/components/input-time/input-time.options.d.ts +7 -7
- 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 +18 -18
- package/components/notification/notification.module.d.ts +9 -9
- package/components/notification/notification.options.d.ts +17 -17
- 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 +11 -11
- package/components/root/root.options.d.ts +1 -1
- package/components/select/index.d.ts +2 -2
- package/components/select/select.component.d.ts +53 -53
- package/components/select/select.module.d.ts +11 -11
- 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 +2 -2
- 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/directives/tooltip/index.d.ts +16 -16
- package/directives/tooltip/tooltip-describe.directive.d.ts +16 -16
- package/directives/tooltip/tooltip-driver.directive.d.ts +7 -7
- package/directives/tooltip/tooltip-host.directive.d.ts +9 -9
- package/directives/tooltip/tooltip-hover.directive.d.ts +21 -21
- package/directives/tooltip/tooltip-manual.directive.d.ts +13 -13
- package/directives/tooltip/tooltip-options.directive.d.ts +36 -36
- package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -8
- package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -10
- package/directives/tooltip/tooltip-position.directive.d.ts +20 -20
- package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -17
- package/directives/tooltip/tooltip.component.d.ts +33 -33
- package/directives/tooltip/tooltip.d.ts +13 -13
- package/directives/tooltip/tooltip.directive.d.ts +26 -26
- package/directives/tooltip/tooltip.providers.d.ts +5 -5
- package/directives/tooltip/tooltip.service.d.ts +13 -13
- package/directives/tooltip/tooltips.component.d.ts +12 -12
- package/esm2022/animations/animations.mjs +272 -272
- package/esm2022/animations/index.mjs +1 -1
- package/esm2022/classes/accessors.mjs +31 -31
- package/esm2022/classes/driver.mjs +35 -35
- package/esm2022/classes/index.mjs +4 -4
- package/esm2022/classes/vehicle.mjs +7 -7
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
- package/esm2022/components/accordion/accordion.component.mjs +11 -11
- package/esm2022/components/accordion/accordion.module.mjs +37 -37
- package/esm2022/components/accordion/index.mjs +4 -4
- package/esm2022/components/alert/alert.component.mjs +36 -36
- package/esm2022/components/alert/alert.interfaces.mjs +2 -2
- package/esm2022/components/alert/alert.module.mjs +40 -40
- package/esm2022/components/alert/alert.service.mjs +17 -17
- package/esm2022/components/alert/alert.tokens.mjs +20 -20
- package/esm2022/components/alert/alert.types.mjs +2 -2
- package/esm2022/components/alert/alerts.component.mjs +36 -36
- package/esm2022/components/alert/index.mjs +9 -9
- package/esm2022/components/badge/badge.component.mjs +31 -31
- package/esm2022/components/badge/badge.module.mjs +18 -18
- package/esm2022/components/badge/badge.options.mjs +8 -8
- package/esm2022/components/badge/index.mjs +3 -3
- package/esm2022/components/banner/banner.component.mjs +68 -68
- package/esm2022/components/banner/banner.module.mjs +31 -31
- package/esm2022/components/banner/banner.options.mjs +6 -6
- package/esm2022/components/banner/index.mjs +4 -4
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
- package/esm2022/components/breadcrumbs/index.mjs +4 -4
- package/esm2022/components/button/button.component.mjs +138 -138
- package/esm2022/components/button/button.module.mjs +24 -24
- package/esm2022/components/button/button.options.mjs +10 -10
- package/esm2022/components/button/index.mjs +4 -4
- package/esm2022/components/button-group/button-group.component.mjs +11 -11
- package/esm2022/components/button-group/button-group.module.mjs +16 -16
- package/esm2022/components/button-group/index.mjs +3 -3
- package/esm2022/components/checkbox/checkbox.component.mjs +11 -11
- package/esm2022/components/checkbox/checkbox.module.mjs +16 -16
- package/esm2022/components/checkbox/index.mjs +3 -3
- package/esm2022/components/context-menu/context-menu.component.mjs +148 -146
- package/esm2022/components/context-menu/context-menu.module.mjs +24 -24
- package/esm2022/components/context-menu/index.mjs +3 -3
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
- package/esm2022/components/dialog/dialog.component.mjs +67 -67
- package/esm2022/components/dialog/dialog.interfaces.mjs +2 -2
- package/esm2022/components/dialog/dialog.module.mjs +49 -49
- package/esm2022/components/dialog/dialog.service.mjs +17 -17
- package/esm2022/components/dialog/dialog.tokens.mjs +12 -12
- package/esm2022/components/dialog/dialogs.component.mjs +51 -51
- package/esm2022/components/dialog/index.mjs +9 -9
- package/esm2022/components/form-field/form-field.component.mjs +11 -11
- package/esm2022/components/form-field/form-field.module.mjs +16 -16
- package/esm2022/components/form-field/index.mjs +3 -3
- package/esm2022/components/hint/hint.component.mjs +19 -19
- package/esm2022/components/hint/hint.module.mjs +16 -16
- package/esm2022/components/hint/index.mjs +3 -3
- package/esm2022/components/icon-button/icon-button.component.mjs +32 -32
- package/esm2022/components/icon-button/icon-button.module.mjs +24 -24
- package/esm2022/components/icon-button/index.mjs +3 -3
- package/esm2022/components/index.mjs +27 -27
- package/esm2022/components/input-number/index.mjs +3 -3
- package/esm2022/components/input-number/input-number.component.mjs +113 -113
- package/esm2022/components/input-number/input-number.module.mjs +36 -36
- package/esm2022/components/input-password/index.mjs +3 -3
- package/esm2022/components/input-password/input-password.component.mjs +89 -89
- package/esm2022/components/input-password/input-password.module.mjs +33 -33
- package/esm2022/components/input-text/index.mjs +3 -3
- package/esm2022/components/input-text/input-text.component.mjs +87 -87
- package/esm2022/components/input-text/input-text.module.mjs +33 -33
- package/esm2022/components/input-time/index.mjs +4 -4
- package/esm2022/components/input-time/input-time.component.mjs +99 -99
- package/esm2022/components/input-time/input-time.module.mjs +36 -36
- package/esm2022/components/input-time/input-time.options.mjs +8 -8
- package/esm2022/components/label/index.mjs +3 -3
- package/esm2022/components/label/label.component.mjs +17 -17
- package/esm2022/components/label/label.module.mjs +18 -18
- package/esm2022/components/notification/index.mjs +4 -4
- package/esm2022/components/notification/notification.component.mjs +47 -47
- package/esm2022/components/notification/notification.module.mjs +24 -24
- package/esm2022/components/notification/notification.options.mjs +53 -53
- package/esm2022/components/radio/index.mjs +3 -3
- package/esm2022/components/radio/radio.component.mjs +11 -11
- package/esm2022/components/radio/radio.module.mjs +16 -16
- package/esm2022/components/root/index.mjs +4 -4
- package/esm2022/components/root/root.component.mjs +32 -32
- package/esm2022/components/root/root.module.mjs +31 -31
- package/esm2022/components/root/root.options.mjs +1 -1
- package/esm2022/components/select/index.mjs +3 -3
- package/esm2022/components/select/select.component.mjs +172 -172
- package/esm2022/components/select/select.module.mjs +32 -32
- package/esm2022/components/svg/index.mjs +3 -3
- package/esm2022/components/svg/svg.component.mjs +50 -50
- package/esm2022/components/svg/svg.module.mjs +18 -18
- package/esm2022/components/tabs/index.mjs +4 -4
- package/esm2022/components/tabs/tab/index.mjs +1 -1
- package/esm2022/components/tabs/tab/tab.component.mjs +21 -21
- package/esm2022/components/tabs/tabs.component.mjs +49 -49
- package/esm2022/components/tabs/tabs.module.mjs +18 -18
- package/esm2022/components/textarea/index.mjs +3 -3
- package/esm2022/components/textarea/textarea.component.mjs +35 -35
- package/esm2022/components/textarea/textarea.module.mjs +16 -16
- package/esm2022/components/toggle/index.mjs +3 -3
- package/esm2022/components/toggle/toggle.component.mjs +11 -11
- package/esm2022/components/toggle/toggle.module.mjs +16 -16
- package/esm2022/cuby-ui-core.mjs +4 -4
- package/esm2022/directives/index.mjs +3 -3
- package/esm2022/directives/text-field-controller/index.mjs +9 -9
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +40 -40
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
- package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
- package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +21 -21
- package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
- package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
- package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +24 -24
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +25 -25
- package/esm2022/directives/tooltip/index.mjs +17 -17
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +45 -45
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -18
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -26
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +53 -53
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -31
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -83
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -31
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -31
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -96
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -40
- package/esm2022/directives/tooltip/tooltip.component.mjs +110 -110
- package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -92
- package/esm2022/directives/tooltip/tooltip.mjs +27 -27
- package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -7
- package/esm2022/directives/tooltip/tooltip.service.mjs +28 -28
- package/esm2022/directives/tooltip/tooltips.component.mjs +33 -33
- package/esm2022/index.mjs +7 -7
- package/esm2022/interfaces/context-menu-item.mjs +2 -2
- package/esm2022/interfaces/index.mjs +3 -3
- package/esm2022/interfaces/option.mjs +2 -2
- package/esm2022/services/index.mjs +5 -5
- package/esm2022/services/position.service.mjs +23 -23
- package/esm2022/services/theme.options.mjs +6 -6
- package/esm2022/services/theme.service.mjs +30 -30
- package/esm2022/services/visual-viewport.service.mjs +28 -28
- package/esm2022/tokens/animations-speed.mjs +8 -8
- package/esm2022/tokens/index.mjs +4 -4
- package/esm2022/tokens/reduced-motion.mjs +6 -6
- package/esm2022/tokens/viewport.mjs +31 -31
- package/esm2022/types/appearance.mjs +2 -2
- package/esm2022/types/hint-type.mjs +2 -2
- package/esm2022/types/index.mjs +10 -10
- package/esm2022/types/point.mjs +2 -2
- package/esm2022/types/portal-item.mjs +2 -2
- package/esm2022/types/position.mjs +2 -2
- package/esm2022/types/resizing.mjs +2 -2
- package/esm2022/types/shape.mjs +2 -2
- package/esm2022/types/size.mjs +2 -2
- package/esm2022/types/status.mjs +2 -2
- package/esm2022/utils/format/index.mjs +3 -3
- package/esm2022/utils/format/remove-spaces.mjs +4 -4
- package/esm2022/utils/format/replace.mjs +5 -5
- package/esm2022/utils/index.mjs +3 -3
- package/esm2022/utils/miscellaneous/index.mjs +4 -4
- package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -8
- package/esm2022/utils/miscellaneous/override-options.mjs +11 -11
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -14
- package/fesm2022/cuby-ui-core.mjs +3195 -3193
- package/fesm2022/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 +4 -4
- package/services/position.service.d.ts +10 -10
- package/services/theme.options.d.ts +5 -5
- package/services/theme.service.d.ts +12 -12
- package/services/visual-viewport.service.d.ts +9 -9
- 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 +385 -385
- package/styles/variables/colors.scss +253 -253
- package/tokens/animations-speed.d.ts +4 -4
- package/tokens/index.d.ts +3 -3
- package/tokens/reduced-motion.d.ts +1 -1
- package/tokens/viewport.d.ts +7 -7
- package/types/appearance.d.ts +8 -8
- package/types/hint-type.d.ts +1 -1
- package/types/index.d.ts +9 -9
- package/types/point.d.ts +1 -1
- package/types/portal-item.d.ts +9 -9
- 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 +2 -2
- package/utils/miscellaneous/index.d.ts +3 -3
- package/utils/miscellaneous/is-obscured.d.ts +4 -4
- package/utils/miscellaneous/override-options.d.ts +1 -1
- package/utils/miscellaneous/to-animation-options.d.ts +4 -4
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
import { MaskitoDirective } from '@maskito/angular';
|
|
5
|
-
import { CuiInputNumberComponent } from './input-number.component';
|
|
6
|
-
import { CuiSvgModule } from '../svg';
|
|
7
|
-
import { CuiTextFieldControllerModule } from '../../directives';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export class CuiInputNumberModule {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiInputNumberModule, declarations: [CuiInputNumberComponent], imports: [CommonModule,
|
|
12
|
-
FormsModule,
|
|
13
|
-
MaskitoDirective,
|
|
14
|
-
CuiSvgModule], exports: [CuiInputNumberComponent,
|
|
15
|
-
CuiTextFieldControllerModule] }); }
|
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputNumberModule, imports: [CommonModule,
|
|
17
|
-
FormsModule,
|
|
18
|
-
CuiSvgModule, CuiTextFieldControllerModule] }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputNumberModule, decorators: [{
|
|
21
|
-
type: NgModule,
|
|
22
|
-
args: [{
|
|
23
|
-
imports: [
|
|
24
|
-
CommonModule,
|
|
25
|
-
FormsModule,
|
|
26
|
-
MaskitoDirective,
|
|
27
|
-
CuiSvgModule,
|
|
28
|
-
],
|
|
29
|
-
declarations: [CuiInputNumberComponent],
|
|
30
|
-
exports: [
|
|
31
|
-
CuiInputNumberComponent,
|
|
32
|
-
CuiTextFieldControllerModule
|
|
33
|
-
]
|
|
34
|
-
}]
|
|
35
|
-
}] });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { MaskitoDirective } from '@maskito/angular';
|
|
5
|
+
import { CuiInputNumberComponent } from './input-number.component';
|
|
6
|
+
import { CuiSvgModule } from '../svg';
|
|
7
|
+
import { CuiTextFieldControllerModule } from '../../directives';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class CuiInputNumberModule {
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiInputNumberModule, declarations: [CuiInputNumberComponent], imports: [CommonModule,
|
|
12
|
+
FormsModule,
|
|
13
|
+
MaskitoDirective,
|
|
14
|
+
CuiSvgModule], exports: [CuiInputNumberComponent,
|
|
15
|
+
CuiTextFieldControllerModule] }); }
|
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputNumberModule, imports: [CommonModule,
|
|
17
|
+
FormsModule,
|
|
18
|
+
CuiSvgModule, CuiTextFieldControllerModule] }); }
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputNumberModule, decorators: [{
|
|
21
|
+
type: NgModule,
|
|
22
|
+
args: [{
|
|
23
|
+
imports: [
|
|
24
|
+
CommonModule,
|
|
25
|
+
FormsModule,
|
|
26
|
+
MaskitoDirective,
|
|
27
|
+
CuiSvgModule,
|
|
28
|
+
],
|
|
29
|
+
declarations: [CuiInputNumberComponent],
|
|
30
|
+
exports: [
|
|
31
|
+
CuiInputNumberComponent,
|
|
32
|
+
CuiTextFieldControllerModule
|
|
33
|
+
]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clxufSlcclxuZXhwb3J0IGNsYXNzIEN1aUlucHV0TnVtYmVyTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './input-password.component';
|
|
2
|
-
export * from './input-password.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './input-password.component';
|
|
2
|
+
export * from './input-password.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvaW5wdXQtcGFzc3dvcmQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pbnB1dC1wYXNzd29yZC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2lucHV0LXBhc3N3b3JkLm1vZHVsZSc7XHJcbiJdfQ==
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, inject } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { cuiProvide } from '@cuby-ui/cdk';
|
|
4
|
-
import { CUI_TEXT_FIELD_CONTROLLER, CUI_TEXT_FILED_CONTROLLER_PROVIDER } from '../../directives';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
import * as i3 from "../svg/svg.component";
|
|
9
|
-
export class CuiInputPasswordComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.changeDetectorRef = inject(ChangeDetectorRef);
|
|
12
|
-
this.cuiTextFieldController = inject(CUI_TEXT_FIELD_CONTROLLER);
|
|
13
|
-
this.isPasswordHidden = true;
|
|
14
|
-
}
|
|
15
|
-
get id() {
|
|
16
|
-
return this.cuiTextFieldController.id;
|
|
17
|
-
}
|
|
18
|
-
get placeholder() {
|
|
19
|
-
return this.cuiTextFieldController.placeholder;
|
|
20
|
-
}
|
|
21
|
-
get iconLeft() {
|
|
22
|
-
return this.cuiTextFieldController.iconLeft;
|
|
23
|
-
}
|
|
24
|
-
get isToggleButtonShown() {
|
|
25
|
-
return !this.isDisabled;
|
|
26
|
-
}
|
|
27
|
-
get icon() {
|
|
28
|
-
return this.isPasswordHidden ? 'cuiIconEye' : 'cuiIconEyeOff';
|
|
29
|
-
}
|
|
30
|
-
get type() {
|
|
31
|
-
return this.isPasswordHidden ? 'password' : 'text';
|
|
32
|
-
}
|
|
33
|
-
get buttonTitle() {
|
|
34
|
-
return this.isPasswordHidden ? 'Reveal password' : 'Hide password';
|
|
35
|
-
}
|
|
36
|
-
get size() {
|
|
37
|
-
return this.cuiTextFieldController.size;
|
|
38
|
-
}
|
|
39
|
-
get isError() {
|
|
40
|
-
return this.cuiTextFieldController.isError;
|
|
41
|
-
}
|
|
42
|
-
writeValue(value) {
|
|
43
|
-
this.value = value;
|
|
44
|
-
this.changeDetectorRef.markForCheck();
|
|
45
|
-
}
|
|
46
|
-
registerOnChange(fn) {
|
|
47
|
-
this.onChange = fn;
|
|
48
|
-
}
|
|
49
|
-
registerOnTouched(fn) {
|
|
50
|
-
this.onTouched = fn;
|
|
51
|
-
}
|
|
52
|
-
setDisabledState(isDisabled) {
|
|
53
|
-
this.isDisabled = isDisabled;
|
|
54
|
-
if (this.isDisabled) {
|
|
55
|
-
this.isPasswordHidden = true;
|
|
56
|
-
}
|
|
57
|
-
this.changeDetectorRef.markForCheck();
|
|
58
|
-
}
|
|
59
|
-
onInput({ target }) {
|
|
60
|
-
const value = target.value;
|
|
61
|
-
this.value = value;
|
|
62
|
-
this.onChange(value);
|
|
63
|
-
}
|
|
64
|
-
onTogglePasswordVisibility() {
|
|
65
|
-
this.isPasswordHidden = !this.isPasswordHidden;
|
|
66
|
-
}
|
|
67
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
68
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiInputPasswordComponent, selector: "cui-input-password", host: { properties: { "class._disabled": "this.isDisabled", "attr.data-size": "this.size", "class._with-error": "this.isError" } }, providers: [
|
|
69
|
-
CUI_TEXT_FILED_CONTROLLER_PROVIDER,
|
|
70
|
-
cuiProvide(NG_VALUE_ACCESSOR, CuiInputPasswordComponent, true)
|
|
71
|
-
], ngImport: i0, template: "<cui-svg\n *ngIf=\"iconLeft\"\n [icon]=\"iconLeft\"\n color=\"var(--cui-base-500)\"\n></cui-svg>\n<input\n [ngModel]=\"value\"\n [attr.id]=\"id\"\n [attr.placeholder]=\"placeholder\"\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n class=\"c-input\"\n (input)=\"onInput($event)\"\n (focus)=\"onTouched()\"\n>\n<button\n *ngIf=\"isToggleButtonShown\"\n [title]=\"buttonTitle\"\n class=\"c-button\"\n (click)=\"onTogglePasswordVisibility()\"\n>\n <cui-svg\n [icon]=\"icon\"\n [width]=\"16\"\n [height]=\"16\"\n color=\"var(--cui-base-500)\"\n ></cui-svg>\n</button>\n", styles: [":host{padding-right:13px;padding-left:13px;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;gap:8px;border:1px solid var(--cui-base-200);border-radius:8px;cursor:text;background:var(--cui-input);color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus-within{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host[data-size=sm]{padding-top:7px;padding-bottom:7px}:host[data-size=md]{padding-top:8px;padding-bottom:8px}:host._disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus-within{box-shadow:0 0 0 2px #d92d2040}.c-input{padding:0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;background:none;color:inherit;font:inherit;line-height:inherit;width:100%}.c-input:disabled{cursor:not-allowed}.c-input::placeholder{color:var(--cui-base-400)}.c-button{padding:0;border:0;flex-shrink:0;outline:none;cursor:pointer;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;display:flex}.c-input::-ms-reveal{display:none}.c-input[type=password]{color:var(--cui-base-400)}.c-button{padding:0;border:0;flex-shrink:0;outline:none;cursor:pointer;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
72
|
-
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordComponent, decorators: [{
|
|
74
|
-
type: Component,
|
|
75
|
-
args: [{ selector: 'cui-input-password', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
76
|
-
CUI_TEXT_FILED_CONTROLLER_PROVIDER,
|
|
77
|
-
cuiProvide(NG_VALUE_ACCESSOR, CuiInputPasswordComponent, true)
|
|
78
|
-
], template: "<cui-svg\n *ngIf=\"iconLeft\"\n [icon]=\"iconLeft\"\n color=\"var(--cui-base-500)\"\n></cui-svg>\n<input\n [ngModel]=\"value\"\n [attr.id]=\"id\"\n [attr.placeholder]=\"placeholder\"\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n class=\"c-input\"\n (input)=\"onInput($event)\"\n (focus)=\"onTouched()\"\n>\n<button\n *ngIf=\"isToggleButtonShown\"\n [title]=\"buttonTitle\"\n class=\"c-button\"\n (click)=\"onTogglePasswordVisibility()\"\n>\n <cui-svg\n [icon]=\"icon\"\n [width]=\"16\"\n [height]=\"16\"\n color=\"var(--cui-base-500)\"\n ></cui-svg>\n</button>\n", styles: [":host{padding-right:13px;padding-left:13px;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;gap:8px;border:1px solid var(--cui-base-200);border-radius:8px;cursor:text;background:var(--cui-input);color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus-within{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host[data-size=sm]{padding-top:7px;padding-bottom:7px}:host[data-size=md]{padding-top:8px;padding-bottom:8px}:host._disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus-within{box-shadow:0 0 0 2px #d92d2040}.c-input{padding:0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;background:none;color:inherit;font:inherit;line-height:inherit;width:100%}.c-input:disabled{cursor:not-allowed}.c-input::placeholder{color:var(--cui-base-400)}.c-button{padding:0;border:0;flex-shrink:0;outline:none;cursor:pointer;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;display:flex}.c-input::-ms-reveal{display:none}.c-input[type=password]{color:var(--cui-base-400)}.c-button{padding:0;border:0;flex-shrink:0;outline:none;cursor:pointer;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}\n"] }]
|
|
79
|
-
}], propDecorators: { isDisabled: [{
|
|
80
|
-
type: HostBinding,
|
|
81
|
-
args: ['class._disabled']
|
|
82
|
-
}], size: [{
|
|
83
|
-
type: HostBinding,
|
|
84
|
-
args: ['attr.data-size']
|
|
85
|
-
}], isError: [{
|
|
86
|
-
type: HostBinding,
|
|
87
|
-
args: ['class._with-error']
|
|
88
|
-
}] } });
|
|
89
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, inject } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { cuiProvide } from '@cuby-ui/cdk';
|
|
4
|
+
import { CUI_TEXT_FIELD_CONTROLLER, CUI_TEXT_FILED_CONTROLLER_PROVIDER } from '../../directives';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/forms";
|
|
8
|
+
import * as i3 from "../svg/svg.component";
|
|
9
|
+
export class CuiInputPasswordComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.changeDetectorRef = inject(ChangeDetectorRef);
|
|
12
|
+
this.cuiTextFieldController = inject(CUI_TEXT_FIELD_CONTROLLER);
|
|
13
|
+
this.isPasswordHidden = true;
|
|
14
|
+
}
|
|
15
|
+
get id() {
|
|
16
|
+
return this.cuiTextFieldController.id;
|
|
17
|
+
}
|
|
18
|
+
get placeholder() {
|
|
19
|
+
return this.cuiTextFieldController.placeholder;
|
|
20
|
+
}
|
|
21
|
+
get iconLeft() {
|
|
22
|
+
return this.cuiTextFieldController.iconLeft;
|
|
23
|
+
}
|
|
24
|
+
get isToggleButtonShown() {
|
|
25
|
+
return !this.isDisabled;
|
|
26
|
+
}
|
|
27
|
+
get icon() {
|
|
28
|
+
return this.isPasswordHidden ? 'cuiIconEye' : 'cuiIconEyeOff';
|
|
29
|
+
}
|
|
30
|
+
get type() {
|
|
31
|
+
return this.isPasswordHidden ? 'password' : 'text';
|
|
32
|
+
}
|
|
33
|
+
get buttonTitle() {
|
|
34
|
+
return this.isPasswordHidden ? 'Reveal password' : 'Hide password';
|
|
35
|
+
}
|
|
36
|
+
get size() {
|
|
37
|
+
return this.cuiTextFieldController.size;
|
|
38
|
+
}
|
|
39
|
+
get isError() {
|
|
40
|
+
return this.cuiTextFieldController.isError;
|
|
41
|
+
}
|
|
42
|
+
writeValue(value) {
|
|
43
|
+
this.value = value;
|
|
44
|
+
this.changeDetectorRef.markForCheck();
|
|
45
|
+
}
|
|
46
|
+
registerOnChange(fn) {
|
|
47
|
+
this.onChange = fn;
|
|
48
|
+
}
|
|
49
|
+
registerOnTouched(fn) {
|
|
50
|
+
this.onTouched = fn;
|
|
51
|
+
}
|
|
52
|
+
setDisabledState(isDisabled) {
|
|
53
|
+
this.isDisabled = isDisabled;
|
|
54
|
+
if (this.isDisabled) {
|
|
55
|
+
this.isPasswordHidden = true;
|
|
56
|
+
}
|
|
57
|
+
this.changeDetectorRef.markForCheck();
|
|
58
|
+
}
|
|
59
|
+
onInput({ target }) {
|
|
60
|
+
const value = target.value;
|
|
61
|
+
this.value = value;
|
|
62
|
+
this.onChange(value);
|
|
63
|
+
}
|
|
64
|
+
onTogglePasswordVisibility() {
|
|
65
|
+
this.isPasswordHidden = !this.isPasswordHidden;
|
|
66
|
+
}
|
|
67
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
68
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiInputPasswordComponent, selector: "cui-input-password", host: { properties: { "class._disabled": "this.isDisabled", "attr.data-size": "this.size", "class._with-error": "this.isError" } }, providers: [
|
|
69
|
+
CUI_TEXT_FILED_CONTROLLER_PROVIDER,
|
|
70
|
+
cuiProvide(NG_VALUE_ACCESSOR, CuiInputPasswordComponent, true)
|
|
71
|
+
], ngImport: i0, template: "<cui-svg\r\n *ngIf=\"iconLeft\"\r\n [icon]=\"iconLeft\"\r\n color=\"var(--cui-base-500)\"\r\n></cui-svg>\r\n<input\r\n [ngModel]=\"value\"\r\n [attr.id]=\"id\"\r\n [attr.placeholder]=\"placeholder\"\r\n [type]=\"type\"\r\n [disabled]=\"isDisabled\"\r\n class=\"c-input\"\r\n (input)=\"onInput($event)\"\r\n (focus)=\"onTouched()\"\r\n>\r\n<button\r\n *ngIf=\"isToggleButtonShown\"\r\n [title]=\"buttonTitle\"\r\n class=\"c-button\"\r\n (click)=\"onTogglePasswordVisibility()\"\r\n>\r\n <cui-svg\r\n [icon]=\"icon\"\r\n [width]=\"16\"\r\n [height]=\"16\"\r\n color=\"var(--cui-base-500)\"\r\n ></cui-svg>\r\n</button>\r\n", styles: [":host{padding-right:13px;padding-left:13px;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;gap:8px;border:1px solid var(--cui-base-200);border-radius:8px;cursor:text;background:var(--cui-input);color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus-within{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host[data-size=sm]{padding-top:7px;padding-bottom:7px}:host[data-size=md]{padding-top:8px;padding-bottom:8px}:host._disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus-within{box-shadow:0 0 0 2px #d92d2040}.c-input{padding:0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;background:none;color:inherit;font:inherit;line-height:inherit;width:100%}.c-input:disabled{cursor:not-allowed}.c-input::placeholder{color:var(--cui-base-400)}.c-button{padding:0;border:0;flex-shrink:0;outline:none;cursor:pointer;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;display:flex}.c-input::-ms-reveal{display:none}.c-input[type=password]{color:var(--cui-base-400)}.c-button{padding:0;border:0;flex-shrink:0;outline:none;cursor:pointer;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordComponent, decorators: [{
|
|
74
|
+
type: Component,
|
|
75
|
+
args: [{ selector: 'cui-input-password', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
76
|
+
CUI_TEXT_FILED_CONTROLLER_PROVIDER,
|
|
77
|
+
cuiProvide(NG_VALUE_ACCESSOR, CuiInputPasswordComponent, true)
|
|
78
|
+
], template: "<cui-svg\r\n *ngIf=\"iconLeft\"\r\n [icon]=\"iconLeft\"\r\n color=\"var(--cui-base-500)\"\r\n></cui-svg>\r\n<input\r\n [ngModel]=\"value\"\r\n [attr.id]=\"id\"\r\n [attr.placeholder]=\"placeholder\"\r\n [type]=\"type\"\r\n [disabled]=\"isDisabled\"\r\n class=\"c-input\"\r\n (input)=\"onInput($event)\"\r\n (focus)=\"onTouched()\"\r\n>\r\n<button\r\n *ngIf=\"isToggleButtonShown\"\r\n [title]=\"buttonTitle\"\r\n class=\"c-button\"\r\n (click)=\"onTogglePasswordVisibility()\"\r\n>\r\n <cui-svg\r\n [icon]=\"icon\"\r\n [width]=\"16\"\r\n [height]=\"16\"\r\n color=\"var(--cui-base-500)\"\r\n ></cui-svg>\r\n</button>\r\n", styles: [":host{padding-right:13px;padding-left:13px;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;gap:8px;border:1px solid var(--cui-base-200);border-radius:8px;cursor:text;background:var(--cui-input);color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus-within{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host[data-size=sm]{padding-top:7px;padding-bottom:7px}:host[data-size=md]{padding-top:8px;padding-bottom:8px}:host._disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus-within{box-shadow:0 0 0 2px #d92d2040}.c-input{padding:0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;background:none;color:inherit;font:inherit;line-height:inherit;width:100%}.c-input:disabled{cursor:not-allowed}.c-input::placeholder{color:var(--cui-base-400)}.c-button{padding:0;border:0;flex-shrink:0;outline:none;cursor:pointer;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;display:flex}.c-input::-ms-reveal{display:none}.c-input[type=password]{color:var(--cui-base-400)}.c-button{padding:0;border:0;flex-shrink:0;outline:none;cursor:pointer;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}\n"] }]
|
|
79
|
+
}], propDecorators: { isDisabled: [{
|
|
80
|
+
type: HostBinding,
|
|
81
|
+
args: ['class._disabled']
|
|
82
|
+
}], size: [{
|
|
83
|
+
type: HostBinding,
|
|
84
|
+
args: ['attr.data-size']
|
|
85
|
+
}], isError: [{
|
|
86
|
+
type: HostBinding,
|
|
87
|
+
args: ['class._with-error']
|
|
88
|
+
}] } });
|
|
89
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGFzc3dvcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2lucHV0LXBhc3N3b3JkL2lucHV0LXBhc3N3b3JkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9pbnB1dC1wYXNzd29yZC9pbnB1dC1wYXNzd29yZC50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxXQUFXLEVBQ1gsTUFBTSxFQUNQLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRW5ELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFHMUMsT0FBTyxFQUFFLHlCQUF5QixFQUFFLGtDQUFrQyxFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7O0FBYWpHLE1BQU0sT0FBTyx5QkFBeUI7SUFWdEM7UUFXbUIsc0JBQWlCLEdBQUcsTUFBTSxDQUFDLGlCQUFpQixDQUFDLENBQUM7UUFDOUMsMkJBQXNCL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9uXHJcbiAgKm5nSWY9XCJpc1RvZ2dsZUJ1dHRvblNob3duXCJcclxuICBbdGl0bGVdPVwiYnV0dG9uVGl0bGVcIlxyXG4gIGNsYXNzPVwiYy1idXR0b25cIlxyXG4gIChjbGljayk9XCJvblRvZ2dsZVBhc3N3b3JkVmlzaWJpbGl0eSgpXCJcclxuPlxyXG4gIDxjdWktc3ZnXHJcbiAgICBbaWNvbl09XCJpY29uXCJcclxuICAgIFt3aWR0aF09XCIxNlwiXHJcbiAgICBbaGVpZ2h0XT1cIjE2XCJcclxuICAgIGNvbG9yPVwidmFyKC0tY3VpLWJhc2UtNTAwKVwiXHJcbiAgPjwvY3VpLXN2Zz5cclxuPC9idXR0b24+XHJcbiJdfQ==
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
import { CuiInputPasswordComponent } from './input-password.component';
|
|
5
|
-
import { CuiSvgModule } from '../svg';
|
|
6
|
-
import { CuiTextFieldControllerModule } from '../../directives';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class CuiInputPasswordModule {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordModule, declarations: [CuiInputPasswordComponent], imports: [CommonModule,
|
|
11
|
-
FormsModule,
|
|
12
|
-
CuiSvgModule], exports: [CuiInputPasswordComponent,
|
|
13
|
-
CuiTextFieldControllerModule] }); }
|
|
14
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordModule, imports: [CommonModule,
|
|
15
|
-
FormsModule,
|
|
16
|
-
CuiSvgModule, CuiTextFieldControllerModule] }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
imports: [
|
|
22
|
-
CommonModule,
|
|
23
|
-
FormsModule,
|
|
24
|
-
CuiSvgModule
|
|
25
|
-
],
|
|
26
|
-
declarations: [CuiInputPasswordComponent],
|
|
27
|
-
exports: [
|
|
28
|
-
CuiInputPasswordComponent,
|
|
29
|
-
CuiTextFieldControllerModule
|
|
30
|
-
]
|
|
31
|
-
}]
|
|
32
|
-
}] });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { CuiInputPasswordComponent } from './input-password.component';
|
|
5
|
+
import { CuiSvgModule } from '../svg';
|
|
6
|
+
import { CuiTextFieldControllerModule } from '../../directives';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CuiInputPasswordModule {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordModule, declarations: [CuiInputPasswordComponent], imports: [CommonModule,
|
|
11
|
+
FormsModule,
|
|
12
|
+
CuiSvgModule], exports: [CuiInputPasswordComponent,
|
|
13
|
+
CuiTextFieldControllerModule] }); }
|
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordModule, imports: [CommonModule,
|
|
15
|
+
FormsModule,
|
|
16
|
+
CuiSvgModule, CuiTextFieldControllerModule] }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiInputPasswordModule, decorators: [{
|
|
19
|
+
type: NgModule,
|
|
20
|
+
args: [{
|
|
21
|
+
imports: [
|
|
22
|
+
CommonModule,
|
|
23
|
+
FormsModule,
|
|
24
|
+
CuiSvgModule
|
|
25
|
+
],
|
|
26
|
+
declarations: [CuiInputPasswordComponent],
|
|
27
|
+
exports: [
|
|
28
|
+
CuiInputPasswordComponent,
|
|
29
|
+
CuiTextFieldControllerModule
|
|
30
|
+
]
|
|
31
|
+
}]
|
|
32
|
+
}] });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGFzc3dvcmQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2lucHV0LXBhc3N3b3JkL2lucHV0LXBhc3N3b3JkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFN0MsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDdkUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUN0QyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7QUFjaEUsT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VsZVxyXG4gIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbQ3VpSW5wdXRQYXNzd29yZENvbXBvbmVudF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgQ3VpSW5wdXRQYXNzd29yZENvbXBvbmVudCxcclxuICAgIEN1aVRleHRGaWVsZENvbnRyb2xsZXJNb2R1bGVcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDdWlJbnB1dFBhc3N3b3JkTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './input-text.component';
|
|
2
|
-
export * from './input-text.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './input-text.component';
|
|
2
|
+
export * from './input-text.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvaW5wdXQtdGV4dC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LXRleHQuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9pbnB1dC10ZXh0Lm1vZHVsZSc7XHJcbiJdfQ==
|