@cuby-ui/core 0.0.487 → 0.0.489
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations/animations.d.ts +36 -0
- package/animations/index.d.ts +1 -0
- package/classes/accessors.d.ts +17 -0
- package/classes/driver.d.ts +16 -0
- package/classes/index.d.ts +3 -0
- package/classes/vehicle.d.ts +6 -0
- package/components/accordion/accordion-item/accordion-item.component.d.ts +14 -0
- package/components/accordion/accordion-item/accordion-item.options.d.ts +1 -0
- package/components/accordion/accordion.component.d.ts +5 -0
- package/components/accordion/accordion.directive.d.ts +15 -0
- package/components/accordion/accordion.module.d.ts +11 -0
- package/components/accordion/index.d.ts +4 -0
- package/components/alert/alert.component.d.ts +13 -0
- package/components/alert/alert.interfaces.d.ts +9 -0
- package/components/alert/alert.module.d.ts +11 -0
- package/components/alert/alert.service.d.ts +7 -0
- package/components/alert/alert.tokens.d.ts +16 -0
- package/components/alert/alert.types.d.ts +3 -0
- package/components/alert/alerts.component.d.ts +17 -0
- package/components/alert/index.d.ts +8 -0
- package/components/alert-hint/alert-hint.component.d.ts +11 -0
- package/components/alert-hint/error-status.d.ts +1 -0
- package/components/alert-hint/index.d.ts +2 -0
- package/components/badge/badge.component.d.ts +10 -0
- package/components/badge/badge.module.d.ts +8 -0
- package/components/badge/badge.options.d.ts +12 -0
- package/components/badge/index.d.ts +3 -0
- package/components/banner/banner.component.d.ts +21 -0
- package/components/banner/banner.module.d.ts +11 -0
- package/components/banner/banner.options.d.ts +13 -0
- package/components/banner/index.d.ts +3 -0
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -0
- package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -0
- package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -0
- package/components/breadcrumbs/index.d.ts +3 -0
- package/components/button/button.component.d.ts +39 -0
- package/components/button/button.module.d.ts +9 -0
- package/components/button/button.options.d.ts +14 -0
- package/components/button/index.d.ts +3 -0
- package/components/button-group/button-group.component.d.ts +5 -0
- package/components/button-group/button-group.module.d.ts +7 -0
- package/components/button-group/index.d.ts +2 -0
- package/components/card-wrapper/card-wrapper.component.d.ts +7 -0
- package/components/card-wrapper/index.d.ts +1 -0
- package/components/checkbox/checkbox.component.d.ts +5 -0
- package/components/checkbox/checkbox.module.d.ts +7 -0
- package/components/checkbox/index.d.ts +2 -0
- package/components/content-header/content-header.component.d.ts +8 -0
- package/components/content-header/index.d.ts +1 -0
- package/components/content-wrapper/content-wrapper.component.d.ts +11 -0
- package/components/content-wrapper/index.d.ts +1 -0
- package/components/context-menu/context-menu.component.d.ts +41 -0
- package/components/context-menu/context-menu.module.d.ts +9 -0
- package/components/context-menu/index.d.ts +2 -0
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -0
- package/components/dialog/dialog-header/dialog-header.component.d.ts +12 -0
- package/components/dialog/dialog.component.d.ts +33 -0
- package/components/dialog/dialog.interfaces.d.ts +11 -0
- package/components/dialog/dialog.module.d.ts +14 -0
- package/components/dialog/dialog.service.d.ts +7 -0
- package/components/dialog/dialog.tokens.d.ts +8 -0
- package/components/dialog/dialogs.component.d.ts +18 -0
- package/components/dialog/index.d.ts +8 -0
- package/components/dropdown/dropdown-wrapper.component.d.ts +9 -0
- package/components/dropdown/dropdown.directive.d.ts +41 -0
- package/components/dropdown/dropdown.interfaces.d.ts +8 -0
- package/components/dropdown/index.d.ts +3 -0
- package/components/empty-state/empty-state.component.d.ts +7 -0
- package/components/empty-state/index.d.ts +1 -0
- package/components/file-icon/file-icon.component.d.ts +9 -0
- package/components/file-icon/file-icon.options.d.ts +12 -0
- package/components/file-icon/index.d.ts +1 -0
- package/components/form-field/form-field.component.d.ts +5 -0
- package/components/form-field/form-field.module.d.ts +7 -0
- package/components/form-field/index.d.ts +2 -0
- package/components/ghost-input/ghost-input.component.d.ts +6 -0
- package/components/ghost-input/index.d.ts +1 -0
- package/components/hint/hint.component.d.ts +7 -0
- package/components/hint/hint.module.d.ts +7 -0
- package/components/hint/index.d.ts +2 -0
- package/components/icon-button/icon-button.component.d.ts +13 -0
- package/components/icon-button/icon-button.module.d.ts +9 -0
- package/components/icon-button/index.d.ts +2 -0
- package/components/index.d.ts +41 -0
- package/components/input-number/index.d.ts +2 -0
- package/components/input-number/input-number.component.d.ts +38 -0
- package/components/input-number/input-number.module.d.ts +12 -0
- package/components/input-password/index.d.ts +2 -0
- package/components/input-password/input-password.component.d.ts +31 -0
- package/components/input-password/input-password.module.d.ts +11 -0
- package/components/input-text/index.d.ts +2 -0
- package/components/input-text/input-text.component.d.ts +31 -0
- package/components/input-text/input-text.module.d.ts +11 -0
- package/components/input-time/index.d.ts +3 -0
- package/components/input-time/input-time.component.d.ts +36 -0
- package/components/input-time/input-time.module.d.ts +12 -0
- package/components/input-time/input-time.options.d.ts +7 -0
- package/components/label/index.d.ts +2 -0
- package/components/label/label.component.d.ts +6 -0
- package/components/label/label.module.d.ts +8 -0
- package/components/layout/index.d.ts +1 -0
- package/components/layout/layout.component.d.ts +6 -0
- package/components/letter-box/index.d.ts +1 -0
- package/components/letter-box/letter-box.component.d.ts +14 -0
- package/components/letter-box/letter-box.interfaces.d.ts +3 -0
- package/components/notification/index.d.ts +3 -0
- package/components/notification/notification.component.d.ts +18 -0
- package/components/notification/notification.module.d.ts +9 -0
- package/components/notification/notification.options.d.ts +17 -0
- package/components/options-button/index.d.ts +1 -0
- package/components/options-button/options-button.component.d.ts +8 -0
- package/components/radio/index.d.ts +2 -0
- package/components/radio/radio.component.d.ts +5 -0
- package/components/radio/radio.module.d.ts +7 -0
- package/components/render-dynamic-components/index.d.ts +3 -0
- package/components/render-dynamic-components/render-dynamic-components.component.d.ts +7 -0
- package/components/render-dynamic-components/render-dynamic-components.options.d.ts +7 -0
- package/components/render-dynamic-components/render-dynamic-components.service.d.ts +12 -0
- package/components/root/index.d.ts +3 -0
- package/components/root/root.component.d.ts +10 -0
- package/components/root/root.module.d.ts +11 -0
- package/components/root/root.options.d.ts +1 -0
- package/components/select/index.d.ts +2 -0
- package/components/select/select.component.d.ts +53 -0
- package/components/select/select.module.d.ts +11 -0
- package/components/sidebar/index.d.ts +7 -0
- package/components/sidebar/sidebar-container/index.d.ts +1 -0
- package/components/sidebar/sidebar-container/sidebar-container.component.d.ts +10 -0
- package/components/sidebar/sidebar-header/index.d.ts +1 -0
- package/components/sidebar/sidebar-header/sidebar-header.component.d.ts +12 -0
- package/components/sidebar/sidebar-navigation/index.d.ts +1 -0
- package/components/sidebar/sidebar-navigation/sidebar-navigation.component.d.ts +9 -0
- package/components/sidebar/sidebar-navigation-container/index.d.ts +1 -0
- package/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.d.ts +8 -0
- package/components/sidebar/sidebar-navigation-item/index.d.ts +1 -0
- package/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.d.ts +9 -0
- package/components/sidebar/sidebar.options.d.ts +4 -0
- package/components/sidebar/sidebar.service.d.ts +17 -0
- package/components/svg/index.d.ts +2 -0
- package/components/svg/svg.component.d.ts +16 -0
- package/components/svg/svg.module.d.ts +8 -0
- package/components/tab/index.d.ts +1 -0
- package/components/tab/tab.component.d.ts +15 -0
- package/components/tabs/components/abstract-tabs/abstract-tabs.component.d.ts +15 -0
- package/components/tabs/components/abstract-tabs/index.d.ts +1 -0
- package/components/tabs/components/index.d.ts +1 -0
- package/components/tabs/index.d.ts +5 -0
- package/components/tabs/services/index.d.ts +1 -0
- package/components/tabs/services/tabs.service.d.ts +14 -0
- package/components/tabs/tabs.component.d.ts +8 -0
- package/components/tabs/tabs.options.d.ts +21 -0
- package/components/tabs/tabs.provider.d.ts +3 -0
- package/components/textarea/index.d.ts +2 -0
- package/components/textarea/textarea.component.d.ts +10 -0
- package/components/textarea/textarea.module.d.ts +7 -0
- package/components/toggle/index.d.ts +2 -0
- package/components/toggle/toggle.component.d.ts +5 -0
- package/components/toggle/toggle.module.d.ts +7 -0
- package/directives/index.d.ts +2 -0
- package/directives/text-field-controller/index.d.ts +8 -0
- package/directives/text-field-controller/text-field-controller.module.d.ts +11 -0
- package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -0
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -0
- package/directives/text-field-controller/text-field-id.directive.d.ts +8 -0
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -0
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -0
- package/directives/text-field-controller/text-field-size.directive.d.ts +9 -0
- package/directives/text-field-controller/text-field.controller.d.ts +20 -0
- package/directives/tooltip/index.d.ts +16 -0
- package/directives/tooltip/tooltip-describe.directive.d.ts +16 -0
- package/directives/tooltip/tooltip-driver.directive.d.ts +7 -0
- package/directives/tooltip/tooltip-host.directive.d.ts +9 -0
- package/directives/tooltip/tooltip-hover.directive.d.ts +21 -0
- package/directives/tooltip/tooltip-manual.directive.d.ts +13 -0
- package/directives/tooltip/tooltip-options.directive.d.ts +36 -0
- package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -0
- package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -0
- package/directives/tooltip/tooltip-position.directive.d.ts +20 -0
- package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -0
- package/directives/tooltip/tooltip.component.d.ts +33 -0
- package/directives/tooltip/tooltip.d.ts +13 -0
- package/directives/tooltip/tooltip.directive.d.ts +26 -0
- package/directives/tooltip/tooltip.providers.d.ts +5 -0
- package/directives/tooltip/tooltip.service.d.ts +13 -0
- package/directives/tooltip/tooltips.component.d.ts +12 -0
- package/editor/components/editor-attaches-tool/editor-attaches-tool.component.d.ts +19 -0
- package/editor/components/editor-attaches-tool/editor-attaches-tool.options.d.ts +18 -0
- package/editor/components/editor-attaches-tool/index.d.ts +2 -0
- package/editor/components/editor-image-tool/editor-image-tool.component.d.ts +14 -0
- package/editor/components/editor-image-tool/editor-image-tool.options.d.ts +26 -0
- package/editor/components/editor-image-tool/index.d.ts +2 -0
- package/editor/components/editor-tool/editor-tool.component.d.ts +22 -0
- package/editor/components/editor-tool-modal/editor-tool-modal.component.d.ts +24 -0
- package/editor/components/editor-tool-modal/editor-tool-modal.options.d.ts +8 -0
- package/editor/components/editor-tool-modal/index.d.ts +2 -0
- package/editor/components/editor-tooltip/editor-tooltip.component.d.ts +16 -0
- package/editor/components/editor-tooltip/editor-tooltip.options.d.ts +9 -0
- package/editor/components/editor-tooltip/index.d.ts +2 -0
- package/editor/components/editor-video-tool/editor-video-tool.component.d.ts +12 -0
- package/editor/components/editor-video-tool/editor-video-tool.options.d.ts +26 -0
- package/editor/components/editor-video-tool/index.d.ts +2 -0
- package/editor/components/index.d.ts +7 -0
- package/editor/components/marker-modal/index.d.ts +3 -0
- package/editor/components/marker-modal/marker-modal.component.d.ts +62 -0
- package/editor/components/marker-modal/marker-modal.interfaces.d.ts +7 -0
- package/editor/components/marker-modal/marker-modal.options.d.ts +1 -0
- package/editor/components/marker-select/component/select-item/select-option.component.d.ts +7 -0
- package/editor/components/marker-select/index.d.ts +2 -0
- package/editor/components/marker-select/marker-select.component.d.ts +40 -0
- package/editor/components/marker-select/marker-select.options.d.ts +1 -0
- package/editor/config/custom-elements.d.ts +2 -0
- package/editor/config/editor.config.d.ts +3 -0
- package/editor/config/index.d.ts +1 -0
- package/editor/constants/editor.constants.d.ts +15 -0
- package/editor/constants/index.d.ts +1 -0
- package/editor/editor.component.d.ts +74 -0
- package/editor/events/editor-drag.event.d.ts +2 -0
- package/editor/events/editor-keyboard.event.d.ts +2 -0
- package/editor/events/editor-modal.event.d.ts +3 -0
- package/editor/events/editor-tooltip.event.d.ts +2 -0
- package/editor/events/set-editor-events.d.ts +1 -0
- package/editor/index.d.ts +9 -0
- package/editor/interfaces/angular-element.d.ts +2 -0
- package/editor/interfaces/blocks-request-data.d.ts +6 -0
- package/editor/interfaces/combined-block-adding-event.d.ts +7 -0
- package/editor/interfaces/combined-block-data.d.ts +5 -0
- package/editor/interfaces/combined-part-block-data.d.ts +7 -0
- package/editor/interfaces/custom-element.d.ts +5 -0
- package/editor/interfaces/editor-service.d.ts +4 -0
- package/editor/interfaces/event-action-data.d.ts +5 -0
- package/editor/interfaces/file-response-data.d.ts +15 -0
- package/editor/interfaces/full-block-data.d.ts +8 -0
- package/editor/interfaces/index.d.ts +15 -0
- package/editor/interfaces/main-editor-config.d.ts +12 -0
- package/editor/interfaces/mutation-actions.d.ts +5 -0
- package/editor/interfaces/parent.d.ts +4 -0
- package/editor/interfaces/tools.d.ts +4 -0
- package/editor/interfaces/tune.d.ts +6 -0
- package/editor/pipes/file-size.pipe.d.ts +9 -0
- package/editor/providers/editor.provider.d.ts +2 -0
- package/editor/providers/index.d.ts +1 -0
- package/editor/services/editor-service.options.d.ts +8 -0
- package/editor/services/editor.service.d.ts +23 -0
- package/editor/services/index.d.ts +4 -0
- package/editor/services/markers-service.options.d.ts +4 -0
- package/editor/services/markers.service.d.ts +11 -0
- package/editor/tools/attaches.tool.d.ts +31 -0
- package/editor/tools/bold.tool.d.ts +11 -0
- package/editor/tools/combined-text-block.tool.d.ts +48 -0
- package/editor/tools/custom-marker.tool.d.ts +16 -0
- package/editor/tools/header.tool.d.ts +8 -0
- package/editor/tools/image.tool.d.ts +37 -0
- package/editor/tools/index.d.ts +11 -0
- package/editor/tools/italic.tool.d.ts +12 -0
- package/editor/tools/link-marker.tool.d.ts +15 -0
- package/editor/tools/list.tool.d.ts +5 -0
- package/editor/tools/marker.tool.d.ts +36 -0
- package/editor/tools/role-marker.tool.d.ts +7 -0
- package/editor/tools/selection-base.tool.d.ts +24 -0
- package/editor/tools/tool-marker.tool.d.ts +7 -0
- package/editor/tools/video.tool.d.ts +32 -0
- package/editor/utils/copy-text-to-clipboard.d.ts +1 -0
- package/editor/utils/create-link-modal.d.ts +3 -0
- package/editor/utils/create-tool-modal.d.ts +4 -0
- package/editor/utils/create-tools-data.d.ts +3 -0
- package/editor/utils/create-tooltip.d.ts +8 -0
- package/editor/utils/file-uploader.d.ts +27 -0
- package/editor/utils/generate-id.d.ts +1 -0
- package/editor/utils/index.d.ts +12 -0
- package/editor/utils/open-file-in-browser.d.ts +2 -0
- package/editor/utils/recalculate-indexes.d.ts +2 -0
- package/editor/utils/remove-element-tag-wrapper.d.ts +1 -0
- package/editor/utils/set-loading.d.ts +2 -0
- package/editor/utils/split-html.d.ts +1 -0
- package/editor/utils/url.validator.d.ts +2 -0
- package/editor/widgets/editor-block/editor-block.component.d.ts +22 -0
- package/editor/widgets/editor-block/index.d.ts +1 -0
- package/editor/widgets/editor-modal/editor-modal.component.d.ts +19 -0
- package/editor/widgets/editor-modal/index.d.ts +1 -0
- package/editor/widgets/editor-readonly/editor-readonly.component.d.ts +27 -0
- package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +5 -0
- package/editor/widgets/editor-readonly/editor-resize-observer.directive.d.ts +15 -0
- package/editor/widgets/editor-readonly/index.d.ts +2 -0
- package/editor/widgets/index.d.ts +3 -0
- package/esm2022/animations/animations.mjs +228 -0
- package/esm2022/animations/index.mjs +2 -0
- package/esm2022/classes/accessors.mjs +31 -0
- package/esm2022/classes/driver.mjs +35 -0
- package/esm2022/classes/index.mjs +4 -0
- package/esm2022/classes/vehicle.mjs +7 -0
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +37 -0
- package/esm2022/components/accordion/accordion-item/accordion-item.options.mjs +2 -0
- package/esm2022/components/accordion/accordion.component.mjs +11 -0
- package/esm2022/components/accordion/accordion.directive.mjs +56 -0
- package/esm2022/components/accordion/accordion.module.mjs +21 -0
- package/esm2022/components/accordion/index.mjs +5 -0
- package/esm2022/components/alert/alert.component.mjs +36 -0
- package/esm2022/components/alert/alert.interfaces.mjs +2 -0
- package/esm2022/components/alert/alert.module.mjs +21 -0
- package/esm2022/components/alert/alert.service.mjs +17 -0
- package/esm2022/components/alert/alert.tokens.mjs +20 -0
- package/esm2022/components/alert/alert.types.mjs +2 -0
- package/esm2022/components/alert/alerts.component.mjs +34 -0
- package/esm2022/components/alert/index.mjs +9 -0
- package/esm2022/components/alert-hint/alert-hint.component.mjs +28 -0
- package/esm2022/components/alert-hint/error-status.mjs +2 -0
- package/esm2022/components/alert-hint/index.mjs +2 -0
- package/esm2022/components/badge/badge.component.mjs +31 -0
- package/esm2022/components/badge/badge.module.mjs +18 -0
- package/esm2022/components/badge/badge.options.mjs +8 -0
- package/esm2022/components/badge/index.mjs +3 -0
- package/esm2022/components/banner/banner.component.mjs +68 -0
- package/esm2022/components/banner/banner.module.mjs +21 -0
- package/esm2022/components/banner/banner.options.mjs +6 -0
- package/esm2022/components/banner/index.mjs +4 -0
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -0
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +17 -0
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +20 -0
- package/esm2022/components/breadcrumbs/index.mjs +4 -0
- package/esm2022/components/button/button.component.mjs +133 -0
- package/esm2022/components/button/button.module.mjs +19 -0
- package/esm2022/components/button/button.options.mjs +11 -0
- package/esm2022/components/button/index.mjs +4 -0
- package/esm2022/components/button-group/button-group.component.mjs +11 -0
- package/esm2022/components/button-group/button-group.module.mjs +16 -0
- package/esm2022/components/button-group/index.mjs +3 -0
- package/esm2022/components/card-wrapper/card-wrapper.component.mjs +18 -0
- package/esm2022/components/card-wrapper/index.mjs +2 -0
- package/esm2022/components/checkbox/checkbox.component.mjs +11 -0
- package/esm2022/components/checkbox/checkbox.module.mjs +16 -0
- package/esm2022/components/checkbox/index.mjs +3 -0
- package/esm2022/components/content-header/content-header.component.mjs +19 -0
- package/esm2022/components/content-header/index.mjs +2 -0
- package/esm2022/components/content-wrapper/content-wrapper.component.mjs +29 -0
- package/esm2022/components/content-wrapper/index.mjs +2 -0
- package/esm2022/components/context-menu/context-menu.component.mjs +148 -0
- package/esm2022/components/context-menu/context-menu.module.mjs +19 -0
- package/esm2022/components/context-menu/index.mjs +3 -0
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -0
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -0
- package/esm2022/components/dialog/dialog.component.mjs +67 -0
- package/esm2022/components/dialog/dialog.interfaces.mjs +2 -0
- package/esm2022/components/dialog/dialog.module.mjs +24 -0
- package/esm2022/components/dialog/dialog.service.mjs +17 -0
- package/esm2022/components/dialog/dialog.tokens.mjs +12 -0
- package/esm2022/components/dialog/dialogs.component.mjs +49 -0
- package/esm2022/components/dialog/index.mjs +9 -0
- package/esm2022/components/dropdown/dropdown-wrapper.component.mjs +23 -0
- package/esm2022/components/dropdown/dropdown.directive.mjs +182 -0
- package/esm2022/components/dropdown/dropdown.interfaces.mjs +2 -0
- package/esm2022/components/dropdown/index.mjs +3 -0
- package/esm2022/components/empty-state/empty-state.component.mjs +17 -0
- package/esm2022/components/empty-state/index.mjs +2 -0
- package/esm2022/components/file-icon/file-icon.component.mjs +22 -0
- package/esm2022/components/file-icon/file-icon.options.mjs +120 -0
- package/esm2022/components/file-icon/index.mjs +2 -0
- package/esm2022/components/form-field/form-field.component.mjs +11 -0
- package/esm2022/components/form-field/form-field.module.mjs +16 -0
- package/esm2022/components/form-field/index.mjs +3 -0
- package/esm2022/components/ghost-input/ghost-input.component.mjs +16 -0
- package/esm2022/components/ghost-input/index.mjs +2 -0
- package/esm2022/components/hint/hint.component.mjs +19 -0
- package/esm2022/components/hint/hint.module.mjs +16 -0
- package/esm2022/components/hint/index.mjs +3 -0
- package/esm2022/components/icon-button/icon-button.component.mjs +32 -0
- package/esm2022/components/icon-button/icon-button.module.mjs +19 -0
- package/esm2022/components/icon-button/index.mjs +3 -0
- package/esm2022/components/index.mjs +42 -0
- package/esm2022/components/input-number/index.mjs +3 -0
- package/esm2022/components/input-number/input-number.component.mjs +107 -0
- package/esm2022/components/input-number/input-number.module.mjs +22 -0
- package/esm2022/components/input-password/index.mjs +3 -0
- package/esm2022/components/input-password/input-password.component.mjs +83 -0
- package/esm2022/components/input-password/input-password.module.mjs +21 -0
- package/esm2022/components/input-text/index.mjs +3 -0
- package/esm2022/components/input-text/input-text.component.mjs +81 -0
- package/esm2022/components/input-text/input-text.module.mjs +21 -0
- package/esm2022/components/input-time/index.mjs +4 -0
- package/esm2022/components/input-time/input-time.component.mjs +93 -0
- package/esm2022/components/input-time/input-time.module.mjs +22 -0
- package/esm2022/components/input-time/input-time.options.mjs +8 -0
- package/esm2022/components/label/index.mjs +3 -0
- package/esm2022/components/label/label.component.mjs +17 -0
- package/esm2022/components/label/label.module.mjs +18 -0
- package/esm2022/components/layout/index.mjs +2 -0
- package/esm2022/components/layout/layout.component.mjs +16 -0
- package/esm2022/components/letter-box/index.mjs +2 -0
- package/esm2022/components/letter-box/letter-box.component.mjs +43 -0
- package/esm2022/components/letter-box/letter-box.interfaces.mjs +2 -0
- package/esm2022/components/notification/index.mjs +4 -0
- package/esm2022/components/notification/notification.component.mjs +47 -0
- package/esm2022/components/notification/notification.module.mjs +19 -0
- package/esm2022/components/notification/notification.options.mjs +53 -0
- package/esm2022/components/options-button/index.mjs +2 -0
- package/esm2022/components/options-button/options-button.component.mjs +20 -0
- package/esm2022/components/radio/index.mjs +3 -0
- package/esm2022/components/radio/radio.component.mjs +11 -0
- package/esm2022/components/radio/radio.module.mjs +16 -0
- package/esm2022/components/render-dynamic-components/index.mjs +3 -0
- package/esm2022/components/render-dynamic-components/render-dynamic-components.component.mjs +17 -0
- package/esm2022/components/render-dynamic-components/render-dynamic-components.options.mjs +2 -0
- package/esm2022/components/render-dynamic-components/render-dynamic-components.service.mjs +29 -0
- package/esm2022/components/root/index.mjs +4 -0
- package/esm2022/components/root/root.component.mjs +27 -0
- package/esm2022/components/root/root.module.mjs +21 -0
- package/esm2022/components/root/root.options.mjs +2 -0
- package/esm2022/components/select/index.mjs +3 -0
- package/esm2022/components/select/select.component.mjs +171 -0
- package/esm2022/components/select/select.module.mjs +21 -0
- package/esm2022/components/sidebar/index.mjs +7 -0
- package/esm2022/components/sidebar/sidebar-container/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-container/sidebar-container.component.mjs +30 -0
- package/esm2022/components/sidebar/sidebar-header/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +27 -0
- package/esm2022/components/sidebar/sidebar-navigation/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +16 -0
- package/esm2022/components/sidebar/sidebar-navigation-container/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +16 -0
- package/esm2022/components/sidebar/sidebar-navigation-item/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +21 -0
- package/esm2022/components/sidebar/sidebar.options.mjs +2 -0
- package/esm2022/components/sidebar/sidebar.service.mjs +39 -0
- package/esm2022/components/svg/index.mjs +3 -0
- package/esm2022/components/svg/svg.component.mjs +48 -0
- package/esm2022/components/svg/svg.module.mjs +18 -0
- package/esm2022/components/tab/index.mjs +2 -0
- package/esm2022/components/tab/tab.component.mjs +36 -0
- package/esm2022/components/tabs/components/abstract-tabs/abstract-tabs.component.mjs +40 -0
- package/esm2022/components/tabs/components/abstract-tabs/index.mjs +2 -0
- package/esm2022/components/tabs/components/index.mjs +2 -0
- package/esm2022/components/tabs/index.mjs +6 -0
- package/esm2022/components/tabs/services/index.mjs +2 -0
- package/esm2022/components/tabs/services/tabs.service.mjs +27 -0
- package/esm2022/components/tabs/tabs.component.mjs +17 -0
- package/esm2022/components/tabs/tabs.options.mjs +5 -0
- package/esm2022/components/tabs/tabs.provider.mjs +9 -0
- package/esm2022/components/textarea/index.mjs +3 -0
- package/esm2022/components/textarea/textarea.component.mjs +35 -0
- package/esm2022/components/textarea/textarea.module.mjs +16 -0
- package/esm2022/components/toggle/index.mjs +3 -0
- package/esm2022/components/toggle/toggle.component.mjs +11 -0
- package/esm2022/components/toggle/toggle.module.mjs +16 -0
- package/esm2022/cuby-ui-core.mjs +5 -0
- package/esm2022/directives/index.mjs +3 -0
- package/esm2022/directives/text-field-controller/index.mjs +9 -0
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +40 -0
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +24 -0
- package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -0
- package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +21 -0
- package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +24 -0
- package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -0
- package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +24 -0
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +25 -0
- package/esm2022/directives/tooltip/index.mjs +17 -0
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +47 -0
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -0
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -0
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +50 -0
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -0
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +91 -0
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -0
- package/esm2022/directives/tooltip/tooltip.component.mjs +109 -0
- package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -0
- package/esm2022/directives/tooltip/tooltip.mjs +27 -0
- package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -0
- package/esm2022/directives/tooltip/tooltip.service.mjs +28 -0
- package/esm2022/directives/tooltip/tooltips.component.mjs +33 -0
- package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +60 -0
- package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.options.mjs +2 -0
- package/esm2022/editor/components/editor-attaches-tool/index.mjs +3 -0
- package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +43 -0
- package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +2 -0
- package/esm2022/editor/components/editor-image-tool/index.mjs +3 -0
- package/esm2022/editor/components/editor-tool/editor-tool.component.mjs +74 -0
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.component.mjs +69 -0
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +2 -0
- package/esm2022/editor/components/editor-tool-modal/index.mjs +3 -0
- package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +45 -0
- package/esm2022/editor/components/editor-tooltip/editor-tooltip.options.mjs +2 -0
- package/esm2022/editor/components/editor-tooltip/index.mjs +3 -0
- package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +41 -0
- package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +2 -0
- package/esm2022/editor/components/editor-video-tool/index.mjs +3 -0
- package/esm2022/editor/components/index.mjs +8 -0
- package/esm2022/editor/components/marker-modal/index.mjs +3 -0
- package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +261 -0
- package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +2 -0
- package/esm2022/editor/components/marker-modal/marker-modal.options.mjs +2 -0
- package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +15 -0
- package/esm2022/editor/components/marker-select/index.mjs +3 -0
- package/esm2022/editor/components/marker-select/marker-select.component.mjs +155 -0
- package/esm2022/editor/components/marker-select/marker-select.options.mjs +2 -0
- package/esm2022/editor/config/custom-elements.mjs +32 -0
- package/esm2022/editor/config/editor.config.mjs +30 -0
- package/esm2022/editor/config/index.mjs +2 -0
- package/esm2022/editor/constants/editor.constants.mjs +20 -0
- package/esm2022/editor/constants/index.mjs +2 -0
- package/esm2022/editor/editor.component.mjs +393 -0
- package/esm2022/editor/events/editor-drag.event.mjs +7 -0
- package/esm2022/editor/events/editor-keyboard.event.mjs +33 -0
- package/esm2022/editor/events/editor-modal.event.mjs +31 -0
- package/esm2022/editor/events/editor-tooltip.event.mjs +63 -0
- package/esm2022/editor/events/set-editor-events.mjs +11 -0
- package/esm2022/editor/i18n/en.json +14 -0
- package/esm2022/editor/index.mjs +8 -0
- package/esm2022/editor/interfaces/angular-element.mjs +2 -0
- package/esm2022/editor/interfaces/blocks-request-data.mjs +2 -0
- package/esm2022/editor/interfaces/combined-block-adding-event.mjs +2 -0
- package/esm2022/editor/interfaces/combined-block-data.mjs +2 -0
- package/esm2022/editor/interfaces/combined-part-block-data.mjs +2 -0
- package/esm2022/editor/interfaces/custom-element.mjs +2 -0
- package/esm2022/editor/interfaces/editor-service.mjs +2 -0
- package/esm2022/editor/interfaces/event-action-data.mjs +2 -0
- package/esm2022/editor/interfaces/file-response-data.mjs +2 -0
- package/esm2022/editor/interfaces/full-block-data.mjs +2 -0
- package/esm2022/editor/interfaces/index.mjs +15 -0
- package/esm2022/editor/interfaces/main-editor-config.mjs +2 -0
- package/esm2022/editor/interfaces/mutation-actions.mjs +2 -0
- package/esm2022/editor/interfaces/parent.mjs +2 -0
- package/esm2022/editor/interfaces/tools.mjs +2 -0
- package/esm2022/editor/interfaces/tune.mjs +2 -0
- package/esm2022/editor/pipes/file-size.pipe.mjs +25 -0
- package/esm2022/editor/providers/editor.provider.mjs +19 -0
- package/esm2022/editor/providers/index.mjs +2 -0
- package/esm2022/editor/services/editor-service.options.mjs +4 -0
- package/esm2022/editor/services/editor.service.mjs +138 -0
- package/esm2022/editor/services/index.mjs +5 -0
- package/esm2022/editor/services/markers-service.options.mjs +2 -0
- package/esm2022/editor/services/markers.service.mjs +79 -0
- package/esm2022/editor/tools/attaches.tool.mjs +102 -0
- package/esm2022/editor/tools/bold.tool.mjs +33 -0
- package/esm2022/editor/tools/combined-text-block.tool.mjs +363 -0
- package/esm2022/editor/tools/custom-marker.tool.mjs +88 -0
- package/esm2022/editor/tools/header.tool.mjs +16 -0
- package/esm2022/editor/tools/image.tool.mjs +157 -0
- package/esm2022/editor/tools/index.mjs +12 -0
- package/esm2022/editor/tools/italic.tool.mjs +35 -0
- package/esm2022/editor/tools/link-marker.tool.mjs +80 -0
- package/esm2022/editor/tools/list.tool.mjs +10 -0
- package/esm2022/editor/tools/marker.tool.mjs +144 -0
- package/esm2022/editor/tools/role-marker.tool.mjs +17 -0
- package/esm2022/editor/tools/selection-base.tool.mjs +92 -0
- package/esm2022/editor/tools/tool-marker.tool.mjs +14 -0
- package/esm2022/editor/tools/video.tool.mjs +132 -0
- package/esm2022/editor/utils/copy-text-to-clipboard.mjs +17 -0
- package/esm2022/editor/utils/create-link-modal.mjs +22 -0
- package/esm2022/editor/utils/create-tool-modal.mjs +45 -0
- package/esm2022/editor/utils/create-tools-data.mjs +56 -0
- package/esm2022/editor/utils/create-tooltip.mjs +43 -0
- package/esm2022/editor/utils/file-uploader.mjs +60 -0
- package/esm2022/editor/utils/generate-id.mjs +4 -0
- package/esm2022/editor/utils/index.mjs +13 -0
- package/esm2022/editor/utils/open-file-in-browser.mjs +9 -0
- package/esm2022/editor/utils/recalculate-indexes.mjs +32 -0
- package/esm2022/editor/utils/remove-element-tag-wrapper.mjs +11 -0
- package/esm2022/editor/utils/set-loading.mjs +14 -0
- package/esm2022/editor/utils/split-html.mjs +128 -0
- package/esm2022/editor/utils/url.validator.mjs +12 -0
- package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +63 -0
- package/esm2022/editor/widgets/editor-block/index.mjs +2 -0
- package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +42 -0
- package/esm2022/editor/widgets/editor-modal/index.mjs +2 -0
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +36 -0
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +2 -0
- package/esm2022/editor/widgets/editor-readonly/editor-resize-observer.directive.mjs +51 -0
- package/esm2022/editor/widgets/editor-readonly/index.mjs +2 -0
- package/esm2022/editor/widgets/index.mjs +4 -0
- package/esm2022/index.mjs +12 -0
- package/esm2022/interceptors/auth.interceptor.mjs +15 -0
- package/esm2022/interceptors/error-handler.interceptor.mjs +23 -0
- package/esm2022/interceptors/index.mjs +6 -0
- package/esm2022/interceptors/loader.interceptor.mjs +12 -0
- package/esm2022/interceptors/sse-stream-reader.interceptor.mjs +78 -0
- package/esm2022/interceptors/x-ndjson.interceptor.mjs +48 -0
- package/esm2022/interfaces/context-menu-item.mjs +2 -0
- package/esm2022/interfaces/error-notification-service.mjs +2 -0
- package/esm2022/interfaces/error-stategy.mjs +2 -0
- package/esm2022/interfaces/image.mjs +2 -0
- package/esm2022/interfaces/index.mjs +6 -0
- package/esm2022/interfaces/option.mjs +2 -0
- package/esm2022/operators/handle-error.mjs +12 -0
- package/esm2022/operators/index.mjs +2 -0
- package/esm2022/providers/auth.options.mjs +3 -0
- package/esm2022/providers/auth.provider.mjs +31 -0
- package/esm2022/providers/error-handler.options.mjs +2 -0
- package/esm2022/providers/error-handler.provider.mjs +23 -0
- package/esm2022/providers/index.mjs +4 -0
- package/esm2022/services/auth.service.mjs +31 -0
- package/esm2022/services/browser-auth.service.mjs +31 -0
- package/esm2022/services/error-resolver-factory.service.mjs +75 -0
- package/esm2022/services/global-handler-error.service.mjs +26 -0
- package/esm2022/services/index.mjs +10 -0
- package/esm2022/services/loader.options.mjs +6 -0
- package/esm2022/services/loader.service.mjs +60 -0
- package/esm2022/services/mobile-auth.service.mjs +25 -0
- package/esm2022/services/position.service.mjs +23 -0
- package/esm2022/services/theme.options.mjs +6 -0
- package/esm2022/services/theme.service.mjs +30 -0
- package/esm2022/services/token.options.mjs +2 -0
- package/esm2022/services/token.service.mjs +121 -0
- package/esm2022/services/visual-viewport.service.mjs +28 -0
- package/esm2022/tokens/animations-speed.mjs +8 -0
- package/esm2022/tokens/error-notification-service.mjs +15 -0
- package/esm2022/tokens/error-translation-prefix.mjs +6 -0
- package/esm2022/tokens/index.mjs +6 -0
- package/esm2022/tokens/reduced-motion.mjs +5 -0
- package/esm2022/tokens/viewport.mjs +31 -0
- package/esm2022/types/appearance.mjs +2 -0
- package/esm2022/types/button-theme.mjs +2 -0
- package/esm2022/types/hint-type.mjs +2 -0
- package/esm2022/types/index.mjs +11 -0
- package/esm2022/types/point.mjs +2 -0
- package/esm2022/types/portal-item.mjs +2 -0
- package/esm2022/types/position.mjs +2 -0
- package/esm2022/types/resizing.mjs +2 -0
- package/esm2022/types/shape.mjs +2 -0
- package/esm2022/types/size.mjs +2 -0
- package/esm2022/types/status.mjs +2 -0
- package/esm2022/utils/check-fixed-position.mjs +7 -0
- package/esm2022/utils/default-validators/create-default-validators.mjs +19 -0
- package/esm2022/utils/default-validators/create-default-validators.options.mjs +2 -0
- package/esm2022/utils/default-validators/extra-spaces.options.mjs +11 -0
- package/esm2022/utils/default-validators/extra-spaces.validators.mjs +11 -0
- package/esm2022/utils/default-validators/index.mjs +2 -0
- package/esm2022/utils/format/index.mjs +3 -0
- package/esm2022/utils/format/remove-spaces.mjs +4 -0
- package/esm2022/utils/format/replace.mjs +5 -0
- package/esm2022/utils/index.mjs +5 -0
- package/esm2022/utils/miscellaneous/index.mjs +4 -0
- package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -0
- package/esm2022/utils/miscellaneous/override-options.mjs +11 -0
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -0
- package/esm2022/widgets/assets/constants/index.mjs +2 -0
- package/esm2022/widgets/assets/constants/translations.mjs +5 -0
- package/esm2022/widgets/assets/i18n/en.json +45 -0
- package/esm2022/widgets/assets/i18n/ru.json +45 -0
- package/esm2022/widgets/assets/index.mjs +2 -0
- package/esm2022/widgets/index.mjs +5 -0
- package/esm2022/widgets/model/circle-loader-size.type.mjs +2 -0
- package/esm2022/widgets/model/index.mjs +11 -0
- package/esm2022/widgets/model/resource-state-service.interface.mjs +2 -0
- package/esm2022/widgets/model/resource-state-service.token.mjs +3 -0
- package/esm2022/widgets/model/resources-block.options.mjs +2 -0
- package/esm2022/widgets/model/subject-modal-service.interface.mjs +2 -0
- package/esm2022/widgets/model/subject-modal-service.token.mjs +3 -0
- package/esm2022/widgets/model/used-elements-service.interface.mjs +2 -0
- package/esm2022/widgets/model/used-elements-service.token.mjs +3 -0
- package/esm2022/widgets/model/utility-service.interface.mjs +2 -0
- package/esm2022/widgets/model/utility-service.token.mjs +3 -0
- package/esm2022/widgets/service/index.mjs +5 -0
- package/esm2022/widgets/service/resource-state-base.service.mjs +19 -0
- package/esm2022/widgets/service/subject-modal-base.service.mjs +15 -0
- package/esm2022/widgets/service/used-elements-base.service.mjs +17 -0
- package/esm2022/widgets/service/utility-base.service.mjs +129 -0
- package/esm2022/widgets/ui/assignee-role-item/assignee-role-item.component.mjs +31 -0
- package/esm2022/widgets/ui/assignee-role-item/index.mjs +2 -0
- package/esm2022/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.mjs +48 -0
- package/esm2022/widgets/ui/assignee-roles-tabs/index.mjs +2 -0
- package/esm2022/widgets/ui/button-change-theme/button-change-theme.component.mjs +27 -0
- package/esm2022/widgets/ui/button-change-theme/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/categories.component.mjs +78 -0
- package/esm2022/widgets/ui/categories/components/categories-list/categories-list.component.mjs +17 -0
- package/esm2022/widgets/ui/categories/components/categories-list/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/components/category-form/category-form.component.mjs +79 -0
- package/esm2022/widgets/ui/categories/components/category-form/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/components/category-item/category-item.component.mjs +126 -0
- package/esm2022/widgets/ui/categories/components/category-item/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/components/create-category-item/create-category-item.component.mjs +25 -0
- package/esm2022/widgets/ui/categories/components/create-category-item/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/components/index.mjs +3 -0
- package/esm2022/widgets/ui/categories/index.mjs +3 -0
- package/esm2022/widgets/ui/categories/services/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/services/selected-category.service.mjs +38 -0
- package/esm2022/widgets/ui/checklist-block/checklist-block.component.mjs +75 -0
- package/esm2022/widgets/ui/checklist-block/checklist-block.options.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.mjs +85 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +133 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +45 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +35 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +152 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +282 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +117 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.mjs +39 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/services/checklist-block.service.mjs +50 -0
- package/esm2022/widgets/ui/checklist-block/services/index.mjs +2 -0
- package/esm2022/widgets/ui/circle-loader/circle-loader.component.mjs +20 -0
- package/esm2022/widgets/ui/circle-loader/index.mjs +2 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.mjs +78 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.mjs +2 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/index.mjs +3 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.mjs +17 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.mjs +2 -0
- package/esm2022/widgets/ui/consumable-form/components/index.mjs +4 -0
- package/esm2022/widgets/ui/consumable-form/consumable-form.component.mjs +184 -0
- package/esm2022/widgets/ui/consumable-form/consumable-form.options.mjs +2 -0
- package/esm2022/widgets/ui/consumable-form/index.mjs +2 -0
- package/esm2022/widgets/ui/criterion-info/criterion-info.component.mjs +137 -0
- package/esm2022/widgets/ui/criterion-info/index.mjs +2 -0
- package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.component.mjs +147 -0
- package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.options.mjs +2 -0
- package/esm2022/widgets/ui/criterion-info-form/index.mjs +2 -0
- package/esm2022/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.mjs +72 -0
- package/esm2022/widgets/ui/criterion-readonly-info/index.mjs +2 -0
- package/esm2022/widgets/ui/delete-modal/delete-modal.component.mjs +39 -0
- package/esm2022/widgets/ui/delete-modal/delete-modal.options.mjs +2 -0
- package/esm2022/widgets/ui/delete-modal/index.mjs +2 -0
- package/esm2022/widgets/ui/framer-preview/framer-preview.component.mjs +77 -0
- package/esm2022/widgets/ui/framer-preview/framer-preview.options.mjs +2 -0
- package/esm2022/widgets/ui/framer-preview/index.mjs +2 -0
- package/esm2022/widgets/ui/general-control-error-hint/general-control-error-hint.component.mjs +21 -0
- package/esm2022/widgets/ui/general-control-error-hint/index.mjs +2 -0
- package/esm2022/widgets/ui/index.mjs +30 -0
- package/esm2022/widgets/ui/inserted/index.mjs +2 -0
- package/esm2022/widgets/ui/inserted/inserted.component.mjs +17 -0
- package/esm2022/widgets/ui/instruction-info/index.mjs +2 -0
- package/esm2022/widgets/ui/instruction-info/instruction-info.component.mjs +147 -0
- package/esm2022/widgets/ui/instruction-info-form/index.mjs +2 -0
- package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.component.mjs +153 -0
- package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.options.mjs +2 -0
- package/esm2022/widgets/ui/instruction-readonly-info/index.mjs +2 -0
- package/esm2022/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.mjs +72 -0
- package/esm2022/widgets/ui/linear-loader/index.mjs +2 -0
- package/esm2022/widgets/ui/linear-loader/linear-loader.component.mjs +11 -0
- package/esm2022/widgets/ui/modal-criteria-tab/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.mjs +45 -0
- package/esm2022/widgets/ui/modal-divided-section/index.mjs +3 -0
- package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.component.mjs +58 -0
- package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.interfaces.mjs +2 -0
- package/esm2022/widgets/ui/modal-header/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-header/modal-header.component.mjs +31 -0
- package/esm2022/widgets/ui/modal-header-inserted-buttons/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.mjs +22 -0
- package/esm2022/widgets/ui/modal-header-tabs/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-header-tabs/modal-header-tabs.component.mjs +19 -0
- package/esm2022/widgets/ui/modal-info-tab/index.mjs +3 -0
- package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.component.mjs +19 -0
- package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.options.mjs +2 -0
- package/esm2022/widgets/ui/modal-instructions-tab/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.mjs +31 -0
- package/esm2022/widgets/ui/modal-operation-part/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-operation-part/modal-operation-part.component.mjs +119 -0
- package/esm2022/widgets/ui/modal-resources-tab/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-resources-tab/modal-resources-tab.component.mjs +33 -0
- package/esm2022/widgets/ui/render-dynamic-modal/index.mjs +3 -0
- package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.mjs +29 -0
- package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/index.mjs +4 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.mjs +53 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-content/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.mjs +38 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.mjs +57 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.mjs +56 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.mjs +10 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.mjs +56 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-options/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-options/resources-options.component.mjs +42 -0
- package/esm2022/widgets/ui/resources-block/index.mjs +3 -0
- package/esm2022/widgets/ui/resources-block/resources-block.component.mjs +137 -0
- package/esm2022/widgets/ui/resources-block-tabs/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.component.mjs +57 -0
- package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.options.mjs +10 -0
- package/esm2022/widgets/ui/select-modal/components/index.mjs +3 -0
- package/esm2022/widgets/ui/select-modal/components/select-modal-folder/index.mjs +2 -0
- package/esm2022/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.mjs +21 -0
- package/esm2022/widgets/ui/select-modal/components/select-modal-search/index.mjs +2 -0
- package/esm2022/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.mjs +32 -0
- package/esm2022/widgets/ui/select-modal/index.mjs +4 -0
- package/esm2022/widgets/ui/select-modal/select-modal.component.mjs +35 -0
- package/esm2022/widgets/ui/select-modal/select-modal.interfaces.mjs +2 -0
- package/esm2022/widgets/ui/select-modal/select-modal.service.mjs +23 -0
- package/esm2022/widgets/ui/stated-loader/index.mjs +2 -0
- package/esm2022/widgets/ui/stated-loader/stated-loader.component.mjs +36 -0
- package/esm2022/widgets/ui/storage-list/components/index.mjs +2 -0
- package/esm2022/widgets/ui/storage-list/components/storage-list-item/index.mjs +2 -0
- package/esm2022/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.mjs +87 -0
- package/esm2022/widgets/ui/storage-list/index.mjs +3 -0
- package/esm2022/widgets/ui/storage-list/storage-list.component.mjs +17 -0
- package/esm2022/widgets/ui/storage-list/storage-list.options.mjs +3 -0
- package/esm2022/widgets/ui/toolbox-form/components/index.mjs +2 -0
- package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/index.mjs +2 -0
- package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.mjs +19 -0
- package/esm2022/widgets/ui/toolbox-form/index.mjs +3 -0
- package/esm2022/widgets/ui/toolbox-form/tool-form.component.mjs +106 -0
- package/esm2022/widgets/ui/toolbox-form/tool-form.options.mjs +2 -0
- package/esm2022/widgets/ui/user-action-context-menu/activity-item/activity-item.component.mjs +59 -0
- package/esm2022/widgets/ui/user-action-context-menu/activity-item/index.mjs +2 -0
- package/esm2022/widgets/ui/user-action-context-menu/company-item/company-item.component.mjs +67 -0
- package/esm2022/widgets/ui/user-action-context-menu/company-item/index.mjs +2 -0
- package/esm2022/widgets/ui/user-action-context-menu/index.mjs +4 -0
- package/esm2022/widgets/ui/user-action-context-menu/services/activity-base.service.mjs +32 -0
- package/esm2022/widgets/ui/user-action-context-menu/services/activity.service.mjs +35 -0
- package/esm2022/widgets/ui/user-action-context-menu/services/index.mjs +3 -0
- package/esm2022/widgets/ui/user-action-context-menu/user-action-context-menu.component.mjs +80 -0
- package/esm2022/widgets/ui/user-action-context-menu/user-action-context.option.mjs +3 -0
- package/esm2022/widgets/ui/utility-info-readonly/index.mjs +3 -0
- package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.component.mjs +94 -0
- package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.options.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +41 -0
- package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/index.mjs +5 -0
- package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +41 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.mjs +40 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +40 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +43 -0
- package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +55 -0
- package/esm2022/widgets/ui/utility-modal/index.mjs +4 -0
- package/esm2022/widgets/ui/utility-modal/utility-modal.component.mjs +22 -0
- package/esm2022/widgets/ui/utility-modal/utility-modal.options.mjs +3 -0
- package/esm2022/widgets/ui/utility-readonly-thumbnail/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +15 -0
- package/esm2022/widgets/ui/utility-thumbnail/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-thumbnail/utility-thumbnail.component.mjs +95 -0
- package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs +91 -0
- package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs.map +1 -0
- package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs +29 -0
- package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs.map +1 -0
- package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs +91 -0
- package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs.map +1 -0
- package/fesm2022/cuby-ui-core.mjs +12232 -0
- package/fesm2022/cuby-ui-core.mjs.map +1 -0
- package/fonts/Inter-Bold.eot +0 -0
- package/fonts/Inter-Bold.otf +0 -0
- package/fonts/Inter-Bold.svg +25443 -0
- package/fonts/Inter-Bold.ttf +0 -0
- package/fonts/Inter-Bold.woff +0 -0
- package/fonts/Inter-Bold.woff2 +0 -0
- package/fonts/Inter-Medium.eot +0 -0
- package/fonts/Inter-Medium.otf +0 -0
- package/fonts/Inter-Medium.svg +25400 -0
- package/fonts/Inter-Medium.ttf +0 -0
- package/fonts/Inter-Medium.woff +0 -0
- package/fonts/Inter-Medium.woff2 +0 -0
- package/fonts/Inter-Regular.eot +0 -0
- package/fonts/Inter-Regular.otf +0 -0
- package/fonts/Inter-Regular.svg +24341 -0
- package/fonts/Inter-Regular.ttf +0 -0
- package/fonts/Inter-Regular.woff +0 -0
- package/fonts/Inter-Regular.woff2 +0 -0
- package/fonts/Inter-SemiBold.eot +0 -0
- package/fonts/Inter-SemiBold.otf +0 -0
- package/fonts/Inter-SemiBold.svg +25459 -0
- package/fonts/Inter-SemiBold.ttf +0 -0
- package/fonts/Inter-SemiBold.woff +0 -0
- package/fonts/Inter-SemiBold.woff2 +0 -0
- package/fonts/Nunito-ExtraBoldItalic.eot +0 -0
- package/fonts/Nunito-ExtraBoldItalic.otf +0 -0
- package/fonts/Nunito-ExtraBoldItalic.svg +9508 -0
- package/fonts/Nunito-ExtraBoldItalic.ttf +0 -0
- package/fonts/Nunito-ExtraBoldItalic.woff +0 -0
- package/fonts/Nunito-ExtraBoldItalic.woff2 +0 -0
- package/index.d.ts +11 -0
- package/interceptors/auth.interceptor.d.ts +2 -0
- package/interceptors/error-handler.interceptor.d.ts +2 -0
- package/interceptors/index.d.ts +5 -0
- package/interceptors/loader.interceptor.d.ts +2 -0
- package/interceptors/sse-stream-reader.interceptor.d.ts +2 -0
- package/interceptors/x-ndjson.interceptor.d.ts +2 -0
- package/interfaces/context-menu-item.d.ts +7 -0
- package/interfaces/error-notification-service.d.ts +3 -0
- package/interfaces/error-stategy.d.ts +3 -0
- package/interfaces/image.d.ts +5 -0
- package/interfaces/index.d.ts +5 -0
- package/interfaces/option.d.ts +5 -0
- package/operators/handle-error.d.ts +2 -0
- package/operators/index.d.ts +1 -0
- package/package.json +4 -7
- package/providers/auth.options.d.ts +15 -0
- package/providers/auth.provider.d.ts +3 -0
- package/providers/error-handler.options.d.ts +6 -0
- package/providers/error-handler.provider.d.ts +3 -0
- package/providers/index.d.ts +4 -0
- package/services/auth.service.d.ts +8 -0
- package/services/browser-auth.service.d.ts +10 -0
- package/services/error-resolver-factory.service.d.ts +10 -0
- package/services/global-handler-error.service.d.ts +10 -0
- package/services/index.d.ts +9 -0
- package/services/loader.options.d.ts +7 -0
- package/services/loader.service.d.ts +21 -0
- package/services/mobile-auth.service.d.ts +8 -0
- package/services/position.service.d.ts +10 -0
- package/services/theme.options.d.ts +5 -0
- package/services/theme.service.d.ts +12 -0
- package/services/token.options.d.ts +31 -0
- package/services/token.service.d.ts +26 -0
- package/services/visual-viewport.service.d.ts +9 -0
- package/styles/direcive/flex-container.scss +3 -0
- package/styles/fonts.scss +69 -0
- package/styles/global.scss +10 -0
- package/styles/mixins/buttons.scss +13 -0
- package/styles/mixins/flex.scss +11 -0
- package/styles/mixins/headings.scss +115 -0
- package/styles/mixins/inputs.scss +91 -0
- package/styles/mixins/lists.scss +41 -0
- package/styles/mixins/paddings.scss +35 -0
- package/styles/mixins/shadows.scss +42 -0
- package/styles/mixins/texts.scss +224 -0
- package/styles/reset.scss +111 -0
- package/styles/theme.scss +427 -0
- package/styles/variables/colors.scss +288 -0
- package/styles/variables/fonts.scss +2 -0
- package/tokens/animations-speed.d.ts +4 -0
- package/tokens/error-notification-service.d.ts +3 -0
- package/tokens/error-translation-prefix.d.ts +2 -0
- package/tokens/index.d.ts +5 -0
- package/tokens/reduced-motion.d.ts +1 -0
- package/tokens/viewport.d.ts +7 -0
- package/types/appearance.d.ts +11 -0
- package/types/button-theme.d.ts +5 -0
- package/types/hint-type.d.ts +1 -0
- package/types/index.d.ts +10 -0
- package/types/point.d.ts +1 -0
- package/types/portal-item.d.ts +9 -0
- package/types/position.d.ts +2 -0
- package/types/resizing.d.ts +3 -0
- package/types/shape.d.ts +1 -0
- package/types/size.d.ts +6 -0
- package/types/status.d.ts +1 -0
- package/utils/check-fixed-position.d.ts +1 -0
- package/utils/default-validators/create-default-validators.d.ts +5 -0
- package/utils/default-validators/create-default-validators.options.d.ts +5 -0
- package/utils/default-validators/extra-spaces.options.d.ts +2 -0
- package/utils/default-validators/extra-spaces.validators.d.ts +3 -0
- package/utils/default-validators/index.d.ts +2 -0
- package/utils/format/index.d.ts +2 -0
- package/utils/format/remove-spaces.d.ts +1 -0
- package/utils/format/replace.d.ts +1 -0
- package/utils/index.d.ts +4 -0
- package/utils/miscellaneous/index.d.ts +3 -0
- package/utils/miscellaneous/is-obscured.d.ts +4 -0
- package/utils/miscellaneous/override-options.d.ts +1 -0
- package/utils/miscellaneous/to-animation-options.d.ts +4 -0
- package/widgets/assets/constants/index.d.ts +1 -0
- package/widgets/assets/constants/translations.d.ts +2 -0
- package/widgets/assets/index.d.ts +1 -0
- package/widgets/index.d.ts +4 -0
- package/widgets/model/circle-loader-size.type.d.ts +2 -0
- package/widgets/model/index.d.ts +10 -0
- package/widgets/model/resource-state-service.interface.d.ts +4 -0
- package/widgets/model/resource-state-service.token.d.ts +3 -0
- package/widgets/model/resources-block.options.d.ts +15 -0
- package/widgets/model/subject-modal-service.interface.d.ts +7 -0
- package/widgets/model/subject-modal-service.token.d.ts +3 -0
- package/widgets/model/used-elements-service.interface.d.ts +5 -0
- package/widgets/model/used-elements-service.token.d.ts +3 -0
- package/widgets/model/utility-service.interface.d.ts +23 -0
- package/widgets/model/utility-service.token.d.ts +3 -0
- package/widgets/service/index.d.ts +4 -0
- package/widgets/service/resource-state-base.service.d.ts +10 -0
- package/widgets/service/subject-modal-base.service.d.ts +11 -0
- package/widgets/service/used-elements-base.service.d.ts +11 -0
- package/widgets/service/utility-base.service.d.ts +29 -0
- package/widgets/ui/assignee-role-item/assignee-role-item.component.d.ts +12 -0
- package/widgets/ui/assignee-role-item/index.d.ts +1 -0
- package/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.d.ts +18 -0
- package/widgets/ui/assignee-roles-tabs/index.d.ts +1 -0
- package/widgets/ui/button-change-theme/button-change-theme.component.d.ts +9 -0
- package/widgets/ui/button-change-theme/index.d.ts +1 -0
- package/widgets/ui/categories/categories.component.d.ts +25 -0
- package/widgets/ui/categories/components/categories-list/categories-list.component.d.ts +8 -0
- package/widgets/ui/categories/components/categories-list/index.d.ts +1 -0
- package/widgets/ui/categories/components/category-form/category-form.component.d.ts +28 -0
- package/widgets/ui/categories/components/category-form/index.d.ts +1 -0
- package/widgets/ui/categories/components/category-item/category-item.component.d.ts +42 -0
- package/widgets/ui/categories/components/category-item/index.d.ts +1 -0
- package/widgets/ui/categories/components/create-category-item/create-category-item.component.d.ts +10 -0
- package/widgets/ui/categories/components/create-category-item/index.d.ts +1 -0
- package/widgets/ui/categories/components/index.d.ts +2 -0
- package/widgets/ui/categories/index.d.ts +2 -0
- package/widgets/ui/categories/services/index.d.ts +1 -0
- package/widgets/ui/categories/services/selected-category.service.d.ts +18 -0
- package/widgets/ui/checklist-block/checklist-block.component.d.ts +21 -0
- package/widgets/ui/checklist-block/checklist-block.options.d.ts +12 -0
- package/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.d.ts +27 -0
- package/widgets/ui/checklist-block/components/checklist-block-list/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.d.ts +30 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.d.ts +11 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.d.ts +10 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.d.ts +41 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +5 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.d.ts +51 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.d.ts +14 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.d.ts +2 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.d.ts +33 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.d.ts +4 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.d.ts +8 -0
- package/widgets/ui/checklist-block/components/checklist-block-title-control/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/index.d.ts +1 -0
- package/widgets/ui/checklist-block/index.d.ts +1 -0
- package/widgets/ui/checklist-block/services/checklist-block.service.d.ts +19 -0
- package/widgets/ui/checklist-block/services/index.d.ts +1 -0
- package/widgets/ui/circle-loader/circle-loader.component.d.ts +8 -0
- package/widgets/ui/circle-loader/index.d.ts +1 -0
- package/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.d.ts +31 -0
- package/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.d.ts +1 -0
- package/widgets/ui/consumable-form/components/consumable-form-item/index.d.ts +2 -0
- package/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.d.ts +8 -0
- package/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.d.ts +1 -0
- package/widgets/ui/consumable-form/components/index.d.ts +3 -0
- package/widgets/ui/consumable-form/consumable-form.component.d.ts +46 -0
- package/widgets/ui/consumable-form/consumable-form.options.d.ts +22 -0
- package/widgets/ui/consumable-form/index.d.ts +1 -0
- package/widgets/ui/criterion-info/criterion-info.component.d.ts +43 -0
- package/widgets/ui/criterion-info/index.d.ts +1 -0
- package/widgets/ui/criterion-info-form/criterion-info-form.component.d.ts +39 -0
- package/widgets/ui/criterion-info-form/criterion-info-form.options.d.ts +7 -0
- package/widgets/ui/criterion-info-form/index.d.ts +2 -0
- package/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.d.ts +26 -0
- package/widgets/ui/criterion-readonly-info/index.d.ts +1 -0
- package/widgets/ui/delete-modal/delete-modal.component.d.ts +13 -0
- package/widgets/ui/delete-modal/delete-modal.options.d.ts +7 -0
- package/widgets/ui/delete-modal/index.d.ts +2 -0
- package/widgets/ui/framer-preview/framer-preview.component.d.ts +26 -0
- package/widgets/ui/framer-preview/framer-preview.options.d.ts +5 -0
- package/widgets/ui/framer-preview/index.d.ts +2 -0
- package/widgets/ui/general-control-error-hint/general-control-error-hint.component.d.ts +9 -0
- package/widgets/ui/general-control-error-hint/index.d.ts +1 -0
- package/widgets/ui/index.d.ts +29 -0
- package/widgets/ui/inserted/index.d.ts +1 -0
- package/widgets/ui/inserted/inserted.component.d.ts +5 -0
- package/widgets/ui/instruction-info/index.d.ts +1 -0
- package/widgets/ui/instruction-info/instruction-info.component.d.ts +45 -0
- package/widgets/ui/instruction-info-form/index.d.ts +2 -0
- package/widgets/ui/instruction-info-form/instruction-info-form.component.d.ts +43 -0
- package/widgets/ui/instruction-info-form/instruction-info-form.options.d.ts +9 -0
- package/widgets/ui/instruction-readonly-info/index.d.ts +1 -0
- package/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.d.ts +26 -0
- package/widgets/ui/linear-loader/index.d.ts +1 -0
- package/widgets/ui/linear-loader/linear-loader.component.d.ts +5 -0
- package/widgets/ui/modal-criteria-tab/index.d.ts +1 -0
- package/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.d.ts +15 -0
- package/widgets/ui/modal-divided-section/index.d.ts +2 -0
- package/widgets/ui/modal-divided-section/modal-divided-section.component.d.ts +22 -0
- package/widgets/ui/modal-divided-section/modal-divided-section.interfaces.d.ts +6 -0
- package/widgets/ui/modal-header/index.d.ts +1 -0
- package/widgets/ui/modal-header/modal-header.component.d.ts +12 -0
- package/widgets/ui/modal-header-inserted-buttons/index.d.ts +1 -0
- package/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.d.ts +7 -0
- package/widgets/ui/modal-header-tabs/index.d.ts +1 -0
- package/widgets/ui/modal-header-tabs/modal-header-tabs.component.d.ts +8 -0
- package/widgets/ui/modal-info-tab/index.d.ts +2 -0
- package/widgets/ui/modal-info-tab/modal-info-tab.component.d.ts +8 -0
- package/widgets/ui/modal-info-tab/modal-info-tab.options.d.ts +4 -0
- package/widgets/ui/modal-instructions-tab/index.d.ts +1 -0
- package/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.d.ts +15 -0
- package/widgets/ui/modal-operation-part/index.d.ts +1 -0
- package/widgets/ui/modal-operation-part/modal-operation-part.component.d.ts +26 -0
- package/widgets/ui/modal-resources-tab/index.d.ts +1 -0
- package/widgets/ui/modal-resources-tab/modal-resources-tab.component.d.ts +14 -0
- package/widgets/ui/render-dynamic-modal/index.d.ts +2 -0
- package/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.d.ts +11 -0
- package/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.d.ts +5 -0
- package/widgets/ui/resources-block/components/index.d.ts +5 -0
- package/widgets/ui/resources-block/components/resources-block-consumables/index.d.ts +2 -0
- package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.d.ts +17 -0
- package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.d.ts +7 -0
- package/widgets/ui/resources-block/components/resources-block-content/index.d.ts +1 -0
- package/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.d.ts +19 -0
- package/widgets/ui/resources-block/components/resources-block-part/index.d.ts +1 -0
- package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.d.ts +19 -0
- package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.d.ts +5 -0
- package/widgets/ui/resources-block/components/resources-block-tabs/index.d.ts +1 -0
- package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.d.ts +28 -0
- package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.d.ts +13 -0
- package/widgets/ui/resources-block/components/resources-block-toolbox/index.d.ts +2 -0
- package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.d.ts +17 -0
- package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.d.ts +5 -0
- package/widgets/ui/resources-block/components/resources-options/index.d.ts +1 -0
- package/widgets/ui/resources-block/components/resources-options/resources-options.component.d.ts +20 -0
- package/widgets/ui/resources-block/index.d.ts +2 -0
- package/widgets/ui/resources-block/resources-block.component.d.ts +35 -0
- package/widgets/ui/resources-block-tabs/index.d.ts +1 -0
- package/widgets/ui/resources-block-tabs/resources-block-tabs.component.d.ts +28 -0
- package/widgets/ui/resources-block-tabs/resources-block-tabs.options.d.ts +14 -0
- package/widgets/ui/select-modal/components/index.d.ts +2 -0
- package/widgets/ui/select-modal/components/select-modal-folder/index.d.ts +1 -0
- package/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.d.ts +10 -0
- package/widgets/ui/select-modal/components/select-modal-search/index.d.ts +1 -0
- package/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.d.ts +12 -0
- package/widgets/ui/select-modal/index.d.ts +4 -0
- package/widgets/ui/select-modal/select-modal.component.d.ts +13 -0
- package/widgets/ui/select-modal/select-modal.interfaces.d.ts +15 -0
- package/widgets/ui/select-modal/select-modal.service.d.ts +13 -0
- package/widgets/ui/stated-loader/index.d.ts +1 -0
- package/widgets/ui/stated-loader/stated-loader.component.d.ts +20 -0
- package/widgets/ui/storage-list/components/index.d.ts +1 -0
- package/widgets/ui/storage-list/components/storage-list-item/index.d.ts +1 -0
- package/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.d.ts +24 -0
- package/widgets/ui/storage-list/index.d.ts +2 -0
- package/widgets/ui/storage-list/storage-list.component.d.ts +10 -0
- package/widgets/ui/storage-list/storage-list.options.d.ts +16 -0
- package/widgets/ui/toolbox-form/components/index.d.ts +1 -0
- package/widgets/ui/toolbox-form/components/tool-form-readonly/index.d.ts +1 -0
- package/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.d.ts +7 -0
- package/widgets/ui/toolbox-form/index.d.ts +2 -0
- package/widgets/ui/toolbox-form/tool-form.component.d.ts +34 -0
- package/widgets/ui/toolbox-form/tool-form.options.d.ts +5 -0
- package/widgets/ui/user-action-context-menu/activity-item/activity-item.component.d.ts +16 -0
- package/widgets/ui/user-action-context-menu/activity-item/index.d.ts +1 -0
- package/widgets/ui/user-action-context-menu/company-item/company-item.component.d.ts +20 -0
- package/widgets/ui/user-action-context-menu/company-item/index.d.ts +1 -0
- package/widgets/ui/user-action-context-menu/index.d.ts +3 -0
- package/widgets/ui/user-action-context-menu/services/activity-base.service.d.ts +14 -0
- package/widgets/ui/user-action-context-menu/services/activity.service.d.ts +14 -0
- package/widgets/ui/user-action-context-menu/services/index.d.ts +2 -0
- package/widgets/ui/user-action-context-menu/user-action-context-menu.component.d.ts +25 -0
- package/widgets/ui/user-action-context-menu/user-action-context.option.d.ts +15 -0
- package/widgets/ui/utility-info-readonly/index.d.ts +2 -0
- package/widgets/ui/utility-info-readonly/utility-info-readonly.component.d.ts +29 -0
- package/widgets/ui/utility-info-readonly/utility-info-readonly.options.d.ts +4 -0
- package/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.d.ts +18 -0
- package/widgets/ui/utility-modal/components/criterion-modal-create/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/index.d.ts +4 -0
- package/widgets/ui/utility-modal/components/instruction-modal-create/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.d.ts +18 -0
- package/widgets/ui/utility-modal/components/readonly-criterion-modal/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.d.ts +16 -0
- package/widgets/ui/utility-modal/components/readonly-instruction-modal/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.d.ts +16 -0
- package/widgets/ui/utility-modal/components/readonly-utility-modal/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.d.ts +18 -0
- package/widgets/ui/utility-modal/components/utility-modal-create/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +25 -0
- package/widgets/ui/utility-modal/index.d.ts +3 -0
- package/widgets/ui/utility-modal/utility-modal.component.d.ts +10 -0
- package/widgets/ui/utility-modal/utility-modal.options.d.ts +12 -0
- package/widgets/ui/utility-readonly-thumbnail/index.d.ts +1 -0
- package/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.d.ts +8 -0
- package/widgets/ui/utility-thumbnail/index.d.ts +1 -0
- package/widgets/ui/utility-thumbnail/utility-thumbnail.component.d.ts +21 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, inject, HostBinding } from '@angular/core';
|
|
2
|
+
import { CUI_ALERT_CONTEXT } from './alert.tokens';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../notification/notification.component";
|
|
6
|
+
export class CuiAlertComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.context = inject(CUI_ALERT_CONTEXT);
|
|
9
|
+
this.AUTO_CLOSE_DURATION_IN_MILLISECONDS = 3000;
|
|
10
|
+
}
|
|
11
|
+
get resizing() {
|
|
12
|
+
return this.context.resizing;
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
this.initAutoClose();
|
|
16
|
+
}
|
|
17
|
+
onClosed() {
|
|
18
|
+
this.context.$implicit.complete();
|
|
19
|
+
}
|
|
20
|
+
initAutoClose() {
|
|
21
|
+
if (!this.context.needAutoClose) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
setTimeout(this.onClosed.bind(this), this.AUTO_CLOSE_DURATION_IN_MILLISECONDS);
|
|
25
|
+
}
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiAlertComponent, selector: "cui-alert", host: { properties: { "attr.data-resizing": "this.resizing" } }, ngImport: i0, template: "<cui-notification\n [status]=\"context.status\"\n [mode]=\"context.mode\"\n [isCloseable]=\"context.isCloseable\"\n (closed)=\"onClosed()\"\n>\n <h2\n *ngIf=\"context.label\"\n class=\"c-heading\"\n >\n {{ context.label }}\n </h2>\n {{ context.content }}\n</cui-notification>\n", styles: [":host{font-weight:400;font-size:14px;line-height:20px;max-width:470px}:host[data-resizing=hug]{width:fit-content}:host[data-resizing=fixed]{width:470px}:host[data-resizing=stretch]{width:100%;padding:0 16px}.c-heading{font-weight:500;font-size:14px;line-height:20px;margin:0 0 8px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CuiNotificationComponent, selector: "cui-notification", inputs: ["status", "mode", "isCloseable"], outputs: ["closed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{ selector: 'cui-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-notification\n [status]=\"context.status\"\n [mode]=\"context.mode\"\n [isCloseable]=\"context.isCloseable\"\n (closed)=\"onClosed()\"\n>\n <h2\n *ngIf=\"context.label\"\n class=\"c-heading\"\n >\n {{ context.label }}\n </h2>\n {{ context.content }}\n</cui-notification>\n", styles: [":host{font-weight:400;font-size:14px;line-height:20px;max-width:470px}:host[data-resizing=hug]{width:fit-content}:host[data-resizing=fixed]{width:470px}:host[data-resizing=stretch]{width:100%;padding:0 16px}.c-heading{font-weight:500;font-size:14px;line-height:20px;margin:0 0 8px}\n"] }]
|
|
32
|
+
}], propDecorators: { resizing: [{
|
|
33
|
+
type: HostBinding,
|
|
34
|
+
args: ['attr.data-resizing']
|
|
35
|
+
}] } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2FsZXJ0L2FsZXJ0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hbGVydC9hbGVydC50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV4RixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7OztBQVNuRCxNQUFNLE9BQU8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9IGZyb20gJy4uL25vdGlmaWNhdGlvbic7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ3VpQWxlcnRPcHRpb25zIGV4dGVuZHMgQ3VpTm90aWZpY2F0aW9uT3B0aW9ucyB7XG4gICAgcmVhZG9ubHkgbGFiZWw6IHN0cmluZztcbiAgICByZWFkb25seSBuZWVkQXV0b0Nsb3NlOiBib29sZWFuO1xuICAgIHJlYWRvbmx5IGlzQ2xvc2VhYmxlOiBib29sZWFuO1xuICAgIHJlYWRvbmx5IHBvc2l0aW9uOiBDdWlBbGVydFBvc2l0aW9uO1xuICAgIHJlYWRvbmx5IHJlc2l6aW5nOiBDdWlBbGVydFJlc2l6aW5nO1xufVxuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CuiFilterPipe, CuiLetDirective } from '@cuby-ui/cdk';
|
|
4
|
+
import { CuiAlertComponent } from './alert.component';
|
|
5
|
+
import { CuiAlertsComponent } from './alerts.component';
|
|
6
|
+
import { CuiNotificationModule } from '../notification';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CuiAlertModule {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertModule, declarations: [CuiAlertComponent, CuiAlertsComponent], imports: [CommonModule, CuiFilterPipe, CuiNotificationModule, CuiLetDirective], exports: [CuiAlertComponent, CuiAlertComponent, CuiAlertsComponent] }); }
|
|
11
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertModule, imports: [CommonModule, CuiNotificationModule] }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [CommonModule, CuiFilterPipe, CuiNotificationModule, CuiLetDirective],
|
|
17
|
+
declarations: [CuiAlertComponent, CuiAlertsComponent],
|
|
18
|
+
exports: [CuiAlertComponent, CuiAlertComponent, CuiAlertsComponent]
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2FsZXJ0L2FsZXJ0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsYUFBYSxFQUFFLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUU5RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN4RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFPeEQsTUFBTSxPQUFPLGNBQWM7K0dBQWQsY0FBYztnSEFBZCxjQUFjLGlCQUhSLGlCQUFpQixFQUFFLGtCQUFrQixhQUQxQyxZQUFZLEVBQUUsYUFBYSxFQUFFLHFCQUFxQixFQUFFLGVBQWUsYUFFbkUsaUJBQ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Db21wb25lbnQsIEN1aUFsZXJ0Q29tcG9uZW50LCBDdWlBbGVydHNDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIEN1aUFsZXJ0TW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { inject, Injectable } from '@angular/core';
|
|
2
|
+
import { CuiPopoverService } from '@cuby-ui/cdk';
|
|
3
|
+
import { CUI_ALERT_OPTIONS, CUI_ALERTS } from './alert.tokens';
|
|
4
|
+
import { CuiAlertComponent } from './alert.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class CuiAlertService extends CuiPopoverService {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertService, providedIn: 'root', useFactory: () => new CuiAlertService(CUI_ALERTS, CuiAlertComponent, inject(CUI_ALERT_OPTIONS)) }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertService, decorators: [{
|
|
11
|
+
type: Injectable,
|
|
12
|
+
args: [{
|
|
13
|
+
providedIn: 'root',
|
|
14
|
+
useFactory: () => new CuiAlertService(CUI_ALERTS, CuiAlertComponent, inject(CUI_ALERT_OPTIONS))
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hbGVydC9hbGVydC5zZXJ2aWNlLnRz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ydE9wdGlvbnMgfSBmcm9tICcuL2FsZXJ0LmludGVyZmFjZXMnO1xuXG5ASW5qZWN0YWJsZSh7XG4gICAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxuICAgIHVzZUZhY3Rvcnk6ICgpID0+IG5ldyBDdWlBbGVydFNlcnZpY2UoQ1VJX0FMRVJUUywgQ3VpQWxlcnRDb21wb25lbnQsIGluamVjdChDVUlfQUxFUlRfT1BUSU9OUykpXG59KVxuZXhwb3J0IGNsYXNzIEN1aUFsZXJ0U2VydmljZSBleHRlbmRzIEN1aVBvcG92ZXJTZXJ2aWNlPEN1aUFsZXJ0T3B0aW9ucz4ge31cbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { inject, InjectionToken } from '@angular/core';
|
|
2
|
+
import { cuiCreateTokenFromFactory } from '@cuby-ui/cdk';
|
|
3
|
+
import { cuiCreateToken } from '@cuby-ui/cdk';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { CUI_NOTIFICATION_OPTIONS } from '../notification';
|
|
6
|
+
export const CUI_ALERTS = cuiCreateToken(new BehaviorSubject([]));
|
|
7
|
+
export const CUI_ALERT_DEFAULT_OPTIONS = {
|
|
8
|
+
label: '',
|
|
9
|
+
needAutoClose: true,
|
|
10
|
+
isCloseable: true,
|
|
11
|
+
mode: 'default',
|
|
12
|
+
position: 'right',
|
|
13
|
+
resizing: 'fixed'
|
|
14
|
+
};
|
|
15
|
+
export const CUI_ALERT_OPTIONS = cuiCreateTokenFromFactory(() => ({
|
|
16
|
+
...CUI_ALERT_DEFAULT_OPTIONS,
|
|
17
|
+
...inject(CUI_NOTIFICATION_OPTIONS)
|
|
18
|
+
}));
|
|
19
|
+
export const CUI_ALERT_CONTEXT = new InjectionToken('');
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQudG9rZW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJj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Uylcbn0pKTtcblxuZXhwb3J0IGNvbnN0IENVSV9BTEVSVF9DT05URVhUID0gbmV3IEluamVjdGlvblRva2VuPEN1aVBvcG92ZXI8Q3VpQWxlcnRPcHRpb25zPj4oJycpO1xuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQudHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYWxlcnQvYWxlcnQudHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHtcbiAgICBDdWlQb3NpdGlvbkNlbnRlcixcbiAgICBDdWlQb3NpdGlvblJpZ2h0LFxuICAgIEN1aVJlc2l6aW5nRml4ZWQsXG4gICAgQ3VpUmVzaXppbmdIdWcsXG4gICAgQ3VpUmVzaXppbmdTdHJldGNoXG59IGZyb20gJy4uLy4uL3R5cGVzJztcblxuZXhwb3J0IHR5cGUgQ3VpQWxlcnRQb3NpdGlvbiA9IEN1aVBvc2l0aW9uQ2VudGVyIHwgQ3VpUG9zaXRpb25SaWdodDtcblxuZXhwb3J0IHR5cGUgQ3VpQWxlcnRSZXNpemluZyA9IEN1aVJlc2l6aW5nSHVnIHwgQ3VpUmVzaXppbmdGaXhlZCB8IEN1aVJlc2l6aW5nU3RyZXRjaDtcbiJdfQ==
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, inject, Injector } from '@angular/core';
|
|
2
|
+
import { CuiDestroyService } from '@cuby-ui/cdk';
|
|
3
|
+
import { takeUntil } from 'rxjs';
|
|
4
|
+
import { CUI_ALERT_CONTEXT, CUI_ALERTS } from './alert.tokens';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@cuby-ui/cdk";
|
|
8
|
+
export class CuiAlertsComponent {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.destroy$ = inject(CuiDestroyService, { self: true });
|
|
11
|
+
this.alerts$ = inject(CUI_ALERTS);
|
|
12
|
+
}
|
|
13
|
+
ngOnInit() {
|
|
14
|
+
this.initAlertInjectorsSubscription();
|
|
15
|
+
}
|
|
16
|
+
trackByFn(_, alert) {
|
|
17
|
+
return alert.id;
|
|
18
|
+
}
|
|
19
|
+
alertsMatcher(alert, position) {
|
|
20
|
+
return alert.position === position;
|
|
21
|
+
}
|
|
22
|
+
initAlertInjectorsSubscription() {
|
|
23
|
+
this.alerts$.pipe(takeUntil(this.destroy$)).subscribe((dialogs) => (this.alertInjectors = dialogs.map((useValue) => Injector.create({
|
|
24
|
+
providers: [{ provide: CUI_ALERT_CONTEXT, useValue }]
|
|
25
|
+
}))));
|
|
26
|
+
}
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiAlertsComponent, selector: "cui-alerts", providers: [CuiDestroyService], ngImport: i0, template: "<ng-container *cuiLet=\"alerts$ | async as alerts\">\n <div class=\"c-wrapper c-wrapper_position_center\">\n <ng-container\n *ngFor=\"let alert of alerts! | cuiFilter: alertsMatcher : 'center'; let i = index; trackBy: trackByFn\"\n >\n <ng-container *ngComponentOutlet=\"alert.component; injector: alertInjectors[i]\" />\n </ng-container>\n </div>\n <div class=\"c-wrapper c-wrapper_position_right\">\n <ng-container\n *ngFor=\"let alert of alerts! | cuiFilter: alertsMatcher : 'right'; let i = index; trackBy: trackByFn\"\n >\n <ng-container *ngComponentOutlet=\"alert.component; injector: alertInjectors[i]\" />\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;position:fixed;right:20px;bottom:20px}.c-wrapper{position:fixed;bottom:20px;display:flex;flex-direction:column;gap:16px;pointer-events:none}.c-wrapper_position_center{align-items:center;left:50%;transform:translate(-50%);width:100%}.c-wrapper_position_right{align-items:flex-end;right:20px}.c-wrapper ::ng-deep>*{pointer-events:auto}\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: i2.CuiLetDirective, selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.CuiFilterPipe, name: "cuiFilter" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAlertsComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{ selector: 'cui-alerts', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CuiDestroyService], template: "<ng-container *cuiLet=\"alerts$ | async as alerts\">\n <div class=\"c-wrapper c-wrapper_position_center\">\n <ng-container\n *ngFor=\"let alert of alerts! | cuiFilter: alertsMatcher : 'center'; let i = index; trackBy: trackByFn\"\n >\n <ng-container *ngComponentOutlet=\"alert.component; injector: alertInjectors[i]\" />\n </ng-container>\n </div>\n <div class=\"c-wrapper c-wrapper_position_right\">\n <ng-container\n *ngFor=\"let alert of alerts! | cuiFilter: alertsMatcher : 'right'; let i = index; trackBy: trackByFn\"\n >\n <ng-container *ngComponentOutlet=\"alert.component; injector: alertInjectors[i]\" />\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;position:fixed;right:20px;bottom:20px}.c-wrapper{position:fixed;bottom:20px;display:flex;flex-direction:column;gap:16px;pointer-events:none}.c-wrapper_position_center{align-items:center;left:50%;transform:translate(-50%);width:100%}.c-wrapper_position_right{align-items:flex-end;right:20px}.c-wrapper ::ng-deep>*{pointer-events:auto}\n"] }]
|
|
33
|
+
}] });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnRzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hbGVydC9hbGVydHMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2FsZXJ0L2FsZXJ0cy50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVyRixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFakQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUVqQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7QUFVL0QsTUFBTSxPQUFPLGtCQUFrQjtJQVAvQjtRQVFxQixhQUFRLEdBQUcsTUFBTSxDQUFDLGlCQUFpQixFQUFFLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7UUFFbkQsWUFBTyxHQUEyRCxNQUFNLENBQUMsVUFBVSxDQUFDLENBQ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VxufVxuIiwiPG5nLWNvbnRhaW5lciAqY3VpTGV0PVwiYWxlcnRzJCB8IGFzeW5jIGFzIGFsZXJ0c1wiPlxuICAgIDxkaXYgY2xhc3M9XCJjLXdyYXBwZXIgYy13cmFwcGVyX3Bvc2l0aW9uX2NlbnRlclwiPlxuICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAqbmdGb3I9XCJsZXQgYWxlcnQgb2YgYWxlcnRzISB8IGN1aUZpbHRlcjogYWxlcnRzTWF0Y2hlciA6ICdjZW50ZXInOyBsZXQgaSA9IGluZGV4OyB0cmFja0J5OiB0cmFja0J5Rm5cIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0NvbXBvbmVudE91dGxldD1cImFsZXJ0LmNvbXBvbmVudDsgaW5qZWN0b3I6IGFsZXJ0SW5qZWN0b3JzW2ldXCIgLz5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC9kaXY+XG4gICAgPGRpdiBjbGFzcz1cImMtd3JhcHBlciBjLXdyYXBwZXJfcG9zaXRpb25fcmlnaHRcIj5cbiAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgKm5nRm9yPVwibGV0IGFsZXJ0IG9mIGFsZXJ0cyEgfCBjdWlGaWx0ZXI6IGFsZXJ0c01hdGNoZXIgOiAncmlnaHQnOyBsZXQgaSA9IGluZGV4OyB0cmFja0J5OiB0cmFja0J5Rm5cIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0NvbXBvbmVudE91dGxldD1cImFsZXJ0LmNvbXBvbmVudDsgaW5qZWN0b3I6IGFsZXJ0SW5qZWN0b3JzW2ldXCIgLz5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC9kaXY+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './alert.component';
|
|
2
|
+
export * from './alert.interfaces';
|
|
3
|
+
export * from './alert.module';
|
|
4
|
+
export * from './alert.service';
|
|
5
|
+
export * from './alert.tokens';
|
|
6
|
+
export * from './alert.types';
|
|
7
|
+
export * from './alert.component';
|
|
8
|
+
export * from './alerts.component';
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYWxlcnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWxlcnQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYWxlcnQuaW50ZXJmYWNlcyc7XG5leHBvcnQgKiBmcm9tICcuL2FsZXJ0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2FsZXJ0LnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9hbGVydC50b2tlbnMnO1xuZXhwb3J0ICogZnJvbSAnLi9hbGVydC50eXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2FsZXJ0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2FsZXJ0cy5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Component, computed, input } from '@angular/core';
|
|
2
|
+
import { CuiSvgModule } from '../svg';
|
|
3
|
+
import { CuiTooltipDirective } from '../../directives';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../svg/svg.component";
|
|
6
|
+
export class AlertHintComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.DEFAULT_TOOLTIP_TEXT = 'In development';
|
|
9
|
+
this.IconColor = {
|
|
10
|
+
warning: 'var(--cui-warning)',
|
|
11
|
+
error: 'var(--cui-danger)'
|
|
12
|
+
};
|
|
13
|
+
this.iconColor = computed(() => this.IconColor[this.status()]);
|
|
14
|
+
this.status = input('error');
|
|
15
|
+
this.tooltipText = input(this.DEFAULT_TOOLTIP_TEXT, {
|
|
16
|
+
transform: (value) => {
|
|
17
|
+
return typeof value === 'string' ? value : value.join('<br />');
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AlertHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: AlertHintComponent, isStandalone: true, selector: "cui-alert-hint", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, tooltipText: { classPropertyName: "tooltipText", publicName: "tooltipText", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<cui-svg\n [cuiTooltip]=\"tooltipText()\"\n icon=\"cuiIconAlertTriangle\"\n [color]=\"iconColor()\"\n class=\"icon\"\n/>\n", styles: [":host{--padding: 6px;display:inline-flex}:host .icon{padding:var(--padding);width:max-content}\n"], dependencies: [{ kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i1.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "directive", type: CuiTooltipDirective, selector: "[cuiTooltip]:not(ng-container):not(ng-template)", inputs: ["cuiTooltipContext", "cuiTooltipAppearance", "cuiTooltip"] }] }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AlertHintComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ selector: 'cui-alert-hint', standalone: true, imports: [CuiSvgModule, CuiTooltipDirective], template: "<cui-svg\n [cuiTooltip]=\"tooltipText()\"\n icon=\"cuiIconAlertTriangle\"\n [color]=\"iconColor()\"\n class=\"icon\"\n/>\n", styles: [":host{--padding: 6px;display:inline-flex}:host .icon{padding:var(--padding);width:max-content}\n"] }]
|
|
27
|
+
}] });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtaGludC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYWxlcnQtaGludC9hbGVydC1oaW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hbGVydC1oaW50L2FsZXJ0LWhpbnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFDdEMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7OztBQVN2RCxNQUFNLE9BQU8sa0JBQWtCO0lBUC9CO1FBUXFCLHlCQUFvQixHQUFHLGdCQUFnQixDQUFDO1FBRXRDLGNBQVMsR0FBZ0M7WUFDeEQsT0FBTyxFQUFFLG9CQUFvQjtZQ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1aS1zdmdcbiAgICBbY3VpVG9vbHRpcF09XCJ0b29sdGlwVGV4dCgpXCJcbiAgICBpY29uPVwiY3VpSWNvbkFsZXJ0VHJpYW5nbGVcIlxuICAgIFtjb2xvcl09XCJpY29uQ29sb3IoKVwiXG4gICAgY2xhc3M9XCJpY29uXCJcbi8+XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3Itc3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2FsZXJ0LWhpbnQvZXJyb3Itc3RhdHVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBFcnJvclN0YXR1cyA9ICd3YXJuaW5nJyB8ICdlcnJvcic7XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { AlertHintComponent } from './alert-hint.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYWxlcnQtaGludC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEFsZXJ0SGludENvbXBvbmVudCB9IGZyb20gJy4vYWxlcnQtaGludC5jb21wb25lbnQnO1xuZXhwb3J0IHsgRXJyb3JTdGF0dXMgfSBmcm9tICcuL2Vycm9yLXN0YXR1cyc7XG4iXX0=
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, inject, Input } from '@angular/core';
|
|
2
|
+
import { CUI_BADGE_OPTIONS } from './badge.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class CuiBadgeComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.options = inject(CUI_BADGE_OPTIONS);
|
|
8
|
+
this.color = this.options.color;
|
|
9
|
+
this.size = this.options.size;
|
|
10
|
+
this.isWithDot = this.options.isWithDot;
|
|
11
|
+
}
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiBadgeComponent, selector: "cui-badge", inputs: { color: "color", size: "size", isWithDot: "isWithDot" }, host: { properties: { "attr.data-color": "this.color", "attr.data-size": "this.size" } }, ngImport: i0, template: "<span\n *ngIf=\"isWithDot\"\n class=\"c-dots\"\n></span>\n<ng-content />\n", styles: [":host{padding-top:2px;padding-bottom:2px;display:inline-flex;align-items:center;gap:4px;flex-shrink:0;border-radius:25px;color:var(--cui-gray-900);font-family:var(--cui-main-font)}:host[data-color=light-blue],:host[data-color=blue-light]{color:var(--cui-badge-info-label);background:var(--cui-badge-info-bg)}:host[data-color=light-blue] .c-dots,:host[data-color=blue-light] .c-dots{background:var(--cui-info)}:host[data-color=yellow],:host[data-color=yellow-light]{color:var(--cui-badge-warning-label);background:var(--cui-badge-warning-bg)}:host[data-color=yellow] .c-dots,:host[data-color=yellow-light] .c-dots{background:var(--cui-warning)}:host[data-color=green],:host[data-color=green-light]{color:var(--cui-badge-success-label);background:var(--cui-badge-success-bg)}:host[data-color=green] .c-dots,:host[data-color=green-light] .c-dots{background:var(--cui-success)}:host[data-color=red],:host[data-color=red-light]{color:var(--cui-badge-danger-label);background:var(--cui-badge-danger-bg)}:host[data-color=red] .c-dots,:host[data-color=red-light] .c-dots{background:var(--cui-danger)}:host[data-color=lavender-light]{color:var(--cui-badge-lavender-label);background:var(--cui-badge-lavender-bg)}:host[data-color=magenta-light]{color:var(--cui-badge-magenta-label);background:var(--cui-badge-magenta-bg)}:host[data-color=violet-light]{color:var(--cui-badge-violet-label);background:var(--cui-badge-violet-bg)}:host[data-color=orange-light]{color:var(--cui-badge-orange-label);background:var(--cui-badge-orange-bg)}:host[data-color=gray]{color:var(--cui-badge-gray-label);background:var(--cui-badge-gray-bg)}:host[data-color=gray] .c-dots{background:var(--cui-base-500)}:host[data-color=dark-gray]{color:var(--cui-base-900);background:var(--cui-base-200)}:host[data-color=dark-gray] .c-dots{background:var(--cui-base-500)}:host[data-color=violet]{color:var(--cui-badge-violet-label);background:var(--cui-badge-violet-bg);outline:1px solid var(--cui-violet-400);outline-offset:-1px}:host[data-color=violet] .c-dots{background:var(--cui-violet-400)}:host[data-color=orange],:host[data-color=yellow-solid]{color:var(--cui-base-900);background:var(--cui-yellow-bg)}:host[data-color=orange] .c-dots,:host[data-color=yellow-solid] .c-dots{background:var(--cui-base-900)}:host[data-color=orange-solid]{color:var(--cui-gray-900);background:var(--cui-orange-600)}:host[data-color=lavender-solid]{color:var(--cui-gray-900);background:var(--cui-lavender-300)}:host[data-color=magenta-solid]{color:var(--cui-gray-900);background:var(--cui-magenta-400)}:host[data-color=violet-solid]{color:var(--cui-gray-900);background:var(--cui-violet-300)}:host[data-color=black-solid]{color:var(--cui-base-0);background:var(--cui-base-900)}:host[data-color=red-solid]{color:var(--cui-gray-900);background:var(--cui-red-400)}:host[data-color=blue-solid]{color:var(--cui-gray-900);background:var(--cui-light-blue-500)}:host[data-color=green-solid]{color:var(--cui-gray-900);background:var(--cui-success)}:host[data-size=sm]{font-size:12px;line-height:14px;padding-right:6px;padding-left:6px}:host[data-size=md]{font-size:14px;line-height:20px;padding-right:8px;padding-left:8px}.c-dots{width:6px;height:6px;border-radius:50%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBadgeComponent, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{ selector: 'cui-badge', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\n *ngIf=\"isWithDot\"\n class=\"c-dots\"\n></span>\n<ng-content />\n", styles: [":host{padding-top:2px;padding-bottom:2px;display:inline-flex;align-items:center;gap:4px;flex-shrink:0;border-radius:25px;color:var(--cui-gray-900);font-family:var(--cui-main-font)}:host[data-color=light-blue],:host[data-color=blue-light]{color:var(--cui-badge-info-label);background:var(--cui-badge-info-bg)}:host[data-color=light-blue] .c-dots,:host[data-color=blue-light] .c-dots{background:var(--cui-info)}:host[data-color=yellow],:host[data-color=yellow-light]{color:var(--cui-badge-warning-label);background:var(--cui-badge-warning-bg)}:host[data-color=yellow] .c-dots,:host[data-color=yellow-light] .c-dots{background:var(--cui-warning)}:host[data-color=green],:host[data-color=green-light]{color:var(--cui-badge-success-label);background:var(--cui-badge-success-bg)}:host[data-color=green] .c-dots,:host[data-color=green-light] .c-dots{background:var(--cui-success)}:host[data-color=red],:host[data-color=red-light]{color:var(--cui-badge-danger-label);background:var(--cui-badge-danger-bg)}:host[data-color=red] .c-dots,:host[data-color=red-light] .c-dots{background:var(--cui-danger)}:host[data-color=lavender-light]{color:var(--cui-badge-lavender-label);background:var(--cui-badge-lavender-bg)}:host[data-color=magenta-light]{color:var(--cui-badge-magenta-label);background:var(--cui-badge-magenta-bg)}:host[data-color=violet-light]{color:var(--cui-badge-violet-label);background:var(--cui-badge-violet-bg)}:host[data-color=orange-light]{color:var(--cui-badge-orange-label);background:var(--cui-badge-orange-bg)}:host[data-color=gray]{color:var(--cui-badge-gray-label);background:var(--cui-badge-gray-bg)}:host[data-color=gray] .c-dots{background:var(--cui-base-500)}:host[data-color=dark-gray]{color:var(--cui-base-900);background:var(--cui-base-200)}:host[data-color=dark-gray] .c-dots{background:var(--cui-base-500)}:host[data-color=violet]{color:var(--cui-badge-violet-label);background:var(--cui-badge-violet-bg);outline:1px solid var(--cui-violet-400);outline-offset:-1px}:host[data-color=violet] .c-dots{background:var(--cui-violet-400)}:host[data-color=orange],:host[data-color=yellow-solid]{color:var(--cui-base-900);background:var(--cui-yellow-bg)}:host[data-color=orange] .c-dots,:host[data-color=yellow-solid] .c-dots{background:var(--cui-base-900)}:host[data-color=orange-solid]{color:var(--cui-gray-900);background:var(--cui-orange-600)}:host[data-color=lavender-solid]{color:var(--cui-gray-900);background:var(--cui-lavender-300)}:host[data-color=magenta-solid]{color:var(--cui-gray-900);background:var(--cui-magenta-400)}:host[data-color=violet-solid]{color:var(--cui-gray-900);background:var(--cui-violet-300)}:host[data-color=black-solid]{color:var(--cui-base-0);background:var(--cui-base-900)}:host[data-color=red-solid]{color:var(--cui-gray-900);background:var(--cui-red-400)}:host[data-color=blue-solid]{color:var(--cui-gray-900);background:var(--cui-light-blue-500)}:host[data-color=green-solid]{color:var(--cui-gray-900);background:var(--cui-success)}:host[data-size=sm]{font-size:12px;line-height:14px;padding-right:6px;padding-left:6px}:host[data-size=md]{font-size:14px;line-height:20px;padding-right:8px;padding-left:8px}.c-dots{width:6px;height:6px;border-radius:50%}\n"] }]
|
|
18
|
+
}], propDecorators: { color: [{
|
|
19
|
+
type: Input
|
|
20
|
+
}, {
|
|
21
|
+
type: HostBinding,
|
|
22
|
+
args: ['attr.data-color']
|
|
23
|
+
}], size: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}, {
|
|
26
|
+
type: HostBinding,
|
|
27
|
+
args: ['attr.data-size']
|
|
28
|
+
}], isWithDot: [{
|
|
29
|
+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NXaXRoRG90O1xufVxuIiwiPHNwYW5cbiAgICAqbmdJZj1cImlzV2l0aERvdFwiXG4gICAgY2xhc3M9XCJjLWRvdHNcIlxuPjwvc3Bhbj5cbjxuZy1jb250ZW50IC8+XG4iXX0=
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CuiBadgeComponent } from './badge.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CuiBadgeModule {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CuiBadgeModule, declarations: [CuiBadgeComponent], imports: [CommonModule], exports: [CuiBadgeComponent] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBadgeModule, imports: [CommonModule] }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBadgeModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [CommonModule],
|
|
14
|
+
declarations: [CuiBadgeComponent],
|
|
15
|
+
exports: [CuiBadgeComponent]
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2JhZGdlL2JhZGdlLm1vZHVsZS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DEFAULT_OPTIONS = {
|
|
3
|
+
color: 'light-blue',
|
|
4
|
+
size: 'sm',
|
|
5
|
+
isWithDot: false
|
|
6
|
+
};
|
|
7
|
+
export const CUI_BADGE_OPTIONS = cuiCreateToken(CUI_BADGE_DEFAULT_OPTIONS);
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2Uub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9iYWRnZS9iYWRnZS5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFxQzlDLE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUFvQjtJQUN0RCxLQUFLLEVBQUUsWUFBWTtJQUNuQixJQUFJLEVBQUUsSUFBSTtJQUNWLFNBQVMsRUFBRSxLQUFLO0NBQ25CLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRyxjQUFjLENBQUMseUJBQXlCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGN1aUNyZWF0ZVRva2VuIH0gZnJvbSAnQGN1YnktdWkvY2RrJztcblxuaW1wb3J0IHR5cGUgeyBDdWlTaXplTWQsIEN1aVNpemVTbSB9IGZyb20gJy4uLy4uL3R5cGVzJztcblxuZXhwb3J0IGludGVyZmFjZSBDdWlCYWRnZU9wdGlvbnMge1xuICAgIHJlYWRvbmx5IGNvbG9yOiBDdWlCYWRnZUNvbG9yO1xuICAgIHJlYWRvbmx5IHNpemU6IEN1aVNpemVTbSB8IEN1aVNpemVNZDtcbiAgICByZWFkb25seSBpc1dpdGhEb3Q6IGJvb2xlYW47XG59XG5cbmV4cG9ydCB0eXBlIEN1aUJhZG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G5cbmV4cG9ydCBjb25zdCBDVUlfQkFER0VfT1BUSU9OUyA9IGN1aUNyZWF0ZVRva2VuKENVSV9CQURHRV9ERUZBVUxUX09QVElPTlMpO1xuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './badge.component';
|
|
2
|
+
export * from './badge.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYmFkZ2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9iYWRnZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9iYWRnZS5tb2R1bGUnO1xuZXhwb3J0IHsgQ3VpQmFkZ2VDb2xvciwgQ3VpQmFkZ2VPcHRpb25zIH0gZnJvbSAnLi9iYWRnZS5vcHRpb25zJztcbiJdfQ==
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, inject, Input, Output } from '@angular/core';
|
|
2
|
+
import { CUI_BANNER_OPTIONS } from './banner.options';
|
|
3
|
+
import { CuiThemeService } from '../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@cuby-ui/cdk";
|
|
7
|
+
import * as i3 from "../svg/svg.component";
|
|
8
|
+
import * as i4 from "../button/button.component";
|
|
9
|
+
export class CuiBannerComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.options = inject(CUI_BANNER_OPTIONS);
|
|
12
|
+
this.theme$ = inject(CuiThemeService);
|
|
13
|
+
this.ICON_OPTIONS = {
|
|
14
|
+
info: {
|
|
15
|
+
icon: 'cuiIconInfo',
|
|
16
|
+
color: 'var(--c-info-icon-color)'
|
|
17
|
+
},
|
|
18
|
+
success: {
|
|
19
|
+
icon: 'cuiIconCheckCircle',
|
|
20
|
+
color: 'var(--cui-success)'
|
|
21
|
+
},
|
|
22
|
+
alert: {
|
|
23
|
+
icon: 'cuiIconAlertTriangle',
|
|
24
|
+
color: 'var(--c-alert-icon-color)'
|
|
25
|
+
},
|
|
26
|
+
error: {
|
|
27
|
+
icon: 'cuiIconAlertCircle',
|
|
28
|
+
color: 'var(--cui-danger)'
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
this.THEME_CLOSE_BUTTON_ICON_COLORS = {
|
|
32
|
+
light: 'var(--cui-gray-500)',
|
|
33
|
+
dark: 'var(--cui-gray-0)'
|
|
34
|
+
};
|
|
35
|
+
this.status = this.options.status;
|
|
36
|
+
this.isCloseable = true;
|
|
37
|
+
this.actionButtonClicked = new EventEmitter();
|
|
38
|
+
this.closed = new EventEmitter();
|
|
39
|
+
}
|
|
40
|
+
onAction() {
|
|
41
|
+
this.actionButtonClicked.emit();
|
|
42
|
+
}
|
|
43
|
+
onClose() {
|
|
44
|
+
this.closed.emit();
|
|
45
|
+
}
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiBannerComponent, selector: "cui-banner", inputs: { status: "status", isCloseable: "isCloseable", label: "label", actionButtonText: "actionButtonText" }, outputs: { actionButtonClicked: "actionButtonClicked", closed: "closed" }, host: { properties: { "attr.data-status": "this.status" } }, ngImport: i0, template: "<cui-svg\n *cuiLet=\"ICON_OPTIONS[status] as iconOption\"\n [icon]=\"iconOption.icon\"\n [color]=\"iconOption.color\"\n class=\"c-icon\"\n></cui-svg>\n<div class=\"c-wrapper\">\n <h2\n *ngIf=\"label\"\n class=\"c-heading\"\n >\n {{ label }}\n </h2>\n <ng-content></ng-content>\n <button\n cuiButton\n *ngIf=\"actionButtonText\"\n appearance=\"link\"\n class=\"c-action\"\n (click)=\"onAction()\"\n >\n {{ actionButtonText }}\n </button>\n</div>\n<button\n *ngIf=\"isCloseable\"\n class=\"c-button\"\n (click)=\"onClose()\"\n>\n @if (theme$ | async; as theme) {\n <cui-svg\n icon=\"cuiIconX\"\n [color]=\"THEME_CLOSE_BUTTON_ICON_COLORS[theme]\"\n />\n }\n</button>\n", styles: [":host{--c-info-icon-color: var(--cui-light-blue-800);--c-alert-icon-color: var(--cui-orange-800);padding:8px 16px;font-weight:400;font-size:14px;line-height:20px;display:flex;gap:16px;align-items:center;color:var(--cui-base-900);font-family:var(--cui-main-font)}:host[data-status=info]{color:var(--cui-light-blue-800);background:var(--cui-blue-50)}:host[data-status=success]{background:var(--cui-green-50)}:host[data-status=alert]{color:var(--cui-orange-800);background:var(--cui-yellow-100)}:host[data-status=error]{background:var(--cui-red-50)}:host-context([cuiTheme=dark]){--c-info-icon-color: var(--cui-light-blue-400);--c-alert-icon-color: var(--cui-yellow-300);color:var(--cui-gray-0)}:host-context([cuiTheme=dark])[data-status=info]{color:var(--cui-light-blue-400);background:var(--cui-blue-900)}:host-context([cuiTheme=dark])[data-status=info] .c-action:hover{color:var(--cui-blue-500)}:host-context([cuiTheme=dark])[data-status=success]{background:var(--cui-green-900)}:host-context([cuiTheme=dark])[data-status=success] .c-action{color:var(--cui-green-500)}:host-context([cuiTheme=dark])[data-status=alert]{background:var(--cui-yellow-900)}:host-context([cuiTheme=dark])[data-status=alert] .c-action{color:var(--cui-yellow-300)}:host-context([cuiTheme=dark])[data-status=error]{background:var(--cui-red-900)}:host-context([cuiTheme=dark])[data-status=error] .c-action{color:var(--cui-red-400)}.c-icon{height:28px}.c-wrapper{flex:1;display:flex;align-items:center;gap:16px;overflow-wrap:anywhere}.c-heading{font-weight:500;font-size:14px;line-height:20px;margin:0}.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:#fff3}\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"] }, { kind: "component", type: i4.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBannerComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: 'cui-banner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-svg\n *cuiLet=\"ICON_OPTIONS[status] as iconOption\"\n [icon]=\"iconOption.icon\"\n [color]=\"iconOption.color\"\n class=\"c-icon\"\n></cui-svg>\n<div class=\"c-wrapper\">\n <h2\n *ngIf=\"label\"\n class=\"c-heading\"\n >\n {{ label }}\n </h2>\n <ng-content></ng-content>\n <button\n cuiButton\n *ngIf=\"actionButtonText\"\n appearance=\"link\"\n class=\"c-action\"\n (click)=\"onAction()\"\n >\n {{ actionButtonText }}\n </button>\n</div>\n<button\n *ngIf=\"isCloseable\"\n class=\"c-button\"\n (click)=\"onClose()\"\n>\n @if (theme$ | async; as theme) {\n <cui-svg\n icon=\"cuiIconX\"\n [color]=\"THEME_CLOSE_BUTTON_ICON_COLORS[theme]\"\n />\n }\n</button>\n", styles: [":host{--c-info-icon-color: var(--cui-light-blue-800);--c-alert-icon-color: var(--cui-orange-800);padding:8px 16px;font-weight:400;font-size:14px;line-height:20px;display:flex;gap:16px;align-items:center;color:var(--cui-base-900);font-family:var(--cui-main-font)}:host[data-status=info]{color:var(--cui-light-blue-800);background:var(--cui-blue-50)}:host[data-status=success]{background:var(--cui-green-50)}:host[data-status=alert]{color:var(--cui-orange-800);background:var(--cui-yellow-100)}:host[data-status=error]{background:var(--cui-red-50)}:host-context([cuiTheme=dark]){--c-info-icon-color: var(--cui-light-blue-400);--c-alert-icon-color: var(--cui-yellow-300);color:var(--cui-gray-0)}:host-context([cuiTheme=dark])[data-status=info]{color:var(--cui-light-blue-400);background:var(--cui-blue-900)}:host-context([cuiTheme=dark])[data-status=info] .c-action:hover{color:var(--cui-blue-500)}:host-context([cuiTheme=dark])[data-status=success]{background:var(--cui-green-900)}:host-context([cuiTheme=dark])[data-status=success] .c-action{color:var(--cui-green-500)}:host-context([cuiTheme=dark])[data-status=alert]{background:var(--cui-yellow-900)}:host-context([cuiTheme=dark])[data-status=alert] .c-action{color:var(--cui-yellow-300)}:host-context([cuiTheme=dark])[data-status=error]{background:var(--cui-red-900)}:host-context([cuiTheme=dark])[data-status=error] .c-action{color:var(--cui-red-400)}.c-icon{height:28px}.c-wrapper{flex:1;display:flex;align-items:center;gap:16px;overflow-wrap:anywhere}.c-heading{font-weight:500;font-size:14px;line-height:20px;margin:0}.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:#fff3}\n"] }]
|
|
52
|
+
}], propDecorators: { status: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}, {
|
|
55
|
+
type: HostBinding,
|
|
56
|
+
args: ['attr.data-status']
|
|
57
|
+
}], isCloseable: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], label: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], actionButtonText: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], actionButtonClicked: [{
|
|
64
|
+
type: Output
|
|
65
|
+
}], closed: [{
|
|
66
|
+
type: Output
|
|
67
|
+
}] } });
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9iYW5uZXIvYmFubmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9iYW5uZXIvYmFubmVyLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR3JILE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRXRELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7Ozs7O0FBU2pELE1BQU0sT0FBTyxrQkFBa0I7SUFOL0I7UUFPcUIsWUFBTyxHQUFHLE1BQU0sQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDO1FBQ25DLFdBQU0sR0FBRyxNQUFNLENBQUMsZUFBZSxDQUFDLENBQUM7UUFFakMsaUJBQVksR0FBeUI7WUFDcEQsSUFBSSxFQUFFO2dCQUNGLElBQUksRUFBRSxhQUFhO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0aW9uQnV0dG9uVGV4dFwiXG4gICAgICAgIGFwcGVhcmFuY2U9XCJsaW5rXCJcbiAgICAgICAgY2xhc3M9XCJjLWFjdGlvblwiXG4gICAgICAgIChjbGljayk9XCJvbkFjdGlvbigpXCJcbiAgICA+XG4gICAgICAgIHt7IGFjdGlvbkJ1dHRvblRleHQgfX1cbiAgICA8L2J1dHRvbj5cbjwvZGl2PlxuPGJ1dHRvblxuICAgICpuZ0lmPVwiaXNDbG9zZWFibGVcIlxuICAgIGNsYXNzPVwiYy1idXR0b25cIlxuICAgIChjbGljayk9XCJvbkNsb3NlKClcIlxuPlxuICAgIEBpZiAodGhlbWUkIHwgYXN5bmM7IGFzIHRoZW1lKSB7XG4gICAgICAgIDxjdWktc3ZnXG4gICAgICAgICAgICBpY29uPVwiY3VpSWNvblhcIlxuICAgICAgICAgICAgW2NvbG9yXT1cIlRIRU1FX0NMT1NFX0JVVFRPTl9JQ09OX0NPTE9SU1t0aGVtZV1cIlxuICAgICAgICAvPlxuICAgIH1cbjwvYnV0dG9uPlxuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CuiLetDirective } from '@cuby-ui/cdk';
|
|
4
|
+
import { CuiBannerComponent } from './banner.component';
|
|
5
|
+
import { CuiSvgModule } from '../svg';
|
|
6
|
+
import { CuiButtonModule } from '../button';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CuiBannerModule {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBannerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CuiBannerModule, declarations: [CuiBannerComponent], imports: [CommonModule, CuiLetDirective, CuiSvgModule, CuiButtonModule], exports: [CuiBannerComponent] }); }
|
|
11
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBannerModule, imports: [CommonModule, CuiSvgModule, CuiButtonModule] }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBannerModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [CommonModule, CuiLetDirective, CuiSvgModule, CuiButtonModule],
|
|
17
|
+
declarations: [CuiBannerComponent],
|
|
18
|
+
exports: [CuiBannerComponent]
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFubmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9iYW5uZXIvYmFubmVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRS9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFDdEMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLFdBQVcsQ0FBQzs7QUFPNUMsTUFBTSxPQUFPLGVBQWU7K0dBQWYsZUFBZTtnSEFBZixlQUFlLGlCQUhULGtCQUFrQixhQUR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
+
import { cuiCreateToken } from '@cuby-ui/cdk';
|
|
2
|
+
export const CUI_BANNER_DEFAULT_OPTIONS = {
|
|
3
|
+
status: 'info'
|
|
4
|
+
};
|
|
5
|
+
export const CUI_BANNER_OPTIONS = cuiCreateToken(CUI_BANNER_DEFAULT_OPTIONS);
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFubmVyLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYmFubmVyL2Jhbm5lci5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFjOUMsTUFBTSxDQUFDLE1BQU0sMEJBQTBCLEdBQXFCO0lBQ3hELE1BQU0sRUFBRSxNQUFNO0NBQ2pCLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxrQkFBa0IsR0FBRyxjQUFjLENBQUMsMEJBQTBCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgQ3VpU3RhdHVzIH0gZnJvbSAnLi4vLi4vdHlwZXMnO1xuaW1wb3J0IHsgY3VpQ3JlYXRlVG9rZW4gfSBmcm9tICdAY3VieS11aS9jZGsnO1xuaW1wb3J0IHR5cGUgeyBDdWlJY29uIH0gZnJvbSAnQGN1YnktdWkvaWNvbnMnO1xuXG5leHBvcnQgdHlwZSBDdWlCYW5uZXJJY29uT3B0aW9ucyA9IHtcbiAgICBbayBpbiBDdWlTdGF0dXNdOiB7XG4gICAgICAgIGljb246IEN1aUljb247XG4gICAgICAgIGNvbG9yOiBzdHJpbmc7XG4gICAgfTtcbn07XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ3VpQmFubmVyT3B0aW9ucyB7XG4gICAgcmVhZG9ubHkgc3RhdHVzOiBDdWlTdGF0dXM7XG59XG5cbmV4cG9ydCBjb25zdCBDVUlfQkFOTkVSX0RFRkFVTFRfT1BUSU9OUzogQ3VpQmFubmVyT3B0aW9ucyA9IHtcbiAgICBzdGF0dXM6ICdpbmZvJ1xufTtcblxuZXhwb3J0IGNvbnN0IENVSV9CQU5ORVJfT1BUSU9OUyA9IGN1aUNyZWF0ZVRva2VuKENVSV9CQU5ORVJfREVGQVVMVF9PUFRJT05TKTtcbiJdfQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './banner.component';
|
|
2
|
+
export * from './banner.module';
|
|
3
|
+
export * from './banner.options';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYmFubmVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9iYW5uZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYmFubmVyLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2Jhbm5lci5vcHRpb25zJztcbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CuiBreadcrumbComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.isLast = false;
|
|
6
|
+
}
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiBreadcrumbComponent, selector: "[cuiBreadcrumb]", inputs: { isLast: "isLast" }, ngImport: i0, template: "<ng-content />\n", styles: [":host{font-weight:400;font-size:12px;line-height:14px;cursor:pointer;color:var(--cui-base-500);font-family:var(--cui-main-font)}:host:hover{color:var(--cui-base-900);text-decoration:underline}:host:last-of-type{cursor:default;color:var(--cui-base-900);text-decoration:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBreadcrumbComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{ selector: '[cuiBreadcrumb]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content />\n", styles: [":host{font-weight:400;font-size:12px;line-height:14px;cursor:pointer;color:var(--cui-base-500);font-family:var(--cui-main-font)}:host:hover{color:var(--cui-base-900);text-decoration:underline}:host:last-of-type{cursor:default;color:var(--cui-base-900);text-decoration:none}\n"] }]
|
|
13
|
+
}], propDecorators: { isLast: [{
|
|
14
|
+
type: Input
|
|
15
|
+
}] } });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvYnJlYWRjcnVtYi9icmVhZGNydW1iLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9icmVhZGNydW1icy9icmVhZGNydW1iL2JyZWFkY3J1bWIudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRMUUsTUFBTSxPQUFPLHNCQUFzQjtJQU5uQztRQVFXLFdBQU0sR0FBRyxLQUFLLENBQUM7S0FDekI7K0dBSFksc0JBQXNCO21HQUF0QixzQkFBc0IscUZDUm5DLGtCQUNBOzs0RkRPYSxzQkFBc0I7a0JBTmxDLFNBQVM7K0JBQ0ksaUJBQWlCLG1CQUdWLHVCQUF1QixDQUFDLE1BQU07OEJBSXhDLE1BQU07c0JBRFosS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnW2N1aUJyZWFkY3J1bWJdJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vYnJlYWRjcnVtYi50ZW1wbGF0ZS5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9icmVhZGNydW1iLnN0eWxlLnNjc3MnXSxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBDdWlCcmVhZGNydW1iQ29tcG9uZW50IHtcbiAgICBASW5wdXQoKVxuICAgIHB1YmxpYyBpc0xhc3QgPSBmYWxzZTtcbn1cbiIsIjxuZy1jb250ZW50IC8+XG4iXX0=
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChildren, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { CuiItemDirective } from '@cuby-ui/cdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../svg/svg.component";
|
|
6
|
+
export class CuiBreadcrumbsComponent {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiBreadcrumbsComponent, selector: "cui-breadcrumbs", queries: [{ propertyName: "breadcrumbs", predicate: CuiItemDirective, read: TemplateRef }], ngImport: i0, template: "<ng-container *ngIf=\"breadcrumbs.changes | async\" />\n<ng-container *ngFor=\"let breadcrumb of breadcrumbs; let isLast = last\">\n <ng-container *ngTemplateOutlet=\"breadcrumb\" />\n <cui-svg\n *ngIf=\"!isLast\"\n icon=\"cuiIconSlashDivider\"\n color=\"var(--cui-base-500)\"\n />\n</ng-container>\n", styles: [":host{display:flex;align-items:center;flex-wrap:wrap;gap:2px}\n"], dependencies: [{ 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: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBreadcrumbsComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{ selector: 'cui-breadcrumbs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"breadcrumbs.changes | async\" />\n<ng-container *ngFor=\"let breadcrumb of breadcrumbs; let isLast = last\">\n <ng-container *ngTemplateOutlet=\"breadcrumb\" />\n <cui-svg\n *ngIf=\"!isLast\"\n icon=\"cuiIconSlashDivider\"\n color=\"var(--cui-base-500)\"\n />\n</ng-container>\n", styles: [":host{display:flex;align-items:center;flex-wrap:wrap;gap:2px}\n"] }]
|
|
13
|
+
}], propDecorators: { breadcrumbs: [{
|
|
14
|
+
type: ContentChildren,
|
|
15
|
+
args: [CuiItemDirective, { read: TemplateRef }]
|
|
16
|
+
}] } });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2JyZWFkY3J1bWJzL2JyZWFkY3J1bWJzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9icmVhZGNydW1icy9icmVhZGNydW1icy50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFNUcsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sY0FBYyxDQUFDOzs7O0FBUWhELE1BQU0sT0FBTyx1QkFBdUI7K0dBQXZCLHVCQUF1QjttR0FBdkIsdUJBQXVCLG1GQUNmLGdCQUFnQixRQUFVLFdBQVcsNkJDWDFELDRVQVNBOzs0RkRDYSx1QkFBdUI7a0J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IGxhc3RcIj5cbiAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiYnJlYWRjcnVtYlwiIC8+XG4gICAgPGN1aS1zdmdcbiAgICAgICAgKm5nSWY9XCIhaXNMYXN0XCJcbiAgICAgICAgaWNvbj1cImN1aUljb25TbGFzaERpdmlkZXJcIlxuICAgICAgICBjb2xvcj1cInZhcigtLWN1aS1iYXNlLTUwMClcIlxuICAgIC8+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CuiBreadcrumbsComponent } from './breadcrumbs.component';
|
|
4
|
+
import { CuiBreadcrumbComponent } from './breadcrumb/breadcrumb.component';
|
|
5
|
+
import { CuiSvgModule } from '../svg';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class CuiBreadcrumbsModule {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CuiBreadcrumbsModule, declarations: [CuiBreadcrumbsComponent, CuiBreadcrumbComponent], imports: [CommonModule, CuiSvgModule], exports: [CuiBreadcrumbsComponent, CuiBreadcrumbComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBreadcrumbsModule, imports: [CommonModule, CuiSvgModule] }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiBreadcrumbsModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
imports: [CommonModule, CuiSvgModule],
|
|
16
|
+
declarations: [CuiBreadcrumbsComponent, CuiBreadcrumbComponent],
|
|
17
|
+
exports: [CuiBreadcrumbsComponent, CuiBreadcrumbComponent]
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2JyZWFkY3J1bWJzL2JyZWFkY3J1bWJzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUMzRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sUUFBUSxDQUFDOztBQU90QyxNQUFNLE9BQU8sb0JBQW9COytHQUFwQixvQkFBb0I7Z0hBQXBCLG9CQUFvQixpQkFIZCx1QkFBdUIsRUFBRSxzQkFBc0IsYUFEcEQsWUFBWSxFQUFFLFlBQVksYUFFMUIsdUJBQXVCLEVBQUUsc0JBQXNCO2dIQUVoRCxvQkFBb0IsWUFKbkIsWUFBWSxFQUFFLFlBQVk7OzRGQUkzQixvQkFBb0I7a0JBTGhDLFFBQVE7bUJBQUM7b0JBQ04sT0FBTyxFQUFFLENBQUMsWUFBWSxFQUFFLFlBQVksQ0FBQztvQkFDckMsWUFBWSxFQUFFLENBQUMsdUJBQXVCLEVBQUUsc0JBQXNCLENBQUM7b0JBQy9ELE9BQU8sRUFBRSxDQUFDLHVCQUF1QixFQUFFLHNCQUFzQixDQUFDO2lCQUM3RCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuXG5pbXBvcnQgeyBDdWlCcmVhZGNydW1ic0NvbXBvbmVudCB9IGZyb20gJy4vYnJlYWRjcnVtYnMuY29tcG9uZW50JztcbmltcG9ydCB7IEN1aUJyZWFkY3J1bWJDb21wb25lbnQgfSBmcm9tICcuL2JyZWFkY3J1bWIvYnJlYWRjcnVtYi5jb21wb25lbnQnO1xuaW1wb3J0IHsgQ3VpU3ZnTW9kdWxlIH0gZnJvbSAnLi4vc3ZnJztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBDdWlTdmdNb2R1bGVdLFxuICAgIGRlY2xhcmF0aW9uczogW0N1aUJyZWFkY3J1bWJzQ29tcG9uZW50LCBDdWlCcmVhZGNydW1iQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbQ3VpQnJlYWRjcnVtYnNDb21wb25lbnQsIEN1aUJyZWFkY3J1bWJDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIEN1aUJyZWFkY3J1bWJzTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './breadcrumbs.component';
|
|
2
|
+
export * from './breadcrumbs.module';
|
|
3
|
+
export * from './breadcrumb/breadcrumb.component';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JyZWFkY3J1bWJzLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2JyZWFkY3J1bWJzLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2JyZWFkY3J1bWIvYnJlYWRjcnVtYi5jb21wb25lbnQnO1xuIl19
|