@plaso-infi/whiteboard-sdk 0.4.8 → 0.4.9

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.
@@ -310,6 +310,32 @@ type UploadRejectInfo = {
310
310
  code: UploadFailedCode;
311
311
  message?: string;
312
312
  };
313
+ type OperationGuideT = {
314
+ /** 画布引导,如画布缩放、拖拽 */
315
+ boardGuide: {
316
+ /** 是否显示引导的开关 */
317
+ show: boolean;
318
+ /** 引导结束后的回调 */
319
+ onFinish?: () => void;
320
+ };
321
+ /** 用户操作引导,如工具栏操作 */
322
+ userGuide: {
323
+ /** 是否显示引导的开关 */
324
+ show: boolean;
325
+ /** 引导结束后的回调 */
326
+ onFinish?: () => void;
327
+ };
328
+ };
329
+ type ExportConfigsT = {
330
+ /** 是否允许导出帧框为PPT */
331
+ canExportFrameAsPowerPoint?: boolean;
332
+ /** 设置不能导出帧框为PPT,用户点击时的调用的函数,可用于做用户反馈使用 */
333
+ handleExportFrameAsPowerPoint?: () => void;
334
+ /** 是否允许导出帧框为图片 */
335
+ canExportFrameAsImage?: boolean;
336
+ /** 设置不能导出帧框为图片,用户点击时的调用的函数,可用于做用户反馈使用 */
337
+ handleExportFrameAsImage?: () => void;
338
+ };
313
339
  /** 获取白板 websdk 实例的配置参数 */
314
340
  interface GetSdkInstanceConfigs {
315
341
  /** 当前白板的用户信息 */
@@ -416,6 +442,9 @@ interface GetSdkInstanceConfigs {
416
442
  meetingConfigs?: MeetingConfigs;
417
443
  /** 是否初次加载后默认缩放视野直至全部元素可见 */
418
444
  showAerialViewByDefault?: boolean;
445
+ /** 是否初次加载后显示用户指引 */
446
+ operationGuide?: OperationGuideT;
447
+ exportConfigs?: ExportConfigsT;
419
448
  getElementLink?: (encodeId: string, id: string) => string;
420
449
  /** 链接跳转,返回值为string表示跳转元素id */
421
450
  gotoLink?: (link: string) => string | undefined;
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- export{D as DefaultPerm,F as FULL_TOOLBAR_CONFIG,a as GridType,G as GroupTalkPlugin,H as HoverTip,S as SvgIcon,e as SvgManager,V as VotingPlugin,I as default,d as getDocumentType,c as getFileType,u as useInfiWebSDK}from"./index-66578886.js";import"react";import"react-dom";
1
+ export{D as DefaultPerm,F as FULL_TOOLBAR_CONFIG,a as GridType,G as GroupTalkPlugin,H as HoverTip,S as SvgIcon,e as SvgManager,V as VotingPlugin,I as default,d as getDocumentType,c as getFileType,u as useInfiWebSDK}from"./index-de7bc26b.js";import"react";import"react-dom";