vcomply-workflow-engine 0.2.2 → 1.0.2
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 +6561 -171
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +18 -25
- 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 +1 -1
- package/esm2015/lib/log-an-issue/log-an-issue.component.js +1 -1
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-logic/add-logic.component.js +333 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-logic/add-logic.component.ngfactory.js +160 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-logic/add-logic.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.js +73 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.ngfactory.js +39 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-response-set-popup/add-response-set-popup.component.js +27 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-response-set-popup/add-response-set-popup.component.ngfactory.js +153 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-response-set-popup/add-response-set-popup.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.js +116 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.ngfactory.js +116 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/assessment-settings/assessment-settings.component.js +165 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/assessment-settings/assessment-settings.component.ngfactory.js +85 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/assessment-settings/assessment-settings.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/build.module.js +71 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/build.module.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/build.module.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/checkbox/checkbox.component.js +35 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/checkbox/checkbox.component.ngfactory.js +89 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/checkbox/checkbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/choice-settings-panel/choice-settings-panel.component.js +66 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/choice-settings-panel/choice-settings-panel.component.ngfactory.js +72 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/choice-settings-panel/choice-settings-panel.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/date-time/date-time.component.js +18 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/date-time/date-time.component.ngfactory.js +51 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/date-time/date-time.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/dropdown/dropdown.component.js +35 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/dropdown/dropdown.component.ngfactory.js +104 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/dropdown/dropdown.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.ngfactory.js +20 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/matrix-dropdown/matrix-dropdown.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/matrix-dropdown/matrix-dropdown.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/matrix-dropdown/matrix-dropdown.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/matrix-rating-scale/matrix-rating-scale.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/matrix-rating-scale/matrix-rating-scale.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/matrix-rating-scale/matrix-rating-scale.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/multiple-choice/multiple-choice.component.js +35 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/multiple-choice/multiple-choice.component.ngfactory.js +104 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/multiple-choice/multiple-choice.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/multiple-textbox/multiple-textbox.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/multiple-textbox/multiple-textbox.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/multiple-textbox/multiple-textbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/ranking/ranking.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/ranking/ranking.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/ranking/ranking.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/slider/slider.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/slider/slider.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/slider/slider.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/star-rating/star-rating.component.js +26 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/star-rating/star-rating.component.ngfactory.js +60 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/star-rating/star-rating.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/weightage-selector/weightage-selector.component.js +55 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/weightage-selector/weightage-selector.component.ngfactory.js +51 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/weightage-selector/weightage-selector.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/editor-wrapper/editor-wrapper.component.js +152 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/editor-wrapper/editor-wrapper.component.ngfactory.js +205 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/editor-wrapper/editor-wrapper.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/errorInterface/error.js +2 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/errorInterface/error.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/errorInterface/question.js +2 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/errorInterface/question.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/errorInterface/validateStructure.js +2 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/errorInterface/validateStructure.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic/logic.component.js +100 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic/logic.component.ngfactory.js +119 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic/logic.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-checkbox/logic-checkbox.component.js +24 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-checkbox/logic-checkbox.component.ngfactory.js +59 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-checkbox/logic-checkbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-comment-box/logic-comment-box.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-comment-box/logic-comment-box.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-comment-box/logic-comment-box.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-date-time/logic-date-time.component.js +37 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-date-time/logic-date-time.component.ngfactory.js +105 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-date-time/logic-date-time.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-dropdown/logic-dropdown.component.js +31 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-dropdown/logic-dropdown.component.ngfactory.js +22 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-dropdown/logic-dropdown.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.ngfactory.js +37 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-choice/logic-multiple-choice.component.js +24 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-choice/logic-multiple-choice.component.ngfactory.js +59 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-choice/logic-multiple-choice.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-textbox/logic-multiple-textbox.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-textbox/logic-multiple-textbox.component.ngfactory.js +35 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-textbox/logic-multiple-textbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-questions.module.js +64 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-questions.module.ngfactory.js +21 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-questions.module.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-ranking/logic-ranking.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-ranking/logic-ranking.component.ngfactory.js +36 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-ranking/logic-ranking.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-single-textbox/logic-single-textbox.component.js +24 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-single-textbox/logic-single-textbox.component.ngfactory.js +36 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-single-textbox/logic-single-textbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-slider/logic-slider.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-slider/logic-slider.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-slider/logic-slider.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-star-rating/logic-star-rating.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-star-rating/logic-star-rating.component.ngfactory.js +40 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/logic-questions/logic-star-rating/logic-star-rating.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/move/move.component.js +95 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/move/move.component.ngfactory.js +102 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/move/move.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/page-header/page-header.component.js +22 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/page-header/page-header.component.ngfactory.js +23 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/page-header/page-header.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/current-page-question.pipe.js +18 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/current-page-question.pipe.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/error-message.pipe.js +23 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/error-message.pipe.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/formatter.pipe.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/formatter.pipe.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/question-filter.pipe.js +13 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/question-filter.pipe.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/question-page-filter.pipe.js +12 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/question-page-filter.pipe.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/question-parser.pipe.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/question-parser.pipe.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/type-of.pipe.js +12 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/pipes/type-of.pipe.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-checkbox/preview-checkbox.component.js +28 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-checkbox/preview-checkbox.component.ngfactory.js +22 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-checkbox/preview-checkbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-comment-box/preview-comment-box.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-comment-box/preview-comment-box.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-comment-box/preview-comment-box.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-date-time/preview-date-time.component.js +31 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-date-time/preview-date-time.component.ngfactory.js +81 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-date-time/preview-date-time.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-dropdown/preview-dropdown.component.js +31 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-dropdown/preview-dropdown.component.ngfactory.js +19 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-dropdown/preview-dropdown.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-file-upload/preview-file-upload.component.js +23 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-file-upload/preview-file-upload.component.ngfactory.js +20 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-file-upload/preview-file-upload.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-image-choice/preview-image-choice.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-image-choice/preview-image-choice.component.ngfactory.js +37 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-image-choice/preview-image-choice.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-dropdown/preview-matrix-dropdown.component.js +24 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-dropdown/preview-matrix-dropdown.component.ngfactory.js +60 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-dropdown/preview-matrix-dropdown.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-rating-scale/preview-matrix-rating-scale.component.js +24 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-rating-scale/preview-matrix-rating-scale.component.ngfactory.js +60 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-rating-scale/preview-matrix-rating-scale.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-choice/preview-multiple-choice.component.js +28 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-choice/preview-multiple-choice.component.ngfactory.js +22 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-choice/preview-multiple-choice.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-textbox/preview-multiple-textbox.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-textbox/preview-multiple-textbox.component.ngfactory.js +35 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-textbox/preview-multiple-textbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-ranking/preview-ranking.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-ranking/preview-ranking.component.ngfactory.js +36 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-ranking/preview-ranking.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-single-textbox/preview-single-textbox.component.js +18 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-single-textbox/preview-single-textbox.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-single-textbox/preview-single-textbox.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-slider/preview-slider.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-slider/preview-slider.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-slider/preview-slider.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-star-rating/preview-star-rating.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-star-rating/preview-star-rating.component.ngfactory.js +40 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-star-rating/preview-star-rating.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-wrapper/preview-wrapper.component.js +67 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-wrapper/preview-wrapper.component.ngfactory.js +90 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview-wrapper/preview-wrapper.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.js +90 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngfactory.js +29 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.js +15 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.ngfactory.js +17 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/question-type/question-type.component.js +20 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/question-type/question-type.component.ngfactory.js +76 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/question-type/question-type.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/quick-settings/quick-settings.component.js +248 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/quick-settings/quick-settings.component.ngfactory.js +109 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/quick-settings/quick-settings.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/response-selector/response-selector.component.js +35 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/response-selector/response-selector.component.ngfactory.js +95 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/response-selector/response-selector.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/setting-anonymous/setting-anonymous.component.js +56 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/setting-anonymous/setting-anonymous.component.ngfactory.js +108 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/setting-anonymous/setting-anonymous.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.js +153 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.ngfactory.js +130 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/single-line-editor/single-line-editor.component.js +123 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/single-line-editor/single-line-editor.component.ngfactory.js +47 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/single-line-editor/single-line-editor.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/toolkit/toolkit.component.js +24 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/toolkit/toolkit.component.ngfactory.js +97 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/toolkit/toolkit.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.js +50 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.ngfactory.js +47 -0
- package/esm2015/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment-container/create-assessment-container.component.js +424 -0
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment-container/create-assessment-container.component.ngfactory.js +222 -0
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment-container/create-assessment-container.component.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.js +86 -0
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngfactory.js +37 -0
- package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/services/editor.service.js +636 -0
- package/esm2015/lib/sharedComponents/assessment-editor/services/editor.service.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/services/result-criteria.service.js +48 -0
- package/esm2015/lib/sharedComponents/assessment-editor/services/result-criteria.service.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/assessment-editor/services/validator.service.js +543 -0
- package/esm2015/lib/sharedComponents/assessment-editor/services/validator.service.ngsummary.json +1 -0
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.js +2 -2
- package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngfactory.js +29 -363
- package/esm2015/lib/sharedComponents/format-and-evidence/format-and-evidence.component.js +1 -1
- package/esm2015/lib/sharedComponents/risk-classification/risk-classification.component.js +1 -1
- package/esm2015/lib/ui-kit/action-dialog/action-dialog.module.js +16 -0
- package/esm2015/lib/ui-kit/action-dialog/action-dialog.module.ngfactory.js +12 -0
- package/esm2015/lib/ui-kit/action-dialog/action-dialog.module.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/action-dialog/active/active.component.js +36 -0
- package/esm2015/lib/ui-kit/action-dialog/active/active.component.ngfactory.js +25 -0
- package/esm2015/lib/ui-kit/action-dialog/active/active.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/action-dialog/deactivate/deactivate.component.js +38 -0
- package/esm2015/lib/ui-kit/action-dialog/deactivate/deactivate.component.ngfactory.js +25 -0
- package/esm2015/lib/ui-kit/action-dialog/deactivate/deactivate.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/action-dialog/delete/delete.component.js +30 -0
- package/esm2015/lib/ui-kit/action-dialog/delete/delete.component.ngfactory.js +25 -0
- package/esm2015/lib/ui-kit/action-dialog/delete/delete.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/action-dialog/duplicate/duplicate.component.js +32 -0
- package/esm2015/lib/ui-kit/action-dialog/duplicate/duplicate.component.ngfactory.js +25 -0
- package/esm2015/lib/ui-kit/action-dialog/duplicate/duplicate.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/dialog/dialog-config.js +3 -0
- package/esm2015/lib/ui-kit/dialog/dialog-config.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/dialog/dialog-injector.js +15 -0
- package/esm2015/lib/ui-kit/dialog/dialog-injector.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/dialog/dialog-ref.js +11 -0
- package/esm2015/lib/ui-kit/dialog/dialog-ref.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/dialog/dialog.component.js +90 -0
- package/esm2015/lib/ui-kit/dialog/dialog.component.ngfactory.js +29 -0
- package/esm2015/lib/ui-kit/dialog/dialog.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/dialog/dialog.module.js +16 -0
- package/esm2015/lib/ui-kit/dialog/dialog.module.ngfactory.js +14 -0
- package/esm2015/lib/ui-kit/dialog/dialog.module.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/dialog/dialog.service.js +60 -0
- package/esm2015/lib/ui-kit/dialog/dialog.service.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/dialog/insertion.directive.js +15 -0
- package/esm2015/lib/ui-kit/dialog/insertion.directive.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/editor-loader/editor-loader/editor-loader.component.js +15 -0
- package/esm2015/lib/ui-kit/editor-loader/editor-loader/editor-loader.component.ngfactory.js +23 -0
- package/esm2015/lib/ui-kit/editor-loader/editor-loader/editor-loader.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/editor-loader/editor-loader.module.js +17 -0
- package/esm2015/lib/ui-kit/editor-loader/editor-loader.module.ngfactory.js +12 -0
- package/esm2015/lib/ui-kit/editor-loader/editor-loader.module.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/click-outside.directive.js +26 -0
- package/esm2015/lib/ui-kit/formgroup/click-outside.directive.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.js +26 -0
- package/esm2015/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.ngfactory.js +30 -0
- package/esm2015/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.js +30 -0
- package/esm2015/lib/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.ngfactory.js +30 -0
- package/esm2015/lib/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/cs-radio/cs-radio.component.js +27 -0
- package/esm2015/lib/ui-kit/formgroup/cs-radio/cs-radio.component.ngfactory.js +20 -0
- package/esm2015/lib/ui-kit/formgroup/cs-radio/cs-radio.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.js +14 -0
- package/esm2015/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.ngfactory.js +19 -0
- package/esm2015/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/cs-select/cs-select.component.js +80 -0
- package/esm2015/lib/ui-kit/formgroup/cs-select/cs-select.component.ngfactory.js +89 -0
- package/esm2015/lib/ui-kit/formgroup/cs-select/cs-select.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/cs-switch/cs-switch.component.js +29 -0
- package/esm2015/lib/ui-kit/formgroup/cs-switch/cs-switch.component.ngfactory.js +62 -0
- package/esm2015/lib/ui-kit/formgroup/cs-switch/cs-switch.component.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/formgroup.module.js +41 -0
- package/esm2015/lib/ui-kit/formgroup/formgroup.module.ngfactory.js +14 -0
- package/esm2015/lib/ui-kit/formgroup/formgroup.module.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/pipes/pascal.pipe.js +15 -0
- package/esm2015/lib/ui-kit/formgroup/pipes/pascal.pipe.ngsummary.json +1 -0
- package/esm2015/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.js +20 -0
- package/esm2015/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.ngsummary.json +1 -0
- package/esm2015/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.js +557 -0
- package/esm2015/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.ngfactory.js +82 -0
- package/esm2015/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.ngsummary.json +1 -0
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.js +3 -3
- package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngfactory.js +1 -1
- package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +4 -1521
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +20 -8
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +62 -34
- package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
- package/esm2015/lib/workflow-engine.module.js +8 -1
- package/esm2015/lib/workflow-engine.module.ngfactory.js +36 -24
- package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
- package/esm2015/lib/workflow-policy/workflow-policy.component.js +1 -1
- package/esm2015/lib/workflow-risk/workflow-risk.component.js +3 -2
- package/esm2015/lib/workflow-services/add-risk.service.js +2 -1
- package/esm2015/lib/workflow-services/assessment.service.js +47 -1
- package/esm2015/lib/workflow-services/assessment.service.ngsummary.json +1 -1
- package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.js +1 -1
- package/esm2015/vcomply-workflow-engine.js +160 -61
- package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
- package/fesm2015/vcomply-workflow-engine.js +6007 -112
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/lib/sharedComponents/assessment-editor/components/add-logic/add-logic.component.d.ts +117 -0
- package/lib/sharedComponents/assessment-editor/components/add-logic/add-logic.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.d.ts +18 -0
- package/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/add-response-set-popup/add-response-set-popup.component.d.ts +10 -0
- package/lib/sharedComponents/assessment-editor/components/add-response-set-popup/add-response-set-popup.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.d.ts +22 -0
- package/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/assessment-settings/assessment-settings.component.d.ts +47 -0
- package/lib/sharedComponents/assessment-editor/components/assessment-settings/assessment-settings.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/build.module.d.ts +2 -0
- package/lib/sharedComponents/assessment-editor/components/build/build.module.ngfactory.d.ts +3 -0
- package/lib/sharedComponents/assessment-editor/components/build/checkbox/checkbox.component.d.ts +11 -0
- package/lib/sharedComponents/assessment-editor/components/build/checkbox/checkbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/choice-settings-panel/choice-settings-panel.component.d.ts +16 -0
- package/lib/sharedComponents/assessment-editor/components/build/choice-settings-panel/choice-settings-panel.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/date-time/date-time.component.d.ts +6 -0
- package/lib/sharedComponents/assessment-editor/components/build/date-time/date-time.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/dropdown/dropdown.component.d.ts +11 -0
- package/lib/sharedComponents/assessment-editor/components/build/dropdown/dropdown.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/matrix-dropdown/matrix-dropdown.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/build/matrix-dropdown/matrix-dropdown.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/matrix-rating-scale/matrix-rating-scale.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/build/matrix-rating-scale/matrix-rating-scale.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/multiple-choice/multiple-choice.component.d.ts +11 -0
- package/lib/sharedComponents/assessment-editor/components/build/multiple-choice/multiple-choice.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/multiple-textbox/multiple-textbox.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/build/multiple-textbox/multiple-textbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/ranking/ranking.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/build/ranking/ranking.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/slider/slider.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/build/slider/slider.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/star-rating/star-rating.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-editor/components/build/star-rating/star-rating.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/weightage-selector/weightage-selector.component.d.ts +12 -0
- package/lib/sharedComponents/assessment-editor/components/build/weightage-selector/weightage-selector.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/editor-wrapper/editor-wrapper.component.d.ts +56 -0
- package/lib/sharedComponents/assessment-editor/components/editor-wrapper/editor-wrapper.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/errorInterface/error.d.ts +14 -0
- package/lib/sharedComponents/assessment-editor/components/errorInterface/question.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/errorInterface/validateStructure.d.ts +6 -0
- package/lib/sharedComponents/assessment-editor/components/logic/logic.component.d.ts +24 -0
- package/lib/sharedComponents/assessment-editor/components/logic/logic.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-checkbox/logic-checkbox.component.d.ts +8 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-checkbox/logic-checkbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-comment-box/logic-comment-box.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-comment-box/logic-comment-box.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-date-time/logic-date-time.component.d.ts +14 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-date-time/logic-date-time.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-dropdown/logic-dropdown.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-dropdown/logic-dropdown.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-choice/logic-multiple-choice.component.d.ts +8 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-choice/logic-multiple-choice.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-textbox/logic-multiple-textbox.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-multiple-textbox/logic-multiple-textbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-questions.module.d.ts +2 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-questions.module.ngfactory.d.ts +3 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-ranking/logic-ranking.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-ranking/logic-ranking.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-single-textbox/logic-single-textbox.component.d.ts +9 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-single-textbox/logic-single-textbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-slider/logic-slider.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-slider/logic-slider.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-star-rating/logic-star-rating.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-star-rating/logic-star-rating.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/move/move.component.d.ts +22 -0
- package/lib/sharedComponents/assessment-editor/components/move/move.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/page-header/page-header.component.d.ts +8 -0
- package/lib/sharedComponents/assessment-editor/components/page-header/page-header.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/pipes/current-page-question.pipe.d.ts +4 -0
- package/lib/sharedComponents/assessment-editor/components/pipes/error-message.pipe.d.ts +4 -0
- package/lib/sharedComponents/assessment-editor/components/pipes/formatter.pipe.d.ts +4 -0
- package/lib/sharedComponents/assessment-editor/components/pipes/question-filter.pipe.d.ts +4 -0
- package/lib/sharedComponents/assessment-editor/components/pipes/question-page-filter.pipe.d.ts +4 -0
- package/lib/sharedComponents/assessment-editor/components/pipes/question-parser.pipe.d.ts +4 -0
- package/lib/sharedComponents/assessment-editor/components/pipes/type-of.pipe.d.ts +4 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-checkbox/preview-checkbox.component.d.ts +8 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-checkbox/preview-checkbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-comment-box/preview-comment-box.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-comment-box/preview-comment-box.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-date-time/preview-date-time.component.d.ts +11 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-date-time/preview-date-time.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-dropdown/preview-dropdown.component.d.ts +8 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-dropdown/preview-dropdown.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-file-upload/preview-file-upload.component.d.ts +8 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-file-upload/preview-file-upload.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-image-choice/preview-image-choice.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-image-choice/preview-image-choice.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-dropdown/preview-matrix-dropdown.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-dropdown/preview-matrix-dropdown.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-rating-scale/preview-matrix-rating-scale.component.d.ts +7 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-matrix-rating-scale/preview-matrix-rating-scale.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-choice/preview-multiple-choice.component.d.ts +8 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-choice/preview-multiple-choice.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-textbox/preview-multiple-textbox.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-multiple-textbox/preview-multiple-textbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-ranking/preview-ranking.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-ranking/preview-ranking.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-single-textbox/preview-single-textbox.component.d.ts +6 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-single-textbox/preview-single-textbox.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-slider/preview-slider.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-slider/preview-slider.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-star-rating/preview-star-rating.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-star-rating/preview-star-rating.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-wrapper/preview-wrapper.component.d.ts +27 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview-wrapper/preview-wrapper.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview.module.d.ts +2 -0
- package/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngfactory.d.ts +3 -0
- package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.d.ts +5 -0
- package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/question-type/question-type.component.d.ts +6 -0
- package/lib/sharedComponents/assessment-editor/components/question-type/question-type.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/quick-settings/quick-settings.component.d.ts +28 -0
- package/lib/sharedComponents/assessment-editor/components/quick-settings/quick-settings.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/response-selector/response-selector.component.d.ts +11 -0
- package/lib/sharedComponents/assessment-editor/components/response-selector/response-selector.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/setting-anonymous/setting-anonymous.component.d.ts +16 -0
- package/lib/sharedComponents/assessment-editor/components/setting-anonymous/setting-anonymous.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.d.ts +47 -0
- package/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/single-line-editor/single-line-editor.component.d.ts +35 -0
- package/lib/sharedComponents/assessment-editor/components/single-line-editor/single-line-editor.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/toolkit/toolkit.component.d.ts +8 -0
- package/lib/sharedComponents/assessment-editor/components/toolkit/toolkit.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.d.ts +12 -0
- package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/create-assessment-container/create-assessment-container.component.d.ts +64 -0
- package/lib/sharedComponents/assessment-editor/create-assessment-container/create-assessment-container.component.ngfactory.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/create-assessment.module.d.ts +2 -0
- package/lib/sharedComponents/assessment-editor/create-assessment.module.ngfactory.d.ts +3 -0
- package/lib/sharedComponents/assessment-editor/services/editor.service.d.ts +185 -0
- package/lib/sharedComponents/assessment-editor/services/result-criteria.service.d.ts +4 -0
- package/lib/sharedComponents/assessment-editor/services/validator.service.d.ts +31 -0
- package/lib/ui-kit/action-dialog/action-dialog.module.d.ts +2 -0
- package/lib/ui-kit/action-dialog/action-dialog.module.ngfactory.d.ts +3 -0
- package/lib/ui-kit/action-dialog/active/active.component.d.ts +12 -0
- package/lib/ui-kit/action-dialog/active/active.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/action-dialog/deactivate/deactivate.component.d.ts +12 -0
- package/lib/ui-kit/action-dialog/deactivate/deactivate.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/action-dialog/delete/delete.component.d.ts +11 -0
- package/lib/ui-kit/action-dialog/delete/delete.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/action-dialog/duplicate/duplicate.component.d.ts +12 -0
- package/lib/ui-kit/action-dialog/duplicate/duplicate.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/dialog/dialog-config.d.ts +5 -0
- package/lib/ui-kit/dialog/dialog-injector.d.ts +7 -0
- package/lib/ui-kit/dialog/dialog-ref.d.ts +7 -0
- package/lib/ui-kit/dialog/dialog.component.d.ts +29 -0
- package/lib/ui-kit/dialog/dialog.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/dialog/dialog.module.d.ts +2 -0
- package/lib/ui-kit/dialog/dialog.module.ngfactory.d.ts +3 -0
- package/lib/ui-kit/dialog/dialog.service.d.ts +15 -0
- package/lib/ui-kit/dialog/insertion.directive.d.ts +5 -0
- package/lib/ui-kit/editor-loader/editor-loader/editor-loader.component.d.ts +5 -0
- package/lib/ui-kit/editor-loader/editor-loader/editor-loader.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/editor-loader/editor-loader.module.d.ts +2 -0
- package/lib/ui-kit/editor-loader/editor-loader.module.ngfactory.d.ts +3 -0
- package/lib/ui-kit/formgroup/click-outside.directive.d.ts +7 -0
- package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +10 -0
- package/lib/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.d.ts +10 -0
- package/lib/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +12 -0
- package/lib/ui-kit/formgroup/cs-radio/cs-radio.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +5 -0
- package/lib/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/formgroup/cs-select/cs-select.component.d.ts +33 -0
- package/lib/ui-kit/formgroup/cs-select/cs-select.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +12 -0
- package/lib/ui-kit/formgroup/cs-switch/cs-switch.component.ngfactory.d.ts +1 -0
- package/lib/ui-kit/formgroup/formgroup.module.d.ts +2 -0
- package/lib/ui-kit/formgroup/formgroup.module.ngfactory.d.ts +3 -0
- package/lib/ui-kit/formgroup/pipes/pascal.pipe.d.ts +4 -0
- package/lib/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +4 -0
- package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +231 -0
- package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.ngfactory.d.ts +1 -0
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +2 -0
- package/lib/workflow-services/assessment.service.d.ts +10 -1
- package/package.json +1 -1
- package/vcomply-workflow-engine.d.ts +159 -60
- package/vcomply-workflow-engine.metadata.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
export class CheckboxComponent {
|
|
3
|
+
constructor(cdr) {
|
|
4
|
+
this.cdr = cdr;
|
|
5
|
+
this.addOption = new EventEmitter();
|
|
6
|
+
this.deleteOption = new EventEmitter();
|
|
7
|
+
}
|
|
8
|
+
ngOnInit() {
|
|
9
|
+
}
|
|
10
|
+
modifyOption(mode, choiceIndex, type) {
|
|
11
|
+
if (mode === 'ADD') {
|
|
12
|
+
this.addOption.emit({ choiceIndex, type });
|
|
13
|
+
}
|
|
14
|
+
else if (mode === 'DELETE') {
|
|
15
|
+
this.deleteOption.emit({ choiceIndex, type });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
CheckboxComponent.decorators = [
|
|
20
|
+
{ type: Component, args: [{
|
|
21
|
+
selector: 'app-checkbox',
|
|
22
|
+
template: "<div class=\"checkbox vx-d-flex vx-mb-4\" *ngFor=\"let choice of question?.choices; let choiceIndex = index\">\r\n <div class=\"left\">\r\n <input type=\"text\" placeholder=\"Option\" [attr.id]='\"checkbox-\"+choiceIndex' (keyup.enter)=\"modifyOption('ADD',choiceIndex,'checkbox-')\" [(ngModel)]=\"choice.title\"/>\r\n <div class=\"option-color vx-d-flex vx-align-center vx-justify-center\">\r\n <input type=\"color\">\r\n <i class=\"icons vx-fs-16\" style=\"color: green;\"></i>\r\n </div>\r\n <!-- <button class=\"choice-icon vx-fs-16 vx-txt-blue vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\"><i class=\"icons\"></i></button> -->\r\n <app-choice-settings-panel [defaultScore]=\"service.score.defaultScore\" [negativeScore]=\"service.score.negativeScore\" [scoreVisible]='service.formsPage.settings.assessmentMode' [(isFailed)]='choice.isFailed' [(score)]='choice.score'></app-choice-settings-panel>\r\n </div>\r\n <div class=\"right vx-d-flex vx-align-center vx-ml-1\">\r\n <button (click)=\"modifyOption('ADD',choiceIndex,'checkbox-')\" class=\"vx-fs-24 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-d-flex vx-align-center vx-justify-center\">+</button>\r\n <button class=\"vx-fs-24 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-d-flex vx-align-center vx-justify-center\" (click)=\"modifyOption('DELETE',choiceIndex,'radio-')\" [class.disabled]=\"question?.choices?.length === 1\">-</button>\r\n </div>\r\n</div>\r\n<div class=\"checkbox vx-d-flex vx-mb-4\" *ngIf=\"question?.hasOther\">\r\n <div class=\"left\">\r\n <input type=\"text\" disabled placeholder=\"Option\" [(ngModel)]=\"question.otherValue\"/>\r\n <div class=\"option-color vx-d-flex vx-align-center vx-justify-center\">\r\n <input type=\"color\" [(ngModel)]=\"question.otherConfig.color\">\r\n <i class=\"icons vx-fs-16\" [style.color]='question.otherConfig.color'></i>\r\n </div>\r\n <!-- <button class=\"choice-icon vx-fs-16 vx-txt-blue vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\"><i class=\"icons\"></i></button> -->\r\n <app-choice-settings-panel [scoreVisible]='service.formsPage.settings.assessmentMode'\r\n [(isFailed)]='question.otherConfig.isFailed'\r\n [defaultScore]=\"service.score.defaultScore\" [negativeScore]=\"service.score.negativeScore\"\r\n [(score)]='question.otherConfig.score'></app-choice-settings-panel>\r\n </div>\r\n \r\n</div>",
|
|
23
|
+
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/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/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.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\");.checkbox .left{width:calc(100% - 4.75rem);position:relative}.checkbox .left input[type=text]{background:#fff;border:1px solid #dbdbdb;border-radius:.25rem;color:#747576;font-size:12px;padding:.5rem 2.75rem;width:100%;height:2.5rem;outline:none;transition:all .3s ease-in-out}.checkbox .left input[type=text]:focus{border-color:#1e5dd3;box-shadow:0 0 5px rgba(30,93,211,.27)}.checkbox .left .option-color{background:#f1f1f1;border-radius:.125rem;width:1.5rem;height:1.5rem;position:absolute;top:.5rem;left:.5rem}.checkbox .left .option-color input[type=color]{position:absolute;top:0;left:0;bottom:0;right:0;margin:0;width:100%;height:100%;cursor:pointer;opacity:0}.checkbox .left button.choice-icon{background:transparent;border:none;border-radius:0;position:absolute;top:.75rem;right:.5rem}.checkbox .left .reponse-choice .choice-item{background:#f8f8f8;border-radius:.25rem;height:2rem}.checkbox .left .reponse-choice .choice-item button.minus-btn,.checkbox .left .reponse-choice .choice-item button.plus-btn{background:transparent;border:none;border-radius:0}.checkbox .left .reponse-choice .choice-item input[type=number]{background:#fff;border:1px solid #dbdbdb;border-radius:.125rem;color:#747576;font-size:11px;padding:0 .25rem;margin:0 .25rem;height:1.25rem;width:2.75rem;text-align:center;outline:none}.checkbox .left .reponse-choice .choice-item i.info{cursor:pointer}.checkbox .right{width:4.5rem;height:2.5rem}.checkbox .right button{background:#f8f8f8;border-radius:50%;border:none;width:2rem;height:2rem}.checkbox .right button.disabled{pointer-events:none;opacity:.5}"]
|
|
24
|
+
},] }
|
|
25
|
+
];
|
|
26
|
+
CheckboxComponent.ctorParameters = () => [
|
|
27
|
+
{ type: ChangeDetectorRef }
|
|
28
|
+
];
|
|
29
|
+
CheckboxComponent.propDecorators = {
|
|
30
|
+
question: [{ type: Input }],
|
|
31
|
+
service: [{ type: Input }],
|
|
32
|
+
addOption: [{ type: Output }],
|
|
33
|
+
deleteOption: [{ type: Output }]
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9hc3Nlc3NtZW50LWVkaXRvci9jb21wb25lbnRzL2J1aWxkL2NoZWNrYm94L2NoZWNrYm94LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBT2xHLE1BQU0sT0FBTyxpQkFBaUI7SUFLNUIsWUFBb0IsR0FBc0I7UUFBdEIsUUFBRyxHQUFILEdBQUcsQ0FBbUI7UUFGaEMsY0FBUyxHQUFHLElBQUksWUFBWSxFQUFPLENBQUM7UUFDcEMsaUJBQVksR0FBRyxJQUFJLFlBQVksRUFBTyxDQUFDO0lBQ0gsQ0FBQztJQUUvQyxRQUFRO0lBQ1IsQ0FBQztJQUNELFlBQVksQ0FBQyxJQUFZLEVBQUUsV0FBbUIsRUFBRSxJQUFZO1FBQzFELElBQUksSUFBSSxLQUFLLEtBQUssRUFBQztZQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLEVBQUMsV0FBVyxFQUFFLElBQUksRU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uZ09uSW5pdCgpOiB2b2lkIHtcclxuICB9XHJcbiAgbW9kaWZ5T3B0aW9uKG1vZGU6IHN0cmluZywgY2hvaWNlSW5kZXg6IG51bWJlciwgdHlwZTogc3RyaW5nKXtcclxuICAgIGlmIChtb2RlID09PSAnQUREJyl7dGhpcy5hZGRPcHRpb24uZW1pdCh7Y2hvaWNlSW5kZXgsIHR5cGV9KTsgfVxyXG4gICAgZWxzZSBpZiAobW9kZSA9PT0gJ0RFTEVURScpe3RoaXMuZGVsZXRlT3B0aW9uLmVtaXQoe2Nob2ljZUluZGV4LCB0eXBlfSk7IH1cclxufVxyXG5cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,89 @@
|
|
|
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 "./checkbox.component.less.shim.ngstyle";
|
|
8
|
+
import * as i1 from "@angular/core";
|
|
9
|
+
import * as i2 from "@angular/forms";
|
|
10
|
+
import * as i3 from "../choice-settings-panel/choice-settings-panel.component.ngfactory";
|
|
11
|
+
import * as i4 from "../choice-settings-panel/choice-settings-panel.component";
|
|
12
|
+
import * as i5 from "@angular/common";
|
|
13
|
+
import * as i6 from "./checkbox.component";
|
|
14
|
+
var styles_CheckboxComponent = [i0.styles];
|
|
15
|
+
var RenderType_CheckboxComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CheckboxComponent, data: {} });
|
|
16
|
+
export { RenderType_CheckboxComponent as RenderType_CheckboxComponent };
|
|
17
|
+
function View_CheckboxComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, "div", [["class", "checkbox vx-d-flex vx-mb-4"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 12, "div", [["class", "left"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, "input", [["placeholder", "Option"], ["type", "text"]], [[1, "id", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "keyup.enter"], [null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("input" === en)) {
|
|
18
|
+
var pd_0 = (i1.ɵnov(_v, 3)._handleInput($event.target.value) !== false);
|
|
19
|
+
ad = (pd_0 && ad);
|
|
20
|
+
} if (("blur" === en)) {
|
|
21
|
+
var pd_1 = (i1.ɵnov(_v, 3).onTouched() !== false);
|
|
22
|
+
ad = (pd_1 && ad);
|
|
23
|
+
} if (("compositionstart" === en)) {
|
|
24
|
+
var pd_2 = (i1.ɵnov(_v, 3)._compositionStart() !== false);
|
|
25
|
+
ad = (pd_2 && ad);
|
|
26
|
+
} if (("compositionend" === en)) {
|
|
27
|
+
var pd_3 = (i1.ɵnov(_v, 3)._compositionEnd($event.target.value) !== false);
|
|
28
|
+
ad = (pd_3 && ad);
|
|
29
|
+
} if (("keyup.enter" === en)) {
|
|
30
|
+
var pd_4 = (_co.modifyOption("ADD", _v.context.index, "checkbox-") !== false);
|
|
31
|
+
ad = (pd_4 && ad);
|
|
32
|
+
} if (("ngModelChange" === en)) {
|
|
33
|
+
var pd_5 = ((_v.context.$implicit.title = $event) !== false);
|
|
34
|
+
ad = (pd_5 && ad);
|
|
35
|
+
} return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(5, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(7, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(8, 0, null, null, 3, "div", [["class", "option-color vx-d-flex vx-align-center vx-justify-center"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 0, "input", [["type", "color"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, "i", [["class", "icons vx-fs-16"], ["style", "color: green;"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uEB01"])), (_l()(), i1.ɵeld(12, 0, null, null, 1, "app-choice-settings-panel", [], null, [[null, "isFailedChange"], [null, "scoreChange"]], function (_v, en, $event) { var ad = true; if (("isFailedChange" === en)) {
|
|
36
|
+
var pd_0 = ((_v.context.$implicit.isFailed = $event) !== false);
|
|
37
|
+
ad = (pd_0 && ad);
|
|
38
|
+
} if (("scoreChange" === en)) {
|
|
39
|
+
var pd_1 = ((_v.context.$implicit.score = $event) !== false);
|
|
40
|
+
ad = (pd_1 && ad);
|
|
41
|
+
} return ad; }, i3.View_ChoiceSettingsPanelComponent_0, i3.RenderType_ChoiceSettingsPanelComponent)), i1.ɵdid(13, 114688, null, 0, i4.ChoiceSettingsPanelComponent, [], { defaultScore: [0, "defaultScore"], negativeScore: [1, "negativeScore"], isFailed: [2, "isFailed"], Score: [3, "Score"], scoreVisible: [4, "scoreVisible"] }, { isFailedChange: "isFailedChange", scoreChange: "scoreChange" }), (_l()(), i1.ɵeld(14, 0, null, null, 4, "div", [["class", "right vx-d-flex vx-align-center vx-ml-1"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 1, "button", [["class", "vx-fs-24 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-d-flex vx-align-center vx-justify-center"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
|
|
42
|
+
var pd_0 = (_co.modifyOption("ADD", _v.context.index, "checkbox-") !== false);
|
|
43
|
+
ad = (pd_0 && ad);
|
|
44
|
+
} return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, ["+"])), (_l()(), i1.ɵeld(17, 0, null, null, 1, "button", [["class", "vx-fs-24 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-d-flex vx-align-center vx-justify-center"]], [[2, "disabled", null]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
|
|
45
|
+
var pd_0 = (_co.modifyOption("DELETE", _v.context.index, "radio-") !== false);
|
|
46
|
+
ad = (pd_0 && ad);
|
|
47
|
+
} return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, ["-"]))], function (_ck, _v) { var _co = _v.component; var currVal_8 = _v.context.$implicit.title; _ck(_v, 5, 0, currVal_8); var currVal_9 = _co.service.score.defaultScore; var currVal_10 = _co.service.score.negativeScore; var currVal_11 = _v.context.$implicit.isFailed; var currVal_12 = _v.context.$implicit.score; var currVal_13 = _co.service.formsPage.settings.assessmentMode; _ck(_v, 13, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = ("checkbox-" + _v.context.index); var currVal_1 = i1.ɵnov(_v, 7).is("untouched"); var currVal_2 = i1.ɵnov(_v, 7).is("touched"); var currVal_3 = i1.ɵnov(_v, 7).is("pristine"); var currVal_4 = i1.ɵnov(_v, 7).is("dirty"); var currVal_5 = i1.ɵnov(_v, 7).is("valid"); var currVal_6 = i1.ɵnov(_v, 7).is("invalid"); var currVal_7 = i1.ɵnov(_v, 7).is("pending"); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_14 = (((_co.question == null) ? null : ((_co.question.choices == null) ? null : _co.question.choices.length)) === 1); _ck(_v, 17, 0, currVal_14); }); }
|
|
48
|
+
function View_CheckboxComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, "div", [["class", "checkbox vx-d-flex vx-mb-4"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 17, "div", [["class", "left"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, "input", [["disabled", ""], ["placeholder", "Option"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("input" === en)) {
|
|
49
|
+
var pd_0 = (i1.ɵnov(_v, 3)._handleInput($event.target.value) !== false);
|
|
50
|
+
ad = (pd_0 && ad);
|
|
51
|
+
} if (("blur" === en)) {
|
|
52
|
+
var pd_1 = (i1.ɵnov(_v, 3).onTouched() !== false);
|
|
53
|
+
ad = (pd_1 && ad);
|
|
54
|
+
} if (("compositionstart" === en)) {
|
|
55
|
+
var pd_2 = (i1.ɵnov(_v, 3)._compositionStart() !== false);
|
|
56
|
+
ad = (pd_2 && ad);
|
|
57
|
+
} if (("compositionend" === en)) {
|
|
58
|
+
var pd_3 = (i1.ɵnov(_v, 3)._compositionEnd($event.target.value) !== false);
|
|
59
|
+
ad = (pd_3 && ad);
|
|
60
|
+
} if (("ngModelChange" === en)) {
|
|
61
|
+
var pd_4 = ((_co.question.otherValue = $event) !== false);
|
|
62
|
+
ad = (pd_4 && ad);
|
|
63
|
+
} return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(5, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { isDisabled: [0, "isDisabled"], model: [1, "model"] }, { update: "ngModelChange" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(7, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(8, 0, null, null, 8, "div", [["class", "option-color vx-d-flex vx-align-center vx-justify-center"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 5, "input", [["type", "color"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("input" === en)) {
|
|
64
|
+
var pd_0 = (i1.ɵnov(_v, 10)._handleInput($event.target.value) !== false);
|
|
65
|
+
ad = (pd_0 && ad);
|
|
66
|
+
} if (("blur" === en)) {
|
|
67
|
+
var pd_1 = (i1.ɵnov(_v, 10).onTouched() !== false);
|
|
68
|
+
ad = (pd_1 && ad);
|
|
69
|
+
} if (("compositionstart" === en)) {
|
|
70
|
+
var pd_2 = (i1.ɵnov(_v, 10)._compositionStart() !== false);
|
|
71
|
+
ad = (pd_2 && ad);
|
|
72
|
+
} if (("compositionend" === en)) {
|
|
73
|
+
var pd_3 = (i1.ɵnov(_v, 10)._compositionEnd($event.target.value) !== false);
|
|
74
|
+
ad = (pd_3 && ad);
|
|
75
|
+
} if (("ngModelChange" === en)) {
|
|
76
|
+
var pd_4 = ((_co.question.otherConfig.color = $event) !== false);
|
|
77
|
+
ad = (pd_4 && ad);
|
|
78
|
+
} return ad; }, null, null)), i1.ɵdid(10, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(12, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(14, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, "i", [["class", "icons vx-fs-16"]], [[4, "color", null]], null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["\uEB01"])), (_l()(), i1.ɵeld(17, 0, null, null, 1, "app-choice-settings-panel", [], null, [[null, "isFailedChange"], [null, "scoreChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("isFailedChange" === en)) {
|
|
79
|
+
var pd_0 = ((_co.question.otherConfig.isFailed = $event) !== false);
|
|
80
|
+
ad = (pd_0 && ad);
|
|
81
|
+
} if (("scoreChange" === en)) {
|
|
82
|
+
var pd_1 = ((_co.question.otherConfig.score = $event) !== false);
|
|
83
|
+
ad = (pd_1 && ad);
|
|
84
|
+
} return ad; }, i3.View_ChoiceSettingsPanelComponent_0, i3.RenderType_ChoiceSettingsPanelComponent)), i1.ɵdid(18, 114688, null, 0, i4.ChoiceSettingsPanelComponent, [], { defaultScore: [0, "defaultScore"], negativeScore: [1, "negativeScore"], isFailed: [2, "isFailed"], Score: [3, "Score"], scoreVisible: [4, "scoreVisible"] }, { isFailedChange: "isFailedChange", scoreChange: "scoreChange" })], function (_ck, _v) { var _co = _v.component; var currVal_7 = ""; var currVal_8 = _co.question.otherValue; _ck(_v, 5, 0, currVal_7, currVal_8); var currVal_16 = _co.question.otherConfig.color; _ck(_v, 12, 0, currVal_16); var currVal_18 = _co.service.score.defaultScore; var currVal_19 = _co.service.score.negativeScore; var currVal_20 = _co.question.otherConfig.isFailed; var currVal_21 = _co.question.otherConfig.score; var currVal_22 = _co.service.formsPage.settings.assessmentMode; _ck(_v, 18, 0, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 7).is("untouched"); var currVal_1 = i1.ɵnov(_v, 7).is("touched"); var currVal_2 = i1.ɵnov(_v, 7).is("pristine"); var currVal_3 = i1.ɵnov(_v, 7).is("dirty"); var currVal_4 = i1.ɵnov(_v, 7).is("valid"); var currVal_5 = i1.ɵnov(_v, 7).is("invalid"); var currVal_6 = i1.ɵnov(_v, 7).is("pending"); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_9 = i1.ɵnov(_v, 14).is("untouched"); var currVal_10 = i1.ɵnov(_v, 14).is("touched"); var currVal_11 = i1.ɵnov(_v, 14).is("pristine"); var currVal_12 = i1.ɵnov(_v, 14).is("dirty"); var currVal_13 = i1.ɵnov(_v, 14).is("valid"); var currVal_14 = i1.ɵnov(_v, 14).is("invalid"); var currVal_15 = i1.ɵnov(_v, 14).is("pending"); _ck(_v, 9, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15); var currVal_17 = _co.question.otherConfig.color; _ck(_v, 15, 0, currVal_17); }); }
|
|
85
|
+
export function View_CheckboxComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_CheckboxComponent_1)), i1.ɵdid(1, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CheckboxComponent_2)), i1.ɵdid(3, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.question == null) ? null : _co.question.choices); _ck(_v, 1, 0, currVal_0); var currVal_1 = ((_co.question == null) ? null : _co.question.hasOther); _ck(_v, 3, 0, currVal_1); }, null); }
|
|
86
|
+
export function View_CheckboxComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-checkbox", [], null, null, null, View_CheckboxComponent_0, RenderType_CheckboxComponent)), i1.ɵdid(1, 114688, null, 0, i6.CheckboxComponent, [i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
|
|
87
|
+
var CheckboxComponentNgFactory = i1.ɵccf("app-checkbox", i6.CheckboxComponent, View_CheckboxComponent_Host_0, { question: "question", service: "service" }, { addOption: "addOption", deleteOption: "deleteOption" }, []);
|
|
88
|
+
export { CheckboxComponentNgFactory as CheckboxComponentNgFactory };
|
|
89
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL3NoYXJlZENvbXBvbmVudHMvYXNzZXNzbWVudC1lZGl0b3IvY29tcG9uZW50cy9idWlsZC9jaGVja2JveC9jaGVja2JveC5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9hc3Nlc3NtZW50LWVkaXRvci9jb21wb25lbnRzL2J1aWxkL2NoZWNrYm94L2NoZWNrYm94LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7NERDQUEsb0hBY00sS0FiRiw4RkFRTSxLQVBGOzs7Ozs7Ozs7Ozt3QkFBb0s7TUFBeEY7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xOzwvaT5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8IS0tIDxidXR0b24gIGNsYXNzPVwiY2hvaWNlLWljb24gdngtZnMtMTYgdngtdHh0LWJsdWUgdngtcC0wIHZ4LW0tMCB2eC1kLWZsZXggdngtYWxpZ24tY2VudGVyIHZ4LWp1c3RpZnktY2VudGVyXCI+PGkgY2xhc3M9XCJpY29uc1wiPiYjeGU5MTM7PC9pPjwvYnV0dG9uPiAtLT5cclxuICAgICAgICA8YXBwLWNob2ljZS1zZXR0aW5ncy1wYW5lbCBbc2NvcmVWaXNpYmxlXT0nc2VydmljZS5mb3Jtc1BhZ2Uuc2V0dGluZ3MuYXNzZXNzbWVudE1vZGUnXHJcbiAgICAgICAgWyhpc0ZhaWxlZCldPSdxdWVzdGlvbi5vdGhlckNvbmZpZy5pc0ZhaWxlZCdcclxuICAgICAgICBbZGVmYXVsdFNjb3JlXT1cInNlcnZpY2Uuc2NvcmUuZGVmYXVsdFNjb3JlXCIgW25lZ2F0aXZlU2NvcmVdPVwic2VydmljZS5zY29yZS5uZWdhdGl2ZVNjb3JlXCJcclxuICAgICAgICBbKHNjb3JlKV09J3F1ZXN0aW9uLm90aGVyQ29uZmlnLnNjb3JlJz48L2FwcC1jaG9pY2Utc2V0dGluZ3MtcGFuZWw+XHJcbiAgICA8L2Rpdj5cclxuICAgIFxyXG48L2Rpdj4iXX0=
|
|
@@ -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":[]}}]}],"service":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"addOption":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"deleteOption":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]}]}],"ngOnInit":[{"__symbolic":"method"}],"modifyOption":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"lifecycleHooks":[0]},"isComponent":true,"selector":"app-checkbox","exportAs":null,"inputs":{"question":"question","service":"service"},"outputs":{"addOption":"addOption","deleteOption":"deleteOption"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":0,"styles":[],"animations":[]},"componentViewType":{"__symbol":4,"members":[]},"rendererType":{"__symbol":5,"members":[]},"componentFactory":{"__symbol":6,"members":[]}}}],"symbols":[{"__symbol":0,"name":"CheckboxComponent","filePath":"./checkbox.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ChangeDetectorRef","filePath":"@angular/core"},{"__symbol":4,"name":"View_CheckboxComponent_0","filePath":"./checkbox.component.ngfactory"},{"__symbol":5,"name":"RenderType_CheckboxComponent","filePath":"./checkbox.component.ngfactory"},{"__symbol":6,"name":"CheckboxComponentNgFactory","filePath":"./checkbox.component.ngfactory"}]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
export class ChoiceSettingsPanelComponent {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.isFailedChange = new EventEmitter();
|
|
5
|
+
this.scoreChange = new EventEmitter();
|
|
6
|
+
}
|
|
7
|
+
set Score(score) {
|
|
8
|
+
if (score === undefined) {
|
|
9
|
+
this.score = this.defaultScore ? this.defaultScore : 1;
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
this.score = score;
|
|
13
|
+
}
|
|
14
|
+
this.changeScore(this.score);
|
|
15
|
+
this.isFailedChange.emit(this.isFailed ? this.isFailed : false);
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
}
|
|
19
|
+
changeScore(evt) {
|
|
20
|
+
this.scoreChange.emit(evt);
|
|
21
|
+
}
|
|
22
|
+
changeFailed(evt) {
|
|
23
|
+
if (evt === false) {
|
|
24
|
+
this.score = this.defaultScore ? this.defaultScore : 1;
|
|
25
|
+
// if (this.color === '#c60022') {
|
|
26
|
+
// this.color = '#000000';
|
|
27
|
+
// }
|
|
28
|
+
this.scoreChange.emit(this.score);
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
this.score = this.negativeScore ? this.negativeScore : 0;
|
|
32
|
+
// this.color = '#c60022';
|
|
33
|
+
this.scoreChange.emit(this.score);
|
|
34
|
+
}
|
|
35
|
+
this.isFailedChange.emit(evt);
|
|
36
|
+
}
|
|
37
|
+
scoreManger(mode) {
|
|
38
|
+
if (mode === '+') {
|
|
39
|
+
this.score = this.score + 1;
|
|
40
|
+
}
|
|
41
|
+
else if (mode === '-') {
|
|
42
|
+
if (this.score > 0) {
|
|
43
|
+
this.score = this.score - 1;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
this.scoreChange.emit(this.score);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
ChoiceSettingsPanelComponent.decorators = [
|
|
50
|
+
{ type: Component, args: [{
|
|
51
|
+
selector: 'app-choice-settings-panel',
|
|
52
|
+
template: "<div class=\"reponse-choice vx-d-flex vx-align-center vx-justify-end vx-mt-1\">\r\n <div class=\"choice-item vx-d-flex vx-align-center vx-p-2\">\r\n <span class=\"text vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mr-2\">ADD SCORE:</span>\r\n <button (click)=\"scoreManger('-')\" class=\"minus-btn vx-fs-14 vx-fw-600 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-mr-1 vx-d-flex vx-align-center\">-</button>\r\n <input type=\"number\"type=\"number\" [(ngModel)]='score' (ngModelChange)=\"changeScore($event)\" min=\"0\"\r\n oninput=\"this.value = Math.abs(this.value)\"/>\r\n <button (click)=\"scoreManger('+')\" class=\"plus-btn vx-fs-14 vx-fw-600 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-mr-1 vx-d-flex vx-align-center\">+</button>\r\n </div>\r\n <div class=\"choice-item vx-d-flex vx-align-center vx-p-2 vx-ml-1\">\r\n <span class=\"text vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mr-5\">SET AS A FAILED RESPONSE?</span>\r\n <i class=\"icons info vx-fs-14 vx-txt-blue vx-ml-1 vx-mr-2\" appTooltip=\"If this response choice is 'Set as a failed response' VComply would automatically flag it as an exception when selected by the respondent. This can help identify areas for improvement and in the development of corrective action plans.\" placement=\"bottom-right\" delay=\"0\" type=\"white\" [tooltipMandatory]=\"true\"></i>\r\n <app-cs-switch [(ngValue)]='isFailed' (ngValueChange)=\"changeFailed($event)\"></app-cs-switch>\r\n </div>\r\n</div>",
|
|
53
|
+
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/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/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.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\");.reponse-choice .choice-item{background:#f8f8f8;border-radius:.25rem;height:2rem}.reponse-choice .choice-item button.minus-btn,.reponse-choice .choice-item button.plus-btn{background:transparent;border:none;border-radius:0}.reponse-choice .choice-item input[type=number]{background:#fff;border:1px solid #dbdbdb;border-radius:.125rem;color:#747576;font-size:11px;padding:0 .25rem;margin:0 .25rem;height:1.25rem;width:2.75rem;text-align:center;outline:none}.reponse-choice .choice-item i.info{cursor:pointer}"]
|
|
54
|
+
},] }
|
|
55
|
+
];
|
|
56
|
+
ChoiceSettingsPanelComponent.ctorParameters = () => [];
|
|
57
|
+
ChoiceSettingsPanelComponent.propDecorators = {
|
|
58
|
+
defaultScore: [{ type: Input }],
|
|
59
|
+
negativeScore: [{ type: Input }],
|
|
60
|
+
isFailed: [{ type: Input }],
|
|
61
|
+
Score: [{ type: Input, args: ['score',] }],
|
|
62
|
+
scoreVisible: [{ type: Input }],
|
|
63
|
+
isFailedChange: [{ type: Output }],
|
|
64
|
+
scoreChange: [{ type: Output }]
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hvaWNlLXNldHRpbmdzLXBhbmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL3NoYXJlZENvbXBvbmVudHMvYXNzZXNzbWVudC1lZGl0b3IvY29tcG9uZW50cy9idWlsZC9jaG9pY2Utc2V0dGluZ3MtcGFuZWwv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ICAgIHRoaXMuc2NvcmVDaGFuZ2UuZW1pdCh0aGlzLnNjb3JlKTtcclxuICAgIH1cclxuICAgIHRoaXMuaXNGYWlsZWRDaGFuZ2UuZW1pdChldnQpO1xyXG4gIH1cclxuXHJcbiAgc2NvcmVNYW5nZXIobW9kZTogYW55KSB7XHJcbiAgICBpZiAobW9kZSA9PT0gJysnKSB7XHJcbiAgICAgIHRoaXMuc2NvcmUgPSB0aGlzLnNjb3JlICsgMTtcclxuICAgIH0gZWxzZSBpZiAobW9kZSA9PT0gJy0nKSB7XHJcbiAgICAgIGlmICh0aGlzLnNjb3JlID4gMCkge1xyXG4gICAgICAgIHRoaXMuc2NvcmUgPSB0aGlzLnNjb3JlIC0gMTtcclxuICAgICAgfVxyXG4gICAgfVxyXG4gICAgdGhpcy5zY29yZUNoYW5nZS5lbWl0KHRoaXMuc2NvcmUpO1xyXG4gIH1cclxuXHJcblxyXG5cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,72 @@
|
|
|
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 "./choice-settings-panel.component.less.shim.ngstyle";
|
|
8
|
+
import * as i1 from "@angular/core";
|
|
9
|
+
import * as i2 from "@angular/forms";
|
|
10
|
+
import * as i3 from "../../../../../ui-kit/tooltip/tooltip.directive";
|
|
11
|
+
import * as i4 from "../../../../../ui-kit/formgroup/cs-switch/cs-switch.component.ngfactory";
|
|
12
|
+
import * as i5 from "../../../../../ui-kit/formgroup/cs-switch/cs-switch.component";
|
|
13
|
+
import * as i6 from "./choice-settings-panel.component";
|
|
14
|
+
var styles_ChoiceSettingsPanelComponent = [i0.styles];
|
|
15
|
+
var RenderType_ChoiceSettingsPanelComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ChoiceSettingsPanelComponent, data: {} });
|
|
16
|
+
export { RenderType_ChoiceSettingsPanelComponent as RenderType_ChoiceSettingsPanelComponent };
|
|
17
|
+
export function View_ChoiceSettingsPanelComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 24, "div", [["class", "reponse-choice vx-d-flex vx-align-center vx-justify-end vx-mt-1"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 15, "div", [["class", "choice-item vx-d-flex vx-align-center vx-p-2"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, "span", [["class", "text vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mr-2"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["ADD SCORE:"])), (_l()(), i1.ɵeld(4, 0, null, null, 1, "button", [["class", "minus-btn vx-fs-14 vx-fw-600 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-mr-1 vx-d-flex vx-align-center"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
|
|
18
|
+
var pd_0 = (_co.scoreManger("-") !== false);
|
|
19
|
+
ad = (pd_0 && ad);
|
|
20
|
+
} return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, ["-"])), (_l()(), i1.ɵeld(6, 0, null, null, 8, "input", [["min", "0"], ["oninput", "this.value = Math.abs(this.value)"], ["type", "number"]], [[1, "min", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("input" === en)) {
|
|
21
|
+
var pd_0 = (i1.ɵnov(_v, 7)._handleInput($event.target.value) !== false);
|
|
22
|
+
ad = (pd_0 && ad);
|
|
23
|
+
} if (("blur" === en)) {
|
|
24
|
+
var pd_1 = (i1.ɵnov(_v, 7).onTouched() !== false);
|
|
25
|
+
ad = (pd_1 && ad);
|
|
26
|
+
} if (("compositionstart" === en)) {
|
|
27
|
+
var pd_2 = (i1.ɵnov(_v, 7)._compositionStart() !== false);
|
|
28
|
+
ad = (pd_2 && ad);
|
|
29
|
+
} if (("compositionend" === en)) {
|
|
30
|
+
var pd_3 = (i1.ɵnov(_v, 7)._compositionEnd($event.target.value) !== false);
|
|
31
|
+
ad = (pd_3 && ad);
|
|
32
|
+
} if (("input" === en)) {
|
|
33
|
+
var pd_4 = (i1.ɵnov(_v, 8).onChange($event.target.value) !== false);
|
|
34
|
+
ad = (pd_4 && ad);
|
|
35
|
+
} if (("blur" === en)) {
|
|
36
|
+
var pd_5 = (i1.ɵnov(_v, 8).onTouched() !== false);
|
|
37
|
+
ad = (pd_5 && ad);
|
|
38
|
+
} if (("ngModelChange" === en)) {
|
|
39
|
+
var pd_6 = ((_co.score = $event) !== false);
|
|
40
|
+
ad = (pd_6 && ad);
|
|
41
|
+
} if (("ngModelChange" === en)) {
|
|
42
|
+
var pd_7 = (_co.changeScore($event) !== false);
|
|
43
|
+
ad = (pd_7 && ad);
|
|
44
|
+
} return ad; }, null, null)), i1.ɵdid(7, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(8, 16384, null, 0, i2.NumberValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵdid(9, 540672, null, 0, i2.MinValidator, [], { min: [0, "min"] }, null), i1.ɵprd(1024, null, i2.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i2.MinValidator]), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i1.ɵdid(12, 671744, null, 0, i2.NgModel, [[8, null], [6, i2.NG_VALIDATORS], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(14, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, "button", [["class", "plus-btn vx-fs-14 vx-fw-600 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-mr-1 vx-d-flex vx-align-center"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
|
|
45
|
+
var pd_0 = (_co.scoreManger("+") !== false);
|
|
46
|
+
ad = (pd_0 && ad);
|
|
47
|
+
} return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, ["+"])), (_l()(), i1.ɵeld(17, 0, null, null, 7, "div", [["class", "choice-item vx-d-flex vx-align-center vx-p-2 vx-ml-1"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, "span", [["class", "text vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-mr-5"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["SET AS A FAILED RESPONSE?"])), (_l()(), i1.ɵeld(20, 0, null, null, 2, "i", [["appTooltip", "If this response choice is 'Set as a failed response' VComply would automatically flag it as an exception when selected by the respondent. This can help identify areas for improvement and in the development of corrective action plans."], ["class", "icons info vx-fs-14 vx-txt-blue vx-ml-1 vx-mr-2"], ["delay", "0"], ["placement", "bottom-right"], ["type", "white"]], null, [[null, "mouseenter"], [null, "mouseover"], [null, "mouseleave"], [null, "mouseout"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("mouseenter" === en)) {
|
|
48
|
+
var pd_0 = (i1.ɵnov(_v, 21).onMouseEnter() !== false);
|
|
49
|
+
ad = (pd_0 && ad);
|
|
50
|
+
} if (("mouseover" === en)) {
|
|
51
|
+
var pd_1 = (i1.ɵnov(_v, 21).onMouseOver() !== false);
|
|
52
|
+
ad = (pd_1 && ad);
|
|
53
|
+
} if (("mouseleave" === en)) {
|
|
54
|
+
var pd_2 = (i1.ɵnov(_v, 21).onMouseLeave() !== false);
|
|
55
|
+
ad = (pd_2 && ad);
|
|
56
|
+
} if (("mouseout" === en)) {
|
|
57
|
+
var pd_3 = (i1.ɵnov(_v, 21).onMouseOut() !== false);
|
|
58
|
+
ad = (pd_3 && ad);
|
|
59
|
+
} if (("click" === en)) {
|
|
60
|
+
var pd_4 = (i1.ɵnov(_v, 21).onClick() !== false);
|
|
61
|
+
ad = (pd_4 && ad);
|
|
62
|
+
} return ad; }, null, null)), i1.ɵdid(21, 81920, null, 0, i3.ToolTipDirective, [i1.ElementRef, i1.Renderer2], { tooltipTitle: [0, "tooltipTitle"], placement: [1, "placement"], type: [2, "type"], tooltipMandatory: [3, "tooltipMandatory"] }, null), (_l()(), i1.ɵted(-1, null, ["\uEB16"])), (_l()(), i1.ɵeld(23, 0, null, null, 1, "app-cs-switch", [], null, [[null, "ngValueChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ngValueChange" === en)) {
|
|
63
|
+
var pd_0 = ((_co.isFailed = $event) !== false);
|
|
64
|
+
ad = (pd_0 && ad);
|
|
65
|
+
} if (("ngValueChange" === en)) {
|
|
66
|
+
var pd_1 = (_co.changeFailed($event) !== false);
|
|
67
|
+
ad = (pd_1 && ad);
|
|
68
|
+
} return ad; }, i4.View_CsSwitchComponent_0, i4.RenderType_CsSwitchComponent)), i1.ɵdid(24, 114688, null, 0, i5.CsSwitchComponent, [], { ngValue: [0, "ngValue"] }, { ngValueChange: "ngValueChange" })], function (_ck, _v) { var _co = _v.component; var currVal_8 = "0"; _ck(_v, 9, 0, currVal_8); var currVal_9 = _co.score; _ck(_v, 12, 0, currVal_9); var currVal_10 = "If this response choice is 'Set as a failed response' VComply would automatically flag it as an exception when selected by the respondent. This can help identify areas for improvement and in the development of corrective action plans."; var currVal_11 = "bottom-right"; var currVal_12 = "white"; var currVal_13 = true; _ck(_v, 21, 0, currVal_10, currVal_11, currVal_12, currVal_13); var currVal_14 = _co.isFailed; _ck(_v, 24, 0, currVal_14); }, function (_ck, _v) { var tmp_0_0; var currVal_0 = ((((tmp_0_0 = i1.ɵnov(_v, 9).min) !== null) && (tmp_0_0 !== undefined)) ? tmp_0_0 : null); var currVal_1 = i1.ɵnov(_v, 14).is("untouched"); var currVal_2 = i1.ɵnov(_v, 14).is("touched"); var currVal_3 = i1.ɵnov(_v, 14).is("pristine"); var currVal_4 = i1.ɵnov(_v, 14).is("dirty"); var currVal_5 = i1.ɵnov(_v, 14).is("valid"); var currVal_6 = i1.ɵnov(_v, 14).is("invalid"); var currVal_7 = i1.ɵnov(_v, 14).is("pending"); _ck(_v, 6, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }
|
|
69
|
+
export function View_ChoiceSettingsPanelComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-choice-settings-panel", [], null, null, null, View_ChoiceSettingsPanelComponent_0, RenderType_ChoiceSettingsPanelComponent)), i1.ɵdid(1, 114688, null, 0, i6.ChoiceSettingsPanelComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
|
|
70
|
+
var ChoiceSettingsPanelComponentNgFactory = i1.ɵccf("app-choice-settings-panel", i6.ChoiceSettingsPanelComponent, View_ChoiceSettingsPanelComponent_Host_0, { defaultScore: "defaultScore", negativeScore: "negativeScore", isFailed: "isFailed", Score: "score", scoreVisible: "scoreVisible" }, { isFailedChange: "isFailedChange", scoreChange: "scoreChange" }, []);
|
|
71
|
+
export { ChoiceSettingsPanelComponentNgFactory as ChoiceSettingsPanelComponentNgFactory };
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hvaWNlLXNldHRpbmdzLXBhbmVsLmNvbXBvbmVudC5uZ2ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc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xheT1cIjBcIiB0eXBlPVwid2hpdGVcIiBbdG9vbHRpcE1hbmRhdG9yeV09XCJ0cnVlXCI+JiN4ZWIxNjs8L2k+XHJcbiAgICAgICAgPGFwcC1jcy1zd2l0Y2ggWyhuZ1ZhbHVlKV09J2lzRmFpbGVkJyAobmdWYWx1ZUNoYW5nZSk9XCJjaGFuZ2VGYWlsZWQoJGV2ZW50KVwiPjwvYXBwLWNzLXN3aXRjaD5cclxuICAgIDwvZGl2PlxyXG48L2Rpdj4iXX0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"defaultScore":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"negativeScore":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"isFailed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"Score":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["score"]}]}],"scoreVisible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"isFailedChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"scoreChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"changeScore":[{"__symbolic":"method"}],"changeFailed":[{"__symbolic":"method"}],"scoreManger":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0]},"isComponent":true,"selector":"app-choice-settings-panel","exportAs":null,"inputs":{"defaultScore":"defaultScore","negativeScore":"negativeScore","isFailed":"isFailed","Score":"score","scoreVisible":"scoreVisible"},"outputs":{"isFailedChange":"isFailedChange","scoreChange":"scoreChange"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":0,"styles":[],"animations":[]},"componentViewType":{"__symbol":3,"members":[]},"rendererType":{"__symbol":4,"members":[]},"componentFactory":{"__symbol":5,"members":[]}}}],"symbols":[{"__symbol":0,"name":"ChoiceSettingsPanelComponent","filePath":"./choice-settings-panel.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"View_ChoiceSettingsPanelComponent_0","filePath":"./choice-settings-panel.component.ngfactory"},{"__symbol":4,"name":"RenderType_ChoiceSettingsPanelComponent","filePath":"./choice-settings-panel.component.ngfactory"},{"__symbol":5,"name":"ChoiceSettingsPanelComponentNgFactory","filePath":"./choice-settings-panel.component.ngfactory"}]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
export class DateTimeComponent {
|
|
3
|
+
constructor() { }
|
|
4
|
+
ngOnInit() {
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
DateTimeComponent.decorators = [
|
|
8
|
+
{ type: Component, args: [{
|
|
9
|
+
selector: 'app-build-date-time',
|
|
10
|
+
template: "<div class=\"date-time vx-mb-4\">\r\n <div class=\"left vx-mb-2\" *ngIf=\"question.hasDate\">\r\n <div class=\"label\">\r\n <input type=\"text\" placeholder=\"Enter date label\" [(ngModel)]=\"question.date.title\"/>\r\n <div class=\"heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-pr-1\">DATE</div>\r\n </div>\r\n </div>\r\n <div class=\"left vx-mb-2\" *ngIf=\"question.hasTime\">\r\n <div class=\"label\">\r\n <input type=\"text\" placeholder=\"Enter time label\" [(ngModel)]=\"question.time.title\" />\r\n <div class=\"heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-pr-1\">TIME</div>\r\n </div>\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/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/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.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\");.date-time .left{width:calc(100% - 8rem);position:relative}.date-time .left .label{border:1px solid #dbdbdb;border-radius:.25rem;height:2.5rem;transition:all .3s ease-in-out;position:relative}.date-time .left .label:focus-within{border-color:#1e5dd3;box-shadow:0 0 5px rgba(30,93,211,.27)}.date-time .left .label input[type=text]{background:#fff;border:none;border-radius:.25rem;color:#747576;font-size:12px;padding:.5rem .75rem .5rem 5rem;width:100%;height:2.375rem;outline:none;transition:all .3s ease-in-out}.date-time .left .label .heading{position:absolute;top:.625rem;left:.75rem;width:3.5rem}.date-time .left .label .heading:before{background:#dbdbdb;content:\"\";position:absolute;top:0;right:0;width:1px;height:1rem}"]
|
|
12
|
+
},] }
|
|
13
|
+
];
|
|
14
|
+
DateTimeComponent.ctorParameters = () => [];
|
|
15
|
+
DateTimeComponent.propDecorators = {
|
|
16
|
+
question: [{ type: Input }]
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS10aW1lLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL3NoYXJlZENvbXBvbmVudHMvYXNzZXNzbWVudC1lZGl0b3IvY29tcG9uZW50cy9idWlsZC9kYXRlLXRpbWUvZGF0ZS10aW1lLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQztBQU96RCxNQUFNLE9BQU8saUJBQWlCO0lBRTVCLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7SUFDUixDQUFDOzs7WUFWRixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLHFCQUFxQjtnQkFDL0IsZ3VCQUF5Qzs7YUFFMUM7Ozs7dUJBRUUsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhcHAtYnVpbGQtZGF0ZS10aW1lJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vZGF0ZS10aW1lLmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybHM6IFsnLi9kYXRlLXRpbWUuY29tcG9uZW50Lmxlc3MnXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgRGF0ZVRpbWVDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG4gIEBJbnB1dCgpIHF1ZXN0aW9uITogYW55O1xyXG4gIGNvbnN0cnVjdG9yKCkgeyB9XHJcblxyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -0,0 +1,51 @@
|
|
|
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 "./date-time.component.less.shim.ngstyle";
|
|
8
|
+
import * as i1 from "@angular/core";
|
|
9
|
+
import * as i2 from "@angular/forms";
|
|
10
|
+
import * as i3 from "@angular/common";
|
|
11
|
+
import * as i4 from "./date-time.component";
|
|
12
|
+
var styles_DateTimeComponent = [i0.styles];
|
|
13
|
+
var RenderType_DateTimeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DateTimeComponent, data: {} });
|
|
14
|
+
export { RenderType_DateTimeComponent as RenderType_DateTimeComponent };
|
|
15
|
+
function View_DateTimeComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, "div", [["class", "left vx-mb-2"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, "div", [["class", "label"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, "input", [["placeholder", "Enter date label"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("input" === en)) {
|
|
16
|
+
var pd_0 = (i1.ɵnov(_v, 3)._handleInput($event.target.value) !== false);
|
|
17
|
+
ad = (pd_0 && ad);
|
|
18
|
+
} if (("blur" === en)) {
|
|
19
|
+
var pd_1 = (i1.ɵnov(_v, 3).onTouched() !== false);
|
|
20
|
+
ad = (pd_1 && ad);
|
|
21
|
+
} if (("compositionstart" === en)) {
|
|
22
|
+
var pd_2 = (i1.ɵnov(_v, 3)._compositionStart() !== false);
|
|
23
|
+
ad = (pd_2 && ad);
|
|
24
|
+
} if (("compositionend" === en)) {
|
|
25
|
+
var pd_3 = (i1.ɵnov(_v, 3)._compositionEnd($event.target.value) !== false);
|
|
26
|
+
ad = (pd_3 && ad);
|
|
27
|
+
} if (("ngModelChange" === en)) {
|
|
28
|
+
var pd_4 = ((_co.question.date.title = $event) !== false);
|
|
29
|
+
ad = (pd_4 && ad);
|
|
30
|
+
} return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(5, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(7, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(8, 0, null, null, 1, "div", [["class", "heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-pr-1"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["DATE"]))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.question.date.title; _ck(_v, 5, 0, currVal_7); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 7).is("untouched"); var currVal_1 = i1.ɵnov(_v, 7).is("touched"); var currVal_2 = i1.ɵnov(_v, 7).is("pristine"); var currVal_3 = i1.ɵnov(_v, 7).is("dirty"); var currVal_4 = i1.ɵnov(_v, 7).is("valid"); var currVal_5 = i1.ɵnov(_v, 7).is("invalid"); var currVal_6 = i1.ɵnov(_v, 7).is("pending"); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }
|
|
31
|
+
function View_DateTimeComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, "div", [["class", "left vx-mb-2"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, "div", [["class", "label"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, "input", [["placeholder", "Enter time label"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("input" === en)) {
|
|
32
|
+
var pd_0 = (i1.ɵnov(_v, 3)._handleInput($event.target.value) !== false);
|
|
33
|
+
ad = (pd_0 && ad);
|
|
34
|
+
} if (("blur" === en)) {
|
|
35
|
+
var pd_1 = (i1.ɵnov(_v, 3).onTouched() !== false);
|
|
36
|
+
ad = (pd_1 && ad);
|
|
37
|
+
} if (("compositionstart" === en)) {
|
|
38
|
+
var pd_2 = (i1.ɵnov(_v, 3)._compositionStart() !== false);
|
|
39
|
+
ad = (pd_2 && ad);
|
|
40
|
+
} if (("compositionend" === en)) {
|
|
41
|
+
var pd_3 = (i1.ɵnov(_v, 3)._compositionEnd($event.target.value) !== false);
|
|
42
|
+
ad = (pd_3 && ad);
|
|
43
|
+
} if (("ngModelChange" === en)) {
|
|
44
|
+
var pd_4 = ((_co.question.time.title = $event) !== false);
|
|
45
|
+
ad = (pd_4 && ad);
|
|
46
|
+
} return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(5, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(7, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(8, 0, null, null, 1, "div", [["class", "heading vx-fs-11 vx-fw-500 vx-label-txt vx-tt-uppercase vx-pr-1"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, ["TIME"]))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.question.time.title; _ck(_v, 5, 0, currVal_7); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 7).is("untouched"); var currVal_1 = i1.ɵnov(_v, 7).is("touched"); var currVal_2 = i1.ɵnov(_v, 7).is("pristine"); var currVal_3 = i1.ɵnov(_v, 7).is("dirty"); var currVal_4 = i1.ɵnov(_v, 7).is("valid"); var currVal_5 = i1.ɵnov(_v, 7).is("invalid"); var currVal_6 = i1.ɵnov(_v, 7).is("pending"); _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }
|
|
47
|
+
export function View_DateTimeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, "div", [["class", "date-time vx-mb-4"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DateTimeComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DateTimeComponent_2)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.question.hasDate; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.question.hasTime; _ck(_v, 4, 0, currVal_1); }, null); }
|
|
48
|
+
export function View_DateTimeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-build-date-time", [], null, null, null, View_DateTimeComponent_0, RenderType_DateTimeComponent)), i1.ɵdid(1, 114688, null, 0, i4.DateTimeComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
|
|
49
|
+
var DateTimeComponentNgFactory = i1.ɵccf("app-build-date-time", i4.DateTimeComponent, View_DateTimeComponent_Host_0, { question: "question" }, {}, []);
|
|
50
|
+
export { DateTimeComponentNgFactory as DateTimeComponentNgFactory };
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS10aW1lLmNvbXBvbmVudC5uZ2ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9zaGFyZWRDb21wb25lbnRzL2Fzc2Vzc21lbnQtZWRpdG9yL2NvbXBvbmVudHMvYnVpbGQvZGF0ZS10aW1lL2RhdGUtdGltZS5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9hc3Nlc3NtZW50LWVkaXRvci9jb21wb25lbnRzL2J1aWxkL2RhdGUtdGltZS9kYXRlLXRpbWUuY29tcG9uZW50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2IGNsYXNzPVwiaGVhZGluZyB2eC1mcy0xMSB2eC1mdy01MDAgdngtbGFiZWwtdHh0IHZ4LXR0LXVwcGVyY2FzZSB2eC1wci0xXCI+REFURTwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwibGVmdCB2eC1tYi0yXCIgKm5nSWY9XCJxdWVzdGlvbi5oYXNUaW1lXCI+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cImxhYmVsXCI+XHJcbiAgICAgICAgICAgIDxpbnB1dCB0eXBlPVwidGV4dFwiIHBsYWNlaG9sZGVyPVwiRW50ZXIgdGltZSBsYWJlbFwiIFsobmdNb2RlbCldPVwicXVlc3Rpb24udGltZS50aXRsZVwiIC8+XHJcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJoZWFkaW5nIHZ4LWZzLTExIHZ4LWZ3LTUwMCB2eC1sYWJlbC10eHQgdngtdHQtdXBwZXJjYXNlIHZ4LXByLTFcIj5USU1FPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+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":[]}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[0]},"isComponent":true,"selector":"app-build-date-time","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":"DateTimeComponent","filePath":"./date-time.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"View_DateTimeComponent_0","filePath":"./date-time.component.ngfactory"},{"__symbol":3,"name":"RenderType_DateTimeComponent","filePath":"./date-time.component.ngfactory"},{"__symbol":4,"name":"DateTimeComponentNgFactory","filePath":"./date-time.component.ngfactory"}]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
export class DropdownComponent {
|
|
3
|
+
constructor(cdr) {
|
|
4
|
+
this.cdr = cdr;
|
|
5
|
+
this.addOption = new EventEmitter();
|
|
6
|
+
this.deleteOption = new EventEmitter();
|
|
7
|
+
}
|
|
8
|
+
ngOnInit() {
|
|
9
|
+
}
|
|
10
|
+
modifyOption(mode, choiceIndex, type) {
|
|
11
|
+
if (mode === 'ADD') {
|
|
12
|
+
this.addOption.emit({ choiceIndex, type });
|
|
13
|
+
}
|
|
14
|
+
else if (mode === 'DELETE') {
|
|
15
|
+
this.deleteOption.emit({ choiceIndex, type });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
DropdownComponent.decorators = [
|
|
20
|
+
{ type: Component, args: [{
|
|
21
|
+
selector: 'app-build-dropdown',
|
|
22
|
+
template: "<div class=\"dropdowna vx-d-flex vx-mb-4\" *ngFor=\"let choice of question?.choices; let choiceIndex = index\">\r\n <div class=\"left\">\r\n <input type=\"text\" placeholder=\"Option\" [attr.id]='\"radio-\"+choiceIndex' (keyup.enter)=\"modifyOption('ADD',choiceIndex,'dropdown-')\" [(ngModel)]=\"choice.title\" />\r\n <div class=\"option-color vx-d-flex vx-align-center vx-justify-center\">\r\n <input type=\"color\" [(ngModel)]=\"choice.color\">\r\n <i class=\"icons vx-fs-16\" [style.color]='choice.color'></i>\r\n </div>\r\n <!-- <button class=\"choice-icon vx-fs-16 vx-txt-blue vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\"><i class=\"icons\"></i></button> -->\r\n <app-choice-settings-panel [defaultScore]=\"service.score.defaultScore\" [negativeScore]=\"service.score.negativeScore\" [scoreVisible]='service.formsPage.settings.assessmentMode' [(isFailed)]='choice.isFailed' [(score)]='choice.score'></app-choice-settings-panel>\r\n </div>\r\n <div class=\"right vx-d-flex vx-align-center vx-ml-1\">\r\n <button (click)=\"modifyOption('ADD',choiceIndex,'dropdown-')\" class=\"vx-fs-24 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-d-flex vx-align-center vx-justify-center\">+</button>\r\n <button (click)=\"modifyOption('DELETE',choiceIndex,'dropdown-')\" class=\"vx-fs-24 vx-paragraph-txt vx-p-0 vx-m-0 vx-ml-1 vx-d-flex vx-align-center vx-justify-center\" [class.disabled]=\"question?.choices?.length === 1\">-</button>\r\n </div>\r\n</div>\r\n<div class=\"dropdowna vx-d-flex vx-mb-4\" *ngIf=\"question?.hasOther\">\r\n <div class=\"left\">\r\n <input type=\"text\" disabled placeholder=\"Option\" [attr.id]='\"dropdown-\"' [(ngModel)]=\"question.otherValue\"/>\r\n <div class=\"option-color vx-d-flex vx-align-center vx-justify-center\">\r\n <input type=\"color\"[(ngModel)]=\"question.otherConfig.color\">\r\n <i class=\"icons vx-fs-16\" [style.color]='question.otherConfig.color'></i>\r\n </div>\r\n <!-- <button class=\"choice-icon vx-fs-16 vx-txt-blue vx-p-0 vx-m-0 vx-d-flex vx-align-center vx-justify-center\"><i class=\"icons\"></i></button> -->\r\n <app-choice-settings-panel [scoreVisible]='service.formsPage.settings.assessmentMode'\r\n [(isFailed)]='question.otherConfig.isFailed'\r\n [defaultScore]=\"service.score.defaultScore\" [negativeScore]=\"service.score.negativeScore\"\r\n [(score)]='question.otherConfig.score'></app-choice-settings-panel>\r\n </div>\r\n \r\n</div>",
|
|
23
|
+
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/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/color/color.css\");@import url(\"https://cdn.v-comply.com/design-system/css/text/text.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\");.dropdowna .left{width:calc(100% - 4.75rem);position:relative}.dropdowna .left input[type=text]{background:#fff;border:1px solid #dbdbdb;border-radius:.25rem;color:#747576;font-size:12px;padding:.5rem 2.75rem;width:100%;height:2.5rem;outline:none;transition:all .3s ease-in-out}.dropdowna .left input[type=text]:focus{border-color:#1e5dd3;box-shadow:0 0 5px rgba(30,93,211,.27)}.dropdowna .left .option-color{background:#f1f1f1;border-radius:.125rem;width:1.5rem;height:1.5rem;position:absolute;top:.5rem;left:.5rem}.dropdowna .left .option-color input[type=color]{position:absolute;top:0;left:0;bottom:0;right:0;margin:0;width:100%;height:100%;cursor:pointer;opacity:0}.dropdowna .left button.choice-icon{background:transparent;border:none;border-radius:0;position:absolute;top:.75rem;right:.5rem}.dropdowna .left .reponse-choice .choice-item{background:#f8f8f8;border-radius:.25rem;height:2rem}.dropdowna .left .reponse-choice .choice-item button.minus-btn,.dropdowna .left .reponse-choice .choice-item button.plus-btn{background:transparent;border:none;border-radius:0}.dropdowna .left .reponse-choice .choice-item input[type=number]{background:#fff;border:1px solid #dbdbdb;border-radius:.125rem;color:#747576;font-size:11px;padding:0 .25rem;margin:0 .25rem;height:1.25rem;width:2.75rem;text-align:center;outline:none}.dropdowna .left .reponse-choice .choice-item i.info{cursor:pointer}.dropdowna .right{width:4.5rem;height:2.5rem}.dropdowna .right button{background:#f8f8f8;border-radius:50%;border:none;width:2rem;height:2rem}.dropdowna .right button.disabled{pointer-events:none;opacity:.5}"]
|
|
24
|
+
},] }
|
|
25
|
+
];
|
|
26
|
+
DropdownComponent.ctorParameters = () => [
|
|
27
|
+
{ type: ChangeDetectorRef }
|
|
28
|
+
];
|
|
29
|
+
DropdownComponent.propDecorators = {
|
|
30
|
+
question: [{ type: Input }],
|
|
31
|
+
service: [{ type: Input }],
|
|
32
|
+
addOption: [{ type: Output }],
|
|
33
|
+
deleteOption: [{ type: Output }]
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9hc3Nlc3NtZW50LWVkaXRvci9jb21wb25lbnRzL2J1aWxkL2Ryb3Bkb3duL2Ryb3Bkb3duLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBT2xHLE1BQU0sT0FBTyx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