aptechka 0.1.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.
Files changed (115) hide show
  1. package/.prettierignore +16 -0
  2. package/.prettierrc +9 -0
  3. package/.vscode/extensions.json +4 -0
  4. package/.vscode/launch.json +11 -0
  5. package/.vscode/settings.json +18 -0
  6. package/README.md +0 -0
  7. package/index.html +32 -0
  8. package/package.json +272 -0
  9. package/public/vite.svg +1 -0
  10. package/src/packages/animation/Animated.ts +189 -0
  11. package/src/packages/animation/Damped.ts +39 -0
  12. package/src/packages/animation/Tweened.ts +51 -0
  13. package/src/packages/animation/index.ts +10 -0
  14. package/src/packages/attribute/index.ts +59 -0
  15. package/src/packages/canvas-2d/index.ts +137 -0
  16. package/src/packages/controls/Controls.ts +15 -0
  17. package/src/packages/controls/KeyboardControls.ts +63 -0
  18. package/src/packages/controls/LinearControls.ts +27 -0
  19. package/src/packages/controls/User.ts +20 -0
  20. package/src/packages/controls/WheelControls.ts +92 -0
  21. package/src/packages/controls/index.ts +5 -0
  22. package/src/packages/css-unit-parser/index.ts +32 -0
  23. package/src/packages/custom-element/index.ts +19 -0
  24. package/src/packages/device/Device.ts +113 -0
  25. package/src/packages/device/Viewport.ts +67 -0
  26. package/src/packages/device/index.ts +2 -0
  27. package/src/packages/element-constructor/ElementConstructor.ts +577 -0
  28. package/src/packages/element-constructor/htmlTags.ts +679 -0
  29. package/src/packages/element-constructor/index.ts +4 -0
  30. package/src/packages/element-constructor/specialObjects.ts +8 -0
  31. package/src/packages/element-constructor/svgTags.ts +588 -0
  32. package/src/packages/en3/attachments/En3SourceManager.ts +116 -0
  33. package/src/packages/en3/core/en3.ts +306 -0
  34. package/src/packages/en3/index.ts +52 -0
  35. package/src/packages/en3/instances/en3LazyLoader.ts +22 -0
  36. package/src/packages/en3/libs/MeshoptDecoder.js +138 -0
  37. package/src/packages/en3/loaders/en3GLTFLoader.ts +54 -0
  38. package/src/packages/en3/loaders/en3TextureLoader.ts +3 -0
  39. package/src/packages/en3/objects/En3Clip.ts +53 -0
  40. package/src/packages/en3/objects/En3ClipHelpers.ts +12 -0
  41. package/src/packages/en3/objects/En3GLTF.ts +35 -0
  42. package/src/packages/en3/objects/En3Image.ts +18 -0
  43. package/src/packages/en3/objects/En3ImageLike.ts +101 -0
  44. package/src/packages/en3/objects/En3SourceConsumer.ts +5 -0
  45. package/src/packages/en3/objects/En3Video.ts +88 -0
  46. package/src/packages/en3/test/En3HTML.ts +55 -0
  47. package/src/packages/en3/test/En3ModifiedMaterial.ts +221 -0
  48. package/src/packages/en3/test/En3Raycaster.ts +187 -0
  49. package/src/packages/en3/utils/coverTexture.ts +29 -0
  50. package/src/packages/en3/utils/dispose.ts +27 -0
  51. package/src/packages/en3/utils/traverseMaterials.ts +10 -0
  52. package/src/packages/en3/utils/traverseMeshes.ts +9 -0
  53. package/src/packages/image/index.ts +19 -0
  54. package/src/packages/intersector/index.ts +83 -0
  55. package/src/packages/ladder/index.ts +112 -0
  56. package/src/packages/layout-box/index.ts +417 -0
  57. package/src/packages/loading/index.ts +131 -0
  58. package/src/packages/measurer/CumulativeOffsetLeft.ts +8 -0
  59. package/src/packages/measurer/CumulativeOffsetTop.ts +8 -0
  60. package/src/packages/measurer/Meaurer.ts +38 -0
  61. package/src/packages/measurer/index.ts +3 -0
  62. package/src/packages/media/index.ts +38 -0
  63. package/src/packages/morph/Link.ts +32 -0
  64. package/src/packages/morph/Morph.ts +246 -0
  65. package/src/packages/morph/index.ts +10 -0
  66. package/src/packages/notifier/index.ts +41 -0
  67. package/src/packages/order/index.ts +14 -0
  68. package/src/packages/resizer/index.ts +55 -0
  69. package/src/packages/router/Link.ts +33 -0
  70. package/src/packages/router/Route.ts +152 -0
  71. package/src/packages/router/RouteElement.ts +34 -0
  72. package/src/packages/router/Router.ts +190 -0
  73. package/src/packages/router/index.ts +13 -0
  74. package/src/packages/scroll/ScrollElement.ts +618 -0
  75. package/src/packages/scroll/ScrollUserElement.ts +21 -0
  76. package/src/packages/scroll/ScrollbarElement.ts +170 -0
  77. package/src/packages/scroll/index.ts +2 -0
  78. package/src/packages/scroll-entries/index.ts +74 -0
  79. package/src/packages/source/SourceClass.ts +77 -0
  80. package/src/packages/source/SourceElement.ts +177 -0
  81. package/src/packages/source/SourceManager.ts +61 -0
  82. package/src/packages/source/SourceSet.ts +52 -0
  83. package/src/packages/source/index.ts +8 -0
  84. package/src/packages/store/Composed.ts +33 -0
  85. package/src/packages/store/Derived.ts +24 -0
  86. package/src/packages/store/DerivedArray.ts +36 -0
  87. package/src/packages/store/Resource.ts +38 -0
  88. package/src/packages/store/Store.ts +144 -0
  89. package/src/packages/store/StoreRegistry.ts +105 -0
  90. package/src/packages/store/index.ts +23 -0
  91. package/src/packages/ticker/index.ts +173 -0
  92. package/src/packages/utils/array.ts +3 -0
  93. package/src/packages/utils/attributes.ts +19 -0
  94. package/src/packages/utils/browser.ts +2 -0
  95. package/src/packages/utils/canvas.ts +46 -0
  96. package/src/packages/utils/collisions.ts +12 -0
  97. package/src/packages/utils/coordinates.ts +40 -0
  98. package/src/packages/utils/decoding.ts +11 -0
  99. package/src/packages/utils/dev.ts +5 -0
  100. package/src/packages/utils/dom.ts +48 -0
  101. package/src/packages/utils/easings.ts +69 -0
  102. package/src/packages/utils/file.ts +17 -0
  103. package/src/packages/utils/function.ts +29 -0
  104. package/src/packages/utils/index.ts +61 -0
  105. package/src/packages/utils/layout.ts +22 -0
  106. package/src/packages/utils/math.ts +74 -0
  107. package/src/packages/utils/number.ts +26 -0
  108. package/src/packages/utils/object.ts +108 -0
  109. package/src/packages/utils/string.ts +49 -0
  110. package/src/packages/utils/ts-shape.ts +25 -0
  111. package/src/packages/utils/ts-utility.ts +47 -0
  112. package/src/packages/video/index.ts +39 -0
  113. package/src/playground/index.ts +0 -0
  114. package/tsconfig.json +31 -0
  115. package/vite.config.ts +65 -0
