@cuby-ui/core 0.0.163 → 0.0.164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
- package/components/accordion/accordion.component.d.ts +5 -5
- package/components/accordion/accordion.module.d.ts +11 -11
- package/components/accordion/index.d.ts +3 -3
- package/components/alert/alert.component.d.ts +13 -13
- package/components/alert/alert.interfaces.d.ts +9 -9
- package/components/alert/alert.module.d.ts +11 -11
- package/components/alert/alert.service.d.ts +7 -7
- package/components/alert/alert.tokens.d.ts +15 -15
- package/components/alert/alert.types.d.ts +3 -3
- package/components/alert/alerts.component.d.ts +17 -17
- package/components/alert/index.d.ts +8 -8
- package/components/badge/badge.component.d.ts +10 -10
- package/components/badge/badge.module.d.ts +8 -8
- package/components/badge/badge.options.d.ts +8 -8
- package/components/badge/index.d.ts +2 -2
- package/components/banner/banner.component.d.ts +21 -21
- package/components/banner/banner.module.d.ts +11 -11
- package/components/banner/banner.options.d.ts +13 -13
- package/components/banner/index.d.ts +3 -3
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
- package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
- package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
- package/components/breadcrumbs/index.d.ts +3 -3
- package/components/button/button.component.d.ts +30 -30
- package/components/button/button.module.d.ts +9 -9
- package/components/button/button.options.d.ts +9 -9
- package/components/button/index.d.ts +3 -3
- package/components/button-group/button-group.component.d.ts +5 -5
- package/components/button-group/button-group.module.d.ts +7 -7
- package/components/button-group/index.d.ts +2 -2
- package/components/checkbox/checkbox.component.d.ts +5 -5
- package/components/checkbox/checkbox.module.d.ts +7 -7
- package/components/checkbox/index.d.ts +2 -2
- package/components/context-menu/context-menu.component.d.ts +39 -39
- package/components/context-menu/context-menu.module.d.ts +9 -9
- package/components/context-menu/index.d.ts +2 -2
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
- package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
- package/components/dialog/dialog.component.d.ts +33 -33
- package/components/dialog/dialog.interfaces.d.ts +10 -10
- package/components/dialog/dialog.module.d.ts +14 -14
- package/components/dialog/dialog.service.d.ts +7 -7
- package/components/dialog/dialog.tokens.d.ts +8 -8
- package/components/dialog/dialogs.component.d.ts +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 +55 -55
- package/components/input-number/input-number.module.d.ts +11 -11
- package/components/input-number/input-number.options.d.ts +9 -9
- package/components/input-password/index.d.ts +2 -2
- package/components/input-password/input-password.component.d.ts +31 -31
- package/components/input-password/input-password.module.d.ts +11 -11
- package/components/input-text/index.d.ts +2 -2
- package/components/input-text/input-text.component.d.ts +31 -31
- package/components/input-text/input-text.module.d.ts +11 -11
- package/components/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 +13 -13
- package/components/notification/notification.module.d.ts +10 -10
- package/components/notification/notification.options.d.ts +13 -13
- package/components/radio/index.d.ts +2 -2
- package/components/radio/radio.component.d.ts +5 -5
- package/components/radio/radio.module.d.ts +7 -7
- package/components/root/index.d.ts +3 -3
- package/components/root/root.component.d.ts +11 -11
- package/components/root/root.module.d.ts +10 -10
- package/components/root/root.options.d.ts +1 -1
- package/components/select/index.d.ts +2 -2
- package/components/select/select.component.d.ts +52 -52
- package/components/select/select.module.d.ts +10 -10
- package/components/svg/index.d.ts +2 -2
- package/components/svg/svg.component.d.ts +16 -16
- package/components/svg/svg.module.d.ts +8 -8
- package/components/tabs/index.d.ts +3 -3
- package/components/tabs/tab/index.d.ts +1 -1
- package/components/tabs/tab/tab.component.d.ts +8 -8
- package/components/tabs/tabs.component.d.ts +16 -16
- package/components/tabs/tabs.module.d.ts +8 -8
- package/components/textarea/index.d.ts +2 -2
- package/components/textarea/textarea.component.d.ts +10 -10
- package/components/textarea/textarea.module.d.ts +7 -7
- package/components/toggle/index.d.ts +2 -2
- package/components/toggle/toggle.component.d.ts +5 -5
- package/components/toggle/toggle.module.d.ts +7 -7
- package/directives/index.d.ts +1 -1
- package/directives/text-field-controller/index.d.ts +8 -8
- package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
- package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field.controller.d.ts +20 -20
- package/esm2020/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
- package/esm2020/components/accordion/accordion.component.mjs +11 -11
- package/esm2020/components/accordion/accordion.module.mjs +37 -37
- package/esm2020/components/accordion/index.mjs +4 -4
- package/esm2020/components/alert/alert.component.mjs +36 -36
- package/esm2020/components/alert/alert.interfaces.mjs +2 -2
- package/esm2020/components/alert/alert.module.mjs +40 -40
- package/esm2020/components/alert/alert.service.mjs +17 -17
- package/esm2020/components/alert/alert.tokens.mjs +19 -19
- package/esm2020/components/alert/alert.types.mjs +2 -2
- package/esm2020/components/alert/alerts.component.mjs +36 -36
- package/esm2020/components/alert/index.mjs +9 -9
- package/esm2020/components/badge/badge.component.mjs +31 -31
- package/esm2020/components/badge/badge.module.mjs +18 -18
- package/esm2020/components/badge/badge.options.mjs +8 -8
- package/esm2020/components/badge/index.mjs +3 -3
- package/esm2020/components/banner/banner.component.mjs +68 -68
- package/esm2020/components/banner/banner.module.mjs +31 -31
- package/esm2020/components/banner/banner.options.mjs +6 -6
- package/esm2020/components/banner/index.mjs +4 -4
- package/esm2020/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
- package/esm2020/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
- package/esm2020/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
- package/esm2020/components/breadcrumbs/index.mjs +4 -4
- package/esm2020/components/button/button.component.mjs +104 -104
- package/esm2020/components/button/button.module.mjs +24 -24
- package/esm2020/components/button/button.options.mjs +10 -10
- package/esm2020/components/button/index.mjs +4 -4
- package/esm2020/components/button-group/button-group.component.mjs +11 -11
- package/esm2020/components/button-group/button-group.module.mjs +16 -16
- package/esm2020/components/button-group/index.mjs +3 -3
- package/esm2020/components/checkbox/checkbox.component.mjs +11 -11
- package/esm2020/components/checkbox/checkbox.module.mjs +16 -16
- package/esm2020/components/checkbox/index.mjs +3 -3
- package/esm2020/components/context-menu/context-menu.component.mjs +146 -146
- package/esm2020/components/context-menu/context-menu.module.mjs +24 -24
- package/esm2020/components/context-menu/index.mjs +3 -3
- package/esm2020/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
- package/esm2020/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
- package/esm2020/components/dialog/dialog.component.mjs +64 -64
- package/esm2020/components/dialog/dialog.interfaces.mjs +2 -2
- package/esm2020/components/dialog/dialog.module.mjs +50 -50
- package/esm2020/components/dialog/dialog.service.mjs +17 -17
- package/esm2020/components/dialog/dialog.tokens.mjs +11 -11
- package/esm2020/components/dialog/dialogs.component.mjs +51 -51
- package/esm2020/components/dialog/index.mjs +9 -9
- package/esm2020/components/form-field/form-field.component.mjs +11 -11
- package/esm2020/components/form-field/form-field.module.mjs +16 -16
- package/esm2020/components/form-field/index.mjs +3 -3
- package/esm2020/components/hint/hint.component.mjs +19 -19
- package/esm2020/components/hint/hint.module.mjs +16 -16
- package/esm2020/components/hint/index.mjs +3 -3
- package/esm2020/components/icon-button/icon-button.component.mjs +32 -32
- package/esm2020/components/icon-button/icon-button.module.mjs +24 -24
- package/esm2020/components/icon-button/index.mjs +3 -3
- package/esm2020/components/index.mjs +27 -27
- package/esm2020/components/input-number/index.mjs +3 -3
- package/esm2020/components/input-number/input-number.component.mjs +204 -204
- package/esm2020/components/input-number/input-number.module.mjs +33 -33
- package/esm2020/components/input-number/input-number.options.mjs +11 -11
- package/esm2020/components/input-password/index.mjs +3 -3
- package/esm2020/components/input-password/input-password.component.mjs +89 -89
- package/esm2020/components/input-password/input-password.module.mjs +33 -33
- package/esm2020/components/input-text/index.mjs +3 -3
- package/esm2020/components/input-text/input-text.component.mjs +87 -87
- package/esm2020/components/input-text/input-text.module.mjs +33 -33
- package/esm2020/components/input-time/index.mjs +4 -4
- package/esm2020/components/input-time/input-time.component.mjs +99 -99
- package/esm2020/components/input-time/input-time.module.mjs +36 -36
- package/esm2020/components/input-time/input-time.options.mjs +8 -8
- package/esm2020/components/label/index.mjs +3 -3
- package/esm2020/components/label/label.component.mjs +17 -17
- package/esm2020/components/label/label.module.mjs +18 -18
- package/esm2020/components/notification/index.mjs +4 -4
- package/esm2020/components/notification/notification.component.mjs +51 -51
- package/esm2020/components/notification/notification.module.mjs +27 -27
- package/esm2020/components/notification/notification.options.mjs +6 -6
- package/esm2020/components/radio/index.mjs +3 -3
- package/esm2020/components/radio/radio.component.mjs +11 -11
- package/esm2020/components/radio/radio.module.mjs +16 -16
- package/esm2020/components/root/index.mjs +4 -4
- package/esm2020/components/root/root.component.mjs +31 -31
- package/esm2020/components/root/root.module.mjs +28 -28
- package/esm2020/components/root/root.options.mjs +1 -1
- package/esm2020/components/select/index.mjs +3 -3
- package/esm2020/components/select/select.component.mjs +167 -167
- package/esm2020/components/select/select.module.mjs +29 -29
- package/esm2020/components/svg/index.mjs +3 -3
- package/esm2020/components/svg/svg.component.mjs +50 -50
- package/esm2020/components/svg/svg.module.mjs +18 -18
- package/esm2020/components/tabs/index.mjs +4 -4
- package/esm2020/components/tabs/tab/index.mjs +1 -1
- package/esm2020/components/tabs/tab/tab.component.mjs +21 -21
- package/esm2020/components/tabs/tabs.component.mjs +49 -49
- package/esm2020/components/tabs/tabs.module.mjs +18 -18
- package/esm2020/components/textarea/index.mjs +3 -3
- package/esm2020/components/textarea/textarea.component.mjs +35 -35
- package/esm2020/components/textarea/textarea.module.mjs +16 -16
- package/esm2020/components/toggle/index.mjs +3 -3
- package/esm2020/components/toggle/toggle.component.mjs +11 -11
- package/esm2020/components/toggle/toggle.module.mjs +16 -16
- package/esm2020/cuby-ui-core.mjs +4 -4
- package/esm2020/directives/index.mjs +2 -2
- package/esm2020/directives/text-field-controller/index.mjs +9 -9
- package/esm2020/directives/text-field-controller/text-field-controller.module.mjs +40 -40
- package/esm2020/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-id.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-size.directive.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field.controller.mjs +25 -25
- package/esm2020/index.mjs +7 -7
- package/esm2020/interfaces/context-menu-item.mjs +2 -2
- package/esm2020/interfaces/index.mjs +3 -3
- package/esm2020/interfaces/option.mjs +2 -2
- package/esm2020/services/index.mjs +3 -3
- package/esm2020/services/theme.options.mjs +6 -6
- package/esm2020/services/theme.service.mjs +30 -30
- package/esm2020/types/appearance.mjs +2 -2
- package/esm2020/types/hint-type.mjs +2 -2
- package/esm2020/types/index.mjs +8 -8
- package/esm2020/types/position.mjs +2 -2
- package/esm2020/types/resizing.mjs +2 -2
- package/esm2020/types/shape.mjs +2 -2
- package/esm2020/types/size.mjs +2 -2
- package/esm2020/types/status.mjs +2 -2
- package/esm2020/utils/format/index.mjs +3 -3
- package/esm2020/utils/format/remove-spaces.mjs +4 -4
- package/esm2020/utils/format/replace.mjs +5 -5
- package/esm2020/utils/index.mjs +2 -2
- package/fesm2015/cuby-ui-core.mjs +2162 -2162
- package/fesm2015/cuby-ui-core.mjs.map +1 -1
- package/fesm2020/cuby-ui-core.mjs +2160 -2160
- package/fesm2020/cuby-ui-core.mjs.map +1 -1
- package/fonts/Inter-Bold.svg +25443 -25443
- package/fonts/Inter-Medium.svg +25400 -25400
- package/fonts/Inter-Regular.svg +24341 -24341
- package/fonts/Inter-SemiBold.svg +25459 -25459
- package/index.d.ts +6 -6
- package/interfaces/context-menu-item.d.ts +7 -7
- package/interfaces/index.d.ts +2 -2
- package/interfaces/option.d.ts +5 -5
- package/package.json +3 -3
- package/services/index.d.ts +2 -2
- package/services/theme.options.d.ts +5 -5
- package/services/theme.service.d.ts +12 -12
- package/styles/fonts.scss +51 -51
- package/styles/global.scss +9 -9
- package/styles/mixins/buttons.scss +13 -13
- package/styles/mixins/headings.scss +115 -115
- package/styles/mixins/inputs.scss +91 -91
- package/styles/mixins/lists.scss +5 -5
- package/styles/mixins/paddings.scss +35 -35
- package/styles/mixins/shadows.scss +38 -38
- package/styles/mixins/texts.scss +225 -225
- package/styles/theme.scss +385 -385
- package/styles/variables/colors.scss +253 -253
- package/types/appearance.d.ts +8 -8
- package/types/hint-type.d.ts +1 -1
- package/types/index.d.ts +7 -7
- package/types/position.d.ts +2 -2
- package/types/resizing.d.ts +2 -2
- package/types/shape.d.ts +1 -1
- package/types/size.d.ts +4 -4
- package/types/status.d.ts +1 -1
- package/utils/format/index.d.ts +2 -2
- package/utils/format/remove-spaces.d.ts +1 -1
- package/utils/format/replace.d.ts +1 -1
- package/utils/index.d.ts +1 -1
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, inject, Input, Output } from '@angular/core';
|
|
2
|
-
import { CUI_NOTIFICATION_OPTIONS } from './notification.options';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@cuby-ui/cdk";
|
|
6
|
-
import * as i3 from "../svg/svg.component";
|
|
7
|
-
export class CuiNotificationComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.cuiNotificationOptions = inject(CUI_NOTIFICATION_OPTIONS);
|
|
10
|
-
this.ICON_OPTIONS = {
|
|
11
|
-
info: {
|
|
12
|
-
icon: 'cuiIconInfo',
|
|
13
|
-
color: 'var(--c-info-icon-color)'
|
|
14
|
-
},
|
|
15
|
-
success: {
|
|
16
|
-
icon: 'cuiIconCheckCircle',
|
|
17
|
-
color: 'var(--cui-green-500)'
|
|
18
|
-
},
|
|
19
|
-
alert: {
|
|
20
|
-
icon: 'cuiIconAlertTriangle',
|
|
21
|
-
color: 'var(--cui-yellow-400)'
|
|
22
|
-
},
|
|
23
|
-
error: {
|
|
24
|
-
icon: 'cuiIconXCircle',
|
|
25
|
-
color: 'var(--cui-danger)'
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
this.status = this.cuiNotificationOptions.status;
|
|
29
|
-
this.isCloseable = false;
|
|
30
|
-
this.closed = new EventEmitter();
|
|
31
|
-
}
|
|
32
|
-
onClose() {
|
|
33
|
-
this.closed.next();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
CuiNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
CuiNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiNotificationComponent, selector: "cui-notification", inputs: { status: "status", isCloseable: "isCloseable" }, outputs: { closed: "closed" }, host: { properties: { "attr.data-status": "this.status" } }, ngImport: i0, template: "\
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationComponent, decorators: [{
|
|
39
|
-
type: Component,
|
|
40
|
-
args: [{ selector: 'cui-notification', changeDetection: ChangeDetectionStrategy.OnPush, template: "\
|
|
41
|
-
}], propDecorators: { status: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}, {
|
|
44
|
-
type: HostBinding,
|
|
45
|
-
args: ['attr.data-status']
|
|
46
|
-
}], isCloseable: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], closed: [{
|
|
49
|
-
type: Output
|
|
50
|
-
}] } });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, inject, Input, Output } from '@angular/core';
|
|
2
|
+
import { CUI_NOTIFICATION_OPTIONS } from './notification.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@cuby-ui/cdk";
|
|
6
|
+
import * as i3 from "../svg/svg.component";
|
|
7
|
+
export class CuiNotificationComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.cuiNotificationOptions = inject(CUI_NOTIFICATION_OPTIONS);
|
|
10
|
+
this.ICON_OPTIONS = {
|
|
11
|
+
info: {
|
|
12
|
+
icon: 'cuiIconInfo',
|
|
13
|
+
color: 'var(--c-info-icon-color)'
|
|
14
|
+
},
|
|
15
|
+
success: {
|
|
16
|
+
icon: 'cuiIconCheckCircle',
|
|
17
|
+
color: 'var(--cui-green-500)'
|
|
18
|
+
},
|
|
19
|
+
alert: {
|
|
20
|
+
icon: 'cuiIconAlertTriangle',
|
|
21
|
+
color: 'var(--cui-yellow-400)'
|
|
22
|
+
},
|
|
23
|
+
error: {
|
|
24
|
+
icon: 'cuiIconXCircle',
|
|
25
|
+
color: 'var(--cui-danger)'
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
this.status = this.cuiNotificationOptions.status;
|
|
29
|
+
this.isCloseable = false;
|
|
30
|
+
this.closed = new EventEmitter();
|
|
31
|
+
}
|
|
32
|
+
onClose() {
|
|
33
|
+
this.closed.next();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
CuiNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
CuiNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiNotificationComponent, selector: "cui-notification", inputs: { status: "status", isCloseable: "isCloseable" }, outputs: { closed: "closed" }, host: { properties: { "attr.data-status": "this.status" } }, ngImport: i0, template: "\n<cui-svg\n class=\"c-icon\"\n *cuiLet=\"ICON_OPTIONS[status] as iconOption\"\n [icon]=\"iconOption.icon\"\n [color]=\"iconOption.color\"\n></cui-svg>\n<div class=\"c-content\">\n <ng-content></ng-content>\n</div>\n<button\n *ngIf=\"isCloseable\"\n class=\"c-button\"\n (click)=\"onClose()\"\n>\n <cui-svg\n icon=\"cuiIconX\"\n color=\"var(--cui-gray-0)\"\n />\n</button>\n", styles: [":host{--c-info-icon-color: var(--cui-blue-600);padding:16px;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:flex-start;border-radius:12px;background:var(--cui-gray-800);color:var(--cui-gray-0);font-family:var(--cui-main-font)}:host-context([cuiTheme=dark]){--c-info-icon-color: var(--cui-light-blue-400)}:host-context([cuiTheme=dark])[data-status=info]{background:var(--cui-blue-900)}:host-context([cuiTheme=dark])[data-status=success]{background:var(--cui-green-900)}:host-context([cuiTheme=dark])[data-status=alert]{background:var(--cui-yellow-900)}:host-context([cuiTheme=dark])[data-status=error]{background:var(--cui-red-900)}.c-content{flex:1;margin-left:12px;margin-right:16px;margin-top:5px;overflow-wrap:anywhere}.c-icon{margin-top:6px}.c-button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;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}.c-button:hover{background:rgba(255,255,255,.2)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CuiLetDirective, selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "component", type: i3.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationComponent, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{ selector: 'cui-notification', changeDetection: ChangeDetectionStrategy.OnPush, template: "\n<cui-svg\n class=\"c-icon\"\n *cuiLet=\"ICON_OPTIONS[status] as iconOption\"\n [icon]=\"iconOption.icon\"\n [color]=\"iconOption.color\"\n></cui-svg>\n<div class=\"c-content\">\n <ng-content></ng-content>\n</div>\n<button\n *ngIf=\"isCloseable\"\n class=\"c-button\"\n (click)=\"onClose()\"\n>\n <cui-svg\n icon=\"cuiIconX\"\n color=\"var(--cui-gray-0)\"\n />\n</button>\n", styles: [":host{--c-info-icon-color: var(--cui-blue-600);padding:16px;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:flex-start;border-radius:12px;background:var(--cui-gray-800);color:var(--cui-gray-0);font-family:var(--cui-main-font)}:host-context([cuiTheme=dark]){--c-info-icon-color: var(--cui-light-blue-400)}:host-context([cuiTheme=dark])[data-status=info]{background:var(--cui-blue-900)}:host-context([cuiTheme=dark])[data-status=success]{background:var(--cui-green-900)}:host-context([cuiTheme=dark])[data-status=alert]{background:var(--cui-yellow-900)}:host-context([cuiTheme=dark])[data-status=error]{background:var(--cui-red-900)}.c-content{flex:1;margin-left:12px;margin-right:16px;margin-top:5px;overflow-wrap:anywhere}.c-icon{margin-top:6px}.c-button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;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}.c-button:hover{background:rgba(255,255,255,.2)}\n"] }]
|
|
41
|
+
}], propDecorators: { status: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}, {
|
|
44
|
+
type: HostBinding,
|
|
45
|
+
args: ['attr.data-status']
|
|
46
|
+
}], isCloseable: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], closed: [{
|
|
49
|
+
type: Output
|
|
50
|
+
}] } });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9ub3RpZmljYXRpb24vbm90aWZpY2F0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9ub3RpZmljYXRpb24vbm90aWZpY2F0aW9uLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ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vblxuICAqbmdJZj1cImlzQ2xvc2VhYmxlXCJcbiAgY2xhc3M9XCJjLWJ1dHRvblwiXG4gIChjbGljayk9XCJvbkNsb3NlKClcIlxuPlxuICA8Y3VpLXN2Z1xuICAgIGljb249XCJjdWlJY29uWFwiXG4gICAgY29sb3I9XCJ2YXIoLS1jdWktZ3JheS0wKVwiXG4gIC8+XG48L2J1dHRvbj5cbiJdfQ==
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CuiLetDirective } from '@cuby-ui/cdk';
|
|
4
|
-
import { CuiNotificationComponent } from './notification.component';
|
|
5
|
-
import { CuiSvgModule } from '../svg';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class CuiNotificationModule {
|
|
8
|
-
}
|
|
9
|
-
CuiNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
CuiNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationModule, declarations: [CuiNotificationComponent], imports: [CommonModule,
|
|
11
|
-
CuiLetDirective,
|
|
12
|
-
CuiSvgModule], exports: [CuiNotificationComponent] });
|
|
13
|
-
CuiNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationModule, imports: [CommonModule,
|
|
14
|
-
CuiSvgModule] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
imports: [
|
|
19
|
-
CommonModule,
|
|
20
|
-
CuiLetDirective,
|
|
21
|
-
CuiSvgModule
|
|
22
|
-
],
|
|
23
|
-
declarations: [CuiNotificationComponent],
|
|
24
|
-
exports: [CuiNotificationComponent]
|
|
25
|
-
}]
|
|
26
|
-
}] });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CuiLetDirective } from '@cuby-ui/cdk';
|
|
4
|
+
import { CuiNotificationComponent } from './notification.component';
|
|
5
|
+
import { CuiSvgModule } from '../svg';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class CuiNotificationModule {
|
|
8
|
+
}
|
|
9
|
+
CuiNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
CuiNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationModule, declarations: [CuiNotificationComponent], imports: [CommonModule,
|
|
11
|
+
CuiLetDirective,
|
|
12
|
+
CuiSvgModule], exports: [CuiNotificationComponent] });
|
|
13
|
+
CuiNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationModule, imports: [CommonModule,
|
|
14
|
+
CuiSvgModule] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiNotificationModule, decorators: [{
|
|
16
|
+
type: NgModule,
|
|
17
|
+
args: [{
|
|
18
|
+
imports: [
|
|
19
|
+
CommonModule,
|
|
20
|
+
CuiLetDirective,
|
|
21
|
+
CuiSvgModule
|
|
22
|
+
],
|
|
23
|
+
declarations: [CuiNotificationComponent],
|
|
24
|
+
exports: [CuiNotificationComponent]
|
|
25
|
+
}]
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceM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m9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgQ3VpTGV0RGlyZWN0aXZlIH0gZnJvbSAnQGN1YnktdWkvY2RrJztcblxuaW1wb3J0IHsgQ3VpTm90aWZpY2F0aW9uQ29tcG9uZW50IH0gZnJvbSAnLi9ub3RpZmljYXRpb24uY29tcG9uZW50JztcbmltcG9ydCB7IEN1aVN2Z01vZHVsZSB9IGZyb20gJy4uL3N2Zyc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgQ3VpTGV0RGlyZWN0aXZlLFxuICAgIEN1aVN2Z01vZHVsZVxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtDdWlOb3RpZmljYXRpb25Db21wb25lbnRdLFxuICBleHBvcnRzOiBbQ3VpTm90aWZpY2F0aW9uQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBDdWlOb3RpZmljYXRpb25Nb2R1bGUge1xufVxuIl19
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cuiCreateToken } from '@cuby-ui/cdk';
|
|
2
|
-
export const CUI_NOTIFICATION_DEFAULT_OPTIONS = {
|
|
3
|
-
status: 'info'
|
|
4
|
-
};
|
|
5
|
-
export const CUI_NOTIFICATION_OPTIONS = cuiCreateToken(CUI_NOTIFICATION_DEFAULT_OPTIONS);
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { cuiCreateToken } from '@cuby-ui/cdk';
|
|
2
|
+
export const CUI_NOTIFICATION_DEFAULT_OPTIONS = {
|
|
3
|
+
status: 'info'
|
|
4
|
+
};
|
|
5
|
+
export const CUI_NOTIFICATION_OPTIONS = cuiCreateToken(CUI_NOTIFICATION_DEFAULT_OPTIONS);
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLm9wdGlvbnMuanMiLCJzb3VyY2VSb290Ij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PVElGSUNBVElPTl9ERUZBVUxUX09QVElPTlMpO1xuIl19
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './radio.module';
|
|
2
|
-
export * from './radio.component';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './radio.module';
|
|
2
|
+
export * from './radio.component';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvcmFkaW8vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yYWRpby5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9yYWRpby5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CuiRadioComponent {
|
|
4
|
-
}
|
|
5
|
-
CuiRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
CuiRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiRadioComponent, selector: "input[type=\"radio\"][cuiRadio]", ngImport: i0, template: '', isInline: true, styles: [":host{position:relative;width:16px;height:16px;border:1px solid var(--cui-base-200);border-radius:50%;outline:none;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-0)}:host:before{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%}: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:checked{border:2px solid var(--cui-info)}:host:checked:before{background:var(--cui-info)}:host:disabled{cursor:not-allowed;border:1px solid var(--cui-base-200);background:var(--cui-base-100)}:host:disabled:checked{border-width:2px}:host:disabled:checked:before{background:var(--cui-base-200)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'input[type="radio"][cuiRadio]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;width:16px;height:16px;border:1px solid var(--cui-base-200);border-radius:50%;outline:none;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-0)}:host:before{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%}: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:checked{border:2px solid var(--cui-info)}:host:checked:before{background:var(--cui-info)}:host:disabled{cursor:not-allowed;border:1px solid var(--cui-base-200);background:var(--cui-base-100)}:host:disabled:checked{border-width:2px}:host:disabled:checked:before{background:var(--cui-base-200)}\n"] }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CuiRadioComponent {
|
|
4
|
+
}
|
|
5
|
+
CuiRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
CuiRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiRadioComponent, selector: "input[type=\"radio\"][cuiRadio]", ngImport: i0, template: '', isInline: true, styles: [":host{position:relative;width:16px;height:16px;border:1px solid var(--cui-base-200);border-radius:50%;outline:none;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-0)}:host:before{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%}: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:checked{border:2px solid var(--cui-info)}:host:checked:before{background:var(--cui-info)}:host:disabled{cursor:not-allowed;border:1px solid var(--cui-base-200);background:var(--cui-base-100)}:host:disabled:checked{border-width:2px}:host:disabled:checked:before{background:var(--cui-base-200)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ selector: 'input[type="radio"][cuiRadio]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;width:16px;height:16px;border:1px solid var(--cui-base-200);border-radius:50%;outline:none;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-0)}:host:before{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%}: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:checked{border:2px solid var(--cui-info)}:host:checked:before{background:var(--cui-info)}:host:disabled{cursor:not-allowed;border:1px solid var(--cui-base-200);background:var(--cui-base-100)}:host:disabled:checked{border-width:2px}:host:disabled:checked:before{background:var(--cui-base-200)}\n"] }]
|
|
10
|
+
}] });
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3JhZGlvL3JhZGlvLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFuRSxNQUFNLE9BQU8saUJBQWlCOzsrR0FBakIsaUJBQWlCO21HQUFqQixpQkFBaUIsdUVBSmxCLEVBQUU7NEZBSUQsaUJBQWlCO2tCQU43QixTQUFTOytCQUNFLCtCQUErQixZQUMvQixFQUFFLG1CQUVLLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2lucHV0W3R5cGU9XCJyYWRpb1wiXVtjdWlSYWRpb10nLFxuICB0ZW1wbGF0ZTogJycsXG4gIHN0eWxlVXJsczogWycuL3JhZGlvLnN0eWxlLnNjc3MnXSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgQ3VpUmFkaW9Db21wb25lbnQge1xufVxuIl19
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CuiRadioComponent } from './radio.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class CuiRadioModule {
|
|
5
|
-
}
|
|
6
|
-
CuiRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
-
CuiRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioModule, declarations: [CuiRadioComponent], exports: [CuiRadioComponent] });
|
|
8
|
-
CuiRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioModule });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
declarations: [CuiRadioComponent],
|
|
13
|
-
exports: [CuiRadioComponent]
|
|
14
|
-
}]
|
|
15
|
-
}] });
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiRadioComponent } from './radio.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CuiRadioModule {
|
|
5
|
+
}
|
|
6
|
+
CuiRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
CuiRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioModule, declarations: [CuiRadioComponent], exports: [CuiRadioComponent] });
|
|
8
|
+
CuiRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiRadioModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [CuiRadioComponent],
|
|
13
|
+
exports: [CuiRadioComponent]
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3JhZGlvL3JhZGlvLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDOztBQU10RCxNQUFNLE9BQU8sY0FBYzs7NEdBQWQsY0FBYzs2R0FBZCxjQUFjLGlCQUhWLGlCQUFpQixhQUN0QixpQkFBaUI7NkdBRWhCLGNBQWM7NEZBQWQsY0FBYztrQkFKMUIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQztvQkFDakMsT0FBTyxFQUFFLENBQUMsaUJBQWlCLENBQUM7aUJBQzdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgQ3VpUmFkaW9Db21wb25lbnQgfSBmcm9tICcuL3JhZGlvLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0N1aVJhZGlvQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW0N1aVJhZGlvQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBDdWlSYWRpb01vZHVsZSB7XG59XG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './root.component';
|
|
2
|
-
export * from './root.module';
|
|
3
|
-
export * from './root.options';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './root.component';
|
|
2
|
+
export * from './root.module';
|
|
3
|
+
export * from './root.options';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvcm9vdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsZ0JBQWdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Jvb3QuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcm9vdC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9yb290Lm9wdGlvbnMnO1xuIl19
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, 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\">\
|
|
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\">\
|
|
30
|
-
}] });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, 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{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{isolation:isolate}\n"] }]
|
|
30
|
+
}] });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8u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pY2VdXG59KVxuZXhwb3J0IGNsYXNzIEN1aVJvb3RDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuICBwcml2YXRlIHJlYWRvbmx5IGRvY3VtZW50ID0gaW5qZWN0KERPQ1VNRU5UKTtcbiAgcHJpdmF0ZSByZWFkb25seSB0aGVtZSQgPSBpbmplY3QoQ3VpVGhlbWVTZXJ2aWNlKTtcbiAgcHJpdmF0ZSByZWFkb25seSBkZXN0cm95JCA9IGluamVjdChDdWlEZXN0cm95U2VydmljZSk7XG5cbiAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIHRoaXMuaW5pdFRoZW1lU3Vic2NyaXB0aW9uKCk7XG4gIH1cblxuICBwcml2YXRlIGluaXRUaGVtZVN1YnNjcmlwdGlvbigpOiB2b2lkIHtcbiAgICB0aGlzLnRoZW1lJFxuICAgICAgLnBpcGUodGFrZVVudGlsKHRoaXMuZGVzdHJveSQpKVxuICAgICAgLnN1YnNjcmliZSh0aGVtZSA9PiB0aGlzLmRvY3VtZW50LmRvY3VtZW50RWxlbWVudC5zZXRBdHRyaWJ1dGUoJ2N1aVRoZW1lJywgdGhlbWUpKTtcbiAgfVxufVxuIiwiPGRpdiBjbGFzcz1cImMtY29udGVudFwiPlxuICA8bmctY29udGVudCAvPlxuPC9kaXY+XG48Y3VpLWRpYWxvZ3MgLz5cbjxjdWktYWxlcnRzIC8+XG4iXX0=
|
|
@@ -1,28 +1,28 @@
|
|
|
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,
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvcm9vdC9yb290Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNwRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQzVDLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxVQUFVLENBQUM7O0FBVzFDLE1BQU0sT0FBTyxhQUFhOzsyR0FBYixhQUFhOzRHQ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'cui-root';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vdC5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3Jvb3Qvcm9vdC5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBDVUlfUk9PVF9TRUxFQ1RPUiA9ICdjdWktcm9vdCc7Il19
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './select.component';
|
|
2
|
-
export * from './select.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './select.component';
|
|
2
|
+
export * from './select.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvc2VsZWN0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2VsZWN0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NlbGVjdC5tb2R1bGUnO1xuIl19
|