zero-ai 0.3.27 → 0.3.30

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.
Files changed (36) hide show
  1. package/document/doc-web/E.html +2 -5
  2. package/document/doc-web/index.html +131 -32
  3. package/document/doc-web/module-__epic.html +156 -0
  4. package/document/doc-web/module-ai.html +373 -194
  5. package/document/doc-web/module-aj.html +253 -436
  6. package/document/doc-web/module-art.html +621 -0
  7. package/{run-doc.sh → k-doc.sh} +4 -3
  8. package/package.json +1 -1
  9. package/src/cab/resource/resource.xlsx +0 -0
  10. package/src/commander/ai.zero +1 -1
  11. package/src/commander-ai/fn.csv.js +13 -13
  12. package/src/commander-ai/fn.data.js +14 -14
  13. package/src/commander-ai/fn.init.js +11 -11
  14. package/src/commander-ai/fn.key.js +12 -12
  15. package/src/commander-ai/fn.md5.js +11 -11
  16. package/src/commander-ai/fn.random.js +12 -12
  17. package/src/commander-ai/fn.sync.js +115 -8
  18. package/src/commander-ai/fn.uk.js +12 -12
  19. package/src/commander-ai/fn.uuid.js +11 -11
  20. package/src/commander-ai/index.js +64 -1
  21. package/src/commander-aj/fn.i.mod.js +42 -1
  22. package/src/commander-aj/fn.i.resource.js +69 -1
  23. package/src/commander-aj/fn.j.bundle.js +11 -15
  24. package/src/commander-aj/fn.j.init.js +12 -12
  25. package/src/commander-aj/fn.j.permission.js +12 -16
  26. package/src/commander-aj/fn.j.plugin.js +13 -17
  27. package/src/commander-aj/index.js +26 -2
  28. package/src/commander-ar/fn.i.complex.js +16 -20
  29. package/src/commander-ar/fn.i.form.js +17 -28
  30. package/src/commander-ar/index.js +77 -1
  31. package/src/epic/ai.economy.impl.fn.excel.js +21 -1
  32. package/src/epic/ai.unified.fn.fn.error.code.js +0 -6
  33. package/src/epic/index.js +52 -159
  34. package/document/doc-web/module-_debug.html +0 -1104
  35. package/document/doc-web/module-_epic.html +0 -1631
  36. package/src/commander-aj/fn.j.row.js +0 -5
@@ -36,7 +36,7 @@
36
36
 
37
37
  <input type="text" id="nav-search" placeholder="Search" />
38
38
 
39
- <h2><a href="index.html">Home</a></h2><h2><a href="http://www.vertxai.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ai</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web-extension/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui Extension</a></h2><h2><a href="http://www.vertxui.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero UI</a></h2><h2><a href="http://www.vertxai.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Ai</a></h2><h2><a href="http://www.vertxup.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Framework</a></h2><h2><a href="http://www.origin-x.cn" target="_blank" class="menu-item" id="website_link" >「Home」Origin X Engine</a></h2><h3>Classes</h3><ul><li><a href="E.html">E</a></li></ul><h3>Modules</h3><ul><li><a href="module-_debug.html">_debug</a><ul class='methods'><li data-type='method'><a href="module-_debug.html#.error">error</a></li><li data-type='method'><a href="module-_debug.html#.fxContinue">fxContinue</a></li><li data-type='method'><a href="module-_debug.html#.fxError">fxError</a></li><li data-type='method'><a href="module-_debug.html#.fxSorter">fxSorter</a></li><li data-type='method'><a href="module-_debug.html#.info">info</a></li><li data-type='method'><a href="module-_debug.html#.warn">warn</a></li></ul></li><li><a href="module-_epic.html">_epic</a><ul class='methods'><li data-type='method'><a href="module-_epic.html#.elementUnique">elementUnique</a></li><li data-type='method'><a href="module-_epic.html#.elementZip">elementZip</a></li><li data-type='method'><a href="module-_epic.html#.executeBody">executeBody</a></li><li data-type='method'><a href="module-_epic.html#.executeHeader">executeHeader</a></li><li data-type='method'><a href="module-_epic.html#.executeInput">executeInput</a></li><li data-type='method'><a href="module-_epic.html#.itArray">itArray</a></li><li data-type='method'><a href="module-_epic.html#.parseArgs">parseArgs</a></li><li data-type='method'><a href="module-_epic.html#.parseZero">parseZero</a></li></ul></li><li><a href="module-ai.html">ai</a><ul class='methods'><li data-type='method'><a href="module-ai.html#.csv">csv</a></li><li data-type='method'><a href="module-ai.html#.data">data</a></li><li data-type='method'><a href="module-ai.html#.init">init</a></li><li data-type='method'><a href="module-ai.html#.key">key</a></li><li data-type='method'><a href="module-ai.html#.md5">md5</a></li><li data-type='method'><a href="module-ai.html#.str">str</a></li><li data-type='method'><a href="module-ai.html#.uk">uk</a></li><li data-type='method'><a href="module-ai.html#.uuid">uuid</a></li></ul></li><li><a href="module-aj.html">aj</a><ul class='methods'><li data-type='method'><a href="module-aj.html#.bundle">bundle</a></li><li data-type='method'><a href="module-aj.html#.icomplex">icomplex</a></li><li data-type='method'><a href="module-aj.html#.iform">iform</a></li><li data-type='method'><a href="module-aj.html#.init">init</a></li><li data-type='method'><a href="module-aj.html#.perm">perm</a></li><li data-type='method'><a href="module-aj.html#.plugin">plugin</a></li></ul></li></ul>
39
+ <h2><a href="index.html">Home</a></h2><h2><a href="http://www.vertxai.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ai</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web-extension/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui Extension</a></h2><h2><a href="http://www.vertxui.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero UI</a></h2><h2><a href="http://www.vertxai.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Ai</a></h2><h2><a href="http://www.vertxup.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Framework</a></h2><h2><a href="http://www.origin-x.cn" target="_blank" class="menu-item" id="website_link" >「Home」Origin X Engine</a></h2><h3>Classes</h3><ul><li><a href="E.html">E</a></li></ul><h3>Modules</h3><ul><li><a href="module-__epic.html">__epic</a></li><li><a href="module-ai.html">ai</a><ul class='methods'><li data-type='method'><a href="module-ai.html#.csv">csv</a></li><li data-type='method'><a href="module-ai.html#.data">data</a></li><li data-type='method'><a href="module-ai.html#.init">init</a></li><li data-type='method'><a href="module-ai.html#.key">key</a></li><li data-type='method'><a href="module-ai.html#.md5">md5</a></li><li data-type='method'><a href="module-ai.html#.str">str</a></li><li data-type='method'><a href="module-ai.html#.sync">sync</a></li><li data-type='method'><a href="module-ai.html#.uk">uk</a></li><li data-type='method'><a href="module-ai.html#.uuid">uuid</a></li></ul></li><li><a href="module-aj.html">aj</a><ul class='methods'><li data-type='method'><a href="module-aj.html#.bundle">bundle</a></li><li data-type='method'><a href="module-aj.html#.init">init</a></li><li data-type='method'><a href="module-aj.html#.mod">mod</a></li><li data-type='method'><a href="module-aj.html#.perm">perm</a></li><li data-type='method'><a href="module-aj.html#.plugin">plugin</a></li><li data-type='method'><a href="module-aj.html#.rs">rs</a></li></ul></li><li><a href="module-art.html">art</a><ul class='methods'><li data-type='method'><a href="module-art.html#.complex">complex</a></li><li data-type='method'><a href="module-art.html#.form">form</a></li></ul></li></ul>
40
40
  </nav>
