@canvas-components/print-design-plugin 0.0.0-stage → 0.1.4
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/LICENSE +21 -0
- package/README.md +48 -2
- package/dist/index.cjs +11557 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +11550 -0
- package/dist/list-table-print.cjs +22969 -0
- package/dist/list-table-print.css +722 -0
- package/dist/list-table-print.d.cts +121 -0
- package/dist/list-table-print.d.ts +121 -0
- package/dist/list-table-print.js +22967 -0
- package/dist/model-BwhSanYM.d.cts +1080 -0
- package/dist/model-BwhSanYM.d.ts +1080 -0
- package/dist/native.cjs +11557 -0
- package/dist/native.d.cts +24 -0
- package/dist/native.d.ts +24 -0
- package/dist/native.js +11550 -0
- package/dist/react.cjs +21996 -0
- package/dist/react.css +722 -0
- package/dist/react.d.cts +79 -0
- package/dist/react.d.ts +79 -0
- package/dist/react.js +21993 -0
- package/package.json +95 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PrintDesignElementBase, PrintDesignDocument, PrintDesignComponentRegistry } from '@canvas-components/print-design';
|
|
2
|
+
import { T as TextElement, P as PrintDesignNativePlugin } from './model-BwhSanYM.cjs';
|
|
3
|
+
export { B as BarcodeElement, a as BrushElement, b as BrushStrokeStyle, C as ChartData, c as ChartElement, d as ClockElement, e as ConnectorElement, f as ConnectorEndpoint, g as CoordinateElement, D as DateTimeElement, h as DividerElement, F as FlowElement, i as FlowItem, G as GanttDependency, j as GanttElement, k as GanttScale, l as GanttTask, m as GridCell, n as GridColumnLoop, o as GridElement, p as GridLoop, q as GridLoopOverflowMarker, r as GridMark, I as ImageCrop, s as ImageElement, L as ListElement, M as MoneyUpperElement, t as PackedReport, u as PackedReportAppendRow, v as PackedReportValue, w as PageNumberElement, x as PivotAggregator, y as PivotField, z as PivotFieldArea, A as PivotFieldLayout, E as PivotFilterState, H as PivotTableElement, J as ProgressElement, Q as QrCodeElement, R as RulerElement, S as ShapeElement, K as TableBorder, N as TableBorders, O as TableCell, U as TableCellSelectionState, V as TableColumn, W as TableConditionalFormat, X as TableDiagonalTextStyle, Y as TableElement, Z as TableMergeCell, _ as WatermarkElement, $ as assertNativePluginDependencies, a0 as defineNativePlugin } from './model-BwhSanYM.cjs';
|
|
4
|
+
import '@canvas-components/barcode';
|
|
5
|
+
import '@canvas-components/qrcode';
|
|
6
|
+
|
|
7
|
+
type RecordRow = Record<string, unknown>;
|
|
8
|
+
/** 按模板可用高度将原始记录排为业务页,保留源模板的列与样式配置。 */
|
|
9
|
+
declare function materializeTablePackedReport<Element extends PrintDesignElementBase>(document: PrintDesignDocument<Element>, data: RecordRow): PrintDesignDocument<Element>;
|
|
10
|
+
|
|
11
|
+
/** 仅静态、可见且未锁定的文本支持画布双击编辑。 */
|
|
12
|
+
declare function canEditText(element: TextElement): boolean;
|
|
13
|
+
|
|
14
|
+
/** 每个内置组件均有自己的插件目录与原生声明。 */
|
|
15
|
+
declare const builtinNativeComponentPlugins: readonly PrintDesignNativePlugin[];
|
|
16
|
+
/** 打印端只加载原生插件能力。 */
|
|
17
|
+
declare const builtinPrintDesignNativePlugins: Readonly<{
|
|
18
|
+
id: "builtin.print-design";
|
|
19
|
+
version: "0.1.1";
|
|
20
|
+
components: readonly PrintDesignNativePlugin[];
|
|
21
|
+
componentRegistry: PrintDesignComponentRegistry;
|
|
22
|
+
}>;
|
|
23
|
+
|
|
24
|
+
export { PrintDesignNativePlugin, TextElement, builtinNativeComponentPlugins, builtinPrintDesignNativePlugins, canEditText, materializeTablePackedReport };
|
package/dist/native.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PrintDesignElementBase, PrintDesignDocument, PrintDesignComponentRegistry } from '@canvas-components/print-design';
|
|
2
|
+
import { T as TextElement, P as PrintDesignNativePlugin } from './model-BwhSanYM.js';
|
|
3
|
+
export { B as BarcodeElement, a as BrushElement, b as BrushStrokeStyle, C as ChartData, c as ChartElement, d as ClockElement, e as ConnectorElement, f as ConnectorEndpoint, g as CoordinateElement, D as DateTimeElement, h as DividerElement, F as FlowElement, i as FlowItem, G as GanttDependency, j as GanttElement, k as GanttScale, l as GanttTask, m as GridCell, n as GridColumnLoop, o as GridElement, p as GridLoop, q as GridLoopOverflowMarker, r as GridMark, I as ImageCrop, s as ImageElement, L as ListElement, M as MoneyUpperElement, t as PackedReport, u as PackedReportAppendRow, v as PackedReportValue, w as PageNumberElement, x as PivotAggregator, y as PivotField, z as PivotFieldArea, A as PivotFieldLayout, E as PivotFilterState, H as PivotTableElement, J as ProgressElement, Q as QrCodeElement, R as RulerElement, S as ShapeElement, K as TableBorder, N as TableBorders, O as TableCell, U as TableCellSelectionState, V as TableColumn, W as TableConditionalFormat, X as TableDiagonalTextStyle, Y as TableElement, Z as TableMergeCell, _ as WatermarkElement, $ as assertNativePluginDependencies, a0 as defineNativePlugin } from './model-BwhSanYM.js';
|
|
4
|
+
import '@canvas-components/barcode';
|
|
5
|
+
import '@canvas-components/qrcode';
|
|
6
|
+
|
|
7
|
+
type RecordRow = Record<string, unknown>;
|
|
8
|
+
/** 按模板可用高度将原始记录排为业务页,保留源模板的列与样式配置。 */
|
|
9
|
+
declare function materializeTablePackedReport<Element extends PrintDesignElementBase>(document: PrintDesignDocument<Element>, data: RecordRow): PrintDesignDocument<Element>;
|
|
10
|
+
|
|
11
|
+
/** 仅静态、可见且未锁定的文本支持画布双击编辑。 */
|
|
12
|
+
declare function canEditText(element: TextElement): boolean;
|
|
13
|
+
|
|
14
|
+
/** 每个内置组件均有自己的插件目录与原生声明。 */
|
|
15
|
+
declare const builtinNativeComponentPlugins: readonly PrintDesignNativePlugin[];
|
|
16
|
+
/** 打印端只加载原生插件能力。 */
|
|
17
|
+
declare const builtinPrintDesignNativePlugins: Readonly<{
|
|
18
|
+
id: "builtin.print-design";
|
|
19
|
+
version: "0.1.1";
|
|
20
|
+
components: readonly PrintDesignNativePlugin[];
|
|
21
|
+
componentRegistry: PrintDesignComponentRegistry;
|
|
22
|
+
}>;
|
|
23
|
+
|
|
24
|
+
export { PrintDesignNativePlugin, TextElement, builtinNativeComponentPlugins, builtinPrintDesignNativePlugins, canEditText, materializeTablePackedReport };
|