@devtron-labs/devtron-fe-common-lib 1.9.6 → 1.9.8-beta-1

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 (103) hide show
  1. package/dist/{@code-editor-C2lH000m.js → @code-editor-DoXAQt8M.js} +9204 -8237
  2. package/dist/{@common-rjsf-DPGnH55j.js → @common-rjsf-XsDtZSj0.js} +2 -2
  3. package/dist/{@framer-motion-FKAND_5t.js → @framer-motion-DMD7dX-G.js} +972 -893
  4. package/dist/{@react-dates-Cc7UHR4b.js → @react-dates-DxmDHBUI.js} +243 -243
  5. package/dist/{@react-select-45zYr11O.js → @react-select-BR4eLpVa.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-Du399kou.js → @react-virtualized-sticky-tree-Ca-pl6uN.js} +1 -1
  7. package/dist/{@vendor-CSolG4o7.js → @vendor-DZHtXPTX.js} +31529 -25040
  8. package/dist/Common/API/CoreAPI.d.ts +17 -0
  9. package/dist/Common/API/constants.d.ts +70 -0
  10. package/dist/Common/API/index.d.ts +3 -0
  11. package/dist/Common/API/types.d.ts +23 -0
  12. package/dist/Common/API/utils.d.ts +12 -0
  13. package/dist/Common/Constants.d.ts +98 -88
  14. package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +1 -1
  15. package/dist/Common/DeleteCINodeButton/types.d.ts +2 -1
  16. package/dist/Common/DeleteCINodeButton/utils.d.ts +5 -2
  17. package/dist/Common/GenericDescription/utils.d.ts +1 -0
  18. package/dist/Common/Helper.d.ts +1 -0
  19. package/dist/Common/Tooltip/constants.d.ts +1 -0
  20. package/dist/Common/Types.d.ts +15 -0
  21. package/dist/Common/index.d.ts +1 -1
  22. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +38 -0
  23. package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +3 -0
  24. package/dist/Shared/Components/CountrySelect/index.d.ts +1 -0
  25. package/dist/Shared/Components/CountrySelect/types.d.ts +7 -0
  26. package/dist/Shared/Components/CountrySelect/utils.d.ts +4 -0
  27. package/dist/Shared/Components/CustomInput/CustomInput.d.ts +1 -1
  28. package/dist/Shared/Components/CustomInput/types.d.ts +5 -1
  29. package/dist/Shared/Components/DevtronLicenseCard/DevtronLicenseCard.d.ts +3 -0
  30. package/dist/Shared/Components/DevtronLicenseCard/InstallationFingerprintInfo.d.ts +3 -0
  31. package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +4 -0
  32. package/dist/Shared/Components/DevtronLicenseCard/types.d.ts +22 -0
  33. package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +6 -0
  34. package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +3 -0
  35. package/dist/Shared/Components/FlagImage/index.d.ts +1 -0
  36. package/dist/Shared/Components/FlagImage/types.d.ts +5 -0
  37. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
  38. package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +3 -1
  39. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +2 -1
  40. package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +1 -1
  41. package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -0
  42. package/dist/Shared/Components/FormFieldWrapper/types.d.ts +4 -0
  43. package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +3 -0
  44. package/dist/Shared/Components/GenericInfoCard/index.d.ts +2 -0
  45. package/dist/Shared/Components/GenericInfoCard/types.d.ts +26 -0
  46. package/dist/Shared/Components/GenericInfoCard/utils.d.ts +2 -0
  47. package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +1 -1
  48. package/dist/Shared/Components/GitProviderIcon/types.d.ts +8 -3
  49. package/dist/Shared/Components/GitProviderIcon/utils.d.ts +2 -0
  50. package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +2 -0
  51. package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +2 -0
  52. package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +3 -0
  53. package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +3 -0
  54. package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +3 -0
  55. package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +4 -0
  56. package/dist/Shared/Components/GraphVisualizer/components/types.d.ts +19 -0
  57. package/dist/Shared/Components/GraphVisualizer/constants.d.ts +15 -0
  58. package/dist/Shared/Components/GraphVisualizer/index.d.ts +2 -0
  59. package/dist/Shared/Components/GraphVisualizer/types.d.ts +12 -0
  60. package/dist/Shared/Components/GraphVisualizer/utils.d.ts +17 -0
  61. package/dist/Shared/Components/Header/types.d.ts +0 -1
  62. package/dist/Shared/Components/Icon/Icon.d.ts +12 -0
  63. package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +2 -0
  64. package/dist/Shared/Components/LoginBanner/constants.d.ts +4 -0
  65. package/dist/Shared/Components/LoginBanner/index.d.ts +1 -0
  66. package/dist/Shared/Components/LoginBanner/types.d.ts +7 -0
  67. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
  68. package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +3 -0
  69. package/dist/Shared/Components/PhoneInput/index.d.ts +1 -0
  70. package/dist/Shared/Components/PhoneInput/types.d.ts +11 -0
  71. package/dist/Shared/Components/ReactSelect/constants.d.ts +7 -15
  72. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  73. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
  74. package/dist/Shared/Components/Textarea/Textarea.component.d.ts +1 -1
  75. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  76. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +2 -1
  77. package/dist/Shared/Components/index.d.ts +8 -0
  78. package/dist/Shared/Helpers.d.ts +1 -0
  79. package/dist/Shared/Providers/types.d.ts +4 -1
  80. package/dist/Shared/Services/app.service.d.ts +4 -1
  81. package/dist/Shared/Services/common.service.d.ts +2 -1
  82. package/dist/Shared/Services/index.d.ts +1 -0
  83. package/dist/Shared/Services/template.service.d.ts +2 -0
  84. package/dist/Shared/constants.d.ts +3 -0
  85. package/dist/Shared/types.d.ts +54 -0
  86. package/dist/Shared/validations.d.ts +1 -0
  87. package/dist/assets/@code-editor.css +1 -1
  88. package/dist/assets/@vendor.css +1 -1
  89. package/dist/assets/ic-book-open.e839bbda.svg +3 -0
  90. package/dist/assets/ic-card-stack.efd37c91.svg +3 -0
  91. package/dist/assets/ic-caret-left.3df25a7c.svg +3 -0
  92. package/dist/assets/ic-chat-circle-dots.b5afd171.svg +3 -0
  93. package/dist/assets/ic-copy.416d85f3.svg +3 -0
  94. package/dist/assets/ic-devtron-header-logo.7dc157aa.svg +4 -0
  95. package/dist/assets/ic-devtron.aca6cbaa.svg +3 -0
  96. package/dist/assets/ic-key.56432553.svg +19 -0
  97. package/dist/assets/ic-new.2c179139.svg +3 -0
  98. package/dist/assets/ic-quote.68f093fe.svg +3 -0
  99. package/dist/assets/ic-timer.ae5f10fa.svg +19 -0
  100. package/dist/index.d.ts +6 -2
  101. package/dist/index.js +826 -799
  102. package/package.json +3 -1
  103. package/dist/Common/Api.d.ts +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.9.6",
