@devtron-labs/devtron-fe-common-lib 0.1.3-beta-4 → 0.1.4
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/AppStatus/constants.d.ts +0 -5
- package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/types.d.ts +2 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +22 -0
- package/dist/Shared/constants.d.ts +0 -24
- package/dist/Shared/types.d.ts +1 -8
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-fcc60ae9.js → cssMode-4f13da3b.js} +1 -1
- package/dist/{freemarker2-7491da88.js → freemarker2-477786ae.js} +1 -1
- package/dist/{handlebars-dc7630c9.js → handlebars-9b46ae89.js} +1 -1
- package/dist/{html-4fbb17ab.js → html-181d1c87.js} +1 -1
- package/dist/{htmlMode-e378c3c0.js → htmlMode-2212155a.js} +1 -1
- package/dist/{index-e1ef4377.js → index-8cee3056.js} +7088 -7089
- package/dist/index.d.ts +0 -1
- package/dist/index.js +425 -426
- package/dist/{javascript-2ff0a654.js → javascript-cd7fe914.js} +1 -1
- package/dist/{jsonMode-af3e1bc3.js → jsonMode-48d259e7.js} +1 -1
- package/dist/{liquid-7b4f5687.js → liquid-547f0afe.js} +1 -1
- package/dist/{mdx-16562f9f.js → mdx-1f0f1e2a.js} +1 -1
- package/dist/{python-9f2b0842.js → python-272cb4eb.js} +1 -1
- package/dist/{razor-e9fd1b25.js → razor-95131369.js} +1 -1
- package/dist/{tsMode-c2d1357a.js → tsMode-97b1840c.js} +1 -1
- package/dist/{typescript-11b1a103.js → typescript-9459bf6f.js} +1 -1
- package/dist/{xml-20bcc243.js → xml-83dbc374.js} +1 -1
- package/dist/{yaml-60b03f72.js → yaml-8ba3f398.js} +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DateTimePickerProps } from './types';
|
|
2
2
|
|
|
3
|
-
declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, isTodayBlocked, dataTestIdForTime, dataTestidForDate, }: DateTimePickerProps) => JSX.Element;
|
|
3
|
+
declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, isTodayBlocked, dataTestIdForTime, dataTestidForDate, openDirection, error, }: DateTimePickerProps) => JSX.Element;
|
|
4
4
|
export default DateTimePicker;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Moment } from 'moment';
|
|
2
2
|
import { SelectInstance } from 'react-select';
|
|
3
|
+
import { SingleDatePickerShape } from 'react-dates';
|
|
3
4
|
import { OptionType } from '../../../Common';
|
|
4
5
|
|
|
5
6
|
export interface SingleDatePickerProps {
|
|
@@ -80,7 +81,7 @@ export interface TimeSelectProps {
|
|
|
80
81
|
*/
|
|
81
82
|
selectedTimeOption: OptionType;
|
|
82
83
|
}
|
|
83
|
-
export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'onChange' | 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'> {
|
|
84
|
+
export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'onChange' | 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'>, Pick<SingleDatePickerShape, 'openDirection'> {
|
|
84
85
|
/**
|
|
85
86
|
* Props for the date picker
|
|
86
87
|
*/
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const AppListConstants: {
|
|
2
|
+
SAMPLE_NODE_REPO_URL: string;
|
|
3
|
+
CREATE_DEVTRON_APP_URL: string;
|
|
4
|
+
AppTabs: {
|
|
5
|
+
DEVTRON_APPS: string;
|
|
6
|
+
HELM_APPS: string;
|
|
7
|
+
ARGO_APPS: string;
|
|
8
|
+
};
|
|
9
|
+
AppType: {
|
|
10
|
+
DEVTRON_APPS: string;
|
|
11
|
+
HELM_APPS: string;
|
|
12
|
+
ARGO_APPS: string;
|
|
13
|
+
};
|
|
14
|
+
FilterType: {
|
|
15
|
+
PROJECT: string;
|
|
16
|
+
CLUTSER: string;
|
|
17
|
+
NAMESPACE: string;
|
|
18
|
+
ENVIRONMENT: string;
|
|
19
|
+
APP_STATUS: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default AppListConstants;
|
|
@@ -348,27 +348,3 @@ export declare const statusColor: {
|
|
|
348
348
|
};
|
|
349
349
|
export declare const APP_STATUS_HEADERS: string[];
|
|
350
350
|
export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
|
|
351
|
-
export declare const AppListConstants: {
|
|
352
|
-
SAMPLE_NODE_REPO_URL: string;
|
|
353
|
-
CREATE_DEVTRON_APP_URL: string;
|
|
354
|
-
AppTabs: {
|
|
355
|
-
DEVTRON_APPS: string;
|
|
356
|
-
HELM_APPS: string;
|
|
357
|
-
ARGO_APPS: string;
|
|
358
|
-
FLUX_APPS: string;
|
|
359
|
-
};
|
|
360
|
-
AppType: {
|
|
361
|
-
DEVTRON_APPS: string;
|
|
362
|
-
HELM_APPS: string;
|
|
363
|
-
ARGO_APPS: string;
|
|
364
|
-
FLUX_APPS: string;
|
|
365
|
-
};
|
|
366
|
-
FilterType: {
|
|
367
|
-
PROJECT: string;
|
|
368
|
-
CLUTSER: string;
|
|
369
|
-
NAMESPACE: string;
|
|
370
|
-
ENVIRONMENT: string;
|
|
371
|
-
APP_STATUS: string;
|
|
372
|
-
TEMPLATE_TYPE: string;
|
|
373
|
-
};
|
|
374
|
-
};
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -124,8 +124,7 @@ export declare enum AppType {
|
|
|
124
124
|
DEVTRON_APP = "devtron_app",
|
|
125
125
|
DEVTRON_HELM_CHART = "devtron_helm_chart",
|
|
126
126
|
EXTERNAL_HELM_CHART = "external_helm_chart",
|
|
127
|
-
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
128
|
-
EXTERNAL_FLUX_APP = "external_flux_app"
|
|
127
|
+
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
129
128
|
}
|
|
130
129
|
export interface HelmReleaseStatus {
|
|
131
130
|
status: string;
|
|
@@ -141,11 +140,6 @@ interface MaterialInfo {
|
|
|
141
140
|
url: string;
|
|
142
141
|
webhookData: string;
|
|
143
142
|
}
|
|
144
|
-
export interface FluxAppStatusDetail {
|
|
145
|
-
status: string;
|
|
146
|
-
message: string;
|
|
147
|
-
reason: string;
|
|
148
|
-
}
|
|
149
143
|
export interface AppDetails {
|
|
150
144
|
appId?: number;
|
|
151
145
|
appName: string;
|
|
@@ -187,7 +181,6 @@ export interface AppDetails {
|
|
|
187
181
|
helmPackageName?: string;
|
|
188
182
|
appStatus?: string;
|
|
189
183
|
chartAvatar?: string;
|
|
190
|
-
FluxAppStatusDetail?: FluxAppStatusDetail;
|
|
191
184
|
}
|
|
192
185
|
export declare enum RegistryType {
|
|
193
186
|
GIT = "git",
|