pareto-static-html 0.1.10 → 0.1.12
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/generated/pareto/generic/serialize.js +5 -5
- package/dist/implementation/generated/pareto/generic/unmarshall.d.ts +6 -6
- package/dist/implementation/generated/pareto/generic/unmarshall.js +26 -26
- package/dist/implementation/generated/pareto/schemas/static-html/marshall.js +74 -74
- package/dist/implementation/generated/pareto/schemas/static-html/unmarshall.js +43 -43
- package/dist/implementation/manual/schemas/static_html/refiners/astn_sealed_source.d.ts +5 -0
- package/dist/implementation/manual/schemas/static_html/refiners/astn_sealed_source.js +41 -0
- package/dist/implementation/manual/schemas/static_html/serializers.d.ts +4 -0
- package/dist/implementation/manual/schemas/static_html/serializers.js +35 -0
- package/dist/implementation/manual/schemas/static_html/temp_astn_deserializers.d.ts +6 -0
- package/dist/implementation/manual/schemas/static_html/temp_astn_deserializers.js +35 -0
- package/dist/implementation/{transformers/schemas/html → manual/schemas/static_html/transformers}/fountain_pen.d.ts +1 -1
- package/dist/implementation/manual/schemas/static_html/transformers/fountain_pen.js +262 -0
- package/dist/interface/generated/pareto/core/astn_source.d.ts +9 -9
- package/dist/interface/generated/pareto/core/astn_target.d.ts +15 -15
- package/dist/interface/generated/pareto/core/parse_result.d.ts +2 -2
- package/dist/interface/generated/pareto/core/resolved.d.ts +12 -12
- package/dist/interface/generated/pareto/core/token.d.ts +4 -4
- package/dist/interface/generated/pareto/core/unconstrained.d.ts +3 -3
- package/dist/interface/generated/pareto/core/unmarshall.d.ts +1 -0
- package/dist/interface/generated/pareto/core/unmarshall.js +3 -0
- package/dist/interface/generated/pareto/core/unresolved.d.ts +10 -10
- package/dist/interface/generated/pareto/schemas/static-html/data_types/source.d.ts +72 -72
- package/dist/interface/generated/pareto/schemas/static-html/data_types/target.d.ts +72 -72
- package/dist/shorthands/static_html.d.ts +18 -18
- package/dist/shorthands/static_html.js +105 -120
- package/package.json +3 -2
- package/dist/implementation/generated/pareto/generic/parse/ast.d.ts +0 -10
- package/dist/implementation/generated/pareto/generic/parse/ast.js +0 -245
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.d.ts +0 -16
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.js +0 -47
- package/dist/implementation/generated/pareto/generic/parse/parse.d.ts +0 -5
- package/dist/implementation/generated/pareto/generic/parse/parse.js +0 -55
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.d.ts +0 -40
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.js +0 -109
- package/dist/implementation/generated/pareto/generic/parse/token.d.ts +0 -10
- package/dist/implementation/generated/pareto/generic/parse/token.js +0 -519
- package/dist/implementation/generated/pareto/generic/resolve.d.ts +0 -109
- package/dist/implementation/generated/pareto/generic/resolve.js +0 -277
- package/dist/implementation/generated/pareto/schemas/static-html/deserialize.d.ts +0 -5
- package/dist/implementation/generated/pareto/schemas/static-html/deserialize.js +0 -36
- package/dist/implementation/transformers/schemas/html/fountain_pen.js +0 -266
- package/dist/interface/generated/pareto/core/resolve.d.ts +0 -14
- package/dist/interface/generated/pareto/core/resolve.js +0 -3
- package/dist/interface/generated/pareto/schemas/static-html/deserialize.d.ts +0 -106
- package/dist/interface/generated/pareto/schemas/static-html/deserialize.js +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
2
|
import * as _i_core from "../../../core/unconstrained";
|
|
3
3
|
export type _T_Classes = _i_core._T_List<null, string>;
|
|
4
4
|
export type _T_Phrasing_Content = _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['span', _T_Phrasing_Content] | readonly [
|
|
@@ -28,8 +28,8 @@ export type _T_Phrasing_Content = _i_core._T_List<null, _i_core._T_State_Group<n
|
|
|
28
28
|
export type _T_Flow_Content = _i_core._T_List<null, _i_core._T_State_Group<null, readonly ['div', _T_Flow_Content] | readonly [
|
|
29
29
|
'dimensioned div',
|
|
30
30
|
{
|
|
31
|
-
readonly 'width':
|
|
32
|
-
readonly 'height':
|
|
31
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
32
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
33
33
|
readonly 'content': _T_Flow_Content;
|
|
34
34
|
}
|
|
35
35
|
] | readonly [
|
|
@@ -48,7 +48,7 @@ export type _T_Flow_Content = _i_core._T_List<null, _i_core._T_State_Group<null,
|
|
|
48
48
|
readonly 'rows': _i_core._T_List<null, {
|
|
49
49
|
readonly 'classes': _T_Classes;
|
|
50
50
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
51
|
-
readonly 'height':
|
|
51
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
52
52
|
readonly 'cells': _i_core._T_List<null, {
|
|
53
53
|
readonly 'classes': _T_Classes;
|
|
54
54
|
readonly 'content': _T_Flow_Content;
|
|
@@ -69,16 +69,16 @@ export type _T_Flow_Content = _i_core._T_List<null, _i_core._T_State_Group<null,
|
|
|
69
69
|
readonly 'classes': _T_Classes;
|
|
70
70
|
readonly 'src': string;
|
|
71
71
|
readonly 'alt': string;
|
|
72
|
-
readonly 'width':
|
|
73
|
-
readonly 'height':
|
|
72
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
73
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
74
74
|
}
|
|
75
75
|
] | readonly [
|
|
76
76
|
'svg',
|
|
77
77
|
{
|
|
78
78
|
readonly 'classes': _T_Classes;
|
|
79
79
|
readonly 'content': string;
|
|
80
|
-
readonly 'width':
|
|
81
|
-
readonly 'height':
|
|
80
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
81
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
82
82
|
}
|
|
83
83
|
]>>;
|
|
84
84
|
export type _T_Document = {
|
|
@@ -195,18 +195,18 @@ export declare namespace _T_Flow_Content {
|
|
|
195
195
|
namespace width {
|
|
196
196
|
type O = number;
|
|
197
197
|
}
|
|
198
|
-
type width =
|
|
198
|
+
type width = _pi.Optional_Value<number>;
|
|
199
199
|
namespace height {
|
|
200
200
|
type O = number;
|
|
201
201
|
}
|
|
202
|
-
type height =
|
|
202
|
+
type height = _pi.Optional_Value<number>;
|
|
203
203
|
namespace content {
|
|
204
204
|
}
|
|
205
205
|
type content = _T_Flow_Content;
|
|
206
206
|
}
|
|
207
207
|
type dimensioned_div = {
|
|
208
|
-
readonly 'width':
|
|
209
|
-
readonly 'height':
|
|
208
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
209
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
210
210
|
readonly 'content': _T_Flow_Content;
|
|
211
211
|
};
|
|
212
212
|
namespace classified_div {
|
|
@@ -255,7 +255,7 @@ export declare namespace _T_Flow_Content {
|
|
|
255
255
|
namespace height {
|
|
256
256
|
type O = number;
|
|
257
257
|
}
|
|
258
|
-
type height =
|
|
258
|
+
type height = _pi.Optional_Value<number>;
|
|
259
259
|
namespace cells {
|
|
260
260
|
namespace L {
|
|
261
261
|
namespace classes {
|
|
@@ -278,7 +278,7 @@ export declare namespace _T_Flow_Content {
|
|
|
278
278
|
type L = {
|
|
279
279
|
readonly 'classes': _T_Classes;
|
|
280
280
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
281
|
-
readonly 'height':
|
|
281
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
282
282
|
readonly 'cells': _i_core._T_List<null, {
|
|
283
283
|
readonly 'classes': _T_Classes;
|
|
284
284
|
readonly 'content': _T_Flow_Content;
|
|
@@ -288,7 +288,7 @@ export declare namespace _T_Flow_Content {
|
|
|
288
288
|
type rows = _i_core._T_List<null, {
|
|
289
289
|
readonly 'classes': _T_Classes;
|
|
290
290
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
291
|
-
readonly 'height':
|
|
291
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
292
292
|
readonly 'cells': _i_core._T_List<null, {
|
|
293
293
|
readonly 'classes': _T_Classes;
|
|
294
294
|
readonly 'content': _T_Flow_Content;
|
|
@@ -301,7 +301,7 @@ export declare namespace _T_Flow_Content {
|
|
|
301
301
|
readonly 'rows': _i_core._T_List<null, {
|
|
302
302
|
readonly 'classes': _T_Classes;
|
|
303
303
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
304
|
-
readonly 'height':
|
|
304
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
305
305
|
readonly 'cells': _i_core._T_List<null, {
|
|
306
306
|
readonly 'classes': _T_Classes;
|
|
307
307
|
readonly 'content': _T_Flow_Content;
|
|
@@ -315,7 +315,7 @@ export declare namespace _T_Flow_Content {
|
|
|
315
315
|
readonly 'rows': _i_core._T_List<null, {
|
|
316
316
|
readonly 'classes': _T_Classes;
|
|
317
317
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
318
|
-
readonly 'height':
|
|
318
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
319
319
|
readonly 'cells': _i_core._T_List<null, {
|
|
320
320
|
readonly 'classes': _T_Classes;
|
|
321
321
|
readonly 'content': _T_Flow_Content;
|
|
@@ -331,7 +331,7 @@ export declare namespace _T_Flow_Content {
|
|
|
331
331
|
readonly 'rows': _i_core._T_List<null, {
|
|
332
332
|
readonly 'classes': _T_Classes;
|
|
333
333
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
334
|
-
readonly 'height':
|
|
334
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
335
335
|
readonly 'cells': _i_core._T_List<null, {
|
|
336
336
|
readonly 'classes': _T_Classes;
|
|
337
337
|
readonly 'content': _T_Flow_Content;
|
|
@@ -365,18 +365,18 @@ export declare namespace _T_Flow_Content {
|
|
|
365
365
|
namespace width {
|
|
366
366
|
type O = number;
|
|
367
367
|
}
|
|
368
|
-
type width =
|
|
368
|
+
type width = _pi.Optional_Value<number>;
|
|
369
369
|
namespace height {
|
|
370
370
|
type O = number;
|
|
371
371
|
}
|
|
372
|
-
type height =
|
|
372
|
+
type height = _pi.Optional_Value<number>;
|
|
373
373
|
}
|
|
374
374
|
type img = {
|
|
375
375
|
readonly 'classes': _T_Classes;
|
|
376
376
|
readonly 'src': string;
|
|
377
377
|
readonly 'alt': string;
|
|
378
|
-
readonly 'width':
|
|
379
|
-
readonly 'height':
|
|
378
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
379
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
380
380
|
};
|
|
381
381
|
namespace svg {
|
|
382
382
|
namespace classes {
|
|
@@ -386,24 +386,24 @@ export declare namespace _T_Flow_Content {
|
|
|
386
386
|
namespace width {
|
|
387
387
|
type O = number;
|
|
388
388
|
}
|
|
389
|
-
type width =
|
|
389
|
+
type width = _pi.Optional_Value<number>;
|
|
390
390
|
namespace height {
|
|
391
391
|
type O = number;
|
|
392
392
|
}
|
|
393
|
-
type height =
|
|
393
|
+
type height = _pi.Optional_Value<number>;
|
|
394
394
|
}
|
|
395
395
|
type svg = {
|
|
396
396
|
readonly 'classes': _T_Classes;
|
|
397
397
|
readonly 'content': string;
|
|
398
|
-
readonly 'width':
|
|
399
|
-
readonly 'height':
|
|
398
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
399
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
402
|
type SG = readonly ['div', _T_Flow_Content] | readonly [
|
|
403
403
|
'dimensioned div',
|
|
404
404
|
{
|
|
405
|
-
readonly 'width':
|
|
406
|
-
readonly 'height':
|
|
405
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
406
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
407
407
|
readonly 'content': _T_Flow_Content;
|
|
408
408
|
}
|
|
409
409
|
] | readonly [
|
|
@@ -422,7 +422,7 @@ export declare namespace _T_Flow_Content {
|
|
|
422
422
|
readonly 'rows': _i_core._T_List<null, {
|
|
423
423
|
readonly 'classes': _T_Classes;
|
|
424
424
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
425
|
-
readonly 'height':
|
|
425
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
426
426
|
readonly 'cells': _i_core._T_List<null, {
|
|
427
427
|
readonly 'classes': _T_Classes;
|
|
428
428
|
readonly 'content': _T_Flow_Content;
|
|
@@ -443,24 +443,24 @@ export declare namespace _T_Flow_Content {
|
|
|
443
443
|
readonly 'classes': _T_Classes;
|
|
444
444
|
readonly 'src': string;
|
|
445
445
|
readonly 'alt': string;
|
|
446
|
-
readonly 'width':
|
|
447
|
-
readonly 'height':
|
|
446
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
447
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
448
448
|
}
|
|
449
449
|
] | readonly [
|
|
450
450
|
'svg',
|
|
451
451
|
{
|
|
452
452
|
readonly 'classes': _T_Classes;
|
|
453
453
|
readonly 'content': string;
|
|
454
|
-
readonly 'width':
|
|
455
|
-
readonly 'height':
|
|
454
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
455
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
456
456
|
}
|
|
457
457
|
];
|
|
458
458
|
}
|
|
459
459
|
type L = _i_core._T_State_Group<null, readonly ['div', _T_Flow_Content] | readonly [
|
|
460
460
|
'dimensioned div',
|
|
461
461
|
{
|
|
462
|
-
readonly 'width':
|
|
463
|
-
readonly 'height':
|
|
462
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
463
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
464
464
|
readonly 'content': _T_Flow_Content;
|
|
465
465
|
}
|
|
466
466
|
] | readonly [
|
|
@@ -479,7 +479,7 @@ export declare namespace _T_Flow_Content {
|
|
|
479
479
|
readonly 'rows': _i_core._T_List<null, {
|
|
480
480
|
readonly 'classes': _T_Classes;
|
|
481
481
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
482
|
-
readonly 'height':
|
|
482
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
483
483
|
readonly 'cells': _i_core._T_List<null, {
|
|
484
484
|
readonly 'classes': _T_Classes;
|
|
485
485
|
readonly 'content': _T_Flow_Content;
|
|
@@ -500,16 +500,16 @@ export declare namespace _T_Flow_Content {
|
|
|
500
500
|
readonly 'classes': _T_Classes;
|
|
501
501
|
readonly 'src': string;
|
|
502
502
|
readonly 'alt': string;
|
|
503
|
-
readonly 'width':
|
|
504
|
-
readonly 'height':
|
|
503
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
504
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
505
505
|
}
|
|
506
506
|
] | readonly [
|
|
507
507
|
'svg',
|
|
508
508
|
{
|
|
509
509
|
readonly 'classes': _T_Classes;
|
|
510
510
|
readonly 'content': string;
|
|
511
|
-
readonly 'width':
|
|
512
|
-
readonly 'height':
|
|
511
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
512
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
513
513
|
}
|
|
514
514
|
]>;
|
|
515
515
|
}
|
|
@@ -625,18 +625,18 @@ export declare namespace Flow_Content {
|
|
|
625
625
|
namespace width {
|
|
626
626
|
type O = number;
|
|
627
627
|
}
|
|
628
|
-
type width =
|
|
628
|
+
type width = _pi.Optional_Value<number>;
|
|
629
629
|
namespace height {
|
|
630
630
|
type O = number;
|
|
631
631
|
}
|
|
632
|
-
type height =
|
|
632
|
+
type height = _pi.Optional_Value<number>;
|
|
633
633
|
namespace content {
|
|
634
634
|
}
|
|
635
635
|
type content = _T_Flow_Content;
|
|
636
636
|
}
|
|
637
637
|
type dimensioned_div = {
|
|
638
|
-
readonly 'width':
|
|
639
|
-
readonly 'height':
|
|
638
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
639
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
640
640
|
readonly 'content': _T_Flow_Content;
|
|
641
641
|
};
|
|
642
642
|
namespace classified_div {
|
|
@@ -685,7 +685,7 @@ export declare namespace Flow_Content {
|
|
|
685
685
|
namespace height {
|
|
686
686
|
type O = number;
|
|
687
687
|
}
|
|
688
|
-
type height =
|
|
688
|
+
type height = _pi.Optional_Value<number>;
|
|
689
689
|
namespace cells {
|
|
690
690
|
namespace L {
|
|
691
691
|
namespace classes {
|
|
@@ -708,7 +708,7 @@ export declare namespace Flow_Content {
|
|
|
708
708
|
type L = {
|
|
709
709
|
readonly 'classes': _T_Classes;
|
|
710
710
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
711
|
-
readonly 'height':
|
|
711
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
712
712
|
readonly 'cells': _i_core._T_List<null, {
|
|
713
713
|
readonly 'classes': _T_Classes;
|
|
714
714
|
readonly 'content': _T_Flow_Content;
|
|
@@ -718,7 +718,7 @@ export declare namespace Flow_Content {
|
|
|
718
718
|
type rows = _i_core._T_List<null, {
|
|
719
719
|
readonly 'classes': _T_Classes;
|
|
720
720
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
721
|
-
readonly 'height':
|
|
721
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
722
722
|
readonly 'cells': _i_core._T_List<null, {
|
|
723
723
|
readonly 'classes': _T_Classes;
|
|
724
724
|
readonly 'content': _T_Flow_Content;
|
|
@@ -731,7 +731,7 @@ export declare namespace Flow_Content {
|
|
|
731
731
|
readonly 'rows': _i_core._T_List<null, {
|
|
732
732
|
readonly 'classes': _T_Classes;
|
|
733
733
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
734
|
-
readonly 'height':
|
|
734
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
735
735
|
readonly 'cells': _i_core._T_List<null, {
|
|
736
736
|
readonly 'classes': _T_Classes;
|
|
737
737
|
readonly 'content': _T_Flow_Content;
|
|
@@ -745,7 +745,7 @@ export declare namespace Flow_Content {
|
|
|
745
745
|
readonly 'rows': _i_core._T_List<null, {
|
|
746
746
|
readonly 'classes': _T_Classes;
|
|
747
747
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
748
|
-
readonly 'height':
|
|
748
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
749
749
|
readonly 'cells': _i_core._T_List<null, {
|
|
750
750
|
readonly 'classes': _T_Classes;
|
|
751
751
|
readonly 'content': _T_Flow_Content;
|
|
@@ -761,7 +761,7 @@ export declare namespace Flow_Content {
|
|
|
761
761
|
readonly 'rows': _i_core._T_List<null, {
|
|
762
762
|
readonly 'classes': _T_Classes;
|
|
763
763
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
764
|
-
readonly 'height':
|
|
764
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
765
765
|
readonly 'cells': _i_core._T_List<null, {
|
|
766
766
|
readonly 'classes': _T_Classes;
|
|
767
767
|
readonly 'content': _T_Flow_Content;
|
|
@@ -795,18 +795,18 @@ export declare namespace Flow_Content {
|
|
|
795
795
|
namespace width {
|
|
796
796
|
type O = number;
|
|
797
797
|
}
|
|
798
|
-
type width =
|
|
798
|
+
type width = _pi.Optional_Value<number>;
|
|
799
799
|
namespace height {
|
|
800
800
|
type O = number;
|
|
801
801
|
}
|
|
802
|
-
type height =
|
|
802
|
+
type height = _pi.Optional_Value<number>;
|
|
803
803
|
}
|
|
804
804
|
type img = {
|
|
805
805
|
readonly 'classes': _T_Classes;
|
|
806
806
|
readonly 'src': string;
|
|
807
807
|
readonly 'alt': string;
|
|
808
|
-
readonly 'width':
|
|
809
|
-
readonly 'height':
|
|
808
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
809
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
810
810
|
};
|
|
811
811
|
namespace svg {
|
|
812
812
|
namespace classes {
|
|
@@ -816,24 +816,24 @@ export declare namespace Flow_Content {
|
|
|
816
816
|
namespace width {
|
|
817
817
|
type O = number;
|
|
818
818
|
}
|
|
819
|
-
type width =
|
|
819
|
+
type width = _pi.Optional_Value<number>;
|
|
820
820
|
namespace height {
|
|
821
821
|
type O = number;
|
|
822
822
|
}
|
|
823
|
-
type height =
|
|
823
|
+
type height = _pi.Optional_Value<number>;
|
|
824
824
|
}
|
|
825
825
|
type svg = {
|
|
826
826
|
readonly 'classes': _T_Classes;
|
|
827
827
|
readonly 'content': string;
|
|
828
|
-
readonly 'width':
|
|
829
|
-
readonly 'height':
|
|
828
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
829
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
830
830
|
};
|
|
831
831
|
}
|
|
832
832
|
type SG = readonly ['div', _T_Flow_Content] | readonly [
|
|
833
833
|
'dimensioned div',
|
|
834
834
|
{
|
|
835
|
-
readonly 'width':
|
|
836
|
-
readonly 'height':
|
|
835
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
836
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
837
837
|
readonly 'content': _T_Flow_Content;
|
|
838
838
|
}
|
|
839
839
|
] | readonly [
|
|
@@ -852,7 +852,7 @@ export declare namespace Flow_Content {
|
|
|
852
852
|
readonly 'rows': _i_core._T_List<null, {
|
|
853
853
|
readonly 'classes': _T_Classes;
|
|
854
854
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
855
|
-
readonly 'height':
|
|
855
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
856
856
|
readonly 'cells': _i_core._T_List<null, {
|
|
857
857
|
readonly 'classes': _T_Classes;
|
|
858
858
|
readonly 'content': _T_Flow_Content;
|
|
@@ -873,24 +873,24 @@ export declare namespace Flow_Content {
|
|
|
873
873
|
readonly 'classes': _T_Classes;
|
|
874
874
|
readonly 'src': string;
|
|
875
875
|
readonly 'alt': string;
|
|
876
|
-
readonly 'width':
|
|
877
|
-
readonly 'height':
|
|
876
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
877
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
878
878
|
}
|
|
879
879
|
] | readonly [
|
|
880
880
|
'svg',
|
|
881
881
|
{
|
|
882
882
|
readonly 'classes': _T_Classes;
|
|
883
883
|
readonly 'content': string;
|
|
884
|
-
readonly 'width':
|
|
885
|
-
readonly 'height':
|
|
884
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
885
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
886
886
|
}
|
|
887
887
|
];
|
|
888
888
|
}
|
|
889
889
|
type L = _i_core._T_State_Group<null, readonly ['div', _T_Flow_Content] | readonly [
|
|
890
890
|
'dimensioned div',
|
|
891
891
|
{
|
|
892
|
-
readonly 'width':
|
|
893
|
-
readonly 'height':
|
|
892
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
893
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
894
894
|
readonly 'content': _T_Flow_Content;
|
|
895
895
|
}
|
|
896
896
|
] | readonly [
|
|
@@ -909,7 +909,7 @@ export declare namespace Flow_Content {
|
|
|
909
909
|
readonly 'rows': _i_core._T_List<null, {
|
|
910
910
|
readonly 'classes': _T_Classes;
|
|
911
911
|
readonly 'type': _i_core._T_State_Group<null, readonly ['th', null] | readonly ['td', null]>;
|
|
912
|
-
readonly 'height':
|
|
912
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
913
913
|
readonly 'cells': _i_core._T_List<null, {
|
|
914
914
|
readonly 'classes': _T_Classes;
|
|
915
915
|
readonly 'content': _T_Flow_Content;
|
|
@@ -930,16 +930,16 @@ export declare namespace Flow_Content {
|
|
|
930
930
|
readonly 'classes': _T_Classes;
|
|
931
931
|
readonly 'src': string;
|
|
932
932
|
readonly 'alt': string;
|
|
933
|
-
readonly 'width':
|
|
934
|
-
readonly 'height':
|
|
933
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
934
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
935
935
|
}
|
|
936
936
|
] | readonly [
|
|
937
937
|
'svg',
|
|
938
938
|
{
|
|
939
939
|
readonly 'classes': _T_Classes;
|
|
940
940
|
readonly 'content': string;
|
|
941
|
-
readonly 'width':
|
|
942
|
-
readonly 'height':
|
|
941
|
+
readonly 'width': _pi.Optional_Value<number>;
|
|
942
|
+
readonly 'height': _pi.Optional_Value<number>;
|
|
943
943
|
}
|
|
944
944
|
]>;
|
|
945
945
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
+
import * as _p from 'pareto-core-shorthands/dist/unconstrained';
|
|
1
2
|
import * as _pi from 'pareto-core-interface';
|
|
2
3
|
import * as target from "../interface/generated/pareto/schemas/static-html/data_types/target";
|
|
3
|
-
import { Raw_Or_Normal_List } from 'pareto-core-shorthands/dist/unconstrained';
|
|
4
4
|
export declare namespace f {
|
|
5
|
-
const div: (sections: Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
6
|
-
const dimensioned_div: (width: _pi.Optional_Value<number>, height: _pi.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
|
-
const img: (classes: Raw_Or_Normal_List<string>, src: string, alt: string, width: _pi.Optional_Value<number>, height: _pi.Optional_Value<number>) => target.Flow_Content.L;
|
|
11
|
-
const svg: (classes: Raw_Or_Normal_List<string>, content: string, width: _pi.Optional_Value<number>, height: _pi.Optional_Value<number>) => 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;
|
|
5
|
+
const div: (sections: _p.Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
6
|
+
const dimensioned_div: (width: _pi.Optional_Value<number>, height: _pi.Optional_Value<number>, sections: _p.Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
7
|
+
const classified_div: (classes: _p.Raw_Or_Normal_List<string>, sections: _p.Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
8
|
+
const span: (sections: _p.Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Flow_Content.L;
|
|
9
|
+
const label: (classes: _p.Raw_Or_Normal_List<string>, text: string, sections: _p.Raw_Or_Normal_List<target.Flow_Content.L>) => target.Flow_Content.L;
|
|
10
|
+
const img: (classes: _p.Raw_Or_Normal_List<string>, src: string, alt: string, width: _pi.Optional_Value<number>, height: _pi.Optional_Value<number>) => target.Flow_Content.L;
|
|
11
|
+
const svg: (classes: _p.Raw_Or_Normal_List<string>, content: string, width: _pi.Optional_Value<number>, height: _pi.Optional_Value<number>) => target.Flow_Content.L;
|
|
12
|
+
const table: (classes: _p.Raw_Or_Normal_List<string>, sections: _p.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.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: _pi.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: _pi.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;
|
|
15
|
+
const header: (classes: _p.Raw_Or_Normal_List<string>, rows: _p.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: _p.Raw_Or_Normal_List<string>, rows: _p.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: _p.Raw_Or_Normal_List<string>, rows: _p.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: _p.Raw_Or_Normal_List<string>, height: _pi.Optional_Value<number>, cells: _p.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: _p.Raw_Or_Normal_List<string>, height: _pi.Optional_Value<number>, cells: _p.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: _p.Raw_Or_Normal_List<string>, content: _p.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: (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;
|
|
23
|
+
const span: (sections: _p.Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Phrasing_Content.L;
|
|
24
|
+
const classified_span: (classes: _p.Raw_Or_Normal_List<string>, sections: _p.Raw_Or_Normal_List<target.Phrasing_Content.L>) => target.Phrasing_Content.L;
|
|
25
|
+
const titled_span: (title: string, sections: _p.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
|
}
|