@devtron-labs/devtron-fe-common-lib 1.14.1-pre-7-beta-1 → 1.14.2-beta-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 (82) hide show
  1. package/dist/{@code-editor-CkMdOfQQ.js → @code-editor-BuYqYK_U.js} +8074 -7959
  2. package/dist/{@common-rjsf-CSPmJewm.js → @common-rjsf-C-srMZXE.js} +2 -2
  3. package/dist/{@framer-motion-CXr339mx.js → @framer-motion-62wGf8yQ.js} +1 -1
  4. package/dist/{@react-dates-BqsAxdEY.js → @react-dates-CYMJp3U9.js} +1 -1
  5. package/dist/{@react-select-BMTMYG5B.js → @react-select-DwgZP5FJ.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-wtn_BsmV.js → @react-virtualized-sticky-tree-fnroedPy.js} +1 -1
  7. package/dist/{@vendor-CmCjU670.js → @vendor-CShVblFI.js} +16199 -14486
  8. package/dist/Common/API/QueryClientProvider.d.ts +2 -0
  9. package/dist/Common/API/index.d.ts +2 -0
  10. package/dist/Common/API/useQueryClient.d.ts +6 -0
  11. package/dist/Common/Constants.d.ts +4 -3
  12. package/dist/Common/Types.d.ts +3 -9
  13. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
  14. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -1
  15. package/dist/Shared/Components/ActionMenu/types.d.ts +31 -4
  16. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +4 -2
  17. package/dist/Shared/Components/Button/Button.component.d.ts +1 -1
  18. package/dist/Shared/Components/Button/constants.d.ts +1 -0
  19. package/dist/Shared/Components/Button/types.d.ts +14 -1
  20. package/dist/Shared/Components/Button/utils.d.ts +1 -1
  21. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  22. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -3
  23. package/dist/Shared/Components/DocLink/DocLink.d.ts +1 -1
  24. package/dist/Shared/Components/DocLink/constants.d.ts +2 -2
  25. package/dist/Shared/Components/DocLink/types.d.ts +1 -1
  26. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  27. package/dist/Shared/Components/Header/ProfileMenu.d.ts +2 -0
  28. package/dist/Shared/Components/Header/types.d.ts +4 -0
  29. package/dist/Shared/Components/Header/utils.d.ts +0 -2
  30. package/dist/Shared/Components/Icon/Icon.d.ts +21 -4
  31. package/dist/Shared/Components/Icon/types.d.ts +2 -2
  32. package/dist/Shared/Components/LoadingCard.d.ts +5 -0
  33. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
  34. package/dist/Shared/Components/NumbersCount/index.d.ts +1 -0
  35. package/dist/Shared/Components/Popover/Popover.component.d.ts +1 -1
  36. package/dist/Shared/Components/Popover/types.d.ts +5 -3
  37. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  38. package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
  39. package/dist/Shared/Components/Switch/Switch.component.d.ts +1 -1
  40. package/dist/Shared/Components/Switch/types.d.ts +2 -5
  41. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +1 -1
  42. package/dist/Shared/Components/ThemeSwitcher/index.d.ts +0 -1
  43. package/dist/Shared/Components/ThemeSwitcher/types.d.ts +1 -1
  44. package/dist/Shared/Components/index.d.ts +1 -0
  45. package/dist/Shared/Providers/types.d.ts +5 -1
  46. package/dist/Shared/types.d.ts +23 -0
  47. package/dist/assets/@code-editor.css +1 -1
  48. package/dist/assets/ic-arrows-clockwise.5858ba0a.svg +3 -0
  49. package/dist/assets/ic-checkbox-selected-error.185fc40c.svg +4 -0
  50. package/dist/assets/{ic-hibernate.f75c1e70.svg → ic-checkbox-selected-error.b40237bc.svg} +3 -2
  51. package/dist/assets/{ic-cluster.f1c3fad1.svg → ic-cluster.71ba9e26.svg} +1 -1
  52. package/dist/assets/ic-fast-forward.8d1a414b.svg +4 -0
  53. package/dist/assets/ic-filter-applied.56f397cb.svg +4 -0
  54. package/dist/assets/ic-filter.d6f03b78.svg +3 -0
  55. package/dist/assets/ic-flask.d0624c30.svg +3 -0
  56. package/dist/assets/ic-hibernate-circle.7c32c56e.svg +3 -0
  57. package/dist/assets/ic-hibernate.263ffcea.svg +19 -0
  58. package/dist/assets/ic-lego.1d2c5e1d.svg +3 -0
  59. package/dist/assets/ic-magnifying-glass.cf47bce0.svg +3 -0
  60. package/dist/assets/ic-mechanical-operation.04a318d6.svg +17 -0
  61. package/dist/assets/ic-more-vertical.6b4cc903.svg +3 -0
  62. package/dist/assets/ic-play-outline.a4f09bf9.svg +3 -0
  63. package/dist/assets/ic-rocket-gear.f1e30f8a.svg +3 -0
  64. package/dist/assets/ic-strategy-blue-green-color.0b348d03.svg +6 -0
  65. package/dist/assets/ic-strategy-blue-green.4e57a068.svg +3 -0
  66. package/dist/assets/ic-strategy-canary-color.db010ee7.svg +5 -0
  67. package/dist/assets/ic-strategy-canary.aa75f27f.svg +3 -0
  68. package/dist/assets/ic-strategy-recreate-color.187facd4.svg +4 -0
  69. package/dist/assets/ic-strategy-recreate.77b19a53.svg +3 -0
  70. package/dist/assets/ic-strategy-rolling-color.f9b3c0bb.svg +6 -0
  71. package/dist/assets/ic-strategy-rolling.ba8a30f7.svg +3 -0
  72. package/dist/assets/ic-sun.47c14f53.svg +3 -0
  73. package/dist/assets/ic-traffic-signal.f23a1086.svg +3 -0
  74. package/dist/index.d.ts +22 -0
  75. package/dist/index.js +620 -614
  76. package/package.json +3 -2
  77. package/dist/Shared/Components/LogoutCard.d.ts +0 -10
  78. package/dist/assets/ic-cluster-isolated.93f843b9.svg +0 -3
  79. package/dist/assets/ic-environment-isolated.b772ae9d.svg +0 -3
  80. package/dist/assets/ic-environment.e639b8f3.svg +0 -4
  81. package/dist/assets/ic-mechanical-operation.3c3f4672.svg +0 -76
  82. package/dist/assets/ic-shapes.b7b5c28f.svg +0 -3
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.593 15.958C6.532 19.14 2.289 19.14 2.289 19.14s0-4.242 3.182-5.303m5.304 1.06-4.243-4.242m0 0 6.364-6.364c2.41-2.41 4.82-2.386 5.847-2.233a.747.747 0 0 1 .629.628c.153 1.028.176 3.438-2.233 5.848l-1.591 1.59m-9.016.531-3.93-.786a.75.75 0 0 1-.382-1.266l3.032-3.032a.75.75 0 0 1 .53-.22h6.053M17.5 17.4V17m0 .4a.383.383 0 0 1-.292-.136m.292.136a.378.378 0 0 0 .16-.036m.23-.364a.4.4 0 0 0-.094-.26m.094.26h-.39m.389 0a.405.405 0 0 1-.097.264M17.5 16.6c.118 0 .224.054.295.14m-.295-.14v.4m0-.4a.379.379 0 0 0-.153.032m-.236.368h.389m-.389 0c0-.108.042-.206.11-.279m-.11.279c0 .046.008.09.022.132m.662-.392L17.5 17m0 0-.292.264M17.5 17l-.28-.279m.28.279.292.264M17.5 17l-.367.132M17.5 17l-.153-.368M17.5 17l.16.364m-.452-.1a.402.402 0 0 1-.075-.132m.088-.41a.39.39 0 0 1 .126-.09m.445.632a.392.392 0 0 1-.131.1M21 18.847v-3.694a.306.306 0 0 0-.149-.261l-3.208-1.853a.285.285 0 0 0-.286 0l-3.208 1.853a.296.296 0 0 0-.149.261v3.694a.306.306 0 0 0 .149.261l3.208 1.854a.285.285 0 0 0 .286 0l3.208-1.854a.296.296 0 0 0 .149-.261Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path fill="#E9FBF4" d="M15.223 8.668a6.75 6.75 0 1 1-7.425 7.425"/>
3
+ <path stroke="#1DAD70" stroke-linejoin="round" stroke-width="1.5" d="M15.223 8.668a6.75 6.75 0 1 1-7.425 7.425" vector-effect="non-scaling-stroke"/>
4
+ <path stroke="#1DAD70" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m14.97 11.34 6 6m-7.687-3.187 6 6M10.47 15.84l6 6" vector-effect="non-scaling-stroke"/>
5
+ <path fill="#E5F2FF" stroke="#06C" stroke-width="1.5" d="M8.51 16.13a6.75 6.75 0 1 0 0-13.5 6.75 6.75 0 0 0 0 13.5Z" vector-effect="non-scaling-stroke"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.223 8.668a6.75 6.75 0 0 1 4.06 11.485m0 0a6.75 6.75 0 0 1-11.485-4.06m11.485 4.06-6-6m1.688-2.812 6 6m-10.5-1.5 6 6M15.26 9.38a6.75 6.75 0 1 1-13.5 0 6.75 6.75 0 0 1 13.5 0Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path fill="#FFF5E5" stroke="#FFB549" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.75 9.33V7.208c0-2.697 2.156-4.945 4.85-4.958a4.875 4.875 0 0 1 4.743 3.646L21.75 7.5 19.5 9v2.25a9 9 0 0 1-9 9H2.25a.75.75 0 0 1-.586-1.219l8.086-9.7Z" vector-effect="non-scaling-stroke"/>
3
+ <path stroke="#FFB549" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m12 12-6.875 8.25" vector-effect="non-scaling-stroke"/>
4
+ <path fill="#FFB549" d="M15.375 7.5a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m12 12-6.875 8.25M15 7v-.5M9.75 9.33V7.208c0-2.697 2.156-4.945 4.85-4.958a4.875 4.875 0 0 1 4.743 3.646L21.75 7.5 19.5 9v2.25a9 9 0 0 1-9 9H2.25a.75.75 0 0 1-.586-1.219l8.086-9.7Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path fill="#E5F2FF" d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z"/>
3
+ <path stroke="#06C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0v-9m6.364-6.364L5.636 18.364M18 6v12.708M15 9v11.487M9 15v5.487" vector-effect="non-scaling-stroke"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0v-9m6.364-6.364L5.636 18.364M18 6v12.708M15 9v11.487M9 15v5.487" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path fill="#E5F2FF" d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z"/>
3
+ <path fill="#E5F2FF" d="M12 3c1.657 0 3 4.031 3 9s-1.343 9-3 9"/>
4
+ <path fill="#E5F2FF" d="M21 12c0 1.657-4.031 3-9 3s-9-1.343-9-3"/>
5
+ <path stroke="#06C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M21 12a9 9 0 0 1-9 9m9-9a9 9 0 0 0-9-9m9 9c0 1.657-4.031 3-9 3s-9-1.343-9-3m9 9a9 9 0 0 1-9-9m9 9c1.657 0 3-4.031 3-9s-1.343-9-3-9m-9 9a9 9 0 0 1 9-9" vector-effect="non-scaling-stroke"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M21 12a9 9 0 0 1-9 9m9-9a9 9 0 0 0-9-9m9 9c0 1.657-4.031 3-9 3s-9-1.343-9-3m9 9a9 9 0 0 1-9-9m9 9c1.657 0 3-4.031 3-9s-1.343-9-3-9m-9 9a9 9 0 0 1 9-9" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 3.786V2M6.192 6.192 4.929 4.929M3.786 12H2m4.192 5.808-1.263 1.263M12 20.214V22m5.808-4.192 1.263 1.263M20.214 12H22m-4.192-5.808 1.263-1.263M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18 6.75h2.25M18 14.25h2.25m-16.5-7.5H6m-2.25 7.5H6M6.75 3h10.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 6.75 3Zm7.5 5.25a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm0 7.5a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
package/dist/index.d.ts CHANGED
@@ -141,6 +141,12 @@ export interface customEnv {
141
141
  GATEKEEPER_URL?: string;
142
142
  FEATURE_AI_INTEGRATION_ENABLE?: boolean;
143
143
  LOGIN_PAGE_IMAGE?: string;
144
+ /**
145
+ * If true, the manage traffic feature is enabled in apps & app groups.
146
+ *
147
+ * @default false
148
+ */
149
+ FEATURE_MANAGE_TRAFFIC_ENABLE?: boolean;
144
150
  }
145
151
  declare global {
146
152
  interface Window {
@@ -149,6 +155,22 @@ declare global {
149
155
  _env_: customEnv;
150
156
  }
151
157
  }
158
+ declare module '@tanstack/react-query' {
159
+ interface QueryMeta {
160
+ /**
161
+ * Optional flag indicating whether to display a toast notification for errors.
162
+ * @default true
163
+ */
164
+ showToastError?: boolean;
165
+ }
166
+ interface MutationMeta {
167
+ /**
168
+ * Optional flag indicating whether to display a toast notification for errors.
169
+ * @default true
170
+ */
171
+ showToastError?: boolean;
172
+ }
173
+ }
152
174
  export * from './Common';
153
175
  export * from './Pages';
154
176
  export * from './Shared';