@nuwatop/code-canvas-core 0.4.4 → 0.4.5

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.
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  import { BaseComponentProps, DataSetConfig } from '../../types/common';
3
3
 
4
4
  export interface AndPdfViewerProps extends BaseComponentProps, DataSetConfig {
5
- /** PDF 路径(相对路径会经 viewRes 解析) */
5
+ /** PDF 路径 */
6
6
  filePath?: string;
7
7
  initialPage?: number;
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AndPdfViewer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAEf,OAAO,mCAAmC,CAAC;AAC3C,OAAO,yCAAyC,CAAC;AAIjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAI5E,MAAM,WAAW,iBACf,SAAQ,kBAAkB,EACxB,aAAa;IACf,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgRpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AndPdfViewer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAEf,OAAO,mCAAmC,CAAC;AAC3C,OAAO,yCAAyC,CAAC;AAIjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAI5E,MAAM,WAAW,iBACf,SAAQ,kBAAkB,EACxB,aAAa;IACf,aAAa;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAoWpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,4 +1,4 @@
1
- export type PdfViewerCommand = "print" | "download" | "enterFullscreen" | "exitFullscreen" | "goToPage";
1
+ export type PdfViewerCommand = "print" | "download" | "enterFullscreen" | "exitFullscreen" | "goToPage" | "fitWidth" | "fitHeight" | "previewSingle" | "previewAll";
2
2
  /**
3
3
  * 通过 propsStore 下发 PDF 查看器指令(与 addCommand 运行时解耦,避免 initRuntime 找不到动作)。
4
4
  * 会与已有 propsStore 条目浅合并,避免覆盖其它动态属性。
@@ -1 +1 @@
1
- {"version":3,"file":"pdfViewerCommand.d.ts","sourceRoot":"","sources":["../../../src/components/AndPdfViewer/pdfViewerCommand.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GACxB,OAAO,GACP,UAAU,GACV,iBAAiB,GACjB,gBAAgB,GAChB,UAAU,CAAC;AAEf;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,gBAAgB,EACzB,GAAG,CAAC,EAAE,MAAM,QAYb"}
1
+ {"version":3,"file":"pdfViewerCommand.d.ts","sourceRoot":"","sources":["../../../src/components/AndPdfViewer/pdfViewerCommand.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GACxB,OAAO,GACP,UAAU,GACV,iBAAiB,GACjB,gBAAgB,GAChB,UAAU,GACV,UAAU,GACV,WAAW,GACX,eAAe,GACf,YAAY,CAAC;AAEjB;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,gBAAgB,EACzB,GAAG,CAAC,EAAE,MAAM,QAYb"}