@cuby-ui/core 0.0.193 → 0.0.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/animations/animations.d.ts +36 -36
- package/animations/index.d.ts +1 -1
- package/classes/accessors.d.ts +17 -17
- package/classes/driver.d.ts +16 -16
- package/classes/index.d.ts +3 -3
- package/classes/vehicle.d.ts +6 -6
- package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
- package/components/accordion/accordion.component.d.ts +5 -5
- package/components/accordion/accordion.module.d.ts +11 -11
- package/components/accordion/index.d.ts +3 -3
- package/components/alert/alert.component.d.ts +13 -13
- package/components/alert/alert.interfaces.d.ts +9 -9
- package/components/alert/alert.module.d.ts +11 -11
- package/components/alert/alert.service.d.ts +7 -7
- package/components/alert/alert.tokens.d.ts +16 -16
- package/components/alert/alert.types.d.ts +3 -3
- package/components/alert/alerts.component.d.ts +17 -17
- package/components/alert/index.d.ts +8 -8
- package/components/badge/badge.component.d.ts +10 -10
- package/components/badge/badge.module.d.ts +8 -8
- package/components/badge/badge.options.d.ts +8 -8
- package/components/badge/index.d.ts +2 -2
- package/components/banner/banner.component.d.ts +21 -21
- package/components/banner/banner.module.d.ts +11 -11
- package/components/banner/banner.options.d.ts +13 -13
- package/components/banner/index.d.ts +3 -3
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
- package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
- package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
- package/components/breadcrumbs/index.d.ts +3 -3
- package/components/button/button.component.d.ts +38 -38
- package/components/button/button.module.d.ts +9 -9
- package/components/button/button.options.d.ts +9 -9
- package/components/button/index.d.ts +3 -3
- package/components/button-group/button-group.component.d.ts +5 -5
- package/components/button-group/button-group.module.d.ts +7 -7
- package/components/button-group/index.d.ts +2 -2
- package/components/checkbox/checkbox.component.d.ts +5 -5
- package/components/checkbox/checkbox.module.d.ts +7 -7
- package/components/checkbox/index.d.ts +2 -2
- package/components/context-menu/context-menu.component.d.ts +39 -39
- package/components/context-menu/context-menu.module.d.ts +9 -9
- package/components/context-menu/index.d.ts +2 -2
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
- package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
- package/components/dialog/dialog.component.d.ts +33 -33
- package/components/dialog/dialog.interfaces.d.ts +11 -11
- package/components/dialog/dialog.module.d.ts +14 -14
- package/components/dialog/dialog.service.d.ts +7 -7
- package/components/dialog/dialog.tokens.d.ts +8 -8
- package/components/dialog/dialogs.component.d.ts +18 -18
- package/components/dialog/index.d.ts +8 -8
- package/components/form-field/form-field.component.d.ts +5 -5
- package/components/form-field/form-field.module.d.ts +7 -7
- package/components/form-field/index.d.ts +2 -2
- package/components/hint/hint.component.d.ts +7 -7
- package/components/hint/hint.module.d.ts +7 -7
- package/components/hint/index.d.ts +2 -2
- package/components/icon-button/icon-button.component.d.ts +13 -13
- package/components/icon-button/icon-button.module.d.ts +9 -9
- package/components/icon-button/index.d.ts +2 -2
- package/components/index.d.ts +26 -26
- package/components/input-number/index.d.ts +2 -2
- package/components/input-number/input-number.component.d.ts +38 -38
- package/components/input-number/input-number.module.d.ts +12 -12
- package/components/input-password/index.d.ts +2 -2
- package/components/input-password/input-password.component.d.ts +31 -31
- package/components/input-password/input-password.module.d.ts +11 -11
- package/components/input-text/index.d.ts +2 -2
- package/components/input-text/input-text.component.d.ts +31 -31
- package/components/input-text/input-text.module.d.ts +11 -11
- package/components/input-time/index.d.ts +3 -3
- package/components/input-time/input-time.component.d.ts +36 -36
- package/components/input-time/input-time.module.d.ts +12 -12
- package/components/input-time/input-time.options.d.ts +7 -7
- package/components/label/index.d.ts +2 -2
- package/components/label/label.component.d.ts +6 -6
- package/components/label/label.module.d.ts +8 -8
- package/components/notification/index.d.ts +3 -3
- package/components/notification/notification.component.d.ts +18 -18
- package/components/notification/notification.module.d.ts +9 -9
- package/components/notification/notification.options.d.ts +17 -17
- package/components/radio/index.d.ts +2 -2
- package/components/radio/radio.component.d.ts +5 -5
- package/components/radio/radio.module.d.ts +7 -7
- package/components/root/index.d.ts +3 -3
- package/components/root/root.component.d.ts +11 -11
- package/components/root/root.module.d.ts +11 -11
- package/components/root/root.options.d.ts +1 -1
- package/components/select/index.d.ts +2 -2
- package/components/select/select.component.d.ts +53 -53
- package/components/select/select.module.d.ts +11 -11
- package/components/svg/index.d.ts +2 -2
- package/components/svg/svg.component.d.ts +16 -16
- package/components/svg/svg.module.d.ts +8 -8
- package/components/tabs/index.d.ts +3 -3
- package/components/tabs/tab/index.d.ts +1 -1
- package/components/tabs/tab/tab.component.d.ts +8 -8
- package/components/tabs/tabs.component.d.ts +16 -16
- package/components/tabs/tabs.module.d.ts +8 -8
- package/components/textarea/index.d.ts +2 -2
- package/components/textarea/textarea.component.d.ts +10 -10
- package/components/textarea/textarea.module.d.ts +7 -7
- package/components/toggle/index.d.ts +2 -2
- package/components/toggle/toggle.component.d.ts +5 -5
- package/components/toggle/toggle.module.d.ts +7 -7
- package/directives/index.d.ts +2 -2
- package/directives/text-field-controller/index.d.ts +8 -8
- package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
- package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field.controller.d.ts +20 -20
- package/directives/tooltip/index.d.ts +16 -16
- package/directives/tooltip/tooltip-describe.directive.d.ts +16 -16
- package/directives/tooltip/tooltip-driver.directive.d.ts +7 -7
- package/directives/tooltip/tooltip-host.directive.d.ts +9 -9
- package/directives/tooltip/tooltip-hover.directive.d.ts +21 -21
- package/directives/tooltip/tooltip-manual.directive.d.ts +13 -13
- package/directives/tooltip/tooltip-options.directive.d.ts +36 -36
- package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -8
- package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -10
- package/directives/tooltip/tooltip-position.directive.d.ts +20 -20
- package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -17
- package/directives/tooltip/tooltip.component.d.ts +33 -33
- package/directives/tooltip/tooltip.d.ts +13 -13
- package/directives/tooltip/tooltip.directive.d.ts +26 -26
- package/directives/tooltip/tooltip.providers.d.ts +5 -5
- package/directives/tooltip/tooltip.service.d.ts +13 -13
- package/directives/tooltip/tooltips.component.d.ts +12 -12
- package/esm2022/animations/animations.mjs +272 -272
- package/esm2022/animations/index.mjs +1 -1
- package/esm2022/classes/accessors.mjs +31 -31
- package/esm2022/classes/driver.mjs +35 -35
- package/esm2022/classes/index.mjs +4 -4
- package/esm2022/classes/vehicle.mjs +7 -7
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
- package/esm2022/components/accordion/accordion.component.mjs +11 -11
- package/esm2022/components/accordion/accordion.module.mjs +37 -37
- package/esm2022/components/accordion/index.mjs +4 -4
- package/esm2022/components/alert/alert.component.mjs +36 -36
- package/esm2022/components/alert/alert.interfaces.mjs +2 -2
- package/esm2022/components/alert/alert.module.mjs +40 -40
- package/esm2022/components/alert/alert.service.mjs +17 -17
- package/esm2022/components/alert/alert.tokens.mjs +20 -20
- package/esm2022/components/alert/alert.types.mjs +2 -2
- package/esm2022/components/alert/alerts.component.mjs +36 -36
- package/esm2022/components/alert/index.mjs +9 -9
- package/esm2022/components/badge/badge.component.mjs +31 -31
- package/esm2022/components/badge/badge.module.mjs +18 -18
- package/esm2022/components/badge/badge.options.mjs +8 -8
- package/esm2022/components/badge/index.mjs +3 -3
- package/esm2022/components/banner/banner.component.mjs +68 -68
- package/esm2022/components/banner/banner.module.mjs +31 -31
- package/esm2022/components/banner/banner.options.mjs +6 -6
- package/esm2022/components/banner/index.mjs +4 -4
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
- package/esm2022/components/breadcrumbs/index.mjs +4 -4
- package/esm2022/components/button/button.component.mjs +138 -138
- package/esm2022/components/button/button.module.mjs +24 -24
- package/esm2022/components/button/button.options.mjs +10 -10
- package/esm2022/components/button/index.mjs +4 -4
- package/esm2022/components/button-group/button-group.component.mjs +11 -11
- package/esm2022/components/button-group/button-group.module.mjs +16 -16
- package/esm2022/components/button-group/index.mjs +3 -3
- package/esm2022/components/checkbox/checkbox.component.mjs +11 -11
- package/esm2022/components/checkbox/checkbox.module.mjs +16 -16
- package/esm2022/components/checkbox/index.mjs +3 -3
- package/esm2022/components/context-menu/context-menu.component.mjs +148 -146
- package/esm2022/components/context-menu/context-menu.module.mjs +24 -24
- package/esm2022/components/context-menu/index.mjs +3 -3
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
- package/esm2022/components/dialog/dialog.component.mjs +67 -67
- package/esm2022/components/dialog/dialog.interfaces.mjs +2 -2
- package/esm2022/components/dialog/dialog.module.mjs +49 -49
- package/esm2022/components/dialog/dialog.service.mjs +17 -17
- package/esm2022/components/dialog/dialog.tokens.mjs +12 -12
- package/esm2022/components/dialog/dialogs.component.mjs +51 -51
- package/esm2022/components/dialog/index.mjs +9 -9
- package/esm2022/components/form-field/form-field.component.mjs +11 -11
- package/esm2022/components/form-field/form-field.module.mjs +16 -16
- package/esm2022/components/form-field/index.mjs +3 -3
- package/esm2022/components/hint/hint.component.mjs +19 -19
- package/esm2022/components/hint/hint.module.mjs +16 -16
- package/esm2022/components/hint/index.mjs +3 -3
- package/esm2022/components/icon-button/icon-button.component.mjs +32 -32
- package/esm2022/components/icon-button/icon-button.module.mjs +24 -24
- package/esm2022/components/icon-button/index.mjs +3 -3
- package/esm2022/components/index.mjs +27 -27
- package/esm2022/components/input-number/index.mjs +3 -3
- package/esm2022/components/input-number/input-number.component.mjs +113 -113
- package/esm2022/components/input-number/input-number.module.mjs +36 -36
- package/esm2022/components/input-password/index.mjs +3 -3
- package/esm2022/components/input-password/input-password.component.mjs +89 -89
- package/esm2022/components/input-password/input-password.module.mjs +33 -33
- package/esm2022/components/input-text/index.mjs +3 -3
- package/esm2022/components/input-text/input-text.component.mjs +87 -87
- package/esm2022/components/input-text/input-text.module.mjs +33 -33
- package/esm2022/components/input-time/index.mjs +4 -4
- package/esm2022/components/input-time/input-time.component.mjs +99 -99
- package/esm2022/components/input-time/input-time.module.mjs +36 -36
- package/esm2022/components/input-time/input-time.options.mjs +8 -8
- package/esm2022/components/label/index.mjs +3 -3
- package/esm2022/components/label/label.component.mjs +17 -17
- package/esm2022/components/label/label.module.mjs +18 -18
- package/esm2022/components/notification/index.mjs +4 -4
- package/esm2022/components/notification/notification.component.mjs +47 -47
- package/esm2022/components/notification/notification.module.mjs +24 -24
- package/esm2022/components/notification/notification.options.mjs +53 -53
- package/esm2022/components/radio/index.mjs +3 -3
- package/esm2022/components/radio/radio.component.mjs +11 -11
- package/esm2022/components/radio/radio.module.mjs +16 -16
- package/esm2022/components/root/index.mjs +4 -4
- package/esm2022/components/root/root.component.mjs +32 -32
- package/esm2022/components/root/root.module.mjs +31 -31
- package/esm2022/components/root/root.options.mjs +1 -1
- package/esm2022/components/select/index.mjs +3 -3
- package/esm2022/components/select/select.component.mjs +172 -172
- package/esm2022/components/select/select.module.mjs +32 -32
- package/esm2022/components/svg/index.mjs +3 -3
- package/esm2022/components/svg/svg.component.mjs +50 -50
- package/esm2022/components/svg/svg.module.mjs +18 -18
- package/esm2022/components/tabs/index.mjs +4 -4
- package/esm2022/components/tabs/tab/index.mjs +1 -1
- package/esm2022/components/tabs/tab/tab.component.mjs +21 -21
- package/esm2022/components/tabs/tabs.component.mjs +49 -49
- package/esm2022/components/tabs/tabs.module.mjs +18 -18
- package/esm2022/components/textarea/index.mjs +3 -3
- package/esm2022/components/textarea/textarea.component.mjs +35 -35
- package/esm2022/components/textarea/textarea.module.mjs +16 -16
- package/esm2022/components/toggle/index.mjs +3 -3
- package/esm2022/components/toggle/toggle.component.mjs +11 -11
- package/esm2022/components/toggle/toggle.module.mjs +16 -16
- package/esm2022/cuby-ui-core.mjs +4 -4
- package/esm2022/directives/index.mjs +3 -3
- package/esm2022/directives/text-field-controller/index.mjs +9 -9
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +40 -40
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
- package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
- package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +21 -21
- package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
- package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
- package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +24 -24
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +25 -25
- package/esm2022/directives/tooltip/index.mjs +17 -17
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +45 -45
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -18
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -26
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +53 -53
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -31
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -83
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -31
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -31
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -96
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -40
- package/esm2022/directives/tooltip/tooltip.component.mjs +110 -110
- package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -92
- package/esm2022/directives/tooltip/tooltip.mjs +27 -27
- package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -7
- package/esm2022/directives/tooltip/tooltip.service.mjs +28 -28
- package/esm2022/directives/tooltip/tooltips.component.mjs +33 -33
- package/esm2022/index.mjs +7 -7
- package/esm2022/interfaces/context-menu-item.mjs +2 -2
- package/esm2022/interfaces/index.mjs +3 -3
- package/esm2022/interfaces/option.mjs +2 -2
- package/esm2022/services/index.mjs +5 -5
- package/esm2022/services/position.service.mjs +23 -23
- package/esm2022/services/theme.options.mjs +6 -6
- package/esm2022/services/theme.service.mjs +30 -30
- package/esm2022/services/visual-viewport.service.mjs +28 -28
- package/esm2022/tokens/animations-speed.mjs +8 -8
- package/esm2022/tokens/index.mjs +4 -4
- package/esm2022/tokens/reduced-motion.mjs +6 -6
- package/esm2022/tokens/viewport.mjs +31 -31
- package/esm2022/types/appearance.mjs +2 -2
- package/esm2022/types/hint-type.mjs +2 -2
- package/esm2022/types/index.mjs +10 -10
- package/esm2022/types/point.mjs +2 -2
- package/esm2022/types/portal-item.mjs +2 -2
- package/esm2022/types/position.mjs +2 -2
- package/esm2022/types/resizing.mjs +2 -2
- package/esm2022/types/shape.mjs +2 -2
- package/esm2022/types/size.mjs +2 -2
- package/esm2022/types/status.mjs +2 -2
- package/esm2022/utils/format/index.mjs +3 -3
- package/esm2022/utils/format/remove-spaces.mjs +4 -4
- package/esm2022/utils/format/replace.mjs +5 -5
- package/esm2022/utils/index.mjs +3 -3
- package/esm2022/utils/miscellaneous/index.mjs +4 -4
- package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -8
- package/esm2022/utils/miscellaneous/override-options.mjs +11 -11
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -14
- package/fesm2022/cuby-ui-core.mjs +3195 -3193
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/fonts/Inter-Bold.svg +25443 -25443
- package/fonts/Inter-Medium.svg +25400 -25400
- package/fonts/Inter-Regular.svg +24341 -24341
- package/fonts/Inter-SemiBold.svg +25459 -25459
- package/index.d.ts +6 -6
- package/interfaces/context-menu-item.d.ts +7 -7
- package/interfaces/index.d.ts +2 -2
- package/interfaces/option.d.ts +5 -5
- package/package.json +3 -3
- package/services/index.d.ts +4 -4
- package/services/position.service.d.ts +10 -10
- package/services/theme.options.d.ts +5 -5
- package/services/theme.service.d.ts +12 -12
- package/services/visual-viewport.service.d.ts +9 -9
- package/styles/fonts.scss +51 -51
- package/styles/global.scss +9 -9
- package/styles/mixins/buttons.scss +13 -13
- package/styles/mixins/headings.scss +115 -115
- package/styles/mixins/inputs.scss +91 -91
- package/styles/mixins/lists.scss +5 -5
- package/styles/mixins/paddings.scss +35 -35
- package/styles/mixins/shadows.scss +38 -38
- package/styles/mixins/texts.scss +225 -225
- package/styles/theme.scss +385 -385
- package/styles/variables/colors.scss +253 -253
- package/tokens/animations-speed.d.ts +4 -4
- package/tokens/index.d.ts +3 -3
- package/tokens/reduced-motion.d.ts +1 -1
- package/tokens/viewport.d.ts +7 -7
- package/types/appearance.d.ts +8 -8
- package/types/hint-type.d.ts +1 -1
- package/types/index.d.ts +9 -9
- package/types/point.d.ts +1 -1
- package/types/portal-item.d.ts +9 -9
- package/types/position.d.ts +2 -2
- package/types/resizing.d.ts +2 -2
- package/types/shape.d.ts +1 -1
- package/types/size.d.ts +4 -4
- package/types/status.d.ts +1 -1
- package/utils/format/index.d.ts +2 -2
- package/utils/format/remove-spaces.d.ts +1 -1
- package/utils/format/replace.d.ts +1 -1
- package/utils/index.d.ts +2 -2
- package/utils/miscellaneous/index.d.ts +3 -3
- package/utils/miscellaneous/is-obscured.d.ts +4 -4
- package/utils/miscellaneous/override-options.d.ts +1 -1
- package/utils/miscellaneous/to-animation-options.d.ts +4 -4
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { HostBinding, HostListener } from '@angular/core';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, inject, TemplateRef, ElementRef } from '@angular/core';
|
|
3
|
-
import { CuiFocusTrapDirective } from '@cuby-ui/cdk';
|
|
4
|
-
import { CUI_DIALOG_CONTEXT } from './dialog.tokens';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@cuby-ui/cdk";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
// TODO: сделать структурную директиву
|
|
9
|
-
const ContentType = {
|
|
10
|
-
String: 'string',
|
|
11
|
-
Template: 'template',
|
|
12
|
-
Component: 'component'
|
|
13
|
-
};
|
|
14
|
-
export class CuiDialogComponent {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.element = inject(ElementRef).nativeElement;
|
|
17
|
-
this.context = inject(CUI_DIALOG_CONTEXT);
|
|
18
|
-
this.LAST_OF_TYPE_SELECTOR = ':last-of-type';
|
|
19
|
-
this.ContentType = ContentType;
|
|
20
|
-
this.contentType = ContentType.Component;
|
|
21
|
-
}
|
|
22
|
-
get size() {
|
|
23
|
-
return this.context.size;
|
|
24
|
-
}
|
|
25
|
-
ngOnInit() {
|
|
26
|
-
this.initContentType();
|
|
27
|
-
}
|
|
28
|
-
get contentTemplateRef() {
|
|
29
|
-
return this.context.content;
|
|
30
|
-
}
|
|
31
|
-
get componentType() {
|
|
32
|
-
return this.context.content;
|
|
33
|
-
}
|
|
34
|
-
onEscape() {
|
|
35
|
-
if (!this.context.dismissible) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
if (!this.element.matches(this.LAST_OF_TYPE_SELECTOR)) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
this.context.completeWith();
|
|
42
|
-
}
|
|
43
|
-
initContentType() {
|
|
44
|
-
const content = this.context.content;
|
|
45
|
-
switch (true) {
|
|
46
|
-
case (typeof content === 'string'):
|
|
47
|
-
this.contentType = ContentType.String;
|
|
48
|
-
return;
|
|
49
|
-
case (content instanceof TemplateRef):
|
|
50
|
-
this.contentType = ContentType.Template;
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
55
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiDialogComponent, selector: "cui-dialog", host: { listeners: { "document:keydown.escape": "onEscape($event)" }, properties: { "attr.data-size": "this.size" } }, hostDirectives: [{ directive: i1.CuiFocusTrapDirective }], ngImport: i0, template: "<ng-container [ngSwitch]=\"contentType\">\n <ng-container *ngSwitchCase=\"ContentType.String\">\n {{ context.content }}\n </ng-container>\n <ng-container *ngSwitchCase=\"ContentType.Template\">\n <ng-container *ngTemplateOutlet=\"contentTemplateRef; context: context\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"ContentType.Component\">\n <div class=\"c-component-container\">\n <ng-container *ngComponentOutlet=\"componentType\"></ng-container>\n </div>\n </ng-container>\n</ng-container>\n", styles: [":host{box-shadow:0 2px 4px -1px #0000000f,0 4px 6px -1px #0000001a;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;box-sizing:border-box;max-height:calc(100vh - 40px);width:100%;border-radius:12px;outline:none;background:var(--cui-base-0);font-family:var(--cui-main-font);border:1px solid var(--cui-base-200)}:host:last-of-type{z-index:1}:host[data-size=auto]{width:auto}:host[data-size=sm]{max-width:620px}:host[data-size=xl]{max-width:1080px}.c-component-container{display:contents}.c-component-container ::ng-deep>*{display:contents}\n"], dependencies: [{ kind: "directive", type: i2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
56
|
-
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogComponent, decorators: [{
|
|
58
|
-
type: Component,
|
|
59
|
-
args: [{ selector: 'cui-dialog', changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [CuiFocusTrapDirective], template: "<ng-container [ngSwitch]=\"contentType\">\n <ng-container *ngSwitchCase=\"ContentType.String\">\n {{ context.content }}\n </ng-container>\n <ng-container *ngSwitchCase=\"ContentType.Template\">\n <ng-container *ngTemplateOutlet=\"contentTemplateRef; context: context\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"ContentType.Component\">\n <div class=\"c-component-container\">\n <ng-container *ngComponentOutlet=\"componentType\"></ng-container>\n </div>\n </ng-container>\n</ng-container>\n", styles: [":host{box-shadow:0 2px 4px -1px #0000000f,0 4px 6px -1px #0000001a;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;box-sizing:border-box;max-height:calc(100vh - 40px);width:100%;border-radius:12px;outline:none;background:var(--cui-base-0);font-family:var(--cui-main-font);border:1px solid var(--cui-base-200)}:host:last-of-type{z-index:1}:host[data-size=auto]{width:auto}:host[data-size=sm]{max-width:620px}:host[data-size=xl]{max-width:1080px}.c-component-container{display:contents}.c-component-container ::ng-deep>*{display:contents}\n"] }]
|
|
60
|
-
}], propDecorators: { size: [{
|
|
61
|
-
type: HostBinding,
|
|
62
|
-
args: ['attr.data-size']
|
|
63
|
-
}], onEscape: [{
|
|
64
|
-
type: HostListener,
|
|
65
|
-
args: ['document:keydown.escape', ['$event']]
|
|
66
|
-
}] } });
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { HostBinding, HostListener } from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject, TemplateRef, ElementRef } from '@angular/core';
|
|
3
|
+
import { CuiFocusTrapDirective } from '@cuby-ui/cdk';
|
|
4
|
+
import { CUI_DIALOG_CONTEXT } from './dialog.tokens';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@cuby-ui/cdk";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
// TODO: сделать структурную директиву
|
|
9
|
+
const ContentType = {
|
|
10
|
+
String: 'string',
|
|
11
|
+
Template: 'template',
|
|
12
|
+
Component: 'component'
|
|
13
|
+
};
|
|
14
|
+
export class CuiDialogComponent {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.element = inject(ElementRef).nativeElement;
|
|
17
|
+
this.context = inject(CUI_DIALOG_CONTEXT);
|
|
18
|
+
this.LAST_OF_TYPE_SELECTOR = ':last-of-type';
|
|
19
|
+
this.ContentType = ContentType;
|
|
20
|
+
this.contentType = ContentType.Component;
|
|
21
|
+
}
|
|
22
|
+
get size() {
|
|
23
|
+
return this.context.size;
|
|
24
|
+
}
|
|
25
|
+
ngOnInit() {
|
|
26
|
+
this.initContentType();
|
|
27
|
+
}
|
|
28
|
+
get contentTemplateRef() {
|
|
29
|
+
return this.context.content;
|
|
30
|
+
}
|
|
31
|
+
get componentType() {
|
|
32
|
+
return this.context.content;
|
|
33
|
+
}
|
|
34
|
+
onEscape() {
|
|
35
|
+
if (!this.context.dismissible) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (!this.element.matches(this.LAST_OF_TYPE_SELECTOR)) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
this.context.completeWith();
|
|
42
|
+
}
|
|
43
|
+
initContentType() {
|
|
44
|
+
const content = this.context.content;
|
|
45
|
+
switch (true) {
|
|
46
|
+
case (typeof content === 'string'):
|
|
47
|
+
this.contentType = ContentType.String;
|
|
48
|
+
return;
|
|
49
|
+
case (content instanceof TemplateRef):
|
|
50
|
+
this.contentType = ContentType.Template;
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
55
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiDialogComponent, selector: "cui-dialog", host: { listeners: { "document:keydown.escape": "onEscape($event)" }, properties: { "attr.data-size": "this.size" } }, hostDirectives: [{ directive: i1.CuiFocusTrapDirective }], ngImport: i0, template: "<ng-container [ngSwitch]=\"contentType\">\r\n <ng-container *ngSwitchCase=\"ContentType.String\">\r\n {{ context.content }}\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"ContentType.Template\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplateRef; context: context\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"ContentType.Component\">\r\n <div class=\"c-component-container\">\r\n <ng-container *ngComponentOutlet=\"componentType\"></ng-container>\r\n </div>\r\n </ng-container>\r\n</ng-container>\r\n", styles: [":host{box-shadow:0 2px 4px -1px #0000000f,0 4px 6px -1px #0000001a;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;box-sizing:border-box;max-height:calc(100vh - 40px);width:100%;border-radius:12px;outline:none;background:var(--cui-base-0);font-family:var(--cui-main-font);border:1px solid var(--cui-base-200)}:host:last-of-type{z-index:1}:host[data-size=auto]{width:auto}:host[data-size=sm]{max-width:620px}:host[data-size=xl]{max-width:1080px}.c-component-container{display:contents}.c-component-container ::ng-deep>*{display:contents}\n"], dependencies: [{ kind: "directive", type: i2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
56
|
+
}
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogComponent, decorators: [{
|
|
58
|
+
type: Component,
|
|
59
|
+
args: [{ selector: 'cui-dialog', changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [CuiFocusTrapDirective], template: "<ng-container [ngSwitch]=\"contentType\">\r\n <ng-container *ngSwitchCase=\"ContentType.String\">\r\n {{ context.content }}\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"ContentType.Template\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplateRef; context: context\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"ContentType.Component\">\r\n <div class=\"c-component-container\">\r\n <ng-container *ngComponentOutlet=\"componentType\"></ng-container>\r\n </div>\r\n </ng-container>\r\n</ng-container>\r\n", styles: [":host{box-shadow:0 2px 4px -1px #0000000f,0 4px 6px -1px #0000001a;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;box-sizing:border-box;max-height:calc(100vh - 40px);width:100%;border-radius:12px;outline:none;background:var(--cui-base-0);font-family:var(--cui-main-font);border:1px solid var(--cui-base-200)}:host:last-of-type{z-index:1}:host[data-size=auto]{width:auto}:host[data-size=sm]{max-width:620px}:host[data-size=xl]{max-width:1080px}.c-component-container{display:contents}.c-component-container ::ng-deep>*{display:contents}\n"] }]
|
|
60
|
+
}], propDecorators: { size: [{
|
|
61
|
+
type: HostBinding,
|
|
62
|
+
args: ['attr.data-size']
|
|
63
|
+
}], onEscape: [{
|
|
64
|
+
type: HostListener,
|
|
65
|
+
args: ['document:keydown.escape', ['$event']]
|
|
66
|
+
}] } });
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9kaWFsb2cvZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9kaWFsb2cvZGlhbG9nLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQVEsTUFBTSxlQUFlLENBQUM7QUFDaEUsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVwRyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFHckQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0saUJBQWlCLENBQUM7Ozs7QUFFckQsc0NBQXNDO0FBQ3RDLE1BQU0sV0FBVyxHQUFHO0lBQ2xCLE1BQU0sRUFBRSxRQUFRO0lBQ2hCLFFBQVEsRUFBRSxVQUFVO0lBQ3BCLFNBQVMsRUFBRSxXQUFXO0NBQ2QsQ0FBQztBQVdYLE1BQU0sT0FBTyxrQkFBa0I7SUFQL0I7UUFRcUIsWUFBTyxHQUFHLE1BQU0sQ0FBQyxVQUFVLENBQUMsQ0FBQyxhQUE0QixDQUFDO1FBQzFELFlBQU8sR0FBRyxNQUFNLENBQUMsa0JBQWtCLENBQUMsQ0FBQztRQUVyQyw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25lbnRUeXBlXCI+PC9uZy1jb250YWluZXI+XHJcbiAgICA8L2Rpdj5cclxuICA8L25nLWNvbnRhaW5lcj5cclxuPC9uZy1jb250YWluZXI+XHJcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLmludGVyZmFjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZGlhbG9nL2RpYWxvZy5pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUT0RPOiDQmNGB0L/QvtC70YzQt9C+0LLQsNGC0Ywg0LIg0LHRg9C00YPRidC10LwgQ3VpU2l6ZS3RgtC40L/
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLmludGVyZmFjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZGlhbG9nL2RpYWxvZy5pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUT0RPOiDQmNGB0L/QvtC70YzQt9C+0LLQsNGC0Ywg0LIg0LHRg9C00YPRidC10LwgQ3VpU2l6ZS3RgtC40L/Ri1xyXG5pbXBvcnQgdHlwZSB7IEluamVjdG9yIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB0eXBlIHsgQ3VpUG9wb3ZlckNvbnRleHQgfSBmcm9tICdAY3VieS11aS9jZGsnO1xyXG5cclxuZXhwb3J0IHR5cGUgQ3VpRGlhbG9nU2l6ZSA9ICd4bCcgfCAnc20nIHwgJ2F1dG8nO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBDdWlEaWFsb2dPcHRpb25zPEkgPSBhbnk+IHtcclxuICByZWFkb25seSBzaXplOiBDdWlEaWFsb2dTaXplO1xyXG4gIHJlYWRvbmx5IGRhdGE6IEk7XHJcbiAgcmVhZG9ubHkgZGlzbWlzc2libGU6IGJvb2xlYW4sXHJcbiAgcmVhZG9ubHkgaW5qZWN0b3I/OiBJbmplY3RvcjtcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBDdWlEaWFsb2dDb250ZXh0PEkgPSB1bmRlZmluZWQ+IGV4dGVuZHMgQ3VpUG9wb3ZlckNvbnRleHQsIEN1aURpYWxvZ09wdGlvbnM8ST4ge1xyXG59XHJcbiJdfQ==
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CuiLetDirective } from '@cuby-ui/cdk';
|
|
4
|
-
import { CuiButtonModule } from '../button';
|
|
5
|
-
import { CuiDialogComponent } from './dialog.component';
|
|
6
|
-
import { CuiDialogsComponent } from './dialogs.component';
|
|
7
|
-
import { CuiDialogActionsComponent } from './dialog-actions/dialog-actions.component';
|
|
8
|
-
import { CuiDialogHeaderComponent } from './dialog-header/dialog-header.component';
|
|
9
|
-
import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export class CuiDialogModule {
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogModule, declarations: [CuiDialogComponent,
|
|
14
|
-
CuiDialogsComponent,
|
|
15
|
-
CuiDialogActionsComponent,
|
|
16
|
-
CuiDialogHeaderComponent], imports: [CommonModule,
|
|
17
|
-
PolymorpheusOutlet,
|
|
18
|
-
CuiLetDirective,
|
|
19
|
-
CuiButtonModule], exports: [CuiDialogComponent,
|
|
20
|
-
CuiDialogsComponent,
|
|
21
|
-
CuiDialogActionsComponent,
|
|
22
|
-
CuiDialogHeaderComponent] }); }
|
|
23
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogModule, imports: [CommonModule,
|
|
24
|
-
CuiButtonModule] }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogModule, decorators: [{
|
|
27
|
-
type: NgModule,
|
|
28
|
-
args: [{
|
|
29
|
-
imports: [
|
|
30
|
-
CommonModule,
|
|
31
|
-
PolymorpheusOutlet,
|
|
32
|
-
CuiLetDirective,
|
|
33
|
-
CuiButtonModule
|
|
34
|
-
],
|
|
35
|
-
declarations: [
|
|
36
|
-
CuiDialogComponent,
|
|
37
|
-
CuiDialogsComponent,
|
|
38
|
-
CuiDialogActionsComponent,
|
|
39
|
-
CuiDialogHeaderComponent
|
|
40
|
-
],
|
|
41
|
-
exports: [
|
|
42
|
-
CuiDialogComponent,
|
|
43
|
-
CuiDialogsComponent,
|
|
44
|
-
CuiDialogActionsComponent,
|
|
45
|
-
CuiDialogHeaderComponent
|
|
46
|
-
]
|
|
47
|
-
}]
|
|
48
|
-
}] });
|
|
49
|
-
//# 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 { CuiButtonModule } from '../button';
|
|
5
|
+
import { CuiDialogComponent } from './dialog.component';
|
|
6
|
+
import { CuiDialogsComponent } from './dialogs.component';
|
|
7
|
+
import { CuiDialogActionsComponent } from './dialog-actions/dialog-actions.component';
|
|
8
|
+
import { CuiDialogHeaderComponent } from './dialog-header/dialog-header.component';
|
|
9
|
+
import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export class CuiDialogModule {
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogModule, declarations: [CuiDialogComponent,
|
|
14
|
+
CuiDialogsComponent,
|
|
15
|
+
CuiDialogActionsComponent,
|
|
16
|
+
CuiDialogHeaderComponent], imports: [CommonModule,
|
|
17
|
+
PolymorpheusOutlet,
|
|
18
|
+
CuiLetDirective,
|
|
19
|
+
CuiButtonModule], exports: [CuiDialogComponent,
|
|
20
|
+
CuiDialogsComponent,
|
|
21
|
+
CuiDialogActionsComponent,
|
|
22
|
+
CuiDialogHeaderComponent] }); }
|
|
23
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogModule, imports: [CommonModule,
|
|
24
|
+
CuiButtonModule] }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogModule, decorators: [{
|
|
27
|
+
type: NgModule,
|
|
28
|
+
args: [{
|
|
29
|
+
imports: [
|
|
30
|
+
CommonModule,
|
|
31
|
+
PolymorpheusOutlet,
|
|
32
|
+
CuiLetDirective,
|
|
33
|
+
CuiButtonModule
|
|
34
|
+
],
|
|
35
|
+
declarations: [
|
|
36
|
+
CuiDialogComponent,
|
|
37
|
+
CuiDialogsComponent,
|
|
38
|
+
CuiDialogActionsComponent,
|
|
39
|
+
CuiDialogHeaderComponent
|
|
40
|
+
],
|
|
41
|
+
exports: [
|
|
42
|
+
CuiDialogComponent,
|
|
43
|
+
CuiDialogsComponent,
|
|
44
|
+
CuiDialogActionsComponent,
|
|
45
|
+
CuiDialogHeaderComponent
|
|
46
|
+
]
|
|
47
|
+
}]
|
|
48
|
+
}] });
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9kaWFsb2cvZGlhbG9nLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRS9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDNUMsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDeEQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDMUQsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDdEYsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDbkYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7O0FBc0I1RCxNQUFNLE9BQU8sZUFBZTsrR0FBZixlQUFlO2dIQUFmLGVBQWUsaUJBW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nQgeyBDdWlEaWFsb2dBY3Rpb25zQ29tcG9uZW50IH0gZnJvbSAnLi9kaWFsb2ctYWN0aW9ucy9kaWFsb2ctYWN0aW9ucy5jb21wb25lbnQnO1xyXG5pbXBvcnQgeyBDdWlEaWFsb2dIZWFkZXJDb21wb25lbnQgfSBmcm9tICcuL2RpYWxvZy1oZWFkZXIvZGlhbG9nLWhlYWRlci5jb21wb25lbnQnO1xyXG5pbXBvcnQgeyBQb2x5bW9ycGhldXNPdXRsZXQgfSBmcm9tICdAdGFpZ2EtdWkvcG9seW1vcnBoZXVzJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgUG9seW1vcnBoZXVzT3V0bGV0LFxyXG4gICAgQ3VpTGV0RGlyZWN0aXZlLFxyXG4gICAgQ3VpQnV0dG9uTW9kdWxlXHJcbiAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIEN1aURpYWxvZ0NvbXBvbmVudCxcclxuICAgIEN1aURpYWxvZ3NDb21wb25lbnQsXHJcbiAgICBDdWlEaWFsb2dBY3Rpb25zQ29tcG9uZW50LFxyXG4gICAgQ3VpRGlhbG9nSGVhZGVyQ29tcG9uZW50XHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBDdWlEaWFsb2dDb21wb25lbnQsXHJcbiAgICBDdWlEaWFsb2dzQ29tcG9uZW50LFxyXG4gICAgQ3VpRGlhbG9nQWN0aW9uc0NvbXBvbmVudCxcclxuICAgIEN1aURpYWxvZ0hlYWRlckNvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEN1aURpYWxvZ01vZHVsZSB7XHJcbn1cclxuIl19
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { inject, Injectable } from '@angular/core';
|
|
2
|
-
import { CuiPopoverService } from '@cuby-ui/cdk';
|
|
3
|
-
import { CUI_DIALOG_OPTIONS, CUI_DIALOGS } from './dialog.tokens';
|
|
4
|
-
import { CuiDialogComponent } from './dialog.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class CuiDialogService extends CuiPopoverService {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogService, providedIn: 'root', useFactory: () => new CuiDialogService(CUI_DIALOGS, CuiDialogComponent, inject(CUI_DIALOG_OPTIONS)) }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogService, decorators: [{
|
|
11
|
-
type: Injectable,
|
|
12
|
-
args: [{
|
|
13
|
-
providedIn: 'root',
|
|
14
|
-
useFactory: () => new CuiDialogService(CUI_DIALOGS, CuiDialogComponent, inject(CUI_DIALOG_OPTIONS))
|
|
15
|
-
}]
|
|
16
|
-
}] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { inject, Injectable } from '@angular/core';
|
|
2
|
+
import { CuiPopoverService } from '@cuby-ui/cdk';
|
|
3
|
+
import { CUI_DIALOG_OPTIONS, CUI_DIALOGS } from './dialog.tokens';
|
|
4
|
+
import { CuiDialogComponent } from './dialog.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class CuiDialogService extends CuiPopoverService {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogService, providedIn: 'root', useFactory: () => new CuiDialogService(CUI_DIALOGS, CuiDialogComponent, inject(CUI_DIALOG_OPTIONS)) }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogService, decorators: [{
|
|
11
|
+
type: Injectable,
|
|
12
|
+
args: [{
|
|
13
|
+
providedIn: 'root',
|
|
14
|
+
useFactory: () => new CuiDialogService(CUI_DIALOGS, CuiDialogComponent, inject(CUI_DIALOG_OPTIONS))
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZGlhbG9nL2RpYWxvZy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUVqRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsV0FBVyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7O0FBT3hELE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxpQkFBbUM7K0dBQTVELGdCQUFnQjttSEFBaEIsZ0JBQWdCLGNBSGYsTUFBTSxjQUNOLEdBQUcsRUFBRSxDQUFDLElBQUksZ0JBQWdCLENBQUMsV0FBVyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDOzs0RkFFeEYsZ0JBQWdCO2tCQUo1QixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO29CQUNsQixVQUFVLEVBQUUsR0FBRyxFQUFFLENBQUMscUJBQXFCLFdBQVcsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLENBQUMsa0JBQWtCLENBQUMsQ0FBQztpQkFDcEciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBpbmplY3QsIEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgQ3VpUG9wb3ZlclNlcnZpY2UgfSBmcm9tICdAY3VieS11aS9jZGsnO1xyXG5cclxuaW1wb3J0IHsgQ1VJX0RJQUxPR19PUFRJT05TLCBDVUlfRElBTE9HUyB9IGZyb20gJy4vZGlhbG9nLnRva2Vucyc7XHJcbmltcG9ydCB7IEN1aURpYWxvZ0NvbXBvbmVudCB9IGZyb20gJy4vZGlhbG9nLmNvbXBvbmVudCc7XHJcbmltcG9ydCB0eXBlIHsgQ3VpRGlhbG9nT3B0aW9ucyB9IGZyb20gJy4vZGlhbG9nLmludGVyZmFjZXMnO1xyXG5cclxuQEluamVjdGFibGUoe1xyXG4gIHByb3ZpZGVkSW46ICdyb290JyxcclxuICB1c2VGYWN0b3J5OiAoKSA9PiBuZXcgQ3VpRGlhbG9nU2VydmljZShDVUlfRElBTE9HUywgQ3VpRGlhbG9nQ29tcG9uZW50LCBpbmplY3QoQ1VJX0RJQUxPR19PUFRJT05TKSlcclxufSlcclxuZXhwb3J0IGNsYXNzIEN1aURpYWxvZ1NlcnZpY2UgZXh0ZW5kcyBDdWlQb3BvdmVyU2VydmljZTxDdWlEaWFsb2dPcHRpb25zPiB7XHJcbn1cclxuIl19
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { cuiCreateToken } from '@cuby-ui/cdk';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
export const CUI_DIALOGS = cuiCreateToken(new BehaviorSubject([]));
|
|
5
|
-
export const CUI_DIALOG_DEFAULT_OPTIONS = {
|
|
6
|
-
size: 'auto',
|
|
7
|
-
data: undefined,
|
|
8
|
-
dismissible: true
|
|
9
|
-
};
|
|
10
|
-
export const CUI_DIALOG_OPTIONS = cuiCreateToken(CUI_DIALOG_DEFAULT_OPTIONS);
|
|
11
|
-
export const CUI_DIALOG_CONTEXT = new InjectionToken('');
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { cuiCreateToken } from '@cuby-ui/cdk';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
export const CUI_DIALOGS = cuiCreateToken(new BehaviorSubject([]));
|
|
5
|
+
export const CUI_DIALOG_DEFAULT_OPTIONS = {
|
|
6
|
+
size: 'auto',
|
|
7
|
+
data: undefined,
|
|
8
|
+
dismissible: true
|
|
9
|
+
};
|
|
10
|
+
export const CUI_DIALOG_OPTIONS = cuiCreateToken(CUI_DIALOG_DEFAULT_OPTIONS);
|
|
11
|
+
export const CUI_DIALOG_CONTEXT = new InjectionToken('');
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLnRva2Vucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9kaWFsb2cvZGlhbG9nLnRva2Vucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRS9DLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDOUMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUl2QyxNQUFNLENBQUMsTUFBTSxXQUF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B1bmRlZmluZWQsXHJcbiAgZGlzbWlzc2libGU6IHRydWVcclxufTtcclxuXHJcbmV4cG9ydCBjb25zdCBDVUlfRElBTE9HX09QVElPTlMgPSBjdWlDcmVhdGVUb2tlbihDVUlfRElBTE9HX0RFRkFVTFRfT1BUSU9OUyk7XHJcblxyXG5leHBvcnQgY29uc3QgQ1VJX0RJQUxPR19DT05URVhUID0gbmV3IEluamVjdGlvblRva2VuPEN1aVBvcG92ZXI8Q3VpRGlhbG9nT3B0aW9ucz4+KCcnKTtcclxuIl19
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, inject, Injector } from '@angular/core';
|
|
2
|
-
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import { CuiDestroyService } from '@cuby-ui/cdk';
|
|
4
|
-
import { takeUntil } from 'rxjs';
|
|
5
|
-
import { CUI_DIALOG_CONTEXT, CUI_DIALOGS } from './dialog.tokens';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
import * as i2 from "@cuby-ui/cdk";
|
|
9
|
-
export class CuiDialogsComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.document = inject(DOCUMENT);
|
|
12
|
-
this.destroy$ = inject(CuiDestroyService, { self: true });
|
|
13
|
-
this.dialogs$ = inject(CUI_DIALOGS);
|
|
14
|
-
this.dialogInjectorCache = new Map();
|
|
15
|
-
}
|
|
16
|
-
ngOnInit() {
|
|
17
|
-
this.initDialogsSubscription();
|
|
18
|
-
}
|
|
19
|
-
trackByFn(_, dialog) {
|
|
20
|
-
return dialog.id;
|
|
21
|
-
}
|
|
22
|
-
initDialogsSubscription() {
|
|
23
|
-
this.dialogs$
|
|
24
|
-
.pipe(takeUntil(this.destroy$))
|
|
25
|
-
.subscribe(dialogs => {
|
|
26
|
-
this.document.body.style.overflow = dialogs.length ? 'hidden' : '';
|
|
27
|
-
this.dialogInjectors = dialogs.map(dialog => {
|
|
28
|
-
if (!this.dialogInjectorCache.has(dialog.id)) {
|
|
29
|
-
this.dialogInjectorCache.set(dialog.id, Injector.create({
|
|
30
|
-
providers: [{ provide: CUI_DIALOG_CONTEXT, useValue: dialog }],
|
|
31
|
-
parent: dialog.injector
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
return this.dialogInjectorCache.get(dialog.id);
|
|
35
|
-
});
|
|
36
|
-
this.dialogInjectorCache.forEach((_, dialogId) => {
|
|
37
|
-
if (dialogs.find(dialog => dialog.id === dialogId)) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
this.dialogInjectorCache.delete(dialogId);
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiDialogsComponent, selector: "cui-dialogs", providers: [CuiDestroyService], ngImport: i0, template: "<ng-container *cuiLet=\"dialogs$ | async as dialogs\">\n <ng-container *ngFor=\"let dialog of dialogs; let i = index; trackBy: trackByFn\">\n <ng-container *ngComponentOutlet=\"dialog.component; injector: dialogInjectors[i]\"></ng-container>\n </ng-container>\n <div\n *ngIf=\"dialogs!.length\"\n class=\"c-overlay\"\n ></div>\n</ng-container>\n", styles: [":host{isolation:isolate}.c-overlay{position:fixed;inset:0;background:var(--cui-base);opacity:.3}\n"], dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CuiLetDirective, selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
46
|
-
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogsComponent, decorators: [{
|
|
48
|
-
type: Component,
|
|
49
|
-
args: [{ selector: 'cui-dialogs', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CuiDestroyService], template: "<ng-container *cuiLet=\"dialogs$ | async as dialogs\">\n <ng-container *ngFor=\"let dialog of dialogs; let i = index; trackBy: trackByFn\">\n <ng-container *ngComponentOutlet=\"dialog.component; injector: dialogInjectors[i]\"></ng-container>\n </ng-container>\n <div\n *ngIf=\"dialogs!.length\"\n class=\"c-overlay\"\n ></div>\n</ng-container>\n", styles: [":host{isolation:isolate}.c-overlay{position:fixed;inset:0;background:var(--cui-base);opacity:.3}\n"] }]
|
|
50
|
-
}] });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, inject, Injector } from '@angular/core';
|
|
2
|
+
import { DOCUMENT } from '@angular/common';
|
|
3
|
+
import { CuiDestroyService } from '@cuby-ui/cdk';
|
|
4
|
+
import { takeUntil } from 'rxjs';
|
|
5
|
+
import { CUI_DIALOG_CONTEXT, CUI_DIALOGS } from './dialog.tokens';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "@cuby-ui/cdk";
|
|
9
|
+
export class CuiDialogsComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.document = inject(DOCUMENT);
|
|
12
|
+
this.destroy$ = inject(CuiDestroyService, { self: true });
|
|
13
|
+
this.dialogs$ = inject(CUI_DIALOGS);
|
|
14
|
+
this.dialogInjectorCache = new Map();
|
|
15
|
+
}
|
|
16
|
+
ngOnInit() {
|
|
17
|
+
this.initDialogsSubscription();
|
|
18
|
+
}
|
|
19
|
+
trackByFn(_, dialog) {
|
|
20
|
+
return dialog.id;
|
|
21
|
+
}
|
|
22
|
+
initDialogsSubscription() {
|
|
23
|
+
this.dialogs$
|
|
24
|
+
.pipe(takeUntil(this.destroy$))
|
|
25
|
+
.subscribe(dialogs => {
|
|
26
|
+
this.document.body.style.overflow = dialogs.length ? 'hidden' : '';
|
|
27
|
+
this.dialogInjectors = dialogs.map(dialog => {
|
|
28
|
+
if (!this.dialogInjectorCache.has(dialog.id)) {
|
|
29
|
+
this.dialogInjectorCache.set(dialog.id, Injector.create({
|
|
30
|
+
providers: [{ provide: CUI_DIALOG_CONTEXT, useValue: dialog }],
|
|
31
|
+
parent: dialog.injector
|
|
32
|
+
}));
|
|
33
|
+
}
|
|
34
|
+
return this.dialogInjectorCache.get(dialog.id);
|
|
35
|
+
});
|
|
36
|
+
this.dialogInjectorCache.forEach((_, dialogId) => {
|
|
37
|
+
if (dialogs.find(dialog => dialog.id === dialogId)) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
this.dialogInjectorCache.delete(dialogId);
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiDialogsComponent, selector: "cui-dialogs", providers: [CuiDestroyService], ngImport: i0, template: "<ng-container *cuiLet=\"dialogs$ | async as dialogs\">\r\n <ng-container *ngFor=\"let dialog of dialogs; let i = index; trackBy: trackByFn\">\r\n <ng-container *ngComponentOutlet=\"dialog.component; injector: dialogInjectors[i]\"></ng-container>\r\n </ng-container>\r\n <div\r\n *ngIf=\"dialogs!.length\"\r\n class=\"c-overlay\"\r\n ></div>\r\n</ng-container>\r\n", styles: [":host{isolation:isolate}.c-overlay{position:fixed;inset:0;background:var(--cui-base);opacity:.3}\n"], dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CuiLetDirective, selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
46
|
+
}
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiDialogsComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{ selector: 'cui-dialogs', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CuiDestroyService], template: "<ng-container *cuiLet=\"dialogs$ | async as dialogs\">\r\n <ng-container *ngFor=\"let dialog of dialogs; let i = index; trackBy: trackByFn\">\r\n <ng-container *ngComponentOutlet=\"dialog.component; injector: dialogInjectors[i]\"></ng-container>\r\n </ng-container>\r\n <div\r\n *ngIf=\"dialogs!.length\"\r\n class=\"c-overlay\"\r\n ></div>\r\n</ng-container>\r\n", styles: [":host{isolation:isolate}.c-overlay{position:fixed;inset:0;background:var(--cui-base);opacity:.3}\n"] }]
|
|
50
|
+
}] });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9ncy5jb21wb25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8sIGRpYWxvZ0lkKSA9PiB7XHJcbiAgICAgICAgaWYgKGRpYWxvZ3MuZmluZChkaWFsb2cgPT4gZGlhbG9nLmlkID09PSBkaWFsb2dJZCkpIHtcclxuICAgICAgICAgIHJldHVybjtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIHRoaXMuZGlhbG9nSW5qZWN0b3JDYWNoZS5kZWxldGUoZGlhbG9nSWQpO1xyXG4gICAgICB9KTtcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iLCI8bmctY29udGFpbmVyICpjdWlMZXQ9XCJkaWFsb2dzJCB8IGFzeW5jIGFzIGRpYWxvZ3NcIj5cclxuICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBkaWFsb2cgb2YgZGlhbG9nczsgbGV0IGkgPSBpbmRleDsgdHJhY2tCeTogdHJhY2tCeUZuXCI+XHJcbiAgICA8bmctY29udGFpbmVyICpuZ0NvbXBvbmVudE91dGxldD1cImRpYWxvZy5jb21wb25lbnQ7IGluamVjdG9yOiBkaWFsb2dJbmplY3RvcnNbaV1cIj48L25nLWNvbnRhaW5lcj5cclxuICA8L25nLWNvbnRhaW5lcj5cclxuICA8ZGl2XHJcbiAgICAqbmdJZj1cImRpYWxvZ3MhLmxlbmd0aFwiXHJcbiAgICBjbGFzcz1cImMtb3ZlcmxheVwiXHJcbiAgPjwvZGl2PlxyXG48L25nLWNvbnRhaW5lcj5cclxuIl19
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './dialog.component';
|
|
2
|
-
export * from './dialog.interfaces';
|
|
3
|
-
export * from './dialog.module';
|
|
4
|
-
export * from './dialog.service';
|
|
5
|
-
export * from './dialog.tokens';
|
|
6
|
-
export * from './dialogs.component';
|
|
7
|
-
export * from './dialog-actions/dialog-actions.component';
|
|
8
|
-
export * from './dialog-header/dialog-header.component';
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './dialog.component';
|
|
2
|
+
export * from './dialog.interfaces';
|
|
3
|
+
export * from './dialog.module';
|
|
4
|
+
export * from './dialog.service';
|
|
5
|
+
export * from './dialog.tokens';
|
|
6
|
+
export * from './dialogs.component';
|
|
7
|
+
export * from './dialog-actions/dialog-actions.component';
|
|
8
|
+
export * from './dialog-header/dialog-header.component';
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZGlhbG9nL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyx5Q0FBeUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGlhbG9nLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZGlhbG9nLmludGVyZmFjZXMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2RpYWxvZy5tb2R1bGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2RpYWxvZy5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9kaWFsb2cudG9rZW5zJztcclxuZXhwb3J0ICogZnJvbSAnLi9kaWFsb2dzLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZGlhbG9nLWFjdGlvbnMvZGlhbG9nLWFjdGlvbnMuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9kaWFsb2ctaGVhZGVyL2RpYWxvZy1oZWFkZXIuY29tcG9uZW50JztcclxuIl19
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CuiFormFieldComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiFormFieldComponent, selector: "cui-form-field", ngImport: i0, template: "<ng-content select=\"label[cuiLabel]\" />\n<ng-content />\n<div class=\"c-hint-container\">\n <ng-content select=\"cui-hint\" />\n</div>\n", styles: [":host{display:flex;flex-direction:column;gap:4px}.c-hint-container{margin-top:2px}.c-hint-container:empty{display:contents}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'cui-form-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"label[cuiLabel]\" />\n<ng-content />\n<div class=\"c-hint-container\">\n <ng-content select=\"cui-hint\" />\n</div>\n", styles: [":host{display:flex;flex-direction:column;gap:4px}.c-hint-container{margin-top:2px}.c-hint-container:empty{display:contents}\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 CuiFormFieldComponent {
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CuiFormFieldComponent, selector: "cui-form-field", ngImport: i0, template: "<ng-content select=\"label[cuiLabel]\" />\r\n<ng-content />\r\n<div class=\"c-hint-container\">\r\n <ng-content select=\"cui-hint\" />\r\n</div>\r\n", styles: [":host{display:flex;flex-direction:column;gap:4px}.c-hint-container{margin-top:2px}.c-hint-container:empty{display:contents}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ selector: 'cui-form-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"label[cuiLabel]\" />\r\n<ng-content />\r\n<div class=\"c-hint-container\">\r\n <ng-content select=\"cui-hint\" />\r\n</div>\r\n", styles: [":host{display:flex;flex-direction:column;gap:4px}.c-hint-container{margin-top:2px}.c-hint-container:empty{display:contents}\n"] }]
|
|
10
|
+
}] });
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZm9ybS1maWVsZC9mb3JtLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9mb3JtLWZpZWxkL2Zvcm0tZmllbGQudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFuRSxNQUFNLE9BQU8scUJBQXFCOytHQUFyQixxQkFBcUI7bUdBQXJCLHFCQUFxQixzRENSbEMseUpBS0E7OzRGREdhLHFCQUFxQjtrQkFOakMsU0FBUzsrQkFDRSxnQkFBZ0IsbUJBR1QsdUJBQXVCLENBQUMsTUFBTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnY3VpLWZvcm0tZmllbGQnLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi9mb3JtLWZpZWxkLnRlbXBsYXRlLmh0bWwnLFxyXG4gIHN0eWxlVXJsczogWycuL2Zvcm0tZmllbGQuc3R5bGUuc2NzcyddLFxyXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDdWlGb3JtRmllbGRDb21wb25lbnQge1xyXG59XHJcbiIsIjxuZy1jb250ZW50IHNlbGVjdD1cImxhYmVsW2N1aUxhYmVsXVwiIC8+XHJcbjxuZy1jb250ZW50IC8+XHJcbjxkaXYgY2xhc3M9XCJjLWhpbnQtY29udGFpbmVyXCI+XHJcbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJjdWktaGludFwiIC8+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CuiFormFieldComponent } from './form-field.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class CuiFormFieldModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldModule, declarations: [CuiFormFieldComponent], exports: [CuiFormFieldComponent] }); }
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldModule }); }
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
declarations: [CuiFormFieldComponent],
|
|
13
|
-
exports: [CuiFormFieldComponent]
|
|
14
|
-
}]
|
|
15
|
-
}] });
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiFormFieldComponent } from './form-field.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CuiFormFieldModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldModule, declarations: [CuiFormFieldComponent], exports: [CuiFormFieldComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldModule }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CuiFormFieldModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [CuiFormFieldComponent],
|
|
13
|
+
exports: [CuiFormFieldComponent]
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvZm9ybS1maWVsZC9mb3JtLWZpZWxkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQU0vRCxNQUFNLE9BQU8sa0JBQWtCOytHQUFsQixrQkFBa0I7Z0hBQWxCLGtCQUFrQixpQkFIZCxxQkFBcUIsYUFDMUIscUJBQXFCO2dIQUVwQixrQkFBa0I7OzRGQUFsQixrQkFBa0I7a0JBSjlCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMscUJBQXFCLENBQUM7b0JBQ3JDLE9BQU8sRUFBRSxDQUFDLHFCQUFxQixDQUFDO2lCQUNqQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5pbXBvcnQgeyBDdWlGb3JtRmllbGRDb21wb25lbnQgfSBmcm9tICcuL2Zvcm0tZmllbGQuY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbQ3VpRm9ybUZpZWxkQ29tcG9uZW50XSxcclxuICBleHBvcnRzOiBbQ3VpRm9ybUZpZWxkQ29tcG9uZW50XVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ3VpRm9ybUZpZWxkT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