@next-core/next-docs 1.2.551 → 1.2.553

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.
@@ -0,0 +1,35 @@
1
+ ---
2
+ id: brick-next-pipes.atobunicode
3
+ title: atobUnicode()
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@easyops-cn/brick-next-pipes](./brick-next-pipes.md) &gt; [atobUnicode](./brick-next-pipes.atobunicode.md)
11
+
12
+ ## atobUnicode() function
13
+
14
+ 支持base64字符解码为中文
15
+
16
+ Logic
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export declare function atobUnicode(value: string): string;
22
+ ```
23
+
24
+ ## Parameters
25
+
26
+ | Parameter | Type | Description |
27
+ | --- | --- | --- |
28
+ | value | string | 需要进行解码的值 |
29
+
30
+ **Returns:**
31
+
32
+ string
33
+
34
+ 解码后的值
35
+
@@ -0,0 +1,35 @@
1
+ ---
2
+ id: brick-next-pipes.btoaunicode
3
+ title: btoaUnicode()
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@easyops-cn/brick-next-pipes](./brick-next-pipes.md) &gt; [btoaUnicode](./brick-next-pipes.btoaunicode.md)
11
+
12
+ ## btoaUnicode() function
13
+
14
+ 支持将中文进行base64编码
15
+
16
+ Logic
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export declare function btoaUnicode(value: string): string;
22
+ ```
23
+
24
+ ## Parameters
25
+
26
+ | Parameter | Type | Description |
27
+ | --- | --- | --- |
28
+ | value | string | 需要进行编码的值 |
29
+
30
+ **Returns:**
31
+
32
+ string
33
+
34
+ 编码后的值
35
+
@@ -45,7 +45,9 @@ prop: "@{ yourObject | yamlStringify }"
45
45
  | Function | Description |
46
46
  | --- | --- |
47
47
  | [add](./brick-next-pipes.add.md) | 数学加法或字符串拼接。 Mathematics |
48
+ | [atobUnicode](./brick-next-pipes.atobunicode.md) | 支持base64字符解码为中文 Logic |
48
49
  | [boolean](./brick-next-pipes.boolean.md) | 将一个值转换为布尔值(也可使用别名 <code>bool</code>)。 Type conversion |
50
+ | [btoaUnicode](./brick-next-pipes.btoaunicode.md) | 支持将中文进行base64编码 Logic |
49
51
  | [cmdbInstanceShowName](./brick-next-pipes.cmdbinstanceshowname.md) | 获得一个 CMDB 实例的展示名。 Others |
50
52
  | [countBy](./brick-next-pipes.countby.md) | 统计一个集合中每个元素的指定属性(或迭代器执行结果)的值出现的次数。 Collection |
51
53
  | [datetime](./brick-next-pipes.datetime.md) | 日期时间格式化(使用当地时区)。 Datetime |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/next-docs",
3
- "version": "1.2.551",
3
+ "version": "1.2.553",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
6
6
  "license": "GPL-3.0",
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "sideEffects": false,
33
33
  "devDependencies": {
34
- "@easyops-cn/brick-next-pipes": "^0.6.0",
35
- "@next-core/brick-kit": "^2.200.2",
34
+ "@easyops-cn/brick-next-pipes": "^0.7.1",
35
+ "@next-core/brick-kit": "^2.200.4",
36
36
  "@next-core/brick-types": "^2.98.1",
37
37
  "fs-extra": "^10.1.0"
38
38
  },
39
- "gitHead": "a8ad86da27579da66d8e33410da8528bc3b5bebe"
39
+ "gitHead": "c36e5d7e626ecb2abbaad2c1f28712f2d60a1ed7"
40
40
  }
package/pipes.json CHANGED
@@ -4,11 +4,21 @@
4
4
  "category": "mathematics",
5
5
  "description": "数学加法或字符串拼接。"
6
6
  },
7
+ {
8
+ "name": "atobUnicode",
9
+ "category": "logic",
10
+ "description": "支持base64字符解码为中文"
11
+ },
7
12
  {
8
13
  "name": "boolean",
9
14
  "category": "type conversion",
10
15
  "description": "将一个值转换为布尔值(也可使用别名 `bool`)。"
11
16
  },
17
+ {
18
+ "name": "btoaUnicode",
19
+ "category": "logic",
20
+ "description": "支持将中文进行base64编码"
21
+ },
12
22
  {
13
23
  "name": "cmdbInstanceShowName",
14
24
  "category": "others",