pareto-static-html 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/implementation/algorithms/transformations/html/fountain_pen.js +1 -1
- package/dist/implementation/generated/pareto/schemas/static-html/marshall.js +1 -1
- package/dist/implementation/generated/pareto/schemas/static-html/unmarshall.js +2 -2
- package/dist/interface/generated/pareto/schemas/static-html/data_types/source.d.ts +11 -11
- package/dist/interface/generated/pareto/schemas/static-html/data_types/target.d.ts +11 -11
- package/dist/shorthands/static_html.d.ts +15 -15
- package/dist/shorthands/static_html.js +18 -18
- package/package.json +4 -4
|
@@ -98,7 +98,7 @@ const Flow_Content = ($) => sh.b.indent([
|
|
|
98
98
|
(0, exports.Classes)($.classes),
|
|
99
99
|
sh.b.snippet(`>`),
|
|
100
100
|
sh.b.indent([
|
|
101
|
-
sh.g.sub($.
|
|
101
|
+
sh.g.sub($.sections.map((section) => sh.g.nested_block([
|
|
102
102
|
_ea.cc(section.type, ($) => {
|
|
103
103
|
switch ($[0]) {
|
|
104
104
|
case 'header': return _ea.ss($, () => sh.b.sub([
|
|
@@ -128,7 +128,7 @@ const Flow_Content = ($, $p) => ['list', $.map(($) => ['state', _pa.cc($, ($) =>
|
|
|
128
128
|
'classes': _pa.cc($['classes'], ($) => (0, exports.Classes)($, {
|
|
129
129
|
'value serializers': $p['value serializers'],
|
|
130
130
|
})),
|
|
131
|
-
'
|
|
131
|
+
'sections': _pa.cc($['sections'], ($) => ['list', $.map(($) => ['verbose group', _pa.dictionary_literal({
|
|
132
132
|
'classes': _pa.cc($['classes'], ($) => (0, exports.Classes)($, {
|
|
133
133
|
'value serializers': $p['value serializers'],
|
|
134
134
|
})),
|
|
@@ -133,8 +133,8 @@ const Flow_Content = ($, $p) => _i_generic.process_unconstrained_list($, {
|
|
|
133
133
|
}), ($) => (0, exports.Classes)($, {
|
|
134
134
|
'value deserializers': $p['value deserializers'],
|
|
135
135
|
})),
|
|
136
|
-
'
|
|
137
|
-
'key': "
|
|
136
|
+
'sections': _pa.cc(_i_generic.get_entry($, {
|
|
137
|
+
'key': "sections",
|
|
138
138
|
}), ($) => _i_generic.process_unconstrained_list($, {
|
|
139
139
|
'value': ($) => _i_generic.process_group($, {
|
|
140
140
|
'properties': ($) => ({
|
|
@@ -42,7 +42,7 @@ export type _T_Flow_Content = _i_core._T_List<null, _i_core._T_State_Group<null,
|
|
|
42
42
|
'table',
|
|
43
43
|
{
|
|
44
44
|
readonly 'classes': _T_Classes;
|
|
45
|
-
readonly '
|
|
45
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
46
46
|
readonly 'classes': _T_Classes;
|
|
47
47
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
48
48
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -225,7 +225,7 @@ export declare namespace _T_Flow_Content {
|
|
|
225
225
|
namespace classes {
|
|
226
226
|
}
|
|
227
227
|
type classes = _T_Classes;
|
|
228
|
-
namespace
|
|
228
|
+
namespace sections {
|
|
229
229
|
namespace L {
|
|
230
230
|
namespace classes {
|
|
231
231
|
}
|
|
@@ -309,7 +309,7 @@ export declare namespace _T_Flow_Content {
|
|
|
309
309
|
}>;
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
|
-
type
|
|
312
|
+
type sections = _i_core._T_List<null, {
|
|
313
313
|
readonly 'classes': _T_Classes;
|
|
314
314
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
315
315
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -325,7 +325,7 @@ export declare namespace _T_Flow_Content {
|
|
|
325
325
|
}
|
|
326
326
|
type table = {
|
|
327
327
|
readonly 'classes': _T_Classes;
|
|
328
|
-
readonly '
|
|
328
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
329
329
|
readonly 'classes': _T_Classes;
|
|
330
330
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
331
331
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -416,7 +416,7 @@ export declare namespace _T_Flow_Content {
|
|
|
416
416
|
'table',
|
|
417
417
|
{
|
|
418
418
|
readonly 'classes': _T_Classes;
|
|
419
|
-
readonly '
|
|
419
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
420
420
|
readonly 'classes': _T_Classes;
|
|
421
421
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
422
422
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -473,7 +473,7 @@ export declare namespace _T_Flow_Content {
|
|
|
473
473
|
'table',
|
|
474
474
|
{
|
|
475
475
|
readonly 'classes': _T_Classes;
|
|
476
|
-
readonly '
|
|
476
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
477
477
|
readonly 'classes': _T_Classes;
|
|
478
478
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
479
479
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -655,7 +655,7 @@ export declare namespace Flow_Content {
|
|
|
655
655
|
namespace classes {
|
|
656
656
|
}
|
|
657
657
|
type classes = _T_Classes;
|
|
658
|
-
namespace
|
|
658
|
+
namespace sections {
|
|
659
659
|
namespace L {
|
|
660
660
|
namespace classes {
|
|
661
661
|
}
|
|
@@ -739,7 +739,7 @@ export declare namespace Flow_Content {
|
|
|
739
739
|
}>;
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
|
-
type
|
|
742
|
+
type sections = _i_core._T_List<null, {
|
|
743
743
|
readonly 'classes': _T_Classes;
|
|
744
744
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
745
745
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -755,7 +755,7 @@ export declare namespace Flow_Content {
|
|
|
755
755
|
}
|
|
756
756
|
type table = {
|
|
757
757
|
readonly 'classes': _T_Classes;
|
|
758
|
-
readonly '
|
|
758
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
759
759
|
readonly 'classes': _T_Classes;
|
|
760
760
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
761
761
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -846,7 +846,7 @@ export declare namespace Flow_Content {
|
|
|
846
846
|
'table',
|
|
847
847
|
{
|
|
848
848
|
readonly 'classes': _T_Classes;
|
|
849
|
-
readonly '
|
|
849
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
850
850
|
readonly 'classes': _T_Classes;
|
|
851
851
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
852
852
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -903,7 +903,7 @@ export declare namespace Flow_Content {
|
|
|
903
903
|
'table',
|
|
904
904
|
{
|
|
905
905
|
readonly 'classes': _T_Classes;
|
|
906
|
-
readonly '
|
|
906
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
907
907
|
readonly 'classes': _T_Classes;
|
|
908
908
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
909
909
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -42,7 +42,7 @@ export type _T_Flow_Content = _i_core._T_List<null, _i_core._T_State_Group<null,
|
|
|
42
42
|
'table',
|
|
43
43
|
{
|
|
44
44
|
readonly 'classes': _T_Classes;
|
|
45
|
-
readonly '
|
|
45
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
46
46
|
readonly 'classes': _T_Classes;
|
|
47
47
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
48
48
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -225,7 +225,7 @@ export declare namespace _T_Flow_Content {
|
|
|
225
225
|
namespace classes {
|
|
226
226
|
}
|
|
227
227
|
type classes = _T_Classes;
|
|
228
|
-
namespace
|
|
228
|
+
namespace sections {
|
|
229
229
|
namespace L {
|
|
230
230
|
namespace classes {
|
|
231
231
|
}
|
|
@@ -309,7 +309,7 @@ export declare namespace _T_Flow_Content {
|
|
|
309
309
|
}>;
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
|
-
type
|
|
312
|
+
type sections = _i_core._T_List<null, {
|
|
313
313
|
readonly 'classes': _T_Classes;
|
|
314
314
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
315
315
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -325,7 +325,7 @@ export declare namespace _T_Flow_Content {
|
|
|
325
325
|
}
|
|
326
326
|
type table = {
|
|
327
327
|
readonly 'classes': _T_Classes;
|
|
328
|
-
readonly '
|
|
328
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
329
329
|
readonly 'classes': _T_Classes;
|
|
330
330
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
331
331
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -416,7 +416,7 @@ export declare namespace _T_Flow_Content {
|
|
|
416
416
|
'table',
|
|
417
417
|
{
|
|
418
418
|
readonly 'classes': _T_Classes;
|
|
419
|
-
readonly '
|
|
419
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
420
420
|
readonly 'classes': _T_Classes;
|
|
421
421
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
422
422
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -473,7 +473,7 @@ export declare namespace _T_Flow_Content {
|
|
|
473
473
|
'table',
|
|
474
474
|
{
|
|
475
475
|
readonly 'classes': _T_Classes;
|
|
476
|
-
readonly '
|
|
476
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
477
477
|
readonly 'classes': _T_Classes;
|
|
478
478
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
479
479
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -655,7 +655,7 @@ export declare namespace Flow_Content {
|
|
|
655
655
|
namespace classes {
|
|
656
656
|
}
|
|
657
657
|
type classes = _T_Classes;
|
|
658
|
-
namespace
|
|
658
|
+
namespace sections {
|
|
659
659
|
namespace L {
|
|
660
660
|
namespace classes {
|
|
661
661
|
}
|
|
@@ -739,7 +739,7 @@ export declare namespace Flow_Content {
|
|
|
739
739
|
}>;
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
|
-
type
|
|
742
|
+
type sections = _i_core._T_List<null, {
|
|
743
743
|
readonly 'classes': _T_Classes;
|
|
744
744
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
745
745
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -755,7 +755,7 @@ export declare namespace Flow_Content {
|
|
|
755
755
|
}
|
|
756
756
|
type table = {
|
|
757
757
|
readonly 'classes': _T_Classes;
|
|
758
|
-
readonly '
|
|
758
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
759
759
|
readonly 'classes': _T_Classes;
|
|
760
760
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
761
761
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -846,7 +846,7 @@ export declare namespace Flow_Content {
|
|
|
846
846
|
'table',
|
|
847
847
|
{
|
|
848
848
|
readonly 'classes': _T_Classes;
|
|
849
|
-
readonly '
|
|
849
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
850
850
|
readonly 'classes': _T_Classes;
|
|
851
851
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
852
852
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -903,7 +903,7 @@ export declare namespace Flow_Content {
|
|
|
903
903
|
'table',
|
|
904
904
|
{
|
|
905
905
|
readonly 'classes': _T_Classes;
|
|
906
|
-
readonly '
|
|
906
|
+
readonly 'sections': _i_core._T_List<null, {
|
|
907
907
|
readonly 'classes': _T_Classes;
|
|
908
908
|
readonly 'type': _i_core._T_State_Group<null, readonly ['header', null] | readonly ['body', null] | readonly ['footer', null]>;
|
|
909
909
|
readonly 'rows': _i_core._T_List<null, {
|
|
@@ -2,27 +2,27 @@ import * as _et from 'exupery-core-types';
|
|
|
2
2
|
import * as target from "../interface/generated/pareto/schemas/static-html/data_types/target";
|
|
3
3
|
import { Raw_Or_Normal_List } from 'exupery-core-data/dist/shorthands/unconstrained';
|
|
4
4
|
export declare namespace f {
|
|
5
|
-
const div: (
|
|
6
|
-
const dimensioned_div: (width: _et.Optional_Value<number>, height: _et.Optional_Value<number>,
|
|
7
|
-
const classified_div: (classes: Raw_Or_Normal_List<string>,
|
|
8
|
-
const span: (
|
|
9
|
-
const label: (classes: Raw_Or_Normal_List<string>, text: string,
|
|
5
|
+
const div: (sections: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
6
|
+
const dimensioned_div: (width: _et.Optional_Value<number>, height: _et.Optional_Value<number>, sections: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
7
|
+
const classified_div: (classes: Raw_Or_Normal_List<string>, sections: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
8
|
+
const span: (sections: Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Flow_Content.L;
|
|
9
|
+
const label: (classes: Raw_Or_Normal_List<string>, text: string, sections: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
10
10
|
const img: (classes: Raw_Or_Normal_List<string>, src: string, alt: string, width: _et.Optional_Value<number>, height: _et.Optional_Value<number>) => target.Flow_Content.L;
|
|
11
11
|
const svg: (classes: Raw_Or_Normal_List<string>, content: string, width: _et.Optional_Value<number>, height: _et.Optional_Value<number>) => target.Flow_Content.L;
|
|
12
|
-
const table: (classes: Raw_Or_Normal_List<string>,
|
|
12
|
+
const table: (classes: Raw_Or_Normal_List<string>, sections: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.sections.L>) => target.Flow_Content.L;
|
|
13
13
|
}
|
|
14
14
|
export declare namespace t {
|
|
15
|
-
const header: (classes: Raw_Or_Normal_List<string>, rows: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.
|
|
16
|
-
const body: (classes: Raw_Or_Normal_List<string>, rows: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.
|
|
17
|
-
const footer: (classes: Raw_Or_Normal_List<string>, rows: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.
|
|
18
|
-
const th: (classes: Raw_Or_Normal_List<string>, height: _et.Optional_Value<number>, cells: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.
|
|
19
|
-
const td: (classes: Raw_Or_Normal_List<string>, height: _et.Optional_Value<number>, cells: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.
|
|
20
|
-
const cell: (classes: Raw_Or_Normal_List<string>, content: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L.SG.table.
|
|
15
|
+
const header: (classes: Raw_Or_Normal_List<string>, rows: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.sections.L.rows.L>) => target.Flow_Content.L.SG.table.sections.L;
|
|
16
|
+
const body: (classes: Raw_Or_Normal_List<string>, rows: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.sections.L.rows.L>) => target.Flow_Content.L.SG.table.sections.L;
|
|
17
|
+
const footer: (classes: Raw_Or_Normal_List<string>, rows: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.sections.L.rows.L>) => target.Flow_Content.L.SG.table.sections.L;
|
|
18
|
+
const th: (classes: Raw_Or_Normal_List<string>, height: _et.Optional_Value<number>, cells: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.sections.L.rows.L.cells.L>) => target.Flow_Content.L.SG.table.sections.L.rows.L;
|
|
19
|
+
const td: (classes: Raw_Or_Normal_List<string>, height: _et.Optional_Value<number>, cells: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.sections.L.rows.L.cells.L>) => target.Flow_Content.L.SG.table.sections.L.rows.L;
|
|
20
|
+
const cell: (classes: Raw_Or_Normal_List<string>, content: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L.SG.table.sections.L.rows.L.cells.L;
|
|
21
21
|
}
|
|
22
22
|
export declare namespace p {
|
|
23
|
-
const span: (
|
|
24
|
-
const classified_span: (classes: Raw_Or_Normal_List<string>,
|
|
25
|
-
const titled_span: (title: string,
|
|
23
|
+
const span: (sections: Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Phrasing_Content.L;
|
|
24
|
+
const classified_span: (classes: Raw_Or_Normal_List<string>, sections: Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Phrasing_Content.L;
|
|
25
|
+
const titled_span: (title: string, sections: Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Phrasing_Content.L;
|
|
26
26
|
const a: (text: string, href: string) => target.Phrasing_Content.L;
|
|
27
27
|
const p: (text: string) => target.Phrasing_Content.L;
|
|
28
28
|
}
|
|
@@ -4,30 +4,30 @@ exports.p = exports.t = exports.f = void 0;
|
|
|
4
4
|
const unconstrained_1 = require("exupery-core-data/dist/shorthands/unconstrained");
|
|
5
5
|
var f;
|
|
6
6
|
(function (f) {
|
|
7
|
-
f.div = (
|
|
8
|
-
return ['div', (0, unconstrained_1.wrap_list)(
|
|
7
|
+
f.div = (sections) => {
|
|
8
|
+
return ['div', (0, unconstrained_1.wrap_list)(sections)];
|
|
9
9
|
};
|
|
10
|
-
f.dimensioned_div = (width, height,
|
|
10
|
+
f.dimensioned_div = (width, height, sections) => {
|
|
11
11
|
return ['dimensioned div', {
|
|
12
12
|
'width': width,
|
|
13
13
|
'height': height,
|
|
14
|
-
'content': (0, unconstrained_1.wrap_list)(
|
|
14
|
+
'content': (0, unconstrained_1.wrap_list)(sections),
|
|
15
15
|
}];
|
|
16
16
|
};
|
|
17
|
-
f.classified_div = (classes,
|
|
17
|
+
f.classified_div = (classes, sections) => {
|
|
18
18
|
return ['classified div', {
|
|
19
19
|
'classes': (0, unconstrained_1.wrap_list)(classes),
|
|
20
|
-
'content': (0, unconstrained_1.wrap_list)(
|
|
20
|
+
'content': (0, unconstrained_1.wrap_list)(sections),
|
|
21
21
|
}];
|
|
22
22
|
};
|
|
23
|
-
f.span = (
|
|
24
|
-
return ['span', (0, unconstrained_1.wrap_list)(
|
|
23
|
+
f.span = (sections) => {
|
|
24
|
+
return ['span', (0, unconstrained_1.wrap_list)(sections)];
|
|
25
25
|
};
|
|
26
|
-
f.label = (classes, text,
|
|
26
|
+
f.label = (classes, text, sections) => {
|
|
27
27
|
return ['label', {
|
|
28
28
|
'classes': (0, unconstrained_1.wrap_list)(classes),
|
|
29
29
|
'text': text,
|
|
30
|
-
'content': (0, unconstrained_1.wrap_list)(
|
|
30
|
+
'content': (0, unconstrained_1.wrap_list)(sections),
|
|
31
31
|
}];
|
|
32
32
|
};
|
|
33
33
|
f.img = (classes, src, alt, width, height) => {
|
|
@@ -47,10 +47,10 @@ var f;
|
|
|
47
47
|
'height': height,
|
|
48
48
|
}];
|
|
49
49
|
};
|
|
50
|
-
f.table = (classes,
|
|
50
|
+
f.table = (classes, sections) => {
|
|
51
51
|
return ['table', {
|
|
52
52
|
'classes': (0, unconstrained_1.wrap_list)(classes),
|
|
53
|
-
'
|
|
53
|
+
'sections': (0, unconstrained_1.wrap_list)(sections),
|
|
54
54
|
}];
|
|
55
55
|
};
|
|
56
56
|
})(f || (exports.f = f = {}));
|
|
@@ -102,19 +102,19 @@ var t;
|
|
|
102
102
|
})(t || (exports.t = t = {}));
|
|
103
103
|
var p;
|
|
104
104
|
(function (p_1) {
|
|
105
|
-
p_1.span = (
|
|
106
|
-
return ['span', (0, unconstrained_1.wrap_list)(
|
|
105
|
+
p_1.span = (sections) => {
|
|
106
|
+
return ['span', (0, unconstrained_1.wrap_list)(sections)];
|
|
107
107
|
};
|
|
108
|
-
p_1.classified_span = (classes,
|
|
108
|
+
p_1.classified_span = (classes, sections) => {
|
|
109
109
|
return ['classified span', {
|
|
110
110
|
'classes': (0, unconstrained_1.wrap_list)(classes),
|
|
111
|
-
'content': (0, unconstrained_1.wrap_list)(
|
|
111
|
+
'content': (0, unconstrained_1.wrap_list)(sections),
|
|
112
112
|
}];
|
|
113
113
|
};
|
|
114
|
-
p_1.titled_span = (title,
|
|
114
|
+
p_1.titled_span = (title, sections) => {
|
|
115
115
|
return ['titled span', {
|
|
116
116
|
'title': title,
|
|
117
|
-
'content': (0, unconstrained_1.wrap_list)(
|
|
117
|
+
'content': (0, unconstrained_1.wrap_list)(sections),
|
|
118
118
|
}];
|
|
119
119
|
};
|
|
120
120
|
p_1.a = (text, href) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pareto-static-html",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "a library for creating static HTML documents using Pareto",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"exupery-core-alg": "^0.5.
|
|
12
|
-
"exupery-core-bin": "^0.3.
|
|
11
|
+
"exupery-core-alg": "^0.5.15",
|
|
12
|
+
"exupery-core-bin": "^0.3.40",
|
|
13
13
|
"exupery-core-data": "^0.3.3",
|
|
14
14
|
"exupery-core-dev": "^0.3.2",
|
|
15
|
-
"pareto-fountain-pen": "^0.3.
|
|
15
|
+
"pareto-fountain-pen": "^0.3.13"
|
|
16
16
|
}
|
|
17
17
|
}
|