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,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LEGACY — TipTap toolbar stub from early text document plan (not shipped).
|
|
3
|
-
*
|
|
4
|
-
* Text documents use CKEditor 4 in web_app (`textDocumentEditorConfig.ts`).
|
|
5
|
-
* TipTap was evaluated and rejected — see complex_processes/text_editor/01-decisions.md.
|
|
6
|
-
*
|
|
7
|
-
* @deprecated Not consumed by web_app. Kept for export compatibility only.
|
|
8
|
-
* @version v.1.1 (04/07/2026)
|
|
9
|
-
*/
|
|
10
|
-
export const text_document_editor_config = {
|
|
11
|
-
starterKit: {
|
|
12
|
-
heading: {
|
|
13
|
-
levels: [ 1, 2, 3 ],
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
underline : true,
|
|
17
|
-
textAlign : true,
|
|
18
|
-
color : true,
|
|
19
|
-
highlight : true,
|
|
20
|
-
link : true,
|
|
21
|
-
placeholder : 'Start writing…',
|
|
22
|
-
numberedHeadings: true,
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @returns {typeof text_document_editor_config}
|
|
27
|
-
*/
|
|
28
|
-
export function get_text_document_editor_config()
|
|
29
|
-
{
|
|
30
|
-
return text_document_editor_config;
|
|
31
|
-
}
|
package/publish/dev.entry.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Точка входа dev-сборки: всё публичное API ядра в глобальной области (window).
|
|
3
|
-
* Используется в demo/index.html и в консоли браузера по документации.
|
|
4
|
-
*/
|
|
5
|
-
import * as Core from './index.js';
|
|
6
|
-
import * as Utils from './utils/utils.js';
|
|
7
|
-
import { ApiException } from './exceptions/ApiException.js';
|
|
8
|
-
import { MenuConfigurationMain } from './app_configuration/menu_configuration_main.js';
|
|
9
|
-
import { MenuConfigurationSecondary } from './app_configuration/menu_configuration_secondary.js';
|
|
10
|
-
|
|
11
|
-
const EXTRA_GLOBALS = {
|
|
12
|
-
ApiException,
|
|
13
|
-
MenuConfigurationMain,
|
|
14
|
-
MenuConfigurationSecondary,
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/** Утилиты, которые должны быть доступны в консоли как глобальные функции */
|
|
18
|
-
const UTIL_GLOBAL_NAMES = [
|
|
19
|
-
'is_array',
|
|
20
|
-
'is_number',
|
|
21
|
-
'is_object',
|
|
22
|
-
'is_string',
|
|
23
|
-
'echo',
|
|
24
|
-
'echo_table',
|
|
25
|
-
'count',
|
|
26
|
-
'cls',
|
|
27
|
-
'clone_object',
|
|
28
|
-
'in_array',
|
|
29
|
-
];
|
|
30
|
-
|
|
31
|
-
function assignDevGlobals()
|
|
32
|
-
{
|
|
33
|
-
for (const [ name, value ] of Object.entries(Core))
|
|
34
|
-
{
|
|
35
|
-
if (value !== undefined)
|
|
36
|
-
{
|
|
37
|
-
window[ name ] = value;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
for (const [ name, value ] of Object.entries(EXTRA_GLOBALS))
|
|
42
|
-
{
|
|
43
|
-
if (value !== undefined)
|
|
44
|
-
{
|
|
45
|
-
window[ name ] = value;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
for (const name of UTIL_GLOBAL_NAMES)
|
|
50
|
-
{
|
|
51
|
-
if (Utils[ name ] !== undefined)
|
|
52
|
-
{
|
|
53
|
-
window[ name ] = Utils[ name ];
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
assignDevGlobals();
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @version v.1.0 (01/05/2026)
|
|
4
|
-
*/
|
|
5
|
-
export class BaseException extends Error
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
error_log_vendor;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Сообщение об ошибке
|
|
12
|
-
* @type {string}
|
|
13
|
-
*/
|
|
14
|
-
message = '';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Нативная ошибка
|
|
18
|
-
* @type {null|Error}
|
|
19
|
-
*/
|
|
20
|
-
error = null;
|
|
21
|
-
|
|
22
|
-
constructor(options)
|
|
23
|
-
{
|
|
24
|
-
super();
|
|
25
|
-
|
|
26
|
-
if (options.message)
|
|
27
|
-
{
|
|
28
|
-
this.message = options.message;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
if (options.error instanceof Error)
|
|
32
|
-
{
|
|
33
|
-
this.error = options.error;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
this.capture_exception();
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @version v.1.0 (01/05/2026)
|
|
43
|
-
* @returns {string}
|
|
44
|
-
*/
|
|
45
|
-
get_message()
|
|
46
|
-
{
|
|
47
|
-
if (this.error instanceof Error)
|
|
48
|
-
{
|
|
49
|
-
return this.error.message;
|
|
50
|
-
}
|
|
51
|
-
else
|
|
52
|
-
{
|
|
53
|
-
return this.message;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @version v.1.0 (01/05/2026)
|
|
61
|
-
*/
|
|
62
|
-
set_context()
|
|
63
|
-
{
|
|
64
|
-
if (this.error_log_vendor)
|
|
65
|
-
{
|
|
66
|
-
this.error_log_vendor.setTag('frontend_host', window.ApiService.frontend_host);
|
|
67
|
-
this.error_log_vendor.setTag('general_domain', window.ApiService.general_domain);
|
|
68
|
-
this.error_log_vendor.setTag('current_user_id', UserService.current_user_id);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @version v.1.0 (01/05/2026)
|
|
76
|
-
*/
|
|
77
|
-
capture_exception()
|
|
78
|
-
{
|
|
79
|
-
if (this.error_log_vendor)
|
|
80
|
-
{
|
|
81
|
-
Sentry.captureException(new Error(this.message), scope =>
|
|
82
|
-
{
|
|
83
|
-
scope.clear();
|
|
84
|
-
this.set_context();
|
|
85
|
-
|
|
86
|
-
scope.setTag('frontend_host', window.ApiService.frontend_host);
|
|
87
|
-
scope.setTag('general_domain', window.ApiService.general_domain);
|
|
88
|
-
scope.setTag('current_user_id', UserService.current_user_id);
|
|
89
|
-
|
|
90
|
-
return scope;
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { abstractService } from "./abstractService";
|
|
2
|
-
import i18next from 'i18next';
|
|
3
|
-
import { Api } from "../api/index.js";
|
|
4
|
-
import { echo, in_array } from "../utils/utils.js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Не используется. Переводы полей моделей — через `*_translate_matrix` на типах
|
|
8
|
-
* (`get_attribute_name_translate`, `get_enum_value_translate`). Сервис оставлен как заготовка.
|
|
9
|
-
*
|
|
10
|
-
* @version v.0.1 (25/06/2024)
|
|
11
|
-
*/
|
|
12
|
-
export class serviceTranslate extends abstractService
|
|
13
|
-
{
|
|
14
|
-
#language = 'en';
|
|
15
|
-
#available_language = [ 'ru', 'en' ];
|
|
16
|
-
#dictionary = false; // может сделать сторадж отдельно и static ?
|
|
17
|
-
#vendor_instance;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @version v.0.1 (25/06/2024)
|
|
23
|
-
* @param {?object} init_options
|
|
24
|
-
* @returns {serviceTranslate}
|
|
25
|
-
*/
|
|
26
|
-
constructor(init_options = false)
|
|
27
|
-
{
|
|
28
|
-
super(init_options);
|
|
29
|
-
|
|
30
|
-
if (init_options?.language)
|
|
31
|
-
{
|
|
32
|
-
if (in_array(init_options?.language, this.#available_language))
|
|
33
|
-
{
|
|
34
|
-
this.#language = init_options?.language;
|
|
35
|
-
}
|
|
36
|
-
else
|
|
37
|
-
{
|
|
38
|
-
echo({ init_options });
|
|
39
|
-
throw new Error('Unsupported language');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (this.constructor._instance)
|
|
44
|
-
{
|
|
45
|
-
return this.constructor._instance;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
this.init_options = init_options;
|
|
49
|
-
this.constructor._instance = this;
|
|
50
|
-
|
|
51
|
-
this.#bootstrap();
|
|
52
|
-
|
|
53
|
-
return this.constructor._instance;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @version v.0.1 (25/06/2024)
|
|
60
|
-
* @param api_response
|
|
61
|
-
*/
|
|
62
|
-
#api_response_parser(api_response)
|
|
63
|
-
{
|
|
64
|
-
|
|
65
|
-
// заготовка
|
|
66
|
-
return api_response;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @version v.0.1 (25/06/2024)
|
|
73
|
-
*/
|
|
74
|
-
async #bootstrap()
|
|
75
|
-
{
|
|
76
|
-
this.#dictionary = await Api.service.translate_get_dictionaries();
|
|
77
|
-
|
|
78
|
-
let normalize_response = this.#api_response_parser(this.#dictionary);
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
await i18next.init({
|
|
82
|
-
lng : this.#language,
|
|
83
|
-
debug : false,
|
|
84
|
-
resources: normalize_response
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
this.#vendor_instance = i18next;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @version v.0.1 (25/06/2024)
|
|
94
|
-
* @param group
|
|
95
|
-
* @param key
|
|
96
|
-
*/
|
|
97
|
-
get(group, key)
|
|
98
|
-
{
|
|
99
|
-
return this.#vendor_instance.t(group + '.' + key);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { familyGeneralElement } from "../family_elements/0_familyGeneralElement.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Семейство справочников осей окружения (context catalogs).
|
|
6
|
-
*
|
|
7
|
-
* Строки справочника: system (seed сервиса) и project (свои записи команды).
|
|
8
|
-
* Стабильный код автоматизации: context_key. Отображение: context_name.
|
|
9
|
-
*
|
|
10
|
-
* @see typeExecutionContext — снимок FK на момент бага / прогона / автотеста
|
|
11
|
-
*
|
|
12
|
-
* @version v.0.1 (03/06/2026)
|
|
13
|
-
*/
|
|
14
|
-
export class familyContext extends familyGeneralElement
|
|
15
|
-
{
|
|
16
|
-
context_key;
|
|
17
|
-
context_name;
|
|
18
|
-
context_scope;
|
|
19
|
-
project_id;
|
|
20
|
-
parent_context_id;
|
|
21
|
-
sort_order;
|
|
22
|
-
is_active;
|
|
23
|
-
meta;
|
|
24
|
-
created_at;
|
|
25
|
-
updated_at;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Ось справочника (browser, os, …) — переопределяется в наследниках.
|
|
29
|
-
*
|
|
30
|
-
* @type {string|false}
|
|
31
|
-
*/
|
|
32
|
-
context_axis = false;
|
|
33
|
-
|
|
34
|
-
available_enum_values = familyContext.get_base_available_enum_values();
|
|
35
|
-
|
|
36
|
-
enum_value_translate_matrix = familyContext.get_base_enum_value_translate_matrix();
|
|
37
|
-
|
|
38
|
-
attribute_name_translate_matrix = familyContext.get_catalog_attribute_name_translate_matrix();
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @returns {object}
|
|
43
|
-
*/
|
|
44
|
-
static get_base_available_enum_values()
|
|
45
|
-
{
|
|
46
|
-
return {
|
|
47
|
-
context_scope: [ 'SYSTEM', 'PROJECT' ],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @returns {object}
|
|
54
|
-
*/
|
|
55
|
-
static get_base_enum_value_translate_matrix()
|
|
56
|
-
{
|
|
57
|
-
return {
|
|
58
|
-
context_scope: {
|
|
59
|
-
en: {
|
|
60
|
-
SYSTEM : 'System',
|
|
61
|
-
PROJECT: 'Project',
|
|
62
|
-
},
|
|
63
|
-
ru: {
|
|
64
|
-
SYSTEM : 'Системный',
|
|
65
|
-
PROJECT: 'Проекта',
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @returns {string|false}
|
|
74
|
-
*/
|
|
75
|
-
get_context_axis()
|
|
76
|
-
{
|
|
77
|
-
return this.context_axis || false;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Общие поля записи справочника (добавляются в structure_scheme наследников).
|
|
83
|
-
*
|
|
84
|
-
* @returns {object}
|
|
85
|
-
*/
|
|
86
|
-
static get_catalog_base_structure_scheme()
|
|
87
|
-
{
|
|
88
|
-
return {
|
|
89
|
-
context_key : 'string | max:128 | require',
|
|
90
|
-
context_name : 'string | max:255 | require',
|
|
91
|
-
context_scope : 'string | enum | require',
|
|
92
|
-
project_id : 'integer | optional',
|
|
93
|
-
parent_context_id : 'integer | optional',
|
|
94
|
-
sort_order : 'integer | optional',
|
|
95
|
-
is_active : 'boolean | optional',
|
|
96
|
-
meta : 'object | optional',
|
|
97
|
-
created_at : 'timestamp | require',
|
|
98
|
-
updated_at : 'timestamp | optional',
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @returns {{ en: object, ru: object }}
|
|
105
|
-
*/
|
|
106
|
-
static get_catalog_attribute_name_translate_matrix()
|
|
107
|
-
{
|
|
108
|
-
return {
|
|
109
|
-
en: {
|
|
110
|
-
context_key : 'Key',
|
|
111
|
-
context_name : 'Name',
|
|
112
|
-
context_scope : 'Scope',
|
|
113
|
-
project_id : 'Project',
|
|
114
|
-
parent_context_id : 'Parent',
|
|
115
|
-
sort_order : 'Sort order',
|
|
116
|
-
is_active : 'Active',
|
|
117
|
-
meta : 'Meta',
|
|
118
|
-
created_at : 'Created at',
|
|
119
|
-
updated_at : 'Updated at',
|
|
120
|
-
},
|
|
121
|
-
ru: {
|
|
122
|
-
context_key : 'Ключ',
|
|
123
|
-
context_name : 'Название',
|
|
124
|
-
context_scope : 'Область',
|
|
125
|
-
project_id : 'Проект',
|
|
126
|
-
parent_context_id : 'Родитель',
|
|
127
|
-
sort_order : 'Порядок',
|
|
128
|
-
is_active : 'Активен',
|
|
129
|
-
meta : 'Мета',
|
|
130
|
-
created_at : 'Создано',
|
|
131
|
-
updated_at : 'Обновлено',
|
|
132
|
-
},
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @param {any} data
|
|
139
|
-
*/
|
|
140
|
-
constructor(data = false)
|
|
141
|
-
{
|
|
142
|
-
super();
|
|
143
|
-
}
|
|
144
|
-
}
|