@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
|
@@ -22,17 +22,43 @@ export declare const Styled: {
|
|
|
22
22
|
prefixCls?: string | undefined;
|
|
23
23
|
className?: string | undefined;
|
|
24
24
|
rootClassName?: string | undefined;
|
|
25
|
-
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
disabled?: boolean | undefined;
|
|
29
|
-
} & import("react").AriaAttributes) | undefined;
|
|
25
|
+
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
|
|
26
|
+
variant?: "solid" | "filled" | "outlined" | undefined;
|
|
27
|
+
closable?: import("antd/es/_util/hooks").ClosableType;
|
|
30
28
|
closeIcon?: import("react").ReactNode;
|
|
31
|
-
visible?: boolean | undefined;
|
|
32
29
|
onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
33
30
|
style?: import("react").CSSProperties | undefined;
|
|
34
31
|
icon?: import("react").ReactNode;
|
|
35
32
|
bordered?: boolean | undefined;
|
|
33
|
+
href?: string | undefined;
|
|
34
|
+
target?: string | undefined;
|
|
35
|
+
disabled?: boolean | undefined;
|
|
36
|
+
classNames?: ((info: {
|
|
37
|
+
props: import("antd").TagProps;
|
|
38
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
39
|
+
root?: string | undefined;
|
|
40
|
+
icon?: string | undefined;
|
|
41
|
+
content?: string | undefined;
|
|
42
|
+
close?: string | undefined;
|
|
43
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
44
|
+
root?: string | undefined;
|
|
45
|
+
icon?: string | undefined;
|
|
46
|
+
content?: string | undefined;
|
|
47
|
+
close?: string | undefined;
|
|
48
|
+
} | undefined>;
|
|
49
|
+
styles?: ((info: {
|
|
50
|
+
props: import("antd").TagProps;
|
|
51
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
52
|
+
root?: import("react").CSSProperties | undefined;
|
|
53
|
+
icon?: import("react").CSSProperties | undefined;
|
|
54
|
+
content?: import("react").CSSProperties | undefined;
|
|
55
|
+
close?: import("react").CSSProperties | undefined;
|
|
56
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
57
|
+
root?: import("react").CSSProperties | undefined;
|
|
58
|
+
icon?: import("react").CSSProperties | undefined;
|
|
59
|
+
content?: import("react").CSSProperties | undefined;
|
|
60
|
+
close?: import("react").CSSProperties | undefined;
|
|
61
|
+
} | undefined>;
|
|
36
62
|
defaultChecked?: boolean | undefined;
|
|
37
63
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
38
64
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -298,7 +324,7 @@ export declare const Styled: {
|
|
|
298
324
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
299
325
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
300
326
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
301
|
-
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
327
|
+
ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
|
|
302
328
|
key?: import("react").Key | null | undefined;
|
|
303
329
|
}>;
|
|
304
330
|
SelectTagSpan: import("styled-components").IStyledComponent<"web", {
|
|
@@ -1679,11 +1705,10 @@ export declare const Styled: {
|
|
|
1679
1705
|
hidden?: boolean | undefined;
|
|
1680
1706
|
initialValue?: any;
|
|
1681
1707
|
messageVariables?: Record<string, string> | undefined;
|
|
1682
|
-
tooltip?: import("antd/es/form/FormItemLabel").LabelTooltipType;
|
|
1683
|
-
fieldKey?: import("react").Key | import("react").Key[] | undefined;
|
|
1684
1708
|
layout?: import("antd/es/form/Form").FormItemLayout | undefined;
|
|
1685
1709
|
label?: import("react").ReactNode;
|
|
1686
1710
|
htmlFor?: string | undefined;
|
|
1711
|
+
tooltip?: import("antd/es/form/FormItemLabel").FormItemTooltipType;
|
|
1687
1712
|
vertical?: boolean | undefined;
|
|
1688
1713
|
colon?: boolean | undefined;
|
|
1689
1714
|
labelAlign?: import("antd/es/form/interface").FormLabelAlign | undefined;
|
|
@@ -1695,19 +1720,19 @@ export declare const Styled: {
|
|
|
1695
1720
|
fieldId?: string | undefined;
|
|
1696
1721
|
onReset?: (() => void) | undefined;
|
|
1697
1722
|
name?: unknown;
|
|
1698
|
-
normalize?: ((value: any, prevValue: any, allValues: import("rc-
|
|
1723
|
+
normalize?: ((value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any) | undefined;
|
|
1699
1724
|
rules?: import("antd").FormRule[] | undefined;
|
|
1700
1725
|
preserve?: boolean | undefined;
|
|
1701
1726
|
trigger?: string | undefined;
|
|
1702
1727
|
dependencies?: any[] | undefined;
|
|
1703
|
-
getValueFromEvent?: ((...args: import("rc-
|
|
1704
|
-
shouldUpdate?: import("rc-
|
|
1728
|
+
getValueFromEvent?: ((...args: import("@rc-component/form/lib/interface").EventArgs) => any) | undefined;
|
|
1729
|
+
shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<unknown> | undefined;
|
|
1705
1730
|
validateTrigger?: string | false | string[] | undefined;
|
|
1706
1731
|
validateDebounce?: number | undefined;
|
|
1707
1732
|
validateFirst?: boolean | "parallel" | undefined;
|
|
1708
1733
|
valuePropName?: string | undefined;
|
|
1709
1734
|
getValueProps?: ((value: any) => Record<string, unknown>) | undefined;
|
|
1710
|
-
onMetaChange?: ((meta: import("rc-
|
|
1735
|
+
onMetaChange?: ((meta: import("@rc-component/form/lib/Field").MetaEvent) => void) | undefined;
|
|
1711
1736
|
isListField?: boolean | undefined;
|
|
1712
1737
|
isList?: boolean | undefined;
|
|
1713
1738
|
}>;
|
|
@@ -2805,17 +2830,43 @@ export declare const Styled: {
|
|
|
2805
2830
|
prefixCls?: string | undefined;
|
|
2806
2831
|
className?: string | undefined;
|
|
2807
2832
|
rootClassName?: string | undefined;
|
|
2808
|
-
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
disabled?: boolean | undefined;
|
|
2812
|
-
} & import("react").AriaAttributes) | undefined;
|
|
2833
|
+
color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
|
|
2834
|
+
variant?: "solid" | "filled" | "outlined" | undefined;
|
|
2835
|
+
closable?: import("antd/es/_util/hooks").ClosableType;
|
|
2813
2836
|
closeIcon?: import("react").ReactNode;
|
|
2814
|
-
visible?: boolean | undefined;
|
|
2815
2837
|
onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
2816
2838
|
style?: import("react").CSSProperties | undefined;
|
|
2817
2839
|
icon?: import("react").ReactNode;
|
|
2818
2840
|
bordered?: boolean | undefined;
|
|
2841
|
+
href?: string | undefined;
|
|
2842
|
+
target?: string | undefined;
|
|
2843
|
+
disabled?: boolean | undefined;
|
|
2844
|
+
classNames?: ((info: {
|
|
2845
|
+
props: import("antd").TagProps;
|
|
2846
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
2847
|
+
root?: string | undefined;
|
|
2848
|
+
icon?: string | undefined;
|
|
2849
|
+
content?: string | undefined;
|
|
2850
|
+
close?: string | undefined;
|
|
2851
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
2852
|
+
root?: string | undefined;
|
|
2853
|
+
icon?: string | undefined;
|
|
2854
|
+
content?: string | undefined;
|
|
2855
|
+
close?: string | undefined;
|
|
2856
|
+
} | undefined>;
|
|
2857
|
+
styles?: ((info: {
|
|
2858
|
+
props: import("antd").TagProps;
|
|
2859
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
2860
|
+
root?: import("react").CSSProperties | undefined;
|
|
2861
|
+
icon?: import("react").CSSProperties | undefined;
|
|
2862
|
+
content?: import("react").CSSProperties | undefined;
|
|
2863
|
+
close?: import("react").CSSProperties | undefined;
|
|
2864
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
2865
|
+
root?: import("react").CSSProperties | undefined;
|
|
2866
|
+
icon?: import("react").CSSProperties | undefined;
|
|
2867
|
+
content?: import("react").CSSProperties | undefined;
|
|
2868
|
+
close?: import("react").CSSProperties | undefined;
|
|
2869
|
+
} | undefined>;
|
|
2819
2870
|
defaultChecked?: boolean | undefined;
|
|
2820
2871
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
2821
2872
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -3081,7 +3132,7 @@ export declare const Styled: {
|
|
|
3081
3132
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
3082
3133
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
3083
3134
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
3084
|
-
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
3135
|
+
ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
|
|
3085
3136
|
key?: import("react").Key | null | undefined;
|
|
3086
3137
|
}>;
|
|
3087
3138
|
Abbr: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TAbbrProps>>;
|
|
@@ -3015,10 +3015,11 @@ export declare const Styled: {
|
|
|
3015
3015
|
autoInsertSpace?: boolean | undefined;
|
|
3016
3016
|
type?: "link" | "text" | "default" | "dashed" | "primary" | undefined;
|
|
3017
3017
|
color?: "default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "danger" | "volcano" | "geekblue" | "primary" | undefined;
|
|
3018
|
-
variant?: "link" | "text" | "
|
|
3018
|
+
variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined" | undefined;
|
|
3019
3019
|
icon?: import("react").ReactNode;
|
|
3020
3020
|
iconPosition?: "end" | "start" | undefined;
|
|
3021
|
-
|
|
3021
|
+
iconPlacement?: "end" | "start" | undefined;
|
|
3022
|
+
shape?: "circle" | "default" | "round" | "square" | undefined;
|
|
3022
3023
|
size?: import("antd/es/button").ButtonSize;
|
|
3023
3024
|
disabled?: boolean | undefined;
|
|
3024
3025
|
loading?: boolean | {
|
|
@@ -3032,12 +3033,29 @@ export declare const Styled: {
|
|
|
3032
3033
|
danger?: boolean | undefined;
|
|
3033
3034
|
block?: boolean | undefined;
|
|
3034
3035
|
children?: import("react").ReactNode;
|
|
3035
|
-
classNames?: {
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3036
|
+
classNames?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
3037
|
+
root?: string | undefined;
|
|
3038
|
+
icon?: string | undefined;
|
|
3039
|
+
content?: string | undefined;
|
|
3040
|
+
} | undefined> | ((info: {
|
|
3041
|
+
props: import("antd/es/button/Button").BaseButtonProps;
|
|
3042
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
3043
|
+
root?: string | undefined;
|
|
3044
|
+
icon?: string | undefined;
|
|
3045
|
+
content?: string | undefined;
|
|
3046
|
+
} | undefined>);
|
|
3047
|
+
styles?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
3048
|
+
root?: import("react").CSSProperties | undefined;
|
|
3049
|
+
icon?: import("react").CSSProperties | undefined;
|
|
3050
|
+
content?: import("react").CSSProperties | undefined;
|
|
3051
|
+
} | undefined> | ((info: {
|
|
3052
|
+
props: import("antd/es/button/Button").BaseButtonProps;
|
|
3053
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
3054
|
+
root?: import("react").CSSProperties | undefined;
|
|
3055
|
+
icon?: import("react").CSSProperties | undefined;
|
|
3056
|
+
content?: import("react").CSSProperties | undefined;
|
|
3057
|
+
} | undefined>);
|
|
3058
|
+
_skipSemantic?: boolean | undefined;
|
|
3041
3059
|
defaultChecked?: boolean | undefined;
|
|
3042
3060
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
3043
3061
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
3
3
|
prefixCls?: string | undefined;
|
|
4
4
|
name: string | number | (string | number)[];
|
|
5
|
-
rules?: import("rc-
|
|
5
|
+
rules?: import("@rc-component/form/lib/interface").ValidatorRule[] | undefined;
|
|
6
6
|
initialValue?: any[] | undefined;
|
|
7
7
|
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
8
8
|
errors: import("react").ReactNode[];
|
|
@@ -13,7 +13,7 @@ export declare const Styled: {
|
|
|
13
13
|
ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
14
14
|
prefixCls?: string | undefined;
|
|
15
15
|
name: string | number | (string | number)[];
|
|
16
|
-
rules?: import("rc-
|
|
16
|
+
rules?: import("@rc-component/form/lib/interface").ValidatorRule[] | undefined;
|
|
17
17
|
initialValue?: any[] | undefined;
|
|
18
18
|
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
19
19
|
errors: import("react").ReactNode[];
|
package/dist/types/components/organisms/DynamicComponents/atoms/modals/TaintsEditModal/styled.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
3
3
|
prefixCls?: string | undefined;
|
|
4
4
|
name: string | number | (string | number)[];
|
|
5
|
-
rules?: import("rc-
|
|
5
|
+
rules?: import("@rc-component/form/lib/interface").ValidatorRule[] | undefined;
|
|
6
6
|
initialValue?: any[] | undefined;
|
|
7
7
|
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
8
8
|
errors: import("react").ReactNode[];
|
|
@@ -13,7 +13,7 @@ export declare const Styled: {
|
|
|
13
13
|
ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
14
14
|
prefixCls?: string | undefined;
|
|
15
15
|
name: string | number | (string | number)[];
|
|
16
|
-
rules?: import("rc-
|
|
16
|
+
rules?: import("@rc-component/form/lib/interface").ValidatorRule[] | undefined;
|
|
17
17
|
initialValue?: any[] | undefined;
|
|
18
18
|
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
19
19
|
errors: import("react").ReactNode[];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
3
3
|
prefixCls?: string | undefined;
|
|
4
4
|
name: string | number | (string | number)[];
|
|
5
|
-
rules?: import("rc-
|
|
5
|
+
rules?: import("@rc-component/form/lib/interface").ValidatorRule[] | undefined;
|
|
6
6
|
initialValue?: any[] | undefined;
|
|
7
7
|
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
8
8
|
errors: import("react").ReactNode[];
|
|
@@ -13,7 +13,7 @@ export declare const Styled: {
|
|
|
13
13
|
ResetedFormList: import("styled-components").IStyledComponent<"web", {
|
|
14
14
|
prefixCls?: string | undefined;
|
|
15
15
|
name: string | number | (string | number)[];
|
|
16
|
-
rules?: import("rc-
|
|
16
|
+
rules?: import("@rc-component/form/lib/interface").ValidatorRule[] | undefined;
|
|
17
17
|
initialValue?: any[] | undefined;
|
|
18
18
|
children: (fields: import("antd").FormListFieldData[], operation: import("antd").FormListOperation, meta: {
|
|
19
19
|
errors: import("react").ReactNode[];
|
package/dist/types/components/organisms/DynamicComponents/atoms/modals/gridColsValidation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The edit modals (Tolerations, Taints, Annotations) lay their fields out on Ant Design's 24-column grid,
|
|
3
|
+
* with the column spans supplied by the factory YAML via a `cols` array. Each modal renders a FIXED number
|
|
4
|
+
* of columns — Tolerations 5, Taints 4, Annotations 3 (each count includes the trailing actions column) —
|
|
5
|
+
* and the spans must sum to 24 for the row to fill the modal width.
|
|
6
|
+
*
|
|
7
|
+
* `cols` is hand-authored YAML, so the compile-time tuple types don't protect against it. This validator
|
|
8
|
+
* runs at render time and warns — without rewriting the author's values — when `cols` has the wrong length
|
|
9
|
+
* or the spans don't sum to 24. A misconfigured grid then surfaces in the console instead of silently
|
|
10
|
+
* producing a broken layout (columns that wrap, squash, or leave a gap on the right).
|
|
11
|
+
*
|
|
12
|
+
* `count` is intrinsic to each modal's structure; `ANTD_GRID_TOTAL` is Ant Design's fixed grid size.
|
|
13
|
+
*/
|
|
14
|
+
export declare const ANTD_GRID_TOTAL = 24;
|
|
15
|
+
export type TGridColsValidationResult = {
|
|
16
|
+
valid: true;
|
|
17
|
+
} | {
|
|
18
|
+
valid: false;
|
|
19
|
+
message: string;
|
|
20
|
+
};
|
|
21
|
+
type TGridColsSpec = {
|
|
22
|
+
/** Component name for the warning message, e.g. "Tolerations". */
|
|
23
|
+
component: string;
|
|
24
|
+
/** Exact number of columns the modal renders, including the trailing actions column. */
|
|
25
|
+
count: number;
|
|
26
|
+
/** Human-readable column list for the message, e.g. "Key, Operator, Value, Effect, actions". */
|
|
27
|
+
columns: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const validateGridCols: (cols: unknown, { component, count, columns }: TGridColsSpec) => TGridColsValidationResult;
|
|
30
|
+
export {};
|
package/dist/types/components/organisms/DynamicComponents/atoms/modals/gridColsValidation.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/styled.d.ts
CHANGED
|
@@ -552,10 +552,11 @@ export declare const Styled: {
|
|
|
552
552
|
autoInsertSpace?: boolean | undefined;
|
|
553
553
|
type?: "link" | "text" | "default" | "dashed" | "primary" | undefined;
|
|
554
554
|
color?: "default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "danger" | "volcano" | "geekblue" | "primary" | undefined;
|
|
555
|
-
variant?: "link" | "text" | "
|
|
555
|
+
variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined" | undefined;
|
|
556
556
|
icon?: import("react").ReactNode;
|
|
557
557
|
iconPosition?: "end" | "start" | undefined;
|
|
558
|
-
|
|
558
|
+
iconPlacement?: "end" | "start" | undefined;
|
|
559
|
+
shape?: "circle" | "default" | "round" | "square" | undefined;
|
|
559
560
|
size?: import("antd/es/button").ButtonSize;
|
|
560
561
|
disabled?: boolean | undefined;
|
|
561
562
|
loading?: boolean | {
|
|
@@ -569,12 +570,29 @@ export declare const Styled: {
|
|
|
569
570
|
danger?: boolean | undefined;
|
|
570
571
|
block?: boolean | undefined;
|
|
571
572
|
children?: import("react").ReactNode;
|
|
572
|
-
classNames?: {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
573
|
+
classNames?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
574
|
+
root?: string | undefined;
|
|
575
|
+
icon?: string | undefined;
|
|
576
|
+
content?: string | undefined;
|
|
577
|
+
} | undefined> | ((info: {
|
|
578
|
+
props: import("antd/es/button/Button").BaseButtonProps;
|
|
579
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
580
|
+
root?: string | undefined;
|
|
581
|
+
icon?: string | undefined;
|
|
582
|
+
content?: string | undefined;
|
|
583
|
+
} | undefined>);
|
|
584
|
+
styles?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
585
|
+
root?: import("react").CSSProperties | undefined;
|
|
586
|
+
icon?: import("react").CSSProperties | undefined;
|
|
587
|
+
content?: import("react").CSSProperties | undefined;
|
|
588
|
+
} | undefined> | ((info: {
|
|
589
|
+
props: import("antd/es/button/Button").BaseButtonProps;
|
|
590
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
591
|
+
root?: import("react").CSSProperties | undefined;
|
|
592
|
+
icon?: import("react").CSSProperties | undefined;
|
|
593
|
+
content?: import("react").CSSProperties | undefined;
|
|
594
|
+
} | undefined>);
|
|
595
|
+
_skipSemantic?: boolean | undefined;
|
|
578
596
|
defaultChecked?: boolean | undefined;
|
|
579
597
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
580
598
|
suppressContentEditableWarning?: boolean | undefined;
|
package/dist/types/components/organisms/DynamicComponents/molecules/DropdownRedirect/styled.d.ts
CHANGED
|
@@ -3,15 +3,14 @@ export declare const Styled: {
|
|
|
3
3
|
TitleSelect: import("styled-components").IStyledComponent<"web", {
|
|
4
4
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | undefined;
|
|
5
5
|
mode?: "multiple" | "tags" | undefined;
|
|
6
|
-
status?: "" | "error" | "warning" | undefined;
|
|
6
|
+
status?: "" | "error" | "success" | "warning" | "validating" | undefined;
|
|
7
7
|
popupClassName?: string | undefined;
|
|
8
8
|
dropdownClassName?: string | undefined;
|
|
9
|
+
dropdownStyle?: import("react").CSSProperties | undefined;
|
|
10
|
+
dropdownRender?: ((menu: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | undefined;
|
|
11
|
+
onDropdownVisibleChange?: ((open: boolean) => void) | undefined;
|
|
9
12
|
dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
10
13
|
popupMatchSelectWidth?: number | boolean | undefined;
|
|
11
|
-
dropdownRender?: ((menu: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | undefined;
|
|
12
|
-
popupRender?: ((menu: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | undefined;
|
|
13
|
-
dropdownStyle?: import("react").CSSProperties | undefined;
|
|
14
|
-
onDropdownVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
15
14
|
onOpenChange?: ((visible: boolean) => void) | undefined;
|
|
16
15
|
defaultValue?: unknown;
|
|
17
16
|
autoFocus?: boolean | undefined;
|
|
@@ -21,6 +20,7 @@ export declare const Styled: {
|
|
|
21
20
|
style?: import("react").CSSProperties | undefined;
|
|
22
21
|
tabIndex?: number | undefined;
|
|
23
22
|
title?: string | undefined;
|
|
23
|
+
role?: import("react").AriaRole | undefined;
|
|
24
24
|
prefix?: import("react").ReactNode;
|
|
25
25
|
"aria-activedescendant"?: string | undefined;
|
|
26
26
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
@@ -78,17 +78,87 @@ export declare const Styled: {
|
|
|
78
78
|
children?: import("react").ReactNode;
|
|
79
79
|
onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
80
80
|
onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
81
|
-
onChange?: ((value: unknown, option?: import("
|
|
81
|
+
onChange?: ((value: unknown, option?: import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType | (import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType)[] | undefined) => void) | undefined;
|
|
82
82
|
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
83
83
|
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
84
84
|
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
85
85
|
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
86
86
|
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
87
87
|
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
88
|
-
onSelect?: import("rc-select/lib/Select").SelectHandler<unknown, import("
|
|
88
|
+
onSelect?: import("@rc-component/select/lib/Select").SelectHandler<unknown, import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType> | undefined;
|
|
89
89
|
prefixCls?: string | undefined;
|
|
90
90
|
direction?: "ltr" | "rtl" | undefined;
|
|
91
|
-
|
|
91
|
+
classNames?: ((info: {
|
|
92
|
+
props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType>;
|
|
93
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
94
|
+
root?: string | undefined;
|
|
95
|
+
prefix?: string | undefined;
|
|
96
|
+
suffix?: string | undefined;
|
|
97
|
+
input?: string | undefined;
|
|
98
|
+
placeholder?: string | undefined;
|
|
99
|
+
content?: string | undefined;
|
|
100
|
+
item?: string | undefined;
|
|
101
|
+
itemContent?: string | undefined;
|
|
102
|
+
itemRemove?: string | undefined;
|
|
103
|
+
clear?: string | undefined;
|
|
104
|
+
popup?: {
|
|
105
|
+
root?: string | undefined;
|
|
106
|
+
listItem?: string | undefined;
|
|
107
|
+
list?: string | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
|
|
110
|
+
root?: string | undefined;
|
|
111
|
+
prefix?: string | undefined;
|
|
112
|
+
suffix?: string | undefined;
|
|
113
|
+
input?: string | undefined;
|
|
114
|
+
placeholder?: string | undefined;
|
|
115
|
+
content?: string | undefined;
|
|
116
|
+
item?: string | undefined;
|
|
117
|
+
itemContent?: string | undefined;
|
|
118
|
+
itemRemove?: string | undefined;
|
|
119
|
+
clear?: string | undefined;
|
|
120
|
+
popup?: {
|
|
121
|
+
root?: string | undefined;
|
|
122
|
+
listItem?: string | undefined;
|
|
123
|
+
list?: string | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
} | undefined>;
|
|
126
|
+
styles?: ((info: {
|
|
127
|
+
props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType>;
|
|
128
|
+
}) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
129
|
+
root?: import("react").CSSProperties | undefined;
|
|
130
|
+
prefix?: import("react").CSSProperties | undefined;
|
|
131
|
+
suffix?: import("react").CSSProperties | undefined;
|
|
132
|
+
input?: import("react").CSSProperties | undefined;
|
|
133
|
+
placeholder?: import("react").CSSProperties | undefined;
|
|
134
|
+
content?: import("react").CSSProperties | undefined;
|
|
135
|
+
item?: import("react").CSSProperties | undefined;
|
|
136
|
+
itemContent?: import("react").CSSProperties | undefined;
|
|
137
|
+
itemRemove?: import("react").CSSProperties | undefined;
|
|
138
|
+
clear?: import("react").CSSProperties | undefined;
|
|
139
|
+
popup?: {
|
|
140
|
+
root?: import("react").CSSProperties | undefined;
|
|
141
|
+
listItem?: import("react").CSSProperties | undefined;
|
|
142
|
+
list?: import("react").CSSProperties | undefined;
|
|
143
|
+
} | undefined;
|
|
144
|
+
} | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
|
|
145
|
+
root?: import("react").CSSProperties | undefined;
|
|
146
|
+
prefix?: import("react").CSSProperties | undefined;
|
|
147
|
+
suffix?: import("react").CSSProperties | undefined;
|
|
148
|
+
input?: import("react").CSSProperties | undefined;
|
|
149
|
+
placeholder?: import("react").CSSProperties | undefined;
|
|
150
|
+
content?: import("react").CSSProperties | undefined;
|
|
151
|
+
item?: import("react").CSSProperties | undefined;
|
|
152
|
+
itemContent?: import("react").CSSProperties | undefined;
|
|
153
|
+
itemRemove?: import("react").CSSProperties | undefined;
|
|
154
|
+
clear?: import("react").CSSProperties | undefined;
|
|
155
|
+
popup?: {
|
|
156
|
+
root?: import("react").CSSProperties | undefined;
|
|
157
|
+
listItem?: import("react").CSSProperties | undefined;
|
|
158
|
+
list?: import("react").CSSProperties | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
} | undefined>;
|
|
161
|
+
fieldNames?: import("@rc-component/select/lib/Select").FieldNames | undefined;
|
|
92
162
|
disabled?: boolean | undefined;
|
|
93
163
|
virtual?: boolean | undefined;
|
|
94
164
|
rootClassName?: string | undefined;
|
|
@@ -96,62 +166,65 @@ export declare const Styled: {
|
|
|
96
166
|
size?: import("antd/es/button").ButtonSize;
|
|
97
167
|
value?: unknown;
|
|
98
168
|
maxLength?: number | undefined;
|
|
99
|
-
classNames?: (Partial<Record<"root", string>> & {
|
|
100
|
-
popup?: Partial<Record<"root", string>> | undefined;
|
|
101
|
-
}) | undefined;
|
|
102
|
-
styles?: (Partial<Record<"root", import("react").CSSProperties>> & {
|
|
103
|
-
popup?: Partial<Record<"root", import("react").CSSProperties>> | undefined;
|
|
104
|
-
}) | undefined;
|
|
105
169
|
onClear?: (() => void) | undefined;
|
|
170
|
+
suffix?: import("@rc-component/select/lib/interface").RenderNode;
|
|
106
171
|
allowClear?: boolean | {
|
|
107
|
-
clearIcon?: import("
|
|
172
|
+
clearIcon?: import("react").ReactNode;
|
|
108
173
|
} | undefined;
|
|
109
174
|
open?: boolean | undefined;
|
|
110
175
|
loading?: boolean | undefined;
|
|
111
|
-
options?: (import("
|
|
176
|
+
options?: (import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType)[] | undefined;
|
|
112
177
|
animation?: string | undefined;
|
|
113
178
|
transitionName?: string | undefined;
|
|
114
179
|
autoClearSearchValue?: boolean | undefined;
|
|
115
180
|
onSearch?: ((value: string) => void) | undefined;
|
|
116
|
-
showSearch?: boolean |
|
|
117
|
-
|
|
181
|
+
showSearch?: boolean | (import("@rc-component/select/lib/Select").SearchConfig<import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType> & {
|
|
182
|
+
searchIcon?: import("react").ReactNode;
|
|
183
|
+
}) | undefined;
|
|
184
|
+
tagRender?: ((props: import("@rc-component/select/lib/BaseSelect").CustomTagProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | undefined;
|
|
185
|
+
maxCount?: number | undefined;
|
|
118
186
|
notFoundContent?: import("react").ReactNode;
|
|
187
|
+
showScrollBar?: boolean | "optional" | undefined;
|
|
119
188
|
choiceTransitionName?: string | undefined;
|
|
120
189
|
defaultOpen?: boolean | undefined;
|
|
190
|
+
onPopupVisibleChange?: ((open: boolean) => void) | undefined;
|
|
121
191
|
maxTagTextLength?: number | undefined;
|
|
122
192
|
maxTagCount?: number | "responsive" | undefined;
|
|
123
|
-
maxTagPlaceholder?: import("react").ReactNode | ((omittedValues: import("rc-select/lib/interface").DisplayValueType[]) => import("react").ReactNode);
|
|
193
|
+
maxTagPlaceholder?: import("react").ReactNode | ((omittedValues: import("@rc-component/select/lib/interface").DisplayValueType[]) => import("react").ReactNode);
|
|
124
194
|
tokenSeparators?: string[] | undefined;
|
|
125
195
|
suffixIcon?: import("react").ReactNode;
|
|
126
|
-
clearIcon?: import("
|
|
127
|
-
removeIcon?: import("rc-select/lib/interface").RenderNode;
|
|
128
|
-
|
|
196
|
+
clearIcon?: import("react").ReactNode;
|
|
197
|
+
removeIcon?: import("@rc-component/select/lib/interface").RenderNode;
|
|
198
|
+
popupStyle?: import("react").CSSProperties | undefined;
|
|
199
|
+
popupRender?: ((menu: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | undefined;
|
|
200
|
+
popupAlign?: import("@rc-component/trigger").AlignType | undefined;
|
|
129
201
|
builtinPlacements?: import("@rc-component/trigger").BuildInPlacements | undefined;
|
|
130
|
-
getPopupContainer?: import("rc-select/lib/interface").RenderDOMFunc | undefined;
|
|
202
|
+
getPopupContainer?: import("@rc-component/select/lib/interface").RenderDOMFunc | undefined;
|
|
131
203
|
showAction?: ("focus" | "click")[] | undefined;
|
|
132
204
|
onPopupScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
133
205
|
onInputKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
134
|
-
|
|
135
|
-
onDeselect?: import("rc-select/lib/Select").SelectHandler<unknown, import("
|
|
136
|
-
|
|
137
|
-
|
|
206
|
+
components?: import("@rc-component/select/lib/hooks/useComponents").ComponentsConfig | undefined;
|
|
207
|
+
onDeselect?: import("@rc-component/select/lib/Select").SelectHandler<unknown, import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType> | undefined;
|
|
208
|
+
onActive?: ((value: unknown) => void) | undefined;
|
|
209
|
+
filterOption?: boolean | import("@rc-component/select/lib/Select").FilterFunc<import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType> | undefined;
|
|
210
|
+
filterSort?: ((optionA: import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType, optionB: import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType, info: {
|
|
138
211
|
searchValue: string;
|
|
139
212
|
}) => number) | undefined;
|
|
140
|
-
optionFilterProp?: string | undefined;
|
|
213
|
+
optionFilterProp?: string | string[] | undefined;
|
|
141
214
|
optionLabelProp?: string | undefined;
|
|
142
|
-
optionRender?: ((oriOption: import("rc-select/lib/interface").FlattenOptionData<import("
|
|
215
|
+
optionRender?: ((oriOption: import("@rc-component/select/lib/interface").FlattenOptionData<import("antd/es/select").DefaultOptionType | import("antd/es/select").BaseOptionType>, info: {
|
|
143
216
|
index: number;
|
|
144
217
|
}) => import("react").ReactNode) | undefined;
|
|
145
218
|
defaultActiveFirstOption?: boolean | undefined;
|
|
146
219
|
listHeight?: number | undefined;
|
|
147
220
|
listItemHeight?: number | undefined;
|
|
148
|
-
labelRender?: ((props: import("rc-select/lib/Select").LabelInValueType) => import("react").ReactNode) | undefined;
|
|
149
|
-
menuItemSelectedIcon?: import("rc-select/lib/interface").RenderNode;
|
|
221
|
+
labelRender?: ((props: import("@rc-component/select/lib/Select").LabelInValueType) => import("react").ReactNode) | undefined;
|
|
222
|
+
menuItemSelectedIcon?: import("@rc-component/select/lib/interface").RenderNode;
|
|
150
223
|
labelInValue?: boolean | undefined;
|
|
151
|
-
maxCount?: number | undefined;
|
|
152
224
|
bordered?: boolean | undefined;
|
|
153
225
|
showArrow?: boolean | undefined;
|
|
154
|
-
variant?: "
|
|
226
|
+
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
227
|
+
loadingIcon?: import("react").ReactNode;
|
|
155
228
|
ref?: import("react").Ref<import("antd").RefSelectProps> | undefined;
|
|
156
229
|
key?: import("react").Key | null | undefined;
|
|
157
230
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prorobotech/openapi-k8s-toolkit",
|
|
3
|
-
"version": "1.5.0-alpha.
|
|
3
|
+
"version": "1.5.0-alpha.11",
|
|
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",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"storybook:serve": "serve storybook-static"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@ant-design/icons": "
|
|
36
|
+
"@ant-design/icons": "6.2.5",
|
|
37
37
|
"@tanstack/react-query": "5.62.2",
|
|
38
38
|
"@tanstack/react-query-devtools": "5.62.2",
|
|
39
|
-
"antd": "
|
|
39
|
+
"antd": "6.4.3",
|
|
40
40
|
"novnc-next": "1.0.0",
|
|
41
41
|
"react": "18.3.1",
|
|
42
42
|
"react-dom": "18.3.1",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"yaml": "2.7.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@ant-design/icons": "
|
|
68
|
+
"@ant-design/icons": "6.2.5",
|
|
69
69
|
"@storybook/react-vite": "9.1.2",
|
|
70
70
|
"@stylelint/postcss-css-in-js": "0.38.0",
|
|
71
71
|
"@tanstack/react-query": "5.62.2",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@types/styled-components": "5.1.26",
|
|
83
83
|
"@typescript-eslint/eslint-plugin": "8.6.0",
|
|
84
84
|
"@vitejs/plugin-react-swc": "3.7.0",
|
|
85
|
-
"antd": "
|
|
85
|
+
"antd": "6.4.3",
|
|
86
86
|
"chokidar-cli": "3.0.0",
|
|
87
87
|
"concurrently": "9.2.0",
|
|
88
88
|
"eslint": "8.57.1",
|