@devtron-labs/devtron-fe-common-lib 4.0.2-beta-1 → 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.
Files changed (976) hide show
  1. package/dist/@code-editor-BAM7bZOw.js +101094 -0
  2. package/dist/@common-rjsf-Bx2aOoF1.js +14244 -0
  3. package/dist/@framer-motion-CJHeDr_5.js +151 -0
  4. package/dist/@react-virtualized-sticky-tree-Cru7sOnT.js +1255 -0
  5. package/dist/@src-assets-images-B2NAtpLS.js +1073 -0
  6. package/dist/@vendor-M2R6W7KJ.js +82170 -0
  7. package/dist/Common/API/CoreAPI.d.ts +29 -0
  8. package/dist/Common/API/QueryClientProvider.d.ts +2 -0
  9. package/dist/Common/API/constants.d.ts +70 -0
  10. package/dist/Common/API/index.d.ts +5 -0
  11. package/dist/Common/API/reactQueryHooks.d.ts +7 -0
  12. package/dist/Common/API/types.d.ts +23 -0
  13. package/dist/Common/API/utils.d.ts +12 -0
  14. package/dist/Common/AddCDButton/AddCDButton.d.ts +1 -1
  15. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  16. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +3 -2
  17. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +2 -0
  18. package/dist/Common/BreadCrumb/Types.d.ts +25 -0
  19. package/dist/Common/CIPipeline.Types.d.ts +68 -15
  20. package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -1
  21. package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
  22. package/dist/Common/Checkbox/index.d.ts +1 -0
  23. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +3 -4
  24. package/dist/Common/ClipboardButton/index.d.ts +1 -0
  25. package/dist/Common/ClipboardButton/types.d.ts +27 -4
  26. package/dist/Common/Common.service.d.ts +34 -12
  27. package/dist/Common/Constants.d.ts +150 -79
  28. package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +1 -1
  29. package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
  30. package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -1
  31. package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -1
  32. package/dist/Common/CustomTagSelector/Types.d.ts +20 -29
  33. package/dist/Common/CustomTagSelector/ValidationRules.d.ts +2 -4
  34. package/dist/Common/CustomTagSelector/index.d.ts +2 -2
  35. package/dist/Common/CustomTagSelector/tags.utils.d.ts +13 -0
  36. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
  37. package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +2 -0
  38. package/dist/Common/DeleteCINodeButton/index.d.ts +3 -0
  39. package/dist/Common/DeleteCINodeButton/types.d.ts +18 -0
  40. package/dist/Common/DeleteCINodeButton/utils.d.ts +5 -0
  41. package/dist/Common/DevtronCopyright.d.ts +2 -0
  42. package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
  43. package/dist/Common/Dialogs/DialogForm.d.ts +6 -6
  44. package/dist/Common/Dialogs/Types.d.ts +0 -16
  45. package/dist/Common/Dialogs/index.d.ts +0 -3
  46. package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
  47. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +4 -2
  48. package/dist/Common/DraggableWrapper/index.d.ts +1 -1
  49. package/dist/Common/DraggableWrapper/types.d.ts +4 -6
  50. package/dist/Common/Drawer/Drawer.d.ts +4 -3
  51. package/dist/Common/Drawer/index.d.ts +1 -0
  52. package/dist/Common/EmptyState/GenericEmptyState.d.ts +2 -1
  53. package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +1 -1
  54. package/dist/Common/EmptyState/index.d.ts +2 -0
  55. package/dist/Common/ErrorPage.d.ts +1 -1
  56. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  57. package/dist/Common/ErrorScreenNotAuthorized.d.ts +1 -1
  58. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  59. package/dist/Common/GenericDescription/constant.d.ts +40 -0
  60. package/dist/Common/GenericDescription/types.d.ts +5 -7
  61. package/dist/Common/GenericDescription/utils.d.ts +1 -0
  62. package/dist/Common/Grid/Grid.d.ts +1 -1
  63. package/dist/Common/Helper.d.ts +40 -12
  64. package/dist/Common/Hooks/UseGetUserRoles/UseGetUserRoles.d.ts +7 -0
  65. package/dist/Common/Hooks/UseGetUserRoles/index.d.ts +1 -0
  66. package/dist/Common/Hooks/UseGetUserRoles/types.d.ts +8 -0
  67. package/dist/Common/Hooks/UseIsTextTruncated/UseIsTextTruncated.d.ts +5 -0
  68. package/dist/Common/Hooks/UseIsTextTruncated/constants.d.ts +1 -0
  69. package/dist/Common/Hooks/UseIsTextTruncated/index.d.ts +1 -0
  70. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +1 -1
  71. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  72. package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +1 -0
  73. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +91 -3
  74. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +6 -0
  75. package/dist/Common/Hooks/index.d.ts +4 -3
  76. package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
  77. package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
  78. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
  79. package/dist/Common/Hooks/useUrlFilters/index.d.ts +2 -1
  80. package/dist/Common/Hooks/useUrlFilters/types.d.ts +16 -3
  81. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
  82. package/dist/Common/Hooks/useUrlFilters/utils.d.ts +2 -0
  83. package/dist/Common/ImageTags.Types.d.ts +2 -0
  84. package/dist/Common/ImageTags.d.ts +2 -2
  85. package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +27 -0
  86. package/dist/Common/InteractiveCellText/index.d.ts +2 -0
  87. package/dist/Common/InteractiveCellText/types.d.ts +10 -0
  88. package/dist/Common/Markdown/MarkDown.d.ts +1 -1
  89. package/dist/Common/Modals/Modal.d.ts +1 -2
  90. package/dist/Common/Modals/VisibleModal.d.ts +9 -10
  91. package/dist/Common/Modals/VisibleModal2.d.ts +7 -9
  92. package/dist/Common/MultiSelectCustomization.d.ts +9 -7
  93. package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -1
  94. package/dist/Common/Pagination/Pagination.d.ts +1 -1
  95. package/dist/Common/Pagination/constants.d.ts +4 -0
  96. package/dist/Common/Pagination/index.d.ts +1 -0
  97. package/dist/Common/Policy.Types.d.ts +58 -22
  98. package/dist/Common/PopupMenu.d.ts +2 -2
  99. package/dist/Common/Progressing.d.ts +1 -0
  100. package/dist/Common/RJSF/Form.d.ts +1 -1
  101. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
  102. package/dist/Common/RJSF/constants.d.ts +1 -0
  103. package/dist/Common/RJSF/index.d.ts +3 -3
  104. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -2
  105. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -1
  106. package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -1
  107. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  108. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -1
  109. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -1
  110. package/dist/Common/RJSF/templates/Field.d.ts +1 -1
  111. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -1
  112. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -1
  113. package/dist/Common/RJSF/templates/TitleField.d.ts +3 -2
  114. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -1
  115. package/dist/Common/RJSF/templates/index.d.ts +1 -1
  116. package/dist/Common/RJSF/types.d.ts +17 -3
  117. package/dist/Common/RJSF/utils.d.ts +5 -11
  118. package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
  119. package/dist/Common/RJSF/widgets/Select.d.ts +1 -1
  120. package/dist/Common/RadioGroup.d.ts +1 -1
  121. package/dist/Common/RadioGroupItem.d.ts +1 -1
  122. package/dist/Common/Reload.d.ts +1 -1
  123. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  124. package/dist/Common/SearchBar/types.d.ts +15 -0
  125. package/dist/Common/SegmentedBarChart/types.d.ts +23 -2
  126. package/dist/Common/SegmentedBarChart/utils.d.ts +2 -0
  127. package/dist/Common/SegmentedControl/Segment.d.ts +3 -0
  128. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
  129. package/dist/Common/SegmentedControl/constants.d.ts +3 -0
  130. package/dist/Common/SegmentedControl/index.d.ts +2 -0
  131. package/dist/Common/SegmentedControl/types.d.ts +76 -0
  132. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +18 -1
  133. package/dist/Common/SortableTableHeaderCell/constants.d.ts +2 -0
  134. package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -0
  135. package/dist/Common/SortableTableHeaderCell/types.d.ts +53 -16
  136. package/dist/Common/SortableTableHeaderCell/useResizableTableConfig.d.ts +6 -0
  137. package/dist/Common/TippyCustomized.d.ts +1 -1
  138. package/dist/Common/Tooltip/ShortcutKeyComboTooltipContent.d.ts +1 -1
  139. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  140. package/dist/Common/Tooltip/index.d.ts +2 -2
  141. package/dist/Common/Tooltip/types.d.ts +1 -7
  142. package/dist/Common/Types.d.ts +315 -177
  143. package/dist/Common/index.d.ts +39 -43
  144. package/dist/MMQ4R4NB-C7ZzhIbi.js +2 -0
  145. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/index.d.ts +1 -0
  146. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +3 -0
  147. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +3 -0
  148. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +2 -0
  149. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/types.d.ts +2 -0
  150. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/utils.d.ts +6 -0
  151. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/constants.d.ts +2 -0
  152. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +5 -0
  153. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/service.d.ts +4 -0
  154. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +193 -0
  155. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +3 -0
  156. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/constants.d.ts +5 -0
  157. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +6 -0
  158. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +72 -0
  159. package/dist/Pages/{App → Applications/DevtronApps/Details}/AppConfigurations/utils.d.ts +1 -1
  160. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/constants.d.ts +6 -0
  161. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +5 -0
  162. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +9 -0
  163. package/dist/Pages/{CDPipeline → Applications/DevtronApps/Details/CDPipeline}/types.d.ts +44 -6
  164. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/utils.d.ts +10 -0
  165. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/FileConfigTippy.d.ts +2 -0
  166. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +1 -0
  167. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +2 -0
  168. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +11 -0
  169. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +3 -0
  170. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +7 -0
  171. package/dist/Pages/Applications/DevtronApps/Details/index.d.ts +3 -0
  172. package/dist/Pages/Applications/DevtronApps/index.d.ts +1 -0
  173. package/dist/Pages/Applications/index.d.ts +1 -0
  174. package/dist/Pages/BulkEdit/index.d.ts +1 -0
  175. package/dist/Pages/BulkEdit/types.d.ts +50 -0
  176. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -2
  177. package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
  178. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +2 -2
  179. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -1
  180. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +13 -1
  181. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +2 -2
  182. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +2 -2
  183. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtilityContext.d.ts +3 -0
  184. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  185. package/dist/Pages/GlobalConfigurations/BuildInfra/UseBuildInfraForm.d.ts +3 -0
  186. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +27 -11
  187. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +8 -3
  188. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +5 -6
  189. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +331 -110
  190. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +10 -16
  191. package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +11 -0
  192. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +2 -0
  193. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
  194. package/dist/Pages/GlobalConfigurations/DeploymentCharts/basicViewSchema.json.d.ts +27 -30
  195. package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +6 -8
  196. package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
  197. package/dist/Pages/GlobalConfigurations/index.d.ts +3 -2
  198. package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +2 -0
  199. package/dist/Pages/ResourceBrowser/ClusterMap/index.d.ts +1 -0
  200. package/dist/Pages/ResourceBrowser/ClusterMap/types.d.ts +27 -0
  201. package/dist/Pages/ResourceBrowser/ClusterMap/utils.d.ts +14 -0
  202. package/dist/Pages/ResourceBrowser/ForceDeleteOption.d.ts +3 -0
  203. package/dist/Pages/ResourceBrowser/Helper.d.ts +11 -0
  204. package/dist/Pages/ResourceBrowser/NodeDrainOptions.d.ts +3 -0
  205. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +125 -2
  206. package/dist/Pages/ResourceBrowser/constants.d.ts +55 -0
  207. package/dist/Pages/ResourceBrowser/index.d.ts +7 -1
  208. package/dist/Pages/ResourceBrowser/service.d.ts +10 -0
  209. package/dist/Pages/ResourceBrowser/types.d.ts +135 -0
  210. package/dist/Pages/index.d.ts +2 -2
  211. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -0
  212. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +2 -0
  213. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +6 -0
  214. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -0
  215. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +1 -0
  216. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/AutomationEnablementIcon.d.ts +1 -0
  217. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/index.d.ts +2 -0
  218. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/utils.d.ts +6 -0
  219. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -0
  220. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -0
  221. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +1 -0
  222. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +4 -0
  223. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +2 -0
  224. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +31 -0
  225. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +1 -0
  226. package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +8 -0
  227. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -0
  228. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +1 -0
  229. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +1 -0
  230. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -0
  231. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +1 -0
  232. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -0
  233. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +2 -0
  234. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +6 -0
  235. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
  236. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +1 -0
  237. package/dist/Pages-Devtron-2.0/Navigation/index.d.ts +1 -0
  238. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +32 -0
  239. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -0
  240. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +1 -0
  241. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +6 -0
  242. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +1 -0
  243. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -0
  244. package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +7 -0
  245. package/dist/Pages-Devtron-2.0/Shared/Overview/constants.d.ts +8 -0
  246. package/dist/Pages-Devtron-2.0/Shared/Overview/index.d.ts +3 -0
  247. package/dist/Pages-Devtron-2.0/Shared/Overview/types.d.ts +26 -0
  248. package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +1 -0
  249. package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +569 -0
  250. package/dist/Pages-Devtron-2.0/Shared/index.d.ts +2 -0
  251. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -0
  252. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +1 -0
  253. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +1 -0
  254. package/dist/Pages-Devtron-2.0/index.d.ts +8 -0
  255. package/dist/Shared/API/APIQueuing.d.ts +1 -1
  256. package/dist/Shared/Analytics/analytics.d.ts +3 -0
  257. package/dist/Shared/Analytics/index.d.ts +2 -0
  258. package/dist/Shared/Analytics/types.d.ts +7 -0
  259. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
  260. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +2 -0
  261. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +4 -0
  262. package/dist/Shared/Components/AboutDevtron/index.d.ts +2 -0
  263. package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +2 -0
  264. package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +2 -0
  265. package/dist/Shared/Components/ActionMenu/index.d.ts +2 -0
  266. package/dist/Shared/Components/ActionMenu/types.d.ts +95 -0
  267. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +302 -0
  268. package/dist/Shared/Components/ActionMenu/utils.d.ts +7 -0
  269. package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
  270. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +3 -0
  271. package/dist/Shared/Components/AnimatedDeployButton/index.d.ts +1 -0
  272. package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +6 -0
  273. package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
  274. package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
  275. package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
  276. package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
  277. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +2 -0
  278. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +3 -0
  279. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +3 -0
  280. package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +3 -0
  281. package/dist/Shared/Components/AppStatusModal/constants.d.ts +4 -0
  282. package/dist/Shared/Components/AppStatusModal/index.d.ts +3 -0
  283. package/dist/Shared/Components/AppStatusModal/service.d.ts +4 -0
  284. package/dist/Shared/Components/AppStatusModal/types.d.ts +88 -0
  285. package/dist/Shared/Components/AppStatusModal/utils.d.ts +8 -0
  286. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +1 -1
  287. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +3 -0
  288. package/dist/Shared/Components/Backdrop/index.d.ts +2 -0
  289. package/dist/Shared/Components/Backdrop/types.d.ts +26 -0
  290. package/dist/Shared/Components/Backdrop/utils.d.ts +1 -0
  291. package/dist/Shared/Components/Badge/Badge.d.ts +3 -0
  292. package/dist/Shared/Components/Badge/index.d.ts +2 -0
  293. package/dist/Shared/Components/Badge/types.d.ts +18 -0
  294. package/dist/Shared/Components/Badge/utils.d.ts +8 -0
  295. package/dist/Shared/Components/BulkOperations/BulkOperations.component.d.ts +3 -0
  296. package/dist/Shared/Components/BulkOperations/BulkOperationsResultModal.d.ts +3 -0
  297. package/dist/Shared/Components/BulkOperations/OperationResultStore.d.ts +21 -0
  298. package/dist/Shared/Components/BulkOperations/constants.d.ts +13 -0
  299. package/dist/Shared/Components/BulkOperations/index.d.ts +2 -0
  300. package/dist/Shared/Components/BulkOperations/types.d.ts +69 -0
  301. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  302. package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -1
  303. package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
  304. package/dist/Shared/Components/BulkSelection/types.d.ts +18 -14
  305. package/dist/Shared/Components/Button/Button.component.d.ts +2 -2
  306. package/dist/Shared/Components/Button/constants.d.ts +1 -0
  307. package/dist/Shared/Components/Button/index.d.ts +1 -0
  308. package/dist/Shared/Components/Button/types.d.ts +70 -16
  309. package/dist/Shared/Components/Button/useTriggerAutoClickTimestamp.d.ts +6 -0
  310. package/dist/Shared/Components/Button/utils.d.ts +3 -1
  311. package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +1 -1
  312. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
  313. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +2 -2
  314. package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +4 -0
  315. package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +1 -1
  316. package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +2 -11
  317. package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +3 -0
  318. package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
  319. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +2 -0
  320. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +2 -0
  321. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +3 -0
  322. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +5 -0
  323. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/index.d.ts +2 -0
  324. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +38 -0
  325. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +23 -0
  326. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  327. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
  328. package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +6 -0
  329. package/dist/Shared/Components/CICDHistory/History.components.d.ts +3 -55
  330. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  331. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +2 -55
  332. package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +3 -0
  333. package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +3 -0
  334. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  335. package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
  336. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +3 -0
  337. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +2 -4
  338. package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +4 -0
  339. package/dist/Shared/Components/CICDHistory/constants.d.ts +44 -1
  340. package/dist/Shared/Components/CICDHistory/index.d.ts +10 -10
  341. package/dist/Shared/Components/CICDHistory/service.d.ts +7 -8
  342. package/dist/Shared/Components/CICDHistory/types.d.ts +262 -156
  343. package/dist/Shared/Components/CICDHistory/utils.d.ts +39 -4
  344. package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +3 -0
  345. package/dist/Shared/Components/CMCS/constants.d.ts +23 -0
  346. package/dist/Shared/Components/CMCS/helpers.d.ts +1 -0
  347. package/dist/Shared/Components/CMCS/index.d.ts +6 -0
  348. package/dist/Shared/Components/CMCS/types.d.ts +24 -0
  349. package/dist/Shared/Components/CMCS/utils.d.ts +18 -0
  350. package/dist/Shared/Components/CMCS/validations.d.ts +3 -0
  351. package/dist/Shared/Components/Card/Card.component.d.ts +3 -0
  352. package/dist/Shared/Components/Card/constants.d.ts +4 -0
  353. package/dist/Shared/Components/Card/index.d.ts +2 -0
  354. package/dist/Shared/Components/Card/types.d.ts +25 -0
  355. package/dist/Shared/Components/Charts/Chart.component.d.ts +121 -0
  356. package/dist/Shared/Components/Charts/constants.d.ts +10 -0
  357. package/dist/Shared/Components/Charts/index.d.ts +4 -0
  358. package/dist/Shared/Components/Charts/plugins.d.ts +7 -0
  359. package/dist/Shared/Components/Charts/types.d.ts +133 -0
  360. package/dist/Shared/Components/Charts/utils.d.ts +30 -0
  361. package/dist/Shared/Components/Chip/Chip.component.d.ts +3 -0
  362. package/dist/Shared/Components/Chip/index.d.ts +2 -0
  363. package/dist/Shared/Components/Chip/types.d.ts +64 -0
  364. package/dist/Shared/Components/Chip/utils.d.ts +6 -0
  365. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +3 -0
  366. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +1 -0
  367. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +5 -0
  368. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +2 -0
  369. package/dist/Shared/Components/CodeEditor/CodeEditor.components.d.ts +11 -0
  370. package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +10 -0
  371. package/dist/Shared/Components/CodeEditor/CodeEditor.context.d.ts +3 -0
  372. package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +14 -0
  373. package/dist/Shared/Components/CodeEditor/CodeEditor.theme.d.ts +4 -0
  374. package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +2 -0
  375. package/dist/Shared/Components/CodeEditor/Commands/findAndReplace.d.ts +7 -0
  376. package/dist/Shared/Components/CodeEditor/Commands/index.d.ts +2 -0
  377. package/dist/Shared/Components/CodeEditor/Commands/keyMaps.d.ts +2 -0
  378. package/dist/Shared/Components/CodeEditor/Extensions/DiffMinimap.d.ts +2 -0
  379. package/dist/Shared/Components/CodeEditor/Extensions/findAndReplace.d.ts +3 -0
  380. package/dist/Shared/Components/CodeEditor/Extensions/index.d.ts +5 -0
  381. package/dist/Shared/Components/CodeEditor/Extensions/readOnlyTooltip.d.ts +6 -0
  382. package/dist/Shared/Components/CodeEditor/Extensions/yamlHighlight.d.ts +2 -0
  383. package/dist/Shared/Components/CodeEditor/Extensions/yamlParseLinter.d.ts +3 -0
  384. package/dist/Shared/Components/CodeEditor/index.d.ts +2 -0
  385. package/dist/Shared/Components/CodeEditor/types.d.ts +116 -0
  386. package/dist/Shared/Components/CodeEditor/utils.d.ts +18 -0
  387. package/dist/Shared/Components/Collapse/Collapse.d.ts +5 -1
  388. package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +5 -2
  389. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +47 -12
  390. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +1 -1
  391. package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +2 -0
  392. package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +4 -0
  393. package/dist/Shared/Components/ConfirmationModal/ConfirmationModalContext.d.ts +5 -0
  394. package/dist/Shared/Components/ConfirmationModal/DeleteConfirmationModal.d.ts +3 -0
  395. package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +2 -0
  396. package/dist/Shared/Components/ConfirmationModal/index.d.ts +7 -0
  397. package/dist/Shared/Components/ConfirmationModal/types.d.ts +143 -0
  398. package/dist/Shared/Components/ConfirmationModal/utils.d.ts +6 -0
  399. package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +2 -0
  400. package/dist/Shared/Components/ContextSwitcher/index.d.ts +3 -0
  401. package/dist/Shared/Components/ContextSwitcher/types.d.ts +15 -0
  402. package/dist/Shared/Components/ContextSwitcher/utils.d.ts +5 -0
  403. package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +3 -0
  404. package/dist/Shared/Components/CountrySelect/index.d.ts +1 -0
  405. package/dist/Shared/Components/CountrySelect/types.d.ts +7 -0
  406. package/dist/Shared/Components/CountrySelect/utils.d.ts +4 -0
  407. package/dist/Shared/Components/CustomInput/CustomInput.d.ts +3 -0
  408. package/dist/Shared/Components/CustomInput/PasswordField.d.ts +3 -0
  409. package/dist/Shared/Components/CustomInput/constants.d.ts +3 -0
  410. package/dist/Shared/Components/CustomInput/index.d.ts +3 -0
  411. package/dist/Shared/Components/CustomInput/types.d.ts +40 -0
  412. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +3 -0
  413. package/dist/Shared/Components/DTFocusTrap/index.d.ts +2 -0
  414. package/dist/Shared/Components/DTFocusTrap/types.d.ts +34 -0
  415. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
  416. package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +1 -1
  417. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +1 -1
  418. package/dist/Shared/Components/DatePicker/constants.d.ts +2 -48
  419. package/dist/Shared/Components/DatePicker/index.d.ts +3 -4
  420. package/dist/Shared/Components/DatePicker/types.d.ts +35 -18
  421. package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
  422. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
  423. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.constants.d.ts +7 -0
  424. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +59 -15
  425. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +4 -3
  426. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
  427. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
  428. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
  429. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +7 -0
  430. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +2 -0
  431. package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +11 -0
  432. package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +3 -0
  433. package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +25 -0
  434. package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +25 -0
  435. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -1
  436. package/dist/Shared/Components/DocLink/DocLink.d.ts +2 -0
  437. package/dist/Shared/Components/DocLink/constants.d.ts +108 -0
  438. package/dist/Shared/Components/DocLink/index.d.ts +4 -0
  439. package/dist/Shared/Components/DocLink/types.d.ts +23 -0
  440. package/dist/Shared/Components/DocLink/utils.d.ts +3 -0
  441. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +2 -0
  442. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +2 -0
  443. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +2 -0
  444. package/dist/Shared/Components/DynamicDataTable/constants.d.ts +2 -0
  445. package/dist/Shared/Components/DynamicDataTable/index.d.ts +2 -0
  446. package/dist/Shared/Components/DynamicDataTable/types.d.ts +180 -0
  447. package/dist/Shared/Components/DynamicDataTable/utils.d.ts +5 -0
  448. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +1 -1
  449. package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +1 -1
  450. package/dist/Shared/Components/EditableTextArea/types.d.ts +0 -1
  451. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +1 -1
  452. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  453. package/dist/Shared/Components/Error/types.d.ts +4 -0
  454. package/dist/Shared/Components/Error/utils.d.ts +2 -1
  455. package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +1 -1
  456. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +3 -0
  457. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +3 -0
  458. package/dist/Shared/Components/ExportToCsv/index.d.ts +2 -0
  459. package/dist/Shared/Components/ExportToCsv/types.d.ts +65 -0
  460. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
  461. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  462. package/dist/Shared/Components/FeatureDescription/types.d.ts +42 -8
  463. package/dist/Shared/Components/FileUpload/FileUpload.d.ts +2 -0
  464. package/dist/Shared/Components/FileUpload/index.d.ts +2 -0
  465. package/dist/Shared/Components/FileUpload/types.d.ts +8 -0
  466. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
  467. package/dist/Shared/Components/FilterChips/types.d.ts +2 -3
  468. package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +3 -0
  469. package/dist/Shared/Components/FlagImage/index.d.ts +1 -0
  470. package/dist/Shared/Components/FlagImage/types.d.ts +5 -0
  471. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +4 -0
  472. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +3 -0
  473. package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +3 -0
  474. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +2 -0
  475. package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +4 -0
  476. package/dist/Shared/Components/FloatingVariablesSuggestions/index.d.ts +1 -0
  477. package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +4 -0
  478. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +38 -0
  479. package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +3 -0
  480. package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +3 -0
  481. package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +3 -0
  482. package/dist/Shared/Components/FormFieldWrapper/index.d.ts +4 -0
  483. package/dist/Shared/Components/FormFieldWrapper/types.d.ts +71 -0
  484. package/dist/Shared/Components/FormFieldWrapper/utils.d.ts +17 -0
  485. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -0
  486. package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +3 -0
  487. package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +2 -0
  488. package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +2 -0
  489. package/dist/Shared/Components/GenericInfoCard/index.d.ts +4 -0
  490. package/dist/Shared/Components/GenericInfoCard/types.d.ts +39 -0
  491. package/dist/Shared/Components/GenericInfoCard/utils.d.ts +2 -0
  492. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +9 -0
  493. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +6 -0
  494. package/dist/Shared/Components/GenericModal/constants.d.ts +3 -0
  495. package/dist/Shared/Components/GenericModal/index.d.ts +2 -0
  496. package/dist/Shared/Components/GenericModal/types.d.ts +41 -0
  497. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
  498. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +38 -9
  499. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  500. package/dist/Shared/Components/GettingStartedCard/types.d.ts +0 -3
  501. package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
  502. package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -1
  503. package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +2 -0
  504. package/dist/Shared/Components/GitProviderIcon/index.d.ts +2 -0
  505. package/dist/Shared/Components/GitProviderIcon/types.d.ts +15 -0
  506. package/dist/Shared/Components/GitProviderIcon/utils.d.ts +3 -0
  507. package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +2 -0
  508. package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +2 -0
  509. package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +3 -0
  510. package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +3 -0
  511. package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +3 -0
  512. package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +4 -0
  513. package/dist/Shared/Components/GraphVisualizer/components/types.d.ts +19 -0
  514. package/dist/Shared/Components/GraphVisualizer/constants.d.ts +15 -0
  515. package/dist/Shared/Components/GraphVisualizer/index.d.ts +2 -0
  516. package/dist/Shared/Components/GraphVisualizer/types.d.ts +12 -0
  517. package/dist/Shared/Components/GraphVisualizer/utils.d.ts +17 -0
  518. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +2 -4
  519. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +10 -0
  520. package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +2 -0
  521. package/dist/Shared/Components/Header/HelpButton.d.ts +2 -0
  522. package/dist/Shared/Components/Header/IframePromoButton.d.ts +1 -0
  523. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  524. package/dist/Shared/Components/Header/ProfileMenu.d.ts +2 -0
  525. package/dist/Shared/Components/Header/constants.d.ts +5 -3
  526. package/dist/Shared/Components/Header/index.d.ts +2 -1
  527. package/dist/Shared/Components/Header/types.d.ts +36 -22
  528. package/dist/Shared/Components/Header/utils.d.ts +3 -1
  529. package/dist/Shared/Components/Icon/Icon.d.ts +347 -0
  530. package/dist/Shared/Components/Icon/IconBase.d.ts +2 -0
  531. package/dist/Shared/Components/Icon/constants.d.ts +2 -0
  532. package/dist/Shared/Components/Icon/index.d.ts +1 -0
  533. package/dist/Shared/Components/Icon/types.d.ts +52 -0
  534. package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +1 -1
  535. package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +1 -1
  536. package/dist/Shared/Components/Illustration/Illustration.d.ts +31 -0
  537. package/dist/Shared/Components/Illustration/IllustrationBase.d.ts +2 -0
  538. package/dist/Shared/Components/Illustration/index.d.ts +1 -0
  539. package/dist/Shared/Components/Illustration/types.d.ts +27 -0
  540. package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +1 -1
  541. package/dist/Shared/Components/ImageCard/ImageCard.d.ts +1 -1
  542. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +1 -1
  543. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +1 -1
  544. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +1 -1
  545. package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
  546. package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
  547. package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
  548. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -3
  549. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
  550. package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
  551. package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +1 -1
  552. package/dist/Shared/Components/ImageWithFallback/types.d.ts +2 -2
  553. package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +3 -0
  554. package/dist/Shared/Components/InfoBlock/constants.d.ts +8 -0
  555. package/dist/Shared/Components/InfoBlock/index.d.ts +2 -0
  556. package/dist/Shared/Components/InfoBlock/types.d.ts +40 -0
  557. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  558. package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +3 -0
  559. package/dist/Shared/Components/InvalidYAMLTippy/constants.d.ts +1 -0
  560. package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +3 -0
  561. package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +13 -0
  562. package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +2 -0
  563. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  564. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +75 -78
  565. package/dist/Shared/Components/KeyValueTable/index.d.ts +1 -1
  566. package/dist/Shared/Components/KeyValueTable/utils.d.ts +13 -0
  567. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +3 -0
  568. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +3 -0
  569. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +1 -0
  570. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +4 -0
  571. package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +3 -0
  572. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +3 -0
  573. package/dist/Shared/Components/License/License.components.d.ts +5 -0
  574. package/dist/Shared/Components/License/constants.d.ts +1 -0
  575. package/dist/Shared/Components/License/index.d.ts +6 -0
  576. package/dist/Shared/Components/License/services.d.ts +1 -0
  577. package/dist/Shared/Components/License/types.d.ts +45 -0
  578. package/dist/Shared/Components/License/utils.d.ts +9 -0
  579. package/dist/Shared/Components/LoadingCard.d.ts +5 -0
  580. package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +2 -0
  581. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
  582. package/dist/Shared/Components/LoginBanner/constants.d.ts +4 -0
  583. package/dist/Shared/Components/LoginBanner/index.d.ts +3 -0
  584. package/dist/Shared/Components/LoginBanner/types.d.ts +7 -0
  585. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  586. package/dist/Shared/Components/MaterialHistory/types.d.ts +1 -2
  587. package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
  588. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +4 -3
  589. package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +3 -0
  590. package/dist/Shared/Components/NumbersCount/index.d.ts +2 -0
  591. package/dist/Shared/Components/NumbersCount/types.d.ts +13 -0
  592. package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +3 -0
  593. package/dist/Shared/Components/PhoneInput/index.d.ts +1 -0
  594. package/dist/Shared/Components/PhoneInput/types.d.ts +11 -0
  595. package/dist/Shared/Components/Plugin/PluginCard.d.ts +1 -1
  596. package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +1 -1
  597. package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +1 -1
  598. package/dist/Shared/Components/Plugin/PluginList.d.ts +1 -1
  599. package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +1 -1
  600. package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +1 -1
  601. package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +1 -1
  602. package/dist/Shared/Components/Plugin/index.d.ts +4 -4
  603. package/dist/Shared/Components/Plugin/service.d.ts +3 -3
  604. package/dist/Shared/Components/Plugin/types.d.ts +33 -12
  605. package/dist/Shared/Components/Plugin/utils.d.ts +0 -16
  606. package/dist/Shared/Components/Popover/Popover.component.d.ts +8 -0
  607. package/dist/Shared/Components/Popover/index.d.ts +3 -0
  608. package/dist/Shared/Components/Popover/types.d.ts +121 -0
  609. package/dist/Shared/Components/Popover/usePopover.hook.d.ts +2 -0
  610. package/dist/Shared/Components/Popover/utils.d.ts +92 -0
  611. package/dist/Shared/Components/PortalContainer/PortalContainer.d.ts +5 -0
  612. package/dist/Shared/Components/PortalContainer/index.d.ts +1 -0
  613. package/dist/Shared/Components/ProgressBar/ProgressBar.component.d.ts +2 -0
  614. package/dist/Shared/Components/ProgressBar/index.d.ts +1 -0
  615. package/dist/Shared/Components/ProgressBar/types.d.ts +9 -0
  616. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +3 -0
  617. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +2 -0
  618. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +20 -0
  619. package/dist/Shared/Components/QRCode.d.ts +10 -0
  620. package/dist/Shared/Components/ReactSelect/constants.d.ts +18 -14
  621. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
  622. package/dist/Shared/Components/ReactSelect/utils.d.ts +7 -32
  623. package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +2 -0
  624. package/dist/Shared/Components/RegistryIcon/constants.d.ts +2 -0
  625. package/dist/Shared/Components/RegistryIcon/index.d.ts +2 -0
  626. package/dist/Shared/Components/RegistryIcon/types.d.ts +25 -0
  627. package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +2 -0
  628. package/dist/Shared/Components/SSOProviderIcon/index.d.ts +2 -0
  629. package/dist/Shared/Components/SSOProviderIcon/types.d.ts +10 -0
  630. package/dist/Shared/Components/ScannedByToolModal/types.d.ts +2 -1
  631. package/dist/Shared/Components/Security/SecurityDetailsCards/ReportTabEmptyState.d.ts +2 -0
  632. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +3 -0
  633. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +3 -0
  634. package/dist/Shared/Components/Security/SecurityDetailsCards/index.d.ts +3 -0
  635. package/dist/Shared/Components/Security/SecurityDetailsCards/types.d.ts +18 -0
  636. package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +1 -1
  637. package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
  638. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +6 -98
  639. package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +2 -2
  640. package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +3 -2
  641. package/dist/Shared/Components/Security/SecurityModal/config/InfoCard.d.ts +2 -2
  642. package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +2 -2
  643. package/dist/Shared/Components/Security/SecurityModal/config/Sidebar.d.ts +6 -2
  644. package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +2 -2
  645. package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +3 -2
  646. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +19 -17
  647. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +6 -5
  648. package/dist/Shared/Components/Security/SecurityModal/service.d.ts +6 -2
  649. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +77 -43
  650. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +10 -11
  651. package/dist/Shared/Components/Security/SeverityChip.d.ts +6 -0
  652. package/dist/Shared/Components/Security/Vulnerabilities/Vulnerabilities.d.ts +1 -1
  653. package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
  654. package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +2 -18
  655. package/dist/Shared/Components/Security/Vulnerabilities/utils.d.ts +0 -5
  656. package/dist/Shared/Components/Security/constants.d.ts +4 -0
  657. package/dist/Shared/Components/Security/index.d.ts +5 -2
  658. package/dist/Shared/Components/Security/types.d.ts +33 -0
  659. package/dist/Shared/Components/Security/utils.d.ts +8 -4
  660. package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +2 -2
  661. package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.d.ts +2 -0
  662. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +6 -7
  663. package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +2 -0
  664. package/dist/Shared/Components/SelectPicker/common.d.ts +15 -11
  665. package/dist/Shared/Components/SelectPicker/constants.d.ts +6 -0
  666. package/dist/Shared/Components/SelectPicker/index.d.ts +5 -2
  667. package/dist/Shared/Components/SelectPicker/type.d.ts +112 -24
  668. package/dist/Shared/Components/SelectPicker/utils.d.ts +4 -2
  669. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +3 -1
  670. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +2 -0
  671. package/dist/Shared/Components/SideNavigation/index.d.ts +2 -0
  672. package/dist/Shared/Components/SideNavigation/types.d.ts +19 -0
  673. package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +2 -0
  674. package/dist/Shared/Components/StatusComponent/DeploymentStatus.d.ts +2 -0
  675. package/dist/Shared/Components/StatusComponent/StatusComponent.d.ts +2 -0
  676. package/dist/Shared/Components/StatusComponent/constants.d.ts +7 -0
  677. package/dist/Shared/Components/StatusComponent/index.d.ts +5 -0
  678. package/dist/Shared/Components/StatusComponent/types.d.ts +49 -0
  679. package/dist/Shared/Components/StatusComponent/utils.d.ts +5 -0
  680. package/dist/Shared/Components/Switch/Switch.component.d.ts +3 -0
  681. package/dist/Shared/Components/Switch/constants.d.ts +14 -0
  682. package/dist/Shared/Components/Switch/index.d.ts +2 -0
  683. package/dist/Shared/Components/Switch/types.d.ts +111 -0
  684. package/dist/Shared/Components/Switch/utils.d.ts +12 -0
  685. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +3 -0
  686. package/dist/Shared/Components/SwitchThemeDialog/index.d.ts +2 -0
  687. package/dist/Shared/Components/SwitchThemeDialog/types.d.ts +35 -0
  688. package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
  689. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +6 -6
  690. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +46 -11
  691. package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +3 -1
  692. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +3 -0
  693. package/dist/Shared/Components/Table/InternalTable.d.ts +3 -0
  694. package/dist/Shared/Components/Table/Table.component.d.ts +3 -0
  695. package/dist/Shared/Components/Table/TableContent.d.ts +3 -0
  696. package/dist/Shared/Components/Table/constants.d.ts +9 -0
  697. package/dist/Shared/Components/Table/index.d.ts +3 -0
  698. package/dist/Shared/Components/Table/types.d.ts +240 -0
  699. package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +11 -0
  700. package/dist/Shared/Components/Table/utils.d.ts +11 -0
  701. package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +3 -0
  702. package/dist/Shared/Components/TagsKeyValueTable/constants.d.ts +4 -0
  703. package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +4 -0
  704. package/dist/Shared/Components/TagsKeyValueTable/types.d.ts +12 -0
  705. package/dist/Shared/Components/TagsKeyValueTable/utils.d.ts +3 -0
  706. package/dist/Shared/Components/TargetPlatforms/TargetPlatformBadgeList.d.ts +3 -0
  707. package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +3 -0
  708. package/dist/Shared/Components/TargetPlatforms/index.d.ts +3 -0
  709. package/dist/Shared/Components/TargetPlatforms/types.d.ts +6 -0
  710. package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -0
  711. package/dist/Shared/Components/TempAppWindow/index.d.ts +1 -0
  712. package/dist/Shared/Components/Textarea/Textarea.component.d.ts +3 -0
  713. package/dist/Shared/Components/Textarea/constants.d.ts +4 -0
  714. package/dist/Shared/Components/Textarea/index.d.ts +2 -0
  715. package/dist/Shared/Components/Textarea/types.d.ts +37 -0
  716. package/dist/Shared/Components/Textarea/utils.d.ts +5 -0
  717. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +3 -0
  718. package/dist/Shared/Components/ThemeSwitcher/index.d.ts +1 -0
  719. package/dist/Shared/Components/ThemeSwitcher/types.d.ts +3 -0
  720. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +3 -0
  721. package/dist/Shared/Components/ToggleResolveScopedVariables/index.d.ts +1 -0
  722. package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +10 -0
  723. package/dist/Shared/Components/TrailingItem/TrailingItem.component.d.ts +3 -0
  724. package/dist/Shared/Components/TrailingItem/index.d.ts +2 -0
  725. package/dist/Shared/Components/TrailingItem/types.d.ts +43 -0
  726. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +3 -0
  727. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +3 -0
  728. package/dist/Shared/Components/TreeView/constants.d.ts +7 -0
  729. package/dist/Shared/Components/TreeView/index.d.ts +2 -0
  730. package/dist/Shared/Components/TreeView/types.d.ts +218 -0
  731. package/dist/Shared/Components/TreeView/utils.d.ts +22 -0
  732. package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +1 -0
  733. package/dist/Shared/Components/Typewriter/index.d.ts +2 -0
  734. package/dist/Shared/Components/Typewriter/useTypewriter.d.ts +1 -0
  735. package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +2 -0
  736. package/dist/Shared/Components/UnsavedChanges/index.d.ts +1 -0
  737. package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +3 -0
  738. package/dist/Shared/Components/UnsavedChangesDialog/index.d.ts +1 -0
  739. package/dist/Shared/Components/UnsavedChangesDialog/types.d.ts +4 -0
  740. package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +2 -0
  741. package/dist/Shared/Components/UserIdentifier/index.d.ts +2 -0
  742. package/dist/Shared/Components/UserIdentifier/types.d.ts +16 -0
  743. package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +2 -0
  744. package/dist/Shared/Components/VirtualizedList/VirtualizedList.constants.d.ts +2 -0
  745. package/dist/Shared/Components/VirtualizedList/VirtualizedList.types.d.ts +36 -0
  746. package/dist/Shared/Components/VirtualizedList/index.d.ts +2 -0
  747. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +3 -0
  748. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +3 -0
  749. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +88 -0
  750. package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +2 -0
  751. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +27 -0
  752. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +25 -0
  753. package/dist/Shared/Components/index.d.ts +92 -29
  754. package/dist/Shared/Helpers.d.ts +66 -10
  755. package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +2 -6
  756. package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
  757. package/dist/Shared/Hooks/UseDownload/types.d.ts +13 -0
  758. package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +1 -2
  759. package/dist/Shared/Hooks/UsePrompt/types.d.ts +1 -0
  760. package/dist/Shared/Hooks/index.d.ts +6 -2
  761. package/dist/Shared/Hooks/useForm/useForm.d.ts +47 -27
  762. package/dist/Shared/Hooks/useForm/useForm.types.d.ts +15 -8
  763. package/dist/Shared/Hooks/useForm/useForm.utils.d.ts +1 -1
  764. package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +2 -1
  765. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +0 -6
  766. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +6 -16
  767. package/dist/Shared/Hooks/useIsSecureConnection/index.d.ts +1 -0
  768. package/dist/Shared/Hooks/useIsSecureConnection/useIsSecureConnection.d.ts +1 -0
  769. package/dist/Shared/Hooks/useOneTimePrompt/constants.d.ts +1 -0
  770. package/dist/Shared/Hooks/useOneTimePrompt/index.d.ts +1 -0
  771. package/dist/Shared/Hooks/useOneTimePrompt/types.d.ts +3 -0
  772. package/dist/Shared/Hooks/useOneTimePrompt/useOneTimePrompt.d.ts +6 -0
  773. package/dist/Shared/Hooks/useStickyEvent/constants.d.ts +4 -0
  774. package/dist/Shared/Hooks/useStickyEvent/index.d.ts +1 -0
  775. package/dist/Shared/Hooks/useStickyEvent/types.d.ts +32 -0
  776. package/dist/Shared/Hooks/useStickyEvent/useStickyEvent.d.ts +8 -0
  777. package/dist/Shared/Hooks/useStickyEvent/utils.d.ts +2 -0
  778. package/dist/Shared/Hooks/useUserPreferences/constants.d.ts +3 -0
  779. package/dist/Shared/Hooks/useUserPreferences/index.d.ts +4 -0
  780. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +20 -0
  781. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +127 -0
  782. package/dist/Shared/Hooks/useUserPreferences/useUserPrefrences.d.ts +12 -0
  783. package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +3 -0
  784. package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +1 -1
  785. package/dist/Shared/Providers/{MainContextProvider.d.ts → MainContextProvider/MainContextProvider.d.ts} +1 -1
  786. package/dist/Shared/Providers/MainContextProvider/index.d.ts +3 -0
  787. package/dist/Shared/Providers/MainContextProvider/types.d.ts +185 -0
  788. package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +3 -0
  789. package/dist/Shared/Providers/ThemeProvider/constants.d.ts +2 -0
  790. package/dist/Shared/Providers/ThemeProvider/index.d.ts +4 -0
  791. package/dist/Shared/Providers/ThemeProvider/types.d.ts +41 -0
  792. package/dist/Shared/Providers/ThemeProvider/utils.d.ts +8 -0
  793. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +3 -3
  794. package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
  795. package/dist/Shared/Providers/index.d.ts +2 -1
  796. package/dist/Shared/Services/ToastManager/ToastContent.d.ts +3 -2
  797. package/dist/Shared/Services/ToastManager/constants.d.ts +3 -3
  798. package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
  799. package/dist/Shared/Services/ToastManager/types.d.ts +26 -6
  800. package/dist/Shared/Services/app.service.d.ts +11 -4
  801. package/dist/Shared/Services/app.types.d.ts +156 -34
  802. package/dist/Shared/Services/common.service.d.ts +7 -1
  803. package/dist/Shared/Services/index.d.ts +4 -2
  804. package/dist/Shared/Services/template.service.d.ts +2 -0
  805. package/dist/Shared/Services/types.d.ts +28 -1
  806. package/dist/Shared/Store/IndexStore.d.ts +2 -1
  807. package/dist/Shared/constants.d.ts +79 -68
  808. package/dist/Shared/index.d.ts +6 -5
  809. package/dist/Shared/types.d.ts +783 -32
  810. package/dist/Shared/validations.d.ts +22 -1
  811. package/dist/V4HPSUGU-BVMnhgRJ.js +2 -0
  812. package/dist/assets/@code-editor.css +1 -0
  813. package/dist/assets/@common-rjsf.css +1 -0
  814. package/dist/assets/@vendor.css +1 -0
  815. package/dist/assets/DeployAudio.566e45df.mp3 +0 -0
  816. package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
  817. package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
  818. package/dist/assets/empty-create.661d9355.png +0 -0
  819. package/dist/assets/ic-loading-failure.aa68693d.png +0 -0
  820. package/dist/assets/img-code.fa00ae8e.webp +0 -0
  821. package/dist/assets/img-devtron-freemium.d0657c61.webp +0 -0
  822. package/dist/assets/img-man-on-rocket.ab6bef97.webp +0 -0
  823. package/dist/assets/img-no-result.51284acb.webp +0 -0
  824. package/dist/assets/index.css +1 -1
  825. package/dist/assets/lifebuoy.7d8fdf27.png +0 -0
  826. package/dist/assets/login-screen-ui.a33a6496.webp +0 -0
  827. package/dist/assets/no-artifact.fd2d84d9.webp +0 -0
  828. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
  829. package/dist/index.d.ts +141 -12
  830. package/dist/index.js +28882 -564
  831. package/dist/javascript-CP782ZPa.js +2 -0
  832. package/dist/rolldown-runtime-BETGA6I9.js +23 -0
  833. package/dist/vitesse-dark-XJRLdhTE.js +2 -0
  834. package/dist/vitesse-light-DS2ELujL.js +2 -0
  835. package/package.json +83 -48
  836. package/dist/Common/Api.d.ts +0 -15
  837. package/dist/Common/AppStatus/AppStatus.d.ts +0 -2
  838. package/dist/Common/AppStatus/constants.d.ts +0 -36
  839. package/dist/Common/AppStatus/index.d.ts +0 -2
  840. package/dist/Common/AppStatus/types.d.ts +0 -12
  841. package/dist/Common/AppStatus/utils.d.ts +0 -1
  842. package/dist/Common/Checkbox.d.ts +0 -5
  843. package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -4
  844. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -35
  845. package/dist/Common/CodeEditor/index.d.ts +0 -2
  846. package/dist/Common/CodeEditor/types.d.ts +0 -98
  847. package/dist/Common/CustomInput/CustomInput.d.ts +0 -2
  848. package/dist/Common/CustomInput/Types.d.ts +0 -30
  849. package/dist/Common/CustomInput/index.d.ts +0 -2
  850. package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +0 -2
  851. package/dist/Common/CustomTagSelector/TagSelector.utils.d.ts +0 -12
  852. package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +0 -3
  853. package/dist/Common/DeleteComponentModal/types.d.ts +0 -18
  854. package/dist/Common/Dialogs/ConfirmationDialog.d.ts +0 -8
  855. package/dist/Common/Dialogs/DeleteDialog.d.ts +0 -5
  856. package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +0 -2
  857. package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +0 -6
  858. package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +0 -3
  859. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +0 -3
  860. package/dist/Common/Markdown/constant.d.ts +0 -28
  861. package/dist/Common/ResizableTextarea.d.ts +0 -3
  862. package/dist/Common/Toggle/Toggle.d.ts +0 -12
  863. package/dist/Common/utils.d.ts +0 -1
  864. package/dist/Pages/App/AppConfigurations/index.d.ts +0 -1
  865. package/dist/Pages/App/index.d.ts +0 -1
  866. package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +0 -6
  867. package/dist/Shared/Components/AnnouncementBanner/index.d.ts +0 -1
  868. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +0 -3
  869. package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -3
  870. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +0 -3
  871. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +0 -3
  872. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +0 -3
  873. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +0 -3
  874. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +0 -3
  875. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/index.d.ts +0 -3
  876. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +0 -35
  877. package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -2
  878. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -11
  879. package/dist/Shared/Components/Header/HelpNav.d.ts +0 -3
  880. package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +0 -3
  881. package/dist/Shared/Components/KeyValueList/constants.d.ts +0 -5
  882. package/dist/Shared/Components/KeyValueList/index.d.ts +0 -2
  883. package/dist/Shared/Components/KeyValueList/types.d.ts +0 -52
  884. package/dist/Shared/Components/LogoutCard.d.ts +0 -9
  885. package/dist/Shared/Components/Security/SecuritySummaryCard/SecuritySummaryCard.d.ts +0 -3
  886. package/dist/Shared/Components/Security/SecuritySummaryCard/index.d.ts +0 -1
  887. package/dist/Shared/Components/Security/SecuritySummaryCard/types.d.ts +0 -12
  888. package/dist/Shared/Providers/types.d.ts +0 -29
  889. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -80
  890. package/dist/abap-DttVK1gE.js +0 -1314
  891. package/dist/apex-BjfHvyb2.js +0 -315
  892. package/dist/azcli-Ws-Trf8e.js +0 -74
  893. package/dist/bat-CeCHpU9_.js +0 -95
  894. package/dist/bicep-C7a7aEmi.js +0 -108
  895. package/dist/cameligo-CJeEIvX4.js +0 -168
  896. package/dist/clojure-CEKXhLdU.js +0 -754
  897. package/dist/coffee-CKu3e6V1.js +0 -228
  898. package/dist/cpp-CvUiT5Ec.js +0 -390
  899. package/dist/csharp-PmU9HJkB.js +0 -320
  900. package/dist/csp-DULvRLPF.js +0 -57
  901. package/dist/css-CNWXQPpt.js +0 -186
  902. package/dist/cssMode-DzZAlFXm.js +0 -1446
  903. package/dist/cypher-CYHOQS2R.js +0 -262
  904. package/dist/dart-BjGx-9Jk.js +0 -270
  905. package/dist/dockerfile-D0WaVIZ2.js +0 -132
  906. package/dist/ecl-CijaJu-p.js +0 -454
  907. package/dist/elixir-BI5Tc37S.js +0 -489
  908. package/dist/flow9-BApGtQOO.js +0 -141
  909. package/dist/freemarker2-DQO2yiWh.js +0 -643
  910. package/dist/fsharp-VeKgt2eG.js +0 -210
  911. package/dist/go-Cl8cKDlN.js +0 -208
  912. package/dist/graphql-PfgPBmj4.js +0 -141
  913. package/dist/handlebars-IrTn8N2Z.js +0 -391
  914. package/dist/hcl-CG4VZSkm.js +0 -177
  915. package/dist/html-DLBso2oN.js +0 -281
  916. package/dist/htmlMode-Dx8V65o4.js +0 -1456
  917. package/dist/index-Btf7nBuW.js +0 -155495
  918. package/dist/ini-EhiBNPZF.js +0 -68
  919. package/dist/java-DPbnXhoY.js +0 -221
  920. package/dist/javascript-Dvn-Mpn4.js +0 -75
  921. package/dist/jsonMode-DKuzVHCA.js +0 -1866
  922. package/dist/julia-Bw7EYexg.js +0 -496
  923. package/dist/kotlin-BNXLDoV0.js +0 -245
  924. package/dist/less-DtuF_id_.js +0 -168
  925. package/dist/lexon-DpB0-37O.js +0 -151
  926. package/dist/liquid-BVJW9xij.js +0 -238
  927. package/dist/lua-CzRNOk9S.js +0 -157
  928. package/dist/m3-pXPmDwal.js +0 -210
  929. package/dist/markdown-CeQ3rxjn.js +0 -202
  930. package/dist/mdx-CgFHm_Sz.js +0 -171
  931. package/dist/mips-DyE0VSNz.js +0 -194
  932. package/dist/msdax-CbdkoqRa.js +0 -377
  933. package/dist/mysql-B86-uHNu.js +0 -876
  934. package/dist/objective-c-1xvkKPId.js +0 -188
  935. package/dist/pascal-DcyFhj80.js +0 -245
  936. package/dist/pascaligo-QnM0hvMG.js +0 -158
  937. package/dist/perl-Bqp3FbU4.js +0 -599
  938. package/dist/pgsql-HdG7BG_Z.js +0 -847
  939. package/dist/php-zf7L2p7t.js +0 -471
  940. package/dist/pla-3Ykqsyzl.js +0 -131
  941. package/dist/postiats-D1v08O4B.js +0 -544
  942. package/dist/powerquery-CiQ9b1-b.js +0 -890
  943. package/dist/powershell-DFNK6VaX.js +0 -233
  944. package/dist/protobuf-D5P2Z6tc.js +0 -422
  945. package/dist/pug-BeyMX5am.js +0 -393
  946. package/dist/python-BFJ7kh5W.js +0 -259
  947. package/dist/qsharp-DcFOTjuP.js +0 -282
  948. package/dist/r-B3aJPcWp.js +0 -245
  949. package/dist/razor-CYjsrqGD.js +0 -512
  950. package/dist/redis-CyC__Tub.js +0 -298
  951. package/dist/redshift-NqbcQPcY.js +0 -806
  952. package/dist/restructuredtext-CZMxBkap.js +0 -162
  953. package/dist/ruby-C_jEtDv5.js +0 -444
  954. package/dist/rust-WAeitMCC.js +0 -337
  955. package/dist/sb-CSBm2pED.js +0 -110
  956. package/dist/scala-D76PhKmh.js +0 -353
  957. package/dist/scheme-CBSAjRuO.js +0 -114
  958. package/dist/scss-BHY8wFFg.js +0 -244
  959. package/dist/shell-Cwju9_l8.js +0 -224
  960. package/dist/solidity-BV1-nze3.js +0 -1351
  961. package/dist/sophia-DfoUlGAs.js +0 -190
  962. package/dist/sparql-4kfArTtK.js +0 -193
  963. package/dist/sql-DIpn0HSX.js +0 -818
  964. package/dist/st-BgJ_KDZh.js +0 -415
  965. package/dist/swift-D-ucEgIi.js +0 -315
  966. package/dist/systemverilog-DjkH5zuo.js +0 -556
  967. package/dist/tcl-gd8XLKJA.js +0 -232
  968. package/dist/tsMode-CMRuvqqP.js +0 -810
  969. package/dist/twig-D5XtTFGM.js +0 -323
  970. package/dist/typescript-CSXwlDVg.js +0 -328
  971. package/dist/vb-DYqqYAf3.js +0 -364
  972. package/dist/wgsl-CkZE0qf3.js +0 -420
  973. package/dist/xml-CCXFyBZo.js +0 -95
  974. package/dist/yaml-D8DXGT6k.js +0 -184
  975. package/dist/yaml.worker.d.ts +0 -0
  976. /package/dist/{Pages/CDPipeline → Pages-Devtron-2.0/DataProtectionManagement}/index.d.ts +0 -0