41
41
 
42
42
  <div id="main">
@@ -106,6 +106,9 @@
106
106
  <pre class="prettyprint source lang-shell"><code>ai &lt;command> [options1|options2|options3...]
107
107
  </code></pre>
108
108
  <h3>2. 命令列表</h3>
109
+ <blockquote>
110
+ <p>若命令带了 <code>(M)</code>,则表示 MacOS 系统中,会将生成结果直接拷贝到剪切板中随后可直接粘贴。</p>
111
+ </blockquote>
109
112
  <table>
110
113
  <thead>
111
114
  <tr>
@@ -115,24 +118,40 @@
115
118
  </thead>
116
119
  <tbody>
117
120
  <tr>
121
+ <td>ai uuid</td>
122
+ <td style="text-align:left">(M) 随机生成一定数量的UUID字符串</td>
123
+ </tr>
124
+ <tr>
118
125
  <td>ai csv</td>
119
- <td style="text-align:left">读取数据文件中的Array数组数据转换成csv的文件格式并输出。</td>
126
+ <td style="text-align:left">读取数据文件中的Array数组数据,然后转换成csv的文件格式输出。</td>
127
+ </tr>
128
+ <tr>
129
+ <td>ai uk</td>
130
+ <td style="text-align:left">检查数据文件中的 Data 数据是否符合唯一性约束,可直接针对批量数据执行唯一性检查。</td>
120
131
  </tr>
121
132
  <tr>
122
133
  <td>ai data</td>
123
- <td style="text-align:left">专用数据生成器,可生成<code>Object/Array</code>两种数据格式。</td>
134
+ <td style="text-align:left">专用数据生成器,可根据您的输入生成两个格式的Json数据:<code>Object/Array</code>。</td>
124
135
  </tr>
125
136
  <tr>
126
137
  <td>ai key</td>
127
138
  <td style="text-align:left">为输入数据中的Array或Object追加<code>UUID</code>格式的字段,字段可配置,默认为<code>field = key</code>属性。</td>
128
139
  </tr>
129
140
  <tr>
130
- <td>ai uk</td>
131
- <td style="text-align:left">检查输入数据中是否包含了<code>field1,field2,field3</code>属性中的重复数据,直接输出结果。</td>
141
+ <td>ai str</td>
142
+ <td style="text-align:left">(M) 生成随机字符串。</td>
132
143
  </tr>
133
144
  <tr>
134
- <td>ai uuid</td>
135
- <td style="text-align:left">随机生成一定数量的UUID字符串,并且拷贝到剪切板中(MacOs)。</td>
145
+ <td>ai md5</td>
146
+ <td style="text-align:left">(M) 针对输入字符串进行符合 Zero 规范的 MD5 加密处理。</td>
147
+ </tr>
148
+ <tr>
149
+ <td>ai init</td>
150
+ <td style="text-align:left">「工程命令」Zero前端工程初始化专用命令。</td>
151
+ </tr>
152
+ <tr>
153
+ <td>ai sync</td>
154
+ <td style="text-align:left">「工程命令」Zero前端工程框架同步专用命令(更新Zero Ui框架专用)。</td>
136
155
  </tr>
