@ray-js/adapter 1.7.62 → 1.7.64

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 (230) hide show
  1. package/cjs/hostComponents/Button/index.d.ts +1 -1
  2. package/cjs/hostComponents/Button/index.js +2 -2
  3. package/cjs/hostComponents/Button/node.js +2 -2
  4. package/cjs/hostComponents/Camera/index.d.ts +2 -2
  5. package/cjs/hostComponents/Camera/index.js +2 -2
  6. package/cjs/hostComponents/Camera/node.js +2 -2
  7. package/cjs/hostComponents/Canvas/index.d.ts +1 -1
  8. package/cjs/hostComponents/Canvas/index.js +2 -2
  9. package/cjs/hostComponents/Canvas/node.js +2 -2
  10. package/cjs/hostComponents/Checkbox/index.d.ts +1 -1
  11. package/cjs/hostComponents/Checkbox/index.js +2 -2
  12. package/cjs/hostComponents/Checkbox/node.js +2 -2
  13. package/cjs/hostComponents/CheckboxGroup/index.d.ts +1 -1
  14. package/cjs/hostComponents/CheckboxGroup/index.js +2 -2
  15. package/cjs/hostComponents/CheckboxGroup/node.js +2 -2
  16. package/cjs/hostComponents/CoverView/index.d.ts +1 -1
  17. package/cjs/hostComponents/CoverView/index.js +2 -2
  18. package/cjs/hostComponents/CoverView/node.js +2 -2
  19. package/cjs/hostComponents/Form/index.d.ts +1 -1
  20. package/cjs/hostComponents/Form/index.js +2 -2
  21. package/cjs/hostComponents/Form/node.js +2 -2
  22. package/cjs/hostComponents/Iframe/index.d.ts +1 -1
  23. package/cjs/hostComponents/Iframe/index.js +2 -2
  24. package/cjs/hostComponents/Iframe/node.js +2 -2
  25. package/cjs/hostComponents/Image/index.d.ts +1 -1
  26. package/cjs/hostComponents/Image/index.js +2 -2
  27. package/cjs/hostComponents/Image/node.js +2 -2
  28. package/cjs/hostComponents/Input/index.d.ts +1 -1
  29. package/cjs/hostComponents/Input/index.js +2 -2
  30. package/cjs/hostComponents/Input/node.js +2 -2
  31. package/cjs/hostComponents/IpcPlayer/index.d.ts +1 -1
  32. package/cjs/hostComponents/IpcPlayer/index.js +2 -2
  33. package/cjs/hostComponents/IpcPlayer/node.js +2 -2
  34. package/cjs/hostComponents/Label/index.d.ts +1 -1
  35. package/cjs/hostComponents/Label/index.js +2 -2
  36. package/cjs/hostComponents/Label/node.js +2 -2
  37. package/cjs/hostComponents/Map/index.d.ts +1 -1
  38. package/cjs/hostComponents/Map/index.js +2 -2
  39. package/cjs/hostComponents/Map/node.js +2 -2
  40. package/cjs/hostComponents/MovableArea/index.d.ts +1 -1
  41. package/cjs/hostComponents/MovableArea/index.js +2 -2
  42. package/cjs/hostComponents/MovableArea/node.js +2 -2
  43. package/cjs/hostComponents/MovableView/index.d.ts +1 -1
  44. package/cjs/hostComponents/MovableView/index.js +2 -2
  45. package/cjs/hostComponents/MovableView/node.js +2 -2
  46. package/cjs/hostComponents/NativeVideo/index.d.ts +1 -1
  47. package/cjs/hostComponents/NativeVideo/index.js +2 -2
  48. package/cjs/hostComponents/NativeVideo/node.js +2 -2
  49. package/cjs/hostComponents/Navigator/index.d.ts +1 -1
  50. package/cjs/hostComponents/Navigator/index.js +2 -2
  51. package/cjs/hostComponents/PageContainer/index.d.ts +1 -1
  52. package/cjs/hostComponents/PageContainer/index.js +2 -2
  53. package/cjs/hostComponents/PageContainer/node.js +2 -2
  54. package/cjs/hostComponents/Picker/index.d.ts +1 -1
  55. package/cjs/hostComponents/Picker/index.js +2 -2
  56. package/cjs/hostComponents/Picker/node.js +2 -2
  57. package/cjs/hostComponents/PickerView/index.d.ts +1 -1
  58. package/cjs/hostComponents/PickerView/index.js +2 -2
  59. package/cjs/hostComponents/PickerView/node.js +2 -2
  60. package/cjs/hostComponents/PickerViewColumn/index.d.ts +1 -1
  61. package/cjs/hostComponents/PickerViewColumn/index.js +2 -2
  62. package/cjs/hostComponents/PickerViewColumn/node.js +2 -2
  63. package/cjs/hostComponents/Progress/index.d.ts +1 -1
  64. package/cjs/hostComponents/Progress/index.js +2 -2
  65. package/cjs/hostComponents/Progress/node.js +2 -2
  66. package/cjs/hostComponents/Radio/index.d.ts +1 -1
  67. package/cjs/hostComponents/Radio/index.js +2 -2
  68. package/cjs/hostComponents/Radio/node.js +2 -2
  69. package/cjs/hostComponents/RadioGroup/index.d.ts +1 -1
  70. package/cjs/hostComponents/RadioGroup/index.js +2 -2
  71. package/cjs/hostComponents/RadioGroup/node.js +2 -2
  72. package/cjs/hostComponents/RichText/index.d.ts +1 -1
  73. package/cjs/hostComponents/RichText/index.js +2 -2
  74. package/cjs/hostComponents/RichText/node.js +2 -2
  75. package/cjs/hostComponents/ScrollView/index.d.ts +1 -1
  76. package/cjs/hostComponents/ScrollView/index.js +2 -2
  77. package/cjs/hostComponents/ScrollView/node.js +2 -2
  78. package/cjs/hostComponents/Slider/index.d.ts +1 -1
  79. package/cjs/hostComponents/Slider/index.js +2 -2
  80. package/cjs/hostComponents/Slider/node.js +2 -2
  81. package/cjs/hostComponents/SvgRender/index.d.ts +1 -1
  82. package/cjs/hostComponents/SvgRender/index.js +2 -2
  83. package/cjs/hostComponents/SvgRender/node.js +2 -2
  84. package/cjs/hostComponents/Swiper/index.d.ts +1 -1
  85. package/cjs/hostComponents/Swiper/index.js +2 -2
  86. package/cjs/hostComponents/Swiper/node.js +2 -2
  87. package/cjs/hostComponents/SwiperItem/index.d.ts +1 -1
  88. package/cjs/hostComponents/SwiperItem/index.js +2 -2
  89. package/cjs/hostComponents/SwiperItem/node.js +2 -2
  90. package/cjs/hostComponents/Switch/index.d.ts +1 -1
  91. package/cjs/hostComponents/Switch/index.js +2 -2
  92. package/cjs/hostComponents/Switch/node.js +2 -2
  93. package/cjs/hostComponents/Text/index.d.ts +1 -1
  94. package/cjs/hostComponents/Text/index.js +2 -2
  95. package/cjs/hostComponents/Text/node.js +2 -2
  96. package/cjs/hostComponents/Textarea/index.d.ts +1 -1
  97. package/cjs/hostComponents/Textarea/index.js +2 -2
  98. package/cjs/hostComponents/Textarea/node.js +2 -2
  99. package/cjs/hostComponents/Video/index.js +2 -2
  100. package/cjs/hostComponents/Video/node.js +2 -2
  101. package/cjs/hostComponents/View/index.d.ts +1 -1
  102. package/cjs/hostComponents/View/index.js +2 -2
  103. package/cjs/hostComponents/View/node.js +2 -2
  104. package/cjs/hostComponents/WebView/index.d.ts +1 -1
  105. package/cjs/hostComponents/WebView/index.js +2 -2
  106. package/cjs/hostComponents/WebView/node.js +2 -2
  107. package/cjs/hostComponents/index.d.ts +36 -36
  108. package/cjs/hostComponents/index.js +36 -36
  109. package/cjs/hostComponents/node.js +35 -35
  110. package/cjs/index.d.ts +2 -2
  111. package/cjs/index.js +2 -2
  112. package/cjs/node/index.js +2 -2
  113. package/cjs/types/index.d.ts +2 -2
  114. package/cjs/types/index.js +1 -1
  115. package/esm/hostComponents/Button/index.d.ts +1 -1
  116. package/esm/hostComponents/Button/index.js +1 -1
  117. package/esm/hostComponents/Button/node.js +1 -1
  118. package/esm/hostComponents/Camera/index.d.ts +2 -2
  119. package/esm/hostComponents/Camera/index.js +1 -1
  120. package/esm/hostComponents/Camera/node.js +1 -1
  121. package/esm/hostComponents/Canvas/index.d.ts +1 -1
  122. package/esm/hostComponents/Canvas/index.js +1 -1
  123. package/esm/hostComponents/Canvas/node.js +1 -1
  124. package/esm/hostComponents/Checkbox/index.d.ts +1 -1
  125. package/esm/hostComponents/Checkbox/index.js +1 -1
  126. package/esm/hostComponents/Checkbox/node.js +1 -1
  127. package/esm/hostComponents/CheckboxGroup/index.d.ts +1 -1
  128. package/esm/hostComponents/CheckboxGroup/index.js +1 -1
  129. package/esm/hostComponents/CheckboxGroup/node.js +1 -1
  130. package/esm/hostComponents/CoverView/index.d.ts +1 -1
  131. package/esm/hostComponents/CoverView/index.js +1 -1
  132. package/esm/hostComponents/CoverView/node.js +1 -1
  133. package/esm/hostComponents/Form/index.d.ts +1 -1
  134. package/esm/hostComponents/Form/index.js +1 -1
  135. package/esm/hostComponents/Form/node.js +1 -1
  136. package/esm/hostComponents/Iframe/index.d.ts +1 -1
  137. package/esm/hostComponents/Iframe/index.js +1 -1
  138. package/esm/hostComponents/Iframe/node.js +1 -1
  139. package/esm/hostComponents/Image/index.d.ts +1 -1
  140. package/esm/hostComponents/Image/index.js +1 -1
  141. package/esm/hostComponents/Image/node.js +1 -1
  142. package/esm/hostComponents/Input/index.d.ts +1 -1
  143. package/esm/hostComponents/Input/index.js +1 -1
  144. package/esm/hostComponents/Input/node.js +1 -1
  145. package/esm/hostComponents/IpcPlayer/index.d.ts +1 -1
  146. package/esm/hostComponents/IpcPlayer/index.js +1 -1
  147. package/esm/hostComponents/IpcPlayer/node.js +1 -1
  148. package/esm/hostComponents/Label/index.d.ts +1 -1
  149. package/esm/hostComponents/Label/index.js +1 -1
  150. package/esm/hostComponents/Label/node.js +1 -1
  151. package/esm/hostComponents/Map/index.d.ts +1 -1
  152. package/esm/hostComponents/Map/index.js +1 -1
  153. package/esm/hostComponents/Map/node.js +1 -1
  154. package/esm/hostComponents/MovableArea/index.d.ts +1 -1
  155. package/esm/hostComponents/MovableArea/index.js +1 -1
  156. package/esm/hostComponents/MovableArea/node.js +1 -1
  157. package/esm/hostComponents/MovableView/index.d.ts +1 -1
  158. package/esm/hostComponents/MovableView/index.js +1 -1
  159. package/esm/hostComponents/MovableView/node.js +1 -1
  160. package/esm/hostComponents/NativeVideo/index.d.ts +1 -1
  161. package/esm/hostComponents/NativeVideo/index.js +1 -1
  162. package/esm/hostComponents/NativeVideo/node.js +1 -1
  163. package/esm/hostComponents/Navigator/index.d.ts +1 -1
  164. package/esm/hostComponents/Navigator/index.js +1 -1
  165. package/esm/hostComponents/PageContainer/index.d.ts +1 -1
  166. package/esm/hostComponents/PageContainer/index.js +1 -1
  167. package/esm/hostComponents/PageContainer/node.js +1 -1
  168. package/esm/hostComponents/Picker/index.d.ts +1 -1
  169. package/esm/hostComponents/Picker/index.js +1 -1
  170. package/esm/hostComponents/Picker/node.js +1 -1
  171. package/esm/hostComponents/PickerView/index.d.ts +1 -1
  172. package/esm/hostComponents/PickerView/index.js +1 -1
  173. package/esm/hostComponents/PickerView/node.js +1 -1
  174. package/esm/hostComponents/PickerViewColumn/index.d.ts +1 -1
  175. package/esm/hostComponents/PickerViewColumn/index.js +1 -1
  176. package/esm/hostComponents/PickerViewColumn/node.js +1 -1
  177. package/esm/hostComponents/Progress/index.d.ts +1 -1
  178. package/esm/hostComponents/Progress/index.js +1 -1
  179. package/esm/hostComponents/Progress/node.js +1 -1
  180. package/esm/hostComponents/Radio/index.d.ts +1 -1
  181. package/esm/hostComponents/Radio/index.js +1 -1
  182. package/esm/hostComponents/Radio/node.js +1 -1
  183. package/esm/hostComponents/RadioGroup/index.d.ts +1 -1
  184. package/esm/hostComponents/RadioGroup/index.js +1 -1
  185. package/esm/hostComponents/RadioGroup/node.js +1 -1
  186. package/esm/hostComponents/RichText/index.d.ts +1 -1
  187. package/esm/hostComponents/RichText/index.js +1 -1
  188. package/esm/hostComponents/RichText/node.js +1 -1
  189. package/esm/hostComponents/ScrollView/index.d.ts +1 -1
  190. package/esm/hostComponents/ScrollView/index.js +1 -1
  191. package/esm/hostComponents/ScrollView/node.js +1 -1
  192. package/esm/hostComponents/Slider/index.d.ts +1 -1
  193. package/esm/hostComponents/Slider/index.js +1 -1
  194. package/esm/hostComponents/Slider/node.js +1 -1
  195. package/esm/hostComponents/SvgRender/index.d.ts +1 -1
  196. package/esm/hostComponents/SvgRender/index.js +1 -1
  197. package/esm/hostComponents/SvgRender/node.js +1 -1
  198. package/esm/hostComponents/Swiper/index.d.ts +1 -1
  199. package/esm/hostComponents/Swiper/index.js +1 -1
  200. package/esm/hostComponents/Swiper/node.js +1 -1
  201. package/esm/hostComponents/SwiperItem/index.d.ts +1 -1
  202. package/esm/hostComponents/SwiperItem/index.js +1 -1
  203. package/esm/hostComponents/SwiperItem/node.js +1 -1
  204. package/esm/hostComponents/Switch/index.d.ts +1 -1
  205. package/esm/hostComponents/Switch/index.js +1 -1
  206. package/esm/hostComponents/Switch/node.js +1 -1
  207. package/esm/hostComponents/Text/index.d.ts +1 -1
  208. package/esm/hostComponents/Text/index.js +1 -1
  209. package/esm/hostComponents/Text/node.js +1 -1
  210. package/esm/hostComponents/Textarea/index.d.ts +1 -1
  211. package/esm/hostComponents/Textarea/index.js +1 -1
  212. package/esm/hostComponents/Textarea/node.js +1 -1
  213. package/esm/hostComponents/Video/index.js +1 -1
  214. package/esm/hostComponents/Video/node.js +1 -1
  215. package/esm/hostComponents/View/index.d.ts +1 -1
  216. package/esm/hostComponents/View/index.js +1 -1
  217. package/esm/hostComponents/View/node.js +1 -1
  218. package/esm/hostComponents/WebView/index.d.ts +1 -1
  219. package/esm/hostComponents/WebView/index.js +1 -1
  220. package/esm/hostComponents/WebView/node.js +1 -1
  221. package/esm/hostComponents/index.d.ts +36 -36
  222. package/esm/hostComponents/index.js +36 -36
  223. package/esm/hostComponents/node.js +35 -35
  224. package/esm/index.d.ts +2 -2
  225. package/esm/index.js +2 -2
  226. package/esm/node/index.js +1 -1
  227. package/esm/types/index.d.ts +2 -2
  228. package/esm/types/index.js +1 -1
  229. package/node.js +1 -1
  230. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps } from '../../types/component';
