@aloudata/aloudata-design 0.3.0-beta.1 → 0.3.2
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/README.md +15 -5
- package/es/Breadcrumb/index.d.ts +0 -1
- package/es/Breadcrumb/style/index.less +11 -3
- package/es/Button/index.js +17 -2
- package/es/Button/style/index.less +41 -39
- package/es/Button/style/variables.less +9 -2
- package/es/Card/index.d.ts +3 -0
- package/es/Card/index.js +3 -0
- package/es/{Message → Card}/style/index.d.ts +0 -0
- package/es/{Message → Card}/style/index.js +0 -0
- package/es/{Message → Card}/style/index.less +0 -0
- package/es/Checkbox/index.d.ts +0 -1
- package/es/Checkbox/style/index.less +19 -0
- package/es/Drawer/index.d.ts +4 -0
- package/es/Drawer/index.js +3 -0
- package/es/{Notification → Drawer}/style/index.d.ts +0 -0
- package/es/{Notification → Drawer}/style/index.js +0 -0
- package/es/{Notification → Drawer}/style/index.less +0 -0
- package/es/Dropdown/Button.js +3 -3
- package/es/Empty/image/Authority.d.ts +0 -1
- package/es/Empty/image/Dataspace.d.ts +0 -1
- package/es/Empty/image/Search.d.ts +0 -1
- package/es/Empty/image/Simple.d.ts +0 -1
- package/es/Empty/image/Worksheet.d.ts +0 -1
- package/es/Empty/image/empty.d.ts +0 -1
- package/es/Form/style/index.less +8 -0
- package/es/Icon/antdIconfont.d.ts +4 -0
- package/es/Icon/antdIconfont.js +2 -0
- package/es/Icon/components/Icon.d.ts +32 -0
- package/es/Icon/components/Icon.js +27 -0
- package/es/Icon/components/createFromScripts.d.ts +1 -0
- package/es/Icon/components/createFromScripts.js +35 -0
- package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/es/Icon/icons/AddLine.d.ts +13 -0
- package/es/Icon/icons/AddLine.js +66 -0
- package/es/Icon/icons/AlertFill.d.ts +13 -0
- package/es/Icon/icons/AlertFill.js +73 -0
- package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/es/Icon/icons/ArrowsDownLine.js +66 -0
- package/es/Icon/icons/CancelFill.d.ts +13 -0
- package/es/Icon/icons/CancelFill.js +73 -0
- package/es/Icon/icons/CheckFill.d.ts +13 -0
- package/es/Icon/icons/CheckFill.js +73 -0
- package/es/Icon/icons/CheckLine.d.ts +13 -0
- package/es/Icon/icons/CheckLine.js +73 -0
- package/es/Icon/icons/CloseLine.d.ts +13 -0
- package/es/Icon/icons/CloseLine.js +66 -0
- package/es/Icon/icons/DatabaseLine.d.ts +13 -0
- package/es/Icon/icons/DatabaseLine.js +66 -0
- package/es/Icon/icons/Deleteline.d.ts +13 -0
- package/es/Icon/icons/Deleteline.js +66 -0
- package/es/Icon/icons/DownloadLine.d.ts +13 -0
- package/es/Icon/icons/DownloadLine.js +73 -0
- package/es/Icon/icons/ErrorFill.d.ts +13 -0
- package/es/Icon/icons/ErrorFill.js +73 -0
- package/es/Icon/icons/EyeOffLine.d.ts +13 -0
- package/es/Icon/icons/EyeOffLine.js +73 -0
- package/es/Icon/icons/EyeOnLine.d.ts +13 -0
- package/es/Icon/icons/EyeOnLine.js +66 -0
- package/es/Icon/icons/FileLine.d.ts +13 -0
- package/es/Icon/icons/FileLine.js +73 -0
- package/es/Icon/icons/HomeFill.d.ts +13 -0
- package/es/Icon/icons/HomeFill.js +73 -0
- package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/es/Icon/icons/LightningLine.d.ts +13 -0
- package/es/Icon/icons/LightningLine.js +66 -0
- package/es/Icon/icons/Loading.d.ts +13 -0
- package/es/Icon/icons/Loading.js +66 -0
- package/es/Icon/icons/More.d.ts +13 -0
- package/es/Icon/icons/More.js +66 -0
- package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/es/Icon/icons/NewWindowsLine.js +74 -0
- package/es/Icon/icons/SearchLine.d.ts +13 -0
- package/es/Icon/icons/SearchLine.js +73 -0
- package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/es/Icon/icons/SortAscendingLine.js +66 -0
- package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/es/Icon/icons/SortDescendingLine.js +66 -0
- package/es/Icon/icons/TextLine.d.ts +13 -0
- package/es/Icon/icons/TextLine.js +73 -0
- package/es/Icon/icons/UserLine.d.ts +13 -0
- package/es/Icon/icons/UserLine.js +73 -0
- package/es/Icon/icons/style.css +9 -0
- package/es/Icon/icons/style.css.d.ts +10 -0
- package/es/Icon/index.d.ts +2 -13
- package/es/Icon/index.js +2 -53
- package/es/Icon/index.less +9 -17
- package/es/Icon/style/index.d.ts +1 -0
- package/es/Icon/style/index.js +1 -0
- package/es/Icon/style/index.less +0 -0
- package/es/Input/components/Group/index.d.ts +0 -1
- package/es/Input/components/Password/index.js +6 -5
- package/es/Input/style/index.less +1 -1
- package/es/InputNumber/index.d.ts +0 -1
- package/es/InputNumber/style/index.less +88 -16
- package/es/Menu/Divider.d.ts +0 -1
- package/es/Menu/style/index.less +4 -3
- package/es/Modal/index.js +21 -12
- package/es/Modal/locale.d.ts +7 -0
- package/es/Modal/locale.js +20 -0
- package/es/Modal/style/index.less +3 -3
- package/es/Navigator/components/Header/index.d.ts +0 -1
- package/es/Navigator/components/Menu/index.d.ts +0 -1
- package/es/Navigator/components/MenuItem/index.d.ts +1 -1
- package/es/Navigator/index.d.ts +1 -1
- package/es/Navigator/style/index.less +46 -5
- package/es/Popover/index.d.ts +0 -1
- package/es/Select/index.d.ts +2 -1
- package/es/Select/index.js +2 -1
- package/es/Select/rc-select/OptionList.js +3 -4
- package/es/Select/rc-select/Selector/MultipleSelector.js +13 -3
- package/es/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/es/Select/style/index.d.ts +0 -1
- package/es/Select/style/index.js +0 -1
- package/es/Select/style/index.less +105 -10
- package/es/Select/style/variables.less +20 -9
- package/es/Select/style/variables.less.d.ts +4 -1
- package/es/Select/utils/iconUtil.d.ts +2 -2
- package/es/Select/utils/iconUtil.js +10 -13
- package/es/Table/Table.d.ts +0 -1
- package/es/Table/Table.js +23 -14
- package/es/Table/style/index.less +7 -0
- package/es/Tabs/index.d.ts +2 -1
- package/es/Tabs/index.js +9 -6
- package/es/Tabs/style/index.less +67 -1
- package/es/index.d.ts +8 -3
- package/es/index.js +6 -3
- package/es/locale/default.d.ts +2 -0
- package/es/locale/default.js +2 -0
- package/es/locale/en_US.d.ts +3 -0
- package/es/locale/en_US.js +132 -0
- package/es/locale/zh_CN.d.ts +3 -2
- package/es/locale/zh_CN.js +131 -2
- package/es/locale-provider/LocaleReceiver.d.ts +4 -0
- package/es/locale-provider/LocaleReceiver.js +3 -0
- package/es/locale-provider/context.d.ts +7 -0
- package/es/locale-provider/context.js +3 -0
- package/es/locale-provider/default.d.ts +2 -0
- package/es/locale-provider/default.js +2 -0
- package/es/locale-provider/en_US.d.ts +2 -0
- package/es/locale-provider/en_US.js +2 -0
- package/es/locale-provider/index.d.ts +61 -0
- package/es/locale-provider/index.js +102 -0
- package/es/locale-provider/style/index.d.ts +1 -0
- package/es/locale-provider/style/index.js +1 -0
- package/es/locale-provider/style/index.less +2 -0
- package/es/locale-provider/zh_CN.d.ts +2 -0
- package/es/locale-provider/zh_CN.js +2 -0
- package/es/{Message → message}/index.d.ts +0 -0
- package/es/{Message → message}/index.js +0 -0
- package/{lib/Message → es/message}/style/index.d.ts +0 -0
- package/es/message/style/index.js +2 -0
- package/{lib/Message → es/message}/style/index.less +0 -0
- package/es/{Notification → notification}/index.d.ts +0 -0
- package/es/{Notification → notification}/index.js +0 -0
- package/{lib/Notification → es/notification}/style/index.d.ts +0 -0
- package/es/notification/style/index.js +2 -0
- package/{lib/Notification → es/notification}/style/index.less +0 -0
- package/es/style/index.less +1 -0
- package/es/style/themes/default/scrollBar.less +13 -0
- package/lib/Breadcrumb/index.d.ts +0 -1
- package/lib/Breadcrumb/style/index.less +11 -3
- package/lib/Button/index.js +18 -2
- package/lib/Button/style/index.less +41 -39
- package/lib/Button/style/variables.less +9 -2
- package/lib/Card/index.d.ts +3 -0
- package/lib/Card/index.js +15 -0
- package/lib/Card/style/index.d.ts +2 -0
- package/lib/{Message → Card}/style/index.js +0 -0
- package/lib/Card/style/index.less +1 -0
- package/lib/Checkbox/index.d.ts +0 -1
- package/lib/Checkbox/style/index.less +19 -0
- package/lib/Drawer/index.d.ts +4 -0
- package/lib/Drawer/index.js +15 -0
- package/lib/Drawer/style/index.d.ts +2 -0
- package/lib/{Notification → Drawer}/style/index.js +0 -0
- package/lib/Drawer/style/index.less +1 -0
- package/lib/Dropdown/Button.js +3 -3
- package/lib/Empty/image/Authority.d.ts +0 -1
- package/lib/Empty/image/Dataspace.d.ts +0 -1
- package/lib/Empty/image/Search.d.ts +0 -1
- package/lib/Empty/image/Simple.d.ts +0 -1
- package/lib/Empty/image/Worksheet.d.ts +0 -1
- package/lib/Empty/image/empty.d.ts +0 -1
- package/lib/Form/style/index.less +8 -0
- package/lib/Icon/antdIconfont.d.ts +4 -0
- package/lib/Icon/antdIconfont.js +13 -0
- package/lib/Icon/components/Icon.d.ts +32 -0
- package/lib/Icon/components/Icon.js +38 -0
- package/lib/Icon/components/createFromScripts.d.ts +1 -0
- package/lib/Icon/components/createFromScripts.js +41 -0
- package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/lib/Icon/icons/AddLine.d.ts +13 -0
- package/lib/Icon/icons/AddLine.js +83 -0
- package/lib/Icon/icons/AlertFill.d.ts +13 -0
- package/lib/Icon/icons/AlertFill.js +90 -0
- package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/lib/Icon/icons/ArrowsDownLine.js +83 -0
- package/lib/Icon/icons/CancelFill.d.ts +13 -0
- package/lib/Icon/icons/CancelFill.js +90 -0
- package/lib/Icon/icons/CheckFill.d.ts +13 -0
- package/lib/Icon/icons/CheckFill.js +90 -0
- package/lib/Icon/icons/CheckLine.d.ts +13 -0
- package/lib/Icon/icons/CheckLine.js +90 -0
- package/lib/Icon/icons/CloseLine.d.ts +13 -0
- package/lib/Icon/icons/CloseLine.js +83 -0
- package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
- package/lib/Icon/icons/DatabaseLine.js +83 -0
- package/lib/Icon/icons/Deleteline.d.ts +13 -0
- package/lib/Icon/icons/Deleteline.js +83 -0
- package/lib/Icon/icons/DownloadLine.d.ts +13 -0
- package/lib/Icon/icons/DownloadLine.js +90 -0
- package/lib/Icon/icons/ErrorFill.d.ts +13 -0
- package/lib/Icon/icons/ErrorFill.js +90 -0
- package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOffLine.js +90 -0
- package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOnLine.js +83 -0
- package/lib/Icon/icons/FileLine.d.ts +13 -0
- package/lib/Icon/icons/FileLine.js +90 -0
- package/lib/Icon/icons/HomeFill.d.ts +13 -0
- package/lib/Icon/icons/HomeFill.js +90 -0
- package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/lib/Icon/icons/LightningLine.d.ts +13 -0
- package/lib/Icon/icons/LightningLine.js +83 -0
- package/lib/Icon/icons/Loading.d.ts +13 -0
- package/lib/Icon/icons/Loading.js +83 -0
- package/lib/Icon/icons/More.d.ts +13 -0
- package/lib/Icon/icons/More.js +83 -0
- package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/lib/Icon/icons/NewWindowsLine.js +91 -0
- package/lib/Icon/icons/SearchLine.d.ts +13 -0
- package/lib/Icon/icons/SearchLine.js +90 -0
- package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortAscendingLine.js +83 -0
- package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortDescendingLine.js +83 -0
- package/lib/Icon/icons/TextLine.d.ts +13 -0
- package/lib/Icon/icons/TextLine.js +90 -0
- package/lib/Icon/icons/UserLine.d.ts +13 -0
- package/lib/Icon/icons/UserLine.js +90 -0
- package/lib/Icon/icons/style.css +9 -0
- package/lib/Icon/icons/style.css.d.ts +10 -0
- package/lib/Icon/index.d.ts +2 -13
- package/lib/Icon/index.js +2 -59
- package/lib/Icon/index.less +9 -17
- package/lib/Icon/style/index.d.ts +1 -0
- package/lib/Icon/style/index.js +1 -0
- package/lib/Icon/style/index.less +0 -0
- package/lib/Input/components/Group/index.d.ts +0 -1
- package/lib/Input/components/Password/index.js +7 -5
- package/lib/Input/style/index.less +1 -1
- package/lib/InputNumber/index.d.ts +0 -1
- package/lib/InputNumber/style/index.less +88 -16
- package/lib/Menu/Divider.d.ts +0 -1
- package/lib/Menu/style/index.less +4 -3
- package/lib/Modal/index.js +23 -12
- package/lib/Modal/locale.d.ts +7 -0
- package/lib/Modal/locale.js +31 -0
- package/lib/Modal/style/index.less +3 -3
- package/lib/Navigator/components/Header/index.d.ts +0 -1
- package/lib/Navigator/components/Menu/index.d.ts +0 -1
- package/lib/Navigator/components/MenuItem/index.d.ts +1 -1
- package/lib/Navigator/index.d.ts +1 -1
- package/lib/Navigator/style/index.less +46 -5
- package/lib/Popover/index.d.ts +0 -1
- package/lib/Select/index.d.ts +2 -1
- package/lib/Select/index.js +2 -1
- package/lib/Select/rc-select/OptionList.js +3 -4
- package/lib/Select/rc-select/Selector/MultipleSelector.js +13 -3
- package/lib/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/lib/Select/style/index.d.ts +0 -1
- package/lib/Select/style/index.js +0 -2
- package/lib/Select/style/index.less +105 -10
- package/lib/Select/style/variables.less +20 -9
- package/lib/Select/style/variables.less.d.ts +4 -1
- package/lib/Select/utils/iconUtil.d.ts +2 -2
- package/lib/Select/utils/iconUtil.js +11 -14
- package/lib/Table/Table.d.ts +0 -1
- package/lib/Table/Table.js +25 -15
- package/lib/Table/style/index.less +7 -0
- package/lib/Tabs/index.d.ts +2 -1
- package/lib/Tabs/index.js +9 -6
- package/lib/Tabs/style/index.less +67 -1
- package/lib/index.d.ts +8 -3
- package/lib/index.js +38 -14
- package/lib/locale/default.d.ts +2 -0
- package/lib/locale/default.js +13 -0
- package/lib/locale/en_US.d.ts +3 -0
- package/lib/locale/en_US.js +146 -0
- package/lib/locale/zh_CN.d.ts +3 -2
- package/lib/locale/zh_CN.js +134 -2
- package/lib/locale-provider/LocaleReceiver.d.ts +4 -0
- package/lib/locale-provider/LocaleReceiver.js +23 -0
- package/lib/locale-provider/context.d.ts +7 -0
- package/lib/locale-provider/context.js +12 -0
- package/lib/locale-provider/default.d.ts +2 -0
- package/lib/locale-provider/default.js +13 -0
- package/lib/locale-provider/en_US.d.ts +2 -0
- package/lib/locale-provider/en_US.js +13 -0
- package/lib/locale-provider/index.d.ts +61 -0
- package/lib/locale-provider/index.js +116 -0
- package/lib/locale-provider/style/index.d.ts +1 -0
- package/lib/locale-provider/style/index.js +3 -0
- package/lib/locale-provider/style/index.less +2 -0
- package/lib/locale-provider/zh_CN.d.ts +2 -0
- package/lib/locale-provider/zh_CN.js +13 -0
- package/lib/{Message → message}/index.d.ts +0 -0
- package/lib/{Message → message}/index.js +0 -0
- package/lib/message/style/index.d.ts +2 -0
- package/lib/message/style/index.js +5 -0
- package/lib/message/style/index.less +1 -0
- package/lib/{Notification → notification}/index.d.ts +0 -0
- package/lib/{Notification → notification}/index.js +0 -0
- package/lib/notification/style/index.d.ts +2 -0
- package/lib/notification/style/index.js +5 -0
- package/lib/notification/style/index.less +1 -0
- package/lib/style/index.less +1 -0
- package/lib/style/themes/default/scrollBar.less +13 -0
- package/package.json +10 -8
- package/es/Icon/iconfont/demo.css +0 -539
- package/es/Icon/iconfont/demo_index.html +0 -720
- package/es/Icon/iconfont/iconfont.css +0 -109
- package/es/Icon/iconfont/iconfont.js +0 -46
- package/es/Icon/iconfont/iconfont.json +0 -170
- package/es/Icon/iconfont/iconfont.ttf +0 -0
- package/es/Icon/iconfont/iconfont.woff +0 -0
- package/es/Icon/iconfont/iconfont.woff2 +0 -0
- package/es/Table/components/Empty/empty-img.png +0 -0
- package/es/Table/components/Empty/index.d.ts +0 -4
- package/es/Table/components/Empty/index.js +0 -16
- package/es/Table/components/Empty/index.less +0 -24
- package/lib/Icon/iconfont/demo.css +0 -539
- package/lib/Icon/iconfont/demo_index.html +0 -720
- package/lib/Icon/iconfont/iconfont.css +0 -109
- package/lib/Icon/iconfont/iconfont.js +0 -48
- package/lib/Icon/iconfont/iconfont.json +0 -170
- package/lib/Icon/iconfont/iconfont.ttf +0 -0
- package/lib/Icon/iconfont/iconfont.woff +0 -0
- package/lib/Icon/iconfont/iconfont.woff2 +0 -0
- package/lib/Table/components/Empty/empty-img.png +0 -0
- package/lib/Table/components/Empty/index.d.ts +0 -4
- package/lib/Table/components/Empty/index.js +0 -30
- package/lib/Table/components/Empty/index.less +0 -24
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { ValidateMessages } from 'rc-field-form/lib/interface';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import type { PickerLocale as DatePickerLocale } from 'antd/es/date-picker/generatePicker';
|
|
4
|
+
import type { TransferLocale as TransferLocaleForEmpty } from 'antd/es/empty';
|
|
5
|
+
import type { ModalLocale } from 'antd/es/modal/locale';
|
|
6
|
+
import type { PaginationLocale } from 'antd/es/pagination/Pagination';
|
|
7
|
+
import type { PopconfirmLocale } from 'antd/es/popconfirm';
|
|
8
|
+
import type { TableLocale } from 'antd/es/table/interface';
|
|
9
|
+
import type { TransferLocale } from 'antd/es/transfer';
|
|
10
|
+
import type { UploadLocale } from 'antd/es/upload/interface';
|
|
11
|
+
export declare const ANT_MARK = "internalMark";
|
|
12
|
+
export interface Locale {
|
|
13
|
+
locale: string;
|
|
14
|
+
Pagination?: PaginationLocale;
|
|
15
|
+
DatePicker?: DatePickerLocale;
|
|
16
|
+
TimePicker?: Record<string, any>;
|
|
17
|
+
Calendar?: Record<string, any>;
|
|
18
|
+
Table?: TableLocale;
|
|
19
|
+
Modal?: ModalLocale;
|
|
20
|
+
Popconfirm?: PopconfirmLocale;
|
|
21
|
+
Transfer?: Partial<TransferLocale>;
|
|
22
|
+
Select?: Record<string, any>;
|
|
23
|
+
Upload?: UploadLocale;
|
|
24
|
+
Empty?: TransferLocaleForEmpty;
|
|
25
|
+
global?: Record<string, any>;
|
|
26
|
+
PageHeader?: {
|
|
27
|
+
back: string;
|
|
28
|
+
};
|
|
29
|
+
Icon?: Record<string, any>;
|
|
30
|
+
Text?: {
|
|
31
|
+
edit?: any;
|
|
32
|
+
copy?: any;
|
|
33
|
+
copied?: any;
|
|
34
|
+
expand?: any;
|
|
35
|
+
};
|
|
36
|
+
Form?: {
|
|
37
|
+
optional?: string;
|
|
38
|
+
defaultValidateMessages: ValidateMessages;
|
|
39
|
+
};
|
|
40
|
+
Image?: {
|
|
41
|
+
preview: string;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export interface LocaleProviderProps {
|
|
45
|
+
locale: Locale;
|
|
46
|
+
children?: React.ReactNode;
|
|
47
|
+
_ANT_MARK__?: string;
|
|
48
|
+
}
|
|
49
|
+
export default class LocaleProvider extends React.Component<LocaleProviderProps, any> {
|
|
50
|
+
static defaultProps: {
|
|
51
|
+
locale: {};
|
|
52
|
+
};
|
|
53
|
+
constructor(props: LocaleProviderProps);
|
|
54
|
+
componentDidMount(): void;
|
|
55
|
+
componentDidUpdate(prevProps: LocaleProviderProps): void;
|
|
56
|
+
componentWillUnmount(): void;
|
|
57
|
+
getMemoizedContextValue: (localeValue: Locale) => Locale & {
|
|
58
|
+
exist?: boolean;
|
|
59
|
+
};
|
|
60
|
+
render(): JSX.Element;
|
|
61
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
+
|
|
7
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
|
|
9
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
|
+
|
|
11
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
12
|
+
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
|
|
15
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
16
|
+
|
|
17
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
18
|
+
|
|
19
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
20
|
+
|
|
21
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
22
|
+
|
|
23
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
24
|
+
|
|
25
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
26
|
+
|
|
27
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
28
|
+
|
|
29
|
+
/* eslint-disable react/static-property-placement */
|
|
30
|
+
|
|
31
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
32
|
+
|
|
33
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
34
|
+
import memoizeOne from 'memoize-one';
|
|
35
|
+
import * as React from 'react';
|
|
36
|
+
import warning from 'antd/es/_util/warning';
|
|
37
|
+
import { changeConfirmLocale } from 'antd/es/modal/locale';
|
|
38
|
+
import LocaleContext from './context';
|
|
39
|
+
export var ANT_MARK = 'internalMark';
|
|
40
|
+
|
|
41
|
+
var LocaleProvider = /*#__PURE__*/function (_React$Component) {
|
|
42
|
+
_inherits(LocaleProvider, _React$Component);
|
|
43
|
+
|
|
44
|
+
var _super = _createSuper(LocaleProvider);
|
|
45
|
+
|
|
46
|
+
function LocaleProvider(props) {
|
|
47
|
+
var _this;
|
|
48
|
+
|
|
49
|
+
_classCallCheck(this, LocaleProvider);
|
|
50
|
+
|
|
51
|
+
_this = _super.call(this, props);
|
|
52
|
+
_this.getMemoizedContextValue = memoizeOne(function (localeValue) {
|
|
53
|
+
return _objectSpread(_objectSpread({}, localeValue), {}, {
|
|
54
|
+
exist: true
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
changeConfirmLocale(props.locale && props.locale.Modal);
|
|
58
|
+
warning( // eslint-disable-next-line no-underscore-dangle
|
|
59
|
+
props._ANT_MARK__ === ANT_MARK, 'LocaleProvider', '`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale');
|
|
60
|
+
return _this;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
_createClass(LocaleProvider, [{
|
|
64
|
+
key: "componentDidMount",
|
|
65
|
+
value: function componentDidMount() {
|
|
66
|
+
changeConfirmLocale(this.props.locale && this.props.locale.Modal);
|
|
67
|
+
}
|
|
68
|
+
}, {
|
|
69
|
+
key: "componentDidUpdate",
|
|
70
|
+
value: function componentDidUpdate(prevProps) {
|
|
71
|
+
var locale = this.props.locale;
|
|
72
|
+
|
|
73
|
+
if (prevProps.locale !== locale) {
|
|
74
|
+
changeConfirmLocale(locale && locale.Modal);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}, {
|
|
78
|
+
key: "componentWillUnmount",
|
|
79
|
+
value: function componentWillUnmount() {
|
|
80
|
+
changeConfirmLocale();
|
|
81
|
+
}
|
|
82
|
+
}, {
|
|
83
|
+
key: "render",
|
|
84
|
+
value: function render() {
|
|
85
|
+
var _this$props = this.props,
|
|
86
|
+
locale = _this$props.locale,
|
|
87
|
+
children = _this$props.children;
|
|
88
|
+
var contextValue = this.getMemoizedContextValue(locale);
|
|
89
|
+
return /*#__PURE__*/React.createElement(LocaleContext.Provider, {
|
|
90
|
+
value: contextValue
|
|
91
|
+
}, children);
|
|
92
|
+
}
|
|
93
|
+
}]);
|
|
94
|
+
|
|
95
|
+
return LocaleProvider;
|
|
96
|
+
}(React.Component);
|
|
97
|
+
|
|
98
|
+
export { LocaleProvider as default };
|
|
99
|
+
LocaleProvider.defaultProps = {
|
|
100
|
+
// eslint-disable-next-line react/default-props-match-prop-types
|
|
101
|
+
locale: {}
|
|
102
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/style/index.less
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
::-webkit-scrollbar-thumb {
|
|
2
|
+
background: @NL90;
|
|
3
|
+
background-clip: padding-box;
|
|
4
|
+
border: 3px solid transparent;
|
|
5
|
+
border-radius: 6px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
::-webkit-scrollbar {
|
|
9
|
+
width: 12px;
|
|
10
|
+
height: 12px;
|
|
11
|
+
min-height: 12px;
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
|
|
3
|
-
.ald-breadcrumb {
|
|
3
|
+
.ald-breadcrumb.ant-breadcrumb li {
|
|
4
4
|
color: @NL50;
|
|
5
5
|
font-weight: 600;
|
|
6
6
|
font-size: 24px;
|
|
@@ -18,10 +18,18 @@
|
|
|
18
18
|
margin: 0;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
a {
|
|
22
22
|
color: @NL50;
|
|
23
23
|
|
|
24
|
-
&:
|
|
24
|
+
&:hover {
|
|
25
|
+
color: @NL0;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:last-child {
|
|
30
|
+
color: @NL0;
|
|
31
|
+
|
|
32
|
+
a {
|
|
25
33
|
color: @NL0;
|
|
26
34
|
}
|
|
27
35
|
}
|
package/lib/Button/index.js
CHANGED
|
@@ -13,7 +13,9 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
13
13
|
|
|
14
14
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _Loading = _interopRequireDefault(require("../Icon/icons/Loading"));
|
|
17
|
+
|
|
18
|
+
var _excluded = ["type", "size", "shape", "loading", "disabled", "icon", "className"];
|
|
17
19
|
|
|
18
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
21
|
|
|
@@ -42,6 +44,9 @@ function Button(props) {
|
|
|
42
44
|
size = _props$size === void 0 ? 'default' : _props$size,
|
|
43
45
|
_props$shape = props.shape,
|
|
44
46
|
shape = _props$shape === void 0 ? 'default' : _props$shape,
|
|
47
|
+
_props$loading = props.loading,
|
|
48
|
+
loading = _props$loading === void 0 ? false : _props$loading,
|
|
49
|
+
disabled = props.disabled,
|
|
45
50
|
icon = props.icon,
|
|
46
51
|
className = props.className,
|
|
47
52
|
rest = _objectWithoutProperties(props, _excluded);
|
|
@@ -102,7 +107,8 @@ function Button(props) {
|
|
|
102
107
|
if (iconNode) {
|
|
103
108
|
var p = _objectSpread({
|
|
104
109
|
className: '',
|
|
105
|
-
size: ICON_LARGE
|
|
110
|
+
size: ICON_LARGE,
|
|
111
|
+
fill: 'currentColor'
|
|
106
112
|
}, iconNode.props);
|
|
107
113
|
|
|
108
114
|
p.className = (0, _classnames.default)("".concat(iconPrefixCls, "-icon-left"), p.className, iconPrefixCls);
|
|
@@ -110,10 +116,20 @@ function Button(props) {
|
|
|
110
116
|
return /*#__PURE__*/_react.default.cloneElement(iconNode, p);
|
|
111
117
|
}
|
|
112
118
|
|
|
119
|
+
if (loading) {
|
|
120
|
+
return /*#__PURE__*/_react.default.createElement(_Loading.default, {
|
|
121
|
+
spin: true,
|
|
122
|
+
size: ICON_LARGE,
|
|
123
|
+
className: (0, _classnames.default)("".concat(iconPrefixCls, "-icon-left"), iconPrefixCls),
|
|
124
|
+
fill: "currentColor"
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
|
|
113
128
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
114
129
|
};
|
|
115
130
|
|
|
116
131
|
return /*#__PURE__*/_react.default.createElement(_button.default, Object.assign({}, rest, {
|
|
132
|
+
disabled: loading ? true : disabled,
|
|
117
133
|
icon: setIcon(icon),
|
|
118
134
|
type: getButtonType(type),
|
|
119
135
|
className: (0, _classnames.default)(prefix, "".concat(prefix, "-").concat(type), className, getButtonSizeClass(size)),
|
|
@@ -16,25 +16,11 @@
|
|
|
16
16
|
align-items: center;
|
|
17
17
|
justify-content: center;
|
|
18
18
|
height: @height-base;
|
|
19
|
-
padding: @Button-padding;
|
|
20
19
|
font-weight: 500;
|
|
21
20
|
font-size: 12px;
|
|
22
21
|
line-height: @height-base;
|
|
23
22
|
text-shadow: none;
|
|
24
|
-
|
|
25
|
-
.@{ald-iconfont-css-prefix} {
|
|
26
|
-
+ span {
|
|
27
|
-
margin-left: 4px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-icon-left {
|
|
31
|
-
margin-left: -4px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&-icon-right {
|
|
35
|
-
margin-right: -4px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
23
|
+
vertical-align: bottom;
|
|
38
24
|
}
|
|
39
25
|
|
|
40
26
|
&.ant-btn-loading::before {
|
|
@@ -116,9 +102,16 @@
|
|
|
116
102
|
}
|
|
117
103
|
}
|
|
118
104
|
|
|
105
|
+
&.ant-btn-circle {
|
|
106
|
+
justify-content: center;
|
|
107
|
+
min-width: @height-base;
|
|
108
|
+
height: @height-base;
|
|
109
|
+
padding: 0;
|
|
110
|
+
border-radius: 50%;
|
|
111
|
+
}
|
|
112
|
+
|
|
119
113
|
&-default,
|
|
120
114
|
&-secondary {
|
|
121
|
-
padding: @Button-border-padding;
|
|
122
115
|
color: @Button-secondary-color;
|
|
123
116
|
background-color: @Button-secondary-bgColor;
|
|
124
117
|
border: 1px solid;
|
|
@@ -163,14 +156,14 @@
|
|
|
163
156
|
border: none;
|
|
164
157
|
box-shadow: none;
|
|
165
158
|
|
|
166
|
-
&:focus
|
|
159
|
+
&:focus,
|
|
160
|
+
&:active {
|
|
167
161
|
color: @Button-text-color;
|
|
168
162
|
background-color: @Button-text-bgColor;
|
|
169
163
|
box-shadow: none;
|
|
170
164
|
}
|
|
171
165
|
|
|
172
166
|
&:hover,
|
|
173
|
-
&:active,
|
|
174
167
|
&.ant-btn-loading {
|
|
175
168
|
color: @Button-text-color-active;
|
|
176
169
|
background-color: @Button-text-bgColor-active;
|
|
@@ -233,8 +226,7 @@
|
|
|
233
226
|
|
|
234
227
|
&.ant-btn-icon-only {
|
|
235
228
|
justify-content: center;
|
|
236
|
-
width:
|
|
237
|
-
height: @height-base;
|
|
229
|
+
width: initial;
|
|
238
230
|
padding: 0;
|
|
239
231
|
vertical-align: bottom;
|
|
240
232
|
|
|
@@ -245,94 +237,104 @@
|
|
|
245
237
|
display: flex;
|
|
246
238
|
align-items: center;
|
|
247
239
|
justify-content: center;
|
|
248
|
-
margin
|
|
240
|
+
margin: 0;
|
|
249
241
|
}
|
|
250
242
|
}
|
|
251
243
|
|
|
252
|
-
&-circle {
|
|
253
|
-
justify-content: center;
|
|
254
|
-
width: @height-base;
|
|
255
|
-
min-width: auto;
|
|
256
|
-
padding: 0;
|
|
257
|
-
border-radius: 50%;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
244
|
&-large {
|
|
261
245
|
min-width: auto;
|
|
262
246
|
height: @Button-height-large;
|
|
247
|
+
padding: @Button-border-padding-large;
|
|
263
248
|
font-size: @Button-text-size-large;
|
|
264
249
|
border-radius: @Button-borderRadius-large;
|
|
265
250
|
|
|
266
251
|
&.ant-btn-icon-only {
|
|
267
|
-
width: @Button-height-large;
|
|
268
|
-
min-width: auto;
|
|
252
|
+
min-width: @Button-height-large;
|
|
269
253
|
height: @Button-height-large;
|
|
270
254
|
border-radius: @Button-borderRadius-large;
|
|
271
255
|
}
|
|
272
256
|
|
|
273
257
|
&.ant-btn-circle {
|
|
274
|
-
width: @Button-height-large;
|
|
258
|
+
min-width: @Button-height-large;
|
|
275
259
|
height: @Button-height-large;
|
|
276
260
|
border-radius: 50%;
|
|
277
261
|
}
|
|
262
|
+
|
|
263
|
+
.aldicon-icon-left + span {
|
|
264
|
+
margin-left: @Button-leftIcon-marginRight-large;
|
|
265
|
+
}
|
|
278
266
|
}
|
|
279
267
|
|
|
280
268
|
&-middle {
|
|
281
269
|
min-width: auto;
|
|
282
270
|
height: @Button-height-middle;
|
|
271
|
+
padding: @Button-border-padding-middle;
|
|
283
272
|
font-size: @Button-text-size-middle;
|
|
284
273
|
border-radius: @Button-borderRadius-middle;
|
|
285
274
|
|
|
286
275
|
&.ant-btn-icon-only {
|
|
287
|
-
width: @Button-height-middle;
|
|
288
|
-
min-width: auto;
|
|
276
|
+
min-width: @Button-height-middle;
|
|
289
277
|
height: @Button-height-middle;
|
|
290
278
|
border-radius: @Button-borderRadius-middle;
|
|
291
279
|
}
|
|
292
280
|
|
|
293
281
|
&.ant-btn-circle {
|
|
294
|
-
width: @Button-height-middle;
|
|
282
|
+
min-width: @Button-height-middle;
|
|
295
283
|
height: @Button-height-middle;
|
|
296
284
|
border-radius: 50%;
|
|
297
285
|
}
|
|
286
|
+
|
|
287
|
+
.aldicon-icon-left + span {
|
|
288
|
+
margin-left: @Button-leftIcon-marginRight-middle;
|
|
289
|
+
}
|
|
298
290
|
}
|
|
299
291
|
|
|
300
292
|
&-small {
|
|
301
293
|
height: @Button-height-small;
|
|
294
|
+
padding: @Button-border-padding-small;
|
|
302
295
|
font-size: @Button-text-size-small;
|
|
303
296
|
line-height: 22px;
|
|
304
297
|
border-radius: @Button-borderRadius-small;
|
|
305
298
|
|
|
306
299
|
&.ant-btn-icon-only {
|
|
307
|
-
width: @Button-height-small;
|
|
300
|
+
min-width: @Button-height-small;
|
|
308
301
|
height: @Button-height-small;
|
|
309
302
|
border-radius: @Button-borderRadius-small;
|
|
310
303
|
}
|
|
311
304
|
|
|
312
305
|
&.ant-btn-circle {
|
|
313
|
-
width: @Button-height-small;
|
|
306
|
+
min-width: @Button-height-small;
|
|
314
307
|
height: @Button-height-small;
|
|
315
308
|
border-radius: 50%;
|
|
316
309
|
}
|
|
310
|
+
|
|
311
|
+
.aldicon-icon-left + span {
|
|
312
|
+
margin-left: @Button-leftIcon-marginRight-small;
|
|
313
|
+
}
|
|
317
314
|
}
|
|
318
315
|
|
|
319
316
|
&-mini {
|
|
320
317
|
height: @Button-height-mini;
|
|
318
|
+
padding: @Button-border-padding-mini;
|
|
321
319
|
font-size: @Button-text-size-mini;
|
|
322
320
|
line-height: 22px;
|
|
323
321
|
border-radius: @Button-borderRadius-mini;
|
|
324
322
|
|
|
325
323
|
&.ant-btn-icon-only {
|
|
326
|
-
width: @Button-height-mini;
|
|
324
|
+
min-width: @Button-height-mini;
|
|
327
325
|
height: @Button-height-mini;
|
|
328
326
|
border-radius: @Button-borderRadius-mini;
|
|
329
327
|
}
|
|
330
328
|
|
|
331
329
|
&.ant-btn-circle {
|
|
332
|
-
width: @Button-height-mini;
|
|
330
|
+
min-width: @Button-height-mini;
|
|
333
331
|
height: @Button-height-mini;
|
|
334
332
|
border-radius: 50%;
|
|
335
333
|
}
|
|
334
|
+
|
|
335
|
+
.aldicon-icon-left + span {
|
|
336
|
+
margin-left: @Button-leftIcon-marginRight-mini;
|
|
337
|
+
}
|
|
336
338
|
}
|
|
337
339
|
}
|
|
338
340
|
}
|
|
@@ -2,24 +2,31 @@
|
|
|
2
2
|
@ald-iconfont-css-prefix: aldicon;
|
|
3
3
|
|
|
4
4
|
@Button-padding: 0 12px;
|
|
5
|
-
@Button-border-padding: 0 11px;
|
|
6
5
|
|
|
7
6
|
/** size控制 **/
|
|
8
7
|
@Button-height-large: 36px;
|
|
9
8
|
@Button-text-size-large: 16px;
|
|
10
9
|
@Button-borderRadius-large: 8px;
|
|
10
|
+
@Button-border-padding-large: 0 11px;
|
|
11
|
+
@Button-leftIcon-marginRight-large: 8px;
|
|
11
12
|
|
|
12
13
|
@Button-height-middle: 32px;
|
|
13
14
|
@Button-text-size-middle: 14px;
|
|
14
15
|
@Button-borderRadius-middle: 6px;
|
|
16
|
+
@Button-border-padding-middle: 0 11px;
|
|
17
|
+
@Button-leftIcon-marginRight-middle: 8px;
|
|
15
18
|
|
|
16
19
|
@Button-height-small: 28px;
|
|
17
20
|
@Button-text-size-small: 12px;
|
|
18
21
|
@Button-borderRadius-small: 4px;
|
|
22
|
+
@Button-border-padding-small: 0 7px;
|
|
23
|
+
@Button-leftIcon-marginRight-small: 4px;
|
|
19
24
|
|
|
20
25
|
@Button-height-mini: 24px;
|
|
21
26
|
@Button-text-size-mini: 12px;
|
|
22
27
|
@Button-borderRadius-mini: 4px;
|
|
28
|
+
@Button-border-padding-mini: 0 7px;
|
|
29
|
+
@Button-leftIcon-marginRight-mini: 4px;
|
|
23
30
|
|
|
24
31
|
/**** type控制 ****/
|
|
25
32
|
@Button-primary-bgColor: @B60;
|
|
@@ -45,7 +52,7 @@
|
|
|
45
52
|
@Button-secondary-borderColor: @NL90;
|
|
46
53
|
@Button-secondary-borderColor-active: @B60;
|
|
47
54
|
|
|
48
|
-
@Button-text-bgColor:
|
|
55
|
+
@Button-text-bgColor: transparent;
|
|
49
56
|
@Button-text-bgColor-active: @NL97;
|
|
50
57
|
@Button-text-bgColor-disable: @BG100;
|
|
51
58
|
@Button-text-color: @NL30;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
require("antd/es/card/style");
|
|
9
|
+
|
|
10
|
+
var _card = _interopRequireDefault(require("antd/es/card"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
var _default = _card.default;
|
|
15
|
+
exports.default = _default;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '../../style/index.less';
|
package/lib/Checkbox/index.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
|
|
3
3
|
.ald-checkbox {
|
|
4
|
+
height: 20px;
|
|
5
|
+
color: @NL0;
|
|
6
|
+
font-size: 14px;
|
|
7
|
+
line-height: 20px;
|
|
8
|
+
|
|
9
|
+
.ant-checkbox-wrapper {
|
|
10
|
+
height: 20px;
|
|
11
|
+
color: @NL0;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
line-height: 20px;
|
|
15
|
+
}
|
|
16
|
+
|
|
4
17
|
.ant-checkbox-inner {
|
|
5
18
|
width: 16px;
|
|
6
19
|
height: 16px;
|
|
@@ -39,6 +52,7 @@
|
|
|
39
52
|
cursor: default;
|
|
40
53
|
|
|
41
54
|
& + span {
|
|
55
|
+
color: @NL0;
|
|
42
56
|
cursor: default;
|
|
43
57
|
}
|
|
44
58
|
|
|
@@ -72,6 +86,11 @@
|
|
|
72
86
|
}
|
|
73
87
|
}
|
|
74
88
|
}
|
|
89
|
+
|
|
90
|
+
.ant-checkbox + span {
|
|
91
|
+
padding-right: 10px;
|
|
92
|
+
padding-left: 10px;
|
|
93
|
+
}
|
|
75
94
|
}
|
|
76
95
|
|
|
77
96
|
.ant-checkbox-group.ald-checkbox,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
require("antd/es/drawer/style");
|
|
9
|
+
|
|
10
|
+
var _drawer = _interopRequireDefault(require("antd/es/drawer"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
var _default = _drawer.default;
|
|
15
|
+
exports.default = _default;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '../../style/index.less';
|