typecomposer 0.0.10 → 0.0.13

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 (79) hide show
  1. package/dist/cjs/core/element/action/ChartPane.d.ts +4 -0
  2. package/dist/cjs/core/element/action/ChartPane.js +4 -0
  3. package/dist/cjs/core/element/action/ChartPane.js.map +1 -1
  4. package/dist/cjs/core/element/base/CSSStyle.d.ts +2342 -2342
  5. package/dist/cjs/core/element/base/CSSStyle.js +973 -969
  6. package/dist/cjs/core/element/base/CSSStyle.js.map +1 -1
  7. package/dist/cjs/core/element/base/Elements.d.ts +121 -121
  8. package/dist/cjs/core/element/base/Elements.js +118 -119
  9. package/dist/cjs/core/element/base/Elements.js.map +1 -1
  10. package/dist/cjs/core/element/image/IconElement.d.ts +4 -5
  11. package/dist/cjs/core/element/image/IconElement.js +4 -5
  12. package/dist/cjs/core/element/image/IconElement.js.map +1 -1
  13. package/dist/cjs/core/element/layers/CardElement.d.ts +2 -2
  14. package/dist/cjs/core/element/layers/PaneElement.d.ts +2 -2
  15. package/dist/cjs/core/element/text/TextFieldElement.js.map +1 -1
  16. package/dist/cjs/core/ref/Ref.d.ts +33 -17
  17. package/dist/cjs/core/ref/Ref.js +72 -43
  18. package/dist/cjs/core/ref/Ref.js.map +1 -1
  19. package/dist/cjs/core/ref/RefComponent.js +1 -1
  20. package/dist/cjs/core/ref/RefProxyHandler.d.ts +1 -0
  21. package/dist/cjs/core/ref/RefProxyHandler.js +110 -0
  22. package/dist/cjs/core/ref/RefProxyHandler.js.map +1 -0
  23. package/dist/cjs/core/ref/index.d.ts +1 -1
  24. package/dist/cjs/core/ref/index.js +3 -2
  25. package/dist/cjs/core/ref/index.js.map +1 -1
  26. package/dist/cjs/core/router/Router.d.ts +9 -3
  27. package/dist/cjs/core/router/Router.js +39 -17
  28. package/dist/cjs/core/router/Router.js.map +1 -1
  29. package/dist/cjs/core/router/RouterEvent.d.ts +36 -0
  30. package/dist/cjs/core/router/RouterEvent.js +47 -0
  31. package/dist/cjs/core/router/RouterEvent.js.map +1 -0
  32. package/dist/cjs/core/router/RouterGuard.d.ts +5 -0
  33. package/dist/cjs/core/router/RouterGuard.js +14 -0
  34. package/dist/cjs/core/router/RouterGuard.js.map +1 -0
  35. package/dist/cjs/global/global.js +6 -0
  36. package/dist/cjs/global/global.js.map +1 -1
  37. package/dist/esm/core/element/action/ChartPane.d.ts +4 -0
  38. package/dist/esm/core/element/action/ChartPane.js +4 -0
  39. package/dist/esm/core/element/action/ChartPane.js.map +1 -1
  40. package/dist/esm/core/element/base/CSSStyle.d.ts +2342 -2342
  41. package/dist/esm/core/element/base/CSSStyle.js +972 -968
  42. package/dist/esm/core/element/base/CSSStyle.js.map +1 -1
  43. package/dist/esm/core/element/base/Elements.d.ts +121 -121
  44. package/dist/esm/core/element/base/Elements.js +119 -120
  45. package/dist/esm/core/element/base/Elements.js.map +1 -1
  46. package/dist/esm/core/element/image/IconElement.d.ts +4 -5
  47. package/dist/esm/core/element/image/IconElement.js +4 -5
  48. package/dist/esm/core/element/image/IconElement.js.map +1 -1
  49. package/dist/esm/core/element/layers/CardElement.d.ts +2 -2
  50. package/dist/esm/core/element/layers/PaneElement.d.ts +2 -2
  51. package/dist/esm/core/element/text/TextFieldElement.js.map +1 -1
  52. package/dist/esm/core/ref/Ref.d.ts +33 -17
  53. package/dist/esm/core/ref/Ref.js +69 -41
  54. package/dist/esm/core/ref/Ref.js.map +1 -1
  55. package/dist/esm/core/ref/RefComponent.js +1 -1
  56. package/dist/esm/core/ref/RefProxyHandler.d.ts +1 -0
  57. package/dist/esm/core/ref/RefProxyHandler.js +106 -0
  58. package/dist/esm/core/ref/RefProxyHandler.js.map +1 -0
  59. package/dist/esm/core/ref/index.d.ts +1 -1
  60. package/dist/esm/core/ref/index.js +1 -1
  61. package/dist/esm/core/ref/index.js.map +1 -1
  62. package/dist/esm/core/router/Router.d.ts +9 -3
  63. package/dist/esm/core/router/Router.js +39 -17
  64. package/dist/esm/core/router/Router.js.map +1 -1
  65. package/dist/esm/core/router/RouterEvent.d.ts +36 -0
  66. package/dist/esm/core/router/RouterEvent.js +43 -0
  67. package/dist/esm/core/router/RouterEvent.js.map +1 -0
  68. package/dist/esm/core/router/RouterGuard.d.ts +5 -0
  69. package/dist/esm/core/router/RouterGuard.js +10 -0
  70. package/dist/esm/core/router/RouterGuard.js.map +1 -0
  71. package/dist/esm/global/global.js +6 -0
  72. package/dist/esm/global/global.js.map +1 -1
  73. package/package.json +1 -1
  74. package/dist/cjs/core/router/Router2.d.ts +0 -8
  75. package/dist/cjs/core/router/Router2.js +0 -150
  76. package/dist/cjs/core/router/Router2.js.map +0 -1
  77. package/dist/esm/core/router/Router2.d.ts +0 -8
  78. package/dist/esm/core/router/Router2.js +0 -147
  79. package/dist/esm/core/router/Router2.js.map +0 -1
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.H6Element = exports.H5Element = exports.H4Element = exports.H3Element = exports.H2Element = exports.H1Element = exports.FormElement = exports.FooterElement = exports.FieldSetElement = exports.EmbedElement = exports.DialogElement = exports.DefinitionElement = exports.DetailsElement = exports.DeletedTextElement = exports.DefinitionDescriptionElement = exports.DataListElement = exports.TableColGroupElement = exports.TableColElement = exports.CodeElement = exports.CiteElement = exports.CaptionElement = exports.CanvasElement = exports.VideoElement = exports.BodyElement = exports.BaseElement = exports.BoldElement = exports.AudioElement = exports.SelectElement = exports.LabelElement = exports.TextAreaElement = exports.ButtonElement = exports.InputElement = exports.TableCellElement = exports.TableRowElement = exports.TableElement = exports.BreakElement = exports.EmElement = exports.StrongElement = exports.SpanElement = exports.MainElement = exports.ListItemElement = exports.OrderedListElement = exports.UListElement = exports.ImageElement = exports.AreaElement = exports.AbbreviationElement = exports.AnchorElement = exports.ParagraphElement = exports.DivElement = exports.Component = void 0;
4
4
  exports.ILayout = exports.SummaryElement = exports.ArticleElement = exports.SectionElement = exports.NavElement = exports.SvgElement = exports.LegendElement = exports.IFrameElement = exports.HtmlElement = exports.HorizontalRuleElement = exports.HeaderElement = exports.HeadElement = void 0;
