@cuby-ui/core 0.0.485 → 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,30 +0,0 @@
|
|
|
1
|
-
import { inject, Injectable } from '@angular/core';
|
|
2
|
-
import { CUI_LOCAL_STORAGE } from '@cuby-ui/cdk';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { CUI_THEME, CUI_THEME_STORAGE_KEY } from './theme.options';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class CuiThemeService extends BehaviorSubject {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(inject(CUI_LOCAL_STORAGE).getItem(inject(CUI_THEME_STORAGE_KEY)) ??
|
|
9
|
-
inject(CUI_THEME));
|
|
10
|
-
this.localStorage = inject(CUI_LOCAL_STORAGE);
|
|
11
|
-
this.key = inject(CUI_THEME_STORAGE_KEY);
|
|
12
|
-
}
|
|
13
|
-
next(theme) {
|
|
14
|
-
this.localStorage.setItem(this.key, theme);
|
|
15
|
-
super.next(theme);
|
|
16
|
-
}
|
|
17
|
-
// При работе только двух тем
|
|
18
|
-
switch() {
|
|
19
|
-
this.next(this.value === 'light' ? 'dark' : 'light');
|
|
20
|
-
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
22
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiThemeService, providedIn: 'root' }); }
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiThemeService, decorators: [{
|
|
25
|
-
type: Injectable,
|
|
26
|
-
args: [{
|
|
27
|
-
providedIn: 'root'
|
|
28
|
-
}]
|
|
29
|
-
}], ctorParameters: () => [] });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc2VydmljZXMvdGhlbWUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVuRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDakQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUd2QyxPQUFPLEV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zOiBDdWlUb2tlblJvbGVbXTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBDdWlFeGNoYW5nZVRva2VuU2Vzc2lvbiBleHRlbmRzIEN1aVRva2VuRGF0YSB7XG4gICAgcmVhZG9ubHkgc2lkOiBzdHJpbmc7XG4gICAgcmVhZG9ubHkgZW1wbG95ZWVfc2Vzc2lvbjogQ3VpRW1wbG95ZWVTZXNzaW9uRGF0YTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBDdWlFbXBsb3llZVNlc3Npb25EYXRhIHtcbiAgICByZWFkb25seSBlbXBsb3llZUlkOiBzdHJpbmc7XG4gICAgcmVhZG9ubHkgYWN0aXZpdHlJZDogc3RyaW5nO1xuICAgIHJlYWRvbmx5IGNvbXBhbnlJZDogc3RyaW5nO1xuICAgIHJlYWRvbmx5IGFjY2Vzc0xldmVsczogc3RyaW5nW107XG59XG5cbmV4cG9ydCBjb25zdCBlbnVtIEN1aVRva2VuUm9sZSB7XG4gICAgQWRtaW4gPSAnQURNSU4nLFxuICAgIE93bmVyID0gJ09XTkVSJyxcbiAgICBVc2VyID0gJ1VTRVInXG59XG4iXX0=
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { inject, signal } from '@angular/core';
|
|
2
|
-
import { CuiExchangeContextApiService } from '@cuby-ui/api';
|
|
3
|
-
import { OAuthErrorEvent, OAuthService, OAuthSuccessEvent } from 'angular-oauth2-oidc';
|
|
4
|
-
import { catchError, from, map, of, switchMap, tap, throwError } from 'rxjs';
|
|
5
|
-
class CuiToken extends OAuthService {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.tokenData = signal({});
|
|
9
|
-
this.CONVERT_TO_SECONDS_CONSTANT = 1000;
|
|
10
|
-
}
|
|
11
|
-
getRefreshTokenExpiration() {
|
|
12
|
-
const refreshTokenExpiration = this.getTokenDataFromStore(this.getRefreshToken());
|
|
13
|
-
return refreshTokenExpiration.exp;
|
|
14
|
-
}
|
|
15
|
-
getAccessTokenData() {
|
|
16
|
-
const token = this.getAccessToken();
|
|
17
|
-
if (!token) {
|
|
18
|
-
throw new Error('No access token found');
|
|
19
|
-
}
|
|
20
|
-
return this.getTokenDataFromStore(token);
|
|
21
|
-
}
|
|
22
|
-
checkIsTokenExpired() {
|
|
23
|
-
const token = this.getAccessToken();
|
|
24
|
-
if (!token) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
return this.checkTokenExpired(this.getAccessTokenExpiration() / this.CONVERT_TO_SECONDS_CONSTANT);
|
|
28
|
-
}
|
|
29
|
-
checkIsRefreshTokenExpired() {
|
|
30
|
-
const token = this.getRefreshToken();
|
|
31
|
-
if (!token) {
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
return this.checkTokenExpired(this.getRefreshTokenExpiration());
|
|
35
|
-
}
|
|
36
|
-
getTokenDataFromStore(token) {
|
|
37
|
-
const tokenData = this.tokenData()[token];
|
|
38
|
-
if (tokenData) {
|
|
39
|
-
return tokenData;
|
|
40
|
-
}
|
|
41
|
-
const currentTokenData = this.parseToken(token);
|
|
42
|
-
this.tokenData.update((prev) => ({ ...prev, [token]: currentTokenData }));
|
|
43
|
-
return currentTokenData;
|
|
44
|
-
}
|
|
45
|
-
parseToken(token) {
|
|
46
|
-
try {
|
|
47
|
-
const base64Url = token.split('.')[1];
|
|
48
|
-
const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
|
|
49
|
-
const jsonPayload = decodeURIComponent(window
|
|
50
|
-
.atob(base64)
|
|
51
|
-
.split('')
|
|
52
|
-
.map((c) => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2))
|
|
53
|
-
.join(''));
|
|
54
|
-
return JSON.parse(jsonPayload);
|
|
55
|
-
}
|
|
56
|
-
catch {
|
|
57
|
-
throw new Error('Invalid token');
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
checkTokenExpired(expiredTimeInSeconds) {
|
|
61
|
-
const currentTime = Date.now() / this.CONVERT_TO_SECONDS_CONSTANT;
|
|
62
|
-
return currentTime >= expiredTimeInSeconds;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export class CuiTokenBase extends CuiToken {
|
|
66
|
-
constructor() {
|
|
67
|
-
super(...arguments);
|
|
68
|
-
this.exchangeContextApiService = inject(CuiExchangeContextApiService);
|
|
69
|
-
this.EXCHANGE_TOKEN_VALUE = 'token-exchange';
|
|
70
|
-
}
|
|
71
|
-
// TODO: override refreshToken with custom refresh token request to the backend
|
|
72
|
-
refreshToken() {
|
|
73
|
-
try {
|
|
74
|
-
const tokenData = this.getTokenDataFromStore(this.getRefreshToken());
|
|
75
|
-
if (tokenData.azp.includes(this.EXCHANGE_TOKEN_VALUE)) {
|
|
76
|
-
return this.refreshExchangedToken();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (error) {
|
|
80
|
-
this.logger.error('Error refreshing token', error);
|
|
81
|
-
}
|
|
82
|
-
return super.refreshToken();
|
|
83
|
-
}
|
|
84
|
-
refreshExchangedToken() {
|
|
85
|
-
return new Promise((resolve, reject) => this.exchangeContextApiService
|
|
86
|
-
.refresh(this.getRefreshToken())
|
|
87
|
-
.pipe(switchMap((tokenResponse) => this.setIdToken(tokenResponse)))
|
|
88
|
-
.subscribe({
|
|
89
|
-
next: (tokenResponse) => {
|
|
90
|
-
this.setTokenResponse(tokenResponse);
|
|
91
|
-
resolve(tokenResponse);
|
|
92
|
-
},
|
|
93
|
-
error: (error) => {
|
|
94
|
-
this.logger.error('Error refreshing token', error);
|
|
95
|
-
this.eventsSubject.next(new OAuthErrorEvent('token_refresh_error', error));
|
|
96
|
-
reject(error);
|
|
97
|
-
}
|
|
98
|
-
}));
|
|
99
|
-
}
|
|
100
|
-
exchangeToken(params) {
|
|
101
|
-
return this.exchangeContextApiService.exchange(params).pipe(switchMap((tokenResponse) => this.setIdToken(tokenResponse)), tap((tokenResponse) => this.setTokenResponse(tokenResponse)), catchError((error) => {
|
|
102
|
-
this.logger.error('Error exchanging token', error);
|
|
103
|
-
this.eventsSubject.next(new OAuthErrorEvent('token_refresh_error', error));
|
|
104
|
-
return throwError(() => error);
|
|
105
|
-
}));
|
|
106
|
-
}
|
|
107
|
-
setTokenResponse(tokenResponse) {
|
|
108
|
-
const expiresIn = tokenResponse.expires_in || this.fallbackAccessTokenExpirationTimeInSec;
|
|
109
|
-
this.debug('tokenResponse', tokenResponse);
|
|
110
|
-
this.storeAccessTokenResponse(tokenResponse.access_token, tokenResponse.refresh_token, expiresIn, tokenResponse.scope);
|
|
111
|
-
this.eventsSubject.next(new OAuthSuccessEvent('token_received'));
|
|
112
|
-
this.eventsSubject.next(new OAuthSuccessEvent('token_refreshed'));
|
|
113
|
-
}
|
|
114
|
-
setIdToken(tokenResponse) {
|
|
115
|
-
if (!this.oidc || !tokenResponse.id_token) {
|
|
116
|
-
return of(tokenResponse);
|
|
117
|
-
}
|
|
118
|
-
return from(this.processIdToken(tokenResponse.id_token, tokenResponse.access_token, true)).pipe(tap((result) => this.storeIdToken(result)), map(() => tokenResponse));
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9rZW4uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc2VydmljZXMvdG9rZW4uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUvQyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFNUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxZQUFZLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUV2RixPQUFPLEVBQUUsVUFBVSxFQUFF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rva2VuXTtcblxuICAgICAgICBpZiAodG9rZW5EYXRhKSB7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW5EYXRhO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgY3VycmVudFRva2VuRGF0YSA9IHRoaXMucGFyc2VUb2tlbih0b2tlbik7XG5cbiAgICAgICAgdGhpcy50b2tlbkRhdGEudXBkYXRlKChwcmV2KSA9PiAoeyAuLi5wcmV2LCBbdG9rZW5dOiBjdXJyZW50VG9rZW5EYXRhIH0pKTtcblxuICAgICAgICByZXR1cm4gY3VycmVudFRva2VuRGF0YTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHBhcnNlVG9rZW4odG9rZW46IHN0cmluZyk6IEN1aVRva2VuRGF0YSB7XG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgICBjb25zdCBiYXNlNjRVcmwgPSB0b2tlbi5zcGxpdCgnLicpWzFdO1xuICAgICAgICAgICAgY29uc3QgYmFzZTY0ID0gYmFzZTY0VXJsLnJlcGxhY2UoLy0vZywgJysnKS5yZXBsYWNlKC9fL2csICcvJyk7XG4gICAgICAgICAgICBjb25zdCBqc29uUGF5bG9hZCA9IGRlY29kZVVSSUNvbXBvbmVudChcbiAgICAgICAgICAgICAgICB3aW5kb3dcbiAgICAgICAgICAgICAgICAgICAgLmF0b2IoYmFzZTY0KVxuICAgICAgICAgICAgICAgICAgICAuc3BsaXQoJycpXG4gICAgICAgICAgICAgICAgICAgIC5tYXAoKGMpID0+ICclJyArICgnMDAnICsgYy5jaGFyQ29kZUF0KDApLnRvU3RyaW5nKDE2KSkuc2xpY2UoLTIpKVxuICAgICAgICAgICAgICAgICAgICAuam9pbignJylcbiAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgIHJldHVybiBKU09OLnBhcnNlKGpzb25QYXlsb2FkKTtcbiAgICAgICAgfSBjYXRjaCB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0ludmFsaWQgdG9rZW4nKTtcbiAgICAg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0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICAgICAgICB0aGlzLmxvZ2dlci5lcnJvcignRXJyb3IgcmVmcmVzaGluZyB0b2tlbicsIGVycm9yKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBzdXBlci5yZWZyZXNoVG9rZW4oKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgcmVmcmVzaEV4Y2hhbmdlZFRva2VuKCk6IFByb21pc2U8Q3VpVG9rZW5SZXNwb25zZT4ge1xuICAgICAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlc29sdmUsIHJlamVjdCkgPT5cbiAgICAgICAgICAgIHRoaXMuZXhjaGFuZ2VDb250ZXh0QXBpU2VydmljZVxuICAgICAgICAgICAgICAgIC5yZWZyZXNoKHRoaXMuZ2V0UmVmcmVzaFRva2VuKCkpXG4gICAgICAgICAgICAgICAgLnBpcGUoc3dpdGNoTWFwKCh0b2tlblJlc3BvbnNlKSA9PiB0aGlzLnNldElkVG9rZW4odG9rZW5SZXNwb25zZSkpKVxuICAgICAgICAgICAgICAgIC5zdWJzY3JpYmUoe1xuICAgICAgICAgICAgICAgICAgICBuZXh0OiAodG9rZW5SZXNwb25zZSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5zZXRUb2tlblJlc3BvbnNlKHRva2VuUmVzcG9uc2UpO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlKHRva2VuUmVzcG9uc2UpO1xuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICBlcnJvcjogKGVycm9yKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmxvZ2dlci5lcnJvcignRXJyb3IgcmVmcmVzaGluZyB0b2tlbicsIGVycm9yKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuZXZlbnRzU3ViamVjdC5uZXh0KG5ldyBPQXV0aEVycm9yRXZlbnQoJ3Rva2VuX3JlZnJlc2hfZXJyb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ICAgICAgICAgbWFwKCgpID0+IHRva2VuUmVzcG9uc2UpXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { inject, Injectable } from '@angular/core';
|
|
2
|
-
import { CUI_WINDOW } from '@cuby-ui/cdk';
|
|
3
|
-
import { CUI_IS_WEBKIT } from '@cuby-ui/cdk';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class CuiVisualViewportService {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.isWebkit = inject(CUI_IS_WEBKIT);
|
|
8
|
-
this.win = inject(CUI_WINDOW);
|
|
9
|
-
}
|
|
10
|
-
// https://bugs.webkit.org/show_bug.cgi?id=207089
|
|
11
|
-
correct(point) {
|
|
12
|
-
return this.isWebkit
|
|
13
|
-
? [
|
|
14
|
-
point[0] + (this.win.visualViewport?.offsetTop ?? 0),
|
|
15
|
-
point[1] + (this.win.visualViewport?.offsetLeft ?? 0)
|
|
16
|
-
]
|
|
17
|
-
: point;
|
|
18
|
-
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiVisualViewportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiVisualViewportService, providedIn: 'root' }); }
|
|
21
|
-
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiVisualViewportService, decorators: [{
|
|
23
|
-
type: Injectable,
|
|
24
|
-
args: [{
|
|
25
|
-
providedIn: 'root'
|
|
26
|
-
}]
|
|
27
|
-
}] });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlzdWFsLXZpZXdwb3J0LnNlcnZpY2UuanMiLCJzb3VyY2V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0LCBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDVUlfV0lORE9XIH0gZnJvbSAnQGN1YnktdWkvY2RrJztcbmltcG9ydCB7IENVSV9JU19XRUJLSVQgfSBmcm9tICdAY3VieS11aS9jZGsnO1xuaW1wb3J0IHR5cGUgeyBDdWlQb2ludCB9IGZyb20gJy4uL3R5cGVzJztcblxuQEluamVjdGFibGUoe1xuICAgIHByb3ZpZGVkSW46ICdyb290J1xufSlcbmV4cG9ydCBjbGFzcyBDdWlWaXN1YWxWaWV3cG9ydFNlcnZpY2Uge1xuICAgIHByaXZhdGUgcmVhZG9ubHkgaXNXZWJraXQgPSBpbmplY3QoQ1VJX0lTX1dFQktJVCk7XG4gICAgcHJpdmF0ZSByZWFkb25seSB3aW4gPSBpbmplY3QoQ1VJX1dJTkRPVyk7XG5cbiAgICAvLyBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjA3MDg5XG4gICAgcHVibGljIGNvcnJlY3QocG9pbnQ6IEN1aVBvaW50KTogQ3VpUG9pbnQge1xuICAgICAgICByZXR1cm4gdGhpcy5pc1dlYmtpdFxuICAgICAgICAgICAgPyBbXG4gICAgICAgICAgICAgICAgICBwb2ludFswXSArICh0aGlzLndpbi52aXN1YWxWaWV3cG9ydD8ub2Zmc2V0VG9wID8/IDApLFxuICAgICAgICAgICAgICAgICAgcG9pbnRbMV0gKyAodGhpcy53aW4udmlzdWFsVmlld3BvcnQ/Lm9mZnNldExlZnQgPz8gMClcbiAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgOiBwb2ludDtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { inject } from '@angular/core';
|
|
2
|
-
import { cuiCreateTokenFromFactory } from '@cuby-ui/cdk';
|
|
3
|
-
import { CUI_REDUCED_MOTION } from './reduced-motion';
|
|
4
|
-
/**
|
|
5
|
-
* Speed of all Taiga UI animations. 1 equals 300ms.
|
|
6
|
-
*/
|
|
7
|
-
export const CUI_ANIMATIONS_SPEED = cuiCreateTokenFromFactory(() => (inject(CUI_REDUCED_MOTION) ? 0 : 1));
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5pbWF0aW9ucy1zcGVlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdG9rZW5zL2FuaW1hdGlvbnMtc3BlZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFekQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFFdEQ7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxvQkFBb0IsR0FBRyx5QkFBeUIsQ0FBUyxHQUFHLEVBQUUsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBpbmplY3QgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IGN1aUNyZWF0ZVRva2VuRnJvbUZhY3RvcnkgfSBmcm9tICdAY3VieS11aS9jZGsnO1xuXG5pbXBvcnQgeyBDVUlfUkVEVUNFRF9NT1RJT04gfSBmcm9tICcuL3JlZHVjZWQtbW90aW9uJztcblxuLyoqXG4gKiBTcGVlZCBvZiBhbGwgVGFpZ2EgVUkgYW5pbWF0aW9ucy4gMSBlcXVhbHMgMzAwbXMuXG4gKi9cbmV4cG9ydCBjb25zdCBDVUlfQU5JTUFUSU9OU19TUEVFRCA9IGN1aUNyZWF0ZVRva2VuRnJvbUZhY3Rvcnk8bnVtYmVyPigoKSA9PiAoaW5qZWN0KENVSV9SRURVQ0VEX01PVElPTikgPyAwIDogMSkpO1xuIl19
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, inject } from '@angular/core';
|
|
2
|
-
import { CuiAlertService } from '../components';
|
|
3
|
-
class DefaultErrorNotificationService {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.alertService = inject(CuiAlertService);
|
|
6
|
-
}
|
|
7
|
-
showError(message, options) {
|
|
8
|
-
this.alertService.open(message, { status: 'error', ...options }).subscribe();
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export const CUI_ERROR_NOTIFICATION_SERVICE = new InjectionToken('CUI_ERROR_NOTIFICATION_SERVICE', {
|
|
12
|
-
providedIn: 'root',
|
|
13
|
-
factory: () => new DefaultErrorNotificationService()
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3Itbm90aWZpY2F0aW9uLXNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3Rva2Vucy9lcnJvci1ub3RpZmljYXRpb24tc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUd2RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRWhELE1BQU0sK0JBQStCO0lBQXJDO1FBQ3FCLGlCQUFZLEdBQUcsTUFBTSxDQUFDLGVBQWUsQ0FBQyxDQUFDO0lBSzVELENBQUM7SUFIVSxTQUFTLENBQUMsT0FBZSxFQUFFLE9BQWl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Y3JpYmUoKTtcbiAgICB9XG59XG5cbmV4cG9ydCBjb25zdCBDVUlfRVJST1JfTk9USUZJQ0FUSU9OX1NFUlZJQ0UgPSBuZXcgSW5qZWN0aW9uVG9rZW48Q3VpRXJyb3JOb3RpZmljYXRpb25TZXJ2aWNlPihcbiAgICAnQ1VJX0VSUk9SX05PVElGSUNBVElPTl9TRVJWSUNFJyxcbiAgICB7XG4gICAgICAgIHByb3ZpZGVkSW46ICdyb290JyxcbiAgICAgICAgZmFjdG9yeTogKCkgPT4gbmV3IERlZmF1bHRFcnJvck5vdGlmaWNhdGlvblNlcnZpY2UoKVxuICAgIH1cbik7XG4iXX0=
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const CUI_ERROR_TRANSLATION_PREFIX = new InjectionToken('CUI_ERROR_TRANSLATION_PREFIX', {
|
|
3
|
-
providedIn: 'root',
|
|
4
|
-
factory: () => 'BACKEND.'
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItdHJhbnNsYXRpb24tcHJlZml4LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS90b2tlbnMvZXJyb3ItdHJhbnNsYXRpb24tcHJlZml4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sNEJBQTRCLEdBQUcsSUFBSSxjQUFjLENBQVMsOEJBQThCLEVBQUU7SUFDbkcsVUFBVSxFQUFFLE1BQU07SUFDbEIsT0FBTyxFQUFFLEdBQUcsRUFBRSxDQUFDLFVBQVU7Q0FDNUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IGNvbnN0IENVSV9FUlJPUl9UUkFOU0xBVElPTl9QUkVGSVggPSBuZXcgSW5qZWN0aW9uVG9rZW48c3RyaW5nPignQ1VJX0VSUk9SX1RSQU5TTEFUSU9OX1BSRUZJWCcsIHtcbiAgICBwcm92aWRlZEluOiAncm9vdCcsXG4gICAgZmFjdG9yeTogKCkgPT4gJ0JBQ0tFTkQuJ1xufSk7XG4iXX0=
|
package/esm2022/tokens/index.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './animations-speed';
|
|
2
|
-
export * from './reduced-motion';
|
|
3
|
-
export * from './viewport';
|
|
4
|
-
export * from './error-notification-service';
|
|
5
|
-
export * from './error-translation-prefix';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3Rva2Vucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hbmltYXRpb25zLXNwZWVkJztcbmV4cG9ydCAqIGZyb20gJy4vcmVkdWNlZC1tb3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi92aWV3cG9ydCc7XG5leHBvcnQgKiBmcm9tICcuL2Vycm9yLW5vdGlmaWNhdGlvbi1zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vZXJyb3ItdHJhbnNsYXRpb24tcHJlZml4JztcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DOCUMENT } from '@angular/common';
|
|
2
|
-
import { inject } from '@angular/core';
|
|
3
|
-
import { cuiCreateTokenFromFactory } from '@cuby-ui/cdk';
|
|
4
|
-
export const CUI_REDUCED_MOTION = cuiCreateTokenFromFactory(() => inject(DOCUMENT).defaultView?.matchMedia?.('(prefers-reduced-motion: reduce)').matches ?? false);
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVkdWNlZC1tb3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3Rva2Vucy9yZWR1Y2VkLW1vdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFekQsTUFBTSxDQUFDLE1BQU0sa0JBQWtCLEdBQUcseUJBQXlCLENBQ3ZELEdBQUcsRUFBRSxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsQ0FBQyxXQUFXLEVBQUUsVUFBVSxFQUFFLENBQUMsa0NBQWtDLENBQUMsQ0FBQyxPQUFPLElBQUksS0FBSyxDQUN4RyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRE9DVU1FTlQgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgaW5qZWN0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBjdWlDcmVhdGVUb2tlbkZyb21GYWN0b3J5IH0gZnJvbSAnQGN1YnktdWkvY2RrJztcblxuZXhwb3J0IGNvbnN0IENVSV9SRURVQ0VEX01PVElPTiA9IGN1aUNyZWF0ZVRva2VuRnJvbUZhY3RvcnkoXG4gICAgKCkgPT4gaW5qZWN0KERPQ1VNRU5UKS5kZWZhdWx0Vmlldz8ubWF0Y2hNZWRpYT8uKCcocHJlZmVycy1yZWR1Y2VkLW1vdGlvbjogcmVkdWNlKScpLm1hdGNoZXMgPz8gZmFsc2Vcbik7XG4iXX0=
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { inject } from '@angular/core';
|
|
2
|
-
import { CUI_WINDOW, cuiCreateTokenFromFactory, cuiProvide } from '@cuby-ui/cdk';
|
|
3
|
-
/**
|
|
4
|
-
* Viewport accessor
|
|
5
|
-
*/
|
|
6
|
-
export const CUI_VIEWPORT = cuiCreateTokenFromFactory(() => {
|
|
7
|
-
const win = inject(CUI_WINDOW);
|
|
8
|
-
return {
|
|
9
|
-
type: 'viewport',
|
|
10
|
-
getClientRect() {
|
|
11
|
-
const rect = {
|
|
12
|
-
top: 0,
|
|
13
|
-
left: 0,
|
|
14
|
-
right: win.innerWidth,
|
|
15
|
-
bottom: win.innerHeight,
|
|
16
|
-
width: win.innerWidth,
|
|
17
|
-
height: win.innerHeight,
|
|
18
|
-
x: 0,
|
|
19
|
-
y: 0
|
|
20
|
-
};
|
|
21
|
-
return {
|
|
22
|
-
...rect,
|
|
23
|
-
toJSON: () => JSON.stringify(rect)
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
});
|
|
28
|
-
export function cuiAsViewport(accessor) {
|
|
29
|
-
return cuiProvide(CUI_VIEWPORT, accessor);
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld3BvcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3Rva2Vucy92aWV3cG9ydC50cyJdLCJuYW1lcyI6W10sIm1hcHB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Y3RpdmUnO1xuXG5leHBvcnQgdHlwZSBDdWlBcHBlYXJhbmNlTGluayA9ICdsaW5rJztcblxuZXhwb3J0IHR5cGUgQ3VpQXBwZWFyYW5jZUFjdGlvblZpb2xldCA9ICdhY3Rpb24tdmlvbGV0JztcblxuZXhwb3J0IHR5cGUgQ3VpQXBwZWFyYW5jZUFjdGlvbkN5YW4gPSAnYWN0aW9uLWN5YW4nO1xuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLXRoZW1lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS90eXBlcy9idXR0b24tdGhlbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEN1aUJ1dHRvblRoZW1lRGVmYXVsdCA9ICdkZWZhdWx0JztcbmV4cG9ydCB0eXBlIEN1aUJ1dHRvblRoZW1lVmlvbGV0ID0gJ3Zpb2xldCc7XG5leHBvcnQgdHlwZSBDdWlCdXR0b25UaGVtZUN5YW4gPSAnY3lhbic7XG5leHBvcnQgdHlwZSBDdWlCdXR0b25UaGVtZVN1Y2Nlc3MgPSAnc3VjY2Vzcyc7XG5leHBvcnQgdHlwZSBDdWlCdXR0b25UaGVtZVZpdmlkU3VjY2VzcyA9ICd2aXZpZC1zdWNjZXNzJztcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGludC10eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS90eXBlcy9oaW50LXR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEN1aUhpbnRUeXBlID0gJ2luZm8nIHwgJ2Vycm9yJztcbiJdfQ==
|
package/esm2022/types/index.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './appearance';
|
|
2
|
-
export * from './hint-type';
|
|
3
|
-
export * from './point';
|
|
4
|
-
export * from './portal-item';
|
|
5
|
-
export * from './position';
|
|
6
|
-
export * from './resizing';
|
|
7
|
-
export * from './shape';
|
|
8
|
-
export * from './size';
|
|
9
|
-
export * from './status';
|
|
10
|
-
export * from './button-theme';
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsZ0JBQWdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwcGVhcmFuY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9oaW50LXR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wb2ludCc7XG5leHBvcnQgKiBmcm9tICcuL3BvcnRhbC1pdGVtJztcbmV4cG9ydCAqIGZyb20gJy4vcG9zaXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9yZXNpemluZyc7XG5leHBvcnQgKiBmcm9tICcuL3NoYXBlJztcbmV4cG9ydCAqIGZyb20gJy4vc2l6ZSc7XG5leHBvcnQgKiBmcm9tICcuL3N0YXR1cyc7XG5leHBvcnQgKiBmcm9tICcuL2J1dHRvbi10aGVtZSc7XG4iXX0=
|
package/esm2022/types/point.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9pbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3BvaW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUT0RPOiBSZWZhY3RvciB0byBbeDogbnVtYmVyLCB5OiBudW1iZXJdIGFjcm9zcyB0aGUgbGlicmFyeVxuZXhwb3J0IHR5cGUgQ3VpUG9pbnQgPSBSZWFkb25seTxbbnVtYmVyLCBudW1iZXJdPjtcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3BvcnRhbC1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEN1aUFjdGl2ZVpvbmUgfSBmcm9tICdAY3VieS11aS9jZGsnO1xuaW1wb3J0IHR5cGUgeyBQb2x5bW9ycGhldXNDb21wb25lbnQsIFBvbHltb3JwaGV1c0NvbnRlbnQgfSBmcm9tICdAdGFpZ2EtdWkvcG9seW1vcnBoZXVzJztcblxuZXhwb3J0IGludGVyZmFjZSBDdWlQb3J0YWxJdGVtPEMgPSBhbnk+IHtcbiAgICByZWFkb25seSBhY3RpdmVab25lPzogQ3VpQWN0aXZlWm9uZSB8IG51bGw7XG4gICAgcmVhZG9ubHkgYXBwZWFyYW5jZT86IHN0cmluZztcbiAgICByZWFkb25seSBjb21wb25lbnQ6IFBvbHltb3JwaGV1c0NvbXBvbmVudDxhbnk+O1xuICAgIHJlYWRvbmx5IGNvbnRlbnQ6IFBvbHltb3JwaGV1c0NvbnRlbnQ8Qz47XG4gICAgcmVhZG9ubHkgY29udGV4dD86IEM7XG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9zaXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3Bvc2l0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDdWlQb3NpdGlvbkNlbnRlciA9ICdjZW50ZXInO1xuXG5leHBvcnQgdHlwZSBDdWlQb3NpdGlvblJpZ2h0ID0gJ3JpZ2h0JztcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzaXppbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3Jlc2l6aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDdWlSZXNpemluZ0h1ZyA9ICdodWcnO1xuXG5leHBvcnQgdHlwZSBDdWlSZXNpemluZ0ZpeGVkID0gJ2ZpeGVkJztcblxuZXhwb3J0IHR5cGUgQ3VpUmVzaXppbmdTdHJldGNoID0gJ3N0cmV0Y2gnO1xuIl19
|
package/esm2022/types/shape.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3NoYXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDdWlTaGFwZVJvdW5kZWQgPSAncm91bmRlZCc7XG4iXX0=
|
package/esm2022/types/size.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2l6ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdHlwZXMvc2l6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQ3VpU2l6ZVh4eHMgPSAneHh4cyc7XG5cbmV4cG9ydCB0eXBlIEN1aVNpemVYeHMgPSAneHhzJztcblxuZXhwb3J0IHR5cGUgQ3VpU2l6ZVhzID0gJ3hzJztcblxuZXhwb3J0IHR5cGUgQ3VpU2l6ZVNtID0gJ3NtJztcblxuZXhwb3J0IHR5cGUgQ3VpU2l6ZU1kID0gJ21kJztcblxuZXhwb3J0IHR5cGUgQ3VpU2l6ZUxnID0gJ2xnJztcbiJdfQ==
|
package/esm2022/types/status.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS90eXBlcy9zdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEN1aVN0YXR1cyA9ICdzdWNjZXNzJyB8ICdpbmZvJyB8ICdhbGVydCcgfCAnZXJyb3InO1xuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function cuiCheckFixedPosition(element) {
|
|
2
|
-
return !!element && (isFixed(element) || cuiCheckFixedPosition(element.parentElement));
|
|
3
|
-
}
|
|
4
|
-
function isFixed(element) {
|
|
5
|
-
return element.ownerDocument.defaultView?.getComputedStyle(element).getPropertyValue('position') === 'fixed';
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2stZml4ZWQtcG9zaXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2NoZWNrLWZpeGVkLXBvc2l0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxxQkFBcUIsQ0FBQyxPQUE0QjtJQUM5RCxPQUFPLENBQUMsQ0FBQyxPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLElBQUkscUJBQXFCLENBQUMsT0FBTyxDQUFDLGFBQWEsQ0FBQyxDQUFDLENBQUM7QUFDM0YsQ0FBQztBQUVELFNBQVMsT0FBTyxDQUFDLE9BQW9CO0lBQ2pDLE9BQU8sT0FBTyxDQUFDLGFBQWEsQ0FBQyxXQUFXLEVBQUUsZ0JBQWdCLENBQUMsT0FBTyxDQUFDLENBQUMsZ0JBQWdCLENBQUMsVUFBVSxDQUFDLEtBQUssT0FBTyxDQUFDO0FBQ2pILENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gY3VpQ2hlY2tGaXhlZFBvc2l0aW9uKGVsZW1lbnQ/OiBIVE1MRWxlbWVudCB8IG51bGwpOiBib29sZWFuIHtcbiAgICByZXR1cm4gISFlbGVtZW50ICYmIChpc0ZpeGVkKGVsZW1lbnQpIHx8IGN1aUNoZWNrRml4ZWRQb3NpdGlvbihlbGVtZW50LnBhcmVudEVsZW1lbnQpKTtcbn1cblxuZnVuY3Rpb24gaXNGaXhlZChlbGVtZW50OiBIVE1MRWxlbWVudCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiBlbGVtZW50Lm93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXc/LmdldENvbXB1dGVkU3R5bGUoZWxlbWVudCkuZ2V0UHJvcGVydHlWYWx1ZSgncG9zaXRpb24nKSA9PT0gJ2ZpeGVkJztcbn1cbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Validators } from '@angular/forms';
|
|
2
|
-
import { asyncExtraSpacesValidators, syncExtraSpacesValidator } from './extra-spaces.validators';
|
|
3
|
-
export function cuiCreateDefaultValidators({ maxLength = 100, asyncDelay = 700 } = {}) {
|
|
4
|
-
// Need to offset because this delay must be before changing value
|
|
5
|
-
const OFFSET = 1;
|
|
6
|
-
const adjustedAsyncDelay = asyncDelay - OFFSET;
|
|
7
|
-
const validators = {
|
|
8
|
-
validators: [Validators.required, Validators.maxLength(maxLength)],
|
|
9
|
-
asyncValidators: []
|
|
10
|
-
};
|
|
11
|
-
if (asyncDelay) {
|
|
12
|
-
validators.asyncValidators.push(asyncExtraSpacesValidators(adjustedAsyncDelay));
|
|
13
|
-
}
|
|
14
|
-
else {
|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3luY0RlbGF5KSB7XG4gICAgICAgIHZhbGlkYXRvcnMuYXN5bmNWYWxpZGF0b3JzLnB1c2goYXN5bmNFeHRyYVNwYWNlc1ZhbGlkYXRvcnMoYWRqdXN0ZWRBc3luY0RlbGF5KSk7XG4gICAgfSBlbHNlIHtcbiAgICAgICAgdmFsaWRhdG9ycy52YWxpZGF0b3JzLnB1c2goc3luY0V4dHJhU3BhY2VzVmFsaWRhdG9yKCkpO1xuICAgIH1cblxuICAgIHJldHVybiB2YWxpZGF0b3JzO1xufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWRlZmF1bHQtdmFsaWRhdG9ycy5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS91dGlscy9kZWZhdWx0LXZhbGlkYXRvcnMvY3JlYXRlLWRlZmF1bHQtdmFsaWRhdG9ycy5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBc3luY1ZhbGlkYXRvckZuLCBWYWxpZGF0b3JGbiB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcblxuZXhwb3J0IGludGVyZmFjZSBDdWlEZWZhdWx0VmFsaWRhdG9yc09wdGlvbnMge1xuICAgIHJlYWRvbmx5IHZhbGlkYXRvcnM6IFZhbGlkYXRvckZuW107XG4gICAgcmVhZG9ubHkgYXN5bmNWYWxpZGF0b3JzOiBBc3luY1ZhbGlkYXRvckZuW107XG59XG4iXX0=
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const LEADING_TRAILING_SPACES_REGEX = /^\s|\s$/;
|
|
2
|
-
const MULTIPLE_SPACES_REGEX = /\s{2,}/;
|
|
3
|
-
export function hasExtraSpaces(value) {
|
|
4
|
-
const hasLeadingOrTrailingSpaces = LEADING_TRAILING_SPACES_REGEX.test(value);
|
|
5
|
-
const hasMultipleSpaces = MULTIPLE_SPACES_REGEX.test(value);
|
|
6
|
-
if (hasLeadingOrTrailingSpaces || hasMultipleSpaces) {
|
|
7
|
-
return { extraSpaces: true };
|
|
8
|
-
}
|
|
9
|
-
return null;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0cmEtc3BhY2VzLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2RlZmF1bHQtdmFsaWRhdG9ycy9leHRyYS1zcGFjZXMub3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLDZCQUE2QixHQUFHLFNBQVMsQ0FBQztBQUNoRCxNQUFNLHFCQUFxQixHQUFHLFFBQVEsQ0FBQztBQUV2QyxNQUFNLFVBQVUsY0FBYyxDQUFDLEtBQWE7SUFDeEMsTUFBTSwwQkFBMEIsR0FBRyw2QkFBNkIsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDN0UsTUFBTSxpQkFBaUIsR0FBRyxxQkFBcUIsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFFNUQsSUFBSSwwQkFBMEIsSUFBSSxpQkFBaUIsRUFBRSxDQUFDO1FBQ2xELE9BQU8sRUFBRSxXQUFXLEVBQUUsSUFBSSxFQUFFLENBQUM7SUFDakMsQ0FBQztJQUVELE9BQU8sSUFBSSxDQUFDO0FBQ2hCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFZhbGlkYXRpb25FcnJvcnMgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbmNvbnN0IExFQURJTkdfVFJBSUxJTkdfU1BBQ0VTX1JFR0VYID0gL15cXHN8XFxzJC87XG5jb25zdCBNVUxUSVBMRV9TUEFDRVNfUkVHRVggPSAvXFxzezIsfS87XG5cbmV4cG9ydCBmdW5jdGlvbiBoYXNFeHRyYVNwYWNlcyh2YWx1ZTogc3RyaW5nKTogVmFsaWRhdGlvbkVycm9ycyB8IG51bGwge1xuICAgIGNvbnN0IGhhc0xlYWRpbmdPclRyYWlsaW5nU3BhY2VzID0gTEVBRElOR19UUkFJTElOR19TUEFDRVNfUkVHRVgudGVzdCh2YWx1ZSk7XG4gICAgY29uc3QgaGFzTXVsdGlwbGVTcGFjZXMgPSBNVUxUSVBMRV9TUEFDRVNfUkVHRVgudGVzdCh2YWx1ZSk7XG5cbiAgICBpZiAoaGFzTGVhZGluZ09yVHJhaWxpbmdTcGFjZXMgfHwgaGFzTXVsdGlwbGVTcGFjZXMpIHtcbiAgICAgICAgcmV0dXJuIHsgZXh0cmFTcGFjZXM6IHRydWUgfTtcbiAgICB9XG5cbiAgICByZXR1cm4gbnVsbDtcbn1cbiJdfQ==
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { map, timer } from 'rxjs';
|
|
2
|
-
import { hasExtraSpaces } from './extra-spaces.options';
|
|
3
|
-
export function asyncExtraSpacesValidators(delay) {
|
|
4
|
-
return ({ value }) => {
|
|
5
|
-
return timer(delay).pipe(map(() => hasExtraSpaces(value)));
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export function syncExtraSpacesValidator() {
|
|
9
|
-
return ({ value }) => hasExtraSpaces(value);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0cmEtc3BhY2VzLnZhbGlkYXRvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2RlZmF1bHQtdmF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cik6IEFzeW5jVmFsaWRhdG9yRm4ge1xuICAgIHJldHVybiAoeyB2YWx1ZSB9OiBBYnN0cmFjdENvbnRyb2wpOiBPYnNlcnZhYmxlPFZhbGlkYXRpb25FcnJvcnMgfCBudWxsPiA9PiB7XG4gICAgICAgIHJldHVybiB0aW1lcihkZWxheSkucGlwZShtYXAoKCkgPT4gaGFzRXh0cmFTcGFjZXModmFsdWUpKSk7XG4gICAgfTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHN5bmNFeHRyYVNwYWNlc1ZhbGlkYXRvcigpOiBWYWxpZGF0b3JGbiB7XG4gICAgcmV0dXJuICh7IHZhbHVlIH06IEFic3RyYWN0Q29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgfCBudWxsID0+IGhhc0V4dHJhU3BhY2VzKHZhbHVlKTtcbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { cuiCreateDefaultValidators } from './create-default-validators';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2RlZmF1bHQtdmFsaWRhdG9ycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IGN1aUNyZWF0ZURlZmF1bHRWYWxpZGF0b3JzIH0gZnJvbSAnLi9jcmVhdGUtZGVmYXVsdC12YWxpZGF0b3JzJztcbmV4cG9ydCB0eXBlIHsgQ3VpRGVmYXVsdFZhbGlkYXRvcnNPcHRpb25zIH0gZnJvbSAnLi9jcmVhdGUtZGVmYXVsdC12YWxpZGF0b3JzLm9wdGlvbnMnO1xuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './remove-spaces';
|
|
2
|
-
export * from './replace';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2Zvcm1hdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZW1vdmUtc3BhY2VzJztcbmV4cG9ydCAqIGZyb20gJy4vcmVwbGFjZSc7XG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function cuiRemoveSpaces(value) {
|
|
2
|
-
return value.replace(/\s+/g, '');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlLXNwYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvZm9ybWF0L3JlbW92ZS1zcGFjZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLGVBQWUsQ0FBQyxLQUFhO0lBQ3pDLE9BQU8sS0FBSyxDQUFDLE9BQU8sQ0FBQyxNQUFNLEVBQUUsRUFBRSxDQUFDLENBQUM7QUFDckMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBjdWlSZW1vdmVTcGFjZXModmFsdWU6IHN0cmluZyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHZhbHVlLnJlcGxhY2UoL1xccysvZywgJycpO1xufVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export function cuiReplace(value, search, replace) {
|
|
2
|
-
const regex = new RegExp(search.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'g');
|
|
3
|
-
return value.replace(regex, replace);
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvZm9ybWF0L3JlcGxhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLFVBQVUsQ0FBQyxLQUFhLEVBQUUsTUFBYyxFQUFFLE9BQWU7SUFDckUsTUFBTSxLQUFLLEdBQUcsSUFBSSxNQUFNLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxxQkFBcUIsRUFBRSxNQUFNLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQztJQUU3RSxPQUFPLEtBQUssQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQ3pDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gY3VpUmVwbGFjZSh2YWx1ZTogc3RyaW5nLCBzZWFyY2g6IHN0cmluZywgcmVwbGFjZTogc3RyaW5nKTogc3RyaW5nIHtcbiAgICBjb25zdCByZWdleCA9IG5ldyBSZWdFeHAoc2VhcmNoLnJlcGxhY2UoL1suKis/XiR7fSgpfFtcXF1cXFxcXS9nLCAnXFxcXCQmJyksICdnJyk7XG5cbiAgICByZXR1cm4gdmFsdWUucmVwbGFjZShyZWdleCwgcmVwbGFjZSk7XG59XG4iXX0=
|
package/esm2022/utils/index.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './format';
|
|
2
|
-
export * from './miscellaneous';
|
|
3
|
-
export * from './default-validators';
|
|
4
|
-
export * from './check-fixed-position';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtYXQnO1xuZXhwb3J0ICogZnJvbSAnLi9taXNjZWxsYW5lb3VzJztcbmV4cG9ydCAqIGZyb20gJy4vZGVmYXVsdC12YWxpZGF0b3JzJztcbmV4cG9ydCAqIGZyb20gJy4vY2hlY2stZml4ZWQtcG9zaXRpb24nO1xuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './is-obscured';
|
|
2
|
-
export * from './override-options';
|
|
3
|
-
export * from './to-animation-options';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pcy1vYnNjdXJlZCc7XG5leHBvcnQgKiBmcm9tICcuL292ZXJyaWRlLW9wdGlvbnMnO1xuZXhwb3J0ICogZnJvbSAnLi90by1hbmltYXRpb24tb3B0aW9ucyc7XG4iXX0=
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { cuiGetElementObscures } from '@cuby-ui/cdk';
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export function cuiIsObscured(el, exceptSelector = 'cui-hints') {
|
|
6
|
-
return !!cuiGetElementObscures(el)?.some((el) => !el.closest(exceptSelector));
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb2JzY3VyZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvaXMtb2JzY3VyZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRXJEOztHQUVHO0FBQ0gsTUFBTSxVQUFVLGFBQWEsQ0FBQyxFQUFlLEVBQUUsY0FBYyxHQUFHLFdBQVc7SUFDdkUsT0FBTyxDQUFDLENBQUMscUJBQXFCLENBQUMsRUFBRSxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxPQUFPLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQztBQUNsRixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3VpR2V0RWxlbWVudE9ic2N1cmVzIH0gZnJvbSAnQGN1YnktdWkvY2RrJztcblxuLyoqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGN1aUlzT2JzY3VyZWQoZWw6IEhUTUxFbGVtZW50LCBleGNlcHRTZWxlY3RvciA9ICdjdWktaGludHMnKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuICEhY3VpR2V0RWxlbWVudE9ic2N1cmVzKGVsKT8uc29tZSgoZWwpID0+ICFlbC5jbG9zZXN0KGV4Y2VwdFNlbGVjdG9yKSk7XG59XG4iXX0=
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export function cuiOverrideOptions(override, fallback) {
|
|
2
|
-
return (directive, options) => {
|
|
3
|
-
const result = directive || { ...(options || fallback) };
|
|
4
|
-
Object.keys(override).forEach((key) => {
|
|
5
|
-
// Update directive props with new defaults before inputs are processed
|
|
6
|
-
result[key] = override[key];
|
|
7
|
-
});
|
|
8
|
-
return result;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3ZlcnJpZGUtb3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvbWlzY2VsbGFuZW91cy9vdmVycmlkZS1vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxrQkFBa0IsQ0FDOUIsUUFBb0IsRUFDcEIsUUFBVztJQUVYLE9BQU8sQ0FBQyxTQUFTLEVBQUUsT0FBTyxFQUFFLEVBQUU7UUFDMUIsTUFBTSxNQUFNLEdBQU0sU0FBUyxJQUFJLEVBQUUsR0FBRyxDQUFDLE9BQU8sSUFBSSxRQUFRLENBQUMsRUFBRSxDQUFDO1FBRTVELE1BQU0sQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUU7WUFDbEMsdUVBQXVFO1lBQ3RFLE1BQWtDLENBQUMsR0FBRyxDQUFDLEdBQUcsUUFBUSxDQUFDLEdBQWMsQ0FBQyxDQUFDO1FBQ3hFLENBQUMsQ0FBQyxDQUFDO1FBRUgsT0FBTyxNQUFNLENBQUM7SUFDbEIsQ0FBQyxDQUFDO0FBQ04sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBjdWlPdmVycmlkZU9wdGlvbnM8VD4oXG4gICAgb3ZlcnJpZGU6IFBhcnRpYWw8VD4sXG4gICAgZmFsbGJhY2s6IFRcbik6IChkaXJlY3RpdmU6IFQgfCBudWxsLCBvcHRpb25zOiBUIHwgbnVsbCkgPT4gVCB7XG4gICAgcmV0dXJuIChkaXJlY3RpdmUsIG9wdGlvbnMpID0+IHtcbiAgICAgICAgY29uc3QgcmVzdWx0OiBUID0gZGlyZWN0aXZlIHx8IHsgLi4uKG9wdGlvbnMgfHwgZmFsbGJhY2spIH07XG5cbiAgICAgICAgT2JqZWN0LmtleXMob3ZlcnJpZGUpLmZvckVhY2goKGtleSkgPT4ge1xuICAgICAgICAgICAgLy8gVXBkYXRlIGRpcmVjdGl2ZSBwcm9wcyB3aXRoIG5ldyBkZWZhdWx0cyBiZWZvcmUgaW5wdXRzIGFyZSBwcm9jZXNzZWRcbiAgICAgICAgICAgIChyZXN1bHQgYXMgUmVjb3JkPHN0cmluZywgdW5rbm93bj4pW2tleV0gPSBvdmVycmlkZVtrZXkgYXMga2V5b2YgVF07XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHJldHVybiByZXN1bHQ7XG4gICAgfTtcbn1cbiJdfQ==
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const CUI_ANIMATIONS_DEFAULT_DURATION = 300;
|
|
2
|
-
export function cuiToAnimationOptions(speed, easing) {
|
|
3
|
-
return {
|
|
4
|
-
value: '',
|
|
5
|
-
params: {
|
|
6
|
-
duration: cuiGetDuration(speed),
|
|
7
|
-
easing
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export function cuiGetDuration(speed) {
|
|
12
|
-
return speed && CUI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gICAgICAgICAgICBkdXJhdGlvbjogY3VpR2V0RHVyYXRpb24oc3BlZWQpLFxuICAgICAgICAgICAgZWFzaW5nXG4gICAgICAgIH1cbiAgICB9IGFzIHVua25vd24gYXMgQW5pbWF0aW9uT3B0aW9ucztcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGN1aUdldER1cmF0aW9uKHNwZWVkOiBudW1iZXIpOiBudW1iZXIge1xuICAgIHJldHVybiBzcGVlZCAmJiBDVUlfQU5JTUFUSU9OU19ERUZBVUxUX0RVUkFUSU9OIC8gc3BlZWQ7XG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './translations';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvYXNzZXRzL2NvbnN0YW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90cmFuc2xhdGlvbnMnO1xuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const CuiLibTranslations = {
|
|
2
|
-
en: import('../i18n/en.json'),
|
|
3
|
-
ru: import('../i18n/ru.json')
|
|
4
|
-
};
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL2Fzc2V0cy9jb25zdGFudHMvdHJhbnNsYXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyxNQUFNLGtCQUFrQixHQUF5QztJQUNwRSxFQUFFLEVBQUUsTUFBTSxDQUFDLGlCQUFpQixDQUFDO0lBQzdCLEVBQUUsRUFBRSxNQUFNLENBQUMsaUJBQWlCLENBQUM7Q0FDdkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFRyYW5zbGF0aW9uIH0gZnJvbSAnQGpzdmVyc2UvdHJhbnNsb2NvJztcblxuZXhwb3J0IGNvbnN0IEN1aUxpYlRyYW5zbGF0aW9uczogUmVjb3JkPHN0cmluZywgUHJvbWlzZTxUcmFuc2xhdGlvbj4+ID0ge1xuICAgIGVuOiBpbXBvcnQoJy4uL2kxOG4vZW4uanNvbicpLFxuICAgIHJ1OiBpbXBvcnQoJy4uL2kxOG4vcnUuanNvbicpXG59IGFzIGNvbnN0O1xuIl19
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ACCEPTANCE_CRITERIA": "Acceptance criteria",
|
|
3
|
-
"ACCEPTED": "Accepted",
|
|
4
|
-
"ADD": "Add",
|
|
5
|
-
"ADD_UTILITY": "Add utility",
|
|
6
|
-
"ALL_SEASON": "All season",
|
|
7
|
-
"AMOUNT": "Amount",
|
|
8
|
-
"CANCEL": "Cancel",
|
|
9
|
-
"COMPANY": "Company",
|
|
10
|
-
"COPY": "Copy",
|
|
11
|
-
"CRITERIA": "Criteria",
|
|
12
|
-
"CUBY_PLATFORM": "Cuby platform",
|
|
13
|
-
"DELETE": "Delete",
|
|
14
|
-
"DELETED": "Deleted",
|
|
15
|
-
"DELIVERY": "Delivery",
|
|
16
|
-
"DESCRIPTION": "Description",
|
|
17
|
-
"DEVELOPER": "Developer",
|
|
18
|
-
"ESTIMATED_TIME": "Estimated time",
|
|
19
|
-
"IN_DEVELOPMENT": "In development",
|
|
20
|
-
"INFO": "Info",
|
|
21
|
-
"INSERTED": "Inserted",
|
|
22
|
-
"INSTRUCTION": "Instruction",
|
|
23
|
-
"INSTRUCTIONS": "Instructions",
|
|
24
|
-
"LANGUAGE": "Language",
|
|
25
|
-
"LOG_OUT": "Log out",
|
|
26
|
-
"MANUFACTURE": "Manufacture",
|
|
27
|
-
"MEASURE": "Measure",
|
|
28
|
-
"NO_AVAILABLE_LEARNING_VARIANT": "No available learning(s) to choose",
|
|
29
|
-
"NO_DESCRIPTION_WAS_PROVIDED": "No description was provided",
|
|
30
|
-
"NO_ENTITIES_ADDED": "No entities added",
|
|
31
|
-
"NO_RESOURCES_TO_VIEW_YET": "No 'Resources' to view yet. Once available, they will appear here",
|
|
32
|
-
"NOTHING_TO_ADD_SELECT_AVAILABLE_LEARNING": "Nothing to add yet. Select an available learning from the category to set the level",
|
|
33
|
-
"QUANTITY": "Quantity",
|
|
34
|
-
"SEASON_CONSUMPTION": "Season consumption",
|
|
35
|
-
"SHORT_DESCRIPTION": "Short description",
|
|
36
|
-
"SWITCH_THEME": "Switch theme",
|
|
37
|
-
"TITLE": "Title",
|
|
38
|
-
"UNBIND": "Unbind",
|
|
39
|
-
"UNIT": "Unit",
|
|
40
|
-
"UP_TO": "Up to,",
|
|
41
|
-
"VIEW": "View",
|
|
42
|
-
"YES_DELETE": "Yes delete",
|
|
43
|
-
"YOU_DONT_HAVE_ACTIVITY_IN_THIS_COMPANY": "You have no activity in this company.",
|
|
44
|
-
"YOU_DONT_HAVE_COMPANY": "You have no available companies."
|
|
45
|
-
}
|