@devtron-labs/devtron-fe-common-lib 1.20.6-alpha-93 → 1.20.6-alpha-87
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-5o-s7JEA.js → @code-editor-BdjkvFPU.js} +8103 -8123
- package/dist/{@common-rjsf-DLuKFLV4.js → @common-rjsf-CcDOyZ4y.js} +22 -22
- package/dist/{@framer-motion-LZK2bgCK.js → @framer-motion-BbD0XILR.js} +61 -61
- package/dist/{@react-dates-CbpfVsC0.js → @react-dates-DLCF81bK.js} +1 -1
- package/dist/{@react-select-BuPEYnTv.js → @react-select-CK9Bxd-k.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-DX7VkyTZ.js → @react-virtualized-sticky-tree-J61SX97M.js} +1 -1
- package/dist/{@vendor-BsABdDGm.js → @vendor-DEAetXNs.js} +13807 -14677
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -3
- package/dist/Shared/Components/Table/types.d.ts +0 -1
- package/dist/Shared/Helpers.d.ts +0 -9
- package/dist/Shared/Services/common.service.d.ts +1 -1
- package/dist/Shared/validations.d.ts +1 -1
- package/dist/index.js +330 -331
- package/package.json +1 -3
|
@@ -133,5 +133,5 @@ import { SelectPickerProps } from './type';
|
|
|
133
133
|
* />
|
|
134
134
|
* ```
|
|
135
135
|
*/
|
|
136
|
-
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, keyboardShortcut, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis,
|
|
136
|
+
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, keyboardShortcut, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef: refFromConsumer, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, menuListFooterConfig, isCreatable, onCreateOption, closeMenuOnSelect: _closeMenuOnSelect, shouldShowNoOptionsMessage, shouldRenderTextArea, onKeyDown, shouldHideMenu, warningText, layout, ariaLabel, borderConfig, borderRadiusConfig, labelTippyCustomizedConfig, labelTooltipConfig, hideFormFieldInfo, autoFocus, showCheckboxForMultiSelect, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
|
|
137
137
|
export default SelectPicker;
|
|
@@ -7,7 +7,7 @@ export declare const SelectPickerClearIndicator: <OptionValue>(props: ClearIndic
|
|
|
7
7
|
export declare const SelectPickerControl: <OptionValue>(props: ControlProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
8
8
|
export declare const SelectPickerInput: <OptionValue>(props: InputProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
9
9
|
export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => JSX.Element;
|
|
10
|
-
export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis,
|
|
10
|
+
export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis">) => JSX.Element;
|
|
11
11
|
export declare const SelectPickerMenuListFooter: ({ menuListFooterConfig, }: Required<Pick<SelectPickerProps, "menuListFooterConfig">>) => JSX.Element;
|
|
12
12
|
export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
13
13
|
export declare const SelectPickerMultiValue: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => JSX.Element;
|
|
@@ -206,7 +206,6 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
|
|
|
206
206
|
shouldHideMenu?: boolean;
|
|
207
207
|
} & (IsMulti extends true ? {
|
|
208
208
|
isMulti: IsMulti | boolean;
|
|
209
|
-
isUserIdentifier?: boolean;
|
|
210
209
|
multiSelectProps?: Partial<Pick<SelectProps<OptionValue, IsMulti>, 'customDisplayText'>> & {
|
|
211
210
|
/**
|
|
212
211
|
* If true, the group heading can be selected
|
|
@@ -224,12 +223,11 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
|
|
|
224
223
|
} : {
|
|
225
224
|
isMulti?: never;
|
|
226
225
|
multiSelectProps?: never;
|
|
227
|
-
isUserIdentifier?: never;
|
|
228
226
|
});
|
|
229
227
|
export type SelectPickerGroupHeadingProps<OptionValue> = GroupHeadingProps<SelectPickerOptionType<OptionValue>> & {
|
|
230
228
|
isGroupHeadingSelectable: boolean;
|
|
231
229
|
};
|
|
232
|
-
export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'getOptionValue' | 'isOptionDisabled' | 'onMenuClose' | 'menuIsOpen' | 'onKeyDown'
|
|
230
|
+
export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'getOptionValue' | 'isOptionDisabled' | 'onMenuClose' | 'menuIsOpen' | 'onKeyDown'> {
|
|
233
231
|
appliedFilterOptions: SelectPickerOptionType[];
|
|
234
232
|
handleApplyFilter: (filtersToApply: SelectPickerOptionType<number | string>[]) => void;
|
|
235
233
|
}
|
|
@@ -91,7 +91,6 @@ export interface BulkOperationModalProps<T extends string = string, RowData exte
|
|
|
91
91
|
type BulkSelectionConfigType = Pick<UseBulkSelectionProps<unknown>, 'getSelectAllDialogStatus'> & {
|
|
92
92
|
BulkActionsComponent: FunctionComponent<BulkActionsComponentProps>;
|
|
93
93
|
BulkOperationModal: FunctionComponent<BulkOperationModalProps>;
|
|
94
|
-
disableSelectAllAcrossEvenIfPaginated?: boolean;
|
|
95
94
|
} & Pick<BulkActionsComponentProps, 'bulkActionsData'> & Pick<BulkOperationModalProps, 'bulkOperationModalData'>;
|
|
96
95
|
export declare enum PaginationEnum {
|
|
97
96
|
PAGINATED = "paginated",
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -105,13 +105,4 @@ export declare const smoothScrollToTop: (scrollContainer: HTMLElement, targetPos
|
|
|
105
105
|
export declare const getGroupVersionFromApiVersion: (apiVersion: string) => Pick<Node, "group" | "version">;
|
|
106
106
|
export declare const YAMLtoJSON: (yamlString: string) => string;
|
|
107
107
|
export declare const formatNumberToCurrency: (value: number, currency: string, minimumFractionDigits?: number) => string;
|
|
108
|
-
/**
|
|
109
|
-
* Returns the human readable explanation of the expression
|
|
110
|
-
* NOTE: expectation is that the expression is valid
|
|
111
|
-
*
|
|
112
|
-
* @throws Error - if given expression is incorrect
|
|
113
|
-
* @param expression
|
|
114
|
-
* @returns string - helper text explaining the expression in a human readable format
|
|
115
|
-
*/
|
|
116
|
-
export declare const explainCronExpression: (expression: string) => string;
|
|
117
108
|
export {};
|
|
@@ -5,5 +5,5 @@ export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, qu
|
|
|
5
5
|
export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
|
|
6
6
|
export declare const saveCDPipeline: (request: any, { isTemplateView }: Required<Pick<AppConfigProps, "isTemplateView">>) => Promise<import('../../Common').ResponseType<any>>;
|
|
7
7
|
export declare const getEnvironmentData: () => Promise<import('../../Common').ResponseType<EnvironmentDataValuesDTO>>;
|
|
8
|
-
export declare const getClusterOptions: (
|
|
8
|
+
export declare const getClusterOptions: () => Promise<ClusterType[]>;
|
|
9
9
|
export declare const getAllClusterListMin: (signal: AbortSignal) => Promise<import('../../Common').ResponseType<AllClusterListMinItemDTO[]>>;
|
|
@@ -61,4 +61,4 @@ export declare const validateCMVolumeMountPath: (value: string) => {
|
|
|
61
61
|
export declare const validateYAML: (yamlString: string, isRequired?: boolean) => ValidationResponseType;
|
|
62
62
|
export declare const validateEmail: (email: string) => ValidationResponseType;
|
|
63
63
|
export declare const getIsRegexValid: (regexString: string) => ValidationResponseType;
|
|
64
|
-
export declare const validateCronExpression: (
|
|
64
|
+
export declare const validateCronExpression: (cron: string) => ValidationResponseType;
|