@@ -0,0 +1,679 @@
1
+ import {
2
+ ElementConstructorTagObject,
3
+ ElementConstructor,
4
+ ElementConstructorJSS,
5
+ } from './ElementConstructor'
6
+
7
+ export function a(object?: Omit<ElementConstructorTagObject<'a'>, 'svg'>) {
8
+ return new ElementConstructor({
9
+ a: object,
10
+ })
11
+ }
12
+
13
+ export function abbr(object?: Omit<ElementConstructorTagObject<'abbr'>, 'svg'>) {
14
+ return new ElementConstructor({
15
+ abbr: object,
16
+ })
17
+ }
18
+
19
+ export function address(object?: Omit<ElementConstructorTagObject<'address'>, 'svg'>) {
20
+ return new ElementConstructor({
21
+ address: object,
22
+ })
23
+ }
24
+
25
+ export function area(object?: Omit<ElementConstructorTagObject<'area'>, 'svg'>) {
26
+ return new ElementConstructor({
27
+ area: object,
28
+ })
29
+ }
30
+
31
+ export function article(object?: Omit<ElementConstructorTagObject<'article'>, 'svg'>) {
32
+ return new ElementConstructor({
33
+ article: object,
34
+ })
35
+ }
36
+
37
+ export function aside(object?: Omit<ElementConstructorTagObject<'aside'>, 'svg'>) {
38
+ return new ElementConstructor({
39
+ aside: object,
40
+ })
41
+ }
42
+
43
+ export function audio(object?: Omit<ElementConstructorTagObject<'audio'>, 'svg'>) {
44
+ return new ElementConstructor({
45
+ audio: object,
46
+ })
47
+ }
48
+
49
+ export function b(object?: Omit<ElementConstructorTagObject<'b'>, 'svg'>) {
50
+ return new ElementConstructor({
51
+ b: object,
52
+ })
53
+ }
54
+
55
+ export function base(object?: Omit<ElementConstructorTagObject<'base'>, 'svg'>) {
56
+ return new ElementConstructor({
57
+ base: object,
58
+ })
59
+ }
60
+
61
+ export function bdi(object?: Omit<ElementConstructorTagObject<'bdi'>, 'svg'>) {
62
+ return new ElementConstructor({
63
+ bdi: object,
64
+ })
65
+ }
66
+
67
+ export function bdo(object?: Omit<ElementConstructorTagObject<'bdo'>, 'svg'>) {
68
+ return new ElementConstructor({
69
+ bdo: object,
70
+ })
71
+ }
72
+
73
+ export function blockquote(object?: Omit<ElementConstructorTagObject<'blockquote'>, 'svg'>) {
74
+ return new ElementConstructor({
75
+ blockquote: object,
76
+ })
77
+ }
78
+
79
+ export function body(object?: Omit<ElementConstructorTagObject<'body'>, 'svg'>) {
80
+ return new ElementConstructor({
81
+ body: object,
82
+ })
83
+ }
84
+
85
+ export function br(object?: Omit<ElementConstructorTagObject<'br'>, 'svg'>) {
86
+ return new ElementConstructor({
87
+ br: object,
88
+ })
89
+ }
90
+
91
+ export function button(object?: Omit<ElementConstructorTagObject<'button'>, 'svg'>) {
92
+ return new ElementConstructor({
93
+ button: object,
94
+ })
95
+ }
96
+
97
+ export function canvas(object?: Omit<ElementConstructorTagObject<'canvas'>, 'svg'>) {
98
+ return new ElementConstructor({
99
+ canvas: object,
100
+ })
101
+ }
102
+
103
+ export function caption(object?: Omit<ElementConstructorTagObject<'caption'>, 'svg'>) {
104
+ return new ElementConstructor({
105
+ caption: object,
106
+ })
107
+ }
108
+
109
+ export function cite(object?: Omit<ElementConstructorTagObject<'cite'>, 'svg'>) {
110
+ return new ElementConstructor({
111
+ cite: object,
112
+ })
113
+ }
114
+
115
+ export function code(object?: Omit<ElementConstructorTagObject<'code'>, 'svg'>) {
116
+ return new ElementConstructor({
117
+ code: object,
118
+ })
119
+ }
120
+
121
+ export function col(object?: Omit<ElementConstructorTagObject<'col'>, 'svg'>) {
122
+ return new ElementConstructor({
123
+ col: object,
124
+ })
125
+ }
126
+
127
+ export function colgroup(object?: Omit<ElementConstructorTagObject<'colgroup'>, 'svg'>) {
128
+ return new ElementConstructor({
129
+ colgroup: object,
130
+ })
131
+ }
132
+
133
+ export function data(object?: Omit<ElementConstructorTagObject<'data'>, 'svg'>) {
134
+ return new ElementConstructor({
135
+ data: object,
136
+ })
137
+ }
138
+
139
+ export function datalist(object?: Omit<ElementConstructorTagObject<'datalist'>, 'svg'>) {
140
+ return new ElementConstructor({
141
+ datalist: object,
142
+ })
143
+ }
144
+
145
+ export function dd(object?: Omit<ElementConstructorTagObject<'dd'>, 'svg'>) {
146
+ return new ElementConstructor({
147
+ dd: object,
148
+ })
149
+ }
150
+
151
+ export function del(object?: Omit<ElementConstructorTagObject<'del'>, 'svg'>) {
152
+ return new ElementConstructor({
153
+ del: object,
154
+ })
155
+ }
156
+
157
+ export function details(object?: Omit<ElementConstructorTagObject<'details'>, 'svg'>) {
158
+ return new ElementConstructor({
159
+ details: object,
160
+ })
161
+ }
162
+
163
+ export function dfn(object?: Omit<ElementConstructorTagObject<'dfn'>, 'svg'>) {
164
+ return new ElementConstructor({
165
+ dfn: object,
166
+ })
167
+ }
168
+
169
+ export function dialog(object?: Omit<ElementConstructorTagObject<'dialog'>, 'svg'>) {
170
+ return new ElementConstructor({
171
+ dialog: object,
172
+ })
173
+ }
174
+
175
+ export function div(object?: Omit<ElementConstructorTagObject<'div'>, 'svg'>) {
176
+ return new ElementConstructor({
177
+ div: object,
178
+ })
179
+ }
180
+
181
+ export function dl(object?: Omit<ElementConstructorTagObject<'dl'>, 'svg'>) {
182
+ return new ElementConstructor({
183
+ dl: object,
184
+ })
185
+ }
186
+
187
+ export function dt(object?: Omit<ElementConstructorTagObject<'dt'>, 'svg'>) {
188
+ return new ElementConstructor({
189
+ dt: object,
190
+ })
191
+ }
192
+
193
+ export function em(object?: Omit<ElementConstructorTagObject<'em'>, 'svg'>) {
194
+ return new ElementConstructor({
195
+ em: object,
196
+ })
197
+ }
198
+
199
+ export function embed(object?: Omit<ElementConstructorTagObject<'embed'>, 'svg'>) {
200
+ return new ElementConstructor({
201
+ embed: object,
202
+ })
203
+ }
204
+
205
+ export function fieldset(object?: Omit<ElementConstructorTagObject<'fieldset'>, 'svg'>) {
206
+ return new ElementConstructor({
207
+ fieldset: object,
208
+ })
209
+ }
210
+
211
+ export function figcaption(object?: Omit<ElementConstructorTagObject<'figcaption'>, 'svg'>) {
212
+ return new ElementConstructor({
213
+ figcaption: object,
214
+ })
215
+ }
216
+
217
+ export function figure(object?: Omit<ElementConstructorTagObject<'figure'>, 'svg'>) {
218
+ return new ElementConstructor({
219
+ figure: object,
220
+ })
221
+ }
222
+
223
+ export function footer(object?: Omit<ElementConstructorTagObject<'footer'>, 'svg'>) {
224
+ return new ElementConstructor({
225
+ footer: object,
226
+ })
227
+ }
228
+
229
+ export function form(object?: Omit<ElementConstructorTagObject<'form'>, 'svg'>) {
230
+ return new ElementConstructor({
231
+ form: object,
232
+ })
233
+ }
234
+
235
+ export function h1(object?: Omit<ElementConstructorTagObject<'h1'>, 'svg'>) {
236
+ return new ElementConstructor({
237
+ h1: object,
238
+ })
239
+ }
240
+
241
+ export function h2(object?: Omit<ElementConstructorTagObject<'h2'>, 'svg'>) {
242
+ return new ElementConstructor({
243
+ h2: object,
244
+ })
245
+ }
246
+
247
+ export function h3(object?: Omit<ElementConstructorTagObject<'h3'>, 'svg'>) {
248
+ return new ElementConstructor({
249
+ h3: object,
250
+ })
251
+ }
252
+
253
+ export function h4(object?: Omit<ElementConstructorTagObject<'h4'>, 'svg'>) {
254
+ return new ElementConstructor({
255
+ h4: object,
256
+ })
257
+ }
258
+
259
+ export function h5(object?: Omit<ElementConstructorTagObject<'h5'>, 'svg'>) {
260
+ return new ElementConstructor({
261
+ h5: object,
262
+ })
263
+ }
264
+
265
+ export function h6(object?: Omit<ElementConstructorTagObject<'h6'>, 'svg'>) {
266
+ return new ElementConstructor({
267
+ h6: object,
268
+ })
269
+ }
270
+
271
+ export function head(object?: Omit<ElementConstructorTagObject<'head'>, 'svg'>) {
272
+ return new ElementConstructor({
273
+ head: object,
274
+ })
275
+ }
276
+
277
+ export function header(object?: Omit<ElementConstructorTagObject<'header'>, 'svg'>) {
278
+ return new ElementConstructor({
279
+ header: object,
280
+ })
281
+ }
282
+
283
+ export function hgroup(object?: Omit<ElementConstructorTagObject<'hgroup'>, 'svg'>) {
284
+ return new ElementConstructor({
285
+ hgroup: object,
286
+ })
287
+ }
288
+
289
+ export function hr(object?: Omit<ElementConstructorTagObject<'hr'>, 'svg'>) {
290
+ return new ElementConstructor({
291
+ hr: object,
292
+ })
293
+ }
294
+
295
+ export function html(object?: Omit<ElementConstructorTagObject<'html'>, 'svg'>) {
296
+ return new ElementConstructor({
297
+ html: object,
298
+ })
299
+ }
300
+
301
+ export function i(object?: Omit<ElementConstructorTagObject<'i'>, 'svg'>) {
302
+ return new ElementConstructor({
303
+ i: object,
304
+ })
305
+ }
306
+
307
+ export function iframe(object?: Omit<ElementConstructorTagObject<'iframe'>, 'svg'>) {
308
+ return new ElementConstructor({
309
+ iframe: object,
310
+ })
311
+ }
312
+
313
+ export function img(object?: Omit<ElementConstructorTagObject<'img'>, 'svg'>) {
314
+ return new ElementConstructor({
315
+ img: object,
316
+ })
317
+ }
318
+
319
+ export function input(object?: Omit<ElementConstructorTagObject<'input'>, 'svg'>) {
320
+ return new ElementConstructor({
321
+ input: object,
322
+ })
323
+ }
324
+
325
+ export function ins(object?: Omit<ElementConstructorTagObject<'ins'>, 'svg'>) {
326
+ return new ElementConstructor({
327
+ ins: object,
328
+ })
329
+ }
330
+
331
+ export function kbd(object?: Omit<ElementConstructorTagObject<'kbd'>, 'svg'>) {
332
+ return new ElementConstructor({
333
+ kbd: object,
334
+ })
335
+ }
336
+
337
+ export function label(object?: Omit<ElementConstructorTagObject<'label'>, 'svg'>) {
338
+ return new ElementConstructor({
339
+ label: object,
340
+ })
341
+ }
342
+
343
+ export function legend(object?: Omit<ElementConstructorTagObject<'legend'>, 'svg'>) {
344
+ return new ElementConstructor({
345
+ legend: object,
346
+ })
347
+ }
348
+
349
+ export function li(object?: Omit<ElementConstructorTagObject<'li'>, 'svg'>) {
350
+ return new ElementConstructor({
351
+ li: object,
352
+ })
353
+ }
354
+
355
+ export function link(object?: Omit<ElementConstructorTagObject<'link'>, 'svg'>) {
356
+ return new ElementConstructor({
357
+ link: object,
358
+ })
359
+ }
360
+
361
+ export function main(object?: Omit<ElementConstructorTagObject<'main'>, 'svg'>) {
362
+ return new ElementConstructor({
363
+ main: object,
364
+ })
365
+ }
366
+
367
+ export function map(object?: Omit<ElementConstructorTagObject<'map'>, 'svg'>) {
368
+ return new ElementConstructor({
369
+ map: object,
370
+ })
371
+ }
372
+
373
+ export function mark(object?: Omit<ElementConstructorTagObject<'mark'>, 'svg'>) {
374
+ return new ElementConstructor({
375
+ mark: object,
376
+ })
377
+ }
378
+
379
+ export function menu(object?: Omit<ElementConstructorTagObject<'menu'>, 'svg'>) {
380
+ return new ElementConstructor({
381
+ menu: object,
382
+ })
383
+ }
384
+
385
+ export function meta(object?: Omit<ElementConstructorTagObject<'meta'>, 'svg'>) {
386
+ return new ElementConstructor({
387
+ meta: object,
388
+ })
389
+ }
390
+
391
+ export function meter(object?: Omit<ElementConstructorTagObject<'meter'>, 'svg'>) {
392
+ return new ElementConstructor({
393
+ meter: object,
394
+ })
395
+ }
396
+
397
+ export function nav(object?: Omit<ElementConstructorTagObject<'nav'>, 'svg'>) {
398
+ return new ElementConstructor({
399
+ nav: object,
400
+ })
401
+ }
402
+
403
+ export function noscript(object?: Omit<ElementConstructorTagObject<'noscript'>, 'svg'>) {
404
+ return new ElementConstructor({
405
+ noscript: object,
406
+ })
407
+ }
408
+
409
+ export function object(object?: Omit<ElementConstructorTagObject<'object'>, 'svg'>) {
410
+ return new ElementConstructor({
411
+ object: object,
412
+ })
413
+ }
414
+
415
+ export function ol(object?: Omit<ElementConstructorTagObject<'ol'>, 'svg'>) {
416
+ return new ElementConstructor({
417
+ ol: object,
418
+ })
419
+ }
420
+
421
+ export function optgroup(object?: Omit<ElementConstructorTagObject<'optgroup'>, 'svg'>) {
422
+ return new ElementConstructor({
423
+ optgroup: object,
424
+ })
425
+ }
426
+
427
+ export function option(object?: Omit<ElementConstructorTagObject<'option'>, 'svg'>) {
428
+ return new ElementConstructor({
429
+ option: object,
430
+ })
431
+ }
432
+
433
+ export function output(object?: Omit<ElementConstructorTagObject<'output'>, 'svg'>) {
434
+ return new ElementConstructor({
435
+ output: object,
436
+ })
437
+ }
438
+
439
+ export function p(object?: Omit<ElementConstructorTagObject<'p'>, 'svg'>) {
440
+ return new ElementConstructor({
441
+ p: object,
442
+ })
443
+ }
444
+
445
+ export function picture(object?: Omit<ElementConstructorTagObject<'picture'>, 'svg'>) {
446
+ return new ElementConstructor({
447
+ picture: object,
448
+ })
449
+ }
450
+
451
+ export function pre(object?: Omit<ElementConstructorTagObject<'pre'>, 'svg'>) {
452
+ return new ElementConstructor({
453
+ pre: object,
454
+ })
455
+ }
456
+
457
+ export function progress(object?: Omit<ElementConstructorTagObject<'progress'>, 'svg'>) {
458
+ return new ElementConstructor({
459
+ progress: object,
460
+ })
461
+ }
462
+
463
+ export function q(object?: Omit<ElementConstructorTagObject<'q'>, 'svg'>) {
464
+ return new ElementConstructor({
465
+ q: object,
466
+ })
467
+ }
468
+
469
+ export function rp(object?: Omit<ElementConstructorTagObject<'rp'>, 'svg'>) {
470
+ return new ElementConstructor({
471
+ rp: object,
472
+ })
473
+ }
474
+
475
+ export function rt(object?: Omit<ElementConstructorTagObject<'rt'>, 'svg'>) {
476
+ return new ElementConstructor({
477
+ rt: object,
478
+ })
479
+ }
480
+
481
+ export function ruby(object?: Omit<ElementConstructorTagObject<'ruby'>, 'svg'>) {
482
+ return new ElementConstructor({
483
+ ruby: object,
484
+ })
485
+ }
486
+
487
+ export function s(object?: Omit<ElementConstructorTagObject<'s'>, 'svg'>) {
488
+ return new ElementConstructor({
489
+ s: object,
490
+ })
491
+ }
492
+
493
+ export function samp(object?: Omit<ElementConstructorTagObject<'samp'>, 'svg'>) {
494
+ return new ElementConstructor({
495
+ samp: object,
496
+ })
497
+ }
498
+
499
+ export function script(object?: Omit<ElementConstructorTagObject<'script'>, 'svg'>) {
500
+ return new ElementConstructor({
501
+ script: object,
502
+ })
503
+ }
504
+
505
+ export function search(object?: Omit<ElementConstructorTagObject<'search'>, 'svg'>) {
506
+ return new ElementConstructor({
507
+ search: object,
508
+ })
509
+ }
510
+
511
+ export function section(object?: Omit<ElementConstructorTagObject<'section'>, 'svg'>) {
512
+ return new ElementConstructor({
513
+ section: object,
514
+ })
515
+ }
516
+
517
+ export function select(object?: Omit<ElementConstructorTagObject<'select'>, 'svg'>) {
518
+ return new ElementConstructor({
519
+ select: object,
520
+ })
521
+ }
522
+
523
+ export function slot(object?: Omit<ElementConstructorTagObject<'slot'>, 'svg'>) {
524
+ return new ElementConstructor({
525
+ slot: object,
526
+ })
527
+ }
528
+
529
+ export function small(object?: Omit<ElementConstructorTagObject<'small'>, 'svg'>) {
530
+ return new ElementConstructor({
531
+ small: object,
532
+ })
533
+ }
534
+
535
+ export function source(object?: Omit<ElementConstructorTagObject<'source'>, 'svg'>) {
536
+ return new ElementConstructor({
537
+ source: object,
538
+ })
539
+ }
540
+
541
+ export function span(object?: Omit<ElementConstructorTagObject<'span'>, 'svg'>) {
542
+ return new ElementConstructor({
543
+ span: object,
544
+ })
545
+ }
546
+
547
+ export function strong(object?: Omit<ElementConstructorTagObject<'strong'>, 'svg'>) {
548
+ return new ElementConstructor({
549
+ strong: object,
550
+ })
551
+ }
552
+
553
+ export function style(object?: ElementConstructorJSS) {
554
+ return new ElementConstructor({
555
+ style: {
556
+ style: object,
557
+ },
558
+ })
559
+ }
560
+
561
+ export function sub(object?: Omit<ElementConstructorTagObject<'sub'>, 'svg'>) {
562
+ return new ElementConstructor({
563
+ sub: object,
564
+ })
565
+ }
566
+
567
+ export function summary(object?: Omit<ElementConstructorTagObject<'summary'>, 'svg'>) {
568
+ return new ElementConstructor({
569
+ summary: object,
570
+ })
571
+ }
572
+
573
+ export function sup(object?: Omit<ElementConstructorTagObject<'sup'>, 'svg'>) {
574
+ return new ElementConstructor({
575
+ sup: object,
576
+ })
577
+ }
578
+
579
+ export function table(object?: Omit<ElementConstructorTagObject<'table'>, 'svg'>) {
580
+ return new ElementConstructor({
581
+ table: object,
582
+ })
583
+ }
584
+
585
+ export function tbody(object?: Omit<ElementConstructorTagObject<'tbody'>, 'svg'>) {
586
+ return new ElementConstructor({
587
+ tbody: object,
588
+ })
589
+ }
590
+
591
+ export function td(object?: Omit<ElementConstructorTagObject<'td'>, 'svg'>) {
592
+ return new ElementConstructor({
593
+ td: object,
594
+ })
595
+ }
596
+
597
+ export function template(object?: Omit<ElementConstructorTagObject<'template'>, 'svg'>) {
598
+ return new ElementConstructor({
599
+ template: object,
600
+ })
601
+ }
602
+
603
+ export function textarea(object?: Omit<ElementConstructorTagObject<'textarea'>, 'svg'>) {
604
+ return new ElementConstructor({
605
+ textarea: object,
606
+ })
607
+ }
608
+
609
+ export function tfoot(object?: Omit<ElementConstructorTagObject<'tfoot'>, 'svg'>) {
610
+ return new ElementConstructor({
611
+ tfoot: object,
612
+ })
613
+ }
614
+
615
+ export function th(object?: Omit<ElementConstructorTagObject<'th'>, 'svg'>) {
616
+ return new ElementConstructor({
617
+ th: object,
618
+ })
619
+ }
620
+
621
+ export function thead(object?: Omit<ElementConstructorTagObject<'thead'>, 'svg'>) {
622
+ return new ElementConstructor({
623
+ thead: object,
624
+ })
625
+ }
626
+
627
+ export function time(object?: Omit<ElementConstructorTagObject<'time'>, 'svg'>) {
628
+ return new ElementConstructor({
629
+ time: object,
630
+ })
631
+ }
632
+
633
+ export function title(object?: Omit<ElementConstructorTagObject<'title'>, 'svg'>) {
634
+ return new ElementConstructor({
635
+ title: object,
636
+ })
637
+ }
638
+
639
+ export function tr(object?: Omit<ElementConstructorTagObject<'tr'>, 'svg'>) {
640
+ return new ElementConstructor({
641
+ tr: object,
642
+ })
643
+ }
644
+
645
+ export function track(object?: Omit<ElementConstructorTagObject<'track'>, 'svg'>) {
646
+ return new ElementConstructor({
647
+ track: object,
648
+ })
649
+ }
650
+
651
+ export function u(object?: Omit<ElementConstructorTagObject<'u'>, 'svg'>) {
652
+ return new ElementConstructor({
653
+ u: object,
654
+ })
655
+ }
656
+
657
+ export function ul(object?: Omit<ElementConstructorTagObject<'ul'>, 'svg'>) {
658
+ return new ElementConstructor({
659
+ ul: object,
660
+ })
661
+ }
662
+
663
+ export function htmlVar(object?: Omit<ElementConstructorTagObject<'var'>, 'svg'>) {
664
+ return new ElementConstructor({
665
+ var: object,
666
+ })
667
+ }
668
+
669
+ export function video(object?: Omit<ElementConstructorTagObject<'video'>, 'svg'>) {
670
+ return new ElementConstructor({
671
+ video: object,
672
+ })
673
+ }
674
+
675
+ export function wbr(object?: Omit<ElementConstructorTagObject<'wbr'>, 'svg'>) {
676
+ return new ElementConstructor({
677
+ wbr: object,
678
+ })
679
+ }
@@ -0,0 +1,4 @@
1
+ export * from './ElementConstructor'
2
+ export * from './htmlTags'
3
+ export * from './specialObjects'
4
+ export * from './svgTags'
@@ -0,0 +1,8 @@
1
+ import { ElementConstructorJSS } from './ElementConstructor'
2
+ import { style } from './htmlTags'
3
+
4
+ export function stylesheet(object?: ElementConstructorJSS) {
5
+ const sheet = new CSSStyleSheet()
6
+ sheet.replaceSync(style(object).rootElements[0].innerHTML)
7
+ return sheet
8
+ }