@plaso-infi/whiteboard-sdk 0.3.1 → 0.3.3
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/cjs/{icon_map-040ca8ac-b9dcde73.js → icon_map-5900d139-355e2a74.js} +1 -1
- package/dist/cjs/{index-cee350d7-4bbd7907.js → index-0217d72b-4d5fa843.js} +1 -1
- package/dist/cjs/index-c5ee71b0.js +73 -0
- package/dist/cjs/index.css +71 -22
- package/dist/cjs/index.d.ts +12 -10
- package/dist/cjs/index.js +1 -1
- package/dist/esm/{icon_map-040ca8ac-083a73f8.js → icon_map-5900d139-b3477b74.js} +1 -1
- package/dist/esm/{index-cee350d7-231de833.js → index-0217d72b-28931f02.js} +1 -1
- package/dist/esm/index-de5b7558.js +73 -0
- package/dist/esm/index.css +71 -22
- package/dist/esm/index.d.ts +12 -10
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-283c50a5.js +0 -73
- package/dist/esm/index-14a99782.js +0 -73
- /package/dist/cjs/{hls-0e920928-640f06e1.js → hls-676ad386-40dd72b4.js} +0 -0
- /package/dist/cjs/{pdf_lib-157b525e-c4270040.js → pdf_lib-896c4572-855937ac.js} +0 -0
- /package/dist/esm/{hls-0e920928-ee90a694.js → hls-676ad386-3e7b70bc.js} +0 -0
- /package/dist/esm/{pdf_lib-157b525e-9fdf90b0.js → pdf_lib-896c4572-3fc5abd5.js} +0 -0
package/dist/cjs/index.css
CHANGED
|
@@ -3040,7 +3040,6 @@
|
|
|
3040
3040
|
.root_y3DcX .globalCtx_3o4F3 {
|
|
3041
3041
|
display: flex;
|
|
3042
3042
|
flex-direction: column;
|
|
3043
|
-
width: 189px;
|
|
3044
3043
|
padding: 8px 0;
|
|
3045
3044
|
}
|
|
3046
3045
|
.root_y3DcX .globalCtx_3o4F3 .item_2CAzg {
|
|
@@ -3050,6 +3049,7 @@
|
|
|
3050
3049
|
flex-direction: row;
|
|
3051
3050
|
justify-content: space-between;
|
|
3052
3051
|
align-items: center;
|
|
3052
|
+
gap: 24px;
|
|
3053
3053
|
color: var(--upime-main-text);
|
|
3054
3054
|
font-size: 14px;
|
|
3055
3055
|
line-height: 38px;
|
|
@@ -3057,6 +3057,12 @@
|
|
|
3057
3057
|
user-select: none;
|
|
3058
3058
|
cursor: pointer;
|
|
3059
3059
|
}
|
|
3060
|
+
.root_y3DcX .globalCtx_3o4F3 .item_2CAzg .shortCut_1n4EQ {
|
|
3061
|
+
min-width: 35px;
|
|
3062
|
+
display: flex;
|
|
3063
|
+
justify-content: center;
|
|
3064
|
+
align-items: center;
|
|
3065
|
+
}
|
|
3060
3066
|
.root_y3DcX .globalCtx_3o4F3 .divider_1CWJ2 {
|
|
3061
3067
|
width: 100%;
|
|
3062
3068
|
height: 1px;
|
|
@@ -10589,6 +10595,7 @@
|
|
|
10589
10595
|
.dashboardContainer_mRFS- .dashbardContentContainer_33BP7 .inputRow_2fmro .input_3AwAe.oneLine_3BVqx {
|
|
10590
10596
|
height: 48px;
|
|
10591
10597
|
padding-right: 48px;
|
|
10598
|
+
border-radius: 4px;
|
|
10592
10599
|
}
|
|
10593
10600
|
.dashboardContainer_mRFS- .dashbardContentContainer_33BP7 .inputRow_2fmro .input_3AwAe.oneLine_3BVqx.phone_1kP_V {
|
|
10594
10601
|
padding-right: 36px;
|
|
@@ -11408,7 +11415,6 @@
|
|
|
11408
11415
|
position: absolute;
|
|
11409
11416
|
bottom: calc(100% + 4px);
|
|
11410
11417
|
right: 0;
|
|
11411
|
-
width: 150px;
|
|
11412
11418
|
height: 40px;
|
|
11413
11419
|
border-radius: 4px;
|
|
11414
11420
|
background-color: #ffffff;
|
|
@@ -11428,8 +11434,12 @@
|
|
|
11428
11434
|
align-items: center;
|
|
11429
11435
|
gap: 4px;
|
|
11430
11436
|
}
|
|
11437
|
+
.setting_panel_11GAp .label_3yVEf .label_content_3C8uG {
|
|
11438
|
+
white-space: nowrap;
|
|
11439
|
+
}
|
|
11431
11440
|
.setting_panel_11GAp .switch_btn_32uwa {
|
|
11432
11441
|
flex-shrink: 0;
|
|
11442
|
+
cursor: pointer;
|
|
11433
11443
|
}
|
|
11434
11444
|
.switch_btn_32uwa {
|
|
11435
11445
|
position: relative;
|
|
@@ -11527,6 +11537,10 @@
|
|
|
11527
11537
|
color: var(--upime-active);
|
|
11528
11538
|
background-color: #eaf1fc;
|
|
11529
11539
|
}
|
|
11540
|
+
.iconWrapDisabled_1IWwT {
|
|
11541
|
+
cursor: not-allowed;
|
|
11542
|
+
color: var(--upime-disable);
|
|
11543
|
+
}
|
|
11530
11544
|
.do-hovers .iconWrap_3PXPZ:hover {
|
|
11531
11545
|
color: inherit;
|
|
11532
11546
|
background-color: rgba(0, 0, 0, 0.06);
|
|
@@ -11535,6 +11549,11 @@
|
|
|
11535
11549
|
color: var(--upime-active);
|
|
11536
11550
|
background-color: #eaf1fc;
|
|
11537
11551
|
}
|
|
11552
|
+
.do-hovers .iconWrapDisabled_1IWwT:hover {
|
|
11553
|
+
color: var(--upime-disable);
|
|
11554
|
+
background-color: transparent;
|
|
11555
|
+
background-color: initial;
|
|
11556
|
+
}
|
|
11538
11557
|
|
|
11539
11558
|
.iconWrap_2PzPU {
|
|
11540
11559
|
width: 36px;
|
|
@@ -14717,6 +14736,9 @@
|
|
|
14717
14736
|
.detachedBoxPortrait_3RTFQ .mixBox_TmvtM .videoContainer_sXLil {
|
|
14718
14737
|
height: 100%;
|
|
14719
14738
|
width: 100%;
|
|
14739
|
+
top: 50%;
|
|
14740
|
+
transform: translateY(-50%);
|
|
14741
|
+
position: absolute;
|
|
14720
14742
|
}
|
|
14721
14743
|
.detachedBoxPortrait_3RTFQ .mixBox_TmvtM .avatarContainer_3r5DY {
|
|
14722
14744
|
position: absolute;
|
|
@@ -15697,6 +15719,9 @@
|
|
|
15697
15719
|
color: var(--upime-active);
|
|
15698
15720
|
background-color: #EAF1FC;
|
|
15699
15721
|
}
|
|
15722
|
+
.iconWrapActive_28duN.forceColor_2oSMi {
|
|
15723
|
+
color: var(--upime-active) !important;
|
|
15724
|
+
}
|
|
15700
15725
|
.do-hovers .iconWrap_3GEPj:hover {
|
|
15701
15726
|
background-color: rgba(0, 0, 0, 0.06);
|
|
15702
15727
|
}
|
|
@@ -15731,7 +15756,7 @@
|
|
|
15731
15756
|
padding: 9px 0px;
|
|
15732
15757
|
}
|
|
15733
15758
|
.toolbar_1Y3X_.horizMode_2W6cT .moreApps_4PfYv .moreAppBtnCon_38AtV {
|
|
15734
|
-
padding: 9px
|
|
15759
|
+
padding: 9px 0px;
|
|
15735
15760
|
}
|
|
15736
15761
|
.toolbar_1Y3X_ .tool_2bEen {
|
|
15737
15762
|
display: flex;
|
|
@@ -15754,7 +15779,7 @@
|
|
|
15754
15779
|
position: relative;
|
|
15755
15780
|
}
|
|
15756
15781
|
.toolbar_1Y3X_ .moreApps_4PfYv .moreAppBtnCon_38AtV {
|
|
15757
|
-
padding: 0px 9px
|
|
15782
|
+
padding: 0px 9px;
|
|
15758
15783
|
}
|
|
15759
15784
|
.toolbar_1Y3X_ .moreApps_4PfYv .moreAppBtnCon_38AtV.moreAppBtnConDisable_1bD2p {
|
|
15760
15785
|
pointer-events: none;
|
|
@@ -16827,7 +16852,7 @@
|
|
|
16827
16852
|
.scaleStatusBar_24ULR .btns_rRn3C {
|
|
16828
16853
|
position: relative;
|
|
16829
16854
|
height: 40px;
|
|
16830
|
-
padding: 0
|
|
16855
|
+
padding: 0 4px;
|
|
16831
16856
|
display: flex;
|
|
16832
16857
|
justify-content: space-between;
|
|
16833
16858
|
align-items: center;
|
|
@@ -16858,10 +16883,6 @@
|
|
|
16858
16883
|
font-size: 12px;
|
|
16859
16884
|
margin: 0 12px;
|
|
16860
16885
|
}
|
|
16861
|
-
.do-hovers .scaleStatusBar_24ULR .btn_1CBmI:hover {
|
|
16862
|
-
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll !important;
|
|
16863
|
-
background: initial !important;
|
|
16864
|
-
}
|
|
16865
16886
|
.centerWrapper_2kh5H {
|
|
16866
16887
|
width: 100%;
|
|
16867
16888
|
height: 100%;
|
|
@@ -16881,20 +16902,16 @@
|
|
|
16881
16902
|
height: 100%;
|
|
16882
16903
|
display: flex;
|
|
16883
16904
|
}
|
|
16884
|
-
.fullscreen_setting_2AQD- .arrow_icon_2R7VN {
|
|
16885
|
-
color: #0c1024;
|
|
16886
|
-
}
|
|
16887
16905
|
.setting_panel_onZEz {
|
|
16888
16906
|
position: absolute;
|
|
16889
16907
|
bottom: calc(100% + 4px);
|
|
16890
16908
|
right: 0;
|
|
16891
|
-
width: 180px;
|
|
16892
16909
|
height: 52px;
|
|
16893
16910
|
border-radius: 4px;
|
|
16894
16911
|
background-color: #ffffff;
|
|
16895
16912
|
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.08);
|
|
16896
|
-
display: flex;
|
|
16897
16913
|
padding: 8px 0;
|
|
16914
|
+
display: flex;
|
|
16898
16915
|
align-items: center;
|
|
16899
16916
|
justify-content: space-between;
|
|
16900
16917
|
cursor: default;
|
|
@@ -16906,7 +16923,8 @@
|
|
|
16906
16923
|
display: flex;
|
|
16907
16924
|
justify-content: space-between;
|
|
16908
16925
|
align-items: center;
|
|
16909
|
-
|
|
16926
|
+
gap: 24px;
|
|
16927
|
+
font-size: 14px;
|
|
16910
16928
|
color: #0c1024;
|
|
16911
16929
|
cursor: pointer;
|
|
16912
16930
|
}
|
|
@@ -22668,6 +22686,7 @@
|
|
|
22668
22686
|
.createContainer_24LUP {
|
|
22669
22687
|
position: relative;
|
|
22670
22688
|
height: 100%;
|
|
22689
|
+
overflow: auto;
|
|
22671
22690
|
}
|
|
22672
22691
|
.createContainer_24LUP .head_1vkan {
|
|
22673
22692
|
height: 64px;
|
|
@@ -22686,6 +22705,21 @@
|
|
|
22686
22705
|
}
|
|
22687
22706
|
.createContainer_24LUP .body_2o5F4 {
|
|
22688
22707
|
padding: 12px 24px;
|
|
22708
|
+
display: flex;
|
|
22709
|
+
height: 100%;
|
|
22710
|
+
flex-direction: column;
|
|
22711
|
+
overflow: auto;
|
|
22712
|
+
}
|
|
22713
|
+
.createContainer_24LUP .body_2o5F4::-webkit-scrollbar {
|
|
22714
|
+
width: 4px;
|
|
22715
|
+
}
|
|
22716
|
+
.createContainer_24LUP .body_2o5F4::-webkit-scrollbar-track {
|
|
22717
|
+
border-radius: 5px;
|
|
22718
|
+
background-color: transparent;
|
|
22719
|
+
}
|
|
22720
|
+
.createContainer_24LUP .body_2o5F4::-webkit-scrollbar-thumb {
|
|
22721
|
+
border-radius: 2px;
|
|
22722
|
+
background-color: #c2c3c8;
|
|
22689
22723
|
}
|
|
22690
22724
|
.createContainer_24LUP .body_2o5F4 .geshuContainer_2nY_L {
|
|
22691
22725
|
margin-bottom: 48px;
|
|
@@ -22769,6 +22803,9 @@
|
|
|
22769
22803
|
-webkit-text-decoration: underline;
|
|
22770
22804
|
text-decoration: underline;
|
|
22771
22805
|
}
|
|
22806
|
+
.createContainer_24LUP .body_2o5F4 .memberContainer_2LlbH {
|
|
22807
|
+
margin-bottom: 48px;
|
|
22808
|
+
}
|
|
22772
22809
|
.createContainer_24LUP .body_2o5F4 .memberContainer_2LlbH > div:first-child {
|
|
22773
22810
|
font-size: 16px;
|
|
22774
22811
|
}
|
|
@@ -22796,9 +22833,15 @@
|
|
|
22796
22833
|
padding-left: 25px;
|
|
22797
22834
|
word-break: break-word;
|
|
22798
22835
|
}
|
|
22799
|
-
.createContainer_24LUP .body_2o5F4 .
|
|
22800
|
-
|
|
22801
|
-
|
|
22836
|
+
.createContainer_24LUP .body_2o5F4 .createBtnBox_1PMxo {
|
|
22837
|
+
justify-content: flex-end;
|
|
22838
|
+
height: 44px;
|
|
22839
|
+
flex: 1;
|
|
22840
|
+
display: flex;
|
|
22841
|
+
flex-direction: column;
|
|
22842
|
+
}
|
|
22843
|
+
.createContainer_24LUP .body_2o5F4 .createBtnBox_1PMxo .createBtn_3_ZU6 {
|
|
22844
|
+
position: static;
|
|
22802
22845
|
width: 292px;
|
|
22803
22846
|
height: 44px;
|
|
22804
22847
|
border-radius: 4px;
|
|
@@ -22808,10 +22851,10 @@
|
|
|
22808
22851
|
line-height: 44px;
|
|
22809
22852
|
cursor: pointer;
|
|
22810
22853
|
}
|
|
22811
|
-
.createContainer_24LUP .body_2o5F4 .createBtn_3_ZU6:hover {
|
|
22854
|
+
.createContainer_24LUP .body_2o5F4 .createBtnBox_1PMxo .createBtn_3_ZU6:hover {
|
|
22812
22855
|
background-color: #5798f2;
|
|
22813
22856
|
}
|
|
22814
|
-
.createContainer_24LUP .body_2o5F4 .createBtn_3_ZU6.diabled_4MDGe {
|
|
22857
|
+
.createContainer_24LUP .body_2o5F4 .createBtnBox_1PMxo .createBtn_3_ZU6.diabled_4MDGe {
|
|
22815
22858
|
opacity: 0.5;
|
|
22816
22859
|
cursor: no-drop;
|
|
22817
22860
|
background-color: #2e73e5;
|
|
@@ -23479,7 +23522,7 @@
|
|
|
23479
23522
|
box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
|
|
23480
23523
|
display: flex;
|
|
23481
23524
|
align-items: center;
|
|
23482
|
-
padding:
|
|
23525
|
+
padding: 2px 12px;
|
|
23483
23526
|
pointer-events: auto;
|
|
23484
23527
|
padding-left: 4px;
|
|
23485
23528
|
}
|
|
@@ -23674,6 +23717,12 @@
|
|
|
23674
23717
|
display: flex;
|
|
23675
23718
|
flex-direction: column;
|
|
23676
23719
|
}
|
|
23720
|
+
.toolbarBox_30Xq3 .memberCtrlBox_17_gn .subWin_3zjkU .listRoot_2021L .entityRow_16P56 > .infoBox_17i9X .textBlock_1jjeI .nameBox_1cQzn {
|
|
23721
|
+
max-width: 240px;
|
|
23722
|
+
overflow: hidden;
|
|
23723
|
+
text-overflow: ellipsis;
|
|
23724
|
+
white-space: nowrap;
|
|
23725
|
+
}
|
|
23677
23726
|
.toolbarBox_30Xq3 .memberCtrlBox_17_gn .subWin_3zjkU .listRoot_2021L .entityRow_16P56 > .infoBox_17i9X .textBlock_1jjeI .name_2qTTu {
|
|
23678
23727
|
font-size: 15px;
|
|
23679
23728
|
line-height: 22px;
|
|
@@ -23752,7 +23801,7 @@
|
|
|
23752
23801
|
margin-top: 0;
|
|
23753
23802
|
}
|
|
23754
23803
|
.toolbarBox_30Xq3.miniMode_eAHps .leaveBtn_9Y5lk {
|
|
23755
|
-
padding:
|
|
23804
|
+
padding: 0px 8px;
|
|
23756
23805
|
}
|
|
23757
23806
|
.rtclistRoot_1hpzf {
|
|
23758
23807
|
pointer-events: auto;
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -403,6 +403,8 @@ interface InfiWebsdkInstanceType {
|
|
|
403
403
|
setViewClip(rect: ViewRect): void;
|
|
404
404
|
/** 设置画布的聚焦区域,聚焦后,画布的移动和缩放都会在聚焦区域内执行,而不是随意改变 */
|
|
405
405
|
focusBorderBox(box: BorderBox): void;
|
|
406
|
+
/** 停止聚焦画布区域 */
|
|
407
|
+
stopFocusBorderBox(): void;
|
|
406
408
|
/** 获取当前画布中全体元素的元数据信息,包括位置、大小等 */
|
|
407
409
|
getElementsMetaData(): ElementMetaData[] | undefined;
|
|
408
410
|
/**
|
|
@@ -426,18 +428,18 @@ interface InfiWebsdkInstanceType {
|
|
|
426
428
|
/** 停止当前的强制跟随行为,如果当前并非强制跟随状态,则尝试停止当前的普通跟随行为 */
|
|
427
429
|
stopCurForceFollowing(): void;
|
|
428
430
|
/**
|
|
429
|
-
* 基于 recordId
|
|
430
|
-
*
|
|
431
|
-
* @returns 非法访问情况下,return null
|
|
432
|
-
* @returns recordId 不存在情况下,elementsInfo 为空数组
|
|
431
|
+
* 基于 recordId 获取同机构下其他画布内的元素信息,及总体包围盒大小。
|
|
432
|
+
* @returns 如果返回 null,则表示非法访问, 如果 data string 为空字符串,则表示该 recordId 下暂时没有获取到任何数据
|
|
433
433
|
*/
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
height: number;
|
|
438
|
-
};
|
|
439
|
-
elementsInfo: any[];
|
|
434
|
+
requestElesDataByRecordId: (recordId: string) => Promise<{
|
|
435
|
+
data: string;
|
|
436
|
+
borderBox: BorderBox;
|
|
440
437
|
} | null>;
|
|
438
|
+
/**
|
|
439
|
+
* 基于 requestElesDataByRecord 获取到的元素信息及包围盒大小,将元素插入当前画布内的指定位置
|
|
440
|
+
* @returns true 表成功,false 则表示插入失败,失败原因可能是跨机构使用,或者 eleData 为空或者数据遭到了篡改
|
|
441
|
+
*/
|
|
442
|
+
useRawElesData(eleData: string, originBox: BorderBox, targetPos: PositionLike): boolean;
|
|
441
443
|
/** 于指定位置粘贴元素信息, 执行后会自动选中并显示新创建的元素 */
|
|
442
444
|
useElementsInfo(info: any[], position: PositionLike): Promise<void>;
|
|
443
445
|
/** 销毁白板 sdk 实例 */
|
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-c5ee71b0.js");require("react"),require("react-dom"),exports.FULL_TOOLBAR_CONFIG=e.FULL_TOOLBAR_CONFIG,Object.defineProperty(exports,"GridType",{enumerable:!0,get:function(){return e.GridType}}),exports.GroupTalkPlugin=e.GroupTalkPlugin,exports.HoverTip=e.HoverTip,exports.Setting=e.Setting,exports.SvgIcon=e.SvgIcon,exports.SvgManager=e.SvgManager,exports.default=e.InfiWebsdk,exports.getDocumentType=e.getDocumentType,exports.getFileType=e.getFileType;
|