vsn 0.1.75 → 0.1.78

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 (65) hide show
  1. package/demo/vsn.js +3 -2
  2. package/dist/AST/ClassNode.d.ts +2 -2
  3. package/dist/AST/ClassNode.js +23 -18
  4. package/dist/AST/ClassNode.js.map +1 -1
  5. package/dist/Attribute.d.ts +5 -2
  6. package/dist/Attribute.js +39 -8
  7. package/dist/Attribute.js.map +1 -1
  8. package/dist/Component.d.ts +4 -0
  9. package/dist/Component.js +42 -0
  10. package/dist/Component.js.map +1 -0
  11. package/dist/DOM/DOMObject.d.ts +3 -0
  12. package/dist/DOM/DOMObject.js +14 -0
  13. package/dist/DOM/DOMObject.js.map +1 -1
  14. package/dist/DOM.d.ts +2 -0
  15. package/dist/DOM.js +36 -28
  16. package/dist/DOM.js.map +1 -1
  17. package/dist/Registry.d.ts +4 -2
  18. package/dist/Registry.js +6 -0
  19. package/dist/Registry.js.map +1 -1
  20. package/dist/Tag.d.ts +4 -2
  21. package/dist/Tag.js +163 -99
  22. package/dist/Tag.js.map +1 -1
  23. package/dist/attributes/ComponentAttribute.d.ts +5 -0
  24. package/dist/attributes/ComponentAttribute.js +105 -0
  25. package/dist/attributes/ComponentAttribute.js.map +1 -0
  26. package/dist/attributes/ListItem.d.ts +0 -1
  27. package/dist/attributes/ListItem.js +0 -7
  28. package/dist/attributes/ListItem.js.map +1 -1
  29. package/dist/attributes/RootAttribute.js.map +1 -1
  30. package/dist/attributes/TemplateAttribute.d.ts +5 -0
  31. package/dist/attributes/TemplateAttribute.js +89 -0
  32. package/dist/attributes/TemplateAttribute.js.map +1 -0
  33. package/dist/attributes/_imports.d.ts +2 -1
  34. package/dist/attributes/_imports.js +5 -3
  35. package/dist/attributes/_imports.js.map +1 -1
  36. package/dist/custom-elements.d.ts +9 -0
  37. package/dist/custom-elements.js +44 -0
  38. package/dist/custom-elements.js.map +1 -0
  39. package/dist/version.d.ts +1 -1
  40. package/dist/version.js +1 -1
  41. package/dist/vsn.d.ts +2 -0
  42. package/dist/vsn.js +5 -0
  43. package/dist/vsn.js.map +1 -1
  44. package/dist/vsn.min.js +3 -0
  45. package/dist/vsn.min.js.LICENSE.txt +9 -0
  46. package/package.json +1 -1
  47. package/src/AST/ClassNode.ts +12 -9
  48. package/src/Attribute.ts +19 -8
  49. package/src/Component.ts +24 -0
  50. package/src/DOM/DOMObject.ts +11 -0
  51. package/src/DOM.ts +19 -11
  52. package/src/Registry.ts +9 -3
  53. package/src/Tag.ts +70 -50
  54. package/src/attributes/ComponentAttribute.ts +24 -0
  55. package/src/attributes/ListItem.ts +0 -4
  56. package/src/attributes/RootAttribute.ts +0 -1
  57. package/src/attributes/TemplateAttribute.ts +12 -0
  58. package/src/attributes/_imports.ts +2 -1
  59. package/src/custom-elements.ts +46 -0
  60. package/src/version.ts +1 -1
  61. package/src/vsn.ts +6 -0
  62. package/dist/attributes/Template.d.ts +0 -4
  63. package/dist/attributes/Template.js +0 -39
  64. package/dist/attributes/Template.js.map +0 -1
  65. package/src/attributes/Template.ts +0 -7
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
- return c > 3 && r && Object.defineProperty(target, key, r), r;
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.Template = void 0;
25
- var Registry_1 = require("../Registry");
26
- var Attribute_1 = require("../Attribute");
27
- var Template = /** @class */ (function (_super) {
28
- __extends(Template, _super);
29
- function Template() {
30
- return _super !== null && _super.apply(this, arguments) || this;
31
- }
32
- Template.canDefer = false;
33
- Template = __decorate([
34
- Registry_1.Registry.attribute('vsn-template')
35
- ], Template);
36
- return Template;
37
- }(Attribute_1.Attribute));
38
- exports.Template = Template;
39
- //# sourceMappingURL=Template.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Template.js","sourceRoot":"","sources":["../../src/attributes/Template.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,wCAAqC;AACrC,0CAAuC;AAGvC;IAA8B,4BAAS;IAAvC;;IAEA,CAAC;IAD0B,iBAAQ,GAAY,KAAK,CAAC;IADxC,QAAQ;QADpB,mBAAQ,CAAC,SAAS,CAAC,cAAc,CAAC;OACtB,QAAQ,CAEpB;IAAD,eAAC;CAAA,AAFD,CAA8B,qBAAS,GAEtC;AAFY,4BAAQ"}
@@ -1,7 +0,0 @@
1
- import {Registry} from "../Registry";
2
- import {Attribute} from "../Attribute";
3
-
4
- @Registry.attribute('vsn-template')
5
- export class Template extends Attribute {
6
- public static readonly canDefer: boolean = false;
7
- }