@apipass/inputs 0.2.16 → 1.0.1

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.
Files changed (71) hide show
  1. package/ace-editor/component.d.ts +52 -52
  2. package/ace-editor/directive.d.ts +39 -39
  3. package/assets/css/colors.scss +34 -34
  4. package/assets/css/fonts.scss +24 -24
  5. package/assets/css/inputs.scss +245 -197
  6. package/assets/css/pt_sans.scss +143 -143
  7. package/assets/css/spacing.scss +28 -28
  8. package/assets/css/texts.scss +18 -18
  9. package/custom-select/custom-select-item.d.ts +5 -5
  10. package/custom-select/custom-select.component.d.ts +51 -51
  11. package/debounce-model-directive/debouceInput.directive.d.ts +14 -14
  12. package/{esm2015/ace-editor/component.js → esm2020/ace-editor/component.mjs} +199 -204
  13. package/{esm2015/ace-editor/directive.js → esm2020/ace-editor/directive.mjs} +150 -150
  14. package/{esm2015/apipass-inputs.js → esm2020/apipass-inputs.mjs} +4 -4
  15. package/{esm2015/custom-select/custom-select-item.js → esm2020/custom-select/custom-select-item.mjs} +7 -7
  16. package/esm2020/custom-select/custom-select.component.mjs +204 -0
  17. package/esm2020/debounce-model-directive/debouceInput.directive.mjs +31 -0
  18. package/esm2020/field/field.component.mjs +51 -0
  19. package/esm2020/input-avatar/input-avatar.component.mjs +92 -0
  20. package/esm2020/input-boolean/input-boolean.component.mjs +56 -0
  21. package/esm2020/input-file/input-file.component.mjs +82 -0
  22. package/esm2020/input-number/input-number.component.mjs +62 -0
  23. package/esm2020/input-password/input-password.component.mjs +96 -0
  24. package/esm2020/input-text/input-text.component.mjs +62 -0
  25. package/esm2020/inputs.module.mjs +149 -0
  26. package/{esm2015/public-api.js → esm2020/public-api.mjs} +17 -17
  27. package/{esm2015/select-box/mat-select-infinite-scroll.directive.js → esm2020/select-box/mat-select-infinite-scroll.directive.mjs} +86 -86
  28. package/esm2020/select-box/select-box.component.mjs +220 -0
  29. package/esm2020/select-enum/select-enum.component.mjs +48 -0
  30. package/esm2020/select-interpolation/select-interpolation.component.mjs +169 -0
  31. package/{esm2015/value-acessor-base.js → esm2020/value-acessor-base.mjs} +31 -31
  32. package/fesm2015/apipass-inputs.mjs +1704 -0
  33. package/fesm2015/apipass-inputs.mjs.map +1 -0
  34. package/fesm2020/apipass-inputs.mjs +1697 -0
  35. package/fesm2020/apipass-inputs.mjs.map +1 -0
  36. package/field/field.component.d.ts +15 -15
  37. package/{apipass-inputs.d.ts → index.d.ts} +5 -5
  38. package/input-avatar/input-avatar.component.d.ts +29 -29
  39. package/input-boolean/input-boolean.component.d.ts +15 -15
  40. package/input-file/input-file.component.d.ts +31 -31
  41. package/input-number/input-number.component.d.ts +17 -17
  42. package/input-password/input-password.component.d.ts +29 -29
  43. package/input-text/input-text.component.d.ts +17 -17
  44. package/inputs.module.d.ts +36 -36
  45. package/package.json +38 -29
  46. package/public-api.d.ts +16 -16
  47. package/select-box/mat-select-infinite-scroll.directive.d.ts +26 -26
  48. package/select-box/select-box.component.d.ts +57 -57
  49. package/select-enum/select-enum.component.d.ts +12 -12
  50. package/select-interpolation/select-interpolation.component.d.ts +44 -44
  51. package/value-acessor-base.d.ts +13 -13
  52. package/assets/css/buttons.scss +0 -118
  53. package/bundles/apipass-inputs.umd.js +0 -3060
  54. package/bundles/apipass-inputs.umd.js.map +0 -1
  55. package/bundles/apipass-inputs.umd.min.js +0 -16
  56. package/bundles/apipass-inputs.umd.min.js.map +0 -1
  57. package/esm2015/custom-select/custom-select.component.js +0 -310
  58. package/esm2015/debounce-model-directive/debouceInput.directive.js +0 -31
  59. package/esm2015/field/field.component.js +0 -92
  60. package/esm2015/input-avatar/input-avatar.component.js +0 -167
  61. package/esm2015/input-boolean/input-boolean.component.js +0 -77
  62. package/esm2015/input-file/input-file.component.js +0 -133
  63. package/esm2015/input-number/input-number.component.js +0 -118
  64. package/esm2015/input-password/input-password.component.js +0 -159
  65. package/esm2015/input-text/input-text.component.js +0 -118
  66. package/esm2015/inputs.module.js +0 -155
  67. package/esm2015/select-box/select-box.component.js +0 -367
  68. package/esm2015/select-enum/select-enum.component.js +0 -95
  69. package/esm2015/select-interpolation/select-interpolation.component.js +0 -248
  70. package/fesm2015/apipass-inputs.js +0 -2434
  71. package/fesm2015/apipass-inputs.js.map +0 -1