137
156
  </tbody>
138
157
  </table>
@@ -241,30 +260,8 @@
241
260
  <div class="description usertext">
242
261
  <h2><code>ai csv</code></h2>
243
262
  <h3>1. 命令</h3>
244
- <p>使用该命令将读取的Array数组数据转换成csv的文件格式</p>
245
- <h3>2. 执行</h3>
246
- <pre class="prettyprint source lang-shell"><code># 2.1. 命令语法
247
- ai csv -p &lt;path>
248
-
249
- # 2.2. 执行测试
250
- ai csv -p csv.json
251
- # ...省略部分...
252
- [Zero AI] Zero AI 系统启动......
253
- [Zero AI] Zero AI 加载输入参数:
254
- {
255
- &quot;path&quot;: &quot;csv.json&quot;,
256
- &quot;config&quot;: null,
257
- &quot;separator&quot;: &quot;,&quot;
258
- }
259
- [Zero AI] 使用分隔符:,
260
- [Zero AI] (Async)成功将数据写入到文件:./9bfe660a-d1be-48af-914f-97d996278086.csv!
263
+ <pre class="prettyprint source lang-shell"><code>ai csv -p &lt;path>
261
264
  </code></pre>
262
- <p>输出的格式如下</p>
263
- <pre class="prettyprint source lang-csv"><code>name,email
264
- Lang1,lang.yu1@hpe.com
265
- Lang2,lang.yu2@hpe.com
266
- </code></pre>
267
- <h3>3. 选项</h3>
268
265
  <table>
269
266
  <thead>
270
267
  <tr>
@@ -299,6 +296,26 @@ Lang2,lang.yu2@hpe.com
299
296
  </tr>
300
297
  </tbody>
301
298
  </table>
299
+ <h3>2. 介绍</h3>
300
+ <p>使用该命令将读取的Array数组数据转换成csv的文件格式</p>
301
+ <h3>3. 执行</h3>
302
+ <pre class="prettyprint source lang-shell"><code>ai csv -p csv.json
303
+ # ...省略部分...
304
+ [Zero AI] Zero AI 系统启动......
305
+ [Zero AI] Zero AI 加载输入参数:
306
+ {
307
+ &quot;path&quot;: &quot;csv.json&quot;,
308
+ &quot;config&quot;: null,
309
+ &quot;separator&quot;: &quot;,&quot;
310
+ }
311
+ [Zero AI] 使用分隔符:,
312
+ [Zero AI] (Async)成功将数据写入到文件:./9bfe660a-d1be-48af-914f-97d996278086.csv!
313
+ </code></pre>
314
+ <p>输出的格式如下</p>
315
+ <pre class="prettyprint source lang-csv"><code>name,email
316
+ Lang1,lang.yu1@hpe.com
317
+ Lang2,lang.yu2@hpe.com
318
+ </code></pre>
302
319
  <h3>4. 特殊说明</h3>
303
320
  <h4>4.1. 数据文件格式</h4>
304
321
  <p>「通用(略)」数据部分必须对等,从第一个元素开始执行所有的字段解析,如果字段不匹配则直接跳过。</p>
@@ -408,41 +425,8 @@ Lang2,lang.yu2@hpe.com
408
425
  <div class="description usertext">
409
426
  <h2><code>ai data</code></h2>
410
427
  <h3>1. 命令</h3>
411
- <p>根据规则随机生成数据Object/Array的专用命令。</p>
412
- <h3>2. 执行</h3>
413
- <pre class="prettyprint source lang-shell"><code># 2.1. 命令语法
414
- ai data -c &lt;config>
415
-
416
- # 2.2. 执行测试
417
- ai data -c data.zero -j true
418
- # ...省略部分...
419
- [Zero AI] Zero AI 系统启动......
420
- [Zero AI] Zero AI 加载输入参数:
421
- {
422
- &quot;config&quot;: &quot;data.zero&quot;,
423
- &quot;out&quot;: &quot;.&quot;,
424
- &quot;json&quot;: &quot;true&quot;,
425
- &quot;number&quot;: 23
426
- }
427
- [Zero AI] 处理过后的完整配置信息:
428
- {
429
- &quot;number&quot;: 23,
430
- &quot;json&quot;: &quot;true&quot;,
431
- &quot;config&quot;: {
432
- &quot;key&quot;: &quot;Guid&quot;,
433
- &quot;code&quot;: &quot;Code&quot;,
434
- &quot;array1&quot;: [
435
- &quot;A&quot;,
436
- &quot;B&quot;,
437
- &quot;C&quot;
438
- ],
439
- &quot;fixed&quot;: &quot;$FIXED:测试值&quot;,
440
- &quot;date1&quot;: &quot;ISO&quot;
441
- }
442
- }
443
- [Zero AI] (Async)成功将数据写入到文件:./4f945df8-9d27-4169-9b18-d6d6385a310c.json!
428
+ <pre class="prettyprint source lang-shell"><code>ai data -c &lt;config>
444
429
  </code></pre>
445
- <h3>3. 选项</h3>
446
430
  <table>
447
431
  <thead>
448
432
  <tr>
@@ -484,6 +468,37 @@ ai data -c data.zero -j true
484
468
  </tr>
485
469
  </tbody>
486
470
  </table>
