@format.dev/vue 0.1.2 → 0.2.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.
package/dist/index.cjs CHANGED
@@ -25,11 +25,11 @@ var Template_default = _sfc_main$17;
25
25
 
26
26
  //#endregion
27
27
  //#region src/engine-target.ts
28
- const engineTarget = "0.1.0";
28
+ const engineTarget = "0.2.0";
29
29
 
30
30
  //#endregion
31
31
  //#region src/sdk-version.ts
32
- const sdkVersion = "0.1.2";
32
+ const sdkVersion = "0.2.0";
33
33
 
34
34
  //#endregion
35
35
  //#region src/Document.vue
@@ -398,16 +398,23 @@ var CounterDef_default = _sfc_main$3;
398
398
  //#region src/Numbering.vue
399
399
  const _sfc_main$2 = /* @__PURE__ */ (0, vue.defineComponent)({
400
400
  __name: "Numbering",
401
- props: { counterStyle: {} },
401
+ props: {
402
+ counterStyle: {},
403
+ defaultHeadings: {
404
+ type: Boolean,
405
+ default: void 0
406
+ }
407
+ },
402
408
  setup(__props) {
403
409
  return (_ctx, _cache) => {
404
410
  return (0, vue.openBlock)(), (0, vue.createBlock)(Template_default, {
405
411
  "data-type": "numbering",
406
- "data-counter-style": __props.counterStyle
412
+ "data-counter-style": __props.counterStyle,
413
+ "data-default-headings": __props.defaultHeadings === void 0 ? void 0 : __props.defaultHeadings ? "true" : "false"
407
414
  }, {
408
415
  default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
409
416
  _: 3
410
- }, 8, ["data-counter-style"]);
417
+ }, 8, ["data-counter-style", "data-default-headings"]);
411
418
  };
412
419
  }
413
420
  });
package/dist/index.d.cts CHANGED
@@ -356,10 +356,18 @@ interface NumberingProps {
356
356
  * per-Counter, and per-Footnotes styles override it. Defaults to `decimal`.
357
357
  */
358
358
  counterStyle?: CounterStyle;
359
+ /**
360
+ * Whether headings `h1` through `h6` get the built-in hierarchical numbers. On by
361
+ * default. Set `false` when your own rules number the headings; that removes the
362
+ * built-in restarts between heading levels as well as the built-in numbers.
363
+ */
364
+ defaultHeadings?: boolean;
359
365
  }
360
366
  declare const _default$7: typeof __VLS_export$2;
361
- declare const __VLS_export$2: __VLS_WithSlots$1<vue0.DefineComponent<NumberingProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<NumberingProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
362
- /** Optional `<NumberingRule>` children that customize the scheme. */
367
+ declare const __VLS_export$2: __VLS_WithSlots$1<vue0.DefineComponent<NumberingProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<NumberingProps> & Readonly<{}>, {
368
+ defaultHeadings: boolean;
369
+ }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
370
+ /** Optional `<NumberingRule>` and `<CounterDef>` children that extend the scheme. */
363
371
  default?: () => VNode[];
364
372
  }>;
365
373
  type __VLS_WithSlots$1<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/types.ts","../src/Document.vue","../src/Layout.vue","../src/Flow.vue","../src/Stream.vue","../src/PageBreak.vue","../src/PageCounter.vue","../src/PageNumber.vue","../src/PageCount.vue","../src/Counter.vue","../src/Ref.vue","../src/TableOfContents.vue","../src/Footnote.vue","../src/Footnotes.vue","../src/CounterDef.vue","../src/Numbering.vue","../src/NumberingRule.vue","../src/Scope.vue","../src/utils.ts"],"sourcesContent":[],"mappings":";;;;;;KAEY,kBAAA;;AAAZ;AAQA;AAOA;AAOA;AAKA;AAMY,cAzBC,gBAyBO,EAAA;EAMR,SAAA,QAAY,EAAA,UAAA;;;;AC8CxB,CAAA;AAIiB,KD1EL,gBAAA,GC2FH,CAAA,OD3F8B,gBC2FtB,CAAA,CAAA,MAAA,OD3FqD,gBC2FrD,CAAA;AAChB;AACD;;;;AACkB,cDvFL,SCu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A,IAAA,CAAA,WAAA,EAAA,QdxEA,CcwEA,kBdxEA,CAAA,GcwEA,QdxEA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,MAAA,EcwEA,IAAA,CAAA,uBAAA,EdxEA,KAAA,EAAA,CAAA,CAAA,EAAA,GAAA,CAAA;;;;UebD,UAAA;;;;AjBvCjB;AAQA;EAOY,OAAA,EAAA,MAAA;AAOZ;AAKA,ciBmBC,WjBnBoB,EAAA,OiBoBO,YjBpB4B;AAYxD,ciBSM,YjBTkB,EiBSN,ejBTM,CiBSN,IAAA,CAAA,ejBTM,CiBSN,UjBTM,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EiBSN,IAAA,CAAA,qBAAA,EAAA,IAAA,CAAA,qBAAA,EjBTM,CAAA,CAAA,EAAA,MAAA,EiBSN,IAAA,CAAA,WAAA,EAAA,QjBTM,CiBSN,UjBTM,CAAA,GiBSN,QjBTM,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,MAAA,EiBSN,IAAA,CAAA,uBAAA,EjBTM,KAAA,EAAA,CAAA,CAAA,EAAA,GAAA,CAAA,EAAA;;;KiBsDnB,wBAAwB;EhBRZ,MAAA,EAAA;IAIA,MAAA,EgBMP,ChBNO;EAkBhB,CAAA;AACD,CAAA;;;;;;;;AD5GA;AAQA;AAOA;AAOA;AAKY,iBkBrBI,GAAA,ClBqBgB,KAAA,EkBrBL,oBlBqBsC,EAAA,GAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,MAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/types.ts","../src/Document.vue","../src/Layout.vue","../src/Flow.vue","../src/Stream.vue","../src/PageBreak.vue","../src/PageCounter.vue","../src/PageNumber.vue","../src/PageCount.vue","../src/Counter.vue","../src/Ref.vue","../src/TableOfContents.vue","../src/Footnote.vue","../src/Footnotes.vue","../src/CounterDef.vue","../src/Numbering.vue","../src/NumberingRule.vue","../src/Scope.vue","../src/utils.ts"],"sourcesContent":[],"mappings":";;;;;;KAEY,kBAAA;;AAAZ;AAQA;AAOA;AAOA;AAKA;AAMY,cAzBC,gBAyBO,EAAA;EAMR,SAAA,QAAY,EAAA,UAAA;;;;AC8CxB,CAAA;AAIiB,KD1EL,gBAAA,GC2FH,CAAA,OD3F8B,gBC2FtB,CAAA,CAAA,MAAA,OD3FqD,gBC2FrD,CAAA;AAChB;AACD;;;;AACkB,cDvFL,SCuFK,EAAA;EAAA,SAAA,IAAA,EAAA,MAAA;EAAA,SAAA,IAAA,EAAA,MAAA;CAAA;AAAA,KDlFN,SAAA,GCkFM,CAAA,ODlFc,SCkFd,CAAA,CAAA,MAAA,ODlFsC,SCkFtC,CAAA;;;;AAAA;KD5EN,QAAA;;;AESZ;AAQC;AAEK,KFbM,YAAA,GE2ER,SAAA,GAAA,sBAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,CAAA,MAAA,GAAA,CAAA,CAAA,CAAA;;;;;;AFlHJ;AAQA;AAOA;AAOA;AAKA;AAMA;AAMA;;UC8CiB;QACV;AADP;AAIiB,UAAA,aAAA,CAiBR;EACR,KAAA,EAAA,MACuC;EAClC,OAAA,CAAA,EAAA,MAAA;EAAY,MAAA,CAAA,EAAA,MAAA;EAAA,QAAA,CAAA,EAAA,MAAA,EAAA;EAAA;;;;;;;;;AAAA;;;UAHT;AChET;AAQC,cDyDA,UCxDuC,EAAA,ODyDZ,eCzDA;cD0DtB,eCzDY,EDyDA,iBCzDA,CDyDA,IAAA,CAAA,eCzDA,CDyDA,aCzDA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,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SN,IAAA,CAAA,ejBTM,CiBSN,UjBTM,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EiBSN,IAAA,CAAA,qBAAA,EAAA,IAAA,CAAA,qBAAA,EjBTM,CAAA,CAAA,EAAA,MAAA,EiBSN,IAAA,CAAA,WAAA,EAAA,QjBTM,CiBSN,UjBTM,CAAA,GiBSN,QjBTM,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,MAAA,EiBSN,IAAA,CAAA,uBAAA,EjBTM,KAAA,EAAA,CAAA,CAAA,EAAA,GAAA,CAAA,EAAA;;;KiBsDnB,wBAAwB;EhBRZ,MAAA,EAAA;IAIA,MAAA,EgBMP,ChBNO;EAkBhB,CAAA;AACD,CAAA;;;;;;;;AD5GA;AAQA;AAOA;AAOA;AAKY,iBkBrBI,GAAA,ClBqBgB,KAAA,EkBrBL,oBlBqBsC,EAAA,GAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,MAAA"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as vue0 from "vue";
1
+ import * as vue14 from "vue";
2
2
  import { VNode } from "vue";
3
3
 
4
4
  //#region src/types.d.ts
@@ -74,7 +74,7 @@ interface DocumentProps {
74
74
  fonts?: FontMode;
75
75
  }
76
76
  declare const _default$2: typeof __VLS_export$15;
77
- declare const __VLS_export$15: __VLS_WithSlots$8<vue0.DefineComponent<DocumentProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<DocumentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
77
+ declare const __VLS_export$15: __VLS_WithSlots$8<vue14.DefineComponent<DocumentProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<DocumentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>, {
78
78
  default?: (props: {}) => any;
79
79
  }>;
