@apipass/inputs 0.2.1-alpha.6 → 0.2.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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(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('@ngx-translate/core'), 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('ngx-drag-drop'), require('@angular/router')) :
3
- typeof define === 'function' && define.amd ? define('@apipass/inputs', ['exports', '@angular/core', '@angular/forms', '@angular/common', '@angular/material/form-field', '@angular/material/select', '@angular/material/core', '@apipass/pipes', '@ngx-translate/core', '@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', 'ngx-drag-drop', '@angular/router'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.apipass = global.apipass || {}, global.apipass.inputs = {}), global.ng.core, global.ng.forms, global.ng.common, global.ng.material.formField, global.ng.material.select, global.ng.material.core, global.i6, global.i7, global.ng.material.input, global.ng.material.icon, global.ng.material.tooltip, global.lodash, global.i5$1, global.i3$1, global.rxjs, global.rxjs.operators, global.i1$2, global.matSelectFilter, global.i5$3, global.ng.router));
5
- }(this, (function (exports, i0, i4, i2, i1, i1$1, i5, i6, i7, i3, i5$2, i2$1, lodash, i5$1, i3$1, rxjs, operators, i1$2, matSelectFilter, i5$3, i1$3) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(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('@ngx-translate/core'), 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('ngx-drag-drop'), require('@angular/router'), require('brace'), require('brace/theme/monokai'), require('@apipass/buttons')) :
3
+ typeof define === 'function' && define.amd ? define('@apipass/inputs', ['exports', '@angular/core', '@angular/forms', '@angular/common', '@angular/material/form-field', '@angular/material/select', '@angular/material/core', '@apipass/pipes', '@ngx-translate/core', '@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', 'ngx-drag-drop', '@angular/router', 'brace', 'brace/theme/monokai', '@apipass/buttons'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.apipass = global.apipass || {}, global.apipass.inputs = {}), global.ng.core, global.ng.forms, global.ng.common, global.ng.material.formField, global.ng.material.select, global.ng.material.core, global.i6, global.i7, global.ng.material.input, global.ng.material.icon, global.ng.material.tooltip, global.lodash, global.i5$1, global.i3$1, global.rxjs, global.rxjs.operators, global.i1$2, global.matSelectFilter, global.i5$3, global.ng.router, null, null, global.i1$3));
5
+ }(this, (function (exports, i0, i4, i2, i1, i1$1, i5, i6, i7, i3, i5$2, i2$1, lodash, i5$1, i3$1, rxjs, operators, i1$2, matSelectFilter, i5$3, i1$4, brace, monokai, i1$3) { 'use strict';
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -679,7 +679,7 @@
679
679
  provide: i4.NG_VALUE_ACCESSOR,
680
680
  useExisting: i0.forwardRef(function () { return InputTextComponent; }),
681
681
  multi: true
682
- }]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 6, consts: [["appearance", "fill", 1, "apipass-input-text", "label-input"], [4, "ngIf"], ["class", "mat-icon-prefix", "matSuffix", "", 3, "click", 4, "ngIf"], ["matInput", "", "type", "text", 1, "input-text", 3, "ngModel", "disabled", "autocomplete", "ngModelChange"], ["class", "mat-icon-suffix", "matSuffix", "", 3, "click", 4, "ngIf"], ["matSuffix", "", 1, "mat-icon-prefix", 3, "click"], ["matSuffix", "", 1, "mat-icon-suffix", 3, "click"]], template: function InputTextComponent_Template(rf, ctx) {
682
+ }]), i0.ɵɵ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 InputTextComponent_Template(rf, ctx) {
683
683
  if (rf & 1) {
684
684
  i0.ɵɵelementStart(0, "mat-form-field", 0);
685
685
  i0.ɵɵtemplate(1, InputTextComponent_mat_label_1_Template, 2, 1, "mat-label", 1);
@@ -700,7 +700,7 @@
700
700
  i0.ɵɵadvance(1);
701
701
  i0.ɵɵproperty("ngIf", ctx.iconSuffix);
702
702
  }
703
- }, directives: [i1.MatFormField, i2.NgIf, i3.MatInput, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgModel, i1.MatLabel, i5$2.MatIcon, i1.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:-8px}"], encapsulation: 2 });
703
+ }, directives: [i1.MatFormField, i2.NgIf, i3.MatInput, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgModel, i1.MatLabel, i5$2.MatIcon, i1.MatPrefix, i1.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 });
704
704
  var ɵInputTextComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(InputTextComponent);
