@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.
Files changed (323) hide show
  1. package/dist/@types/action-sheet/index.js +1 -2
  2. package/dist/@types/base/component.js +1 -2
  3. package/dist/@types/base/events.js +1 -2
  4. package/dist/@types/base/external-class-name.js +1 -2
  5. package/dist/@types/base/index.d.ts +4 -4
  6. package/dist/@types/base/index.js +1 -20
  7. package/dist/@types/base/open-type.js +1 -2
  8. package/dist/@types/battery/index.js +1 -2
  9. package/dist/@types/bottom-sheet/index.js +1 -2
  10. package/dist/@types/button/index.js +1 -2
  11. package/dist/@types/calendar/index.js +1 -2
  12. package/dist/@types/cascader/index.js +1 -2
  13. package/dist/@types/cell/index.js +1 -2
  14. package/dist/@types/cell-group/index.js +1 -2
  15. package/dist/@types/checkbox/index.js +1 -2
  16. package/dist/@types/checkbox-group/index.js +1 -2
  17. package/dist/@types/circle/index.js +1 -2
  18. package/dist/@types/col/index.js +1 -2
  19. package/dist/@types/collapse/index.js +1 -2
  20. package/dist/@types/collapse-item/index.js +1 -2
  21. package/dist/@types/config-provider/index.js +1 -2
  22. package/dist/@types/config-provider/theme-vars.js +1 -2
  23. package/dist/@types/count-down/index.js +1 -2
  24. package/dist/@types/custom-keyboard/index.js +1 -2
  25. package/dist/@types/datetime-picker/index.js +1 -2
  26. package/dist/@types/dialog/dialog.js +1 -2
  27. package/dist/@types/dialog/index.d.ts +1 -1
  28. package/dist/@types/dialog/index.js +1 -2
  29. package/dist/@types/divider/index.js +1 -2
  30. package/dist/@types/dropdown-item/index.js +1 -2
  31. package/dist/@types/dropdown-menu/index.js +1 -2
  32. package/dist/@types/empty/index.js +1 -2
  33. package/dist/@types/field/index.js +1 -2
  34. package/dist/@types/grid/index.js +1 -2
  35. package/dist/@types/grid-item/index.js +1 -2
  36. package/dist/@types/icon/index.js +1 -2
  37. package/dist/@types/image/index.js +1 -2
  38. package/dist/@types/index-anchor/index.js +1 -2
  39. package/dist/@types/index-bar/index.js +1 -2
  40. package/dist/@types/index.d.ts +62 -64
  41. package/dist/@types/index.js +1 -80
  42. package/dist/@types/loading/index.js +1 -2
  43. package/dist/@types/nav-bar/index.js +1 -2
  44. package/dist/@types/notice-bar/index.js +1 -2
  45. package/dist/@types/notify/index.js +1 -2
  46. package/dist/@types/notify/notify.js +1 -2
  47. package/dist/@types/overlay/index.js +1 -2
  48. package/dist/@types/picker/index.js +1 -2
  49. package/dist/@types/popup/index.js +1 -2
  50. package/dist/@types/progress/index.js +1 -2
  51. package/dist/@types/radio/index.js +1 -2
  52. package/dist/@types/radio-group/index.js +1 -2
  53. package/dist/@types/rate/index.js +1 -2
  54. package/dist/@types/row/index.js +1 -2
  55. package/dist/@types/search/index.js +1 -2
  56. package/dist/@types/sidebar/index.js +1 -2
  57. package/dist/@types/sidebar-item/index.js +1 -2
  58. package/dist/@types/skeleton/index.js +1 -2
  59. package/dist/@types/slider/index.js +1 -2
  60. package/dist/@types/stepper/index.js +1 -2
  61. package/dist/@types/steps/index.js +1 -2
  62. package/dist/@types/sticky/index.js +1 -2
  63. package/dist/@types/swipe-cell/index.js +1 -2
  64. package/dist/@types/switch/index.js +1 -2
  65. package/dist/@types/tab/index.js +1 -2
  66. package/dist/@types/tabbar/index.js +1 -2
  67. package/dist/@types/tabbar-item/index.js +1 -2
  68. package/dist/@types/tabs/index.js +1 -2
  69. package/dist/@types/tag/index.js +1 -2
  70. package/dist/@types/toast/index.js +1 -2
  71. package/dist/@types/toast/toast.js +1 -3
  72. package/dist/@types/transition/index.js +1 -2
  73. package/dist/@types/tree-select/index.js +1 -2
  74. package/dist/action-sheet/ActionSheet.js +3 -8
  75. package/dist/action-sheet/PropTypes.js +1 -2
  76. package/dist/action-sheet/index.d.ts +1 -1
  77. package/dist/action-sheet/index.js +3 -24
  78. package/dist/base/index.js +1 -2
  79. package/dist/battery/Battery.js +3 -8
  80. package/dist/battery/PropTypes.js +1 -2
  81. package/dist/battery/index.d.ts +1 -1
  82. package/dist/battery/index.js +3 -24
  83. package/dist/bottom-sheet/BottomSheet.js +3 -8
  84. package/dist/bottom-sheet/PropTypes.js +1 -2
  85. package/dist/bottom-sheet/index.d.ts +1 -1
  86. package/dist/bottom-sheet/index.js +3 -24
  87. package/dist/button/Button.js +3 -8
  88. package/dist/button/PropTypes.js +1 -2
  89. package/dist/button/index.d.ts +1 -1
  90. package/dist/button/index.js +3 -24
  91. package/dist/calendar/Calendar.js +3 -8
  92. package/dist/calendar/PropTypes.js +1 -2
  93. package/dist/calendar/index.d.ts +1 -1
  94. package/dist/calendar/index.js +3 -24
  95. package/dist/cascader/Cascader.js +3 -8
  96. package/dist/cascader/PropTypes.js +1 -2
  97. package/dist/cascader/index.d.ts +1 -1
  98. package/dist/cascader/index.js +3 -24
  99. package/dist/cell/Cell.js +3 -8
  100. package/dist/cell/PropTypes.js +1 -2
  101. package/dist/cell/index.d.ts +1 -1
  102. package/dist/cell/index.js +3 -24
  103. package/dist/cell-group/CellGroup.js +2 -7
  104. package/dist/cell-group/PropTypes.js +1 -2
  105. package/dist/cell-group/index.d.ts +1 -1
  106. package/dist/cell-group/index.js +3 -24
  107. package/dist/checkbox/Checkbox.js +3 -8
  108. package/dist/checkbox/PropTypes.js +1 -2
  109. package/dist/checkbox/index.d.ts +1 -1
  110. package/dist/checkbox/index.js +3 -24
  111. package/dist/checkbox-group/CheckboxGroup.js +3 -8
  112. package/dist/checkbox-group/PropTypes.js +1 -2
  113. package/dist/checkbox-group/index.d.ts +1 -1
  114. package/dist/checkbox-group/index.js +3 -24
  115. package/dist/circle/Circle.d.ts +1 -1
  116. package/dist/circle/Circle.js +4 -4
  117. package/dist/circle/PropTypes.d.ts +58 -2
  118. package/dist/circle/PropTypes.js +1 -2
  119. package/dist/circle/index.d.ts +3 -2
  120. package/dist/circle/index.js +18 -24
  121. package/dist/col/Col.js +3 -8
  122. package/dist/col/PropTypes.js +1 -2
  123. package/dist/col/index.d.ts +1 -1
  124. package/dist/col/index.js +3 -24
  125. package/dist/collapse/Collapse.js +2 -7
  126. package/dist/collapse/PropTypes.js +1 -2
  127. package/dist/collapse/index.d.ts +1 -1
  128. package/dist/collapse/index.js +4 -25
  129. package/dist/collapse-item/CollapseItem.js +2 -7
  130. package/dist/collapse-item/PropTypes.js +1 -2
  131. package/dist/collapse-item/index.d.ts +1 -1
  132. package/dist/collapse-item/index.js +4 -25
  133. package/dist/common/withReactProps.js +26 -45
  134. package/dist/config-provider/ConfigProvider.js +2 -7
  135. package/dist/config-provider/PropTypes.js +1 -2
  136. package/dist/config-provider/index.d.ts +1 -1
  137. package/dist/config-provider/index.js +4 -25
  138. package/dist/count-down/CountDown.js +3 -8
  139. package/dist/count-down/PropTypes.js +1 -2
  140. package/dist/count-down/index.d.ts +1 -1
  141. package/dist/count-down/index.js +3 -24
  142. package/dist/custom-keyboard/CustomKeyboard.js +3 -8
  143. package/dist/custom-keyboard/PropTypes.js +1 -2
  144. package/dist/custom-keyboard/index.d.ts +1 -1
  145. package/dist/custom-keyboard/index.js +3 -24
  146. package/dist/datetime-picker/DateTimePicker.js +3 -8
  147. package/dist/datetime-picker/PropTypes.js +1 -2
  148. package/dist/datetime-picker/index.d.ts +1 -1
  149. package/dist/datetime-picker/index.js +3 -24
  150. package/dist/dialog/Dialog.js +5 -11
  151. package/dist/dialog/PropTypes.js +1 -2
  152. package/dist/dialog/index.d.ts +1 -1
  153. package/dist/dialog/index.js +4 -35
  154. package/dist/divider/Divider.js +2 -7
  155. package/dist/divider/PropTypes.js +1 -2
  156. package/dist/divider/index.d.ts +1 -1
  157. package/dist/divider/index.js +3 -24
  158. package/dist/dropdown-item/DropdownItem.js +3 -8
  159. package/dist/dropdown-item/PropTypes.js +1 -2
  160. package/dist/dropdown-item/index.d.ts +1 -1
  161. package/dist/dropdown-item/index.js +3 -24
  162. package/dist/dropdown-menu/DropdownMenu.js +3 -8
  163. package/dist/dropdown-menu/PropTypes.js +1 -2
  164. package/dist/dropdown-menu/index.d.ts +1 -1
  165. package/dist/dropdown-menu/index.js +3 -24
  166. package/dist/empty/Empty.js +3 -8
  167. package/dist/empty/PropTypes.js +1 -2
  168. package/dist/empty/index.d.ts +1 -1
  169. package/dist/empty/index.js +3 -24
  170. package/dist/field/Field.js +2 -7
  171. package/dist/field/PropTypes.js +1 -2
  172. package/dist/field/index.d.ts +1 -1
  173. package/dist/field/index.js +4 -25
  174. package/dist/grid/Grid.js +3 -8
  175. package/dist/grid/PropTypes.js +1 -2
  176. package/dist/grid/index.d.ts +1 -1
  177. package/dist/grid/index.js +3 -24
  178. package/dist/grid-item/GridItem.js +3 -8
  179. package/dist/grid-item/PropTypes.js +1 -2
  180. package/dist/grid-item/index.d.ts +1 -1
  181. package/dist/grid-item/index.js +3 -24
  182. package/dist/icon/Icon.js +3 -8
  183. package/dist/icon/PropTypes.js +1 -2
  184. package/dist/icon/index.d.ts +1 -1
  185. package/dist/icon/index.js +3 -24
  186. package/dist/image/Image.js +2 -7
  187. package/dist/image/PropTypes.js +1 -2
  188. package/dist/image/index.d.ts +1 -1
  189. package/dist/image/index.js +4 -25
  190. package/dist/index-anchor/IndexAnchor.js +3 -8
  191. package/dist/index-anchor/PropTypes.js +1 -2
  192. package/dist/index-anchor/index.d.ts +1 -1
  193. package/dist/index-anchor/index.js +3 -24
  194. package/dist/index-bar/IndexBar.js +3 -8
  195. package/dist/index-bar/PropTypes.js +1 -2
  196. package/dist/index-bar/index.d.ts +1 -1
  197. package/dist/index-bar/index.js +3 -24
  198. package/dist/index.d.ts +61 -59
  199. package/dist/index.js +60 -77
  200. package/dist/loading/Loading.js +3 -8
  201. package/dist/loading/PropTypes.js +1 -2
  202. package/dist/loading/index.d.ts +1 -1
  203. package/dist/loading/index.js +3 -24
  204. package/dist/nav-bar/NavBar.js +3 -8
  205. package/dist/nav-bar/PropTypes.js +1 -2
  206. package/dist/nav-bar/index.d.ts +1 -1
  207. package/dist/nav-bar/index.js +3 -24
  208. package/dist/notice-bar/NoticeBar.js +3 -8
  209. package/dist/notice-bar/PropTypes.d.ts +2 -2
  210. package/dist/notice-bar/PropTypes.js +1 -2
  211. package/dist/notice-bar/index.d.ts +1 -1
  212. package/dist/notice-bar/index.js +3 -24
  213. package/dist/notify/Notify.js +4 -10
  214. package/dist/notify/PropTypes.js +1 -2
  215. package/dist/notify/index.d.ts +1 -1
  216. package/dist/notify/index.js +3 -34
  217. package/dist/overlay/Overlay.js +3 -8
  218. package/dist/overlay/PropTypes.d.ts +2 -2
  219. package/dist/overlay/PropTypes.js +1 -2
  220. package/dist/overlay/index.d.ts +1 -1
  221. package/dist/overlay/index.js +3 -24
  222. package/dist/picker/Picker.js +3 -8
  223. package/dist/picker/PropTypes.js +1 -2
  224. package/dist/picker/index.d.ts +1 -1
  225. package/dist/picker/index.js +3 -24
  226. package/dist/popup/Popup.js +3 -8
  227. package/dist/popup/PropTypes.js +1 -2
  228. package/dist/popup/index.d.ts +1 -1
  229. package/dist/popup/index.js +3 -24
  230. package/dist/progress/Circle.js +3 -8
  231. package/dist/progress/Progress.js +3 -8
  232. package/dist/progress/PropTypes.js +1 -2
  233. package/dist/progress/index.js +8 -25
  234. package/dist/radio/PropTypes.d.ts +2 -2
  235. package/dist/radio/PropTypes.js +1 -2
  236. package/dist/radio/Radio.js +3 -8
  237. package/dist/radio/index.d.ts +1 -1
  238. package/dist/radio/index.js +3 -24
  239. package/dist/radio-group/PropTypes.js +1 -2
  240. package/dist/radio-group/RadioGroup.js +3 -8
  241. package/dist/radio-group/index.d.ts +1 -1
  242. package/dist/radio-group/index.js +3 -24
  243. package/dist/rate/PropTypes.d.ts +1 -1
  244. package/dist/rate/PropTypes.js +1 -2
  245. package/dist/rate/Rate.js +3 -8
  246. package/dist/rate/index.d.ts +1 -1
  247. package/dist/rate/index.js +3 -24
  248. package/dist/row/PropTypes.js +1 -2
  249. package/dist/row/Row.js +3 -8
  250. package/dist/row/index.d.ts +1 -1
  251. package/dist/row/index.js +3 -24
  252. package/dist/search/PropTypes.js +1 -2
  253. package/dist/search/Search.js +3 -8
  254. package/dist/search/index.d.ts +1 -1
  255. package/dist/search/index.js +3 -24
  256. package/dist/sidebar/PropTypes.js +1 -2
  257. package/dist/sidebar/Sidebar.js +3 -8
  258. package/dist/sidebar/index.d.ts +1 -1
  259. package/dist/sidebar/index.js +3 -24
  260. package/dist/sidebar-item/PropTypes.js +1 -2
  261. package/dist/sidebar-item/SidebarItem.js +3 -8
  262. package/dist/sidebar-item/index.d.ts +1 -1
  263. package/dist/sidebar-item/index.js +3 -24
  264. package/dist/skeleton/PropTypes.js +1 -2
  265. package/dist/skeleton/Skeleton.js +3 -8
  266. package/dist/skeleton/index.d.ts +1 -1
  267. package/dist/skeleton/index.js +3 -24
  268. package/dist/slider/PropTypes.js +1 -2
  269. package/dist/slider/RangeSlider.js +6 -22
  270. package/dist/slider/index.js +7 -25
  271. package/dist/stepper/PropTypes.js +1 -2
  272. package/dist/stepper/Stepper.js +3 -8
  273. package/dist/stepper/index.d.ts +1 -1
  274. package/dist/stepper/index.js +3 -24
  275. package/dist/steps/PropTypes.js +1 -2
  276. package/dist/steps/Steps.js +3 -8
  277. package/dist/steps/index.d.ts +1 -1
  278. package/dist/steps/index.js +3 -24
  279. package/dist/sticky/PropTypes.js +1 -2
  280. package/dist/sticky/Sticky.js +3 -8
  281. package/dist/sticky/index.d.ts +1 -1
  282. package/dist/sticky/index.js +3 -24
  283. package/dist/swipe-cell/PropTypes.js +1 -2
  284. package/dist/swipe-cell/SwipeCell.js +3 -8
  285. package/dist/swipe-cell/index.d.ts +1 -1
  286. package/dist/swipe-cell/index.js +3 -24
  287. package/dist/switch/PropTypes.js +1 -2
  288. package/dist/switch/Switch.js +2 -7
  289. package/dist/switch/index.d.ts +1 -1
  290. package/dist/switch/index.js +4 -25
  291. package/dist/tab/PropTypes.js +1 -2
  292. package/dist/tab/Tab.js +8 -24
  293. package/dist/tab/index.d.ts +1 -1
  294. package/dist/tab/index.js +3 -24
  295. package/dist/tabbar/PropTypes.js +1 -2
  296. package/dist/tabbar/Tabbar.js +3 -8
  297. package/dist/tabbar/index.d.ts +1 -1
  298. package/dist/tabbar/index.js +3 -24
  299. package/dist/tabbar-item/PropTypes.js +1 -2
  300. package/dist/tabbar-item/TabbarItem.js +3 -8
  301. package/dist/tabbar-item/index.d.ts +1 -1
  302. package/dist/tabbar-item/index.js +3 -24
  303. package/dist/tabs/PropTypes.js +1 -2
  304. package/dist/tabs/Tabs.js +12 -28
  305. package/dist/tabs/index.d.ts +1 -1
  306. package/dist/tabs/index.js +3 -24
  307. package/dist/tag/PropTypes.js +1 -2
  308. package/dist/tag/Tag.js +3 -8
  309. package/dist/tag/index.d.ts +1 -1
  310. package/dist/tag/index.js +3 -24
  311. package/dist/toast/PropTypes.js +1 -2
  312. package/dist/toast/index.d.ts +1 -1
  313. package/dist/toast/index.js +4 -35
  314. package/dist/toast/toast.js +5 -11
  315. package/dist/transition/PropTypes.js +1 -2
  316. package/dist/transition/Transition.js +3 -8
  317. package/dist/transition/index.d.ts +1 -1
  318. package/dist/transition/index.js +3 -24
  319. package/dist/tree-select/PropTypes.js +1 -2
  320. package/dist/tree-select/TreeSelect.js +3 -8
  321. package/dist/tree-select/index.d.ts +1 -1
  322. package/dist/tree-select/index.js +3 -24
  323. package/package.json +2 -2
