asap-viewer 12.2.9 → 12.3.0
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/asap-viewer.metadata.json +1 -1
- package/bundles/asap-viewer.umd.js +62 -14
- package/bundles/asap-viewer.umd.js.map +1 -1
- package/bundles/asap-viewer.umd.min.js +16 -1
- package/bundles/asap-viewer.umd.min.js.map +1 -1
- package/esm2015/lib/@core/services/trail-content.service.js +8 -1
- package/esm2015/lib/editor/components/research/research.component.js +45 -4
- package/esm5/lib/@core/services/trail-content.service.js +12 -1
- package/esm5/lib/editor/components/research/research.component.js +50 -4
- package/fesm2015/asap-viewer.js +51 -3
- package/fesm2015/asap-viewer.js.map +1 -1
- package/fesm5/asap-viewer.js +60 -3
- package/fesm5/asap-viewer.js.map +1 -1
- package/lib/@core/services/trail-content.service.d.ts +1 -0
- package/lib/editor/components/research/research.component.d.ts +9 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Swal = Swal && Swal.hasOwnProperty('default') ? Swal['default'] : Swal;
|
|
8
8
|
localePt = localePt && localePt.hasOwnProperty('default') ? localePt['default'] : localePt;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
/*! *****************************************************************************
|
|
11
11
|
Copyright (c) Microsoft Corporation.
|
|
12
12
|
|
|
13
13
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -116,11 +116,7 @@
|
|
|
116
116
|
|
|
117
117
|
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
118
118
|
if (k2 === undefined) k2 = k;
|
|
119
|
-
|
|
120
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
121
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
122
|
-
}
|
|
123
|
-
Object.defineProperty(o, k2, desc);
|
|
119
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
124
120
|
}) : (function(o, m, k, k2) {
|
|
125
121
|
if (k2 === undefined) k2 = k;
|
|
126
122
|
o[k2] = m[k];
|
|
@@ -249,11 +245,6 @@
|
|
|
249
245
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
250
246
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
251
247
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
255
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
256
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
257
248
|
}
|
|
258
249
|
|
|
259
250
|
/**
|
|
@@ -3801,6 +3792,17 @@
|
|
|
3801
3792
|
function (id) {
|
|
3802
3793
|
return this.http.get(this.global.apiURL() + '/api/v2/client/trilha/conteudo/multiple/' + id, this.getHeaders());
|
|
3803
3794
|
};
|
|
3795
|
+
/**
|
|
3796
|
+
* @param {?} id
|
|
3797
|
+
* @return {?}
|
|
3798
|
+
*/
|
|
3799
|
+
TrailContentService.prototype.updateGrafico = /**
|
|
3800
|
+
* @param {?} id
|
|
3801
|
+
* @return {?}
|
|
3802
|
+
*/
|
|
3803
|
+
function (id) {
|
|
3804
|
+
return this.http.get(this.global.apiURL() + '/api/v2/client/trilha/conteudo/multiple/assessment/' + id, this.getHeaders());
|
|
3805
|
+
};
|
|
3804
3806
|
/**
|
|
3805
3807
|
* @param {?} id
|
|
3806
3808
|
* @param {?} data
|
|
@@ -10458,6 +10460,13 @@
|
|
|
10458
10460
|
this.event = new core.EventEmitter();
|
|
10459
10461
|
this.blocked = false;
|
|
10460
10462
|
this.isPosting = false;
|
|
10463
|
+
this.exibirQuestionario = true;
|
|
10464
|
+
this.exibirGrafico = true;
|
|
10465
|
+
this.atualizarResultadosGraficoApi = false;
|
|
10466
|
+
this.graficoV1 = 0;
|
|
10467
|
+
this.graficoV2 = 0;
|
|
10468
|
+
this.graficov3 = 0;
|
|
10469
|
+
this.graficov4 = 0;
|
|
10461
10470
|
this.form = new forms.FormArray([]);
|
|
10462
10471
|
}
|
|
10463
10472
|
/**
|
|
@@ -10571,6 +10580,26 @@
|
|
|
10571
10580
|
}
|
|
10572
10581
|
}));
|
|
10573
10582
|
};
|
|
10583
|
+
/**
|
|
10584
|
+
* @param {?} conteudo_id
|
|
10585
|
+
* @return {?}
|
|
10586
|
+
*/
|
|
10587
|
+
EditorResearchComponent.prototype.updateGrafico = /**
|
|
10588
|
+
* @param {?} conteudo_id
|
|
10589
|
+
* @return {?}
|
|
10590
|
+
*/
|
|
10591
|
+
function (conteudo_id) {
|
|
10592
|
+
var _this = this;
|
|
10593
|
+
console.log('[updateGrafico] conteudo_id', conteudo_id);
|
|
10594
|
+
this._trailContentService.updateGrafico(conteudo_id).subscribe((/**
|
|
10595
|
+
* @param {?} res
|
|
10596
|
+
* @return {?}
|
|
10597
|
+
*/
|
|
10598
|
+
function (res) {
|
|
10599
|
+
console.log('[updateGrafico] res', res);
|
|
10600
|
+
_this.grafico = res.data;
|
|
10601
|
+
}));
|
|
10602
|
+
};
|
|
10574
10603
|
/**
|
|
10575
10604
|
* @return {?}
|
|
10576
10605
|
*/
|
|
@@ -10594,7 +10623,10 @@
|
|
|
10594
10623
|
function (res) {
|
|
10595
10624
|
_this.blocked = true;
|
|
10596
10625
|
console.log('onSubmit: _trailContentService.update: res', res);
|
|
10597
|
-
_this.
|
|
10626
|
+
_this.exibirQuestionario = false;
|
|
10627
|
+
_this.exibirGrafico = false;
|
|
10628
|
+
_this.atualizarResultadosGraficoApi = true;
|
|
10629
|
+
_this.updateGrafico(res.data.conteudo_id);
|
|
10598
10630
|
}));
|
|
10599
10631
|
}
|
|
10600
10632
|
else {
|
|
@@ -10670,9 +10702,9 @@
|
|
|
10670
10702
|
EditorResearchComponent.decorators = [
|
|
10671
10703
|
{ type: core.Component, args: [{
|
|
10672
10704
|
selector: 'app-editor-component-research',
|
|
10673
|
-
template: "<div class=\"minh-vh-75 py-5\" [ngStyle]=\"{'background': item.background, 'background-image': 'url(' + item.cover + ')'}\">\r\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\r\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\r\n\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n\r\n <!-- Este bloco de c\u00F3digo dever\u00E1 ser programado para exibir o rel\u00E1torio do assessment -->\r\n <!-- <div class=\"row\">\r\n <div class=\"col-sm-7 mx-auto\">\r\n <h4 class=\"mb-3\" [ngStyle]=\"{'color': item.questionColor }\">Resultados</h4>\r\n <div class=\"progress-box\">\r\n <div class=\"progress-box-header\">\r\n <h6>Visual</h6>\r\n <h6>5</h6>\r\n </div>\r\n <div class=\"progress-box-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar progress-bar-visual\" role=\"progressbar\" style=\"width: 70%;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"progress-box\">\r\n <div class=\"progress-box-header\">\r\n <h6>Auditivo</h6>\r\n <h6>5</h6>\r\n </div>\r\n <div class=\"progress-box-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar progress-bar-audio\" role=\"progressbar\" style=\"width: 70%;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"progress-box\">\r\n <div class=\"progress-box-header\">\r\n <h6>Textual</h6>\r\n <h6>5</h6>\r\n </div>\r\n <div class=\"progress-box-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar progress-bar-textual\" role=\"progressbar\" style=\"width: 70%;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"progress-box\">\r\n <div class=\"progress-box-header\">\r\n <h6>Cinest\u00E9sico</h6>\r\n <h6>5</h6>\r\n </div>\r\n <div class=\"progress-box-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar progress-bar-kinesthetic\" role=\"progressbar\" style=\"width: 70%;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div> -->\r\n <!-- Fim do bloco de c\u00F3digo do rel\u00E1torio do assessment -->\r\n\r\n <form [formGroup]=\"form\">\r\n <fieldset [disabled]=\"blocked\">\r\n <div class=\"mt-4\" *ngFor=\"let question of item.questions; index as iQuestion\">\r\n \r\n <!-- Enunciado da quest\u00E3o -->\r\n <div>\r\n <p class=\"mb-3\" style=\"font-weight: 500;\" [ngStyle]=\"{'color': item.questionColor }\">\r\n {{ question.question }}\r\n </p>\r\n </div>\r\n\r\n <ng-container *ngIf=\"item.layout === 'assessment'\">\r\n\r\n <div class=\"row\" *ngIf=\"question.type === 'objetiva_multiple'\">\r\n <div class=\"col-sm-12\">\r\n <div class=\"multichoice-checkbox\" *ngFor=\"let opt of question.options; index as iOpt\"\r\n [ngStyle]=\"{'color': item.answerColor}\">\r\n <label>\r\n <input type=\"checkbox\" />\r\n <div class=\"check\" [ngStyle]=\"{'background': item.answerBackgroundColor }\">\r\n <div class=\"text\">{{ opt.text }}</div>\r\n <div class=\"icone\">\r\n <i class=\"fa fa-check\"></i>\r\n </div>\r\n </div>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout !== 'assessment'\">\r\n <!-- Quest\u00F5es do tipo objetiva -->\r\n <ng-container *ngIf=\"question.type === 'objetiva'\">\r\n <div *ngFor=\"let opt of question.options; index as iOpt\" class=\"mb-4\">\r\n <div class=\"multichoice\">\r\n <label>\r\n <input [formControlName]=\"iQuestion\" type=\"radio\" [required]=\"question.required\"\r\n id=\"radio-{{iQuestion}}-{{iOpt}}\" class=\"multichoice\" [value]=\"opt.text\"\r\n (change)=\"verify(opt)\" />\r\n <span>\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\">{{ listMarkerLetter(iOpt) }})</div>\r\n </div>\r\n <div class=\"text\">{{ opt.text }}</div>\r\n <i class=\"fa fa-check\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"question.type === 'objetiva_multiple'\">\r\n\r\n <ul class=\"checkbox-list\">\r\n <li *ngFor=\"let opt of question.options; index as iOpt\">\r\n <mat-checkbox [checked]=\"form.value[iQuestion] && form.value[iQuestion].includes(opt.text)\"\r\n (change)=\"toggle(iQuestion,opt.text)\" [value]=\"opt.text\">{{ opt.text }}</mat-checkbox>\r\n </li>\r\n </ul>\r\n\r\n <!-- <mat-selection-list [formControlName]=\"iQuestion\">\r\n <mat-list-option checkboxPosition=\"before\" [value]=\"opt.text\" *ngFor=\"let opt of question.options; index as iOpt\">\r\n {{ opt.text }}\r\n </mat-list-option>\r\n </mat-selection-list> -->\r\n\r\n </ng-container>\r\n\r\n <!-- Quest\u00F5es do tipo subjetiva -->\r\n <ng-container *ngIf=\"question.type === 'subjetiva'\">\r\n <textarea [formControlName]=\"iQuestion\" [required]=\"question.required\" class=\"form-control\"\r\n rows=\"4\"></textarea>\r\n </ng-container>\r\n\r\n <!-- Quest\u00F5es do tipo tabela -->\r\n <ng-container *ngIf=\"question.type === 'tabela'\">\r\n <div class=\"table-responsive\">\r\n <table [formArrayName]=\"iQuestion\" class=\"table table-bordered bg-white\">\r\n <thead>\r\n <tr>\r\n <th *ngFor=\"let col of question.collumns\" class=\"text-center\">{{ col.text }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr [formArrayName]=\"iLine\"\r\n *ngFor=\"let fCol of form.controls[iQuestion].controls; index as iLine\">\r\n <td style=\"padding: 0; line-height: 35px;\"\r\n *ngFor=\"let col of question.collumns; index as iCol\">\r\n <input style=\"padding: 8px; width: 100%; background: #FFF; border: none;\"\r\n [formControlName]=\"iCol\" type=\"text\" name=\"radio_{{iQuestion}}_{{iLine}}_{{iCol}}\" />\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n\r\n </div>\r\n\r\n <ng-container *ngIf=\"!blocked\">\r\n <div class=\"mt-5 text-center\" *ngIf=\"!blocked\">\r\n <ng-container>\r\n <!-- Bot\u00E3o Salvar -->\r\n\r\n <button *ngIf=\"item.button.text === undefined\" type=\"submit\" class=\"btn\"\r\n [ngStyle]=\"{'color': item?.button?.color, 'background': item?.button?.background}\"\r\n [disabled]=\"!form.valid || isPosting\" (click)=\"onSubmit()\">\r\n {{ (isPosting)?'Saving':'Save' | translate}}\r\n </button>\r\n\r\n <button *ngIf=\"item.button.text\" type=\"submit\" class=\"btn\"\r\n [ngStyle]=\"{'color': item?.button?.color, 'background': item?.button?.background}\"\r\n [disabled]=\"!form.valid || isPosting\" (click)=\"onSubmit()\">\r\n {{ item.button.text }}\r\n </button>\r\n\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </fieldset>\r\n\r\n <ng-container *ngIf=\"blocked\">\r\n <div class=\"mt-5 text-center\">\r\n\r\n <ng-container>\r\n\r\n <!-- Bot\u00E3o Pr\u00F3ximo -->\r\n <button type=\"button\" (click)=\"goNext()\" class=\"btn\"\r\n [ngStyle]=\"{'color': item?.button?.color, 'background': item?.button?.background}\">\r\n {{ (item.button?.text) ? item.button?.text : 'Next' | translate }}\r\n </button>\r\n </ng-container>\r\n\r\n </div>\r\n </ng-container>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n</div>",
|
|
10705
|
+
template: "<div class=\"minh-vh-75 py-5\" [ngStyle]=\"{'background': item.background, 'background-image': 'url(' + item.cover + ')'}\">\r\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\r\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\r\n\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n\r\n <!-- Este bloco de c\u00F3digo dever\u00E1 ser programado para exibir o rel\u00E1torio do assessment -->\r\n <div class=\"row\">\r\n <div *ngIf=\"exibirGrafico === false\" class=\"col-sm-7 mx-auto\">\r\n <h4 class=\"mb-3\" [ngStyle]=\"{'color': item.questionColor }\">Resultados</h4>\r\n <div class=\"progress-box\" *ngFor=\"let item of grafico\">\r\n <div class=\"progress-box-header\" >\r\n <h6>{{ item.indicador }}</h6>\r\n <h6>{{ item.percentual }}</h6>\r\n </div>\r\n <div class=\"progress-box-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar progress-bar-textual\" role=\"progressbar\" [style.width.%]=\"item.percentual\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"progress-box\">\r\n <div class=\"progress-box-header\">\r\n <h6>Auditivo</h6>\r\n <h6>{{ graficoV2 }}</h6>\r\n </div>\r\n <div class=\"progress-box-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar progress-bar-audio\" role=\"progressbar\" style=\"width: 70%;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"progress-box\">\r\n <div class=\"progress-box-header\">\r\n <h6>Textual</h6>\r\n <h6>{{ graficov3 }}</h6>\r\n </div>\r\n <div class=\"progress-box-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar progress-bar-textual\" role=\"progressbar\" style=\"width: 70%;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"progress-box\">\r\n <div class=\"progress-box-header\">\r\n <h6>Cinest\u00E9sico</h6>\r\n <h6>{{graficov4}}</h6>\r\n </div>\r\n <div class=\"progress-box-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar progress-bar-kinesthetic\" role=\"progressbar\" style=\"width: 70%;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div> -->\r\n </div>\r\n </div>\r\n <!-- Fim do bloco de c\u00F3digo do rel\u00E1torio do assessment -->\r\n\r\n <form [formGroup]=\"form\">\r\n <fieldset *ngIf=\"exibirQuestionario === true\">\r\n <div class=\"mt-4\" *ngFor=\"let question of item.questions; index as iQuestion\">\r\n \r\n <!-- Enunciado da quest\u00E3o -->\r\n <div>\r\n <p class=\"mb-3\" style=\"font-weight: 500;\" [ngStyle]=\"{'color': item.questionColor }\">\r\n {{ question.question }}\r\n </p>\r\n </div>\r\n <ng-container *ngIf=\"item.layout === 'assessment'\">\r\n <div class=\"row\" *ngIf=\"question.type === 'objetiva_multiple'\">\r\n <div class=\"col-sm-12\">\r\n <div class=\"multichoice-checkbox\" *ngFor=\"let opt of question.options; index as iOpt\"\r\n [ngStyle]=\"{'color': item.answerColor}\">\r\n <label>\r\n <input [checked]=\"form.value[iQuestion] && form.value[iQuestion].includes(opt.text)\"\r\n (change)=\"toggle(iQuestion,opt.text)\" [value]=\"iQuestion\" type=\"checkbox\" />\r\n <div class=\"check\" [ngStyle]=\"{'background': item.answerBackgroundColor }\">\r\n <div class=\"text\">{{ opt.text }}</div>\r\n <div class=\"icone\">\r\n <i class=\"fa fa-check\"></i>\r\n </div>\r\n </div>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout !== 'assessment'\">\r\n <!-- Quest\u00F5es do tipo objetiva -->\r\n <ng-container *ngIf=\"question.type === 'objetiva'\">\r\n <div *ngFor=\"let opt of question.options; index as iOpt\" class=\"mb-4\">\r\n <div class=\"multichoice\">\r\n <label>\r\n <input [formControlName]=\"iQuestion\" type=\"radio\" [required]=\"question.required\"\r\n id=\"radio-{{iQuestion}}-{{iOpt}}\" class=\"multichoice\" [value]=\"opt.text\"\r\n (change)=\"verify(opt)\" />\r\n <span>\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\">{{ listMarkerLetter(iOpt) }})</div>\r\n </div>\r\n <div class=\"text\">{{ opt.text }}</div>\r\n <i class=\"fa fa-check\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"question.type === 'objetiva_multiple'\">\r\n\r\n <ul class=\"checkbox-list\">\r\n <li *ngFor=\"let opt of question.options; index as iOpt\">\r\n <mat-checkbox [checked]=\"form.value[iQuestion] && form.value[iQuestion].includes(opt.text)\"\r\n (change)=\"toggle(iQuestion,opt.text)\" [value]=\"iQuestion\">{{ opt.text }}</mat-checkbox>\r\n </li>\r\n </ul>\r\n\r\n <mat-selection-list [formControlName]=\"iQuestion\">\r\n <mat-list-option checkboxPosition=\"before\" [value]=\"opt.text\" *ngFor=\"let opt of question.options; index as iOpt\">\r\n {{ opt.text }}\r\n </mat-list-option>\r\n </mat-selection-list>\r\n\r\n </ng-container>\r\n\r\n <!-- Quest\u00F5es do tipo subjetiva -->\r\n <ng-container *ngIf=\"question.type === 'subjetiva'\">\r\n <textarea [formControlName]=\"iQuestion\" [required]=\"question.required\" class=\"form-control\"\r\n rows=\"4\"></textarea>\r\n </ng-container>\r\n\r\n <!-- Quest\u00F5es do tipo tabela -->\r\n <ng-container *ngIf=\"question.type === 'tabela'\">\r\n <div class=\"table-responsive\">\r\n <table [formArrayName]=\"iQuestion\" class=\"table table-bordered bg-white\">\r\n <thead>\r\n <tr>\r\n <th *ngFor=\"let col of question.collumns\" class=\"text-center\">{{ col.text }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr [formArrayName]=\"iLine\"\r\n *ngFor=\"let fCol of form.controls[iQuestion].controls; index as iLine\">\r\n <td style=\"padding: 0; line-height: 35px;\"\r\n *ngFor=\"let col of question.collumns; index as iCol\">\r\n <input style=\"padding: 8px; width: 100%; background: #FFF; border: none;\"\r\n [formControlName]=\"iCol\" type=\"text\" name=\"radio_{{iQuestion}}_{{iLine}}_{{iCol}}\" />\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n\r\n </div>\r\n\r\n <ng-container *ngIf=\"!blocked\">\r\n <div class=\"mt-5 text-center\" *ngIf=\"!blocked\">\r\n <ng-container>\r\n <!-- Bot\u00E3o Salvar -->\r\n\r\n <button *ngIf=\"item.button.text === undefined\" type=\"submit\" class=\"btn\"\r\n [ngStyle]=\"{'color': item?.button?.color, 'background': item?.button?.background}\"\r\n [disabled]=\"!form.valid || isPosting\" (click)=\"onSubmit()\">\r\n {{ (isPosting)?'Saving':'Save' | translate}} y\r\n </button>\r\n\r\n <button *ngIf=\"item.button.text\" type=\"submit\" class=\"btn\"\r\n [ngStyle]=\"{'color': item?.button?.color, 'background': item?.button?.background}\"\r\n [disabled]=\"!form.valid || isPosting\" (click)=\"onSubmit()\">\r\n {{ item.button.text }} \r\n </button>\r\n\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </fieldset>\r\n\r\n <ng-container *ngIf=\"blocked\">\r\n <div class=\"mt-5 text-center\">\r\n\r\n <ng-container>\r\n\r\n <!-- Bot\u00E3o Pr\u00F3ximo -->\r\n <button type=\"button\" (click)=\"goNext()\" class=\"btn\"\r\n [ngStyle]=\"{'color': item?.button?.color, 'background': item?.button?.background}\">\r\n {{ (item.button?.text) ? item.button?.text : 'Next' | translate }}\r\n </button>\r\n </ng-container>\r\n\r\n </div>\r\n </ng-container>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n</div>",
|
|
10674
10706
|
providers: [TrailContentService],
|
|
10675
|
-
styles: [".flex-container{padding:0;margin:0;list-style:none;-ms-box-orient:horizontal;display:-moz-flex;display:flex}.nowrap{flex-wrap:nowrap}.wrap{flex-wrap:wrap}::ng-deep .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#e91e63}::ng-deep .mat-radio-button.mat-accent .mat-radio-inner-circle{background-color:#e91e63}::ng-deep .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element{background-color:rgba(233,30,99,.26)}.mat-checkbox-label,::ng-deep .mat-radio-label{cursor:pointer;white-space:nowrap;padding:10px}::ng-deep .mat-horizontal-stepper-header{height:40px!important;padding:0 15px!important}::ng-deep .mat-step-header .mat-step-icon{background-color:#e91e63;color:#fff}::ng-deep .mat-stepper-horizontal-line{margin:0!important}::ng-deep .checkbox .checkbox-material .check{width:15px;height:15px;border:1px solid #ddd;border-radius:3px}::ng-deep .checkbox .checkbox-material .check:before{position:absolute;content:\"\";transform:rotate(45deg);display:block;margin-top:-5px;margin-left:5px;font-size:.5em;width:1;height:0;-webkit-animation:.3s forwards checkbox-off;animation:.3s forwards checkbox-off}::ng-deep .checkbox label{cursor:pointer;padding-left:0;font-size:.8em;font-weight:500;color:#525859}.mt--5{margin-top:-7px}.mt-20{margin-top:20px}.ml-3{margin-left:3px}.no-margin{margin:0!important}.bg-purple{background:#9c27b0}.fc-gray{color:#525859!important}.fc-purple{color:#9c27b0!important}.fc-red{color:#e50606!important}.fc-green{color:#2ac994!important}.bold{font-weight:700}.bolder{font-weight:bolder}.placeholder{color:#d5d5d5}.border{border:1px solid #d2d2d2}.no-border{border:none}.bl-0{border-left:none}.border-label{padding:0;border-radius:3px;border:1px solid #ccc;background:rgba(255,255,255,.5)}.border-top{border-top:1px solid #eee}.border-bottom{border-bottom:1px solid #eee}.col-center-block{float:none;display:block;margin:0 auto}.btn.focus,.btn:focus{color:#fff;background-color:#595959;border-color:#595959;outline:0;box-shadow:0 0 0 .2rem rgba(89,89,89,.25)}.btn-primary{color:#fff;background-color:#6c757d!important;border-color:#6c757d!important;box-shadow:none;font-size:1em}.btn-primary:hover{color:#fff;background-color:#595959;border-color:#595959;box-shadow:0 14px 26px -12px rgba(89,89,89,.42),0 4px 23px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(89,89,89,.2)}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(89,89,89,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-primary.disabled,.btn-primary:disabled:hover,.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#595959;border-color:#595959}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(89,89,89,.5)}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-muted{background:#ccc}.btn-muted:hover{background:#bbb}.box-group{padding:10px;background:#f5f5f5;border:1px solid #eee;border-radius:3px}.box{display:flex;display:-ms-flexbox;align-items:center;-webkit-box-align:center;-ms-flex-align:center;flex-direction:column;justify-content:center;-webkit-justify-content:center;-webkit-box-pack:center;margin-left:auto}.box-list{display:flex;align-items:center;justify-content:center;height:100%;padding-bottom:30px;width:100%}.box-ask-border{display:inline-block;margin:2%;max-width:190px;min-height:190px;text-align:left;width:46%}.box-ask-border:hover{border-color:#dedede;color:#dedede;background:#fff7fa;border-radius:7px}.box-label{cursor:pointer;display:block;height:100%;padding:12px}.box-img{background-position:50%;background-size:cover;border-radius:7px;height:160px;margin:0;width:100%;-o-object-fit:cover;object-fit:cover}.box-input{display:block;position:relative;cursor:pointer;font-size:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box-input input{position:absolute;opacity:0;cursor:pointer}.checkmark{position:absolute;top:-17px;left:-17px;background:0 0;border:2px solid #dadada;color:#3c3c3c;border-radius:10px;display:inline-block;margin:2%;width:116%;height:120%;min-height:190px}.box-input input:checked~.checkmark{border:2px solid #dedede}.checkmark:after{content:\"\";position:absolute;display:none}.box-input input:checked~.box-ask-border:after{border:2px solid #dadada;color:#3c3c3c;border-radius:10px;display:inline-block;font-size:15px;margin:2%;max-width:190px;text-align:left;width:46%}.box-ask-border:after{border-color:#dedede;color:rgba (233,30,99,.3);background:#fff7fa}.title{font-size:13px;float:left;padding:2px 10px;position:fixed}.title-question{font-size:1.12em;font-weight:900;color:#525859;margin-bottom:20px}.title-config{font-size:.8em;font-weight:500;color:#525859;margin-bottom:0;width:100%}.tool-name{font-weight:600;color:#9c27b0}.tool-name-subtitle{font-weight:600;color:#525859}.img-responsive,.vid-responsive{display:block;max-width:100%;height:auto}.img-thumbnail,.vid-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;margin-bottom:30px;transition:.2s ease-in-out}.col-left{border-right:1px solid #eee}.col-center{float:left;width:60%}.col-right{border-left:1px solid #eee}.col-left,.col-right{float:left;width:20%;overflow-x:hidden!important}.col-sup{height:28vh;overflow-y:auto;padding:10px;border-top:1px solid #eee;border-bottom:1px solid #eee;margin-top:25px}.col-sub{height:51.5vh;overflow-y:auto;padding:10px;border-top:1px solid #eee;margin-top:25px}.col-int{height:83.5vh;overflow-y:auto;padding:10px;margin-top:25px;border-top:1px solid #eee}.icon{float:left;width:50%;height:70px;text-align:center;margin:20px 0}.icon i{font-size:40px}.icon a{display:block;color:#999}.icon a:hover{color:#777}.icon p{font-size:14px;margin:5px}table thead th{font-size:1em;font-weight:900;color:#383838}table tfoot .amount{font-size:1em;font-weight:900;color:#383838;text-align:right}.nav-tabs{border-bottom:1px solid #ddd;margin-bottom:20px;background:0 0}.nav-tabs>li>a{margin-right:0!important;padding:4px 8px;color:#9c27b0!important}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd!important;border-bottom-color:transparent!important}.divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}input.cell-text::-webkit-input-placeholder{color:#d5d5d5}input.cell-text::-moz-placeholder{color:#d5d5d5}input.cell-text:-ms-input-placeholder{color:#d5d5d5}input.cell-text::-ms-input-placeholder{color:#d5d5d5}input.cell-text::placeholder{color:#d5d5d5}input.text{border:1px solid #ddd;padding:5px 10px;border-radius:3px;color:#333}input.text::-webkit-input-placeholder{color:#d5d5d5}input.text::-moz-placeholder{color:#d5d5d5}input.text:-ms-input-placeholder{color:#d5d5d5}input.text::-ms-input-placeholder{color:#d5d5d5}input.text::placeholder{color:#d5d5d5}select.text{border:1px solid #ddd;padding:5px 2px;border-radius:3px;color:#333}select.text::-webkit-input-placeholder{color:#d5d5d5}select.text::-moz-placeholder{color:#d5d5d5}select.text:-ms-input-placeholder{color:#d5d5d5}select.text::-ms-input-placeholder{color:#d5d5d5}select.text::placeholder{color:#d5d5d5}textarea.text{border:1px solid #ddd;padding:5px 10px;border-radius:3px;color:#333;resize:none}textarea.text::-webkit-input-placeholder{color:#d5d5d5}textarea.text::-moz-placeholder{color:#d5d5d5}textarea.text:-ms-input-placeholder{color:#d5d5d5}textarea.text::-ms-input-placeholder{color:#d5d5d5}textarea.text::placeholder{color:#d5d5d5}.text-input{color:#b5b4b4;font-size:1.12em;position:relative;vertical-align:middle;display:inline-block;transition:.5s;padding:0;cursor:pointer;border-bottom:2px solid #fff;-webkit-transition:.5s}.text-input::after,.text-input::before{width:100%;height:100%;z-index:3;content:\"\";position:absolute;top:0;left:0;box-sizing:border-box;-webkit-transform:scale(0);transition:.5s}.text-input::-webkit-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::-moz-placeholder{color:#dcb8e3;font-size:1.09em}.text-input:-ms-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::-ms-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::placeholder{color:#dcb8e3;font-size:1.09em}.text-input:focus,.text-input:hover{color:#dcb8e3;font-size:1.09em;border-bottom:2px solid #dedede}input[type=checkbox],input[type=radio]{display:none}input[type=checkbox]+label,input[type=radio]+label{color:#b5b4b4;font-size:1.09em}input[type=radio]+label span{display:inline-block;width:19px;height:19px;margin:-2px 10px 0 0;vertical-align:middle;cursor:pointer}input[type=checkbox]+label span{display:inline-block;width:19px;height:19px;margin:-2px 10px 0 0;vertical-align:middle;cursor:pointer;transition:.1s}input[type=checkbox]:checked+label span{transition:.1s}.multiple-questions label span{display:block;cursor:pointer;max-height:242px;border:1px solid #ddd;border-radius:7px;padding:10px 10px 0;margin:5px;max-width:180px;min-height:180px}.multiple-questions label span.no-image{min-height:0}.multiple-questions label span.no-image img{display:none!important}.multiple-questions input[type=radio]:checked+span{border:1px solid #595959!important;background:#fcfcfc}.multiple-questions label span img{border-radius:7px;width:180px;height:180px}.multiple-questions .text{text-align:center;padding:15px 0;min-height:30px}input.multichoice:empty{margin-left:-999px}input.multichoice:empty~label{position:relative;margin-right:20px;margin-bottom:20px;padding-right:20px;float:left;line-height:2.5em;text-indent:3.5em;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:.1s}input.multichoice:empty~label:before{position:relative;left:0;float:left;content:'';width:40px;background:#d1d3d4;border-radius:3px 0 0 3px;margin-left:0;margin-right:-40px}input.multichoice:checked~label:before{content:'\\2714';text-indent:.9em;color:#fff;background-color:#6c63fe;transition:.1s}.d-flex{display:flex!important}.flex-wrap{flex-wrap:wrap!important}.justify-content-center{justify-content:center!important}.flex-column{flex-direction:column!important}.align-content-center{align-content:center!important}.align-vertical-center{-ms-align-items:center!important;align-items:center!important}.wrapper{min-height:100%;position:relative;overflow:hidden}.wrapper:after,.wrapper:before{content:\" \";display:table}.wrapper:after{clear:both}.content-wrapper{min-height:100%;background-color:#fff;z-index:800;padding-top:40px}.top-menu{position:absolute;border-bottom:1px solid #eee;top:0;width:100%;height:40px;padding:0 10px;line-height:40px}.tool{float:right;padding:2px 5px}.footer{position:absolute;border-top:1px solid #eee;bottom:0;padding:0 10px;width:100%;height:40px;line-height:40px;background:#fff}.cliente{font-size:16px}.modulo a{padding:2px 5px;border-radius:4px;display:block;background:#9c27b0;color:#fff;margin-bottom:5px}.modulo a:hover{background:#831596}.modulo span a{float:right;font-size:12px;padding:0;background:0 0;margin-left:5px;margin-top:1px}.modulo span a:hover{color:#e9e9e9}.etapa a{padding:2px 5px 2px 20px;border-radius:4px;display:block;background:0 0;color:#777;margin-bottom:5px}.etapa span a{float:right;font-size:12px;padding:0;background:0 0;color:#ddd;margin-left:5px;margin-top:1px}.etapa span a:hover{color:#999}.form-custom input[type=number],.form-custom input[type=text],.form-custom select,.form-custom textarea{border:1px solid #dadde2;padding:3px 5px;border-radius:2px;font-size:13px;overflow-x:hidden}.form-custom .txt{border:1px solid #dadde2;padding:3px 5px;border-radius:2px;font-size:13px}.form-custom ::-webkit-input-placeholder{font-size:13px;color:#999}.form-custom ::-moz-placeholder{font-size:13px;color:#999}.form-custom ::-ms-input-placeholder{font-size:13px;color:#999}.wrapper-input{height:45px}.btn-rose{background:#e91e63}.cursor{cursor:pointer}.midia-w iframe{width:100%}.midia-h iframe{height:400px}.breadcrumb{padding:0 15px;margin-bottom:20px;list-style:none;background-color:transparent;font-size:12px}.config-label{width:100%;margin:5px 0;float:left;font-size:.8em;display:block;line-height:1.5em}.config-textarea{width:100%;margin:5px 0;float:left;resize:initial;overflow-y:auto;display:block;font-size:.9em!important;color:#999}.config-input,.config-select{width:100%;margin:5px 0;float:left;display:block;font-size:.9em!important;color:#999}.config-box{width:100%;margin:5px;float:left}.config-box-50{width:45%;min-height:110px;margin:5px;float:left;background:#f9f9f9;border:1px solid #eee;border-radius:5px;padding:10px}.config-box-title{width:100%;padding:10px;font-size:.85em}.no-bg-image{background-image:none}.space-inside{padding:10px}.block{display:block}.fake-link{cursor:pointer}.item-component{margin:0;border-radius:2px;border:1px solid #fff}.item-component:hover{border-color:#9c27b0}.item-component.active{border-color:#9c27b0;background-color:#f9f9f9}.item-box-model{border:3px dashed #ddd;padding:20px;color:#ccc;min-height:50px}.item-component-challenge,.item-component-conclusion,.item-component-download,.item-component-dynamic-input,.item-component-dynamic-table,.item-component-image,.item-component-intro,.item-component-long-text,.item-component-multichoise,.item-component-multiple-questions,.item-component-pdf,.item-component-rating,.item-component-sales-channel,.item-component-sheet-correct-incorrect,.item-component-star-point,.item-component-text,.item-component-upload,.item-component-video,.item-component-yes-no{padding:0}.item-component-image .material-icons,.item-component-pdf .material-icons,.item-component-video .material-icons{font-size:80px}.item-component-title .title-bold{font-weight:700}.item-component-title .title-italic{font-style:italic}.item-component-title .title-underline{text-decoration:underline}.icon.disabled{opacity:.3}.item-component-image-icon-container,.item-component-pdf-icon-container,.item-component-video-icon-container{background:#eee;border:1px solid #ccc;text-align:center;color:#444;font-size:50px;padding:160px}.btn-container{text-align:center}.etapa a:hover,.etapa.active a{background:#f4f4f4}.etapa.active:before{font:700 14px/1 FontAwesome;content:\"\\f0da\";float:left;color:#9c27b0;position:relative;top:5px;left:5px}.scroll{overflow-y:auto}#trail-status{color:#ddd;margin-right:10px;background:0 0;border:none}#trail-status.active{color:#6c9}.item-btn-delete{position:relative}.item-btn-delete button{position:absolute;top:-10px;right:-10px;border:1px solid #9c27b0;background-color:#fff;color:#9c27b0;border-radius:50%;width:20px;height:20px;padding:0;font-size:12px;line-height:12px;z-index:1}.item-btn-delete button:hover{background-color:#9c27b0;color:#fff}.custom-divisor{margin:10px 0}#tbl-objetivo td{padding:0 8px;height:0}#accordion .tool-name:after{font-family:\"Glyphicons Halflings\";content:\"\\e114\";float:right}#accordion .tool-name.collapsed:after{content:\"\\e080\"}#editor-components-wrapper img{max-height:500px;-o-object-fit:contain;object-fit:contain;background:#eee;width:auto}.input-styled{border:1px solid #ccc;padding:4px 6px;border-radius:2px}.pulse:hover{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}}@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}}.cover{position:relative}.cover img{width:100%;min-height:480px;-o-object-fit:cover;object-fit:cover;opacity:1;transition:.5s;-webkit-backface-visibility:hidden;backface-visibility:hidden}.mx-auto{float:none;margin:0 auto}@media (min-width:576px) and (max-width:767px){::ng-deep .sheet-correct .radio{width:90%!important}}@media (min-width:768px) and (max-width:991px){::ng-deep .sheet-correct .radio{width:45%!important}}@media (min-width:992px) and (max-width:1199px){::ng-deep .sheet-correct .radio{width:65%!important}}@media (min-width:1200px){::ng-deep .sheet-correct .radio{width:45%!important}}@media (min-width:1600px){.col-sup{height:45vh}.col-sub{height:55.5vh}.col-int{height:88.5vh}}.image-modal{transition:.5s}.image-modal-item{width:100%;-o-object-fit:scale-down;object-fit:scale-down;max-height:320px;cursor:zoom-in}.image-modal-full{position:fixed;top:0;left:0;z-index:99999;width:100%;height:100%;padding:10%;background:rgba(0,0,0,.3);-o-object-fit:contain;object-fit:contain;cursor:zoom-out}", ".form-control:disabled,.form-control[readonly]{background-color:#fcfcfc;opacity:1}fieldset label{width:100%!important}fieldset label span{display:block;cursor:pointer;border-radius:7px;width:100%;height:100%;min-height:100%;display:flex;display:-webkit-flex;align-items:center;-webkit-align-items:center;padding:10px}fieldset textarea:focus{border:1px solid #ced4da!important;outline:0!important;box-shadow:none!important}fieldset table input:focus{border-color:none!important;outline-style:none!important;box-shadow:none!important}.marcadores{padding:10px;font-weight:600}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,::ng-deep .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:var(--main-color)!important}::ng-deep .mat-checkbox:not(.mat-checkbox-disabled).mat-accent .mat-checkbox-ripple .mat-ripple-element{background-color:var(--main-color)!important}.checkbox-list li{list-style:none!important;width:100%;margin-bottom:30px}.checkbox-list ::ng-deep .mat-checkbox-label{cursor:pointer!important;white-space:normal!important;line-height:1.3!important}::ng-deep .multichoice-checkbox{margin-bottom:10px!important;cursor:pointer!important}::ng-deep .multichoice-checkbox:last-child{margin-bottom:0!important}::ng-deep .multichoice-checkbox label{width:100%!important;padding:0!important}::ng-deep .multichoice-checkbox label .check{display:flex;align-items:center;width:100%;min-height:40px;border-radius:4px;background-color:#f9f9f9;opacity:.8}::ng-deep .multichoice-checkbox label .check:hover{opacity:1!important}::ng-deep .multichoice-checkbox label .check .icone{visibility:hidden!important}::ng-deep .multichoice-checkbox label .check .text{width:calc(100% - 30px);padding:10px!important;font-size:14px!important}::ng-deep .multichoice-checkbox input[type=checkbox]{position:absolute!important;opacity:0!important;cursor:pointer!important;height:0!important;width:0!important}::ng-deep .multichoice-checkbox input[type=checkbox]:checked .icone{visibility:visible!important}::ng-deep .multichoice-checkbox input[type=checkbox]:checked+.check{background:#eee;opacity:1!important}::ng-deep .multichoice-checkbox input[type=checkbox]:checked+.check .icone{visibility:visible!important;font-size:1.1em!important}.progress-box{margin-bottom:15px;padding:10px;background-color:#fff;border-radius:4px}.progress-box .progress-box-header{display:flex;align-items:center;justify-content:space-between}.progress-box .progress-box-body .progress-bar-visual{background-color:#e7415c!important}.progress-box .progress-box-body .progress-bar-audio{background-color:#f58c2e!important}.progress-box .progress-box-body .progress-bar-textual{background-color:#40c0ab}.progress-box .progress-box-body .progress-bar-kinesthetic{background-color:#8559b3}"]
|
|
10707
|
+
styles: [".flex-container{padding:0;margin:0;list-style:none;-ms-box-orient:horizontal;display:-moz-flex;display:flex}.nowrap{flex-wrap:nowrap}.wrap{flex-wrap:wrap}::ng-deep .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#e91e63}::ng-deep .mat-radio-button.mat-accent .mat-radio-inner-circle{background-color:#e91e63}::ng-deep .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element{background-color:rgba(233,30,99,.26)}.mat-checkbox-label,::ng-deep .mat-radio-label{cursor:pointer;white-space:nowrap;padding:10px}::ng-deep .mat-horizontal-stepper-header{height:40px!important;padding:0 15px!important}::ng-deep .mat-step-header .mat-step-icon{background-color:#e91e63;color:#fff}::ng-deep .mat-stepper-horizontal-line{margin:0!important}::ng-deep .checkbox .checkbox-material .check{width:15px;height:15px;border:1px solid #ddd;border-radius:3px}::ng-deep .checkbox .checkbox-material .check:before{position:absolute;content:\"\";transform:rotate(45deg);display:block;margin-top:-5px;margin-left:5px;font-size:.5em;width:1;height:0;-webkit-animation:.3s forwards checkbox-off;animation:.3s forwards checkbox-off}::ng-deep .checkbox label{cursor:pointer;padding-left:0;font-size:.8em;font-weight:500;color:#525859}.mt--5{margin-top:-7px}.mt-20{margin-top:20px}.ml-3{margin-left:3px}.no-margin{margin:0!important}.bg-purple{background:#9c27b0}.fc-gray{color:#525859!important}.fc-purple{color:#9c27b0!important}.fc-red{color:#e50606!important}.fc-green{color:#2ac994!important}.bold{font-weight:700}.bolder{font-weight:bolder}.placeholder{color:#d5d5d5}.border{border:1px solid #d2d2d2}.no-border{border:none}.bl-0{border-left:none}.border-label{padding:0;border-radius:3px;border:1px solid #ccc;background:rgba(255,255,255,.5)}.border-top{border-top:1px solid #eee}.border-bottom{border-bottom:1px solid #eee}.col-center-block{float:none;display:block;margin:0 auto}.btn.focus,.btn:focus{color:#fff;background-color:#595959;border-color:#595959;outline:0;box-shadow:0 0 0 .2rem rgba(89,89,89,.25)}.btn-primary{color:#fff;background-color:#6c757d!important;border-color:#6c757d!important;box-shadow:none;font-size:1em}.btn-primary:hover{color:#fff;background-color:#595959;border-color:#595959;box-shadow:0 14px 26px -12px rgba(89,89,89,.42),0 4px 23px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(89,89,89,.2)}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(89,89,89,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-primary.disabled,.btn-primary:disabled:hover,.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#595959;border-color:#595959}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(89,89,89,.5)}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-muted{background:#ccc}.btn-muted:hover{background:#bbb}.box-group{padding:10px;background:#f5f5f5;border:1px solid #eee;border-radius:3px}.box{display:flex;display:-ms-flexbox;align-items:center;-webkit-box-align:center;-ms-flex-align:center;flex-direction:column;justify-content:center;-webkit-justify-content:center;-webkit-box-pack:center;margin-left:auto}.box-list{display:flex;align-items:center;justify-content:center;height:100%;padding-bottom:30px;width:100%}.box-ask-border{display:inline-block;margin:2%;max-width:190px;min-height:190px;text-align:left;width:46%}.box-ask-border:hover{border-color:#dedede;color:#dedede;background:#fff7fa;border-radius:7px}.box-label{cursor:pointer;display:block;height:100%;padding:12px}.box-img{background-position:50%;background-size:cover;border-radius:7px;height:160px;margin:0;width:100%;-o-object-fit:cover;object-fit:cover}.box-input{display:block;position:relative;cursor:pointer;font-size:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box-input input{position:absolute;opacity:0;cursor:pointer}.checkmark{position:absolute;top:-17px;left:-17px;background:0 0;border:2px solid #dadada;color:#3c3c3c;border-radius:10px;display:inline-block;margin:2%;width:116%;height:120%;min-height:190px}.box-input input:checked~.checkmark{border:2px solid #dedede}.checkmark:after{content:\"\";position:absolute;display:none}.box-input input:checked~.box-ask-border:after{border:2px solid #dadada;color:#3c3c3c;border-radius:10px;display:inline-block;font-size:15px;margin:2%;max-width:190px;text-align:left;width:46%}.box-ask-border:after{border-color:#dedede;color:rgba (233,30,99,.3);background:#fff7fa}.title{font-size:13px;float:left;padding:2px 10px;position:fixed}.title-question{font-size:1.12em;font-weight:900;color:#525859;margin-bottom:20px}.title-config{font-size:.8em;font-weight:500;color:#525859;margin-bottom:0;width:100%}.tool-name{font-weight:600;color:#9c27b0}.tool-name-subtitle{font-weight:600;color:#525859}.img-responsive,.vid-responsive{display:block;max-width:100%;height:auto}.img-thumbnail,.vid-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;margin-bottom:30px;transition:.2s ease-in-out}.col-left{border-right:1px solid #eee}.col-center{float:left;width:60%}.col-right{border-left:1px solid #eee}.col-left,.col-right{float:left;width:20%;overflow-x:hidden!important}.col-sup{height:28vh;overflow-y:auto;padding:10px;border-top:1px solid #eee;border-bottom:1px solid #eee;margin-top:25px}.col-sub{height:51.5vh;overflow-y:auto;padding:10px;border-top:1px solid #eee;margin-top:25px}.col-int{height:83.5vh;overflow-y:auto;padding:10px;margin-top:25px;border-top:1px solid #eee}.icon{float:left;width:50%;height:70px;text-align:center;margin:20px 0}.icon i{font-size:40px}.icon a{display:block;color:#999}.icon a:hover{color:#777}.icon p{font-size:14px;margin:5px}table thead th{font-size:1em;font-weight:900;color:#383838}table tfoot .amount{font-size:1em;font-weight:900;color:#383838;text-align:right}.nav-tabs{border-bottom:1px solid #ddd;margin-bottom:20px;background:0 0}.nav-tabs>li>a{margin-right:0!important;padding:4px 8px;color:#9c27b0!important}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd!important;border-bottom-color:transparent!important}.divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}input.cell-text::-webkit-input-placeholder{color:#d5d5d5}input.cell-text::-moz-placeholder{color:#d5d5d5}input.cell-text:-ms-input-placeholder{color:#d5d5d5}input.cell-text::-ms-input-placeholder{color:#d5d5d5}input.cell-text::placeholder{color:#d5d5d5}input.text{border:1px solid #ddd;padding:5px 10px;border-radius:3px;color:#333}input.text::-webkit-input-placeholder{color:#d5d5d5}input.text::-moz-placeholder{color:#d5d5d5}input.text:-ms-input-placeholder{color:#d5d5d5}input.text::-ms-input-placeholder{color:#d5d5d5}input.text::placeholder{color:#d5d5d5}select.text{border:1px solid #ddd;padding:5px 2px;border-radius:3px;color:#333}select.text::-webkit-input-placeholder{color:#d5d5d5}select.text::-moz-placeholder{color:#d5d5d5}select.text:-ms-input-placeholder{color:#d5d5d5}select.text::-ms-input-placeholder{color:#d5d5d5}select.text::placeholder{color:#d5d5d5}textarea.text{border:1px solid #ddd;padding:5px 10px;border-radius:3px;color:#333;resize:none}textarea.text::-webkit-input-placeholder{color:#d5d5d5}textarea.text::-moz-placeholder{color:#d5d5d5}textarea.text:-ms-input-placeholder{color:#d5d5d5}textarea.text::-ms-input-placeholder{color:#d5d5d5}textarea.text::placeholder{color:#d5d5d5}.text-input{color:#b5b4b4;font-size:1.12em;position:relative;vertical-align:middle;display:inline-block;transition:.5s;padding:0;cursor:pointer;border-bottom:2px solid #fff;-webkit-transition:.5s}.text-input::after,.text-input::before{width:100%;height:100%;z-index:3;content:\"\";position:absolute;top:0;left:0;box-sizing:border-box;-webkit-transform:scale(0);transition:.5s}.text-input::-webkit-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::-moz-placeholder{color:#dcb8e3;font-size:1.09em}.text-input:-ms-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::-ms-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::placeholder{color:#dcb8e3;font-size:1.09em}.text-input:focus,.text-input:hover{color:#dcb8e3;font-size:1.09em;border-bottom:2px solid #dedede}input[type=checkbox],input[type=radio]{display:none}input[type=checkbox]+label,input[type=radio]+label{color:#b5b4b4;font-size:1.09em}input[type=radio]+label span{display:inline-block;width:19px;height:19px;margin:-2px 10px 0 0;vertical-align:middle;cursor:pointer}input[type=checkbox]+label span{display:inline-block;width:19px;height:19px;margin:-2px 10px 0 0;vertical-align:middle;cursor:pointer;transition:.1s}input[type=checkbox]:checked+label span{transition:.1s}.multiple-questions label span{display:block;cursor:pointer;max-height:242px;border:1px solid #ddd;border-radius:7px;padding:10px 10px 0;margin:5px;max-width:180px;min-height:180px}.multiple-questions label span.no-image{min-height:0}.multiple-questions label span.no-image img{display:none!important}.multiple-questions input[type=radio]:checked+span{border:1px solid #595959!important;background:#fcfcfc}.multiple-questions label span img{border-radius:7px;width:180px;height:180px}.multiple-questions .text{text-align:center;padding:15px 0;min-height:30px}input.multichoice:empty{margin-left:-999px}input.multichoice:empty~label{position:relative;margin-right:20px;margin-bottom:20px;padding-right:20px;float:left;line-height:2.5em;text-indent:3.5em;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:.1s}input.multichoice:empty~label:before{position:relative;left:0;float:left;content:'';width:40px;background:#d1d3d4;border-radius:3px 0 0 3px;margin-left:0;margin-right:-40px}input.multichoice:checked~label:before{content:'\\2714';text-indent:.9em;color:#fff;background-color:#6c63fe;transition:.1s}.d-flex{display:flex!important}.flex-wrap{flex-wrap:wrap!important}.justify-content-center{justify-content:center!important}.flex-column{flex-direction:column!important}.align-content-center{align-content:center!important}.align-vertical-center{-ms-align-items:center!important;align-items:center!important}.wrapper{min-height:100%;position:relative;overflow:hidden}.wrapper:after,.wrapper:before{content:\" \";display:table}.wrapper:after{clear:both}.content-wrapper{min-height:100%;background-color:#fff;z-index:800;padding-top:40px}.top-menu{position:absolute;border-bottom:1px solid #eee;top:0;width:100%;height:40px;padding:0 10px;line-height:40px}.tool{float:right;padding:2px 5px}.footer{position:absolute;border-top:1px solid #eee;bottom:0;padding:0 10px;width:100%;height:40px;line-height:40px;background:#fff}.cliente{font-size:16px}.modulo a{padding:2px 5px;border-radius:4px;display:block;background:#9c27b0;color:#fff;margin-bottom:5px}.modulo a:hover{background:#831596}.modulo span a{float:right;font-size:12px;padding:0;background:0 0;margin-left:5px;margin-top:1px}.modulo span a:hover{color:#e9e9e9}.etapa a{padding:2px 5px 2px 20px;border-radius:4px;display:block;background:0 0;color:#777;margin-bottom:5px}.etapa span a{float:right;font-size:12px;padding:0;background:0 0;color:#ddd;margin-left:5px;margin-top:1px}.etapa span a:hover{color:#999}.form-custom input[type=number],.form-custom input[type=text],.form-custom select,.form-custom textarea{border:1px solid #dadde2;padding:3px 5px;border-radius:2px;font-size:13px;overflow-x:hidden}.form-custom .txt{border:1px solid #dadde2;padding:3px 5px;border-radius:2px;font-size:13px}.form-custom ::-webkit-input-placeholder{font-size:13px;color:#999}.form-custom ::-moz-placeholder{font-size:13px;color:#999}.form-custom ::-ms-input-placeholder{font-size:13px;color:#999}.wrapper-input{height:45px}.btn-rose{background:#e91e63}.cursor{cursor:pointer}.midia-w iframe{width:100%}.midia-h iframe{height:400px}.breadcrumb{padding:0 15px;margin-bottom:20px;list-style:none;background-color:transparent;font-size:12px}.config-label{width:100%;margin:5px 0;float:left;font-size:.8em;display:block;line-height:1.5em}.config-textarea{width:100%;margin:5px 0;float:left;resize:initial;overflow-y:auto;display:block;font-size:.9em!important;color:#999}.config-input,.config-select{width:100%;margin:5px 0;float:left;display:block;font-size:.9em!important;color:#999}.config-box{width:100%;margin:5px;float:left}.config-box-50{width:45%;min-height:110px;margin:5px;float:left;background:#f9f9f9;border:1px solid #eee;border-radius:5px;padding:10px}.config-box-title{width:100%;padding:10px;font-size:.85em}.no-bg-image{background-image:none}.space-inside{padding:10px}.block{display:block}.fake-link{cursor:pointer}.item-component{margin:0;border-radius:2px;border:1px solid #fff}.item-component:hover{border-color:#9c27b0}.item-component.active{border-color:#9c27b0;background-color:#f9f9f9}.item-box-model{border:3px dashed #ddd;padding:20px;color:#ccc;min-height:50px}.item-component-challenge,.item-component-conclusion,.item-component-download,.item-component-dynamic-input,.item-component-dynamic-table,.item-component-image,.item-component-intro,.item-component-long-text,.item-component-multichoise,.item-component-multiple-questions,.item-component-pdf,.item-component-rating,.item-component-sales-channel,.item-component-sheet-correct-incorrect,.item-component-star-point,.item-component-text,.item-component-upload,.item-component-video,.item-component-yes-no{padding:0}.item-component-image .material-icons,.item-component-pdf .material-icons,.item-component-video .material-icons{font-size:80px}.item-component-title .title-bold{font-weight:700}.item-component-title .title-italic{font-style:italic}.item-component-title .title-underline{text-decoration:underline}.icon.disabled{opacity:.3}.item-component-image-icon-container,.item-component-pdf-icon-container,.item-component-video-icon-container{background:#eee;border:1px solid #ccc;text-align:center;color:#444;font-size:50px;padding:160px}.btn-container{text-align:center}.etapa a:hover,.etapa.active a{background:#f4f4f4}.etapa.active:before{font:700 14px/1 FontAwesome;content:\"\\f0da\";float:left;color:#9c27b0;position:relative;top:5px;left:5px}.scroll{overflow-y:auto}#trail-status{color:#ddd;margin-right:10px;background:0 0;border:none}#trail-status.active{color:#6c9}.item-btn-delete{position:relative}.item-btn-delete button{position:absolute;top:-10px;right:-10px;border:1px solid #9c27b0;background-color:#fff;color:#9c27b0;border-radius:50%;width:20px;height:20px;padding:0;font-size:12px;line-height:12px;z-index:1}.item-btn-delete button:hover{background-color:#9c27b0;color:#fff}.custom-divisor{margin:10px 0}#tbl-objetivo td{padding:0 8px;height:0}#accordion .tool-name:after{font-family:\"Glyphicons Halflings\";content:\"\\e114\";float:right}#accordion .tool-name.collapsed:after{content:\"\\e080\"}#editor-components-wrapper img{max-height:500px;-o-object-fit:contain;object-fit:contain;background:#eee;width:auto}.input-styled{border:1px solid #ccc;padding:4px 6px;border-radius:2px}.pulse:hover{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}}@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}}.cover{position:relative}.cover img{width:100%;min-height:480px;-o-object-fit:cover;object-fit:cover;opacity:1;transition:.5s;-webkit-backface-visibility:hidden;backface-visibility:hidden}.mx-auto{float:none;margin:0 auto}@media (min-width:576px) and (max-width:767px){::ng-deep .sheet-correct .radio{width:90%!important}}@media (min-width:768px) and (max-width:991px){::ng-deep .sheet-correct .radio{width:45%!important}}@media (min-width:992px) and (max-width:1199px){::ng-deep .sheet-correct .radio{width:65%!important}}@media (min-width:1200px){::ng-deep .sheet-correct .radio{width:45%!important}}@media (min-width:1600px){.col-sup{height:45vh}.col-sub{height:55.5vh}.col-int{height:88.5vh}}.image-modal{transition:.5s}.image-modal-item{width:100%;-o-object-fit:scale-down;object-fit:scale-down;max-height:320px;cursor:zoom-in}.image-modal-full{position:fixed;top:0;left:0;z-index:99999;width:100%;height:100%;padding:10%;background:rgba(0,0,0,.3);-o-object-fit:contain;object-fit:contain;cursor:zoom-out}", ".form-control:disabled,.form-control[readonly]{background-color:#fcfcfc;opacity:1}fieldset label{width:100%!important}fieldset label span{display:block;cursor:pointer;border-radius:7px;width:100%;height:100%;min-height:100%;display:flex;display:-webkit-flex;align-items:center;-webkit-align-items:center;padding:10px}fieldset textarea:focus{border:1px solid #ced4da!important;outline:0!important;box-shadow:none!important}fieldset table input:focus{border-color:none!important;outline-style:none!important;box-shadow:none!important}.marcadores{padding:10px;font-weight:600}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,::ng-deep .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:var(--main-color)!important}::ng-deep .mat-checkbox:not(.mat-checkbox-disabled).mat-accent .mat-checkbox-ripple .mat-ripple-element{background-color:var(--main-color)!important}.checkbox-list li{list-style:none!important;width:100%;margin-bottom:30px}.checkbox-list ::ng-deep .mat-checkbox-label{cursor:pointer!important;white-space:normal!important;line-height:1.3!important}::ng-deep .multichoice-checkbox{margin-bottom:10px!important;cursor:pointer!important}::ng-deep .multichoice-checkbox:last-child{margin-bottom:0!important}::ng-deep .multichoice-checkbox label{width:100%!important;padding:0!important}::ng-deep .multichoice-checkbox label .check{display:flex;align-items:center;width:100%;min-height:40px;border-radius:4px;background-color:#f9f9f9;opacity:.8}::ng-deep .multichoice-checkbox label .check:hover{opacity:1!important}::ng-deep .multichoice-checkbox label .check .icone{visibility:hidden!important}::ng-deep .multichoice-checkbox label .check .text{width:calc(100% - 30px);padding:10px!important;font-size:14px!important}::ng-deep .multichoice-checkbox input[type=checkbox]{position:absolute!important;opacity:0!important;cursor:pointer!important;height:0!important;width:0!important}::ng-deep .multichoice-checkbox input[type=checkbox]:checked .icone{visibility:visible!important}::ng-deep .multichoice-checkbox input[type=checkbox]:checked+.check{background:#eee;opacity:1!important}::ng-deep .multichoice-checkbox input[type=checkbox]:checked+.check .icone{visibility:visible!important;font-size:1.1em!important}.progress-box{margin-bottom:15px;padding:10px;background-color:#fff;border-radius:4px}.progress-box .progress-box-header{display:flex;align-items:center;justify-content:space-between}.progress-box .progress-box-body .progress-bar-visual{background-color:#e7415c!important}.progress-box .progress-box-body .progress-bar-audio{background-color:#f58c2e!important}.progress-box .progress-box-body .progress-bar-textual{background-color:#2cc84d}.progress-box .progress-box-body .progress-bar-kinesthetic{background-color:#8559b3}"]
|
|
10676
10708
|
}] }
|
|
10677
10709
|
];
|
|
10678
10710
|
/** @nocollapse */
|
|
@@ -10702,6 +10734,22 @@
|
|
|
10702
10734
|
/** @type {?} */
|
|
10703
10735
|
EditorResearchComponent.prototype.isPosting;
|
|
10704
10736
|
/** @type {?} */
|
|
10737
|
+
EditorResearchComponent.prototype.exibirQuestionario;
|
|
10738
|
+
/** @type {?} */
|
|
10739
|
+
EditorResearchComponent.prototype.exibirGrafico;
|
|
10740
|
+
/** @type {?} */
|
|
10741
|
+
EditorResearchComponent.prototype.atualizarResultadosGraficoApi;
|
|
10742
|
+
/** @type {?} */
|
|
10743
|
+
EditorResearchComponent.prototype.graficoV1;
|
|
10744
|
+
/** @type {?} */
|
|
10745
|
+
EditorResearchComponent.prototype.graficoV2;
|
|
10746
|
+
/** @type {?} */
|
|
10747
|
+
EditorResearchComponent.prototype.graficov3;
|
|
10748
|
+
/** @type {?} */
|
|
10749
|
+
EditorResearchComponent.prototype.graficov4;
|
|
10750
|
+
/** @type {?} */
|
|
10751
|
+
EditorResearchComponent.prototype.grafico;
|
|
10752
|
+
/** @type {?} */
|
|
10705
10753
|
EditorResearchComponent.prototype._trailContentService;
|
|
10706
10754
|
}
|
|
10707
10755
|
|