@michengai/dsh-automation 0.1.66 → 1.0.0
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/CHANGELOG.md +14 -1
- package/CHANGELOG.zh-CN.md +14 -1
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/lib/client.js +61 -331
- package/lib/client.js.map +3 -3
- package/lib/index.js +163 -5
- package/lib/types/client/contracts.d.ts +0 -2
- package/lib/types/client/host-icon-resolve.d.ts +1 -1
- package/lib/types/client/host-icons.d.ts +5 -2
- package/lib/types/client/icons.d.ts +2 -0
- package/lib/types/client/locales.d.ts +11 -1
- package/lib/types/client/menu-select.d.ts +30 -0
- package/lib/types/client/native-group-actions.d.ts +2 -0
- package/lib/types/client/native-session-menu.d.ts +2 -2
- package/lib/types/client/plugin-ui.d.ts +9 -0
- package/lib/types/client/schedule-rail-model.d.ts +2 -6
- package/lib/types/client/sort-menu.d.ts +1 -2
- package/lib/types/client/workspace-create.d.ts +17 -34
- package/lib/types/executor.d.ts +1 -1
- package/lib/types/plugin-updater.d.ts +3 -0
- package/package.json +40 -41
- package/lib/types/client/antd-locale.d.ts +0 -2
- package/lib/types/client/antd-ui.d.ts +0 -42
- package/lib/types/client/host-theme.d.ts +0 -4
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { Locale } from 'antd/es/locale/index.js';
|
|
2
|
-
import type { ButtonProps } from 'antd/es/button/Button.js';
|
|
3
|
-
import type { CheckboxProps } from 'antd/es/checkbox/Checkbox.js';
|
|
4
|
-
import type { ConfigProviderProps } from 'antd/es/config-provider/index.js';
|
|
5
|
-
import type { DropdownProps } from 'antd/es/dropdown/dropdown.js';
|
|
6
|
-
import type { InputProps } from 'antd/es/input/Input.js';
|
|
7
|
-
import type { TextAreaProps, TextAreaRef } from 'antd/es/input/TextArea.js';
|
|
8
|
-
import type { ModalProps } from 'antd/es/modal/interface.js';
|
|
9
|
-
import type { ProgressProps } from 'antd/es/progress/progress.js';
|
|
10
|
-
import type { SegmentedProps } from 'antd/es/segmented/index.js';
|
|
11
|
-
import type { SelectProps } from 'antd/es/select/index.js';
|
|
12
|
-
import type { SwitchProps } from 'antd/es/switch/index.js';
|
|
13
|
-
import type { TabsProps } from 'antd/es/tabs/index.js';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
export declare const Input: React.ComponentType<InputProps> & {
|
|
16
|
-
TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<TextAreaRef>>;
|
|
17
|
-
};
|
|
18
|
-
/** 操作按钮默认用中等尺寸和圆角。标题栏和小按钮可以传入 size、shape 覆盖。 */
|
|
19
|
-
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
-
export declare const Checkbox: React.ComponentType<CheckboxProps> & {
|
|
21
|
-
Group: React.ComponentType<{
|
|
22
|
-
options: readonly {
|
|
23
|
-
label: string;
|
|
24
|
-
value: string;
|
|
25
|
-
}[];
|
|
26
|
-
value: readonly string[];
|
|
27
|
-
onChange: (value: string[]) => void;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
export declare const ConfigProvider: React.ComponentType<ConfigProviderProps>;
|
|
31
|
-
export declare const Dropdown: React.ComponentType<DropdownProps>;
|
|
32
|
-
export declare const Modal: React.ComponentType<ModalProps>;
|
|
33
|
-
export declare const Progress: React.ComponentType<ProgressProps>;
|
|
34
|
-
export declare const Segmented: React.ComponentType<SegmentedProps<import("antd/es/segmented/index.js").SegmentedValue>>;
|
|
35
|
-
export declare const Select: React.ComponentType<SelectProps<any, import("antd/es/select/index.js").DefaultOptionType>>;
|
|
36
|
-
export declare const Switch: React.ComponentType<SwitchProps>;
|
|
37
|
-
export declare const Tabs: React.ComponentType<TabsProps>;
|
|
38
|
-
/** 按钮不插汉字空格,亮暗跟随宿主的 data-ds-dark-theme。 */
|
|
39
|
-
export declare function AntdProvider(props: {
|
|
40
|
-
locale?: Locale;
|
|
41
|
-
children?: React.ReactNode;
|
|
42
|
-
}): React.ReactElement;
|