@cuby-ui/core 0.0.194 → 0.0.195
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/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 +271 -271
- package/esm2022/animations/index.mjs +1 -1
- package/esm2022/classes/accessors.mjs +30 -30
- package/esm2022/classes/driver.mjs +34 -34
- package/esm2022/classes/index.mjs +3 -3
- package/esm2022/classes/vehicle.mjs +6 -6
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +27 -27
- package/esm2022/components/accordion/accordion.component.mjs +10 -10
- package/esm2022/components/accordion/accordion.module.mjs +36 -36
- package/esm2022/components/accordion/index.mjs +3 -3
- package/esm2022/components/alert/alert.component.mjs +35 -35
- package/esm2022/components/alert/alert.interfaces.mjs +1 -1
- package/esm2022/components/alert/alert.module.mjs +39 -39
- package/esm2022/components/alert/alert.service.mjs +16 -16
- package/esm2022/components/alert/alert.tokens.mjs +19 -19
- package/esm2022/components/alert/alert.types.mjs +1 -1
- package/esm2022/components/alert/alerts.component.mjs +35 -35
- package/esm2022/components/alert/index.mjs +8 -8
- package/esm2022/components/badge/badge.component.mjs +30 -30
- package/esm2022/components/badge/badge.module.mjs +17 -17
- package/esm2022/components/badge/badge.options.mjs +7 -7
- package/esm2022/components/badge/index.mjs +2 -2
- package/esm2022/components/banner/banner.component.mjs +67 -67
- package/esm2022/components/banner/banner.module.mjs +30 -30
- package/esm2022/components/banner/banner.options.mjs +5 -5
- package/esm2022/components/banner/index.mjs +3 -3
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +15 -15
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +16 -16
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +32 -32
- package/esm2022/components/breadcrumbs/index.mjs +3 -3
- package/esm2022/components/button/button.component.mjs +137 -137
- package/esm2022/components/button/button.module.mjs +23 -23
- package/esm2022/components/button/button.options.mjs +9 -9
- package/esm2022/components/button/index.mjs +3 -3
- package/esm2022/components/button-group/button-group.component.mjs +10 -10
- package/esm2022/components/button-group/button-group.module.mjs +15 -15
- package/esm2022/components/button-group/index.mjs +2 -2
- package/esm2022/components/checkbox/checkbox.component.mjs +10 -10
- package/esm2022/components/checkbox/checkbox.module.mjs +15 -15
- package/esm2022/components/checkbox/index.mjs +2 -2
- package/esm2022/components/context-menu/context-menu.component.mjs +147 -147
- package/esm2022/components/context-menu/context-menu.module.mjs +23 -23
- package/esm2022/components/context-menu/index.mjs +2 -2
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +10 -10
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +27 -27
- package/esm2022/components/dialog/dialog.component.mjs +66 -66
- package/esm2022/components/dialog/dialog.interfaces.mjs +1 -1
- package/esm2022/components/dialog/dialog.module.mjs +48 -48
- package/esm2022/components/dialog/dialog.service.mjs +16 -16
- package/esm2022/components/dialog/dialog.tokens.mjs +11 -11
- package/esm2022/components/dialog/dialogs.component.mjs +50 -50
- package/esm2022/components/dialog/index.mjs +8 -8
- package/esm2022/components/form-field/form-field.component.mjs +10 -10
- package/esm2022/components/form-field/form-field.module.mjs +15 -15
- package/esm2022/components/form-field/index.mjs +2 -2
- package/esm2022/components/hint/hint.component.mjs +18 -18
- package/esm2022/components/hint/hint.module.mjs +15 -15
- package/esm2022/components/hint/index.mjs +2 -2
- package/esm2022/components/icon-button/icon-button.component.mjs +31 -31
- package/esm2022/components/icon-button/icon-button.module.mjs +23 -23
- package/esm2022/components/icon-button/index.mjs +2 -2
- package/esm2022/components/index.mjs +26 -26
- package/esm2022/components/input-number/index.mjs +2 -2
- package/esm2022/components/input-number/input-number.component.mjs +112 -112
- package/esm2022/components/input-number/input-number.module.mjs +35 -35
- package/esm2022/components/input-password/index.mjs +2 -2
- package/esm2022/components/input-password/input-password.component.mjs +88 -88
- package/esm2022/components/input-password/input-password.module.mjs +32 -32
- package/esm2022/components/input-text/index.mjs +2 -2
- package/esm2022/components/input-text/input-text.component.mjs +86 -86
- package/esm2022/components/input-text/input-text.module.mjs +32 -32
- package/esm2022/components/input-time/index.mjs +3 -3
- package/esm2022/components/input-time/input-time.component.mjs +98 -98
- package/esm2022/components/input-time/input-time.module.mjs +35 -35
- package/esm2022/components/input-time/input-time.options.mjs +7 -7
- package/esm2022/components/label/index.mjs +2 -2
- package/esm2022/components/label/label.component.mjs +16 -16
- package/esm2022/components/label/label.module.mjs +17 -17
- package/esm2022/components/notification/index.mjs +3 -3
- package/esm2022/components/notification/notification.component.mjs +46 -46
- package/esm2022/components/notification/notification.module.mjs +23 -23
- package/esm2022/components/notification/notification.options.mjs +52 -52
- package/esm2022/components/radio/index.mjs +2 -2
- package/esm2022/components/radio/radio.component.mjs +10 -10
- package/esm2022/components/radio/radio.module.mjs +15 -15
- package/esm2022/components/root/index.mjs +3 -3
- package/esm2022/components/root/root.component.mjs +31 -31
- package/esm2022/components/root/root.module.mjs +30 -30
- package/esm2022/components/root/root.options.mjs +1 -1
- package/esm2022/components/select/index.mjs +2 -2
- package/esm2022/components/select/select.component.mjs +171 -171
- package/esm2022/components/select/select.module.mjs +31 -31
- package/esm2022/components/svg/index.mjs +2 -2
- package/esm2022/components/svg/svg.component.mjs +49 -49
- package/esm2022/components/svg/svg.module.mjs +17 -17
- package/esm2022/components/tabs/index.mjs +3 -3
- package/esm2022/components/tabs/tab/index.mjs +1 -1
- package/esm2022/components/tabs/tab/tab.component.mjs +20 -20
- package/esm2022/components/tabs/tabs.component.mjs +48 -48
- package/esm2022/components/tabs/tabs.module.mjs +17 -17
- package/esm2022/components/textarea/index.mjs +2 -2
- package/esm2022/components/textarea/textarea.component.mjs +34 -34
- package/esm2022/components/textarea/textarea.module.mjs +15 -15
- package/esm2022/components/toggle/index.mjs +2 -2
- package/esm2022/components/toggle/toggle.component.mjs +10 -10
- package/esm2022/components/toggle/toggle.module.mjs +15 -15
- package/esm2022/cuby-ui-core.mjs +4 -4
- package/esm2022/directives/index.mjs +2 -2
- package/esm2022/directives/text-field-controller/index.mjs +8 -8
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +39 -39
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +23 -23
- package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +20 -20
- package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +20 -20
- package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +23 -23
- package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +20 -20
- package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +23 -23
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +24 -24
- package/esm2022/directives/tooltip/index.mjs +16 -16
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +44 -44
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +17 -17
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +25 -25
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +52 -52
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +30 -30
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +82 -82
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +30 -30
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +30 -30
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -96
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +39 -39
- package/esm2022/directives/tooltip/tooltip.component.mjs +98 -98
- package/esm2022/directives/tooltip/tooltip.directive.mjs +91 -91
- package/esm2022/directives/tooltip/tooltip.mjs +26 -26
- package/esm2022/directives/tooltip/tooltip.providers.mjs +6 -6
- package/esm2022/directives/tooltip/tooltip.service.mjs +27 -27
- package/esm2022/directives/tooltip/tooltips.component.mjs +32 -32
- package/esm2022/index.mjs +8 -7
- package/esm2022/interceptors/index.mjs +2 -0
- package/esm2022/interceptors/x-ndjson.interceptor.mjs +48 -0
- package/esm2022/interfaces/context-menu-item.mjs +1 -1
- package/esm2022/interfaces/index.mjs +3 -3
- package/esm2022/interfaces/option.mjs +1 -1
- package/esm2022/services/index.mjs +4 -4
- package/esm2022/services/position.service.mjs +22 -22
- package/esm2022/services/theme.options.mjs +5 -5
- package/esm2022/services/theme.service.mjs +29 -29
- package/esm2022/services/visual-viewport.service.mjs +27 -27
- package/esm2022/tokens/animations-speed.mjs +7 -7
- package/esm2022/tokens/index.mjs +3 -3
- package/esm2022/tokens/reduced-motion.mjs +5 -5
- package/esm2022/tokens/viewport.mjs +30 -30
- package/esm2022/types/appearance.mjs +1 -1
- package/esm2022/types/hint-type.mjs +1 -1
- package/esm2022/types/index.mjs +9 -9
- package/esm2022/types/point.mjs +1 -1
- package/esm2022/types/portal-item.mjs +1 -1
- package/esm2022/types/position.mjs +1 -1
- package/esm2022/types/resizing.mjs +1 -1
- package/esm2022/types/shape.mjs +1 -1
- package/esm2022/types/size.mjs +1 -1
- package/esm2022/types/status.mjs +1 -1
- package/esm2022/utils/format/index.mjs +2 -2
- package/esm2022/utils/format/remove-spaces.mjs +3 -3
- package/esm2022/utils/format/replace.mjs +4 -4
- package/esm2022/utils/index.mjs +2 -2
- package/esm2022/utils/miscellaneous/index.mjs +3 -3
- package/esm2022/utils/miscellaneous/is-obscured.mjs +7 -7
- package/esm2022/utils/miscellaneous/override-options.mjs +10 -10
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +13 -13
- package/fesm2022/cuby-ui-core.mjs +3230 -3183
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/index.d.ts +7 -6
- package/interceptors/index.d.ts +1 -0
- package/interceptors/x-ndjson.interceptor.d.ts +2 -0
- 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 +6 -6
- 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/reset.scss +111 -0
- 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,18 +1,18 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CuiSvgComponent } from './svg.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class CuiSvgModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiSvgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiSvgModule, declarations: [CuiSvgComponent], imports: [CommonModule], exports: [CuiSvgComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiSvgModule, imports: [CommonModule] }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiSvgModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
imports: [CommonModule],
|
|
14
|
-
declarations: [CuiSvgComponent],
|
|
15
|
-
exports: [CuiSvgComponent]
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CuiSvgComponent } from './svg.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CuiSvgModule {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiSvgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiSvgModule, declarations: [CuiSvgComponent], imports: [CommonModule], exports: [CuiSvgComponent] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiSvgModule, imports: [CommonModule] }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiSvgModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [CommonModule],
|
|
14
|
+
declarations: [CuiSvgComponent],
|
|
15
|
+
exports: [CuiSvgComponent]
|
|
16
|
+
}]
|
|
17
|
+
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3J0czogW0N1aVN2Z0NvbXBvbmVudF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEN1aVN2Z01vZHVsZSB7XHJcbn1cclxuIl19
|
|
@@ -1,4 +1,4 @@
|
|
|
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';
|
|
4
4
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFicy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLE9BQU8sQ0FBQztBQUN0QixjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90YWInO1xyXG5leHBvcnQgKiBmcm9tICcuL3RhYnMuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi90YWJzLm1vZHVsZSc7XHJcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './tab.component';
|
|
1
|
+
export * from './tab.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFicy90YWIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGFiLmNvbXBvbmVudCc7Il19
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, HostListener, inject } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export const CUI_TAB_ACTIVATE = 'cui-tab-activate';
|
|
4
|
-
export class CuiTabComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.element = inject(ElementRef).nativeElement;
|
|
7
|
-
}
|
|
8
|
-
onClick() {
|
|
9
|
-
this.element.dispatchEvent(new CustomEvent(CUI_TAB_ACTIVATE, { bubbles: true }));
|
|
10
|
-
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiTabComponent, selector: "button[cuiTab]", host: { listeners: { "click": "onClick()" } }, ngImport: i0, template: "<ng-content />\r\n", styles: [":host{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;font-family:var(--cui-main-font)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13
|
-
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{ selector: 'button[cuiTab]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content />\r\n", styles: [":host{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;font-family:var(--cui-main-font)}\n"] }]
|
|
17
|
-
}], propDecorators: { onClick: [{
|
|
18
|
-
type: HostListener,
|
|
19
|
-
args: ['click']
|
|
20
|
-
}] } });
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ElementRef, HostListener, inject } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export const CUI_TAB_ACTIVATE = 'cui-tab-activate';
|
|
4
|
+
export class CuiTabComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.element = inject(ElementRef).nativeElement;
|
|
7
|
+
}
|
|
8
|
+
onClick() {
|
|
9
|
+
this.element.dispatchEvent(new CustomEvent(CUI_TAB_ACTIVATE, { bubbles: true }));
|
|
10
|
+
}
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiTabComponent, selector: "button[cuiTab]", host: { listeners: { "click": "onClick()" } }, ngImport: i0, template: "<ng-content />\r\n", styles: [":host{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;font-family:var(--cui-main-font)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{ selector: 'button[cuiTab]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content />\r\n", styles: [":host{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;font-family:var(--cui-main-font)}\n"] }]
|
|
17
|
+
}], propDecorators: { onClick: [{
|
|
18
|
+
type: HostListener,
|
|
19
|
+
args: ['click']
|
|
20
|
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W50LCBFbGVtZW50UmVmLCBIb3N0TGlzdGVuZXIsIGluamVjdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuZXhwb3J0IGNvbnN0IENVSV9UQUJfQUNUSVZBVEUgPSAnY3VpLXRhYi1hY3RpdmF0ZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2J1dHRvbltjdWlUYWJdJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vdGFiLnRlbXBsYXRlLmh0bWwnLFxyXG4gIHN0eWxlVXJsczogWycuL3RhYi5zdHlsZS5zY3NzJ10sXHJcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcclxufSlcclxuZXhwb3J0IGNsYXNzIEN1aVRhYkNvbXBvbmVudCB7XHJcbiAgcHJvdGVjdGVkIHJlYWRvbmx5IGVsZW1lbnQgPSBpbmplY3QoRWxlbWVudFJlZikubmF0aXZlRWxlbWVudCBhcyBIVE1MQnV0dG9uRWxlbWVudDtcclxuXHJcbiAgQEhvc3RMaXN0ZW5lcignY2xpY2snKVxyXG4gIHByb3RlY3RlZCBvbkNsaWNrKCk6IHZvaWQge1xyXG4gICAgdGhpcy5lbGVtZW50LmRpc3BhdGNoRXZlbnQobmV3IEN1c3RvbUV2ZW50KENVSV9UQUJfQUNUSVZBVEUsIHsgYnViYmxlczogdHJ1ZSB9KSk7XHJcbiAgfVxyXG59XHJcbiIsIjxuZy1jb250ZW50IC8+XHJcbiJdfQ==
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostListener, inject, Input, Output } from '@angular/core';
|
|
2
|
-
import { CUI_TAB_ACTIVATE } from './tab';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class CuiTabsComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.element = inject(ElementRef).nativeElement;
|
|
7
|
-
this.activeElementClass = '_active';
|
|
8
|
-
this.activeItemIndex = 0;
|
|
9
|
-
this.activeItemIndexChange = new EventEmitter();
|
|
10
|
-
}
|
|
11
|
-
get tabs() {
|
|
12
|
-
return Array.from(this.element.querySelectorAll('[cuiTab]'));
|
|
13
|
-
}
|
|
14
|
-
get activeElement() {
|
|
15
|
-
return this.tabs[this.activeItemIndex] || null;
|
|
16
|
-
}
|
|
17
|
-
ngAfterViewChecked() {
|
|
18
|
-
this.changeActiveItem();
|
|
19
|
-
}
|
|
20
|
-
onActivate(event) {
|
|
21
|
-
event.stopPropagation();
|
|
22
|
-
const index = this.tabs.findIndex((tab) => tab === event.target);
|
|
23
|
-
if (index === this.activeItemIndex) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
this.activeItemIndexChange.emit(index);
|
|
27
|
-
this.activeItemIndex = index;
|
|
28
|
-
}
|
|
29
|
-
changeActiveItem() {
|
|
30
|
-
this.tabs.forEach(nativeElement => {
|
|
31
|
-
const active = nativeElement === this.activeElement;
|
|
32
|
-
nativeElement.classList.toggle(this.activeElementClass, active);
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiTabsComponent, selector: "cui-tabs", inputs: { activeItemIndex: "activeItemIndex" }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, host: { listeners: { "cui-tab-activate": "onActivate($event)" } }, ngImport: i0, template: "<ng-content select=\"[cuiTab]\" />\r\n", styles: [":host{display:flex;border-radius:8px;gap:32px}:host ::ng-deep>[cuiTab]{padding:8px 12px;font-weight:500;font-size:14px;line-height:20px;color:var(--cui-base-500);border-radius:6px}@media (hover: hover){:host ::ng-deep>[cuiTab]:hover{color:var(--cui-base-900);background:var(--cui-base-50)}}:host ::ng-deep>[cuiTab]:active{color:var(--cui-base-900);background:var(--cui-base-50)}:host ::ng-deep>[cuiTab]._active{color:var(--cui-light-blue-600);background:var(--cui-base-50)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
37
|
-
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsComponent, decorators: [{
|
|
39
|
-
type: Component,
|
|
40
|
-
args: [{ selector: 'cui-tabs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[cuiTab]\" />\r\n", styles: [":host{display:flex;border-radius:8px;gap:32px}:host ::ng-deep>[cuiTab]{padding:8px 12px;font-weight:500;font-size:14px;line-height:20px;color:var(--cui-base-500);border-radius:6px}@media (hover: hover){:host ::ng-deep>[cuiTab]:hover{color:var(--cui-base-900);background:var(--cui-base-50)}}:host ::ng-deep>[cuiTab]:active{color:var(--cui-base-900);background:var(--cui-base-50)}:host ::ng-deep>[cuiTab]._active{color:var(--cui-light-blue-600);background:var(--cui-base-50)}\n"] }]
|
|
41
|
-
}], propDecorators: { activeItemIndex: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], activeItemIndexChange: [{
|
|
44
|
-
type: Output
|
|
45
|
-
}], onActivate: [{
|
|
46
|
-
type: HostListener,
|
|
47
|
-
args: [CUI_TAB_ACTIVATE, ['$event']]
|
|
48
|
-
}] } });
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostListener, inject, Input, Output } from '@angular/core';
|
|
2
|
+
import { CUI_TAB_ACTIVATE } from './tab';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CuiTabsComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.element = inject(ElementRef).nativeElement;
|
|
7
|
+
this.activeElementClass = '_active';
|
|
8
|
+
this.activeItemIndex = 0;
|
|
9
|
+
this.activeItemIndexChange = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
get tabs() {
|
|
12
|
+
return Array.from(this.element.querySelectorAll('[cuiTab]'));
|
|
13
|
+
}
|
|
14
|
+
get activeElement() {
|
|
15
|
+
return this.tabs[this.activeItemIndex] || null;
|
|
16
|
+
}
|
|
17
|
+
ngAfterViewChecked() {
|
|
18
|
+
this.changeActiveItem();
|
|
19
|
+
}
|
|
20
|
+
onActivate(event) {
|
|
21
|
+
event.stopPropagation();
|
|
22
|
+
const index = this.tabs.findIndex((tab) => tab === event.target);
|
|
23
|
+
if (index === this.activeItemIndex) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
this.activeItemIndexChange.emit(index);
|
|
27
|
+
this.activeItemIndex = index;
|
|
28
|
+
}
|
|
29
|
+
changeActiveItem() {
|
|
30
|
+
this.tabs.forEach(nativeElement => {
|
|
31
|
+
const active = nativeElement === this.activeElement;
|
|
32
|
+
nativeElement.classList.toggle(this.activeElementClass, active);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiTabsComponent, selector: "cui-tabs", inputs: { activeItemIndex: "activeItemIndex" }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, host: { listeners: { "cui-tab-activate": "onActivate($event)" } }, ngImport: i0, template: "<ng-content select=\"[cuiTab]\" />\r\n", styles: [":host{display:flex;border-radius:8px;gap:32px}:host ::ng-deep>[cuiTab]{padding:8px 12px;font-weight:500;font-size:14px;line-height:20px;color:var(--cui-base-500);border-radius:6px}@media (hover: hover){:host ::ng-deep>[cuiTab]:hover{color:var(--cui-base-900);background:var(--cui-base-50)}}:host ::ng-deep>[cuiTab]:active{color:var(--cui-base-900);background:var(--cui-base-50)}:host ::ng-deep>[cuiTab]._active{color:var(--cui-light-blue-600);background:var(--cui-base-50)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsComponent, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{ selector: 'cui-tabs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[cuiTab]\" />\r\n", styles: [":host{display:flex;border-radius:8px;gap:32px}:host ::ng-deep>[cuiTab]{padding:8px 12px;font-weight:500;font-size:14px;line-height:20px;color:var(--cui-base-500);border-radius:6px}@media (hover: hover){:host ::ng-deep>[cuiTab]:hover{color:var(--cui-base-900);background:var(--cui-base-50)}}:host ::ng-deep>[cuiTab]:active{color:var(--cui-base-900);background:var(--cui-base-50)}:host ::ng-deep>[cuiTab]._active{color:var(--cui-light-blue-600);background:var(--cui-base-50)}\n"] }]
|
|
41
|
+
}], propDecorators: { activeItemIndex: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], activeItemIndexChange: [{
|
|
44
|
+
type: Output
|
|
45
|
+
}], onActivate: [{
|
|
46
|
+
type: HostListener,
|
|
47
|
+
args: [CUI_TAB_ACTIVATE, ['$event']]
|
|
48
|
+
}] } });
|
|
49
49
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFicy90YWJzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy90YWJzL3RhYnMudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0ws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
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CuiTabsComponent } from './tabs.component';
|
|
3
|
-
import { CuiTabComponent } from './tab';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class CuiTabsModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsModule, declarations: [CuiTabsComponent, CuiTabComponent], exports: [CuiTabsComponent, CuiTabComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsModule }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
imports: [],
|
|
14
|
-
declarations: [CuiTabsComponent, CuiTabComponent],
|
|
15
|
-
exports: [CuiTabsComponent, CuiTabComponent]
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiTabsComponent } from './tabs.component';
|
|
3
|
+
import { CuiTabComponent } from './tab';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CuiTabsModule {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsModule, declarations: [CuiTabsComponent, CuiTabComponent], exports: [CuiTabsComponent, CuiTabComponent] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsModule }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTabsModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [],
|
|
14
|
+
declarations: [CuiTabsComponent, CuiTabComponent],
|
|
15
|
+
exports: [CuiTabsComponent, CuiTabComponent]
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
18
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFicy90YWJzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3BELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxPQUFPLENBQUM7O0FBT3hDLE1BQU0sT0FBTyxhQUFhOytHQUFiLGFBQWE7Z0hBQWIsYUFBYSxpQkFIVCxnQkFBZ0IsRUFBRSxlQUFlLGFBQ3RDLGdCQUFnQixFQUFFLGVBQWU7Z0hBRWhDLGFBQWE7OzRGQUFiLGFBQWE7a0JBTHpCLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFLEVBQUU7b0JBQ1gsWUFBWSxFQUFFLENBQUMsZ0JBQWdCLEVBQUUsZUFBZSxDQUFDO29CQUNqRCxPQUFPLEVBQUUsQ0FBQyxnQkFBZ0IsRUFBRSxlQUFlLENBQUM7aUJBQzdDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbmltcG9ydCB7IEN1aVRhYnNDb21wb25lbnQgfSBmcm9tICcuL3RhYnMuY29tcG9uZW50JztcclxuaW1wb3J0IHsgQ3VpVGFiQ29tcG9uZW50IH0gZnJvbSAnLi90YWInO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbXSxcclxuICBkZWNsYXJhdGlvbnM6IFtDdWlUYWJzQ29tcG9uZW50LCBDdWlUYWJDb21wb25lbnRdLFxyXG4gIGV4cG9ydHM6IFtDdWlUYWJzQ29tcG9uZW50LCBDdWlUYWJDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDdWlUYWJzTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './textarea.component';
|
|
2
|
-
export * from './textarea.module';
|
|
1
|
+
export * from './textarea.component';
|
|
2
|
+
export * from './textarea.module';
|
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGV4dGFyZWEvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90ZXh0YXJlYS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RleHRhcmVhLm1vZHVsZSc7XHJcbiJdfQ==
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, HostBinding, inject, Input } from '@angular/core';
|
|
2
|
-
import { CuiAutoResizingDirective } from '@cuby-ui/cdk';
|
|
3
|
-
import { CUI_TEXT_FIELD_CONTROLLER, CUI_TEXT_FILED_CONTROLLER_PROVIDER } from '../../directives';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@cuby-ui/cdk";
|
|
6
|
-
export class CuiTextareaComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.cuiTextFieldController = inject(CUI_TEXT_FIELD_CONTROLLER);
|
|
9
|
-
this.rows = 4;
|
|
10
|
-
this.noBordersAndPaddings = false;
|
|
11
|
-
}
|
|
12
|
-
get isError() {
|
|
13
|
-
return this.cuiTextFieldController.isError;
|
|
14
|
-
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiTextareaComponent, selector: "textarea[cuiTextarea]", inputs: { rows: "rows", noBordersAndPaddings: "noBordersAndPaddings" }, host: { properties: { "rows": "this.rows", "class._no-borders-and-paddings": "this.noBordersAndPaddings", "class._with-error": "this.isError" } }, providers: [CUI_TEXT_FILED_CONTROLLER_PROVIDER], hostDirectives: [{ directive: i1.CuiAutoResizingDirective }], ngImport: i0, template: '', isInline: true, styles: [":host{padding:11px 13px 11px 0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;color:inherit;font:inherit;line-height:inherit;padding:11px 13px;font-weight:400;font-size:14px;line-height:20px;box-sizing:border-box;max-height:320px;width:100%;border:1px solid var(--cui-base-200);border-radius:8px;resize:none;background:none;color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus,:host:focus-visible{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host:disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host::placeholder{color:var(--cui-base-400)}:host._no-borders-and-paddings{border:none;border-radius:0;padding:0;box-shadow:none}:host._no-borders-and-paddings:disabled{background:none}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus{box-shadow:0 0 0 2px #d92d2040}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'textarea[cuiTextarea]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CUI_TEXT_FILED_CONTROLLER_PROVIDER], hostDirectives: [CuiAutoResizingDirective], styles: [":host{padding:11px 13px 11px 0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;color:inherit;font:inherit;line-height:inherit;padding:11px 13px;font-weight:400;font-size:14px;line-height:20px;box-sizing:border-box;max-height:320px;width:100%;border:1px solid var(--cui-base-200);border-radius:8px;resize:none;background:none;color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus,:host:focus-visible{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host:disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host::placeholder{color:var(--cui-base-400)}:host._no-borders-and-paddings{border:none;border-radius:0;padding:0;box-shadow:none}:host._no-borders-and-paddings:disabled{background:none}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus{box-shadow:0 0 0 2px #d92d2040}\n"] }]
|
|
21
|
-
}], propDecorators: { rows: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}, {
|
|
24
|
-
type: HostBinding,
|
|
25
|
-
args: ['rows']
|
|
26
|
-
}], noBordersAndPaddings: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}, {
|
|
29
|
-
type: HostBinding,
|
|
30
|
-
args: ['class._no-borders-and-paddings']
|
|
31
|
-
}], isError: [{
|
|
32
|
-
type: HostBinding,
|
|
33
|
-
args: ['class._with-error']
|
|
34
|
-
}] } });
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, inject, Input } from '@angular/core';
|
|
2
|
+
import { CuiAutoResizingDirective } from '@cuby-ui/cdk';
|
|
3
|
+
import { CUI_TEXT_FIELD_CONTROLLER, CUI_TEXT_FILED_CONTROLLER_PROVIDER } from '../../directives';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@cuby-ui/cdk";
|
|
6
|
+
export class CuiTextareaComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.cuiTextFieldController = inject(CUI_TEXT_FIELD_CONTROLLER);
|
|
9
|
+
this.rows = 4;
|
|
10
|
+
this.noBordersAndPaddings = false;
|
|
11
|
+
}
|
|
12
|
+
get isError() {
|
|
13
|
+
return this.cuiTextFieldController.isError;
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiTextareaComponent, selector: "textarea[cuiTextarea]", inputs: { rows: "rows", noBordersAndPaddings: "noBordersAndPaddings" }, host: { properties: { "rows": "this.rows", "class._no-borders-and-paddings": "this.noBordersAndPaddings", "class._with-error": "this.isError" } }, providers: [CUI_TEXT_FILED_CONTROLLER_PROVIDER], hostDirectives: [{ directive: i1.CuiAutoResizingDirective }], ngImport: i0, template: '', isInline: true, styles: [":host{padding:11px 13px 11px 0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;color:inherit;font:inherit;line-height:inherit;padding:11px 13px;font-weight:400;font-size:14px;line-height:20px;box-sizing:border-box;max-height:320px;width:100%;border:1px solid var(--cui-base-200);border-radius:8px;resize:none;background:none;color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus,:host:focus-visible{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host:disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host::placeholder{color:var(--cui-base-400)}:host._no-borders-and-paddings{border:none;border-radius:0;padding:0;box-shadow:none}:host._no-borders-and-paddings:disabled{background:none}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus{box-shadow:0 0 0 2px #d92d2040}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'textarea[cuiTextarea]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CUI_TEXT_FILED_CONTROLLER_PROVIDER], hostDirectives: [CuiAutoResizingDirective], styles: [":host{padding:11px 13px 11px 0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;color:inherit;font:inherit;line-height:inherit;padding:11px 13px;font-weight:400;font-size:14px;line-height:20px;box-sizing:border-box;max-height:320px;width:100%;border:1px solid var(--cui-base-200);border-radius:8px;resize:none;background:none;color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus,:host:focus-visible{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host:disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host::placeholder{color:var(--cui-base-400)}:host._no-borders-and-paddings{border:none;border-radius:0;padding:0;box-shadow:none}:host._no-borders-and-paddings:disabled{background:none}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus{box-shadow:0 0 0 2px #d92d2040}\n"] }]
|
|
21
|
+
}], propDecorators: { rows: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}, {
|
|
24
|
+
type: HostBinding,
|
|
25
|
+
args: ['rows']
|
|
26
|
+
}], noBordersAndPaddings: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}, {
|
|
29
|
+
type: HostBinding,
|
|
30
|
+
args: ['class._no-borders-and-paddings']
|
|
31
|
+
}], isError: [{
|
|
32
|
+
type: HostBinding,
|
|
33
|
+
args: ['class._with-error']
|
|
34
|
+
}] } });
|
|
35
35
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3RleHRhcmVhL3RleHRhcmVhLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9GLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUV4RCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsa0NBQWtDLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBVWpHLE1BQU0sT0FBTyxvQkFBb0I7SUFSakM7UUFTbUIsMkJBQXNCLEdBQUcsTUFBTSxDQUFDLHlCQUF5QixDQUFDLENBQUM7UUFJckUsU0FBSSxHQUFHLENBQUMsQ0FBQztRQUlULHlCQUFvQixHQUFHLEtBQUssQ0FBQztLQU1yQztJQUpDLElBQ2MsT0FBTztRQUNuQixPQUFPLElBQUksQ0FBQyxzQkFBc0IsQ0FBQyxPQUFP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c2gsXHJcbiAgcHJvdmlkZXJzOiBbQ1VJX1RFWFRfRklMRURfQ09OVFJPTExFUl9QUk9WSURFUl0sXHJcbiAgaG9zdERpcmVjdGl2ZXM6IFtDdWlBdXRvUmVzaXppbmdEaXJlY3RpdmVdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDdWlUZXh0YXJlYUNvbXBvbmVudCB7XHJcbiAgcHJpdmF0ZSByZWFkb25seSBjdWlUZXh0RmllbGRDb250cm9sbGVyID0gaW5qZWN0KENVSV9URVhUX0ZJRUxEX0NPTlRST0xMRVIpO1xyXG5cclxuICBASW5wdXQoKVxyXG4gIEBIb3N0QmluZGluZygncm93cycpXHJcbiAgcHVibGljIHJvd3MgPSA0O1xyXG5cclxuICBASW5wdXQoKVxyXG4gIEBIb3N0QmluZGluZygnY2xhc3MuX25vLWJvcmRlcnMtYW5kLXBhZGRpbmdzJylcclxuICBwdWJsaWMgbm9Cb3JkZXJzQW5kUGFkZGluZ3MgPSBmYWxzZTtcclxuXHJcbiAgQEhvc3RCaW5kaW5nKCdjbGFzcy5fd2l0aC1lcnJvcicpXHJcbiAgcHJvdGVjdGVkIGdldCBpc0Vycm9yKCk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuIHRoaXMuY3VpVGV4dEZpZWxkQ29udHJvbGxlci5pc0Vycm9yO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CuiTextareaComponent } from './textarea.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class CuiTextareaModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaModule, declarations: [CuiTextareaComponent], exports: [CuiTextareaComponent] }); }
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaModule }); }
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
declarations: [CuiTextareaComponent],
|
|
13
|
-
exports: [CuiTextareaComponent]
|
|
14
|
-
}]
|
|
15
|
-
}] });
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiTextareaComponent } from './textarea.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CuiTextareaModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaModule, declarations: [CuiTextareaComponent], exports: [CuiTextareaComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaModule }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextareaModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [CuiTextareaComponent],
|
|
13
|
+
exports: [CuiTextareaComponent]
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
16
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3RleHRhcmVhL3RleHRhcmVhLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDOztBQU01RCxNQUFNLE9BQU8saUJBQWlCOytHQUFqQixpQkFBaUI7Z0hBQWpCLGlCQUFpQixpQkFIYixvQkFBb0IsYUFDekIsb0JBQW9CO2dIQUVuQixpQkFBaUI7OzRGQUFqQixpQkFBaUI7a0JBSjdCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsb0JBQW9CLENBQUM7b0JBQ3BDLE9BQU8sRUFBRSxDQUFDLG9CQUFvQixDQUFDO2lCQUNoQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5pbXBvcnQgeyBDdWlUZXh0YXJlYUNvbXBvbmVudCB9IGZyb20gJy4vdGV4dGFyZWEuY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbQ3VpVGV4dGFyZWFDb21wb25lbnRdLFxyXG4gIGV4cG9ydHM6IFtDdWlUZXh0YXJlYUNvbXBvbmVudF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEN1aVRleHRhcmVhTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './toggle.component';
|
|
2
|
-
export * from './toggle.module';
|
|
1
|
+
export * from './toggle.component';
|
|
2
|
+
export * from './toggle.module';
|
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdG9nZ2xlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdG9nZ2xlLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdG9nZ2xlLm1vZHVsZSc7Il19
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CuiToggleComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiToggleComponent, selector: "input[type=\"checkbox\"][cuiToggle]", ngImport: i0, template: '', isInline: true, styles: [":host{position:relative;width:30px;height:18px;border-radius:9px;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-300);transition:background .5s ease}:host:before{content:\"\";position:absolute;top:50%;left:2px;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:var(--cui-gray-0);transition:left .5s ease}:host:checked{background:var(--cui-info);transition:background .5s ease}:host:checked:before{left:14px;transition:left .5s ease}:host:disabled{cursor:not-allowed;background:var(--cui-base-300)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'input[type="checkbox"][cuiToggle]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;width:30px;height:18px;border-radius:9px;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-300);transition:background .5s ease}:host:before{content:\"\";position:absolute;top:50%;left:2px;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:var(--cui-gray-0);transition:left .5s ease}:host:checked{background:var(--cui-info);transition:background .5s ease}:host:checked:before{left:14px;transition:left .5s ease}:host:disabled{cursor:not-allowed;background:var(--cui-base-300)}\n"] }]
|
|
10
|
-
}] });
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CuiToggleComponent {
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiToggleComponent, selector: "input[type=\"checkbox\"][cuiToggle]", ngImport: i0, template: '', isInline: true, styles: [":host{position:relative;width:30px;height:18px;border-radius:9px;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-300);transition:background .5s ease}:host:before{content:\"\";position:absolute;top:50%;left:2px;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:var(--cui-gray-0);transition:left .5s ease}:host:checked{background:var(--cui-info);transition:background .5s ease}:host:checked:before{left:14px;transition:left .5s ease}:host:disabled{cursor:not-allowed;background:var(--cui-base-300)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ selector: 'input[type="checkbox"][cuiToggle]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;width:30px;height:18px;border-radius:9px;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-300);transition:background .5s ease}:host:before{content:\"\";position:absolute;top:50%;left:2px;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:var(--cui-gray-0);transition:left .5s ease}:host:checked{background:var(--cui-info);transition:background .5s ease}:host:checked:before{left:14px;transition:left .5s ease}:host:disabled{cursor:not-allowed;background:var(--cui-base-300)}\n"] }]
|
|
10
|
+
}] });
|
|
11
11
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy90b2dnbGUvdG9nZ2xlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFuRSxNQUFNLE9BQU8sa0JBQWtCOytHQUFsQixrQkFBa0I7bUdBQWxCLGtCQUFrQiwyRUFKbkIsRUFBRTs7NEZBSUQsa0JBQWtCO2tCQU45QixTQUFTOytCQUNFLG1DQUFtQyxZQUNuQyxFQUFFLG1CQUVLLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2lucHV0W3R5cGU9XCJjaGVja2JveFwiXVtjdWlUb2dnbGVdJyxcclxuICB0ZW1wbGF0ZTogJycsXHJcbiAgc3R5bGVVcmxzOiBbJy4vdG9nZ2xlLnN0eWxlLnNjc3MnXSxcclxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ3VpVG9nZ2xlQ29tcG9uZW50IHtcclxufVxyXG4iXX0=
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CuiToggleComponent } from './toggle.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class CuiToggleModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleModule, declarations: [CuiToggleComponent], exports: [CuiToggleComponent] }); }
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleModule }); }
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
declarations: [CuiToggleComponent],
|
|
13
|
-
exports: [CuiToggleComponent]
|
|
14
|
-
}]
|
|
15
|
-
}] });
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiToggleComponent } from './toggle.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CuiToggleModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleModule, declarations: [CuiToggleComponent], exports: [CuiToggleComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleModule }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiToggleModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [CuiToggleComponent],
|
|
13
|
+
exports: [CuiToggleComponent]
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
16
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy90b2dnbGUvdG9nZ2xlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDOztBQU14RCxNQUFNLE9BQU8sZUFBZTsrR0FBZixlQUFlO2dIQUFmLGVBQWUsaUJBSFgsa0JBQWtCLGFBQ3ZCLGtCQUFrQjtnSEFFakIsZUFBZTs7NEZBQWYsZUFBZTtrQkFKM0IsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztvQkFDbEMsT0FBTyxFQUFFLENBQUMsa0JBQWtCLENBQUM7aUJBQzlCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbmltcG9ydCB7IEN1aVRvZ2dsZUNvbXBvbmVudCB9IGZyb20gJy4vdG9nZ2xlLmNvbXBvbmVudCc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0N1aVRvZ2dsZUNvbXBvbmVudF0sXHJcbiAgZXhwb3J0czogW0N1aVRvZ2dsZUNvbXBvbmVudF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEN1aVRvZ2dsZU1vZHVsZSB7XHJcbn1cclxuIl19
|
package/esm2022/cuby-ui-core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VieS11aS1jb3JlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jdWJ5LXVpLWNvcmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './text-field-controller';
|
|
2
|
-
export * from './tooltip';
|
|
1
|
+
export * from './text-field-controller';
|
|
2
|
+
export * from './tooltip';
|
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2RpcmVjdGl2ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLFdBQVcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC1jb250cm9sbGVyJztcclxuZXhwb3J0ICogZnJvbSAnLi90b29sdGlwJztcclxuIl19
|
|
@@ -1,9 +1,9 @@
|
|
|
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';
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2RpcmVjdGl2ZXMvdGV4dC1maWVsZC1jb250cm9sbGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC5jb250cm9sbGVyJztcclxuZXhwb3J0ICogZnJvbSAnLi90ZXh0LWZpZWxkLWNvbnRyb2xsZXIubW9kdWxlJztcclxuZXhwb3J0ICogZnJvbSAnLi90ZXh0LWZpZWxkLWNvbnRyb2xsZXIucHJvdmlkZXInO1xyXG5leHBvcnQgKiBmcm9tICcuL3RleHQtZmllbGQtaWNvbi1sZWZ0LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC1pZC5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RleHQtZmllbGQtaXMtZXJyb3IuZGlyZWN0aXZlJztcclxuZXhwb3J0ICogZnJvbSAnLi90ZXh0LWZpZWxkLXBsYWNlaG9sZGVyLmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC1zaXplLmRpcmVjdGl2ZSc7XHJcbiJdfQ==
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CuiTextFieldIconLeftDirective } from './text-field-icon-left.directive';
|
|
3
|
-
import { CuiTextFieldIdDirective } from './text-field-id.directive';
|
|
4
|
-
import { CuiTextFieldIsErrorDirective } from './text-field-is-error.directive';
|
|
5
|
-
import { CuiTextFieldPlaceholderDirective } from './text-field-placeholder.directive';
|
|
6
|
-
import { CuiTextFieldSizeDirective } from './text-field-size.directive';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class CuiTextFieldControllerModule {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextFieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiTextFieldControllerModule, declarations: [CuiTextFieldIconLeftDirective,
|
|
11
|
-
CuiTextFieldIdDirective,
|
|
12
|
-
CuiTextFieldPlaceholderDirective,
|
|
13
|
-
CuiTextFieldIsErrorDirective,
|
|
14
|
-
CuiTextFieldSizeDirective], exports: [CuiTextFieldIconLeftDirective,
|
|
15
|
-
CuiTextFieldIdDirective,
|
|
16
|
-
CuiTextFieldPlaceholderDirective,
|
|
17
|
-
CuiTextFieldIsErrorDirective,
|
|
18
|
-
CuiTextFieldSizeDirective] }); }
|
|
19
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextFieldControllerModule }); }
|
|
20
|
-
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextFieldControllerModule, decorators: [{
|
|
22
|
-
type: NgModule,
|
|
23
|
-
args: [{
|
|
24
|
-
declarations: [
|
|
25
|
-
CuiTextFieldIconLeftDirective,
|
|
26
|
-
CuiTextFieldIdDirective,
|
|
27
|
-
CuiTextFieldPlaceholderDirective,
|
|
28
|
-
CuiTextFieldIsErrorDirective,
|
|
29
|
-
CuiTextFieldSizeDirective
|
|
30
|
-
],
|
|
31
|
-
exports: [
|
|
32
|
-
CuiTextFieldIconLeftDirective,
|
|
33
|
-
CuiTextFieldIdDirective,
|
|
34
|
-
CuiTextFieldPlaceholderDirective,
|
|
35
|
-
CuiTextFieldIsErrorDirective,
|
|
36
|
-
CuiTextFieldSizeDirective
|
|
37
|
-
]
|
|
38
|
-
}]
|
|
39
|
-
}] });
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiTextFieldIconLeftDirective } from './text-field-icon-left.directive';
|
|
3
|
+
import { CuiTextFieldIdDirective } from './text-field-id.directive';
|
|
4
|
+
import { CuiTextFieldIsErrorDirective } from './text-field-is-error.directive';
|
|
5
|
+
import { CuiTextFieldPlaceholderDirective } from './text-field-placeholder.directive';
|
|
6
|
+
import { CuiTextFieldSizeDirective } from './text-field-size.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CuiTextFieldControllerModule {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextFieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiTextFieldControllerModule, declarations: [CuiTextFieldIconLeftDirective,
|
|
11
|
+
CuiTextFieldIdDirective,
|
|
12
|
+
CuiTextFieldPlaceholderDirective,
|
|
13
|
+
CuiTextFieldIsErrorDirective,
|
|
14
|
+
CuiTextFieldSizeDirective], exports: [CuiTextFieldIconLeftDirective,
|
|
15
|
+
CuiTextFieldIdDirective,
|
|
16
|
+
CuiTextFieldPlaceholderDirective,
|
|
17
|
+
CuiTextFieldIsErrorDirective,
|
|
18
|
+
CuiTextFieldSizeDirective] }); }
|
|
19
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextFieldControllerModule }); }
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiTextFieldControllerModule, decorators: [{
|
|
22
|
+
type: NgModule,
|
|
23
|
+
args: [{
|
|
24
|
+
declarations: [
|
|
25
|
+
CuiTextFieldIconLeftDirective,
|
|
26
|
+
CuiTextFieldIdDirective,
|
|
27
|
+
CuiTextFieldPlaceholderDirective,
|
|
28
|
+
CuiTextFieldIsErrorDirective,
|
|
29
|
+
CuiTextFieldSizeDirective
|
|
30
|
+
],
|
|
31
|
+
exports: [
|
|
32
|
+
CuiTextFieldIconLeftDirective,
|
|
33
|
+
CuiTextFieldIdDirective,
|
|
34
|
+
CuiTextFieldPlaceholderDirective,
|
|
35
|
+
CuiTextFieldIsErrorDirective,
|
|
36
|
+
CuiTextFieldSizeDirective
|
|
37
|
+
]
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
40
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1maWVsZC1jb250cm9sbGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvZGlyZWN0aXZlcy90ZXh0LWZpZWxkLWNvbnRyb2xsZXIvdGV4dC1maWVsZC1jb250cm9sbGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ2pGLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3BFLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQy9FLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ3RGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDOztBQWtCeEUsTUFBTSxPQUFPLDRCQUE0QjsrR0FBNUIsNEJBQTRCO2dIQUE1Qiw0QkFBNEIsaUJBZHJDL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