@ray-js/adapter 1.8.0-beta.1 → 1.8.0-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/adapter",
3
- "version": "1.8.0-beta.1",
3
+ "version": "1.8.0-beta.3",
4
4
  "description": "Ray adapter for tuya",
5
5
  "keywords": [
6
6
  "ray"
@@ -31,12 +31,12 @@
31
31
  "watch": "concurrently 'yarn build:cjs --watch' 'yarn build:esm --watch'"
32
32
  },
33
33
  "dependencies": {
34
- "@ray-core/runtime": "^0.5.0-beta.2",
35
- "@ray-core/shared": "^0.5.0-beta.2",
36
- "@ray-core/types": "^0.5.0-beta.2"
34
+ "@ray-core/runtime": "^0.5.0-beta.3",
35
+ "@ray-core/shared": "^0.5.0-beta.3",
36
+ "@ray-core/types": "^0.5.0-beta.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/types": "1.8.0-beta.1",
39
+ "@ray-js/types": "1.8.0-beta.3",
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": "43b46c55511f6d36aae7a9145ac7b2400c764f02"
47
+ "gitHead": "7a87b2475b26ddb603491c3904a55b09f62b5854"
48
48
  }
@@ -1,7 +1,7 @@
1
1
  <template name="REMAX_TPL_<%=id%>">
2
2
  <%_ if (id === 'view') { -%>
3
3
  <block ty:if="{{i.PS['catchtouchmove']}}">
4
- <<%=id%>
4
+ <<%=id%> data-sid="{{i.PS['data-sid']}}"
5
5
  <%# view 标签需要区分是否含 catchtouchmove 事件,区分渲染模板 避免冲突 -%>
6
6
  <%pp1 = props.filter(k => k !== 'bindtouchmove')-%>
7
7
  <%_ for(let i=0;i < pp1.length; i++) { -%>
@@ -14,7 +14,7 @@
14
14
  </<%=id%>>
15
15
  </block>
16
16
  <block ty:else>
17
- <<%=id%>
17
+ <<%=id%> data-sid="{{i.PS['data-sid']}}"
18
18
  <%pp2 = props.filter(k => k !== 'catchtouchmove')-%>
19
19
  <%_ for(let i=0;i < pp2.length; i++) { -%>
20
20
  <%=pp2[i]%>="{{i.PS['<%=pp2[i]%>']}}"
@@ -26,7 +26,7 @@
26
26
  </<%=id%>>
27
27
  </block>
28
28
  <%_ } else { -%>
29
- <<%=id%>
29
+ <<%=id%> data-sid="{{i.PS['data-sid']}}"
30
30
  <%_ for(let i=0;i < props.length; i++) { -%>
31
31
  <%=props[i]%>="{{i.PS['<%=props[i]%>']}}"
32
32
  <%_ } -%>