@cuby-ui/core 0.0.320 → 0.0.322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/components/button/button.component.d.ts +2 -2
- package/components/notification/notification.component.d.ts +2 -2
- package/components/sidebar/sidebar-header/sidebar-header.component.d.ts +1 -1
- package/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.d.ts +1 -1
- package/directives/tooltip/tooltip.component.d.ts +1 -1
- package/esm2022/animations/animations.mjs +1 -1
- package/esm2022/classes/accessors.mjs +1 -1
- package/esm2022/classes/driver.mjs +1 -1
- package/esm2022/classes/index.mjs +1 -1
- package/esm2022/classes/vehicle.mjs +1 -1
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +3 -3
- package/esm2022/components/accordion/accordion-item/accordion-item.options.mjs +1 -1
- package/esm2022/components/accordion/accordion.component.mjs +3 -3
- package/esm2022/components/accordion/accordion.directive.mjs +1 -1
- package/esm2022/components/accordion/accordion.module.mjs +1 -1
- package/esm2022/components/accordion/index.mjs +1 -1
- package/esm2022/components/alert/alert.component.mjs +3 -3
- package/esm2022/components/alert/alert.interfaces.mjs +1 -1
- package/esm2022/components/alert/alert.module.mjs +1 -1
- package/esm2022/components/alert/alert.service.mjs +1 -1
- package/esm2022/components/alert/alert.tokens.mjs +1 -1
- package/esm2022/components/alert/alert.types.mjs +1 -1
- package/esm2022/components/alert/alerts.component.mjs +3 -3
- package/esm2022/components/alert/index.mjs +1 -1
- package/esm2022/components/badge/badge.component.mjs +3 -3
- package/esm2022/components/badge/badge.module.mjs +1 -1
- package/esm2022/components/badge/badge.options.mjs +1 -1
- package/esm2022/components/badge/index.mjs +1 -1
- package/esm2022/components/banner/banner.component.mjs +3 -3
- package/esm2022/components/banner/banner.module.mjs +1 -1
- package/esm2022/components/banner/banner.options.mjs +1 -1
- package/esm2022/components/banner/index.mjs +1 -1
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +1 -1
- package/esm2022/components/breadcrumbs/index.mjs +1 -1
- package/esm2022/components/button/button.component.mjs +3 -3
- package/esm2022/components/button/button.module.mjs +1 -1
- package/esm2022/components/button/button.options.mjs +1 -1
- package/esm2022/components/button/index.mjs +1 -1
- package/esm2022/components/button-group/button-group.component.mjs +3 -3
- package/esm2022/components/button-group/button-group.module.mjs +1 -1
- package/esm2022/components/button-group/index.mjs +1 -1
- package/esm2022/components/card-wrapper/card-wrapper.component.mjs +3 -3
- package/esm2022/components/card-wrapper/index.mjs +1 -1
- package/esm2022/components/checkbox/checkbox.component.mjs +1 -1
- package/esm2022/components/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/components/checkbox/index.mjs +1 -1
- package/esm2022/components/content-wrapper/content-wrapper.component.mjs +3 -3
- package/esm2022/components/content-wrapper/index.mjs +1 -1
- package/esm2022/components/context-menu/context-menu.component.mjs +3 -3
- package/esm2022/components/context-menu/context-menu.module.mjs +1 -1
- package/esm2022/components/context-menu/index.mjs +1 -1
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +3 -3
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +3 -3
- package/esm2022/components/dialog/dialog.component.mjs +3 -3
- package/esm2022/components/dialog/dialog.interfaces.mjs +1 -1
- package/esm2022/components/dialog/dialog.module.mjs +1 -1
- package/esm2022/components/dialog/dialog.service.mjs +1 -1
- package/esm2022/components/dialog/dialog.tokens.mjs +1 -1
- package/esm2022/components/dialog/dialogs.component.mjs +3 -3
- package/esm2022/components/dialog/index.mjs +1 -1
- package/esm2022/components/dropdown/dropdown.interfaces.mjs +1 -1
- package/esm2022/components/dropdown/index.mjs +1 -1
- package/esm2022/components/empty-state/empty-state.component.mjs +3 -3
- package/esm2022/components/empty-state/index.mjs +1 -1
- package/esm2022/components/form-field/form-field.component.mjs +3 -3
- package/esm2022/components/form-field/form-field.module.mjs +1 -1
- package/esm2022/components/form-field/index.mjs +1 -1
- package/esm2022/components/ghost-input/ghost-input.component.mjs +1 -1
- package/esm2022/components/ghost-input/index.mjs +1 -1
- package/esm2022/components/hint/hint.component.mjs +3 -3
- package/esm2022/components/hint/hint.module.mjs +1 -1
- package/esm2022/components/hint/index.mjs +1 -1
- package/esm2022/components/icon-button/icon-button.component.mjs +3 -3
- package/esm2022/components/icon-button/icon-button.module.mjs +1 -1
- package/esm2022/components/icon-button/index.mjs +1 -1
- package/esm2022/components/index.mjs +1 -1
- package/esm2022/components/input-number/index.mjs +1 -1
- package/esm2022/components/input-number/input-number.component.mjs +3 -3
- package/esm2022/components/input-number/input-number.module.mjs +1 -1
- package/esm2022/components/input-password/index.mjs +1 -1
- package/esm2022/components/input-password/input-password.component.mjs +3 -3
- package/esm2022/components/input-password/input-password.module.mjs +1 -1
- package/esm2022/components/input-text/index.mjs +1 -1
- package/esm2022/components/input-text/input-text.component.mjs +3 -3
- package/esm2022/components/input-text/input-text.module.mjs +1 -1
- package/esm2022/components/input-time/index.mjs +1 -1
- package/esm2022/components/input-time/input-time.component.mjs +3 -3
- package/esm2022/components/input-time/input-time.module.mjs +1 -1
- package/esm2022/components/input-time/input-time.options.mjs +1 -1
- package/esm2022/components/label/index.mjs +1 -1
- package/esm2022/components/label/label.component.mjs +3 -3
- package/esm2022/components/label/label.module.mjs +1 -1
- package/esm2022/components/layout/index.mjs +1 -1
- package/esm2022/components/layout/layout.component.mjs +3 -3
- package/esm2022/components/letter-box/index.mjs +1 -1
- package/esm2022/components/letter-box/letter-box.component.mjs +3 -3
- package/esm2022/components/letter-box/letter-box.interfaces.mjs +1 -1
- package/esm2022/components/notification/index.mjs +1 -1
- package/esm2022/components/notification/notification.component.mjs +3 -3
- package/esm2022/components/notification/notification.module.mjs +1 -1
- package/esm2022/components/notification/notification.options.mjs +1 -1
- package/esm2022/components/radio/index.mjs +1 -1
- package/esm2022/components/radio/radio.component.mjs +1 -1
- package/esm2022/components/radio/radio.module.mjs +1 -1
- package/esm2022/components/render-dynamic-components/index.mjs +1 -1
- package/esm2022/components/render-dynamic-components/render-dynamic-components.component.mjs +3 -3
- package/esm2022/components/render-dynamic-components/render-dynamic-components.options.mjs +1 -1
- package/esm2022/components/render-dynamic-components/render-dynamic-components.service.mjs +1 -1
- package/esm2022/components/root/index.mjs +1 -1
- package/esm2022/components/root/root.component.mjs +3 -3
- package/esm2022/components/root/root.module.mjs +1 -1
- package/esm2022/components/select/index.mjs +1 -1
- package/esm2022/components/select/select.component.mjs +3 -3
- package/esm2022/components/select/select.module.mjs +1 -1
- package/esm2022/components/sidebar/index.mjs +1 -1
- package/esm2022/components/sidebar/sidebar-container/index.mjs +1 -1
- package/esm2022/components/sidebar/sidebar-container/sidebar-container.component.mjs +3 -3
- package/esm2022/components/sidebar/sidebar-header/index.mjs +1 -1
- package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
- package/esm2022/components/sidebar/sidebar-navigation/index.mjs +1 -1
- package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +3 -3
- package/esm2022/components/sidebar/sidebar-navigation-container/index.mjs +1 -1
- package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +3 -3
- package/esm2022/components/sidebar/sidebar-navigation-item/index.mjs +1 -1
- package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +3 -3
- package/esm2022/components/sidebar/sidebar.options.mjs +1 -1
- package/esm2022/components/sidebar/sidebar.service.mjs +1 -1
- package/esm2022/components/svg/index.mjs +1 -1
- package/esm2022/components/svg/svg.component.mjs +3 -3
- package/esm2022/components/svg/svg.module.mjs +1 -1
- package/esm2022/components/tabs/index.mjs +1 -1
- package/esm2022/components/tabs/tab/tab.component.mjs +3 -3
- package/esm2022/components/tabs/tabs.component.mjs +3 -3
- package/esm2022/components/tabs/tabs.module.mjs +1 -1
- package/esm2022/components/textarea/index.mjs +1 -1
- package/esm2022/components/textarea/textarea.component.mjs +1 -1
- package/esm2022/components/textarea/textarea.module.mjs +1 -1
- package/esm2022/components/toggle/index.mjs +1 -1
- package/esm2022/components/toggle/toggle.component.mjs +1 -1
- package/esm2022/components/toggle/toggle.module.mjs +1 -1
- package/esm2022/directives/index.mjs +1 -1
- package/esm2022/directives/text-field-controller/index.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +1 -1
- package/esm2022/directives/tooltip/index.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip.component.mjs +13 -13
- package/esm2022/directives/tooltip/tooltip.directive.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip.providers.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip.service.mjs +1 -1
- package/esm2022/directives/tooltip/tooltips.component.mjs +3 -3
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.component.mjs +3 -3
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +1 -1
- package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +3 -3
- package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +3 -3
- package/esm2022/editor/components/marker-select/marker-select.component.mjs +3 -3
- package/esm2022/editor/config/custom-elements.mjs +1 -1
- package/esm2022/editor/editor.component.mjs +3 -3
- package/esm2022/editor/interfaces/angular-element.mjs +1 -1
- package/esm2022/editor/interfaces/custom-element.mjs +1 -1
- package/esm2022/editor/tools/combined-text-block.tool.mjs +1 -1
- package/esm2022/editor/tools/role-marker.tool.mjs +3 -3
- package/esm2022/editor/tools/tool-marker.tool.mjs +1 -1
- package/esm2022/editor/utils/copy-text-to-clipboard.mjs +1 -1
- package/esm2022/editor/utils/url.validator.mjs +1 -1
- package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +3 -3
- package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +3 -3
- package/esm2022/editor/widgets/editor-modal/index.mjs +1 -1
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +1 -1
- package/esm2022/editor/widgets/index.mjs +1 -1
- package/esm2022/index.mjs +1 -1
- package/esm2022/interceptors/auth.interceptor.mjs +1 -1
- package/esm2022/interceptors/error-handler.interceptor.mjs +1 -1
- package/esm2022/interceptors/x-ndjson.interceptor.mjs +1 -1
- package/esm2022/interfaces/context-menu-item.mjs +1 -1
- package/esm2022/interfaces/image.mjs +2 -0
- package/esm2022/interfaces/index.mjs +2 -1
- package/esm2022/interfaces/option.mjs +1 -1
- package/esm2022/providers/auth.options.mjs +1 -1
- package/esm2022/providers/auth.provider.mjs +1 -1
- package/esm2022/providers/index.mjs +1 -1
- package/esm2022/services/auth.service.mjs +1 -1
- package/esm2022/services/browser-auth.service.mjs +1 -1
- package/esm2022/services/index.mjs +1 -1
- package/esm2022/services/loader.options.mjs +1 -1
- package/esm2022/services/mobile-auth.service.mjs +1 -1
- package/esm2022/services/position.service.mjs +1 -1
- package/esm2022/services/theme.options.mjs +1 -1
- package/esm2022/services/theme.service.mjs +1 -1
- package/esm2022/services/token.options.mjs +1 -1
- package/esm2022/services/token.service.mjs +1 -1
- package/esm2022/services/visual-viewport.service.mjs +1 -1
- package/esm2022/tokens/animations-speed.mjs +1 -1
- package/esm2022/tokens/index.mjs +1 -1
- package/esm2022/tokens/reduced-motion.mjs +1 -1
- package/esm2022/tokens/viewport.mjs +1 -1
- package/esm2022/types/appearance.mjs +1 -1
- package/esm2022/types/hint-type.mjs +1 -1
- package/esm2022/types/index.mjs +1 -1
- package/esm2022/types/point.mjs +1 -1
- package/esm2022/types/portal-item.mjs +1 -1
- package/esm2022/types/position.mjs +1 -1
- package/esm2022/types/resizing.mjs +1 -1
- package/esm2022/types/shape.mjs +1 -1
- package/esm2022/types/size.mjs +1 -1
- package/esm2022/types/status.mjs +1 -1
- package/esm2022/utils/default-validators/create-default-validators.mjs +1 -1
- package/esm2022/utils/default-validators/create-default-validators.options.mjs +1 -1
- package/esm2022/utils/default-validators/extra-spaces.options.mjs +1 -1
- package/esm2022/utils/default-validators/extra-spaces.validators.mjs +1 -1
- package/esm2022/utils/default-validators/index.mjs +1 -1
- package/esm2022/utils/format/index.mjs +1 -1
- package/esm2022/utils/format/remove-spaces.mjs +1 -1
- package/esm2022/utils/format/replace.mjs +1 -1
- package/esm2022/utils/index.mjs +1 -1
- package/esm2022/utils/miscellaneous/index.mjs +1 -1
- package/esm2022/utils/miscellaneous/is-obscured.mjs +1 -1
- package/esm2022/utils/miscellaneous/override-options.mjs +1 -1
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +1 -1
- package/esm2022/widgets/categories/components/categories-list/categories-list.component.mjs +3 -3
- package/esm2022/widgets/categories/components/category-form/category-form.component.mjs +3 -3
- package/esm2022/widgets/categories/components/category-item/category-item.component.mjs +3 -3
- package/esm2022/widgets/categories/components/create-category-item/create-category-item.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/checklist-block.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/checklist-block.options.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list/checklist-block-list.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/components/checklist-block-list/index.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-card/index.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/index.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/index.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/index.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.mjs +3 -3
- package/esm2022/widgets/checklist-block/components/index.mjs +1 -1
- package/esm2022/widgets/checklist-block/index.mjs +1 -1
- package/esm2022/widgets/checklist-block/services/checklist-block.service.mjs +1 -1
- package/esm2022/widgets/checklist-block/services/index.mjs +1 -1
- package/esm2022/widgets/criterion-info/criterion-info.component.mjs +137 -0
- package/esm2022/widgets/criterion-info/index.mjs +2 -0
- package/esm2022/widgets/criterion-info-form/criterion-info-form.component.mjs +147 -0
- package/esm2022/widgets/criterion-info-form/criterion-info-form.options.mjs +2 -0
- package/esm2022/widgets/criterion-info-form/index.mjs +2 -0
- package/esm2022/widgets/criterion-readonly-info/criterion-readonly-info.component.mjs +72 -0
- package/esm2022/widgets/criterion-readonly-info/index.mjs +2 -0
- package/esm2022/widgets/general-control-error-hint/general-control-error-hint.component.mjs +3 -3
- package/esm2022/widgets/general-control-error-hint/index.mjs +1 -1
- package/esm2022/widgets/index.mjs +2 -2
- package/esm2022/widgets/instruction-info/index.mjs +2 -0
- package/esm2022/widgets/instruction-info/instruction-info.component.mjs +147 -0
- package/esm2022/widgets/instruction-info-form/index.mjs +2 -0
- package/esm2022/widgets/instruction-info-form/instruction-info-form.component.mjs +153 -0
- package/esm2022/widgets/instruction-info-form/instruction-info-form.options.mjs +2 -0
- package/esm2022/widgets/instruction-readonly-info/index.mjs +2 -0
- package/esm2022/widgets/instruction-readonly-info/instruction-readonly-info.component.mjs +72 -0
- package/esm2022/widgets/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +40 -0
- package/esm2022/widgets/utility-modal/components/criterion-modal-create/index.mjs +2 -0
- package/esm2022/widgets/utility-modal/components/index.mjs +5 -0
- package/esm2022/widgets/utility-modal/components/instruction-modal-create/index.mjs +2 -0
- package/esm2022/widgets/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +40 -0
- package/esm2022/widgets/utility-modal/components/readonly-criterion-modal/index.mjs +2 -0
- package/esm2022/widgets/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.mjs +40 -0
- package/esm2022/widgets/utility-modal/components/readonly-instruction-modal/index.mjs +2 -0
- package/esm2022/widgets/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +40 -0
- package/esm2022/widgets/utility-modal/components/readonly-utility-modal/index.mjs +2 -0
- package/esm2022/widgets/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +42 -0
- package/esm2022/widgets/utility-modal/components/utility-modal-create/index.mjs +2 -0
- package/esm2022/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +55 -0
- package/esm2022/widgets/utility-modal/index.mjs +4 -0
- package/esm2022/widgets/utility-modal/utility-modal.component.mjs +22 -0
- package/esm2022/widgets/utility-modal/utility-modal.options.mjs +3 -0
- package/esm2022/widgets/utility-readonly-thumbnail/index.mjs +2 -0
- package/esm2022/widgets/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +15 -0
- package/esm2022/widgets/utility-thumbnail/index.mjs +2 -0
- package/esm2022/widgets/utility-thumbnail/utility-thumbnail.component.mjs +94 -0
- package/fesm2022/cuby-ui-core.mjs +1120 -373
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/fonts/Inter-Bold.svg +25443 -25443
- package/fonts/Inter-Medium.svg +25400 -25400
- package/fonts/Inter-Regular.svg +24341 -24341
- package/fonts/Inter-SemiBold.svg +25459 -25459
- package/interfaces/image.d.ts +5 -0
- package/interfaces/index.d.ts +1 -0
- package/package.json +4 -4
- package/providers/auth.options.d.ts +1 -1
- package/styles/fonts.scss +51 -51
- package/styles/global.scss +10 -10
- package/styles/mixins/buttons.scss +13 -13
- package/styles/mixins/flex.scss +21 -21
- package/styles/mixins/headings.scss +115 -115
- package/styles/mixins/inputs.scss +91 -91
- package/styles/mixins/lists.scss +42 -42
- package/styles/mixins/paddings.scss +35 -35
- package/styles/mixins/shadows.scss +38 -38
- package/styles/mixins/texts.scss +225 -225
- package/styles/theme.scss +420 -412
- package/styles/variables/colors.scss +281 -277
- package/widgets/categories/components/category-item/category-item.component.d.ts +3 -3
- package/widgets/criterion-info/criterion-info.component.d.ts +43 -0
- package/widgets/criterion-info/index.d.ts +1 -0
- package/widgets/criterion-info-form/criterion-info-form.component.d.ts +39 -0
- package/widgets/criterion-info-form/criterion-info-form.options.d.ts +7 -0
- package/widgets/criterion-info-form/index.d.ts +2 -0
- package/widgets/criterion-readonly-info/criterion-readonly-info.component.d.ts +26 -0
- package/widgets/criterion-readonly-info/index.d.ts +1 -0
- package/widgets/index.d.ts +1 -1
- package/widgets/instruction-info/index.d.ts +1 -0
- package/widgets/instruction-info/instruction-info.component.d.ts +45 -0
- package/widgets/instruction-info-form/index.d.ts +2 -0
- package/widgets/{utility-info/utility-info.component.d.ts → instruction-info-form/instruction-info-form.component.d.ts} +12 -23
- package/widgets/{utility-info/utility-info.options.d.ts → instruction-info-form/instruction-info-form.options.d.ts} +3 -3
- package/widgets/instruction-readonly-info/index.d.ts +1 -0
- package/widgets/instruction-readonly-info/instruction-readonly-info.component.d.ts +26 -0
- package/widgets/utility-modal/components/criterion-modal-create/criterion-modal-create.component.d.ts +18 -0
- package/widgets/utility-modal/components/criterion-modal-create/index.d.ts +1 -0
- package/widgets/utility-modal/components/index.d.ts +4 -0
- package/widgets/utility-modal/components/instruction-modal-create/index.d.ts +1 -0
- package/widgets/utility-modal/components/instruction-modal-create/instruction-modal-create.component.d.ts +18 -0
- package/widgets/utility-modal/components/readonly-criterion-modal/index.d.ts +1 -0
- package/widgets/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.d.ts +16 -0
- package/widgets/utility-modal/components/readonly-instruction-modal/index.d.ts +1 -0
- package/widgets/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.d.ts +16 -0
- package/widgets/utility-modal/components/readonly-utility-modal/index.d.ts +1 -0
- package/widgets/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.d.ts +18 -0
- package/widgets/utility-modal/components/utility-modal-create/index.d.ts +1 -0
- package/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +25 -0
- package/widgets/utility-modal/index.d.ts +3 -0
- package/widgets/utility-modal/utility-modal.component.d.ts +10 -0
- package/widgets/utility-modal/utility-modal.options.d.ts +12 -0
- package/widgets/utility-readonly-thumbnail/index.d.ts +1 -0
- package/widgets/utility-readonly-thumbnail/utility-readonly-thumbnail.component.d.ts +8 -0
- package/widgets/utility-thumbnail/index.d.ts +1 -0
- package/widgets/utility-thumbnail/utility-thumbnail.component.d.ts +21 -0
- package/esm2022/widgets/utility-info/index.mjs +0 -2
- package/esm2022/widgets/utility-info/utility-info.component.mjs +0 -249
- package/esm2022/widgets/utility-info/utility-info.options.mjs +0 -2
- package/widgets/utility-info/index.d.ts +0 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { Criterion, StorageObject, TreeStruct } from '@cuby-ui/api';
|
|
3
|
+
import { TreeStructType } from '@cuby-ui/api';
|
|
4
|
+
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
5
|
+
import { CuiCriterionFormValues } from '../criterion-info-form';
|
|
6
|
+
import type { CuiTools, CuiEditorConfig } from '../../editor';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CuiCriterionInfoComponent implements OnInit {
|
|
9
|
+
private readonly destroyRef;
|
|
10
|
+
private readonly translocoService;
|
|
11
|
+
private readonly cuiIdService;
|
|
12
|
+
private readonly cuiCategoriesModalService;
|
|
13
|
+
private readonly treeStructNavigatorApiService;
|
|
14
|
+
private readonly criterionApiService;
|
|
15
|
+
private subscription;
|
|
16
|
+
private skipCategoryChange;
|
|
17
|
+
protected readonly TYPE = TreeStructType.Criteria;
|
|
18
|
+
protected readonly categoryId: string;
|
|
19
|
+
protected readonly category: import("@angular/core").Signal<CuiNullable<TreeStruct<import("@cuby-ui/api").Job<import("@cuby-ui/api").JobContentStructureType>>>>;
|
|
20
|
+
protected readonly isFormValid: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
protected readonly prevCategoryId: import("@angular/core").WritableSignal<CuiNullable<string>>;
|
|
22
|
+
protected readonly editorConfig: import("@angular/core").WritableSignal<CuiNullable<CuiEditorConfig>>;
|
|
23
|
+
protected readonly labelColor: import("@angular/core").Signal<"var(--cui-base-900)" | "var(--cui-base-400)">;
|
|
24
|
+
protected readonly selectTitle: import("@angular/core").Signal<string>;
|
|
25
|
+
protected readonly element: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
26
|
+
readonly criterion: import("@angular/core").ModelSignal<StorageObject<Criterion> | undefined>;
|
|
27
|
+
readonly tools: import("@angular/core").InputSignal<CuiTools>;
|
|
28
|
+
readonly editorResourceUrl: import("@angular/core").InputSignal<string>;
|
|
29
|
+
readonly validationChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
30
|
+
readonly criterionCreated: import("@angular/core").OutputEmitterRef<string>;
|
|
31
|
+
constructor();
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
protected onFormChanged(values: Partial<CuiCriterionFormValues>, criterionId: string): void;
|
|
34
|
+
protected onFormValidationChanged(isValid: boolean): void;
|
|
35
|
+
private initCategoryEffect;
|
|
36
|
+
private initConfigEffect;
|
|
37
|
+
private initCategory;
|
|
38
|
+
private changeCategory;
|
|
39
|
+
private createCriterion;
|
|
40
|
+
private changeTitle;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiCriterionInfoComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCriterionInfoComponent, "cui-criterion-info", never, { "criterion": { "alias": "criterion"; "required": false; "isSignal": true; }; "tools": { "alias": "tools"; "required": true; "isSignal": true; }; "editorResourceUrl": { "alias": "editorResourceUrl"; "required": true; "isSignal": true; }; }, { "criterion": "criterionChange"; "validationChanged": "validationChanged"; "criterionCreated": "criterionCreated"; }, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiCriterionInfoComponent } from './criterion-info.component';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ResourceFragment } from '@cuby-ui/api';
|
|
2
|
+
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
3
|
+
import type { CuiEditorConfig } from '../../editor';
|
|
4
|
+
import type { CuiCriterionFormGroup, CuiCriterionFormValues } from './criterion-info-form.options';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CuiCriterionInfoFormComponent {
|
|
7
|
+
private readonly destroy;
|
|
8
|
+
private readonly formBuilder;
|
|
9
|
+
private readonly frameApiService;
|
|
10
|
+
private readonly cuiIdService;
|
|
11
|
+
protected readonly CONTROL_DELAY = 500;
|
|
12
|
+
protected readonly titleId: string;
|
|
13
|
+
protected readonly form: import("@angular/forms").FormGroup<{
|
|
14
|
+
readonly title: import("@angular/forms").FormControl<string>;
|
|
15
|
+
}>;
|
|
16
|
+
protected heading: CuiNullable<string>;
|
|
17
|
+
protected readonly isDescriptionEmpty: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
protected readonly editorId: import("@angular/core").WritableSignal<CuiNullable<string>>;
|
|
19
|
+
protected readonly thumbnail: import("@angular/core").WritableSignal<CuiNullable<ResourceFragment>>;
|
|
20
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
21
|
+
readonly framerId: import("@angular/core").InputSignal<string>;
|
|
22
|
+
readonly baseResourceUrl: import("@angular/core").InputSignal<string>;
|
|
23
|
+
readonly config: import("@angular/core").InputSignal<CuiEditorConfig>;
|
|
24
|
+
readonly formChanged: import("@angular/core").OutputEmitterRef<Partial<CuiCriterionFormValues>>;
|
|
25
|
+
readonly isFormValidChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
26
|
+
protected get controls(): CuiCriterionFormGroup;
|
|
27
|
+
protected get isTitleError(): boolean;
|
|
28
|
+
constructor();
|
|
29
|
+
protected onEditorEmpty(isEmpty: boolean): void;
|
|
30
|
+
private initUtilityEffect;
|
|
31
|
+
private initFormSubscriptions;
|
|
32
|
+
private initFrameFragments;
|
|
33
|
+
private compareFormValues;
|
|
34
|
+
private setResourceFile;
|
|
35
|
+
private getCaptureFromVideo;
|
|
36
|
+
private checkFormValidation;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiCriterionInfoFormComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCriterionInfoFormComponent, "cui-criterion-info-form", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "framerId": { "alias": "framerId"; "required": true; "isSignal": true; }; "baseResourceUrl": { "alias": "baseResourceUrl"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; }, { "formChanged": "formChanged"; "isFormValidChanged": "isFormValidChanged"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { JTextFragment } from '@cuby-ui/api';
|
|
2
|
+
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
3
|
+
import type { CuiImgUrl } from '../../interfaces';
|
|
4
|
+
import type { CuiTools, CuiEditorConfig } from '../../editor';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CuiCriterionReadonlyInfoComponent {
|
|
7
|
+
private readonly hostElement;
|
|
8
|
+
private readonly frameApiService;
|
|
9
|
+
private subscription;
|
|
10
|
+
protected isVideo: boolean;
|
|
11
|
+
protected editorConfig: CuiEditorConfig;
|
|
12
|
+
protected readonly jText: import("@angular/core").WritableSignal<CuiNullable<JTextFragment>>;
|
|
13
|
+
protected readonly thumbnailUrl: import("@angular/core").WritableSignal<CuiNullable<CuiImgUrl>>;
|
|
14
|
+
protected readonly isDescriptionEmpty: import("@angular/core").Signal<boolean>;
|
|
15
|
+
readonly framerId: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly element: import("@angular/core").InputSignal<HTMLElement>;
|
|
17
|
+
readonly tools: import("@angular/core").InputSignal<CuiTools>;
|
|
18
|
+
readonly editorResourceUrl: import("@angular/core").InputSignal<string>;
|
|
19
|
+
constructor();
|
|
20
|
+
private initConfigEffect;
|
|
21
|
+
private initFramerIdEffect;
|
|
22
|
+
private initFrameFragments;
|
|
23
|
+
private setResourceFile;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiCriterionReadonlyInfoComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCriterionReadonlyInfoComponent, "cui-criterion-readonly-info", never, { "framerId": { "alias": "framerId"; "required": true; "isSignal": true; }; "element": { "alias": "element"; "required": false; "isSignal": true; }; "tools": { "alias": "tools"; "required": true; "isSignal": true; }; "editorResourceUrl": { "alias": "editorResourceUrl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiCriterionReadonlyInfoComponent } from './criterion-readonly-info.component';
|
package/widgets/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { CuiLoaderComponent } from './loader';
|
|
2
2
|
export { CuiDeleteModalComponent } from './delete-modal';
|
|
3
3
|
export { CuiCategoriesComponent, CuiSelectedCategoryService } from './categories';
|
|
4
|
-
export { CuiUtilityInfoComponent, CuiUtilityFormGroup, CuiUtilityFormValues } from './utility-info';
|
|
5
4
|
export { CuiChecklistBlockComponent } from './checklist-block';
|
|
6
5
|
export { CuiGeneralControlErrorHintComponent } from './general-control-error-hint';
|
|
6
|
+
export * from './utility-modal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiInstructionInfoComponent } from './instruction-info.component';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import type { Instruction, StorageObject, TreeStruct } from '@cuby-ui/api';
|
|
3
|
+
import { TreeStructType } from '@cuby-ui/api';
|
|
4
|
+
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
5
|
+
import { CuiEditorConfig } from '../../editor';
|
|
6
|
+
import type { CuiTools } from '../../editor';
|
|
7
|
+
import type { CuiInstructionFormValues } from '../instruction-info-form';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CuiInstructionInfoComponent implements OnInit {
|
|
10
|
+
private readonly destroyRef;
|
|
11
|
+
private readonly translocoService;
|
|
12
|
+
private readonly cuiIdService;
|
|
13
|
+
private readonly cuiCategoriesModalService;
|
|
14
|
+
private readonly treeStructNavigatorApiService;
|
|
15
|
+
private readonly instructionApiService;
|
|
16
|
+
protected readonly TYPE = TreeStructType.Instruction;
|
|
17
|
+
private subscription;
|
|
18
|
+
private skipCategoryChange;
|
|
19
|
+
protected readonly categoryId: string;
|
|
20
|
+
protected readonly category: import("@angular/core").Signal<CuiNullable<TreeStruct<import("@cuby-ui/api").Job<import("@cuby-ui/api").JobContentStructureType>>>>;
|
|
21
|
+
protected readonly isFormValid: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
+
protected readonly prevCategoryId: import("@angular/core").WritableSignal<CuiNullable<string>>;
|
|
23
|
+
protected readonly editorConfig: import("@angular/core").WritableSignal<CuiNullable<CuiEditorConfig>>;
|
|
24
|
+
protected readonly labelColor: import("@angular/core").Signal<"var(--cui-base-900)" | "var(--cui-base-400)">;
|
|
25
|
+
protected readonly selectTitle: import("@angular/core").Signal<string>;
|
|
26
|
+
protected readonly element: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
27
|
+
readonly instruction: import("@angular/core").ModelSignal<StorageObject<Instruction> | undefined>;
|
|
28
|
+
readonly tools: import("@angular/core").InputSignal<CuiTools>;
|
|
29
|
+
readonly editorResourceUrl: import("@angular/core").InputSignal<string>;
|
|
30
|
+
readonly validationChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
31
|
+
readonly instructionCreated: import("@angular/core").OutputEmitterRef<string>;
|
|
32
|
+
constructor();
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
protected onFormChanged(values: Partial<CuiInstructionFormValues>, instructionId: string): void;
|
|
35
|
+
protected onFormValidationChanged(isValid: boolean): void;
|
|
36
|
+
private initCategoryEffect;
|
|
37
|
+
private initConfigEffect;
|
|
38
|
+
private initCategory;
|
|
39
|
+
private changeCategory;
|
|
40
|
+
private createInstruction;
|
|
41
|
+
private changeTitle;
|
|
42
|
+
private changeDescription;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiInstructionInfoComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiInstructionInfoComponent, "cui-instruction-info", never, { "instruction": { "alias": "instruction"; "required": false; "isSignal": true; }; "tools": { "alias": "tools"; "required": true; "isSignal": true; }; "editorResourceUrl": { "alias": "editorResourceUrl"; "required": true; "isSignal": true; }; }, { "instruction": "instructionChange"; "validationChanged": "validationChanged"; "instructionCreated": "instructionCreated"; }, never, never, true, never>;
|
|
45
|
+
}
|
|
@@ -1,54 +1,43 @@
|
|
|
1
|
-
import { ResourceFragment } from '@cuby-ui/api';
|
|
2
|
-
import {
|
|
3
|
-
import { CuiEditorConfig } from '../../editor';
|
|
4
|
-
import {
|
|
1
|
+
import type { ResourceFragment } from '@cuby-ui/api';
|
|
2
|
+
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
3
|
+
import type { CuiEditorConfig } from '../../editor';
|
|
4
|
+
import type { CuiInstructionFormGroup, CuiInstructionFormValues } from './instruction-info-form.options';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class CuiInstructionInfoFormComponent {
|
|
7
7
|
private readonly destroy;
|
|
8
8
|
private readonly formBuilder;
|
|
9
|
-
private readonly translocoService;
|
|
10
9
|
private readonly frameApiService;
|
|
11
|
-
private readonly cuiAlertService;
|
|
12
10
|
private readonly cuiIdService;
|
|
13
11
|
protected readonly CONTROL_DELAY = 500;
|
|
14
|
-
protected readonly MAX_FILE_SIZE = 20971520;
|
|
15
12
|
protected readonly titleId: string;
|
|
16
13
|
protected readonly descriptionId: string;
|
|
17
14
|
protected readonly form: import("@angular/forms").FormGroup<{
|
|
18
15
|
readonly title: import("@angular/forms").FormControl<string>;
|
|
19
16
|
readonly description: import("@angular/forms").FormControl<string>;
|
|
20
17
|
}>;
|
|
21
|
-
protected
|
|
18
|
+
protected heading: CuiNullable<string>;
|
|
22
19
|
protected readonly isDescriptionEmpty: import("@angular/core").WritableSignal<boolean>;
|
|
23
20
|
protected readonly editorId: import("@angular/core").WritableSignal<CuiNullable<string>>;
|
|
24
21
|
protected readonly thumbnail: import("@angular/core").WritableSignal<CuiNullable<ResourceFragment>>;
|
|
25
|
-
protected readonly thumbnailUrl: import("@angular/core").Signal<string>;
|
|
26
|
-
protected readonly uploadButtonName: import("@angular/core").Signal<string>;
|
|
27
|
-
protected heading: CuiNullable<string>;
|
|
28
|
-
protected get controls(): CuiUtilityFormGroup;
|
|
29
|
-
protected get isTitleError(): boolean;
|
|
30
|
-
protected get isDescriptionError(): boolean;
|
|
31
22
|
readonly title: import("@angular/core").InputSignal<string>;
|
|
32
23
|
readonly description: import("@angular/core").InputSignal<string>;
|
|
33
24
|
readonly framerId: import("@angular/core").InputSignal<string>;
|
|
34
25
|
readonly baseResourceUrl: import("@angular/core").InputSignal<string>;
|
|
35
26
|
readonly config: import("@angular/core").InputSignal<CuiEditorConfig>;
|
|
36
|
-
readonly formChanged: import("@angular/core").OutputEmitterRef<Partial<
|
|
27
|
+
readonly formChanged: import("@angular/core").OutputEmitterRef<Partial<CuiInstructionFormValues>>;
|
|
37
28
|
readonly isFormValidChanged: import("@angular/core").OutputEmitterRef<boolean>;
|
|
29
|
+
protected get controls(): CuiInstructionFormGroup;
|
|
30
|
+
protected get isTitleError(): boolean;
|
|
31
|
+
protected get isDescriptionError(): boolean;
|
|
38
32
|
constructor();
|
|
39
|
-
protected onSelectFile(): void;
|
|
40
33
|
protected onEditorEmpty(isEmpty: boolean): void;
|
|
41
|
-
protected onRemoveThumbnail(): void;
|
|
42
|
-
protected onToggleDescriptionModal(): void;
|
|
43
34
|
private initUtilityEffect;
|
|
44
35
|
private initFormSubscriptions;
|
|
45
36
|
private initFrameFragments;
|
|
46
37
|
private compareFormValues;
|
|
47
38
|
private setResourceFile;
|
|
48
|
-
private getFile;
|
|
49
|
-
private uploadFile;
|
|
50
39
|
private getCaptureFromVideo;
|
|
51
40
|
private checkFormValidation;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiInstructionInfoFormComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiInstructionInfoFormComponent, "cui-instruction-info-form", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": true; "isSignal": true; }; "framerId": { "alias": "framerId"; "required": true; "isSignal": true; }; "baseResourceUrl": { "alias": "baseResourceUrl"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; }, { "formChanged": "formChanged"; "isFormValidChanged": "isFormValidChanged"; }, never, never, true, never>;
|
|
54
43
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FormControl } from
|
|
2
|
-
export interface
|
|
1
|
+
import type { FormControl } from '@angular/forms';
|
|
2
|
+
export interface CuiInstructionFormGroup {
|
|
3
3
|
readonly title: FormControl<string>;
|
|
4
4
|
readonly description: FormControl<string>;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface CuiInstructionFormValues {
|
|
7
7
|
readonly title: string;
|
|
8
8
|
readonly description: string;
|
|
9
9
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiInstructionReadonlyInfoComponent } from './instruction-readonly-info.component';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { JTextFragment } from '@cuby-ui/api';
|
|
2
|
+
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
3
|
+
import type { CuiImgUrl } from '../../interfaces';
|
|
4
|
+
import type { CuiTools, CuiEditorConfig } from '../../editor';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CuiInstructionReadonlyInfoComponent {
|
|
7
|
+
private readonly hostElement;
|
|
8
|
+
private readonly frameApiService;
|
|
9
|
+
private subscription;
|
|
10
|
+
protected isVideo: boolean;
|
|
11
|
+
protected editorConfig: CuiEditorConfig;
|
|
12
|
+
protected readonly jText: import("@angular/core").WritableSignal<CuiNullable<JTextFragment>>;
|
|
13
|
+
protected readonly thumbnailUrl: import("@angular/core").WritableSignal<CuiNullable<CuiImgUrl>>;
|
|
14
|
+
protected readonly isDescriptionEmpty: import("@angular/core").Signal<boolean>;
|
|
15
|
+
readonly framerId: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly element: import("@angular/core").InputSignal<HTMLElement>;
|
|
17
|
+
readonly tools: import("@angular/core").InputSignal<CuiTools>;
|
|
18
|
+
readonly editorResourceUrl: import("@angular/core").InputSignal<string>;
|
|
19
|
+
constructor();
|
|
20
|
+
private initConfigEffect;
|
|
21
|
+
private initFramerIdEffect;
|
|
22
|
+
private initFrameFragments;
|
|
23
|
+
private setResourceFile;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiInstructionReadonlyInfoComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiInstructionReadonlyInfoComponent, "cui-instruction-readonly-info", never, { "framerId": { "alias": "framerId"; "required": true; "isSignal": true; }; "element": { "alias": "element"; "required": false; "isSignal": true; }; "tools": { "alias": "tools"; "required": true; "isSignal": true; }; "editorResourceUrl": { "alias": "editorResourceUrl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Criterion, StorageObject } from '@cuby-ui/api';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiCriterionModalCreateComponent {
|
|
4
|
+
private readonly destroyRef;
|
|
5
|
+
private readonly cuiDialogContext;
|
|
6
|
+
private readonly criterionApiService;
|
|
7
|
+
private isCreated;
|
|
8
|
+
protected readonly editorResourceUrl: any;
|
|
9
|
+
protected readonly tools: any;
|
|
10
|
+
protected readonly header: any;
|
|
11
|
+
private readonly _criterion;
|
|
12
|
+
protected readonly isFormValid: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
protected readonly criterion: import("@angular/core").Signal<StorageObject<Criterion>>;
|
|
14
|
+
readonly initialUtility: import("@angular/core").InputSignal<StorageObject<Criterion>>;
|
|
15
|
+
protected onCriterionCreated(storageNodeId: string): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiCriterionModalCreateComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCriterionModalCreateComponent, "ng-component", never, { "initialUtility": { "alias": "initialUtility"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiCriterionModalCreateComponent } from './criterion-modal-create.component';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { CuiCriterionModalCreateComponent } from './criterion-modal-create';
|
|
2
|
+
export { CuiInstructionModalCreateComponent } from './instruction-modal-create';
|
|
3
|
+
export { CuiReadonlyCriterionModalComponent } from './readonly-criterion-modal';
|
|
4
|
+
export { CuiReadonlyInstructionModalComponent } from './readonly-instruction-modal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiInstructionModalCreateComponent } from './instruction-modal-create.component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Instruction, StorageObject } from '@cuby-ui/api';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiInstructionModalCreateComponent {
|
|
4
|
+
private readonly destroyRef;
|
|
5
|
+
private readonly cuiDialogContext;
|
|
6
|
+
private readonly instructionApiService;
|
|
7
|
+
private isCreated;
|
|
8
|
+
protected readonly editorResourceUrl: any;
|
|
9
|
+
protected readonly tools: any;
|
|
10
|
+
protected readonly header: any;
|
|
11
|
+
private readonly _instruction;
|
|
12
|
+
protected readonly isFormValid: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
protected readonly instruction: import("@angular/core").Signal<StorageObject<Instruction>>;
|
|
14
|
+
readonly initialUtility: import("@angular/core").InputSignal<StorageObject<Instruction>>;
|
|
15
|
+
protected onInstructionCreated(storageNodeId: string): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiInstructionModalCreateComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiInstructionModalCreateComponent, "ng-component", never, { "initialUtility": { "alias": "initialUtility"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiReadonlyCriterionModalComponent } from './readonly-criterion-modal.component';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Criterion, StorageObject } from '@cuby-ui/api';
|
|
2
|
+
import { UtilityElement } from '../../utility-modal.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiReadonlyCriterionModalComponent {
|
|
5
|
+
private readonly cuiDialogContext;
|
|
6
|
+
private readonly cuiRenderDynamicComponentsService;
|
|
7
|
+
protected readonly editorResourceUrl: any;
|
|
8
|
+
protected readonly tools: any;
|
|
9
|
+
protected readonly header: any;
|
|
10
|
+
protected readonly isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
protected readonly framerId: import("@angular/core").Signal<string>;
|
|
12
|
+
readonly criterion: import("@angular/core").InputSignal<StorageObject<Criterion>>;
|
|
13
|
+
protected onUnbind(criterion: StorageObject<UtilityElement>): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiReadonlyCriterionModalComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiReadonlyCriterionModalComponent, "cui-readonly-criterion-modal", never, { "criterion": { "alias": "criterion"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiReadonlyInstructionModalComponent } from './readonly-instruction-modal.component';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Instruction, StorageObject } from '@cuby-ui/api';
|
|
2
|
+
import { UtilityElement } from '../../utility-modal.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiReadonlyInstructionModalComponent {
|
|
5
|
+
private readonly cuiDialogContext;
|
|
6
|
+
private readonly cuiRenderDynamicComponentsService;
|
|
7
|
+
protected readonly editorResourceUrl: any;
|
|
8
|
+
protected readonly tools: any;
|
|
9
|
+
protected readonly header: any;
|
|
10
|
+
protected readonly isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
protected readonly framerId: import("@angular/core").Signal<string>;
|
|
12
|
+
readonly instruction: import("@angular/core").InputSignal<StorageObject<Instruction>>;
|
|
13
|
+
protected onUnbind(instruction: StorageObject<UtilityElement>): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiReadonlyInstructionModalComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiReadonlyInstructionModalComponent, "cui-readonly-instruction-modal", never, { "instruction": { "alias": "instruction"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiReadonlyUtilityModalComponent } from './readonly-utility-modal.component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StorageObject } from '@cuby-ui/api';
|
|
2
|
+
import { UtilityElement } from '../../utility-modal.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiReadonlyUtilityModalComponent {
|
|
5
|
+
private readonly destroyRef;
|
|
6
|
+
private readonly cuiDialogContext;
|
|
7
|
+
private readonly utilityModalService;
|
|
8
|
+
protected readonly editorResourceUrl: any;
|
|
9
|
+
protected readonly tools: any;
|
|
10
|
+
protected readonly header: any;
|
|
11
|
+
protected readonly isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
readonly utility: import("@angular/core").InputSignal<StorageObject<UtilityElement>>;
|
|
13
|
+
readonly utilityUnbinded: import("@angular/core").OutputEmitterRef<StorageObject<UtilityElement>>;
|
|
14
|
+
protected onClose(): void;
|
|
15
|
+
protected onUnbind(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiReadonlyUtilityModalComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiReadonlyUtilityModalComponent, "cui-readonly-utility-modal", never, { "utility": { "alias": "utility"; "required": true; "isSignal": true; }; }, { "utilityUnbinded": "utilityUnbinded"; }, never, ["*"], true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiUtilityModalCreateComponent } from './utility-modal-create.component';
|
package/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import type { StorageObject } from '@cuby-ui/api';
|
|
3
|
+
import { UtilityElement } from "../../utility-modal.options";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CuiUtilityModalCreateComponent implements OnInit, OnDestroy {
|
|
6
|
+
private readonly window;
|
|
7
|
+
private readonly cuiDialogContext;
|
|
8
|
+
private readonly utilityModalService;
|
|
9
|
+
private readonly prevUtility;
|
|
10
|
+
protected readonly editorResourceUrl: any;
|
|
11
|
+
protected readonly tools: any;
|
|
12
|
+
protected readonly header: any;
|
|
13
|
+
private readonly _utility;
|
|
14
|
+
protected readonly isFormValid: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
protected readonly utility: import("@angular/core").Signal<StorageObject<UtilityElement>>;
|
|
16
|
+
readonly initialUtility: import("@angular/core").InputSignal<StorageObject<UtilityElement>>;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
protected onSave(): void;
|
|
20
|
+
protected onCancel(): void;
|
|
21
|
+
private initWindowUnloadEvent;
|
|
22
|
+
private destroyUtility;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiUtilityModalCreateComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiUtilityModalCreateComponent, "cui-utility-modal-create", never, { "initialUtility": { "alias": "initialUtility"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CuiUtilityModalComponent {
|
|
3
|
+
private readonly cuiDialogContext;
|
|
4
|
+
private readonly cuiRenderDynamicComponentsService;
|
|
5
|
+
protected readonly utility: any;
|
|
6
|
+
protected readonly initialComponent: any;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiUtilityModalComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiUtilityModalComponent, "cui-utility-modal", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import type { Instruction, StorageObject, Criterion } from "@cuby-ui/api";
|
|
4
|
+
export declare const UTILITY_MODAL_SERVICE_TOKEN: InjectionToken<UtilityModalService<UtilityElement>>;
|
|
5
|
+
export interface UtilityModalService<T extends UtilityElement> {
|
|
6
|
+
createUtility(id: string): Observable<StorageObject<T>>;
|
|
7
|
+
changeTitle(utilityId: string, title: string): Observable<void>;
|
|
8
|
+
changeDescription?(utilityId: string, shortDescription: string): Observable<void>;
|
|
9
|
+
unbindUtility(id: string): Observable<StorageObject<T>>;
|
|
10
|
+
deleteUtility(utility: StorageObject<T>): Observable<void>;
|
|
11
|
+
}
|
|
12
|
+
export type UtilityElement = Instruction | Criterion;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiUtilityReadonlyThumbnailComponent } from './utility-readonly-thumbnail.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CuiImgUrl } from '../../interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiUtilityReadonlyThumbnailComponent {
|
|
4
|
+
readonly thumbnailUrl: import("@angular/core").InputSignal<CuiImgUrl>;
|
|
5
|
+
readonly isVideo: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiUtilityReadonlyThumbnailComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiUtilityReadonlyThumbnailComponent, "cui-utility-readonly-thumbnail", never, { "thumbnailUrl": { "alias": "thumbnailUrl"; "required": true; "isSignal": true; }; "isVideo": { "alias": "isVideo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiUtilityThumbnailComponent } from './utility-thumbnail.component';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ResourceFragment } from '@cuby-ui/api';
|
|
2
|
+
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiUtilityThumbnailComponent {
|
|
5
|
+
private readonly cuiAlertService;
|
|
6
|
+
private readonly translocoService;
|
|
7
|
+
private readonly frameApiService;
|
|
8
|
+
protected readonly MAX_FILE_SIZE = 20971520;
|
|
9
|
+
protected readonly thumbnailUrl: import("@angular/core").Signal<string>;
|
|
10
|
+
protected readonly uploadButtonName: import("@angular/core").Signal<string>;
|
|
11
|
+
readonly thumbnail: import("@angular/core").ModelSignal<CuiNullable<ResourceFragment>>;
|
|
12
|
+
readonly framerId: import("@angular/core").InputSignal<string>;
|
|
13
|
+
readonly baseResourceUrl: import("@angular/core").InputSignal<string>;
|
|
14
|
+
protected onSelectFile(): void;
|
|
15
|
+
protected onRemoveThumbnail(): void;
|
|
16
|
+
private getFile;
|
|
17
|
+
private uploadFile;
|
|
18
|
+
private getCaptureFromVideo;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiUtilityThumbnailComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiUtilityThumbnailComponent, "cui-utility-thumbnail", never, { "thumbnail": { "alias": "thumbnail"; "required": true; "isSignal": true; }; "framerId": { "alias": "framerId"; "required": true; "isSignal": true; }; "baseResourceUrl": { "alias": "baseResourceUrl"; "required": true; "isSignal": true; }; }, { "thumbnail": "thumbnailChange"; }, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { CuiUtilityInfoComponent } from './utility-info.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdXRpbGl0eS1pbmZvL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ3VpVXRpbGl0eUluZm9Db21wb25lbnQgfSBmcm9tICcuL3V0aWxpdHktaW5mby5jb21wb25lbnQnO1xuZXhwb3J0IHsgQ3VpVXRpbGl0eUZvcm1WYWx1ZXMsIEN1aVV0aWxpdHlGb3JtR3JvdXAgfSBmcm9tICcuL3V0aWxpdHktaW5mby5vcHRpb25zJztcbiJdfQ==
|