@@ -1,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
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.IndexAnchor = void 0;
21
- var IndexAnchor_1 = __importDefault(require("./IndexAnchor"));
22
- var IndexAnchor = IndexAnchor_1["default"];
23
- exports.IndexAnchor = IndexAnchor;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _IndexAnchor from './IndexAnchor';
2
+ const IndexAnchor = _IndexAnchor;
3
+ export { IndexAnchor };
@@ -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
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/index-bar/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import IndexBar from '@tuya-miniapp/smart-ui/lib/index-bar/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(IndexBar);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartIndexBar } from './PropTypes';
3
3
  declare const IndexBar: import("react").FC<SmartIndexBar>;
4
4
  export { IndexBar };
5
- export * from './PropTypes';
5
+ export { SmartIndexBar, SmartIndexBarEvents, SmartIndexBarProps, SmartIndexBarSelectEvent, } from './PropTypes';
@@ -1,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
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.IndexBar = void 0;
21
- var IndexBar_1 = __importDefault(require("./IndexBar"));
22
- var IndexBar = IndexBar_1["default"];
23
- exports.IndexBar = IndexBar;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _IndexBar from './IndexBar';
2
+ const IndexBar = _IndexBar;
3
+ export { IndexBar };
package/dist/index.d.ts CHANGED
@@ -1,59 +1,61 @@
1
- export * from './action-sheet';
2
- export * from './base';
3
- export * from './button';
4
- export * from './bottom-sheet';
5
- export * from './calendar';
6
- export * from './cascader';
7
- export * from './cell';
8
- export * from './cell-group';
9
- export * from './checkbox';
10
- export * from './checkbox-group';
11
- export * from './circle';
12
- export * from './col';
13
- export * from './collapse';
14
- export * from './collapse-item';
15
- export * from './config-provider';
16
- export * from './count-down';
17
- export * from './datetime-picker';
18
- export * from './dialog';
19
- export * from './divider';
20
- export * from './dropdown-item';
21
- export * from './dropdown-menu';
22
- export * from './empty';
23
- export * from './field';
24
- export * from './grid';
25
- export * from './grid-item';
26
- export * from './icon';
27
- export * from './image';
28
- export * from './index-anchor';
29
- export * from './index-bar';
30
- export * from './loading';
31
- export * from './nav-bar';
32
- export * from './notice-bar';
33
- export * from './overlay';
34
- export * from './picker';
35
- export * from './popup';
36
- export * from './progress';
37
- export * from './radio';
38
- export * from './radio-group';
39
- export * from './rate';
40
- export * from './row';
41
- export * from './search';
42
- export * from './sidebar';
43
- export * from './sidebar-item';
44
- export * from './skeleton';
45
- export * from './slider';
46
- export * from './stepper';
47
- export * from './sticky';
48
- export * from './swipe-cell';
49
- export * from './switch';
50
- export * from './tab';
51
- export * from './tabbar';
52
- export * from './tabbar-item';
53
- export * from './tabs';
54
- export * from './tag';
55
- export * from './toast';
56
- export * from './transition';
57
- export * from './tree-select';
58
- export * from './battery';
59
- export * from './custom-keyboard';
1
+ export { SmartAction, SmartActionSheetProps, SmartActionSheetEvents, SmartActionSheet, ActionSheet, } from './action-sheet';
2
+ export { ComponentBase, SmartComponent, SmartEvent, SmartTouchEvent, SmartEventHandler, SmartTouchEventHandler, TouchPositionDetail, SmartBaseExternalClassName, SmartBaseLoadingExternalClassName, WechatOpenType, SmartOpenTypeProps, SmartOpenTypeCamelCaseProps, SmartOpenTypeEvents, } from './base';
3
+ export { SmartButtonProps, SmartButtonEvents, SmartButtonExternalClassName, SmartButton, Button, } from './button';
4
+ export { SmartBottomSheet, SmartBottomSheetProps, SmartBottomSheetEvents, BottomSheet, } from './bottom-sheet';
5
+ export { Day, SmartCalendarPoppableProps, SmartCalendarRangeProps, SmartCalendarProps, SmartCalendarEvents, SmartCalendar, Calendar, } from './calendar';
6
+ export { SmartCellProps, SmartCellEvents, SmartCellExternalClassName, SmartCell, Cell, } from './cell';
7
+ export { SmartCellGroup, SmartCellGroupExternalClassName, SmartCellGroupProps, CellGroup, } from './cell-group';
8
+ export { SmartCheckbox, SmartCheckboxEvents, SmartCheckboxProps, SmartCheckboxExternalClassName, SmartCheckboxChangeEvent, Checkbox, } from './checkbox';
9
+ export { SmartCheckboxGroup, SmartCheckboxGroupEvents, SmartCheckboxGroupProps, CheckboxGroup, } from './checkbox-group';
10
+ export { SmartCircleProps, SmartCircle, Circle } from './circle';
11
+ export { SmartCol, SmartColProps, SmartColExternalClassName, Col } from './col';
12
+ export { SmartCollapse, SmartCollapseEvents, SmartCollapseExternalClassName, SmartCollapseProps, SmartCollapseBaseEvent, SmartCollapseChangeEvent, Collapse, } from './collapse';
13
+ export { SmartCollapseItem, SmartCollapseItemExternalClassName, SmartCollapseItemProps, CollapseItem, } from './collapse-item';
14
+ export { SmartConfigProvider, SmartConfigProviderProps, ConfigProvider } from './config-provider';
15
+ export { SmartCountDown, SmartCountDownEvents, SmartCountDownProps, SmartCountDownTimeData, CountDown, } from './count-down';
16
+ export { SmartDateTimePicker, SmartDateTimePickerEvents, SmartDateTimePickerProps, SmartDateTimePickerExternalClassName, SmartDateTimePickerBaseEvent, DateTimePicker, } from './datetime-picker';
17
+ export { SmartDialog, SmartDialogProps, SmartDialogInstance, SmartDialogOptions, Dialog, DialogInstance, } from './dialog';
18
+ export { SmartDividerProps, SmartDivider, Divider } from './divider';
19
+ export { SmartDropdownItem, SmartDropdownItemEvents, SmartDropdownItemOption, SmartDropdownItemProps, SmartDropdownItemChangeEvent, DropdownItem, } from './dropdown-item';
20
+ export { SmartDropdownMenu, SmartDropdownMenuProps, DropdownMenu } from './dropdown-menu';
21
+ export { SmartEmpty, SmartEmptyProps, Empty } from './empty';
22
+ export { SmartField, SmartFieldEvents, SmartFieldExternalClassName, SmartFieldProps, SmartFieldInputEvent, SmartFieldBlurEventDetail, SmartFieldFocusEventDetail, SmartFieldKeyboardHeightChangeEventDetail, SmartFieldLineChangeEventDetail, Field, } from './field';
23
+ export { SmartGrid, SmartGridExternalClassName, SmartGridProps, Grid } from './grid';
24
+ export { SmartGridItem, SmartGridItemEvents, SmartGridItemExternalClassName, SmartGridItemProps, GridItem, } from './grid-item';
25
+ export { SmartIcon, SmartIconEvents, SmartIconExternalClassName, SmartIconProps, Icon, } from './icon';
26
+ export { SmartImage, SmartImageEvents, SmartImageExternalClassName, SmartImageProps, SmartImageErrorEventDetail, SmartImageLoadEventDetail, Image, } from './image';
27
+ export { SmartIndexAnchor, SmartIndexAnchorProps, IndexAnchor } from './index-anchor';
28
+ export { SmartIndexBar, SmartIndexBarEvents, SmartIndexBarProps, SmartIndexBarSelectEvent, IndexBar, } from './index-bar';
29
+ export { SmartLoading, SmartLoadingExternalClassName, SmartLoadingProps, Loading } from './loading';
30
+ export { SmartNavBar, SmartNavBarEvents, SmartNavBarExternalClassName, SmartNavBarProps, NavBar, } from './nav-bar';
31
+ export { SmartNoticeBarSlot, SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps, NoticeBar, } from './notice-bar';
32
+ export { SmartNotifyProps, SmartNotify, SmartNotifyOptions, Notify, NotifyInstance, } from './notify';
33
+ export { SmartOverlay, SmartOverlayEvents, SmartOverlayProps, SmartOverlaySlot, Overlay, } from './overlay';
34
+ export { SmartPicker, SmartPickerEvents, SmartPickerExternalClassName, SmartPickerSingleColumn, SmartPickerMultipleColumn, SmartPickerProps, SmartPickerBaseEventDetail, SmartPickerChangeEventDetail, Picker, } from './picker';
35
+ export { SmartPopup, SmartPopupEvents, SmartPopupExternalClassName, SmartPopupProps, Popup, } from './popup';
36
+ export { Progress, SmartProgressProps } from './progress';
37
+ export { SmartRadio, SmartRadioEvents, SmartRadioExternalClassName, SmartRadioProps, SmartRadioChangeEvent, SmartRadioSlot, Radio, } from './radio';
38
+ export { SmartRadioGroup, SmartRadioGroupEvents, SmartRadioGroupProps, SmartRadioGroupChangeEvent, RadioGroup, } from './radio-group';
39
+ export { SmartRate, SmartRateEvents, SmartRateExternalClassName, SmartRateProps, SmartRateChangeEvent, Rate, } from './rate';
40
+ export { SmartRow, SmartRowExternalClassName, SmartRowProps, Row } from './row';
41
+ export { SmartSearch, SmartSearchEvents, SmartSearchExternalClassName, SmartSearchProps, SmartSearchBaseEvent, Search, } from './search';
42
+ export { SmartSidebar, SmartSidebarEvents, SmartSidebarExternalClassName, SmartSidebarProps, SmartSidebarChangeEvent, Sidebar, } from './sidebar';
43
+ export { SmartSidebarItem, SmartSidebarItemEvents, SmartSidebarItemExternalClassName, SmartSidebarItemProps, SmartSidebarItemClickEvent, SidebarItem, } from './sidebar-item';
44
+ export { SmartSkeleton, SmartSkeletonProps, Skeleton } from './skeleton';
45
+ export { Slider } from './slider';
46
+ export { SmartStepper, SmartStepperEvents, SmartStepperExternalClassName, SmartStepperProps, SmartStepperChangeEvent, SmartStepperOverLimitEvent, SmartStepperBlurEventDetail, SmartStepperFocusEventDetail, Stepper, } from './stepper';
47
+ export { SmartSteps, SmartStepsEvents, SmartStepsExternalClassName, SmartStepsProps, SmartStepsOption, SmartStepsClickStepEvent, Steps, } from './steps';
48
+ export { SmartSticky, SmartStickyEvents, SmartStickyProps, SmartStickyScrollEventDetail, Sticky, } from './sticky';
49
+ export { SmartSwipeCell, SmartSwipeCellEvents, SmartSwipeCellProps, SmartSwipeCellBaseEventDetail, SmartSwipeCellPosition, SmartSwipeCellClickEvent, SmartSwipeCellClickPosition, SmartSwipeCellCloseEventDetail, SwipeCell, } from './swipe-cell';
50
+ export { SmartSwitch, SmartSwitchEvents, SmartSwitchExternalClassName, SmartSwitchProps, SmartSwitchChangeEvent, Switch, } from './switch';
51
+ export { SmartTab, SmartTabProps, Tab } from './tab';
52
+ export { SmartTabbar, SmartTabbarEvents, SmartTabbarProps, SmartTabbarChangeEvent, Tabbar, } from './tabbar';
53
+ export { SmartTabbarItem, SmartTabbarItemProps, TabbarItem } from './tabbar-item';
54
+ export { SmartTabs, SmartTabsEvents, SmartTabsExternalClassName, SmartTabsProps, SmartTabsScrollEventDetail, SmartTabsBaseEventDetail, Tabs, } from './tabs';
55
+ export { SmartTag, SmartTagEvents, SmartTagExternalClassName, SmartTagProps, Tag } from './tag';
56
+ export { SmartToast, SmartToastOptions, Toast, ToastInstance } from './toast';
57
+ export { SmartTransition, SmartTransitionEvents, SmartTransitionExternalClassName, SmartTransitionProps, Transition, } from './transition';
58
+ export { SmartTreeSelect, SmartTreeSelectEvents, SmartTreeSelectExternalClassName, SmartTreeSelectItem, SmartTreeSelectProps, SmartTreeSelectClickNavDetail, TreeSelect, } from './tree-select';
59
+ export { SmartCascader, SmartCascaderProps, Cascader } from './cascader';
60
+ export { SmartBattery, SmartBatteryProps, Battery } from './battery';
61
+ export { SmartCustomKeyboard, SmartCustomKeyboardProps, SmartCustomKeyboardEvents, CustomKeyboard, } from './custom-keyboard';
package/dist/index.js CHANGED
@@ -1,77 +1,60 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
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
- exports.__esModule = true;
17
- __exportStar(require("./action-sheet"), exports);
18
- __exportStar(require("./base"), exports);
19
- __exportStar(require("./button"), exports);
20
- __exportStar(require("./bottom-sheet"), exports);
21
- __exportStar(require("./calendar"), exports);
22
- __exportStar(require("./cascader"), exports);
23
- __exportStar(require("./cell"), exports);
24
- __exportStar(require("./cell-group"), exports);
25
- __exportStar(require("./checkbox"), exports);
26
- __exportStar(require("./checkbox-group"), exports);
27
- __exportStar(require("./circle"), exports);
28
- __exportStar(require("./col"), exports);
29
- __exportStar(require("./collapse"), exports);
30
- __exportStar(require("./collapse-item"), exports);
31
- __exportStar(require("./config-provider"), exports);
32
- __exportStar(require("./count-down"), exports);
33
- __exportStar(require("./datetime-picker"), exports);
34
- __exportStar(require("./dialog"), exports);
35
- __exportStar(require("./divider"), exports);
36
- __exportStar(require("./dropdown-item"), exports);
37
- __exportStar(require("./dropdown-menu"), exports);
38
- __exportStar(require("./empty"), exports);
39
- __exportStar(require("./field"), exports);
40
- __exportStar(require("./grid"), exports);
41
- __exportStar(require("./grid-item"), exports);
42
- __exportStar(require("./icon"), exports);
43
- __exportStar(require("./image"), exports);
44
- __exportStar(require("./index-anchor"), exports);
45
- __exportStar(require("./index-bar"), exports);
46
- __exportStar(require("./loading"), exports);
47
- __exportStar(require("./nav-bar"), exports);
48
- __exportStar(require("./notice-bar"), exports);
49
- // export * from './notify';
50
- __exportStar(require("./overlay"), exports);
51
- __exportStar(require("./picker"), exports);
52
- __exportStar(require("./popup"), exports);
53
- __exportStar(require("./progress"), exports);
54
- __exportStar(require("./radio"), exports);
55
- __exportStar(require("./radio-group"), exports);
56
- __exportStar(require("./rate"), exports);
57
- __exportStar(require("./row"), exports);
58
- __exportStar(require("./search"), exports);
59
- __exportStar(require("./sidebar"), exports);
60
- __exportStar(require("./sidebar-item"), exports);
61
- __exportStar(require("./skeleton"), exports);
62
- __exportStar(require("./slider"), exports);
63
- __exportStar(require("./stepper"), exports);
64
- // export * from './steps';
65
- __exportStar(require("./sticky"), exports);
66
- __exportStar(require("./swipe-cell"), exports);
67
- __exportStar(require("./switch"), exports);
68
- __exportStar(require("./tab"), exports);
69
- __exportStar(require("./tabbar"), exports);
70
- __exportStar(require("./tabbar-item"), exports);
71
- __exportStar(require("./tabs"), exports);
72
- __exportStar(require("./tag"), exports);
73
- __exportStar(require("./toast"), exports);
74
- __exportStar(require("./transition"), exports);
75
- __exportStar(require("./tree-select"), exports);
76
- __exportStar(require("./battery"), exports);
77
- __exportStar(require("./custom-keyboard"), exports);
1
+ export { ActionSheet, } from './action-sheet';
2
+ export { Button, } from './button';
3
+ export { BottomSheet, } from './bottom-sheet';
4
+ export { Calendar, } from './calendar';
5
+ export { Cell, } from './cell';
6
+ export { CellGroup, } from './cell-group';
7
+ export { Checkbox, } from './checkbox';
8
+ export { CheckboxGroup, } from './checkbox-group';
9
+ export { Circle } from './circle';
10
+ export { Col } from './col';
11
+ export { Collapse, } from './collapse';
12
+ export { CollapseItem, } from './collapse-item';
13
+ export { ConfigProvider } from './config-provider';
14
+ export { CountDown, } from './count-down';
15
+ export { DateTimePicker, } from './datetime-picker';
16
+ export { Dialog, DialogInstance, } from './dialog';
17
+ export { Divider } from './divider';
18
+ export { DropdownItem, } from './dropdown-item';
19
+ export { DropdownMenu } from './dropdown-menu';
20
+ export { Empty } from './empty';
21
+ export { Field, } from './field';
22
+ export { Grid } from './grid';
23
+ export { GridItem, } from './grid-item';
24
+ export { Icon, } from './icon';
25
+ export { Image, } from './image';
26
+ export { IndexAnchor } from './index-anchor';
27
+ export { IndexBar, } from './index-bar';
28
+ export { Loading } from './loading';
29
+ export { NavBar, } from './nav-bar';
30
+ export { NoticeBar, } from './notice-bar';
31
+ export { Notify, NotifyInstance, } from './notify';
32
+ export { Overlay, } from './overlay';
33
+ export { Picker, } from './picker';
34
+ export { Popup, } from './popup';
35
+ export { Progress } from './progress';
36
+ export { Radio, } from './radio';
37
+ export { RadioGroup, } from './radio-group';
38
+ export { Rate, } from './rate';
39
+ export { Row } from './row';
40
+ export { Search, } from './search';
41
+ export { Sidebar, } from './sidebar';
42
+ export { SidebarItem, } from './sidebar-item';
43
+ export { Skeleton } from './skeleton';
44
+ export { Slider } from './slider';
45
+ export { Stepper, } from './stepper';
46
+ export { Steps, } from './steps';
47
+ export { Sticky, } from './sticky';
48
+ export { SwipeCell, } from './swipe-cell';
49
+ export { Switch, } from './switch';
50
+ export { Tab } from './tab';
51
+ export { Tabbar, } from './tabbar';
52
+ export { TabbarItem } from './tabbar-item';
53
+ export { Tabs, } from './tabs';
54
+ export { Tag } from './tag';
55
+ export { Toast, ToastInstance } from './toast';
56
+ export { Transition, } from './transition';
57
+ export { TreeSelect, } from './tree-select';
58
+ export { Cascader } from './cascader';
59
+ export { Battery } from './battery';
60
+ export { CustomKeyboard, } from './custom-keyboard';
@@ -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
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/loading/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Loading from '@tuya-miniapp/smart-ui/lib/loading/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Loading);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartLoading } from './PropTypes';
3
3
  declare const Loading: import("react").FC<SmartLoading>;
