@cuby-ui/core 0.0.487 → 0.0.488
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/animations/animations.d.ts +36 -0
- package/animations/index.d.ts +1 -0
- package/classes/accessors.d.ts +17 -0
- package/classes/driver.d.ts +16 -0
- package/classes/index.d.ts +3 -0
- package/classes/vehicle.d.ts +6 -0
- package/components/accordion/accordion-item/accordion-item.component.d.ts +14 -0
- package/components/accordion/accordion-item/accordion-item.options.d.ts +1 -0
- package/components/accordion/accordion.component.d.ts +5 -0
- package/components/accordion/accordion.directive.d.ts +15 -0
- package/components/accordion/accordion.module.d.ts +11 -0
- package/components/accordion/index.d.ts +4 -0
- package/components/alert/alert.component.d.ts +13 -0
- package/components/alert/alert.interfaces.d.ts +9 -0
- package/components/alert/alert.module.d.ts +11 -0
- package/components/alert/alert.service.d.ts +7 -0
- package/components/alert/alert.tokens.d.ts +16 -0
- package/components/alert/alert.types.d.ts +3 -0
- package/components/alert/alerts.component.d.ts +17 -0
- package/components/alert/index.d.ts +8 -0
- package/components/alert-hint/alert-hint.component.d.ts +11 -0
- package/components/alert-hint/error-status.d.ts +1 -0
- package/components/alert-hint/index.d.ts +2 -0
- package/components/badge/badge.component.d.ts +10 -0
- package/components/badge/badge.module.d.ts +8 -0
- package/components/badge/badge.options.d.ts +12 -0
- package/components/badge/index.d.ts +3 -0
- package/components/banner/banner.component.d.ts +21 -0
- package/components/banner/banner.module.d.ts +11 -0
- package/components/banner/banner.options.d.ts +13 -0
- package/components/banner/index.d.ts +3 -0
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -0
- package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -0
- package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -0
- package/components/breadcrumbs/index.d.ts +3 -0
- package/components/button/button.component.d.ts +39 -0
- package/components/button/button.module.d.ts +9 -0
- package/components/button/button.options.d.ts +14 -0
- package/components/button/index.d.ts +3 -0
- package/components/button-group/button-group.component.d.ts +5 -0
- package/components/button-group/button-group.module.d.ts +7 -0
- package/components/button-group/index.d.ts +2 -0
- package/components/card-wrapper/card-wrapper.component.d.ts +7 -0
- package/components/card-wrapper/index.d.ts +1 -0
- package/components/checkbox/checkbox.component.d.ts +5 -0
- package/components/checkbox/checkbox.module.d.ts +7 -0
- package/components/checkbox/index.d.ts +2 -0
- package/components/content-header/content-header.component.d.ts +8 -0
- package/components/content-header/index.d.ts +1 -0
- package/components/content-wrapper/content-wrapper.component.d.ts +11 -0
- package/components/content-wrapper/index.d.ts +1 -0
- package/components/context-menu/context-menu.component.d.ts +41 -0
- package/components/context-menu/context-menu.module.d.ts +9 -0
- package/components/context-menu/index.d.ts +2 -0
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -0
- package/components/dialog/dialog-header/dialog-header.component.d.ts +12 -0
- package/components/dialog/dialog.component.d.ts +33 -0
- package/components/dialog/dialog.interfaces.d.ts +11 -0
- package/components/dialog/dialog.module.d.ts +14 -0
- package/components/dialog/dialog.service.d.ts +7 -0
- package/components/dialog/dialog.tokens.d.ts +8 -0
- package/components/dialog/dialogs.component.d.ts +18 -0
- package/components/dialog/index.d.ts +8 -0
- package/components/dropdown/dropdown-wrapper.component.d.ts +9 -0
- package/components/dropdown/dropdown.directive.d.ts +41 -0
- package/components/dropdown/dropdown.interfaces.d.ts +8 -0
- package/components/dropdown/index.d.ts +3 -0
- package/components/empty-state/empty-state.component.d.ts +7 -0
- package/components/empty-state/index.d.ts +1 -0
- package/components/file-icon/file-icon.component.d.ts +9 -0
- package/components/file-icon/file-icon.options.d.ts +12 -0
- package/components/file-icon/index.d.ts +1 -0
- package/components/form-field/form-field.component.d.ts +5 -0
- package/components/form-field/form-field.module.d.ts +7 -0
- package/components/form-field/index.d.ts +2 -0
- package/components/ghost-input/ghost-input.component.d.ts +6 -0
- package/components/ghost-input/index.d.ts +1 -0
- package/components/hint/hint.component.d.ts +7 -0
- package/components/hint/hint.module.d.ts +7 -0
- package/components/hint/index.d.ts +2 -0
- package/components/icon-button/icon-button.component.d.ts +13 -0
- package/components/icon-button/icon-button.module.d.ts +9 -0
- package/components/icon-button/index.d.ts +2 -0
- package/components/index.d.ts +41 -0
- package/components/input-number/index.d.ts +2 -0
- package/components/input-number/input-number.component.d.ts +38 -0
- package/components/input-number/input-number.module.d.ts +12 -0
- package/components/input-password/index.d.ts +2 -0
- package/components/input-password/input-password.component.d.ts +31 -0
- package/components/input-password/input-password.module.d.ts +11 -0
- package/components/input-text/index.d.ts +2 -0
- package/components/input-text/input-text.component.d.ts +31 -0
- package/components/input-text/input-text.module.d.ts +11 -0
- package/components/input-time/index.d.ts +3 -0
- package/components/input-time/input-time.component.d.ts +36 -0
- package/components/input-time/input-time.module.d.ts +12 -0
- package/components/input-time/input-time.options.d.ts +7 -0
- package/components/label/index.d.ts +2 -0
- package/components/label/label.component.d.ts +6 -0
- package/components/label/label.module.d.ts +8 -0
- package/components/layout/index.d.ts +1 -0
- package/components/layout/layout.component.d.ts +6 -0
- package/components/letter-box/index.d.ts +1 -0
- package/components/letter-box/letter-box.component.d.ts +14 -0
- package/components/letter-box/letter-box.interfaces.d.ts +3 -0
- package/components/notification/index.d.ts +3 -0
- package/components/notification/notification.component.d.ts +18 -0
- package/components/notification/notification.module.d.ts +9 -0
- package/components/notification/notification.options.d.ts +17 -0
- package/components/options-button/index.d.ts +1 -0
- package/components/options-button/options-button.component.d.ts +8 -0
- package/components/radio/index.d.ts +2 -0
- package/components/radio/radio.component.d.ts +5 -0
- package/components/radio/radio.module.d.ts +7 -0
- package/components/render-dynamic-components/index.d.ts +3 -0
- package/components/render-dynamic-components/render-dynamic-components.component.d.ts +7 -0
- package/components/render-dynamic-components/render-dynamic-components.options.d.ts +7 -0
- package/components/render-dynamic-components/render-dynamic-components.service.d.ts +12 -0
- package/components/root/index.d.ts +3 -0
- package/components/root/root.component.d.ts +10 -0
- package/components/root/root.module.d.ts +11 -0
- package/components/root/root.options.d.ts +1 -0
- package/components/select/index.d.ts +2 -0
- package/components/select/select.component.d.ts +53 -0
- package/components/select/select.module.d.ts +11 -0
- package/components/sidebar/index.d.ts +7 -0
- package/components/sidebar/sidebar-container/index.d.ts +1 -0
- package/components/sidebar/sidebar-container/sidebar-container.component.d.ts +10 -0
- package/components/sidebar/sidebar-header/index.d.ts +1 -0
- package/components/sidebar/sidebar-header/sidebar-header.component.d.ts +12 -0
- package/components/sidebar/sidebar-navigation/index.d.ts +1 -0
- package/components/sidebar/sidebar-navigation/sidebar-navigation.component.d.ts +9 -0
- package/components/sidebar/sidebar-navigation-container/index.d.ts +1 -0
- package/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.d.ts +8 -0
- package/components/sidebar/sidebar-navigation-item/index.d.ts +1 -0
- package/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.d.ts +9 -0
- package/components/sidebar/sidebar.options.d.ts +4 -0
- package/components/sidebar/sidebar.service.d.ts +17 -0
- package/components/svg/index.d.ts +2 -0
- package/components/svg/svg.component.d.ts +16 -0
- package/components/svg/svg.module.d.ts +8 -0
- package/components/tab/index.d.ts +1 -0
- package/components/tab/tab.component.d.ts +15 -0
- package/components/tabs/components/abstract-tabs/abstract-tabs.component.d.ts +15 -0
- package/components/tabs/components/abstract-tabs/index.d.ts +1 -0
- package/components/tabs/components/index.d.ts +1 -0
- package/components/tabs/index.d.ts +5 -0
- package/components/tabs/services/index.d.ts +1 -0
- package/components/tabs/services/tabs.service.d.ts +14 -0
- package/components/tabs/tabs.component.d.ts +8 -0
- package/components/tabs/tabs.options.d.ts +21 -0
- package/components/tabs/tabs.provider.d.ts +3 -0
- package/components/textarea/index.d.ts +2 -0
- package/components/textarea/textarea.component.d.ts +10 -0
- package/components/textarea/textarea.module.d.ts +7 -0
- package/components/toggle/index.d.ts +2 -0
- package/components/toggle/toggle.component.d.ts +5 -0
- package/components/toggle/toggle.module.d.ts +7 -0
- package/directives/index.d.ts +2 -0
- package/directives/text-field-controller/index.d.ts +8 -0
- package/directives/text-field-controller/text-field-controller.module.d.ts +11 -0
- package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -0
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -0
- package/directives/text-field-controller/text-field-id.directive.d.ts +8 -0
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -0
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -0
- package/directives/text-field-controller/text-field-size.directive.d.ts +9 -0
- package/directives/text-field-controller/text-field.controller.d.ts +20 -0
- package/directives/tooltip/index.d.ts +16 -0
- package/directives/tooltip/tooltip-describe.directive.d.ts +16 -0
- package/directives/tooltip/tooltip-driver.directive.d.ts +7 -0
- package/directives/tooltip/tooltip-host.directive.d.ts +9 -0
- package/directives/tooltip/tooltip-hover.directive.d.ts +21 -0
- package/directives/tooltip/tooltip-manual.directive.d.ts +13 -0
- package/directives/tooltip/tooltip-options.directive.d.ts +36 -0
- package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -0
- package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -0
- package/directives/tooltip/tooltip-position.directive.d.ts +20 -0
- package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -0
- package/directives/tooltip/tooltip.component.d.ts +33 -0
- package/directives/tooltip/tooltip.d.ts +13 -0
- package/directives/tooltip/tooltip.directive.d.ts +26 -0
- package/directives/tooltip/tooltip.providers.d.ts +5 -0
- package/directives/tooltip/tooltip.service.d.ts +13 -0
- package/directives/tooltip/tooltips.component.d.ts +12 -0
- package/editor/components/editor-attaches-tool/editor-attaches-tool.component.d.ts +19 -0
- package/editor/components/editor-attaches-tool/editor-attaches-tool.options.d.ts +18 -0
- package/editor/components/editor-attaches-tool/index.d.ts +2 -0
- package/editor/components/editor-image-tool/editor-image-tool.component.d.ts +14 -0
- package/editor/components/editor-image-tool/editor-image-tool.options.d.ts +26 -0
- package/editor/components/editor-image-tool/index.d.ts +2 -0
- package/editor/components/editor-tool/editor-tool.component.d.ts +22 -0
- package/editor/components/editor-tool-modal/editor-tool-modal.component.d.ts +24 -0
- package/editor/components/editor-tool-modal/editor-tool-modal.options.d.ts +8 -0
- package/editor/components/editor-tool-modal/index.d.ts +2 -0
- package/editor/components/editor-tooltip/editor-tooltip.component.d.ts +16 -0
- package/editor/components/editor-tooltip/editor-tooltip.options.d.ts +9 -0
- package/editor/components/editor-tooltip/index.d.ts +2 -0
- package/editor/components/editor-video-tool/editor-video-tool.component.d.ts +12 -0
- package/editor/components/editor-video-tool/editor-video-tool.options.d.ts +26 -0
- package/editor/components/editor-video-tool/index.d.ts +2 -0
- package/editor/components/index.d.ts +7 -0
- package/editor/components/marker-modal/index.d.ts +3 -0
- package/editor/components/marker-modal/marker-modal.component.d.ts +62 -0
- package/editor/components/marker-modal/marker-modal.interfaces.d.ts +7 -0
- package/editor/components/marker-modal/marker-modal.options.d.ts +1 -0
- package/editor/components/marker-select/component/select-item/select-option.component.d.ts +7 -0
- package/editor/components/marker-select/index.d.ts +2 -0
- package/editor/components/marker-select/marker-select.component.d.ts +40 -0
- package/editor/components/marker-select/marker-select.options.d.ts +1 -0
- package/editor/config/custom-elements.d.ts +2 -0
- package/editor/config/editor.config.d.ts +3 -0
- package/editor/config/index.d.ts +1 -0
- package/editor/constants/editor.constants.d.ts +15 -0
- package/editor/constants/index.d.ts +1 -0
- package/editor/editor.component.d.ts +74 -0
- package/editor/events/editor-drag.event.d.ts +2 -0
- package/editor/events/editor-keyboard.event.d.ts +2 -0
- package/editor/events/editor-modal.event.d.ts +3 -0
- package/editor/events/editor-tooltip.event.d.ts +2 -0
- package/editor/events/set-editor-events.d.ts +1 -0
- package/editor/index.d.ts +9 -0
- package/editor/interfaces/angular-element.d.ts +2 -0
- package/editor/interfaces/blocks-request-data.d.ts +6 -0
- package/editor/interfaces/combined-block-adding-event.d.ts +7 -0
- package/editor/interfaces/combined-block-data.d.ts +5 -0
- package/editor/interfaces/combined-part-block-data.d.ts +7 -0
- package/editor/interfaces/custom-element.d.ts +5 -0
- package/editor/interfaces/editor-service.d.ts +4 -0
- package/editor/interfaces/event-action-data.d.ts +5 -0
- package/editor/interfaces/file-response-data.d.ts +15 -0
- package/editor/interfaces/full-block-data.d.ts +8 -0
- package/editor/interfaces/index.d.ts +15 -0
- package/editor/interfaces/main-editor-config.d.ts +12 -0
- package/editor/interfaces/mutation-actions.d.ts +5 -0
- package/editor/interfaces/parent.d.ts +4 -0
- package/editor/interfaces/tools.d.ts +4 -0
- package/editor/interfaces/tune.d.ts +6 -0
- package/editor/pipes/file-size.pipe.d.ts +9 -0
- package/editor/providers/editor.provider.d.ts +2 -0
- package/editor/providers/index.d.ts +1 -0
- package/editor/services/editor-service.options.d.ts +8 -0
- package/editor/services/editor.service.d.ts +23 -0
- package/editor/services/index.d.ts +4 -0
- package/editor/services/markers-service.options.d.ts +4 -0
- package/editor/services/markers.service.d.ts +11 -0
- package/editor/tools/attaches.tool.d.ts +31 -0
- package/editor/tools/bold.tool.d.ts +11 -0
- package/editor/tools/combined-text-block.tool.d.ts +48 -0
- package/editor/tools/custom-marker.tool.d.ts +16 -0
- package/editor/tools/header.tool.d.ts +8 -0
- package/editor/tools/image.tool.d.ts +37 -0
- package/editor/tools/index.d.ts +11 -0
- package/editor/tools/italic.tool.d.ts +12 -0
- package/editor/tools/link-marker.tool.d.ts +15 -0
- package/editor/tools/list.tool.d.ts +5 -0
- package/editor/tools/marker.tool.d.ts +36 -0
- package/editor/tools/role-marker.tool.d.ts +7 -0
- package/editor/tools/selection-base.tool.d.ts +24 -0
- package/editor/tools/tool-marker.tool.d.ts +7 -0
- package/editor/tools/video.tool.d.ts +32 -0
- package/editor/utils/copy-text-to-clipboard.d.ts +1 -0
- package/editor/utils/create-link-modal.d.ts +3 -0
- package/editor/utils/create-tool-modal.d.ts +4 -0
- package/editor/utils/create-tools-data.d.ts +3 -0
- package/editor/utils/create-tooltip.d.ts +8 -0
- package/editor/utils/file-uploader.d.ts +27 -0
- package/editor/utils/generate-id.d.ts +1 -0
- package/editor/utils/index.d.ts +12 -0
- package/editor/utils/open-file-in-browser.d.ts +2 -0
- package/editor/utils/recalculate-indexes.d.ts +2 -0
- package/editor/utils/remove-element-tag-wrapper.d.ts +1 -0
- package/editor/utils/set-loading.d.ts +2 -0
- package/editor/utils/split-html.d.ts +1 -0
- package/editor/utils/url.validator.d.ts +2 -0
- package/editor/widgets/editor-block/editor-block.component.d.ts +22 -0
- package/editor/widgets/editor-block/index.d.ts +1 -0
- package/editor/widgets/editor-modal/editor-modal.component.d.ts +19 -0
- package/editor/widgets/editor-modal/index.d.ts +1 -0
- package/editor/widgets/editor-readonly/editor-readonly.component.d.ts +27 -0
- package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +5 -0
- package/editor/widgets/editor-readonly/editor-resize-observer.directive.d.ts +15 -0
- package/editor/widgets/editor-readonly/index.d.ts +2 -0
- package/editor/widgets/index.d.ts +3 -0
- package/esm2022/animations/animations.mjs +228 -0
- package/esm2022/animations/index.mjs +2 -0
- package/esm2022/classes/accessors.mjs +31 -0
- package/esm2022/classes/driver.mjs +35 -0
- package/esm2022/classes/index.mjs +4 -0
- package/esm2022/classes/vehicle.mjs +7 -0
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +37 -0
- package/esm2022/components/accordion/accordion-item/accordion-item.options.mjs +2 -0
- package/esm2022/components/accordion/accordion.component.mjs +11 -0
- package/esm2022/components/accordion/accordion.directive.mjs +56 -0
- package/esm2022/components/accordion/accordion.module.mjs +21 -0
- package/esm2022/components/accordion/index.mjs +5 -0
- package/esm2022/components/alert/alert.component.mjs +36 -0
- package/esm2022/components/alert/alert.interfaces.mjs +2 -0
- package/esm2022/components/alert/alert.module.mjs +21 -0
- package/esm2022/components/alert/alert.service.mjs +17 -0
- package/esm2022/components/alert/alert.tokens.mjs +20 -0
- package/esm2022/components/alert/alert.types.mjs +2 -0
- package/esm2022/components/alert/alerts.component.mjs +34 -0
- package/esm2022/components/alert/index.mjs +9 -0
- package/esm2022/components/alert-hint/alert-hint.component.mjs +28 -0
- package/esm2022/components/alert-hint/error-status.mjs +2 -0
- package/esm2022/components/alert-hint/index.mjs +2 -0
- package/esm2022/components/badge/badge.component.mjs +31 -0
- package/esm2022/components/badge/badge.module.mjs +18 -0
- package/esm2022/components/badge/badge.options.mjs +8 -0
- package/esm2022/components/badge/index.mjs +3 -0
- package/esm2022/components/banner/banner.component.mjs +68 -0
- package/esm2022/components/banner/banner.module.mjs +21 -0
- package/esm2022/components/banner/banner.options.mjs +6 -0
- package/esm2022/components/banner/index.mjs +4 -0
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -0
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +17 -0
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +20 -0
- package/esm2022/components/breadcrumbs/index.mjs +4 -0
- package/esm2022/components/button/button.component.mjs +133 -0
- package/esm2022/components/button/button.module.mjs +19 -0
- package/esm2022/components/button/button.options.mjs +11 -0
- package/esm2022/components/button/index.mjs +4 -0
- package/esm2022/components/button-group/button-group.component.mjs +11 -0
- package/esm2022/components/button-group/button-group.module.mjs +16 -0
- package/esm2022/components/button-group/index.mjs +3 -0
- package/esm2022/components/card-wrapper/card-wrapper.component.mjs +18 -0
- package/esm2022/components/card-wrapper/index.mjs +2 -0
- package/esm2022/components/checkbox/checkbox.component.mjs +11 -0
- package/esm2022/components/checkbox/checkbox.module.mjs +16 -0
- package/esm2022/components/checkbox/index.mjs +3 -0
- package/esm2022/components/content-header/content-header.component.mjs +19 -0
- package/esm2022/components/content-header/index.mjs +2 -0
- package/esm2022/components/content-wrapper/content-wrapper.component.mjs +29 -0
- package/esm2022/components/content-wrapper/index.mjs +2 -0
- package/esm2022/components/context-menu/context-menu.component.mjs +148 -0
- package/esm2022/components/context-menu/context-menu.module.mjs +19 -0
- package/esm2022/components/context-menu/index.mjs +3 -0
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -0
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -0
- package/esm2022/components/dialog/dialog.component.mjs +67 -0
- package/esm2022/components/dialog/dialog.interfaces.mjs +2 -0
- package/esm2022/components/dialog/dialog.module.mjs +24 -0
- package/esm2022/components/dialog/dialog.service.mjs +17 -0
- package/esm2022/components/dialog/dialog.tokens.mjs +12 -0
- package/esm2022/components/dialog/dialogs.component.mjs +49 -0
- package/esm2022/components/dialog/index.mjs +9 -0
- package/esm2022/components/dropdown/dropdown-wrapper.component.mjs +23 -0
- package/esm2022/components/dropdown/dropdown.directive.mjs +182 -0
- package/esm2022/components/dropdown/dropdown.interfaces.mjs +2 -0
- package/esm2022/components/dropdown/index.mjs +3 -0
- package/esm2022/components/empty-state/empty-state.component.mjs +17 -0
- package/esm2022/components/empty-state/index.mjs +2 -0
- package/esm2022/components/file-icon/file-icon.component.mjs +22 -0
- package/esm2022/components/file-icon/file-icon.options.mjs +120 -0
- package/esm2022/components/file-icon/index.mjs +2 -0
- package/esm2022/components/form-field/form-field.component.mjs +11 -0
- package/esm2022/components/form-field/form-field.module.mjs +16 -0
- package/esm2022/components/form-field/index.mjs +3 -0
- package/esm2022/components/ghost-input/ghost-input.component.mjs +16 -0
- package/esm2022/components/ghost-input/index.mjs +2 -0
- package/esm2022/components/hint/hint.component.mjs +19 -0
- package/esm2022/components/hint/hint.module.mjs +16 -0
- package/esm2022/components/hint/index.mjs +3 -0
- package/esm2022/components/icon-button/icon-button.component.mjs +32 -0
- package/esm2022/components/icon-button/icon-button.module.mjs +19 -0
- package/esm2022/components/icon-button/index.mjs +3 -0
- package/esm2022/components/index.mjs +42 -0
- package/esm2022/components/input-number/index.mjs +3 -0
- package/esm2022/components/input-number/input-number.component.mjs +107 -0
- package/esm2022/components/input-number/input-number.module.mjs +22 -0
- package/esm2022/components/input-password/index.mjs +3 -0
- package/esm2022/components/input-password/input-password.component.mjs +83 -0
- package/esm2022/components/input-password/input-password.module.mjs +21 -0
- package/esm2022/components/input-text/index.mjs +3 -0
- package/esm2022/components/input-text/input-text.component.mjs +81 -0
- package/esm2022/components/input-text/input-text.module.mjs +21 -0
- package/esm2022/components/input-time/index.mjs +4 -0
- package/esm2022/components/input-time/input-time.component.mjs +93 -0
- package/esm2022/components/input-time/input-time.module.mjs +22 -0
- package/esm2022/components/input-time/input-time.options.mjs +8 -0
- package/esm2022/components/label/index.mjs +3 -0
- package/esm2022/components/label/label.component.mjs +17 -0
- package/esm2022/components/label/label.module.mjs +18 -0
- package/esm2022/components/layout/index.mjs +2 -0
- package/esm2022/components/layout/layout.component.mjs +16 -0
- package/esm2022/components/letter-box/index.mjs +2 -0
- package/esm2022/components/letter-box/letter-box.component.mjs +43 -0
- package/esm2022/components/letter-box/letter-box.interfaces.mjs +2 -0
- package/esm2022/components/notification/index.mjs +4 -0
- package/esm2022/components/notification/notification.component.mjs +47 -0
- package/esm2022/components/notification/notification.module.mjs +19 -0
- package/esm2022/components/notification/notification.options.mjs +53 -0
- package/esm2022/components/options-button/index.mjs +2 -0
- package/esm2022/components/options-button/options-button.component.mjs +20 -0
- package/esm2022/components/radio/index.mjs +3 -0
- package/esm2022/components/radio/radio.component.mjs +11 -0
- package/esm2022/components/radio/radio.module.mjs +16 -0
- package/esm2022/components/render-dynamic-components/index.mjs +3 -0
- package/esm2022/components/render-dynamic-components/render-dynamic-components.component.mjs +17 -0
- package/esm2022/components/render-dynamic-components/render-dynamic-components.options.mjs +2 -0
- package/esm2022/components/render-dynamic-components/render-dynamic-components.service.mjs +29 -0
- package/esm2022/components/root/index.mjs +4 -0
- package/esm2022/components/root/root.component.mjs +27 -0
- package/esm2022/components/root/root.module.mjs +21 -0
- package/esm2022/components/root/root.options.mjs +2 -0
- package/esm2022/components/select/index.mjs +3 -0
- package/esm2022/components/select/select.component.mjs +171 -0
- package/esm2022/components/select/select.module.mjs +21 -0
- package/esm2022/components/sidebar/index.mjs +7 -0
- package/esm2022/components/sidebar/sidebar-container/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-container/sidebar-container.component.mjs +30 -0
- package/esm2022/components/sidebar/sidebar-header/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +27 -0
- package/esm2022/components/sidebar/sidebar-navigation/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +16 -0
- package/esm2022/components/sidebar/sidebar-navigation-container/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +16 -0
- package/esm2022/components/sidebar/sidebar-navigation-item/index.mjs +2 -0
- package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +21 -0
- package/esm2022/components/sidebar/sidebar.options.mjs +2 -0
- package/esm2022/components/sidebar/sidebar.service.mjs +39 -0
- package/esm2022/components/svg/index.mjs +3 -0
- package/esm2022/components/svg/svg.component.mjs +48 -0
- package/esm2022/components/svg/svg.module.mjs +18 -0
- package/esm2022/components/tab/index.mjs +2 -0
- package/esm2022/components/tab/tab.component.mjs +36 -0
- package/esm2022/components/tabs/components/abstract-tabs/abstract-tabs.component.mjs +40 -0
- package/esm2022/components/tabs/components/abstract-tabs/index.mjs +2 -0
- package/esm2022/components/tabs/components/index.mjs +2 -0
- package/esm2022/components/tabs/index.mjs +6 -0
- package/esm2022/components/tabs/services/index.mjs +2 -0
- package/esm2022/components/tabs/services/tabs.service.mjs +27 -0
- package/esm2022/components/tabs/tabs.component.mjs +17 -0
- package/esm2022/components/tabs/tabs.options.mjs +5 -0
- package/esm2022/components/tabs/tabs.provider.mjs +9 -0
- package/esm2022/components/textarea/index.mjs +3 -0
- package/esm2022/components/textarea/textarea.component.mjs +35 -0
- package/esm2022/components/textarea/textarea.module.mjs +16 -0
- package/esm2022/components/toggle/index.mjs +3 -0
- package/esm2022/components/toggle/toggle.component.mjs +11 -0
- package/esm2022/components/toggle/toggle.module.mjs +16 -0
- package/esm2022/cuby-ui-core.mjs +5 -0
- package/esm2022/directives/index.mjs +3 -0
- package/esm2022/directives/text-field-controller/index.mjs +9 -0
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +40 -0
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +24 -0
- package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -0
- package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +21 -0
- package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +24 -0
- package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -0
- package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +24 -0
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +25 -0
- package/esm2022/directives/tooltip/index.mjs +17 -0
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +47 -0
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -0
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -0
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +50 -0
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -0
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +91 -0
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -0
- package/esm2022/directives/tooltip/tooltip.component.mjs +109 -0
- package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -0
- package/esm2022/directives/tooltip/tooltip.mjs +27 -0
- package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -0
- package/esm2022/directives/tooltip/tooltip.service.mjs +28 -0
- package/esm2022/directives/tooltip/tooltips.component.mjs +33 -0
- package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +60 -0
- package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.options.mjs +2 -0
- package/esm2022/editor/components/editor-attaches-tool/index.mjs +3 -0
- package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +43 -0
- package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +2 -0
- package/esm2022/editor/components/editor-image-tool/index.mjs +3 -0
- package/esm2022/editor/components/editor-tool/editor-tool.component.mjs +74 -0
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.component.mjs +69 -0
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +2 -0
- package/esm2022/editor/components/editor-tool-modal/index.mjs +3 -0
- package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +45 -0
- package/esm2022/editor/components/editor-tooltip/editor-tooltip.options.mjs +2 -0
- package/esm2022/editor/components/editor-tooltip/index.mjs +3 -0
- package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +41 -0
- package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +2 -0
- package/esm2022/editor/components/editor-video-tool/index.mjs +3 -0
- package/esm2022/editor/components/index.mjs +8 -0
- package/esm2022/editor/components/marker-modal/index.mjs +3 -0
- package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +261 -0
- package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +2 -0
- package/esm2022/editor/components/marker-modal/marker-modal.options.mjs +2 -0
- package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +15 -0
- package/esm2022/editor/components/marker-select/index.mjs +3 -0
- package/esm2022/editor/components/marker-select/marker-select.component.mjs +155 -0
- package/esm2022/editor/components/marker-select/marker-select.options.mjs +2 -0
- package/esm2022/editor/config/custom-elements.mjs +32 -0
- package/esm2022/editor/config/editor.config.mjs +30 -0
- package/esm2022/editor/config/index.mjs +2 -0
- package/esm2022/editor/constants/editor.constants.mjs +20 -0
- package/esm2022/editor/constants/index.mjs +2 -0
- package/esm2022/editor/editor.component.mjs +393 -0
- package/esm2022/editor/events/editor-drag.event.mjs +7 -0
- package/esm2022/editor/events/editor-keyboard.event.mjs +33 -0
- package/esm2022/editor/events/editor-modal.event.mjs +31 -0
- package/esm2022/editor/events/editor-tooltip.event.mjs +63 -0
- package/esm2022/editor/events/set-editor-events.mjs +11 -0
- package/esm2022/editor/i18n/en.json +14 -0
- package/esm2022/editor/index.mjs +8 -0
- package/esm2022/editor/interfaces/angular-element.mjs +2 -0
- package/esm2022/editor/interfaces/blocks-request-data.mjs +2 -0
- package/esm2022/editor/interfaces/combined-block-adding-event.mjs +2 -0
- package/esm2022/editor/interfaces/combined-block-data.mjs +2 -0
- package/esm2022/editor/interfaces/combined-part-block-data.mjs +2 -0
- package/esm2022/editor/interfaces/custom-element.mjs +2 -0
- package/esm2022/editor/interfaces/editor-service.mjs +2 -0
- package/esm2022/editor/interfaces/event-action-data.mjs +2 -0
- package/esm2022/editor/interfaces/file-response-data.mjs +2 -0
- package/esm2022/editor/interfaces/full-block-data.mjs +2 -0
- package/esm2022/editor/interfaces/index.mjs +15 -0
- package/esm2022/editor/interfaces/main-editor-config.mjs +2 -0
- package/esm2022/editor/interfaces/mutation-actions.mjs +2 -0
- package/esm2022/editor/interfaces/parent.mjs +2 -0
- package/esm2022/editor/interfaces/tools.mjs +2 -0
- package/esm2022/editor/interfaces/tune.mjs +2 -0
- package/esm2022/editor/pipes/file-size.pipe.mjs +25 -0
- package/esm2022/editor/providers/editor.provider.mjs +19 -0
- package/esm2022/editor/providers/index.mjs +2 -0
- package/esm2022/editor/services/editor-service.options.mjs +4 -0
- package/esm2022/editor/services/editor.service.mjs +138 -0
- package/esm2022/editor/services/index.mjs +5 -0
- package/esm2022/editor/services/markers-service.options.mjs +2 -0
- package/esm2022/editor/services/markers.service.mjs +79 -0
- package/esm2022/editor/tools/attaches.tool.mjs +102 -0
- package/esm2022/editor/tools/bold.tool.mjs +33 -0
- package/esm2022/editor/tools/combined-text-block.tool.mjs +363 -0
- package/esm2022/editor/tools/custom-marker.tool.mjs +88 -0
- package/esm2022/editor/tools/header.tool.mjs +16 -0
- package/esm2022/editor/tools/image.tool.mjs +157 -0
- package/esm2022/editor/tools/index.mjs +12 -0
- package/esm2022/editor/tools/italic.tool.mjs +35 -0
- package/esm2022/editor/tools/link-marker.tool.mjs +80 -0
- package/esm2022/editor/tools/list.tool.mjs +10 -0
- package/esm2022/editor/tools/marker.tool.mjs +144 -0
- package/esm2022/editor/tools/role-marker.tool.mjs +17 -0
- package/esm2022/editor/tools/selection-base.tool.mjs +92 -0
- package/esm2022/editor/tools/tool-marker.tool.mjs +14 -0
- package/esm2022/editor/tools/video.tool.mjs +132 -0
- package/esm2022/editor/utils/copy-text-to-clipboard.mjs +17 -0
- package/esm2022/editor/utils/create-link-modal.mjs +22 -0
- package/esm2022/editor/utils/create-tool-modal.mjs +45 -0
- package/esm2022/editor/utils/create-tools-data.mjs +56 -0
- package/esm2022/editor/utils/create-tooltip.mjs +43 -0
- package/esm2022/editor/utils/file-uploader.mjs +60 -0
- package/esm2022/editor/utils/generate-id.mjs +4 -0
- package/esm2022/editor/utils/index.mjs +13 -0
- package/esm2022/editor/utils/open-file-in-browser.mjs +9 -0
- package/esm2022/editor/utils/recalculate-indexes.mjs +32 -0
- package/esm2022/editor/utils/remove-element-tag-wrapper.mjs +11 -0
- package/esm2022/editor/utils/set-loading.mjs +14 -0
- package/esm2022/editor/utils/split-html.mjs +128 -0
- package/esm2022/editor/utils/url.validator.mjs +12 -0
- package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +63 -0
- package/esm2022/editor/widgets/editor-block/index.mjs +2 -0
- package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +42 -0
- package/esm2022/editor/widgets/editor-modal/index.mjs +2 -0
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +36 -0
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +2 -0
- package/esm2022/editor/widgets/editor-readonly/editor-resize-observer.directive.mjs +51 -0
- package/esm2022/editor/widgets/editor-readonly/index.mjs +2 -0
- package/esm2022/editor/widgets/index.mjs +4 -0
- package/esm2022/index.mjs +12 -0
- package/esm2022/interceptors/auth.interceptor.mjs +15 -0
- package/esm2022/interceptors/error-handler.interceptor.mjs +23 -0
- package/esm2022/interceptors/index.mjs +5 -0
- package/esm2022/interceptors/loader.interceptor.mjs +12 -0
- package/esm2022/interceptors/x-ndjson.interceptor.mjs +48 -0
- package/esm2022/interfaces/context-menu-item.mjs +2 -0
- package/esm2022/interfaces/error-notification-service.mjs +2 -0
- package/esm2022/interfaces/error-stategy.mjs +2 -0
- package/esm2022/interfaces/image.mjs +2 -0
- package/esm2022/interfaces/index.mjs +6 -0
- package/esm2022/interfaces/option.mjs +2 -0
- package/esm2022/operators/handle-error.mjs +12 -0
- package/esm2022/operators/index.mjs +2 -0
- package/esm2022/providers/auth.options.mjs +3 -0
- package/esm2022/providers/auth.provider.mjs +31 -0
- package/esm2022/providers/error-handler.options.mjs +2 -0
- package/esm2022/providers/error-handler.provider.mjs +23 -0
- package/esm2022/providers/index.mjs +4 -0
- package/esm2022/services/auth.service.mjs +31 -0
- package/esm2022/services/browser-auth.service.mjs +31 -0
- package/esm2022/services/error-resolver-factory.service.mjs +75 -0
- package/esm2022/services/global-handler-error.service.mjs +26 -0
- package/esm2022/services/index.mjs +10 -0
- package/esm2022/services/loader.options.mjs +6 -0
- package/esm2022/services/loader.service.mjs +60 -0
- package/esm2022/services/mobile-auth.service.mjs +25 -0
- package/esm2022/services/position.service.mjs +23 -0
- package/esm2022/services/theme.options.mjs +6 -0
- package/esm2022/services/theme.service.mjs +30 -0
- package/esm2022/services/token.options.mjs +2 -0
- package/esm2022/services/token.service.mjs +121 -0
- package/esm2022/services/visual-viewport.service.mjs +28 -0
- package/esm2022/tokens/animations-speed.mjs +8 -0
- package/esm2022/tokens/error-notification-service.mjs +15 -0
- package/esm2022/tokens/error-translation-prefix.mjs +6 -0
- package/esm2022/tokens/index.mjs +6 -0
- package/esm2022/tokens/reduced-motion.mjs +5 -0
- package/esm2022/tokens/viewport.mjs +31 -0
- package/esm2022/types/appearance.mjs +2 -0
- package/esm2022/types/button-theme.mjs +2 -0
- package/esm2022/types/hint-type.mjs +2 -0
- package/esm2022/types/index.mjs +11 -0
- package/esm2022/types/point.mjs +2 -0
- package/esm2022/types/portal-item.mjs +2 -0
- package/esm2022/types/position.mjs +2 -0
- package/esm2022/types/resizing.mjs +2 -0
- package/esm2022/types/shape.mjs +2 -0
- package/esm2022/types/size.mjs +2 -0
- package/esm2022/types/status.mjs +2 -0
- package/esm2022/utils/check-fixed-position.mjs +7 -0
- package/esm2022/utils/default-validators/create-default-validators.mjs +19 -0
- package/esm2022/utils/default-validators/create-default-validators.options.mjs +2 -0
- package/esm2022/utils/default-validators/extra-spaces.options.mjs +11 -0
- package/esm2022/utils/default-validators/extra-spaces.validators.mjs +11 -0
- package/esm2022/utils/default-validators/index.mjs +2 -0
- package/esm2022/utils/format/index.mjs +3 -0
- package/esm2022/utils/format/remove-spaces.mjs +4 -0
- package/esm2022/utils/format/replace.mjs +5 -0
- package/esm2022/utils/index.mjs +5 -0
- package/esm2022/utils/miscellaneous/index.mjs +4 -0
- package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -0
- package/esm2022/utils/miscellaneous/override-options.mjs +11 -0
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -0
- package/esm2022/widgets/assets/constants/index.mjs +2 -0
- package/esm2022/widgets/assets/constants/translations.mjs +5 -0
- package/esm2022/widgets/assets/i18n/en.json +45 -0
- package/esm2022/widgets/assets/i18n/ru.json +45 -0
- package/esm2022/widgets/assets/index.mjs +2 -0
- package/esm2022/widgets/index.mjs +5 -0
- package/esm2022/widgets/model/circle-loader-size.type.mjs +2 -0
- package/esm2022/widgets/model/index.mjs +11 -0
- package/esm2022/widgets/model/resource-state-service.interface.mjs +2 -0
- package/esm2022/widgets/model/resource-state-service.token.mjs +3 -0
- package/esm2022/widgets/model/resources-block.options.mjs +2 -0
- package/esm2022/widgets/model/subject-modal-service.interface.mjs +2 -0
- package/esm2022/widgets/model/subject-modal-service.token.mjs +3 -0
- package/esm2022/widgets/model/used-elements-service.interface.mjs +2 -0
- package/esm2022/widgets/model/used-elements-service.token.mjs +3 -0
- package/esm2022/widgets/model/utility-service.interface.mjs +2 -0
- package/esm2022/widgets/model/utility-service.token.mjs +3 -0
- package/esm2022/widgets/service/index.mjs +5 -0
- package/esm2022/widgets/service/resource-state-base.service.mjs +19 -0
- package/esm2022/widgets/service/subject-modal-base.service.mjs +15 -0
- package/esm2022/widgets/service/used-elements-base.service.mjs +17 -0
- package/esm2022/widgets/service/utility-base.service.mjs +129 -0
- package/esm2022/widgets/ui/assignee-role-item/assignee-role-item.component.mjs +31 -0
- package/esm2022/widgets/ui/assignee-role-item/index.mjs +2 -0
- package/esm2022/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.mjs +48 -0
- package/esm2022/widgets/ui/assignee-roles-tabs/index.mjs +2 -0
- package/esm2022/widgets/ui/button-change-theme/button-change-theme.component.mjs +27 -0
- package/esm2022/widgets/ui/button-change-theme/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/categories.component.mjs +78 -0
- package/esm2022/widgets/ui/categories/components/categories-list/categories-list.component.mjs +17 -0
- package/esm2022/widgets/ui/categories/components/categories-list/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/components/category-form/category-form.component.mjs +79 -0
- package/esm2022/widgets/ui/categories/components/category-form/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/components/category-item/category-item.component.mjs +126 -0
- package/esm2022/widgets/ui/categories/components/category-item/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/components/create-category-item/create-category-item.component.mjs +25 -0
- package/esm2022/widgets/ui/categories/components/create-category-item/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/components/index.mjs +3 -0
- package/esm2022/widgets/ui/categories/index.mjs +3 -0
- package/esm2022/widgets/ui/categories/services/index.mjs +2 -0
- package/esm2022/widgets/ui/categories/services/selected-category.service.mjs +38 -0
- package/esm2022/widgets/ui/checklist-block/checklist-block.component.mjs +75 -0
- package/esm2022/widgets/ui/checklist-block/checklist-block.options.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.mjs +85 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +133 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +45 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +35 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +152 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +282 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +117 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.mjs +39 -0
- package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/components/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/index.mjs +2 -0
- package/esm2022/widgets/ui/checklist-block/services/checklist-block.service.mjs +50 -0
- package/esm2022/widgets/ui/checklist-block/services/index.mjs +2 -0
- package/esm2022/widgets/ui/circle-loader/circle-loader.component.mjs +20 -0
- package/esm2022/widgets/ui/circle-loader/index.mjs +2 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.mjs +78 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.mjs +2 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/index.mjs +3 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.mjs +17 -0
- package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.mjs +2 -0
- package/esm2022/widgets/ui/consumable-form/components/index.mjs +4 -0
- package/esm2022/widgets/ui/consumable-form/consumable-form.component.mjs +184 -0
- package/esm2022/widgets/ui/consumable-form/consumable-form.options.mjs +2 -0
- package/esm2022/widgets/ui/consumable-form/index.mjs +2 -0
- package/esm2022/widgets/ui/criterion-info/criterion-info.component.mjs +137 -0
- package/esm2022/widgets/ui/criterion-info/index.mjs +2 -0
- package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.component.mjs +147 -0
- package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.options.mjs +2 -0
- package/esm2022/widgets/ui/criterion-info-form/index.mjs +2 -0
- package/esm2022/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.mjs +72 -0
- package/esm2022/widgets/ui/criterion-readonly-info/index.mjs +2 -0
- package/esm2022/widgets/ui/delete-modal/delete-modal.component.mjs +39 -0
- package/esm2022/widgets/ui/delete-modal/delete-modal.options.mjs +2 -0
- package/esm2022/widgets/ui/delete-modal/index.mjs +2 -0
- package/esm2022/widgets/ui/framer-preview/framer-preview.component.mjs +77 -0
- package/esm2022/widgets/ui/framer-preview/framer-preview.options.mjs +2 -0
- package/esm2022/widgets/ui/framer-preview/index.mjs +2 -0
- package/esm2022/widgets/ui/general-control-error-hint/general-control-error-hint.component.mjs +21 -0
- package/esm2022/widgets/ui/general-control-error-hint/index.mjs +2 -0
- package/esm2022/widgets/ui/index.mjs +30 -0
- package/esm2022/widgets/ui/inserted/index.mjs +2 -0
- package/esm2022/widgets/ui/inserted/inserted.component.mjs +17 -0
- package/esm2022/widgets/ui/instruction-info/index.mjs +2 -0
- package/esm2022/widgets/ui/instruction-info/instruction-info.component.mjs +147 -0
- package/esm2022/widgets/ui/instruction-info-form/index.mjs +2 -0
- package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.component.mjs +153 -0
- package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.options.mjs +2 -0
- package/esm2022/widgets/ui/instruction-readonly-info/index.mjs +2 -0
- package/esm2022/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.mjs +72 -0
- package/esm2022/widgets/ui/linear-loader/index.mjs +2 -0
- package/esm2022/widgets/ui/linear-loader/linear-loader.component.mjs +11 -0
- package/esm2022/widgets/ui/modal-criteria-tab/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.mjs +45 -0
- package/esm2022/widgets/ui/modal-divided-section/index.mjs +3 -0
- package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.component.mjs +58 -0
- package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.interfaces.mjs +2 -0
- package/esm2022/widgets/ui/modal-header/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-header/modal-header.component.mjs +31 -0
- package/esm2022/widgets/ui/modal-header-inserted-buttons/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.mjs +22 -0
- package/esm2022/widgets/ui/modal-header-tabs/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-header-tabs/modal-header-tabs.component.mjs +19 -0
- package/esm2022/widgets/ui/modal-info-tab/index.mjs +3 -0
- package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.component.mjs +19 -0
- package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.options.mjs +2 -0
- package/esm2022/widgets/ui/modal-instructions-tab/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.mjs +31 -0
- package/esm2022/widgets/ui/modal-operation-part/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-operation-part/modal-operation-part.component.mjs +119 -0
- package/esm2022/widgets/ui/modal-resources-tab/index.mjs +2 -0
- package/esm2022/widgets/ui/modal-resources-tab/modal-resources-tab.component.mjs +33 -0
- package/esm2022/widgets/ui/render-dynamic-modal/index.mjs +3 -0
- package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.mjs +29 -0
- package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/index.mjs +4 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.mjs +53 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-content/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.mjs +38 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.mjs +57 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.mjs +56 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.mjs +10 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.mjs +56 -0
- package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-options/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block/components/resources-options/resources-options.component.mjs +42 -0
- package/esm2022/widgets/ui/resources-block/index.mjs +3 -0
- package/esm2022/widgets/ui/resources-block/resources-block.component.mjs +137 -0
- package/esm2022/widgets/ui/resources-block-tabs/index.mjs +2 -0
- package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.component.mjs +57 -0
- package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.options.mjs +10 -0
- package/esm2022/widgets/ui/select-modal/components/index.mjs +3 -0
- package/esm2022/widgets/ui/select-modal/components/select-modal-folder/index.mjs +2 -0
- package/esm2022/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.mjs +21 -0
- package/esm2022/widgets/ui/select-modal/components/select-modal-search/index.mjs +2 -0
- package/esm2022/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.mjs +32 -0
- package/esm2022/widgets/ui/select-modal/index.mjs +4 -0
- package/esm2022/widgets/ui/select-modal/select-modal.component.mjs +35 -0
- package/esm2022/widgets/ui/select-modal/select-modal.interfaces.mjs +2 -0
- package/esm2022/widgets/ui/select-modal/select-modal.service.mjs +23 -0
- package/esm2022/widgets/ui/stated-loader/index.mjs +2 -0
- package/esm2022/widgets/ui/stated-loader/stated-loader.component.mjs +36 -0
- package/esm2022/widgets/ui/storage-list/components/index.mjs +2 -0
- package/esm2022/widgets/ui/storage-list/components/storage-list-item/index.mjs +2 -0
- package/esm2022/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.mjs +87 -0
- package/esm2022/widgets/ui/storage-list/index.mjs +3 -0
- package/esm2022/widgets/ui/storage-list/storage-list.component.mjs +17 -0
- package/esm2022/widgets/ui/storage-list/storage-list.options.mjs +3 -0
- package/esm2022/widgets/ui/toolbox-form/components/index.mjs +2 -0
- package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/index.mjs +2 -0
- package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.mjs +19 -0
- package/esm2022/widgets/ui/toolbox-form/index.mjs +3 -0
- package/esm2022/widgets/ui/toolbox-form/tool-form.component.mjs +106 -0
- package/esm2022/widgets/ui/toolbox-form/tool-form.options.mjs +2 -0
- package/esm2022/widgets/ui/user-action-context-menu/activity-item/activity-item.component.mjs +59 -0
- package/esm2022/widgets/ui/user-action-context-menu/activity-item/index.mjs +2 -0
- package/esm2022/widgets/ui/user-action-context-menu/company-item/company-item.component.mjs +67 -0
- package/esm2022/widgets/ui/user-action-context-menu/company-item/index.mjs +2 -0
- package/esm2022/widgets/ui/user-action-context-menu/index.mjs +4 -0
- package/esm2022/widgets/ui/user-action-context-menu/services/activity-base.service.mjs +32 -0
- package/esm2022/widgets/ui/user-action-context-menu/services/activity.service.mjs +35 -0
- package/esm2022/widgets/ui/user-action-context-menu/services/index.mjs +3 -0
- package/esm2022/widgets/ui/user-action-context-menu/user-action-context-menu.component.mjs +80 -0
- package/esm2022/widgets/ui/user-action-context-menu/user-action-context.option.mjs +3 -0
- package/esm2022/widgets/ui/utility-info-readonly/index.mjs +3 -0
- package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.component.mjs +94 -0
- package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.options.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +41 -0
- package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/index.mjs +5 -0
- package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +41 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.mjs +40 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +40 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +43 -0
- package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +55 -0
- package/esm2022/widgets/ui/utility-modal/index.mjs +4 -0
- package/esm2022/widgets/ui/utility-modal/utility-modal.component.mjs +22 -0
- package/esm2022/widgets/ui/utility-modal/utility-modal.options.mjs +3 -0
- package/esm2022/widgets/ui/utility-readonly-thumbnail/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +15 -0
- package/esm2022/widgets/ui/utility-thumbnail/index.mjs +2 -0
- package/esm2022/widgets/ui/utility-thumbnail/utility-thumbnail.component.mjs +95 -0
- package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs +91 -0
- package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs.map +1 -0
- package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs +29 -0
- package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs.map +1 -0
- package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs +91 -0
- package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs.map +1 -0
- package/fesm2022/cuby-ui-core.mjs +12156 -0
- package/fesm2022/cuby-ui-core.mjs.map +1 -0
- package/fonts/Inter-Bold.eot +0 -0
- package/fonts/Inter-Bold.otf +0 -0
- package/fonts/Inter-Bold.svg +25443 -0
- 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 +25400 -0
- 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 +24341 -0
- 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 +25459 -0
- 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 +9508 -0
- 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 +11 -0
- package/interceptors/auth.interceptor.d.ts +2 -0
- package/interceptors/error-handler.interceptor.d.ts +2 -0
- package/interceptors/index.d.ts +4 -0
- package/interceptors/loader.interceptor.d.ts +2 -0
- package/interceptors/x-ndjson.interceptor.d.ts +2 -0
- package/interfaces/context-menu-item.d.ts +7 -0
- package/interfaces/error-notification-service.d.ts +3 -0
- package/interfaces/error-stategy.d.ts +3 -0
- package/interfaces/image.d.ts +5 -0
- package/interfaces/index.d.ts +5 -0
- package/interfaces/option.d.ts +5 -0
- package/operators/handle-error.d.ts +2 -0
- package/operators/index.d.ts +1 -0
- package/package.json +4 -7
- package/providers/auth.options.d.ts +15 -0
- package/providers/auth.provider.d.ts +3 -0
- package/providers/error-handler.options.d.ts +6 -0
- package/providers/error-handler.provider.d.ts +3 -0
- package/providers/index.d.ts +4 -0
- package/services/auth.service.d.ts +8 -0
- package/services/browser-auth.service.d.ts +10 -0
- package/services/error-resolver-factory.service.d.ts +10 -0
- package/services/global-handler-error.service.d.ts +10 -0
- package/services/index.d.ts +9 -0
- package/services/loader.options.d.ts +7 -0
- package/services/loader.service.d.ts +21 -0
- package/services/mobile-auth.service.d.ts +8 -0
- package/services/position.service.d.ts +10 -0
- package/services/theme.options.d.ts +5 -0
- package/services/theme.service.d.ts +12 -0
- package/services/token.options.d.ts +31 -0
- package/services/token.service.d.ts +26 -0
- package/services/visual-viewport.service.d.ts +9 -0
- package/styles/direcive/flex-container.scss +3 -0
- package/styles/fonts.scss +69 -0
- package/styles/global.scss +10 -0
- package/styles/mixins/buttons.scss +13 -0
- package/styles/mixins/flex.scss +11 -0
- package/styles/mixins/headings.scss +115 -0
- package/styles/mixins/inputs.scss +91 -0
- package/styles/mixins/lists.scss +41 -0
- package/styles/mixins/paddings.scss +35 -0
- package/styles/mixins/shadows.scss +42 -0
- package/styles/mixins/texts.scss +224 -0
- package/styles/reset.scss +111 -0
- package/styles/theme.scss +427 -0
- package/styles/variables/colors.scss +288 -0
- package/styles/variables/fonts.scss +2 -0
- package/tokens/animations-speed.d.ts +4 -0
- package/tokens/error-notification-service.d.ts +3 -0
- package/tokens/error-translation-prefix.d.ts +2 -0
- package/tokens/index.d.ts +5 -0
- package/tokens/reduced-motion.d.ts +1 -0
- package/tokens/viewport.d.ts +7 -0
- package/types/appearance.d.ts +11 -0
- package/types/button-theme.d.ts +5 -0
- package/types/hint-type.d.ts +1 -0
- package/types/index.d.ts +10 -0
- package/types/point.d.ts +1 -0
- package/types/portal-item.d.ts +9 -0
- package/types/position.d.ts +2 -0
- package/types/resizing.d.ts +3 -0
- package/types/shape.d.ts +1 -0
- package/types/size.d.ts +6 -0
- package/types/status.d.ts +1 -0
- package/utils/check-fixed-position.d.ts +1 -0
- package/utils/default-validators/create-default-validators.d.ts +5 -0
- package/utils/default-validators/create-default-validators.options.d.ts +5 -0
- package/utils/default-validators/extra-spaces.options.d.ts +2 -0
- package/utils/default-validators/extra-spaces.validators.d.ts +3 -0
- package/utils/default-validators/index.d.ts +2 -0
- package/utils/format/index.d.ts +2 -0
- package/utils/format/remove-spaces.d.ts +1 -0
- package/utils/format/replace.d.ts +1 -0
- package/utils/index.d.ts +4 -0
- package/utils/miscellaneous/index.d.ts +3 -0
- package/utils/miscellaneous/is-obscured.d.ts +4 -0
- package/utils/miscellaneous/override-options.d.ts +1 -0
- package/utils/miscellaneous/to-animation-options.d.ts +4 -0
- package/widgets/assets/constants/index.d.ts +1 -0
- package/widgets/assets/constants/translations.d.ts +2 -0
- package/widgets/assets/index.d.ts +1 -0
- package/widgets/index.d.ts +4 -0
- package/widgets/model/circle-loader-size.type.d.ts +2 -0
- package/widgets/model/index.d.ts +10 -0
- package/widgets/model/resource-state-service.interface.d.ts +4 -0
- package/widgets/model/resource-state-service.token.d.ts +3 -0
- package/widgets/model/resources-block.options.d.ts +15 -0
- package/widgets/model/subject-modal-service.interface.d.ts +7 -0
- package/widgets/model/subject-modal-service.token.d.ts +3 -0
- package/widgets/model/used-elements-service.interface.d.ts +5 -0
- package/widgets/model/used-elements-service.token.d.ts +3 -0
- package/widgets/model/utility-service.interface.d.ts +23 -0
- package/widgets/model/utility-service.token.d.ts +3 -0
- package/widgets/service/index.d.ts +4 -0
- package/widgets/service/resource-state-base.service.d.ts +10 -0
- package/widgets/service/subject-modal-base.service.d.ts +11 -0
- package/widgets/service/used-elements-base.service.d.ts +11 -0
- package/widgets/service/utility-base.service.d.ts +29 -0
- package/widgets/ui/assignee-role-item/assignee-role-item.component.d.ts +12 -0
- package/widgets/ui/assignee-role-item/index.d.ts +1 -0
- package/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.d.ts +18 -0
- package/widgets/ui/assignee-roles-tabs/index.d.ts +1 -0
- package/widgets/ui/button-change-theme/button-change-theme.component.d.ts +9 -0
- package/widgets/ui/button-change-theme/index.d.ts +1 -0
- package/widgets/ui/categories/categories.component.d.ts +25 -0
- package/widgets/ui/categories/components/categories-list/categories-list.component.d.ts +8 -0
- package/widgets/ui/categories/components/categories-list/index.d.ts +1 -0
- package/widgets/ui/categories/components/category-form/category-form.component.d.ts +28 -0
- package/widgets/ui/categories/components/category-form/index.d.ts +1 -0
- package/widgets/ui/categories/components/category-item/category-item.component.d.ts +42 -0
- package/widgets/ui/categories/components/category-item/index.d.ts +1 -0
- package/widgets/ui/categories/components/create-category-item/create-category-item.component.d.ts +10 -0
- package/widgets/ui/categories/components/create-category-item/index.d.ts +1 -0
- package/widgets/ui/categories/components/index.d.ts +2 -0
- package/widgets/ui/categories/index.d.ts +2 -0
- package/widgets/ui/categories/services/index.d.ts +1 -0
- package/widgets/ui/categories/services/selected-category.service.d.ts +18 -0
- package/widgets/ui/checklist-block/checklist-block.component.d.ts +21 -0
- package/widgets/ui/checklist-block/checklist-block.options.d.ts +12 -0
- package/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.d.ts +27 -0
- package/widgets/ui/checklist-block/components/checklist-block-list/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.d.ts +30 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.d.ts +11 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.d.ts +10 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.d.ts +41 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +5 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.d.ts +51 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.d.ts +14 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.d.ts +2 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.d.ts +33 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.d.ts +4 -0
- package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.d.ts +8 -0
- package/widgets/ui/checklist-block/components/checklist-block-title-control/index.d.ts +1 -0
- package/widgets/ui/checklist-block/components/index.d.ts +1 -0
- package/widgets/ui/checklist-block/index.d.ts +1 -0
- package/widgets/ui/checklist-block/services/checklist-block.service.d.ts +19 -0
- package/widgets/ui/checklist-block/services/index.d.ts +1 -0
- package/widgets/ui/circle-loader/circle-loader.component.d.ts +8 -0
- package/widgets/ui/circle-loader/index.d.ts +1 -0
- package/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.d.ts +31 -0
- package/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.d.ts +1 -0
- package/widgets/ui/consumable-form/components/consumable-form-item/index.d.ts +2 -0
- package/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.d.ts +8 -0
- package/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.d.ts +1 -0
- package/widgets/ui/consumable-form/components/index.d.ts +3 -0
- package/widgets/ui/consumable-form/consumable-form.component.d.ts +46 -0
- package/widgets/ui/consumable-form/consumable-form.options.d.ts +22 -0
- package/widgets/ui/consumable-form/index.d.ts +1 -0
- package/widgets/ui/criterion-info/criterion-info.component.d.ts +43 -0
- package/widgets/ui/criterion-info/index.d.ts +1 -0
- package/widgets/ui/criterion-info-form/criterion-info-form.component.d.ts +39 -0
- package/widgets/ui/criterion-info-form/criterion-info-form.options.d.ts +7 -0
- package/widgets/ui/criterion-info-form/index.d.ts +2 -0
- package/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.d.ts +26 -0
- package/widgets/ui/criterion-readonly-info/index.d.ts +1 -0
- package/widgets/ui/delete-modal/delete-modal.component.d.ts +13 -0
- package/widgets/ui/delete-modal/delete-modal.options.d.ts +7 -0
- package/widgets/ui/delete-modal/index.d.ts +2 -0
- package/widgets/ui/framer-preview/framer-preview.component.d.ts +26 -0
- package/widgets/ui/framer-preview/framer-preview.options.d.ts +5 -0
- package/widgets/ui/framer-preview/index.d.ts +2 -0
- package/widgets/ui/general-control-error-hint/general-control-error-hint.component.d.ts +9 -0
- package/widgets/ui/general-control-error-hint/index.d.ts +1 -0
- package/widgets/ui/index.d.ts +29 -0
- package/widgets/ui/inserted/index.d.ts +1 -0
- package/widgets/ui/inserted/inserted.component.d.ts +5 -0
- package/widgets/ui/instruction-info/index.d.ts +1 -0
- package/widgets/ui/instruction-info/instruction-info.component.d.ts +45 -0
- package/widgets/ui/instruction-info-form/index.d.ts +2 -0
- package/widgets/ui/instruction-info-form/instruction-info-form.component.d.ts +43 -0
- package/widgets/ui/instruction-info-form/instruction-info-form.options.d.ts +9 -0
- package/widgets/ui/instruction-readonly-info/index.d.ts +1 -0
- package/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.d.ts +26 -0
- package/widgets/ui/linear-loader/index.d.ts +1 -0
- package/widgets/ui/linear-loader/linear-loader.component.d.ts +5 -0
- package/widgets/ui/modal-criteria-tab/index.d.ts +1 -0
- package/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.d.ts +15 -0
- package/widgets/ui/modal-divided-section/index.d.ts +2 -0
- package/widgets/ui/modal-divided-section/modal-divided-section.component.d.ts +22 -0
- package/widgets/ui/modal-divided-section/modal-divided-section.interfaces.d.ts +6 -0
- package/widgets/ui/modal-header/index.d.ts +1 -0
- package/widgets/ui/modal-header/modal-header.component.d.ts +12 -0
- package/widgets/ui/modal-header-inserted-buttons/index.d.ts +1 -0
- package/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.d.ts +7 -0
- package/widgets/ui/modal-header-tabs/index.d.ts +1 -0
- package/widgets/ui/modal-header-tabs/modal-header-tabs.component.d.ts +8 -0
- package/widgets/ui/modal-info-tab/index.d.ts +2 -0
- package/widgets/ui/modal-info-tab/modal-info-tab.component.d.ts +8 -0
- package/widgets/ui/modal-info-tab/modal-info-tab.options.d.ts +4 -0
- package/widgets/ui/modal-instructions-tab/index.d.ts +1 -0
- package/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.d.ts +15 -0
- package/widgets/ui/modal-operation-part/index.d.ts +1 -0
- package/widgets/ui/modal-operation-part/modal-operation-part.component.d.ts +26 -0
- package/widgets/ui/modal-resources-tab/index.d.ts +1 -0
- package/widgets/ui/modal-resources-tab/modal-resources-tab.component.d.ts +14 -0
- package/widgets/ui/render-dynamic-modal/index.d.ts +2 -0
- package/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.d.ts +11 -0
- package/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.d.ts +5 -0
- package/widgets/ui/resources-block/components/index.d.ts +5 -0
- package/widgets/ui/resources-block/components/resources-block-consumables/index.d.ts +2 -0
- package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.d.ts +17 -0
- package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.d.ts +7 -0
- package/widgets/ui/resources-block/components/resources-block-content/index.d.ts +1 -0
- package/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.d.ts +19 -0
- package/widgets/ui/resources-block/components/resources-block-part/index.d.ts +1 -0
- package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.d.ts +19 -0
- package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.d.ts +5 -0
- package/widgets/ui/resources-block/components/resources-block-tabs/index.d.ts +1 -0
- package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.d.ts +28 -0
- package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.d.ts +13 -0
- package/widgets/ui/resources-block/components/resources-block-toolbox/index.d.ts +2 -0
- package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.d.ts +17 -0
- package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.d.ts +5 -0
- package/widgets/ui/resources-block/components/resources-options/index.d.ts +1 -0
- package/widgets/ui/resources-block/components/resources-options/resources-options.component.d.ts +20 -0
- package/widgets/ui/resources-block/index.d.ts +2 -0
- package/widgets/ui/resources-block/resources-block.component.d.ts +35 -0
- package/widgets/ui/resources-block-tabs/index.d.ts +1 -0
- package/widgets/ui/resources-block-tabs/resources-block-tabs.component.d.ts +28 -0
- package/widgets/ui/resources-block-tabs/resources-block-tabs.options.d.ts +14 -0
- package/widgets/ui/select-modal/components/index.d.ts +2 -0
- package/widgets/ui/select-modal/components/select-modal-folder/index.d.ts +1 -0
- package/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.d.ts +10 -0
- package/widgets/ui/select-modal/components/select-modal-search/index.d.ts +1 -0
- package/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.d.ts +12 -0
- package/widgets/ui/select-modal/index.d.ts +4 -0
- package/widgets/ui/select-modal/select-modal.component.d.ts +13 -0
- package/widgets/ui/select-modal/select-modal.interfaces.d.ts +15 -0
- package/widgets/ui/select-modal/select-modal.service.d.ts +13 -0
- package/widgets/ui/stated-loader/index.d.ts +1 -0
- package/widgets/ui/stated-loader/stated-loader.component.d.ts +20 -0
- package/widgets/ui/storage-list/components/index.d.ts +1 -0
- package/widgets/ui/storage-list/components/storage-list-item/index.d.ts +1 -0
- package/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.d.ts +24 -0
- package/widgets/ui/storage-list/index.d.ts +2 -0
- package/widgets/ui/storage-list/storage-list.component.d.ts +10 -0
- package/widgets/ui/storage-list/storage-list.options.d.ts +16 -0
- package/widgets/ui/toolbox-form/components/index.d.ts +1 -0
- package/widgets/ui/toolbox-form/components/tool-form-readonly/index.d.ts +1 -0
- package/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.d.ts +7 -0
- package/widgets/ui/toolbox-form/index.d.ts +2 -0
- package/widgets/ui/toolbox-form/tool-form.component.d.ts +34 -0
- package/widgets/ui/toolbox-form/tool-form.options.d.ts +5 -0
- package/widgets/ui/user-action-context-menu/activity-item/activity-item.component.d.ts +16 -0
- package/widgets/ui/user-action-context-menu/activity-item/index.d.ts +1 -0
- package/widgets/ui/user-action-context-menu/company-item/company-item.component.d.ts +20 -0
- package/widgets/ui/user-action-context-menu/company-item/index.d.ts +1 -0
- package/widgets/ui/user-action-context-menu/index.d.ts +3 -0
- package/widgets/ui/user-action-context-menu/services/activity-base.service.d.ts +14 -0
- package/widgets/ui/user-action-context-menu/services/activity.service.d.ts +14 -0
- package/widgets/ui/user-action-context-menu/services/index.d.ts +2 -0
- package/widgets/ui/user-action-context-menu/user-action-context-menu.component.d.ts +25 -0
- package/widgets/ui/user-action-context-menu/user-action-context.option.d.ts +15 -0
- package/widgets/ui/utility-info-readonly/index.d.ts +2 -0
- package/widgets/ui/utility-info-readonly/utility-info-readonly.component.d.ts +29 -0
- package/widgets/ui/utility-info-readonly/utility-info-readonly.options.d.ts +4 -0
- package/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.d.ts +18 -0
- package/widgets/ui/utility-modal/components/criterion-modal-create/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/index.d.ts +4 -0
- package/widgets/ui/utility-modal/components/instruction-modal-create/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.d.ts +18 -0
- package/widgets/ui/utility-modal/components/readonly-criterion-modal/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.d.ts +16 -0
- package/widgets/ui/utility-modal/components/readonly-instruction-modal/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.d.ts +16 -0
- package/widgets/ui/utility-modal/components/readonly-utility-modal/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.d.ts +18 -0
- package/widgets/ui/utility-modal/components/utility-modal-create/index.d.ts +1 -0
- package/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +25 -0
- package/widgets/ui/utility-modal/index.d.ts +3 -0
- package/widgets/ui/utility-modal/utility-modal.component.d.ts +10 -0
- package/widgets/ui/utility-modal/utility-modal.options.d.ts +12 -0
- package/widgets/ui/utility-readonly-thumbnail/index.d.ts +1 -0
- package/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.d.ts +8 -0
- package/widgets/ui/utility-thumbnail/index.d.ts +1 -0
- package/widgets/ui/utility-thumbnail/utility-thumbnail.component.d.ts +21 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { inject, Injectable, signal } from '@angular/core';
|
|
2
|
+
import { CUI_LOCAL_STORAGE } from '@cuby-ui/cdk';
|
|
3
|
+
import { IS_SIDEBAR_OPENED_STORAGE_KEY } from './sidebar.options';
|
|
4
|
+
import { CuiRenderDynamicComponentsService } from '../render-dynamic-components';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class CuiSidebarService extends CuiRenderDynamicComponentsService {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.localStorage = inject(CUI_LOCAL_STORAGE);
|
|
10
|
+
this.isOpenedSignal = signal(this.localStorage.getItem(IS_SIDEBAR_OPENED_STORAGE_KEY) === 'true');
|
|
11
|
+
this.isHiddenSignal = signal(false);
|
|
12
|
+
this.widthSignal = signal(0);
|
|
13
|
+
this.isOpened = this.isOpenedSignal.asReadonly();
|
|
14
|
+
this.isHidden = this.isHiddenSignal.asReadonly();
|
|
15
|
+
this.width = this.widthSignal.asReadonly();
|
|
16
|
+
}
|
|
17
|
+
hide() {
|
|
18
|
+
this.isHiddenSignal.set(true);
|
|
19
|
+
}
|
|
20
|
+
show() {
|
|
21
|
+
this.isHiddenSignal.set(false);
|
|
22
|
+
}
|
|
23
|
+
switch() {
|
|
24
|
+
this.isOpenedSignal.update((value) => !value);
|
|
25
|
+
this.localStorage.setItem(IS_SIDEBAR_OPENED_STORAGE_KEY, this.isOpenedSignal().toString());
|
|
26
|
+
}
|
|
27
|
+
setWidth(value) {
|
|
28
|
+
this.widthSignal.set(value);
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSidebarService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
31
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSidebarService, providedIn: 'root' }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSidebarService, decorators: [{
|
|
34
|
+
type: Injectable,
|
|
35
|
+
args: [{
|
|
36
|
+
providedIn: 'root'
|
|
37
|
+
}]
|
|
38
|
+
}] });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbn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wZW5lZFNpZ25hbCgpLnRvU3RyaW5nKCkpO1xuICAgIH1cblxuICAgIHB1YmxpYyBzZXRXaWR0aCh2YWx1ZTogbnVtYmVyKTogdm9pZCB7XG4gICAgICAgIHRoaXMud2lkdGhTaWduYWwuc2V0KHZhbHVlKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './svg.component';
|
|
2
|
+
export * from './svg.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvc3ZnL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3N2Zy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zdmcubW9kdWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, inject, Input } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import { CUI_ICONS, cuiIsIcon } from '@cuby-ui/icons';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CuiSvgComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.domSanitizer = inject(DomSanitizer);
|
|
8
|
+
}
|
|
9
|
+
set icon(icon) {
|
|
10
|
+
// TODO: В данном случае подключаются все иконки (вероятно, можно как-то оптимизировано их подключать)
|
|
11
|
+
this.safeSvgContent = this.domSanitizer.bypassSecurityTrustHtml(cuiIsIcon(icon) ? CUI_ICONS[icon] : icon);
|
|
12
|
+
}
|
|
13
|
+
get isWithStrokeWidth() {
|
|
14
|
+
return !!this.strokeWidth;
|
|
15
|
+
}
|
|
16
|
+
get isWithColor() {
|
|
17
|
+
return !!this.color;
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiSvgComponent, selector: "cui-svg[icon]", inputs: { width: "width", height: "height", strokeWidth: "strokeWidth", color: "color", icon: "icon" }, host: { properties: { "style.--stroke-width": "this.strokeWidth", "style.--color": "this.color", "class._with-stroke-width": "this.isWithStrokeWidth", "class._with-color": "this.isWithColor" } }, ngImport: i0, template: "<span\n [innerHTML]=\"safeSvgContent\"\n [style.width.px]=\"width\"\n [style.height.px]=\"height\"\n></span>\n", styles: [":host{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;line-height:0}:host ::ng-deep svg{width:100%;height:100%}:host._with-stroke-width ::ng-deep [stroke-width]{stroke-width:var(--stroke-width)}:host._with-color ::ng-deep [stroke]{stroke:var(--color)}:host._with-color ::ng-deep [fill]:not([fill=none]){fill:var(--color)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSvgComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'cui-svg[icon]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\n [innerHTML]=\"safeSvgContent\"\n [style.width.px]=\"width\"\n [style.height.px]=\"height\"\n></span>\n", styles: [":host{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;line-height:0}:host ::ng-deep svg{width:100%;height:100%}:host._with-stroke-width ::ng-deep [stroke-width]{stroke-width:var(--stroke-width)}:host._with-color ::ng-deep [stroke]{stroke:var(--color)}:host._with-color ::ng-deep [fill]:not([fill=none]){fill:var(--color)}\n"] }]
|
|
25
|
+
}], propDecorators: { width: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], height: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], strokeWidth: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}, {
|
|
32
|
+
type: HostBinding,
|
|
33
|
+
args: ['style.--stroke-width']
|
|
34
|
+
}], color: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}, {
|
|
37
|
+
type: HostBinding,
|
|
38
|
+
args: ['style.--color']
|
|
39
|
+
}], icon: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], isWithStrokeWidth: [{
|
|
42
|
+
type: HostBinding,
|
|
43
|
+
args: ['class._with-stroke-width']
|
|
44
|
+
}], isWithColor: [{
|
|
45
|
+
type: HostBinding,
|
|
46
|
+
args: ['class._with-color']
|
|
47
|
+
}] } });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ZnLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9zdmcvc3ZnLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9zdmcvc3ZnLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvRixPQUFPLEVBQUUsWUFBWSxFQUFZLE1BQU0sMkJBQTJCLENBQUM7QUFHbkUsT0FBTyxFQUFFLFNBQVMsRUFB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
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CuiSvgComponent } from './svg.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CuiSvgModule {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSvgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CuiSvgModule, declarations: [CuiSvgComponent], imports: [CommonModule], exports: [CuiSvgComponent] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSvgModule, imports: [CommonModule] }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSvgModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [CommonModule],
|
|
14
|
+
declarations: [CuiSvgComponent],
|
|
15
|
+
exports: [CuiSvgComponent]
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ZnLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9zdmcvc3ZnLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0saUJBQWlCLENBQUM7O0FBT2xELE1BQU0sT0FBTyxZQUFZOytHQUFaLFlBQVk7Z0hBQVosWUFBWSxpQkFITixlQUFlLGFBRHBCLFlBQVksYUFFWixlQUFlO2dIQUVoQixZQUFZLFlBSlgsWUFBWTs7NEZBSWIsWUFBWTtrQkFMeEIsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLFlBQVksRUFBRSxDQUFDLGVBQWUsQ0FBQztvQkFDL0IsT0FBTyxFQUFFLENBQUMsZUFBZSxDQUFDO2lCQUM3QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuXG5pbXBvcnQgeyBDdWlTdmdDb21wb25lbnQgfSBmcm9tICcuL3N2Zy5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxuICAgIGRlY2xhcmF0aW9uczogW0N1aVN2Z0NvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW0N1aVN2Z0NvbXBvbmVudF1cbn0pXG5leHBvcnQgY2xhc3MgQ3VpU3ZnTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { CuiTabDirective } from './tab.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFiL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aVRhYkRpcmVjdGl2ZSB9IGZyb20gJy4vdGFiLmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Directive, effect, inject, input, untracked } from '@angular/core';
|
|
2
|
+
import { CuiIdService } from '@cuby-ui/cdk';
|
|
3
|
+
import { CUI_TABS_SERVICE_TOKEN } from '../tabs/tabs.options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CuiTabDirective {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.tabsService = inject(CUI_TABS_SERVICE_TOKEN);
|
|
8
|
+
this.tabId = inject(CuiIdService).generate();
|
|
9
|
+
this.buttonSlot = input.required();
|
|
10
|
+
this.contentSlot = input.required();
|
|
11
|
+
this.data = input();
|
|
12
|
+
this.initTabEffect();
|
|
13
|
+
}
|
|
14
|
+
initTabEffect() {
|
|
15
|
+
effect((onCleanup) => {
|
|
16
|
+
this.addTab(this.buttonSlot(), this.contentSlot());
|
|
17
|
+
onCleanup(this.removeTab.bind(this));
|
|
18
|
+
}, { allowSignalWrites: true });
|
|
19
|
+
}
|
|
20
|
+
addTab(button, content) {
|
|
21
|
+
this.tabsService.addTab({ id: this.tabId, button, content, data: untracked(this.data) });
|
|
22
|
+
}
|
|
23
|
+
removeTab() {
|
|
24
|
+
this.tabsService.removeTab(this.tabId);
|
|
25
|
+
}
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTabDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.14", type: CuiTabDirective, isStandalone: true, selector: "cui-tab, [cuiTab]", inputs: { buttonSlot: { classPropertyName: "buttonSlot", publicName: "buttonSlot", isSignal: true, isRequired: true, transformFunction: null }, contentSlot: { classPropertyName: "contentSlot", publicName: "contentSlot", isSignal: true, isRequired: true, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTabDirective, decorators: [{
|
|
30
|
+
type: Directive,
|
|
31
|
+
args: [{
|
|
32
|
+
selector: 'cui-tab, [cuiTab]',
|
|
33
|
+
standalone: true
|
|
34
|
+
}]
|
|
35
|
+
}], ctorParameters: () => [] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy90YWIvdGFiLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM1RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRTVDLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDOztBQU05RCxNQUFNLE9BQU8sZUFBZTtJQVF4QjtRQVBpQixnQkFBVyxHQUFHLE1BQU0sQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDO1FBQzdDLFVBQUssR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLENBQUMsUUFBUSxFQUFFLENBQUM7UUFFekMsZUFBVSxHQUFHLEtBQUssQ0FBQyxRQUFRLEVBQXdCLENBQUM7UUFDcEQsZ0JBQVcsR0FBRyxLQU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RoaXMuYnV0dG9uU2xvdCgpLCB0aGlzLmNvbnRlbnRTbG90KCkpO1xuXG4gICAgICAgICAgICAgICAgb25DbGVhbnVwKHRoaXMucmVtb3ZlVGFiLmJpbmQodGhpcykpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHsgYWxsb3dTaWduYWxXcml0ZXM6IHRydWUgfVxuICAgICAgICApO1xuICAgIH1cblxuICAgIHByaXZhdGUgYWRkVGFiKGJ1dHRvbjogVGVtcGxhdGVSZWY8dW5rbm93bj4sIGNvbnRlbnQ6IFRlbXBsYXRlUmVmPHVua25vd24+KTogdm9pZCB7XG4gICAgICAgIHRoaXMudGFic1NlcnZpY2UuYWRkVGFiKHsgaWQ6IHRoaXMudGFiSWQsIGJ1dHRvbiwgY29udGVudCwgZGF0YTogdW50cmFja2VkKHRoaXMuZGF0YSkgfSk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSByZW1vdmVUYWIoKTogdm9pZCB7XG4gICAgICAgIHRoaXMudGFic1NlcnZpY2UucmVtb3ZlVGFiKHRoaXMudGFiSWQpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Component, ChangeDetectionStrategy, inject, input, effect } from '@angular/core';
|
|
2
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
3
|
+
import { CUI_TABS_SERVICE_TOKEN } from '../../tabs.options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CuiAbstractTabsComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.tabsService = inject(CUI_TABS_SERVICE_TOKEN);
|
|
8
|
+
this.tabs = this.tabsService.tabs;
|
|
9
|
+
this.activeTab = this.tabsService.activeTab;
|
|
10
|
+
this.headerSlot = input();
|
|
11
|
+
this.selectedIndex = input(0);
|
|
12
|
+
this.initSelectedTabEffect();
|
|
13
|
+
}
|
|
14
|
+
onSelectTab(event, tab) {
|
|
15
|
+
if (event.defaultPrevented) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
this.tabsService.set(tab);
|
|
19
|
+
}
|
|
20
|
+
initSelectedTabEffect() {
|
|
21
|
+
effect(() => {
|
|
22
|
+
const index = this.selectedIndex();
|
|
23
|
+
const length = this.tabs().length;
|
|
24
|
+
if (index === undefined || !length) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (index < 0 || index >= length) {
|
|
28
|
+
throw new Error('Invalid tab index');
|
|
29
|
+
}
|
|
30
|
+
this.tabsService.set(this.tabs()[index]);
|
|
31
|
+
}, { allowSignalWrites: true });
|
|
32
|
+
}
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAbstractTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiAbstractTabsComponent, isStandalone: true, selector: "cui-abstract-tabs", inputs: { headerSlot: { classPropertyName: "headerSlot", publicName: "headerSlot", isSignal: true, isRequired: false, transformFunction: null }, selectedIndex: { classPropertyName: "selectedIndex", publicName: "selectedIndex", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (headerSlot(); as header) {\n <ng-container\n [ngTemplateOutlet]=\"header\"\n [ngTemplateOutletContext]=\"{ $implicit: buttons }\"\n />\n} @else {\n <header class=\"header\">\n <ng-container [ngTemplateOutlet]=\"buttons\" />\n </header>\n}\n\n<ng-template #buttons>\n @for (tab of tabs(); track tab.id) {\n <button\n type=\"button\"\n class=\"button\"\n (click)=\"onSelectTab($event, tab)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"tab.button\"\n [ngTemplateOutletContext]=\"{ $implicit: tab.data, isActive: tab.id === activeTab()?.id }\"\n />\n </button>\n }\n</ng-template>\n\n@if (activeTab()?.content; as content) {\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: activeTab()?.data }\"\n />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:0}.header{display:flex;flex-direction:row;gap:0}.button{display:contents}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiAbstractTabsComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{ selector: 'cui-abstract-tabs', imports: [NgTemplateOutlet], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (headerSlot(); as header) {\n <ng-container\n [ngTemplateOutlet]=\"header\"\n [ngTemplateOutletContext]=\"{ $implicit: buttons }\"\n />\n} @else {\n <header class=\"header\">\n <ng-container [ngTemplateOutlet]=\"buttons\" />\n </header>\n}\n\n<ng-template #buttons>\n @for (tab of tabs(); track tab.id) {\n <button\n type=\"button\"\n class=\"button\"\n (click)=\"onSelectTab($event, tab)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"tab.button\"\n [ngTemplateOutletContext]=\"{ $implicit: tab.data, isActive: tab.id === activeTab()?.id }\"\n />\n </button>\n }\n</ng-template>\n\n@if (activeTab()?.content; as content) {\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: activeTab()?.data }\"\n />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:0}.header{display:flex;flex-direction:row;gap:0}.button{display:contents}\n"] }]
|
|
39
|
+
}], ctorParameters: () => [] });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtdGFicy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi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RhYkVmZmVjdCgpO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBvblNlbGVjdFRhYihldmVudDogRXZlbnQsIHRhYjogQ3VpVGFiT3B0aW9ucyk6IHZvaWQge1xuICAgICAgICBpZiAoZXZlbnQuZGVmYXVsdFByZXZlbnRlZCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy50YWJzU2VydmljZS5zZXQodGFiKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGluaXRTZWxlY3RlZFRhYkVmZmVjdCgpIHtcbiAgICAgICAgZWZmZWN0KFxuICAgICAgICAgICAgKCkgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnN0IGluZGV4ID0gdGhpcy5zZWxlY3RlZEluZGV4KCk7XG4gICAgICAgICAgICAgICAgY29uc3QgbGVuZ3RoID0gdGhpcy50YWJzKCkubGVuZ3RoO1xuXG4gICAgICAgICAgICAgICAgaWYgKGluZGV4ID09PSB1bmRlZmluZWQgfHwgIWxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGluZGV4IDwgMCB8fCBpbmRleCA+PSBsZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdJbnZhbGlkIHRhYiBpbmRleCcpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIHRoaXMudGFic1NlcnZpY2Uuc2V0KHRoaXMudGFicygpW2luZGV4XSk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgeyBhbGxvd1NpZ25hbFdyaXRlczogdHJ1ZSB9XG4gICAgICAgICk7XG4gICAgfVxufVxuIiwiQGlmIChoZWFkZXJTbG90KCk7IGFzIGhlYWRlcikge1xuICAgIDxuZy1jb250YWluZXJcbiAgICAgICAgW25nVGVtcGxhdGVPdXRsZXRdPVwiaGVhZGVyXCJcbiAg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-0,0 +1,2 @@
|
|
|
1
|
+
export { CuiAbstractTabsComponent } from './abstract-tabs.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFicy9jb21wb25lbnRzL2Fic3RyYWN0LXRhYnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlBYnN0cmFjdFRhYnNDb21wb25lbnQgfSBmcm9tICcuL2Fic3RyYWN0LXRhYnMuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { CuiAbstractTabsComponent } from './abstract-tabs';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFicy9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ3VpQWJzdHJhY3RUYWJzQ29tcG9uZW50IH0gZnJvbSAnLi9hYnN0cmFjdC10YWJzJztcbiJdfQ==
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { CuiTabsComponent } from './tabs.component';
|
|
2
|
+
export { CUI_TABS_SERVICE_TOKEN } from './tabs.options';
|
|
3
|
+
export { provideCuiTabs } from './tabs.provider';
|
|
4
|
+
export { CuiTabsServiceImpl } from './services';
|
|
5
|
+
export { CuiAbstractTabsComponent } from './components';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFicy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNwRCxPQUFPLEVBQWlDLHNCQUFzQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDdkYsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUNoRCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlUYWJzQ29tcG9uZW50IH0gZnJvbSAnLi90YWJzLmNvbXBvbmVudCc7XG5leHBvcnQgeyBDdWlUYWJPcHRpb25zLCBDdWlUYWJzU2VydmljZSwgQ1VJX1RBQlNfU0VSVklDRV9UT0tFTiB9IGZyb20gJy4vdGFicy5vcHRpb25zJztcbmV4cG9ydCB7IHByb3ZpZGVDdWlUYWJzIH0gZnJvbSAnLi90YWJzLnByb3ZpZGVyJztcbmV4cG9ydCB7IEN1aVRhYnNTZXJ2aWNlSW1wbCB9IGZyb20gJy4vc2VydmljZXMnO1xuZXhwb3J0IHsgQ3VpQWJzdHJhY3RUYWJzQ29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzJztcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { CuiTabsServiceImpl } from './tabs.service';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGFicy9zZXJ2aWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aVRhYnNTZXJ2aWNlSW1wbCB9IGZyb20gJy4vdGFicy5zZXJ2aWNlJztcbiJdfQ==
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { computed, Injectable, signal } from '@angular/core';
|
|
2
|
+
import { CuiAbstractTabsService } from '../tabs.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CuiTabsServiceImpl extends CuiAbstractTabsService {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments);
|
|
7
|
+
this.tabsSignal = signal([]);
|
|
8
|
+
this.activeTabSignal = computed(() => signal(this.tabsSignal()[0]));
|
|
9
|
+
this.tabs = this.tabsSignal.asReadonly();
|
|
10
|
+
this.activeTab = computed(() => this.activeTabSignal()());
|
|
11
|
+
}
|
|
12
|
+
set(tab) {
|
|
13
|
+
this.activeTabSignal().set(tab);
|
|
14
|
+
}
|
|
15
|
+
addTab(tab) {
|
|
16
|
+
this.tabsSignal.update((prev) => [...prev, tab]);
|
|
17
|
+
}
|
|
18
|
+
removeTab(tabId) {
|
|
19
|
+
this.tabsSignal.update((prev) => prev.filter((tab) => tab.id !== tabId));
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTabsServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
22
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTabsServiceImpl }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTabsServiceImpl, decorators: [{
|
|
25
|
+
type: Injectable
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3RhYnMvc2VydmljZXMvdGFicy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBa0IsTUFBTSxlQUFlLENBQUM7QUFHN0UsT0FBTyxFQUFFLHNCQUFzQixFQUFpQixNQUFNLGlCQUFpQixDQUFDOztBQUd4RSxNQUFNLE9BQU8sa0JBQW1CLFNBQVEsc0JBQXNCO0lBRDlEOztRQUVxQixlQUFVLEdBQUcsTUFBTSxDQUFrQixFQUFFLENBQUMsQ0FBQztRQUN6QyxvQkFBZSxHQUFHLFFBQVEsQ0FBNkMsR0FBRyxFQUFFLENBQ3pGLE1BQU0sQ0FBQyxJQUFJLENBQUMsVUFBVSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FDL0IsQ0FBQztRQUVjLFNBQUksR0FBRyxJQUFJLENBQUMsVUFBVSxDQUFDLFVBQVUsRUFBRSxDQUFDO1FBQ3BDLGNBQVMsR0FBRyxRQUFRLENBQUMsR0FBRyxFQUFFLENBQUMsSUFBSSxDQUFDLGVBQWUsRUFBRSxFQUFFLENBQUMsQ0FB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bmx5IHRhYnNTaWduYWwgPSBzaWduYWw8Q3VpVGFiT3B0aW9uc1tdPihbXSk7XG4gICAgcHJpdmF0ZSByZWFkb25seSBhY3RpdmVUYWJTaWduYWwgPSBjb21wdXRlZDxXcml0YWJsZVNpZ25hbDxDdWlOdWxsYWJsZTxDdWlUYWJPcHRpb25zPj4+KCgpID0+XG4gICAgICAgIHNpZ25hbCh0aGlzLnRhYnNTaWduYWwoKVswXSlcbiAgICApO1xuXG4gICAgcHVibGljIHJlYWRvbmx5IHRhYnMgPSB0aGlzLnRhYnNTaWduYWwuYXNSZWFkb25seSgpO1xuICAgIHB1YmxpYyByZWFkb25seSBhY3RpdmVUYWIgPSBjb21wdXRlZCgoKSA9PiB0aGlzLmFjdGl2ZVRhYlNpZ25hbCgpKCkpO1xuXG4gICAgcHVibGljIHNldCh0YWI6IEN1aVRhYk9wdGlvbnMpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5hY3RpdmVUYWJTaWduYWwoKS5zZXQodGFiKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgYWRkVGFiKHRhYjogQ3VpVGFiT3B0aW9ucyk6IHZvaWQge1xuICAgICAgICB0aGlzLnRhYnNTaWduYWwudXBkYXRlKChwcmV2KSA9PiBbLi4ucHJldiwgdGFiXSk7XG4gICAgfVxuXG4gICAgcHVibGljIHJlbW92ZVRhYih0YWJJZDogc3RyaW5nKTogdm9pZCB7XG4gICAgICAgIHRoaXMudGFic1NpZ25hbC51cGRhdGUoKHByZXYpID0+IHByZXYuZmlsdGVyKCh0YWIpID0+IHRhYi5pZCAhPT0gdGFiSWQpKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
+
import { CuiAbstractTabsComponent } from './components';
|
|
3
|
+
import { provideCuiTabs } from './tabs.provider';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CuiTabsComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.headerSlot = input();
|
|
8
|
+
this.selectedIndex = input(0);
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiTabsComponent, isStandalone: true, selector: "cui-tabs", inputs: { headerSlot: { classPropertyName: "headerSlot", publicName: "headerSlot", isSignal: true, isRequired: false, transformFunction: null }, selectedIndex: { classPropertyName: "selectedIndex", publicName: "selectedIndex", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideCuiTabs()], ngImport: i0, template: "<cui-abstract-tabs\n [headerSlot]=\"headerSlot()\"\n [selectedIndex]=\"selectedIndex()\"\n/>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "component", type: CuiAbstractTabsComponent, selector: "cui-abstract-tabs", inputs: ["headerSlot", "selectedIndex"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTabsComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ selector: 'cui-tabs', imports: [CuiAbstractTabsComponent], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, providers: [provideCuiTabs()], template: "<cui-abstract-tabs\n [headerSlot]=\"headerSlot()\"\n [selectedIndex]=\"selectedIndex()\"\n/>\n", styles: [":host{display:contents}\n"] }]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3J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YnMucHJvdmlkZXInO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ2N1aS10YWJzJyxcbiAgICBpbXBvcnRzOiBbQ3VpQWJzdHJhY3RUYWJzQ29tcG9uZW50XSxcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxuICAgIHRlbXBsYXRlVXJsOiAndGFicy5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmw6ICd0YWJzLmNvbXBvbmVudC5zY3NzJyxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgICBwcm92aWRlcnM6IFtwcm92aWRlQ3VpVGFicygpXVxufSlcbmV4cG9ydCBjbGFzcyBDdWlUYWJzQ29tcG9uZW50IHtcbiAgICBwdWJsaWMgcmVhZG9ubHkgaGVhZGVyU2xvdCA9IGlucHV0PFRlbXBsYXRlUmVmPHVua25vd24+PigpO1xuICAgIHB1YmxpYyByZWFkb25seSBzZWxlY3RlZEluZGV4ID0gaW5wdXQ8bnVtYmVyPigwKTtcbn1cbiIsIjxjdWktYWJzdHJhY3QtdGFic1xuICAgIFtoZWFkZXJTbG90XT1cImhlYWRlclNsb3QoKVwiXG4gICAgW3NlbGVjdGVkSW5kZXhdPVwic2VsZWN0ZWRJbmRleCgpXCJcbi8+XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const CUI_TABS_SERVICE_TOKEN = new InjectionToken('CUI_TABS_SERVICE');
|
|
3
|
+
export class CuiAbstractTabsService {
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3RhYnMvdGFicy5vcHRpb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xuICAgIHNldCh0YWI6IEN1aVRhYk9wdGlvbnMpOiB2b2lkO1xuICAgIGFkZFRhYih0YWI6IEN1aVRhYk9wdGlvbnMpOiB2b2lkO1xuICAgIHJlbW92ZVRhYih0YWJJZDogc3RyaW5nKTogdm9pZDtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBDdWlUYWJPcHRpb25zIHtcbiAgICByZWFkb25seSBpZDogc3RyaW5nO1xuICAgIHJlYWRvbmx5IGJ1dHRvbjogVGVtcGxhdGVSZWY8dW5rbm93bj47XG4gICAgcmVhZG9ubHkgY29udGVudDogVGVtcGxhdGVSZWY8dW5rbm93bj47XG4gICAgcmVhZG9ubHkgZGF0YT86IHVua25vd247XG59XG4iXX0=
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CuiTabsServiceImpl } from './services';
|
|
2
|
+
import { CUI_TABS_SERVICE_TOKEN } from './tabs.options';
|
|
3
|
+
export function provideCuiTabs(Implementation = CuiTabsServiceImpl) {
|
|
4
|
+
return {
|
|
5
|
+
provide: CUI_TABS_SERVICE_TOKEN,
|
|
6
|
+
useClass: Implementation
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy90YWJzL3RhYnMucHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQ2hELE9BQU8sRUFBRSxzQkFBc0IsRUFBMEIsTUFBTSxnQkFBZ0IsQ0FBQztBQUVoRixNQUFNLFVBQVUsY0FBYyxDQUFDLGlCQUErQyxrQkFBa0I7SUFDNUYsT0FBTztRQUNILE9BQU8sRUFBRSxzQkFBc0I7UUFDL0IsUUFBUSxFQUFFLGNBQWM7S0FDM0IsQ0FBQztBQUNOLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQcm92aWRlciwgVHlwZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ3VpVGFic1NlcnZpY2VJbXBsIH0gZnJvbSAnLi9zZXJ2aWNlcyc7XG5pbXBvcnQgeyBDVUlfVEFCU19TRVJWSUNFX1RPS0VOLCBDdWlBYnN0cmFjdFRhYnNTZXJ2aWNlIH0gZnJvbSAnLi90YWJzLm9wdGlvbnMnO1xuXG5leHBvcnQgZnVuY3Rpb24gcHJvdmlkZUN1aVRhYnMoSW1wbGVtZW50YXRpb246IFR5cGU8Q3VpQWJzdHJhY3RUYWJzU2VydmljZT4gPSBDdWlUYWJzU2VydmljZUltcGwpOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgcHJvdmlkZTogQ1VJX1RBQlNfU0VSVklDRV9UT0tFTixcbiAgICAgICAgdXNlQ2xhc3M6IEltcGxlbWVudGF0aW9uXG4gICAgfTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './textarea.component';
|
|
2
|
+
export * from './textarea.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdGV4dGFyZWEvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90ZXh0YXJlYS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi90ZXh0YXJlYS5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, inject, Input } from '@angular/core';
|
|
2
|
+
import { CuiAutoResizingDirective } from '@cuby-ui/cdk';
|
|
3
|
+
import { CUI_TEXT_FIELD_CONTROLLER, CUI_TEXT_FILED_CONTROLLER_PROVIDER } from '../../directives';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@cuby-ui/cdk";
|
|
6
|
+
export class CuiTextareaComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.cuiTextFieldController = inject(CUI_TEXT_FIELD_CONTROLLER);
|
|
9
|
+
this.rows = 4;
|
|
10
|
+
this.noBordersAndPaddings = false;
|
|
11
|
+
}
|
|
12
|
+
get isError() {
|
|
13
|
+
return this.cuiTextFieldController.isError;
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiTextareaComponent, selector: "textarea[cuiTextarea]", inputs: { rows: "rows", noBordersAndPaddings: "noBordersAndPaddings" }, host: { properties: { "rows": "this.rows", "class._no-borders-and-paddings": "this.noBordersAndPaddings", "class._with-error": "this.isError" } }, providers: [CUI_TEXT_FILED_CONTROLLER_PROVIDER], hostDirectives: [{ directive: i1.CuiAutoResizingDirective }], ngImport: i0, template: '', isInline: true, styles: [":host{padding:11px 13px 11px 0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;color:inherit;font:inherit;line-height:inherit;padding:11px 13px;font-weight:400;font-size:14px;line-height:20px;box-sizing:border-box;max-height:320px;width:100%;border:1px solid var(--cui-base-200);border-radius:8px;resize:none;background:none;color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus,:host:focus-visible{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host:disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host::placeholder{color:var(--cui-base-400)}:host._no-borders-and-paddings{border:none;border-radius:0;padding:0;box-shadow:none}:host._no-borders-and-paddings:disabled{background:none}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus{box-shadow:0 0 0 2px #d92d2040}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextareaComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'textarea[cuiTextarea]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CUI_TEXT_FILED_CONTROLLER_PROVIDER], hostDirectives: [CuiAutoResizingDirective], styles: [":host{padding:11px 13px 11px 0;outline:none;margin:0;border-width:0;appearance:none;caret-color:currentColor;color:inherit;font:inherit;line-height:inherit;padding:11px 13px;font-weight:400;font-size:14px;line-height:20px;box-sizing:border-box;max-height:320px;width:100%;border:1px solid var(--cui-base-200);border-radius:8px;resize:none;background:none;color:var(--cui-base-900);font-family:var(--cui-main-font)}:host:hover{border-color:var(--cui-base-300)}:host:focus,:host:focus-visible{box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}:host:disabled{cursor:not-allowed;opacity:.5;background:var(--cui-base-50);border-color:var(--cui-base-200)}:host::placeholder{color:var(--cui-base-400)}:host._no-borders-and-paddings{border:none;border-radius:0;padding:0;box-shadow:none}:host._no-borders-and-paddings:disabled{background:none}:host._with-error{border-color:var(--cui-danger)}:host._with-error:focus{box-shadow:0 0 0 2px #d92d2040}\n"] }]
|
|
21
|
+
}], propDecorators: { rows: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}, {
|
|
24
|
+
type: HostBinding,
|
|
25
|
+
args: ['rows']
|
|
26
|
+
}], noBordersAndPaddings: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}, {
|
|
29
|
+
type: HostBinding,
|
|
30
|
+
args: ['class._no-borders-and-paddings']
|
|
31
|
+
}], isError: [{
|
|
32
|
+
type: HostBinding,
|
|
33
|
+
args: ['class._with-error']
|
|
34
|
+
}] } });
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3RleHRhcmVhL3RleHRhcmVhLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9GLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUV4RCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsa0NBQWtDLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBVWpHLE1BQU0sT0FBTyxvQkFBb0I7SUFSakM7UUFTcUIsMkJBQXNCLEdBQUcsTUFBTSxDQUFDLHlCQUF5QixDQUFDLENBQUM7UUFJckUsU0FBSSxHQUFHLENBQUMsQ0FBQztRQUlULHlCQUFvQixHQUFHLEtBQUssQ0FBQztLQU12QztJQUpHLElBQ2MsT0FBTztRQUNqQixPQUFPLElBQUksQ0FBQyxzQkFBc0IsQ0FBQyxPQUFPLENBQUM7SUFDL0MsQ0FBQzsrR0FkUSxvQkFBb0I7bUdBQXBCLG9CQUFvQiwyUUFIbEIsQ0FBQyxrQ0FBa0MsQ0FBQyx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pemluZ0RpcmVjdGl2ZV1cbn0pXG5leHBvcnQgY2xhc3MgQ3VpVGV4dGFyZWFDb21wb25lbnQge1xuICAgIHByaXZhdGUgcmVhZG9ubHkgY3VpVGV4dEZpZWxkQ29udHJvbGxlciA9IGluamVjdChDVUlfVEVYVF9GSUVMRF9DT05UUk9MTEVSKTtcblxuICAgIEBJbnB1dCgpXG4gICAgQEhvc3RCaW5kaW5nKCdyb3dzJylcbiAgICBwdWJsaWMgcm93cyA9IDQ7XG5cbiAgICBASW5wdXQoKVxuICAgIEBIb3N0QmluZGluZygnY2xhc3MuX25vLWJvcmRlcnMtYW5kLXBhZGRpbmdzJylcbiAgICBwdWJsaWMgbm9Cb3JkZXJzQW5kUGFkZGluZ3MgPSBmYWxzZTtcblxuICAgIEBIb3N0QmluZGluZygnY2xhc3MuX3dpdGgtZXJyb3InKVxuICAgIHByb3RlY3RlZCBnZXQgaXNFcnJvcigpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuY3VpVGV4dEZpZWxkQ29udHJvbGxlci5pc0Vycm9yO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiTextareaComponent } from './textarea.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CuiTextareaModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CuiTextareaModule, declarations: [CuiTextareaComponent], exports: [CuiTextareaComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextareaModule }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextareaModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [CuiTextareaComponent],
|
|
13
|
+
exports: [CuiTextareaComponent]
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3RleHRhcmVhL3RleHRhcmVhLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDOztBQU01RCxNQUFNLE9BQU8saUJBQWlCOytHQUFqQixpQkFBaUI7Z0hBQWpCLGlCQUFpQixpQkFIWCxvQkFBb0IsYUFDekIsb0JBQW9CO2dIQUVyQixpQkFBaUI7OzRGQUFqQixpQkFBaUI7a0JBSjdCLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsb0JBQW9CLENBQUM7b0JBQ3BDLE9BQU8sRUFBRSxDQUFDLG9CQUFvQixDQUFDO2lCQUNsQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IEN1aVRleHRhcmVhQ29tcG9uZW50IH0gZnJvbSAnLi90ZXh0YXJlYS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW0N1aVRleHRhcmVhQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbQ3VpVGV4dGFyZWFDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIEN1aVRleHRhcmVhTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './toggle.component';
|
|
2
|
+
export * from './toggle.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdG9nZ2xlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdG9nZ2xlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3RvZ2dsZS5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CuiToggleComponent {
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiToggleComponent, selector: "input[type=\"checkbox\"][cuiToggle]", ngImport: i0, template: '', isInline: true, styles: [":host{position:relative;width:30px;height:18px;border-radius:9px;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-300);transition:background .5s ease}:host:before{content:\"\";position:absolute;top:50%;left:2px;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:var(--cui-gray-0);transition:left .5s ease}:host:checked{background:var(--cui-info);transition:background .5s ease}:host:checked:before{left:14px;transition:left .5s ease}:host:disabled{cursor:not-allowed;background:var(--cui-base-300)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiToggleComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ selector: 'input[type="checkbox"][cuiToggle]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;width:30px;height:18px;border-radius:9px;margin:0;appearance:none;cursor:pointer;background:var(--cui-base-300);transition:background .5s ease}:host:before{content:\"\";position:absolute;top:50%;left:2px;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:var(--cui-gray-0);transition:left .5s ease}:host:checked{background:var(--cui-info);transition:background .5s ease}:host:checked:before{left:14px;transition:left .5s ease}:host:disabled{cursor:not-allowed;background:var(--cui-base-300)}\n"] }]
|
|
10
|
+
}] });
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy90b2dnbGUvdG9nZ2xlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFuRSxNQUFNLE9BQU8sa0JBQWtCOytHQUFsQixrQkFBa0I7bUdBQWxCLGtCQUFrQiwyRUFKakIsRUFBRTs7NEZBSUgsa0JBQWtCO2tCQU45QixTQUFTOytCQUNJLG1DQUFtQyxZQUNuQyxFQUFFLG1CQUVLLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnaW5wdXRbdHlwZT1cImNoZWNrYm94XCJdW2N1aVRvZ2dsZV0nLFxuICAgIHRlbXBsYXRlOiAnJyxcbiAgICBzdHlsZVVybHM6IFsnLi90b2dnbGUuc3R5bGUuc2NzcyddLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEN1aVRvZ2dsZUNvbXBvbmVudCB7fVxuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiToggleComponent } from './toggle.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class CuiToggleModule {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CuiToggleModule, declarations: [CuiToggleComponent], exports: [CuiToggleComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiToggleModule }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiToggleModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [CuiToggleComponent],
|
|
13
|
+
exports: [CuiToggleComponent]
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy90b2dnbGUvdG9nZ2xlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDOztBQU14RCxNQUFNLE9BQU8sZUFBZTsrR0FBZixlQUFlO2dIQUFmLGVBQWUsaUJBSFQsa0JBQWtCLGFBQ3ZCLGtCQUFrQjtnSEFFbkIsZUFBZTs7NEZBQWYsZUFBZTtrQkFKM0IsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztvQkFDbEMsT0FBTyxFQUFFLENBQUMsa0JBQWtCLENBQUM7aUJBQ2hDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgQ3VpVG9nZ2xlQ29tcG9uZW50IH0gZnJvbSAnLi90b2dnbGUuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtDdWlUb2dnbGVDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtDdWlUb2dnbGVDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIEN1aVRvZ2dsZU1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VieS11aS1jb3JlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jdWJ5LXVpLWNvcmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './text-field-controller';
|
|
2
|
+
export * from './tooltip';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2RpcmVjdGl2ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLFdBQVcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC1jb250cm9sbGVyJztcbmV4cG9ydCAqIGZyb20gJy4vdG9vbHRpcCc7XG4iXX0=
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './text-field.controller';
|
|
2
|
+
export * from './text-field-controller.module';
|
|
3
|
+
export * from './text-field-controller.provider';
|
|
4
|
+
export * from './text-field-icon-left.directive';
|
|
5
|
+
export * from './text-field-id.directive';
|
|
6
|
+
export * from './text-field-is-error.directive';
|
|
7
|
+
export * from './text-field-placeholder.directive';
|
|
8
|
+
export * from './text-field-size.directive';
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2RpcmVjdGl2ZXMvdGV4dC1maWVsZC1jb250cm9sbGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC5jb250cm9sbGVyJztcbmV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC1jb250cm9sbGVyLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3RleHQtZmllbGQtY29udHJvbGxlci5wcm92aWRlcic7XG5leHBvcnQgKiBmcm9tICcuL3RleHQtZmllbGQtaWNvbi1sZWZ0LmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3RleHQtZmllbGQtaWQuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vdGV4dC1maWVsZC1pcy1lcnJvci5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi90ZXh0LWZpZWxkLXBsYWNlaG9sZGVyLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3RleHQtZmllbGQtc2l6ZS5kaXJlY3RpdmUnO1xuIl19
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CuiTextFieldIconLeftDirective } from './text-field-icon-left.directive';
|
|
3
|
+
import { CuiTextFieldIdDirective } from './text-field-id.directive';
|
|
4
|
+
import { CuiTextFieldIsErrorDirective } from './text-field-is-error.directive';
|
|
5
|
+
import { CuiTextFieldPlaceholderDirective } from './text-field-placeholder.directive';
|
|
6
|
+
import { CuiTextFieldSizeDirective } from './text-field-size.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CuiTextFieldControllerModule {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextFieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: CuiTextFieldControllerModule, declarations: [CuiTextFieldIconLeftDirective,
|
|
11
|
+
CuiTextFieldIdDirective,
|
|
12
|
+
CuiTextFieldPlaceholderDirective,
|
|
13
|
+
CuiTextFieldIsErrorDirective,
|
|
14
|
+
CuiTextFieldSizeDirective], exports: [CuiTextFieldIconLeftDirective,
|
|
15
|
+
CuiTextFieldIdDirective,
|
|
16
|
+
CuiTextFieldPlaceholderDirective,
|
|
17
|
+
CuiTextFieldIsErrorDirective,
|
|
18
|
+
CuiTextFieldSizeDirective] }); }
|
|
19
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextFieldControllerModule }); }
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextFieldControllerModule, decorators: [{
|
|
22
|
+
type: NgModule,
|
|
23
|
+
args: [{
|
|
24
|
+
declarations: [
|
|
25
|
+
CuiTextFieldIconLeftDirective,
|
|
26
|
+
CuiTextFieldIdDirective,
|
|
27
|
+
CuiTextFieldPlaceholderDirective,
|
|
28
|
+
CuiTextFieldIsErrorDirective,
|
|
29
|
+
CuiTextFieldSizeDirective
|
|
30
|
+
],
|
|
31
|
+
exports: [
|
|
32
|
+
CuiTextFieldIconLeftDirective,
|
|
33
|
+
CuiTextFieldIdDirective,
|
|
34
|
+
CuiTextFieldPlaceholderDirective,
|
|
35
|
+
CuiTextFieldIsErrorDirective,
|
|
36
|
+
CuiTextFieldSizeDirective
|
|
37
|
+
]
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1maWVsZC1jb250cm9sbGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvZGlyZWN0aXZlcy90ZXh0LWZpZWxkLWNvbnRyb2xsZXIvdGV4dC1maWVsZC1jb250cm9sbGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ2pGLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3BFLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQy9FLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ3RGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDOztBQWtCeEUsTUFBTSxPQUFPLDRCQUE0QjsrR0FBNUIsNEJBQTRCO2dIQUE1Qiw0QkFBNEIsaUJBZGpDLDZCQUE2QjtZQUM3Qix1QkFBdUI7WUFDdkIsZ0NBQW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plLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbXG4gICAgICAgIEN1aVRleHRGaWVsZEljb25MZWZ0RGlyZWN0aXZlLFxuICAgICAgICBDdWlUZXh0RmllbGRJZERpcmVjdGl2ZSxcbiAgICAgICAgQ3VpVGV4dEZpZWxkUGxhY2Vob2xkZXJEaXJlY3RpdmUsXG4gICAgICAgIEN1aVRleHRGaWVsZElzRXJyb3JEaXJlY3RpdmUsXG4gICAgICAgIEN1aVRleHRGaWVsZFNpemVEaXJlY3RpdmVcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgQ3VpVGV4dEZpZWxkSWNvbkxlZnREaXJlY3RpdmUsXG4gICAgICAgIEN1aVRleHRGaWVsZElkRGlyZWN0aXZlLFxuICAgICAgICBDdWlUZXh0RmllbGRQbGFjZWhvbGRlckRpcmVjdGl2ZSxcbiAgICAgICAgQ3VpVGV4dEZpZWxkSXNFcnJvckRpcmVjdGl2ZSxcbiAgICAgICAgQ3VpVGV4dEZpZWxkU2l6ZURpcmVjdGl2ZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgQ3VpVGV4dEZpZWxkQ29udHJvbGxlck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { CuiTextFieldController } from './text-field.controller';
|
|
3
|
+
import { CUI_TEXT_FIELD_SIZE } from './text-field-size.directive';
|
|
4
|
+
import { CUI_TEXT_FIELD_ID } from './text-field-id.directive';
|
|
5
|
+
import { CUI_TEXT_FIELD_IS_ERROR } from './text-field-is-error.directive';
|
|
6
|
+
import { CUI_TEXT_FIELD_PLACEHOLDER } from './text-field-placeholder.directive';
|
|
7
|
+
import { CUI_TEXT_FIELD_ICON_LEFT } from './text-field-icon-left.directive';
|
|
8
|
+
export const CUI_TEXT_FIELD_CONTROLLER = new InjectionToken('');
|
|
9
|
+
export const CUI_TEXT_FILED_CONTROLLER_PROVIDER = [
|
|
10
|
+
{
|
|
11
|
+
provide: CUI_TEXT_FIELD_CONTROLLER,
|
|
12
|
+
useFactory: (...controllers) => {
|
|
13
|
+
return new CuiTextFieldController(...controllers);
|
|
14
|
+
},
|
|
15
|
+
deps: [
|
|
16
|
+
CUI_TEXT_FIELD_ICON_LEFT,
|
|
17
|
+
CUI_TEXT_FIELD_ID,
|
|
18
|
+
CUI_TEXT_FIELD_IS_ERROR,
|
|
19
|
+
CUI_TEXT_FIELD_PLACEHOLDER,
|
|
20
|
+
CUI_TEXT_FIELD_SIZE
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
];
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1maWVsZC1jb250cm9sbGVyLnByb3ZpZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9kaXJlY3RpdmVzL3RleHQtZmllbGQtY29udHJvbGxlci90ZXh0LWZpZWxkLWNvbnRyb2xsZXIucHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBWSxNQUFNLGVBQWUsQ0FBQztBQUV6RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUVqRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUVsRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUU5RCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUUxRSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUVoRixPQUFPLEVBQUUsd0JBQXdCL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ICAgICAgICBDdWlUZXh0RmllbGRJZERpcmVjdGl2ZSxcbiAgICAgICAgICAgICAgICBDdWlUZXh0RmllbGRJc0Vycm9yRGlyZWN0aXZlLFxuICAgICAgICAgICAgICAgIEN1aVRleHRGaWVsZFBsYWNlaG9sZGVyRGlyZWN0aXZlLFxuICAgICAgICAgICAgICAgIEN1aVRleHRGaWVsZFNpemVEaXJlY3RpdmVcbiAgICAgICAgICAgIF1cbiAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gbmV3IEN1aVRleHRGaWVsZENvbnRyb2xsZXIoLi4uY29udHJvbGxlcnMpO1xuICAgICAgICB9LFxuICAgICAgICBkZXBzOiBbXG4gICAgICAgICAgICBDVUlfVEVYVF9GSUVMRF9JQ09OX0xFRlQsXG4gICAgICAgICAgICBDVUlfVEVYVF9GSUVMRF9JRCxcbiAgICAgICAgICAgIENVSV9URVhUX0ZJRUxEX0lTX0VSUk9SLFxuICAgICAgICAgICAgQ1VJX1RFWFRfRklFTERfUExBQ0VIT0xERVIsXG4gICAgICAgICAgICBDVUlfVEVYVF9GSUVMRF9TSVpFXG4gICAgICAgIF1cbiAgICB9XG5dO1xuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Directive, InjectionToken, Input } from '@angular/core';
|
|
2
|
+
import { cuiProvide } from '@cuby-ui/cdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export const CUI_TEXT_FIELD_ICON_LEFT = new InjectionToken('', {
|
|
5
|
+
factory: () => new CuiTextFieldIconLeftDirective()
|
|
6
|
+
});
|
|
7
|
+
export class CuiTextFieldIconLeftDirective {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextFieldIconLeftDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: CuiTextFieldIconLeftDirective, selector: "[cuiTextFieldIconLeft]", inputs: { iconLeft: ["cuiTextFieldIconLeft", "iconLeft"] }, providers: [cuiProvide(CUI_TEXT_FIELD_ICON_LEFT, CuiTextFieldIconLeftDirective)], ngImport: i0 }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiTextFieldIconLeftDirective, decorators: [{
|
|
12
|
+
type: Directive,
|
|
13
|
+
args: [{
|
|
14
|
+
selector: '[cuiTextFieldIconLeft]',
|
|
15
|
+
providers: [cuiProvide(CUI_TEXT_FIELD_ICON_LEFT, CuiTextFieldIconLeftDirective)]
|
|
16
|
+
}]
|
|
17
|
+
}], propDecorators: { iconLeft: [{
|
|
18
|
+
type: Input,
|
|
19
|
+
args: ['cuiTextFieldIconLeft']
|
|
20
|
+
}] } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1maWVsZC1pY29uLWxlZnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9kaXJlY3RpdmVzL3RleHQtZmllbGQtY29udHJvbGxlci90ZXh0LWZpZWxkLWljb24tbGVmdC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxjQUFjLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7O0FBRzFDLE1BQU0sQ0FBQyxNQUFNLHdCQUF3QixHQUFHLElBQUksY0FBYyxDQUFnQyxFQUFFLEVBQUU7SUFDMUYsT0FBTyxFQUFFLEdBQUcsRUFBRSxDQUFDLElBQUksNkJBQTZCLEVBQUU7Q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