@intelact/bright 0.8.2 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/asset.js +24 -0
- package/lib/models/asset.js.map +1 -1
- package/lib/models/author.d.ts +1 -0
- package/lib/models/author.js +25 -0
- package/lib/models/author.js.map +1 -1
- package/lib/models/boost.js +15 -2
- package/lib/models/boost.js.map +1 -1
- package/lib/models/brand.js +76 -1
- package/lib/models/brand.js.map +1 -1
- package/lib/models/category.js +15 -0
- package/lib/models/category.js.map +1 -1
- package/lib/models/collection.js +6 -0
- package/lib/models/collection.js.map +1 -1
- package/lib/models/feedback.js +31 -0
- package/lib/models/feedback.js.map +1 -1
- package/lib/models/gallery.js +9 -0
- package/lib/models/gallery.js.map +1 -1
- package/lib/models/item.js.map +1 -1
- package/lib/models/link.d.ts +4 -2
- package/lib/models/link.js +7 -4
- package/lib/models/link.js.map +1 -1
- package/lib/models/notification.js +28 -1
- package/lib/models/notification.js.map +1 -1
- package/lib/models/post.js +77 -0
- package/lib/models/post.js.map +1 -1
- package/lib/models/promotion.js +19 -0
- package/lib/models/promotion.js.map +1 -1
- package/lib/models/publisher.js +32 -0
- package/lib/models/publisher.js.map +1 -1
- package/lib/models/question.d.ts +1 -0
- package/lib/models/question.js +86 -0
- package/lib/models/question.js.map +1 -1
- package/lib/models/quote.js +6 -0
- package/lib/models/quote.js.map +1 -1
- package/lib/models/survey.js +39 -0
- package/lib/models/survey.js.map +1 -1
- package/lib/models/topic.js +15 -0
- package/lib/models/topic.js.map +1 -1
- package/lib/models/user.js +47 -1
- package/lib/models/user.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/lib/models/asset.js
CHANGED
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.Asset = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
|
+
const enums_1 = require("../enums");
|
14
15
|
class Asset {
|
15
16
|
id;
|
16
17
|
type;
|
@@ -24,7 +25,30 @@ class Asset {
|
|
24
25
|
}
|
25
26
|
exports.Asset = Asset;
|
26
27
|
__decorate([
|
28
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
27
29
|
(0, class_transformer_1.Type)(() => Number),
|
28
30
|
__metadata("design:type", Number)
|
29
31
|
], Asset.prototype, "id", void 0);
|
32
|
+
__decorate([
|
33
|
+
(0, class_transformer_1.Expose)(),
|
34
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
35
|
+
__metadata("design:type", String)
|
36
|
+
], Asset.prototype, "type", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, class_transformer_1.Expose)(),
|
39
|
+
__metadata("design:type", String)
|
40
|
+
], Asset.prototype, "url", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, class_transformer_1.Expose)(),
|
43
|
+
__metadata("design:type", String)
|
44
|
+
], Asset.prototype, "title", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, class_transformer_1.Expose)(),
|
47
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
48
|
+
__metadata("design:type", Array)
|
49
|
+
], Asset.prototype, "tags", void 0);
|
50
|
+
__decorate([
|
51
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
52
|
+
__metadata("design:type", String)
|
53
|
+
], Asset.prototype, "mimeType", void 0);
|
30
54
|
//# sourceMappingURL=asset.js.map
|
package/lib/models/asset.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../src/models/asset.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../src/models/asset.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,oCAAqC;AAKrC,MAAa,KAAK;IAIjB,EAAE,CAAS;IAIX,IAAI,CAAY;IAGhB,GAAG,CAAS;IAGZ,KAAK,CAAS;IAId,IAAI,CAAW;IAGf,QAAQ,CAAS;IAEjB,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1BD,sBA0BC;AAtBA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;mCACd;AAGhB;IADC,IAAA,0BAAM,GAAE;;kCACG;AAGZ;IADC,IAAA,0BAAM,GAAE;;oCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;mCACf;AAGf;IADC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;uCACb"}
|
package/lib/models/author.d.ts
CHANGED
package/lib/models/author.js
CHANGED
@@ -19,21 +19,46 @@ class Author {
|
|
19
19
|
imageUrl;
|
20
20
|
totalPosts;
|
21
21
|
totalQuestionsComments;
|
22
|
+
totalQuestions;
|
22
23
|
constructor(props) {
|
23
24
|
Object.assign(this, props);
|
24
25
|
}
|
25
26
|
}
|
26
27
|
exports.Author = Author;
|
27
28
|
__decorate([
|
29
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
28
30
|
(0, class_transformer_1.Type)(() => Number),
|
29
31
|
__metadata("design:type", Number)
|
30
32
|
], Author.prototype, "id", void 0);
|
31
33
|
__decorate([
|
34
|
+
(0, class_transformer_1.Expose)(),
|
35
|
+
__metadata("design:type", String)
|
36
|
+
], Author.prototype, "slug", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, class_transformer_1.Expose)(),
|
39
|
+
__metadata("design:type", String)
|
40
|
+
], Author.prototype, "name", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, class_transformer_1.Expose)(),
|
43
|
+
__metadata("design:type", String)
|
44
|
+
], Author.prototype, "biography", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, class_transformer_1.Expose)(),
|
47
|
+
__metadata("design:type", String)
|
48
|
+
], Author.prototype, "imageUrl", void 0);
|
49
|
+
__decorate([
|
50
|
+
(0, class_transformer_1.Expose)(),
|
32
51
|
(0, class_transformer_1.Type)(() => Number),
|
33
52
|
__metadata("design:type", Number)
|
34
53
|
], Author.prototype, "totalPosts", void 0);
|
35
54
|
__decorate([
|
55
|
+
(0, class_transformer_1.Expose)(),
|
36
56
|
(0, class_transformer_1.Type)(() => Number),
|
37
57
|
__metadata("design:type", Number)
|
38
58
|
], Author.prototype, "totalQuestionsComments", void 0);
|
59
|
+
__decorate([
|
60
|
+
(0, class_transformer_1.Expose)(),
|
61
|
+
(0, class_transformer_1.Type)(() => Number),
|
62
|
+
__metadata("design:type", Number)
|
63
|
+
], Author.prototype, "totalQuestions", void 0);
|
39
64
|
//# sourceMappingURL=author.js.map
|
package/lib/models/author.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"author.js","sourceRoot":"","sources":["../../src/models/author.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"author.js","sourceRoot":"","sources":["../../src/models/author.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAKjD,MAAa,MAAM;IAIlB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,SAAS,CAAS;IAGlB,QAAQ,CAAS;IAIjB,UAAU,CAAS;IAInB,sBAAsB,CAAS;IAO/B,cAAc,CAAS;IAEvB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AApCD,wBAoCC;AAhCA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;yCACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;wCACQ;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACA;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sDACY;AAO/B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACI"}
|
package/lib/models/boost.js
CHANGED
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Boost = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
14
|
const post_1 = require("./post");
|
15
|
-
class Boost {
|
15
|
+
let Boost = class Boost {
|
16
16
|
id;
|
17
17
|
title;
|
18
18
|
startDate;
|
@@ -22,26 +22,39 @@ class Boost {
|
|
22
22
|
constructor(props) {
|
23
23
|
Object.assign(this, props);
|
24
24
|
}
|
25
|
-
}
|
25
|
+
};
|
26
26
|
exports.Boost = Boost;
|
27
27
|
__decorate([
|
28
|
+
(0, class_transformer_1.Expose)(),
|
28
29
|
(0, class_transformer_1.Type)(() => Number),
|
29
30
|
__metadata("design:type", Number)
|
30
31
|
], Boost.prototype, "id", void 0);
|
31
32
|
__decorate([
|
33
|
+
(0, class_transformer_1.Expose)(),
|
34
|
+
__metadata("design:type", String)
|
35
|
+
], Boost.prototype, "title", void 0);
|
36
|
+
__decorate([
|
37
|
+
(0, class_transformer_1.Expose)(),
|
32
38
|
(0, class_transformer_1.Type)(() => Date),
|
33
39
|
__metadata("design:type", Date)
|
34
40
|
], Boost.prototype, "startDate", void 0);
|
35
41
|
__decorate([
|
42
|
+
(0, class_transformer_1.Expose)(),
|
36
43
|
(0, class_transformer_1.Type)(() => Date),
|
37
44
|
__metadata("design:type", Date)
|
38
45
|
], Boost.prototype, "endDate", void 0);
|
39
46
|
__decorate([
|
47
|
+
(0, class_transformer_1.Expose)(),
|
40
48
|
(0, class_transformer_1.Type)(() => Number),
|
41
49
|
__metadata("design:type", Number)
|
42
50
|
], Boost.prototype, "totalItems", void 0);
|
43
51
|
__decorate([
|
52
|
+
(0, class_transformer_1.Expose)(),
|
44
53
|
(0, class_transformer_1.Type)(() => post_1.Post),
|
45
54
|
__metadata("design:type", Array)
|
46
55
|
], Boost.prototype, "items", void 0);
|
56
|
+
exports.Boost = Boost = __decorate([
|
57
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
58
|
+
__metadata("design:paramtypes", [Object])
|
59
|
+
], Boost);
|
47
60
|
//# sourceMappingURL=boost.js.map
|
package/lib/models/boost.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"boost.js","sourceRoot":"","sources":["../../src/models/boost.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"boost.js","sourceRoot":"","sources":["../../src/models/boost.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,iCAA8B;AAGvB,IAAM,KAAK,GAAX,MAAM,KAAK;IAIjB,EAAE,CAAS;IAGX,KAAK,CAAS;IAId,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,UAAU,CAAS;IAInB,KAAK,CAAS;IAEd,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD,CAAA;AA5BY,sBAAK;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;oCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;wCAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;sCAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;yCACA;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;;oCACH;gBAvBF,KAAK;IADjB,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;GACjB,KAAK,CA4BjB"}
|
package/lib/models/brand.js
CHANGED
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.BrandSetting = exports.Brand = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
|
+
const enums_1 = require("../enums");
|
14
15
|
const publisher_1 = require("./publisher");
|
15
16
|
class Brand {
|
16
17
|
id;
|
@@ -36,22 +37,75 @@ class Brand {
|
|
36
37
|
}
|
37
38
|
exports.Brand = Brand;
|
38
39
|
__decorate([
|
40
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
39
41
|
(0, class_transformer_1.Type)(() => Number),
|
40
42
|
__metadata("design:type", Number)
|
41
43
|
], Brand.prototype, "id", void 0);
|
42
44
|
__decorate([
|
45
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
46
|
+
__metadata("design:type", String)
|
47
|
+
], Brand.prototype, "name", void 0);
|
48
|
+
__decorate([
|
49
|
+
(0, class_transformer_1.Expose)(),
|
50
|
+
__metadata("design:type", String)
|
51
|
+
], Brand.prototype, "title", void 0);
|
52
|
+
__decorate([
|
53
|
+
(0, class_transformer_1.Expose)(),
|
54
|
+
__metadata("design:type", String)
|
55
|
+
], Brand.prototype, "slogan", void 0);
|
56
|
+
__decorate([
|
57
|
+
(0, class_transformer_1.Expose)(),
|
58
|
+
__metadata("design:type", String)
|
59
|
+
], Brand.prototype, "url", void 0);
|
60
|
+
__decorate([
|
61
|
+
(0, class_transformer_1.Expose)(),
|
62
|
+
__metadata("design:type", String)
|
63
|
+
], Brand.prototype, "email", void 0);
|
64
|
+
__decorate([
|
65
|
+
(0, class_transformer_1.Expose)(),
|
66
|
+
__metadata("design:type", String)
|
67
|
+
], Brand.prototype, "description", void 0);
|
68
|
+
__decorate([
|
69
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
70
|
+
__metadata("design:type", String)
|
71
|
+
], Brand.prototype, "language", void 0);
|
72
|
+
__decorate([
|
73
|
+
(0, class_transformer_1.Expose)(),
|
74
|
+
__metadata("design:type", String)
|
75
|
+
], Brand.prototype, "logo", void 0);
|
76
|
+
__decorate([
|
77
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
78
|
+
__metadata("design:type", String)
|
79
|
+
], Brand.prototype, "status", void 0);
|
80
|
+
__decorate([
|
81
|
+
(0, class_transformer_1.Expose)(),
|
43
82
|
(0, class_transformer_1.Type)(() => Boolean),
|
44
83
|
__metadata("design:type", Boolean)
|
45
84
|
], Brand.prototype, "maintaince", void 0);
|
46
85
|
__decorate([
|
86
|
+
(0, class_transformer_1.Expose)(),
|
87
|
+
__metadata("design:type", String)
|
88
|
+
], Brand.prototype, "apiVersion", void 0);
|
89
|
+
__decorate([
|
90
|
+
(0, class_transformer_1.Expose)(),
|
47
91
|
(0, class_transformer_1.Type)(() => Boolean),
|
48
92
|
__metadata("design:type", Boolean)
|
49
93
|
], Brand.prototype, "appUpgrade", void 0);
|
50
94
|
__decorate([
|
95
|
+
(0, class_transformer_1.Expose)(),
|
96
|
+
__metadata("design:type", Array)
|
97
|
+
], Brand.prototype, "modules", void 0);
|
98
|
+
__decorate([
|
99
|
+
(0, class_transformer_1.Expose)(),
|
100
|
+
__metadata("design:type", Array)
|
101
|
+
], Brand.prototype, "contentTypes", void 0);
|
102
|
+
__decorate([
|
103
|
+
(0, class_transformer_1.Expose)(),
|
51
104
|
(0, class_transformer_1.Type)(() => BrandSetting),
|
52
105
|
__metadata("design:type", Array)
|
53
106
|
], Brand.prototype, "settings", void 0);
|
54
107
|
__decorate([
|
108
|
+
(0, class_transformer_1.Expose)(),
|
55
109
|
(0, class_transformer_1.Type)(() => publisher_1.Publisher),
|
56
110
|
__metadata("design:type", Array)
|
57
111
|
], Brand.prototype, "publishers", void 0);
|
@@ -69,10 +123,31 @@ class BrandSetting {
|
|
69
123
|
}
|
70
124
|
exports.BrandSetting = BrandSetting;
|
71
125
|
__decorate([
|
72
|
-
(0, class_transformer_1.
|
126
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
73
127
|
__metadata("design:type", Number)
|
74
128
|
], BrandSetting.prototype, "id", void 0);
|
75
129
|
__decorate([
|
130
|
+
(0, class_transformer_1.Expose)(),
|
131
|
+
__metadata("design:type", String)
|
132
|
+
], BrandSetting.prototype, "scope", void 0);
|
133
|
+
__decorate([
|
134
|
+
(0, class_transformer_1.Expose)(),
|
135
|
+
__metadata("design:type", String)
|
136
|
+
], BrandSetting.prototype, "name", void 0);
|
137
|
+
__decorate([
|
138
|
+
(0, class_transformer_1.Expose)(),
|
139
|
+
__metadata("design:type", String)
|
140
|
+
], BrandSetting.prototype, "value", void 0);
|
141
|
+
__decorate([
|
142
|
+
(0, class_transformer_1.Expose)(),
|
143
|
+
__metadata("design:type", String)
|
144
|
+
], BrandSetting.prototype, "title", void 0);
|
145
|
+
__decorate([
|
146
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
147
|
+
__metadata("design:type", String)
|
148
|
+
], BrandSetting.prototype, "description", void 0);
|
149
|
+
__decorate([
|
150
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
76
151
|
(0, class_transformer_1.Type)(() => Brand),
|
77
152
|
__metadata("design:type", Brand)
|
78
153
|
], BrandSetting.prototype, "brand", void 0);
|
package/lib/models/brand.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"brand.js","sourceRoot":"","sources":["../../src/models/brand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"brand.js","sourceRoot":"","sources":["../../src/models/brand.ts"],"names":[],"mappings":"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"}
|
package/lib/models/category.js
CHANGED
@@ -24,14 +24,29 @@ class Category {
|
|
24
24
|
}
|
25
25
|
exports.Category = Category;
|
26
26
|
__decorate([
|
27
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
27
28
|
(0, class_transformer_1.Type)(() => Number),
|
28
29
|
__metadata("design:type", Number)
|
29
30
|
], Category.prototype, "id", void 0);
|
30
31
|
__decorate([
|
32
|
+
(0, class_transformer_1.Expose)(),
|
33
|
+
__metadata("design:type", String)
|
34
|
+
], Category.prototype, "title", void 0);
|
35
|
+
__decorate([
|
36
|
+
(0, class_transformer_1.Expose)(),
|
37
|
+
__metadata("design:type", String)
|
38
|
+
], Category.prototype, "hash", void 0);
|
39
|
+
__decorate([
|
40
|
+
(0, class_transformer_1.Expose)(),
|
41
|
+
__metadata("design:type", String)
|
42
|
+
], Category.prototype, "description", void 0);
|
43
|
+
__decorate([
|
44
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
31
45
|
(0, class_transformer_1.Type)(() => Number),
|
32
46
|
__metadata("design:type", Number)
|
33
47
|
], Category.prototype, "sort", void 0);
|
34
48
|
__decorate([
|
49
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
35
50
|
(0, class_transformer_1.Type)(() => Boolean),
|
36
51
|
__metadata("design:type", Boolean)
|
37
52
|
], Category.prototype, "questionEnabled", void 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"category.js","sourceRoot":"","sources":["../../src/models/category.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"category.js","sourceRoot":"","sources":["../../src/models/category.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAKjD,MAAa,QAAQ;IAIpB,EAAE,CAAS;IAGX,KAAK,CAAS;IAGd,IAAI,CAAS;IAGb,WAAW,CAAS;IAIpB,IAAI,CAAS;IAIb,eAAe,CAAU;IAEzB,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1BD,4BA0BC;AAtBA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;uCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;sCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;6CACW;AAIpB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACN;AAIb;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;iDACK"}
|
package/lib/models/collection.js
CHANGED
@@ -22,10 +22,16 @@ class Collection {
|
|
22
22
|
}
|
23
23
|
exports.Collection = Collection;
|
24
24
|
__decorate([
|
25
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
25
26
|
(0, class_transformer_1.Type)(() => Number),
|
26
27
|
__metadata("design:type", Number)
|
27
28
|
], Collection.prototype, "id", void 0);
|
28
29
|
__decorate([
|
30
|
+
(0, class_transformer_1.Expose)(),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], Collection.prototype, "title", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_transformer_1.Expose)(),
|
29
35
|
(0, class_transformer_1.Type)(() => post_1.Post),
|
30
36
|
__metadata("design:type", Array)
|
31
37
|
], Collection.prototype, "items", void 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collection.js","sourceRoot":"","sources":["../../src/models/collection.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"collection.js","sourceRoot":"","sources":["../../src/models/collection.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,iCAA8B;AAK9B,MAAa,UAAU;IAItB,EAAE,CAAS;IAGX,KAAK,CAAS;IAId,KAAK,CAAS;IAEd,YAAY,KAA2B;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhBD,gCAgBC;AAZA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;yCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;;yCACH"}
|
package/lib/models/feedback.js
CHANGED
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.FeedbackOption = exports.FeedbackItem = exports.Feedback = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
|
+
const enums_1 = require("../enums");
|
14
15
|
class Feedback {
|
15
16
|
id;
|
16
17
|
type;
|
@@ -23,10 +24,24 @@ class Feedback {
|
|
23
24
|
}
|
24
25
|
exports.Feedback = Feedback;
|
25
26
|
__decorate([
|
27
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
26
28
|
(0, class_transformer_1.Type)(() => Number),
|
27
29
|
__metadata("design:type", Number)
|
28
30
|
], Feedback.prototype, "id", void 0);
|
29
31
|
__decorate([
|
32
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
33
|
+
__metadata("design:type", String)
|
34
|
+
], Feedback.prototype, "type", void 0);
|
35
|
+
__decorate([
|
36
|
+
(0, class_transformer_1.Expose)(),
|
37
|
+
__metadata("design:type", String)
|
38
|
+
], Feedback.prototype, "title", void 0);
|
39
|
+
__decorate([
|
40
|
+
(0, class_transformer_1.Expose)(),
|
41
|
+
__metadata("design:type", String)
|
42
|
+
], Feedback.prototype, "description", void 0);
|
43
|
+
__decorate([
|
44
|
+
(0, class_transformer_1.Expose)(),
|
30
45
|
(0, class_transformer_1.Type)(() => FeedbackItem),
|
31
46
|
__metadata("design:type", Array)
|
32
47
|
], Feedback.prototype, "items", void 0);
|
@@ -43,22 +58,31 @@ class FeedbackItem {
|
|
43
58
|
}
|
44
59
|
exports.FeedbackItem = FeedbackItem;
|
45
60
|
__decorate([
|
61
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
46
62
|
(0, class_transformer_1.Type)(() => Number),
|
47
63
|
__metadata("design:type", Number)
|
48
64
|
], FeedbackItem.prototype, "id", void 0);
|
49
65
|
__decorate([
|
66
|
+
(0, class_transformer_1.Expose)(),
|
67
|
+
__metadata("design:type", String)
|
68
|
+
], FeedbackItem.prototype, "question", void 0);
|
69
|
+
__decorate([
|
70
|
+
(0, class_transformer_1.Expose)(),
|
50
71
|
(0, class_transformer_1.Type)(() => Boolean),
|
51
72
|
__metadata("design:type", Boolean)
|
52
73
|
], FeedbackItem.prototype, "multiple", void 0);
|
53
74
|
__decorate([
|
75
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
54
76
|
(0, class_transformer_1.Type)(() => Number),
|
55
77
|
__metadata("design:type", Number)
|
56
78
|
], FeedbackItem.prototype, "sort", void 0);
|
57
79
|
__decorate([
|
80
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
58
81
|
(0, class_transformer_1.Type)(() => Boolean),
|
59
82
|
__metadata("design:type", Boolean)
|
60
83
|
], FeedbackItem.prototype, "readonly", void 0);
|
61
84
|
__decorate([
|
85
|
+
(0, class_transformer_1.Expose)(),
|
62
86
|
(0, class_transformer_1.Type)(() => FeedbackOption),
|
63
87
|
__metadata("design:type", Array)
|
64
88
|
], FeedbackItem.prototype, "options", void 0);
|
@@ -73,14 +97,21 @@ class FeedbackOption {
|
|
73
97
|
}
|
74
98
|
exports.FeedbackOption = FeedbackOption;
|
75
99
|
__decorate([
|
100
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
76
101
|
(0, class_transformer_1.Type)(() => Number),
|
77
102
|
__metadata("design:type", Number)
|
78
103
|
], FeedbackOption.prototype, "id", void 0);
|
79
104
|
__decorate([
|
105
|
+
(0, class_transformer_1.Expose)(),
|
106
|
+
__metadata("design:type", String)
|
107
|
+
], FeedbackOption.prototype, "content", void 0);
|
108
|
+
__decorate([
|
109
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
80
110
|
(0, class_transformer_1.Type)(() => Number),
|
81
111
|
__metadata("design:type", Number)
|
82
112
|
], FeedbackOption.prototype, "sort", void 0);
|
83
113
|
__decorate([
|
114
|
+
(0, class_transformer_1.Expose)(),
|
84
115
|
(0, class_transformer_1.Type)(() => Boolean),
|
85
116
|
__metadata("design:type", Boolean)
|
86
117
|
], FeedbackOption.prototype, "isSelected", void 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"feedback.js","sourceRoot":"","sources":["../../src/models/feedback.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"feedback.js","sourceRoot":"","sources":["../../src/models/feedback.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,oCAAoC;AAEpC,MAAa,QAAQ;IAIpB,EAAE,CAAS;IAGX,IAAI,CAAW;IAGf,KAAK,CAAS;IAGd,WAAW,CAAQ;IAInB,KAAK,CAAiB;IAEtB,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtBD,4BAsBC;AAlBA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACR;AAGX;IADC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;sCACf;AAGf;IADC,IAAA,0BAAM,GAAE;;uCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;6CACU;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,YAAY,CAAC;;uCACH;AAOvB,MAAa,YAAY;IAIxB,EAAE,CAAS;IAGX,QAAQ,CAAS;IAIjB,QAAQ,CAAU;IAIlB,IAAI,CAAS;IAIb,QAAQ,CAAU;IAIlB,OAAO,CAAmB;IAE1B,YAAY,KAA6B;QACxC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA5BD,oCA4BC;AAxBA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;8CACQ;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACF;AAIlB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACN;AAIb;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,cAAc,CAAC;;6CACD;AAO3B,MAAa,cAAc;IAI1B,EAAE,CAAS;IAGX,OAAO,CAAS;IAIhB,IAAI,CAAS;IAIb,UAAU,CAAU;IAEpB,YAAY,KAA+B;QAC1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AApBD,wCAoBC;AAhBA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACR;AAGX;IADC,IAAA,0BAAM,GAAE;;+CACO;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACN;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;kDACA"}
|
package/lib/models/gallery.js
CHANGED
@@ -21,6 +21,15 @@ class GalleryItem {
|
|
21
21
|
}
|
22
22
|
exports.GalleryItem = GalleryItem;
|
23
23
|
__decorate([
|
24
|
+
(0, class_transformer_1.Expose)(),
|
25
|
+
__metadata("design:type", String)
|
26
|
+
], GalleryItem.prototype, "title", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, class_transformer_1.Expose)(),
|
29
|
+
__metadata("design:type", String)
|
30
|
+
], GalleryItem.prototype, "imageUrl", void 0);
|
31
|
+
__decorate([
|
32
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
24
33
|
(0, class_transformer_1.Type)(() => Number),
|
25
34
|
__metadata("design:type", Number)
|
26
35
|
], GalleryItem.prototype, "sort", void 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"gallery.js","sourceRoot":"","sources":["../../src/models/gallery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"gallery.js","sourceRoot":"","sources":["../../src/models/gallery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAKjD,MAAa,WAAW;IAGvB,KAAK,CAAS;IAGd,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAEb,YAAY,KAA4B;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAfD,kCAeC;AAZA;IADC,IAAA,0BAAM,GAAE;;0CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;6CACQ;AAIjB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;yCACN"}
|
package/lib/models/item.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../src/models/item.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAyC;AAWzC,MAAa,IAAI;IAKhB,IAAI,CAAU;IAMd,KAAK,CAAU;IAKf,KAAK,CAAK;IAMV,MAAM,CAAW;IAMjB,QAAQ,CAAW;IAKnB,IAAI,CAAY;IAKhB,YAAY,CAAY;IAKxB,KAAK,CAAO;
|
1
|
+
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../src/models/item.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAyC;AAWzC,MAAa,IAAI;IAKhB,IAAI,CAAU;IAMd,KAAK,CAAU;IAKf,KAAK,CAAK;IAMV,MAAM,CAAW;IAMjB,QAAQ,CAAW;IAKnB,IAAI,CAAY;IAKhB,YAAY,CAAY;IAKxB,KAAK,CAAO;IAEZ,YAAY,KAAqB;QAChC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhDD,oBAgDC;AA1BA;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACF;AAMjB;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACA"}
|
package/lib/models/link.d.ts
CHANGED
@@ -1,11 +1,13 @@
|
|
1
|
-
|
1
|
+
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
2
|
+
export declare class Link {
|
2
3
|
id?: string;
|
3
4
|
title?: string;
|
4
|
-
icon?:
|
5
|
+
icon?: IconProp;
|
5
6
|
iconName?: any;
|
6
7
|
image?: string;
|
7
8
|
url?: string;
|
8
9
|
href?: string;
|
9
10
|
active?: boolean;
|
10
11
|
permission?: string;
|
12
|
+
constructor(props: Partial<Link>);
|
11
13
|
}
|
package/lib/models/link.js
CHANGED
@@ -9,9 +9,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
12
|
+
exports.Link = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
|
-
class
|
14
|
+
class Link {
|
15
15
|
id;
|
16
16
|
title;
|
17
17
|
icon;
|
@@ -21,10 +21,13 @@ class ILink {
|
|
21
21
|
href;
|
22
22
|
active;
|
23
23
|
permission;
|
24
|
+
constructor(props) {
|
25
|
+
Object.assign(this, props);
|
26
|
+
}
|
24
27
|
}
|
25
|
-
exports.
|
28
|
+
exports.Link = Link;
|
26
29
|
__decorate([
|
27
30
|
(0, class_transformer_1.Type)(() => Boolean),
|
28
31
|
__metadata("design:type", Boolean)
|
29
|
-
],
|
32
|
+
], Link.prototype, "active", void 0);
|
30
33
|
//# sourceMappingURL=link.js.map
|
package/lib/models/link.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/models/link.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/models/link.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAyC;AAOzC,MAAa,IAAI;IAIhB,EAAE,CAAU;IAKZ,KAAK,CAAU;IAKf,IAAI,CAAY;IAKhB,QAAQ,CAAO;IAKf,KAAK,CAAU;IAKf,GAAG,CAAU;IAKb,IAAI,CAAU;IAMd,MAAM,CAAW;IAKjB,UAAU,CAAU;IAEpB,YAAY,KAAoB;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlDD,oBAkDC;AAVA;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;oCACH"}
|
@@ -11,19 +11,38 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.NotificationToken = exports.Notification = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
|
+
const enums_1 = require("../enums");
|
14
15
|
class Notification {
|
15
16
|
type;
|
16
17
|
title;
|
17
18
|
message;
|
18
19
|
data;
|
19
|
-
autoClose
|
20
|
+
autoClose;
|
20
21
|
constructor(props) {
|
21
22
|
Object.assign(this, props);
|
22
23
|
}
|
23
24
|
}
|
24
25
|
exports.Notification = Notification;
|
25
26
|
__decorate([
|
27
|
+
(0, class_transformer_1.Expose)(),
|
28
|
+
__metadata("design:type", String)
|
29
|
+
], Notification.prototype, "type", void 0);
|
30
|
+
__decorate([
|
31
|
+
(0, class_transformer_1.Expose)(),
|
32
|
+
__metadata("design:type", String)
|
33
|
+
], Notification.prototype, "title", void 0);
|
34
|
+
__decorate([
|
35
|
+
(0, class_transformer_1.Expose)(),
|
36
|
+
__metadata("design:type", String)
|
37
|
+
], Notification.prototype, "message", void 0);
|
38
|
+
__decorate([
|
39
|
+
(0, class_transformer_1.Expose)(),
|
40
|
+
__metadata("design:type", String)
|
41
|
+
], Notification.prototype, "data", void 0);
|
42
|
+
__decorate([
|
43
|
+
(0, class_transformer_1.Expose)(),
|
26
44
|
(0, class_transformer_1.Type)(() => Number),
|
45
|
+
(0, class_transformer_1.Transform)(({ value }) => value || 5000),
|
27
46
|
__metadata("design:type", Number)
|
28
47
|
], Notification.prototype, "autoClose", void 0);
|
29
48
|
class NotificationToken {
|
@@ -34,4 +53,12 @@ class NotificationToken {
|
|
34
53
|
}
|
35
54
|
}
|
36
55
|
exports.NotificationToken = NotificationToken;
|
56
|
+
__decorate([
|
57
|
+
(0, class_transformer_1.Expose)(),
|
58
|
+
__metadata("design:type", String)
|
59
|
+
], NotificationToken.prototype, "deviceType", void 0);
|
60
|
+
__decorate([
|
61
|
+
(0, class_transformer_1.Expose)(),
|
62
|
+
__metadata("design:type", String)
|
63
|
+
], NotificationToken.prototype, "token", void 0);
|
37
64
|
//# sourceMappingURL=notification.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/models/notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/models/notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4D;AAC5D,oCAA4C;AAK5C,MAAa,YAAY;IAMxB,IAAI,CAAmB;IAMvB,KAAK,CAAS;IAMd,OAAO,CAAS;IAMhB,IAAI,CAAS;IAQb,SAAS,CAAS;IAElB,YAAY,KAA6B;QACxC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AArCD,oCAqCC;AA/BA;IADC,IAAA,0BAAM,GAAE;;0CACc;AAMvB;IADC,IAAA,0BAAM,GAAE;;2CACK;AAMd;IADC,IAAA,0BAAM,GAAE;;6CACO;AAMhB;IADC,IAAA,0BAAM,GAAE;;0CACI;AAQb;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC;;+CACtB;AAUnB,MAAa,iBAAiB;IAM7B,UAAU,CAAS;IAMnB,KAAK,CAAS;IAEd,YAAY,KAAkC;QAC7C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAjBD,8CAiBC;AAXA;IADC,IAAA,0BAAM,GAAE;;qDACU;AAMnB;IADC,IAAA,0BAAM,GAAE;;gDACK"}
|