@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,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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/action-sheet/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import ActionSheet from '@tuya-miniapp/smart-ui/lib/action-sheet/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(ActionSheet);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartActionSheet } from './PropTypes';
3
3
  declare const ActionSheet: import("react").FC<SmartActionSheet>;
4
4
  export { ActionSheet };
5
- export * from './PropTypes';
5
+ export { SmartActionSheet, SmartActionSheetProps, SmartActionSheetEvents, SmartAction, } 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.ActionSheet = void 0;
21
- var ActionSheet_1 = __importDefault(require("./ActionSheet"));
22
- var ActionSheet = ActionSheet_1["default"];
23
- exports.ActionSheet = ActionSheet;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _ActionSheet from './ActionSheet';
2
+ const ActionSheet = _ActionSheet;
3
+ export { ActionSheet };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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/battery/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Battery from '@tuya-miniapp/smart-ui/lib/battery/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Battery);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartBattery } from './PropTypes';
3
3
  declare const Battery: import("react").FC<SmartBattery>;
4
4
  export { Battery };
5
- export * from './PropTypes';
5
+ export { SmartBattery, SmartBatteryProps } 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.Battery = void 0;
21
- var Battery_1 = __importDefault(require("./Battery"));
22
- var Battery = Battery_1["default"];
23
- exports.Battery = Battery;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Battery from './Battery';
2
+ const Battery = _Battery;
3
+ export { Battery };
@@ -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/bottom-sheet/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import BottomSheet from '@tuya-miniapp/smart-ui/lib/bottom-sheet/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(BottomSheet);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartBottomSheet } from './PropTypes';
3
3
  declare const BottomSheet: import("react").FC<SmartBottomSheet>;
4
4
  export { BottomSheet };
5
- export * from './PropTypes';
5
+ export { SmartBottomSheet, SmartBottomSheetProps, SmartBottomSheetEvents } 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.BottomSheet = void 0;
21
- var BottomSheet_1 = __importDefault(require("./BottomSheet"));
22
- var BottomSheet = BottomSheet_1["default"];
23
- exports.BottomSheet = BottomSheet;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _BottomSheet from './BottomSheet';
2
+ const BottomSheet = _BottomSheet;
3
+ export { BottomSheet };
@@ -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/button/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Button from '@tuya-miniapp/smart-ui/lib/button/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Button);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartButton } from './PropTypes';
3
3
  declare const Button: import("react").FC<SmartButton>;
4
4
  export { Button };
5
- export * from './PropTypes';
5
+ export { SmartButton, SmartButtonEvents, SmartButtonExternalClassName, SmartButtonProps, } 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.Button = void 0;
21
- var Button_1 = __importDefault(require("./Button"));
22
- var Button = Button_1["default"];
23
- exports.Button = Button;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Button from './Button';
2
+ const Button = _Button;
3
+ export { Button };
@@ -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/calendar/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Calendar from '@tuya-miniapp/smart-ui/lib/calendar/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Calendar);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartCalendar } from './PropTypes';
3
3
  declare const Calendar: import("react").FC<SmartCalendar>;
4
4
  export { Calendar };
5
- export * from './PropTypes';
5
+ export { SmartCalendar, SmartCalendarEvents, SmartCalendarPoppableProps, SmartCalendarProps, SmartCalendarRangeProps, Day, } 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.Calendar = void 0;
21
- var Calendar_1 = __importDefault(require("./Calendar"));
22
- var Calendar = Calendar_1["default"];
23
- exports.Calendar = Calendar;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Calendar from './Calendar';
2
+ const Calendar = _Calendar;
3
+ export { Calendar };
@@ -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/cascader/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Cascader from '@tuya-miniapp/smart-ui/lib/cascader/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Cascader);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartCascader } from './PropTypes';
3
3
  declare const Cascader: import("react").FC<SmartCascader>;
4
4
  export { Cascader };
