@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.97 → 0.0.1-alpha.99
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/openapi-k8s-toolkit.es.js +1123 -126
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +1122 -125
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/Annotations.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/EditModal.d.ts +19 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/styled.d.ts +23 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/types.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/utils.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/EditModal/EditModal.d.ts +3 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/Taints.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/EditModal.d.ts +19 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/styled.d.ts +23 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/types.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/utils.d.ts +9 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/Tolerations.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/EditModal.d.ts +19 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/styled.d.ts +23 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/types.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/utils.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +61 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Annotations';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC, CSSProperties } from 'react';
|
|
2
|
+
import { TStringNumberRecord } from '../../types';
|
|
3
|
+
type TEditModalProps = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
close: () => void;
|
|
6
|
+
values?: TStringNumberRecord;
|
|
7
|
+
openNotificationSuccess?: () => void;
|
|
8
|
+
modalTitle: string;
|
|
9
|
+
modalDescriptionText?: string;
|
|
10
|
+
inputLabel?: string;
|
|
11
|
+
endpoint: string;
|
|
12
|
+
pathToValue: string;
|
|
13
|
+
editModalWidth?: number | string;
|
|
14
|
+
cols: number[];
|
|
15
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
16
|
+
inputLabelStyle?: CSSProperties;
|
|
17
|
+
};
|
|
18
|
+
export declare const EditModal: FC<TEditModalProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditModal';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
3
|
+
prefixCls?: string | undefined;
|
|
4
|
+
name: string | number | (string | number)[];
|
|
5
|
+
rules?: import("rc-field-form/lib/interface").ValidatorRule[] | undefined;
|
|
6
|
+
initialValue?: any[] | undefined;
|
|
7
|
+
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
8
|
+
errors: import("react").ReactNode[];
|
|
9
|
+
warnings: import("react").ReactNode[];
|
|
10
|
+
}) => import("react").ReactNode;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const Styled: {
|
|
13
|
+
ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
14
|
+
prefixCls?: string | undefined;
|
|
15
|
+
name: string | number | (string | number)[];
|
|
16
|
+
rules?: import("rc-field-form/lib/interface").ValidatorRule[] | undefined;
|
|
17
|
+
initialValue?: any[] | undefined;
|
|
18
|
+
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
19
|
+
errors: import("react").ReactNode[];
|
|
20
|
+
warnings: import("react").ReactNode[];
|
|
21
|
+
}) => import("react").ReactNode;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditModal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TStringNumberRecord = Record<string, string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC, CSSProperties } from 'react';
|
|
2
2
|
type TEditModalProps = {
|
|
3
3
|
open: boolean;
|
|
4
4
|
close: () => void;
|
|
@@ -13,6 +13,8 @@ type TEditModalProps = {
|
|
|
13
13
|
pathToValue: string;
|
|
14
14
|
editModalWidth?: number | string;
|
|
15
15
|
paddingContainerEnd?: string;
|
|
16
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
17
|
+
inputLabelStyle?: CSSProperties;
|
|
16
18
|
};
|
|
17
19
|
export declare const EditModal: FC<TEditModalProps>;
|
|
18
20
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Taints';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC, CSSProperties } from 'react';
|
|
2
|
+
import { TTaintLike } from '../../types';
|
|
3
|
+
type TEditModalProps = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
close: () => void;
|
|
6
|
+
values?: TTaintLike[];
|
|
7
|
+
openNotificationSuccess?: () => void;
|
|
8
|
+
modalTitle: string;
|
|
9
|
+
modalDescriptionText?: string;
|
|
10
|
+
inputLabel?: string;
|
|
11
|
+
endpoint: string;
|
|
12
|
+
pathToValue: string;
|
|
13
|
+
editModalWidth?: number | string;
|
|
14
|
+
cols: number[];
|
|
15
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
16
|
+
inputLabelStyle?: CSSProperties;
|
|
17
|
+
};
|
|
18
|
+
export declare const EditModal: FC<TEditModalProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditModal';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
3
|
+
prefixCls?: string | undefined;
|
|
4
|
+
name: string | number | (string | number)[];
|
|
5
|
+
rules?: import("rc-field-form/lib/interface").ValidatorRule[] | undefined;
|
|
6
|
+
initialValue?: any[] | undefined;
|
|
7
|
+
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
8
|
+
errors: import("react").ReactNode[];
|
|
9
|
+
warnings: import("react").ReactNode[];
|
|
10
|
+
}) => import("react").ReactNode;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const Styled: {
|
|
13
|
+
ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
14
|
+
prefixCls?: string | undefined;
|
|
15
|
+
name: string | number | (string | number)[];
|
|
16
|
+
rules?: import("rc-field-form/lib/interface").ValidatorRule[] | undefined;
|
|
17
|
+
initialValue?: any[] | undefined;
|
|
18
|
+
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
19
|
+
errors: import("react").ReactNode[];
|
|
20
|
+
warnings: import("react").ReactNode[];
|
|
21
|
+
}) => import("react").ReactNode;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditModal';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TTaintLike } from './types';
|
|
2
|
+
export declare const isTaintLike: (x: unknown) => x is TTaintLike;
|
|
3
|
+
/** Filters any unknown value to an array of valid {key?, value?, effect} objects */
|
|
4
|
+
export declare const filterTaintLikes: (input: unknown) => TTaintLike[];
|
|
5
|
+
export declare const getItemsInside: (value: any[]) => {
|
|
6
|
+
counter?: number;
|
|
7
|
+
taints?: TTaintLike[];
|
|
8
|
+
error?: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tolerations';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC, CSSProperties } from 'react';
|
|
2
|
+
import { TToleration } from '../../types';
|
|
3
|
+
type TEditModalProps = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
close: () => void;
|
|
6
|
+
values?: TToleration[];
|
|
7
|
+
openNotificationSuccess?: () => void;
|
|
8
|
+
modalTitle: string;
|
|
9
|
+
modalDescriptionText?: string;
|
|
10
|
+
inputLabel?: string;
|
|
11
|
+
endpoint: string;
|
|
12
|
+
pathToValue: string;
|
|
13
|
+
editModalWidth?: number | string;
|
|
14
|
+
cols: number[];
|
|
15
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
16
|
+
inputLabelStyle?: CSSProperties;
|
|
17
|
+
};
|
|
18
|
+
export declare const EditModal: FC<TEditModalProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditModal';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
3
|
+
prefixCls?: string | undefined;
|
|
4
|
+
name: string | number | (string | number)[];
|
|
5
|
+
rules?: import("rc-field-form/lib/interface").ValidatorRule[] | undefined;
|
|
6
|
+
initialValue?: any[] | undefined;
|
|
7
|
+
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
8
|
+
errors: import("react").ReactNode[];
|
|
9
|
+
warnings: import("react").ReactNode[];
|
|
10
|
+
}) => import("react").ReactNode;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const Styled: {
|
|
13
|
+
ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
14
|
+
prefixCls?: string | undefined;
|
|
15
|
+
name: string | number | (string | number)[];
|
|
16
|
+
rules?: import("rc-field-form/lib/interface").ValidatorRule[] | undefined;
|
|
17
|
+
initialValue?: any[] | undefined;
|
|
18
|
+
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
19
|
+
errors: import("react").ReactNode[];
|
|
20
|
+
warnings: import("react").ReactNode[];
|
|
21
|
+
}) => import("react").ReactNode;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditModal';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TToleration } from './types';
|
|
2
|
+
export declare const isToleration: (x: unknown) => x is TToleration;
|
|
3
|
+
export declare const filterTolerations: (input: unknown) => TToleration[];
|
|
4
|
+
export declare const getItemsInside: (value: any[]) => {
|
|
5
|
+
counter?: number;
|
|
6
|
+
tolerations?: TToleration[];
|
|
7
|
+
error?: string;
|
|
8
|
+
};
|
|
@@ -182,7 +182,9 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
182
182
|
notificationSuccessMessageDescription?: string;
|
|
183
183
|
modalTitle?: string;
|
|
184
184
|
modalDescriptionText?: string;
|
|
185
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
185
186
|
inputLabel?: string;
|
|
187
|
+
inputLabelStyle?: CSSProperties;
|
|
186
188
|
containerStyle?: CSSProperties;
|
|
187
189
|
maxEditTagTextLength?: number;
|
|
188
190
|
allowClearEditSelect?: boolean;
|
|
@@ -196,5 +198,64 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
196
198
|
reqIndex: string;
|
|
197
199
|
jsonPathToLabels: string;
|
|
198
200
|
linkPrefix: string;
|
|
201
|
+
errorText: string;
|
|
199
202
|
} & Omit<LinkProps, 'id' | 'children' | 'href'>;
|
|
203
|
+
Taints: {
|
|
204
|
+
id: number | string;
|
|
205
|
+
reqIndex: string;
|
|
206
|
+
jsonPathToArray: string;
|
|
207
|
+
text: string;
|
|
208
|
+
errorText: string;
|
|
209
|
+
style?: CSSProperties;
|
|
210
|
+
notificationSuccessMessage?: string;
|
|
211
|
+
notificationSuccessMessageDescription?: string;
|
|
212
|
+
modalTitle?: string;
|
|
213
|
+
modalDescriptionText?: string;
|
|
214
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
215
|
+
inputLabel?: string;
|
|
216
|
+
inputLabelStyle?: CSSProperties;
|
|
217
|
+
containerStyle?: CSSProperties;
|
|
218
|
+
endpoint?: string;
|
|
219
|
+
pathToValue?: string;
|
|
220
|
+
editModalWidth?: number | string;
|
|
221
|
+
cols: number[];
|
|
222
|
+
};
|
|
223
|
+
Tolerations: {
|
|
224
|
+
id: number | string;
|
|
225
|
+
reqIndex: string;
|
|
226
|
+
jsonPathToArray: string;
|
|
227
|
+
text: string;
|
|
228
|
+
errorText: string;
|
|
229
|
+
containerStyle?: CSSProperties;
|
|
230
|
+
notificationSuccessMessage?: string;
|
|
231
|
+
notificationSuccessMessageDescription?: string;
|
|
232
|
+
modalTitle?: string;
|
|
233
|
+
modalDescriptionText?: string;
|
|
234
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
235
|
+
inputLabel?: string;
|
|
236
|
+
inputLabelStyle?: CSSProperties;
|
|
237
|
+
endpoint?: string;
|
|
238
|
+
pathToValue?: string;
|
|
239
|
+
editModalWidth?: number | string;
|
|
240
|
+
cols: number[];
|
|
241
|
+
};
|
|
242
|
+
Annotations: {
|
|
243
|
+
id: number | string;
|
|
244
|
+
reqIndex: string;
|
|
245
|
+
jsonPathToObj: string;
|
|
246
|
+
text: string;
|
|
247
|
+
errorText: string;
|
|
248
|
+
containerStyle?: CSSProperties;
|
|
249
|
+
notificationSuccessMessage?: string;
|
|
250
|
+
notificationSuccessMessageDescription?: string;
|
|
251
|
+
modalTitle?: string;
|
|
252
|
+
modalDescriptionText?: string;
|
|
253
|
+
modalDescriptionTextStyle?: CSSProperties;
|
|
254
|
+
inputLabel?: string;
|
|
255
|
+
inputLabelStyle?: CSSProperties;
|
|
256
|
+
endpoint?: string;
|
|
257
|
+
pathToValue?: string;
|
|
258
|
+
editModalWidth?: number | string;
|
|
259
|
+
cols: number[];
|
|
260
|
+
};
|
|
200
261
|
};
|
package/package.json
CHANGED