@@ -1,16 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@angular/common"),require("@angular/material/form-field"),require("@angular/material/select"),require("@angular/material/core"),require("@apipass/pipes"),require("@angular/material/input"),require("@angular/material/icon"),require("@angular/material/tooltip"),require("lodash"),require("@angular-material-extensions/password-strength"),require("@apipass/icons"),require("rxjs"),require("rxjs/operators"),require("@ng-select/ng-select"),require("mat-select-filter"),require("@angular/cdk/overlay"),require("ngx-drag-drop"),require("@angular/router"),require("brace"),require("brace/theme/monokai"),require("@apipass/buttons")):"function"==typeof define&&define.amd?define("@apipass/inputs",["exports","@angular/core","@angular/forms","@angular/common","@angular/material/form-field","@angular/material/select","@angular/material/core","@apipass/pipes","@angular/material/input","@angular/material/icon","@angular/material/tooltip","lodash","@angular-material-extensions/password-strength","@apipass/icons","rxjs","rxjs/operators","@ng-select/ng-select","mat-select-filter","@angular/cdk/overlay","ngx-drag-drop","@angular/router","brace","brace/theme/monokai","@apipass/buttons"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).apipass=e.apipass||{},e.apipass.inputs={}),e.ng.core,e.ng.forms,e.ng.common,e.ng.material.formField,e.ng.material.select,e.ng.material.core,e.i6,e.ng.material.input,e.ng.material.icon,e.ng.material.tooltip,e.lodash,e.i5$1,e.i3$2,e.rxjs,e.rxjs.operators,e.i1$2,e.matSelectFilter,e.ng.cdk.overlay,e.i6$1,e.ng.router,null,null,e.i1$4)}(this,(function(e,t,n,o,a,i,l,r,s,c,p,f,d,u,m,g,h,b,x,y,w,v,C,S){"use strict";
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
- ***************************************************************************** */var P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function T(e,t){function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;function I(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),l=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)l.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return l}function M(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(I(arguments[t]));return e}Object.create;var _=function(){function e(){this.onChange=function(){},this.onTouched=function(){}}return Object.defineProperty(e.prototype,"value",{get:function(){return this.innerValue},set:function(e){e=this.changeValue(e),this.innerValue=e,this.onChange(e),this.onTouched()},enumerable:!1,configurable:!0}),e.prototype.changeValue=function(e){return e},e.prototype.writeValue=function(e){this.innerValue=e},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.touch=function(){this.onTouched.forEach((function(e){return e()}))},e}();function O(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"mat-option",4),t.ɵɵlistener("keydown",(function(e){return t.ɵɵrestoreView(o),t.ɵɵnextContext().onKeyDown(e)})),t.ɵɵelementStart(1,"input",5),t.ɵɵlistener("ngModelChange",(function(e){return t.ɵɵrestoreView(o),t.ɵɵnextContext().search=e})),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("ngModel",a.search)}}function E(e,n){if(1&e&&(t.ɵɵelementStart(0,"mat-option",6),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=n.$implicit;t.ɵɵproperty("value",o.key),t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.value)}}var k=function(e){function t(){var t=e.apply(this,M(arguments))||this;return t.placeholder="Selecione",t.enabledSearch=!0,t.disabled=!1,t.search="",t}return T(t,e),t.prototype.onKeyDown=function(e){32===e.which&&(e.target.value+=" "),e.stopPropagation()},t}(_);k.ɵfac=function(e){return R(e||k)},k.ɵcmp=t.ɵɵdefineComponent({type:k,selectors:[["select-enum"]],inputs:{placeholder:"placeholder",enabledSearch:"enabledSearch",data:"data",disabled:"disabled"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return k})),multi:!0}]),t.ɵɵInheritDefinitionFeature],decls:6,vars:10,consts:[["appearance","fill",1,"apipass-select","apipass-select-enum"],[3,"ngModel","disabled","placeholder","ngModelChange","click"],["class","mat-select-input","disabled","disabled",3,"keydown",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["disabled","disabled",1,"mat-select-input",3,"keydown"],["type","text","autocomplete","off",1,"form-control",3,"ngModel","ngModelChange"],[3,"value"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"mat-form-field",0),t.ɵɵelementStart(1,"mat-select",1),t.ɵɵlistener("ngModelChange",(function(e){return n.value=e}))("click",(function(){return n.search=""})),t.ɵɵtemplate(2,O,2,1,"mat-option",2),t.ɵɵtemplate(3,E,2,2,"mat-option",3),t.ɵɵpipe(4,"selectEnumFilter"),t.ɵɵpipe(5,"enum"),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e&&(t.ɵɵadvance(1),t.ɵɵproperty("ngModel",n.value)("disabled",n.disabled)("placeholder",n.placeholder),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.enabledSearch),t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",t.ɵɵpipeBind2(4,5,t.ɵɵpipeBind1(5,8,n.data),n.search)))},directives:[a.MatFormField,i.MatSelect,n.NgControlStatus,n.NgModel,o.NgIf,o.NgForOf,l.MatOption,n.DefaultValueAccessor],pipes:[r.SelectEnumFilterPipe,r.EnumPipe],styles:[':root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ysmIEDQ.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0w8mIEDQ.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ycmIEDQ.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0x8mI.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIhUdwzM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydKxUdwzM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIRUdwzM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydLxUd.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0-ExdGM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0aExdGM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0yExdGM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0KExQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.text-primary{color:var(--color-primary)!important}.text-secondary{color:var(--color-secondary)!important}.text-tertiary{color:var(--color-fonts-tertiary)!important}.text-weight-bold{font-weight:700!important}.text-weight-normal{font-weight:400!important}.mat-form-field-underline,.mat-input-underline{display:none}.mat-form-field-appearance-fill .mat-form-field-flex{align-items:center!important;background:var(--color-inputs-background)!important;border:1px solid var(--color-inputs-border)!important;border-radius:6px!important;display:flex!important}.mat-form-field-infix{align-items:center!important;border-top:none!important;padding:0!important}.mat-form-field-infix,.mat-select-arrow-wrapper{display:flex!important}.mat-icon-button{width:auto!important}.no-border .mat-form-field-flex{border:none!important}.no-border .mat-form-field-flex input{padding:1px}.mat-form-field-label-wrapper{top:-10px}.mat-form-field-should-float .mat-form-field-label-wrapper{font-size:14px}.placeholder-primary .mat-focused .mat-form-field-placeholder,.placeholder-primary .mat-form-field-label-wrapper,.placeholder-primary .mat-form-field-label-wrapper label,.placeholder-primary .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-form-field-placeholder{color:var(--color-primary)!important}.placeholder-primary input ::placeholder{color:var(--color-primary)!important}.placeholder-bold .mat-focused .mat-form-field-placeholder,.placeholder-bold .mat-form-field-label-wrapper,.placeholder-bold .mat-form-field-label-wrapper label,.placeholder-bold .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-form-field-placeholder{font-weight:700!important}.placeholder-bold input ::placeholder{font-weight:700!important}.apipass-input-text{width:100%}.apipass-input-text .mat-form-field-flex{padding:10px!important}.apipass-date-filter .mat-form-field-wrapper,.apipass-input-text .mat-form-field-wrapper,.apipass-search-input-text .mat-form-field-wrapper,.apipass-select .mat-form-field-wrapper,.custom-select-component .mat-form-field-wrapper{padding:0!important}.apipass-date-filter .mat-icon-button,.apipass-input-text .mat-icon-button,.apipass-search-input-text .mat-icon-button,.apipass-select .mat-icon-button,.custom-select-component .mat-icon-button{height:auto!important;width:auto!important}.apipass-date-filter.label-input .mat-form-field-label-wrapper,.apipass-input-text.label-input .mat-form-field-label-wrapper,.apipass-search-input-text.label-input .mat-form-field-label-wrapper,.apipass-select.label-input .mat-form-field-label-wrapper,.custom-select-component.label-input .mat-form-field-label-wrapper{padding-top:0;top:auto!important}.apipass-date-filter.label-input input,.apipass-input-text.label-input input,.apipass-search-input-text.label-input input,.apipass-select.label-input input,.custom-select-component.label-input input{padding-bottom:5px!important;padding-top:10px!important}.apipass-date-filter.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-search-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-select.mat-form-field-should-float .mat-form-field-label-wrapper,.custom-select-component.mat-form-field-should-float .mat-form-field-label-wrapper{margin-top:-10px!important;padding-top:0!important}.apipass-search-input-text{width:100%}.apipass-search-input-text.small-text{font-size:12px}.apipass-search-input-text .mat-form-field-flex{border-left:none!important;border-radius:0!important;border-right:none!important;border-top:none!important;padding:2px 5px 2px 2px!important}.apipass-search-input-text .search-icon{margin-top:-5px!important}.custom-select-component{width:100%}.custom-select-component .mat-form-field-flex{padding:1px 10px!important}.apipass-select{width:100%}.apipass-select .mat-form-field-flex{padding:10px 5px 10px 10px!important}.apipass-select.label-input .mat-form-field-infix{padding-bottom:7px!important;padding-top:7px!important}.apipass-date-filter{width:100%}.apipass-date-filter .mat-form-field-flex{padding:7px 10px!important}.apipass-date-filter .mat-form-field-suffix span{color:#777;cursor:pointer}.apipass-date-filter .mat-form-field-wrapper{padding-bottom:0!important}'],encapsulation:2});var R=t.ɵɵgetInheritedFactory(k);function U(e,n){if(1&e&&(t.ɵɵelementStart(0,"mat-label"),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.label)}}function D(e,n){if(1&e&&(t.ɵɵelementStart(0,"mat-hint",10),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){t.ɵɵnextContext();var o=t.ɵɵreference(3),a=t.ɵɵreference(8);t.ɵɵadvance(1),t.ɵɵtextInterpolate2(" ",o.value.length," / ",a.max," ")}}function B(e,n){if(1&e&&t.ɵɵelement(0,"mat-password-strength-info",11),2&e){var o=t.ɵɵnextContext(),a=t.ɵɵreference(8);t.ɵɵproperty("lowerCaseCriteriaMsg",o.lowerCaseCriteriaMsg)("upperCaseCriteriaMsg",o.upperCaseCriteriaMsg)("digitsCriteriaMsg",o.digitsCriteriaMsg)("specialCharsCriteriaMsg",o.specialCharsCriteriaMsg)("minCharsCriteriaMsg",o.minCharsCriteriaMsg)("passwordComponent",a)}}var z=function(e){return{"label-input":e}},F=function(e){function n(){var n=e.call(this)||this;return n.label="",n.disabled=!1,n.showPasswordRuleDetails=!1,n.showPasswordLengthDetails=!1,n.enableLengthRule=!1,n.enableLowerCaseLetterRule=!1,n.enableUpperCaseLetterRule=!1,n.enableDigitRule=!1,n.enableSpecialCharRule=!1,n.minLength=0,n.maxLength=200,n.strengthToValid=100,n.lowerCaseCriteriaMsg="Your password must have a lowercase letter",n.upperCaseCriteriaMsg="Your password must have an uppercase letter",n.digitsCriteriaMsg="Your password must have a number",n.specialCharsCriteriaMsg="Your password must have a special character",n.minCharsCriteriaMsg="Your password must be at least "+n.minLength+" characters",n.onValidPassword=new t.EventEmitter,n}return T(n,e),n.prototype.onKeyDown=function(e){32===e.which&&(e.target.value+=" "),e.stopPropagation()},n.prototype.onStrengthChanged=function(e){this.onValidPassword.emit(e>=this.getStrength())},n.prototype.getStrength=function(){return f.inRange(this.strengthToValid,0,100)?this.strengthToValid:100},n}(_);function j(e,n){if(1&e&&(t.ɵɵelementStart(0,"mat-label"),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.label)}}function L(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"mat-icon",5),t.ɵɵlistener("click",(function(){return t.ɵɵrestoreView(o),t.ɵɵnextContext().prefixClick()})),t.ɵɵtext(1),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate(a.iconPrefix)}}function V(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"mat-icon",6),t.ɵɵlistener("click",(function(){return t.ɵɵrestoreView(o),t.ɵɵnextContext().suffixClick()})),t.ɵɵtext(1),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate(a.iconSuffix)}}F.ɵfac=function(e){return new(e||F)},F.ɵcmp=t.ɵɵdefineComponent({type:F,selectors:[["input-password"]],inputs:{label:"label",disabled:"disabled",showPasswordRuleDetails:"showPasswordRuleDetails",showPasswordLengthDetails:"showPasswordLengthDetails",enableLengthRule:"enableLengthRule",enableLowerCaseLetterRule:"enableLowerCaseLetterRule",enableUpperCaseLetterRule:"enableUpperCaseLetterRule",enableDigitRule:"enableDigitRule",enableSpecialCharRule:"enableSpecialCharRule",minLength:"minLength",maxLength:"maxLength",strengthToValid:"strengthToValid",lowerCaseCriteriaMsg:"lowerCaseCriteriaMsg",upperCaseCriteriaMsg:"upperCaseCriteriaMsg",digitsCriteriaMsg:"digitsCriteriaMsg",specialCharsCriteriaMsg:"specialCharsCriteriaMsg",minCharsCriteriaMsg:"minCharsCriteriaMsg"},outputs:{onValidPassword:"onValidPassword"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return F})),multi:!0}]),t.ɵɵInheritDefinitionFeature],decls:10,vars:20,consts:[["appearance","fill",1,"apipass-input-password","apipass-input-text",3,"color","ngClass"],[4,"ngIf"],["matInput","","required","",1,"apipass-input",3,"type","disabled","maxLength","minlength","ngModel","ngModelChange"],["password",""],["matSuffix",""],["toggle",""],["align","end","aria-live","polite",4,"ngIf"],[1,"green",3,"enableLengthRule","min","max","enableLowerCaseLetterRule","enableUpperCaseLetterRule","enableDigitRule","enableSpecialCharRule","password","onStrengthChanged"],["passwordComponent",""],[3,"lowerCaseCriteriaMsg","upperCaseCriteriaMsg","digitsCriteriaMsg","specialCharsCriteriaMsg","minCharsCriteriaMsg","passwordComponent",4,"ngIf"],["align","end","aria-live","polite"],[3,"lowerCaseCriteriaMsg","upperCaseCriteriaMsg","digitsCriteriaMsg","specialCharsCriteriaMsg","minCharsCriteriaMsg","passwordComponent"]],template:function(e,n){if(1&e&&(t.ɵɵelementStart(0,"mat-form-field",0),t.ɵɵtemplate(1,U,2,1,"mat-label",1),t.ɵɵelementStart(2,"input",2,3),t.ɵɵlistener("ngModelChange",(function(e){return n.value=e})),t.ɵɵelementEnd(),t.ɵɵelement(4,"mat-pass-toggle-visibility",4,5),t.ɵɵtemplate(6,D,2,2,"mat-hint",6),t.ɵɵelementEnd(),t.ɵɵelementStart(7,"mat-password-strength",7,8),t.ɵɵlistener("onStrengthChanged",(function(e){return n.onStrengthChanged(e)})),t.ɵɵelementEnd(),t.ɵɵtemplate(9,B,1,6,"mat-password-strength-info",9)),2&e){var o=t.ɵɵreference(3),a=t.ɵɵreference(5),i=t.ɵɵreference(8);t.ɵɵproperty("color",i.color)("ngClass",t.ɵɵpureFunction1(18,z,n.label)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.label),t.ɵɵadvance(1),t.ɵɵproperty("type",a.type)("disabled",n.disabled)("maxLength",n.maxLength)("minlength",n.minLength)("ngModel",n.value),t.ɵɵadvance(4),t.ɵɵproperty("ngIf",n.showPasswordLengthDetails),t.ɵɵadvance(1),t.ɵɵproperty("enableLengthRule",n.enableLengthRule)("min",n.minLength)("max",n.maxLength)("enableLowerCaseLetterRule",n.enableLowerCaseLetterRule)("enableUpperCaseLetterRule",n.enableUpperCaseLetterRule)("enableDigitRule",n.enableDigitRule)("enableSpecialCharRule",n.enableSpecialCharRule)("password",o.value),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.showPasswordRuleDetails)}},directives:[a.MatFormField,o.NgClass,o.NgIf,s.MatInput,n.DefaultValueAccessor,n.RequiredValidator,n.MinLengthValidator,n.NgControlStatus,n.NgModel,d.MatPassToggleVisibilityComponent,a.MatSuffix,d.MatPasswordStrengthComponent,a.MatLabel,a.MatHint,d.MatPasswordStrengthInfoComponent],styles:[':root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ysmIEDQ.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0w8mIEDQ.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ycmIEDQ.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0x8mI.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIhUdwzM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydKxUdwzM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIRUdwzM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydLxUd.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0-ExdGM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0aExdGM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0yExdGM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0KExQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.text-primary{color:var(--color-primary)!important}.text-secondary{color:var(--color-secondary)!important}.text-tertiary{color:var(--color-fonts-tertiary)!important}.text-weight-bold{font-weight:700!important}.text-weight-normal{font-weight:400!important}.mat-form-field-underline,.mat-input-underline{display:none}.mat-form-field-appearance-fill .mat-form-field-flex{align-items:center!important;background:var(--color-inputs-background)!important;border:1px solid var(--color-inputs-border)!important;border-radius:6px!important;display:flex!important}.mat-form-field-infix{align-items:center!important;border-top:none!important;padding:0!important}.mat-form-field-infix,.mat-select-arrow-wrapper{display:flex!important}.mat-icon-button{width:auto!important}.no-border .mat-form-field-flex{border:none!important}.no-border .mat-form-field-flex input{padding:1px}.mat-form-field-label-wrapper{top:-10px}.mat-form-field-should-float .mat-form-field-label-wrapper{font-size:14px}.placeholder-primary .mat-focused .mat-form-field-placeholder,.placeholder-primary .mat-form-field-label-wrapper,.placeholder-primary .mat-form-field-label-wrapper label,.placeholder-primary .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-form-field-placeholder{color:var(--color-primary)!important}.placeholder-primary input ::placeholder{color:var(--color-primary)!important}.placeholder-bold .mat-focused .mat-form-field-placeholder,.placeholder-bold .mat-form-field-label-wrapper,.placeholder-bold .mat-form-field-label-wrapper label,.placeholder-bold .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-form-field-placeholder{font-weight:700!important}.placeholder-bold input ::placeholder{font-weight:700!important}.apipass-input-text{width:100%}.apipass-input-text .mat-form-field-flex{padding:10px!important}.apipass-date-filter .mat-form-field-wrapper,.apipass-input-text .mat-form-field-wrapper,.apipass-search-input-text .mat-form-field-wrapper,.apipass-select .mat-form-field-wrapper,.custom-select-component .mat-form-field-wrapper{padding:0!important}.apipass-date-filter .mat-icon-button,.apipass-input-text .mat-icon-button,.apipass-search-input-text .mat-icon-button,.apipass-select .mat-icon-button,.custom-select-component .mat-icon-button{height:auto!important;width:auto!important}.apipass-date-filter.label-input .mat-form-field-label-wrapper,.apipass-input-text.label-input .mat-form-field-label-wrapper,.apipass-search-input-text.label-input .mat-form-field-label-wrapper,.apipass-select.label-input .mat-form-field-label-wrapper,.custom-select-component.label-input .mat-form-field-label-wrapper{padding-top:0;top:auto!important}.apipass-date-filter.label-input input,.apipass-input-text.label-input input,.apipass-search-input-text.label-input input,.apipass-select.label-input input,.custom-select-component.label-input input{padding-bottom:5px!important;padding-top:10px!important}.apipass-date-filter.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-search-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-select.mat-form-field-should-float .mat-form-field-label-wrapper,.custom-select-component.mat-form-field-should-float .mat-form-field-label-wrapper{margin-top:-10px!important;padding-top:0!important}.apipass-search-input-text{width:100%}.apipass-search-input-text.small-text{font-size:12px}.apipass-search-input-text .mat-form-field-flex{border-left:none!important;border-radius:0!important;border-right:none!important;border-top:none!important;padding:2px 5px 2px 2px!important}.apipass-search-input-text .search-icon{margin-top:-5px!important}.custom-select-component{width:100%}.custom-select-component .mat-form-field-flex{padding:1px 10px!important}.apipass-select{width:100%}.apipass-select .mat-form-field-flex{padding:10px 5px 10px 10px!important}.apipass-select.label-input .mat-form-field-infix{padding-bottom:7px!important;padding-top:7px!important}.apipass-date-filter{width:100%}.apipass-date-filter .mat-form-field-flex{padding:7px 10px!important}.apipass-date-filter .mat-form-field-suffix span{color:#777;cursor:pointer}.apipass-date-filter .mat-form-field-wrapper{padding-bottom:0!important}.apipass-input-password mat-pass-toggle-visibility{color:var(--color-primary);cursor:pointer}'],encapsulation:2,changeDetection:0});var N=function(e){function n(){var n=e.apply(this,M(arguments))||this;return n.label="",n.disabled=!1,n.iconSuffix="",n.iconPrefix="",n.autoComplete="on",n.suffixIconClick=new t.EventEmitter,n.prefixIconClick=new t.EventEmitter,n}return T(n,e),n.prototype.onKeyDown=function(e){32===e.which&&(e.target.value+=" "),e.stopPropagation()},n.prototype.prefixClick=function(){this.prefixIconClick.emit(!0)},n.prototype.suffixClick=function(){this.suffixIconClick.emit(!0)},n}(_);N.ɵfac=function(e){return A(e||N)},N.ɵcmp=t.ɵɵdefineComponent({type:N,selectors:[["input-text"]],inputs:{label:"label",disabled:"disabled",iconSuffix:"iconSuffix",iconPrefix:"iconPrefix",autoComplete:"autoComplete"},outputs:{suffixIconClick:"suffixIconClick",prefixIconClick:"prefixIconClick"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return N})),multi:!0}]),t.ɵɵInheritDefinitionFeature],decls:5,vars:6,consts:[["appearance","fill",1,"apipass-input-text","label-input"],[4,"ngIf"],["class","mat-icon-prefix","matPrefix","",3,"click",4,"ngIf"],["matInput","","type","text",1,"input-text",3,"ngModel","disabled","autocomplete","ngModelChange"],["class","mat-icon-suffix","matSuffix","",3,"click",4,"ngIf"],["matPrefix","",1,"mat-icon-prefix",3,"click"],["matSuffix","",1,"mat-icon-suffix",3,"click"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"mat-form-field",0),t.ɵɵtemplate(1,j,2,1,"mat-label",1),t.ɵɵtemplate(2,L,2,1,"mat-icon",2),t.ɵɵelementStart(3,"input",3),t.ɵɵlistener("ngModelChange",(function(e){return n.value=e})),t.ɵɵelementEnd(),t.ɵɵtemplate(4,V,2,1,"mat-icon",4),t.ɵɵelementEnd()),2&e&&(t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.label),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.iconPrefix),t.ɵɵadvance(1),t.ɵɵproperty("ngModel",n.value)("disabled",n.disabled)("autocomplete",n.autoComplete),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.iconSuffix))},directives:[a.MatFormField,o.NgIf,s.MatInput,n.DefaultValueAccessor,n.NgControlStatus,n.NgModel,a.MatLabel,c.MatIcon,a.MatPrefix,a.MatSuffix],styles:[':root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ysmIEDQ.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0w8mIEDQ.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ycmIEDQ.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0x8mI.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIhUdwzM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydKxUdwzM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIRUdwzM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydLxUd.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0-ExdGM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0aExdGM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0yExdGM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0KExQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.text-primary{color:var(--color-primary)!important}.text-secondary{color:var(--color-secondary)!important}.text-tertiary{color:var(--color-fonts-tertiary)!important}.text-weight-bold{font-weight:700!important}.text-weight-normal{font-weight:400!important}.mat-form-field-underline,.mat-input-underline{display:none}.mat-form-field-appearance-fill .mat-form-field-flex{align-items:center!important;background:var(--color-inputs-background)!important;border:1px solid var(--color-inputs-border)!important;border-radius:6px!important;display:flex!important}.mat-form-field-infix{align-items:center!important;border-top:none!important;padding:0!important}.mat-form-field-infix,.mat-select-arrow-wrapper{display:flex!important}.mat-icon-button{width:auto!important}.no-border .mat-form-field-flex{border:none!important}.no-border .mat-form-field-flex input{padding:1px}.mat-form-field-label-wrapper{top:-10px}.mat-form-field-should-float .mat-form-field-label-wrapper{font-size:14px}.placeholder-primary .mat-focused .mat-form-field-placeholder,.placeholder-primary .mat-form-field-label-wrapper,.placeholder-primary .mat-form-field-label-wrapper label,.placeholder-primary .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-form-field-placeholder{color:var(--color-primary)!important}.placeholder-primary input ::placeholder{color:var(--color-primary)!important}.placeholder-bold .mat-focused .mat-form-field-placeholder,.placeholder-bold .mat-form-field-label-wrapper,.placeholder-bold .mat-form-field-label-wrapper label,.placeholder-bold .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-form-field-placeholder{font-weight:700!important}.placeholder-bold input ::placeholder{font-weight:700!important}.apipass-input-text{width:100%}.apipass-input-text .mat-form-field-flex{padding:10px!important}.apipass-date-filter .mat-form-field-wrapper,.apipass-input-text .mat-form-field-wrapper,.apipass-search-input-text .mat-form-field-wrapper,.apipass-select .mat-form-field-wrapper,.custom-select-component .mat-form-field-wrapper{padding:0!important}.apipass-date-filter .mat-icon-button,.apipass-input-text .mat-icon-button,.apipass-search-input-text .mat-icon-button,.apipass-select .mat-icon-button,.custom-select-component .mat-icon-button{height:auto!important;width:auto!important}.apipass-date-filter.label-input .mat-form-field-label-wrapper,.apipass-input-text.label-input .mat-form-field-label-wrapper,.apipass-search-input-text.label-input .mat-form-field-label-wrapper,.apipass-select.label-input .mat-form-field-label-wrapper,.custom-select-component.label-input .mat-form-field-label-wrapper{padding-top:0;top:auto!important}.apipass-date-filter.label-input input,.apipass-input-text.label-input input,.apipass-search-input-text.label-input input,.apipass-select.label-input input,.custom-select-component.label-input input{padding-bottom:5px!important;padding-top:10px!important}.apipass-date-filter.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-search-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-select.mat-form-field-should-float .mat-form-field-label-wrapper,.custom-select-component.mat-form-field-should-float .mat-form-field-label-wrapper{margin-top:-10px!important;padding-top:0!important}.apipass-search-input-text{width:100%}.apipass-search-input-text.small-text{font-size:12px}.apipass-search-input-text .mat-form-field-flex{border-left:none!important;border-radius:0!important;border-right:none!important;border-top:none!important;padding:2px 5px 2px 2px!important}.apipass-search-input-text .search-icon{margin-top:-5px!important}.custom-select-component{width:100%}.custom-select-component .mat-form-field-flex{padding:1px 10px!important}.apipass-select{width:100%}.apipass-select .mat-form-field-flex{padding:10px 5px 10px 10px!important}.apipass-select.label-input .mat-form-field-infix{padding-bottom:7px!important;padding-top:7px!important}.apipass-date-filter{width:100%}.apipass-date-filter .mat-form-field-flex{padding:7px 10px!important}.apipass-date-filter .mat-form-field-suffix span{color:#777;cursor:pointer}.apipass-date-filter .mat-form-field-wrapper{padding-bottom:0!important}.apipass-input-text .mat-icon-suffix{margin-right:0}'],encapsulation:2});var A=t.ɵɵgetInheritedFactory(N),Q=function(e,t,n){return{width:e,height:t,"border-radius":n}};function q(e,n){if(1&e&&t.ɵɵelement(0,"div",6),2&e){var o=t.ɵɵnextContext();t.ɵɵproperty("ngStyle",t.ɵɵpureFunction3(1,Q,o.width,o.height,o.imageBorderRadius))}}var K=function(e){return{"font-size":e}};function Y(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"icon",9),t.ɵɵlistener("click",(function(){t.ɵɵrestoreView(o),t.ɵɵnextContext(2);var e=t.ɵɵreference(5);return e.click(),e.value=null})),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext(2);t.ɵɵproperty("ngStyle",t.ɵɵpureFunction1(4,K,a.iconFontSize))("title",a.uploadTitle)("type","primary")("name","fas fa-upload")}}function G(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"icon",9),t.ɵɵlistener("click",(function(){t.ɵɵrestoreView(o),t.ɵɵnextContext(2);var e=t.ɵɵreference(5);return e.click(),e.value=""})),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext(2);t.ɵɵproperty("ngStyle",t.ɵɵpureFunction1(4,K,a.iconFontSize))("title",a.modifyTitle)("type","primary")("name","fas fa-pencil-alt")}}function H(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"icon",9),t.ɵɵlistener("click",(function(){t.ɵɵrestoreView(o);var e=t.ɵɵnextContext(2),n=t.ɵɵreference(5);return e.removeClick(),n.value=""})),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext(2);t.ɵɵproperty("ngStyle",t.ɵɵpureFunction1(4,K,a.iconFontSize))("title",a.removeTitle)("type","remove")("name","fas fa-trash-alt")}}function Z(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",7),t.ɵɵtemplate(1,Y,1,6,"icon",8),t.ɵɵtemplate(2,G,1,6,"icon",8),t.ɵɵtemplate(3,H,1,6,"icon",8),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext();t.ɵɵproperty("ngStyle",t.ɵɵpureFunction3(4,Q,o.width,o.height,o.imageBorderRadius)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!o.hasImage()&&o.canUpload),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.hasImage()&&o.canModify),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.hasImage()&&o.canRemove)}}var $=function(e,t){return{width:e,height:t}},W=function(e,t){return{width:e,height:"auto","max-height":"100%","border-radius":t}},J=function(){function e(){this.avatarFormData=new FormData,this.avatarUrl="assets/images/no-image.png",this.imageAlt="Avatar",this.imageTitle="",this.canRemove=!1,this.removeTitle="",this.canUpload=!1,this.uploadTitle="",this.canModify=!1,this.modifyTitle="",this.imageBorderRadius="50%",this.width="65px",this.height="65px",this.iconFontSize="16px",this.onFileChanged=new t.EventEmitter}return e.prototype.hasImage=function(){return"assets/images/no-image.png"!==this.avatarUrl},e.prototype.canAction=function(){return this.canRemove||this.canModify||this.canUpload},e.prototype.fileChange=function(e){var t=this,n=e.target.files;if(n.length>0){var o=n[0];if(this.avatarFormData=new FormData,this.avatarFormData.append("file",o,o.name),!o.type.match(/image\/*/))return;var a=new FileReader;a.readAsDataURL(n[0]),a.onload=function(){t.avatarUrl=a.result,t.emitChangeEvent()}}},e.prototype.removeClick=function(){this.avatarFormData=new FormData,this.avatarUrl="assets/images/no-image.png",this.emitChangeEvent()},e.prototype.emitChangeEvent=function(){this.onFileChanged.emit({avatarUrl:this.avatarUrl,avatarFormData:this.avatarFormData})},e}();function X(e,n){if(1&e&&(t.ɵɵelementStart(0,"label",3),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.label)}}function ee(e,n){1&e&&(t.ɵɵelementStart(0,"span"),t.ɵɵtext(1,"Este campo é obrigatório"),t.ɵɵelementEnd())}function te(e,n){1&e&&(t.ɵɵelementStart(0,"span"),t.ɵɵtext(1,"E-mail inválido"),t.ɵɵelementEnd())}function ne(e,n){1&e&&(t.ɵɵelementStart(0,"span"),t.ɵɵtext(1,"Tamanho mínimo inválido"),t.ɵɵelementEnd())}function oe(e,n){if(1&e&&(t.ɵɵelementStart(0,"span",4),t.ɵɵtemplate(1,ee,2,0,"span",5),t.ɵɵtemplate(2,te,2,0,"span",5),t.ɵɵtemplate(3,ne,2,0,"span",5),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.state.hasError("required")),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!o.state.hasError("required")&&o.state.hasError("validateEmail")),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!o.state.hasError("required")&&o.state.hasError("minlength"))}}J.ɵfac=function(e){return new(e||J)},J.ɵcmp=t.ɵɵdefineComponent({type:J,selectors:[["input-avatar"]],inputs:{avatarFormData:"avatarFormData",avatarUrl:"avatarUrl",imageAlt:"imageAlt",imageTitle:"imageTitle",canRemove:"canRemove",removeTitle:"removeTitle",canUpload:"canUpload",uploadTitle:"uploadTitle",canModify:"canModify",modifyTitle:"modifyTitle",imageBorderRadius:"imageBorderRadius",width:"width",height:"height",iconFontSize:"iconFontSize"},outputs:{onFileChanged:"onFileChanged"},decls:6,vars:13,consts:[[1,"input-avatar",3,"ngStyle"],["loading","lazy",3,"src","alt","matTooltip","ngStyle"],["class","image-backdrop",3,"ngStyle",4,"ngIf"],["class","image-actions",3,"ngStyle",4,"ngIf"],["id","action-icon","type","file",2,"display","none",3,"change"],["actionFile",""],[1,"image-backdrop",3,"ngStyle"],[1,"image-actions",3,"ngStyle"],[3,"ngStyle","title","type","name","click",4,"ngIf"],[3,"ngStyle","title","type","name","click"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"div",0),t.ɵɵelement(1,"img",1),t.ɵɵtemplate(2,q,1,5,"div",2),t.ɵɵtemplate(3,Z,4,8,"div",3),t.ɵɵelementStart(4,"input",4,5),t.ɵɵlistener("change",(function(e){return n.fileChange(e)})),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e&&(t.ɵɵproperty("ngStyle",t.ɵɵpureFunction2(7,$,n.width,n.height)),t.ɵɵadvance(1),t.ɵɵproperty("src",n.avatarUrl,t.ɵɵsanitizeUrl)("alt",n.imageAlt)("matTooltip",n.imageTitle)("ngStyle",t.ɵɵpureFunction2(10,W,n.width,n.imageBorderRadius)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.canAction()),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.canAction()))},directives:[o.NgStyle,p.MatTooltip,o.NgIf,u.IconComponent],styles:[':root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ysmIEDQ.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0w8mIEDQ.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ycmIEDQ.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0x8mI.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIhUdwzM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydKxUdwzM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIRUdwzM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydLxUd.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0-ExdGM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0aExdGM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0yExdGM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0KExQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.text-primary{color:var(--color-primary)!important}.text-secondary{color:var(--color-secondary)!important}.text-tertiary{color:var(--color-fonts-tertiary)!important}.text-weight-bold{font-weight:700!important}.text-weight-normal{font-weight:400!important}.mat-form-field-underline,.mat-input-underline{display:none}.mat-form-field-appearance-fill .mat-form-field-flex{align-items:center!important;background:var(--color-inputs-background)!important;border:1px solid var(--color-inputs-border)!important;border-radius:6px!important;display:flex!important}.mat-form-field-infix{align-items:center!important;border-top:none!important;padding:0!important}.mat-form-field-infix,.mat-select-arrow-wrapper{display:flex!important}.mat-icon-button{width:auto!important}.no-border .mat-form-field-flex{border:none!important}.no-border .mat-form-field-flex input{padding:1px}.mat-form-field-label-wrapper{top:-10px}.mat-form-field-should-float .mat-form-field-label-wrapper{font-size:14px}.placeholder-primary .mat-focused .mat-form-field-placeholder,.placeholder-primary .mat-form-field-label-wrapper,.placeholder-primary .mat-form-field-label-wrapper label,.placeholder-primary .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-form-field-placeholder{color:var(--color-primary)!important}.placeholder-primary input ::placeholder{color:var(--color-primary)!important}.placeholder-bold .mat-focused .mat-form-field-placeholder,.placeholder-bold .mat-form-field-label-wrapper,.placeholder-bold .mat-form-field-label-wrapper label,.placeholder-bold .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-form-field-placeholder{font-weight:700!important}.placeholder-bold input ::placeholder{font-weight:700!important}.apipass-input-text{width:100%}.apipass-input-text .mat-form-field-flex{padding:10px!important}.apipass-date-filter .mat-form-field-wrapper,.apipass-input-text .mat-form-field-wrapper,.apipass-search-input-text .mat-form-field-wrapper,.apipass-select .mat-form-field-wrapper,.custom-select-component .mat-form-field-wrapper{padding:0!important}.apipass-date-filter .mat-icon-button,.apipass-input-text .mat-icon-button,.apipass-search-input-text .mat-icon-button,.apipass-select .mat-icon-button,.custom-select-component .mat-icon-button{height:auto!important;width:auto!important}.apipass-date-filter.label-input .mat-form-field-label-wrapper,.apipass-input-text.label-input .mat-form-field-label-wrapper,.apipass-search-input-text.label-input .mat-form-field-label-wrapper,.apipass-select.label-input .mat-form-field-label-wrapper,.custom-select-component.label-input .mat-form-field-label-wrapper{padding-top:0;top:auto!important}.apipass-date-filter.label-input input,.apipass-input-text.label-input input,.apipass-search-input-text.label-input input,.apipass-select.label-input input,.custom-select-component.label-input input{padding-bottom:5px!important;padding-top:10px!important}.apipass-date-filter.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-search-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-select.mat-form-field-should-float .mat-form-field-label-wrapper,.custom-select-component.mat-form-field-should-float .mat-form-field-label-wrapper{margin-top:-10px!important;padding-top:0!important}.apipass-search-input-text{width:100%}.apipass-search-input-text.small-text{font-size:12px}.apipass-search-input-text .mat-form-field-flex{border-left:none!important;border-radius:0!important;border-right:none!important;border-top:none!important;padding:2px 5px 2px 2px!important}.apipass-search-input-text .search-icon{margin-top:-5px!important}.custom-select-component{width:100%}.custom-select-component .mat-form-field-flex{padding:1px 10px!important}.apipass-select{width:100%}.apipass-select .mat-form-field-flex{padding:10px 5px 10px 10px!important}.apipass-select.label-input .mat-form-field-infix{padding-bottom:7px!important;padding-top:7px!important}.apipass-date-filter{width:100%}.apipass-date-filter .mat-form-field-flex{padding:7px 10px!important}.apipass-date-filter .mat-form-field-suffix span{color:#777;cursor:pointer}.apipass-date-filter .mat-form-field-wrapper{padding-bottom:0!important}.input-avatar{align-items:center;display:flex}.input-avatar .image-backdrop{background:#fff;display:none;opacity:.6;position:absolute}.input-avatar .image-actions{align-items:center;display:none;justify-content:space-evenly;position:absolute}.input-avatar .image-actions icon{cursor:pointer}.input-avatar:hover .image-actions,.input-avatar:hover .image-backdrop{display:flex}'],encapsulation:2});var ae=function(e){return{"has-error":e}},ie=function(){this.label=""};ie.ɵfac=function(e){return new(e||ie)},ie.ɵcmp=t.ɵɵdefineComponent({type:ie,selectors:[["app-field"]],inputs:{label:"label",state:"state"},ngContentSelectors:["*"],decls:4,vars:5,consts:[[3,"ngClass"],["class","label-text",4,"ngIf"],["class","help-block text-danger",4,"ngIf"],[1,"label-text"],[1,"help-block","text-danger"],[4,"ngIf"]],template:function(e,n){1&e&&(t.ɵɵprojectionDef(),t.ɵɵelementStart(0,"div",0),t.ɵɵtemplate(1,X,2,1,"label",1),t.ɵɵprojection(2),t.ɵɵtemplate(3,oe,4,3,"span",2),t.ɵɵelementEnd()),2&e&&(t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(3,ae,n.state&&!n.state.valid&&(!n.state.pristine||n.state.touched)&&n.state.errors)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.label),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.state&&!n.state.valid&&!n.state.pristine&&n.state.touched&&n.state.errors))},directives:[o.NgClass,o.NgIf],encapsulation:2});var le=["ngSelectComponent"];function re(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",7),t.ɵɵelement(1,"img",8),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext(3);t.ɵɵadvance(1),t.ɵɵproperty("src",o.selectedItem[o.bindImageUrl]||"./assets/images/no-image.png",t.ɵɵsanitizeUrl)("alt",o.selectedItem[o.bindValue])("matTooltip",o.selectedItem[o.bindValue])}}function se(e,n){if(1&e&&(t.ɵɵelementStart(0,"span",9),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext(3);t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.selectedItem[o.bindValue])}}function ce(e,n){if(1&e&&(t.ɵɵtemplate(0,re,2,3,"div",5),t.ɵɵtemplate(1,se,2,1,"span",6)),2&e){var o=t.ɵɵnextContext(2);t.ɵɵproperty("ngIf",o.selectedItem&&o.selectedItem[o.bindKey]&&o.selectedItem[o.bindValue]&&o.bindImageUrl),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.selectedItem&&o.selectedItem[o.bindKey]&&o.selectedItem[o.bindValue])}}function pe(e,n){1&e&&t.ɵɵtemplate(0,ce,2,2,"ng-template",4)}function fe(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",7),t.ɵɵelement(1,"img",8),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext(3);t.ɵɵadvance(1),t.ɵɵproperty("src",o.value[o.bindImageUrl]||"./assets/images/no-image.png",t.ɵɵsanitizeUrl)("alt",o.value[o.bindValue])("matTooltip",o.value[o.bindValue])}}function de(e,n){if(1&e&&(t.ɵɵelementStart(0,"span",9),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext(3);t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.value[o.bindValue])}}function ue(e,n){if(1&e&&(t.ɵɵtemplate(0,fe,2,3,"div",5),t.ɵɵtemplate(1,de,2,1,"span",6)),2&e){var o=t.ɵɵnextContext(2);t.ɵɵproperty("ngIf",o.value&&o.value[o.bindKey]&&o.value[o.bindValue]&&o.bindImageUrl),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.value&&o.value[o.bindKey]&&o.value[o.bindValue])}}function me(e,n){1&e&&t.ɵɵtemplate(0,ue,2,2,"ng-template",4)}function ge(e,n){if(1&e&&t.ɵɵelement(0,"icon",14),2&e){var o=t.ɵɵnextContext(3);t.ɵɵproperty("title",o.addNewItemText)("name",o.addNewItemIcon)("size",20)}}function he(e,n){if(1&e&&(t.ɵɵelementStart(0,"span",15),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext(3);t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.addNewItemText)}}function be(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",11),t.ɵɵlistener("click",(function(){return t.ɵɵrestoreView(o),t.ɵɵnextContext(2).onAddNewItem()})),t.ɵɵtemplate(1,ge,1,3,"icon",12),t.ɵɵtemplate(2,he,2,1,"span",13),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext(2);t.ɵɵadvance(1),t.ɵɵproperty("ngIf",a.addNewItemIcon),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",a.addNewItemText)}}function xe(e,n){1&e&&t.ɵɵtemplate(0,be,3,2,"ng-template",10)}function ye(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",7),t.ɵɵelement(1,"img",8),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext().item,a=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("src",o[a.bindImageUrl]||"./assets/images/no-image.png",t.ɵɵsanitizeUrl)("alt",o[a.bindValue])("matTooltip",o[a.bindValue])}}function we(e,n){if(1&e&&(t.ɵɵtemplate(0,ye,2,3,"div",5),t.ɵɵelementStart(1,"span",16),t.ɵɵtext(2),t.ɵɵelementEnd()),2&e){var o=n.item,a=t.ɵɵnextContext();t.ɵɵproperty("ngIf",a.bindImageUrl),t.ɵɵadvance(2),t.ɵɵtextInterpolate(o[a.bindValue])}}var ve=function(e,t){return{"apipass-select-image":e,"apipass-select":t}},Ce=function(e){function n(){var n=e.apply(this,M(arguments))||this;return n.placeholder="Select Item",n.searchPlaceHolder="Search",n.clearText="Clear",n.notFoundText="No Items Found",n.enabledSearch=!0,n.data=[],n.disabled=!1,n.bindImageUrl="",n.bindKey="",n.bindValue="",n.limitItens=30,n.showAddNewItem=!1,n.addNewItemText="Add New Item",n.addNewItemIcon="",n.addNewItemClickCloseSelect=!1,n.closeOnBodyScroll=!1,n.initializing=!1,n.loadingText="Loading...",n.onOpenSelectBox=new t.EventEmitter,n.onCloseSelectBox=new t.EventEmitter,n.onSelectChange=new t.EventEmitter,n.onSelectClear=new t.EventEmitter,n.onAddNewItemClick=new t.EventEmitter,n.visibleItens=[],n.loading=!1,n.inputFilter=new m.Subject,n.lastSearchTerm="",n.onBodyScroll=function(e){var t,o;if(n.closeOnBodyScroll&&(null===(t=n.ngSelectComponent)||void 0===t?void 0:t.isOpen)){if((null===(o=e.target.className)||void 0===o?void 0:o.indexOf("ng-dropdown-panel-items"))>-1)return;n.ngSelectComponent.close()}},n}return T(n,e),n.prototype.ngOnInit=function(){this.onSearch(),this.closeOnBodyScroll&&window.addEventListener("scroll",this.onBodyScroll,!0)},n.prototype.ngOnDestroy=function(){this.closeOnBodyScroll&&window.removeEventListener("scroll",this.onBodyScroll,!0)},n.prototype.onSearch=function(){var e=this;this.inputFilter.pipe(g.debounceTime(200),g.distinctUntilChanged()).subscribe((function(t){e.loading=!0,e.lastSearchTerm=t,t&&e.data?e.visibleItens=e.data.filter((function(n){var o;return null===(o=n[e.bindValue])||void 0===o?void 0:o.toString().toLowerCase().includes(t.toLowerCase())})).slice(0,e.limitItens):e.data?e.visibleItens=e.data.slice(0,e.limitItens):e.visibleItens=[],setTimeout((function(){return e.loading=!1}),300)}))},n.prototype.onScroll=function(e){var t=this,n=e.end,o=this.lastSearchTerm?this.data.filter((function(e){var n;return null===(n=e[t.bindValue])||void 0===n?void 0:n.toString().toLowerCase().includes(t.lastSearchTerm.toLowerCase())})):this.data;this.loading||o.length<=this.visibleItens.length||n+5>=this.visibleItens.length&&this.fetchMore()},n.prototype.onScrollToEnd=function(){this.loading||this.fetchMore()},n.prototype.fetchMore=function(){var e=this;this.loading=!0;var t=this.visibleItens.length,n=this.lastSearchTerm?this.data.filter((function(t){var n;return null===(n=t[e.bindValue])||void 0===n?void 0:n.toString().toLowerCase().includes(e.lastSearchTerm.toLowerCase())})).slice(t,this.limitItens+t):this.data.slice(t,this.limitItens+t);this.visibleItens=this.visibleItens.concat(n),this.loading=!1},n.prototype.onKeyDown=function(e){32===e.which&&(e.target.value+=" "),e.stopPropagation()},n.prototype.onSelectionChange=function(e){this.findSelectedItem(this.value),this.onSelectChange.emit(this.selectedItem)},n.prototype.openSelectBox=function(e){this.visibleItens=[],this.data&&(this.visibleItens=this.data.slice(0,this.limitItens)),this.onOpenSelectBox.next()},n.prototype.compareFn=function(e,t){return e[this.bindKey]===t[this.bindKey]},n.prototype.onClear=function(){this.onSelectClear.next()},n.prototype.onClose=function(e){this.onCloseSelectBox.next()},n.prototype.onAddNewItem=function(){var e;this.addNewItemClickCloseSelect&&(null===(e=this.ngSelectComponent)||void 0===e||e.close()),this.onAddNewItemClick.next()},n.prototype.writeValue=function(t){e.prototype.writeValue.call(this,t),t&&this.findSelectedItem(t)},n.prototype.findSelectedItem=function(e){var t,n,o=this;this.selectProperty?this.selectedItem=null===(t=this.data)||void 0===t?void 0:t.find((function(t){return t[o.bindKey]===e})):this.selectedItem=e?null===(n=this.data)||void 0===n?void 0:n.find((function(t){return t[o.bindKey]===e[o.bindKey]})):null},n}(_);Ce.ɵfac=function(e){return Se(e||Ce)},Ce.ɵcmp=t.ɵɵdefineComponent({type:Ce,selectors:[["select-box"]],viewQuery:function(e,n){var o;(1&e&&t.ɵɵviewQuery(le,!0),2&e)&&(t.ɵɵqueryRefresh(o=t.ɵɵloadQuery())&&(n.ngSelectComponent=o.first))},inputs:{placeholder:"placeholder",searchPlaceHolder:"searchPlaceHolder",clearText:"clearText",notFoundText:"notFoundText",enabledSearch:"enabledSearch",data:"data",disabled:"disabled",selectedItem:"selectedItem",selectProperty:"selectProperty",bindImageUrl:"bindImageUrl",bindKey:"bindKey",bindValue:"bindValue",limitItens:"limitItens",showAddNewItem:"showAddNewItem",addNewItemText:"addNewItemText",addNewItemIcon:"addNewItemIcon",addNewItemClickCloseSelect:"addNewItemClickCloseSelect",closeOnBodyScroll:"closeOnBodyScroll",initializing:"initializing",loadingText:"loadingText"},outputs:{onOpenSelectBox:"onOpenSelectBox",onCloseSelectBox:"onCloseSelectBox",onSelectChange:"onSelectChange",onSelectClear:"onSelectClear",onAddNewItemClick:"onAddNewItemClick"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return Ce})),multi:!0}]),t.ɵɵInheritDefinitionFeature],decls:6,vars:21,consts:[["appendTo","body",3,"ngModel","items","virtualScroll","loading","loadingText","placeholder","clearAllText","searchable","typeToSearchText","notFoundText","disabled","typeahead","ngClass","compareWith","bindValue","ngModelChange","open","close","clear","scroll","scrollToEnd","change"],["ngSelectComponent",""],[4,"ngIf"],["ng-option-tmp",""],["ng-label-tmp",""],["class","image","style","width: 40px;height: 40px; margin-right: 10px;",4,"ngIf"],["class","select-text-element",4,"ngIf"],[1,"image",2,"width","40px","height","40px","margin-right","10px"],["loading","lazy",2,"width","auto","max-width","40px","height","40px",3,"src","alt","matTooltip"],[1,"select-text-element"],["ng-header-tmp",""],[1,"add-new-item-option",2,"display","flex","align-items","center","cursor","pointer",3,"click"],["style","margin-right: 5px",3,"title","name","size",4,"ngIf"],["class","add-new-item-text","style","white-space: nowrap;overflow: hidden;text-overflow: ellipsis;",4,"ngIf"],[2,"margin-right","5px",3,"title","name","size"],[1,"add-new-item-text",2,"white-space","nowrap","overflow","hidden","text-overflow","ellipsis"],[1,"select-text-element",2,"white-space","nowrap","overflow","hidden","text-overflow","ellipsis"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"ng-select",0,1),t.ɵɵlistener("ngModelChange",(function(e){return n.value=e}))("open",(function(e){return n.openSelectBox(e)}))("close",(function(e){return n.onClose(e)}))("clear",(function(){return n.onClear()}))("scroll",(function(e){return n.onScroll(e)}))("scrollToEnd",(function(){return n.onScrollToEnd()}))("change",(function(e){return n.onSelectionChange(e)})),t.ɵɵtemplate(2,pe,1,0,void 0,2),t.ɵɵtemplate(3,me,1,0,void 0,2),t.ɵɵtemplate(4,xe,1,0,void 0,2),t.ɵɵtemplate(5,we,3,2,"ng-template",3),t.ɵɵelementEnd()),2&e&&(t.ɵɵproperty("ngModel",n.value)("items",n.visibleItens)("virtualScroll",!0)("loading",n.loading||n.initializing)("loadingText",n.loadingText)("placeholder",n.placeholder)("clearAllText",n.clearText)("searchable",n.enabledSearch)("typeToSearchText",n.searchPlaceHolder)("notFoundText",n.notFoundText)("disabled",n.disabled)("typeahead",n.inputFilter)("ngClass",t.ɵɵpureFunction2(18,ve,n.bindImageUrl,!n.bindImageUrl))("compareWith",n.compareFn)("bindValue",n.selectProperty),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.selectProperty&&n.selectedItem&&n.selectedItem[n.bindKey]&&n.selectedItem[n.bindValue]),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.selectProperty&&n.value&&n.value[n.bindKey]&&n.value[n.bindValue]),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.showAddNewItem))},directives:[h.NgSelectComponent,n.NgControlStatus,n.NgModel,o.NgClass,o.NgIf,h.ɵf,h.ɵh,p.MatTooltip,h.ɵj,u.IconComponent],styles:[':root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}.mat-form-field-underline,.mat-input-underline{display:none}.mat-form-field-appearance-fill .mat-form-field-flex{align-items:center!important;background:var(--color-inputs-background)!important;border:1px solid var(--color-inputs-border)!important;border-radius:6px!important;display:flex!important}.mat-form-field-infix{align-items:center!important;border-top:none!important;padding:0!important}.mat-form-field-infix,.mat-select-arrow-wrapper{display:flex!important}.mat-icon-button{width:auto!important}.no-border .mat-form-field-flex{border:none!important}.no-border .mat-form-field-flex input{padding:1px}.mat-form-field-label-wrapper{top:-10px}.mat-form-field-should-float .mat-form-field-label-wrapper{font-size:14px}.placeholder-primary .mat-focused .mat-form-field-placeholder,.placeholder-primary .mat-form-field-label-wrapper,.placeholder-primary .mat-form-field-label-wrapper label,.placeholder-primary .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-form-field-placeholder{color:var(--color-primary)!important}.placeholder-primary input ::placeholder{color:var(--color-primary)!important}.placeholder-bold .mat-focused .mat-form-field-placeholder,.placeholder-bold .mat-form-field-label-wrapper,.placeholder-bold .mat-form-field-label-wrapper label,.placeholder-bold .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-form-field-placeholder{font-weight:700!important}.placeholder-bold input ::placeholder{font-weight:700!important}.apipass-input-text{width:100%}.apipass-input-text .mat-form-field-flex{padding:10px!important}.apipass-date-filter .mat-form-field-wrapper,.apipass-input-text .mat-form-field-wrapper,.apipass-search-input-text .mat-form-field-wrapper,.apipass-select .mat-form-field-wrapper,.custom-select-component .mat-form-field-wrapper{padding:0!important}.apipass-date-filter .mat-icon-button,.apipass-input-text .mat-icon-button,.apipass-search-input-text .mat-icon-button,.apipass-select .mat-icon-button,.custom-select-component .mat-icon-button{height:auto!important;width:auto!important}.apipass-date-filter.label-input .mat-form-field-label-wrapper,.apipass-input-text.label-input .mat-form-field-label-wrapper,.apipass-search-input-text.label-input .mat-form-field-label-wrapper,.apipass-select.label-input .mat-form-field-label-wrapper,.custom-select-component.label-input .mat-form-field-label-wrapper{padding-top:0;top:auto!important}.apipass-date-filter.label-input input,.apipass-input-text.label-input input,.apipass-search-input-text.label-input input,.apipass-select.label-input input,.custom-select-component.label-input input{padding-bottom:5px!important;padding-top:10px!important}.apipass-date-filter.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-search-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-select.mat-form-field-should-float .mat-form-field-label-wrapper,.custom-select-component.mat-form-field-should-float .mat-form-field-label-wrapper{margin-top:-10px!important;padding-top:0!important}.apipass-search-input-text{width:100%}.apipass-search-input-text.small-text{font-size:12px}.apipass-search-input-text .mat-form-field-flex{border-left:none!important;border-radius:0!important;border-right:none!important;border-top:none!important;padding:2px 5px 2px 2px!important}.apipass-search-input-text .search-icon{margin-top:-5px!important}.custom-select-component{width:100%}.custom-select-component .mat-form-field-flex{padding:1px 10px!important}.apipass-select{width:100%}.apipass-select .mat-form-field-flex{padding:10px 5px 10px 10px!important}.apipass-select.label-input .mat-form-field-infix{padding-bottom:7px!important;padding-top:7px!important}.apipass-date-filter{width:100%}.apipass-date-filter .mat-form-field-flex{padding:7px 10px!important}.apipass-date-filter .mat-form-field-suffix span{color:#777;cursor:pointer}.apipass-date-filter .mat-form-field-wrapper{padding-bottom:0!important}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ysmIEDQ.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0w8mIEDQ.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ycmIEDQ.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0x8mI.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIhUdwzM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydKxUdwzM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIRUdwzM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydLxUd.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0-ExdGM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0aExdGM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0yExdGM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0KExQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.text-primary{color:var(--color-primary)!important}.text-secondary{color:var(--color-secondary)!important}.text-tertiary{color:var(--color-fonts-tertiary)!important}.text-weight-bold{font-weight:700!important}.text-weight-normal{font-weight:400!important}.apipass-select-image.ng-select.ng-select-opened>.ng-select-container,.apipass-select.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9;height:51px}.apipass-select-image.ng-select-disabled .ng-select-container,.apipass-select.ng-select-disabled .ng-select-container{background-color:#ccc!important;color:#777!important;cursor:no-drop!important}.apipass-select-image.ng-select-disabled .ng-select-container .ng-arrow-wrapper .ng-arrow,.apipass-select.ng-select-disabled .ng-select-container .ng-arrow-wrapper .ng-arrow{border-color:#777 transparent transparent!important;color:#777!important;cursor:no-drop!important}.apipass-select-image.ng-select-disabled .ng-select-container .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input,.apipass-select-image.ng-select-disabled .ng-select-container .ng-value,.apipass-select-image.ng-select-disabled .ng-select-container .ng-value-container,.apipass-select.ng-select-disabled .ng-select-container .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input,.apipass-select.ng-select-disabled .ng-select-container .ng-value,.apipass-select.ng-select-disabled .ng-select-container .ng-value-container{cursor:no-drop!important}.apipass-select-image .select-text-element,.apipass-select .select-text-element{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{border-color:transparent transparent #ddd;border-width:0 5px 5px;top:-2px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-left-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-left-radius:0;border-top-right-radius:0}.ng-select.ng-select-focused:not(.ng-select-opened)>.ng-select-container{border-color:#007eff;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 0 3px rgba(0,126,255,.1)}.ng-select.ng-select-disabled>.ng-select-container{background-color:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{align-items:center!important;background-color:#fff;border:1px solid #ccc;border-radius:4px;color:#333}.apipass-select-image .ng-select-container,.apipass-select .ng-select-container{min-height:51px}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 rgba(0,0,0,.06)}.apipass-select .ng-select-container .ng-value-container{align-items:center!important;padding-left:10px}.apipass-select .ng-select-container .ng-value-container .ng-value{align-items:center!important;display:flex!important}.apipass-select-image .ng-select-container .ng-value-container,.apipass-select .ng-select-container .ng-value-container{align-items:center!important;padding-left:10px}.apipass-select-image .ng-select-container .ng-value-container .ng-value,.apipass-select .ng-select-container .ng-value-container .ng-value{align-items:center!important;display:flex!important}.apipass-select-image .ng-select-container .ng-value-container .ng-input,.apipass-select .ng-select-container .ng-value-container .ng-input{padding-top:0!important;top:auto!important}.apipass-select-image .ng-select-container .ng-value-container .ng-input input,.apipass-select .ng-select-container .ng-value-container .ng-input input{margin-top:-5px!important;padding-bottom:17px!important;padding-top:17px!important}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-left:0;padding-right:10px}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:rgba(0,0,0,.6);font-size:14px}.apipass-select-image .ng-select-container,.apipass-select .ng-select-container{height:51px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{left:0;padding-left:10px;padding-right:50px;top:5px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-left:50px;padding-right:10px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{align-items:center!important;background-color:#f9f9f9;border:1px solid #e6e6e6;display:flex!important}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-left:7px;padding-top:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-left:0;padding-right:7px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{align-items:center!important;background-color:#ebf5ff;border-radius:2px;color:#333;display:flex!important;font-size:.9em;margin-bottom:5px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{align-items:center!important;display:flex!important;margin-left:5px;margin-right:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:#f9f9f9}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid #b8dbff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:#000}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-bottom:5px;padding-left:3px;top:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-left:0;padding-right:3px}.ng-select .ng-clear-wrapper{color:rgba(0,0,0,.6)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{padding-right:5px;width:25px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#ddd transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ddd;box-shadow:0 1px 0 rgba(0,0,0,.06);left:0}.ng-dropdown-panel.ng-select-bottom{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top-color:#e6e6e6;margin-top:-1px;top:100%}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ng-dropdown-panel.ng-select-top{border-bottom-color:#e6e6e6;border-top-left-radius:4px;border-top-right-radius:4px;bottom:100%;margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;color:rgba(0,0,0,.54);cursor:pointer;font-weight:500;padding:8px 10px;user-select:none}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:#f5faff}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{background-color:#ebf5ff;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{align-items:center!important;background-color:#fff;color:rgba(0,0,0,.87);display:flex!important;padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{background-color:#ebf5ff;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:#f5faff;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:0;padding-right:22px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}'],encapsulation:2});var Se=t.ɵɵgetInheritedFactory(Ce),Pe=function(){function e(e,n){this.matSelect=e,this.ngZone=n,this.threshold="15%",this.debounceTime=150,this.infiniteScroll=new t.EventEmitter,this.thrPx=0,this.thrPc=0,this.singleOptionHeight=3,this.destroyed$=new m.Subject}return e.prototype.ngOnInit=function(){this.evaluateThreshold()},e.prototype.ngAfterViewInit=function(){var e=this;this.matSelect.openedChange.pipe(g.takeUntil(this.destroyed$)).subscribe((function(t){t&&(e.panel=e.matSelect.panel.nativeElement,e.singleOptionHeight=e.getSelectItemHeightPx(),e.registerScrollListener())}))},e.prototype.ngOnDestroy=function(){this.destroyed$.next(!0),this.destroyed$.complete()},e.prototype.evaluateThreshold=function(){this.threshold.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(this.threshold)/100):(this.thrPx=parseFloat(this.threshold),this.thrPc=0)},e.prototype.registerScrollListener=function(){var e=this;m.fromEvent(this.panel,"scroll").pipe(g.takeUntil(this.destroyed$),g.debounceTime(this.debounceTime),g.tap((function(t){e.handleScrollEvent(t)}))).subscribe()},e.prototype.handleScrollEvent=function(e){var t=this;this.ngZone.runOutsideAngular((function(){if(!t.complete){var n=t.matSelect.options.length,o=t.singleOptionHeight*n,a=0!==t.thrPc?o*t.thrPc:t.thrPx;t.panel.clientHeight+e.target.scrollTop+a>=o&&t.ngZone.run((function(){return t.infiniteScroll.emit()}))}}))},e.prototype.getSelectItemHeightPx=function(){return 3*parseFloat(getComputedStyle(this.panel).fontSize)},e}();Pe.ɵfac=function(e){return new(e||Pe)(t.ɵɵdirectiveInject(i.MatSelect),t.ɵɵdirectiveInject(t.NgZone))},Pe.ɵdir=t.ɵɵdefineDirective({type:Pe,selectors:[["","msInfiniteScroll",""]],inputs:{threshold:"threshold",debounceTime:"debounceTime",complete:"complete"},outputs:{infiniteScroll:"infiniteScroll"}});var Te=function(e,t){this.id=e,this.text=t},Ie=["trigger"],Me=["input"];function _e(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"span",11),t.ɵɵlistener("click",(function(e){return t.ɵɵrestoreView(o),t.ɵɵnextContext().removeClick(e)})),t.ɵɵelement(1,"i",12),t.ɵɵelementEnd()}}function Oe(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"li",19),t.ɵɵlistener("click",(function(){t.ɵɵrestoreView(o);var e=n.$implicit;return t.ɵɵnextContext(2).selectItem(e)}))("mousedown",(function(){t.ɵɵrestoreView(o);var e=n.$implicit;return t.ɵɵnextContext(2).selectItem(e)})),t.ɵɵtext(1),t.ɵɵelementEnd()}if(2&e){var a=n.$implicit;t.ɵɵadvance(1),t.ɵɵtextInterpolate1(" ",a.text," ")}}function Ee(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"li",20),t.ɵɵlistener("mousedown",(function(){return t.ɵɵrestoreView(o),t.ɵɵnextContext(2).addItem()}))("click",(function(){return t.ɵɵrestoreView(o),t.ɵɵnextContext(2).addItem()})),t.ɵɵelement(1,"span",21),t.ɵɵelementStart(2,"span"),t.ɵɵtext(3),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext(2);t.ɵɵadvance(3),t.ɵɵtextInterpolate(a.addItemLabel)}}function ke(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"ul",13),t.ɵɵelementStart(1,"li",14),t.ɵɵelementStart(2,"mat-form-field",15),t.ɵɵelementStart(3,"input",16),t.ɵɵlistener("ngModelChange",(function(e){return t.ɵɵrestoreView(o),t.ɵɵnextContext().searchText=e}))("blur",(function(e){return t.ɵɵrestoreView(o),t.ɵɵnextContext().onBlur(e)})),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵtemplate(4,Oe,2,1,"li",17),t.ɵɵpipe(5,"selectFilter"),t.ɵɵtemplate(6,Ee,4,1,"li",18),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵadvance(3),t.ɵɵproperty("placeholder",a.findPlaceHolder)("ngModel",a.searchText),t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",t.ɵɵpipeBind3(5,4,a.items,a.searchText,"text")),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",a.allowAddItem)}}var Re=function(e){return{"select-open":e}},Ue=function(){return{standalone:!0}},De=function(e,t){return{"fa-caret-down":e,"fa-caret-up":t}},Be=function(){function e(e){this.sso=e,this.disabled=!1,this.items=[],this.allowTyping=!1,this.allowRemove=!1,this.allowAddItem=!0,this.addItemLabel="Add New Item",this.placeHolder="Select",this.findPlaceHolder="Find item",this.searchText="",this.onSelect=new t.EventEmitter,this.onUnSelect=new t.EventEmitter,this.onAddItem=new t.EventEmitter,this.opened=!1,this.edited=!1,this.tabindex="0",this.onTouchedCallback=function(){},this.onChangeCallback=function(){},this.scrollStrategy=this.sso.block()}return e.prototype.onBlur=function(e){this.allowTyping&&(this.value?this.edited&&(this.writeValue(this.value),this.selectedItem=new Te(this.value,this.value),this.onSelect.next(this.selectedItem)):(this.writeValue(void 0),this.onSelect.next(void 0))),e&&e.relatedTarget&&e.relatedTarget.classList.contains("search-input-item")||(this.setTriggerRect(),this.opened=!1)},e.prototype.ngAfterViewInit=function(){var e=this;setTimeout((function(){e.setTriggerRect()}),300)},e.prototype.setTriggerRect=function(){var e=this;setTimeout((function(){var t;e._triggerRect=null===(t=e.trigger)||void 0===t?void 0:t.nativeElement.getBoundingClientRect()}))},e.prototype.selectItem=function(e){this.opened=!1,this.selectedItem=e,this.edited=!1,this.selectedModelValue=e.text,this.value=e.text,this.searchText="",this.onSelect.next(e)},e.prototype.addItem=function(){this.opened=!1,this.searchText="",this.onAddItem.next()},e.prototype.keyPress=function(){if(this.setTriggerRect(),!this.allowTyping)return this.edited=!1,!1;this.opened=!1,this.edited=!0,this.selectedModelValue=this.value,this.searchText=""},e.prototype.clicked=function(){this.setTriggerRect(),this.opened=!0,this.searchText=""},Object.defineProperty(e.prototype,"value",{get:function(){return this.innerValue},set:function(e){this.innerValue=e,this.onChangeCallback(e),this.onSelect.next(e)},enumerable:!1,configurable:!0}),e.prototype.writeValue=function(e){e!==this.innerValue&&(this.selectedItem&&this.selectedItem.text&&e||(this.selectedItem=new Te(null,e)),this.innerValue=e,this.selectedModelValue=e)},e.prototype.registerOnChange=function(e){this.onChangeCallback=e},e.prototype.registerOnTouched=function(e){this.onTouchedCallback=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.arrowClick=function(e){var t;e.stopPropagation(),this.setTriggerRect(),this.opened?this.opened=!1:(this.opened=!0,this.searchText="",null===(t=this.input)||void 0===t||t.nativeElement.focus())},e.prototype.removeClick=function(e){e.stopPropagation(),this.opened=!1,this.searchText="",this.innerValue=null,this.onUnSelect.next()},e.prototype.onDrop=function(e){this.searchText="",this.value||(this.value=""),this.value+="{{"+e.data+"}}",this.edited=!0,this.onBlur(void 0)},e}();function ze(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",6),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate1(" ",o.fileName||o.emptyFileLabel," ")}}Be.ɵfac=function(e){return new(e||Be)(t.ɵɵdirectiveInject(x.ScrollStrategyOptions))},Be.ɵcmp=t.ɵɵdefineComponent({type:Be,selectors:[["custom-select"]],viewQuery:function(e,n){var o;(1&e&&(t.ɵɵviewQuery(Ie,!0),t.ɵɵviewQuery(Me,!0,t.ElementRef)),2&e)&&(t.ɵɵqueryRefresh(o=t.ɵɵloadQuery())&&(n.trigger=o.first),t.ɵɵqueryRefresh(o=t.ɵɵloadQuery())&&(n.input=o.first))},hostVars:1,hostBindings:function(e,n){1&e&&t.ɵɵlistener("blur",(function(e){return n.onBlur(e.target)})),2&e&&t.ɵɵattribute("tabindex",n.tabindex)},inputs:{disabled:"disabled",items:"items",allowTyping:"allowTyping",allowRemove:"allowRemove",allowAddItem:"allowAddItem",addItemLabel:"addItemLabel",placeHolder:"placeHolder",findPlaceHolder:"findPlaceHolder",searchText:"searchText"},outputs:{onSelect:"onSelect",onUnSelect:"onUnSelect",onAddItem:"onAddItem"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return Be})),multi:!0}])],decls:11,vars:18,consts:[[1,"custom-select-input"],["trigger",""],["cdkOverlayOrigin","","appearance","fill","autocomplete","off",1,"custom-select-component",3,"ngClass"],["origin","cdkOverlayOrigin"],["matInput","","dndDropzone","","autocomplete","off",3,"placeholder","ngModel","ngModelOptions","disabled","focus","blur","ngModelChange","keyup","click","dndDrop"],["input",""],["title","Remover","class","remove-icon",3,"click",4,"ngIf"],[1,"open-icon",3,"click"],[1,"fas",3,"ngClass"],[1,"custom-select-component"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth"],["title","Remover",1,"remove-icon",3,"click"],[1,"fa","fa-times"],[1,"ul-ac"],[1,"li-search","search-input-item"],["appearance","fill",1,"apipass-input-text","search-input-item"],["matInput","","aria-autocomplete","none","autocomplete","off",1,"search-input-item",3,"placeholder","ngModel","ngModelChange","blur"],["class","clickable",3,"click","mousedown",4,"ngFor","ngForOf"],["class","li-add",3,"mousedown","click",4,"ngIf"],[1,"clickable",3,"click","mousedown"],[1,"li-add",3,"mousedown","click"],[1,"fa","fa-plus-circle"]],template:function(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",0,1),t.ɵɵelementStart(2,"mat-form-field",2,3),t.ɵɵelementStart(4,"input",4,5),t.ɵɵlistener("focus",(function(){return n.opened=!0}))("blur",(function(e){return n.onBlur(e)}))("ngModelChange",(function(e){return n.value=e}))("keyup",(function(){return n.keyPress()}))("click",(function(){return n.clicked()}))("dndDrop",(function(e){return n.onDrop(e)})),t.ɵɵelementEnd(),t.ɵɵtemplate(6,_e,2,0,"span",6),t.ɵɵelementStart(7,"span",7),t.ɵɵlistener("click",(function(e){return n.arrowClick(e)})),t.ɵɵelement(8,"i",8),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(9,"div",9),t.ɵɵtemplate(10,ke,7,8,"ng-template",10),t.ɵɵelementEnd()),2&e){var o=t.ɵɵreference(3);t.ɵɵadvance(2),t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(12,Re,n.opened)),t.ɵɵadvance(2),t.ɵɵproperty("placeholder",n.placeHolder)("ngModel",n.value)("ngModelOptions",t.ɵɵpureFunction0(14,Ue))("disabled",n.disabled),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.allowRemove),t.ɵɵadvance(2),t.ɵɵproperty("ngClass",t.ɵɵpureFunction2(15,De,!n.opened,n.opened)),t.ɵɵadvance(2),t.ɵɵproperty("cdkConnectedOverlayPanelClass","custom-select-overlay-panel")("cdkConnectedOverlayScrollStrategy",n.scrollStrategy)("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayOpen",n.opened)("cdkConnectedOverlayMinWidth",null==n._triggerRect?null:n._triggerRect.width)}},directives:[a.MatFormField,x.CdkOverlayOrigin,o.NgClass,s.MatInput,n.DefaultValueAccessor,y.DndDropzoneDirective,n.NgControlStatus,n.NgModel,o.NgIf,x.CdkConnectedOverlay,o.NgForOf],pipes:[r.SelectFilterPipe],styles:[".custom-select-component[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%], .custom-select-overlay-panel{cursor:pointer}.custom-select-component[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .custom-select-overlay-panel input{background:#fff!important;height:37px}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac{background:#fff;border:1px solid #ccc;box-sizing:border-box;list-style:none;margin-top:-1px;max-height:16rem;overflow:auto;padding:0;position:relative;width:100%}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac li{cursor:pointer;font-size:12px;overflow:hidden;padding:10px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover, .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover, .custom-select-overlay-panel .ul-ac li:hover{background:#bbbcbc}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac li .mat-form-field-flex{height:37px!important}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac li .mat-form-field-flex input{height:auto}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] .li-add[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] .li-add[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac .li-add{border-top:1px solid #d3d3d3}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] .li-add[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] .li-add[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac .li-add .fa{color:#ff8f17;padding-right:5px}.custom-select-component[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%], .custom-select-overlay-panel .selected{background-color:#898a8a!important}.custom-select-component[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%], .custom-select-overlay-panel .selected .fa{color:#fff!important}.custom-select-component[_ngcontent-%COMP%] .remove-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .remove-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .custom-select-overlay-panel .remove-icon i{color:red;margin-right:10px}.custom-select-component[_ngcontent-%COMP%] .open-icon[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .open-icon[_ngcontent-%COMP%], .custom-select-overlay-panel .open-icon{cursor:pointer}.custom-select-component[_ngcontent-%COMP%] .open-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .open-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .custom-select-overlay-panel .open-icon i{color:rgba(0,0,0,.54)}.custom-select-component[_ngcontent-%COMP%] .li-search[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .li-search[_ngcontent-%COMP%], .custom-select-overlay-panel .li-search{border-bottom:1px solid #ccc!important;cursor:default!important}.custom-select-component[_ngcontent-%COMP%] .li-search[_ngcontent-%COMP%]:hover, .custom-select-input[_ngcontent-%COMP%] .li-search[_ngcontent-%COMP%]:hover, .custom-select-overlay-panel .li-search:hover{background:#fff!important}.custom-select-component[_ngcontent-%COMP%] .select-open[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .select-open[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%], .custom-select-overlay-panel .select-open .mat-form-field-flex{border-radius:6px 6px 0 0!important}"]});var Fe=function(e){return{"font-size":e}};function je(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"icon",7),t.ɵɵlistener("click",(function(){t.ɵɵrestoreView(o),t.ɵɵnextContext();var e=t.ɵɵreference(1);return e.click(),e.value=null})),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵproperty("ngStyle",t.ɵɵpureFunction1(4,Fe,a.iconFontSize))("title",a.uploadTitle)("type","primary")("name","fas fa-upload")}}function Le(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"icon",7),t.ɵɵlistener("click",(function(){t.ɵɵrestoreView(o),t.ɵɵnextContext();var e=t.ɵɵreference(1);return e.click(),e.value=null})),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵproperty("ngStyle",t.ɵɵpureFunction1(4,Fe,a.iconFontSize))("title",a.modifyTitle)("type","primary")("name","fas fa-pencil-alt")}}var Ve=function(){function e(){this.fileFormData=new FormData,this.canRemove=!1,this.canUpload=!1,this.uploadTitle="",this.canModify=!1,this.modifyTitle="",this.iconFontSize="16px",this.emptyFileLabel="",this.fileTypes=[],this.onFileChanged=new t.EventEmitter,this.onInvalidFileType=new t.EventEmitter,this.fileUrl=!1}return e.prototype.hasFile=function(){return this.fileUrl},e.prototype.canAction=function(){return this.canRemove||this.canModify||this.canUpload},e.prototype.fileChange=function(e){var t=this,n=e.target.files;if(n.length>0){var o=n[0];if(this.fileName=o.name,!this.isFileTypeSupported(o.type))return void this.onInvalidFileType.emit({fileName:this.fileName,typesSupported:this.fileTypes,typeInvalid:o.type});this.fileFormData=new FormData,this.fileFormData.append("file",o,o.name);var a=new FileReader;a.readAsDataURL(n[0]),a.onload=function(e){t.fileUrl=!0,t.emitChangeEvent()}}},e.prototype.isFileTypeSupported=function(e){return!this.fileTypes||this.fileTypes.includes(e)},e.prototype.emitChangeEvent=function(){this.onFileChanged.emit({fileUrl:this.fileUrl,fileFormData:this.fileFormData})},e}();Ve.ɵfac=function(e){return new(e||Ve)},Ve.ɵcmp=t.ɵɵdefineComponent({type:Ve,selectors:[["input-file"]],inputs:{fileFormData:"fileFormData",fileName:"fileName",canRemove:"canRemove",canUpload:"canUpload",uploadTitle:"uploadTitle",canModify:"canModify",modifyTitle:"modifyTitle",iconFontSize:"iconFontSize",emptyFileLabel:"emptyFileLabel",fileTypes:"fileTypes"},outputs:{onFileChanged:"onFileChanged",onInvalidFileType:"onInvalidFileType"},decls:7,vars:3,consts:[["id","action-icon","type","file",2,"display","none",3,"change"],["actionFile",""],[1,"input-file"],["class","file-name",4,"ngIf"],[1,"file-actions"],[3,"ngStyle","title","type","name","click",4,"ngIf"],[1,"file-name"],[3,"ngStyle","title","type","name","click"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"input",0,1),t.ɵɵlistener("change",(function(e){return n.fileChange(e)})),t.ɵɵelementEnd(),t.ɵɵelementStart(2,"div",2),t.ɵɵtemplate(3,ze,2,1,"div",3),t.ɵɵelementStart(4,"div",4),t.ɵɵtemplate(5,je,1,6,"icon",5),t.ɵɵtemplate(6,Le,1,6,"icon",5),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e&&(t.ɵɵadvance(3),t.ɵɵproperty("ngIf",n.fileName||n.emptyFileLabel),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",!n.hasFile()&&n.canUpload),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.hasFile()&&n.canModify))},directives:[o.NgIf,u.IconComponent,o.NgStyle],styles:[".input-file{align-items:center;display:flex;justify-content:flex-start;width:100%}.input-file .file-name{color:var(--color-primary);white-space:nowrap;width:100%}.input-file .file-actions{align-items:center;display:flex;justify-content:flex-end;padding-left:5px}.input-file .file-actions icon{cursor:pointer;margin-left:5px}"],encapsulation:2});var Ne=function(){function e(e,n){var o=this;this.zone=n,this.textChanged=new t.EventEmitter,this.textChange=new t.EventEmitter,this.style={},this._options={},this._theme="monokai",this._mode="html",this._autoUpdateContent=!0,this._durationBeforeCallback=0,this._text="",this._onChange=function(e){},this._onTouched=function(){};var a=e.nativeElement;this.zone.runOutsideAngular((function(){o._editor=ace.edit(a)})),this._editor.$blockScrolling=1/0}return e.prototype.ngOnInit=function(){this.init(),this.initEvents()},e.prototype.ngOnDestroy=function(){this._editor.destroy()},e.prototype.init=function(){this.setOptions(this._options||{}),this.setTheme(this._theme),this.setMode(this._mode),this.setReadOnly(this._readOnly)},e.prototype.initEvents=function(){var e=this;this._editor.on("change",(function(){return e.updateText()})),this._editor.on("paste",(function(){return e.updateText()}))},e.prototype.updateText=function(){var e=this,t=this._editor.getValue();t!==this.oldText&&(this._durationBeforeCallback?(this.timeoutSaving&&clearTimeout(this.timeoutSaving),this.timeoutSaving=setTimeout((function(){e._text=t,e.zone.run((function(){e.textChange.emit(t),e.textChanged.emit(t)})),e.timeoutSaving=null}),this._durationBeforeCallback)):(this._text=t,this.zone.run((function(){e.textChange.emit(t),e.textChanged.emit(t)})),this._onChange(t)),this.oldText=t)},Object.defineProperty(e.prototype,"options",{set:function(e){this.setOptions(e)},enumerable:!1,configurable:!0}),e.prototype.setOptions=function(e){this._options=e,this._editor.setOptions(e||{})},Object.defineProperty(e.prototype,"readOnly",{set:function(e){this.setReadOnly(e)},enumerable:!1,configurable:!0}),e.prototype.setReadOnly=function(e){this._readOnly=e,this._editor.setReadOnly(e)},Object.defineProperty(e.prototype,"theme",{set:function(e){this.setTheme(e)},enumerable:!1,configurable:!0}),e.prototype.setTheme=function(e){this._theme=e,this._editor.setTheme("ace/theme/"+e)},Object.defineProperty(e.prototype,"mode",{set:function(e){this.setMode(e)},enumerable:!1,configurable:!0}),e.prototype.setMode=function(e){this._mode=e,"object"==typeof this._mode?this._editor.getSession().setMode(this._mode):this._editor.getSession().setMode("ace/mode/"+this._mode)},Object.defineProperty(e.prototype,"value",{get:function(){return this.text},set:function(e){this.setText(e)},enumerable:!1,configurable:!0}),e.prototype.writeValue=function(e){this.setText(e)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(e){this.setText(e)},enumerable:!1,configurable:!0}),e.prototype.setText=function(e){null==e&&(e=""),this._text!==e&&this._autoUpdateContent&&(this._text=e,this._editor.setValue(e),this._onChange(e),this._editor.clearSelection())},Object.defineProperty(e.prototype,"autoUpdateContent",{set:function(e){this.setAutoUpdateContent(e)},enumerable:!1,configurable:!0}),e.prototype.setAutoUpdateContent=function(e){this._autoUpdateContent=e},Object.defineProperty(e.prototype,"durationBeforeCallback",{set:function(e){this.setDurationBeforeCallback(e)},enumerable:!1,configurable:!0}),e.prototype.setDurationBeforeCallback=function(e){this._durationBeforeCallback=e},e.prototype.getEditor=function(){return this._editor},e}();Ne.ɵfac=function(e){return new(e||Ne)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.NgZone))},Ne.ɵcmp=t.ɵɵdefineComponent({type:Ne,selectors:[["ace-editor"]],inputs:{style:"style",options:"options",readOnly:"readOnly",theme:"theme",mode:"mode",value:"value",text:"text",autoUpdateContent:"autoUpdateContent",durationBeforeCallback:"durationBeforeCallback"},outputs:{textChanged:"textChanged",textChange:"textChange"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return Ne})),multi:!0}])],decls:0,vars:0,template:function(e,t){},styles:["[_nghost-%COMP%] { display:block;width:100%; }"]});var Ae=function(){function e(e,n){var o=this;this.zone=n,this.textChanged=new t.EventEmitter,this.textChange=new t.EventEmitter,this._options={},this._readOnly=!1,this._theme="monokai",this._mode="html",this._autoUpdateContent=!0,this._durationBeforeCallback=0,this._text="";var a=e.nativeElement;this.zone.runOutsideAngular((function(){o.editor=ace.edit(a)})),this.editor.$blockScrolling=1/0}return e.prototype.ngOnInit=function(){this.init(),this.initEvents()},e.prototype.ngOnDestroy=function(){this.editor.destroy()},e.prototype.init=function(){this.editor.setOptions(this._options||{}),this.editor.setTheme("ace/theme/"+this._theme),this.setMode(this._mode),this.editor.setReadOnly(this._readOnly)},e.prototype.initEvents=function(){var e=this;this.editor.on("change",(function(){return e.updateText()})),this.editor.on("paste",(function(){return e.updateText()}))},e.prototype.updateText=function(){var e=this,t=this.editor.getValue();t!==this.oldText&&(this._durationBeforeCallback?(null!=this.timeoutSaving&&clearTimeout(this.timeoutSaving),this.timeoutSaving=setTimeout((function(){e._text=t,e.zone.run((function(){e.textChange.emit(t),e.textChanged.emit(t)})),e.timeoutSaving=null}),this._durationBeforeCallback)):(this._text=t,this.zone.run((function(){e.textChange.emit(t),e.textChanged.emit(t)}))),this.oldText=t)},Object.defineProperty(e.prototype,"options",{set:function(e){this._options=e,this.editor.setOptions(e||{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{set:function(e){this._readOnly=e,this.editor.setReadOnly(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"theme",{set:function(e){this._theme=e,this.editor.setTheme("ace/theme/"+e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(e){this.setMode(e)},enumerable:!1,configurable:!0}),e.prototype.setMode=function(e){this._mode=e,"object"==typeof this._mode?this.editor.getSession().setMode(this._mode):this.editor.getSession().setMode("ace/mode/"+this._mode)},Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(e){this.setText(e)},enumerable:!1,configurable:!0}),e.prototype.setText=function(e){this._text!==e&&(null==e&&(e=""),this._autoUpdateContent&&(this._text=e,this.editor.setValue(e),this.editor.clearSelection()))},Object.defineProperty(e.prototype,"autoUpdateContent",{set:function(e){this._autoUpdateContent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationBeforeCallback",{set:function(e){this.setDurationBeforeCallback(e)},enumerable:!1,configurable:!0}),e.prototype.setDurationBeforeCallback=function(e){this._durationBeforeCallback=e},Object.defineProperty(e.prototype,"aceEditor",{get:function(){return this.editor},enumerable:!1,configurable:!0}),e}();function Qe(e,n){if(1&e&&(t.ɵɵelementStart(0,"mat-label"),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var o=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.label)}}function qe(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"mat-icon",5),t.ɵɵlistener("click",(function(){return t.ɵɵrestoreView(o),t.ɵɵnextContext().prefixClick()})),t.ɵɵtext(1),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate(a.iconPrefix)}}function Ke(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"mat-icon",6),t.ɵɵlistener("click",(function(){return t.ɵɵrestoreView(o),t.ɵɵnextContext().suffixClick()})),t.ɵɵtext(1),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵtextInterpolate(a.iconSuffix)}}Ae.ɵfac=function(e){return new(e||Ae)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.NgZone))},Ae.ɵdir=t.ɵɵdefineDirective({type:Ae,selectors:[["","ace-editor",""]],inputs:{options:"options",readOnly:"readOnly",theme:"theme",mode:"mode",text:"text",autoUpdateContent:"autoUpdateContent",durationBeforeCallback:"durationBeforeCallback"},outputs:{textChanged:"textChanged",textChange:"textChange"}});var Ye=function(e){function n(){var n=e.apply(this,M(arguments))||this;return n.label="",n.disabled=!1,n.iconSuffix="",n.iconPrefix="",n.autoComplete="on",n.suffixIconClick=new t.EventEmitter,n.prefixIconClick=new t.EventEmitter,n}return T(n,e),n.prototype.onKeyDown=function(e){32===e.which&&(e.target.value+=" "),e.stopPropagation()},n.prototype.prefixClick=function(){this.prefixIconClick.emit(!0)},n.prototype.suffixClick=function(){this.suffixIconClick.emit(!0)},n}(_);Ye.ɵfac=function(e){return Ge(e||Ye)},Ye.ɵcmp=t.ɵɵdefineComponent({type:Ye,selectors:[["input-number"]],inputs:{label:"label",disabled:"disabled",iconSuffix:"iconSuffix",iconPrefix:"iconPrefix",autoComplete:"autoComplete"},outputs:{suffixIconClick:"suffixIconClick",prefixIconClick:"prefixIconClick"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return Ye})),multi:!0}]),t.ɵɵInheritDefinitionFeature],decls:5,vars:6,consts:[["appearance","fill",1,"apipass-input-text","label-input"],[4,"ngIf"],["class","mat-icon-prefix","matPrefix","",3,"click",4,"ngIf"],["matInput","","type","number",1,"input-text",3,"ngModel","disabled","autocomplete","ngModelChange"],["class","mat-icon-suffix","matSuffix","",3,"click",4,"ngIf"],["matPrefix","",1,"mat-icon-prefix",3,"click"],["matSuffix","",1,"mat-icon-suffix",3,"click"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"mat-form-field",0),t.ɵɵtemplate(1,Qe,2,1,"mat-label",1),t.ɵɵtemplate(2,qe,2,1,"mat-icon",2),t.ɵɵelementStart(3,"input",3),t.ɵɵlistener("ngModelChange",(function(e){return n.value=e})),t.ɵɵelementEnd(),t.ɵɵtemplate(4,Ke,2,1,"mat-icon",4),t.ɵɵelementEnd()),2&e&&(t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.label),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.iconPrefix),t.ɵɵadvance(1),t.ɵɵproperty("ngModel",n.value)("disabled",n.disabled)("autocomplete",n.autoComplete),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.iconSuffix))},directives:[a.MatFormField,o.NgIf,s.MatInput,n.NumberValueAccessor,n.DefaultValueAccessor,n.NgControlStatus,n.NgModel,a.MatLabel,c.MatIcon,a.MatPrefix,a.MatSuffix],styles:[':root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ysmIEDQ.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0w8mIEDQ.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ycmIEDQ.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:400;src:local("PT Sans Italic"),local("PTSans-Italic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0x8mI.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIhUdwzM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydKxUdwzM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIRUdwzM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:italic;font-weight:700;src:local("PT Sans Bold Italic"),local("PTSans-BoldItalic"),url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydLxUd.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0-ExdGM.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0aExdGM.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0yExdGM.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:400;src:local("PT Sans"),local("PTSans-Regular"),url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0KExQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:PT Sans;font-style:normal;font-weight:700;src:local("PT Sans Bold"),local("PTSans-Bold"),url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.text-primary{color:var(--color-primary)!important}.text-secondary{color:var(--color-secondary)!important}.text-tertiary{color:var(--color-fonts-tertiary)!important}.text-weight-bold{font-weight:700!important}.text-weight-normal{font-weight:400!important}.mat-form-field-underline,.mat-input-underline{display:none}.mat-form-field-appearance-fill .mat-form-field-flex{align-items:center!important;background:var(--color-inputs-background)!important;border:1px solid var(--color-inputs-border)!important;border-radius:6px!important;display:flex!important}.mat-form-field-infix{align-items:center!important;border-top:none!important;padding:0!important}.mat-form-field-infix,.mat-select-arrow-wrapper{display:flex!important}.mat-icon-button{width:auto!important}.no-border .mat-form-field-flex{border:none!important}.no-border .mat-form-field-flex input{padding:1px}.mat-form-field-label-wrapper{top:-10px}.mat-form-field-should-float .mat-form-field-label-wrapper{font-size:14px}.placeholder-primary .mat-focused .mat-form-field-placeholder,.placeholder-primary .mat-form-field-label-wrapper,.placeholder-primary .mat-form-field-label-wrapper label,.placeholder-primary .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-primary ::ng-deep .mat-form-field-placeholder{color:var(--color-primary)!important}.placeholder-primary input ::placeholder{color:var(--color-primary)!important}.placeholder-bold .mat-focused .mat-form-field-placeholder,.placeholder-bold .mat-form-field-label-wrapper,.placeholder-bold .mat-form-field-label-wrapper label,.placeholder-bold .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-focused .mat-form-field-placeholder,.placeholder-bold ::ng-deep .mat-form-field-placeholder{font-weight:700!important}.placeholder-bold input ::placeholder{font-weight:700!important}.apipass-input-text{width:100%}.apipass-input-text .mat-form-field-flex{padding:10px!important}.apipass-date-filter .mat-form-field-wrapper,.apipass-input-text .mat-form-field-wrapper,.apipass-search-input-text .mat-form-field-wrapper,.apipass-select .mat-form-field-wrapper,.custom-select-component .mat-form-field-wrapper{padding:0!important}.apipass-date-filter .mat-icon-button,.apipass-input-text .mat-icon-button,.apipass-search-input-text .mat-icon-button,.apipass-select .mat-icon-button,.custom-select-component .mat-icon-button{height:auto!important;width:auto!important}.apipass-date-filter.label-input .mat-form-field-label-wrapper,.apipass-input-text.label-input .mat-form-field-label-wrapper,.apipass-search-input-text.label-input .mat-form-field-label-wrapper,.apipass-select.label-input .mat-form-field-label-wrapper,.custom-select-component.label-input .mat-form-field-label-wrapper{padding-top:0;top:auto!important}.apipass-date-filter.label-input input,.apipass-input-text.label-input input,.apipass-search-input-text.label-input input,.apipass-select.label-input input,.custom-select-component.label-input input{padding-bottom:5px!important;padding-top:10px!important}.apipass-date-filter.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-search-input-text.mat-form-field-should-float .mat-form-field-label-wrapper,.apipass-select.mat-form-field-should-float .mat-form-field-label-wrapper,.custom-select-component.mat-form-field-should-float .mat-form-field-label-wrapper{margin-top:-10px!important;padding-top:0!important}.apipass-search-input-text{width:100%}.apipass-search-input-text.small-text{font-size:12px}.apipass-search-input-text .mat-form-field-flex{border-left:none!important;border-radius:0!important;border-right:none!important;border-top:none!important;padding:2px 5px 2px 2px!important}.apipass-search-input-text .search-icon{margin-top:-5px!important}.custom-select-component{width:100%}.custom-select-component .mat-form-field-flex{padding:1px 10px!important}.apipass-select{width:100%}.apipass-select .mat-form-field-flex{padding:10px 5px 10px 10px!important}.apipass-select.label-input .mat-form-field-infix{padding-bottom:7px!important;padding-top:7px!important}.apipass-date-filter{width:100%}.apipass-date-filter .mat-form-field-flex{padding:7px 10px!important}.apipass-date-filter .mat-form-field-suffix span{color:#777;cursor:pointer}.apipass-date-filter .mat-form-field-wrapper{padding-bottom:0!important}.apipass-input-text .mat-icon-suffix{margin-left:5px}.apipass-input-text .mat-icon-prefix{margin-right:5px}'],encapsulation:2});var Ge=t.ɵɵgetInheritedFactory(Ye),He=function(e){function t(){var t=e.apply(this,M(arguments))||this;return t.trueLabel="",t.trueIconPrefix="",t.trueIconSuffix="",t.falseLabel="",t.falseIconPrefix="",t.falseIconSuffix="",t.disabled=!1,t}return T(t,e),t.prototype.trueClick=function(){this.disabled||this.value||(this.value=!0)},t.prototype.falseClick=function(){!this.disabled&&this.value&&(this.value=!1)},t}(_);He.ɵfac=function(e){return Ze(e||He)},He.ɵcmp=t.ɵɵdefineComponent({type:He,selectors:[["input-boolean"]],inputs:{trueLabel:"trueLabel",trueIconPrefix:"trueIconPrefix",trueIconSuffix:"trueIconSuffix",falseLabel:"falseLabel",falseIconPrefix:"falseIconPrefix",falseIconSuffix:"falseIconSuffix",disabled:"disabled"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return He})),multi:!0}]),t.ɵɵInheritDefinitionFeature],decls:3,vars:10,consts:[[1,"input-boolean"],[1,"btn-true",3,"selected","label","icon","suffixIcon","btnDisabled","onClick"],[1,"btn-false",3,"selected","label","icon","suffixIcon","btnDisabled","onClick"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"div",0),t.ɵɵelementStart(1,"primary-button",1),t.ɵɵlistener("onClick",(function(){return n.trueClick()})),t.ɵɵelementEnd(),t.ɵɵelementStart(2,"primary-button",2),t.ɵɵlistener("onClick",(function(){return n.falseClick()})),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e&&(t.ɵɵadvance(1),t.ɵɵproperty("selected",!0===n.value)("label",n.trueLabel)("icon",n.trueIconPrefix)("suffixIcon",n.trueIconSuffix)("btnDisabled",n.disabled),t.ɵɵadvance(1),t.ɵɵproperty("selected",!1===n.value||void 0===n.value)("label",n.falseLabel)("icon",n.falseIconPrefix)("suffixIcon",n.falseIconSuffix)("btnDisabled",n.disabled))},directives:[S.PrimaryButtonComponent],styles:[".input-boolean{display:flex;flex-wrap:wrap;width:100%}.input-boolean primary-button:first-child{margin-right:5px}.input-boolean primary-button button:not(.selected){background:#fff;border:1px solid var(--color-fonts-tertiary);color:var(--color-fonts-tertiary);cursor:pointer}.input-boolean primary-button button:not(.selected):hover{color:#fff}.input-boolean primary-button button:not(.selected).mat-button-disabled{color:var(--color-fonts-tertiary)!important;cursor:default!important;pointer-events:none!important}.input-boolean primary-button button.selected{cursor:default;pointer-events:none}.input-boolean primary-button button.selected,.input-boolean primary-button button.selected:hover{background:#fff;border:1px solid var(--color-primary);color:var(--color-primary)}.input-boolean primary-button button.selected.mat-button-disabled{background:var(--color-fonts-tertiary);color:#fff!important;cursor:default!important;pointer-events:none!important}"],encapsulation:2});var Ze=t.ɵɵgetInheritedFactory(He),$e=function(){function e(e){var n=this;this.ngModel=e,this.debounceTime=500,this.onDebounceTriggered=new t.EventEmitter,this.subscription=this.ngModel.control.valueChanges.pipe(g.skip(1),g.distinctUntilChanged(),g.debounceTime(this.debounceTime)).subscribe((function(e){return n.onDebounceTriggered.emit(e)}))}return e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e}();$e.ɵfac=function(e){return new(e||$e)(t.ɵɵdirectiveInject(n.NgModel))},$e.ɵdir=t.ɵɵdefineDirective({type:$e,selectors:[["","debounceInput",""]],inputs:{debounceTime:"debounceTime"},outputs:{onDebounceTriggered:"onDebounceTriggered"}});var We=["trigger"],Je=["input"];function Xe(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"li",15),t.ɵɵlistener("click",(function(){t.ɵɵrestoreView(o);var e=n.$implicit;return t.ɵɵnextContext(2).selectItem(e)}))("mousedown",(function(){t.ɵɵrestoreView(o);var e=n.$implicit;return t.ɵɵnextContext(2).selectItem(e)})),t.ɵɵtext(1),t.ɵɵelementEnd()}if(2&e){var a=n.$implicit;t.ɵɵadvance(1),t.ɵɵtextInterpolate1(" ",a.text," ")}}function et(e,n){if(1&e){var o=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"ul",10),t.ɵɵelementStart(1,"li",11),t.ɵɵelementStart(2,"mat-form-field",12),t.ɵɵelementStart(3,"input",13),t.ɵɵlistener("ngModelChange",(function(e){return t.ɵɵrestoreView(o),t.ɵɵnextContext().searchText=e}))("blur",(function(e){return t.ɵɵrestoreView(o),t.ɵɵnextContext().onBlur(e)})),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵtemplate(4,Xe,2,1,"li",14),t.ɵɵpipe(5,"selectFilter"),t.ɵɵelementEnd()}if(2&e){var a=t.ɵɵnextContext();t.ɵɵadvance(3),t.ɵɵproperty("placeholder",a.findPlaceHolder)("ngModel",a.searchText),t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",t.ɵɵpipeBind3(5,3,a.items,a.searchText,"text"))}}var tt=function(e){return{"select-open":e}},nt=function(){return{standalone:!0}},ot=function(e,t){return{"fa-caret-down":e,"fa-caret-up":t}},at=function(){function e(e){this.sso=e,this.edited=!1,this.selectedItemLabel="",this.searchText="",this.opened=!1,this.disabled=!1,this.items=[],this.placeHolder="Select",this.findPlaceHolder="Find item",this.onSelect=new t.EventEmitter,this.tabindex="0",this.onTouchedCallback=function(){},this.onChangeCallback=function(){},this.scrollStrategy=this.sso.block()}return e.prototype.onBlur=function(e){this.selectedItemLabel?this.edited&&(this.writeValue(this.selectedItemLabel),this.selectedItem=new Te(this.selectedItemLabel,this.selectedItemLabel),this.onSelect.next(this.selectedItem)):(this.writeValue(void 0),this.onSelect.next(void 0)),e&&e.relatedTarget&&e.relatedTarget.classList.contains("search-input-item")||(this.setTriggerRect(),this.opened=!1)},e.prototype.ngAfterViewInit=function(){var e=this;setTimeout((function(){e.setInitialState(),e.setTriggerRect()}),300)},e.prototype.setInitialState=function(){var e=this;setTimeout((function(){if(e.value&&e.items){var t=e.items.find((function(t){return t.id===e.value}));e.selectedItemLabel=(null==t?void 0:t.text)||e.value}}))},e.prototype.setTriggerRect=function(){var e=this;setTimeout((function(){var t;e._triggerRect=null===(t=e.trigger)||void 0===t?void 0:t.nativeElement.getBoundingClientRect()}))},e.prototype.selectItem=function(e){this.opened=!1,this.edited=!1,this.selectedItem=e,this.value=e.id,this.selectedItemLabel=e.text,this.searchText="",this.onSelect.next(e)},e.prototype.keyPress=function(){this.setTriggerRect(),this.opened=!1,this.edited=!0,this.searchText=""},e.prototype.clicked=function(){this.setTriggerRect(),this.opened=!0,this.searchText=""},Object.defineProperty(e.prototype,"value",{get:function(){return this.innerValue},set:function(e){this.innerValue=e,this.onChangeCallback(e)},enumerable:!1,configurable:!0}),e.prototype.writeValue=function(e){e!==this.value&&(this.value=e)},e.prototype.registerOnChange=function(e){this.onChangeCallback=e},e.prototype.registerOnTouched=function(e){this.onTouchedCallback=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.arrowClick=function(e){var t;e.stopPropagation(),this.setTriggerRect(),this.opened?this.opened=!1:(this.opened=!0,this.searchText="",null===(t=this.input)||void 0===t||t.nativeElement.focus())},e.prototype.onDrop=function(e){this.searchText="",this.value||(this.value=""),this.edited=!0,this.value+="{{"+e.data+"}}",this.selectedItemLabel=this.value,this.onBlur(void 0)},e}();at.ɵfac=function(e){return new(e||at)(t.ɵɵdirectiveInject(x.ScrollStrategyOptions))},at.ɵcmp=t.ɵɵdefineComponent({type:at,selectors:[["select-interpolation"]],viewQuery:function(e,n){var o;(1&e&&(t.ɵɵviewQuery(We,!0),t.ɵɵviewQuery(Je,!0,t.ElementRef)),2&e)&&(t.ɵɵqueryRefresh(o=t.ɵɵloadQuery())&&(n.trigger=o.first),t.ɵɵqueryRefresh(o=t.ɵɵloadQuery())&&(n.input=o.first))},hostVars:1,hostBindings:function(e,n){1&e&&t.ɵɵlistener("blur",(function(e){return n.onBlur(e.target)})),2&e&&t.ɵɵattribute("tabindex",n.tabindex)},inputs:{disabled:"disabled",items:"items",placeHolder:"placeHolder",findPlaceHolder:"findPlaceHolder"},outputs:{onSelect:"onSelect"},features:[t.ɵɵProvidersFeature([{provide:n.NG_VALUE_ACCESSOR,useExisting:t.forwardRef((function(){return at})),multi:!0}])],decls:10,vars:17,consts:[[1,"custom-select-input"],["trigger",""],["cdkOverlayOrigin","","appearance","fill","autocomplete","off",1,"custom-select-component",3,"ngClass"],["origin","cdkOverlayOrigin"],["matInput","","dndDropzone","","autocomplete","off",3,"placeholder","ngModel","ngModelOptions","disabled","focus","blur","ngModelChange","keyup","click","dndDrop"],["input",""],[1,"open-icon",3,"click"],[1,"fas",3,"ngClass"],[1,"custom-select-component"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth"],[1,"ul-ac"],[1,"li-search","search-input-item"],["appearance","fill",1,"apipass-input-text","search-input-item"],["matInput","","aria-autocomplete","none","autocomplete","off",1,"search-input-item",3,"placeholder","ngModel","ngModelChange","blur"],["class","clickable",3,"click","mousedown",4,"ngFor","ngForOf"],[1,"clickable",3,"click","mousedown"]],template:function(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",0,1),t.ɵɵelementStart(2,"mat-form-field",2,3),t.ɵɵelementStart(4,"input",4,5),t.ɵɵlistener("focus",(function(){return n.opened=!0}))("blur",(function(e){return n.onBlur(e)}))("ngModelChange",(function(e){return n.selectedItemLabel=e}))("keyup",(function(){return n.keyPress()}))("click",(function(){return n.clicked()}))("dndDrop",(function(e){return n.onDrop(e)})),t.ɵɵelementEnd(),t.ɵɵelementStart(6,"span",6),t.ɵɵlistener("click",(function(e){return n.arrowClick(e)})),t.ɵɵelement(7,"i",7),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(8,"div",8),t.ɵɵtemplate(9,et,6,7,"ng-template",9),t.ɵɵelementEnd()),2&e){var o=t.ɵɵreference(3);t.ɵɵadvance(2),t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(11,tt,n.opened)),t.ɵɵadvance(2),t.ɵɵproperty("placeholder",n.placeHolder)("ngModel",n.selectedItemLabel)("ngModelOptions",t.ɵɵpureFunction0(13,nt))("disabled",n.disabled),t.ɵɵadvance(3),t.ɵɵproperty("ngClass",t.ɵɵpureFunction2(14,ot,!n.opened,n.opened)),t.ɵɵadvance(2),t.ɵɵproperty("cdkConnectedOverlayPanelClass","custom-select-overlay-panel")("cdkConnectedOverlayScrollStrategy",n.scrollStrategy)("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayOpen",n.opened)("cdkConnectedOverlayMinWidth",null==n._triggerRect?null:n._triggerRect.width)}},directives:[a.MatFormField,x.CdkOverlayOrigin,o.NgClass,s.MatInput,n.DefaultValueAccessor,y.DndDropzoneDirective,n.NgControlStatus,n.NgModel,x.CdkConnectedOverlay,o.NgForOf],pipes:[r.SelectFilterPipe],styles:[".custom-select-component[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%], .custom-select-overlay-panel{cursor:pointer}.custom-select-component[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .custom-select-overlay-panel input{background:#fff!important;height:48px}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac{background:#fff;border:1px solid #ccc;box-sizing:border-box;list-style:none;margin-top:-1px;max-height:16rem;overflow:auto;padding:0;position:relative;width:100%}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac li{cursor:pointer;font-size:12px;overflow:hidden;padding:10px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover, .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover, .custom-select-overlay-panel .ul-ac li:hover{background:#bbbcbc}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac li .mat-form-field-flex{height:37px!important}.custom-select-component[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .ul-ac[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .custom-select-overlay-panel .ul-ac li .mat-form-field-flex input{height:auto}.custom-select-component[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%], .custom-select-overlay-panel .selected{background-color:#898a8a!important}.custom-select-component[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%], .custom-select-overlay-panel .selected .fa{color:#fff!important}.custom-select-component[_ngcontent-%COMP%] .remove-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .remove-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .custom-select-overlay-panel .remove-icon i{color:red;margin-right:10px}.custom-select-component[_ngcontent-%COMP%] .open-icon[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .open-icon[_ngcontent-%COMP%], .custom-select-overlay-panel .open-icon{cursor:pointer}.custom-select-component[_ngcontent-%COMP%] .open-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .open-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .custom-select-overlay-panel .open-icon i{color:rgba(0,0,0,.54)}.custom-select-component[_ngcontent-%COMP%] .li-search[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .li-search[_ngcontent-%COMP%], .custom-select-overlay-panel .li-search{border-bottom:1px solid #ccc!important;cursor:default!important}.custom-select-component[_ngcontent-%COMP%] .li-search[_ngcontent-%COMP%]:hover, .custom-select-input[_ngcontent-%COMP%] .li-search[_ngcontent-%COMP%]:hover, .custom-select-overlay-panel .li-search:hover{background:#fff!important}.custom-select-component[_ngcontent-%COMP%] .select-open[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%], .custom-select-input[_ngcontent-%COMP%] .select-open[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%], .custom-select-overlay-panel .select-open .mat-form-field-flex{border-radius:6px 6px 0 0!important}"]});var it=function(){};it.ɵmod=t.ɵɵdefineNgModule({type:it}),it.ɵinj=t.ɵɵdefineInjector({factory:function(e){return new(e||it)},providers:[],imports:[[w.RouterModule.forChild([]),o.CommonModule,n.FormsModule,a.MatFormFieldModule,s.MatInputModule,d.MatPasswordStrengthModule,i.MatSelectModule,b.MatSelectFilterModule,h.NgSelectModule,r.PipeModule,c.MatIconModule,u.IconsModule,p.MatTooltipModule,y.DndModule,S.ButtonsModule,x.OverlayModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&t.ɵɵsetNgModuleScope(it,{declarations:[Pe,Ce,k,N,Ye,He,F,J,Ve,Be,at,ie,Ne,Ae,$e],imports:[w.RouterModule,o.CommonModule,n.FormsModule,a.MatFormFieldModule,s.MatInputModule,d.MatPasswordStrengthModule,i.MatSelectModule,b.MatSelectFilterModule,h.NgSelectModule,r.PipeModule,c.MatIconModule,u.IconsModule,p.MatTooltipModule,y.DndModule,S.ButtonsModule,x.OverlayModule],exports:[Ce,k,N,Ye,He,F,J,Ve,Be,at,ie,Ne,Ae,$e]}),e.AceEditorComponent=Ne,e.AceEditorDirective=Ae,e.CustomSelectComponent=Be,e.CustomSelectItem=Te,e.DebouceInputDirective=$e,e.FieldComponent=ie,e.InputAvatarComponent=J,e.InputBooleanComponent=He,e.InputFileComponent=Ve,e.InputNumberComponent=Ye,e.InputPasswordComponent=F,e.InputTextComponent=N,e.InputsModule=it,e.SelectBoxComponent=Ce,e.SelectEnumComponent=k,e.SelectInterpolationComponent=at,Object.defineProperty(e,"__esModule",{value:!0})}));
16
- //# sourceMappingURL=apipass-inputs.umd.min.js.map