@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.
- package/cjs/hostComponents/Button/node.js +2 -2
- package/cjs/hostComponents/Camera/node.js +1 -1
- package/cjs/hostComponents/Canvas/node.js +1 -1
- package/cjs/hostComponents/CheckboxGroup/node.js +1 -1
- package/cjs/hostComponents/Form/node.js +1 -1
- package/cjs/hostComponents/Iframe/node.js +1 -1
- package/cjs/hostComponents/Image/node.js +1 -1
- package/cjs/hostComponents/Input/node.js +1 -1
- package/cjs/hostComponents/IpcPlayer/node.d.ts +1 -0
- package/cjs/hostComponents/IpcPlayer/node.js +1 -1
- package/cjs/hostComponents/Label/node.js +1 -1
- package/cjs/hostComponents/MovableView/node.js +1 -1
- package/cjs/hostComponents/Navigator/node.js +3 -3
- package/cjs/hostComponents/PageContainer/node.js +1 -1
- package/cjs/hostComponents/Picker/node.js +1 -1
- package/cjs/hostComponents/PickerView/node.js +1 -1
- package/cjs/hostComponents/RadioGroup/node.js +1 -1
- package/cjs/hostComponents/RichText/node.js +1 -1
- package/cjs/hostComponents/ScrollView/node.js +2 -2
- package/cjs/hostComponents/Slider/node.js +1 -1
- package/cjs/hostComponents/Swiper/node.js +1 -1
- package/cjs/hostComponents/Switch/node.js +1 -1
- package/cjs/hostComponents/Text/node.js +1 -1
- package/cjs/hostComponents/Textarea/node.js +1 -1
- package/cjs/hostComponents/Video/node.js +1 -1
- package/cjs/hostComponents/View/node.js +1 -1
- package/cjs/hostComponents/WebView/node.js +1 -1
- package/cjs/hostComponents/universal.js +13 -13
- package/esm/hostComponents/Button/node.js +2 -2
- package/esm/hostComponents/Camera/node.js +1 -1
- package/esm/hostComponents/Canvas/node.js +1 -1
- package/esm/hostComponents/CheckboxGroup/node.js +1 -1
- package/esm/hostComponents/Form/node.js +1 -1
- package/esm/hostComponents/Iframe/node.js +1 -1
- package/esm/hostComponents/Image/node.js +1 -1
- package/esm/hostComponents/Input/node.js +1 -1
- package/esm/hostComponents/IpcPlayer/node.d.ts +1 -0
- package/esm/hostComponents/IpcPlayer/node.js +1 -1
- package/esm/hostComponents/Label/node.js +1 -1
- package/esm/hostComponents/MovableView/node.js +1 -1
- package/esm/hostComponents/Navigator/node.js +3 -3
- package/esm/hostComponents/PageContainer/node.js +1 -1
- package/esm/hostComponents/Picker/node.js +1 -1
- package/esm/hostComponents/PickerView/node.js +1 -1
- package/esm/hostComponents/RadioGroup/node.js +1 -1
- package/esm/hostComponents/RichText/node.js +1 -1
- package/esm/hostComponents/ScrollView/node.js +2 -2
- package/esm/hostComponents/Slider/node.js +1 -1
- package/esm/hostComponents/Swiper/node.js +1 -1
- package/esm/hostComponents/Switch/node.js +1 -1
- package/esm/hostComponents/Text/node.js +1 -1
- package/esm/hostComponents/Textarea/node.js +1 -1
- package/esm/hostComponents/Video/node.js +1 -1
- package/esm/hostComponents/View/node.js +1 -1
- package/esm/hostComponents/WebView/node.js +1 -1
- package/esm/hostComponents/universal.js +13 -13
- 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: '
|
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: '
|
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:
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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);
|
@@ -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: '
|
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: '
|
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: '
|
23
|
-
onFail: '
|
24
|
-
onComplete: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
17
|
-
onClick: '
|
18
|
-
onTouchStart: '
|
19
|
-
onTouchMove: '
|
20
|
-
onTouchEnd: '
|
21
|
-
onTouchCancel: '
|
22
|
-
onLongTap: '
|
23
|
-
onLongClick: '
|
24
|
-
onLongPress: '
|
25
|
-
onTransitionEnd: '
|
26
|
-
onAnimationIteration: '
|
27
|
-
onAnimationStart: '
|
28
|
-
onAnimationEnd: '
|
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: '
|
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: '
|
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:
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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);
|
@@ -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: '
|
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: '
|
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: '
|
20
|
-
onFail: '
|
21
|
-
onComplete: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
14
|
-
onClick: '
|
15
|
-
onTouchStart: '
|
16
|
-
onTouchMove: '
|
17
|
-
onTouchEnd: '
|
18
|
-
onTouchCancel: '
|
19
|
-
onLongTap: '
|
20
|
-
onLongClick: '
|
21
|
-
onLongPress: '
|
22
|
-
onTransitionEnd: '
|
23
|
-
onAnimationIteration: '
|
24
|
-
onAnimationStart: '
|
25
|
-
onAnimationEnd: '
|
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.
|
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.
|
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": "
|
47
|
+
"gitHead": "2e2f09127313b1b49ad905555e83d805a43f52e1"
|
48
48
|
}
|