@ray-js/adapter 1.4.0-alpha.1 → 1.4.0-alpha.10

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.
@@ -2,24 +2,24 @@ import * as React from 'react';
2
2
  import { BaseProps, GenericEvent } from '../../types/component';
3
3
  export interface InputProps extends BaseProps {
4
4
  value?: string;
5
- type?: 'text' | 'number' | 'idcard' | 'digit';
5
+ type?: 'text' | 'number';
6
6
  password?: boolean;
7
7
  placeholder?: string;
8
8
  placeholderStyle?: string;
9
9
  disabled?: boolean;
10
10
  maxLength?: number;
11
- focus?: boolean;
12
- cursorSpacing?: number;
13
- cursor?: number;
14
- selectionStart?: number;
15
- selectionEnd?: number;
16
- adjustPosition?: boolean;
17
11
  confirmType?: 'send' | 'search' | 'next' | 'go' | 'done';
18
- confirmHold?: boolean;
12
+ /**
13
+ * string | number 输入框内容左侧内容缩进,仅在涂鸦小程序有效
14
+ */
15
+ indentStart?: string | number;
16
+ /**
17
+ * string | number 输入框内容右侧内容缩进,仅在涂鸦小程序有效
18
+ */
19
+ indentEnd?: string | number;
19
20
  onInput?: (event: GenericEvent) => void;
20
21
  onFocus?: (event: GenericEvent) => void;
21
22
  onBlur?: (event: GenericEvent) => void;
22
23
  onConfirm?: (event: GenericEvent) => void;
23
- onKeyboardHeightChange?: (event: GenericEvent) => void;
24
24
  }
25
25
  export declare const Input: React.ComponentType<InputProps>;
@@ -5,14 +5,6 @@ const runtime_1 = require("@ray-core/runtime");
5
5
  exports.Input = (0, runtime_1.createHostComponent)('input');
6
6
  exports.Input.defaultProps = {
7
7
  type: 'text',
8
- // password: false,
9
- // disabled: false,
10
8
  maxLength: 140,
11
- cursorSpacing: 0,
12
- // focus: false,
13
9
  confirmType: 'done',
14
- // confirmHold: false,
15
- // selectionEnd: -1,
16
- // selectionStart: -1,
17
- adjustPosition: true,
18
10
  };
@@ -10,19 +10,13 @@ export declare const alias: {
10
10
  placeholderStyle: string;
11
11
  disabled: string;
12
12
  maxLength: string;
13
- focus: string;
14
- cursorSpacing: string;
15
- cursor: string;
16
- selectionStart: string;
17
- selectionEnd: string;
18
- adjustPosition: string;
19
13
  confirmType: string;
20
- confirmHold: string;
14
+ indentStart: string;
15
+ indentEnd: string;
21
16
  onInput: string;
22
17
  onFocus: string;
23
18
  onBlur: string;
24
19
  onConfirm: string;
25
- onKeyboardHeightChange: string;
26
20
  disableScroll: string;
27
21
  hoverClass: string;
28
22
  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), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', type: 'type', password: 'password', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', focus: 'focus', cursorSpacing: 'cursor-spacing', cursor: 'cursor', selectionStart: 'selection-start', selectionEnd: 'selection-end', adjustPosition: 'adjust-position', confirmType: 'confirm-type', confirmHold: 'confirm-hold', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm', onKeyboardHeightChange: 'bindkeyboardheightchange' });
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', confirmType: 'confirm-type', indentStart: 'indent-start', indentEnd: 'indent-end', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
6
6
  exports.props = Object.values(exports.alias);
@@ -24,7 +24,7 @@ export interface MapProps extends BaseProps, DiffLayer {
24
24
  onRegionchange?: (e: GenericEvent) => void;
25
25
  onInitdone?: (e: GenericEvent) => void;
26
26
  }
