@bnsights/bbsf-admin-portal 1.0.67 → 1.0.68
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/README.md +5 -0
- package/bnsights-bbsf-admin-portal-1.0.68.tgz +0 -0
- package/bundles/bnsights-bbsf-admin-portal.umd.js +52 -106
- package/bundles/bnsights-bbsf-admin-portal.umd.js.map +1 -1
- package/esm2015/lib/Pages/_layout/components/topbar/topbar.component.js +1 -1
- package/esm2015/lib/Pages/departments/department/department.component.js +1 -2
- package/esm2015/lib/Pages/helpCenter/help-center/help-center.component.js +1 -3
- package/esm2015/lib/Pages/helpCenter/help-center-preview/help-center-preview.component.js +1 -1
- package/esm2015/lib/Pages/helpCenter/help-center-secondlevel/help-center-secondlevel.component.js +2 -4
- package/esm2015/lib/Pages/helpCenter/help-center-thirdlevel/help-center-thirdlevel.component.js +2 -4
- package/esm2015/lib/Pages/lookups/lookup-group/lookup-group.component.js +1 -2
- package/esm2015/lib/Pages/lookups/lookup-item/lookup-item.component.js +2 -3
- package/esm2015/lib/Pages/roles/permissions/permissions.component.js +1 -2
- package/esm2015/lib/Pages/roles/permissionsets/permissionsets.component.js +1 -2
- package/esm2015/lib/Pages/sectors/sector/sector.component.js +1 -2
- package/esm2015/lib/Pages/shared/components/external-url/external-url.component.js +3 -1
- package/esm2015/lib/Pages/shared/components/survey/add-survey/add-survey.component.js +3 -2
- package/esm2015/lib/Pages/shared/components/survey/edit-survey/edit-survey.component.js +3 -3
- package/esm2015/lib/Pages/shared/components/survey/survey-info/add-question/add-question.component.js +4 -2
- package/esm2015/lib/Pages/shared/components/survey/survey-info/edit-question/edit-question.component.js +4 -2
- package/esm2015/lib/Pages/shared/components/survey/survey-info/preview/preview.component.js +10 -3
- package/esm2015/lib/Pages/shared/components/survey/survey-info/publish-survey/publish-survey.component.js +2 -2
- package/esm2015/lib/Pages/shared/components/survey/survey-info/result-question/result.component.js +2 -2
- package/esm2015/lib/Pages/shared/components/survey/survey-info/survey-info.component.js +20 -63
- package/esm2015/lib/Pages/shared/components/survey/survey-info/take-survey/take-survey.component.js +2 -2
- package/esm2015/lib/Pages/shared/components/survey/survey.component.js +2 -2
- package/esm2015/lib/Pages/shared/components/survey-form/survey-form.component.js +3 -3
- package/esm2015/lib/Pages/shared/models/SurveyModels/add-survey-submissio.js +1 -1
- package/esm2015/lib/Pages/shared/modules/survey.module.js +3 -3
- package/fesm2015/bnsights-bbsf-admin-portal.js +52 -106
- package/fesm2015/bnsights-bbsf-admin-portal.js.map +1 -1
- package/lib/Pages/shared/components/survey/survey-info/add-question/add-question.component.d.ts +2 -1
- package/lib/Pages/shared/components/survey/survey-info/edit-question/edit-question.component.d.ts +2 -1
- package/lib/Pages/shared/components/survey/survey-info/preview/preview.component.d.ts +2 -1
- package/lib/Pages/shared/components/survey/survey-info/survey-info.component.d.ts +3 -0
- package/lib/Pages/shared/models/SurveyModels/add-survey-submissio.d.ts +1 -0
- package/package.json +2 -2
- package/src/lib/assets/sass/custom-styles.scss +29 -0
- package/bnsights-bbsf-admin-portal-1.0.67.tgz +0 -0
|
@@ -5241,7 +5241,6 @@
|
|
|
5241
5241
|
this.multiLingualName.ArabicLabelKey = "NameInArabic";
|
|
5242
5242
|
this.multiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
5243
5243
|
this.multiLingualName.IsRequired = true;
|
|
5244
|
-
this.multiLingualName.Value = null;
|
|
5245
5244
|
this.multiLingualName.MaxLength = 100;
|
|
5246
5245
|
this.sysName = new i6.TextBoxOptions();
|
|
5247
5246
|
this.sysName.Name = "SysName";
|
|
@@ -5535,7 +5534,6 @@
|
|
|
5535
5534
|
this.multiLingualName.ArabicLabelKey = "NameInArabic";
|
|
5536
5535
|
this.multiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
5537
5536
|
this.multiLingualName.IsRequired = true;
|
|
5538
|
-
this.multiLingualName.Value = null;
|
|
5539
5537
|
this.multiLingualName.MaxLength = 100;
|
|
5540
5538
|
this.activeDirectoryGroup = new i6.TextBoxOptions();
|
|
5541
5539
|
this.activeDirectoryGroup.Name = "ActiveDirectoryGroup";
|
|
@@ -8523,7 +8521,6 @@
|
|
|
8523
8521
|
this.multiLingualName.ArabicLabelKey = "NameInArabic";
|
|
8524
8522
|
this.multiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
8525
8523
|
this.multiLingualName.IsRequired = true;
|
|
8526
|
-
this.multiLingualName.Value = null;
|
|
8527
8524
|
this.multiLingualName.MaxLength = 100;
|
|
8528
8525
|
this.modalService.open(AddLookupGroupModal);
|
|
8529
8526
|
this.utilityService.stopBlockUI();
|
|
@@ -8640,7 +8637,7 @@
|
|
|
8640
8637
|
//Edit Model Controls
|
|
8641
8638
|
this.editLookupItemForm = new i10.FormGroup({});
|
|
8642
8639
|
this.deleteControlLoaded = false;
|
|
8643
|
-
//GenerateCode Model Controls
|
|
8640
|
+
//GenerateCode Model Controls
|
|
8644
8641
|
this.generateCodeForm = new i10.FormGroup({});
|
|
8645
8642
|
this.valueToCopy = "";
|
|
8646
8643
|
this.getAddLookupItemModel = function () {
|
|
@@ -8757,7 +8754,6 @@
|
|
|
8757
8754
|
this.multiLingualName.ArabicLabelKey = "NameInArabic";
|
|
8758
8755
|
this.multiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
8759
8756
|
this.multiLingualName.IsRequired = true;
|
|
8760
|
-
this.multiLingualName.Value = null;
|
|
8761
8757
|
this.multiLingualName.MaxLength = 5000;
|
|
8762
8758
|
this.sysName = new i6.TextBoxOptions();
|
|
8763
8759
|
this.sysName.Name = "SysName";
|
|
@@ -9197,7 +9193,6 @@
|
|
|
9197
9193
|
this.AddName.ArabicLabelKey = "NameInArabic";
|
|
9198
9194
|
this.AddName.EnglishLabelKey = "NameInEnglish";
|
|
9199
9195
|
this.AddName.IsRequired = true;
|
|
9200
|
-
this.AddName.Value = null;
|
|
9201
9196
|
this.AddName.MaxLength = 100;
|
|
9202
9197
|
this.AddSamAccount = new i6.TextBoxOptions();
|
|
9203
9198
|
this.AddSamAccount.Name = "SamAccount";
|
|
@@ -9723,7 +9718,6 @@
|
|
|
9723
9718
|
this.MultiLingualName.ArabicLabelKey = "NameInArabic";
|
|
9724
9719
|
this.MultiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
9725
9720
|
this.MultiLingualName.IsRequired = true;
|
|
9726
|
-
this.MultiLingualName.Value = null;
|
|
9727
9721
|
this.MultiLingualName.MaxLength = 100;
|
|
9728
9722
|
this.modalService.open(AddSectorModal);
|
|
9729
9723
|
this.utilityService.stopBlockUI();
|
|
@@ -16464,13 +16458,11 @@
|
|
|
16464
16458
|
_this.AddTitle.ArabicLabelKey = "TitleAR";
|
|
16465
16459
|
_this.AddTitle.EnglishLabelKey = "TitleEN";
|
|
16466
16460
|
_this.AddTitle.IsRequired = true;
|
|
16467
|
-
_this.AddTitle.Value = null;
|
|
16468
16461
|
_this.AddTitle.MaxLength = 100;
|
|
16469
16462
|
_this.AddDescription = new i6.MultiLingualTextAreaOptions();
|
|
16470
16463
|
_this.AddDescription.Name = "Description";
|
|
16471
16464
|
_this.AddDescription.ArabicLabelKey = "DescriptionInArabic";
|
|
16472
16465
|
_this.AddDescription.EnglishLabelKey = "DescriptionInEnglish";
|
|
16473
|
-
_this.AddDescription.Value = null;
|
|
16474
16466
|
_this.AddDescription.MultiControlPlacementType = i6.ControlLayout.Vertical;
|
|
16475
16467
|
_this.AddDescription.MaxLength = 1000;
|
|
16476
16468
|
_this.AddPermissionSetsOptions = new i6.DropdownOptions();
|
|
@@ -16711,7 +16703,7 @@
|
|
|
16711
16703
|
});
|
|
16712
16704
|
});
|
|
16713
16705
|
};
|
|
16714
|
-
//initialize Page filters
|
|
16706
|
+
//initialize Page filters
|
|
16715
16707
|
HelpCenterSecondlevelComponent.prototype.initializePage = function () {
|
|
16716
16708
|
// TextBox init
|
|
16717
16709
|
this.searchTextBox = new i6.TextBoxOptions();
|
|
@@ -16774,13 +16766,11 @@
|
|
|
16774
16766
|
this.AddTitle.ArabicLabelKey = "TitleAR";
|
|
16775
16767
|
this.AddTitle.EnglishLabelKey = "TitleEN";
|
|
16776
16768
|
this.AddTitle.IsRequired = true;
|
|
16777
|
-
this.AddTitle.Value = null;
|
|
16778
16769
|
this.AddTitle.MaxLength = 100;
|
|
16779
16770
|
this.AddDescription = new i6.MultiLingualTextAreaOptions();
|
|
16780
16771
|
this.AddDescription.Name = "Description";
|
|
16781
16772
|
this.AddDescription.ArabicLabelKey = "DescriptionInArabic";
|
|
16782
16773
|
this.AddDescription.EnglishLabelKey = "DescriptionInEnglish";
|
|
16783
|
-
this.AddDescription.Value = null;
|
|
16784
16774
|
this.AddDescription.MaxLength = 1000;
|
|
16785
16775
|
this.AddIsHidden = new i6.CheckBoxOptions();
|
|
16786
16776
|
this.AddIsHidden.Name = "IsHidden";
|
|
@@ -16953,7 +16943,7 @@
|
|
|
16953
16943
|
});
|
|
16954
16944
|
});
|
|
16955
16945
|
};
|
|
16956
|
-
//initialize Page filters
|
|
16946
|
+
//initialize Page filters
|
|
16957
16947
|
HelpCenterThirdlevelComponent.prototype.initializePage = function () {
|
|
16958
16948
|
// TextBox init
|
|
16959
16949
|
this.searchTextBox = new i6.TextBoxOptions();
|
|
@@ -17012,14 +17002,12 @@
|
|
|
17012
17002
|
this.AddTitle.ArabicLabelKey = "TitleAR";
|
|
17013
17003
|
this.AddTitle.EnglishLabelKey = "TitleEN";
|
|
17014
17004
|
this.AddTitle.IsRequired = true;
|
|
17015
|
-
this.AddTitle.Value = null;
|
|
17016
17005
|
this.AddTitle.MaxLength = 100;
|
|
17017
17006
|
this.AddContent = new i6.MultiLingualHtmlEditorOptions();
|
|
17018
17007
|
this.AddContent.Name = "Html";
|
|
17019
17008
|
this.AddContent.ArabicLabelKey = "ContentInArabic";
|
|
17020
17009
|
this.AddContent.EnglishLabelKey = "ContentInEnglish";
|
|
17021
17010
|
this.AddContent.IsRequired = true;
|
|
17022
|
-
this.AddContent.Value = null;
|
|
17023
17011
|
this.AddContent.MaxLength = 5000;
|
|
17024
17012
|
this.AddIsHidden = new i6.CheckBoxOptions();
|
|
17025
17013
|
this.AddIsHidden.Name = "IsHidden";
|
|
@@ -25430,13 +25418,13 @@
|
|
|
25430
25418
|
_this.addShowedChildQuestions(element_1.value);
|
|
25431
25419
|
debugger;
|
|
25432
25420
|
if (filteredItem.isAllowScoring)
|
|
25433
|
-
score = ((_a = filteredItem.questionOptions.filter(function (item) { return item.iD_GUID == element_1.value; })[0]) === null || _a === void 0 ? void 0 : _a.score) ? (_b = filteredItem.questionOptions) === null || _b === void 0 ? void 0 : _b.filter(function (item) { return item.iD_GUID == element_1.value; })[0].score :
|
|
25421
|
+
score = ((_a = filteredItem.questionOptions.filter(function (item) { return item.iD_GUID == element_1.value; })[0]) === null || _a === void 0 ? void 0 : _a.score) ? (_b = filteredItem.questionOptions) === null || _b === void 0 ? void 0 : _b.filter(function (item) { return item.iD_GUID == element_1.value; })[0].score : 0;
|
|
25434
25422
|
break;
|
|
25435
25423
|
case SurveyOptionType.RadioButton.toLocaleLowerCase():
|
|
25436
25424
|
item.SelectedIDs = [element_1.value];
|
|
25437
25425
|
_this.addShowedChildQuestions(element_1.value);
|
|
25438
25426
|
if (filteredItem.isAllowScoring)
|
|
25439
|
-
score = ((_c = filteredItem.questionOptions.filter(function (item) { return item.iD_GUID == element_1.value; })[0]) === null || _c === void 0 ? void 0 : _c.score) ? (_d = filteredItem.questionOptions) === null || _d === void 0 ? void 0 : _d.filter(function (item) { return item.iD_GUID == element_1.value; })[0].score :
|
|
25427
|
+
score = ((_c = filteredItem.questionOptions.filter(function (item) { return item.iD_GUID == element_1.value; })[0]) === null || _c === void 0 ? void 0 : _c.score) ? (_d = filteredItem.questionOptions) === null || _d === void 0 ? void 0 : _d.filter(function (item) { return item.iD_GUID == element_1.value; })[0].score : 0;
|
|
25440
25428
|
break;
|
|
25441
25429
|
case SurveyOptionType.MultipleSelect.toLocaleLowerCase():
|
|
25442
25430
|
item.SelectedIDs = element_1.value;
|
|
@@ -25607,6 +25595,12 @@
|
|
|
25607
25595
|
_this.previewSurveyOptions.OnSuccessHandler = _this.onSuccessDeleteHandler;
|
|
25608
25596
|
_this.previewSurveyOptions.DisableSuccessNotification = true;
|
|
25609
25597
|
_this.surveyInfo = res;
|
|
25598
|
+
if (_this.surveyInfo.declaration.english || _this.surveyInfo.declaration.arabic) {
|
|
25599
|
+
_this.declarationCheckBoxForm = new i6.CheckBoxOptions();
|
|
25600
|
+
_this.declarationCheckBoxForm.Name = "declaration";
|
|
25601
|
+
_this.declarationCheckBoxForm.LabelValue = _this.EN ? _this.surveyInfo.declaration.english : _this.surveyInfo.declaration.arabic;
|
|
25602
|
+
_this.declarationCheckBoxForm.IsRequired = true;
|
|
25603
|
+
}
|
|
25610
25604
|
_this.surveyFormField = new SurveyFormOptions();
|
|
25611
25605
|
_this.surveyFormField.Name = "SurveyFields";
|
|
25612
25606
|
_this.surveyFormField.Readonly = false;
|
|
@@ -25673,7 +25667,7 @@
|
|
|
25673
25667
|
return PreviewComponent;
|
|
25674
25668
|
}(i6.AppBaseComponent));
|
|
25675
25669
|
PreviewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PreviewComponent, deps: [{ token: i0__namespace.Injector }, { token: SurveyService }, { token: i1__namespace$1.ActivatedRoute }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
25676
|
-
PreviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: PreviewComponent, selector: "app-preview", viewQueries: [{ propertyName: "previewQuestionModal", first: true, predicate: ["PreviewQuestionModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<bbsf-page-header-component [options]=\"pageHeaderOptions\" ></bbsf-page-header-component>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"isDateLoaded\">\r\n
|
|
25670
|
+
PreviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: PreviewComponent, selector: "app-preview", viewQueries: [{ propertyName: "previewQuestionModal", first: true, predicate: ["PreviewQuestionModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<bbsf-page-header-component [options]=\"pageHeaderOptions\" ></bbsf-page-header-component>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"isDateLoaded\">\r\n <p class=\"card-description mt-0 mb-6\">\r\n {{EN?surveyInfo.description.english:surveyInfo.description.arabic}}\r\n </p>\r\n <div class=\"chart-container\">\r\n <BBSF-Form [options]=\"previewSurveyOptions\">\r\n <div class=\"preview-question\">\r\n <BBSF-RadioButton *ngIf=\"showAudienceType\" [options]=\"audienceTypeRadioButton\" (OnChange)=\"ChangeAudienceTypeValue($event)\" [group]=\"previewForm\"></BBSF-RadioButton>\r\n </div>\r\n <survey-form *ngIf=\"showInternal\" #previewQuestionModal [options]=\"surveyFormField\" [group]=\"previewForm\"></survey-form>\r\n <div class=\"external-form\" *ngIf=\"showExternal\">\r\n <BBSF-MultiLingualTextBox [options]=\"name\" [group]=\"previewForm\">\r\n </BBSF-MultiLingualTextBox>\r\n <BBSF-TextBox [options]=\"email\" [group]=\"previewForm\"></BBSF-TextBox>\r\n </div>\r\n <survey-form *ngIf=\"showExternal\" #previewQuestionModal [options]=\"surveyFormField\" [group]=\"previewForm\"></survey-form>\r\n <div class=\"survey-preview\" *ngIf=\"surveyInfo.declaration.english||surveyInfo.declaration.arabic\">\r\n <div class=\"survey-preview-data\">\r\n <span class=\"question-number\" ngbTooltip=\"Question Number\"></span>\r\n <div class=\"survey-preview-question\">\r\n <div class=\"survey-answer\">\r\n <BBSF-CheckBox [options]=\"declarationCheckBoxForm\" [group]=\"previewForm\"></BBSF-CheckBox>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex justify-content-end\">\r\n <button type=\"button\" class=\"btn btn-sm btn-light me-3\" [routerLink]=\"['../../../../info',surveyID]\">\r\n {{l(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" [disabled]=\"true\" class=\"btn btn-sm btn-brand \">{{l(\"Submit\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n\r\n </div>\r\n\r\n </div>\r\n</div>\r\n", components: [{ type: i6__namespace.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6__namespace.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6__namespace.RadioButtonComponent, selector: "BBSF-RadioButton", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: SurveyFormComponent, selector: "survey-form", inputs: ["group", "options"] }, { type: i6__namespace.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.CheckBoxComponent, selector: "BBSF-CheckBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { type: i1__namespace$1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }] });
|
|
25677
25671
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PreviewComponent, decorators: [{
|
|
25678
25672
|
type: i0.Component,
|
|
25679
25673
|
args: [{
|
|
@@ -25743,7 +25737,7 @@
|
|
|
25743
25737
|
return ResultQuestionComponent;
|
|
25744
25738
|
}(i6.AppBaseComponent));
|
|
25745
25739
|
ResultQuestionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ResultQuestionComponent, deps: [{ token: i0__namespace.Injector }, { token: SurveyService }, { token: i1__namespace$1.ActivatedRoute }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
25746
|
-
ResultQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ResultQuestionComponent, selector: "app-result", viewQueries: [{ propertyName: "previewQuestionModal", first: true, predicate: ["PreviewQuestionModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<!--toolbar-->\r\n<bbsf-page-header-component [options]=\"pageHeaderOptions\" ></bbsf-page-header-component>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"isDateLoaded\">\r\n <div class=\"
|
|
25740
|
+
ResultQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ResultQuestionComponent, selector: "app-result", viewQueries: [{ propertyName: "previewQuestionModal", first: true, predicate: ["PreviewQuestionModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<!--toolbar-->\r\n<bbsf-page-header-component [options]=\"pageHeaderOptions\" ></bbsf-page-header-component>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"isDateLoaded\">\r\n <div class=\"card-data flex-column\">\r\n <div class=\"card-item mb-5\">\r\n <div class=\"symbol symbol-35px me-4\">\r\n <span class=\"user-initials-circle\"> {{calculateInitials(surveySubmissionInfo.localizedUserName)}} </span>\r\n </div>\r\n <div class=\"card-text\">\r\n <h4 class=\"card-value\">\r\n {{surveySubmissionInfo.localizedUserName}}\r\n </h4>\r\n <div class=\"card-subtext\">\r\n {{l('Score')}} :\r\n <span class=\"badge badge-square badge-brand ms-2 badge-xs badge-sm\">\r\n {{surveySubmissionInfo.averageScore}}\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"icon-boxes\">\r\n <div class=\"icon-box\" ngbTooltip=\"{{l('Date')}}\">\r\n <div class=\"symbol\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-4\" [inlineSVG]=\"'/assets/images/calendar.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <span class=\"sub-text\" style=\" white-space: nowrap;\">\r\n {{surveySubmissionInfo.createdDate|surveyDate}}\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-item bg-white border-gray-300 border\">\r\n <BBSF-Form [options]=\"previewSurveyOptions\" class=\"w-100\">\r\n <survey-form #previewQuestionModal [options]=\"surveyFormField\" [group]=\"surveySubmissionForm\"></survey-form>\r\n </BBSF-Form>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: i6__namespace.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6__namespace.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: SurveyFormComponent, selector: "survey-form", inputs: ["group", "options"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }], pipes: { "surveyDate": SurveyDatePipe } });
|
|
25747
25741
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ResultQuestionComponent, decorators: [{
|
|
25748
25742
|
type: i0.Component,
|
|
25749
25743
|
args: [{
|
|
@@ -25999,7 +25993,7 @@
|
|
|
25999
25993
|
_this.changeHasSectorOrDepartment(_this.model.hasSectorOrDepartment);
|
|
26000
25994
|
_this.sector.SelectedItems = _this.model.selectedSectorIDs;
|
|
26001
25995
|
_this.department.SelectedItems = _this.model.selectedDepartmentIDs;
|
|
26002
|
-
_this.openModal(_this.modal, '
|
|
25996
|
+
_this.openModal(_this.modal, 'xl');
|
|
26003
25997
|
});
|
|
26004
25998
|
};
|
|
26005
25999
|
EditSurveyComponent.prototype.changeAudience = function (key) {
|
|
@@ -26020,7 +26014,7 @@
|
|
|
26020
26014
|
break;
|
|
26021
26015
|
case AudienceType.External:
|
|
26022
26016
|
this.showHasSectorOrDepartment = false;
|
|
26023
|
-
this.showHasCaptcha =
|
|
26017
|
+
this.showHasCaptcha = true;
|
|
26024
26018
|
this.department.SelectedItems = [];
|
|
26025
26019
|
this.sector.SelectedItems = [];
|
|
26026
26020
|
this.showDepartment = false;
|
|
@@ -26689,7 +26683,7 @@
|
|
|
26689
26683
|
return AddQuestionComponent;
|
|
26690
26684
|
}(i6.AppBaseComponent));
|
|
26691
26685
|
AddQuestionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AddQuestionComponent, deps: [{ token: i0__namespace.Injector }, { token: SurveyQuestionService }, { token: i2__namespace.NgWizardService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
26692
|
-
AddQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: AddQuestionComponent, selector: "app-add-question", inputs: { pagingElement: "pagingElement" }, viewQueries: [{ propertyName: "AddModal", first: true, predicate: ["AddModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #AddModal let-modal>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title\">\r\n {{l(\"Add_Question\")}}\r\n </h4>\r\n <button type=\"button\" data-dismiss=\"modal\" class=\"btn btn-icon btn-sm\" (click)=\"modal.dismiss()\">\r\n <div class=\"svg-icon svg-icon-1 svg-icon-hover-brand\" [inlineSVG]=\"'/assets/images/modalclose.svg'\">\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <BBSF-Form [options]=\"addSurveyQuestionFormOptions\">\r\n <BBSF-MultiLingualTextBox [options]=\"addQuestion\" [group]=\"addModelForm\"></BBSF-MultiLingualTextBox>\r\n <BBSF-MultiLingualTextArea [options]=\"addDescription\" [group]=\"addModelForm\"></BBSF-MultiLingualTextArea>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"audienceTypeID==audienceType.Both\">\r\n <BBSF-DropdownList [options]=\"audience\" [group]=\"addModelForm\"></BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"addQuestionType\" [group]=\"addModelForm\" (OnChange)=\"changeDataType($event)\">\r\n </BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"addSize\" [group]=\"addModelForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isSelect\" >\r\n <BBSF-Toggleslide [options]=\"addAllowScore\" [group]=\"addModelForm\" (OnChange)=\"changeScoring($event)\"></BBSF-Toggleslide>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-Toggleslide [options]=\"addIsActive\" [group]=\"addModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n <div class=\"col-md-6 col-sm-6\">\r\n <BBSF-Toggleslide [options]=\"addRequired\" [group]=\"addModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"isText||isNumber\">\r\n <BBSF-TextBox [options]=\"addMinLength\" *ngIf=\"isText||isNumber\" [group]=\"addModelForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isText||isNumber\">\r\n <BBSF-TextBox [options]=\"addMaxLength\" *ngIf=\"isText||isNumber\" [group]=\"addModelForm\"></BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"isFile||isMultiFile||isImage\">\r\n <BBSF-TextBox [options]=\"addMaxFileSize\" *ngIf=\"isFile||isMultiFile||isImage\" [group]=\"addModelForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isMultiFile\">\r\n <BBSF-TextBox [options]=\"addMaxFileCount\" *ngIf=\"isMultiFile\" [group]=\"addModelForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isFile||isMultiFile\">\r\n <BBSF-DropdownList [options]=\"addFilesExtensions\" *ngIf=\"isFile||isMultiFile\" [group]=\"addModelForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"isSelect\" class=\"question-type-option\">\r\n <h5 class=\"mb-4\">{{l('Options')}}</h5>\r\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\" *ngIf=\"showOptionList\">\r\n <div class=\"card card-listing\" *ngFor=\"let Option of optionList;\" cdkDrag>\r\n <div class=\"card-header mb-0\">\r\n <div class=\"title fs-6 fw-bolder\">\r\n {{getCurrentFailOver(Option.Name)}}\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <span class=\"badge badge-square badge-dark me-4\" *ngIf=\"showScoreOption\" ngbTooltip=\"{{l('Score')}}\">\r\n {{Option.Score}}</span>\r\n \r\n <div class=\"badge badge-square badge-brand cursor-pointer me-4\" *ngIf=\"Option.LinkedQuestions?.length>0\" ngbTooltip=\"{{getLinkedQuestions(Option)}}\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n </div>\r\n \r\n <div class=\"badge badge-square badge-brand cursor-pointer me-4\" (click)=\"editOption(Option)\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" ngbTooltip=\"{{l('Edit')}}\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n </div>\r\n <div class=\"badge badge-square badge-danger cursor-pointer\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" ngbTooltip=\"{{l('Delete')}}\" [inlineSVG]=\"'/assets/images/Trash.svg'\"\r\n (click)=\"deleteOption(Option)\" apppreventdoubleclick>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n </div>\r\n </div>\r\n <div class=\"required-text alert-danger\" *ngIf=\"errorMessage\">\r\n <span class=\"svg-icon svg-icon-2tx svg-icon-danger me-4\"\r\n [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n <div class=\"fw-bold\">\r\n <div class=\"fs-6 text-danger\">{{errorMessage}}</div>\r\n </div>\r\n </div>\r\n <div class=\"repeater-bg\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"addNameOption\" [group]=\"addOptionForm\"></BBSF-MultiLingualTextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"addOptionLinkedQuestions\" [group]=\"addOptionForm\">\r\n </BBSF-DropdownList>\r\n <BBSF-TextBox [options]=\"displayOrderOption\" [group]=\"addOptionForm\" hidden></BBSF-TextBox>\r\n\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"showScoreOption\">\r\n <BBSF-TextBox [options]=\"scoreNumber\" [group]=\"addOptionForm\"></BBSF-TextBox>\r\n </div>\r\n\r\n </div>\r\n <button type=\"button\" (click)=\"AddOption()\" *ngIf=\"!isOptionInEditMode\" class=\"btn btn-sm btn-brand w-100\">{{l(\"Add\")}}</button>\r\n <button type=\"button\" (click)=\"AddOption()\" *ngIf=\"isOptionInEditMode\" class=\"btn btn-sm btn-brand w-100\">{{l(\"Edit\")}}</button>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"modal-footer pb-0 m-0\" >\r\n <button type=\"button\" class=\"btn btn-sm btn-light\" (click)=\"modal.dismiss()\">\r\n {{l(\"Cancel\")}}\r\n </button>\r\n <button appPreventDoubleClick type=\"submit\" class=\"btn btn-sm btn-brand\">{{l(\"Save\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n\r\n</ng-template>\r\n", components: [{ type: i6__namespace.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6__namespace.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.MultiLingualTextAreaComponent, selector: "BBSF-MultiLingualTextArea", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.DropdownListComponent, selector: "BBSF-DropdownList", inputs: ["group", "options"], outputs: ["OnChange", "onClear"] }, { type: i6__namespace.ToggleslideComponent, selector: "BBSF-Toggleslide", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i20__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }] });
|
|
26686
|
+
AddQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: AddQuestionComponent, selector: "app-add-question", inputs: { pagingElement: "pagingElement", onSuccessAddHandler: "onSuccessAddHandler" }, viewQueries: [{ propertyName: "AddModal", first: true, predicate: ["AddModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #AddModal let-modal>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title\">\r\n {{l(\"Add_Question\")}}\r\n </h4>\r\n <button type=\"button\" data-dismiss=\"modal\" class=\"btn btn-icon btn-sm\" (click)=\"modal.dismiss()\">\r\n <div class=\"svg-icon svg-icon-1 svg-icon-hover-brand\" [inlineSVG]=\"'/assets/images/modalclose.svg'\">\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <BBSF-Form [options]=\"addSurveyQuestionFormOptions\">\r\n <BBSF-MultiLingualTextBox [options]=\"addQuestion\" [group]=\"addModelForm\"></BBSF-MultiLingualTextBox>\r\n <BBSF-MultiLingualTextArea [options]=\"addDescription\" [group]=\"addModelForm\"></BBSF-MultiLingualTextArea>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"audienceTypeID==audienceType.Both\">\r\n <BBSF-DropdownList [options]=\"audience\" [group]=\"addModelForm\"></BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"addQuestionType\" [group]=\"addModelForm\" (OnChange)=\"changeDataType($event)\">\r\n </BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"addSize\" [group]=\"addModelForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isSelect\" >\r\n <BBSF-Toggleslide [options]=\"addAllowScore\" [group]=\"addModelForm\" (OnChange)=\"changeScoring($event)\"></BBSF-Toggleslide>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-Toggleslide [options]=\"addIsActive\" [group]=\"addModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n <div class=\"col-md-6 col-sm-6\">\r\n <BBSF-Toggleslide [options]=\"addRequired\" [group]=\"addModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"isText||isNumber\">\r\n <BBSF-TextBox [options]=\"addMinLength\" *ngIf=\"isText||isNumber\" [group]=\"addModelForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isText||isNumber\">\r\n <BBSF-TextBox [options]=\"addMaxLength\" *ngIf=\"isText||isNumber\" [group]=\"addModelForm\"></BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"isFile||isMultiFile||isImage\">\r\n <BBSF-TextBox [options]=\"addMaxFileSize\" *ngIf=\"isFile||isMultiFile||isImage\" [group]=\"addModelForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isMultiFile\">\r\n <BBSF-TextBox [options]=\"addMaxFileCount\" *ngIf=\"isMultiFile\" [group]=\"addModelForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isFile||isMultiFile\">\r\n <BBSF-DropdownList [options]=\"addFilesExtensions\" *ngIf=\"isFile||isMultiFile\" [group]=\"addModelForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"isSelect\" class=\"question-type-option\">\r\n <h5 class=\"mb-4\">{{l('Options')}}</h5>\r\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\" *ngIf=\"showOptionList\">\r\n <div class=\"card card-listing\" *ngFor=\"let Option of optionList;\" cdkDrag>\r\n <div class=\"card-header mb-0\">\r\n <div class=\"title fs-6 fw-bolder\">\r\n {{getCurrentFailOver(Option.Name)}}\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <span class=\"badge badge-square badge-dark me-4\" *ngIf=\"showScoreOption\" ngbTooltip=\"{{l('Score')}}\">\r\n {{Option.Score}}</span>\r\n \r\n <div class=\"badge badge-square badge-brand cursor-pointer me-4\" *ngIf=\"Option.LinkedQuestions?.length>0\" ngbTooltip=\"{{getLinkedQuestions(Option)}}\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n </div>\r\n \r\n <div class=\"badge badge-square badge-brand cursor-pointer me-4\" (click)=\"editOption(Option)\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" ngbTooltip=\"{{l('Edit')}}\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n </div>\r\n <div class=\"badge badge-square badge-danger cursor-pointer\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" ngbTooltip=\"{{l('Delete')}}\" [inlineSVG]=\"'/assets/images/Trash.svg'\"\r\n (click)=\"deleteOption(Option)\" apppreventdoubleclick>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n </div>\r\n </div>\r\n <div class=\"required-text alert-danger\" *ngIf=\"errorMessage\">\r\n <span class=\"svg-icon svg-icon-2tx svg-icon-danger me-4\"\r\n [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n <div class=\"fw-bold\">\r\n <div class=\"fs-6 text-danger\">{{errorMessage}}</div>\r\n </div>\r\n </div>\r\n <div class=\"repeater-bg\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"addNameOption\" [group]=\"addOptionForm\"></BBSF-MultiLingualTextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"addOptionLinkedQuestions\" [group]=\"addOptionForm\">\r\n </BBSF-DropdownList>\r\n <BBSF-TextBox [options]=\"displayOrderOption\" [group]=\"addOptionForm\" hidden></BBSF-TextBox>\r\n\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"showScoreOption\">\r\n <BBSF-TextBox [options]=\"scoreNumber\" [group]=\"addOptionForm\"></BBSF-TextBox>\r\n </div>\r\n\r\n </div>\r\n <button type=\"button\" (click)=\"AddOption()\" *ngIf=\"!isOptionInEditMode\" class=\"btn btn-sm btn-brand w-100\">{{l(\"Add\")}}</button>\r\n <button type=\"button\" (click)=\"AddOption()\" *ngIf=\"isOptionInEditMode\" class=\"btn btn-sm btn-brand w-100\">{{l(\"Edit\")}}</button>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"modal-footer pb-0 m-0\" >\r\n <button type=\"button\" class=\"btn btn-sm btn-light\" (click)=\"modal.dismiss()\">\r\n {{l(\"Cancel\")}}\r\n </button>\r\n <button appPreventDoubleClick type=\"submit\" class=\"btn btn-sm btn-brand\">{{l(\"Save\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n\r\n</ng-template>\r\n", components: [{ type: i6__namespace.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6__namespace.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.MultiLingualTextAreaComponent, selector: "BBSF-MultiLingualTextArea", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.DropdownListComponent, selector: "BBSF-DropdownList", inputs: ["group", "options"], outputs: ["OnChange", "onClear"] }, { type: i6__namespace.ToggleslideComponent, selector: "BBSF-Toggleslide", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i20__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }] });
|
|
26693
26687
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AddQuestionComponent, decorators: [{
|
|
26694
26688
|
type: i0.Component,
|
|
26695
26689
|
args: [{
|
|
@@ -26701,6 +26695,8 @@
|
|
|
26701
26695
|
args: ['AddModal', { static: false }]
|
|
26702
26696
|
}], pagingElement: [{
|
|
26703
26697
|
type: i0.Input
|
|
26698
|
+
}], onSuccessAddHandler: [{
|
|
26699
|
+
type: i0.Input
|
|
26704
26700
|
}] } });
|
|
26705
26701
|
|
|
26706
26702
|
var EditQuestionComponent = /** @class */ (function (_super) {
|
|
@@ -27304,7 +27300,7 @@
|
|
|
27304
27300
|
return EditQuestionComponent;
|
|
27305
27301
|
}(i6.AppBaseComponent));
|
|
27306
27302
|
EditQuestionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EditQuestionComponent, deps: [{ token: i0__namespace.Injector }, { token: SurveyQuestionService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
27307
|
-
EditQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: EditQuestionComponent, selector: "app-edit-question", inputs: { pagingElement: "pagingElement" }, viewQueries: [{ propertyName: "EditModal", first: true, predicate: ["EditModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #EditModal let-modal>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title\" *ngIf=\"!isViewOnly\">\r\n {{l(\"Edit_Question\")}}\r\n </h4>\r\n <h4 class=\"modal-title\" *ngIf=\"isViewOnly\">\r\n {{l(\"Details\")}}\r\n </h4>\r\n <button type=\"button\" data-dismiss=\"modal\" class=\"btn btn-icon btn-sm\" (click)=\"modal.dismiss()\">\r\n <div class=\"svg-icon svg-icon-1 svg-icon-hover-brand\" [inlineSVG]=\"'/assets/images/modalclose.svg'\">\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <BBSF-Form [options]=\"editSurveyQuestionFormOptions\" (OnChange)=\"changeFormStatus($event)\">\r\n <BBSF-MultiLingualTextBox [options]=\"editQuestion\" [group]=\"editModelForm\"></BBSF-MultiLingualTextBox>\r\n <BBSF-MultiLingualTextArea [options]=\"editDescription\" [group]=\"editModelForm\"></BBSF-MultiLingualTextArea>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"surveyAudienceTypeID==audienceType.Both\">\r\n <BBSF-DropdownList [options]=\"audience\" [group]=\"editModelForm\"></BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"editQuestionType\" [group]=\"editModelForm\" (OnChange)=\"changeDataType($event)\">\r\n </BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"editSize\" [group]=\"editModelForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isSelect\" >\r\n <BBSF-Toggleslide [options]=\"editAllowScore\" [group]=\"editModelForm\" (OnChange)=\"changeScoring($event)\"></BBSF-Toggleslide>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-Toggleslide [options]=\"editIsActive\" [group]=\"editModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n <div class=\"col-md-6 col-sm-6\">\r\n <BBSF-Toggleslide [options]=\"editRequired\" [group]=\"editModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"isText||isNumber\">\r\n <BBSF-TextBox [options]=\"editMinLength\" *ngIf=\"isText||isNumber\" [group]=\"editModelForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isText||isNumber\">\r\n <BBSF-TextBox [options]=\"editMaxLength\" *ngIf=\"isText||isNumber\" [group]=\"editModelForm\"></BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"isFile||isMultiFile||isImage\">\r\n <BBSF-TextBox [options]=\"editMaxFileSize\" *ngIf=\"isFile||isMultiFile||isImage\" [group]=\"editModelForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isMultiFile\">\r\n <BBSF-TextBox [options]=\"editMaxFileCount\" *ngIf=\"isMultiFile\" [group]=\"editModelForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isFile||isMultiFile\">\r\n <BBSF-DropdownList [options]=\"editFilesExtensions\" *ngIf=\"isFile||isMultiFile\" [group]=\"editModelForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <!-- <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-TextBox [options]=\"editDisplayOrder\" [group]=\"editModelForm\"></BBSF-TextBox>\r\n </div>\r\n </div> -->\r\n\r\n <div *ngIf=\"isSelect\" class=\"question-type-option\">\r\n <h5>{{l('Options')}}</h5>\r\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"card card-listing\" *ngFor=\"let Option of optionList;\" cdkDrag>\r\n <div class=\"card-header mb-0\">\r\n <div class=\"title fs-6 fw-bolder\">\r\n {{getCurrentFailOver(Option.Name)}}\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <span class=\"badge badge-square badge-dark me-4\" *ngIf=\"showScoreOption\" ngbTooltip=\"{{l('Score')}}\">\r\n {{Option.Score}}</span>\r\n \r\n <div class=\"badge badge-square badge-brand cursor-pointer me-4\" *ngIf=\"Option.LinkedQuestions?.length>0\" ngbTooltip=\"{{getLinkedQuestions(Option)}}\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n </div>\r\n \r\n <div class=\"badge badge-square badge-brand cursor-pointer me-4\" (click)=\"editOption(Option)\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" ngbTooltip=\"{{l('Edit')}}\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n </div>\r\n <div class=\"badge badge-square badge-danger cursor-pointer\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" ngbTooltip=\"{{l('Delete')}}\" [inlineSVG]=\"'/assets/images/Trash.svg'\"\r\n (click)=\"deleteOption(Option)\" apppreventdoubleclick>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"required-text alert-danger\" *ngIf=\"errorMessage\">\r\n <span class=\"svg-icon svg-icon-2tx svg-icon-danger me-4\"\r\n [inlineSVG]=\"'/assets/images/info.svg'\">\r\n\r\n </span>\r\n <div class=\"fw-bold\">\r\n <div class=\"fs-6 text-danger\">{{errorMessage}}</div>\r\n </div>\r\n </div>\r\n <div class=\"repeater-bg\" *ngIf=\"!isViewOnly\">\r\n <div class=\"row\">\r\n <BBSF-TextBox hidden=\"true\" [options]=\"editOptionId\" [group]=\"editOptionForm\">\r\n </BBSF-TextBox>\r\n\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"editNameOption\" [group]=\"editOptionForm\"></BBSF-MultiLingualTextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"editOptionLinkedQuestions\" [group]=\"editOptionForm\">\r\n </BBSF-DropdownList>\r\n <BBSF-TextBox [options]=\"displayOrderOption\" [group]=\"editOptionForm\" hidden></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"idOption\" [group]=\"editOptionForm\" hidden></BBSF-TextBox>\r\n\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"showScoreOption\">\r\n <BBSF-TextBox [options]=\"scoreNumber\" [group]=\"editOptionForm\"></BBSF-TextBox>\r\n </div>\r\n\r\n </div>\r\n <button type=\"button\" (click)=\"addOption()\" *ngIf=\"!isOptionInEditMode\" class=\"btn btn-sm btn-brand w-100\">{{l(\"Add\")}}</button>\r\n <button type=\"button\" (click)=\"addOption()\" *ngIf=\"isOptionInEditMode\" class=\"btn btn-sm btn-brand w-100\">{{l(\"Edit\")}}</button>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"modal-footer pb-0 m-0\" >\r\n <button type=\"button\" class=\"btn btn-sm btn-light\" (click)=\"modal.dismiss()\">\r\n {{l(\"Cancel\")}}\r\n </button>\r\n <button appPreventDoubleClick type=\"submit\" [disabled]=\"!isEditFormChange\" *ngIf=\"!isViewOnly\" class=\"btn btn-sm btn-brand\">{{l(\"Save\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n\r\n</ng-template>\r\n", components: [{ type: i6__namespace.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6__namespace.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.MultiLingualTextAreaComponent, selector: "BBSF-MultiLingualTextArea", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.DropdownListComponent, selector: "BBSF-DropdownList", inputs: ["group", "options"], outputs: ["OnChange", "onClear"] }, { type: i6__namespace.ToggleslideComponent, selector: "BBSF-Toggleslide", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i20__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }] });
|
|
27303
|
+
EditQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: EditQuestionComponent, selector: "app-edit-question", inputs: { pagingElement: "pagingElement", onSuccessEditHandler: "onSuccessEditHandler" }, viewQueries: [{ propertyName: "EditModal", first: true, predicate: ["EditModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #EditModal let-modal>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title\" *ngIf=\"!isViewOnly\">\r\n {{l(\"Edit_Question\")}}\r\n </h4>\r\n <h4 class=\"modal-title\" *ngIf=\"isViewOnly\">\r\n {{l(\"Details\")}}\r\n </h4>\r\n <button type=\"button\" data-dismiss=\"modal\" class=\"btn btn-icon btn-sm\" (click)=\"modal.dismiss()\">\r\n <div class=\"svg-icon svg-icon-1 svg-icon-hover-brand\" [inlineSVG]=\"'/assets/images/modalclose.svg'\">\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <BBSF-Form [options]=\"editSurveyQuestionFormOptions\" (OnChange)=\"changeFormStatus($event)\">\r\n <BBSF-MultiLingualTextBox [options]=\"editQuestion\" [group]=\"editModelForm\"></BBSF-MultiLingualTextBox>\r\n <BBSF-MultiLingualTextArea [options]=\"editDescription\" [group]=\"editModelForm\"></BBSF-MultiLingualTextArea>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"surveyAudienceTypeID==audienceType.Both\">\r\n <BBSF-DropdownList [options]=\"audience\" [group]=\"editModelForm\"></BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"editQuestionType\" [group]=\"editModelForm\" (OnChange)=\"changeDataType($event)\">\r\n </BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"editSize\" [group]=\"editModelForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isSelect\" >\r\n <BBSF-Toggleslide [options]=\"editAllowScore\" [group]=\"editModelForm\" (OnChange)=\"changeScoring($event)\"></BBSF-Toggleslide>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-Toggleslide [options]=\"editIsActive\" [group]=\"editModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n <div class=\"col-md-6 col-sm-6\">\r\n <BBSF-Toggleslide [options]=\"editRequired\" [group]=\"editModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"isText||isNumber\">\r\n <BBSF-TextBox [options]=\"editMinLength\" *ngIf=\"isText||isNumber\" [group]=\"editModelForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isText||isNumber\">\r\n <BBSF-TextBox [options]=\"editMaxLength\" *ngIf=\"isText||isNumber\" [group]=\"editModelForm\"></BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" *ngIf=\"isFile||isMultiFile||isImage\">\r\n <BBSF-TextBox [options]=\"editMaxFileSize\" *ngIf=\"isFile||isMultiFile||isImage\" [group]=\"editModelForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isMultiFile\">\r\n <BBSF-TextBox [options]=\"editMaxFileCount\" *ngIf=\"isMultiFile\" [group]=\"editModelForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"isFile||isMultiFile\">\r\n <BBSF-DropdownList [options]=\"editFilesExtensions\" *ngIf=\"isFile||isMultiFile\" [group]=\"editModelForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <!-- <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-TextBox [options]=\"editDisplayOrder\" [group]=\"editModelForm\"></BBSF-TextBox>\r\n </div>\r\n </div> -->\r\n\r\n <div *ngIf=\"isSelect\" class=\"question-type-option\">\r\n <h5>{{l('Options')}}</h5>\r\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"card card-listing\" *ngFor=\"let Option of optionList;\" cdkDrag>\r\n <div class=\"card-header mb-0\">\r\n <div class=\"title fs-6 fw-bolder\">\r\n {{getCurrentFailOver(Option.Name)}}\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <span class=\"badge badge-square badge-dark me-4\" *ngIf=\"showScoreOption\" ngbTooltip=\"{{l('Score')}}\">\r\n {{Option.Score}}</span>\r\n \r\n <div class=\"badge badge-square badge-brand cursor-pointer me-4\" *ngIf=\"Option.LinkedQuestions?.length>0\" ngbTooltip=\"{{getLinkedQuestions(Option)}}\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n </div>\r\n \r\n <div class=\"badge badge-square badge-brand cursor-pointer me-4\" (click)=\"editOption(Option)\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" ngbTooltip=\"{{l('Edit')}}\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n </div>\r\n <div class=\"badge badge-square badge-danger cursor-pointer\">\r\n <span class=\"svg-icon svg-icon-4 svg-icon-white\" ngbTooltip=\"{{l('Delete')}}\" [inlineSVG]=\"'/assets/images/Trash.svg'\"\r\n (click)=\"deleteOption(Option)\" apppreventdoubleclick>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"required-text alert-danger\" *ngIf=\"errorMessage\">\r\n <span class=\"svg-icon svg-icon-2tx svg-icon-danger me-4\"\r\n [inlineSVG]=\"'/assets/images/info.svg'\">\r\n\r\n </span>\r\n <div class=\"fw-bold\">\r\n <div class=\"fs-6 text-danger\">{{errorMessage}}</div>\r\n </div>\r\n </div>\r\n <div class=\"repeater-bg\" *ngIf=\"!isViewOnly\">\r\n <div class=\"row\">\r\n <BBSF-TextBox hidden=\"true\" [options]=\"editOptionId\" [group]=\"editOptionForm\">\r\n </BBSF-TextBox>\r\n\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"editNameOption\" [group]=\"editOptionForm\"></BBSF-MultiLingualTextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-DropdownList [options]=\"editOptionLinkedQuestions\" [group]=\"editOptionForm\">\r\n </BBSF-DropdownList>\r\n <BBSF-TextBox [options]=\"displayOrderOption\" [group]=\"editOptionForm\" hidden></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"idOption\" [group]=\"editOptionForm\" hidden></BBSF-TextBox>\r\n\r\n </div>\r\n <div class=\"col-md-6\" *ngIf=\"showScoreOption\">\r\n <BBSF-TextBox [options]=\"scoreNumber\" [group]=\"editOptionForm\"></BBSF-TextBox>\r\n </div>\r\n\r\n </div>\r\n <button type=\"button\" (click)=\"addOption()\" *ngIf=\"!isOptionInEditMode\" class=\"btn btn-sm btn-brand w-100\">{{l(\"Add\")}}</button>\r\n <button type=\"button\" (click)=\"addOption()\" *ngIf=\"isOptionInEditMode\" class=\"btn btn-sm btn-brand w-100\">{{l(\"Edit\")}}</button>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"modal-footer pb-0 m-0\" >\r\n <button type=\"button\" class=\"btn btn-sm btn-light\" (click)=\"modal.dismiss()\">\r\n {{l(\"Cancel\")}}\r\n </button>\r\n <button appPreventDoubleClick type=\"submit\" [disabled]=\"!isEditFormChange\" *ngIf=\"!isViewOnly\" class=\"btn btn-sm btn-brand\">{{l(\"Save\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n\r\n</ng-template>\r\n", components: [{ type: i6__namespace.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6__namespace.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.MultiLingualTextAreaComponent, selector: "BBSF-MultiLingualTextArea", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.DropdownListComponent, selector: "BBSF-DropdownList", inputs: ["group", "options"], outputs: ["OnChange", "onClear"] }, { type: i6__namespace.ToggleslideComponent, selector: "BBSF-Toggleslide", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i20__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }] });
|
|
27308
27304
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EditQuestionComponent, decorators: [{
|
|
27309
27305
|
type: i0.Component,
|
|
27310
27306
|
args: [{
|
|
@@ -27316,6 +27312,8 @@
|
|
|
27316
27312
|
args: ['EditModal', { static: false }]
|
|
27317
27313
|
}], pagingElement: [{
|
|
27318
27314
|
type: i0.Input
|
|
27315
|
+
}], onSuccessEditHandler: [{
|
|
27316
|
+
type: i0.Input
|
|
27319
27317
|
}] } });
|
|
27320
27318
|
|
|
27321
27319
|
var DeleteQuestionComponent = /** @class */ (function (_super) {
|
|
@@ -27459,7 +27457,7 @@
|
|
|
27459
27457
|
return PublishSurveyComponent;
|
|
27460
27458
|
}(i6.AppBaseComponent));
|
|
27461
27459
|
PublishSurveyComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PublishSurveyComponent, deps: [{ token: i0__namespace.Injector }, { token: SurveyService }, { token: i9__namespace.DatePipe }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
27462
|
-
PublishSurveyComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: PublishSurveyComponent, selector: "app-publish-survey", inputs: { pagingElement: "pagingElement", showToggle: "showToggle", onSuccessHandler: "onSuccessHandler" }, viewQueries: [{ propertyName: "modal", first: true, predicate: ["PublishModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #PublishModal let-modal>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title\">\r\n {{l(\"Publish_Survey\")}}\r\n </h4>\r\n <button type=\"button\" data-dismiss=\"modal\" class=\"btn btn-icon btn-sm\" (click)=\"modal.dismiss()\">\r\n <div class=\"svg-icon svg-icon-1 svg-icon-hover-brand\" [inlineSVG]=\"'/assets/images/modalclose.svg'\"></div>\r\n </button>\r\n </div>\r\n <BBSF-Form [options]=\"PublishSurveyOptions\">\r\n <div class=\"modal-body\">\r\n <div class=\"
|
|
27460
|
+
PublishSurveyComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: PublishSurveyComponent, selector: "app-publish-survey", inputs: { pagingElement: "pagingElement", showToggle: "showToggle", onSuccessHandler: "onSuccessHandler" }, viewQueries: [{ propertyName: "modal", first: true, predicate: ["PublishModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #PublishModal let-modal>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title\">\r\n {{l(\"Publish_Survey\")}}\r\n </h4>\r\n <button type=\"button\" data-dismiss=\"modal\" class=\"btn btn-icon btn-sm\" (click)=\"modal.dismiss()\">\r\n <div class=\"svg-icon svg-icon-1 svg-icon-hover-brand\" [inlineSVG]=\"'/assets/images/modalclose.svg'\"></div>\r\n </button>\r\n </div>\r\n <BBSF-Form [options]=\"PublishSurveyOptions\">\r\n <div class=\"modal-body\">\r\n <div class=\"survey-alert-danger alert-danger\" *ngIf=\"errorMessage\">\r\n <span class=\"svg-icon svg-icon-2tx svg-icon-danger me-4\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n <div class=\"fw-bold\"><div class=\"fs-7 text-danger\">{{errorMessage}}</div></div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <BBSF-DateTimePicker [options]=\"addStartDate\" [group]=\"addModelForm\"></BBSF-DateTimePicker>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <BBSF-DateTimePicker [options]=\"addEndDate\" [group]=\"addModelForm\"></BBSF-DateTimePicker>\r\n </div>\r\n </div>\r\n <div class=\"row\" *ngIf=\"showToggle\">\r\n <div class=\"col-md-6\">\r\n <BBSF-Toggleslide [options]=\"showScoreToUser\" [group]=\"addModelForm\"></BBSF-Toggleslide>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-sm btn-light\" (click)=\"modal.dismiss()\">\r\n {{l(\"CancelLabel\")}}\r\n </button>\r\n <button appPreventDoubleClick type=\"submit\" [disabled]=\"disablePublishButton\" class=\"btn btn-sm btn-brand\">{{l(\"Publish\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n</ng-template>\r\n", components: [{ type: i6__namespace.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6__namespace.DateInputComponent, selector: "BBSF-DateTimePicker", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.ToggleslideComponent, selector: "BBSF-Toggleslide", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
27463
27461
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PublishSurveyComponent, decorators: [{
|
|
27464
27462
|
type: i0.Component,
|
|
27465
27463
|
args: [{
|
|
@@ -27795,6 +27793,18 @@
|
|
|
27795
27793
|
_this.utilityService.notifySuccessMessage(_this.l("RecordDeleted"), null, null, false);
|
|
27796
27794
|
_this.router.navigate(["../../"], { relativeTo: _this.activatedRoute });
|
|
27797
27795
|
};
|
|
27796
|
+
_this.onSuccessAddQuestionHandler = function (success) {
|
|
27797
|
+
_this.utilityService.notifySuccessMessage(_this.l("RecordAdded"), null, null, false);
|
|
27798
|
+
_this.masterLayoutService.reloadComponent();
|
|
27799
|
+
};
|
|
27800
|
+
_this.onSuccessEditQuestionHandler = function (success) {
|
|
27801
|
+
_this.utilityService.notifySuccessMessage(_this.l("RecordUpdated"), null, null, false);
|
|
27802
|
+
_this.masterLayoutService.reloadComponent();
|
|
27803
|
+
};
|
|
27804
|
+
_this.onSuccessDeleteQuestionHandler = function (success) {
|
|
27805
|
+
_this.utilityService.notifySuccessMessage(_this.l("RecordDeleted"), null, null, false);
|
|
27806
|
+
_this.masterLayoutService.reloadComponent();
|
|
27807
|
+
};
|
|
27798
27808
|
_this.showDeleteSubmissionModal = function (id) {
|
|
27799
27809
|
_this.deleteSubmissionConfirmationModalControl.showDeleteModal(id);
|
|
27800
27810
|
};
|
|
@@ -27878,45 +27888,13 @@
|
|
|
27878
27888
|
yAxis: yAxis,
|
|
27879
27889
|
valueYField: "value",
|
|
27880
27890
|
categoryXField: "name",
|
|
27881
|
-
showTooltipOn: "hover",
|
|
27882
|
-
tooltipPosition: "pointer",
|
|
27883
|
-
tooltip: am5__namespace.Tooltip.new(root, {
|
|
27884
|
-
labelText: "{valueY} " + _this.l('Users') + " " + _this.l('Choose') + ": {categoryX}",
|
|
27885
|
-
active: true,
|
|
27886
|
-
hoverOnFocus: true,
|
|
27887
|
-
opacity: 1,
|
|
27888
|
-
getFillFromSprite: false,
|
|
27889
|
-
getStrokeFromSprite: true,
|
|
27890
|
-
autoTextColor: false,
|
|
27891
|
-
pointerOrientation: "horizontal",
|
|
27892
|
-
tooltipPosition: "pointer",
|
|
27893
|
-
maxHeight: 100,
|
|
27894
|
-
maxWidth: 300,
|
|
27895
|
-
keepTargetHover: true,
|
|
27896
|
-
showTooltipOn: "hover",
|
|
27897
|
-
background: am5__namespace.Rectangle.new(root, {
|
|
27898
|
-
fill: am5__namespace.color(0xff5599),
|
|
27899
|
-
fillOpacity: 0.5
|
|
27900
|
-
})
|
|
27901
|
-
})
|
|
27902
27891
|
}));
|
|
27903
|
-
// tooltip.get("background").setAll({
|
|
27904
|
-
// fill: am5.color(0xeeeeee)
|
|
27905
|
-
// });
|
|
27906
|
-
// series1.set("tooltip", tooltip);
|
|
27907
|
-
// series1.columns.template.setAll({
|
|
27908
|
-
// tooltipText: "{categoryX}: {valueY}"
|
|
27909
|
-
// });
|
|
27910
27892
|
series1.data.setAll(data);
|
|
27911
|
-
series1.set("fill", am5__namespace.color("#
|
|
27912
|
-
series1.set("stroke", am5__namespace.color("#
|
|
27893
|
+
series1.set("fill", am5__namespace.color("#b68a35")); // set Series color to red
|
|
27894
|
+
series1.set("stroke", am5__namespace.color("#b68a35")); // set Series color to red
|
|
27913
27895
|
// Add legend
|
|
27914
27896
|
var legend = chart.children.push(am5__namespace.Legend.new(root, {}));
|
|
27915
27897
|
legend.data.push(series1);
|
|
27916
|
-
// // Add cursor
|
|
27917
|
-
chart.set("cursor", am5xy__namespace.XYCursor.new(root, {
|
|
27918
|
-
tooltipPosition: "pointer",
|
|
27919
|
-
}));
|
|
27920
27898
|
_this.root = root;
|
|
27921
27899
|
});
|
|
27922
27900
|
// //chart overview
|
|
@@ -27961,36 +27939,13 @@
|
|
|
27961
27939
|
yAxis: yAxis,
|
|
27962
27940
|
valueYField: "value",
|
|
27963
27941
|
categoryXField: "category",
|
|
27964
|
-
showTooltipOn: "hover",
|
|
27965
|
-
tooltipPosition: "pointer",
|
|
27966
|
-
tooltip: am5__namespace.Tooltip.new(root, {
|
|
27967
|
-
labelText: "{valueY} " + _this.l('Users') + " " + _this.l('Choose') + ": {categoryX}",
|
|
27968
|
-
active: true,
|
|
27969
|
-
hoverOnFocus: true,
|
|
27970
|
-
opacity: 1,
|
|
27971
|
-
getFillFromSprite: false,
|
|
27972
|
-
getStrokeFromSprite: true,
|
|
27973
|
-
autoTextColor: false,
|
|
27974
|
-
pointerOrientation: "horizontal",
|
|
27975
|
-
tooltipPosition: "pointer",
|
|
27976
|
-
maxHeight: 100,
|
|
27977
|
-
maxWidth: 300,
|
|
27978
|
-
keepTargetHover: true,
|
|
27979
|
-
showTooltipOn: "hover",
|
|
27980
|
-
background: am5__namespace.Rectangle.new(root, {
|
|
27981
|
-
fill: am5__namespace.color(0xff5599),
|
|
27982
|
-
fillOpacity: 0.5
|
|
27983
|
-
})
|
|
27984
|
-
})
|
|
27985
27942
|
}));
|
|
27986
27943
|
series1.data.setAll(data);
|
|
27987
|
-
series1.set("fill", am5__namespace.color("#
|
|
27988
|
-
series1.set("stroke", am5__namespace.color("#
|
|
27944
|
+
series1.set("fill", am5__namespace.color("#b68a35")); // set Series color to red
|
|
27945
|
+
series1.set("stroke", am5__namespace.color("#b68a35")); // set Series color to red
|
|
27989
27946
|
// Add legend
|
|
27990
27947
|
var legend = chart.children.push(am5__namespace.Legend.new(root, {}));
|
|
27991
27948
|
legend.data.setAll(chart.series.values);
|
|
27992
|
-
// Add cursor
|
|
27993
|
-
chart.set("cursor", am5xy__namespace.XYCursor.new(root, {}));
|
|
27994
27949
|
_this.root = root;
|
|
27995
27950
|
});
|
|
27996
27951
|
};
|
|
@@ -28032,8 +27987,8 @@
|
|
|
28032
27987
|
_this.pageHeaderOptions.BreadCrumb.BreadCrumbItems = _this.breadCrumb;
|
|
28033
27988
|
_this.pageHeaderOptions.DropDownActions.Active = true;
|
|
28034
27989
|
_this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new i6.DropdownActionItem(_this.l("Edit"), "/assets/images/Edit.svg", _this.showEditModal), new i6.DropdownActionItem(_this.l("Delete"), '/assets/images/Trash.svg', _this.showDeleteModal), new i6.DropdownActionItem(_this.l("Export"), '/assets/images/export.svg', _this.export));
|
|
28035
|
-
|
|
28036
|
-
|
|
27990
|
+
if (_this.survey.totalQuestionCount > 0)
|
|
27991
|
+
_this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new i6.DropdownActionItem(_this.l("Preview"), '/assets/images/views.svg', _this.previewSurvey));
|
|
28037
27992
|
if (_this.survey.statusItemID.toLocaleLowerCase() == _this.SurveyStatusEnum.ScoringTypeEnum_Published.toLocaleLowerCase())
|
|
28038
27993
|
_this.canTakeSurvey = true;
|
|
28039
27994
|
if (_this.survey.statusItemID.toLocaleLowerCase() == _this.SurveyStatusEnum.ScoringTypeEnum_Draft.toLocaleLowerCase()
|
|
@@ -28180,7 +28135,7 @@
|
|
|
28180
28135
|
return SurveyInfoComponent;
|
|
28181
28136
|
}(i6.AppBaseComponent));
|
|
28182
28137
|
SurveyInfoComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SurveyInfoComponent, deps: [{ token: i0__namespace.Injector }, { token: i0.PLATFORM_ID }, { token: i0__namespace.NgZone }, { token: i1__namespace$1.Router }, { token: i1__namespace.MasterLayoutService }, { token: SurveyService }, { token: SurveyQuestionService }, { token: i1__namespace$1.ActivatedRoute }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
28183
|
-
SurveyInfoComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: SurveyInfoComponent, selector: "app-survey-info", viewQueries: [{ propertyName: "pagingElement", first: true, predicate: ["pagingViewElement"], descendants: true }, { propertyName: "deleteConfirmationModalControl", first: true, predicate: ["deleteConfirmationModalControl"], descendants: true }, { propertyName: "editModal", first: true, predicate: ["editModal"], descendants: true }, { propertyName: "editQuestionModal", first: true, predicate: ["editQuestionModal"], descendants: true }, { propertyName: "deleteQuestionConfirmationModalControl", first: true, predicate: ["deleteQuestionModal"], descendants: true }, { propertyName: "AddQuestionComponent", first: true, predicate: ["addQuestionModal"], descendants: true }, { propertyName: "addPublishModal", first: true, predicate: ["addPublishModal"], descendants: true }, { propertyName: "addUnPublishModal", first: true, predicate: ["addUnPublishModal"], descendants: true }, { propertyName: "deleteSubmissionConfirmationModalControl", first: true, predicate: ["deleteSubmissionModal"], descendants: true }, { propertyName: "eliminateSubmissionConfirmationModalControl", first: true, predicate: ["eliminateModal"], descendants: true }, { propertyName: "unEliminateSubmissionConfirmationModalControl", first: true, predicate: ["unEliminateModal"], descendants: true }, { propertyName: "pagingQuestionElement", first: true, predicate: ["pagingQuestionViewElement"], descendants: true }, { propertyName: "pagingSubmissionElement", first: true, predicate: ["pagingSubmissionViewElement"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<!--toolbar-->\r\n<div *ngIf=\"loadInfo\">\r\n<bbsf-page-header-component [options]=\"pageHeaderOptions\" ></bbsf-page-header-component>\r\n</div>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"loadInfo\">\r\n <div class=\"section-margin-bottom\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <span class=\"badge badge-light\" [ngClass]=\"getStatus(survey.statusItemID)\">{{survey.localizedStatus}}</span>\r\n <span ngbTooltip=\"{{l('Audience')}}\" class=\"badge badge-light mx-2\">{{survey.localizedAudience}}</span>\r\n </div>\r\n <p class=\"card-description\">\r\n {{survey.localizedDesc}}\r\n </p>\r\n <div class=\"card-data\">\r\n <BBSF-TextBox *ngIf=\"canTakeSurvey&& (survey.audienceItemID==AudienceTypeEnum.Internal||survey.audienceItemID==AudienceTypeEnum.Both)\"\r\n [options]=\"TextBoxWithInternalURL\" [group]=\"urlForm\"></BBSF-TextBox>\r\n <BBSF-TextBox *ngIf=\"canTakeSurvey&& (survey.audienceItemID==AudienceTypeEnum.External||survey.audienceItemID==AudienceTypeEnum.Both)\"\r\n [options]=\"TextBoxWithExternalURL\" [group]=\"urlForm\"></BBSF-TextBox>\r\n <div class=\"survery-date border-0\">\r\n <div class=\"icon-boxes align-items-baseline\">\r\n <div ngbTooltip=\"{{l('Date')}}\" class=\"icon-box\">\r\n <div class=\"symbol\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-4\" [inlineSVG]=\"'/assets/images/calendar.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <span class=\"survey-counter-title\" *ngIf=\"survey.startDate==null\">\r\n {{l('NotStartedYet')}}\r\n </span>\r\n <span class=\"survey-counter-title d-flex flex-stack\" *ngIf=\"survey.startDate!=null\">\r\n {{survey.startDate |surveyDate}} - {{survey.endDate!=null?(survey.endDate|surveyDate):\"\"}}\r\n <span class=\"badge badge-light\" *ngIf=\"survey.endDate==null\">{{l('HasNoEnd')}}</span>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"section-margin-bottom\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav nav-stretch nav-line-tabs nav-custom\">\r\n <li ngbNavItem class=\"nav-item\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink>\r\n <h4>\r\n {{l('Questions')}}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\">\r\n <div class=\"page-subheader justify-content-between\">\r\n <BBSF-TextBox [options]=\"SearchTextBoxOptions\" [group]=\"filtersQuestionForm\"\r\n (OnChange)=\"searchInQuestionList($event)\"></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"SurveyIDOptions\" [group]=\"filtersQuestionForm\" hidden></BBSF-TextBox>\r\n <button type=\"button\" *ngIf=\"canAddQuestion\" class=\"btn btn-brand btn-sm subheader-btn\"\r\n (click)=\"showAddQuestionModal()\">\r\n {{l('Add')}}\r\n </button>\r\n </div>\r\n <div [hidden]=\"pagingQuestionResult.length == 0\">\r\n <div ngbNavContent cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"question-info\" [cdkDragDisabled]=\"canTakeSurvey\" cdkDrag\r\n *ngFor=\"let item of pagingQuestionResult; let i=index\">\r\n <div class=\"symbol symbol-25px me-4\" cdkDragHandle *ngIf=\"!canTakeSurvey\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-7\" [inlineSVG]=\"'/assets/images/reorder.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <div class=\"card card-listing\">\r\n <div class=\"card-header\">\r\n <div class=\"card-title\">\r\n <span class=\"badge badge-light\"\r\n ngbTooltip=\"{{l('Type')}}\">{{item.localizedQuestionTypeItem}}</span>\r\n <span class=\"badge badge-light mx-2\"\r\n ngbTooltip=\"{{l('Audience')}}\">{{item.localizedAudienceType}}</span>\r\n <span class=\"badge badge-brand-light mx-2\"\r\n *ngIf=\"item.isRelatedToSurveyQuestion\">{{l('Linked')}}</span>\r\n <span class=\"badge badge-light mx-2\" *ngIf=\"!item.isVisible\" ngbTooltip=\"{{l('NotVisible')}}\">\r\n {{l(\"NotVisible\")}}\r\n </span>\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <div ngbDropdown container=\"body\" class=\"dropdown-custom\"\r\n [placement]=\"EN ? 'bottom-right' : 'bottom-left'\">\r\n <button type=\"button\" class=\"dropdown-toggle-custom btn btn-clear\" ngbDropdownToggle>\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/card-dropdown.svg'\"></span>\r\n </button>\r\n <div ngbDropdownMenu class=\"dropdown-menu-custom\">\r\n <button *ngIf=\"!(canEditQuestion&&canDeleteQuestion)\"\r\n (click)=\"showEditQuestionModal(item.iD_GUID,true)\" apppreventdoubleclick type=\"button\"\r\n ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n {{l(\"Details\")}}\r\n </button>\r\n\r\n <button *ngIf=\"canEditQuestion\" (click)=\"showEditQuestionModal(item.iD_GUID,false)\"\r\n apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n {{l(\"Edit\")}}\r\n </button>\r\n <button type=\"button\" *ngIf=\"canDeleteQuestion\"\r\n (click)=\"showDeleteQuestionModal(item.iD_GUID)\" apppreventdoubleclick ngbDropdownItem\r\n class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/Trash.svg'\"></span> {{l(\"Delete\")}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{item.localizedText}}</span>\r\n <span class=\"badge badge-light-brand badge-square ms-2 me-0\"\r\n ngbTooltip=\"{{l('Score')}}\">{{item.totalScore}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setQuestionListingResult($event)\" [options]=\"pagingQuestionOptions\"\r\n [group]=\"filtersQuestionForm\" #pagingQuestionViewElement></BBSF-Paging>\r\n </div>\r\n </div>\r\n <app-no-results *ngIf=\"pagingQuestionResult.length == 0\"></app-no-results>\r\n\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem class=\"nav-item\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink>\r\n <h4>\r\n {{l('Submissions')}}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\" ngbNavContent>\r\n <div class=\"page-subheader justify-content-between\">\r\n <BBSF-TextBox [options]=\"SearchTextBoxOptions\" [group]=\"filtersSubmissionForm\"></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"SurveyIDOptions\" [group]=\"filtersSubmissionForm\" hidden></BBSF-TextBox>\r\n </div>\r\n <div class=\"info-container\" [hidden]=\"pagingSubmissionResult.length == 0\">\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-custom\">\r\n <thead>\r\n <tr class=\"table-header\">\r\n <th> {{l('Name')}}</th>\r\n <th>{{l('Email')}}</th>\r\n <th>{{l('Type')}}</th>\r\n <th>{{l('Created')}}</th>\r\n <th>{{l('Score')}}</th>\r\n <th class=\"table-action\">{{l(\"Action\")}}</th>\r\n </tr>\r\n </thead>\r\n <tbody class=\"table-body\">\r\n <tr *ngFor=\"let item of pagingSubmissionResult; let i=index\">\r\n <td>\r\n <span class=\"line-clamp-2\">\r\n {{item.localizedName}}\r\n <span class=\"badge badge-danger mx-2\" *ngIf=\"item.isEliminated&&item.allowElimination\">\r\n {{l('Eliminated')}}\r\n </span>\r\n </span>\r\n </td>\r\n <td>\r\n {{item.email}}\r\n </td>\r\n <td>\r\n <div class=\"badge badge-light\">\r\n {{item.isInternalUser? l('InternalUsers'):l('ExternalUsers')}}\r\n </div>\r\n </td>\r\n <td>{{item.created|surveyDate}}</td>\r\n <td>{{item.totalScore}}</td>\r\n <td class=\"table-action\">\r\n <button type=\"button\" ngbTooltip=\"{{l('Preview')}}\"\r\n [routerLink]=\"['../../info/result', item.iD_GUID]\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/answers.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" *ngIf=\"!item.isEliminated&&item.allowElimination\"\r\n ngbTooltip=\"{{this.l('EliminateHint')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showEliminateSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick\r\n [inlineSVG]=\"'/assets/images/unlink.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" *ngIf=\"item.isEliminated&&item.allowElimination\"\r\n ngbTooltip=\"{{this.l('UnEliminate')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showUnEliminateSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick [inlineSVG]=\"'/assets/images/link.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" ngbTooltip=\"{{l('Delete')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showDeleteSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick [inlineSVG]=\"'/assets/images/Trash.svg'\"></span>\r\n </button>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setSubmissionListingResult($event)\" [options]=\"pagingSubmissionOptions\"\r\n [group]=\"filtersSubmissionForm\" #pagingSubmissionViewElement></BBSF-Paging>\r\n </div>\r\n <app-no-results *ngIf=\"pagingSubmissionResult.length == 0\"></app-no-results>\r\n\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem class=\"nav-item\" *ngIf=\"showOverview\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink (click)=\"loadSurveyOverview()\">\r\n <h4>\r\n {{l(\"Overview\") }}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\" ngbNavContent>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n <div class=\"overview-question\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-pills\" orientation=\"vertical\">\r\n <h4> {{l(\"Questions\") }}</h4>\r\n <li ngbNavItem=\"{{item.localizedTitle}}\" [destroyOnHide]=\"true\"\r\n *ngFor=\"let item of questionOverviewResult\" (click)=\"loadChart(item)\">\r\n <a ngbNavLink>{{item.localizedTitle}}</a>\r\n\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-9\">\r\n <div class=\"chart-section\">\r\n <h4 class=\"chart-question\">{{l(\"Overview\") }}</h4>\r\n <div id=\"chartdiv\" style=\"width: 100%; height: 500px\"></div>\r\n </div>\r\n <div class=\"chart-section\">\r\n <h4 class=\"chart-question\">{{l(\"Score\") }} </h4>\r\n <div id=\"chartOverview\" style=\"width: 100%; height: 500px\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n\r\n\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <app-edit-survey #editModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\"></app-edit-survey>\r\n <app-delete-survey #deleteConfirmationModalControl [pagingElement]=\"pagingElement\"\r\n [onSuccessHandler]=\"onSuccessDeleteHandler\"></app-delete-survey>\r\n <app-add-question #addQuestionModal [pagingElement]=\"pagingQuestionElement\"></app-add-question>\r\n <app-edit-question #editQuestionModal [pagingElement]=\"pagingQuestionElement\"></app-edit-question>\r\n <app-delete-question #deleteQuestionModal [pagingElement]=\"pagingQuestionElement\"></app-delete-question>\r\n <app-publish-survey #addPublishModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\" *ngIf=\"loadInfo\" [showToggle]=\"survey.isShowToggleOfScoreResultAfterSubmission\">\r\n </app-publish-survey>\r\n <app-unpublish-survey #addUnPublishModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\">\r\n </app-unpublish-survey>\r\n <app-delete-submission #deleteSubmissionModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessDeleteHandlerSubmission\"></app-delete-submission>\r\n <app-eliminate-submission #eliminateModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessHandler\"></app-eliminate-submission>\r\n <app-unEliminate-submission #unEliminateModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessHandler\"></app-unEliminate-submission>\r\n", styles: [""], components: [{ type: i6__namespace.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.PagingComponent, selector: "BBSF-Paging", inputs: ["options", "group"], outputs: ["Items"] }, { type: NoResultsComponent, selector: "app-no-results" }, { type: i5__namespace.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { type: EditSurveyComponent, selector: "app-edit-survey", inputs: ["pagingElement", "onSuccessHandler"] }, { type: DeleteSurveyComponent, selector: "app-delete-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: AddQuestionComponent, selector: "app-add-question", inputs: ["pagingElement"] }, { type: EditQuestionComponent, selector: "app-edit-question", inputs: ["pagingElement"] }, { type: DeleteQuestionComponent, selector: "app-delete-question", inputs: ["onSuccessHandler", "pagingElement"] }, { type: PublishSurveyComponent, selector: "app-publish-survey", inputs: ["pagingElement", "showToggle", "onSuccessHandler"] }, { type: UnPublishSurveyComponent, selector: "app-unpublish-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: DeleteSubmissionComponent, selector: "app-delete-submission", inputs: ["onSuccessHandler", "pagingElement"] }, { type: EliminateSubmissionComponent, selector: "app-eliminate-submission", inputs: ["onSuccessHandler", "pagingElement"] }, { type: UnEliminateSubmissionComponent, selector: "app-unEliminate-submission", inputs: ["onSuccessHandler", "pagingElement"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i5__namespace.NgbNav, selector: "[ngbNav]", inputs: ["animation", "destroyOnHide", "orientation", "roles", "keyboard", "activeId"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { type: i5__namespace.NgbNavItem, selector: "[ngbNavItem]", inputs: ["disabled", "domId", "destroyOnHide", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { type: i5__namespace.NgbNavLink, selector: "a[ngbNavLink]" }, { type: i5__namespace.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { type: i20__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i20__namespace.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i5__namespace.NgbDropdown, selector: "[ngbDropdown]", inputs: ["open", "placement", "container", "autoClose", "display", "dropdownClass"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i5__namespace.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i5__namespace.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i5__namespace.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { type: i1__namespace$1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "surveyDate": SurveyDatePipe } });
|
|
28138
|
+
SurveyInfoComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: SurveyInfoComponent, selector: "app-survey-info", viewQueries: [{ propertyName: "pagingElement", first: true, predicate: ["pagingViewElement"], descendants: true }, { propertyName: "deleteConfirmationModalControl", first: true, predicate: ["deleteConfirmationModalControl"], descendants: true }, { propertyName: "editModal", first: true, predicate: ["editModal"], descendants: true }, { propertyName: "editQuestionModal", first: true, predicate: ["editQuestionModal"], descendants: true }, { propertyName: "deleteQuestionConfirmationModalControl", first: true, predicate: ["deleteQuestionModal"], descendants: true }, { propertyName: "AddQuestionComponent", first: true, predicate: ["addQuestionModal"], descendants: true }, { propertyName: "addPublishModal", first: true, predicate: ["addPublishModal"], descendants: true }, { propertyName: "addUnPublishModal", first: true, predicate: ["addUnPublishModal"], descendants: true }, { propertyName: "deleteSubmissionConfirmationModalControl", first: true, predicate: ["deleteSubmissionModal"], descendants: true }, { propertyName: "eliminateSubmissionConfirmationModalControl", first: true, predicate: ["eliminateModal"], descendants: true }, { propertyName: "unEliminateSubmissionConfirmationModalControl", first: true, predicate: ["unEliminateModal"], descendants: true }, { propertyName: "pagingQuestionElement", first: true, predicate: ["pagingQuestionViewElement"], descendants: true }, { propertyName: "pagingSubmissionElement", first: true, predicate: ["pagingSubmissionViewElement"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<!--toolbar-->\r\n<div *ngIf=\"loadInfo\">\r\n <bbsf-page-header-component [options]=\"pageHeaderOptions\"></bbsf-page-header-component>\r\n</div>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"loadInfo\">\r\n <div class=\"section-margin-bottom\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"survery-date border-0\">\r\n <div class=\"icon-boxes align-items-baseline\">\r\n <div ngbTooltip=\"{{l('Date')}}\" class=\"icon-box\">\r\n <div class=\"symbol\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-4\" [inlineSVG]=\"'/assets/images/calendar.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <span class=\"survey-counter-title\" *ngIf=\"survey.startDate==null\">\r\n {{l('NotStartedYet')}}\r\n </span>\r\n <span class=\"survey-counter-title d-flex flex-stack\" *ngIf=\"survey.startDate!=null\">\r\n {{survey.startDate |surveyDate}} - {{survey.endDate!=null?(survey.endDate|surveyDate):\"\"}}\r\n <span class=\"badge badge-light\" *ngIf=\"survey.endDate==null\">{{l('HasNoEnd')}}</span>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n <div>\r\n <span class=\"badge badge-light\" [ngClass]=\"getStatus(survey.statusItemID)\">{{survey.localizedStatus}}</span>\r\n <span ngbTooltip=\"{{l('Audience')}}\" class=\"badge badge-light mx-2\">{{survey.localizedAudience}}</span>\r\n </div>\r\n </div>\r\n <div class=\"row card-data\">\r\n <div class=\"col-lg-6\">\r\n <BBSF-TextBox *ngIf=\"canTakeSurvey&& (survey.audienceItemID==AudienceTypeEnum.Internal||survey.audienceItemID==AudienceTypeEnum.Both)\"\r\n [options]=\"TextBoxWithInternalURL\" [group]=\"urlForm\"></BBSF-TextBox>\r\n\r\n </div>\r\n <div class=\"col-lg-6\">\r\n <BBSF-TextBox *ngIf=\"canTakeSurvey&& (survey.audienceItemID==AudienceTypeEnum.External||survey.audienceItemID==AudienceTypeEnum.Both)\"\r\n [options]=\"TextBoxWithExternalURL\" [group]=\"urlForm\"></BBSF-TextBox>\r\n </div>\r\n </div>\r\n <p class=\"card-description\" *ngIf=\"survey.localizedDesc\">\r\n {{survey.localizedDesc}}\r\n </p>\r\n </div>\r\n <div class=\"section-margin-bottom\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav nav-stretch nav-line-tabs nav-custom\">\r\n <li ngbNavItem class=\"nav-item\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink>\r\n <h4>\r\n {{l('Questions')}}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\">\r\n <div class=\"tabs-search page-subheader justify-content-between\">\r\n <BBSF-TextBox [options]=\"SearchTextBoxOptions\" [group]=\"filtersQuestionForm\"\r\n (OnChange)=\"searchInQuestionList($event)\"></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"SurveyIDOptions\" [group]=\"filtersQuestionForm\" hidden></BBSF-TextBox>\r\n <button type=\"button\" *ngIf=\"canAddQuestion\" class=\"btn btn-brand btn-sm subheader-btn\"\r\n (click)=\"showAddQuestionModal()\">\r\n {{l('Add')}}\r\n </button>\r\n </div>\r\n <div [hidden]=\"pagingQuestionResult.length == 0\">\r\n <div ngbNavContent cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"question-info\" [cdkDragDisabled]=\"canTakeSurvey\" cdkDrag\r\n *ngFor=\"let item of pagingQuestionResult; let i=index\">\r\n <div class=\"symbol symbol-25px me-4\" cdkDragHandle *ngIf=\"!canTakeSurvey\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-7\" [inlineSVG]=\"'/assets/images/reorder.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <div class=\"card card-listing\">\r\n <div class=\"card-header\">\r\n <div class=\"card-title\">\r\n <span class=\"badge badge-light\"\r\n ngbTooltip=\"{{l('Type')}}\">{{item.localizedQuestionTypeItem}}</span>\r\n <span class=\"badge badge-light mx-2\"\r\n ngbTooltip=\"{{l('Audience')}}\">{{item.localizedAudienceType}}</span>\r\n <span class=\"badge badge-brand-light mx-2\"\r\n *ngIf=\"item.isRelatedToSurveyQuestion\">{{l('Linked')}}</span>\r\n <span class=\"badge badge-light mx-2\" *ngIf=\"!item.isVisible\" ngbTooltip=\"{{l('NotVisible')}}\">\r\n {{l(\"NotVisible\")}}\r\n </span>\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <div ngbDropdown container=\"body\" class=\"dropdown-custom\"\r\n [placement]=\"EN ? 'bottom-right' : 'bottom-left'\">\r\n <button type=\"button\" class=\"dropdown-toggle-custom btn btn-clear\" ngbDropdownToggle>\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/card-dropdown.svg'\"></span>\r\n </button>\r\n <div ngbDropdownMenu class=\"dropdown-menu-custom\">\r\n <button *ngIf=\"!(canEditQuestion&&canDeleteQuestion)\"\r\n (click)=\"showEditQuestionModal(item.iD_GUID,true)\" apppreventdoubleclick type=\"button\"\r\n ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n {{l(\"Details\")}}\r\n </button>\r\n\r\n <button *ngIf=\"canEditQuestion\" (click)=\"showEditQuestionModal(item.iD_GUID,false)\"\r\n apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n {{l(\"Edit\")}}\r\n </button>\r\n <button type=\"button\" *ngIf=\"canDeleteQuestion\"\r\n (click)=\"showDeleteQuestionModal(item.iD_GUID)\" apppreventdoubleclick ngbDropdownItem\r\n class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/Trash.svg'\"></span> {{l(\"Delete\")}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{item.localizedText}}</span>\r\n <span class=\"badge badge-light-brand badge-square ms-2 me-0\"\r\n ngbTooltip=\"{{l('Score')}}\">{{item.totalScore}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setQuestionListingResult($event)\" [options]=\"pagingQuestionOptions\"\r\n [group]=\"filtersQuestionForm\" #pagingQuestionViewElement></BBSF-Paging>\r\n </div>\r\n </div>\r\n <app-no-results *ngIf=\"pagingQuestionResult.length == 0\"></app-no-results>\r\n\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem class=\"nav-item\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink>\r\n <h4>\r\n {{l('Submissions')}}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\" ngbNavContent>\r\n <div class=\"tabs-search page-subheader justify-content-between\">\r\n <BBSF-TextBox [options]=\"SearchTextBoxOptions\" [group]=\"filtersSubmissionForm\"></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"SurveyIDOptions\" [group]=\"filtersSubmissionForm\" hidden></BBSF-TextBox>\r\n </div>\r\n <div class=\"info-container\" [hidden]=\"pagingSubmissionResult.length == 0\">\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-custom\">\r\n <thead>\r\n <tr class=\"table-header\">\r\n <th> {{l('Name')}}</th>\r\n <th>{{l('Email')}}</th>\r\n <th>{{l('Type')}}</th>\r\n <th>{{l('Created')}}</th>\r\n <th>{{l('Score')}}</th>\r\n <th class=\"table-action\">{{l(\"Action\")}}</th>\r\n </tr>\r\n </thead>\r\n <tbody class=\"table-body\">\r\n <tr *ngFor=\"let item of pagingSubmissionResult; let i=index\">\r\n <td>\r\n <span class=\"line-clamp-2\">\r\n {{item.localizedName}}\r\n <span class=\"badge badge-danger mx-2\" *ngIf=\"item.isEliminated&&item.allowElimination\">\r\n {{l('Eliminated')}}\r\n </span>\r\n </span>\r\n </td>\r\n <td>\r\n {{item.email}}\r\n </td>\r\n <td>\r\n <div class=\"badge badge-light\">\r\n {{item.isInternalUser? l('InternalUsers'):l('ExternalUsers')}}\r\n </div>\r\n </td>\r\n <td>{{item.created|surveyDate}}</td>\r\n <td>{{item.totalScore}}</td>\r\n <td class=\"table-action\">\r\n <button type=\"button\" ngbTooltip=\"{{l('Preview')}}\"\r\n [routerLink]=\"['../../info/result', item.iD_GUID]\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/answers.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" *ngIf=\"!item.isEliminated&&item.allowElimination\"\r\n ngbTooltip=\"{{this.l('EliminateHint')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showEliminateSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick\r\n [inlineSVG]=\"'/assets/images/unlink.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" *ngIf=\"item.isEliminated&&item.allowElimination\"\r\n ngbTooltip=\"{{this.l('UnEliminate')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showUnEliminateSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick [inlineSVG]=\"'/assets/images/link.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" ngbTooltip=\"{{l('Delete')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showDeleteSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick [inlineSVG]=\"'/assets/images/Trash.svg'\"></span>\r\n </button>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setSubmissionListingResult($event)\" [options]=\"pagingSubmissionOptions\"\r\n [group]=\"filtersSubmissionForm\" #pagingSubmissionViewElement></BBSF-Paging>\r\n </div>\r\n <app-no-results *ngIf=\"pagingSubmissionResult.length == 0\"></app-no-results>\r\n\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem class=\"nav-item\" *ngIf=\"showOverview\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink (click)=\"loadSurveyOverview()\">\r\n <h4>\r\n {{l(\"Overview\") }}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\" ngbNavContent>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\"> {{l(\"Questions\") }}</div>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-pills custom-navs\" orientation=\"vertical\">\r\n <li ngbNavItem=\"{{item.localizedTitle}}\" [destroyOnHide]=\"true\"\r\n *ngFor=\"let item of questionOverviewResult\" (click)=\"loadChart(item)\">\r\n <a ngbNavLink>{{item.localizedTitle}}</a>\r\n\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"col-md-9\">\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\">{{l(\"Overview\") }}</div>\r\n <div id=\"chartdiv\" style=\"width: 100%; height: 400px\"></div>\r\n <div class=\"hide-logo\"></div>\r\n </div>\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\">{{l(\"Score\") }} </div>\r\n <div id=\"chartOverview\" style=\"width: 100%; height: 400px\"></div>\r\n <div class=\"hide-logo\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n\r\n\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n <app-edit-survey #editModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\"></app-edit-survey>\r\n <app-delete-survey #deleteConfirmationModalControl [pagingElement]=\"pagingElement\"\r\n [onSuccessHandler]=\"onSuccessDeleteHandler\"></app-delete-survey>\r\n <app-add-question #addQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessAddHandler]=\"onSuccessAddQuestionHandler\"></app-add-question>\r\n <app-edit-question #editQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessEditHandler]=\"onSuccessEditQuestionHandler\"></app-edit-question>\r\n <app-delete-question #deleteQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessHandler]=\"onSuccessDeleteQuestionHandler\"></app-delete-question>\r\n <app-publish-survey #addPublishModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\" *ngIf=\"loadInfo\" [showToggle]=\"survey.isShowToggleOfScoreResultAfterSubmission\">\r\n </app-publish-survey>\r\n <app-unpublish-survey #addUnPublishModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\">\r\n </app-unpublish-survey>\r\n <app-delete-submission #deleteSubmissionModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessDeleteHandlerSubmission\"></app-delete-submission>\r\n <app-eliminate-submission #eliminateModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessHandler\"></app-eliminate-submission>\r\n <app-unEliminate-submission #unEliminateModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessHandler\"></app-unEliminate-submission>\r\n", styles: [""], components: [{ type: i6__namespace.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.PagingComponent, selector: "BBSF-Paging", inputs: ["options", "group"], outputs: ["Items"] }, { type: NoResultsComponent, selector: "app-no-results" }, { type: i5__namespace.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { type: EditSurveyComponent, selector: "app-edit-survey", inputs: ["pagingElement", "onSuccessHandler"] }, { type: DeleteSurveyComponent, selector: "app-delete-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: AddQuestionComponent, selector: "app-add-question", inputs: ["pagingElement", "onSuccessAddHandler"] }, { type: EditQuestionComponent, selector: "app-edit-question", inputs: ["pagingElement", "onSuccessEditHandler"] }, { type: DeleteQuestionComponent, selector: "app-delete-question", inputs: ["onSuccessHandler", "pagingElement"] }, { type: PublishSurveyComponent, selector: "app-publish-survey", inputs: ["pagingElement", "showToggle", "onSuccessHandler"] }, { type: UnPublishSurveyComponent, selector: "app-unpublish-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: DeleteSubmissionComponent, selector: "app-delete-submission", inputs: ["onSuccessHandler", "pagingElement"] }, { type: EliminateSubmissionComponent, selector: "app-eliminate-submission", inputs: ["onSuccessHandler", "pagingElement"] }, { type: UnEliminateSubmissionComponent, selector: "app-unEliminate-submission", inputs: ["onSuccessHandler", "pagingElement"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i9__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5__namespace.NgbNav, selector: "[ngbNav]", inputs: ["animation", "destroyOnHide", "orientation", "roles", "keyboard", "activeId"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { type: i5__namespace.NgbNavItem, selector: "[ngbNavItem]", inputs: ["disabled", "domId", "destroyOnHide", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { type: i5__namespace.NgbNavLink, selector: "a[ngbNavLink]" }, { type: i5__namespace.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { type: i20__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i20__namespace.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i5__namespace.NgbDropdown, selector: "[ngbDropdown]", inputs: ["open", "placement", "container", "autoClose", "display", "dropdownClass"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i5__namespace.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i5__namespace.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i5__namespace.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { type: i1__namespace$1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "surveyDate": SurveyDatePipe } });
|
|
28184
28139
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SurveyInfoComponent, decorators: [{
|
|
28185
28140
|
type: i0.Component,
|
|
28186
28141
|
args: [{
|
|
@@ -28341,7 +28296,7 @@
|
|
|
28341
28296
|
return TakeSurveyComponent;
|
|
28342
28297
|
}(i6.AppBaseComponent));
|
|
28343
28298
|
TakeSurveyComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TakeSurveyComponent, deps: [{ token: i0__namespace.Injector }, { token: SurveyService }, { token: i1__namespace$1.ActivatedRoute }, { token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
28344
|
-
TakeSurveyComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: TakeSurveyComponent, selector: "app-take-survey", viewQueries: [{ propertyName: "surveyQuestionModal", first: true, predicate: ["SurveyQuestionModal"], descendants: true }, { propertyName: "submitConfirmationModalControl", first: true, predicate: ["submitConfirmationModalControl"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<bbsf-page-header-component [options]=\"pageHeaderOptions\" ></bbsf-page-header-component>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"isDateLoaded&&!surveyInfo.isSurveyTakenBefore&&surveyInfo.isSurveyAvailable\">\r\n
|
|
28299
|
+
TakeSurveyComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: TakeSurveyComponent, selector: "app-take-survey", viewQueries: [{ propertyName: "surveyQuestionModal", first: true, predicate: ["SurveyQuestionModal"], descendants: true }, { propertyName: "submitConfirmationModalControl", first: true, predicate: ["submitConfirmationModalControl"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<bbsf-page-header-component [options]=\"pageHeaderOptions\" ></bbsf-page-header-component>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"isDateLoaded&&!surveyInfo.isSurveyTakenBefore&&surveyInfo.isSurveyAvailable\">\r\n <p class=\"card-description\">\r\n {{EN?surveyInfo.description.english:surveyInfo.description.arabic}}\r\n </p>\r\n <div class=\"section-margin-bottom\">\r\n <BBSF-Form [options]=\"surveySurveyOptions\">\r\n <survey-form #SurveyQuestionModal [options]=\"surveyFormField\" [group]=\"surveyForm\"></survey-form>\r\n <div class=\"survey-preview\" *ngIf=\"surveyInfo.declaration.english||surveyInfo.declaration.arabic\">\r\n <div class=\"survey-preview-data\">\r\n <span class=\"question-number\" ngbTooltip=\"Question Number\"></span>\r\n <div class=\"survey-preview-question\">\r\n <div class=\"survey-answer\">\r\n <BBSF-CheckBox [options]=\"declarationCheckBoxForm\" [group]=\"surveyForm\"></BBSF-CheckBox>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"survey-footer\">\r\n <button type=\"button\" class=\"btn btn-sm btn-light mx-3\" [routerLink]=\"['/']\">\r\n {{l(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" [disabled]=\"isSubmitted\" class=\"btn btn-sm btn-brand \">{{l(\"Submit\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n\r\n </div>\r\n\r\n </div>\r\n <div class=\"survey-message\" *ngIf=\"isDateLoaded&&!surveyInfo.isSurveyAvailable\">\r\n <p class=\"alert alert-danger\"> {{l(\"SurveyAvailableError\")}}</p>\r\n </div>\r\n <div class=\"survey-message\" *ngIf=\"isDateLoaded&&surveyInfo.isSurveyTakenBefore\">\r\n <p class=\"alert alert-danger\">{{l(\"SurveyTakenBeforeError\")}}</p>\r\n </div>\r\n <BBSF-ConfirmationModal [options]=\"submitConfirmationOptions\" #submitConfirmationModalControl></BBSF-ConfirmationModal>\r\n\r\n\r\n</div>\r\n", components: [{ type: i6__namespace.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6__namespace.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: SurveyFormComponent, selector: "survey-form", inputs: ["group", "options"] }, { type: i6__namespace.CheckBoxComponent, selector: "BBSF-CheckBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6__namespace.ConfirmationModalComponent, selector: "BBSF-ConfirmationModal", inputs: ["options"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { type: i1__namespace$1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }] });
|
|
28345
28300
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TakeSurveyComponent, decorators: [{
|
|
28346
28301
|
type: i0.Component,
|
|
28347
28302
|
args: [{
|
|
@@ -28436,6 +28391,7 @@
|
|
|
28436
28391
|
_this.title.EnglishLabelKey = "TitleEN";
|
|
28437
28392
|
_this.title.MaxLength = 225;
|
|
28438
28393
|
_this.title.IsRequired = true;
|
|
28394
|
+
_this.title.TrimTextOnChange = true;
|
|
28439
28395
|
_this.title.ViewType = i6.ControlLayout.Vertical;
|
|
28440
28396
|
_this.title.LanguageMode = _this.getConfigurationValue("LanguageMode");
|
|
28441
28397
|
_this.description = new i6.MultiLingualTextAreaOptions();
|
|
@@ -28491,7 +28447,7 @@
|
|
|
28491
28447
|
_this.department.ShowCheckbox = false;
|
|
28492
28448
|
_this.department.IsRequired = false;
|
|
28493
28449
|
_this.department.DataSource = ddl.departments;
|
|
28494
|
-
_this.openModal(_this.modal, '
|
|
28450
|
+
_this.openModal(_this.modal, 'xl');
|
|
28495
28451
|
});
|
|
28496
28452
|
};
|
|
28497
28453
|
AddSurveyComponent.prototype.changeAudience = function (key) {
|
|
@@ -28800,7 +28756,7 @@
|
|
|
28800
28756
|
return SurveyComponent;
|
|
28801
28757
|
}(i6.AppBaseComponent));
|
|
28802
28758
|
SurveyComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SurveyComponent, deps: [{ token: i0__namespace.Injector }, { token: SurveyService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
28803
|
-
SurveyComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: SurveyComponent, selector: "app-survey", viewQueries: [{ propertyName: "pagingElement", first: true, predicate: ["pagingViewElement"], descendants: true }, { propertyName: "addModal", first: true, predicate: ["addModal"], descendants: true }, { propertyName: "editModal", first: true, predicate: ["editModal"], descendants: true }, { propertyName: "deleteConfirmationModalControl", first: true, predicate: ["deleteConfirmationModalControl"], descendants: true }, { propertyName: "duplicateModal", first: true, predicate: ["duplicateModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<!--toolbar-->\r\n<bbsf-page-header-component [options]=\"pageHeaderOptions\" [group]=\"filtersForm\"></bbsf-page-header-component>\r\n<!--End toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-xl-6 d-flex\" *ngFor=\"let item of pagingResult\">\r\n <div class=\"card card-listing w-icon-boxes survey-card\">\r\n <div class=\"card-header\">\r\n <div class=\"card-title line-clamp\">\r\n <a [routerLink]=\"['../info', item.iD_GUID]\">\r\n {{item.localizedTitle}}\r\n </a>\r\n </div>\r\n <div class=\"card-toolbar d-flex flex-nowrap flex-stack\">\r\n <span class=\"badge badge-light bagde-xs me-2\" *ngIf=\"!item.visible\"> {{l(\"NotVisible\")}} </span>\r\n <span class=\"badge bagde-xs badge-light me-2\" [ngClass]=\"getStatus(item.statusItemID)\">{{item.localizedStatus}}</span>\r\n <div ngbDropdown container=\"body\" class=\"dropdown-custom\" [placement]=\"EN ? 'bottom-right' : 'bottom-left'\">\r\n <button type=\"button\" class=\"dropdown-toggle-custom btn btn-clear btn-sm\"\r\n ngbDropdownToggle>\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/card-dropdown.svg'\"></span>\r\n </button>\r\n <div ngbDropdownMenu class=\"dropdown-menu-custom\">\r\n <button (click)=\"showEditModal(item.iD_GUID)\" apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n {{l(\"Edit\")}}\r\n </button>\r\n <button (click)=\"showDuplicateModal(item.iD_GUID)\" apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/copy.svg'\">\r\n </span>\r\n {{l(\"Duplicate\")}}\r\n </button>\r\n <button type=\"button\" (click)=\"showDeleteModal(item.iD_GUID)\" apppreventdoubleclick ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/Trash.svg'\"></span> {{l(\"Delete\")}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body
|
|
28759
|
+
SurveyComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: SurveyComponent, selector: "app-survey", viewQueries: [{ propertyName: "pagingElement", first: true, predicate: ["pagingViewElement"], descendants: true }, { propertyName: "addModal", first: true, predicate: ["addModal"], descendants: true }, { propertyName: "editModal", first: true, predicate: ["editModal"], descendants: true }, { propertyName: "deleteConfirmationModalControl", first: true, predicate: ["deleteConfirmationModalControl"], descendants: true }, { propertyName: "duplicateModal", first: true, predicate: ["duplicateModal"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<!--toolbar-->\r\n<bbsf-page-header-component [options]=\"pageHeaderOptions\" [group]=\"filtersForm\"></bbsf-page-header-component>\r\n<!--End toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-xl-6 d-flex\" *ngFor=\"let item of pagingResult\">\r\n <div class=\"card card-listing w-icon-boxes survey-card\">\r\n <div class=\"card-header\">\r\n <div class=\"card-title line-clamp\">\r\n <a [routerLink]=\"['../info', item.iD_GUID]\">\r\n {{item.localizedTitle}}\r\n </a>\r\n </div>\r\n <div class=\"card-toolbar d-flex flex-nowrap flex-stack\">\r\n <span class=\"badge badge-light bagde-xs me-2\" *ngIf=\"!item.visible\"> {{l(\"NotVisible\")}} </span>\r\n <span class=\"badge bagde-xs badge-light me-2\" [ngClass]=\"getStatus(item.statusItemID)\">{{item.localizedStatus}}</span>\r\n <div ngbDropdown container=\"body\" class=\"dropdown-custom\" [placement]=\"EN ? 'bottom-right' : 'bottom-left'\">\r\n <button type=\"button\" class=\"dropdown-toggle-custom btn btn-clear btn-sm\"\r\n ngbDropdownToggle>\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/card-dropdown.svg'\"></span>\r\n </button>\r\n <div ngbDropdownMenu class=\"dropdown-menu-custom\">\r\n <button (click)=\"showEditModal(item.iD_GUID)\" apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n {{l(\"Edit\")}}\r\n </button>\r\n <button (click)=\"showDuplicateModal(item.iD_GUID)\" apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/copy.svg'\">\r\n </span>\r\n {{l(\"Duplicate\")}}\r\n </button>\r\n <button type=\"button\" (click)=\"showDeleteModal(item.iD_GUID)\" apppreventdoubleclick ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/Trash.svg'\"></span> {{l(\"Delete\")}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body mb-4\">\r\n <p class=\"line-clamp-1\">\r\n {{item.localizedDesc}}\r\n </p>\r\n </div>\r\n <!--footer type one-->\r\n <div class=\"card-footer pt-0\">\r\n <div>\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{l('Question')}}</span>\r\n <span class=\"badge badge-light-brand badge-square \">{{item.totalQuestionCount}}</span>\r\n </div>\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{l('Submissions')}}</span>\r\n <span class=\"badge badge-light-brand badge-square \">{{item.totalSubmissionsCount}}</span>\r\n </div>\r\n </div>\r\n <div class=\"survery-date\">\r\n <div class=\"icon-boxes align-items-baseline\">\r\n <div class=\"icon-box w-100\">\r\n <div class=\"symbol\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-4\" [inlineSVG]=\"'/assets/images/calendar.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <span class=\"survey-counter-title\" *ngIf=\"item.startDate==null\">\r\n {{l('NotStartedYet')}}\r\n </span>\r\n <div *ngIf=\"item.startDate!=null\" class=\"d-flex flex-stack w-100\">\r\n <span class=\"survey-counter-title\">\r\n {{item.startDate |surveyDate}}\r\n <span *ngIf=\"item.endDate!=null\"> - {{(item.endDate|surveyDate)}}</span>\r\n </span>\r\n <span class=\"badge badge-light\" *ngIf=\"item.endDate==null\">{{l('HasNoEnd')}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setListingResult($event)\" *ngIf=\"loadingPage\" [options]=\"pagingOptions\" [group]=\"filtersForm\"\r\n #pagingViewElement></BBSF-Paging>\r\n</div>\r\n\r\n\r\n\r\n<app-no-results *ngIf=\"pagingResult.length == 0 && showPageContent\"></app-no-results>\r\n<app-add-survey #addModal [pagingElement]=\"pagingElement\"></app-add-survey>\r\n<app-edit-survey #editModal [pagingElement]=\"pagingElement\"></app-edit-survey>\r\n<app-delete-survey #deleteConfirmationModalControl [pagingElement]=\"pagingElement\"></app-delete-survey>\r\n<app-duplicate-survey #duplicateModal [pagingElement]=\"pagingElement\"></app-duplicate-survey>\r\n", components: [{ type: i6__namespace.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6__namespace.PagingComponent, selector: "BBSF-Paging", inputs: ["options", "group"], outputs: ["Items"] }, { type: NoResultsComponent, selector: "app-no-results" }, { type: AddSurveyComponent, selector: "app-add-survey", inputs: ["pagingElement"] }, { type: EditSurveyComponent, selector: "app-edit-survey", inputs: ["pagingElement", "onSuccessHandler"] }, { type: DeleteSurveyComponent, selector: "app-delete-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: DuplicateSurveyComponent, selector: "app-duplicate-survey", inputs: ["onSuccessHandler", "pagingElement"] }], directives: [{ type: i9__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5__namespace.NgbDropdown, selector: "[ngbDropdown]", inputs: ["open", "placement", "container", "autoClose", "display", "dropdownClass"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i5__namespace.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i11__namespace.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i5__namespace.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i5__namespace.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }], pipes: { "surveyDate": SurveyDatePipe } });
|
|
28804
28760
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SurveyComponent, decorators: [{
|
|
28805
28761
|
type: i0.Component,
|
|
28806
28762
|
args: [{
|
|
@@ -28924,6 +28880,7 @@
|
|
|
28924
28880
|
model.Name.Arabic = resultModel.Name.Arabic;
|
|
28925
28881
|
model.Name.English = resultModel.Name.English;
|
|
28926
28882
|
model.Email = resultModel.Email;
|
|
28883
|
+
model.ID_GUID = _this.surveyID;
|
|
28927
28884
|
paramArray.push(model);
|
|
28928
28885
|
return paramArray;
|
|
28929
28886
|
};
|
|
@@ -29001,6 +28958,7 @@
|
|
|
29001
28958
|
};
|
|
29002
28959
|
ExternalUrlComponent.prototype.switchLang = function (lang) {
|
|
29003
28960
|
this.language = lang;
|
|
28961
|
+
this.anonymousLayoutService.switchAnonymousLayoutLanguage(this.language, "", "");
|
|
29004
28962
|
};
|
|
29005
28963
|
ExternalUrlComponent.prototype.toggleUserbanner = function () {
|
|
29006
28964
|
this.Showbanner = !this.Showbanner;
|
|
@@ -29130,7 +29088,7 @@
|
|
|
29130
29088
|
i1.MasterLayoutService,
|
|
29131
29089
|
i1.AuthService,
|
|
29132
29090
|
i1.EnvironmentService,
|
|
29133
|
-
i1.ConfigurationService
|
|
29091
|
+
i1.ConfigurationService,
|
|
29134
29092
|
], imports: [[
|
|
29135
29093
|
PublicSurveyModule,
|
|
29136
29094
|
i9.CommonModule,
|
|
@@ -29183,7 +29141,7 @@
|
|
|
29183
29141
|
i1.MasterLayoutService,
|
|
29184
29142
|
i1.AuthService,
|
|
29185
29143
|
i1.EnvironmentService,
|
|
29186
|
-
i1.ConfigurationService
|
|
29144
|
+
i1.ConfigurationService,
|
|
29187
29145
|
]
|
|
29188
29146
|
}]
|
|
29189
29147
|
}], ctorParameters: function () { return [{ type: i1__namespace.ConfigurationService }]; } });
|
|
@@ -29648,7 +29606,6 @@
|
|
|
29648
29606
|
this.multiLingualName.ArabicLabelKey = "NameInArabic";
|
|
29649
29607
|
this.multiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
29650
29608
|
this.multiLingualName.IsRequired = true;
|
|
29651
|
-
this.multiLingualName.Value = null;
|
|
29652
29609
|
this.multiLingualName.MaxLength = 100;
|
|
29653
29610
|
this.sysName = new i6.TextBoxOptions();
|
|
29654
29611
|
this.sysName.Name = "SysName";
|
|
@@ -29942,7 +29899,6 @@
|
|
|
29942
29899
|
this.multiLingualName.ArabicLabelKey = "NameInArabic";
|
|
29943
29900
|
this.multiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
29944
29901
|
this.multiLingualName.IsRequired = true;
|
|
29945
|
-
this.multiLingualName.Value = null;
|
|
29946
29902
|
this.multiLingualName.MaxLength = 100;
|
|
29947
29903
|
this.activeDirectoryGroup = new i6.TextBoxOptions();
|
|
29948
29904
|
this.activeDirectoryGroup.Name = "ActiveDirectoryGroup";
|
|
@@ -32844,7 +32800,6 @@
|
|
|
32844
32800
|
this.multiLingualName.ArabicLabelKey = "NameInArabic";
|
|
32845
32801
|
this.multiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
32846
32802
|
this.multiLingualName.IsRequired = true;
|
|
32847
|
-
this.multiLingualName.Value = null;
|
|
32848
32803
|
this.multiLingualName.MaxLength = 100;
|
|
32849
32804
|
this.modalService.open(AddLookupGroupModal);
|
|
32850
32805
|
this.utilityService.stopBlockUI();
|
|
@@ -32961,7 +32916,7 @@
|
|
|
32961
32916
|
//Edit Model Controls
|
|
32962
32917
|
this.editLookupItemForm = new i10.FormGroup({});
|
|
32963
32918
|
this.deleteControlLoaded = false;
|
|
32964
|
-
//GenerateCode Model Controls
|
|
32919
|
+
//GenerateCode Model Controls
|
|
32965
32920
|
this.generateCodeForm = new i10.FormGroup({});
|
|
32966
32921
|
this.valueToCopy = "";
|
|
32967
32922
|
this.getAddLookupItemModel = function () {
|
|
@@ -33078,7 +33033,6 @@
|
|
|
33078
33033
|
this.multiLingualName.ArabicLabelKey = "NameInArabic";
|
|
33079
33034
|
this.multiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
33080
33035
|
this.multiLingualName.IsRequired = true;
|
|
33081
|
-
this.multiLingualName.Value = null;
|
|
33082
33036
|
this.multiLingualName.MaxLength = 5000;
|
|
33083
33037
|
this.sysName = new i6.TextBoxOptions();
|
|
33084
33038
|
this.sysName.Name = "SysName";
|
|
@@ -33518,7 +33472,6 @@
|
|
|
33518
33472
|
this.AddName.ArabicLabelKey = "NameInArabic";
|
|
33519
33473
|
this.AddName.EnglishLabelKey = "NameInEnglish";
|
|
33520
33474
|
this.AddName.IsRequired = true;
|
|
33521
|
-
this.AddName.Value = null;
|
|
33522
33475
|
this.AddName.MaxLength = 100;
|
|
33523
33476
|
this.AddSamAccount = new i6.TextBoxOptions();
|
|
33524
33477
|
this.AddSamAccount.Name = "SamAccount";
|
|
@@ -34044,7 +33997,6 @@
|
|
|
34044
33997
|
this.MultiLingualName.ArabicLabelKey = "NameInArabic";
|
|
34045
33998
|
this.MultiLingualName.EnglishLabelKey = "NameInEnglish";
|
|
34046
33999
|
this.MultiLingualName.IsRequired = true;
|
|
34047
|
-
this.MultiLingualName.Value = null;
|
|
34048
34000
|
this.MultiLingualName.MaxLength = 100;
|
|
34049
34001
|
this.modalService.open(AddSectorModal);
|
|
34050
34002
|
this.utilityService.stopBlockUI();
|
|
@@ -40586,13 +40538,11 @@
|
|
|
40586
40538
|
_this.AddTitle.ArabicLabelKey = "TitleAR";
|
|
40587
40539
|
_this.AddTitle.EnglishLabelKey = "TitleEN";
|
|
40588
40540
|
_this.AddTitle.IsRequired = true;
|
|
40589
|
-
_this.AddTitle.Value = null;
|
|
40590
40541
|
_this.AddTitle.MaxLength = 100;
|
|
40591
40542
|
_this.AddDescription = new i6.MultiLingualTextAreaOptions();
|
|
40592
40543
|
_this.AddDescription.Name = "Description";
|
|
40593
40544
|
_this.AddDescription.ArabicLabelKey = "DescriptionInArabic";
|
|
40594
40545
|
_this.AddDescription.EnglishLabelKey = "DescriptionInEnglish";
|
|
40595
|
-
_this.AddDescription.Value = null;
|
|
40596
40546
|
_this.AddDescription.MultiControlPlacementType = i6.ControlLayout.Vertical;
|
|
40597
40547
|
_this.AddDescription.MaxLength = 1000;
|
|
40598
40548
|
_this.AddPermissionSetsOptions = new i6.DropdownOptions();
|
|
@@ -40833,7 +40783,7 @@
|
|
|
40833
40783
|
});
|
|
40834
40784
|
});
|
|
40835
40785
|
};
|
|
40836
|
-
//initialize Page filters
|
|
40786
|
+
//initialize Page filters
|
|
40837
40787
|
HelpCenterSecondlevelComponent.prototype.initializePage = function () {
|
|
40838
40788
|
// TextBox init
|
|
40839
40789
|
this.searchTextBox = new i6.TextBoxOptions();
|
|
@@ -40896,13 +40846,11 @@
|
|
|
40896
40846
|
this.AddTitle.ArabicLabelKey = "TitleAR";
|
|
40897
40847
|
this.AddTitle.EnglishLabelKey = "TitleEN";
|
|
40898
40848
|
this.AddTitle.IsRequired = true;
|
|
40899
|
-
this.AddTitle.Value = null;
|
|
40900
40849
|
this.AddTitle.MaxLength = 100;
|
|
40901
40850
|
this.AddDescription = new i6.MultiLingualTextAreaOptions();
|
|
40902
40851
|
this.AddDescription.Name = "Description";
|
|
40903
40852
|
this.AddDescription.ArabicLabelKey = "DescriptionInArabic";
|
|
40904
40853
|
this.AddDescription.EnglishLabelKey = "DescriptionInEnglish";
|
|
40905
|
-
this.AddDescription.Value = null;
|
|
40906
40854
|
this.AddDescription.MaxLength = 1000;
|
|
40907
40855
|
this.AddIsHidden = new i6.CheckBoxOptions();
|
|
40908
40856
|
this.AddIsHidden.Name = "IsHidden";
|
|
@@ -41075,7 +41023,7 @@
|
|
|
41075
41023
|
});
|
|
41076
41024
|
});
|
|
41077
41025
|
};
|
|
41078
|
-
//initialize Page filters
|
|
41026
|
+
//initialize Page filters
|
|
41079
41027
|
HelpCenterThirdlevelComponent.prototype.initializePage = function () {
|
|
41080
41028
|
// TextBox init
|
|
41081
41029
|
this.searchTextBox = new i6.TextBoxOptions();
|
|
@@ -41134,14 +41082,12 @@
|
|
|
41134
41082
|
this.AddTitle.ArabicLabelKey = "TitleAR";
|
|
41135
41083
|
this.AddTitle.EnglishLabelKey = "TitleEN";
|
|
41136
41084
|
this.AddTitle.IsRequired = true;
|
|
41137
|
-
this.AddTitle.Value = null;
|
|
41138
41085
|
this.AddTitle.MaxLength = 100;
|
|
41139
41086
|
this.AddContent = new i6.MultiLingualHtmlEditorOptions();
|
|
41140
41087
|
this.AddContent.Name = "Html";
|
|
41141
41088
|
this.AddContent.ArabicLabelKey = "ContentInArabic";
|
|
41142
41089
|
this.AddContent.EnglishLabelKey = "ContentInEnglish";
|
|
41143
41090
|
this.AddContent.IsRequired = true;
|
|
41144
|
-
this.AddContent.Value = null;
|
|
41145
41091
|
this.AddContent.MaxLength = 5000;
|
|
41146
41092
|
this.AddIsHidden = new i6.CheckBoxOptions();
|
|
41147
41093
|
this.AddIsHidden.Name = "IsHidden";
|