clickgo 7.3.2 → 7.4.1

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.
@@ -1186,6 +1186,16 @@ cell 之间的间距,默认 0。
1186
1186
 
1187
1187
  是否使用与 Tag 相同的朴素模式,默认 false。语义色和主题色使用柔和底色、对应文字色及边框;最终外观由主题决定。
1188
1188
 
1189
+ #### pulse
1190
+
1191
+ `boolean` | `string`
1192
+
1193
+ 是否启用同色扩散光圈,默认 false。光圈随 `type` 的语义色或主题色变化,实心与朴素模式均支持;圆点、内容及布局尺寸不参与缩放。启用系统“减少动态效果”时显示静态光圈。
1194
+
1195
+ 这是布尔开关;`string` 仅兼容 XML 属性传值,并非动画名称或多种效果的枚举。可用 `pulse` 开启,或用 `:pulse="online"` 绑定布尔状态。
1196
+
1197
+ 光圈向组件外侧绘制,放在 Flow 等滚动容器内时需在滚动区域内部留出空间,避免被 overflow 裁切。
1198
+
1189
1199
  #### sub
1190
1200
 
1191
1201
  `boolean` | `string`
@@ -1211,6 +1221,8 @@ cell 之间的间距,默认 0。
1211
1221
  ```xml
1212
1222
  <circle type="primary" size="xl">A</circle>
1213
1223
  <circle type="cg" size="xl" plain>A</circle>
1224
+ <circle type="primary" pulse></circle>
1225
+ <circle type="cg" :pulse="online"></circle>
1214
1226
  ```
1215
1227
 
1216
1228
 
@@ -1324,48 +1336,34 @@ cell 之间的间距,默认 0。
1324
1336
  ## cube
1325
1337
  ---
1326
1338
 
1327
- 立方体 3D 展示组件。
1339
+ 独立的立方体设备标识,可用于列表、概览卡片或 Objviewer 节点的 icon 插槽。固定占位内以三个 SVG 平面构成三维立方体,按统一视点投影;不监听内容尺寸,也不参与父空间的连接与布局。
1328
1340
 
1329
- ### 参数
1341
+ 鼠标悬停时立方体向上和向前抬升并轻微转动,顶面与侧面的边随透视共同变化;顶面插槽、扫光同步跟随,落地阴影留在原处并变得柔和。外层占位和连线端点保持不变。动效由 CSS 三维面结构管理,无计时器或动画回调依赖;减少动态效果时保持静止立体姿态并关闭扫光,仅保留色彩反馈。
1330
1342
 
1331
- #### hue
1343
+ ### 参数
1332
1344
 
1333
- `string`
1345
+ #### type
1334
1346
 
1335
- 色调值,默认 `255`。
1347
+ `'default' | 'primary' | 'info' | 'warning' | 'danger' | 'cg'`,默认 `cg`。使用框架语义色和用户主题色,三面明度随主题表面变化。
1336
1348
 
1337
1349
  #### size
1338
1350
 
1339
- `'xs'` | `'s'` | `'m'` | `'mh'` | `'l'` | `'lh'` | `'xl'` | `'xlh'`
1340
-
1341
- 尺寸,默认 `s`。
1342
-
1343
- ### 事件
1344
-
1345
- #### anistart
1346
-
1347
- `() => void`
1348
-
1349
- 动画开始时触发。
1350
-
1351
- #### aniend
1352
-
1353
- `() => void`
1354
-
1355
- 动画结束时触发。
1351
+ `'s' | 'm' | 'l' | 'xl'`,默认 `m`,固定占位分别为 `32 / 48 / 64 / 88px`。插槽不会撑大占位,请使用适当尺寸的 Icon 或简短文字。
1356
1352
 
1357
- ### 样式
1358
-
1359
- 使用 CSS 3D 变换实现立方体效果。顶面可通过插槽自定义内容。
1353
+ ### 插槽
1360
1354
 
1361
- 支持鼠标悬停动画效果。具有透视效果和平滑的动画。
1355
+ 默认插槽显示在顶面中央。Cube 本身不承担选择或动画事件;点击与状态由外层 Button、列表项或 Objviewer-item 负责。
1362
1356
 
1363
1357
  ### 示例
1364
1358
 
1365
1359
  ```xml
1366
- <cube hue="180" size="m" @anistart="onStart">Top</cube>
1360
+ <cube type="info" size="m"><icon name="cpu" size="s"></icon></cube>
1361
+ <objviewer-item node-id="server" variant="hub" label="Server" status="online">
1362
+ <template v-slot:icon><cube type="cg"><icon name="cpu" size="s"></icon></cube></template>
1363
+ </objviewer-item>
1367
1364
  ```
1368
1365
 
1366
+
1369
1367
  ## date
1370
1368
  ---
1371
1369
 
@@ -1383,7 +1381,7 @@ cell 之间的间距,默认 0。
1383
1381
 
1384
1382
  `string[]` | `string`
1385
1383
 
1386
- 禁用日期列表。
1384
+ 禁用日期列表,date 模式使用 YYYYMMDD,month 模式使用 YYYYMM。
1387
1385
 
1388
1386
  #### modelValue
1389
1387
 
@@ -1391,6 +1389,14 @@ cell 之间的间距,默认 0。
1391
1389
 
1392
1390
  双向绑定,时间戳毫秒值。
1393
1391
 
1392
+ month 模式将值归一到所选时区的当月 1 日 00:00:00.000;外部传入日期也会归一并同步绑定值。固定 UTC 月初时传 `:tz="0"`,不依赖设备时区。
1393
+
1394
+ #### mode
1395
+
1396
+ `'date'` | `'month'`
1397
+
1398
+ 选择粒度,默认 date。month 只显示年份和月份,不提供日格或时间选择,并忽略 date、time、hourminute 参数;zone 和 tz 仍按原有规则工作。
1399
+
1394
1400
  #### tz
1395
1401
 
1396
1402
  `number` | `string`
@@ -1413,13 +1419,13 @@ cell 之间的间距,默认 0。
1413
1419
 
1414
1420
  `number` | `string`
1415
1421
 
1416
- 可选开始时间。
1422
+ 可选开始时间,沿用 datepanel 的秒/毫秒约定;month 模式按所选时区的年月限制,包含边界所在月份。
1417
1423
 
1418
1424
  #### end
1419
1425
 
1420
1426
  `number` | `string`
1421
1427
 
1422
- 可选结束时间。
1428
+ 可选结束时间,沿用 datepanel 的秒/毫秒约定;month 模式按所选时区的年月限制,包含边界所在月份。
1423
1429
 
1424
1430
  #### date
1425
1431
 
@@ -1443,7 +1449,7 @@ cell 之间的间距,默认 0。
1443
1449
 
1444
1450
  `boolean` | `string`
1445
1451
 
1446
- 选择后是否自动关闭,默认 true。
1452
+ 是否显示清空按钮,默认 true。
1447
1453
 
1448
1454
  ### 事件
1449
1455
 
@@ -1451,7 +1457,7 @@ cell 之间的间距,默认 0。
1451
1457
 
1452
1458
  `(event: IDateChangedEvent) => void`
1453
1459
 
1454
- 值改变后触发,包含 `value`、`zone` 和 `dates` 信息。
1460
+ 值改变后触发,包含 `before` 和 `value`。month 模式选中月份或清空时触发,归一化外部赋值不视为用户选择。
1455
1461
 
1456
1462
  #### yearmonthchanged
1457
1463
 
@@ -1471,8 +1477,10 @@ cell 之间的间距,默认 0。
1471
1477
 
1472
1478
  ```xml
1473
1479
  <date v-model="timestamp"></date>
1480
+ <date mode="month" v-model="monthTimestamp" :tz="0"></date>
1474
1481
  ```
1475
1482
 
1483
+
1476
1484
  ## datepanel
1477
1485
  ---
1478
1486
 
@@ -1496,7 +1504,7 @@ cell 之间的间距,默认 0。
1496
1504
 
1497
1505
  `string[]` | `string`
1498
1506
 
1499
- 禁用日期列表。
1507
+ 禁用日期列表,date 模式使用 YYYYMMDD,month 模式使用 YYYYMM。
1500
1508
 
1501
1509
  #### modelValue
1502
1510
 
@@ -1504,17 +1512,25 @@ cell 之间的间距,默认 0。
1504
1512
 
1505
1513
  双向绑定,时间戳值(毫秒)。
1506
1514
 
1515
+ month 模式归一到所选时区的当月 1 日 00:00:00.000;外部传入日期也会归一并同步绑定值。
1516
+
1517
+ #### mode
1518
+
1519
+ `'date'` | `'month'`
1520
+
1521
+ 选择粒度,默认 date。month 使用年份导航和十二个月份按钮,隐藏日格与时间选择,忽略 time、hourminute、range 和 cursor。月份按钮复用全部内置语种的月份名称。
1522
+
1507
1523
  #### start
1508
1524
 
1509
1525
  `number` | `string`
1510
1526
 
1511
- 可选开始时间(秒/毫秒)。
1527
+ 可选开始时间(秒/毫秒)。month 模式按所选时区的年月限制,包含边界所在月份。
1512
1528
 
1513
1529
  #### end
1514
1530
 
1515
1531
  `number` | `string`
1516
1532
 
1517
- 可选结束时间(秒/毫秒)。
1533
+ 可选结束时间(秒/毫秒)。month 模式按所选时区的年月限制,包含边界所在月份。
1518
1534
 
1519
1535
  #### tz
1520
1536
 
@@ -1594,7 +1610,7 @@ cell 之间的间距,默认 0。
1594
1610
 
1595
1611
  `(event: IDatepanelSelectedEvent) => void`
1596
1612
 
1597
- 选中日期时触发。
1613
+ 选中日期时触发。month 模式的 date 固定为 1,month 仍从 0 开始,time 为所选时区的月初毫秒时间戳。
1598
1614
 
1599
1615
  #### range
1600
1616
 
@@ -1614,8 +1630,10 @@ cell 之间的间距,默认 0。
1614
1630
 
1615
1631
  ```xml
1616
1632
  <datepanel v-model="timestamp" time></datepanel>
1633
+ <datepanel mode="month" v-model="monthTimestamp" :tz="0"></datepanel>
1617
1634
  ```
1618
1635
 
1636
+
1619
1637
  ## daterange
1620
1638
  ---
1621
1639
 
@@ -6224,121 +6242,142 @@ noVNC 远程桌面组件。
6224
6242
  ## objviewer
6225
6243
  ---
6226
6244
 
6227
- 对象查看器组件,用于在可缩放的画布上展示内容。
6245
+ 节点关系空间。以稳定 ID 声明节点与连接,自动布局和尺寸测量在控件内部完成;平移、滚轮、双指缩放和视口适应复用 Panzoom。不是 3D 场景或流程编辑器。
6228
6246
 