27
- export declare type Marker = {
27
+ export type Marker = {
28
28
  content?: string;
29
29
  color?: string;
30
30
  fontSize?: number;
@@ -37,7 +37,7 @@ export declare type Marker = {
37
37
  anchorX?: number;
38
38
  anchorY?: number;
39
39
  };
40
- export declare type Polyline = {
40
+ export type Polyline = {
41
41
  points: Array<{
42
42
  latitude: number;
43
43
  longitude: number;
@@ -46,7 +46,7 @@ export declare type Polyline = {
46
46
  width?: number;
47
47
  dottedLine?: boolean;
48
48
  };
49
- export declare type Circle = {
49
+ export type Circle = {
50
50
  latitude: number;
51
51
  longitude: number;
52
52
  color?: string;
@@ -54,7 +54,7 @@ export declare type Circle = {
54
54
  radius: number;
55
55
  strokeWidth?: number;
56
56
  };
57
- export declare type Polygon = {
57
+ export type Polygon = {
58
58
  points: Array<{
59
59
  latitude: number;
60
60
  longitude: number;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  import { BaseProps } from '../../types/component';
3
- export declare type PickerViewColumnProps = BaseProps;
3
+ export type PickerViewColumnProps = BaseProps;
4
4
  export declare const PickerViewColumn: React.ComponentType<PickerViewColumnProps>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { BaseProps } from '../../types/component';
3
- declare type RichTextNode = {
3
+ type RichTextNode = {
4
4
  name: string;
5
5
  attrs?: Record<string, unknown>;
6
6
  children?: RichTextNode[];
@@ -8,6 +8,7 @@ declare type RichTextNode = {
8
8
  export interface RichTextProps extends BaseProps {
9
9
  /** 节点列表/HTML String,现支持两种节点,通过 type 来区分,分别是元素节点和文本节点,默认是元素节点,在富文本区域里显示的 HTML 节点。 */
10
10
  nodes?: string | RichTextNode[];
11
+ onSelect: (e: any) => void;
11
12
  }
12
13
  export declare const RichText: React.ComponentType<RichTextProps>;
13
14
  export {};
@@ -1,5 +1,6 @@
1
1
  export declare const alias: {
2
2
  nodes: string;
3
+ onSelect: string;
3
4
  id: string;
4
5
  disableScroll: string;
5
6
  hoverClass: 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), { nodes: 'nodes' });
5
+ exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { nodes: 'nodes', onSelect: 'bindselect' });
6
6
  exports.props = Object.values(exports.alias);
@@ -5,20 +5,12 @@ export interface TextareaProps extends BaseProps {
5
5
  value?: string;
6
6
  placeholder?: string;
7
7
  placeholderStyle?: string;
8
- disabled?: Boolean;
9
- maxlength?: Number;
10
- focus?: Boolean;
11
- autoHeight?: Boolean;
12
- cursorSpacing?: Number;
13
- cursor?: Number;
14
- selectionStart?: Number;
15
- selectionEnd?: Number;
16
- adjustPosition?: Boolean;
8
+ disabled?: boolean;
9
+ maxlength?: number;
10
+ autoHeight?: boolean;
17
11
  onInput?: (event: GenericEvent) => void;
18
12
  onFocus?: (event: GenericEvent) => void;
19
13
  onBlur?: (event: GenericEvent) => void;
20
- onConfirm?: (event: GenericEvent) => void;
21
14
  onLineChange?: (event: GenericEvent) => void;
22
- onKeyboardHeightChange?: (event: GenericEvent) => void;
23
15
  }
24
16
  export declare const Textarea: React.ComponentType<TextareaProps>;
@@ -4,12 +4,6 @@ exports.Textarea = void 0;
4
4
  const runtime_1 = require("@ray-core/runtime");
5
5
  exports.Textarea = (0, runtime_1.createHostComponent)('textarea');
6
6
  exports.Textarea.defaultProps = {
7
- // disabled: false,
8
- // focus: false,
9
- // autoHeight: false,
10
- // cursor: -1,
11
- // selectionStart: -1,
12
- // selectionEnd: -1,
13
7
  /**
14
8
  * 修复 <Textarea maxLength={1000} />
15
9
  * 在编译时会将 maxLength 转为 maxlength,但实际 defaultProps 中 仍然使用 maxLength
@@ -18,6 +12,4 @@ exports.Textarea.defaultProps = {
18
12
  * 最终导致值错误
19
13
  */
20
14
  maxlength: 140,
21
- cursorSpacing: 0,
22
- adjustPosition: true,
23
15
  };
@@ -10,19 +10,11 @@ export declare const alias: {
10
10
  disabled: string;
11
11
  maxLength: string;
12
12
  maxlength: string;
13
- focus: string;
14
13
  autoHeight: string;
15
- cursorSpacing: string;
16
- cursor: string;
17
- selectionStart: string;
18
- selectionEnd: string;
19
- adjustPosition: string;
20
14
  onInput: string;
21
15
  onFocus: string;
22
16
  onBlur: string;
23
- onConfirm: string;
24
17
  onLineChange: string;
25
- onKeyboardHeightChange: string;
26
18
  disableScroll: string;
27
19
  hoverClass: string;
28
20
  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), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', value: 'value', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', focus: 'focus', autoHeight: 'auto-height', cursorSpacing: 'cursor-spacing', cursor: 'cursor', selectionStart: 'selection-start', selectionEnd: 'selection-end', adjustPosition: 'adjust-position', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm', onLineChange: 'bindline-change', onKeyboardHeightChange: 'bindkeyboardheightchange' });
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' });
6
6
  exports.props = Object.values(exports.alias);
@@ -2,24 +2,24 @@ import * as React from 'react';
2
2
  import { BaseProps, GenericEvent } from '../../types/component';
3
3
  export interface InputProps extends BaseProps {
4
4
  value?: string;
5
- type?: 'text' | 'number' | 'idcard' | 'digit';
5
+ type?: 'text' | 'number';
6
6
  password?: boolean;
7
7
  placeholder?: string;
8
8
  placeholderStyle?: string;
9
9
  disabled?: boolean;
10
10
  maxLength?: number;
11
- focus?: boolean;
12
- cursorSpacing?: number;
13
- cursor?: number;
14
- selectionStart?: number;
15
- selectionEnd?: number;
16
- adjustPosition?: boolean;
17
11
  confirmType?: 'send' | 'search' | 'next' | 'go' | 'done';
18
- confirmHold?: boolean;
12
+ /**
13
+ * string | number 输入框内容左侧内容缩进,仅在涂鸦小程序有效
14
+ */
15
+ indentStart?: string | number;
16
+ /**
17
+ * string | number 输入框内容右侧内容缩进,仅在涂鸦小程序有效
18
+ */
19
+ indentEnd?: string | number;
19
20
  onInput?: (event: GenericEvent) => void;
20
21
  onFocus?: (event: GenericEvent) => void;
21
22
  onBlur?: (event: GenericEvent) => void;
22
23
  onConfirm?: (event: GenericEvent) => void;
23
- onKeyboardHeightChange?: (event: GenericEvent) => void;
24
24
  }
25
25
  export declare const Input: React.ComponentType<InputProps>;
@@ -2,14 +2,6 @@ import { createHostComponent } from '@ray-core/runtime';
2
2
  export const Input = createHostComponent('input');
3
3
  Input.defaultProps = {
4
4
  type: 'text',
5
- // password: false,
6
- // disabled: false,
7
5
  maxLength: 140,
8
- cursorSpacing: 0,
9
- // focus: false,
10
6
  confirmType: 'done',
11
- // confirmHold: false,
12
- // selectionEnd: -1,
13
- // selectionStart: -1,
14
- adjustPosition: true,
15
7
  };
@@ -10,19 +10,13 @@ export declare const alias: {
10
10
  placeholderStyle: string;
11
11
  disabled: string;
12
12
  maxLength: string;
13
- focus: string;
14
- cursorSpacing: string;
15
- cursor: string;
16
- selectionStart: string;
17
- selectionEnd: string;
18
- adjustPosition: string;
19
13
  confirmType: string;
20
- confirmHold: string;
14
+ indentStart: string;
15
+ indentEnd: string;
21
16
  onInput: string;
22
17
  onFocus: string;
23
18
  onBlur: string;
24
19
  onConfirm: string;
25
- onKeyboardHeightChange: string;
26
20
  disableScroll: string;
27
21
  hoverClass: string;
28
22
  hoverClassName: string;
@@ -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', focus: 'focus', cursorSpacing: 'cursor-spacing', cursor: 'cursor', selectionStart: 'selection-start', selectionEnd: 'selection-end', adjustPosition: 'adjust-position', confirmType: 'confirm-type', confirmHold: 'confirm-hold', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm', onKeyboardHeightChange: 'bindkeyboardheightchange' });
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', confirmType: 'confirm-type', indentStart: 'indent-start', indentEnd: 'indent-end', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
3
3
  export const props = Object.values(alias);
@@ -24,7 +24,7 @@ export interface MapProps extends BaseProps, DiffLayer {
24
24
  onRegionchange?: (e: GenericEvent) => void;
25
25
  onInitdone?: (e: GenericEvent) => void;
26
26
  }
27
- export declare type Marker = {
27
+ export type Marker = {
28
28
  content?: string;
29
29
  color?: string;
30
30
  fontSize?: number;
@@ -37,7 +37,7 @@ export declare type Marker = {
37
37
  anchorX?: number;
38
38
  anchorY?: number;
39
39
  };
40
- export declare type Polyline = {
40
+ export type Polyline = {
41
41
  points: Array<{
42
42
  latitude: number;
43
43
  longitude: number;
@@ -46,7 +46,7 @@ export declare type Polyline = {
46
46
  width?: number;
47
47
  dottedLine?: boolean;
48
48
  };
49
- export declare type Circle = {
49
+ export type Circle = {
50
50
  latitude: number;
51
51
  longitude: number;
52
52
  color?: string;
@@ -54,7 +54,7 @@ export declare type Circle = {
54
54
  radius: number;
55
55
  strokeWidth?: number;
56
56
  };
57
- export declare type Polygon = {
57
+ export type Polygon = {
58
58
  points: Array<{
59
59
  latitude: number;
60
60
  longitude: number;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  import { BaseProps } from '../../types/component';
3
- export declare type PickerViewColumnProps = BaseProps;
3
+ export type PickerViewColumnProps = BaseProps;
4
4
  export declare const PickerViewColumn: React.ComponentType<PickerViewColumnProps>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { BaseProps } from '../../types/component';
3
- declare type RichTextNode = {
3
+ type RichTextNode = {
4
4
  name: string;
5
5
  attrs?: Record<string, unknown>;
6
6
  children?: RichTextNode[];
@@ -8,6 +8,7 @@ declare type RichTextNode = {
8
8
  export interface RichTextProps extends BaseProps {
9
9
  /** 节点列表/HTML String,现支持两种节点,通过 type 来区分,分别是元素节点和文本节点,默认是元素节点,在富文本区域里显示的 HTML 节点。 */
10
10
  nodes?: string | RichTextNode[];
11
+ onSelect: (e: any) => void;
11
12
  }
12
13
  export declare const RichText: React.ComponentType<RichTextProps>;
13
14
  export {};
@@ -1,5 +1,6 @@
1
1
  export declare const alias: {
2
2
  nodes: string;
3
+ onSelect: string;
3
4
  id: string;
4
5
  disableScroll: string;
5
6
  hoverClass: string;
@@ -1,3 +1,3 @@
1
1
  import { universalAlias } from '../universal';
2
- export const alias = Object.assign(Object.assign({}, universalAlias), { nodes: 'nodes' });
2
+ export const alias = Object.assign(Object.assign({}, universalAlias), { nodes: 'nodes', onSelect: 'bindselect' });
3
3
  export const props = Object.values(alias);
@@ -5,20 +5,12 @@ export interface TextareaProps extends BaseProps {
5
5
  value?: string;
6
6
  placeholder?: string;
7
7
  placeholderStyle?: string;
8
- disabled?: Boolean;
9
- maxlength?: Number;
10
- focus?: Boolean;
11
- autoHeight?: Boolean;
12
- cursorSpacing?: Number;
13
- cursor?: Number;
14
- selectionStart?: Number;
15
- selectionEnd?: Number;
16
- adjustPosition?: Boolean;
8
+ disabled?: boolean;
9
+ maxlength?: number;
10
+ autoHeight?: boolean;
17
11
  onInput?: (event: GenericEvent) => void;
18
12
  onFocus?: (event: GenericEvent) => void;
19
13
  onBlur?: (event: GenericEvent) => void;
20
- onConfirm?: (event: GenericEvent) => void;
21
14
  onLineChange?: (event: GenericEvent) => void;
22
- onKeyboardHeightChange?: (event: GenericEvent) => void;
23
15
  }
24
16
  export declare const Textarea: React.ComponentType<TextareaProps>;
@@ -1,12 +1,6 @@
1
1
  import { createHostComponent } from '@ray-core/runtime';
2
2
  export const Textarea = createHostComponent('textarea');
3
3
  Textarea.defaultProps = {
4
- // disabled: false,
5
- // focus: false,
6
- // autoHeight: false,
7
- // cursor: -1,
8
- // selectionStart: -1,
9
- // selectionEnd: -1,
10
4
  /**
11
5
  * 修复 <Textarea maxLength={1000} />
12
6
  * 在编译时会将 maxLength 转为 maxlength,但实际 defaultProps 中 仍然使用 maxLength
@@ -15,6 +9,4 @@ Textarea.defaultProps = {
15
9
  * 最终导致值错误
16
10
  */
17
11
  maxlength: 140,
18
- cursorSpacing: 0,
19
- adjustPosition: true,
20
12
  };
@@ -10,19 +10,11 @@ export declare const alias: {
10
10
  disabled: string;
11
11
  maxLength: string;
12
12
  maxlength: string;
13
- focus: string;
14
13
  autoHeight: string;
15
- cursorSpacing: string;
16
- cursor: string;
17
- selectionStart: string;
18
- selectionEnd: string;
19
- adjustPosition: string;
20
14
  onInput: string;
21
15
  onFocus: string;
22
16
  onBlur: string;
23
- onConfirm: string;
24
17
  onLineChange: string;
25
- onKeyboardHeightChange: string;
26
18
  disableScroll: string;
27
19
  hoverClass: string;
28
20
  hoverClassName: string;
@@ -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', focus: 'focus', autoHeight: 'auto-height', cursorSpacing: 'cursor-spacing', cursor: 'cursor', selectionStart: 'selection-start', selectionEnd: 'selection-end', adjustPosition: 'adjust-position', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm', onLineChange: 'bindline-change', onKeyboardHeightChange: 'bindkeyboardheightchange' });
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' });
3
3
  export const props = Object.values(alias);
package/package.json CHANGED
@@ -1,40 +1,45 @@
1
1
  {
2
2
  "name": "@ray-js/adapter",
3
- "version": "1.4.0-alpha.1",
3
+ "version": "1.4.0-alpha.10",
4
4
  "description": "Ray adapter for tuya",
5
5
  "keywords": [
6
6
  "ray"
7
7
  ],
8
+ "repository": {},
8
9
  "license": "MIT",
9
- "esnext": "./esm/index.js",
10
+ "maintainers": [
11
+ {
12
+ "name": "tuyafe",
13
+ "email": "tuyafe@tuya.com"
14
+ }
15
+ ],
10
16
  "module": "./esm/index.js",
11
17
  "typings": "./esm/index.d.ts",
12
- "publishConfig": {
13
- "access": "public",
14
- "registry": "https://registry.npmjs.org"
15
- },
18
+ "files": [
19
+ "cjs",
20
+ "esm",
21
+ "templates"
22
+ ],
16
23
  "scripts": {
17
- "clean": "rm -rf cjs esm",
18
24
  "build": "yarn build:cjs && yarn build:esm",
19
25
  "build:cjs": "tsc -p ./tsconfig.build.json --module commonjs --outDir cjs",
20
26
  "build:esm": "tsc -p ./tsconfig.build.json --module esnext --outDir esm",
27
+ "clean": "rm -rf cjs esm",
21
28
  "watch": "concurrently 'yarn build:cjs --watch' 'yarn build:esm --watch'"
22
29
  },
30
+ "dependencies": {
31
+ "@ray-core/runtime": "^0.3.6",
32
+ "@ray-core/shared": "^0.3.6",
33
+ "@ray-core/types": "^0.3.6"
34
+ },
23
35
  "devDependencies": {
24
- "@ray-js/types": "^1.4.0-alpha.1",
25
- "concurrently": "^6.2.1"
36
+ "@ray-js/types": "^1.4.0-alpha.10",
37
+ "concurrently": "^6.5.1"
26
38
  },
27
- "maintainers": [
28
- {
29
- "name": "tuyafe",
30
- "email": "tuyafe@tuya.com"
31
- }
32
- ],
33
- "dependencies": {
34
- "@ray-core/runtime": "^0.3.5",
35
- "@ray-core/shared": "^0.3.5",
36
- "@ray-core/types": "^0.3.5"
39
+ "publishConfig": {
40
+ "access": "public",
41
+ "registry": "https://registry.npmjs.org"
37
42
  },
38
- "gitHead": "4340240aafe16c03853241e2356134610e65443e",
39
- "repository": {}
43
+ "esnext": "./esm/index.js",
44
+ "gitHead": "14cb935df10f020e714b44bb41d4899646db751c"
40
45
  }
package/CHANGELOG.md DELETED
@@ -1,257 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
4
-
5
- ### [1.2.16-beta-1](./compare/v1.2.16-alpha.2...v1.2.16-beta-1) (2023-05-22)
6
-
7
- **Note:** Version bump only for package @ray-js/adapter
8
-
9
- ## [1.3.0-beta.2-beta-2](./compare/v1.3.0-beta.2-beta-1...v1.3.0-beta.2-beta-2) (2023-05-11)
10
-
11
- **Note:** Version bump only for package @ray-js/adapter
12
-
13
- ## [1.3.0-beta.2-beta-1](./compare/v1.2.9...v1.3.0-beta.2-beta-1) (2023-05-11)
14
-
15
- **Note:** Version bump only for package @ray-js/adapter
16
-
17
- ### [0.10.3-beta-1](./compare/v0.9.4...v0.10.3-beta-1) (2023-04-03)
18
-
19
- **Note:** Version bump only for package @ray-js/adapter
20
-
21
- ## [0.10.0-beta-1](./compare/v0.9.4...v0.10.0-beta-1) (2023-03-21)
22
-
23
- **Note:** Version bump only for package @ray-js/adapter
24
-
25
- ### [0.9.8-beta-3](./compare/v0.9.8-beta-2...v0.9.8-beta-3) (2023-03-20)
26
-
27
- **Note:** Version bump only for package @ray-js/adapter
28
-
29
- ### [0.9.8-beta-2](./compare/v0.9.8-beta-1...v0.9.8-beta-2) (2023-03-20)
30
-
31
- **Note:** Version bump only for package @ray-js/adapter
32
-
33
- ### [0.9.8-beta-1](./compare/v0.9.4...v0.9.8-beta-1) (2023-03-20)
34
-
35
- **Note:** Version bump only for package @ray-js/adapter
36
-
37
- ### [0.9.4-beta-1](./compare/v0.9.0...v0.9.4-beta-1) (2023-03-06)
38
-
39
- ### Features
40
-
41
- - 添加 rich-text 去掉 lineaGradient ([442e11d](./commit/442e11da734b54c1b013482f49627738361f372f))
42
-
43
- ### [0.9.1-beta-1](./compare/v0.9.0...v0.9.1-beta-1) (2023-02-22)
44
-
45
- **Note:** Version bump only for package @ray-js/adapter
46
-
47
- ### [0.8.5-beta-1](./compare/v0.8.2...v0.8.5-beta-1) (2023-02-16)
48
-
49
- ### Bug Fixes
50
-
51
- - 类型问题处理 ([159d88d](./commit/159d88d649b0be517073daa237841aee2b7887cd))
52
-
53
- ### [0.8.1-beta-2](./compare/v0.8.1-beta-1...v0.8.1-beta-2) (2023-02-07)
54
-
55
- **Note:** Version bump only for package @ray-js/adapter
56
-
57
- ### [0.8.1-beta-1](./compare/v0.8.0...v0.8.1-beta-1) (2023-02-07)
58
-
59
- **Note:** Version bump only for package @ray-js/adapter
60
-
61
- ### [0.7.3-beta-1](./compare/v0.6.30...v0.7.3-beta-1) (2022-12-22)
62
-
63
- **Note:** Version bump only for package @ray-js/adapter
64
-
65
- ### [0.7.1-beta-1](./compare/v0.7.0...v0.7.1-beta-1) (2022-12-19)
66
-
67
- **Note:** Version bump only for package @ray-js/adapter
68
-
69
- ### [0.6.15-beta-1](./compare/v0.6.10...v0.6.15-beta-1) (2022-11-03)
70
-
71
- ### Features
72
-
73
- - ray components progress ([021c7cd](./commit/021c7cd0e0ccd51b68385144152b95bd1a17104a))
74
-
75
- ### [0.6.12-beta-2](./compare/v0.6.12-beta-1...v0.6.12-beta-2) (2022-10-13)
76
-
77
- **Note:** Version bump only for package @ray-js/adapter
78
-
79
- ### [0.6.12-beta-1](./compare/v0.6.10...v0.6.12-beta-1) (2022-10-13)
80
-
81
- **Note:** Version bump only for package @ray-js/adapter
82
-
83
- ### [0.6.6-beta-1](./compare/v0.6.5...v0.6.6-beta-1) (2022-09-28)
84
-
85
- **Note:** Version bump only for package @ray-js/adapter
86
-
87
- ### [0.6.3-beta-1](./compare/v0.6.2...v0.6.3-beta-1) (2022-09-26)
88
-
89
- **Note:** Version bump only for package @ray-js/adapter
90
-
91
- ### [0.5.10-beta-1](./compare/v0.5.4...v0.5.10-beta-1) (2022-09-22)
92
-
93
- **Note:** Version bump only for package @ray-js/adapter
94
-
95
- ### [0.5.8-beta-1](./compare/v0.5.7-beta-2...v0.5.8-beta-1) (2022-09-21)
96
-
97
- **Note:** Version bump only for package @ray-js/adapter
98
-
99
- ### [0.5.7-beta-2](./compare/v0.5.7-beta-1...v0.5.7-beta-2) (2022-09-21)
100
-
101
- **Note:** Version bump only for package @ray-js/adapter
102
-
103
- ### [0.5.7-beta-1](./compare/v0.5.6-beta-2...v0.5.7-beta-1) (2022-09-20)
104
-
105
- **Note:** Version bump only for package @ray-js/remax-tuya
106
-
107
- ### [0.5.6-beta-2](./compare/v0.5.6-beta-1...v0.5.6-beta-2) (2022-09-19)
108
-
109
- **Note:** Version bump only for package @ray-js/remax-tuya
110
-
111
- ### [0.5.6-beta-1](./compare/v0.5.4...v0.5.6-beta-1) (2022-09-15)
112
-
113
- ### Bug Fixes
114
-
115
- - 升级 ray-core,解决 webpack5 缓存导致的问题 ([a5205d0](./commit/a5205d09ebf1ef344b16ab264ac9acfc3db76839))
116
-
117
- ### [0.5.4-beta-1](./compare/v0.5.1...v0.5.4-beta-1) (2022-09-06)
118
-
119
- ### Features
120
-
121
- - remax => ray-core ([5f503f6](./commit/5f503f6e70767886b1b5f4395776aafd06926687))
122
- - 升级 ray-core 版本 ([cb1165c](./commit/cb1165c7a53a039d7c0b47945b0f01cbe2fd6c50))
123
-
124
- ### Bug Fixes
125
-
126
- - ray-core 版本升级,修复依赖丢失问题 ([491e9ee](./commit/491e9ee284200f6aceeafa586444efc2ae0482aa))
127
-
128
- ### [0.5.3-beta-3](./compare/v0.5.3-beta-2...v0.5.3-beta-3) (2022-09-06)
129
-
130
- **Note:** Version bump only for package @ray-js/remax-tuya
131
-
132
- ### [0.5.3-beta-2](./compare/v0.5.3-beta-1...v0.5.3-beta-2) (2022-09-06)
133
-
134
- **Note:** Version bump only for package @ray-js/remax-tuya
135
-
136
- ### [0.5.3-beta-1](./compare/v0.5.1...v0.5.3-beta-1) (2022-09-05)
137
-
138
- ### Features
139
-
140
- - remax => ray-core ([5f503f6](./commit/5f503f6e70767886b1b5f4395776aafd06926687))
141
- - 升级 ray-core 版本 ([cb1165c](./commit/cb1165c7a53a039d7c0b47945b0f01cbe2fd6c50))
142
-
143
- ### Bug Fixes
144
-
145
- - ray-core 版本升级,修复依赖丢失问题 ([491e9ee](./commit/491e9ee284200f6aceeafa586444efc2ae0482aa))
146
-
147
- ### [0.4.10-beta-1](./compare/v0.4.8...v0.4.10-beta-1) (2022-08-30)
148
-
149
- **Note:** Version bump only for package @ray-js/remax-tuya
150
-
151
- ### [0.4.6-beta-3](./compare/v0.4.6-beta-2...v0.4.6-beta-3) (2022-08-23)
152
-
153
- **Note:** Version bump only for package @ray-js/remax-tuya
154
-
155
- ### [0.4.6-beta-2](./compare/v0.4.6-beta-1...v0.4.6-beta-2) (2022-08-22)
156
-
157
- **Note:** Version bump only for package @ray-js/remax-tuya
158
-
159
- ### [0.4.6-beta-1](./compare/v0.4.2...v0.4.6-beta-1) (2022-08-22)
160
-
161
- ### Features
162
-
163
- - cover-view ([9c60e3a](./commit/9c60e3ac54d2b2b299ada0e70aaf1220b3c160d5))
164
- - ipc-player ([c9fa587](./commit/c9fa587a3fdeef11c732cc1cf3ec5b45c4b4bde7))
165
-
166
- ### Bug Fixes
167
-
168
- - 涂鸦模板 key 表达式格式错误 ([9aeaf04](./commit/9aeaf046326c4a2a8a63e295720697236dba92bb))
169
-
170
- ### [0.4.1-beta-1](./compare/v0.3.31...v0.4.1-beta-1) (2022-08-11)
171
-
172
- ### Features
173
-
174
- - cover-view ([b08f5a5](./commit/b08f5a5640486e2d1ff580fe4961ef837a3b2e34))
175
- - ipc-player ([6922cdb](./commit/6922cdbd346d4fbee0900fca1d6be87047d9c937))
176
-
177
- ### [0.3.25-beta-1dd5f2fb](./compare/v0.3.24-beta-33dd510c...v0.3.25-beta-1dd5f2fb) (2022-07-08)
178
-
179
- **Note:** Version bump only for package @ray-js/remax-tuya
180
-
181
- ### [0.3.24-beta-33dd510c](./compare/v0.3.24-beta-d1e45036...v0.3.24-beta-33dd510c) (2022-07-08)
182
-
183
- **Note:** Version bump only for package @ray-js/remax-tuya
184
-
185
- ### [0.3.24-beta-d1e45036](./compare/v0.3.24-beta-f16861cb...v0.3.24-beta-d1e45036) (2022-07-08)
186
-
187
- **Note:** Version bump only for package @ray-js/remax-tuya
188
-
189
- ### [0.3.24-beta-f16861cb](./compare/v0.3.23...v0.3.24-beta-f16861cb) (2022-07-08)
190
-
191
- **Note:** Version bump only for package @ray-js/remax-tuya
192
-
193
- ### [0.3.23-beta-bd924626](./compare/v0.3.21-beta-a85b04d0...v0.3.23-beta-bd924626) (2022-07-07)
194
-
195
- **Note:** Version bump only for package @ray-js/remax-tuya
196
-
197
- ### [0.3.21-beta-a85b04d0](./compare/v0.3.21-beta-b00e2ece...v0.3.21-beta-a85b04d0) (2022-06-21)
198
-
199
- **Note:** Version bump only for package @ray-js/remax-tuya
200
-
201
- ### [0.3.21-beta-b00e2ece](./compare/v0.3.20-beta-95743fa5...v0.3.21-beta-b00e2ece) (2022-06-21)
202
-
203
- **Note:** Version bump only for package @ray-js/remax-tuya
204
-
205
- ### [0.3.20-beta-95743fa5](./compare/v0.3.19-beta-a6eb801d...v0.3.20-beta-95743fa5) (2022-06-15)
206
-
207
- **Note:** Version bump only for package @ray-js/remax-tuya
208
-
209
- ### [0.3.19-beta-a6eb801d](./compare/v0.3.17-beta-75b85d66...v0.3.19-beta-a6eb801d) (2022-06-10)
210
-
211
- **Note:** Version bump only for package @ray-js/remax-tuya
212
-
213
- ### [0.3.17-beta-75b85d66](./compare/v0.3.15-beta-720ccfd3...v0.3.17-beta-75b85d66) (2022-06-09)
214
-
215
- **Note:** Version bump only for package @ray-js/remax-tuya
216
-
217
- ### [0.3.15-beta-720ccfd3](./compare/v0.3.13-beta-bb326407...v0.3.15-beta-720ccfd3) (2022-06-02)
218
-
219
- **Note:** Version bump only for package @ray-js/remax-tuya
220
-
221
- ### [0.3.13-beta-bb326407](./compare/v0.3.10...v0.3.13-beta-bb326407) (2022-05-27)
222
-
223
- **Note:** Version bump only for package @ray-js/remax-tuya
224
-
225
- ### [0.3.12-beta-09246069](./compare/v0.3.10...v0.3.12-beta-09246069) (2022-05-25)
226
-
227
- **Note:** Version bump only for package @ray-js/remax-tuya
228
-
229
- ### [0.3.10-beta.0172b845](./compare/v0.3.8-beta.72a03a4e...v0.3.10-beta.0172b845) (2022-05-24)
230
-
231
- **Note:** Version bump only for package @ray-js/remax-tuya
232
-
233
- ### [0.3.8-beta.72a03a4e](./compare/v0.3.7-beta.7766a54a...v0.3.8-beta.72a03a4e) (2022-05-22)
234
-
235
- **Note:** Version bump only for package @ray-js/remax-tuya
236
-
237
- ### [0.3.7-beta.7766a54a](./compare/v0.3.6-beta.62a2f3ec...v0.3.7-beta.7766a54a) (2022-05-20)
238
-
239
- **Note:** Version bump only for package @ray-js/remax-tuya
240
-
241
- ### [0.3.6-beta.62a2f3ec](./compare/v0.3.5-beta.e91aaede...v0.3.6-beta.62a2f3ec) (2022-05-20)
242
-
243
- ## [0.2.0-beta.13](./compare/v0.2.0-beta.12...v0.2.0-beta.13) (2022-05-17)
244
-
245
- ## [0.2.0-beta.12](./compare/v0.3.4...v0.2.0-beta.12) (2022-05-17)
246
-
247
- **Note:** Version bump only for package @ray-js/remax-tuya
248
-
249
- ### [0.3.4](./compare/v0.3.4-beta.d160b993...v0.3.4) (2022-05-16)
250
-
251
- **Note:** Version bump only for package @ray-js/remax-tuya
252
-
253
- ### [0.3.4-beta.d160b993](./compare/v0.3.0-beta.1c347991...v0.3.4-beta.d160b993) (2022-05-16)
254
-
255
- ### Bug Fixes
256
-
257
- - remove author ([0807fad](./commit/0807fad8dd7c8ef926443b991f26e6e025736fd6))
package/LICENSE.md DELETED
@@ -1,9 +0,0 @@
1
- Copyright © 2014-2022 Tuya.inc
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/node.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require('./cjs/node')
@@ -1,8 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.build.json",
3
- "include": ["./src", "typings"],
4
- "compilerOptions": {
5
- "baseUrl": ".",
6
- "jsx": "preserve"
7
- }
8
- }