5
5
  const __1 = require("../..");
6
- const ref_1 = require("../../ref");
7
6
  const CSSStyle_1 = require("./CSSStyle");
8
7
  const Event_1 = require("./Event");
9
8
  // 1. `<div>` - Para criar blocos de conteúdo genéricos.
@@ -37,7 +36,7 @@ const Event_1 = require("./Event");
37
36
  // 29. `<footer>`, `<header>`, `<nav>`, `<main>`, `<section>`, `<article>` - Elementos semânticos de HTML5 para estruturação de página.
38
37
  // 30. `<details>` e `<summary>` - Elementos de HTML5 para criar conteúdo expansível.
39
38
  class Component extends HTMLElement {
40
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
39
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
41
40
  constructor(optional) {
42
41
  super();
43
42
  if (optional != undefined)
@@ -59,7 +58,7 @@ class Component extends HTMLElement {
59
58
  // @ts-ignore
60
59
  get style() {
61
60
  // @ts-ignore
62
- return this._styleRef;
61
+ return this._styleref;
63
62
  }
64
63
  static applyDate(data, element) {
65
64
  if (data != undefined) {
@@ -130,7 +129,7 @@ exports.Component = Component;
130
129
  // @ts-ignore
131
130
  customElements.define("component-element", Component);
132
131
  class DivElement extends HTMLDivElement {
133
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
132
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
134
133
  Test = "teste";
135
134
  constructor(optional) {
136
135
  super();
@@ -152,14 +151,14 @@ class DivElement extends HTMLDivElement {
152
151
  // @ts-ignore
153
152
  get style() {
154
153
  // @ts-ignore
155
- return this._styleRef;
154
+ return this._styleref;
156
155
  }
157
156
  }
158
157
  exports.DivElement = DivElement;
159
158
  // @ts-ignore
160
159
  customElements.define("base-div-element", DivElement, { extends: "div" });
161
160
  class ParagraphElement extends HTMLParagraphElement {
162
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
161
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
163
162
  constructor(optional) {
164
163
  super();
165
164
  Component.applyDate(optional, this);
@@ -171,14 +170,14 @@ class ParagraphElement extends HTMLParagraphElement {
171
170
  // @ts-ignore
172
171
  get style() {
173
172
  // @ts-ignore
174
- return this._styleRef;
173
+ return this._styleref;
175
174
  }
176
175
  }
177
176
  exports.ParagraphElement = ParagraphElement;
178
177
  // @ts-ignore
179
178
  customElements.define("base-p-element", ParagraphElement, { extends: "p" });
180
179
  class AnchorElement extends HTMLAnchorElement {
181
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
180
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
182
181
  _rlink = "";
183
182
  constructor(optional) {
184
183
  super();
@@ -203,7 +202,7 @@ class AnchorElement extends HTMLAnchorElement {
203
202
  // @ts-ignore
204
203
  get style() {
205
204
  // @ts-ignore
206
- return this._styleRef;
205
+ return this._styleref;
207
206
  }
208
207
  set rlink(link) {
209
208
  this.href = link;
@@ -217,7 +216,7 @@ exports.AnchorElement = AnchorElement;
217
216
  // @ts-ignore
218
217
  customElements.define("base-a-element", AnchorElement, { extends: "a" });
219
218
  class AbbreviationElement extends HTMLElement {
220
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
219
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
221
220
  constructor(optional) {
222
221
  super();
223
222
  Component.applyDate(optional, this);
@@ -229,7 +228,7 @@ class AbbreviationElement extends HTMLElement {
229
228
  // @ts-ignore
230
229
  get style() {
231
230
  // @ts-ignore
232
- return this._styleRef;
231
+ return this._styleref;
233
232
  }
234
233
  }
235
234
  exports.AbbreviationElement = AbbreviationElement;
@@ -239,7 +238,7 @@ customElements.define("base-abbr-element", AbbreviationElement, {
239
238
  });
240
239
  // area
241
240
  class AreaElement extends HTMLAreaElement {
242
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
241
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
243
242
  constructor(optional) {
244
243
  super();
245
244
  Component.applyDate(optional, this);
@@ -251,14 +250,14 @@ class AreaElement extends HTMLAreaElement {
251
250
  // @ts-ignore
252
251
  get style() {
253
252
  // @ts-ignore
254
- return this._styleRef;
253
+ return this._styleref;
255
254
  }
256
255
  }
257
256
  exports.AreaElement = AreaElement;
258
257
  // @ts-ignore
259
258
  customElements.define("base-area-element", AreaElement, { extends: "area" });
260
259
  class ImageElement extends HTMLImageElement {
261
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
260
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
262
261
  constructor(optional) {
263
262
  super();
264
263
  this.className = "image-element";
@@ -273,14 +272,14 @@ class ImageElement extends HTMLImageElement {
273
272
  // @ts-ignore
274
273
  get style() {
275
274
  // @ts-ignore
276
- return this._styleRef;
275
+ return this._styleref;
277
276
  }
278
277
  }
279
278
  exports.ImageElement = ImageElement;
280
279
  // @ts-ignore
281
280
  customElements.define("base-img-element", ImageElement, { extends: "img" });
282
281
  class UListElement extends HTMLUListElement {
283
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
282
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
284
283
  constructor(optional) {
285
284
  super();
286
285
  Component.applyDate(optional, this);
@@ -292,14 +291,14 @@ class UListElement extends HTMLUListElement {
292
291
  // @ts-ignore
293
292
  get style() {
294
293
  // @ts-ignore
295
- return this._styleRef;
294
+ return this._styleref;
296
295
  }
297
296
  }
298
297
  exports.UListElement = UListElement;
299
298
  // @ts-ignore
300
299
  customElements.define("base-ul-element", UListElement, { extends: "ul" });
301
300
  class OrderedListElement extends HTMLOListElement {
302
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
301
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
303
302
  constructor(optional) {
304
303
  super();
305
304
  Component.applyDate(optional, this);
@@ -311,14 +310,14 @@ class OrderedListElement extends HTMLOListElement {
311
310
  // @ts-ignore
312
311
  get style() {
313
312
  // @ts-ignore
314
- return this._styleRef;
313
+ return this._styleref;
315
314
  }
316
315
  }
317
316
  exports.OrderedListElement = OrderedListElement;
318
317
  // @ts-ignore
319
318
  customElements.define("base-ol-element", OrderedListElement, { extends: "ol" });
320
319
  class ListItemElement extends HTMLLIElement {
321
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
320
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
322
321
  constructor(optional) {
323
322
  super();
324
323
  Component.applyDate(optional, this);
@@ -330,14 +329,14 @@ class ListItemElement extends HTMLLIElement {
330
329
  // @ts-ignore
331
330
  get style() {
332
331
  // @ts-ignore
333
- return this._styleRef;
332
+ return this._styleref;
334
333
  }
335
334
  }
336
335
  exports.ListItemElement = ListItemElement;
337
336
  // @ts-ignore
338
337
  customElements.define("base-li-element", ListItemElement, { extends: "li" });
339
338
  class MainElement extends HTMLElement {
340
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
339
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
341
340
  constructor(optional) {
342
341
  super();
343
342
  Component.applyDate(optional, this);
@@ -349,18 +348,18 @@ class MainElement extends HTMLElement {
349
348
  // @ts-ignore
350
349
  get style() {
351
350
  // @ts-ignore
352
- return this._styleRef;
351
+ return this._styleref;
353
352
  }
354
353
  }
355
354
  exports.MainElement = MainElement;
356
355
  // @ts-ignore
357
356
  customElements.define("base-main-element", MainElement, { extends: "main" });
358
357
  // export interface DataHeadingElement extends StyleOptional {
359
- // text?: string | Ref<string>;
358
+ // text?: string | ref<string>;
360
359
  // for?: string;
361
360
  // }
362
361
  class SpanElement extends HTMLSpanElement {
363
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
362
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
364
363
  constructor(optional) {
365
364
  super();
366
365
  Component.applyDate(optional, this);
@@ -372,14 +371,14 @@ class SpanElement extends HTMLSpanElement {
372
371
  // @ts-ignore
373
372
  get style() {
374
373
  // @ts-ignore
375
- return this._styleRef;
374
+ return this._styleref;
376
375
  }
377
376
  }
378
377
  exports.SpanElement = SpanElement;
379
378
  // @ts-ignore
380
379
  customElements.define("base-span-element", SpanElement, { extends: "span" });
381
380
  class StrongElement extends HTMLSpanElement {
382
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
381
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
383
382
  constructor(optional) {
384
383
  super();
385
384
  Component.applyDate(optional, this);
@@ -391,7 +390,7 @@ class StrongElement extends HTMLSpanElement {
391
390
  // @ts-ignore
392
391
  get style() {
393
392
  // @ts-ignore
394
- return this._styleRef;
393
+ return this._styleref;
395
394
  }
396
395
  }
397
396
  exports.StrongElement = StrongElement;
@@ -400,7 +399,7 @@ customElements.define("base-strong-element", StrongElement, {
400
399
  extends: "strong",
401
400
  });
402
401
  class EmElement extends HTMLEmbedElement {
403
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
402
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
404
403
  constructor(optional) {
405
404
  super();
406
405
  Component.applyDate(optional, this);
@@ -412,14 +411,14 @@ class EmElement extends HTMLEmbedElement {
412
411
  // @ts-ignore
413
412
  get style() {
414
413
  // @ts-ignore
415
- return this._styleRef;
414
+ return this._styleref;
416
415
  }
417
416
  }
418
417
  exports.EmElement = EmElement;
419
418
  // @ts-ignore
420
419
  customElements.define("base-em-element", EmElement, { extends: "em" });
421
420
  class BreakElement extends HTMLBRElement {
422
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
421
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
423
422
  constructor(optional) {
424
423
  super();
425
424
  Component.applyDate(optional, this);
@@ -431,14 +430,14 @@ class BreakElement extends HTMLBRElement {
431
430
  // @ts-ignore
432
431
  get style() {
433
432
  // @ts-ignore
434
- return this._styleRef;
433
+ return this._styleref;
435
434
  }
436
435
  }
437
436
  exports.BreakElement = BreakElement;
438
437
  // @ts-ignore
439
438
  customElements.define("base-br-element", BreakElement, { extends: "br" });
440
439
  class TableElement extends HTMLTableElement {
441
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
440
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
442
441
  constructor(optional) {
443
442
  super();
444
443
  Component.applyDate(optional, this);
@@ -455,14 +454,14 @@ class TableElement extends HTMLTableElement {
455
454
  // @ts-ignore
456
455
  get style() {
457
456
  // @ts-ignore
458
- return this._styleRef;
457
+ return this._styleref;
459
458
  }
460
459
  }
461
460
  exports.TableElement = TableElement;
462
461
  // @ts-ignore
463
462
  customElements.define("base-table-element", TableElement, { extends: "table" });
464
463
  class TableRowElement extends HTMLTableRowElement {
465
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
464
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
466
465
  constructor(optional) {
467
466
  super();
468
467
  Component.applyDate(optional, this);
@@ -474,7 +473,7 @@ class TableRowElement extends HTMLTableRowElement {
474
473
  // @ts-ignore
475
474
  get style() {
476
475
  // @ts-ignore
477
- return this._styleRef;
476
+ return this._styleref;
478
477
  }
479
478
  addCell(...cells) {
480
479
  cells.forEach((cell) => {
@@ -486,7 +485,7 @@ exports.TableRowElement = TableRowElement;
486
485
  // @ts-ignore
487
486
  customElements.define("base-tr-element", TableRowElement, { extends: "tr" });
488
487
  class TableCellElement extends HTMLTableCellElement {
489
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
488
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
490
489
  constructor(optional) {
491
490
  super();
492
491
  Component.applyDate(optional, this);
@@ -501,14 +500,14 @@ class TableCellElement extends HTMLTableCellElement {
501
500
  // @ts-ignore
502
501
  get style() {
503
502
  // @ts-ignore
504
- return this._styleRef;
503
+ return this._styleref;
505
504
  }
506
505
  }
507
506
  exports.TableCellElement = TableCellElement;
508
507
  // @ts-ignore
509
508
  customElements.define("base-td-element", TableCellElement, { extends: "td" });
510
509
  class InputElement extends HTMLInputElement {
511
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
510
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
512
511
  constructor(optional) {
513
512
  super();
514
513
  Component.applyDate(optional, this);
@@ -520,14 +519,14 @@ class InputElement extends HTMLInputElement {
520
519
  // @ts-ignore
521
520
  get style() {
522
521
  // @ts-ignore
523
- return this._styleRef;
522
+ return this._styleref;
524
523
  }
525
524
  }
526
525
  exports.InputElement = InputElement;
527
526
  // @ts-ignore
528
527
  customElements.define("base-input-element", InputElement, { extends: "input" });
529
528
  class ButtonElement extends HTMLButtonElement {
530
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
529
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
531
530
  constructor(optional) {
532
531
  super();
533
532
  Component.applyDate(optional, this);
@@ -539,11 +538,11 @@ class ButtonElement extends HTMLButtonElement {
539
538
  // @ts-ignore
540
539
  get style() {
541
540
  // @ts-ignore
542
- return this._styleRef;
541
+ return this._styleref;
543
542
  }
544
543
  // @ts-ignore
545
544
  set innerHTML(value) {
546
- if (value instanceof ref_1.Ref) {
545
+ if (typeof value !== "string") {
547
546
  value.subscriber(this, "innerHTML");
548
547
  super.innerHTML = value.toString();
549
548
  }
@@ -557,7 +556,7 @@ customElements.define("base-button-element", ButtonElement, {
557
556
  extends: "button",
558
557
  });
559
558
  class TextAreaElement extends HTMLTextAreaElement {
560
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
559
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
561
560
  constructor(optional) {
562
561
  super();
563
562
  Component.applyDate(optional, this);
@@ -569,7 +568,7 @@ class TextAreaElement extends HTMLTextAreaElement {
569
568
  // @ts-ignore
570
569
  get style() {
571
570
  // @ts-ignore
572
- return this._styleRef;
571
+ return this._styleref;
573
572
  }
574
573
  }
575
574
  exports.TextAreaElement = TextAreaElement;
@@ -578,7 +577,7 @@ customElements.define("base-textarea-element", TextAreaElement, {
578
577
  extends: "textarea",
579
578
  });
580
579
  class LabelElement extends HTMLLabelElement {
581
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
580
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
582
581
  constructor(optional) {
583
582
  super();
584
583
  Component.applyDate(optional, this);
@@ -590,14 +589,14 @@ class LabelElement extends HTMLLabelElement {
590
589
  // @ts-ignore
591
590
  get style() {
592
591
  // @ts-ignore
593
- return this._styleRef;
592
+ return this._styleref;
594
593
  }
595
594
  }
596
595
  exports.LabelElement = LabelElement;
597
596
  // @ts-ignore
598
597
  customElements.define("base-label-element", LabelElement, { extends: "label" });
599
598
  class SelectElement extends HTMLSelectElement {
600
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
599
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
601
600
  constructor(optional) {
602
601
  super();
603
602
  Component.applyDate(optional, this);
@@ -609,7 +608,7 @@ class SelectElement extends HTMLSelectElement {
609
608
  // @ts-ignore
610
609
  get style() {
611
610
  // @ts-ignore
612
- return this._styleRef;
611
+ return this._styleref;
613
612
  }
614
613
  }
615
614
  exports.SelectElement = SelectElement;
@@ -618,7 +617,7 @@ customElements.define("base-select-element", SelectElement, {
618
617
  extends: "select",
619
618
  });
620
619
  class AudioElement extends HTMLAudioElement {
621
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
620
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
622
621
  constructor(optional) {
623
622
  super();
624
623
  Component.applyDate(optional, this);
@@ -630,14 +629,14 @@ class AudioElement extends HTMLAudioElement {
630
629
  // @ts-ignore
631
630
  get style() {
632
631
  // @ts-ignore
633
- return this._styleRef;
632
+ return this._styleref;
634
633
  }
635
634
  }
636
635
  exports.AudioElement = AudioElement;
637
636
  // @ts-ignore
638
637
  customElements.define("base-audio-element", AudioElement, { extends: "audio" });
639
638
  class BoldElement extends HTMLElement {
640
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
639
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
641
640
  constructor(optional) {
642
641
  super();
643
642
  Component.applyDate(optional, this);
@@ -649,7 +648,7 @@ class BoldElement extends HTMLElement {
649
648
  // @ts-ignore
650
649
  get style() {
651
650
  // @ts-ignore
652
- return this._styleRef;
651
+ return this._styleref;
653
652
  }
654
653
  }
655
654
  exports.BoldElement = BoldElement;
@@ -657,7 +656,7 @@ exports.BoldElement = BoldElement;
657
656
  customElements.define("base-b-element", BoldElement, { extends: "b" });
658
657
  // <base>
659
658
  class BaseElement extends HTMLElement {
660
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
659
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
661
660
  constructor(optional) {
662
661
  super();
663
662
  Component.applyDate(optional, this);
@@ -669,7 +668,7 @@ class BaseElement extends HTMLElement {
669
668
  // @ts-ignore
670
669
  get style() {
671
670
  // @ts-ignore
672
- return this._styleRef;
671
+ return this._styleref;
673
672
  }
674
673
  }
675
674
  exports.BaseElement = BaseElement;
@@ -677,7 +676,7 @@ exports.BaseElement = BaseElement;
677
676
  customElements.define("base-base-element", BaseElement, { extends: "base" });
678
677
  // <body>
679
678
  class BodyElement extends HTMLBodyElement {
680
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
679
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
681
680
  constructor(optional) {
682
681
  super();
683
682
  Component.applyDate(optional, this);
@@ -689,7 +688,7 @@ class BodyElement extends HTMLBodyElement {
689
688
  // @ts-ignore
690
689
  get style() {
691
690
  // @ts-ignore
692
- return this._styleRef;
691
+ return this._styleref;
693
692
  }
694
693
  }
695
694
  exports.BodyElement = BodyElement;
@@ -697,7 +696,7 @@ exports.BodyElement = BodyElement;
697
696
  customElements.define("base-body-element", BodyElement, { extends: "body" });
698
697
  // <video>
699
698
  class VideoElement extends HTMLVideoElement {
700
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
699
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
701
700
  constructor(optional) {
702
701
  super();
703
702
  Component.applyDate(optional, this);
@@ -709,14 +708,14 @@ class VideoElement extends HTMLVideoElement {
709
708
  // @ts-ignore
710
709
  get style() {
711
710
  // @ts-ignore
712
- return this._styleRef;
711
+ return this._styleref;
713
712
  }
714
713
  }
715
714
  exports.VideoElement = VideoElement;
716
715
  // @ts-ignore
717
716
  customElements.define("base-video-element", VideoElement, { extends: "video" });
718
717
  class CanvasElement extends HTMLCanvasElement {
719
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
718
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
720
719
  constructor(optional) {
721
720
  super();
722
721
  if (optional?.width)
@@ -732,7 +731,7 @@ class CanvasElement extends HTMLCanvasElement {
732
731
  // @ts-ignore
733
732
  get style() {
734
733
  // @ts-ignore
735
- return this._styleRef;
734
+ return this._styleref;
736
735
  }
737
736
  }
738
737
  exports.CanvasElement = CanvasElement;
@@ -742,7 +741,7 @@ customElements.define("base-canvas-element", CanvasElement, {
742
741
  });
743
742
  // <caption>
744
743
  class CaptionElement extends HTMLTableCaptionElement {
745
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
744
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
746
745
  constructor(optional) {
747
746
  super();
748
747
  Component.applyDate(optional, this);
@@ -754,7 +753,7 @@ class CaptionElement extends HTMLTableCaptionElement {
754
753
  // @ts-ignore
755
754
  get style() {
756
755
  // @ts-ignore
757
- return this._styleRef;
756
+ return this._styleref;
758
757
  }
759
758
  }
760
759
  exports.CaptionElement = CaptionElement;
@@ -764,7 +763,7 @@ customElements.define("base-caption-element", CaptionElement, {
764
763
  });
765
764
  // <cite>
766
765
  class CiteElement extends HTMLElement {
767
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
766
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
768
767
  constructor(optional) {
769
768
  super();
770
769
  Component.applyDate(optional, this);
@@ -776,7 +775,7 @@ class CiteElement extends HTMLElement {
776
775
  // @ts-ignore
777
776
  get style() {
778
777
  // @ts-ignore
779
- return this._styleRef;
778
+ return this._styleref;
780
779
  }
781
780
  }
782
781
  exports.CiteElement = CiteElement;
@@ -784,7 +783,7 @@ exports.CiteElement = CiteElement;
784
783
  customElements.define("base-cite-element", CiteElement, { extends: "cite" });
785
784
  // <code>
786
785
  class CodeElement extends HTMLElement {
787
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
786
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
788
787
  constructor(optional) {
789
788
  super();
790
789
  Component.applyDate(optional, this);
@@ -796,7 +795,7 @@ class CodeElement extends HTMLElement {
796
795
  // @ts-ignore
797
796
  get style() {
798
797
  // @ts-ignore
799
- return this._styleRef;
798
+ return this._styleref;
800
799
  }
801
800
  }
802
801
  exports.CodeElement = CodeElement;
@@ -804,7 +803,7 @@ exports.CodeElement = CodeElement;
804
803
  customElements.define("base-code-element", CodeElement, { extends: "code" });
805
804
  // <col>
806
805
  class TableColElement extends HTMLTableColElement {
807
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
806
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
808
807
  constructor(optional) {
809
808
  super();
810
809
  if (optional?.span)
@@ -818,7 +817,7 @@ class TableColElement extends HTMLTableColElement {
818
817
  // @ts-ignore
819
818
  get style() {
820
819
  // @ts-ignore
821
- return this._styleRef;
820
+ return this._styleref;
822
821
  }
823
822
  }
824
823
  exports.TableColElement = TableColElement;
@@ -826,7 +825,7 @@ exports.TableColElement = TableColElement;
826
825
  customElements.define("base-col-element", TableColElement, { extends: "col" });
827
826
  // <colgroup>
828
827
  class TableColGroupElement extends HTMLTableColElement {
829
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
828
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
830
829
  constructor(optional) {
831
830
  super();
832
831
  if (optional?.span)
@@ -840,7 +839,7 @@ class TableColGroupElement extends HTMLTableColElement {
840
839
  // @ts-ignore
841
840
  get style() {
842
841
  // @ts-ignore
843
- return this._styleRef;
842
+ return this._styleref;
844
843
  }
845
844
  }
846
845
  exports.TableColGroupElement = TableColGroupElement;
@@ -850,7 +849,7 @@ customElements.define("base-colgroup-element", TableColGroupElement, {
850
849
  });
851
850
  // <datalist>
852
851
  class DataListElement extends HTMLDataListElement {
853
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
852
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
854
853
  constructor(optional) {
855
854
  super();
856
855
  Component.applyDate(optional, this);
@@ -862,7 +861,7 @@ class DataListElement extends HTMLDataListElement {
862
861
  // @ts-ignore
863
862
  get style() {
864
863
  // @ts-ignore
865
- return this._styleRef;
864
+ return this._styleref;
866
865
  }
867
866
  }
868
867
  exports.DataListElement = DataListElement;
@@ -872,7 +871,7 @@ customElements.define("base-datalist-element", DataListElement, {
872
871
  });
873
872
  // <dd>
874
873
  class DefinitionDescriptionElement extends HTMLElement {
875
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
874
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
876
875
  constructor(optional) {
877
876
  super();
878
877
  Component.applyDate(optional, this);
@@ -884,7 +883,7 @@ class DefinitionDescriptionElement extends HTMLElement {
884
883
  // @ts-ignore
885
884
  get style() {
886
885
  // @ts-ignore
887
- return this._styleRef;
886
+ return this._styleref;
888
887
  }
889
888
  }
890
889
  exports.DefinitionDescriptionElement = DefinitionDescriptionElement;
@@ -894,7 +893,7 @@ customElements.define("base-dd-element", DefinitionDescriptionElement, {
894
893
  });
895
894
  // <del>
896
895
  class DeletedTextElement extends HTMLModElement {
897
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
896
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
898
897
  constructor(optional) {
899
898
  super();
900
899
  if (optional?.cite)
@@ -908,7 +907,7 @@ class DeletedTextElement extends HTMLModElement {
908
907
  // @ts-ignore
909
908
  get style() {
910
909
  // @ts-ignore
911
- return this._styleRef;
910
+ return this._styleref;
912
911
  }
913
912
  }
914
913
  exports.DeletedTextElement = DeletedTextElement;
@@ -918,7 +917,7 @@ customElements.define("base-del-element", DeletedTextElement, {
918
917
  });
919
918
  // <details>
920
919
  class DetailsElement extends HTMLDetailsElement {
921
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
920
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
922
921
  constructor(optional) {
923
922
  super();
924
923
  Component.applyDate(optional, this);
@@ -940,7 +939,7 @@ class DetailsElement extends HTMLDetailsElement {
940
939
  // @ts-ignore
941
940
  get style() {
942
941
  // @ts-ignore
943
- return this._styleRef;
942
+ return this._styleref;
944
943
  }
945
944
  setSummary(summary) {
946
945
  this.querySelector("summary")?.remove();
@@ -954,7 +953,7 @@ customElements.define("base-details-element", DetailsElement, {
954
953
  });
955
954
  // <dfn>
956
955
  class DefinitionElement extends HTMLElement {
957
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
956
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
958
957
  constructor(optional) {
959
958
  super();
960
959
  Component.applyDate(optional, this);
@@ -966,7 +965,7 @@ class DefinitionElement extends HTMLElement {
966
965
  // @ts-ignore
967
966
  get style() {
968
967
  // @ts-ignore
969
- return this._styleRef;
968
+ return this._styleref;
970
969
  }
971
970
  }
972
971
  exports.DefinitionElement = DefinitionElement;
@@ -976,7 +975,7 @@ customElements.define("base-dfn-element", DefinitionElement, {
976
975
  });
977
976
  // <dialog>
978
977
  class DialogElement extends HTMLDialogElement {
979
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
978
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
980
979
  constructor(optional) {
981
980
  super();
982
981
  Component.applyDate(optional, this);
@@ -989,7 +988,7 @@ class DialogElement extends HTMLDialogElement {
989
988
  // @ts-ignore
990
989
  get style() {
991
990
  // @ts-ignore
992
- return this._styleRef;
991
+ return this._styleref;
993
992
  }
994
993
  }
995
994
  exports.DialogElement = DialogElement;
@@ -999,7 +998,7 @@ customElements.define("base-dialog-element", DialogElement, {
999
998
  });
1000
999
  // <embed>
1001
1000
  class EmbedElement extends HTMLEmbedElement {
1002
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1001
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1003
1002
  constructor(optional) {
1004
1003
  super();
1005
1004
  if (optional?.height)
@@ -1019,7 +1018,7 @@ class EmbedElement extends HTMLEmbedElement {
1019
1018
  // @ts-ignore
1020
1019
  get style() {
1021
1020
  // @ts-ignore
1022
- return this._styleRef;
1021
+ return this._styleref;
1023
1022
  }
1024
1023
  }
1025
1024
  exports.EmbedElement = EmbedElement;
@@ -1027,7 +1026,7 @@ exports.EmbedElement = EmbedElement;
1027
1026
  customElements.define("base-embed-element", EmbedElement, { extends: "embed" });
1028
1027
  // <fieldset>
1029
1028
  class FieldSetElement extends HTMLFieldSetElement {
1030
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1029
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1031
1030
  constructor(optional) {
1032
1031
  super();
1033
1032
  Component.applyDate(optional, this);
@@ -1051,7 +1050,7 @@ class FieldSetElement extends HTMLFieldSetElement {
1051
1050
  // @ts-ignore
1052
1051
  get style() {
1053
1052
  // @ts-ignore
1054
- return this._styleRef;
1053
+ return this._styleref;
1055
1054
  }
1056
1055
  setLegend(legend) {
1057
1056
  this.querySelector("legend")?.remove();
@@ -1065,7 +1064,7 @@ customElements.define("base-fieldset-element", FieldSetElement, {
1065
1064
  });
1066
1065
  // <footer>
1067
1066
  class FooterElement extends HTMLElement {
1068
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1067
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1069
1068
  constructor(optional) {
1070
1069
  super();
1071
1070
  Component.applyDate(optional, this);
@@ -1077,7 +1076,7 @@ class FooterElement extends HTMLElement {
1077
1076
  // @ts-ignore
1078
1077
  get style() {
1079
1078
  // @ts-ignore
1080
- return this._styleRef;
1079
+ return this._styleref;
1081
1080
  }
1082
1081
  }
1083
1082
  exports.FooterElement = FooterElement;
@@ -1086,7 +1085,7 @@ customElements.define("base-footer-element", FooterElement, {
1086
1085
  extends: "footer",
1087
1086
  });
1088
1087
  class FormElement extends HTMLFormElement {
1089
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1088
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1090
1089
  constructor(optional) {
1091
1090
  super();
1092
1091
  Component.applyDate(optional, this);
@@ -1098,14 +1097,14 @@ class FormElement extends HTMLFormElement {
1098
1097
  // @ts-ignore
1099
1098
  get style() {
1100
1099
  // @ts-ignore
1101
- return this._styleRef;
1100
+ return this._styleref;
1102
1101
  }
1103
1102
  }
1104
1103
  exports.FormElement = FormElement;
1105
1104
  // @ts-ignore
1106
1105
  customElements.define("base-form-element", FormElement, { extends: "form" });
1107
1106
  class H1Element extends HTMLHeadingElement {
1108
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1107
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1109
1108
  constructor(optional) {
1110
1109
  super();
1111
1110
  Component.applyDate(optional, this);
@@ -1119,14 +1118,14 @@ class H1Element extends HTMLHeadingElement {
1119
1118
  // @ts-ignore
1120
1119
  get style() {
1121
1120
  // @ts-ignore
1122
- return this._styleRef;
1121
+ return this._styleref;
1123
1122
  }
1124
1123
  }
1125
1124
  exports.H1Element = H1Element;
1126
1125
  // @ts-ignore
1127
1126
  customElements.define("base-h1-element", H1Element, { extends: "h1" });
1128
1127
  class H2Element extends HTMLHeadingElement {
1129
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1128
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1130
1129
  constructor(optional) {
1131
1130
  super();
1132
1131
  Component.applyDate(optional, this);
@@ -1140,14 +1139,14 @@ class H2Element extends HTMLHeadingElement {
1140
1139
  // @ts-ignore
1141
1140
  get style() {
1142
1141
  // @ts-ignore
1143
- return this._styleRef;
1142
+ return this._styleref;
1144
1143
  }
1145
1144
  }
1146
1145
  exports.H2Element = H2Element;
1147
1146
  // @ts-ignore
1148
1147
  customElements.define("base-h2-element", H2Element, { extends: "h2" });
1149
1148
  class H3Element extends HTMLHeadingElement {
1150
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1149
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1151
1150
  constructor(optional) {
1152
1151
  super();
1153
1152
  Component.applyDate(optional, this);
@@ -1158,8 +1157,8 @@ class H3Element extends HTMLHeadingElement {
1158
1157
  return this.innerText;
1159
1158
  }
1160
1159
  set text(value) {
1161
- if (value instanceof ref_1.Ref)
1162
- this["_styleRef"].appendStyleRef("text", this, value);
1160
+ if (typeof value !== "string")
1161
+ this["_styleref"].appendStyleref("text", this, value);
1163
1162
  else
1164
1163
  this.innerText = value;
1165
1164
  }
@@ -1170,7 +1169,7 @@ class H3Element extends HTMLHeadingElement {
1170
1169
  // @ts-ignore
1171
1170
  get style() {
1172
1171
  // @ts-ignore
1173
- return this._styleRef;
1172
+ return this._styleref;
1174
1173
  }
1175
1174
  }
1176
1175
  exports.H3Element = H3Element;
@@ -1223,7 +1222,7 @@ exports.H6Element = H6Element;
1223
1222
  customElements.define("base-h6-element", H6Element, { extends: "h6" });
1224
1223
  // <head>
1225
1224
  class HeadElement extends HTMLHeadElement {
1226
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1225
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1227
1226
  constructor(optional) {
1228
1227
  super();
1229
1228
  Component.applyDate(optional, this);
@@ -1235,7 +1234,7 @@ class HeadElement extends HTMLHeadElement {
1235
1234
  // @ts-ignore
1236
1235
  get style() {
1237
1236
  // @ts-ignore
1238
- return this._styleRef;
1237
+ return this._styleref;
1239
1238
  }
1240
1239
  }
1241
1240
  exports.HeadElement = HeadElement;
@@ -1243,7 +1242,7 @@ exports.HeadElement = HeadElement;
1243
1242
  customElements.define("base-head-element", HeadElement, { extends: "head" });
1244
1243
  // <header>
1245
1244
  class HeaderElement extends HTMLElement {
1246
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1245
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1247
1246
  constructor(optional) {
1248
1247
  super();
1249
1248
  Component.applyDate(optional, this);
@@ -1255,7 +1254,7 @@ class HeaderElement extends HTMLElement {
1255
1254
  // @ts-ignore
1256
1255
  get style() {
1257
1256
  // @ts-ignore
1258
- return this._styleRef;
1257
+ return this._styleref;
1259
1258
  }
1260
1259
  }
1261
1260
  exports.HeaderElement = HeaderElement;
@@ -1265,7 +1264,7 @@ customElements.define("base-header-element", HeaderElement, {
1265
1264
  });
1266
1265
  // <hr>
1267
1266
  class HorizontalRuleElement extends HTMLHRElement {
1268
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1267
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1269
1268
  constructor(optional) {
1270
1269
  super();
1271
1270
  Component.applyDate(optional, this);
@@ -1277,7 +1276,7 @@ class HorizontalRuleElement extends HTMLHRElement {
1277
1276
  // @ts-ignore
1278
1277
  get style() {
1279
1278
  // @ts-ignore
1280
- return this._styleRef;
1279
+ return this._styleref;
1281
1280
  }
1282
1281
  }
1283
1282
  exports.HorizontalRuleElement = HorizontalRuleElement;
@@ -1287,7 +1286,7 @@ customElements.define("base-hr-element", HorizontalRuleElement, {
1287
1286
  });
1288
1287
  // <html>
1289
1288
  class HtmlElement extends HTMLHtmlElement {
1290
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1289
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1291
1290
  constructor(optional) {
1292
1291
  super();
1293
1292
  if (optional?.manifest)
@@ -1307,7 +1306,7 @@ class HtmlElement extends HTMLHtmlElement {
1307
1306
  // @ts-ignore
1308
1307
  get style() {
1309
1308
  // @ts-ignore
1310
- return this._styleRef;
1309
+ return this._styleref;
1311
1310
  }
1312
1311
  }
1313
1312
  exports.HtmlElement = HtmlElement;
@@ -1315,7 +1314,7 @@ exports.HtmlElement = HtmlElement;
1315
1314
  customElements.define("base-html-element", HtmlElement, { extends: "html" });
1316
1315
  // <iframe>
1317
1316
  class IFrameElement extends HTMLIFrameElement {
1318
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1317
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1319
1318
  constructor(optional) {
1320
1319
  super();
1321
1320
  if (optional?.allow)
@@ -1402,7 +1401,7 @@ class IFrameElement extends HTMLIFrameElement {
1402
1401
  // @ts-ignore
1403
1402
  get style() {
1404
1403
  // @ts-ignore
1405
- return this._styleRef;
1404
+ return this._styleref;
1406
1405
  }
1407
1406
  }
1408
1407
  exports.IFrameElement = IFrameElement;
@@ -1412,7 +1411,7 @@ customElements.define("base-iframe-element", IFrameElement, {
1412
1411
  });
1413
1412
  // <legend>
1414
1413
  class LegendElement extends HTMLLegendElement {
1415
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1414
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1416
1415
  constructor(optional) {
1417
1416
  super();
1418
1417
  Component.applyDate(optional, this);
@@ -1426,7 +1425,7 @@ class LegendElement extends HTMLLegendElement {
1426
1425
  // @ts-ignore
1427
1426
  get style() {
1428
1427
  // @ts-ignore
1429
- return this._styleRef;
1428
+ return this._styleref;
1430
1429
  }
1431
1430
  }
1432
1431
  exports.LegendElement = LegendElement;
@@ -1441,7 +1440,7 @@ class SvgElement extends SVGElement {
1441
1440
  }
1442
1441
  exports.SvgElement = SvgElement;
1443
1442
  class NavElement extends HTMLElement {
1444
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1443
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1445
1444
  constructor(optional) {
1446
1445
  super();
1447
1446
  Component.applyDate(optional, this);
@@ -1453,14 +1452,14 @@ class NavElement extends HTMLElement {
1453
1452
  // @ts-ignore
1454
1453
  get style() {
1455
1454
  // @ts-ignore
1456
- return this._styleRef;
1455
+ return this._styleref;
1457
1456
  }
1458
1457
  }
1459
1458
  exports.NavElement = NavElement;
1460
1459
  // @ts-ignore
1461
1460
  customElements.define("base-nav-element", NavElement, { extends: "nav" });
1462
1461
  class SectionElement extends HTMLElement {
1463
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1462
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1464
1463
  constructor(optional) {
1465
1464
  super();
1466
1465
  Component.applyDate(optional, this);
@@ -1472,7 +1471,7 @@ class SectionElement extends HTMLElement {
1472
1471
  // @ts-ignore
1473
1472
  get style() {
1474
1473
  // @ts-ignore
1475
- return this._styleRef;
1474
+ return this._styleref;
1476
1475
  }
1477
1476
  }
1478
1477
  exports.SectionElement = SectionElement;
@@ -1481,7 +1480,7 @@ customElements.define("base-section-element", SectionElement, {
1481
1480
  extends: "section",
1482
1481
  });
1483
1482
  class ArticleElement extends HTMLElement {
1484
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1483
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1485
1484
  constructor(optional) {
1486
1485
  super();
1487
1486
  Component.applyDate(optional, this);
@@ -1493,7 +1492,7 @@ class ArticleElement extends HTMLElement {
1493
1492
  // @ts-ignore
1494
1493
  get style() {
1495
1494
  // @ts-ignore
1496
- return this._styleRef;
1495
+ return this._styleref;
1497
1496
  }
1498
1497
  }
1499
1498
  exports.ArticleElement = ArticleElement;
@@ -1502,7 +1501,7 @@ customElements.define("base-article-element", ArticleElement, {
1502
1501
  extends: "article",
1503
1502
  });
1504
1503
  class SummaryElement extends HTMLElement {
1505
- _styleRef = new CSSStyle_1.CSSStyleRef(super.style);
1504
+ _styleref = new CSSStyle_1.CSSStyleref(super.style);
1506
1505
  constructor(optional) {
1507
1506
  super();
1508
1507
  Component.applyDate(optional, this);
@@ -1514,7 +1513,7 @@ class SummaryElement extends HTMLElement {
1514
1513
  // @ts-ignore
1515
1514
  get style() {
1516
1515
  // @ts-ignore
1517
- return this._styleRef;
1516
+ return this._styleref;
1518
1517
  }
1519
1518
  }
1520
1519
  exports.SummaryElement = SummaryElement;