6229
6247
  ### 参数
6230
6248
 
6231
- #### direction
6249
+ #### edges
6232
6250
 
6233
- `'h'` | `'v'`
6251
+ `clickgo.control.IObjviewerEdge[]`,默认 `[]`。每条连接含 `source`、`target` 节点 ID,可选 `label`、`status`(`default / online / warning / offline`)。端点不存在时暂不绘制,恢复节点后自动出现。状态与是否启用动画均由应用提供,不从端点猜测。
6234
6252
 
6235
- 布局方向,默认 `h`。
6253
+ 每条连接可独立设置动画:
6254
+
6255
+ - `animation`:`none / dash / dots`,默认 `none`;分别为静止连接、流动虚线、静止底线上的多个移动圆点。颜色跟随连接状态,选中关联节点时使用主题色。
6256
+ - `direction`:`forward / reverse / both`,默认 `forward`;分别沿 source → target、target → source、同时双向流动。仅改变动画,不交换节点关系或改变布局。
6257
+ - `duration`:周期秒数,默认 `3`,限制为 `0.25–60`;dots 为圆点走完整条路径的时间,dash 为虚线纹理的一个动画周期。
6258
+ - `dotCount`:dots 模式每个方向的圆点数,默认 `3`,取整并限制为 `1–8`。圆点均匀错开,双向时两组错开半个间隔。
6259
+
6260
+ 路径随节点、容器与布局变化更新;减少动态效果时隐藏移动圆点并停止虚线动画,保留静止连接。
6261
+
6262
+ #### layout
6263
+
6264
+ `'auto' | 'radial' | 'tree' | 'manual'`,默认 `auto`。自动模式在 600px 以下容器改为紧凑纵排与侧边关系线,宽容器使用环形。显式 radial 固定环形,以节点的可视标识中心定位;tree 分层适合设备树和依赖概览;manual 使用各节点的 x/y。支持环、孤立节点与多个连通分量,不持续运行力模拟。非紧凑布局使用直线;中心节点的标识与说明共同决定端点,连线遇到说明时止于说明外缘,不穿字或局部绕行。不提供通用避障路由或端口编辑。
6265
+
6266
+ #### root
6267
+
6268
+ `string`,默认空。优先根节点 ID;未提供时优先无入边节点,再选择连接较多的节点。
6269
+
6270
+ #### gap
6271
+
6272
+ `number | string`,默认 `48`,环形和分层布局的最小间隔,单位 CSS 像素,限制为 `24–400`。紧凑模式的纵向间隔固定为 24px。
6236
6273
 
6237
6274
  #### bg
6238
6275
 
6239
- `'dot'` | `'grid'`
6276
+ `'none' | 'dot' | 'grid'`,默认 `none`。
6240
6277
 
6241
- 背景样式,默认 `dot`。
6278
+ #### modelValue
6242
6279
 
6243
- #### gutter
6280
+ `string`,当前选中节点 ID,默认空,可用 v-model。移除选中节点时清空绑定,不触发 select。
6244
6281
 
6245
- `number` | `string`
6282
+ #### disabled
6246
6283
 
6247
- 子元素间距。
6284
+ `boolean | string`,默认 false,禁用视图手势、工具栏和节点选择。
6248
6285
 
6249
- #### alignH
6286
+ #### label
6250
6287
 
6251
- `string` | `undefined`
6288
+ `string`,空间无障碍名称,由应用提供本地化文案。
6252
6289
 
6253
- 水平对齐方式。
6290
+ ### 事件
6254
6291
 
6255
- #### alignV
6292
+ #### select
6256
6293
 
6257
- `string` | `undefined`
6294
+ `clickgo.control.IObjviewerSelectEvent`:`detail: {nodeId, label}`。点击、Enter 或空格激活不同的可操作节点时触发;重复选择不触发。控件不执行业务跳转。
6258
6295
 
6259
- 垂直对齐方式。
6296
+ ### 方法
6260
6297
 
6261
- ### 样式
6298
+ - `fit()`:恢复完整显示,之后随视口缩放继续适应。
6299
+ - `zoom(factor)`:围绕视口中心按相对比例缩放,如 `1.2`。用户缩放/平移后调整窗口保持当前比例和中心;内容边界变化重新适应。
6300
+
6301
+ ### 插槽与尺寸
6262
6302
 
6263
- 支持缩放和平移的画布容器。背景可显示点阵或网格。
6303
+ 默认插槽仅放直属 objviewer-item,可用 v-for/v-if。节点 ID 必须非空且唯一;无效项隐藏,重复 ID 只使用第一项。`empty` 插槽自定义空态。
6264
6304
 
6265
- 可在内部放置 objviewer-item 子组件,支持连接线绘制。
6305
+ 给容器明确高度或 flex 剩余空间;场景按真实节点尺寸及 48px 留白计算,不用屏幕坐标反推,也无需 addLine、动画回调或延时 refresh。首次完整显示,大图可通过工具栏/手势放大查看文字。0 大小或隐藏视口恢复后自动适应;减少动态效果时连接静止。
6266
6306
 
6267
6307
  ### 示例
6268
6308
 
6269
6309
  ```xml
6270
- <objviewer>
6271
- <objviewer-item label="Item 1">Content</objviewer-item>
6310
+ <objviewer :edges="[{source: 'gateway', target: 'device', status: 'online', animation: 'dots', direction: 'both', duration: 3, dotCount: 3}]" root="gateway" v-model="selected" style="height:420px;">
6311
+ <objviewer-item node-id="gateway" variant="hub" label="Gateway" status="online" icon="cpu"></objviewer-item>
6312
+ <objviewer-item node-id="device" label="Device" description="Branch office" status="online"></objviewer-item>
6272
6313
  </objviewer>
6273
6314
  ```
6274
6315
 
6316
+
6275
6317
  ## objviewer-item
6276
6318
  ---
6277
6319
 
6278
- 对象查看器项组件。
6320
+ Objviewer 的直属节点。节点自己显示内容和状态,父空间负责位置与连接;不再承担通用 Layout 的职责。
6279
6321
 
6280
6322
  ### 参数
6281
6323
 
6282
- #### hue
6283
-
6284
- `string`
6285
-
6286
- 色调值,默认 `255`。
6287
-
6288
- #### hover
6324
+ #### nodeId
6289
6325
 
6290
- `boolean` | `string`
6326
+ `string`,默认空,必填的稳定唯一 ID,用于连接和选择。不使用 ref 或 DOM 引用作为端点。
6291
6327
 
6292
- 是否启用悬停效果,默认 false。
6328
+ #### label
6293
6329
 
6294
- #### direction
6330
+ `string`,名称,默认空,空时显示 nodeId。
6295
6331
 
6296
- `'h'` | `'v'`
6332
+ #### description
6297
6333
 
6298
- 布局方向,默认 `h`。
6334
+ `string`,辅助说明,默认空,可显示地址、位置、数量等。
6299
6335
 
6300
- #### border
6336
+ #### icon
6301
6337
 
6302
- `'solid'` | `'dotted'` | `'dashed'` | `'ani'`
6338
+ `string`,框架图标名称,默认空。hub 未提供时显示 cpu。
6303
6339
 
6304
- 边框样式,默认 `solid`。
6340
+ #### status
6305
6341
 
6306
- #### gutter
6342
+ `'default' | 'online' | 'warning' | 'offline'`,默认 `default`。状态通过圆点与本地化文字共同表达,不只依靠颜色;语义色跟随主题。
6307
6343
 
6308
- `number` | `string`
6344
+ #### statusLabel
6309
6345
 
6310
- 子元素间距。
6346
+ `string`,默认空,覆盖状态文字,应用可用于“维护中”等业务状态说明。
6311
6347
 
6312
- #### alignH
6348
+ #### variant
6313
6349
 
6314
- `string` | `undefined`
6350
+ `'card' | 'hub'`,默认 `card`。卡片为 184px 宽、自然高度;中心节点为 144px 宽,含 72px 圆形标识。名称/描述自动换行,自定义内容的尺寸变化自动通知空间。父空间自动切换紧凑模式时优先展示名称和状态,辅助说明及卡片图标收起;完整说明保留在无障碍描述,应用也可根据选中 ID 显示详情。
6315
6351
 
6316
- 水平对齐方式。
6352
+ #### pulse
6317
6353
 
6318
- #### alignV
6354
+ `boolean | string`,默认 true,仅 online 状态显示 Circle 的同色光圈;减少动态效果时静止。
6319
6355
 
6320
- `string` | `undefined`
6356
+ #### disabled
6321
6357
 
6322
- 垂直对齐方式。
6358
+ `boolean | string`,默认 false,禁止鼠标和键盘选择,状态与内容仍可见。
6323
6359
 
6324
- #### label
6360
+ #### x
6325
6361
 
6326
- `string`
6362
+ `number | string`,默认 `0`,manual 布局下的内容水平坐标。
6327
6363
 
6328
- 标签文本。
6364
+ #### y
6329
6365
 
6330
- ### 样式
6366
+ `number | string`,默认 `0`,manual 布局下的内容垂直坐标。坐标可为负数,空间统一归一化并留白。
6331
6367
 
6332
- 作为 objviewer 的子组件,显示单个卡片项。
6368
+ ### 插槽
6333
6369
 
6334
- 支持不同的边框样式和色调。可显示标签文本。
6370
+ `icon` 自定义标识,可放 Icon、Cube 或图片;默认插槽在说明下增加内容。节点内独立按钮/输入不触发节点选择。选择事件由 Objviewer 统一发出。
6335
6371
 
6336
6372
  ### 示例
6337
6373
 
6338
6374
  ```xml
6339
- <objviewer-item label="Item 1">Content</objviewer-item>
6375
+ <objviewer-item node-id="worker" label="Background worker" status="warning" description="Queue waiting">
6376
+ <tag type="warning" plain size="xs">12 jobs</tag>
6377
+ </objviewer-item>
6340
6378
  ```
6341
6379
 
6380
+
6342
6381
  ## page
6343
6382
  ---
6344
6383
 
@@ -14117,8 +14156,8 @@ lib/control/index.md
14117
14156
  - [INavItemSelectEvent](interfaces/INavItemSelectEvent.md)
14118
14157
  - [INumberBeforeChangeEvent](interfaces/INumberBeforeChangeEvent.md)
14119
14158
  - [INumberMinMaxChangeEvent](interfaces/INumberMinMaxChangeEvent.md)
14120
- - [IObjviewerLine](interfaces/IObjviewerLine.md)
14121
- - [IObjviewerLineObj](interfaces/IObjviewerLineObj.md)
14159
+ - [IObjviewerEdge](interfaces/IObjviewerEdge.md)
14160
+ - [IObjviewerSelectEvent](interfaces/IObjviewerSelectEvent.md)
14122
14161
  - [IPaletteChangedEvent](interfaces/IPaletteChangedEvent.md)