4
4
  export { Loading };
5
- export * from './PropTypes';
5
+ export { SmartLoading, SmartLoadingExternalClassName, SmartLoadingProps } from './PropTypes';
@@ -1,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
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.Loading = void 0;
21
- var Loading_1 = __importDefault(require("./Loading"));
22
- var Loading = Loading_1["default"];
23
- exports.Loading = Loading;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Loading from './Loading';
2
+ const Loading = _Loading;
3
+ export { Loading };
@@ -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
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/nav-bar/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import NavBar from '@tuya-miniapp/smart-ui/lib/nav-bar/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(NavBar);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartNavBar } from './PropTypes';
3
3
  declare const NavBar: import("react").FC<SmartNavBar>;
4
4
  export { NavBar };
5
- export * from './PropTypes';
5
+ export { SmartNavBar, SmartNavBarEvents, SmartNavBarExternalClassName, SmartNavBarProps, } from './PropTypes';
@@ -1,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
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.NavBar = void 0;
21
- var NavBar_1 = __importDefault(require("./NavBar"));
22
- var NavBar = NavBar_1["default"];
23
- exports.NavBar = NavBar;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _NavBar from './NavBar';
2
+ const NavBar = _NavBar;
3
+ export { NavBar };
@@ -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
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/notice-bar/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import NoticeBar from '@tuya-miniapp/smart-ui/lib/notice-bar/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(NoticeBar);
@@ -1,2 +1,2 @@
1
- import { SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps, SmartNavBarProps } from '../@types';
2
- export { SmartNavBarProps, SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps };
1
+ import { SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps, SmartNoticeBarSlot } from '../@types';
2
+ export { SmartNoticeBarSlot, SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartNoticeBar } from './PropTypes';
3
3
  declare const NoticeBar: import("react").FC<SmartNoticeBar>;