705
705
  /*@__PURE__*/ (function () {
706
706
  i0.ɵsetClassMetadata(InputTextComponent, [{
@@ -1013,106 +1013,152 @@
1013
1013
  })();
1014
1014
 
1015
1015
  var _c0$3 = ["ngSelectComponent"];
1016
- function SelectBoxComponent_ng_template_2_div_0_Template(rf, ctx) {
1016
+ function SelectBoxComponent_2_ng_template_0_div_0_Template(rf, ctx) {
1017
1017
  if (rf & 1) {
1018
- i0.ɵɵelementStart(0, "div", 7);
1019
- i0.ɵɵelement(1, "img", 8);
1018
+ i0.ɵɵelementStart(0, "div", 8);
1019
+ i0.ɵɵelement(1, "img", 9);
1020
+ i0.ɵɵelementEnd();
1021
+ }
1022
+ if (rf & 2) {
1023
+ var ctx_r7 = i0.ɵɵnextContext(3);
1024
+ i0.ɵɵadvance(1);
1025
+ i0.ɵɵproperty("src", ctx_r7.selectedItem[ctx_r7.bindImageUrl] || "./assets/images/no-image.png", i0.ɵɵsanitizeUrl)("alt", ctx_r7.selectedItem[ctx_r7.bindValue])("matTooltip", ctx_r7.selectedItem[ctx_r7.bindValue]);
1026
+ }
1027
+ }
1028
+ function SelectBoxComponent_2_ng_template_0_span_1_Template(rf, ctx) {
1029
+ if (rf & 1) {
1030
+ i0.ɵɵelementStart(0, "span", 10);
1031
+ i0.ɵɵtext(1);
1020
1032
  i0.ɵɵelementEnd();
1021
1033
  }
1034
+ if (rf & 2) {
1035
+ var ctx_r8 = i0.ɵɵnextContext(3);
1036
+ i0.ɵɵadvance(1);
1037
+ i0.ɵɵtextInterpolate(ctx_r8.selectedItem[ctx_r8.bindValue]);
1038
+ }
1039
+ }
1040
+ function SelectBoxComponent_2_ng_template_0_Template(rf, ctx) {
1041
+ if (rf & 1) {
1042
+ i0.ɵɵtemplate(0, SelectBoxComponent_2_ng_template_0_div_0_Template, 2, 3, "div", 6);
1043
+ i0.ɵɵtemplate(1, SelectBoxComponent_2_ng_template_0_span_1_Template, 2, 1, "span", 7);
1044
+ }
1022
1045
  if (rf & 2) {
1023
1046
  var ctx_r5 = i0.ɵɵnextContext(2);
1047
+ i0.ɵɵproperty("ngIf", ctx_r5.selectedItem && ctx_r5.selectedItem[ctx_r5.bindKey] && ctx_r5.selectedItem[ctx_r5.bindValue] && ctx_r5.bindImageUrl);
1024
1048
  i0.ɵɵadvance(1);
1025
- i0.ɵɵproperty("src", ctx_r5.value[ctx_r5.bindImageUrl] || "./assets/images/no-image.png", i0.ɵɵsanitizeUrl)("alt", ctx_r5.value[ctx_r5.bindValue])("matTooltip", ctx_r5.value[ctx_r5.bindValue]);
1049
+ i0.ɵɵproperty("ngIf", ctx_r5.selectedItem && ctx_r5.selectedItem[ctx_r5.bindKey] && ctx_r5.selectedItem[ctx_r5.bindValue]);
1050
+ }
1051
+ }
1052
+ function SelectBoxComponent_2_Template(rf, ctx) {
1053
+ if (rf & 1) {
1054
+ i0.ɵɵtemplate(0, SelectBoxComponent_2_ng_template_0_Template, 2, 2, "ng-template", 5);
1026
1055
  }
1027
1056
  }
1028
- function SelectBoxComponent_ng_template_2_span_1_Template(rf, ctx) {
1057
+ function SelectBoxComponent_3_ng_template_0_div_0_Template(rf, ctx) {
1029
1058
  if (rf & 1) {
1030
- i0.ɵɵelementStart(0, "span", 9);
1059
+ i0.ɵɵelementStart(0, "div", 8);
1060
+ i0.ɵɵelement(1, "img", 9);
1061
+ i0.ɵɵelementEnd();
1062
+ }
1063
+ if (rf & 2) {
1064
+ var ctx_r11 = i0.ɵɵnextContext(3);
1065
+ i0.ɵɵadvance(1);
1066
+ i0.ɵɵproperty("src", ctx_r11.value[ctx_r11.bindImageUrl] || "./assets/images/no-image.png", i0.ɵɵsanitizeUrl)("alt", ctx_r11.value[ctx_r11.bindValue])("matTooltip", ctx_r11.value[ctx_r11.bindValue]);
1067
+ }
1068
+ }
1069
+ function SelectBoxComponent_3_ng_template_0_span_1_Template(rf, ctx) {
1070
+ if (rf & 1) {
1071
+ i0.ɵɵelementStart(0, "span", 10);
1031
1072
  i0.ɵɵtext(1);
1032
1073
  i0.ɵɵelementEnd();
1033
1074
  }
1034
1075
  if (rf & 2) {
1035
- var ctx_r6 = i0.ɵɵnextContext(2);
1076
+ var ctx_r12 = i0.ɵɵnextContext(3);
1036
1077
  i0.ɵɵadvance(1);
1037
- i0.ɵɵtextInterpolate(ctx_r6.value[ctx_r6.bindValue]);
1078
+ i0.ɵɵtextInterpolate(ctx_r12.value[ctx_r12.bindValue]);
1038
1079
  }
1039
1080
  }
1040
- function SelectBoxComponent_ng_template_2_Template(rf, ctx) {
1081
+ function SelectBoxComponent_3_ng_template_0_Template(rf, ctx) {
1041
1082
  if (rf & 1) {
1042
- i0.ɵɵtemplate(0, SelectBoxComponent_ng_template_2_div_0_Template, 2, 3, "div", 5);
1043
- i0.ɵɵtemplate(1, SelectBoxComponent_ng_template_2_span_1_Template, 2, 1, "span", 6);
1083
+ i0.ɵɵtemplate(0, SelectBoxComponent_3_ng_template_0_div_0_Template, 2, 3, "div", 6);
1084
+ i0.ɵɵtemplate(1, SelectBoxComponent_3_ng_template_0_span_1_Template, 2, 1, "span", 7);
1044
1085
  }
1045
1086
  if (rf & 2) {
1046
- var ctx_r1 = i0.ɵɵnextContext();
1047
- i0.ɵɵproperty("ngIf", ctx_r1.value && ctx_r1.value[ctx_r1.bindKey] && ctx_r1.value[ctx_r1.bindValue] && ctx_r1.bindImageUrl);
1087
+ var ctx_r9 = i0.ɵɵnextContext(2);
1088
+ i0.ɵɵproperty("ngIf", ctx_r9.value && ctx_r9.value[ctx_r9.bindKey] && ctx_r9.value[ctx_r9.bindValue] && ctx_r9.bindImageUrl);
1048
1089
  i0.ɵɵadvance(1);
1049
- i0.ɵɵproperty("ngIf", ctx_r1.value && ctx_r1.value[ctx_r1.bindKey] && ctx_r1.value[ctx_r1.bindValue]);
1090
+ i0.ɵɵproperty("ngIf", ctx_r9.value && ctx_r9.value[ctx_r9.bindKey] && ctx_r9.value[ctx_r9.bindValue]);
1091
+ }
1092
+ }
1093
+ function SelectBoxComponent_3_Template(rf, ctx) {
1094
+ if (rf & 1) {
1095
+ i0.ɵɵtemplate(0, SelectBoxComponent_3_ng_template_0_Template, 2, 2, "ng-template", 5);
1050
1096
  }
1051
1097
  }
1052
- function SelectBoxComponent_ng_template_3_icon_1_Template(rf, ctx) {
1098
+ function SelectBoxComponent_ng_template_4_icon_1_Template(rf, ctx) {
1053
1099
  if (rf & 1) {
1054
- i0.ɵɵelement(0, "icon", 13);
1100
+ i0.ɵɵelement(0, "icon", 14);
1055
1101
  }
1056
1102
  if (rf & 2) {
1057
- var ctx_r7 = i0.ɵɵnextContext(2);
1058
- i0.ɵɵproperty("title", ctx_r7.addNewItemText)("name", ctx_r7.addNewItemIcon)("size", 20);
1103
+ var ctx_r13 = i0.ɵɵnextContext(2);
1104
+ i0.ɵɵproperty("title", ctx_r13.addNewItemText)("name", ctx_r13.addNewItemIcon)("size", 20);
1059
1105
  }
1060
1106
  }
1061
- function SelectBoxComponent_ng_template_3_span_2_Template(rf, ctx) {
1107
+ function SelectBoxComponent_ng_template_4_span_2_Template(rf, ctx) {
1062
1108
  if (rf & 1) {
1063
- i0.ɵɵelementStart(0, "span", 14);
1109
+ i0.ɵɵelementStart(0, "span", 15);
1064
1110
  i0.ɵɵtext(1);
1065
1111
  i0.ɵɵelementEnd();
1066
1112
  }
1067
1113
  if (rf & 2) {
1068
- var ctx_r8 = i0.ɵɵnextContext(2);
1114
+ var ctx_r14 = i0.ɵɵnextContext(2);
1069
1115
  i0.ɵɵadvance(1);
1070
- i0.ɵɵtextInterpolate(ctx_r8.addNewItemText);
1116
+ i0.ɵɵtextInterpolate(ctx_r14.addNewItemText);
1071
1117
  }
1072
1118
  }
1073
- function SelectBoxComponent_ng_template_3_Template(rf, ctx) {
1119
+ function SelectBoxComponent_ng_template_4_Template(rf, ctx) {
1074
1120
  if (rf & 1) {
1075
- var _r10_1 = i0.ɵɵgetCurrentView();
1076
- i0.ɵɵelementStart(0, "div", 10);
1077
- i0.ɵɵlistener("click", function SelectBoxComponent_ng_template_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r10_1); var ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.onAddNewItem(); });
1078
- i0.ɵɵtemplate(1, SelectBoxComponent_ng_template_3_icon_1_Template, 1, 3, "icon", 11);
1079
- i0.ɵɵtemplate(2, SelectBoxComponent_ng_template_3_span_2_Template, 2, 1, "span", 12);
1121
+ var _r16_1 = i0.ɵɵgetCurrentView();
1122
+ i0.ɵɵelementStart(0, "div", 11);
1123
+ i0.ɵɵlistener("click", function SelectBoxComponent_ng_template_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r16_1); var ctx_r15 = i0.ɵɵnextContext(); return ctx_r15.onAddNewItem(); });
1124
+ i0.ɵɵtemplate(1, SelectBoxComponent_ng_template_4_icon_1_Template, 1, 3, "icon", 12);
1125
+ i0.ɵɵtemplate(2, SelectBoxComponent_ng_template_4_span_2_Template, 2, 1, "span", 13);
1080
1126
  i0.ɵɵelementEnd();
1081
1127
  }
1082
1128
  if (rf & 2) {
1083
- var ctx_r2 = i0.ɵɵnextContext();
1129
+ var ctx_r3 = i0.ɵɵnextContext();
1084
1130
  i0.ɵɵadvance(1);
1085
- i0.ɵɵproperty("ngIf", ctx_r2.addNewItemIcon);
1131
+ i0.ɵɵproperty("ngIf", ctx_r3.addNewItemIcon);
1086
1132
  i0.ɵɵadvance(1);
1087
- i0.ɵɵproperty("ngIf", ctx_r2.addNewItemText);
1133
+ i0.ɵɵproperty("ngIf", ctx_r3.addNewItemText);
1088
1134
  }
1089
1135
  }
1090
- function SelectBoxComponent_ng_template_4_div_0_Template(rf, ctx) {
1136
+ function SelectBoxComponent_ng_template_5_div_0_Template(rf, ctx) {
1091
1137
  if (rf & 1) {
1092
- i0.ɵɵelementStart(0, "div", 7);
1093
- i0.ɵɵelement(1, "img", 8);
1138
+ i0.ɵɵelementStart(0, "div", 8);
1139
+ i0.ɵɵelement(1, "img", 9);
1094
1140
  i0.ɵɵelementEnd();
1095
1141
  }
1096
1142
  if (rf & 2) {
1097
- var item_r11 = i0.ɵɵnextContext().item;
1098
- var ctx_r13 = i0.ɵɵnextContext();
1143
+ var item_r17 = i0.ɵɵnextContext().item;
1144
+ var ctx_r19 = i0.ɵɵnextContext();
1099
1145
  i0.ɵɵadvance(1);
1100
- i0.ɵɵproperty("src", item_r11[ctx_r13.bindImageUrl] || "./assets/images/no-image.png", i0.ɵɵsanitizeUrl)("alt", item_r11[ctx_r13.bindValue])("matTooltip", item_r11[ctx_r13.bindValue]);
1146
+ i0.ɵɵproperty("src", item_r17[ctx_r19.bindImageUrl] || "./assets/images/no-image.png", i0.ɵɵsanitizeUrl)("alt", item_r17[ctx_r19.bindValue])("matTooltip", item_r17[ctx_r19.bindValue]);
1101
1147
  }
1102
1148
  }
1103
- function SelectBoxComponent_ng_template_4_Template(rf, ctx) {
1149
+ function SelectBoxComponent_ng_template_5_Template(rf, ctx) {
1104
1150
  if (rf & 1) {
1105
- i0.ɵɵtemplate(0, SelectBoxComponent_ng_template_4_div_0_Template, 2, 3, "div", 5);
1106
- i0.ɵɵelementStart(1, "span", 15);
1151
+ i0.ɵɵtemplate(0, SelectBoxComponent_ng_template_5_div_0_Template, 2, 3, "div", 6);
1152
+ i0.ɵɵelementStart(1, "span", 16);
1107
1153
  i0.ɵɵtext(2);
1108
1154
  i0.ɵɵelementEnd();
1109
1155
  }
1110
1156
  if (rf & 2) {
1111
- var item_r11 = ctx.item;
1112
- var ctx_r3 = i0.ɵɵnextContext();
1113
- i0.ɵɵproperty("ngIf", ctx_r3.bindImageUrl);
1157
+ var item_r17 = ctx.item;
1158
+ var ctx_r4 = i0.ɵɵnextContext();
1159
+ i0.ɵɵproperty("ngIf", ctx_r4.bindImageUrl);
1114
1160
  i0.ɵɵadvance(2);
1115
- i0.ɵɵtextInterpolate(item_r11[ctx_r3.bindValue]);
1161
+ i0.ɵɵtextInterpolate(item_r17[ctx_r4.bindValue]);
1116
1162
  }
1117
1163
  }
1118
1164
  var _c1$2 = function (a0, a1) { return { "apipass-select-image": a0, "apipass-select": a1 }; };
@@ -1218,9 +1264,7 @@
1218
1264
  event.stopPropagation();
1219
1265
  };
1220
1266
  SelectBoxComponent.prototype.onSelectionChange = function (event) {
1221
- var _this = this;
1222
- var _a;
1223
- this.selectedItem = (_a = this.data) === null || _a === void 0 ? void 0 : _a.filter(function (el) { return el[_this.bindKey] === _this.value; })[0];
1267
+ this.findSelectedItem(this.value);
1224
1268
  this.onSelectChange.emit(this.selectedItem);
1225
1269
  };
1226
1270
  SelectBoxComponent.prototype.openSelectBox = function ($event) {
@@ -1246,6 +1290,22 @@
1246
1290
  }
1247
1291
  this.onAddNewItemClick.next();
1248
1292
  };
1293
+ SelectBoxComponent.prototype.writeValue = function (value) {
1294
+ _super.prototype.writeValue.call(this, value);
1295
+ if (value) {
1296
+ this.findSelectedItem(value);
1297
+ }
1298
+ };
1299
+ SelectBoxComponent.prototype.findSelectedItem = function (value) {
1300
+ var _this = this;
1301
+ var _a, _b;
1302
+ if (this.selectProperty) {
1303
+ this.selectedItem = (_a = this.data) === null || _a === void 0 ? void 0 : _a.find(function (el) { return el[_this.bindKey] === value; });
1304
+ }
1305
+ else {
1306
+ this.selectedItem = (_b = this.data) === null || _b === void 0 ? void 0 : _b.find(function (el) { return el[_this.bindKey] === value[_this.bindKey]; });
1307
+ }
1308
+ };
1249
1309
  return SelectBoxComponent;
1250
1310
  }(ValueAccessorBase));
1251
1311
  SelectBoxComponent.ɵfac = function SelectBoxComponent_Factory(t) { return ɵSelectBoxComponent_BaseFactory(t || SelectBoxComponent); };
@@ -1257,27 +1317,30 @@
1257
1317
  var _t;
1258
1318
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ngSelectComponent = _t.first);
1259
1319
  }
1260
- }, inputs: { placeholder: "placeholder", searchPlaceHolder: "searchPlaceHolder", clearText: "clearText", notFoundText: "notFoundText", enabledSearch: "enabledSearch", data: "data", disabled: "disabled", selectedItem: "selectedItem", bindImageUrl: "bindImageUrl", bindKey: "bindKey", bindValue: "bindValue", limitItens: "limitItens", showAddNewItem: "showAddNewItem", addNewItemText: "addNewItemText", addNewItemIcon: "addNewItemIcon", addNewItemClickCloseSelect: "addNewItemClickCloseSelect", closeOnBodyScroll: "closeOnBodyScroll" }, outputs: { onOpenSelectBox: "onOpenSelectBox", onCloseSelectBox: "onCloseSelectBox", onSelectChange: "onSelectChange", onSelectClear: "onSelectClear", onAddNewItemClick: "onAddNewItemClick" }, features: [i0.ɵɵProvidersFeature([{
1320
+ }, 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" }, outputs: { onOpenSelectBox: "onOpenSelectBox", onCloseSelectBox: "onCloseSelectBox", onSelectChange: "onSelectChange", onSelectClear: "onSelectClear", onAddNewItemClick: "onAddNewItemClick" }, features: [i0.ɵɵProvidersFeature([{
1261
1321
  provide: i4.NG_VALUE_ACCESSOR,
1262
1322
  useExisting: i0.forwardRef(function () { return SelectBoxComponent; }),
1263
1323
  multi: true
1264
- }]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 18, consts: [["appendTo", "body", 3, "ngModel", "items", "virtualScroll", "loading", "placeholder", "clearAllText", "searchable", "typeToSearchText", "notFoundText", "disabled", "typeahead", "ngClass", "compareWith", "ngModelChange", "open", "close", "clear", "scroll", "scrollToEnd", "change"], ["ngSelectComponent", ""], ["ng-label-tmp", "", 3, "ngIf"], ["ng-header-tmp", "", 3, "ngIf"], ["ng-option-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"], [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 SelectBoxComponent_Template(rf, ctx) {
1324
+ }]), i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 20, consts: [["appendTo", "body", 3, "ngModel", "items", "virtualScroll", "loading", "placeholder", "clearAllText", "searchable", "typeToSearchText", "notFoundText", "disabled", "typeahead", "ngClass", "compareWith", "bindValue", "ngModelChange", "open", "close", "clear", "scroll", "scrollToEnd", "change"], ["ngSelectComponent", ""], [4, "ngIf"], ["ng-header-tmp", "", 3, "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"], [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 SelectBoxComponent_Template(rf, ctx) {
1265
1325
  if (rf & 1) {
1266
1326
  i0.ɵɵelementStart(0, "ng-select", 0, 1);
1267
1327
  i0.ɵɵlistener("ngModelChange", function SelectBoxComponent_Template_ng_select_ngModelChange_0_listener($event) { return ctx.value = $event; })("open", function SelectBoxComponent_Template_ng_select_open_0_listener($event) { return ctx.openSelectBox($event); })("close", function SelectBoxComponent_Template_ng_select_close_0_listener($event) { return ctx.onClose($event); })("clear", function SelectBoxComponent_Template_ng_select_clear_0_listener() { return ctx.onClear(); })("scroll", function SelectBoxComponent_Template_ng_select_scroll_0_listener($event) { return ctx.onScroll($event); })("scrollToEnd", function SelectBoxComponent_Template_ng_select_scrollToEnd_0_listener() { return ctx.onScrollToEnd(); })("change", function SelectBoxComponent_Template_ng_select_change_0_listener($event) { return ctx.onSelectionChange($event); });
1268
- i0.ɵɵtemplate(2, SelectBoxComponent_ng_template_2_Template, 2, 2, "ng-template", 2);
1269
- i0.ɵɵtemplate(3, SelectBoxComponent_ng_template_3_Template, 3, 2, "ng-template", 3);
1270
- i0.ɵɵtemplate(4, SelectBoxComponent_ng_template_4_Template, 3, 2, "ng-template", 4);
1328
+ i0.ɵɵtemplate(2, SelectBoxComponent_2_Template, 1, 0, undefined, 2);
1329
+ i0.ɵɵtemplate(3, SelectBoxComponent_3_Template, 1, 0, undefined, 2);
1330
+ i0.ɵɵtemplate(4, SelectBoxComponent_ng_template_4_Template, 3, 2, "ng-template", 3);
1331
+ i0.ɵɵtemplate(5, SelectBoxComponent_ng_template_5_Template, 3, 2, "ng-template", 4);
1271
1332
  i0.ɵɵelementEnd();
1272
1333
  }
1273
1334
  if (rf & 2) {
1274
- i0.ɵɵproperty("ngModel", ctx.value)("items", ctx.visibleItens)("virtualScroll", true)("loading", ctx.loading)("placeholder", ctx.placeholder)("clearAllText", ctx.clearText)("searchable", ctx.enabledSearch)("typeToSearchText", ctx.searchPlaceHolder)("notFoundText", ctx.notFoundText)("disabled", ctx.disabled)("typeahead", ctx.inputFilter)("ngClass", i0.ɵɵpureFunction2(15, _c1$2, ctx.bindImageUrl, !ctx.bindImageUrl))("compareWith", ctx.compareFn);
1335
+ i0.ɵɵproperty("ngModel", ctx.value)("items", ctx.visibleItens)("virtualScroll", true)("loading", ctx.loading)("placeholder", ctx.placeholder)("clearAllText", ctx.clearText)("searchable", ctx.enabledSearch)("typeToSearchText", ctx.searchPlaceHolder)("notFoundText", ctx.notFoundText)("disabled", ctx.disabled)("typeahead", ctx.inputFilter)("ngClass", i0.ɵɵpureFunction2(17, _c1$2, ctx.bindImageUrl, !ctx.bindImageUrl))("compareWith", ctx.compareFn)("bindValue", ctx.selectProperty);
1275
1336
  i0.ɵɵadvance(2);
1276
- i0.ɵɵproperty("ngIf", ctx.value && ctx.value[ctx.bindKey] && ctx.value[ctx.bindValue]);
1337
+ i0.ɵɵproperty("ngIf", ctx.selectProperty && ctx.selectedItem && ctx.selectedItem[ctx.bindKey] && ctx.selectedItem[ctx.bindValue]);
1338
+ i0.ɵɵadvance(1);
1339
+ i0.ɵɵproperty("ngIf", !ctx.selectProperty && ctx.value && ctx.value[ctx.bindKey] && ctx.value[ctx.bindValue]);
1277
1340
  i0.ɵɵadvance(1);
1278
1341
  i0.ɵɵproperty("ngIf", ctx.showAddNewItem);
1279
1342
  }
1280
- }, directives: [i1$2.NgSelectComponent, i4.NgControlStatus, i4.NgModel, i2.NgClass, i1$2.ɵh, i2.NgIf, i1$2.ɵj, i1$2.ɵf, i2$1.MatTooltip, i3$1.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 });
1343
+ }, directives: [i1$2.NgSelectComponent, i4.NgControlStatus, i4.NgModel, i2.NgClass, i2.NgIf, i1$2.ɵj, i1$2.ɵf, i1$2.ɵh, i2$1.MatTooltip, i3$1.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 });
1281
1344
  var ɵSelectBoxComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SelectBoxComponent);
