@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.98 → 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.
Files changed (18) hide show
  1. package/dist/openapi-k8s-toolkit.es.js +462 -156
  2. package/dist/openapi-k8s-toolkit.es.js.map +1 -1
  3. package/dist/openapi-k8s-toolkit.umd.js +462 -156
  4. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  5. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/Annotations.d.ts +6 -0
  6. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/index.d.ts +1 -0
  7. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/EditModal.d.ts +19 -0
  8. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/index.d.ts +1 -0
  9. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/styled.d.ts +23 -0
  10. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/index.d.ts +1 -0
  11. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/types.d.ts +1 -0
  12. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/utils.d.ts +6 -0
  13. package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/EditModal/EditModal.d.ts +3 -1
  14. package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/EditModal.d.ts +3 -1
  15. package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/EditModal.d.ts +3 -1
  16. package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +1 -0
  17. package/dist/types/components/organisms/DynamicComponents/types.d.ts +26 -0
  18. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import { TDynamicComponentsAppTypeMap } from '../../types';
3
+ export declare const Annotations: FC<{
4
+ data: TDynamicComponentsAppTypeMap['Annotations'];
5
+ children?: any;
6
+ }>;
@@ -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,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
+ };
@@ -0,0 +1 @@
1
+ export type TStringNumberRecord = Record<string, string>;
@@ -0,0 +1,6 @@
1
+ import { TStringNumberRecord } from './types';
2
+ export declare const getItemsInside: (value: any[]) => {
3
+ counter?: number;
4
+ annotations?: TStringNumberRecord;
5
+ error?: string;
6
+ };
@@ -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 {};
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { FC, CSSProperties } from 'react';
2
2
  import { TTaintLike } from '../../types';
3
3
  type TEditModalProps = {
4
4
  open: boolean;
@@ -12,6 +12,8 @@ type TEditModalProps = {
12
12
  pathToValue: string;
13
13
  editModalWidth?: number | string;
14
14
  cols: number[];
15
+ modalDescriptionTextStyle?: CSSProperties;
16
+ inputLabelStyle?: CSSProperties;
15
17
  };
16
18
  export declare const EditModal: FC<TEditModalProps>;
17
19
  export {};
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { FC, CSSProperties } from 'react';
2
2
  import { TToleration } from '../../types';
3
3
  type TEditModalProps = {
4
4
  open: boolean;
@@ -12,6 +12,8 @@ type TEditModalProps = {
12
12
  pathToValue: string;
13
13
  editModalWidth?: number | string;
14
14
  cols: number[];
15
+ modalDescriptionTextStyle?: CSSProperties;
16
+ inputLabelStyle?: CSSProperties;
15
17
  };
16
18
  export declare const EditModal: FC<TEditModalProps>;
17
19
  export {};
@@ -29,3 +29,4 @@ export * from './Labels';
29
29
  export * from './LabelsToSearchParams';
30
30
  export * from './Taints';
31
31
  export * from './Tolerations';
32
+ export * from './Annotations';
@@ -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,6 +198,7 @@ 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'>;
200
203
  Taints: {
201
204
  id: number | string;
@@ -208,7 +211,9 @@ export type TDynamicComponentsAppTypeMap = {
208
211
  notificationSuccessMessageDescription?: string;
209
212
  modalTitle?: string;
210
213
  modalDescriptionText?: string;
214
+ modalDescriptionTextStyle?: CSSProperties;
211
215
  inputLabel?: string;
216
+ inputLabelStyle?: CSSProperties;
212
217
  containerStyle?: CSSProperties;
213
218
  endpoint?: string;
214
219
  pathToValue?: string;
@@ -226,7 +231,28 @@ export type TDynamicComponentsAppTypeMap = {
226
231
  notificationSuccessMessageDescription?: string;
227
232
  modalTitle?: string;
228
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;
229
254
  inputLabel?: string;
255
+ inputLabelStyle?: CSSProperties;
230
256
  endpoint?: string;
231
257
  pathToValue?: string;
232
258
  editModalWidth?: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prorobotech/openapi-k8s-toolkit",
3
- "version": "0.0.1-alpha.98",
3
+ "version": "0.0.1-alpha.99",
4
4
  "description": "ProRobotech OpenAPI k8s tools",
5
5
  "main": "dist/openapi-k8s-toolkit.cjs.js",
6
6
  "module": "dist/openapi-k8s-toolkit.es.js",