2
+ import { BaseProps } from '../../types/component.js';
3
3
  export interface ButtonProps extends BaseProps {
4
4
  size?: 'mini' | 'default';
5
5
  type?: 'primary' | 'default' | 'warn';
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Button = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Button = (0, createHostComponent_1.default)('button');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Button = (0, createHostComponent_js_1.default)('button');
9
9
  exports.Button.defaultProps = {
10
10
  size: 'default',
11
11
  type: 'default',
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', id: 'id', style: 'style', size: 'size', type: 'type', plain: 'plain', disabled: 'disabled', loading: 'loading', formType: 'form-type', openType: 'open-type', hoverClassName: 'hover-class', hoverStartTime: 'hover-start-time', hoverStayTime: 'hover-stay-time', hoverStopPropagation: 'hover-stop-propagation', onGetPhoneNumber: 'bind:getphonenumber', onTap: 'bind:tap', onClick: 'bind:tap', onTouchStart: 'bind:touchstart', onTouchMove: 'bind:touchmove', onTouchEnd: 'bind:touchend', onTouchCancel: 'bind:touchcancel', onLongTap: 'bind:longtap', onLongClick: 'bind:longtap', onLongPress: 'bind:longpress',
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { className: 'class', animation: 'animation', id: 'id', style: 'style', size: 'size', type: 'type', plain: 'plain', disabled: 'disabled', loading: 'loading', formType: 'form-type', openType: 'open-type', hoverClassName: 'hover-class', hoverStartTime: 'hover-start-time', hoverStayTime: 'hover-stay-time', hoverStopPropagation: 'hover-stop-propagation', onGetPhoneNumber: 'bind:getphonenumber', onTap: 'bind:tap', onClick: 'bind:tap', onTouchStart: 'bind:touchstart', onTouchMove: 'bind:touchmove', onTouchEnd: 'bind:touchend', onTouchCancel: 'bind:touchcancel', onLongTap: 'bind:longtap', onLongClick: 'bind:longtap', onLongPress: 'bind:longpress',
6
6
  // ray 1.3.20添加
7
7
  onFeedback: 'bind:feedback' });
8
8
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { BaseProps, DiffLayer, GenericEvent } from '../../types/component';
1
+ import type * as React from 'react';
2
+ import type { BaseProps, DiffLayer, GenericEvent } from '../../types/component.js';
3
3
  export interface CameraProps extends BaseProps, DiffLayer {
4
4
  mode?: string;
5
5
  resolution?: string;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Camera = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Camera = (0, createHostComponent_1.default)('camera');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Camera = (0, createHostComponent_js_1.default)('camera');
9
9
  exports.Camera.defaultProps = {
10
10
  mode: 'normal',
11
11
  resolution: 'medium',
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', mode: 'mode', resolution: 'resolution', devicePosition: 'device-position', flash: 'flash', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onBindstop: 'bind:bind:stop', onError: 'bind:error', onInitdone: 'bind:initdone' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', mode: 'mode', resolution: 'resolution', devicePosition: 'device-position', flash: 'flash', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onBindstop: 'bind:bind:stop', onError: 'bind:error', onInitdone: 'bind:initdone' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { GenericEvent } from '../../types';
2
+ import { GenericEvent } from '../../types/index.js';
3
3
  export interface CanvasProps {
4
4
  readonly dataset?: DOMStringMap;
5
5
  id?: string;
@@ -4,5 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Canvas = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Canvas = (0, createHostComponent_1.default)('canvas');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Canvas = (0, createHostComponent_js_1.default)('canvas');
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', style: 'style', className: 'class', animation: 'animation', disableScroll: 'disable-scroll', type: 'type', canvasId: 'canvas-id', onTouchStart: 'bind:touchstart', onTouchMove: 'bind:touchmove', onTouchEnd: 'bind:touchend', onTouchCancel: 'bind:touchcancel', onError: 'bind:error', onLongTap: 'bind:longtap', onLongClick: 'bind:longtap', onTap: 'bind:tap', onClick: 'bind:tap' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', style: 'style', className: 'class', animation: 'animation', disableScroll: 'disable-scroll', type: 'type', canvasId: 'canvas-id', onTouchStart: 'bind:touchstart', onTouchMove: 'bind:touchmove', onTouchEnd: 'bind:touchend', onTouchCancel: 'bind:touchcancel', onError: 'bind:error', onLongTap: 'bind:longtap', onLongClick: 'bind:longtap', onTap: 'bind:tap', onClick: 'bind:tap' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps } from '../../types/component';
2
+ import { BaseProps } from '../../types/component.js';
3
3
  export interface CheckboxProps extends BaseProps {
4
4
  /** checkbox 标识,选中时触发 checkbox-group 的 change 事件,并携带 checkbox 的 value */
5
5
  value?: string;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Checkbox = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Checkbox = (0, createHostComponent_1.default)('checkbox');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Checkbox = (0, createHostComponent_js_1.default)('checkbox');
9
9
  exports.Checkbox.defaultProps = {
10
10
  // disabled: false,
11
11
  // checked: false,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', checked: 'checked', disabled: 'disabled', color: 'color' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', checked: 'checked', disabled: 'disabled', color: 'color' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, GenericEvent } from '../../types/component';
2
+ import { BaseProps, GenericEvent } from '../../types/component.js';
3
3
  export interface CheckboxGroupProps extends BaseProps {
4
4
  name?: string;
5
5
  /**
@@ -4,5 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CheckboxGroup = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.CheckboxGroup = (0, createHostComponent_1.default)('checkbox-group');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.CheckboxGroup = (0, createHostComponent_js_1.default)('checkbox-group');
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', onChange: 'bind:change' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', onChange: 'bind:change' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps } from '../../types/component';
2
+ import { BaseProps } from '../../types/component.js';
3
3
  export interface CoverViewProps extends BaseProps {
4
4
  children?: any;
5
5
  }
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CoverView = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.CoverView = (0, createHostComponent_1.default)('cover-view');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.CoverView = (0, createHostComponent_js_1.default)('cover-view');
9
9
  exports.CoverView.defaultProps = {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, GenericEvent } from '../../types/component';
2
+ import { BaseProps, GenericEvent } from '../../types/component.js';
3
3
  export interface FormProps extends BaseProps {
4
4
  /** 是否返回 formId 用于发送模板消息 */
5
5
  reportSubmit?: boolean;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Form = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Form = (0, createHostComponent_1.default)('form');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Form = (0, createHostComponent_js_1.default)('form');
9
9
  exports.Form.defaultProps = {
10
10
  // reportSubmit: false,
11
11
  reportSubmitTimeout: 0,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', style: 'style', animation: 'animation', reportSubmit: 'report-submit', onSubmit: 'bind:submit', onReset: 'bind:reset', reportSubmitTimeout: 'report-submit-timeout' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', style: 'style', animation: 'animation', reportSubmit: 'report-submit', onSubmit: 'bind:submit', onReset: 'bind:reset', reportSubmitTimeout: 'report-submit-timeout' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, DiffLayer, GenericEvent } from '../../types/component';
2
+ import { BaseProps, DiffLayer, GenericEvent } from '../../types/component.js';
3
3
  export interface IframeProps extends BaseProps, DiffLayer {
4
4
  /**
5
5
  * webview 指向网页的链接,网页需登录小程序管理后台配置业务域名。
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Iframe = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Iframe = (0, createHostComponent_1.default)('iframe');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Iframe = (0, createHostComponent_js_1.default)('iframe');
9
9
  exports.Iframe.defaultProps = {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { src: 'src', injectTTT: 'inject-ttt', onError: 'bind:error', onLoad: 'bind:load', onMessage: 'bind:message' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { src: 'src', injectTTT: 'inject-ttt', onError: 'bind:error', onLoad: 'bind:load', onMessage: 'bind:message' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import type { BaseProps, GenericEvent } from '../../types/component';
2
+ import type { BaseProps, GenericEvent } from '../../types/component.js';
3
3
  export interface ImageProps extends BaseProps {
4
4
  /**
5
5
  * 图片资源地址
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Image = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Image = (0, createHostComponent_1.default)('image');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Image = (0, createHostComponent_js_1.default)('image');
9
9
  exports.Image.defaultProps = {
10
10
  mode: 'scaleToFill',
11
11
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', src: 'src', mode: 'mode', className: 'class', animation: 'animation', style: 'style', lazyLoad: 'lazy-load', fadeDuration: 'fade-duration', onLoad: 'bind:load', onError: 'bind:error', onTap: 'bind:tap', onClick: 'bind:tap', onTouchStart: 'bind:touchstart', onTouchMove: 'bind:touchmove', onTouchEnd: 'bind:touchend', onTouchCancel: 'bind:touchcancel' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', src: 'src', mode: 'mode', className: 'class', animation: 'animation', style: 'style', lazyLoad: 'lazy-load', fadeDuration: 'fade-duration', onLoad: 'bind:load', onError: 'bind:error', onTap: 'bind:tap', onClick: 'bind:tap', onTouchStart: 'bind:touchstart', onTouchMove: 'bind:touchmove', onTouchEnd: 'bind:touchend', onTouchCancel: 'bind:touchcancel' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, GenericEvent } from '../../types/component';
2
+ import { BaseProps, GenericEvent } from '../../types/component.js';
3
3
  export interface InputProps extends BaseProps {
4
4
  value?: string;
5
5
  type?: 'text' | 'number';
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Input = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Input = (0, createHostComponent_1.default)('input');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Input = (0, createHostComponent_js_1.default)('input');
9
9
  exports.Input.defaultProps = {
10
10
  type: 'text',
11
11
  maxLength: 140,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', type: 'type', password: 'password', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', confirmType: 'confirm-type', indentStart: 'indent-start', indentEnd: 'indent-end', onInput: 'bind:input', onFocus: 'bind:focus', onBlur: 'bind:blur', onConfirm: 'bind:confirm' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', type: 'type', password: 'password', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', confirmType: 'confirm-type', indentStart: 'indent-start', indentEnd: 'indent-end', onInput: 'bind:input', onFocus: 'bind:focus', onBlur: 'bind:blur', onConfirm: 'bind:confirm' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import type { BaseProps, DiffLayer } from '../../types/component';
2
+ import type { BaseProps, DiffLayer } from '../../types/component.js';
3
3
  export interface IpcPlayerProps extends BaseProps, DiffLayer {
4
4
  type?: number;
5
5
  deviceId: string;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.IpcPlayer = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.IpcPlayer = (0, createHostComponent_1.default)('ipc-player');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.IpcPlayer = (0, createHostComponent_js_1.default)('ipc-player');
9
9
  exports.IpcPlayer.defaultProps = {
10
10
  deviceId: '',
11
11
  autoplay: false,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', deviceId: 'device-id', autoplay: 'autoplay', muted: 'muted', clarity: 'clarity', soundMode: 'sound-mode', orientation: 'orientation', objectFit: 'object-fit', autoPauseIfNavigate: 'auto-pause-if-navigate', autoPauseIfOpenNative: 'auto-pause-if-open-native', rotateZ: 'rotate-z', scalable: 'scalable', scaleMultiple: 'scale-multiple', type: 'type', ptzControllable: 'ptz-controllable', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', backgroundColor: 'background-color', onConnectchange: 'bind:connectchange', onPreviewchange: 'bind:previewchange', onInitdone: 'bind:initdone', onOnlinechange: 'bind:onlinechange', onZoomchange: 'bind:zoomchange', onVideotap: 'bind:videotap', onConnectChange: 'bind:connectchange', onPreviewChange: 'bind:previewchange', onInitDone: 'bind:initdone', onOnlineChange: 'bind:onlinechange', onZoomChange: 'bind:zoomchange', onVideoTap: 'bind:videotap', onError: 'bind:error', updateLayout: 'update-layout', onSessionDidDisconnected: 'bind:sessionDidDisconnected', onCameraPreviewFailure: 'bind:cameraPreviewFailure', onCameraNotifyWeakNetwork: 'bind:cameraNotifyWeakNetwork', onCreateViewSuccess: 'bind:createViewSuccess', onSelectVideoIndex: 'bind:selectVideoIndex', onLayoutStatusChanged: 'bind:layoutStatusChanged', onLocalizerViewLocated: 'bind:localizerViewLocated', onSwipeAtVideoIndex: 'bind:swipeAtVideoIndex', config: 'config' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', deviceId: 'device-id', autoplay: 'autoplay', muted: 'muted', clarity: 'clarity', soundMode: 'sound-mode', orientation: 'orientation', objectFit: 'object-fit', autoPauseIfNavigate: 'auto-pause-if-navigate', autoPauseIfOpenNative: 'auto-pause-if-open-native', rotateZ: 'rotate-z', scalable: 'scalable', scaleMultiple: 'scale-multiple', type: 'type', ptzControllable: 'ptz-controllable', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', backgroundColor: 'background-color', onConnectchange: 'bind:connectchange', onPreviewchange: 'bind:previewchange', onInitdone: 'bind:initdone', onOnlinechange: 'bind:onlinechange', onZoomchange: 'bind:zoomchange', onVideotap: 'bind:videotap', onConnectChange: 'bind:connectchange', onPreviewChange: 'bind:previewchange', onInitDone: 'bind:initdone', onOnlineChange: 'bind:onlinechange', onZoomChange: 'bind:zoomchange', onVideoTap: 'bind:videotap', onError: 'bind:error', updateLayout: 'update-layout', onSessionDidDisconnected: 'bind:sessionDidDisconnected', onCameraPreviewFailure: 'bind:cameraPreviewFailure', onCameraNotifyWeakNetwork: 'bind:cameraNotifyWeakNetwork', onCreateViewSuccess: 'bind:createViewSuccess', onSelectVideoIndex: 'bind:selectVideoIndex', onLayoutStatusChanged: 'bind:layoutStatusChanged', onLocalizerViewLocated: 'bind:localizerViewLocated', onSwipeAtVideoIndex: 'bind:swipeAtVideoIndex', config: 'config' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps } from '../../types/component';
2
+ import { BaseProps } from '../../types/component.js';
3
3
  export interface LabelProps extends BaseProps {
4
4
  /** 绑定控件的 */
5
5
  for?: string;
@@ -4,5 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Label = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Label = (0, createHostComponent_1.default)('label');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Label = (0, createHostComponent_js_1.default)('label');
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', for: 'for', onClick: 'bind:tap', onTap: 'bind:tap' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', for: 'for', onClick: 'bind:tap', onTap: 'bind:tap' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, DiffLayer, GenericEvent } from '../../types/component';
2
+ import { BaseProps, DiffLayer, GenericEvent } from '../../types/component.js';
3
3
  export interface MapProps extends BaseProps, DiffLayer {
4
4
  longitude: number;
5
5
  latitude: number;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Map = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Map = (0, createHostComponent_1.default)('map');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Map = (0, createHostComponent_js_1.default)('map');
9
9
  exports.Map.defaultProps = {
10
10
  scale: 16,
11
11
  minScale: 4,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', mapType: 'map-type', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', className: 'class', style: 'style', updateLayout: 'update-layout', longitude: 'longitude', latitude: 'latitude', scale: 'scale', minScale: 'min-scale', maxScale: 'max-scale', disableAnimation: 'disable-animation', mapType: 'map-type', markers: 'markers', polyline: 'polyline', circles: 'circles', polygons: 'polygons', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onMarkertap: 'bind:markertap', onCallouttap: 'bind:callouttap', onRegionchange: 'bind:regionchange', onInitdone: 'bind:initdone' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps } from '../../types/component';
2
+ import { BaseProps } from '../../types/component.js';
3
3
  export interface MovableAreaProps extends BaseProps {
4
4
  /** 当里面的 movable-view 设置为支持双指缩放时,设置此值可将缩放手势生效区域修改为整个 movable-area */
5
5
  scaleArea?: boolean;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.MovableArea = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.MovableArea = (0, createHostComponent_1.default)('movable-area');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.MovableArea = (0, createHostComponent_js_1.default)('movable-area');
9
9
  exports.MovableArea.defaultProps = {
10
10
  scaleArea: false,
11
11
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', style: 'style', className: 'class', animation: 'animation', scaleArea: 'scale-area' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { id: 'id', style: 'style', className: 'class', animation: 'animation', scaleArea: 'scale-area' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, GenericEvent } from '../../types/component';
2
+ import { BaseProps, GenericEvent } from '../../types/component.js';
3
3
  export interface MovableViewProps extends Omit<BaseProps, 'animation'> {
4
4
  direction?: string;
5
5
  inertia?: boolean;
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.MovableView = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
8
  /**
9
9
  * https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html
10
10
  */
11
- exports.MovableView = (0, createHostComponent_1.default)('movable-view');
11
+ exports.MovableView = (0, createHostComponent_js_1.default)('movable-view');
12
12
  exports.MovableView.defaultProps = {
13
13
  direction: 'none',
14
14
  inertia: false,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', direction: 'direction', inertia: 'inertia', outOfBounds: 'out-of-bounds', x: 'x', y: 'y', damping: 'damping', friction: 'friction', disabled: 'disabled', scale: 'scale', scaleMin: 'scale-min', scaleMax: 'scale-max', scaleValue: 'scale-value', onChange: 'bind:change', onScale: 'bind:scale', htouchmove: 'htouchmove', vtouchmove: 'vtouchmove' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', direction: 'direction', inertia: 'inertia', outOfBounds: 'out-of-bounds', x: 'x', y: 'y', damping: 'damping', friction: 'friction', disabled: 'disabled', scale: 'scale', scaleMin: 'scale-min', scaleMax: 'scale-max', scaleValue: 'scale-value', onChange: 'bind:change', onScale: 'bind:scale', htouchmove: 'htouchmove', vtouchmove: 'vtouchmove' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, DiffLayer } from '../../types/component';
2
+ import { BaseProps, DiffLayer } from '../../types/component.js';
3
3
  export interface NativeVideoProps extends BaseProps, DiffLayer {
4
4
  src: string;
5
5
  duration?: number;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.NativeVideo = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.NativeVideo = (0, createHostComponent_1.default)('native-video');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.NativeVideo = (0, createHostComponent_js_1.default)('native-video');
9
9
  exports.NativeVideo.defaultProps = {
10
10
  controls: true,
11
11
  autoplay: false,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', updateLayout: 'update-layout', src: 'src', duration: 'duration', controls: 'controls', autoplay: 'autoplay', loop: 'loop', muted: 'muted', initialTime: 'initial-time', showFullscreenBtn: 'show-fullscreen-btn', showPlayBtn: 'show-play-btn', showCenterPlayBtn: 'show-center-play-btn', objectFit: 'object-fit', poster: 'poster', showMuteBtn: 'show-mute-btn', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onPlay: 'bind:play', onPause: 'bind:pause', onEnded: 'bind:ended', onTimeupdate: 'bind:timeupdate', onFullscreenchange: 'bind:fullscreenchange', onWaiting: 'bind:waiting', onError: 'bind:error', onProgress: 'bind:progress', onLoadedmetadata: 'bind:loadedmetadata', onControlstoggle: 'bind:controlstoggle', onSeekcomplete: 'bind:seekcomplete' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', updateLayout: 'update-layout', src: 'src', duration: 'duration', controls: 'controls', autoplay: 'autoplay', loop: 'loop', muted: 'muted', initialTime: 'initial-time', showFullscreenBtn: 'show-fullscreen-btn', showPlayBtn: 'show-play-btn', showCenterPlayBtn: 'show-center-play-btn', objectFit: 'object-fit', poster: 'poster', showMuteBtn: 'show-mute-btn', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onPlay: 'bind:play', onPause: 'bind:pause', onEnded: 'bind:ended', onTimeupdate: 'bind:timeupdate', onFullscreenchange: 'bind:fullscreenchange', onWaiting: 'bind:waiting', onError: 'bind:error', onProgress: 'bind:progress', onLoadedmetadata: 'bind:loadedmetadata', onControlstoggle: 'bind:controlstoggle', onSeekcomplete: 'bind:seekcomplete' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, GenericEvent } from '../../types/component';
2
+ import { BaseProps, GenericEvent } from '../../types/component.js';
3
3
  export interface NavigatorProps extends BaseProps {
4
4
  /** (default: self) 在哪个目标上发生跳转,默认当前小程序 2.0.7 */
5
5
  target?: 'self' | 'miniProgram';
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Navigator = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
8
  /**
9
9
  * https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html
10
10
  */
11
- exports.Navigator = (0, createHostComponent_1.default)('navigator');
11
+ exports.Navigator = (0, createHostComponent_js_1.default)('navigator');
12
12
  exports.Navigator.defaultProps = {
13
13
  target: 'self',
14
14
  openType: 'navigate',
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, GenericEvent } from '../../types/component';
2
+ import { BaseProps, GenericEvent } from '../../types/component.js';
3
3
  export interface PageContainerProps extends BaseProps {
4
4
  show?: boolean;
5
5
  duration?: number;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.PageContainer = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.PageContainer = (0, createHostComponent_1.default)('page-container');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.PageContainer = (0, createHostComponent_js_1.default)('page-container');
9
9
  exports.PageContainer.defaultProps = {
10
10
  // show: false,
11
11
  duration: 300,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
- const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', show: 'show', duration: 'duration', zIndex: 'z-index', overlay: 'overlay', position: 'position', round: 'round', closeOnSlideDown: 'close-on-slideDown', overlayStyle: 'overlay-style', customStyle: 'custom-style', onBeforeEnter: 'bind:beforeenter', onEnter: 'bind:enter', onAfterEnter: 'bind:afterenter', onBeforeLeave: 'bind:beforeleave', onLeave: 'bind:leave', onAfterLeave: 'bind:afterleave', onClickOverlay: 'bind:clickoverlay' });
4
+ const universal_js_1 = require("../universal.js");
5
+ exports.alias = Object.assign(Object.assign({}, universal_js_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', show: 'show', duration: 'duration', zIndex: 'z-index', overlay: 'overlay', position: 'position', round: 'round', closeOnSlideDown: 'close-on-slideDown', overlayStyle: 'overlay-style', customStyle: 'custom-style', onBeforeEnter: 'bind:beforeenter', onEnter: 'bind:enter', onAfterEnter: 'bind:afterenter', onBeforeLeave: 'bind:beforeleave', onLeave: 'bind:leave', onAfterLeave: 'bind:afterleave', onClickOverlay: 'bind:clickoverlay' });
6
6
  exports.props = Object.values(exports.alias);
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseProps, GenericEvent } from '../../types/component';
2
+ import { BaseProps, GenericEvent } from '../../types/component.js';
3
3
  export interface PickerProps extends BaseProps {
4
4
  name?: string;
5
5
  /**
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Picker = void 0;
7
- const createHostComponent_1 = __importDefault(require("../createHostComponent"));
8
- exports.Picker = (0, createHostComponent_1.default)('picker');
7
+ const createHostComponent_js_1 = __importDefault(require("../createHostComponent.js"));
8
+ exports.Picker = (0, createHostComponent_js_1.default)('picker');
9
9
  exports.Picker.defaultProps = {
10
10
  mode: 'selector',
11
11
  // disabled: false,