@ray-js/adapter 1.7.4 → 1.7.5

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 (57) hide show
  1. package/cjs/hostComponents/Button/node.js +2 -2
  2. package/cjs/hostComponents/Camera/node.js +1 -1
  3. package/cjs/hostComponents/Canvas/node.js +1 -1
  4. package/cjs/hostComponents/CheckboxGroup/node.js +1 -1
  5. package/cjs/hostComponents/Form/node.js +1 -1
  6. package/cjs/hostComponents/Iframe/node.js +1 -1
  7. package/cjs/hostComponents/Image/node.js +1 -1
  8. package/cjs/hostComponents/Input/node.js +1 -1
  9. package/cjs/hostComponents/IpcPlayer/node.d.ts +1 -0
  10. package/cjs/hostComponents/IpcPlayer/node.js +1 -1
  11. package/cjs/hostComponents/Label/node.js +1 -1
  12. package/cjs/hostComponents/MovableView/node.js +1 -1
  13. package/cjs/hostComponents/Navigator/node.js +3 -3
  14. package/cjs/hostComponents/PageContainer/node.js +1 -1
  15. package/cjs/hostComponents/Picker/node.js +1 -1
  16. package/cjs/hostComponents/PickerView/node.js +1 -1
  17. package/cjs/hostComponents/RadioGroup/node.js +1 -1
  18. package/cjs/hostComponents/RichText/node.js +1 -1
  19. package/cjs/hostComponents/ScrollView/node.js +2 -2
  20. package/cjs/hostComponents/Slider/node.js +1 -1
  21. package/cjs/hostComponents/Swiper/node.js +1 -1
  22. package/cjs/hostComponents/Switch/node.js +1 -1
  23. package/cjs/hostComponents/Text/node.js +1 -1
  24. package/cjs/hostComponents/Textarea/node.js +1 -1
  25. package/cjs/hostComponents/Video/node.js +1 -1
  26. package/cjs/hostComponents/View/node.js +1 -1
  27. package/cjs/hostComponents/WebView/node.js +1 -1
  28. package/cjs/hostComponents/universal.js +13 -13
  29. package/esm/hostComponents/Button/node.js +2 -2
  30. package/esm/hostComponents/Camera/node.js +1 -1
  31. package/esm/hostComponents/Canvas/node.js +1 -1
  32. package/esm/hostComponents/CheckboxGroup/node.js +1 -1
  33. package/esm/hostComponents/Form/node.js +1 -1
  34. package/esm/hostComponents/Iframe/node.js +1 -1
  35. package/esm/hostComponents/Image/node.js +1 -1
  36. package/esm/hostComponents/Input/node.js +1 -1
  37. package/esm/hostComponents/IpcPlayer/node.d.ts +1 -0
  38. package/esm/hostComponents/IpcPlayer/node.js +1 -1
  39. package/esm/hostComponents/Label/node.js +1 -1
  40. package/esm/hostComponents/MovableView/node.js +1 -1
  41. package/esm/hostComponents/Navigator/node.js +3 -3
  42. package/esm/hostComponents/PageContainer/node.js +1 -1
  43. package/esm/hostComponents/Picker/node.js +1 -1
  44. package/esm/hostComponents/PickerView/node.js +1 -1
  45. package/esm/hostComponents/RadioGroup/node.js +1 -1
  46. package/esm/hostComponents/RichText/node.js +1 -1
  47. package/esm/hostComponents/ScrollView/node.js +2 -2
  48. package/esm/hostComponents/Slider/node.js +1 -1
  49. package/esm/hostComponents/Swiper/node.js +1 -1
  50. package/esm/hostComponents/Switch/node.js +1 -1
  51. package/esm/hostComponents/Text/node.js +1 -1
  52. package/esm/hostComponents/Textarea/node.js +1 -1
  53. package/esm/hostComponents/Video/node.js +1 -1
  54. package/esm/hostComponents/View/node.js +1 -1
  55. package/esm/hostComponents/WebView/node.js +1 -1
  56. package/esm/hostComponents/universal.js +13 -13
  57. package/package.json +3 -3
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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: 'bindgetphonenumber', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onLongPress: 'bindlongpress',
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',
6
6
  // ray 1.3.20添加
