easywork-common-lib 1.0.765 → 1.0.766

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/package.json +1 -1
  2. package/dist/entities/capacitation/capacitation-lesson.entity copy.d.ts +0 -7
  3. package/dist/entities/capacitation/capacitation-lesson.entity copy.js +0 -45
  4. package/dist/entities/capacitation/capacitation-lesson.entity copy.js.map +0 -1
  5. package/dist/entities/capacitation/capacitation-module.entity.d.ts +0 -12
  6. package/dist/entities/capacitation/capacitation-module.entity.js +0 -85
  7. package/dist/entities/capacitation/capacitation-module.entity.js.map +0 -1
  8. package/dist/entities/capacitation/course-evaluation-progress.entity.d.ts +0 -19
  9. package/dist/entities/capacitation/course-evaluation-progress.entity.js +0 -81
  10. package/dist/entities/capacitation/course-evaluation-progress.entity.js.map +0 -1
  11. package/dist/entities/capacitation/course-evaluation-question.d.ts +0 -11
  12. package/dist/entities/capacitation/course-evaluation-question.js +0 -46
  13. package/dist/entities/capacitation/course-evaluation-question.js.map +0 -1
  14. package/dist/entities/capacitation/lesson-page.entity.d.ts +0 -13
  15. package/dist/entities/capacitation/lesson-page.entity.js +0 -69
  16. package/dist/entities/capacitation/lesson-page.entity.js.map +0 -1
  17. package/dist/entities/capacitation/lesson-section.entity.d.ts +0 -10
  18. package/dist/entities/capacitation/lesson-section.entity.js +0 -57
  19. package/dist/entities/capacitation/lesson-section.entity.js.map +0 -1
  20. package/dist/entities/capacitation/lesson.entity.d.ts +0 -15
  21. package/dist/entities/capacitation/lesson.entity.js +0 -77
  22. package/dist/entities/capacitation/lesson.entity.js.map +0 -1
  23. package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.d.ts +0 -5
  24. package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.js +0 -40
  25. package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.js.map +0 -1
  26. package/dist/entities/helpers/sales/poliza/poliza_file.entity.d.ts +0 -11
  27. package/dist/entities/helpers/sales/poliza/poliza_file.entity.js +0 -68
  28. package/dist/entities/helpers/sales/poliza/poliza_file.entity.js.map +0 -1
  29. package/dist/entities/sales/poliza_siniestro.entity.d.ts +0 -12
  30. package/dist/entities/sales/poliza_siniestro.entity.js +0 -72
  31. package/dist/entities/sales/poliza_siniestro.entity.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.765",
