@devtron-labs/devtron-fe-common-lib 4.0.2 → 4.0.3-pre-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/dist/@code-editor-BAM7bZOw.js +101094 -0
- package/dist/@common-rjsf-Bx2aOoF1.js +14244 -0
- package/dist/@framer-motion-CJHeDr_5.js +151 -0
- package/dist/@react-virtualized-sticky-tree-Cru7sOnT.js +1255 -0
- package/dist/@src-assets-images-B2NAtpLS.js +1073 -0
- package/dist/@vendor-M2R6W7KJ.js +82170 -0
- package/dist/Common/API/CoreAPI.d.ts +29 -0
- package/dist/Common/API/QueryClientProvider.d.ts +2 -0
- package/dist/Common/API/constants.d.ts +70 -0
- package/dist/Common/API/index.d.ts +5 -0
- package/dist/Common/API/reactQueryHooks.d.ts +7 -0
- package/dist/Common/API/types.d.ts +23 -0
- package/dist/Common/API/utils.d.ts +12 -0
- package/dist/Common/AddCDButton/AddCDButton.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +3 -2
- package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +2 -0
- package/dist/Common/BreadCrumb/Types.d.ts +25 -0
- package/dist/Common/CIPipeline.Types.d.ts +68 -15
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -1
- package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
- package/dist/Common/Checkbox/index.d.ts +1 -0
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +3 -4
- package/dist/Common/ClipboardButton/index.d.ts +1 -0
- package/dist/Common/ClipboardButton/types.d.ts +27 -4
- package/dist/Common/Common.service.d.ts +34 -12
- package/dist/Common/Constants.d.ts +150 -79
- package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +1 -1
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
- package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -1
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -1
- package/dist/Common/CustomTagSelector/Types.d.ts +20 -29
- package/dist/Common/CustomTagSelector/ValidationRules.d.ts +2 -4
- package/dist/Common/CustomTagSelector/index.d.ts +2 -2
- package/dist/Common/CustomTagSelector/tags.utils.d.ts +13 -0
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
- package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +2 -0
- package/dist/Common/DeleteCINodeButton/index.d.ts +3 -0
- package/dist/Common/DeleteCINodeButton/types.d.ts +18 -0
- package/dist/Common/DeleteCINodeButton/utils.d.ts +5 -0
- package/dist/Common/DevtronCopyright.d.ts +2 -0
- package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
- package/dist/Common/Dialogs/DialogForm.d.ts +6 -6
- package/dist/Common/Dialogs/Types.d.ts +0 -16
- package/dist/Common/Dialogs/index.d.ts +0 -3
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +4 -2
- package/dist/Common/DraggableWrapper/index.d.ts +1 -1
- package/dist/Common/DraggableWrapper/types.d.ts +4 -6
- package/dist/Common/Drawer/Drawer.d.ts +4 -3
- package/dist/Common/Drawer/index.d.ts +1 -0
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +2 -1
- package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +1 -1
- package/dist/Common/EmptyState/index.d.ts +2 -0
- package/dist/Common/ErrorPage.d.ts +1 -1
- package/dist/Common/ErrorScreenManager.d.ts +1 -1
- package/dist/Common/ErrorScreenNotAuthorized.d.ts +1 -1
- package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
- package/dist/Common/GenericDescription/constant.d.ts +40 -0
- package/dist/Common/GenericDescription/types.d.ts +5 -7
- package/dist/Common/GenericDescription/utils.d.ts +1 -0
- package/dist/Common/Grid/Grid.d.ts +1 -1
- package/dist/Common/Helper.d.ts +40 -12
- package/dist/Common/Hooks/UseGetUserRoles/UseGetUserRoles.d.ts +7 -0
- package/dist/Common/Hooks/UseGetUserRoles/index.d.ts +1 -0
- package/dist/Common/Hooks/UseGetUserRoles/types.d.ts +8 -0
- package/dist/Common/Hooks/UseIsTextTruncated/UseIsTextTruncated.d.ts +5 -0
- package/dist/Common/Hooks/UseIsTextTruncated/constants.d.ts +1 -0
- package/dist/Common/Hooks/UseIsTextTruncated/index.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +91 -3
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +6 -0
- package/dist/Common/Hooks/index.d.ts +4 -3
- package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
- package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
- package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +2 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +16 -3
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/utils.d.ts +2 -0
- package/dist/Common/ImageTags.Types.d.ts +2 -0
- package/dist/Common/ImageTags.d.ts +2 -2
- package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +27 -0
- package/dist/Common/InteractiveCellText/index.d.ts +2 -0
- package/dist/Common/InteractiveCellText/types.d.ts +10 -0
- package/dist/Common/Markdown/MarkDown.d.ts +1 -1
- package/dist/Common/Modals/Modal.d.ts +1 -2
- package/dist/Common/Modals/VisibleModal.d.ts +9 -10
- package/dist/Common/Modals/VisibleModal2.d.ts +7 -9
- package/dist/Common/MultiSelectCustomization.d.ts +9 -7
- package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -1
- package/dist/Common/Pagination/Pagination.d.ts +1 -1
- package/dist/Common/Pagination/constants.d.ts +4 -0
- package/dist/Common/Pagination/index.d.ts +1 -0
- package/dist/Common/Policy.Types.d.ts +58 -22
- package/dist/Common/PopupMenu.d.ts +2 -2
- package/dist/Common/Progressing.d.ts +1 -0
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
- package/dist/Common/RJSF/constants.d.ts +1 -0
- package/dist/Common/RJSF/index.d.ts +3 -3
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -2
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -1
- package/dist/Common/RJSF/templates/Field.d.ts +1 -1
- package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/TitleField.d.ts +3 -2
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/index.d.ts +1 -1
- package/dist/Common/RJSF/types.d.ts +17 -3
- package/dist/Common/RJSF/utils.d.ts +5 -11
- package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
- package/dist/Common/RJSF/widgets/Select.d.ts +1 -1
- package/dist/Common/RadioGroup.d.ts +1 -1
- package/dist/Common/RadioGroupItem.d.ts +1 -1
- package/dist/Common/Reload.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +15 -0
- package/dist/Common/SegmentedBarChart/types.d.ts +23 -2
- package/dist/Common/SegmentedBarChart/utils.d.ts +2 -0
- package/dist/Common/SegmentedControl/Segment.d.ts +3 -0
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
- package/dist/Common/SegmentedControl/constants.d.ts +3 -0
- package/dist/Common/SegmentedControl/index.d.ts +2 -0
- package/dist/Common/SegmentedControl/types.d.ts +76 -0
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +18 -1
- package/dist/Common/SortableTableHeaderCell/constants.d.ts +2 -0
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -0
- package/dist/Common/SortableTableHeaderCell/types.d.ts +53 -16
- package/dist/Common/SortableTableHeaderCell/useResizableTableConfig.d.ts +6 -0
- package/dist/Common/TippyCustomized.d.ts +1 -1
- package/dist/Common/Tooltip/ShortcutKeyComboTooltipContent.d.ts +1 -1
- package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Common/Tooltip/index.d.ts +2 -2
- package/dist/Common/Tooltip/types.d.ts +1 -7
- package/dist/Common/Types.d.ts +315 -177
- package/dist/Common/index.d.ts +39 -43
- package/dist/MMQ4R4NB-C7ZzhIbi.js +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/index.d.ts +1 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/types.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/utils.d.ts +6 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/constants.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +5 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/service.d.ts +4 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +193 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/constants.d.ts +5 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +6 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +72 -0
- package/dist/Pages/{App → Applications/DevtronApps/Details}/AppConfigurations/utils.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/constants.d.ts +6 -0
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +5 -0
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +9 -0
- package/dist/Pages/{CDPipeline → Applications/DevtronApps/Details/CDPipeline}/types.d.ts +44 -6
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/utils.d.ts +10 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/FileConfigTippy.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +1 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +11 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +7 -0
- package/dist/Pages/Applications/DevtronApps/Details/index.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/index.d.ts +1 -0
- package/dist/Pages/Applications/index.d.ts +1 -0
- package/dist/Pages/BulkEdit/index.d.ts +1 -0
- package/dist/Pages/BulkEdit/types.d.ts +50 -0
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -2
- package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +13 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtilityContext.d.ts +3 -0
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/UseBuildInfraForm.d.ts +3 -0
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +27 -11
- package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +8 -3
- package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +5 -6
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +331 -110
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +10 -16
- package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +11 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +2 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/DeploymentCharts/basicViewSchema.json.d.ts +27 -30
- package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +6 -8
- package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/index.d.ts +3 -2
- package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +2 -0
- package/dist/Pages/ResourceBrowser/ClusterMap/index.d.ts +1 -0
- package/dist/Pages/ResourceBrowser/ClusterMap/types.d.ts +27 -0
- package/dist/Pages/ResourceBrowser/ClusterMap/utils.d.ts +14 -0
- package/dist/Pages/ResourceBrowser/ForceDeleteOption.d.ts +3 -0
- package/dist/Pages/ResourceBrowser/Helper.d.ts +11 -0
- package/dist/Pages/ResourceBrowser/NodeDrainOptions.d.ts +3 -0
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +125 -2
- package/dist/Pages/ResourceBrowser/constants.d.ts +55 -0
- package/dist/Pages/ResourceBrowser/index.d.ts +7 -1
- package/dist/Pages/ResourceBrowser/service.d.ts +10 -0
- package/dist/Pages/ResourceBrowser/types.d.ts +135 -0
- package/dist/Pages/index.d.ts +2 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/AutomationEnablementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +4 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +31 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +8 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Navigation/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +32 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +7 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/constants.d.ts +8 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/index.d.ts +3 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/types.d.ts +26 -0
- package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +569 -0
- package/dist/Pages-Devtron-2.0/Shared/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/index.d.ts +8 -0
- package/dist/Shared/API/APIQueuing.d.ts +1 -1
- package/dist/Shared/Analytics/analytics.d.ts +3 -0
- package/dist/Shared/Analytics/index.d.ts +2 -0
- package/dist/Shared/Analytics/types.d.ts +7 -0
- package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +2 -0
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +4 -0
- package/dist/Shared/Components/AboutDevtron/index.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/index.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/types.d.ts +95 -0
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +302 -0
- package/dist/Shared/Components/ActionMenu/utils.d.ts +7 -0
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +3 -0
- package/dist/Shared/Components/AnimatedDeployButton/index.d.ts +1 -0
- package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +6 -0
- package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
- package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
- package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
- package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +2 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/constants.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/index.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/service.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/types.d.ts +88 -0
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +8 -0
- package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +3 -0
- package/dist/Shared/Components/Backdrop/index.d.ts +2 -0
- package/dist/Shared/Components/Backdrop/types.d.ts +26 -0
- package/dist/Shared/Components/Backdrop/utils.d.ts +1 -0
- package/dist/Shared/Components/Badge/Badge.d.ts +3 -0
- package/dist/Shared/Components/Badge/index.d.ts +2 -0
- package/dist/Shared/Components/Badge/types.d.ts +18 -0
- package/dist/Shared/Components/Badge/utils.d.ts +8 -0
- package/dist/Shared/Components/BulkOperations/BulkOperations.component.d.ts +3 -0
- package/dist/Shared/Components/BulkOperations/BulkOperationsResultModal.d.ts +3 -0
- package/dist/Shared/Components/BulkOperations/OperationResultStore.d.ts +21 -0
- package/dist/Shared/Components/BulkOperations/constants.d.ts +13 -0
- package/dist/Shared/Components/BulkOperations/index.d.ts +2 -0
- package/dist/Shared/Components/BulkOperations/types.d.ts +69 -0
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +18 -14
- package/dist/Shared/Components/Button/Button.component.d.ts +2 -2
- package/dist/Shared/Components/Button/constants.d.ts +1 -0
- package/dist/Shared/Components/Button/index.d.ts +1 -0
- package/dist/Shared/Components/Button/types.d.ts +70 -16
- package/dist/Shared/Components/Button/useTriggerAutoClickTimestamp.d.ts +6 -0
- package/dist/Shared/Components/Button/utils.d.ts +3 -1
- package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +1 -1
- package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +2 -11
- package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +2 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +2 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/index.d.ts +2 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +38 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +23 -0
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +6 -0
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +3 -55
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +2 -55
- package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +2 -4
- package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/constants.d.ts +44 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +10 -10
- package/dist/Shared/Components/CICDHistory/service.d.ts +7 -8
- package/dist/Shared/Components/CICDHistory/types.d.ts +262 -156
- package/dist/Shared/Components/CICDHistory/utils.d.ts +39 -4
- package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +3 -0
- package/dist/Shared/Components/CMCS/constants.d.ts +23 -0
- package/dist/Shared/Components/CMCS/helpers.d.ts +1 -0
- package/dist/Shared/Components/CMCS/index.d.ts +6 -0
- package/dist/Shared/Components/CMCS/types.d.ts +24 -0
- package/dist/Shared/Components/CMCS/utils.d.ts +18 -0
- package/dist/Shared/Components/CMCS/validations.d.ts +3 -0
- package/dist/Shared/Components/Card/Card.component.d.ts +3 -0
- package/dist/Shared/Components/Card/constants.d.ts +4 -0
- package/dist/Shared/Components/Card/index.d.ts +2 -0
- package/dist/Shared/Components/Card/types.d.ts +25 -0
- package/dist/Shared/Components/Charts/Chart.component.d.ts +121 -0
- package/dist/Shared/Components/Charts/constants.d.ts +10 -0
- package/dist/Shared/Components/Charts/index.d.ts +4 -0
- package/dist/Shared/Components/Charts/plugins.d.ts +7 -0
- package/dist/Shared/Components/Charts/types.d.ts +133 -0
- package/dist/Shared/Components/Charts/utils.d.ts +30 -0
- package/dist/Shared/Components/Chip/Chip.component.d.ts +3 -0
- package/dist/Shared/Components/Chip/index.d.ts +2 -0
- package/dist/Shared/Components/Chip/types.d.ts +64 -0
- package/dist/Shared/Components/Chip/utils.d.ts +6 -0
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +3 -0
- package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +1 -0
- package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +5 -0
- package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.components.d.ts +11 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +10 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.context.d.ts +3 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +14 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.theme.d.ts +4 -0
- package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Commands/findAndReplace.d.ts +7 -0
- package/dist/Shared/Components/CodeEditor/Commands/index.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Commands/keyMaps.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Extensions/DiffMinimap.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Extensions/findAndReplace.d.ts +3 -0
- package/dist/Shared/Components/CodeEditor/Extensions/index.d.ts +5 -0
- package/dist/Shared/Components/CodeEditor/Extensions/readOnlyTooltip.d.ts +6 -0
- package/dist/Shared/Components/CodeEditor/Extensions/yamlHighlight.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Extensions/yamlParseLinter.d.ts +3 -0
- package/dist/Shared/Components/CodeEditor/index.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/types.d.ts +116 -0
- package/dist/Shared/Components/CodeEditor/utils.d.ts +18 -0
- package/dist/Shared/Components/Collapse/Collapse.d.ts +5 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +5 -2
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +47 -12
- package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +2 -0
- package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +4 -0
- package/dist/Shared/Components/ConfirmationModal/ConfirmationModalContext.d.ts +5 -0
- package/dist/Shared/Components/ConfirmationModal/DeleteConfirmationModal.d.ts +3 -0
- package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +2 -0
- package/dist/Shared/Components/ConfirmationModal/index.d.ts +7 -0
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +143 -0
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +6 -0
- package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +2 -0
- package/dist/Shared/Components/ContextSwitcher/index.d.ts +3 -0
- package/dist/Shared/Components/ContextSwitcher/types.d.ts +15 -0
- package/dist/Shared/Components/ContextSwitcher/utils.d.ts +5 -0
- package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +3 -0
- package/dist/Shared/Components/CountrySelect/index.d.ts +1 -0
- package/dist/Shared/Components/CountrySelect/types.d.ts +7 -0
- package/dist/Shared/Components/CountrySelect/utils.d.ts +4 -0
- package/dist/Shared/Components/CustomInput/CustomInput.d.ts +3 -0
- package/dist/Shared/Components/CustomInput/PasswordField.d.ts +3 -0
- package/dist/Shared/Components/CustomInput/constants.d.ts +3 -0
- package/dist/Shared/Components/CustomInput/index.d.ts +3 -0
- package/dist/Shared/Components/CustomInput/types.d.ts +40 -0
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +3 -0
- package/dist/Shared/Components/DTFocusTrap/index.d.ts +2 -0
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +34 -0
- package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/constants.d.ts +2 -48
- package/dist/Shared/Components/DatePicker/index.d.ts +3 -4
- package/dist/Shared/Components/DatePicker/types.d.ts +35 -18
- package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.constants.d.ts +7 -0
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +59 -15
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +4 -3
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +7 -0
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +2 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +11 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +3 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +25 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +25 -0
- package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -1
- package/dist/Shared/Components/DocLink/DocLink.d.ts +2 -0
- package/dist/Shared/Components/DocLink/constants.d.ts +108 -0
- package/dist/Shared/Components/DocLink/index.d.ts +4 -0
- package/dist/Shared/Components/DocLink/types.d.ts +23 -0
- package/dist/Shared/Components/DocLink/utils.d.ts +3 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/constants.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/index.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +180 -0
- package/dist/Shared/Components/DynamicDataTable/utils.d.ts +5 -0
- package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +1 -1
- package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +1 -1
- package/dist/Shared/Components/EditableTextArea/types.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +1 -1
- package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
- package/dist/Shared/Components/Error/types.d.ts +4 -0
- package/dist/Shared/Components/Error/utils.d.ts +2 -1
- package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +1 -1
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/index.d.ts +2 -0
- package/dist/Shared/Components/ExportToCsv/types.d.ts +65 -0
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/index.d.ts +1 -0
- package/dist/Shared/Components/FeatureDescription/types.d.ts +48 -8
- package/dist/Shared/Components/FileUpload/FileUpload.d.ts +2 -0
- package/dist/Shared/Components/FileUpload/index.d.ts +2 -0
- package/dist/Shared/Components/FileUpload/types.d.ts +8 -0
- package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
- package/dist/Shared/Components/FilterChips/types.d.ts +2 -3
- package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +3 -0
- package/dist/Shared/Components/FlagImage/index.d.ts +1 -0
- package/dist/Shared/Components/FlagImage/types.d.ts +5 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +4 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +3 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +3 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +2 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +4 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/index.d.ts +1 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +4 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +38 -0
- package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +3 -0
- package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +3 -0
- package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +3 -0
- package/dist/Shared/Components/FormFieldWrapper/index.d.ts +4 -0
- package/dist/Shared/Components/FormFieldWrapper/types.d.ts +71 -0
- package/dist/Shared/Components/FormFieldWrapper/utils.d.ts +17 -0
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +3 -0
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +4 -0
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +39 -0
- package/dist/Shared/Components/GenericInfoCard/utils.d.ts +2 -0
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +9 -0
- package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +6 -0
- package/dist/Shared/Components/GenericModal/constants.d.ts +3 -0
- package/dist/Shared/Components/GenericModal/index.d.ts +2 -0
- package/dist/Shared/Components/GenericModal/types.d.ts +41 -0
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +38 -9
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +0 -3
- package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
- package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -1
- package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +2 -0
- package/dist/Shared/Components/GitProviderIcon/index.d.ts +2 -0
- package/dist/Shared/Components/GitProviderIcon/types.d.ts +15 -0
- package/dist/Shared/Components/GitProviderIcon/utils.d.ts +3 -0
- package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +2 -0
- package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +2 -0
- package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +3 -0
- package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +3 -0
- package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +3 -0
- package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +4 -0
- package/dist/Shared/Components/GraphVisualizer/components/types.d.ts +19 -0
- package/dist/Shared/Components/GraphVisualizer/constants.d.ts +15 -0
- package/dist/Shared/Components/GraphVisualizer/index.d.ts +2 -0
- package/dist/Shared/Components/GraphVisualizer/types.d.ts +12 -0
- package/dist/Shared/Components/GraphVisualizer/utils.d.ts +17 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +2 -4
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +10 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +2 -0
- package/dist/Shared/Components/Header/HelpButton.d.ts +2 -0
- package/dist/Shared/Components/Header/IframePromoButton.d.ts +1 -0
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/ProfileMenu.d.ts +2 -0
- package/dist/Shared/Components/Header/constants.d.ts +5 -3
- package/dist/Shared/Components/Header/index.d.ts +2 -1
- package/dist/Shared/Components/Header/types.d.ts +36 -22
- package/dist/Shared/Components/Header/utils.d.ts +3 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +347 -0
- package/dist/Shared/Components/Icon/IconBase.d.ts +2 -0
- package/dist/Shared/Components/Icon/constants.d.ts +2 -0
- package/dist/Shared/Components/Icon/index.d.ts +1 -0
- package/dist/Shared/Components/Icon/types.d.ts +52 -0
- package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +1 -1
- package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +1 -1
- package/dist/Shared/Components/Illustration/Illustration.d.ts +31 -0
- package/dist/Shared/Components/Illustration/IllustrationBase.d.ts +2 -0
- package/dist/Shared/Components/Illustration/index.d.ts +1 -0
- package/dist/Shared/Components/Illustration/types.d.ts +27 -0
- package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/ImageCard.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -3
- package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
- package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
- package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +1 -1
- package/dist/Shared/Components/ImageWithFallback/types.d.ts +2 -2
- package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +3 -0
- package/dist/Shared/Components/InfoBlock/constants.d.ts +8 -0
- package/dist/Shared/Components/InfoBlock/index.d.ts +2 -0
- package/dist/Shared/Components/InfoBlock/types.d.ts +40 -0
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +3 -0
- package/dist/Shared/Components/InvalidYAMLTippy/constants.d.ts +1 -0
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +3 -0
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +13 -0
- package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +2 -0
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +75 -78
- package/dist/Shared/Components/KeyValueTable/index.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/utils.d.ts +13 -0
- package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/index.d.ts +1 -0
- package/dist/Shared/Components/KeyboardShortcut/types.d.ts +4 -0
- package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +3 -0
- package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +3 -0
- package/dist/Shared/Components/License/License.components.d.ts +5 -0
- package/dist/Shared/Components/License/constants.d.ts +1 -0
- package/dist/Shared/Components/License/index.d.ts +6 -0
- package/dist/Shared/Components/License/services.d.ts +1 -0
- package/dist/Shared/Components/License/types.d.ts +45 -0
- package/dist/Shared/Components/License/utils.d.ts +9 -0
- package/dist/Shared/Components/LoadingCard.d.ts +5 -0
- package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +2 -0
- package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
- package/dist/Shared/Components/LoginBanner/constants.d.ts +4 -0
- package/dist/Shared/Components/LoginBanner/index.d.ts +3 -0
- package/dist/Shared/Components/LoginBanner/types.d.ts +7 -0
- package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
- package/dist/Shared/Components/MaterialHistory/types.d.ts +1 -2
- package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +4 -3
- package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +3 -0
- package/dist/Shared/Components/NumbersCount/index.d.ts +2 -0
- package/dist/Shared/Components/NumbersCount/types.d.ts +13 -0
- package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +3 -0
- package/dist/Shared/Components/PhoneInput/index.d.ts +1 -0
- package/dist/Shared/Components/PhoneInput/types.d.ts +11 -0
- package/dist/Shared/Components/Plugin/PluginCard.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginList.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +1 -1
- package/dist/Shared/Components/Plugin/index.d.ts +4 -4
- package/dist/Shared/Components/Plugin/service.d.ts +3 -3
- package/dist/Shared/Components/Plugin/types.d.ts +33 -12
- package/dist/Shared/Components/Plugin/utils.d.ts +0 -16
- package/dist/Shared/Components/Popover/Popover.component.d.ts +8 -0
- package/dist/Shared/Components/Popover/index.d.ts +3 -0
- package/dist/Shared/Components/Popover/types.d.ts +121 -0
- package/dist/Shared/Components/Popover/usePopover.hook.d.ts +2 -0
- package/dist/Shared/Components/Popover/utils.d.ts +92 -0
- package/dist/Shared/Components/PortalContainer/PortalContainer.d.ts +5 -0
- package/dist/Shared/Components/PortalContainer/index.d.ts +1 -0
- package/dist/Shared/Components/ProgressBar/ProgressBar.component.d.ts +2 -0
- package/dist/Shared/Components/ProgressBar/index.d.ts +1 -0
- package/dist/Shared/Components/ProgressBar/types.d.ts +9 -0
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +3 -0
- package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +2 -0
- package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +20 -0
- package/dist/Shared/Components/QRCode.d.ts +10 -0
- package/dist/Shared/Components/ReactSelect/constants.d.ts +18 -14
- package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
- package/dist/Shared/Components/ReactSelect/utils.d.ts +7 -32
- package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +2 -0
- package/dist/Shared/Components/RegistryIcon/constants.d.ts +2 -0
- package/dist/Shared/Components/RegistryIcon/index.d.ts +2 -0
- package/dist/Shared/Components/RegistryIcon/types.d.ts +25 -0
- package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +2 -0
- package/dist/Shared/Components/SSOProviderIcon/index.d.ts +2 -0
- package/dist/Shared/Components/SSOProviderIcon/types.d.ts +10 -0
- package/dist/Shared/Components/ScannedByToolModal/types.d.ts +2 -1
- package/dist/Shared/Components/Security/SecurityDetailsCards/ReportTabEmptyState.d.ts +2 -0
- package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityDetailsCards/index.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityDetailsCards/types.d.ts +18 -0
- package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +6 -98
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +3 -2
- package/dist/Shared/Components/Security/SecurityModal/config/InfoCard.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/config/Sidebar.d.ts +6 -2
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +3 -2
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +19 -17
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +6 -5
- package/dist/Shared/Components/Security/SecurityModal/service.d.ts +6 -2
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +77 -43
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +10 -11
- package/dist/Shared/Components/Security/SeverityChip.d.ts +6 -0
- package/dist/Shared/Components/Security/Vulnerabilities/Vulnerabilities.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +2 -18
- package/dist/Shared/Components/Security/Vulnerabilities/utils.d.ts +0 -5
- package/dist/Shared/Components/Security/constants.d.ts +4 -0
- package/dist/Shared/Components/Security/index.d.ts +5 -2
- package/dist/Shared/Components/Security/types.d.ts +33 -0
- package/dist/Shared/Components/Security/utils.d.ts +8 -4
- package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +2 -2
- package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.d.ts +2 -0
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +6 -7
- package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +2 -0
- package/dist/Shared/Components/SelectPicker/common.d.ts +15 -11
- package/dist/Shared/Components/SelectPicker/constants.d.ts +6 -0
- package/dist/Shared/Components/SelectPicker/index.d.ts +5 -2
- package/dist/Shared/Components/SelectPicker/type.d.ts +122 -34
- package/dist/Shared/Components/SelectPicker/utils.d.ts +4 -2
- package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +3 -1
- package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +2 -0
- package/dist/Shared/Components/SideNavigation/index.d.ts +2 -0
- package/dist/Shared/Components/SideNavigation/types.d.ts +19 -0
- package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +2 -0
- package/dist/Shared/Components/StatusComponent/DeploymentStatus.d.ts +2 -0
- package/dist/Shared/Components/StatusComponent/StatusComponent.d.ts +2 -0
- package/dist/Shared/Components/StatusComponent/constants.d.ts +7 -0
- package/dist/Shared/Components/StatusComponent/index.d.ts +5 -0
- package/dist/Shared/Components/StatusComponent/types.d.ts +49 -0
- package/dist/Shared/Components/StatusComponent/utils.d.ts +5 -0
- package/dist/Shared/Components/Switch/Switch.component.d.ts +3 -0
- package/dist/Shared/Components/Switch/constants.d.ts +14 -0
- package/dist/Shared/Components/Switch/index.d.ts +2 -0
- package/dist/Shared/Components/Switch/types.d.ts +111 -0
- package/dist/Shared/Components/Switch/utils.d.ts +12 -0
- package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +3 -0
- package/dist/Shared/Components/SwitchThemeDialog/index.d.ts +2 -0
- package/dist/Shared/Components/SwitchThemeDialog/types.d.ts +35 -0
- package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +6 -6
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +46 -11
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +3 -1
- package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +3 -0
- package/dist/Shared/Components/Table/InternalTable.d.ts +3 -0
- package/dist/Shared/Components/Table/Table.component.d.ts +3 -0
- package/dist/Shared/Components/Table/TableContent.d.ts +3 -0
- package/dist/Shared/Components/Table/constants.d.ts +9 -0
- package/dist/Shared/Components/Table/index.d.ts +3 -0
- package/dist/Shared/Components/Table/types.d.ts +240 -0
- package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +11 -0
- package/dist/Shared/Components/Table/utils.d.ts +11 -0
- package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +3 -0
- package/dist/Shared/Components/TagsKeyValueTable/constants.d.ts +4 -0
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +4 -0
- package/dist/Shared/Components/TagsKeyValueTable/types.d.ts +12 -0
- package/dist/Shared/Components/TagsKeyValueTable/utils.d.ts +3 -0
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformBadgeList.d.ts +3 -0
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +3 -0
- package/dist/Shared/Components/TargetPlatforms/index.d.ts +3 -0
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +6 -0
- package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -0
- package/dist/Shared/Components/TempAppWindow/index.d.ts +1 -0
- package/dist/Shared/Components/Textarea/Textarea.component.d.ts +3 -0
- package/dist/Shared/Components/Textarea/constants.d.ts +4 -0
- package/dist/Shared/Components/Textarea/index.d.ts +2 -0
- package/dist/Shared/Components/Textarea/types.d.ts +37 -0
- package/dist/Shared/Components/Textarea/utils.d.ts +5 -0
- package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +3 -0
- package/dist/Shared/Components/ThemeSwitcher/index.d.ts +1 -0
- package/dist/Shared/Components/ThemeSwitcher/types.d.ts +3 -0
- package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +3 -0
- package/dist/Shared/Components/ToggleResolveScopedVariables/index.d.ts +1 -0
- package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +10 -0
- package/dist/Shared/Components/TrailingItem/TrailingItem.component.d.ts +3 -0
- package/dist/Shared/Components/TrailingItem/index.d.ts +2 -0
- package/dist/Shared/Components/TrailingItem/types.d.ts +43 -0
- package/dist/Shared/Components/TreeView/TreeView.component.d.ts +3 -0
- package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +3 -0
- package/dist/Shared/Components/TreeView/constants.d.ts +7 -0
- package/dist/Shared/Components/TreeView/index.d.ts +2 -0
- package/dist/Shared/Components/TreeView/types.d.ts +218 -0
- package/dist/Shared/Components/TreeView/utils.d.ts +22 -0
- package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +1 -0
- package/dist/Shared/Components/Typewriter/index.d.ts +2 -0
- package/dist/Shared/Components/Typewriter/useTypewriter.d.ts +1 -0
- package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +2 -0
- package/dist/Shared/Components/UnsavedChanges/index.d.ts +1 -0
- package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +3 -0
- package/dist/Shared/Components/UnsavedChangesDialog/index.d.ts +1 -0
- package/dist/Shared/Components/UnsavedChangesDialog/types.d.ts +4 -0
- package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/index.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/types.d.ts +16 -0
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +2 -0
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.constants.d.ts +2 -0
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.types.d.ts +36 -0
- package/dist/Shared/Components/VirtualizedList/index.d.ts +2 -0
- package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +3 -0
- package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +3 -0
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +88 -0
- package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +2 -0
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +27 -0
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +25 -0
- package/dist/Shared/Components/index.d.ts +92 -29
- package/dist/Shared/Helpers.d.ts +66 -10
- package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +2 -6
- package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
- package/dist/Shared/Hooks/UseDownload/types.d.ts +13 -0
- package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +1 -2
- package/dist/Shared/Hooks/UsePrompt/types.d.ts +1 -0
- package/dist/Shared/Hooks/index.d.ts +6 -2
- package/dist/Shared/Hooks/useForm/useForm.d.ts +47 -27
- package/dist/Shared/Hooks/useForm/useForm.types.d.ts +15 -8
- package/dist/Shared/Hooks/useForm/useForm.utils.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +2 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +0 -6
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +6 -16
- package/dist/Shared/Hooks/useIsSecureConnection/index.d.ts +1 -0
- package/dist/Shared/Hooks/useIsSecureConnection/useIsSecureConnection.d.ts +1 -0
- package/dist/Shared/Hooks/useOneTimePrompt/constants.d.ts +1 -0
- package/dist/Shared/Hooks/useOneTimePrompt/index.d.ts +1 -0
- package/dist/Shared/Hooks/useOneTimePrompt/types.d.ts +3 -0
- package/dist/Shared/Hooks/useOneTimePrompt/useOneTimePrompt.d.ts +6 -0
- package/dist/Shared/Hooks/useStickyEvent/constants.d.ts +4 -0
- package/dist/Shared/Hooks/useStickyEvent/index.d.ts +1 -0
- package/dist/Shared/Hooks/useStickyEvent/types.d.ts +32 -0
- package/dist/Shared/Hooks/useStickyEvent/useStickyEvent.d.ts +8 -0
- package/dist/Shared/Hooks/useStickyEvent/utils.d.ts +2 -0
- package/dist/Shared/Hooks/useUserPreferences/constants.d.ts +3 -0
- package/dist/Shared/Hooks/useUserPreferences/index.d.ts +4 -0
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +20 -0
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +127 -0
- package/dist/Shared/Hooks/useUserPreferences/useUserPrefrences.d.ts +12 -0
- package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +3 -0
- package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +1 -1
- package/dist/Shared/Providers/{MainContextProvider.d.ts → MainContextProvider/MainContextProvider.d.ts} +1 -1
- package/dist/Shared/Providers/MainContextProvider/index.d.ts +3 -0
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +185 -0
- package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +3 -0
- package/dist/Shared/Providers/ThemeProvider/constants.d.ts +2 -0
- package/dist/Shared/Providers/ThemeProvider/index.d.ts +4 -0
- package/dist/Shared/Providers/ThemeProvider/types.d.ts +41 -0
- package/dist/Shared/Providers/ThemeProvider/utils.d.ts +8 -0
- package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +3 -3
- package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/index.d.ts +2 -1
- package/dist/Shared/Services/ToastManager/ToastContent.d.ts +3 -2
- package/dist/Shared/Services/ToastManager/constants.d.ts +3 -3
- package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +26 -6
- package/dist/Shared/Services/app.service.d.ts +11 -4
- package/dist/Shared/Services/app.types.d.ts +156 -34
- package/dist/Shared/Services/common.service.d.ts +7 -1
- package/dist/Shared/Services/index.d.ts +4 -2
- package/dist/Shared/Services/template.service.d.ts +2 -0
- package/dist/Shared/Services/types.d.ts +28 -1
- package/dist/Shared/Store/IndexStore.d.ts +2 -1
- package/dist/Shared/constants.d.ts +79 -68
- package/dist/Shared/index.d.ts +6 -5
- package/dist/Shared/types.d.ts +784 -31
- package/dist/Shared/validations.d.ts +22 -1
- package/dist/V4HPSUGU-BVMnhgRJ.js +2 -0
- package/dist/assets/@code-editor.css +1 -0
- package/dist/assets/@common-rjsf.css +1 -0
- package/dist/assets/@vendor.css +1 -0
- package/dist/assets/DeployAudio.566e45df.mp3 +0 -0
- package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
- package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
- package/dist/assets/empty-create.661d9355.png +0 -0
- package/dist/assets/ic-loading-failure.aa68693d.png +0 -0
- package/dist/assets/img-code.fa00ae8e.webp +0 -0
- package/dist/assets/img-devtron-freemium.d0657c61.webp +0 -0
- package/dist/assets/img-man-on-rocket.ab6bef97.webp +0 -0
- package/dist/assets/img-no-result.51284acb.webp +0 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/lifebuoy.7d8fdf27.png +0 -0
- package/dist/assets/login-screen-ui.a33a6496.webp +0 -0
- package/dist/assets/no-artifact.fd2d84d9.webp +0 -0
- package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
- package/dist/index.d.ts +141 -12
- package/dist/index.js +28882 -564
- package/dist/javascript-CP782ZPa.js +2 -0
- package/dist/rolldown-runtime-BETGA6I9.js +23 -0
- package/dist/vitesse-dark-XJRLdhTE.js +2 -0
- package/dist/vitesse-light-DS2ELujL.js +2 -0
- package/package.json +83 -48
- package/dist/Common/Api.d.ts +0 -15
- package/dist/Common/AppStatus/AppStatus.d.ts +0 -2
- package/dist/Common/AppStatus/constants.d.ts +0 -36
- package/dist/Common/AppStatus/index.d.ts +0 -2
- package/dist/Common/AppStatus/types.d.ts +0 -12
- package/dist/Common/AppStatus/utils.d.ts +0 -1
- package/dist/Common/Checkbox.d.ts +0 -5
- package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -4
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -35
- package/dist/Common/CodeEditor/index.d.ts +0 -2
- package/dist/Common/CodeEditor/types.d.ts +0 -98
- package/dist/Common/CustomInput/CustomInput.d.ts +0 -2
- package/dist/Common/CustomInput/Types.d.ts +0 -30
- package/dist/Common/CustomInput/index.d.ts +0 -2
- package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +0 -2
- package/dist/Common/CustomTagSelector/TagSelector.utils.d.ts +0 -12
- package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +0 -3
- package/dist/Common/DeleteComponentModal/types.d.ts +0 -18
- package/dist/Common/Dialogs/ConfirmationDialog.d.ts +0 -8
- package/dist/Common/Dialogs/DeleteDialog.d.ts +0 -5
- package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +0 -2
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +0 -6
- package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +0 -3
- package/dist/Common/InfoColorBar/InfoColourbar.d.ts +0 -3
- package/dist/Common/Markdown/constant.d.ts +0 -28
- package/dist/Common/ResizableTextarea.d.ts +0 -3
- package/dist/Common/Toggle/Toggle.d.ts +0 -12
- package/dist/Common/utils.d.ts +0 -1
- package/dist/Pages/App/AppConfigurations/index.d.ts +0 -1
- package/dist/Pages/App/index.d.ts +0 -1
- package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +0 -6
- package/dist/Shared/Components/AnnouncementBanner/index.d.ts +0 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/index.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +0 -35
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -2
- package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -11
- package/dist/Shared/Components/Header/HelpNav.d.ts +0 -3
- package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +0 -3
- package/dist/Shared/Components/KeyValueList/constants.d.ts +0 -5
- package/dist/Shared/Components/KeyValueList/index.d.ts +0 -2
- package/dist/Shared/Components/KeyValueList/types.d.ts +0 -52
- package/dist/Shared/Components/LogoutCard.d.ts +0 -9
- package/dist/Shared/Components/Security/SecuritySummaryCard/SecuritySummaryCard.d.ts +0 -3
- package/dist/Shared/Components/Security/SecuritySummaryCard/index.d.ts +0 -1
- package/dist/Shared/Components/Security/SecuritySummaryCard/types.d.ts +0 -12
- package/dist/Shared/Providers/types.d.ts +0 -29
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -80
- package/dist/abap-DttVK1gE.js +0 -1314
- package/dist/apex-BjfHvyb2.js +0 -315
- package/dist/azcli-Ws-Trf8e.js +0 -74
- package/dist/bat-CeCHpU9_.js +0 -95
- package/dist/bicep-C7a7aEmi.js +0 -108
- package/dist/cameligo-CJeEIvX4.js +0 -168
- package/dist/clojure-CEKXhLdU.js +0 -754
- package/dist/coffee-CKu3e6V1.js +0 -228
- package/dist/cpp-CvUiT5Ec.js +0 -390
- package/dist/csharp-PmU9HJkB.js +0 -320
- package/dist/csp-DULvRLPF.js +0 -57
- package/dist/css-CNWXQPpt.js +0 -186
- package/dist/cssMode-BKAw6Gjy.js +0 -1446
- package/dist/cypher-CYHOQS2R.js +0 -262
- package/dist/dart-BjGx-9Jk.js +0 -270
- package/dist/dockerfile-D0WaVIZ2.js +0 -132
- package/dist/ecl-CijaJu-p.js +0 -454
- package/dist/elixir-BI5Tc37S.js +0 -489
- package/dist/flow9-BApGtQOO.js +0 -141
- package/dist/freemarker2-CaToeyV1.js +0 -643
- package/dist/fsharp-VeKgt2eG.js +0 -210
- package/dist/go-Cl8cKDlN.js +0 -208
- package/dist/graphql-PfgPBmj4.js +0 -141
- package/dist/handlebars-BcuRt7Wx.js +0 -391
- package/dist/hcl-CG4VZSkm.js +0 -177
- package/dist/html-BHs6br3H.js +0 -281
- package/dist/htmlMode-BHPPU3R8.js +0 -1456
- package/dist/index-ByQvKL1i.js +0 -155495
- package/dist/ini-EhiBNPZF.js +0 -68
- package/dist/java-DPbnXhoY.js +0 -221
- package/dist/javascript-CgB6Ukwh.js +0 -75
- package/dist/jsonMode-BQ72p6WC.js +0 -1866
- package/dist/julia-Bw7EYexg.js +0 -496
- package/dist/kotlin-BNXLDoV0.js +0 -245
- package/dist/less-DtuF_id_.js +0 -168
- package/dist/lexon-DpB0-37O.js +0 -151
- package/dist/liquid-BSnWNlwJ.js +0 -238
- package/dist/lua-CzRNOk9S.js +0 -157
- package/dist/m3-pXPmDwal.js +0 -210
- package/dist/markdown-CeQ3rxjn.js +0 -202
- package/dist/mdx-CmG3JYo6.js +0 -171
- package/dist/mips-DyE0VSNz.js +0 -194
- package/dist/msdax-CbdkoqRa.js +0 -377
- package/dist/mysql-B86-uHNu.js +0 -876
- package/dist/objective-c-1xvkKPId.js +0 -188
- package/dist/pascal-DcyFhj80.js +0 -245
- package/dist/pascaligo-QnM0hvMG.js +0 -158
- package/dist/perl-Bqp3FbU4.js +0 -599
- package/dist/pgsql-HdG7BG_Z.js +0 -847
- package/dist/php-zf7L2p7t.js +0 -471
- package/dist/pla-3Ykqsyzl.js +0 -131
- package/dist/postiats-D1v08O4B.js +0 -544
- package/dist/powerquery-CiQ9b1-b.js +0 -890
- package/dist/powershell-DFNK6VaX.js +0 -233
- package/dist/protobuf-D5P2Z6tc.js +0 -422
- package/dist/pug-BeyMX5am.js +0 -393
- package/dist/python-DsZUSBx9.js +0 -259
- package/dist/qsharp-DcFOTjuP.js +0 -282
- package/dist/r-B3aJPcWp.js +0 -245
- package/dist/razor-DMf-FT32.js +0 -512
- package/dist/redis-CyC__Tub.js +0 -298
- package/dist/redshift-NqbcQPcY.js +0 -806
- package/dist/restructuredtext-CZMxBkap.js +0 -162
- package/dist/ruby-C_jEtDv5.js +0 -444
- package/dist/rust-WAeitMCC.js +0 -337
- package/dist/sb-CSBm2pED.js +0 -110
- package/dist/scala-D76PhKmh.js +0 -353
- package/dist/scheme-CBSAjRuO.js +0 -114
- package/dist/scss-BHY8wFFg.js +0 -244
- package/dist/shell-Cwju9_l8.js +0 -224
- package/dist/solidity-BV1-nze3.js +0 -1351
- package/dist/sophia-DfoUlGAs.js +0 -190
- package/dist/sparql-4kfArTtK.js +0 -193
- package/dist/sql-DIpn0HSX.js +0 -818
- package/dist/st-BgJ_KDZh.js +0 -415
- package/dist/swift-D-ucEgIi.js +0 -315
- package/dist/systemverilog-DjkH5zuo.js +0 -556
- package/dist/tcl-gd8XLKJA.js +0 -232
- package/dist/tsMode-DpDNESk7.js +0 -810
- package/dist/twig-D5XtTFGM.js +0 -323
- package/dist/typescript-fK9cd2PO.js +0 -328
- package/dist/vb-DYqqYAf3.js +0 -364
- package/dist/wgsl-CkZE0qf3.js +0 -420
- package/dist/xml-DbdPKzSs.js +0 -95
- package/dist/yaml-Dn628uiu.js +0 -184
- package/dist/yaml.worker.d.ts +0 -0
- /package/dist/{Pages/CDPipeline → Pages-Devtron-2.0/DataProtectionManagement}/index.d.ts +0 -0
package/dist/tsMode-DpDNESk7.js
DELETED
|
@@ -1,810 +0,0 @@
|
|
|
1
|
-
var N = Object.defineProperty;
|
|
2
|
-
var M = (e, t, r) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
-
var _ = (e, t, r) => M(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { t as R, m as K } from "./index-ByQvKL1i.js";
|
|
5
|
-
/*!-----------------------------------------------------------------------------
|
|
6
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
|
-
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
8
|
-
* Released under the MIT license
|
|
9
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
10
|
-
*-----------------------------------------------------------------------------*/
|
|
11
|
-
var T = Object.defineProperty, E = Object.getOwnPropertyDescriptor, H = Object.getOwnPropertyNames, V = Object.prototype.hasOwnProperty, W = (e, t, r) => t in e ? T(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, j = (e, t, r, l) => {
|
|
12
|
-
if (t && typeof t == "object" || typeof t == "function")
|
|
13
|
-
for (let n of H(t))
|
|
14
|
-
!V.call(e, n) && n !== r && T(e, n, { get: () => t[n], enumerable: !(l = E(t, n)) || l.enumerable });
|
|
15
|
-
return e;
|
|
16
|
-
}, B = (e, t, r) => (j(e, t, "default"), r), b = (e, t, r) => (W(e, typeof t != "symbol" ? t + "" : t, r), r), i = {};
|
|
17
|
-
B(i, K);
|
|
18
|
-
var U = class {
|
|
19
|
-
constructor(e, t) {
|
|
20
|
-
_(this, "_configChangeListener");
|
|
21
|
-
_(this, "_updateExtraLibsToken");
|
|
22
|
-
_(this, "_extraLibsChangeListener");
|
|
23
|
-
_(this, "_worker");
|
|
24
|
-
_(this, "_client");
|
|
25
|
-
this._modeId = e, this._defaults = t, this._worker = null, this._client = null, this._configChangeListener = this._defaults.onDidChange(() => this._stopWorker()), this._updateExtraLibsToken = 0, this._extraLibsChangeListener = this._defaults.onDidExtraLibsChange(() => this._updateExtraLibs());
|
|
26
|
-
}
|
|
27
|
-
dispose() {
|
|
28
|
-
this._configChangeListener.dispose(), this._extraLibsChangeListener.dispose(), this._stopWorker();
|
|
29
|
-
}
|
|
30
|
-
_stopWorker() {
|
|
31
|
-
this._worker && (this._worker.dispose(), this._worker = null), this._client = null;
|
|
32
|
-
}
|
|
33
|
-
async _updateExtraLibs() {
|
|
34
|
-
if (!this._worker)
|
|
35
|
-
return;
|
|
36
|
-
const e = ++this._updateExtraLibsToken, t = await this._worker.getProxy();
|
|
37
|
-
this._updateExtraLibsToken === e && t.updateExtraLibs(this._defaults.getExtraLibs());
|
|
38
|
-
}
|
|
39
|
-
_getClient() {
|
|
40
|
-
return this._client || (this._client = (async () => (this._worker = i.editor.createWebWorker({
|
|
41
|
-
moduleId: "vs/language/typescript/tsWorker",
|
|
42
|
-
label: this._modeId,
|
|
43
|
-
keepIdleModels: !0,
|
|
44
|
-
createData: {
|
|
45
|
-
compilerOptions: this._defaults.getCompilerOptions(),
|
|
46
|
-
extraLibs: this._defaults.getExtraLibs(),
|
|
47
|
-
customWorkerPath: this._defaults.workerOptions.customWorkerPath,
|
|
48
|
-
inlayHintsOptions: this._defaults.inlayHintsOptions
|
|
49
|
-
}
|
|
50
|
-
}), this._defaults.getEagerModelSync() ? await this._worker.withSyncedResources(i.editor.getModels().filter((e) => e.getLanguageId() === this._modeId).map((e) => e.uri)) : await this._worker.getProxy()))()), this._client;
|
|
51
|
-
}
|
|
52
|
-
async getLanguageServiceWorker(...e) {
|
|
53
|
-
const t = await this._getClient();
|
|
54
|
-
return this._worker && await this._worker.withSyncedResources(e), t;
|
|
55
|
-
}
|
|
56
|
-
}, s = {};
|
|
57
|
-
s["lib.d.ts"] = !0;
|
|
58
|
-
s["lib.decorators.d.ts"] = !0;
|
|
59
|
-
s["lib.decorators.legacy.d.ts"] = !0;
|
|
60
|
-
s["lib.dom.d.ts"] = !0;
|
|
61
|
-
s["lib.dom.iterable.d.ts"] = !0;
|
|
62
|
-
s["lib.es2015.collection.d.ts"] = !0;
|
|
63
|
-
s["lib.es2015.core.d.ts"] = !0;
|
|
64
|
-
s["lib.es2015.d.ts"] = !0;
|
|
65
|
-
s["lib.es2015.generator.d.ts"] = !0;
|
|
66
|
-
s["lib.es2015.iterable.d.ts"] = !0;
|
|
67
|
-
s["lib.es2015.promise.d.ts"] = !0;
|
|
68
|
-
s["lib.es2015.proxy.d.ts"] = !0;
|
|
69
|
-
s["lib.es2015.reflect.d.ts"] = !0;
|
|
70
|
-
s["lib.es2015.symbol.d.ts"] = !0;
|
|
71
|
-
s["lib.es2015.symbol.wellknown.d.ts"] = !0;
|
|
72
|
-
s["lib.es2016.array.include.d.ts"] = !0;
|
|
73
|
-
s["lib.es2016.d.ts"] = !0;
|
|
74
|
-
s["lib.es2016.full.d.ts"] = !0;
|
|
75
|
-
s["lib.es2017.d.ts"] = !0;
|
|
76
|
-
s["lib.es2017.full.d.ts"] = !0;
|
|
77
|
-
s["lib.es2017.intl.d.ts"] = !0;
|
|
78
|
-
s["lib.es2017.object.d.ts"] = !0;
|
|
79
|
-
s["lib.es2017.sharedmemory.d.ts"] = !0;
|
|
80
|
-
s["lib.es2017.string.d.ts"] = !0;
|
|
81
|
-
s["lib.es2017.typedarrays.d.ts"] = !0;
|
|
82
|
-
s["lib.es2018.asyncgenerator.d.ts"] = !0;
|
|
83
|
-
s["lib.es2018.asynciterable.d.ts"] = !0;
|
|
84
|
-
s["lib.es2018.d.ts"] = !0;
|
|
85
|
-
s["lib.es2018.full.d.ts"] = !0;
|
|
86
|
-
s["lib.es2018.intl.d.ts"] = !0;
|
|
87
|
-
s["lib.es2018.promise.d.ts"] = !0;
|
|
88
|
-
s["lib.es2018.regexp.d.ts"] = !0;
|
|
89
|
-
s["lib.es2019.array.d.ts"] = !0;
|
|
90
|
-
s["lib.es2019.d.ts"] = !0;
|
|
91
|
-
s["lib.es2019.full.d.ts"] = !0;
|
|
92
|
-
s["lib.es2019.intl.d.ts"] = !0;
|
|
93
|
-
s["lib.es2019.object.d.ts"] = !0;
|
|
94
|
-
s["lib.es2019.string.d.ts"] = !0;
|
|
95
|
-
s["lib.es2019.symbol.d.ts"] = !0;
|
|
96
|
-
s["lib.es2020.bigint.d.ts"] = !0;
|
|
97
|
-
s["lib.es2020.d.ts"] = !0;
|
|
98
|
-
s["lib.es2020.date.d.ts"] = !0;
|
|
99
|
-
s["lib.es2020.full.d.ts"] = !0;
|
|
100
|
-
s["lib.es2020.intl.d.ts"] = !0;
|
|
101
|
-
s["lib.es2020.number.d.ts"] = !0;
|
|
102
|
-
s["lib.es2020.promise.d.ts"] = !0;
|
|
103
|
-
s["lib.es2020.sharedmemory.d.ts"] = !0;
|
|
104
|
-
s["lib.es2020.string.d.ts"] = !0;
|
|
105
|
-
s["lib.es2020.symbol.wellknown.d.ts"] = !0;
|
|
106
|
-
s["lib.es2021.d.ts"] = !0;
|
|
107
|
-
s["lib.es2021.full.d.ts"] = !0;
|
|
108
|
-
s["lib.es2021.intl.d.ts"] = !0;
|
|
109
|
-
s["lib.es2021.promise.d.ts"] = !0;
|
|
110
|
-
s["lib.es2021.string.d.ts"] = !0;
|
|
111
|
-
s["lib.es2021.weakref.d.ts"] = !0;
|
|
112
|
-
s["lib.es2022.array.d.ts"] = !0;
|
|
113
|
-
s["lib.es2022.d.ts"] = !0;
|
|
114
|
-
s["lib.es2022.error.d.ts"] = !0;
|
|
115
|
-
s["lib.es2022.full.d.ts"] = !0;
|
|
116
|
-
s["lib.es2022.intl.d.ts"] = !0;
|
|
117
|
-
s["lib.es2022.object.d.ts"] = !0;
|
|
118
|
-
s["lib.es2022.regexp.d.ts"] = !0;
|
|
119
|
-
s["lib.es2022.sharedmemory.d.ts"] = !0;
|
|
120
|
-
s["lib.es2022.string.d.ts"] = !0;
|
|
121
|
-
s["lib.es2023.array.d.ts"] = !0;
|
|
122
|
-
s["lib.es2023.d.ts"] = !0;
|
|
123
|
-
s["lib.es2023.full.d.ts"] = !0;
|
|
124
|
-
s["lib.es5.d.ts"] = !0;
|
|
125
|
-
s["lib.es6.d.ts"] = !0;
|
|
126
|
-
s["lib.esnext.d.ts"] = !0;
|
|
127
|
-
s["lib.esnext.full.d.ts"] = !0;
|
|
128
|
-
s["lib.esnext.intl.d.ts"] = !0;
|
|
129
|
-
s["lib.scripthost.d.ts"] = !0;
|
|
130
|
-
s["lib.webworker.d.ts"] = !0;
|
|
131
|
-
s["lib.webworker.importscripts.d.ts"] = !0;
|
|
132
|
-
s["lib.webworker.iterable.d.ts"] = !0;
|
|
133
|
-
function D(e, t, r = 0) {
|
|
134
|
-
if (typeof e == "string")
|
|
135
|
-
return e;
|
|
136
|
-
if (e === void 0)
|
|
137
|
-
return "";
|
|
138
|
-
let l = "";
|
|
139
|
-
if (r) {
|
|
140
|
-
l += t;
|
|
141
|
-
for (let n = 0; n < r; n++)
|
|
142
|
-
l += " ";
|
|
143
|
-
}
|
|
144
|
-
if (l += e.messageText, r++, e.next)
|
|
145
|
-
for (const n of e.next)
|
|
146
|
-
l += D(n, t, r);
|
|
147
|
-
return l;
|
|
148
|
-
}
|
|
149
|
-
function k(e) {
|
|
150
|
-
return e ? e.map((t) => t.text).join("") : "";
|
|
151
|
-
}
|
|
152
|
-
var w = class {
|
|
153
|
-
constructor(e) {
|
|
154
|
-
this._worker = e;
|
|
155
|
-
}
|
|
156
|
-
_textSpanToRange(e, t) {
|
|
157
|
-
let r = e.getPositionAt(t.start), l = e.getPositionAt(t.start + t.length), { lineNumber: n, column: u } = r, { lineNumber: g, column: a } = l;
|
|
158
|
-
return { startLineNumber: n, startColumn: u, endLineNumber: g, endColumn: a };
|
|
159
|
-
}
|
|
160
|
-
}, $ = class {
|
|
161
|
-
constructor(e) {
|
|
162
|
-
_(this, "_libFiles");
|
|
163
|
-
_(this, "_hasFetchedLibFiles");
|
|
164
|
-
_(this, "_fetchLibFilesPromise");
|
|
165
|
-
this._worker = e, this._libFiles = {}, this._hasFetchedLibFiles = !1, this._fetchLibFilesPromise = null;
|
|
166
|
-
}
|
|
167
|
-
isLibFile(e) {
|
|
168
|
-
return e && e.path.indexOf("/lib.") === 0 ? !!s[e.path.slice(1)] : !1;
|
|
169
|
-
}
|
|
170
|
-
getOrCreateModel(e) {
|
|
171
|
-
const t = i.Uri.parse(e), r = i.editor.getModel(t);
|
|
172
|
-
if (r)
|
|
173
|
-
return r;
|
|
174
|
-
if (this.isLibFile(t) && this._hasFetchedLibFiles)
|
|
175
|
-
return i.editor.createModel(this._libFiles[t.path.slice(1)], "typescript", t);
|
|
176
|
-
const l = R.getExtraLibs()[e];
|
|
177
|
-
return l ? i.editor.createModel(l.content, "typescript", t) : null;
|
|
178
|
-
}
|
|
179
|
-
_containsLibFile(e) {
|
|
180
|
-
for (let t of e)
|
|
181
|
-
if (this.isLibFile(t))
|
|
182
|
-
return !0;
|
|
183
|
-
return !1;
|
|
184
|
-
}
|
|
185
|
-
async fetchLibFilesIfNecessary(e) {
|
|
186
|
-
this._containsLibFile(e) && await this._fetchLibFiles();
|
|
187
|
-
}
|
|
188
|
-
_fetchLibFiles() {
|
|
189
|
-
return this._fetchLibFilesPromise || (this._fetchLibFilesPromise = this._worker().then((e) => e.getLibFiles()).then((e) => {
|
|
190
|
-
this._hasFetchedLibFiles = !0, this._libFiles = e;
|
|
191
|
-
})), this._fetchLibFilesPromise;
|
|
192
|
-
}
|
|
193
|
-
}, z = class extends w {
|
|
194
|
-
constructor(t, r, l, n) {
|
|
195
|
-
super(n);
|
|
196
|
-
_(this, "_disposables", []);
|
|
197
|
-
_(this, "_listener", /* @__PURE__ */ Object.create(null));
|
|
198
|
-
this._libFiles = t, this._defaults = r, this._selector = l;
|
|
199
|
-
const u = (o) => {
|
|
200
|
-
if (o.getLanguageId() !== l)
|
|
201
|
-
return;
|
|
202
|
-
const p = () => {
|
|
203
|
-
const { onlyVisible: y } = this._defaults.getDiagnosticsOptions();
|
|
204
|
-
y ? o.isAttachedToEditor() && this._doValidate(o) : this._doValidate(o);
|
|
205
|
-
};
|
|
206
|
-
let d;
|
|
207
|
-
const f = o.onDidChangeContent(() => {
|
|
208
|
-
clearTimeout(d), d = window.setTimeout(p, 500);
|
|
209
|
-
}), h = o.onDidChangeAttached(() => {
|
|
210
|
-
const { onlyVisible: y } = this._defaults.getDiagnosticsOptions();
|
|
211
|
-
y && (o.isAttachedToEditor() ? p() : i.editor.setModelMarkers(o, this._selector, []));
|
|
212
|
-
});
|
|
213
|
-
this._listener[o.uri.toString()] = {
|
|
214
|
-
dispose() {
|
|
215
|
-
f.dispose(), h.dispose(), clearTimeout(d);
|
|
216
|
-
}
|
|
217
|
-
}, p();
|
|
218
|
-
}, g = (o) => {
|
|
219
|
-
i.editor.setModelMarkers(o, this._selector, []);
|
|
220
|
-
const p = o.uri.toString();
|
|
221
|
-
this._listener[p] && (this._listener[p].dispose(), delete this._listener[p]);
|
|
222
|
-
};
|
|
223
|
-
this._disposables.push(i.editor.onDidCreateModel((o) => u(o))), this._disposables.push(i.editor.onWillDisposeModel(g)), this._disposables.push(i.editor.onDidChangeModelLanguage((o) => {
|
|
224
|
-
g(o.model), u(o.model);
|
|
225
|
-
})), this._disposables.push({
|
|
226
|
-
dispose() {
|
|
227
|
-
for (const o of i.editor.getModels())
|
|
228
|
-
g(o);
|
|
229
|
-
}
|
|
230
|
-
});
|
|
231
|
-
const a = () => {
|
|
232
|
-
for (const o of i.editor.getModels())
|
|
233
|
-
g(o), u(o);
|
|
234
|
-
};
|
|
235
|
-
this._disposables.push(this._defaults.onDidChange(a)), this._disposables.push(this._defaults.onDidExtraLibsChange(a)), i.editor.getModels().forEach((o) => u(o));
|
|
236
|
-
}
|
|
237
|
-
dispose() {
|
|
238
|
-
this._disposables.forEach((t) => t && t.dispose()), this._disposables = [];
|
|
239
|
-
}
|
|
240
|
-
async _doValidate(t) {
|
|
241
|
-
const r = await this._worker(t.uri);
|
|
242
|
-
if (t.isDisposed())
|
|
243
|
-
return;
|
|
244
|
-
const l = [], { noSyntaxValidation: n, noSemanticValidation: u, noSuggestionDiagnostics: g } = this._defaults.getDiagnosticsOptions();
|
|
245
|
-
n || l.push(r.getSyntacticDiagnostics(t.uri.toString())), u || l.push(r.getSemanticDiagnostics(t.uri.toString())), g || l.push(r.getSuggestionDiagnostics(t.uri.toString()));
|
|
246
|
-
const a = await Promise.all(l);
|
|
247
|
-
if (!a || t.isDisposed())
|
|
248
|
-
return;
|
|
249
|
-
const o = a.reduce((d, f) => f.concat(d), []).filter((d) => (this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore || []).indexOf(d.code) === -1), p = o.map((d) => d.relatedInformation || []).reduce((d, f) => f.concat(d), []).map((d) => d.file ? i.Uri.parse(d.file.fileName) : null);
|
|
250
|
-
await this._libFiles.fetchLibFilesIfNecessary(p), !t.isDisposed() && i.editor.setModelMarkers(t, this._selector, o.map((d) => this._convertDiagnostics(t, d)));
|
|
251
|
-
}
|
|
252
|
-
_convertDiagnostics(t, r) {
|
|
253
|
-
const l = r.start || 0, n = r.length || 1, { lineNumber: u, column: g } = t.getPositionAt(l), { lineNumber: a, column: o } = t.getPositionAt(l + n), p = [];
|
|
254
|
-
return r.reportsUnnecessary && p.push(i.MarkerTag.Unnecessary), r.reportsDeprecated && p.push(i.MarkerTag.Deprecated), {
|
|
255
|
-
severity: this._tsDiagnosticCategoryToMarkerSeverity(r.category),
|
|
256
|
-
startLineNumber: u,
|
|
257
|
-
startColumn: g,
|
|
258
|
-
endLineNumber: a,
|
|
259
|
-
endColumn: o,
|
|
260
|
-
message: D(r.messageText, `
|
|
261
|
-
`),
|
|
262
|
-
code: r.code.toString(),
|
|
263
|
-
tags: p,
|
|
264
|
-
relatedInformation: this._convertRelatedInformation(t, r.relatedInformation)
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
_convertRelatedInformation(t, r) {
|
|
268
|
-
if (!r)
|
|
269
|
-
return [];
|
|
270
|
-
const l = [];
|
|
271
|
-
return r.forEach((n) => {
|
|
272
|
-
let u = t;
|
|
273
|
-
if (n.file && (u = this._libFiles.getOrCreateModel(n.file.fileName)), !u)
|
|
274
|
-
return;
|
|
275
|
-
const g = n.start || 0, a = n.length || 1, { lineNumber: o, column: p } = u.getPositionAt(g), { lineNumber: d, column: f } = u.getPositionAt(g + a);
|
|
276
|
-
l.push({
|
|
277
|
-
resource: u.uri,
|
|
278
|
-
startLineNumber: o,
|
|
279
|
-
startColumn: p,
|
|
280
|
-
endLineNumber: d,
|
|
281
|
-
endColumn: f,
|
|
282
|
-
message: D(n.messageText, `
|
|
283
|
-
`)
|
|
284
|
-
});
|
|
285
|
-
}), l;
|
|
286
|
-
}
|
|
287
|
-
_tsDiagnosticCategoryToMarkerSeverity(t) {
|
|
288
|
-
switch (t) {
|
|
289
|
-
case 1:
|
|
290
|
-
return i.MarkerSeverity.Error;
|
|
291
|
-
case 3:
|
|
292
|
-
return i.MarkerSeverity.Info;
|
|
293
|
-
case 0:
|
|
294
|
-
return i.MarkerSeverity.Warning;
|
|
295
|
-
case 2:
|
|
296
|
-
return i.MarkerSeverity.Hint;
|
|
297
|
-
}
|
|
298
|
-
return i.MarkerSeverity.Info;
|
|
299
|
-
}
|
|
300
|
-
}, C = class extends w {
|
|
301
|
-
get triggerCharacters() {
|
|
302
|
-
return ["."];
|
|
303
|
-
}
|
|
304
|
-
async provideCompletionItems(e, t, r, l) {
|
|
305
|
-
const n = e.getWordUntilPosition(t), u = new i.Range(t.lineNumber, n.startColumn, t.lineNumber, n.endColumn), g = e.uri, a = e.getOffsetAt(t), o = await this._worker(g);
|
|
306
|
-
if (e.isDisposed())
|
|
307
|
-
return;
|
|
308
|
-
const p = await o.getCompletionsAtPosition(g.toString(), a);
|
|
309
|
-
return !p || e.isDisposed() ? void 0 : {
|
|
310
|
-
suggestions: p.entries.map((f) => {
|
|
311
|
-
let h = u;
|
|
312
|
-
if (f.replacementSpan) {
|
|
313
|
-
const x = e.getPositionAt(f.replacementSpan.start), v = e.getPositionAt(f.replacementSpan.start + f.replacementSpan.length);
|
|
314
|
-
h = new i.Range(x.lineNumber, x.column, v.lineNumber, v.column);
|
|
315
|
-
}
|
|
316
|
-
const y = [];
|
|
317
|
-
return f.kindModifiers !== void 0 && f.kindModifiers.indexOf("deprecated") !== -1 && y.push(i.languages.CompletionItemTag.Deprecated), {
|
|
318
|
-
uri: g,
|
|
319
|
-
position: t,
|
|
320
|
-
offset: a,
|
|
321
|
-
range: h,
|
|
322
|
-
label: f.name,
|
|
323
|
-
insertText: f.name,
|
|
324
|
-
sortText: f.sortText,
|
|
325
|
-
kind: C.convertKind(f.kind),
|
|
326
|
-
tags: y
|
|
327
|
-
};
|
|
328
|
-
})
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
async resolveCompletionItem(e, t) {
|
|
332
|
-
const r = e, l = r.uri, n = r.position, u = r.offset, a = await (await this._worker(l)).getCompletionEntryDetails(l.toString(), u, r.label);
|
|
333
|
-
return a ? {
|
|
334
|
-
uri: l,
|
|
335
|
-
position: n,
|
|
336
|
-
label: a.name,
|
|
337
|
-
kind: C.convertKind(a.kind),
|
|
338
|
-
detail: k(a.displayParts),
|
|
339
|
-
documentation: {
|
|
340
|
-
value: C.createDocumentationString(a)
|
|
341
|
-
}
|
|
342
|
-
} : r;
|
|
343
|
-
}
|
|
344
|
-
static convertKind(e) {
|
|
345
|
-
switch (e) {
|
|
346
|
-
case c.primitiveType:
|
|
347
|
-
case c.keyword:
|
|
348
|
-
return i.languages.CompletionItemKind.Keyword;
|
|
349
|
-
case c.variable:
|
|
350
|
-
case c.localVariable:
|
|
351
|
-
return i.languages.CompletionItemKind.Variable;
|
|
352
|
-
case c.memberVariable:
|
|
353
|
-
case c.memberGetAccessor:
|
|
354
|
-
case c.memberSetAccessor:
|
|
355
|
-
return i.languages.CompletionItemKind.Field;
|
|
356
|
-
case c.function:
|
|
357
|
-
case c.memberFunction:
|
|
358
|
-
case c.constructSignature:
|
|
359
|
-
case c.callSignature:
|
|
360
|
-
case c.indexSignature:
|
|
361
|
-
return i.languages.CompletionItemKind.Function;
|
|
362
|
-
case c.enum:
|
|
363
|
-
return i.languages.CompletionItemKind.Enum;
|
|
364
|
-
case c.module:
|
|
365
|
-
return i.languages.CompletionItemKind.Module;
|
|
366
|
-
case c.class:
|
|
367
|
-
return i.languages.CompletionItemKind.Class;
|
|
368
|
-
case c.interface:
|
|
369
|
-
return i.languages.CompletionItemKind.Interface;
|
|
370
|
-
case c.warning:
|
|
371
|
-
return i.languages.CompletionItemKind.File;
|
|
372
|
-
}
|
|
373
|
-
return i.languages.CompletionItemKind.Property;
|
|
374
|
-
}
|
|
375
|
-
static createDocumentationString(e) {
|
|
376
|
-
let t = k(e.documentation);
|
|
377
|
-
if (e.tags)
|
|
378
|
-
for (const r of e.tags)
|
|
379
|
-
t += `
|
|
380
|
-
|
|
381
|
-
${L(r)}`;
|
|
382
|
-
return t;
|
|
383
|
-
}
|
|
384
|
-
};
|
|
385
|
-
function L(e) {
|
|
386
|
-
let t = `*@${e.name}*`;
|
|
387
|
-
if (e.name === "param" && e.text) {
|
|
388
|
-
const [r, ...l] = e.text;
|
|
389
|
-
t += `\`${r.text}\``, l.length > 0 && (t += ` — ${l.map((n) => n.text).join(" ")}`);
|
|
390
|
-
} else Array.isArray(e.text) ? t += ` — ${e.text.map((r) => r.text).join(" ")}` : e.text && (t += ` — ${e.text}`);
|
|
391
|
-
return t;
|
|
392
|
-
}
|
|
393
|
-
var P = class extends w {
|
|
394
|
-
constructor() {
|
|
395
|
-
super(...arguments);
|
|
396
|
-
_(this, "signatureHelpTriggerCharacters", ["(", ","]);
|
|
397
|
-
}
|
|
398
|
-
static _toSignatureHelpTriggerReason(t) {
|
|
399
|
-
switch (t.triggerKind) {
|
|
400
|
-
case i.languages.SignatureHelpTriggerKind.TriggerCharacter:
|
|
401
|
-
return t.triggerCharacter ? t.isRetrigger ? { kind: "retrigger", triggerCharacter: t.triggerCharacter } : { kind: "characterTyped", triggerCharacter: t.triggerCharacter } : { kind: "invoked" };
|
|
402
|
-
case i.languages.SignatureHelpTriggerKind.ContentChange:
|
|
403
|
-
return t.isRetrigger ? { kind: "retrigger" } : { kind: "invoked" };
|
|
404
|
-
case i.languages.SignatureHelpTriggerKind.Invoke:
|
|
405
|
-
default:
|
|
406
|
-
return { kind: "invoked" };
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
async provideSignatureHelp(t, r, l, n) {
|
|
410
|
-
const u = t.uri, g = t.getOffsetAt(r), a = await this._worker(u);
|
|
411
|
-
if (t.isDisposed())
|
|
412
|
-
return;
|
|
413
|
-
const o = await a.getSignatureHelpItems(u.toString(), g, {
|
|
414
|
-
triggerReason: P._toSignatureHelpTriggerReason(n)
|
|
415
|
-
});
|
|
416
|
-
if (!o || t.isDisposed())
|
|
417
|
-
return;
|
|
418
|
-
const p = {
|
|
419
|
-
activeSignature: o.selectedItemIndex,
|
|
420
|
-
activeParameter: o.argumentIndex,
|
|
421
|
-
signatures: []
|
|
422
|
-
};
|
|
423
|
-
return o.items.forEach((d) => {
|
|
424
|
-
const f = {
|
|
425
|
-
label: "",
|
|
426
|
-
parameters: []
|
|
427
|
-
};
|
|
428
|
-
f.documentation = {
|
|
429
|
-
value: k(d.documentation)
|
|
430
|
-
}, f.label += k(d.prefixDisplayParts), d.parameters.forEach((h, y, x) => {
|
|
431
|
-
const v = k(h.displayParts), I = {
|
|
432
|
-
label: v,
|
|
433
|
-
documentation: {
|
|
434
|
-
value: k(h.documentation)
|
|
435
|
-
}
|
|
436
|
-
};
|
|
437
|
-
f.label += v, f.parameters.push(I), y < x.length - 1 && (f.label += k(d.separatorDisplayParts));
|
|
438
|
-
}), f.label += k(d.suffixDisplayParts), p.signatures.push(f);
|
|
439
|
-
}), {
|
|
440
|
-
value: p,
|
|
441
|
-
dispose() {
|
|
442
|
-
}
|
|
443
|
-
};
|
|
444
|
-
}
|
|
445
|
-
}, G = class extends w {
|
|
446
|
-
async provideHover(e, t, r) {
|
|
447
|
-
const l = e.uri, n = e.getOffsetAt(t), u = await this._worker(l);
|
|
448
|
-
if (e.isDisposed())
|
|
449
|
-
return;
|
|
450
|
-
const g = await u.getQuickInfoAtPosition(l.toString(), n);
|
|
451
|
-
if (!g || e.isDisposed())
|
|
452
|
-
return;
|
|
453
|
-
const a = k(g.documentation), o = g.tags ? g.tags.map((d) => L(d)).join(`
|
|
454
|
-
|
|
455
|
-
`) : "", p = k(g.displayParts);
|
|
456
|
-
return {
|
|
457
|
-
range: this._textSpanToRange(e, g.textSpan),
|
|
458
|
-
contents: [
|
|
459
|
-
{
|
|
460
|
-
value: "```typescript\n" + p + "\n```\n"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
value: a + (o ? `
|
|
464
|
-
|
|
465
|
-
` + o : "")
|
|
466
|
-
}
|
|
467
|
-
]
|
|
468
|
-
};
|
|
469
|
-
}
|
|
470
|
-
}, J = class extends w {
|
|
471
|
-
async provideDocumentHighlights(e, t, r) {
|
|
472
|
-
const l = e.uri, n = e.getOffsetAt(t), u = await this._worker(l);
|
|
473
|
-
if (e.isDisposed())
|
|
474
|
-
return;
|
|
475
|
-
const g = await u.getDocumentHighlights(l.toString(), n, [
|
|
476
|
-
l.toString()
|
|
477
|
-
]);
|
|
478
|
-
if (!(!g || e.isDisposed()))
|
|
479
|
-
return g.flatMap((a) => a.highlightSpans.map((o) => ({
|
|
480
|
-
range: this._textSpanToRange(e, o.textSpan),
|
|
481
|
-
kind: o.kind === "writtenReference" ? i.languages.DocumentHighlightKind.Write : i.languages.DocumentHighlightKind.Text
|
|
482
|
-
})));
|
|
483
|
-
}
|
|
484
|
-
}, Q = class extends w {
|
|
485
|
-
constructor(e, t) {
|
|
486
|
-
super(t), this._libFiles = e;
|
|
487
|
-
}
|
|
488
|
-
async provideDefinition(e, t, r) {
|
|
489
|
-
const l = e.uri, n = e.getOffsetAt(t), u = await this._worker(l);
|
|
490
|
-
if (e.isDisposed())
|
|
491
|
-
return;
|
|
492
|
-
const g = await u.getDefinitionAtPosition(l.toString(), n);
|
|
493
|
-
if (!g || e.isDisposed() || (await this._libFiles.fetchLibFilesIfNecessary(g.map((o) => i.Uri.parse(o.fileName))), e.isDisposed()))
|
|
494
|
-
return;
|
|
495
|
-
const a = [];
|
|
496
|
-
for (let o of g) {
|
|
497
|
-
const p = this._libFiles.getOrCreateModel(o.fileName);
|
|
498
|
-
p && a.push({
|
|
499
|
-
uri: p.uri,
|
|
500
|
-
range: this._textSpanToRange(p, o.textSpan)
|
|
501
|
-
});
|
|
502
|
-
}
|
|
503
|
-
return a;
|
|
504
|
-
}
|
|
505
|
-
}, q = class extends w {
|
|
506
|
-
constructor(e, t) {
|
|
507
|
-
super(t), this._libFiles = e;
|
|
508
|
-
}
|
|
509
|
-
async provideReferences(e, t, r, l) {
|
|
510
|
-
const n = e.uri, u = e.getOffsetAt(t), g = await this._worker(n);
|
|
511
|
-
if (e.isDisposed())
|
|
512
|
-
return;
|
|
513
|
-
const a = await g.getReferencesAtPosition(n.toString(), u);
|
|
514
|
-
if (!a || e.isDisposed() || (await this._libFiles.fetchLibFilesIfNecessary(a.map((p) => i.Uri.parse(p.fileName))), e.isDisposed()))
|
|
515
|
-
return;
|
|
516
|
-
const o = [];
|
|
517
|
-
for (let p of a) {
|
|
518
|
-
const d = this._libFiles.getOrCreateModel(p.fileName);
|
|
519
|
-
d && o.push({
|
|
520
|
-
uri: d.uri,
|
|
521
|
-
range: this._textSpanToRange(d, p.textSpan)
|
|
522
|
-
});
|
|
523
|
-
}
|
|
524
|
-
return o;
|
|
525
|
-
}
|
|
526
|
-
}, X = class extends w {
|
|
527
|
-
async provideDocumentSymbols(e, t) {
|
|
528
|
-
const r = e.uri, l = await this._worker(r);
|
|
529
|
-
if (e.isDisposed())
|
|
530
|
-
return;
|
|
531
|
-
const n = await l.getNavigationTree(r.toString());
|
|
532
|
-
if (!n || e.isDisposed())
|
|
533
|
-
return;
|
|
534
|
-
const u = (a, o) => ({
|
|
535
|
-
name: a.text,
|
|
536
|
-
detail: "",
|
|
537
|
-
kind: m[a.kind] || i.languages.SymbolKind.Variable,
|
|
538
|
-
range: this._textSpanToRange(e, a.spans[0]),
|
|
539
|
-
selectionRange: this._textSpanToRange(e, a.spans[0]),
|
|
540
|
-
tags: [],
|
|
541
|
-
children: a.childItems?.map((d) => u(d, a.text)),
|
|
542
|
-
containerName: o
|
|
543
|
-
});
|
|
544
|
-
return n.childItems ? n.childItems.map((a) => u(a)) : [];
|
|
545
|
-
}
|
|
546
|
-
}, c = class {
|
|
547
|
-
};
|
|
548
|
-
b(c, "unknown", "");
|
|
549
|
-
b(c, "keyword", "keyword");
|
|
550
|
-
b(c, "script", "script");
|
|
551
|
-
b(c, "module", "module");
|
|
552
|
-
b(c, "class", "class");
|
|
553
|
-
b(c, "interface", "interface");
|
|
554
|
-
b(c, "type", "type");
|
|
555
|
-
b(c, "enum", "enum");
|
|
556
|
-
b(c, "variable", "var");
|
|
557
|
-
b(c, "localVariable", "local var");
|
|
558
|
-
b(c, "function", "function");
|
|
559
|
-
b(c, "localFunction", "local function");
|
|
560
|
-
b(c, "memberFunction", "method");
|
|
561
|
-
b(c, "memberGetAccessor", "getter");
|
|
562
|
-
b(c, "memberSetAccessor", "setter");
|
|
563
|
-
b(c, "memberVariable", "property");
|
|
564
|
-
b(c, "constructorImplementation", "constructor");
|
|
565
|
-
b(c, "callSignature", "call");
|
|
566
|
-
b(c, "indexSignature", "index");
|
|
567
|
-
b(c, "constructSignature", "construct");
|
|
568
|
-
b(c, "parameter", "parameter");
|
|
569
|
-
b(c, "typeParameter", "type parameter");
|
|
570
|
-
b(c, "primitiveType", "primitive type");
|
|
571
|
-
b(c, "label", "label");
|
|
572
|
-
b(c, "alias", "alias");
|
|
573
|
-
b(c, "const", "const");
|
|
574
|
-
b(c, "let", "let");
|
|
575
|
-
b(c, "warning", "warning");
|
|
576
|
-
var m = /* @__PURE__ */ Object.create(null);
|
|
577
|
-
m[c.module] = i.languages.SymbolKind.Module;
|
|
578
|
-
m[c.class] = i.languages.SymbolKind.Class;
|
|
579
|
-
m[c.enum] = i.languages.SymbolKind.Enum;
|
|
580
|
-
m[c.interface] = i.languages.SymbolKind.Interface;
|
|
581
|
-
m[c.memberFunction] = i.languages.SymbolKind.Method;
|
|
582
|
-
m[c.memberVariable] = i.languages.SymbolKind.Property;
|
|
583
|
-
m[c.memberGetAccessor] = i.languages.SymbolKind.Property;
|
|
584
|
-
m[c.memberSetAccessor] = i.languages.SymbolKind.Property;
|
|
585
|
-
m[c.variable] = i.languages.SymbolKind.Variable;
|
|
586
|
-
m[c.const] = i.languages.SymbolKind.Variable;
|
|
587
|
-
m[c.localVariable] = i.languages.SymbolKind.Variable;
|
|
588
|
-
m[c.variable] = i.languages.SymbolKind.Variable;
|
|
589
|
-
m[c.function] = i.languages.SymbolKind.Function;
|
|
590
|
-
m[c.localFunction] = i.languages.SymbolKind.Function;
|
|
591
|
-
var S = class extends w {
|
|
592
|
-
static _convertOptions(e) {
|
|
593
|
-
return {
|
|
594
|
-
ConvertTabsToSpaces: e.insertSpaces,
|
|
595
|
-
TabSize: e.tabSize,
|
|
596
|
-
IndentSize: e.tabSize,
|
|
597
|
-
IndentStyle: 2,
|
|
598
|
-
NewLineCharacter: `
|
|
599
|
-
`,
|
|
600
|
-
InsertSpaceAfterCommaDelimiter: !0,
|
|
601
|
-
InsertSpaceAfterSemicolonInForStatements: !0,
|
|
602
|
-
InsertSpaceBeforeAndAfterBinaryOperators: !0,
|
|
603
|
-
InsertSpaceAfterKeywordsInControlFlowStatements: !0,
|
|
604
|
-
InsertSpaceAfterFunctionKeywordForAnonymousFunctions: !0,
|
|
605
|
-
InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: !1,
|
|
606
|
-
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: !1,
|
|
607
|
-
InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: !1,
|
|
608
|
-
PlaceOpenBraceOnNewLineForControlBlocks: !1,
|
|
609
|
-
PlaceOpenBraceOnNewLineForFunctions: !1
|
|
610
|
-
};
|
|
611
|
-
}
|
|
612
|
-
_convertTextChanges(e, t) {
|
|
613
|
-
return {
|
|
614
|
-
text: t.newText,
|
|
615
|
-
range: this._textSpanToRange(e, t.span)
|
|
616
|
-
};
|
|
617
|
-
}
|
|
618
|
-
}, Y = class extends S {
|
|
619
|
-
constructor() {
|
|
620
|
-
super(...arguments);
|
|
621
|
-
_(this, "canFormatMultipleRanges", !1);
|
|
622
|
-
}
|
|
623
|
-
async provideDocumentRangeFormattingEdits(t, r, l, n) {
|
|
624
|
-
const u = t.uri, g = t.getOffsetAt({
|
|
625
|
-
lineNumber: r.startLineNumber,
|
|
626
|
-
column: r.startColumn
|
|
627
|
-
}), a = t.getOffsetAt({
|
|
628
|
-
lineNumber: r.endLineNumber,
|
|
629
|
-
column: r.endColumn
|
|
630
|
-
}), o = await this._worker(u);
|
|
631
|
-
if (t.isDisposed())
|
|
632
|
-
return;
|
|
633
|
-
const p = await o.getFormattingEditsForRange(u.toString(), g, a, S._convertOptions(l));
|
|
634
|
-
if (!(!p || t.isDisposed()))
|
|
635
|
-
return p.map((d) => this._convertTextChanges(t, d));
|
|
636
|
-
}
|
|
637
|
-
}, Z = class extends S {
|
|
638
|
-
get autoFormatTriggerCharacters() {
|
|
639
|
-
return [";", "}", `
|
|
640
|
-
`];
|
|
641
|
-
}
|
|
642
|
-
async provideOnTypeFormattingEdits(e, t, r, l, n) {
|
|
643
|
-
const u = e.uri, g = e.getOffsetAt(t), a = await this._worker(u);
|
|
644
|
-
if (e.isDisposed())
|
|
645
|
-
return;
|
|
646
|
-
const o = await a.getFormattingEditsAfterKeystroke(u.toString(), g, r, S._convertOptions(l));
|
|
647
|
-
if (!(!o || e.isDisposed()))
|
|
648
|
-
return o.map((p) => this._convertTextChanges(e, p));
|
|
649
|
-
}
|
|
650
|
-
}, ee = class extends S {
|
|
651
|
-
async provideCodeActions(e, t, r, l) {
|
|
652
|
-
const n = e.uri, u = e.getOffsetAt({
|
|
653
|
-
lineNumber: t.startLineNumber,
|
|
654
|
-
column: t.startColumn
|
|
655
|
-
}), g = e.getOffsetAt({
|
|
656
|
-
lineNumber: t.endLineNumber,
|
|
657
|
-
column: t.endColumn
|
|
658
|
-
}), a = S._convertOptions(e.getOptions()), o = r.markers.filter((h) => h.code).map((h) => h.code).map(Number), p = await this._worker(n);
|
|
659
|
-
if (e.isDisposed())
|
|
660
|
-
return;
|
|
661
|
-
const d = await p.getCodeFixesAtPosition(n.toString(), u, g, o, a);
|
|
662
|
-
return !d || e.isDisposed() ? { actions: [], dispose: () => {
|
|
663
|
-
} } : {
|
|
664
|
-
actions: d.filter((h) => h.changes.filter((y) => y.isNewFile).length === 0).map((h) => this._tsCodeFixActionToMonacoCodeAction(e, r, h)),
|
|
665
|
-
dispose: () => {
|
|
666
|
-
}
|
|
667
|
-
};
|
|
668
|
-
}
|
|
669
|
-
_tsCodeFixActionToMonacoCodeAction(e, t, r) {
|
|
670
|
-
const l = [];
|
|
671
|
-
for (const u of r.changes)
|
|
672
|
-
for (const g of u.textChanges)
|
|
673
|
-
l.push({
|
|
674
|
-
resource: e.uri,
|
|
675
|
-
versionId: void 0,
|
|
676
|
-
textEdit: {
|
|
677
|
-
range: this._textSpanToRange(e, g.span),
|
|
678
|
-
text: g.newText
|
|
679
|
-
}
|
|
680
|
-
});
|
|
681
|
-
return {
|
|
682
|
-
title: r.description,
|
|
683
|
-
edit: { edits: l },
|
|
684
|
-
diagnostics: t.markers,
|
|
685
|
-
kind: "quickfix"
|
|
686
|
-
};
|
|
687
|
-
}
|
|
688
|
-
}, te = class extends w {
|
|
689
|
-
constructor(e, t) {
|
|
690
|
-
super(t), this._libFiles = e;
|
|
691
|
-
}
|
|
692
|
-
async provideRenameEdits(e, t, r, l) {
|
|
693
|
-
const n = e.uri, u = n.toString(), g = e.getOffsetAt(t), a = await this._worker(n);
|
|
694
|
-
if (e.isDisposed())
|
|
695
|
-
return;
|
|
696
|
-
const o = await a.getRenameInfo(u, g, {
|
|
697
|
-
allowRenameOfImportPath: !1
|
|
698
|
-
});
|
|
699
|
-
if (o.canRename === !1)
|
|
700
|
-
return {
|
|
701
|
-
edits: [],
|
|
702
|
-
rejectReason: o.localizedErrorMessage
|
|
703
|
-
};
|
|
704
|
-
if (o.fileToRename !== void 0)
|
|
705
|
-
throw new Error("Renaming files is not supported.");
|
|
706
|
-
const p = await a.findRenameLocations(u, g, !1, !1, !1);
|
|
707
|
-
if (!p || e.isDisposed())
|
|
708
|
-
return;
|
|
709
|
-
const d = [];
|
|
710
|
-
for (const f of p) {
|
|
711
|
-
const h = this._libFiles.getOrCreateModel(f.fileName);
|
|
712
|
-
if (h)
|
|
713
|
-
d.push({
|
|
714
|
-
resource: h.uri,
|
|
715
|
-
versionId: void 0,
|
|
716
|
-
textEdit: {
|
|
717
|
-
range: this._textSpanToRange(h, f.textSpan),
|
|
718
|
-
text: r
|
|
719
|
-
}
|
|
720
|
-
});
|
|
721
|
-
else
|
|
722
|
-
throw new Error(`Unknown file ${f.fileName}.`);
|
|
723
|
-
}
|
|
724
|
-
return { edits: d };
|
|
725
|
-
}
|
|
726
|
-
}, re = class extends w {
|
|
727
|
-
async provideInlayHints(e, t, r) {
|
|
728
|
-
const l = e.uri, n = l.toString(), u = e.getOffsetAt({
|
|
729
|
-
lineNumber: t.startLineNumber,
|
|
730
|
-
column: t.startColumn
|
|
731
|
-
}), g = e.getOffsetAt({
|
|
732
|
-
lineNumber: t.endLineNumber,
|
|
733
|
-
column: t.endColumn
|
|
734
|
-
}), a = await this._worker(l);
|
|
735
|
-
return e.isDisposed() ? null : { hints: (await a.provideInlayHints(n, u, g)).map((d) => ({
|
|
736
|
-
...d,
|
|
737
|
-
label: d.text,
|
|
738
|
-
position: e.getPositionAt(d.position),
|
|
739
|
-
kind: this._convertHintKind(d.kind)
|
|
740
|
-
})), dispose: () => {
|
|
741
|
-
} };
|
|
742
|
-
}
|
|
743
|
-
_convertHintKind(e) {
|
|
744
|
-
switch (e) {
|
|
745
|
-
case "Parameter":
|
|
746
|
-
return i.languages.InlayHintKind.Parameter;
|
|
747
|
-
case "Type":
|
|
748
|
-
return i.languages.InlayHintKind.Type;
|
|
749
|
-
default:
|
|
750
|
-
return i.languages.InlayHintKind.Type;
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
}, F, A;
|
|
754
|
-
function ae(e) {
|
|
755
|
-
A = O(e, "typescript");
|
|
756
|
-
}
|
|
757
|
-
function oe(e) {
|
|
758
|
-
F = O(e, "javascript");
|
|
759
|
-
}
|
|
760
|
-
function le() {
|
|
761
|
-
return new Promise((e, t) => {
|
|
762
|
-
if (!F)
|
|
763
|
-
return t("JavaScript not registered!");
|
|
764
|
-
e(F);
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
function ce() {
|
|
768
|
-
return new Promise((e, t) => {
|
|
769
|
-
if (!A)
|
|
770
|
-
return t("TypeScript not registered!");
|
|
771
|
-
e(A);
|
|
772
|
-
});
|
|
773
|
-
}
|
|
774
|
-
function O(e, t) {
|
|
775
|
-
const r = [], l = new U(t, e), n = (...a) => l.getLanguageServiceWorker(...a), u = new $(n);
|
|
776
|
-
function g() {
|
|
777
|
-
const { modeConfiguration: a } = e;
|
|
778
|
-
se(r), a.completionItems && r.push(i.languages.registerCompletionItemProvider(t, new C(n))), a.signatureHelp && r.push(i.languages.registerSignatureHelpProvider(t, new P(n))), a.hovers && r.push(i.languages.registerHoverProvider(t, new G(n))), a.documentHighlights && r.push(i.languages.registerDocumentHighlightProvider(t, new J(n))), a.definitions && r.push(i.languages.registerDefinitionProvider(t, new Q(u, n))), a.references && r.push(i.languages.registerReferenceProvider(t, new q(u, n))), a.documentSymbols && r.push(i.languages.registerDocumentSymbolProvider(t, new X(n))), a.rename && r.push(i.languages.registerRenameProvider(t, new te(u, n))), a.documentRangeFormattingEdits && r.push(i.languages.registerDocumentRangeFormattingEditProvider(t, new Y(n))), a.onTypeFormattingEdits && r.push(i.languages.registerOnTypeFormattingEditProvider(t, new Z(n))), a.codeActions && r.push(i.languages.registerCodeActionProvider(t, new ee(n))), a.inlayHints && r.push(i.languages.registerInlayHintsProvider(t, new re(n))), a.diagnostics && r.push(new z(u, e, t, n));
|
|
779
|
-
}
|
|
780
|
-
return g(), n;
|
|
781
|
-
}
|
|
782
|
-
function se(e) {
|
|
783
|
-
for (; e.length; )
|
|
784
|
-
e.pop().dispose();
|
|
785
|
-
}
|
|
786
|
-
export {
|
|
787
|
-
w as Adapter,
|
|
788
|
-
ee as CodeActionAdaptor,
|
|
789
|
-
Q as DefinitionAdapter,
|
|
790
|
-
z as DiagnosticsAdapter,
|
|
791
|
-
J as DocumentHighlightAdapter,
|
|
792
|
-
Y as FormatAdapter,
|
|
793
|
-
S as FormatHelper,
|
|
794
|
-
Z as FormatOnTypeAdapter,
|
|
795
|
-
re as InlayHintsAdapter,
|
|
796
|
-
c as Kind,
|
|
797
|
-
$ as LibFiles,
|
|
798
|
-
X as OutlineAdapter,
|
|
799
|
-
G as QuickInfoAdapter,
|
|
800
|
-
q as ReferenceAdapter,
|
|
801
|
-
te as RenameAdapter,
|
|
802
|
-
P as SignatureHelpAdapter,
|
|
803
|
-
C as SuggestAdapter,
|
|
804
|
-
U as WorkerManager,
|
|
805
|
-
D as flattenDiagnosticMessageText,
|
|
806
|
-
le as getJavaScriptWorker,
|
|
807
|
-
ce as getTypeScriptWorker,
|
|
808
|
-
oe as setupJavaScript,
|
|
809
|
-
ae as setupTypeScript
|
|
810
|
-
};
|