@devtron-labs/devtron-fe-common-lib 0.3.22-beta-4 → 0.3.22-beta-6
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/RJSF/widgets/Select.d.ts +1 -1
- package/dist/Common/RJSF/widgets/index.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +10 -0
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +6 -0
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
- package/dist/Shared/Components/DatePicker/utils.d.ts +14 -0
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -3
- package/dist/{cssMode-u1cmJ4zm.js → cssMode-DC74mpyy.js} +1 -1
- package/dist/{freemarker2-Ba7_z3NP.js → freemarker2-DICr6qIU.js} +1 -1
- package/dist/{handlebars-BongD2Fe.js → handlebars-CBWQeKyY.js} +1 -1
- package/dist/{html-L4i7dDo2.js → html-Bfdjf1aI.js} +1 -1
- package/dist/{htmlMode-CAcOmXGE.js → htmlMode-Bce4Q6aS.js} +1 -1
- package/dist/{index-BMRImHwr.js → index-CwSt2WJr.js} +41302 -41122
- package/dist/index.js +426 -423
- package/dist/{javascript-Cl19kaFk.js → javascript-C2wEoQ7-.js} +1 -1
- package/dist/{jsonMode-7P2tGo39.js → jsonMode-DTj3JaMy.js} +1 -1
- package/dist/{liquid-5Vjq8xax.js → liquid-Be7ecPmd.js} +1 -1
- package/dist/{mdx-Dq9-1vak.js → mdx-BP_OPA1_.js} +1 -1
- package/dist/{python-CBQHFL3X.js → python-ng5HTVt2.js} +1 -1
- package/dist/{razor-7L9FMiEu.js → razor-CmoSmdIj.js} +1 -1
- package/dist/{tsMode-vBTWEN-k.js → tsMode-BVrLdcMc.js} +1 -1
- package/dist/{typescript-D2RLnFx2.js → typescript-CJY8BxL4.js} +1 -1
- package/dist/{xml-C5dRSVEg.js → xml-Dzi_mEbt.js} +1 -1
- package/dist/{yaml-BstuWXDP.js → yaml-7wkBuvOs.js} +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { WidgetProps } from '@rjsf/utils';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const Select: (props: WidgetProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Checkbox as CheckboxWidget } from './Checkbox';
|
|
2
|
-
export { SelectWidget } from './Select';
|
|
2
|
+
export { Select as SelectWidget } from './Select';
|
|
@@ -1 +1,11 @@
|
|
|
1
|
+
export declare const dropdownStyles: {
|
|
2
|
+
menu: (base: any) => any;
|
|
3
|
+
control: (base: any) => any;
|
|
4
|
+
singleValue: (base: any) => any;
|
|
5
|
+
option: (base: any, state: any) => any;
|
|
6
|
+
valueContainer: (base: any) => any;
|
|
7
|
+
indicatorsContainer: (base: any) => any;
|
|
8
|
+
dropdownIndicator: (styles: any) => any;
|
|
9
|
+
container: (base: any, state: any) => any;
|
|
10
|
+
};
|
|
1
11
|
export declare const Option: (props: any) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LogStageAccordionProps } from './types';
|
|
2
|
-
declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, stageIndex, isLoading, fullScreenView, }: LogStageAccordionProps) => JSX.Element;
|
|
2
|
+
declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, stageIndex, isLoading, fullScreenView, searchIndex, }: LogStageAccordionProps) => JSX.Element;
|
|
3
3
|
export default LogStageAccordion;
|
|
@@ -635,11 +635,17 @@ export interface LogStageAccordionProps extends StageDetailType, Pick<LogsRender
|
|
|
635
635
|
* A stage is loading if it is last in current stage list and event is not closed
|
|
636
636
|
*/
|
|
637
637
|
isLoading: boolean;
|
|
638
|
+
searchIndex: string;
|
|
638
639
|
}
|
|
639
640
|
export interface CreateMarkupReturnType {
|
|
640
641
|
__html: string;
|
|
641
642
|
isSearchKeyPresent: boolean;
|
|
642
643
|
}
|
|
644
|
+
export interface CreateMarkupPropsType {
|
|
645
|
+
log: string;
|
|
646
|
+
useCurrentSelectionColor?: boolean;
|
|
647
|
+
targetSearchKey?: string;
|
|
648
|
+
}
|
|
643
649
|
export type TriggerHistoryFilterCriteriaType = `${string}|${string}|${string}`[];
|
|
644
650
|
export declare const terminalStatus: Set<string>;
|
|
645
651
|
export declare const statusSet: Set<string>;
|
|
@@ -5,3 +5,4 @@ export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any,
|
|
|
5
5
|
export declare const renderIcon: (iconState: string) => JSX.Element;
|
|
6
6
|
export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
|
|
7
7
|
export declare const getTriggerStatusIcon: (triggerDetailStatus: string) => JSX.Element;
|
|
8
|
+
export declare const getLogSearchIndex: (stageIndex: number, lineNumberInsideStage: number) => string;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { OptionType } from '../../../Common';
|
|
2
|
+
export declare const getTimePickerStyles: () => {
|
|
3
|
+
container: (base: any) => any;
|
|
4
|
+
control: (base: any, state: any) => any;
|
|
5
|
+
menu: (base: any) => any;
|
|
6
|
+
singleValue: (base: any) => any;
|
|
7
|
+
placeholder: (base: any) => any;
|
|
8
|
+
option: (base: any, state: any) => any;
|
|
9
|
+
valueContainer: (base: any) => any;
|
|
10
|
+
dropdownIndicator: (base: any) => any;
|
|
11
|
+
};
|
|
2
12
|
/**
|
|
3
13
|
* Return the options for the dates in label and value format
|
|
4
14
|
*/
|
|
@@ -29,3 +39,7 @@ export declare const updateDate: (currentDateObj: Date, newDate: Date) => Date;
|
|
|
29
39
|
* @returns
|
|
30
40
|
*/
|
|
31
41
|
export declare const getDefaultDateFromTimeToLive: (timeToLive: string, isTomorrow?: boolean) => Date;
|
|
42
|
+
/**
|
|
43
|
+
* Clock icon for the time picker
|
|
44
|
+
*/
|
|
45
|
+
export declare const DropdownIndicatorTimePicker: (props: any) => JSX.Element;
|
|
@@ -134,5 +134,5 @@ import { SelectPickerProps } from './type';
|
|
|
134
134
|
* />
|
|
135
135
|
* ```
|
|
136
136
|
*/
|
|
137
|
-
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, renderMenuListFooter,
|
|
137
|
+
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, renderMenuListFooter, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
|
|
138
138
|
export default SelectPicker;
|
|
@@ -45,7 +45,7 @@ export declare enum SelectPickerVariantType {
|
|
|
45
45
|
DEFAULT = "default",
|
|
46
46
|
BORDER_LESS = "border-less"
|
|
47
47
|
}
|
|
48
|
-
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown'
|
|
48
|
+
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & {
|
|
49
49
|
/**
|
|
50
50
|
* Icon to be rendered in the control
|
|
51
51
|
*/
|
|
@@ -126,8 +126,6 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
|
|
|
126
126
|
* @default false
|
|
127
127
|
*/
|
|
128
128
|
fullWidth?: boolean;
|
|
129
|
-
isCreatableSingleSelect?: boolean;
|
|
130
|
-
menuIsOpen?: boolean;
|
|
131
129
|
/**
|
|
132
130
|
* If truthy, would show generic section error state as no options message
|
|
133
131
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Fe = Object.defineProperty;
|
|
2
2
|
var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as je } from "./index-
|
|
4
|
+
import { m as je } from "./index-CwSt2WJr.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as f } from "./index-
|
|
1
|
+
import { m as f } from "./index-CwSt2WJr.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-CwSt2WJr.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-CwSt2WJr.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Be = Object.defineProperty;
|
|
2
2
|
var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as qe } from "./index-
|
|
4
|
+
import { m as qe } from "./index-CwSt2WJr.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|