3
+ "version": "1.0.766",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,7 +0,0 @@
1
- import { EntityBase } from '../../common/database/base.entity';
2
- import { CapacitationModule } from './capacitation-module.entity';
3
- export declare class CapacitationLesson extends EntityBase {
4
- title: string;
5
- iCompleted: boolean;
6
- module?: CapacitationModule;
7
- }
@@ -1,45 +0,0 @@
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.CapacitationLesson = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const base_entity_1 = require("../../common/database/base.entity");
16
- const capacitation_module_entity_1 = require("./capacitation-module.entity");
17
- let CapacitationLesson = class CapacitationLesson extends base_entity_1.EntityBase {
18
- title;
19
- iCompleted;
20
- module;
21
- };
22
- exports.CapacitationLesson = CapacitationLesson;
23
- __decorate([
24
- (0, swagger_1.ApiProperty)({ type: String, description: 'Lesson name' }),
25
- (0, typeorm_1.Column)({ type: 'string' }),
26
- __metadata("design:type", String)
27
- ], CapacitationLesson.prototype, "title", void 0);
28
- __decorate([
29
- (0, typeorm_1.Column)({ default: false }),
30
- __metadata("design:type", Boolean)
31
- ], CapacitationLesson.prototype, "iCompleted", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ type: () => capacitation_module_entity_1.CapacitationModule, description: 'Module owner of the lesson', required: false }),
34
- (0, typeorm_1.ManyToOne)(() => capacitation_module_entity_1.CapacitationModule, {
35
- onDelete: 'SET NULL',
36
- onUpdate: 'CASCADE',
37
- nullable: false,
38
- }),
39
- (0, typeorm_1.JoinColumn)(),
40
- __metadata("design:type", capacitation_module_entity_1.CapacitationModule)
41
- ], CapacitationLesson.prototype, "module", void 0);
42
- exports.CapacitationLesson = CapacitationLesson = __decorate([
43
- (0, typeorm_1.Entity)()
44
- ], CapacitationLesson);
45
- //# sourceMappingURL=capacitation-lesson.entity%20copy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"capacitation-lesson.entity copy.js","sourceRoot":"","sources":["../../../src/entities/capacitation/capacitation-lesson.entity copy.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,6CAA8C;AAE9C,mEAA+D;AAC/D,6EAAkE;AAG3D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,wBAAU;IAGhD,KAAK,CAAS;IAGd,UAAU,CAAU;IASpB,MAAM,CAAsB;CAC7B,CAAA;AAhBY,gDAAkB;AAG7B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;IACzD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;iDACb;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;sDACP;AASpB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,+CAAkB,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3G,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,+CAAkB,EAAE;QACnC,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,oBAAU,GAAE;8BACJ,+CAAkB;kDAAC;6BAfjB,kBAAkB;IAD9B,IAAA,gBAAM,GAAE;GACI,kBAAkB,CAgB9B"}
@@ -1,12 +0,0 @@
1
- import { EntityBase } from '../../common/database/base.entity';
2
- import { User } from '../user.entity';
3
- import { Group } from '../group.entity';
4
- export declare class CapacitationModule extends EntityBase {
5
- name: string;
6
- description?: string;
7
- progress: string;
8
- endDate?: Date;
9
- isProcessClosed: boolean;
10
- assignedTo?: Group[];
11
- responsible?: User;
12
- }
@@ -1,85 +0,0 @@
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.CapacitationModule = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const base_entity_1 = require("../../common/database/base.entity");
16
- const user_entity_1 = require("../user.entity");
17
- const group_entity_1 = require("../group.entity");
18
- let CapacitationModule = class CapacitationModule extends base_entity_1.EntityBase {
19
- name;
20
- description;
21
- progress;
22
- endDate;
23
- isProcessClosed;
24
- assignedTo;
25
- responsible;
26
- };
27
- exports.CapacitationModule = CapacitationModule;
28
- __decorate([
29
- (0, swagger_1.ApiProperty)({
30
- type: String,
31
- description: 'Module name',
32
- required: true,
33
- }),
34
- (0, typeorm_1.Column)({ length: 150, nullable: false }),
35
- __metadata("design:type", String)
36
- ], CapacitationModule.prototype, "name", void 0);
37
- __decorate([
38
- (0, swagger_1.ApiProperty)({
39
- type: String,
40
- description: 'Module description',
41
- required: false,
42
- }),
43
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
44
- __metadata("design:type", String)
45
- ], CapacitationModule.prototype, "description", void 0);
46
- __decorate([
47
- (0, swagger_1.ApiProperty)({ type: String, description: 'Capacitation module progress' }),
48
- (0, typeorm_1.Column)({ type: 'float', default: 0 }),
49
- __metadata("design:type", String)
50
- ], CapacitationModule.prototype, "progress", void 0);
51
- __decorate([
52
- (0, swagger_1.ApiProperty)({ type: Date, description: 'Capacitation process ends at this date' }),
53
- (0, typeorm_1.Column)({ type: 'date' }),
54
- __metadata("design:type", Date)
55
- ], CapacitationModule.prototype, "endDate", void 0);
56
- __decorate([
57
- (0, typeorm_1.Column)({ default: false }),
58
- __metadata("design:type", Boolean)
59
- ], CapacitationModule.prototype, "isProcessClosed", void 0);
60
- __decorate([
61
- (0, swagger_1.ApiProperty)({
62
- type: () => group_entity_1.Group,
63
- description: 'Groups assigned to the module',
64
- }),
65
- (0, typeorm_1.ManyToOne)(() => group_entity_1.Group, {
66
- onDelete: 'CASCADE',
67
- onUpdate: 'CASCADE',
68
- }),
69
- (0, typeorm_1.JoinColumn)(),
70
- __metadata("design:type", Array)
71
- ], CapacitationModule.prototype, "assignedTo", void 0);
72
- __decorate([
73
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User responsible for capacitation tracking and management', required: false }),
74
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
75
- onDelete: 'SET NULL',
76
- onUpdate: 'CASCADE',
77
- nullable: true,
78
- }),
79
- (0, typeorm_1.JoinColumn)(),
80
- __metadata("design:type", user_entity_1.User)
81
- ], CapacitationModule.prototype, "responsible", void 0);
82
- exports.CapacitationModule = CapacitationModule = __decorate([
83
- (0, typeorm_1.Entity)()
84
- ], CapacitationModule);
85
- //# sourceMappingURL=capacitation-module.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"capacitation-module.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/capacitation-module.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,6CAA8C;AAE9C,mEAA+D;AAC/D,gDAAsC;AACtC,kDAAwC;AAGjC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,wBAAU;IAOhD,IAAI,CAAS;IAQb,WAAW,CAAU;IAIrB,QAAQ,CAAS;IAIjB,OAAO,CAAQ;IAGf,eAAe,CAAU;IAoBzB,UAAU,CAAW;IASrB,WAAW,CAAQ;CACpB,CAAA;AAxDY,gDAAkB;AAO7B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,aAAa;QAC1B,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDAC5B;AAQb;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACpB;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC1E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;oDACrB;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,wCAAwC,EAAE,CAAC;IAClF,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8BACf,IAAI;mDAAC;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2DACF;AAoBzB;IATC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK;QACjB,WAAW,EAAE,+BAA+B;KAC7C,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,GAAE;;sDACQ;AASrB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,2DAA2D,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5H,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACC,kBAAI;uDAAC;6BAvDR,kBAAkB;IAD9B,IAAA,gBAAM,GAAE;GACI,kBAAkB,CAwD9B"}
@@ -1,19 +0,0 @@
1
- import { EntityBase } from '../../common/database/base.entity';
2
- import { CourseEvaluation } from './course-evaluation.entity';
3
- import { User } from '../user.entity';
4
- export declare enum CourseEvaluationProgressStatus {
5
- inProgress = "in-progress",
6
- approved = "approved",
7
- notPassed = "not-passed",
8
- notStarted = "not-started"
9
- }
10
- export declare class CourseEvaluationProgress extends EntityBase {
11
- status: CourseEvaluationProgressStatus;
12
- attempt: number;
13
- finishedAt?: Date;
14
- startedAt?: Date;
15
- qualification: number;
16
- timeTaken: number;
17
- evaluation: CourseEvaluation;
18
- tookBy: User;
19
- }
@@ -1,81 +0,0 @@
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.CourseEvaluationProgress = exports.CourseEvaluationProgressStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const base_entity_1 = require("../../common/database/base.entity");
16
- const course_evaluation_entity_1 = require("./course-evaluation.entity");
17
- const user_entity_1 = require("../user.entity");
18
- var CourseEvaluationProgressStatus;
19
- (function (CourseEvaluationProgressStatus) {
20
- CourseEvaluationProgressStatus["inProgress"] = "in-progress";
21
- CourseEvaluationProgressStatus["approved"] = "approved";
22
- CourseEvaluationProgressStatus["notPassed"] = "not-passed";
23
- CourseEvaluationProgressStatus["notStarted"] = "not-started";
24
- })(CourseEvaluationProgressStatus || (exports.CourseEvaluationProgressStatus = CourseEvaluationProgressStatus = {}));
25
- let CourseEvaluationProgress = class CourseEvaluationProgress extends base_entity_1.EntityBase {
26
- status;
27
- attempt;
28
- finishedAt;
29
- startedAt;
30
- qualification;
31
- timeTaken;
32
- evaluation;
33
- tookBy;
34
- };
35
- exports.CourseEvaluationProgress = CourseEvaluationProgress;
36
- __decorate([
37
- (0, typeorm_1.Column)({ type: 'enum', nullable: false, default: CourseEvaluationProgressStatus.notStarted, enum: CourseEvaluationProgressStatus }),
38
- __metadata("design:type", String)
39
- ], CourseEvaluationProgress.prototype, "status", void 0);
40
- __decorate([
41
- (0, typeorm_1.Column)({ type: 'int', nullable: false }),
42
- __metadata("design:type", Number)
43
- ], CourseEvaluationProgress.prototype, "attempt", void 0);
44
- __decorate([
45
- (0, typeorm_1.Column)({ type: 'date', nullable: true }),
46
- __metadata("design:type", Date)
47
- ], CourseEvaluationProgress.prototype, "finishedAt", void 0);
48
- __decorate([
49
- (0, typeorm_1.Column)({ type: 'date', nullable: true }),
50
- __metadata("design:type", Date)
51
- ], CourseEvaluationProgress.prototype, "startedAt", void 0);
52
- __decorate([
53
- (0, typeorm_1.Column)({ type: 'numeric', nullable: false, scale: 2, default: 0 }),
54
- __metadata("design:type", Number)
55
- ], CourseEvaluationProgress.prototype, "qualification", void 0);
56
- __decorate([
57
- (0, typeorm_1.Column)({ type: 'numeric', nullable: false, default: 60, scale: 2 }),
58
- __metadata("design:type", Number)
59
- ], CourseEvaluationProgress.prototype, "timeTaken", void 0);
60
- __decorate([
61
- (0, swagger_1.ApiProperty)({
62
- type: () => course_evaluation_entity_1.CourseEvaluation,
63
- description: 'Evaluation progress parent entity',
64
- required: false,
65
- }),
66
- (0, typeorm_1.ManyToOne)(() => course_evaluation_entity_1.CourseEvaluation),
67
- __metadata("design:type", course_evaluation_entity_1.CourseEvaluation)
68
- ], CourseEvaluationProgress.prototype, "evaluation", void 0);
69
- __decorate([
70
- (0, swagger_1.ApiProperty)({
71
- type: () => user_entity_1.User,
72
- description: 'User who takes the evaluation',
73
- required: false,
74
- }),
75
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User),
76
- __metadata("design:type", user_entity_1.User)
77
- ], CourseEvaluationProgress.prototype, "tookBy", void 0);
78
- exports.CourseEvaluationProgress = CourseEvaluationProgress = __decorate([
79
- (0, typeorm_1.Entity)()
80
- ], CourseEvaluationProgress);
81
- //# sourceMappingURL=course-evaluation-progress.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"course-evaluation-progress.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation-progress.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,yEAA8D;AAC9D,gDAAsC;AAEtC,IAAY,8BAKX;AALD,WAAY,8BAA8B;IACxC,4DAA0B,CAAA;IAC1B,uDAAqB,CAAA;IACrB,0DAAwB,CAAA;IACxB,4DAA0B,CAAA;AAC5B,CAAC,EALW,8BAA8B,8CAA9B,8BAA8B,QAKzC;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,wBAAU;IAEtD,MAAM,CAAiC;IAGvC,OAAO,CAAS;IAGhB,UAAU,CAAQ;IAGlB,SAAS,CAAQ;IAGjB,aAAa,CAAS;IAGtB,SAAS,CAAS;IAQlB,UAAU,CAAmB;IAQ7B,MAAM,CAAO;CACd,CAAA;AAlCY,4DAAwB;AAEnC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,8BAA8B,CAAC,UAAU,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;;wDAC7F;AAGvC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;yDACzB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC5B,IAAI;4DAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC7B,IAAI;2DAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;+DAC7C;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;2DAClD;AAQlB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,2CAAgB;QAC5B,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAgB,CAAC;8BACtB,2CAAgB;4DAAC;AAQ7B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI;QAChB,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,CAAC;8BACd,kBAAI;wDAAC;mCAjCF,wBAAwB;IADpC,IAAA,gBAAM,GAAE;GACI,wBAAwB,CAkCpC"}
@@ -1,11 +0,0 @@
1
- import { EntityBase } from '../../common/database/base.entity';
2
- export declare enum QuestionType {
3
- TEXT = "TEXT",
4
- MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
5
- TRUE_FALSE = "TRUE_FALSE"
6
- }
7
- export declare class CourseEvaluationQuestion extends EntityBase {
8
- text: string;
9
- type: QuestionType;
10
- options: string;
11
- }
@@ -1,46 +0,0 @@
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.CourseEvaluationQuestion = exports.QuestionType = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const base_entity_1 = require("../../common/database/base.entity");
15
- var QuestionType;
16
- (function (QuestionType) {
17
- QuestionType["TEXT"] = "TEXT";
18
- QuestionType["MULTIPLE_CHOICE"] = "MULTIPLE_CHOICE";
19
- QuestionType["TRUE_FALSE"] = "TRUE_FALSE";
20
- })(QuestionType || (exports.QuestionType = QuestionType = {}));
21
- let CourseEvaluationQuestion = class CourseEvaluationQuestion extends base_entity_1.EntityBase {
22
- text;
23
- type;
24
- options;
25
- };
26
- exports.CourseEvaluationQuestion = CourseEvaluationQuestion;
27
- __decorate([
28
- (0, typeorm_1.Column)(),
29
- __metadata("design:type", String)
30
- ], CourseEvaluationQuestion.prototype, "text", void 0);
31
- __decorate([
32
- (0, typeorm_1.Column)({
33
- type: 'enum',
34
- enum: QuestionType,
35
- default: QuestionType.TEXT,
36
- }),
37
- __metadata("design:type", String)
38
- ], CourseEvaluationQuestion.prototype, "type", void 0);
39
- __decorate([
40
- (0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
41
- __metadata("design:type", String)
42
- ], CourseEvaluationQuestion.prototype, "options", void 0);
43
- exports.CourseEvaluationQuestion = CourseEvaluationQuestion = __decorate([
44
- (0, typeorm_1.Entity)()
45
- ], CourseEvaluationQuestion);
46
- //# sourceMappingURL=course-evaluation-question.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"course-evaluation-question.js","sourceRoot":"","sources":["../../../src/entities/capacitation/course-evaluation-question.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,mEAA+D;AAG/D,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,mDAAmC,CAAA;IACnC,yCAAyB,CAAA;AAE3B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,wBAAU;IAEtD,IAAI,CAAS;IAOb,IAAI,CAAe;IAGnB,OAAO,CAAS;CAIjB,CAAA;AAhBY,4DAAwB;AAEnC;IADC,IAAA,gBAAM,GAAE;;sDACI;AAOb;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,YAAY,CAAC,IAAI;KAC3B,CAAC;;sDACiB;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDAC1B;mCAZL,wBAAwB;IADpC,IAAA,gBAAM,GAAE;GACI,wBAAwB,CAgBpC"}
@@ -1,13 +0,0 @@
1
- import { EntityBase } from '../../common/database/base.entity';
2
- import { Lesson } from './lesson.entity';
3
- import { LMSFileUploaded } from 'common';
4
- export declare class LessonPage extends EntityBase {
5
- name: string;
6
- description?: string;
7
- coverPhotoSrc?: string;
8
- progress: number;
9
- isCompleted: boolean;
10
- images?: string[];
11
- files?: LMSFileUploaded[];
12
- lesson: Lesson;
13
- }
@@ -1,69 +0,0 @@
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.LessonPage = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const base_entity_1 = require("../../common/database/base.entity");
16
- const lesson_entity_1 = require("./lesson.entity");
17
- let LessonPage = class LessonPage extends base_entity_1.EntityBase {
18
- name;
19
- description;
20
- coverPhotoSrc;
21
- progress;
22
- isCompleted;
23
- images;
24
- files;
25
- lesson;
26
- };
27
- exports.LessonPage = LessonPage;
28
- __decorate([
29
- (0, swagger_1.ApiProperty)({ type: String, description: 'Lesson page name' }),
30
- (0, typeorm_1.Column)(),
31
- __metadata("design:type", String)
32
- ], LessonPage.prototype, "name", void 0);
33
- __decorate([
34
- (0, swagger_1.ApiProperty)({ type: String, description: 'Lesson page description', nullable: true }),
35
- (0, typeorm_1.Column)({ nullable: true }),
36
- __metadata("design:type", String)
37
- ], LessonPage.prototype, "description", void 0);
38
- __decorate([
39
- (0, swagger_1.ApiProperty)({ type: String, description: 'Cover photo URL', nullable: true }),
40
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
41
- __metadata("design:type", String)
42
- ], LessonPage.prototype, "coverPhotoSrc", void 0);
43
- __decorate([
44
- (0, typeorm_1.Column)({ default: 0, type: 'float' }),
45
- __metadata("design:type", Number)
46
- ], LessonPage.prototype, "progress", void 0);
47
- __decorate([
48
- (0, typeorm_1.Column)({ default: false }),
49
- __metadata("design:type", Boolean)
50
- ], LessonPage.prototype, "isCompleted", void 0);
51
- __decorate([
52
- (0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Images uploaded to the content' }),
53
- (0, typeorm_1.Column)({ type: 'text', array: true, default: [] }),
54
- __metadata("design:type", Array)
55
- ], LessonPage.prototype, "images", void 0);
56
- __decorate([
57
- (0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Files uploaded to the content' }),
58
- (0, typeorm_1.Column)({ type: 'jsonb', nullable: true, default: [] }),
59
- __metadata("design:type", Array)
60
- ], LessonPage.prototype, "files", void 0);
61
- __decorate([
62
- (0, swagger_1.ApiProperty)({ type: () => lesson_entity_1.Lesson, description: 'Lesson owner of the page', required: false }),
63
- (0, typeorm_1.ManyToOne)(() => lesson_entity_1.Lesson, lesson => lesson.pages, { onDelete: 'CASCADE' }),
64
- __metadata("design:type", lesson_entity_1.Lesson)
65
- ], LessonPage.prototype, "lesson", void 0);
66
- exports.LessonPage = LessonPage = __decorate([
67
- (0, typeorm_1.Entity)()
68
- ], LessonPage);
69
- //# sourceMappingURL=lesson-page.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lesson-page.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/lesson-page.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AAIlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;IAGxC,IAAI,CAAS;IAIb,WAAW,CAAU;IAIrB,aAAa,CAAU;IAGvB,QAAQ,CAAS;IAGjB,WAAW,CAAU;IAIrB,MAAM,CAAY;IAIlB,KAAK,CAAqB;IAI1B,MAAM,CAAS;CAChB,CAAA;AA9BY,gCAAU;AAGrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC;IAC9D,IAAA,gBAAM,GAAE;;wCACI;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACrF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAClB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;4CACrB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;0CACjC;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;yCAC7B;AAI1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC7F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACjE,sBAAM;0CAAC;qBA7BJ,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CA8BtB"}
@@ -1,10 +0,0 @@
1
- import { EntityBase } from '../../common/database/base.entity';
2
- import { Lesson } from './lesson.entity';
3
- export declare class LessonSection extends EntityBase {
4
- title: string;
5
- description?: string;
6
- coverPhotoSrc?: string;
7
- progress: number;
8
- isCompleted: boolean;
9
- lesson: Lesson;
10
- }
@@ -1,57 +0,0 @@
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.LessonSection = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const base_entity_1 = require("../../common/database/base.entity");
16
- const lesson_entity_1 = require("./lesson.entity");
17
- let LessonSection = class LessonSection extends base_entity_1.EntityBase {
18
- title;
19
- description;
20
- coverPhotoSrc;
21
- progress;
22
- isCompleted;
23
- lesson;
24
- };
25
- exports.LessonSection = LessonSection;
26
- __decorate([
27
- (0, swagger_1.ApiProperty)({ type: String, description: 'Lesson section name' }),
28
- (0, typeorm_1.Column)(),
29
- __metadata("design:type", String)
30
- ], LessonSection.prototype, "title", void 0);
31
- __decorate([
32
- (0, swagger_1.ApiProperty)({ type: String, description: 'Lesson section description', nullable: true }),
33
- (0, typeorm_1.Column)({ nullable: true }),
34
- __metadata("design:type", String)
35
- ], LessonSection.prototype, "description", void 0);
36
- __decorate([
37
- (0, swagger_1.ApiProperty)({ type: String, description: 'Cover photo URL', nullable: true }),
38
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
39
- __metadata("design:type", String)
40
- ], LessonSection.prototype, "coverPhotoSrc", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ default: 0, type: 'float' }),
43
- __metadata("design:type", Number)
44
- ], LessonSection.prototype, "progress", void 0);
45
- __decorate([
46
- (0, typeorm_1.Column)({ default: false }),
47
- __metadata("design:type", Boolean)
48
- ], LessonSection.prototype, "isCompleted", void 0);
49
- __decorate([
50
- (0, swagger_1.ApiProperty)({ type: () => lesson_entity_1.Lesson, description: 'Lesson owner of the section', required: false }),
51
- (0, typeorm_1.ManyToOne)(() => lesson_entity_1.Lesson, { nullable: false }),
52
- __metadata("design:type", lesson_entity_1.Lesson)
53
- ], LessonSection.prototype, "lesson", void 0);
54
- exports.LessonSection = LessonSection = __decorate([
55
- (0, typeorm_1.Entity)()
56
- ], LessonSection);
57
- //# sourceMappingURL=lesson-section.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lesson-section.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/lesson-section.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AAGlC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,wBAAU;IAG3C,KAAK,CAAS;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;IAGvB,QAAQ,CAAS;IAGjB,WAAW,CAAU;IAIrB,MAAM,CAAS;CAChB,CAAA;AAtBY,sCAAa;AAGxB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC;IACjE,IAAA,gBAAM,GAAE;;4CACK;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACxF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAClB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;+CACrB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;kDACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BACrC,sBAAM;6CAAC;wBArBJ,aAAa;IADzB,IAAA,gBAAM,GAAE;GACI,aAAa,CAsBzB"}
@@ -1,15 +0,0 @@
1
- import { EntityBase } from '../../common/database/base.entity';
2
- import { Course } from './course.entity';
3
- import { LessonPage } from './lesson-page.entity';
4
- import { LMSFileUploaded } from 'common';
5
- export declare class Lesson extends EntityBase {
6
- name: string;
7
- description?: string;
8
- content?: string;
9
- coverPhotoSrc?: string;
10
- images?: string[];
11
- files?: LMSFileUploaded[];
12
- isCompleted: boolean;
13
- course: Course;
14
- pages: LessonPage[];
15
- }
@@ -1,77 +0,0 @@
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.Lesson = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const base_entity_1 = require("../../common/database/base.entity");
16
- const course_entity_1 = require("./course.entity");
17
- const lesson_page_entity_1 = require("./lesson-page.entity");
18
- let Lesson = class Lesson extends base_entity_1.EntityBase {
19
- name;
20
- description;
21
- content;
22
- coverPhotoSrc;
23
- images;
24
- files;
25
- isCompleted;
26
- course;
27
- pages;
28
- };
29
- exports.Lesson = Lesson;
30
- __decorate([
31
- (0, swagger_1.ApiProperty)({ type: String, description: 'Lesson name' }),
32
- (0, typeorm_1.Column)(),
33
- __metadata("design:type", String)
34
- ], Lesson.prototype, "name", void 0);
35
- __decorate([
36
- (0, swagger_1.ApiProperty)({ type: String, description: 'Lesson description', nullable: true }),
37
- (0, typeorm_1.Column)({ nullable: true }),
38
- __metadata("design:type", String)
39
- ], Lesson.prototype, "description", void 0);
40
- __decorate([
41
- (0, swagger_1.ApiProperty)({ type: String, description: 'Lesson content', nullable: true }),
42
- (0, typeorm_1.Column)({ nullable: true }),
43
- __metadata("design:type", String)
44
- ], Lesson.prototype, "content", void 0);
45
- __decorate([
46
- (0, swagger_1.ApiProperty)({ type: String, description: 'Cover photo URL', nullable: true }),
47
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
48
- __metadata("design:type", String)
49
- ], Lesson.prototype, "coverPhotoSrc", void 0);
50
- __decorate([
51
- (0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Images uploaded to the content' }),
52
- (0, typeorm_1.Column)({ type: 'text', array: true, default: [] }),
53
- __metadata("design:type", Array)
54
- ], Lesson.prototype, "images", void 0);
55
- __decorate([
56
- (0, swagger_1.ApiProperty)({ isArray: true, type: String, description: 'Files uploaded to the content' }),
57
- (0, typeorm_1.Column)({ type: 'jsonb', nullable: true, default: [] }),
58
- __metadata("design:type", Array)
59
- ], Lesson.prototype, "files", void 0);
60
- __decorate([
61
- (0, typeorm_1.Column)({ default: false }),
62
- __metadata("design:type", Boolean)
63
- ], Lesson.prototype, "isCompleted", void 0);
64
- __decorate([
65
- (0, swagger_1.ApiProperty)({ type: () => course_entity_1.Course, description: 'Course owner of the lesson', required: false }),
66
- (0, typeorm_1.ManyToOne)(() => course_entity_1.Course, course => course.lessons, { onDelete: 'CASCADE' }),
67
- __metadata("design:type", course_entity_1.Course)
68
- ], Lesson.prototype, "course", void 0);
69
- __decorate([
70
- (0, swagger_1.ApiProperty)({ type: () => lesson_page_entity_1.LessonPage, description: 'Lesson owner of the pages', required: false }),
71
- (0, typeorm_1.OneToMany)(() => lesson_page_entity_1.LessonPage, lessonPage => lessonPage.lesson, { onDelete: 'CASCADE' }),
72
- __metadata("design:type", Array)
73
- ], Lesson.prototype, "pages", void 0);
74
- exports.Lesson = Lesson = __decorate([
75
- (0, typeorm_1.Entity)()
76
- ], Lesson);
77
- //# sourceMappingURL=lesson.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lesson.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/lesson.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA+D;AAC/D,6CAA8C;AAE9C,mEAA+D;AAC/D,mDAAyC;AACzC,6DAAkD;AAI3C,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,wBAAU;IAGpC,IAAI,CAAS;IAIb,WAAW,CAAU;IAIrB,OAAO,CAAU;IAIjB,aAAa,CAAU;IAIvB,MAAM,CAAY;IAIlB,KAAK,CAAqB;IAG1B,WAAW,CAAU;IAIrB,MAAM,CAAS;IAIf,KAAK,CAAe;CACrB,CAAA;AAnCY,wBAAM;AAGjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;IACzD,IAAA,gBAAM,GAAE;;oCACI;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAChF,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5E,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACV;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CAClB;AAIvB;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;sCACjC;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC1F,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;qCAC7B;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2CACN;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACnE,sBAAM;sCAAC;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,+BAAU,EAAE,WAAW,EAAE,2BAA2B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,+BAAU,EAAE,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;qCAClE;iBAlCT,MAAM;IADlB,IAAA,gBAAM,GAAE;GACI,MAAM,CAmClB"}
@@ -1,5 +0,0 @@
1
- import { BaseEntitySimple } from "../../../../common/database/base.entity";
2
- export declare class AgentRecruimentStage extends BaseEntitySimple {
3
- name: string;
4
- idx: number;
5
- }
@@ -1,40 +0,0 @@
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.AgentRecruimentStage = void 0;
13
- const base_entity_1 = require("../../../../common/database/base.entity");
14
- const class_validator_1 = require("class-validator");
15
- const typeorm_1 = require("typeorm");
16
- const swagger_1 = require("@nestjs/swagger");
17
- let AgentRecruimentStage = class AgentRecruimentStage extends base_entity_1.BaseEntitySimple {
18
- name;
19
- idx;
20
- };
21
- exports.AgentRecruimentStage = AgentRecruimentStage;
22
- __decorate([
23
- (0, swagger_1.ApiProperty)({
24
- type: String,
25
- description: "Name of the Agent Recruiment stage",
26
- minLength: 1,
27
- }),
28
- (0, class_validator_1.MinLength)(1),
29
- (0, typeorm_1.Column)({ unique: true }),
30
- __metadata("design:type", String)
31
- ], AgentRecruimentStage.prototype, "name", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ type: Number, description: "Index of the lead stage" }),
34
- (0, typeorm_1.Column)(),
35
- __metadata("design:type", Number)
36
- ], AgentRecruimentStage.prototype, "idx", void 0);
37
- exports.AgentRecruimentStage = AgentRecruimentStage = __decorate([
38
- (0, typeorm_1.Entity)()
39
- ], AgentRecruimentStage);
40
- //# sourceMappingURL=h_agent_recruiment_stage.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"h_agent_recruiment_stage.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAA2E;AAC3E,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,8BAAgB;IAQxD,IAAI,CAAS;IAIb,GAAG,CAAS;CACb,CAAA;AAbY,oDAAoB;AAQ/B;IAPC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,oCAAoC;QACjD,SAAS,EAAE,CAAC;KACb,CAAC;IACD,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kDACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACrE,IAAA,gBAAM,GAAE;;iDACG;+BAZD,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAahC"}
@@ -1,11 +0,0 @@
1
- import { BaseEntity } from "typeorm";
2
- import { Poliza } from "../../../sales/poliza.entity";
3
- import { File } from "../../../drive";
4
- export declare class PolizaFile extends BaseEntity {
5
- id?: string;
6
- polizaId: string;
7
- fileId: string;
8
- relation: string;
9
- poliza: Poliza;
10
- file: File;
11
- }
@@ -1,68 +0,0 @@
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.PolizaFile = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const class_transformer_1 = require("class-transformer");
15
- const poliza_entity_1 = require("../../../sales/poliza.entity");
16
- const drive_1 = require("../../../drive");
17
- const swagger_1 = require("@nestjs/swagger");
18
- let PolizaFile = class PolizaFile extends typeorm_1.BaseEntity {
19
- id;
20
- polizaId;
21
- fileId;
22
- relation;
23
- poliza;
24
- file;
25
- };
26
- exports.PolizaFile = PolizaFile;
27
- __decorate([
28
- (0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the policy file', format: 'uuid' }),
29
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
30
- __metadata("design:type", String)
31
- ], PolizaFile.prototype, "id", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated policy' }),
34
- (0, typeorm_1.Column)(),
35
- __metadata("design:type", String)
36
- ], PolizaFile.prototype, "polizaId", void 0);
37
- __decorate([
38
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated file', format: 'uuid' }),
39
- (0, typeorm_1.Column)({ type: "uuid" }),
40
- __metadata("design:type", String)
41
- ], PolizaFile.prototype, "fileId", void 0);
42
- __decorate([
43
- (0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
44
- (0, typeorm_1.Column)({ nullable: true }),
45
- __metadata("design:type", String)
46
- ], PolizaFile.prototype, "relation", void 0);
47
- __decorate([
48
- (0, class_transformer_1.Exclude)(),
49
- (0, swagger_1.ApiProperty)({ type: () => poliza_entity_1.Poliza, description: 'Policy entity associated' }),
50
- (0, typeorm_1.ManyToOne)(() => poliza_entity_1.Poliza, poliza => poliza.files, {
51
- onDelete: "CASCADE",
52
- onUpdate: "CASCADE",
53
- }),
54
- __metadata("design:type", poliza_entity_1.Poliza)
55
- ], PolizaFile.prototype, "poliza", void 0);
56
- __decorate([
57
- (0, swagger_1.ApiProperty)({ type: () => drive_1.File, description: 'File entity associated' }),
58
- (0, typeorm_1.ManyToOne)(() => drive_1.File, {
59
- onDelete: "CASCADE",
60
- onUpdate: "CASCADE",
61
- eager: true,
62
- }),
63
- __metadata("design:type", drive_1.File)
64
- ], PolizaFile.prototype, "file", void 0);
65
- exports.PolizaFile = PolizaFile = __decorate([
66
- (0, typeorm_1.Entity)()
67
- ], PolizaFile);
68
- //# sourceMappingURL=poliza_file.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"poliza_file.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/poliza/poliza_file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,gEAAsD;AACtD,0CAAsC;AACtC,6CAA8C;AAGvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,oBAAU;IAGxC,EAAE,CAAU;IAIZ,QAAQ,CAAS;IAIjB,MAAM,CAAS;IAIf,QAAQ,CAAS;IAQV,MAAM,CAAS;IAQf,IAAI,CAAO;CACnB,CAAA;AAhCY,gCAAU;AAGrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACrF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;sCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACzE,IAAA,gBAAM,GAAE;;4CACQ;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0CACV;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACV;AAQV;IANN,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;IAC5E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE;QAC/C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACa,sBAAM;0CAAC;AAQf;IANN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,YAAI,EAAE,WAAW,EAAE,wBAAwB,EAAE,CAAC;IACxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,YAAI,EAAE;QACrB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACW,YAAI;wCAAC;qBA/BP,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAgCtB"}
@@ -1,12 +0,0 @@
1
- import { StatusSiniestro } from "../../common/enums/sales.enum";
2
- import { EntityBase } from "../../common/database/base.entity";
3
- import { Poliza } from "./poliza.entity";
4
- import { File } from "../drive";
5
- export declare class PolizaSiniestro extends EntityBase {
6
- sigre: string;
7
- numeroReclamacion: string;
8
- fecha: Date;
9
- status: StatusSiniestro;
10
- poliza: Poliza;
11
- finiquito: File;
12
- }
@@ -1,72 +0,0 @@
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.PolizaSiniestro = void 0;
13
- const sales_enum_1 = require("../../common/enums/sales.enum");
14
- const base_entity_1 = require("../../common/database/base.entity");
15
- const typeorm_1 = require("typeorm");
16
- const poliza_entity_1 = require("./poliza.entity");
17
- const drive_1 = require("../drive");
18
- const swagger_1 = require("@nestjs/swagger");
19
- let PolizaSiniestro = class PolizaSiniestro extends base_entity_1.EntityBase {
20
- sigre;
21
- numeroReclamacion;
22
- fecha;
23
- status;
24
- poliza;
25
- finiquito;
26
- };
27
- exports.PolizaSiniestro = PolizaSiniestro;
28
- __decorate([
29
- (0, swagger_1.ApiProperty)({ type: String, description: 'Unique SIGRE number' }),
30
- (0, typeorm_1.Column)({ unique: true }),
31
- __metadata("design:type", String)
32
- ], PolizaSiniestro.prototype, "sigre", void 0);
33
- __decorate([
34
- (0, swagger_1.ApiProperty)({ type: String, description: 'Claim number' }),
35
- (0, typeorm_1.Column)(),
36
- __metadata("design:type", String)
37
- ], PolizaSiniestro.prototype, "numeroReclamacion", void 0);
38
- __decorate([
39
- (0, swagger_1.ApiProperty)({ type: Date, description: 'Date of the claim' }),
40
- (0, typeorm_1.Column)(),
41
- __metadata("design:type", Date)
42
- ], PolizaSiniestro.prototype, "fecha", void 0);
43
- __decorate([
44
- (0, swagger_1.ApiProperty)({ enum: sales_enum_1.StatusSiniestro, description: 'Status of the claim', default: sales_enum_1.StatusSiniestro.VIGENTE }),
45
- (0, typeorm_1.Column)({
46
- type: "enum",
47
- enum: sales_enum_1.StatusSiniestro,
48
- default: sales_enum_1.StatusSiniestro.VIGENTE
49
- }),
50
- __metadata("design:type", String)
51
- ], PolizaSiniestro.prototype, "status", void 0);
52
- __decorate([
53
- (0, swagger_1.ApiProperty)({ type: () => poliza_entity_1.Poliza, description: 'Policy associated with the claim' }),
54
- (0, typeorm_1.ManyToOne)(() => poliza_entity_1.Poliza, {
55
- onDelete: "CASCADE",
56
- onUpdate: "CASCADE",
57
- }),
58
- __metadata("design:type", poliza_entity_1.Poliza)
59
- ], PolizaSiniestro.prototype, "poliza", void 0);
60
- __decorate([
61
- (0, swagger_1.ApiProperty)({ type: () => drive_1.File, description: 'File associated with the claim', required: false }),
62
- (0, typeorm_1.OneToOne)(() => drive_1.File, {
63
- onDelete: "SET NULL",
64
- onUpdate: "CASCADE"
65
- }),
66
- (0, typeorm_1.JoinColumn)(),
67
- __metadata("design:type", drive_1.File)
68
- ], PolizaSiniestro.prototype, "finiquito", void 0);
69
- exports.PolizaSiniestro = PolizaSiniestro = __decorate([
70
- (0, typeorm_1.Entity)()
71
- ], PolizaSiniestro);
72
- //# sourceMappingURL=poliza_siniestro.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"poliza_siniestro.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/poliza_siniestro.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8DAAgE;AAChE,mEAA+D;AAC/D,qCAA0E;AAC1E,mDAAyC;AACzC,oCAAgC;AAChC,6CAA8C;AAGvC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,wBAAU;IAG7C,KAAK,CAAS;IAId,iBAAiB,CAAS;IAI1B,KAAK,CAAO;IAQZ,MAAM,CAAkB;IAOxB,MAAM,CAAS;IAQf,SAAS,CAAO;CACjB,CAAA;AAnCY,0CAAe;AAG1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC;IACjE,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;8CACX;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;IAC1D,IAAA,gBAAM,GAAE;;0DACiB;AAI1B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAC7D,IAAA,gBAAM,GAAE;8BACF,IAAI;8CAAC;AAQZ;IANC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,4BAAe,EAAE,WAAW,EAAE,qBAAqB,EAAE,OAAO,EAAE,4BAAe,CAAC,OAAO,EAAE,CAAC;IAC5G,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,4BAAe;QACrB,OAAO,EAAE,4BAAe,CAAC,OAAO;KACjC,CAAC;;+CACsB;AAOxB;IALC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM,EAAE,WAAW,EAAE,kCAAkC,EAAE,CAAC;IACpF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE;QACvB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACM,sBAAM;+CAAC;AAQf;IANC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,YAAI,EAAE,WAAW,EAAE,gCAAgC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACjG,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,YAAI,EAAE;QACpB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,GAAE;8BACF,YAAI;kDAAC;0BAlCL,eAAe;IAD3B,IAAA,gBAAM,GAAE;GACI,eAAe,CAmC3B"}