@json-to-office/core-docx 0.7.0 → 0.9.0

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 { type ThemeConfig } from '../styles';
2
- import type { ServicesConfig } from '@json-to-office/shared';
2
+ import type { ServicesConfig, FontRuntimeOpts } from '@json-to-office/shared';
3
3
  import type { DocumentGeneratorBuilder } from './types';
4
4
  /**
5
5
  * Options for creating a document generator
@@ -15,6 +15,8 @@ export interface DocumentGeneratorOptions {
15
15
  debug?: boolean;
16
16
  /** External service configuration (e.g. Highcharts export server) */
17
17
  services?: ServicesConfig;
18
+ /** Font resolution options — extraEntries, Google Fonts config, onResolved hook. */
19
+ fonts?: FontRuntimeOpts;
18
20
  }
19
21
  /**
20
22
  * Create a document generator with chainable component registration.
@@ -1 +1 @@
1
- {"version":3,"file":"createDocumentGenerator.d.ts","sourceRoot":"","sources":["../../src/plugin/createDocumentGenerator.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAwB,MAAM,WAAW,CAAC;AAEnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAEV,wBAAwB,EAKzB,MAAM,SAAS,CAAC;AAcjB;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,kEAAkE;IAClE,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAC3C,4CAA4C;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B;AAkcD;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,wBAAwB,GAChC,wBAAwB,CAAC,SAAS,EAAE,CAA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