@lark-project/js-sdk 2.0.17-dev.2 → 2.0.18-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +58 -34
- package/dist/lib/index.js +59 -34
- package/dist/types/index.d.ts +61 -13
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
|
@@ -302,8 +302,24 @@ _a15 = IMPL_KEY;
|
|
|
302
302
|
*/
|
|
303
303
|
Utils[_a15] = "utils";
|
|
304
304
|
|
|
305
|
-
// src/
|
|
305
|
+
// src/biz/Geolocation.ts
|
|
306
306
|
var _a16;
|
|
307
|
+
var Geolocation = class extends BaseModel {
|
|
308
|
+
/**
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
static load() {
|
|
312
|
+
throw new Error("not implemented");
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
_a16 = IMPL_KEY;
|
|
316
|
+
/**
|
|
317
|
+
* @internal
|
|
318
|
+
*/
|
|
319
|
+
Geolocation[_a16] = "geolocation";
|
|
320
|
+
|
|
321
|
+
// src/features/ContainerModal.ts
|
|
322
|
+
var _a17;
|
|
307
323
|
var ContainerModal = class extends BaseModel {
|
|
308
324
|
/**
|
|
309
325
|
* 加载数据
|
|
@@ -312,14 +328,14 @@ var ContainerModal = class extends BaseModel {
|
|
|
312
328
|
throw new Error("not implemented");
|
|
313
329
|
}
|
|
314
330
|
};
|
|
315
|
-
|
|
331
|
+
_a17 = IMPL_KEY;
|
|
316
332
|
/**
|
|
317
333
|
* @internal
|
|
318
334
|
*/
|
|
319
|
-
ContainerModal[
|
|
335
|
+
ContainerModal[_a17] = "containerModal";
|
|
320
336
|
|
|
321
337
|
// src/features/Intercept.ts
|
|
322
|
-
var
|
|
338
|
+
var _a18;
|
|
323
339
|
var Intercept = class extends BaseModel {
|
|
324
340
|
/**
|
|
325
341
|
* 加载数据
|
|
@@ -328,14 +344,14 @@ var Intercept = class extends BaseModel {
|
|
|
328
344
|
throw new Error("not implemented");
|
|
329
345
|
}
|
|
330
346
|
};
|
|
331
|
-
|
|
347
|
+
_a18 = IMPL_KEY;
|
|
332
348
|
/**
|
|
333
349
|
* @internal
|
|
334
350
|
*/
|
|
335
|
-
Intercept[
|
|
351
|
+
Intercept[_a18] = "intercept";
|
|
336
352
|
|
|
337
353
|
// src/features/Control.ts
|
|
338
|
-
var
|
|
354
|
+
var _a19;
|
|
339
355
|
var Control = class extends BaseModel {
|
|
340
356
|
/**
|
|
341
357
|
* 加载数据
|
|
@@ -344,14 +360,14 @@ var Control = class extends BaseModel {
|
|
|
344
360
|
throw new Error("not implemented");
|
|
345
361
|
}
|
|
346
362
|
};
|
|
347
|
-
|
|
363
|
+
_a19 = IMPL_KEY;
|
|
348
364
|
/**
|
|
349
365
|
* @internal
|
|
350
366
|
*/
|
|
351
|
-
Control[
|
|
367
|
+
Control[_a19] = "control";
|
|
352
368
|
|
|
353
369
|
// src/features/Button.ts
|
|
354
|
-
var
|
|
370
|
+
var _a20;
|
|
355
371
|
var Button = class extends BaseModel {
|
|
356
372
|
/**
|
|
357
373
|
* 加载数据
|
|
@@ -360,14 +376,14 @@ var Button = class extends BaseModel {
|
|
|
360
376
|
throw new Error("not implemented");
|
|
361
377
|
}
|
|
362
378
|
};
|
|
363
|
-
|
|
379
|
+
_a20 = IMPL_KEY;
|
|
364
380
|
/**
|
|
365
381
|
* @internal
|
|
366
382
|
*/
|
|
367
|
-
Button[
|
|
383
|
+
Button[_a20] = "button";
|
|
368
384
|
|
|
369
385
|
// src/features/Configuration.ts
|
|
370
|
-
var
|
|
386
|
+
var _a21;
|
|
371
387
|
var Configuration = class extends BaseModel {
|
|
372
388
|
/**
|
|
373
389
|
* 加载数据
|
|
@@ -376,14 +392,14 @@ var Configuration = class extends BaseModel {
|
|
|
376
392
|
throw new Error("not implemented");
|
|
377
393
|
}
|
|
378
394
|
};
|
|
379
|
-
|
|
395
|
+
_a21 = IMPL_KEY;
|
|
380
396
|
/**
|
|
381
397
|
* @internal
|
|
382
398
|
*/
|
|
383
|
-
Configuration[
|
|
399
|
+
Configuration[_a21] = "configuration";
|
|
384
400
|
|
|
385
401
|
// src/features/Page.ts
|
|
386
|
-
var
|
|
402
|
+
var _a22;
|
|
387
403
|
var Page = class extends BaseModel {
|
|
388
404
|
/**
|
|
389
405
|
* 加载数据
|
|
@@ -392,14 +408,14 @@ var Page = class extends BaseModel {
|
|
|
392
408
|
throw new Error("not implemented");
|
|
393
409
|
}
|
|
394
410
|
};
|
|
395
|
-
|
|
411
|
+
_a22 = IMPL_KEY;
|
|
396
412
|
/**
|
|
397
413
|
* @internal
|
|
398
414
|
*/
|
|
399
|
-
Page[
|
|
415
|
+
Page[_a22] = "page";
|
|
400
416
|
|
|
401
417
|
// src/features/Tab.ts
|
|
402
|
-
var
|
|
418
|
+
var _a23;
|
|
403
419
|
var Tab = class extends BaseModel {
|
|
404
420
|
/**
|
|
405
421
|
* 加载数据
|
|
@@ -408,14 +424,14 @@ var Tab = class extends BaseModel {
|
|
|
408
424
|
throw new Error("not implemented");
|
|
409
425
|
}
|
|
410
426
|
};
|
|
411
|
-
|
|
427
|
+
_a23 = IMPL_KEY;
|
|
412
428
|
/**
|
|
413
429
|
* @internal
|
|
414
430
|
*/
|
|
415
|
-
Tab[
|
|
431
|
+
Tab[_a23] = "tab";
|
|
416
432
|
|
|
417
433
|
// src/features/View.ts
|
|
418
|
-
var
|
|
434
|
+
var _a24;
|
|
419
435
|
var View = class extends BaseModel {
|
|
420
436
|
/**
|
|
421
437
|
* 加载数据
|
|
@@ -424,41 +440,41 @@ var View = class extends BaseModel {
|
|
|
424
440
|
throw new Error("not implemented");
|
|
425
441
|
}
|
|
426
442
|
};
|
|
427
|
-
|
|
443
|
+
_a24 = IMPL_KEY;
|
|
428
444
|
/**
|
|
429
445
|
* @internal
|
|
430
446
|
*/
|
|
431
|
-
View[
|
|
447
|
+
View[_a24] = "view";
|
|
432
448
|
|
|
433
449
|
// src/features/CustomComponent.ts
|
|
434
|
-
var
|
|
450
|
+
var _a25;
|
|
435
451
|
var CustomComponent = class extends BaseModel {
|
|
436
452
|
};
|
|
437
|
-
|
|
453
|
+
_a25 = IMPL_KEY;
|
|
438
454
|
/**
|
|
439
455
|
* @internal
|
|
440
456
|
*/
|
|
441
|
-
CustomComponent[
|
|
457
|
+
CustomComponent[_a25] = "customComponent";
|
|
442
458
|
|
|
443
459
|
// src/features/CustomField.ts
|
|
444
|
-
var
|
|
460
|
+
var _a26;
|
|
445
461
|
var CustomField = class extends BaseModel {
|
|
446
462
|
};
|
|
447
|
-
|
|
463
|
+
_a26 = IMPL_KEY;
|
|
448
464
|
/**
|
|
449
465
|
* @internal
|
|
450
466
|
*/
|
|
451
|
-
CustomField[
|
|
467
|
+
CustomField[_a26] = "customField";
|
|
452
468
|
|
|
453
469
|
// src/features/BuilderComponent.ts
|
|
454
|
-
var
|
|
470
|
+
var _a27;
|
|
455
471
|
var BuilderComponent = class extends BaseModel {
|
|
456
472
|
};
|
|
457
|
-
|
|
473
|
+
_a27 = IMPL_KEY;
|
|
458
474
|
/**
|
|
459
475
|
* @internal
|
|
460
476
|
*/
|
|
461
|
-
BuilderComponent[
|
|
477
|
+
BuilderComponent[_a27] = "liteAppComponent";
|
|
462
478
|
|
|
463
479
|
// src/client.ts
|
|
464
480
|
function getImplClass(decl, impls) {
|
|
@@ -570,6 +586,13 @@ var _SDKClient = class {
|
|
|
570
586
|
get toast() {
|
|
571
587
|
return getImplValue(Toast, this._meegoBizHub);
|
|
572
588
|
}
|
|
589
|
+
/**
|
|
590
|
+
* 地理位置
|
|
591
|
+
* only mobile 2.0
|
|
592
|
+
*/
|
|
593
|
+
get geolocation() {
|
|
594
|
+
return getImplValue(Geolocation, this._meegoBizHub);
|
|
595
|
+
}
|
|
573
596
|
/**
|
|
574
597
|
* 富文本编辑器
|
|
575
598
|
* only 2.0
|
|
@@ -666,7 +689,7 @@ var SDKClient = _SDKClient;
|
|
|
666
689
|
/**
|
|
667
690
|
* SDK 版本号
|
|
668
691
|
*/
|
|
669
|
-
SDKClient.version = "2.0.
|
|
692
|
+
SDKClient.version = "2.0.18-dev.0";
|
|
670
693
|
|
|
671
694
|
// src/types/biz.ts
|
|
672
695
|
var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
|
|
@@ -869,6 +892,7 @@ export {
|
|
|
869
892
|
Field,
|
|
870
893
|
FieldType,
|
|
871
894
|
FlowMode,
|
|
895
|
+
Geolocation,
|
|
872
896
|
IMPL_KEY,
|
|
873
897
|
Intercept,
|
|
874
898
|
InterceptEvent,
|
package/dist/lib/index.js
CHANGED
|
@@ -65,6 +65,7 @@ __export(src_exports, {
|
|
|
65
65
|
Field: () => Field,
|
|
66
66
|
FieldType: () => FieldType,
|
|
67
67
|
FlowMode: () => FlowMode,
|
|
68
|
+
Geolocation: () => Geolocation,
|
|
68
69
|
IMPL_KEY: () => IMPL_KEY,
|
|
69
70
|
Intercept: () => Intercept,
|
|
70
71
|
InterceptEvent: () => InterceptEvent,
|
|
@@ -370,8 +371,24 @@ _a15 = IMPL_KEY;
|
|
|
370
371
|
*/
|
|
371
372
|
Utils[_a15] = "utils";
|
|
372
373
|
|
|
373
|
-
// src/
|
|
374
|
+
// src/biz/Geolocation.ts
|
|
374
375
|
var _a16;
|
|
376
|
+
var Geolocation = class extends BaseModel {
|
|
377
|
+
/**
|
|
378
|
+
* @internal
|
|
379
|
+
*/
|
|
380
|
+
static load() {
|
|
381
|
+
throw new Error("not implemented");
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
_a16 = IMPL_KEY;
|
|
385
|
+
/**
|
|
386
|
+
* @internal
|
|
387
|
+
*/
|
|
388
|
+
Geolocation[_a16] = "geolocation";
|
|
389
|
+
|
|
390
|
+
// src/features/ContainerModal.ts
|
|
391
|
+
var _a17;
|
|
375
392
|
var ContainerModal = class extends BaseModel {
|
|
376
393
|
/**
|
|
377
394
|
* 加载数据
|
|
@@ -380,14 +397,14 @@ var ContainerModal = class extends BaseModel {
|
|
|
380
397
|
throw new Error("not implemented");
|
|
381
398
|
}
|
|
382
399
|
};
|
|
383
|
-
|
|
400
|
+
_a17 = IMPL_KEY;
|
|
384
401
|
/**
|
|
385
402
|
* @internal
|
|
386
403
|
*/
|
|
387
|
-
ContainerModal[
|
|
404
|
+
ContainerModal[_a17] = "containerModal";
|
|
388
405
|
|
|
389
406
|
// src/features/Intercept.ts
|
|
390
|
-
var
|
|
407
|
+
var _a18;
|
|
391
408
|
var Intercept = class extends BaseModel {
|
|
392
409
|
/**
|
|
393
410
|
* 加载数据
|
|
@@ -396,14 +413,14 @@ var Intercept = class extends BaseModel {
|
|
|
396
413
|
throw new Error("not implemented");
|
|
397
414
|
}
|
|
398
415
|
};
|
|
399
|
-
|
|
416
|
+
_a18 = IMPL_KEY;
|
|
400
417
|
/**
|
|
401
418
|
* @internal
|
|
402
419
|
*/
|
|
403
|
-
Intercept[
|
|
420
|
+
Intercept[_a18] = "intercept";
|
|
404
421
|
|
|
405
422
|
// src/features/Control.ts
|
|
406
|
-
var
|
|
423
|
+
var _a19;
|
|
407
424
|
var Control = class extends BaseModel {
|
|
408
425
|
/**
|
|
409
426
|
* 加载数据
|
|
@@ -412,14 +429,14 @@ var Control = class extends BaseModel {
|
|
|
412
429
|
throw new Error("not implemented");
|
|
413
430
|
}
|
|
414
431
|
};
|
|
415
|
-
|
|
432
|
+
_a19 = IMPL_KEY;
|
|
416
433
|
/**
|
|
417
434
|
* @internal
|
|
418
435
|
*/
|
|
419
|
-
Control[
|
|
436
|
+
Control[_a19] = "control";
|
|
420
437
|
|
|
421
438
|
// src/features/Button.ts
|
|
422
|
-
var
|
|
439
|
+
var _a20;
|
|
423
440
|
var Button = class extends BaseModel {
|
|
424
441
|
/**
|
|
425
442
|
* 加载数据
|
|
@@ -428,14 +445,14 @@ var Button = class extends BaseModel {
|
|
|
428
445
|
throw new Error("not implemented");
|
|
429
446
|
}
|
|
430
447
|
};
|
|
431
|
-
|
|
448
|
+
_a20 = IMPL_KEY;
|
|
432
449
|
/**
|
|
433
450
|
* @internal
|
|
434
451
|
*/
|
|
435
|
-
Button[
|
|
452
|
+
Button[_a20] = "button";
|
|
436
453
|
|
|
437
454
|
// src/features/Configuration.ts
|
|
438
|
-
var
|
|
455
|
+
var _a21;
|
|
439
456
|
var Configuration = class extends BaseModel {
|
|
440
457
|
/**
|
|
441
458
|
* 加载数据
|
|
@@ -444,14 +461,14 @@ var Configuration = class extends BaseModel {
|
|
|
444
461
|
throw new Error("not implemented");
|
|
445
462
|
}
|
|
446
463
|
};
|
|
447
|
-
|
|
464
|
+
_a21 = IMPL_KEY;
|
|
448
465
|
/**
|
|
449
466
|
* @internal
|
|
450
467
|
*/
|
|
451
|
-
Configuration[
|
|
468
|
+
Configuration[_a21] = "configuration";
|
|
452
469
|
|
|
453
470
|
// src/features/Page.ts
|
|
454
|
-
var
|
|
471
|
+
var _a22;
|
|
455
472
|
var Page = class extends BaseModel {
|
|
456
473
|
/**
|
|
457
474
|
* 加载数据
|
|
@@ -460,14 +477,14 @@ var Page = class extends BaseModel {
|
|
|
460
477
|
throw new Error("not implemented");
|
|
461
478
|
}
|
|
462
479
|
};
|
|
463
|
-
|
|
480
|
+
_a22 = IMPL_KEY;
|
|
464
481
|
/**
|
|
465
482
|
* @internal
|
|
466
483
|
*/
|
|
467
|
-
Page[
|
|
484
|
+
Page[_a22] = "page";
|
|
468
485
|
|
|
469
486
|
// src/features/Tab.ts
|
|
470
|
-
var
|
|
487
|
+
var _a23;
|
|
471
488
|
var Tab = class extends BaseModel {
|
|
472
489
|
/**
|
|
473
490
|
* 加载数据
|
|
@@ -476,14 +493,14 @@ var Tab = class extends BaseModel {
|
|
|
476
493
|
throw new Error("not implemented");
|
|
477
494
|
}
|
|
478
495
|
};
|
|
479
|
-
|
|
496
|
+
_a23 = IMPL_KEY;
|
|
480
497
|
/**
|
|
481
498
|
* @internal
|
|
482
499
|
*/
|
|
483
|
-
Tab[
|
|
500
|
+
Tab[_a23] = "tab";
|
|
484
501
|
|
|
485
502
|
// src/features/View.ts
|
|
486
|
-
var
|
|
503
|
+
var _a24;
|
|
487
504
|
var View = class extends BaseModel {
|
|
488
505
|
/**
|
|
489
506
|
* 加载数据
|
|
@@ -492,41 +509,41 @@ var View = class extends BaseModel {
|
|
|
492
509
|
throw new Error("not implemented");
|
|
493
510
|
}
|
|
494
511
|
};
|
|
495
|
-
|
|
512
|
+
_a24 = IMPL_KEY;
|
|
496
513
|
/**
|
|
497
514
|
* @internal
|
|
498
515
|
*/
|
|
499
|
-
View[
|
|
516
|
+
View[_a24] = "view";
|
|
500
517
|
|
|
501
518
|
// src/features/CustomComponent.ts
|
|
502
|
-
var
|
|
519
|
+
var _a25;
|
|
503
520
|
var CustomComponent = class extends BaseModel {
|
|
504
521
|
};
|
|
505
|
-
|
|
522
|
+
_a25 = IMPL_KEY;
|
|
506
523
|
/**
|
|
507
524
|
* @internal
|
|
508
525
|
*/
|
|
509
|
-
CustomComponent[
|
|
526
|
+
CustomComponent[_a25] = "customComponent";
|
|
510
527
|
|
|
511
528
|
// src/features/CustomField.ts
|
|
512
|
-
var
|
|
529
|
+
var _a26;
|
|
513
530
|
var CustomField = class extends BaseModel {
|
|
514
531
|
};
|
|
515
|
-
|
|
532
|
+
_a26 = IMPL_KEY;
|
|
516
533
|
/**
|
|
517
534
|
* @internal
|
|
518
535
|
*/
|
|
519
|
-
CustomField[
|
|
536
|
+
CustomField[_a26] = "customField";
|
|
520
537
|
|
|
521
538
|
// src/features/BuilderComponent.ts
|
|
522
|
-
var
|
|
539
|
+
var _a27;
|
|
523
540
|
var BuilderComponent = class extends BaseModel {
|
|
524
541
|
};
|
|
525
|
-
|
|
542
|
+
_a27 = IMPL_KEY;
|
|
526
543
|
/**
|
|
527
544
|
* @internal
|
|
528
545
|
*/
|
|
529
|
-
BuilderComponent[
|
|
546
|
+
BuilderComponent[_a27] = "liteAppComponent";
|
|
530
547
|
|
|
531
548
|
// src/client.ts
|
|
532
549
|
function getImplClass(decl, impls) {
|
|
@@ -638,6 +655,13 @@ var _SDKClient = class {
|
|
|
638
655
|
get toast() {
|
|
639
656
|
return getImplValue(Toast, this._meegoBizHub);
|
|
640
657
|
}
|
|
658
|
+
/**
|
|
659
|
+
* 地理位置
|
|
660
|
+
* only mobile 2.0
|
|
661
|
+
*/
|
|
662
|
+
get geolocation() {
|
|
663
|
+
return getImplValue(Geolocation, this._meegoBizHub);
|
|
664
|
+
}
|
|
641
665
|
/**
|
|
642
666
|
* 富文本编辑器
|
|
643
667
|
* only 2.0
|
|
@@ -734,7 +758,7 @@ var SDKClient = _SDKClient;
|
|
|
734
758
|
/**
|
|
735
759
|
* SDK 版本号
|
|
736
760
|
*/
|
|
737
|
-
SDKClient.version = "2.0.
|
|
761
|
+
SDKClient.version = "2.0.18-dev.0";
|
|
738
762
|
|
|
739
763
|
// src/types/biz.ts
|
|
740
764
|
var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
|
|
@@ -938,6 +962,7 @@ var src_default = SDKClient;
|
|
|
938
962
|
Field,
|
|
939
963
|
FieldType,
|
|
940
964
|
FlowMode,
|
|
965
|
+
Geolocation,
|
|
941
966
|
IMPL_KEY,
|
|
942
967
|
Intercept,
|
|
943
968
|
InterceptEvent,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -866,7 +866,6 @@ type LiteAppPropField = {
|
|
|
866
866
|
};
|
|
867
867
|
type LiteAppPropView = {
|
|
868
868
|
viewId: string;
|
|
869
|
-
isMultiProject: boolean;
|
|
870
869
|
};
|
|
871
870
|
type LiteAppPropWorkItemListAfterFilter = LiteAppPropWorkItemInstance[];
|
|
872
871
|
type LiteAppPropWorkItemListAfterSort = LiteAppPropWorkItemInstance[];
|
|
@@ -1813,6 +1812,61 @@ declare abstract class Utils extends BaseModel {
|
|
|
1813
1812
|
abstract overwriteThemeForSemiUI(): Promise<void>;
|
|
1814
1813
|
}
|
|
1815
1814
|
|
|
1815
|
+
/**
|
|
1816
|
+
* @internal
|
|
1817
|
+
*/
|
|
1818
|
+
declare class CustomError extends Error {
|
|
1819
|
+
originMessage: string;
|
|
1820
|
+
constructor(options: {
|
|
1821
|
+
message: string;
|
|
1822
|
+
originMessage: string;
|
|
1823
|
+
});
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* @public
|
|
1828
|
+
* 系统设备权限未授权使用
|
|
1829
|
+
*/
|
|
1830
|
+
declare class SystemPermissionDeniedError extends CustomError {
|
|
1831
|
+
constructor(options: {
|
|
1832
|
+
originMessage: string;
|
|
1833
|
+
});
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
interface GeolocationCoordinates {
|
|
1837
|
+
/**
|
|
1838
|
+
* 经度
|
|
1839
|
+
*/
|
|
1840
|
+
longitude: number;
|
|
1841
|
+
/**
|
|
1842
|
+
* 纬度
|
|
1843
|
+
*/
|
|
1844
|
+
latitude: number;
|
|
1845
|
+
}
|
|
1846
|
+
interface GeolocationPosition {
|
|
1847
|
+
coords: GeolocationCoordinates;
|
|
1848
|
+
coordSystem: 'WGS-84' | 'GCJ-02';
|
|
1849
|
+
}
|
|
1850
|
+
/**
|
|
1851
|
+
* @mobile
|
|
1852
|
+
* @public
|
|
1853
|
+
* 地理位置
|
|
1854
|
+
*/
|
|
1855
|
+
declare abstract class Geolocation extends BaseModel {
|
|
1856
|
+
/**
|
|
1857
|
+
* @internal
|
|
1858
|
+
*/
|
|
1859
|
+
protected static [IMPL_KEY]: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* @internal
|
|
1862
|
+
*/
|
|
1863
|
+
private static load;
|
|
1864
|
+
/**
|
|
1865
|
+
* 读取用户当前的地理位置
|
|
1866
|
+
*/
|
|
1867
|
+
abstract getCurrentPosition(callback: (error?: SystemPermissionDeniedError | Error, result?: GeolocationPosition) => void): Promise<void>;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1816
1870
|
/**
|
|
1817
1871
|
* @public
|
|
1818
1872
|
* 插件容器模态框
|
|
@@ -2289,6 +2343,11 @@ declare class SDKClient {
|
|
|
2289
2343
|
* 提示
|
|
2290
2344
|
*/
|
|
2291
2345
|
get toast(): Toast;
|
|
2346
|
+
/**
|
|
2347
|
+
* 地理位置
|
|
2348
|
+
* only mobile 2.0
|
|
2349
|
+
*/
|
|
2350
|
+
get geolocation(): Geolocation;
|
|
2292
2351
|
/**
|
|
2293
2352
|
* 富文本编辑器
|
|
2294
2353
|
* only 2.0
|
|
@@ -2349,17 +2408,6 @@ declare class SDKClient {
|
|
|
2349
2408
|
config(options: SDKClientOptions): Promise<this>;
|
|
2350
2409
|
}
|
|
2351
2410
|
|
|
2352
|
-
/**
|
|
2353
|
-
* @internal
|
|
2354
|
-
*/
|
|
2355
|
-
declare class CustomError extends Error {
|
|
2356
|
-
originMessage: string;
|
|
2357
|
-
constructor(options: {
|
|
2358
|
-
message: string;
|
|
2359
|
-
originMessage: string;
|
|
2360
|
-
});
|
|
2361
|
-
}
|
|
2362
|
-
|
|
2363
2411
|
/**
|
|
2364
2412
|
* @public
|
|
2365
2413
|
* 内部逻辑异常
|
|
@@ -2432,4 +2480,4 @@ declare class NotSupportedError extends CustomError {
|
|
|
2432
2480
|
* @packageDocumentation
|
|
2433
2481
|
*/
|
|
2434
2482
|
|
|
2435
|
-
export { ActionSheet, ActionSheetOptions, AttributeType, BatchButtonFeatureContext, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, BuilderComponent, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, ComponentScheduleIdentity, ComponentScheduleScene, Configuration, ConfigurationFeatureContext, ContainerModal, ContainerModalConfigureOptions, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, CustomComponent, CustomComponentFeatureContext, CustomComponentProps, CustomComponentType, CustomField, CustomFieldConfig, CustomFieldFeatureContext, CustomFieldProps, CustomFieldValidateMsg, CustomFieldValueType, ExCompoundFieldValueType, Field, FieldType, FieldValue, FlowMode, I18nTitleConfig, IMPL_KEY, IPluginCustomBuildConfig, IRichTextEditorImageUploadComplete, IntegrationFeatureContext, Intercept, InterceptEvent, InterceptFeatureContext, InternalError, InvalidParamsError, Language, LiteAppCompLayoutConfig, LiteAppCompPropBriefConfig, LiteAppCompPropFullConfig, LiteAppCompPropSelectConfig, LiteAppCompPropValueType, LiteAppComponentConfig, LiteAppComponentFeatureContext, LiteAppComponentPreset, LiteAppComponentProps, LiteAppPropBoolean, LiteAppPropDateRange, LiteAppPropDateWithTime, LiteAppPropField, LiteAppPropLayout, LiteAppPropMultiSelect, LiteAppPropNumber, LiteAppPropSelect, LiteAppPropTemplateType, LiteAppPropText, LiteAppPropView, LiteAppPropWorkItemInstance, LiteAppPropWorkItemListAfterFilter, LiteAppPropWorkItemListAfterSort, LiteAppPropWorkItemType, MEEGO_BIZ_HUB, Modal, ModalConfirmOptions, ModalOpenOptions, Navigation, NoAuthError, NodeStatus, NotFoundError, NotSupportedError, Off, OutOfLimitError, Page, PageFeatureContext, RichTextEditor, RichTextEditorContent, RichTextEditorOptions, Role, RoleOwners, SDKClient, SDKClientOptions, ScheduleCompValidateMsg, ScheduleCompValueType, ScheduleUnitButtonFeatureContext, Shared, Space, Storage, SubFieldType, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
|
|
2483
|
+
export { ActionSheet, ActionSheetOptions, AttributeType, BatchButtonFeatureContext, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, BuilderComponent, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, ComponentScheduleIdentity, ComponentScheduleScene, Configuration, ConfigurationFeatureContext, ContainerModal, ContainerModalConfigureOptions, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, CustomComponent, CustomComponentFeatureContext, CustomComponentProps, CustomComponentType, CustomField, CustomFieldConfig, CustomFieldFeatureContext, CustomFieldProps, CustomFieldValidateMsg, CustomFieldValueType, ExCompoundFieldValueType, Field, FieldType, FieldValue, FlowMode, Geolocation, GeolocationCoordinates, GeolocationPosition, I18nTitleConfig, IMPL_KEY, IPluginCustomBuildConfig, IRichTextEditorImageUploadComplete, IntegrationFeatureContext, Intercept, InterceptEvent, InterceptFeatureContext, InternalError, InvalidParamsError, Language, LiteAppCompLayoutConfig, LiteAppCompPropBriefConfig, LiteAppCompPropFullConfig, LiteAppCompPropSelectConfig, LiteAppCompPropValueType, LiteAppComponentConfig, LiteAppComponentFeatureContext, LiteAppComponentPreset, LiteAppComponentProps, LiteAppPropBoolean, LiteAppPropDateRange, LiteAppPropDateWithTime, LiteAppPropField, LiteAppPropLayout, LiteAppPropMultiSelect, LiteAppPropNumber, LiteAppPropSelect, LiteAppPropTemplateType, LiteAppPropText, LiteAppPropView, LiteAppPropWorkItemInstance, LiteAppPropWorkItemListAfterFilter, LiteAppPropWorkItemListAfterSort, LiteAppPropWorkItemType, MEEGO_BIZ_HUB, Modal, ModalConfirmOptions, ModalOpenOptions, Navigation, NoAuthError, NodeStatus, NotFoundError, NotSupportedError, Off, OutOfLimitError, Page, PageFeatureContext, RichTextEditor, RichTextEditorContent, RichTextEditorOptions, Role, RoleOwners, SDKClient, SDKClientOptions, ScheduleCompValidateMsg, ScheduleCompValueType, ScheduleUnitButtonFeatureContext, Shared, Space, Storage, SubFieldType, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
|