ztxkui 4.2.23-581 → 4.2.23-582
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/components/Button/demoComponents/index.js +3 -1
- package/dist/components/Calendar/calendar.d.ts +0 -1
- package/dist/components/Calendar/calendar.js +1 -1
- package/dist/components/DatePicker/data-picker.d.ts +0 -1
- package/dist/components/DatePicker/data-picker.js +1 -1
- package/package.json +1 -1
|
@@ -65,6 +65,8 @@ var Demo = function () {
|
|
|
65
65
|
return [2 /*return*/, new Promise(function () { })];
|
|
66
66
|
});
|
|
67
67
|
}); }, disabled: false, type: "primary" }, i18next.t('点击1')),
|
|
68
|
-
React.createElement(Button, { toolTip: "\u70B9\u51FB\u67E5\u770B\u8BE6\u60C5" }, "\u4F60\u597D")
|
|
68
|
+
React.createElement(Button, { toolTip: "\u70B9\u51FB\u67E5\u770B\u8BE6\u60C5" }, "\u4F60\u597D"),
|
|
69
|
+
React.createElement(Button, { toolTip: "\u70B9\u51FB\u67E5\u770B\u8BE6\u60C5", type: "default" }, "\u4F60\u597D"),
|
|
70
|
+
React.createElement(Button, null, "\u4F60\u597D")));
|
|
69
71
|
};
|
|
70
72
|
export default Demo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import dayjsGenerateConfig from 'rc-picker/lib/generate/dayjs';
|
|
2
2
|
import generateCalendar from 'antd/es/calendar/generateCalendar';
|
|
3
|
-
import 'antd/es/calendar/style';
|
|
3
|
+
// import 'antd/es/calendar/style';
|
|
4
4
|
var Calendar = generateCalendar(dayjsGenerateConfig);
|
|
5
5
|
export default Calendar;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import 'antd/es/date-picker/style/index';
|
|
3
2
|
declare const RangePicker: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
|
|
4
3
|
declare const MonthPicker: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
|
|
5
4
|
declare const QuarterPicker: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
|
|
@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import dayjsGenerateConfig from 'rc-picker/lib/generate/dayjs';
|
|
14
14
|
import generatePicker from 'antd/es/date-picker/generatePicker';
|
|
15
|
-
import 'antd/es/date-picker/style/index';
|
|
15
|
+
// import 'antd/es/date-picker/style/index';
|
|
16
16
|
import { usePopupContainer } from '../Table/table-context';
|
|
17
17
|
var AntDatePicker = generatePicker(dayjsGenerateConfig);
|
|
18
18
|
// 包装函数:为 AntDatePicker 子组件统一添加 getPopupContainer 逻辑
|