pareto-static-html 0.1.3 → 0.1.5

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.
@@ -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($.children.map((section) => sh.g.nested_block([
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([
@@ -25,12 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Document = exports.Flow_Content = exports.Phrasing_Content = exports.Classes = void 0;
27
27
  const _pd = __importStar(require("exupery-core-dev"));
28
- const Classes = ($, $p) => _pd.implement_me();
28
+ const Classes = ($, $p) => _pd.implement_me("yy");
29
29
  exports.Classes = Classes;
30
- const Phrasing_Content = ($, $p) => _pd.implement_me();
30
+ const Phrasing_Content = ($, $p) => _pd.implement_me("yy");
31
31
  exports.Phrasing_Content = Phrasing_Content;
32
- const Flow_Content = ($, $p) => _pd.implement_me();
32
+ const Flow_Content = ($, $p) => _pd.implement_me("yy");
33
33
  exports.Flow_Content = Flow_Content;
34
- const Document = ($, $p) => _pd.implement_me();
34
+ const Document = ($, $p) => _pd.implement_me("yy");
35
35
  exports.Document = Document;
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3N0YXRpYy1odG1sL2Rlc2VyaWFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0Esc0RBQXVDO0FBTWhDLE1BQU0sT0FBTyxHQUE2QixDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxZQUFZLEVBQUUsQ0FBQTtBQUFqRSxRQUFBLE9BQU8sV0FBMEQ7QUFDdkUsTUFBTSxnQkFBZ0IsR0FBc0MsQ0FBQyxDQUFDLEVBQUUsRUFBRSxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsWUFBWSxFQUFFLENBQUE7QUFBbkYsUUFBQSxnQkFBZ0Isb0JBQW1FO0FBQ3pGLE1BQU0sWUFBWSxHQUFrQyxDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxZQUFZLEVBQUUsQ0FBQTtBQUEzRSxRQUFBLFlBQVksZ0JBQStEO0FBQ2pGLE1BQU0sUUFBUSxHQUE4QixDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxZQUFZLEVBQUUsQ0FBQTtBQUFuRSxRQUFBLFFBQVEsWUFBMkQifQ==
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3N0YXRpYy1odG1sL2Rlc2VyaWFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0Esc0RBQXVDO0FBTWhDLE1BQU0sT0FBTyxHQUE2QixDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxZQUFZLENBQUMsSUFBSSxDQUFDLENBQUE7QUFBckUsUUFBQSxPQUFPLFdBQThEO0FBQzNFLE1BQU0sZ0JBQWdCLEdBQXNDLENBQUMsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFLENBQUMsR0FBRyxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsQ0FBQTtBQUF2RixRQUFBLGdCQUFnQixvQkFBdUU7QUFDN0YsTUFBTSxZQUFZLEdBQWtDLENBQUMsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFLENBQUMsR0FBRyxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsQ0FBQTtBQUEvRSxRQUFBLFlBQVksZ0JBQW1FO0FBQ3JGLE1BQU0sUUFBUSxHQUE4QixDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxZQUFZLENBQUMsSUFBSSxDQUFDLENBQUE7QUFBdkUsUUFBQSxRQUFRLFlBQStEIn0=
@@ -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
- 'children': _pa.cc($['children'], ($) => ['list', $.map(($) => ['verbose group', _pa.dictionary_literal({
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
- 'children': _pa.cc(_i_generic.get_entry($, {
137
- 'key': "children",
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 'children': _i_core._T_List<null, {
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 children {
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 children = _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 children {
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 children = _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 children {
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 children = _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 children {
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 children = _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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 'children': _i_core._T_List<null, {
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: (children: 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>, children: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
7
- const classified_div: (classes: Raw_Or_Normal_List<string>, children: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
8
- const span: (children: Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Flow_Content.L;
9
- const label: (classes: Raw_Or_Normal_List<string>, text: string, children: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
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>, children: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.children.L>) => target.Flow_Content.L;
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.children.L.rows.L>) => target.Flow_Content.L.SG.table.children.L;
16
- const body: (classes: Raw_Or_Normal_List<string>, rows: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.children.L.rows.L>) => target.Flow_Content.L.SG.table.children.L;
17
- const footer: (classes: Raw_Or_Normal_List<string>, rows: Raw_Or_Normal_List<target.Flow_Content.L.SG.table.children.L.rows.L>) => target.Flow_Content.L.SG.table.children.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.children.L.rows.L.cells.L>) => target.Flow_Content.L.SG.table.children.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.children.L.rows.L.cells.L>) => target.Flow_Content.L.SG.table.children.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.children.L.rows.L.cells.L;
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: (children: Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Phrasing_Content.L;
24
- const classified_span: (classes: Raw_Or_Normal_List<string>, children: Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Phrasing_Content.L;
25
- const titled_span: (title: string, children: Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Phrasing_Content.L;
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 = (children) => {
8
- return ['div', (0, unconstrained_1.wrap_list)(children)];
7
+ f.div = (sections) => {
8
+ return ['div', (0, unconstrained_1.wrap_list)(sections)];
9
9
  };
10
- f.dimensioned_div = (width, height, children) => {
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)(children),
14
+ 'content': (0, unconstrained_1.wrap_list)(sections),
15
15
  }];
16
16
  };
17
- f.classified_div = (classes, children) => {
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)(children),
20
+ 'content': (0, unconstrained_1.wrap_list)(sections),
21
21
  }];
22
22
  };
23
- f.span = (children) => {
24
- return ['span', (0, unconstrained_1.wrap_list)(children)];
23
+ f.span = (sections) => {
24
+ return ['span', (0, unconstrained_1.wrap_list)(sections)];
25
25
  };
26
- f.label = (classes, text, children) => {
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)(children),
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, children) => {
50
+ f.table = (classes, sections) => {
51
51
  return ['table', {
52
52
  'classes': (0, unconstrained_1.wrap_list)(classes),
53
- 'children': (0, unconstrained_1.wrap_list)(children),
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 = (children) => {
106
- return ['span', (0, unconstrained_1.wrap_list)(children)];
105
+ p_1.span = (sections) => {
106
+ return ['span', (0, unconstrained_1.wrap_list)(sections)];
107
107
  };
108
- p_1.classified_span = (classes, children) => {
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)(children),
111
+ 'content': (0, unconstrained_1.wrap_list)(sections),
112
112
  }];
113
113
  };
114
- p_1.titled_span = (title, children) => {
114
+ p_1.titled_span = (title, sections) => {
115
115
  return ['titled span', {
116
116
  'title': title,
117
- 'content': (0, unconstrained_1.wrap_list)(children),
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",
3
+ "version": "0.1.5",
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",
12
- "exupery-core-bin": "^0.3.32",
11
+ "exupery-core-alg": "^0.5.15",
12
+ "exupery-core-bin": "^0.3.41",
13
13
  "exupery-core-data": "^0.3.3",
14
- "exupery-core-dev": "^0.3.2",
14
+ "exupery-core-dev": "^0.3.3",
15
15
  "pareto-fountain-pen": "^0.3.13"
16
16
  }
17
17
  }