@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
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { booleanAttribute, ChangeDetectionStrategy, Component, computed, effect, inject, input, signal, viewChild } from '@angular/core';
|
|
2
|
-
import { CuiLetDirective } from '@cuby-ui/cdk';
|
|
3
|
-
import { TranslocoDirective } from '@jsverse/transloco';
|
|
4
|
-
import { finalize } from 'rxjs';
|
|
5
|
-
import { CuiTreeStructNavigatorApiService } from '@cuby-ui/api';
|
|
6
|
-
import { CuiCategoriesListComponent, CuiCreateCategoryItemComponent } from './components';
|
|
7
|
-
import { CuiEmptyStateComponent, CuiButtonModule, CuiDropdownDirective, CuiDropdownWrapperComponent } from '../../../components';
|
|
8
|
-
import { CuiSelectedCategoryService } from './services';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../../../components/button/button.component";
|
|
11
|
-
export class CuiCategoriesComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
this.treeStructNavigatorApiService = inject(CuiTreeStructNavigatorApiService);
|
|
14
|
-
this.selectedCategoryService = inject(CuiSelectedCategoryService);
|
|
15
|
-
this.stageStorages = signal(null);
|
|
16
|
-
this.isCategoryCreating = signal(false);
|
|
17
|
-
this.isCategoryCreationLoading = signal(false);
|
|
18
|
-
this.isCreateCategoryControlVisible = computed(() => (this.selectedCategoryService.creatingId() === this.treeStructType() && this.isCategoryCreating()) ||
|
|
19
|
-
this.isCategoryCreationLoading());
|
|
20
|
-
this.dropdown = viewChild.required('dropdown');
|
|
21
|
-
this.treeStructType = input.required();
|
|
22
|
-
this.buttonId = input();
|
|
23
|
-
this.disabled = input(false, { transform: booleanAttribute });
|
|
24
|
-
this.context = input();
|
|
25
|
-
this.initSelectCategoryEffect();
|
|
26
|
-
}
|
|
27
|
-
onOpenStageStorages() {
|
|
28
|
-
this.selectedCategoryService.clearCreatingId();
|
|
29
|
-
this.selectedCategoryService.clearEditingId();
|
|
30
|
-
if (this.stageStorages()?.length) {
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
this.treeStructNavigatorApiService
|
|
34
|
-
.getStageStorages(this.treeStructType(), this.context())
|
|
35
|
-
.subscribe((stageStorage) => {
|
|
36
|
-
this.stageStorages.update((prevStageStorages) => prevStageStorages ? [...prevStageStorages, stageStorage] : [stageStorage]);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
onStartCreatingNewCategory() {
|
|
40
|
-
this.isCategoryCreating.set(true);
|
|
41
|
-
this.selectedCategoryService.setCreatingId(this.treeStructType());
|
|
42
|
-
}
|
|
43
|
-
onCreateNewCategory(title) {
|
|
44
|
-
this.isCategoryCreating.set(false);
|
|
45
|
-
this.selectedCategoryService.clearCreatingId();
|
|
46
|
-
this.isCategoryCreationLoading.set(true);
|
|
47
|
-
this.treeStructNavigatorApiService
|
|
48
|
-
.createStageStorage(title, this.treeStructType(), this.context())
|
|
49
|
-
.pipe(finalize(this.isCategoryCreationLoading.set.bind(this, false)))
|
|
50
|
-
.subscribe((stateStorage) => this.stageStorages.update((value) => [...(value || []), stateStorage]));
|
|
51
|
-
}
|
|
52
|
-
onCreatingCategoryCanceled() {
|
|
53
|
-
this.isCategoryCreating.set(false);
|
|
54
|
-
this.selectedCategoryService.clearCreatingId();
|
|
55
|
-
}
|
|
56
|
-
initSelectCategoryEffect() {
|
|
57
|
-
effect(() => {
|
|
58
|
-
this.selectedCategoryService.category();
|
|
59
|
-
this.dropdown().close();
|
|
60
|
-
}, { allowSignalWrites: true });
|
|
61
|
-
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCategoriesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
63
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiCategoriesComponent, isStandalone: true, selector: "cui-categories", inputs: { treeStructType: { classPropertyName: "treeStructType", publicName: "treeStructType", isSignal: true, isRequired: true, transformFunction: null }, buttonId: { classPropertyName: "buttonId", publicName: "buttonId", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true, isSignal: true }], ngImport: i0, template: "<button\n [attr.id]=\"buttonId()\"\n #dropdown=\"cuiDropdown\"\n [cuiDropdown]=\"dropdownContent\"\n orientation=\"stretch\"\n type=\"button\"\n class=\"target\"\n [disabled]=\"disabled()\"\n (click)=\"onOpenStageStorages()\"\n>\n <ng-content />\n</button>\n\n<ng-template #dropdownContent>\n <cui-dropdown-wrapper\n *transloco=\"let t\"\n [title]=\"t('SELECT_OR_CREATE_CATEGORY')\"\n width=\"100%\"\n class=\"dropdown-wrapper\"\n >\n <ng-container *cuiLet=\"stageStorages() as stageStorages\">\n @if (stageStorages && stageStorages?.length) {\n <cui-categories-list\n [stageStorages]=\"stageStorages\"\n [context]=\"context()\"\n />\n }\n @if (isCreateCategoryControlVisible()) {\n <cui-create-category-item\n class=\"create-category\"\n [isDisabled]=\"isCategoryCreationLoading()\"\n (created)=\"onCreateNewCategory($event)\"\n (canceled)=\"onCreatingCategoryCanceled()\"\n />\n } @else if (!stageStorages?.length) {\n <cui-empty-state\n class=\"empty\"\n [subtitle]=\"t('NO_CATEGORY_TO_VIEW_YET')\"\n />\n }\n </ng-container>\n <button\n ccDropdownFooterContent\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconPlus\"\n (click)=\"onStartCreatingNewCategory()\"\n >\n {{ t('NEW_CATEGORY') }}\n </button>\n </cui-dropdown-wrapper>\n</ng-template>\n", styles: ["::ng-deep .dropdown-wrapper .scrollable-content{flex:1;display:flex;flex-direction:column}.target{display:block;padding:0;width:100%;border-radius:8px;border:1px solid transparent}.target:focus{box-shadow:0 0 0 2px var(--cui-focus);border:1px solid var(--cui-info)}.target:disabled{cursor:default}.create-category{margin-left:24px}.empty{margin:auto}.dropdown-wrapper{display:block;height:350px}\n"], dependencies: [{ kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: i1.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "directive", type: CuiLetDirective, selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "directive", type: CuiDropdownDirective, selector: "[cuiDropdown]", inputs: ["cuiDropdown", "orientation"], outputs: ["isOpened"], exportAs: ["cuiDropdown"] }, { kind: "component", type: CuiDropdownWrapperComponent, selector: "cui-dropdown-wrapper", inputs: ["title", "width", "maxHeight"] }, { kind: "component", type: CuiEmptyStateComponent, selector: "cui-empty-state, [cuiEmptyState]", inputs: ["title", "subtitle"] }, { kind: "component", type: CuiCreateCategoryItemComponent, selector: "cui-create-category-item", inputs: ["isDisabled"], outputs: ["created", "canceled"] }, { kind: "component", type: CuiCategoriesListComponent, selector: "cui-categories-list", inputs: ["stageStorages", "context"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
64
|
-
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCategoriesComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{ selector: 'cui-categories', imports: [
|
|
68
|
-
CuiButtonModule,
|
|
69
|
-
CuiLetDirective,
|
|
70
|
-
CuiDropdownDirective,
|
|
71
|
-
CuiDropdownWrapperComponent,
|
|
72
|
-
CuiEmptyStateComponent,
|
|
73
|
-
CuiCreateCategoryItemComponent,
|
|
74
|
-
CuiCategoriesListComponent,
|
|
75
|
-
TranslocoDirective
|
|
76
|
-
], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n [attr.id]=\"buttonId()\"\n #dropdown=\"cuiDropdown\"\n [cuiDropdown]=\"dropdownContent\"\n orientation=\"stretch\"\n type=\"button\"\n class=\"target\"\n [disabled]=\"disabled()\"\n (click)=\"onOpenStageStorages()\"\n>\n <ng-content />\n</button>\n\n<ng-template #dropdownContent>\n <cui-dropdown-wrapper\n *transloco=\"let t\"\n [title]=\"t('SELECT_OR_CREATE_CATEGORY')\"\n width=\"100%\"\n class=\"dropdown-wrapper\"\n >\n <ng-container *cuiLet=\"stageStorages() as stageStorages\">\n @if (stageStorages && stageStorages?.length) {\n <cui-categories-list\n [stageStorages]=\"stageStorages\"\n [context]=\"context()\"\n />\n }\n @if (isCreateCategoryControlVisible()) {\n <cui-create-category-item\n class=\"create-category\"\n [isDisabled]=\"isCategoryCreationLoading()\"\n (created)=\"onCreateNewCategory($event)\"\n (canceled)=\"onCreatingCategoryCanceled()\"\n />\n } @else if (!stageStorages?.length) {\n <cui-empty-state\n class=\"empty\"\n [subtitle]=\"t('NO_CATEGORY_TO_VIEW_YET')\"\n />\n }\n </ng-container>\n <button\n ccDropdownFooterContent\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconPlus\"\n (click)=\"onStartCreatingNewCategory()\"\n >\n {{ t('NEW_CATEGORY') }}\n </button>\n </cui-dropdown-wrapper>\n</ng-template>\n", styles: ["::ng-deep .dropdown-wrapper .scrollable-content{flex:1;display:flex;flex-direction:column}.target{display:block;padding:0;width:100%;border-radius:8px;border:1px solid transparent}.target:focus{box-shadow:0 0 0 2px var(--cui-focus);border:1px solid var(--cui-info)}.target:disabled{cursor:default}.create-category{margin-left:24px}.empty{margin:auto}.dropdown-wrapper{display:block;height:350px}\n"] }]
|
|
77
|
-
}], ctorParameters: () => [] });
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcmllcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jYXRlZ29yaWVzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9jYXRlZ29yaWVzL2NhdGVnb3JpZXMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILGdCQUFnQixFQUNoQix1QkF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xlKCkpIHtcbiAgICAgICAgICAgICAgICA8Y3VpLWNyZWF0ZS1jYXRlZ29yeS1pdGVtXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiY3JlYXRlLWNhdGVnb3J5XCJcbiAgICAgICAgICAgICAgICAgICAgW2lzRGlzYWJsZWRdPVwiaXNDYXRlZ29yeUNyZWF0aW9uTG9hZGluZygpXCJcbiAgICAgICAgICAgICAgICAgICAgKGNyZWF0ZWQpPVwib25DcmVhdGVOZXdDYXRlZ29yeSgkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICAgICAgKGNhbmNlbGVkKT1cIm9uQ3JlYXRpbmdDYXRlZ29yeUNhbmNlbGVkKClcIlxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICB9IEBlbHNlIGlmICghc3RhZ2VTdG9yYWdlcz8ubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgPGN1aS1lbXB0eS1zdGF0ZVxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImVtcHR5XCJcbiAgICAgICAgICAgICAgICAgICAgW3N1YnRpdGxlXT1cInQoJ05PX0NBVEVHT1JZX1RPX1ZJRVdfWUVUJylcIlxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICB9XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICBjY0Ryb3Bkb3duRm9vdGVyQ29udGVudFxuICAgICAgICAgICAgY3VpQnV0dG9uXG4gICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJnaG9zdFwiXG4gICAgICAgICAgICBzaXplPVwieHhzXCJcbiAgICAgICAgICAgIGljb249XCJjdWlJY29uUGx1c1wiXG4gICAgICAgICAgICAoY2xpY2spPVwib25TdGFydENyZWF0aW5nTmV3Q2F0ZWdvcnkoKVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIHt7IHQoJ05FV19DQVRFR09SWScpIH19XG4gICAgICAgIDwvYnV0dG9uPlxuICAgIDwvY3VpLWRyb3Bkb3duLXdyYXBwZXI+XG48L25nLXRlbXBsYXRlPlxuIl19
|
package/esm2022/widgets/ui/categories/components/categories-list/categories-list.component.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, input } from '@angular/core';
|
|
2
|
-
import { CuiIconButtonModule, CuiSvgModule } from '../../../../../components';
|
|
3
|
-
import { CuiCategoryItemComponent } from '../category-item';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class CuiCategoriesListComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.stageStorages = input.required();
|
|
8
|
-
this.context = input();
|
|
9
|
-
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCategoriesListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiCategoriesListComponent, isStandalone: true, selector: "cui-categories-list", inputs: { stageStorages: { classPropertyName: "stageStorages", publicName: "stageStorages", isSignal: true, isRequired: true, transformFunction: null }, context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@for (stageStorage of stageStorages(); track stageStorage.id) {\n <cui-category-item\n [stageStorage]=\"stageStorage\"\n [context]=\"context()\"\n />\n}\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CuiIconButtonModule) }, { kind: "ngmodule", type: i0.forwardRef(() => CuiSvgModule) }, { kind: "component", type: i0.forwardRef(() => CuiCategoryItemComponent), selector: "cui-category-item", inputs: ["stageStorage", "context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCategoriesListComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{ selector: 'cui-categories-list', imports: [CuiIconButtonModule, CuiSvgModule, forwardRef(() => CuiCategoryItemComponent)], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "@for (stageStorage of stageStorages(); track stageStorage.id) {\n <cui-category-item\n [stageStorage]=\"stageStorage\"\n [context]=\"context()\"\n />\n}\n", styles: [":host{display:block}\n"] }]
|
|
16
|
-
}] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcmllcy1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9jYXRlZ29yaWVzL2NvbXBvbmVudHMvY2F0ZWdvcmllcy1saXN0L2NhdGVnb3JpZXMtbGlzdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NhdGVnb3JpZXMtbGlzdC9jYXRlZ29yaWVzLWxpc3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR3RGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxZQUFZLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUM5RSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7QUFVNUQsTUFBTSxPQUFPLDBCQUEwQjtJQVJ2QztRQVNvQixrQkFBYS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W1wbGF0ZVVybDogJy4vY2F0ZWdvcmllcy1saXN0LmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybDogJy4vY2F0ZWdvcmllcy1saXN0LmNvbXBvbmVudC5zY3NzJyxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBDdWlDYXRlZ29yaWVzTGlzdENvbXBvbmVudCB7XG4gICAgcHVibGljIHJlYWRvbmx5IHN0YWdlU3RvcmFnZXMgPSBpbnB1dC5yZXF1aXJlZDxUcmVlU3RydWN0W10+KCk7XG4gICAgcHVibGljIHJlYWRvbmx5IGNvbnRleHQgPSBpbnB1dDxDdWlBcGlDb250ZXh0PigpO1xufVxuIiwiQGZvciAoc3RhZ2VTdG9yYWdlIG9mIHN0YWdlU3RvcmFnZXMoKTsgdHJhY2sgc3RhZ2VTdG9yYWdlLmlkKSB7XG4gICAgPGN1aS1jYXRlZ29yeS1pdGVtXG4gICAgICAgIFtzdGFnZVN0b3JhZ2VdPVwic3RhZ2VTdG9yYWdlXCJcbiAgICAgICAgW2NvbnRleHRdPVwiY29udGV4dCgpXCJcbiAgICAvPlxufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { CuiCategoriesListComponent } from './categories-list.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NhdGVnb3JpZXMtbGlzdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aUNhdGVnb3JpZXNMaXN0Q29tcG9uZW50IH0gZnJvbSAnLi9jYXRlZ29yaWVzLWxpc3QuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, effect, ElementRef, inject, input, output, viewChild } from '@angular/core';
|
|
2
|
-
import { NonNullableFormBuilder, ReactiveFormsModule } from '@angular/forms';
|
|
3
|
-
import { TranslocoDirective } from '@jsverse/transloco';
|
|
4
|
-
import { cuiCreateDefaultValidators } from '../../../../../utils';
|
|
5
|
-
import { CuiFormFieldModule, CuiHintModule, CuiIconButtonModule, CuiGhostInputComponent } from '../../../../../components';
|
|
6
|
-
import { CuiGeneralControlErrorHintComponent } from '../../../general-control-error-hint';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../../../../components/icon-button/icon-button.component";
|
|
9
|
-
import * as i2 from "@angular/forms";
|
|
10
|
-
export class CuiCategoryFormComponent {
|
|
11
|
-
get isTitleInvalid() {
|
|
12
|
-
return this.titleControl.invalid && this.titleControl.dirty;
|
|
13
|
-
}
|
|
14
|
-
get isSubmitButtonDisabled() {
|
|
15
|
-
return this.isDisabled() || this.form.invalid;
|
|
16
|
-
}
|
|
17
|
-
constructor() {
|
|
18
|
-
this.nonNullableFormBuilder = inject(NonNullableFormBuilder);
|
|
19
|
-
this.form = this.nonNullableFormBuilder.group({
|
|
20
|
-
title: ['', cuiCreateDefaultValidators({ asyncDelay: 0 })]
|
|
21
|
-
});
|
|
22
|
-
this.titleControl = this.form.controls.title;
|
|
23
|
-
this.isDisabled = input(false);
|
|
24
|
-
this.defaultTitle = input('');
|
|
25
|
-
this.created = output();
|
|
26
|
-
this.canceled = output();
|
|
27
|
-
this.input = viewChild.required('input', { read: (ElementRef) });
|
|
28
|
-
this.initInputDisableStateSubscription();
|
|
29
|
-
}
|
|
30
|
-
ngOnInit() {
|
|
31
|
-
this.initDefaultTitle();
|
|
32
|
-
this.initInputFocus();
|
|
33
|
-
}
|
|
34
|
-
onHostClick(event) {
|
|
35
|
-
event.stopPropagation();
|
|
36
|
-
}
|
|
37
|
-
onSubmit() {
|
|
38
|
-
if (this.form.invalid) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
this.created.emit(this.form.value.title);
|
|
42
|
-
}
|
|
43
|
-
onCancel(event) {
|
|
44
|
-
event.stopPropagation();
|
|
45
|
-
this.canceled.emit();
|
|
46
|
-
}
|
|
47
|
-
initInputDisableStateSubscription() {
|
|
48
|
-
effect(() => {
|
|
49
|
-
if (this.isDisabled()) {
|
|
50
|
-
this.titleControl.disable();
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
this.titleControl.enable();
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
initDefaultTitle() {
|
|
57
|
-
this.form.patchValue({ title: this.defaultTitle() });
|
|
58
|
-
}
|
|
59
|
-
initInputFocus() {
|
|
60
|
-
Promise.resolve().then(() => this.input().nativeElement.focus());
|
|
61
|
-
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCategoryFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
63
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.14", type: CuiCategoryFormComponent, isStandalone: true, selector: "cui-category-form", inputs: { isDisabled: { classPropertyName: "isDisabled", publicName: "isDisabled", isSignal: true, isRequired: false, transformFunction: null }, defaultTitle: { classPropertyName: "defaultTitle", publicName: "defaultTitle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { created: "created", canceled: "canceled" }, host: { listeners: { "click": "onHostClick($event)" } }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <form\n [formGroup]=\"form\"\n class=\"form\"\n (ngSubmit)=\"onSubmit()\"\n >\n <div class=\"input\">\n <input\n #input\n cuiGhostInput\n formControlName=\"title\"\n type=\"text\"\n placeholder=\"{{ t('ADD_CATEGORY_NAME') }}...\"\n [isError]=\"isTitleInvalid\"\n (keyup)=\"$event.preventDefault()\"\n />\n <cui-general-control-error-hint [control]=\"titleControl\" />\n </div>\n <button\n cuiIconButton\n type=\"submit\"\n icon=\"cuiIconCheck\"\n color=\"var(--cui-success)\"\n [disabled]=\"isSubmitButtonDisabled\"\n class=\"button\"\n ></button>\n </form>\n <button\n cuiIconButton\n type=\"button\"\n icon=\"cuiIconXCircle\"\n color=\"var(--cui-danger)\"\n (click)=\"onCancel($event)\"\n [disabled]=\"isDisabled()\"\n class=\"button\"\n ></button>\n</ng-container>\n", styles: [":host{padding-top:2px;padding-bottom:2px;display:flex;gap:4px;flex-grow:1}.form,.input{flex-grow:1}.form{display:flex;gap:4px}.input{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.button{width:28px}.button:disabled{opacity:.5}\n"], dependencies: [{ kind: "ngmodule", type: CuiFormFieldModule }, { kind: "ngmodule", type: CuiHintModule }, { kind: "ngmodule", type: CuiIconButtonModule }, { kind: "component", type: i1.CuiIconButtonComponent, selector: "button[cuiIconButton][icon], a[cuiIconButton][icon]", inputs: ["icon", "color", "hoverColor"] }, { kind: "component", type: CuiGeneralControlErrorHintComponent, selector: "cui-general-control-error-hint", inputs: ["control", "isVisible"] }, { kind: "component", type: CuiGhostInputComponent, selector: "input [cuiGhostInput]", inputs: ["isError"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
64
|
-
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCategoryFormComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{ selector: 'cui-category-form', imports: [
|
|
68
|
-
CuiFormFieldModule,
|
|
69
|
-
CuiHintModule,
|
|
70
|
-
CuiIconButtonModule,
|
|
71
|
-
CuiGeneralControlErrorHintComponent,
|
|
72
|
-
CuiGhostInputComponent,
|
|
73
|
-
ReactiveFormsModule,
|
|
74
|
-
TranslocoDirective
|
|
75
|
-
], standalone: true, host: {
|
|
76
|
-
'(click)': 'onHostClick($event)'
|
|
77
|
-
}, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *transloco=\"let t\">\n <form\n [formGroup]=\"form\"\n class=\"form\"\n (ngSubmit)=\"onSubmit()\"\n >\n <div class=\"input\">\n <input\n #input\n cuiGhostInput\n formControlName=\"title\"\n type=\"text\"\n placeholder=\"{{ t('ADD_CATEGORY_NAME') }}...\"\n [isError]=\"isTitleInvalid\"\n (keyup)=\"$event.preventDefault()\"\n />\n <cui-general-control-error-hint [control]=\"titleControl\" />\n </div>\n <button\n cuiIconButton\n type=\"submit\"\n icon=\"cuiIconCheck\"\n color=\"var(--cui-success)\"\n [disabled]=\"isSubmitButtonDisabled\"\n class=\"button\"\n ></button>\n </form>\n <button\n cuiIconButton\n type=\"button\"\n icon=\"cuiIconXCircle\"\n color=\"var(--cui-danger)\"\n (click)=\"onCancel($event)\"\n [disabled]=\"isDisabled()\"\n class=\"button\"\n ></button>\n</ng-container>\n", styles: [":host{padding-top:2px;padding-bottom:2px;display:flex;gap:4px;flex-grow:1}.form,.input{flex-grow:1}.form{display:flex;gap:4px}.input{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.button{width:28px}.button:disabled{opacity:.5}\n"] }]
|
|
78
|
-
}], ctorParameters: () => [] });
|
|
79
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnktZm9ybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NhdGVnb3J5LWZvcm0vY2F0ZWdvcnktZm9ybS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NhdGVnb3J5LWZvcm0vY2F0ZWdvcnktZm9ybS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxNQUFNLEVBQ04sVUFBVSxFQUNWLE1BQU0sRUFDTixLQUFLLEVBQ0wsTUFBTSxFQUNOLFNBQVMsRUFDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3RSxPQUFPLEVB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ICAgICAgICAgICBjdWlHaG9zdElucHV0XG4gICAgICAgICAgICAgICAgZm9ybUNvbnRyb2xOYW1lPVwidGl0bGVcIlxuICAgICAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cInt7IHQoJ0FERF9DQVRFR09SWV9OQU1FJykgfX0uLi5cIlxuICAgICAgICAgICAgICAgIFtpc0Vycm9yXT1cImlzVGl0bGVJbnZhbGlkXCJcbiAgICAgICAgICAgICAgICAoa2V5dXApPVwiJGV2ZW50LnByZXZlbnREZWZhdWx0KClcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDxjdWktZ2VuZXJhbC1jb250cm9sLWVycm9yLWhpbnQgW2NvbnRyb2xdPVwidGl0bGVDb250cm9sXCIgLz5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxidXR0b25cbiAgICAgICAgICAgIGN1aUljb25CdXR0b25cbiAgICAgICAgICAgIHR5cGU9XCJzdWJtaXRcIlxuICAgICAgICAgICAgaWNvbj1cImN1aUljb25DaGVja1wiXG4gICAgICAgICAgICBjb2xvcj1cInZhcigtLWN1aS1zdWNjZXNzKVwiXG4gICAgICAgICAgICBbZGlzYWJsZWRdPVwiaXNTdWJtaXRCdXR0b25EaXNhYmxlZFwiXG4gICAgICAgICAgICBjbGFzcz1cImJ1dHRvblwiXG4gICAgICAgID48L2J1dHRvbj5cbiAgICA8L2Zvcm0+XG4gICAgPGJ1dHRvblxuICAgICAgICBjdWlJY29uQnV0dG9uXG4gICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICBpY29uPVwiY3VpSWNvblhDaXJjbGVcIlxuICAgICAgICBjb2xvcj1cInZhcigtLWN1aS1kYW5nZXIpXCJcbiAgICAgICAgKGNsaWNrKT1cIm9uQ2FuY2VsKCRldmVudClcIlxuICAgICAgICBbZGlzYWJsZWRdPVwiaXNEaXNhYmxlZCgpXCJcbiAgICAgICAgY2xhc3M9XCJidXR0b25cIlxuICAgID48L2J1dHRvbj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { CuiCategoryFormComponent } from './category-form.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NhdGVnb3J5LWZvcm0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlDYXRlZ29yeUZvcm1Db21wb25lbnQgfSBmcm9tICcuL2NhdGVnb3J5LWZvcm0uY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, effect, forwardRef, inject, input, signal } from '@angular/core';
|
|
2
|
-
import { CuiLetDirective } from '@cuby-ui/cdk';
|
|
3
|
-
import { CuiTreeStructNavigatorApiService } from '@cuby-ui/api';
|
|
4
|
-
import { finalize } from 'rxjs';
|
|
5
|
-
import { CuiButtonModule, CuiIconButtonModule, CuiSvgModule } from '../../../../../components';
|
|
6
|
-
import { CuiSelectedCategoryService } from '../../services';
|
|
7
|
-
import { CuiCategoriesListComponent } from '../categories-list';
|
|
8
|
-
import { CuiCategoryFormComponent } from '../category-form';
|
|
9
|
-
import { CuiCreateCategoryItemComponent } from '../create-category-item';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "../../../../../components/button/button.component";
|
|
12
|
-
import * as i2 from "../../../../../components/svg/svg.component";
|
|
13
|
-
export class CuiCategoryItemComponent {
|
|
14
|
-
constructor() {
|
|
15
|
-
this.treeStructNavigatorApiService = inject(CuiTreeStructNavigatorApiService);
|
|
16
|
-
this.selectedCategoryService = inject(CuiSelectedCategoryService);
|
|
17
|
-
this.isStageCreationLoading = signal(false);
|
|
18
|
-
this.stageStorageChildren = signal([]);
|
|
19
|
-
this.areChildrenOpened = signal(false);
|
|
20
|
-
this.openCloseButtonIcon = computed(() => this.areChildrenOpened() ? 'cuiIconChevronDown' : 'cuiIconChevronRight');
|
|
21
|
-
this.doChildrenExist = computed(() => this.stageStorage().children.length || this.stageStorageChildren().length);
|
|
22
|
-
this.isOpenCloseButtonHidden = computed(() => !this.doChildrenExist());
|
|
23
|
-
this.stageStorageIcon = computed(() => this.areChildrenOpened() && this.doChildrenExist() ? 'cuiIconFolderOpen' : 'cuiIconFolder');
|
|
24
|
-
this.isSubcategoryCreating = signal(false);
|
|
25
|
-
this.isSubcategoryCreationLoading = signal(false);
|
|
26
|
-
this.alignItems = computed(() => (this.isTitleEdit() ? 'flex-start' : 'center'));
|
|
27
|
-
this.isTitleEdit = computed(() => this.selectedCategoryService.editingId() === this.stageStorage().id);
|
|
28
|
-
this.isCreateCategoryControlVisible = computed(() => (this.selectedCategoryService.creatingId() === this.stageStorage().id && this.isSubcategoryCreating()) ||
|
|
29
|
-
this.isSubcategoryCreationLoading());
|
|
30
|
-
this.categoryTitle = signal('');
|
|
31
|
-
this.category = computed(() => ({
|
|
32
|
-
...this.stageStorage(),
|
|
33
|
-
title: this.categoryTitle() || this.stageStorage().title
|
|
34
|
-
}));
|
|
35
|
-
this.stageStorage = input.required();
|
|
36
|
-
this.context = input();
|
|
37
|
-
this.initStageStorageChildren();
|
|
38
|
-
}
|
|
39
|
-
onSelectCategory() {
|
|
40
|
-
this.selectedCategoryService.setCurrentCategory(this.category());
|
|
41
|
-
}
|
|
42
|
-
onToggleChildren(event) {
|
|
43
|
-
event.stopPropagation();
|
|
44
|
-
this.areChildrenOpened.update((value) => !value);
|
|
45
|
-
if (this.areChildrenOpened()) {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
this.isSubcategoryCreating.set(false);
|
|
49
|
-
}
|
|
50
|
-
onTitleChanged(title) {
|
|
51
|
-
this.onCancelTitleEdit();
|
|
52
|
-
if (title === this.category().title) {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
this.treeStructNavigatorApiService.updateTitle(this.stageStorage().id, title, this.context()).subscribe(() => {
|
|
56
|
-
this.categoryTitle.set(title);
|
|
57
|
-
if (this.category().id === this.selectedCategoryService.category()?.id) {
|
|
58
|
-
this.selectedCategoryService.setCurrentCategory(this.category());
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
onStartTitleEdit(event) {
|
|
63
|
-
event?.stopPropagation();
|
|
64
|
-
this.selectedCategoryService.setEditingId(this.stageStorage().id);
|
|
65
|
-
this.onCreatingSubcategoryCanceled();
|
|
66
|
-
}
|
|
67
|
-
onCancelTitleEdit() {
|
|
68
|
-
this.selectedCategoryService.clearEditingId();
|
|
69
|
-
}
|
|
70
|
-
onStartCreatingSubcategory(event) {
|
|
71
|
-
event.stopPropagation();
|
|
72
|
-
this.isSubcategoryCreating.set(true);
|
|
73
|
-
this.areChildrenOpened.set(true);
|
|
74
|
-
this.selectedCategoryService.setCreatingId(this.stageStorage().id);
|
|
75
|
-
}
|
|
76
|
-
onCreateNewSubcategoryCategory(title) {
|
|
77
|
-
this.isSubcategoryCreating.set(false);
|
|
78
|
-
this.isSubcategoryCreationLoading.set(true);
|
|
79
|
-
this.treeStructNavigatorApiService
|
|
80
|
-
.createStageStorageToParent(this.stageStorage().id, title, this.context())
|
|
81
|
-
.pipe(finalize(this.isSubcategoryCreationLoading.set.bind(this.isSubcategoryCreationLoading, false)))
|
|
82
|
-
.subscribe((stateStorage) => {
|
|
83
|
-
this.stageStorageChildren.update((value) => [...value, stateStorage]);
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
onCreatingSubcategoryCanceled() {
|
|
87
|
-
this.isSubcategoryCreating.set(false);
|
|
88
|
-
this.selectedCategoryService.clearCreatingId();
|
|
89
|
-
}
|
|
90
|
-
initStageStorageChildren() {
|
|
91
|
-
effect(() => {
|
|
92
|
-
if (!this.areChildrenOpened() || this.stageStorageChildren().length) {
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
const stageStorage = this.stageStorage();
|
|
96
|
-
const stageStorageChildren = stageStorage.children;
|
|
97
|
-
if (!stageStorageChildren.length) {
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
if (typeof stageStorageChildren[0] !== 'string') {
|
|
101
|
-
this.stageStorageChildren.set(stageStorageChildren);
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
this.treeStructNavigatorApiService
|
|
105
|
-
.getStageStoragesByParent(stageStorage.id, this.context())
|
|
106
|
-
.subscribe((storage) => {
|
|
107
|
-
this.stageStorageChildren.update((prevStageStorages) => prevStageStorages ? [...prevStageStorages, storage] : [storage]);
|
|
108
|
-
});
|
|
109
|
-
}, { allowSignalWrites: true });
|
|
110
|
-
}
|
|
111
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCategoryItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
112
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiCategoryItemComponent, isStandalone: true, selector: "cui-category-item", inputs: { stageStorage: { classPropertyName: "stageStorage", publicName: "stageStorage", isSignal: true, isRequired: true, transformFunction: null }, context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ng-container *cuiLet=\"category() as stage\">\n <button\n type=\"button\"\n [style.align-items]=\"alignItems()\"\n [disabled]=\"isStageCreationLoading()\"\n class=\"category\"\n (click)=\"onSelectCategory()\"\n >\n <button\n type=\"button\"\n class=\"category__open-close-button\"\n [class.category__open-close-button_hidden]=\"isOpenCloseButtonHidden()\"\n (click)=\"onToggleChildren($event)\"\n >\n <cui-svg\n [icon]=\"openCloseButtonIcon()\"\n color=\"var(--cui-base-500)\"\n />\n </button>\n <cui-svg\n [icon]=\"stageStorageIcon()\"\n color=\"var(--cui-base-500)\"\n class=\"icon\"\n />\n @if (isTitleEdit()) {\n <cui-category-form\n [defaultTitle]=\"stage.title\"\n (created)=\"onTitleChanged($event)\"\n (canceled)=\"onCancelTitleEdit()\"\n />\n } @else {\n <span class=\"category__title\">{{ stage.title }}</span>\n\n <button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconEdit\"\n class=\"category__add-subcategory-button\"\n (click)=\"onStartTitleEdit($event)\"\n ></button>\n <button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconPlus\"\n class=\"category__add-subcategory-button\"\n (click)=\"onStartCreatingSubcategory($event)\"\n ></button>\n }\n </button>\n <div\n [hidden]=\"!areChildrenOpened()\"\n class=\"list-wrapper\"\n >\n <cui-categories-list\n [stageStorages]=\"stageStorageChildren()\"\n [context]=\"context()\"\n />\n @if (isCreateCategoryControlVisible()) {\n <cui-create-category-item\n class=\"create-category\"\n [isDisabled]=\"isSubcategoryCreationLoading()\"\n (created)=\"onCreateNewSubcategoryCategory($event)\"\n (canceled)=\"onCreatingSubcategoryCanceled()\"\n />\n }\n </div>\n</ng-container>\n", styles: [".category{display:flex;gap:4px;padding:2px 4px;width:100%;min-height:32px;border-radius:8px}@media (hover: hover){.category:hover{background:var(--cui-base-10)}}.category:active{background:var(--cui-base-10)}.category__open-close-button{display:flex;padding:2px;border-radius:4px;margin:4px 0}@media (hover: hover){.category__open-close-button:hover{background:var(--cui-base-100)}}.category__open-close-button:active{background:var(--cui-base-100)}.category__open-close-button_hidden{visibility:hidden}.category__title{flex:1;text-align:start;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.category__add-subcategory-button{--cui-base-50: var(--cui-base-200)}.list-wrapper{padding-left:8px}.create-category{margin-left:24px}.icon{padding-right:2px;padding-left:2px;height:28px}\n"], dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => CuiButtonModule) }, { kind: "component", type: i0.forwardRef(() => i1.CuiButtonComponent), selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "ngmodule", type: i0.forwardRef(() => CuiIconButtonModule) }, { kind: "directive", type: i0.forwardRef(() => CuiLetDirective), selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "ngmodule", type: i0.forwardRef(() => CuiSvgModule) }, { kind: "component", type: i0.forwardRef(() => i2.CuiSvgComponent), selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "component", type: i0.forwardRef(() => CuiCategoryFormComponent), selector: "cui-category-form", inputs: ["isDisabled", "defaultTitle"], outputs: ["created", "canceled"] }, { kind: "component", type: i0.forwardRef(() => CuiCreateCategoryItemComponent), selector: "cui-create-category-item", inputs: ["isDisabled"], outputs: ["created", "canceled"] }, { kind: "component", type: i0.forwardRef(() => CuiCategoriesListComponent), selector: "cui-categories-list", inputs: ["stageStorages", "context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
113
|
-
}
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCategoryItemComponent, decorators: [{
|
|
115
|
-
type: Component,
|
|
116
|
-
args: [{ selector: 'cui-category-item', imports: [
|
|
117
|
-
CuiButtonModule,
|
|
118
|
-
CuiIconButtonModule,
|
|
119
|
-
CuiLetDirective,
|
|
120
|
-
CuiSvgModule,
|
|
121
|
-
CuiCategoryFormComponent,
|
|
122
|
-
CuiCreateCategoryItemComponent,
|
|
123
|
-
forwardRef(() => CuiCategoriesListComponent)
|
|
124
|
-
], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *cuiLet=\"category() as stage\">\n <button\n type=\"button\"\n [style.align-items]=\"alignItems()\"\n [disabled]=\"isStageCreationLoading()\"\n class=\"category\"\n (click)=\"onSelectCategory()\"\n >\n <button\n type=\"button\"\n class=\"category__open-close-button\"\n [class.category__open-close-button_hidden]=\"isOpenCloseButtonHidden()\"\n (click)=\"onToggleChildren($event)\"\n >\n <cui-svg\n [icon]=\"openCloseButtonIcon()\"\n color=\"var(--cui-base-500)\"\n />\n </button>\n <cui-svg\n [icon]=\"stageStorageIcon()\"\n color=\"var(--cui-base-500)\"\n class=\"icon\"\n />\n @if (isTitleEdit()) {\n <cui-category-form\n [defaultTitle]=\"stage.title\"\n (created)=\"onTitleChanged($event)\"\n (canceled)=\"onCancelTitleEdit()\"\n />\n } @else {\n <span class=\"category__title\">{{ stage.title }}</span>\n\n <button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconEdit\"\n class=\"category__add-subcategory-button\"\n (click)=\"onStartTitleEdit($event)\"\n ></button>\n <button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconPlus\"\n class=\"category__add-subcategory-button\"\n (click)=\"onStartCreatingSubcategory($event)\"\n ></button>\n }\n </button>\n <div\n [hidden]=\"!areChildrenOpened()\"\n class=\"list-wrapper\"\n >\n <cui-categories-list\n [stageStorages]=\"stageStorageChildren()\"\n [context]=\"context()\"\n />\n @if (isCreateCategoryControlVisible()) {\n <cui-create-category-item\n class=\"create-category\"\n [isDisabled]=\"isSubcategoryCreationLoading()\"\n (created)=\"onCreateNewSubcategoryCategory($event)\"\n (canceled)=\"onCreatingSubcategoryCanceled()\"\n />\n }\n </div>\n</ng-container>\n", styles: [".category{display:flex;gap:4px;padding:2px 4px;width:100%;min-height:32px;border-radius:8px}@media (hover: hover){.category:hover{background:var(--cui-base-10)}}.category:active{background:var(--cui-base-10)}.category__open-close-button{display:flex;padding:2px;border-radius:4px;margin:4px 0}@media (hover: hover){.category__open-close-button:hover{background:var(--cui-base-100)}}.category__open-close-button:active{background:var(--cui-base-100)}.category__open-close-button_hidden{visibility:hidden}.category__title{flex:1;text-align:start;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.category__add-subcategory-button{--cui-base-50: var(--cui-base-200)}.list-wrapper{padding-left:8px}.create-category{margin-left:24px}.icon{padding-right:2px;padding-left:2px;height:28px}\n"] }]
|
|
125
|
-
}], ctorParameters: () => [] });
|
|
126
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnktaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NhdGVnb3J5LWl0ZW0vY2F0ZWdvcnktaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NhdGVnb3J5LWl0ZW0vY2F0ZWdvcnktaXRlbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3hILE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDL0MsT0FBTyxFQUFpQixnQ0FBZ0MsRUFBYyxNQUFNLGNBQWMsQ0FBQztBQUUzRixPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBRW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FRyZWVTdHJ1Y3RbXSk7XG5cbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIHRoaXMudHJlZVN0cnVjdE5hdmlnYXRvckFwaVNlcnZpY2VcbiAgICAgICAgICAgICAgICAgICAgLmdldFN0YWdlU3RvcmFnZXNCeVBhcmVudChzdGFnZVN0b3JhZ2UuaWQsIHRoaXMuY29udGV4dCgpKVxuICAgICAgICAgICAgICAgICAgICAuc3Vic2NyaWJlKChzdG9yYWdlKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnN0YWdlU3RvcmFnZUNoaWxkcmVuLnVwZGF0ZSgocHJldlN0YWdlU3RvcmFnZXMpID0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJldlN0YWdlU3RvcmFnZXMgPyBbLi4ucHJldlN0YWdlU3RvcmFnZXMsIHN0b3JhZ2VdIDogW3N0b3JhZ2VdXG4gICAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB7IGFsbG93U2lnbmFsV3JpdGVzOiB0cnVlIH1cbiAgICAgICAgKTtcbiAgICB9XG59XG4iLCI8bmctY29udGFpbmVyICpjdWlMZXQ9XCJjYXRlZ29yeSgpIGFzIHN0YWdlXCI+XG4gICAgPGJ1dHRvblxuICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgW3N0eWxlLmFsaWduLWl0ZW1zXT1cImFsaWduSXRlbXMoKVwiXG4gICAgICAgIFtkaXNhYmxlZF09XCJpc1N0YWdlQ3JlYXRpb25Mb2FkaW5nKClcIlxuICAgICAgICBjbGFzcz1cImNhdGVnb3J5XCJcbiAgICAgICAgKGNsaWNrKT1cIm9uU2VsZWN0Q2F0ZWdvcnkoKVwiXG4gICAgPlxuICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgIGNsYXNzPVwiY2F0ZWdvcnlfX29wZW4tY2xvc2UtYnV0dG9uXCJcbiAgICAgICAgICAgIFtjbGFzcy5jYXRlZ29yeV9fb3Blbi1jbG9zZS1idXR0b25faGlkZGVuXT1cImlzT3BlbkNsb3NlQnV0dG9uSGlkZGVuKClcIlxuICAgICAgICAgICAgKGNsaWNrKT1cIm9uVG9nZ2xlQ2hpbGRyZW4oJGV2ZW50KVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxjdWktc3ZnXG4gICAgICAgICAgICAgICAgW2ljb25dPVwib3BlbkNsb3NlQnV0dG9uSWNvbigpXCJcbiAgICAgICAgICAgICAgICBjb2xvcj1cInZhcigtLWN1aS1iYXNlLTUwMClcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9idXR0b24+XG4gICAgICAgIDxjdWktc3ZnXG4gICAgICAgICAgICBbaWNvbl09XCJzdGFnZVN0b3JhZ2VJY29uKClcIlxuICAgICAgICAgICAgY29sb3I9XCJ2YXIoLS1jdWktYmFzZS01MDApXCJcbiAgICAgICAgICAgIGNsYXNzPVwiaWNvblwiXG4gICAgICAgIC8+XG4gICAgICAgIEBpZiAoaXNUaXRsZUVkaXQoKSkge1xuICAgICAgICAgICAgPGN1aS1jYXRlZ29yeS1mb3JtXG4gICAgICAgICAgICAgICAgW2RlZmF1bHRUaXRsZV09XCJzdGFnZS50aXRsZVwiXG4gICAgICAgICAgICAgICAgKGNyZWF0ZWQpPVwib25UaXRsZUNoYW5nZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgKGNhbmNlbGVkKT1cIm9uQ2FuY2VsVGl0bGVFZGl0KClcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgfSBAZWxzZSB7XG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cImNhdGVnb3J5X190aXRsZVwiPnt7IHN0YWdlLnRpdGxlIH19PC9zcGFuPlxuXG4gICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgY3VpQnV0dG9uXG4gICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgYXBwZWFyYW5jZT1cImdob3N0XCJcbiAgICAgICAgICAgICAgICBzaXplPVwieHhzXCJcbiAgICAgICAgICAgICAgICBpY29uPVwiY3VpSWNvbkVkaXRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiY2F0ZWdvcnlfX2FkZC1zdWJjYXRlZ29yeS1idXR0b25cIlxuICAgICAgICAgICAgICAgIChjbGljayk9XCJvblN0YXJ0VGl0bGVFZGl0KCRldmVudClcIlxuICAgICAgICAgICAgPjwvYnV0dG9uPlxuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgIGN1aUJ1dHRvblxuICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJnaG9zdFwiXG4gICAgICAgICAgICAgICAgc2l6ZT1cInh4c1wiXG4gICAgICAgICAgICAgICAgaWNvbj1cImN1aUljb25QbHVzXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cImNhdGVnb3J5X19hZGQtc3ViY2F0ZWdvcnktYnV0dG9uXCJcbiAgICAgICAgICAgICAgICAoY2xpY2spPVwib25TdGFydENyZWF0aW5nU3ViY2F0ZWdvcnkoJGV2ZW50KVwiXG4gICAgICAgICAgICA+PC9idXR0b24+XG4gICAgICAgIH1cbiAgICA8L2J1dHRvbj5cbiAgICA8ZGl2XG4gICAgICAgIFtoaWRkZW5dPVwiIWFyZUNoaWxkcmVuT3BlbmVkKClcIlxuICAgICAgICBjbGFzcz1cImxpc3Qtd3JhcHBlclwiXG4gICAgPlxuICAgICAgICA8Y3VpLWNhdGVnb3JpZXMtbGlzdFxuICAgICAgICAgICAgW3N0YWdlU3RvcmFnZXNdPVwic3RhZ2VTdG9yYWdlQ2hpbGRyZW4oKVwiXG4gICAgICAgICAgICBbY29udGV4dF09XCJjb250ZXh0KClcIlxuICAgICAgICAvPlxuICAgICAgICBAaWYgKGlzQ3JlYXRlQ2F0ZWdvcnlDb250cm9sVmlzaWJsZSgpKSB7XG4gICAgICAgICAgICA8Y3VpLWNyZWF0ZS1jYXRlZ29yeS1pdGVtXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJjcmVhdGUtY2F0ZWdvcnlcIlxuICAgICAgICAgICAgICAgIFtpc0Rpc2FibGVkXT1cImlzU3ViY2F0ZWdvcnlDcmVhdGlvbkxvYWRpbmcoKVwiXG4gICAgICAgICAgICAgICAgKGNyZWF0ZWQpPVwib25DcmVhdGVOZXdTdWJjYXRlZ29yeUNhdGVnb3J5KCRldmVudClcIlxuICAgICAgICAgICAgICAgIChjYW5jZWxlZCk9XCJvbkNyZWF0aW5nU3ViY2F0ZWdvcnlDYW5jZWxlZCgpXCJcbiAgICAgICAgICAgIC8+XG4gICAgICAgIH1cbiAgICA8L2Rpdj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { CuiCategoryItemComponent } from './category-item.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NhdGVnb3J5LWl0ZW0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlDYXRlZ29yeUl0ZW1Db21wb25lbnQgfSBmcm9tICcuL2NhdGVnb3J5LWl0ZW0uY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input, output } from '@angular/core';
|
|
2
|
-
import { CuiSvgModule } from '../../../../../components';
|
|
3
|
-
import { CuiCategoryFormComponent } from '../category-form';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../../../components/svg/svg.component";
|
|
6
|
-
export class CuiCreateCategoryItemComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.created = output();
|
|
9
|
-
this.canceled = output();
|
|
10
|
-
this.isDisabled = input(false);
|
|
11
|
-
}
|
|
12
|
-
onSubmit(title) {
|
|
13
|
-
this.created.emit(title);
|
|
14
|
-
}
|
|
15
|
-
onCancel() {
|
|
16
|
-
this.canceled.emit();
|
|
17
|
-
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCreateCategoryItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiCreateCategoryItemComponent, isStandalone: true, selector: "cui-create-category-item", inputs: { isDisabled: { classPropertyName: "isDisabled", publicName: "isDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { created: "created", canceled: "canceled" }, ngImport: i0, template: "<cui-svg\n icon=\"cuiIconFolder\"\n color=\"var(--cui-base-500)\"\n class=\"icon\"\n/>\n<cui-category-form\n [isDisabled]=\"isDisabled()\"\n (created)=\"onSubmit($event)\"\n (canceled)=\"onCancel()\"\n/>\n", styles: [":host{padding-right:4px;padding-left:4px;display:flex;gap:4px;align-items:flex-start;min-height:32px}.icon{padding:6px 2px}\n"], dependencies: [{ kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i1.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "component", type: CuiCategoryFormComponent, selector: "cui-category-form", inputs: ["isDisabled", "defaultTitle"], outputs: ["created", "canceled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
20
|
-
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCreateCategoryItemComponent, decorators: [{
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{ selector: 'cui-create-category-item', imports: [CuiSvgModule, CuiCategoryFormComponent], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-svg\n icon=\"cuiIconFolder\"\n color=\"var(--cui-base-500)\"\n class=\"icon\"\n/>\n<cui-category-form\n [isDisabled]=\"isDisabled()\"\n (created)=\"onSubmit($event)\"\n (canceled)=\"onCancel()\"\n/>\n", styles: [":host{padding-right:4px;padding-left:4px;display:flex;gap:4px;align-items:flex-start;min-height:32px}.icon{padding:6px 2px}\n"] }]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWNhdGVnb3J5LWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL2NhdGVnb3JpZXMvY29tcG9uZW50cy9jcmVhdGUtY2F0ZWdvcnktaXRlbS9jcmVhdGUtY2F0ZWdvcnktaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NyZWF0ZS1jYXRlZ29yeS1pdGVtL2NyZWF0ZS1jYXRlZ29yeS1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyx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ktY2F0ZWdvcnktZm9ybVxuICAgIFtpc0Rpc2FibGVkXT1cImlzRGlzYWJsZWQoKVwiXG4gICAgKGNyZWF0ZWQpPVwib25TdWJtaXQoJGV2ZW50KVwiXG4gICAgKGNhbmNlbGVkKT1cIm9uQ2FuY2VsKClcIlxuLz5cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { CuiCreateCategoryItemComponent } from './create-category-item.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2NyZWF0ZS1jYXRlZ29yeS1pdGVtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ3VpQ3JlYXRlQ2F0ZWdvcnlJdGVtQ29tcG9uZW50IH0gZnJvbSAnLi9jcmVhdGUtY2F0ZWdvcnktaXRlbS5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { CuiCategoriesListComponent } from './categories-list';
|
|
2
|
-
export { CuiCreateCategoryItemComponent } from './create-category-item';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQy9ELE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ3VpQ2F0ZWdvcmllc0xpc3RDb21wb25lbnQgfSBmcm9tICcuL2NhdGVnb3JpZXMtbGlzdCc7XG5leHBvcnQgeyBDdWlDcmVhdGVDYXRlZ29yeUl0ZW1Db21wb25lbnQgfSBmcm9tICcuL2NyZWF0ZS1jYXRlZ29yeS1pdGVtJztcbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { CuiCategoriesComponent } from './categories.component';
|
|
2
|
-
export { CuiSelectedCategoryService } from './services';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxZQUFZLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlDYXRlZ29yaWVzQ29tcG9uZW50IH0gZnJvbSAnLi9jYXRlZ29yaWVzLmNvbXBvbmVudCc7XG5leHBvcnQgeyBDdWlTZWxlY3RlZENhdGVnb3J5U2VydmljZSB9IGZyb20gJy4vc2VydmljZXMnO1xuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { CuiSelectedCategoryService } from './selected-category.service';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY2F0ZWdvcmllcy9zZXJ2aWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aVNlbGVjdGVkQ2F0ZWdvcnlTZXJ2aWNlIH0gZnJvbSAnLi9zZWxlY3RlZC1jYXRlZ29yeS5zZXJ2aWNlJztcbiJdfQ==
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Injectable, signal } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CuiSelectedCategoryService {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.editingIdSignal = signal(null);
|
|
6
|
-
this.creatingIdSignal = signal(null);
|
|
7
|
-
this.categorySignal = signal(null);
|
|
8
|
-
this.editingId = this.editingIdSignal.asReadonly();
|
|
9
|
-
this.creatingId = this.creatingIdSignal.asReadonly();
|
|
10
|
-
this.category = this.categorySignal.asReadonly();
|
|
11
|
-
}
|
|
12
|
-
setCurrentCategory(category) {
|
|
13
|
-
this.categorySignal.set(category);
|
|
14
|
-
}
|
|
15
|
-
setEditingId(id) {
|
|
16
|
-
this.editingIdSignal.set(id);
|
|
17
|
-
this.clearCreatingId();
|
|
18
|
-
}
|
|
19
|
-
setCreatingId(id) {
|
|
20
|
-
this.creatingIdSignal.set(id);
|
|
21
|
-
this.clearEditingId();
|
|
22
|
-
}
|
|
23
|
-
clearEditingId() {
|
|
24
|
-
this.editingIdSignal.set('');
|
|
25
|
-
}
|
|
26
|
-
clearCreatingId() {
|
|
27
|
-
this.creatingIdSignal.set('');
|
|
28
|
-
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectedCategoryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
30
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectedCategoryService, providedIn: 'root' }); }
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectedCategoryService, decorators: [{
|
|
33
|
-
type: Injectable,
|
|
34
|
-
args: [{
|
|
35
|
-
providedIn: 'root'
|
|
36
|
-
}]
|
|
37
|
-
}] });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0ZWQtY2F0ZWdvcnkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9jYXRlZ29yaWVzL3NlcnZpY2VzL3NlbGVjdGVkLWNhdGVnb3J5LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBT25ELE1BQU0sT0FBTywwQkFBMEI7SUFIdkM7UUFJcUIsb0JBQWUsR0FBRyxNQUFNLENBQXNCLElBQUksQ0FBQyxDQUFDO1FBQ3BELHFCQUFnQixHQUFHLE1BQU0sQ0FBc0IsSUFBSSxDQUFDLENBQUM7UUFDckQsbUJBQWMsR0FBRyxNQUFNLENBQTBCLElBQUksQ0FBQyxDQUFDO1FBRXhELGNBQVMsR0FBRyxJQUFJLENBQUMsZUFBZSxDQUFDLFVBQVUsRUFBRSxDQUFDO1FBQzlDLGVBQVUsR0FBRyxJQUF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