3
+ "version": "1.9.8-beta-1",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -108,6 +108,7 @@
108
108
  "@replit/codemirror-indentation-markers": "6.5.3",
109
109
  "@replit/codemirror-vscode-keymap": "6.0.2",
110
110
  "@types/react-dates": "^21.8.6",
111
+ "@xyflow/react": "12.4.2",
111
112
  "@uiw/codemirror-extensions-hyper-link": "4.23.10",
112
113
  "@uiw/codemirror-theme-github": "4.23.7",
113
114
  "@uiw/react-codemirror": "4.23.7",
@@ -123,6 +124,7 @@
123
124
  "react-dates": "^21.8.0",
124
125
  "react-diff-viewer-continued": "^3.4.0",
125
126
  "react-draggable": "^4.4.5",
127
+ "react-international-phone": "^4.5.0",
126
128
  "react-monaco-editor": "^0.54.0",
127
129
  "react-virtualized-sticky-tree": "^3.0.0-beta18",
128
130
  "sass": "^1.69.7",
@@ -1,15 +0,0 @@
1
- import { MutableRefObject } from 'react';
2
- import { ResponseType, APIOptions } from './Types';
3
- export declare const post: <T = any, K = object>(url: string, data: K, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType<T>>;
4
- export declare const put: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
5
- export declare const patch: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
6
- export declare const get: <T = any>(url: string, options?: APIOptions) => Promise<ResponseType<T>>;
7
- export declare const trash: <T = any, K = object>(url: string, data?: K, options?: APIOptions) => Promise<ResponseType<T>>;
8
- /**
9
- * Aborts the previous request before triggering next request
10
- */
11
- export declare const abortPreviousRequests: <T>(callback: () => Promise<T>, abortControllerRef: MutableRefObject<AbortController>) => Promise<T>;
12
- /**
13
- * Returns true if the error is due to a aborted request
14
- */
15
- export declare const getIsRequestAborted: (error: any) => boolean;