80
80
  type __VLS_WithSlots$8<T, S> = T & {
@@ -95,7 +95,7 @@ interface LayoutProps {
95
95
  splitGranularity?: SplitGranularity;
96
96
  }
97
97
  declare const _default$6: typeof __VLS_export$14;
98
- declare const __VLS_export$14: __VLS_WithSlots$7<vue0.DefineComponent<LayoutProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<LayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
98
+ declare const __VLS_export$14: __VLS_WithSlots$7<vue14.DefineComponent<LayoutProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<LayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>, {
99
99
  default?: (props: {}) => any;
100
100
  }>;
101
101
  type __VLS_WithSlots$7<T, S> = T & {
@@ -112,7 +112,7 @@ interface FlowProps {
112
112
  scope?: string;
113
113
  }
114
114
  declare const _default$3: typeof __VLS_export$13;
115
- declare const __VLS_export$13: __VLS_WithSlots$6<vue0.DefineComponent<FlowProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<FlowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
115
+ declare const __VLS_export$13: __VLS_WithSlots$6<vue14.DefineComponent<FlowProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<FlowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>, {
116
116
  default?: (props: {}) => any;
117
117
  }>;
118
118
  type __VLS_WithSlots$6<T, S> = T & {
@@ -127,7 +127,7 @@ declare var __VLS_8$1: {};
127
127
  type __VLS_Slots$1 = {} & {
128
128
  default?: (props: typeof __VLS_8$1) => any;
129
129
  };
130
- declare const __VLS_base$1: vue0.DefineComponent<{}, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
130
+ declare const __VLS_base$1: vue14.DefineComponent<{}, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, true, {}, any>;
131
131
  declare const __VLS_export$12: __VLS_WithSlots$5<typeof __VLS_base$1, __VLS_Slots$1>;
132
132
  declare const _default$14: typeof __VLS_export$12;
133
133
  type __VLS_WithSlots$5<T, S> = T & {
@@ -138,7 +138,7 @@ type __VLS_WithSlots$5<T, S> = T & {
138
138
  //# sourceMappingURL=Stream.vue.d.ts.map
139
139
  //#endregion
140
140
  //#region src/PageBreak.vue.d.ts
141
- declare const __VLS_export$11: vue0.DefineComponent<{}, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
141
+ declare const __VLS_export$11: vue14.DefineComponent<{}, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, true, {}, any>;
142
142
  declare const _default$9: typeof __VLS_export$11;
143
143
  //#endregion
144
144
  //#region src/PageCounter.vue.d.ts
@@ -160,13 +160,13 @@ interface PageCounterBaseProps {
160
160
  //#region src/PageNumber.vue.d.ts
161
161
  type PageNumberProps = PageCounterBaseProps;
162
162
  declare const _default$11: typeof __VLS_export$10;
163
- declare const __VLS_export$10: vue0.DefineComponent<PageCounterBaseProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<PageCounterBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
163
+ declare const __VLS_export$10: vue14.DefineComponent<PageCounterBaseProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<PageCounterBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>;
164
164
  //# sourceMappingURL=PageNumber.vue.d.ts.map
165
165
  //#endregion
166
166
  //#region src/PageCount.vue.d.ts
167
167
  type PageCountProps = PageCounterBaseProps;
168
168
  declare const _default$10: typeof __VLS_export$9;
169
- declare const __VLS_export$9: vue0.DefineComponent<PageCounterBaseProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<PageCounterBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
169
+ declare const __VLS_export$9: vue14.DefineComponent<PageCounterBaseProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<PageCounterBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>;
170
170
  //# sourceMappingURL=PageCount.vue.d.ts.map
171
171
  //#endregion
172
172
  //#region src/Counter.vue.d.ts
@@ -214,9 +214,9 @@ interface CounterProps {
214
214
  counterStyle?: CounterStyle;
215
215
  }
216
216
  declare const _default: typeof __VLS_export$8;
217
- declare const __VLS_export$8: vue0.DefineComponent<CounterProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<CounterProps> & Readonly<{}>, {
217
+ declare const __VLS_export$8: vue14.DefineComponent<CounterProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<CounterProps> & Readonly<{}>, {
218
218
  as: string;
219
- }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
219
+ }, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>;
220
220
  //# sourceMappingURL=Counter.vue.d.ts.map
221
221
  //#endregion
222
222
  //#region src/Ref.vue.d.ts
@@ -249,9 +249,9 @@ interface RefProps {
249
249
  counterStyle?: CounterStyle;
250
250
  }
251
251
  declare const _default$12: typeof __VLS_export$7;
252
- declare const __VLS_export$7: vue0.DefineComponent<RefProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<RefProps> & Readonly<{}>, {
252
+ declare const __VLS_export$7: vue14.DefineComponent<RefProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<RefProps> & Readonly<{}>, {
253
253
  as: string;
254
- }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
254
+ }, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>;
255
255
  //# sourceMappingURL=Ref.vue.d.ts.map
256
256
  //#endregion
257
257
  //#region src/TableOfContents.vue.d.ts
@@ -272,9 +272,9 @@ interface TableOfContentsProps {
272
272
  repeatHead?: boolean;
273
273
  }
274
274
  declare const _default$15: typeof __VLS_export$6;
275
- declare const __VLS_export$6: __VLS_WithSlots$4<vue0.DefineComponent<TableOfContentsProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<TableOfContentsProps> & Readonly<{}>, {
275
+ declare const __VLS_export$6: __VLS_WithSlots$4<vue14.DefineComponent<TableOfContentsProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<TableOfContentsProps> & Readonly<{}>, {
276
276
  repeatHead: boolean;
277
- }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
277
+ }, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>, {
278
278
  /** Leading content shown once above the entries, e.g. a "Contents" heading. */
279
279
  default?: () => VNode[];
280
280
  }>;
@@ -290,7 +290,7 @@ declare var __VLS_8: {};
290
290
  type __VLS_Slots = {} & {
291
291
  default?: (props: typeof __VLS_8) => any;
292
292
  };
293
- declare const __VLS_base: vue0.DefineComponent<{}, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, true, {}, any>;
293
+ declare const __VLS_base: vue14.DefineComponent<{}, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, true, {}, any>;
294
294
  declare const __VLS_export$5: __VLS_WithSlots$3<typeof __VLS_base, __VLS_Slots>;
295
295
  declare const _default$4: typeof __VLS_export$5;
296
296
  type __VLS_WithSlots$3<T, S> = T & {
@@ -321,9 +321,9 @@ interface FootnotesProps {
321
321
  repeatHead?: boolean;
322
322
  }
323
323
  declare const _default$5: typeof __VLS_export$4;
324
- declare const __VLS_export$4: __VLS_WithSlots$2<vue0.DefineComponent<FootnotesProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<FootnotesProps> & Readonly<{}>, {
324
+ declare const __VLS_export$4: __VLS_WithSlots$2<vue14.DefineComponent<FootnotesProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<FootnotesProps> & Readonly<{}>, {
325
325
  repeatHead: boolean;
326
- }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
326
+ }, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>, {
327
327
  /** Optional leading content, for a heading or rule above the generated note list. */
328
328
  default?: () => VNode[];
329
329
  }>;
@@ -346,7 +346,7 @@ interface CounterDefProps {
346
346
  resetEach?: string;
347
347
  }
348
348
  declare const _default$1: typeof __VLS_export$3;
349
- declare const __VLS_export$3: vue0.DefineComponent<CounterDefProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<CounterDefProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
349
+ declare const __VLS_export$3: vue14.DefineComponent<CounterDefProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<CounterDefProps> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>;
350
350
  //# sourceMappingURL=CounterDef.vue.d.ts.map
351
351
  //#endregion
352
352
  //#region src/Numbering.vue.d.ts
@@ -356,10 +356,18 @@ interface NumberingProps {
356
356
  * per-Counter, and per-Footnotes styles override it. Defaults to `decimal`.
357
357
  */
358
358
  counterStyle?: CounterStyle;
359
+ /**
360
+ * Whether headings `h1` through `h6` get the built-in hierarchical numbers. On by
361
+ * default. Set `false` when your own rules number the headings; that removes the
362
+ * built-in restarts between heading levels as well as the built-in numbers.
363
+ */
364
+ defaultHeadings?: boolean;
359
365
  }
360
366
  declare const _default$7: typeof __VLS_export$2;
361
- declare const __VLS_export$2: __VLS_WithSlots$1<vue0.DefineComponent<NumberingProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<NumberingProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
362
- /** Optional `<NumberingRule>` children that customize the scheme. */
367
+ declare const __VLS_export$2: __VLS_WithSlots$1<vue14.DefineComponent<NumberingProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<NumberingProps> & Readonly<{}>, {
368
+ defaultHeadings: boolean;
369
+ }, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>, {
370
+ /** Optional `<NumberingRule>` and `<CounterDef>` children that extend the scheme. */
363
371
  default?: () => VNode[];
364
372
  }>;
365
373
  type __VLS_WithSlots$1<T, S> = T & {
@@ -412,7 +420,7 @@ interface NumberingRuleProps {
412
420
  insert?: 'before' | 'after' | 'none';
413
421
  }
414
422
  declare const _default$8: typeof __VLS_export$1;
415
- declare const __VLS_export$1: vue0.DefineComponent<NumberingRuleProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<NumberingRuleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
423
+ declare const __VLS_export$1: vue14.DefineComponent<NumberingRuleProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<NumberingRuleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>;
416
424
  //# sourceMappingURL=NumberingRule.vue.d.ts.map
417
425
  //#endregion
418
426
  //#region src/Scope.vue.d.ts
@@ -425,7 +433,7 @@ interface ScopeProps {
425
433
  counter: string;
426
434
  }
427
435
  declare const _default$13: typeof __VLS_export;
428
- declare const __VLS_export: __VLS_WithSlots<vue0.DefineComponent<ScopeProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<ScopeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>, {
436
+ declare const __VLS_export: __VLS_WithSlots<vue14.DefineComponent<ScopeProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {}, string, vue14.PublicProps, Readonly<ScopeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>, {
429
437
  default?: (props: {}) => any;
430
438
  }>;
431
439
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/Document.vue","../src/Layout.vue","../src/Flow.vue","../src/Stream.vue","../src/PageBreak.vue","../src/PageCounter.vue","../src/PageNumber.vue","../src/PageCount.vue","../src/Counter.vue","../src/Ref.vue","../src/TableOfContents.vue","../src/Footnote.vue","../src/Footnotes.vue","../src/CounterDef.vue","../src/Numbering.vue","../src/NumberingRule.vue","../src/Scope.vue","../src/utils.ts"],"sourcesContent":[],"mappings":";;;;;;KAEY,kBAAA;;AAAZ;AAQA;AAOA;AAOA;AAKA;AAMY,cAzBC,gBAyBO,EAAA;EAMR,SAAA,QAAY,EAAA,UAAA;;;;AC8CxB,CAAA;AAIiB,KD1EL,gBAAA,GC2FH,CAAA,OD3F8B,gBC2FtB,CAAA,CAAA,MAAA,OD3FqD,gBC2FrD,CAAA;AAChB;AACD;;;;AACkB,cDvFL,SCuFK,EAAA;EAAA,SAAA,IAAA,EAAA,MAAA;EAAA,SAAA,IAAA,EAAA,MAAA;CAAA;AAAA,KDlFN,SAAA,GCkFM,CAAA,ODlFc,SCkFd,CAAA,CAAA,MAAA,ODlFsC,SCkFtC,CAAA;;;;AAAA;KD5EN,QAAA;;;AESZ;AAQC;AAEK,KFbM,YAAA,GE2ER,SAAA,GAAA,sBAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,aAAA,GAAA,CAAA,MAAA,GAAA,CAAA,CAAA,CAAA;;;;;;AFlHJ;AAQA;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BSN,ejBTM,CiBSN,IAAA,CAAA,ejBTM,CiBSN,UjBTM,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EiBSN,IAAA,CAAA,qBAAA,EAAA,IAAA,CAAA,qBAAA,EjBTM,CAAA,CAAA,EAAA,MAAA,EiBSN,IAAA,CAAA,WAAA,EAAA,QjBTM,CiBSN,UjBTM,CAAA,GiBSN,QjBTM,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,MAAA,EiBSN,IAAA,CAAA,uBAAA,EjBTM,KAAA,EAAA,CAAA,CAAA,EAAA,GAAA,CAAA,EAAA;;;KiBsDnB,wBAAwB;EhBRZ,MAAA,EAAA;IAIA,MAAA,EgBMP,ChBNO;EAkBhB,CAAA;AACD,CAAA;;;;;;;;AD5GA;AAQA;AAOA;AAOA;AAKY,iBkBrBI,GAAA,ClBqBgB,KAAA,EkBrBL,oBlBqBsC,EAAA,GAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,MAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/Document.vue","../src/Layout.vue","../src/Flow.vue","../src/Stream.vue","../src/PageBreak.vue","../src/PageCounter.vue","../src/PageNumber.vue","../src/PageCount.vue","../src/Counter.vue","../src/Ref.vue","../src/TableOfContents.vue","../src/Footnote.vue","../src/Footnotes.vue","../src/CounterDef.vue","../src/Numbering.vue","../src/NumberingRule.vue","../src/Scope.vue","../src/utils.ts"],"sourcesContent":[],"mappings":";;;;;;KAEY,kBAAA;;AAAZ;AAQA;AAOA;AAOA;AAKA;AAMY,cAzBC,gBAyBO,EAAA;EAMR,SAAA,QAAY,EAAA,UAAA;;;;AC8CxB,CAAA;AAIiB,KD1EL,gBAAA,GC0EkB,CAiBrB,OD3F8B,gBC2FtB,CAAA,CAAA,MAAA,OD3FqD,gBC2Fr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,CAAA,uBAAA,EjBTM,KAAA,EAAA,CAAA,CAAA,EAAA,GAAA,CAAA,EAAA;;;KiBsDnB,wBAAwB;EhBRZ,MAAA,EAAA;IAIA,MAAA,EgBMP,ChBNO;EAkBhB,CAAA;AACD,CAAA;;;;;;;;AD5GA;AAQA;AAOA;AAOA;AAKY,iBkBrBI,GAAA,ClBqBgB,KAAA,EkBrBL,oBlBqBsC,EAAA,GAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,MAAA"}
package/dist/index.js CHANGED
@@ -25,11 +25,11 @@ var Template_default = _sfc_main$17;
25
25
 
26
26
  //#endregion
27
27
  //#region src/engine-target.ts
28
- const engineTarget = "0.1.0";
28
+ const engineTarget = "0.2.0";
29
29
 
30
30
  //#endregion
31
31
  //#region src/sdk-version.ts
32
- const sdkVersion = "0.1.2";
32
+ const sdkVersion = "0.2.0";
33
33
 
34
34
  //#endregion
35
35
  //#region src/Document.vue
@@ -398,16 +398,23 @@ var CounterDef_default = _sfc_main$3;
398
398
  //#region src/Numbering.vue
399
399
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
400
400
  __name: "Numbering",
401
- props: { counterStyle: {} },
401
+ props: {
402
+ counterStyle: {},
403
+ defaultHeadings: {
404
+ type: Boolean,
405
+ default: void 0
406
+ }
407
+ },
402
408
  setup(__props) {
403
409
  return (_ctx, _cache) => {
404
410
  return openBlock(), createBlock(Template_default, {
405
411
  "data-type": "numbering",
406
- "data-counter-style": __props.counterStyle
412
+ "data-counter-style": __props.counterStyle,
413
+ "data-default-headings": __props.defaultHeadings === void 0 ? void 0 : __props.defaultHeadings ? "true" : "false"
407
414
  }, {
408
415
  default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
409
416
  _: 3
410
- }, 8, ["data-counter-style"]);
417
+ }, 8, ["data-counter-style", "data-default-headings"]);
411
418
  };
412
419
  }
413
420
  });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["engineTarget: string","sdkVersion: string"],"sources":["../src/Template.vue","../src/engine-target.ts","../src/sdk-version.ts","../src/Document.vue","../src/Layout.vue","../src/Flow.vue","../src/Stream.vue","../src/PageBreak.vue","../src/PageCounter.vue","../src/PageNumber.vue","../src/PageCount.vue","../src/Counter.vue","../src/Ref.vue","../src/TableOfContents.vue","../src/Footnote.vue","../src/Footnotes.vue","../src/CounterDef.vue","../src/Numbering.vue","../src/NumberingRule.vue","../src/Scope.vue","../src/types.ts","../src/utils.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport { h, ref, onMounted, type VNode, useAttrs } from 'vue'\n\nconst attrs = useAttrs()\nconst slots = defineSlots<{\n\tdefault?: () => VNode[]\n}>()\n\nconst tpl = ref<HTMLTemplateElement | null>(null)\n\nonMounted(() => {\n\tconst el = tpl.value\n\tif (!el) return\n\n\t// vue will render children incorrectly as direct child nodes,\n\t// so we need to move them into the template.content manually\n\tif (el.content.childNodes.length === 0) {\n\t\tconst children = Array.from(el.childNodes)\n\t\tchildren.forEach(node => el.content.appendChild(node))\n\t}\n})\n\nconst render = () => h('template', { ...attrs, ref: tpl }, slots.default?.() ?? [])\n</script>\n\n<template>\n\t<render />\n</template>\n","// The released engine version targeted by documents built from this package.\n// Each build supplies `FORMAT_ENGINE_TARGET` for itself, so the same source can\n// be built against different engines. It has to arrive as a free identifier,\n// because `define` substitutes those and not import bindings; see\n// build/release/README.md.\ndeclare const FORMAT_ENGINE_TARGET: string\n\nexport const engineTarget: string = FORMAT_ENGINE_TARGET\n","// The Format release this package belongs to, written into every document it\n// renders as `data-sdk`. It names the SDK/toolchain that produced the markup,\n// which is a different question from the engine that will lay it out\n// (`data-engine`) and from the client that will submit it.\n//\n// Each build supplies `FORMAT_JS_VERSION` for itself, so the same source can be\n// built at different release numbers. It has to arrive as a free identifier,\n// because `define` substitutes those and not import bindings; see\n// build/release/README.md.\ndeclare const FORMAT_JS_VERSION: string\n\nexport const sdkVersion: string = FORMAT_JS_VERSION\n","<script lang=\"ts\">\nimport type { FontMode } from './types'\n\n/**\n * Props the Format runtime passes to a document entry function. The\n * generic parameter is the shape of the active data variant.\n *\n * In `<script setup>`:\n *\n * import type { RenderProps } from '@format.dev/vue'\n * import type { Invoice } from './types'\n *\n * defineProps<RenderProps<Invoice>>()\n */\nexport interface RenderProps<T = unknown> {\n\tdata: T\n}\n\nexport interface DocumentProps {\n\ttitle: string\n\tsubject?: string\n\tauthor?: string\n\tkeywords?: string[]\n\t/**\n\t * How the PDF embeds its fonts — file size against rendering quality. Leave\n\t * unset for most documents; set `'fidelity'` when exact text rendering\n\t * matters more than file size.\n\t *\n\t * - Compact (the default) keeps files small: the fonts embed as subset CID\n\t * instances, so the optical size is fixed and strokes can look slightly\n\t * heavier in some viewers (for example macOS Preview).\n\t * - Fidelity gives the best-looking output: text keeps its exact optical\n\t * sizing and renders at the same weight in every PDF viewer. The cost is a\n\t * larger file, since the fonts embed as Type 3.\n\t */\n\tfonts?: FontMode\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport Template from './Template.vue'\nimport { engineTarget } from './engine-target'\nimport { sdkVersion } from './sdk-version'\n\ndefineOptions({ inheritAttrs: false })\n\nconst props = defineProps<DocumentProps>()\n\nconst keywordsString = computed(() => props.keywords?.join(', ') || undefined)\n</script>\n\n<template>\n\t<Template\n\t\t:data-sdk=\"sdkVersion\"\n\t\t:data-engine=\"engineTarget\"\n\t\tdata-type=\"document\"\n\t\t:data-title=\"title\"\n\t\t:data-subject=\"subject\"\n\t\t:data-author=\"author\"\n\t\t:data-keywords=\"keywordsString\"\n\t\t:data-fonts=\"fonts\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nimport type { PaginationStrategy, SplitGranularity } from './types'\n\nexport interface LayoutProps {\n\t/** Design label, mirrored to each page as `data-layout-id` for CSS. Optional:\n\t * when omitted, the engine generates one from the Layout's document position. */\n\tid?: string\n\twidth: number\n\theight: number\n\tpaginationStrategy?: PaginationStrategy\n\tsplitGranularity?: SplitGranularity\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport Template from './Template.vue'\n\nconst props = defineProps<LayoutProps>()\n\nconst widthPx = computed(() => `${props.width}px`)\nconst heightPx = computed(() => `${props.height}px`)\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"layout\"\n\t\t:data-id=\"id\"\n\t\t:data-width=\"widthPx\"\n\t\t:data-height=\"heightPx\"\n\t\t:data-pagination-strategy=\"paginationStrategy\"\n\t\t:data-split-granularity=\"splitGranularity\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nimport type { PaginationStrategy, SplitGranularity } from './types'\n\nexport interface FlowProps {\n\tsplitGranularity?: SplitGranularity\n\tpaginationStrategy?: PaginationStrategy\n\tscope?: string\n}\n</script>\n\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n\ndefineProps<FlowProps>()\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"flow\"\n\t\t:data-split-granularity=\"splitGranularity\"\n\t\t:data-pagination-strategy=\"paginationStrategy\"\n\t\t:data-scope=\"scope\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script setup lang=\"ts\">\nimport Template from './Template.vue'\n</script>\n\n<template>\n\t<Template data-type=\"stream\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script setup lang=\"ts\">\nimport Template from './Template.vue'\n</script>\n\n<template>\n\t<Template data-type=\"page-break\" />\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface PageCounterBaseProps {\n\t/**\n\t * HTML tag to render. Defaults to `span`. Use `div` (or another block-level\n\t * element) when the counter needs its own line.\n\t */\n\tas?: string\n\t/**\n\t * CSS `<counter-style>` used to format the counter — e.g. `decimal`,\n\t * `lower-roman`, `upper-alpha`, or a custom `@counter-style` name. Sets\n\t * `--page-counter-style` inline; defaults to `decimal` from the base\n\t * stylesheet when omitted.\n\t */\n\tcounterStyle?: CounterStyle\n}\n\nexport interface PageCounterProps extends PageCounterBaseProps {\n\ttype: 'page-number' | 'page-count'\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, type CSSProperties } from 'vue'\n\nconst props = withDefaults(defineProps<PageCounterProps>(), {\n\tas: 'span'\n})\n\nconst style = computed<CSSProperties | undefined>(() =>\n\tprops.counterStyle ? ({ '--page-counter-style': props.counterStyle } as CSSProperties) : undefined\n)\n</script>\n\n<template>\n\t<component :is=\"as\" :data-type=\"type\" :style=\"style\" />\n</template>\n","<script lang=\"ts\">\nimport type { PageCounterBaseProps } from './PageCounter.vue'\nexport type PageNumberProps = PageCounterBaseProps\n</script>\n\n<script setup lang=\"ts\">\nimport PageCounter from './PageCounter.vue'\n\nconst props = defineProps<PageNumberProps>()\n</script>\n\n<template>\n\t<PageCounter type=\"page-number\" v-bind=\"props\" />\n</template>\n","<script lang=\"ts\">\nimport type { PageCounterBaseProps } from './PageCounter.vue'\nexport type PageCountProps = PageCounterBaseProps\n</script>\n\n<script setup lang=\"ts\">\nimport PageCounter from './PageCounter.vue'\n\nconst props = defineProps<PageCountProps>()\n</script>\n\n<template>\n\t<PageCounter type=\"page-count\" v-bind=\"props\" />\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface CounterProps {\n\t/**\n\t * The counter to read or advance. Counters are created on first use, so any\n\t * name works — `figure`, `table`, `step`. The same name shares one running\n\t * value across the whole document.\n\t */\n\tname: string\n\t/**\n\t * Read the current value without advancing it. Use this to refer back to a\n\t * number you already showed, e.g. \"see Figure <Counter name='figure' peek />\".\n\t */\n\tpeek?: boolean\n\t/**\n\t * Reset the counter to 0 at this point and render nothing — the start of a\n\t * fresh run (a new chapter restarting its figures).\n\t */\n\treset?: boolean\n\t/**\n\t * Set the counter to an exact value and show it. Mutually exclusive with `by`;\n\t * setting both is a runtime error in dev, since Vue props can't express the\n\t * either/or a TypeScript union would (the React SDK rejects it at compile time).\n\t */\n\tset?: number\n\t/**\n\t * How much to advance by before showing the value. Defaults to 1.\n\t */\n\tby?: number\n\t/**\n\t * Join the whole nested chain of this counter with the given separator — the\n\t * `counters()` read, for nested lists: `join=\".\"` shows `1.2.1`. Without it,\n\t * only the innermost value is shown.\n\t */\n\tjoin?: string\n\t/**\n\t * HTML tag to render. Defaults to `span`.\n\t */\n\tas?: string\n\t/**\n\t * CSS `<counter-style>` used to format the value — e.g. `decimal`,\n\t * `lower-roman`, `upper-alpha`. Defaults to `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n}\n</script>\n\n<!--\n\tA counter whose value survives pagination. Unlike a CSS counter, which resets\n\ton every page, this is resolved by Format before pages are split, so the\n\tnumber stays correct wherever the content lands.\n\n\tBy default it advances the counter and shows the new value — the usual \"this\n\tis Figure N\" case. `peek` reads without advancing, `set` jumps to a value, and\n\t`reset` starts the count over. These three are mutually exclusive; when more\n\tthan one is set, `reset` wins, then `set`, then `peek`. `by` applies only to\n\tthe default advance.\n\n\tGive the counter an `id` to make it referenceable. A `<Ref to=\"that-id\" />`\n\tthen prints the exact value this counter showed, and `<Ref to=\"that-id\" page />`\n\tthe page it landed on — the same way a heading's id yields its section number.\n-->\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nconst props = withDefaults(defineProps<CounterProps>(), {\n\tas: 'span'\n})\n\n// defineProps can't express the set/by XOR the React SDK enforces at the type\n// level, so this runtime check covers it in dev; keep it when editing the props\nif (\n\ttypeof process !== 'undefined' &&\n\tprocess.env?.NODE_ENV !== 'production' &&\n\tprops.set !== undefined &&\n\tprops.by !== undefined\n) {\n\tconsole.error(\n\t\t'<Counter>: `set` and `by` are mutually exclusive; `set` jumps to an exact value and wins, `by` is ignored.'\n\t)\n}\n\nconst action = computed(() => (props.reset ? 'reset' : props.set !== undefined ? 'set' : props.peek ? 'peek' : 'next'))\n\n// data-value seeds both actions: the exact value for `set`, the step size for `next`\nconst value = computed(() => (props.set !== undefined ? props.set : action.value === 'next' ? props.by : undefined))\n</script>\n\n<template>\n\t<component\n\t\t:is=\"as\"\n\t\tdata-type=\"counter\"\n\t\t:data-name=\"name\"\n\t\t:data-action=\"action\"\n\t\t:data-value=\"value\"\n\t\t:data-join=\"join\"\n\t\t:data-counter-style=\"counterStyle\" />\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface RefProps {\n\t/**\n\t * The `id` to point at. Put an id on a heading to reference its section number,\n\t * or on a `<Counter>` to reference the value that counter printed. The target\n\t * can appear anywhere in the document, before or after this reference.\n\t */\n\tto: string\n\t/**\n\t * Read a named counter's value as it stood at the target, e.g. `counter=\"figure\"`\n\t * for the figure count at that point in the document. Omit it to show the\n\t * target's own number — a heading's section number, or the value a\n\t * `<Counter id=\"…\">` printed.\n\t */\n\tcounter?: string\n\t/**\n\t * Show the page the target landed on, e.g. \"see page 12\". Resolved after\n\t * pagination. Takes precedence over `counter`.\n\t */\n\tpage?: boolean\n\t/**\n\t * HTML tag to render. Defaults to `span`.\n\t */\n\tas?: string\n\t/**\n\t * CSS `<counter-style>` used to format the value. Defaults to `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n}\n</script>\n\n<!--\n\tA cross-reference to a numbered element — \"see Section 2.1\" or \"Figure 3\".\n\tPoint it at an `id`: a heading's id yields its section number, a `<Counter>`'s\n\tid yields the value that counter printed. Add `page` for the page the target\n\tlanded on, or `counter` to read a named counter's running value at the target.\n\n\tReferences resolve before pages are split and can point forward to an element\n\tthat appears later in the document.\n\n\t\t<figcaption>Figure <Counter name=\"figure\" id=\"flow\" />: the data flow</figcaption>\n\t\tThen, anywhere else in the document:\n\t\t<p>The method (see Section <Ref to=\"method\" />) reads Figure <Ref to=\"flow\" />,\n\t\t shown in full on page <Ref to=\"flow\" page />.</p>\n-->\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nconst props = withDefaults(defineProps<RefProps>(), {\n\tas: 'span'\n})\n\nconst counter = computed(() => (props.page ? undefined : props.counter))\nconst page = computed(() => (props.page ? '' : undefined))\n</script>\n\n<template>\n\t<component\n\t\t:is=\"as\"\n\t\tdata-type=\"ref\"\n\t\t:data-to=\"to\"\n\t\t:data-counter=\"counter\"\n\t\t:data-page=\"page\"\n\t\t:data-counter-style=\"counterStyle\" />\n</template>\n","<script lang=\"ts\">\nimport type { TocLeader } from './types'\n\nexport interface TableOfContentsProps {\n\t/**\n\t * CSS selector for the headings to list. Defaults to `h1, h2, h3`.\n\t */\n\tcollect?: string\n\t/**\n\t * The dot leader between each entry's title and its page number. The default,\n\t * `dots`, draws it; `none` leaves the run between them blank.\n\t */\n\tleader?: TocLeader\n\t/**\n\t * Repeat the leading content with the nav on every page the contents spans, like a\n\t * running header. Off by default: the leading content shows once, above the entries.\n\t */\n\trepeatHead?: boolean\n}\n</script>\n\n<!--\n\tA table of contents. Format fills it after laying out the document: one entry per\n\theading the `collect` selector matches, each with the heading's number, its\n\ttitle, and the page it landed on.\n\n\tThe entries are flat anchors in a `<div data-type=\"toc-entries\">` inside a\n\t`<nav data-type=\"toc\">`: each is an `<a data-type=\"toc-entry\" data-depth=\"N\">`\n\t(depth 0 at the top of the outline) holding `toc-number`, `toc-title`, and\n\t`toc-page` spans. Depth is data, not nesting, so the stylesheet indents and sizes\n\tby depth and a long contents paginates by breaking between anchors. Style it through\n\tthe `data-type` hooks and the `--toc-*` custom properties (root size, per-depth size\n\tand indent, page-number size, leader, and vertical rhythm). A `class` or `style` set\n\ton `<TableOfContents>` carries onto the nav. Set `leader=\"none\"` to omit the dot leader\n\tentirely, so no leader is drawn between a title and its page number.\n\n\tThe default slot is leading content shown above the entries — put a \"Contents\" heading\n\tthere. It shows once by default; set `repeatHead` to repeat it with the nav per page.\n\n\t\t<TableOfContents collect=\"h1, h2\">\n\t\t\t<h2>Contents</h2>\n\t\t</TableOfContents>\n\n\tGive a collected heading a `data-toc-description` and its entry gains a\n\t`toc-description` line under the title:\n\n\t\t<h1 data-toc-description=\"Defining the studio's personality and direction.\">\n\t\t\tVisual Positioning\n\t\t</h1>\n-->\n<script setup lang=\"ts\">\nimport { type VNode } from 'vue'\nimport Template from './Template.vue'\n\nwithDefaults(defineProps<TableOfContentsProps>(), { repeatHead: undefined })\ndefineSlots<{\n\t/** Leading content shown once above the entries, e.g. a \"Contents\" heading. */\n\tdefault?: () => VNode[]\n}>()\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"toc\"\n\t\t:data-collect=\"collect\"\n\t\t:data-leader=\"leader\"\n\t\t:data-repeat-head=\"repeatHead === undefined ? undefined : repeatHead ? 'true' : 'false'\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<!--\n\tA footnote. Write the note's text as the children, at the point it's\n\treferenced; Format leaves a numbered marker inline and moves the text to the\n\tfooter of whichever page the marker lands on. Footnotes are numbered\n\tcontinuously through the document.\n\n\tPair it with a `<Footnotes />` region in the Layout to control where the notes\n\tsit; without one, Format adds a footer area to each page that needs it.\n\n\t\t<p>The result holds<Footnote>under the stated assumptions</Footnote>.</p>\n-->\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n</script>\n\n<template>\n\t<!-- a template so the note's text stays inert and out of the inline flow until\n\t\tthe engine moves it to the footer, leaving just the marker behind -->\n\t<Template data-type=\"footnote\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface FootnotesProps {\n\t/**\n\t * The counter style for the note numbers and their inline markers. Defaults to\n\t * the document's numbering style, or `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n\t/**\n\t * Restart the numbering on each page, so every page's footer reads 1, 2, 3 rather\n\t * than a count that runs the whole document. For a per-page footer in a Layout; the\n\t * inline markers renumber to match. Off by default (continuous numbering).\n\t */\n\trestartEachPage?: boolean\n\t/**\n\t * Whether the leading content (a heading, a rule) repeats in every page's footer. On by\n\t * default for a per-page Layout footer; an inline endnotes block shows it once. Set `false`\n\t * to show a Layout footer's head on its first page only.\n\t */\n\trepeatHead?: boolean\n}\n</script>\n\n<!--\n\tThe region that collects a page's footnotes, authored as a `<template>` Format\n\tfills. In a Layout it is a per-page footer gathering the notes whose markers\n\tlanded there; in a flow's content it is an endnotes list. Format renders it as an\n\t`<aside data-type=\"footnotes\">` holding a `<dl data-type=\"footnote-entries\">`, where\n\teach note is a `<dt data-type=\"footnote-number\">` term and a\n\t`<dd data-type=\"footnote-content\">` definition; style the list as a grid with your\n\town CSS. A `class` or `style` set on `<Footnotes>` carries onto the rendered `<aside>`.\n\n\tPut a heading or rule inside `<Footnotes>` to render it above the generated list,\n\tthe way a table of contents renders its leading content above the entries:\n\n\t\t<Footnotes>\n\t\t\t<h4>Notes</h4>\n\t\t</Footnotes>\n\n\tOmit it and Format adds a plain footer to each page that has footnotes.\n-->\n<script setup lang=\"ts\">\nimport { type VNode } from 'vue'\nimport Template from './Template.vue'\n\nwithDefaults(defineProps<FootnotesProps>(), { repeatHead: undefined })\ndefineSlots<{\n\t/** Optional leading content, for a heading or rule above the generated note list. */\n\tdefault?: () => VNode[]\n}>()\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"footnotes\"\n\t\t:data-counter-style=\"counterStyle\"\n\t\t:data-restart-each-page=\"restartEachPage ? '' : undefined\"\n\t\t:data-repeat-head=\"repeatHead === undefined ? undefined : repeatHead ? 'true' : 'false'\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nexport interface CounterDefProps {\n\t/** The counter this defines. Shared by name across the document. */\n\tname: string\n\t/**\n\t * The counter this one restarts under, if any: whenever that owner advances, this\n\t * counter returns to 0. A `figure` set to restart under `chapter` reads \"Figure 2.1\".\n\t * The restart cascades, so a new chapter zeros section and, under section, figure.\n\t */\n\tresetEach?: string\n}\n</script>\n\n<!--\n\tDeclares one counter's behaviour, used as <CounterDef> inside <Numbering>. Name the\n\tcounter and, optionally, the owner counter it restarts under. A counter with an owner\n\treturns to 0 every time the owner's value changes; one with no owner restarts only when\n\tyou reset or set it yourself.\n\n\t\t<Numbering>\n\t\t\t<CounterDef name=\"figure\" resetEach=\"chapter\" />\n\t\t\t<NumberingRule match=\"figcaption\" counter=\"figure\" format=\"Figure {chapter}.{figure}: \" />\n\t\t</Numbering>\n-->\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n\ndefineProps<CounterDefProps>()\n</script>\n\n<template>\n\t<Template data-type=\"counter-def\" :data-name=\"name\" :data-reset-each=\"resetEach\" />\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface NumberingProps {\n\t/**\n\t * The default counter style for every counter the document numbers. Per-rule,\n\t * per-Counter, and per-Footnotes styles override it. Defaults to `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n}\n</script>\n\n<!--\n\tTurns on document-wide numbering. With no children it numbers headings `h1`\n\tthrough `h6` hierarchically — `1`, `1.1`, `1.1.1` — with each level resetting\n\tthe ones beneath it. Add <NumberingRule> children to number other things or\n\tchange the format.\n\n\tNumbers are resolved before pages are split, so they stay correct across page\n\tbreaks where plain CSS counters would reset.\n\n\t\t<Document title=\"Report\">\n\t\t\t<Numbering />\n\t\t\t...\n\t\t</Document>\n-->\n<script setup lang=\"ts\">\nimport { type VNode } from 'vue'\nimport Template from './Template.vue'\n\ndefineProps<NumberingProps>()\ndefineSlots<{\n\t/** Optional `<NumberingRule>` children that customize the scheme. */\n\tdefault?: () => VNode[]\n}>()\n</script>\n\n<template>\n\t<Template data-type=\"numbering\" :data-counter-style=\"counterStyle\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface NumberingRuleProps {\n\t/**\n\t * CSS selector for the elements this rule numbers, e.g. `h2`, `figure figcaption`,\n\t * `.step`. Every match advances the counter in document order.\n\t */\n\tmatch: string\n\t/**\n\t * The counter this rule advances. Defaults to the selector, so a single-tag\n\t * rule needs no separate name.\n\t */\n\tcounter?: string\n\t/**\n\t * The text inserted into each match, with `{counter}` placeholders. For\n\t * example `Figure {figure}: ` or `{chapter:upper-roman}. `. A placeholder may\n\t * carry its own style after a colon. When omitted, the rule advances the\n\t * counter but inserts nothing — pair it with a <Counter> read.\n\t */\n\tformat?: string\n\t/**\n\t * How much to advance the counter on each match. Defaults to 1. Set to `0` to insert\n\t * a counter's value without advancing it.\n\t */\n\tincrement?: number\n\t/**\n\t * Set the counter to this exact value on each match instead of advancing it.\n\t * Mutually exclusive with `increment`; setting both is a runtime error in dev,\n\t * since Vue props can't express the either/or a TypeScript union would.\n\t */\n\tset?: number\n\t/**\n\t * Default `<counter-style>` for placeholders in `format`. Defaults to `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n\t/**\n\t * Where the formatted number goes relative to the matched element:\n\t * `before` its content (the default), `after` it, or `none` to only keep the\n\t * counter running. To restart a counter under another, declare it with\n\t * `<CounterDef resetEach>`; to nest a counter, mark the container `data-scope`.\n\t */\n\tinsert?: 'before' | 'after' | 'none'\n}\n</script>\n\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n\nconst props = defineProps<NumberingRuleProps>()\n\n// defineProps can't express the set/increment XOR a TS union would, so this\n// runtime check enforces it in dev; keep it when editing the props above\nif (\n\ttypeof process !== 'undefined' &&\n\tprocess.env?.NODE_ENV !== 'production' &&\n\tprops.set !== undefined &&\n\tprops.increment !== undefined\n) {\n\tconsole.error(\n\t\t'<NumberingRule>: `set` and `increment` are mutually exclusive; `set` forces an exact value and wins, `increment` is ignored.'\n\t)\n}\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"numbering-rule\"\n\t\t:data-match=\"match\"\n\t\t:data-counter=\"counter\"\n\t\t:data-format=\"format\"\n\t\t:data-increment=\"increment\"\n\t\t:data-set=\"set\"\n\t\t:data-counter-style=\"counterStyle\"\n\t\t:data-insert=\"insert\" />\n</template>\n","<script lang=\"ts\">\nexport interface ScopeProps {\n\t/**\n\t * The counter to open a fresh nested instance for across this wrapper's content — a\n\t * level of a nested list. Pass several space-separated to scope more than one. A\n\t * `<Counter join>` inside reads the whole open stack.\n\t */\n\tcounter: string\n}\n</script>\n\n<!--\n\tOpens a counter scope around its children and adds no element to the output: a\n\t<Scope> is the fallback for nesting content that has no element of its own to carry\n\tthe scope. When the content already sits in a container or a <Flow>, mark that\n\tdirectly (<ol data-scope=\"item\">, <Flow scope=\"item\">) instead of wrapping.\n\n\t\t<Scope counter=\"item\">\n\t\t\t<Counter name=\"item\" join=\".\" /> First\n\t\t\t<Scope counter=\"item\">\n\t\t\t\t<Counter name=\"item\" join=\".\" /> Nested\n\t\t\t</Scope>\n\t\t</Scope>\n-->\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n\ndefineProps<ScopeProps>()\n</script>\n\n<template>\n\t<Template :data-scope=\"counter\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","/** How a Layout or Flow decides where pages break: `auto` on overflow\n * and at PageBreak markers, `manual` at PageBreak markers only. */\nexport type PaginationStrategy = 'auto' | 'manual'\n\n/**\n * How a Flow splits content that overflows a page: at a `sentence`, `word`, or\n * `grapheme` boundary, or `none` to keep the block whole and move it to the next\n * page intact. Use the constant (`SplitGranularity.None`) or the plain string\n * (`'none'`); both are accepted.\n */\nexport const SplitGranularity = {\n\tSentence: 'sentence',\n\tWord: 'word',\n\tGrapheme: 'grapheme',\n\tNone: 'none'\n} as const\n\nexport type SplitGranularity = (typeof SplitGranularity)[keyof typeof SplitGranularity]\n\n/**\n * The dot leader between a contents entry's title and its page number. The default,\n * `dots`, draws it; `none` leaves the run between them blank. Use the constant\n * (`TocLeader.None`) or the plain string (`'none'`); both are accepted.\n */\nexport const TocLeader = {\n\tDots: 'dots',\n\tNone: 'none'\n} as const\n\nexport type TocLeader = (typeof TocLeader)[keyof typeof TocLeader]\n\n/**\n * How the PDF embeds its fonts. Mirrors `FontMode` in `@format.dev/fonts`, which owns\n * the canonical list and the default.\n */\nexport type FontMode = 'fidelity' | 'compact'\n\n/**\n * A CSS `<counter-style>` name. The predefined styles autocomplete; any custom\n * `@counter-style` name you define is accepted too.\n */\nexport type CounterStyle =\n\t| 'decimal'\n\t| 'decimal-leading-zero'\n\t| 'lower-roman'\n\t| 'upper-roman'\n\t| 'lower-alpha'\n\t| 'upper-alpha'\n\t| 'lower-latin'\n\t| 'upper-latin'\n\t| 'lower-greek'\n\t| (string & {})\n","/**\n * Tagged template for authoring CSS, typically inside a `<style>` element.\n * Returns the string from the raw segments, so CSS escapes (`\\2014`,\n * icon-font codepoints, escaped selectors) survive intact. Interpolated\n * `null`, `undefined`, and `false` collapse to an empty string for clean\n * conditional rules. The `css` name also lets editors and the Format docs\n * highlighter treat the contents as CSS.\n */\nexport function css(parts: TemplateStringsArray, ...vals: unknown[]): string {\n\tlet out = parts.raw[0] ?? ''\n\tfor (let i = 0; i < vals.length; i++) {\n\t\tconst v = vals[i]\n\t\tout += (v == null || v === false ? '' : String(v)) + parts.raw[i + 1]!\n\t}\n\treturn out\n}\n"],"mappings":";;;;;;EAGA,MAAM,QAAQ,UAAS;EACvB,MAAM,QAAQ,UAAA;EAId,MAAM,MAAM,IAAgC,KAAI;AAEhD,kBAAgB;GACf,MAAM,KAAK,IAAI;AACf,OAAI,CAAC,GAAI;AAIT,OAAI,GAAG,QAAQ,WAAW,WAAW,EAEpC,CADiB,MAAM,KAAK,GAAG,WAAU,CAChC,SAAQ,SAAQ,GAAG,QAAQ,YAAY,KAAK,CAAA;IAEtD;EAED,MAAM,eAAe,EAAE,YAAY;GAAE,GAAG;GAAO,KAAK;GAAI,EAAG,MAAM,WAAU,IAAK,EAAE,CAAA;;AAIjF,UAAA,WAAA,EAAA,YAAU,OAAA;;;;;;;;ACnBX,MAAaA;;;;ACIb,MAAaC;;;;;;;;;;;;;;;ECoCb,MAAM,QAAQ;EAEd,MAAM,iBAAiB,eAAe,MAAM,UAAU,KAAK,KAAI,IAAK,OAAS;;AAI5E,UAAA,WAAA,EAAA,YAUW,kBAAA;IATT,YAAU,MAAA,WAAA;IACV,eAAa,MAAA,aAAA;IACd,aAAU;IACT,cAAY,QAAA;IACZ,gBAAc,QAAA;IACd,eAAa,QAAA;IACb,iBAAe,eAAA;IACf,cAAY,QAAA;;IACb,SAA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MAAyB;CAC5E,IAAI,MAAM,MAAM,IAAI,MAAM;AAC1B,MAAK,IAAI,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;EACrC,MAAM,IAAI,KAAK;AACf,UAAQ,KAAK,QAAQ,MAAM,QAAQ,KAAK,OAAO,EAAE,IAAI,MAAM,IAAI,IAAI;;AAEpE,QAAO"}
1
+ {"version":3,"file":"index.js","names":["engineTarget: string","sdkVersion: string"],"sources":["../src/Template.vue","../src/engine-target.ts","../src/sdk-version.ts","../src/Document.vue","../src/Layout.vue","../src/Flow.vue","../src/Stream.vue","../src/PageBreak.vue","../src/PageCounter.vue","../src/PageNumber.vue","../src/PageCount.vue","../src/Counter.vue","../src/Ref.vue","../src/TableOfContents.vue","../src/Footnote.vue","../src/Footnotes.vue","../src/CounterDef.vue","../src/Numbering.vue","../src/NumberingRule.vue","../src/Scope.vue","../src/types.ts","../src/utils.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport { h, ref, onMounted, type VNode, useAttrs } from 'vue'\n\nconst attrs = useAttrs()\nconst slots = defineSlots<{\n\tdefault?: () => VNode[]\n}>()\n\nconst tpl = ref<HTMLTemplateElement | null>(null)\n\nonMounted(() => {\n\tconst el = tpl.value\n\tif (!el) return\n\n\t// vue will render children incorrectly as direct child nodes,\n\t// so we need to move them into the template.content manually\n\tif (el.content.childNodes.length === 0) {\n\t\tconst children = Array.from(el.childNodes)\n\t\tchildren.forEach(node => el.content.appendChild(node))\n\t}\n})\n\nconst render = () => h('template', { ...attrs, ref: tpl }, slots.default?.() ?? [])\n</script>\n\n<template>\n\t<render />\n</template>\n","// The released engine version targeted by documents built from this package.\n// Each build supplies `FORMAT_ENGINE_TARGET` for itself, so the same source can\n// be built against different engines. It has to arrive as a free identifier,\n// because `define` substitutes those and not import bindings; see\n// build/release/README.md.\ndeclare const FORMAT_ENGINE_TARGET: string\n\nexport const engineTarget: string = FORMAT_ENGINE_TARGET\n","// The Format release this package belongs to, written into every document it\n// renders as `data-sdk`. It names the SDK/toolchain that produced the markup,\n// which is a different question from the engine that will lay it out\n// (`data-engine`) and from the client that will submit it.\n//\n// Each build supplies `FORMAT_JS_VERSION` for itself, so the same source can be\n// built at different release numbers. It has to arrive as a free identifier,\n// because `define` substitutes those and not import bindings; see\n// build/release/README.md.\ndeclare const FORMAT_JS_VERSION: string\n\nexport const sdkVersion: string = FORMAT_JS_VERSION\n","<script lang=\"ts\">\nimport type { FontMode } from './types'\n\n/**\n * Props the Format runtime passes to a document entry function. The\n * generic parameter is the shape of the active data variant.\n *\n * In `<script setup>`:\n *\n * import type { RenderProps } from '@format.dev/vue'\n * import type { Invoice } from './types'\n *\n * defineProps<RenderProps<Invoice>>()\n */\nexport interface RenderProps<T = unknown> {\n\tdata: T\n}\n\nexport interface DocumentProps {\n\ttitle: string\n\tsubject?: string\n\tauthor?: string\n\tkeywords?: string[]\n\t/**\n\t * How the PDF embeds its fonts — file size against rendering quality. Leave\n\t * unset for most documents; set `'fidelity'` when exact text rendering\n\t * matters more than file size.\n\t *\n\t * - Compact (the default) keeps files small: the fonts embed as subset CID\n\t * instances, so the optical size is fixed and strokes can look slightly\n\t * heavier in some viewers (for example macOS Preview).\n\t * - Fidelity gives the best-looking output: text keeps its exact optical\n\t * sizing and renders at the same weight in every PDF viewer. The cost is a\n\t * larger file, since the fonts embed as Type 3.\n\t */\n\tfonts?: FontMode\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport Template from './Template.vue'\nimport { engineTarget } from './engine-target'\nimport { sdkVersion } from './sdk-version'\n\ndefineOptions({ inheritAttrs: false })\n\nconst props = defineProps<DocumentProps>()\n\nconst keywordsString = computed(() => props.keywords?.join(', ') || undefined)\n</script>\n\n<template>\n\t<Template\n\t\t:data-sdk=\"sdkVersion\"\n\t\t:data-engine=\"engineTarget\"\n\t\tdata-type=\"document\"\n\t\t:data-title=\"title\"\n\t\t:data-subject=\"subject\"\n\t\t:data-author=\"author\"\n\t\t:data-keywords=\"keywordsString\"\n\t\t:data-fonts=\"fonts\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nimport type { PaginationStrategy, SplitGranularity } from './types'\n\nexport interface LayoutProps {\n\t/** Design label, mirrored to each page as `data-layout-id` for CSS. Optional:\n\t * when omitted, the engine generates one from the Layout's document position. */\n\tid?: string\n\twidth: number\n\theight: number\n\tpaginationStrategy?: PaginationStrategy\n\tsplitGranularity?: SplitGranularity\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport Template from './Template.vue'\n\nconst props = defineProps<LayoutProps>()\n\nconst widthPx = computed(() => `${props.width}px`)\nconst heightPx = computed(() => `${props.height}px`)\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"layout\"\n\t\t:data-id=\"id\"\n\t\t:data-width=\"widthPx\"\n\t\t:data-height=\"heightPx\"\n\t\t:data-pagination-strategy=\"paginationStrategy\"\n\t\t:data-split-granularity=\"splitGranularity\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nimport type { PaginationStrategy, SplitGranularity } from './types'\n\nexport interface FlowProps {\n\tsplitGranularity?: SplitGranularity\n\tpaginationStrategy?: PaginationStrategy\n\tscope?: string\n}\n</script>\n\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n\ndefineProps<FlowProps>()\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"flow\"\n\t\t:data-split-granularity=\"splitGranularity\"\n\t\t:data-pagination-strategy=\"paginationStrategy\"\n\t\t:data-scope=\"scope\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script setup lang=\"ts\">\nimport Template from './Template.vue'\n</script>\n\n<template>\n\t<Template data-type=\"stream\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script setup lang=\"ts\">\nimport Template from './Template.vue'\n</script>\n\n<template>\n\t<Template data-type=\"page-break\" />\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface PageCounterBaseProps {\n\t/**\n\t * HTML tag to render. Defaults to `span`. Use `div` (or another block-level\n\t * element) when the counter needs its own line.\n\t */\n\tas?: string\n\t/**\n\t * CSS `<counter-style>` used to format the counter — e.g. `decimal`,\n\t * `lower-roman`, `upper-alpha`, or a custom `@counter-style` name. Sets\n\t * `--page-counter-style` inline; defaults to `decimal` from the base\n\t * stylesheet when omitted.\n\t */\n\tcounterStyle?: CounterStyle\n}\n\nexport interface PageCounterProps extends PageCounterBaseProps {\n\ttype: 'page-number' | 'page-count'\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, type CSSProperties } from 'vue'\n\nconst props = withDefaults(defineProps<PageCounterProps>(), {\n\tas: 'span'\n})\n\nconst style = computed<CSSProperties | undefined>(() =>\n\tprops.counterStyle ? ({ '--page-counter-style': props.counterStyle } as CSSProperties) : undefined\n)\n</script>\n\n<template>\n\t<component :is=\"as\" :data-type=\"type\" :style=\"style\" />\n</template>\n","<script lang=\"ts\">\nimport type { PageCounterBaseProps } from './PageCounter.vue'\nexport type PageNumberProps = PageCounterBaseProps\n</script>\n\n<script setup lang=\"ts\">\nimport PageCounter from './PageCounter.vue'\n\nconst props = defineProps<PageNumberProps>()\n</script>\n\n<template>\n\t<PageCounter type=\"page-number\" v-bind=\"props\" />\n</template>\n","<script lang=\"ts\">\nimport type { PageCounterBaseProps } from './PageCounter.vue'\nexport type PageCountProps = PageCounterBaseProps\n</script>\n\n<script setup lang=\"ts\">\nimport PageCounter from './PageCounter.vue'\n\nconst props = defineProps<PageCountProps>()\n</script>\n\n<template>\n\t<PageCounter type=\"page-count\" v-bind=\"props\" />\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface CounterProps {\n\t/**\n\t * The counter to read or advance. Counters are created on first use, so any\n\t * name works — `figure`, `table`, `step`. The same name shares one running\n\t * value across the whole document.\n\t */\n\tname: string\n\t/**\n\t * Read the current value without advancing it. Use this to refer back to a\n\t * number you already showed, e.g. \"see Figure <Counter name='figure' peek />\".\n\t */\n\tpeek?: boolean\n\t/**\n\t * Reset the counter to 0 at this point and render nothing — the start of a\n\t * fresh run (a new chapter restarting its figures).\n\t */\n\treset?: boolean\n\t/**\n\t * Set the counter to an exact value and show it. Mutually exclusive with `by`;\n\t * setting both is a runtime error in dev, since Vue props can't express the\n\t * either/or a TypeScript union would (the React SDK rejects it at compile time).\n\t */\n\tset?: number\n\t/**\n\t * How much to advance by before showing the value. Defaults to 1.\n\t */\n\tby?: number\n\t/**\n\t * Join the whole nested chain of this counter with the given separator — the\n\t * `counters()` read, for nested lists: `join=\".\"` shows `1.2.1`. Without it,\n\t * only the innermost value is shown.\n\t */\n\tjoin?: string\n\t/**\n\t * HTML tag to render. Defaults to `span`.\n\t */\n\tas?: string\n\t/**\n\t * CSS `<counter-style>` used to format the value — e.g. `decimal`,\n\t * `lower-roman`, `upper-alpha`. Defaults to `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n}\n</script>\n\n<!--\n\tA counter whose value survives pagination. Unlike a CSS counter, which resets\n\ton every page, this is resolved by Format before pages are split, so the\n\tnumber stays correct wherever the content lands.\n\n\tBy default it advances the counter and shows the new value — the usual \"this\n\tis Figure N\" case. `peek` reads without advancing, `set` jumps to a value, and\n\t`reset` starts the count over. These three are mutually exclusive; when more\n\tthan one is set, `reset` wins, then `set`, then `peek`. `by` applies only to\n\tthe default advance.\n\n\tGive the counter an `id` to make it referenceable. A `<Ref to=\"that-id\" />`\n\tthen prints the exact value this counter showed, and `<Ref to=\"that-id\" page />`\n\tthe page it landed on — the same way a heading's id yields its section number.\n-->\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nconst props = withDefaults(defineProps<CounterProps>(), {\n\tas: 'span'\n})\n\n// defineProps can't express the set/by XOR the React SDK enforces at the type\n// level, so this runtime check covers it in dev; keep it when editing the props\nif (\n\ttypeof process !== 'undefined' &&\n\tprocess.env?.NODE_ENV !== 'production' &&\n\tprops.set !== undefined &&\n\tprops.by !== undefined\n) {\n\tconsole.error(\n\t\t'<Counter>: `set` and `by` are mutually exclusive; `set` jumps to an exact value and wins, `by` is ignored.'\n\t)\n}\n\nconst action = computed(() => (props.reset ? 'reset' : props.set !== undefined ? 'set' : props.peek ? 'peek' : 'next'))\n\n// data-value seeds both actions: the exact value for `set`, the step size for `next`\nconst value = computed(() => (props.set !== undefined ? props.set : action.value === 'next' ? props.by : undefined))\n</script>\n\n<template>\n\t<component\n\t\t:is=\"as\"\n\t\tdata-type=\"counter\"\n\t\t:data-name=\"name\"\n\t\t:data-action=\"action\"\n\t\t:data-value=\"value\"\n\t\t:data-join=\"join\"\n\t\t:data-counter-style=\"counterStyle\" />\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface RefProps {\n\t/**\n\t * The `id` to point at. Put an id on a heading to reference its section number,\n\t * or on a `<Counter>` to reference the value that counter printed. The target\n\t * can appear anywhere in the document, before or after this reference.\n\t */\n\tto: string\n\t/**\n\t * Read a named counter's value as it stood at the target, e.g. `counter=\"figure\"`\n\t * for the figure count at that point in the document. Omit it to show the\n\t * target's own number — a heading's section number, or the value a\n\t * `<Counter id=\"…\">` printed.\n\t */\n\tcounter?: string\n\t/**\n\t * Show the page the target landed on, e.g. \"see page 12\". Resolved after\n\t * pagination. Takes precedence over `counter`.\n\t */\n\tpage?: boolean\n\t/**\n\t * HTML tag to render. Defaults to `span`.\n\t */\n\tas?: string\n\t/**\n\t * CSS `<counter-style>` used to format the value. Defaults to `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n}\n</script>\n\n<!--\n\tA cross-reference to a numbered element — \"see Section 2.1\" or \"Figure 3\".\n\tPoint it at an `id`: a heading's id yields its section number, a `<Counter>`'s\n\tid yields the value that counter printed. Add `page` for the page the target\n\tlanded on, or `counter` to read a named counter's running value at the target.\n\n\tReferences resolve before pages are split and can point forward to an element\n\tthat appears later in the document.\n\n\t\t<figcaption>Figure <Counter name=\"figure\" id=\"flow\" />: the data flow</figcaption>\n\t\tThen, anywhere else in the document:\n\t\t<p>The method (see Section <Ref to=\"method\" />) reads Figure <Ref to=\"flow\" />,\n\t\t shown in full on page <Ref to=\"flow\" page />.</p>\n-->\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nconst props = withDefaults(defineProps<RefProps>(), {\n\tas: 'span'\n})\n\nconst counter = computed(() => (props.page ? undefined : props.counter))\nconst page = computed(() => (props.page ? '' : undefined))\n</script>\n\n<template>\n\t<component\n\t\t:is=\"as\"\n\t\tdata-type=\"ref\"\n\t\t:data-to=\"to\"\n\t\t:data-counter=\"counter\"\n\t\t:data-page=\"page\"\n\t\t:data-counter-style=\"counterStyle\" />\n</template>\n","<script lang=\"ts\">\nimport type { TocLeader } from './types'\n\nexport interface TableOfContentsProps {\n\t/**\n\t * CSS selector for the headings to list. Defaults to `h1, h2, h3`.\n\t */\n\tcollect?: string\n\t/**\n\t * The dot leader between each entry's title and its page number. The default,\n\t * `dots`, draws it; `none` leaves the run between them blank.\n\t */\n\tleader?: TocLeader\n\t/**\n\t * Repeat the leading content with the nav on every page the contents spans, like a\n\t * running header. Off by default: the leading content shows once, above the entries.\n\t */\n\trepeatHead?: boolean\n}\n</script>\n\n<!--\n\tA table of contents. Format fills it after laying out the document: one entry per\n\theading the `collect` selector matches, each with the heading's number, its\n\ttitle, and the page it landed on.\n\n\tThe entries are flat anchors in a `<div data-type=\"toc-entries\">` inside a\n\t`<nav data-type=\"toc\">`: each is an `<a data-type=\"toc-entry\" data-depth=\"N\">`\n\t(depth 0 at the top of the outline) holding `toc-number`, `toc-title`, and\n\t`toc-page` spans. Depth is data, not nesting, so the stylesheet indents and sizes\n\tby depth and a long contents paginates by breaking between anchors. Style it through\n\tthe `data-type` hooks and the `--toc-*` custom properties (root size, per-depth size\n\tand indent, page-number size, leader, and vertical rhythm). A `class` or `style` set\n\ton `<TableOfContents>` carries onto the nav. Set `leader=\"none\"` to omit the dot leader\n\tentirely, so no leader is drawn between a title and its page number.\n\n\tThe default slot is leading content shown above the entries — put a \"Contents\" heading\n\tthere. It shows once by default; set `repeatHead` to repeat it with the nav per page.\n\n\t\t<TableOfContents collect=\"h1, h2\">\n\t\t\t<h2>Contents</h2>\n\t\t</TableOfContents>\n\n\tGive a collected heading a `data-toc-description` and its entry gains a\n\t`toc-description` line under the title:\n\n\t\t<h1 data-toc-description=\"Defining the studio's personality and direction.\">\n\t\t\tVisual Positioning\n\t\t</h1>\n-->\n<script setup lang=\"ts\">\nimport { type VNode } from 'vue'\nimport Template from './Template.vue'\n\nwithDefaults(defineProps<TableOfContentsProps>(), { repeatHead: undefined })\ndefineSlots<{\n\t/** Leading content shown once above the entries, e.g. a \"Contents\" heading. */\n\tdefault?: () => VNode[]\n}>()\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"toc\"\n\t\t:data-collect=\"collect\"\n\t\t:data-leader=\"leader\"\n\t\t:data-repeat-head=\"repeatHead === undefined ? undefined : repeatHead ? 'true' : 'false'\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<!--\n\tA footnote. Write the note's text as the children, at the point it's\n\treferenced; Format leaves a numbered marker inline and moves the text to the\n\tfooter of whichever page the marker lands on. Footnotes are numbered\n\tcontinuously through the document.\n\n\tPair it with a `<Footnotes />` region in the Layout to control where the notes\n\tsit; without one, Format adds a footer area to each page that needs it.\n\n\t\t<p>The result holds<Footnote>under the stated assumptions</Footnote>.</p>\n-->\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n</script>\n\n<template>\n\t<!-- a template so the note's text stays inert and out of the inline flow until\n\t\tthe engine moves it to the footer, leaving just the marker behind -->\n\t<Template data-type=\"footnote\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface FootnotesProps {\n\t/**\n\t * The counter style for the note numbers and their inline markers. Defaults to\n\t * the document's numbering style, or `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n\t/**\n\t * Restart the numbering on each page, so every page's footer reads 1, 2, 3 rather\n\t * than a count that runs the whole document. For a per-page footer in a Layout; the\n\t * inline markers renumber to match. Off by default (continuous numbering).\n\t */\n\trestartEachPage?: boolean\n\t/**\n\t * Whether the leading content (a heading, a rule) repeats in every page's footer. On by\n\t * default for a per-page Layout footer; an inline endnotes block shows it once. Set `false`\n\t * to show a Layout footer's head on its first page only.\n\t */\n\trepeatHead?: boolean\n}\n</script>\n\n<!--\n\tThe region that collects a page's footnotes, authored as a `<template>` Format\n\tfills. In a Layout it is a per-page footer gathering the notes whose markers\n\tlanded there; in a flow's content it is an endnotes list. Format renders it as an\n\t`<aside data-type=\"footnotes\">` holding a `<dl data-type=\"footnote-entries\">`, where\n\teach note is a `<dt data-type=\"footnote-number\">` term and a\n\t`<dd data-type=\"footnote-content\">` definition; style the list as a grid with your\n\town CSS. A `class` or `style` set on `<Footnotes>` carries onto the rendered `<aside>`.\n\n\tPut a heading or rule inside `<Footnotes>` to render it above the generated list,\n\tthe way a table of contents renders its leading content above the entries:\n\n\t\t<Footnotes>\n\t\t\t<h4>Notes</h4>\n\t\t</Footnotes>\n\n\tOmit it and Format adds a plain footer to each page that has footnotes.\n-->\n<script setup lang=\"ts\">\nimport { type VNode } from 'vue'\nimport Template from './Template.vue'\n\nwithDefaults(defineProps<FootnotesProps>(), { repeatHead: undefined })\ndefineSlots<{\n\t/** Optional leading content, for a heading or rule above the generated note list. */\n\tdefault?: () => VNode[]\n}>()\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"footnotes\"\n\t\t:data-counter-style=\"counterStyle\"\n\t\t:data-restart-each-page=\"restartEachPage ? '' : undefined\"\n\t\t:data-repeat-head=\"repeatHead === undefined ? undefined : repeatHead ? 'true' : 'false'\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nexport interface CounterDefProps {\n\t/** The counter this defines. Shared by name across the document. */\n\tname: string\n\t/**\n\t * The counter this one restarts under, if any: whenever that owner advances, this\n\t * counter returns to 0. A `figure` set to restart under `chapter` reads \"Figure 2.1\".\n\t * The restart cascades, so a new chapter zeros section and, under section, figure.\n\t */\n\tresetEach?: string\n}\n</script>\n\n<!--\n\tDeclares one counter's behaviour, used as <CounterDef> inside <Numbering>. Name the\n\tcounter and, optionally, the owner counter it restarts under. A counter with an owner\n\treturns to 0 every time the owner's value changes; one with no owner restarts only when\n\tyou reset or set it yourself.\n\n\t\t<Numbering>\n\t\t\t<CounterDef name=\"figure\" resetEach=\"chapter\" />\n\t\t\t<NumberingRule match=\"figcaption\" counter=\"figure\" format=\"Figure {chapter}.{figure}: \" />\n\t\t</Numbering>\n-->\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n\ndefineProps<CounterDefProps>()\n</script>\n\n<template>\n\t<Template data-type=\"counter-def\" :data-name=\"name\" :data-reset-each=\"resetEach\" />\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface NumberingProps {\n\t/**\n\t * The default counter style for every counter the document numbers. Per-rule,\n\t * per-Counter, and per-Footnotes styles override it. Defaults to `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n\t/**\n\t * Whether headings `h1` through `h6` get the built-in hierarchical numbers. On by\n\t * default. Set `false` when your own rules number the headings; that removes the\n\t * built-in restarts between heading levels as well as the built-in numbers.\n\t */\n\tdefaultHeadings?: boolean\n}\n</script>\n\n<!--\n\tTurns on document-wide numbering. By default it numbers headings `h1` through\n\t`h6` hierarchically — `1`, `1.1`, `1.1.1` — with each level resetting the ones\n\tbeneath it. Add <NumberingRule> children to number other things; they add to the\n\tdefault headings. To number headings your own way, set `:default-headings=\"false\"`\n\tand write rules for them.\n\n\tNumbers are resolved before pages are split, so they stay correct across page\n\tbreaks where plain CSS counters would reset.\n\n\t\t<Document title=\"Report\">\n\t\t\t<Numbering />\n\t\t\t...\n\t\t</Document>\n-->\n<script setup lang=\"ts\">\nimport { type VNode } from 'vue'\nimport Template from './Template.vue'\n\n// Vue casts an omitted boolean prop to false, which would switch the default\n// headings off; the undefined default keeps an omitted prop omitted\nwithDefaults(defineProps<NumberingProps>(), { defaultHeadings: undefined })\ndefineSlots<{\n\t/** Optional `<NumberingRule>` and `<CounterDef>` children that extend the scheme. */\n\tdefault?: () => VNode[]\n}>()\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"numbering\"\n\t\t:data-counter-style=\"counterStyle\"\n\t\t:data-default-headings=\"defaultHeadings === undefined ? undefined : defaultHeadings ? 'true' : 'false'\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","<script lang=\"ts\">\nimport type { CounterStyle } from './types'\n\nexport interface NumberingRuleProps {\n\t/**\n\t * CSS selector for the elements this rule numbers, e.g. `h2`, `figure figcaption`,\n\t * `.step`. Every match advances the counter in document order.\n\t */\n\tmatch: string\n\t/**\n\t * The counter this rule advances. Defaults to the selector, so a single-tag\n\t * rule needs no separate name.\n\t */\n\tcounter?: string\n\t/**\n\t * The text inserted into each match, with `{counter}` placeholders. For\n\t * example `Figure {figure}: ` or `{chapter:upper-roman}. `. A placeholder may\n\t * carry its own style after a colon. When omitted, the rule advances the\n\t * counter but inserts nothing — pair it with a <Counter> read.\n\t */\n\tformat?: string\n\t/**\n\t * How much to advance the counter on each match. Defaults to 1. Set to `0` to insert\n\t * a counter's value without advancing it.\n\t */\n\tincrement?: number\n\t/**\n\t * Set the counter to this exact value on each match instead of advancing it.\n\t * Mutually exclusive with `increment`; setting both is a runtime error in dev,\n\t * since Vue props can't express the either/or a TypeScript union would.\n\t */\n\tset?: number\n\t/**\n\t * Default `<counter-style>` for placeholders in `format`. Defaults to `decimal`.\n\t */\n\tcounterStyle?: CounterStyle\n\t/**\n\t * Where the formatted number goes relative to the matched element:\n\t * `before` its content (the default), `after` it, or `none` to only keep the\n\t * counter running. To restart a counter under another, declare it with\n\t * `<CounterDef resetEach>`; to nest a counter, mark the container `data-scope`.\n\t */\n\tinsert?: 'before' | 'after' | 'none'\n}\n</script>\n\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n\nconst props = defineProps<NumberingRuleProps>()\n\n// defineProps can't express the set/increment XOR a TS union would, so this\n// runtime check enforces it in dev; keep it when editing the props above\nif (\n\ttypeof process !== 'undefined' &&\n\tprocess.env?.NODE_ENV !== 'production' &&\n\tprops.set !== undefined &&\n\tprops.increment !== undefined\n) {\n\tconsole.error(\n\t\t'<NumberingRule>: `set` and `increment` are mutually exclusive; `set` forces an exact value and wins, `increment` is ignored.'\n\t)\n}\n</script>\n\n<template>\n\t<Template\n\t\tdata-type=\"numbering-rule\"\n\t\t:data-match=\"match\"\n\t\t:data-counter=\"counter\"\n\t\t:data-format=\"format\"\n\t\t:data-increment=\"increment\"\n\t\t:data-set=\"set\"\n\t\t:data-counter-style=\"counterStyle\"\n\t\t:data-insert=\"insert\" />\n</template>\n","<script lang=\"ts\">\nexport interface ScopeProps {\n\t/**\n\t * The counter to open a fresh nested instance for across this wrapper's content — a\n\t * level of a nested list. Pass several space-separated to scope more than one. A\n\t * `<Counter join>` inside reads the whole open stack.\n\t */\n\tcounter: string\n}\n</script>\n\n<!--\n\tOpens a counter scope around its children and adds no element to the output: a\n\t<Scope> is the fallback for nesting content that has no element of its own to carry\n\tthe scope. When the content already sits in a container or a <Flow>, mark that\n\tdirectly (<ol data-scope=\"item\">, <Flow scope=\"item\">) instead of wrapping.\n\n\t\t<Scope counter=\"item\">\n\t\t\t<Counter name=\"item\" join=\".\" /> First\n\t\t\t<Scope counter=\"item\">\n\t\t\t\t<Counter name=\"item\" join=\".\" /> Nested\n\t\t\t</Scope>\n\t\t</Scope>\n-->\n<script setup lang=\"ts\">\nimport Template from './Template.vue'\n\ndefineProps<ScopeProps>()\n</script>\n\n<template>\n\t<Template :data-scope=\"counter\">\n\t\t<slot></slot>\n\t</Template>\n</template>\n","/** How a Layout or Flow decides where pages break: `auto` on overflow\n * and at PageBreak markers, `manual` at PageBreak markers only. */\nexport type PaginationStrategy = 'auto' | 'manual'\n\n/**\n * How a Flow splits content that overflows a page: at a `sentence`, `word`, or\n * `grapheme` boundary, or `none` to keep the block whole and move it to the next\n * page intact. Use the constant (`SplitGranularity.None`) or the plain string\n * (`'none'`); both are accepted.\n */\nexport const SplitGranularity = {\n\tSentence: 'sentence',\n\tWord: 'word',\n\tGrapheme: 'grapheme',\n\tNone: 'none'\n} as const\n\nexport type SplitGranularity = (typeof SplitGranularity)[keyof typeof SplitGranularity]\n\n/**\n * The dot leader between a contents entry's title and its page number. The default,\n * `dots`, draws it; `none` leaves the run between them blank. Use the constant\n * (`TocLeader.None`) or the plain string (`'none'`); both are accepted.\n */\nexport const TocLeader = {\n\tDots: 'dots',\n\tNone: 'none'\n} as const\n\nexport type TocLeader = (typeof TocLeader)[keyof typeof TocLeader]\n\n/**\n * How the PDF embeds its fonts. Mirrors `FontMode` in `@format.dev/fonts`, which owns\n * the canonical list and the default.\n */\nexport type FontMode = 'fidelity' | 'compact'\n\n/**\n * A CSS `<counter-style>` name. The predefined styles autocomplete; any custom\n * `@counter-style` name you define is accepted too.\n */\nexport type CounterStyle =\n\t| 'decimal'\n\t| 'decimal-leading-zero'\n\t| 'lower-roman'\n\t| 'upper-roman'\n\t| 'lower-alpha'\n\t| 'upper-alpha'\n\t| 'lower-latin'\n\t| 'upper-latin'\n\t| 'lower-greek'\n\t| (string & {})\n","/**\n * Tagged template for authoring CSS, typically inside a `<style>` element.\n * Returns the string from the raw segments, so CSS escapes (`\\2014`,\n * icon-font codepoints, escaped selectors) survive intact. Interpolated\n * `null`, `undefined`, and `false` collapse to an empty string for clean\n * conditional rules. The `css` name also lets editors and the Format docs\n * highlighter treat the contents as CSS.\n */\nexport function css(parts: TemplateStringsArray, ...vals: unknown[]): string {\n\tlet out = parts.raw[0] ?? ''\n\tfor (let i = 0; i < vals.length; i++) {\n\t\tconst v = vals[i]\n\t\tout += (v == null || v === false ? '' : String(v)) + parts.raw[i + 1]!\n\t}\n\treturn out\n}\n"],"mappings":";;;;;;EAGA,MAAM,QAAQ,UAAS;EACvB,MAAM,QAAQ,UAAA;EAId,MAAM,MAAM,IAAgC,KAAI;AAEhD,kBAAgB;GACf,MAAM,KAAK,IAAI;AAC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A,CAAA;;;;;;;;;;;;;;;;;;;;;;ECFf,MAAM,QAAQ;AAId,MACC,OAAO,YAAY,eACnB,QAAQ,KAAK,aAAa,gBAC1B,MAAM,QAAQ,UACd,MAAM,cAAc,OAEpB,SAAQ,MACP,+HACD;;AAKA,UAAA,WAAA,EAAA,YAQyB,kBAAA;IAPxB,aAAU;IACT,cAAY,QAAA;IACZ,gBAAc,QAAA;IACd,eAAa,QAAA;IACb,kBAAgB,QAAA;IAChB,YAAU,QAAA;IACV,sBAAoB,QAAA;IACpB,eAAa,QAAA;;;;;;;;;;;;;;;;;;;;;;AC3Cf,UAAA,WAAA,EAAA,YAEW,kBAAA,EAFA,cAAY,QAAA,SAAO,EAAA;IAC7B,SAAA,cAAa,CAAb,WAAa,KAAA,QAAA,UAAA,CAAA,CAAA;;;;;;;;;;;;;;;;ACtBf,MAAa,mBAAmB;CAC/B,UAAU;CACV,MAAM;CACN,UAAU;CACV,MAAM;CACN;;;;;;AASD,MAAa,YAAY;CACxB,MAAM;CACN,MAAM;CACN;;;;;;;;;;;;ACnBD,SAAgB,IAAI,OAA6B,GAAG,MAAyB;CAC5E,IAAI,MAAM,MAAM,IAAI,MAAM;AAC1B,MAAK,IAAI,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;EACrC,MAAM,IAAI,KAAK;AACf,UAAQ,KAAK,QAAQ,MAAM,QAAQ,KAAK,OAAO,EAAE,IAAI,MAAM,IAAI,IAAI;;AAEpE,QAAO"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@format.dev/vue",
3
3
  "description": "Format PDF Vue SDK",
4
- "version": "0.1.2",
4
+ "version": "0.2.0",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",