471
+ <h3>2. 介绍</h3>
472
+ <p>根据规则随机生成数据Object/Array的专用命令。</p>
473
+ <h3>3. 执行</h3>
474
+ <pre class="prettyprint source lang-shell"><code>ai data -c data.zero -j true
475
+ # ...省略部分...
476
+ [Zero AI] Zero AI 系统启动......
477
+ [Zero AI] Zero AI 加载输入参数:
478
+ {
479
+ &quot;config&quot;: &quot;data.zero&quot;,
480
+ &quot;out&quot;: &quot;.&quot;,
481
+ &quot;json&quot;: &quot;true&quot;,
482
+ &quot;number&quot;: 23
483
+ }
484
+ [Zero AI] 处理过后的完整配置信息:
485
+ {
486
+ &quot;number&quot;: 23,
487
+ &quot;json&quot;: &quot;true&quot;,
488
+ &quot;config&quot;: {
489
+ &quot;key&quot;: &quot;Guid&quot;,
490
+ &quot;code&quot;: &quot;Code&quot;,
491
+ &quot;array1&quot;: [
492
+ &quot;A&quot;,
493
+ &quot;B&quot;,
494
+ &quot;C&quot;
495
+ ],
496
+ &quot;fixed&quot;: &quot;$FIXED:测试值&quot;,
497
+ &quot;date1&quot;: &quot;ISO&quot;
498
+ }
499
+ }
500
+ [Zero AI] (Async)成功将数据写入到文件:./4f945df8-9d27-4169-9b18-d6d6385a310c.json!
501
+ </code></pre>
487
502
  <h3>4. 生成器设置</h3>
488
503
  <h4>4.1. 生成器说明</h4>
489
504
  <table>
@@ -929,13 +944,32 @@ time=Time
929
944
  <div class="description usertext">
930
945
  <h2><code>ai init</code></h2>
931
946
  <h3>1. 命令</h3>
947
+ <pre class="prettyprint source lang-shell"><code>ai init -name &lt;name>
948
+ </code></pre>
949
+ <table>
950
+ <thead>
951
+ <tr>
952
+ <th>短参</th>
953
+ <th>全参</th>
954
+ <th>类型</th>
955
+ <th>默认</th>
956
+ <th style="text-align:left">含义</th>
957
+ </tr>
958
+ </thead>
959
+ <tbody>
960
+ <tr>
961
+ <td>-n</td>
962
+ <td>--name</td>
963
+ <td>String</td>
964
+ <td>(无)</td>
965
+ <td style="text-align:left">项目名称以及目录名称。</td>
966
+ </tr>
967
+ </tbody>
968
+ </table>
969
+ <h3>2. 介绍</h3>
932
970
  <p>vertx-ui项目脚手架初始化专用命令。</p>
933
- <h3>2. 执行</h3>
934
- <pre class="prettyprint source lang-shell"><code># 2.1. 命令语法
935
- ai init -name &lt;name>
936
-
937
- # 2.2. 执行测试
938
- ai init -name test-demo
971
+ <h3>3. 执行</h3>
972
+ <pre class="prettyprint source lang-shell"><code>ai init -name test-demo
939
973
  [Zero AI] Zero AI 代码生成工具 : &lt;标准工具>
940
974
  [Zero AI] HomePage : http://www.vertxai.cn
941
975
  [Zero AI] Github : https://github.com/silentbalanceyh/vertx-ai.git
@@ -968,27 +1002,6 @@ Resolving deltas: 100% (24009/24009), done.
968
1002
  [Zero AI] 资源清理中:rm -rf test-demo/yarn.lock
969
1003
  [Zero AI] 工程初始化完成:test-demo,您可以开始您的Zero Ui之行了!
970
1004
  </code></pre>
971
- <h3>3. 选项</h3>
972
- <table>
973
- <thead>
974
- <tr>
975
- <th>短参</th>
976
- <th>全参</th>
977
- <th>类型</th>
978
- <th>默认</th>
979
- <th style="text-align:left">含义</th>
980
- </tr>
981
- </thead>
982
- <tbody>
983
- <tr>
984
- <td>-n</td>
985
- <td>--name</td>
986
- <td>String</td>
987
- <td>(无)</td>
988
- <td style="text-align:left">项目名称以及目录名称。</td>
989
- </tr>
990
- </tbody>
991
- </table>
992
1005
  </div>
993
1006
 
994
1007
 
@@ -1072,25 +1085,8 @@ Resolving deltas: 100% (24009/24009), done.
1072
1085
  <div class="description usertext">
1073
1086
  <h2><code>ai key</code></h2>
1074
1087
  <h3>1. 命令</h3>
1075
- <p>使用该命令针对数据中的所有节点追加<code>field = key</code>的UUID值。</p>
1076
- <h3>2. 执行</h3>
1077
- <pre class="prettyprint source lang-shell"><code># 2.1. 命令语法
1078
- ai key -p &lt;path>
1079
-
1080
- # 2.2. 执行测试
1081
- ai key -p key
1082
- # ...省略部分...
1083
- [Zero AI] Zero AI 系统启动......
1084
- [Zero AI] Zero AI 加载输入参数:
1085
- {
1086
- &quot;path&quot;: &quot;key&quot;,
1087
- &quot;field&quot;: &quot;key&quot;
1088
- }
1089
- [Zero AI] (Async)成功将数据写入到文件:key/key2.json!
1090
- [Zero AI] (Async)成功将数据写入到文件:key/key3.json!
1091
- [Zero AI] (Async)成功将数据写入到文件:key/key1.json!
1088
+ <pre class="prettyprint source lang-shell"><code>ai key -p &lt;path>
1092
1089
  </code></pre>
