asap-viewer 12.5.16 → 12.5.18
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 +12 -10
- package/bundles/asap-viewer.umd.js.map +1 -1
- package/bundles/asap-viewer.umd.min.js +1 -1
- package/bundles/asap-viewer.umd.min.js.map +1 -1
- package/esm2015/lib/editor/components/avaliation/avaliation.component.js +2 -2
- package/esm2015/lib/editor/components/contract/contract.component.js +3 -3
- package/esm2015/lib/editor/components/download/download.component.js +5 -3
- package/esm2015/lib/editor/components/multichoice/multichoice.component.js +2 -2
- package/esm2015/lib/editor/components/pdf/pdf.component.js +2 -2
- package/esm2015/lib/editor/components/research/research.component.js +2 -2
- package/esm2015/lib/editor/components/sheet-correct-incorrect/sheet-correct-incorrect.component.js +2 -2
- package/esm2015/lib/editor/components/upload/upload.component.js +2 -2
- package/esm5/lib/editor/components/avaliation/avaliation.component.js +2 -2
- package/esm5/lib/editor/components/contract/contract.component.js +3 -3
- package/esm5/lib/editor/components/download/download.component.js +5 -3
- package/esm5/lib/editor/components/multichoice/multichoice.component.js +2 -2
- package/esm5/lib/editor/components/pdf/pdf.component.js +2 -2
- package/esm5/lib/editor/components/research/research.component.js +2 -2
- package/esm5/lib/editor/components/sheet-correct-incorrect/sheet-correct-incorrect.component.js +2 -2
- package/esm5/lib/editor/components/upload/upload.component.js +2 -2
- package/fesm2015/asap-viewer.js +12 -10
- package/fesm2015/asap-viewer.js.map +1 -1
- package/fesm5/asap-viewer.js +12 -10
- package/fesm5/asap-viewer.js.map +1 -1
- package/package.json +1 -1
|
@@ -7533,7 +7533,7 @@
|
|
|
7533
7533
|
EditorMultiChoiceComponent.decorators = [
|
|
7534
7534
|
{ type: core.Component, args: [{
|
|
7535
7535
|
selector: 'app-editor-component-multichoice',
|
|
7536
|
-
template: "<ng-container *ngIf=\"loading\">\r\n <asap-skeleton type=\"lines\" lineWidth=\"100%\" lineHeight=\"50px\" [lines]=\"5\"></asap-skeleton>\r\n <div class=\"col-md-3 mx-auto\">\r\n <asap-skeleton type=\"lines\" lineWidth=\"100%\" lineHeight=\"50px\" [lines]=\"1\"></asap-skeleton>\r\n </div>\r\n</ng-container>\r\n\r\n<div class=\"component-multichoice\">\r\n <div [hidden]=\"loading\">\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 <!-- Imagem -->\r\n <ng-container *ngIf=\"item.media.type == 'IMAGE'\">\r\n <div class=\"text-center\" *ngIf=\"item.media.url\">\r\n <img class=\"imagem\" (click)=\"imagePopup($event)\" [src]=\"item.media.url\" />\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Carregamento de V\u00EDdeo (Vimeo/YouTube) -->\r\n <ng-container *ngIf=\"['YOUTUBE','VIMEO'].includes(item.media.type)\">\r\n <!-- 16:9 aspect ratio -->\r\n <div class=\"media mb-4 mx-4\">\r\n <iframe width=\"100%\" height=\"400\" [src]=\"item.media.url | youtubeEmbed | safeUrl:'resourceUrl'\" frameborder=\"0\"\r\n allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Quest\u00F5es -->\r\n <fieldset [disabled]=\"blocked\" [hidden]=\"loading\">\r\n <!-- View Inline -->\r\n <div class=\"row\" *ngIf=\"item.answersAlign === 'vertical'\" [ngClass]=\"{'disabled-options': onCheck}\">\r\n <div class=\"col-sm-10 mx-auto col-center-block\">\r\n <div class=\"d-flex flex-column align-items-stretch\">\r\n <div *ngFor=\"let opt of item.options; let i = index;\" class=\"mb-4\">\r\n <div class=\"multichoice\">\r\n <label>\r\n <input type=\"radio\" name=\"radio\" id=\"radio-{{ opt.value }}\" class=\"\" value=\"{{ opt.value }}\" (change)=\"onSelectionChange(opt)\" />\r\n <span [class.on-success]=\"opt.selected == true && opt.correct == true\" [class.on-error]=\"opt.selected == true && opt.correct == false\">\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" *ngIf=\"item.marketType === 'roman'\">{{ listMarkerRoman[i] }})</div>\r\n <div class=\"pull-left\" *ngIf=\"item.marketType === 'lower'\">{{ listMarkerLetter[i] }})</div>\r\n <div class=\"pull-left\" *ngIf=\"item.marketType === 'upper'\">\r\n {{ listMarkerLetter[i] | uppercase }})\r\n </div>\r\n <div class=\"pull-left\" *ngIf=\"item.marketType === 'number'\">{{ listMarkerNumber[i] }})</div>\r\n </div>\r\n\r\n <div class=\"text\">{{ opt.label }}</div>\r\n <i class=\"fa fa-check\" *ngIf=\"opt.selected == true && opt.correct == true\"></i>\r\n <i class=\"fa fa-close\" *ngIf=\"opt.selected == true && opt.correct == false\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- View InColun -->\r\n <div class=\"row\" *ngIf=\"item.answersAlign === 'horizontal'\" [ngClass]=\"{'disabled-options': onCheck}\">\r\n <div class=\"col-md-12 text-center\">\r\n <div class=\"d-flex flex-wrap justify-content-center\">\r\n <div *ngFor=\"let opt of item.options; let i = index;\" class=\"m-4\">\r\n <div class=\"multichoice\">\r\n <label>\r\n <input type=\"radio\" name=\"radio\" id=\"radio-{{ opt.value }}\" value=\"{{ opt.value }}\"\r\n (change)=\"onSelectionChange(opt)\" />\r\n <span>\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" *ngIf=\"item.marketType === 'roman'\">{{ listMarkerRoman[i] }})</div>\r\n <div class=\"pull-left\" *ngIf=\"item.marketType === 'lower'\">{{ listMarkerLetter[i] }})</div>\r\n <div class=\"pull-left\" *ngIf=\"item.marketType === 'upper'\">\r\n {{ listMarkerLetter[i] | uppercase }})\r\n </div>\r\n <div class=\"pull-left\" *ngIf=\"item.marketType === 'number'\">{{ listMarkerNumber[i] }})</div>\r\n </div>\r\n <div class=\"text\">{{ opt.label }}</div>\r\n <i class=\"fa fa-check\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </fieldset>\r\n\r\n <app-editor-component-shared-button [button]=\"item.button\" [disabled]=\"!blocked\" (event)=\"goNext()\"></app-editor-component-shared-button>\r\n\r\n </div>\r\n\r\n</div>\r\n",
|
|
7536
|
+
template: "<ng-container *ngIf=\"loading\">\r\n <asap-skeleton type=\"lines\" lineWidth=\"100%\" lineHeight=\"50px\" [lines]=\"5\"></asap-skeleton>\r\n <div class=\"col-md-3 mx-auto\">\r\n <asap-skeleton type=\"lines\" lineWidth=\"100%\" lineHeight=\"50px\" [lines]=\"1\"></asap-skeleton>\r\n </div>\r\n</ng-container>\r\n\r\n<div class=\"component-multichoice\">\r\n <div [hidden]=\"loading\">\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 <!-- Imagem -->\r\n <ng-container *ngIf=\"item.media.type == 'IMAGE'\">\r\n <div class=\"text-center\" *ngIf=\"item.media.url\">\r\n <img class=\"imagem\" (click)=\"imagePopup($event)\" [src]=\"item.media.url\" />\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Carregamento de V\u00EDdeo (Vimeo/YouTube) -->\r\n <ng-container *ngIf=\"['YOUTUBE','VIMEO'].includes(item.media.type)\">\r\n <!-- 16:9 aspect ratio -->\r\n <div class=\"media mb-4 mx-4\">\r\n <iframe width=\"100%\" height=\"400\" [src]=\"item.media.url | youtubeEmbed | safeUrl:'resourceUrl'\" frameborder=\"0\"\r\n allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Quest\u00F5es -->\r\n <fieldset [disabled]=\"blocked\" [hidden]=\"loading\">\r\n <!-- View Inline -->\r\n <div class=\"row\" *ngIf=\"item.answersAlign === 'vertical'\" [ngClass]=\"{'disabled-options': onCheck}\">\r\n <div class=\"col-sm-10 mx-auto col-center-block\">\r\n <div class=\"d-flex flex-column align-items-stretch\">\r\n <div *ngFor=\"let opt of item.options; let i = index;\" class=\"mb-4\">\r\n <div class=\"multichoice\">\r\n <label>\r\n <input type=\"radio\" name=\"radio\" id=\"radio-{{ opt.value }}\" class=\"\" value=\"{{ opt.value }}\" (change)=\"onSelectionChange(opt)\" />\r\n <span [ngStyle]=\"{'background': item.answerBackground }\" [class.on-success]=\"opt.selected == true && opt.correct == true\" [class.on-error]=\"opt.selected == true && opt.correct == false\">\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"item.marketType === 'roman'\">{{ listMarkerRoman[i] }})</div>\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"item.marketType === 'lower'\">{{ listMarkerLetter[i] }})</div>\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"item.marketType === 'upper'\">\r\n {{ listMarkerLetter[i] | uppercase }})\r\n </div>\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"item.marketType === 'number'\">{{ listMarkerNumber[i] }})</div>\r\n </div>\r\n\r\n <div class=\"text\" [ngStyle]=\"{'color': item.answerTextColor }\">{{ opt.label }}</div>\r\n <i class=\"fa fa-check\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"opt.selected == true && opt.correct == true\"></i>\r\n <i class=\"fa fa-close\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"opt.selected == true && opt.correct == false\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- View InColun -->\r\n <div class=\"row\" *ngIf=\"item.answersAlign === 'horizontal'\" [ngClass]=\"{'disabled-options': onCheck}\">\r\n <div class=\"col-md-12 text-center\">\r\n <div class=\"d-flex flex-wrap justify-content-center\">\r\n <div *ngFor=\"let opt of item.options; let i = index;\" class=\"m-4\">\r\n <div class=\"multichoice\">\r\n <label>\r\n <input type=\"radio\" name=\"radio\" id=\"radio-{{ opt.value }}\" value=\"{{ opt.value }}\"\r\n (change)=\"onSelectionChange(opt)\" />\r\n <span [ngStyle]=\"{'background': item.answerBackground }\">\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"item.marketType === 'roman'\">{{ listMarkerRoman[i] }})</div>\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"item.marketType === 'lower'\">{{ listMarkerLetter[i] }})</div>\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"item.marketType === 'upper'\">\r\n {{ listMarkerLetter[i] | uppercase }})\r\n </div>\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerTextColor }\" *ngIf=\"item.marketType === 'number'\">{{ listMarkerNumber[i] }})</div>\r\n </div>\r\n <div class=\"text\" [ngStyle]=\"{'color': item.answerTextColor }\">{{ opt.label }}</div>\r\n <i class=\"fa fa-check\" [ngStyle]=\"{'color': item.answerTextColor }\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </fieldset>\r\n\r\n <app-editor-component-shared-button [button]=\"item.button\" [disabled]=\"!blocked\" (event)=\"goNext()\"></app-editor-component-shared-button>\r\n\r\n </div>\r\n\r\n</div>\r\n",
|
|
7537
7537
|
providers: [TrailContentService],
|
|
7538
7538
|
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}", ".disabled-options{pointer-events:none!important}.componente-multichoice{display:flex;align-items:center;justify-content:center;flex-direction:row;flex-wrap:wrap;min-height:78vh}.componente-multichoice .titulo{width:100%;font-weight:900;color:#666;margin-bottom:1.5rem!important;text-align:center;font-size:18px}.componente-multichoice .imagem{-o-object-fit:scale-down;object-fit:scale-down;max-height:400px;width:100%;background:#eee}.theme-dark .multichoice label span{border:1px solid #ddd;color:#bbb}.theme-dark .multichoice input[type=radio]:checked+span{border:1px solid #aaa;background:#fcfcfc;color:#aaa}.theme-dark .multichoice input[type=radio]:checked+.on-success{border:1px solid var(--main-color)}.theme-dark .multichoice input[type=radio]:checked+.on-success i{color:var(--main-color)}.theme-dark .multichoice input[type=radio]:checked+.on-error{background-color:#000}.theme-dark .multichoice .text{width:100%}@media (max-width:767px){.componente-imagem{min-height:25vh}.componente-imagem .icone{background:0 0;border:none}}"]
|
|
7539
7539
|
}] }
|
|
@@ -8257,7 +8257,7 @@
|
|
|
8257
8257
|
EditorSheetCorrectIncorrectComponent.decorators = [
|
|
8258
8258
|
{ type: core.Component, args: [{
|
|
8259
8259
|
selector: 'app-editor-component-sheet-correct-incorrect',
|
|
8260
|
-
template: "<div class=\"minh-vh-75 py-3\">\r\n\r\n <!-- M\u00EDdias -->\r\n <ng-container *ngIf=\"item.media == 'IMAGE'\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto mb-4\">\r\n <img height=\"320\" style=\"width: 100%; object-fit: scale-down; max-height: 320px;\" *ngIf=\"item.
|
|
8260
|
+
template: "<div class=\"minh-vh-75 py-3\">\r\n\r\n <!-- M\u00EDdias -->\r\n <ng-container *ngIf=\"item.media.type == 'IMAGE'\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto mb-4\">\r\n <img height=\"320\" style=\"width: 100%; object-fit: scale-down; max-height: 320px;\" *ngIf=\"item.media.url\" [src]=\"item.media.url\" />\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.media.type == 'YOUTUBE' || item.media.type == 'VIMEO'\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto mb-4\">\r\n <iframe width=\"100%\" height=\"400px\" [src]=\"item.media.url | youtubeEmbed | safeUrl:'resourceUrl'\" frameborder=\"0\"\r\n allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen>\r\n </iframe>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Enunciado Geral da Quest\u00E3o -->\r\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\r\n\r\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\r\n\r\n <!-- Quest\u00F5es -->\r\n <ng-container *ngFor=\"let line of item.lines; let i = index;\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto mb-6\">\r\n <div class=\"border rounded minw-90 bg-white w-100\">\r\n <div class=\"p-4 text-center\">\r\n <p class=\"mb-3\"><strong>{{ line.title }}</strong></p>\r\n <div class=\"radio d-inline-block mx-4\">\r\n <label class=\"radio-true\"\r\n [ngClass]=\"{'radio-checked':(line.selected == 'sim')?true:false, 'radio-disabled':sended}\"><input\r\n type=\"radio\" name=\"option_{{i}}\" [(ngModel)]=\"line.selected\" value=\"sim\">{{ 'Right' | translate }}</label>\r\n </div>\r\n\r\n <div class=\"radio d-inline-block mx-4\">\r\n <label class=\"radio-false\"\r\n [ngClass]=\"{'radio-checked':(line.selected == 'nao')?true:false, 'radio-disabled':sended}\"><input\r\n type=\"radio\" name=\"option_{{i}}\" [(ngModel)]=\"line.selected\" value=\"nao\">{{ 'Wrong' | translate }}</label>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"sended\">\r\n <div class=\"border-top w-100 p-2 bg-green-opt pos-bottom\"\r\n *ngIf=\"(line.selected === 'sim' && line.correct) || (!line.correct && line.selected === 'nao')\">\r\n <span class=\"text-left fc-green-dark-2\">\r\n <span *ngIf=\"item.feedback === 'BYQUESTION'\"><i class=\"fa fa-check mx-2\"></i>\r\n <em>{{ line.feedback }}</em></span>\r\n <span *ngIf=\"item.feedback === 'GENERAL_DISTINCT'\"><i class=\"fa fa-check mx-2\"></i>\r\n <em>{{ item.feedbackPositiveMessage }}</em></span>\r\n <span *ngIf=\"item.feedback === 'GENERAL'\"><i class=\"fa fa-check mx-2\"></i>\r\n <em>{{ item.feedbackMessage }}</em></span>\r\n </span>\r\n </div>\r\n\r\n <div class=\"border-top w-100 p-2 bg-red-opt pos-bottom\"\r\n *ngIf=\"(line.selected === 'sim' && !line.correct) || (line.correct && line.selected === 'nao')\">\r\n <span class=\"text-left fc-red-dark-2\">\r\n <span *ngIf=\"item.feedback === 'BYQUESTION'\"><i class=\"fa fa-close mx-2\"></i>\r\n <em>{{ line.feedback }}</em></span>\r\n <span *ngIf=\"item.feedback === 'GENERAL_DISTINCT'\"><i class=\"fa fa-close mx-2\"></i>\r\n <em>{{ item.feedbackNegativeMessage }}</em></span>\r\n <span *ngIf=\"item.feedback === 'GENERAL'\"><i class=\"fa fa-close mx-2\"></i>\r\n <em>{{ item.feedbackMessage }}</em></span>\r\n </span>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Bot\u00E3o Checar Op\u00E7\u00F5es -->\r\n <ng-container *ngIf=\"!sended\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto text-center mb-4\">\r\n <ng-container *ngIf=\"!item.button\">\r\n <button class=\"btn btn-primary\" (click)=\"onSubmit()\">{{ 'CheckOptions' | translate }}</button>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.button\">\r\n <button class=\"btn\" (click)=\"onSubmit()\"\r\n [ngStyle]=\"{'color': item.button.color, 'background-color': item.button.background}\">{{ 'CheckOptions' | translate }}\r\n </button>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Bot\u00E3o pr\u00F3ximo -->\r\n <!-- <code>{{item.button | json}}</code> -->\r\n <ng-container *ngIf=\"sended\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto text-center mb-4\">\r\n\r\n <ng-container *ngIf=\"!item.button\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"goNext()\">{{ 'Next' | translate }}</button>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.button\">\r\n <button type=\"button\" class=\"btn\" (click)=\"goNext()\"\r\n [ngStyle]=\"{'color': item.button.color, 'background-color': item.button.background}\">{{ (item.button.text === '') ? 'Next' : item.button.text | translate }}</button>\r\n </ng-container>\r\n\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n",
|
|
8261
8261
|
providers: [TrailContentService],
|
|
8262
8262
|
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}", ".flex-box{display:flex;justify-content:center;align-items:center}.pos-bottom{position:relative;bottom:0}.d-inline-block{display:inline-block}.radio label{color:#333}input[type=radio]{display:none}.bg-green-opt{background-color:#b9f7b9!important}.bg-red-opt{background-color:#f7bdb9!important}.radio-false{background-color:#f7bdb9;border-radius:5px;padding-left:15px!important;padding-right:15px!important;padding:5px;color:#fff;cursor:pointer}.radio-true{background-color:#b9f7b9;border-radius:5px;padding-left:15px!important;padding-right:15px!important;padding:5px;color:#fff;cursor:pointer}.radio-checked{border:2px solid #87abf8}.radio-disabled{pointer-events:none;background-color:#dfdfdf;cursor:not-allowed}"]
|
|
8263
8263
|
}] }
|
|
@@ -8543,7 +8543,7 @@
|
|
|
8543
8543
|
EditorUploadComponent.decorators = [
|
|
8544
8544
|
{ type: core.Component, args: [{
|
|
8545
8545
|
selector: 'app-editor-component-upload',
|
|
8546
|
-
template: "<div class=\"
|
|
8546
|
+
template: "<div class=\"p-5\" [ngStyle]=\"{'background': item.background}\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 text-center m-conc-container\">\r\n <div class=\"text-center m-conc\">\r\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\r\n\r\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\r\n\r\n <p class=\"my-4 animated ws-pre-line\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'color': item.text.color, 'font-size.px': item.text.size}\"\r\n [ngClass]=\"item.textAnimation\">\r\n {{ item.text.text }}\r\n </p>\r\n \r\n <div id=\"filezone\" *ngIf=\"item.file.length > 0\">\r\n <div class=\"item-container\" *ngFor=\"let f of item.file\">\r\n <ng-container *ngIf=\"f.url\">\r\n <div class=\"item-file\">\r\n <a target=\"_blank\" [href]=\"f.url\">\r\n <img [src]=\"f.url\" *ngIf=\"f.mimetype === 'image/jpeg' || f.mimetype === 'image/png'\" />\r\n\r\n <span class=\"item-icon\" *ngIf=\"f.mimetype === 'video/mp4'\">\r\n <i class=\"material-icons\">movie</i>\r\n </span>\r\n\r\n <span class=\"item-icon\"\r\n *ngIf=\"!(f.mimetype === 'image/jpeg' || f.mimetype === 'image/png' || f.mimetype === 'video/mp4')\">\r\n <i class=\"material-icons\">insert_drive_file</i>\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"item-name\">\r\n <p><b><a target=\"_blank\" [href]=\"f.url\">{{ f.filename }}</a></b></p>\r\n <p>{{ f.size / 1000 }} Kb</p>\r\n </div>\r\n <div class=\"item-button\">\r\n <a class=\"text-danger\" (click)=\"remove(f)\"><i class=\"material-icons\">delete</i></a>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"!f.url\">\r\n <div class=\"item-file\">\r\n <a target=\"_blank\" [href]=\"f.path\">\r\n <span class=\"item-icon\">\r\n <i class=\"material-icons\">insert_drive_file</i>\r\n </span>\r\n </a>\r\n </div>\r\n <div class=\"item-name\">\r\n <p><b><a target=\"_blank\" [href]=\"f.path\">{{ f.name }}</a></b></p>\r\n </div>\r\n <div class=\"item-button\">\r\n <a class=\"text-danger\" (click)=\"remove(f)\"><i class=\"material-icons\">delete</i></a>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n <asap-upload [type]=\"'file'\" [hidden]=\"true\" #upload (AddArchive)=\"getArchive($event)\"></asap-upload>\r\n <div id=\"dropzone\" (click)=\"upload.openDialog()\" [ngStyle]=\"{'color': item.uploadColor, 'border-color': item.uploadColor}\">\r\n <i class=\"material-icons\">cloud_upload</i>\r\n <p class=\"text\">{{ 'SendFile' | translate }}</p>\r\n </div>\r\n\r\n <ng-container *ngIf=\"item\">\r\n <ng-container *ngIf=\"item.button.required\">\r\n <div class=\"text-center\" [matTooltipDisabled]=\"item.file.length > 0\" matTooltip=\"{{ 'YouMustUploadTheFileToContinue' | translate }}\">\r\n <button [disabled]=\"item.file.length <= 0 || item.file == ''\"\r\n type=\"button\" class=\"btn btn-primary\"\r\n (click)=\"onDone()\"\r\n [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\">{{ item.button.text }}\r\n </button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"!item.button.required && item.button.text\">\r\n <div class=\"text-center\">\r\n <button type=\"button\" class=\"btn\" (click)=\"onDone()\"\r\n [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\">{{ item.button.text }}</button>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
8547
8547
|
providers: [TrailContentService],
|
|
8548
8548
|
styles: [".m-conc-container{display:flex;flex-direction:column;min-height:400px}.m-conc{display:flex;flex-direction:column;justify-content:center;flex:1}#upload-button{padding:20px;font-size:20px}#dropzone{cursor:pointer;border:2px dashed #999;border-radius:2px;background:0 0;padding:40px;margin:20px;color:#666}#dropzone .material-icons{font-size:40px}#dropzone .text{font-size:14px}#dropzone:hover{border-color:#333;color:#333}#filezone{margin:20px 0;overflow:hidden}.item-container{border:1px solid #ccc;background:#eee;padding:5px;text-align:left;margin:0 20px 10px;overflow:hidden;display:flex;align-items:center;justify-content:space-between}.item-name{text-align:center}.item-container img{width:80px;height:80px;-o-object-fit:contain;object-fit:contain;background:#fff;outline:rgba(0,0,0,.2) solid 1px;outline-offset:-1px}.item-file{float:left;margin-right:20px}.item-icon .material-icons{font-size:50px;color:#444}.item-button{margin:0 10px}@media (max-width:767px){.item-container{border:1px solid #ccc;background:#eee;padding:5px;text-align:center;margin:0 20px 10px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column}.item-file{float:none;margin:0}.item-name{text-align:center;margin:20px 0}.item-button{margin:0 10px}.item-icon .material-icons{margin-left:10px}}"]
|
|
8549
8549
|
}] }
|
|
@@ -8642,7 +8642,9 @@
|
|
|
8642
8642
|
EditorDownloadComponent.prototype.ngOnInit = /**
|
|
8643
8643
|
* @return {?}
|
|
8644
8644
|
*/
|
|
8645
|
-
function () {
|
|
8645
|
+
function () {
|
|
8646
|
+
console.log("item [download]", this.item);
|
|
8647
|
+
};
|
|
8646
8648
|
/**
|
|
8647
8649
|
* @return {?}
|
|
8648
8650
|
*/
|
|
@@ -8667,7 +8669,7 @@
|
|
|
8667
8669
|
EditorDownloadComponent.decorators = [
|
|
8668
8670
|
{ type: core.Component, args: [{
|
|
8669
8671
|
selector: 'app-editor-component-download',
|
|
8670
|
-
template: "<div class=\"\" [ngStyle]=\"{'background': item.background}\">\r\n <div class=\"component-download\">\r\n\r\n <ng-container *ngIf=\"item.layout === '1' || item.layout === '2' || item.layout === '3'|| item.layout === '4'\">\r\n <app-editor-component-shared-title [title]=\"item.title\">\r\n </app-editor-component-shared-title>\r\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\">\r\n </app-editor-component-shared-subtitle>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout === '1'\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n <div class=\"download-area\">\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-9\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n <div class=\"col-sm-3 tflex\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon === 'cloud'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon === 'arrow'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon === 'attach'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon === 'insert'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">insert_drive_file</i>\r\n\r\n <app-editor-component-shared-button [button]=\"item.downloadButton\">\r\n </app-editor-component-shared-button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"row layout-{{item.layout}}\">\r\n <div class=\"col-sm-7 mx-auto content\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n\r\n <div class=\"col-sm-4 text-center content\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-sm-12\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n </div>\r\n\r\n <app-editor-component-shared-button (event)=\"download(item.file)\" [button]=\"item.downloadButton\"></app-editor-component-shared-button>\r\n </div>\r\n </div>\r\n </div> -->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout === '2'\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n <div class=\"download-area\">\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-3 tflex\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon === 'cloud'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon === 'arrow'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon === 'attach'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon === 'insert'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">insert_drive_file</i>\r\n\r\n <app-editor-component-shared-button [button]=\"item.downloadButton\">\r\n </app-editor-component-shared-button>\r\n </div>\r\n <div class=\"col-sm-9\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"row layout-{{item.layout}}\">\r\n <div class=\"col-sm-4 text-center content\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-12\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n </div>\r\n\r\n <app-editor-component-shared-button (event)=\"download(item.file)\" [button]=\"item.downloadButton\"></app-editor-component-shared-button>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-7 mx-auto content\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </div> -->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout === '3'\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n <div class=\"download-area\">\r\n <ng-container *ngIf=\"item.text.text\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto content-layout-3\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <app-editor-component-shared-button [button]=\"item.downloadButton\"></app-editor-component-shared-button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <ng-container *ngIf=\"item.text.text\">\r\n <div class=\"row layout-{{item.layout}}\">\r\n <div class=\"col-sm-11 mx-auto content-layout-3\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <app-editor-component-shared-button (event)=\"download(item.file)\" [button]=\"item.downloadButton\">\r\n </app-editor-component-shared-button> -->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout === '4'\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n <div class=\"row\">\r\n <ng-container *ngIf=\"item.text.text\">\r\n <div class=\"col-sm-11 mx-auto\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col-sm-12\">\r\n <div class=\"download-area\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 text-left\">\r\n <p class=\"mb-0 fw-500\">{{ 'DownloadComponentCourse' | translate }}</p>\r\n <p class=\"mb-0\">{{ 'ClickOnTheIconToDownloadTheFile' | translate }}</p>\r\n </div>\r\n <div class=\"col-sm-3 tflex\">\r\n <a (click)=\"download(item.file)\" target=\"_blank\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n <i class=\"fa fa-download\" *ngIf=\"item.icon.name === 'arrow2'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\"></i>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"row layout-{{item.layout}}\">\r\n <ng-container *ngIf=\"item.text.text\">\r\n <div class=\"col-sm-11 mx-auto\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col-sm-11 mx-auto mt-4\">\r\n <div class=\"content-layout-4\">\r\n <div class=\"row download\">\r\n <div class=\"col-sm-8 text-left\">\r\n <p class=\"download-title\">{{ 'DownloadComponentCourse' | translate }}</p>\r\n <p class=\"download-info\">{{ 'ClickOnTheIconToDownloadTheFile' | translate }}</p>\r\n </div>\r\n <div class=\"col-sm-4\">\r\n <a (click)=\"download(item.file)\" target=\"_blank\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n <i class=\"fa fa-download\" *ngIf=\"item.icon.name === 'arrow2'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\"></i>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div> -->\r\n </ng-container>\r\n\r\n <app-editor-component-shared-button (event)=\"goNext()\" [button]=\"item.button\"></app-editor-component-shared-button>\r\n </div>\r\n</div>\r\n",
|
|
8672
|
+
template: "<div class=\"\" [ngStyle]=\"{'background': item.background}\">\r\n <div class=\"component-download\">\r\n\r\n <ng-container *ngIf=\"item.layout === '1' || item.layout === '2' || item.layout === '3'|| item.layout === '4'\">\r\n <app-editor-component-shared-title [title]=\"item.title\">\r\n </app-editor-component-shared-title>\r\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\">\r\n </app-editor-component-shared-subtitle>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout === '1'\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n <div class=\"download-area\">\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-9\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n <div class=\"col-sm-3 tflex\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.iconSize}\">insert_drive_file</i>\r\n <app-editor-component-shared-button [button]=\"item.downloadButton\" *ngIf=\"item.downloadButton.hide\"></app-editor-component-shared-button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"row layout-{{item.layout}}\">\r\n <div class=\"col-sm-7 mx-auto content\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n\r\n <div class=\"col-sm-4 text-center content\">\r\n <div class=\"row justify-content-center\">\r\n <div class=\"col-sm-12\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n </div>\r\n\r\n <app-editor-component-shared-button (event)=\"download(item.file)\" [button]=\"item.downloadButton\"></app-editor-component-shared-button>\r\n </div>\r\n </div>\r\n </div> -->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout === '2'\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n <div class=\"download-area\">\r\n <div class=\"container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-3 tflex\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.iconColor, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n\r\n <app-editor-component-shared-button *ngIf=\"item.downloadButton.hide\" [button]=\"item.downloadButton\"></app-editor-component-shared-button>\r\n </div>\r\n <div class=\"col-sm-9\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"row layout-{{item.layout}}\">\r\n <div class=\"col-sm-4 text-center content\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-12\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n </div>\r\n\r\n <app-editor-component-shared-button (event)=\"download(item.file)\" [button]=\"item.downloadButton\"></app-editor-component-shared-button>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-7 mx-auto content\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </div> -->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout === '3'\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n <div class=\"download-area\">\r\n <ng-container *ngIf=\"item.text.text\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto content-layout-3\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <app-editor-component-shared-button [button]=\"item.downloadButton\" *ngIf=\"item.downloadButton.hide\"></app-editor-component-shared-button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <ng-container *ngIf=\"item.text.text\">\r\n <div class=\"row layout-{{item.layout}}\">\r\n <div class=\"col-sm-11 mx-auto content-layout-3\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <app-editor-component-shared-button (event)=\"download(item.file)\" [button]=\"item.downloadButton\">\r\n </app-editor-component-shared-button> -->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout === '4'\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\">\r\n <div class=\"row\">\r\n <ng-container *ngIf=\"item.text.text\">\r\n <div class=\"col-sm-11 mx-auto\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col-sm-12\">\r\n <div class=\"download-area\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 text-left\">\r\n <p class=\"mb-0 fw-500\">{{ 'DownloadComponentCourse' | translate }}</p>\r\n <p class=\"mb-0\">{{ 'ClickOnTheIconToDownloadTheFile' | translate }}</p>\r\n </div>\r\n <div class=\"col-sm-3 tflex\">\r\n <a (click)=\"download(item.file)\" target=\"_blank\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n <i class=\"fa fa-download\" *ngIf=\"item.icon.name === 'arrow2'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\"></i>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"row layout-{{item.layout}}\">\r\n <ng-container *ngIf=\"item.text.text\">\r\n <div class=\"col-sm-11 mx-auto\">\r\n <p class=\"w-100 ws-pre-line animated\" [ngClass]=\"item.text.animation\"\r\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\">\r\n {{ item.text.text }}\r\n </p>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col-sm-11 mx-auto mt-4\">\r\n <div class=\"content-layout-4\">\r\n <div class=\"row download\">\r\n <div class=\"col-sm-8 text-left\">\r\n <p class=\"download-title\">{{ 'DownloadComponentCourse' | translate }}</p>\r\n <p class=\"download-info\">{{ 'ClickOnTheIconToDownloadTheFile' | translate }}</p>\r\n </div>\r\n <div class=\"col-sm-4\">\r\n <a (click)=\"download(item.file)\" target=\"_blank\">\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'cloud'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">cloud_download</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'arrow'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">arrow_downward</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'attach'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">attach_file</i>\r\n <i class=\"material-icons\" *ngIf=\"item.icon.name === 'insert'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\">insert_drive_file</i>\r\n <i class=\"fa fa-download\" *ngIf=\"item.icon.name === 'arrow2'\"\r\n [ngStyle]=\"{'color': item.icon.color, 'font-size.em': item.icon.size}\"></i>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div> -->\r\n </ng-container>\r\n\r\n <app-editor-component-shared-button (event)=\"goNext()\" [button]=\"item.button\"></app-editor-component-shared-button>\r\n </div>\r\n</div>\r\n",
|
|
8671
8673
|
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}", "h4{margin-top:0}p{margin:15px 0 25px}.box-text{min-height:35vh}.icon-size{font-size:2em!important;color:#3b3b3b}.btn-color{background:#8eb95e;color:#fff;cursor:pointer}.btn-color:hover{background:#96ca5b}.btn-primary{font-size:1em;padding:10px 30px}.icon-color{color:#43425d!important}.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}.download{background:#f1f1f1;padding:15px;min-height:60px}.download p{margin:0!important}.download .download-title{font-size:1.2em;font-weight:600;text-align:left}.download .download-info{text-align:left}.download .download-icon{text-align:right}@media (max-width:767px){.box-text{min-height:10vh}.download .download-info,.download .download-title{text-align:center}.download .download-icon{width:100%;text-align:center!important;margin-top:15px}}.download-area{margin:30px;padding:30px;border:2px dashed #ccc;background-color:#f7f7f7;border-radius:6px}.tflex{display:flex;align-items:center;justify-content:center;flex-direction:column}"]
|
|
8672
8674
|
}] }
|
|
8673
8675
|
];
|
|
@@ -9616,7 +9618,7 @@
|
|
|
9616
9618
|
EditorAvaliationComponent.decorators = [
|
|
9617
9619
|
{ type: core.Component, args: [{
|
|
9618
9620
|
selector: 'app-editor-component-avaliation',
|
|
9619
|
-
template: "<div class=\"minh-vh-75 py-3\">\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 <!-- Quest\u00F5es e bot\u00F5es pr\u00F3ximo-->\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\" *ngIf=\"!loading\">\r\n <form [formGroup]=\"form\">\r\n <fieldset [disabled]=\"blocked\">\r\n <div class=\"mt-5\" *ngFor=\"let question of item.questions; index as iQuestion\">\r\n <!-- Enunciado da quest\u00E3o -->\r\n <div>\r\n <p class=\"text-justify mb-4\">\r\n <b>{{ question.question }}</b>\r\n </p>\r\n </div>\r\n\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\r\n <div *ngIf=\"!canChange(iQuestion)\" class=\"multichoice-disabled\">\r\n <label>\r\n <span [class.checked]=\"opt.text == this.form.get('' + iQuestion + '').value\">\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 <div>\r\n <i class=\"fa fa-check\"></i>\r\n </div>\r\n </span>\r\n </label>\r\n </div>\r\n\r\n <div *ngIf=\"canChange(iQuestion)\" class=\"multichoice\">\r\n <label>\r\n <input [formControlName]=\"iQuestion\" type=\"radio\" [required]=\"question.required\" id=\"radio-{{iQuestion}}-{{iOpt}}\" [value]=\"opt.text\" (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 \r\n </div>\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\" 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\" *ngFor=\"let fCol of form.controls[iQuestion].controls; index as iLine\">\r\n <td style=\"padding: 0; line-height: 35px;\" *ngFor=\"let col of question.collumns; index as iCol\">\r\n <input style=\"padding: 8px; width: 100%; background: #FFF; border: none;\" [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 </div>\r\n\r\n <ng-container *ngIf=\"!blocked && canShowSave()\">\r\n <div class=\"my-3 text-center\">\r\n <ng-container *ngIf=\"item.button\">\r\n <button *ngIf=\"!isPosting\" type=\"submit\" class=\"btn\" [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\" [disabled]=\"!form.valid\" (click)=\"onSubmit()\">\r\n {{ 'Save' | translate }}\r\n </button>\r\n <button *ngIf=\"isPosting\" type=\"submit\" class=\"btn\" [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\" disabled>\r\n {{ 'Saving' | translate }}...\r\n </button>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!item.button\">\r\n <button *ngIf=\"!isPosting\" type=\"submit\" class=\"btn btn-primary\" [disabled]=\"!form.valid\" [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\" (click)=\"onSubmit()\">\r\n {{ 'Save' | translate }}\r\n </button>\r\n <button *ngIf=\"isPosting\" type=\"submit\" class=\"btn btn-primary\" [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\" disabled>\r\n {{ 'Saving' | translate }}...\r\n </button>\r\n </ng-container>\r\n\r\n </div>\r\n </ng-container>\r\n </fieldset>\r\n\r\n <ng-container *ngIf=\"blocked\">\r\n <div class=\"my-3 text-center\">\r\n <app-editor-component-shared-button [button]=\"item.button\" (event)=\"goNext()\"></app-editor-component-shared-button>\r\n </div>\r\n </ng-container>\r\n\r\n </form>\r\n </div>\r\n <ng-container *ngIf=\"loading\">\r\n <div class=\"col-sm-12 mx-auto\" *ngFor=\"let item of [0,1,2,3,4,5]\">\r\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'90px'}\"></ngx-skeleton-loader>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>",
|
|
9621
|
+
template: "<div class=\"minh-vh-75 py-3\">\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 <!-- Quest\u00F5es e bot\u00F5es pr\u00F3ximo-->\r\n <div class=\"row\">\r\n <div class=\"col-sm-9 mx-auto\" *ngIf=\"!loading\">\r\n <form [formGroup]=\"form\">\r\n <fieldset [disabled]=\"blocked\">\r\n <div class=\"mt-5\" *ngFor=\"let question of item.questions; index as iQuestion\">\r\n <!-- Enunciado da quest\u00E3o -->\r\n <div>\r\n <p class=\"text-justify mb-4\" [ngStyle]=\"{'color': item.questionColor }\">\r\n <b>{{ question.question }}</b>\r\n </p>\r\n </div>\r\n\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\r\n <div *ngIf=\"!canChange(iQuestion)\" class=\"multichoice-disabled\">\r\n <label>\r\n <span [class.checked]=\"opt.text == this.form.get('' + iQuestion + '').value\">\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 <div>\r\n <i class=\"fa fa-check\"></i>\r\n </div>\r\n </span>\r\n </label>\r\n </div>\r\n\r\n <div *ngIf=\"canChange(iQuestion)\" class=\"multichoice\">\r\n <label>\r\n <input [formControlName]=\"iQuestion\" type=\"radio\" [required]=\"question.required\" id=\"radio-{{iQuestion}}-{{iOpt}}\" [value]=\"opt.text\" (change)=\"verify(opt)\" />\r\n <span [ngStyle]=\"{'background': item.answerBackgroundColor}\">\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerColor}\">{{ listMarkerLetter[iOpt] }})</div>\r\n </div>\r\n <div class=\"text\" [ngStyle]=\"{'color': item.answerColor}\">{{ opt.text }}</div>\r\n <i class=\"fa fa-check\" [ngStyle]=\"{'color': item.answerColor}\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n \r\n </div>\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\" 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\" *ngFor=\"let fCol of form.controls[iQuestion].controls; index as iLine\">\r\n <td style=\"padding: 0; line-height: 35px;\" *ngFor=\"let col of question.collumns; index as iCol\">\r\n <input style=\"padding: 8px; width: 100%; background: #FFF; border: none;\" [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 </div>\r\n\r\n <ng-container *ngIf=\"!blocked && canShowSave()\">\r\n <div class=\"my-3 text-center\">\r\n <ng-container *ngIf=\"item.button\">\r\n <button *ngIf=\"!isPosting\" type=\"submit\" class=\"btn\" [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\" [disabled]=\"!form.valid\" (click)=\"onSubmit()\">\r\n {{ 'Save' | translate }}\r\n </button>\r\n <button *ngIf=\"isPosting\" type=\"submit\" class=\"btn\" [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\" disabled>\r\n {{ 'Saving' | translate }}...\r\n </button>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!item.button\">\r\n <button *ngIf=\"!isPosting\" type=\"submit\" class=\"btn btn-primary\" [disabled]=\"!form.valid\" [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\" (click)=\"onSubmit()\">\r\n {{ 'Save' | translate }}\r\n </button>\r\n <button *ngIf=\"isPosting\" type=\"submit\" class=\"btn btn-primary\" [ngStyle]=\"{'color': item.button.color, 'background': item.button.background}\" disabled>\r\n {{ 'Saving' | translate }}...\r\n </button>\r\n </ng-container>\r\n\r\n </div>\r\n </ng-container>\r\n </fieldset>\r\n\r\n <ng-container *ngIf=\"blocked\">\r\n <div class=\"my-3 text-center\">\r\n <app-editor-component-shared-button [button]=\"item.button\" (event)=\"goNext()\"></app-editor-component-shared-button>\r\n </div>\r\n </ng-container>\r\n\r\n </form>\r\n </div>\r\n <ng-container *ngIf=\"loading\">\r\n <div class=\"col-sm-12 mx-auto\" *ngFor=\"let item of [0,1,2,3,4,5]\">\r\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'90px'}\"></ngx-skeleton-loader>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>",
|
|
9620
9622
|
providers: [TrailContentService],
|
|
9621
9623
|
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}"]
|
|
9622
9624
|
}] }
|
|
@@ -9777,9 +9779,9 @@
|
|
|
9777
9779
|
EditorContractComponent.decorators = [
|
|
9778
9780
|
{ type: core.Component, args: [{
|
|
9779
9781
|
selector: 'app-editor-component-contract',
|
|
9780
|
-
template: "<div class=\"minh-vh-75 py-
|
|
9782
|
+
template: "<div class=\"minh-vh-75 py-5\">\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 <!-- \u00C1rea de texto dos termos -->\r\n <div class=\"row\">\r\n <div class=\"col-sm-11 mx-auto mb-3\">\r\n <div class=\"contract-container\" id=\"contract-container\" (scroll)=\"onScroll($event)\" [innerHTML]=\"item.text.text\">\r\n </div>\r\n </div>\r\n\r\n <ng-container *ngIf=\"!readed\">\r\n <div class=\"col-sm-11 mx-auto mb-3\">\r\n <p class=\"text-danger\">\r\n <strong>{{ 'ReadTheTermToTheEnd' | translate }}</strong>\r\n </p>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"readed\">\r\n <div class=\"col-sm-11 mx-auto mb-3\">\r\n <fieldset>\r\n <mat-checkbox name=\"showAccept2\" [(ngModel)]=\"accept\">{{ item.acceptText }}</mat-checkbox>\r\n </fieldset>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- <ng-container *ngIf=\"item.text.length > 4000\">\r\n <div class=\"col-sm-11 mx-auto mb-3\" [class.disabled]=\"blocked || !readed\">\r\n <fieldset [disabled]=\"blocked || !readed\">\r\n <mat-checkbox [class.disabled]=\"blocked || !readed\" name=\"showAccept\" [disabled]=\"blocked || !readed\"\r\n [(ngModel)]=\"accept\">{{ item.acceptText }}</mat-checkbox>\r\n </fieldset>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.text.length <= 4000\">\r\n <div class=\"col-sm-11 mx-auto mb-3\">\r\n <fieldset>\r\n <mat-checkbox name=\"showAccept2\" [(ngModel)]=\"accept\">{{ item.acceptText }}</mat-checkbox>\r\n </fieldset>\r\n </div>\r\n </ng-container> -->\r\n </div>\r\n\r\n <app-editor-component-shared-button [button]=\"item.button\" (event)=\"goNext()\"></app-editor-component-shared-button>\r\n\r\n</div>\r\n",
|
|
9781
9783
|
providers: [TrailContentService],
|
|
9782
|
-
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}", "h2{margin-top:0}h3{margin:15px 0 25px}.contract-container{height:38vh;overflow-y:scroll;border:1px solid #ccc;background:#fff;padding:20px;text-align:justify}@media (max-width:767px){.contract-container{text-align:left}}"]
|
|
9784
|
+
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}", "h2{margin-top:0}h3{margin:15px 0 25px}.contract-container{height:38vh;overflow-y:auto;padding:20px 0}@media (max-width:767px){.contract-container{text-align:left}}"]
|
|
9783
9785
|
}] }
|
|
9784
9786
|
];
|
|
9785
9787
|
/** @nocollapse */
|
|
@@ -10411,7 +10413,7 @@
|
|
|
10411
10413
|
EditorPdfComponent.decorators = [
|
|
10412
10414
|
{ type: core.Component, args: [{
|
|
10413
10415
|
selector: 'app-editor-component-pdf',
|
|
10414
|
-
template: "<app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\r\n\r\n<app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\r\n\r\n<div class=\"item-component-pdf-icon-container\" *ngIf=\"item.url == ''\">\r\n <i class=\"material-icons\">picture_as_pdf</i>\r\n</div>\r\n\r\n<div class=\"\">\r\n <ng-container *ngIf=\"item?.url\">\r\n <div [innerHTML]=\"innerPDF\"></div>\r\n </ng-container>\r\n</div>\r\n\r\n<div class=\"
|
|
10416
|
+
template: "<div class=\"p-5\" [ngStyle]=\"{ background: item.background}\">\r\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\r\n\r\n<app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\r\n\r\n<div class=\"item-component-pdf-icon-container\" *ngIf=\"item.url == ''\">\r\n <i class=\"material-icons\">picture_as_pdf</i>\r\n</div>\r\n\r\n<div class=\"\">\r\n <ng-container *ngIf=\"item?.url\">\r\n <div [innerHTML]=\"innerPDF\"></div>\r\n </ng-container>\r\n</div>\r\n\r\n<div class=\"mb-5 mt-3\" *ngIf=\"item.showAccept\">\r\n <fieldset [disabled]=\"blocked\">\r\n <mat-checkbox name=\"showAccept\" [matTooltip]=\"item.acceptText\" [(ngModel)]=\"accept\">{{ item.acceptText }}\r\n </mat-checkbox>\r\n </fieldset>\r\n</div>\r\n\r\n<div class=\"btn-container my-4\">\r\n <button *ngIf=\"item.acceptText\" class=\"btn\" id=\"pdf-next\" [disabled]=\"!accept\"\r\n [ngStyle]=\"{color: item.button.color, background: item.button.background}\"\r\n (click)=\"onSubmitWithWarning()\">\r\n {{ item.button.text }}\r\n </button>\r\n\r\n <app-editor-component-shared-button [button]=\"item.button\" (event)=\"goNext()\" *ngIf=\"!item.acceptText\"></app-editor-component-shared-button>\r\n</div>\r\n\r\n</div>",
|
|
10415
10417
|
providers: [TrailContentService],
|
|
10416
10418
|
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}", ".desktop{display:block}.mobile{display:none}@media (max-width:767px){.desktop{display:none}.mobile{display:flex;align-items:center;justify-content:center;flex-direction:column;height:150px;background:#f1f1f1;color:#666;padding:15px;font-size:1em;cursor:pointer}.fs-50{font-size:50px}}"]
|
|
10417
10419
|
}] }
|
|
@@ -10811,7 +10813,7 @@
|
|
|
10811
10813
|
EditorResearchComponent.decorators = [
|
|
10812
10814
|
{ type: core.Component, args: [{
|
|
10813
10815
|
selector: 'app-editor-component-research',
|
|
10814
|
-
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 <div class=\"row\" *ngIf=\"exibirGrafico === false\">\r\n\r\n <!-- Gr\u00E1fico assessment -->\r\n <div class=\"col-sm-7 mx-auto\" *ngIf=\"item.layout === 'assessment'\">\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\"\r\n [ngClass]=\"{\r\n 'progress-bar-visual': item.indicador === 'Visual',\r\n 'progress-bar-textual': item.indicador === 'Textual',\r\n 'progress-bar-auditivo': item.indicador === 'Auditivo',\r\n 'progress-bar-cinestesico': item.indicador === 'Cinest\u00E9sico'\r\n }\"\r\n role=\"progressbar\" [style.width.%]=\"item.percentual\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Gr\u00E1fico assessment eixo -->\r\n <div class=\"col-sm-12\" *ngIf=\"item.layout === 'axle'\">\r\n <h4 class=\"mb-3 text-center text-sm-left\" [ngStyle]=\"{'color': item.questionColor }\">Resultados</h4>\r\n\r\n <div class=\"graphic\">\r\n\r\n <div class=\"graphic-caption\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-6\">\r\n <h5>Eixo comportamental</h5>\r\n </div>\r\n <div class=\"col-sm-6\">\r\n <h5>Principais habilidades</h5>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"graphic-item\" *ngFor=\"let axle of grafico\">\r\n\r\n <!-- Eixo -->\r\n <div class=\"graphic-content\">\r\n <h5 class=\"d-block d-sm-none\">Eixo comportamental</h5>\r\n <div class=\"graphic-header\">\r\n <h6>{{ axle.eixo }}</h6>\r\n <h6>{{ axle.nota_eixo }}</h6>\r\n </div>\r\n <div class=\"graphic-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar\" [ngClass]=\"{\r\n 'graphic-bar-phase-1': axle.nota_eixo >= 0 && axle.nota_eixo < 26,\r\n 'graphic-bar-phase-2': axle.nota_eixo >= 26 && axle.nota_eixo < 51,\r\n 'graphic-bar-phase-3': axle.nota_eixo >= 51 && axle.nota_eixo < 76,\r\n 'graphic-bar-phase-4': axle.nota_eixo >= 76 && axle.nota_eixo <= 100\r\n }\" role=\"progressbar\" [style.width.%]=\"axle.nota_eixo\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Skills -->\r\n <div class=\"graphic-content\">\r\n <h5 class=\"d-block d-sm-none\">Principais habilidades</h5>\r\n <ng-container *ngFor=\"let skill of axle.habilidades\">\r\n \r\n <div\r\n [ngClass]=\"{'graphic-highlight': skill.destaque === true, 'graphic-subitem' : skill.destaque === false }\">\r\n <div class=\"graphic-header\">\r\n <h6>{{ skill.habilidade }}</h6>\r\n <h6>{{ skill.nota }}</h6>\r\n </div>\r\n <div class=\"graphic-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar\" [ngClass]=\"{\r\n 'graphic-bar-phase-1': skill.nota >= 0 && skill.nota < 26,\r\n 'graphic-bar-phase-2': skill.nota >= 26 && skill.nota < 51,\r\n 'graphic-bar-phase-3': skill.nota >= 51 && skill.nota < 76,\r\n 'graphic-bar-phase-4': skill.nota >= 76 && skill.nota <= 100\r\n }\" role=\"progressbar\" [style.width.%]=\"skill.nota\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"graphic-label\">\r\n <p>Refer\u00EAncia de cores:</p>\r\n <ul>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-1\"></i>\r\n <span>Est\u00E1gio 1</span>\r\n </li>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-2\"></i>\r\n <span>Est\u00E1gio 2</span>\r\n </li>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-3\"></i>\r\n <span>Est\u00E1gio 3</span>\r\n </li>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-4\"></i>\r\n <span>Est\u00E1gio 4</span>\r\n </li>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-highlight\"></i>\r\n <span>Habilidade que voc\u00EA precisa mais desenvolver no momento</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n <form [formGroup]=\"form\">\r\n <fieldset *ngIf=\"exibirQuestionario === true\">\r\n\r\n <ng-container *ngIf=\"item.exhibition === 'page'\">\r\n\r\n <div class=\"mt-4 px-sm-5\" *ngFor=\"let question of item.questions; index as iQuestion\">\r\n\r\n <p class=\"mb-3\" style=\"font-weight: 500;\" [ngStyle]=\"{'color': item.questionColor }\">\r\n {{ question.question }}\r\n </p>\r\n\r\n <ng-container *ngIf=\"question.type === 'objetiva_multiple'\">\r\n <div class=\"multichoice mb-3\" *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 <span [ngStyle]=\"{'background': item.answerBackgroundColor }\">\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 </ng-container>\r\n\r\n <ng-container *ngIf=\"question.type === 'objetiva'\">\r\n <div class=\"multichoice mb-3\" *ngFor=\"let opt of question.options; index as iOpt\">\r\n <label>\r\n <input [formControlName]=\"iQuestion\" type=\"radio\" [required]=\"question.required\"\r\n id=\"radio-{{iQuestion}}-{{iOpt}}\" [value]=\"opt.text\" (change)=\"verify(opt)\" />\r\n <span [ngStyle]=\"{'background': item.answerBackgroundColor }\">\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 </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout !== 'assessment'\">\r\n\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 <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>\r\n\r\n <ng-container *ngIf=\"item.exhibition === 'slides'\">\r\n\r\n <div class=\"research-stepper-container\">\r\n <owl-carousel-o #slideCarousel [options]=\"customOptions\" class=\"research-stepper\">\r\n <ng-template carouselSlide\r\n *ngFor=\"let question of item.questions; index as iQuestion; let counter = count; let last = last\">\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\r\n <ng-container *ngIf=\"question.type === 'objetiva_multiple'\">\r\n <div class=\"multichoice mb-3\" *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 <span [ngStyle]=\"{'background': item.answerBackgroundColor }\">\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 </ng-container>\r\n\r\n <ng-container *ngIf=\"question.type === 'objetiva'\">\r\n <div class=\"multichoice mb-3\" *ngFor=\"let opt of question.options; index as iOpt\">\r\n <label>\r\n <input [formControlName]=\"iQuestion\" (change)=\"slideNextRadio($event)\" type=\"radio\"\r\n [required]=\"question.required\" id=\"radio-{{iQuestion}}-{{iOpt}}\" [value]=\"opt.text\"\r\n (change)=\"verify(opt)\" />\r\n <span [ngStyle]=\"{'background': item.answerBackgroundColor }\">\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 </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout !== 'assessment'\">\r\n\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 <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\"\r\n 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 class=\"research-stepper-counter\" [ngStyle]=\"{'color': item.questionColor }\">\r\n <small>Perguntas: {{ iQuestion + 1 }}/{{ counter }}</small>\r\n </div>\r\n\r\n <div class=\"mt-5 mt-sm-4 text-center\" *ngIf=\"last\">\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 </div>\r\n </div>\r\n \r\n </ng-template>\r\n </owl-carousel-o>\r\n\r\n <div class=\"research-stepper-navigation\">\r\n <div class=\"research-stepper-navigation-prev\" (click)=\"slidePrev()\"\r\n [ngStyle]=\"{'color': item.button.color, 'background-color': item.button.background}\">\r\n <i class=\"fa fa-angle-left\"></i>\r\n </div>\r\n <div class=\"research-stepper-navigation-next\" (click)=\"slideNext()\"\r\n [ngStyle]=\"{'color': item.button.color, 'background-color': item.button.background}\">\r\n <i class=\"fa fa-angle-right\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </ng-container>\r\n\r\n <div class=\"mt-5 text-center\" *ngIf=\"!blocked && item.exhibition != 'slides'\">\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 </div>\r\n\r\n </fieldset>\r\n\r\n <ng-container *ngIf=\"blocked\">\r\n <div class=\"mt-5 text-center\">\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 </div>\r\n </ng-container>\r\n </form>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
10816
|
+
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 <div class=\"row\" *ngIf=\"exibirGrafico === false\">\r\n\r\n <!-- Gr\u00E1fico assessment -->\r\n <div class=\"col-sm-7 mx-auto\" *ngIf=\"item.layout === 'assessment'\">\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\"\r\n [ngClass]=\"{\r\n 'progress-bar-visual': item.indicador === 'Visual',\r\n 'progress-bar-textual': item.indicador === 'Textual',\r\n 'progress-bar-auditivo': item.indicador === 'Auditivo',\r\n 'progress-bar-cinestesico': item.indicador === 'Cinest\u00E9sico'\r\n }\"\r\n role=\"progressbar\" [style.width.%]=\"item.percentual\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Gr\u00E1fico assessment eixo -->\r\n <div class=\"col-sm-12\" *ngIf=\"item.layout === 'axle'\">\r\n <h4 class=\"mb-3 text-center text-sm-left\" [ngStyle]=\"{'color': item.questionColor }\">Resultados</h4>\r\n\r\n <div class=\"graphic\">\r\n\r\n <div class=\"graphic-caption\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-6\">\r\n <h5>Eixo comportamental</h5>\r\n </div>\r\n <div class=\"col-sm-6\">\r\n <h5>Principais habilidades</h5>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"graphic-item\" *ngFor=\"let axle of grafico\">\r\n\r\n <!-- Eixo -->\r\n <div class=\"graphic-content\">\r\n <h5 class=\"d-block d-sm-none\">Eixo comportamental</h5>\r\n <div class=\"graphic-header\">\r\n <h6>{{ axle.eixo }}</h6>\r\n <h6>{{ axle.nota_eixo }}</h6>\r\n </div>\r\n <div class=\"graphic-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar\" [ngClass]=\"{\r\n 'graphic-bar-phase-1': axle.nota_eixo >= 0 && axle.nota_eixo < 26,\r\n 'graphic-bar-phase-2': axle.nota_eixo >= 26 && axle.nota_eixo < 51,\r\n 'graphic-bar-phase-3': axle.nota_eixo >= 51 && axle.nota_eixo < 76,\r\n 'graphic-bar-phase-4': axle.nota_eixo >= 76 && axle.nota_eixo <= 100\r\n }\" role=\"progressbar\" [style.width.%]=\"axle.nota_eixo\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Skills -->\r\n <div class=\"graphic-content\">\r\n <h5 class=\"d-block d-sm-none\">Principais habilidades</h5>\r\n <ng-container *ngFor=\"let skill of axle.habilidades\">\r\n \r\n <div\r\n [ngClass]=\"{'graphic-highlight': skill.destaque === true, 'graphic-subitem' : skill.destaque === false }\">\r\n <div class=\"graphic-header\">\r\n <h6>{{ skill.habilidade }}</h6>\r\n <h6>{{ skill.nota }}</h6>\r\n </div>\r\n <div class=\"graphic-body\">\r\n <div class=\"progress\">\r\n <div class=\"progress-bar\" [ngClass]=\"{\r\n 'graphic-bar-phase-1': skill.nota >= 0 && skill.nota < 26,\r\n 'graphic-bar-phase-2': skill.nota >= 26 && skill.nota < 51,\r\n 'graphic-bar-phase-3': skill.nota >= 51 && skill.nota < 76,\r\n 'graphic-bar-phase-4': skill.nota >= 76 && skill.nota <= 100\r\n }\" role=\"progressbar\" [style.width.%]=\"skill.nota\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"graphic-label\">\r\n <p>Refer\u00EAncia de cores:</p>\r\n <ul>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-1\"></i>\r\n <span>Est\u00E1gio 1</span>\r\n </li>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-2\"></i>\r\n <span>Est\u00E1gio 2</span>\r\n </li>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-3\"></i>\r\n <span>Est\u00E1gio 3</span>\r\n </li>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-4\"></i>\r\n <span>Est\u00E1gio 4</span>\r\n </li>\r\n <li>\r\n <i class=\"bi bi-circle-fill phase-highlight\"></i>\r\n <span>Habilidade que voc\u00EA precisa mais desenvolver no momento</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n <form [formGroup]=\"form\">\r\n <fieldset *ngIf=\"exibirQuestionario === true\">\r\n\r\n <ng-container *ngIf=\"item.exhibition === 'page'\">\r\n\r\n <div class=\"mt-4 px-sm-5\" *ngFor=\"let question of item.questions; index as iQuestion\">\r\n\r\n <p class=\"mb-3\" style=\"font-weight: 500;\" [ngStyle]=\"{'color': item.questionColor }\">\r\n {{ question.question }}\r\n </p>\r\n\r\n <ng-container *ngIf=\"question.type === 'objetiva_multiple'\">\r\n <div class=\"multichoice mb-3\" *ngFor=\"let opt of question.options; index as iOpt\">\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 <span [ngStyle]=\"{'background': item.answerBackgroundColor }\">\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerColor }\">{{ listMarkerLetter(iOpt) }})</div>\r\n </div>\r\n <div class=\"text\" [ngStyle]=\"{'color': item.answerColor }\">{{ opt.text }}</div>\r\n <i class=\"fa fa-check\" [ngStyle]=\"{'color': item.answerColor }\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"question.type === 'objetiva'\">\r\n <div class=\"multichoice mb-3\" *ngFor=\"let opt of question.options; index as iOpt\">\r\n <label>\r\n <input [formControlName]=\"iQuestion\" type=\"radio\" [required]=\"question.required\"\r\n id=\"radio-{{iQuestion}}-{{iOpt}}\" [value]=\"opt.text\" (change)=\"verify(opt)\" />\r\n <span [ngStyle]=\"{'background': item.answerBackgroundColor }\">\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerColor }\">{{ listMarkerLetter(iOpt) }})</div>\r\n </div>\r\n <div class=\"text\" [ngStyle]=\"{'color': item.answerColor }\">{{ opt.text }}</div>\r\n <i class=\"fa fa-check\" [ngStyle]=\"{'color': item.answerColor }\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout !== 'assessment'\">\r\n\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 <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>\r\n\r\n <ng-container *ngIf=\"item.exhibition === 'slides'\">\r\n\r\n <div class=\"research-stepper-container\">\r\n <owl-carousel-o #slideCarousel [options]=\"customOptions\" class=\"research-stepper\">\r\n <ng-template carouselSlide\r\n *ngFor=\"let question of item.questions; index as iQuestion; let counter = count; let last = last\">\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\r\n <ng-container *ngIf=\"question.type === 'objetiva_multiple'\">\r\n <div class=\"multichoice mb-3\" *ngFor=\"let opt of question.options; index as iOpt\">\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 <span [ngStyle]=\"{'background': item.answerBackgroundColor }\">\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerColor }\">{{ listMarkerLetter(iOpt) }})</div>\r\n </div>\r\n <div class=\"text\" [ngStyle]=\"{'color': item.answerColor }\">{{ opt.text }}</div>\r\n <i class=\"fa fa-check\" [ngStyle]=\"{'color': item.answerColor }\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"question.type === 'objetiva'\">\r\n <div class=\"multichoice mb-3\" *ngFor=\"let opt of question.options; index as iOpt\">\r\n <label>\r\n <input [formControlName]=\"iQuestion\" (change)=\"slideNextRadio($event)\" type=\"radio\"\r\n [required]=\"question.required\" id=\"radio-{{iQuestion}}-{{iOpt}}\" [value]=\"opt.text\"\r\n (change)=\"verify(opt)\" />\r\n <span [ngStyle]=\"{'background': item.answerBackgroundColor }\">\r\n <div class=\"marcadores\">\r\n <div class=\"pull-left\" [ngStyle]=\"{'color': item.answerColor }\">{{ listMarkerLetter(iOpt) }})</div>\r\n </div>\r\n <div class=\"text\" [ngStyle]=\"{'color': item.answerColor }\">{{ opt.text }}</div>\r\n <i class=\"fa fa-check\" [ngStyle]=\"{'color': item.answerColor }\"></i>\r\n </span>\r\n </label>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"item.layout !== 'assessment'\">\r\n\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 <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\"\r\n 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 class=\"research-stepper-counter\" [ngStyle]=\"{'color': item.questionColor }\">\r\n <small>Perguntas: {{ iQuestion + 1 }}/{{ counter }}</small>\r\n </div>\r\n\r\n <div class=\"mt-5 mt-sm-4 text-center\" *ngIf=\"last\">\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 </div>\r\n </div>\r\n \r\n </ng-template>\r\n </owl-carousel-o>\r\n\r\n <div class=\"research-stepper-navigation\">\r\n <div class=\"research-stepper-navigation-prev\" (click)=\"slidePrev()\"\r\n [ngStyle]=\"{'color': item.button.color, 'background-color': item.button.background}\">\r\n <i class=\"fa fa-angle-left\"></i>\r\n </div>\r\n <div class=\"research-stepper-navigation-next\" (click)=\"slideNext()\"\r\n [ngStyle]=\"{'color': item.button.color, 'background-color': item.button.background}\">\r\n <i class=\"fa fa-angle-right\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </ng-container>\r\n\r\n <div class=\"text-center\" *ngIf=\"!blocked && item.exhibition != 'slides'\">\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 </div>\r\n\r\n </fieldset>\r\n\r\n <ng-container *ngIf=\"blocked\">\r\n <div class=\"mt-5 text-center\">\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 </div>\r\n </ng-container>\r\n </form>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
10815
10817
|
providers: [TrailContentService],
|
|
10816
10818
|
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}", ".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}.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-bar-visual{background-color:#e7415c!important}.progress-bar-auditivo{background-color:#f58c2e!important}.progress-bar-cinestesico{background-color:#2cc84d}.progress-bar-kinesthetic{background-color:#8559b3}.graphic{display:block;padding:20px;background-color:#fff;border-radius:4px}.graphic .graphic-caption{margin-bottom:15px;text-align:center}.graphic .graphic-caption h5{font-size:18px}.graphic .graphic-item{display:flex;align-items:center;justify-content:space-between;flex-direction:row;width:100%;background-color:#f4f4f4;margin-bottom:10px;border-radius:4px}.graphic .graphic-item .graphic-content{display:block;width:50%;margin-bottom:20px;padding:30px 30px 0}.graphic .graphic-item .graphic-content .graphic-subitem{margin-bottom:20px}.graphic .graphic-item .graphic-content .graphic-highlight{background-color:#ddd;margin-bottom:20px;border-radius:4px;padding:10px}.graphic .graphic-item .graphic-content .graphic-header{display:flex;align-items:center;justify-content:space-between}.graphic .graphic-item .graphic-content .graphic-body{margin:10px 0 20px}.graphic .graphic-item .graphic-content .graphic-body:last-child{margin:10px 0 0}.graphic .graphic-item .graphic-content .graphic-body .graphic-bar-phase-1{background-color:#eb435d!important}.graphic .graphic-item .graphic-content .graphic-body .graphic-bar-phase-2{background-color:#f38c2f!important}.graphic .graphic-item .graphic-content .graphic-body .graphic-bar-phase-3{background-color:#3dc2ad}.graphic .graphic-item .graphic-content .graphic-body .graphic-bar-phase-4{background-color:#8758b4}.graphic .graphic-label{display:block;margin-top:20px;background-color:#f4f4f4;padding:15px;border-radius:4px}.graphic .graphic-label p{font-weight:500;margin-bottom:15px}.graphic .graphic-label li{float:left;width:25%;list-style:none;margin-right:0;margin-bottom:15px;font-size:14px}.graphic .graphic-label li:last-child{float:none;width:100%;margin-bottom:0}.graphic .graphic-label li .bi{margin-right:7px}.graphic .graphic-label li span{font-weight:500}.graphic .graphic-label li .phase-1{color:#eb435d!important}.graphic .graphic-label li .phase-2{color:#f38c2f!important}.graphic .graphic-label li .phase-3{color:#3dc2ad}.graphic .graphic-label li .phase-4{color:#8758b4}.graphic .graphic-label li .phase-highlight{color:#ddd}::ng-deep .research-stepper .owl-item{opacity:0}::ng-deep .research-stepper .owl-item.active{opacity:1!important}.research-stepper-container{position:relative}.research-stepper-container .research-stepper-counter{display:flex;justify-content:flex-start;position:relative;bottom:0}.research-stepper-container .research-stepper-navigation{display:flex;justify-content:flex-end;position:absolute;z-index:1040;text-align:right;bottom:20px;right:65px}.research-stepper-container .research-stepper-navigation .research-stepper-navigation-next,.research-stepper-container .research-stepper-navigation .research-stepper-navigation-prev{display:flex;align-items:center;justify-content:center;height:30px;width:30px;margin-left:1px;background:rgba(255,255,255,.8);color:#222;opacity:1;bottom:0}.research-stepper-container .research-stepper-navigation .research-stepper-navigation-next:hover,.research-stepper-container .research-stepper-navigation .research-stepper-navigation-prev:hover{background:rgba(255,255,255,.7);color:#222;opacity:.7;cursor:pointer!important}.research-stepper-container .research-stepper-navigation .research-stepper-navigation-next i,.research-stepper-container .research-stepper-navigation .research-stepper-navigation-prev i{font-size:20px!important}.research-stepper-container .research-stepper-navigation .research-stepper-navigation-prev{border-top-left-radius:3px;border-bottom-left-radius:3px}.research-stepper-container .research-stepper-navigation .research-stepper-navigation-next{border-top-right-radius:3px;border-bottom-right-radius:3px}@media (max-width:575.98px){.graphic{padding:20px}.graphic .graphic-caption{display:none}.graphic .graphic-item{display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;width:100%;margin-bottom:20px;padding-bottom:0}.graphic .graphic-item .graphic-content{display:block;width:100%;margin-bottom:0;padding:10px 10px 0}.graphic .graphic-item .graphic-content h5{font-size:15px;text-transform:uppercase;margin-bottom:10px}.graphic .graphic-item .graphic-content h6{font-size:14px}.graphic .graphic-item .graphic-content .graphic-header{display:flex;align-items:flex-start;justify-content:space-between;flex-direction:row}.graphic .graphic-item .graphic-content .graphic-body,.graphic .graphic-item .graphic-content .graphic-body:last-child{margin:10px 0 0}.graphic .graphic-item .graphic-content .graphic-body .progress{height:5px!important}.graphic .graphic-label{display:flex;flex-direction:column;margin-top:20px}.graphic .graphic-label li{list-style:none;margin-right:0;margin-bottom:5px;font-size:13px}.graphic .graphic-label li:first-child{margin-top:20px}.graphic .graphic-label li .bi{margin-right:7px}.graphic .graphic-label li span{font-weight:500}.research-stepper-container .research-stepper-navigation{right:10px}}"]
|
|
10817
10819
|
}] }
|