@ray-js/adapter 1.7.62 → 1.7.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/hostComponents/Button/index.d.ts +1 -1
- package/cjs/hostComponents/Button/index.js +2 -2
- package/cjs/hostComponents/Button/node.js +2 -2
- package/cjs/hostComponents/Camera/index.d.ts +2 -2
- package/cjs/hostComponents/Camera/index.js +2 -2
- package/cjs/hostComponents/Camera/node.js +2 -2
- package/cjs/hostComponents/Canvas/index.d.ts +1 -1
- package/cjs/hostComponents/Canvas/index.js +2 -2
- package/cjs/hostComponents/Canvas/node.js +2 -2
- package/cjs/hostComponents/Checkbox/index.d.ts +1 -1
- package/cjs/hostComponents/Checkbox/index.js +2 -2
- package/cjs/hostComponents/Checkbox/node.js +2 -2
- package/cjs/hostComponents/CheckboxGroup/index.d.ts +1 -1
- package/cjs/hostComponents/CheckboxGroup/index.js +2 -2
- package/cjs/hostComponents/CheckboxGroup/node.js +2 -2
- package/cjs/hostComponents/CoverView/index.d.ts +1 -1
- package/cjs/hostComponents/CoverView/index.js +2 -2
- package/cjs/hostComponents/CoverView/node.js +2 -2
- package/cjs/hostComponents/Form/index.d.ts +1 -1
- package/cjs/hostComponents/Form/index.js +2 -2
- package/cjs/hostComponents/Form/node.js +2 -2
- package/cjs/hostComponents/Iframe/index.d.ts +1 -1
- package/cjs/hostComponents/Iframe/index.js +2 -2
- package/cjs/hostComponents/Iframe/node.js +2 -2
- package/cjs/hostComponents/Image/index.d.ts +1 -1
- package/cjs/hostComponents/Image/index.js +2 -2
- package/cjs/hostComponents/Image/node.js +2 -2
- package/cjs/hostComponents/Input/index.d.ts +1 -1
- package/cjs/hostComponents/Input/index.js +2 -2
- package/cjs/hostComponents/Input/node.js +2 -2
- package/cjs/hostComponents/IpcPlayer/index.d.ts +1 -1
- package/cjs/hostComponents/IpcPlayer/index.js +2 -2
- package/cjs/hostComponents/IpcPlayer/node.js +2 -2
- package/cjs/hostComponents/Label/index.d.ts +1 -1
- package/cjs/hostComponents/Label/index.js +2 -2
- package/cjs/hostComponents/Label/node.js +2 -2
- package/cjs/hostComponents/Map/index.d.ts +1 -1
- package/cjs/hostComponents/Map/index.js +2 -2
- package/cjs/hostComponents/Map/node.js +2 -2
- package/cjs/hostComponents/MovableArea/index.d.ts +1 -1
- package/cjs/hostComponents/MovableArea/index.js +2 -2
- package/cjs/hostComponents/MovableArea/node.js +2 -2
- package/cjs/hostComponents/MovableView/index.d.ts +1 -1
- package/cjs/hostComponents/MovableView/index.js +2 -2
- package/cjs/hostComponents/MovableView/node.js +2 -2
- package/cjs/hostComponents/NativeVideo/index.d.ts +1 -1
- package/cjs/hostComponents/NativeVideo/index.js +2 -2
- package/cjs/hostComponents/NativeVideo/node.js +2 -2
- package/cjs/hostComponents/Navigator/index.d.ts +1 -1
- package/cjs/hostComponents/Navigator/index.js +2 -2
- package/cjs/hostComponents/PageContainer/index.d.ts +1 -1
- package/cjs/hostComponents/PageContainer/index.js +2 -2
- package/cjs/hostComponents/PageContainer/node.js +2 -2
- package/cjs/hostComponents/Picker/index.d.ts +1 -1
- package/cjs/hostComponents/Picker/index.js +2 -2
- package/cjs/hostComponents/Picker/node.js +2 -2
- package/cjs/hostComponents/PickerView/index.d.ts +1 -1
- package/cjs/hostComponents/PickerView/index.js +2 -2
- package/cjs/hostComponents/PickerView/node.js +2 -2
- package/cjs/hostComponents/PickerViewColumn/index.d.ts +1 -1
- package/cjs/hostComponents/PickerViewColumn/index.js +2 -2
- package/cjs/hostComponents/PickerViewColumn/node.js +2 -2
- package/cjs/hostComponents/Progress/index.d.ts +1 -1
- package/cjs/hostComponents/Progress/index.js +2 -2
- package/cjs/hostComponents/Progress/node.js +2 -2
- package/cjs/hostComponents/Radio/index.d.ts +1 -1
- package/cjs/hostComponents/Radio/index.js +2 -2
- package/cjs/hostComponents/Radio/node.js +2 -2
- package/cjs/hostComponents/RadioGroup/index.d.ts +1 -1
- package/cjs/hostComponents/RadioGroup/index.js +2 -2
- package/cjs/hostComponents/RadioGroup/node.js +2 -2
- package/cjs/hostComponents/RichText/index.d.ts +1 -1
- package/cjs/hostComponents/RichText/index.js +2 -2
- package/cjs/hostComponents/RichText/node.js +2 -2
- package/cjs/hostComponents/ScrollView/index.d.ts +1 -1
- package/cjs/hostComponents/ScrollView/index.js +2 -2
- package/cjs/hostComponents/ScrollView/node.js +2 -2
- package/cjs/hostComponents/Slider/index.d.ts +1 -1
- package/cjs/hostComponents/Slider/index.js +2 -2
- package/cjs/hostComponents/Slider/node.js +2 -2
- package/cjs/hostComponents/SvgRender/index.d.ts +1 -1
- package/cjs/hostComponents/SvgRender/index.js +2 -2
- package/cjs/hostComponents/SvgRender/node.js +2 -2
- package/cjs/hostComponents/Swiper/index.d.ts +1 -1
- package/cjs/hostComponents/Swiper/index.js +2 -2
- package/cjs/hostComponents/Swiper/node.js +2 -2
- package/cjs/hostComponents/SwiperItem/index.d.ts +1 -1
- package/cjs/hostComponents/SwiperItem/index.js +2 -2
- package/cjs/hostComponents/SwiperItem/node.js +2 -2
- package/cjs/hostComponents/Switch/index.d.ts +1 -1
- package/cjs/hostComponents/Switch/index.js +2 -2
- package/cjs/hostComponents/Switch/node.js +2 -2
- package/cjs/hostComponents/Text/index.d.ts +1 -1
- package/cjs/hostComponents/Text/index.js +2 -2
- package/cjs/hostComponents/Text/node.js +2 -2
- package/cjs/hostComponents/Textarea/index.d.ts +1 -1
- package/cjs/hostComponents/Textarea/index.js +2 -2
- package/cjs/hostComponents/Textarea/node.js +2 -2
- package/cjs/hostComponents/Video/index.js +2 -2
- package/cjs/hostComponents/Video/node.js +2 -2
- package/cjs/hostComponents/View/index.d.ts +1 -1
- package/cjs/hostComponents/View/index.js +2 -2
- package/cjs/hostComponents/View/node.js +2 -2
- package/cjs/hostComponents/WebView/index.d.ts +1 -1
- package/cjs/hostComponents/WebView/index.js +2 -2
- package/cjs/hostComponents/WebView/node.js +2 -2
- package/cjs/hostComponents/index.d.ts +36 -36
- package/cjs/hostComponents/index.js +36 -36
- package/cjs/hostComponents/node.js +35 -35
- package/cjs/index.d.ts +2 -2
- package/cjs/index.js +2 -2
- package/cjs/node/index.js +2 -2
- package/cjs/types/index.d.ts +2 -2
- package/cjs/types/index.js +1 -1
- package/esm/hostComponents/Button/index.d.ts +1 -1
- package/esm/hostComponents/Button/index.js +1 -1
- package/esm/hostComponents/Button/node.js +1 -1
- package/esm/hostComponents/Camera/index.d.ts +2 -2
- package/esm/hostComponents/Camera/index.js +1 -1
- package/esm/hostComponents/Camera/node.js +1 -1
- package/esm/hostComponents/Canvas/index.d.ts +1 -1
- package/esm/hostComponents/Canvas/index.js +1 -1
- package/esm/hostComponents/Canvas/node.js +1 -1
- package/esm/hostComponents/Checkbox/index.d.ts +1 -1
- package/esm/hostComponents/Checkbox/index.js +1 -1
- package/esm/hostComponents/Checkbox/node.js +1 -1
- package/esm/hostComponents/CheckboxGroup/index.d.ts +1 -1
- package/esm/hostComponents/CheckboxGroup/index.js +1 -1
- package/esm/hostComponents/CheckboxGroup/node.js +1 -1
- package/esm/hostComponents/CoverView/index.d.ts +1 -1
- package/esm/hostComponents/CoverView/index.js +1 -1
- package/esm/hostComponents/CoverView/node.js +1 -1
- package/esm/hostComponents/Form/index.d.ts +1 -1
- package/esm/hostComponents/Form/index.js +1 -1
- package/esm/hostComponents/Form/node.js +1 -1
- package/esm/hostComponents/Iframe/index.d.ts +1 -1
- package/esm/hostComponents/Iframe/index.js +1 -1
- package/esm/hostComponents/Iframe/node.js +1 -1
- package/esm/hostComponents/Image/index.d.ts +1 -1
- package/esm/hostComponents/Image/index.js +1 -1
- package/esm/hostComponents/Image/node.js +1 -1
- package/esm/hostComponents/Input/index.d.ts +1 -1
- package/esm/hostComponents/Input/index.js +1 -1
- package/esm/hostComponents/Input/node.js +1 -1
- package/esm/hostComponents/IpcPlayer/index.d.ts +1 -1
- package/esm/hostComponents/IpcPlayer/index.js +1 -1
- package/esm/hostComponents/IpcPlayer/node.js +1 -1
- package/esm/hostComponents/Label/index.d.ts +1 -1
- package/esm/hostComponents/Label/index.js +1 -1
- package/esm/hostComponents/Label/node.js +1 -1
- package/esm/hostComponents/Map/index.d.ts +1 -1
- package/esm/hostComponents/Map/index.js +1 -1
- package/esm/hostComponents/Map/node.js +1 -1
- package/esm/hostComponents/MovableArea/index.d.ts +1 -1
- package/esm/hostComponents/MovableArea/index.js +1 -1
- package/esm/hostComponents/MovableArea/node.js +1 -1
- package/esm/hostComponents/MovableView/index.d.ts +1 -1
- package/esm/hostComponents/MovableView/index.js +1 -1
- package/esm/hostComponents/MovableView/node.js +1 -1
- package/esm/hostComponents/NativeVideo/index.d.ts +1 -1
- package/esm/hostComponents/NativeVideo/index.js +1 -1
- package/esm/hostComponents/NativeVideo/node.js +1 -1
- package/esm/hostComponents/Navigator/index.d.ts +1 -1
- package/esm/hostComponents/Navigator/index.js +1 -1
- package/esm/hostComponents/PageContainer/index.d.ts +1 -1
- package/esm/hostComponents/PageContainer/index.js +1 -1
- package/esm/hostComponents/PageContainer/node.js +1 -1
- package/esm/hostComponents/Picker/index.d.ts +1 -1
- package/esm/hostComponents/Picker/index.js +1 -1
- package/esm/hostComponents/Picker/node.js +1 -1
- package/esm/hostComponents/PickerView/index.d.ts +1 -1
- package/esm/hostComponents/PickerView/index.js +1 -1
- package/esm/hostComponents/PickerView/node.js +1 -1
- package/esm/hostComponents/PickerViewColumn/index.d.ts +1 -1
- package/esm/hostComponents/PickerViewColumn/index.js +1 -1
- package/esm/hostComponents/PickerViewColumn/node.js +1 -1
- package/esm/hostComponents/Progress/index.d.ts +1 -1
- package/esm/hostComponents/Progress/index.js +1 -1
- package/esm/hostComponents/Progress/node.js +1 -1
- package/esm/hostComponents/Radio/index.d.ts +1 -1
- package/esm/hostComponents/Radio/index.js +1 -1
- package/esm/hostComponents/Radio/node.js +1 -1
- package/esm/hostComponents/RadioGroup/index.d.ts +1 -1
- package/esm/hostComponents/RadioGroup/index.js +1 -1
- package/esm/hostComponents/RadioGroup/node.js +1 -1
- package/esm/hostComponents/RichText/index.d.ts +1 -1
- package/esm/hostComponents/RichText/index.js +1 -1
- package/esm/hostComponents/RichText/node.js +1 -1
- package/esm/hostComponents/ScrollView/index.d.ts +1 -1
- package/esm/hostComponents/ScrollView/index.js +1 -1
- package/esm/hostComponents/ScrollView/node.js +1 -1
- package/esm/hostComponents/Slider/index.d.ts +1 -1
- package/esm/hostComponents/Slider/index.js +1 -1
- package/esm/hostComponents/Slider/node.js +1 -1
- package/esm/hostComponents/SvgRender/index.d.ts +1 -1
- package/esm/hostComponents/SvgRender/index.js +1 -1
- package/esm/hostComponents/SvgRender/node.js +1 -1
- package/esm/hostComponents/Swiper/index.d.ts +1 -1
- package/esm/hostComponents/Swiper/index.js +1 -1
- package/esm/hostComponents/Swiper/node.js +1 -1
- package/esm/hostComponents/SwiperItem/index.d.ts +1 -1
- package/esm/hostComponents/SwiperItem/index.js +1 -1
- package/esm/hostComponents/SwiperItem/node.js +1 -1
- package/esm/hostComponents/Switch/index.d.ts +1 -1
- package/esm/hostComponents/Switch/index.js +1 -1
- package/esm/hostComponents/Switch/node.js +1 -1
- package/esm/hostComponents/Text/index.d.ts +1 -1
- package/esm/hostComponents/Text/index.js +1 -1
- package/esm/hostComponents/Text/node.js +1 -1
- package/esm/hostComponents/Textarea/index.d.ts +1 -1
- package/esm/hostComponents/Textarea/index.js +1 -1
- package/esm/hostComponents/Textarea/node.js +1 -1
- package/esm/hostComponents/Video/index.js +1 -1
- package/esm/hostComponents/Video/node.js +1 -1
- package/esm/hostComponents/View/index.d.ts +1 -1
- package/esm/hostComponents/View/index.js +1 -1
- package/esm/hostComponents/View/node.js +1 -1
- package/esm/hostComponents/WebView/index.d.ts +1 -1
- package/esm/hostComponents/WebView/index.js +1 -1
- package/esm/hostComponents/WebView/node.js +1 -1
- package/esm/hostComponents/index.d.ts +36 -36
- package/esm/hostComponents/index.js +36 -36
- package/esm/hostComponents/node.js +35 -35
- package/esm/index.d.ts +2 -2
- package/esm/index.js +2 -2
- package/esm/node/index.js +1 -1
- package/esm/types/index.d.ts +2 -2
- package/esm/types/index.js +1 -1
- package/node.js +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
2
|
export const alias = Object.assign(Object.assign({}, universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', updateLayout: 'update-layout', src: 'src', duration: 'duration', controls: 'controls', autoplay: 'autoplay', loop: 'loop', muted: 'muted', initialTime: 'initial-time', showFullscreenBtn: 'show-fullscreen-btn', showPlayBtn: 'show-play-btn', showCenterPlayBtn: 'show-center-play-btn', objectFit: 'object-fit', poster: 'poster', showMuteBtn: 'show-mute-btn', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onPlay: 'bind:play', onPause: 'bind:pause', onEnded: 'bind:ended', onTimeupdate: 'bind:timeupdate', onFullscreenchange: 'bind:fullscreenchange', onWaiting: 'bind:waiting', onError: 'bind:error', onProgress: 'bind:progress', onLoadedmetadata: 'bind:loadedmetadata', onControlstoggle: 'bind:controlstoggle', onSeekcomplete: 'bind:seekcomplete' });
|
|
3
3
|
export const props = Object.values(alias);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
2
|
+
import { BaseProps, GenericEvent } from '../../types/component.js';
|
|
3
3
|
export interface NavigatorProps extends BaseProps {
|
|
4
4
|
/** (default: self) 在哪个目标上发生跳转,默认当前小程序 2.0.7 */
|
|
5
5
|
target?: 'self' | 'miniProgram';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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,4 +1,4 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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' });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
2
|
+
import { BaseProps, GenericEvent } from '../../types/component.js';
|
|
3
3
|
export interface PickerViewProps extends BaseProps {
|
|
4
4
|
/** 数组中的数字依次表示 picker-view 内的 picker-view-column 选择的第几项(下标从 0 开始),数字大于 picker-view-column 可选项长度时,选择最后一项。 */
|
|
5
5
|
value?: number[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import createHostComponent from '../createHostComponent';
|
|
1
|
+
import createHostComponent from '../createHostComponent.js';
|
|
2
2
|
export const PickerView = createHostComponent('picker-view');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseProps } from '../../types/component';
|
|
2
|
+
import { BaseProps } from '../../types/component.js';
|
|
3
3
|
export type PickerViewColumnProps = BaseProps;
|
|
4
4
|
export declare const PickerViewColumn: React.ComponentType<PickerViewColumnProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import createHostComponent from '../createHostComponent';
|
|
1
|
+
import createHostComponent from '../createHostComponent.js';
|
|
2
2
|
export const PickerViewColumn = createHostComponent('picker-view-column');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
2
|
export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style' });
|
|
3
3
|
export const props = Object.values(alias);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
2
|
export const alias = Object.assign(Object.assign({}, universalAlias), { className: 'class', animation: 'animation', id: 'id', style: 'style', percent: 'percent', showInfo: 'show-info', borderRadius: 'border-radius', fontSize: 'font-size', strokeWidth: 'stroke-width', activeColor: 'active-Color', backgroundColor: 'background-color', active: 'active', activeMode: 'active-mode' });
|
|
3
3
|
export const props = Object.values(alias);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseProps } from '../../types/component';
|
|
2
|
+
import { BaseProps } from '../../types/component.js';
|
|
3
3
|
export interface RadioProps extends BaseProps {
|
|
4
4
|
/** radio 标识。当该radio 选中时,radio-group 的 change 事件会携带radio的value */
|
|
5
5
|
value?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
2
|
export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', checked: 'checked', disabled: 'disabled', color: 'color' });
|
|
3
3
|
export const props = Object.values(alias);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
2
|
+
import { BaseProps, GenericEvent } from '../../types/component.js';
|
|
3
3
|
export interface RadioGroupProps extends BaseProps {
|
|
4
4
|
/**
|
|
5
5
|
* 用于 <form /> 组件,在表单提交事件中作为提交数据的 key 值
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import createHostComponent from '../createHostComponent';
|
|
1
|
+
import createHostComponent from '../createHostComponent.js';
|
|
2
2
|
export const RadioGroup = createHostComponent('radio-group');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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,4 +1,4 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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', scrollIntoViewOffset: 'scroll-into-view-offset', 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
4
|
refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', hideScrollbar: 'hide-scrollbar', bounces: 'bounces', onRefresherPulling: 'bind:refresherpulling', onRefresherpulling: 'bind:refresherpulling', onRefresherRefresh: 'bind:refresherrefresh', onRefresherrefresh: 'bind:refresherrefresh', onRefresherRestore: 'bind:refresherrestore', onRefresherrestore: 'bind:refresherrestore', onRefresherAbort: 'bind:refresherabort', onRefresherabort: 'bind:refresherabort' });
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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,2 +1,2 @@
|
|
|
1
|
-
import createHostComponent from '../createHostComponent';
|
|
1
|
+
import createHostComponent from '../createHostComponent.js';
|
|
2
2
|
export const SvgRender = createHostComponent('svg-render');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
2
|
+
import { BaseProps, GenericEvent } from '../../types/component.js';
|
|
3
3
|
export interface SwiperProps extends BaseProps {
|
|
4
4
|
indicatorDots?: boolean;
|
|
5
5
|
indicatorColor?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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,2 +1,2 @@
|
|
|
1
|
-
import createHostComponent from '../createHostComponent';
|
|
1
|
+
import createHostComponent from '../createHostComponent.js';
|
|
2
2
|
export const SwiperItem = createHostComponent('swiper-item');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
2
|
export const alias = Object.assign(Object.assign({}, universalAlias), { key: 'key', id: 'id', className: 'class', animation: 'animation', style: 'style', itemId: 'item-id' });
|
|
3
3
|
export const props = Object.values(alias);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
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,2 +1,2 @@
|
|
|
1
|
-
import createHostComponent from '../createHostComponent';
|
|
1
|
+
import createHostComponent from '../createHostComponent.js';
|
|
2
2
|
export const Video = createHostComponent('video');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { unique } from '@ray-core/shared';
|
|
2
|
-
import { universalAlias } from '../universal';
|
|
2
|
+
import { universalAlias } from '../universal.js';
|
|
3
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,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseProps, TouchEvent } from '../../types/component';
|
|
2
|
+
import { BaseProps, TouchEvent } from '../../types/component.js';
|
|
3
3
|
export interface ViewProps extends BaseProps {
|
|
4
4
|
slot?: string;
|
|
5
5
|
/** 指定按下去的样式类。当为 "none" 时,没有点击态效果 1.0.0 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseProps, DiffLayer, GenericEvent } from '../../types/component';
|
|
2
|
+
import { BaseProps, DiffLayer, GenericEvent } from '../../types/component.js';
|
|
3
3
|
export interface WebViewProps extends BaseProps, DiffLayer {
|
|
4
4
|
/**
|
|
5
5
|
* webview 指向网页的链接,网页需登录小程序管理后台配置业务域名。
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
1
|
+
import { universalAlias } from '../universal.js';
|
|
2
2
|
export const alias = Object.assign(Object.assign({}, universalAlias), { src: 'src', injectTTT: 'inject-ttt', onError: 'bind:error', onLoad: 'bind:load', onMessage: 'bind:message', updateLayout: 'update-layout' });
|
|
3
3
|
export const props = Object.values(alias);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export * from './Button';
|
|
2
|
-
export * from './Canvas';
|
|
3
|
-
export * from './Checkbox';
|
|
4
|
-
export * from './CheckboxGroup';
|
|
5
|
-
export * from './Form';
|
|
6
|
-
export * from './Image';
|
|
7
|
-
export * from './Input';
|
|
8
|
-
export * from './Label';
|
|
9
|
-
export * from './MovableArea';
|
|
10
|
-
export * from './MovableView';
|
|
11
|
-
export * from './Picker';
|
|
12
|
-
export * from './PickerView';
|
|
13
|
-
export * from './PickerViewColumn';
|
|
14
|
-
export * from './Radio';
|
|
15
|
-
export * from './RadioGroup';
|
|
16
|
-
export * from './ScrollView';
|
|
17
|
-
export * from './Swiper';
|
|
18
|
-
export * from './SwiperItem';
|
|
19
|
-
export * from './Switch';
|
|
20
|
-
export * from './Slider';
|
|
21
|
-
export * from './Text';
|
|
22
|
-
export * from './Textarea';
|
|
23
|
-
export * from './Video';
|
|
24
|
-
export * from './View';
|
|
25
|
-
export * from './PageContainer';
|
|
26
|
-
export * from './IpcPlayer';
|
|
27
|
-
export * from './CoverView';
|
|
28
|
-
export * from './NativeVideo';
|
|
29
|
-
export * from './WebView';
|
|
30
|
-
export * from './Iframe';
|
|
31
|
-
export * from './Map';
|
|
32
|
-
export * from './Camera';
|
|
33
|
-
export * from './Progress';
|
|
34
|
-
export * from './RichText';
|
|
35
|
-
export * from './Navigator';
|
|
36
|
-
export * from './SvgRender';
|
|
1
|
+
export * from './Button/index.js';
|
|
2
|
+
export * from './Canvas/index.js';
|
|
3
|
+
export * from './Checkbox/index.js';
|
|
4
|
+
export * from './CheckboxGroup/index.js';
|
|
5
|
+
export * from './Form/index.js';
|
|
6
|
+
export * from './Image/index.js';
|
|
7
|
+
export * from './Input/index.js';
|
|
8
|
+
export * from './Label/index.js';
|
|
9
|
+
export * from './MovableArea/index.js';
|
|
10
|
+
export * from './MovableView/index.js';
|
|
11
|
+
export * from './Picker/index.js';
|
|
12
|
+
export * from './PickerView/index.js';
|
|
13
|
+
export * from './PickerViewColumn/index.js';
|
|
14
|
+
export * from './Radio/index.js';
|
|
15
|
+
export * from './RadioGroup/index.js';
|
|
16
|
+
export * from './ScrollView/index.js';
|
|
17
|
+
export * from './Swiper/index.js';
|
|
18
|
+
export * from './SwiperItem/index.js';
|
|
19
|
+
export * from './Switch/index.js';
|
|
20
|
+
export * from './Slider/index.js';
|
|
21
|
+
export * from './Text/index.js';
|
|
22
|
+
export * from './Textarea/index.js';
|
|
23
|
+
export * from './Video/index.js';
|
|
24
|
+
export * from './View/index.js';
|
|
25
|
+
export * from './PageContainer/index.js';
|
|
26
|
+
export * from './IpcPlayer/index.js';
|
|
27
|
+
export * from './CoverView/index.js';
|
|
28
|
+
export * from './NativeVideo/index.js';
|
|
29
|
+
export * from './WebView/index.js';
|
|
30
|
+
export * from './Iframe/index.js';
|
|
31
|
+
export * from './Map/index.js';
|
|
32
|
+
export * from './Camera/index.js';
|
|
33
|
+
export * from './Progress/index.js';
|
|
34
|
+
export * from './RichText/index.js';
|
|
35
|
+
export * from './Navigator/index.js';
|
|
36
|
+
export * from './SvgRender/index.js';
|