@devtron-labs/devtron-fe-common-lib 1.7.10-beta-3 → 1.7.11-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.
- package/dist/{@code-editor-BsK5fCSI.js → @code-editor-CNoymfKe.js} +3807 -3916
- package/dist/{@common-rjsf-Bb_8MHi8.js → @common-rjsf-B06mW-15.js} +1 -1
- package/dist/Common/Common.service.d.ts +8 -1
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +1 -1
- package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +0 -4
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/Types.d.ts +2 -11
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +4 -0
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +8 -0
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +18 -5
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/Providers/types.d.ts +15 -1
- package/dist/Shared/Services/common.service.d.ts +2 -1
- package/dist/Shared/Services/types.d.ts +6 -0
- package/dist/Shared/Store/IndexStore.d.ts +1 -1
- package/dist/Shared/types.d.ts +3 -24
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +289 -288
- package/package.json +1 -1
- package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +0 -3
- package/dist/Shared/Components/KeyValueList/constants.d.ts +0 -5
- package/dist/Shared/Components/KeyValueList/index.d.ts +0 -2
- package/dist/Shared/Components/KeyValueList/types.d.ts +0 -52
- package/dist/assets/ic-crown.868ff2a9.svg +0 -3
- package/dist/assets/ic-user-key.e13c191e.svg +0 -4
package/package.json
CHANGED
@@ -1,52 +0,0 @@
|
|
1
|
-
export declare enum KeyValueListActionType {
|
2
|
-
ADD = "ADD_KEY_VALUE",
|
3
|
-
DELETE = "DELETE_KEY_VALUE",
|
4
|
-
UPDATE_KEY = "UPDATE",
|
5
|
-
UPDATE_VALUE = "UPDATE_VALUE"
|
6
|
-
}
|
7
|
-
export type KeyValueListType = {
|
8
|
-
key: string;
|
9
|
-
value: string;
|
10
|
-
};
|
11
|
-
export interface KeyValueHandlerDataType {
|
12
|
-
/**
|
13
|
-
* Used to identify the key-value pair.
|
14
|
-
* Optional - only for ADD action else it is mandatory
|
15
|
-
*/
|
16
|
-
index?: number;
|
17
|
-
value?: string;
|
18
|
-
}
|
19
|
-
export interface HandleKeyValueChangeType {
|
20
|
-
action: KeyValueListActionType;
|
21
|
-
data?: KeyValueHandlerDataType;
|
22
|
-
}
|
23
|
-
export interface KeyValueListProps {
|
24
|
-
keyValueList: KeyValueListType[];
|
25
|
-
handleKeyValueChange: ({ action, data }: HandleKeyValueChangeType) => void;
|
26
|
-
/**
|
27
|
-
* Would disable adding/deleting/updating parameters
|
28
|
-
*/
|
29
|
-
isDisabled?: boolean;
|
30
|
-
disabledInfo?: string;
|
31
|
-
/**
|
32
|
-
* @default - Add Parameter
|
33
|
-
*/
|
34
|
-
addButtonText?: string;
|
35
|
-
/**
|
36
|
-
* @default - Enter Key
|
37
|
-
*/
|
38
|
-
keyPlaceholder?: string;
|
39
|
-
/**
|
40
|
-
* @default - Enter Value
|
41
|
-
*/
|
42
|
-
valuePlaceholder?: string;
|
43
|
-
/**
|
44
|
-
* to be applied on each item
|
45
|
-
*/
|
46
|
-
itemClassName?: string;
|
47
|
-
}
|
48
|
-
export interface KeyValueItemProps extends Omit<KeyValueListProps, 'addButtonText' | 'keyValueList' | 'disabledInfo'> {
|
49
|
-
itemKey: string;
|
50
|
-
itemValue: string;
|
51
|
-
index: number;
|
52
|
-
}
|
@@ -1,3 +0,0 @@
|
|
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="M9.052 14.108a29.982 29.982 0 0 1 5.897 0M4.364 18.466a.675.675 0 0 0 .125.252.706.706 0 0 0 .22.186.768.768 0 0 0 .574.07 26.805 26.805 0 0 1 13.43-.001.786.786 0 0 0 .575-.07.725.725 0 0 0 .22-.186.674.674 0 0 0 .124-.252l2.348-9.377a.653.653 0 0 0-.018-.38.693.693 0 0 0-.229-.312.78.78 0 0 0-.77-.1l-4.66 1.947a.781.781 0 0 1-.534.024.729.729 0 0 1-.41-.321l-2.714-4.59a.714.714 0 0 0-.27-.26.774.774 0 0 0-.748 0 .714.714 0 0 0-.271.26l-2.714 4.59a.728.728 0 0 1-.41.32.781.781 0 0 1-.534-.023L3.037 8.296a.78.78 0 0 0-.77.1.693.693 0 0 0-.229.312.653.653 0 0 0-.018.38l2.344 9.378Z" vector-effect="non-scaling-stroke"/>
|
3
|
-
</svg>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
-
<path fill="#3B444C" d="M11.003 14.768v.75-.75Zm-8.62 3.806a.75.75 0 0 0 1.234.852l-1.234-.852ZM15.96 8.016a.75.75 0 0 0 1.48-.246l-1.48.246Zm-4.683 7.507a.75.75 0 1 0 .046-1.5l-.046 1.5Zm-.275-1.505c-2.765 0-5.03-2.286-5.03-5.134h-1.5c0 3.651 2.911 6.634 6.53 6.634v-1.5Zm-5.03-5.134c0-2.848 2.265-5.134 5.03-5.134v-1.5c-3.619 0-6.53 2.983-6.53 6.634h1.5ZM3.617 19.426a9.09 9.09 0 0 1 3.227-2.874l-.7-1.326a10.59 10.59 0 0 0-3.761 3.348l1.234.852Zm3.227-2.874a8.896 8.896 0 0 1 4.16-1.034v-1.5c-1.693 0-3.36.415-4.86 1.208l.7 1.326Zm4.16-12.802c2.477 0 4.552 1.835 4.957 4.266l1.48-.246c-.52-3.124-3.195-5.52-6.438-5.52v1.5Zm0 11.768c.09 0 .183.002.274.005l.046-1.5a10.424 10.424 0 0 0-.32-.005v1.5Z"/>
|
3
|
-
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m19.096 14.168-.047-.047M15.06 16.2a3.6 3.6 0 1 1 2.002 2l-3.06 3.06H12v-2l3.06-3.06Z" vector-effect="non-scaling-stroke"/>
|
4
|
-
</svg>
|