7
- onFeedback: 'bindfeedback' });
7
+ onFeedback: 'bind:feedback' });
8
8
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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:bindstop', onError: 'bind:error', onInitdone: 'bind:initdone' });
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' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onError: 'binderror', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onTap: 'bindtap', onClick: 'bindtap' });
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' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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: 'bindchange' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', onChange: 'bind:change' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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: 'bindsubmit', onReset: 'bindreset', reportSubmitTimeout: 'report-submit-timeout' });
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' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { src: 'src', onError: 'binderror', onLoad: 'bindload', onMessage: 'bindmessage' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { src: 'src', onError: 'bind:error', onLoad: 'bind:load', onMessage: 'bind:message' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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', onLoad: 'bindload', onError: 'binderror', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel' });
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', 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);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
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' });
6
6
  exports.props = Object.values(exports.alias);
@@ -40,6 +40,7 @@ export declare const alias: {
40
40
  onCameraPreviewFailure: string;
41
41
  onCameraNotifyWeakNetwork: string;
42
42
  onCreateViewSuccess: string;
43
+ config: string;
43
44
  disableScroll: string;
44
45
  hoverClass: string;
45
46
  hoverClassName: string;
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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' });
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', config: 'config' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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: 'bindtap', onTap: 'bindtap' });
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' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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: 'bindchange', onScale: 'bindscale', htouchmove: 'htouchmove', vtouchmove: 'vtouchmove' });
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' });
6
6
  exports.props = Object.values(exports.alias);
@@ -19,8 +19,8 @@ exports.alias = {
19
19
  extraData: 'extra-data',
20
20
  version: 'version',
21
21
  hoverStopPropagation: 'hover-stop-propagation',
22
- onSuccess: 'bindsuccess',
23
- onFail: 'bindfail',
24
- onComplete: 'bindcomplete',
22
+ onSuccess: 'bind:success',
23
+ onFail: 'bind:fail',
24
+ onComplete: 'bind:complete',
25
25
  };
26
26
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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: 'bindbeforeenter', onEnter: 'bindenter', onAfterEnter: 'bindafterenter', onBeforeLeave: 'bindbeforeleave', onLeave: 'bindleave', onAfterLeave: 'bindafterleave', onClickOverlay: 'bindclickoverlay' });
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' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bindchange', onCancel: 'bindcancel', onColumnChange: 'bindcolumnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bindtap', onTap: 'bindtap',
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bind:change', onCancel: 'bind:cancel', onColumnChange: 'bind:columnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bind:tap', onTap: 'bind:tap',
6
6
  // 1.4.1 支持属性
7
7
  confirmText: 'confirm-text', cancelText: 'cancel-text' });