1093
- <h3>3. 选项</h3>
1094
1090
  <table>
1095
1091
  <thead>
1096
1092
  <tr>
@@ -1118,6 +1114,21 @@ ai key -p key
1118
1114
  </tr>
1119
1115
  </tbody>
1120
1116
  </table>
1117
+ <h3>2. 介绍</h3>
1118
+ <p>使用该命令针对数据中的所有节点追加<code>field = key</code>的UUID值。</p>
1119
+ <h3>3. 执行</h3>
1120
+ <pre class="prettyprint source lang-shell"><code>ai key -p key
1121
+ # ...省略部分...
1122
+ [Zero AI] Zero AI 系统启动......
1123
+ [Zero AI] Zero AI 加载输入参数:
1124
+ {
1125
+ &quot;path&quot;: &quot;key&quot;,
1126
+ &quot;field&quot;: &quot;key&quot;
1127
+ }
1128
+ [Zero AI] (Async)成功将数据写入到文件:key/key2.json!
1129
+ [Zero AI] (Async)成功将数据写入到文件:key/key3.json!
1130
+ [Zero AI] (Async)成功将数据写入到文件:key/key1.json!
1131
+ </code></pre>
1121
1132
  </div>
1122
1133
 
1123
1134
 
@@ -1201,30 +1212,8 @@ ai key -p key
1201
1212
  <div class="description usertext">
1202
1213
  <h2><code>ai md5</code></h2>
1203
1214
  <h3>1. 命令</h3>
1204
- <p>使用该命令加密输入字符串,如果平台支持还会拷贝到剪切板中,目前支持的操作系统:</p>
1205
- <ul>
1206
- <li><code>darwin</code>:MacOs苹果操作系统</li>
1207
- </ul>
1208
- <h3>2. 执行</h3>
1209
- <pre class="prettyprint source lang-shell"><code># 2.1. 命令语法
1210
- ai md5 -i &lt;Input>
1211
-
1212
- # 2.2. 执行测试
1213
- ai md5 -i smaveapp lang@LangYus-MacBook-Pro
1214
- [Zero AI] Zero AI 代码生成工具 : &lt;标准工具>
1215
- [Zero AI] HomePage : http://www.vertxai.cn
1216
- [Zero AI] Github : https://github.com/silentbalanceyh/vertx-ai.git
1217
- [Zero AI] Version : 0.3.19 「确认您的Node版本 ( >= 14.x ) 支持ES6, ES7.」
1218
- [Zero AI] Zero AI 系统启动......
1219
- [Zero AI] Zero AI 加载输入参数:
1220
- {
1221
- &quot;input&quot;: &quot;smaveapp&quot;
1222
- }
1223
- [Zero AI] 当前操作系统:darwin
1224
- 443196C59BF602102141607D992702EE
1225
- [Zero AI] 加密的字符串已经成功拷贝到剪切板中!
1215
+ <pre class="prettyprint source lang-shell"><code>ai md5 -i &lt;Input>
1226
1216
  </code></pre>
1227
- <h3>3. 选项</h3>
1228
1217
  <table>
1229
1218
  <thead>
1230
1219
  <tr>
@@ -1245,6 +1234,26 @@ ai md5 -i smaveapp
1245
1234
  </tr>
1246
1235
  </tbody>
1247
1236
  </table>
1237
+ <h3>2. 介绍</h3>
1238
+ <p>使用该命令加密输入字符串,如果平台支持还会拷贝到剪切板中,目前支持的操作系统:</p>
1239
+ <ul>
1240
+ <li><code>darwin</code>:MacOs苹果操作系统</li>
1241
+ </ul>
1242
+ <h3>3. 执行</h3>
1243
+ <pre class="prettyprint source lang-shell"><code>ai md5 -i smaveapp lang@LangYus-MacBook-Pro
1244
+ [Zero AI] Zero AI 代码生成工具 : &lt;标准工具>
1245
+ [Zero AI] HomePage : http://www.vertxai.cn
1246
+ [Zero AI] Github : https://github.com/silentbalanceyh/vertx-ai.git
1247
+ [Zero AI] Version : 0.3.19 「确认您的Node版本 ( >= 14.x ) 支持ES6, ES7.」
1248
+ [Zero AI] Zero AI 系统启动......
1249
+ [Zero AI] Zero AI 加载输入参数:
1250
+ {
1251
+ &quot;input&quot;: &quot;smaveapp&quot;
1252
+ }
1253
+ [Zero AI] 当前操作系统:darwin
1254
+ 443196C59BF602102141607D992702EE
1255
+ [Zero AI] 加密的字符串已经成功拷贝到剪切板中!
1256
+ </code></pre>
1248
1257
  </div>
1249
1258
 
1250
1259
 
@@ -1328,16 +1337,42 @@ ai md5 -i smaveapp
1328
1337
  <div class="description usertext">
1329
1338
  <h2><code>ai str</code></h2>
1330
1339
  <h3>1. 命令</h3>
