@we-debug/plugin-navigate 0.23.0 → 0.25.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.25.0](https://github.com/dlhandsome/we-debug/compare/v0.24.1...v0.25.0) (2023-12-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * **runtime/plugin-navigate:** 调整 rule 类型 ([3827381](https://github.com/dlhandsome/we-debug/commit/3827381b8bc781daedcba459b9c661ac19e13f89))
12
+
13
+
14
+
15
+
16
+
17
+ # [0.24.0](https://github.com/dlhandsome/we-debug/compare/v0.23.1...v0.24.0) (2023-12-21)
18
+
19
+ **Note:** Version bump only for package @we-debug/plugin-navigate
20
+
21
+
22
+
23
+
24
+
6
25
  # [0.23.0](https://github.com/dlhandsome/we-debug/compare/v0.22.2...v0.23.0) (2023-12-20)
7
26
 
8
27
  **Note:** Version bump only for package @we-debug/plugin-navigate
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const NavigatePlugin={install:function(a,r){Array.isArray(r)||(r=[r]);const l=[];r.forEach(t=>{var e=a.createFormRule(Object.assign({},{title:t.title||"",state:{name:t.name||"前往"},desc:t.desc||"",type:"button",handler:{bindTap(e){e.disabled||wx.navigateTo({url:t.url})}}},r));l.push(e)}),a.addFormRule(l)}};var _default=exports.default=NavigatePlugin;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const NavigatePlugin={install:function(t,r){Array.isArray(r)||(r=[r]);const l=[];r.forEach(a=>{var e=t.createFormRule(Object.assign({},{title:a.title||"",state:{name:a.name||"前往"},desc:a.desc||"",type:"arrow",handler:{bindTap(e){e.disabled||wx.navigateTo({url:a.url})}}},r));l.push(e)}),t.addFormRule(l)}};var _default=exports.default=NavigatePlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@we-debug/plugin-navigate",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "navigate plugin for we-debug",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -16,5 +16,5 @@
16
16
  "readme": "ERROR: No README data found!",
17
17
  "_id": "@we-debug/plugin-navigate@0.1.2",
18
18
  "_commitid": "d1e9ad9",
19
- "gitHead": "9c7e9eef46cceb92d984d5a96caa935223cc8450"
19
+ "gitHead": "aea9182b1556b91bb253b9eaef8a4712fc0f37a9"
20
20
  }