4
4
  export { NoticeBar };
5
- export * from './PropTypes';
5
+ export { SmartNoticeBarSlot, SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps, } from './PropTypes';
@@ -1,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
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.NoticeBar = void 0;
21
- var NoticeBar_1 = __importDefault(require("./NoticeBar"));
22
- var NoticeBar = NoticeBar_1["default"];
23
- exports.NoticeBar = NoticeBar;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import BaseNoticeBar from './NoticeBar';
2
+ const NoticeBar = BaseNoticeBar;
3
+ export { NoticeBar };
@@ -1,12 +1,6 @@
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
- exports.NotifyInstance = void 0;
7
1
  // @ts-ignore
8
- var notify_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/notify"));
2
+ import Notify from '@tuya-miniapp/smart-ui/lib/notify';
9
3
  // @ts-ignore
10
- var notify_2 = __importDefault(require("@tuya-miniapp/smart-ui/lib/notify/notify"));
11
- exports.NotifyInstance = notify_2["default"];
12
- exports["default"] = notify_1["default"];
4
+ import NotifyInstance from '@tuya-miniapp/smart-ui/lib/notify/notify';
5
+ export default Notify;
6
+ export { NotifyInstance };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -3,4 +3,4 @@ import { NotifyInstance } from './Notify';
3
3
  import type { SmartNotifyProps } from './PropTypes';
4
4
  declare const Notify: import("react").FC<SmartNotifyProps>;
5
5
  export { Notify, NotifyInstance };
6
- export * from './PropTypes';
6
+ export { SmartNotifyProps, SmartNotify, SmartNotifyOptions } from './PropTypes';
@@ -1,35 +1,4 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
- };
28
- exports.__esModule = true;
29
- exports.NotifyInstance = exports.Notify = void 0;
30
1
  // @ts-ignore
31
- var Notify_1 = __importStar(require("./Notify"));
32
- exports.NotifyInstance = Notify_1.NotifyInstance;
33
- var Notify = Notify_1["default"];
34
- exports.Notify = Notify;
35
- __exportStar(require("./PropTypes"), exports);
2
+ import _Notify, { NotifyInstance } from './Notify';
3
+ const Notify = _Notify;
4
+ export { Notify, NotifyInstance };
@@ -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
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/overlay/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Overlay from '@tuya-miniapp/smart-ui/lib/overlay/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Overlay);