@canvas-components/xlsx-table 0.1.8 → 0.1.10

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.
@@ -1,5 +1,5 @@
1
1
  import { WorkBook } from 'xlsx';
2
- import { X as XlsxNativeSheetSettings, c as XlsxDocumentStamp, a as XlsxNativeSheetSettingsPatch, d as XlsxNativeTransaction } from './sheet-settings-Bv1KD6XD.cjs';
2
+ import { g as XlsxNativeSheetSettings, j as XlsxDocumentStamp, h as XlsxNativeSheetSettingsPatch, k as XlsxNativeTransaction, c as XlsxConditionalFormattingProjection, f as XlsxDxfCatalog, a as XlsxConditionalFormatPatch, X as XlsxConditionalDifferentialStyle } from './sheet-settings-Dvi6PLD0.cjs';
3
3
 
4
4
  /** 所有限制均在调用解压器前检查。ZIP64/分卷/加密暂不支持。 */
5
5
  interface XlsxPackageLimits {
@@ -132,4 +132,24 @@ declare function readNativeSheetSettings(book: WorkBook, name: string): XlsxNati
132
132
  /** 只生成标准部件事务,当前版本/只读/协同能力由核心提交时复核。 */
133
133
  declare function buildNativeSheetSettingsTransaction(book: WorkBook, stamp: XlsxDocumentStamp, name: string, patch: XlsxNativeSheetSettingsPatch): XlsxNativeTransaction;
134
134
 
135
- export { type NativeComposition as N, type OoxmlAttribute as O, type XlsxPackageOptions as X, type XlsxPackageEntry as a, type OoxmlDocument as b, type OoxmlNode as c, type OoxmlPackageIndex as d, type OoxmlRelationship as e, type OoxmlXmlEdit as f, type XlsxPackageLimits as g, allocateOoxmlPartPath as h, allocateOoxmlRelationshipId as i, buildNativeSheetSettingsTransaction as j, composeNativeXlsxParts as k, decodeOoxmlXml as l, decodeXmlText as m, defaultXlsxPackageLimits as n, editOoxmlXml as o, inspectOoxmlPackage as p, parseOoxmlXml as q, readNativeSheetSettings as r, readNativeXlsxParts as s, readWorkbookFromParts as t, resolveOoxmlTarget as u };
135
+ /** 按包内关系定位工作表与样式,不依赖物理文件名。 */
136
+ declare function readNativeConditionalFormatting(index: OoxmlPackageIndex, sheetName: string): XlsxConditionalFormattingProjection;
137
+
138
+ /** 只读取 dxfs 的直接 dxf 子项,保持原始下标。 */
139
+ declare function readNativeDxfCatalog(index: OoxmlPackageIndex): XlsxDxfCatalog;
140
+
141
+ /** 面板及提交时复用相同的原包、保护与依赖预检。 */
142
+ declare function assertConditionalFormattingWritable(book: WorkBook, sheetName: string): void;
143
+ /** 生成带字段编辑意图的事务;提交时用当前原包重新编译,核对每个字节。 */
144
+ declare function buildConditionalFormattingTransaction(book: WorkBook, stamp: XlsxDocumentStamp, sheetName: string, patch: XlsxConditionalFormatPatch): XlsxNativeTransaction;
145
+
146
+ /** 只复用或追加差异样式;根节点以外的声明和原样式表字节保留。 */
147
+ declare function composeNativeDxfCatalog(beforeStylesXml: string, draft: XlsxConditionalDifferentialStyle): {
148
+ xml: string;
149
+ dxfId: number;
150
+ };
151
+
152
+ /** 只替换选定规则或其范围,优先级排序仅改写 priority 属性。 */
153
+ declare function writeConditionalFormattingDocument(doc: OoxmlDocument, patch: XlsxConditionalFormatPatch, catalog: XlsxDxfCatalog, sheetName?: string, allocatedDxfId?: number): string;
154
+
155
+ export { writeConditionalFormattingDocument as A, type NativeComposition as N, type OoxmlAttribute as O, type XlsxPackageOptions as X, type XlsxPackageEntry as a, type OoxmlDocument as b, type OoxmlNode as c, type OoxmlPackageIndex as d, type OoxmlRelationship as e, type OoxmlXmlEdit as f, type XlsxPackageLimits as g, allocateOoxmlPartPath as h, allocateOoxmlRelationshipId as i, assertConditionalFormattingWritable as j, buildConditionalFormattingTransaction as k, buildNativeSheetSettingsTransaction as l, composeNativeDxfCatalog as m, composeNativeXlsxParts as n, decodeOoxmlXml as o, decodeXmlText as p, defaultXlsxPackageLimits as q, editOoxmlXml as r, inspectOoxmlPackage as s, parseOoxmlXml as t, readNativeConditionalFormatting as u, readNativeDxfCatalog as v, readNativeSheetSettings as w, readNativeXlsxParts as x, readWorkbookFromParts as y, resolveOoxmlTarget as z };
@@ -1,5 +1,5 @@
1
1
  import { WorkBook } from 'xlsx';
2
- import { X as XlsxNativeSheetSettings, c as XlsxDocumentStamp, a as XlsxNativeSheetSettingsPatch, d as XlsxNativeTransaction } from './sheet-settings-CRncG11p.js';
2
+ import { g as XlsxNativeSheetSettings, j as XlsxDocumentStamp, h as XlsxNativeSheetSettingsPatch, k as XlsxNativeTransaction, c as XlsxConditionalFormattingProjection, f as XlsxDxfCatalog, a as XlsxConditionalFormatPatch, X as XlsxConditionalDifferentialStyle } from './sheet-settings-BLc17bPK.js';
3
3
 
4
4
  /** 所有限制均在调用解压器前检查。ZIP64/分卷/加密暂不支持。 */
5
5
  interface XlsxPackageLimits {
@@ -132,4 +132,24 @@ declare function readNativeSheetSettings(book: WorkBook, name: string): XlsxNati
132
132
  /** 只生成标准部件事务,当前版本/只读/协同能力由核心提交时复核。 */
133
133
  declare function buildNativeSheetSettingsTransaction(book: WorkBook, stamp: XlsxDocumentStamp, name: string, patch: XlsxNativeSheetSettingsPatch): XlsxNativeTransaction;
134
134
 
135
- export { type NativeComposition as N, type OoxmlAttribute as O, type XlsxPackageOptions as X, type XlsxPackageEntry as a, type OoxmlDocument as b, type OoxmlNode as c, type OoxmlPackageIndex as d, type OoxmlRelationship as e, type OoxmlXmlEdit as f, type XlsxPackageLimits as g, allocateOoxmlPartPath as h, allocateOoxmlRelationshipId as i, buildNativeSheetSettingsTransaction as j, composeNativeXlsxParts as k, decodeOoxmlXml as l, decodeXmlText as m, defaultXlsxPackageLimits as n, editOoxmlXml as o, inspectOoxmlPackage as p, parseOoxmlXml as q, readNativeSheetSettings as r, readNativeXlsxParts as s, readWorkbookFromParts as t, resolveOoxmlTarget as u };
135
+ /** 按包内关系定位工作表与样式,不依赖物理文件名。 */
136
+ declare function readNativeConditionalFormatting(index: OoxmlPackageIndex, sheetName: string): XlsxConditionalFormattingProjection;
137
+
138
+ /** 只读取 dxfs 的直接 dxf 子项,保持原始下标。 */
139
+ declare function readNativeDxfCatalog(index: OoxmlPackageIndex): XlsxDxfCatalog;
140
+
141
+ /** 面板及提交时复用相同的原包、保护与依赖预检。 */
142
+ declare function assertConditionalFormattingWritable(book: WorkBook, sheetName: string): void;
143
+ /** 生成带字段编辑意图的事务;提交时用当前原包重新编译,核对每个字节。 */
144
+ declare function buildConditionalFormattingTransaction(book: WorkBook, stamp: XlsxDocumentStamp, sheetName: string, patch: XlsxConditionalFormatPatch): XlsxNativeTransaction;
145
+
146
+ /** 只复用或追加差异样式;根节点以外的声明和原样式表字节保留。 */
147
+ declare function composeNativeDxfCatalog(beforeStylesXml: string, draft: XlsxConditionalDifferentialStyle): {
148
+ xml: string;
149
+ dxfId: number;
150
+ };
151
+
152
+ /** 只替换选定规则或其范围,优先级排序仅改写 priority 属性。 */
153
+ declare function writeConditionalFormattingDocument(doc: OoxmlDocument, patch: XlsxConditionalFormatPatch, catalog: XlsxDxfCatalog, sheetName?: string, allocatedDxfId?: number): string;
154
+
155
+ export { writeConditionalFormattingDocument as A, type NativeComposition as N, type OoxmlAttribute as O, type XlsxPackageOptions as X, type XlsxPackageEntry as a, type OoxmlDocument as b, type OoxmlNode as c, type OoxmlPackageIndex as d, type OoxmlRelationship as e, type OoxmlXmlEdit as f, type XlsxPackageLimits as g, allocateOoxmlPartPath as h, allocateOoxmlRelationshipId as i, assertConditionalFormattingWritable as j, buildConditionalFormattingTransaction as k, buildNativeSheetSettingsTransaction as l, composeNativeDxfCatalog as m, composeNativeXlsxParts as n, decodeOoxmlXml as o, decodeXmlText as p, defaultXlsxPackageLimits as q, editOoxmlXml as r, inspectOoxmlPackage as s, parseOoxmlXml as t, readNativeConditionalFormatting as u, readNativeDxfCatalog as v, readNativeSheetSettings as w, readNativeXlsxParts as x, readWorkbookFromParts as y, resolveOoxmlTarget as z };