1340
+ <pre class="prettyprint source lang-shell"><code>ai str -n &lt;N> -l &lt;N>
1341
+ </code></pre>
1342
+ <table>
1343
+ <thead>
1344
+ <tr>
1345
+ <th>短参</th>
1346
+ <th>全参</th>
1347
+ <th>类型</th>
1348
+ <th>默认</th>
1349
+ <th style="text-align:left">含义</th>
1350
+ </tr>
1351
+ </thead>
1352
+ <tbody>
1353
+ <tr>
1354
+ <td>-n</td>
1355
+ <td>--number</td>
1356
+ <td>Number</td>
1357
+ <td>1</td>
1358
+ <td style="text-align:left">指定需要生成随机字符串的数量,默认生成1个随机字符串值,<code>\n</code>符号分割。</td>
1359
+ </tr>
1360
+ <tr>
1361
+ <td>-l</td>
1362
+ <td>--length</td>
1363
+ <td>Number</td>
1364
+ <td>64</td>
1365
+ <td style="text-align:left">指定随机字符串长度,默认长度64。</td>
1366
+ </tr>
1367
+ </tbody>
1368
+ </table>
1369
+ <h3>2. 执行</h3>
1331
1370
  <p>使用该命令生成指定数量的随机字符串,如果平台支持还会拷贝到剪切板中,目前支持的操作系统:</p>
1332
1371
  <ul>
1333
1372
  <li><code>darwin</code>:MacOs苹果操作系统</li>
1334
1373
  </ul>
1335
- <h3>2. 执行</h3>
1336
- <pre class="prettyprint source lang-shell"><code># 2.1. 命令语法
1337
- ai str -n &lt;N> -l &lt;N>
1338
-
1339
- # 2.2. 执行测试
1340
- ai str lang@LangYus-MacBook-Pro
1374
+ <h3>3. 执行</h3>
1375
+ <pre class="prettyprint source lang-shell"><code>ai str lang@LangYus-MacBook-Pro
1341
1376
  [Zero AI] Zero AI 代码生成工具 : &lt;标准工具>
1342
1377
  [Zero AI] HomePage : http://www.vertxai.cn
1343
1378
  [Zero AI] Github : https://github.com/silentbalanceyh/vertx-ai.git
@@ -1353,7 +1388,91 @@ ai str
1353
1388
  5lTe8OsBsi8bw6PbVlS0aftyAfjsmEGjiwXXWpL5IEM3px6ZiM8Vz2nKnnqHFDnv
1354
1389
  [Zero AI] 生成的随机字符串已经全部成功拷贝到剪切板中!
1355
1390
  </code></pre>
1356
- <h3>3. 选项</h3>
1391
+ </div>
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+
1404
+
1405
+
1406
+
1407
+
1408
+
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+ <h4 class="name" id=".sync"><span class="type-signature">(static) </span>sync<span class="signature">()</span><span class="type-signature"></span></h4>
1426
+
1427
+
1428
+
1429
+
1430
+
1431
+
1432
+ <dl class="details">
1433
+
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+ </dl>
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+ <div class="description usertext">
1472
+ <h2><code>ai sync</code></h2>
1473
+ <h3>1. 命令</h3>
1474
+ <pre class="prettyprint source lang-shell"><code>ai sync -p &lt;path>
1475
+ </code></pre>
1357
1476
  <table>
1358
1477
  <thead>
1359
1478
  <tr>
@@ -1366,21 +1485,85 @@ ai str
1366
1485
  </thead>
1367
1486
  <tbody>
1368
1487
  <tr>
1369
- <td>-n</td>
1370
- <td>--number</td>
1371
- <td>Number</td>
1372
- <td>1</td>
1373
- <td style="text-align:left">指定需要生成随机字符串的数量,默认生成1个随机字符串值,<code>\n</code>符号分割。</td>
1374
- </tr>
1375
- <tr>
1376
- <td>-l</td>
1377
- <td>--length</td>
1378
- <td>Number</td>
1379
- <td>64</td>
1380
- <td style="text-align:left">指定随机字符串长度,默认长度64。</td>
1488
+ <td>-p</td>
1489
+ <td>--path</td>
1490
+ <td>String</td>
1491
+ <td>.</td>
1492
+ <td style="text-align:left">前端项目根目录,配置文件路径。</td>
1381
1493
  </tr>
1382
1494
  </tbody>
1383
1495
  </table>
