@ray-js/smart-ui 2.1.6 → 2.1.7-beta-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/dist/@types/action-sheet/index.js +1 -2
- package/dist/@types/base/component.js +1 -2
- package/dist/@types/base/events.js +1 -2
- package/dist/@types/base/external-class-name.js +1 -2
- package/dist/@types/base/index.d.ts +4 -4
- package/dist/@types/base/index.js +1 -20
- package/dist/@types/base/open-type.js +1 -2
- package/dist/@types/battery/index.js +1 -2
- package/dist/@types/bottom-sheet/index.js +1 -2
- package/dist/@types/button/index.js +1 -2
- package/dist/@types/calendar/index.js +1 -2
- package/dist/@types/cascader/index.js +1 -2
- package/dist/@types/cell/index.js +1 -2
- package/dist/@types/cell-group/index.js +1 -2
- package/dist/@types/checkbox/index.js +1 -2
- package/dist/@types/checkbox-group/index.js +1 -2
- package/dist/@types/circle/index.js +1 -2
- package/dist/@types/col/index.js +1 -2
- package/dist/@types/collapse/index.js +1 -2
- package/dist/@types/collapse-item/index.js +1 -2
- package/dist/@types/config-provider/index.js +1 -2
- package/dist/@types/config-provider/theme-vars.js +1 -2
- package/dist/@types/count-down/index.js +1 -2
- package/dist/@types/custom-keyboard/index.js +1 -2
- package/dist/@types/datetime-picker/index.js +1 -2
- package/dist/@types/dialog/dialog.js +1 -2
- package/dist/@types/dialog/index.d.ts +1 -1
- package/dist/@types/dialog/index.js +1 -2
- package/dist/@types/divider/index.js +1 -2
- package/dist/@types/dropdown-item/index.js +1 -2
- package/dist/@types/dropdown-menu/index.js +1 -2
- package/dist/@types/empty/index.js +1 -2
- package/dist/@types/field/index.js +1 -2
- package/dist/@types/grid/index.js +1 -2
- package/dist/@types/grid-item/index.js +1 -2
- package/dist/@types/icon/index.js +1 -2
- package/dist/@types/image/index.js +1 -2
- package/dist/@types/index-anchor/index.js +1 -2
- package/dist/@types/index-bar/index.js +1 -2
- package/dist/@types/index.d.ts +62 -64
- package/dist/@types/index.js +1 -80
- package/dist/@types/loading/index.js +1 -2
- package/dist/@types/nav-bar/index.js +1 -2
- package/dist/@types/notice-bar/index.js +1 -2
- package/dist/@types/notify/index.js +1 -2
- package/dist/@types/notify/notify.js +1 -2
- package/dist/@types/overlay/index.js +1 -2
- package/dist/@types/picker/index.js +1 -2
- package/dist/@types/popup/index.js +1 -2
- package/dist/@types/progress/index.js +1 -2
- package/dist/@types/radio/index.js +1 -2
- package/dist/@types/radio-group/index.js +1 -2
- package/dist/@types/rate/index.js +1 -2
- package/dist/@types/row/index.js +1 -2
- package/dist/@types/search/index.js +1 -2
- package/dist/@types/sidebar/index.js +1 -2
- package/dist/@types/sidebar-item/index.js +1 -2
- package/dist/@types/skeleton/index.js +1 -2
- package/dist/@types/slider/index.js +1 -2
- package/dist/@types/stepper/index.js +1 -2
- package/dist/@types/steps/index.js +1 -2
- package/dist/@types/sticky/index.js +1 -2
- package/dist/@types/swipe-cell/index.js +1 -2
- package/dist/@types/switch/index.js +1 -2
- package/dist/@types/tab/index.js +1 -2
- package/dist/@types/tabbar/index.js +1 -2
- package/dist/@types/tabbar-item/index.js +1 -2
- package/dist/@types/tabs/index.js +1 -2
- package/dist/@types/tag/index.js +1 -2
- package/dist/@types/toast/index.js +1 -2
- package/dist/@types/toast/toast.js +1 -3
- package/dist/@types/transition/index.js +1 -2
- package/dist/@types/tree-select/index.js +1 -2
- package/dist/action-sheet/ActionSheet.js +3 -8
- package/dist/action-sheet/PropTypes.js +1 -2
- package/dist/action-sheet/index.d.ts +1 -1
- package/dist/action-sheet/index.js +3 -24
- package/dist/base/index.js +1 -2
- package/dist/battery/Battery.js +3 -8
- package/dist/battery/PropTypes.js +1 -2
- package/dist/battery/index.d.ts +1 -1
- package/dist/battery/index.js +3 -24
- package/dist/bottom-sheet/BottomSheet.js +3 -8
- package/dist/bottom-sheet/PropTypes.js +1 -2
- package/dist/bottom-sheet/index.d.ts +1 -1
- package/dist/bottom-sheet/index.js +3 -24
- package/dist/button/Button.js +3 -8
- package/dist/button/PropTypes.js +1 -2
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.js +3 -24
- package/dist/calendar/Calendar.js +3 -8
- package/dist/calendar/PropTypes.js +1 -2
- package/dist/calendar/index.d.ts +1 -1
- package/dist/calendar/index.js +3 -24
- package/dist/cascader/Cascader.js +3 -8
- package/dist/cascader/PropTypes.js +1 -2
- package/dist/cascader/index.d.ts +1 -1
- package/dist/cascader/index.js +3 -24
- package/dist/cell/Cell.js +3 -8
- package/dist/cell/PropTypes.js +1 -2
- package/dist/cell/index.d.ts +1 -1
- package/dist/cell/index.js +3 -24
- package/dist/cell-group/CellGroup.js +2 -7
- package/dist/cell-group/PropTypes.js +1 -2
- package/dist/cell-group/index.d.ts +1 -1
- package/dist/cell-group/index.js +3 -24
- package/dist/checkbox/Checkbox.js +3 -8
- package/dist/checkbox/PropTypes.js +1 -2
- package/dist/checkbox/index.d.ts +1 -1
- package/dist/checkbox/index.js +3 -24
- package/dist/checkbox-group/CheckboxGroup.js +3 -8
- package/dist/checkbox-group/PropTypes.js +1 -2
- package/dist/checkbox-group/index.d.ts +1 -1
- package/dist/checkbox-group/index.js +3 -24
- package/dist/circle/Circle.d.ts +1 -1
- package/dist/circle/Circle.js +4 -4
- package/dist/circle/PropTypes.d.ts +58 -2
- package/dist/circle/PropTypes.js +1 -2
- package/dist/circle/index.d.ts +3 -2
- package/dist/circle/index.js +18 -24
- package/dist/col/Col.js +3 -8
- package/dist/col/PropTypes.js +1 -2
- package/dist/col/index.d.ts +1 -1
- package/dist/col/index.js +3 -24
- package/dist/collapse/Collapse.js +2 -7
- package/dist/collapse/PropTypes.js +1 -2
- package/dist/collapse/index.d.ts +1 -1
- package/dist/collapse/index.js +4 -25
- package/dist/collapse-item/CollapseItem.js +2 -7
- package/dist/collapse-item/PropTypes.js +1 -2
- package/dist/collapse-item/index.d.ts +1 -1
- package/dist/collapse-item/index.js +4 -25
- package/dist/common/withReactProps.js +26 -45
- package/dist/config-provider/ConfigProvider.js +2 -7
- package/dist/config-provider/PropTypes.js +1 -2
- package/dist/config-provider/index.d.ts +1 -1
- package/dist/config-provider/index.js +4 -25
- package/dist/count-down/CountDown.js +3 -8
- package/dist/count-down/PropTypes.js +1 -2
- package/dist/count-down/index.d.ts +1 -1
- package/dist/count-down/index.js +3 -24
- package/dist/custom-keyboard/CustomKeyboard.js +3 -8
- package/dist/custom-keyboard/PropTypes.js +1 -2
- package/dist/custom-keyboard/index.d.ts +1 -1
- package/dist/custom-keyboard/index.js +3 -24
- package/dist/datetime-picker/DateTimePicker.js +3 -8
- package/dist/datetime-picker/PropTypes.js +1 -2
- package/dist/datetime-picker/index.d.ts +1 -1
- package/dist/datetime-picker/index.js +3 -24
- package/dist/dialog/Dialog.js +5 -11
- package/dist/dialog/PropTypes.js +1 -2
- package/dist/dialog/index.d.ts +1 -1
- package/dist/dialog/index.js +4 -35
- package/dist/divider/Divider.js +2 -7
- package/dist/divider/PropTypes.js +1 -2
- package/dist/divider/index.d.ts +1 -1
- package/dist/divider/index.js +3 -24
- package/dist/dropdown-item/DropdownItem.js +3 -8
- package/dist/dropdown-item/PropTypes.js +1 -2
- package/dist/dropdown-item/index.d.ts +1 -1
- package/dist/dropdown-item/index.js +3 -24
- package/dist/dropdown-menu/DropdownMenu.js +3 -8
- package/dist/dropdown-menu/PropTypes.js +1 -2
- package/dist/dropdown-menu/index.d.ts +1 -1
- package/dist/dropdown-menu/index.js +3 -24
- package/dist/empty/Empty.js +3 -8
- package/dist/empty/PropTypes.js +1 -2
- package/dist/empty/index.d.ts +1 -1
- package/dist/empty/index.js +3 -24
- package/dist/field/Field.js +2 -7
- package/dist/field/PropTypes.js +1 -2
- package/dist/field/index.d.ts +1 -1
- package/dist/field/index.js +4 -25
- package/dist/grid/Grid.js +3 -8
- package/dist/grid/PropTypes.js +1 -2
- package/dist/grid/index.d.ts +1 -1
- package/dist/grid/index.js +3 -24
- package/dist/grid-item/GridItem.js +3 -8
- package/dist/grid-item/PropTypes.js +1 -2
- package/dist/grid-item/index.d.ts +1 -1
- package/dist/grid-item/index.js +3 -24
- package/dist/icon/Icon.js +3 -8
- package/dist/icon/PropTypes.js +1 -2
- package/dist/icon/index.d.ts +1 -1
- package/dist/icon/index.js +3 -24
- package/dist/image/Image.js +2 -7
- package/dist/image/PropTypes.js +1 -2
- package/dist/image/index.d.ts +1 -1
- package/dist/image/index.js +4 -25
- package/dist/index-anchor/IndexAnchor.js +3 -8
- package/dist/index-anchor/PropTypes.js +1 -2
- package/dist/index-anchor/index.d.ts +1 -1
- package/dist/index-anchor/index.js +3 -24
- package/dist/index-bar/IndexBar.js +3 -8
- package/dist/index-bar/PropTypes.js +1 -2
- package/dist/index-bar/index.d.ts +1 -1
- package/dist/index-bar/index.js +3 -24
- package/dist/index.d.ts +61 -59
- package/dist/index.js +60 -77
- package/dist/loading/Loading.js +3 -8
- package/dist/loading/PropTypes.js +1 -2
- package/dist/loading/index.d.ts +1 -1
- package/dist/loading/index.js +3 -24
- package/dist/nav-bar/NavBar.js +3 -8
- package/dist/nav-bar/PropTypes.js +1 -2
- package/dist/nav-bar/index.d.ts +1 -1
- package/dist/nav-bar/index.js +3 -24
- package/dist/notice-bar/NoticeBar.js +3 -8
- package/dist/notice-bar/PropTypes.d.ts +2 -2
- package/dist/notice-bar/PropTypes.js +1 -2
- package/dist/notice-bar/index.d.ts +1 -1
- package/dist/notice-bar/index.js +3 -24
- package/dist/notify/Notify.js +4 -10
- package/dist/notify/PropTypes.js +1 -2
- package/dist/notify/index.d.ts +1 -1
- package/dist/notify/index.js +3 -34
- package/dist/overlay/Overlay.js +3 -8
- package/dist/overlay/PropTypes.d.ts +2 -2
- package/dist/overlay/PropTypes.js +1 -2
- package/dist/overlay/index.d.ts +1 -1
- package/dist/overlay/index.js +3 -24
- package/dist/picker/Picker.js +3 -8
- package/dist/picker/PropTypes.js +1 -2
- package/dist/picker/index.d.ts +1 -1
- package/dist/picker/index.js +3 -24
- package/dist/popup/Popup.js +3 -8
- package/dist/popup/PropTypes.js +1 -2
- package/dist/popup/index.d.ts +1 -1
- package/dist/popup/index.js +3 -24
- package/dist/progress/Circle.js +3 -8
- package/dist/progress/Progress.js +3 -8
- package/dist/progress/PropTypes.js +1 -2
- package/dist/progress/index.js +8 -25
- package/dist/radio/PropTypes.d.ts +2 -2
- package/dist/radio/PropTypes.js +1 -2
- package/dist/radio/Radio.js +3 -8
- package/dist/radio/index.d.ts +1 -1
- package/dist/radio/index.js +3 -24
- package/dist/radio-group/PropTypes.js +1 -2
- package/dist/radio-group/RadioGroup.js +3 -8
- package/dist/radio-group/index.d.ts +1 -1
- package/dist/radio-group/index.js +3 -24
- package/dist/rate/PropTypes.d.ts +1 -1
- package/dist/rate/PropTypes.js +1 -2
- package/dist/rate/Rate.js +3 -8
- package/dist/rate/index.d.ts +1 -1
- package/dist/rate/index.js +3 -24
- package/dist/row/PropTypes.js +1 -2
- package/dist/row/Row.js +3 -8
- package/dist/row/index.d.ts +1 -1
- package/dist/row/index.js +3 -24
- package/dist/search/PropTypes.js +1 -2
- package/dist/search/Search.js +3 -8
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +3 -24
- package/dist/sidebar/PropTypes.js +1 -2
- package/dist/sidebar/Sidebar.js +3 -8
- package/dist/sidebar/index.d.ts +1 -1
- package/dist/sidebar/index.js +3 -24
- package/dist/sidebar-item/PropTypes.js +1 -2
- package/dist/sidebar-item/SidebarItem.js +3 -8
- package/dist/sidebar-item/index.d.ts +1 -1
- package/dist/sidebar-item/index.js +3 -24
- package/dist/skeleton/PropTypes.js +1 -2
- package/dist/skeleton/Skeleton.js +3 -8
- package/dist/skeleton/index.d.ts +1 -1
- package/dist/skeleton/index.js +3 -24
- package/dist/slider/PropTypes.js +1 -2
- package/dist/slider/RangeSlider.js +6 -22
- package/dist/slider/index.js +7 -25
- package/dist/stepper/PropTypes.js +1 -2
- package/dist/stepper/Stepper.js +3 -8
- package/dist/stepper/index.d.ts +1 -1
- package/dist/stepper/index.js +3 -24
- package/dist/steps/PropTypes.js +1 -2
- package/dist/steps/Steps.js +3 -8
- package/dist/steps/index.d.ts +1 -1
- package/dist/steps/index.js +3 -24
- package/dist/sticky/PropTypes.js +1 -2
- package/dist/sticky/Sticky.js +3 -8
- package/dist/sticky/index.d.ts +1 -1
- package/dist/sticky/index.js +3 -24
- package/dist/swipe-cell/PropTypes.js +1 -2
- package/dist/swipe-cell/SwipeCell.js +3 -8
- package/dist/swipe-cell/index.d.ts +1 -1
- package/dist/swipe-cell/index.js +3 -24
- package/dist/switch/PropTypes.js +1 -2
- package/dist/switch/Switch.js +2 -7
- package/dist/switch/index.d.ts +1 -1
- package/dist/switch/index.js +4 -25
- package/dist/tab/PropTypes.js +1 -2
- package/dist/tab/Tab.js +8 -24
- package/dist/tab/index.d.ts +1 -1
- package/dist/tab/index.js +3 -24
- package/dist/tabbar/PropTypes.js +1 -2
- package/dist/tabbar/Tabbar.js +3 -8
- package/dist/tabbar/index.d.ts +1 -1
- package/dist/tabbar/index.js +3 -24
- package/dist/tabbar-item/PropTypes.js +1 -2
- package/dist/tabbar-item/TabbarItem.js +3 -8
- package/dist/tabbar-item/index.d.ts +1 -1
- package/dist/tabbar-item/index.js +3 -24
- package/dist/tabs/PropTypes.js +1 -2
- package/dist/tabs/Tabs.js +12 -28
- package/dist/tabs/index.d.ts +1 -1
- package/dist/tabs/index.js +3 -24
- package/dist/tag/PropTypes.js +1 -2
- package/dist/tag/Tag.js +3 -8
- package/dist/tag/index.d.ts +1 -1
- package/dist/tag/index.js +3 -24
- package/dist/toast/PropTypes.js +1 -2
- package/dist/toast/index.d.ts +1 -1
- package/dist/toast/index.js +4 -35
- package/dist/toast/toast.js +5 -11
- package/dist/transition/PropTypes.js +1 -2
- package/dist/transition/Transition.js +3 -8
- package/dist/transition/index.d.ts +1 -1
- package/dist/transition/index.js +3 -24
- package/dist/tree-select/PropTypes.js +1 -2
- package/dist/tree-select/TreeSelect.js +3 -8
- package/dist/tree-select/index.d.ts +1 -1
- package/dist/tree-select/index.js +3 -24
- package/package.json +2 -2
|
@@ -1,2 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { SmartComponent } from '../base';
|
|
2
|
+
export interface SmartCircleProps {
|
|
3
|
+
/**
|
|
4
|
+
* 目标进度
|
|
5
|
+
*
|
|
6
|
+
* @default 0
|
|
7
|
+
*/
|
|
8
|
+
percent?: number;
|
|
9
|
+
/**
|
|
10
|
+
* 指定`canvas`类型
|
|
11
|
+
*/
|
|
12
|
+
type?: '2d';
|
|
13
|
+
/**
|
|
14
|
+
* 圆环直径,默认单位为 `px`
|
|
15
|
+
*
|
|
16
|
+
* @default 100
|
|
17
|
+
*/
|
|
18
|
+
size?: number;
|
|
19
|
+
/**
|
|
20
|
+
* 进度条颜色,传入对象格式可以定义渐变色
|
|
21
|
+
*
|
|
22
|
+
* @default '#1989fa'
|
|
23
|
+
*/
|
|
24
|
+
color?: string | Record<string, string>;
|
|
25
|
+
/**
|
|
26
|
+
* 轨道颜色
|
|
27
|
+
*
|
|
28
|
+
* @default '#fff'
|
|
29
|
+
*/
|
|
30
|
+
'layer-color'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* 填充颜色
|
|
33
|
+
*/
|
|
34
|
+
fill?: string;
|
|
35
|
+
/**
|
|
36
|
+
* 动画速度(单位为 value/s)
|
|
37
|
+
*
|
|
38
|
+
* @default 50
|
|
39
|
+
*/
|
|
40
|
+
speed?: number;
|
|
41
|
+
/**
|
|
42
|
+
* 文字
|
|
43
|
+
*/
|
|
44
|
+
text?: string;
|
|
45
|
+
/**
|
|
46
|
+
* 进度条宽度
|
|
47
|
+
*
|
|
48
|
+
* @default 4
|
|
49
|
+
*/
|
|
50
|
+
'stroke-width'?: number;
|
|
51
|
+
/**
|
|
52
|
+
* 是否顺时针增加
|
|
53
|
+
*
|
|
54
|
+
* @default true
|
|
55
|
+
*/
|
|
56
|
+
clockwise?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export type SmartCircle = SmartComponent<SmartCircleProps>;
|
package/dist/circle/PropTypes.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
package/dist/circle/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { SmartCircle } from './PropTypes';
|
|
2
|
+
declare function Circle(props: SmartCircle): import("react/jsx-runtime").JSX.Element;
|
|
2
3
|
export { Circle };
|
|
3
|
-
export
|
|
4
|
+
export { SmartCircleProps, SmartCircle } from './PropTypes';
|
package/dist/circle/index.js
CHANGED
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
exports.__esModule = true;
|
|
20
|
-
exports.Circle = void 0;
|
|
21
|
-
var Circle_1 = __importDefault(require("./Circle"));
|
|
22
|
-
var Circle = Circle_1["default"];
|
|
23
|
-
exports.Circle = Circle;
|
|
24
|
-
__exportStar(require("./PropTypes"), exports);
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import CircleComp from './Circle';
|
|
3
|
+
function Circle(props) {
|
|
4
|
+
return (_jsx(CircleComp
|
|
5
|
+
// @ts-ignore 属性修改,breaking change 向下兼容
|
|
6
|
+
, Object.assign({
|
|
7
|
+
// @ts-ignore 属性修改,breaking change 向下兼容
|
|
8
|
+
size: props.size,
|
|
9
|
+
// @ts-ignore 属性修改,breaking change 向下兼容
|
|
10
|
+
trackWidth: props['stroke-width'],
|
|
11
|
+
// @ts-ignore 属性修改,breaking change 向下兼容
|
|
12
|
+
trackColor: props['layer-color'],
|
|
13
|
+
// @ts-ignore 属性修改,breaking change 向下兼容
|
|
14
|
+
fillColor: props.color,
|
|
15
|
+
// @ts-ignore 属性修改,breaking change 向下兼容
|
|
16
|
+
percent: props.value }, props)));
|
|
17
|
+
}
|
|
18
|
+
export { Circle };
|
package/dist/col/Col.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
exports.__esModule = true;
|
|
6
1
|
// @ts-ignore
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import Col from '@tuya-miniapp/smart-ui/lib/col/index';
|
|
3
|
+
import { withReactProps } from '../common/withReactProps';
|
|
4
|
+
export default withReactProps(Col);
|
package/dist/col/PropTypes.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
package/dist/col/index.d.ts
CHANGED
package/dist/col/index.js
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
-
};
|
|
19
|
-
exports.__esModule = true;
|
|
20
|
-
exports.Col = void 0;
|
|
21
|
-
var Col_1 = __importDefault(require("./Col"));
|
|
22
|
-
var Col = Col_1["default"];
|
|
23
|
-
exports.Col = Col;
|
|
24
|
-
__exportStar(require("./PropTypes"), exports);
|
|
1
|
+
import _Col from './Col';
|
|
2
|
+
const Col = _Col;
|
|
3
|
+
export { Col };
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
exports.__esModule = true;
|
|
6
1
|
// @ts-ignore
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import Collapse from '@tuya-miniapp/smart-ui/lib/collapse/index';
|
|
3
|
+
export default Collapse;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
package/dist/collapse/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
import type { SmartCollapse } from './PropTypes';
|
|
3
3
|
declare const Collapse: import("react").FC<SmartCollapse>;
|
|
4
4
|
export { Collapse };
|
|
5
|
-
export
|
|
5
|
+
export { SmartCollapse, SmartCollapseEvents, SmartCollapseExternalClassName, SmartCollapseProps, SmartCollapseBaseEvent, SmartCollapseChangeEvent, } from './PropTypes';
|
package/dist/collapse/index.js
CHANGED
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
-
};
|
|
19
|
-
exports.__esModule = true;
|
|
20
|
-
exports.Collapse = void 0;
|
|
21
|
-
var withReactProps_1 = require("../common/withReactProps");
|
|
22
|
-
var Collapse_1 = __importDefault(require("./Collapse"));
|
|
23
|
-
var Collapse = (0, withReactProps_1.withReactProps)(Collapse_1["default"]);
|
|
24
|
-
exports.Collapse = Collapse;
|
|
25
|
-
__exportStar(require("./PropTypes"), exports);
|
|
1
|
+
import { withReactProps } from '../common/withReactProps';
|
|
2
|
+
import _Collapse from './Collapse';
|
|
3
|
+
const Collapse = withReactProps(_Collapse);
|
|
4
|
+
export { Collapse };
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
exports.__esModule = true;
|
|
6
1
|
// @ts-ignore
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import CollapseItem from '@tuya-miniapp/smart-ui/lib/collapse-item/index';
|
|
3
|
+
export default CollapseItem;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
import type { SmartCollapseItem } from './PropTypes';
|
|
3
3
|
declare const CollapseItem: import("react").FC<SmartCollapseItem>;
|
|
4
4
|
export { CollapseItem };
|
|
5
|
-
export
|
|
5
|
+
export { SmartCollapseItem, SmartCollapseItemExternalClassName, SmartCollapseItemProps, } from './PropTypes';
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
-
};
|
|
19
|
-
exports.__esModule = true;
|
|
20
|
-
exports.CollapseItem = void 0;
|
|
21
|
-
var withReactProps_1 = require("../common/withReactProps");
|
|
22
|
-
var CollapseItem_1 = __importDefault(require("./CollapseItem"));
|
|
23
|
-
var CollapseItem = (0, withReactProps_1.withReactProps)(CollapseItem_1["default"]);
|
|
24
|
-
exports.CollapseItem = CollapseItem;
|
|
25
|
-
__exportStar(require("./PropTypes"), exports);
|
|
1
|
+
import { withReactProps } from '../common/withReactProps';
|
|
2
|
+
import _CollapseItem from './CollapseItem';
|
|
3
|
+
const CollapseItem = withReactProps(_CollapseItem);
|
|
4
|
+
export { CollapseItem };
|
|
@@ -1,68 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
exports.__esModule = true;
|
|
17
|
-
exports.withReactProps = void 0;
|
|
18
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
-
var react_1 = __importDefault(require("react"));
|
|
20
|
-
var lodash_es_1 = require("lodash-es");
|
|
21
|
-
var styleObj2Str = function (style) {
|
|
22
|
-
if (!(0, lodash_es_1.isObject)(style))
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { isObject, mapKeys, omit, kebabCase } from 'lodash-es';
|
|
4
|
+
const styleObj2Str = (style) => {
|
|
5
|
+
if (!isObject(style))
|
|
23
6
|
return style;
|
|
24
|
-
return Object.entries(style).reduce(
|
|
25
|
-
|
|
26
|
-
return "".concat(acc).concat(key, ": ").concat(value, ";");
|
|
7
|
+
return Object.entries(style).reduce((acc, [key, value]) => {
|
|
8
|
+
return `${acc}${key}: ${value};`;
|
|
27
9
|
}, '');
|
|
28
10
|
};
|
|
29
|
-
|
|
30
|
-
return
|
|
11
|
+
export const withReactProps = (WrappedComponent) => {
|
|
12
|
+
return (props) => {
|
|
31
13
|
var _a;
|
|
32
14
|
// 自身是否是一个 Slot 组件
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
vantProps =
|
|
15
|
+
const isSelfSlot = typeof (props === null || props === void 0 ? void 0 : props.slot) === 'string';
|
|
16
|
+
const slotProps = isSelfSlot ? {} : (_a = props === null || props === void 0 ? void 0 : props.slot) !== null && _a !== void 0 ? _a : {};
|
|
17
|
+
const slotPropsNames = Object.keys(slotProps);
|
|
18
|
+
const omitPropKeys = ['className', 'slot', 'children'];
|
|
19
|
+
const stylePropsKeys = [];
|
|
20
|
+
let vantProps = omit(props, omitPropKeys);
|
|
21
|
+
vantProps = mapKeys(vantProps, (__, key) => {
|
|
40
22
|
/**
|
|
41
23
|
* React 中为 onClick,小程序中的 Event 标准写法为 bind:click,故这里会转一道
|
|
42
24
|
*/
|
|
43
25
|
if (key.startsWith('on')) {
|
|
44
|
-
|
|
26
|
+
const eventKey = `bind:${kebabCase(key.slice(2))}`;
|
|
45
27
|
return eventKey;
|
|
46
28
|
}
|
|
47
29
|
if (key.endsWith('Style')) {
|
|
48
|
-
|
|
30
|
+
const stylePropKey = kebabCase(key);
|
|
49
31
|
stylePropsKeys.push(stylePropKey);
|
|
50
32
|
return stylePropKey;
|
|
51
33
|
}
|
|
52
34
|
/**
|
|
53
35
|
* React 为 camelCase,Smart 中的 props 统一为 kebab-case,故这里会转一道
|
|
54
36
|
*/
|
|
55
|
-
return
|
|
37
|
+
return kebabCase(key);
|
|
56
38
|
});
|
|
57
39
|
/**
|
|
58
40
|
* React 中为 className,Smart 中使用 class,故这里会转一道
|
|
59
41
|
*/
|
|
60
42
|
if (props.className) {
|
|
61
|
-
vantProps
|
|
43
|
+
vantProps.class = props.className;
|
|
62
44
|
}
|
|
63
45
|
if ((stylePropsKeys === null || stylePropsKeys === void 0 ? void 0 : stylePropsKeys.length) > 0) {
|
|
64
|
-
stylePropsKeys.forEach(
|
|
65
|
-
|
|
46
|
+
stylePropsKeys.forEach(stylePropKey => {
|
|
47
|
+
const stylePropValue = vantProps[stylePropKey];
|
|
66
48
|
vantProps[stylePropKey] = styleObj2Str(stylePropValue);
|
|
67
49
|
});
|
|
68
50
|
}
|
|
@@ -71,12 +53,11 @@ var withReactProps = function (WrappedComponent) {
|
|
|
71
53
|
* 统一通过 slot props 来定义
|
|
72
54
|
*/
|
|
73
55
|
if ((slotPropsNames === null || slotPropsNames === void 0 ? void 0 : slotPropsNames.length) > 0) {
|
|
74
|
-
return ((
|
|
75
|
-
|
|
76
|
-
return
|
|
56
|
+
return (_jsxs(WrappedComponent, Object.assign({}, vantProps, { children: [slotPropsNames.map(slotName => {
|
|
57
|
+
const name = kebabCase(slotName);
|
|
58
|
+
return React.cloneElement(slotProps === null || slotProps === void 0 ? void 0 : slotProps[slotName], { key: slotName, slot: name });
|
|
77
59
|
}), props.children] })));
|
|
78
60
|
}
|
|
79
|
-
return ((
|
|
61
|
+
return (_jsx(WrappedComponent, Object.assign({}, (isSelfSlot ? { slot: props.slot } : {}), vantProps, { children: props.children })));
|
|
80
62
|
};
|
|
81
63
|
};
|
|
82
|
-
exports.withReactProps = withReactProps;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
exports.__esModule = true;
|
|
6
1
|
// @ts-ignore
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import ConfigProvider from '@tuya-miniapp/smart-ui/lib/config-provider/index';
|
|
3
|
+
export default ConfigProvider;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
-
};
|
|
19
|
-
exports.__esModule = true;
|
|
20
|
-
exports.ConfigProvider = void 0;
|
|
21
|
-
var withReactProps_1 = require("../common/withReactProps");
|
|
22
|
-
var ConfigProvider_1 = __importDefault(require("./ConfigProvider"));
|
|
23
|
-
var ConfigProvider = (0, withReactProps_1.withReactProps)(ConfigProvider_1["default"]);
|
|
24
|
-
exports.ConfigProvider = ConfigProvider;
|
|
25
|
-
__exportStar(require("./PropTypes"), exports);
|
|
1
|
+
import { withReactProps } from '../common/withReactProps';
|
|
2
|
+
import _ConfigProvider from './ConfigProvider';
|
|
3
|
+
const ConfigProvider = withReactProps(_ConfigProvider);
|
|
4
|
+
export { ConfigProvider };
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
exports.__esModule = true;
|
|
6
1
|
// @ts-ignore
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import CountDown from '@tuya-miniapp/smart-ui/lib/count-down/index';
|
|
3
|
+
import { withReactProps } from '../common/withReactProps';
|
|
4
|
+
export default withReactProps(CountDown);
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
import type { SmartCountDown } from './PropTypes';
|
|
3
3
|
declare const CountDown: import("react").FC<SmartCountDown>;
|
|
4
4
|
export { CountDown };
|
|
5
|
-
export
|
|
5
|
+
export { SmartCountDown, SmartCountDownEvents, SmartCountDownProps, SmartCountDownTimeData, } from './PropTypes';
|
package/dist/count-down/index.js
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
-
};
|
|
19
|
-
exports.__esModule = true;
|
|
20
|
-
exports.CountDown = void 0;
|
|
21
|
-
var CountDown_1 = __importDefault(require("./CountDown"));
|
|
22
|
-
var CountDown = CountDown_1["default"];
|
|
23
|
-
exports.CountDown = CountDown;
|
|
24
|
-
__exportStar(require("./PropTypes"), exports);
|
|
1
|
+
import _CountDown from './CountDown';
|
|
2
|
+
const CountDown = _CountDown;
|
|
3
|
+
export { CountDown };
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
exports.__esModule = true;
|
|
6
1
|
// @ts-ignore
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import CustomKeyboard from '@tuya-miniapp/smart-ui/lib/custom-keyboard/index';
|
|
3
|
+
import { withReactProps } from '../common/withReactProps';
|
|
4
|
+
export default withReactProps(CustomKeyboard);
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
import type { SmartCustomKeyboard } from './PropTypes';
|
|
3
3
|
declare const CustomKeyboard: import("react").FC<SmartCustomKeyboard>;
|
|
4
4
|
export { CustomKeyboard };
|
|
5
|
-
export
|
|
5
|
+
export { SmartCustomKeyboard, SmartCustomKeyboardProps, SmartCustomKeyboardEvents, } from './PropTypes';
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
-
};
|
|
19
|
-
exports.__esModule = true;
|
|
20
|
-
exports.CustomKeyboard = void 0;
|
|
21
|
-
var CustomKeyboard_1 = __importDefault(require("./CustomKeyboard"));
|
|
22
|
-
var CustomKeyboard = CustomKeyboard_1["default"];
|
|
23
|
-
exports.CustomKeyboard = CustomKeyboard;
|
|
24
|
-
__exportStar(require("./PropTypes"), exports);
|
|
1
|
+
import _CustomKeyboard from './CustomKeyboard';
|
|
2
|
+
const CustomKeyboard = _CustomKeyboard;
|
|
3
|
+
export { CustomKeyboard };
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
exports.__esModule = true;
|
|
6
1
|
// @ts-ignore
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import DateTimePicker from '@tuya-miniapp/smart-ui/lib/datetime-picker/index';
|
|
3
|
+
import { withReactProps } from '../common/withReactProps';
|
|
4
|
+
export default withReactProps(DateTimePicker);
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
import type { SmartDateTimePicker } from './PropTypes';
|
|
3
3
|
declare const DateTimePicker: import("react").FC<SmartDateTimePicker>;
|
|
4
4
|
export { DateTimePicker };
|
|
5
|
-
export
|
|
5
|
+
export { SmartDateTimePicker, SmartDateTimePickerEvents, SmartDateTimePickerProps, SmartDateTimePickerExternalClassName, SmartDateTimePickerBaseEvent, } from './PropTypes';
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
-
};
|
|
19
|
-
exports.__esModule = true;
|
|
20
|
-
exports.DateTimePicker = void 0;
|
|
21
|
-
var DateTimePicker_1 = __importDefault(require("./DateTimePicker"));
|
|
22
|
-
var DateTimePicker = DateTimePicker_1["default"];
|
|
23
|
-
exports.DateTimePicker = DateTimePicker;
|
|
24
|
-
__exportStar(require("./PropTypes"), exports);
|
|
1
|
+
import _DateTimePicker from './DateTimePicker';
|
|
2
|
+
const DateTimePicker = _DateTimePicker;
|
|
3
|
+
export { DateTimePicker };
|