clickgo 5.18.1 → 5.18.2

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.
@@ -645,12 +645,24 @@ export interface INotifyContentOptions {
645
645
  }
646
646
  /** --- Dialog 选项 --- */
647
647
  export interface IFormDialogOptions {
648
+ /** --- dialog 窗体标题,不传则使用默认标题 dialog --- */
648
649
  'title'?: string;
650
+ /** --- dialog 内容,支持直接传布局字符串 --- */
649
651
  'content': string;
652
+ /** --- 底部按钮文本列表,默认使用当前语言的确定按钮文本 --- */
650
653
  'buttons'?: string[];
654
+ /** --- 点击按钮后是否自动将按钮文本写入 dialogResult,默认 true --- */
651
655
  'autoDialogResult'?: boolean;
656
+ /** --- dialog 控件内容布局方向,h 为横向,v 为纵向 --- */
652
657
  'direction'?: 'h' | 'v';
658
+ /** --- dialog 控件内容区项目间距,会透传给 dialog 控件 --- */
653
659
  'gutter'?: number | string;
660
+ /** --- dialog 控件宽度,传数字时为像素值,传 fill 时代表填充可用宽度 --- */
661
+ 'width'?: number | string;
662
+ /** --- dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用高度 --- */
663
+ 'height'?: number | string;
664
+ /** --- dialog 控件内容区是否显示内边距,默认表现与控件自身一致 --- */
665
+ 'padding'?: boolean | string;
654
666
  /** --- 传值,需要用 data.x 读取 --- */
655
667
  'data'?: Record<string, any>;
656
668
  /** --- 传值,需要用 methods.x 读取 --- */
@@ -23141,7 +23141,7 @@ lib/form/interfaces/IFormCaptchaOptions.md
23141
23141
 
23142
23142
  # Interface: IFormCaptchaOptions
23143
23143
 
23144
- Defined in: [lib/form.ts:4302](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4302)
23144
+ Defined in: [lib/form.ts:4314](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4314)
23145
23145
 
23146
23146
  显示验证码选项
23147
23147
 
@@ -23151,7 +23151,7 @@ Defined in: [lib/form.ts:4302](https://github.com/maiyun/clickgo/blob/master/dis
23151
23151
 
23152
23152
  > **akey**: `string`
23153
23153
 
23154
- Defined in: [lib/form.ts:4306](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4306)
23154
+ Defined in: [lib/form.ts:4318](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4318)
23155
23155
 
23156
23156
  验证码 key
23157
23157
 
@@ -23161,7 +23161,7 @@ Defined in: [lib/form.ts:4306](https://github.com/maiyun/clickgo/blob/master/dis
23161
23161
 
23162
23162
  > **factory**: `"tc"` \| `"cf"`
23163
23163
 
23164
- Defined in: [lib/form.ts:4304](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4304)
23164
+ Defined in: [lib/form.ts:4316](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4316)
23165
23165
 
23166
23166
  验证码服务商
23167
23167
 
@@ -23176,7 +23176,7 @@ lib/form/interfaces/IFormConfirmOptions.md
23176
23176
 
23177
23177
  # Interface: IFormConfirmOptions
23178
23178
 
23179
- Defined in: [lib/form.ts:4295](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4295)
23179
+ Defined in: [lib/form.ts:4307](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4307)
23180
23180
 
23181
23181
  Confirm 选项
23182
23182
 
@@ -23186,7 +23186,7 @@ Confirm 选项
23186
23186
 
23187
23187
  > `optional` **cancel?**: `boolean`
23188
23188
 
23189
- Defined in: [lib/form.ts:4298](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4298)
23189
+ Defined in: [lib/form.ts:4310](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4310)
23190
23190
 
23191
23191
  ***
23192
23192
 
@@ -23194,7 +23194,7 @@ Defined in: [lib/form.ts:4298](https://github.com/maiyun/clickgo/blob/master/dis
23194
23194
 
23195
23195
  > **content**: `string`
23196
23196
 
23197
- Defined in: [lib/form.ts:4297](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4297)
23197
+ Defined in: [lib/form.ts:4309](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4309)
23198
23198
 
23199
23199
  ***
23200
23200
 
@@ -23202,7 +23202,7 @@ Defined in: [lib/form.ts:4297](https://github.com/maiyun/clickgo/blob/master/dis
23202
23202
 
23203
23203
  > `optional` **title?**: `string`
23204
23204
 
23205
- Defined in: [lib/form.ts:4296](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4296)
23205
+ Defined in: [lib/form.ts:4308](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4308)
23206
23206
 
23207
23207
  lib/form/interfaces/IFormDialogOptions.md
23208
23208
  ---
@@ -23225,7 +23225,9 @@ Dialog 选项
23225
23225
 
23226
23226
  > `optional` **autoDialogResult?**: `boolean`
23227
23227
 
23228
- Defined in: [lib/form.ts:4257](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4257)
23228
+ Defined in: [lib/form.ts:4261](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4261)
23229
+
23230
+ 点击按钮后是否自动将按钮文本写入 dialogResult,默认 true
23229
23231
 
23230
23232
  ***
23231
23233
 
@@ -23233,7 +23235,9 @@ Defined in: [lib/form.ts:4257](https://github.com/maiyun/clickgo/blob/master/dis
23233
23235
 
23234
23236
  > `optional` **buttons?**: `string`[]
23235
23237
 
23236
- Defined in: [lib/form.ts:4256](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4256)
23238
+ Defined in: [lib/form.ts:4259](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4259)
23239
+
23240
+ 底部按钮文本列表,默认使用当前语言的确定按钮文本
23237
23241
 
23238
23242
  ***
23239
23243
 
@@ -23241,7 +23245,9 @@ Defined in: [lib/form.ts:4256](https://github.com/maiyun/clickgo/blob/master/dis
23241
23245
 
23242
23246
  > **content**: `string`
23243
23247
 
23244
- Defined in: [lib/form.ts:4255](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4255)
23248
+ Defined in: [lib/form.ts:4257](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4257)
23249
+
23250
+ dialog 内容,支持直接传布局字符串
23245
23251
 
23246
23252
  ***
23247
23253
 
@@ -23249,7 +23255,7 @@ Defined in: [lib/form.ts:4255](https://github.com/maiyun/clickgo/blob/master/dis
23249
23255
 
23250
23256
  > `optional` **data?**: `Record`\<`string`, `any`\>
23251
23257
 
23252
- Defined in: [lib/form.ts:4263](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4263)
23258
+ Defined in: [lib/form.ts:4275](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4275)
23253
23259
 
23254
23260
  传值,需要用 data.x 读取
23255
23261
 
@@ -23259,7 +23265,9 @@ Defined in: [lib/form.ts:4263](https://github.com/maiyun/clickgo/blob/master/dis
23259
23265
 
23260
23266
  > `optional` **direction?**: `"v"` \| `"h"`
23261
23267
 
23262
- Defined in: [lib/form.ts:4259](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4259)
23268
+ Defined in: [lib/form.ts:4264](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4264)
23269
+
23270
+ dialog 控件内容布局方向,h 为横向,v 为纵向
23263
23271
 
23264
23272
  ***
23265
23273
 
@@ -23267,7 +23275,19 @@ Defined in: [lib/form.ts:4259](https://github.com/maiyun/clickgo/blob/master/dis
23267
23275
 
23268
23276
  > `optional` **gutter?**: `string` \| `number`
23269
23277
 
23270
- Defined in: [lib/form.ts:4260](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4260)
23278
+ Defined in: [lib/form.ts:4266](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4266)
23279
+
23280
+ dialog 控件内容区项目间距,会透传给 dialog 控件
23281
+
23282
+ ***
23283
+
23284
+ ### height?
23285
+
23286
+ > `optional` **height?**: `string` \| `number`
23287
+
23288
+ Defined in: [lib/form.ts:4270](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4270)
23289
+
23290
+ dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用高度
23271
23291
 
23272
23292
  ***
23273
23293
 
@@ -23275,7 +23295,7 @@ Defined in: [lib/form.ts:4260](https://github.com/maiyun/clickgo/blob/master/dis
23275
23295
 
23276
23296
  > `optional` **methods?**: `Record`\<`string`, (...`param`) => `any`\>
23277
23297
 
23278
- Defined in: [lib/form.ts:4265](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4265)
23298
+ Defined in: [lib/form.ts:4277](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4277)
23279
23299
 
23280
23300
  传值,需要用 methods.x 读取
23281
23301
 
@@ -23285,7 +23305,7 @@ Defined in: [lib/form.ts:4265](https://github.com/maiyun/clickgo/blob/master/dis
23285
23305
 
23286
23306
  > `optional` **onMounted?**: () => `void` \| `Promise`\<`void`\>
23287
23307
 
23288
- Defined in: [lib/form.ts:4285](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4285)
23308
+ Defined in: [lib/form.ts:4297](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4297)
23289
23309
 
23290
23310
  窗体挂载完成事件
23291
23311
 
@@ -23295,11 +23315,21 @@ Defined in: [lib/form.ts:4285](https://github.com/maiyun/clickgo/blob/master/dis
23295
23315
 
23296
23316
  ***
23297
23317
 
23318
+ ### padding?
23319
+
23320
+ > `optional` **padding?**: `string` \| `boolean`
23321
+
23322
+ Defined in: [lib/form.ts:4272](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4272)
23323
+
23324
+ dialog 控件内容区是否显示内边距,默认表现与控件自身一致
23325
+
23326
+ ***
23327
+
23298
23328
  ### path?
23299
23329
 
23300
23330
  > `optional` **path?**: `string`
23301
23331
 
23302
- Defined in: [lib/form.ts:4269](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4269)
23332
+ Defined in: [lib/form.ts:4281](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4281)
23303
23333
 
23304
23334
  路径基,以 / 结束或文件路径则以文件的基路径为准,可留空
23305
23335
 
@@ -23309,7 +23339,7 @@ Defined in: [lib/form.ts:4269](https://github.com/maiyun/clickgo/blob/master/dis
23309
23339
 
23310
23340
  > `optional` **select?**: (`this`, `e`, `button`) => `void`
23311
23341
 
23312
- Defined in: [lib/form.ts:4276](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4276)
23342
+ Defined in: [lib/form.ts:4288](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4288)
23313
23343
 
23314
23344
  点击按钮触发事件,不能用 Promise
23315
23345
 
@@ -23341,7 +23371,7 @@ Defined in: [lib/form.ts:4276](https://github.com/maiyun/clickgo/blob/master/dis
23341
23371
 
23342
23372
  > `optional` **style?**: `string`
23343
23373
 
23344
- Defined in: [lib/form.ts:4267](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4267)
23374
+ Defined in: [lib/form.ts:4279](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4279)
23345
23375
 
23346
23376
  样式表
23347
23377
 
@@ -23351,7 +23381,19 @@ Defined in: [lib/form.ts:4267](https://github.com/maiyun/clickgo/blob/master/dis
23351
23381
 
23352
23382
  > `optional` **title?**: `string`
23353
23383
 
23354
- Defined in: [lib/form.ts:4254](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4254)
23384
+ Defined in: [lib/form.ts:4255](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4255)
23385
+
23386
+ dialog 窗体标题,不传则使用默认标题 dialog
23387
+
23388
+ ***
23389
+
23390
+ ### width?
23391
+
23392
+ > `optional` **width?**: `string` \| `number`
23393
+
23394
+ Defined in: [lib/form.ts:4268](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4268)
23395
+
23396
+ dialog 控件宽度,传数字时为像素值,传 fill 时代表填充可用宽度
23355
23397
 
23356
23398
  lib/form/interfaces/IFormDialogSelectEvent.md
23357
23399
  ---
@@ -23364,7 +23406,7 @@ lib/form/interfaces/IFormDialogSelectEvent.md
23364
23406
 
23365
23407
  # Interface: IFormDialogSelectEvent
23366
23408
 
23367
- Defined in: [lib/form.ts:4288](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4288)
23409
+ Defined in: [lib/form.ts:4300](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4300)
23368
23410
 
23369
23411
  Custom Event
23370
23412
 
@@ -23378,7 +23420,7 @@ Custom Event
23378
23420
 
23379
23421
  > **detail**: `object`
23380
23422
 
23381
- Defined in: [lib/form.ts:4289](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4289)
23423
+ Defined in: [lib/form.ts:4301](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4301)
23382
23424
 
23383
23425
  #### button
23384
23426
 
@@ -23551,7 +23593,7 @@ lib/form/interfaces/IFormPromptOptions.md
23551
23593
 
23552
23594
  # Interface: IFormPromptOptions
23553
23595
 
23554
- Defined in: [lib/form.ts:4310](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4310)
23596
+ Defined in: [lib/form.ts:4322](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4322)
23555
23597
 
23556
23598
  Prompt 选项
23557
23599
 
@@ -23561,7 +23603,7 @@ Prompt 选项
23561
23603
 
23562
23604
  > `optional` **cancel?**: `boolean`
23563
23605
 
23564
- Defined in: [lib/form.ts:4318](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4318)
23606
+ Defined in: [lib/form.ts:4330](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4330)
23565
23607
 
23566
23608
  是否显示取消按钮,默认显示
23567
23609
 
@@ -23571,7 +23613,7 @@ Defined in: [lib/form.ts:4318](https://github.com/maiyun/clickgo/blob/master/dis
23571
23613
 
23572
23614
  > **content**: `string`
23573
23615
 
23574
- Defined in: [lib/form.ts:4314](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4314)
23616
+ Defined in: [lib/form.ts:4326](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4326)
23575
23617
 
23576
23618
  内容说明
23577
23619
 
@@ -23581,7 +23623,7 @@ Defined in: [lib/form.ts:4314](https://github.com/maiyun/clickgo/blob/master/dis
23581
23623
 
23582
23624
  > `optional` **select?**: (`this`, `e`, `button`) => `void`
23583
23625
 
23584
- Defined in: [lib/form.ts:4325](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4325)
23626
+ Defined in: [lib/form.ts:4337](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4337)
23585
23627
 
23586
23628
  点击按钮触发事件
23587
23629
 
@@ -23613,7 +23655,7 @@ true 代表确定,false 代表取消
23613
23655
 
23614
23656
  > `optional` **text?**: `string`
23615
23657
 
23616
- Defined in: [lib/form.ts:4316](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4316)
23658
+ Defined in: [lib/form.ts:4328](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4328)
23617
23659
 
23618
23660
  文本默认值
23619
23661
 
@@ -23623,7 +23665,7 @@ Defined in: [lib/form.ts:4316](https://github.com/maiyun/clickgo/blob/master/dis
23623
23665
 
23624
23666
  > `optional` **title?**: `string`
23625
23667
 
23626
- Defined in: [lib/form.ts:4312](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4312)
23668
+ Defined in: [lib/form.ts:4324](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4324)
23627
23669
 
23628
23670
  标题
23629
23671
 
@@ -23638,7 +23680,7 @@ lib/form/interfaces/IFormPromptSelectEvent.md
23638
23680
 
23639
23681
  # Interface: IFormPromptSelectEvent
23640
23682
 
23641
- Defined in: [lib/form.ts:4332](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4332)
23683
+ Defined in: [lib/form.ts:4344](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4344)
23642
23684
 
23643
23685
  Custom Event
23644
23686
 
@@ -23652,7 +23694,7 @@ Custom Event
23652
23694
 
23653
23695
  > **detail**: `object`
23654
23696
 
23655
- Defined in: [lib/form.ts:4333](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4333)
23697
+ Defined in: [lib/form.ts:4345](https://github.com/maiyun/clickgo/blob/master/dist/lib/form.ts#L4345)
23656
23698
 
23657
23699
  #### button
23658
23700
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "5.18.1",
3
+ "version": "5.18.2",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "type": "module",
6
6
  "keywords": [