@rhtml/experiments 0.0.114 → 0.0.115
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/component-monad/component-registry.js +5 -5
- package/dist/component-monad/component-registry.js.map +1 -1
- package/dist/component-monad/hydrate.js +1 -1
- package/dist/component-monad/hydrate.js.map +1 -1
- package/dist/component-monad/index.js +6 -2
- package/dist/component-monad/index.js.map +1 -1
- package/dist/component-monad/lit-service-element.d.ts +1 -1
- package/dist/component-monad/lit-service-element.js +2 -1
- package/dist/component-monad/lit-service-element.js.map +1 -1
- package/dist/component-monad/r-component.js +7 -11
- package/dist/component-monad/r-component.js.map +1 -1
- package/dist/component-monad/r-key.js +2 -4
- package/dist/component-monad/r-key.js.map +1 -1
- package/dist/component-monad/r-prop.js +4 -6
- package/dist/component-monad/r-prop.js.map +1 -1
- package/dist/component-monad/r-props.js +4 -6
- package/dist/component-monad/r-props.js.map +1 -1
- package/dist/component-monad/r-type.js +2 -4
- package/dist/component-monad/r-type.js.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -12
- package/src/component-monad/component-registry.ts +3 -3
- package/src/component-monad/hydrate.ts +1 -1
- package/src/component-monad/lit-service-element.ts +2 -1
- package/src/component-monad/r-component.ts +5 -9
- package/src/component-monad/r-key.ts +1 -3
- package/src/component-monad/r-prop.ts +1 -3
- package/src/component-monad/r-props.ts +3 -5
- package/src/component-monad/r-type.ts +1 -3
- package/.eslintrc.js +0 -26
- package/.prettierrc +0 -4
- package/jest.config.js +0 -16
- package/tslint.json +0 -113
|
@@ -29,19 +29,19 @@ let ComponentRegistry = class ComponentRegistry extends lit_html_1.LitElement {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
__decorate([
|
|
32
|
-
lit_html_1.property({ type: Array }),
|
|
32
|
+
(0, lit_html_1.property)({ type: Array }),
|
|
33
33
|
__metadata("design:type", Object)
|
|
34
34
|
], ComponentRegistry.prototype, "components", void 0);
|
|
35
35
|
ComponentRegistry = __decorate([
|
|
36
|
-
lit_html_1.Component({
|
|
36
|
+
(0, lit_html_1.Component)({
|
|
37
37
|
selector: interface_1.selector,
|
|
38
38
|
template() {
|
|
39
|
-
return lit_html_1.html `
|
|
39
|
+
return (0, lit_html_1.html) `
|
|
40
40
|
<r-for .of=${this.components}>
|
|
41
|
-
<r-let .item=${i => i}></r-let>
|
|
41
|
+
<r-let .item=${(i) => i}></r-let>
|
|
42
42
|
</r-for>
|
|
43
43
|
`;
|
|
44
|
-
}
|
|
44
|
+
},
|
|
45
45
|
})
|
|
46
46
|
], ComponentRegistry);
|
|
47
47
|
exports.ComponentRegistry = ComponentRegistry;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-registry.js","sourceRoot":"","sources":["../../src/component-monad/component-registry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4BAA0B;AAE1B,6CAMwB;AAExB,2CAA2D;AAE3D;;GAEG;AAWH,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,qBAAU;IAAjD;;QAEU,eAAU,GAAG,EAAE,CAAC;IAO1B,CAAC;IANC,MAAM;QACJ,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,8BAAkB,CAAC,CAAC,CAAC;IACtD,CAAC;IACD,QAAQ,CAAC,QAAwB;QAC/B,IAAI,CAAC,UAAU,GAAG,CAAC,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACnD,CAAC;CACF,CAAA;AAPC;IADC,mBAAQ,
|
|
1
|
+
{"version":3,"file":"component-registry.js","sourceRoot":"","sources":["../../src/component-monad/component-registry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4BAA0B;AAE1B,6CAMwB;AAExB,2CAA2D;AAE3D;;GAEG;AAWH,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,qBAAU;IAAjD;;QAEU,eAAU,GAAG,EAAE,CAAC;IAO1B,CAAC;IANC,MAAM;QACJ,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,8BAAkB,CAAC,CAAC,CAAC;IACtD,CAAC;IACD,QAAQ,CAAC,QAAwB;QAC/B,IAAI,CAAC,UAAU,GAAG,CAAC,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACnD,CAAC;CACF,CAAA;AAPC;IADC,IAAA,mBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;qDACF;AAFb,iBAAiB;IAV7B,IAAA,oBAAS,EAAC;QACT,QAAQ,EAAR,oBAAQ;QACR,QAAQ;YACN,OAAO,IAAA,eAAI,EAAA;mBACI,IAAI,CAAC,UAAU;uBACX,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;;KAE1B,CAAC;QACJ,CAAC;KACF,CAAC;GACW,iBAAiB,CAS7B;AATY,8CAAiB;AAW9B,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,GAAG,EAAE,CACnC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,oBAAQ,CAAC,CAAC,CACvD,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Hydrate = void 0;
|
|
4
4
|
const interface_1 = require("./interface");
|
|
5
5
|
function Hydrate(template) {
|
|
6
|
-
return new Promise(resolve => {
|
|
6
|
+
return new Promise((resolve) => {
|
|
7
7
|
let registry = document.querySelector(interface_1.selector);
|
|
8
8
|
if (registry) {
|
|
9
9
|
registry.register(template);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hydrate.js","sourceRoot":"","sources":["../../src/component-monad/hydrate.ts"],"names":[],"mappings":";;;AAGA,2CAA2D;AAE3D,SAAgB,OAAO,CAAC,QAAwB;IAC9C,OAAO,IAAI,OAAO,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"hydrate.js","sourceRoot":"","sources":["../../src/component-monad/hydrate.ts"],"names":[],"mappings":";;;AAGA,2CAA2D;AAE3D,SAAgB,OAAO,CAAC,QAAwB;IAC9C,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,IAAI,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,oBAAQ,CAAsB,CAAC;QACrE,IAAI,QAAQ,EAAE;YACZ,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;YAC5B,OAAO,CAAC,QAAQ,CAAC,CAAC;SACnB;aAAM;YACL,MAAM,OAAO,GAAG,GAAG,EAAE;gBACnB,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,oBAAQ,CAAC,CAAC;gBAC5C,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;gBAC5B,OAAO,CAAC,QAAQ,CAAC,CAAC;gBAClB,MAAM,CAAC,mBAAmB,CAAC,8BAAkB,EAAE,OAAO,CAAC,CAAC;YAC1D,CAAC,CAAC;YACF,MAAM,CAAC,gBAAgB,CAAC,8BAAkB,EAAE,OAAO,CAAC,CAAC;SACtD;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAhBD,0BAgBC"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
8
12
|
}));
|
|
9
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
15
|
};
|
|
12
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
17
|
require("./component-registry");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/component-monad/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/component-monad/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gCAA8B;AAoB9B,gDAA8B;AAC9B,0CAAwB;AACxB,2CAAyB;AACzB,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B;AAC1B,wDAAsC"}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.LitServiceElement = void 0;
|
|
13
13
|
const lit_html_1 = require("@rxdi/lit-html");
|
|
14
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
14
15
|
class LitServiceElement extends lit_html_1.LitElement {
|
|
15
16
|
constructor() {
|
|
16
17
|
super(...arguments);
|
|
@@ -22,7 +23,7 @@ class LitServiceElement extends lit_html_1.LitElement {
|
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
__decorate([
|
|
25
|
-
lit_html_1.property({ type: Object }),
|
|
26
|
+
(0, lit_html_1.property)({ type: Object }),
|
|
26
27
|
__metadata("design:type", Function)
|
|
27
28
|
], LitServiceElement.prototype, "run", void 0);
|
|
28
29
|
exports.LitServiceElement = LitServiceElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lit-service-element.js","sourceRoot":"","sources":["../../src/component-monad/lit-service-element.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAsD;AAEtD,MAAa,
|
|
1
|
+
{"version":3,"file":"lit-service-element.js","sourceRoot":"","sources":["../../src/component-monad/lit-service-element.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAsD;AAEtD,8DAA8D;AAC9D,MAAa,iBAA2B,SAAQ,qBAAU;IAA1D;;QAEE,QAAG,GAAsB,GAAG,EAAE,CAAC,IAAI,CAAC;IAMtC,CAAC;IAJC,aAAa;QACX,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,CAAC,GAAG,CAAC,IAAa,CAAC,CAAC;IAC1B,CAAC;CACF;AANC;IADC,IAAA,mBAAQ,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;8CACS;AAFtC,8CAQC"}
|
|
@@ -32,15 +32,13 @@ let RComponentOperator = class RComponentOperator extends lit_html_1.LitElement
|
|
|
32
32
|
}
|
|
33
33
|
const selector = selectorComponent ? selectorComponent.innerText : null;
|
|
34
34
|
if (!window.customElements.get(selector) && selector) {
|
|
35
|
-
lit_html_1.Component({
|
|
35
|
+
(0, lit_html_1.Component)({
|
|
36
36
|
selector,
|
|
37
37
|
template() {
|
|
38
38
|
return renderComponent
|
|
39
|
-
? renderComponent.state(this, state => Object.assign(this, state), this.shadowRoot)
|
|
40
|
-
: lit_html_1.html `
|
|
41
|
-
|
|
42
|
-
`;
|
|
43
|
-
}
|
|
39
|
+
? renderComponent.state(this, (state) => Object.assign(this, state), this.shadowRoot)
|
|
40
|
+
: (0, lit_html_1.html) ` Missing template `;
|
|
41
|
+
},
|
|
44
42
|
})(class extends lit_html_1.LitElement {
|
|
45
43
|
constructor() {
|
|
46
44
|
super(...arguments);
|
|
@@ -70,16 +68,14 @@ let RComponentOperator = class RComponentOperator extends lit_html_1.LitElement
|
|
|
70
68
|
});
|
|
71
69
|
}
|
|
72
70
|
findNode(nodes, localName) {
|
|
73
|
-
const node = nodes.find(n => n && n.nextSibling && n.nextSibling.localName === localName);
|
|
71
|
+
const node = nodes.find((n) => n && n.nextSibling && n.nextSibling.localName === localName);
|
|
74
72
|
return node ? node.nextSibling : null;
|
|
75
73
|
}
|
|
76
74
|
};
|
|
77
75
|
RComponentOperator = __decorate([
|
|
78
|
-
lit_html_1.Component({
|
|
76
|
+
(0, lit_html_1.Component)({
|
|
79
77
|
selector: 'r-component',
|
|
80
|
-
template: () => lit_html_1.html `
|
|
81
|
-
<slot></slot>
|
|
82
|
-
`
|
|
78
|
+
template: () => (0, lit_html_1.html) ` <slot></slot> `,
|
|
83
79
|
})
|
|
84
80
|
], RComponentOperator);
|
|
85
81
|
exports.RComponentOperator = RComponentOperator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"r-component.js","sourceRoot":"","sources":["../../src/component-monad/r-component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6CAA6D;AAE7D;;GAEG;
|
|
1
|
+
{"version":3,"file":"r-component.js","sourceRoot":"","sources":["../../src/component-monad/r-component.ts"],"names":[],"mappings":"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"}
|
|
@@ -14,11 +14,9 @@ const lit_html_1 = require("@rxdi/lit-html");
|
|
|
14
14
|
let RKeyOperator = class RKeyOperator extends lit_html_1.LitElement {
|
|
15
15
|
};
|
|
16
16
|
RKeyOperator = __decorate([
|
|
17
|
-
lit_html_1.Component({
|
|
17
|
+
(0, lit_html_1.Component)({
|
|
18
18
|
selector: 'r-key',
|
|
19
|
-
template: () => lit_html_1.html `
|
|
20
|
-
<slot></slot>
|
|
21
|
-
`
|
|
19
|
+
template: () => (0, lit_html_1.html) ` <slot></slot> `,
|
|
22
20
|
})
|
|
23
21
|
], RKeyOperator);
|
|
24
22
|
exports.RKeyOperator = RKeyOperator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"r-key.js","sourceRoot":"","sources":["../../src/component-monad/r-key.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAA6D;AAC7D;;GAEG;
|
|
1
|
+
{"version":3,"file":"r-key.js","sourceRoot":"","sources":["../../src/component-monad/r-key.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAA6D;AAC7D;;GAEG;AAKH,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,qBAAU;CAAG,CAAA;AAAlC,YAAY;IAJxB,IAAA,oBAAS,EAAC;QACT,QAAQ,EAAE,OAAO;QACjB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAA,eAAI,EAAA,iBAAiB;KACtC,CAAC;GACW,YAAY,CAAsB;AAAlC,oCAAY"}
|
|
@@ -17,19 +17,17 @@ const lit_html_1 = require("@rxdi/lit-html");
|
|
|
17
17
|
let RPropOperator = class RPropOperator extends lit_html_1.LitElement {
|
|
18
18
|
};
|
|
19
19
|
__decorate([
|
|
20
|
-
lit_html_1.property(),
|
|
20
|
+
(0, lit_html_1.property)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
22
|
], RPropOperator.prototype, "key", void 0);
|
|
23
23
|
__decorate([
|
|
24
|
-
lit_html_1.property(),
|
|
24
|
+
(0, lit_html_1.property)(),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], RPropOperator.prototype, "type", void 0);
|
|
27
27
|
RPropOperator = __decorate([
|
|
28
|
-
lit_html_1.Component({
|
|
28
|
+
(0, lit_html_1.Component)({
|
|
29
29
|
selector: 'r-prop',
|
|
30
|
-
template: () => lit_html_1.html `
|
|
31
|
-
<slot></slot>
|
|
32
|
-
`
|
|
30
|
+
template: () => (0, lit_html_1.html) ` <slot></slot> `,
|
|
33
31
|
})
|
|
34
32
|
], RPropOperator);
|
|
35
33
|
exports.RPropOperator = RPropOperator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"r-prop.js","sourceRoot":"","sources":["../../src/component-monad/r-prop.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAuE;AACvE;;GAEG;
|
|
1
|
+
{"version":3,"file":"r-prop.js","sourceRoot":"","sources":["../../src/component-monad/r-prop.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAuE;AACvE;;GAEG;AAKH,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,qBAAU;CAM5C,CAAA;AAJC;IADC,IAAA,mBAAQ,GAAE;;0CACC;AAGZ;IADC,IAAA,mBAAQ,GAAE;;2CACE;AALF,aAAa;IAJzB,IAAA,oBAAS,EAAC;QACT,QAAQ,EAAE,QAAQ;QAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAA,eAAI,EAAA,iBAAiB;KACtC,CAAC;GACW,aAAa,CAMzB;AANY,sCAAa"}
|
|
@@ -18,7 +18,7 @@ let RPropsOperator = class RPropsOperator extends lit_html_1.LitElement {
|
|
|
18
18
|
}
|
|
19
19
|
OnUpdateFirst() {
|
|
20
20
|
this.nodes = this.querySelectorAll('r-prop');
|
|
21
|
-
this.nodes.forEach(n => {
|
|
21
|
+
this.nodes.forEach((n) => {
|
|
22
22
|
const k = n.querySelector('r-key');
|
|
23
23
|
const t = n.querySelector('r-type');
|
|
24
24
|
const key = n['key'] || k.innerText;
|
|
@@ -39,7 +39,7 @@ let RPropsOperator = class RPropsOperator extends lit_html_1.LitElement {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
OnDestroy() {
|
|
42
|
-
this.nodes.forEach(n => n.remove());
|
|
42
|
+
this.nodes.forEach((n) => n.remove());
|
|
43
43
|
}
|
|
44
44
|
isString(value) {
|
|
45
45
|
return value === 'String';
|
|
@@ -55,11 +55,9 @@ let RPropsOperator = class RPropsOperator extends lit_html_1.LitElement {
|
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
RPropsOperator = __decorate([
|
|
58
|
-
lit_html_1.Component({
|
|
58
|
+
(0, lit_html_1.Component)({
|
|
59
59
|
selector: 'r-props',
|
|
60
|
-
template: () => lit_html_1.html `
|
|
61
|
-
<slot></slot>
|
|
62
|
-
`
|
|
60
|
+
template: () => (0, lit_html_1.html) ` <slot></slot> `,
|
|
63
61
|
})
|
|
64
62
|
], RPropsOperator);
|
|
65
63
|
exports.RPropsOperator = RPropsOperator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"r-props.js","sourceRoot":"","sources":["../../src/component-monad/r-props.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAA6D;AAC7D;;GAEG;
|
|
1
|
+
{"version":3,"file":"r-props.js","sourceRoot":"","sources":["../../src/component-monad/r-props.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAA6D;AAC7D;;GAEG;AAKH,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,qBAAU;IAA9C;;QAES,UAAK,GAAG,EAAE,CAAC;IA2CpB,CAAC;IA1CC,aAAa;QACX,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAE7C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YACvB,MAAM,CAAC,GAAG,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACnC,MAAM,CAAC,GAAG,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YACpC,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC;YACpC,IAAI,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC;YACpC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;gBACvB,IAAI,GAAG,MAAM,CAAC;aACf;YACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;gBACvB,IAAI,GAAG,MAAM,CAAC;aACf;YACD,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE;gBACxB,IAAI,GAAG,OAAO,CAAC;aAChB;YACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;gBACvB,IAAI,GAAG,MAAM,CAAC;aACf;YACD,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC;QAC7B,CAAC,CAAC,CAAC;IACL,CAAC;IACD,SAAS;QACP,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACxC,CAAC;IAED,QAAQ,CAAC,KAAK;QACZ,OAAO,KAAK,KAAK,QAAQ,CAAC;IAC5B,CAAC;IAED,QAAQ,CAAC,KAAK;QACZ,OAAO,KAAK,KAAK,QAAQ,CAAC;IAC5B,CAAC;IAED,SAAS,CAAC,KAAK;QACb,OAAO,KAAK,KAAK,SAAS,CAAC;IAC7B,CAAC;IAED,QAAQ,CAAC,KAAK;QACZ,OAAO,KAAK,KAAK,QAAQ,CAAC;IAC5B,CAAC;CACF,CAAA;AA7CY,cAAc;IAJ1B,IAAA,oBAAS,EAAC;QACT,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAA,eAAI,EAAA,iBAAiB;KACtC,CAAC;GACW,cAAc,CA6C1B;AA7CY,wCAAc"}
|
|
@@ -14,11 +14,9 @@ const lit_html_1 = require("@rxdi/lit-html");
|
|
|
14
14
|
let RTypeOperator = class RTypeOperator extends lit_html_1.LitElement {
|
|
15
15
|
};
|
|
16
16
|
RTypeOperator = __decorate([
|
|
17
|
-
lit_html_1.Component({
|
|
17
|
+
(0, lit_html_1.Component)({
|
|
18
18
|
selector: 'r-type',
|
|
19
|
-
template: () => lit_html_1.html `
|
|
20
|
-
<slot></slot>
|
|
21
|
-
`
|
|
19
|
+
template: () => (0, lit_html_1.html) ` <slot></slot> `,
|
|
22
20
|
})
|
|
23
21
|
], RTypeOperator);
|
|
24
22
|
exports.RTypeOperator = RTypeOperator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"r-type.js","sourceRoot":"","sources":["../../src/component-monad/r-type.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAA6D;AAC7D;;GAEG;
|
|
1
|
+
{"version":3,"file":"r-type.js","sourceRoot":"","sources":["../../src/component-monad/r-type.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAA6D;AAC7D;;GAEG;AAKH,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,qBAAU;CAAG,CAAA;AAAnC,aAAa;IAJzB,IAAA,oBAAS,EAAC;QACT,QAAQ,EAAE,QAAQ;QAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAA,eAAI,EAAA,iBAAiB;KACtC,CAAC;GACW,aAAa,CAAsB;AAAnC,sCAAa"}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
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);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
8
12
|
}));
|
|
9
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
15
|
};
|
|
12
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
17
|
__exportStar(require("./component-monad"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhtml/experiments",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.115",
|
|
4
4
|
"description": "RHTML Experiments repo",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "npx parcel ./examples/index.html --out-dir build/examples",
|
|
@@ -11,16 +11,7 @@
|
|
|
11
11
|
"lint-fix": "npx eslint . --fix --ext .ts",
|
|
12
12
|
"build": "rm -rf dist && tsc"
|
|
13
13
|
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"eslint": "^6.7.2",
|
|
16
|
-
"eslint-config-prettier": "^6.7.0",
|
|
17
|
-
"eslint-plugin-prettier": "^3.1.1",
|
|
18
|
-
"eslint-plugin-simple-import-sort": "^5.0.0",
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "^2.10.0",
|
|
20
|
-
"@typescript-eslint/parser": "^2.10.0",
|
|
21
|
-
"prettier": "^1.19.1",
|
|
22
|
-
"ts-jest": "25.2.1"
|
|
23
|
-
},
|
|
14
|
+
"devDependencies": {},
|
|
24
15
|
"repository": {
|
|
25
16
|
"type": "git",
|
|
26
17
|
"url": "git@github.com:rhtml/rhtml.git"
|
|
@@ -29,7 +20,7 @@
|
|
|
29
20
|
"license": "MIT",
|
|
30
21
|
"dependencies": {
|
|
31
22
|
"@rxdi/lit-html": "^0.7.133",
|
|
32
|
-
"@rhtml/operators": "0.0.
|
|
23
|
+
"@rhtml/operators": "0.0.115"
|
|
33
24
|
},
|
|
34
25
|
"browserslist": [
|
|
35
26
|
"last 1 chrome versions"
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
html,
|
|
6
6
|
LitElement,
|
|
7
7
|
property,
|
|
8
|
-
TemplateResult
|
|
8
|
+
TemplateResult,
|
|
9
9
|
} from '@rxdi/lit-html';
|
|
10
10
|
|
|
11
11
|
import { RegistryReadyEvent, selector } from './interface';
|
|
@@ -18,10 +18,10 @@ import { RegistryReadyEvent, selector } from './interface';
|
|
|
18
18
|
template() {
|
|
19
19
|
return html`
|
|
20
20
|
<r-for .of=${this.components}>
|
|
21
|
-
<r-let .item=${i => i}></r-let>
|
|
21
|
+
<r-let .item=${(i) => i}></r-let>
|
|
22
22
|
</r-for>
|
|
23
23
|
`;
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
25
|
})
|
|
26
26
|
export class ComponentRegistry extends LitElement {
|
|
27
27
|
@property({ type: Array })
|
|
@@ -4,7 +4,7 @@ import { ComponentRegistry } from './component-registry';
|
|
|
4
4
|
import { RegistryReadyEvent, selector } from './interface';
|
|
5
5
|
|
|
6
6
|
export function Hydrate(template: TemplateResult) {
|
|
7
|
-
return new Promise(resolve => {
|
|
7
|
+
return new Promise((resolve) => {
|
|
8
8
|
let registry = document.querySelector(selector) as ComponentRegistry;
|
|
9
9
|
if (registry) {
|
|
10
10
|
registry.register(template);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement, property } from '@rxdi/lit-html';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4
|
+
export class LitServiceElement<T = any> extends LitElement {
|
|
4
5
|
@property({ type: Object })
|
|
5
6
|
run: (self: T) => void = () => null;
|
|
6
7
|
|
|
@@ -5,9 +5,7 @@ import { Component, html, LitElement } from '@rxdi/lit-html';
|
|
|
5
5
|
*/
|
|
6
6
|
@Component({
|
|
7
7
|
selector: 'r-component',
|
|
8
|
-
template: () => html`
|
|
9
|
-
<slot></slot>
|
|
10
|
-
`
|
|
8
|
+
template: () => html` <slot></slot> `,
|
|
11
9
|
})
|
|
12
10
|
export class RComponentOperator extends LitElement {
|
|
13
11
|
async OnUpdateFirst() {
|
|
@@ -28,13 +26,11 @@ export class RComponentOperator extends LitElement {
|
|
|
28
26
|
return renderComponent
|
|
29
27
|
? renderComponent.state(
|
|
30
28
|
this,
|
|
31
|
-
state => Object.assign(this, state),
|
|
29
|
+
(state) => Object.assign(this, state),
|
|
32
30
|
this.shadowRoot
|
|
33
31
|
)
|
|
34
|
-
: html`
|
|
35
|
-
|
|
36
|
-
`;
|
|
37
|
-
}
|
|
32
|
+
: html` Missing template `;
|
|
33
|
+
},
|
|
38
34
|
})(
|
|
39
35
|
class extends LitElement {
|
|
40
36
|
loading = true;
|
|
@@ -67,7 +63,7 @@ export class RComponentOperator extends LitElement {
|
|
|
67
63
|
}
|
|
68
64
|
findNode(nodes, localName) {
|
|
69
65
|
const node = nodes.find(
|
|
70
|
-
n => n && n.nextSibling && n.nextSibling.localName === localName
|
|
66
|
+
(n) => n && n.nextSibling && n.nextSibling.localName === localName
|
|
71
67
|
);
|
|
72
68
|
return node ? node.nextSibling : null;
|
|
73
69
|
}
|
|
@@ -4,9 +4,7 @@ import { Component, html, LitElement, property } from '@rxdi/lit-html';
|
|
|
4
4
|
*/
|
|
5
5
|
@Component({
|
|
6
6
|
selector: 'r-prop',
|
|
7
|
-
template: () => html`
|
|
8
|
-
<slot></slot>
|
|
9
|
-
`
|
|
7
|
+
template: () => html` <slot></slot> `,
|
|
10
8
|
})
|
|
11
9
|
export class RPropOperator extends LitElement {
|
|
12
10
|
@property()
|
|
@@ -4,9 +4,7 @@ import { Component, html, LitElement } from '@rxdi/lit-html';
|
|
|
4
4
|
*/
|
|
5
5
|
@Component({
|
|
6
6
|
selector: 'r-props',
|
|
7
|
-
template: () => html`
|
|
8
|
-
<slot></slot>
|
|
9
|
-
`
|
|
7
|
+
template: () => html` <slot></slot> `,
|
|
10
8
|
})
|
|
11
9
|
export class RPropsOperator extends LitElement {
|
|
12
10
|
private nodes: NodeListOf<Element>;
|
|
@@ -14,7 +12,7 @@ export class RPropsOperator extends LitElement {
|
|
|
14
12
|
OnUpdateFirst() {
|
|
15
13
|
this.nodes = this.querySelectorAll('r-prop');
|
|
16
14
|
|
|
17
|
-
this.nodes.forEach(n => {
|
|
15
|
+
this.nodes.forEach((n) => {
|
|
18
16
|
const k = n.querySelector('r-key');
|
|
19
17
|
const t = n.querySelector('r-type');
|
|
20
18
|
const key = n['key'] || k.innerText;
|
|
@@ -35,7 +33,7 @@ export class RPropsOperator extends LitElement {
|
|
|
35
33
|
});
|
|
36
34
|
}
|
|
37
35
|
OnDestroy() {
|
|
38
|
-
this.nodes.forEach(n => n.remove());
|
|
36
|
+
this.nodes.forEach((n) => n.remove());
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
isString(value) {
|
package/.eslintrc.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
// Specifies the ESLint parser
|
|
3
|
-
parser: "@typescript-eslint/parser",
|
|
4
|
-
extends: [
|
|
5
|
-
// Uses the recommended rules from the @typescript-eslint/eslint-plugin
|
|
6
|
-
"plugin:@typescript-eslint/recommended",
|
|
7
|
-
// Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
|
|
8
|
-
"prettier/@typescript-eslint",
|
|
9
|
-
// Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
|
|
10
|
-
"plugin:prettier/recommended"
|
|
11
|
-
],
|
|
12
|
-
parserOptions: {
|
|
13
|
-
// Allows for the parsing of modern ECMAScript features
|
|
14
|
-
ecmaVersion: 2018,
|
|
15
|
-
// Allows for the use of imports
|
|
16
|
-
sourceType: "module"
|
|
17
|
-
},
|
|
18
|
-
rules: {
|
|
19
|
-
"@typescript-eslint/explicit-function-return-type": 0,
|
|
20
|
-
"simple-import-sort/sort": "error",
|
|
21
|
-
"sort-imports": "off",
|
|
22
|
-
"import/order": "off",
|
|
23
|
-
"@typescript-eslint/camelcase": 0
|
|
24
|
-
},
|
|
25
|
-
plugins: ["simple-import-sort"]
|
|
26
|
-
};
|
package/.prettierrc
DELETED
package/jest.config.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
testEnvironment: 'node',
|
|
3
|
-
testPathIgnorePatterns: ['/node_modules/'],
|
|
4
|
-
coverageReporters: ['lcov', 'html'],
|
|
5
|
-
rootDir: './',
|
|
6
|
-
moduleFileExtensions: ['ts', 'tsx', 'js', 'json', 'node'],
|
|
7
|
-
globals: {
|
|
8
|
-
__DEV__: true
|
|
9
|
-
},
|
|
10
|
-
transform: {
|
|
11
|
-
'\\.(ts|tsx)$': 'ts-jest'
|
|
12
|
-
},
|
|
13
|
-
testRegex: '/src/.*\\.spec.(ts|tsx|js)$',
|
|
14
|
-
verbose: true,
|
|
15
|
-
collectCoverage: true
|
|
16
|
-
};
|
package/tslint.json
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"rules": {
|
|
3
|
-
"arrow-return-shorthand": true,
|
|
4
|
-
"callable-types": true,
|
|
5
|
-
"class-name": true,
|
|
6
|
-
"comment-format": [
|
|
7
|
-
true,
|
|
8
|
-
"check-space"
|
|
9
|
-
],
|
|
10
|
-
"curly": true,
|
|
11
|
-
"eofline": true,
|
|
12
|
-
"forin": true,
|
|
13
|
-
"import-blacklist": [
|
|
14
|
-
true,
|
|
15
|
-
"rxjs/Rx"
|
|
16
|
-
],
|
|
17
|
-
"import-spacing": true,
|
|
18
|
-
"indent": [
|
|
19
|
-
true,
|
|
20
|
-
"spaces"
|
|
21
|
-
],
|
|
22
|
-
"interface-over-type-literal": true,
|
|
23
|
-
"label-position": true,
|
|
24
|
-
"max-line-length": [
|
|
25
|
-
true,
|
|
26
|
-
140
|
|
27
|
-
],
|
|
28
|
-
"member-access": false,
|
|
29
|
-
"member-ordering": [
|
|
30
|
-
true,
|
|
31
|
-
{
|
|
32
|
-
"order": [
|
|
33
|
-
"static-field",
|
|
34
|
-
"instance-field",
|
|
35
|
-
"static-method",
|
|
36
|
-
"instance-method"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"no-arg": true,
|
|
41
|
-
"no-bitwise": true,
|
|
42
|
-
"no-console": [
|
|
43
|
-
true,
|
|
44
|
-
"debug",
|
|
45
|
-
"info",
|
|
46
|
-
"time",
|
|
47
|
-
"timeEnd",
|
|
48
|
-
"trace"
|
|
49
|
-
],
|
|
50
|
-
"no-construct": true,
|
|
51
|
-
"no-debugger": true,
|
|
52
|
-
"no-duplicate-super": true,
|
|
53
|
-
"no-empty": false,
|
|
54
|
-
"no-empty-interface": true,
|
|
55
|
-
"no-eval": true,
|
|
56
|
-
"no-inferrable-types": [
|
|
57
|
-
true,
|
|
58
|
-
"ignore-params"
|
|
59
|
-
],
|
|
60
|
-
"no-misused-new": true,
|
|
61
|
-
"no-non-null-assertion": true,
|
|
62
|
-
"no-shadowed-variable": true,
|
|
63
|
-
"no-string-literal": false,
|
|
64
|
-
"no-string-throw": true,
|
|
65
|
-
"no-switch-case-fall-through": true,
|
|
66
|
-
"no-trailing-whitespace": true,
|
|
67
|
-
"no-unnecessary-initializer": true,
|
|
68
|
-
"no-unused-expression": true,
|
|
69
|
-
"no-var-keyword": true,
|
|
70
|
-
"object-literal-sort-keys": false,
|
|
71
|
-
"one-line": [
|
|
72
|
-
true,
|
|
73
|
-
"check-open-brace",
|
|
74
|
-
"check-catch",
|
|
75
|
-
"check-else",
|
|
76
|
-
"check-whitespace"
|
|
77
|
-
],
|
|
78
|
-
"prefer-const": true,
|
|
79
|
-
"quotemark": [
|
|
80
|
-
true,
|
|
81
|
-
"single"
|
|
82
|
-
],
|
|
83
|
-
"radix": true,
|
|
84
|
-
"semicolon": [
|
|
85
|
-
false,
|
|
86
|
-
"never"
|
|
87
|
-
],
|
|
88
|
-
"triple-equals": [
|
|
89
|
-
true,
|
|
90
|
-
"allow-null-check"
|
|
91
|
-
],
|
|
92
|
-
"typedef-whitespace": [
|
|
93
|
-
true,
|
|
94
|
-
{
|
|
95
|
-
"call-signature": "nospace",
|
|
96
|
-
"index-signature": "nospace",
|
|
97
|
-
"parameter": "nospace",
|
|
98
|
-
"property-declaration": "nospace",
|
|
99
|
-
"variable-declaration": "nospace"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
"unified-signatures": true,
|
|
103
|
-
"variable-name": false,
|
|
104
|
-
"whitespace": [
|
|
105
|
-
true,
|
|
106
|
-
"check-branch",
|
|
107
|
-
"check-decl",
|
|
108
|
-
"check-operator",
|
|
109
|
-
"check-separator",
|
|
110
|
-
"check-type"
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
}
|