@devtron-labs/devtron-fe-common-lib 0.0.79-beta-13 → 0.0.79-beta-15
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/Common/Api.d.ts +0 -1
- package/dist/Common/CodeEditor/CodeEditor.d.ts +1 -44
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +36 -0
- package/dist/Common/CodeEditor/index.d.ts +2 -0
- package/dist/Common/CodeEditor/types.d.ts +81 -0
- package/dist/Common/Common.service.d.ts +5 -3
- package/dist/Common/Constants.d.ts +7 -12
- package/dist/Common/Helper.d.ts +2 -11
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcut.d.ts +2 -0
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +3 -0
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +4 -0
- package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +2 -0
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +8 -0
- package/dist/Common/Hooks/index.d.ts +1 -0
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +1 -1
- package/dist/Common/SegmentedBarChart/SegmentedBarChart.d.ts +5 -0
- package/dist/Common/SegmentedBarChart/constants.d.ts +5 -0
- package/dist/Common/SegmentedBarChart/index.d.ts +2 -0
- package/dist/Common/SegmentedBarChart/types.d.ts +11 -0
- package/dist/Common/Types.d.ts +2 -55
- package/dist/Common/index.d.ts +2 -1
- package/dist/Pages/ResourceBrowser/Helper.d.ts +3 -0
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +20 -0
- package/dist/Pages/ResourceBrowser/index.d.ts +2 -0
- package/dist/Pages/index.d.ts +1 -0
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
- package/dist/Shared/Components/ActivityIndicator/types.d.ts +0 -2
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +0 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +9 -7
- package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -11
- package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +2 -1
- package/dist/Shared/Components/ScannedByToolModal/types.d.ts +2 -0
- package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +4 -0
- package/dist/Shared/Components/ScannedObjectBar/index.d.ts +1 -0
- package/dist/Shared/Components/ScannedObjectBar/types.d.ts +7 -0
- package/dist/Shared/Components/Vulnerabilities/index.d.ts +1 -0
- package/dist/Shared/Components/Vulnerabilities/utils.d.ts +4 -0
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/Helpers.d.ts +2 -2
- package/dist/Shared/Providers/index.d.ts +0 -1
- package/dist/Shared/constants.d.ts +0 -14
- package/dist/Shared/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +68 -100
- package/dist/Shared/validations.d.ts +1 -10
- package/dist/abap-5361cc9f.js +1314 -0
- package/dist/apex-f9413e6f.js +315 -0
- package/dist/assets/editor.worker-60ba9509.js +12 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/yaml.worker-cc1a551a.js +471 -0
- package/dist/azcli-36f2cb5e.js +74 -0
- package/dist/bat-6b05202d.js +95 -0
- package/dist/bicep-788415e3.js +108 -0
- package/dist/cameligo-4e85ec93.js +168 -0
- package/dist/clojure-40fa5799.js +754 -0
- package/dist/coffee-f557f5e0.js +228 -0
- package/dist/cpp-ebbf7759.js +390 -0
- package/dist/csharp-1616f566.js +320 -0
- package/dist/csp-5f0bc3c4.js +57 -0
- package/dist/css-2b1aec9b.js +186 -0
- package/dist/cssMode-68a397fb.js +1446 -0
- package/dist/cypher-b12b4ba8.js +262 -0
- package/dist/dart-e0d70030.js +270 -0
- package/dist/dockerfile-f9d4b2b0.js +132 -0
- package/dist/ecl-5b91fdec.js +454 -0
- package/dist/elixir-deffd5a6.js +489 -0
- package/dist/flow9-84cd00d7.js +141 -0
- package/dist/freemarker2-2a95384c.js +643 -0
- package/dist/fsharp-d296151f.js +210 -0
- package/dist/go-7e72ff3b.js +208 -0
- package/dist/graphql-a93568a1.js +141 -0
- package/dist/handlebars-9d988e9c.js +391 -0
- package/dist/hcl-b3994d8f.js +177 -0
- package/dist/html-82074883.js +281 -0
- package/dist/htmlMode-29fd99ba.js +1456 -0
- package/dist/index-9b36c114.js +128503 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +301 -20747
- package/dist/ini-df84509a.js +68 -0
- package/dist/java-fba3d046.js +221 -0
- package/dist/javascript-1c4dcdf8.js +75 -0
- package/dist/jsonMode-1fe8d367.js +1867 -0
- package/dist/julia-cefd45f6.js +496 -0
- package/dist/kotlin-b87b6942.js +245 -0
- package/dist/less-8a7f37bc.js +168 -0
- package/dist/lexon-cb95cd13.js +151 -0
- package/dist/liquid-1b8d904b.js +238 -0
- package/dist/lua-6d5b3ea4.js +157 -0
- package/dist/m3-d0daf5d0.js +210 -0
- package/dist/markdown-48bb0c6f.js +202 -0
- package/dist/mdx-ecd71606.js +171 -0
- package/dist/mips-20dcf886.js +194 -0
- package/dist/msdax-e9759e23.js +377 -0
- package/dist/mysql-95f335b2.js +876 -0
- package/dist/objective-c-ad0cfb47.js +188 -0
- package/dist/pascal-eda19dc3.js +245 -0
- package/dist/pascaligo-b7e0c89b.js +158 -0
- package/dist/perl-bbe5d32a.js +599 -0
- package/dist/pgsql-7ebaee1c.js +847 -0
- package/dist/php-2526756d.js +471 -0
- package/dist/pla-9ebd6f68.js +131 -0
- package/dist/postiats-9ac05cf6.js +544 -0
- package/dist/powerquery-1cae399d.js +890 -0
- package/dist/powershell-093b5b87.js +233 -0
- package/dist/protobuf-37993cbc.js +422 -0
- package/dist/pug-c2a5db5f.js +393 -0
- package/dist/python-0342a954.js +259 -0
- package/dist/qsharp-1450aac5.js +282 -0
- package/dist/r-a0642b90.js +245 -0
- package/dist/razor-768b9977.js +512 -0
- package/dist/redis-405cb63d.js +298 -0
- package/dist/redshift-830f82de.js +806 -0
- package/dist/restructuredtext-d81f5ef4.js +162 -0
- package/dist/ruby-d607b87e.js +444 -0
- package/dist/rust-86e74dbb.js +337 -0
- package/dist/sb-b7e5010d.js +110 -0
- package/dist/scala-a4d4a3c6.js +353 -0
- package/dist/scheme-81927e94.js +114 -0
- package/dist/scss-3f112fcd.js +244 -0
- package/dist/shell-d795bcaa.js +224 -0
- package/dist/solidity-5b556d3e.js +1351 -0
- package/dist/sophia-1da55998.js +190 -0
- package/dist/sparql-ac34318e.js +193 -0
- package/dist/sql-eef6393b.js +818 -0
- package/dist/st-758b1972.js +415 -0
- package/dist/swift-63cb1847.js +315 -0
- package/dist/systemverilog-2538c608.js +556 -0
- package/dist/tcl-53e6282a.js +232 -0
- package/dist/tsMode-f1e35eca.js +811 -0
- package/dist/twig-80c3dc23.js +323 -0
- package/dist/typescript-3e837261.js +328 -0
- package/dist/vb-32089525.js +364 -0
- package/dist/wgsl-e681d5a0.js +420 -0
- package/dist/xml-a3122d31.js +95 -0
- package/dist/yaml-fb366809.js +184 -0
- package/package.json +7 -11
- package/dist/Common/GenericDescription/GenericDescription.d.ts +0 -4
- package/dist/Common/GenericDescription/constant.d.ts +0 -2
- package/dist/Common/GenericDescription/index.d.ts +0 -2
- package/dist/Common/GenericDescription/types.d.ts +0 -14
- package/dist/Common/Markdown/constant.d.ts +0 -28
- package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +0 -18
- package/dist/Shared/Components/ButtonWithSelector/index.d.ts +0 -1
- package/dist/Shared/Components/ButtonWithSelector/types.d.ts +0 -10
- package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +0 -5
- package/dist/Shared/Providers/ImageSelectionUtility/index.d.ts +0 -1
- package/dist/Shared/Providers/ImageSelectionUtility/types.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devtron-labs/devtron-fe-common-lib",
|
|
3
|
-
"version": "0.0.79-beta-
|
|
3
|
+
"version": "0.0.79-beta-15",
|
|
4
4
|
"description": "Supporting common component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -57,8 +57,9 @@
|
|
|
57
57
|
"lint-staged": "^12.5.0",
|
|
58
58
|
"glob": "^10.3.3",
|
|
59
59
|
"moment": "^2.29.4",
|
|
60
|
-
"monaco-editor": "0.
|
|
61
|
-
"monaco-yaml": "
|
|
60
|
+
"monaco-editor": "0.44.0",
|
|
61
|
+
"monaco-yaml": "5.1.1",
|
|
62
|
+
"react-monaco-editor": "^0.55.0",
|
|
62
63
|
"prettier": "^3.1.1",
|
|
63
64
|
"react-select": "5.2.2",
|
|
64
65
|
"react-ga4": "^1.4.1",
|
|
@@ -68,9 +69,7 @@
|
|
|
68
69
|
"vite": "^4.5.3",
|
|
69
70
|
"vite-plugin-dts": "^3.5.1",
|
|
70
71
|
"vite-plugin-lib-inject-css": "^1.2.0",
|
|
71
|
-
"vite-plugin-svgr": "^2.4.0"
|
|
72
|
-
"react-mde": "^11.5.0"
|
|
73
|
-
|
|
72
|
+
"vite-plugin-svgr": "^2.4.0"
|
|
74
73
|
},
|
|
75
74
|
"peerDependencies": {
|
|
76
75
|
"@rjsf/core": "^5.13.3",
|
|
@@ -81,16 +80,13 @@
|
|
|
81
80
|
"react-router": "^5.3.0",
|
|
82
81
|
"react-router-dom": "^5.3.0",
|
|
83
82
|
"react-draggable": "^4.4.5",
|
|
83
|
+
"yaml": "^2.4.1",
|
|
84
84
|
"marked": "4.3.0",
|
|
85
85
|
"dompurify": "^3.0.2",
|
|
86
86
|
"react-ga4": "^1.4.1",
|
|
87
|
-
"@typeform/embed-react": "2.20.0"
|
|
88
|
-
"yaml": "^2.4.1",
|
|
89
|
-
"react-mde": "^11.5.0"
|
|
90
|
-
|
|
87
|
+
"@typeform/embed-react": "2.20.0"
|
|
91
88
|
},
|
|
92
89
|
"dependencies": {
|
|
93
|
-
"react-monaco-editor": "^0.54.0",
|
|
94
90
|
"fast-json-patch": "^3.1.1",
|
|
95
91
|
"jsonpath-plus": "^7.2.0",
|
|
96
92
|
"sass": "^1.69.7",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { GenericDescriptionProps } from './types';
|
|
2
|
-
|
|
3
|
-
declare const GenericDescription: ({ text, updatedBy, updatedOn, isDescriptionPreview, tabIndex, updateDescription, title, minEditorHeight, }: GenericDescriptionProps) => JSX.Element;
|
|
4
|
-
export default GenericDescription;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface GenericDescriptionProps {
|
|
2
|
-
text?: string;
|
|
3
|
-
updatedBy?: string;
|
|
4
|
-
updatedOn?: string;
|
|
5
|
-
isDescriptionPreview: boolean;
|
|
6
|
-
updateDescription: (string: any) => Promise<void>;
|
|
7
|
-
title: string;
|
|
8
|
-
tabIndex?: number;
|
|
9
|
-
minEditorHeight?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare enum MDEditorSelectedTabType {
|
|
12
|
-
WRITE = "write",
|
|
13
|
-
PREVIEW = "preview"
|
|
14
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_MARKDOWN_EDITOR_PREVIEW_MESSAGE = "\n<br>\nNothing to preview\n";
|
|
2
|
-
export declare const MARKDOWN_EDITOR_COMMANDS: string[][];
|
|
3
|
-
export declare enum MARKDOWN_EDITOR_COMMAND_TITLE {
|
|
4
|
-
HEADER = "header",
|
|
5
|
-
BOLD = "bold",
|
|
6
|
-
ITALIC = "italic",
|
|
7
|
-
STRIKETHROUGH = "strikethrough",
|
|
8
|
-
LINK = "link",
|
|
9
|
-
QUOTE = "quote",
|
|
10
|
-
CODE = "code",
|
|
11
|
-
IMAGE = "image",
|
|
12
|
-
UNORDERED_LIST = "unordered-list",
|
|
13
|
-
ORDERED_LIST = "ordered-list",
|
|
14
|
-
CHECKED_LIST = "checked-list"
|
|
15
|
-
}
|
|
16
|
-
export declare const MARKDOWN_EDITOR_COMMAND_ICON_TIPPY_CONTENT: {
|
|
17
|
-
header: string;
|
|
18
|
-
bold: string;
|
|
19
|
-
italic: string;
|
|
20
|
-
strikethrough: string;
|
|
21
|
-
link: string;
|
|
22
|
-
quote: string;
|
|
23
|
-
code: string;
|
|
24
|
-
image: string;
|
|
25
|
-
"unordered-list": string;
|
|
26
|
-
"ordered-list": string;
|
|
27
|
-
"checked-list": string;
|
|
28
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ButtonWithSelectorProps } from './types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Button With Selector
|
|
5
|
-
* @param content Content to show in button
|
|
6
|
-
* @param onClick Handler Function for button click
|
|
7
|
-
* @param children Dropdown Content
|
|
8
|
-
* @param className Other Classes to be applied
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <ButtonWithSelector content='Create Job' onClick={() => {}} className=''>
|
|
13
|
-
* {dropdownOptions}
|
|
14
|
-
* </ButtonWithSelector>
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, }: ButtonWithSelectorProps) => JSX.Element;
|
|
18
|
-
export default ButtonWithSelector;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ButtonWithSelector } from './ButtonWithSelector';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ImageSelectionUtilityContextType, ImageSelectionUtilityProviderProps } from './types';
|
|
2
|
-
|
|
3
|
-
export declare const ImageSelectionUtilityContext: import('react').Context<ImageSelectionUtilityContextType>;
|
|
4
|
-
export declare const useImageSelectionUtilityContext: () => ImageSelectionUtilityContextType;
|
|
5
|
-
export declare const ImageSelectionUtilityProvider: ({ children, value }: ImageSelectionUtilityProviderProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ImageSelectionUtility';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ImageSelectionUtilityContextType {
|
|
3
|
-
gitCommitInfoGeneric: (...props: any[]) => JSX.Element;
|
|
4
|
-
getModuleInfo: (moduleName: string) => Promise<any>;
|
|
5
|
-
}
|
|
6
|
-
export interface ImageSelectionUtilityProviderProps {
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
value: ImageSelectionUtilityContextType;
|
|
9
|
-
}
|