@devtron-labs/devtron-fe-common-lib 1.14.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.
- package/dist/{@code-editor-Da2XaRcI.js → @code-editor-BuYqYK_U.js} +11115 -10762
- package/dist/{@common-rjsf-CK-nXKwn.js → @common-rjsf-C-srMZXE.js} +2 -2
- package/dist/{@framer-motion-DyOLEeMN.js → @framer-motion-62wGf8yQ.js} +3 -3
- package/dist/{@react-dates-B7d8RWU9.js → @react-dates-CYMJp3U9.js} +14 -14
- package/dist/{@react-select-Coo19Q6a.js → @react-select-DwgZP5FJ.js} +6 -6
- package/dist/{@react-virtualized-sticky-tree-BPjPJDIR.js → @react-virtualized-sticky-tree-fnroedPy.js} +1 -1
- package/dist/{@vendor-D9q4wrnL.js → @vendor-CShVblFI.js} +18496 -18687
- package/dist/Common/API/QueryClientProvider.d.ts +2 -0
- package/dist/Common/API/index.d.ts +2 -0
- package/dist/Common/API/useQueryClient.d.ts +6 -0
- package/dist/Common/Constants.d.ts +5 -11
- package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +3 -2
- package/dist/Common/TippyCustomized.d.ts +1 -1
- package/dist/Common/Types.d.ts +10 -7
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -1
- package/dist/Shared/Components/ActionMenu/types.d.ts +31 -4
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +4 -2
- package/dist/Shared/Components/Button/Button.component.d.ts +1 -1
- package/dist/Shared/Components/Button/constants.d.ts +1 -0
- package/dist/Shared/Components/Button/types.d.ts +14 -1
- package/dist/Shared/Components/Button/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -3
- package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/Extensions/findAndReplace.d.ts +2 -1
- package/dist/Shared/Components/CodeEditor/types.d.ts +14 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +0 -2
- package/dist/Shared/Components/DocLink/DocLink.d.ts +2 -0
- package/dist/Shared/Components/DocLink/constants.d.ts +94 -0
- package/dist/Shared/Components/DocLink/index.d.ts +4 -0
- package/dist/Shared/Components/DocLink/types.d.ts +18 -0
- package/dist/Shared/Components/DocLink/utils.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +8 -4
- package/dist/Shared/Components/FeatureDescription/types.d.ts +2 -1
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -3
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +3 -1
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +13 -0
- package/dist/Shared/Components/Header/ProfileMenu.d.ts +2 -0
- package/dist/Shared/Components/Header/types.d.ts +8 -8
- package/dist/Shared/Components/Header/utils.d.ts +0 -2
- package/dist/Shared/Components/Icon/Icon.d.ts +27 -0
- package/dist/Shared/Components/Icon/types.d.ts +2 -2
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +1 -1
- package/dist/Shared/Components/LoadingCard.d.ts +5 -0
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +2 -1
- package/dist/Shared/Components/NumbersCount/index.d.ts +1 -0
- package/dist/Shared/Components/Popover/Popover.component.d.ts +1 -1
- package/dist/Shared/Components/Popover/types.d.ts +5 -3
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
- package/dist/Shared/Components/Switch/Switch.component.d.ts +3 -0
- package/dist/Shared/Components/Switch/constants.d.ts +14 -0
- package/dist/Shared/Components/Switch/index.d.ts +2 -0
- package/dist/Shared/Components/Switch/types.d.ts +102 -0
- package/dist/Shared/Components/Switch/utils.d.ts +12 -0
- package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +1 -1
- package/dist/Shared/Components/ThemeSwitcher/index.d.ts +0 -1
- package/dist/Shared/Components/ThemeSwitcher/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +3 -1
- package/dist/Shared/Helpers.d.ts +1 -0
- package/dist/Shared/Providers/index.d.ts +1 -1
- package/dist/Shared/Providers/types.d.ts +20 -0
- package/dist/Shared/constants.d.ts +1 -0
- package/dist/Shared/types.d.ts +28 -0
- package/dist/Shared/validations.d.ts +1 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/empty-create.661d9355.png +0 -0
- package/dist/assets/ic-app-template.82736707.svg +23 -0
- package/dist/assets/ic-arrows-clockwise.5858ba0a.svg +3 -0
- package/dist/assets/ic-checkbox-selected-error.185fc40c.svg +4 -0
- package/dist/assets/{ic-hibernate.f75c1e70.svg → ic-checkbox-selected-error.b40237bc.svg} +3 -2
- package/dist/assets/ic-devtron-app.a8b688d3.svg +23 -0
- package/dist/assets/ic-devtron-job.1b216232.svg +10 -0
- package/dist/assets/ic-email.78fed574.svg +3 -0
- package/dist/assets/ic-fast-forward.8d1a414b.svg +4 -0
- package/dist/assets/ic-filter-applied.56f397cb.svg +4 -0
- package/dist/assets/ic-filter.d6f03b78.svg +3 -0
- package/dist/assets/ic-flask.d0624c30.svg +3 -0
- package/dist/assets/ic-hibernate-circle.7c32c56e.svg +3 -0
- package/dist/assets/{ic-arrow-square-out.3d1a0d41.svg → ic-hibernate.263ffcea.svg} +2 -2
- package/dist/assets/ic-key-enter.59d23056.svg +3 -0
- package/dist/assets/ic-lego.1d2c5e1d.svg +3 -0
- package/dist/assets/ic-magnifying-glass.cf47bce0.svg +3 -0
- package/dist/assets/ic-mechanical-operation.04a318d6.svg +17 -0
- package/dist/assets/ic-more-vertical.6b4cc903.svg +3 -0
- package/dist/assets/ic-play-outline.a4f09bf9.svg +3 -0
- package/dist/assets/ic-rocket-gear.f1e30f8a.svg +3 -0
- package/dist/assets/ic-spray-can.624b202a.svg +3 -0
- package/dist/assets/ic-strategy-blue-green-color.0b348d03.svg +6 -0
- package/dist/assets/ic-strategy-blue-green.4e57a068.svg +3 -0
- package/dist/assets/ic-strategy-canary-color.db010ee7.svg +5 -0
- package/dist/assets/ic-strategy-canary.aa75f27f.svg +3 -0
- package/dist/assets/ic-strategy-recreate-color.187facd4.svg +4 -0
- package/dist/assets/ic-strategy-recreate.77b19a53.svg +3 -0
- package/dist/assets/ic-strategy-rolling-color.f9b3c0bb.svg +6 -0
- package/dist/assets/ic-strategy-rolling.ba8a30f7.svg +3 -0
- package/dist/assets/ic-sun.47c14f53.svg +3 -0
- package/dist/assets/ic-traffic-signal.f23a1086.svg +3 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +805 -790
- package/package.json +3 -3
- package/dist/Shared/Components/DiffViewer/DiffViewer.component.d.ts +0 -41
- package/dist/Shared/Components/DiffViewer/constants.d.ts +0 -2
- package/dist/Shared/Components/DiffViewer/index.d.ts +0 -1
- package/dist/Shared/Components/DiffViewer/types.d.ts +0 -9
- package/dist/Shared/Components/FramerComponents/MotionDiv.d.ts +0 -2
- package/dist/Shared/Components/LogoutCard.d.ts +0 -10
- package/dist/assets/ic-mechanical-operation.3c3f4672.svg +0 -76
@@ -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="M20.639 11.36 7.14 3.111a.75.75 0 0 0-1.14.64v16.498a.75.75 0 0 0 1.141.64l13.498-8.25a.751.751 0 0 0 0-1.279Z" 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="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,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="m11.322 6.826.61-1.046c.735-1.113 1.802-1.291 2.773-.736a2.001 2.001 0 0 1 .744 2.748l-.61 1.045m-.743 5.025-6.498-3.62M21 7.021h-2.11M20.565 3l-1.898 1m1.898 7.046L18.667 10m-8.45 11 4.848-8.318a3.202 3.202 0 0 0-1.189-4.396l-1.59-.91c-1.554-.888-3.541-.36-4.438 1.179L3 16.872 10.218 21Z" 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';
|