@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,36 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';
|
|
2
|
-
import { TranslocoService } from '@jsverse/transloco';
|
|
3
|
-
import { CuiSvgModule } from '../../../components';
|
|
4
|
-
import { CuiLoaderService, CuiLoadingState } from '../../../services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../../components/svg/svg.component";
|
|
7
|
-
export class CuiStatedLoaderComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.loaderService = inject(CuiLoaderService);
|
|
10
|
-
this.translocoService = inject(TranslocoService);
|
|
11
|
-
this.state = CuiLoadingState;
|
|
12
|
-
this.LoaderString = {
|
|
13
|
-
[CuiLoadingState.LOADING]: `${this.translocoService.translate('SAVING')}...`,
|
|
14
|
-
[CuiLoadingState.COMPLETED]: this.translocoService.translate('SAVED'),
|
|
15
|
-
[CuiLoadingState.INITIAL]: ''
|
|
16
|
-
};
|
|
17
|
-
this.LoaderIcon = {
|
|
18
|
-
[CuiLoadingState.LOADING]: 'cuiIconRefreshCcw',
|
|
19
|
-
[CuiLoadingState.COMPLETED]: 'cuiIconCheck',
|
|
20
|
-
[CuiLoadingState.INITIAL]: ''
|
|
21
|
-
};
|
|
22
|
-
this.loaderState = this.loaderService.loaderState;
|
|
23
|
-
this.loaderString = computed(() => this.LoaderString[this.loaderState()]);
|
|
24
|
-
this.loaderIcon = computed(() => this.LoaderIcon[this.loaderState()]);
|
|
25
|
-
}
|
|
26
|
-
ngOnDestroy() {
|
|
27
|
-
this.loaderService.reset();
|
|
28
|
-
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStatedLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiStatedLoaderComponent, isStandalone: true, selector: "cui-stated-loader", ngImport: i0, template: "@if (loaderState() !== state.INITIAL) {\n <cui-svg\n [icon]=\"loaderIcon()\"\n color=\"var(--cui-base-500)\"\n [class.icon_loading]=\"loaderState() === state.LOADING\"\n />\n <span>{{ loaderString() }}</span>\n}\n", styles: [":host{padding:6px 8px;font-weight:500;font-size:12px;line-height:14px;display:flex;align-items:center;gap:6px;color:var(--cui-base-500)}.icon_loading{animation:spin 1s ease-in-out infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}\n"], dependencies: [{ kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i1.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStatedLoaderComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{ selector: 'cui-stated-loader', imports: [CuiSvgModule], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (loaderState() !== state.INITIAL) {\n <cui-svg\n [icon]=\"loaderIcon()\"\n color=\"var(--cui-base-500)\"\n [class.icon_loading]=\"loaderState() === state.LOADING\"\n />\n <span>{{ loaderString() }}</span>\n}\n", styles: [":host{padding:6px 8px;font-weight:500;font-size:12px;line-height:14px;display:flex;align-items:center;gap:6px;color:var(--cui-base-500)}.icon_loading{animation:spin 1s ease-in-out infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}\n"] }]
|
|
35
|
-
}] });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGVkLWxvYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RhdGVkLWxvYWRlci9zdGF0ZWQtbG9hZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9zdGF0ZWQtbG9hZGVyL3N0YXRlZC1sb2FkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFTLE1BQU0sZUFBZSxDQUFDO0FBRTVGLE9BQU8sRUFBRSx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XNoQ2N3JyxcbiAgICAgICAgW0N1aUxvYWRpbmdTdGF0ZS5DT01QTEVURURdOiAnY3VpSWNvbkNoZWNrJyxcbiAgICAgICAgW0N1aUxvYWRpbmdTdGF0ZS5JTklUSUFMXTogJydcbiAgICB9O1xuXG4gICAgcHJvdGVjdGVkIHJlYWRvbmx5IGxvYWRlclN0YXRlID0gdGhpcy5sb2FkZXJTZXJ2aWNlLmxvYWRlclN0YXRlO1xuICAgIHByb3RlY3RlZCByZWFkb25seSBsb2FkZXJTdHJpbmcgPSBjb21wdXRlZCgoKSA9PiB0aGlzLkxvYWRlclN0cmluZ1t0aGlzLmxvYWRlclN0YXRlKCldKTtcbiAgICBwcm90ZWN0ZWQgcmVhZG9ubHkgbG9hZGVySWNvbiA9IGNvbXB1dGVkKCgpID0+IHRoaXMuTG9hZGVySWNvblt0aGlzLmxvYWRlclN0YXRlKCldKTtcblxuICAgIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5sb2FkZXJTZXJ2aWNlLnJlc2V0KCk7XG4gICAgfVxufVxuIiwiQGlmIChsb2FkZXJTdGF0ZSgpICE9PSBzdGF0ZS5JTklUSUFMKSB7XG4gICAgPGN1aS1zdmdcbiAgICAgICAgW2ljb25dPVwibG9hZGVySWNvbigpXCJcbiAgICAgICAgY29sb3I9XCJ2YXIoLS1jdWktYmFzZS01MDApXCJcbiAgICAgICAgW2NsYXNzLmljb25fbG9hZGluZ109XCJsb2FkZXJTdGF0ZSgpID09PSBzdGF0ZS5MT0FESU5HXCJcbiAgICAvPlxuICAgIDxzcGFuPnt7IGxvYWRlclN0cmluZygpIH19PC9zcGFuPlxufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './storage-list-item';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RvcmFnZS1saXN0L2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3RvcmFnZS1saXN0LWl0ZW0nO1xuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { CuiStorageListItemComponent } from './storage-list-item.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RvcmFnZS1saXN0L2NvbXBvbmVudHMvc3RvcmFnZS1saXN0LWl0ZW0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlTdG9yYWdlTGlzdEl0ZW1Db21wb25lbnQgfSBmcm9tICcuL3N0b3JhZ2UtbGlzdC1pdGVtLmNvbXBvbmVudCc7XG4iXX0=
|
package/esm2022/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.mjs
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, computed, effect, forwardRef, inject, input, signal, untracked } from '@angular/core';
|
|
3
|
-
import { CuiLetDirective } from '@cuby-ui/cdk';
|
|
4
|
-
import { finalize } from 'rxjs';
|
|
5
|
-
import { CuiSvgModule } from '../../../../../components';
|
|
6
|
-
import { CuiStorageListComponent } from '../../index';
|
|
7
|
-
import { CUI_STORAGE_LIST_SERVICE_TOKEN } from '../../storage-list.options';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "../../../../../components/svg/svg.component";
|
|
10
|
-
export class CuiStorageListItemComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.storageListService = inject(CUI_STORAGE_LIST_SERVICE_TOKEN);
|
|
13
|
-
this.isLoadingChildren = false;
|
|
14
|
-
this.isLoadingElements = false;
|
|
15
|
-
this.storageChildren = signal([]);
|
|
16
|
-
this.storageElements = signal([]);
|
|
17
|
-
this.areContentOpened = signal(false);
|
|
18
|
-
this.openCloseButtonIcon = computed(() => this.areContentOpened() ? 'cuiIconChevronDown' : 'cuiIconChevronRight');
|
|
19
|
-
this.hasContent = computed(() => this.storage().children.length || this.storageChildren().length || this.storageElements().length);
|
|
20
|
-
this.storage = input.required();
|
|
21
|
-
this.elementSlot = input();
|
|
22
|
-
this.itemSlot = input();
|
|
23
|
-
this.initStorageChildrenEffect();
|
|
24
|
-
this.initStorageElementsEffect();
|
|
25
|
-
}
|
|
26
|
-
onToggleChildren(event) {
|
|
27
|
-
event.preventDefault();
|
|
28
|
-
this.areContentOpened.update((prevAreChildrenOpened) => !prevAreChildrenOpened);
|
|
29
|
-
}
|
|
30
|
-
initStorageChildrenEffect() {
|
|
31
|
-
effect(() => {
|
|
32
|
-
const storage = this.storage();
|
|
33
|
-
this.areContentOpened();
|
|
34
|
-
untracked(this.setChildren.bind(this, storage));
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
initStorageElementsEffect() {
|
|
38
|
-
effect(() => {
|
|
39
|
-
const storage = this.storage();
|
|
40
|
-
untracked(this.setElements.bind(this, storage));
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
setChildren(storage) {
|
|
44
|
-
const storageChildren = storage.children;
|
|
45
|
-
if (!storageChildren.length) {
|
|
46
|
-
this.storageChildren.set([]);
|
|
47
|
-
}
|
|
48
|
-
if (this.isLoadingChildren || !this.areContentOpened()) {
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
if (typeof storageChildren[0] !== 'string') {
|
|
52
|
-
this.storageChildren.set(storageChildren);
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
this.isLoadingChildren = true;
|
|
56
|
-
this.storageListService
|
|
57
|
-
.getChildren?.(storage, this.storageChildren())
|
|
58
|
-
.pipe(finalize(() => (this.isLoadingChildren = false)))
|
|
59
|
-
.subscribe((response) => this.storageChildren.set(response));
|
|
60
|
-
}
|
|
61
|
-
setElements(storage) {
|
|
62
|
-
const storageElements = storage.elements;
|
|
63
|
-
if (this.isLoadingElements) {
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
if (!storageElements?.length) {
|
|
67
|
-
this.storageElements.set([]);
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
if (this.storageElements().length) {
|
|
71
|
-
this.storageElements.set(storageElements);
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
this.isLoadingElements = true;
|
|
75
|
-
this.storageListService
|
|
76
|
-
.getElements?.(storage, this.storageElements())
|
|
77
|
-
.pipe(finalize(() => (this.isLoadingElements = false)))
|
|
78
|
-
.subscribe((response) => this.storageElements.set(response));
|
|
79
|
-
}
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStorageListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
81
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiStorageListItemComponent, isStandalone: true, selector: "li[cuiStorageListItem]", inputs: { storage: { classPropertyName: "storage", publicName: "storage", isSignal: true, isRequired: true, transformFunction: null }, elementSlot: { classPropertyName: "elementSlot", publicName: "elementSlot", isSignal: true, isRequired: false, transformFunction: null }, itemSlot: { classPropertyName: "itemSlot", publicName: "itemSlot", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ng-container *cuiLet=\"storage() as storage\">\n <div class=\"wrapper\">\n <ng-template #openCloseButton>\n @if (hasContent()) {\n <button\n type=\"button\"\n class=\"button\"\n (click)=\"onToggleChildren($event)\"\n >\n <cui-svg\n [icon]=\"openCloseButtonIcon()\"\n color=\"var(--cui-base-500)\"\n />\n </button>\n }\n </ng-template>\n\n @if (itemSlot(); as item) {\n <ng-container\n *ngTemplateOutlet=\"\n item;\n context: {\n $implicit: storage,\n openCloseButton,\n areContentOpened: areContentOpened(),\n hasContent: hasContent()\n }\n \"\n />\n }\n\n <div\n class=\"content\"\n [class.content_hidden]=\"!areContentOpened()\"\n >\n <div class=\"lists\">\n @if (storageChildren().length) {\n <cui-storage-list\n [storages]=\"storageChildren()\"\n [elementSlot]=\"elementSlot()\"\n [itemSlot]=\"itemSlot()\"\n />\n }\n @if (storageElements().length && elementSlot()) {\n <ul class=\"list\">\n @for (element of storageElements(); track element.id) {\n <li class=\"item\">\n <ng-container\n *ngTemplateOutlet=\"\n elementSlot()!;\n context: { $implicit: element, storage: storage }\n \"\n />\n </li>\n }\n </ul>\n }\n </div>\n </div>\n </div>\n</ng-container>\n", styles: [".button{padding:2px;display:flex;border-radius:4px}@media (hover: hover){.button:hover{background:var(--cui-base-200)}}.button :active{background:var(--cui-base-200)}.icon{padding:2px}.wrapper{display:flex;flex-direction:column;gap:8px}.content{padding-left:20px}.content_hidden{display:none}.lists{display:flex;flex-direction:column;gap:8px;position:relative}.lists>*{z-index:1}.lists:has(>:nth-child(2)):before{content:\"\";position:absolute;top:0;bottom:0;left:8px;border-left:1px solid var(--cui-base-200)}.list{display:flex;flex-direction:column;gap:8px}.item{position:relative}.item:not(:last-child):before{content:\"\";position:absolute;top:0;left:8px;bottom:-8px;z-index:-1;width:1px;background:var(--cui-base-200)}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => CuiLetDirective), selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "ngmodule", type: i0.forwardRef(() => CuiSvgModule) }, { kind: "component", type: i0.forwardRef(() => i1.CuiSvgComponent), selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "directive", type: i0.forwardRef(() => NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i0.forwardRef(() => CuiStorageListComponent), selector: "cui-storage-list", inputs: ["storages", "elementSlot", "itemSlot"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
82
|
-
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStorageListItemComponent, decorators: [{
|
|
84
|
-
type: Component,
|
|
85
|
-
args: [{ selector: 'li[cuiStorageListItem]', imports: [CuiLetDirective, CuiSvgModule, NgTemplateOutlet, forwardRef(() => CuiStorageListComponent)], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *cuiLet=\"storage() as storage\">\n <div class=\"wrapper\">\n <ng-template #openCloseButton>\n @if (hasContent()) {\n <button\n type=\"button\"\n class=\"button\"\n (click)=\"onToggleChildren($event)\"\n >\n <cui-svg\n [icon]=\"openCloseButtonIcon()\"\n color=\"var(--cui-base-500)\"\n />\n </button>\n }\n </ng-template>\n\n @if (itemSlot(); as item) {\n <ng-container\n *ngTemplateOutlet=\"\n item;\n context: {\n $implicit: storage,\n openCloseButton,\n areContentOpened: areContentOpened(),\n hasContent: hasContent()\n }\n \"\n />\n }\n\n <div\n class=\"content\"\n [class.content_hidden]=\"!areContentOpened()\"\n >\n <div class=\"lists\">\n @if (storageChildren().length) {\n <cui-storage-list\n [storages]=\"storageChildren()\"\n [elementSlot]=\"elementSlot()\"\n [itemSlot]=\"itemSlot()\"\n />\n }\n @if (storageElements().length && elementSlot()) {\n <ul class=\"list\">\n @for (element of storageElements(); track element.id) {\n <li class=\"item\">\n <ng-container\n *ngTemplateOutlet=\"\n elementSlot()!;\n context: { $implicit: element, storage: storage }\n \"\n />\n </li>\n }\n </ul>\n }\n </div>\n </div>\n </div>\n</ng-container>\n", styles: [".button{padding:2px;display:flex;border-radius:4px}@media (hover: hover){.button:hover{background:var(--cui-base-200)}}.button :active{background:var(--cui-base-200)}.icon{padding:2px}.wrapper{display:flex;flex-direction:column;gap:8px}.content{padding-left:20px}.content_hidden{display:none}.lists{display:flex;flex-direction:column;gap:8px;position:relative}.lists>*{z-index:1}.lists:has(>:nth-child(2)):before{content:\"\";position:absolute;top:0;bottom:0;left:8px;border-left:1px solid var(--cui-base-200)}.list{display:flex;flex-direction:column;gap:8px}.item{position:relative}.item:not(:last-child):before{content:\"\";position:absolute;top:0;left:8px;bottom:-8px;z-index:-1;width:1px;background:var(--cui-base-200)}\n"] }]
|
|
86
|
-
}], ctorParameters: () => [] });
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZS1saXN0LWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3N0b3JhZ2UtbGlzdC9jb21wb25lbnRzL3N0b3JhZ2UtbGlzdC1pdGVtL3N0b3JhZ2UtbGlzdC1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9zdG9yYWdlLWxpc3QvY29tcG9uZW50cy9zdG9yYWdlLWxpc3QtaXRlbS9zdG9yYWdlLWxpc3QtaXRlbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUVuRCxPQUFPLEVBQ0gsdUJBQ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VsZW1lbnRzLnNldChzdG9yYWdlRWxlbWVudHMpO1xuXG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmlzTG9hZGluZ0VsZW1lbnRzID0gdHJ1ZTtcbiAgICAgICAgdGhpcy5zdG9yYWdlTGlzdFNlcnZpY2VcbiAgICAgICAgICAgIC5nZXRFbGVtZW50cz8uKHN0b3JhZ2UsIHRoaXMuc3RvcmFnZUVsZW1lbnRzKCkpXG4gICAgICAgICAgICAucGlwZShmaW5hbGl6ZSgoKSA9PiAodGhpcy5pc0xvYWRpbmdFbGVtZW50cyA9IGZhbHNlKSkpXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChyZXNwb25zZSkgPT4gdGhpcy5zdG9yYWdlRWxlbWVudHMuc2V0KHJlc3BvbnNlKSk7XG4gICAgfVxufVxuIiwiPG5nLWNvbnRhaW5lciAqY3VpTGV0PVwic3RvcmFnZSgpIGFzIHN0b3JhZ2VcIj5cbiAgICA8ZGl2IGNsYXNzPVwid3JhcHBlclwiPlxuICAgICAgICA8bmctdGVtcGxhdGUgI29wZW5DbG9zZUJ1dHRvbj5cbiAgICAgICAgICAgIEBpZiAoaGFzQ29udGVudCgpKSB7XG4gICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwib25Ub2dnbGVDaGlsZHJlbigkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxjdWktc3ZnXG4gICAgICAgICAgICAgICAgICAgICAgICBbaWNvbl09XCJvcGVuQ2xvc2VCdXR0b25JY29uKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgY29sb3I9XCJ2YXIoLS1jdWktYmFzZS01MDApXCJcbiAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgICBAaWYgKGl0ZW1TbG90KCk7IGFzIGl0ZW0pIHtcbiAgICAgICAgICAgIDxuZy1jb250YWluZXJcbiAgICAgICAgICAgICAgICAqbmdUZW1wbGF0ZU91dGxldD1cIlxuICAgICAgICAgICAgICAgICAgICBpdGVtO1xuICAgICAgICAgICAgICAgICAgICBjb250ZXh0OiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAkaW1wbGljaXQ6IHN0b3JhZ2UsXG4gICAgICAgICAgICAgICAgICAgICAgICBvcGVuQ2xvc2VCdXR0b24sXG4gICAgICAgICAgICAgICAgICAgICAgICBhcmVDb250ZW50T3BlbmVkOiBhcmVDb250ZW50T3BlbmVkKCksXG4gICAgICAgICAgICAgICAgICAgICAgICBoYXNDb250ZW50OiBoYXNDb250ZW50KClcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAvPlxuICAgICAgICB9XG5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgY2xhc3M9XCJjb250ZW50XCJcbiAgICAgICAgICAgIFtjbGFzcy5jb250ZW50X2hpZGRlbl09XCIhYXJlQ29udGVudE9wZW5lZCgpXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImxpc3RzXCI+XG4gICAgICAgICAgICAgICAgQGlmIChzdG9yYWdlQ2hpbGRyZW4oKS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgPGN1aS1zdG9yYWdlLWxpc3RcbiAgICAgICAgICAgICAgICAgICAgICAgIFtzdG9yYWdlc109XCJzdG9yYWdlQ2hpbGRyZW4oKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbZWxlbWVudFNsb3RdPVwiZWxlbWVudFNsb3QoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbaXRlbVNsb3RdPVwiaXRlbVNsb3QoKVwiXG4gICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIEBpZiAoc3RvcmFnZUVsZW1lbnRzKCkubGVuZ3RoICYmIGVsZW1lbnRTbG90KCkpIHtcbiAgICAgICAgICAgICAgICAgICAgPHVsIGNsYXNzPVwibGlzdFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgQGZvciAoZWxlbWVudCBvZiBzdG9yYWdlRWxlbWVudHMoKTsgdHJhY2sgZWxlbWVudC5pZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaSBjbGFzcz1cIml0ZW1cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nVGVtcGxhdGVPdXRsZXQ9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbGVtZW50U2xvdCgpITtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZXh0OiB7ICRpbXBsaWNpdDogZWxlbWVudCwgc3RvcmFnZTogc3RvcmFnZSB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIDwvdWw+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { CuiStorageListComponent } from './storage-list.component';
|
|
2
|
-
export * from './storage-list.options';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RvcmFnZS1saXN0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ25FLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlTdG9yYWdlTGlzdENvbXBvbmVudCB9IGZyb20gJy4vc3RvcmFnZS1saXN0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3N0b3JhZ2UtbGlzdC5vcHRpb25zJztcbiJdfQ==
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
import { CuiStorageListItemComponent } from './components';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class CuiStorageListComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.storages = input.required();
|
|
7
|
-
this.elementSlot = input();
|
|
8
|
-
this.itemSlot = input();
|
|
9
|
-
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStorageListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiStorageListComponent, isStandalone: true, selector: "cui-storage-list", inputs: { storages: { classPropertyName: "storages", publicName: "storages", isSignal: true, isRequired: true, transformFunction: null }, elementSlot: { classPropertyName: "elementSlot", publicName: "elementSlot", isSignal: true, isRequired: false, transformFunction: null }, itemSlot: { classPropertyName: "itemSlot", publicName: "itemSlot", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ul class=\"list\">\n @for (storage of storages(); track storage.id) {\n <li\n cuiStorageListItem\n [storage]=\"storage\"\n [elementSlot]=\"elementSlot()\"\n [itemSlot]=\"itemSlot()\"\n class=\"item\"\n ></li>\n }\n</ul>\n", styles: [":host{display:block}.list{display:flex;flex-direction:column;gap:8px}.item{position:relative;z-index:0}.item:not(:last-child):before{content:\"\";position:absolute;top:0;left:8px;bottom:-8px;z-index:-1;width:1px;background:var(--cui-base-200)}\n"], dependencies: [{ kind: "component", type: CuiStorageListItemComponent, selector: "li[cuiStorageListItem]", inputs: ["storage", "elementSlot", "itemSlot"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStorageListComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{ selector: 'cui-storage-list', imports: [CuiStorageListItemComponent], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul class=\"list\">\n @for (storage of storages(); track storage.id) {\n <li\n cuiStorageListItem\n [storage]=\"storage\"\n [elementSlot]=\"elementSlot()\"\n [itemSlot]=\"itemSlot()\"\n class=\"item\"\n ></li>\n }\n</ul>\n", styles: [":host{display:block}.list{display:flex;flex-direction:column;gap:8px}.item{position:relative;z-index:0}.item:not(:last-child):before{content:\"\";position:absolute;top:0;left:8px;bottom:-8px;z-index:-1;width:1px;background:var(--cui-base-200)}\n"] }]
|
|
16
|
-
}] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9zdG9yYWdlLWxpc3Qvc3RvcmFnZ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gPjwvbGk+XG4gICAgfVxuPC91bD5cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const CUI_STORAGE_LIST_SERVICE_TOKEN = new InjectionToken('STORAGE_LIST_SERVICE_TOKEN');
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZS1saXN0Lm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RvcmFnZS1saXN0L3N0b3JhZ2UtbGlzdC5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHL0MsTUFBTSxDQUFDLE1BQU0sOEJBQThCLEdBQUcsSUFBSSxjQUFjLENBQXdCLDRCQUE0QixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHR5cGUgeyBPYnNlcnZhYmxlIH0gZnJvbSAncnhqcyc7XG5cbmV4cG9ydCBjb25zdCBDVUlfU1RPUkFHRV9MSVNUX1NFUlZJQ0VfVE9LRU4gPSBuZXcgSW5qZWN0aW9uVG9rZW48Q3VpU3RvcmFnZUxpc3RTZXJ2aWNlPignU1RPUkFHRV9MSVNUX1NFUlZJQ0VfVE9LRU4nKTtcblxuZXhwb3J0IGludGVyZmFjZSBDdWlTdG9yYWdlTGlzdFNlcnZpY2U8VCA9IEN1aVN0b3JhZ2VCYXNlPiB7XG4gICAgZ2V0Q2hpbGRyZW4/KGNoaWxkcmVuOiBDdWlTdG9yYWdlPFQ+LCBwcmV2Q2hpbGRyZW5zOiBDdWlTdG9yYWdlPFQ+W10pOiBPYnNlcnZhYmxlPEN1aVN0b3JhZ2U8VD5bXT47XG4gICAgZ2V0RWxlbWVudHM/KGVsZW1lbnQ6IEN1aVN0b3JhZ2U8VD4sIHByZXZFbGVtZW50czogVFtdKTogT2JzZXJ2YWJsZTxUW10+O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIEN1aVN0b3JhZ2VCYXNlIHtcbiAgICByZWFkb25seSBpZDogc3RyaW5nO1xuICAgIHJlYWRvbmx5IG5hbWU/OiBzdHJpbmc7XG4gICAgcmVhZG9ubHkgdGl0bGU/OiBzdHJpbmc7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ3VpU3RvcmFnZTxUID0gQ3VpU3RvcmFnZUJhc2U+IGV4dGVuZHMgQ3VpU3RvcmFnZUJhc2Uge1xuICAgIHJlYWRvbmx5IGVsZW1lbnRzPzogVFtdO1xuICAgIHJlYWRvbmx5IGNoaWxkcmVuOiBDdWlTdG9yYWdlPFQ+W10gfCBzdHJpbmdbXTtcbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { ToolFormReadonlyComponent } from './tool-form-readonly';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvdG9vbGJveC1mb3JtL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBUb29sRm9ybVJlYWRvbmx5Q29tcG9uZW50IH0gZnJvbSAnLi90b29sLWZvcm0tcmVhZG9ubHknO1xuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { ToolFormReadonlyComponent } from './tool-form-readonly.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvdG9vbGJveC1mb3JtL2NvbXBvbmVudHMvdG9vbC1mb3JtLXJlYWRvbmx5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLGdDQUFnQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgVG9vbEZvcm1SZWFkb25seUNvbXBvbmVudCB9IGZyb20gJy4vdG9vbC1mb3JtLXJlYWRvbmx5LmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
import { TranslocoDirective } from '@jsverse/transloco';
|
|
3
|
-
import { CuiBadgeModule } from '../../../../../components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../../../components/badge/badge.component";
|
|
6
|
-
export class ToolFormReadonlyComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.tool = input.required();
|
|
9
|
-
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolFormReadonlyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ToolFormReadonlyComponent, isStandalone: true, selector: "cc-tool-form-readonly", inputs: { tool: { classPropertyName: "tool", publicName: "tool", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class._disabled": "tool().isDelete" } }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <td class=\"cc-table__td info custom\">\n {{ tool().name }}\n\n @if (tool().isDelete) {\n <cui-badge\n class=\"badge\"\n [size]=\"'sm'\"\n color=\"red\"\n >\n {{ t('DELETED') }}\n </cui-badge>\n }\n </td>\n <td class=\"cc-table__td custom\">\n {{ tool().quantity }}\n </td>\n <td class=\"cc-table__td custom\">\n {{ tool().unit }}\n </td>\n</ng-container>\n", styles: [".custom{display:flex;align-items:center;padding-right:4px;padding-left:4px;min-height:53px}:host{display:contents}:host._disabled .custom{pointer-events:none;opacity:.7}:host._disabled .button{opacity:1;pointer-events:all}.info{display:flex}.badge{margin-left:auto}\n"], dependencies: [{ kind: "ngmodule", type: CuiBadgeModule }, { kind: "component", type: i1.CuiBadgeComponent, selector: "cui-badge", inputs: ["color", "size", "isWithDot"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolFormReadonlyComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{ selector: 'cc-tool-form-readonly', imports: [CuiBadgeModule, TranslocoDirective], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
16
|
-
'[class._disabled]': 'tool().isDelete'
|
|
17
|
-
}, standalone: true, template: "<ng-container *transloco=\"let t\">\n <td class=\"cc-table__td info custom\">\n {{ tool().name }}\n\n @if (tool().isDelete) {\n <cui-badge\n class=\"badge\"\n [size]=\"'sm'\"\n color=\"red\"\n >\n {{ t('DELETED') }}\n </cui-badge>\n }\n </td>\n <td class=\"cc-table__td custom\">\n {{ tool().quantity }}\n </td>\n <td class=\"cc-table__td custom\">\n {{ tool().unit }}\n </td>\n</ng-container>\n", styles: [".custom{display:flex;align-items:center;padding-right:4px;padding-left:4px;min-height:53px}:host{display:contents}:host._disabled .custom{pointer-events:none;opacity:.7}:host._disabled .button{opacity:1;pointer-events:all}.info{display:flex}.badge{margin-left:auto}\n"] }]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbC1mb3JtLXJlYWRvbmx5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS90b29sYm94LWZvcm0vY29tcG9uZW50cy90b29sLWZvcm0tcmVhZG9ubHkvdG9vbC1mb3JtLXJlYWRvbmx5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS90b29sYm94LWZvcm0vY29tcG9uZW50cy90b29sLWZvcm0tcmVhZG9ubHkvdG9vbC1mb3JtLXJlYWRvbmx5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRXhELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQzs7O0FBYzNELE1BQU0sT0FBTyx5QkFBeUI7SUFYdEM7UUFZb0IsU0FBSSxHQUFHLEtBQUssQ0FBQyxRQUFRLEVBQXVCLENBQUM7S0FDaEU7K0dBRlkseUJBQXlCO21HQUF6Qix5QkFBeUIsaVJDbEJ0QywraEJBcUJBLG9VRFpjLGNBQWMsaUpB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59KVxuZXhwb3J0IGNsYXNzIFRvb2xGb3JtUmVhZG9ubHlDb21wb25lbnQge1xuICAgIHB1YmxpYyByZWFkb25seSB0b29sID0gaW5wdXQucmVxdWlyZWQ8UmVzb3VyY2VVdGlsaXR5VG9vbD4oKTtcbn1cbiIsIjxuZy1jb250YWluZXIgKnRyYW5zbG9jbz1cImxldCB0XCI+XG4gICAgPHRkIGNsYXNzPVwiY2MtdGFibGVfX3RkIGluZm8gY3VzdG9tXCI+XG4gICAgICAgIHt7IHRvb2woKS5uYW1lIH19XG5cbiAgICAgICAgQGlmICh0b29sKCkuaXNEZWxldGUpIHtcbiAgICAgICAgICAgIDxjdWktYmFkZ2VcbiAgICAgICAgICAgICAgICBjbGFzcz1cImJhZGdlXCJcbiAgICAgICAgICAgICAgICBbc2l6ZV09XCInc20nXCJcbiAgICAgICAgICAgICAgICBjb2xvcj1cInJlZFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge3sgdCgnREVMRVRFRCcpIH19XG4gICAgICAgICAgICA8L2N1aS1iYWRnZT5cbiAgICAgICAgfVxuICAgIDwvdGQ+XG4gICAgPHRkIGNsYXNzPVwiY2MtdGFibGVfX3RkIGN1c3RvbVwiPlxuICAgICAgICB7eyB0b29sKCkucXVhbnRpdHkgfX1cbiAgICA8L3RkPlxuICAgIDx0ZCBjbGFzcz1cImNjLXRhYmxlX190ZCBjdXN0b21cIj5cbiAgICAgICAge3sgdG9vbCgpLnVuaXQgfX1cbiAgICA8L3RkPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { ToolFormComponent } from './tool-form.component';
|
|
2
|
-
export * from './components/index';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvdG9vbGJveC1mb3JtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBUb29sRm9ybUNvbXBvbmVudCB9IGZyb20gJy4vdG9vbC1mb3JtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMvaW5kZXgnO1xuIl19
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, DestroyRef, effect, inject, input, output, signal } from '@angular/core';
|
|
2
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
3
|
-
import { NonNullableFormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
4
|
-
import { UnitsAmount } from '@cuby-ui/cdk';
|
|
5
|
-
import { TranslocoDirective, TranslocoService } from '@jsverse/transloco';
|
|
6
|
-
import { debounceTime, finalize, switchMap, tap } from 'rxjs';
|
|
7
|
-
import { ToolFormReadonlyComponent } from './components';
|
|
8
|
-
import { CuiSelectModule, CuiAlertService, CuiBadgeModule, CuiButtonModule, CuiInputNumberModule } from '../../../components';
|
|
9
|
-
import { ResourceContentType, CuiQuantumGroupResourcesStructureApiService } from '@cuby-ui/api';
|
|
10
|
-
import { CUI_DEFAULT_CONTROL_DELAY } from '../consumable-form/components';
|
|
11
|
-
import { CuiGeneralControlErrorHintComponent } from '../general-control-error-hint';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "../../../components/select/select.component";
|
|
14
|
-
import * as i2 from "../../../directives/text-field-controller/text-field-is-error.directive";
|
|
15
|
-
import * as i3 from "@angular/forms";
|
|
16
|
-
import * as i4 from "../../../components/badge/badge.component";
|
|
17
|
-
import * as i5 from "../../../components/input-number/input-number.component";
|
|
18
|
-
import * as i6 from "../../../components/button/button.component";
|
|
19
|
-
export class ToolFormComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
this.destroyRef = inject(DestroyRef);
|
|
22
|
-
this.cuiAlertService = inject(CuiAlertService);
|
|
23
|
-
this.translocoService = inject(TranslocoService);
|
|
24
|
-
this.quantumGroupResourcesStructureApiService = inject(CuiQuantumGroupResourcesStructureApiService);
|
|
25
|
-
this.formBuilder = inject(NonNullableFormBuilder);
|
|
26
|
-
this.TOOLBOX_WAS_DELETED = 'TOOLBOX_WAS_SUCCESSFULLY_DELETED';
|
|
27
|
-
this.PART_WAS_DELETED = 'PART_WAS_SUCCESSFULLY_DELETED';
|
|
28
|
-
this.isLoading = signal(false);
|
|
29
|
-
this.toolForm = signal(null);
|
|
30
|
-
this.controls = computed(() => this.toolForm()?.controls);
|
|
31
|
-
this.toolboxOptions = computed(() => UnitsAmount.map((unit) => ({ label: unit.abbreviation, value: unit.value })));
|
|
32
|
-
this.utilityId = input.required();
|
|
33
|
-
this.tool = input.required();
|
|
34
|
-
this.readonly = input(false);
|
|
35
|
-
this.resourceType = input(ResourceContentType.Toolbox);
|
|
36
|
-
this.toolChanged = output();
|
|
37
|
-
this.toolDeleted = output();
|
|
38
|
-
this.initFormEffect();
|
|
39
|
-
}
|
|
40
|
-
onDeleteToolbox() {
|
|
41
|
-
const { id } = this.tool();
|
|
42
|
-
this.isLoading.set(true);
|
|
43
|
-
this.quantumGroupResourcesStructureApiService
|
|
44
|
-
.deleteElementInStructure(this.utilityId(), this.resourceType().toLowerCase(), id)
|
|
45
|
-
.pipe(tap(() => this.toolDeleted.emit(id)), finalize(() => this.isLoading.set(false)), switchMap(() => {
|
|
46
|
-
const message = this.resourceType() === ResourceContentType.Part
|
|
47
|
-
? this.PART_WAS_DELETED
|
|
48
|
-
: this.TOOLBOX_WAS_DELETED;
|
|
49
|
-
return this.cuiAlertService.open(this.translocoService.translate(message), {
|
|
50
|
-
status: 'success'
|
|
51
|
-
});
|
|
52
|
-
}))
|
|
53
|
-
.subscribe();
|
|
54
|
-
}
|
|
55
|
-
initFormEffect() {
|
|
56
|
-
const effectRef = effect(() => {
|
|
57
|
-
const toolForm = this.createForm();
|
|
58
|
-
this.toolForm.set(toolForm);
|
|
59
|
-
toolForm.valueChanges
|
|
60
|
-
.pipe(debounceTime(CUI_DEFAULT_CONTROL_DELAY), takeUntilDestroyed(this.destroyRef))
|
|
61
|
-
.subscribe((value) => {
|
|
62
|
-
if (toolForm.invalid) {
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
const updatedTool = {
|
|
66
|
-
...this.tool(),
|
|
67
|
-
...value,
|
|
68
|
-
type: "tool_element" /* ResourceRequestType.Toolbox */
|
|
69
|
-
};
|
|
70
|
-
this.quantumGroupResourcesStructureApiService
|
|
71
|
-
.updateElementInStructure(this.utilityId(), this.resourceType(), updatedTool)
|
|
72
|
-
.pipe(takeUntilDestroyed(this.destroyRef))
|
|
73
|
-
.subscribe(() => this.toolChanged.emit(updatedTool));
|
|
74
|
-
});
|
|
75
|
-
effectRef.destroy();
|
|
76
|
-
}, { allowSignalWrites: true });
|
|
77
|
-
}
|
|
78
|
-
createForm() {
|
|
79
|
-
return this.formBuilder.group({
|
|
80
|
-
quantity: this.formBuilder.control(this.tool().quantity, [
|
|
81
|
-
Validators.required,
|
|
82
|
-
Validators.min(1),
|
|
83
|
-
Validators.max(100)
|
|
84
|
-
]),
|
|
85
|
-
unit: this.formBuilder.control(this.tool().unit, [Validators.required])
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
89
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ToolFormComponent, isStandalone: true, selector: "cui-tool-form", inputs: { utilityId: { classPropertyName: "utilityId", publicName: "utilityId", isSignal: true, isRequired: true, transformFunction: null }, tool: { classPropertyName: "tool", publicName: "tool", isSignal: true, isRequired: true, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, resourceType: { classPropertyName: "resourceType", publicName: "resourceType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { toolChanged: "toolChanged", toolDeleted: "toolDeleted" }, host: { properties: { "class._disabled": "isLoading() || tool().isDelete" } }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n @let controlsData = controls();\n\n @if (readonly()) {\n <cc-tool-form-readonly [tool]=\"tool()\" />\n } @else if (controlsData) {\n <td class=\"cc-table__td info custom\">\n {{ tool().name }}\n\n @if (tool().isDelete) {\n <cui-badge\n class=\"badge\"\n [size]=\"'sm'\"\n color=\"red\"\n >\n {{ t('DELETED') }}\n </cui-badge>\n }\n </td>\n <td class=\"cc-table__td custom\">\n <cui-input-number\n type=\"text\"\n [formControl]=\"controlsData.quantity\"\n [cuiTextFieldIsError]=\"!!controlsData.quantity.errors && controlsData.quantity.dirty\"\n />\n <cui-general-control-error-hint\n [control]=\"controlsData.quantity\"\n [isVisible]=\"!!controlsData.quantity.errors && controlsData.quantity.dirty\"\n />\n </td>\n <td class=\"cc-table__td custom\">\n <cui-select\n [formControl]=\"controlsData.unit\"\n [options]=\"toolboxOptions()\"\n />\n </td>\n <td class=\"cc-table__td button custom\">\n <button\n type=\"button\"\n cuiButton\n icon=\"cuiIconTrash\"\n size=\"xxs\"\n appearance=\"ghost\"\n [isLoaderShown]=\"isLoading()\"\n (click)=\"onDeleteToolbox()\"\n ></button>\n </td>\n }\n</ng-container>\n", styles: [":host{display:contents}:host._disabled .custom{pointer-events:none;opacity:.7}:host._disabled .button{opacity:1;pointer-events:all}.info{display:flex}.badge{margin-left:auto}.custom{padding-right:4px;padding-left:4px}.readonly{min-height:36px}\n"], dependencies: [{ kind: "component", type: ToolFormReadonlyComponent, selector: "cc-tool-form-readonly", inputs: ["tool"] }, { kind: "ngmodule", type: CuiSelectModule }, { kind: "component", type: i1.CuiSelectComponent, selector: "cui-select[options]", inputs: ["options", "defaultOptionText"] }, { kind: "directive", type: i2.CuiTextFieldIsErrorDirective, selector: "[cuiTextFieldIsError]", inputs: ["cuiTextFieldIsError"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: CuiBadgeModule }, { kind: "component", type: i4.CuiBadgeComponent, selector: "cui-badge", inputs: ["color", "size", "isWithDot"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: CuiInputNumberModule }, { kind: "component", type: i5.CuiInputNumberComponent, selector: "cui-input-number", inputs: ["precision", "min", "max"] }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: i6.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "component", type: CuiGeneralControlErrorHintComponent, selector: "cui-general-control-error-hint", inputs: ["control", "isVisible"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
90
|
-
}
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolFormComponent, decorators: [{
|
|
92
|
-
type: Component,
|
|
93
|
-
args: [{ selector: 'cui-tool-form', imports: [
|
|
94
|
-
ToolFormReadonlyComponent,
|
|
95
|
-
CuiSelectModule,
|
|
96
|
-
ReactiveFormsModule,
|
|
97
|
-
CuiBadgeModule,
|
|
98
|
-
TranslocoDirective,
|
|
99
|
-
CuiInputNumberModule,
|
|
100
|
-
CuiButtonModule,
|
|
101
|
-
CuiGeneralControlErrorHintComponent
|
|
102
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
103
|
-
'[class._disabled]': 'isLoading() || tool().isDelete'
|
|
104
|
-
}, standalone: true, template: "<ng-container *transloco=\"let t\">\n @let controlsData = controls();\n\n @if (readonly()) {\n <cc-tool-form-readonly [tool]=\"tool()\" />\n } @else if (controlsData) {\n <td class=\"cc-table__td info custom\">\n {{ tool().name }}\n\n @if (tool().isDelete) {\n <cui-badge\n class=\"badge\"\n [size]=\"'sm'\"\n color=\"red\"\n >\n {{ t('DELETED') }}\n </cui-badge>\n }\n </td>\n <td class=\"cc-table__td custom\">\n <cui-input-number\n type=\"text\"\n [formControl]=\"controlsData.quantity\"\n [cuiTextFieldIsError]=\"!!controlsData.quantity.errors && controlsData.quantity.dirty\"\n />\n <cui-general-control-error-hint\n [control]=\"controlsData.quantity\"\n [isVisible]=\"!!controlsData.quantity.errors && controlsData.quantity.dirty\"\n />\n </td>\n <td class=\"cc-table__td custom\">\n <cui-select\n [formControl]=\"controlsData.unit\"\n [options]=\"toolboxOptions()\"\n />\n </td>\n <td class=\"cc-table__td button custom\">\n <button\n type=\"button\"\n cuiButton\n icon=\"cuiIconTrash\"\n size=\"xxs\"\n appearance=\"ghost\"\n [isLoaderShown]=\"isLoading()\"\n (click)=\"onDeleteToolbox()\"\n ></button>\n </td>\n }\n</ng-container>\n", styles: [":host{display:contents}:host._disabled .custom{pointer-events:none;opacity:.7}:host._disabled .button{opacity:1;pointer-events:all}.info{display:flex}.badge{margin-left:auto}.custom{padding-right:4px;padding-left:4px}.readonly{min-height:36px}\n"] }]
|
|
105
|
-
}], ctorParameters: () => [] });
|
|
106
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbC1mb3JtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4u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gICAgcHVibGljIHJlYWRvbmx5IHRvb2xDaGFuZ2VkID0gb3V0cHV0PFJlc291cmNlVXRpbGl0eVRvb2w+KCk7XG4gICAgcHVibGljIHJlYWRvbmx5IHRvb2xEZWxldGVkID0gb3V0cHV0PHN0cmluZz4oKTtcblxuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICB0aGlzLmluaXRGb3JtRWZmZWN0KCk7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIG9uRGVsZXRlVG9vbGJveCgpOiB2b2lkIHtcbiAgICAgICAgY29uc3QgeyBpZCB9ID0gdGhpcy50b29sKCk7XG5cbiAgICAgICAgdGhpcy5pc0xvYWRpbmcuc2V0KHRydWUpO1xuICAgICAgICB0aGlzLnF1YW50dW1Hcm91cFJlc291cmNlc1N0cnVjdHVyZUFwaVNlcnZpY2VcbiAgICAgICAgICAgIC5kZWxldGVFbGVtZW50SW5TdHJ1Y3R1cmUodGhpcy51dGlsaXR5SWQoKSwgdGhpcy5yZXNvdXJjZVR5cGUoKS50b0xvd2VyQ2FzZSgpLCBpZClcbiAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIHRhcCgoKSA9PiB0aGlzLnRvb2xEZWxldGVkLmVtaXQoaWQpKSxcbiAgICAgICAgICAgICAgICBmaW5hbGl6ZSgoKSA9PiB0aGlzLmlzTG9hZGluZy5zZXQoZmFsc2UpKSxcbiAgICAgICAgICAgICAgICBzd2l0Y2hNYXAoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBtZXNzYWdlID1cbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMucmVzb3VyY2VUeXBlKCkgPT09IFJlc291cmNlQ29udGVudFR5cGUuUGFydFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gdGhpcy5QQVJUX1dBU19ERUxFVEVEXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgOiB0aGlzLlRPT0xCT1hfV0FTX0RFTEVURUQ7XG5cbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuY3VpQWxlcnRTZXJ2aWNlLm9wZW4odGhpcy50cmFuc2xvY29TZXJ2aWNlLnRyYW5zbGF0ZShtZXNzYWdlKSwge1xuICAgICAgICAgICAgICAgICAgICAgICAgc3RhdHVzOiAnc3VjY2VzcydcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGluaXRGb3JtRWZmZWN0KCk6IHZvaWQge1xuICAgICAgICBjb25zdCBlZmZlY3RSZWYgPSBlZmZlY3QoXG4gICAgICAgICAgICAoKSA9PiB7XG4gICAgICAgICAgICAgICAgY29uc3QgdG9vbEZvcm0gPSB0aGlzLmNyZWF0ZUZvcm0oKTtcblxuICAgICAgICAgICAgICAgIHRoaXMudG9vbEZvcm0uc2V0KHRvb2xGb3JtKTtcbiAgICAgICAgICAgICAgICB0b29sRm9ybS52YWx1ZUNoYW5nZXNcbiAgICAgICAgICAgICAgICAgICAgLnBpcGUoZGVib3VuY2VUaW1lKENVSV9ERUZBVUxUX0NPTlRST0xfREVMQVkpLCB0YWtlVW50aWxEZXN0cm95ZWQodGhpcy5kZXN0cm95UmVmKSlcbiAgICAgICAgICAgICAgICAgICAgLnN1YnNjcmliZSgodmFsdWUpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0b29sRm9ybS5pbnZhbGlkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB1cGRhdGVkVG9vbCA9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAuLi50aGlzLnRvb2woKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAuLi52YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiBSZXNvdXJjZVJlcXVlc3RUeXBlLlRvb2xib3hcbiAgICAgICAgICAgICAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMucXVhbnR1bUdyb3VwUmVzb3VyY2VzU3RydWN0dXJlQXBpU2VydmljZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC51cGRhdGVFbGVtZW50SW5TdHJ1Y3R1cmUodGhpcy51dGlsaXR5SWQoKSwgdGhpcy5yZXNvdXJjZVR5cGUoKSwgdXBkYXRlZFRvb2wpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLnBpcGUodGFrZVVudGlsRGVzdHJveWVkKHRoaXMuZGVzdHJveVJlZikpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLnN1YnNjcmliZSgoKSA9PiB0aGlzLnRvb2xDaGFuZ2VkLmVtaXQodXBkYXRlZFRvb2wpKTtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgZWZmZWN0UmVmLmRlc3Ryb3koKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB7IGFsbG93U2lnbmFsV3JpdGVzOiB0cnVlIH1cbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGNyZWF0ZUZvcm0oKTogRm9ybUdyb3VwPFRvb2xib3hGb3JtQ29udHJvbHM+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZm9ybUJ1aWxkZXIuZ3JvdXA8VG9vbGJveEZvcm1Db250cm9scz4oe1xuICAgICAgICAgICAgcXVhbnRpdHk6IHRoaXMuZm9ybUJ1aWxkZXIuY29udHJvbCh0aGlzLnRvb2woKS5xdWFudGl0eSwgW1xuICAgICAgICAgICAgICAgIFZhbGlkYXRvcnMucmVxdWlyZWQsXG4gICAgICAgICAgICAgICAgVmFsaWRhdG9ycy5taW4oMSksXG4gICAgICAgICAgICAgICAgVmFsaWRhdG9ycy5tYXgoMTAwKVxuICAgICAgICAgICAgXSksXG4gICAgICAgICAgICB1bml0OiB0aGlzLmZvcm1CdWlsZGVyLmNvbnRyb2wodGhpcy50b29sKCkudW5pdCwgW1ZhbGlkYXRvcnMucmVxdWlyZWRdKVxuICAgICAgICB9KTtcbiAgICB9XG59XG4iLCI8bmctY29udGFpbmVyICp0cmFuc2xvY289XCJsZXQgdFwiPlxuICAgIEBsZXQgY29udHJvbHNEYXRhID0gY29udHJvbHMoKTtcblxuICAgIEBpZiAocmVhZG9ubHkoKSkge1xuICAgICAgICA8Y2MtdG9vbC1mb3JtLXJlYWRvbmx5IFt0b29sXT1cInRvb2woKVwiIC8+XG4gICAgfSBAZWxzZSBpZiAoY29udHJvbHNEYXRhKSB7XG4gICAgICAgIDx0ZCBjbGFzcz1cImNjLXRhYmxlX190ZCBpbmZvIGN1c3RvbVwiPlxuICAgICAgICAgICAge3sgdG9vbCgpLm5hbWUgfX1cblxuICAgICAgICAgICAgQGlmICh0b29sKCkuaXNEZWxldGUpIHtcbiAgICAgICAgICAgICAgICA8Y3VpLWJhZGdlXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYmFkZ2VcIlxuICAgICAgICAgICAgICAgICAgICBbc2l6ZV09XCInc20nXCJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I9XCJyZWRcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAge3sgdCgnREVMRVRFRCcpIH19XG4gICAgICAgICAgICAgICAgPC9jdWktYmFkZ2U+XG4gICAgICAgICAgICB9XG4gICAgICAgIDwvdGQ+XG4gICAgICAgIDx0ZCBjbGFzcz1cImNjLXRhYmxlX190ZCBjdXN0b21cIj5cbiAgICAgICAgICAgIDxjdWktaW5wdXQtbnVtYmVyXG4gICAgICAgICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJjb250cm9sc0RhdGEucXVhbnRpdHlcIlxuICAgICAgICAgICAgICAgIFtjdWlUZXh0RmllbGRJc0Vycm9yXT1cIiEhY29udHJvbHNEYXRhLnF1YW50aXR5LmVycm9ycyAmJiBjb250cm9sc0RhdGEucXVhbnRpdHkuZGlydHlcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDxjdWktZ2VuZXJhbC1jb250cm9sLWVycm9yLWhpbnRcbiAgICAgICAgICAgICAgICBbY29udHJvbF09XCJjb250cm9sc0RhdGEucXVhbnRpdHlcIlxuICAgICAgICAgICAgICAgIFtpc1Zpc2libGVdPVwiISFjb250cm9sc0RhdGEucXVhbnRpdHkuZXJyb3JzICYmIGNvbnRyb2xzRGF0YS5xdWFudGl0eS5kaXJ0eVwiXG4gICAgICAgICAgICAvPlxuICAgICAgICA8L3RkPlxuICAgICAgICA8dGQgY2xhc3M9XCJjYy10YWJsZV9fdGQgY3VzdG9tXCI+XG4gICAgICAgICAgICA8Y3VpLXNlbGVjdFxuICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJjb250cm9sc0RhdGEudW5pdFwiXG4gICAgICAgICAgICAgICAgW29wdGlvbnNdPVwidG9vbGJveE9wdGlvbnMoKVwiXG4gICAgICAgICAgICAvPlxuICAgICAgICA8L3RkPlxuICAgICAgICA8dGQgY2xhc3M9XCJjYy10YWJsZV9fdGQgYnV0dG9uIGN1c3RvbVwiPlxuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgIGN1aUJ1dHRvblxuICAgICAgICAgICAgICAgIGljb249XCJjdWlJY29uVHJhc2hcIlxuICAgICAgICAgICAgICAgIHNpemU9XCJ4eHNcIlxuICAgICAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJnaG9zdFwiXG4gICAgICAgICAgICAgICAgW2lzTG9hZGVyU2hvd25dPVwiaXNMb2FkaW5nKClcIlxuICAgICAgICAgICAgICAgIChjbGljayk9XCJvbkRlbGV0ZVRvb2xib3goKVwiXG4gICAgICAgICAgICA+PC9idXR0b24+XG4gICAgICAgIDwvdGQ+XG4gICAgfVxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbC1mb3JtLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvdG9vbGJveC1mb3JtL3Rvb2wtZm9ybS5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEZvcm1Db250cm9sIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFRvb2xib3hGb3JtQ29udHJvbHMge1xuICAgIHJlYWRvbmx5IHVuaXQ6IEZvcm1Db250cm9sPHN0cmluZz47XG4gICAgcmVhZG9ubHkgcXVhbnRpdHk6IEZvcm1Db250cm9sPG51bWJlcj47XG59XG4iXX0=
|
package/esm2022/widgets/ui/user-action-context-menu/activity-item/activity-item.component.mjs
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, DestroyRef, inject, input } from '@angular/core';
|
|
2
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
3
|
-
import { CuiLetterBoxComponent } from '../../../../components';
|
|
4
|
-
import { CuiSvgModule } from '../../../../components';
|
|
5
|
-
import { CuiAuthService } from '../../../../providers';
|
|
6
|
-
import { CUI_ACTIVITY_SERVICE_TOKEN } from '../user-action-context.option';
|
|
7
|
-
import { TranslocoService } from '@jsverse/transloco';
|
|
8
|
-
import { CuiTooltipDirective } from '../../../../directives';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../../../../components/svg/svg.component";
|
|
11
|
-
export class CuiActivityItemComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
this.transloco = inject(TranslocoService);
|
|
14
|
-
this.destroy = inject(DestroyRef);
|
|
15
|
-
this.cuiAuthService = inject(CuiAuthService);
|
|
16
|
-
this.cuiActivityService = inject(CUI_ACTIVITY_SERVICE_TOKEN);
|
|
17
|
-
this.isSelected = computed(() => this.cuiActivityService.checkIsCurrentActivity(this.activity().activityId));
|
|
18
|
-
this.letterBackgroundColor = computed(() => {
|
|
19
|
-
const licenseType = this.activity().type;
|
|
20
|
-
return licenseType === "MANUFACTURE" /* CuiUserCompanyActivityType.Manufacture */
|
|
21
|
-
? 'var(--cui-orange-500)'
|
|
22
|
-
: 'var(--cui-light-blue-500)';
|
|
23
|
-
});
|
|
24
|
-
this.activity = input.required();
|
|
25
|
-
this.companyId = input.required();
|
|
26
|
-
this.typeCompany = computed(() => {
|
|
27
|
-
return this.transloco.translate(this.activity().type);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
onGoToActivity() {
|
|
31
|
-
if (this.isSelected()) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
this.cuiAuthService
|
|
35
|
-
.exchangeToken({
|
|
36
|
-
type: "EXCHANGE_CONTEXT_ACTIVITY" /* CuiTokenExchangeType.Activity */,
|
|
37
|
-
activityId: this.activity().activityId,
|
|
38
|
-
companyId: this.companyId()
|
|
39
|
-
})
|
|
40
|
-
.pipe(takeUntilDestroyed(this.destroy))
|
|
41
|
-
.subscribe(() => {
|
|
42
|
-
const type = this.activity().type;
|
|
43
|
-
const activityMap = {
|
|
44
|
-
["DEVELOPER" /* CuiUserCompanyActivityType.Developer */]: "cuby-project" /* CuiApiUrl.Project */,
|
|
45
|
-
["MANUFACTURE" /* CuiUserCompanyActivityType.Manufacture */]: "cuby-manufacturing" /* CuiApiUrl.Manufacturing */
|
|
46
|
-
};
|
|
47
|
-
window.location.href = `${window.location.origin}/${activityMap[type]}`;
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiActivityItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
51
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiActivityItemComponent, isStandalone: true, selector: "cui-activity-item", inputs: { activity: { classPropertyName: "activity", publicName: "activity", isSignal: true, isRequired: true, transformFunction: null }, companyId: { classPropertyName: "companyId", publicName: "companyId", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class.selected": "isSelected()" } }, ngImport: i0, template: "<div\n class=\"wrapper\"\n (click)=\"onGoToActivity()\"\n [cuiTooltip]=\"activity().description\"\n>\n <button\n type=\"button\"\n class=\"activity-button\"\n >\n <cui-letter-box\n [letter]=\"activity().description[0]\"\n [shape]=\"'rounded'\"\n [backgroundColor]=\"letterBackgroundColor()\"\n size=\"md\"\n />\n <div class=\"text\">\n <span class=\"title\">{{ activity().description }}</span>\n <span class=\"sub-title\">{{ typeCompany() }}</span>\n </div>\n </button>\n\n @if (isSelected()) {\n <div class=\"icon-wrapper\">\n <cui-svg\n [icon]=\"'cuiIconCheck'\"\n color=\"var(--cui-info)\"\n />\n </div>\n }\n</div>\n", styles: [":host(.selected){background:var(--cui-badge-blue-bg);border-radius:8px}.wrapper{display:flex;justify-content:space-between}.activity-button{display:flex;gap:8px;align-items:center;padding-left:4px;height:36px;color:var(--cui-base-900)}.icon-wrapper{display:flex;align-items:center;justify-content:center;padding:8px}.text,.title{display:flex;flex-direction:column;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;align-items:flex-start}.sub-title{font-weight:400;font-size:12px;line-height:14px;color:var(--cui-base-400)}\n"], dependencies: [{ kind: "component", type: CuiLetterBoxComponent, selector: "cui-letter-box", inputs: ["letter", "backgroundColor", "size", "shape"] }, { kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i1.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "directive", type: CuiTooltipDirective, selector: "[cuiTooltip]:not(ng-container):not(ng-template)", inputs: ["cuiTooltipContext", "cuiTooltipAppearance", "cuiTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
52
|
-
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiActivityItemComponent, decorators: [{
|
|
54
|
-
type: Component,
|
|
55
|
-
args: [{ selector: 'cui-activity-item', standalone: true, imports: [CuiLetterBoxComponent, CuiSvgModule, CuiTooltipDirective], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
56
|
-
'[class.selected]': 'isSelected()'
|
|
57
|
-
}, template: "<div\n class=\"wrapper\"\n (click)=\"onGoToActivity()\"\n [cuiTooltip]=\"activity().description\"\n>\n <button\n type=\"button\"\n class=\"activity-button\"\n >\n <cui-letter-box\n [letter]=\"activity().description[0]\"\n [shape]=\"'rounded'\"\n [backgroundColor]=\"letterBackgroundColor()\"\n size=\"md\"\n />\n <div class=\"text\">\n <span class=\"title\">{{ activity().description }}</span>\n <span class=\"sub-title\">{{ typeCompany() }}</span>\n </div>\n </button>\n\n @if (isSelected()) {\n <div class=\"icon-wrapper\">\n <cui-svg\n [icon]=\"'cuiIconCheck'\"\n color=\"var(--cui-info)\"\n />\n </div>\n }\n</div>\n", styles: [":host(.selected){background:var(--cui-badge-blue-bg);border-radius:8px}.wrapper{display:flex;justify-content:space-between}.activity-button{display:flex;gap:8px;align-items:center;padding-left:4px;height:36px;color:var(--cui-base-900)}.icon-wrapper{display:flex;align-items:center;justify-content:center;padding:8px}.text,.title{display:flex;flex-direction:column;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;align-items:flex-start}.sub-title{font-weight:400;font-size:12px;line-height:14px;color:var(--cui-base-400)}\n"] }]
|
|
58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YW4+XG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInN1Yi10aXRsZVwiPnt7IHR5cGVDb21wYW55KCkgfX08L3NwYW4+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvYnV0dG9uPlxuXG4gICAgQGlmIChpc1NlbGVjdGVkKCkpIHtcbiAgICAgICAgPGRpdiBjbGFzcz1cImljb24td3JhcHBlclwiPlxuICAgICAgICAgICAgPGN1aS1zdmdcbiAgICAgICAgICAgICAgICBbaWNvbl09XCInY3VpSWNvbkNoZWNrJ1wiXG4gICAgICAgICAgICAgICAgY29sb3I9XCJ2YXIoLS1jdWktaW5mbylcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9kaXY+XG4gICAgfVxuPC9kaXY+XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './activity-item.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvdXNlci1hY3Rpb24tY29udGV4dC1tZW51L2FjdGl2aXR5LWl0ZW0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWN0aXZpdHktaXRlbS5jb21wb25lbnQnO1xuIl19
|