1496
+ <h3>2. 介绍</h3>
1497
+ <p>此命令用于从前端直接更新最新的 Zero Ui 框架部分代码,且在前端新版脚手架中,Zero Ui部分的框架代码全部位于 <code>.gitignore</code> 文件中不作为源代码提交。</p>
1498
+ <h3>3. 执行</h3>
1499
+ <pre class="prettyprint source lang-shell"><code>ai sync
1500
+ [Zero AI] Zero Ecotope AI工具项 : &lt;标准工具>
1501
+ [Zero AI] HomePage : http://www.vertxai.cn
1502
+ [Zero AI] Github : https://github.com/silentbalanceyh/vertx-ai.git
1503
+ [Zero AI] Version : 0.3.30 「确认您的Node版本 ( >= 18.x ) 支持ES6, ES7.」
1504
+ [Zero AI] AI 系统启动......
1505
+ [Zero AI] Zero AI 加载输入参数:
1506
+ {
1507
+ &quot;path&quot;: &quot;.zero&quot;
1508
+ }
1509
+ [Zero AI] 发现存在旧代码,正在删除:.zero/scaffold-ui
1510
+ [Zero AI] 拉取最新代码:.zero/scaffold-ui
1511
+ Cloning into '.zero/scaffold-ui'...
1512
+ remote: Enumerating objects: 4932, done.
1513
+ remote: Counting objects: 100% (4932/4932), done.
1514
+ remote: Compressing objects: 100% (4045/4045), done.
1515
+ remote: Total 4932 (delta 677), reused 4644 (delta 499), pack-reused 0
1516
+ Receiving objects: 100% (4932/4932), 11.34 MiB | 2.12 MiB/s, done.
1517
+ Resolving deltas: 100% (677/677), done.
1518
+ [Zero AI] 开始更新主框架:......
1519
+ [Zero AI] 处理目录:run-default.sh
1520
+ [Zero AI] 处理目录:run-doc.sh
1521
+ [Zero AI] 处理目录:run-zero.sh
1522
+ [Zero AI] 处理目录:run-zero.bat
1523
+ [Zero AI] 处理目录:run-update.sh
1524
+ [Zero AI] 处理目录:document/
1525
+ [Zero AI] 处理目录:scripts/
1526
+ [Zero AI] 处理目录:config/
1527
+ [Zero AI] 处理目录:src/cab/cn/cerebration/
1528
+ [Zero AI] 处理目录:src/cab/cn/extension/
1529
+ [Zero AI] 处理目录:src/cab/cn/economy/
1530
+ [Zero AI] 处理目录:src/cab/cn/shared.json
1531
+ [Zero AI] 处理目录:src/economy/
1532
+ [Zero AI] 处理目录:src/entity@em/
1533
+ [Zero AI] 处理目录:src/extension/
1534
+ [Zero AI] 处理目录:src/environment/
1535
+ [Zero AI] 处理目录:src/skin/index.d.ts
1536
+ [Zero AI] 处理目录:src/skin/index.entry.js
1537
+ [Zero AI] 处理目录:src/skin/index.js
1538
+ [Zero AI] 处理目录:src/skin/plot.fn.mix.attr.js
1539
+ [Zero AI] 处理目录:src/skin/plot.fn.of.document.js
1540
+ [Zero AI] 处理目录:src/skin/wait._.v.locale.definition.js
1541
+ [Zero AI] 处理目录:src/skin/wait.fn.skin.initialize.js
1542
+ [Zero AI] 处理目录:src/skin/aroma-library/index.js
1543
+ [Zero AI] 处理目录:src/skin/aroma-library/__.theme.shared/
1544
+ [Zero AI] 处理目录:src/style/@old/
1545
+ [Zero AI] 处理目录:src/style/connect/
1546
+ [Zero AI] 处理目录:src/style/macrocosm/index.scss
1547
+ [Zero AI] 处理目录:src/style/macrocosm/mod.screen.scss
1548
+ [Zero AI] 处理目录:src/style/microcosm/
1549
+ [Zero AI] 处理目录:src/style/uca/
1550
+ [Zero AI] 处理目录:src/style/unstable/
1551
+ [Zero AI] 处理目录:src/style/ux@legacy/
1552
+ [Zero AI] 处理目录:src/ui/
1553
+ [Zero AI] 处理目录:src/unfold/
1554
+ [Zero AI] 处理目录:src/upper/
1555
+ [Zero AI] 处理目录:src/utter/
1556
+ [Zero AI] 处理目录:src/ux/
1557
+ [Zero AI] 处理目录:src/zero/
1558
+ [Zero AI] 处理目录:src/zest@web/
1559
+ [Zero AI] 处理目录:src/zion/
1560
+ [Zero AI] 处理目录:src/zither@em/
1561
+ [Zero AI] 处理目录:src/zodiac/
1562
+ [Zero AI] 处理目录:src/zoe@em/
1563
+ [Zero AI] 处理目录:src/zone/
1564
+ [Zero AI] 处理目录:src/index.js
1565
+ [Zero AI] 主框架更新完成:.zero/scaffold-ui!
1566
+ </code></pre>
1384
1567
  </div>
1385
1568
 
1386
1569
 
@@ -1464,25 +1647,8 @@ ai str
1464
1647
  <div class="description usertext">
1465
1648
  <h2><code>ai uk</code></h2>
1466
1649
  <h3>1. 命令</h3>
1467
- <p>使用该命令检查数据文件中的数据是否包含重复属性<code>field = value</code>键值对。</p>
1468
- <h3>2. 执行</h3>
1469
- <pre class="prettyprint source lang-shell"><code># 2.1. 命令语法
1470
- ai uk -p &lt;path> -f &lt;field>
1471
-
1472
- # 2.2. 执行测试
1473
- ai uk -p uk.json -f name
1474
- # ...省略部分...
1475
- [Zero AI] Zero AI 系统启动......
1476
- [Zero AI] Zero AI 加载输入参数:
1477
- {
1478
- &quot;path&quot;: &quot;uk.json&quot;,
1479
- &quot;field&quot;: &quot;name&quot;
1480
- }
1481
- [Zero AI] 检查字段:[&quot;name&quot;]
1482
- [Zero AI] 字段出现重复值:name = Lang2
1483
- [Zero AI] 系统检查重复值完成!
1650
+ <pre class="prettyprint source lang-shell"><code>ai uk -p &lt;path> -f &lt;field>
1484
1651
  </code></pre>