8
8
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { value: 'value', indicatorStyle: 'indicator-style', maskStyle: 'mask-style', onChange: 'bindchange', onPickstart: 'bindpickstart', onPickend: 'bindpickend' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { value: 'value', indicatorStyle: 'indicator-style', maskStyle: 'mask-style', onChange: 'bind:change', onPickstart: 'bind:pickstart', onPickend: 'bind:pickend' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', onChange: 'bindchange', name: 'name' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', onChange: 'bind:change', name: 'name' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { nodes: 'nodes', onSelect: 'bindselect' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { nodes: 'nodes', onSelect: 'bind:select' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', scrollX: 'scroll-x', scrollY: 'scroll-y', upperThreshold: 'upper-threshold', lowerThreshold: 'lower-threshold', scrollTop: 'scroll-top', scrollLeft: 'scroll-left', scrollIntoView: 'scroll-into-view', scrollWithAnimation: 'scroll-with-animation', enableBackToTop: 'enable-back-to-top', enableFlex: 'enable-flex', onScrollToUpper: 'bindscrolltoupper', onScrollToLower: 'bindscrolltolower', onScroll: 'bindscroll',
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', scrollX: 'scroll-x', scrollY: 'scroll-y', upperThreshold: 'upper-threshold', lowerThreshold: 'lower-threshold', scrollTop: 'scroll-top', scrollLeft: 'scroll-left', scrollIntoView: 'scroll-into-view', scrollWithAnimation: 'scroll-with-animation', enableBackToTop: 'enable-back-to-top', enableFlex: 'enable-flex', onScrollToUpper: 'bind:scrolltoupper', onScrollToLower: 'bind:scrolltolower', onScroll: 'bind:scroll',
6
6
  /* 0.9.3新增 */
7
- refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', hideScrollbar: 'hide-scrollbar', onRefresherPulling: 'bindrefresherpulling', onRefresherpulling: 'bindrefresherpulling', onRefresherRefresh: 'bindrefresherrefresh', onRefresherrefresh: 'bindrefresherrefresh', onRefresherRestore: 'bindrefresherrestore', onRefresherrestore: 'bindrefresherrestore', onRefresherAbort: 'bindrefresherabort', onRefresherabort: 'bindrefresherabort' });
7
+ refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', hideScrollbar: 'hide-scrollbar', onRefresherPulling: 'bind:refresherpulling', onRefresherpulling: 'bind:refresherpulling', onRefresherRefresh: 'bind:refresherrefresh', onRefresherrefresh: 'bind:refresherrefresh', onRefresherRestore: 'bind:refresherrestore', onRefresherrestore: 'bind:refresherrestore', onRefresherAbort: 'bind:refresherabort', onRefresherabort: 'bind:refresherabort' });
8
8
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { min: 'min', max: 'max', step: 'step', value: 'value', color: 'color', selecteColor: 'selecteColor', activeColor: 'activeColor', backgroundColor: 'backgroundColor', boxSize: 'boxSize', blockColor: 'blockColor', blockSize: 'blockSize', showValue: 'showValue', onChange: 'bindchange', onChanging: 'bindchanging' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { min: 'min', max: 'max', step: 'step', value: 'value', color: 'color', selecteColor: 'selecteColor', activeColor: 'activeColor', backgroundColor: 'backgroundColor', boxSize: 'boxSize', blockColor: 'blockColor', blockSize: 'blockSize', showValue: 'showValue', onChange: 'bind:change', onChanging: 'bind:changing' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', indicatorDots: 'indicator-dots', indicatorColor: 'indicator-color', indicatorActiveColor: 'indicator-active-color', autoplay: 'autoplay', current: 'current', interval: 'interval', duration: 'duration', circular: 'circular', vertical: 'vertical', previousMargin: 'previous-margin', nextMargin: 'next-margin', snapToEdge: 'snap-to-edge', displayMultipleItems: 'display-multiple-items', onChange: 'bindchange', onTransition: 'bingtransition', onAnimationFinish: 'bindanimationfinish', onTap: 'bindtap', onClick: 'bindtap' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', indicatorDots: 'indicator-dots', indicatorColor: 'indicator-color', indicatorActiveColor: 'indicator-active-color', autoplay: 'autoplay', current: 'current', interval: 'interval', duration: 'duration', circular: 'circular', vertical: 'vertical', previousMargin: 'previous-margin', nextMargin: 'next-margin', snapToEdge: 'snap-to-edge', displayMultipleItems: 'display-multiple-items', onChange: 'bind:change', onTransition: 'bingtransition', onAnimationFinish: 'bind:animationfinish', onTap: 'bind:tap', onClick: 'bind:tap' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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', checked: 'checked', disabled: 'disabled', color: 'color', onChange: 'bindchange', type: 'type' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', checked: 'checked', disabled: 'disabled', color: 'color', onChange: 'bind:change', type: 'type' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', selectable: 'selectable', userSelect: 'user-select', space: 'space', decode: 'decode', onTap: 'bindtap', onClick: 'bindtap' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', selectable: 'selectable', userSelect: 'user-select', space: 'space', decode: 'decode', onTap: 'bind:tap', onClick: 'bind:tap' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
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', value: 'value', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', autoHeight: 'auto-height', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onLineChange: 'bindlinechange' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', value: 'value', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', autoHeight: 'auto-height', onInput: 'bind:input', onFocus: 'bind:focus', onBlur: 'bind:blur', onLineChange: 'bind:linechange' });
6
6
  exports.props = Object.values(exports.alias);
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const shared_1 = require("@ray-core/shared");
5
5
  const universal_1 = require("../universal");
6
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', style: 'style', src: 'src', duration: 'duration', controls: 'controls', danmuList: 'danmu-list', danmuBtn: 'danmu-btn', enableDanmu: 'enable-danmu', 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', onPlay: 'bindplay', onPause: 'bindpause', onEnded: 'bindended', onTimeUpdate: 'bindtimeupdate', onTimeupdate: 'bindtimeupdate', onWaiting: 'bindwaiting', onError: 'binderror', onProgress: 'bindprogress', onLoadedMetadata: 'bindloadedmetadata', onLoadedmetadata: 'bindloadedmetadata', onCanplay: 'bindcanplay', onCanplayThrough: 'bindcanplaythrough', onPlaying: 'bindplaying', onRateChange: 'bindratechange', onVolumeChange: 'bindvolumechange', onSeekComplete: 'bindseekcomplete', onSeekcomplete: 'bindseekcomplete', autoPause: 'auto-pause', borderRadius: 'border-radius' });
6
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', style: 'style', src: 'src', duration: 'duration', controls: 'controls', danmuList: 'danmu-list', danmuBtn: 'danmu-btn', enableDanmu: 'enable-danmu', 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', onPlay: 'bind:play', onPause: 'bind:pause', onEnded: 'bind:ended', onTimeUpdate: 'bind:timeupdate', onTimeupdate: 'bind:timeupdate', onWaiting: 'bind:waiting', onError: 'bind:error', onProgress: 'bind:progress', onLoadedMetadata: 'bind:loadedmetadata', onLoadedmetadata: 'bind:loadedmetadata', onCanplay: 'bind:canplay', onCanplayThrough: 'bind:canplaythrough', onPlaying: 'bind:playing', onRateChange: 'bind:ratechange', onVolumeChange: 'bind:volumechange', onSeekComplete: 'bind:seekcomplete', onSeekcomplete: 'bind:seekcomplete', autoPause: 'auto-pause', borderRadius: 'border-radius' });
7
7
  exports.props = (0, shared_1.unique)(Object.values(exports.alias));
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { catchTouchMove: 'catchtouchmove' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { catchTouchMove: 'catch:touchmove' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
- exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { src: 'src', onError: 'binderror', onLoad: 'bindload', onMessage: 'bindmessage', updateLayout: 'update-layout' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { src: 'src', onError: 'bind:error', onLoad: 'bind:load', onMessage: 'bind:message', updateLayout: 'update-layout' });
6
6
  exports.props = Object.values(exports.alias);
@@ -13,17 +13,17 @@ exports.universalAlias = {
13
13
  animation: 'animation',
14
14
  style: 'style',
15
15
  hoverStopPropagation: 'hover-stop-propagation',
16
- onTap: 'bindtap',
17
- onClick: 'bindtap',
18
- onTouchStart: 'bindtouchstart',
19
- onTouchMove: 'bindtouchmove',
20
- onTouchEnd: 'bindtouchend',
21
- onTouchCancel: 'bindtouchcancel',
22
- onLongTap: 'bindlongtap',
23
- onLongClick: 'bindlongtap',
24
- onLongPress: 'bindlongpress',
25
- onTransitionEnd: 'bindtransitionend',
26
- onAnimationIteration: 'bindanimationiteration',
27
- onAnimationStart: 'bindanimationstart',
28
- onAnimationEnd: 'bindanimationend',
16
+ onTap: 'bind:tap',
17
+ onClick: 'bind:tap',
18
+ onTouchStart: 'bind:touchstart',
19
+ onTouchMove: 'bind:touchmove',
20
+ onTouchEnd: 'bind:touchend',
21
+ onTouchCancel: 'bind:touchcancel',
22
+ onLongTap: 'bind:longtap',
23
+ onLongClick: 'bind:longtap',
24
+ onLongPress: 'bind:longpress',
25
+ onTransitionEnd: 'bind:transitionend',
26
+ onAnimationIteration: 'bind:animationiteration',
27
+ onAnimationStart: 'bind:animationstart',
28
+ onAnimationEnd: 'bind:animationend',
29
29
  };
@@ -1,5 +1,5 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, 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: 'bindgetphonenumber', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onLongPress: 'bindlongpress',
2
+ export const alias = Object.assign(Object.assign({}, 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',
3
3
  // ray 1.3.20添加
4
- onFeedback: 'bindfeedback' });
4
+ onFeedback: 'bind:feedback' });
5
5
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, 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:bindstop', onError: 'bind:error', onInitdone: 'bind:initdone' });
2
+ export const alias = Object.assign(Object.assign({}, 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' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', style: 'style', className: 'class', animation: 'animation', disableScroll: 'disable-scroll', type: 'type', canvasId: 'canvas-id', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onError: 'binderror', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onTap: 'bindtap', onClick: 'bindtap' });
2
+ export const alias = Object.assign(Object.assign({}, 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' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', onChange: 'bindchange' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', onChange: 'bind:change' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', animation: 'animation', reportSubmit: 'report-submit', onSubmit: 'bindsubmit', onReset: 'bindreset', reportSubmitTimeout: 'report-submit-timeout' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', animation: 'animation', reportSubmit: 'report-submit', onSubmit: 'bind:submit', onReset: 'bind:reset', reportSubmitTimeout: 'report-submit-timeout' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { src: 'src', onError: 'binderror', onLoad: 'bindload', onMessage: 'bindmessage' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { src: 'src', onError: 'bind:error', onLoad: 'bind:load', onMessage: 'bind:message' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', src: 'src', mode: 'mode', className: 'class', animation: 'animation', style: 'style', lazyLoad: 'lazy-load', onLoad: 'bindload', onError: 'binderror', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', src: 'src', mode: 'mode', className: 'class', animation: 'animation', style: 'style', lazyLoad: 'lazy-load', onLoad: 'bind:load', onError: 'bind:error', onTap: 'bind:tap', onClick: 'bind:tap', onTouchStart: 'bind:touchstart', onTouchMove: 'bind:touchmove', onTouchEnd: 'bind:touchend', onTouchCancel: 'bind:touchcancel' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, 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: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
2
+ export const alias = Object.assign(Object.assign({}, 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' });
3
3
  export const props = Object.values(alias);
@@ -40,6 +40,7 @@ export declare const alias: {
40
40
  onCameraPreviewFailure: string;
41
41
  onCameraNotifyWeakNetwork: string;
42
42
  onCreateViewSuccess: string;
43
+ config: string;
43
44
  disableScroll: string;
44
45
  hoverClass: string;
45
46
  hoverClassName: string;
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, 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' });
2
+ export const alias = Object.assign(Object.assign({}, 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', config: 'config' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', for: 'for', onClick: 'bindtap', onTap: 'bindtap' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', for: 'for', onClick: 'bind:tap', onTap: 'bind:tap' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, 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: 'bindchange', onScale: 'bindscale', htouchmove: 'htouchmove', vtouchmove: 'vtouchmove' });
2
+ export const alias = Object.assign(Object.assign({}, 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' });
3
3
  export const props = Object.values(alias);
@@ -16,8 +16,8 @@ export const alias = {
16
16
  extraData: 'extra-data',
17
17
  version: 'version',
18
18
  hoverStopPropagation: 'hover-stop-propagation',
19
- onSuccess: 'bindsuccess',
20
- onFail: 'bindfail',
21
- onComplete: 'bindcomplete',
19
+ onSuccess: 'bind:success',
20
+ onFail: 'bind:fail',
21
+ onComplete: 'bind:complete',
22
22
  };
23
23
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, 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: 'bindbeforeenter', onEnter: 'bindenter', onAfterEnter: 'bindafterenter', onBeforeLeave: 'bindbeforeleave', onLeave: 'bindleave', onAfterLeave: 'bindafterleave', onClickOverlay: 'bindclickoverlay' });
2
+ export const alias = Object.assign(Object.assign({}, 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' });
3
3
  export const props = Object.values(alias);
@@ -1,5 +1,5 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bindchange', onCancel: 'bindcancel', onColumnChange: 'bindcolumnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bindtap', onTap: 'bindtap',
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bind:change', onCancel: 'bind:cancel', onColumnChange: 'bind:columnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bind:tap', onTap: 'bind:tap',
3
3
  // 1.4.1 支持属性
4
4
  confirmText: 'confirm-text', cancelText: 'cancel-text' });
5
5
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { value: 'value', indicatorStyle: 'indicator-style', maskStyle: 'mask-style', onChange: 'bindchange', onPickstart: 'bindpickstart', onPickend: 'bindpickend' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { value: 'value', indicatorStyle: 'indicator-style', maskStyle: 'mask-style', onChange: 'bind:change', onPickstart: 'bind:pickstart', onPickend: 'bind:pickend' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', onChange: 'bindchange', name: 'name' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', onChange: 'bind:change', name: 'name' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { nodes: 'nodes', onSelect: 'bindselect' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { nodes: 'nodes', onSelect: 'bind:select' });
3
3
  export const props = Object.values(alias);
@@ -1,5 +1,5 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', scrollX: 'scroll-x', scrollY: 'scroll-y', upperThreshold: 'upper-threshold', lowerThreshold: 'lower-threshold', scrollTop: 'scroll-top', scrollLeft: 'scroll-left', scrollIntoView: 'scroll-into-view', scrollWithAnimation: 'scroll-with-animation', enableBackToTop: 'enable-back-to-top', enableFlex: 'enable-flex', onScrollToUpper: 'bindscrolltoupper', onScrollToLower: 'bindscrolltolower', onScroll: 'bindscroll',
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', scrollX: 'scroll-x', scrollY: 'scroll-y', upperThreshold: 'upper-threshold', lowerThreshold: 'lower-threshold', scrollTop: 'scroll-top', scrollLeft: 'scroll-left', scrollIntoView: 'scroll-into-view', scrollWithAnimation: 'scroll-with-animation', enableBackToTop: 'enable-back-to-top', enableFlex: 'enable-flex', onScrollToUpper: 'bind:scrolltoupper', onScrollToLower: 'bind:scrolltolower', onScroll: 'bind:scroll',
3
3
  /* 0.9.3新增 */
4
- refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', hideScrollbar: 'hide-scrollbar', onRefresherPulling: 'bindrefresherpulling', onRefresherpulling: 'bindrefresherpulling', onRefresherRefresh: 'bindrefresherrefresh', onRefresherrefresh: 'bindrefresherrefresh', onRefresherRestore: 'bindrefresherrestore', onRefresherrestore: 'bindrefresherrestore', onRefresherAbort: 'bindrefresherabort', onRefresherabort: 'bindrefresherabort' });
4
+ refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', hideScrollbar: 'hide-scrollbar', onRefresherPulling: 'bind:refresherpulling', onRefresherpulling: 'bind:refresherpulling', onRefresherRefresh: 'bind:refresherrefresh', onRefresherrefresh: 'bind:refresherrefresh', onRefresherRestore: 'bind:refresherrestore', onRefresherrestore: 'bind:refresherrestore', onRefresherAbort: 'bind:refresherabort', onRefresherabort: 'bind:refresherabort' });
5
5
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { min: 'min', max: 'max', step: 'step', value: 'value', color: 'color', selecteColor: 'selecteColor', activeColor: 'activeColor', backgroundColor: 'backgroundColor', boxSize: 'boxSize', blockColor: 'blockColor', blockSize: 'blockSize', showValue: 'showValue', onChange: 'bindchange', onChanging: 'bindchanging' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { min: 'min', max: 'max', step: 'step', value: 'value', color: 'color', selecteColor: 'selecteColor', activeColor: 'activeColor', backgroundColor: 'backgroundColor', boxSize: 'boxSize', blockColor: 'blockColor', blockSize: 'blockSize', showValue: 'showValue', onChange: 'bind:change', onChanging: 'bind:changing' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', indicatorDots: 'indicator-dots', indicatorColor: 'indicator-color', indicatorActiveColor: 'indicator-active-color', autoplay: 'autoplay', current: 'current', interval: 'interval', duration: 'duration', circular: 'circular', vertical: 'vertical', previousMargin: 'previous-margin', nextMargin: 'next-margin', snapToEdge: 'snap-to-edge', displayMultipleItems: 'display-multiple-items', onChange: 'bindchange', onTransition: 'bingtransition', onAnimationFinish: 'bindanimationfinish', onTap: 'bindtap', onClick: 'bindtap' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', indicatorDots: 'indicator-dots', indicatorColor: 'indicator-color', indicatorActiveColor: 'indicator-active-color', autoplay: 'autoplay', current: 'current', interval: 'interval', duration: 'duration', circular: 'circular', vertical: 'vertical', previousMargin: 'previous-margin', nextMargin: 'next-margin', snapToEdge: 'snap-to-edge', displayMultipleItems: 'display-multiple-items', onChange: 'bind:change', onTransition: 'bingtransition', onAnimationFinish: 'bind:animationfinish', onTap: 'bind:tap', onClick: 'bind:tap' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', checked: 'checked', disabled: 'disabled', color: 'color', onChange: 'bindchange', type: 'type' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', checked: 'checked', disabled: 'disabled', color: 'color', onChange: 'bind:change', type: 'type' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', selectable: 'selectable', userSelect: 'user-select', space: 'space', decode: 'decode', onTap: 'bindtap', onClick: 'bindtap' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', selectable: 'selectable', userSelect: 'user-select', space: 'space', decode: 'decode', onTap: 'bind:tap', onClick: 'bind:tap' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', value: 'value', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', autoHeight: 'auto-height', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onLineChange: 'bindlinechange' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', value: 'value', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', autoHeight: 'auto-height', onInput: 'bind:input', onFocus: 'bind:focus', onBlur: 'bind:blur', onLineChange: 'bind:linechange' });
3
3
  export const props = Object.values(alias);
@@ -1,4 +1,4 @@
1
1
  import { unique } from '@ray-core/shared';
2
2
  import { universalAlias } from '../universal';
3
- export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', src: 'src', duration: 'duration', controls: 'controls', danmuList: 'danmu-list', danmuBtn: 'danmu-btn', enableDanmu: 'enable-danmu', 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', onPlay: 'bindplay', onPause: 'bindpause', onEnded: 'bindended', onTimeUpdate: 'bindtimeupdate', onTimeupdate: 'bindtimeupdate', onWaiting: 'bindwaiting', onError: 'binderror', onProgress: 'bindprogress', onLoadedMetadata: 'bindloadedmetadata', onLoadedmetadata: 'bindloadedmetadata', onCanplay: 'bindcanplay', onCanplayThrough: 'bindcanplaythrough', onPlaying: 'bindplaying', onRateChange: 'bindratechange', onVolumeChange: 'bindvolumechange', onSeekComplete: 'bindseekcomplete', onSeekcomplete: 'bindseekcomplete', autoPause: 'auto-pause', borderRadius: 'border-radius' });
3
+ export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', src: 'src', duration: 'duration', controls: 'controls', danmuList: 'danmu-list', danmuBtn: 'danmu-btn', enableDanmu: 'enable-danmu', 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', onPlay: 'bind:play', onPause: 'bind:pause', onEnded: 'bind:ended', onTimeUpdate: 'bind:timeupdate', onTimeupdate: 'bind:timeupdate', onWaiting: 'bind:waiting', onError: 'bind:error', onProgress: 'bind:progress', onLoadedMetadata: 'bind:loadedmetadata', onLoadedmetadata: 'bind:loadedmetadata', onCanplay: 'bind:canplay', onCanplayThrough: 'bind:canplaythrough', onPlaying: 'bind:playing', onRateChange: 'bind:ratechange', onVolumeChange: 'bind:volumechange', onSeekComplete: 'bind:seekcomplete', onSeekcomplete: 'bind:seekcomplete', autoPause: 'auto-pause', borderRadius: 'border-radius' });
4
4
  export const props = unique(Object.values(alias));
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { catchTouchMove: 'catchtouchmove' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { catchTouchMove: 'catch:touchmove' });
3
3
  export const props = Object.values(alias);
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { src: 'src', onError: 'binderror', onLoad: 'bindload', onMessage: 'bindmessage', updateLayout: 'update-layout' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { src: 'src', onError: 'bind:error', onLoad: 'bind:load', onMessage: 'bind:message', updateLayout: 'update-layout' });
3
3
  export const props = Object.values(alias);
@@ -10,17 +10,17 @@ export const universalAlias = {
10
10
  animation: 'animation',
11
11
  style: 'style',
12
12
  hoverStopPropagation: 'hover-stop-propagation',
13
- onTap: 'bindtap',
14
- onClick: 'bindtap',
15
- onTouchStart: 'bindtouchstart',
16
- onTouchMove: 'bindtouchmove',
17
- onTouchEnd: 'bindtouchend',
18
- onTouchCancel: 'bindtouchcancel',
19
- onLongTap: 'bindlongtap',
20
- onLongClick: 'bindlongtap',
21
- onLongPress: 'bindlongpress',
22
- onTransitionEnd: 'bindtransitionend',
23
- onAnimationIteration: 'bindanimationiteration',
24
- onAnimationStart: 'bindanimationstart',
25
- onAnimationEnd: 'bindanimationend',
13
+ onTap: 'bind:tap',
14
+ onClick: 'bind:tap',
15
+ onTouchStart: 'bind:touchstart',
16
+ onTouchMove: 'bind:touchmove',
17
+ onTouchEnd: 'bind:touchend',
18
+ onTouchCancel: 'bind:touchcancel',
19
+ onLongTap: 'bind:longtap',
20
+ onLongClick: 'bind:longtap',
21
+ onLongPress: 'bind:longpress',
22
+ onTransitionEnd: 'bind:transitionend',
23
+ onAnimationIteration: 'bind:animationiteration',
24
+ onAnimationStart: 'bind:animationstart',
25
+ onAnimationEnd: 'bind:animationend',
26
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/adapter",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Ray adapter for tuya",
5
5
  "keywords": [
6
6
  "ray"
@@ -36,7 +36,7 @@
36
36
  "@ray-core/types": "^0.4.9"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/types": "1.7.4",
39
+ "@ray-js/types": "1.7.5",
40
40
  "concurrently": "^6.5.1"
41
41
  },
42
42
  "publishConfig": {
@@ -44,5 +44,5 @@
44
44
  "registry": "https://registry.npmjs.com"
45
45
  },
46
46
  "esnext": "./esm/index.js",
47
- "gitHead": "b959f1f1f4fb438fd0e13039d82ff238aad0e609"
47
+ "gitHead": "2e2f09127313b1b49ad905555e83d805a43f52e1"
48
48
  }