@lark-project/js-sdk 2.0.18-dev.0 → 2.1.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/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Change Log
2
+ ## 2.0.16 (2025/08/12)
3
+ - 「Add」新增 Script 点位相关定义
4
+
2
5
  ## 2.0.12 (2025/07/16)
3
6
  - 「Add」新增 CustomField 点位相关定义
4
7
  - 「Add」新增 JSSDK client 对 CustomField 和 CustomComponent 的引用
package/dist/es/index.js CHANGED
@@ -302,11 +302,11 @@ _a15 = IMPL_KEY;
302
302
  */
303
303
  Utils[_a15] = "utils";
304
304
 
305
- // src/biz/Geolocation.ts
305
+ // src/features/ContainerModal.ts
306
306
  var _a16;
307
- var Geolocation = class extends BaseModel {
307
+ var ContainerModal = class extends BaseModel {
308
308
  /**
309
- * @internal
309
+ * 加载数据
310
310
  */
311
311
  static load() {
312
312
  throw new Error("not implemented");
@@ -316,11 +316,11 @@ _a16 = IMPL_KEY;
316
316
  /**
317
317
  * @internal
318
318
  */
319
- Geolocation[_a16] = "geolocation";
319
+ ContainerModal[_a16] = "containerModal";
320
320
 
321
- // src/features/ContainerModal.ts
321
+ // src/features/Intercept.ts
322
322
  var _a17;
323
- var ContainerModal = class extends BaseModel {
323
+ var Intercept = class extends BaseModel {
324
324
  /**
325
325
  * 加载数据
326
326
  */
@@ -332,11 +332,11 @@ _a17 = IMPL_KEY;
332
332
  /**
333
333
  * @internal
334
334
  */
335
- ContainerModal[_a17] = "containerModal";
335
+ Intercept[_a17] = "intercept";
336
336
 
337
- // src/features/Intercept.ts
337
+ // src/features/Control.ts
338
338
  var _a18;
339
- var Intercept = class extends BaseModel {
339
+ var Control = class extends BaseModel {
340
340
  /**
341
341
  * 加载数据
342
342
  */
@@ -348,11 +348,11 @@ _a18 = IMPL_KEY;
348
348
  /**
349
349
  * @internal
350
350
  */
351
- Intercept[_a18] = "intercept";
351
+ Control[_a18] = "control";
352
352
 
353
- // src/features/Control.ts
353
+ // src/features/Button.ts
354
354
  var _a19;
355
- var Control = class extends BaseModel {
355
+ var Button = class extends BaseModel {
356
356
  /**
357
357
  * 加载数据
358
358
  */
@@ -364,11 +364,11 @@ _a19 = IMPL_KEY;
364
364
  /**
365
365
  * @internal
366
366
  */
367
- Control[_a19] = "control";
367
+ Button[_a19] = "button";
368
368
 
369
- // src/features/Button.ts
369
+ // src/features/Configuration.ts
370
370
  var _a20;
371
- var Button = class extends BaseModel {
371
+ var Configuration = class extends BaseModel {
372
372
  /**
373
373
  * 加载数据
374
374
  */
@@ -380,11 +380,11 @@ _a20 = IMPL_KEY;
380
380
  /**
381
381
  * @internal
382
382
  */
383
- Button[_a20] = "button";
383
+ Configuration[_a20] = "configuration";
384
384
 
385
- // src/features/Configuration.ts
385
+ // src/features/Page.ts
386
386
  var _a21;
387
- var Configuration = class extends BaseModel {
387
+ var Page = class extends BaseModel {
388
388
  /**
389
389
  * 加载数据
390
390
  */
@@ -396,23 +396,17 @@ _a21 = IMPL_KEY;
396
396
  /**
397
397
  * @internal
398
398
  */
399
- Configuration[_a21] = "configuration";
399
+ Page[_a21] = "page";
400
400
 
401
- // src/features/Page.ts
401
+ // src/features/Script.ts
402
402
  var _a22;
403
- var Page = class extends BaseModel {
404
- /**
405
- * 加载数据
406
- */
407
- static load() {
408
- throw new Error("not implemented");
409
- }
403
+ var Script = class extends BaseModel {
410
404
  };
411
405
  _a22 = IMPL_KEY;
412
406
  /**
413
407
  * @internal
414
408
  */
415
- Page[_a22] = "page";
409
+ Script[_a22] = "script";
416
410
 
417
411
  // src/features/Tab.ts
418
412
  var _a23;
@@ -512,6 +506,13 @@ var _SDKClient = class {
512
506
  get button() {
513
507
  return getImplValue(Button, this._meegoBizHub);
514
508
  }
509
+ /**
510
+ * 脚本容器特有能力
511
+ * only 2.0
512
+ */
513
+ get script() {
514
+ return getImplValue(Script, this._meegoBizHub);
515
+ }
515
516
  /**
516
517
  * 配置点位容器特有能力
517
518
  * only 2.0
@@ -586,13 +587,6 @@ var _SDKClient = class {
586
587
  get toast() {
587
588
  return getImplValue(Toast, this._meegoBizHub);
588
589
  }
589
- /**
590
- * 地理位置
591
- * only mobile 2.0
592
- */
593
- get geolocation() {
594
- return getImplValue(Geolocation, this._meegoBizHub);
595
- }
596
590
  /**
597
591
  * 富文本编辑器
598
592
  * only 2.0
@@ -689,7 +683,7 @@ var SDKClient = _SDKClient;
689
683
  /**
690
684
  * SDK 版本号
691
685
  */
692
- SDKClient.version = "2.0.18-dev.0";
686
+ SDKClient.version = "2.1.0";
693
687
 
694
688
  // src/types/biz.ts
695
689
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
@@ -892,7 +886,6 @@ export {
892
886
  Field,
893
887
  FieldType,
894
888
  FlowMode,
895
- Geolocation,
896
889
  IMPL_KEY,
897
890
  Intercept,
898
891
  InterceptEvent,
@@ -910,6 +903,7 @@ export {
910
903
  Page,
911
904
  RichTextEditor,
912
905
  SDKClient,
906
+ Script,
913
907
  Shared,
914
908
  Space,
915
909
  Storage,
package/dist/lib/index.js CHANGED
@@ -65,7 +65,6 @@ __export(src_exports, {
65
65
  Field: () => Field,
66
66
  FieldType: () => FieldType,
67
67
  FlowMode: () => FlowMode,
68
- Geolocation: () => Geolocation,
69
68
  IMPL_KEY: () => IMPL_KEY,
70
69
  Intercept: () => Intercept,
71
70
  InterceptEvent: () => InterceptEvent,
@@ -83,6 +82,7 @@ __export(src_exports, {
83
82
  Page: () => Page,
84
83
  RichTextEditor: () => RichTextEditor,
85
84
  SDKClient: () => SDKClient,
85
+ Script: () => Script,
86
86
  Shared: () => Shared,
87
87
  Space: () => Space,
88
88
  Storage: () => Storage,
@@ -371,11 +371,11 @@ _a15 = IMPL_KEY;
371
371
  */
372
372
  Utils[_a15] = "utils";
373
373
 
374
- // src/biz/Geolocation.ts
374
+ // src/features/ContainerModal.ts
375
375
  var _a16;
376
- var Geolocation = class extends BaseModel {
376
+ var ContainerModal = class extends BaseModel {
377
377
  /**
378
- * @internal
378
+ * 加载数据
379
379
  */
380
380
  static load() {
381
381
  throw new Error("not implemented");
@@ -385,11 +385,11 @@ _a16 = IMPL_KEY;
385
385
  /**
386
386
  * @internal
387
387
  */
388
- Geolocation[_a16] = "geolocation";
388
+ ContainerModal[_a16] = "containerModal";
389
389
 
390
- // src/features/ContainerModal.ts
390
+ // src/features/Intercept.ts
391
391
  var _a17;
392
- var ContainerModal = class extends BaseModel {
392
+ var Intercept = class extends BaseModel {
393
393
  /**
394
394
  * 加载数据
395
395
  */
@@ -401,11 +401,11 @@ _a17 = IMPL_KEY;
401
401
  /**
402
402
  * @internal
403
403
  */
404
- ContainerModal[_a17] = "containerModal";
404
+ Intercept[_a17] = "intercept";
405
405
 
406
- // src/features/Intercept.ts
406
+ // src/features/Control.ts
407
407
  var _a18;
408
- var Intercept = class extends BaseModel {
408
+ var Control = class extends BaseModel {
409
409
  /**
410
410
  * 加载数据
411
411
  */
@@ -417,11 +417,11 @@ _a18 = IMPL_KEY;
417
417
  /**
418
418
  * @internal
419
419
  */
420
- Intercept[_a18] = "intercept";
420
+ Control[_a18] = "control";
421
421
 
422
- // src/features/Control.ts
422
+ // src/features/Button.ts
423
423
  var _a19;
424
- var Control = class extends BaseModel {
424
+ var Button = class extends BaseModel {
425
425
  /**
426
426
  * 加载数据
427
427
  */
@@ -433,11 +433,11 @@ _a19 = IMPL_KEY;
433
433
  /**
434
434
  * @internal
435
435
  */
436
- Control[_a19] = "control";
436
+ Button[_a19] = "button";
437
437
 
438
- // src/features/Button.ts
438
+ // src/features/Configuration.ts
439
439
  var _a20;
440
- var Button = class extends BaseModel {
440
+ var Configuration = class extends BaseModel {
441
441
  /**
442
442
  * 加载数据
443
443
  */
@@ -449,11 +449,11 @@ _a20 = IMPL_KEY;
449
449
  /**
450
450
  * @internal
451
451
  */
452
- Button[_a20] = "button";
452
+ Configuration[_a20] = "configuration";
453
453
 
454
- // src/features/Configuration.ts
454
+ // src/features/Page.ts
455
455
  var _a21;
456
- var Configuration = class extends BaseModel {
456
+ var Page = class extends BaseModel {
457
457
  /**
458
458
  * 加载数据
459
459
  */
@@ -465,23 +465,17 @@ _a21 = IMPL_KEY;
465
465
  /**
466
466
  * @internal
467
467
  */
468
- Configuration[_a21] = "configuration";
468
+ Page[_a21] = "page";
469
469
 
470
- // src/features/Page.ts
470
+ // src/features/Script.ts
471
471
  var _a22;
472
- var Page = class extends BaseModel {
473
- /**
474
- * 加载数据
475
- */
476
- static load() {
477
- throw new Error("not implemented");
478
- }
472
+ var Script = class extends BaseModel {
479
473
  };
480
474
  _a22 = IMPL_KEY;
481
475
  /**
482
476
  * @internal
483
477
  */
484
- Page[_a22] = "page";
478
+ Script[_a22] = "script";
485
479
 
486
480
  // src/features/Tab.ts
487
481
  var _a23;
@@ -581,6 +575,13 @@ var _SDKClient = class {
581
575
  get button() {
582
576
  return getImplValue(Button, this._meegoBizHub);
583
577
  }
578
+ /**
579
+ * 脚本容器特有能力
580
+ * only 2.0
581
+ */
582
+ get script() {
583
+ return getImplValue(Script, this._meegoBizHub);
584
+ }
584
585
  /**
585
586
  * 配置点位容器特有能力
586
587
  * only 2.0
@@ -655,13 +656,6 @@ var _SDKClient = class {
655
656
  get toast() {
656
657
  return getImplValue(Toast, this._meegoBizHub);
657
658
  }
658
- /**
659
- * 地理位置
660
- * only mobile 2.0
661
- */
662
- get geolocation() {
663
- return getImplValue(Geolocation, this._meegoBizHub);
664
- }
665
659
  /**
666
660
  * 富文本编辑器
667
661
  * only 2.0
@@ -758,7 +752,7 @@ var SDKClient = _SDKClient;
758
752
  /**
759
753
  * SDK 版本号
760
754
  */
761
- SDKClient.version = "2.0.18-dev.0";
755
+ SDKClient.version = "2.1.0";
762
756
 
763
757
  // src/types/biz.ts
764
758
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
@@ -962,7 +956,6 @@ var src_default = SDKClient;
962
956
  Field,
963
957
  FieldType,
964
958
  FlowMode,
965
- Geolocation,
966
959
  IMPL_KEY,
967
960
  Intercept,
968
961
  InterceptEvent,
@@ -980,6 +973,7 @@ var src_default = SDKClient;
980
973
  Page,
981
974
  RichTextEditor,
982
975
  SDKClient,
976
+ Script,
983
977
  Shared,
984
978
  Space,
985
979
  Storage,
@@ -448,6 +448,10 @@ interface BatchButtonFeatureContext {
448
448
  * 按钮构成
449
449
  */
450
450
  type ButtonFeatureContext = WorkItemButtonFeatureContext | CreateButtonFeatureContext | BatchButtonFeatureContext | ScheduleUnitButtonFeatureContext;
451
+ /**
452
+ * 脚本构成
453
+ */
454
+ type ScriptFeatureContext = ButtonFeatureContext;
451
455
  /**
452
456
  * 内嵌页面构成
453
457
  * 一个单独的导航入口+内嵌页面
@@ -1546,24 +1550,33 @@ interface ModalOpenOptions<Context> {
1546
1550
  /**
1547
1551
  * 是否全屏
1548
1552
  * 全屏时 width / height 无效
1553
+ * 仅 UI 模式支持
1549
1554
  */
1550
1555
  fullScreen?: boolean;
1551
1556
  /**
1552
1557
  * 是否允许通过点击遮罩来关闭对话框
1558
+ * 仅 UI 模式支持
1553
1559
  */
1554
1560
  maskClosable?: boolean;
1555
1561
  /**
1556
1562
  * 传入 Modal 内的上下文数据
1557
- * 注:传入的数据在 Modal 内是通过 sdk.containerModal.getContext() 来获取的
1563
+ * 注:传入的数据在 Modal 内是通过 sdk.Context.load().getCustomContext() 来获取的
1558
1564
  */
1559
1565
  context?: Context;
1566
+ /**
1567
+ * 弹窗标题
1568
+ * 仅脚本模式支持
1569
+ */
1570
+ title?: string;
1560
1571
  /**
1561
1572
  * 响应弹窗内调用的 sdk.containerModal.submit 方法
1573
+ * 仅 UI 模式支持
1562
1574
  * @param params 弹窗内调用的 sdk.containerModal.submit 的方法时传入的自定义参数
1563
1575
  */
1564
1576
  onSubmit?: (params: unknown) => void;
1565
1577
  /**
1566
1578
  * 弹窗被关闭后触发的回调
1579
+ * 仅 UI 模式支持
1567
1580
  */
1568
1581
  afterClose?: () => void;
1569
1582
  }
@@ -1595,11 +1608,11 @@ declare abstract class Modal extends BaseModel {
1595
1608
  * only web 2.0
1596
1609
  * 打开自定义内容的模态框
1597
1610
  * @param options
1598
- * @returns 当前打开 Modal 的关闭方法
1611
+ * @returns 当前打开 Modal 的关闭方法 (仅 UI 模式下返回)
1599
1612
  */
1600
1613
  abstract open<Context>(options: ModalOpenOptions<Context>): Promise<{
1601
1614
  close: () => void;
1602
- }>;
1615
+ } | void>;
1603
1616
  }
1604
1617
 
1605
1618
  interface IRichTextEditorImageUploadComplete {
@@ -1812,61 +1825,6 @@ declare abstract class Utils extends BaseModel {
1812
1825
  abstract overwriteThemeForSemiUI(): Promise<void>;
1813
1826
  }
1814
1827
 
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
-
1870
1828
  /**
1871
1829
  * @public
1872
1830
  * 插件容器模态框
@@ -2060,6 +2018,27 @@ declare abstract class Page extends BaseModel {
2060
2018
  abstract getContext(): Promise<PageFeatureContext>;
2061
2019
  }
2062
2020
 
2021
+ /**
2022
+ * @public
2023
+ * 脚本
2024
+ */
2025
+ declare abstract class Script extends BaseModel {
2026
+ /**
2027
+ * @internal
2028
+ */
2029
+ protected static [IMPL_KEY]: string;
2030
+ /**
2031
+ * only web 2.0
2032
+ * 获取当前脚本运行环境的上下文
2033
+ */
2034
+ abstract getContext(): Promise<ScriptFeatureContext>;
2035
+ /**
2036
+ * only web 2.0
2037
+ * 主动停止脚本执行
2038
+ */
2039
+ abstract end(): Promise<void>;
2040
+ }
2041
+
2063
2042
  /**
2064
2043
  * @public
2065
2044
  * 详情页
@@ -2291,6 +2270,11 @@ declare class SDKClient {
2291
2270
  * only 2.0
2292
2271
  */
2293
2272
  get button(): Button;
2273
+ /**
2274
+ * 脚本容器特有能力
2275
+ * only 2.0
2276
+ */
2277
+ get script(): Script;
2294
2278
  /**
2295
2279
  * 配置点位容器特有能力
2296
2280
  * only 2.0
@@ -2343,11 +2327,6 @@ declare class SDKClient {
2343
2327
  * 提示
2344
2328
  */
2345
2329
  get toast(): Toast;
2346
- /**
2347
- * 地理位置
2348
- * only mobile 2.0
2349
- */
2350
- get geolocation(): Geolocation;
2351
2330
  /**
2352
2331
  * 富文本编辑器
2353
2332
  * only 2.0
@@ -2408,6 +2387,17 @@ declare class SDKClient {
2408
2387
  config(options: SDKClientOptions): Promise<this>;
2409
2388
  }
2410
2389
 
2390
+ /**
2391
+ * @internal
2392
+ */
2393
+ declare class CustomError extends Error {
2394
+ originMessage: string;
2395
+ constructor(options: {
2396
+ message: string;
2397
+ originMessage: string;
2398
+ });
2399
+ }
2400
+
2411
2401
  /**
2412
2402
  * @public
2413
2403
  * 内部逻辑异常
@@ -2480,4 +2470,4 @@ declare class NotSupportedError extends CustomError {
2480
2470
  * @packageDocumentation
2481
2471
  */
2482
2472
 
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 };
2473
+ 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, Script, ScriptFeatureContext, Shared, Space, Storage, SubFieldType, Tab, TabFeatureContext, Toast, ToastOptions, User, UserInfo, Utils, View, ViewFeatureContext, WbsStatus, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-project/js-sdk",
3
- "version": "2.0.18-dev.0",
3
+ "version": "2.1.0",
4
4
  "runtimeMinVersions": {
5
5
  "web": "2.1.0",
6
6
  "mobile": "1.1.0"