1282
1345
  /*@__PURE__*/ (function () {
1283
1346
  i0.ɵsetClassMetadata(SelectBoxComponent, [{
@@ -1309,6 +1372,8 @@
1309
1372
  type: i0.Input
1310
1373
  }], selectedItem: [{
1311
1374
  type: i0.Input
1375
+ }], selectProperty: [{
1376
+ type: i0.Input
1312
1377
  }], bindImageUrl: [{
1313
1378
  type: i0.Input
1314
1379
  }], bindKey: [{
@@ -1611,6 +1676,8 @@
1611
1676
  this.value = '';
1612
1677
  }
1613
1678
  this.value += "{{" + $event.data + "}}";
1679
+ this.edited = true;
1680
+ this.onBlur(undefined);
1614
1681
  };
1615
1682
  return CustomSelectComponent;
1616
1683
  }());
@@ -1850,6 +1917,663 @@
1850
1917
  }] });
1851
1918
  })();
1852
1919
 
1920
+ /* tslint:disable */
1921
+ var AceEditorComponent = /** @class */ (function () {
1922
+ function AceEditorComponent(elementRef, zone) {
1923
+ var _this = this;
1924
+ this.zone = zone;
1925
+ this.textChanged = new i0.EventEmitter();
1926
+ this.textChange = new i0.EventEmitter();
1927
+ this.style = {};
1928
+ // @ts-ignore
1929
+ this._options = {};
1930
+ // @ts-ignore
1931
+ this._theme = 'monokai';
1932
+ // @ts-ignore
1933
+ this._mode = 'html';
1934
+ // @ts-ignore
1935
+ this._autoUpdateContent = true;
1936
+ // @ts-ignore
1937
+ this._durationBeforeCallback = 0;
1938
+ // @ts-ignore
1939
+ this._text = '';
1940
+ this._onChange = function (_) {
1941
+ };
1942
+ this._onTouched = function () {
1943
+ };
1944
+ var el = elementRef.nativeElement;
1945
+ this.zone.runOutsideAngular(function () {
1946
+ _this._editor = ace['edit'](el);
1947
+ });
1948
+ this._editor.$blockScrolling = Infinity;
1949
+ }
1950
+ AceEditorComponent.prototype.ngOnInit = function () {
1951
+ this.init();
1952
+ this.initEvents();
1953
+ };
1954
+ AceEditorComponent.prototype.ngOnDestroy = function () {
1955
+ this._editor.destroy();
1956
+ };
1957
+ AceEditorComponent.prototype.init = function () {
1958
+ this.setOptions(this._options || {});
1959
+ this.setTheme(this._theme);
1960
+ this.setMode(this._mode);
1961
+ this.setReadOnly(this._readOnly);
1962
+ };
1963
+ AceEditorComponent.prototype.initEvents = function () {
1964
+ var _this = this;
1965
+ this._editor.on('change', function () { return _this.updateText(); });
1966
+ this._editor.on('paste', function () { return _this.updateText(); });
1967
+ };
1968
+ AceEditorComponent.prototype.updateText = function () {
1969
+ var _this = this;
1970
+ var newVal = this._editor.getValue();
1971
+ if (newVal === this.oldText) {
1972
+ return;
1973
+ }
1974
+ if (!this._durationBeforeCallback) {
1975
+ this._text = newVal;
1976
+ this.zone.run(function () {
1977
+ _this.textChange.emit(newVal);
1978
+ _this.textChanged.emit(newVal);
1979
+ });
1980
+ this._onChange(newVal);
1981
+ }
1982
+ else {
1983
+ if (this.timeoutSaving) {
1984
+ clearTimeout(this.timeoutSaving);
1985
+ }
1986
+ this.timeoutSaving = setTimeout(function () {
1987
+ _this._text = newVal;
1988
+ _this.zone.run(function () {
1989
+ _this.textChange.emit(newVal);
1990
+ _this.textChanged.emit(newVal);
1991
+ });
1992
+ _this.timeoutSaving = null;
1993
+ }, this._durationBeforeCallback);
1994
+ }
1995
+ this.oldText = newVal;
1996
+ };
1997
+ Object.defineProperty(AceEditorComponent.prototype, "options", {
1998
+ set: function (options) {
1999
+ this.setOptions(options);
2000
+ },
2001
+ enumerable: false,
2002
+ configurable: true
2003
+ });
2004
+ AceEditorComponent.prototype.setOptions = function (options) {
2005
+ this._options = options;
2006
+ this._editor.setOptions(options || {});
2007
+ };
2008
+ Object.defineProperty(AceEditorComponent.prototype, "readOnly", {
2009
+ set: function (readOnly) {
2010
+ this.setReadOnly(readOnly);
2011
+ },
2012
+ enumerable: false,
2013
+ configurable: true
2014
+ });
2015
+ AceEditorComponent.prototype.setReadOnly = function (readOnly) {
2016
+ this._readOnly = readOnly;
2017
+ this._editor.setReadOnly(readOnly);
2018
+ };
2019
+ Object.defineProperty(AceEditorComponent.prototype, "theme", {
2020
+ set: function (theme) {
2021
+ this.setTheme(theme);
2022
+ },
2023
+ enumerable: false,
2024
+ configurable: true
2025
+ });
2026
+ AceEditorComponent.prototype.setTheme = function (theme) {
2027
+ this._theme = theme;
2028
+ this._editor.setTheme("ace/theme/" + theme);
2029
+ };
2030
+ Object.defineProperty(AceEditorComponent.prototype, "mode", {
2031
+ set: function (mode) {
2032
+ this.setMode(mode);
2033
+ },
2034
+ enumerable: false,
2035
+ configurable: true
2036
+ });
2037
+ AceEditorComponent.prototype.setMode = function (mode) {
2038
+ this._mode = mode;
2039
+ if (typeof this._mode === 'object') {
2040
+ this._editor.getSession().setMode(this._mode);
2041
+ }
2042
+ else {
2043
+ this._editor.getSession().setMode("ace/mode/" + this._mode);
2044
+ }
2045
+ };
2046
+ Object.defineProperty(AceEditorComponent.prototype, "value", {
2047
+ // @ts-ignore
2048
+ get: function () {
2049
+ return this.text;
2050
+ },
2051
+ // @ts-ignore
2052
+ set: function (value) {
2053
+ this.setText(value);
2054
+ },
2055
+ enumerable: false,
2056
+ configurable: true
2057
+ });
2058
+ AceEditorComponent.prototype.writeValue = function (value) {
2059
+ this.setText(value);
2060
+ };
2061
+ AceEditorComponent.prototype.registerOnChange = function (fn) {
2062
+ this._onChange = fn;
2063
+ };
2064
+ AceEditorComponent.prototype.registerOnTouched = function (fn) {
2065
+ this._onTouched = fn;
2066
+ };
2067
+ Object.defineProperty(AceEditorComponent.prototype, "text", {
2068
+ get: function () {
2069
+ return this._text;
2070
+ },
2071
+ set: function (text) {
2072
+ this.setText(text);
2073
+ },
2074
+ enumerable: false,
2075
+ configurable: true
2076
+ });
2077
+ AceEditorComponent.prototype.setText = function (text) {
2078
+ if (text === null || text === undefined) {
2079
+ text = '';
2080
+ }
2081
+ if (this._text !== text && this._autoUpdateContent) {
2082
+ this._text = text;
2083
+ this._editor.setValue(text);
2084
+ this._onChange(text);
2085
+ this._editor.clearSelection();
2086
+ }
2087
+ };
2088
+ Object.defineProperty(AceEditorComponent.prototype, "autoUpdateContent", {
2089
+ set: function (status) {
2090
+ this.setAutoUpdateContent(status);
2091
+ },
2092
+ enumerable: false,
2093
+ configurable: true
2094
+ });
2095
+ AceEditorComponent.prototype.setAutoUpdateContent = function (status) {
2096
+ this._autoUpdateContent = status;
2097
+ };
2098
+ Object.defineProperty(AceEditorComponent.prototype, "durationBeforeCallback", {
2099
+ set: function (num) {
2100
+ this.setDurationBeforeCallback(num);
2101
+ },
2102
+ enumerable: false,
2103
+ configurable: true
2104
+ });
2105
+ AceEditorComponent.prototype.setDurationBeforeCallback = function (num) {
2106
+ this._durationBeforeCallback = num;
2107
+ };
2108
+ AceEditorComponent.prototype.getEditor = function () {
2109
+ return this._editor;
2110
+ };
2111
+ return AceEditorComponent;
2112
+ }());
2113
+ AceEditorComponent.ɵfac = function AceEditorComponent_Factory(t) { return new (t || AceEditorComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
2114
+ AceEditorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AceEditorComponent, 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: [i0.ɵɵProvidersFeature([{
2115
+ provide: i4.NG_VALUE_ACCESSOR,
2116
+ useExisting: i0.forwardRef(function () { return AceEditorComponent; }),
2117
+ multi: true
2118
+ }])], decls: 0, vars: 0, template: function AceEditorComponent_Template(rf, ctx) { }, styles: ["[_nghost-%COMP%] { display:block;width:100%; }"] });
2119
+ /*@__PURE__*/ (function () {
2120
+ i0.ɵsetClassMetadata(AceEditorComponent, [{
2121
+ type: i0.Component,
2122
+ args: [{
2123
+ selector: 'ace-editor',
2124
+ template: '',
2125
+ styles: [':host { display:block;width:100%; }'],
2126
+ providers: [{
2127
+ provide: i4.NG_VALUE_ACCESSOR,
2128
+ useExisting: i0.forwardRef(function () { return AceEditorComponent; }),
2129
+ multi: true
2130
+ }]
2131
+ }]
2132
+ }], function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, { textChanged: [{
2133
+ type: i0.Output
2134
+ }], textChange: [{
2135
+ type: i0.Output
2136
+ }], style: [{
2137
+ type: i0.Input
2138
+ }], options: [{
2139
+ type: i0.Input
2140
+ }], readOnly: [{
2141
+ type: i0.Input
2142
+ }], theme: [{
2143
+ type: i0.Input
2144
+ }], mode: [{
2145
+ type: i0.Input
2146
+ }], value: [{
2147
+ type: i0.Input
2148
+ }], text: [{
2149
+ type: i0.Input
2150
+ }], autoUpdateContent: [{
2151
+ type: i0.Input
2152
+ }], durationBeforeCallback: [{
2153
+ type: i0.Input
2154
+ }] });
2155
+ })();
2156
+
2157
+ /* tslint:disable */
2158
+ var AceEditorDirective = /** @class */ (function () {
2159
+ function AceEditorDirective(elementRef, zone) {
2160
+ var _this = this;
2161
+ this.zone = zone;
2162
+ this.textChanged = new i0.EventEmitter();
2163
+ this.textChange = new i0.EventEmitter();
2164
+ this._options = {};
2165
+ this._readOnly = false;
2166
+ this._theme = 'monokai';
2167
+ this._mode = 'html';
2168
+ this._autoUpdateContent = true;
2169
+ this._durationBeforeCallback = 0;
2170
+ this._text = '';
2171
+ var el = elementRef.nativeElement;
2172
+ this.zone.runOutsideAngular(function () {
2173
+ _this.editor = ace['edit'](el);
2174
+ });
2175
+ this.editor.$blockScrolling = Infinity;
2176
+ }
2177
+ AceEditorDirective.prototype.ngOnInit = function () {
2178
+ this.init();
2179
+ this.initEvents();
2180
+ };
2181
+ AceEditorDirective.prototype.ngOnDestroy = function () {
2182
+ this.editor.destroy();
2183
+ };
2184
+ AceEditorDirective.prototype.init = function () {
2185
+ this.editor.setOptions(this._options || {});
2186
+ this.editor.setTheme("ace/theme/" + this._theme);
2187
+ this.setMode(this._mode);
2188
+ this.editor.setReadOnly(this._readOnly);
2189
+ };
2190
+ AceEditorDirective.prototype.initEvents = function () {
2191
+ var _this = this;
2192
+ this.editor.on('change', function () { return _this.updateText(); });
2193
+ this.editor.on('paste', function () { return _this.updateText(); });
2194
+ };
2195
+ AceEditorDirective.prototype.updateText = function () {
2196
+ var _this = this;
2197
+ var newVal = this.editor.getValue();
2198
+ if (newVal === this.oldText) {
2199
+ return;
2200
+ }
2201
+ if (!this._durationBeforeCallback) {
2202
+ this._text = newVal;
2203
+ this.zone.run(function () {
2204
+ _this.textChange.emit(newVal);
2205
+ _this.textChanged.emit(newVal);
2206
+ });
2207
+ }
2208
+ else {
2209
+ if (this.timeoutSaving != null) {
2210
+ clearTimeout(this.timeoutSaving);
2211
+ }
2212
+ this.timeoutSaving = setTimeout(function () {
2213
+ _this._text = newVal;
2214
+ _this.zone.run(function () {
2215
+ _this.textChange.emit(newVal);
2216
+ _this.textChanged.emit(newVal);
2217
+ });
2218
+ _this.timeoutSaving = null;
2219
+ }, this._durationBeforeCallback);
2220
+ }
2221
+ this.oldText = newVal;
2222
+ };
2223
+ Object.defineProperty(AceEditorDirective.prototype, "options", {
2224
+ set: function (options) {
2225
+ this._options = options;
2226
+ this.editor.setOptions(options || {});
2227
+ },
2228
+ enumerable: false,
2229
+ configurable: true
2230
+ });
2231
+ Object.defineProperty(AceEditorDirective.prototype, "readOnly", {
2232
+ set: function (readOnly) {
2233
+ this._readOnly = readOnly;
2234
+ this.editor.setReadOnly(readOnly);
2235
+ },
2236
+ enumerable: false,
2237
+ configurable: true
2238
+ });
2239
+ Object.defineProperty(AceEditorDirective.prototype, "theme", {
2240
+ set: function (theme) {
2241
+ this._theme = theme;
2242
+ this.editor.setTheme("ace/theme/" + theme);
2243
+ },
2244
+ enumerable: false,
2245
+ configurable: true
2246
+ });
2247
+ Object.defineProperty(AceEditorDirective.prototype, "mode", {
2248
+ set: function (mode) {
2249
+ this.setMode(mode);
2250
+ },
2251
+ enumerable: false,
2252
+ configurable: true
2253
+ });
2254
+ AceEditorDirective.prototype.setMode = function (mode) {
2255
+ this._mode = mode;
2256
+ if (typeof this._mode === 'object') {
2257
+ this.editor.getSession().setMode(this._mode);
2258
+ }
2259
+ else {
2260
+ this.editor.getSession().setMode("ace/mode/" + this._mode);
2261
+ }
2262
+ };
2263
+ Object.defineProperty(AceEditorDirective.prototype, "text", {
2264
+ // @ts-ignore
2265
+ get: function () {
2266
+ return this._text;
2267
+ },
2268
+ set: function (text) {
2269
+ this.setText(text);
2270
+ },
2271
+ enumerable: false,
2272
+ configurable: true
2273
+ });
2274
+ AceEditorDirective.prototype.setText = function (text) {
2275
+ if (this._text !== text) {
2276
+ if (text === null || text === undefined) {
2277
+ text = '';
2278
+ }
2279
+ if (this._autoUpdateContent) {
2280
+ this._text = text;
2281
+ this.editor.setValue(text);
2282
+ this.editor.clearSelection();
2283
+ }
2284
+ }
2285
+ };
2286
+ Object.defineProperty(AceEditorDirective.prototype, "autoUpdateContent", {
2287
+ set: function (status) {
2288
+ this._autoUpdateContent = status;
2289
+ },
2290
+ enumerable: false,
2291
+ configurable: true
2292
+ });
2293
+ Object.defineProperty(AceEditorDirective.prototype, "durationBeforeCallback", {
2294
+ set: function (num) {
2295
+ this.setDurationBeforeCallback(num);
2296
+ },
2297
+ enumerable: false,
2298
+ configurable: true
2299
+ });
2300
+ AceEditorDirective.prototype.setDurationBeforeCallback = function (num) {
2301
+ this._durationBeforeCallback = num;
2302
+ };
2303
+ Object.defineProperty(AceEditorDirective.prototype, "aceEditor", {
2304
+ get: function () {
2305
+ return this.editor;
2306
+ },
2307
+ enumerable: false,
2308
+ configurable: true
2309
+ });
2310
+ return AceEditorDirective;
2311
+ }());
2312
+ AceEditorDirective.ɵfac = function AceEditorDirective_Factory(t) { return new (t || AceEditorDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
2313
+ AceEditorDirective.ɵdir = i0.ɵɵdefineDirective({ type: AceEditorDirective, selectors: [["", "ace-editor", ""]], inputs: { options: "options", readOnly: "readOnly", theme: "theme", mode: "mode", text: "text", autoUpdateContent: "autoUpdateContent", durationBeforeCallback: "durationBeforeCallback" }, outputs: { textChanged: "textChanged", textChange: "textChange" } });
2314
+ /*@__PURE__*/ (function () {
2315
+ i0.ɵsetClassMetadata(AceEditorDirective, [{
2316
+ type: i0.Directive,
2317
+ args: [{
2318
+ selector: '[ace-editor]'
2319
+ }]
2320
+ }], function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, { textChanged: [{
2321
+ type: i0.Output
2322
+ }], textChange: [{
2323
+ type: i0.Output
2324
+ }], options: [{
2325
+ type: i0.Input
2326
+ }], readOnly: [{
2327
+ type: i0.Input
2328
+ }], theme: [{
2329
+ type: i0.Input
2330
+ }], mode: [{
2331
+ type: i0.Input
2332
+ }], text: [{
2333
+ type: i0.Input
2334
+ }], autoUpdateContent: [{
2335
+ type: i0.Input
2336
+ }], durationBeforeCallback: [{
2337
+ type: i0.Input
2338
+ }] });
2339
+ })();
2340
+
2341
+ function InputNumberComponent_mat_label_1_Template(rf, ctx) {
2342
+ if (rf & 1) {
2343
+ i0.ɵɵelementStart(0, "mat-label");
2344
+ i0.ɵɵtext(1);
2345
+ i0.ɵɵelementEnd();
2346
+ }
2347
+ if (rf & 2) {
2348
+ var ctx_r0 = i0.ɵɵnextContext();
2349
+ i0.ɵɵadvance(1);
2350
+ i0.ɵɵtextInterpolate(ctx_r0.label);
2351
+ }
2352
+ }
2353
+ function InputNumberComponent_mat_icon_2_Template(rf, ctx) {
2354
+ if (rf & 1) {
2355
+ var _r4_1 = i0.ɵɵgetCurrentView();
2356
+ i0.ɵɵelementStart(0, "mat-icon", 5);
2357
+ i0.ɵɵlistener("click", function InputNumberComponent_mat_icon_2_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r4_1); var ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.prefixClick(); });
2358
+ i0.ɵɵtext(1);
2359
+ i0.ɵɵelementEnd();
2360
+ }
2361
+ if (rf & 2) {
2362
+ var ctx_r1 = i0.ɵɵnextContext();
2363
+ i0.ɵɵadvance(1);
2364
+ i0.ɵɵtextInterpolate(ctx_r1.iconPrefix);
2365
+ }
2366
+ }
2367
+ function InputNumberComponent_mat_icon_4_Template(rf, ctx) {
2368
+ if (rf & 1) {
2369
+ var _r6_1 = i0.ɵɵgetCurrentView();
2370
+ i0.ɵɵelementStart(0, "mat-icon", 6);
2371
+ i0.ɵɵlistener("click", function InputNumberComponent_mat_icon_4_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.suffixClick(); });
2372
+ i0.ɵɵtext(1);
2373
+ i0.ɵɵelementEnd();
2374
+ }
2375
+ if (rf & 2) {
2376
+ var ctx_r2 = i0.ɵɵnextContext();
2377
+ i0.ɵɵadvance(1);
2378
+ i0.ɵɵtextInterpolate(ctx_r2.iconSuffix);
2379
+ }
2380
+ }
2381
+ var InputNumberComponent = /** @class */ (function (_super) {
2382
+ __extends(InputNumberComponent, _super);
2383
+ function InputNumberComponent() {
2384
+ var _this = _super.apply(this, __spread(arguments)) || this;
2385
+ _this.label = '';
2386
+ _this.disabled = false;
2387
+ _this.iconSuffix = '';
2388
+ _this.iconPrefix = '';
2389
+ _this.autoComplete = 'on';
2390
+ _this.suffixIconClick = new i0.EventEmitter();
2391
+ _this.prefixIconClick = new i0.EventEmitter();
2392
+ return _this;
2393
+ }
2394
+ InputNumberComponent.prototype.onKeyDown = function (event) {
2395
+ if (event.which === 32) {
2396
+ event.target.value += ' ';
2397
+ }
2398
+ event.stopPropagation();
2399
+ };
2400
+ InputNumberComponent.prototype.prefixClick = function () {
2401
+ this.prefixIconClick.emit(true);
2402
+ };
2403
+ InputNumberComponent.prototype.suffixClick = function () {
2404
+ this.suffixIconClick.emit(true);
2405
+ };
2406
+ return InputNumberComponent;
2407
+ }(ValueAccessorBase));
2408
+ InputNumberComponent.ɵfac = function InputNumberComponent_Factory(t) { return ɵInputNumberComponent_BaseFactory(t || InputNumberComponent); };
2409
+ InputNumberComponent.ɵcmp = i0.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["input-number"]], inputs: { label: "label", disabled: "disabled", iconSuffix: "iconSuffix", iconPrefix: "iconPrefix", autoComplete: "autoComplete" }, outputs: { suffixIconClick: "suffixIconClick", prefixIconClick: "prefixIconClick" }, features: [i0.ɵɵProvidersFeature([{
2410
+ provide: i4.NG_VALUE_ACCESSOR,
2411
+ useExisting: i0.forwardRef(function () { return InputNumberComponent; }),
2412
+ multi: true
2413
+ }]), i0.ɵɵ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 InputNumberComponent_Template(rf, ctx) {
2414
+ if (rf & 1) {
2415
+ i0.ɵɵelementStart(0, "mat-form-field", 0);
2416
+ i0.ɵɵtemplate(1, InputNumberComponent_mat_label_1_Template, 2, 1, "mat-label", 1);
2417
+ i0.ɵɵtemplate(2, InputNumberComponent_mat_icon_2_Template, 2, 1, "mat-icon", 2);
2418
+ i0.ɵɵelementStart(3, "input", 3);
2419
+ i0.ɵɵlistener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_3_listener($event) { return ctx.value = $event; });
2420
+ i0.ɵɵelementEnd();
2421
+ i0.ɵɵtemplate(4, InputNumberComponent_mat_icon_4_Template, 2, 1, "mat-icon", 4);
2422
+ i0.ɵɵelementEnd();
2423
+ }
2424
+ if (rf & 2) {
2425
+ i0.ɵɵadvance(1);
2426
+ i0.ɵɵproperty("ngIf", ctx.label);
2427
+ i0.ɵɵadvance(1);
2428
+ i0.ɵɵproperty("ngIf", ctx.iconPrefix);
2429
+ i0.ɵɵadvance(1);
2430
+ i0.ɵɵproperty("ngModel", ctx.value)("disabled", ctx.disabled)("autocomplete", ctx.autoComplete);
2431
+ i0.ɵɵadvance(1);
2432
+ i0.ɵɵproperty("ngIf", ctx.iconSuffix);
2433
+ }
2434
+ }, directives: [i1.MatFormField, i2.NgIf, i3.MatInput, i4.NumberValueAccessor, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgModel, i1.MatLabel, i5$2.MatIcon, i1.MatPrefix, i1.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 });
2435
+ var ɵInputNumberComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(InputNumberComponent);
2436
+ /*@__PURE__*/ (function () {
2437
+ i0.ɵsetClassMetadata(InputNumberComponent, [{
2438
+ type: i0.Component,
2439
+ args: [{
2440
+ selector: 'input-number',
2441
+ templateUrl: 'input-number.component.html',
2442
+ styleUrls: ['input-number.component.scss'],
2443
+ providers: [{
2444
+ provide: i4.NG_VALUE_ACCESSOR,
2445
+ useExisting: i0.forwardRef(function () { return InputNumberComponent; }),
2446
+ multi: true
2447
+ }],
2448
+ encapsulation: i0.ViewEncapsulation.None
2449
+ }]
2450
+ }], null, { label: [{
2451
+ type: i0.Input
2452
+ }], disabled: [{
2453
+ type: i0.Input
2454
+ }], iconSuffix: [{
2455
+ type: i0.Input
2456
+ }], iconPrefix: [{
2457
+ type: i0.Input
2458
+ }], autoComplete: [{
2459
+ type: i0.Input
2460
+ }], suffixIconClick: [{
2461
+ type: i0.Output
2462
+ }], prefixIconClick: [{
2463
+ type: i0.Output
2464
+ }] });
2465
+ })();
2466
+
2467
+ var InputBooleanComponent = /** @class */ (function (_super) {
2468
+ __extends(InputBooleanComponent, _super);
2469
+ function InputBooleanComponent() {
2470
+ var _this = _super.apply(this, __spread(arguments)) || this;
2471
+ _this.trueLabel = '';
2472
+ _this.trueIconPrefix = '';
2473
+ _this.trueIconSuffix = '';
2474
+ _this.falseLabel = '';
2475
+ _this.falseIconPrefix = '';
2476
+ _this.falseIconSuffix = '';
2477
+ _this.disabled = false;
2478
+ return _this;
2479
+ }
2480
+ InputBooleanComponent.prototype.trueClick = function () {
2481
+ if (!this.disabled && !this.value) {
2482
+ this.value = true;
2483
+ }
2484
+ };
2485
+ InputBooleanComponent.prototype.falseClick = function () {
2486
+ if (!this.disabled && this.value) {
2487
+ this.value = false;
2488
+ }
2489
+ };
2490
+ return InputBooleanComponent;
2491
+ }(ValueAccessorBase));
2492
+ InputBooleanComponent.ɵfac = function InputBooleanComponent_Factory(t) { return ɵInputBooleanComponent_BaseFactory(t || InputBooleanComponent); };
2493
+ InputBooleanComponent.ɵcmp = i0.ɵɵdefineComponent({ type: InputBooleanComponent, selectors: [["input-boolean"]], inputs: { trueLabel: "trueLabel", trueIconPrefix: "trueIconPrefix", trueIconSuffix: "trueIconSuffix", falseLabel: "falseLabel", falseIconPrefix: "falseIconPrefix", falseIconSuffix: "falseIconSuffix", disabled: "disabled" }, features: [i0.ɵɵProvidersFeature([{
2494
+ provide: i4.NG_VALUE_ACCESSOR,
2495
+ useExisting: i0.forwardRef(function () { return InputBooleanComponent; }),
2496
+ multi: true
2497
+ }]), i0.ɵɵ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 InputBooleanComponent_Template(rf, ctx) {
2498
+ if (rf & 1) {
2499
+ i0.ɵɵelementStart(0, "div", 0);
2500
+ i0.ɵɵelementStart(1, "primary-button", 1);
2501
+ i0.ɵɵlistener("onClick", function InputBooleanComponent_Template_primary_button_onClick_1_listener() { return ctx.trueClick(); });
2502
+ i0.ɵɵelementEnd();
2503
+ i0.ɵɵelementStart(2, "primary-button", 2);
2504
+ i0.ɵɵlistener("onClick", function InputBooleanComponent_Template_primary_button_onClick_2_listener() { return ctx.falseClick(); });
2505
+ i0.ɵɵelementEnd();
2506
+ i0.ɵɵelementEnd();
2507
+ }
2508
+ if (rf & 2) {
2509
+ i0.ɵɵadvance(1);
2510
+ i0.ɵɵproperty("selected", ctx.value === true)("label", ctx.trueLabel)("icon", ctx.trueIconPrefix)("suffixIcon", ctx.trueIconSuffix)("btnDisabled", ctx.disabled);
2511
+ i0.ɵɵadvance(1);
2512
+ i0.ɵɵproperty("selected", ctx.value === false || ctx.value === undefined)("label", ctx.falseLabel)("icon", ctx.falseIconPrefix)("suffixIcon", ctx.falseIconSuffix)("btnDisabled", ctx.disabled);
2513
+ }
2514
+ }, directives: [i1$3.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 });
2515
+ var ɵInputBooleanComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(InputBooleanComponent);
2516
+ /*@__PURE__*/ (function () {
2517
+ i0.ɵsetClassMetadata(InputBooleanComponent, [{
2518
+ type: i0.Component,
2519
+ args: [{
2520
+ selector: 'input-boolean',
2521
+ templateUrl: 'input-boolean.component.html',
2522
+ styleUrls: ['input-boolean.component.scss'],
2523
+ providers: [{
2524
+ provide: i4.NG_VALUE_ACCESSOR,
2525
+ useExisting: i0.forwardRef(function () { return InputBooleanComponent; }),
2526
+ multi: true
2527
+ }],
2528
+ encapsulation: i0.ViewEncapsulation.None
2529
+ }]
2530
+ }], null, { trueLabel: [{
2531
+ type: i0.Input
2532
+ }], trueIconPrefix: [{
2533
+ type: i0.Input
2534
+ }], trueIconSuffix: [{
2535
+ type: i0.Input
2536
+ }], falseLabel: [{
2537
+ type: i0.Input
2538
+ }], falseIconPrefix: [{
2539
+ type: i0.Input
2540
+ }], falseIconSuffix: [{
2541
+ type: i0.Input
2542
+ }], disabled: [{
2543
+ type: i0.Input
2544
+ }] });
2545
+ })();
2546
+
2547
+ var DebouceInputDirective = /** @class */ (function () {
2548
+ function DebouceInputDirective(ngModel) {
2549
+ var _this = this;
2550
+ this.ngModel = ngModel;
2551
+ this.debounceTime = 500;
2552
+ this.onDebounceTriggered = new i0.EventEmitter();
2553
+ this.subscription = this.ngModel.control.valueChanges.pipe(operators.skip(1), operators.distinctUntilChanged(), operators.debounceTime(this.debounceTime)).subscribe(function (value) { return _this.onDebounceTriggered.emit(value); });
2554
+ }
2555
+ DebouceInputDirective.prototype.ngOnDestroy = function () {
2556
+ if (this.subscription) {
2557
+ this.subscription.unsubscribe();
2558
+ }
2559
+ };
2560
+ return DebouceInputDirective;
2561
+ }());
2562
+ DebouceInputDirective.ɵfac = function DebouceInputDirective_Factory(t) { return new (t || DebouceInputDirective)(i0.ɵɵdirectiveInject(i4.NgModel)); };
2563
+ DebouceInputDirective.ɵdir = i0.ɵɵdefineDirective({ type: DebouceInputDirective, selectors: [["", "debounceInput", ""]], inputs: { debounceTime: "debounceTime" }, outputs: { onDebounceTriggered: "onDebounceTriggered" } });
2564
+ /*@__PURE__*/ (function () {
2565
+ i0.ɵsetClassMetadata(DebouceInputDirective, [{
2566
+ type: i0.Directive,
2567
+ args: [{
2568
+ selector: '[debounceInput]',
2569
+ }]
2570
+ }], function () { return [{ type: i4.NgModel }]; }, { debounceTime: [{
2571
+ type: i0.Input
2572
+ }], onDebounceTriggered: [{
2573
+ type: i0.Output
2574
+ }] });
2575
+ })();
2576
+
1853
2577
  var InputsModule = /** @class */ (function () {
1854
2578
  function InputsModule() {
1855
2579
  }
@@ -1857,7 +2581,7 @@
1857
2581
  }());
1858
2582
  InputsModule.ɵmod = i0.ɵɵdefineNgModule({ type: InputsModule });
1859
2583
  InputsModule.ɵinj = i0.ɵɵdefineInjector({ factory: function InputsModule_Factory(t) { return new (t || InputsModule)(); }, providers: [], imports: [[
1860
- i1$3.RouterModule.forChild([]),
2584
+ i1$4.RouterModule.forChild([]),
1861
2585
  i2.CommonModule,
1862
2586
  i4.FormsModule,
1863
2587
  i1.MatFormFieldModule,
@@ -1872,17 +2596,23 @@
1872
2596
  i3$1.IconsModule,
1873
2597
  i2$1.MatTooltipModule,
1874
2598
  i5$3.DndModule,
2599
+ i1$3.ButtonsModule,
1875
2600
  ]] });
1876
2601
  (function () {
1877
2602
  (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(InputsModule, { declarations: [MatSelectInfiniteScrollDirective,
1878
2603
  SelectBoxComponent,
1879
2604
  SelectEnumComponent,
1880
2605
  InputTextComponent,
2606
+ InputNumberComponent,
2607
+ InputBooleanComponent,
1881
2608
  InputPasswordComponent,
1882
2609
  InputAvatarComponent,
1883
2610
  InputFileComponent,
1884
2611
  CustomSelectComponent,
1885
- FieldComponent], imports: [i1$3.RouterModule, i2.CommonModule,
2612
+ FieldComponent,
2613
+ AceEditorComponent,
2614
+ AceEditorDirective,
2615
+ DebouceInputDirective], imports: [i1$4.RouterModule, i2.CommonModule,
1886
2616
  i4.FormsModule,
1887
2617
  i1.MatFormFieldModule,
1888
2618
  i3.MatInputModule,
@@ -1895,21 +2625,27 @@
1895
2625
  i7.TranslateModule,
1896
2626
  i3$1.IconsModule,
1897
2627
  i2$1.MatTooltipModule,
1898
- i5$3.DndModule], exports: [SelectBoxComponent,
2628
+ i5$3.DndModule,
2629
+ i1$3.ButtonsModule], exports: [SelectBoxComponent,
1899
2630
  SelectEnumComponent,
1900
2631
  InputTextComponent,
2632
+ InputNumberComponent,
2633
+ InputBooleanComponent,
1901
2634
  InputPasswordComponent,
1902
2635
  InputAvatarComponent,
1903
2636
  InputFileComponent,
1904
2637
  CustomSelectComponent,
1905
- FieldComponent] });
2638
+ FieldComponent,
2639
+ AceEditorComponent,
2640
+ AceEditorDirective,
2641
+ DebouceInputDirective] });
1906
2642
  })();
