@cuby-ui/core 0.0.180 → 0.0.190
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 -0
- package/animations/index.d.ts +1 -0
- package/classes/accessors.d.ts +17 -0
- package/classes/driver.d.ts +16 -0
- package/classes/index.d.ts +3 -0
- package/classes/vehicle.d.ts +6 -0
- package/components/accordion/accordion-item/accordion-item.component.d.ts +1 -1
- package/components/alert/alert.tokens.d.ts +2 -2
- package/components/badge/badge.component.d.ts +1 -1
- package/components/banner/banner.component.d.ts +1 -1
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/components/button/button.component.d.ts +3 -3
- package/components/context-menu/context-menu.component.d.ts +1 -1
- package/components/dialog/dialog-header/dialog-header.component.d.ts +3 -3
- package/components/dialog/dialog.interfaces.d.ts +1 -1
- package/components/dialog/dialog.module.d.ts +2 -2
- package/components/hint/hint.component.d.ts +1 -1
- package/components/icon-button/icon-button.component.d.ts +1 -1
- package/components/input-number/input-number.component.d.ts +1 -1
- package/components/input-time/input-time.component.d.ts +1 -1
- package/components/label/label.component.d.ts +1 -1
- package/components/notification/notification.component.d.ts +3 -3
- package/components/root/root.module.d.ts +2 -1
- package/components/select/select.component.d.ts +1 -1
- package/components/svg/svg.component.d.ts +1 -1
- package/components/tabs/tabs.component.d.ts +1 -1
- package/components/textarea/textarea.component.d.ts +1 -1
- package/directives/index.d.ts +1 -0
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +1 -1
- package/directives/text-field-controller/text-field-id.directive.d.ts +1 -1
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +1 -1
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +1 -1
- package/directives/text-field-controller/text-field-size.directive.d.ts +1 -1
- package/directives/tooltip/index.d.ts +16 -0
- package/directives/tooltip/tooltip-describe.directive.d.ts +16 -0
- package/directives/tooltip/tooltip-driver.directive.d.ts +7 -0
- package/directives/tooltip/tooltip-host.directive.d.ts +9 -0
- package/directives/tooltip/tooltip-hover.directive.d.ts +21 -0
- package/directives/tooltip/tooltip-manual.directive.d.ts +13 -0
- package/directives/tooltip/tooltip-options.directive.d.ts +36 -0
- package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -0
- package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -0
- package/directives/tooltip/tooltip-position.directive.d.ts +20 -0
- package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -0
- package/directives/tooltip/tooltip.component.d.ts +33 -0
- package/directives/tooltip/tooltip.d.ts +13 -0
- package/directives/tooltip/tooltip.directive.d.ts +26 -0
- package/directives/tooltip/tooltip.providers.d.ts +5 -0
- package/directives/tooltip/tooltip.service.d.ts +13 -0
- package/directives/tooltip/tooltips.component.d.ts +12 -0
- package/esm2022/animations/animations.mjs +272 -0
- package/esm2022/animations/index.mjs +2 -0
- package/esm2022/classes/accessors.mjs +31 -0
- package/esm2022/classes/driver.mjs +35 -0
- package/esm2022/classes/index.mjs +4 -0
- package/esm2022/classes/vehicle.mjs +7 -0
- package/{esm2020 → esm2022}/components/accordion/accordion-item/accordion-item.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/accordion/accordion.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/accordion/accordion.module.mjs +11 -11
- package/{esm2020 → esm2022}/components/alert/alert.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/alert/alert.module.mjs +12 -12
- package/{esm2020 → esm2022}/components/alert/alert.service.mjs +4 -4
- package/{esm2020 → esm2022}/components/alert/alerts.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/badge/badge.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/badge/badge.module.mjs +5 -5
- package/{esm2020 → esm2022}/components/banner/banner.component.mjs +5 -5
- package/{esm2020 → esm2022}/components/banner/banner.module.mjs +10 -10
- package/{esm2020 → esm2022}/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/breadcrumbs/breadcrumbs.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/breadcrumbs/breadcrumbs.module.mjs +9 -9
- package/{esm2020 → esm2022}/components/button/button.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/button/button.module.mjs +7 -7
- package/{esm2020 → esm2022}/components/button-group/button-group.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/button-group/button-group.module.mjs +5 -5
- package/esm2022/components/checkbox/checkbox.component.mjs +11 -0
- package/{esm2020 → esm2022}/components/checkbox/checkbox.module.mjs +5 -5
- package/{esm2020 → esm2022}/components/context-menu/context-menu.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/context-menu/context-menu.module.mjs +7 -7
- package/{esm2020 → esm2022}/components/dialog/dialog-actions/dialog-actions.component.mjs +4 -4
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -0
- package/{esm2020 → esm2022}/components/dialog/dialog.component.mjs +5 -5
- package/{esm2020 → esm2022}/components/dialog/dialog.interfaces.mjs +1 -1
- package/esm2022/components/dialog/dialog.module.mjs +49 -0
- package/{esm2020 → esm2022}/components/dialog/dialog.service.mjs +4 -4
- package/{esm2020 → esm2022}/components/dialog/dialogs.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/form-field/form-field.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/form-field/form-field.module.mjs +5 -5
- package/{esm2020 → esm2022}/components/hint/hint.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/hint/hint.module.mjs +5 -5
- package/{esm2020 → esm2022}/components/icon-button/icon-button.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/icon-button/icon-button.module.mjs +7 -7
- package/{esm2020 → esm2022}/components/input-number/input-number.component.mjs +7 -7
- package/{esm2020 → esm2022}/components/input-number/input-number.module.mjs +11 -11
- package/{esm2020 → esm2022}/components/input-password/input-password.component.mjs +7 -7
- package/{esm2020 → esm2022}/components/input-password/input-password.module.mjs +10 -10
- package/{esm2020 → esm2022}/components/input-text/input-text.component.mjs +7 -7
- package/{esm2020 → esm2022}/components/input-text/input-text.module.mjs +10 -10
- package/{esm2020 → esm2022}/components/input-time/input-time.component.mjs +7 -7
- package/{esm2020 → esm2022}/components/input-time/input-time.module.mjs +11 -11
- package/{esm2020 → esm2022}/components/label/label.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/label/label.module.mjs +5 -5
- package/{esm2020 → esm2022}/components/notification/notification.component.mjs +5 -5
- package/{esm2020 → esm2022}/components/notification/notification.module.mjs +7 -7
- package/{esm2020 → esm2022}/components/radio/radio.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/radio/radio.module.mjs +5 -5
- package/esm2022/components/root/root.component.mjs +32 -0
- package/esm2022/components/root/root.module.mjs +31 -0
- package/{esm2020 → esm2022}/components/select/select.component.mjs +8 -8
- package/{esm2020 → esm2022}/components/select/select.module.mjs +9 -9
- package/{esm2020 → esm2022}/components/svg/svg.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/svg/svg.module.mjs +5 -5
- package/{esm2020 → esm2022}/components/tabs/tab/tab.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/tabs/tabs.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/tabs/tabs.module.mjs +5 -5
- package/{esm2020 → esm2022}/components/textarea/textarea.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/textarea/textarea.module.mjs +5 -5
- package/{esm2020 → esm2022}/components/toggle/toggle.component.mjs +4 -4
- package/{esm2020 → esm2022}/components/toggle/toggle.module.mjs +5 -5
- package/esm2022/directives/index.mjs +3 -0
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-controller.module.mjs +13 -13
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-icon-left.directive.mjs +4 -4
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-id.directive.mjs +4 -4
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-is-error.directive.mjs +4 -4
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-placeholder.directive.mjs +4 -4
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-size.directive.mjs +4 -4
- package/esm2022/directives/tooltip/index.mjs +17 -0
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +45 -0
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -0
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -0
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +53 -0
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -0
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -0
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -0
- package/esm2022/directives/tooltip/tooltip.component.mjs +110 -0
- package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -0
- package/esm2022/directives/tooltip/tooltip.mjs +27 -0
- package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -0
- package/esm2022/directives/tooltip/tooltip.service.mjs +28 -0
- package/esm2022/directives/tooltip/tooltips.component.mjs +33 -0
- package/esm2022/services/index.mjs +5 -0
- package/esm2022/services/position.service.mjs +23 -0
- package/{esm2020 → esm2022}/services/theme.service.mjs +4 -4
- package/esm2022/services/visual-viewport.service.mjs +28 -0
- package/esm2022/tokens/animations-speed.mjs +8 -0
- package/esm2022/tokens/index.mjs +4 -0
- package/esm2022/tokens/reduced-motion.mjs +6 -0
- package/esm2022/tokens/viewport.mjs +31 -0
- package/esm2022/types/index.mjs +10 -0
- package/esm2022/types/point.mjs +2 -0
- package/esm2022/types/portal-item.mjs +2 -0
- package/esm2022/utils/index.mjs +3 -0
- package/esm2022/utils/miscellaneous/index.mjs +4 -0
- package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -0
- package/esm2022/utils/miscellaneous/override-options.mjs +11 -0
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -0
- package/fesm2022/cuby-ui-core.mjs +3416 -0
- package/fesm2022/cuby-ui-core.mjs.map +1 -0
- package/package.json +8 -14
- package/services/index.d.ts +2 -0
- package/services/position.service.d.ts +10 -0
- package/services/visual-viewport.service.d.ts +9 -0
- package/tokens/animations-speed.d.ts +4 -0
- package/tokens/index.d.ts +3 -0
- package/tokens/reduced-motion.d.ts +1 -0
- package/tokens/viewport.d.ts +7 -0
- package/types/index.d.ts +2 -0
- package/types/point.d.ts +1 -0
- package/types/portal-item.d.ts +9 -0
- package/utils/index.d.ts +1 -0
- package/utils/miscellaneous/index.d.ts +3 -0
- package/utils/miscellaneous/is-obscured.d.ts +4 -0
- package/utils/miscellaneous/override-options.d.ts +1 -0
- package/utils/miscellaneous/to-animation-options.d.ts +4 -0
- package/esm2020/components/checkbox/checkbox.component.mjs +0 -11
- package/esm2020/components/dialog/dialog-header/dialog-header.component.mjs +0 -28
- package/esm2020/components/dialog/dialog.module.mjs +0 -50
- package/esm2020/components/root/root.component.mjs +0 -31
- package/esm2020/components/root/root.module.mjs +0 -28
- package/esm2020/directives/index.mjs +0 -2
- package/esm2020/services/index.mjs +0 -3
- package/esm2020/types/index.mjs +0 -8
- package/esm2020/utils/index.mjs +0 -2
- package/fesm2015/cuby-ui-core.mjs +0 -2326
- package/fesm2015/cuby-ui-core.mjs.map +0 -1
- package/fesm2020/cuby-ui-core.mjs +0 -2326
- package/fesm2020/cuby-ui-core.mjs.map +0 -1
- /package/{esm2020 → esm2022}/components/accordion/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/alert/alert.interfaces.mjs +0 -0
- /package/{esm2020 → esm2022}/components/alert/alert.tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/components/alert/alert.types.mjs +0 -0
- /package/{esm2020 → esm2022}/components/alert/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/badge/badge.options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/badge/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/banner/banner.options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/banner/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/breadcrumbs/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/button.options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/checkbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/context-menu/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dialog/dialog.tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dialog/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/hint/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon-button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-number/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-password/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-text/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-time/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-time/input-time.options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/label/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/notification/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/notification/notification.options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/radio/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/root/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/root/root.options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/select/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/svg/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tabs/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tabs/tab/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/textarea/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toggle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cuby-ui-core.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/text-field-controller/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/text-field-controller/text-field-controller.provider.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/text-field-controller/text-field.controller.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/context-menu-item.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/option.mjs +0 -0
- /package/{esm2020 → esm2022}/services/theme.options.mjs +0 -0
- /package/{esm2020 → esm2022}/types/appearance.mjs +0 -0
- /package/{esm2020 → esm2022}/types/hint-type.mjs +0 -0
- /package/{esm2020 → esm2022}/types/position.mjs +0 -0
- /package/{esm2020 → esm2022}/types/resizing.mjs +0 -0
- /package/{esm2020 → esm2022}/types/shape.mjs +0 -0
- /package/{esm2020 → esm2022}/types/size.mjs +0 -0
- /package/{esm2020 → esm2022}/types/status.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/format/index.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/format/remove-spaces.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/format/replace.mjs +0 -0
package/package.json
CHANGED
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuby-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.190",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=15.0.0",
|
|
6
6
|
"@angular/core": ">=15.0.0",
|
|
7
7
|
"@angular/forms": ">=15.0.0",
|
|
8
|
-
"@cuby-ui/cdk": "^0.0.
|
|
9
|
-
"@cuby-ui/icons": "^0.0.
|
|
8
|
+
"@cuby-ui/cdk": "^0.0.181",
|
|
9
|
+
"@cuby-ui/icons": "^0.0.181",
|
|
10
10
|
"@maskito/angular": "^2.5.0",
|
|
11
11
|
"@maskito/core": "^2.5.0",
|
|
12
12
|
"@maskito/kit": "^2.5.0",
|
|
13
|
-
"@
|
|
13
|
+
"@taiga-ui/polymorpheus": "^4.7.4"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"sideEffects": false,
|
|
19
|
-
"module": "
|
|
20
|
-
"es2020": "fesm2020/cuby-ui-core.mjs",
|
|
21
|
-
"esm2020": "esm2020/cuby-ui-core.mjs",
|
|
22
|
-
"fesm2020": "fesm2020/cuby-ui-core.mjs",
|
|
23
|
-
"fesm2015": "fesm2015/cuby-ui-core.mjs",
|
|
19
|
+
"module": "fesm2022/cuby-ui-core.mjs",
|
|
24
20
|
"typings": "index.d.ts",
|
|
25
21
|
"exports": {
|
|
26
22
|
"./package.json": {
|
|
@@ -28,11 +24,9 @@
|
|
|
28
24
|
},
|
|
29
25
|
".": {
|
|
30
26
|
"types": "./index.d.ts",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"node": "./fesm2015/cuby-ui-core.mjs",
|
|
35
|
-
"default": "./fesm2020/cuby-ui-core.mjs"
|
|
27
|
+
"esm2022": "./esm2022/cuby-ui-core.mjs",
|
|
28
|
+
"esm": "./esm2022/cuby-ui-core.mjs",
|
|
29
|
+
"default": "./fesm2022/cuby-ui-core.mjs"
|
|
36
30
|
}
|
|
37
31
|
}
|
|
38
32
|
}
|
package/services/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CuiPoint } from '../types';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiPositionService extends Observable<CuiPoint> {
|
|
5
|
+
private readonly el;
|
|
6
|
+
private readonly accessor;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiPositionService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CuiPositionService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CuiPoint } from '../types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiVisualViewportService {
|
|
4
|
+
private readonly isWebkit;
|
|
5
|
+
private readonly win;
|
|
6
|
+
correct(point: CuiPoint): CuiPoint;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiVisualViewportService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CuiVisualViewportService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CUI_REDUCED_MOTION: import("@angular/core").InjectionToken<boolean>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Provider, Type } from '@angular/core';
|
|
2
|
+
import type { CuiRectAccessor } from '../classes';
|
|
3
|
+
/**
|
|
4
|
+
* Viewport accessor
|
|
5
|
+
*/
|
|
6
|
+
export declare const CUI_VIEWPORT: import("@angular/core").InjectionToken<CuiRectAccessor>;
|
|
7
|
+
export declare function cuiAsViewport(accessor: Type<CuiRectAccessor>): Provider;
|
package/types/index.d.ts
CHANGED
package/types/point.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CuiPoint = Readonly<[number, number]>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CuiActiveZone } from '@cuby-ui/cdk';
|
|
2
|
+
import type { PolymorpheusComponent, PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
+
export interface CuiPortalItem<C = any> {
|
|
4
|
+
readonly activeZone?: CuiActiveZone | null;
|
|
5
|
+
readonly appearance?: string;
|
|
6
|
+
readonly component: PolymorpheusComponent<any>;
|
|
7
|
+
readonly content: PolymorpheusContent<C>;
|
|
8
|
+
readonly context?: C;
|
|
9
|
+
}
|
package/utils/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function cuiOverrideOptions<T>(override: Partial<T>, fallback: T): (directive: T | null, options: T | null) => T;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AnimationOptions } from '@angular/animations';
|
|
2
|
+
export declare const CUI_ANIMATIONS_DEFAULT_DURATION = 300;
|
|
3
|
+
export declare function cuiToAnimationOptions(speed: number, easing?: string): AnimationOptions;
|
|
4
|
+
export declare function cuiGetDuration(speed: number): number;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CuiCheckboxComponent {
|
|
4
|
-
}
|
|
5
|
-
CuiCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
CuiCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiCheckboxComponent, selector: "input[type=\"checkbox\"][cuiCheckbox]", ngImport: i0, template: '', isInline: true, styles: [":host{position:relative;width:16px;height:16px;border:1px solid var(--cui-base-200);border-radius:4px;outline:none;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-0)}:host:before{content:\"\";position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;width:12px;height:12px;mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\"><path d=\"M10 3L4.5 8.5L2 6\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>')}:host:checked{border:none;background:var(--cui-info)}:host:checked:before{background:#fff}:host:focus{box-shadow:0 0 0 2px var(--cui-focus)}@media (hover: hover){:host:hover{border-color:var(--cui-base-400)}}:host:active{border-color:var(--cui-base-400);box-shadow:none}:host:disabled{cursor:not-allowed;border:1px solid var(--cui-base-200);background:var(--cui-base-100)}:host:disabled:checked:before{border:1px solid var(--cui-info);background:var(--cui-gray-500)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiCheckboxComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'input[type="checkbox"][cuiCheckbox]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;width:16px;height:16px;border:1px solid var(--cui-base-200);border-radius:4px;outline:none;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-0)}:host:before{content:\"\";position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;width:12px;height:12px;mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\"><path d=\"M10 3L4.5 8.5L2 6\" stroke=\"white\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>')}:host:checked{border:none;background:var(--cui-info)}:host:checked:before{background:#fff}:host:focus{box-shadow:0 0 0 2px var(--cui-focus)}@media (hover: hover){:host:hover{border-color:var(--cui-base-400)}}:host:active{border-color:var(--cui-base-400);box-shadow:none}:host:disabled{cursor:not-allowed;border:1px solid var(--cui-base-200);background:var(--cui-base-100)}:host:disabled:checked:before{border:1px solid var(--cui-info);background:var(--cui-gray-500)}\n"] }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2NoZWNrYm94L2NoZWNrYm94LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFuRSxNQUFNLE9BQU8sb0JBQW9COztrSEFBcEIsb0JBQW9CO3NHQUFwQixvQkFBb0IsNkVBSnJCLEVBQUU7NEZBSUQsb0JBQW9CO2tCQU5oQyxTQUFTOytCQUNFLHFDQUFxQyxZQUNyQyxFQUFFLG1CQUVLLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2lucHV0W3R5cGU9XCJjaGVja2JveFwiXVtjdWlDaGVja2JveF0nLFxuICB0ZW1wbGF0ZTogJycsXG4gIHN0eWxlVXJsczogWycuL2NoZWNrYm94LnN0eWxlLnNjc3MnXSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgQ3VpQ2hlY2tib3hDb21wb25lbnQge1xufVxuIl19
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@tinkoff/ng-polymorpheus";
|
|
5
|
-
import * as i3 from "../../button/button.component";
|
|
6
|
-
export class CuiDialogHeaderComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.closed = new EventEmitter();
|
|
9
|
-
}
|
|
10
|
-
onClose(event) {
|
|
11
|
-
this.closed.emit(event);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
CuiDialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiDialogHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
CuiDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiDialogHeaderComponent, selector: "header[cuiDialogHeader][heading]", inputs: { heading: "heading", headingContext: "headingContext", subheading: "subheading" }, outputs: { closed: "closed" }, ngImport: i0, template: "<div class=\"c-heading\">\n <ng-container *polymorpheusOutlet=\"heading as heading; context: headingContext\">{{ heading }}</ng-container>\n</div>\n<button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n icon=\"cuiIconClearSm\"\n class=\"c-button\"\n (click)=\"onClose($event)\"\n></button>\n<span *ngIf=\"subheading\">{{ subheading }}</span>\n<ng-content />\n", styles: [":host{padding:16px 24px;position:relative;display:flex;flex-direction:column;gap:4px;font-family:var(--cui-main-font);color:var(--cui-base-500)}.c-heading{font-weight:500;font-size:16px;line-height:24px;width:calc(100% - 36px);color:var(--cui-base-900)}.c-button{position:absolute;top:12px;right:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i3.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiDialogHeaderComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{ selector: 'header[cuiDialogHeader][heading]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"c-heading\">\n <ng-container *polymorpheusOutlet=\"heading as heading; context: headingContext\">{{ heading }}</ng-container>\n</div>\n<button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n icon=\"cuiIconClearSm\"\n class=\"c-button\"\n (click)=\"onClose($event)\"\n></button>\n<span *ngIf=\"subheading\">{{ subheading }}</span>\n<ng-content />\n", styles: [":host{padding:16px 24px;position:relative;display:flex;flex-direction:column;gap:4px;font-family:var(--cui-main-font);color:var(--cui-base-500)}.c-heading{font-weight:500;font-size:16px;line-height:24px;width:calc(100% - 36px);color:var(--cui-base-900)}.c-button{position:absolute;top:12px;right:12px}\n"] }]
|
|
19
|
-
}], propDecorators: { heading: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}], headingContext: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}], subheading: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], closed: [{
|
|
26
|
-
type: Output
|
|
27
|
-
}] } });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWhlYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZGlhbG9nL2RpYWxvZy1oZWFkZXIvZGlhbG9nLWhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZGlhbG9nL2RpYWxvZy1oZWFkZXIvZGlhbG9nLWhlYWRlci50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7O0FBVWhHLE1BQU0sT0FBTyx3QkFBd0I7SUFOck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HVzaFxufSlcbmV4cG9ydCBjbGFzcyBDdWlEaWFsb2dIZWFkZXJDb21wb25lbnQge1xuICBASW5wdXQoKVxuICBwdWJsaWMgaGVhZGluZyE6IFBvbHltb3JwaGV1c0NvbnRlbnQ7XG5cbiAgQElucHV0KClcbiAgcHVibGljIGhlYWRpbmdDb250ZXh0PzogUG9seW1vcnBoZXVzQ29udGV4dDxhbnk+WyckaW1wbGljaXQnXTtcblxuICBASW5wdXQoKVxuICBwdWJsaWMgc3ViaGVhZGluZz86IHN0cmluZztcblxuICBAT3V0cHV0KClcbiAgcHVibGljIHJlYWRvbmx5IGNsb3NlZCA9IG5ldyBFdmVudEVtaXR0ZXI8TW91c2VFdmVudD4oKTtcblxuICBwcm90ZWN0ZWQgb25DbG9zZShldmVudDogTW91c2VFdmVudCk6IHZvaWQge1xuICAgIHRoaXMuY2xvc2VkLmVtaXQoZXZlbnQpO1xuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiYy1oZWFkaW5nXCI+XG4gIDxuZy1jb250YWluZXIgKnBvbHltb3JwaGV1c091dGxldD1cImhlYWRpbmcgYXMgaGVhZGluZzsgY29udGV4dDogaGVhZGluZ0NvbnRleHRcIj57eyBoZWFkaW5nIH19PC9uZy1jb250YWluZXI+XG48L2Rpdj5cbjxidXR0b25cbiAgY3VpQnV0dG9uXG4gIHR5cGU9XCJidXR0b25cIlxuICBhcHBlYXJhbmNlPVwiZ2hvc3RcIlxuICBpY29uPVwiY3VpSWNvbkNsZWFyU21cIlxuICBjbGFzcz1cImMtYnV0dG9uXCJcbiAgKGNsaWNrKT1cIm9uQ2xvc2UoJGV2ZW50KVwiXG4+PC9idXR0b24+XG48c3BhbiAqbmdJZj1cInN1YmhlYWRpbmdcIj57eyBzdWJoZWFkaW5nIH19PC9zcGFuPlxuPG5nLWNvbnRlbnQgLz5cbiJdfQ==
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
4
|
-
import { CuiLetDirective } from '@cuby-ui/cdk';
|
|
5
|
-
import { CuiButtonModule } from '../button';
|
|
6
|
-
import { CuiDialogComponent } from './dialog.component';
|
|
7
|
-
import { CuiDialogsComponent } from './dialogs.component';
|
|
8
|
-
import { CuiDialogActionsComponent } from './dialog-actions/dialog-actions.component';
|
|
9
|
-
import { CuiDialogHeaderComponent } from './dialog-header/dialog-header.component';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export class CuiDialogModule {
|
|
12
|
-
}
|
|
13
|
-
CuiDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
-
CuiDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CuiDialogModule, declarations: [CuiDialogComponent,
|
|
15
|
-
CuiDialogsComponent,
|
|
16
|
-
CuiDialogActionsComponent,
|
|
17
|
-
CuiDialogHeaderComponent], imports: [CommonModule,
|
|
18
|
-
PolymorpheusModule,
|
|
19
|
-
CuiLetDirective,
|
|
20
|
-
CuiButtonModule], exports: [CuiDialogComponent,
|
|
21
|
-
CuiDialogsComponent,
|
|
22
|
-
CuiDialogActionsComponent,
|
|
23
|
-
CuiDialogHeaderComponent] });
|
|
24
|
-
CuiDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiDialogModule, imports: [CommonModule,
|
|
25
|
-
PolymorpheusModule,
|
|
26
|
-
CuiButtonModule] });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiDialogModule, decorators: [{
|
|
28
|
-
type: NgModule,
|
|
29
|
-
args: [{
|
|
30
|
-
imports: [
|
|
31
|
-
CommonModule,
|
|
32
|
-
PolymorpheusModule,
|
|
33
|
-
CuiLetDirective,
|
|
34
|
-
CuiButtonModule
|
|
35
|
-
],
|
|
36
|
-
declarations: [
|
|
37
|
-
CuiDialogComponent,
|
|
38
|
-
CuiDialogsComponent,
|
|
39
|
-
CuiDialogActionsComponent,
|
|
40
|
-
CuiDialogHeaderComponent
|
|
41
|
-
],
|
|
42
|
-
exports: [
|
|
43
|
-
CuiDialogComponent,
|
|
44
|
-
CuiDialogsComponent,
|
|
45
|
-
CuiDialogActionsComponent,
|
|
46
|
-
CuiDialogHeaderComponent
|
|
47
|
-
]
|
|
48
|
-
}]
|
|
49
|
-
}] });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9kaWFsb2cvZGlhbG9nLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRS9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDNUMsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDeEQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDMUQsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sM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rategy, Component, inject } from '@angular/core';
|
|
2
|
-
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import { CuiDestroyService } from '@cuby-ui/cdk';
|
|
4
|
-
import { takeUntil } from 'rxjs';
|
|
5
|
-
import { CuiThemeService } from '../../services';
|
|
6
|
-
import { CUI_ROOT_SELECTOR } from './root.options';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../dialog/dialogs.component";
|
|
9
|
-
import * as i2 from "../alert/alerts.component";
|
|
10
|
-
export class CuiRootComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.document = inject(DOCUMENT);
|
|
13
|
-
this.theme$ = inject(CuiThemeService);
|
|
14
|
-
this.destroy$ = inject(CuiDestroyService);
|
|
15
|
-
}
|
|
16
|
-
ngOnInit() {
|
|
17
|
-
this.initThemeSubscription();
|
|
18
|
-
}
|
|
19
|
-
initThemeSubscription() {
|
|
20
|
-
this.theme$
|
|
21
|
-
.pipe(takeUntil(this.destroy$))
|
|
22
|
-
.subscribe(theme => this.document.documentElement.setAttribute('cuiTheme', theme));
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
CuiRootComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRootComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
CuiRootComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiRootComponent, selector: "cui-root", providers: [CuiDestroyService], ngImport: i0, template: "<div class=\"c-content\">\n <ng-content />\n</div>\n<cui-dialogs />\n<cui-alerts />\n", styles: [".c-content{overflow:auto;min-height:100vh;isolation:isolate}\n"], dependencies: [{ kind: "component", type: i1.CuiDialogsComponent, selector: "cui-dialogs" }, { kind: "component", type: i2.CuiAlertsComponent, selector: "cui-alerts" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRootComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: CUI_ROOT_SELECTOR, changeDetection: ChangeDetectionStrategy.OnPush, providers: [CuiDestroyService], template: "<div class=\"c-content\">\n <ng-content />\n</div>\n<cui-dialogs />\n<cui-alerts />\n", styles: [".c-content{overflow:auto;min-height:100vh;isolation:isolate}\n"] }]
|
|
30
|
-
}] });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvcm9vdC9yb290LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9yb290L3Jvb3QudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ2pELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFFakMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7O0FBU25ELE1BQU0sT0FBTyxnQkFBZ0I7SUFQN0I7UUFRbUIsYUFBUSxHQUFHLE1BQU0sQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUM1QixXQUFNLEdBQUc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CAvPlxuPC9kaXY+XG48Y3VpLWRpYWxvZ3MgLz5cbjxjdWktYWxlcnRzIC8+XG4iXX0=
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CuiRootComponent } from './root.component';
|
|
4
|
-
import { CuiDialogModule } from '../dialog';
|
|
5
|
-
import { CuiAlertModule } from '../alert';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class CuiRootModule {
|
|
8
|
-
}
|
|
9
|
-
CuiRootModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRootModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
CuiRootModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CuiRootModule, declarations: [CuiRootComponent], imports: [CommonModule,
|
|
11
|
-
CuiDialogModule,
|
|
12
|
-
CuiAlertModule], exports: [CuiRootComponent] });
|
|
13
|
-
CuiRootModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRootModule, imports: [CommonModule,
|
|
14
|
-
CuiDialogModule,
|
|
15
|
-
CuiAlertModule] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRootModule, decorators: [{
|
|
17
|
-
type: NgModule,
|
|
18
|
-
args: [{
|
|
19
|
-
imports: [
|
|
20
|
-
CommonModule,
|
|
21
|
-
CuiDialogModule,
|
|
22
|
-
CuiAlertModule
|
|
23
|
-
],
|
|
24
|
-
declarations: [CuiRootComponent],
|
|
25
|
-
exports: [CuiRootComponent]
|
|
26
|
-
}]
|
|
27
|
-
}] });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vdC5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jvb3QuY29tcG9uZW50JztcbmltcG9ydCB7IEN1aURpYWxvZ01vZHVsZSB9IGZyb20gJy4uL2RpYWxvZyc7XG5pbXBvcnQgeyBDdWlBbGVydE1vZHVsZSB9IGZyb20gJy4uL2FsZXJ0JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBDdWlEaWFsb2dNb2R1bGUsXG4gICAgQ3VpQWxlcnRNb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbQ3VpUm9vdENvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtDdWlSb290Q29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBDdWlSb290TW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './text-field-controller';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2RpcmVjdGl2ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC1jb250cm9sbGVyJztcbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './theme.options';
|
|
2
|
-
export * from './theme.service';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NlcnZpY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGhlbWUub3B0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL3RoZW1lLnNlcnZpY2UnOyJdfQ==
|
package/esm2020/types/index.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './appearance';
|
|
2
|
-
export * from './hint-type';
|
|
3
|
-
export * from './position';
|
|
4
|
-
export * from './resizing';
|
|
5
|
-
export * from './shape';
|
|
6
|
-
export * from './size';
|
|
7
|
-
export * from './status';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hcHBlYXJhbmNlJztcbmV4cG9ydCAqIGZyb20gJy4vaGludC10eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vcG9zaXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9yZXNpemluZyc7XG5leHBvcnQgKiBmcm9tICcuL3NoYXBlJztcbmV4cG9ydCAqIGZyb20gJy4vc2l6ZSc7XG5leHBvcnQgKiBmcm9tICcuL3N0YXR1cyc7XG4iXX0=
|
package/esm2020/utils/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './format';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtYXQnXG4iXX0=
|