5
- export * from './PropTypes';
5
+ export { SmartCascader, SmartCascaderProps } 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.Cascader = void 0;
21
- var Cascader_1 = __importDefault(require("./Cascader"));
22
- var Cascader = Cascader_1["default"];
23
- exports.Cascader = Cascader;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Cascader from './Cascader';
2
+ const Cascader = _Cascader;
3
+ export { Cascader };
package/dist/cell/Cell.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
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/cell/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import CellBase from '@tuya-miniapp/smart-ui/lib/cell/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(CellBase);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartCell } from './PropTypes';
3
3
  declare const Cell: import("react").FC<SmartCell>;
4
4
  export { Cell };
5
- export * from './PropTypes';
5
+ export { SmartCellExternalClassName, SmartCell, SmartCellEvents, SmartCellProps, } 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.Cell = void 0;
21
- var Cell_1 = __importDefault(require("./Cell"));
22
- var Cell = Cell_1["default"];
23
- exports.Cell = Cell;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Cell from './Cell';
2
+ const Cell = _Cell;
3
+ export { Cell };
@@ -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
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/cell-group/index"));
8
- exports["default"] = index_1["default"];
2
+ import CellGroup from '@tuya-miniapp/smart-ui/lib/cell-group/index';
3
+ export default CellGroup;
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartCellGroup } from './PropTypes';
3
3
  declare const CellGroup: import("react").FC<SmartCellGroup>;
4
4
  export { CellGroup };
5
- export * from './PropTypes';
5
+ export { SmartCellGroup, SmartCellGroupExternalClassName, SmartCellGroupProps } 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.CellGroup = void 0;
21
- var CellGroup_1 = __importDefault(require("./CellGroup"));
22
- var CellGroup = CellGroup_1["default"];
23
- exports.CellGroup = CellGroup;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _CellGroup from './CellGroup';
2
+ const CellGroup = _CellGroup;
3
+ export { CellGroup };
@@ -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/checkbox/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Checkbox from '@tuya-miniapp/smart-ui/lib/checkbox/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Checkbox);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartCheckbox } from './PropTypes';
3
3
  declare const Checkbox: import("react").FC<SmartCheckbox>;
4
4
  export { Checkbox };
5
- export * from './PropTypes';
5
+ export { SmartCheckbox, SmartCheckboxEvents, SmartCheckboxProps, SmartCheckboxExternalClassName, SmartCheckboxChangeEvent, } 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.Checkbox = void 0;
21
- var Checkbox_1 = __importDefault(require("./Checkbox"));
22
- var Checkbox = Checkbox_1["default"];
23
- exports.Checkbox = Checkbox;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Checkbox from './Checkbox';
2
+ const Checkbox = _Checkbox;
3
+ export { Checkbox };
@@ -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/checkbox-group/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import CheckboxGroup from '@tuya-miniapp/smart-ui/lib/checkbox-group/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(CheckboxGroup);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartCheckboxGroup } from './PropTypes';
3
3
  declare const CheckboxGroup: import("react").FC<SmartCheckboxGroup>;
4
4
  export { CheckboxGroup };
5
- export * from './PropTypes';
5
+ export { SmartCheckboxGroup, SmartCheckboxGroupEvents, SmartCheckboxGroupProps } 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.CheckboxGroup = void 0;
21
- var CheckboxGroup_1 = __importDefault(require("./CheckboxGroup"));
22
- var CheckboxGroup = CheckboxGroup_1["default"];
23
- exports.CheckboxGroup = CheckboxGroup;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _CheckboxGroup from './CheckboxGroup';
2
+ const CheckboxGroup = _CheckboxGroup;
3
+ export { CheckboxGroup };
@@ -1,2 +1,2 @@
1
- declare const _default: (props: import("../progress").SmartCircle) => import("react/jsx-runtime").JSX.Element;
1
+ declare const _default: (props: Record<string, any>) => import("react/jsx-runtime").JSX.Element;
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- "use strict";
2
- exports.__esModule = true;
3
- var progress_1 = require("../progress");
4
- exports["default"] = progress_1.Progress.Circle;
1
+ // @ts-ignore
2
+ import Circle from '@tuya-miniapp/smart-ui/lib/circle/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Circle);