complexqa_frontend_core 1.31.6 → 2.0.0
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 +83 -0
- package/package.json +30 -26
- package/{publish → src}/api/api_abstract_class.js +22 -10
- package/{publish → src}/api/api_abstract_element_class.js +19 -1
- package/{publish → src}/api/autotest_case_api.js +2 -2
- package/{publish → src}/api/autotest_result_api.js +2 -2
- package/{publish → src}/api/autotest_run_api.js +2 -2
- package/{publish → src}/api/autotest_step_api.js +2 -2
- package/{publish → src}/api/autotest_suite_api.js +2 -2
- package/{publish → src}/api/bug_api.js +1 -1
- package/{publish → src}/api/functional_api.js +2 -2
- package/{publish → src}/api/index.js +11 -5
- package/{publish → src}/api/object_repository_element_api.js +2 -2
- package/{publish → src}/api/object_repository_folder_api.js +2 -2
- package/{publish → src}/api/object_repository_page_api.js +2 -2
- package/{publish → src}/api/project_api.js +2 -2
- package/{publish → src}/api/public_text_document_api.js +2 -2
- package/{publish → src}/api/team_management_api.js +1 -1
- package/{publish → src}/api/team_member_api.js +2 -2
- package/{publish → src}/api/test_case_api.js +2 -2
- package/{publish → src}/api/test_case_step_api.js +2 -2
- package/{publish → src}/api/test_plan_api.js +2 -2
- package/{publish → src}/api/test_run_api.js +2 -2
- package/{publish → src}/api/test_run_result_api.js +2 -2
- package/{publish → src}/api/test_suite_api.js +2 -2
- package/{publish → src}/api/text_document_api.js +9 -9
- package/src/api/typeApiBinding.js +41 -0
- package/{publish → src}/exceptions/0_BaseException.js +26 -17
- package/{publish → src}/index.js +2 -46
- package/{publish → src}/services/FileAppService.js +8 -5
- package/{publish → src}/services/UserService.js +9 -2
- package/{publish → src}/types/core/0_familyGeneralElement.js +56 -22
- package/{publish → src}/types/core/1_familyRelation.js +3 -0
- package/{publish → src}/types/family_context/typeBrowserContext.js +1 -0
- package/{publish → src}/types/family_context/typeDeploymentTargetContext.js +2 -0
- package/{publish → src}/types/family_context/typeDeviceContext.js +2 -0
- package/{publish → src}/types/family_context/typeExecutionContext.js +2 -0
- package/{publish → src}/types/family_context/typeLocaleContext.js +1 -0
- package/{publish → src}/types/family_context/typeOsContext.js +2 -0
- package/{publish → src}/types/family_context/typeScreenResolutionContext.js +2 -0
- package/{publish → src}/types/family_context/typeUserAgentContext.js +2 -0
- package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepActionCatalog.js +30 -3
- package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepAction.js +10 -1
- package/{publish → src}/types/family_elements/mock_data/mock_data_typeProject.js +2 -2
- package/{publish → src}/types/family_elements/typeAttachment.js +1 -0
- package/{publish → src}/types/family_elements/typeAutomationTestEnvironment.js +2 -0
- package/{publish → src}/types/family_elements/typeAutomationTestPlan.js +1 -0
- package/{publish → src}/types/family_elements/typeAutomationTestStep.js +2 -0
- package/{publish → src}/types/family_elements/typeAutomationTestStepTarget.js +1 -0
- package/{publish → src}/types/family_elements/typeAutotestCase.js +5 -3
- package/{publish → src}/types/family_elements/typeAutotestResult.js +2 -0
- package/{publish → src}/types/family_elements/typeAutotestRun.js +3 -1
- package/{publish → src}/types/family_elements/typeAutotestStep.js +6 -5
- package/{publish → src}/types/family_elements/typeAutotestStepTarget.js +1 -0
- package/{publish → src}/types/family_elements/typeBug.js +4 -1
- package/{publish → src}/types/family_elements/typeCustomProperty.js +1 -0
- package/{publish → src}/types/family_elements/typeFunctional.js +3 -1
- package/{publish → src}/types/family_elements/typeFunctionalGroup.js +3 -1
- package/{publish → src}/types/family_elements/typeMilestone.js +3 -1
- package/{publish → src}/types/family_elements/typeObjectRepositoryElement.js +1 -0
- package/{publish → src}/types/family_elements/typeObjectRepositoryFolder.js +1 -0
- package/{publish → src}/types/family_elements/typePrice.js +1 -0
- package/{publish → src}/types/family_elements/typeProject.js +10 -13
- package/{publish → src}/types/family_elements/typeProjectDocument.js +3 -1
- package/{publish → src}/types/family_elements/typeProjectTestData.js +2 -1
- package/{publish → src}/types/family_elements/typeProjectUserRole.js +3 -1
- package/{publish → src}/types/family_elements/typeTask.js +3 -2
- package/{publish → src}/types/family_elements/typeTeam.js +6 -4
- package/src/types/family_elements/typeTeamDomain.js +175 -0
- package/{publish → src}/types/family_elements/typeTeamMember.js +4 -2
- package/{publish → src}/types/family_elements/typeTeamUserRole.js +2 -1
- package/{publish → src}/types/family_elements/typeTestAccount.js +2 -1
- package/{publish → src}/types/family_elements/typeTestCase.js +4 -1
- package/{publish → src}/types/family_elements/typeTestCaseStep.js +5 -3
- package/{publish → src}/types/family_elements/typeTestPlan.js +2 -1
- package/{publish → src}/types/family_elements/typeTestRun.js +5 -2
- package/{publish → src}/types/family_elements/typeTestRunResult.js +4 -1
- package/{publish → src}/types/family_elements/typeTestSuite.js +2 -1
- package/{publish → src}/types/family_elements/typeUser.js +3 -1
- package/{publish → src}/types/family_events/typeEvent.js +2 -0
- package/{publish → src}/types/family_files/typeFile.js +2 -0
- package/{publish → src}/types/family_files/typeTextDocument.js +3 -0
- package/{publish → src}/types/family_files/typeTextDocumentFolder.js +1 -0
- package/{publish → src}/types/family_relation/typeBugRelation.js +1 -0
- package/{publish → src}/types/family_relation/typeCustomPropertyValue.js +1 -0
- package/{publish → src}/types/family_relation/typeTagRelation.js +1 -0
- package/{publish → src}/types/family_service/typeFOR.js +3 -2
- package/{publish → src}/types/family_service/typeFilter.js +2 -1
- package/{publish → src}/types/family_service/typeFunctionCallback.js +2 -1
- package/{publish → src}/types/family_utils/typeUtilExecution.js +3 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionEvent.js +2 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMulti.js +4 -2
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiCapture.js +1 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiCaptureError.js +1 -0
- package/{publish → src}/types/family_utils/typeUtilExecutionScreenshotMultiScreenshot.js +1 -0
- package/src/types/family_utils/typeUtilExecutionUrlInspect.js +202 -0
- package/src/types/family_utils/typeUtilExecutionUrlInspectCheck.js +103 -0
- package/{publish → src}/utils/utils.js +1 -0
- package/types/api/api_abstract_class.d.ts +85 -0
- package/types/api/api_abstract_element_class.d.ts +79 -0
- package/types/api/api_abstract_reference_class.d.ts +26 -0
- package/types/api/attachment_api.d.ts +25 -0
- package/types/api/autotest_case_api.d.ts +36 -0
- package/types/api/autotest_result_api.d.ts +8 -0
- package/types/api/autotest_run_api.d.ts +16 -0
- package/types/api/autotest_step_api.d.ts +45 -0
- package/types/api/autotest_suite_api.d.ts +8 -0
- package/types/api/bug_api.d.ts +9 -0
- package/types/api/bug_relation_api.d.ts +10 -0
- package/types/api/cache/api_search_cache.d.ts +39 -0
- package/types/api/cache/index.d.ts +2 -0
- package/types/api/cache/memory_cache_store.d.ts +24 -0
- package/types/api/context/context_browser_api.d.ts +9 -0
- package/types/api/context/context_deployment_target_api.d.ts +9 -0
- package/types/api/context/context_devices_api.d.ts +9 -0
- package/types/api/context/context_execution_general_api.d.ts +9 -0
- package/types/api/context/context_locale_api.d.ts +9 -0
- package/types/api/context/context_os_api.d.ts +9 -0
- package/types/api/context/context_screen_resolution_api.d.ts +9 -0
- package/types/api/context/context_user_agents_api.d.ts +9 -0
- package/types/api/custom_property/custom_property_template_api.d.ts +10 -0
- package/types/api/custom_property_api.d.ts +25 -0
- package/types/api/custom_property_option_api.d.ts +11 -0
- package/types/api/custom_property_value_api.d.ts +28 -0
- package/types/api/event_api.d.ts +12 -0
- package/types/api/file_app_api.d.ts +105 -0
- package/types/api/functional_api.d.ts +9 -0
- package/types/api/index.d.ts +155 -0
- package/types/api/object_repository_element_api.d.ts +8 -0
- package/types/api/object_repository_folder_api.d.ts +8 -0
- package/types/api/object_repository_page_api.d.ts +8 -0
- package/types/api/project_api.d.ts +53 -0
- package/types/api/public_text_document_api.d.ts +29 -0
- package/types/api/service_api.d.ts +9 -0
- package/types/api/tag/tag_color_api.d.ts +10 -0
- package/types/api/tag/tag_template_api.d.ts +10 -0
- package/types/api/tag_api.d.ts +23 -0
- package/types/api/tag_relation_api.d.ts +30 -0
- package/types/api/task_api.d.ts +19 -0
- package/types/api/team_domain_api.d.ts +30 -0
- package/types/api/team_management_api.d.ts +27 -0
- package/types/api/team_member_api.d.ts +19 -0
- package/types/api/test_account_api.d.ts +9 -0
- package/types/api/test_case_api.d.ts +9 -0
- package/types/api/test_case_step_api.d.ts +28 -0
- package/types/api/test_plan_api.d.ts +9 -0
- package/types/api/test_run_api.d.ts +16 -0
- package/types/api/test_run_result_api.d.ts +9 -0
- package/types/api/test_suite_api.d.ts +9 -0
- package/types/api/text_document_api.d.ts +98 -0
- package/types/api/text_document_folder_api.d.ts +8 -0
- package/types/api/typeApiBinding.d.ts +12 -0
- package/types/api/user_profile_api.d.ts +18 -0
- package/types/api/util/browser_tools_screenshot_multi_api.d.ts +24 -0
- package/types/api/util/browser_tools_util_execution_api.d.ts +26 -0
- package/types/api/util/url_inspect_api.d.ts +24 -0
- package/types/constants/text_document_limits.d.ts +14 -0
- package/types/element_translate/typeTeamDomain.i18n.js +71 -0
- package/types/element_translate/typeUtilExecutionUrlInspect.i18n.js +55 -0
- package/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.js +111 -0
- package/types/exceptions/0_BaseException.d.ts +25 -0
- package/types/exceptions/ApiException.d.ts +16 -0
- package/types/exceptions/GeneralException.d.ts +13 -0
- package/types/index.d.ts +79 -0
- package/types/services/DeveloperService.d.ts +43 -0
- package/types/services/FileAppService.d.ts +131 -0
- package/types/services/TeamService.d.ts +21 -0
- package/types/services/UserService.d.ts +233 -0
- package/types/services/abstractService.d.ts +13 -0
- package/types/services/mock_data/MockUserService.d.ts +12 -0
- package/types/types/core/0_familyGeneralElement.d.ts +228 -0
- package/types/types/core/1_familyContext.d.ts +87 -0
- package/types/types/core/1_familyRelation.d.ts +53 -0
- package/types/types/core/1_familyTestAutomation.d.ts +25 -0
- package/types/types/core/1_familyTestDocumentation.d.ts +27 -0
- package/types/types/core/type_class_resolver.d.ts +25 -0
- package/types/types/element_translate/_familyContext.i18n.d.ts +316 -0
- package/types/types/element_translate/_familyUtil.i18n.d.ts +515 -0
- package/types/types/element_translate/typeAttachment.i18n.d.ts +358 -0
- package/types/types/element_translate/typeAutotestCase.i18n.d.ts +139 -0
- package/types/types/element_translate/typeAutotestResult.i18n.d.ts +110 -0
- package/types/types/element_translate/typeAutotestRun.i18n.d.ts +170 -0
- package/types/types/element_translate/typeAutotestStep.i18n.d.ts +115 -0
- package/types/types/element_translate/typeAutotestSuite.i18n.d.ts +51 -0
- package/types/types/element_translate/typeBrowserContext.i18n.d.ts +158 -0
- package/types/types/element_translate/typeBug.i18n.d.ts +1863 -0
- package/types/types/element_translate/typeBugRelation.i18n.d.ts +232 -0
- package/types/types/element_translate/typeCustomProperty.i18n.d.ts +233 -0
- package/types/types/element_translate/typeCustomPropertyValue.i18n.d.ts +185 -0
- package/types/types/element_translate/typeDeploymentTargetContext.i18n.d.ts +318 -0
- package/types/types/element_translate/typeDeviceContext.i18n.d.ts +296 -0
- package/types/types/element_translate/typeEvent.i18n.d.ts +1096 -0
- package/types/types/element_translate/typeExecutionContext.i18n.d.ts +484 -0
- package/types/types/element_translate/typeFile.i18n.d.ts +119 -0
- package/types/types/element_translate/typeFileScreenshot.i18n.d.ts +7 -0
- package/types/types/element_translate/typeLocaleContext.i18n.d.ts +180 -0
- package/types/types/element_translate/typeObjectRepositoryElement.i18n.d.ts +135 -0
- package/types/types/element_translate/typeObjectRepositoryFolder.i18n.d.ts +85 -0
- package/types/types/element_translate/typeObjectRepositoryPage.i18n.d.ts +56 -0
- package/types/types/element_translate/typeOsContext.i18n.d.ts +296 -0
- package/types/types/element_translate/typeProject.i18n.d.ts +211 -0
- package/types/types/element_translate/typeScreenResolutionContext.i18n.d.ts +285 -0
- package/types/types/element_translate/typeTag.i18n.d.ts +122 -0
- package/types/types/element_translate/typeTagRelation.i18n.d.ts +165 -0
- package/types/types/element_translate/typeTeamDomain.i18n.d.ts +146 -0
- package/types/types/element_translate/typeTeamMember.i18n.d.ts +194 -0
- package/types/types/element_translate/typeTeamTotalStatistic.i18n.d.ts +246 -0
- package/types/types/element_translate/typeTestAccount.i18n.d.ts +194 -0
- package/types/types/element_translate/typeTestCase.i18n.d.ts +727 -0
- package/types/types/element_translate/typeTestCaseStep.i18n.d.ts +295 -0
- package/types/types/element_translate/typeTestRun.i18n.d.ts +400 -0
- package/types/types/element_translate/typeTestRunResult.i18n.d.ts +257 -0
- package/types/types/element_translate/typeTextDocument.i18n.d.ts +358 -0
- package/types/types/element_translate/typeTextDocumentFolder.i18n.d.ts +173 -0
- package/types/types/element_translate/typeUserAgentContext.i18n.d.ts +384 -0
- package/types/types/element_translate/typeUtilExecution.i18n.d.ts +465 -0
- package/types/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.d.ts +686 -0
- package/types/types/element_translate/typeUtilExecutionUrlInspect.i18n.d.ts +109 -0
- package/types/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.d.ts +243 -0
- package/types/types/family_context/typeBrowserContext.d.ts +173 -0
- package/types/types/family_context/typeDeploymentTargetContext.d.ts +335 -0
- package/types/types/family_context/typeDeviceContext.d.ts +313 -0
- package/types/types/family_context/typeExecutionContext.d.ts +331 -0
- package/types/types/family_context/typeLocaleContext.d.ts +197 -0
- package/types/types/family_context/typeOsContext.d.ts +313 -0
- package/types/types/family_context/typeScreenResolutionContext.d.ts +306 -0
- package/types/types/family_context/typeUserAgentContext.d.ts +409 -0
- package/types/types/family_contracts/familyContracts.d.ts +30 -0
- package/types/types/family_contracts/typeTeamTotalStatistic.d.ts +255 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepActionCatalog.d.ts +85 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepActionCategory.d.ts +12 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepLocatorKind.d.ts +17 -0
- package/types/types/family_elements/autotest_step_actions/autotestStepTargetNormalizer.d.ts +17 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepAction.d.ts +38 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepActionVariants.d.ts +46 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepLocatorAction.d.ts +8 -0
- package/types/types/family_elements/autotest_step_actions/typeAutotestStepLocatorValueAction.d.ts +8 -0
- package/types/types/family_elements/mock_data/abstract_mock_data.d.ts +8 -0
- package/types/types/family_elements/mock_data/mock_data_typeProject.d.ts +16 -0
- package/types/types/family_elements/typeActionLog.d.ts +7 -0
- package/types/types/family_elements/typeAttachment.d.ts +263 -0
- package/types/types/family_elements/typeAutomationTestEnvironment.d.ts +28 -0
- package/types/types/family_elements/typeAutomationTestPlan.d.ts +13 -0
- package/types/types/family_elements/typeAutomationTestStep.d.ts +24 -0
- package/types/types/family_elements/typeAutomationTestStepTarget.d.ts +19 -0
- package/types/types/family_elements/typeAutotestCase.d.ts +178 -0
- package/types/types/family_elements/typeAutotestResult.d.ts +109 -0
- package/types/types/family_elements/typeAutotestRun.d.ts +176 -0
- package/types/types/family_elements/typeAutotestStep.d.ts +155 -0
- package/types/types/family_elements/typeAutotestStepTarget.d.ts +19 -0
- package/types/types/family_elements/typeAutotestSuite.d.ts +64 -0
- package/types/types/family_elements/typeBug.d.ts +1097 -0
- package/types/types/family_elements/typeCustomProperty.d.ts +197 -0
- package/types/types/family_elements/typeFunctional.d.ts +48 -0
- package/types/types/family_elements/typeFunctionalGroup.d.ts +46 -0
- package/types/types/family_elements/typeMilestone.d.ts +51 -0
- package/types/types/family_elements/typeObjectRepositoryElement.d.ts +124 -0
- package/types/types/family_elements/typeObjectRepositoryFolder.d.ts +90 -0
- package/types/types/family_elements/typeObjectRepositoryPage.d.ts +69 -0
- package/types/types/family_elements/typePrice.d.ts +18 -0
- package/types/types/family_elements/typeProject.d.ts +205 -0
- package/types/types/family_elements/typeProjectDocument.d.ts +38 -0
- package/types/types/family_elements/typeProjectTestData.d.ts +20 -0
- package/types/types/family_elements/typeProjectUserRole.d.ts +25 -0
- package/types/types/family_elements/typeTag.d.ts +109 -0
- package/types/types/family_elements/typeTask.d.ts +41 -0
- package/types/types/family_elements/typeTeam.d.ts +54 -0
- package/types/types/family_elements/typeTeamDomain.d.ts +164 -0
- package/types/types/family_elements/typeTeamMember.d.ts +169 -0
- package/types/types/family_elements/typeTeamUserRole.d.ts +27 -0
- package/types/types/family_elements/typeTestAccount.d.ts +150 -0
- package/types/types/family_elements/typeTestCase.d.ts +467 -0
- package/types/types/family_elements/typeTestCaseStep.d.ts +230 -0
- package/types/types/family_elements/typeTestPlan.d.ts +8 -0
- package/types/types/family_elements/typeTestRun.d.ts +285 -0
- package/types/types/family_elements/typeTestRunResult.d.ts +183 -0
- package/types/types/family_elements/typeTestSuite.d.ts +39 -0
- package/types/types/family_elements/typeUser.d.ts +38 -0
- package/types/types/family_events/familyEvent.d.ts +30 -0
- package/types/types/family_events/typeEvent.d.ts +667 -0
- package/types/types/family_files/familyFile.d.ts +11 -0
- package/types/types/family_files/typeFile.d.ts +138 -0
- package/types/types/family_files/typeFileAutotestScreenshot.d.ts +23 -0
- package/types/types/family_files/typeFileFactory.d.ts +7 -0
- package/types/types/family_files/typeFileHtml.d.ts +6 -0
- package/types/types/family_files/typeFileJson.d.ts +6 -0
- package/types/types/family_files/typeFilePostman.d.ts +6 -0
- package/types/types/family_files/typeFileScreenshot.d.ts +32 -0
- package/types/types/family_files/typeFileVideo.d.ts +6 -0
- package/types/types/family_files/typeTextDocument.d.ts +253 -0
- package/types/types/family_files/typeTextDocumentFolder.d.ts +136 -0
- package/types/types/family_relation/typeBugRelation.d.ts +212 -0
- package/types/types/family_relation/typeCustomPropertyValue.d.ts +279 -0
- package/types/types/family_relation/typeTagRelation.d.ts +287 -0
- package/types/types/family_service/familyService.d.ts +6 -0
- package/types/types/family_service/typeFOR.d.ts +17 -0
- package/types/types/family_service/typeFilter.d.ts +20 -0
- package/types/types/family_service/typeFunctionCallback.d.ts +20 -0
- package/types/types/family_utils/familyUtil.d.ts +18 -0
- package/types/types/family_utils/typeUtilExecution.d.ts +394 -0
- package/types/types/family_utils/typeUtilExecutionEvent.d.ts +128 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMulti.d.ts +617 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiCapture.d.ts +26 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiCaptureError.d.ts +25 -0
- package/types/types/family_utils/typeUtilExecutionScreenshotMultiScreenshot.d.ts +33 -0
- package/types/types/family_utils/typeUtilExecutionUrlInspect.d.ts +227 -0
- package/types/types/family_utils/typeUtilExecutionUrlInspectCheck.d.ts +193 -0
- package/types/utils/text_document_image.d.ts +37 -0
- package/types/utils/utils.d.ts +60 -0
- package/publish/app_configuration/abstract_app_configuration.js +0 -33
- package/publish/app_configuration/locale_table_ru.js +0 -267
- package/publish/app_configuration/locale_table_tt.js +0 -267
- package/publish/app_configuration/menu_configuration_main.js +0 -133
- package/publish/app_configuration/menu_configuration_secondary.js +0 -140
- package/publish/app_configuration/table/helpers/column_factory.js +0 -172
- package/publish/app_configuration/table/helpers/column_locale.js +0 -76
- package/publish/app_configuration/table/helpers/execution_context_listing_fields.js +0 -25
- package/publish/app_configuration/table/helpers/section_registry.js +0 -81
- package/publish/app_configuration/table/helpers/table_element_models.js +0 -74
- package/publish/app_configuration/table/sections/autotest_case.js +0 -76
- package/publish/app_configuration/table/sections/autotest_result.js +0 -59
- package/publish/app_configuration/table/sections/autotest_run.js +0 -66
- package/publish/app_configuration/table/sections/autotest_step.js +0 -82
- package/publish/app_configuration/table/sections/autotest_suite.js +0 -42
- package/publish/app_configuration/table/sections/bug.js +0 -113
- package/publish/app_configuration/table/sections/bug_relation.js +0 -179
- package/publish/app_configuration/table/sections/custom_property.js +0 -95
- package/publish/app_configuration/table/sections/event.js +0 -76
- package/publish/app_configuration/table/sections/execution_context.js +0 -130
- package/publish/app_configuration/table/sections/object_repository_element.js +0 -59
- package/publish/app_configuration/table/sections/object_repository_folder.js +0 -41
- package/publish/app_configuration/table/sections/object_repository_page.js +0 -55
- package/publish/app_configuration/table/sections/project.js +0 -65
- package/publish/app_configuration/table/sections/tag.js +0 -82
- package/publish/app_configuration/table/sections/tag_relation.js +0 -309
- package/publish/app_configuration/table/sections/team.js +0 -48
- package/publish/app_configuration/table/sections/team_domain.js +0 -55
- package/publish/app_configuration/table/sections/team_member.js +0 -49
- package/publish/app_configuration/table/sections/test_account.js +0 -78
- package/publish/app_configuration/table/sections/test_case.js +0 -103
- package/publish/app_configuration/table/sections/test_case_step.js +0 -66
- package/publish/app_configuration/table/sections/test_run.js +0 -85
- package/publish/app_configuration/table/sections/test_run_result.js +0 -153
- package/publish/app_configuration/table/sections/text_document.js +0 -37
- package/publish/app_configuration/table/sections/user.js +0 -31
- package/publish/app_configuration/table/sections/util_execution.js +0 -42
- package/publish/app_configuration/table/sections/util_execution_url_inspect.js +0 -60
- package/publish/app_configuration/table/table_base_config.js +0 -135
- package/publish/app_configuration/table/table_configuration.js +0 -156
- package/publish/app_configuration/table_locale_ar.js +0 -676
- package/publish/app_configuration/text_document_editor_config.js +0 -31
- package/publish/dev.entry.js +0 -58
- package/publish/exceptions/BaseException.js +0 -96
- package/publish/services/serviceTranslate.js +0 -101
- package/publish/types/family_context/0_familyContext.js +0 -144
- package/publish/types/family_elements/0_familyGeneralElement.js +0 -683
- package/publish/types/family_elements/1_familyTestAutomation.js +0 -34
- package/publish/types/family_elements/1_familyTestDocumentation.js +0 -21
- package/publish/types/family_elements/typeProjectTestAccount.js +0 -59
- package/publish/types/family_service/typeAppConfiguration.js +0 -39
- package/publish/types/family_service/typeMenuElement.js +0 -32
- package/publish/types/family_service/typeNotification.js +0 -36
- package/publish/types/family_service/typeTableColumn.js +0 -116
- package/publish/types/family_service/typeTableConfiguration.js +0 -66
- /package/{publish → src}/api/api_abstract_reference_class.js +0 -0
- /package/{publish → src}/api/attachment_api.js +0 -0
- /package/{publish → src}/api/bug_relation_api.js +0 -0
- /package/{publish → src}/api/cache/api_search_cache.js +0 -0
- /package/{publish → src}/api/cache/index.js +0 -0
- /package/{publish → src}/api/cache/memory_cache_store.js +0 -0
- /package/{publish → src}/api/context/context_browser_api.js +0 -0
- /package/{publish → src}/api/context/context_deployment_target_api.js +0 -0
- /package/{publish → src}/api/context/context_devices_api.js +0 -0
- /package/{publish → src}/api/context/context_execution_general_api.js +0 -0
- /package/{publish → src}/api/context/context_locale_api.js +0 -0
- /package/{publish → src}/api/context/context_os_api.js +0 -0
- /package/{publish → src}/api/context/context_screen_resolution_api.js +0 -0
- /package/{publish → src}/api/context/context_user_agents_api.js +0 -0
- /package/{publish → src}/api/custom_property/custom_property_template_api.js +0 -0
- /package/{publish → src}/api/custom_property_api.js +0 -0
- /package/{publish → src}/api/custom_property_option_api.js +0 -0
- /package/{publish → src}/api/custom_property_value_api.js +0 -0
- /package/{publish → src}/api/event_api.js +0 -0
- /package/{publish → src}/api/file_app_api.js +0 -0
- /package/{publish → src}/api/service_api.js +0 -0
- /package/{publish → src}/api/tag/tag_color_api.js +0 -0
- /package/{publish → src}/api/tag/tag_template_api.js +0 -0
- /package/{publish → src}/api/tag_api.js +0 -0
- /package/{publish → src}/api/tag_relation_api.js +0 -0
- /package/{publish → src}/api/task_api.js +0 -0
- /package/{publish → src}/api/team_domain_api.js +0 -0
- /package/{publish → src}/api/test_account_api.js +0 -0
- /package/{publish → src}/api/text_document_folder_api.js +0 -0
- /package/{publish → src}/api/user_profile_api.js +0 -0
- /package/{publish → src}/api/util/browser_tools_screenshot_multi_api.js +0 -0
- /package/{publish → src}/api/util/browser_tools_util_execution_api.js +0 -0
- /package/{publish → src}/api/util/url_inspect_api.js +0 -0
- /package/{publish → src}/constants/text_document_limits.js +0 -0
- /package/{publish → src}/exceptions/ApiException.js +0 -0
- /package/{publish → src}/exceptions/GeneralException.js +0 -0
- /package/{publish → src}/services/DeveloperService.js +0 -0
- /package/{publish → src}/services/TeamService.js +0 -0
- /package/{publish → src}/services/abstractService.js +0 -0
- /package/{publish → src}/services/mock_data/MockUserService.js +0 -0
- /package/{publish → src}/types/core/1_familyContext.js +0 -0
- /package/{publish → src}/types/core/1_familyTestAutomation.js +0 -0
- /package/{publish → src}/types/core/1_familyTestDocumentation.js +0 -0
- /package/{publish → src}/types/core/type_class_resolver.js +0 -0
- /package/{publish → src}/types/element_translate/_familyContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/_familyUtil.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAttachment.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestCase.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestResult.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestRun.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestStep.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeAutotestSuite.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBrowserContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBug.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeBugRelation.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeCustomProperty.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeCustomPropertyValue.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeDeploymentTargetContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeDeviceContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeEvent.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeExecutionContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeFile.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeFileScreenshot.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeLocaleContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryElement.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryFolder.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeObjectRepositoryPage.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeOsContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeProject.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeScreenResolutionContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTag.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTagRelation.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamDomain.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamMember.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTeamTotalStatistic.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestAccount.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestCase.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestCaseStep.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestRun.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTestRunResult.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTextDocument.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeTextDocumentFolder.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUserAgentContext.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecution.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionUrlInspect.i18n.js +0 -0
- /package/{publish → src}/types/element_translate/typeUtilExecutionUrlInspectCheck.i18n.js +0 -0
- /package/{publish → src}/types/family_contracts/familyContracts.js +0 -0
- /package/{publish → src}/types/family_contracts/typeTeamTotalStatistic.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepActionCategory.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepLocatorKind.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/autotestStepTargetNormalizer.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepActionVariants.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepLocatorAction.js +0 -0
- /package/{publish → src}/types/family_elements/autotest_step_actions/typeAutotestStepLocatorValueAction.js +0 -0
- /package/{publish → src}/types/family_elements/mock_data/abstract_mock_data.js +0 -0
- /package/{publish → src}/types/family_elements/typeActionLog.js +0 -0
- /package/{publish → src}/types/family_elements/typeAutotestSuite.js +0 -0
- /package/{publish → src}/types/family_elements/typeObjectRepositoryPage.js +0 -0
- /package/{publish → src}/types/family_elements/typeTag.js +0 -0
- /package/{publish → src}/types/family_events/familyEvent.js +0 -0
- /package/{publish → src}/types/family_files/familyFile.js +0 -0
- /package/{publish → src}/types/family_files/typeFileAutotestScreenshot.js +0 -0
- /package/{publish → src}/types/family_files/typeFileFactory.js +0 -0
- /package/{publish → src}/types/family_files/typeFileHtml.js +0 -0
- /package/{publish → src}/types/family_files/typeFileJson.js +0 -0
- /package/{publish → src}/types/family_files/typeFilePostman.js +0 -0
- /package/{publish → src}/types/family_files/typeFileScreenshot.js +0 -0
- /package/{publish → src}/types/family_files/typeFileVideo.js +0 -0
- /package/{publish → src}/types/family_service/familyService.js +0 -0
- /package/{publish → src}/types/family_utils/familyUtil.js +0 -0
- /package/{publish → src}/utils/text_document_image.js +0 -0
- /package/{publish/types → types}/family_elements/typeTeamDomain.js +0 -0
- /package/{publish/types → types}/family_utils/typeUtilExecutionUrlInspect.js +0 -0
- /package/{publish/types → types}/family_utils/typeUtilExecutionUrlInspectCheck.js +0 -0
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
import { typeTagRelation } from '../../../types/family_relation/typeTagRelation.js';
|
|
2
|
-
import { typeTestCase } from '../../../types/family_elements/typeTestCase.js';
|
|
3
|
-
import { typeBug } from '../../../types/family_elements/typeBug.js';
|
|
4
|
-
import { typeTestRun } from '../../../types/family_elements/typeTestRun.js';
|
|
5
|
-
import { typeTestSuite } from '../../../types/family_elements/typeTestSuite.js';
|
|
6
|
-
import { typeTestAccount } from '../../../types/family_elements/typeTestAccount.js';
|
|
7
|
-
import { typeTestRunResult } from '../../../types/family_elements/typeTestRunResult.js';
|
|
8
|
-
import { typeTextDocument } from '../../../types/family_files/typeTextDocument.js';
|
|
9
|
-
import { typeExecutionContext } from '../../../types/family_context/typeExecutionContext.js';
|
|
10
|
-
import { UserService } from '../../../services/UserService.js';
|
|
11
|
-
import { createColumn, createGoToColumn } from '../helpers/column_factory.js';
|
|
12
|
-
import { get_execution_context_listing_field_specs } from '../helpers/execution_context_listing_fields.js';
|
|
13
|
-
import { createListingFor, registerSection } from '../helpers/section_registry.js';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Nested column helper: `element_id.<field>` with header from target element type.
|
|
17
|
-
*
|
|
18
|
-
* @param {typeTagRelation} relation_model
|
|
19
|
-
* @param {string} locale
|
|
20
|
-
* @param {string} header_element_type
|
|
21
|
-
* @param {string} field
|
|
22
|
-
* @param {object} [overrides]
|
|
23
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn}
|
|
24
|
-
*/
|
|
25
|
-
function elementColumn(relation_model, locale, header_element_type, field, overrides = {})
|
|
26
|
-
{
|
|
27
|
-
return createColumn(relation_model, locale, `element_id.${ field }`, {
|
|
28
|
-
header_field : overrides.header_field || field,
|
|
29
|
-
header_element_type: overrides.header_element_type || header_element_type,
|
|
30
|
-
is_editable : false,
|
|
31
|
-
...overrides,
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Linked test cases on tag/details — same fields as test_case × listing (read-only).
|
|
38
|
-
*
|
|
39
|
-
* @param {string} locale
|
|
40
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
41
|
-
*/
|
|
42
|
-
function build_tag_relation_test_cases_columns(locale)
|
|
43
|
-
{
|
|
44
|
-
const relation_model = new typeTagRelation();
|
|
45
|
-
const test_case_model = new typeTestCase();
|
|
46
|
-
const col = (field, overrides = {}) =>
|
|
47
|
-
elementColumn(relation_model, locale, 'test_case', field, overrides);
|
|
48
|
-
|
|
49
|
-
return [
|
|
50
|
-
col('test_case_id', { width: '60', default_sort: 'desc' }),
|
|
51
|
-
col('test_case_title', { width: '480', is_required: true, is_title: true }),
|
|
52
|
-
col('assigned_to', { width: '220' }),
|
|
53
|
-
col('test_case_time_to_execute', { width: '80', is_required: true }),
|
|
54
|
-
col('test_case_complexity', { width: '80', is_required: true }),
|
|
55
|
-
col('test_case_importance', { width: '80', is_required: true }),
|
|
56
|
-
col('test_case_status', { width: '150', is_required: true }),
|
|
57
|
-
createGoToColumn(test_case_model, locale, { field: 'element_id' }),
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Linked bugs on tag/details — same fields as bug × listing (read-only, without tags).
|
|
64
|
-
*
|
|
65
|
-
* @param {string} locale
|
|
66
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
67
|
-
*/
|
|
68
|
-
function build_tag_relation_bugs_columns(locale)
|
|
69
|
-
{
|
|
70
|
-
const relation_model = new typeTagRelation();
|
|
71
|
-
const bug_model = new typeBug();
|
|
72
|
-
const col = (field, overrides = {}) =>
|
|
73
|
-
elementColumn(relation_model, locale, 'bug', field, overrides);
|
|
74
|
-
|
|
75
|
-
return [
|
|
76
|
-
col('bug_id', { width: '60', default_sort: 'desc' }),
|
|
77
|
-
col('bug_title', { width: '420', is_required: true, is_title: true }),
|
|
78
|
-
col('bug_status', { width: '150', is_required: true }),
|
|
79
|
-
col('bug_priority', { width: '130', is_required: true }),
|
|
80
|
-
col('bug_severity', { width: '130', is_required: true }),
|
|
81
|
-
col('bug_type', { width: '150', is_required: true }),
|
|
82
|
-
col('bug_resolution', { width: '150', is_required: true, is_hide: true }),
|
|
83
|
-
col('assigned_to', { width: '220', is_required: true }),
|
|
84
|
-
col('created_at', { width: '170', is_required: true }),
|
|
85
|
-
col('completed_at', { width: '170', is_required: true, is_hide: true }),
|
|
86
|
-
createGoToColumn(bug_model, locale, { field: 'element_id' }),
|
|
87
|
-
];
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Linked test runs on tag/details — same fields as test_run × listing (read-only, without tags).
|
|
93
|
-
*
|
|
94
|
-
* @param {string} locale
|
|
95
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
96
|
-
*/
|
|
97
|
-
function build_tag_relation_test_runs_columns(locale)
|
|
98
|
-
{
|
|
99
|
-
const relation_model = new typeTagRelation();
|
|
100
|
-
const test_run_model = new typeTestRun();
|
|
101
|
-
const col = (field, overrides = {}) =>
|
|
102
|
-
elementColumn(relation_model, locale, 'test_run', field, overrides);
|
|
103
|
-
|
|
104
|
-
return [
|
|
105
|
-
col('test_run_id', { width: '60', default_sort: 'desc' }),
|
|
106
|
-
col('test_run_name', { width: '480', is_required: true, is_title: true }),
|
|
107
|
-
col('test_run_description', { width: '480', is_required: true }),
|
|
108
|
-
col('assigned_to', { width: '220', is_required: true }),
|
|
109
|
-
col('test_run_status', { width: '150', is_required: true }),
|
|
110
|
-
col('created_at', { width: '170', is_required: true }),
|
|
111
|
-
col('completed_at', { width: '170', is_required: true }),
|
|
112
|
-
createGoToColumn(test_run_model, locale, { field: 'element_id' }),
|
|
113
|
-
];
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Linked test suites on tag/details.
|
|
119
|
-
*
|
|
120
|
-
* @param {string} locale
|
|
121
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
122
|
-
*/
|
|
123
|
-
function build_tag_relation_test_suites_columns(locale)
|
|
124
|
-
{
|
|
125
|
-
const relation_model = new typeTagRelation();
|
|
126
|
-
const test_suite_model = new typeTestSuite();
|
|
127
|
-
const col = (field, overrides = {}) =>
|
|
128
|
-
elementColumn(relation_model, locale, 'test_suite', field, overrides);
|
|
129
|
-
|
|
130
|
-
return [
|
|
131
|
-
col('test_suite_id', { width: '60', default_sort: 'desc' }),
|
|
132
|
-
col('test_suite_name', { width: '480', is_required: true, is_title: true }),
|
|
133
|
-
createGoToColumn(test_suite_model, locale, { field: 'element_id' }),
|
|
134
|
-
];
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Linked test accounts on tag/details — same fields as test_account × listing (read-only, without tags).
|
|
140
|
-
*
|
|
141
|
-
* @param {string} locale
|
|
142
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
143
|
-
*/
|
|
144
|
-
function build_tag_relation_test_accounts_columns(locale)
|
|
145
|
-
{
|
|
146
|
-
const relation_model = new typeTagRelation();
|
|
147
|
-
const test_account_model = new typeTestAccount();
|
|
148
|
-
const col = (field, overrides = {}) =>
|
|
149
|
-
elementColumn(relation_model, locale, 'test_account', field, overrides);
|
|
150
|
-
|
|
151
|
-
return [
|
|
152
|
-
col('test_account_id', { width: '60', default_sort: 'desc' }),
|
|
153
|
-
col('resource', { width: '480', is_required: true, is_title: true }),
|
|
154
|
-
col('login', { width: '480', is_required: true }),
|
|
155
|
-
col('password', { width: '480' }),
|
|
156
|
-
col('test_account_description', { width: '480' }),
|
|
157
|
-
col('created_at', { width: '170' }),
|
|
158
|
-
col('updated_at', { width: '170' }),
|
|
159
|
-
createGoToColumn(test_account_model, locale, { field: 'element_id' }),
|
|
160
|
-
];
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Linked test run results on tag/details — same fields as bug_relation × test_run_results.
|
|
166
|
-
*
|
|
167
|
-
* @param {string} locale
|
|
168
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
169
|
-
*/
|
|
170
|
-
function build_tag_relation_test_run_results_columns(locale)
|
|
171
|
-
{
|
|
172
|
-
const relation_model = new typeTagRelation();
|
|
173
|
-
const result_model = new typeTestRunResult();
|
|
174
|
-
const col = (field, overrides = {}) =>
|
|
175
|
-
elementColumn(relation_model, locale, 'test_run_result', field, overrides);
|
|
176
|
-
|
|
177
|
-
return [
|
|
178
|
-
col('test_run_result_id', { width: '60', default_sort: 'desc' }),
|
|
179
|
-
col('assigned_to', { width: '220', is_required: true }),
|
|
180
|
-
col('created_at', { width: '170', is_required: true }),
|
|
181
|
-
col('updated_at', { width: '170', is_required: true }),
|
|
182
|
-
col('completed_at', { width: '170', is_required: true }),
|
|
183
|
-
col('test_result_status', { width: '150', is_required: true }),
|
|
184
|
-
createGoToColumn(result_model, locale, { field: 'element_id' }),
|
|
185
|
-
];
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Linked text documents on tag/details — same fields as text_document × listing (read-only, without tags).
|
|
191
|
-
*
|
|
192
|
-
* @param {string} locale
|
|
193
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
194
|
-
*/
|
|
195
|
-
function build_tag_relation_text_documents_columns(locale)
|
|
196
|
-
{
|
|
197
|
-
const relation_model = new typeTagRelation();
|
|
198
|
-
const text_document_model = new typeTextDocument();
|
|
199
|
-
const col = (field, overrides = {}) =>
|
|
200
|
-
elementColumn(relation_model, locale, 'text_document', field, overrides);
|
|
201
|
-
|
|
202
|
-
return [
|
|
203
|
-
col('text_document_id', { width: '60', default_sort: 'desc' }),
|
|
204
|
-
col('text_document_title', { width: '320', is_title: true }),
|
|
205
|
-
col('text_document_status', { width: '140' }),
|
|
206
|
-
col('text_document_folder_id', { width: '120' }),
|
|
207
|
-
col('created_at', { width: '170' }),
|
|
208
|
-
col('updated_at', { width: '170' }),
|
|
209
|
-
createGoToColumn(text_document_model, locale, { field: 'element_id' }),
|
|
210
|
-
];
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Linked execution contexts on tag/details.
|
|
216
|
-
*
|
|
217
|
-
* @param {string} locale
|
|
218
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
219
|
-
*/
|
|
220
|
-
function build_tag_relation_execution_contexts_columns(locale)
|
|
221
|
-
{
|
|
222
|
-
const relation_model = new typeTagRelation();
|
|
223
|
-
const context_model = new typeExecutionContext();
|
|
224
|
-
const col = (field, overrides = {}) =>
|
|
225
|
-
elementColumn(relation_model, locale, 'execution_context', field, overrides);
|
|
226
|
-
|
|
227
|
-
return [
|
|
228
|
-
...get_execution_context_listing_field_specs().map(({ field, overrides }) => col(field, overrides)),
|
|
229
|
-
createGoToColumn(context_model, locale, { field: 'element_id' }),
|
|
230
|
-
];
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Tags attached to an element (hydrate tag_id).
|
|
236
|
-
*
|
|
237
|
-
* @param {string} locale
|
|
238
|
-
* @returns {import('../../../types/family_service/typeTableColumn.js').typeTableColumn[]}
|
|
239
|
-
*/
|
|
240
|
-
function build_element_tags_columns(locale)
|
|
241
|
-
{
|
|
242
|
-
const relation_model = new typeTagRelation();
|
|
243
|
-
const columns = [];
|
|
244
|
-
|
|
245
|
-
const tagColumn = (field, overrides = {}) => createColumn(relation_model, locale, `tag_id.${ field }`, {
|
|
246
|
-
header_field : field,
|
|
247
|
-
header_element_type: 'tag',
|
|
248
|
-
is_editable : false,
|
|
249
|
-
...overrides,
|
|
250
|
-
});
|
|
251
|
-
|
|
252
|
-
columns.push(tagColumn('tag_id', { width: '60', default_sort: 'desc' }));
|
|
253
|
-
columns.push(tagColumn('name', {
|
|
254
|
-
width : '280',
|
|
255
|
-
is_required: true,
|
|
256
|
-
is_title : true,
|
|
257
|
-
}));
|
|
258
|
-
columns.push(tagColumn('tag_color_id', { width: '120' }));
|
|
259
|
-
|
|
260
|
-
return columns;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Секции `tag_relation` для tag/details tabs и attach на элементах.
|
|
266
|
-
*
|
|
267
|
-
* @param {Object} config
|
|
268
|
-
* @returns {void}
|
|
269
|
-
*/
|
|
270
|
-
export function bootstrap_tag_relation(config)
|
|
271
|
-
{
|
|
272
|
-
const locale = UserService.get_current_language();
|
|
273
|
-
|
|
274
|
-
registerSection(config, 'tag_relation', 'test_cases', build_tag_relation_test_cases_columns(locale), {
|
|
275
|
-
for: createListingFor([ 'tag_id', 'element_type' ], { add: [ 'elements' ] }),
|
|
276
|
-
});
|
|
277
|
-
|
|
278
|
-
registerSection(config, 'tag_relation', 'bugs', build_tag_relation_bugs_columns(locale), {
|
|
279
|
-
for: createListingFor([ 'tag_id', 'element_type' ], { add: [ 'elements' ] }),
|
|
280
|
-
});
|
|
281
|
-
|
|
282
|
-
registerSection(config, 'tag_relation', 'test_runs', build_tag_relation_test_runs_columns(locale), {
|
|
283
|
-
for: createListingFor([ 'tag_id', 'element_type' ], { add: [ 'elements' ] }),
|
|
284
|
-
});
|
|
285
|
-
|
|
286
|
-
registerSection(config, 'tag_relation', 'test_suites', build_tag_relation_test_suites_columns(locale), {
|
|
287
|
-
for: createListingFor([ 'tag_id', 'element_type' ], { add: [ 'elements' ] }),
|
|
288
|
-
});
|
|
289
|
-
|
|
290
|
-
registerSection(config, 'tag_relation', 'test_accounts', build_tag_relation_test_accounts_columns(locale), {
|
|
291
|
-
for: createListingFor([ 'tag_id', 'element_type' ], { add: [ 'elements' ] }),
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
registerSection(config, 'tag_relation', 'test_run_results', build_tag_relation_test_run_results_columns(locale), {
|
|
295
|
-
for: createListingFor([ 'tag_id', 'element_type' ], { add: [ 'elements' ] }),
|
|
296
|
-
});
|
|
297
|
-
|
|
298
|
-
registerSection(config, 'tag_relation', 'text_documents', build_tag_relation_text_documents_columns(locale), {
|
|
299
|
-
for: createListingFor([ 'tag_id', 'element_type' ], { add: [ 'elements' ] }),
|
|
300
|
-
});
|
|
301
|
-
|
|
302
|
-
registerSection(config, 'tag_relation', 'execution_contexts', build_tag_relation_execution_contexts_columns(locale), {
|
|
303
|
-
for: createListingFor([ 'tag_id', 'element_type' ], { add: [ 'elements' ] }),
|
|
304
|
-
});
|
|
305
|
-
|
|
306
|
-
registerSection(config, 'tag_relation', 'element_tags', build_element_tags_columns(locale), {
|
|
307
|
-
for: createListingFor([ 'element_type', 'element_id' ], { add: [ 'tags' ] }),
|
|
308
|
-
});
|
|
309
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { typeTeam } from '../../../types/family_elements/typeTeam.js';
|
|
2
|
-
import { typeTeamTotalStatistic } from '../../../types/family_contracts/typeTeamTotalStatistic.js';
|
|
3
|
-
import { UserService } from '../../../services/UserService.js';
|
|
4
|
-
import { createColumn } from '../helpers/column_factory.js';
|
|
5
|
-
import { registerSection } from '../helpers/section_registry.js';
|
|
6
|
-
|
|
7
|
-
function build_team_profile_columns(locale)
|
|
8
|
-
{
|
|
9
|
-
const model = new typeTeam();
|
|
10
|
-
|
|
11
|
-
return [
|
|
12
|
-
createColumn(model, locale, 'team_name', {
|
|
13
|
-
width : '480',
|
|
14
|
-
is_sortable : false,
|
|
15
|
-
is_filter : false,
|
|
16
|
-
is_editable : false,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
function build_team_total_statistic_columns(locale)
|
|
23
|
-
{
|
|
24
|
-
const model = new typeTeamTotalStatistic();
|
|
25
|
-
const fields = [ 'project', 'test_suite', 'test_case', 'test_case_step', 'test_run', 'team_member' ];
|
|
26
|
-
|
|
27
|
-
return fields.map((field, index) => createColumn(model, locale, field, {
|
|
28
|
-
sort_order : String(index + 1),
|
|
29
|
-
is_sortable : false,
|
|
30
|
-
is_filter : false,
|
|
31
|
-
is_editable : false,
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Секции `team`: `profile`; `team_total_statistic`: `details`.
|
|
38
|
-
*
|
|
39
|
-
* @param {Object<string, Object<string, { config: import('../../../types/family_service/typeTableConfiguration.js').typeTableConfiguration }>>} config
|
|
40
|
-
* @returns {void}
|
|
41
|
-
*/
|
|
42
|
-
export function bootstrap_team(config)
|
|
43
|
-
{
|
|
44
|
-
const locale = UserService.get_current_language();
|
|
45
|
-
|
|
46
|
-
registerSection(config, 'team', 'profile', build_team_profile_columns(locale));
|
|
47
|
-
registerSection(config, 'team_total_statistic', 'details', build_team_total_statistic_columns(locale));
|
|
48
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { typeTeamDomain } from '../../../types/family_elements/typeTeamDomain.js';
|
|
2
|
-
import { UserService } from '../../../services/UserService.js';
|
|
3
|
-
import {
|
|
4
|
-
createColumn,
|
|
5
|
-
createGoToColumn,
|
|
6
|
-
createPrimaryKeyColumn,
|
|
7
|
-
} from '../helpers/column_factory.js';
|
|
8
|
-
import { createListingFor, registerSection } from '../helpers/section_registry.js';
|
|
9
|
-
|
|
10
|
-
function build_team_domain_listing_columns(locale)
|
|
11
|
-
{
|
|
12
|
-
const model = new typeTeamDomain();
|
|
13
|
-
|
|
14
|
-
return [
|
|
15
|
-
createPrimaryKeyColumn(model, locale, { is_hide: true, default_sort: 'desc' }),
|
|
16
|
-
createColumn(model, locale, 'domain_canon', {
|
|
17
|
-
width : '280',
|
|
18
|
-
is_title : true,
|
|
19
|
-
is_filter : false,
|
|
20
|
-
is_editable: false,
|
|
21
|
-
}),
|
|
22
|
-
createColumn(model, locale, 'display_name', {
|
|
23
|
-
width : '200',
|
|
24
|
-
is_filter : false,
|
|
25
|
-
is_editable: false,
|
|
26
|
-
}),
|
|
27
|
-
createColumn(model, locale, 'verification_method', {
|
|
28
|
-
width : '180',
|
|
29
|
-
is_filter : false,
|
|
30
|
-
is_editable: false,
|
|
31
|
-
}),
|
|
32
|
-
createColumn(model, locale, 'domain_status', {
|
|
33
|
-
width : '160',
|
|
34
|
-
is_filter : false,
|
|
35
|
-
is_editable: false,
|
|
36
|
-
}),
|
|
37
|
-
createGoToColumn(model, locale),
|
|
38
|
-
];
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Секция `team_domain`: `listing`.
|
|
44
|
-
*
|
|
45
|
-
* @param {Object} config
|
|
46
|
-
* @returns {void}
|
|
47
|
-
*/
|
|
48
|
-
export function bootstrap_team_domain(config)
|
|
49
|
-
{
|
|
50
|
-
const locale = UserService.get_current_language();
|
|
51
|
-
|
|
52
|
-
registerSection(config, 'team_domain', 'listing', build_team_domain_listing_columns(locale), {
|
|
53
|
-
for: createListingFor([]),
|
|
54
|
-
});
|
|
55
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { typeTeamMember } from '../../../types/family_elements/typeTeamMember.js';
|
|
2
|
-
import { UserService } from '../../../services/UserService.js';
|
|
3
|
-
import { createColumn } from '../helpers/column_factory.js';
|
|
4
|
-
import { createListingFor, registerSection } from '../helpers/section_registry.js';
|
|
5
|
-
|
|
6
|
-
function build_team_member_listing_columns(locale)
|
|
7
|
-
{
|
|
8
|
-
const model = new typeTeamMember();
|
|
9
|
-
|
|
10
|
-
return [
|
|
11
|
-
createColumn(model, locale, 'user_id.first_name', {
|
|
12
|
-
header_field: 'first_name',
|
|
13
|
-
width : '200',
|
|
14
|
-
is_filter : false,
|
|
15
|
-
is_editable : false,
|
|
16
|
-
}),
|
|
17
|
-
createColumn(model, locale, 'user_id.last_name', {
|
|
18
|
-
header_field: 'last_name',
|
|
19
|
-
width : '200',
|
|
20
|
-
is_filter : false,
|
|
21
|
-
is_editable : false,
|
|
22
|
-
}),
|
|
23
|
-
createColumn(model, locale, 'user_id.email', {
|
|
24
|
-
header_field : 'email',
|
|
25
|
-
header_element_type : 'user',
|
|
26
|
-
width : '200',
|
|
27
|
-
is_filter : false,
|
|
28
|
-
is_editable : false,
|
|
29
|
-
}),
|
|
30
|
-
createColumn(model, locale, 'team_member_status', { width: '160', is_filter: false, is_editable: true }),
|
|
31
|
-
createColumn(model, locale, 'member_role', { width: '200', is_filter: false, is_editable: true }),
|
|
32
|
-
];
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Секция `team_member`: `listing`.
|
|
38
|
-
*
|
|
39
|
-
* @param {Object<string, Object<string, { config: import('../../../types/family_service/typeTableConfiguration.js').typeTableConfiguration }>>} config
|
|
40
|
-
* @returns {void}
|
|
41
|
-
*/
|
|
42
|
-
export function bootstrap_team_member(config)
|
|
43
|
-
{
|
|
44
|
-
const locale = UserService.get_current_language();
|
|
45
|
-
|
|
46
|
-
registerSection(config, 'team_member', 'listing', build_team_member_listing_columns(locale), {
|
|
47
|
-
for: createListingFor([], { add: [ 'users' ] }),
|
|
48
|
-
});
|
|
49
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { typeTestAccount } from '../../../types/family_elements/typeTestAccount.js';
|
|
2
|
-
import { UserService } from '../../../services/UserService.js';
|
|
3
|
-
import { createColumn, createGoToColumn, createPrimaryKeyColumn } from '../helpers/column_factory.js';
|
|
4
|
-
import { createListingFor, registerSection } from '../helpers/section_registry.js';
|
|
5
|
-
import { typeTableColumn } from '../../../types/family_service/typeTableColumn.js';
|
|
6
|
-
|
|
7
|
-
function build_test_account_listing_columns(locale)
|
|
8
|
-
{
|
|
9
|
-
const model = new typeTestAccount();
|
|
10
|
-
|
|
11
|
-
return [
|
|
12
|
-
createPrimaryKeyColumn(model, locale),
|
|
13
|
-
createColumn(model, locale, 'resource', { width: '480', is_editable: true, is_required: true }),
|
|
14
|
-
createColumn(model, locale, 'login', { width: '480', is_editable: true, is_required: true }),
|
|
15
|
-
createColumn(model, locale, 'tags', {
|
|
16
|
-
width : '220',
|
|
17
|
-
is_editable: false,
|
|
18
|
-
is_sortable: true,
|
|
19
|
-
is_required: false,
|
|
20
|
-
}),
|
|
21
|
-
createColumn(model, locale, 'password', { width: '480', is_editable: true }),
|
|
22
|
-
createColumn(model, locale, 'test_account_description', { width: '480', is_editable: true }),
|
|
23
|
-
createColumn(model, locale, 'created_at', { width: '170' }),
|
|
24
|
-
createColumn(model, locale, 'updated_at', { width: '170' }),
|
|
25
|
-
createGoToColumn(model, locale),
|
|
26
|
-
];
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
function build_test_account_details_columns(locale)
|
|
31
|
-
{
|
|
32
|
-
const model = new typeTestAccount();
|
|
33
|
-
const fields = [
|
|
34
|
-
'test_account_id',
|
|
35
|
-
'resource',
|
|
36
|
-
'login',
|
|
37
|
-
'password',
|
|
38
|
-
'created_at',
|
|
39
|
-
'updated_at',
|
|
40
|
-
];
|
|
41
|
-
|
|
42
|
-
return [
|
|
43
|
-
...fields.map((field, index) => createColumn(model, locale, field, {
|
|
44
|
-
sort_order : String(index + 1),
|
|
45
|
-
is_editable: [ 'resource', 'login', 'password' ].includes(field),
|
|
46
|
-
is_sortable: false,
|
|
47
|
-
is_filter : false,
|
|
48
|
-
})),
|
|
49
|
-
new typeTableColumn({
|
|
50
|
-
header_name: 'copy',
|
|
51
|
-
field : 'copy',
|
|
52
|
-
width : '80',
|
|
53
|
-
sort_order : '99',
|
|
54
|
-
is_sortable: false,
|
|
55
|
-
is_filter : false,
|
|
56
|
-
is_editable: false,
|
|
57
|
-
column_kind: 'copy',
|
|
58
|
-
}),
|
|
59
|
-
];
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Секции `test_account`: `listing`, `details` (в details — колонка `copy`).
|
|
65
|
-
*
|
|
66
|
-
* @param {Object<string, Object<string, { config: import('../../../types/family_service/typeTableConfiguration.js').typeTableConfiguration }>>} config
|
|
67
|
-
* @returns {void}
|
|
68
|
-
*/
|
|
69
|
-
export function bootstrap_test_account(config)
|
|
70
|
-
{
|
|
71
|
-
const locale = UserService.get_current_language();
|
|
72
|
-
|
|
73
|
-
registerSection(config, 'test_account', 'listing', build_test_account_listing_columns(locale), {
|
|
74
|
-
for: createListingFor([ 'project_id' ], { add: [ 'tags' ] }),
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
registerSection(config, 'test_account', 'details', build_test_account_details_columns(locale));
|
|
78
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { typeTestCase } from '../../../types/family_elements/typeTestCase.js';
|
|
2
|
-
import { UserService } from '../../../services/UserService.js';
|
|
3
|
-
import { createColumn, createGoToColumn, createPrimaryKeyColumn, createRowSelectColumn } from '../helpers/column_factory.js';
|
|
4
|
-
import { createListingFor, registerSection } from '../helpers/section_registry.js';
|
|
5
|
-
|
|
6
|
-
function build_test_case_listing_columns(locale, { include_select = true, include_goto = true, include_status = true } = {})
|
|
7
|
-
{
|
|
8
|
-
const model = new typeTestCase();
|
|
9
|
-
const columns = [];
|
|
10
|
-
|
|
11
|
-
if (include_select)
|
|
12
|
-
{
|
|
13
|
-
columns.push(createRowSelectColumn());
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
columns.push(createPrimaryKeyColumn(model, locale));
|
|
17
|
-
columns.push(createColumn(model, locale, 'test_case_title', {
|
|
18
|
-
width : '480',
|
|
19
|
-
is_editable : true,
|
|
20
|
-
is_required : true,
|
|
21
|
-
is_title : true,
|
|
22
|
-
}));
|
|
23
|
-
columns.push(createColumn(model, locale, 'assigned_to', { width: '220', is_editable: true }));
|
|
24
|
-
columns.push(createColumn(model, locale, 'tags', {
|
|
25
|
-
width : '220',
|
|
26
|
-
is_editable: false,
|
|
27
|
-
is_sortable: true,
|
|
28
|
-
is_required: false,
|
|
29
|
-
}));
|
|
30
|
-
columns.push(createColumn(model, locale, 'test_case_time_to_execute', { width: '80', is_editable: true, is_required: true }));
|
|
31
|
-
columns.push(createColumn(model, locale, 'test_case_complexity', { width: '80', is_editable: true, is_required: true }));
|
|
32
|
-
columns.push(createColumn(model, locale, 'test_case_importance', { width: '80', is_editable: true, is_required: true }));
|
|
33
|
-
|
|
34
|
-
if (include_status)
|
|
35
|
-
{
|
|
36
|
-
columns.push(createColumn(model, locale, 'test_case_status', { width: '150', is_editable: true, is_required: true }));
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
if (include_goto)
|
|
40
|
-
{
|
|
41
|
-
columns.push(createGoToColumn(model, locale));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return columns;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
function build_test_case_todo_columns(locale)
|
|
49
|
-
{
|
|
50
|
-
return build_test_case_listing_columns(locale, {
|
|
51
|
-
include_select: false,
|
|
52
|
-
include_status: false,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Секции `test_case`: `listing`, `todo`, `picker`.
|
|
59
|
-
*
|
|
60
|
-
* @param {Object<string, Object<string, { config: import('../../../types/family_service/typeTableConfiguration.js').typeTableConfiguration }>>} config
|
|
61
|
-
* @returns {void}
|
|
62
|
-
*/
|
|
63
|
-
export function bootstrap_test_case(config)
|
|
64
|
-
{
|
|
65
|
-
const locale = UserService.get_current_language();
|
|
66
|
-
|
|
67
|
-
registerSection(config, 'test_case', 'listing', build_test_case_listing_columns(locale), {
|
|
68
|
-
for: createListingFor([ 'project_id', 'test_suite_id' ], { add: [ 'tags' ] }),
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
registerSection(config, 'test_case', 'todo', build_test_case_todo_columns(locale), {
|
|
72
|
-
contained_element_type: 'project',
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
registerSection(config, 'test_case', 'picker', [
|
|
76
|
-
createRowSelectColumn({ width: '52' }),
|
|
77
|
-
createColumn(new typeTestCase(), locale, 'test_case_title', {
|
|
78
|
-
width : '480',
|
|
79
|
-
is_sortable : false,
|
|
80
|
-
is_filter : false,
|
|
81
|
-
}),
|
|
82
|
-
createColumn(new typeTestCase(), locale, 'assigned_to', {
|
|
83
|
-
width : '220',
|
|
84
|
-
is_sortable : false,
|
|
85
|
-
is_filter : false,
|
|
86
|
-
}),
|
|
87
|
-
createColumn(new typeTestCase(), locale, 'test_case_time_to_execute', {
|
|
88
|
-
width : '80',
|
|
89
|
-
is_sortable : false,
|
|
90
|
-
is_filter : false,
|
|
91
|
-
}),
|
|
92
|
-
createColumn(new typeTestCase(), locale, 'test_case_complexity', {
|
|
93
|
-
width : '80',
|
|
94
|
-
is_sortable : false,
|
|
95
|
-
is_filter : false,
|
|
96
|
-
}),
|
|
97
|
-
createColumn(new typeTestCase(), locale, 'test_case_importance', {
|
|
98
|
-
width : '80',
|
|
99
|
-
is_sortable : false,
|
|
100
|
-
is_filter : false,
|
|
101
|
-
}),
|
|
102
|
-
]);
|
|
103
|
-
}
|