@@ -1,1866 +0,0 @@
1
- var $e = Object.defineProperty;
2
- var Ge = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
- var C = (e, n, i) => Ge(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as Qe } from "./index-Btf7nBuW.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 Ze = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, et = Object.getOwnPropertyNames, tt = Object.prototype.hasOwnProperty, rt = (e, n, i, r) => {
12
- if (n && typeof n == "object" || typeof n == "function")
13
- for (let t of et(n))
14
- !tt.call(e, t) && t !== i && Ze(e, t, { get: () => n[t], enumerable: !(r = Ke(n, t)) || r.enumerable });
15
- return e;
16
- }, nt = (e, n, i) => (rt(e, n, "default"), i), l = {};
17
- nt(l, Qe);
18
- var it = 2 * 60 * 1e3, at = class {
19
- constructor(e) {
20
- C(this, "_defaults");
21
- C(this, "_idleCheckInterval");
22
- C(this, "_lastUsedTime");
23
- C(this, "_configChangeListener");
24
- C(this, "_worker");
25
- C(this, "_client");
26
- this._defaults = e, this._worker = null, this._client = null, this._idleCheckInterval = window.setInterval(() => this._checkIfIdle(), 30 * 1e3), this._lastUsedTime = 0, this._configChangeListener = this._defaults.onDidChange(() => this._stopWorker());
27
- }
28
- _stopWorker() {
29
- this._worker && (this._worker.dispose(), this._worker = null), this._client = null;
30
- }
31
- dispose() {
32
- clearInterval(this._idleCheckInterval), this._configChangeListener.dispose(), this._stopWorker();
33
- }
34
- _checkIfIdle() {
35
- if (!this._worker)
36
- return;
37
- Date.now() - this._lastUsedTime > it && this._stopWorker();
38
- }
39
- _getClient() {
40
- return this._lastUsedTime = Date.now(), this._client || (this._worker = l.editor.createWebWorker({
41
- moduleId: "vs/language/json/jsonWorker",
42
- label: this._defaults.languageId,
43
- createData: {
44
- languageSettings: this._defaults.diagnosticsOptions,
45
- languageId: this._defaults.languageId,
46
- enableSchemaRequest: this._defaults.diagnosticsOptions.enableSchemaRequest
47
- }
48
- }), this._client = this._worker.getProxy()), this._client;
49
- }
50
- getLanguageServiceWorker(...e) {
51
- let n;
52
- return this._getClient().then((i) => {
53
- n = i;
54
- }).then((i) => {
55
- if (this._worker)
56
- return this._worker.withSyncedResources(e);
57
- }).then((i) => n);
58
- }
59
- }, oe;
60
- (function(e) {
61
- e.MIN_VALUE = -2147483648, e.MAX_VALUE = 2147483647;
62
- })(oe || (oe = {}));
63
- var Y;
64
- (function(e) {
65
- e.MIN_VALUE = 0, e.MAX_VALUE = 2147483647;
66
- })(Y || (Y = {}));
67
- var T;
68
- (function(e) {
69
- function n(r, t) {
70
- return r === Number.MAX_VALUE && (r = Y.MAX_VALUE), t === Number.MAX_VALUE && (t = Y.MAX_VALUE), { line: r, character: t };
71
- }
72
- e.create = n;
73
- function i(r) {
74
- var t = r;
75
- return o.objectLiteral(t) && o.uinteger(t.line) && o.uinteger(t.character);
76
- }
77
- e.is = i;
78
- })(T || (T = {}));
79
- var _;
80
- (function(e) {
81
- function n(r, t, a, s) {
82
- if (o.uinteger(r) && o.uinteger(t) && o.uinteger(a) && o.uinteger(s))
83
- return { start: T.create(r, t), end: T.create(a, s) };
84
- if (T.is(r) && T.is(t))
85
- return { start: r, end: t };
86
- throw new Error("Range#create called with invalid arguments[" + r + ", " + t + ", " + a + ", " + s + "]");
87
- }
88
- e.create = n;
89
- function i(r) {
90
- var t = r;
91
- return o.objectLiteral(t) && T.is(t.start) && T.is(t.end);
92
- }
93
- e.is = i;
94
- })(_ || (_ = {}));
95
- var te;
96
- (function(e) {
97
- function n(r, t) {
98
- return { uri: r, range: t };
99
- }
100
- e.create = n;
101
- function i(r) {
102
- var t = r;
103
- return o.defined(t) && _.is(t.range) && (o.string(t.uri) || o.undefined(t.uri));
104
- }
105
- e.is = i;
106
- })(te || (te = {}));
107
- var ue;
108
- (function(e) {
109
- function n(r, t, a, s) {
110
- return { targetUri: r, targetRange: t, targetSelectionRange: a, originSelectionRange: s };
111
- }
112
- e.create = n;
113
- function i(r) {
114
- var t = r;
115
- return o.defined(t) && _.is(t.targetRange) && o.string(t.targetUri) && (_.is(t.targetSelectionRange) || o.undefined(t.targetSelectionRange)) && (_.is(t.originSelectionRange) || o.undefined(t.originSelectionRange));
116
- }
117
- e.is = i;
118
- })(ue || (ue = {}));
119
- var re;
120
- (function(e) {
121
- function n(r, t, a, s) {
122
- return {
123
- red: r,
124
- green: t,
125
- blue: a,
126
- alpha: s
127
- };
128
- }
129
- e.create = n;
130
- function i(r) {
131
- var t = r;
132
- return o.numberRange(t.red, 0, 1) && o.numberRange(t.green, 0, 1) && o.numberRange(t.blue, 0, 1) && o.numberRange(t.alpha, 0, 1);
133
- }
134
- e.is = i;
135
- })(re || (re = {}));
136
- var ce;
137
- (function(e) {
138
- function n(r, t) {
139
- return {
140
- range: r,
141
- color: t
142
- };
143
- }
144
- e.create = n;
145
- function i(r) {
146
- var t = r;
147
- return _.is(t.range) && re.is(t.color);
148
- }
149
- e.is = i;
150
- })(ce || (ce = {}));
151
- var de;
152
- (function(e) {
153
- function n(r, t, a) {
154
- return {
155
- label: r,
156
- textEdit: t,
157
- additionalTextEdits: a
158
- };
159
- }
160
- e.create = n;
161
- function i(r) {
162
- var t = r;
163
- return o.string(t.label) && (o.undefined(t.textEdit) || M.is(t)) && (o.undefined(t.additionalTextEdits) || o.typedArray(t.additionalTextEdits, M.is));
164
- }
165
- e.is = i;
166
- })(de || (de = {}));
167
- var W;
168
- (function(e) {
169
- e.Comment = "comment", e.Imports = "imports", e.Region = "region";
170
- })(W || (W = {}));
171
- var fe;
172
- (function(e) {
173
- function n(r, t, a, s, u) {
174
- var c = {
175
- startLine: r,
176
- endLine: t
177
- };
178
- return o.defined(a) && (c.startCharacter = a), o.defined(s) && (c.endCharacter = s), o.defined(u) && (c.kind = u), c;
179
- }
180
- e.create = n;
181
- function i(r) {
182
- var t = r;
183
- return o.uinteger(t.startLine) && o.uinteger(t.startLine) && (o.undefined(t.startCharacter) || o.uinteger(t.startCharacter)) && (o.undefined(t.endCharacter) || o.uinteger(t.endCharacter)) && (o.undefined(t.kind) || o.string(t.kind));
184
- }
185
- e.is = i;
186
- })(fe || (fe = {}));
187
- var ne;
188
- (function(e) {
189
- function n(r, t) {
190
- return {
191
- location: r,
192
- message: t
193
- };
194
- }
195
- e.create = n;
196
- function i(r) {
197
- var t = r;
198
- return o.defined(t) && te.is(t.location) && o.string(t.message);
199
- }
200
- e.is = i;
201
- })(ne || (ne = {}));
202
- var N;
203
- (function(e) {
204
- e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
205
- })(N || (N = {}));
206
- var le;
207
- (function(e) {
208
- e.Unnecessary = 1, e.Deprecated = 2;
209
- })(le || (le = {}));
210
- var ge;
211
- (function(e) {
212
- function n(i) {
213
- var r = i;
214
- return r != null && o.string(r.href);
215
- }
216
- e.is = n;
217
- })(ge || (ge = {}));
218
- var $;
219
- (function(e) {
220
- function n(r, t, a, s, u, c) {
221
- var d = { range: r, message: t };
222
- return o.defined(a) && (d.severity = a), o.defined(s) && (d.code = s), o.defined(u) && (d.source = u), o.defined(c) && (d.relatedInformation = c), d;
223
- }
224
- e.create = n;
225
- function i(r) {
226
- var t, a = r;
227
- return o.defined(a) && _.is(a.range) && o.string(a.message) && (o.number(a.severity) || o.undefined(a.severity)) && (o.integer(a.code) || o.string(a.code) || o.undefined(a.code)) && (o.undefined(a.codeDescription) || o.string((t = a.codeDescription) === null || t === void 0 ? void 0 : t.href)) && (o.string(a.source) || o.undefined(a.source)) && (o.undefined(a.relatedInformation) || o.typedArray(a.relatedInformation, ne.is));
228
- }
229
- e.is = i;
230
- })($ || ($ = {}));
231
- var V;
232
- (function(e) {
233
- function n(r, t) {
234
- for (var a = [], s = 2; s < arguments.length; s++)
235
- a[s - 2] = arguments[s];
236
- var u = { title: r, command: t };
237
- return o.defined(a) && a.length > 0 && (u.arguments = a), u;
238
- }
239
- e.create = n;
240
- function i(r) {
241
- var t = r;
242
- return o.defined(t) && o.string(t.title) && o.string(t.command);
243
- }
244
- e.is = i;
245
- })(V || (V = {}));
246
- var M;
247
- (function(e) {
248
- function n(a, s) {
249
- return { range: a, newText: s };
250
- }
251
- e.replace = n;
252
- function i(a, s) {
253
- return { range: { start: a, end: a }, newText: s };
254
- }
255
- e.insert = i;
256
- function r(a) {
257
- return { range: a, newText: "" };
258
- }
259
- e.del = r;
260
- function t(a) {
261
- var s = a;
262
- return o.objectLiteral(s) && o.string(s.newText) && _.is(s.range);
263
- }
264
- e.is = t;
265
- })(M || (M = {}));
266
- var x;
267
- (function(e) {
268
- function n(r, t, a) {
269
- var s = { label: r };
270
- return t !== void 0 && (s.needsConfirmation = t), a !== void 0 && (s.description = a), s;
271
- }
272
- e.create = n;
273
- function i(r) {
274
- var t = r;
275
- return t !== void 0 && o.objectLiteral(t) && o.string(t.label) && (o.boolean(t.needsConfirmation) || t.needsConfirmation === void 0) && (o.string(t.description) || t.description === void 0);
276
- }
277
- e.is = i;
278
- })(x || (x = {}));
279
- var w;
280
- (function(e) {
281
- function n(i) {
282
- var r = i;
283
- return typeof r == "string";
284
- }
285
- e.is = n;
286
- })(w || (w = {}));
287
- var P;
288
- (function(e) {
289
- function n(a, s, u) {
290
- return { range: a, newText: s, annotationId: u };
291
- }
292
- e.replace = n;
293
- function i(a, s, u) {
294
- return { range: { start: a, end: a }, newText: s, annotationId: u };
295
- }
296
- e.insert = i;
297
- function r(a, s) {
298
- return { range: a, newText: "", annotationId: s };
299
- }
300
- e.del = r;
301
- function t(a) {
302
- var s = a;
303
- return M.is(s) && (x.is(s.annotationId) || w.is(s.annotationId));
304
- }
305
- e.is = t;
306
- })(P || (P = {}));
307
- var G;
308
- (function(e) {
309
- function n(r, t) {
310
- return { textDocument: r, edits: t };
311
- }
312
- e.create = n;
313
- function i(r) {
314
- var t = r;
315
- return o.defined(t) && Q.is(t.textDocument) && Array.isArray(t.edits);
316
- }
317
- e.is = i;
318
- })(G || (G = {}));
319
- var H;
320
- (function(e) {
321
- function n(r, t, a) {
322
- var s = {
323
- kind: "create",
324
- uri: r
325
- };
326
- return t !== void 0 && (t.overwrite !== void 0 || t.ignoreIfExists !== void 0) && (s.options = t), a !== void 0 && (s.annotationId = a), s;
327
- }
328
- e.create = n;
329
- function i(r) {
330
- var t = r;
331
- return t && t.kind === "create" && o.string(t.uri) && (t.options === void 0 || (t.options.overwrite === void 0 || o.boolean(t.options.overwrite)) && (t.options.ignoreIfExists === void 0 || o.boolean(t.options.ignoreIfExists))) && (t.annotationId === void 0 || w.is(t.annotationId));
332
- }
333
- e.is = i;
334
- })(H || (H = {}));
335
- var z;
336
- (function(e) {
337
- function n(r, t, a, s) {
338
- var u = {
339
- kind: "rename",
340
- oldUri: r,
341
- newUri: t
342
- };
343
- return a !== void 0 && (a.overwrite !== void 0 || a.ignoreIfExists !== void 0) && (u.options = a), s !== void 0 && (u.annotationId = s), u;
344
- }
345
- e.create = n;
346
- function i(r) {
347
- var t = r;
348
- return t && t.kind === "rename" && o.string(t.oldUri) && o.string(t.newUri) && (t.options === void 0 || (t.options.overwrite === void 0 || o.boolean(t.options.overwrite)) && (t.options.ignoreIfExists === void 0 || o.boolean(t.options.ignoreIfExists))) && (t.annotationId === void 0 || w.is(t.annotationId));
349
- }
350
- e.is = i;
351
- })(z || (z = {}));
352
- var B;
353
- (function(e) {
354
- function n(r, t, a) {
355
- var s = {
356
- kind: "delete",
357
- uri: r
358
- };
359
- return t !== void 0 && (t.recursive !== void 0 || t.ignoreIfNotExists !== void 0) && (s.options = t), a !== void 0 && (s.annotationId = a), s;
360
- }
361
- e.create = n;
362
- function i(r) {
363
- var t = r;
364
- return t && t.kind === "delete" && o.string(t.uri) && (t.options === void 0 || (t.options.recursive === void 0 || o.boolean(t.options.recursive)) && (t.options.ignoreIfNotExists === void 0 || o.boolean(t.options.ignoreIfNotExists))) && (t.annotationId === void 0 || w.is(t.annotationId));
365
- }
366
- e.is = i;
367
- })(B || (B = {}));
368
- var ie;
369
- (function(e) {
370
- function n(i) {
371
- var r = i;
372
- return r && (r.changes !== void 0 || r.documentChanges !== void 0) && (r.documentChanges === void 0 || r.documentChanges.every(function(t) {
373
- return o.string(t.kind) ? H.is(t) || z.is(t) || B.is(t) : G.is(t);
374
- }));
375
- }
376
- e.is = n;
377
- })(ie || (ie = {}));
378
- var J = function() {
379
- function e(n, i) {
380
- this.edits = n, this.changeAnnotations = i;
381
- }
382
- return e.prototype.insert = function(n, i, r) {
383
- var t, a;
384
- if (r === void 0 ? t = M.insert(n, i) : w.is(r) ? (a = r, t = P.insert(n, i, r)) : (this.assertChangeAnnotations(this.changeAnnotations), a = this.changeAnnotations.manage(r), t = P.insert(n, i, a)), this.edits.push(t), a !== void 0)
385
- return a;
386
- }, e.prototype.replace = function(n, i, r) {
387
- var t, a;
388
- if (r === void 0 ? t = M.replace(n, i) : w.is(r) ? (a = r, t = P.replace(n, i, r)) : (this.assertChangeAnnotations(this.changeAnnotations), a = this.changeAnnotations.manage(r), t = P.replace(n, i, a)), this.edits.push(t), a !== void 0)
389
- return a;
390
- }, e.prototype.delete = function(n, i) {
391
- var r, t;
392
- if (i === void 0 ? r = M.del(n) : w.is(i) ? (t = i, r = P.del(n, i)) : (this.assertChangeAnnotations(this.changeAnnotations), t = this.changeAnnotations.manage(i), r = P.del(n, t)), this.edits.push(r), t !== void 0)
393
- return t;
394
- }, e.prototype.add = function(n) {
395
- this.edits.push(n);
396
- }, e.prototype.all = function() {
397
- return this.edits;
398
- }, e.prototype.clear = function() {
399
- this.edits.splice(0, this.edits.length);
400
- }, e.prototype.assertChangeAnnotations = function(n) {
401
- if (n === void 0)
402
- throw new Error("Text edit change is not configured to manage change annotations.");
403
- }, e;
404
- }(), he = function() {
405
- function e(n) {
406
- this._annotations = n === void 0 ? /* @__PURE__ */ Object.create(null) : n, this._counter = 0, this._size = 0;
407
- }
408
- return e.prototype.all = function() {
409
- return this._annotations;
410
- }, Object.defineProperty(e.prototype, "size", {
411
- get: function() {
412
- return this._size;
413
- },
414
- enumerable: !1,
415
- configurable: !0
416
- }), e.prototype.manage = function(n, i) {
417
- var r;
418
- if (w.is(n) ? r = n : (r = this.nextId(), i = n), this._annotations[r] !== void 0)
419
- throw new Error("Id " + r + " is already in use.");
420
- if (i === void 0)
421
- throw new Error("No annotation provided for id " + r);
422
- return this._annotations[r] = i, this._size++, r;
423
- }, e.prototype.nextId = function() {
424
- return this._counter++, this._counter.toString();
425
- }, e;
426
- }();
427
- (function() {
428
- function e(n) {
429
- var i = this;
430
- this._textEditChanges = /* @__PURE__ */ Object.create(null), n !== void 0 ? (this._workspaceEdit = n, n.documentChanges ? (this._changeAnnotations = new he(n.changeAnnotations), n.changeAnnotations = this._changeAnnotations.all(), n.documentChanges.forEach(function(r) {
431
- if (G.is(r)) {
432
- var t = new J(r.edits, i._changeAnnotations);
433
- i._textEditChanges[r.textDocument.uri] = t;
434
- }
435
- })) : n.changes && Object.keys(n.changes).forEach(function(r) {
436
- var t = new J(n.changes[r]);
437
- i._textEditChanges[r] = t;
438
- })) : this._workspaceEdit = {};
439
- }
440
- return Object.defineProperty(e.prototype, "edit", {
441
- get: function() {
442
- return this.initDocumentChanges(), this._changeAnnotations !== void 0 && (this._changeAnnotations.size === 0 ? this._workspaceEdit.changeAnnotations = void 0 : this._workspaceEdit.changeAnnotations = this._changeAnnotations.all()), this._workspaceEdit;
443
- },
444
- enumerable: !1,
445
- configurable: !0
446
- }), e.prototype.getTextEditChange = function(n) {
447
- if (Q.is(n)) {
448
- if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0)
449
- throw new Error("Workspace edit is not configured for document changes.");
450
- var i = { uri: n.uri, version: n.version }, r = this._textEditChanges[i.uri];
451
- if (!r) {
452
- var t = [], a = {
453
- textDocument: i,
454
- edits: t
455
- };
456
- this._workspaceEdit.documentChanges.push(a), r = new J(t, this._changeAnnotations), this._textEditChanges[i.uri] = r;
457
- }
458
- return r;
459
- } else {
460
- if (this.initChanges(), this._workspaceEdit.changes === void 0)
461
- throw new Error("Workspace edit is not configured for normal text edit changes.");
462
- var r = this._textEditChanges[n];
463
- if (!r) {
464
- var t = [];
465
- this._workspaceEdit.changes[n] = t, r = new J(t), this._textEditChanges[n] = r;
466
- }
467
- return r;
468
- }
469
- }, e.prototype.initDocumentChanges = function() {
470
- this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0 && (this._changeAnnotations = new he(), this._workspaceEdit.documentChanges = [], this._workspaceEdit.changeAnnotations = this._changeAnnotations.all());
471
- }, e.prototype.initChanges = function() {
472
- this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0 && (this._workspaceEdit.changes = /* @__PURE__ */ Object.create(null));
473
- }, e.prototype.createFile = function(n, i, r) {
474
- if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0)
475
- throw new Error("Workspace edit is not configured for document changes.");
476
- var t;
477
- x.is(i) || w.is(i) ? t = i : r = i;
478
- var a, s;
479
- if (t === void 0 ? a = H.create(n, r) : (s = w.is(t) ? t : this._changeAnnotations.manage(t), a = H.create(n, r, s)), this._workspaceEdit.documentChanges.push(a), s !== void 0)
480
- return s;
481
- }, e.prototype.renameFile = function(n, i, r, t) {
482
- if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0)
483
- throw new Error("Workspace edit is not configured for document changes.");
484
- var a;
485
- x.is(r) || w.is(r) ? a = r : t = r;
486
- var s, u;
487
- if (a === void 0 ? s = z.create(n, i, t) : (u = w.is(a) ? a : this._changeAnnotations.manage(a), s = z.create(n, i, t, u)), this._workspaceEdit.documentChanges.push(s), u !== void 0)
488
- return u;
489
- }, e.prototype.deleteFile = function(n, i, r) {
490
- if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0)
491
- throw new Error("Workspace edit is not configured for document changes.");
492
- var t;
493
- x.is(i) || w.is(i) ? t = i : r = i;
494
- var a, s;
495
- if (t === void 0 ? a = B.create(n, r) : (s = w.is(t) ? t : this._changeAnnotations.manage(t), a = B.create(n, r, s)), this._workspaceEdit.documentChanges.push(a), s !== void 0)
496
- return s;
497
- }, e;
498
- })();
499
- var ve;
500
- (function(e) {
501
- function n(r) {
502
- return { uri: r };
503
- }
504
- e.create = n;
505
- function i(r) {
506
- var t = r;
507
- return o.defined(t) && o.string(t.uri);
508
- }
509
- e.is = i;
510
- })(ve || (ve = {}));
511
- var pe;
512
- (function(e) {
513
- function n(r, t) {
514
- return { uri: r, version: t };
515
- }
516
- e.create = n;
517
- function i(r) {
518
- var t = r;
519
- return o.defined(t) && o.string(t.uri) && o.integer(t.version);
520
- }
521
- e.is = i;
522
- })(pe || (pe = {}));
523
- var Q;
524
- (function(e) {
525
- function n(r, t) {
526
- return { uri: r, version: t };
527
- }
528
- e.create = n;
529
- function i(r) {
530
- var t = r;
531
- return o.defined(t) && o.string(t.uri) && (t.version === null || o.integer(t.version));
532
- }
533
- e.is = i;
534
- })(Q || (Q = {}));
535
- var me;
536
- (function(e) {
537
- function n(r, t, a, s) {
538
- return { uri: r, languageId: t, version: a, text: s };
539
- }
540
- e.create = n;
541
- function i(r) {
542
- var t = r;
543
- return o.defined(t) && o.string(t.uri) && o.string(t.languageId) && o.integer(t.version) && o.string(t.text);
544
- }
545
- e.is = i;
546
- })(me || (me = {}));
547
- var q;
548
- (function(e) {
549
- e.PlainText = "plaintext", e.Markdown = "markdown";
550
- })(q || (q = {}));
551
- (function(e) {
552
- function n(i) {
553
- var r = i;
554
- return r === e.PlainText || r === e.Markdown;
555
- }
556
- e.is = n;
557
- })(q || (q = {}));
558
- var ae;
559
- (function(e) {
560
- function n(i) {
561
- var r = i;
562
- return o.objectLiteral(i) && q.is(r.kind) && o.string(r.value);
563
- }
564
- e.is = n;
565
- })(ae || (ae = {}));
566
- var p;
567
- (function(e) {
568
- e.Text = 1, e.Method = 2, e.Function = 3, e.Constructor = 4, e.Field = 5, e.Variable = 6, e.Class = 7, e.Interface = 8, e.Module = 9, e.Property = 10, e.Unit = 11, e.Value = 12, e.Enum = 13, e.Keyword = 14, e.Snippet = 15, e.Color = 16, e.File = 17, e.Reference = 18, e.Folder = 19, e.EnumMember = 20, e.Constant = 21, e.Struct = 22, e.Event = 23, e.Operator = 24, e.TypeParameter = 25;
569
- })(p || (p = {}));
570
- var se;
571
- (function(e) {
572
- e.PlainText = 1, e.Snippet = 2;
573
- })(se || (se = {}));
574
- var _e;
575
- (function(e) {
576
- e.Deprecated = 1;
577
- })(_e || (_e = {}));
578
- var ke;
579
- (function(e) {
580
- function n(r, t, a) {
581
- return { newText: r, insert: t, replace: a };
582
- }
583
- e.create = n;
584
- function i(r) {
585
- var t = r;
586
- return t && o.string(t.newText) && _.is(t.insert) && _.is(t.replace);
587
- }
588
- e.is = i;
589
- })(ke || (ke = {}));
590
- var we;
591
- (function(e) {
592
- e.asIs = 1, e.adjustIndentation = 2;
593
- })(we || (we = {}));
594
- var be;
595
- (function(e) {
596
- function n(i) {
597
- return { label: i };
598
- }
599
- e.create = n;
600
- })(be || (be = {}));
601
- var Ce;
602
- (function(e) {
603
- function n(i, r) {
604
- return { items: i || [], isIncomplete: !!r };
605
- }
606
- e.create = n;
607
- })(Ce || (Ce = {}));
608
- var Z;
609
- (function(e) {
610
- function n(r) {
611
- return r.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&");
612
- }
613
- e.fromPlainText = n;
614
- function i(r) {
615
- var t = r;
616
- return o.string(t) || o.objectLiteral(t) && o.string(t.language) && o.string(t.value);
617
- }
618
- e.is = i;
619
- })(Z || (Z = {}));
620
- var Ee;
621
- (function(e) {
622
- function n(i) {
623
- var r = i;
624
- return !!r && o.objectLiteral(r) && (ae.is(r.contents) || Z.is(r.contents) || o.typedArray(r.contents, Z.is)) && (i.range === void 0 || _.is(i.range));
625
- }
626
- e.is = n;
627
- })(Ee || (Ee = {}));
628
- var Ae;
629
- (function(e) {
630
- function n(i, r) {
631
- return r ? { label: i, documentation: r } : { label: i };
632
- }
633
- e.create = n;
634
- })(Ae || (Ae = {}));
635
- var ye;
636
- (function(e) {
637
- function n(i, r) {
638
- for (var t = [], a = 2; a < arguments.length; a++)
639
- t[a - 2] = arguments[a];
640
- var s = { label: i };
641
- return o.defined(r) && (s.documentation = r), o.defined(t) ? s.parameters = t : s.parameters = [], s;
642
- }
643
- e.create = n;
644
- })(ye || (ye = {}));
645
- var U;
646
- (function(e) {
647
- e.Text = 1, e.Read = 2, e.Write = 3;
648
- })(U || (U = {}));
649
- var Se;
650
- (function(e) {
651
- function n(i, r) {
652
- var t = { range: i };
653
- return o.number(r) && (t.kind = r), t;
654
- }
655
- e.create = n;
656
- })(Se || (Se = {}));
657
- var m;
658
- (function(e) {
659
- e.File = 1, e.Module = 2, e.Namespace = 3, e.Package = 4, e.Class = 5, e.Method = 6, e.Property = 7, e.Field = 8, e.Constructor = 9, e.Enum = 10, e.Interface = 11, e.Function = 12, e.Variable = 13, e.Constant = 14, e.String = 15, e.Number = 16, e.Boolean = 17, e.Array = 18, e.Object = 19, e.Key = 20, e.Null = 21, e.EnumMember = 22, e.Struct = 23, e.Event = 24, e.Operator = 25, e.TypeParameter = 26;
660
- })(m || (m = {}));
661
- var Ie;
662
- (function(e) {
663
- e.Deprecated = 1;
664
- })(Ie || (Ie = {}));
665
- var Te;
666
- (function(e) {
667
- function n(i, r, t, a, s) {
668
- var u = {
669
- name: i,
670
- kind: r,
671
- location: { uri: a, range: t }
672
- };
673
- return s && (u.containerName = s), u;
674
- }
675
- e.create = n;
676
- })(Te || (Te = {}));
677
- var Pe;
678
- (function(e) {
679
- function n(r, t, a, s, u, c) {
680
- var d = {
681
- name: r,
682
- detail: t,
683
- kind: a,
684
- range: s,
685
- selectionRange: u
686
- };
687
- return c !== void 0 && (d.children = c), d;
688
- }
689
- e.create = n;
690
- function i(r) {
691
- var t = r;
692
- return t && o.string(t.name) && o.number(t.kind) && _.is(t.range) && _.is(t.selectionRange) && (t.detail === void 0 || o.string(t.detail)) && (t.deprecated === void 0 || o.boolean(t.deprecated)) && (t.children === void 0 || Array.isArray(t.children)) && (t.tags === void 0 || Array.isArray(t.tags));
693
- }
694
- e.is = i;
695
- })(Pe || (Pe = {}));
696
- var Me;
697
- (function(e) {
698
- e.Empty = "", e.QuickFix = "quickfix", e.Refactor = "refactor", e.RefactorExtract = "refactor.extract", e.RefactorInline = "refactor.inline", e.RefactorRewrite = "refactor.rewrite", e.Source = "source", e.SourceOrganizeImports = "source.organizeImports", e.SourceFixAll = "source.fixAll";
699
- })(Me || (Me = {}));
700
- var Le;
701
- (function(e) {
702
- function n(r, t) {
703
- var a = { diagnostics: r };
704
- return t != null && (a.only = t), a;
705
- }
706
- e.create = n;
707
- function i(r) {
708
- var t = r;
709
- return o.defined(t) && o.typedArray(t.diagnostics, $.is) && (t.only === void 0 || o.typedArray(t.only, o.string));
710
- }
711
- e.is = i;
712
- })(Le || (Le = {}));
713
- var Re;
714
- (function(e) {
715
- function n(r, t, a) {
716
- var s = { title: r }, u = !0;
717
- return typeof t == "string" ? (u = !1, s.kind = t) : V.is(t) ? s.command = t : s.edit = t, u && a !== void 0 && (s.kind = a), s;
718
- }
719
- e.create = n;
720
- function i(r) {
721
- var t = r;
722
- return t && o.string(t.title) && (t.diagnostics === void 0 || o.typedArray(t.diagnostics, $.is)) && (t.kind === void 0 || o.string(t.kind)) && (t.edit !== void 0 || t.command !== void 0) && (t.command === void 0 || V.is(t.command)) && (t.isPreferred === void 0 || o.boolean(t.isPreferred)) && (t.edit === void 0 || ie.is(t.edit));
723
- }
724
- e.is = i;
725
- })(Re || (Re = {}));
726
- var De;
727
- (function(e) {
728
- function n(r, t) {
729
- var a = { range: r };
730
- return o.defined(t) && (a.data = t), a;
731
- }
732
- e.create = n;
733
- function i(r) {
734
- var t = r;
735
- return o.defined(t) && _.is(t.range) && (o.undefined(t.command) || V.is(t.command));
736
- }
737
- e.is = i;
738
- })(De || (De = {}));
739
- var Ne;
740
- (function(e) {
741
- function n(r, t) {
742
- return { tabSize: r, insertSpaces: t };
743
- }
744
- e.create = n;
745
- function i(r) {
746
- var t = r;
747
- return o.defined(t) && o.uinteger(t.tabSize) && o.boolean(t.insertSpaces);
748
- }
749
- e.is = i;
750
- })(Ne || (Ne = {}));
751
- var Oe;
752
- (function(e) {
753
- function n(r, t, a) {
754
- return { range: r, target: t, data: a };
755
- }
756
- e.create = n;
757
- function i(r) {
758
- var t = r;
759
- return o.defined(t) && _.is(t.range) && (o.undefined(t.target) || o.string(t.target));
760
- }
761
- e.is = i;
762
- })(Oe || (Oe = {}));
763
- var xe;
764
- (function(e) {
765
- function n(r, t) {
766
- return { range: r, parent: t };
767
- }
768
- e.create = n;
769
- function i(r) {
770
- var t = r;
771
- return t !== void 0 && _.is(t.range) && (t.parent === void 0 || e.is(t.parent));
772
- }
773
- e.is = i;
774
- })(xe || (xe = {}));
775
- var je;
776
- (function(e) {
777
- function n(a, s, u, c) {
778
- return new st(a, s, u, c);
779
- }
780
- e.create = n;
781
- function i(a) {
782
- var s = a;
783
- return !!(o.defined(s) && o.string(s.uri) && (o.undefined(s.languageId) || o.string(s.languageId)) && o.uinteger(s.lineCount) && o.func(s.getText) && o.func(s.positionAt) && o.func(s.offsetAt));
784
- }
785
- e.is = i;
786
- function r(a, s) {
787
- for (var u = a.getText(), c = t(s, function(I, R) {
788
- var j = I.range.start.line - R.range.start.line;
789
- return j === 0 ? I.range.start.character - R.range.start.character : j;
790
- }), d = u.length, v = c.length - 1; v >= 0; v--) {
791
- var g = c[v], b = a.offsetAt(g.range.start), h = a.offsetAt(g.range.end);
792
- if (h <= d)
793
- u = u.substring(0, b) + g.newText + u.substring(h, u.length);
794
- else
795
- throw new Error("Overlapping edit");
796
- d = b;
797
- }
798
- return u;
799
- }
800
- e.applyEdits = r;
801
- function t(a, s) {
802
- if (a.length <= 1)
803
- return a;
804
- var u = a.length / 2 | 0, c = a.slice(0, u), d = a.slice(u);
805
- t(c, s), t(d, s);
806
- for (var v = 0, g = 0, b = 0; v < c.length && g < d.length; ) {
807
- var h = s(c[v], d[g]);
808
- h <= 0 ? a[b++] = c[v++] : a[b++] = d[g++];
809
- }
810
- for (; v < c.length; )
811
- a[b++] = c[v++];
812
- for (; g < d.length; )
813
- a[b++] = d[g++];
814
- return a;
815
- }
816
- })(je || (je = {}));
817
- var st = function() {
818
- function e(n, i, r, t) {
819
- this._uri = n, this._languageId = i, this._version = r, this._content = t, this._lineOffsets = void 0;
820
- }
821
- return Object.defineProperty(e.prototype, "uri", {
822
- get: function() {
823
- return this._uri;
824
- },
825
- enumerable: !1,
826
- configurable: !0
827
- }), Object.defineProperty(e.prototype, "languageId", {
828
- get: function() {
829
- return this._languageId;
830
- },
831
- enumerable: !1,
832
- configurable: !0
833
- }), Object.defineProperty(e.prototype, "version", {
834
- get: function() {
835
- return this._version;
836
- },
837
- enumerable: !1,
838
- configurable: !0
839
- }), e.prototype.getText = function(n) {
840
- if (n) {
841
- var i = this.offsetAt(n.start), r = this.offsetAt(n.end);
842
- return this._content.substring(i, r);
843
- }
844
- return this._content;
845
- }, e.prototype.update = function(n, i) {
846
- this._content = n.text, this._version = i, this._lineOffsets = void 0;
847
- }, e.prototype.getLineOffsets = function() {
848
- if (this._lineOffsets === void 0) {
849
- for (var n = [], i = this._content, r = !0, t = 0; t < i.length; t++) {
850
- r && (n.push(t), r = !1);
851
- var a = i.charAt(t);
852
- r = a === "\r" || a === `
853
- `, a === "\r" && t + 1 < i.length && i.charAt(t + 1) === `
854
- ` && t++;
855
- }
856
- r && i.length > 0 && n.push(i.length), this._lineOffsets = n;
857
- }
858
- return this._lineOffsets;
859
- }, e.prototype.positionAt = function(n) {
860
- n = Math.max(Math.min(n, this._content.length), 0);
861
- var i = this.getLineOffsets(), r = 0, t = i.length;
862
- if (t === 0)
863
- return T.create(0, n);
864
- for (; r < t; ) {
865
- var a = Math.floor((r + t) / 2);
866
- i[a] > n ? t = a : r = a + 1;
867
- }
868
- var s = r - 1;
869
- return T.create(s, n - i[s]);
870
- }, e.prototype.offsetAt = function(n) {
871
- var i = this.getLineOffsets();
872
- if (n.line >= i.length)
873
- return this._content.length;
874
- if (n.line < 0)
875
- return 0;
876
- var r = i[n.line], t = n.line + 1 < i.length ? i[n.line + 1] : this._content.length;
877
- return Math.max(Math.min(r + n.character, t), r);
878
- }, Object.defineProperty(e.prototype, "lineCount", {
879
- get: function() {
880
- return this.getLineOffsets().length;
881
- },
882
- enumerable: !1,
883
- configurable: !0
884
- }), e;
885
- }(), o;
886
- (function(e) {
887
- var n = Object.prototype.toString;
888
- function i(h) {
889
- return typeof h < "u";
890
- }
891
- e.defined = i;
892
- function r(h) {
893
- return typeof h > "u";
894
- }
895
- e.undefined = r;
896
- function t(h) {
897
- return h === !0 || h === !1;
898
- }
899
- e.boolean = t;
900
- function a(h) {
901
- return n.call(h) === "[object String]";
902
- }
903
- e.string = a;
904
- function s(h) {
905
- return n.call(h) === "[object Number]";
906
- }
907
- e.number = s;
908
- function u(h, I, R) {
909
- return n.call(h) === "[object Number]" && I <= h && h <= R;
910
- }
911
- e.numberRange = u;
912
- function c(h) {
913
- return n.call(h) === "[object Number]" && -2147483648 <= h && h <= 2147483647;
914
- }
915
- e.integer = c;
916
- function d(h) {
917
- return n.call(h) === "[object Number]" && 0 <= h && h <= 2147483647;
918
- }
919
- e.uinteger = d;
920
- function v(h) {
921
- return n.call(h) === "[object Function]";
922
- }
923
- e.func = v;
924
- function g(h) {
925
- return h !== null && typeof h == "object";
926
- }
927
- e.objectLiteral = g;
928
- function b(h, I) {
929
- return Array.isArray(h) && h.every(I);
930
- }
931
- e.typedArray = b;
932
- })(o || (o = {}));
933
- var ot = class {
934
- constructor(e, n, i) {
935
- C(this, "_disposables", []);
936
- C(this, "_listener", /* @__PURE__ */ Object.create(null));
937
- this._languageId = e, this._worker = n;
938
- const r = (a) => {
939
- let s = a.getLanguageId();
940
- if (s !== this._languageId)
941
- return;
942
- let u;
943
- this._listener[a.uri.toString()] = a.onDidChangeContent(() => {
944
- window.clearTimeout(u), u = window.setTimeout(() => this._doValidate(a.uri, s), 500);
945
- }), this._doValidate(a.uri, s);
946
- }, t = (a) => {
947
- l.editor.setModelMarkers(a, this._languageId, []);
948
- let s = a.uri.toString(), u = this._listener[s];
949
- u && (u.dispose(), delete this._listener[s]);
950
- };
951
- this._disposables.push(l.editor.onDidCreateModel(r)), this._disposables.push(l.editor.onWillDisposeModel(t)), this._disposables.push(l.editor.onDidChangeModelLanguage((a) => {
952
- t(a.model), r(a.model);
953
- })), this._disposables.push(i((a) => {
954
- l.editor.getModels().forEach((s) => {
955
- s.getLanguageId() === this._languageId && (t(s), r(s));
956
- });
957
- })), this._disposables.push({
958
- dispose: () => {
959
- l.editor.getModels().forEach(t);
960
- for (let a in this._listener)
961
- this._listener[a].dispose();
962
- }
963
- }), l.editor.getModels().forEach(r);
964
- }
965
- dispose() {
966
- this._disposables.forEach((e) => e && e.dispose()), this._disposables.length = 0;
967
- }
968
- _doValidate(e, n) {
969
- this._worker(e).then((i) => i.doValidation(e.toString())).then((i) => {
970
- const r = i.map((a) => ct(e, a));
971
- let t = l.editor.getModel(e);
972
- t && t.getLanguageId() === n && l.editor.setModelMarkers(t, n, r);
973
- }).then(void 0, (i) => {
974
- console.error(i);
975
- });
976
- }
977
- };
978
- function ut(e) {
979
- switch (e) {
980
- case N.Error:
981
- return l.MarkerSeverity.Error;
982
- case N.Warning:
983
- return l.MarkerSeverity.Warning;
984
- case N.Information:
985
- return l.MarkerSeverity.Info;
986
- case N.Hint:
987
- return l.MarkerSeverity.Hint;
988
- default:
989
- return l.MarkerSeverity.Info;
990
- }
991
- }
992
- function ct(e, n) {
993
- let i = typeof n.code == "number" ? String(n.code) : n.code;
994
- return {
995
- severity: ut(n.severity),
996
- startLineNumber: n.range.start.line + 1,
997
- startColumn: n.range.start.character + 1,
998
- endLineNumber: n.range.end.line + 1,
999
- endColumn: n.range.end.character + 1,
1000
- message: n.message,
1001
- code: i,
1002
- source: n.source
1003
- };
1004
- }
1005
- var dt = class {
1006
- constructor(e, n) {
1007
- this._worker = e, this._triggerCharacters = n;
1008
- }
1009
- get triggerCharacters() {
1010
- return this._triggerCharacters;
1011
- }
1012
- provideCompletionItems(e, n, i, r) {
1013
- const t = e.uri;
1014
- return this._worker(t).then((a) => a.doComplete(t.toString(), L(n))).then((a) => {
1015
- if (!a)
1016
- return;
1017
- const s = e.getWordUntilPosition(n), u = new l.Range(n.lineNumber, s.startColumn, n.lineNumber, s.endColumn), c = a.items.map((d) => {
1018
- const v = {
1019
- label: d.label,
1020
- insertText: d.insertText || d.label,
1021
- sortText: d.sortText,
1022
- filterText: d.filterText,
1023
- documentation: d.documentation,
1024
- detail: d.detail,
1025
- command: gt(d.command),
1026
- range: u,
1027
- kind: lt(d.kind)
1028
- };
1029
- return d.textEdit && (ft(d.textEdit) ? v.range = {
1030
- insert: y(d.textEdit.insert),
1031
- replace: y(d.textEdit.replace)
1032
- } : v.range = y(d.textEdit.range), v.insertText = d.textEdit.newText), d.additionalTextEdits && (v.additionalTextEdits = d.additionalTextEdits.map(X)), d.insertTextFormat === se.Snippet && (v.insertTextRules = l.languages.CompletionItemInsertTextRule.InsertAsSnippet), v;
1033
- });
1034
- return {
1035
- isIncomplete: a.isIncomplete,
1036
- suggestions: c
1037
- };
1038
- });
1039
- }
1040
- };
1041
- function L(e) {
1042
- if (e)
1043
- return { character: e.column - 1, line: e.lineNumber - 1 };
1044
- }
1045
- function ze(e) {
1046
- if (e)
1047
- return {
1048
- start: {
1049
- line: e.startLineNumber - 1,
1050
- character: e.startColumn - 1
1051
- },
1052
- end: { line: e.endLineNumber - 1, character: e.endColumn - 1 }
1053
- };
1054
- }
1055
- function y(e) {
1056
- if (e)
1057
- return new l.Range(e.start.line + 1, e.start.character + 1, e.end.line + 1, e.end.character + 1);
1058
- }
1059
- function ft(e) {
1060
- return typeof e.insert < "u" && typeof e.replace < "u";
1061
- }
1062
- function lt(e) {
1063
- const n = l.languages.CompletionItemKind;
1064
- switch (e) {
1065
- case p.Text:
1066
- return n.Text;
1067
- case p.Method:
1068
- return n.Method;
1069
- case p.Function:
1070
- return n.Function;
1071
- case p.Constructor:
1072
- return n.Constructor;
1073
- case p.Field:
1074
- return n.Field;
1075
- case p.Variable:
1076
- return n.Variable;
1077
- case p.Class:
1078
- return n.Class;
1079
- case p.Interface:
1080
- return n.Interface;
1081
- case p.Module:
1082
- return n.Module;
1083
- case p.Property:
1084
- return n.Property;
1085
- case p.Unit:
1086
- return n.Unit;
1087
- case p.Value:
1088
- return n.Value;
1089
- case p.Enum:
1090
- return n.Enum;
1091
- case p.Keyword:
1092
- return n.Keyword;
1093
- case p.Snippet:
1094
- return n.Snippet;
1095
- case p.Color:
1096
- return n.Color;
1097
- case p.File:
1098
- return n.File;
1099
- case p.Reference:
1100
- return n.Reference;
1101
- }
1102
- return n.Property;
1103
- }
1104
- function X(e) {
1105
- if (e)
1106
- return {
1107
- range: y(e.range),
1108
- text: e.newText
1109
- };
1110
- }
1111
- function gt(e) {
1112
- return e && e.command === "editor.action.triggerSuggest" ? { id: e.command, title: e.title, arguments: e.arguments } : void 0;
1113
- }
1114
- var ht = class {
1115
- constructor(e) {
1116
- this._worker = e;
1117
- }
1118
- provideHover(e, n, i) {
1119
- let r = e.uri;
1120
- return this._worker(r).then((t) => t.doHover(r.toString(), L(n))).then((t) => {
1121
- if (t)
1122
- return {
1123
- range: y(t.range),
1124
- contents: pt(t.contents)
1125
- };
1126
- });
1127
- }
1128
- };
1129
- function vt(e) {
1130
- return e && typeof e == "object" && typeof e.kind == "string";
1131
- }
1132
- function Fe(e) {
1133
- return typeof e == "string" ? {
1134
- value: e
1135
- } : vt(e) ? e.kind === "plaintext" ? {
1136
- value: e.value.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&")
1137
- } : {
1138
- value: e.value
1139
- } : { value: "```" + e.language + `
1140
- ` + e.value + "\n```\n" };
1141
- }
1142
- function pt(e) {
1143
- if (e)
1144
- return Array.isArray(e) ? e.map(Fe) : [Fe(e)];
1145
- }
1146
- var Bt = class {
1147
- constructor(e) {
1148
- this._worker = e;
1149
- }
1150
- provideDocumentHighlights(e, n, i) {
1151
- const r = e.uri;
1152
- return this._worker(r).then((t) => t.findDocumentHighlights(r.toString(), L(n))).then((t) => {
1153
- if (t)
1154
- return t.map((a) => ({
1155
- range: y(a.range),
1156
- kind: mt(a.kind)
1157
- }));
1158
- });
1159
- }
1160
- };
1161
- function mt(e) {
1162
- switch (e) {
1163
- case U.Read:
1164
- return l.languages.DocumentHighlightKind.Read;
1165
- case U.Write:
1166
- return l.languages.DocumentHighlightKind.Write;
1167
- case U.Text:
1168
- return l.languages.DocumentHighlightKind.Text;
1169
- }
1170
- return l.languages.DocumentHighlightKind.Text;
1171
- }
1172
- var qt = class {
1173
- constructor(e) {
1174
- this._worker = e;
1175
- }
1176
- provideDefinition(e, n, i) {
1177
- const r = e.uri;
1178
- return this._worker(r).then((t) => t.findDefinition(r.toString(), L(n))).then((t) => {
1179
- if (t)
1180
- return [Be(t)];
1181
- });
1182
- }
1183
- };
1184
- function Be(e) {
1185
- return {
1186
- uri: l.Uri.parse(e.uri),
1187
- range: y(e.range)
1188
- };
1189
- }
1190
- var Xt = class {
1191
- constructor(e) {
1192
- this._worker = e;
1193
- }
1194
- provideReferences(e, n, i, r) {
1195
- const t = e.uri;
1196
- return this._worker(t).then((a) => a.findReferences(t.toString(), L(n))).then((a) => {
1197
- if (a)
1198
- return a.map(Be);
1199
- });
1200
- }
1201
- }, Jt = class {
1202
- constructor(e) {
1203
- this._worker = e;
1204
- }
1205
- provideRenameEdits(e, n, i, r) {
1206
- const t = e.uri;
1207
- return this._worker(t).then((a) => a.doRename(t.toString(), L(n), i)).then((a) => _t(a));
1208
- }
1209
- };
1210
- function _t(e) {
1211
- if (!e || !e.changes)
1212
- return;
1213
- let n = [];
1214
- for (let i in e.changes) {
1215
- const r = l.Uri.parse(i);
1216
- for (let t of e.changes[i])
1217
- n.push({
1218
- resource: r,
1219
- versionId: void 0,
1220
- textEdit: {
1221
- range: y(t.range),
1222
- text: t.newText
1223
- }
1224
- });
1225
- }
1226
- return {
1227
- edits: n
1228
- };
1229
- }
1230
- var kt = class {
1231
- constructor(e) {
1232
- this._worker = e;
1233
- }
1234
- provideDocumentSymbols(e, n) {
1235
- const i = e.uri;
1236
- return this._worker(i).then((r) => r.findDocumentSymbols(i.toString())).then((r) => {
1237
- if (r)
1238
- return r.map((t) => ({
1239
- name: t.name,
1240
- detail: "",
1241
- containerName: t.containerName,
1242
- kind: wt(t.kind),
1243
- range: y(t.location.range),
1244
- selectionRange: y(t.location.range),
1245
- tags: []
1246
- }));
1247
- });
1248
- }
1249
- };
1250
- function wt(e) {
1251
- let n = l.languages.SymbolKind;
1252
- switch (e) {
1253
- case m.File:
1254
- return n.Array;
1255
- case m.Module:
1256
- return n.Module;
1257
- case m.Namespace:
1258
- return n.Namespace;
1259
- case m.Package:
1260
- return n.Package;
1261
- case m.Class:
1262
- return n.Class;
1263
- case m.Method:
1264
- return n.Method;
1265
- case m.Property:
1266
- return n.Property;
1267
- case m.Field:
1268
- return n.Field;
1269
- case m.Constructor:
1270
- return n.Constructor;
1271
- case m.Enum:
1272
- return n.Enum;
1273
- case m.Interface:
1274
- return n.Interface;
1275
- case m.Function:
1276
- return n.Function;
1277
- case m.Variable:
1278
- return n.Variable;
1279
- case m.Constant:
1280
- return n.Constant;
1281
- case m.String:
1282
- return n.String;
1283
- case m.Number:
1284
- return n.Number;
1285
- case m.Boolean:
1286
- return n.Boolean;
1287
- case m.Array:
1288
- return n.Array;
1289
- }
1290
- return n.Function;
1291
- }
1292
- var Yt = class {
1293
- constructor(e) {
1294
- this._worker = e;
1295
- }
1296
- provideLinks(e, n) {
1297
- const i = e.uri;
1298
- return this._worker(i).then((r) => r.findDocumentLinks(i.toString())).then((r) => {
1299
- if (r)
1300
- return {
1301
- links: r.map((t) => ({
1302
- range: y(t.range),
1303
- url: t.target
1304
- }))
1305
- };
1306
- });
1307
- }
1308
- }, bt = class {
1309
- constructor(e) {
1310
- this._worker = e;
1311
- }
1312
- provideDocumentFormattingEdits(e, n, i) {
1313
- const r = e.uri;
1314
- return this._worker(r).then((t) => t.format(r.toString(), null, qe(n)).then((a) => {
1315
- if (!(!a || a.length === 0))
1316
- return a.map(X);
1317
- }));
1318
- }
1319
- }, Ct = class {
1320
- constructor(e) {
1321
- C(this, "canFormatMultipleRanges", !1);
1322
- this._worker = e;
1323
- }
1324
- provideDocumentRangeFormattingEdits(e, n, i, r) {
1325
- const t = e.uri;
1326
- return this._worker(t).then((a) => a.format(t.toString(), ze(n), qe(i)).then((s) => {
1327
- if (!(!s || s.length === 0))
1328
- return s.map(X);
1329
- }));
1330
- }
1331
- };
1332
- function qe(e) {
1333
- return {
1334
- tabSize: e.tabSize,
1335
- insertSpaces: e.insertSpaces
1336
- };
1337
- }
1338
- var Et = class {
1339
- constructor(e) {
1340
- this._worker = e;
1341
- }
1342
- provideDocumentColors(e, n) {
1343
- const i = e.uri;
1344
- return this._worker(i).then((r) => r.findDocumentColors(i.toString())).then((r) => {
1345
- if (r)
1346
- return r.map((t) => ({
1347
- color: t.color,
1348
- range: y(t.range)
1349
- }));
1350
- });
1351
- }
1352
- provideColorPresentations(e, n, i) {
1353
- const r = e.uri;
1354
- return this._worker(r).then((t) => t.getColorPresentations(r.toString(), n.color, ze(n.range))).then((t) => {
1355
- if (t)
1356
- return t.map((a) => {
1357
- let s = {
1358
- label: a.label
1359
- };
1360
- return a.textEdit && (s.textEdit = X(a.textEdit)), a.additionalTextEdits && (s.additionalTextEdits = a.additionalTextEdits.map(X)), s;
1361
- });
1362
- });
1363
- }
1364
- }, At = class {
1365
- constructor(e) {
1366
- this._worker = e;
1367
- }
1368
- provideFoldingRanges(e, n, i) {
1369
- const r = e.uri;
1370
- return this._worker(r).then((t) => t.getFoldingRanges(r.toString(), n)).then((t) => {
1371
- if (t)
1372
- return t.map((a) => {
1373
- const s = {
1374
- start: a.startLine + 1,
1375
- end: a.endLine + 1
1376
- };
1377
- return typeof a.kind < "u" && (s.kind = yt(a.kind)), s;
1378
- });
1379
- });
1380
- }
1381
- };
1382
- function yt(e) {
1383
- switch (e) {
1384
- case W.Comment:
1385
- return l.languages.FoldingRangeKind.Comment;
1386
- case W.Imports:
1387
- return l.languages.FoldingRangeKind.Imports;
1388
- case W.Region:
1389
- return l.languages.FoldingRangeKind.Region;
1390
- }
1391
- }
1392
- var St = class {
1393
- constructor(e) {
1394
- this._worker = e;
1395
- }
1396
- provideSelectionRanges(e, n, i) {
1397
- const r = e.uri;
1398
- return this._worker(r).then((t) => t.getSelectionRanges(r.toString(), n.map(L))).then((t) => {
1399
- if (t)
1400
- return t.map((a) => {
1401
- const s = [];
1402
- for (; a; )
1403
- s.push({ range: y(a.range) }), a = a.parent;
1404
- return s;
1405
- });
1406
- });
1407
- }
1408
- };
1409
- function It(e, n) {
1410
- n === void 0 && (n = !1);
1411
- var i = e.length, r = 0, t = "", a = 0, s = 16, u = 0, c = 0, d = 0, v = 0, g = 0;
1412
- function b(f, E) {
1413
- for (var S = 0, A = 0; S < f || !E; ) {
1414
- var k = e.charCodeAt(r);
1415
- if (k >= 48 && k <= 57)
1416
- A = A * 16 + k - 48;
1417
- else if (k >= 65 && k <= 70)
1418
- A = A * 16 + k - 65 + 10;
1419
- else if (k >= 97 && k <= 102)
1420
- A = A * 16 + k - 97 + 10;
1421
- else
1422
- break;
1423
- r++, S++;
1424
- }
1425
- return S < f && (A = -1), A;
1426
- }
1427
- function h(f) {
1428
- r = f, t = "", a = 0, s = 16, g = 0;
1429
- }
1430
- function I() {
1431
- var f = r;
1432
- if (e.charCodeAt(r) === 48)
1433
- r++;
1434
- else
1435
- for (r++; r < e.length && D(e.charCodeAt(r)); )
1436
- r++;
1437
- if (r < e.length && e.charCodeAt(r) === 46)
1438
- if (r++, r < e.length && D(e.charCodeAt(r)))
1439
- for (r++; r < e.length && D(e.charCodeAt(r)); )
1440
- r++;
1441
- else
1442
- return g = 3, e.substring(f, r);
1443
- var E = r;
1444
- if (r < e.length && (e.charCodeAt(r) === 69 || e.charCodeAt(r) === 101))
1445
- if (r++, (r < e.length && e.charCodeAt(r) === 43 || e.charCodeAt(r) === 45) && r++, r < e.length && D(e.charCodeAt(r))) {
1446
- for (r++; r < e.length && D(e.charCodeAt(r)); )
1447
- r++;
1448
- E = r;
1449
- } else
1450
- g = 3;
1451
- return e.substring(f, E);
1452
- }
1453
- function R() {
1454
- for (var f = "", E = r; ; ) {
1455
- if (r >= i) {
1456
- f += e.substring(E, r), g = 2;
1457
- break;
1458
- }
1459
- var S = e.charCodeAt(r);
1460
- if (S === 34) {
1461
- f += e.substring(E, r), r++;
1462
- break;
1463
- }
1464
- if (S === 92) {
1465
- if (f += e.substring(E, r), r++, r >= i) {
1466
- g = 2;
1467
- break;
1468
- }
1469
- var A = e.charCodeAt(r++);
1470
- switch (A) {
1471
- case 34:
1472
- f += '"';
1473
- break;
1474
- case 92:
1475
- f += "\\";
1476
- break;
1477
- case 47:
1478
- f += "/";
1479
- break;
1480
- case 98:
1481
- f += "\b";
1482
- break;
1483
- case 102:
1484
- f += "\f";
1485
- break;
1486
- case 110:
1487
- f += `
1488
- `;
1489
- break;
1490
- case 114:
1491
- f += "\r";
1492
- break;
1493
- case 116:
1494
- f += " ";
1495
- break;
1496
- case 117:
1497
- var k = b(4, !0);
1498
- k >= 0 ? f += String.fromCharCode(k) : g = 4;
1499
- break;
1500
- default:
1501
- g = 5;
1502
- }
1503
- E = r;
1504
- continue;
1505
- }
1506
- if (S >= 0 && S <= 31)
1507
- if (F(S)) {
1508
- f += e.substring(E, r), g = 2;
1509
- break;
1510
- } else
1511
- g = 6;
1512
- r++;
1513
- }
1514
- return f;
1515
- }
1516
- function j() {
1517
- if (t = "", g = 0, a = r, c = u, v = d, r >= i)
1518
- return a = i, s = 17;
1519
- var f = e.charCodeAt(r);
1520
- if (ee(f)) {
1521
- do
1522
- r++, t += String.fromCharCode(f), f = e.charCodeAt(r);
1523
- while (ee(f));
1524
- return s = 15;
1525
- }
1526
- if (F(f))
1527
- return r++, t += String.fromCharCode(f), f === 13 && e.charCodeAt(r) === 10 && (r++, t += `
1528
- `), u++, d = r, s = 14;
1529
- switch (f) {
1530
- case 123:
1531
- return r++, s = 1;
1532
- case 125:
1533
- return r++, s = 2;
1534
- case 91:
1535
- return r++, s = 3;
1536
- case 93:
1537
- return r++, s = 4;
1538
- case 58:
1539
- return r++, s = 6;
1540
- case 44:
1541
- return r++, s = 5;
1542
- case 34:
1543
- return r++, t = R(), s = 10;
1544
- case 47:
1545
- var E = r - 1;
1546
- if (e.charCodeAt(r + 1) === 47) {
1547
- for (r += 2; r < i && !F(e.charCodeAt(r)); )
1548
- r++;
1549
- return t = e.substring(E, r), s = 12;
1550
- }
1551
- if (e.charCodeAt(r + 1) === 42) {
1552
- r += 2;
1553
- for (var S = i - 1, A = !1; r < S; ) {
1554
- var k = e.charCodeAt(r);
1555
- if (k === 42 && e.charCodeAt(r + 1) === 47) {
1556
- r += 2, A = !0;
1557
- break;
1558
- }
1559
- r++, F(k) && (k === 13 && e.charCodeAt(r) === 10 && r++, u++, d = r);
1560
- }
1561
- return A || (r++, g = 1), t = e.substring(E, r), s = 13;
1562
- }
1563
- return t += String.fromCharCode(f), r++, s = 16;
1564
- case 45:
1565
- if (t += String.fromCharCode(f), r++, r === i || !D(e.charCodeAt(r)))
1566
- return s = 16;
1567
- case 48:
1568
- case 49:
1569
- case 50:
1570
- case 51:
1571
- case 52:
1572
- case 53:
1573
- case 54:
1574
- case 55:
1575
- case 56:
1576
- case 57:
1577
- return t += I(), s = 11;
1578
- default:
1579
- for (; r < i && Je(f); )
1580
- r++, f = e.charCodeAt(r);
1581
- if (a !== r) {
1582
- switch (t = e.substring(a, r), t) {
1583
- case "true":
1584
- return s = 8;
1585
- case "false":
1586
- return s = 9;
1587
- case "null":
1588
- return s = 7;
1589
- }
1590
- return s = 16;
1591
- }
1592
- return t += String.fromCharCode(f), r++, s = 16;
1593
- }
1594
- }
1595
- function Je(f) {
1596
- if (ee(f) || F(f))
1597
- return !1;
1598
- switch (f) {
1599
- case 125:
1600
- case 93:
1601
- case 123:
1602
- case 91:
1603
- case 34:
1604
- case 58:
1605
- case 44:
1606
- case 47:
1607
- return !1;
1608
- }
1609
- return !0;
1610
- }
1611
- function Ye() {
1612
- var f;
1613
- do
1614
- f = j();
1615
- while (f >= 12 && f <= 15);
1616
- return f;
1617
- }
1618
- return {
1619
- setPosition: h,
1620
- getPosition: function() {
1621
- return r;
1622
- },
1623
- scan: n ? Ye : j,
1624
- getToken: function() {
1625
- return s;
1626
- },
1627
- getTokenValue: function() {
1628
- return t;
1629
- },
1630
- getTokenOffset: function() {
1631
- return a;
1632
- },
1633
- getTokenLength: function() {
1634
- return r - a;
1635
- },
1636
- getTokenStartLine: function() {
1637
- return c;
1638
- },
1639
- getTokenStartCharacter: function() {
1640
- return a - v;
1641
- },
1642
- getTokenError: function() {
1643
- return g;
1644
- }
1645
- };
1646
- }
1647
- function ee(e) {
1648
- return e === 32 || e === 9 || e === 11 || e === 12 || e === 160 || e === 5760 || e >= 8192 && e <= 8203 || e === 8239 || e === 8287 || e === 12288 || e === 65279;
1649
- }
1650
- function F(e) {
1651
- return e === 10 || e === 13 || e === 8232 || e === 8233;
1652
- }
1653
- function D(e) {
1654
- return e >= 48 && e <= 57;
1655
- }
1656
- var We;
1657
- (function(e) {
1658
- e.DEFAULT = {
1659
- allowTrailingComma: !1
1660
- };
1661
- })(We || (We = {}));
1662
- var Tt = It;
1663
- function Pt(e) {
1664
- return {
1665
- getInitialState: () => new K(null, null, !1, null),
1666
- tokenize: (n, i) => Wt(e, n, i)
1667
- };
1668
- }
1669
- var Ue = "delimiter.bracket.json", Ve = "delimiter.array.json", Mt = "delimiter.colon.json", Lt = "delimiter.comma.json", Rt = "keyword.json", Dt = "keyword.json", Nt = "string.value.json", Ot = "number.json", xt = "string.key.json", jt = "comment.block.json", Ft = "comment.line.json", O = class {
1670
- constructor(e, n) {
1671
- this.parent = e, this.type = n;
1672
- }
1673
- static pop(e) {
1674
- return e ? e.parent : null;
1675
- }
1676
- static push(e, n) {
1677
- return new O(e, n);
1678
- }
1679
- static equals(e, n) {
1680
- if (!e && !n)
1681
- return !0;
1682
- if (!e || !n)
1683
- return !1;
1684
- for (; e && n; ) {
1685
- if (e === n)
1686
- return !0;
1687
- if (e.type !== n.type)
1688
- return !1;
1689
- e = e.parent, n = n.parent;
1690
- }
1691
- return !0;
1692
- }
1693
- }, K = class {
1694
- constructor(e, n, i, r) {
1695
- C(this, "_state");
1696
- C(this, "scanError");
1697
- C(this, "lastWasColon");
1698
- C(this, "parents");
1699
- this._state = e, this.scanError = n, this.lastWasColon = i, this.parents = r;
1700
- }
1701
- clone() {
1702
- return new K(this._state, this.scanError, this.lastWasColon, this.parents);
1703
- }
1704
- equals(e) {
1705
- return e === this ? !0 : !e || !(e instanceof K) ? !1 : this.scanError === e.scanError && this.lastWasColon === e.lastWasColon && O.equals(this.parents, e.parents);
1706
- }
1707
- getStateData() {
1708
- return this._state;
1709
- }
1710
- setStateData(e) {
1711
- this._state = e;
1712
- }
1713
- };
1714
- function Wt(e, n, i, r = 0) {
1715
- let t = 0, a = !1;
1716
- switch (i.scanError) {
1717
- case 2:
1718
- n = '"' + n, t = 1;
1719
- break;
1720
- case 1:
1721
- n = "/*" + n, t = 2;
1722
- break;
1723
- }
1724
- const s = Tt(n);
1725
- let u = i.lastWasColon, c = i.parents;
1726
- const d = {
1727
- tokens: [],
1728
- endState: i.clone()
1729
- };
1730
- for (; ; ) {
1731
- let v = r + s.getPosition(), g = "";
1732
- const b = s.scan();
1733
- if (b === 17)
1734
- break;
1735
- if (v === r + s.getPosition())
1736
- throw new Error("Scanner did not advance, next 3 characters are: " + n.substr(s.getPosition(), 3));
1737
- switch (a && (v -= t), a = t > 0, b) {
1738
- case 1:
1739
- c = O.push(
1740
- c,
1741
- 0
1742
- /* Object */
1743
- ), g = Ue, u = !1;
1744
- break;
1745
- case 2:
1746
- c = O.pop(c), g = Ue, u = !1;
1747
- break;
1748
- case 3:
1749
- c = O.push(
1750
- c,
1751
- 1
1752
- /* Array */
1753
- ), g = Ve, u = !1;
1754
- break;
1755
- case 4:
1756
- c = O.pop(c), g = Ve, u = !1;
1757
- break;
1758
- case 6:
1759
- g = Mt, u = !0;
1760
- break;
1761
- case 5:
1762
- g = Lt, u = !1;
1763
- break;
1764
- case 8:
1765
- case 9:
1766
- g = Rt, u = !1;
1767
- break;
1768
- case 7:
1769
- g = Dt, u = !1;
1770
- break;
1771
- case 10:
1772
- const I = (c ? c.type : 0) === 1;
1773
- g = u || I ? Nt : xt, u = !1;
1774
- break;
1775
- case 11:
1776
- g = Ot, u = !1;
1777
- break;
1778
- }
1779
- switch (b) {
1780
- case 12:
1781
- g = Ft;
1782
- break;
1783
- case 13:
1784
- g = jt;
1785
- break;
1786
- }
1787
- d.endState = new K(i.getStateData(), s.getTokenError(), u, c), d.tokens.push({
1788
- startIndex: v,
1789
- scopes: g
1790
- });
1791
- }
1792
- return d;
1793
- }
1794
- var Ut = class extends ot {
1795
- constructor(e, n, i) {
1796
- super(e, n, i.onDidChange), this._disposables.push(l.editor.onWillDisposeModel((r) => {
1797
- this._resetSchema(r.uri);
1798
- })), this._disposables.push(l.editor.onDidChangeModelLanguage((r) => {
1799
- this._resetSchema(r.model.uri);
1800
- }));
1801
- }
1802
- _resetSchema(e) {
1803
- this._worker().then((n) => {
1804
- n.resetSchema(e.toString());
1805
- });
1806
- }
1807
- };
1808
- function $t(e) {
1809
- const n = [], i = [], r = new at(e);
1810
- n.push(r);
1811
- const t = (...u) => r.getLanguageServiceWorker(...u);
1812
- function a() {
1813
- const { languageId: u, modeConfiguration: c } = e;
1814
- Xe(i), c.documentFormattingEdits && i.push(l.languages.registerDocumentFormattingEditProvider(u, new bt(t))), c.documentRangeFormattingEdits && i.push(l.languages.registerDocumentRangeFormattingEditProvider(u, new Ct(t))), c.completionItems && i.push(l.languages.registerCompletionItemProvider(u, new dt(t, [" ", ":", '"']))), c.hovers && i.push(l.languages.registerHoverProvider(u, new ht(t))), c.documentSymbols && i.push(l.languages.registerDocumentSymbolProvider(u, new kt(t))), c.tokens && i.push(l.languages.setTokensProvider(u, Pt(!0))), c.colors && i.push(l.languages.registerColorProvider(u, new Et(t))), c.foldingRanges && i.push(l.languages.registerFoldingRangeProvider(u, new At(t))), c.diagnostics && i.push(new Ut(u, t, e)), c.selectionRanges && i.push(l.languages.registerSelectionRangeProvider(u, new St(t)));
1815
- }
1816
- a(), n.push(l.languages.setLanguageConfiguration(e.languageId, Vt));
1817
- let s = e.modeConfiguration;
1818
- return e.onDidChange((u) => {
1819
- u.modeConfiguration !== s && (s = u.modeConfiguration, a());
1820
- }), n.push(He(i)), He(n);
1821
- }
1822
- function He(e) {
1823
- return { dispose: () => Xe(e) };
1824
- }
1825
- function Xe(e) {
1826
- for (; e.length; )
1827
- e.pop().dispose();
1828
- }
1829
- var Vt = {
1830
- wordPattern: /(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,
1831
- comments: {
1832
- lineComment: "//",
1833
- blockComment: ["/*", "*/"]
1834
- },
1835
- brackets: [
1836
- ["{", "}"],
1837
- ["[", "]"]
1838
- ],
1839
- autoClosingPairs: [
1840
- { open: "{", close: "}", notIn: ["string"] },
1841
- { open: "[", close: "]", notIn: ["string"] },
1842
- { open: '"', close: '"', notIn: ["string"] }
1843
- ]
1844
- };
1845
- export {
1846
- dt as CompletionAdapter,
1847
- qt as DefinitionAdapter,
1848
- ot as DiagnosticsAdapter,
1849
- Et as DocumentColorAdapter,
1850
- bt as DocumentFormattingEditProvider,
1851
- Bt as DocumentHighlightAdapter,
1852
- Yt as DocumentLinkAdapter,
1853
- Ct as DocumentRangeFormattingEditProvider,
1854
- kt as DocumentSymbolAdapter,
1855
- At as FoldingRangeAdapter,
1856
- ht as HoverAdapter,
1857
- Xt as ReferenceAdapter,
1858
- Jt as RenameAdapter,
1859
- St as SelectionRangeAdapter,
1860
- at as WorkerManager,
1861
- L as fromPosition,
1862
- ze as fromRange,
1863
- $t as setupMode,
1864
- y as toRange,
1865
- X as toTextEdit
1866
- };