@formepdf/svelte 0.13.0 → 0.15.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/components/AreaChart.svelte +1 -1
- package/dist/components/BarChart.svelte +1 -1
- package/dist/components/Barcode.svelte +1 -1
- package/dist/components/Canvas.svelte +1 -1
- package/dist/components/Cell.svelte +1 -1
- package/dist/components/Checkbox.svelte +1 -1
- package/dist/components/Code.svelte +1 -1
- package/dist/components/Document.svelte +1 -1
- package/dist/components/DotPlot.svelte +1 -1
- package/dist/components/Dropdown.svelte +1 -1
- package/dist/components/Em.svelte +1 -1
- package/dist/components/Fixed.svelte +1 -1
- package/dist/components/H1.svelte +1 -1
- package/dist/components/H2.svelte +1 -1
- package/dist/components/H3.svelte +1 -1
- package/dist/components/H4.svelte +1 -1
- package/dist/components/H5.svelte +1 -1
- package/dist/components/H6.svelte +1 -1
- package/dist/components/Image.svelte +1 -1
- package/dist/components/LineChart.svelte +1 -1
- package/dist/components/Link.svelte +1 -1
- package/dist/components/ListItem.svelte +1 -1
- package/dist/components/OrderedList.svelte +1 -1
- package/dist/components/Page.svelte +1 -1
- package/dist/components/PieChart.svelte +1 -1
- package/dist/components/QrCode.svelte +1 -1
- package/dist/components/RadioButton.svelte +1 -1
- package/dist/components/Row.svelte +1 -1
- package/dist/components/Strong.svelte +1 -1
- package/dist/components/Svg.svelte +1 -1
- package/dist/components/Table.svelte +1 -1
- package/dist/components/Text.svelte +1 -1
- package/dist/components/TextField.svelte +1 -1
- package/dist/components/UnorderedList.svelte +1 -1
- package/dist/components/View.svelte +1 -1
- package/dist/components/Watermark.svelte +1 -1
- package/dist/preview/preview-html.generated.js +1 -1
- package/dist/serialize.js +1 -1
- package/package.json +6 -6
- package/dist/encode.d.ts +0 -27
- package/dist/encode.js +0 -93
- package/dist/parser.d.ts +0 -30
- package/dist/parser.js +0 -756
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { CanvasContext, Style } from '@formepdf/shared';
|
|
3
3
|
import { recordCanvasOperations } from '@formepdf/shared';
|
|
4
|
-
import { encodeProps } from '
|
|
4
|
+
import { encodeProps } from '@formepdf/shared';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
/** Canvas width in points. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
import type { CertificationConfig, FontRegistration, Style } from '@formepdf/shared';
|
|
4
|
-
import { encodeProps } from '
|
|
4
|
+
import { encodeProps } from '@formepdf/shared';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
title?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
import type { Style } from '@formepdf/shared';
|
|
4
|
-
import { encodeProps } from '
|
|
4
|
+
import { encodeProps } from '@formepdf/shared';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
/** Which page edge this element repeats on. Fixed elements reduce
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
import type { Style } from '@formepdf/shared';
|
|
4
|
-
import { encodeProps } from '
|
|
4
|
+
import { encodeProps } from '@formepdf/shared';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
/** Marker style. Defaults to 'decimal'. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
import type { Edges, Style } from '@formepdf/shared';
|
|
4
|
-
import { encodeProps } from '
|
|
4
|
+
import { encodeProps } from '@formepdf/shared';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
size?: 'A4' | 'A3' | 'A5' | 'Letter' | 'Legal' | 'Tabloid' | { width: number; height: number };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
import type { Style } from '@formepdf/shared';
|
|
4
|
-
import { encodeProps } from '
|
|
4
|
+
import { encodeProps } from '@formepdf/shared';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
/** Header rows repeat at the top of every continuation page when
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
import type { ColumnDef, Style } from '@formepdf/shared';
|
|
4
|
-
import { encodeProps } from '
|
|
4
|
+
import { encodeProps } from '@formepdf/shared';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
/** Column width definitions: `{ fraction }`, `{ fixed }`, or `'auto'`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
3
|
import type { Style } from '@formepdf/shared';
|
|
4
|
-
import { encodeProps } from '
|
|
4
|
+
import { encodeProps } from '@formepdf/shared';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
/** Bullet glyph style. Defaults to 'disc'. */
|