asap-viewer 12.5.33 → 12.5.35

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.
@@ -10242,7 +10242,7 @@
10242
10242
  FormStepComponent.decorators = [
10243
10243
  { type: core.Component, args: [{
10244
10244
  selector: 'app-editor-component-form-step',
10245
- template: "<div [ngStyle]=\"{'background': item.background}\" class=\"p-5\">\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\n\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\n\n <form class=\"mt-7\" [formGroup]=\"form\">\n <fieldset [disabled]=\"blocked\">\n <mat-horizontal-stepper labelPosition=\"bottom\" [linear]=\"true\">\n <mat-step [formArrayName]=\"i\" *ngFor=\"let step of item.steps; index as i\" [stepControl]=\"form.controls[i]\">\n\n <div class=\"mt-4\">\n <p class=\"enunciated\">{{ step.resume }}</p>\n\n <!-- <code>{{form.value | json}}</code> -->\n <ng-container *ngFor=\"let input of step.inputArray; index as iInput\">\n\n <div class=\"mt-5\"\n *ngIf=\"(input.visibility === 'always') || (input.visibility === 'conditional' && input.visibility_control_value.includes(form.value[i][input.visibility_control]))\">\n <p class=\"enunciated\">{{ input.resume }}</p>\n\n <ng-container [attr.aria-label]=\"input.resume\" *ngIf=\"input.type === 'select'\">\n\n\n <div class=\"row\">\n <div class=\"col-sm-12\">\n <div class=\"multichoice mb-3\" *ngFor=\"let opt of input.options; index as iOpt\">\n <label>\n <input type=\"radio\" [formControlName]=\"iInput\" id=\"radio-{{iInput}}-{{iOpt}}\"\n [value]=\"opt.value\" [required]=\"true\" />\n <span class=\"p-3\">\n <div class=\"text\">{{ opt.value }}</div>\n <i class=\"fa fa-check\"></i>\n </span>\n </label>\n </div>\n </div>\n </div>\n\n\n <!-- <div style=\"padding: 10px 0; margin-top: 10px\">\n <mat-radio-group (change)=\"onMatRadioGroupChange($event, i, iInput)\" [required]=\"true\"\n [formControlName]=\"iInput\" [attr.aria-label]=\"input.resume\">\n <div *ngFor=\"let opt of input.options\" class=\"mb-2\">\n <mat-radio-button [value]=\"opt.value\">{{ opt.value }}</mat-radio-button>\n </div>\n </mat-radio-group>\n </div> -->\n </ng-container>\n\n <ng-container [attr.aria-label]=\"input.resume\" *ngIf=\"input.type === 'research'\">\n <div class=\"col-sm-12 mx-auto\">\n <div style=\"padding: 10px 0; padding-bottom: 0; margin-top: 10px\">\n <div *ngFor=\"let opt of input.options\" class=\"mb-2\">\n <mat-checkbox [checked]=\"form?.value[i][iInput]?.includes(opt.value)\"\n (change)=\"toggle(i,iInput,opt.value,$event)\" [value]=\"opt.value\">{{ opt.value }}\n </mat-checkbox>\n </div>\n </div>\n </div>\n </ng-container>\n\n <table [formArrayName]=\"iInput\" class=\"table table-bordered table-striped\"\n *ngIf=\"input.type === 'table'\">\n <thead>\n <tr>\n <th *ngFor=\"let col of input.cols\">{{ col.value }}</th>\n </tr>\n </thead>\n <tbody>\n <tr [formArrayName]=\"iLine\"\n *ngFor=\"let fCol of form['controls'][i]['controls'][iInput]['controls']; index as iLine\">\n <td style=\"padding: 0; line-height: 35px;\" *ngFor=\"let col of input.cols; index as iCol\">\n <input style=\"padding: 8px; width: 100%; background: #FFF; border: none;\"\n [required]=\"iLine === 0\" [formControlName]=\"iCol\" type=\"text\"\n name=\"radio_{{iInput}}_{{iLine}}_{{iCol}}\" />\n </td>\n </tr>\n </tbody>\n </table>\n\n <textarea [formControlName]=\"iInput\" *ngIf=\"input.type === 'text'\" class=\"form-control\"></textarea>\n </div>\n\n </ng-container>\n\n <div class=\"mt-4 text-center\" *ngIf=\"!blocked\">\n <ng-container *ngIf=\"form.controls[i].valid\">\n <button matStepperNext class=\"btn _btn-primary btn-sm\" *ngIf=\"item.steps.length !== (i+1)\"\n [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\">{{ 'SaveGoNext' | translate }}</button>\n <button (click)=\"onSubmit()\" class=\"btn _btn-primary btn-sm\" *ngIf=\"item.steps.length === (i+1)\"\n [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\">{{ 'SaveFinish' | translate }}</button>\n </ng-container>\n\n <ng-container *ngIf=\"!form.controls[i].valid\">\n <button (click)=\"showFormError()\" class=\"btn _btn-primary btn-sm\" *ngIf=\"item.steps.length !== (i+1)\"\n [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\">{{ 'SaveGoNext' | translate }}</button>\n <button (click)=\"showFormError()\" class=\"btn _btn-primary btn-sm\" *ngIf=\"item.steps.length === (i+1)\"\n [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\">{{ 'SaveFinish' | translate }}</button>\n </ng-container>\n\n </div>\n </div>\n </mat-step>\n </mat-horizontal-stepper>\n </fieldset>\n <div class=\"text-center mt-4\" *ngIf=\"blocked\">\n <button (click)=\"goNext()\" class=\"btn _btn-primary btn-sm\" [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\"> {{ 'Next' | translate }}</button>\n </div>\n </form>\n</div>\n",
10245
+ template: "<div [ngStyle]=\"{'background': item.background}\" class=\"p-5\">\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\n\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\n\n <form class=\"mt-7\" [formGroup]=\"form\">\n <fieldset [disabled]=\"blocked\">\n <mat-horizontal-stepper labelPosition=\"bottom\" [linear]=\"true\">\n <mat-step [formArrayName]=\"i\" *ngFor=\"let step of item.steps; index as i\" [stepControl]=\"form.controls[i]\">\n\n <div class=\"mt-4\">\n <p class=\"enunciated\">{{ step.resume }}</p>\n\n <ng-container *ngFor=\"let input of step.inputArray; index as iInput\">\n\n <div class=\"mt-5\"\n *ngIf=\"(input.visibility === 'always') || (input.visibility === 'conditional' && input.visibility_control_value.includes(form.value[i][input.visibility_control]))\">\n <p class=\"enunciated\">{{ input.resume }}</p>\n\n <ng-container [attr.aria-label]=\"input.resume\" *ngIf=\"input.type === 'select'\">\n\n\n <div class=\"row\">\n <div class=\"col-sm-12\">\n <div class=\"multichoice mb-3\" *ngFor=\"let opt of input.options; index as iOpt\">\n <label>\n <input type=\"radio\" [formControlName]=\"iInput\" id=\"radio-{{iInput}}-{{iOpt}}\"\n [value]=\"opt.value\" [required]=\"true\" />\n <span class=\"p-3\">\n <div class=\"text\">{{ opt.value }}</div>\n <i class=\"fa fa-check\"></i>\n </span>\n </label>\n </div>\n </div>\n </div>\n\n\n <!-- <div style=\"padding: 10px 0; margin-top: 10px\">\n <mat-radio-group (change)=\"onMatRadioGroupChange($event, i, iInput)\" [required]=\"true\"\n [formControlName]=\"iInput\" [attr.aria-label]=\"input.resume\">\n <div *ngFor=\"let opt of input.options\" class=\"mb-2\">\n <mat-radio-button [value]=\"opt.value\">{{ opt.value }}</mat-radio-button>\n </div>\n </mat-radio-group>\n </div> -->\n </ng-container>\n\n <ng-container [attr.aria-label]=\"input.resume\" *ngIf=\"input.type === 'research'\">\n <div class=\"col-sm-12 mx-auto\">\n <div style=\"padding: 10px 0; padding-bottom: 0; margin-top: 10px\">\n <div *ngFor=\"let opt of input.options\" class=\"mb-2\">\n <mat-checkbox [checked]=\"form?.value[i][iInput]?.includes(opt.value)\"\n (change)=\"toggle(i,iInput,opt.value,$event)\" [value]=\"opt.value\">{{ opt.value }}\n </mat-checkbox>\n </div>\n </div>\n </div>\n </ng-container>\n\n <table [formArrayName]=\"iInput\" class=\"table table-bordered table-striped\"\n *ngIf=\"input.type === 'table'\">\n <thead>\n <tr>\n <th *ngFor=\"let col of input.cols\">{{ col.value }}</th>\n </tr>\n </thead>\n <tbody>\n <tr [formArrayName]=\"iLine\"\n *ngFor=\"let fCol of form['controls'][i]['controls'][iInput]['controls']; index as iLine\">\n <td style=\"padding: 0; line-height: 35px;\" *ngFor=\"let col of input.cols; index as iCol\">\n <input style=\"padding: 8px; width: 100%; background: #FFF; border: none;\"\n [required]=\"iLine === 0\" [formControlName]=\"iCol\" type=\"text\"\n name=\"radio_{{iInput}}_{{iLine}}_{{iCol}}\" />\n </td>\n </tr>\n </tbody>\n </table>\n\n <textarea [formControlName]=\"iInput\" *ngIf=\"input.type === 'text'\" class=\"form-control\"></textarea>\n </div>\n\n </ng-container>\n\n <div class=\"mt-4 text-center\" *ngIf=\"!blocked\">\n <ng-container *ngIf=\"form.controls[i].valid\">\n <button matStepperNext class=\"btn _btn-primary btn-sm\" *ngIf=\"item.steps.length !== (i+1)\"\n [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\">{{ 'SaveGoNext' | translate }}</button>\n <button (click)=\"onSubmit()\" class=\"btn _btn-primary btn-sm\" *ngIf=\"item.steps.length === (i+1)\"\n [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\">{{ 'SaveFinish' | translate }}</button>\n </ng-container>\n\n <ng-container *ngIf=\"!form.controls[i].valid\">\n <button (click)=\"showFormError()\" class=\"btn _btn-primary btn-sm\" *ngIf=\"item.steps.length !== (i+1)\"\n [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\">{{ 'SaveGoNext' | translate }}</button>\n <button (click)=\"showFormError()\" class=\"btn _btn-primary btn-sm\" *ngIf=\"item.steps.length === (i+1)\"\n [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\">{{ 'SaveFinish' | translate }}</button>\n </ng-container>\n\n </div>\n </div>\n </mat-step>\n </mat-horizontal-stepper>\n </fieldset>\n <div class=\"text-center mt-4\" *ngIf=\"blocked\">\n <button (click)=\"goNext()\" class=\"btn _btn-primary btn-sm\" [style.color]=\"item.button.color\"\n [style.background-color]=\"item.button.background\"> {{ 'Next' | translate }}</button>\n </div>\n </form>\n</div>\n",
10246
10246
  providers: [TrailContentService],
10247
10247
  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}", ".fw-bold{font-weight:600}.marcadores{padding:10px;font-weight:600}.border-none{border:none}.conditional{border:1px solid #43425d}.conditional::before{content:\"Esse campo tem visibilidade condicional\";font-size:11px;background:#43425d;color:#fff;padding:4px 8px;position:relative;float:right}::ng-deep .mat-radio-label{white-space:normal!important}::ng-deep .mat-horizontal-content-container{overflow:hidden;padding:0!important}::ng-deep .mat-step-header:hover{background-color:transparent!important}::ng-deep .mat-step-header::ng-deep .cdk-program-focused{background-color:transparent!important}::ng-deep .mat-step-header::ng-deep .cdk-mouse-focused{background-color:transparent!important}::ng-deep .mat-step-header::ng-deep .cdk-focused{background-color:transparent!important}::ng-deep .theme-dark .enunciated{color:#ccc!important;margin-bottom:20px}"]
10248
10248
  }] }
@@ -14027,7 +14027,6 @@
14027
14027
  * @return {?}
14028
14028
  */
14029
14029
  function () {
14030
- console.log('owner ->', this.data);
14031
14030
  };
14032
14031
  /**
14033
14032
  * @return {?}
@@ -14046,6 +14045,7 @@
14046
14045
  */
14047
14046
  function () {
14048
14047
  var _this = this;
14048
+ this.goToRedirect();
14049
14049
  this.loading = true;
14050
14050
  /** @type {?} */
14051
14051
  var form = { rating: this.score, comment: this.comment };
@@ -14054,14 +14054,12 @@
14054
14054
  * @return {?}
14055
14055
  */
14056
14056
  function (res) {
14057
- console.log('Modal Rating Avaliate ->', res);
14058
14057
  if (res) {
14059
14058
  _this._trilhaRatingService.getResource(_this.data.owner.module).subscribe((/**
14060
14059
  * @param {?} response
14061
14060
  * @return {?}
14062
14061
  */
14063
14062
  function (response) {
14064
- console.log('Response Rating', response);
14065
14063
  if (response.data.end) {
14066
14064
  // this.showCertificateLink = false;
14067
14065
  _this.showContinueButtom = true;
@@ -14088,7 +14086,6 @@
14088
14086
  * @return {?}
14089
14087
  */
14090
14088
  function (error) {
14091
- console.log('Error -> save()', error);
14092
14089
  _this.loading = false;
14093
14090
  }));
14094
14091
  };
@@ -14099,8 +14096,20 @@
14099
14096
  * @return {?}
14100
14097
  */
14101
14098
  function () {
14099
+ this.goToRedirect();
14102
14100
  this.dialogRef.close('done');
14103
14101
  };
14102
+ /**
14103
+ * @return {?}
14104
+ */
14105
+ ModalStarRatingComponent.prototype.goToRedirect = /**
14106
+ * @return {?}
14107
+ */
14108
+ function () {
14109
+ if (this.data.redirect) {
14110
+ this.router.navigate(['/' + this.data.redirect]);
14111
+ }
14112
+ };
14104
14113
  /**
14105
14114
  * @return {?}
14106
14115
  */
@@ -14180,9 +14189,7 @@
14180
14189
  * @return {?}
14181
14190
  */
14182
14191
  function () {
14183
- console.log(this.step);
14184
14192
  this.getContent(this.step);
14185
- console.log('ITEM ->@@@@@', this.module, this.step, this.id);
14186
14193
  };
14187
14194
  /**
14188
14195
  * @private
@@ -14274,6 +14281,7 @@
14274
14281
  var e_1, _a;
14275
14282
  /** @type {?} */
14276
14283
  var data = res.data[0].value;
14284
+ _this.redirect = res.redirect;
14277
14285
  _this.content = res.data[0];
14278
14286
  if (res['data'][0].value) {
14279
14287
  /** @type {?} */
@@ -14323,32 +14331,26 @@
14323
14331
  * @return {?}
14324
14332
  */
14325
14333
  function (event) {
14326
- console.log('Event updateVideoTime ->', event);
14327
14334
  if (event.progress < 10) {
14328
14335
  this.resetVideoUpdater();
14329
14336
  }
14330
14337
  else if ((event.progress >= 10) && (this.updateAt10)) {
14331
- console.log('updateAt10');
14332
14338
  this.doUpdateVideoTime(event);
14333
14339
  this.updateAt10 = false;
14334
14340
  }
14335
14341
  else if ((event.progress >= 25) && (this.updateAt25)) {
14336
- console.log('updateAt25');
14337
14342
  this.doUpdateVideoTime(event);
14338
14343
  this.updateAt25 = false;
14339
14344
  }
14340
14345
  else if ((event.progress >= 50) && (this.updateAt50)) {
14341
- console.log('updateAt50');
14342
14346
  this.doUpdateVideoTime(event);
14343
14347
  this.updateAt50 = false;
14344
14348
  }
14345
14349
  else if ((event.progress >= 75) && (this.updateAt75)) {
14346
- console.log('updateAt75');
14347
14350
  this.doUpdateVideoTime(event);
14348
14351
  this.updateAt75 = false;
14349
14352
  }
14350
14353
  else if (event.progress >= 100) {
14351
- console.log('updateAt100');
14352
14354
  this.doUpdateVideoTime(event);
14353
14355
  }
14354
14356
  };
@@ -14448,7 +14450,7 @@
14448
14450
  var dialogRef = this.dialog.open(ModalStarRatingComponent, {
14449
14451
  width: '380px',
14450
14452
  disableClose: true,
14451
- data: { id: this.id, owner: this, event: event }
14453
+ data: { id: this.id, owner: this, event: event, redirect: this.redirect }
14452
14454
  });
14453
14455
  dialogRef.afterClosed().subscribe((/**
14454
14456
  * @param {?} result
@@ -14514,6 +14516,8 @@
14514
14516
  /** @type {?} */
14515
14517
  ViewerComponent.prototype.content;
14516
14518
  /** @type {?} */
14519
+ ViewerComponent.prototype.redirect;
14520
+ /** @type {?} */
14517
14521
  ViewerComponent.prototype.componentArray;
14518
14522
  /** @type {?} */
14519
14523
  ViewerComponent.prototype.loader;