@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.93 → 0.0.1-alpha.95

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.
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { SelectProps } from 'antd';
3
+ export declare const CustomSelect: FC<SelectProps>;
@@ -0,0 +1 @@
1
+ export * from './CustomSelect';
@@ -0,0 +1,158 @@
1
+ /// <reference types="react" />
2
+ export declare const Styled: {
3
+ CustomSelect: import("styled-components").IStyledComponent<"web", {
4
+ placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | undefined;
5
+ mode?: "multiple" | "tags" | undefined;
6
+ status?: "" | "error" | "warning" | undefined;
7
+ popupClassName?: string | undefined;
8
+ dropdownClassName?: string | undefined;
9
+ dropdownMatchSelectWidth?: number | boolean | undefined;
10
+ 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
+ onOpenChange?: ((visible: boolean) => void) | undefined;
16
+ defaultValue?: unknown;
17
+ autoFocus?: boolean | undefined;
18
+ className?: string | undefined;
19
+ id?: string | undefined;
20
+ placeholder?: import("react").ReactNode;
21
+ style?: import("react").CSSProperties | undefined;
22
+ tabIndex?: number | undefined;
23
+ title?: string | undefined;
24
+ prefix?: import("react").ReactNode;
25
+ "aria-activedescendant"?: string | undefined;
26
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
27
+ "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
28
+ "aria-braillelabel"?: string | undefined;
29
+ "aria-brailleroledescription"?: string | undefined;
30
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
31
+ "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
32
+ "aria-colcount"?: number | undefined;
33
+ "aria-colindex"?: number | undefined;
34
+ "aria-colindextext"?: string | undefined;
35
+ "aria-colspan"?: number | undefined;
36
+ "aria-controls"?: string | undefined;
37
+ "aria-current"?: boolean | "step" | "time" | "true" | "false" | "page" | "location" | "date" | undefined;
38
+ "aria-describedby"?: string | undefined;
39
+ "aria-description"?: string | undefined;
40
+ "aria-details"?: string | undefined;
41
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
42
+ "aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
43
+ "aria-errormessage"?: string | undefined;
44
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
45
+ "aria-flowto"?: string | undefined;
46
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
47
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
48
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
49
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
50
+ "aria-keyshortcuts"?: string | undefined;
51
+ "aria-label"?: string | undefined;
52
+ "aria-labelledby"?: string | undefined;
53
+ "aria-level"?: number | undefined;
54
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
55
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
56
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
57
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
58
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
59
+ "aria-owns"?: string | undefined;
60
+ "aria-placeholder"?: string | undefined;
61
+ "aria-posinset"?: number | undefined;
62
+ "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
63
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
64
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
65
+ "aria-required"?: (boolean | "true" | "false") | undefined;
66
+ "aria-roledescription"?: string | undefined;
67
+ "aria-rowcount"?: number | undefined;
68
+ "aria-rowindex"?: number | undefined;
69
+ "aria-rowindextext"?: string | undefined;
70
+ "aria-rowspan"?: number | undefined;
71
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
72
+ "aria-setsize"?: number | undefined;
73
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
74
+ "aria-valuemax"?: number | undefined;
75
+ "aria-valuemin"?: number | undefined;
76
+ "aria-valuenow"?: number | undefined;
77
+ "aria-valuetext"?: string | undefined;
78
+ children?: import("react").ReactNode;
79
+ onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
80
+ onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
81
+ onChange?: ((value: unknown, option?: import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType | (import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType)[] | undefined) => void) | undefined;
82
+ onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
83
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
84
+ onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
85
+ onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
86
+ onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
87
+ onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
88
+ onSelect?: import("rc-select/lib/Select").SelectHandler<unknown, import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType> | undefined;
89
+ prefixCls?: string | undefined;
90
+ direction?: "ltr" | "rtl" | undefined;
91
+ fieldNames?: import("rc-select/lib/Select").FieldNames | undefined;
92
+ disabled?: boolean | undefined;
93
+ virtual?: boolean | undefined;
94
+ rootClassName?: string | undefined;
95
+ searchValue?: string | undefined;
96
+ size?: import("antd/es/button").ButtonSize;
97
+ value?: unknown;
98
+ 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
+ onClear?: (() => void) | undefined;
106
+ allowClear?: boolean | {
107
+ clearIcon?: import("rc-select/lib/interface").RenderNode;
108
+ } | undefined;
109
+ open?: boolean | undefined;
110
+ loading?: boolean | undefined;
111
+ options?: (import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType)[] | undefined;
112
+ animation?: string | undefined;
113
+ transitionName?: string | undefined;
114
+ autoClearSearchValue?: boolean | undefined;
115
+ onSearch?: ((value: string) => void) | undefined;
116
+ showSearch?: boolean | undefined;
117
+ tagRender?: ((props: import("rc-select/lib/BaseSelect").CustomTagProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | undefined;
118
+ notFoundContent?: import("react").ReactNode;
119
+ choiceTransitionName?: string | undefined;
120
+ defaultOpen?: boolean | undefined;
121
+ maxTagTextLength?: number | undefined;
122
+ maxTagCount?: number | "responsive" | undefined;
123
+ maxTagPlaceholder?: import("react").ReactNode | ((omittedValues: import("rc-select/lib/interface").DisplayValueType[]) => import("react").ReactNode);
124
+ tokenSeparators?: string[] | undefined;
125
+ suffixIcon?: import("react").ReactNode;
126
+ clearIcon?: import("rc-select/lib/interface").RenderNode;
127
+ removeIcon?: import("rc-select/lib/interface").RenderNode;
128
+ dropdownAlign?: import("@rc-component/trigger").AlignType | undefined;
129
+ builtinPlacements?: import("@rc-component/trigger").BuildInPlacements | undefined;
130
+ getPopupContainer?: import("rc-select/lib/interface").RenderDOMFunc | undefined;
131
+ showAction?: ("focus" | "click")[] | undefined;
132
+ onPopupScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
133
+ onInputKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
134
+ inputValue?: string | undefined;
135
+ onDeselect?: import("rc-select/lib/Select").SelectHandler<unknown, import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType> | undefined;
136
+ filterOption?: boolean | import("rc-select/lib/Select").FilterFunc<import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType> | undefined;
137
+ filterSort?: ((optionA: import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType, optionB: import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType, info: {
138
+ searchValue: string;
139
+ }) => number) | undefined;
140
+ optionFilterProp?: string | undefined;
141
+ optionLabelProp?: string | undefined;
142
+ optionRender?: ((oriOption: import("rc-select/lib/interface").FlattenOptionData<import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType>, info: {
143
+ index: number;
144
+ }) => import("react").ReactNode) | undefined;
145
+ defaultActiveFirstOption?: boolean | undefined;
146
+ listHeight?: number | undefined;
147
+ listItemHeight?: number | undefined;
148
+ labelRender?: ((props: import("rc-select/lib/Select").LabelInValueType) => import("react").ReactNode) | undefined;
149
+ menuItemSelectedIcon?: import("rc-select/lib/interface").RenderNode;
150
+ labelInValue?: boolean | undefined;
151
+ maxCount?: number | undefined;
152
+ bordered?: boolean | undefined;
153
+ showArrow?: boolean | undefined;
154
+ variant?: "outlined" | "borderless" | "filled" | "underlined" | undefined;
155
+ ref?: import("react").Ref<import("antd").RefSelectProps> | undefined;
156
+ key?: import("react").Key | null | undefined;
157
+ }>;
158
+ };
@@ -6,4 +6,5 @@ export * from './Icons';
6
6
  export * from './ContentCard';
7
7
  export * from './FlexGrow';
8
8
  export * from './UncontrolledSelect';
9
+ export * from './CustomSelect';
9
10
  export * from './CursorPointerTag';
@@ -0,0 +1,14 @@
1
+ import { FC } from 'react';
2
+ type TEditModalProps = {
3
+ open: boolean;
4
+ close: () => void;
5
+ values?: Record<string, string | number>;
6
+ openNotificationSuccess?: () => void;
7
+ modalTitle: string;
8
+ modalDescriptionText?: string;
9
+ inputLabel?: string;
10
+ maxEditTagTextLength?: number;
11
+ allowClearEditSelect?: boolean;
12
+ };
13
+ export declare const EditModal: FC<TEditModalProps>;
14
+ export {};
@@ -161,6 +161,7 @@ export type TDynamicComponentsAppTypeMap = {
161
161
  reqIndex: string;
162
162
  jsonPathToArray: string;
163
163
  text: string;
164
+ errorText: string;
164
165
  style?: CSSProperties;
165
166
  };
166
167
  KeyCounter: {
@@ -168,6 +169,7 @@ export type TDynamicComponentsAppTypeMap = {
168
169
  reqIndex: string;
169
170
  jsonPathToObj: string;
170
171
  text: string;
172
+ errorText: string;
171
173
  style?: CSSProperties;
172
174
  };
173
175
  Labels: {
@@ -175,6 +177,14 @@ export type TDynamicComponentsAppTypeMap = {
175
177
  reqIndex: string;
176
178
  jsonPathToLabels: string;
177
179
  selectProps?: SelectProps;
180
+ notificationSuccessMessage: string;
181
+ notificationSuccessMessageDescription: string;
182
+ modalTitle: string;
183
+ modalDescriptionText?: string;
184
+ inputLabel?: string;
185
+ containerStyle?: CSSProperties;
186
+ maxEditTagTextLength?: number;
187
+ allowClearEditSelect?: boolean;
178
188
  };
179
189
  LabelsToSearchParams: {
180
190
  id: 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.93",
3
+ "version": "0.0.1-alpha.95",
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",
@@ -14,8 +14,8 @@
14
14
  },
15
15
  "scripts": {
16
16
  "dev": "concurrently \"npm run watch:build\" \"npm run watch:yalc\"",
17
- "watch:build": "chokidar \"src/**/*\" -c \"npm run build\" -d 2000",
18
- "watch:yalc": "chokidar \"dist/**/*\" -c \"yalc push\" -d 2000",
17
+ "watch:build": "chokidar \"src/**/*\" -c \"npm run build\" -d 5000",
18
+ "watch:yalc": "chokidar \"dist/**/*\" -c \"yalc push\" -d 5000",
19
19
  "dev:open": "cross-env BASEPREFIX=/toolkit vite --open --port 3002 --strictPort",
20
20
  "build": "vite build && tsc && tsc-alias -p tsconfig.json",
21
21
  "build:local": "vite build && tsc && tsc-alias -p tsconfig.json && yalc publish --replace",