1485
- <h3>3. 选项</h3>
1486
1652
  <table>
1487
1653
  <thead>
1488
1654
  <tr>
@@ -1499,7 +1665,7 @@ ai uk -p uk.json -f name
1499
1665
  <td>--path</td>
1500
1666
  <td>String</td>
1501
1667
  <td>(无)</td>
1502
- <td style="text-align:left">「统一格式」数据文件路径。</td>
1668
+ <td style="text-align:left">「统一格式」待检查的数据文件路径。</td>
1503
1669
  </tr>
1504
1670
  <tr>
1505
1671
  <td>-f</td>
@@ -1510,6 +1676,21 @@ ai uk -p uk.json -f name
1510
1676
  </tr>
1511
1677
  </tbody>
1512
1678
  </table>
1679
+ <h3>2. 介绍</h3>
1680
+ <p>使用该命令检查数据文件中的数据是否包含重复属性<code>field = value</code>键值对。</p>
1681
+ <h3>3. 执行</h3>
1682
+ <pre class="prettyprint source lang-shell"><code>ai uk -p uk.json -f name
1683
+ # ...省略部分...
1684
+ [Zero AI] Zero AI 系统启动......
1685
+ [Zero AI] Zero AI 加载输入参数:
1686
+ {
1687
+ &quot;path&quot;: &quot;uk.json&quot;,
1688
+ &quot;field&quot;: &quot;name&quot;
1689
+ }
1690
+ [Zero AI] 检查字段:[&quot;name&quot;]
1691
+ [Zero AI] 字段出现重复值:name = Lang2
1692
+ [Zero AI] 系统检查重复值完成!
1693
+ </code></pre>
1513
1694
  </div>
1514
1695
 
1515
1696
 
@@ -1593,30 +1774,8 @@ ai uk -p uk.json -f name
1593
1774
  <div class="description usertext">
1594
1775
  <h2><code>ai uuid</code></h2>
1595
1776
  <h3>1. 命令</h3>
1596
- <p>使用该命令生成指定数量的UUID字符串,如果平台支持还会拷贝到剪切板中,目前支持的操作系统:</p>
1597
- <ul>
1598
- <li><code>darwin</code>:MacOs苹果操作系统</li>
1599
- </ul>
1600
- <h3>2. 执行</h3>
1601
- <pre class="prettyprint source lang-shell"><code># 2.1. 命令语法
1602
- ai uuid -n &lt;N>
1603
-
1604
- # 2.2. 执行测试
1605
- ai uuid -n 3
1606
- # ...省略部分...
1607
- [Zero AI] Zero AI 系统启动......
1608
- [Zero AI] 命令参数:
1609
- {
1610
- &quot;number&quot;: &quot;3&quot;
1611
- }
1612
- [Zero AI] UUID生成器,生成数量:3
1613
- [Zero AI] 当前操作系统:darwin
1614
- 14ea44ed-5d9a-406a-9912-d95d8f6a8411
1615
- 5d27ca30-3e74-4a8a-a149-e8d40677d542
1616
- a1ddb2ce-eabf-4a95-968d-8e4655207f44
1617
- [Zero AI] 生成的UUID已经全部成功拷贝到剪切板中!
1777
+ <pre class="prettyprint source lang-shell"><code>ai uuid -n &lt;N>
1618
1778
  </code></pre>
1619
- <h3>3. 选项</h3>
1620
1779
  <table>
1621
1780
  <thead>
1622
1781
  <tr>
@@ -1637,6 +1796,26 @@ a1ddb2ce-eabf-4a95-968d-8e4655207f44
1637
1796
  </tr>
1638
1797
  </tbody>
1639
1798
  </table>
1799
+ <h3>2. 介绍</h3>
1800
+ <p>使用该命令生成指定数量的UUID字符串,如果平台支持还会拷贝到剪切板中,目前支持的操作系统:</p>
1801
+ <ul>
1802
+ <li><code>darwin</code>:MacOs苹果操作系统</li>
1803
+ </ul>
1804
+ <h3>3. 执行</h3>
1805
+ <pre class="prettyprint source lang-shell"><code>ai uuid -n 3
1806
+ # ...省略部分...
1807
+ [Zero AI] Zero AI 系统启动......
1808
+ [Zero AI] 命令参数:
1809
+ {
1810
+ &quot;number&quot;: &quot;3&quot;
1811
+ }
1812
+ [Zero AI] UUID生成器,生成数量:3
1813
+ [Zero AI] 当前操作系统:darwin
1814
+ 14ea44ed-5d9a-406a-9912-d95d8f6a8411
1815
+ 5d27ca30-3e74-4a8a-a149-e8d40677d542
1816
+ a1ddb2ce-eabf-4a95-968d-8e4655207f44
1817
+ [Zero AI] 生成的UUID已经全部成功拷贝到剪切板中!
1818
+ </code></pre>
1640
1819
  </div>
1641
1820
 
1642
1821
 
@@ -1686,7 +1865,7 @@ a1ddb2ce-eabf-4a95-968d-8e4655207f44
1686
1865
  <br class="clear">
1687
1866
 
1688
1867
  <footer>
1689
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Jun 16 2023 17:06:34 GMT+0800 (China Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1868
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Jul 23 2023 12:25:27 GMT+0800 (China Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1690
1869
  </footer>
1691
1870
 
1692
1871
  <script>prettyPrint();</script>