@rhtml/modifiers 0.0.101 → 0.0.104
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/angular/if.d.ts +1 -5
- package/dist/angular/if.js +16 -8
- package/dist/angular/if.js.map +1 -1
- package/dist/angular/index.d.ts +2 -2
- package/dist/angular/index.js +3 -1
- package/dist/angular/index.js.map +1 -1
- package/dist/angular/ng-for.d.ts +10 -0
- package/dist/angular/ng-for.js +59 -0
- package/dist/angular/ng-for.js.map +1 -0
- package/dist/angular/registry.d.ts +3 -0
- package/dist/angular/registry.js +22 -0
- package/dist/angular/registry.js.map +1 -0
- package/dist/layout/flex-align.d.ts +0 -3
- package/dist/layout/flex-align.js +13 -7
- package/dist/layout/flex-align.js.map +1 -1
- package/dist/layout/flex-fill.d.ts +1 -1
- package/dist/layout/flex-fill.js +14 -3
- package/dist/layout/flex-fill.js.map +1 -1
- package/dist/layout/flex-offset.d.ts +0 -3
- package/dist/layout/flex-offset.js +13 -7
- package/dist/layout/flex-offset.js.map +1 -1
- package/dist/layout/flex-order.d.ts +1 -1
- package/dist/layout/flex-order.js +14 -3
- package/dist/layout/flex-order.js.map +1 -1
- package/dist/layout/flex.d.ts +1 -1
- package/dist/layout/flex.js +14 -3
- package/dist/layout/flex.js.map +1 -1
- package/dist/layout/index.d.ts +2 -6
- package/dist/layout/index.js +2 -0
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/layout-align.d.ts +0 -3
- package/dist/layout/layout-align.js +13 -7
- package/dist/layout/layout-align.js.map +1 -1
- package/dist/layout/layout-gap.d.ts +0 -3
- package/dist/layout/layout-gap.js +13 -7
- package/dist/layout/layout-gap.js.map +1 -1
- package/dist/layout/layout.d.ts +1 -5
- package/dist/layout/layout.js +13 -8
- package/dist/layout/layout.js.map +1 -1
- package/dist/layout/registry.d.ts +3 -0
- package/dist/layout/registry.js +22 -0
- package/dist/layout/registry.js.map +1 -0
- package/package.json +2 -2
- package/src/angular/if.ts +11 -7
- package/src/angular/index.ts +3 -1
- package/src/angular/ng-for.ts +50 -0
- package/src/angular/registry.ts +13 -0
- package/src/layout/flex-align.ts +5 -7
- package/src/layout/flex-fill.ts +5 -2
- package/src/layout/flex-offset.ts +4 -7
- package/src/layout/flex-order.ts +5 -2
- package/src/layout/flex.ts +5 -2
- package/src/layout/index.ts +2 -0
- package/src/layout/layout-align.ts +4 -7
- package/src/layout/layout-gap.ts +4 -7
- package/src/layout/layout.ts +4 -7
- package/src/layout/registry.ts +13 -0
package/dist/angular/if.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { Attribute
|
|
1
|
+
import { Attribute } from '@rhtml/custom-attributes';
|
|
2
2
|
export declare class IfOperator extends Attribute {
|
|
3
|
-
static options(this: HTMLElement): {
|
|
4
|
-
name: string;
|
|
5
|
-
registry: CustomAttributeRegistry;
|
|
6
|
-
};
|
|
7
3
|
OnInit(): void;
|
|
8
4
|
OnDestroy(): void;
|
|
9
5
|
OnUpdate(): void;
|
package/dist/angular/if.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.IfOperator = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class IfOperator extends custom_attributes_1.Attribute {
|
|
6
|
-
static options() {
|
|
7
|
-
return {
|
|
8
|
-
name: 'ngIf',
|
|
9
|
-
registry: new custom_attributes_1.CustomAttributeRegistry(this.shadowRoot)
|
|
10
|
-
};
|
|
11
|
-
}
|
|
11
|
+
let IfOperator = class IfOperator extends custom_attributes_1.Attribute {
|
|
12
12
|
OnInit() {
|
|
13
13
|
this.setColor();
|
|
14
14
|
}
|
|
@@ -26,6 +26,14 @@ class IfOperator extends custom_attributes_1.Attribute {
|
|
|
26
26
|
this.element.style.display = 'none';
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
}
|
|
29
|
+
};
|
|
30
|
+
IfOperator = __decorate([
|
|
31
|
+
custom_attributes_1.Modifier({
|
|
32
|
+
selector: 'ngIf',
|
|
33
|
+
registry() {
|
|
34
|
+
return new custom_attributes_1.CustomAttributeRegistry(this);
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
|
+
], IfOperator);
|
|
30
38
|
exports.IfOperator = IfOperator;
|
|
31
39
|
//# sourceMappingURL=if.js.map
|
package/dist/angular/if.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"if.js","sourceRoot":"","sources":["../../src/angular/if.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"if.js","sourceRoot":"","sources":["../../src/angular/if.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAIkC;AAQlC,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,6BAAS;IACvC,MAAM;QACJ,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAED,SAAS;QACP,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAED,QAAQ;QACN,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,EAAE;YACzB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;SACnC;aAAM;YACL,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;SACrC;IACH,CAAC;CACF,CAAA;AApBY,UAAU;IANtB,4BAAQ,CAAC;QACR,QAAQ,EAAE,MAAM;QAChB,QAAQ;YACN,OAAO,IAAI,2CAAuB,CAAC,IAAI,CAAC,CAAC;QAC3C,CAAC;KACF,CAAC;GACW,UAAU,CAoBtB;AApBY,gCAAU"}
|
package/dist/angular/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const AngularLayout: (typeof
|
|
1
|
+
import { Registry } from './registry';
|
|
2
|
+
export declare const AngularLayout: (typeof Registry)[];
|
package/dist/angular/index.js
CHANGED
|
@@ -2,5 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AngularLayout = void 0;
|
|
4
4
|
const if_1 = require("./if");
|
|
5
|
-
|
|
5
|
+
const ng_for_1 = require("./ng-for");
|
|
6
|
+
const registry_1 = require("./registry");
|
|
7
|
+
exports.AngularLayout = [registry_1.Registry, if_1.IfOperator, ng_for_1.NgFor];
|
|
6
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/angular/index.ts"],"names":[],"mappings":";;;AAAA,6BAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/angular/index.ts"],"names":[],"mappings":";;;AAAA,6BAAkC;AAClC,qCAAiC;AACjC,yCAAsC;AAEzB,QAAA,aAAa,GAAG,CAAC,mBAAQ,EAAE,eAAU,EAAE,cAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NgFor = void 0;
|
|
13
|
+
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
14
|
+
const lit_html_1 = require("@rxdi/lit-html");
|
|
15
|
+
let NgFor = class NgFor extends custom_attributes_1.Attribute {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.regexes = [/\${[^{]+}/g, /\@\{(.*?)(?!\@\{)\}/g, /{([^}]+)}/g];
|
|
19
|
+
}
|
|
20
|
+
OnInit() {
|
|
21
|
+
this.modify();
|
|
22
|
+
}
|
|
23
|
+
OnDestroy() {
|
|
24
|
+
//
|
|
25
|
+
}
|
|
26
|
+
OnUpdate() {
|
|
27
|
+
this.modify();
|
|
28
|
+
}
|
|
29
|
+
interpolate(object, string) {
|
|
30
|
+
return string.replace(this.regexes[2], match => match
|
|
31
|
+
.slice(2, -1)
|
|
32
|
+
.trim()
|
|
33
|
+
.split('.')
|
|
34
|
+
.reduce((el, k) => String(el[k]), object));
|
|
35
|
+
}
|
|
36
|
+
modify() {
|
|
37
|
+
const [, , , items] = this.ngFor.split(' ');
|
|
38
|
+
const template = this.element.innerHTML;
|
|
39
|
+
this.element.innerHTML = '';
|
|
40
|
+
lit_html_1.render(lit_html_1.html `
|
|
41
|
+
<r-for .of=${this.parent[items]}>
|
|
42
|
+
<r-let
|
|
43
|
+
.item=${i => lit_html_1.unsafeHTML(this.interpolate(i, template))}
|
|
44
|
+
></r-let>
|
|
45
|
+
</r-for>
|
|
46
|
+
`, this.element);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
__decorate([
|
|
50
|
+
custom_attributes_1.Input(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], NgFor.prototype, "ngFor", void 0);
|
|
53
|
+
NgFor = __decorate([
|
|
54
|
+
custom_attributes_1.Modifier({
|
|
55
|
+
selector: 'ngFor'
|
|
56
|
+
})
|
|
57
|
+
], NgFor);
|
|
58
|
+
exports.NgFor = NgFor;
|
|
59
|
+
//# sourceMappingURL=ng-for.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-for.js","sourceRoot":"","sources":["../../src/angular/ng-for.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAAsE;AACtE,6CAA0D;AAK1D,IAAa,KAAK,GAAlB,MAAa,KAAM,SAAQ,6BAAS;IAApC;;QAIE,YAAO,GAAG,CAAC,YAAY,EAAE,sBAAsB,EAAE,YAAY,CAAC,CAAC;IAuCjE,CAAC;IArCC,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,SAAS;QACP,EAAE;IACJ,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,WAAW,CAAC,MAAM,EAAE,MAAc;QACxC,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAC7C,KAAK;aACF,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;aACZ,IAAI,EAAE;aACN,KAAK,CAAC,GAAG,CAAC;aACV,MAAM,CAAC,CAAC,EAAE,EAAE,CAAS,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CACpD,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,MAAM,CAAC,EAAE,AAAD,EAAG,AAAD,EAAG,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC5C,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;QACxC,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,EAAE,CAAC;QAC5B,iBAAM,CACJ,eAAI,CAAA;qBACW,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;;oBAEnB,CAAC,CAAC,EAAE,CAAC,qBAAU,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;;;OAG3D,EACD,IAAI,CAAC,OAAO,CACb,CAAC;IACJ,CAAC;CACF,CAAA;AAzCC;IADC,yBAAK,EAAE;;oCACM;AAFH,KAAK;IAHjB,4BAAQ,CAAC;QACR,QAAQ,EAAE,OAAO;KAClB,CAAC;GACW,KAAK,CA2CjB;AA3CY,sBAAK"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Registry = void 0;
|
|
10
|
+
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
11
|
+
let Registry = class Registry extends custom_attributes_1.Attribute {
|
|
12
|
+
};
|
|
13
|
+
Registry = __decorate([
|
|
14
|
+
custom_attributes_1.Modifier({
|
|
15
|
+
selector: 'registry',
|
|
16
|
+
registry() {
|
|
17
|
+
return new custom_attributes_1.CustomAttributeRegistry(this);
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
], Registry);
|
|
21
|
+
exports.Registry = Registry;
|
|
22
|
+
//# sourceMappingURL=registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/angular/registry.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAIkC;AAQlC,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,6BAAS;CAAG,CAAA;AAA7B,QAAQ;IANpB,4BAAQ,CAAC;QACR,QAAQ,EAAE,UAAU;QACpB,QAAQ;YACN,OAAO,IAAI,2CAAuB,CAAC,IAAI,CAAC,CAAC;QAC3C,CAAC;KACF,CAAC;GACW,QAAQ,CAAqB;AAA7B,4BAAQ"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.FlexAlign = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class FlexAlign extends custom_attributes_1.Attribute {
|
|
6
|
-
static options() {
|
|
7
|
-
return {
|
|
8
|
-
name: 'fxFlexAlign'
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
+
let FlexAlign = class FlexAlign extends custom_attributes_1.Attribute {
|
|
11
12
|
OnInit() {
|
|
12
13
|
this.modify();
|
|
13
14
|
}
|
|
@@ -27,6 +28,11 @@ class FlexAlign extends custom_attributes_1.Attribute {
|
|
|
27
28
|
'align-self': this.value || null
|
|
28
29
|
})(this.element);
|
|
29
30
|
}
|
|
30
|
-
}
|
|
31
|
+
};
|
|
32
|
+
FlexAlign = __decorate([
|
|
33
|
+
custom_attributes_1.Modifier({
|
|
34
|
+
selector: 'fxFlexAlign'
|
|
35
|
+
})
|
|
36
|
+
], FlexAlign);
|
|
31
37
|
exports.FlexAlign = FlexAlign;
|
|
32
38
|
//# sourceMappingURL=flex-align.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex-align.js","sourceRoot":"","sources":["../../src/layout/flex-align.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flex-align.js","sourceRoot":"","sources":["../../src/layout/flex-align.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAA+D;AAS/D,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,6BAAiB;IAC9C,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,SAAS;QACP,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,SAAS,CAAC;YACb,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEO,MAAM;QACZ,IAAI,CAAC,SAAS,CAAC;YACb,YAAY,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI;SACjC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACF,CAAA;AAxBY,SAAS;IAHrB,4BAAQ,CAAC;QACR,QAAQ,EAAE,aAAa;KACxB,CAAC;GACW,SAAS,CAwBrB;AAxBY,8BAAS"}
|
package/dist/layout/flex-fill.js
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.FlexFill = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class FlexFill extends custom_attributes_1.Attribute {
|
|
11
|
+
let FlexFill = class FlexFill extends custom_attributes_1.Attribute {
|
|
6
12
|
constructor() {
|
|
7
13
|
super(...arguments);
|
|
8
14
|
this.value = '100%';
|
|
9
15
|
}
|
|
10
16
|
static options() {
|
|
11
17
|
return {
|
|
12
|
-
|
|
18
|
+
selector: 'fxFlexFill'
|
|
13
19
|
};
|
|
14
20
|
}
|
|
15
21
|
OnInit() {
|
|
@@ -39,6 +45,11 @@ class FlexFill extends custom_attributes_1.Attribute {
|
|
|
39
45
|
width: this.value
|
|
40
46
|
})(this.element);
|
|
41
47
|
}
|
|
42
|
-
}
|
|
48
|
+
};
|
|
49
|
+
FlexFill = __decorate([
|
|
50
|
+
custom_attributes_1.Modifier({
|
|
51
|
+
selector: 'fxFlexFill'
|
|
52
|
+
})
|
|
53
|
+
], FlexFill);
|
|
43
54
|
exports.FlexFill = FlexFill;
|
|
44
55
|
//# sourceMappingURL=flex-fill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex-fill.js","sourceRoot":"","sources":["../../src/layout/flex-fill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flex-fill.js","sourceRoot":"","sources":["../../src/layout/flex-fill.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAA+D;AAa/D,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,6BAAiB;IAA/C;;QAOE,UAAK,GAAG,MAAM,CAAC;IAiCjB,CAAC;IAvCC,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,QAAQ,EAAE,YAAY;SACvB,CAAC;IACJ,CAAC;IAID,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,SAAS;QACP,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,SAAS,CAAC;YACb,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,IAAI;YACZ,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE,IAAI;YACjB,KAAK,EAAE,IAAI;SACZ,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEO,MAAM;QACZ,IAAI,CAAC,SAAS,CAAC;YACb,MAAM,EAAE,GAAG;YACX,MAAM,EAAE,IAAI,CAAC,KAAK;YAClB,YAAY,EAAE,IAAI,CAAC,KAAK;YACxB,WAAW,EAAE,IAAI,CAAC,KAAK;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACF,CAAA;AAxCY,QAAQ;IAHpB,4BAAQ,CAAC;QACR,QAAQ,EAAE,YAAY;KACvB,CAAC;GACW,QAAQ,CAwCpB;AAxCY,4BAAQ"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.FlexOffset = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class FlexOffset extends custom_attributes_1.Attribute {
|
|
6
|
-
static options() {
|
|
7
|
-
return {
|
|
8
|
-
name: 'fxFlexOffset'
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
+
let FlexOffset = class FlexOffset extends custom_attributes_1.Attribute {
|
|
11
12
|
OnInit() {
|
|
12
13
|
this.modify();
|
|
13
14
|
}
|
|
@@ -27,6 +28,11 @@ class FlexOffset extends custom_attributes_1.Attribute {
|
|
|
27
28
|
'margin-left': this.value || null
|
|
28
29
|
})(this.element);
|
|
29
30
|
}
|
|
30
|
-
}
|
|
31
|
+
};
|
|
32
|
+
FlexOffset = __decorate([
|
|
33
|
+
custom_attributes_1.Modifier({
|
|
34
|
+
selector: 'fxFlexOffset'
|
|
35
|
+
})
|
|
36
|
+
], FlexOffset);
|
|
31
37
|
exports.FlexOffset = FlexOffset;
|
|
32
38
|
//# sourceMappingURL=flex-offset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex-offset.js","sourceRoot":"","sources":["../../src/layout/flex-offset.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flex-offset.js","sourceRoot":"","sources":["../../src/layout/flex-offset.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAA+D;AAS/D,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,6BAAiB;IAC/C,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,SAAS;QACP,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,SAAS,CAAC;YACb,aAAa,EAAE,IAAI;SACpB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEO,MAAM;QACZ,IAAI,CAAC,SAAS,CAAC;YACb,aAAa,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI;SAClC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACF,CAAA;AAxBY,UAAU;IAHtB,4BAAQ,CAAC;QACR,QAAQ,EAAE,cAAc;KACzB,CAAC;GACW,UAAU,CAwBtB;AAxBY,gCAAU"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.FlexOrder = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class FlexOrder extends custom_attributes_1.Attribute {
|
|
11
|
+
let FlexOrder = class FlexOrder extends custom_attributes_1.Attribute {
|
|
6
12
|
static options() {
|
|
7
13
|
return {
|
|
8
|
-
|
|
14
|
+
selector: 'fxFlexOrder'
|
|
9
15
|
};
|
|
10
16
|
}
|
|
11
17
|
OnInit() {
|
|
@@ -27,6 +33,11 @@ class FlexOrder extends custom_attributes_1.Attribute {
|
|
|
27
33
|
order: this.value || null
|
|
28
34
|
})(this.element);
|
|
29
35
|
}
|
|
30
|
-
}
|
|
36
|
+
};
|
|
37
|
+
FlexOrder = __decorate([
|
|
38
|
+
custom_attributes_1.Modifier({
|
|
39
|
+
selector: 'fxFlexOrder'
|
|
40
|
+
})
|
|
41
|
+
], FlexOrder);
|
|
31
42
|
exports.FlexOrder = FlexOrder;
|
|
32
43
|
//# sourceMappingURL=flex-order.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex-order.js","sourceRoot":"","sources":["../../src/layout/flex-order.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flex-order.js","sourceRoot":"","sources":["../../src/layout/flex-order.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAA+D;AAS/D,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,6BAAiB;IAC9C,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,QAAQ,EAAE,aAAa;SACxB,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,SAAS;QACP,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,SAAS,CAAC;YACb,KAAK,EAAE,IAAI;SACZ,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEO,MAAM;QACZ,IAAI,CAAC,SAAS,CAAC;YACb,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI;SAC1B,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACF,CAAA;AA9BY,SAAS;IAHrB,4BAAQ,CAAC;QACR,QAAQ,EAAE,aAAa;KACxB,CAAC;GACW,SAAS,CA8BrB;AA9BY,8BAAS"}
|
package/dist/layout/flex.d.ts
CHANGED
package/dist/layout/flex.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.Flex = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class Flex extends custom_attributes_1.Attribute {
|
|
11
|
+
let Flex = class Flex extends custom_attributes_1.Attribute {
|
|
6
12
|
static options() {
|
|
7
13
|
return {
|
|
8
|
-
|
|
14
|
+
selector: 'fxFlex'
|
|
9
15
|
};
|
|
10
16
|
}
|
|
11
17
|
OnInit() {
|
|
@@ -31,6 +37,11 @@ class Flex extends custom_attributes_1.Attribute {
|
|
|
31
37
|
flex: '1 1 100%'
|
|
32
38
|
})(this.element);
|
|
33
39
|
}
|
|
34
|
-
}
|
|
40
|
+
};
|
|
41
|
+
Flex = __decorate([
|
|
42
|
+
custom_attributes_1.Modifier({
|
|
43
|
+
selector: 'fxFlex'
|
|
44
|
+
})
|
|
45
|
+
], Flex);
|
|
35
46
|
exports.Flex = Flex;
|
|
36
47
|
//# sourceMappingURL=flex.js.map
|
package/dist/layout/flex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.js","sourceRoot":"","sources":["../../src/layout/flex.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flex.js","sourceRoot":"","sources":["../../src/layout/flex.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAA+D;AAW/D,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,6BAAiB;IACzC,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,SAAS;QACP,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,SAAS,CAAC;YACb,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE,IAAI;YACjB,IAAI,EAAE,IAAI;SACX,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEO,MAAM;QACZ,IAAI,CAAC,SAAS,CAAC;YACb,YAAY,EAAE,YAAY;YAC1B,WAAW,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI;YAC/B,IAAI,EAAE,UAAU;SACjB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACF,CAAA;AAlCY,IAAI;IAHhB,4BAAQ,CAAC;QACR,QAAQ,EAAE,QAAQ;KACnB,CAAC;GACW,IAAI,CAkChB;AAlCY,oBAAI"}
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { Flex } from './flex';
|
|
2
|
-
import { FlexAlign } from './flex-align';
|
|
3
2
|
import { FlexFill } from './flex-fill';
|
|
4
|
-
import { FlexOffset } from './flex-offset';
|
|
5
3
|
import { FlexOrder } from './flex-order';
|
|
6
|
-
import {
|
|
7
|
-
import { LayoutAlign } from './layout-align';
|
|
8
|
-
import { LayoutGap } from './layout-gap';
|
|
4
|
+
import { Registry } from './registry';
|
|
9
5
|
export * from './layout';
|
|
10
|
-
export declare const FlexLayout: (typeof Flex | typeof
|
|
6
|
+
export declare const FlexLayout: (typeof Flex | typeof FlexFill | typeof FlexOrder | typeof Registry)[];
|
package/dist/layout/index.js
CHANGED
|
@@ -19,8 +19,10 @@ const flex_order_1 = require("./flex-order");
|
|
|
19
19
|
const layout_1 = require("./layout");
|
|
20
20
|
const layout_align_1 = require("./layout-align");
|
|
21
21
|
const layout_gap_1 = require("./layout-gap");
|
|
22
|
+
const registry_1 = require("./registry");
|
|
22
23
|
__exportStar(require("./layout"), exports);
|
|
23
24
|
exports.FlexLayout = [
|
|
25
|
+
registry_1.Registry,
|
|
24
26
|
layout_1.Layout,
|
|
25
27
|
layout_align_1.LayoutAlign,
|
|
26
28
|
layout_gap_1.LayoutGap,
|
package/dist/layout/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/layout/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,iCAA8B;AAC9B,6CAAyC;AACzC,2CAAuC;AACvC,+CAA2C;AAC3C,6CAAyC;AACzC,qCAAkC;AAClC,iDAA6C;AAC7C,6CAAyC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/layout/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,iCAA8B;AAC9B,6CAAyC;AACzC,2CAAuC;AACvC,+CAA2C;AAC3C,6CAAyC;AACzC,qCAAkC;AAClC,iDAA6C;AAC7C,6CAAyC;AACzC,yCAAsC;AAEtC,2CAAyB;AAEZ,QAAA,UAAU,GAAG;IACxB,mBAAQ;IACR,eAAM;IACN,0BAAW;IACX,sBAAS;IACT,oBAAQ;IACR,WAAI;IACJ,sBAAS;IACT,wBAAU;IACV,sBAAS;CACV,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.LayoutAlign = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class LayoutAlign extends custom_attributes_1.Attribute {
|
|
6
|
-
static options() {
|
|
7
|
-
return {
|
|
8
|
-
name: 'fxLayoutAlign'
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
+
let LayoutAlign = class LayoutAlign extends custom_attributes_1.Attribute {
|
|
11
12
|
OnInit() {
|
|
12
13
|
this.modify();
|
|
13
14
|
}
|
|
@@ -34,6 +35,11 @@ class LayoutAlign extends custom_attributes_1.Attribute {
|
|
|
34
35
|
display: 'flex'
|
|
35
36
|
})(this.element);
|
|
36
37
|
}
|
|
37
|
-
}
|
|
38
|
+
};
|
|
39
|
+
LayoutAlign = __decorate([
|
|
40
|
+
custom_attributes_1.Modifier({
|
|
41
|
+
selector: 'fxLayoutAlign'
|
|
42
|
+
})
|
|
43
|
+
], LayoutAlign);
|
|
38
44
|
exports.LayoutAlign = LayoutAlign;
|
|
39
45
|
//# sourceMappingURL=layout-align.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-align.js","sourceRoot":"","sources":["../../src/layout/layout-align.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout-align.js","sourceRoot":"","sources":["../../src/layout/layout-align.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAA+D;AAW/D,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,6BAAiB;IAChD,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,SAAS;QACP,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,SAAS,CAAC;YACb,aAAa,EAAE,IAAI;YACnB,eAAe,EAAE,IAAI;YACrB,OAAO,EAAE,IAAI;SACd,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEO,MAAM;QACZ,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACpD,IAAI,CAAC,SAAS,CAAC;YACb,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ;YAC/C,eAAe,EAAE,SAAS;gBACxB,CAAC,CAAC,GAAG,SAAS,IAAI,QAAQ,EAAE;gBAC5B,CAAC,CAAC,GAAG,QAAQ,IAAI,QAAQ,EAAE;YAC7B,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACF,CAAA;AA/BY,WAAW;IAHvB,4BAAQ,CAAC;QACR,QAAQ,EAAE,eAAe;KAC1B,CAAC;GACW,WAAW,CA+BvB;AA/BY,kCAAW"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.LayoutGap = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class LayoutGap extends custom_attributes_1.Attribute {
|
|
6
|
-
static options() {
|
|
7
|
-
return {
|
|
8
|
-
name: 'fxLayoutGap'
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
+
let LayoutGap = class LayoutGap extends custom_attributes_1.Attribute {
|
|
11
12
|
OnInit() {
|
|
12
13
|
this.modify();
|
|
13
14
|
this.observer = new MutationObserver(() => this.modify());
|
|
@@ -41,6 +42,11 @@ class LayoutGap extends custom_attributes_1.Attribute {
|
|
|
41
42
|
})(div);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
|
-
}
|
|
45
|
+
};
|
|
46
|
+
LayoutGap = __decorate([
|
|
47
|
+
custom_attributes_1.Modifier({
|
|
48
|
+
selector: 'fxLayoutGap'
|
|
49
|
+
})
|
|
50
|
+
], LayoutGap);
|
|
45
51
|
exports.LayoutGap = LayoutGap;
|
|
46
52
|
//# sourceMappingURL=layout-gap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-gap.js","sourceRoot":"","sources":["../../src/layout/layout-gap.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout-gap.js","sourceRoot":"","sources":["../../src/layout/layout-gap.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAA+D;AAU/D,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,6BAAiB;IAG9C,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QAC1D,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE;YAClC,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;SACd,CAAC,CAAC;IACL,CAAC;IAED,SAAS;QACP,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IAC7B,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,KAAK;QACX,MAAM,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAkB,CAAC;QACzD,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;YACtB,IAAI,CAAC,SAAS,CAAC;gBACb,IAAI,EAAE,IAAI;gBACV,MAAM,EAAE,IAAI;aACb,CAAC,CAAC,GAAG,CAAC,CAAC;SACT;IACH,CAAC;IAEO,MAAM;QACZ,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACnC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;YACtB,IAAI,CAAC,SAAS,CAAC;gBACb,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE,OAAO,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,MAAM;aAC9C,CAAC,CAAC,GAAG,CAAC,CAAC;SACT;IACH,CAAC;CACF,CAAA;AAxCY,SAAS;IAHrB,4BAAQ,CAAC;QACR,QAAQ,EAAE,aAAa;KACxB,CAAC;GACW,SAAS,CAwCrB;AAxCY,8BAAS"}
|
package/dist/layout/layout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attribute
|
|
1
|
+
import { Attribute } from '@rhtml/custom-attributes';
|
|
2
2
|
interface Styles {
|
|
3
3
|
'flex-flow': string;
|
|
4
4
|
'box-sizing': string;
|
|
@@ -6,10 +6,6 @@ interface Styles {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class Layout extends Attribute<Styles> {
|
|
8
8
|
value: string;
|
|
9
|
-
static options(this: HTMLElement): {
|
|
10
|
-
name: string;
|
|
11
|
-
registry: CustomAttributeRegistry;
|
|
12
|
-
};
|
|
13
9
|
OnInit(): void;
|
|
14
10
|
OnDestroy(): void;
|
|
15
11
|
OnUpdate(): void;
|
package/dist/layout/layout.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.Layout = void 0;
|
|
4
10
|
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
5
|
-
class Layout extends custom_attributes_1.Attribute {
|
|
11
|
+
let Layout = class Layout extends custom_attributes_1.Attribute {
|
|
6
12
|
constructor() {
|
|
7
13
|
super(...arguments);
|
|
8
14
|
this.value = 'row';
|
|
9
15
|
}
|
|
10
|
-
static options() {
|
|
11
|
-
return {
|
|
12
|
-
name: 'fxLayout',
|
|
13
|
-
registry: new custom_attributes_1.CustomAttributeRegistry(this.shadowRoot)
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
16
|
OnInit() {
|
|
17
17
|
this.modify();
|
|
18
18
|
}
|
|
@@ -38,6 +38,11 @@ class Layout extends custom_attributes_1.Attribute {
|
|
|
38
38
|
display: 'flex'
|
|
39
39
|
})(this.element);
|
|
40
40
|
}
|
|
41
|
-
}
|
|
41
|
+
};
|
|
42
|
+
Layout = __decorate([
|
|
43
|
+
custom_attributes_1.Modifier({
|
|
44
|
+
selector: 'fxLayout'
|
|
45
|
+
})
|
|
46
|
+
], Layout);
|
|
42
47
|
exports.Layout = Layout;
|
|
43
48
|
//# sourceMappingURL=layout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../src/layout/layout.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../src/layout/layout.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAA+D;AAW/D,IAAa,MAAM,GAAnB,MAAa,MAAO,SAAQ,6BAAiB;IAA7C;;QACE,UAAK,GAAG,KAAK,CAAC;IA8BhB,CAAC;IA5BC,MAAM;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,SAAS;QACP,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,SAAS,CAAC;YACb,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,IAAI;SACd,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IACO,MAAM;QACZ,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACvC,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC;QACvC,IAAI,CAAC,SAAS,CAAC;YACb,YAAY,EAAE,MAAM;YACpB,WAAW,EAAE,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,IAAI,SAAS,EAAE,CAAC,CAAC,CAAC,QAAQ;YACxE,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACF,CAAA;AA/BY,MAAM;IAHlB,4BAAQ,CAAC;QACR,QAAQ,EAAE,UAAU;KACrB,CAAC;GACW,MAAM,CA+BlB;AA/BY,wBAAM"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Registry = void 0;
|
|
10
|
+
const custom_attributes_1 = require("@rhtml/custom-attributes");
|
|
11
|
+
let Registry = class Registry extends custom_attributes_1.Attribute {
|
|
12
|
+
};
|
|
13
|
+
Registry = __decorate([
|
|
14
|
+
custom_attributes_1.Modifier({
|
|
15
|
+
selector: 'registry',
|
|
16
|
+
registry() {
|
|
17
|
+
return new custom_attributes_1.CustomAttributeRegistry(this);
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
], Registry);
|
|
21
|
+
exports.Registry = Registry;
|
|
22
|
+
//# sourceMappingURL=registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/layout/registry.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gEAIkC;AAQlC,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,6BAAS;CAAG,CAAA;AAA7B,QAAQ;IANpB,4BAAQ,CAAC;QACR,QAAQ,EAAE,UAAU;QACpB,QAAQ;YACN,OAAO,IAAI,2CAAuB,CAAC,IAAI,CAAC,CAAC;QAC3C,CAAC;KACF,CAAC;GACW,QAAQ,CAAqB;AAA7B,4BAAQ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhtml/modifiers",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.104",
|
|
4
4
|
"description": "Reactive HyperText Markup Language",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "npx parcel ./examples/index.html --out-dir build/examples",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@rxdi/lit-html": "^0.7.133",
|
|
20
|
-
"@rhtml/custom-attributes": "0.0.
|
|
20
|
+
"@rhtml/custom-attributes": "0.0.104"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"eslint": "^6.7.2",
|
package/src/angular/if.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
Attribute,
|
|
3
|
+
CustomAttributeRegistry,
|
|
4
|
+
Modifier
|
|
5
|
+
} from '@rhtml/custom-attributes';
|
|
2
6
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
registry: new CustomAttributeRegistry(this.shadowRoot)
|
|
8
|
-
};
|
|
7
|
+
@Modifier({
|
|
8
|
+
selector: 'ngIf',
|
|
9
|
+
registry(this) {
|
|
10
|
+
return new CustomAttributeRegistry(this);
|
|
9
11
|
}
|
|
12
|
+
})
|
|
13
|
+
export class IfOperator extends Attribute {
|
|
10
14
|
OnInit() {
|
|
11
15
|
this.setColor();
|
|
12
16
|
}
|
package/src/angular/index.ts
CHANGED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Attribute, Input, Modifier } from '@rhtml/custom-attributes';
|
|
2
|
+
import { html, render, unsafeHTML } from '@rxdi/lit-html';
|
|
3
|
+
|
|
4
|
+
@Modifier({
|
|
5
|
+
selector: 'ngFor'
|
|
6
|
+
})
|
|
7
|
+
export class NgFor extends Attribute {
|
|
8
|
+
@Input()
|
|
9
|
+
ngFor: string;
|
|
10
|
+
|
|
11
|
+
regexes = [/\${[^{]+}/g, /\@\{(.*?)(?!\@\{)\}/g, /{([^}]+)}/g];
|
|
12
|
+
|
|
13
|
+
OnInit() {
|
|
14
|
+
this.modify();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
OnDestroy() {
|
|
18
|
+
//
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
OnUpdate() {
|
|
22
|
+
this.modify();
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
private interpolate(object, string: string) {
|
|
26
|
+
return string.replace(this.regexes[2], match =>
|
|
27
|
+
match
|
|
28
|
+
.slice(2, -1)
|
|
29
|
+
.trim()
|
|
30
|
+
.split('.')
|
|
31
|
+
.reduce((el, k: string) => String(el[k]), object)
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
modify() {
|
|
36
|
+
const [, , , items] = this.ngFor.split(' ');
|
|
37
|
+
const template = this.element.innerHTML;
|
|
38
|
+
this.element.innerHTML = '';
|
|
39
|
+
render(
|
|
40
|
+
html`
|
|
41
|
+
<r-for .of=${this.parent[items]}>
|
|
42
|
+
<r-let
|
|
43
|
+
.item=${i => unsafeHTML(this.interpolate(i, template))}
|
|
44
|
+
></r-let>
|
|
45
|
+
</r-for>
|
|
46
|
+
`,
|
|
47
|
+
this.element
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Attribute,
|
|
3
|
+
CustomAttributeRegistry,
|
|
4
|
+
Modifier
|
|
5
|
+
} from '@rhtml/custom-attributes';
|
|
6
|
+
|
|
7
|
+
@Modifier({
|
|
8
|
+
selector: 'registry',
|
|
9
|
+
registry(this) {
|
|
10
|
+
return new CustomAttributeRegistry(this);
|
|
11
|
+
}
|
|
12
|
+
})
|
|
13
|
+
export class Registry extends Attribute {}
|
package/src/layout/flex-align.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { Attribute } from '@rhtml/custom-attributes';
|
|
1
|
+
import { Attribute, Modifier } from '@rhtml/custom-attributes';
|
|
2
2
|
|
|
3
3
|
interface Styles {
|
|
4
4
|
'align-self': string;
|
|
5
5
|
}
|
|
6
|
-
export class FlexAlign extends Attribute<Styles> {
|
|
7
|
-
static options(this: HTMLElement) {
|
|
8
|
-
return {
|
|
9
|
-
name: 'fxFlexAlign'
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
6
|
|
|
7
|
+
@Modifier({
|
|
8
|
+
selector: 'fxFlexAlign'
|
|
9
|
+
})
|
|
10
|
+
export class FlexAlign extends Attribute<Styles> {
|
|
13
11
|
OnInit() {
|
|
14
12
|
this.modify();
|
|
15
13
|
}
|
package/src/layout/flex-fill.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attribute } from '@rhtml/custom-attributes';
|
|
1
|
+
import { Attribute, Modifier } from '@rhtml/custom-attributes';
|
|
2
2
|
|
|
3
3
|
interface Styles {
|
|
4
4
|
margin: string;
|
|
@@ -8,10 +8,13 @@ interface Styles {
|
|
|
8
8
|
'min-height': string;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
@Modifier({
|
|
12
|
+
selector: 'fxFlexFill'
|
|
13
|
+
})
|
|
11
14
|
export class FlexFill extends Attribute<Styles> {
|
|
12
15
|
static options(this: HTMLElement) {
|
|
13
16
|
return {
|
|
14
|
-
|
|
17
|
+
selector: 'fxFlexFill'
|
|
15
18
|
};
|
|
16
19
|
}
|
|
17
20
|
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { Attribute } from '@rhtml/custom-attributes';
|
|
1
|
+
import { Attribute, Modifier } from '@rhtml/custom-attributes';
|
|
2
2
|
|
|
3
3
|
interface Styles {
|
|
4
4
|
'margin-left': string;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
+
@Modifier({
|
|
8
|
+
selector: 'fxFlexOffset'
|
|
9
|
+
})
|
|
7
10
|
export class FlexOffset extends Attribute<Styles> {
|
|
8
|
-
static options(this: HTMLElement) {
|
|
9
|
-
return {
|
|
10
|
-
name: 'fxFlexOffset'
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
11
|
OnInit() {
|
|
15
12
|
this.modify();
|
|
16
13
|
}
|
package/src/layout/flex-order.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { Attribute } from '@rhtml/custom-attributes';
|
|
1
|
+
import { Attribute, Modifier } from '@rhtml/custom-attributes';
|
|
2
2
|
|
|
3
3
|
interface Styles {
|
|
4
4
|
order: string;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
+
@Modifier({
|
|
8
|
+
selector: 'fxFlexOrder'
|
|
9
|
+
})
|
|
7
10
|
export class FlexOrder extends Attribute<Styles> {
|
|
8
11
|
static options(this: HTMLElement) {
|
|
9
12
|
return {
|
|
10
|
-
|
|
13
|
+
selector: 'fxFlexOrder'
|
|
11
14
|
};
|
|
12
15
|
}
|
|
13
16
|
|
package/src/layout/flex.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attribute } from '@rhtml/custom-attributes';
|
|
1
|
+
import { Attribute, Modifier } from '@rhtml/custom-attributes';
|
|
2
2
|
|
|
3
3
|
interface Styles {
|
|
4
4
|
flex: string;
|
|
@@ -6,10 +6,13 @@ interface Styles {
|
|
|
6
6
|
'max-width': string;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
@Modifier({
|
|
10
|
+
selector: 'fxFlex'
|
|
11
|
+
})
|
|
9
12
|
export class Flex extends Attribute<Styles> {
|
|
10
13
|
static options(this: HTMLElement) {
|
|
11
14
|
return {
|
|
12
|
-
|
|
15
|
+
selector: 'fxFlex'
|
|
13
16
|
};
|
|
14
17
|
}
|
|
15
18
|
|
package/src/layout/index.ts
CHANGED
|
@@ -6,10 +6,12 @@ import { FlexOrder } from './flex-order';
|
|
|
6
6
|
import { Layout } from './layout';
|
|
7
7
|
import { LayoutAlign } from './layout-align';
|
|
8
8
|
import { LayoutGap } from './layout-gap';
|
|
9
|
+
import { Registry } from './registry';
|
|
9
10
|
|
|
10
11
|
export * from './layout';
|
|
11
12
|
|
|
12
13
|
export const FlexLayout = [
|
|
14
|
+
Registry,
|
|
13
15
|
Layout,
|
|
14
16
|
LayoutAlign,
|
|
15
17
|
LayoutGap,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attribute } from '@rhtml/custom-attributes';
|
|
1
|
+
import { Attribute, Modifier } from '@rhtml/custom-attributes';
|
|
2
2
|
|
|
3
3
|
interface Styles {
|
|
4
4
|
'place-content': string;
|
|
@@ -6,13 +6,10 @@ interface Styles {
|
|
|
6
6
|
display: string;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
@Modifier({
|
|
10
|
+
selector: 'fxLayoutAlign'
|
|
11
|
+
})
|
|
9
12
|
export class LayoutAlign extends Attribute<Styles> {
|
|
10
|
-
static options(this: HTMLElement) {
|
|
11
|
-
return {
|
|
12
|
-
name: 'fxLayoutAlign'
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
13
|
OnInit() {
|
|
17
14
|
this.modify();
|
|
18
15
|
}
|
package/src/layout/layout-gap.ts
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { Attribute } from '@rhtml/custom-attributes';
|
|
1
|
+
import { Attribute, Modifier } from '@rhtml/custom-attributes';
|
|
2
2
|
|
|
3
3
|
interface Styles {
|
|
4
4
|
margin: string;
|
|
5
5
|
flex: string;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
@Modifier({
|
|
9
|
+
selector: 'fxLayoutGap'
|
|
10
|
+
})
|
|
8
11
|
export class LayoutGap extends Attribute<Styles> {
|
|
9
|
-
static options(this: HTMLElement) {
|
|
10
|
-
return {
|
|
11
|
-
name: 'fxLayoutGap'
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
12
|
private observer: MutationObserver;
|
|
16
13
|
|
|
17
14
|
OnInit() {
|
package/src/layout/layout.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attribute,
|
|
1
|
+
import { Attribute, Modifier } from '@rhtml/custom-attributes';
|
|
2
2
|
|
|
3
3
|
interface Styles {
|
|
4
4
|
'flex-flow': string;
|
|
@@ -6,14 +6,11 @@ interface Styles {
|
|
|
6
6
|
display: string;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
@Modifier({
|
|
10
|
+
selector: 'fxLayout'
|
|
11
|
+
})
|
|
9
12
|
export class Layout extends Attribute<Styles> {
|
|
10
13
|
value = 'row';
|
|
11
|
-
static options(this: HTMLElement) {
|
|
12
|
-
return {
|
|
13
|
-
name: 'fxLayout',
|
|
14
|
-
registry: new CustomAttributeRegistry(this.shadowRoot)
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
14
|
|
|
18
15
|
OnInit() {
|
|
19
16
|
this.modify();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Attribute,
|
|
3
|
+
CustomAttributeRegistry,
|
|
4
|
+
Modifier
|
|
5
|
+
} from '@rhtml/custom-attributes';
|
|
6
|
+
|
|
7
|
+
@Modifier({
|
|
8
|
+
selector: 'registry',
|
|
9
|
+
registry(this) {
|
|
10
|
+
return new CustomAttributeRegistry(this);
|
|
11
|
+
}
|
|
12
|
+
})
|
|
13
|
+
export class Registry extends Attribute {}
|