@prorobotech/openapi-k8s-toolkit 1.5.0-alpha.10 → 1.5.0-alpha.11
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/{index-DdLZFpsh.mjs → index-BPDbJet7.mjs} +2 -2
- package/dist/{index-DdLZFpsh.mjs.map → index-BPDbJet7.mjs.map} +1 -1
- package/dist/{index-d03WWr4w.mjs → index-C1Lorapd.mjs} +183 -108
- package/dist/{index-d03WWr4w.mjs.map → index-C1Lorapd.mjs.map} +1 -1
- package/dist/openapi-k8s-toolkit.es.js +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +180 -105
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/atoms/CursorPointerTag/CursorPointerTag.d.ts +33 -7
- package/dist/types/components/atoms/CursorPointerTagMinContent/CursorPointerTagMinContent.d.ts +33 -7
- package/dist/types/components/atoms/CustomSelect/styled.d.ts +1 -1
- package/dist/types/components/atoms/UncontrolledSelect/styled.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/ResetedFormItem.d.ts +5 -6
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/styled.d.ts +2 -2
- package/dist/types/components/molecules/EnrichedTable/organisms/ClusterListTable/ClusterListTable.d.ts +3 -3
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +3 -3
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TinyButton/TinyButton.d.ts +26 -8
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TrimmedTags/styled.d.ts +69 -16
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/types.d.ts +4 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +3 -3
- package/dist/types/components/molecules/MarketPlace/atoms/AddCard/styled.d.ts +40 -4
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/styled.d.ts +33 -7
- package/dist/types/components/molecules/Search/styled.d.ts +71 -20
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/styled.d.ts +26 -8
- package/dist/types/components/organisms/DynamicComponents/atoms/modals/AnnotationsEditModal/styled.d.ts +2 -2
- package/dist/types/components/organisms/DynamicComponents/atoms/modals/TaintsEditModal/styled.d.ts +2 -2
- package/dist/types/components/organisms/DynamicComponents/atoms/modals/TolerationsEditModal/styled.d.ts +2 -2
- package/dist/types/components/organisms/DynamicComponents/atoms/modals/gridColsValidation.d.ts +30 -0
- package/dist/types/components/organisms/DynamicComponents/atoms/modals/gridColsValidation.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/styled.d.ts +26 -8
- package/dist/types/components/organisms/DynamicComponents/molecules/DropdownRedirect/styled.d.ts +106 -33
- package/package.json +5 -5
|
@@ -4,17 +4,43 @@ export declare const CursorPointerTag: import("styled-components").IStyledCompon
|
|
|
4
4
|
prefixCls?: string | undefined;
|
|
5
5
|
className?: string | undefined;
|
|
6
6
|
rootClassName?: string | undefined;
|
|
7
|
-
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
disabled?: boolean | undefined;
|
|
11
|
-
} & import("react").AriaAttributes) | undefined;
|
|
7
|
+
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
|
|
8
|
+
variant?: "solid" | "filled" | "outlined" | undefined;
|
|
9
|
+
closable?: import("antd/es/_util/hooks").ClosableType;
|
|
12
10
|
closeIcon?: import("react").ReactNode;
|
|
13
|
-
visible?: boolean | undefined;
|
|
14
11
|
onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
15
12
|
style?: import("react").CSSProperties | undefined;
|
|
16
13
|
icon?: import("react").ReactNode;
|
|
17
14
|
bordered?: boolean | undefined;
|
|
15
|
+
href?: string | undefined;
|
|
16
|
+
target?: string | undefined;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
18
|
+
classNames?: ((info: {
|
|
19
|
+
props: import("antd").TagProps;
|
|
20
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
21
|
+
root?: string | undefined;
|
|
22
|
+
icon?: string | undefined;
|
|
23
|
+
content?: string | undefined;
|
|
24
|
+
close?: string | undefined;
|
|
25
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
26
|
+
root?: string | undefined;
|
|
27
|
+
icon?: string | undefined;
|
|
28
|
+
content?: string | undefined;
|
|
29
|
+
close?: string | undefined;
|
|
30
|
+
} | undefined>;
|
|
31
|
+
styles?: ((info: {
|
|
32
|
+
props: import("antd").TagProps;
|
|
33
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
34
|
+
root?: import("react").CSSProperties | undefined;
|
|
35
|
+
icon?: import("react").CSSProperties | undefined;
|
|
36
|
+
content?: import("react").CSSProperties | undefined;
|
|
37
|
+
close?: import("react").CSSProperties | undefined;
|
|
38
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
39
|
+
root?: import("react").CSSProperties | undefined;
|
|
40
|
+
icon?: import("react").CSSProperties | undefined;
|
|
41
|
+
content?: import("react").CSSProperties | undefined;
|
|
42
|
+
close?: import("react").CSSProperties | undefined;
|
|
43
|
+
} | undefined>;
|
|
18
44
|
defaultChecked?: boolean | undefined;
|
|
19
45
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
20
46
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -280,6 +306,6 @@ export declare const CursorPointerTag: import("styled-components").IStyledCompon
|
|
|
280
306
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
281
307
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
282
308
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
283
|
-
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
309
|
+
ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
|
|
284
310
|
key?: import("react").Key | null | undefined;
|
|
285
311
|
}>;
|
package/dist/types/components/atoms/CursorPointerTagMinContent/CursorPointerTagMinContent.d.ts
CHANGED
|
@@ -4,17 +4,43 @@ export declare const CursorPointerTagMinContent: import("styled-components").ISt
|
|
|
4
4
|
prefixCls?: string | undefined;
|
|
5
5
|
className?: string | undefined;
|
|
6
6
|
rootClassName?: string | undefined;
|
|
7
|
-
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
disabled?: boolean | undefined;
|
|
11
|
-
} & import("react").AriaAttributes) | undefined;
|
|
7
|
+
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
|
|
8
|
+
variant?: "solid" | "filled" | "outlined" | undefined;
|
|
9
|
+
closable?: import("antd/es/_util/hooks").ClosableType;
|
|
12
10
|
closeIcon?: import("react").ReactNode;
|
|
13
|
-
visible?: boolean | undefined;
|
|
14
11
|
onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
15
12
|
style?: import("react").CSSProperties | undefined;
|
|
16
13
|
icon?: import("react").ReactNode;
|
|
17
14
|
bordered?: boolean | undefined;
|
|
15
|
+
href?: string | undefined;
|
|
16
|
+
target?: string | undefined;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
18
|
+
classNames?: ((info: {
|
|
19
|
+
props: import("antd").TagProps;
|
|
20
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
21
|
+
root?: string | undefined;
|
|
22
|
+
icon?: string | undefined;
|
|
23
|
+
content?: string | undefined;
|
|
24
|
+
close?: string | undefined;
|
|
25
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
26
|
+
root?: string | undefined;
|
|
27
|
+
icon?: string | undefined;
|
|
28
|
+
content?: string | undefined;
|
|
29
|
+
close?: string | undefined;
|
|
30
|
+
} | undefined>;
|
|
31
|
+
styles?: ((info: {
|
|
32
|
+
props: import("antd").TagProps;
|
|
33
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
34
|
+
root?: import("react").CSSProperties | undefined;
|
|
35
|
+
icon?: import("react").CSSProperties | undefined;
|
|
36
|
+
content?: import("react").CSSProperties | undefined;
|
|
37
|
+
close?: import("react").CSSProperties | undefined;
|
|
38
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
39
|
+
root?: import("react").CSSProperties | undefined;
|
|
40
|
+
icon?: import("react").CSSProperties | undefined;
|
|
41
|
+
content?: import("react").CSSProperties | undefined;
|
|
42
|
+
close?: import("react").CSSProperties | undefined;
|
|
43
|
+
} | undefined>;
|
|
18
44
|
defaultChecked?: boolean | undefined;
|
|
19
45
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
20
46
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -280,6 +306,6 @@ export declare const CursorPointerTagMinContent: import("styled-components").ISt
|
|
|
280
306
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
281
307
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
282
308
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
283
|
-
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
309
|
+
ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
|
|
284
310
|
key?: import("react").Key | null | undefined;
|
|
285
311
|
}>;
|
|
@@ -3,7 +3,7 @@ type TCustomSelectProps = {
|
|
|
3
3
|
$paddingContainerEnd?: string;
|
|
4
4
|
};
|
|
5
5
|
export declare const Styled: {
|
|
6
|
-
CustomSelect: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("antd").SelectProps<unknown, import("
|
|
6
|
+
CustomSelect: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("antd").SelectProps<unknown, import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType> & {
|
|
7
7
|
children?: import("react").ReactNode;
|
|
8
8
|
} & import("react").RefAttributes<import("antd").RefSelectProps>, TCustomSelectProps>>;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ type TUncontrolledSelectProps = {
|
|
|
3
3
|
$isCursorPointer?: boolean;
|
|
4
4
|
};
|
|
5
5
|
export declare const Styled: {
|
|
6
|
-
UncontrolledSelect: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("antd").SelectProps<unknown, import("
|
|
6
|
+
UncontrolledSelect: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("antd").SelectProps<unknown, import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType> & {
|
|
7
7
|
children?: import("react").ReactNode;
|
|
8
8
|
} & import("react").RefAttributes<import("antd").RefSelectProps>, TUncontrolledSelectProps>>;
|
|
9
9
|
};
|
package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/ResetedFormItem.d.ts
CHANGED
|
@@ -15,11 +15,10 @@ export declare const ResetedFormItem: import("styled-components").IStyledCompone
|
|
|
15
15
|
hidden?: boolean | undefined;
|
|
16
16
|
initialValue?: any;
|
|
17
17
|
messageVariables?: Record<string, string> | undefined;
|
|
18
|
-
tooltip?: import("antd/es/form/FormItemLabel").LabelTooltipType;
|
|
19
|
-
fieldKey?: import("react").Key | import("react").Key[] | undefined;
|
|
20
18
|
layout?: import("antd/es/form/Form").FormItemLayout | undefined;
|
|
21
19
|
label?: import("react").ReactNode;
|
|
22
20
|
htmlFor?: string | undefined;
|
|
21
|
+
tooltip?: import("antd/es/form/FormItemLabel").FormItemTooltipType;
|
|
23
22
|
vertical?: boolean | undefined;
|
|
24
23
|
colon?: boolean | undefined;
|
|
25
24
|
labelAlign?: import("antd/es/form/interface").FormLabelAlign | undefined;
|
|
@@ -31,19 +30,19 @@ export declare const ResetedFormItem: import("styled-components").IStyledCompone
|
|
|
31
30
|
fieldId?: string | undefined;
|
|
32
31
|
onReset?: (() => void) | undefined;
|
|
33
32
|
name?: unknown;
|
|
34
|
-
normalize?: ((value: any, prevValue: any, allValues: import("rc-
|
|
33
|
+
normalize?: ((value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any) | undefined;
|
|
35
34
|
rules?: import("antd").FormRule[] | undefined;
|
|
36
35
|
preserve?: boolean | undefined;
|
|
37
36
|
trigger?: string | undefined;
|
|
38
37
|
dependencies?: any[] | undefined;
|
|
39
|
-
getValueFromEvent?: ((...args: import("rc-
|
|
40
|
-
shouldUpdate?: import("rc-
|
|
38
|
+
getValueFromEvent?: ((...args: import("@rc-component/form/lib/interface").EventArgs) => any) | undefined;
|
|
39
|
+
shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<unknown> | undefined;
|
|
41
40
|
validateTrigger?: string | false | string[] | undefined;
|
|
42
41
|
validateDebounce?: number | undefined;
|
|
43
42
|
validateFirst?: boolean | "parallel" | undefined;
|
|
44
43
|
valuePropName?: string | undefined;
|
|
45
44
|
getValueProps?: ((value: any) => Record<string, unknown>) | undefined;
|
|
46
|
-
onMetaChange?: ((meta: import("rc-
|
|
45
|
+
onMetaChange?: ((meta: import("@rc-component/form/lib/Field").MetaEvent) => void) | undefined;
|
|
47
46
|
isListField?: boolean | undefined;
|
|
48
47
|
isList?: boolean | undefined;
|
|
49
48
|
}>;
|
|
@@ -7,7 +7,7 @@ type TContainerProps = {
|
|
|
7
7
|
export declare const ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
8
8
|
prefixCls?: string | undefined;
|
|
9
9
|
name: string | number | (string | number)[];
|
|
10
|
-
rules?: import("rc-
|
|
10
|
+
rules?: import("@rc-component/form/lib/interface").ValidatorRule[] | undefined;
|
|
11
11
|
initialValue?: any[] | undefined;
|
|
12
12
|
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
13
13
|
errors: import("react").ReactNode[];
|
|
@@ -25,7 +25,7 @@ export declare const Styled: {
|
|
|
25
25
|
ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
26
26
|
prefixCls?: string | undefined;
|
|
27
27
|
name: string | number | (string | number)[];
|
|
28
|
-
rules?: import("rc-
|
|
28
|
+
rules?: import("@rc-component/form/lib/interface").ValidatorRule[] | undefined;
|
|
29
29
|
initialValue?: any[] | undefined;
|
|
30
30
|
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
31
31
|
errors: import("react").ReactNode[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableProps, TablePaginationConfig } from 'antd';
|
|
2
|
-
import {
|
|
3
|
-
export type TClusterListTableProps<T extends
|
|
2
|
+
import { TTableRecord } from '../EnrichedTable/types';
|
|
3
|
+
export type TClusterListTableProps<T extends TTableRecord = TTableRecord> = {
|
|
4
4
|
theme: 'light' | 'dark';
|
|
5
5
|
dataSource: TableProps<T>['dataSource'];
|
|
6
6
|
columns: TableProps<T>['columns'];
|
|
@@ -25,4 +25,4 @@ export type TClusterListTableProps<T extends AnyObject = AnyObject> = {
|
|
|
25
25
|
disablePagination?: boolean;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export declare const ClusterListTable: <T extends
|
|
28
|
+
export declare const ClusterListTable: <T extends TTableRecord = TTableRecord>({ theme, dataSource, columns, pathToNavigate, recordKeysForNavigation, rowClassName, onRow, rowClickable, navigationSettings, tableProps, }: TClusterListTableProps<T>) => import("react/jsx-runtime").JSX.Element | null;
|
package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { TableProps, TablePaginationConfig } from 'antd';
|
|
3
|
-
import { AnyObject } from 'antd/es/_util/type';
|
|
4
3
|
import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsCustomSortersAndFilters, TAdditionalPrinterColumnsTooltips } from '../../../../../localTypes/richTable';
|
|
5
|
-
|
|
4
|
+
import { TTableRecord } from './types';
|
|
5
|
+
export type TEnrichedTableProps<T extends TTableRecord = TTableRecord> = {
|
|
6
6
|
theme: 'light' | 'dark';
|
|
7
7
|
baseprefix?: string;
|
|
8
8
|
dataSource: TableProps<T>['dataSource'];
|
|
@@ -41,4 +41,4 @@ export type TEnrichedTableProps<T extends AnyObject = AnyObject> = {
|
|
|
41
41
|
loadingMinHeight?: number | string;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
-
export declare const EnrichedTable: <T extends
|
|
44
|
+
export declare const EnrichedTable: <T extends TTableRecord = TTableRecord>({ theme, baseprefix, dataSource, columns, pathToNavigate, recordKeysForNavigation, recordKeysForNavigationSecond, recordKeysForNavigationThird, additionalPrinterColumnsUndefinedValues, additionalPrinterColumnsTrimLengths, additionalPrinterColumnsColWidths, additionalPrinterColumnsTooltips, additionalPrinterColumnsKeyTypeProps, additionalPrinterColumnsCustomSortersAndFilters, selectData, withoutControls, rowClassName, onRow, rowClickable, tableProps, }: TEnrichedTableProps<T>) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -7,10 +7,11 @@ export declare const TinyButton: import("styled-components").IStyledComponent<"w
|
|
|
7
7
|
autoInsertSpace?: boolean | undefined;
|
|
8
8
|
type?: "link" | "text" | "default" | "dashed" | "primary" | undefined;
|
|
9
9
|
color?: "default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "danger" | "volcano" | "geekblue" | "primary" | undefined;
|
|
10
|
-
variant?: "link" | "text" | "
|
|
10
|
+
variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined" | undefined;
|
|
11
11
|
icon?: import("react").ReactNode;
|
|
12
12
|
iconPosition?: "end" | "start" | undefined;
|
|
13
|
-
|
|
13
|
+
iconPlacement?: "end" | "start" | undefined;
|
|
14
|
+
shape?: "circle" | "default" | "round" | "square" | undefined;
|
|
14
15
|
size?: import("antd/es/button").ButtonSize;
|
|
15
16
|
disabled?: boolean | undefined;
|
|
16
17
|
loading?: boolean | {
|
|
@@ -24,12 +25,29 @@ export declare const TinyButton: import("styled-components").IStyledComponent<"w
|
|
|
24
25
|
danger?: boolean | undefined;
|
|
25
26
|
block?: boolean | undefined;
|
|
26
27
|
children?: import("react").ReactNode;
|
|
27
|
-
classNames?: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
classNames?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
29
|
+
root?: string | undefined;
|
|
30
|
+
icon?: string | undefined;
|
|
31
|
+
content?: string | undefined;
|
|
32
|
+
} | undefined> | ((info: {
|
|
33
|
+
props: import("antd/es/button/Button").BaseButtonProps;
|
|
34
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
35
|
+
root?: string | undefined;
|
|
36
|
+
icon?: string | undefined;
|
|
37
|
+
content?: string | undefined;
|
|
38
|
+
} | undefined>);
|
|
39
|
+
styles?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
40
|
+
root?: import("react").CSSProperties | undefined;
|
|
41
|
+
icon?: import("react").CSSProperties | undefined;
|
|
42
|
+
content?: import("react").CSSProperties | undefined;
|
|
43
|
+
} | undefined> | ((info: {
|
|
44
|
+
props: import("antd/es/button/Button").BaseButtonProps;
|
|
45
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
46
|
+
root?: import("react").CSSProperties | undefined;
|
|
47
|
+
icon?: import("react").CSSProperties | undefined;
|
|
48
|
+
content?: import("react").CSSProperties | undefined;
|
|
49
|
+
} | undefined>);
|
|
50
|
+
_skipSemantic?: boolean | undefined;
|
|
33
51
|
defaultChecked?: boolean | undefined;
|
|
34
52
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
35
53
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -5,17 +5,43 @@ export declare const Styled: {
|
|
|
5
5
|
prefixCls?: string | undefined;
|
|
6
6
|
className?: string | undefined;
|
|
7
7
|
rootClassName?: string | undefined;
|
|
8
|
-
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
disabled?: boolean | undefined;
|
|
12
|
-
} & import("react").AriaAttributes) | undefined;
|
|
8
|
+
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
|
|
9
|
+
variant?: "solid" | "filled" | "outlined" | undefined;
|
|
10
|
+
closable?: import("antd/es/_util/hooks").ClosableType;
|
|
13
11
|
closeIcon?: import("react").ReactNode;
|
|
14
|
-
visible?: boolean | undefined;
|
|
15
12
|
onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
16
13
|
style?: import("react").CSSProperties | undefined;
|
|
17
14
|
icon?: import("react").ReactNode;
|
|
18
15
|
bordered?: boolean | undefined;
|
|
16
|
+
href?: string | undefined;
|
|
17
|
+
target?: string | undefined;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
classNames?: ((info: {
|
|
20
|
+
props: import("antd").TagProps;
|
|
21
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
22
|
+
root?: string | undefined;
|
|
23
|
+
icon?: string | undefined;
|
|
24
|
+
content?: string | undefined;
|
|
25
|
+
close?: string | undefined;
|
|
26
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
27
|
+
root?: string | undefined;
|
|
28
|
+
icon?: string | undefined;
|
|
29
|
+
content?: string | undefined;
|
|
30
|
+
close?: string | undefined;
|
|
31
|
+
} | undefined>;
|
|
32
|
+
styles?: ((info: {
|
|
33
|
+
props: import("antd").TagProps;
|
|
34
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
35
|
+
root?: import("react").CSSProperties | undefined;
|
|
36
|
+
icon?: import("react").CSSProperties | undefined;
|
|
37
|
+
content?: import("react").CSSProperties | undefined;
|
|
38
|
+
close?: import("react").CSSProperties | undefined;
|
|
39
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
40
|
+
root?: import("react").CSSProperties | undefined;
|
|
41
|
+
icon?: import("react").CSSProperties | undefined;
|
|
42
|
+
content?: import("react").CSSProperties | undefined;
|
|
43
|
+
close?: import("react").CSSProperties | undefined;
|
|
44
|
+
} | undefined>;
|
|
19
45
|
defaultChecked?: boolean | undefined;
|
|
20
46
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
21
47
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -281,19 +307,19 @@ export declare const Styled: {
|
|
|
281
307
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
282
308
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
283
309
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
284
|
-
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
310
|
+
ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
|
|
285
311
|
key?: import("react").Key | null | undefined;
|
|
286
312
|
}>;
|
|
287
313
|
TooltipTagsContainer: import("styled-components").IStyledComponent<"web", {
|
|
288
314
|
prefixCls?: string | undefined;
|
|
289
315
|
rootClassName?: string | undefined;
|
|
290
316
|
vertical?: boolean | undefined;
|
|
317
|
+
orientation?: import("antd/es/_util/hooks").Orientation | undefined;
|
|
291
318
|
wrap?: boolean | import("csstype").Property.FlexWrap | undefined;
|
|
292
319
|
justify?: import("csstype").Property.JustifyContent | undefined;
|
|
293
320
|
align?: import("csstype").Property.AlignItems | undefined;
|
|
294
321
|
flex?: import("csstype").Property.Flex<string | number> | undefined;
|
|
295
|
-
gap?: string | number |
|
|
296
|
-
children: import("react").ReactNode;
|
|
322
|
+
gap?: import("antd/es/_util/type").LiteralUnion<import("antd/es/button").ButtonSize, import("csstype").Property.Gap<string | number> | undefined>;
|
|
297
323
|
component?: import("antd/es/_util/type").CustomComponent<import("antd/es/_util/type").AnyObject> | undefined;
|
|
298
324
|
defaultChecked?: boolean | undefined;
|
|
299
325
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -397,6 +423,7 @@ export declare const Styled: {
|
|
|
397
423
|
"aria-valuemin"?: number | undefined;
|
|
398
424
|
"aria-valuenow"?: number | undefined;
|
|
399
425
|
"aria-valuetext"?: string | undefined;
|
|
426
|
+
children?: import("react").ReactNode;
|
|
400
427
|
dangerouslySetInnerHTML?: {
|
|
401
428
|
__html: string | TrustedHTML;
|
|
402
429
|
} | undefined;
|
|
@@ -569,17 +596,43 @@ export declare const Styled: {
|
|
|
569
596
|
prefixCls?: string | undefined;
|
|
570
597
|
className?: string | undefined;
|
|
571
598
|
rootClassName?: string | undefined;
|
|
572
|
-
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
disabled?: boolean | undefined;
|
|
576
|
-
} & import("react").AriaAttributes) | undefined;
|
|
599
|
+
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
|
|
600
|
+
variant?: "solid" | "filled" | "outlined" | undefined;
|
|
601
|
+
closable?: import("antd/es/_util/hooks").ClosableType;
|
|
577
602
|
closeIcon?: import("react").ReactNode;
|
|
578
|
-
visible?: boolean | undefined;
|
|
579
603
|
onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
580
604
|
style?: import("react").CSSProperties | undefined;
|
|
581
605
|
icon?: import("react").ReactNode;
|
|
582
606
|
bordered?: boolean | undefined;
|
|
607
|
+
href?: string | undefined;
|
|
608
|
+
target?: string | undefined;
|
|
609
|
+
disabled?: boolean | undefined;
|
|
610
|
+
classNames?: ((info: {
|
|
611
|
+
props: import("antd").TagProps;
|
|
612
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
613
|
+
root?: string | undefined;
|
|
614
|
+
icon?: string | undefined;
|
|
615
|
+
content?: string | undefined;
|
|
616
|
+
close?: string | undefined;
|
|
617
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
618
|
+
root?: string | undefined;
|
|
619
|
+
icon?: string | undefined;
|
|
620
|
+
content?: string | undefined;
|
|
621
|
+
close?: string | undefined;
|
|
622
|
+
} | undefined>;
|
|
623
|
+
styles?: ((info: {
|
|
624
|
+
props: import("antd").TagProps;
|
|
625
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
626
|
+
root?: import("react").CSSProperties | undefined;
|
|
627
|
+
icon?: import("react").CSSProperties | undefined;
|
|
628
|
+
content?: import("react").CSSProperties | undefined;
|
|
629
|
+
close?: import("react").CSSProperties | undefined;
|
|
630
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
631
|
+
root?: import("react").CSSProperties | undefined;
|
|
632
|
+
icon?: import("react").CSSProperties | undefined;
|
|
633
|
+
content?: import("react").CSSProperties | undefined;
|
|
634
|
+
close?: import("react").CSSProperties | undefined;
|
|
635
|
+
} | undefined>;
|
|
583
636
|
defaultChecked?: boolean | undefined;
|
|
584
637
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
585
638
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -845,7 +898,7 @@ export declare const Styled: {
|
|
|
845
898
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
846
899
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
847
900
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
848
|
-
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
901
|
+
ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
|
|
849
902
|
key?: import("react").Key | null | undefined;
|
|
850
903
|
}>;
|
|
851
904
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NavigateFunction } from 'react-router-dom';
|
|
3
3
|
import { TableProps } from 'antd';
|
|
4
|
-
import { AnyObject } from 'antd/es/_util/type';
|
|
5
4
|
import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTooltips, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsCustomSortersAndFilters } from '../../../../../localTypes/richTable';
|
|
6
5
|
import { TJSON } from '../../../../../localTypes/JSON';
|
|
6
|
+
import { TTableRecord } from './types';
|
|
7
7
|
export declare const isNameColumn: (column: {
|
|
8
8
|
key?: React.Key;
|
|
9
9
|
title?: unknown;
|
|
@@ -21,7 +21,7 @@ export declare const getCellRender: ({ value, record, possibleTrimLength, possib
|
|
|
21
21
|
} | undefined;
|
|
22
22
|
theme: 'dark' | 'light';
|
|
23
23
|
}) => JSX.Element;
|
|
24
|
-
export declare const getEnrichedColumns: <T extends
|
|
24
|
+
export declare const getEnrichedColumns: <T extends TTableRecord = TTableRecord>({ columns, additionalPrinterColumnsUndefinedValues, additionalPrinterColumnsTrimLengths, additionalPrinterColumnsColWidths, additionalPrinterColumnsTooltips, additionalPrinterColumnsKeyTypeProps, additionalPrinterColumnsCustomSortersAndFilters, theme, getRowKey, }: {
|
|
25
25
|
columns: import("antd").TableColumnsType<T> | undefined;
|
|
26
26
|
additionalPrinterColumnsUndefinedValues?: TAdditionalPrinterColumnsUndefinedValues | undefined;
|
|
27
27
|
additionalPrinterColumnsTrimLengths?: TAdditionalPrinterColumnsTrimLengths | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const getEnrichedColumns: <T extends AnyObject = AnyObject>({ col
|
|
|
32
32
|
theme: 'dark' | 'light';
|
|
33
33
|
getRowKey: (record: T) => React.Key;
|
|
34
34
|
}) => import("antd").TableColumnsType<T> | undefined;
|
|
35
|
-
export declare const getEnrichedColumnsWithControls: <T extends
|
|
35
|
+
export declare const getEnrichedColumnsWithControls: <T extends TTableRecord = TTableRecord>({ enrichedColumns, navigate, baseprefix, editIcon, deleteIcon, }: {
|
|
36
36
|
enrichedColumns: import("antd").TableColumnsType<T> | undefined;
|
|
37
37
|
navigate: NavigateFunction;
|
|
38
38
|
baseprefix?: string | undefined;
|
|
@@ -15,18 +15,54 @@ export declare const Styled: {
|
|
|
15
15
|
id?: string | undefined;
|
|
16
16
|
className?: string | undefined;
|
|
17
17
|
rootClassName?: string | undefined;
|
|
18
|
-
size?: import("antd/es/card/Card").CardSize
|
|
18
|
+
size?: import("antd/es/card/Card").CardSize;
|
|
19
19
|
type?: "inner" | undefined;
|
|
20
20
|
cover?: import("react").ReactNode;
|
|
21
21
|
actions?: import("react").ReactNode[] | undefined;
|
|
22
22
|
tabList?: import("antd/es/card").CardTabListType[] | undefined;
|
|
23
|
-
tabBarExtraContent?: import("
|
|
23
|
+
tabBarExtraContent?: import("@rc-component/tabs").TabBarExtraContent;
|
|
24
24
|
onTabChange?: ((key: string) => void) | undefined;
|
|
25
25
|
activeTabKey?: string | undefined;
|
|
26
26
|
defaultActiveTabKey?: string | undefined;
|
|
27
27
|
tabProps?: import("antd").TabsProps | undefined;
|
|
28
|
-
classNames?:
|
|
29
|
-
|
|
28
|
+
classNames?: ((info: {
|
|
29
|
+
props: import("antd").CardProps;
|
|
30
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
31
|
+
root?: string | undefined;
|
|
32
|
+
header?: string | undefined;
|
|
33
|
+
body?: string | undefined;
|
|
34
|
+
extra?: string | undefined;
|
|
35
|
+
title?: string | undefined;
|
|
36
|
+
actions?: string | undefined;
|
|
37
|
+
cover?: string | undefined;
|
|
38
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
39
|
+
root?: string | undefined;
|
|
40
|
+
header?: string | undefined;
|
|
41
|
+
body?: string | undefined;
|
|
42
|
+
extra?: string | undefined;
|
|
43
|
+
title?: string | undefined;
|
|
44
|
+
actions?: string | undefined;
|
|
45
|
+
cover?: string | undefined;
|
|
46
|
+
} | undefined>;
|
|
47
|
+
styles?: ((info: {
|
|
48
|
+
props: import("antd").CardProps;
|
|
49
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
50
|
+
root?: import("react").CSSProperties | undefined;
|
|
51
|
+
header?: import("react").CSSProperties | undefined;
|
|
52
|
+
body?: import("react").CSSProperties | undefined;
|
|
53
|
+
extra?: import("react").CSSProperties | undefined;
|
|
54
|
+
title?: import("react").CSSProperties | undefined;
|
|
55
|
+
actions?: import("react").CSSProperties | undefined;
|
|
56
|
+
cover?: import("react").CSSProperties | undefined;
|
|
57
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
58
|
+
root?: import("react").CSSProperties | undefined;
|
|
59
|
+
header?: import("react").CSSProperties | undefined;
|
|
60
|
+
body?: import("react").CSSProperties | undefined;
|
|
61
|
+
extra?: import("react").CSSProperties | undefined;
|
|
62
|
+
title?: import("react").CSSProperties | undefined;
|
|
63
|
+
actions?: import("react").CSSProperties | undefined;
|
|
64
|
+
cover?: import("react").CSSProperties | undefined;
|
|
65
|
+
} | undefined>;
|
|
30
66
|
variant?: "outlined" | "borderless" | undefined;
|
|
31
67
|
defaultChecked?: boolean | undefined;
|
|
32
68
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -1098,17 +1098,43 @@ export declare const Styled: {
|
|
|
1098
1098
|
prefixCls?: string | undefined;
|
|
1099
1099
|
className?: string | undefined;
|
|
1100
1100
|
rootClassName?: string | undefined;
|
|
1101
|
-
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
disabled?: boolean | undefined;
|
|
1105
|
-
} & import("react").AriaAttributes) | undefined;
|
|
1101
|
+
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
|
|
1102
|
+
variant?: "solid" | "filled" | "outlined" | undefined;
|
|
1103
|
+
closable?: import("antd/es/_util/hooks").ClosableType;
|
|
1106
1104
|
closeIcon?: import("react").ReactNode;
|
|
1107
|
-
visible?: boolean | undefined;
|
|
1108
1105
|
onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
1109
1106
|
style?: import("react").CSSProperties | undefined;
|
|
1110
1107
|
icon?: import("react").ReactNode;
|
|
1111
1108
|
bordered?: boolean | undefined;
|
|
1109
|
+
href?: string | undefined;
|
|
1110
|
+
target?: string | undefined;
|
|
1111
|
+
disabled?: boolean | undefined;
|
|
1112
|
+
classNames?: ((info: {
|
|
1113
|
+
props: import("antd").TagProps;
|
|
1114
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
1115
|
+
root?: string | undefined;
|
|
1116
|
+
icon?: string | undefined;
|
|
1117
|
+
content?: string | undefined;
|
|
1118
|
+
close?: string | undefined;
|
|
1119
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
1120
|
+
root?: string | undefined;
|
|
1121
|
+
icon?: string | undefined;
|
|
1122
|
+
content?: string | undefined;
|
|
1123
|
+
close?: string | undefined;
|
|
1124
|
+
} | undefined>;
|
|
1125
|
+
styles?: ((info: {
|
|
1126
|
+
props: import("antd").TagProps;
|
|
1127
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
1128
|
+
root?: import("react").CSSProperties | undefined;
|
|
1129
|
+
icon?: import("react").CSSProperties | undefined;
|
|
1130
|
+
content?: import("react").CSSProperties | undefined;
|
|
1131
|
+
close?: import("react").CSSProperties | undefined;
|
|
1132
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
1133
|
+
root?: import("react").CSSProperties | undefined;
|
|
1134
|
+
icon?: import("react").CSSProperties | undefined;
|
|
1135
|
+
content?: import("react").CSSProperties | undefined;
|
|
1136
|
+
close?: import("react").CSSProperties | undefined;
|
|
1137
|
+
} | undefined>;
|
|
1112
1138
|
defaultChecked?: boolean | undefined;
|
|
1113
1139
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1114
1140
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -1374,7 +1400,7 @@ export declare const Styled: {
|
|
|
1374
1400
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
1375
1401
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
1376
1402
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
1377
|
-
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
1403
|
+
ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
|
|
1378
1404
|
key?: import("react").Key | null | undefined;
|
|
1379
1405
|
}>;
|
|
1380
1406
|
DescriptionContainer: import("styled-components").IStyledComponent<"web", {
|