1907
2643
  /*@__PURE__*/ (function () {
1908
2644
  i0.ɵsetClassMetadata(InputsModule, [{
1909
2645
  type: i0.NgModule,
1910
2646
  args: [{
1911
2647
  imports: [
1912
- i1$3.RouterModule.forChild([]),
2648
+ i1$4.RouterModule.forChild([]),
1913
2649
  i2.CommonModule,
1914
2650
  i4.FormsModule,
1915
2651
  i1.MatFormFieldModule,
@@ -1924,27 +2660,38 @@
1924
2660
  i3$1.IconsModule,
1925
2661
  i2$1.MatTooltipModule,
1926
2662
  i5$3.DndModule,
2663
+ i1$3.ButtonsModule,
1927
2664
  ],
1928
2665
  declarations: [
1929
2666
  MatSelectInfiniteScrollDirective,
1930
2667
  SelectBoxComponent,
1931
2668
  SelectEnumComponent,
1932
2669
  InputTextComponent,
2670
+ InputNumberComponent,
2671
+ InputBooleanComponent,
1933
2672
  InputPasswordComponent,
1934
2673
  InputAvatarComponent,
1935
2674
  InputFileComponent,
1936
2675
  CustomSelectComponent,
1937
- FieldComponent
2676
+ FieldComponent,
2677
+ AceEditorComponent,
2678
+ AceEditorDirective,
2679
+ DebouceInputDirective
1938
2680
  ],
1939
2681
  exports: [
1940
2682
  SelectBoxComponent,
1941
2683
  SelectEnumComponent,
1942
2684
  InputTextComponent,
2685
+ InputNumberComponent,
2686
+ InputBooleanComponent,
1943
2687
  InputPasswordComponent,
1944
2688
  InputAvatarComponent,
1945
2689
  InputFileComponent,
1946
2690
  CustomSelectComponent,
1947
- FieldComponent
2691
+ FieldComponent,
2692
+ AceEditorComponent,
2693
+ AceEditorDirective,
2694
+ DebouceInputDirective
1948
2695
  ],
1949
2696
  providers: [],
1950
2697
  }]
@@ -1955,11 +2702,16 @@
1955
2702
  * Generated bundle index. Do not edit.
1956
2703
  */
1957
2704
 
2705
+ exports.AceEditorComponent = AceEditorComponent;
2706
+ exports.AceEditorDirective = AceEditorDirective;
1958
2707
  exports.CustomSelectComponent = CustomSelectComponent;
1959
2708
  exports.CustomSelectItem = CustomSelectItem;
2709
+ exports.DebouceInputDirective = DebouceInputDirective;
1960
2710
  exports.FieldComponent = FieldComponent;
1961
2711
  exports.InputAvatarComponent = InputAvatarComponent;
2712
+ exports.InputBooleanComponent = InputBooleanComponent;
1962
2713
  exports.InputFileComponent = InputFileComponent;
2714
+ exports.InputNumberComponent = InputNumberComponent;
1963
2715
  exports.InputPasswordComponent = InputPasswordComponent;
1964
2716
  exports.InputTextComponent = InputTextComponent;
1965
2717
  exports.InputsModule = InputsModule;