14123
14162
  - [IPanelGoEvent](interfaces/IPanelGoEvent.md)
14124
14163
  - [IPanelWentEvent](interfaces/IPanelWentEvent.md)
@@ -14154,6 +14193,7 @@ lib/control/index.md
14154
14193
  - [TControlPackage](type-aliases/TControlPackage.md)
14155
14194
  - [TDesktopLayoutReason](type-aliases/TDesktopLayoutReason.md)
14156
14195
  - [TDesktopPositions](type-aliases/TDesktopPositions.md)
14196
+ - [TObjviewerStatus](type-aliases/TObjviewerStatus.md)
14157
14197
 
14158
14198
  ## Functions
14159
14199
 
@@ -16707,101 +16747,125 @@ Defined in: [lib/control.ts:971](https://github.com/maiyun/clickgo/blob/master/d
16707
16747
 
16708
16748
  [`ICustomEvent`](ICustomEvent.md).[`preventDefault`](ICustomEvent.md#preventdefault)
16709
16749
 
16710
- lib/control/interfaces/IObjviewerLine.md
16750
+ lib/control/interfaces/IObjviewerEdge.md
16711
16751
  ---
16712
16752
 
16713
16753
  [**Documents for clickgo**](../../../index.md)
16714
16754
 
16715
16755
  ***
16716
16756
 
16717
- [Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IObjviewerLine
16757
+ [Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IObjviewerEdge
16718
16758
 
16719
- # Interface: IObjviewerLine
16759
+ # Interface: IObjviewerEdge
16760
+
16761
+ Defined in: [lib/control.ts:1741](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1741)
16720
16762
 
16721
- Defined in: [lib/control.ts:1737](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1737)
16763
+ 按稳定节点 ID 声明的连接,节点暂不存在时不绘制,不保存 DOM 引用
16722
16764
 
16723
16765
  ## Properties
16724
16766
 
16725
- ### end
16767
+ ### animation?
16726
16768
 
16727
- > **end**: [`IObjviewerLineObj`](IObjviewerLineObj.md)
16769
+ > `optional` **animation?**: `"none"` \| `"dash"` \| `"dots"`
16728
16770
 
16729
- Defined in: [lib/control.ts:1741](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1741)
16771
+ Defined in: [lib/control.ts:1748](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1748)
16772
+
16773
+ 默认 none,dash 为流动虚线,dots 为静止底线上的移动圆点
16730
16774
 
16731
16775
  ***
16732
16776
 
16733
- ### hue?
16777
+ ### direction?
16734
16778
 
16735
- > `optional` **hue?**: `string`
16779
+ > `optional` **direction?**: `"reverse"` \| `"forward"` \| `"both"`
16736
16780
 
16737
- Defined in: [lib/control.ts:1743](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1743)
16781
+ Defined in: [lib/control.ts:1750](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1750)
16738
16782
 
16739
- 默认 255
16783
+ 默认 forward,沿 source 到 target;reverse 反向,both 双向
16740
16784
 
16741
16785
  ***
16742
16786
 
16743
- ### name?
16787
+ ### dotCount?
16744
16788
 
16745
- > `optional` **name?**: `string`
16789
+ > `optional` **dotCount?**: `number`
16746
16790
 
16747
- Defined in: [lib/control.ts:1739](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1739)
16791
+ Defined in: [lib/control.ts:1754](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1754)
16748
16792
 
16749
- -- 可自定义线段的名称
16793
+ dots 模式每个方向的圆点数,默认 3,取整并限制为 1–8
16750
16794
 
16751
16795
  ***
16752
16796
 
16753
- ### path?
16797
+ ### duration?
16754
16798
 
16755
- > `optional` **path?**: `string`
16799
+ > `optional` **duration?**: `number`
16800
+
16801
+ Defined in: [lib/control.ts:1752](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1752)
16802
+
16803
+ 动画周期,单位秒,默认 3,限制为 0.25–60;dots 为走完整条路径的时间
16804
+
16805
+ ***
16806
+
16807
+ ### label?
16808
+
16809
+ > `optional` **label?**: `string`
16756
16810
 
16757
16811
  Defined in: [lib/control.ts:1744](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1744)
16758
16812
 
16759
16813
  ***
16760
16814
 
16761
- ### start
16815
+ ### source
16762
16816
 
16763
- > **start**: [`IObjviewerLineObj`](IObjviewerLineObj.md)
16817
+ > **source**: `string`
16764
16818
 
16765
- Defined in: [lib/control.ts:1740](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1740)
16819
+ Defined in: [lib/control.ts:1742](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1742)
16766
16820
 
16767
16821
  ***
16768
16822
 
16769
- ### stroke?
16823
+ ### status?
16770
16824
 
16771
- > `optional` **stroke?**: `"solid"` \| `"dashed"` \| `"up"` \| `"down"`
16825
+ > `optional` **status?**: [`TObjviewerStatus`](../type-aliases/TObjviewerStatus.md)
16772
16826
 
16773
16827
  Defined in: [lib/control.ts:1746](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1746)
16774
16828
 
16775
- 默认 solid
16829
+ 默认 default,连接状态由应用明确提供
16776
16830
 
16777
- lib/control/interfaces/IObjviewerLineObj.md
16831
+ ***
16832
+
16833
+ ### target
16834
+
16835
+ > **target**: `string`
16836
+
16837
+ Defined in: [lib/control.ts:1743](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1743)
16838
+
16839
+ lib/control/interfaces/IObjviewerSelectEvent.md
16778
16840
  ---
16779
16841
 
16780
16842
  [**Documents for clickgo**](../../../index.md)
16781
16843
 
16782
16844
  ***
16783
16845
 
16784
- [Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IObjviewerLineObj
16846
+ [Documents for clickgo](../../../index.md) / [lib/control](../index.md) / IObjviewerSelectEvent
16785
16847
 
16786
- # Interface: IObjviewerLineObj
16848
+ # Interface: IObjviewerSelectEvent
16787
16849
 
16788
- Defined in: [lib/control.ts:1749](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1749)
16850
+ Defined in: [lib/control.ts:1758](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1758)
16851
+
16852
+ 节点选择事件,仅通知选择,不在控件内执行业务跳转
16789
16853
 
16790
16854
  ## Properties
16791
16855
 
16792
- ### obj
16856
+ ### detail
16793
16857
 
16794
- > **obj**: `HTMLElement` \| [`AbstractControl`](../classes/AbstractControl.md)
16858
+ > **detail**: `object`
16795
16859
 
16796
- Defined in: [lib/control.ts:1750](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1750)
16860
+ Defined in: [lib/control.ts:1759](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1759)
16797
16861
 
16798
- ***
16862
+ #### label
16799
16863
 
16800
- ### pos
16864
+ > **label**: `string`
16801
16865
 
16802
- > **pos**: `"b"` \| `"tr"` \| `"l"` \| `"lt"` \| `"t"` \| `"r"` \| `"rb"` \| `"bl"`
16866
+ #### nodeId
16803
16867
 
16804
- Defined in: [lib/control.ts:1751](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1751)
16868
+ > **nodeId**: `string`
16805
16869
 
16806
16870
  lib/control/interfaces/IPaletteChangedEvent.md
16807
16871
  ---
@@ -18307,6 +18371,23 @@ Defined in: [lib/control.ts:1321](https://github.com/maiyun/clickgo/blob/master/
18307
18371
 
18308
18372
  图标 ID 到位置的映射,可独立保存和恢复
18309
18373
 
18374
+ lib/control/type-aliases/TObjviewerStatus.md
18375
+ ---
18376
+
18377
+ [**Documents for clickgo**](../../../index.md)
18378
+
18379
+ ***
18380
+
18381
+ [Documents for clickgo](../../../index.md) / [lib/control](../index.md) / TObjviewerStatus
18382
+
18383
+ # Type Alias: TObjviewerStatus
18384
+
18385
+ > **TObjviewerStatus** = `"default"` \| `"online"` \| `"warning"` \| `"offline"`
18386
+
18387
+ Defined in: [lib/control.ts:1738](https://github.com/maiyun/clickgo/blob/master/dist/lib/control.ts#L1738)
18388
+
18389
+ 节点和连接的语义状态,不依赖主题的具体颜色
18390
+
18310
18391
  lib/core/classes/AbstractApp.md
18311
18392
  ---
18312
18393
 
@@ -21856,7 +21937,7 @@ Defined in: [lib/dom.ts:1910](https://github.com/maiyun/clickgo/blob/master/dist
21856
21937
 
21857
21938
  ### pos
21858
21939
 
21859
- `"b"` \| `"tr"` \| `"l"` \| `"lt"` \| `"t"` \| `"r"` \| `"rb"` \| `"bl"`
21940
+ `"b"` \| `"tr"` \| `"l"` \| `"rb"` \| `"lt"` \| `"t"` \| `"r"` \| `"bl"`
21860
21941
 
21861
21942
  ## Returns
21862
21943
 
@@ -36452,7 +36533,7 @@ lib/tool/enumerations/ESTATE.md
36452
36533
 
36453
36534
  # Enumeration: ESTATE
36454
36535
 
36455
- Defined in: [lib/tool.ts:593](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L593)
36536
+ Defined in: [lib/tool.ts:608](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L608)
36456
36537
 
36457
36538
  状态机状态
36458
36539
 
@@ -36462,7 +36543,7 @@ Defined in: [lib/tool.ts:593](https://github.com/maiyun/clickgo/blob/master/dist
36462
36543
 
36463
36544
  > **COMMENT**: `4`
36464
36545
 
36465
- Defined in: [lib/tool.ts:603](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L603)
36546
+ Defined in: [lib/tool.ts:618](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L618)
36466
36547
 
36467
36548
  注释
36468
36549
 
@@ -36472,7 +36553,7 @@ Defined in: [lib/tool.ts:603](https://github.com/maiyun/clickgo/blob/master/dist
36472
36553
 
36473
36554
  > **NORMAL**: `0`
36474
36555
 
36475
- Defined in: [lib/tool.ts:595](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L595)
36556
+ Defined in: [lib/tool.ts:610](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L610)
36476
36557
 
36477
36558
  普通
36478
36559
 
@@ -36482,7 +36563,7 @@ Defined in: [lib/tool.ts:595](https://github.com/maiyun/clickgo/blob/master/dist
36482
36563
 
36483
36564
  > **REG**: `3`
36484
36565
 
36485
- Defined in: [lib/tool.ts:601](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L601)
36566
+ Defined in: [lib/tool.ts:616](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L616)
36486
36567
 
36487
36568
  正则
36488
36569
 
@@ -36492,7 +36573,7 @@ Defined in: [lib/tool.ts:601](https://github.com/maiyun/clickgo/blob/master/dist
36492
36573
 
36493
36574
  > **STRING**: `2`
36494
36575
 
36495
- Defined in: [lib/tool.ts:599](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L599)
36576
+ Defined in: [lib/tool.ts:614](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L614)
36496
36577
 
36497
36578
  字符串
36498
36579
 
@@ -36502,7 +36583,7 @@ Defined in: [lib/tool.ts:599](https://github.com/maiyun/clickgo/blob/master/dist
36502
36583
 
36503
36584
  > **WORD**: `1`
36504
36585
 
36505
- Defined in: [lib/tool.ts:597](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L597)
36586
+ Defined in: [lib/tool.ts:612](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L612)
36506
36587
 
36507
36588
  单词
36508
36589
 
@@ -36519,7 +36600,7 @@ lib/tool/functions/blob2ArrayBuffer.md
36519
36600
 
36520
36601
  > **blob2ArrayBuffer**(`blob`): `Promise`\<`ArrayBuffer`\>
36521
36602
 
36522
- Defined in: [lib/tool.ts:71](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L71)
36603
+ Defined in: [lib/tool.ts:86](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L86)
36523
36604
 
36524
36605
  将 blob 对象转换为 ArrayBuffer
36525
36606
 
@@ -36548,7 +36629,7 @@ lib/tool/functions/blob2DataUrl.md
36548
36629
 
36549
36630
  > **blob2DataUrl**(`blob`): `Promise`\<`string`\>
36550
36631
 
36551
- Defined in: [lib/tool.ts:494](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L494)
36632
+ Defined in: [lib/tool.ts:509](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L509)
36552
36633
 
36553
36634
  将 blob 对象转换为 base64 url
36554
36635
 
@@ -36579,7 +36660,7 @@ lib/tool/functions/blob2Text.md
36579
36660
 
36580
36661
  > **blob2Text**(`blob`): `Promise`\<`string`\>
36581
36662
 
36582
- Defined in: [lib/tool.ts:485](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L485)
36663
+ Defined in: [lib/tool.ts:500](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L500)
36583
36664
 
36584
36665
  将 blob 对象转换为 text
36585
36666
 
@@ -36608,7 +36689,7 @@ lib/tool/functions/clone.md
36608
36689
 
36609
36690
  > **clone**\<`T`\>(`obj`): `T`
36610
36691
 
36611
- Defined in: [lib/tool.ts:98](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L98)
36692
+ Defined in: [lib/tool.ts:113](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L113)
36612
36693
 
36613
36694
  完整的克隆一份数组/对象
36614
36695
 
@@ -36645,7 +36726,7 @@ lib/tool/functions/compar.md
36645
36726
 
36646
36727
  > **compar**(`before`, `after`): `object`
36647
36728
 
36648
- Defined in: [lib/tool.ts:507](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L507)
36729
+ Defined in: [lib/tool.ts:522](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L522)
36649
36730
 
36650
36731
  - 对比老值和新值,看看新值中哪些移除了,哪些新增了
36651
36732
 
@@ -36700,9 +36781,9 @@ lib/tool/functions/compressor.md
36700
36781
 
36701
36782
  > **compressor**\<`T`\>(`file`, `options?`): `Promise`\<`false` \| `T`\>
36702
36783
 
36703
- Defined in: [lib/tool.ts:35](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L35)
36784
+ Defined in: [lib/tool.ts:57](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L57)
36704
36785
 
36705
- 压缩一个图片
36786
+ 压缩图片,质量降档复用同一画布,保留方向校正及等比缩放
36706
36787
 
36707
36788
  ## Type Parameters
36708
36789
 
@@ -36716,33 +36797,30 @@ Defined in: [lib/tool.ts:35](https://github.com/maiyun/clickgo/blob/master/dist/
36716
36797
 
36717
36798
  `T`
36718
36799
 
36719
- 文件或 blob 类型
36800
+ 图片文件或 Blob;File 输入返回 File,转换格式时同步扩展名和 MIME 类型
36720
36801
 
36721
36802
  ### options?
36722
36803
 
36723
- 参数
36804
+ [`ICompressorOptions`](../interfaces/ICompressorOptions.md) = `{}`
36724
36805
 
36725
- #### maxHeight?
36806
+ 压缩参数
36726
36807
 
36727
- `number`
36728
-
36729
- 最高高度,默认无限
36730
-
36731
- #### maxWidth?
36732
-
36733
- `number`
36734
-
36735
- 最大宽度,默认无限
36736
-
36737
- #### quality?
36808
+ ## Returns
36738
36809
 
36739
- `number`
36810
+ `Promise`\<`false` \| `T`\>
36740
36811
 
36741
- 压缩质量,默认 0.8
36812
+ 压缩后的图片;参数无效、加载或编码失败、指定格式不受支持或无法满足大小上限时返回 false
36742
36813
 
36743
- ## Returns
36814
+ ## Example
36744
36815
 
36745
- `Promise`\<`false` \| `T`\>
36816
+ ```ts
36817
+ const image = await clickgo.tool.compressor(file, {
36818
+ 'mimeType': 'image/jpeg',
36819
+ 'maxWidth': 2000,
36820
+ 'quality': [0.9, 0.6, 0.5],
36821
+ 'maxSize': 2 * 1024 * 1024,
36822
+ });
36823
+ ```
36746
36824
 
36747
36825
  lib/tool/functions/decodeText.md
36748
36826
  ---
@@ -36831,7 +36909,7 @@ lib/tool/functions/escapeHTML.md
36831
36909
 
36832
36910
  > **escapeHTML**(`html`): `string`
36833
36911
 
36834
- Defined in: [lib/tool.ts:278](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L278)
36912
+ Defined in: [lib/tool.ts:293](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L293)
36835
36913
 
36836
36914
  转义 HTML
36837
36915
 
@@ -36860,7 +36938,7 @@ lib/tool/functions/eventsAttrWrap.md
36860
36938
 
36861
36939
  > **eventsAttrWrap**(`layout`): `string`
36862
36940
 
36863
- Defined in: [lib/tool.ts:188](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L188)
36941
+ Defined in: [lib/tool.ts:203](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L203)
36864
36942
 
36865
36943
  对 layout 的 events 事件进行包裹
36866
36944
 
@@ -36889,7 +36967,7 @@ lib/tool/functions/execCommand.md
36889
36967
 
36890
36968
  > **execCommand**(`ac`): `void`
36891
36969
 
36892
- Defined in: [lib/tool.ts:498](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L498)
36970
+ Defined in: [lib/tool.ts:513](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L513)
36893
36971
 
36894
36972
  ## Parameters
36895
36973
 
@@ -36914,7 +36992,7 @@ lib/tool/functions/fetch.md
36914
36992
 
36915
36993
  > **fetch**(`url`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
36916
36994
 
36917
- Defined in: [lib/tool.ts:377](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L377)
36995
+ Defined in: [lib/tool.ts:392](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L392)
36918
36996
 
36919
36997
  发起 fetch 请求
36920
36998
 
@@ -36951,7 +37029,7 @@ lib/tool/functions/formatColor.md
36951
37029
 
36952
37030
  > **formatColor**(`color`): `number`[]
36953
37031
 
36954
- Defined in: [lib/tool.ts:294](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L294)
37032
+ Defined in: [lib/tool.ts:309](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L309)
36955
37033
 
36956
37034
  将 rgb 或 hsl 等颜色转换为数字数组
36957
37035
 
@@ -36980,7 +37058,7 @@ lib/tool/functions/formatSecond.md
36980
37058
 
36981
37059
  > **formatSecond**(`second`): `string`
36982
37060
 
36983
- Defined in: [lib/tool.ts:519](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L519)
37061
+ Defined in: [lib/tool.ts:534](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L534)
36984
37062
 
36985
37063
  将秒数格式化为 0:0:0 的字符串
36986
37064
 
@@ -37007,7 +37085,7 @@ lib/tool/functions/formatTime.md
37007
37085
 
37008
37086
  > **formatTime**(`ts`, `tz?`): `object`
37009
37087
 
37010
- Defined in: [lib/tool.ts:528](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L528)
37088
+ Defined in: [lib/tool.ts:543](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L543)
37011
37089
 
37012
37090
  将日期对象或毫秒级时间戳转换为字符串
37013
37091
 
@@ -37054,7 +37132,7 @@ lib/tool/functions/getArray.md
37054
37132
 
37055
37133
  > **getArray**(`param`): `any`[]
37056
37134
 
37057
- Defined in: [lib/tool.ts:270](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L270)
37135
+ Defined in: [lib/tool.ts:285](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L285)
37058
37136
 
37059
37137
  根据参数获取最终的数组型,可传入类似 [1,2,3] 或 1,2,3
37060
37138
 
@@ -37083,7 +37161,7 @@ lib/tool/functions/getBoolean.md
37083
37161
 
37084
37162
  > **getBoolean**(`param`): `boolean`
37085
37163
 
37086
- Defined in: [lib/tool.ts:254](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L254)
37164
+ Defined in: [lib/tool.ts:269](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L269)
37087
37165
 
37088
37166
  根据参数获取最终的布尔值
37089
37167
 
@@ -37112,7 +37190,7 @@ lib/tool/functions/getClassPrototype.md
37112
37190
 
37113
37191
  > **getClassPrototype**(`obj`, `over?`, `level?`): [`IClassPrototype`](../interfaces/IClassPrototype.md)
37114
37192
 
37115
- Defined in: [lib/tool.ts:63](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L63)
37193
+ Defined in: [lib/tool.ts:78](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L78)
37116
37194
 
37117
37195
  获取 class 的所有 method 和 get/set
37118
37196
 
@@ -37153,7 +37231,7 @@ lib/tool/functions/get.md
37153
37231
 
37154
37232
  > **get**(`url`, `init?`, `opt?`): `Promise`\<`string` \| `Blob` \| `null`\>
37155
37233
 
37156
- Defined in: [lib/tool.ts:388](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L388)
37234
+ Defined in: [lib/tool.ts:403](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L403)
37157
37235
 
37158
37236
  发起 GET 请求
37159
37237
 
@@ -37200,7 +37278,7 @@ lib/tool/functions/getMimeByPath.md
37200
37278
 
37201
37279
  > **getMimeByPath**(`path`): `object`
37202
37280
 
37203
- Defined in: [lib/tool.ts:214](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L214)
37281
+ Defined in: [lib/tool.ts:229](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L229)
37204
37282
 
37205
37283
  根据后缀、文件名或路径获取 mime 类型(简单版,完整版请使用 @litert/mime.js)
37206
37284
 
@@ -37237,7 +37315,7 @@ lib/tool/functions/getNumber.md
37237
37315
 
37238
37316
  > **getNumber**(`param`): `number`
37239
37317
 
37240
- Defined in: [lib/tool.ts:262](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L262)
37318
+ Defined in: [lib/tool.ts:277](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L277)
37241
37319
 
37242
37320
  根据参数获取最终的数字型
37243
37321
 
@@ -37266,7 +37344,7 @@ lib/tool/functions/getResponseJson.md
37266
37344
 
37267
37345
  > **getResponseJson**(`url`, `init?`): `Promise`\<`any`\>
37268
37346
 
37269
- Defined in: [lib/tool.ts:414](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L414)
37347
+ Defined in: [lib/tool.ts:429](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L429)
37270
37348
 
37271
37349
  发起 GET 请求并解析 JSON 响应
37272
37350
 
@@ -37303,7 +37381,7 @@ lib/tool/functions/hex2rgb.md
37303
37381
 
37304
37382
  > **hex2rgb**(`hex`): `object`
37305
37383
 
37306
- Defined in: [lib/tool.ts:312](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L312)
37384
+ Defined in: [lib/tool.ts:327](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L327)
37307
37385
 
37308
37386
  hex 转换为 rgba,#27ae60ff, 27ae60 #fff
37309
37387
 
@@ -37352,7 +37430,7 @@ lib/tool/functions/hsl2rgb.md
37352
37430
 
37353
37431
  > **hsl2rgb**(`h`, `s?`, `l?`, `a?`, `decimal?`): `object`
37354
37432
 
37355
- Defined in: [lib/tool.ts:350](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L350)
37433
+ Defined in: [lib/tool.ts:365](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L365)
37356
37434
 
37357
37435
  hsl 字符串转 rgb 数组
37358
37436
 
@@ -37425,7 +37503,7 @@ lib/tool/functions/isEscapeChar.md
37425
37503
 
37426
37504
  > **isEscapeChar**(`code`, `index`): `boolean`
37427
37505
 
37428
- Defined in: [lib/tool.ts:588](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L588)
37506
+ Defined in: [lib/tool.ts:603](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L603)
37429
37507
 
37430
37508
  判断字符是否是转义字符
37431
37509
 
@@ -37462,7 +37540,7 @@ lib/tool/functions/isEscaped.md
37462
37540
 
37463
37541
  > **isEscaped**(`str`, `pos`): `boolean`
37464
37542
 
37465
- Defined in: [lib/tool.ts:568](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L568)
37543
+ Defined in: [lib/tool.ts:583](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L583)
37466
37544
 
37467
37545
  转义字符检查
37468
37546
  检查指定位置的字符是否被转义
@@ -37500,7 +37578,7 @@ lib/tool/functions/isFalsy.md
37500
37578
 
37501
37579
  > **isFalsy**(`val`): `val is TFalsy`
37502
37580
 
37503
- Defined in: [lib/tool.ts:713](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L713)
37581
+ Defined in: [lib/tool.ts:728](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L728)
37504
37582
 
37505
37583
  判断一个值是否是虚假的(为 null/undefined/空字符串/false/0)
37506
37584
 
@@ -37529,7 +37607,7 @@ lib/tool/functions/isJson.md
37529
37607
 
37530
37608
  > **isJson**(`value`): `value is TJson`
37531
37609
 
37532
- Defined in: [lib/tool.ts:705](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L705)
37610
+ Defined in: [lib/tool.ts:720](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L720)
37533
37611
 
37534
37612
  判断 JS 值是否符合 JSON 数据约束;字符串按数据值接受,不解析其内容
37535
37613
 
@@ -37560,7 +37638,7 @@ lib/tool/functions/isMs.md
37560
37638
 
37561
37639
  > **isMs**(`time`): `boolean`
37562
37640
 
37563
- Defined in: [lib/tool.ts:540](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L540)
37641
+ Defined in: [lib/tool.ts:555](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L555)
37564
37642
 
37565
37643
  是否是毫秒
37566
37644
 
@@ -37589,7 +37667,7 @@ lib/tool/functions/isTruthy.md
37589
37667
 
37590
37668
  > **isTruthy**(`val`): `val is any`
37591
37669
 
37592
- Defined in: [lib/tool.ts:721](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L721)
37670
+ Defined in: [lib/tool.ts:736](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L736)
37593
37671
 
37594
37672
  判断一个值是否是真实的(不为 null/undefined/空字符串/false/0)
37595
37673
 
@@ -37618,7 +37696,7 @@ lib/tool/functions/layoutAddTagClassAndReTagName.md
37618
37696
 
37619
37697
  > **layoutAddTagClassAndReTagName**(`layout`, `retagname`): `string`
37620
37698
 
37621
- Defined in: [lib/tool.ts:161](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L161)
37699
+ Defined in: [lib/tool.ts:176](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L176)
37622
37700
 
37623
37701
  给标签增加 tag-tagname 的 class,同时给标签增加 cg- 前导(仅字符串,不是操作真实 dom)
37624
37702
 
@@ -37653,7 +37731,7 @@ lib/tool/functions/layoutClassPrepend.md
37653
37731
 
37654
37732
  > **layoutClassPrepend**(`layout`, `preps`): `string`
37655
37733
 
37656
- Defined in: [lib/tool.ts:180](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L180)
37734
+ Defined in: [lib/tool.ts:195](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L195)
37657
37735
 
37658
37736
  给 class 增加 scope 的随机前缀,给 id 新增前缀
37659
37737
 
@@ -37688,7 +37766,7 @@ lib/tool/functions/layoutInsertAttr.md
37688
37766
 
37689
37767
  > **layoutInsertAttr**(`layout`, `insert`, `opt?`): `string`
37690
37768
 
37691
- Defined in: [lib/tool.ts:171](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L171)
37769
+ Defined in: [lib/tool.ts:186](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L186)
37692
37770
 
37693
37771
  给标签追加 attr,即使 attr 存在也会追加上一个新的(非真实 DOM 操作,仅仅是对字符串进行处理)
37694
37772
 
@@ -37735,7 +37813,7 @@ lib/tool/functions/loadAssets.md
37735
37813
 
37736
37814
  > **loadAssets**(`urls`, `opt?`): `Promise`\<`boolean`\>
37737
37815
 
37738
- Defined in: [lib/tool.ts:686](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L686)
37816
+ Defined in: [lib/tool.ts:701](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L701)
37739
37817
 
37740
37818
  批量并行加载 JS 和 CSS;JS 按列表顺序执行,CSS 按列表顺序插入
37741
37819
 
@@ -37774,7 +37852,7 @@ lib/tool/functions/loadLink.md
37774
37852
 
37775
37853
  > **loadLink**(`url`, `pos?`): `Promise`\<`boolean`\>
37776
37854
 
37777
- Defined in: [lib/tool.ts:665](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L665)
37855
+ Defined in: [lib/tool.ts:680](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L680)
37778
37856
 
37779
37857
  加载 css 文件
37780
37858
 
@@ -37809,7 +37887,7 @@ lib/tool/functions/loadLinks.md
37809
37887
 
37810
37888
  > **loadLinks**(`urls`, `opt?`): `Promise`\<`void`\>
37811
37889
 
37812
- Defined in: [lib/tool.ts:674](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L674)
37890
+ Defined in: [lib/tool.ts:689](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L689)
37813
37891
 
37814
37892
  批量加载 css 文件
37815
37893
 
@@ -37846,7 +37924,7 @@ lib/tool/functions/loadScript.md
37846
37924
 
37847
37925
  > **loadScript**(`url`, `ordered?`): `Promise`\<`boolean`\>
37848
37926
 
37849
- Defined in: [lib/tool.ts:643](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L643)
37927
+ Defined in: [lib/tool.ts:658](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L658)
37850
37928
 
37851
37929
  加载脚本
37852
37930
 
@@ -37883,7 +37961,7 @@ lib/tool/functions/loadScripts.md
37883
37961
 
37884
37962
  > **loadScripts**(`urls`, `opt?`): `Promise`\<`void`\>
37885
37963
 
37886
- Defined in: [lib/tool.ts:652](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L652)
37964
+ Defined in: [lib/tool.ts:667](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L667)
37887
37965
 
37888
37966
  批量加载 js 文件
37889
37967
 
@@ -37926,7 +38004,7 @@ lib/tool/functions/loadStyle.md
37926
38004
 
37927
38005
  > **loadStyle**(`style`): `void`
37928
38006
 
37929
- Defined in: [lib/tool.ts:696](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L696)
38007
+ Defined in: [lib/tool.ts:711](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L711)
37930
38008
 
37931
38009
  加载 css 字符串
37932
38010
 
@@ -37955,7 +38033,7 @@ lib/tool/functions/logicalOr.md
37955
38033
 
37956
38034
  > **logicalOr**\<`T`, `T2`\>(`v1`, `v2`): \[`T`\] *extends* \[[`TFalsy`](../type-aliases/TFalsy.md)\] ? `T2` : `T`
37957
38035
 
37958
- Defined in: [lib/tool.ts:730](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L730)
38036
+ Defined in: [lib/tool.ts:745](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L745)
37959
38037
 
37960
38038
  类似 || 运算符的效果
37961
38039
 
@@ -38000,7 +38078,7 @@ lib/tool/functions/match.md
38000
38078
 
38001
38079
  > **match**(`str`, `regs`): `boolean`
38002
38080
 
38003
- Defined in: [lib/tool.ts:138](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L138)
38081
+ Defined in: [lib/tool.ts:153](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L153)
38004
38082
 
38005
38083
  传入正则进行匹配 str 是否有一项满足
38006
38084
 
@@ -38035,7 +38113,7 @@ lib/tool/functions/nextFrame.md
38035
38113
 
38036
38114
  > **nextFrame**(): `Promise`\<`void`\>
38037
38115
 
38038
- Defined in: [lib/tool.ts:113](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L113)
38116
+ Defined in: [lib/tool.ts:128](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L128)
38039
38117
 
38040
38118
  等待浏览器帧
38041
38119
 
@@ -38056,7 +38134,7 @@ lib/tool/functions/parseArrayString.md
38056
38134
 
38057
38135
  > **parseArrayString**(`arrayStr`): `string`[]
38058
38136
 
38059
- Defined in: [lib/tool.ts:578](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L578)
38137
+ Defined in: [lib/tool.ts:593](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L593)
38060
38138
 
38061
38139
  数组字符串解析器
38062
38140
  解析数组字符串为各元素组成的字符串数组
@@ -38088,7 +38166,7 @@ lib/tool/functions/parseUrl.md
38088
38166
 
38089
38167
  > **parseUrl**(`url`): [`IUrl`](../interfaces/IUrl.md)
38090
38168
 
38091
- Defined in: [lib/tool.ts:463](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L463)
38169
+ Defined in: [lib/tool.ts:478](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L478)
38092
38170
 
38093
38171
  传输 url 并解析为 IUrl 对象
38094
38172
 
@@ -38117,7 +38195,7 @@ lib/tool/functions/post.md
38117
38195
 
38118
38196
  > **post**(`url`, `data`, `init?`): `Promise`\<`string` \| `Blob` \| `null`\>
38119
38197
 
38120
- Defined in: [lib/tool.ts:402](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L402)
38198
+ Defined in: [lib/tool.ts:417](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L417)
38121
38199
 
38122
38200
  发起 POST 请求(除 FormData 外都会转换为 JSON 提交)
38123
38201
 
@@ -38160,7 +38238,7 @@ lib/tool/functions/postResponseEventStream.md
38160
38238
 
38161
38239
  > **postResponseEventStream**(`url`, `data`, `opts?`): `AbortController`
38162
38240
 
38163
- Defined in: [lib/tool.ts:425](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L425)
38241
+ Defined in: [lib/tool.ts:440](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L440)
38164
38242
 
38165
38243
  发起 JSON 请求并获得文本 SSE 响应
38166
38244
 
@@ -38235,7 +38313,7 @@ lib/tool/functions/postResponseJson.md
38235
38313
 
38236
38314
  > **postResponseJson**(`url`, `data`, `init?`): `Promise`\<`any`\>
38237
38315
 
38238
- Defined in: [lib/tool.ts:453](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L453)
38316
+ Defined in: [lib/tool.ts:468](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L468)
38239
38317
 
38240
38318
  发起 POST 请求并解析 JSON 响应
38241
38319
 
@@ -38278,7 +38356,7 @@ lib/tool/functions/purify.md
38278
38356
 
38279
38357
  > **purify**(`text`): `string`
38280
38358
 
38281
- Defined in: [lib/tool.ts:129](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L129)
38359
+ Defined in: [lib/tool.ts:144](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L144)
38282
38360
 
38283
38361
  去除 html 的空白符、换行以及注释
38284
38362
 
@@ -38307,7 +38385,7 @@ lib/tool/functions/queryParse.md
38307
38385
 
38308
38386
  > **queryParse**(`query`): `Record`\<`string`, `string` \| `string`[]\>
38309
38387
 
38310
- Defined in: [lib/tool.ts:557](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L557)
38388
+ Defined in: [lib/tool.ts:572](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L572)
38311
38389
 
38312
38390
  将 query string 转换为对象
38313
38391
 
@@ -38336,7 +38414,7 @@ lib/tool/functions/queryStringify.md
38336
38414
 
38337
38415
  > **queryStringify**(`query`, `encode?`): `string`
38338
38416
 
38339
- Defined in: [lib/tool.ts:549](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L549)
38417
+ Defined in: [lib/tool.ts:564](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L564)
38340
38418
 
38341
38419
  将对象转换为 query string
38342
38420
 
@@ -38371,7 +38449,7 @@ lib/tool/functions/rand.md
38371
38449
 
38372
38450
  > **rand**(`min`, `max`, `prec?`): `number`
38373
38451
 
38374
- Defined in: [lib/tool.ts:224](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L224)
38452
+ Defined in: [lib/tool.ts:239](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L239)
38375
38453
 
38376
38454
  生成范围内的随机数
38377
38455
 
@@ -38412,7 +38490,7 @@ lib/tool/functions/random.md
38412
38490
 
38413
38491
  > **random**(`length?`, `source?`, `block?`): `string`
38414
38492
 
38415
- Defined in: [lib/tool.ts:246](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L246)
38493
+ Defined in: [lib/tool.ts:261](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L261)
38416
38494
 
38417
38495
  生成随机字符串
38418
38496
 
@@ -38455,7 +38533,7 @@ lib/tool/functions/request.md
38455
38533
 
38456
38534
  > **request**(`url`, `opt`): `Promise`\<`any`\>
38457
38535
 
38458
- Defined in: [lib/tool.ts:367](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L367)
38536
+ Defined in: [lib/tool.ts:382](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L382)
38459
38537
 
38460
38538
  发起一个网络请求,若是返回值是 JSON 则自动解析,否则直接返回字符串
38461
38539
 
@@ -38490,7 +38568,7 @@ lib/tool/functions/rgb2hex.md
38490
38568
 
38491
38569
  > **rgb2hex**(`r`, `g?`, `b?`, `a?`): `string`
38492
38570
 
38493
- Defined in: [lib/tool.ts:304](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L304)
38571
+ Defined in: [lib/tool.ts:319](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L319)
38494
38572
 
38495
38573
  将 r, g, b 转换为 hex 字符串,不含 #
38496
38574
 
@@ -38535,7 +38613,7 @@ lib/tool/functions/rgb2hsl.md
38535
38613
 
38536
38614
  > **rgb2hsl**(`r`, `g?`, `b?`, `a?`, `decimal?`): `object`
38537
38615
 
38538
- Defined in: [lib/tool.ts:330](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L330)
38616
+ Defined in: [lib/tool.ts:345](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L345)
38539
38617
 
38540
38618
  rgb 字符串转 hsl 数组
38541
38619
 
@@ -38639,7 +38717,7 @@ lib/tool/functions/sizeFormat.md
38639
38717
 
38640
38718
  > **sizeFormat**(`size`, `spliter?`): `string`
38641
38719
 
38642
- Defined in: [lib/tool.ts:80](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L80)
38720
+ Defined in: [lib/tool.ts:95](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L95)
38643
38721
 
38644
38722
  将文件大小格式化为带单位的字符串
38645
38723
 
@@ -38674,7 +38752,7 @@ lib/tool/functions/sleepFrame.md
38674
38752
 
38675
38753
  > **sleepFrame**(`count`): `Promise`\<`void`\>
38676
38754
 
38677
- Defined in: [lib/tool.ts:121](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L121)
38755
+ Defined in: [lib/tool.ts:136](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L136)
38678
38756
 
38679
38757
  等待浏览器帧
38680
38758
 
@@ -38703,7 +38781,7 @@ lib/tool/functions/sleep.md
38703
38781
 
38704
38782
  > **sleep**(`ms?`): `Promise`\<`boolean`\>
38705
38783
 
38706
- Defined in: [lib/tool.ts:106](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L106)
38784
+ Defined in: [lib/tool.ts:121](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L121)
38707
38785
 
38708
38786
  等待毫秒
38709
38787
 
@@ -38732,7 +38810,7 @@ lib/tool/functions/stateMachine.md
38732
38810
 
38733
38811
  > **stateMachine**(`code`, `start`, `process`): `void`
38734
38812
 
38735
- Defined in: [lib/tool.ts:613](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L613)
38813
+ Defined in: [lib/tool.ts:628](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L628)
38736
38814
 
38737
38815
  源码分段状态机,单词按 ASCII 字母、数字、_ 和 $ 识别
38738
38816
 
@@ -38775,7 +38853,7 @@ lib/tool/functions/stylePrepend.md
38775
38853
 
38776
38854
  > **stylePrepend**(`style`, `prep?`): `object`
38777
38855
 
38778
- Defined in: [lib/tool.ts:206](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L206)
38856
+ Defined in: [lib/tool.ts:221](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L221)
38779
38857
 
38780
38858
  给 class 前部增加唯一标识符
38781
38859
 
@@ -38818,7 +38896,7 @@ lib/tool/functions/styleUrl2DataUrl.md
38818
38896
 
38819
38897
  > **styleUrl2DataUrl**(`path`, `style`, `files`): `Promise`\<`string`\>
38820
38898
 
38821
- Defined in: [lib/tool.ts:148](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L148)
38899
+ Defined in: [lib/tool.ts:163](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L163)
38822
38900
 
38823
38901
  将 style 中的 url 转换成 base64 data url
38824
38902
 
@@ -38859,7 +38937,7 @@ lib/tool/functions/teleportGlue.md
38859
38937
 
38860
38938
  > **teleportGlue**(`layout`, `formId`): `string`
38861
38939
 
38862
- Defined in: [lib/tool.ts:197](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L197)
38940
+ Defined in: [lib/tool.ts:212](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L212)
38863
38941
 
38864
38942
  对 layout 的 teleport 做转义处理为 vue 识别的内容
38865
38943
 
@@ -38894,7 +38972,7 @@ lib/tool/functions/unescapeHTML.md
38894
38972
 
38895
38973
  > **unescapeHTML**(`html`): `string`
38896
38974
 
38897
- Defined in: [lib/tool.ts:286](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L286)
38975
+ Defined in: [lib/tool.ts:301](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L301)
38898
38976
 
38899
38977
  还原转义后的 HTML
38900
38978
 
@@ -38923,7 +39001,7 @@ lib/tool/functions/urlAtom.md
38923
39001
 
38924
39002
  > **urlAtom**(`url`): `string`
38925
39003
 
38926
- Defined in: [lib/tool.ts:477](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L477)
39004
+ Defined in: [lib/tool.ts:492](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L492)
38927
39005
 
38928
39006
  处理 URL 中的 .. / . 等
38929
39007
 
@@ -38950,7 +39028,7 @@ lib/tool/functions/urlResolve.md
38950
39028
 
38951
39029
  > **urlResolve**(`from`, `to`): `string`
38952
39030
 
38953
- Defined in: [lib/tool.ts:472](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L472)
39031
+ Defined in: [lib/tool.ts:487](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L487)
38954
39032
 
38955
39033
  将相对路径根据基准路径进行转换
38956
39034
 
@@ -38985,7 +39063,7 @@ lib/tool/functions/weightFormat.md
38985
39063
 
38986
39064
  > **weightFormat**(`weight`, `spliter?`): `string`
38987
39065
 
38988
- Defined in: [lib/tool.ts:89](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L89)
39066
+ Defined in: [lib/tool.ts:104](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L104)
38989
39067
 
38990
39068
  将毫克重量格式化为带单位的字符串
38991
39069
 
@@ -39025,6 +39103,7 @@ lib/tool/index.md
39025
39103
  ## Interfaces
39026
39104
 
39027
39105
  - [IClassPrototype](interfaces/IClassPrototype.md)
39106
+ - [ICompressorOptions](interfaces/ICompressorOptions.md)
39028
39107
  - [IDecodedText](interfaces/IDecodedText.md)
39029
39108
  - [IRequestOptions](interfaces/IRequestOptions.md)
39030
39109
  - [ITextEncoding](interfaces/ITextEncoding.md)
@@ -39130,7 +39209,7 @@ lib/tool/interfaces/IClassPrototype.md
39130
39209
 
39131
39210
  # Interface: IClassPrototype
39132
39211
 
39133
- Defined in: [lib/tool.ts:47](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L47)
39212
+ Defined in: [lib/tool.ts:62](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L62)
39134
39213
 
39135
39214
  类原型信息
39136
39215
 
@@ -39140,7 +39219,7 @@ Defined in: [lib/tool.ts:47](https://github.com/maiyun/clickgo/blob/master/dist/
39140
39219
 
39141
39220
  > **access**: `Record`\<`string`, \{ `get`: `any`; `set`: `any`; \}\>
39142
39221
 
39143
- Defined in: [lib/tool.ts:51](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L51)
39222
+ Defined in: [lib/tool.ts:66](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L66)
39144
39223
 
39145
39224
  访问器列表,key 为属性名,value 为包含 get 和 set 的对象,例如:{'prop1': { 'get': function() { ... }, 'set': function(v) { ... } }}
39146
39225
 
@@ -39150,10 +39229,75 @@ Defined in: [lib/tool.ts:51](https://github.com/maiyun/clickgo/blob/master/dist/
39150
39229
 
39151
39230
  > **method**: `Record`\<`string`, `any`\>
39152
39231
 
39153
- Defined in: [lib/tool.ts:49](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L49)
39232
+ Defined in: [lib/tool.ts:64](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L64)
39154
39233
 
39155
39234
  方法列表,key 为方法名,value 为函数体,例如:{'method1': function() { ... }}
39156
39235
 
39236
+ lib/tool/interfaces/ICompressorOptions.md
39237
+ ---
39238
+
39239
+ [**Documents for clickgo**](../../../index.md)
39240
+
39241
+ ***
39242
+
39243
+ [Documents for clickgo](../../../index.md) / [lib/tool](../index.md) / ICompressorOptions
39244
+
39245
+ # Interface: ICompressorOptions
39246
+
39247
+ Defined in: [lib/tool.ts:31](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L31)
39248
+
39249
+ 图片压缩参数,未指定大小上限时仅使用第一档质量
39250
+
39251
+ ## Properties
39252
+
39253
+ ### maxHeight?
39254
+
39255
+ > `optional` **maxHeight?**: `number`
39256
+
39257
+ Defined in: [lib/tool.ts:35](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L35)
39258
+
39259
+ 最高高度,默认无限
39260
+
39261
+ ***
39262
+
39263
+ ### maxSize?
39264
+
39265
+ > `optional` **maxSize?**: `number`
39266
+
39267
+ Defined in: [lib/tool.ts:41](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L41)
39268
+
39269
+ 文件大小上限,单位字节,须为正有限数;各档都超限时返回 false,不再额外缩小尺寸或降质
39270
+
39271
+ ***
39272
+
39273
+ ### maxWidth?
39274
+
39275
+ > `optional` **maxWidth?**: `number`
39276
+
39277
+ Defined in: [lib/tool.ts:33](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L33)
39278
+
39279
+ 最大宽度,默认无限
39280
+
39281
+ ***
39282
+
39283
+ ### mimeType?
39284
+
39285
+ > `optional` **mimeType?**: `"auto"` \| `"image/jpeg"` \| `"image/png"` \| `"image/webp"`
39286
+
39287
+ Defined in: [lib/tool.ts:39](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L39)
39288
+
39289
+ 输出格式,默认 auto 保留压缩器的自动选择;JPEG 的透明区域填白
39290
+
39291
+ ***
39292
+
39293
+ ### quality?
39294
+
39295
+ > `optional` **quality?**: `number` \| readonly `number`[]
39296
+
39297
+ Defined in: [lib/tool.ts:37](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L37)
39298
+
39299
+ 编码质量,取值 0 至 1,默认 0.8;数组按顺序尝试,仅 JPEG/WebP 支持调节质量
39300
+
39157
39301
  lib/tool/interfaces/IDecodedText.md
39158
39302
  ---
39159
39303
 
@@ -39216,7 +39360,7 @@ lib/tool/interfaces/IRequestOptions.md
39216
39360
 
39217
39361
  # Interface: IRequestOptions
39218
39362
 
39219
- Defined in: [lib/tool.ts:850](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L850)
39363
+ Defined in: [lib/tool.ts:865](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L865)
39220
39364
 
39221
39365
  请求选项
39222
39366
 
@@ -39226,7 +39370,7 @@ Defined in: [lib/tool.ts:850](https://github.com/maiyun/clickgo/blob/master/dist
39226
39370
 
39227
39371
  > `optional` **body?**: `FormData`
39228
39372
 
39229
- Defined in: [lib/tool.ts:853](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L853)
39373
+ Defined in: [lib/tool.ts:868](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L868)
39230
39374
 
39231
39375
  ***
39232
39376
 
@@ -39234,7 +39378,7 @@ Defined in: [lib/tool.ts:853](https://github.com/maiyun/clickgo/blob/master/dist
39234
39378
 
39235
39379
  > `optional` **credentials?**: `boolean`
39236
39380
 
39237
- Defined in: [lib/tool.ts:851](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L851)
39381
+ Defined in: [lib/tool.ts:866](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L866)
39238
39382
 
39239
39383
  ***
39240
39384
 
@@ -39242,7 +39386,7 @@ Defined in: [lib/tool.ts:851](https://github.com/maiyun/clickgo/blob/master/dist
39242
39386
 
39243
39387
  > `optional` **end?**: () => `void` \| `Promise`\<`void`\>
39244
39388
 
39245
- Defined in: [lib/tool.ts:862](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L862)
39389
+ Defined in: [lib/tool.ts:877](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L877)
39246
39390
 
39247
39391
  #### Returns
39248
39392
 
@@ -39254,7 +39398,7 @@ Defined in: [lib/tool.ts:862](https://github.com/maiyun/clickgo/blob/master/dist
39254
39398
 
39255
39399
  > `optional` **error?**: () => `void` \| `Promise`\<`void`\>
39256
39400
 
39257
- Defined in: [lib/tool.ts:865](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L865)
39401
+ Defined in: [lib/tool.ts:880](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L880)
39258
39402
 
39259
39403
  #### Returns
39260
39404
 
@@ -39266,7 +39410,7 @@ Defined in: [lib/tool.ts:865](https://github.com/maiyun/clickgo/blob/master/dist
39266
39410
 
39267
39411
  > `optional` **headers?**: `HeadersInit`
39268
39412
 
39269
- Defined in: [lib/tool.ts:856](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L856)
39413
+ Defined in: [lib/tool.ts:871](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L871)
39270
39414
 
39271
39415
  ***
39272
39416
 
@@ -39274,7 +39418,7 @@ Defined in: [lib/tool.ts:856](https://github.com/maiyun/clickgo/blob/master/dist
39274
39418
 
39275
39419
  > `optional` **load?**: (`res`) => `void` \| `Promise`\<`void`\>
39276
39420
 
39277
- Defined in: [lib/tool.ts:864](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L864)
39421
+ Defined in: [lib/tool.ts:879](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L879)
39278
39422
 
39279
39423
  #### Parameters
39280
39424
 
@@ -39292,7 +39436,7 @@ Defined in: [lib/tool.ts:864](https://github.com/maiyun/clickgo/blob/master/dist
39292
39436
 
39293
39437
  > `optional` **method?**: `"GET"` \| `"POST"`
39294
39438
 
39295
- Defined in: [lib/tool.ts:852](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L852)
39439
+ Defined in: [lib/tool.ts:867](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L867)
39296
39440
 
39297
39441
  ***
39298
39442
 
@@ -39300,7 +39444,7 @@ Defined in: [lib/tool.ts:852](https://github.com/maiyun/clickgo/blob/master/dist
39300
39444
 
39301
39445
  > `optional` **progress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
39302
39446
 
39303
- Defined in: [lib/tool.ts:863](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L863)
39447
+ Defined in: [lib/tool.ts:878](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L878)
39304
39448
 
39305
39449
  #### Parameters
39306
39450
 
@@ -39322,7 +39466,7 @@ Defined in: [lib/tool.ts:863](https://github.com/maiyun/clickgo/blob/master/dist
39322
39466
 
39323
39467
  > `optional` **responseType?**: `XMLHttpRequestResponseType`
39324
39468
 
39325
- Defined in: [lib/tool.ts:855](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L855)
39469
+ Defined in: [lib/tool.ts:870](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L870)
39326
39470
 
39327
39471
  ***
39328
39472
 
@@ -39330,7 +39474,7 @@ Defined in: [lib/tool.ts:855](https://github.com/maiyun/clickgo/blob/master/dist
39330
39474
 
39331
39475
  > `optional` **start?**: (`total`) => `void` \| `Promise`\<`void`\>
39332
39476
 
39333
- Defined in: [lib/tool.ts:861](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L861)
39477
+ Defined in: [lib/tool.ts:876](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L876)
39334
39478
 
39335
39479
  #### Parameters
39336
39480
 
@@ -39348,7 +39492,7 @@ Defined in: [lib/tool.ts:861](https://github.com/maiyun/clickgo/blob/master/dist
39348
39492
 
39349
39493
  > `optional` **timeout?**: `number`
39350
39494
 
39351
- Defined in: [lib/tool.ts:854](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L854)
39495
+ Defined in: [lib/tool.ts:869](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L869)
39352
39496
 
39353
39497
  ***
39354
39498
 
@@ -39356,7 +39500,7 @@ Defined in: [lib/tool.ts:854](https://github.com/maiyun/clickgo/blob/master/dist
39356
39500
 
39357
39501
  > `optional` **uploadEnd?**: () => `void` \| `Promise`\<`void`\>
39358
39502
 
39359
- Defined in: [lib/tool.ts:860](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L860)
39503
+ Defined in: [lib/tool.ts:875](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L875)
39360
39504
 
39361
39505
  #### Returns
39362
39506
 
@@ -39368,7 +39512,7 @@ Defined in: [lib/tool.ts:860](https://github.com/maiyun/clickgo/blob/master/dist
39368
39512
 
39369
39513
  > `optional` **uploadProgress?**: (`loaded`, `total`) => `void` \| `Promise`\<`void`\>
39370
39514
 
39371
- Defined in: [lib/tool.ts:859](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L859)
39515
+ Defined in: [lib/tool.ts:874](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L874)
39372
39516
 
39373
39517
  #### Parameters
39374
39518
 
@@ -39390,7 +39534,7 @@ Defined in: [lib/tool.ts:859](https://github.com/maiyun/clickgo/blob/master/dist
39390
39534
 
39391
39535
  > `optional` **uploadStart?**: (`total`) => `void` \| `Promise`\<`void`\>
39392
39536
 
39393
- Defined in: [lib/tool.ts:858](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L858)
39537
+ Defined in: [lib/tool.ts:873](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L873)
39394
39538
 
39395
39539
  #### Parameters
39396
39540
 
@@ -39448,7 +39592,7 @@ lib/tool/interfaces/IUrl.md
39448
39592
 
39449
39593
  # Interface: IUrl
39450
39594
 
39451
- Defined in: [lib/tool.ts:835](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L835)
39595
+ Defined in: [lib/tool.ts:850](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L850)
39452
39596
 
39453
39597
  网址对象
39454
39598
 
@@ -39458,7 +39602,7 @@ Defined in: [lib/tool.ts:835](https://github.com/maiyun/clickgo/blob/master/dist
39458
39602
 
39459
39603
  > **auth**: `string` \| `null`
39460
39604
 
39461
- Defined in: [lib/tool.ts:836](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L836)
39605
+ Defined in: [lib/tool.ts:851](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L851)
39462
39606
 
39463
39607
  ***
39464
39608
 
@@ -39466,7 +39610,7 @@ Defined in: [lib/tool.ts:836](https://github.com/maiyun/clickgo/blob/master/dist
39466
39610
 
39467
39611
  > **hash**: `string` \| `null`
39468
39612
 
39469
- Defined in: [lib/tool.ts:837](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L837)
39613
+ Defined in: [lib/tool.ts:852](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L852)
39470
39614
 
39471
39615
  ***
39472
39616
 
@@ -39474,7 +39618,7 @@ Defined in: [lib/tool.ts:837](https://github.com/maiyun/clickgo/blob/master/dist
39474
39618
 
39475
39619
  > **host**: `string` \| `null`
39476
39620
 
39477
- Defined in: [lib/tool.ts:838](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L838)
39621
+ Defined in: [lib/tool.ts:853](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L853)
39478
39622
 
39479
39623
  ***
39480
39624
 
@@ -39482,7 +39626,7 @@ Defined in: [lib/tool.ts:838](https://github.com/maiyun/clickgo/blob/master/dist
39482
39626
 
39483
39627
  > **hostname**: `string` \| `null`
39484
39628
 
39485
- Defined in: [lib/tool.ts:839](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L839)
39629
+ Defined in: [lib/tool.ts:854](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L854)
39486
39630
 
39487
39631
  ***
39488
39632
 
@@ -39490,7 +39634,7 @@ Defined in: [lib/tool.ts:839](https://github.com/maiyun/clickgo/blob/master/dist
39490
39634
 
39491
39635
  > **pass**: `string` \| `null`
39492
39636
 
39493
- Defined in: [lib/tool.ts:840](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L840)
39637
+ Defined in: [lib/tool.ts:855](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L855)
39494
39638
 
39495
39639
  ***
39496
39640
 
@@ -39498,7 +39642,7 @@ Defined in: [lib/tool.ts:840](https://github.com/maiyun/clickgo/blob/master/dist
39498
39642
 
39499
39643
  > **path**: `string` \| `null`
39500
39644
 
39501
- Defined in: [lib/tool.ts:841](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L841)
39645
+ Defined in: [lib/tool.ts:856](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L856)
39502
39646
 
39503
39647
  ***
39504
39648
 
@@ -39506,7 +39650,7 @@ Defined in: [lib/tool.ts:841](https://github.com/maiyun/clickgo/blob/master/dist
39506
39650
 
39507
39651
  > **pathname**: `string`
39508
39652
 
39509
- Defined in: [lib/tool.ts:842](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L842)
39653
+ Defined in: [lib/tool.ts:857](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L857)
39510
39654
 
39511
39655
  ***
39512
39656
 
@@ -39514,7 +39658,7 @@ Defined in: [lib/tool.ts:842](https://github.com/maiyun/clickgo/blob/master/dist
39514
39658
 
39515
39659
  > **port**: `string` \| `null`
39516
39660
 
39517
- Defined in: [lib/tool.ts:844](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L844)
39661
+ Defined in: [lib/tool.ts:859](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L859)
39518
39662
 
39519
39663
  ***
39520
39664
 
@@ -39522,7 +39666,7 @@ Defined in: [lib/tool.ts:844](https://github.com/maiyun/clickgo/blob/master/dist
39522
39666
 
39523
39667
  > **protocol**: `string` \| `null`
39524
39668
 
39525
- Defined in: [lib/tool.ts:843](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L843)
39669
+ Defined in: [lib/tool.ts:858](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L858)
39526
39670
 
39527
39671
  ***
39528
39672
 
@@ -39530,7 +39674,7 @@ Defined in: [lib/tool.ts:843](https://github.com/maiyun/clickgo/blob/master/dist
39530
39674
 
39531
39675
  > **query**: `string` \| `null`
39532
39676
 
39533
- Defined in: [lib/tool.ts:845](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L845)
39677
+ Defined in: [lib/tool.ts:860](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L860)
39534
39678
 
39535
39679
  ***
39536
39680
 
@@ -39538,7 +39682,7 @@ Defined in: [lib/tool.ts:845](https://github.com/maiyun/clickgo/blob/master/dist
39538
39682
 
39539
39683
  > **user**: `string` \| `null`
39540
39684
 
39541
- Defined in: [lib/tool.ts:846](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L846)
39685
+ Defined in: [lib/tool.ts:861](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L861)
39542
39686
 
39543
39687
  lib/tool/type-aliases/TFalsy.md
39544
39688
  ---
@@ -39553,7 +39697,7 @@ lib/tool/type-aliases/TFalsy.md
39553
39697
 
39554
39698
  > **TFalsy** = `false` \| `""` \| `0` \| `null` \| `undefined` \| *typeof* `NaN`
39555
39699
 
39556
- Defined in: [lib/tool.ts:872](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L872)
39700
+ Defined in: [lib/tool.ts:887](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L887)
39557
39701
 
39558
39702
  虚假值类型
39559
39703
 
@@ -39570,7 +39714,7 @@ lib/tool/type-aliases/TJson.md
39570
39714
 
39571
39715
  > **TJson** = `null` \| `boolean` \| `number` \| `string` \| `TJson`[] \| \{\[`key`: `string`\]: `TJson`; \}
39572
39716
 
39573
- Defined in: [lib/tool.ts:869](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L869)
39717
+ Defined in: [lib/tool.ts:884](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L884)
39574
39718
 
39575
39719
  JSON 数据值,不包含 undefined、BigInt、函数和非有限数
39576
39720
 
@@ -39604,7 +39748,7 @@ lib/tool/variables/lang.md
39604
39748
 
39605
39749
  > `const` **lang**: `object`
39606
39750
 
39607
- Defined in: [lib/tool.ts:735](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L735)
39751
+ Defined in: [lib/tool.ts:750](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L750)
39608
39752
 
39609
39753
  语言相关
39610
39754
 
@@ -39701,7 +39845,7 @@ lib/tool/variables/RANDOM_L.md
39701
39845
 
39702
39846
  > `const` **RANDOM\_L**: `"abcdefghijklmnopqrstuvwxyz"` = `'abcdefghijklmnopqrstuvwxyz'`
39703
39847
 
39704
- Defined in: [lib/tool.ts:230](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L230)
39848
+ Defined in: [lib/tool.ts:245](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L245)
39705
39849
 
39706
39850
  lib/tool/variables/RANDOM_LN.md
39707
39851
  ---
@@ -39716,7 +39860,7 @@ lib/tool/variables/RANDOM_LN.md
39716
39860
 
39717
39861
  > `const` **RANDOM\_LN**: `string`
39718
39862
 
39719
- Defined in: [lib/tool.ts:233](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L233)
39863
+ Defined in: [lib/tool.ts:248](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L248)
39720
39864
 
39721
39865
  lib/tool/variables/RANDOM_LU.md
39722
39866
  ---
@@ -39731,7 +39875,7 @@ lib/tool/variables/RANDOM_LU.md
39731
39875
 
39732
39876
  > `const` **RANDOM\_LU**: `string`
39733
39877
 
39734
- Defined in: [lib/tool.ts:234](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L234)
39878
+ Defined in: [lib/tool.ts:249](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L249)
39735
39879
 
39736
39880
  lib/tool/variables/RANDOM_LUN.md
39737
39881
  ---
@@ -39746,7 +39890,7 @@ lib/tool/variables/RANDOM_LUN.md
39746
39890
 
39747
39891
  > `const` **RANDOM\_LUN**: `string`
39748
39892
 
39749
- Defined in: [lib/tool.ts:235](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L235)
39893
+ Defined in: [lib/tool.ts:250](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L250)
39750
39894
 
39751
39895
  lib/tool/variables/RANDOM_LUNS.md
39752
39896
  ---
@@ -39761,7 +39905,7 @@ lib/tool/variables/RANDOM_LUNS.md
39761
39905
 
39762
39906
  > `const` **RANDOM\_LUNS**: `string`
39763
39907
 
39764
- Defined in: [lib/tool.ts:237](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L237)
39908
+ Defined in: [lib/tool.ts:252](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L252)
39765
39909
 
39766
39910
  lib/tool/variables/RANDOM_N.md
39767
39911
  ---
@@ -39776,7 +39920,7 @@ lib/tool/variables/RANDOM_N.md
39776
39920
 
39777
39921
  > `const` **RANDOM\_N**: `"0123456789"` = `'0123456789'`
39778
39922
 
39779
- Defined in: [lib/tool.ts:228](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L228)
39923
+ Defined in: [lib/tool.ts:243](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L243)
39780
39924
 
39781
39925
  lib/tool/variables/RANDOM_U.md
39782
39926
  ---
@@ -39791,7 +39935,7 @@ lib/tool/variables/RANDOM_U.md
39791
39935
 
39792
39936
  > `const` **RANDOM\_U**: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ"` = `'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
39793
39937
 
39794
- Defined in: [lib/tool.ts:229](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L229)
39938
+ Defined in: [lib/tool.ts:244](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L244)
39795
39939
 
39796
39940
  lib/tool/variables/RANDOM_UN.md
39797
39941
  ---
@@ -39806,7 +39950,7 @@ lib/tool/variables/RANDOM_UN.md
39806
39950
 
39807
39951
  > `const` **RANDOM\_UN**: `string`
39808
39952
 
39809
- Defined in: [lib/tool.ts:232](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L232)
39953
+ Defined in: [lib/tool.ts:247](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L247)
39810
39954
 
39811
39955
  lib/tool/variables/RANDOM_V.md
39812
39956
  ---
@@ -39821,7 +39965,7 @@ lib/tool/variables/RANDOM_V.md
39821
39965
 
39822
39966
  > `const` **RANDOM\_V**: `"ACEFGHJKLMNPRSTWXY34567"` = `'ACEFGHJKLMNPRSTWXY34567'`
39823
39967
 
39824
- Defined in: [lib/tool.ts:236](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L236)
39968
+ Defined in: [lib/tool.ts:251](https://github.com/maiyun/clickgo/blob/master/dist/lib/tool.ts#L251)
39825
39969
 
39826
39970
  lib/zip/classes/Zip.md
39827
39971
  ---