vcomply-workflow-engine 0.0.4 → 0.0.7
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/bundles/vcomply-workflow-engine.umd.js +8288 -6762
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +18 -15
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.ngfactory.js +2 -2
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +6 -6
- package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.ngfactory.js +3 -3
- package/esm2015/lib/confirmation-alert/confirmation-alert.component.js +1 -1
- package/esm2015/lib/create-documents/create-documents.component.js +1 -1
- package/esm2015/lib/formgroup/cs-select/cs-select.component.js +3 -3
- package/esm2015/lib/formgroup/cs-select/cs-select.component.ngfactory.js +3 -3
- package/esm2015/lib/formgroup/cs-switch/cs-switch.component.js +1 -1
- package/esm2015/lib/formgroup/select/cs-select/cs-select.component.js +3 -3
- package/esm2015/lib/formgroup/select/cs-select/cs-select.component.ngfactory.js +3 -3
- package/esm2015/lib/log-an-issue/log-an-issue.component.js +10 -13
- package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +7 -7
- package/esm2015/lib/more-option/more-option.component.js +40 -5
- package/esm2015/lib/more-option/more-option.component.ngfactory.js +29 -13
- package/esm2015/lib/more-option/more-option.component.ngsummary.json +1 -1
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.ngfactory.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.ngfactory.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list.component.js +187 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list.component.ngfactory.js +208 -0
- package/esm2015/lib/sharedComponents/assessment-list/assessment-list.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-list/service/assessment.interface.js +2 -0
- package/esm2015/lib/sharedComponents/assessment-list/service/assessment.interface.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-list/service/assessment.service.js +34 -0
- package/esm2015/lib/sharedComponents/assessment-list/service/assessment.service.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/assessment-preview.module.js +61 -0
- package/esm2015/lib/sharedComponents/assessment-preview/assessment-preview.module.ngfactory.js +21 -0
- package/esm2015/lib/sharedComponents/assessment-preview/assessment-preview.module.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.js +29 -0
- package/esm2015/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.ngfactory.js +57 -0
- package/esm2015/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/date-time/date-time.component.js +32 -0
- package/esm2015/lib/sharedComponents/assessment-preview/date-time/date-time.component.ngfactory.js +88 -0
- package/esm2015/lib/sharedComponents/assessment-preview/date-time/date-time.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/device/device.component.js +22 -0
- package/esm2015/lib/sharedComponents/assessment-preview/device/device.component.ngfactory.js +26 -0
- package/esm2015/lib/sharedComponents/assessment-preview/device/device.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.ngfactory.js +39 -0
- package/esm2015/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/page-header/page-header.component.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-preview/page-header/page-header.component.ngfactory.js +22 -0
- package/esm2015/lib/sharedComponents/assessment-preview/page-header/page-header.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview/preview.component.js +47 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview/preview.component.ngfactory.js +69 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview/preview.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.ngfactory.js +109 -0
- package/esm2015/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.js +18 -0
- package/esm2015/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.ngfactory.js +96 -0
- package/esm2015/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.js +29 -0
- package/esm2015/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.ngfactory.js +56 -0
- package/esm2015/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/select-question/select-question.component.js +32 -0
- package/esm2015/lib/sharedComponents/assessment-preview/select-question/select-question.component.ngfactory.js +23 -0
- package/esm2015/lib/sharedComponents/assessment-preview/select-question/select-question.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.ngfactory.js +21 -0
- package/esm2015/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-preview/welcome/welcome.component.js +18 -0
- package/esm2015/lib/sharedComponents/assessment-preview/welcome/welcome.component.ngfactory.js +21 -0
- package/esm2015/lib/sharedComponents/assessment-preview/welcome/welcome.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.js +3 -3
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngfactory.js +19 -51
- package/esm2015/lib/sharedComponents/bulk-view/bulk-view.component.js +2 -3
- package/esm2015/lib/sharedComponents/category-list/category-list.component.js +1 -1
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints/checkpoints.component.js +2 -2
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints/checkpoints.component.ngfactory.js +1 -1
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-list/checkpoints-list.component.js +2 -2
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.js +9 -9
- package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.ngfactory.js +47 -248
- package/esm2015/lib/sharedComponents/checkpoint-policy/checkpoints-policy-container/checkpoints-policy-container.component.js +1 -1
- package/esm2015/lib/sharedComponents/checkpoint-policy/checkpoints-policy-list/checkpoints-policy-list.component.js +1 -1
- package/esm2015/lib/sharedComponents/checkpoint-policy/checkpoints-policy-questions/checkpoints-policy-questions.component.js +1 -1
- package/esm2015/lib/sharedComponents/format-and-evidence/format-and-evidence.component.js +2 -2
- package/esm2015/lib/sharedComponents/format-and-evidence/format-and-evidence.component.ngfactory.js +2 -2
- package/esm2015/lib/sharedComponents/framework-list/parent-table/parent-table.component.js +3 -3
- package/esm2015/lib/sharedComponents/framework-list/parent-table/parent-table.component.ngfactory.js +12 -12
- package/esm2015/lib/sharedComponents/no-data/no-data.component.js +3 -3
- package/esm2015/lib/sharedComponents/no-data/no-data.component.ngfactory.js +5 -5
- package/esm2015/lib/sharedComponents/no-data/no-data.module.ngfactory.js +1 -1
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.js +14 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.ngfactory.js +19 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/radio-list.component.js +111 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/radio-list.component.ngfactory.js +87 -0
- package/esm2015/lib/sharedComponents/radio-list-with-pagination/radio-list.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/review-frequency/review-frequency.component.js +1 -1
- package/esm2015/lib/sharedComponents/risk-classification/risk-classification.component.js +1 -1
- package/esm2015/lib/ui-kit/pagination/pagination/pagination.component.js +111 -0
- package/esm2015/lib/ui-kit/pagination/pagination/pagination.component.ngfactory.js +57 -0
- package/esm2015/lib/ui-kit/pagination/pagination/pagination.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/pagination/pagination.module.js +21 -0
- package/esm2015/lib/ui-kit/pagination/pagination.module.ngfactory.js +13 -0
- package/esm2015/lib/ui-kit/pagination/pagination.module.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/popover/popover.component.js +5 -4
- package/esm2015/lib/ui-kit/popover/popover.directive.js +55 -1
- package/esm2015/lib/ui-kit/popover/popover.directive.ngsummary.json +1 -1
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.js +226 -0
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngfactory.js +244 -0
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngsummary.json +1 -0
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +111 -16
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +135 -94
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +47 -6
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +78 -40
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine.module.js +21 -3
- package/esm2015/lib/workflow-engine.module.ngfactory.js +4 -2
- package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
- package/esm2015/lib/workflow-pagination/workflow-pagination.component.js +95 -6
- package/esm2015/lib/workflow-pagination/workflow-pagination.component.ngfactory.js +23 -7
- package/esm2015/lib/workflow-pagination/workflow-pagination.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-policy/workflow-policy.component.js +5 -5
- package/esm2015/lib/workflow-policy/workflow-policy.component.ngfactory.js +13 -13
- package/esm2015/lib/workflow-risk/workflow-risk.component.js +20 -3
- package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +7 -7
- package/esm2015/lib/workflow-services/assessment.service.js +68 -0
- package/esm2015/lib/workflow-services/assessment.service.ngsummary.json +1 -0
- package/esm2015/lib/workflow-services/auth.service.js +3 -1
- package/esm2015/lib/workflow-services/responsibility.service.js +15 -2
- package/esm2015/lib/workflow-services/responsibility.service.ngsummary.json +1 -1
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.js +2 -2
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +2 -2
- package/esm2015/vcomply-workflow-engine.js +67 -44
- package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +2689 -1244
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/more-option/more-option.component.d.ts +2 -0
- package/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-list/assessment-list-loader/assessment-list-loader.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-list/assessment-list-sub-loader/assessment-list-sub-loader.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +80 -0
- package/lib/sharedComponents/assessment-list/assessment-list.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-list/service/assessment.interface.d.ts +22 -0
- package/lib/sharedComponents/assessment-list/service/assessment.service.d.ts +10 -0
- package/lib/sharedComponents/assessment-preview/assessment-preview.module.d.ts +2 -0
- package/lib/sharedComponents/assessment-preview/assessment-preview.module.ngfactory.d.ts +3 -0
- package/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-preview/checkbox-question/checkbox-question.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/date-time/date-time.component.d.ts +12 -0
- package/lib/sharedComponents/assessment-preview/date-time/date-time.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/device/device.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-preview/device/device.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-preview/file-upload/file-upload.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/page-header/page-header.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-preview/page-header/page-header.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/preview/preview.component.d.ts +11 -0
- package/lib/sharedComponents/assessment-preview/preview/preview.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-preview/preview-container/preview-container.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.d.ts +6 -0
- package/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/select-question/select-question.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-preview/select-question/select-question.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-preview/welcome/welcome.component.d.ts +6 -0
- package/lib/sharedComponents/assessment-preview/welcome/welcome.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.d.ts +5 -0
- package/lib/sharedComponents/radio-list-with-pagination/link-treatment-loader/link-treatment-loader.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +47 -0
- package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +23 -0
- package/lib/ui-kit/pagination/pagination/pagination.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/pagination/pagination.module.d.ts +2 -0
- package/lib/ui-kit/pagination/pagination.module.ngfactory.d.ts +3 -0
- package/lib/ui-kit/popover/popover.directive.d.ts +1 -0
- package/lib/workflow-assessment/workflow-assessment.component.d.ts +63 -0
- package/lib/workflow-assessment/workflow-assessment.component.ngfactory.d.ts +1 -0
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +13 -1
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +9 -1
- package/lib/workflow-pagination/workflow-pagination.component.d.ts +18 -1
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/lib/workflow-services/assessment.service.d.ts +20 -0
- package/lib/workflow-services/auth.service.d.ts +2 -0
- package/lib/workflow-services/responsibility.service.d.ts +5 -0
- package/package.json +1 -1
- package/vcomply-workflow-engine.d.ts +66 -43
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
|
|
5
|
+
* tslint:disable
|
|
6
|
+
*/
|
|
7
|
+
import * as i0 from "./preview-container.component.less.shim.ngstyle";
|
|
8
|
+
import * as i1 from "@angular/core";
|
|
9
|
+
import * as i2 from "../../../ui-kit/tooltip/tooltip.directive";
|
|
10
|
+
import * as i3 from "@angular/common";
|
|
11
|
+
import * as i4 from "../radio-question/radio-question.component.ngfactory";
|
|
12
|
+
import * as i5 from "../radio-question/radio-question.component";
|
|
13
|
+
import * as i6 from "../checkbox-question/checkbox-question.component.ngfactory";
|
|
14
|
+
import * as i7 from "../checkbox-question/checkbox-question.component";
|
|
15
|
+
import * as i8 from "../single-textbox/single-textbox.component.ngfactory";
|
|
16
|
+
import * as i9 from "../single-textbox/single-textbox.component";
|
|
17
|
+
import * as i10 from "../select-question/select-question.component.ngfactory";
|
|
18
|
+
import * as i11 from "../select-question/select-question.component";
|
|
19
|
+
import * as i12 from "../date-time/date-time.component.ngfactory";
|
|
20
|
+
import * as i13 from "../date-time/date-time.component";
|
|
21
|
+
import * as i14 from "../file-upload/file-upload.component.ngfactory";
|
|
22
|
+
import * as i15 from "../file-upload/file-upload.component";
|
|
23
|
+
import * as i16 from "./preview-container.component";
|
|
24
|
+
var styles_PreviewContainerComponent = [i0.styles];
|
|
25
|
+
var RenderType_PreviewContainerComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PreviewContainerComponent, data: {} });
|
|
26
|
+
export { RenderType_PreviewContainerComponent as RenderType_PreviewContainerComponent };
|
|
27
|
+
function View_PreviewContainerComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "img", [["alt", ""], ["delay", "0"], ["placement", "bottom-left"], ["src", "https://s3-eu-west-1.amazonaws.com/eu.v-comply.com/profile_pic/thumb/1591875227667_vcomply.png"], ["type", "black"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
28
|
+
var pd_0 = (i1.ɵnov(_v, 1).onMouseEnter() !== false);
|
|
29
|
+
ad = (pd_0 && ad);
|
|
30
|
+
} if (("mouseover" === en)) {
|
|
31
|
+
var pd_1 = (i1.ɵnov(_v, 1).onMouseOver() !== false);
|
|
32
|
+
ad = (pd_1 && ad);
|
|
33
|
+
} if (("mouseleave" === en)) {
|
|
34
|
+
var pd_2 = (i1.ɵnov(_v, 1).onMouseLeave() !== false);
|
|
35
|
+
ad = (pd_2 && ad);
|
|
36
|
+
} if (("mouseout" === en)) {
|
|
37
|
+
var pd_3 = (i1.ɵnov(_v, 1).onMouseOut() !== false);
|
|
38
|
+
ad = (pd_3 && ad);
|
|
39
|
+
} if (("click" === en)) {
|
|
40
|
+
var pd_4 = (i1.ɵnov(_v, 1).onClick() !== false);
|
|
41
|
+
ad = (pd_4 && ad);
|
|
42
|
+
} return ad; }, null, null)), i1.ɵdid(1, 81920, null, 0, i2.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null)], function (_ck, _v) { var currVal_0 = "Harshvardhan Kariwala"; var currVal_1 = "bottom-left"; var currVal_2 = "black"; var currVal_3 = true; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }
|
|
43
|
+
function View_PreviewContainerComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "img", [["alt", ""], ["delay", "0"], ["placement", "bottom-left"], ["src", "https://s3-eu-west-1.amazonaws.com/eu.v-comply.com/profile_pic/thumb/1591875227667_vcomply.png"], ["type", "black"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
44
|
+
var pd_0 = (i1.ɵnov(_v, 1).onMouseEnter() !== false);
|
|
45
|
+
ad = (pd_0 && ad);
|
|
46
|
+
} if (("mouseover" === en)) {
|
|
47
|
+
var pd_1 = (i1.ɵnov(_v, 1).onMouseOver() !== false);
|
|
48
|
+
ad = (pd_1 && ad);
|
|
49
|
+
} if (("mouseleave" === en)) {
|
|
50
|
+
var pd_2 = (i1.ɵnov(_v, 1).onMouseLeave() !== false);
|
|
51
|
+
ad = (pd_2 && ad);
|
|
52
|
+
} if (("mouseout" === en)) {
|
|
53
|
+
var pd_3 = (i1.ɵnov(_v, 1).onMouseOut() !== false);
|
|
54
|
+
ad = (pd_3 && ad);
|
|
55
|
+
} if (("click" === en)) {
|
|
56
|
+
var pd_4 = (i1.ɵnov(_v, 1).onClick() !== false);
|
|
57
|
+
ad = (pd_4 && ad);
|
|
58
|
+
} return ad; }, null, null)), i1.ɵdid(1, 81920, null, 0, i2.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null)], function (_ck, _v) { var currVal_0 = "Harshvardhan Kariwala"; var currVal_1 = "bottom-left"; var currVal_2 = "black"; var currVal_3 = true; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }
|
|
59
|
+
function View_PreviewContainerComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, "div", [["class", "inside vx-pt-5"]], null, null, null, null, null))], null, null); }
|
|
60
|
+
export function View_PreviewContainerComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 38, "div", [["class", "preview-body"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 21, "div", [["class", "preview-heading vx-bg-white vx-d-flex vx-align-center vx-pt-2 vx-pb-2 vx-pl-3 vx-pr-3"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 12, "div", [["class", "vx-avatar-group vx-align-center vx-mr-2"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, "div", [["class", "vx-avatar md"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 2, "span", [["class", "blue"], ["delay", "0"], ["placement", "bottom-left"], ["type", "black"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
61
|
+
var pd_0 = (i1.ɵnov(_v, 5).onMouseEnter() !== false);
|
|
62
|
+
ad = (pd_0 && ad);
|
|
63
|
+
} if (("mouseover" === en)) {
|
|
64
|
+
var pd_1 = (i1.ɵnov(_v, 5).onMouseOver() !== false);
|
|
65
|
+
ad = (pd_1 && ad);
|
|
66
|
+
} if (("mouseleave" === en)) {
|
|
67
|
+
var pd_2 = (i1.ɵnov(_v, 5).onMouseLeave() !== false);
|
|
68
|
+
ad = (pd_2 && ad);
|
|
69
|
+
} if (("mouseout" === en)) {
|
|
70
|
+
var pd_3 = (i1.ɵnov(_v, 5).onMouseOut() !== false);
|
|
71
|
+
ad = (pd_3 && ad);
|
|
72
|
+
} if (("click" === en)) {
|
|
73
|
+
var pd_4 = (i1.ɵnov(_v, 5).onClick() !== false);
|
|
74
|
+
ad = (pd_4 && ad);
|
|
75
|
+
} return ad; }, null, null)), i1.ɵdid(5, 81920, null, 0, i2.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null), (_l()(), i1.ɵted(-1, null, ["Hk"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PreviewContainerComponent_1)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 5, "div", [["class", "vx-avatar md"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, "span", [["class", "green"], ["delay", "0"], ["placement", "bottom-left"], ["type", "black"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
76
|
+
var pd_0 = (i1.ɵnov(_v, 11).onMouseEnter() !== false);
|
|
77
|
+
ad = (pd_0 && ad);
|
|
78
|
+
} if (("mouseover" === en)) {
|
|
79
|
+
var pd_1 = (i1.ɵnov(_v, 11).onMouseOver() !== false);
|
|
80
|
+
ad = (pd_1 && ad);
|
|
81
|
+
} if (("mouseleave" === en)) {
|
|
82
|
+
var pd_2 = (i1.ɵnov(_v, 11).onMouseLeave() !== false);
|
|
83
|
+
ad = (pd_2 && ad);
|
|
84
|
+
} if (("mouseout" === en)) {
|
|
85
|
+
var pd_3 = (i1.ɵnov(_v, 11).onMouseOut() !== false);
|
|
86
|
+
ad = (pd_3 && ad);
|
|
87
|
+
} if (("click" === en)) {
|
|
88
|
+
var pd_4 = (i1.ɵnov(_v, 11).onClick() !== false);
|
|
89
|
+
ad = (pd_4 && ad);
|
|
90
|
+
} return ad; }, null, null)), i1.ɵdid(11, 81920, null, 0, i2.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null), (_l()(), i1.ɵted(-1, null, ["Hk"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PreviewContainerComponent_2)), i1.ɵdid(14, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, "i", [["class", "icons star vx-fs-12 vx-mr-2"]], [[2, "active", null]], null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uEA70"])), (_l()(), i1.ɵeld(17, 0, null, null, 5, "div", [["class", "name"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, "div", [["class", "id vx-fs-11 vx-fw-500 vx-paragraph-txt vx-tt-uppercase vx-lh-4"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["[CID-19110027]"])), (_l()(), i1.ɵeld(20, 0, null, null, 2, "div", [["class", "value vx-fs-14 vx-labl-txt vx-pr-5 vx-lh-5"], ["delay", "0"], ["placement", "bottom-left"], ["type", "black"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
91
|
+
var pd_0 = (i1.ɵnov(_v, 21).onMouseEnter() !== false);
|
|
92
|
+
ad = (pd_0 && ad);
|
|
93
|
+
} if (("mouseover" === en)) {
|
|
94
|
+
var pd_1 = (i1.ɵnov(_v, 21).onMouseOver() !== false);
|
|
95
|
+
ad = (pd_1 && ad);
|
|
96
|
+
} if (("mouseleave" === en)) {
|
|
97
|
+
var pd_2 = (i1.ɵnov(_v, 21).onMouseLeave() !== false);
|
|
98
|
+
ad = (pd_2 && ad);
|
|
99
|
+
} if (("mouseout" === en)) {
|
|
100
|
+
var pd_3 = (i1.ɵnov(_v, 21).onMouseOut() !== false);
|
|
101
|
+
ad = (pd_3 && ad);
|
|
102
|
+
} if (("click" === en)) {
|
|
103
|
+
var pd_4 = (i1.ɵnov(_v, 21).onClick() !== false);
|
|
104
|
+
ad = (pd_4 && ad);
|
|
105
|
+
} return ad; }, null, null)), i1.ɵdid(21, 81920, null, 0, i2.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null), (_l()(), i1.ɵted(-1, null, ["Data Protection Impact Assessment (DPIA) (RSK-10)"])), (_l()(), i1.ɵeld(23, 0, null, null, 15, "div", [["class", "preview-inner vx-mt-1 vx-mb-5 vx-pt-5"]], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 12, "div", [["class", "inside vx-pt-5"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 1, "app-radio-question", [], null, null, null, i4.View_RadioQuestionComponent_0, i4.RenderType_RadioQuestionComponent)), i1.ɵdid(26, 114688, null, 0, i5.RadioQuestionComponent, [], null, null), (_l()(), i1.ɵeld(27, 0, null, null, 1, "app-checkbox-question", [], null, null, null, i6.View_CheckboxQuestionComponent_0, i6.RenderType_CheckboxQuestionComponent)), i1.ɵdid(28, 114688, null, 0, i7.CheckboxQuestionComponent, [], null, null), (_l()(), i1.ɵeld(29, 0, null, null, 1, "app-single-textbox", [], null, null, null, i8.View_SingleTextboxComponent_0, i8.RenderType_SingleTextboxComponent)), i1.ɵdid(30, 114688, null, 0, i9.SingleTextboxComponent, [], null, null), (_l()(), i1.ɵeld(31, 0, null, null, 1, "app-select-question", [], null, null, null, i10.View_SelectQuestionComponent_0, i10.RenderType_SelectQuestionComponent)), i1.ɵdid(32, 114688, null, 0, i11.SelectQuestionComponent, [], null, null), (_l()(), i1.ɵeld(33, 0, null, null, 1, "app-date-time", [], null, null, null, i12.View_DateTimeComponent_0, i12.RenderType_DateTimeComponent)), i1.ɵdid(34, 114688, null, 0, i13.DateTimeComponent, [], null, null), (_l()(), i1.ɵeld(35, 0, null, null, 1, "app-file-upload", [], null, null, null, i14.View_FileUploadComponent_0, i14.RenderType_FileUploadComponent)), i1.ɵdid(36, 114688, null, 0, i15.FileUploadComponent, [], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PreviewContainerComponent_3)), i1.ɵdid(38, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var currVal_0 = "Harshvardhan Kariwala"; var currVal_1 = "bottom-left"; var currVal_2 = "black"; var currVal_3 = true; _ck(_v, 5, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_4 = false; _ck(_v, 8, 0, currVal_4); var currVal_5 = "Harshvardhan Kariwala"; var currVal_6 = "bottom-left"; var currVal_7 = "black"; var currVal_8 = true; _ck(_v, 11, 0, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_9 = false; _ck(_v, 14, 0, currVal_9); var currVal_11 = "Data Protection Impact Assessment (DPIA) (RSK-10)"; var currVal_12 = "bottom-left"; var currVal_13 = "black"; var currVal_14 = false; _ck(_v, 21, 0, currVal_11, currVal_12, currVal_13, currVal_14); _ck(_v, 26, 0); _ck(_v, 28, 0); _ck(_v, 30, 0); _ck(_v, 32, 0); _ck(_v, 34, 0); _ck(_v, 36, 0); var currVal_15 = false; _ck(_v, 38, 0, currVal_15); }, function (_ck, _v) { var currVal_10 = false; _ck(_v, 15, 0, currVal_10); }); }
|
|
106
|
+
export function View_PreviewContainerComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-preview-container", [], null, null, null, View_PreviewContainerComponent_0, RenderType_PreviewContainerComponent)), i1.ɵdid(1, 114688, null, 0, i16.PreviewContainerComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
|
|
107
|
+
var PreviewContainerComponentNgFactory = i1.ɵccf("app-preview-container", i16.PreviewContainerComponent, View_PreviewContainerComponent_Host_0, {}, {}, []);
|
|
108
|
+
export { PreviewContainerComponentNgFactory as PreviewContainerComponentNgFactory };
|
|
109
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJldmlldy1jb250YWluZXIuY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL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wcC1jb21tZW50LXF1ZXN0aW9uPlxyXG4gICAgICAgICAgICA8YXBwLXJhdGluZy10YWJsZT48L2FwcC1yYXRpbmctdGFibGU+IC0tPlxyXG4gICAgICAgICAgICA8YXBwLXNlbGVjdC1xdWVzdGlvbj48L2FwcC1zZWxlY3QtcXVlc3Rpb24+XHJcbiAgICAgICAgICAgIDwhLS0gPGFwcC1zZWxlY3Qtb3B0aW9uLXJhdGluZz48L2FwcC1zZWxlY3Qtb3B0aW9uLXJhdGluZz5cclxuICAgICAgICAgICAgPGFwcC1yYW5raW5nPjwvYXBwLXJhbmtpbmc+XHJcbiAgICAgICAgICAgIDxhcHAtc2xpZGVyLXF1ZXN0aW9uPjwvYXBwLXNsaWRlci1xdWVzdGlvbj5cclxuICAgICAgICAgICAgPGFwcC1tdWx0aXBsZS10ZXh0Ym94PjwvYXBwLW11bHRpcGxlLXRleHRib3g+IC0tPlxyXG4gICAgICAgICAgICA8YXBwLWRhdGUtdGltZT48L2FwcC1kYXRlLXRpbWU+XHJcbiAgICAgICAgICAgIDxhcHAtZmlsZS11cGxvYWQ+PC9hcHAtZmlsZS11cGxvYWQ+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPGRpdiAqbmdJZj1cImZhbHNlXCIgY2xhc3M9XCJpbnNpZGUgdngtcHQtNVwiPlxyXG4gICAgICAgICAgICA8IS0tIDxhcHAtcXVlc3Rpb24tbG9hZGVyPjwvYXBwLXF1ZXN0aW9uLWxvYWRlcj4gLS0+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+Il19
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0]},"isComponent":true,"selector":"app-preview-container","exportAs":null,"inputs":{},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":0,"styles":[],"animations":[]},"componentViewType":{"__symbol":1,"members":[]},"rendererType":{"__symbol":2,"members":[]},"componentFactory":{"__symbol":3,"members":[]}}}],"symbols":[{"__symbol":0,"name":"PreviewContainerComponent","filePath":"./preview-container.component"},{"__symbol":1,"name":"View_PreviewContainerComponent_0","filePath":"./preview-container.component.ngfactory"},{"__symbol":2,"name":"RenderType_PreviewContainerComponent","filePath":"./preview-container.component.ngfactory"},{"__symbol":3,"name":"PreviewContainerComponentNgFactory","filePath":"./preview-container.component.ngfactory"}]}
|
package/esm2015/lib/sharedComponents/assessment-preview/quick-settings/quick-settings.component.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
export class QuickSettingsComponent {
|
|
3
|
+
constructor() { }
|
|
4
|
+
ngOnInit() {
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
QuickSettingsComponent.decorators = [
|
|
8
|
+
{ type: Component, args: [{
|
|
9
|
+
selector: 'app-quick-settings',
|
|
10
|
+
template: "<div class=\"quick-settings\">\r\n <ul class=\"more-options vx-p-0 vx-m-0\">\r\n <li class=\"vx-pt-1 vx-pb-1\" *ngIf='question.hasComments'>\r\n <button class=\"options vx-fs-14 vx-d-flex vx-align-center vx-justify-center vx-bg-grey vx-label-txt vx-p-2\" [class.close]=\"info?.showPopover\" appPopover (click)=\"info?.popover()\" placement=\"right\">\r\n <span class=\"status vx-bg-blue\"></span>\r\n <i class=\"icons\" *ngIf=\"!info?.showPopover\"></i>\r\n <i class=\"icons\" *ngIf=\"info?.showPopover\"></i>\r\n </button>\r\n\r\n <app-popover #info [dontCloseonClick]=\"false\">\r\n <div class=\"block info vx-bg-white vx-p-3\">\r\n <div class=\"block-text vx-fs-13 vx-paragraph-txt\" [innerHTML]='question.comments'></div>\r\n </div>\r\n </app-popover>\r\n </li>\r\n\r\n <li class=\"vx-pt-1 vx-pb-1\" *ngIf='question.isRespondentAttachment'>\r\n <button class=\"options vx-fs-16 vx-d-flex vx-align-center vx-justify-center vx-bg-grey vx-label-txt vx-p-2\" [class.close]=\"attachment?.showPopover\" appPopover (click)=\"attachment.popover()\" placement=\"right\">\r\n <span class=\"status vx-bg-blue\"></span>\r\n <i class=\"icons\" *ngIf=\"!attachment?.showPopover\"></i>\r\n <i class=\"icons\" *ngIf=\"attachment?.showPopover\"></i>\r\n </button>\r\n\r\n <app-popover #attachment [dontCloseonClick]=\"true\">\r\n <div class=\"block attachment vx-bg-white\">\r\n <div *ngIf=\"false\" class=\"attached vx-pt-1 vx-pl-3 vx-pr-3\">\r\n <div class=\"file-box vx-d-flex vx-align-center vx-pb-2 vx-pt-2\" *ngFor=\"let data of [1, 1]\">\r\n <span class=\"file table pdf\">\r\n <i class=\"icons\"></i>\r\n <span class=\"format\">pdf</span>\r\n </span>\r\n <div class=\"file-name vx-fs-12 vx-label-txt\" [appTooltip]=\"'payrollnew-vcomply-interns.pdf'\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\">payrollnew-vcomply-interns.pdf</div>\r\n <button class=\"delete-btn vx-fs-14 vx-txt-red vx-p-0 vx-m-0 vx-ml-2 vx-d-flex vx-align-center vx-justify-center\"><i class=\"icons\"></i></button>\r\n <div class=\"line-progress\">\r\n <div class=\"line-progress-bar\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"attach-btn vx-d-flex vx-align-center vx-justify-center vx-p-2\">\r\n <input type=\"file\">\r\n <i class=\"icons vx-fs-18 vx-pt-2 vx-mb-1\"></i>\r\n <span class=\"vx-txt-blue vx-fs-12 vx-tt-uppercase\">Attach Files</span>\r\n </div>\r\n <div *ngIf=\"false\" class=\"bottom vx-p-2 vx-justify-center vx-d-flex vx-align-center\">\r\n <button class=\"save-btn vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">SAVE</button>\r\n </div>\r\n </div>\r\n </app-popover>\r\n </li>\r\n\r\n <li class=\"vx-pt-1 vx-pb-1\" *ngIf='question.isRespondentComment'>\r\n <button class=\"options vx-fs-14 vx-d-flex vx-align-center vx-justify-center vx-bg-grey vx-label-txt vx-p-2\" [class.close]=\"comment?.showPopover\" appPopover (click)=\"comment.popover()\" placement=\"right\">\r\n <span class=\"status vx-bg-blue\"></span>\r\n <i class=\"icons\" *ngIf=\"!comment?.showPopover\"></i>\r\n <i class=\"icons\" *ngIf=\"comment?.showPopover\"></i>\r\n </button>\r\n \r\n <app-popover #comment [dontCloseonClick]=\"true\">\r\n <div class=\"block comment vx-p-0 vx-bg-white \">\r\n <div class=\"text-area\">\r\n <textarea class=\"vx-fs-13 vx-paragraph-txt vx-lh-5 vx-p-2 vx-m-0\" placeholder=\"Type here...\"></textarea>\r\n </div>\r\n <div *ngIf=\"true\" class=\"bottom vx-p-2 vx-justify-center vx-d-flex vx-align-center\">\r\n <button class=\"save-btn vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\">SAVE</button>\r\n </div>\r\n </div>\r\n </app-popover>\r\n </li>\r\n </ul>\r\n</div>\r\n",
|
|
11
|
+
styles: ["@import url(\"https://cdn.v-comply.com/design-system/css/display/display.css\");@import url(\"https://cdn.v-comply.com/design-system/css/icons/icons.css\");@import url(\"https://cdn.v-comply.com/design-system/css/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\");@import url(\"https://cdn.v-comply.com/design-system/css/width/width.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\");@import url(\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.css\");.quick-settings ul.more-options li{position:relative;list-style:none}.quick-settings ul.more-options li button.options{border-radius:50%;border:1px solid #f1f1f1}.quick-settings ul.more-options li button.options span.status{border-radius:50%;height:.5rem;width:.5rem;position:absolute;right:.125rem;top:.5rem}.quick-settings ul.more-options li button.options.close{border:1px solid #4681ef;background:#4681ef;color:#fff}::ng-deep app-popover .block{border-radius:.125rem;box-shadow:0 0 10px rgba(30,93,211,.102);max-height:10rem;overflow:auto}::ng-deep app-popover .block::-webkit-scrollbar-track{background-color:#fff}::ng-deep app-popover .block.info{width:17rem}::ng-deep app-popover .block.attachment{min-width:12.25rem;max-width:17rem}::ng-deep app-popover .block.attachment .attached .file-box{border-bottom:1px solid #f1f1f1;position:relative}::ng-deep app-popover .block.attachment .attached .file-box .file-name{min-width:11.375rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::ng-deep app-popover .block.attachment .attached .file-box button.delete-btn{background:transparent;border-radius:0;border:none}::ng-deep app-popover .block.attachment .attached .file-box .line-progress{left:1.625rem;top:auto;bottom:.5rem;width:80%}::ng-deep app-popover .block.attachment .attach-btn{flex-direction:column;position:relative}::ng-deep app-popover .block.attachment .attach-btn input{position:absolute;top:0;right:0;height:100%;width:100%;opacity:0;cursor:pointer}::ng-deep app-popover .block.attachment .attach-btn i{color:#dbdbdb}::ng-deep app-popover .block.comment{width:17rem}::ng-deep app-popover .block.comment textarea{border:none;outline:none;width:100%;resize:none}::ng-deep app-popover .block .bottom{border-top:1px solid #f1f1f1}::ng-deep app-popover .block .bottom button.save-btn{background:#1e5dd3;border-radius:.125rem;border:none;height:1.5rem;width:4rem}"]
|
|
12
|
+
},] }
|
|
13
|
+
];
|
|
14
|
+
QuickSettingsComponent.ctorParameters = () => [];
|
|
15
|
+
QuickSettingsComponent.propDecorators = {
|
|
16
|
+
question: [{ type: Input }]
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpY2stc2V0dGluZ3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9hc3Nlc3NtZW50LXByZXZpZXcvcXVpY2stc2V0dGluZ3MvcXVpY2stc2V0dGluZ3MuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBT3pELE1BQU0sT0FBTyxzQkFBc0I7SUFFakMsZ0JBQWdCLENBQUM7SUFFakIsUUFBUTtJQUNSLENBQUM7OztZQVZGLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsb0JBQW9CO2dCQUM5QixpeEpBQThDOzthQUUvQzs7Ozt1QkFFRSxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2FwcC1xdWljay1zZXR0aW5ncycsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL3F1aWNrLXNldHRpbmdzLmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybHM6IFsnLi9xdWljay1zZXR0aW5ncy5jb21wb25lbnQubGVzcyddXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBRdWlja1NldHRpbmdzQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuICBASW5wdXQoKSBxdWVzdGlvbiAhOmFueTtcclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICB9XHJcblxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
|
|
5
|
+
* tslint:disable
|
|
6
|
+
*/
|
|
7
|
+
import * as i0 from "./quick-settings.component.less.shim.ngstyle";
|
|
8
|
+
import * as i1 from "@angular/core";
|
|
9
|
+
import * as i2 from "../../../ui-kit/popover/popover.directive";
|
|
10
|
+
import * as i3 from "../../../ui-kit/popover/popover.service";
|
|
11
|
+
import * as i4 from "@angular/common";
|
|
12
|
+
import * as i5 from "../../../ui-kit/popover/popover.component.ngfactory";
|
|
13
|
+
import * as i6 from "../../../ui-kit/popover/popover.component";
|
|
14
|
+
import * as i7 from "../../../ui-kit/tooltip/tooltip.directive";
|
|
15
|
+
import * as i8 from "./quick-settings.component";
|
|
16
|
+
var styles_QuickSettingsComponent = [i0.styles];
|
|
17
|
+
var RenderType_QuickSettingsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_QuickSettingsComponent, data: {} });
|
|
18
|
+
export { RenderType_QuickSettingsComponent as RenderType_QuickSettingsComponent };
|
|
19
|
+
function View_QuickSettingsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "i", [["class", "icons"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE932"]))], null, null); }
|
|
20
|
+
function View_QuickSettingsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "i", [["class", "icons"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE9AE"]))], null, null); }
|
|
21
|
+
function View_QuickSettingsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, "li", [["class", "vx-pt-1 vx-pb-1"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, "button", [["appPopover", ""], ["class", "options vx-fs-14 vx-d-flex vx-align-center vx-justify-center vx-bg-grey vx-label-txt vx-p-2"], ["placement", "right"]], [[2, "close", null]], [[null, "click"], [null, "mouseenter"], [null, "mouseover"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
|
|
22
|
+
var pd_0 = (i1.ɵnov(_v, 2).click() !== false);
|
|
23
|
+
ad = (pd_0 && ad);
|
|
24
|
+
} if (("mouseenter" === en)) {
|
|
25
|
+
var pd_1 = (i1.ɵnov(_v, 2).onMouseEnter() !== false);
|
|
26
|
+
ad = (pd_1 && ad);
|
|
27
|
+
} if (("mouseover" === en)) {
|
|
28
|
+
var pd_2 = (i1.ɵnov(_v, 2).onMouseOver() !== false);
|
|
29
|
+
ad = (pd_2 && ad);
|
|
30
|
+
} if (("click" === en)) {
|
|
31
|
+
var pd_3 = (((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).popover()) !== false);
|
|
32
|
+
ad = (pd_3 && ad);
|
|
33
|
+
} return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.PopoverDirective, [i1.ElementRef, i3.PopoverService], { placement: [0, "placement"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 0, "span", [["class", "status vx-bg-blue"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_2)), i1.ɵdid(5, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_3)), i1.ɵdid(7, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 3, "app-popover", [], null, [["window", "resize"]], function (_v, en, $event) { var ad = true; if (("window:resize" === en)) {
|
|
34
|
+
var pd_0 = (i1.ɵnov(_v, 9).sizeChange($event) !== false);
|
|
35
|
+
ad = (pd_0 && ad);
|
|
36
|
+
} return ad; }, i5.View_PopoverComponent_0, i5.RenderType_PopoverComponent)), i1.ɵdid(9, 114688, [["info", 4]], 0, i6.PopoverComponent, [i3.PopoverService], { dontCloseonClick: [0, "dontCloseonClick"] }, null), (_l()(), i1.ɵeld(10, 0, null, 0, 1, "div", [["class", "block info vx-bg-white vx-p-3"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 0, "div", [["class", "block-text vx-fs-13 vx-paragraph-txt"]], [[8, "innerHTML", 1]], null, null, null, null))], function (_ck, _v) { var currVal_1 = "right"; _ck(_v, 2, 0, currVal_1); var currVal_2 = !((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 5, 0, currVal_2); var currVal_3 = ((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 7, 0, currVal_3); var currVal_4 = false; _ck(_v, 9, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 1, 0, currVal_0); var currVal_5 = _co.question.comments; _ck(_v, 11, 0, currVal_5); }); }
|
|
37
|
+
function View_QuickSettingsComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "i", [["class", "icons"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE977"]))], null, null); }
|
|
38
|
+
function View_QuickSettingsComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "i", [["class", "icons"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE9AE"]))], null, null); }
|
|
39
|
+
function View_QuickSettingsComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, "div", [["class", "file-box vx-d-flex vx-align-center vx-pb-2 vx-pt-2"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, "span", [["class", "file table pdf"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, "i", [["class", "icons"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE92E"])), (_l()(), i1.ɵeld(4, 0, null, null, 1, "span", [["class", "format"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["pdf"])), (_l()(), i1.ɵeld(6, 0, null, null, 2, "div", [["class", "file-name vx-fs-12 vx-label-txt"], ["delay", "0"], ["placement", "bottom-left"], ["type", "black"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
40
|
+
var pd_0 = (i1.ɵnov(_v, 7).onMouseEnter() !== false);
|
|
41
|
+
ad = (pd_0 && ad);
|
|
42
|
+
} if (("mouseover" === en)) {
|
|
43
|
+
var pd_1 = (i1.ɵnov(_v, 7).onMouseOver() !== false);
|
|
44
|
+
ad = (pd_1 && ad);
|
|
45
|
+
} if (("mouseleave" === en)) {
|
|
46
|
+
var pd_2 = (i1.ɵnov(_v, 7).onMouseLeave() !== false);
|
|
47
|
+
ad = (pd_2 && ad);
|
|
48
|
+
} if (("mouseout" === en)) {
|
|
49
|
+
var pd_3 = (i1.ɵnov(_v, 7).onMouseOut() !== false);
|
|
50
|
+
ad = (pd_3 && ad);
|
|
51
|
+
} if (("click" === en)) {
|
|
52
|
+
var pd_4 = (i1.ɵnov(_v, 7).onClick() !== false);
|
|
53
|
+
ad = (pd_4 && ad);
|
|
54
|
+
} return ad; }, null, null)), i1.ɵdid(7, 81920, null, 0, i7.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null), (_l()(), i1.ɵted(-1, null, ["payrollnew-vcomply-interns.pdf"])), (_l()(), i1.ɵeld(9, 0, null, null, 2, "button", [["class", "delete-btn vx-fs-14 vx-txt-red vx-p-0 vx-m-0 vx-ml-2 vx-d-flex vx-align-center vx-justify-center"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, "i", [["class", "icons"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE923"])), (_l()(), i1.ɵeld(12, 0, null, null, 1, "div", [["class", "line-progress"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 0, "div", [["class", "line-progress-bar"]], null, null, null, null, null))], function (_ck, _v) { var currVal_0 = "payrollnew-vcomply-interns.pdf"; var currVal_1 = "bottom-left"; var currVal_2 = "black"; var currVal_3 = false; _ck(_v, 7, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }
|
|
55
|
+
function View_QuickSettingsComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, "div", [["class", "attached vx-pt-1 vx-pl-3 vx-pr-3"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_QuickSettingsComponent_8)), i1.ɵdid(2, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), i1.ɵpad(3, 2)], function (_ck, _v) { var currVal_0 = _ck(_v, 3, 0, 1, 1); _ck(_v, 2, 0, currVal_0); }, null); }
|
|
56
|
+
function View_QuickSettingsComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [["class", "bottom vx-p-2 vx-justify-center vx-d-flex vx-align-center"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, "button", [["class", "save-btn vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["SAVE"]))], null, null); }
|
|
57
|
+
function View_QuickSettingsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, "li", [["class", "vx-pt-1 vx-pb-1"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, "button", [["appPopover", ""], ["class", "options vx-fs-16 vx-d-flex vx-align-center vx-justify-center vx-bg-grey vx-label-txt vx-p-2"], ["placement", "right"]], [[2, "close", null]], [[null, "click"], [null, "mouseenter"], [null, "mouseover"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
|
|
58
|
+
var pd_0 = (i1.ɵnov(_v, 2).click() !== false);
|
|
59
|
+
ad = (pd_0 && ad);
|
|
60
|
+
} if (("mouseenter" === en)) {
|
|
61
|
+
var pd_1 = (i1.ɵnov(_v, 2).onMouseEnter() !== false);
|
|
62
|
+
ad = (pd_1 && ad);
|
|
63
|
+
} if (("mouseover" === en)) {
|
|
64
|
+
var pd_2 = (i1.ɵnov(_v, 2).onMouseOver() !== false);
|
|
65
|
+
ad = (pd_2 && ad);
|
|
66
|
+
} if (("click" === en)) {
|
|
67
|
+
var pd_3 = (i1.ɵnov(_v, 9).popover() !== false);
|
|
68
|
+
ad = (pd_3 && ad);
|
|
69
|
+
} return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.PopoverDirective, [i1.ElementRef, i3.PopoverService], { placement: [0, "placement"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 0, "span", [["class", "status vx-bg-blue"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_5)), i1.ɵdid(5, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_6)), i1.ɵdid(7, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 12, "app-popover", [], null, [["window", "resize"]], function (_v, en, $event) { var ad = true; if (("window:resize" === en)) {
|
|
70
|
+
var pd_0 = (i1.ɵnov(_v, 9).sizeChange($event) !== false);
|
|
71
|
+
ad = (pd_0 && ad);
|
|
72
|
+
} return ad; }, i5.View_PopoverComponent_0, i5.RenderType_PopoverComponent)), i1.ɵdid(9, 114688, [["attachment", 4]], 0, i6.PopoverComponent, [i3.PopoverService], { dontCloseonClick: [0, "dontCloseonClick"] }, null), (_l()(), i1.ɵeld(10, 0, null, 0, 10, "div", [["class", "block attachment vx-bg-white"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_7)), i1.ɵdid(12, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 5, "div", [["class", "attach-btn vx-d-flex vx-align-center vx-justify-center vx-p-2"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 0, "input", [["type", "file"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 1, "i", [["class", "icons vx-fs-18 vx-pt-2 vx-mb-1"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE977"])), (_l()(), i1.ɵeld(17, 0, null, null, 1, "span", [["class", "vx-txt-blue vx-fs-12 vx-tt-uppercase"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["Attach Files"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_9)), i1.ɵdid(20, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var currVal_1 = "right"; _ck(_v, 2, 0, currVal_1); var currVal_2 = !((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 5, 0, currVal_2); var currVal_3 = ((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 7, 0, currVal_3); var currVal_4 = true; _ck(_v, 9, 0, currVal_4); var currVal_5 = false; _ck(_v, 12, 0, currVal_5); var currVal_6 = false; _ck(_v, 20, 0, currVal_6); }, function (_ck, _v) { var currVal_0 = ((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 1, 0, currVal_0); }); }
|
|
73
|
+
function View_QuickSettingsComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "i", [["class", "icons"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE9A6"]))], null, null); }
|
|
74
|
+
function View_QuickSettingsComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "i", [["class", "icons"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uE9AE"]))], null, null); }
|
|
75
|
+
function View_QuickSettingsComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [["class", "bottom vx-p-2 vx-justify-center vx-d-flex vx-align-center"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, "button", [["class", "save-btn vx-fs-11 vx-fw-500 vx-txt-white vx-tt-uppercase vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["SAVE"]))], null, null); }
|
|
76
|
+
function View_QuickSettingsComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, "li", [["class", "vx-pt-1 vx-pb-1"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, "button", [["appPopover", ""], ["class", "options vx-fs-14 vx-d-flex vx-align-center vx-justify-center vx-bg-grey vx-label-txt vx-p-2"], ["placement", "right"]], [[2, "close", null]], [[null, "click"], [null, "mouseenter"], [null, "mouseover"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
|
|
77
|
+
var pd_0 = (i1.ɵnov(_v, 2).click() !== false);
|
|
78
|
+
ad = (pd_0 && ad);
|
|
79
|
+
} if (("mouseenter" === en)) {
|
|
80
|
+
var pd_1 = (i1.ɵnov(_v, 2).onMouseEnter() !== false);
|
|
81
|
+
ad = (pd_1 && ad);
|
|
82
|
+
} if (("mouseover" === en)) {
|
|
83
|
+
var pd_2 = (i1.ɵnov(_v, 2).onMouseOver() !== false);
|
|
84
|
+
ad = (pd_2 && ad);
|
|
85
|
+
} if (("click" === en)) {
|
|
86
|
+
var pd_3 = (i1.ɵnov(_v, 9).popover() !== false);
|
|
87
|
+
ad = (pd_3 && ad);
|
|
88
|
+
} return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.PopoverDirective, [i1.ElementRef, i3.PopoverService], { placement: [0, "placement"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 0, "span", [["class", "status vx-bg-blue"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_11)), i1.ɵdid(5, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_12)), i1.ɵdid(7, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 6, "app-popover", [], null, [["window", "resize"]], function (_v, en, $event) { var ad = true; if (("window:resize" === en)) {
|
|
89
|
+
var pd_0 = (i1.ɵnov(_v, 9).sizeChange($event) !== false);
|
|
90
|
+
ad = (pd_0 && ad);
|
|
91
|
+
} return ad; }, i5.View_PopoverComponent_0, i5.RenderType_PopoverComponent)), i1.ɵdid(9, 114688, [["comment", 4]], 0, i6.PopoverComponent, [i3.PopoverService], { dontCloseonClick: [0, "dontCloseonClick"] }, null), (_l()(), i1.ɵeld(10, 0, null, 0, 4, "div", [["class", "block comment vx-p-0 vx-bg-white "]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, "div", [["class", "text-area"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 0, "textarea", [["class", "vx-fs-13 vx-paragraph-txt vx-lh-5 vx-p-2 vx-m-0"], ["placeholder", "Type here..."]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_13)), i1.ɵdid(14, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var currVal_1 = "right"; _ck(_v, 2, 0, currVal_1); var currVal_2 = !((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 5, 0, currVal_2); var currVal_3 = ((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 7, 0, currVal_3); var currVal_4 = true; _ck(_v, 9, 0, currVal_4); var currVal_5 = true; _ck(_v, 14, 0, currVal_5); }, function (_ck, _v) { var currVal_0 = ((i1.ɵnov(_v, 9) == null) ? null : i1.ɵnov(_v, 9).showPopover); _ck(_v, 1, 0, currVal_0); }); }
|
|
92
|
+
export function View_QuickSettingsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, "div", [["class", "quick-settings"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, "ul", [["class", "more-options vx-p-0 vx-m-0"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_1)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_4)), i1.ɵdid(5, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickSettingsComponent_10)), i1.ɵdid(7, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.question.hasComments; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.question.isRespondentAttachment; _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.question.isRespondentComment; _ck(_v, 7, 0, currVal_2); }, null); }
|
|
93
|
+
export function View_QuickSettingsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-quick-settings", [], null, null, null, View_QuickSettingsComponent_0, RenderType_QuickSettingsComponent)), i1.ɵdid(1, 114688, null, 0, i8.QuickSettingsComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
|
|
94
|
+
var QuickSettingsComponentNgFactory = i1.ɵccf("app-quick-settings", i8.QuickSettingsComponent, View_QuickSettingsComponent_Host_0, { question: "question" }, {}, []);
|
|
95
|
+
export { QuickSettingsComponentNgFactory as QuickSettingsComponentNgFactory };
|
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpY2stc2V0dGluZ3MuY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL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S1jZW50ZXJcIj48aSBjbGFzcz1cImljb25zXCI+JiN4ZTkyMzs8L2k+PC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibGluZS1wcm9ncmVzc1wiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJsaW5lLXByb2dyZXNzLWJhclwiPjwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJhdHRhY2gtYnRuIHZ4LWQtZmxleCB2eC1hbGlnbi1jZW50ZXIgdngtanVzdGlmeS1jZW50ZXIgdngtcC0yXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCB0eXBlPVwiZmlsZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImljb25zIHZ4LWZzLTE4IHZ4LXB0LTIgdngtbWItMVwiPiYjeGU5Nzc7PC9pPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cInZ4LXR4dC1ibHVlIHZ4LWZzLTEyIHZ4LXR0LXVwcGVyY2FzZVwiPkF0dGFjaCBGaWxlczwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2ICpuZ0lmPVwiZmFsc2VcIiBjbGFzcz1cImJvdHRvbSB2eC1wLTIgdngtanVzdGlmeS1jZW50ZXIgdngtZC1mbGV4IHZ4LWFsaWduLWNlbnRlclwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwic2F2ZS1idG4gdngtZnMtMTEgdngtZnctNTAwIHZ4LXR4dC13aGl0ZSB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nVlXCI+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYmxvY2sgY29tbWVudCB2eC1wLTAgdngtYmctd2hpdGUgXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRleHQtYXJlYVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8dGV4dGFyZWEgY2xhc3M9XCJ2eC1mcy0xMyB2eC1wYXJhZ3JhcGgtdHh0IHZ4LWxoLTUgdngtcC0yIHZ4LW0tMFwiIHBsYWNlaG9sZGVyPVwiVHlwZSBoZXJlLi4uXCI+PC90ZXh0YXJlYT5cclxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2ICpuZ0lmPVwidHJ1ZVwiIGNsYXNzPVwiYm90dG9tIHZ4LXAtMiB2eC1qdXN0aWZ5LWNlbnRlciB2eC1kLWZsZXggdngtYWxpZ24tY2VudGVyXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJzYXZlLWJ0biB2eC1mcy0xMSB2eC1mdy01MDAgdngtdHh0LXdoaXRlIHZ4LXR0LXVwcGVyY2FzZSB2eC1wLTAgdngtbS0wIHZ4LWQtZmxleCB2eC1hbGlnbi1jZW50ZXIgdngtanVzdGlmeS1jZW50ZXJcIj5TQVZFPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9hcHAtcG9wb3Zlcj5cclxuICAgICAgICA8L2xpPlxyXG4gICAgPC91bD5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"question":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0]},"isComponent":true,"selector":"app-quick-settings","exportAs":null,"inputs":{"question":"question"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":0,"styles":[],"animations":[]},"componentViewType":{"__symbol":2,"members":[]},"rendererType":{"__symbol":3,"members":[]},"componentFactory":{"__symbol":4,"members":[]}}}],"symbols":[{"__symbol":0,"name":"QuickSettingsComponent","filePath":"./quick-settings.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"View_QuickSettingsComponent_0","filePath":"./quick-settings.component.ngfactory"},{"__symbol":3,"name":"RenderType_QuickSettingsComponent","filePath":"./quick-settings.component.ngfactory"},{"__symbol":4,"name":"QuickSettingsComponentNgFactory","filePath":"./quick-settings.component.ngfactory"}]}
|
package/esm2015/lib/sharedComponents/assessment-preview/radio-question/radio-question.component.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { shuffle } from 'lodash';
|
|
3
|
+
export class RadioQuestionComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.choicesForPreviewMode = [];
|
|
6
|
+
}
|
|
7
|
+
ngOnInit() {
|
|
8
|
+
this.choicesForPreviewMode = this.question.choices;
|
|
9
|
+
if (this.question.randomize === true) {
|
|
10
|
+
this.randomize();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
randomize() {
|
|
14
|
+
this.choicesForPreviewMode = shuffle(this.choicesForPreviewMode);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
RadioQuestionComponent.decorators = [
|
|
18
|
+
{ type: Component, args: [{
|
|
19
|
+
selector: 'app-radio-question',
|
|
20
|
+
template: "<div class=\"question-block\">\r\n <div class=\"question-head vx-d-flex vx-mb-4\">\r\n <span class=\"count vx-paragraph-txt vx-fs-20 vx-fw-400\">{{questionIndex}}.</span>\r\n <span class=\"heading vx-pl-3\">\r\n <span class=\"vx-fw-300 vx-label-txt vx-fs-20\" [innerHTML]=\"question?.title=='' ? 'Question' : question?.title\"></span>\r\n <span class=\"required vx-fw-400 vx-txt-red vx-fs-24 vx-ml-2\" *ngIf=\"question?.isRequired\">*</span>\r\n </span>\r\n </div>\r\n <div class=\"question-details vx-fs-13 vx-paragraph-txt\" [innerHTML]=\"question?.description\"></div>\r\n <div class=\"question-options\">\r\n <ul class=\"vx-p-0 vx-m-0\">\r\n <li *ngFor=\"let choice of choicesForPreviewMode; let choiceIndex = index\" class=\"vx-mt-5\">\r\n <app-cs-radio [name]=\"question?.name\">\r\n <span class=\"radio-value vx-fs-14 vx-paragraph-txt vx-fw-400 vx-lh-5\" [appTooltip]=\"choice?.title\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\"> {{choice?.title ? choice?.title: 'Option' }}</span>\r\n </app-cs-radio>\r\n </li>\r\n <li *ngIf=\"question?.hasOther\" class=\"vx-mt-5\">\r\n <app-cs-radio [name]=\"question?.name\">\r\n <span class=\"radio-value vx-fs-14 vx-paragraph-txt vx-fw-400 vx-lh-5\" [appTooltip]=\"question.otherValue\" placement=\"bottom-left\" delay=\"0\" type=\"black\" [tooltipMandatory]=\"false\">{{question.otherValue}}</span>\r\n </app-cs-radio>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"question-quick-settings\">\r\n <app-quick-settings [question]=\"question\"></app-quick-settings>\r\n </div>\r\n</div>\r\n",
|
|
21
|
+
styles: ["@import url(\"https://cdn.v-comply.com/design-system/css/icons/icons.css\");@import url(\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.css\");@import url(\"https://cdn.v-comply.com/design-system/css/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/display/display.css\");@import url(\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\");@import url(\"https://cdn.v-comply.com/design-system/css/width/width.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\");::ng-deep .question-block{position:relative;margin-bottom:3rem}::ng-deep .question-head{padding-right:4rem}::ng-deep .question-head .count{min-width:1.5rem}::ng-deep .question-head .heading .required{position:relative;top:-.25rem}::ng-deep .question-details{padding-right:4rem;padding-left:2.5rem}::ng-deep .question-options{margin-left:2.5rem;margin-top:1.875rem}::ng-deep .question-options ul{list-style-type:none}::ng-deep .question-options ul li app-cs-radio .radio-item{width:100%!important}::ng-deep .question-options ul li app-cs-radio .radio-item .radio,::ng-deep .question-options ul li app-cs-radio .radio-item .radiomark{min-width:1.375rem!important;width:1.375rem!important;height:1.375rem!important}::ng-deep .question-options ul li app-cs-radio .radio-item .value{width:100%!important}::ng-deep .question-options ul li app-cs-radio .radio-item .value .radio-value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:90%}::ng-deep .question-quick-settings{position:absolute;top:-.25rem;right:-2.25rem}"]
|
|
22
|
+
},] }
|
|
23
|
+
];
|
|
24
|
+
RadioQuestionComponent.ctorParameters = () => [];
|
|
25
|
+
RadioQuestionComponent.propDecorators = {
|
|
26
|
+
question: [{ type: Input }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by the Angular template compiler. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
|
|
5
|
+
* tslint:disable
|
|
6
|
+
*/
|
|
7
|
+
import * as i0 from "./radio-question.component.less.shim.ngstyle";
|
|
8
|
+
import * as i1 from "@angular/core";
|
|
9
|
+
import * as i2 from "../../../formgroup/cs-radio/cs-radio.component.ngfactory";
|
|
10
|
+
import * as i3 from "../../../formgroup/cs-radio/cs-radio.component";
|
|
11
|
+
import * as i4 from "../../../ui-kit/tooltip/tooltip.directive";
|
|
12
|
+
import * as i5 from "@angular/common";
|
|
13
|
+
import * as i6 from "../quick-settings/quick-settings.component.ngfactory";
|
|
14
|
+
import * as i7 from "../quick-settings/quick-settings.component";
|
|
15
|
+
import * as i8 from "./radio-question.component";
|
|
16
|
+
var styles_RadioQuestionComponent = [i0.styles];
|
|
17
|
+
var RenderType_RadioQuestionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_RadioQuestionComponent, data: {} });
|
|
18
|
+
export { RenderType_RadioQuestionComponent as RenderType_RadioQuestionComponent };
|
|
19
|
+
function View_RadioQuestionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "span", [["class", "required vx-fw-400 vx-txt-red vx-fs-24 vx-ml-2"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["*"]))], null, null); }
|
|
20
|
+
function View_RadioQuestionComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, "li", [["class", "vx-mt-5"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, "app-cs-radio", [], null, null, null, i2.View_CsRadioComponent_0, i2.RenderType_CsRadioComponent)), i1.ɵdid(2, 114688, null, 0, i3.CsRadioComponent, [], { name: [0, "name"] }, null), (_l()(), i1.ɵeld(3, 0, null, 0, 2, "span", [["class", "radio-value vx-fs-14 vx-paragraph-txt vx-fw-400 vx-lh-5"], ["delay", "0"], ["placement", "bottom-left"], ["type", "black"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
21
|
+
var pd_0 = (i1.ɵnov(_v, 4).onMouseEnter() !== false);
|
|
22
|
+
ad = (pd_0 && ad);
|
|
23
|
+
} if (("mouseover" === en)) {
|
|
24
|
+
var pd_1 = (i1.ɵnov(_v, 4).onMouseOver() !== false);
|
|
25
|
+
ad = (pd_1 && ad);
|
|
26
|
+
} if (("mouseleave" === en)) {
|
|
27
|
+
var pd_2 = (i1.ɵnov(_v, 4).onMouseLeave() !== false);
|
|
28
|
+
ad = (pd_2 && ad);
|
|
29
|
+
} if (("mouseout" === en)) {
|
|
30
|
+
var pd_3 = (i1.ɵnov(_v, 4).onMouseOut() !== false);
|
|
31
|
+
ad = (pd_3 && ad);
|
|
32
|
+
} if (("click" === en)) {
|
|
33
|
+
var pd_4 = (i1.ɵnov(_v, 4).onClick() !== false);
|
|
34
|
+
ad = (pd_4 && ad);
|
|
35
|
+
} return ad; }, null, null)), i1.ɵdid(4, 81920, null, 0, i4.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null), (_l()(), i1.ɵted(5, null, [" ", ""]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.question == null) ? null : _co.question.name); _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_v.context.$implicit == null) ? null : _v.context.$implicit.title); var currVal_2 = "bottom-left"; var currVal_3 = "black"; var currVal_4 = false; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4); }, function (_ck, _v) { var currVal_5 = (((_v.context.$implicit == null) ? null : _v.context.$implicit.title) ? ((_v.context.$implicit == null) ? null : _v.context.$implicit.title) : "Option"); _ck(_v, 5, 0, currVal_5); }); }
|
|
36
|
+
function View_RadioQuestionComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, "li", [["class", "vx-mt-5"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, "app-cs-radio", [], null, null, null, i2.View_CsRadioComponent_0, i2.RenderType_CsRadioComponent)), i1.ɵdid(2, 114688, null, 0, i3.CsRadioComponent, [], { name: [0, "name"] }, null), (_l()(), i1.ɵeld(3, 0, null, 0, 2, "span", [["class", "radio-value vx-fs-14 vx-paragraph-txt vx-fw-400 vx-lh-5"], ["delay", "0"], ["placement", "bottom-left"], ["type", "black"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
37
|
+
var pd_0 = (i1.ɵnov(_v, 4).onMouseEnter() !== false);
|
|
38
|
+
ad = (pd_0 && ad);
|
|
39
|
+
} if (("mouseover" === en)) {
|
|
40
|
+
var pd_1 = (i1.ɵnov(_v, 4).onMouseOver() !== false);
|
|
41
|
+
ad = (pd_1 && ad);
|
|
42
|
+
} if (("mouseleave" === en)) {
|
|
43
|
+
var pd_2 = (i1.ɵnov(_v, 4).onMouseLeave() !== false);
|
|
44
|
+
ad = (pd_2 && ad);
|
|
45
|
+
} if (("mouseout" === en)) {
|
|
46
|
+
var pd_3 = (i1.ɵnov(_v, 4).onMouseOut() !== false);
|
|
47
|
+
ad = (pd_3 && ad);
|
|
48
|
+
} if (("click" === en)) {
|
|
49
|
+
var pd_4 = (i1.ɵnov(_v, 4).onClick() !== false);
|
|
50
|
+
ad = (pd_4 && ad);
|
|
51
|
+
} return ad; }, null, null)), i1.ɵdid(4, 81920, null, 0, i4.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null), (_l()(), i1.ɵted(5, null, ["", ""]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.question == null) ? null : _co.question.name); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.question.otherValue; var currVal_2 = "bottom-left"; var currVal_3 = "black"; var currVal_4 = false; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_5 = _co.question.otherValue; _ck(_v, 5, 0, currVal_5); }); }
|
|
52
|
+
export function View_RadioQuestionComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 17, "div", [["class", "question-block"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, "div", [["class", "question-head vx-d-flex vx-mb-4"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, "span", [["class", "count vx-paragraph-txt vx-fs-20 vx-fw-400"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, ["", "."])), (_l()(), i1.ɵeld(4, 0, null, null, 3, "span", [["class", "heading vx-pl-3"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 0, "span", [["class", "vx-fw-300 vx-label-txt vx-fs-20"]], [[8, "innerHTML", 1]], null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RadioQuestionComponent_1)), i1.ɵdid(7, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 0, "div", [["class", "question-details vx-fs-13 vx-paragraph-txt"]], [[8, "innerHTML", 1]], null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 5, "div", [["class", "question-options"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 4, "ul", [["class", "vx-p-0 vx-m-0"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RadioQuestionComponent_2)), i1.ɵdid(12, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RadioQuestionComponent_3)), i1.ɵdid(14, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 2, "div", [["class", "question-quick-settings"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, "app-quick-settings", [], null, null, null, i6.View_QuickSettingsComponent_0, i6.RenderType_QuickSettingsComponent)), i1.ɵdid(17, 114688, null, 0, i7.QuickSettingsComponent, [], { question: [0, "question"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = ((_co.question == null) ? null : _co.question.isRequired); _ck(_v, 7, 0, currVal_2); var currVal_4 = _co.choicesForPreviewMode; _ck(_v, 12, 0, currVal_4); var currVal_5 = ((_co.question == null) ? null : _co.question.hasOther); _ck(_v, 14, 0, currVal_5); var currVal_6 = _co.question; _ck(_v, 17, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.questionIndex; _ck(_v, 3, 0, currVal_0); var currVal_1 = ((((_co.question == null) ? null : _co.question.title) == "") ? "Question" : ((_co.question == null) ? null : _co.question.title)); _ck(_v, 5, 0, currVal_1); var currVal_3 = ((_co.question == null) ? null : _co.question.description); _ck(_v, 8, 0, currVal_3); }); }
|
|
53
|
+
export function View_RadioQuestionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-radio-question", [], null, null, null, View_RadioQuestionComponent_0, RenderType_RadioQuestionComponent)), i1.ɵdid(1, 114688, null, 0, i8.RadioQuestionComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
|
|
54
|
+
var RadioQuestionComponentNgFactory = i1.ɵccf("app-radio-question", i8.RadioQuestionComponent, View_RadioQuestionComponent_Host_0, { question: "question", questionIndex: "questionIndex" }, {}, []);
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R0aW5ncz5cclxuICAgIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"question":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"questionIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"randomize":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0]},"isComponent":true,"selector":"app-radio-question","exportAs":null,"inputs":{"question":"question","questionIndex":"questionIndex"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":0,"styles":[],"animations":[]},"componentViewType":{"__symbol":2,"members":[]},"rendererType":{"__symbol":3,"members":[]},"componentFactory":{"__symbol":4,"members":[]}}}],"symbols":[{"__symbol":0,"name":"RadioQuestionComponent","filePath":"./radio-question.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"View_RadioQuestionComponent_0","filePath":"./radio-question.component.ngfactory"},{"__symbol":3,"name":"RenderType_RadioQuestionComponent","filePath":"./radio-question.component.ngfactory"},{"__symbol":4,"name":"RadioQuestionComponentNgFactory","filePath":"./radio-question.component.ngfactory"}]}
|
package/esm2015/lib/sharedComponents/assessment-preview/select-question/select-question.component.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { shuffle } from 'lodash';
|
|
3
|
+
export class SelectQuestionComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.choicesForPreviewMode = [];
|
|
6
|
+
}
|
|
7
|
+
ngOnInit() {
|
|
8
|
+
this.choicesForPreviewMode = [...this.question.choices];
|
|
9
|
+
if (this.question.randomize === true) {
|
|
10
|
+
this.randomize();
|
|
11
|
+
}
|
|
12
|
+
if (this.question.hasOther === true && this.choicesForPreviewMode.findIndex((x) => x.title === "Other") < 0) {
|
|
13
|
+
this.choicesForPreviewMode.push({ title: 'Other' });
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
randomize() {
|
|
17
|
+
this.choicesForPreviewMode = shuffle(this.choicesForPreviewMode);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
SelectQuestionComponent.decorators = [
|
|
21
|
+
{ type: Component, args: [{
|
|
22
|
+
selector: 'app-select-question',
|
|
23
|
+
template: "<div class=\"question-block\">\r\n <div class=\"question-head vx-d-flex vx-mb-4\">\r\n <span class=\"count vx-paragraph-txt vx-fs-20 vx-fw-400\">{{questionIndex}}.</span>\r\n <span class=\"heading vx-pl-3\">\r\n <span class=\"vx-fw-300 vx-label-txt vx-fs-20\" [innerHTML]=\"question?.title=='' ? 'Question' : question?.title\">{{question?.title}}</span>\r\n <span class=\"required vx-fw-400 vx-txt-red vx-fs-24 vx-ml-2\">*</span>\r\n </span>\r\n </div>\r\n <div class=\"question-details vx-fs-13 vx-paragraph-txt\" *ngIf=\"question?.hasDescription && question?.description.trim().length > 0 \" [innerHTML]=\"question?.description\">In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before the final copy is available.</div>\r\n <div class=\"question-options\">\r\n <div class=\"options-area\">\r\n <app-cs-select [dataList]='choicesForPreviewMode' [valueKey]=\"'title'\" [displayProperty]=\"'title'\" [selectedValue]=\"'Select an option'\"></app-cs-select>\r\n </div>\r\n </div>\r\n <div class=\"question-quick-settings\">\r\n <app-quick-settings [question]=\"question\"></app-quick-settings>\r\n </div>\r\n</div>",
|
|
24
|
+
styles: ["@import url(\"https://cdn.v-comply.com/design-system/css/icons/icons.css\");@import url(\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.css\");@import url(\"https://cdn.v-comply.com/design-system/css/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/display/display.css\");@import url(\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\");@import url(\"https://cdn.v-comply.com/design-system/css/width/width.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\");::ng-deep .question-block{position:relative;margin-bottom:3rem}::ng-deep .question-head{padding-right:4rem}::ng-deep .question-head .count{min-width:1.5rem}::ng-deep .question-head .heading .required{position:relative;top:-.25rem}::ng-deep .question-details{padding-right:4rem;padding-left:2.5rem}::ng-deep .question-options{margin-left:2.5rem;margin-top:1.875rem}::ng-deep .question-options .options-area{width:70%}::ng-deep .question-options .options-area app-cs-select .input-group .custom-select-box .arrow{top:.5rem!important;right:0!important}::ng-deep .question-quick-settings{position:absolute;top:-.25rem;right:-2.25rem}"]
|
|
25
|
+
},] }
|
|
26
|
+
];
|
|
27
|
+
SelectQuestionComponent.ctorParameters = () => [];
|
|
28
|
+
SelectQuestionComponent.propDecorators = {
|
|
29
|
+
question: [{ type: Input }],
|
|
30
|
+
questionIndex: [{ type: Input }]
|
|
31
|
+
};
|
|
32
|
+
//# sourceMapp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yYW5kb21pemUgPT09IHRydWUpIHtcclxuICAgICAgdGhpcy5yYW5kb21pemUoKTtcclxuICAgIH1cclxuICAgIGlmICh0aGlzLnF1ZXN0aW9uLmhhc090aGVyID09PSB0cnVlICYmICB0aGlzLmNob2ljZXNGb3JQcmV2aWV3TW9kZS5maW5kSW5kZXgoKHg6YW55KSA9PiB4LnRpdGxlID09PSBcIk90aGVyXCIpIDwgMCl7XHJcbiAgICAgIHRoaXMuY2hvaWNlc0ZvclByZXZpZXdNb2RlLnB1c2goe3RpdGxlOidPdGhlcid9KVxyXG4gICAgfVxyXG4gIH1cclxuIFxyXG5cclxuICByYW5kb21pemUoKSB7XHJcbiAgICB0aGlzLmNob2ljZXNGb3JQcmV2aWV3TW9kZSA9IHNodWZmbGUodGhpcy5jaG9pY2VzRm9yUHJldmlld01vZGUpO1xyXG4gIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
|
|
5
|
+
* tslint:disable
|
|
6
|
+
*/
|
|
7
|
+
import * as i0 from "./select-question.component.less.shim.ngstyle";
|
|
8
|
+
import * as i1 from "@angular/core";
|
|
9
|
+
import * as i2 from "@angular/common";
|
|
10
|
+
import * as i3 from "../../../formgroup/cs-select/cs-select.component.ngfactory";
|
|
11
|
+
import * as i4 from "../../../formgroup/cs-select/cs-select.component";
|
|
12
|
+
import * as i5 from "../quick-settings/quick-settings.component.ngfactory";
|
|
13
|
+
import * as i6 from "../quick-settings/quick-settings.component";
|
|
14
|
+
import * as i7 from "./select-question.component";
|
|
15
|
+
var styles_SelectQuestionComponent = [i0.styles];
|
|
16
|
+
var RenderType_SelectQuestionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_SelectQuestionComponent, data: {} });
|
|
17
|
+
export { RenderType_SelectQuestionComponent as RenderType_SelectQuestionComponent };
|
|
18
|
+
function View_SelectQuestionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "div", [["class", "question-details vx-fs-13 vx-paragraph-txt"]], [[8, "innerHTML", 1]], null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before the final copy is available."]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.question == null) ? null : _co.question.description); _ck(_v, 0, 0, currVal_0); }); }
|
|
19
|
+
export function View_SelectQuestionComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 17, "div", [["class", "question-block"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, "div", [["class", "question-head vx-d-flex vx-mb-4"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, "span", [["class", "count vx-paragraph-txt vx-fs-20 vx-fw-400"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, ["", "."])), (_l()(), i1.ɵeld(4, 0, null, null, 4, "span", [["class", "heading vx-pl-3"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, "span", [["class", "vx-fw-300 vx-label-txt vx-fs-20"]], [[8, "innerHTML", 1]], null, null, null, null)), (_l()(), i1.ɵted(6, null, ["", ""])), (_l()(), i1.ɵeld(7, 0, null, null, 1, "span", [["class", "required vx-fw-400 vx-txt-red vx-fs-24 vx-ml-2"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["*"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SelectQuestionComponent_1)), i1.ɵdid(10, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 3, "div", [["class", "question-options"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, "div", [["class", "options-area"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, "app-cs-select", [], null, null, null, i3.View_CsSelectComponent_0, i3.RenderType_CsSelectComponent)), i1.ɵdid(14, 114688, null, 0, i4.CsSelectComponent, [], { dataList: [0, "dataList"], displayProperty: [1, "displayProperty"], selectedValue: [2, "selectedValue"], valueKey: [3, "valueKey"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 2, "div", [["class", "question-quick-settings"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, "app-quick-settings", [], null, null, null, i5.View_QuickSettingsComponent_0, i5.RenderType_QuickSettingsComponent)), i1.ɵdid(17, 114688, null, 0, i6.QuickSettingsComponent, [], { question: [0, "question"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_3 = (((_co.question == null) ? null : _co.question.hasDescription) && (((_co.question == null) ? null : _co.question.description.trim().length) > 0)); _ck(_v, 10, 0, currVal_3); var currVal_4 = _co.choicesForPreviewMode; var currVal_5 = "title"; var currVal_6 = "Select an option"; var currVal_7 = "title"; _ck(_v, 14, 0, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_8 = _co.question; _ck(_v, 17, 0, currVal_8); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.questionIndex; _ck(_v, 3, 0, currVal_0); var currVal_1 = ((((_co.question == null) ? null : _co.question.title) == "") ? "Question" : ((_co.question == null) ? null : _co.question.title)); _ck(_v, 5, 0, currVal_1); var currVal_2 = ((_co.question == null) ? null : _co.question.title); _ck(_v, 6, 0, currVal_2); }); }
|
|
20
|
+
export function View_SelectQuestionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-select-question", [], null, null, null, View_SelectQuestionComponent_0, RenderType_SelectQuestionComponent)), i1.ɵdid(1, 114688, null, 0, i7.SelectQuestionComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
|
|
21
|
+
var SelectQuestionComponentNgFactory = i1.ɵccf("app-select-question", i7.SelectQuestionComponent, View_SelectQuestionComponent_Host_0, { question: "question", questionIndex: "questionIndex" }, {}, []);
|
|
22
|
+
export { SelectQuestionComponentNgFactory as SelectQuestionComponentNgFactory };
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LXF1ZXN0aW9uLmNvbXBvbmVudC5uZ2ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9zaGFyZWRDb21wb25lbnRzL2Fzc2Vzc21lbnQtcHJldmlldy9zZWxlY3QtcXVlc3Rpb24vc2VsZWN0LXF1ZXN0aW9uLmNvbXBvbmVudC5uZ2ZhY3RvcnkudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9zaGFyZWRDb21wb25lbnRzL2Fzc2Vzc21lbnQtcHJldmlldy9zZWxlY3QtcXVlc3Rpb24vc2VsZWN0LXF1ZXN0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7O2tFQ1FJLG9KQUFnYixLQUF0USw2UkFBZ1EseURBQXBTLG9EQUFtQyx3QkFBekssWUFBZ2IsRUFBMVMsU0FBbUM7eUVBUjdLLHdHQWlCTSxLQWhCRix3SEFNTSxLQUxGLG1JQUFpRixLQUF6QixpQ0FBa0IsTUFDMUUseUdBR08sS0FGSCwwSUFBeUksS0FBMUIsZ0NBQW1CLE1BQ2xJLHdJQUFxRSxLQUFSLDhCQUFDLE1BR3RFLHdMQUFnYixJQUNoYiwwR0FJTSxLQUhGLHNHQUVNLEtBREYsZ1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uICAgIDxkaXYgY2xhc3M9XCJxdWVzdGlvbi1xdWljay1zZXR0aW5nc1wiPlxyXG4gICAgICAgIDxhcHAtcXVpY2stc2V0dGluZ3MgW3F1ZXN0aW9uXT1cInF1ZXN0aW9uXCI+PC9hcHAtcXVpY2stc2V0dGluZ3M+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+Il19
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"question":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"questionIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"randomize":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0]},"isComponent":true,"selector":"app-select-question","exportAs":null,"inputs":{"question":"question","questionIndex":"questionIndex"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":0,"styles":[],"animations":[]},"componentViewType":{"__symbol":2,"members":[]},"rendererType":{"__symbol":3,"members":[]},"componentFactory":{"__symbol":4,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SelectQuestionComponent","filePath":"./select-question.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"View_SelectQuestionComponent_0","filePath":"./select-question.component.ngfactory"},{"__symbol":3,"name":"RenderType_SelectQuestionComponent","filePath":"./select-question.component.ngfactory"},{"__symbol":4,"name":"SelectQuestionComponentNgFactory","filePath":"./select-question.component.ngfactory"}]}
|
package/esm2015/lib/sharedComponents/assessment-preview/single-textbox/single-textbox.component.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
export class SingleTextboxComponent {
|
|
3
|
+
constructor() { }
|
|
4
|
+
ngOnInit() {
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
SingleTextboxComponent.decorators = [
|
|
8
|
+
{ type: Component, args: [{
|
|
9
|
+
selector: 'app-single-textbox',
|
|
10
|
+
template: "<div class=\"question-block\">\r\n <div class=\"question-head vx-d-flex vx-mb-4\">\r\n <span class=\"count vx-paragraph-txt vx-fs-20 vx-fw-400\">{{questionIndex}}.</span>\r\n <span class=\"heading vx-pl-3\">\r\n <span class=\"vx-fw-300 vx-label-txt vx-fs-20\" [innerHTML]=\"question?.title=='' ? 'Question' : question?.title\"></span>\r\n <span class=\"required vx-fw-400 vx-txt-red vx-fs-24 vx-ml-2\">*</span>\r\n </span>\r\n </div>\r\n <div class=\"question-details vx-fs-13 vx-paragraph-txt\" *ngIf=\"question?.hasDescription && question?.description?.trim().length > 0 \" [innerHTML]=\"question?.description\"></div>\r\n <div class=\"question-options\">\r\n <input class=\"single-textbox vx-bg-white vx-fs-14 vx-lh-24 vx-paragraph-txt\" type=\"text\" [placeholder]=\"(question?.isPlaceholder === true && question?.placeholder?.trim().length > 0) ? question?.placeholder.trim() : 'Please enter a response'\">\r\n </div>\r\n <div class=\"question-quick-settings\">\r\n <app-quick-settings [question]=\"question\"></app-quick-settings>\r\n </div>\r\n</div>",
|
|
11
|
+
styles: ["@import url(\"https://cdn.v-comply.com/design-system/css/icons/icons.css\");@import url(\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.css\");@import url(\"https://cdn.v-comply.com/design-system/css/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/display/display.css\");@import url(\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\");@import url(\"https://cdn.v-comply.com/design-system/css/width/width.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\");@import url(\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\");::ng-deep .question-block{position:relative;margin-bottom:3rem}::ng-deep .question-head{padding-right:4rem}::ng-deep .question-head .count{min-width:1.5rem}::ng-deep .question-head .heading .required{position:relative;top:-.25rem}::ng-deep .question-details{padding-right:4rem;padding-left:2.5rem}::ng-deep .question-options{margin-left:2.5rem;margin-top:1.875rem}::ng-deep .question-options .single-textbox{border:1px solid #dbdbdb;border-radius:.25rem;color:#747576;font-size:13px;height:2.5rem;padding:.5rem .75rem;width:37.5rem;outline:none;transition:all .2s ease-in-out}::ng-deep .question-options .single-textbox:focus,::ng-deep .question-options .single-textbox:hover{border:1px solid #1e5dd3;box-shadow:0 0 5px rgba(30,93,211,.27)}::ng-deep .question-quick-settings{position:absolute;top:-.25rem;right:-2.25rem}"]
|
|
12
|
+
},] }
|
|
13
|
+
];
|
|
14
|
+
SingleTextboxComponent.ctorParameters = () => [];
|
|
15
|
+
SingleTextboxComponent.propDecorators = {
|
|
16
|
+
question: [{ type: Input }],
|
|
17
|
+
questionIndex: [{ type: Input }]
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2luZ2xlLXRleHRib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvam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