@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,184 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, DestroyRef, effect, inject, input, output, signal, untracked } from '@angular/core';
|
|
2
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
3
|
-
import { NonNullableFormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
4
|
-
import { CuiConsumptionUnitsService, CuiElementDirective, UnitsAmount } from '@cuby-ui/cdk';
|
|
5
|
-
import { TranslocoDirective, TranslocoService } from '@jsverse/transloco';
|
|
6
|
-
import { finalize, switchMap, tap } from 'rxjs/operators';
|
|
7
|
-
import { ConsumableFormItemComponent } from './components';
|
|
8
|
-
import { ResourceContentType } from '@cuby-ui/api';
|
|
9
|
-
import { OptionsButtonComponent } from '../../../components/options-button/options-button.component';
|
|
10
|
-
import { CuiQuantumGroupResourcesStructureApiService, SeasonType } from '@cuby-ui/api';
|
|
11
|
-
import { CuiAccordionModule, CuiAlertService, CuiButtonModule, CuiContextMenuModule, CuiFormFieldModule, CuiInputNumberModule, CuiLabelModule, CuiSvgModule } from '../../../components';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "../../../components/accordion/accordion-item/accordion-item.component";
|
|
14
|
-
import * as i2 from "../../../components/button/button.component";
|
|
15
|
-
import * as i3 from "../../../components/context-menu/context-menu.component";
|
|
16
|
-
export class ConsumableFormComponent {
|
|
17
|
-
static { this.CONSUMABLE_WAS_DELETED = 'CONSUMABLE_WAS_SUCCESSFULLY_DELETED'; }
|
|
18
|
-
constructor() {
|
|
19
|
-
this.destroyRef = inject(DestroyRef);
|
|
20
|
-
this.translocoService = inject(TranslocoService);
|
|
21
|
-
this.formBuilder = inject(NonNullableFormBuilder);
|
|
22
|
-
this.cuiAlertService = inject(CuiAlertService);
|
|
23
|
-
this.cuiConsumptionUnitsService = inject(CuiConsumptionUnitsService);
|
|
24
|
-
this.quantumGroupResourcesStructureApiService = inject(CuiQuantumGroupResourcesStructureApiService);
|
|
25
|
-
this.CONSUMABLE_OPTIONS = [
|
|
26
|
-
{
|
|
27
|
-
label: 'Delete',
|
|
28
|
-
icon: 'cuiIconTrash',
|
|
29
|
-
color: 'var(--cui-danger)',
|
|
30
|
-
command: this.onDeleteConsumable.bind(this)
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
|
-
this.seasons = Object.values(SeasonType);
|
|
34
|
-
this.allSeasonForm = signal(null);
|
|
35
|
-
this.seasonForms = signal([]);
|
|
36
|
-
this.isLoading = signal(false);
|
|
37
|
-
this.availableSeasons = computed(() => {
|
|
38
|
-
const usedSeasons = this.seasonForms().map((form) => form.type);
|
|
39
|
-
return this.seasons.filter((season) => !usedSeasons.includes(season));
|
|
40
|
-
});
|
|
41
|
-
this.consumptionOptions = computed(() => {
|
|
42
|
-
const consumable = this.consumable();
|
|
43
|
-
if (!(consumable.specifications || consumable.parameters)) {
|
|
44
|
-
return [];
|
|
45
|
-
}
|
|
46
|
-
const consumableUnits = this.cuiConsumptionUnitsService.getConsumptionsUnits(consumable);
|
|
47
|
-
return Object.values(consumableUnits)
|
|
48
|
-
.reduce((accumulator, value) => accumulator.concat(value), [])
|
|
49
|
-
.map((unit) => ({ label: unit.abbreviation, value: unit.value }));
|
|
50
|
-
});
|
|
51
|
-
this.SEASON_OPTIONS = computed(() => this.availableSeasons().map((season) => ({
|
|
52
|
-
label: season,
|
|
53
|
-
command: () => this.addSeason(season, this.createForm())
|
|
54
|
-
})));
|
|
55
|
-
this.utilityId = input.required();
|
|
56
|
-
this.consumable = input.required();
|
|
57
|
-
this.readonly = input(false);
|
|
58
|
-
this.consumableChanged = output();
|
|
59
|
-
this.consumableDeleted = output();
|
|
60
|
-
this.initFormValuesEffect();
|
|
61
|
-
}
|
|
62
|
-
onConsumableChanged() {
|
|
63
|
-
this.updateConsumable();
|
|
64
|
-
}
|
|
65
|
-
onRemoveSeason(type) {
|
|
66
|
-
this.seasonForms.update((forms) => forms.filter((form) => form.type !== type));
|
|
67
|
-
this.updateConsumable();
|
|
68
|
-
}
|
|
69
|
-
onDeleteConsumable() {
|
|
70
|
-
const { id } = this.consumable();
|
|
71
|
-
this.isLoading.set(true);
|
|
72
|
-
this.quantumGroupResourcesStructureApiService
|
|
73
|
-
.deleteElementInStructure(this.utilityId(), ResourceContentType.Consumables.toLowerCase(), id)
|
|
74
|
-
.pipe(takeUntilDestroyed(this.destroyRef), tap(() => this.consumableDeleted.emit(id)), finalize(() => this.isLoading.set(false)), switchMap(() => this.cuiAlertService.open(this.translocoService.translate(ConsumableFormComponent.CONSUMABLE_WAS_DELETED), {
|
|
75
|
-
status: 'success'
|
|
76
|
-
})))
|
|
77
|
-
.subscribe();
|
|
78
|
-
}
|
|
79
|
-
initFormValuesEffect() {
|
|
80
|
-
effect(() => {
|
|
81
|
-
const seasonForms = untracked(this.seasonForms);
|
|
82
|
-
this.consumable().supply?.forEach((season) => {
|
|
83
|
-
const isExist = seasonForms.find((form) => form.type === season.season);
|
|
84
|
-
if (isExist) {
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
this.addSeason(season.season, this.createForm(season));
|
|
88
|
-
});
|
|
89
|
-
if (this.allSeasonForm()) {
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
this.allSeasonForm.set(this.createForm(this.consumable().supplyDefoliate));
|
|
93
|
-
}, { allowSignalWrites: true });
|
|
94
|
-
}
|
|
95
|
-
addSeason(seasonType, form) {
|
|
96
|
-
this.seasonForms.update((forms) => [
|
|
97
|
-
...forms,
|
|
98
|
-
{
|
|
99
|
-
type: seasonType,
|
|
100
|
-
form
|
|
101
|
-
}
|
|
102
|
-
]);
|
|
103
|
-
}
|
|
104
|
-
updateConsumable() {
|
|
105
|
-
const allSeasonForm = this.allSeasonForm();
|
|
106
|
-
if (!allSeasonForm?.valid) {
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
const supply = this.seasonForms()
|
|
110
|
-
.filter((season) => season.form.valid)
|
|
111
|
-
.map((season) => this.formatMeasureUnits({ season: season.type, ...season.form.getRawValue() }));
|
|
112
|
-
const requestBody = {
|
|
113
|
-
id: this.consumable().id,
|
|
114
|
-
type: "consumable" /* ResourceRequestType.Consumables */,
|
|
115
|
-
supplyDefoliate: this.formatMeasureUnits(allSeasonForm.value),
|
|
116
|
-
supply
|
|
117
|
-
};
|
|
118
|
-
const updatedConsumable = {
|
|
119
|
-
...this.consumable(),
|
|
120
|
-
...requestBody
|
|
121
|
-
};
|
|
122
|
-
this.quantumGroupResourcesStructureApiService
|
|
123
|
-
.updateElementInStructure(this.utilityId(), ResourceContentType.Consumables, requestBody)
|
|
124
|
-
.pipe(takeUntilDestroyed(this.destroyRef), tap(() => this.consumableChanged.emit(updatedConsumable)))
|
|
125
|
-
.subscribe();
|
|
126
|
-
}
|
|
127
|
-
createForm(values) {
|
|
128
|
-
return this.formBuilder.group({
|
|
129
|
-
quantity: this.formBuilder.control(values?.quantity, [
|
|
130
|
-
Validators.required,
|
|
131
|
-
Validators.min(1),
|
|
132
|
-
Validators.max(99999)
|
|
133
|
-
]),
|
|
134
|
-
unit: this.formBuilder.control(UnitsAmount[0].value, [Validators.required]),
|
|
135
|
-
measure: this.formBuilder.group({
|
|
136
|
-
measure: this.formBuilder.control(values?.measure?.measure ??
|
|
137
|
-
(this.consumptionOptions?.()[0]?.value
|
|
138
|
-
? this.cuiConsumptionUnitsService.getConsumptionByUnit(this.consumptionOptions()[0].value)
|
|
139
|
-
: "LENGTH" /* Consumption.Length */), [Validators.required]),
|
|
140
|
-
value: this.formBuilder.control(values?.measure?.value, [
|
|
141
|
-
Validators.required,
|
|
142
|
-
Validators.min(0.001),
|
|
143
|
-
Validators.max(99999)
|
|
144
|
-
]),
|
|
145
|
-
unit: this.formBuilder.control(values?.measure?.measure === 'AMOUNT'
|
|
146
|
-
? 'PIECES'
|
|
147
|
-
: (values?.measure?.unit ?? this.consumptionOptions?.()[0].value), [Validators.required])
|
|
148
|
-
})
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
formatMeasureUnits(material) {
|
|
152
|
-
return {
|
|
153
|
-
...material,
|
|
154
|
-
measure: {
|
|
155
|
-
...material.measure,
|
|
156
|
-
unit: material.measure.measure === 'AMOUNT'
|
|
157
|
-
? null
|
|
158
|
-
: (material?.measure?.unit ?? this.consumptionOptions?.()[0].value)
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConsumableFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
163
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ConsumableFormComponent, isStandalone: true, selector: "cui-consumable-form", inputs: { utilityId: { classPropertyName: "utilityId", publicName: "utilityId", isSignal: true, isRequired: true, transformFunction: null }, consumable: { classPropertyName: "consumable", publicName: "consumable", isSignal: true, isRequired: true, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { consumableChanged: "consumableChanged", consumableDeleted: "consumableDeleted" }, ngImport: i0, template: "<cui-accordion-item\n *transloco=\"let t\"\n class=\"accordion\"\n>\n <div class=\"header\">\n {{ consumable().name }}\n\n @if (!readonly()) {\n <cui-options-button [options]=\"CONSUMABLE_OPTIONS\" />\n }\n </div>\n\n <div\n cuiAccordionItemContent\n class=\"content\"\n >\n <div class=\"info\">\n <div class=\"title\">{{ t('SEASON_CONSUMPTION') }}</div>\n\n @if (allSeasonForm() && consumptionOptions().length) {\n <cc-consumable-form-item\n title=\"{{ t('ALL_SEASON') }}:\"\n [consumptionOptions]=\"consumptionOptions()\"\n [form]=\"allSeasonForm()!\"\n [readonly]=\"readonly()\"\n (consumableChanged)=\"onConsumableChanged()\"\n />\n }\n </div>\n\n <div>\n @for (season of seasonForms(); track season) {\n <div class=\"season\">\n @if (consumptionOptions().length) {\n <cc-consumable-form-item\n title=\"{{ t(season.type) }}:\"\n [consumptionOptions]=\"consumptionOptions()\"\n [form]=\"season.form\"\n [readonly]=\"readonly()\"\n (consumableChanged)=\"onConsumableChanged()\"\n />\n }\n\n @if (!readonly()) {\n <div class=\"container-trash\">\n <button\n type=\"button\"\n cuiButton\n size=\"xxs\"\n appearance=\"ghost\"\n icon=\"cuiIconTrash\"\n (click)=\"onRemoveSeason(season.type)\"\n ></button>\n </div>\n }\n </div>\n }\n </div>\n @if (!readonly()) {\n <button\n #seasonButton=\"elementRef\"\n cuiButton\n cuiElement\n type=\"button\"\n appearance=\"flat\"\n size=\"xxs\"\n icon=\"cuiIconPlus\"\n [disabled]=\"!availableSeasons().length\"\n class=\"add-button\"\n >\n {{ t('ADD_SEASON') }}\n </button>\n <cui-context-menu\n [items]=\"SEASON_OPTIONS()\"\n [target]=\"seasonButton.nativeElement\"\n />\n }\n </div>\n</cui-accordion-item>\n", styles: [":host{display:flex;width:100%}.info{display:flex;flex-direction:column;gap:8px;padding-bottom:8px}.accordion{display:flex;flex-direction:column;gap:16px;padding-top:8px;padding-bottom:8px;flex-grow:1;border:1px solid var(--cui-base-200);background-color:var(--cui-base-0)}.season{display:flex;gap:8px;align-items:center;padding:16px;border:solid 1px var(--cui-base-200);border-radius:8px}.header{display:flex;justify-content:space-between;align-items:center}.title{font-weight:400;font-size:12px;line-height:14px;color:var(--cui-base-500);text-transform:uppercase}.content{display:flex;flex-direction:column;gap:4px}.container-trash{display:flex;align-items:center;justify-content:center}.add-button{align-self:flex-start}\n"], dependencies: [{ kind: "ngmodule", type: CuiAccordionModule }, { kind: "component", type: i1.CuiAccordionItemComponent, selector: "cui-accordion-item", inputs: ["isOpen", "appearance"], outputs: ["isOpenChange"] }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: i2.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "ngmodule", type: CuiContextMenuModule }, { kind: "component", type: i3.CuiContextMenuComponent, selector: "cui-context-menu[items][target]", inputs: ["items", "target", "width", "withPaddings"] }, { kind: "directive", type: CuiElementDirective, selector: "[cuiElement]", exportAs: ["elementRef"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: OptionsButtonComponent, selector: "cui-options-button", inputs: ["options", "hoverBackgroundColor"] }, { kind: "ngmodule", type: CuiInputNumberModule }, { kind: "ngmodule", type: CuiSvgModule }, { kind: "ngmodule", type: CuiFormFieldModule }, { kind: "ngmodule", type: CuiLabelModule }, { kind: "component", type: ConsumableFormItemComponent, selector: "cc-consumable-form-item", inputs: ["title", "consumptionOptions", "form", "readonly"], outputs: ["consumableChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
164
|
-
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConsumableFormComponent, decorators: [{
|
|
166
|
-
type: Component,
|
|
167
|
-
args: [{ selector: 'cui-consumable-form', imports: [
|
|
168
|
-
CuiAccordionModule,
|
|
169
|
-
CuiButtonModule,
|
|
170
|
-
CuiContextMenuModule,
|
|
171
|
-
CuiElementDirective,
|
|
172
|
-
ReactiveFormsModule,
|
|
173
|
-
TranslocoDirective,
|
|
174
|
-
OptionsButtonComponent,
|
|
175
|
-
CuiInputNumberModule,
|
|
176
|
-
CuiSvgModule,
|
|
177
|
-
CuiFormFieldModule,
|
|
178
|
-
CuiLabelModule,
|
|
179
|
-
ConsumableFormItemComponent,
|
|
180
|
-
ConsumableFormItemComponent,
|
|
181
|
-
ConsumableFormItemComponent
|
|
182
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<cui-accordion-item\n *transloco=\"let t\"\n class=\"accordion\"\n>\n <div class=\"header\">\n {{ consumable().name }}\n\n @if (!readonly()) {\n <cui-options-button [options]=\"CONSUMABLE_OPTIONS\" />\n }\n </div>\n\n <div\n cuiAccordionItemContent\n class=\"content\"\n >\n <div class=\"info\">\n <div class=\"title\">{{ t('SEASON_CONSUMPTION') }}</div>\n\n @if (allSeasonForm() && consumptionOptions().length) {\n <cc-consumable-form-item\n title=\"{{ t('ALL_SEASON') }}:\"\n [consumptionOptions]=\"consumptionOptions()\"\n [form]=\"allSeasonForm()!\"\n [readonly]=\"readonly()\"\n (consumableChanged)=\"onConsumableChanged()\"\n />\n }\n </div>\n\n <div>\n @for (season of seasonForms(); track season) {\n <div class=\"season\">\n @if (consumptionOptions().length) {\n <cc-consumable-form-item\n title=\"{{ t(season.type) }}:\"\n [consumptionOptions]=\"consumptionOptions()\"\n [form]=\"season.form\"\n [readonly]=\"readonly()\"\n (consumableChanged)=\"onConsumableChanged()\"\n />\n }\n\n @if (!readonly()) {\n <div class=\"container-trash\">\n <button\n type=\"button\"\n cuiButton\n size=\"xxs\"\n appearance=\"ghost\"\n icon=\"cuiIconTrash\"\n (click)=\"onRemoveSeason(season.type)\"\n ></button>\n </div>\n }\n </div>\n }\n </div>\n @if (!readonly()) {\n <button\n #seasonButton=\"elementRef\"\n cuiButton\n cuiElement\n type=\"button\"\n appearance=\"flat\"\n size=\"xxs\"\n icon=\"cuiIconPlus\"\n [disabled]=\"!availableSeasons().length\"\n class=\"add-button\"\n >\n {{ t('ADD_SEASON') }}\n </button>\n <cui-context-menu\n [items]=\"SEASON_OPTIONS()\"\n [target]=\"seasonButton.nativeElement\"\n />\n }\n </div>\n</cui-accordion-item>\n", styles: [":host{display:flex;width:100%}.info{display:flex;flex-direction:column;gap:8px;padding-bottom:8px}.accordion{display:flex;flex-direction:column;gap:16px;padding-top:8px;padding-bottom:8px;flex-grow:1;border:1px solid var(--cui-base-200);background-color:var(--cui-base-0)}.season{display:flex;gap:8px;align-items:center;padding:16px;border:solid 1px var(--cui-base-200);border-radius:8px}.header{display:flex;justify-content:space-between;align-items:center}.title{font-weight:400;font-size:12px;line-height:14px;color:var(--cui-base-500);text-transform:uppercase}.content{display:flex;flex-direction:column;gap:4px}.container-trash{display:flex;align-items:center;justify-content:center}.add-button{align-self:flex-start}\n"] }]
|
|
183
|
-
}], ctorParameters: () => [] });
|
|
184
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3VtYWJsZS1mb3JtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb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1hYmxlcy50b0xvd2VyQ2FzZSgpLCBpZClcbiAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIHRha2VVbnRpbERlc3Ryb3llZCh0aGlzLmRlc3Ryb3lSZWYpLFxuICAgICAgICAgICAgICAgIHRhcCgoKSA9PiB0aGlzLmNvbnN1bWFibGVEZWxldGVkLmVtaXQoaWQpKSxcbiAgICAgICAgICAgICAgICBmaW5hbGl6ZSgoKSA9PiB0aGlzLmlzTG9hZGluZy5zZXQoZmFsc2UpKSxcbiAgICAgICAgICAgICAgICBzd2l0Y2hNYXAoKCkgPT5cbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jdWlBbGVydFNlcnZpY2Uub3BlbihcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMudHJhbnNsb2NvU2VydmljZS50cmFuc2xhdGUoQ29uc3VtYWJsZUZvcm1Db21wb25lbnQuQ09OU1VNQUJMRV9XQVNfREVMRVRFRCksXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdHVzOiAnc3VjY2VzcydcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGluaXRGb3JtVmFsdWVzRWZmZWN0KCk6IHZvaWQge1xuICAgICAgICBlZmZlY3QoXG4gICAgICAgICAgICAoKSA9PiB7XG4gICAgICAgICAgICAgICAgY29uc3Qgc2Vhc29uRm9ybXMgPSB1bnRyYWNrZWQodGhpcy5zZWFzb25Gb3Jtcyk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLmNvbnN1bWFibGUoKS5zdXBwbHk/LmZvckVhY2goKHNlYXNvbikgPT4ge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBpc0V4aXN0ID0gc2Vhc29uRm9ybXMuZmluZCgoZm9ybSkgPT4gZm9ybS50eXBlID09PSBzZWFzb24uc2Vhc29uKTtcblxuICAgICAgICAgICAgICAgICAgICBpZiAoaXNFeGlzdCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgdGhpcy5hZGRTZWFzb24oc2Vhc29uLnNlYXNvbiwgdGhpcy5jcmVhdGVGb3JtKHNlYXNvbikpO1xuICAgICAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuYWxsU2Vhc29uRm9ybSgpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICB0aGlzLmFsbFNlYXNvbkZvcm0uc2V0KHRoaXMuY3JlYXRlRm9ybSh0aGlzLmNvbnN1bWFibGUoKS5zdXBwbHlEZWZvbGlhdGUpKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB7IGFsbG93U2lnbmFsV3JpdGVzOiB0cnVlIH1cbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGFkZFNlYXNvbihzZWFzb25UeXBlOiBTZWFzb25UeXBlLCBmb3JtOiBGb3JtR3JvdXApOiB2b2lkIHtcbiAgICAgICAgdGhpcy5zZWFzb25Gb3Jtcy51cGRhdGUoKGZvcm1zKSA9PiBbXG4gICAgICAgICAgICAuLi5mb3JtcyxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICB0eXBlOiBzZWFzb25UeXBlLFxuICAgICAgICAgICAgICAgIGZvcm1cbiAgICAgICAgICAgIH1cbiAgICAgICAgXSk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSB1cGRhdGVDb25zdW1hYmxlKCk6IHZvaWQge1xuICAgICAgICBjb25zdCBhbGxTZWFzb25Gb3JtID0gdGhpcy5hbGxTZWFzb25Gb3JtKCk7XG5cbi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pWzBdPy52YWx1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gdGhpcy5jdWlDb25zdW1wdGlvblVuaXRzU2VydmljZS5nZXRDb25zdW1wdGlvbkJ5VW5pdCh0aGlzLmNvbnN1bXB0aW9uT3B0aW9ucygpWzBdLnZhbHVlKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDogQ29uc3VtcHRpb24uTGVuZ3RoKSxcbiAgICAgICAgICAgICAgICAgICAgW1ZhbGlkYXRvcnMucmVxdWlyZWRdXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICB2YWx1ZTogdGhpcy5mb3JtQnVpbGRlci5jb250cm9sKHZhbHVlcz8ubWVhc3VyZT8udmFsdWUsIFtcbiAgICAgICAgICAgICAgICAgICAgVmFsaWRhdG9ycy5yZXF1aXJlZCxcbiAgICAgICAgICAgICAgICAgICAgVmFsaWRhdG9ycy5taW4oMC4wMDEpLFxuICAgICAgICAgICAgICAgICAgICBWYWxpZGF0b3JzLm1heCg5OTk5OSlcbiAgICAgICAgICAgICAgICBdKSxcbiAgICAgICAgICAgICAgICB1bml0OiB0aGlzLmZvcm1CdWlsZGVyLmNvbnRyb2woXG4gICAgICAgICAgICAgICAgICAgIHZhbHVlcz8ubWVhc3VyZT8ubWVhc3VyZSA9PT0gJ0FNT1VOVCdcbiAgICAgICAgICAgICAgICAgICAgICAgID8gJ1BJRUNFUydcbiAgICAgICAgICAgICAgICAgICAgICAgIDogKHZhbHVlcz8ubWVhc3VyZT8udW5pdCA/PyB0aGlzLmNvbnN1bXB0aW9uT3B0aW9ucz8uKClbMF0udmFsdWUpLFxuICAgICAgICAgICAgICAgICAgICBbVmFsaWRhdG9ycy5yZXF1aXJlZF1cbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICB9KVxuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGZvcm1hdE1lYXN1cmVVbml0cyhcbiAgICAgICAgbWF0ZXJpYWw6IE1hdG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GxlXCI+e3sgdCgnU0VBU09OX0NPTlNVTVBUSU9OJykgfX08L2Rpdj5cblxuICAgICAgICAgICAgQGlmIChhbGxTZWFzb25Gb3JtKCkgJiYgY29uc3VtcHRpb25PcHRpb25zKCkubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgPGNjLWNvbnN1bWFibGUtZm9ybS1pdGVtXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlPVwie3sgdCgnQUxMX1NFQVNPTicpIH19OlwiXG4gICAgICAgICAgICAgICAgICAgIFtjb25zdW1wdGlvbk9wdGlvbnNdPVwiY29uc3VtcHRpb25PcHRpb25zKClcIlxuICAgICAgICAgICAgICAgICAgICBbZm9ybV09XCJhbGxTZWFzb25Gb3JtKCkhXCJcbiAgICAgICAgICAgICAgICAgICAgW3JlYWRvbmx5XT1cInJlYWRvbmx5KClcIlxuICAgICAgICAgICAgICAgICAgICAoY29uc3VtYWJsZUNoYW5nZWQpPVwib25Db25zdW1hYmxlQ2hhbmdlZCgpXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICA8L2Rpdj5cblxuICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgQGZvciAoc2Vhc29uIG9mIHNlYXNvbkZvcm1zKCk7IHRyYWNrIHNlYXNvbikge1xuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJzZWFzb25cIj5cbiAgICAgICAgICAgICAgICAgICAgQGlmIChjb25zdW1wdGlvbk9wdGlvbnMoKS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIDxjYy1jb25zdW1hYmxlLWZvcm0taXRlbVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlPVwie3sgdChzZWFzb24udHlwZSkgfX06XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY29uc3VtcHRpb25PcHRpb25zXT1cImNvbnN1bXB0aW9uT3B0aW9ucygpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZm9ybV09XCJzZWFzb24uZm9ybVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3JlYWRvbmx5XT1cInJlYWRvbmx5KClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjb25zdW1hYmxlQ2hhbmdlZCk9XCJvbkNvbnN1bWFibGVDaGFuZ2VkKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIEBpZiAoIXJlYWRvbmx5KCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb250YWluZXItdHJhc2hcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjdWlCdXR0b25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2l6ZT1cInh4c1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJnaG9zdFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGljb249XCJjdWlJY29uVHJhc2hcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwib25SZW1vdmVTZWFzb24oc2Vhc29uLnR5cGUpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+PC9idXR0b24+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgfVxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgQGlmICghcmVhZG9ubHkoKSkge1xuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICNzZWFzb25CdXR0b249XCJlbGVtZW50UmVmXCJcbiAgICAgICAgICAgICAgICBjdWlCdXR0b25cbiAgICAgICAgICAgICAgICBjdWlFbGVtZW50XG4gICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgYXBwZWFyYW5jZT1cImZsYXRcIlxuICAgICAgICAgICAgICAgIHNpemU9XCJ4eHNcIlxuICAgICAgICAgICAgICAgIGljb249XCJjdWlJY29uUGx1c1wiXG4gICAgICAgICAgICAgICAgW2Rpc2FibGVkXT1cIiFhdmFpbGFibGVTZWFzb25zKCkubGVuZ3RoXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cImFkZC1idXR0b25cIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIHt7IHQoJ0FERF9TRUFTT04nKSB9fVxuICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICA8Y3VpLWNvbnRleHQtbWVudVxuICAgICAgICAgICAgICAgIFtpdGVtc109XCJTRUFTT05fT1BUSU9OUygpXCJcbiAgICAgICAgICAgICAgICBbdGFyZ2V0XT1cInNlYXNvbkJ1dHRvbi5uYXRpdmVFbGVtZW50XCJcbiAgICAgICAgICAgIC8+XG4gICAgICAgIH1cbiAgICA8L2Rpdj5cbjwvY3VpLWFjY29yZGlvbi1pdGVtPlxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3VtYWJsZS1mb3JtLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY29uc3VtYWJsZS1mb3JtL2NvbnN1bWFibGUtZm9ybS5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEZvcm1Db250cm9sLCBGb3JtR3JvdXAgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5pbXBvcnQgdHlwZSB7IE1lYXN1cmVtZW50IH0gZnJvbSAnQGN1YnktdWkvYXBpJztcbmltcG9ydCB7IFNlYXNvblR5cGUgfSBmcm9tICdAY3VieS11aS9hcGknO1xuXG5leHBvcnQgaW50ZXJmYWNlIFNlYXNvbkZvcm0ge1xuICAgIHJlYWRvbmx5IHR5cGU6IFNlYXNvblR5cGU7XG4gICAgcmVhZG9ubHkgZm9ybTogRm9ybUdyb3VwPENvbnN1bWFibGVGb3JtR3JvdXA+O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIENvbnN1bWFibGVGb3JtR3JvdXAge1xuICAgIHJlYWRvbmx5IHF1YW50aXR5OiBGb3JtQ29udHJvbDxudW1iZXI+O1xuICAgIHJlYWRvbmx5IHVuaXQ6IEZvcm1Db250cm9sPHN0cmluZz47XG4gICAgcmVhZG9ubHkgbWVhc3VyZTogRm9ybUdyb3VwPENvbnN1bWFibGVNZWFzdXJlRm9ybUdyb3VwPjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBDb25zdW1hYmxlTWVhc3VyZUZvcm1Hcm91cCB7XG4gICAgcmVhZG9ubHkgbWVhc3VyZTogRm9ybUNvbnRyb2w8c3RyaW5nPjtcbiAgICByZWFkb25seSB1bml0OiBGb3JtQ29udHJvbDxzdHJpbmc+O1xuICAgIHJlYWRvbmx5IHZhbHVlOiBGb3JtQ29udHJvbDxudW1iZXI+O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIENvbnN1bWFibGVGb3JtVmFsdWVzIHtcbiAgICByZWFkb25seSBxdWFudGl0eTogbnVtYmVyO1xuICAgIHJlYWRvbmx5IHVuaXQ6IHN0cmluZztcbiAgICByZWFkb25seSBtZWFzdXJlOiBNZWFzdXJlbWVudDtcbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { ConsumableFormComponent } from './consumable-form.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY29uc3VtYWJsZS1mb3JtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ29uc3VtYWJsZUZvcm1Db21wb25lbnQgfSBmcm9tICcuL2NvbnN1bWFibGUtZm9ybS5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, DestroyRef, effect, inject, input, model, output, signal, untracked, viewChild } from '@angular/core';
|
|
2
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
3
|
-
import { CuiTreeStructNavigatorApiService } from '@cuby-ui/api';
|
|
4
|
-
import { CuiIdService } from '@cuby-ui/cdk';
|
|
5
|
-
import { TranslocoModule, TranslocoService } from '@jsverse/transloco';
|
|
6
|
-
import { finalize, forkJoin } from 'rxjs';
|
|
7
|
-
import { CuiBadgeModule, CuiButtonModule, CuiDialogModule, CuiFormFieldModule, CuiLabelModule, CuiSvgModule } from '../../../components';
|
|
8
|
-
import { CuiCategoriesComponent, CuiSelectedCategoryService } from '../categories';
|
|
9
|
-
import { CuiCriterionInfoFormComponent } from '../criterion-info-form';
|
|
10
|
-
import { UTILITY_MODAL_SERVICE_TOKEN } from '../utility-modal';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "../../../components/form-field/form-field.component";
|
|
13
|
-
import * as i2 from "../../../components/label/label.component";
|
|
14
|
-
import * as i3 from "../../../components/svg/svg.component";
|
|
15
|
-
import * as i4 from "@jsverse/transloco";
|
|
16
|
-
export class CuiCriterionInfoComponent {
|
|
17
|
-
constructor() {
|
|
18
|
-
this.destroyRef = inject(DestroyRef);
|
|
19
|
-
this.translocoService = inject(TranslocoService);
|
|
20
|
-
this.cuiIdService = inject(CuiIdService);
|
|
21
|
-
this.cuiCategoriesModalService = inject(CuiSelectedCategoryService);
|
|
22
|
-
this.treeStructNavigatorApiService = inject(CuiTreeStructNavigatorApiService);
|
|
23
|
-
this.criterionApiService = inject(UTILITY_MODAL_SERVICE_TOKEN);
|
|
24
|
-
this.skipCategoryChange = false;
|
|
25
|
-
this.TYPE = "CRITERION_STORAGE" /* TreeStructType.Criteria */;
|
|
26
|
-
this.categoryId = this.cuiIdService.generate();
|
|
27
|
-
this.category = this.cuiCategoriesModalService.category;
|
|
28
|
-
this.isFormValid = signal(false);
|
|
29
|
-
this.prevCategoryId = signal(null);
|
|
30
|
-
this.editorConfig = signal(null);
|
|
31
|
-
this.labelColor = computed(() => this.category()?.title ? 'var(--cui-base-900)' : 'var(--cui-base-400)');
|
|
32
|
-
this.selectTitle = computed(() => this.category()?.title ?? this.translocoService.translate('SELECT') + '...');
|
|
33
|
-
this.element = viewChild('scrollContent');
|
|
34
|
-
this.criterion = model();
|
|
35
|
-
this.tools = input.required();
|
|
36
|
-
this.editorResourceUrl = input.required();
|
|
37
|
-
this.validationChanged = output();
|
|
38
|
-
this.criterionCreated = output();
|
|
39
|
-
this.initConfigEffect();
|
|
40
|
-
this.initCategoryEffect();
|
|
41
|
-
}
|
|
42
|
-
ngOnInit() {
|
|
43
|
-
this.initCategory();
|
|
44
|
-
}
|
|
45
|
-
onFormChanged(values, criterionId) {
|
|
46
|
-
const actions = {
|
|
47
|
-
title: (title) => this.changeTitle(title, criterionId)
|
|
48
|
-
};
|
|
49
|
-
forkJoin(Object.keys(values).map((key) => actions[key](values[key] || '')))
|
|
50
|
-
.pipe(takeUntilDestroyed(this.destroyRef))
|
|
51
|
-
.subscribe();
|
|
52
|
-
}
|
|
53
|
-
onFormValidationChanged(isValid) {
|
|
54
|
-
this.isFormValid.set(isValid);
|
|
55
|
-
this.validationChanged.emit(isValid);
|
|
56
|
-
}
|
|
57
|
-
initCategoryEffect() {
|
|
58
|
-
effect(() => {
|
|
59
|
-
const category = this.category();
|
|
60
|
-
const storageObjectCriterion = untracked(this.criterion);
|
|
61
|
-
if (!category || this.skipCategoryChange) {
|
|
62
|
-
this.skipCategoryChange = false;
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
if (storageObjectCriterion) {
|
|
66
|
-
this.changeCategory(category.id, storageObjectCriterion.id);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
this.createCriterion(category.id);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
initConfigEffect() {
|
|
73
|
-
effect(() => {
|
|
74
|
-
const element = this.element()?.nativeElement;
|
|
75
|
-
if (!element) {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
this.editorConfig.set({ tools: this.tools(), element });
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
initCategory() {
|
|
82
|
-
const storageObjectId = this.criterion()?.id;
|
|
83
|
-
if (!storageObjectId) {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
this.treeStructNavigatorApiService
|
|
87
|
-
.getCategory(storageObjectId, "CRITERION_STORAGE" /* TreeStructType.Criteria */)
|
|
88
|
-
.pipe(takeUntilDestroyed(this.destroyRef))
|
|
89
|
-
.subscribe((category) => {
|
|
90
|
-
this.skipCategoryChange = true;
|
|
91
|
-
this.prevCategoryId.set(category.id);
|
|
92
|
-
this.cuiCategoriesModalService.setCurrentCategory(category);
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
changeCategory(categoryId, targetId) {
|
|
96
|
-
const prevCategoryId = untracked(this.prevCategoryId);
|
|
97
|
-
if (!prevCategoryId) {
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
this.subscription?.unsubscribe();
|
|
101
|
-
this.subscription = this.treeStructNavigatorApiService
|
|
102
|
-
.moveElement({
|
|
103
|
-
type: "MOVING_TARGET_TREE_STRUCT" /* MovingType.TARGET_TREE_STRUCT */,
|
|
104
|
-
movableItemId: targetId,
|
|
105
|
-
treeStructTargetItemId: categoryId,
|
|
106
|
-
treeStructMovableItemId: prevCategoryId
|
|
107
|
-
})
|
|
108
|
-
.subscribe(() => this.prevCategoryId.set(categoryId));
|
|
109
|
-
}
|
|
110
|
-
createCriterion(categoryId) {
|
|
111
|
-
this.criterionCreated.emit(categoryId);
|
|
112
|
-
this.prevCategoryId.set(categoryId);
|
|
113
|
-
}
|
|
114
|
-
changeTitle(value, criterionId) {
|
|
115
|
-
return this.criterionApiService.changeTitle(criterionId, value).pipe(finalize(() => this.criterion.update((prev) => ({
|
|
116
|
-
...prev,
|
|
117
|
-
storageElement: { ...prev.storageElement, title: value }
|
|
118
|
-
}))));
|
|
119
|
-
}
|
|
120
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCriterionInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
121
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiCriterionInfoComponent, isStandalone: true, selector: "cui-criterion-info", inputs: { criterion: { classPropertyName: "criterion", publicName: "criterion", isSignal: true, isRequired: false, transformFunction: null }, tools: { classPropertyName: "tools", publicName: "tools", isSignal: true, isRequired: true, transformFunction: null }, editorResourceUrl: { classPropertyName: "editorResourceUrl", publicName: "editorResourceUrl", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { criterion: "criterionChange", validationChanged: "validationChanged", criterionCreated: "criterionCreated" }, providers: [CuiSelectedCategoryService], viewQueries: [{ propertyName: "element", first: true, predicate: ["scrollContent"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"wrapper\"\n *transloco=\"let t\"\n>\n <div\n #scrollContent\n class=\"content content_scrollable\"\n >\n <div class=\"category\">\n <cui-form-field>\n <label\n cuiLabel\n [for]=\"categoryId\"\n [isRequired]=\"true\"\n >\n {{ t('SELECT_CATEGORY') }}\n </label>\n <cui-categories\n [buttonId]=\"categoryId\"\n [treeStructType]=\"TYPE\"\n >\n <div class=\"select\">\n <span [style.color]=\"labelColor()\">\n {{ selectTitle() }}\n </span>\n\n <cui-svg icon=\"cuiIconChevronDown\" />\n </div>\n </cui-categories>\n </cui-form-field>\n </div>\n\n @let criterionData = criterion();\n @let editorConfigData = editorConfig();\n\n @if (editorConfigData && criterionData) {\n <cui-criterion-info-form\n [config]=\"editorConfigData\"\n [baseResourceUrl]=\"editorResourceUrl()\"\n [title]=\"criterionData.storageElement.title\"\n [framerId]=\"criterionData.storageElement.framerCriterionId\"\n class=\"utility\"\n (isFormValidChanged)=\"onFormValidationChanged($event)\"\n (formChanged)=\"onFormChanged($event, criterionData.id)\"\n />\n }\n </div>\n</div>\n", styles: [".wrapper{display:flex;flex-direction:column;height:100%}.content{height:calc(100vh - 109px)}.content_scrollable{overflow:auto}.category{padding-top:16px;padding-right:23px;padding-left:23px}.select{padding:7px 13px;font-weight:400;font-size:14px;line-height:20px;display:flex;justify-content:space-between;height:36px;border-radius:8px;border:1px solid var(--cui-base-200);color:var(--cui-base-900);background:var(--cui-input)}.utility{--editor-height: none}\n"], dependencies: [{ kind: "ngmodule", type: CuiBadgeModule }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: CuiCategoriesComponent, selector: "cui-categories", inputs: ["treeStructType", "buttonId", "disabled", "context"] }, { kind: "ngmodule", type: CuiDialogModule }, { kind: "ngmodule", type: CuiFormFieldModule }, { kind: "component", type: i1.CuiFormFieldComponent, selector: "cui-form-field" }, { kind: "component", type: CuiCriterionInfoFormComponent, selector: "cui-criterion-info-form", inputs: ["title", "framerId", "baseResourceUrl", "config"], outputs: ["formChanged", "isFormValidChanged"] }, { kind: "ngmodule", type: CuiLabelModule }, { kind: "component", type: i2.CuiLabelComponent, selector: "label[cuiLabel]", inputs: ["isRequired"] }, { kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i3.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i4.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
122
|
-
}
|
|
123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCriterionInfoComponent, decorators: [{
|
|
124
|
-
type: Component,
|
|
125
|
-
args: [{ selector: 'cui-criterion-info', imports: [
|
|
126
|
-
CuiBadgeModule,
|
|
127
|
-
CuiButtonModule,
|
|
128
|
-
CuiCategoriesComponent,
|
|
129
|
-
CuiDialogModule,
|
|
130
|
-
CuiFormFieldModule,
|
|
131
|
-
CuiCriterionInfoFormComponent,
|
|
132
|
-
CuiLabelModule,
|
|
133
|
-
CuiSvgModule,
|
|
134
|
-
TranslocoModule
|
|
135
|
-
], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, providers: [CuiSelectedCategoryService], template: "<div\n class=\"wrapper\"\n *transloco=\"let t\"\n>\n <div\n #scrollContent\n class=\"content content_scrollable\"\n >\n <div class=\"category\">\n <cui-form-field>\n <label\n cuiLabel\n [for]=\"categoryId\"\n [isRequired]=\"true\"\n >\n {{ t('SELECT_CATEGORY') }}\n </label>\n <cui-categories\n [buttonId]=\"categoryId\"\n [treeStructType]=\"TYPE\"\n >\n <div class=\"select\">\n <span [style.color]=\"labelColor()\">\n {{ selectTitle() }}\n </span>\n\n <cui-svg icon=\"cuiIconChevronDown\" />\n </div>\n </cui-categories>\n </cui-form-field>\n </div>\n\n @let criterionData = criterion();\n @let editorConfigData = editorConfig();\n\n @if (editorConfigData && criterionData) {\n <cui-criterion-info-form\n [config]=\"editorConfigData\"\n [baseResourceUrl]=\"editorResourceUrl()\"\n [title]=\"criterionData.storageElement.title\"\n [framerId]=\"criterionData.storageElement.framerCriterionId\"\n class=\"utility\"\n (isFormValidChanged)=\"onFormValidationChanged($event)\"\n (formChanged)=\"onFormChanged($event, criterionData.id)\"\n />\n }\n </div>\n</div>\n", styles: [".wrapper{display:flex;flex-direction:column;height:100%}.content{height:calc(100vh - 109px)}.content_scrollable{overflow:auto}.category{padding-top:16px;padding-right:23px;padding-left:23px}.select{padding:7px 13px;font-weight:400;font-size:14px;line-height:20px;display:flex;justify-content:space-between;height:36px;border-radius:8px;border:1px solid var(--cui-base-200);color:var(--cui-base-900);background:var(--cui-input)}.utility{--editor-height: none}\n"] }]
|
|
136
|
-
}], ctorParameters: () => [] });
|
|
137
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JpdGVyaW9uLWluZm8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL2NyaXRlcmlvbi1pbmZvL2NyaXRlcmlvbi1pbmZvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9jcml0ZXJpb24taW5mby9jcml0ZXJpb24taW5mby5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxRQUFRLEVBQ1IsVUFBVSxFQUNWLE1BQU0sRUFDTixNQUFNLEVBQ04sS0FBSyxFQUNMLEtBQUssRUFDTCxNQUFNLEVBQ04sTUFBTSxFQUNOLFNBQVMsRUFDVCxTQUFTLEVBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGtCQUF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IDxsYWJlbFxuICAgICAgICAgICAgICAgICAgICBjdWlMYWJlbFxuICAgICAgICAgICAgICAgICAgICBbZm9yXT1cImNhdGVnb3J5SWRcIlxuICAgICAgICAgICAgICAgICAgICBbaXNSZXF1aXJlZF09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IHQoJ1NFTEVDVF9DQVRFR09SWScpIH19XG4gICAgICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgICAgICA8Y3VpLWNhdGVnb3JpZXNcbiAgICAgICAgICAgICAgICAgICAgW2J1dHRvbklkXT1cImNhdGVnb3J5SWRcIlxuICAgICAgICAgICAgICAgICAgICBbdHJlZVN0cnVjdFR5cGVdPVwiVFlQRVwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwic2VsZWN0XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBbc3R5bGUuY29sb3JdPVwibGFiZWxDb2xvcigpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgc2VsZWN0VGl0bGUoKSB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuXG4gICAgICAgICAgICAgICAgICAgICAgICA8Y3VpLXN2ZyBpY29uPVwiY3VpSWNvbkNoZXZyb25Eb3duXCIgLz5cbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9jdWktY2F0ZWdvcmllcz5cbiAgICAgICAgICAgIDwvY3VpLWZvcm0tZmllbGQ+XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIEBsZXQgY3JpdGVyaW9uRGF0YSA9IGNyaXRlcmlvbigpO1xuICAgICAgICBAbGV0IGVkaXRvckNvbmZpZ0RhdGEgPSBlZGl0b3JDb25maWcoKTtcblxuICAgICAgICBAaWYgKGVkaXRvckNvbmZpZ0RhdGEgJiYgY3JpdGVyaW9uRGF0YSkge1xuICAgICAgICAgICAgPGN1aS1jcml0ZXJpb24taW5mby1mb3JtXG4gICAgICAgICAgICAgICAgW2NvbmZpZ109XCJlZGl0b3JDb25maWdEYXRhXCJcbiAgICAgICAgICAgICAgICBbYmFzZVJlc291cmNlVXJsXT1cImVkaXRvclJlc291cmNlVXJsKClcIlxuICAgICAgICAgICAgICAgIFt0aXRsZV09XCJjcml0ZXJpb25EYXRhLnN0b3JhZ2VFbGVtZW50LnRpdGxlXCJcbiAgICAgICAgICAgICAgICBbZnJhbWVySWRdPVwiY3JpdGVyaW9uRGF0YS5zdG9yYWdlRWxlbWVudC5mcmFtZXJDcml0ZXJpb25JZFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ1dGlsaXR5XCJcbiAgICAgICAgICAgICAgICAoaXNGb3JtVmFsaWRDaGFuZ2VkKT1cIm9uRm9ybVZhbGlkYXRpb25DaGFuZ2VkKCRldmVudClcIlxuICAgICAgICAgICAgICAgIChmb3JtQ2hhbmdlZCk9XCJvbkZvcm1DaGFuZ2VkKCRldmVudCwgY3JpdGVyaW9uRGF0YS5pZClcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgfVxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { CuiCriterionInfoComponent } from './criterion-info.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvY3JpdGVyaW9uLWluZm8vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlDcml0ZXJpb25JbmZvQ29tcG9uZW50IH0gZnJvbSAnLi9jcml0ZXJpb24taW5mby5jb21wb25lbnQnO1xuIl19
|