@eqproject/eqp-dynamic-module 0.0.13 → 1.0.0
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/esm2020/eqproject-eqp-dynamic-module.mjs +5 -0
- package/esm2020/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.mjs +249 -0
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +659 -0
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +585 -0
- package/esm2020/lib/components/private/dynamic-module-field/dynamic-module-field.component.mjs +130 -0
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +127 -0
- package/esm2020/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.mjs +163 -0
- package/esm2020/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.mjs +57 -0
- package/esm2020/lib/components/private/field-templates/date-field-template/date-field-template.component.mjs +67 -0
- package/esm2020/lib/components/private/field-templates/image-field-template/image-field-template.component.mjs +188 -0
- package/esm2020/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.mjs +117 -0
- package/esm2020/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.mjs +70 -0
- package/esm2020/lib/components/private/field-templates/text-field-template/text-field-template.component.mjs +65 -0
- package/esm2020/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.mjs +49 -0
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +126 -0
- package/esm2020/lib/components/private/form-records/list-form-record/list-form-record.component.mjs +212 -0
- package/esm2020/lib/components/private/spinner/spinner.component.mjs +19 -0
- package/esm2020/lib/eqp-dynamic-module.module.mjs +110 -0
- package/esm2020/lib/interfaces/iBaseFieldComponent.interface.mjs +2 -0
- package/esm2020/lib/interfaces/iRootObject.interface.mjs +2 -0
- package/esm2020/lib/models/baseField.model.mjs +36 -0
- package/esm2020/lib/models/baseObj.model.mjs +9 -0
- package/esm2020/lib/models/context.model.mjs +8 -0
- package/esm2020/lib/models/endPointConfiguration.model.mjs +23 -0
- package/esm2020/lib/models/entity.model.mjs +7 -0
- package/esm2020/lib/models/fields/attachmentField.model.mjs +22 -0
- package/esm2020/lib/models/fields/booleanField.model.mjs +12 -0
- package/esm2020/lib/models/fields/dateField.model.mjs +11 -0
- package/esm2020/lib/models/fields/imageField.model.mjs +8 -0
- package/esm2020/lib/models/fields/listValueField.model.mjs +14 -0
- package/esm2020/lib/models/fields/lookupField.model.mjs +5 -0
- package/esm2020/lib/models/fields/numericField.model.mjs +5 -0
- package/esm2020/lib/models/fields/textField.model.mjs +14 -0
- package/esm2020/lib/models/fields/textareaField.model.mjs +4 -0
- package/esm2020/lib/models/form.model.mjs +24 -0
- package/esm2020/lib/models/record.model.mjs +8 -0
- package/esm2020/lib/modules/material.module.mjs +231 -0
- package/esm2020/lib/services/custom-form-validators.service.mjs +19 -0
- package/esm2020/lib/services/eqp-dynamic-module-dialog.service.mjs +112 -0
- package/esm2020/lib/services/spinner.service.mjs +43 -0
- package/esm2020/lib/services/utilityHelper.services.mjs +379 -0
- package/esm2020/public-api.mjs +41 -0
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +3783 -0
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -0
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +3779 -0
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +3 -0
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +7 -4
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +6 -3
- package/lib/components/private/dynamic-module-field/dynamic-module-field.component.d.ts +3 -0
- package/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.d.ts +58 -0
- package/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.d.ts +5 -2
- package/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.d.ts +3 -0
- package/lib/components/private/field-templates/date-field-template/date-field-template.component.d.ts +3 -0
- package/lib/components/private/field-templates/image-field-template/image-field-template.component.d.ts +5 -2
- package/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.d.ts +3 -0
- package/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.d.ts +3 -0
- package/lib/components/private/field-templates/text-field-template/text-field-template.component.d.ts +4 -1
- package/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.d.ts +3 -0
- package/lib/components/private/form-records/add-form-record/add-form-record.component.d.ts +7 -4
- package/lib/components/private/form-records/list-form-record/list-form-record.component.d.ts +3 -0
- package/lib/components/private/spinner/spinner.component.d.ts +3 -0
- package/lib/eqp-dynamic-module.module.d.ts +30 -0
- package/lib/models/baseField.model.d.ts +2 -2
- package/lib/modules/material.module.d.ts +35 -0
- package/lib/services/eqp-dynamic-module-dialog.service.d.ts +3 -0
- package/lib/services/spinner.service.d.ts +3 -0
- package/lib/services/utilityHelper.services.d.ts +6 -3
- package/package.json +37 -26
- package/bundles/eqproject-eqp-dynamic-module.umd.js +0 -4014
- package/bundles/eqproject-eqp-dynamic-module.umd.js.map +0 -1
- package/bundles/eqproject-eqp-dynamic-module.umd.min.js +0 -17
- package/bundles/eqproject-eqp-dynamic-module.umd.min.js.map +0 -1
- package/eqproject-eqp-dynamic-module.d.ts +0 -6
- package/eqproject-eqp-dynamic-module.metadata.json +0 -1
- package/esm2015/eqproject-eqp-dynamic-module.js +0 -7
- package/esm2015/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.js +0 -265
- package/esm2015/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.js +0 -661
- package/esm2015/lib/components/private/add-form-field/add-form-field.component.js +0 -586
- package/esm2015/lib/components/private/dynamic-module-field/dynamic-module-field.component.js +0 -127
- package/esm2015/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.js +0 -170
- package/esm2015/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.js +0 -56
- package/esm2015/lib/components/private/field-templates/date-field-template/date-field-template.component.js +0 -71
- package/esm2015/lib/components/private/field-templates/image-field-template/image-field-template.component.js +0 -196
- package/esm2015/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.js +0 -115
- package/esm2015/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.js +0 -71
- package/esm2015/lib/components/private/field-templates/text-field-template/text-field-template.component.js +0 -67
- package/esm2015/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.js +0 -51
- package/esm2015/lib/components/private/form-records/add-form-record/add-form-record.component.js +0 -130
- package/esm2015/lib/components/private/form-records/list-form-record/list-form-record.component.js +0 -216
- package/esm2015/lib/components/private/spinner/spinner.component.js +0 -23
- package/esm2015/lib/eqp-dynamic-module.module.js +0 -69
- package/esm2015/lib/interfaces/iBaseFieldComponent.interface.js +0 -1
- package/esm2015/lib/interfaces/iRootObject.interface.js +0 -1
- package/esm2015/lib/models/baseField.model.js +0 -36
- package/esm2015/lib/models/baseObj.model.js +0 -9
- package/esm2015/lib/models/context.model.js +0 -8
- package/esm2015/lib/models/endPointConfiguration.model.js +0 -23
- package/esm2015/lib/models/entity.model.js +0 -7
- package/esm2015/lib/models/fields/attachmentField.model.js +0 -22
- package/esm2015/lib/models/fields/booleanField.model.js +0 -12
- package/esm2015/lib/models/fields/dateField.model.js +0 -11
- package/esm2015/lib/models/fields/imageField.model.js +0 -8
- package/esm2015/lib/models/fields/listValueField.model.js +0 -14
- package/esm2015/lib/models/fields/lookupField.model.js +0 -5
- package/esm2015/lib/models/fields/numericField.model.js +0 -5
- package/esm2015/lib/models/fields/textField.model.js +0 -14
- package/esm2015/lib/models/fields/textareaField.model.js +0 -4
- package/esm2015/lib/models/form.model.js +0 -24
- package/esm2015/lib/models/record.model.js +0 -8
- package/esm2015/lib/modules/material.module.js +0 -108
- package/esm2015/lib/services/custom-form-validators.service.js +0 -19
- package/esm2015/lib/services/eqp-dynamic-module-dialog.service.js +0 -113
- package/esm2015/lib/services/spinner.service.js +0 -43
- package/esm2015/lib/services/utilityHelper.services.js +0 -387
- package/esm2015/public-api.js +0 -39
- package/esm5/eqproject-eqp-dynamic-module.js +0 -7
- package/esm5/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.js +0 -272
- package/esm5/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.js +0 -676
- package/esm5/lib/components/private/add-form-field/add-form-field.component.js +0 -597
- package/esm5/lib/components/private/dynamic-module-field/dynamic-module-field.component.js +0 -128
- package/esm5/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.js +0 -173
- package/esm5/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.js +0 -57
- package/esm5/lib/components/private/field-templates/date-field-template/date-field-template.component.js +0 -72
- package/esm5/lib/components/private/field-templates/image-field-template/image-field-template.component.js +0 -206
- package/esm5/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.js +0 -119
- package/esm5/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.js +0 -72
- package/esm5/lib/components/private/field-templates/text-field-template/text-field-template.component.js +0 -68
- package/esm5/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.js +0 -52
- package/esm5/lib/components/private/form-records/add-form-record/add-form-record.component.js +0 -133
- package/esm5/lib/components/private/form-records/list-form-record/list-form-record.component.js +0 -220
- package/esm5/lib/components/private/spinner/spinner.component.js +0 -24
- package/esm5/lib/eqp-dynamic-module.module.js +0 -72
- package/esm5/lib/interfaces/iBaseFieldComponent.interface.js +0 -1
- package/esm5/lib/interfaces/iRootObject.interface.js +0 -1
- package/esm5/lib/models/baseField.model.js +0 -43
- package/esm5/lib/models/baseObj.model.js +0 -13
- package/esm5/lib/models/context.model.js +0 -14
- package/esm5/lib/models/endPointConfiguration.model.js +0 -33
- package/esm5/lib/models/entity.model.js +0 -14
- package/esm5/lib/models/fields/attachmentField.model.js +0 -29
- package/esm5/lib/models/fields/booleanField.model.js +0 -19
- package/esm5/lib/models/fields/dateField.model.js +0 -18
- package/esm5/lib/models/fields/imageField.model.js +0 -19
- package/esm5/lib/models/fields/listValueField.model.js +0 -25
- package/esm5/lib/models/fields/lookupField.model.js +0 -12
- package/esm5/lib/models/fields/numericField.model.js +0 -12
- package/esm5/lib/models/fields/textField.model.js +0 -21
- package/esm5/lib/models/fields/textareaField.model.js +0 -11
- package/esm5/lib/models/form.model.js +0 -39
- package/esm5/lib/models/record.model.js +0 -14
- package/esm5/lib/modules/material.module.js +0 -111
- package/esm5/lib/services/custom-form-validators.service.js +0 -23
- package/esm5/lib/services/eqp-dynamic-module-dialog.service.js +0 -123
- package/esm5/lib/services/spinner.service.js +0 -46
- package/esm5/lib/services/utilityHelper.services.js +0 -396
- package/esm5/public-api.js +0 -39
- package/fesm2015/eqproject-eqp-dynamic-module.js +0 -3603
- package/fesm2015/eqproject-eqp-dynamic-module.js.map +0 -1
- package/fesm5/eqproject-eqp-dynamic-module.js +0 -3789
- package/fesm5/eqproject-eqp-dynamic-module.js.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/common"),require("@angular/core"),require("@angular/forms"),require("sweetalert2"),require("@angular/common/http"),require("rxjs"),require("@angular/material/checkbox"),require("@angular/material/button"),require("@angular/material/input"),require("@angular/material/autocomplete"),require("@angular/material/datepicker"),require("@angular/material/form-field"),require("@angular/material/radio"),require("@angular/material/select"),require("@angular/material/slider"),require("@angular/material/slide-toggle"),require("@angular/material/menu"),require("@angular/material/sidenav"),require("@angular/material/toolbar"),require("@angular/material/list"),require("@angular/material/grid-list"),require("@angular/material/card"),require("@angular/material/stepper"),require("@angular/material/tabs"),require("@angular/material/expansion"),require("@angular/material/button-toggle"),require("@angular/material/chips"),require("@angular/material/icon"),require("@angular/material/progress-spinner"),require("@angular/material/progress-bar"),require("@angular/material/dialog"),require("@angular/material/tooltip"),require("@angular/material/snack-bar"),require("@angular/material/table"),require("@angular/material/sort"),require("@angular/material/paginator"),require("@angular/material/core"),require("@eqproject/eqp-table"),require("@eqproject/eqp-attachments"),require("@eqproject/eqp-select"),require("@eqproject/eqp-datetimepicker"),require("@eqproject/eqp-img-drawing"),require("@eqproject/eqp-filters"),require("@eqproject/eqp-numeric")):"function"==typeof define&&define.amd?define("@eqproject/eqp-dynamic-module",["exports","@angular/common","@angular/core","@angular/forms","sweetalert2","@angular/common/http","rxjs","@angular/material/checkbox","@angular/material/button","@angular/material/input","@angular/material/autocomplete","@angular/material/datepicker","@angular/material/form-field","@angular/material/radio","@angular/material/select","@angular/material/slider","@angular/material/slide-toggle","@angular/material/menu","@angular/material/sidenav","@angular/material/toolbar","@angular/material/list","@angular/material/grid-list","@angular/material/card","@angular/material/stepper","@angular/material/tabs","@angular/material/expansion","@angular/material/button-toggle","@angular/material/chips","@angular/material/icon","@angular/material/progress-spinner","@angular/material/progress-bar","@angular/material/dialog","@angular/material/tooltip","@angular/material/snack-bar","@angular/material/table","@angular/material/sort","@angular/material/paginator","@angular/material/core","@eqproject/eqp-table","@eqproject/eqp-attachments","@eqproject/eqp-select","@eqproject/eqp-datetimepicker","@eqproject/eqp-img-drawing","@eqproject/eqp-filters","@eqproject/eqp-numeric"],t):t(((e=e||self).eqproject=e.eqproject||{},e.eqproject["eqp-dynamic-module"]={}),e.ng.common,e.ng.core,e.ng.forms,e.Swal,e.ng.common.http,e.rxjs,e.ng.material.checkbox,e.ng.material.button,e.ng.material.input,e.ng.material.autocomplete,e.ng.material.datepicker,e.ng.material.formField,e.ng.material.radio,e.ng.material.select,e.ng.material.slider,e.ng.material.slideToggle,e.ng.material.menu,e.ng.material.sidenav,e.ng.material.toolbar,e.ng.material.list,e.ng.material.gridList,e.ng.material.card,e.ng.material.stepper,e.ng.material.tabs,e.ng.material.expansion,e.ng.material.buttonToggle,e.ng.material.chips,e.ng.material.icon,e.ng.material.progressSpinner,e.ng.material.progressBar,e.ng.material.dialog,e.ng.material.tooltip,e.ng.material.snackBar,e.ng.material.table,e.ng.material.sort,e.ng.material.paginator,e.ng.material.core,e.eqpTable,e.eqpAttachments,e.eqpSelect,e.eqpDatetimepicker,e.eqpImgDrawing,e.eqpFilters,e.eqpNumeric)}(this,(function(exports,common,core,forms,Swal,http,rxjs,checkbox,button,input,autocomplete,datepicker,formField,radio,select,slider,slideToggle,menu,sidenav,toolbar,list,gridList,card,stepper,tabs,expansion,buttonToggle,chips,icon,progressSpinner,progressBar,dialog,tooltip,snackBar,table,sort,paginator,core$1,eqpTable,eqpAttachments,eqpSelect,eqpDatetimepicker,eqpImgDrawing,eqpFilters,eqpNumeric){"use strict";Swal=Swal&&Object.prototype.hasOwnProperty.call(Swal,"default")?Swal.default:Swal;
|
|
2
|
-
/*! *****************************************************************************
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted.
|
|
7
|
-
|
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */
|
|
16
|
-
var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a])})(e,t)};function __extends(e,t){function a(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,a=1,o=arguments.length;a<o;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function __rest(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(a[o[r]]=e[o[r]])}return a}function __decorate(e,t,a,o){var r,n=arguments.length,i=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,a,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(i=(n<3?r(i):n>3?r(t,a,i):r(t,a))||i);return n>3&&i&&Object.defineProperty(t,a,i),i}function __param(e,t){return function(a,o){t(a,o,e)}}function __metadata(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function __awaiter(e,t,a,o){return new(a||(a=Promise))((function(r,n){function i(e){try{m(o.next(e))}catch(e){n(e)}}function l(e){try{m(o.throw(e))}catch(e){n(e)}}function m(e){var t;e.done?r(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(i,l)}m((o=o.apply(e,t||[])).next())}))}function __generator(e,t){var a,o,r,n,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){return function(n){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,o&&(r=2&n[0]?o.return:n[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,n[1])).done)return r;switch(o=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return i.label++,{value:n[1],done:!1};case 5:i.label++,o=n[1],n=[0];continue;case 7:n=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){i=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){i.label=n[1];break}if(6===n[0]&&i.label<r[1]){i.label=r[1],r=n;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(n);break}r[2]&&i.ops.pop(),i.trys.pop();continue}n=t.call(e,i)}catch(e){n=[6,e],o=0}finally{a=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}}function __createBinding(e,t,a,o){void 0===o&&(o=a),e[o]=t[a]}function __exportStar(e,t){for(var a in e)"default"===a||t.hasOwnProperty(a)||(t[a]=e[a])}function __values(e){var t="function"==typeof Symbol&&Symbol.iterator,a=t&&e[t],o=0;if(a)return a.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;var o,r,n=a.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}return i}function __spread(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e}function __spreadArrays(){for(var e=0,t=0,a=arguments.length;t<a;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<a;t++)for(var n=arguments[t],i=0,l=n.length;i<l;i++,r++)o[r]=n[i];return o}function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}function __asyncGenerator(e,t,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=a.apply(e,t||[]),n=[];return o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o;function i(e){r[e]&&(o[e]=function(t){return new Promise((function(a,o){n.push([e,t,a,o])>1||l(e,t)}))})}function l(e,t){try{(a=r[e](t)).value instanceof __await?Promise.resolve(a.value.v).then(m,d):c(n[0][2],a)}catch(e){c(n[0][3],e)}var a}function m(e){l("next",e)}function d(e){l("throw",e)}function c(e,t){e(t),n.shift(),n.length&&l(n[0][0],n[0][1])}}function __asyncDelegator(e){var t,a;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,r){t[o]=e[o]?function(t){return(a=!a)?{value:__await(e[o](t)),done:"return"===o}:r?r(t):t}:r}}function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,a=e[Symbol.asyncIterator];return a?a.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(a){t[a]=e[a]&&function(t){return new Promise((function(o,r){(function(e,t,a,o){Promise.resolve(o).then((function(t){e({value:t,done:a})}),t)})(o,r,(t=e[a](t)).done,t.value)}))}}}function __makeTemplateObject(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function __importStar(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function __importDefault(e){return e&&e.__esModule?e:{default:e}}function __classPrivateFieldGet(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function __classPrivateFieldSet(e,t,a){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,a),a}var Context=function(){this.User=new ContextUser},ContextUser=function(){},EndPointConfiguration=function(){},EndPointData=function(){},EndPointDataParams=function(){this.ParamValue=null},ParamTypeEnum,RequestMethodEnum;ParamTypeEnum=exports.ParamTypeEnum||(exports.ParamTypeEnum={}),ParamTypeEnum[ParamTypeEnum["Query param"]=1]="Query param",ParamTypeEnum[ParamTypeEnum["In route"]=2]="In route",ParamTypeEnum[ParamTypeEnum["In Body"]=3]="In Body",RequestMethodEnum=exports.RequestMethodEnum||(exports.RequestMethodEnum={}),RequestMethodEnum.GET="GET",RequestMethodEnum.POST="POST",RequestMethodEnum.PUT="PUT",RequestMethodEnum.DELETE="DELETE";var BaseObj=function(){},Form=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseObj),FormFieldGroup=function(){},ActionOnRecord=function(){},FormTypeEnum,FormScalarTypeEnum;FormTypeEnum=exports.FormTypeEnum||(exports.FormTypeEnum={}),FormTypeEnum[FormTypeEnum.SCALAR=1]="SCALAR",FormTypeEnum[FormTypeEnum.LIST=2]="LIST",FormScalarTypeEnum=exports.FormScalarTypeEnum||(exports.FormScalarTypeEnum={}),FormScalarTypeEnum[FormScalarTypeEnum.Semplice=1]="Semplice",FormScalarTypeEnum[FormScalarTypeEnum["A step"]=2]="A step",FormScalarTypeEnum[FormScalarTypeEnum["In tab"]=3]="In tab",FormScalarTypeEnum[FormScalarTypeEnum["In accordion"]=4]="In accordion";var Record=function(){},DynRecord=function(){this.Values={}},EqpDynamicModuleDialogService=function(){function e(){}return e.Success=function(e,t){void 0===t&&(t=null);var a=null!=t?t:"Operazione completata con successo.";Swal.fire(a,e,"success")},e.Error=function(e,t){void 0===t&&(t=null);var a=null!=t?t:"Errore";if(Array.isArray(e)){a=null!=t?t:"Errore";var o=e.join("<br>");Swal.fire({title:a,html:o,icon:"error"})}else Swal.fire(a,e,"error")},e.Confirm=function(e,t,a,o,r){void 0===a&&(a=!1),void 0===o&&(o=null),void 0===r&&(r=null);var n=null!=o?o:"Sei sicuro di voler procedere?";if(Array.isArray(e)){var i=e.join("<br>");Swal.fire({title:n,html:i,width:r||"32rem",icon:a?"warning":"question",showCancelButton:!0,allowOutsideClick:!1,allowEscapeKey:!1}).then((function(e){e.value&&t&&t()}))}else Swal.fire({title:n,text:e,width:r||"32rem",icon:a?"warning":"question",showCancelButton:!0,allowOutsideClick:!1,allowEscapeKey:!1}).then((function(e){e.value&&t&&t()}))},e.Info=function(e,t,a){void 0===t&&(t=null),void 0===a&&(a=null);var o=null!=t?t:"Informazione:";Swal.fire(o,e,"info")},e.Warning=function(e,t,a){void 0===t&&(t=null),void 0===a&&(a=null);var o=null!=t?t:"Attenzione!";if(Array.isArray(e)){var r=e.join("<br>");Swal.fire({title:o,html:r,icon:"warning"})}else Swal.fire(o,e,"warning")},e.ɵprov=core.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e=__decorate([core.Injectable({providedIn:"root"})],e)}(),BaseField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseObj),FieldTypeEnum,ColSpanSizesEnum;FieldTypeEnum=exports.FieldTypeEnum||(exports.FieldTypeEnum={}),FieldTypeEnum[FieldTypeEnum["Campo di testo"]=1]="Campo di testo",FieldTypeEnum[FieldTypeEnum["Area di testo"]=2]="Area di testo",FieldTypeEnum[FieldTypeEnum.Booleano=3]="Booleano",FieldTypeEnum[FieldTypeEnum["Data e/o ora"]=4]="Data e/o ora",FieldTypeEnum[FieldTypeEnum["Campo numerico"]=5]="Campo numerico",FieldTypeEnum[FieldTypeEnum.Allegato=6]="Allegato",FieldTypeEnum[FieldTypeEnum.Immagine=7]="Immagine",FieldTypeEnum[FieldTypeEnum["Elenco generico"]=8]="Elenco generico",FieldTypeEnum[FieldTypeEnum.Lookup=9]="Lookup",FieldTypeEnum[FieldTypeEnum["Form di dettaglio"]=10]="Form di dettaglio",ColSpanSizesEnum=exports.ColSpanSizesEnum||(exports.ColSpanSizesEnum={}),ColSpanSizesEnum[ColSpanSizesEnum["col-sm-3"]=1]="col-sm-3",ColSpanSizesEnum[ColSpanSizesEnum["col-sm-4"]=2]="col-sm-4",ColSpanSizesEnum[ColSpanSizesEnum["col-sm-6"]=3]="col-sm-6",ColSpanSizesEnum[ColSpanSizesEnum["col-sm-12"]=4]="col-sm-12",ColSpanSizesEnum[ColSpanSizesEnum["col-md-3"]=5]="col-md-3",ColSpanSizesEnum[ColSpanSizesEnum["col-md-4"]=6]="col-md-4",ColSpanSizesEnum[ColSpanSizesEnum["col-md-6"]=7]="col-md-6",ColSpanSizesEnum[ColSpanSizesEnum["col-md-12"]=8]="col-md-12",ColSpanSizesEnum[ColSpanSizesEnum["col-lg-3"]=9]="col-lg-3",ColSpanSizesEnum[ColSpanSizesEnum["col-lg-4"]=10]="col-lg-4",ColSpanSizesEnum[ColSpanSizesEnum["col-lg-6"]=11]="col-lg-6",ColSpanSizesEnum[ColSpanSizesEnum["col-lg-12"]=12]="col-lg-12";var TextField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseField),TextMaskEnum;TextMaskEnum=exports.TextMaskEnum||(exports.TextMaskEnum={}),TextMaskEnum[TextMaskEnum.Password=1]="Password",TextMaskEnum[TextMaskEnum.Email=2]="Email",TextMaskEnum[TextMaskEnum.Telefono=3]="Telefono",TextMaskEnum[TextMaskEnum.Url=4]="Url";var UrlRegex="(https?://)?([\\da-z.-]+)\\.([a-z.]{2,6})[/\\w .-]*/?",TelRegex="([+]?[0-9]{10,14})",ArrayValidators=function(){function e(){}return e.minLenght=function(e){return function(t){return t&&t.value&&Array.isArray(t.value)&&t.value.length>=e?null:{hasMinLenght:!1}}},e.maxLenght=function(e){return function(t){return t&&t.value&&Array.isArray(t.value)&&t.value.length<=e?null:{hasMinLenght:!1}}},e}(),SpinnerService=function(){function e(){this.isLoading=new rxjs.Subject,this.requestsCount=0}return e.prototype.show=function(){var e=this;setTimeout((function(){e.isLoading.next(!0)}),100)},e.prototype.hide=function(){var e=this;setTimeout((function(){e.isLoading.next(!1)}),100)},e.prototype.addRequestCounter=function(){this.requestsCount++,this.show()},e.prototype.removeRequestCounter=function(){this.requestsCount--,0==this.requestsCount&&this.hide()},e.ɵprov=core.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e=__decorate([core.Injectable({providedIn:"root"})],e)}(),UtilityHelperService=function(){function UtilityHelperService(e,t,a){this.formBuilder=e,this.http=t,this.spinnerService=a}var UtilityHelperService_1;return UtilityHelperService_1=UtilityHelperService,UtilityHelperService.EvaluateFieldFormula=function(formula,rec,ctx){var evaluatedValue=eval(formula);return evaluatedValue||null},UtilityHelperService.SetContext=function(e){this.context=e},UtilityHelperService.GetFieldType=function(e){switch(e.FieldType){case exports.FieldTypeEnum["Campo di testo"]:return Object.assign(new TextField,e)}},UtilityHelperService.GetAutocompleteOptions=function(e,t){var a=[],o=e.map((function(e){return e.Label.split(" ").join("_")}));if(!t||!t.endsWith(".")&&new RegExp("[^0-9a-zA-Z_]").test(t.substring(t.length-1,t.length)))a=[{label:"rec",value:(t||"")+"rec"},{label:"ctx",value:(t||"")+"ctx"}];else if(t.endsWith(".")){var r=t.split(" ")[t.split(" ").length-1].split(".");a="rec"===r[r.length-2]?o.map((function(e){return{label:e,value:t+e}})):"ctx"===r[r.length-2]?Object.keys(UtilityHelperService_1.context).map((function(e){return{label:e,value:t+e}})):r.length>2&&"ctx"===r[r.length-3]&&"User"===r[r.length-2]?Object.keys(UtilityHelperService_1.context.User).map((function(e){return{label:e,value:t+e}})):[]}else{var n=[],i=t.split(" "),l=i[i.length-1];if(!new RegExp("[^0-9a-zA-Z_.]").test(l)){var m=l.split("."),d=m[m.length-1],c=[];1==m.length?c=["rec","ctx"]:m.length>1&&"ctx"===m[m.length-2]?c=Object.keys(UtilityHelperService_1.context):m.length>2&&"ctx"===m[m.length-3]&&"User"===m[m.length-2]?c=Object.keys(UtilityHelperService_1.context.User):m.length>1&&"rec"===m[m.length-2]&&(c=o),c.forEach((function(e){e.startsWith(d)&&n.push({label:e,value:t+e.substring(d.length,e.length)})}))}a=n}return a},UtilityHelperService.prototype.getFieldSyleClass=function(e){if(e.ColSpanSizes&&e.ColSpanSizes.length>0)return e.ColSpanSizes.map((function(e){return exports.ColSpanSizesEnum[e].toString()})).join(" ");switch(e.FieldType){case exports.FieldTypeEnum["Campo di testo"]:return"col-sm-12 col-md-4 col-lg-4";case exports.FieldTypeEnum["Area di testo"]:return"col-sm-12 col-md-12 col-lg-12";case exports.FieldTypeEnum.Booleano:return"col-sm-12 col-md-4 col-lg-4 d-flex align-items-center";case exports.FieldTypeEnum["Data e/o ora"]:case exports.FieldTypeEnum["Campo numerico"]:return"col-sm-12 col-md-4 col-lg-4";case exports.FieldTypeEnum.Allegato:return e.IsMultiAttach||e.MetadataFields&&e.MetadataFields.length>0?"col-sm-12 col-md-12 col-lg-12":"col-sm-12 col-md-4 col-lg-4";case exports.FieldTypeEnum.Immagine:return e.AttachDefinition.IsMultiAttach||e.AttachDefinition.MetadataFields&&e.AttachDefinition.MetadataFields.length>0?"col-sm-12 col-md-12 col-lg-12":"col-sm-12 col-md-4 col-lg-4";case exports.FieldTypeEnum["Elenco generico"]:case exports.FieldTypeEnum.Lookup:return"col-sm-12 col-md-4 col-lg-4";case exports.FieldTypeEnum["Form di dettaglio"]:return"col-sm-12 col-md-12 col-lg-12"}},UtilityHelperService.prototype.CreateFormFormGroup=function(e,t,a,o){var r=this;void 0===a&&(a=!1),void 0===o&&(o=!0);var n=this.formBuilder.group([]);return e.forEach((function(e){n.addControl(e.Name,r.createFieldFormControl(e,t)),o&&(e.FormFormGroup=n)})),a&&n.disable(),n},UtilityHelperService.prototype.createFieldFormControl=function(e,t){var a=[];switch(e.Required&&a.push(forms.Validators.required),e.FieldType){case exports.FieldTypeEnum["Campo di testo"]:switch(e.MaxLenght&&a.push(forms.Validators.maxLength(e.MaxLenght)),e.MinLenght&&a.push(forms.Validators.minLength(e.MinLenght)),e.TextMask){case exports.TextMaskEnum.Url:a.push(forms.Validators.pattern(UrlRegex));break;case exports.TextMaskEnum.Email:a.push(forms.Validators.email);break;case exports.TextMaskEnum.Telefono:a.push(forms.Validators.pattern(TelRegex))}break;case exports.FieldTypeEnum["Area di testo"]:e.MaxLenght&&a.push(forms.Validators.maxLength(e.MaxLenght)),e.MinLenght&&a.push(forms.Validators.minLength(e.MinLenght));break;case exports.FieldTypeEnum.Allegato:case exports.FieldTypeEnum.Immagine:e.Required&&a.push(ArrayValidators.minLenght(1));break;case exports.FieldTypeEnum["Elenco generico"]:e.IsMultiChoiche&&e.Required&&a.push(ArrayValidators.minLenght(1))}return new forms.FormControl(t[e.Name],a)},UtilityHelperService.prototype.ConfigureDefaultEndPoints=function(e,t){var a=new EndPointConfiguration;return(a=new EndPointConfiguration).Records={GetByFormIDEndPoint:{Url:e+"/api/v1/getall",Token:t,RequestMethod:exports.RequestMethodEnum.GET},GetByIDEndPoint:{Url:e+"/api/v1/getByID",Token:t,RequestMethod:exports.RequestMethodEnum.GET},SaveEndPoint:{Url:e+"/api/v1/save",Token:t,RequestMethod:exports.RequestMethodEnum.POST},DuplicateEndPoint:{Url:e+"/api/v1/duplicate",Token:t,RequestMethod:exports.RequestMethodEnum.POST},DeleteEndPoint:{Url:e+"/api/v1/delete",Token:t,RequestMethod:exports.RequestMethodEnum.DELETE}},a.Forms={GetByIDEndPoint:{Url:e+"/api/conf/form",Token:t,RequestMethod:exports.RequestMethodEnum.GET},SaveEndPoint:{Url:e+"/api/conf/form",Token:t,RequestMethod:exports.RequestMethodEnum.POST}},a},UtilityHelperService.prototype.RunEndPointCall=function(e,t,a,o){var r=this;void 0===t&&(t=null),void 0===a&&(a=null),void 0===o&&(o=null),this.spinnerService.addRequestCounter();var n=""+e.Url,i=null,l={AdditionalParams:{}};e.Params&&e.Params.forEach((function(e){switch(e.ParamType){case exports.ParamTypeEnum["Query param"]:var t=e.ParamName+"="+e.ParamValue;i=(null==i?"":i+"&")+t;break;case exports.ParamTypeEnum["In route"]:n=n+(n.endsWith("/")?"":"/")+e.ParamValue;break;case exports.ParamTypeEnum["In Body"]:l.AdditionalParams[e.ParamName]=e.ParamValue}})),t&&t.forEach((function(e){switch(e.ParamType){case exports.ParamTypeEnum["Query param"]:var t=e.ParamName+"="+e.ParamValue;i=(null==i?"":i+"&")+t;break;case exports.ParamTypeEnum["In route"]:n=n+(n.endsWith("/")?"":"/")+e.ParamValue;break;case exports.ParamTypeEnum["In Body"]:l[e.ParamName]=e.ParamValue}})),null!=i&&(n=(n.endsWith("/")?n.substring(0,n.length-1):n)+"?"+i),this.http.request(e.RequestMethod,n,{headers:e.Token?{Authorization:e.Token}:null,body:[exports.RequestMethodEnum.DELETE,exports.RequestMethodEnum.GET].includes(e.RequestMethod)?null:l}).subscribe((function(e){r.spinnerService.removeRequestCounter(),a&&a(e)}),(function(e){throw r.spinnerService.removeRequestCounter(),o&&o(e),EqpDynamicModuleDialogService.Error(e.message),new Error(e.message)}))},UtilityHelperService.context=new Context,UtilityHelperService.ctorParameters=function(){return[{type:forms.FormBuilder},{type:http.HttpClient},{type:SpinnerService}]},UtilityHelperService.ɵprov=core.ɵɵdefineInjectable({factory:function(){return new UtilityHelperService(core.ɵɵinject(forms.FormBuilder),core.ɵɵinject(http.HttpClient),core.ɵɵinject(SpinnerService))},token:UtilityHelperService,providedIn:"root"}),UtilityHelperService=UtilityHelperService_1=__decorate([core.Injectable({providedIn:"root"})],UtilityHelperService),UtilityHelperService}(),EqpDynamicModuleComponent=function(){function e(e){this.utilityHelperService=e,this.context=new Context,this.showButtons=!0,this.showTitle=!0,this.viewMode=exports.FormTypeEnum.LIST,this.baseServerUrl=null,this.userToken=null,this.endPointConfiguration=null,this.saveRecord=new core.EventEmitter,this.deleteRecord=new core.EventEmitter,this.duplicateRecord=new core.EventEmitter,this.afterSaveRecord=new core.EventEmitter,this.afterDeleteRecord=new core.EventEmitter,this.afterDuplicateRecord=new core.EventEmitter,this.form=new Form,this.FormTypeEnum=exports.FormTypeEnum}return e.prototype.ngOnInit=function(){UtilityHelperService.SetContext(this.context),this.configureDefaultEndPoints(),this.getFormByID()},e.prototype.getFormByID=function(){var e=this,t=new Array;t.push({ParamName:"id",ParamValue:this.formID,ParamType:exports.ParamTypeEnum["Query param"]}),this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Forms.GetByIDEndPoint,t,(function(t){e.form=t,e.getRecordsByFormID()}),(function(e){console.log(e)}))},e.prototype.configureDefaultEndPoints=function(){!this.endPointConfiguration&&this.baseServerUrl&&(this.endPointConfiguration=this.utilityHelperService.ConfigureDefaultEndPoints(this.baseServerUrl,this.userToken))},e.prototype.getRecordsByFormID=function(){var e=this;if(this.endPointConfiguration&&this.endPointConfiguration.Records&&this.endPointConfiguration.Records.GetByFormIDEndPoint){var t=[{ParamName:"EntID",ParamValue:this.form.ID,ParamType:exports.ParamTypeEnum["Query param"]}];this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Records.GetByFormIDEndPoint,t,(function(t){e.values=new Array,t.forEach((function(t){var a=new Record;(a=JSON.parse(t.SerializedValues)).ID=t.ID,a.EntID=t.EntID,e.values.push(a)}))}))}},e.prototype.onAddViewEditRecord=function(e){var t=this;if(null!=e)if(this.onlyView=e.onlyView,this.endPointConfiguration&&this.endPointConfiguration.Records&&this.endPointConfiguration.Records.GetByIDEndPoint){var a=[{ParamName:"id",ParamValue:e.record.ID,ParamType:exports.ParamTypeEnum["Query param"]}];this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Records.GetByIDEndPoint,a,(function(e){t.selectedRecord=JSON.parse(e.SerializedValues),t.selectedRecord.ID=e.ID,t.selectedRecord.EntID=e.EntID,t.viewMode=exports.FormTypeEnum.SCALAR}))}else this.selectedRecord=JSON.parse(JSON.stringify(e.record)),this.viewMode=exports.FormTypeEnum.SCALAR;else this.selectedRecord=null,this.onlyView=!1,this.viewMode=exports.FormTypeEnum.SCALAR},e.prototype.onSaveRecord=function(e){var t,a=this;if(null!=e&&null!=this.endPointConfiguration&&this.endPointConfiguration.Records.SaveEndPoint){var o=new DynRecord;o.ID=null!=(t=e.ID)?t:null,o.EntID=this.form.ID,o.Values=null!=e?e:null;var r=[{ParamName:"Record",ParamValue:o,ParamType:exports.ParamTypeEnum["In Body"]}];this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Records.SaveEndPoint,r,(function(t){a.getRecordsByFormID(),a.afterSaveRecord.emit(e),a.viewMode=exports.FormTypeEnum.LIST}))}else this.saveRecord.emit(e),this.viewMode=exports.FormTypeEnum.LIST},e.prototype.onDuplicateRecord=function(e){var t=this;this.endPointConfiguration&&this.endPointConfiguration.Records.DuplicateEndPoint?EqpDynamicModuleDialogService.Confirm("Duplicare il record selezionato?",(function(){var a=[{ParamName:"id",ParamValue:e.ID,ParamType:exports.ParamTypeEnum["Query param"]}];t.utilityHelperService.RunEndPointCall(t.endPointConfiguration.Records.DuplicateEndPoint,a,(function(a){t.getRecordsByFormID(),t.afterDuplicateRecord.emit(e)}))}),!1,"Richiesta conferma"):this.duplicateRecord.emit(e)},e.prototype.onDeleteRecord=function(e){var t=this;this.endPointConfiguration&&this.endPointConfiguration.Records.DeleteEndPoint?EqpDynamicModuleDialogService.Confirm("Eliminare il record selezionato?",(function(){var a=[{ParamName:"id",ParamValue:e.ID,ParamType:exports.ParamTypeEnum["Query param"]}];t.utilityHelperService.RunEndPointCall(t.endPointConfiguration.Records.DeleteEndPoint,a,(function(a){t.getRecordsByFormID(),t.afterDeleteRecord.emit(e)}))}),!1,"Richiesta conferma"):this.deleteRecord.emit(e)},e.ctorParameters=function(){return[{type:UtilityHelperService}]},__decorate([core.Input()],e.prototype,"context",void 0),__decorate([core.Input()],e.prototype,"formID",void 0),__decorate([core.Input()],e.prototype,"values",void 0),__decorate([core.Input()],e.prototype,"showButtons",void 0),__decorate([core.Input()],e.prototype,"showTitle",void 0),__decorate([core.Input()],e.prototype,"viewMode",void 0),__decorate([core.Input()],e.prototype,"baseServerUrl",void 0),__decorate([core.Input()],e.prototype,"userToken",void 0),__decorate([core.Input()],e.prototype,"endPointConfiguration",void 0),__decorate([core.Output()],e.prototype,"saveRecord",void 0),__decorate([core.Output()],e.prototype,"deleteRecord",void 0),__decorate([core.Output()],e.prototype,"duplicateRecord",void 0),__decorate([core.Output()],e.prototype,"afterSaveRecord",void 0),__decorate([core.Output()],e.prototype,"afterDeleteRecord",void 0),__decorate([core.Output()],e.prototype,"afterDuplicateRecord",void 0),e=__decorate([core.Component({selector:"eqp-dynamic-module",template:'<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n\r\n<add-form-record *ngIf="viewMode == FormTypeEnum.SCALAR" [form]="form" [record]="selectedRecord"\r\n [showButtons]="showButtons" [onlyView]="onlyView" (saveRecordEvent)="onSaveRecord($event)" [showTitle]="showTitle">\r\n</add-form-record>\r\n\r\n<list-form-record *ngIf="viewMode == FormTypeEnum.LIST && values" [form]="form" [values]="values"\r\n (onAddViewEditRecord)="onAddViewEditRecord($event)" [showTitle]="showTitle"\r\n (onDeleteRecord)="onDeleteRecord($event)" (onDuplicateRecord)="onDuplicateRecord($event)">\r\n</list-form-record>',styles:["::ng-deep mat-form-field{width:100%}"]})],e)}(),MaterialModule=function(){function e(){}return e=__decorate([core.NgModule({imports:[checkbox.MatCheckboxModule,button.MatButtonModule,input.MatInputModule,autocomplete.MatAutocompleteModule,datepicker.MatDatepickerModule,formField.MatFormFieldModule,radio.MatRadioModule,select.MatSelectModule,slider.MatSliderModule,slideToggle.MatSlideToggleModule,menu.MatMenuModule,sidenav.MatSidenavModule,toolbar.MatToolbarModule,list.MatListModule,gridList.MatGridListModule,card.MatCardModule,stepper.MatStepperModule,tabs.MatTabsModule,expansion.MatExpansionModule,buttonToggle.MatButtonToggleModule,chips.MatChipsModule,icon.MatIconModule,progressSpinner.MatProgressSpinnerModule,progressBar.MatProgressBarModule,dialog.MatDialogModule,tooltip.MatTooltipModule,snackBar.MatSnackBarModule,table.MatTableModule,sort.MatSortModule,paginator.MatPaginatorModule,datepicker.MatDatepickerModule,core$1.MatNativeDateModule],exports:[checkbox.MatCheckboxModule,button.MatButtonModule,input.MatInputModule,autocomplete.MatAutocompleteModule,datepicker.MatDatepickerModule,formField.MatFormFieldModule,radio.MatRadioModule,select.MatSelectModule,slider.MatSliderModule,slideToggle.MatSlideToggleModule,menu.MatMenuModule,sidenav.MatSidenavModule,toolbar.MatToolbarModule,list.MatListModule,gridList.MatGridListModule,card.MatCardModule,stepper.MatStepperModule,tabs.MatTabsModule,expansion.MatExpansionModule,buttonToggle.MatButtonToggleModule,chips.MatChipsModule,icon.MatIconModule,progressSpinner.MatProgressSpinnerModule,progressBar.MatProgressBarModule,dialog.MatDialogModule,tooltip.MatTooltipModule,snackBar.MatSnackBarModule,table.MatTableModule,sort.MatSortModule,paginator.MatPaginatorModule]})],e)}(),EqpDynamicModuleConfiguratorComponent=function(){function e(e,t,a){this.formBuilder=e,this.dialog=t,this.utilityHelperService=a,this.context=new Context,this.form=new Form,this.formID=null,this.innerFormManagment=!1,this.orgaID=null,this.baseServerUrl=null,this.userToken=null,this.endPointConfiguration=null,this.formCompleted=!1,this.FormTypeEnum=exports.FormTypeEnum,this.FormScalarTypeEnum=exports.FormScalarTypeEnum,this.saveFormEvent=new core.EventEmitter,this.afterSaveFormEvent=new core.EventEmitter}return e.prototype.ngOnInit=function(){this.configureDefaultEndPoints(),this.getFormByID(),this.context&&UtilityHelperService.SetContext(this.context)},e.prototype.configureDefaultEndPoints=function(){!this.endPointConfiguration&&this.baseServerUrl&&(this.endPointConfiguration=this.utilityHelperService.ConfigureDefaultEndPoints(this.baseServerUrl,this.userToken),this.formID&&(this.endPointConfiguration.Forms.GetByIDEndPoint.Params=[{ParamName:"id",ParamValue:this.formID,ParamType:exports.ParamTypeEnum["Query param"]}]))},e.prototype.getFormByID=function(){var e=this;this.formID&&this.endPointConfiguration&&this.endPointConfiguration.Forms&&this.endPointConfiguration.Forms.GetByIDEndPoint?this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Forms.GetByIDEndPoint,null,(function(t){e.setFormAndConfigure(t)}),(function(t){e.setFormAndConfigure(new Form)})):this.setFormAndConfigure()},e.prototype.onChangeFormScalarType=function(){this.form.FormScalarType!=exports.FormScalarTypeEnum.Semplice?this.formFormGroup.contains("FormFieldsGroups")||(this.formFormGroup.removeControl("FormFieldsGroups"),this.formFormGroup.addControl("FormFieldsGroups",new forms.FormControl(this.form.FormFieldsGroups,[forms.Validators.required,ArrayValidators.minLenght(1)]))):(this.form.FormFieldsGroups=null,this.formFormGroup.contains("FormFieldsGroups")&&this.formFormGroup.removeControl("FormFieldsGroups")),this.formFormGroup.updateValueAndValidity(),this.configureColumns()},e.prototype.onFormFieldGroupNameKeyUp=function(e){var t=this;"Enter"!==e.code&&"NumpadEnter"!==e.code||(this.form.FormFieldsGroups||(this.form.FormFieldsGroups=new Array),this.form.FormFieldsGroups.find((function(e){return e.Name==t.formFieldGroupName}))||this.form.FormFieldsGroups.push({Name:this.formFieldGroupName}),this.formFormGroup.controls.FormFieldsGroups.setValue(this.form.FormFieldsGroups),this.formFieldGroupName=null,this.setFormFieldGroupOrdinalPosition())},e.prototype.onDeleteFormFieldGroupName=function(e){this.form.FormFieldsGroups.splice(this.form.FormFieldsGroups.findIndex((function(t){return t.Name===e})),1),this.formFormGroup.controls.FormFieldsGroups.setValue(this.form.FormFieldsGroups),this.form.Fields.find((function(t){return t.FieldGroup==e}))&&this.form.Fields.filter((function(t){return t.FieldGroup==e})).forEach((function(e){return e.FieldGroup=null})),this.setFormFieldGroupOrdinalPosition()},e.prototype.openFieldDialog=function(e){void 0===e&&(e=null),e?(this.indexSelectedField=this.form.Fields.indexOf(e),this.selectedField=JSON.parse(JSON.stringify(e))):(this.selectedField=new BaseField,this.indexSelectedField=null),this.dialogFieldRef=this.dialog.open(this.dialogField,{disableClose:!0,hasBackdrop:!0,width:"75%"})},e.prototype.onSaveField=function(e){var t=this;if(e){if(this.form.Fields&&this.form.Fields.find((function(a,o){return a.Label===e.Label&&(null==t.indexSelectedField||t.indexSelectedField!==o)})))throw EqpDynamicModuleDialogService.Warning("Impossibile inserire due campi con la stessa label."),new Error("Impossibile inserire due campi con la stessa label.");null!=this.indexSelectedField&&this.indexSelectedField>=0?this.form.Fields[this.indexSelectedField]=e:(this.form.Fields||(this.form.Fields=new Array),this.form.Fields.push(e))}this.closeFieldDialog(),this.setFieldOrdinalPosition(),this.reloadFieldsTable()},e.prototype.isFieldStepCompleted=function(){return!!this.form.Fields&&((this.form.FormScalarType==exports.FormScalarTypeEnum.Semplice||!this.form.Fields.find((function(e){return!e.FieldGroup})))&&this.form.Fields.length>0)},e.prototype.openInnerFormDialog=function(e){void 0===e&&(e=null),e?(this.indexSelectedInnerForm=this.form.InnerForms.indexOf(e),this.selectedInnerForm=JSON.parse(JSON.stringify(e)),this.selectedInnerForm.OldName=e.Name,this.indexSelectedField=this.form.Fields.findIndex((function(t){return t.Label===e.Name}))):(this.selectedInnerForm=new Form,this.indexSelectedInnerForm=null,this.indexSelectedField=null),this.dialogInnerFormRef=this.dialog.open(this.dialogInnerForm,{disableClose:!0,hasBackdrop:!0,width:"85%"})},e.prototype.onSaveOrExitInnerForm=function(e){var t=this;if(null!=e){if(this.form.Name===e.Name||this.form.InnerForms&&this.form.InnerForms.find((function(a,o){return a.Name===e.Name&&(null==t.indexSelectedInnerForm||t.indexSelectedInnerForm!==o)}))||this.form.Fields&&null==this.indexSelectedInnerForm&&this.form.Fields.find((function(a,o){return a.Label===e.Name&&(null==t.indexSelectedField||t.indexSelectedField!==o)})))throw EqpDynamicModuleDialogService.Warning("Impossibile inserire due form di dettaglio con lo stesso nome."),new Error("Impossibile inserire due form di dettaglio con lo stesso nome.");var a=new BaseField;a.Name=e.Name.split(" ").join("_"),a.Label=e.Name,a.FieldType=exports.FieldTypeEnum["Form di dettaglio"],a.FieldGroup=null!=this.indexSelectedField?this.form.Fields[this.indexSelectedField].FieldGroup:null,null!=this.indexSelectedInnerForm&&this.indexSelectedInnerForm>=0?(this.form.InnerForms[this.indexSelectedInnerForm]=e,this.form.Fields[this.indexSelectedField]=a):(this.form.InnerForms||(this.form.InnerForms=new Array),this.form.InnerForms.push(e),this.form.Fields.push(a)),this.reloadFieldsTable()}this.dialogInnerFormRef.close()},e.prototype.openActionOnRecordDialog=function(e){void 0===e&&(e=null),e?(this.indexSelectedAction=this.form.ActionsOnRecord.indexOf(e),this.selectedAction=JSON.parse(JSON.stringify(e))):(this.selectedAction=new ActionOnRecord,this.indexSelectedAction=null),this.createActionOnRecordForm(),this.dialogActionOnRecordRef=this.dialog.open(this.dialogActionOnRecord,{disableClose:!0,hasBackdrop:!0,width:"75%"})},e.prototype.setActionAutocompleteOptions=function(e){e&&e.code.includes("Arrow")||(this.actionAutocompleteOptions=UtilityHelperService.GetAutocompleteOptions(this.form.Fields,this.selectedAction.Action))},e.prototype.saveActionOnRecord=function(){var e=this;if(this.form.ActionsOnRecord&&this.form.ActionsOnRecord.find((function(t,a){return t.Name===e.selectedAction.Name&&(null==e.indexSelectedAction||e.indexSelectedAction!==a)})))throw EqpDynamicModuleDialogService.Warning("Impossibile inserire due action con lo stesso nome."),new Error("Impossibile inserire due action con lo stesso nome.");null!=this.indexSelectedAction&&this.indexSelectedAction>=0?this.form.ActionsOnRecord[this.indexSelectedAction]=this.selectedAction:(this.form.ActionsOnRecord||(this.form.ActionsOnRecord=new Array),this.form.ActionsOnRecord.push(this.selectedAction)),this.closeDialogActionOnRecord(),this.setActionOrdinalPosition(),this.reloadActionsOnRecordTable()},e.prototype.closeDialogInnerForm=function(){this.innerFormRef.close()},e.prototype.closeDialogActionOnRecord=function(){this.dialogActionOnRecordRef.close()},e.prototype.setFormStatus=function(e){e?(this.formCompleted=!0,this.previewForm=JSON.parse(JSON.stringify(this.form)),this.previewForm.Fields.forEach((function(e){e.Name=e.Label.split(" ").join("_")})),this.previewForm.InnerForms&&this.previewForm.InnerForms.length>0&&this.previewForm.InnerForms.forEach((function(e){e.Fields.forEach((function(e){e.Name=e.Label.split(" ").join("_")}))}))):(this.formCompleted=!1,this.previewForm=null)},e.prototype.saveForm=function(){var e=this;if(null!=this.endPointConfiguration&&this.endPointConfiguration.Forms.SaveEndPoint){this.form.ObjectFields=[],this.form.Fields.forEach((function(t){if(t.FieldType==exports.FieldTypeEnum.Allegato){var a=t;a.MetadataObjectFields=a.MetadataFields,a.MetadataFields=[],e.form.ObjectFields.push(a)}else e.form.ObjectFields.push(t)})),this.form.Fields=null,this.form.OrgaID=this.orgaID;var t=[{ParamName:"Form",ParamValue:this.form,ParamType:exports.ParamTypeEnum["In Body"]}];this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Forms.SaveEndPoint,t,(function(t){EqpDynamicModuleDialogService.Success("Form salvata con successo!"),e.afterSaveFormEvent.emit(e.form)}))}else this.saveFormEvent.emit(this.form)},e.prototype.setFormAndConfigure=function(e){void 0===e&&(e=null),null!=e&&(this.form=e),this.configureColumns(),this.createFormForm()},e.prototype.configureColumns=function(){var e=this;this.fieldsColumns=[{key:"action",display:"",type:eqpTable.TypeColumn.MenuAction,buttonMenuIcon:"more_vert",styles:{flex:"0 0 6%"},actions:[{name:"Modifica",icon:"edit",fn:function(t,a,o){return e.editField(t)}},{name:"Elimina",icon:"delete",fn:function(t,a,o){return e.deleteElement(t,"Fields")}},{name:"Sposta su",icon:"arrow_upward",fn:function(t,a,o){return e.moveElement(t,!0,"Fields")},disabled:function(t){return 0===e.form.Fields.indexOf(t)}},{name:"Sposta giù",icon:"arrow_downward",fn:function(t,a,o){return e.moveElement(t,!1,"Fields")},disabled:function(t){return e.form.Fields.indexOf(t)>=e.form.Fields.length-1}}]},{key:"FieldType",display:"Tipologia",type:eqpTable.TypeColumn.Enum,enumModel:exports.FieldTypeEnum},{key:"Label",display:"Label"},{key:"Description",display:"Descrizione"},{key:"Required",display:"Obbligatorio",value:function(e){return!!e.Required},type:eqpTable.TypeColumn.Boolean,booleanValues:{true:'<i class="fa fa-check success-color"></i>',false:'<i class="fa fa-close error-color"></i>'},styles:{flex:"0 0 7%",cellAlignment:eqpTable.CellAlignmentEnum.CENTER}}],this.form.FormScalarType&&this.form.FormScalarType!=exports.FormScalarTypeEnum.Semplice&&this.fieldsColumns.splice(this.fieldsColumns.findIndex((function(e){return"Description"==e.key})),0,{key:"FieldGroup",display:"Sezione",type:eqpTable.TypeColumn.ExternalTemplate,externalTemplate:this.fieldSectionColumnTemplate}),this.actionsOnRecordColumns=[{key:"action",display:"",type:eqpTable.TypeColumn.MenuAction,buttonMenuIcon:"more_vert",styles:{flex:"0 0 6%"},actions:[{name:"Modifica",icon:"edit",fn:function(t,a,o){return e.openActionOnRecordDialog(t)}},{name:"Elimina",icon:"delete",fn:function(t,a,o){return e.deleteElement(t,"ActionsOnRecord")}},{name:"Sposta su",icon:"arrow_upward",fn:function(t,a,o){return e.moveElement(t,!0,"ActionsOnRecord")},disabled:function(t){return 0===e.form.ActionsOnRecord.indexOf(t)}},{name:"Sposta giù",icon:"arrow_downward",fn:function(t,a,o){return e.moveElement(t,!1,"ActionsOnRecord")},disabled:function(t){return e.form.ActionsOnRecord.indexOf(t)>=e.form.ActionsOnRecord.length-1}}]},{key:"Icon",display:"Icona",styles:{flex:" 0 0 15%"}},{key:"Name",display:"Nome",styles:{flex:" 0 0 20%"}},{key:"Action",display:"Azione"}]},e.prototype.createFormForm=function(){this.formFormGroup=this.formBuilder.group({Name:[this.form.Name,forms.Validators.required],FormScalarType:[this.form.FormScalarType,forms.Validators.required]}),this.onChangeFormScalarType()},e.prototype.createActionOnRecordForm=function(){this.actionOnRecordFormGroup=this.formBuilder.group({Name:[this.selectedAction.Name,forms.Validators.required],Icon:[this.selectedAction.Icon,forms.Validators.required],Action:[this.selectedAction.Action,forms.Validators.required]})},e.prototype.closeFieldDialog=function(){this.dialogFieldRef.close()},e.prototype.editField=function(e){e.FieldType!=exports.FieldTypeEnum["Form di dettaglio"]?this.openFieldDialog(e):this.openInnerFormDialog(this.form.InnerForms.find((function(t){return t.Name==e.Label})))},e.prototype.deleteElement=function(e,t){var a=this;EqpDynamicModuleDialogService.Confirm("Eliminare l'elemento selezionato?",(function(){a.form[t].splice(a.form[t].indexOf(e),1),"Fields"===t?(a.setFieldOrdinalPosition(),a.reloadFieldsTable()):"ActionsOnRecord"===t&&(a.setActionOrdinalPosition(),a.reloadActionsOnRecordTable())}),!1,"Richiesta conferma")},e.prototype.moveElement=function(e,t,a){var o=this.form[a].indexOf(e),r=o+(t?-1:1);this.form[a].splice(o,1),this.form[a].splice(r,0,e),"Fields"===a?(this.setFieldOrdinalPosition(),this.reloadFieldsTable()):"ActionsOnRecord"===a&&(this.setActionOrdinalPosition(),this.reloadActionsOnRecordTable())},e.prototype.setFormFieldGroupOrdinalPosition=function(){this.form.FormFieldsGroups.forEach((function(e,t){return e.OrdinalPosition=t}))},e.prototype.setFieldOrdinalPosition=function(){var e=this;this.form.Fields&&this.form.Fields.forEach((function(t){t.OrdinalPosition=e.form.Fields.indexOf(t)}))},e.prototype.reloadFieldsTable=function(){this.fieldsTable&&this.fieldsTable.reloadDatatable()},e.prototype.setActionOrdinalPosition=function(){var e=this;this.form.ActionsOnRecord&&this.form.ActionsOnRecord.forEach((function(t){t.OrdinalPosition=e.form.ActionsOnRecord.indexOf(t)}))},e.prototype.reloadActionsOnRecordTable=function(){this.actionsOnRecordTable&&this.actionsOnRecordTable.reloadDatatable()},e.ctorParameters=function(){return[{type:forms.FormBuilder},{type:dialog.MatDialog},{type:UtilityHelperService}]},__decorate([core.Input()],e.prototype,"context",void 0),__decorate([core.Input()],e.prototype,"form",void 0),__decorate([core.Input()],e.prototype,"formID",void 0),__decorate([core.Input()],e.prototype,"innerFormManagment",void 0),__decorate([core.Input()],e.prototype,"orgaID",void 0),__decorate([core.Input()],e.prototype,"innerFormRef",void 0),__decorate([core.Input()],e.prototype,"baseServerUrl",void 0),__decorate([core.Input()],e.prototype,"userToken",void 0),__decorate([core.Input()],e.prototype,"endPointConfiguration",void 0),__decorate([core.ViewChild("fieldsTable",{static:!1})],e.prototype,"fieldsTable",void 0),__decorate([core.ViewChild("dialogField",{static:!0})],e.prototype,"dialogField",void 0),__decorate([core.ViewChild("fieldSectionColumnTemplate",{static:!0})],e.prototype,"fieldSectionColumnTemplate",void 0),__decorate([core.ViewChild("dialogInnerForm",{static:!0})],e.prototype,"dialogInnerForm",void 0),__decorate([core.ViewChild("actionsOnRecordTable",{static:!1})],e.prototype,"actionsOnRecordTable",void 0),__decorate([core.ViewChild("dialogActionOnRecord",{static:!0})],e.prototype,"dialogActionOnRecord",void 0),__decorate([core.Output()],e.prototype,"saveFormEvent",void 0),__decorate([core.Output()],e.prototype,"afterSaveFormEvent",void 0),e=__decorate([core.Component({selector:"eqp-dynamic-module-configurator",template:'<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n\r\n<div class="row title" *ngIf="innerFormManagment">\r\n <div class="col-md-10">\r\n <div class="header-title-standard">Aggiunta form di dettaglio</div>\r\n </div>\r\n <div class="col-md-2 text-right"><mat-icon class="add" (click)="closeDialogInnerForm()">close</mat-icon></div>\r\n</div>\r\n\r\n<mat-horizontal-stepper linear #stepper\r\n [ngClass]="{ outerForm : true }"\r\n class="{{ \'last-edited-step-\' + stepper.selectedIndex }}">\r\n \x3c!-- DATI GENERALI DELLA FORM --\x3e\r\n <mat-step [stepControl]="formFormGroup">\r\n <form [formGroup]="formFormGroup" (keydown.enter)="false">\r\n <ng-template matStepLabel>\r\n <div class="stepper-header-overlay" (click)="setFormStatus(false)"></div>\r\n Dati generali della form\r\n </ng-template>\r\n\r\n <div class="row firstRow">\r\n <div class="col-md-4">\r\n <mat-label>Nome</mat-label>\r\n <mat-form-field class="name">\r\n <input matInput formControlName="Name" [(ngModel)]="form.Name" required>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class="col-md-4">\r\n <mat-label>Tipo di visualizzazione</mat-label>\r\n <eqp-select class="nameSection" [enumData]="FormScalarTypeEnum"\r\n [(ngModelInput)]="form.FormScalarType" [isRequired]="false" required [showCancelButton]="false"\r\n [formGroupInput]="formFormGroup" [formControlNameInput]="\'FormScalarType\'"\r\n (ngModelInputChange)="onChangeFormScalarType()">\r\n </eqp-select>\r\n </div>\r\n </div>\r\n <div class="row inserted" *ngIf="form.FormScalarType && form.FormScalarType != FormScalarTypeEnum.Semplice">\r\n <div class="col-md-4">\r\n <mat-label> Nome sezione (invio per confermare) </mat-label>\r\n <mat-form-field class="nameSection">\r\n <input matInput [(ngModel)]="formFieldGroupName" [ngModelOptions]="{standalone: true}"\r\n (keyup)="onFormFieldGroupNameKeyUp($event)">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-md-8">\r\n <span class="mr-3">Sezioni inserite:</span>\r\n <ul class="section-list">\r\n <li *ngFor="let groupName of form.FormFieldsGroups, let i=index">\r\n <span class="sectionInsert">\r\n <mat-icon class="mr-1" (click)="onDeleteFormFieldGroupName(groupName.Name)">close\r\n </mat-icon>{{groupName.Name}}\r\n </span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class="mt-2 d-flex justify-content-end button-nextDiv">\r\n <button class="button-next" mat-raised-button color="primary" matStepperNext\r\n [disabled]="formFormGroup.invalid">\r\n Successivo</button>\r\n </div>\r\n </form>\r\n </mat-step>\r\n\r\n \x3c!-- AGGIUNTA DEI CAMPI DELLA FORM --\x3e\r\n <mat-step [completed]="isFieldStepCompleted()">\r\n <ng-template matStepLabel>\r\n <div class="stepper-header-overlay" (click)="setFormStatus(false)"></div>\r\n <mat-label>Campi da inserire</mat-label>\r\n </ng-template>\r\n\r\n <div class="row justify-content-start addButtons">\r\n <button class="btn btn-primary" mat-raised-button color="primary" type="button" (click)="openFieldDialog()">\r\n <mat-icon>add</mat-icon>\r\n <span style="margin-left: 10px;">Aggiungi campo</span>\r\n </button>\r\n\r\n <button class="btn btn-outlined ml-2" mat-raised-button color="primary" type="button"\r\n (click)="openInnerFormDialog()" *ngIf="!innerFormManagment">\r\n <mat-icon>add</mat-icon>\r\n <span style="margin-left: 10px;">Aggiungi form di dettaglio</span>\r\n </button>\r\n </div>\r\n\r\n <eqp-table class="table" #fieldsTable [createMatCard]="false" [columns]="fieldsColumns" [data]="form.Fields"\r\n [emptyTableMessage]="\'Nessun campo inserito\'" [searchText]="\'\'">\r\n </eqp-table>\r\n\r\n <div class="mt-2 d-flex justify-content-end"> \r\n <button class="mr-2 previous" mat-raised-button matStepperPrevious>Precedente</button>\r\n <button class="button-next" mat-raised-button color="primary" matStepperNext\r\n [disabled]="!isFieldStepCompleted()" [ngClass]="{ disabled: formFormGroup.invalid }"\r\n (click)="setFormStatus(false)">Successivo</button>\r\n </div>\r\n </mat-step>\r\n <ng-template matStepperIcon="edit" let-index="index">\r\n <mat-label>{{ index + 1 }}</mat-label>\r\n </ng-template>\r\n\r\n \x3c!-- AGGIUNTA DELLE OPERAZIONI SUI RECORD --\x3e\r\n <mat-step>\r\n <ng-template matStepLabel>\r\n <div class="stepper-header-overlay" (click)="setFormStatus(false)"></div>\r\n Azioni aggiuntive sui record\r\n </ng-template>\r\n\r\n <div class="row justify-content-start m-auto addButtons">\r\n <button class="btn btn-primary" mat-raised-button color="primary" type="button"\r\n (click)="openActionOnRecordDialog()">\r\n <mat-icon>add</mat-icon>\r\n <span style="margin-left: 10px;">Aggiungi azione</span>\r\n </button>\r\n </div>\r\n <eqp-table class="table" #actionsOnRecordTable [createMatCard]="false" [columns]="actionsOnRecordColumns"\r\n [data]="form.ActionsOnRecord" [emptyTableMessage]="\'Nessuna action inserita\'" [searchText]="\'\'">\r\n </eqp-table>\r\n\r\n <div class="mt-2 d-flex justify-content-end buttonsNextDiv">\r\n <button class="mr-2 previous" mat-raised-button matStepperPrevious>Precedente</button>\r\n <button class="button-next" mat-raised-button color="primary" matStepperNext (click)="setFormStatus(true)">\r\n Successivo\r\n </button>\r\n </div>\r\n </mat-step>\r\n\r\n \x3c!-- VISUALIZZAZIONE FORM CREATA --\x3e\r\n <mat-step>\r\n <ng-template matStepLabel>\r\n <div class="stepper-header-overlay"\r\n (click)="setFormStatus(formFormGroup.valid && form.Fields && form.Fields.length > 0)"></div>\r\n Anteprima\r\n </ng-template>\r\n\r\n <add-form-record *ngIf="previewForm && formCompleted" [form]="previewForm" [showButtons]="false">\r\n </add-form-record>\r\n\r\n\r\n <div class="mt-2 d-flex justify-content-end button-nextDiv">\r\n <button class="mr-2 button-exit" mat-raised-button matStepperPrevious\r\n (click)="setFormStatus(false)">Precedente</button>\r\n <button class="button-next" mat-raised-button color="primary" (click)="saveForm()">Salva form</button>\r\n </div>\r\n </mat-step>\r\n</mat-horizontal-stepper>\r\n\r\n\r\n\x3c!-- DIALOG AGGIUNTA/MODIFICA CAMPO --\x3e\r\n<ng-template #dialogField>\r\n <eqp-dynamic-module-add-form-field [field]="selectedField" [indexField]="indexSelectedField"\r\n (saveFieldEvent)="onSaveField($event)" [availableFields]="form.Fields"\r\n [formFieldsGroups]="form.FormScalarType != FormScalarTypeEnum.Semplice ? form.FormFieldsGroups : null">\r\n </eqp-dynamic-module-add-form-field>\r\n</ng-template>\r\n\r\n\x3c!-- TEMPLATE PER VISUALIZZARE LA COLONNA DELLA SEZIONE NELLA TABELLA DEI FIELDS --\x3e\r\n<ng-template #fieldSectionColumnTemplate let-row="row">\r\n <eqp-select [arrayData]="form.FormFieldsGroups" [(ngModelInput)]="row.FieldGroup" [arrayKeyProperty]="\'Name\'"\r\n [arrayValueProperty]="\'Name\'" placeholder="Sezione" [isRequired]="true" [includeFullObject]="false">\r\n </eqp-select>\r\n</ng-template>\r\n\r\n\x3c!-- DIALOG PER AGGIUNGERE/MODIFICARE UNA ACTION SUI RECORD DELLA FORM --\x3e\r\n<ng-template #dialogActionOnRecord>\r\n <div class="container-fluid third-modal" style="max-height: 70vh !important; overflow-x: hidden; overflow-y: auto;">\r\n <form [formGroup]="actionOnRecordFormGroup">\r\n <div class="row title">\r\n <mat-icon class="add">add</mat-icon>\r\n <div class="header-title-standard">{{indexSelectedAction != null && indexSelectedAction >= 0 ?\r\n "Modifica"\r\n : "Aggiungi"}} azione sul record</div>\r\n </div>\r\n <div class="row">\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label> Nome </mat-label>\r\n <mat-form-field>\r\n <input formControlName="Name" required matInput [(ngModel)]="selectedAction.Name">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label> Icona </mat-label>\r\n <mat-form-field>\r\n <input formControlName="Icon" required matInput [(ngModel)]="selectedAction.Icon">\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n <div class="row">\r\n <div class="col-sm-12 col-md-12 mt-2">\r\n <mat-label>Azione (Javascript)</mat-label>\r\n <mat-form-field>\r\n <textarea \r\n matInput \r\n [rows]="3" \r\n formControlName="Action"\r\n required \r\n [(ngModel)]="selectedAction.Action" \r\n [matAutocomplete]="actionAutocomplete"\r\n (keyup)="setActionAutocompleteOptions($event)"\r\n (focus)="setActionAutocompleteOptions(null)"></textarea>\r\n <mat-autocomplete #actionAutocomplete="matAutocomplete">\r\n <mat-option *ngFor="let option of actionAutocompleteOptions" [value]="option.value">\r\n {{option.label}}\r\n </mat-option>\r\n </mat-autocomplete>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class="row mt-2 mb-1 buttonsForm">\r\n <div class="col-sm-12 text-right">\r\n <button class="btn mat-raised-button cancel" (click)="closeDialogActionOnRecord()" type="button">\r\n Esci\r\n </button>\r\n <button class="mr-2 save" mat-raised-button color="primary" (click)="saveActionOnRecord()"\r\n [disabled]="actionOnRecordFormGroup.invalid" type="button">\r\n Salva\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- TEMPLATE PER CONFIGURARE LE FORM DI DETTAGLIO --\x3e\r\n<ng-template #dialogInnerForm>\r\n <eqp-dynamic-module-configurator [form]="selectedInnerForm" [innerFormManagment]="true"\r\n (saveFormEvent)="onSaveOrExitInnerForm($event)" [innerFormRef]="dialogInnerFormRef"\r\n >\r\n </eqp-dynamic-module-configurator>\r\n</ng-template>',styles:['.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-h6,.mat-typography h5,.mat-typography h6{margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-start{/*!*/}@-webkit-keyframes cdk-text-field-autofill-end{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:0s 1ms cdk-text-field-autofill-start;animation:0s 1ms cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:0s 1ms cdk-text-field-autofill-end;animation:0s 1ms cdk-text-field-autofill-end}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff5252;color:rgba(0,0,0,.87)}.mat-badge-warn .mat-badge-content{color:#fff;background:#c40000}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-badge-content{color:#fff;background:#1e31eb;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable,.ng-animate-disabled .mat-badge-content{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:0 0}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#1e31eb}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff5252}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#c40000}.mat-button.mat-accent[disabled],.mat-button.mat-primary[disabled],.mat-button.mat-warn[disabled],.mat-button[disabled][disabled],.mat-icon-button.mat-accent[disabled],.mat-icon-button.mat-primary[disabled],.mat-icon-button.mat-warn[disabled],.mat-icon-button[disabled][disabled],.mat-stroked-button.mat-accent[disabled],.mat-stroked-button.mat-primary[disabled],.mat-stroked-button.mat-warn[disabled],.mat-stroked-button[disabled][disabled]{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#1e31eb}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff5252}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#c40000}.mat-button[disabled] .mat-button-focus-overlay,.mat-icon-button[disabled] .mat-button-focus-overlay,.mat-stroked-button[disabled] .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not([disabled]){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{color:#fff;background-color:#1e31eb}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{color:rgba(0,0,0,.87);background-color:#ff5252}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{color:#fff;background-color:#c40000}.mat-fab.mat-accent[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][disabled]{color:rgba(0,0,0,.26);background-color:rgba(0,0,0,.12)}.mat-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled]:not([class*=mat-elevation-z]),.mat-mini-fab[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none;border:1px solid rgba(0,0,0,.12)}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#1e31eb}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#ff5252}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#c40000}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#1e31eb}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff5252}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#c40000}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip::after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#1e31eb;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#c40000;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff5252;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-table{background:#fff}.mat-table tbody,.mat-table tfoot,.mat-table thead,.mat-table-sticky,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider::after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content{color:rgba(0,0,0,.87);border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){color:rgba(0,0,0,.38)}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(0,0,0,.04)}.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.18)}.mat-calendar-body-selected{background-color:#1e31eb;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(30,49,235,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff5252;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(255,82,82,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(0,0,0,.87)}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#c40000;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(196,0,0,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#1e31eb}.mat-datepicker-toggle-active.mat-accent{color:#ff5252}.mat-datepicker-toggle-active.mat-warn{color:#c40000}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator::after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#1e31eb}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff5252}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#c40000}.mat-focused .mat-form-field-required-marker{color:#ff5252}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#1e31eb}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff5252}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#c40000}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix::after{color:#1e31eb}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix::after{color:#ff5252}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix::after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent{color:#c40000}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#c40000}.mat-error{color:#c40000}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em;background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline::before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline::before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#1e31eb}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff5252}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#c40000}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#1e31eb}.mat-icon.mat-accent{color:#ff5252}.mat-icon.mat-warn{color:#c40000}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix::after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#1e31eb}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-accent .mat-input-element{caret-color:#ff5252}.mat-form-field-invalid .mat-input-element,.mat-warn .mat-input-element{caret-color:#c40000}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix::after{color:#c40000}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:focus,.mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:0 0;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled]::after{color:rgba(0,0,0,.38)}.mat-menu-item .mat-icon-no-color,.mat-menu-item-submenu-trigger::after{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-progress-bar-background{fill:#c5cae9}.mat-progress-bar-buffer{background-color:#c5cae9}.mat-progress-bar-fill::after{background-color:#1e31eb}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#ff8a80}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#ff8a80}.mat-progress-bar.mat-accent .mat-progress-bar-fill::after{background-color:#ff5252}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#ffcdd2}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#ffcdd2}.mat-progress-bar.mat-warn .mat-progress-bar-fill::after{background-color:#c40000}.mat-progress-spinner circle,.mat-spinner circle{stroke:#1e31eb}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff5252}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#c40000}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#1e31eb}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#1e31eb}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff5252}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff5252}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#c40000}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#c40000}.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#1e31eb}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff5252}.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow,.mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#c40000}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff5252}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(255,82,82,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff5252}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#1e31eb}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(30,49,235,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#1e31eb}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#c40000}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(196,0,0,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#c40000}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fff}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#1e31eb}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#ff5252}.mat-accent .mat-slider-thumb-label-text{color:rgba(0,0,0,.87)}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#c40000}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider-focus-ring{background-color:rgba(255,82,82,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper::after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.mat-step-header:hover{background:0 0}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#1e31eb;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#c40000}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#c40000}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line::before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header::after,.mat-horizontal-stepper-header::before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#1e31eb}.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,138,128,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff5252}.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar{background-color:rgba(0,0,0,.87)}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#c40000}.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.mat-tab-group.mat-background-primary .mat-tab-header,.mat-tab-group.mat-background-primary .mat-tab-header-pagination,.mat-tab-group.mat-background-primary .mat-tab-links,.mat-tab-nav-bar.mat-background-primary .mat-tab-header,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary .mat-tab-links{background-color:#1e31eb}.mat-tab-group.mat-background-primary .mat-tab-label,.mat-tab-group.mat-background-primary .mat-tab-link,.mat-tab-nav-bar.mat-background-primary .mat-tab-label,.mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,138,128,.3)}.mat-tab-group.mat-background-accent .mat-tab-header,.mat-tab-group.mat-background-accent .mat-tab-header-pagination,.mat-tab-group.mat-background-accent .mat-tab-links,.mat-tab-nav-bar.mat-background-accent .mat-tab-header,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent .mat-tab-links{background-color:#ff5252}.mat-tab-group.mat-background-accent .mat-tab-label,.mat-tab-group.mat-background-accent .mat-tab-link,.mat-tab-nav-bar.mat-background-accent .mat-tab-label,.mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.4)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.4)}.mat-tab-group.mat-background-accent .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent .mat-ripple-element{background-color:rgba(0,0,0,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-background-warn .mat-tab-header,.mat-tab-group.mat-background-warn .mat-tab-header-pagination,.mat-tab-group.mat-background-warn .mat-tab-links,.mat-tab-nav-bar.mat-background-warn .mat-tab-header,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn .mat-tab-links{background-color:#c40000}.mat-tab-group.mat-background-warn .mat-tab-label,.mat-tab-group.mat-background-warn .mat-tab-link,.mat-tab-nav-bar.mat-background-warn .mat-tab-label,.mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#1e31eb;color:#fff}.mat-toolbar.mat-accent{background:#ff5252;color:rgba(0,0,0,.87)}.mat-toolbar.mat-warn{background:#c40000;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{font-family:Roboto,"Helvetica Neue",sans-serif;background:#fff}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px;color:rgba(0,0,0,.87)}.mat-snack-bar-container{color:rgba(255,255,255,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#ff5252}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option{color:rgba(0,0,0,.87)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#1e31eb}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff5252}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#c40000}.mat-optgroup-label{color:rgba(0,0,0,.54)}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox::after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#1e31eb}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#ff5252}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#c40000}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-theme-loaded-marker{display:none}.row.title{background-color:#ebebeb;padding:20px 0 20px 50px;margin:0;justify-content:flex-start}.row.title mat-icon.add{background:#fff;color:#7b7b7b;height:40px;width:40px;border-radius:10px;font-size:27px;padding:7px 6px 6px 7px;margin:0 7px 0 0;cursor:pointer}.row.title .header-title-standard{display:flex;align-items:center;font-size:19px;font-weight:700;color:grey}.firstRow{margin-top:20px}::ng-deep mat-form-field{width:100%}hr{border:none;height:50px;box-shadow:0 20px 20px -20px #dfdfdf}.inserted{margin-top:45px}::ng-deep .mat-form-field-appearance-legacy .mat-form-field-underline{display:none}::ng-deep .mat-form-field-flex .mat-form-field-infix input{border:1px solid #e7e7e9;border-radius:10px;padding:15px 0 15px 20px!important;margin-top:10px;background-color:#fff}::ng-deep .mat-form-field-flex .mat-form-field-infix input:focus{border:1px solid #1a39ed}::ng-deep .mat-form-field-flex .mat-form-field-infix{padding:0;margin:0}::ng-deep .mat-form-field-flex .mat-form-field-infix input[formcontrolname=hour],::ng-deep .mat-form-field-flex .mat-form-field-infix input[formcontrolname=minute]{border:1px solid #e7e7e9;border-radius:10px;padding:15px 0!important;background-color:#fff}::ng-deep .mat-form-field-flex .mat-form-field-infix input[formcontrolname=hour]:focus,::ng-deep .mat-form-field-flex .mat-form-field-infix input[formcontrolname=minute]:focus{border:1px solid #1a39ed}::ng-deep .ngx-mat-timepicker form .table .tbody tr td.spacer{vertical-align:middle!important}.textarea ::ng-deep .mat-form-field-wrapper{border:1px solid #e7e7e9;border-radius:10px;padding:15px 0 15px 20px!important}.textarea ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{border:none;padding:0;margin:0;height:0}::ng-deep .nameSection{width:99%}eqp-select ::ng-deep mat-select{background:url(../../../../../../src/assets/images/arrow.png) 95% 21px/15px no-repeat #fff;border:1px solid #e7e7e9;border-radius:10px;padding:15px 0 15px 20px!important;margin-top:10px}eqp-select ::ng-deep mat-select:focus{border:1px solid #6f79fb}::ng-deep .mat-select-arrow{color:transparent}::ng-deep .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:transparent}::ng-deep .mat-select-value-text{font-size:15px}::ng-deep .cdk-overlay-pane{transform:none!important}::ng-deep .cdk-overlay-pane .mat-select-panel-wrap{margin:37px 0 0 -18px}::ng-deep .cdk-overlay-pane .mat-select-panel-wrap .ng-trigger{border-radius:10px}::ng-deep .cdk-overlay-pane .mat-select-panel-wrap .ng-trigger mat-option{border-radius:10px}::ng-deep .mat-autocomplete.visible{margin:0!important}::ng-deep .mat-select-panel{box-shadow:0 0 2px 0 rgba(0,0,0,.2),0 0 2px 0 rgba(0,0,0,.14),0 0 2px 0 rgba(0,0,0,.12)!important;min-width:calc(100% + 19px)!important}.stepper-header-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.section-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;flex-direction:row}.section-list li{margin-top:36px}.section-list li .sectionInsert{border:1px solid #9171e3;padding:14px 17px;border-radius:10px;margin-right:10px;font-size:16px}.section-list li .sectionInsert mat-icon{vertical-align:middle;font-size:20px!important;height:20px!important;width:40px!important;color:#c40101!important;cursor:pointer}.danger-color{color:#c40101}::ng-deep .mat-elevation-z8{box-shadow:none}mat-horizontal-stepper.outerForm{background-color:#f9f9fa!important}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container{padding:30px 10%;box-shadow:0 20px 20px -20px #dfdfdf}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-label{white-space:normal;margin:7px 0 0;min-width:100px;overflow:visible;text-align:center}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container mat-step-header:hover{background-color:transparent}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-horizontal-stepper-header{display:flex;flex-direction:column;height:96px;padding:30px}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-horizontal-stepper-header .mat-step-icon{margin-right:0}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-stepper-horizontal-line{width:100%;padding-bottom:1px;margin-bottom:46.5px}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .cdk-focused{background-color:transparent}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-icon::before{content:"";position:absolute;left:-25px;bottom:13px;border-left:30px solid #ebebeb;border-top:12px solid transparent;border-bottom:12px solid transparent;transform:rotate(180deg)}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-icon::after{content:"";position:absolute;right:-25px;bottom:13px;border-left:30px solid #ebebeb;border-top:12px solid transparent;border-bottom:12px solid transparent}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-icon::after:last-child{display:none}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-icon.mat-step-icon-state-number.mat-step-icon-selected::before{border-left-color:#643cda}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-icon.mat-step-icon-state-number.mat-step-icon-selected::after{display:none}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-icon.mat-step-icon-state-edit::before{border-left-color:#643cda}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-icon.mat-step-icon-state-edit::after{border-left-color:#3034e7}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container :first-child ::before{display:none}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container :last-child ::after{display:none}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-content-container{padding:20px 10%}mat-horizontal-stepper.innerForm{background-color:#f9f9fa!important}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container{padding:10px 130px}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-horizontal-stepper-header .mat-step-icon{margin-right:0}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-horizontal-stepper-header .mat-step-icon.mat-step-icon-state-number:not(.mat-step-icon-selected){background:linear-gradient(.33turn,#bfbfbf,#606060)}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-horizontal-stepper-header .mat-step-icon.mat-step-icon-state-number:not(.mat-step-icon-selected) .mat-step-icon-content span{color:#fff}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container mat-step-header:hover{background-color:transparent}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-stepper-horizontal-line:nth-child(2){transform:none}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-stepper-horizontal-line:nth-child(4){transform:none}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-stepper-horizontal-line:nth-child(6){transform:none}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .cdk-focused{background-color:transparent}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-label mat-label{margin-left:5px}.button-nextDiv{margin:50px 0 0!important}.button-nextDiv .button-exit{margin:0 10px 0 0!important;border:1px solid #1e31eb;padding:7px 40px;border-radius:10px;font-size:14px;box-shadow:none!important}.button-nextDiv .button-exit:hover{background:#fff!important}div.addButtons{margin:40px 0 0!important}div.addButtons .btn-primary{border-radius:10px;box-shadow:none;padding:6px 25px 6px 9px;font-size:14px;background:linear-gradient(to right,#1e31eb,#693dda)}div.addButtons .btn-primary mat-icon{background:#fff;color:#1e31eb;height:30px;width:31px;border-radius:10px;font-size:27px;padding:2px 0 0;margin:0 7px 0 0}div.addButtons .btn-outlined{box-shadow:none;padding:6px 25px 6px 9px;font-size:14px;border-radius:10px;background-color:#ebebeb;color:#3b3a3b}div.addButtons .btn-outlined mat-icon{background:#fff;color:#bdbdbd;height:30px;width:31px;border-radius:10px;font-size:27px;padding:2px 0 0;margin:0 7px 0 0}div.addButtons .btn-outlined:hover{background:linear-gradient(to right,#1e31eb,#693dda);color:#fff;border-radius:10px}div.addButtons .btn-outlined:hover mat-icon{color:#1e31eb}.table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-wrapper{margin-top:-74px}.table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-wrapper input{background-color:#ebebeb!important;background:url(../../../../../../src/assets/images/search.png) 19px/19px no-repeat;padding:15px 0 15px 53px!important}.table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-wrapper input:focus{background-color:#fff!important;border:1px solid #e7e7e9}.table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-wrapper .mat-form-field-label-wrapper label{margin-top:21px;margin-left:55px}.table ::ng-deep mat-header-row{background-color:#ebebeb;border-bottom-width:0}.table ::ng-deep mat-header-row .mat-column-Required{flex:none!important}.table ::ng-deep .mat-sort-header-button{color:#3b3a3b;font-size:15px}.table ::ng-deep .mat-row{background-color:#fff;margin:10px 0;box-shadow:0 3px 7px -3px rgba(0,0,0,.2);padding:5px 0}.table ::ng-deep .mat-row .mat-column-Required{flex:0 0 8%!important}.table ::ng-deep .mat-row mat-cell eqp-select{margin-top:16px}.table ::ng-deep .mat-row mat-cell eqp-select .mat-form-field-wrapper{padding-bottom:0}.table ::ng-deep .mat-row .mat-cell:last-child span i.success-color{background-color:#383fec;color:#fff!important;padding:6px;border-radius:3px}::ng-deep .mat-paginator-page-size{margin:0 30px 0 0!important}::ng-deep .mat-paginator-page-size .mat-form-field-flex{padding:0 21px 7px!important;width:100px!important;margin:10px!important;background-color:#fff;border-radius:10px;border:1px solid #d3d3d3;height:40px}::ng-deep .mat-paginator-range-label{margin:0 20px 0 52px!important}::ng-deep .mat-dialog-container{padding:0!important;border-radius:10px!important}::ng-deep .mat-paginator-container{display:flex;justify-content:flex-start!important}::ng-deep .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{margin:5px 0 0 2px}::ng-deep .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container .mat-slide-toggle-thumb{background-color:#fff!important}::ng-deep .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#2532ea!important;height:100%!important;width:40px!important;border-radius:20px!important}::ng-deep .mat-slide-toggle .mat-slide-toggle-thumb-container{margin:5px 0 0 2px}::ng-deep .mat-slide-toggle .mat-slide-toggle-bar{height:100%!important;width:40px!important;border-radius:20px!important}.container-fluid.third-modal{padding:0 0 10px}.container-fluid.third-modal form{margin:25px 40px 10px}.container-fluid.third-modal form .buttonsForm{padding:0}.button-next{border-radius:10px;padding:7px 40px;font-size:14px}button.button-next:not([disabled]){background:linear-gradient(to right,#1e31eb,#693dda)!important;padding:7px 40px;border-radius:10px;color:#fff;font-size:14px}button.previous{box-shadow:none!important;margin:0 10px 0 0!important;border:1px solid #1e31eb;padding:7px 40px;border-radius:10px;font-size:14px}.rowButtonsModal{background-color:#f9f9fa}@media screen and (max-width:1200px){.table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select){width:30%!important}.table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-wrapper{margin-top:-98px}.table ::ng-deep .mat-row .mat-column-FieldGroup eqp-select{margin-bottom:-25px}.table ::ng-deep .mat-row .mat-column-FieldGroup .mat-form-field-flex{width:auto}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container{padding:25px 0 0}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-content-container{padding:0 3% 24px!important}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container{padding:10px 0}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-horizontal-stepper-header{display:flex;flex-direction:column;justify-content:space-between}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-stepper-horizontal-line{margin:-21px 0 0}mat-horizontal-stepper.innerForm ::ng-deep .mat-horizontal-content-container{padding:0 3% 24px!important}form{padding:0}div.addButtons{padding:15px 0 24px!important}}@media screen and (max-width:960px){::ng-deep mat-table mat-row{box-shadow:0 3px 7px -3px rgba(0,0,0,.2)!important}::ng-deep mat-table mat-row .mat-column-FieldGroup{padding-top:15px;padding-bottom:47px}mat-horizontal-stepper.outerForm ::ng-deep .mat-horizontal-stepper-header-container .mat-step-label{width:150%!important}}@media screen and (max-width:766px){.table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select){width:40%!important;margin-top:60px}}@media screen and (max-width:589px){div.addButtons button{margin:0 10px 10px 0!important}}']})],e)}(),AttachmentField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseField),AvailableFileExtensions=[{value:".pdf",key:"application/pdf"},{value:".doc",key:"application/msword"},{value:".xls",key:"application/vnd.ms-excel"},{value:".ppt",key:"application/vnd.ms-powerpoint"},{value:".docx",key:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{value:".xlsx",key:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},{value:".pptx",key:"application/vnd.openxmlformats-officedocument.presentationml.presentation"},{value:".csv",key:"text/csv"},{value:".txt",key:"text/plain"}],AvailableImageExtensions=[{value:".jpg/.jpeg",key:"image/jpeg"},{value:".png",key:"image/png"},{value:".bmp",key:"image/bmp"},{value:".svg",key:"image/svg+xml"},{value:".ico",key:"image/x-icon"}],BooleanField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseField),BoolPresentantioEnum;BoolPresentantioEnum=exports.BoolPresentantioEnum||(exports.BoolPresentantioEnum={}),BoolPresentantioEnum[BoolPresentantioEnum.Checkbox=1]="Checkbox",BoolPresentantioEnum[BoolPresentantioEnum.Toggle=2]="Toggle",BoolPresentantioEnum[BoolPresentantioEnum["Radio button"]=3]="Radio button";var DateField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseField),DateTimeTypeEnum;DateTimeTypeEnum=exports.DateTimeTypeEnum||(exports.DateTimeTypeEnum={}),DateTimeTypeEnum[DateTimeTypeEnum["Solo data"]=1]="Solo data",DateTimeTypeEnum[DateTimeTypeEnum["Solo orario"]=2]="Solo orario",DateTimeTypeEnum[DateTimeTypeEnum["Data e ora"]=3]="Data e ora";var ListValueField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseField),ButtonImage=function(){},ListPresentationEnum;ListPresentationEnum=exports.ListPresentationEnum||(exports.ListPresentationEnum={}),ListPresentationEnum[ListPresentationEnum["Combo box"]=1]="Combo box",ListPresentationEnum[ListPresentationEnum["Radio button"]=2]="Radio button",ListPresentationEnum[ListPresentationEnum["Pulsante con testo"]=3]="Pulsante con testo",ListPresentationEnum[ListPresentationEnum.Immagini=4]="Immagini";var AddFormFieldComponent=function(){function e(e,t,a,o){this.formBuilder=e,this.enumHelper=t,this.dialog=a,this.cdr=o,this.fieldTypesToExclude=[exports.FieldTypeEnum["Form di dettaglio"]],this.keyValueObject={key:"",value:""},this.availableColSpanSizes=[],this.AvailableFileExtensions=AvailableFileExtensions,this.AvailableImageExtensions=AvailableImageExtensions,this.saveFieldEvent=new core.EventEmitter,this.FieldTypeEnum=exports.FieldTypeEnum,this.BoolPresentantioEnum=exports.BoolPresentantioEnum,this.DateTimeTypeEnum=exports.DateTimeTypeEnum,this.ListPresentationEnum=exports.ListPresentationEnum,this.TextMaskEnum=exports.TextMaskEnum,this.AttachmentType=eqpAttachments.AttachmentType,this.pickerModeEnum=eqpDatetimepicker.PickerModeEnum}return e.prototype.ngOnInit=function(){var e=this;this.fieldTypesToExclude.includes(exports.FieldTypeEnum["Form di dettaglio"])||this.fieldTypesToExclude.push(exports.FieldTypeEnum["Form di dettaglio"]),this.onFieldTypeChange(!1),this.availableFields=this.availableFields?this.availableFields.filter((function(t){return t!=e.field})):[],this.configureColumns()},e.prototype.setFormulaAutocompleteOptions=function(e){e&&e.code.includes("Arrow")||(this.formulaAutocompleteOptions=UtilityHelperService.GetAutocompleteOptions(this.availableFields,this.field.Formula))},e.prototype.createFieldForm=function(){this.fieldFormGroup=this.formBuilder.group({Label:[this.field.Label,forms.Validators.required],Description:[this.field.Description],Required:[this.field.Required],FieldType:[this.field.FieldType,forms.Validators.required],Formula:[this.field.Formula],ColSpanSizes:[this.field.ColSpanSizes],InListView:[this.field.InListView]}),this.formFieldsGroups&&this.fieldFormGroup.addControl("FieldGroup",new forms.FormControl(this.field.FieldGroup,forms.Validators.required))},e.prototype.onFieldTypeChange=function(e){switch(void 0===e&&(e=!0),e&&this.restoreBaseFieldProperties(),this.createFieldForm(),this.onColSpanSizeSelect(),this.fieldTypeFormTemplate=null,this.field.FieldType){case exports.FieldTypeEnum["Campo di testo"]:this.fieldFormGroup.addControl("TextMask",new forms.FormControl(this.field.TextMask)),this.fieldFormGroup.addControl("MaxLenght",new forms.FormControl(this.field.MaxLenght)),this.fieldFormGroup.addControl("MinLenght",new forms.FormControl(this.field.MinLenght)),this.fieldTypeFormTemplate=this.textFieldFormTemplate;break;case exports.FieldTypeEnum["Area di testo"]:this.fieldFormGroup.addControl("Rows",new forms.FormControl(this.field.Rows)),this.fieldFormGroup.addControl("MaxLenght",new forms.FormControl(this.field.MaxLenght)),this.fieldFormGroup.addControl("MinLenght",new forms.FormControl(this.field.MinLenght)),this.fieldTypeFormTemplate=this.textareaFieldFormTemplate;break;case exports.FieldTypeEnum.Booleano:this.fieldFormGroup.addControl("IsTristate",new forms.FormControl(this.field.IsTristate)),this.fieldFormGroup.addControl("PresetationType",new forms.FormControl(this.field.PresetationType,forms.Validators.required)),this.fieldTypeFormTemplate=this.booleadFieldFormTemplate;break;case exports.FieldTypeEnum["Data e/o ora"]:null==this.field.IsOnlyDate&&(this.field.IsOnlyDate=exports.DateTimeTypeEnum["Solo data"]),this.fieldFormGroup.addControl("IsOnlyDate",new forms.FormControl(this.field.IsOnlyDate,forms.Validators.required)),this.fieldFormGroup.addControl("MinDate",new forms.FormControl(this.field.MinDate)),this.fieldFormGroup.addControl("MaxDate",new forms.FormControl(this.field.MaxDate)),this.fieldFormGroup.addControl("DateFormat",new forms.FormControl(this.field.DateFormat)),this.fieldTypeFormTemplate=this.dateFieldFormTemplate;break;case exports.FieldTypeEnum["Campo numerico"]:null==this.field.IsInteger&&(this.field.IsInteger=!0),this.fieldFormGroup.addControl("IsInteger",new forms.FormControl(this.field.IsInteger)),this.fieldFormGroup.addControl("MinValue",new forms.FormControl(this.field.MinValue)),this.fieldFormGroup.addControl("MaxValue",new forms.FormControl(this.field.MaxValue)),this.fieldFormGroup.addControl("DecimalSeparator",new forms.FormControl(this.field.DecimalSeparator)),this.fieldFormGroup.addControl("DecimalPrecision",new forms.FormControl(this.field.DecimalPrecision)),this.fieldFormGroup.addControl("ThousandsSeparator",new forms.FormControl(this.field.ThousandsSeparator)),this.fieldFormGroup.addControl("CurrencySymbol",new forms.FormControl(this.field.CurrencySymbol)),this.fieldTypeFormTemplate=this.numericFieldFormTemplate;break;case exports.FieldTypeEnum.Allegato:this.fieldFormGroup.addControl("AllowedExtensions",new forms.FormControl(this.field.AllowedExtensions)),this.fieldFormGroup.addControl("IsMultiAttach",new forms.FormControl(this.field.IsMultiAttach)),this.fieldTypeFormTemplate=this.attachmentFieldFormTemplate;break;case exports.FieldTypeEnum.Immagine:this.field.AttachDefinition=new AttachmentField,this.fieldFormGroup.addControl("EnableDrawing",new forms.FormControl(this.field.EnableDrawing)),this.fieldFormGroup.addControl("ImageIsContextualAttachment",new forms.FormControl(this.field.ImageIsContextualAttachment)),this.onImageIsContextualAttachmentChange(),this.fieldTypeFormTemplate=this.imageFieldFormTemplate;break;case exports.FieldTypeEnum["Elenco generico"]:this.fieldFormGroup.addControl("IsMultiChoiche",new forms.FormControl(this.field.IsMultiChoiche)),this.fieldFormGroup.addControl("PresentationMode",new forms.FormControl(this.field.PresentationMode,forms.Validators.required)),this.fieldTypeFormTemplate=this.listValueFieldFormTemplate;break;case exports.FieldTypeEnum.Lookup:this.fieldFormGroup.addControl("EntitySourceName",new forms.FormControl(this.field.EntitySourceName,forms.Validators.required)),this.fieldFormGroup.addControl("UseAsGetOrDiscard",new forms.FormControl(this.field.UseAsGetOrDiscard)),this.fieldTypeFormTemplate=this.lookupFieldFormTemplate}[exports.FieldTypeEnum.Allegato,exports.FieldTypeEnum.Immagine,exports.FieldTypeEnum["Form di dettaglio"]].includes(this.field.FieldType)?(this.field.Formula=null,this.fieldFormGroup.controls.Formula.disable(),this.fieldFormGroup.controls.InListView.disable()):(this.fieldFormGroup.controls.Formula.enable(),this.fieldFormGroup.controls.InListView.enable())},e.prototype.onImageIsContextualAttachmentChange=function(){this.field.ImgName=null,this.field.AttachDefinition.AllowedExtensions=[],this.field.AttachDefinition.IsMultiAttach=!1,this.field.ContextualAttachment=null,this.field.ImageIsContextualAttachment?(this.fieldFormGroup.removeControl("IsMultiAttach"),this.fieldFormGroup.removeControl("AllowedExtensions"),this.fieldFormGroup.addControl("ImgName",new forms.FormControl(this.field.ImgName,forms.Validators.required)),this.fieldFormGroup.addControl("ContextualAttachment",new forms.FormControl(this.field.ContextualAttachment,forms.Validators.required))):(this.fieldFormGroup.removeControl("ImgName"),this.fieldFormGroup.removeControl("ContextualAttachment"),this.fieldFormGroup.addControl("IsMultiAttach",new forms.FormControl(this.field.AttachDefinition.IsMultiAttach)),this.fieldFormGroup.addControl("AllowedExtensions",new forms.FormControl(this.field.AttachDefinition.AllowedExtensions)))},e.prototype.catchContextualAttachmentChange=function(e){e&&e.length>0?this.field.ContextualAttachment=e[0]:this.field.ContextualAttachment=null,this.fieldFormGroup.controls.ContextualAttachment.setValue(this.field.ContextualAttachment)},e.prototype.onColSpanSizeSelect=function(){var e=this.enumHelper.getEnumArray(exports.ColSpanSizesEnum,!1,null),t=this.field.ColSpanSizes?this.field.ColSpanSizes.map((function(e){return exports.ColSpanSizesEnum[e]})):[];this.availableColSpanSizes=e.filter((function(e){return!t.find((function(t){return e.value.includes(t.substring(4,6))&&e.value!=t}))}))},e.prototype.onPresentationModeChange=function(){this.field.PresentationMode===exports.ListPresentationEnum.Immagini?this.field.ValuePairs=null:this.field.ButtonImageList=null},e.prototype.configureButtonImagesColumns=function(e){e.attachmentsColumns.splice(e.attachmentsColumns.length-1,0,{key:"ButtonKey",display:"Label",type:eqpTable.TypeColumn.ExternalTemplate,externalTemplate:this.buttonImagesKeyValueInputColumn}),e.attachmentsColumns.splice(e.attachmentsColumns.length-1,0,{key:"ButtonValue",display:"Valore",type:eqpTable.TypeColumn.ExternalTemplate,externalTemplate:this.buttonImagesKeyValueInputColumn}),this.cdr.detectChanges()},e.prototype.catchButtonImagesChange=function(e){this.field.ButtonImageList=e},e.prototype.onMultiSelectInputKeyup=function(e,t){if("Enter"===e.code||"NumpadEnter"===e.code){switch(this.field.FieldType){case exports.FieldTypeEnum.Lookup:case exports.FieldTypeEnum.Allegato:this.field[t]||(this.field[t]=new Array),this.field[t].push(e.currentTarget.value);break;case exports.FieldTypeEnum.Immagine:this.field.AttachDefinition[t]||(this.field.AttachDefinition[t]=new Array),this.field.AttachDefinition[t].push(e.currentTarget.value);break;case exports.FieldTypeEnum["Elenco generico"]:if(!this.keyValueObject.key||!this.keyValueObject.value)return;this.field.ValuePairs||(this.field.ValuePairs={}),this.field.ValuePairs[this.keyValueObject.key]=this.keyValueObject.value,this.keyValueObject={key:"",value:""}}e.currentTarget.value=null}},e.prototype.getDictionaryKeyValue=function(){var e=this;return this.field.ValuePairs?Object.keys(this.field.ValuePairs).map((function(t){return{key:t,value:e.field.ValuePairs[t]}})):[]},e.prototype.deleteKeyFromDictionary=function(e){delete this.field.ValuePairs[e]},e.prototype.openMetadataDialog=function(e){void 0===e&&(e=null),e?this.field.FieldType===exports.FieldTypeEnum.Allegato?(this.indexSelectedMetadata=this.field.MetadataFields.indexOf(e),this.selectedMetadata=JSON.parse(JSON.stringify(e))):this.field.FieldType===exports.FieldTypeEnum.Immagine&&(this.indexSelectedMetadata=this.field.AttachDefinition.MetadataFields.indexOf(e),this.selectedMetadata=JSON.parse(JSON.stringify(e))):(this.selectedMetadata=new BaseField,this.indexSelectedMetadata=null),this.dialogMetadataRef=this.dialog.open(this.dialogMetadata,{disableClose:!0,hasBackdrop:!0,width:"75%"})},e.prototype.onSaveMetadata=function(e){var t=this;if(e){if(this.field.FieldType===exports.FieldTypeEnum.Allegato&&this.field.MetadataFields&&this.field.MetadataFields.find((function(a,o){return a.Label===e.Label&&(null==t.indexSelectedMetadata||t.indexSelectedMetadata!==o)}))||this.field.FieldType===exports.FieldTypeEnum.Immagine&&this.field.AttachDefinition.MetadataFields&&this.field.AttachDefinition.MetadataFields.find((function(a,o){return a.Label===e.Label&&(null==t.indexSelectedMetadata||t.indexSelectedMetadata!==o)})))throw EqpDynamicModuleDialogService.Warning("Impossibile inserire due metadata con la stessa label."),new Error("Impossibile inserire due metadata con la stessa label.");null!=this.indexSelectedMetadata&&this.indexSelectedMetadata>=0?this.field.FieldType===exports.FieldTypeEnum.Allegato?this.field.MetadataFields[this.indexSelectedMetadata]=e:this.field.FieldType===exports.FieldTypeEnum.Immagine&&(this.field.AttachDefinition.MetadataFields[this.indexSelectedMetadata]=e):this.field.FieldType===exports.FieldTypeEnum.Allegato?(this.field.MetadataFields||(this.field.MetadataFields=new Array),this.field.MetadataFields.push(e)):this.field.FieldType===exports.FieldTypeEnum.Immagine&&(this.field.AttachDefinition.MetadataFields||(this.field.AttachDefinition.MetadataFields=new Array),this.field.AttachDefinition.MetadataFields.push(e))}this.dialogMetadataRef.close(),this.setMetadataOrdinalPosition(),this.reloadMetadataTable()},e.prototype.disableSaveField=function(){if(this.fieldFormGroup.invalid)return!0;switch(this.field.FieldType){case exports.FieldTypeEnum["Elenco generico"]:return this.field.PresentationMode!=exports.ListPresentationEnum.Immagini?!this.field.ValuePairs||0===this.field.ValuePairs.length:!this.field.ButtonImageList||0===this.field.ButtonImageList.length||!!this.field.ButtonImageList.find((function(e){return!e.ButtonKey||!e.ButtonValue}));case exports.FieldTypeEnum.Lookup:return!this.field.FieldNames||0===this.field.FieldNames.length;default:return!1}},e.prototype.saveAndExitAddField=function(e){e?this.saveFieldEvent.emit(this.field):this.saveFieldEvent.emit(null)},e.prototype.restoreBaseFieldProperties=function(){if(this.field){var e=JSON.parse(JSON.stringify(this.field));this.field=new BaseField,this.field.Label=e.Label,this.field.Description=e.Description,this.field.Required=e.Required,this.field.FieldType=e.FieldType,this.field.Formula=e.Formula,this.field.ColSpanSizes=e.ColSpanSizes,this.field.FieldGroup=e.FieldGroup}},e.prototype.configureColumns=function(){var e=this;this.metadataColumns=[{key:"action",display:"",type:eqpTable.TypeColumn.MenuAction,buttonMenuIcon:"more_vert",styles:{flex:"0 0 6%"},actions:[{name:"Modifica",icon:"edit",fn:function(t,a,o){return e.openMetadataDialog(t)}},{name:"Elimina",icon:"delete",fn:function(t,a,o){return e.deleteMetadata(t)}}]},{key:"FieldType",display:"Tipologia",type:eqpTable.TypeColumn.Enum,enumModel:exports.FieldTypeEnum},{key:"Label",display:"Label"},{key:"Description",display:"Descrizione"},{key:"Required",display:"Obbligatorio",value:function(e){return!!e.Required},type:eqpTable.TypeColumn.Boolean,booleanValues:{true:'<i class="fa fa-check success-color"></i>',false:'<i class="fa fa-close error-color"></i>'},styles:{flex:"0 0 7%",cellAlignment:eqpTable.CellAlignmentEnum.CENTER}}]},e.prototype.deleteMetadata=function(e){var t=this;EqpDynamicModuleDialogService.Confirm("Eliminare il metadata selezionato?",(function(){t.field.FieldType===exports.FieldTypeEnum.Allegato?t.field.MetadataFields.splice(t.field.MetadataFields.indexOf(e),1):t.field.FieldType===exports.FieldTypeEnum.Immagine&&t.field.AttachDefinition.MetadataFields.splice(t.field.AttachDefinition.MetadataFields.indexOf(e),1),t.setMetadataOrdinalPosition(),t.reloadMetadataTable()}),!1,"Richiesta conferma")},e.prototype.setMetadataOrdinalPosition=function(){var e=this;this.field.FieldType===exports.FieldTypeEnum.Allegato?this.field.MetadataFields&&this.field.MetadataFields.forEach((function(t){t.OrdinalPosition=e.field.MetadataFields.indexOf(t)})):this.field.FieldType===exports.FieldTypeEnum.Immagine&&this.field.AttachDefinition.MetadataFields&&this.field.AttachDefinition.MetadataFields.forEach((function(t){t.OrdinalPosition=e.field.AttachDefinition.MetadataFields.indexOf(t)}))},e.prototype.reloadMetadataTable=function(){this.metadataFieldsTable&&this.metadataFieldsTable.reloadDatatable()},e.ctorParameters=function(){return[{type:forms.FormBuilder},{type:eqpSelect.EnumHelper},{type:dialog.MatDialog},{type:core.ChangeDetectorRef}]},__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"indexField",void 0),__decorate([core.Input()],e.prototype,"formFieldsGroups",void 0),__decorate([core.Input()],e.prototype,"availableFields",void 0),__decorate([core.Input()],e.prototype,"fieldTypesToExclude",void 0),__decorate([core.Output()],e.prototype,"saveFieldEvent",void 0),__decorate([core.ViewChild("textFieldFormTemplate",{static:!0})],e.prototype,"textFieldFormTemplate",void 0),__decorate([core.ViewChild("textareaFieldFormTemplate",{static:!0})],e.prototype,"textareaFieldFormTemplate",void 0),__decorate([core.ViewChild("booleadFieldFormTemplate",{static:!0})],e.prototype,"booleadFieldFormTemplate",void 0),__decorate([core.ViewChild("dateFieldFormTemplate",{static:!0})],e.prototype,"dateFieldFormTemplate",void 0),__decorate([core.ViewChild("numericFieldFormTemplate",{static:!0})],e.prototype,"numericFieldFormTemplate",void 0),__decorate([core.ViewChild("attachmentFieldFormTemplate",{static:!0})],e.prototype,"attachmentFieldFormTemplate",void 0),__decorate([core.ViewChild("imageFieldFormTemplate",{static:!0})],e.prototype,"imageFieldFormTemplate",void 0),__decorate([core.ViewChild("listValueFieldFormTemplate",{static:!0})],e.prototype,"listValueFieldFormTemplate",void 0),__decorate([core.ViewChild("lookupFieldFormTemplate",{static:!0})],e.prototype,"lookupFieldFormTemplate",void 0),__decorate([core.ViewChild("metadataFieldsTable",{static:!1})],e.prototype,"metadataFieldsTable",void 0),__decorate([core.ViewChild("dialogMetadata",{static:!0})],e.prototype,"dialogMetadata",void 0),__decorate([core.ViewChild("buttonImagesKeyValueInputColumn",{static:!0})],e.prototype,"buttonImagesKeyValueInputColumn",void 0),e=__decorate([core.Component({selector:"eqp-dynamic-module-add-form-field",template:'<div class="container-fluid" style="max-height: 70vh !important; overflow-x: hidden; overflow-y: auto;">\r\n <div class="row title">\r\n <div class="header-title-standard">{{indexField != null && indexField >= 0 ? "Modifica"\r\n : "Aggiungi"}} campo</div>\r\n </div>\r\n <form [formGroup]="fieldFormGroup">\r\n <div class="row">\r\n <div class="col-sm-12 col-md-4 mt-2 tipoCampo">\r\n <mat-label>Tipo campo *</mat-label>\r\n <eqp-select [enumData]="FieldTypeEnum" [(ngModelInput)]="field.FieldType" [showCancelButton]="false"\r\n (ngModelInputChange)="onFieldTypeChange()" [formGroupInput]="fieldFormGroup"\r\n [formControlNameInput]="\'FieldType\'" [enumDataToExclude]="fieldTypesToExclude">\r\n </eqp-select>\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label> Label * </mat-label>\r\n <mat-form-field>\r\n <input formControlName="Label" required matInput [(ngModel)]="field.Label">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label> Descrizione * </mat-label>\r\n <mat-form-field>\r\n <input name="Description" formControlName="Description" required matInput\r\n [(ngModel)]="field.Description">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-4 mt-2 d-flex align-items-center">\r\n <mat-slide-toggle [(ngModel)]="field.Required" formControlName="Required" color="primary">\r\n Obbligatorio\r\n </mat-slide-toggle>\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label> Formula (Javascript) </mat-label>\r\n <mat-form-field>\r\n <input formControlName="Formula" matInput [(ngModel)]="field.Formula"\r\n [matAutocomplete]="formulaAutocomplete" (keyup)="setFormulaAutocompleteOptions($event)"\r\n (focus)="setFormulaAutocompleteOptions(null)">\r\n <mat-autocomplete #formulaAutocomplete="matAutocomplete">\r\n <mat-option *ngFor="let option of formulaAutocompleteOptions" [value]="option.value">\r\n {{option.label}}\r\n </mat-option>\r\n </mat-autocomplete>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-4 mt-2" *ngIf="formFieldsGroups">\r\n <mat-label>Sezione</mat-label>\r\n <eqp-select [arrayData]="formFieldsGroups" [(ngModelInput)]="field.FieldGroup"\r\n [arrayKeyProperty]="\'Name\'" [arrayValueProperty]="\'Name\'" [formGroupInput]="fieldFormGroup"\r\n [formControlNameInput]="\'FieldGroup\'" required [includeFullObject]="false">\r\n </eqp-select>\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label>Larghezza campo</mat-label>\r\n <eqp-select [arrayData]="availableColSpanSizes" [(ngModelInput)]="field.ColSpanSizes"\r\n [arrayKeyProperty]="\'key\'" [arrayValueProperty]="\'value\'"\r\n (ngModelInputChange)="onColSpanSizeSelect()" [isMultiSelect]="true"\r\n [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'ColSpanSizes\'"\r\n [includeFullObject]="false">\r\n </eqp-select>\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-4 mt-2 d-flex align-items-center">\r\n <mat-slide-toggle [(ngModel)]="field.InListView" formControlName="InListView" color="primary"\r\n [disabled]="fieldFormGroup.controls[\'InListView\'].disabled">\r\n Mostrare nella visualizzazione a lista\r\n </mat-slide-toggle>\r\n </div>\r\n\r\n <ng-container *ngTemplateOutlet="fieldTypeFormTemplate">\r\n </ng-container>\r\n </div>\r\n </form>\r\n</div>\r\n\r\n<div class="row mt-2 mb-1">\r\n <div class="col-sm-12 text-right buttonsForm">\r\n <button class="btn mat-raised-button cancel" (click)="saveAndExitAddField(false)" type="button">\r\n Annulla\r\n </button>\r\n <button class="mr-2 save" mat-raised-button color="primary" (click)="saveAndExitAddField(true)"\r\n [disabled]="disableSaveField()" type="button">\r\n Salva\r\n </button>\r\n </div>\r\n</div>\r\n\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI DI TESTO --\x3e\r\n<ng-template #textFieldFormTemplate>\r\n\r\n <div class="col-sm-12 col-md-4">\r\n <mat-label>Maschera</mat-label>\r\n <eqp-select [enumData]="TextMaskEnum" [(ngModelInput)]="field.TextMask" [formGroupInput]="fieldFormGroup"\r\n [formControlNameInput]="\'TextMask\'">\r\n </eqp-select>\r\n </div>\r\n <div class="increasableValues">\r\n <div class="col-sm-12 col-md-4" [formGroup]="fieldFormGroup">\r\n <mat-label> Lunghezza massima </mat-label>\r\n <mat-form-field>\r\n <div class="buttons">\r\n <button class="up" onclick="document.getElementById(\'lengthMax\').stepUp()"></button>\r\n <button class="down" onclick="document.getElementById(\'lengthMax\').stepDown()"></button>\r\n </div>\r\n <input id="lengthMax" formControlName="MaxLenght" type="number" [min]="0" matInput\r\n [(ngModel)]="field.MaxLenght">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-4" [formGroup]="fieldFormGroup">\r\n <mat-label> Lunghezza minima </mat-label>\r\n <mat-form-field>\r\n <div class="buttons">\r\n <button class="up" onclick="document.getElementById(\'lengthMin\').stepUp()"></button>\r\n <button class="down" onclick="document.getElementById(\'lengthMin\').stepDown()"></button>\r\n </div>\r\n <input id="lengthMin" formControlName="MinLenght" type="number" [min]="0" matInput\r\n [(ngModel)]="field.MinLenght">\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI AREA DI TESTO --\x3e\r\n<ng-template #textareaFieldFormTemplate>\r\n <div class="increasableValues second">\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Righe </mat-label>\r\n <mat-form-field class="righe">\r\n <div class="buttons">\r\n <button class="up" onclick="document.getElementById(\'rows\').stepUp()"></button>\r\n <button class="down" onclick="document.getElementById(\'rows\').stepDown()"></button>\r\n </div>\r\n <input id="rows" formControlName="Rows" type="number" [min]="0" matInput [(ngModel)]="field.Rows">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Lunghezza massima </mat-label>\r\n <mat-form-field>\r\n <div class="buttons">\r\n <button class="up" onclick="document.getElementById(\'lengthMax\').stepUp()"></button>\r\n <button class="down" onclick="document.getElementById(\'lengthMax\').stepDown()"></button>\r\n </div>\r\n <input id="lengthMax" formControlName="MaxLenght" type="number" [min]="0" matInput\r\n [(ngModel)]="field.MaxLenght">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Lunghezza minima </mat-label>\r\n <mat-form-field>\r\n <div class="buttons">\r\n <button class="up" onclick="document.getElementById(\'lengthMin\').stepUp()"></button>\r\n <button class="down" onclick="document.getElementById(\'lengthMin\').stepDown()"></button>\r\n </div>\r\n <input id="lengthMin" formControlName="MinLenght" type="number" [min]="0" matInput\r\n [(ngModel)]="field.MinLenght">\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI BOOLEANI --\x3e\r\n<ng-template #booleadFieldFormTemplate>\r\n <div class="col-sm-12 col-md-4 mt-2 d-flex align-items-center" [formGroup]="fieldFormGroup">\r\n <mat-slide-toggle [(ngModel)]="field.IsTristate" formControlName="IsTristate" color="primary">\r\n A tre stati\r\n </mat-slide-toggle>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label>Tipo di presentazione *</mat-label>\r\n <eqp-select [enumData]="BoolPresentantioEnum" [(ngModelInput)]="field.PresetationType" required\r\n [showCancelButton]="false" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'PresetationType\'">\r\n </eqp-select>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI DATA --\x3e\r\n<ng-template #dateFieldFormTemplate>\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label>Tipo di data</mat-label>\r\n <eqp-select [enumData]="DateTimeTypeEnum" [(ngModelInput)]="field.IsOnlyDate" required\r\n [showCancelButton]="false" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'IsOnlyDate\'">\r\n </eqp-select>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Formato </mat-label>\r\n <mat-form-field>\r\n <input formControlName="DateFormat" matInput [(ngModel)]="field.DateFormat"\r\n [matTooltip]="\'Indicare il formato seguendo la guida del pacchetto momentjs.\'">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label> Data minima </mat-label>\r\n <eqp-datetimepicker *ngIf="field.IsOnlyDate == DateTimeTypeEnum[\'Solo data\']" class="date"\r\n [(ngModelInput)]="field.MinDate" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'MinDate\'"\r\n [pickerMode]="pickerModeEnum.DATE" [UTCDate]="true" [showSeconds]="false">\r\n </eqp-datetimepicker>\r\n <eqp-datetimepicker *ngIf="field.IsOnlyDate == DateTimeTypeEnum[\'Data e ora\']" class="date"\r\n [(ngModelInput)]="field.MinDate" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'MinDate\'"\r\n [pickerMode]="pickerModeEnum.DATETIME" [UTCDate]="true" [showSeconds]="false">\r\n </eqp-datetimepicker>\r\n <eqp-datetimepicker *ngIf="field.IsOnlyDate == DateTimeTypeEnum[\'Solo orario\']" class="date"\r\n [(ngModelInput)]="field.MinDate" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'MinDate\'"\r\n [pickerMode]="pickerModeEnum.TIME" [UTCDate]="true" [showSeconds]="false">\r\n </eqp-datetimepicker>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label> Data massima </mat-label>\r\n <eqp-datetimepicker *ngIf="field.IsOnlyDate == DateTimeTypeEnum[\'Solo data\']" class="date"\r\n [(ngModelInput)]="field.MaxDate" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'MaxDate\'"\r\n [pickerMode]="pickerModeEnum.DATE" [UTCDate]="true" [showSeconds]="false">\r\n </eqp-datetimepicker>\r\n <eqp-datetimepicker *ngIf="field.IsOnlyDate == DateTimeTypeEnum[\'Data e ora\']" class="date"\r\n [(ngModelInput)]="field.MaxDate" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'MaxDate\'"\r\n [pickerMode]="pickerModeEnum.DATETIME" [UTCDate]="true" [showSeconds]="false">\r\n </eqp-datetimepicker>\r\n <eqp-datetimepicker *ngIf="field.IsOnlyDate == DateTimeTypeEnum[\'Solo orario\']" class="date"\r\n [(ngModelInput)]="field.MaxDate" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'MaxDate\'"\r\n [pickerMode]="pickerModeEnum.TIME" [UTCDate]="true" [showSeconds]="false">\r\n </eqp-datetimepicker>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI NUMERICI --\x3e\r\n<ng-template #numericFieldFormTemplate>\r\n <div class="col-sm-12 col-md-4 mt-2 d-flex align-items-center" [formGroup]="fieldFormGroup">\r\n <mat-slide-toggle [(ngModel)]="field.IsInteger" formControlName="IsInteger" color="primary">\r\n Valore intero\r\n </mat-slide-toggle>\r\n </div>\r\n <div *ngIf="!field.IsInteger" class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Separatore decimali </mat-label>\r\n <mat-form-field>\r\n <input formControlName="DecimalSeparator" matInput [(ngModel)]="field.DecimalSeparator">\r\n </mat-form-field>\r\n </div>\r\n <div *ngIf="!field.IsInteger" class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Precisione decimali </mat-label>\r\n <mat-form-field>\r\n <input formControlName="DecimalPrecision" type="number" [min]="0" matInput\r\n [(ngModel)]="field.DecimalPrecision">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Separatore migliaia </mat-label>\r\n <mat-form-field>\r\n <input formControlName="ThousandsSeparator" matInput [(ngModel)]="field.ThousandsSeparator">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Simbolo valuta </mat-label>\r\n <mat-form-field>\r\n <input formControlName="CurrencySymbol" matInput [(ngModel)]="field.CurrencySymbol">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Valore massimo </mat-label>\r\n <mat-form-field>\r\n <input formControlName="MinValue" type="number" [min]="0" matInput [(ngModel)]="field.MinValue">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Valore minimo </mat-label>\r\n <mat-form-field>\r\n <input formControlName="MaxValue" type="number" [min]="0" matInput [(ngModel)]="field.MaxValue">\r\n </mat-form-field>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI ALLEGATO --\x3e\r\n<ng-template #attachmentFieldFormTemplate>\r\n <div class="col-sm-12 col-md-4 mt-2 d-flex align-items-center" [formGroup]="fieldFormGroup">\r\n <mat-slide-toggle [(ngModel)]="field.IsMultiAttach" formControlName="IsMultiAttach" color="primary">\r\n Allegati multipli\r\n </mat-slide-toggle>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label>Estensioni accettate</mat-label>\r\n <eqp-select [arrayData]="AvailableFileExtensions.concat(AvailableImageExtensions)"\r\n [(ngModelInput)]="field.AllowedExtensions" [arrayKeyProperty]="\'key\'" [arrayValueProperty]="\'value\'"\r\n [isMultiSelect]="true" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'AllowedExtensions\'"\r\n [includeFullObject]="false">\r\n </eqp-select>\r\n </div>\r\n <div class="col-sm-12 mt-2">\r\n <div class="row mt-2">\r\n <div class="col-sm-12 col-md-6">\r\n <div class="header-title-standard">\r\n Elenco metadata\r\n </div>\r\n </div>\r\n <div class="col-sm-12 col-md-6 text-right buttonsForm">\r\n <button class="btn btn-primary save" mat-raised-button color="primary" type="button"\r\n (click)="openMetadataDialog()">\r\n <mat-icon>add</mat-icon>\r\n <span style="margin-left: 10px;">Aggiungi allegato</span>\r\n </button>\r\n </div>\r\n </div>\r\n <eqp-table #metadataFieldsTable [createMatCard]="false" [columns]="metadataColumns"\r\n [data]="field.MetadataFields" [emptyTableMessage]="\'Nessun metadata inserito\'" [searchText]="\'Cerca\'">\r\n </eqp-table>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI IMMAGINE --\x3e\r\n<ng-template #imageFieldFormTemplate>\r\n <div class="col-sm-12 col-md-4 mt-2 mb-2 d-flex align-items-center" [formGroup]="fieldFormGroup">\r\n <mat-slide-toggle [(ngModel)]="field.ImageIsContextualAttachment" formControlName="ImageIsContextualAttachment"\r\n color="primary" (ngModelChange)="onImageIsContextualAttachmentChange()">\r\n Immagine pre-caricata nel campo\r\n </mat-slide-toggle>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2 mb-2 d-flex align-items-center" [formGroup]="fieldFormGroup">\r\n <mat-slide-toggle [(ngModel)]="field.EnableDrawing" formControlName="EnableDrawing" color="primary">\r\n Abilita il disegno\r\n </mat-slide-toggle>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2 d-flex align-items-center" [formGroup]="fieldFormGroup"\r\n *ngIf="!field.ImageIsContextualAttachment">\r\n <mat-slide-toggle [(ngModel)]="field.AttachDefinition.IsMultiAttach" formControlName="IsMultiAttach"\r\n color="primary">\r\n Immagini multiple\r\n </mat-slide-toggle>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" *ngIf="!field.ImageIsContextualAttachment">\r\n <mat-label>Estensioni accettate</mat-label>\r\n <eqp-select [arrayData]="AvailableImageExtensions" [(ngModelInput)]="field.AttachDefinition.AllowedExtensions"\r\n [arrayKeyProperty]="\'key\'" [arrayValueProperty]="\'value\'" [isMultiSelect]="true"\r\n [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'AllowedExtensions\'" [includeFullObject]="false">\r\n </eqp-select>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup" *ngIf="field.ImageIsContextualAttachment">\r\n <mat-label> Nome immagine </mat-label>\r\n <mat-form-field>\r\n <input formControlName="ImgName" matInput [(ngModel)]="field.ImgName" required>\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 col-md-8 mt-2" [formGroup]="fieldFormGroup" *ngIf="field.ImageIsContextualAttachment">\r\n <eqp-attachments [attachmentsList]="field._contextualAttachments" [showMatCard]="false" [allowOnlyImages]="true"\r\n [isDisabled]="false" [showInlinePreview]="true" [multipleAttachment]="false" [showHeader]="false"\r\n (localEditedAttachments)="catchContextualAttachmentChange($event)" #contextualAttachmentEqpAttachments>\r\n </eqp-attachments>\r\n </div>\r\n <div class="col-sm-12 mt-2">\r\n <div class="row mt-2">\r\n <div class="col-sm-12 col-md-6">\r\n <div class="header-title-standard">\r\n Elenco metadata\r\n </div>\r\n </div>\r\n <div class="col-sm-12 col-md-6 text-right buttonsForm">\r\n <button class="btn btn-primary save" mat-raised-button color="primary" type="button"\r\n (click)="openMetadataDialog()">\r\n <mat-icon>add</mat-icon>\r\n <span style="margin-left: 10px;">Aggiungi</span>\r\n </button>\r\n </div>\r\n </div>\r\n <eqp-table #metadataFieldsTable [createMatCard]="false" [columns]="metadataColumns"\r\n [data]="field.AttachDefinition.MetadataFields" [emptyTableMessage]="\'Nessun metadata inserito\'"\r\n [searchText]="\'Cerca\'">\r\n </eqp-table>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI LISTA DI VALORI --\x3e\r\n<ng-template #listValueFieldFormTemplate>\r\n <div class="col-sm-12 col-md-4 mt-2 d-flex align-items-center" [formGroup]="fieldFormGroup">\r\n <mat-slide-toggle [(ngModel)]="field.IsMultiChoiche" formControlName="IsMultiChoiche" color="primary">\r\n Scelta multipla\r\n </mat-slide-toggle>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2">\r\n <mat-label>Tipo di presentazione*</mat-label>\r\n <eqp-select [enumData]="ListPresentationEnum" [(ngModelInput)]="field.PresentationMode" required\r\n [showCancelButton]="false" [formGroupInput]="fieldFormGroup" [formControlNameInput]="\'PresentationMode\'"\r\n (ngModelInputChange)="onPresentationModeChange()">\r\n </eqp-select>\r\n </div>\r\n <div class="col-sm-12 mt-2" *ngIf="field.PresentationMode != ListPresentationEnum.Immagini">\r\n <div class="row">\r\n <h4 class="key-value-list-section-title"> </h4>\r\n <div class="col-md-4">\r\n <mat-label> Label opzione (invio per confermare)</mat-label>\r\n <mat-form-field>\r\n <input matInput [(ngModel)]="keyValueObject.key" (keyup)="onMultiSelectInputKeyup($event, null)">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-md-4">\r\n <mat-label> Valore opzione (invio per confermare)</mat-label>\r\n <mat-form-field>\r\n <input matInput [(ngModel)]="keyValueObject.value" (keyup)="onMultiSelectInputKeyup($event, null)">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-md-4 d-flex align-items-center">\r\n <span class="mr-3">Opzioni inserite:</span>\r\n <ul class="value-pairs-list">\r\n <li *ngFor="let keyValuePair of getDictionaryKeyValue()">\r\n <mat-icon class="mr-1" (click)="deleteKeyFromDictionary(keyValuePair.key)">close\r\n </mat-icon>\r\n <span><b>Label: </b> {{keyValuePair.key}} - <b>Valore: </b> {{keyValuePair.value}}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="col-sm-12 col-md-12 mt-2" *ngIf="field.PresentationMode == ListPresentationEnum.Immagini">\r\n <eqp-attachments [attachmentsList]="field.ButtonImageList" [showMatCard]="false" [allowOnlyImages]="true"\r\n [isDisabled]="false" [showInlinePreview]="true" [multipleAttachment]="true" [showHeader]="false"\r\n [allowedTypes]="[AttachmentType.FILE]" (localEditedAttachments)="catchButtonImagesChange($event)"\r\n (onComponentLoaded)="configureButtonImagesColumns($event)">\r\n </eqp-attachments>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- FORM PROPRIETÀ CAMPI LOOKUP --\x3e\r\n<ng-template #lookupFieldFormTemplate>\r\n <div class="col-sm-12 col-md-4 mt-2 d-flex align-items-center" [formGroup]="fieldFormGroup">\r\n <mat-slide-toggle [(ngModel)]="field.UseAsGetOrDiscard" formControlName="UseAsGetOrDiscard" color="primary"\r\n matTooltip="Se true la lookup viene visualizzata in una modale per lo scegli scarta">\r\n Usa per scegli o scarta\r\n </mat-slide-toggle>\r\n </div>\r\n <div class="col-sm-12 col-md-4 mt-2" [formGroup]="fieldFormGroup">\r\n <mat-label> Nome entità </mat-label>\r\n <mat-form-field matTooltip="Nome dell\'entità relazionata">\r\n <input formControlName="EntitySourceName" required matInput [(ngModel)]="field.EntitySourceName">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-sm-12 mt-2">\r\n <div class="row">\r\n <div class="col-md-4">\r\n <mat-label> Nomi dei campi (invio per confermare) </mat-label>\r\n <mat-form-field\r\n matTooltip="Elenco di campi ordinato che verrà visualizzato nella lookup (premere invio per confermare)">\r\n <input matInput (keyup)="onMultiSelectInputKeyup($event, \'FieldNames\')">\r\n </mat-form-field>\r\n </div>\r\n <div class="col-md-8 d-flex align-items-center">\r\n <span class="mr-3">Nomi selezionati:</span>\r\n <div class="extension-container" *ngFor="let extension of field.FieldNames; let i = index">\r\n <span>{{extension}}</span>\r\n <mat-icon class="ml-1" (click)="field.FieldNames.splice(i,1)">close\r\n </mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n\x3c!-- DIALOG PER AGGIUNGERE UN METADATA NEI CAMPI DI TIPO ALLEGATO O IMMAGINE --\x3e\r\n<ng-template #dialogMetadata>\r\n <eqp-dynamic-module-add-form-field [field]="selectedMetadata" [availableFields]="availableFields"\r\n [indexField]="indexSelectedMetadata" (saveFieldEvent)="onSaveMetadata($event)" [fieldTypesToExclude]="[6,7,10]">\r\n </eqp-dynamic-module-add-form-field>\r\n</ng-template>\r\n\r\n<ng-template #buttonImagesKeyValueInputColumn let-row="row" let-col="col">\r\n <mat-form-field>\r\n <mat-label> {{col.display}} </mat-label>\r\n <input matInput [(ngModel)]="row[col.key]" required>\r\n </mat-form-field>\r\n</ng-template>',styles:['.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-h6,.mat-typography h5,.mat-typography h6{margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-start{/*!*/}@-webkit-keyframes cdk-text-field-autofill-end{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:0s 1ms cdk-text-field-autofill-start;animation:0s 1ms cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:0s 1ms cdk-text-field-autofill-end;animation:0s 1ms cdk-text-field-autofill-end}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff5252;color:rgba(0,0,0,.87)}.mat-badge-warn .mat-badge-content{color:#fff;background:#c40000}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-badge-content{color:#fff;background:#1e31eb;position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable,.ng-animate-disabled .mat-badge-content{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:0 0}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#1e31eb}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff5252}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#c40000}.mat-button.mat-accent[disabled],.mat-button.mat-primary[disabled],.mat-button.mat-warn[disabled],.mat-button[disabled][disabled],.mat-icon-button.mat-accent[disabled],.mat-icon-button.mat-primary[disabled],.mat-icon-button.mat-warn[disabled],.mat-icon-button[disabled][disabled],.mat-stroked-button.mat-accent[disabled],.mat-stroked-button.mat-primary[disabled],.mat-stroked-button.mat-warn[disabled],.mat-stroked-button[disabled][disabled]{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#1e31eb}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff5252}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#c40000}.mat-button[disabled] .mat-button-focus-overlay,.mat-icon-button[disabled] .mat-button-focus-overlay,.mat-stroked-button[disabled] .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not([disabled]){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{color:#fff;background-color:#1e31eb}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{color:rgba(0,0,0,.87);background-color:#ff5252}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{color:#fff;background-color:#c40000}.mat-fab.mat-accent[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][disabled]{color:rgba(0,0,0,.26);background-color:rgba(0,0,0,.12)}.mat-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled]:not([class*=mat-elevation-z]),.mat-mini-fab[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none;border:1px solid rgba(0,0,0,.12)}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#1e31eb}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#ff5252}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#c40000}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#1e31eb}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff5252}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#c40000}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip::after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#1e31eb;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#c40000;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff5252;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-table{background:#fff}.mat-table tbody,.mat-table tfoot,.mat-table thead,.mat-table-sticky,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider::after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content{color:rgba(0,0,0,.87);border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){color:rgba(0,0,0,.38)}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(0,0,0,.04)}.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.18)}.mat-calendar-body-selected{background-color:#1e31eb;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(30,49,235,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff5252;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(255,82,82,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(0,0,0,.87)}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#c40000;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(196,0,0,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#1e31eb}.mat-datepicker-toggle-active.mat-accent{color:#ff5252}.mat-datepicker-toggle-active.mat-warn{color:#c40000}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator::after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#1e31eb}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff5252}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#c40000}.mat-focused .mat-form-field-required-marker{color:#ff5252}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#1e31eb}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff5252}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#c40000}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix::after{color:#1e31eb}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix::after{color:#ff5252}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix::after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent{color:#c40000}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#c40000}.mat-error{color:#c40000}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em;background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline::before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline::before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#1e31eb}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff5252}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#c40000}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#1e31eb}.mat-icon.mat-accent{color:#ff5252}.mat-icon.mat-warn{color:#c40000}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix::after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#1e31eb}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-accent .mat-input-element{caret-color:#ff5252}.mat-form-field-invalid .mat-input-element,.mat-warn .mat-input-element{caret-color:#c40000}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix::after{color:#c40000}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:focus,.mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:0 0;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled]::after{color:rgba(0,0,0,.38)}.mat-menu-item .mat-icon-no-color,.mat-menu-item-submenu-trigger::after{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-progress-bar-background{fill:#c5cae9}.mat-progress-bar-buffer{background-color:#c5cae9}.mat-progress-bar-fill::after{background-color:#1e31eb}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#ff8a80}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#ff8a80}.mat-progress-bar.mat-accent .mat-progress-bar-fill::after{background-color:#ff5252}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#ffcdd2}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#ffcdd2}.mat-progress-bar.mat-warn .mat-progress-bar-fill::after{background-color:#c40000}.mat-progress-spinner circle,.mat-spinner circle{stroke:#1e31eb}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff5252}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#c40000}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#1e31eb}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#1e31eb}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff5252}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff5252}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#c40000}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#c40000}.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#1e31eb}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff5252}.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow,.mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#c40000}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff5252}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(255,82,82,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff5252}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#1e31eb}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(30,49,235,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#1e31eb}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#c40000}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(196,0,0,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#c40000}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fff}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#1e31eb}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#ff5252}.mat-accent .mat-slider-thumb-label-text{color:rgba(0,0,0,.87)}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#c40000}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider-focus-ring{background-color:rgba(255,82,82,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper::after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.mat-step-header:hover{background:0 0}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#1e31eb;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#c40000}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#c40000}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line::before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header::after,.mat-horizontal-stepper-header::before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#1e31eb}.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,138,128,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff5252}.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar{background-color:rgba(0,0,0,.87)}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#c40000}.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.mat-tab-group.mat-background-primary .mat-tab-header,.mat-tab-group.mat-background-primary .mat-tab-header-pagination,.mat-tab-group.mat-background-primary .mat-tab-links,.mat-tab-nav-bar.mat-background-primary .mat-tab-header,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary .mat-tab-links{background-color:#1e31eb}.mat-tab-group.mat-background-primary .mat-tab-label,.mat-tab-group.mat-background-primary .mat-tab-link,.mat-tab-nav-bar.mat-background-primary .mat-tab-label,.mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,138,128,.3)}.mat-tab-group.mat-background-accent .mat-tab-header,.mat-tab-group.mat-background-accent .mat-tab-header-pagination,.mat-tab-group.mat-background-accent .mat-tab-links,.mat-tab-nav-bar.mat-background-accent .mat-tab-header,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent .mat-tab-links{background-color:#ff5252}.mat-tab-group.mat-background-accent .mat-tab-label,.mat-tab-group.mat-background-accent .mat-tab-link,.mat-tab-nav-bar.mat-background-accent .mat-tab-label,.mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.4)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.4)}.mat-tab-group.mat-background-accent .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent .mat-ripple-element{background-color:rgba(0,0,0,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-background-warn .mat-tab-header,.mat-tab-group.mat-background-warn .mat-tab-header-pagination,.mat-tab-group.mat-background-warn .mat-tab-links,.mat-tab-nav-bar.mat-background-warn .mat-tab-header,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn .mat-tab-links{background-color:#c40000}.mat-tab-group.mat-background-warn .mat-tab-label,.mat-tab-group.mat-background-warn .mat-tab-link,.mat-tab-nav-bar.mat-background-warn .mat-tab-label,.mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#1e31eb;color:#fff}.mat-toolbar.mat-accent{background:#ff5252;color:rgba(0,0,0,.87)}.mat-toolbar.mat-warn{background:#c40000;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{font-family:Roboto,"Helvetica Neue",sans-serif;background:#fff}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px;color:rgba(0,0,0,.87)}.mat-snack-bar-container{color:rgba(255,255,255,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#ff5252}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option{color:rgba(0,0,0,.87)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#1e31eb}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff5252}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#c40000}.mat-optgroup-label{color:rgba(0,0,0,.54)}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox::after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#1e31eb}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#ff5252}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#c40000}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-theme-loaded-marker{display:none}.extension-container{display:inline-block;font-size:15px;border:1px solid var(--primary);border-radius:15px;margin-right:10px}.extension-container mat-icon{vertical-align:middle;font-size:15px;height:15px;width:15px;color:var(--danger);margin-right:10px;cursor:pointer}.extension-container span{margin-left:10px}.key-value-list-section-title{background:linear-gradient(to right,var(--gray) 0,#fff 100%) left bottom #fff no-repeat;background-size:100% 1px}.value-pairs-list{list-style:none;padding:0}.value-pairs-list mat-icon{vertical-align:middle;font-size:15px;height:15px;width:15px;color:var(--danger);margin-right:10px;cursor:pointer}::ng-deep .mat-dialog-container{border-radius:10px}.row.title{background-color:#ebebeb;padding:20px 0 20px 50px}.row.title mat-icon.add{background:#fff;color:#7b7b7b;height:40px;width:40px;border-radius:10px;font-size:27px;padding:7px 6px 6px 7px;margin:0 7px 0 0}.row.title .header-title-standard{display:flex;align-items:center;font-size:19px;font-weight:700;color:grey}.row:not(.title){margin:15px 0 0}form{margin:25px 0 0}eqp-select ::ng-deep mat-select{background:url(../../../../../../src/assets/images/arrow.png) 95% 21px/15px no-repeat #fff;border:1px solid #e7e7e9;border-radius:10px;padding:15px 0 15px 20px!important;margin-top:-1px}eqp-select ::ng-deep mat-select:focus{border:1px solid #6f79fb}::ng-deep .mat-select-arrow{color:transparent!important}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}.increasableValues{display:flex}.increasableValues .col-sm-12{display:flex;flex-direction:column;margin:0 3em 0 0}.increasableValues .col-sm-12 .mat-form-field{height:79px;line-height:34px;width:50%}.increasableValues .col-sm-12 .mat-form-field ::ng-deep .mat-form-field-flex{width:230px;border:1px solid #e7e7e9;border-radius:10px;padding:7px 0 0 20px!important;margin-top:10px;background-color:#fff}.increasableValues .col-sm-12 .mat-form-field ::ng-deep .mat-form-field-flex .mat-form-field-infix{display:flex;margin:-10px 0 0}.increasableValues .col-sm-12 .mat-form-field ::ng-deep .mat-form-field-flex .mat-form-field-infix input{margin:3px 0 0 35px;border:none;height:100%}.increasableValues .col-sm-12 .mat-form-field div.buttons{display:flex;flex-direction:column;margin:-10px 0 0;border-right:1px solid #f4f4f4;padding:10px 14px 0 0}.increasableValues .col-sm-12 .mat-form-field div.buttons button.up{height:17px;width:21px;background:url(../../../../../../src/assets/images/arrow.png) 0 0/20px no-repeat;background-position-y:1px;background-position-x:1px;-webkit-transform:rotate(180deg);border:none;opacity:.3;cursor:pointer}.increasableValues .col-sm-12 .mat-form-field div.buttons button.down{height:50px;width:23px;background:url(../../../../../../src/assets/images/arrow.png) 0 0/20px no-repeat no-repeat;border:none;opacity:.3;background-position-y:21px;background-position-x:0;cursor:pointer}.increasableValues .col-sm-12 .mat-form-field input{margin:-14px 0 0 63px;font-size:18px}.second .col-sm-12{margin:0 1em 0 0}.date ::ng-deep mat-form-field .mat-form-field-wrapper .mat-form-field-label-wrapper label{display:none}.date ::ng-deep mat-form-field .mat-form-field-wrapper .mat-form-field-suffix{display:inline}eqp-attachments ::ng-deep div button{padding:5px 35px;background:linear-gradient(to right,#1e31eb,#693dda);border-radius:10px}eqp-attachments ::ng-deep div button span mat-icon{margin-right:5px}eqp-attachments ::ng-deep div button.eqp-attachments-delete-btn{color:#fff}::ng-deep mat-dialog-container .container-fluid.eqp-attachments-dialog-add-container form .row:first-child{padding:20px 40px;background-color:#ebebeb;color:grey;font-size:19px;font-weight:700}::ng-deep mat-dialog-container .container-fluid.eqp-attachments-dialog-add-container form .mat-form-field-label-wrapper label{margin-top:21px;margin-left:25px}::ng-deep mat-dialog-container .container-fluid.eqp-attachments-dialog-add-container form .btn-primary[disabled]{padding:7px 35px;border-radius:10px;font-size:14px;background-color:#dbdbdc!important;color:#000;background:0 0}::ng-deep mat-dialog-container .container-fluid.eqp-attachments-dialog-add-container form .btn-primary:not(disabled){padding:7px 35px;border-radius:10px;font-size:14px;background:linear-gradient(to right,#1e31eb,#693dda);color:#fff}::ng-deep mat-dialog-container .container-fluid.eqp-attachments-dialog-add-container form button{margin:0 10px 0 0!important;border:1px solid #1e31eb;padding:7px 35px;border-radius:10px;font-size:14px}::ng-deep mat-dialog-container .container-fluid.eqp-attachments-dialog-add-container form button[disabled]{border:none}::ng-deep mat-dialog-container .container-fluid.eqp-attachments-dialog-add-container form .ng-star-inserted .justify-content-center button{padding:4px;margin:0;border:none;left:8px}::ng-deep mat-dialog-container .container-fluid.eqp-attachments-dialog-add-container form .row:last-child{padding:50px 20px 20px 0}eqp-table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-wrapper input{background-color:#ebebeb!important;background:url(../../../../../../src/assets/images/search.png) 19px/19px no-repeat;padding:15px 0 15px 53px!important}eqp-table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-wrapper input:focus{background-color:#fff!important;border:1px solid #e7e7e9}eqp-table ::ng-deep mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-wrapper .mat-form-field-label-wrapper label{margin-top:21px;margin-left:55px}eqp-table ::ng-deep mat-header-row{background-color:#ebebeb;border-bottom-width:0}eqp-table ::ng-deep mat-header-row .mat-column-Required{flex:none!important}eqp-table ::ng-deep .mat-sort-header-button{color:#3b3a3b;font-size:15px}eqp-table ::ng-deep .mat-row{background-color:#fff;margin:10px 0;box-shadow:0 3px 7px -3px rgba(0,0,0,.2);padding:5px 0}eqp-table ::ng-deep .mat-row .mat-column-Required{flex:0 0 8%!important}eqp-table ::ng-deep .mat-row mat-cell eqp-select{margin-top:16px}eqp-table ::ng-deep .mat-row mat-cell eqp-select .mat-form-field-wrapper{padding-bottom:0}eqp-table ::ng-deep .mat-row .mat-cell:last-child span i.success-color{background-color:#383fec;color:#fff!important;padding:6px;border-radius:3px}@media screen and (max-width:1100px){.row:not(.title){margin:0!important}.second{display:flex;flex-direction:column}.second .col-sm-12{margin:0}.buttonsForm{padding:0 30px 20px 0;margin:50px 0 0}}@media screen and (max-width:766px){.increasableValues{display:flex;flex-direction:column}.increasableValues .col-sm-12{margin:0 0 -1.5em}.second{display:flex;flex-direction:column}.second .col-sm-12{margin:0 0 -3.4em}.buttonsForm{margin:55px 0 0!important;padding:0 13px 20px 0;transform:translate(0,110px)}}@media screen and (max-width:577px){.increasableValues .col-sm-12{margin:0 0 1.5em}}']})],e)}(),TextFieldTemplateComponent=function(){function e(){this.recordChange=new core.EventEmitter,this.InputMaskEnum=exports.TextMaskEnum}return e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(e){null!=e.record&&0==e.record.firstChange&&JSON.stringify(e.record.currentValue)!=JSON.stringify(e.record.previousValue)&&(this.record=e.record.currentValue,this.updateField())},e.prototype.getInputType=function(){switch(this.field.TextMask){case exports.TextMaskEnum.Email:return"email";case exports.TextMaskEnum.Password:return"password";case exports.TextMaskEnum.Telefono:return"tel";case exports.TextMaskEnum.Url:return"url";default:return"text"}},e.prototype.updateField=function(){this.field.Formula&&(this.record[this.field.Name]=UtilityHelperService.EvaluateFieldFormula(this.field.Formula,this.record,null))},e.prototype.onRecordValueChange=function(){this.field.Formula||this.recordChange.emit(this.record)},__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),e=__decorate([core.Component({selector:"text-field-template",template:'<mat-form-field [formGroup]="field.FormFormGroup">\r\n <mat-label> {{field.Label}} </mat-label>\r\n <input matInput [type]="getInputType()" [formControlName]="field.Name" [disabled]="field.FormFormGroup.disabled"\r\n [required]="field.Required" [(ngModel)]="record[field.Name]" (ngModelChange)="onRecordValueChange()">\r\n</mat-form-field>',styles:[""]})],e)}(),BooleanFieldTemplateComponent=function(){function e(){this.recordChange=new core.EventEmitter,this.BoolPresentantioEnum=exports.BoolPresentantioEnum}return e.prototype.ngOnInit=function(){null!=this.record[this.field.Name]&&null!=this.record[this.field.Name]||(this.record[this.field.Name]=!!this.field.IsTristate&&null)},e.prototype.ngOnChanges=function(e){null!=e.record&&0==e.record.firstChange&&JSON.stringify(e.record.currentValue)!=JSON.stringify(e.record.previousValue)&&(this.record=e.record.currentValue,this.updateField())},e.prototype.updateField=function(){this.field.Formula&&(this.record[this.field.Name]=UtilityHelperService.EvaluateFieldFormula(this.field.Formula,this.record,null))},e.prototype.onRecordValueChange=function(){this.field.Formula||this.recordChange.emit(this.record)},__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),e=__decorate([core.Component({selector:"boolean-field-template",template:'<div [formGroup]="field.FormFormGroup">\r\n\r\n \x3c!-- VISUALIZZAZIONE A TOGGLE --\x3e\r\n <mat-slide-toggle color="primary" *ngIf="field.PresetationType == BoolPresentantioEnum.Toggle"\r\n [formControlName]="field.Name" [disabled]="field.FormFormGroup.disabled" [required]="field.Required"\r\n [(ngModel)]="record[field.Name]" (ngModelChange)="onRecordValueChange()">\r\n {{field.Label + (field.Required ? " *" : "")}}\r\n </mat-slide-toggle>\r\n\r\n\r\n \x3c!-- VISUALIZZAZIONE A RADIOBUTTON --\x3e\r\n <mat-label class="mr-3" *ngIf="field.PresetationType == BoolPresentantioEnum[\'Radio button\']">\r\n {{field.Label + (field.Required ? " *" : "")}}\r\n </mat-label>\r\n <mat-radio-group *ngIf="field.PresetationType == BoolPresentantioEnum[\'Radio button\']"\r\n [formControlName]="field.Name" [disabled]="field.FormFormGroup.disabled" [required]="field.Required"\r\n [(ngModel)]="record[field.Name]" (ngModelChange)="onRecordValueChange()">\r\n <mat-radio-button class="mr-2" [value]="true" color="primary"> Si </mat-radio-button>\r\n <mat-radio-button class="mr-2" [value]="false" color="primary"> No </mat-radio-button>\r\n <mat-radio-button class="mr-2" [value]="null" color="primary" *ngIf="field.IsTristate"> ND\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n\r\n \x3c!-- VISUALIZZAZIONE A CHECKBOX --\x3e\r\n <mat-checkbox class="mr-2" *ngIf="field.PresetationType == BoolPresentantioEnum.Checkbox"\r\n [disabled]="field.FormFormGroup.disabled" [required]="field.Required" [formControlName]="field.Name"\r\n [(ngModel)]="record[field.Name]" (ngModelChange)="onRecordValueChange()">\r\n {{field.Label + (field.Required ? " *" : "")}}\r\n </mat-checkbox>\r\n\r\n \x3c!-- TODO: Visualizzazione "Stringa true o false" e "Numerico 0 o 1" ?? --\x3e\r\n</div>',styles:[""]})],e)}(),DateFieldTemplateComponent=function(){function e(){this.recordChange=new core.EventEmitter}return e.prototype.ngOnInit=function(){this.setTimeType()},e.prototype.ngOnChanges=function(e){null!=e.record&&0==e.record.firstChange&&JSON.stringify(e.record.currentValue)!=JSON.stringify(e.record.previousValue)&&(this.record=e.record.currentValue,this.updateField())},e.prototype.updateField=function(){this.field.Formula&&(this.record[this.field.Name]=UtilityHelperService.EvaluateFieldFormula(this.field.Formula,this.record,null))},e.prototype.onRecordValueChange=function(){this.field.Formula||this.recordChange.emit(this.record)},e.prototype.setTimeType=function(){switch(this.field.IsOnlyDate){case exports.DateTimeTypeEnum["Solo data"]:this.pickerMode=eqpDatetimepicker.PickerModeEnum.DATE;break;case exports.DateTimeTypeEnum["Solo orario"]:this.pickerMode=eqpDatetimepicker.PickerModeEnum.TIME;break;case exports.DateTimeTypeEnum["Data e ora"]:this.pickerMode=eqpDatetimepicker.PickerModeEnum.DATETIME}},__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),e=__decorate([core.Component({selector:"date-field-template",template:'<eqp-datetimepicker [placeholder]="field.Label" [UTCDate]="true" [pickerMode]="pickerMode"\r\n [formGroupInput]="field.FormFormGroup" [formControlNameInput]="field.Name"\r\n [minDate]="field.MinDate ? field.MinDate : null" [maxDate]="field.MaxDate ? field.MaxDate : null"\r\n [isRequired]="field.Required" [disabled]="field.FormFormGroup.disabled" [(ngModelInput)]="record[field.Name]"\r\n (ngModelInputChange)="onRecordValueChange()" [customDateFormat]="field.DateFormat ? field.DateFormat : null">\r\n</eqp-datetimepicker>',styles:[""]})],e)}(),TextareaFieldTemplateComponent=function(){function e(){this.recordChange=new core.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(e){null!=e.record&&0==e.record.firstChange&&JSON.stringify(e.record.currentValue)!=JSON.stringify(e.record.previousValue)&&(this.record=e.record.currentValue,this.updateField())},e.prototype.updateField=function(){this.field.Formula&&(this.record[this.field.Name]=UtilityHelperService.EvaluateFieldFormula(this.field.Formula,this.record,null))},e.prototype.onRecordValueChange=function(){this.field.Formula||this.recordChange.emit(this.record)},__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),e=__decorate([core.Component({selector:"textarea-field-template",template:'<mat-form-field [formGroup]="field.FormFormGroup">\r\n <textarea matInput [placeholder]="field.Label" [rows]="field.Rows" [formControlName]="field.Name"\r\n [disabled]="field.FormFormGroup.disabled" [required]="field.Required" [(ngModel)]="record[field.Name]"\r\n (ngModelChange)="onRecordValueChange()"></textarea>\r\n</mat-form-field>',styles:[""]})],e)}(),NumericFieldTemplateComponent=function(){function e(){this.recordChange=new core.EventEmitter,this.eqpNumericOptions={}}return e.prototype.ngOnInit=function(){this.configureEqpNumericOptions()},e.prototype.ngOnChanges=function(e){null!=e.record&&0==e.record.firstChange&&JSON.stringify(e.record.currentValue)!=JSON.stringify(e.record.previousValue)&&(this.record=e.record.currentValue,this.updateField())},e.prototype.updateField=function(){this.field.Formula&&(this.record[this.field.Name]=UtilityHelperService.EvaluateFieldFormula(this.field.Formula,this.record,null))},e.prototype.onRecordValueChange=function(){this.field.Formula||this.recordChange.emit(this.record)},e.prototype.configureEqpNumericOptions=function(){this.eqpNumericOptions.prefix=this.field.CurrencySymbol?this.field.CurrencySymbol:"",this.eqpNumericOptions.inputMode=this.field.CurrencySymbol?eqpNumeric.EqpNumericInputMode.FINANCIAL:eqpNumeric.EqpNumericInputMode.NATURAL,null!=this.field.MinValue&&null!=this.field.MinValue&&(this.eqpNumericOptions.min=this.field.MinValue),null!=this.field.MaxValue&&null!=this.field.MaxValue&&(this.eqpNumericOptions.max=this.field.MaxValue),null!=this.field.DecimalSeparator&&null!=this.field.DecimalSeparator&&(this.eqpNumericOptions.decimal=this.field.DecimalSeparator),null!=this.field.ThousandsSeparator&&null!=this.field.ThousandsSeparator&&(this.eqpNumericOptions.thousands=this.field.ThousandsSeparator),null!=this.field.DecimalPrecision&&null!=this.field.DecimalPrecision&&(this.eqpNumericOptions.precision=this.field.DecimalPrecision)},__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),e=__decorate([core.Component({selector:"numeric-field-template",template:'<mat-form-field [formGroup]="field.FormFormGroup">\r\n <mat-label> {{field.Label}} </mat-label>\r\n <input matInput eqpNumericMask [formControlName]="field.Name" [disabled]="field.FormFormGroup.disabled"\r\n [required]="field.Required" [(ngModel)]="record[field.Name]" [options]="eqpNumericOptions"\r\n [step]="field.IsInteger ? 1 : null" (ngModelChange)="onRecordValueChange()" />\r\n</mat-form-field>',styles:[""]})],e)}(),ListValueFieldTemplateComponent=function(){function e(){this.recordChange=new core.EventEmitter,this.ListPresentationEnum=exports.ListPresentationEnum,this.arrayData=[]}return e.prototype.ngOnInit=function(){this.setArrayData(),this.field.IsMultiChoiche&&!this.record[this.field.Name]&&(this.record[this.field.Name]=[]),this.setFormControlValue()},e.prototype.ngOnChanges=function(e){null!=e.record&&0==e.record.firstChange&&JSON.stringify(e.record.currentValue)!=JSON.stringify(e.record.previousValue)&&(this.record=e.record.currentValue,this.updateField())},e.prototype.updateField=function(){this.field.Formula&&(this.record[this.field.Name]=UtilityHelperService.EvaluateFieldFormula(this.field.Formula,this.record,null))},e.prototype.buttonSelectClick=function(e){e.Selected=!e.Selected,this.field.IsMultiChoiche?this.updateSelected(!1):(this.arrayData.filter((function(t){return t.Key!=e.Key&&t.Value!=e.Value})).forEach((function(e){return e.Selected=!1})),this.record[this.field.Name]=e.Value),this.onRecordValueChange()},e.prototype.updateSelected=function(e){void 0===e&&(e=!0),this.record[this.field.Name]=this.arrayData.filter((function(e){return e.Selected})).map((function(e){return e.Value})),this.setFormControlValue(),e&&this.onRecordValueChange()},e.prototype.onRecordValueChange=function(){this.field.Formula||this.recordChange.emit(this.record)},e.prototype.setArrayData=function(){var e=this;this.field.PresentationMode!=exports.ListPresentationEnum.Immagini?Object.keys(this.field.ValuePairs).forEach((function(t){e.createArrayDataElement(t,e.field.ValuePairs[t])})):this.field.ButtonImageList.forEach((function(t){e.createArrayDataElement(t.ButtonKey,t.ButtonValue,"data:"+t.FileContentType+";base64,"+t.FileDataBase64)}))},e.prototype.createArrayDataElement=function(e,t,a){var o;void 0===a&&(a=null),o=this.field.IsMultiChoiche&&this.record[this.field.Name]&&this.record[this.field.Name].length>0?!!this.record[this.field.Name].find((function(e){return e==t})):this.record[this.field.Name]===t,this.arrayData.push({Key:e,Value:t,Selected:o,ImgUrl:a})},e.prototype.setFormControlValue=function(){this.field.FormFormGroup.controls[this.field.Name].setValue(this.record[this.field.Name])},__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),e=__decorate([core.Component({selector:"list-value-field-template",template:'<eqp-select *ngIf="field.PresentationMode == ListPresentationEnum[\'Combo box\']" [arrayData]="arrayData"\r\n [arrayKeyProperty]="\'Value\'" [showCancelButton]="!field.Required" [arrayValueProperty]="\'Key\'"\r\n [formGroupInput]="field.FormFormGroup" [formControlNameInput]="field.Name" [placeholder]="field.Label"\r\n [includeFullObject]="false" [isRequired]="field.Required" [isDisabled]="field.FormFormGroup.disabled"\r\n [(ngModelInput)]="record[field.Name]" [isMultiSelect]="field.IsMultiChoiche"\r\n (ngModelInputChange)="onRecordValueChange()">\r\n</eqp-select>\r\n\r\n<div *ngIf="field.PresentationMode != ListPresentationEnum[\'Combo box\']" [formGroup]="field.FormFormGroup">\r\n\r\n <mat-label class="mr-3"> {{field.Label + (field.Required ? " *" : "")}} </mat-label>\r\n\r\n \x3c!-- VISUALIZZAZIONE A RADIO BUTTON (SENZA SELEZIONE MULTIPLA) --\x3e\r\n <mat-radio-group *ngIf="field.PresentationMode == ListPresentationEnum[\'Radio button\'] && !field.IsMultiChoiche"\r\n [formControlName]="field.Name" [disabled]="field.FormFormGroup.disabled" [required]="field.Required"\r\n [(ngModel)]="record[field.Name]" (ngModelChange)="onRecordValueChange()">\r\n <mat-radio-button class="mr-2" *ngFor="let data of arrayData" [value]="data.Value" color="primary">\r\n {{data.Key}}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n\r\n \x3c!-- VISUALIZZAZIONE A CHECKBOX (SELEZIONE MULTIPLA) --\x3e\r\n <div class="d-inline-block"\r\n *ngIf="field.PresentationMode == ListPresentationEnum[\'Radio button\'] && field.IsMultiChoiche">\r\n <mat-checkbox class="mr-2" *ngFor="let data of arrayData" [disabled]="field.FormFormGroup.disabled"\r\n [formControlName]="field.Name" [(ngModel)]="data.Selected" (ngModelChange)="updateSelected()">\r\n {{data.Key}}\r\n </mat-checkbox>\r\n </div>\r\n\r\n \x3c!-- VISUALIZZAZIONE A PULSANTI (CON TESTO O IMMAGINI) --\x3e\r\n <div class="d-inline-block"\r\n *ngIf="[ListPresentationEnum[\'Pulsante con testo\'], ListPresentationEnum.Immagini].includes(field.PresentationMode)">\r\n <button mat-raised-button color="primary" class="btn btn-primary m-1 data-button" *ngFor="let data of arrayData"\r\n [ngClass]="{\'selected-button\': data.Selected == true, \'p-0\': field.PresentationMode == ListPresentationEnum.Immagini}"\r\n (click)="buttonSelectClick(data)" [disabled]="field.FormFormGroup.disabled">\r\n\r\n \x3c!-- TESTO DEL PULSANTE --\x3e\r\n <span *ngIf="field.PresentationMode == ListPresentationEnum[\'Pulsante con testo\']"> {{data.Key}}</span>\r\n\r\n \x3c!-- IMMAGINE DEL PULSANTE --\x3e\r\n <img *ngIf="field.PresentationMode == ListPresentationEnum.Immagini" [src]="data.ImgUrl">\r\n </button>\r\n </div>\r\n\r\n</div>',styles:[".selected-button{opacity:.7}.selected-button:disabled{background-color:var(--primary)!important;opacity:.3;color:#fff}.data-button img{max-height:300px;max-width:300px}"]})],e)}(),AttachmentFieldTemplateComponent=function(){function e(e,t){this.utilityService=e,this.cdr=t,this.onlyImages=!1,this.recordChange=new core.EventEmitter,this.onAttachmentsChange=new core.EventEmitter,this.metadataFormGroups=new Array}return e.prototype.ngOnInit=function(){this.setFormControlValue(),this.createMetadataFormGroups(),this.field.MetadataFields&&this.field.MetadataFields.sort((function(e,t){return e.OrdinalPosition>t.OrdinalPosition?1:t.OrdinalPosition>e.OrdinalPosition?-1:0})),this.field.AllowedExtensions||(this.field.AllowedExtensions=AvailableFileExtensions.concat(AvailableImageExtensions).map((function(e){return e.key})))},e.prototype.ngAfterViewInit=function(){this.field.IsMultiAttach&&this.configureMultiAttachmentColumns()},e.prototype.ngOnChanges=function(e){null!=e.record&&0==e.record.firstChange&&JSON.stringify(e.record.currentValue)!=JSON.stringify(e.record.previousValue)&&(this.record=e.record.currentValue,this.updateField())},e.prototype.updateField=function(){this.field.Formula&&(this.record[this.field.Name]=UtilityHelperService.EvaluateFieldFormula(this.field.Formula,this.record,null))},e.prototype.catchAttachmentList=function(e){this.record[this.field.Name]=e,this.createMetadataFormGroups(),this.setFormControlValue(),this.onRecordValueChange(),this.onAttachmentsChange.emit(),this.cdr.detectChanges()},e.prototype.updateMetadataValidity=function(){this.metadataFormGroups.find((function(e){return e.invalid}))?this.field.FormFormGroup.controls[this.field.Name].setErrors({incorrect:!0}):this.field.FormFormGroup.controls[this.field.Name].setErrors(null),this.onRecordValueChange()},e.prototype.getFieldFromMetadata=function(e,t){var a=JSON.parse(JSON.stringify(this.field.MetadataFields.find((function(t){return t.Name===e.key}))));return a.FormFormGroup=this.metadataFormGroups[this.record[this.field.Name].indexOf(t)],a},e.prototype.setFormControlValue=function(){this.field.FormFormGroup.controls[this.field.Name].setValue(this.record[this.field.Name])},e.prototype.onRecordValueChange=function(){this.field.Formula||this.recordChange.emit(this.record)},e.prototype.configureMultiAttachmentColumns=function(){var e=this;this.eqpAttachments&&this.eqpAttachments.attachmentsColumns&&this.field.MetadataFields&&this.field.MetadataFields.length>0&&this.field.MetadataFields.forEach((function(t){e.eqpAttachments.attachmentsColumns.splice(e.eqpAttachments.attachmentsColumns.length-1,0,{key:t.Name,display:t.Label,type:eqpTable.TypeColumn.ExternalTemplate,externalTemplate:e.metadataColumnTemplate})}))},e.prototype.createMetadataFormGroups=function(){var e=this;this.field.MetadataFields&&this.field.MetadataFields.length>0&&(this.metadataFormGroups=[],this.record[this.field.Name]&&this.record[this.field.Name].length>0&&this.record[this.field.Name].forEach((function(t){e.metadataFormGroups.push(e.utilityService.CreateFormFormGroup(e.field.MetadataFields,t,e.field.FormFormGroup.disabled,!e.field.IsMultiAttach))})),this.updateMetadataValidity())},e.ctorParameters=function(){return[{type:UtilityHelperService},{type:core.ChangeDetectorRef}]},__decorate([core.Input()],e.prototype,"onlyImages",void 0),__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),__decorate([core.Output()],e.prototype,"onAttachmentsChange",void 0),__decorate([core.ViewChild("eqpAttachments",{static:!0})],e.prototype,"eqpAttachments",void 0),__decorate([core.ViewChild("metadataColumnTemplate",{static:!0})],e.prototype,"metadataColumnTemplate",void 0),e=__decorate([core.Component({selector:"attachment-field-template",template:'<p *ngIf="!field.IsMultiAttach" class="mb-2">\r\n {{field.Label + (field.Required ? " *" : "")}}\r\n</p>\r\n<div class="row" *ngIf="!field.IsMultiAttach && record[field.Name] && record[field.Name][0]">\r\n <div class="mt-2" *ngFor="let metadata of field.MetadataFields"\r\n [ngClass]="utilityService.getFieldSyleClass(metadata)">\r\n <dynamic-module-field [field]="metadata" [record]="record[field.Name][0]"\r\n (recordChange)="updateMetadataValidity()">\r\n </dynamic-module-field>\r\n </div>\r\n</div>\r\n\r\n<eqp-attachments [attachmentsList]="record[field.Name]" [showMatCard]="true" [allowOnlyImages]="onlyImages"\r\n [isDisabled]="field.FormFormGroup.disabled" [showInlinePreview]="true" [multipleAttachment]="field.IsMultiAttach"\r\n [disableAction]="field.FormFormGroup.disabled" [acceptedFileTypes]="field.AllowedExtensions" [showHeader]="true"\r\n [headerTitle]="field.Label + (field.Required ? \' *\' : \'\')" (localEditedAttachments)="catchAttachmentList($event)"\r\n #eqpAttachments>\r\n</eqp-attachments>\r\n\r\n\x3c!-- TEMPLATE PER VISUALIZZARE LA COLONNA DELLA SEZIONE NELLA TABELLA DEI FIELDS --\x3e\r\n<ng-template #metadataColumnTemplate let-row="row" let-col="col">\r\n <dynamic-module-field [field]="getFieldFromMetadata(col, row)" [record]="row"\r\n (recordChange)="updateMetadataValidity()">\r\n </dynamic-module-field>\r\n</ng-template>',styles:[""]})],e)}(),toBase64=function(e){return new Promise((function(t,a){var o=new FileReader;o.readAsDataURL(e),o.onload=function(){return t(o.result.toString())},o.onerror=function(e){return a(e)}}))},ɵ0=toBase64,ImageFieldTemplateComponent=function(){function e(e,t){this.dialog=e,this.utilityService=t,this.recordChange=new core.EventEmitter,this.width=null,this.height=null,this.i18n={saveBtn:"Salva modifiche",cancelBtn:"Ricarica originale"}}return e.prototype.ngOnInit=function(){this.field.AttachDefinition.FormFormGroup=this.field.FormFormGroup,this.field.AttachDefinition.AllowedExtensions||(this.field.AttachDefinition.AllowedExtensions=AvailableImageExtensions.map((function(e){return e.key}))),this.field.AttachDefinition.Name=this.field.Name,this.field.AttachDefinition.Label=this.field.Label,this.field.AttachDefinition.Description=this.field.Description,this.field.AttachDefinition.Required=this.field.Required,this.field.AttachDefinition.Formula=this.field.Formula,this.field.AttachDefinition.FieldValue=this.field.FieldValue,this.field.ImageIsContextualAttachment&&this.field.ContextualAttachment&&(this.record[this.field.Name]&&Array.isArray(this.record[this.field.Name])&&this.record[this.field.Name].length>0||(this.record[this.field.Name]=[JSON.parse(JSON.stringify(this.field.ContextualAttachment))]),this.preLoadedImageMetadataFormGroup=this.utilityService.CreateFormFormGroup(this.field.AttachDefinition.MetadataFields,this.record[this.field.Name][0]),this.getImageDimensions())},e.prototype.ngOnChanges=function(e){null!=e.record&&0==e.record.firstChange&&JSON.stringify(e.record.currentValue)!=JSON.stringify(e.record.previousValue)&&(this.record=e.record.currentValue,this.updateField())},e.prototype.updateMetadataValidity=function(){this.preLoadedImageMetadataFormGroup.invalid?this.field.FormFormGroup.controls[this.field.Name].setErrors({incorrect:!0}):this.field.FormFormGroup.controls[this.field.Name].setErrors(null),this.onRecordValueChange()},e.prototype.updateField=function(){this.field.Formula&&(this.record[this.field.Name]=UtilityHelperService.EvaluateFieldFormula(this.field.Formula,this.record,null))},e.prototype.resetPreLoadedImage=function(){this.width=null,this.height=null,this.record[this.field.Name]=[JSON.parse(JSON.stringify(this.field.ContextualAttachment))],this.getImageDimensions()},e.prototype.onAttachmentsChange=function(){!this.field.AttachDefinition.IsMultiAttach&&this.field.EnableDrawing&&this.record[this.field.Name]&&this.record[this.field.Name][0]&&(this.getImageDimensions(),this.dialogImageDrowingRef=this.dialog.open(this.dialogImageDrowing,{disableClose:!0,hasBackdrop:!0,width:"75%"}))},e.prototype.saveDrowning=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(a){switch(a.label){case 0:return[4,toBase64(e)];case 1:return(t=a.sent())&&(this.record[this.field.Name][0].FileContentType=t.split(",")[0].split(":")[1].split(";")[0],this.record[this.field.Name][0].FileDataBase64=t.split(",")[1]),this.dialogImageDrowingRef&&this.closeImageDrowingDialog(),[2]}}))}))},e.prototype.closeImageDrowingDialog=function(){this.dialogImageDrowingRef.close(),this.width=null,this.height=null},e.prototype.getImageDimensions=function(){var e=this,t=this.getBlobFromBase64(),a=new FileReader;a.onload=function(t){var a=new Image;a.src=t.target.result,a.onload=function(t){e.height=t.currentTarget.height,e.width=t.currentTarget.width}},a.readAsDataURL(t)},e.prototype.getBlobFromBase64=function(){for(var e=atob(this.record[this.field.Name][0].FileDataBase64),t=new Array(e.length),a=0;a<e.length;a++)t[a]=e.charCodeAt(a);var o=new Uint8Array(t);return new Blob([o],{type:this.record[this.field.Name][0].FileContentType})},e.prototype.onRecordValueChange=function(){this.field.Formula||this.recordChange.emit(this.record)},e.ctorParameters=function(){return[{type:dialog.MatDialog},{type:UtilityHelperService}]},__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),__decorate([core.ViewChild("dialogImageDrowing",{static:!0})],e.prototype,"dialogImageDrowing",void 0),e=__decorate([core.Component({selector:"image-field-template",template:'\x3c!-- VISUALIZZAZIONE ALLEGATO PRE CARICATO CON POSSIBILITA\' DI DISEGNO --\x3e\r\n<div class="row" *ngIf="field.ImageIsContextualAttachment && field.ContextualAttachment">\r\n <div class="col-sm-12 col-md-6 col-lg-4">\r\n <p class="mb-2">\r\n {{ field.Label + (field.Required ? " *" : "")}}\r\n <br>\r\n Nome immagine: {{ field.ImgName}}\r\n </p>\r\n <eqp-img-drawing\r\n *ngIf="field.EnableDrawing && record[field.Name] && record[field.Name][0] && width != null && height != null"\r\n [src]="\'data:\'+ record[field.Name][0].FileContentType + \';base64,\'+ record[field.Name][0].FileDataBase64"\r\n [showCancelButton]="false" [enableLoadAnotherImage]="false" [enableRemoveImage]="false" [width]="width"\r\n [height]="height" [i18n]="i18n" [showCancelButton]="true" (save)="saveDrowning($event)"\r\n (cancel)="resetPreLoadedImage()">\r\n </eqp-img-drawing>\r\n\r\n <img *ngIf="!field.EnableDrawing"\r\n [src]="\'data:\'+ record[field.Name][0].FileContentType+ \';base64,\'+ record[field.Name][0].FileDataBase64">\r\n </div>\r\n\r\n <div class="col-sm-12 col-md-6 col-lg-8">\r\n <div class="row"\r\n *ngIf="field.AttachDefinition && field.AttachDefinition.MetadataFields && preLoadedImageMetadataFormGroup">\r\n <div class="mt-2" *ngFor="let metadata of field.AttachDefinition.MetadataFields"\r\n [ngClass]="utilityService.getFieldSyleClass(metadata)">\r\n <dynamic-module-field #fieldTemplate [field]="metadata" [form]="preLoadedImageMetadataFormGroup"\r\n [record]="record[field.Name][0]" (recordChange)="updateMetadataValidity()">\r\n </dynamic-module-field>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\x3c!-- COMPONENTE IN CUI CARICARE NUOVI ALLEGATI --\x3e\r\n<attachment-field-template [(record)]="record" [field]="field.AttachDefinition" [onlyImages]="true"\r\n (onAttachmentsChange)="onAttachmentsChange()" *ngIf="!field.ImageIsContextualAttachment">\r\n</attachment-field-template>\r\n\r\n\x3c!-- DIALOG PER DISEGNARE SUL NUOVO ALLEGATO CARICATO --\x3e\r\n<ng-template #dialogImageDrowing>\r\n <div *ngIf="field.EnableDrawing && record[field.Name] && record[field.Name][0] && width != null && height != null"\r\n class="row">\r\n <div class="col-sm-12 col-md-12">\r\n <eqp-img-drawing [showCancelButton]="false" [enableLoadAnotherImage]="false" [enableRemoveImage]="false"\r\n [src]="\'data:\'+ record[field.Name][0].FileContentType + \';base64,\'+ record[field.Name][0].FileDataBase64"\r\n [i18n]="i18n" [showCancelButton]="false" (save)="saveDrowning($event)">\r\n </eqp-img-drawing>\r\n </div>\r\n </div>\r\n <div class="row mt-2 mb-1">\r\n <div class="col-sm-12 text-right">\r\n <button class="btn mat-raised-button" (click)="closeImageDrowingDialog()" type="button">\r\n Annulla disegno\r\n </button>\r\n </div>\r\n </div>\r\n</ng-template>',styles:["::ng-deep image-drawing>button{background-color:var(--primary)!important;color:#fff!important}"]})],e)}(),ListFormRecordComponent=function(){function ListFormRecordComponent(){this.showTitle=!0,this.columns=new Array,this.onAddViewEditRecord=new core.EventEmitter,this.onDeleteRecord=new core.EventEmitter,this.onDuplicateRecord=new core.EventEmitter}return ListFormRecordComponent.prototype.ngOnInit=function(){this.configureColumns()},ListFormRecordComponent.prototype.ngOnChanges=function(e){null!=e.values&&0==e.values.firstChange&&(this.values=e.values.currentValue,this.reloadTables())},ListFormRecordComponent.prototype.configureColumns=function(){var e=this;this.columns=[{key:"action",display:"",type:eqpTable.TypeColumn.MenuAction,buttonMenuIcon:"more_vert",styles:{flex:"0 0 6%"},actions:[{name:"Visualizza",icon:"info",fn:function(t,a,o){return e.viewOrEditRecord(t,!0)}},{name:"Modifica",icon:"edit",fn:function(t,a,o){return e.viewOrEditRecord(t,!1)}},{name:"Duplica",icon:"file_copy",fn:function(t,a,o){return e.duplicateRecord(t)}},{name:"Elimina",icon:"delete",fn:function(t,a,o){return e.deleteRecord(t)}}]}],this.createAdditionalActions(),this.createColumnsFromFormFields()},ListFormRecordComponent.prototype.createAdditionalActions=function(){var _this=this;this.form.ActionsOnRecord&&this.form.ActionsOnRecord.length>0&&this.form.ActionsOnRecord.sort((function(e,t){return e.OrdinalPosition>t.OrdinalPosition?1:t.OrdinalPosition>e.OrdinalPosition?-1:0})).forEach((function(action){_this.columns.find((function(e){return"action"===e.key})).actions.push({name:action.Name,icon:action.Icon,fn:function(element,index,col){var rec=element,ctx=UtilityHelperService.context;eval(action.Action)}})}))},ListFormRecordComponent.prototype.viewOrEditRecord=function(e,t){this.onAddViewEditRecord.emit({record:e,onlyView:t})},ListFormRecordComponent.prototype.duplicateRecord=function(e){this.onDuplicateRecord.emit(e)},ListFormRecordComponent.prototype.deleteRecord=function(e){this.onDeleteRecord.emit(e)},ListFormRecordComponent.prototype.createColumnsFromFormFields=function(){var e=this;(this.form.Fields.find((function(e){return e.InListView}))?this.form.Fields.filter((function(e){return e.InListView})):this.form.Fields.filter((function(e){return e.OrdinalPosition<6}))).sort((function(e,t){return e.OrdinalPosition>t.OrdinalPosition?1:t.OrdinalPosition>e.OrdinalPosition?-1:0})).forEach((function(t){e.columns.push(e.createFieldColumn(t))}))},ListFormRecordComponent.prototype.createFieldColumn=function(e){var t={key:e.Name,display:e.Label};switch(e.FieldType){case exports.FieldTypeEnum.Booleano:t.type=eqpTable.TypeColumn.Boolean,t.booleanValues={false:'<i class="fa fa-times error-color"></i>',true:'<i class="fa fa-check success-color"></i>'},t.styles={flex:"0 0 7%",cellAlignment:eqpTable.CellAlignmentEnum.CENTER};break;case exports.FieldTypeEnum["Data e/o ora"]:e.IsOnlyDate!=exports.DateTimeTypeEnum["Solo orario"]&&(t.type=eqpTable.TypeColumn.Date,e.IsOnlyDate==exports.DateTimeTypeEnum["Data e ora"]?t.format="dd/MM/yyyy HH:mm":e.IsOnlyDate==exports.DateTimeTypeEnum["Solo data"]&&(t.format=e.DateFormat?e.DateFormat.replace("DD","dd"):"dd/MM/yyyy"));break;case exports.FieldTypeEnum["Campo numerico"]:e.CurrencySymbol?(t.numberPipe=eqpTable.NumberColumnPipe.CURRENCY,t.currencyPipeCode=e.CurrencySymbol):e.IsInteger||(t.numberPipe=eqpTable.NumberColumnPipe.DECIMAL);break;case exports.FieldTypeEnum.Allegato:case exports.FieldTypeEnum.Immagine:t.value=function(t){return e.IsMultiAttach||e.AttachDefinition&&e.AttachDefinition.IsMultiAttach?null!=t[e.Name]&&t[e.Name].length>0?t[e.Name].map((function(e){return e.FileName})).join(", "):null:null!=t[e.Name]&&t[e.Name].length>0?t[e.Name][0].FileName:null},t.isSortable=!1,t.isSearchable=!1;break;case exports.FieldTypeEnum["Elenco generico"]:t.value=function(t){return e.IsMultiChoiche?t[e.Name]&&0!=t[e.Name].length?Object.keys(e.ValuePairs).filter((function(a){return t[e.Name].includes(e.ValuePairs[a])})).join(", "):null:Object.keys(e.ValuePairs).find((function(a){return e.ValuePairs[a]==t[e.Name]}))},t.isSortable=!1,t.isSearchable=!1;break;case exports.FieldTypeEnum.Lookup:}return t},ListFormRecordComponent.prototype.reloadTables=function(){this.tableRecords&&this.tableRecords.reloadDatatable()},__decorate([core.Input()],ListFormRecordComponent.prototype,"showTitle",void 0),__decorate([core.Input()],ListFormRecordComponent.prototype,"form",void 0),__decorate([core.Input()],ListFormRecordComponent.prototype,"values",void 0),__decorate([core.ViewChild("tableRecords",{static:!0})],ListFormRecordComponent.prototype,"tableRecords",void 0),__decorate([core.Output()],ListFormRecordComponent.prototype,"onAddViewEditRecord",void 0),__decorate([core.Output()],ListFormRecordComponent.prototype,"onDeleteRecord",void 0),__decorate([core.Output()],ListFormRecordComponent.prototype,"onDuplicateRecord",void 0),ListFormRecordComponent=__decorate([core.Component({selector:"list-form-record",template:'<div class="row eqp-dynamic-module-title">\r\n <div class="col-md-6">\r\n <h4 *ngIf="showTitle"><b>Elenco {{form.Name}}</b></h4>\r\n </div>\r\n <div class="col-md-6 text-right">\r\n <button class="btn btn-primary" mat-raised-button color="primary" type="button" (click)="onAddViewEditRecord.emit(null)">\r\n <mat-icon>add</mat-icon>\r\n <span style="margin-left: 10px;">Aggiungi</span>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n\r\n<eqp-table #tableRecords [data]="values" [columns]="columns"></eqp-table>',styles:["::ng-deep .error-color{color:var(--danger)}::ng-deep .success-color{color:var(--success)}"]})],ListFormRecordComponent),ListFormRecordComponent}(),AddFormRecordComponent=function(){function e(e,t){this.cdr=e,this.utilityService=t,this.showTitle=!0,this.showButtons=!0,this.form=new Form,this.fieldGroups={},this.FormScalarTypeEnum=exports.FormScalarTypeEnum,this.FieldTypeEnum=exports.FieldTypeEnum,this.saveRecordEvent=new core.EventEmitter}return e.prototype.ngOnInit=function(){null==this.record&&(this.record=new Record),this.createRecordProperties(),this.reorderFormFields(),this.createFormGroup(),this.form.FormScalarType!=exports.FormScalarTypeEnum.Semplice&&this.createFieldGroups(),this.cdr.detectChanges()},e.prototype.onRecordChange=function(){this.fieldTemplate&&this.fieldTemplate.length>0&&this.fieldTemplate.forEach((function(e){return e.updateField()}))},e.prototype.saveOrExitForm=function(e){e?this.saveRecordEvent.emit(null):this.saveRecordEvent.emit(this.record)},e.prototype.createRecordProperties=function(){var e=this,t=Object.keys(this.record);this.form.Fields.forEach((function(a){t.find((function(e){return e===a.Name}))||(e.record[a.Name]=null)})),this.form.InnerForms&&this.form.InnerForms.length>0&&this.form.InnerForms.forEach((function(a){var o=a.Name.split(" ").join("_");t.find((function(e){return e===o}))||(e.record[o]=[])}))},e.prototype.reorderFormFields=function(){this.form.Fields&&this.form.Fields.length>0&&this.form.Fields.sort((function(e,t){return e.OrdinalPosition>t.OrdinalPosition?1:t.OrdinalPosition>e.OrdinalPosition?-1:0}))},e.prototype.createFormGroup=function(){this.formForm=this.utilityService.CreateFormFormGroup(this.form.Fields,this.record,this.onlyView)},e.prototype.createFieldGroups=function(){var e=this;this.form.FormFieldsGroups.sort((function(e,t){return e.OrdinalPosition>t.OrdinalPosition?1:t.OrdinalPosition>e.OrdinalPosition?-1:0})).map((function(e){return e.Name})).forEach((function(t){e.fieldGroups[t]=e.form.Fields.filter((function(e){return e.FieldGroup==t}))}))},e.ctorParameters=function(){return[{type:core.ChangeDetectorRef},{type:UtilityHelperService}]},__decorate([core.Input()],e.prototype,"showTitle",void 0),__decorate([core.Input()],e.prototype,"showButtons",void 0),__decorate([core.Input()],e.prototype,"form",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Input()],e.prototype,"onlyView",void 0),__decorate([core.Output()],e.prototype,"saveRecordEvent",void 0),__decorate([core.ViewChildren("fieldTemplate")],e.prototype,"fieldTemplate",void 0),e=__decorate([core.Component({selector:"add-form-record",template:'<div class="row eqp-dynamic-module-title" *ngIf="showTitle">\r\n <div class="col-md-12">\r\n <h4><b>{{form.Name}}</b></h4>\r\n </div>\r\n</div>\r\n\r\n<form [formGroup]="formForm">\r\n\r\n \x3c!-- VISUALIZZAZIONE SEMPLICE --\x3e\r\n <ng-container *ngIf="form.FormScalarType == FormScalarTypeEnum.Semplice" [ngTemplateOutlet]="fieldTemplates"\r\n [ngTemplateOutletContext]="{ fields: form.Fields }">\r\n </ng-container>\r\n\r\n \x3c!-- VISUALIZZAZIONE A STEPPER --\x3e\r\n <mat-horizontal-stepper linear *ngIf="form.FormScalarType == FormScalarTypeEnum[\'A step\']">\r\n <mat-step *ngFor="let group of form.FormFieldsGroups">\r\n <ng-template matStepLabel>\r\n {{group.Name}}\r\n </ng-template>\r\n\r\n <ng-container [ngTemplateOutlet]="fieldTemplates"\r\n [ngTemplateOutletContext]="{ fields: fieldGroups[group.Name] }">\r\n </ng-container>\r\n </mat-step>\r\n </mat-horizontal-stepper>\r\n\r\n \x3c!-- VISUALIZZAZIONE A TAB --\x3e\r\n <mat-tab-group *ngIf="form.FormScalarType == FormScalarTypeEnum[\'In tab\']">\r\n <mat-tab *ngFor="let group of form.FormFieldsGroups" [label]="group.Name">\r\n <div class="mt-3">\r\n <ng-container [ngTemplateOutlet]="fieldTemplates"\r\n [ngTemplateOutletContext]="{ fields: fieldGroups[group.Name] }">\r\n </ng-container>\r\n </div>\r\n </mat-tab>\r\n </mat-tab-group>\r\n\r\n \x3c!-- VISUALIZZAZIONE AD ACCORDION --\x3e\r\n <mat-accordion multi *ngIf="form.FormScalarType == FormScalarTypeEnum[\'In accordion\']">\r\n <mat-expansion-panel *ngFor="let group of form.FormFieldsGroups">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{group.Name}}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n <ng-container [ngTemplateOutlet]="fieldTemplates"\r\n [ngTemplateOutletContext]="{ fields: fieldGroups[group.Name] }">\r\n </ng-container>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n</form>\r\n\r\n<div class="row mt-2" *ngIf="showButtons">\r\n <div class="col-sm-12 text-right">\r\n <button class="mr-2" mat-raised-button (click)="saveOrExitForm(true)" type="button">\r\n Annulla\r\n </button>\r\n <button class="mr-2" mat-raised-button color="primary" (click)="saveOrExitForm(false)"\r\n [disabled]="formForm.invalid || formForm.disabled" type="button">\r\n Salva\r\n </button>\r\n </div>\r\n</div>\r\n\r\n\x3c!-- TEMPLATE PER LA VISUALIZZAZIONE DEI CAMPI DELLA FORM --\x3e\r\n<ng-template #fieldTemplates let-fields=\'fields\'>\r\n <div class="row">\r\n <div class="mt-2" *ngFor="let field of fields" [ngClass]="utilityService.getFieldSyleClass(field)">\r\n <dynamic-module-field #fieldTemplate [field]="field" [form]="form" [record]="record"\r\n (recordChange)="onRecordChange()"></dynamic-module-field>\r\n </div>\r\n </div>\r\n</ng-template>',styles:[""]})],e)}(),DynamicModuleFieldComponent=function(){function e(e){this.dialog=e,this.recordChange=new core.EventEmitter,this.FieldTypeEnum=exports.FieldTypeEnum,this.onlyViewInnerFormRecord=!1}return e.prototype.updateField=function(){this.fieldTemplate&&this.fieldTemplate.length>0&&this.fieldTemplate.forEach((function(e){return e.updateField()}))},e.prototype.ngOnInit=function(){},e.prototype.onRecordChange=function(){this.recordChange.emit(this.record)},e.prototype.getInnerFormFromField=function(e){return this.form.InnerForms&&this.form.InnerForms.find((function(t){return t.Name==e.Label}))?this.form.InnerForms.find((function(t){return t.Name==e.Label})):null},e.prototype.onAddViewEditInnerFormRecord=function(e,t){this.selectedInnerForm=this.getInnerFormFromField(t),null==e?(this.selectedInnerFormRecord=new Record,this.indexInnerFormRecord=null,this.onlyViewInnerFormRecord=!1):(this.selectedInnerFormRecord=JSON.parse(JSON.stringify(e.record)),this.indexInnerFormRecord=this.record[t.Name].indexOf(e),this.onlyViewInnerFormRecord=e.onlyView),this.dialogInnerFormRecordRef=this.dialog.open(this.dialogInnerFormRecord,{disableClose:!0,hasBackdrop:!0,width:"75%"})},e.prototype.onSaveInnerFormRecord=function(e){if(null!=e){var t=this.selectedInnerForm.Name.split(" ").join("_");null!=this.indexInnerFormRecord&&this.indexInnerFormRecord>=0?this.record[t][this.indexInnerFormRecord]=e:(this.record[t]||(this.record[t]=[]),this.record[t].push(e))}this.dialogInnerFormRecordRef.close(),this.listInnerFormRecords&&this.listInnerFormRecords.length>0&&this.listInnerFormRecords.forEach((function(e){e&&e.tableRecords&&e.tableRecords.reloadDatatable()}))},e.ctorParameters=function(){return[{type:dialog.MatDialog}]},__decorate([core.Input()],e.prototype,"field",void 0),__decorate([core.Input()],e.prototype,"form",void 0),__decorate([core.Input()],e.prototype,"record",void 0),__decorate([core.Output()],e.prototype,"recordChange",void 0),__decorate([core.ViewChild("dialogInnerFormRecord",{static:!0})],e.prototype,"dialogInnerFormRecord",void 0),__decorate([core.ViewChildren("fieldTemplate")],e.prototype,"fieldTemplate",void 0),__decorate([core.ViewChildren("listInnerFormRecords")],e.prototype,"listInnerFormRecords",void 0),e=__decorate([core.Component({selector:"dynamic-module-field",template:'<text-field-template #fieldTemplate *ngIf="field.FieldType == FieldTypeEnum[\'Campo di testo\']"\r\n [matTooltip]="field.Description" [(record)]="record" [field]="field" (recordChange)="onRecordChange()">\r\n</text-field-template>\r\n\r\n<textarea-field-template #fieldTemplate *ngIf="field.FieldType == FieldTypeEnum[\'Area di testo\']"\r\n [matTooltip]="field.Description" [(record)]="record" [field]="field" (recordChange)="onRecordChange()">\r\n</textarea-field-template>\r\n\r\n<boolean-field-template #fieldTemplate *ngIf="field.FieldType == FieldTypeEnum[\'Booleano\']"\r\n [matTooltip]="field.Description" [(record)]="record" [field]="field" (recordChange)="onRecordChange()">\r\n</boolean-field-template>\r\n\r\n<date-field-template #fieldTemplate *ngIf="field.FieldType == FieldTypeEnum[\'Data e/o ora\']"\r\n [matTooltip]="field.Description" [(record)]="record" [field]="field" (recordChange)="onRecordChange()">\r\n</date-field-template>\r\n\r\n<numeric-field-template #fieldTemplate *ngIf="field.FieldType == FieldTypeEnum[\'Campo numerico\']"\r\n [matTooltip]="field.Description" [(record)]="record" [field]="field" (recordChange)="onRecordChange()">\r\n</numeric-field-template>\r\n\r\n<list-value-field-template #fieldTemplate *ngIf="field.FieldType == FieldTypeEnum[\'Elenco generico\']"\r\n [matTooltip]="field.Description" [(record)]="record" [field]="field" (recordChange)="onRecordChange()">\r\n</list-value-field-template>\r\n\r\n<attachment-field-template #fieldTemplate *ngIf="field.FieldType == FieldTypeEnum[\'Allegato\']"\r\n [matTooltip]="field.Description" [(record)]="record" [field]="field" (recordChange)="onRecordChange()">\r\n</attachment-field-template>\r\n\r\n<image-field-template #fieldTemplate *ngIf="field.FieldType == FieldTypeEnum[\'Immagine\']"\r\n [matTooltip]="field.Description" [(record)]="record" [field]="field" (recordChange)="onRecordChange()">\r\n</image-field-template>\r\n\r\n<list-form-record #listInnerFormRecords *ngIf="field.FieldType == FieldTypeEnum[\'Form di dettaglio\']"\r\n [form]="getInnerFormFromField(field)" [values]="record[field.Name]"\r\n (onAddViewEditRecord)="onAddViewEditInnerFormRecord($event, field)">\r\n</list-form-record>\r\n\r\n\x3c!-- DIALOG PER AGGIUNGERE/MODIFICARE/VISUALIZZARE UN RECORD IN UNA FORM DI DETTAGLIO --\x3e\r\n<ng-template #dialogInnerFormRecord>\r\n <add-form-record [form]="selectedInnerForm" [record]="selectedInnerFormRecord" [onlyView]="onlyViewInnerFormRecord"\r\n (saveRecordEvent)="onSaveInnerFormRecord($event)"></add-form-record>\r\n</ng-template>',styles:[""]})],e)}(),SpinnerComponent=function(){function e(e){this.spinnerService=e,this.isLoading=this.spinnerService.isLoading}return e.prototype.ngOnInit=function(){},e.ctorParameters=function(){return[{type:SpinnerService}]},e=__decorate([core.Component({selector:"eqp-dynamic-module-spinner",template:'<div class="eqp-splash-screen" *ngIf="isLoading | async">\r\n <div id="loader"></div>\r\n</div>',styles:[':host #loader{display:block;position:relative;width:150px;height:150px;border-radius:50%;border:3px solid transparent;border-top-color:var(--primary);-webkit-animation:2s linear infinite spin;animation:2s linear infinite spin}:host #loader:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;border:3px solid transparent;border-top-color:var(--primary);-webkit-animation:3s linear infinite spin;animation:3s linear infinite spin}:host #loader:after{content:"";position:absolute;top:15px;left:15px;right:15px;bottom:15px;border-radius:50%;border:3px solid transparent;border-top-color:var(--primary);-webkit-animation:1.5s linear infinite spin;animation:1.5s linear infinite spin}@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}:host .eqp-splash-screen{background-color:#343a4040;position:fixed;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;width:100%;z-index:9999}:host .eqp-splash-screen img{margin-left:calc(100vw - 100%);width:90px;margin-bottom:30px}:host .eqp-splash-screen span{margin-left:calc(100vw - 100%);margin-bottom:30px}:host .eqp-splash-screen ::ng-deep .mat-progress-spinner circle,:host .eqp-splash-screen ::ng-deep .mat-spinner circle{stroke:#5d78ff}']})],e)}(),EqpDynamicModuleModule=function(){function e(){}return e=__decorate([core.NgModule({declarations:[EqpDynamicModuleComponent,EqpDynamicModuleConfiguratorComponent,AddFormFieldComponent,TextFieldTemplateComponent,BooleanFieldTemplateComponent,DateFieldTemplateComponent,TextareaFieldTemplateComponent,NumericFieldTemplateComponent,ListValueFieldTemplateComponent,AttachmentFieldTemplateComponent,ImageFieldTemplateComponent,ListFormRecordComponent,AddFormRecordComponent,DynamicModuleFieldComponent,SpinnerComponent],imports:[MaterialModule,forms.FormsModule,common.CommonModule,forms.ReactiveFormsModule,eqpTable.EqpTableModule,eqpAttachments.EqpAttachmentsModule,eqpSelect.EqpSelectModule,eqpDatetimepicker.EqpDatetimepickerModule,eqpFilters.EqpFiltersModule,eqpNumeric.EqpNumericModule,eqpImgDrawing.EqpImgDrawingModule],exports:[EqpDynamicModuleComponent,EqpDynamicModuleConfiguratorComponent]})],e)}(),Entity=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseObj),ImageField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),Object.defineProperty(t.prototype,"_contextualAttachments",{get:function(){return this.ContextualAttachment?[this.ContextualAttachment]:[]},enumerable:!0,configurable:!0}),t}(BaseField),LookupField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseField),NumericField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseField),TextareaField=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(BaseField);exports.ActionOnRecord=ActionOnRecord,exports.AddFormFieldComponent=AddFormFieldComponent,exports.AddFormRecordComponent=AddFormRecordComponent,exports.ArrayValidators=ArrayValidators,exports.AttachmentField=AttachmentField,exports.AttachmentFieldTemplateComponent=AttachmentFieldTemplateComponent,exports.AvailableFileExtensions=AvailableFileExtensions,exports.AvailableImageExtensions=AvailableImageExtensions,exports.BaseField=BaseField,exports.BaseObj=BaseObj,exports.BooleanField=BooleanField,exports.BooleanFieldTemplateComponent=BooleanFieldTemplateComponent,exports.ButtonImage=ButtonImage,exports.Context=Context,exports.ContextUser=ContextUser,exports.DateField=DateField,exports.DateFieldTemplateComponent=DateFieldTemplateComponent,exports.DynRecord=DynRecord,exports.DynamicModuleFieldComponent=DynamicModuleFieldComponent,exports.EndPointConfiguration=EndPointConfiguration,exports.EndPointData=EndPointData,exports.EndPointDataParams=EndPointDataParams,exports.Entity=Entity,exports.EqpDynamicModuleComponent=EqpDynamicModuleComponent,exports.EqpDynamicModuleConfiguratorComponent=EqpDynamicModuleConfiguratorComponent,exports.EqpDynamicModuleDialogService=EqpDynamicModuleDialogService,exports.EqpDynamicModuleModule=EqpDynamicModuleModule,exports.Form=Form,exports.FormFieldGroup=FormFieldGroup,exports.ImageField=ImageField,exports.ImageFieldTemplateComponent=ImageFieldTemplateComponent,exports.ListFormRecordComponent=ListFormRecordComponent,exports.ListValueField=ListValueField,exports.ListValueFieldTemplateComponent=ListValueFieldTemplateComponent,exports.LookupField=LookupField,exports.NumericField=NumericField,exports.NumericFieldTemplateComponent=NumericFieldTemplateComponent,exports.Record=Record,exports.SpinnerService=SpinnerService,exports.TelRegex=TelRegex,exports.TextField=TextField,exports.TextFieldTemplateComponent=TextFieldTemplateComponent,exports.TextareaField=TextareaField,exports.TextareaFieldTemplateComponent=TextareaFieldTemplateComponent,exports.UrlRegex=UrlRegex,exports.UtilityHelperService=UtilityHelperService,exports.ɵ0=ɵ0,exports.ɵa=SpinnerComponent,exports.ɵb=MaterialModule,Object.defineProperty(exports,"__esModule",{value:!0})}));
|
|
17
|
-
//# sourceMappingURL=eqproject-eqp-dynamic-module.umd.min.js.map
|