@rxdi/lit-html 0.7.208 → 0.7.210

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.
@@ -1,4 +1,8 @@
1
1
  "use strict";
2
+ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
3
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
4
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
5
+ };
2
6
  Object.defineProperty(exports, "__esModule", { value: true });
3
7
  exports.Component = void 0;
4
8
  const lit_html_1 = require("lit-html");
@@ -45,7 +49,7 @@ const customElement = (tag, config = {}) => (Base) => {
45
49
  if (config.style) {
46
50
  config.styles.push(config.style);
47
51
  }
48
- const ModifiedClass = (_b = class NoName extends Base {
52
+ const ModifiedClass = (_b = class extends Base {
49
53
  static is() {
50
54
  return tag;
51
55
  }
@@ -116,6 +120,7 @@ const customElement = (tag, config = {}) => (Base) => {
116
120
  OnUpdateFirst.call(this);
117
121
  }
118
122
  },
123
+ __setFunctionName(_b, "ModifiedClass"),
119
124
  _b.styles = config.styles,
120
125
  _b);
121
126
  const registeredElement = window.customElements.get(tag);
@@ -1,4 +1,12 @@
1
- export * from './on-destroy';
2
- export * from './on-init';
3
- export * from './on-update';
4
- export * from './on-update-first';
1
+ export interface OnUpdate {
2
+ OnUpdate(): void;
3
+ }
4
+ export interface OnDestroy {
5
+ OnDestroy(): void;
6
+ }
7
+ export interface OnUpdateFirst {
8
+ OnUpdateFirst(): void;
9
+ }
10
+ export interface OnInit {
11
+ OnInit(): void;
12
+ }
@@ -1,20 +1,2 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
2
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./on-destroy"), exports);
18
- __exportStar(require("./on-init"), exports);
19
- __exportStar(require("./on-update"), exports);
20
- __exportStar(require("./on-update-first"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdi/lit-html",
3
- "version": "0.7.208",
3
+ "version": "0.7.210",
4
4
  "main": "./dist/index.js",
5
5
  "author": "Kristiyan Tachev",
6
6
  "license": "MIT",
@@ -1,3 +0,0 @@
1
- export interface OnDestroy {
2
- OnDestroy(): void;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface OnInit {
2
- OnInit(): void;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface OnUpdateFirst {
2
- OnUpdateFirst(): void;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface OnUpdate {
2
- OnUpdate(): void;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });