@cuby-ui/core 0.0.484 → 0.0.487
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +794 -13
- package/package.json +7 -4
- package/animations/animations.d.ts +0 -36
- package/animations/index.d.ts +0 -1
- package/classes/accessors.d.ts +0 -17
- package/classes/driver.d.ts +0 -16
- package/classes/index.d.ts +0 -3
- package/classes/vehicle.d.ts +0 -6
- package/components/accordion/accordion-item/accordion-item.component.d.ts +0 -14
- package/components/accordion/accordion-item/accordion-item.options.d.ts +0 -1
- package/components/accordion/accordion.component.d.ts +0 -5
- package/components/accordion/accordion.directive.d.ts +0 -15
- package/components/accordion/accordion.module.d.ts +0 -11
- package/components/accordion/index.d.ts +0 -4
- package/components/alert/alert.component.d.ts +0 -13
- package/components/alert/alert.interfaces.d.ts +0 -9
- package/components/alert/alert.module.d.ts +0 -11
- package/components/alert/alert.service.d.ts +0 -7
- package/components/alert/alert.tokens.d.ts +0 -16
- package/components/alert/alert.types.d.ts +0 -3
- package/components/alert/alerts.component.d.ts +0 -17
- package/components/alert/index.d.ts +0 -8
- package/components/alert-hint/alert-hint.component.d.ts +0 -11
- package/components/alert-hint/error-status.d.ts +0 -1
- package/components/alert-hint/index.d.ts +0 -2
- package/components/badge/badge.component.d.ts +0 -10
- package/components/badge/badge.module.d.ts +0 -8
- package/components/badge/badge.options.d.ts +0 -12
- package/components/badge/index.d.ts +0 -3
- package/components/banner/banner.component.d.ts +0 -21
- package/components/banner/banner.module.d.ts +0 -11
- package/components/banner/banner.options.d.ts +0 -13
- package/components/banner/index.d.ts +0 -3
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +0 -6
- package/components/breadcrumbs/breadcrumbs.component.d.ts +0 -7
- package/components/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/components/breadcrumbs/index.d.ts +0 -3
- package/components/button/button.component.d.ts +0 -39
- package/components/button/button.module.d.ts +0 -9
- package/components/button/button.options.d.ts +0 -14
- package/components/button/index.d.ts +0 -3
- package/components/button-group/button-group.component.d.ts +0 -5
- package/components/button-group/button-group.module.d.ts +0 -7
- package/components/button-group/index.d.ts +0 -2
- package/components/card-wrapper/card-wrapper.component.d.ts +0 -7
- package/components/card-wrapper/index.d.ts +0 -1
- package/components/checkbox/checkbox.component.d.ts +0 -5
- package/components/checkbox/checkbox.module.d.ts +0 -7
- package/components/checkbox/index.d.ts +0 -2
- package/components/content-header/content-header.component.d.ts +0 -8
- package/components/content-header/index.d.ts +0 -1
- package/components/content-wrapper/content-wrapper.component.d.ts +0 -11
- package/components/content-wrapper/index.d.ts +0 -1
- package/components/context-menu/context-menu.component.d.ts +0 -41
- package/components/context-menu/context-menu.module.d.ts +0 -9
- package/components/context-menu/index.d.ts +0 -2
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +0 -5
- package/components/dialog/dialog-header/dialog-header.component.d.ts +0 -12
- package/components/dialog/dialog.component.d.ts +0 -33
- package/components/dialog/dialog.interfaces.d.ts +0 -11
- package/components/dialog/dialog.module.d.ts +0 -14
- package/components/dialog/dialog.service.d.ts +0 -7
- package/components/dialog/dialog.tokens.d.ts +0 -8
- package/components/dialog/dialogs.component.d.ts +0 -18
- package/components/dialog/index.d.ts +0 -8
- package/components/dropdown/dropdown-wrapper.component.d.ts +0 -9
- package/components/dropdown/dropdown.directive.d.ts +0 -41
- package/components/dropdown/dropdown.interfaces.d.ts +0 -8
- package/components/dropdown/index.d.ts +0 -3
- package/components/empty-state/empty-state.component.d.ts +0 -7
- package/components/empty-state/index.d.ts +0 -1
- package/components/file-icon/file-icon.component.d.ts +0 -9
- package/components/file-icon/file-icon.options.d.ts +0 -12
- package/components/file-icon/index.d.ts +0 -1
- package/components/form-field/form-field.component.d.ts +0 -5
- package/components/form-field/form-field.module.d.ts +0 -7
- package/components/form-field/index.d.ts +0 -2
- package/components/ghost-input/ghost-input.component.d.ts +0 -6
- package/components/ghost-input/index.d.ts +0 -1
- package/components/hint/hint.component.d.ts +0 -7
- package/components/hint/hint.module.d.ts +0 -7
- package/components/hint/index.d.ts +0 -2
- package/components/icon-button/icon-button.component.d.ts +0 -13
- package/components/icon-button/icon-button.module.d.ts +0 -9
- package/components/icon-button/index.d.ts +0 -2
- package/components/index.d.ts +0 -41
- package/components/input-number/index.d.ts +0 -2
- package/components/input-number/input-number.component.d.ts +0 -38
- package/components/input-number/input-number.module.d.ts +0 -12
- package/components/input-password/index.d.ts +0 -2
- package/components/input-password/input-password.component.d.ts +0 -31
- package/components/input-password/input-password.module.d.ts +0 -11
- package/components/input-text/index.d.ts +0 -2
- package/components/input-text/input-text.component.d.ts +0 -31
- package/components/input-text/input-text.module.d.ts +0 -11
- package/components/input-time/index.d.ts +0 -3
- package/components/input-time/input-time.component.d.ts +0 -36
- package/components/input-time/input-time.module.d.ts +0 -12
- package/components/input-time/input-time.options.d.ts +0 -7
- package/components/label/index.d.ts +0 -2
- package/components/label/label.component.d.ts +0 -6
- package/components/label/label.module.d.ts +0 -8
- package/components/layout/index.d.ts +0 -1
- package/components/layout/layout.component.d.ts +0 -6
- package/components/letter-box/index.d.ts +0 -1
- package/components/letter-box/letter-box.component.d.ts +0 -14
- package/components/letter-box/letter-box.interfaces.d.ts +0 -3
- package/components/notification/index.d.ts +0 -3
- package/components/notification/notification.component.d.ts +0 -18
- package/components/notification/notification.module.d.ts +0 -9
- package/components/notification/notification.options.d.ts +0 -17
- package/components/options-button/index.d.ts +0 -1
- package/components/options-button/options-button.component.d.ts +0 -8
- package/components/radio/index.d.ts +0 -2
- package/components/radio/radio.component.d.ts +0 -5
- package/components/radio/radio.module.d.ts +0 -7
- package/components/render-dynamic-components/index.d.ts +0 -3
- package/components/render-dynamic-components/render-dynamic-components.component.d.ts +0 -7
- package/components/render-dynamic-components/render-dynamic-components.options.d.ts +0 -7
- package/components/render-dynamic-components/render-dynamic-components.service.d.ts +0 -12
- package/components/root/index.d.ts +0 -3
- package/components/root/root.component.d.ts +0 -10
- package/components/root/root.module.d.ts +0 -11
- package/components/root/root.options.d.ts +0 -1
- package/components/select/index.d.ts +0 -2
- package/components/select/select.component.d.ts +0 -53
- package/components/select/select.module.d.ts +0 -11
- package/components/sidebar/index.d.ts +0 -7
- package/components/sidebar/sidebar-container/index.d.ts +0 -1
- package/components/sidebar/sidebar-container/sidebar-container.component.d.ts +0 -10
- package/components/sidebar/sidebar-header/index.d.ts +0 -1
- package/components/sidebar/sidebar-header/sidebar-header.component.d.ts +0 -12
- package/components/sidebar/sidebar-navigation/index.d.ts +0 -1
- package/components/sidebar/sidebar-navigation/sidebar-navigation.component.d.ts +0 -9
- package/components/sidebar/sidebar-navigation-container/index.d.ts +0 -1
- package/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.d.ts +0 -8
- package/components/sidebar/sidebar-navigation-item/index.d.ts +0 -1
- package/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.d.ts +0 -9
- package/components/sidebar/sidebar.options.d.ts +0 -4
- package/components/sidebar/sidebar.service.d.ts +0 -17
- package/components/svg/index.d.ts +0 -2
- package/components/svg/svg.component.d.ts +0 -16
- package/components/svg/svg.module.d.ts +0 -8
- package/components/tab/index.d.ts +0 -1
- package/components/tab/tab.component.d.ts +0 -15
- package/components/tabs/components/abstract-tabs/abstract-tabs.component.d.ts +0 -15
- package/components/tabs/components/abstract-tabs/index.d.ts +0 -1
- package/components/tabs/components/index.d.ts +0 -1
- package/components/tabs/index.d.ts +0 -5
- package/components/tabs/services/index.d.ts +0 -1
- package/components/tabs/services/tabs.service.d.ts +0 -14
- package/components/tabs/tabs.component.d.ts +0 -8
- package/components/tabs/tabs.options.d.ts +0 -21
- package/components/tabs/tabs.provider.d.ts +0 -3
- package/components/textarea/index.d.ts +0 -2
- package/components/textarea/textarea.component.d.ts +0 -10
- package/components/textarea/textarea.module.d.ts +0 -7
- package/components/toggle/index.d.ts +0 -2
- package/components/toggle/toggle.component.d.ts +0 -5
- package/components/toggle/toggle.module.d.ts +0 -7
- package/directives/index.d.ts +0 -2
- package/directives/text-field-controller/index.d.ts +0 -8
- package/directives/text-field-controller/text-field-controller.module.d.ts +0 -11
- package/directives/text-field-controller/text-field-controller.provider.d.ts +0 -4
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +0 -9
- package/directives/text-field-controller/text-field-id.directive.d.ts +0 -8
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +0 -8
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +0 -8
- package/directives/text-field-controller/text-field-size.directive.d.ts +0 -9
- package/directives/text-field-controller/text-field.controller.d.ts +0 -20
- package/directives/tooltip/index.d.ts +0 -16
- package/directives/tooltip/tooltip-describe.directive.d.ts +0 -16
- package/directives/tooltip/tooltip-driver.directive.d.ts +0 -7
- package/directives/tooltip/tooltip-host.directive.d.ts +0 -9
- package/directives/tooltip/tooltip-hover.directive.d.ts +0 -21
- package/directives/tooltip/tooltip-manual.directive.d.ts +0 -13
- package/directives/tooltip/tooltip-options.directive.d.ts +0 -36
- package/directives/tooltip/tooltip-overflow.directive.d.ts +0 -8
- package/directives/tooltip/tooltip-pointer.directive.d.ts +0 -10
- package/directives/tooltip/tooltip-position.directive.d.ts +0 -20
- package/directives/tooltip/tooltip-unstyled.component.d.ts +0 -17
- package/directives/tooltip/tooltip.component.d.ts +0 -33
- package/directives/tooltip/tooltip.d.ts +0 -13
- package/directives/tooltip/tooltip.directive.d.ts +0 -26
- package/directives/tooltip/tooltip.providers.d.ts +0 -5
- package/directives/tooltip/tooltip.service.d.ts +0 -13
- package/directives/tooltip/tooltips.component.d.ts +0 -12
- package/editor/components/editor-attaches-tool/editor-attaches-tool.component.d.ts +0 -19
- package/editor/components/editor-attaches-tool/editor-attaches-tool.options.d.ts +0 -18
- package/editor/components/editor-attaches-tool/index.d.ts +0 -2
- package/editor/components/editor-image-tool/editor-image-tool.component.d.ts +0 -14
- package/editor/components/editor-image-tool/editor-image-tool.options.d.ts +0 -26
- package/editor/components/editor-image-tool/index.d.ts +0 -2
- package/editor/components/editor-tool/editor-tool.component.d.ts +0 -22
- package/editor/components/editor-tool-modal/editor-tool-modal.component.d.ts +0 -24
- package/editor/components/editor-tool-modal/editor-tool-modal.options.d.ts +0 -8
- package/editor/components/editor-tool-modal/index.d.ts +0 -2
- package/editor/components/editor-tooltip/editor-tooltip.component.d.ts +0 -16
- package/editor/components/editor-tooltip/editor-tooltip.options.d.ts +0 -9
- package/editor/components/editor-tooltip/index.d.ts +0 -2
- package/editor/components/editor-video-tool/editor-video-tool.component.d.ts +0 -12
- package/editor/components/editor-video-tool/editor-video-tool.options.d.ts +0 -26
- package/editor/components/editor-video-tool/index.d.ts +0 -2
- package/editor/components/index.d.ts +0 -7
- package/editor/components/marker-modal/index.d.ts +0 -3
- package/editor/components/marker-modal/marker-modal.component.d.ts +0 -62
- package/editor/components/marker-modal/marker-modal.interfaces.d.ts +0 -7
- package/editor/components/marker-modal/marker-modal.options.d.ts +0 -1
- package/editor/components/marker-select/component/select-item/select-option.component.d.ts +0 -7
- package/editor/components/marker-select/index.d.ts +0 -2
- package/editor/components/marker-select/marker-select.component.d.ts +0 -40
- package/editor/components/marker-select/marker-select.options.d.ts +0 -1
- package/editor/config/custom-elements.d.ts +0 -2
- package/editor/config/editor.config.d.ts +0 -3
- package/editor/config/index.d.ts +0 -1
- package/editor/constants/editor.constants.d.ts +0 -15
- package/editor/constants/index.d.ts +0 -1
- package/editor/editor.component.d.ts +0 -73
- package/editor/events/editor-drag.event.d.ts +0 -2
- package/editor/events/editor-keyboard.event.d.ts +0 -2
- package/editor/events/editor-modal.event.d.ts +0 -3
- package/editor/events/editor-tooltip.event.d.ts +0 -2
- package/editor/events/set-editor-events.d.ts +0 -1
- package/editor/index.d.ts +0 -9
- package/editor/interfaces/angular-element.d.ts +0 -2
- package/editor/interfaces/blocks-request-data.d.ts +0 -6
- package/editor/interfaces/combined-block-adding-event.d.ts +0 -7
- package/editor/interfaces/combined-block-data.d.ts +0 -5
- package/editor/interfaces/combined-part-block-data.d.ts +0 -7
- package/editor/interfaces/custom-element.d.ts +0 -5
- package/editor/interfaces/editor-service.d.ts +0 -4
- package/editor/interfaces/event-action-data.d.ts +0 -5
- package/editor/interfaces/file-response-data.d.ts +0 -15
- package/editor/interfaces/full-block-data.d.ts +0 -8
- package/editor/interfaces/index.d.ts +0 -15
- package/editor/interfaces/main-editor-config.d.ts +0 -12
- package/editor/interfaces/mutation-actions.d.ts +0 -5
- package/editor/interfaces/parent.d.ts +0 -4
- package/editor/interfaces/tools.d.ts +0 -4
- package/editor/interfaces/tune.d.ts +0 -6
- package/editor/pipes/file-size.pipe.d.ts +0 -9
- package/editor/providers/editor.provider.d.ts +0 -2
- package/editor/providers/index.d.ts +0 -1
- package/editor/services/editor-service.options.d.ts +0 -8
- package/editor/services/editor.service.d.ts +0 -23
- package/editor/services/index.d.ts +0 -4
- package/editor/services/markers-service.options.d.ts +0 -4
- package/editor/services/markers.service.d.ts +0 -11
- package/editor/tools/attaches.tool.d.ts +0 -31
- package/editor/tools/bold.tool.d.ts +0 -11
- package/editor/tools/combined-text-block.tool.d.ts +0 -49
- package/editor/tools/custom-marker.tool.d.ts +0 -16
- package/editor/tools/header.tool.d.ts +0 -8
- package/editor/tools/image.tool.d.ts +0 -37
- package/editor/tools/index.d.ts +0 -11
- package/editor/tools/italic.tool.d.ts +0 -12
- package/editor/tools/link-marker.tool.d.ts +0 -15
- package/editor/tools/list.tool.d.ts +0 -5
- package/editor/tools/marker.tool.d.ts +0 -36
- package/editor/tools/role-marker.tool.d.ts +0 -7
- package/editor/tools/selection-base.tool.d.ts +0 -24
- package/editor/tools/tool-marker.tool.d.ts +0 -7
- package/editor/tools/video.tool.d.ts +0 -32
- package/editor/utils/copy-text-to-clipboard.d.ts +0 -1
- package/editor/utils/create-link-modal.d.ts +0 -3
- package/editor/utils/create-tool-modal.d.ts +0 -4
- package/editor/utils/create-tools-data.d.ts +0 -3
- package/editor/utils/create-tooltip.d.ts +0 -8
- package/editor/utils/file-uploader.d.ts +0 -27
- package/editor/utils/generate-id.d.ts +0 -1
- package/editor/utils/index.d.ts +0 -12
- package/editor/utils/open-file-in-browser.d.ts +0 -2
- package/editor/utils/recalculate-indexes.d.ts +0 -2
- package/editor/utils/remove-element-tag-wrapper.d.ts +0 -1
- package/editor/utils/set-loading.d.ts +0 -2
- package/editor/utils/split-html.d.ts +0 -1
- package/editor/utils/url.validator.d.ts +0 -2
- package/editor/widgets/editor-block/editor-block.component.d.ts +0 -22
- package/editor/widgets/editor-block/index.d.ts +0 -1
- package/editor/widgets/editor-modal/editor-modal.component.d.ts +0 -19
- package/editor/widgets/editor-modal/index.d.ts +0 -1
- package/editor/widgets/editor-readonly/editor-readonly.component.d.ts +0 -27
- package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +0 -5
- package/editor/widgets/editor-readonly/editor-resize-observer.directive.d.ts +0 -15
- package/editor/widgets/editor-readonly/index.d.ts +0 -2
- package/editor/widgets/index.d.ts +0 -3
- package/esm2022/animations/animations.mjs +0 -228
- package/esm2022/animations/index.mjs +0 -2
- package/esm2022/classes/accessors.mjs +0 -31
- package/esm2022/classes/driver.mjs +0 -35
- package/esm2022/classes/index.mjs +0 -4
- package/esm2022/classes/vehicle.mjs +0 -7
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +0 -37
- package/esm2022/components/accordion/accordion-item/accordion-item.options.mjs +0 -2
- package/esm2022/components/accordion/accordion.component.mjs +0 -11
- package/esm2022/components/accordion/accordion.directive.mjs +0 -56
- package/esm2022/components/accordion/accordion.module.mjs +0 -21
- package/esm2022/components/accordion/index.mjs +0 -5
- package/esm2022/components/alert/alert.component.mjs +0 -36
- package/esm2022/components/alert/alert.interfaces.mjs +0 -2
- package/esm2022/components/alert/alert.module.mjs +0 -21
- package/esm2022/components/alert/alert.service.mjs +0 -17
- package/esm2022/components/alert/alert.tokens.mjs +0 -20
- package/esm2022/components/alert/alert.types.mjs +0 -2
- package/esm2022/components/alert/alerts.component.mjs +0 -34
- package/esm2022/components/alert/index.mjs +0 -9
- package/esm2022/components/alert-hint/alert-hint.component.mjs +0 -28
- package/esm2022/components/alert-hint/error-status.mjs +0 -2
- package/esm2022/components/alert-hint/index.mjs +0 -2
- package/esm2022/components/badge/badge.component.mjs +0 -31
- package/esm2022/components/badge/badge.module.mjs +0 -18
- package/esm2022/components/badge/badge.options.mjs +0 -8
- package/esm2022/components/badge/index.mjs +0 -3
- package/esm2022/components/banner/banner.component.mjs +0 -68
- package/esm2022/components/banner/banner.module.mjs +0 -21
- package/esm2022/components/banner/banner.options.mjs +0 -6
- package/esm2022/components/banner/index.mjs +0 -4
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -16
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -17
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +0 -20
- package/esm2022/components/breadcrumbs/index.mjs +0 -4
- package/esm2022/components/button/button.component.mjs +0 -133
- package/esm2022/components/button/button.module.mjs +0 -19
- package/esm2022/components/button/button.options.mjs +0 -11
- package/esm2022/components/button/index.mjs +0 -4
- package/esm2022/components/button-group/button-group.component.mjs +0 -11
- package/esm2022/components/button-group/button-group.module.mjs +0 -16
- package/esm2022/components/button-group/index.mjs +0 -3
- package/esm2022/components/card-wrapper/card-wrapper.component.mjs +0 -18
- package/esm2022/components/card-wrapper/index.mjs +0 -2
- package/esm2022/components/checkbox/checkbox.component.mjs +0 -11
- package/esm2022/components/checkbox/checkbox.module.mjs +0 -16
- package/esm2022/components/checkbox/index.mjs +0 -3
- package/esm2022/components/content-header/content-header.component.mjs +0 -19
- package/esm2022/components/content-header/index.mjs +0 -2
- package/esm2022/components/content-wrapper/content-wrapper.component.mjs +0 -29
- package/esm2022/components/content-wrapper/index.mjs +0 -2
- package/esm2022/components/context-menu/context-menu.component.mjs +0 -148
- package/esm2022/components/context-menu/context-menu.module.mjs +0 -19
- package/esm2022/components/context-menu/index.mjs +0 -3
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +0 -11
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +0 -28
- package/esm2022/components/dialog/dialog.component.mjs +0 -67
- package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
- package/esm2022/components/dialog/dialog.module.mjs +0 -24
- package/esm2022/components/dialog/dialog.service.mjs +0 -17
- package/esm2022/components/dialog/dialog.tokens.mjs +0 -12
- package/esm2022/components/dialog/dialogs.component.mjs +0 -49
- package/esm2022/components/dialog/index.mjs +0 -9
- package/esm2022/components/dropdown/dropdown-wrapper.component.mjs +0 -23
- package/esm2022/components/dropdown/dropdown.directive.mjs +0 -182
- package/esm2022/components/dropdown/dropdown.interfaces.mjs +0 -2
- package/esm2022/components/dropdown/index.mjs +0 -3
- package/esm2022/components/empty-state/empty-state.component.mjs +0 -17
- package/esm2022/components/empty-state/index.mjs +0 -2
- package/esm2022/components/file-icon/file-icon.component.mjs +0 -22
- package/esm2022/components/file-icon/file-icon.options.mjs +0 -120
- package/esm2022/components/file-icon/index.mjs +0 -2
- package/esm2022/components/form-field/form-field.component.mjs +0 -11
- package/esm2022/components/form-field/form-field.module.mjs +0 -16
- package/esm2022/components/form-field/index.mjs +0 -3
- package/esm2022/components/ghost-input/ghost-input.component.mjs +0 -16
- package/esm2022/components/ghost-input/index.mjs +0 -2
- package/esm2022/components/hint/hint.component.mjs +0 -19
- package/esm2022/components/hint/hint.module.mjs +0 -16
- package/esm2022/components/hint/index.mjs +0 -3
- package/esm2022/components/icon-button/icon-button.component.mjs +0 -32
- package/esm2022/components/icon-button/icon-button.module.mjs +0 -19
- package/esm2022/components/icon-button/index.mjs +0 -3
- package/esm2022/components/index.mjs +0 -42
- package/esm2022/components/input-number/index.mjs +0 -3
- package/esm2022/components/input-number/input-number.component.mjs +0 -107
- package/esm2022/components/input-number/input-number.module.mjs +0 -22
- package/esm2022/components/input-password/index.mjs +0 -3
- package/esm2022/components/input-password/input-password.component.mjs +0 -83
- package/esm2022/components/input-password/input-password.module.mjs +0 -21
- package/esm2022/components/input-text/index.mjs +0 -3
- package/esm2022/components/input-text/input-text.component.mjs +0 -81
- package/esm2022/components/input-text/input-text.module.mjs +0 -21
- package/esm2022/components/input-time/index.mjs +0 -4
- package/esm2022/components/input-time/input-time.component.mjs +0 -93
- package/esm2022/components/input-time/input-time.module.mjs +0 -22
- package/esm2022/components/input-time/input-time.options.mjs +0 -8
- package/esm2022/components/label/index.mjs +0 -3
- package/esm2022/components/label/label.component.mjs +0 -17
- package/esm2022/components/label/label.module.mjs +0 -18
- package/esm2022/components/layout/index.mjs +0 -2
- package/esm2022/components/layout/layout.component.mjs +0 -16
- package/esm2022/components/letter-box/index.mjs +0 -2
- package/esm2022/components/letter-box/letter-box.component.mjs +0 -43
- package/esm2022/components/letter-box/letter-box.interfaces.mjs +0 -2
- package/esm2022/components/notification/index.mjs +0 -4
- package/esm2022/components/notification/notification.component.mjs +0 -47
- package/esm2022/components/notification/notification.module.mjs +0 -19
- package/esm2022/components/notification/notification.options.mjs +0 -53
- package/esm2022/components/options-button/index.mjs +0 -2
- package/esm2022/components/options-button/options-button.component.mjs +0 -20
- package/esm2022/components/radio/index.mjs +0 -3
- package/esm2022/components/radio/radio.component.mjs +0 -11
- package/esm2022/components/radio/radio.module.mjs +0 -16
- package/esm2022/components/render-dynamic-components/index.mjs +0 -3
- package/esm2022/components/render-dynamic-components/render-dynamic-components.component.mjs +0 -17
- package/esm2022/components/render-dynamic-components/render-dynamic-components.options.mjs +0 -2
- package/esm2022/components/render-dynamic-components/render-dynamic-components.service.mjs +0 -29
- package/esm2022/components/root/index.mjs +0 -4
- package/esm2022/components/root/root.component.mjs +0 -27
- package/esm2022/components/root/root.module.mjs +0 -21
- package/esm2022/components/root/root.options.mjs +0 -2
- package/esm2022/components/select/index.mjs +0 -3
- package/esm2022/components/select/select.component.mjs +0 -171
- package/esm2022/components/select/select.module.mjs +0 -21
- package/esm2022/components/sidebar/index.mjs +0 -7
- package/esm2022/components/sidebar/sidebar-container/index.mjs +0 -2
- package/esm2022/components/sidebar/sidebar-container/sidebar-container.component.mjs +0 -30
- package/esm2022/components/sidebar/sidebar-header/index.mjs +0 -2
- package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +0 -27
- package/esm2022/components/sidebar/sidebar-navigation/index.mjs +0 -2
- package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +0 -16
- package/esm2022/components/sidebar/sidebar-navigation-container/index.mjs +0 -2
- package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +0 -16
- package/esm2022/components/sidebar/sidebar-navigation-item/index.mjs +0 -2
- package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +0 -21
- package/esm2022/components/sidebar/sidebar.options.mjs +0 -2
- package/esm2022/components/sidebar/sidebar.service.mjs +0 -39
- package/esm2022/components/svg/index.mjs +0 -3
- package/esm2022/components/svg/svg.component.mjs +0 -48
- package/esm2022/components/svg/svg.module.mjs +0 -18
- package/esm2022/components/tab/index.mjs +0 -2
- package/esm2022/components/tab/tab.component.mjs +0 -36
- package/esm2022/components/tabs/components/abstract-tabs/abstract-tabs.component.mjs +0 -40
- package/esm2022/components/tabs/components/abstract-tabs/index.mjs +0 -2
- package/esm2022/components/tabs/components/index.mjs +0 -2
- package/esm2022/components/tabs/index.mjs +0 -6
- package/esm2022/components/tabs/services/index.mjs +0 -2
- package/esm2022/components/tabs/services/tabs.service.mjs +0 -27
- package/esm2022/components/tabs/tabs.component.mjs +0 -17
- package/esm2022/components/tabs/tabs.options.mjs +0 -5
- package/esm2022/components/tabs/tabs.provider.mjs +0 -9
- package/esm2022/components/textarea/index.mjs +0 -3
- package/esm2022/components/textarea/textarea.component.mjs +0 -35
- package/esm2022/components/textarea/textarea.module.mjs +0 -16
- package/esm2022/components/toggle/index.mjs +0 -3
- package/esm2022/components/toggle/toggle.component.mjs +0 -11
- package/esm2022/components/toggle/toggle.module.mjs +0 -16
- package/esm2022/cuby-ui-core.mjs +0 -5
- package/esm2022/directives/index.mjs +0 -3
- package/esm2022/directives/text-field-controller/index.mjs +0 -9
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +0 -40
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +0 -24
- package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +0 -21
- package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +0 -21
- package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +0 -24
- package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +0 -21
- package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +0 -24
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +0 -25
- package/esm2022/directives/tooltip/index.mjs +0 -17
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +0 -47
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +0 -18
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +0 -26
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +0 -50
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +0 -31
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +0 -83
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +0 -31
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +0 -31
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +0 -91
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +0 -40
- package/esm2022/directives/tooltip/tooltip.component.mjs +0 -109
- package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
- package/esm2022/directives/tooltip/tooltip.mjs +0 -27
- package/esm2022/directives/tooltip/tooltip.providers.mjs +0 -7
- package/esm2022/directives/tooltip/tooltip.service.mjs +0 -28
- package/esm2022/directives/tooltip/tooltips.component.mjs +0 -33
- package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +0 -60
- package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.options.mjs +0 -2
- package/esm2022/editor/components/editor-attaches-tool/index.mjs +0 -3
- package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +0 -43
- package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +0 -2
- package/esm2022/editor/components/editor-image-tool/index.mjs +0 -3
- package/esm2022/editor/components/editor-tool/editor-tool.component.mjs +0 -74
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.component.mjs +0 -69
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +0 -2
- package/esm2022/editor/components/editor-tool-modal/index.mjs +0 -3
- package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +0 -45
- package/esm2022/editor/components/editor-tooltip/editor-tooltip.options.mjs +0 -2
- package/esm2022/editor/components/editor-tooltip/index.mjs +0 -3
- package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +0 -41
- package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +0 -2
- package/esm2022/editor/components/editor-video-tool/index.mjs +0 -3
- package/esm2022/editor/components/index.mjs +0 -8
- package/esm2022/editor/components/marker-modal/index.mjs +0 -3
- package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +0 -261
- package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +0 -2
- package/esm2022/editor/components/marker-modal/marker-modal.options.mjs +0 -2
- package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +0 -15
- package/esm2022/editor/components/marker-select/index.mjs +0 -3
- package/esm2022/editor/components/marker-select/marker-select.component.mjs +0 -155
- package/esm2022/editor/components/marker-select/marker-select.options.mjs +0 -2
- package/esm2022/editor/config/custom-elements.mjs +0 -32
- package/esm2022/editor/config/editor.config.mjs +0 -30
- package/esm2022/editor/config/index.mjs +0 -2
- package/esm2022/editor/constants/editor.constants.mjs +0 -20
- package/esm2022/editor/constants/index.mjs +0 -2
- package/esm2022/editor/editor.component.mjs +0 -385
- package/esm2022/editor/events/editor-drag.event.mjs +0 -7
- package/esm2022/editor/events/editor-keyboard.event.mjs +0 -33
- package/esm2022/editor/events/editor-modal.event.mjs +0 -31
- package/esm2022/editor/events/editor-tooltip.event.mjs +0 -63
- package/esm2022/editor/events/set-editor-events.mjs +0 -11
- package/esm2022/editor/i18n/en.json +0 -14
- package/esm2022/editor/index.mjs +0 -8
- package/esm2022/editor/interfaces/angular-element.mjs +0 -2
- package/esm2022/editor/interfaces/blocks-request-data.mjs +0 -2
- package/esm2022/editor/interfaces/combined-block-adding-event.mjs +0 -2
- package/esm2022/editor/interfaces/combined-block-data.mjs +0 -2
- package/esm2022/editor/interfaces/combined-part-block-data.mjs +0 -2
- package/esm2022/editor/interfaces/custom-element.mjs +0 -2
- package/esm2022/editor/interfaces/editor-service.mjs +0 -2
- package/esm2022/editor/interfaces/event-action-data.mjs +0 -2
- package/esm2022/editor/interfaces/file-response-data.mjs +0 -2
- package/esm2022/editor/interfaces/full-block-data.mjs +0 -2
- package/esm2022/editor/interfaces/index.mjs +0 -15
- package/esm2022/editor/interfaces/main-editor-config.mjs +0 -2
- package/esm2022/editor/interfaces/mutation-actions.mjs +0 -2
- package/esm2022/editor/interfaces/parent.mjs +0 -2
- package/esm2022/editor/interfaces/tools.mjs +0 -2
- package/esm2022/editor/interfaces/tune.mjs +0 -2
- package/esm2022/editor/pipes/file-size.pipe.mjs +0 -25
- package/esm2022/editor/providers/editor.provider.mjs +0 -19
- package/esm2022/editor/providers/index.mjs +0 -2
- package/esm2022/editor/services/editor-service.options.mjs +0 -4
- package/esm2022/editor/services/editor.service.mjs +0 -138
- package/esm2022/editor/services/index.mjs +0 -5
- package/esm2022/editor/services/markers-service.options.mjs +0 -2
- package/esm2022/editor/services/markers.service.mjs +0 -79
- package/esm2022/editor/tools/attaches.tool.mjs +0 -102
- package/esm2022/editor/tools/bold.tool.mjs +0 -33
- package/esm2022/editor/tools/combined-text-block.tool.mjs +0 -380
- package/esm2022/editor/tools/custom-marker.tool.mjs +0 -88
- package/esm2022/editor/tools/header.tool.mjs +0 -16
- package/esm2022/editor/tools/image.tool.mjs +0 -157
- package/esm2022/editor/tools/index.mjs +0 -12
- package/esm2022/editor/tools/italic.tool.mjs +0 -35
- package/esm2022/editor/tools/link-marker.tool.mjs +0 -80
- package/esm2022/editor/tools/list.tool.mjs +0 -10
- package/esm2022/editor/tools/marker.tool.mjs +0 -144
- package/esm2022/editor/tools/role-marker.tool.mjs +0 -17
- package/esm2022/editor/tools/selection-base.tool.mjs +0 -92
- package/esm2022/editor/tools/tool-marker.tool.mjs +0 -14
- package/esm2022/editor/tools/video.tool.mjs +0 -132
- package/esm2022/editor/utils/copy-text-to-clipboard.mjs +0 -17
- package/esm2022/editor/utils/create-link-modal.mjs +0 -22
- package/esm2022/editor/utils/create-tool-modal.mjs +0 -45
- package/esm2022/editor/utils/create-tools-data.mjs +0 -56
- package/esm2022/editor/utils/create-tooltip.mjs +0 -43
- package/esm2022/editor/utils/file-uploader.mjs +0 -60
- package/esm2022/editor/utils/generate-id.mjs +0 -4
- package/esm2022/editor/utils/index.mjs +0 -13
- package/esm2022/editor/utils/open-file-in-browser.mjs +0 -9
- package/esm2022/editor/utils/recalculate-indexes.mjs +0 -32
- package/esm2022/editor/utils/remove-element-tag-wrapper.mjs +0 -11
- package/esm2022/editor/utils/set-loading.mjs +0 -14
- package/esm2022/editor/utils/split-html.mjs +0 -128
- package/esm2022/editor/utils/url.validator.mjs +0 -12
- package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +0 -63
- package/esm2022/editor/widgets/editor-block/index.mjs +0 -2
- package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +0 -42
- package/esm2022/editor/widgets/editor-modal/index.mjs +0 -2
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +0 -36
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +0 -2
- package/esm2022/editor/widgets/editor-readonly/editor-resize-observer.directive.mjs +0 -51
- package/esm2022/editor/widgets/editor-readonly/index.mjs +0 -2
- package/esm2022/editor/widgets/index.mjs +0 -4
- package/esm2022/index.mjs +0 -12
- package/esm2022/interceptors/auth.interceptor.mjs +0 -15
- package/esm2022/interceptors/error-handler.interceptor.mjs +0 -23
- package/esm2022/interceptors/index.mjs +0 -5
- package/esm2022/interceptors/loader.interceptor.mjs +0 -12
- package/esm2022/interceptors/x-ndjson.interceptor.mjs +0 -48
- package/esm2022/interfaces/context-menu-item.mjs +0 -2
- package/esm2022/interfaces/error-notification-service.mjs +0 -2
- package/esm2022/interfaces/error-stategy.mjs +0 -2
- package/esm2022/interfaces/image.mjs +0 -2
- package/esm2022/interfaces/index.mjs +0 -6
- package/esm2022/interfaces/option.mjs +0 -2
- package/esm2022/operators/handle-error.mjs +0 -12
- package/esm2022/operators/index.mjs +0 -2
- package/esm2022/providers/auth.options.mjs +0 -3
- package/esm2022/providers/auth.provider.mjs +0 -31
- package/esm2022/providers/error-handler.options.mjs +0 -2
- package/esm2022/providers/error-handler.provider.mjs +0 -23
- package/esm2022/providers/index.mjs +0 -4
- package/esm2022/services/auth.service.mjs +0 -31
- package/esm2022/services/browser-auth.service.mjs +0 -31
- package/esm2022/services/error-resolver-factory.service.mjs +0 -75
- package/esm2022/services/global-handler-error.service.mjs +0 -26
- package/esm2022/services/index.mjs +0 -10
- package/esm2022/services/loader.options.mjs +0 -6
- package/esm2022/services/loader.service.mjs +0 -60
- package/esm2022/services/mobile-auth.service.mjs +0 -25
- package/esm2022/services/position.service.mjs +0 -23
- package/esm2022/services/theme.options.mjs +0 -6
- package/esm2022/services/theme.service.mjs +0 -30
- package/esm2022/services/token.options.mjs +0 -2
- package/esm2022/services/token.service.mjs +0 -121
- package/esm2022/services/visual-viewport.service.mjs +0 -28
- package/esm2022/tokens/animations-speed.mjs +0 -8
- package/esm2022/tokens/error-notification-service.mjs +0 -15
- package/esm2022/tokens/error-translation-prefix.mjs +0 -6
- package/esm2022/tokens/index.mjs +0 -6
- package/esm2022/tokens/reduced-motion.mjs +0 -5
- package/esm2022/tokens/viewport.mjs +0 -31
- package/esm2022/types/appearance.mjs +0 -2
- package/esm2022/types/button-theme.mjs +0 -2
- package/esm2022/types/hint-type.mjs +0 -2
- package/esm2022/types/index.mjs +0 -11
- package/esm2022/types/point.mjs +0 -2
- package/esm2022/types/portal-item.mjs +0 -2
- package/esm2022/types/position.mjs +0 -2
- package/esm2022/types/resizing.mjs +0 -2
- package/esm2022/types/shape.mjs +0 -2
- package/esm2022/types/size.mjs +0 -2
- package/esm2022/types/status.mjs +0 -2
- package/esm2022/utils/check-fixed-position.mjs +0 -7
- package/esm2022/utils/default-validators/create-default-validators.mjs +0 -19
- package/esm2022/utils/default-validators/create-default-validators.options.mjs +0 -2
- package/esm2022/utils/default-validators/extra-spaces.options.mjs +0 -11
- package/esm2022/utils/default-validators/extra-spaces.validators.mjs +0 -11
- package/esm2022/utils/default-validators/index.mjs +0 -2
- package/esm2022/utils/format/index.mjs +0 -3
- package/esm2022/utils/format/remove-spaces.mjs +0 -4
- package/esm2022/utils/format/replace.mjs +0 -5
- package/esm2022/utils/index.mjs +0 -5
- package/esm2022/utils/miscellaneous/index.mjs +0 -4
- package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
- package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -14
- package/esm2022/widgets/assets/constants/index.mjs +0 -2
- package/esm2022/widgets/assets/constants/translations.mjs +0 -5
- package/esm2022/widgets/assets/i18n/en.json +0 -45
- package/esm2022/widgets/assets/i18n/ru.json +0 -45
- package/esm2022/widgets/assets/index.mjs +0 -2
- package/esm2022/widgets/index.mjs +0 -5
- package/esm2022/widgets/model/circle-loader-size.type.mjs +0 -2
- package/esm2022/widgets/model/index.mjs +0 -11
- package/esm2022/widgets/model/resource-state-service.interface.mjs +0 -2
- package/esm2022/widgets/model/resource-state-service.token.mjs +0 -3
- package/esm2022/widgets/model/resources-block.options.mjs +0 -2
- package/esm2022/widgets/model/subject-modal-service.interface.mjs +0 -2
- package/esm2022/widgets/model/subject-modal-service.token.mjs +0 -3
- package/esm2022/widgets/model/used-elements-service.interface.mjs +0 -2
- package/esm2022/widgets/model/used-elements-service.token.mjs +0 -3
- package/esm2022/widgets/model/utility-service.interface.mjs +0 -2
- package/esm2022/widgets/model/utility-service.token.mjs +0 -3
- package/esm2022/widgets/service/index.mjs +0 -5
- package/esm2022/widgets/service/resource-state-base.service.mjs +0 -19
- package/esm2022/widgets/service/subject-modal-base.service.mjs +0 -15
- package/esm2022/widgets/service/used-elements-base.service.mjs +0 -17
- package/esm2022/widgets/service/utility-base.service.mjs +0 -129
- package/esm2022/widgets/ui/assignee-role-item/assignee-role-item.component.mjs +0 -31
- package/esm2022/widgets/ui/assignee-role-item/index.mjs +0 -2
- package/esm2022/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.mjs +0 -48
- package/esm2022/widgets/ui/assignee-roles-tabs/index.mjs +0 -2
- package/esm2022/widgets/ui/button-change-theme/button-change-theme.component.mjs +0 -27
- package/esm2022/widgets/ui/button-change-theme/index.mjs +0 -2
- package/esm2022/widgets/ui/categories/categories.component.mjs +0 -78
- package/esm2022/widgets/ui/categories/components/categories-list/categories-list.component.mjs +0 -17
- package/esm2022/widgets/ui/categories/components/categories-list/index.mjs +0 -2
- package/esm2022/widgets/ui/categories/components/category-form/category-form.component.mjs +0 -79
- package/esm2022/widgets/ui/categories/components/category-form/index.mjs +0 -2
- package/esm2022/widgets/ui/categories/components/category-item/category-item.component.mjs +0 -126
- package/esm2022/widgets/ui/categories/components/category-item/index.mjs +0 -2
- package/esm2022/widgets/ui/categories/components/create-category-item/create-category-item.component.mjs +0 -25
- package/esm2022/widgets/ui/categories/components/create-category-item/index.mjs +0 -2
- package/esm2022/widgets/ui/categories/components/index.mjs +0 -3
- package/esm2022/widgets/ui/categories/index.mjs +0 -3
- package/esm2022/widgets/ui/categories/services/index.mjs +0 -2
- package/esm2022/widgets/ui/categories/services/selected-category.service.mjs +0 -38
- package/esm2022/widgets/ui/checklist-block/checklist-block.component.mjs +0 -75
- package/esm2022/widgets/ui/checklist-block/checklist-block.options.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.mjs +0 -85
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +0 -133
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +0 -45
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +0 -35
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +0 -152
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +0 -282
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +0 -117
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.mjs +0 -39
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/components/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/index.mjs +0 -2
- package/esm2022/widgets/ui/checklist-block/services/checklist-block.service.mjs +0 -50
- package/esm2022/widgets/ui/checklist-block/services/index.mjs +0 -2
- package/esm2022/widgets/ui/circle-loader/circle-loader.component.mjs +0 -20
- package/esm2022/widgets/ui/circle-loader/index.mjs +0 -2
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.mjs +0 -78
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.mjs +0 -2
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/index.mjs +0 -3
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.mjs +0 -17
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.mjs +0 -2
- package/esm2022/widgets/ui/consumable-form/components/index.mjs +0 -4
- package/esm2022/widgets/ui/consumable-form/consumable-form.component.mjs +0 -184
- package/esm2022/widgets/ui/consumable-form/consumable-form.options.mjs +0 -2
- package/esm2022/widgets/ui/consumable-form/index.mjs +0 -2
- package/esm2022/widgets/ui/criterion-info/criterion-info.component.mjs +0 -137
- package/esm2022/widgets/ui/criterion-info/index.mjs +0 -2
- package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.component.mjs +0 -147
- package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.options.mjs +0 -2
- package/esm2022/widgets/ui/criterion-info-form/index.mjs +0 -2
- package/esm2022/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.mjs +0 -72
- package/esm2022/widgets/ui/criterion-readonly-info/index.mjs +0 -2
- package/esm2022/widgets/ui/delete-modal/delete-modal.component.mjs +0 -39
- package/esm2022/widgets/ui/delete-modal/delete-modal.options.mjs +0 -2
- package/esm2022/widgets/ui/delete-modal/index.mjs +0 -2
- package/esm2022/widgets/ui/framer-preview/framer-preview.component.mjs +0 -77
- package/esm2022/widgets/ui/framer-preview/framer-preview.options.mjs +0 -2
- package/esm2022/widgets/ui/framer-preview/index.mjs +0 -2
- package/esm2022/widgets/ui/general-control-error-hint/general-control-error-hint.component.mjs +0 -21
- package/esm2022/widgets/ui/general-control-error-hint/index.mjs +0 -2
- package/esm2022/widgets/ui/index.mjs +0 -30
- package/esm2022/widgets/ui/inserted/index.mjs +0 -2
- package/esm2022/widgets/ui/inserted/inserted.component.mjs +0 -17
- package/esm2022/widgets/ui/instruction-info/index.mjs +0 -2
- package/esm2022/widgets/ui/instruction-info/instruction-info.component.mjs +0 -147
- package/esm2022/widgets/ui/instruction-info-form/index.mjs +0 -2
- package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.component.mjs +0 -153
- package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.options.mjs +0 -2
- package/esm2022/widgets/ui/instruction-readonly-info/index.mjs +0 -2
- package/esm2022/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.mjs +0 -72
- package/esm2022/widgets/ui/linear-loader/index.mjs +0 -2
- package/esm2022/widgets/ui/linear-loader/linear-loader.component.mjs +0 -11
- package/esm2022/widgets/ui/modal-criteria-tab/index.mjs +0 -2
- package/esm2022/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.mjs +0 -45
- package/esm2022/widgets/ui/modal-divided-section/index.mjs +0 -3
- package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.component.mjs +0 -58
- package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.interfaces.mjs +0 -2
- package/esm2022/widgets/ui/modal-header/index.mjs +0 -2
- package/esm2022/widgets/ui/modal-header/modal-header.component.mjs +0 -31
- package/esm2022/widgets/ui/modal-header-inserted-buttons/index.mjs +0 -2
- package/esm2022/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.mjs +0 -22
- package/esm2022/widgets/ui/modal-header-tabs/index.mjs +0 -2
- package/esm2022/widgets/ui/modal-header-tabs/modal-header-tabs.component.mjs +0 -19
- package/esm2022/widgets/ui/modal-info-tab/index.mjs +0 -3
- package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.component.mjs +0 -19
- package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.options.mjs +0 -2
- package/esm2022/widgets/ui/modal-instructions-tab/index.mjs +0 -2
- package/esm2022/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.mjs +0 -31
- package/esm2022/widgets/ui/modal-operation-part/index.mjs +0 -2
- package/esm2022/widgets/ui/modal-operation-part/modal-operation-part.component.mjs +0 -119
- package/esm2022/widgets/ui/modal-resources-tab/index.mjs +0 -2
- package/esm2022/widgets/ui/modal-resources-tab/modal-resources-tab.component.mjs +0 -33
- package/esm2022/widgets/ui/render-dynamic-modal/index.mjs +0 -3
- package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.mjs +0 -29
- package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/index.mjs +0 -4
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/index.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.mjs +0 -53
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-block-content/index.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.mjs +0 -38
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/index.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.mjs +0 -57
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/index.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.mjs +0 -56
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.mjs +0 -10
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/index.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.mjs +0 -56
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-options/index.mjs +0 -2
- package/esm2022/widgets/ui/resources-block/components/resources-options/resources-options.component.mjs +0 -42
- package/esm2022/widgets/ui/resources-block/index.mjs +0 -3
- package/esm2022/widgets/ui/resources-block/resources-block.component.mjs +0 -137
- package/esm2022/widgets/ui/resources-block-tabs/index.mjs +0 -2
- package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.component.mjs +0 -57
- package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.options.mjs +0 -10
- package/esm2022/widgets/ui/select-modal/components/index.mjs +0 -3
- package/esm2022/widgets/ui/select-modal/components/select-modal-folder/index.mjs +0 -2
- package/esm2022/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.mjs +0 -21
- package/esm2022/widgets/ui/select-modal/components/select-modal-search/index.mjs +0 -2
- package/esm2022/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.mjs +0 -32
- package/esm2022/widgets/ui/select-modal/index.mjs +0 -4
- package/esm2022/widgets/ui/select-modal/select-modal.component.mjs +0 -35
- package/esm2022/widgets/ui/select-modal/select-modal.interfaces.mjs +0 -2
- package/esm2022/widgets/ui/select-modal/select-modal.service.mjs +0 -23
- package/esm2022/widgets/ui/stated-loader/index.mjs +0 -2
- package/esm2022/widgets/ui/stated-loader/stated-loader.component.mjs +0 -36
- package/esm2022/widgets/ui/storage-list/components/index.mjs +0 -2
- package/esm2022/widgets/ui/storage-list/components/storage-list-item/index.mjs +0 -2
- package/esm2022/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.mjs +0 -87
- package/esm2022/widgets/ui/storage-list/index.mjs +0 -3
- package/esm2022/widgets/ui/storage-list/storage-list.component.mjs +0 -17
- package/esm2022/widgets/ui/storage-list/storage-list.options.mjs +0 -3
- package/esm2022/widgets/ui/toolbox-form/components/index.mjs +0 -2
- package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/index.mjs +0 -2
- package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.mjs +0 -19
- package/esm2022/widgets/ui/toolbox-form/index.mjs +0 -3
- package/esm2022/widgets/ui/toolbox-form/tool-form.component.mjs +0 -106
- package/esm2022/widgets/ui/toolbox-form/tool-form.options.mjs +0 -2
- package/esm2022/widgets/ui/user-action-context-menu/activity-item/activity-item.component.mjs +0 -59
- package/esm2022/widgets/ui/user-action-context-menu/activity-item/index.mjs +0 -2
- package/esm2022/widgets/ui/user-action-context-menu/company-item/company-item.component.mjs +0 -67
- package/esm2022/widgets/ui/user-action-context-menu/company-item/index.mjs +0 -2
- package/esm2022/widgets/ui/user-action-context-menu/index.mjs +0 -4
- package/esm2022/widgets/ui/user-action-context-menu/services/activity-base.service.mjs +0 -32
- package/esm2022/widgets/ui/user-action-context-menu/services/activity.service.mjs +0 -35
- package/esm2022/widgets/ui/user-action-context-menu/services/index.mjs +0 -3
- package/esm2022/widgets/ui/user-action-context-menu/user-action-context-menu.component.mjs +0 -80
- package/esm2022/widgets/ui/user-action-context-menu/user-action-context.option.mjs +0 -3
- package/esm2022/widgets/ui/utility-info-readonly/index.mjs +0 -3
- package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.component.mjs +0 -94
- package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.options.mjs +0 -2
- package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +0 -41
- package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/index.mjs +0 -2
- package/esm2022/widgets/ui/utility-modal/components/index.mjs +0 -5
- package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/index.mjs +0 -2
- package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +0 -41
- package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/index.mjs +0 -2
- package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.mjs +0 -40
- package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/index.mjs +0 -2
- package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +0 -40
- package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/index.mjs +0 -2
- package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +0 -43
- package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/index.mjs +0 -2
- package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +0 -55
- package/esm2022/widgets/ui/utility-modal/index.mjs +0 -4
- package/esm2022/widgets/ui/utility-modal/utility-modal.component.mjs +0 -22
- package/esm2022/widgets/ui/utility-modal/utility-modal.options.mjs +0 -3
- package/esm2022/widgets/ui/utility-readonly-thumbnail/index.mjs +0 -2
- package/esm2022/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +0 -15
- package/esm2022/widgets/ui/utility-thumbnail/index.mjs +0 -2
- package/esm2022/widgets/ui/utility-thumbnail/utility-thumbnail.component.mjs +0 -95
- package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs +0 -91
- package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs.map +0 -1
- package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs +0 -29
- package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs.map +0 -1
- package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs +0 -91
- package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs.map +0 -1
- package/fesm2022/cuby-ui-core.mjs +0 -12165
- package/fesm2022/cuby-ui-core.mjs.map +0 -1
- package/fonts/Inter-Bold.eot +0 -0
- package/fonts/Inter-Bold.otf +0 -0
- package/fonts/Inter-Bold.svg +0 -25443
- 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 +0 -25400
- 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 +0 -24341
- 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 +0 -25459
- 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 +0 -9508
- 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 +0 -11
- package/interceptors/auth.interceptor.d.ts +0 -2
- package/interceptors/error-handler.interceptor.d.ts +0 -2
- package/interceptors/index.d.ts +0 -4
- package/interceptors/loader.interceptor.d.ts +0 -2
- package/interceptors/x-ndjson.interceptor.d.ts +0 -2
- package/interfaces/context-menu-item.d.ts +0 -7
- package/interfaces/error-notification-service.d.ts +0 -3
- package/interfaces/error-stategy.d.ts +0 -3
- package/interfaces/image.d.ts +0 -5
- package/interfaces/index.d.ts +0 -5
- package/interfaces/option.d.ts +0 -5
- package/operators/handle-error.d.ts +0 -2
- package/operators/index.d.ts +0 -1
- package/providers/auth.options.d.ts +0 -15
- package/providers/auth.provider.d.ts +0 -3
- package/providers/error-handler.options.d.ts +0 -6
- package/providers/error-handler.provider.d.ts +0 -3
- package/providers/index.d.ts +0 -4
- package/services/auth.service.d.ts +0 -8
- package/services/browser-auth.service.d.ts +0 -10
- package/services/error-resolver-factory.service.d.ts +0 -10
- package/services/global-handler-error.service.d.ts +0 -10
- package/services/index.d.ts +0 -9
- package/services/loader.options.d.ts +0 -7
- package/services/loader.service.d.ts +0 -21
- package/services/mobile-auth.service.d.ts +0 -8
- package/services/position.service.d.ts +0 -10
- package/services/theme.options.d.ts +0 -5
- package/services/theme.service.d.ts +0 -12
- package/services/token.options.d.ts +0 -31
- package/services/token.service.d.ts +0 -26
- package/services/visual-viewport.service.d.ts +0 -9
- package/styles/direcive/flex-container.scss +0 -3
- package/styles/fonts.scss +0 -69
- package/styles/global.scss +0 -10
- package/styles/mixins/buttons.scss +0 -13
- package/styles/mixins/flex.scss +0 -21
- package/styles/mixins/headings.scss +0 -115
- package/styles/mixins/inputs.scss +0 -91
- package/styles/mixins/lists.scss +0 -41
- package/styles/mixins/paddings.scss +0 -35
- package/styles/mixins/shadows.scss +0 -42
- package/styles/mixins/texts.scss +0 -224
- package/styles/reset.scss +0 -111
- package/styles/theme.scss +0 -427
- package/styles/variables/colors.scss +0 -288
- package/styles/variables/fonts.scss +0 -2
- package/tokens/animations-speed.d.ts +0 -4
- package/tokens/error-notification-service.d.ts +0 -3
- package/tokens/error-translation-prefix.d.ts +0 -2
- package/tokens/index.d.ts +0 -5
- package/tokens/reduced-motion.d.ts +0 -1
- package/tokens/viewport.d.ts +0 -7
- package/types/appearance.d.ts +0 -11
- package/types/button-theme.d.ts +0 -5
- package/types/hint-type.d.ts +0 -1
- package/types/index.d.ts +0 -10
- package/types/point.d.ts +0 -1
- package/types/portal-item.d.ts +0 -9
- package/types/position.d.ts +0 -2
- package/types/resizing.d.ts +0 -3
- package/types/shape.d.ts +0 -1
- package/types/size.d.ts +0 -6
- package/types/status.d.ts +0 -1
- package/utils/check-fixed-position.d.ts +0 -1
- package/utils/default-validators/create-default-validators.d.ts +0 -5
- package/utils/default-validators/create-default-validators.options.d.ts +0 -5
- package/utils/default-validators/extra-spaces.options.d.ts +0 -2
- package/utils/default-validators/extra-spaces.validators.d.ts +0 -3
- package/utils/default-validators/index.d.ts +0 -2
- package/utils/format/index.d.ts +0 -2
- package/utils/format/remove-spaces.d.ts +0 -1
- package/utils/format/replace.d.ts +0 -1
- package/utils/index.d.ts +0 -4
- package/utils/miscellaneous/index.d.ts +0 -3
- package/utils/miscellaneous/is-obscured.d.ts +0 -4
- package/utils/miscellaneous/override-options.d.ts +0 -1
- package/utils/miscellaneous/to-animation-options.d.ts +0 -4
- package/widgets/assets/constants/index.d.ts +0 -1
- package/widgets/assets/constants/translations.d.ts +0 -2
- package/widgets/assets/index.d.ts +0 -1
- package/widgets/index.d.ts +0 -4
- package/widgets/model/circle-loader-size.type.d.ts +0 -2
- package/widgets/model/index.d.ts +0 -10
- package/widgets/model/resource-state-service.interface.d.ts +0 -4
- package/widgets/model/resource-state-service.token.d.ts +0 -3
- package/widgets/model/resources-block.options.d.ts +0 -15
- package/widgets/model/subject-modal-service.interface.d.ts +0 -7
- package/widgets/model/subject-modal-service.token.d.ts +0 -3
- package/widgets/model/used-elements-service.interface.d.ts +0 -5
- package/widgets/model/used-elements-service.token.d.ts +0 -3
- package/widgets/model/utility-service.interface.d.ts +0 -23
- package/widgets/model/utility-service.token.d.ts +0 -3
- package/widgets/service/index.d.ts +0 -4
- package/widgets/service/resource-state-base.service.d.ts +0 -10
- package/widgets/service/subject-modal-base.service.d.ts +0 -11
- package/widgets/service/used-elements-base.service.d.ts +0 -11
- package/widgets/service/utility-base.service.d.ts +0 -29
- package/widgets/ui/assignee-role-item/assignee-role-item.component.d.ts +0 -12
- package/widgets/ui/assignee-role-item/index.d.ts +0 -1
- package/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.d.ts +0 -18
- package/widgets/ui/assignee-roles-tabs/index.d.ts +0 -1
- package/widgets/ui/button-change-theme/button-change-theme.component.d.ts +0 -9
- package/widgets/ui/button-change-theme/index.d.ts +0 -1
- package/widgets/ui/categories/categories.component.d.ts +0 -25
- package/widgets/ui/categories/components/categories-list/categories-list.component.d.ts +0 -8
- package/widgets/ui/categories/components/categories-list/index.d.ts +0 -1
- package/widgets/ui/categories/components/category-form/category-form.component.d.ts +0 -28
- package/widgets/ui/categories/components/category-form/index.d.ts +0 -1
- package/widgets/ui/categories/components/category-item/category-item.component.d.ts +0 -42
- package/widgets/ui/categories/components/category-item/index.d.ts +0 -1
- package/widgets/ui/categories/components/create-category-item/create-category-item.component.d.ts +0 -10
- package/widgets/ui/categories/components/create-category-item/index.d.ts +0 -1
- package/widgets/ui/categories/components/index.d.ts +0 -2
- package/widgets/ui/categories/index.d.ts +0 -2
- package/widgets/ui/categories/services/index.d.ts +0 -1
- package/widgets/ui/categories/services/selected-category.service.d.ts +0 -18
- package/widgets/ui/checklist-block/checklist-block.component.d.ts +0 -21
- package/widgets/ui/checklist-block/checklist-block.options.d.ts +0 -12
- package/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.d.ts +0 -27
- package/widgets/ui/checklist-block/components/checklist-block-list/index.d.ts +0 -1
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.d.ts +0 -30
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.d.ts +0 -1
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.d.ts +0 -11
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.d.ts +0 -1
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.d.ts +0 -10
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.d.ts +0 -1
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.d.ts +0 -41
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +0 -5
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.d.ts +0 -1
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.d.ts +0 -51
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.d.ts +0 -14
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.d.ts +0 -2
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.d.ts +0 -33
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.d.ts +0 -4
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.d.ts +0 -1
- package/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.d.ts +0 -8
- package/widgets/ui/checklist-block/components/checklist-block-title-control/index.d.ts +0 -1
- package/widgets/ui/checklist-block/components/index.d.ts +0 -1
- package/widgets/ui/checklist-block/index.d.ts +0 -1
- package/widgets/ui/checklist-block/services/checklist-block.service.d.ts +0 -19
- package/widgets/ui/checklist-block/services/index.d.ts +0 -1
- package/widgets/ui/circle-loader/circle-loader.component.d.ts +0 -8
- package/widgets/ui/circle-loader/index.d.ts +0 -1
- package/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.d.ts +0 -31
- package/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.d.ts +0 -1
- package/widgets/ui/consumable-form/components/consumable-form-item/index.d.ts +0 -2
- package/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.d.ts +0 -8
- package/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.d.ts +0 -1
- package/widgets/ui/consumable-form/components/index.d.ts +0 -3
- package/widgets/ui/consumable-form/consumable-form.component.d.ts +0 -46
- package/widgets/ui/consumable-form/consumable-form.options.d.ts +0 -22
- package/widgets/ui/consumable-form/index.d.ts +0 -1
- package/widgets/ui/criterion-info/criterion-info.component.d.ts +0 -43
- package/widgets/ui/criterion-info/index.d.ts +0 -1
- package/widgets/ui/criterion-info-form/criterion-info-form.component.d.ts +0 -39
- package/widgets/ui/criterion-info-form/criterion-info-form.options.d.ts +0 -7
- package/widgets/ui/criterion-info-form/index.d.ts +0 -2
- package/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.d.ts +0 -26
- package/widgets/ui/criterion-readonly-info/index.d.ts +0 -1
- package/widgets/ui/delete-modal/delete-modal.component.d.ts +0 -13
- package/widgets/ui/delete-modal/delete-modal.options.d.ts +0 -7
- package/widgets/ui/delete-modal/index.d.ts +0 -2
- package/widgets/ui/framer-preview/framer-preview.component.d.ts +0 -26
- package/widgets/ui/framer-preview/framer-preview.options.d.ts +0 -5
- package/widgets/ui/framer-preview/index.d.ts +0 -2
- package/widgets/ui/general-control-error-hint/general-control-error-hint.component.d.ts +0 -9
- package/widgets/ui/general-control-error-hint/index.d.ts +0 -1
- package/widgets/ui/index.d.ts +0 -29
- package/widgets/ui/inserted/index.d.ts +0 -1
- package/widgets/ui/inserted/inserted.component.d.ts +0 -5
- package/widgets/ui/instruction-info/index.d.ts +0 -1
- package/widgets/ui/instruction-info/instruction-info.component.d.ts +0 -45
- package/widgets/ui/instruction-info-form/index.d.ts +0 -2
- package/widgets/ui/instruction-info-form/instruction-info-form.component.d.ts +0 -43
- package/widgets/ui/instruction-info-form/instruction-info-form.options.d.ts +0 -9
- package/widgets/ui/instruction-readonly-info/index.d.ts +0 -1
- package/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.d.ts +0 -26
- package/widgets/ui/linear-loader/index.d.ts +0 -1
- package/widgets/ui/linear-loader/linear-loader.component.d.ts +0 -5
- package/widgets/ui/modal-criteria-tab/index.d.ts +0 -1
- package/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.d.ts +0 -15
- package/widgets/ui/modal-divided-section/index.d.ts +0 -2
- package/widgets/ui/modal-divided-section/modal-divided-section.component.d.ts +0 -22
- package/widgets/ui/modal-divided-section/modal-divided-section.interfaces.d.ts +0 -6
- package/widgets/ui/modal-header/index.d.ts +0 -1
- package/widgets/ui/modal-header/modal-header.component.d.ts +0 -12
- package/widgets/ui/modal-header-inserted-buttons/index.d.ts +0 -1
- package/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.d.ts +0 -7
- package/widgets/ui/modal-header-tabs/index.d.ts +0 -1
- package/widgets/ui/modal-header-tabs/modal-header-tabs.component.d.ts +0 -8
- package/widgets/ui/modal-info-tab/index.d.ts +0 -2
- package/widgets/ui/modal-info-tab/modal-info-tab.component.d.ts +0 -8
- package/widgets/ui/modal-info-tab/modal-info-tab.options.d.ts +0 -4
- package/widgets/ui/modal-instructions-tab/index.d.ts +0 -1
- package/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.d.ts +0 -15
- package/widgets/ui/modal-operation-part/index.d.ts +0 -1
- package/widgets/ui/modal-operation-part/modal-operation-part.component.d.ts +0 -26
- package/widgets/ui/modal-resources-tab/index.d.ts +0 -1
- package/widgets/ui/modal-resources-tab/modal-resources-tab.component.d.ts +0 -14
- package/widgets/ui/render-dynamic-modal/index.d.ts +0 -2
- package/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.d.ts +0 -11
- package/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.d.ts +0 -5
- package/widgets/ui/resources-block/components/index.d.ts +0 -5
- package/widgets/ui/resources-block/components/resources-block-consumables/index.d.ts +0 -2
- package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.d.ts +0 -17
- package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.d.ts +0 -7
- package/widgets/ui/resources-block/components/resources-block-content/index.d.ts +0 -1
- package/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.d.ts +0 -19
- package/widgets/ui/resources-block/components/resources-block-part/index.d.ts +0 -1
- package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.d.ts +0 -19
- package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.d.ts +0 -5
- package/widgets/ui/resources-block/components/resources-block-tabs/index.d.ts +0 -1
- package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.d.ts +0 -28
- package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.d.ts +0 -13
- package/widgets/ui/resources-block/components/resources-block-toolbox/index.d.ts +0 -2
- package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.d.ts +0 -17
- package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.d.ts +0 -5
- package/widgets/ui/resources-block/components/resources-options/index.d.ts +0 -1
- package/widgets/ui/resources-block/components/resources-options/resources-options.component.d.ts +0 -20
- package/widgets/ui/resources-block/index.d.ts +0 -2
- package/widgets/ui/resources-block/resources-block.component.d.ts +0 -35
- package/widgets/ui/resources-block-tabs/index.d.ts +0 -1
- package/widgets/ui/resources-block-tabs/resources-block-tabs.component.d.ts +0 -28
- package/widgets/ui/resources-block-tabs/resources-block-tabs.options.d.ts +0 -14
- package/widgets/ui/select-modal/components/index.d.ts +0 -2
- package/widgets/ui/select-modal/components/select-modal-folder/index.d.ts +0 -1
- package/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.d.ts +0 -10
- package/widgets/ui/select-modal/components/select-modal-search/index.d.ts +0 -1
- package/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.d.ts +0 -12
- package/widgets/ui/select-modal/index.d.ts +0 -4
- package/widgets/ui/select-modal/select-modal.component.d.ts +0 -13
- package/widgets/ui/select-modal/select-modal.interfaces.d.ts +0 -15
- package/widgets/ui/select-modal/select-modal.service.d.ts +0 -13
- package/widgets/ui/stated-loader/index.d.ts +0 -1
- package/widgets/ui/stated-loader/stated-loader.component.d.ts +0 -20
- package/widgets/ui/storage-list/components/index.d.ts +0 -1
- package/widgets/ui/storage-list/components/storage-list-item/index.d.ts +0 -1
- package/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.d.ts +0 -24
- package/widgets/ui/storage-list/index.d.ts +0 -2
- package/widgets/ui/storage-list/storage-list.component.d.ts +0 -10
- package/widgets/ui/storage-list/storage-list.options.d.ts +0 -16
- package/widgets/ui/toolbox-form/components/index.d.ts +0 -1
- package/widgets/ui/toolbox-form/components/tool-form-readonly/index.d.ts +0 -1
- package/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.d.ts +0 -7
- package/widgets/ui/toolbox-form/index.d.ts +0 -2
- package/widgets/ui/toolbox-form/tool-form.component.d.ts +0 -34
- package/widgets/ui/toolbox-form/tool-form.options.d.ts +0 -5
- package/widgets/ui/user-action-context-menu/activity-item/activity-item.component.d.ts +0 -16
- package/widgets/ui/user-action-context-menu/activity-item/index.d.ts +0 -1
- package/widgets/ui/user-action-context-menu/company-item/company-item.component.d.ts +0 -20
- package/widgets/ui/user-action-context-menu/company-item/index.d.ts +0 -1
- package/widgets/ui/user-action-context-menu/index.d.ts +0 -3
- package/widgets/ui/user-action-context-menu/services/activity-base.service.d.ts +0 -14
- package/widgets/ui/user-action-context-menu/services/activity.service.d.ts +0 -14
- package/widgets/ui/user-action-context-menu/services/index.d.ts +0 -2
- package/widgets/ui/user-action-context-menu/user-action-context-menu.component.d.ts +0 -25
- package/widgets/ui/user-action-context-menu/user-action-context.option.d.ts +0 -15
- package/widgets/ui/utility-info-readonly/index.d.ts +0 -2
- package/widgets/ui/utility-info-readonly/utility-info-readonly.component.d.ts +0 -29
- package/widgets/ui/utility-info-readonly/utility-info-readonly.options.d.ts +0 -4
- package/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.d.ts +0 -18
- package/widgets/ui/utility-modal/components/criterion-modal-create/index.d.ts +0 -1
- package/widgets/ui/utility-modal/components/index.d.ts +0 -4
- package/widgets/ui/utility-modal/components/instruction-modal-create/index.d.ts +0 -1
- package/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.d.ts +0 -18
- package/widgets/ui/utility-modal/components/readonly-criterion-modal/index.d.ts +0 -1
- package/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.d.ts +0 -16
- package/widgets/ui/utility-modal/components/readonly-instruction-modal/index.d.ts +0 -1
- package/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.d.ts +0 -16
- package/widgets/ui/utility-modal/components/readonly-utility-modal/index.d.ts +0 -1
- package/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.d.ts +0 -18
- package/widgets/ui/utility-modal/components/utility-modal-create/index.d.ts +0 -1
- package/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +0 -25
- package/widgets/ui/utility-modal/index.d.ts +0 -3
- package/widgets/ui/utility-modal/utility-modal.component.d.ts +0 -10
- package/widgets/ui/utility-modal/utility-modal.options.d.ts +0 -12
- package/widgets/ui/utility-readonly-thumbnail/index.d.ts +0 -1
- package/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.d.ts +0 -8
- package/widgets/ui/utility-thumbnail/index.d.ts +0 -1
- package/widgets/ui/utility-thumbnail/utility-thumbnail.component.d.ts +0 -21
package/README.md
CHANGED
|
@@ -1,25 +1,806 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Cuby UI - агентская документация (RU)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Документ для кодовых агентов. Описывает публичный API пакета `@cuby-ui/core`, а также примеры использования.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Критически важно:
|
|
6
|
+
- Оверлеи (`cui-dialogs`, `cui-alerts`, `cui-select`, `cui-context-menu`) требуют наличия `cui-root` в DOM.
|
|
7
|
+
- `open()` у `CuiAlertService` и `CuiDialogService` выполняется только после подписки на Observable.
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
## Оглавление
|
|
10
|
+
- [Компоненты (Core)](#компоненты-core)
|
|
11
|
+
- [Директивы (Core)](#директивы-core)
|
|
12
|
+
- [Сервисы (Core)](#сервисы-core)
|
|
13
|
+
- [Интерфейсы и типы (Core)](#интерфейсы-и-типы-core)
|
|
14
|
+
- [Утилиты (Core)](#утилиты-core)
|
|
15
|
+
- [Темы и стили](#темы-и-стили)
|
|
16
|
+
- [Рецепты (How-to)](#рецепты-how-to)
|
|
17
|
+
- [Анти-паттерны](#анти-паттерны)
|
|
18
|
+
- [FAQ / типовые ошибки](#faq--типовые-ошибки)
|
|
19
|
+
- [Структура репозитория](#структура-репозитория)
|
|
20
|
+
- [Линт и форматирование](#линт-и-форматирование)
|
|
21
|
+
- [Версии и совместимость](#версии-и-совместимость)
|
|
8
22
|
|
|
9
|
-
|
|
23
|
+
## Компоненты (Core)
|
|
10
24
|
|
|
11
|
-
|
|
25
|
+
### Feature: CuiAccordionComponent (`cui-accordion`)
|
|
26
|
+
Описание: контейнер для набора `cui-accordion-item`, управляет только разметкой.
|
|
27
|
+
Публичный API:
|
|
28
|
+
- Модуль: `CuiAccordionModule`
|
|
29
|
+
- Inputs: нет
|
|
30
|
+
- Outputs: нет
|
|
31
|
+
Пример:
|
|
32
|
+
```html
|
|
33
|
+
<cui-accordion>
|
|
34
|
+
<cui-accordion-item>Заголовок
|
|
35
|
+
<ng-container cuiAccordionItemContent>Контент</ng-container>
|
|
36
|
+
</cui-accordion-item>
|
|
37
|
+
</cui-accordion>
|
|
38
|
+
```
|
|
12
39
|
|
|
13
|
-
|
|
40
|
+
### Feature: CuiAccordionItemComponent (`cui-accordion-item`)
|
|
41
|
+
Описание: элемент аккордеона с кнопкой переключения и скрываемым контентом.
|
|
42
|
+
Публичный API:
|
|
43
|
+
- Модуль: `CuiAccordionModule`
|
|
44
|
+
- Inputs: `isOpen: boolean` (по умолчанию `true`)
|
|
45
|
+
- Outputs: `isOpenChange: EventEmitter<boolean>`
|
|
46
|
+
- Контент: тело передается через `cuiAccordionItemContent`
|
|
47
|
+
Пример:
|
|
48
|
+
```html
|
|
49
|
+
<cui-accordion-item [(isOpen)]="isOpen">
|
|
50
|
+
Заголовок
|
|
51
|
+
<ng-container cuiAccordionItemContent>Тело</ng-container>
|
|
52
|
+
</cui-accordion-item>
|
|
53
|
+
```
|
|
14
54
|
|
|
15
|
-
|
|
55
|
+
### Feature: CuiAlertService
|
|
56
|
+
Описание: сервис для показа алертов поверх UI, построен на `CuiPopoverService`.
|
|
57
|
+
Публичный API:
|
|
58
|
+
- Методы: `open(content: string, options?: Partial<CuiAlertOptions>)`, `closeAll()`
|
|
59
|
+
- Опции: `label`, `needAutoClose`, `isCloseable`, `position`, `resizing`, `status`, `mode`
|
|
60
|
+
- Типы: `CuiAlertOptions`, `CuiAlertPosition`, `CuiAlertResizing`
|
|
61
|
+
- Константы/токены: `CUI_ALERT_DEFAULT_OPTIONS`, `CUI_ALERT_OPTIONS`, `CUI_ALERTS`, `CUI_ALERT_CONTEXT`
|
|
62
|
+
Пример:
|
|
63
|
+
```ts
|
|
64
|
+
const alerts = inject(CuiAlertService);
|
|
16
65
|
|
|
17
|
-
|
|
66
|
+
alerts.open('Задача создана', {
|
|
67
|
+
status: 'success',
|
|
68
|
+
label: 'Готово',
|
|
69
|
+
position: 'right',
|
|
70
|
+
}).subscribe();
|
|
71
|
+
```
|
|
72
|
+
Пример (переопределение дефолтов):
|
|
73
|
+
```ts
|
|
74
|
+
providers: [
|
|
75
|
+
{ provide: CUI_ALERT_OPTIONS, useValue: { position: 'center', needAutoClose: false } }
|
|
76
|
+
]
|
|
77
|
+
```
|
|
18
78
|
|
|
19
|
-
|
|
79
|
+
### Feature: CuiAlertsComponent (`cui-alerts`)
|
|
80
|
+
Описание: контейнер для отрисовки списка алертов. Обычно не нужен напрямую, используется в `cui-root`.
|
|
81
|
+
Публичный API:
|
|
82
|
+
- Модуль: `CuiAlertModule`
|
|
83
|
+
- Inputs/Outputs: нет
|
|
84
|
+
Пример:
|
|
85
|
+
```html
|
|
86
|
+
<cui-alerts></cui-alerts>
|
|
87
|
+
```
|
|
20
88
|
|
|
21
|
-
|
|
89
|
+
### Feature: CuiAlertComponent (`cui-alert`)
|
|
90
|
+
Описание: рендер одного алерта, требует `CUI_ALERT_CONTEXT`. Обычно используется только контейнером.
|
|
91
|
+
Публичный API:
|
|
92
|
+
- Модуль: `CuiAlertModule`
|
|
93
|
+
- Inputs/Outputs: нет
|
|
94
|
+
Пример:
|
|
95
|
+
```ts
|
|
96
|
+
providers: [{ provide: CUI_ALERT_CONTEXT, useValue: alertContext }]
|
|
97
|
+
```
|
|
22
98
|
|
|
23
|
-
|
|
99
|
+
### Feature: CuiBadgeComponent (`cui-badge`)
|
|
100
|
+
Описание: бейдж с цветом, размером и опциональной точкой.
|
|
101
|
+
Публичный API:
|
|
102
|
+
- Модуль: `CuiBadgeModule`
|
|
103
|
+
- Inputs: `color`, `size`, `isWithDot`
|
|
104
|
+
- `color`: `light-blue | yellow | green | gray | dark-gray | red | violet`
|
|
105
|
+
- `size`: `sm | md`
|
|
106
|
+
Пример:
|
|
107
|
+
```html
|
|
108
|
+
<cui-badge color="green" size="md" [isWithDot]="true">Online</cui-badge>
|
|
109
|
+
```
|
|
24
110
|
|
|
25
|
-
|
|
111
|
+
### Feature: CuiBannerComponent (`cui-banner`)
|
|
112
|
+
Описание: баннер для статуса/уведомлений с действием и закрытием.
|
|
113
|
+
Публичный API:
|
|
114
|
+
- Модуль: `CuiBannerModule`
|
|
115
|
+
- Inputs: `status`, `isCloseable`, `label`, `actionButtonText`
|
|
116
|
+
- Outputs: `actionButtonClicked`, `closed`
|
|
117
|
+
- Типы: `CuiBannerOptions`, `CuiBannerIconOptions`
|
|
118
|
+
- Константы/токены: `CUI_BANNER_DEFAULT_OPTIONS`, `CUI_BANNER_OPTIONS`
|
|
119
|
+
Пример:
|
|
120
|
+
```html
|
|
121
|
+
<cui-banner
|
|
122
|
+
label="Сохранено"
|
|
123
|
+
status="success"
|
|
124
|
+
actionButtonText="Отменить"
|
|
125
|
+
(actionButtonClicked)="onUndo()"
|
|
126
|
+
(closed)="onDismiss()"
|
|
127
|
+
>
|
|
128
|
+
Запись обновлена
|
|
129
|
+
</cui-banner>
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Feature: CuiBreadcrumbsComponent (`cui-breadcrumbs`)
|
|
133
|
+
Описание: контейнер хлебных крошек, использует `*cuiItem`.
|
|
134
|
+
Публичный API:
|
|
135
|
+
- Модуль: `CuiBreadcrumbsModule`
|
|
136
|
+
- Inputs/Outputs: нет
|
|
137
|
+
Пример:
|
|
138
|
+
```html
|
|
139
|
+
<cui-breadcrumbs>
|
|
140
|
+
<a cuiBreadcrumb *cuiItem>Главная</a>
|
|
141
|
+
<a cuiBreadcrumb *cuiItem>Каталог</a>
|
|
142
|
+
<a cuiBreadcrumb *cuiItem>Товар</a>
|
|
143
|
+
</cui-breadcrumbs>
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Feature: CuiBreadcrumbComponent (`[cuiBreadcrumb]`)
|
|
147
|
+
Описание: элемент хлебных крошек (обычно `a`), стиль задается директивой.
|
|
148
|
+
Публичный API:
|
|
149
|
+
- Модуль: `CuiBreadcrumbsModule`
|
|
150
|
+
- Inputs: `isLast: boolean` (если нужно вручную пометить последний)
|
|
151
|
+
Пример:
|
|
152
|
+
```html
|
|
153
|
+
<a cuiBreadcrumb *cuiItem [isLast]="true">Текущая</a>
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### Feature: CuiButtonComponent (`button[cuiButton], a[cuiButton]`)
|
|
157
|
+
Описание: кнопка с набором appearance/size/shape и иконками.
|
|
158
|
+
Публичный API:
|
|
159
|
+
- Модуль: `CuiButtonModule`
|
|
160
|
+
- Inputs: `appearance`, `size`, `shape`, `disabled`, `isLoaderShown`, `icon`, `iconRight`
|
|
161
|
+
- `appearance`: `action | secondary | outlined | outlined-gray | ghost | flat | destructive | link`
|
|
162
|
+
- `size`: `xxs | xs | sm | md`
|
|
163
|
+
- Типы: `CuiButtonOptions`
|
|
164
|
+
- Константы/токены: `CUI_BUTTON_DEFAULT_OPTIONS`, `CUI_BUTTON_OPTIONS`
|
|
165
|
+
Пример:
|
|
166
|
+
```html
|
|
167
|
+
<button
|
|
168
|
+
cuiButton
|
|
169
|
+
appearance="secondary"
|
|
170
|
+
size="sm"
|
|
171
|
+
icon="cuiIconPlus"
|
|
172
|
+
[isLoaderShown]="isSaving"
|
|
173
|
+
>
|
|
174
|
+
Создать
|
|
175
|
+
</button>
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Feature: CuiButtonGroupComponent (`cui-button-group`)
|
|
179
|
+
Описание: группировка кнопок `cuiButton` в одну линию.
|
|
180
|
+
Публичный API:
|
|
181
|
+
- Модуль: `CuiButtonGroupModule`
|
|
182
|
+
- Inputs/Outputs: нет
|
|
183
|
+
Пример:
|
|
184
|
+
```html
|
|
185
|
+
<cui-button-group>
|
|
186
|
+
<button cuiButton icon="cuiIconPlus"></button>
|
|
187
|
+
<button cuiButton icon="cuiIconCheck"></button>
|
|
188
|
+
</cui-button-group>
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Feature: CuiCheckboxComponent (`input[type="checkbox"][cuiCheckbox]`)
|
|
192
|
+
Описание: стилизованный checkbox, логика остается нативной.
|
|
193
|
+
Публичный API:
|
|
194
|
+
- Модуль: `CuiCheckboxModule`
|
|
195
|
+
- Inputs/Outputs: нет
|
|
196
|
+
Пример:
|
|
197
|
+
```html
|
|
198
|
+
<input cuiCheckbox type="checkbox" [formControl]="flagControl">
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Feature: CuiContextMenuComponent (`cui-context-menu[items][target]`)
|
|
202
|
+
Описание: контекстное меню, привязанное к `target`, рендерится в `cui-root`.
|
|
203
|
+
Публичный API:
|
|
204
|
+
- Модуль: `CuiContextMenuModule`
|
|
205
|
+
- Inputs: `items: CuiContextMenuItem[]`, `target: HTMLElement`
|
|
206
|
+
Пример:
|
|
207
|
+
```html
|
|
208
|
+
<button cuiButton cuiElement #btn="elementRef">...</button>
|
|
209
|
+
<cui-context-menu [target]="btn.nativeElement" [items]="menuItems"></cui-context-menu>
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Feature: CuiDialogService
|
|
213
|
+
Описание: сервис модальных диалогов. Контент может быть компонентом, шаблоном или строкой.
|
|
214
|
+
Публичный API:
|
|
215
|
+
- Методы: `open(content, options?)`, `closeAll()`
|
|
216
|
+
- Опции: `size: 'xl' | 'auto'`, `data`, `dismissible`, `injector`
|
|
217
|
+
- Типы: `CuiDialogOptions`, `CuiDialogContext`, `CuiDialogSize`
|
|
218
|
+
- Константы/токены: `CUI_DIALOG_DEFAULT_OPTIONS`, `CUI_DIALOG_OPTIONS`, `CUI_DIALOGS`, `CUI_DIALOG_CONTEXT`
|
|
219
|
+
Пример:
|
|
220
|
+
```ts
|
|
221
|
+
const dialogs = inject(CuiDialogService);
|
|
222
|
+
|
|
223
|
+
dialogs.open(ModalComponent, { size: 'xl', data: { id: 123 } })
|
|
224
|
+
.subscribe(result => console.log(result));
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
### Feature: CuiDialogsComponent (`cui-dialogs`)
|
|
228
|
+
Описание: контейнер для всех открытых диалогов. Обычно используется через `cui-root`.
|
|
229
|
+
Публичный API:
|
|
230
|
+
- Модуль: `CuiDialogModule`
|
|
231
|
+
- Inputs/Outputs: нет
|
|
232
|
+
Пример:
|
|
233
|
+
```html
|
|
234
|
+
<cui-dialogs></cui-dialogs>
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Feature: CuiDialogComponent (`cui-dialog`)
|
|
238
|
+
Описание: базовый компонент диалога, получает контекст из `CUI_DIALOG_CONTEXT`.
|
|
239
|
+
Публичный API:
|
|
240
|
+
- Модуль: `CuiDialogModule`
|
|
241
|
+
- Inputs/Outputs: нет
|
|
242
|
+
Пример:
|
|
243
|
+
```ts
|
|
244
|
+
const context = inject<CuiDialogContext<MyData>>(CUI_DIALOG_CONTEXT);
|
|
245
|
+
context.completeWith({ ok: true });
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Feature: CuiDialogHeaderComponent (`header[cuiDialogHeader][heading]`)
|
|
249
|
+
Описание: шапка диалога с заголовком (Polymorpheus) и кнопкой закрытия.
|
|
250
|
+
Публичный API:
|
|
251
|
+
- Модуль: `CuiDialogModule`
|
|
252
|
+
- Inputs: `heading`, `headingContext`, `subheading`
|
|
253
|
+
- Outputs: `closed`
|
|
254
|
+
Пример:
|
|
255
|
+
```html
|
|
256
|
+
<header
|
|
257
|
+
cuiDialogHeader
|
|
258
|
+
[heading]="'Редактирование'"
|
|
259
|
+
[subheading]="'Поля обязательны'"
|
|
260
|
+
(closed)="context.completeWith()"
|
|
261
|
+
></header>
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### Feature: CuiDialogActionsComponent (`cui-dialog-actions`)
|
|
265
|
+
Описание: контейнер для футера/кнопок диалога.
|
|
266
|
+
Публичный API:
|
|
267
|
+
- Модуль: `CuiDialogModule`
|
|
268
|
+
- Inputs/Outputs: нет
|
|
269
|
+
Пример:
|
|
270
|
+
```html
|
|
271
|
+
<cui-dialog-actions>
|
|
272
|
+
<button cuiButton>Сохранить</button>
|
|
273
|
+
<button cuiButton appearance="secondary">Отмена</button>
|
|
274
|
+
</cui-dialog-actions>
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
### Feature: CuiFormFieldComponent (`cui-form-field`)
|
|
278
|
+
Описание: обертка для поля формы, собирает `cuiLabel`, поле и `cui-hint`.
|
|
279
|
+
Публичный API:
|
|
280
|
+
- Модуль: `CuiFormFieldModule`
|
|
281
|
+
- Inputs/Outputs: нет
|
|
282
|
+
Пример:
|
|
283
|
+
```html
|
|
284
|
+
<cui-form-field>
|
|
285
|
+
<label cuiLabel for="name">Имя</label>
|
|
286
|
+
<cui-input-text cuiTextFieldId="name"></cui-input-text>
|
|
287
|
+
<cui-hint>Введите полное имя</cui-hint>
|
|
288
|
+
</cui-form-field>
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### Feature: CuiHintComponent (`cui-hint`)
|
|
292
|
+
Описание: текстовая подсказка под полем.
|
|
293
|
+
Публичный API:
|
|
294
|
+
- Модуль: `CuiHintModule`
|
|
295
|
+
- Inputs: `hintType: 'info' | 'error'`
|
|
296
|
+
Пример:
|
|
297
|
+
```html
|
|
298
|
+
<cui-hint hintType="error">Поле обязательно</cui-hint>
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
### Feature: CuiIconButtonComponent (`button[cuiIconButton][icon], a[cuiIconButton][icon]`)
|
|
302
|
+
Описание: иконка-кнопка с цветом и hover цветом.
|
|
303
|
+
Публичный API:
|
|
304
|
+
- Модуль: `CuiIconButtonModule`
|
|
305
|
+
- Inputs: `icon`, `color`, `hoverColor`
|
|
306
|
+
Пример:
|
|
307
|
+
```html
|
|
308
|
+
<button
|
|
309
|
+
cuiIconButton
|
|
310
|
+
icon="cuiIconTrash"
|
|
311
|
+
color="var(--cui-danger)"
|
|
312
|
+
hoverColor="var(--cui-red-600)"
|
|
313
|
+
></button>
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
### Feature: CuiInputNumberComponent (`cui-input-number`)
|
|
317
|
+
Описание: числовой инпут с маской (maskito), поддерживает min/max/precision.
|
|
318
|
+
Публичный API:
|
|
319
|
+
- Модуль: `CuiInputNumberModule`
|
|
320
|
+
- Inputs: `precision`, `min`, `max`
|
|
321
|
+
- Значение: `number | null` через ControlValueAccessor
|
|
322
|
+
Пример:
|
|
323
|
+
```html
|
|
324
|
+
<cui-input-number
|
|
325
|
+
[formControl]="priceControl"
|
|
326
|
+
[precision]="2"
|
|
327
|
+
[min]="0"
|
|
328
|
+
[max]="9999"
|
|
329
|
+
cuiTextFieldPlaceholder="Цена"
|
|
330
|
+
cuiTextFieldIconLeft="cuiIconSearch"
|
|
331
|
+
></cui-input-number>
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
### Feature: CuiInputPasswordComponent (`cui-input-password`)
|
|
335
|
+
Описание: парольный инпут с кнопкой показать/скрыть.
|
|
336
|
+
Публичный API:
|
|
337
|
+
- Модуль: `CuiInputPasswordModule`
|
|
338
|
+
- Inputs: нет (используются `cuiTextField*` директивы)
|
|
339
|
+
Пример:
|
|
340
|
+
```html
|
|
341
|
+
<cui-input-password
|
|
342
|
+
[formControl]="passwordControl"
|
|
343
|
+
cuiTextFieldId="password"
|
|
344
|
+
cuiTextFieldPlaceholder="Пароль"
|
|
345
|
+
></cui-input-password>
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
### Feature: CuiInputTextComponent (`cui-input-text`)
|
|
349
|
+
Описание: текстовый инпут с кнопкой очистки.
|
|
350
|
+
Публичный API:
|
|
351
|
+
- Модуль: `CuiInputModule` (важно: имя модуля именно такое)
|
|
352
|
+
- Inputs: нет (используются `cuiTextField*` директивы)
|
|
353
|
+
Пример:
|
|
354
|
+
```html
|
|
355
|
+
<cui-input-text
|
|
356
|
+
[formControl]="searchControl"
|
|
357
|
+
cuiTextFieldId="search"
|
|
358
|
+
cuiTextFieldPlaceholder="Поиск"
|
|
359
|
+
cuiTextFieldIconLeft="cuiIconSearch"
|
|
360
|
+
></cui-input-text>
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
### Feature: CuiInputTimeComponent (`cui-input-time`)
|
|
364
|
+
Описание: ввод времени с маской, значение - `CuiTime`.
|
|
365
|
+
Публичный API:
|
|
366
|
+
- Модуль: `CuiInputTimeModule`
|
|
367
|
+
- Inputs: `mode: CuiTimeMode` (по умолчанию `HH:MM`)
|
|
368
|
+
- Типы: `CuiInputTimeOptions`
|
|
369
|
+
- Константы/токены: `CUI_INPUT_TIME_DEFAULT_OPTIONS`, `CUI_INPUT_TIME_OPTIONS`
|
|
370
|
+
Пример:
|
|
371
|
+
```html
|
|
372
|
+
<cui-input-time
|
|
373
|
+
[formControl]="timeControl"
|
|
374
|
+
mode="HH:MM:SS"
|
|
375
|
+
cuiTextFieldPlaceholder="Время"
|
|
376
|
+
></cui-input-time>
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
### Feature: CuiLabelComponent (`label[cuiLabel]`)
|
|
380
|
+
Описание: стилизованный label с возможностью показать звездочку.
|
|
381
|
+
Публичный API:
|
|
382
|
+
- Модуль: `CuiLabelModule`
|
|
383
|
+
- Inputs: `isRequired: boolean`
|
|
384
|
+
Пример:
|
|
385
|
+
```html
|
|
386
|
+
<label cuiLabel [isRequired]="true" for="email">Email</label>
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
### Feature: CuiNotificationComponent (`cui-notification`)
|
|
390
|
+
Описание: уведомление со статусом и иконкой, опционально с кнопкой закрытия.
|
|
391
|
+
Публичный API:
|
|
392
|
+
- Модуль: `CuiNotificationModule`
|
|
393
|
+
- Inputs: `status`, `mode`, `isCloseable`
|
|
394
|
+
- Outputs: `closed`
|
|
395
|
+
- Типы: `CuiNotificationOptions`, `CuiNotificationIcons`, `CuiNotificationIconOptions`
|
|
396
|
+
- Константы/токены: `CUI_NOTIFICATION_DEFAULT_OPTIONS`, `CUI_NOTIFICATION_OPTIONS`, `CUI_NOTIFICATION_ICONS`, `CUI_NOTIFICATION_ICON_OPTIONS`, `CUI_NOTIFICATION_ICON_OPTIONS_DEFAULT_MODE`, `CUI_NOTIFICATION_ICON_OPTIONS_LIGHT_MODE`
|
|
397
|
+
Пример:
|
|
398
|
+
```html
|
|
399
|
+
<cui-notification status="success" mode="light" [isCloseable]="true" (closed)="onClosed()">
|
|
400
|
+
Успешно сохранено
|
|
401
|
+
</cui-notification>
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
### Feature: CuiRadioComponent (`input[type="radio"][cuiRadio]`)
|
|
405
|
+
Описание: стилизованный radio, логика остается нативной.
|
|
406
|
+
Публичный API:
|
|
407
|
+
- Модуль: `CuiRadioModule`
|
|
408
|
+
- Inputs/Outputs: нет
|
|
409
|
+
Пример:
|
|
410
|
+
```html
|
|
411
|
+
<input cuiRadio type="radio" [formControl]="choiceControl" value="a">
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
### Feature: CuiRootComponent (`cui-root`)
|
|
415
|
+
Описание: корневой контейнер UI, включает `cui-dialogs` и `cui-alerts`, устанавливает атрибут `cuiTheme`.
|
|
416
|
+
Публичный API:
|
|
417
|
+
- Модуль: `CuiRootModule`
|
|
418
|
+
- Inputs/Outputs: нет
|
|
419
|
+
- Константа: `CUI_ROOT_SELECTOR`
|
|
420
|
+
Пример:
|
|
421
|
+
```html
|
|
422
|
+
<cui-root>
|
|
423
|
+
<app-root-content></app-root-content>
|
|
424
|
+
</cui-root>
|
|
425
|
+
```
|
|
426
|
+
|
|
427
|
+
### Feature: CuiSelectComponent (`cui-select[options]`)
|
|
428
|
+
Описание: селект с выпадающим списком, использует `cui-root` для оверлея.
|
|
429
|
+
Публичный API:
|
|
430
|
+
- Модуль: `CuiSelectModule`
|
|
431
|
+
- Inputs: `options: CuiOption[]`, `defaultOptionText?: string`
|
|
432
|
+
- Значение: `unknown` через ControlValueAccessor
|
|
433
|
+
Пример:
|
|
434
|
+
```html
|
|
435
|
+
<cui-select
|
|
436
|
+
[options]="statusOptions"
|
|
437
|
+
[formControl]="statusControl"
|
|
438
|
+
cuiTextFieldId="status"
|
|
439
|
+
cuiTextFieldPlaceholder="Статус"
|
|
440
|
+
></cui-select>
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
### Feature: CuiSvgComponent (`cui-svg[icon]`)
|
|
444
|
+
Описание: рендер SVG по имени иконки или по сырому SVG string.
|
|
445
|
+
Публичный API:
|
|
446
|
+
- Модуль: `CuiSvgModule`
|
|
447
|
+
- Inputs: `icon`, `width`, `height`, `strokeWidth`, `color`
|
|
448
|
+
Пример:
|
|
449
|
+
```html
|
|
450
|
+
<cui-svg icon="cuiIconCheck" [width]="16" [height]="16" color="var(--cui-success)"></cui-svg>
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
### Feature: CuiTabsComponent (`cui-tabs`)
|
|
454
|
+
Описание: контейнер табов, управляет активным индексом.
|
|
455
|
+
Публичный API:
|
|
456
|
+
- Модуль: `CuiTabsModule`
|
|
457
|
+
- Inputs: `activeItemIndex: number`
|
|
458
|
+
- Outputs: `activeItemIndexChange`
|
|
459
|
+
Пример:
|
|
460
|
+
```html
|
|
461
|
+
<cui-tabs [(activeItemIndex)]="tabIndex">
|
|
462
|
+
<button cuiTab>Общее</button>
|
|
463
|
+
<button cuiTab>Настройки</button>
|
|
464
|
+
</cui-tabs>
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
### Feature: CuiTabComponent (`button[cuiTab]`)
|
|
468
|
+
Описание: кнопка таба, эмитит событие активации.
|
|
469
|
+
Публичный API:
|
|
470
|
+
- Модуль: `CuiTabsModule`
|
|
471
|
+
- Inputs/Outputs: нет
|
|
472
|
+
Пример:
|
|
473
|
+
```html
|
|
474
|
+
<button cuiTab>Таб</button>
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
### Feature: CuiTextareaComponent (`textarea[cuiTextarea]`)
|
|
478
|
+
Описание: стилизованный textarea с авто-ресайзом.
|
|
479
|
+
Публичный API:
|
|
480
|
+
- Модуль: `CuiTextareaModule`
|
|
481
|
+
- Inputs: `rows`, `noBordersAndPaddings`
|
|
482
|
+
Пример:
|
|
483
|
+
```html
|
|
484
|
+
<textarea
|
|
485
|
+
cuiTextarea
|
|
486
|
+
[rows]="3"
|
|
487
|
+
[noBordersAndPaddings]="false"
|
|
488
|
+
[cuiTextFieldIsError]="true"
|
|
489
|
+
></textarea>
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
### Feature: CuiToggleComponent (`input[type="checkbox"][cuiToggle]`)
|
|
493
|
+
Описание: стилизованный toggle на базе checkbox.
|
|
494
|
+
Публичный API:
|
|
495
|
+
- Модуль: `CuiToggleModule`
|
|
496
|
+
- Inputs/Outputs: нет
|
|
497
|
+
Пример:
|
|
498
|
+
```html
|
|
499
|
+
<input cuiToggle type="checkbox" [formControl]="toggleControl">
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
## Директивы (Core)
|
|
503
|
+
|
|
504
|
+
### Feature: CuiTextFieldControllerModule
|
|
505
|
+
Описание: модуль с директивами управления полями (`cuiTextField*`). Экспортируется входными компонентами.
|
|
506
|
+
Публичный API:
|
|
507
|
+
- Экспортирует: `CuiTextFieldIconLeftDirective`, `CuiTextFieldIdDirective`, `CuiTextFieldIsErrorDirective`, `CuiTextFieldPlaceholderDirective`, `CuiTextFieldSizeDirective`
|
|
508
|
+
Пример:
|
|
509
|
+
```ts
|
|
510
|
+
imports: [CuiTextFieldControllerModule]
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
### Feature: CuiTextFieldIconLeftDirective (`[cuiTextFieldIconLeft]`)
|
|
514
|
+
Описание: задает иконку слева для текстовых полей.
|
|
515
|
+
Публичный API:
|
|
516
|
+
- Input: `cuiTextFieldIconLeft: CuiIcon | string`
|
|
517
|
+
Пример:
|
|
518
|
+
```html
|
|
519
|
+
<cui-input-text cuiTextFieldIconLeft="cuiIconSearch"></cui-input-text>
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
### Feature: CuiTextFieldIdDirective (`[cuiTextFieldId]`)
|
|
523
|
+
Описание: прокидывает `id` внутрь поля.
|
|
524
|
+
Публичный API:
|
|
525
|
+
- Input: `cuiTextFieldId: string`
|
|
526
|
+
Пример:
|
|
527
|
+
```html
|
|
528
|
+
<cui-input-text cuiTextFieldId="search"></cui-input-text>
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
### Feature: CuiTextFieldIsErrorDirective (`[cuiTextFieldIsError]`)
|
|
532
|
+
Описание: задает состояние ошибки для поля.
|
|
533
|
+
Публичный API:
|
|
534
|
+
- Input: `cuiTextFieldIsError: boolean`
|
|
535
|
+
Пример:
|
|
536
|
+
```html
|
|
537
|
+
<cui-input-text [cuiTextFieldIsError]="hasError"></cui-input-text>
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
### Feature: CuiTextFieldPlaceholderDirective (`[cuiTextFieldPlaceholder]`)
|
|
541
|
+
Описание: задает placeholder для поля.
|
|
542
|
+
Публичный API:
|
|
543
|
+
- Input: `cuiTextFieldPlaceholder: string`
|
|
544
|
+
Пример:
|
|
545
|
+
```html
|
|
546
|
+
<cui-input-text cuiTextFieldPlaceholder="Введите текст"></cui-input-text>
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
### Feature: CuiTextFieldSizeDirective (`[cuiTextFieldSize]`)
|
|
550
|
+
Описание: задает размер поля.
|
|
551
|
+
Публичный API:
|
|
552
|
+
- Input: `cuiTextFieldSize: 'sm' | 'md'`
|
|
553
|
+
Пример:
|
|
554
|
+
```html
|
|
555
|
+
<cui-input-text cuiTextFieldSize="md"></cui-input-text>
|
|
556
|
+
```
|
|
557
|
+
|
|
558
|
+
### Feature: CuiTextFieldController
|
|
559
|
+
Описание: класс, агрегирующий параметры из `cuiTextField*` директив.
|
|
560
|
+
Пример:
|
|
561
|
+
```ts
|
|
562
|
+
const controller = inject(CUI_TEXT_FIELD_CONTROLLER);
|
|
563
|
+
console.log(controller.size);
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
### Feature: CUI_TEXT_FIELD_CONTROLLER и CUI_TEXT_FILED_CONTROLLER_PROVIDER
|
|
567
|
+
Описание: DI токен и провайдер, собирающие параметры из `cuiTextField*` директив в единый контроллер.
|
|
568
|
+
Публичный API:
|
|
569
|
+
- Токен: `CUI_TEXT_FIELD_CONTROLLER`
|
|
570
|
+
- Провайдер: `CUI_TEXT_FILED_CONTROLLER_PROVIDER`
|
|
571
|
+
- Токены директив: `CUI_TEXT_FIELD_ICON_LEFT`, `CUI_TEXT_FIELD_ID`, `CUI_TEXT_FIELD_IS_ERROR`, `CUI_TEXT_FIELD_PLACEHOLDER`, `CUI_TEXT_FIELD_SIZE`
|
|
572
|
+
Пример:
|
|
573
|
+
```ts
|
|
574
|
+
const controller = inject(CUI_TEXT_FIELD_CONTROLLER);
|
|
575
|
+
console.log(controller.placeholder);
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
## Сервисы (Core)
|
|
579
|
+
|
|
580
|
+
### Feature: CuiThemeService
|
|
581
|
+
Описание: сервис темы, хранит состояние в localStorage и выставляет `cuiTheme` через `CuiRootComponent`.
|
|
582
|
+
Публичный API:
|
|
583
|
+
- Методы: `next(theme: 'light' | 'dark')`, `switch()`
|
|
584
|
+
- Токены/константы: `CUI_THEME`, `CUI_THEME_STORAGE_KEY`, `CUI_THEME_STORAGE_DEFAULT_KEY`, `CUI_DEFAULT_THEME`
|
|
585
|
+
Пример:
|
|
586
|
+
```ts
|
|
587
|
+
const theme = inject(CuiThemeService);
|
|
588
|
+
theme.switch();
|
|
589
|
+
```
|
|
590
|
+
Пример (дефолтная тема и ключ хранения):
|
|
591
|
+
```ts
|
|
592
|
+
providers: [
|
|
593
|
+
{ provide: CUI_THEME, useValue: 'dark' },
|
|
594
|
+
{ provide: CUI_THEME_STORAGE_KEY, useValue: 'myThemeKey' }
|
|
595
|
+
]
|
|
596
|
+
```
|
|
597
|
+
|
|
598
|
+
## Интерфейсы и типы (Core)
|
|
599
|
+
|
|
600
|
+
### Feature: CuiOption
|
|
601
|
+
Описание: модель опции для `cui-select`.
|
|
602
|
+
Публичный API:
|
|
603
|
+
- Поля: `label: string`, `value: unknown`, `isDisabled?: boolean`
|
|
604
|
+
Пример:
|
|
605
|
+
```ts
|
|
606
|
+
const options: CuiOption[] = [
|
|
607
|
+
{ label: 'Active', value: 'active' },
|
|
608
|
+
{ label: 'Archived', value: 'archived', isDisabled: true }
|
|
609
|
+
];
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
### Feature: CuiContextMenuItem
|
|
613
|
+
Описание: модель элемента контекстного меню.
|
|
614
|
+
Публичный API:
|
|
615
|
+
- Поля: `label`, `icon?`, `color?`, `command?`
|
|
616
|
+
Пример:
|
|
617
|
+
```ts
|
|
618
|
+
const items: CuiContextMenuItem[] = [
|
|
619
|
+
{ label: 'Edit', icon: 'cuiIconEdit', command: () => onEdit() },
|
|
620
|
+
{ label: 'Delete', icon: 'cuiIconTrash', color: 'var(--cui-danger)' }
|
|
621
|
+
];
|
|
622
|
+
```
|
|
623
|
+
|
|
624
|
+
### Feature: CuiAppearance* types
|
|
625
|
+
Описание: набор типов appearance для кнопок.
|
|
626
|
+
Публичный API:
|
|
627
|
+
- Значения: `action | secondary | outlined | outlined-gray | ghost | flat | destructive | link`
|
|
628
|
+
Пример:
|
|
629
|
+
```ts
|
|
630
|
+
const appearance: CuiAppearanceAction = 'action';
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
### Feature: CuiHintType
|
|
634
|
+
Описание: тип подсказки `cui-hint`.
|
|
635
|
+
Публичный API:
|
|
636
|
+
- Значения: `info | error`
|
|
637
|
+
Пример:
|
|
638
|
+
```ts
|
|
639
|
+
const hintType: CuiHintType = 'error';
|
|
640
|
+
```
|
|
641
|
+
|
|
642
|
+
### Feature: CuiPosition* types
|
|
643
|
+
Описание: позиции для алертов.
|
|
644
|
+
Публичный API:
|
|
645
|
+
- Значения: `center | right`
|
|
646
|
+
Пример:
|
|
647
|
+
```ts
|
|
648
|
+
const position: CuiPositionCenter = 'center';
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
### Feature: CuiResizing* types
|
|
652
|
+
Описание: режимы ресайза для алертов.
|
|
653
|
+
Публичный API:
|
|
654
|
+
- Значения: `hug | fixed`
|
|
655
|
+
Пример:
|
|
656
|
+
```ts
|
|
657
|
+
const resizing: CuiResizingFixed = 'fixed';
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
### Feature: CuiShapeRounded
|
|
661
|
+
Описание: shape тип для кнопок.
|
|
662
|
+
Публичный API:
|
|
663
|
+
- Значение: `rounded`
|
|
664
|
+
Пример:
|
|
665
|
+
```ts
|
|
666
|
+
const shape: CuiShapeRounded = 'rounded';
|
|
667
|
+
```
|
|
668
|
+
|
|
669
|
+
### Feature: CuiSize* types
|
|
670
|
+
Описание: типы размеров.
|
|
671
|
+
Публичный API:
|
|
672
|
+
- Значения: `xxs | xs | sm | md`
|
|
673
|
+
Пример:
|
|
674
|
+
```ts
|
|
675
|
+
const size: CuiSizeSm = 'sm';
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
### Feature: CuiStatus
|
|
679
|
+
Описание: статусы для уведомлений/баннеров.
|
|
680
|
+
Публичный API:
|
|
681
|
+
- Значения: `success | info | alert | error`
|
|
682
|
+
Пример:
|
|
683
|
+
```ts
|
|
684
|
+
const status: CuiStatus = 'success';
|
|
685
|
+
```
|
|
686
|
+
|
|
687
|
+
## Утилиты (Core)
|
|
688
|
+
|
|
689
|
+
### Feature: cuiRemoveSpaces
|
|
690
|
+
Описание: удаляет все пробелы из строки.
|
|
691
|
+
Публичный API:
|
|
692
|
+
- Сигнатура: `(value: string) => string`
|
|
693
|
+
Пример:
|
|
694
|
+
```ts
|
|
695
|
+
cuiRemoveSpaces('a b c'); // "abc"
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
### Feature: cuiReplace
|
|
699
|
+
Описание: безопасная замена всех вхождений подстроки.
|
|
700
|
+
Публичный API:
|
|
701
|
+
- Сигнатура: `(value: string, search: string, replace: string) => string`
|
|
702
|
+
Пример:
|
|
703
|
+
```ts
|
|
704
|
+
cuiReplace('a.b.c', '.', '-'); // "a-b-c"
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
## Темы и стили
|
|
708
|
+
|
|
709
|
+
### Feature: CSS переменные темы
|
|
710
|
+
Описание: базовые и темные токены описаны в `projects/core/styles/theme.scss`. Темная тема задается через атрибут `cuiTheme="dark"`.
|
|
711
|
+
Пример:
|
|
712
|
+
```scss
|
|
713
|
+
:root {
|
|
714
|
+
--cui-main-font: 'Inter', sans-serif;
|
|
715
|
+
}
|
|
716
|
+
[cuiTheme='dark'] {
|
|
717
|
+
--cui-base-0: var(--cui-slate-900);
|
|
718
|
+
}
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
### Feature: SCSS переменные и миксины
|
|
722
|
+
Описание: `projects/core/styles/global.scss` форвардит миксины и переменные (`mixins/*`, `variables/*`).
|
|
723
|
+
Пример:
|
|
724
|
+
```scss
|
|
725
|
+
@use '@cuby-ui/core/styles/global' as cui;
|
|
726
|
+
|
|
727
|
+
.btn-reset {
|
|
728
|
+
@include cui.cui-clear-button();
|
|
729
|
+
}
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
## Рецепты (How-to)
|
|
733
|
+
|
|
734
|
+
### Feature: Рецепт - показать alert
|
|
735
|
+
Описание: использовать `CuiAlertService` и убедиться, что есть `cui-root`.
|
|
736
|
+
Пример:
|
|
737
|
+
```ts
|
|
738
|
+
const alerts = inject(CuiAlertService);
|
|
739
|
+
alerts.open('Все ок', { status: 'success', label: 'Готово' }).subscribe();
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
### Feature: Рецепт - открыть диалог с данными
|
|
743
|
+
Описание: открыть компонент и прочитать `data` через `CUI_DIALOG_CONTEXT`.
|
|
744
|
+
Пример:
|
|
745
|
+
```ts
|
|
746
|
+
dialogs.open(EditDialogComponent, { size: 'xl', data: { id: 42 } }).subscribe();
|
|
747
|
+
```
|
|
748
|
+
```ts
|
|
749
|
+
const context = inject<CuiDialogContext<{ id: number }>>(CUI_DIALOG_CONTEXT);
|
|
750
|
+
console.log(context.data.id);
|
|
751
|
+
```
|
|
752
|
+
|
|
753
|
+
### Feature: Рецепт - использовать `cui-select` с ошибкой
|
|
754
|
+
Описание: задать опции и состояние ошибки через `cuiTextFieldIsError`.
|
|
755
|
+
Пример:
|
|
756
|
+
```html
|
|
757
|
+
<cui-select
|
|
758
|
+
[options]="options"
|
|
759
|
+
[formControl]="control"
|
|
760
|
+
[cuiTextFieldIsError]="hasError"
|
|
761
|
+
></cui-select>
|
|
762
|
+
```
|
|
763
|
+
|
|
764
|
+
### Feature: Рецепт - переопределить дефолтные опции кнопки
|
|
765
|
+
Описание: использовать `CUI_BUTTON_OPTIONS` в провайдерах.
|
|
766
|
+
Пример:
|
|
767
|
+
```ts
|
|
768
|
+
providers: [
|
|
769
|
+
{ provide: CUI_BUTTON_OPTIONS, useValue: { appearance: 'secondary', size: 'md', shape: 'rounded' } }
|
|
770
|
+
]
|
|
771
|
+
```
|
|
772
|
+
|
|
773
|
+
### Feature: Рецепт - переключение темы
|
|
774
|
+
Описание: вызвать `switch()` у `CuiThemeService`.
|
|
775
|
+
Пример:
|
|
776
|
+
```ts
|
|
777
|
+
inject(CuiThemeService).switch();
|
|
778
|
+
```
|
|
779
|
+
|
|
780
|
+
## Анти-паттерны
|
|
781
|
+
- Анти-паттерн: использовать `CuiAlertService.open()` без подписки. Описание: Observable ленивый, без `subscribe()` алерт не создается.
|
|
782
|
+
- Анти-паттерн: использовать `cui-select` или `cui-context-menu` без `cui-root`. Описание: оверлей некуда монтировать.
|
|
783
|
+
- Анти-паттерн: передавать `ElementRef` вместо `HTMLElement` в `target`. Описание: компонент ожидает `HTMLElement`.
|
|
784
|
+
- Анти-паттерн: передавать строку вместо `CuiTime` в `cui-input-time`. Описание: компонент ожидает `CuiTime`.
|
|
785
|
+
|
|
786
|
+
## FAQ / типовые ошибки
|
|
787
|
+
- Вопрос: почему не открывается диалог? Ответ: проверьте, что вы подписались на `open()` и в DOM есть `cui-root`.
|
|
788
|
+
- Вопрос: почему не видно placeholder в `cui-input-text`? Ответ: используйте `cuiTextFieldPlaceholder`, а не нативный `placeholder`.
|
|
789
|
+
- Вопрос: почему select не закрывается? Ответ: убедитесь, что есть `cui-root` и не блокируется событие клика снаружи.
|
|
790
|
+
|
|
791
|
+
## Структура репозитория
|
|
792
|
+
- `projects/core` - UI компоненты, стили, темы.
|
|
793
|
+
- `projects/cdk` - утилиты, директивы, сервисы.
|
|
794
|
+
- `projects/icons` - SVG иконки и типы.
|
|
795
|
+
- `projects/test` - sandbox приложение с примерами.
|
|
796
|
+
- `angular.json` - конфигурация Angular workspace.
|
|
797
|
+
|
|
798
|
+
## Линт и форматирование
|
|
799
|
+
- Явных конфигураций ESLint/Prettier в репозитории нет. Ориентируйтесь на текущий стиль файлов и типичные правила Angular/TypeScript.
|
|
800
|
+
|
|
801
|
+
## Версии и совместимость
|
|
802
|
+
- Angular: `>=15.0.0`
|
|
803
|
+
- RxJS: `>=7.0.0`
|
|
804
|
+
- `@maskito/*`: `^2.5.0` (input number/time)
|
|
805
|
+
- `@tinkoff/ng-polymorpheus`: `^4.3.0` (dialog header)
|
|
806
|
+
- Пакеты `@cuby-ui/*`: версия `0.0.177` (см. `projects/*/package.json`)
|