@apipass/inputs 0.2.1-alpha.1 → 0.2.1-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ace-editor/component.d.ts +52 -0
- package/ace-editor/directive.d.ts +39 -0
- package/assets/css/buttons.scss +6 -0
- package/bundles/apipass-inputs.umd.js +774 -40
- package/bundles/apipass-inputs.umd.js.map +1 -1
- package/bundles/apipass-inputs.umd.min.js +2 -2
- package/bundles/apipass-inputs.umd.min.js.map +1 -1
- package/esm2015/ace-editor/component.js +204 -0
- package/esm2015/ace-editor/directive.js +150 -0
- package/esm2015/input-boolean/input-boolean.component.js +77 -0
- package/esm2015/input-number/input-number.component.js +118 -0
- package/esm2015/input-password/input-password.component.js +1 -1
- package/esm2015/input-text/input-text.component.js +3 -3
- package/esm2015/inputs.module.js +30 -6
- package/esm2015/public-api.js +5 -1
- package/esm2015/select-box/select-box.component.js +102 -26
- package/fesm2015/apipass-inputs.js +660 -37
- package/fesm2015/apipass-inputs.js.map +1 -1
- package/input-boolean/input-boolean.component.d.ts +15 -0
- package/input-number/input-number.component.d.ts +17 -0
- package/inputs.module.d.ts +26 -21
- package/package.json +4 -1
- package/public-api.d.ts +4 -0
- package/select-box/select-box.component.d.ts +13 -4
|
@@ -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", "
|
|
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, [{
|
|
@@ -1015,32 +1015,32 @@
|
|
|
1015
1015
|
var _c0$3 = ["ngSelectComponent"];
|
|
1016
1016
|
function SelectBoxComponent_ng_template_2_div_0_Template(rf, ctx) {
|
|
1017
1017
|
if (rf & 1) {
|
|
1018
|
-
i0.ɵɵelementStart(0, "div",
|
|
1019
|
-
i0.ɵɵelement(1, "img",
|
|
1018
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
1019
|
+
i0.ɵɵelement(1, "img", 8);
|
|
1020
1020
|
i0.ɵɵelementEnd();
|
|
1021
1021
|
}
|
|
1022
1022
|
if (rf & 2) {
|
|
1023
|
-
var
|
|
1023
|
+
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
1024
1024
|
i0.ɵɵadvance(1);
|
|
1025
|
-
i0.ɵɵproperty("src",
|
|
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]);
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
1028
|
function SelectBoxComponent_ng_template_2_span_1_Template(rf, ctx) {
|
|
1029
1029
|
if (rf & 1) {
|
|
1030
|
-
i0.ɵɵelementStart(0, "span",
|
|
1030
|
+
i0.ɵɵelementStart(0, "span", 9);
|
|
1031
1031
|
i0.ɵɵtext(1);
|
|
1032
1032
|
i0.ɵɵelementEnd();
|
|
1033
1033
|
}
|
|
1034
1034
|
if (rf & 2) {
|
|
1035
|
-
var
|
|
1035
|
+
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
1036
1036
|
i0.ɵɵadvance(1);
|
|
1037
|
-
i0.ɵɵtextInterpolate(
|
|
1037
|
+
i0.ɵɵtextInterpolate(ctx_r6.value[ctx_r6.bindValue]);
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
1040
|
function SelectBoxComponent_ng_template_2_Template(rf, ctx) {
|
|
1041
1041
|
if (rf & 1) {
|
|
1042
|
-
i0.ɵɵtemplate(0, SelectBoxComponent_ng_template_2_div_0_Template, 2, 3, "div",
|
|
1043
|
-
i0.ɵɵtemplate(1, SelectBoxComponent_ng_template_2_span_1_Template, 2, 1, "span",
|
|
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);
|
|
1044
1044
|
}
|
|
1045
1045
|
if (rf & 2) {
|
|
1046
1046
|
var ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -1049,32 +1049,70 @@
|
|
|
1049
1049
|
i0.ɵɵproperty("ngIf", ctx_r1.value && ctx_r1.value[ctx_r1.bindKey] && ctx_r1.value[ctx_r1.bindValue]);
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function SelectBoxComponent_ng_template_3_icon_1_Template(rf, ctx) {
|
|
1053
1053
|
if (rf & 1) {
|
|
1054
|
-
i0.ɵɵ
|
|
1055
|
-
|
|
1054
|
+
i0.ɵɵelement(0, "icon", 13);
|
|
1055
|
+
}
|
|
1056
|
+
if (rf & 2) {
|
|
1057
|
+
var ctx_r7 = i0.ɵɵnextContext(2);
|
|
1058
|
+
i0.ɵɵproperty("title", ctx_r7.addNewItemText)("name", ctx_r7.addNewItemIcon)("size", 20);
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
function SelectBoxComponent_ng_template_3_span_2_Template(rf, ctx) {
|
|
1062
|
+
if (rf & 1) {
|
|
1063
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
1064
|
+
i0.ɵɵtext(1);
|
|
1056
1065
|
i0.ɵɵelementEnd();
|
|
1057
1066
|
}
|
|
1058
1067
|
if (rf & 2) {
|
|
1059
|
-
var
|
|
1060
|
-
var ctx_r8 = i0.ɵɵnextContext();
|
|
1068
|
+
var ctx_r8 = i0.ɵɵnextContext(2);
|
|
1061
1069
|
i0.ɵɵadvance(1);
|
|
1062
|
-
i0.ɵɵ
|
|
1070
|
+
i0.ɵɵtextInterpolate(ctx_r8.addNewItemText);
|
|
1063
1071
|
}
|
|
1064
1072
|
}
|
|
1065
1073
|
function SelectBoxComponent_ng_template_3_Template(rf, ctx) {
|
|
1066
1074
|
if (rf & 1) {
|
|
1067
|
-
i0.ɵɵ
|
|
1068
|
-
i0.ɵɵelementStart(
|
|
1069
|
-
i0.ɵɵ
|
|
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);
|
|
1070
1080
|
i0.ɵɵelementEnd();
|
|
1071
1081
|
}
|
|
1072
1082
|
if (rf & 2) {
|
|
1073
|
-
var item_r6 = ctx.item;
|
|
1074
1083
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
1075
|
-
i0.ɵɵ
|
|
1084
|
+
i0.ɵɵadvance(1);
|
|
1085
|
+
i0.ɵɵproperty("ngIf", ctx_r2.addNewItemIcon);
|
|
1086
|
+
i0.ɵɵadvance(1);
|
|
1087
|
+
i0.ɵɵproperty("ngIf", ctx_r2.addNewItemText);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
function SelectBoxComponent_ng_template_4_div_0_Template(rf, ctx) {
|
|
1091
|
+
if (rf & 1) {
|
|
1092
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
1093
|
+
i0.ɵɵelement(1, "img", 8);
|
|
1094
|
+
i0.ɵɵelementEnd();
|
|
1095
|
+
}
|
|
1096
|
+
if (rf & 2) {
|
|
1097
|
+
var item_r11 = i0.ɵɵnextContext().item;
|
|
1098
|
+
var ctx_r13 = i0.ɵɵnextContext();
|
|
1099
|
+
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]);
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
function SelectBoxComponent_ng_template_4_Template(rf, ctx) {
|
|
1104
|
+
if (rf & 1) {
|
|
1105
|
+
i0.ɵɵtemplate(0, SelectBoxComponent_ng_template_4_div_0_Template, 2, 3, "div", 5);
|
|
1106
|
+
i0.ɵɵelementStart(1, "span", 15);
|
|
1107
|
+
i0.ɵɵtext(2);
|
|
1108
|
+
i0.ɵɵelementEnd();
|
|
1109
|
+
}
|
|
1110
|
+
if (rf & 2) {
|
|
1111
|
+
var item_r11 = ctx.item;
|
|
1112
|
+
var ctx_r3 = i0.ɵɵnextContext();
|
|
1113
|
+
i0.ɵɵproperty("ngIf", ctx_r3.bindImageUrl);
|
|
1076
1114
|
i0.ɵɵadvance(2);
|
|
1077
|
-
i0.ɵɵtextInterpolate(
|
|
1115
|
+
i0.ɵɵtextInterpolate(item_r11[ctx_r3.bindValue]);
|
|
1078
1116
|
}
|
|
1079
1117
|
}
|
|
1080
1118
|
var _c1$2 = function (a0, a1) { return { "apipass-select-image": a0, "apipass-select": a1 }; };
|
|
@@ -1093,18 +1131,42 @@
|
|
|
1093
1131
|
_this.bindKey = '';
|
|
1094
1132
|
_this.bindValue = '';
|
|
1095
1133
|
_this.limitItens = 30;
|
|
1134
|
+
_this.showAddNewItem = false;
|
|
1135
|
+
_this.addNewItemText = '';
|
|
1136
|
+
_this.addNewItemIcon = '';
|
|
1137
|
+
_this.addNewItemClickCloseSelect = false;
|
|
1138
|
+
_this.closeOnBodyScroll = false;
|
|
1096
1139
|
_this.onOpenSelectBox = new i0.EventEmitter();
|
|
1097
1140
|
_this.onCloseSelectBox = new i0.EventEmitter();
|
|
1098
1141
|
_this.onSelectChange = new i0.EventEmitter();
|
|
1099
1142
|
_this.onSelectClear = new i0.EventEmitter();
|
|
1143
|
+
_this.onAddNewItemClick = new i0.EventEmitter();
|
|
1100
1144
|
_this.visibleItens = [];
|
|
1101
1145
|
_this.loading = false;
|
|
1102
1146
|
_this.inputFilter = new rxjs.Subject();
|
|
1103
1147
|
_this.lastSearchTerm = '';
|
|
1148
|
+
_this.onBodyScroll = function (event) {
|
|
1149
|
+
var _a, _b;
|
|
1150
|
+
if (_this.closeOnBodyScroll && ((_a = _this.ngSelectComponent) === null || _a === void 0 ? void 0 : _a.isOpen)) {
|
|
1151
|
+
var isScrollingInScrollHost = ((_b = event.target.className) === null || _b === void 0 ? void 0 : _b.indexOf('ng-dropdown-panel-items')) > -1;
|
|
1152
|
+
if (isScrollingInScrollHost) {
|
|
1153
|
+
return;
|
|
1154
|
+
}
|
|
1155
|
+
_this.ngSelectComponent.close();
|
|
1156
|
+
}
|
|
1157
|
+
};
|
|
1104
1158
|
return _this;
|
|
1105
1159
|
}
|
|
1106
1160
|
SelectBoxComponent.prototype.ngOnInit = function () {
|
|
1107
1161
|
this.onSearch();
|
|
1162
|
+
if (this.closeOnBodyScroll) {
|
|
1163
|
+
window.addEventListener('scroll', this.onBodyScroll, true);
|
|
1164
|
+
}
|
|
1165
|
+
};
|
|
1166
|
+
SelectBoxComponent.prototype.ngOnDestroy = function () {
|
|
1167
|
+
if (this.closeOnBodyScroll) {
|
|
1168
|
+
window.removeEventListener('scroll', this.onBodyScroll, true);
|
|
1169
|
+
}
|
|
1108
1170
|
};
|
|
1109
1171
|
SelectBoxComponent.prototype.onSearch = function () {
|
|
1110
1172
|
var _this = this;
|
|
@@ -1124,8 +1186,8 @@
|
|
|
1124
1186
|
});
|
|
1125
1187
|
};
|
|
1126
1188
|
// @ts-ignore
|
|
1127
|
-
SelectBoxComponent.prototype.onScroll = function (
|
|
1128
|
-
var end =
|
|
1189
|
+
SelectBoxComponent.prototype.onScroll = function (_c) {
|
|
1190
|
+
var end = _c.end;
|
|
1129
1191
|
if (this.loading || this.data.length <= this.visibleItens.length) {
|
|
1130
1192
|
return;
|
|
1131
1193
|
}
|
|
@@ -1177,6 +1239,13 @@
|
|
|
1177
1239
|
SelectBoxComponent.prototype.onClose = function ($event) {
|
|
1178
1240
|
this.onCloseSelectBox.next();
|
|
1179
1241
|
};
|
|
1242
|
+
SelectBoxComponent.prototype.onAddNewItem = function () {
|
|
1243
|
+
var _a;
|
|
1244
|
+
if (this.addNewItemClickCloseSelect) {
|
|
1245
|
+
(_a = this.ngSelectComponent) === null || _a === void 0 ? void 0 : _a.close();
|
|
1246
|
+
}
|
|
1247
|
+
this.onAddNewItemClick.next();
|
|
1248
|
+
};
|
|
1180
1249
|
return SelectBoxComponent;
|
|
1181
1250
|
}(ValueAccessorBase));
|
|
1182
1251
|
SelectBoxComponent.ɵfac = function SelectBoxComponent_Factory(t) { return ɵSelectBoxComponent_BaseFactory(t || SelectBoxComponent); };
|
|
@@ -1188,24 +1257,27 @@
|
|
|
1188
1257
|
var _t;
|
|
1189
1258
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ngSelectComponent = _t.first);
|
|
1190
1259
|
}
|
|
1191
|
-
}, 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" }, outputs: { onOpenSelectBox: "onOpenSelectBox", onCloseSelectBox: "onCloseSelectBox", onSelectChange: "onSelectChange", onSelectClear: "onSelectClear" }, features: [i0.ɵɵProvidersFeature([{
|
|
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([{
|
|
1192
1261
|
provide: i4.NG_VALUE_ACCESSOR,
|
|
1193
1262
|
useExisting: i0.forwardRef(function () { return SelectBoxComponent; }),
|
|
1194
1263
|
multi: true
|
|
1195
|
-
}]), i0.ɵɵInheritDefinitionFeature], decls:
|
|
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) {
|
|
1196
1265
|
if (rf & 1) {
|
|
1197
1266
|
i0.ɵɵelementStart(0, "ng-select", 0, 1);
|
|
1198
1267
|
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); });
|
|
1199
1268
|
i0.ɵɵtemplate(2, SelectBoxComponent_ng_template_2_Template, 2, 2, "ng-template", 2);
|
|
1200
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);
|
|
1201
1271
|
i0.ɵɵelementEnd();
|
|
1202
1272
|
}
|
|
1203
1273
|
if (rf & 2) {
|
|
1204
|
-
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(
|
|
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);
|
|
1205
1275
|
i0.ɵɵadvance(2);
|
|
1206
1276
|
i0.ɵɵproperty("ngIf", ctx.value && ctx.value[ctx.bindKey] && ctx.value[ctx.bindValue]);
|
|
1277
|
+
i0.ɵɵadvance(1);
|
|
1278
|
+
i0.ɵɵproperty("ngIf", ctx.showAddNewItem);
|
|
1207
1279
|
}
|
|
1208
|
-
}, directives: [i1$2.NgSelectComponent, i4.NgControlStatus, i4.NgModel, i2.NgClass, i1$2.ɵh, i2.NgIf, i1$2.ɵf, i2$1.MatTooltip], 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 });
|
|
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 });
|
|
1209
1281
|
var ɵSelectBoxComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SelectBoxComponent);
|
|
1210
1282
|
/*@__PURE__*/ (function () {
|
|
1211
1283
|
i0.ɵsetClassMetadata(SelectBoxComponent, [{
|
|
@@ -1245,6 +1317,16 @@
|
|
|
1245
1317
|
type: i0.Input
|
|
1246
1318
|
}], limitItens: [{
|
|
1247
1319
|
type: i0.Input
|
|
1320
|
+
}], showAddNewItem: [{
|
|
1321
|
+
type: i0.Input
|
|
1322
|
+
}], addNewItemText: [{
|
|
1323
|
+
type: i0.Input
|
|
1324
|
+
}], addNewItemIcon: [{
|
|
1325
|
+
type: i0.Input
|
|
1326
|
+
}], addNewItemClickCloseSelect: [{
|
|
1327
|
+
type: i0.Input
|
|
1328
|
+
}], closeOnBodyScroll: [{
|
|
1329
|
+
type: i0.Input
|
|
1248
1330
|
}], onOpenSelectBox: [{
|
|
1249
1331
|
type: i0.Output
|
|
1250
1332
|
}], onCloseSelectBox: [{
|
|
@@ -1253,6 +1335,8 @@
|
|
|
1253
1335
|
type: i0.Output
|
|
1254
1336
|
}], onSelectClear: [{
|
|
1255
1337
|
type: i0.Output
|
|
1338
|
+
}], onAddNewItemClick: [{
|
|
1339
|
+
type: i0.Output
|
|
1256
1340
|
}], ngSelectComponent: [{
|
|
1257
1341
|
type: i0.ViewChild,
|
|
1258
1342
|
args: ['ngSelectComponent']
|
|
@@ -1766,6 +1850,633 @@
|
|
|
1766
1850
|
}] });
|
|
1767
1851
|
})();
|
|
1768
1852
|
|
|
1853
|
+
/* tslint:disable */
|
|
1854
|
+
var AceEditorComponent = /** @class */ (function () {
|
|
1855
|
+
function AceEditorComponent(elementRef, zone) {
|
|
1856
|
+
var _this = this;
|
|
1857
|
+
this.zone = zone;
|
|
1858
|
+
this.textChanged = new i0.EventEmitter();
|
|
1859
|
+
this.textChange = new i0.EventEmitter();
|
|
1860
|
+
this.style = {};
|
|
1861
|
+
// @ts-ignore
|
|
1862
|
+
this._options = {};
|
|
1863
|
+
// @ts-ignore
|
|
1864
|
+
this._theme = 'monokai';
|
|
1865
|
+
// @ts-ignore
|
|
1866
|
+
this._mode = 'html';
|
|
1867
|
+
// @ts-ignore
|
|
1868
|
+
this._autoUpdateContent = true;
|
|
1869
|
+
// @ts-ignore
|
|
1870
|
+
this._durationBeforeCallback = 0;
|
|
1871
|
+
// @ts-ignore
|
|
1872
|
+
this._text = '';
|
|
1873
|
+
this._onChange = function (_) {
|
|
1874
|
+
};
|
|
1875
|
+
this._onTouched = function () {
|
|
1876
|
+
};
|
|
1877
|
+
var el = elementRef.nativeElement;
|
|
1878
|
+
this.zone.runOutsideAngular(function () {
|
|
1879
|
+
_this._editor = ace['edit'](el);
|
|
1880
|
+
});
|
|
1881
|
+
this._editor.$blockScrolling = Infinity;
|
|
1882
|
+
}
|
|
1883
|
+
AceEditorComponent.prototype.ngOnInit = function () {
|
|
1884
|
+
this.init();
|
|
1885
|
+
this.initEvents();
|
|
1886
|
+
};
|
|
1887
|
+
AceEditorComponent.prototype.ngOnDestroy = function () {
|
|
1888
|
+
this._editor.destroy();
|
|
1889
|
+
};
|
|
1890
|
+
AceEditorComponent.prototype.init = function () {
|
|
1891
|
+
this.setOptions(this._options || {});
|
|
1892
|
+
this.setTheme(this._theme);
|
|
1893
|
+
this.setMode(this._mode);
|
|
1894
|
+
this.setReadOnly(this._readOnly);
|
|
1895
|
+
};
|
|
1896
|
+
AceEditorComponent.prototype.initEvents = function () {
|
|
1897
|
+
var _this = this;
|
|
1898
|
+
this._editor.on('change', function () { return _this.updateText(); });
|
|
1899
|
+
this._editor.on('paste', function () { return _this.updateText(); });
|
|
1900
|
+
};
|
|
1901
|
+
AceEditorComponent.prototype.updateText = function () {
|
|
1902
|
+
var _this = this;
|
|
1903
|
+
var newVal = this._editor.getValue();
|
|
1904
|
+
if (newVal === this.oldText) {
|
|
1905
|
+
return;
|
|
1906
|
+
}
|
|
1907
|
+
if (!this._durationBeforeCallback) {
|
|
1908
|
+
this._text = newVal;
|
|
1909
|
+
this.zone.run(function () {
|
|
1910
|
+
_this.textChange.emit(newVal);
|
|
1911
|
+
_this.textChanged.emit(newVal);
|
|
1912
|
+
});
|
|
1913
|
+
this._onChange(newVal);
|
|
1914
|
+
}
|
|
1915
|
+
else {
|
|
1916
|
+
if (this.timeoutSaving) {
|
|
1917
|
+
clearTimeout(this.timeoutSaving);
|
|
1918
|
+
}
|
|
1919
|
+
this.timeoutSaving = setTimeout(function () {
|
|
1920
|
+
_this._text = newVal;
|
|
1921
|
+
_this.zone.run(function () {
|
|
1922
|
+
_this.textChange.emit(newVal);
|
|
1923
|
+
_this.textChanged.emit(newVal);
|
|
1924
|
+
});
|
|
1925
|
+
_this.timeoutSaving = null;
|
|
1926
|
+
}, this._durationBeforeCallback);
|
|
1927
|
+
}
|
|
1928
|
+
this.oldText = newVal;
|
|
1929
|
+
};
|
|
1930
|
+
Object.defineProperty(AceEditorComponent.prototype, "options", {
|
|
1931
|
+
set: function (options) {
|
|
1932
|
+
this.setOptions(options);
|
|
1933
|
+
},
|
|
1934
|
+
enumerable: false,
|
|
1935
|
+
configurable: true
|
|
1936
|
+
});
|
|
1937
|
+
AceEditorComponent.prototype.setOptions = function (options) {
|
|
1938
|
+
this._options = options;
|
|
1939
|
+
this._editor.setOptions(options || {});
|
|
1940
|
+
};
|
|
1941
|
+
Object.defineProperty(AceEditorComponent.prototype, "readOnly", {
|
|
1942
|
+
set: function (readOnly) {
|
|
1943
|
+
this.setReadOnly(readOnly);
|
|
1944
|
+
},
|
|
1945
|
+
enumerable: false,
|
|
1946
|
+
configurable: true
|
|
1947
|
+
});
|
|
1948
|
+
AceEditorComponent.prototype.setReadOnly = function (readOnly) {
|
|
1949
|
+
this._readOnly = readOnly;
|
|
1950
|
+
this._editor.setReadOnly(readOnly);
|
|
1951
|
+
};
|
|
1952
|
+
Object.defineProperty(AceEditorComponent.prototype, "theme", {
|
|
1953
|
+
set: function (theme) {
|
|
1954
|
+
this.setTheme(theme);
|
|
1955
|
+
},
|
|
1956
|
+
enumerable: false,
|
|
1957
|
+
configurable: true
|
|
1958
|
+
});
|
|
1959
|
+
AceEditorComponent.prototype.setTheme = function (theme) {
|
|
1960
|
+
this._theme = theme;
|
|
1961
|
+
this._editor.setTheme("ace/theme/" + theme);
|
|
1962
|
+
};
|
|
1963
|
+
Object.defineProperty(AceEditorComponent.prototype, "mode", {
|
|
1964
|
+
set: function (mode) {
|
|
1965
|
+
this.setMode(mode);
|
|
1966
|
+
},
|
|
1967
|
+
enumerable: false,
|
|
1968
|
+
configurable: true
|
|
1969
|
+
});
|
|
1970
|
+
AceEditorComponent.prototype.setMode = function (mode) {
|
|
1971
|
+
this._mode = mode;
|
|
1972
|
+
if (typeof this._mode === 'object') {
|
|
1973
|
+
this._editor.getSession().setMode(this._mode);
|
|
1974
|
+
}
|
|
1975
|
+
else {
|
|
1976
|
+
this._editor.getSession().setMode("ace/mode/" + this._mode);
|
|
1977
|
+
}
|
|
1978
|
+
};
|
|
1979
|
+
Object.defineProperty(AceEditorComponent.prototype, "value", {
|
|
1980
|
+
// @ts-ignore
|
|
1981
|
+
get: function () {
|
|
1982
|
+
return this.text;
|
|
1983
|
+
},
|
|
1984
|
+
// @ts-ignore
|
|
1985
|
+
set: function (value) {
|
|
1986
|
+
this.setText(value);
|
|
1987
|
+
},
|
|
1988
|
+
enumerable: false,
|
|
1989
|
+
configurable: true
|
|
1990
|
+
});
|
|
1991
|
+
AceEditorComponent.prototype.writeValue = function (value) {
|
|
1992
|
+
this.setText(value);
|
|
1993
|
+
};
|
|
1994
|
+
AceEditorComponent.prototype.registerOnChange = function (fn) {
|
|
1995
|
+
this._onChange = fn;
|
|
1996
|
+
};
|
|
1997
|
+
AceEditorComponent.prototype.registerOnTouched = function (fn) {
|
|
1998
|
+
this._onTouched = fn;
|
|
1999
|
+
};
|
|
2000
|
+
Object.defineProperty(AceEditorComponent.prototype, "text", {
|
|
2001
|
+
get: function () {
|
|
2002
|
+
return this._text;
|
|
2003
|
+
},
|
|
2004
|
+
set: function (text) {
|
|
2005
|
+
this.setText(text);
|
|
2006
|
+
},
|
|
2007
|
+
enumerable: false,
|
|
2008
|
+
configurable: true
|
|
2009
|
+
});
|
|
2010
|
+
AceEditorComponent.prototype.setText = function (text) {
|
|
2011
|
+
if (text === null || text === undefined) {
|
|
2012
|
+
text = '';
|
|
2013
|
+
}
|
|
2014
|
+
if (this._text !== text && this._autoUpdateContent) {
|
|
2015
|
+
this._text = text;
|
|
2016
|
+
this._editor.setValue(text);
|
|
2017
|
+
this._onChange(text);
|
|
2018
|
+
this._editor.clearSelection();
|
|
2019
|
+
}
|
|
2020
|
+
};
|
|
2021
|
+
Object.defineProperty(AceEditorComponent.prototype, "autoUpdateContent", {
|
|
2022
|
+
set: function (status) {
|
|
2023
|
+
this.setAutoUpdateContent(status);
|
|
2024
|
+
},
|
|
2025
|
+
enumerable: false,
|
|
2026
|
+
configurable: true
|
|
2027
|
+
});
|
|
2028
|
+
AceEditorComponent.prototype.setAutoUpdateContent = function (status) {
|
|
2029
|
+
this._autoUpdateContent = status;
|
|
2030
|
+
};
|
|
2031
|
+
Object.defineProperty(AceEditorComponent.prototype, "durationBeforeCallback", {
|
|
2032
|
+
set: function (num) {
|
|
2033
|
+
this.setDurationBeforeCallback(num);
|
|
2034
|
+
},
|
|
2035
|
+
enumerable: false,
|
|
2036
|
+
configurable: true
|
|
2037
|
+
});
|
|
2038
|
+
AceEditorComponent.prototype.setDurationBeforeCallback = function (num) {
|
|
2039
|
+
this._durationBeforeCallback = num;
|
|
2040
|
+
};
|
|
2041
|
+
AceEditorComponent.prototype.getEditor = function () {
|
|
2042
|
+
return this._editor;
|
|
2043
|
+
};
|
|
2044
|
+
return AceEditorComponent;
|
|
2045
|
+
}());
|
|
2046
|
+
AceEditorComponent.ɵfac = function AceEditorComponent_Factory(t) { return new (t || AceEditorComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
|
2047
|
+
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([{
|
|
2048
|
+
provide: i4.NG_VALUE_ACCESSOR,
|
|
2049
|
+
useExisting: i0.forwardRef(function () { return AceEditorComponent; }),
|
|
2050
|
+
multi: true
|
|
2051
|
+
}])], decls: 0, vars: 0, template: function AceEditorComponent_Template(rf, ctx) { }, styles: ["[_nghost-%COMP%] { display:block;width:100%; }"] });
|
|
2052
|
+
/*@__PURE__*/ (function () {
|
|
2053
|
+
i0.ɵsetClassMetadata(AceEditorComponent, [{
|
|
2054
|
+
type: i0.Component,
|
|
2055
|
+
args: [{
|
|
2056
|
+
selector: 'ace-editor',
|
|
2057
|
+
template: '',
|
|
2058
|
+
styles: [':host { display:block;width:100%; }'],
|
|
2059
|
+
providers: [{
|
|
2060
|
+
provide: i4.NG_VALUE_ACCESSOR,
|
|
2061
|
+
useExisting: i0.forwardRef(function () { return AceEditorComponent; }),
|
|
2062
|
+
multi: true
|
|
2063
|
+
}]
|
|
2064
|
+
}]
|
|
2065
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, { textChanged: [{
|
|
2066
|
+
type: i0.Output
|
|
2067
|
+
}], textChange: [{
|
|
2068
|
+
type: i0.Output
|
|
2069
|
+
}], style: [{
|
|
2070
|
+
type: i0.Input
|
|
2071
|
+
}], options: [{
|
|
2072
|
+
type: i0.Input
|
|
2073
|
+
}], readOnly: [{
|
|
2074
|
+
type: i0.Input
|
|
2075
|
+
}], theme: [{
|
|
2076
|
+
type: i0.Input
|
|
2077
|
+
}], mode: [{
|
|
2078
|
+
type: i0.Input
|
|
2079
|
+
}], value: [{
|
|
2080
|
+
type: i0.Input
|
|
2081
|
+
}], text: [{
|
|
2082
|
+
type: i0.Input
|
|
2083
|
+
}], autoUpdateContent: [{
|
|
2084
|
+
type: i0.Input
|
|
2085
|
+
}], durationBeforeCallback: [{
|
|
2086
|
+
type: i0.Input
|
|
2087
|
+
}] });
|
|
2088
|
+
})();
|
|
2089
|
+
|
|
2090
|
+
/* tslint:disable */
|
|
2091
|
+
var AceEditorDirective = /** @class */ (function () {
|
|
2092
|
+
function AceEditorDirective(elementRef, zone) {
|
|
2093
|
+
var _this = this;
|
|
2094
|
+
this.zone = zone;
|
|
2095
|
+
this.textChanged = new i0.EventEmitter();
|
|
2096
|
+
this.textChange = new i0.EventEmitter();
|
|
2097
|
+
this._options = {};
|
|
2098
|
+
this._readOnly = false;
|
|
2099
|
+
this._theme = 'monokai';
|
|
2100
|
+
this._mode = 'html';
|
|
2101
|
+
this._autoUpdateContent = true;
|
|
2102
|
+
this._durationBeforeCallback = 0;
|
|
2103
|
+
this._text = '';
|
|
2104
|
+
var el = elementRef.nativeElement;
|
|
2105
|
+
this.zone.runOutsideAngular(function () {
|
|
2106
|
+
_this.editor = ace['edit'](el);
|
|
2107
|
+
});
|
|
2108
|
+
this.editor.$blockScrolling = Infinity;
|
|
2109
|
+
}
|
|
2110
|
+
AceEditorDirective.prototype.ngOnInit = function () {
|
|
2111
|
+
this.init();
|
|
2112
|
+
this.initEvents();
|
|
2113
|
+
};
|
|
2114
|
+
AceEditorDirective.prototype.ngOnDestroy = function () {
|
|
2115
|
+
this.editor.destroy();
|
|
2116
|
+
};
|
|
2117
|
+
AceEditorDirective.prototype.init = function () {
|
|
2118
|
+
this.editor.setOptions(this._options || {});
|
|
2119
|
+
this.editor.setTheme("ace/theme/" + this._theme);
|
|
2120
|
+
this.setMode(this._mode);
|
|
2121
|
+
this.editor.setReadOnly(this._readOnly);
|
|
2122
|
+
};
|
|
2123
|
+
AceEditorDirective.prototype.initEvents = function () {
|
|
2124
|
+
var _this = this;
|
|
2125
|
+
this.editor.on('change', function () { return _this.updateText(); });
|
|
2126
|
+
this.editor.on('paste', function () { return _this.updateText(); });
|
|
2127
|
+
};
|
|
2128
|
+
AceEditorDirective.prototype.updateText = function () {
|
|
2129
|
+
var _this = this;
|
|
2130
|
+
var newVal = this.editor.getValue();
|
|
2131
|
+
if (newVal === this.oldText) {
|
|
2132
|
+
return;
|
|
2133
|
+
}
|
|
2134
|
+
if (!this._durationBeforeCallback) {
|
|
2135
|
+
this._text = newVal;
|
|
2136
|
+
this.zone.run(function () {
|
|
2137
|
+
_this.textChange.emit(newVal);
|
|
2138
|
+
_this.textChanged.emit(newVal);
|
|
2139
|
+
});
|
|
2140
|
+
}
|
|
2141
|
+
else {
|
|
2142
|
+
if (this.timeoutSaving != null) {
|
|
2143
|
+
clearTimeout(this.timeoutSaving);
|
|
2144
|
+
}
|
|
2145
|
+
this.timeoutSaving = setTimeout(function () {
|
|
2146
|
+
_this._text = newVal;
|
|
2147
|
+
_this.zone.run(function () {
|
|
2148
|
+
_this.textChange.emit(newVal);
|
|
2149
|
+
_this.textChanged.emit(newVal);
|
|
2150
|
+
});
|
|
2151
|
+
_this.timeoutSaving = null;
|
|
2152
|
+
}, this._durationBeforeCallback);
|
|
2153
|
+
}
|
|
2154
|
+
this.oldText = newVal;
|
|
2155
|
+
};
|
|
2156
|
+
Object.defineProperty(AceEditorDirective.prototype, "options", {
|
|
2157
|
+
set: function (options) {
|
|
2158
|
+
this._options = options;
|
|
2159
|
+
this.editor.setOptions(options || {});
|
|
2160
|
+
},
|
|
2161
|
+
enumerable: false,
|
|
2162
|
+
configurable: true
|
|
2163
|
+
});
|
|
2164
|
+
Object.defineProperty(AceEditorDirective.prototype, "readOnly", {
|
|
2165
|
+
set: function (readOnly) {
|
|
2166
|
+
this._readOnly = readOnly;
|
|
2167
|
+
this.editor.setReadOnly(readOnly);
|
|
2168
|
+
},
|
|
2169
|
+
enumerable: false,
|
|
2170
|
+
configurable: true
|
|
2171
|
+
});
|
|
2172
|
+
Object.defineProperty(AceEditorDirective.prototype, "theme", {
|
|
2173
|
+
set: function (theme) {
|
|
2174
|
+
this._theme = theme;
|
|
2175
|
+
this.editor.setTheme("ace/theme/" + theme);
|
|
2176
|
+
},
|
|
2177
|
+
enumerable: false,
|
|
2178
|
+
configurable: true
|
|
2179
|
+
});
|
|
2180
|
+
Object.defineProperty(AceEditorDirective.prototype, "mode", {
|
|
2181
|
+
set: function (mode) {
|
|
2182
|
+
this.setMode(mode);
|
|
2183
|
+
},
|
|
2184
|
+
enumerable: false,
|
|
2185
|
+
configurable: true
|
|
2186
|
+
});
|
|
2187
|
+
AceEditorDirective.prototype.setMode = function (mode) {
|
|
2188
|
+
this._mode = mode;
|
|
2189
|
+
if (typeof this._mode === 'object') {
|
|
2190
|
+
this.editor.getSession().setMode(this._mode);
|
|
2191
|
+
}
|
|
2192
|
+
else {
|
|
2193
|
+
this.editor.getSession().setMode("ace/mode/" + this._mode);
|
|
2194
|
+
}
|
|
2195
|
+
};
|
|
2196
|
+
Object.defineProperty(AceEditorDirective.prototype, "text", {
|
|
2197
|
+
// @ts-ignore
|
|
2198
|
+
get: function () {
|
|
2199
|
+
return this._text;
|
|
2200
|
+
},
|
|
2201
|
+
set: function (text) {
|
|
2202
|
+
this.setText(text);
|
|
2203
|
+
},
|
|
2204
|
+
enumerable: false,
|
|
2205
|
+
configurable: true
|
|
2206
|
+
});
|
|
2207
|
+
AceEditorDirective.prototype.setText = function (text) {
|
|
2208
|
+
if (this._text !== text) {
|
|
2209
|
+
if (text === null || text === undefined) {
|
|
2210
|
+
text = '';
|
|
2211
|
+
}
|
|
2212
|
+
if (this._autoUpdateContent) {
|
|
2213
|
+
this._text = text;
|
|
2214
|
+
this.editor.setValue(text);
|
|
2215
|
+
this.editor.clearSelection();
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
};
|
|
2219
|
+
Object.defineProperty(AceEditorDirective.prototype, "autoUpdateContent", {
|
|
2220
|
+
set: function (status) {
|
|
2221
|
+
this._autoUpdateContent = status;
|
|
2222
|
+
},
|
|
2223
|
+
enumerable: false,
|
|
2224
|
+
configurable: true
|
|
2225
|
+
});
|
|
2226
|
+
Object.defineProperty(AceEditorDirective.prototype, "durationBeforeCallback", {
|
|
2227
|
+
set: function (num) {
|
|
2228
|
+
this.setDurationBeforeCallback(num);
|
|
2229
|
+
},
|
|
2230
|
+
enumerable: false,
|
|
2231
|
+
configurable: true
|
|
2232
|
+
});
|
|
2233
|
+
AceEditorDirective.prototype.setDurationBeforeCallback = function (num) {
|
|
2234
|
+
this._durationBeforeCallback = num;
|
|
2235
|
+
};
|
|
2236
|
+
Object.defineProperty(AceEditorDirective.prototype, "aceEditor", {
|
|
2237
|
+
get: function () {
|
|
2238
|
+
return this.editor;
|
|
2239
|
+
},
|
|
2240
|
+
enumerable: false,
|
|
2241
|
+
configurable: true
|
|
2242
|
+
});
|
|
2243
|
+
return AceEditorDirective;
|
|
2244
|
+
}());
|
|
2245
|
+
AceEditorDirective.ɵfac = function AceEditorDirective_Factory(t) { return new (t || AceEditorDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
|
2246
|
+
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" } });
|
|
2247
|
+
/*@__PURE__*/ (function () {
|
|
2248
|
+
i0.ɵsetClassMetadata(AceEditorDirective, [{
|
|
2249
|
+
type: i0.Directive,
|
|
2250
|
+
args: [{
|
|
2251
|
+
selector: '[ace-editor]'
|
|
2252
|
+
}]
|
|
2253
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, { textChanged: [{
|
|
2254
|
+
type: i0.Output
|
|
2255
|
+
}], textChange: [{
|
|
2256
|
+
type: i0.Output
|
|
2257
|
+
}], options: [{
|
|
2258
|
+
type: i0.Input
|
|
2259
|
+
}], readOnly: [{
|
|
2260
|
+
type: i0.Input
|
|
2261
|
+
}], theme: [{
|
|
2262
|
+
type: i0.Input
|
|
2263
|
+
}], mode: [{
|
|
2264
|
+
type: i0.Input
|
|
2265
|
+
}], text: [{
|
|
2266
|
+
type: i0.Input
|
|
2267
|
+
}], autoUpdateContent: [{
|
|
2268
|
+
type: i0.Input
|
|
2269
|
+
}], durationBeforeCallback: [{
|
|
2270
|
+
type: i0.Input
|
|
2271
|
+
}] });
|
|
2272
|
+
})();
|
|
2273
|
+
|
|
2274
|
+
function InputNumberComponent_mat_label_1_Template(rf, ctx) {
|
|
2275
|
+
if (rf & 1) {
|
|
2276
|
+
i0.ɵɵelementStart(0, "mat-label");
|
|
2277
|
+
i0.ɵɵtext(1);
|
|
2278
|
+
i0.ɵɵelementEnd();
|
|
2279
|
+
}
|
|
2280
|
+
if (rf & 2) {
|
|
2281
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
2282
|
+
i0.ɵɵadvance(1);
|
|
2283
|
+
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
function InputNumberComponent_mat_icon_2_Template(rf, ctx) {
|
|
2287
|
+
if (rf & 1) {
|
|
2288
|
+
var _r4_1 = i0.ɵɵgetCurrentView();
|
|
2289
|
+
i0.ɵɵelementStart(0, "mat-icon", 5);
|
|
2290
|
+
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(); });
|
|
2291
|
+
i0.ɵɵtext(1);
|
|
2292
|
+
i0.ɵɵelementEnd();
|
|
2293
|
+
}
|
|
2294
|
+
if (rf & 2) {
|
|
2295
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
2296
|
+
i0.ɵɵadvance(1);
|
|
2297
|
+
i0.ɵɵtextInterpolate(ctx_r1.iconPrefix);
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
function InputNumberComponent_mat_icon_4_Template(rf, ctx) {
|
|
2301
|
+
if (rf & 1) {
|
|
2302
|
+
var _r6_1 = i0.ɵɵgetCurrentView();
|
|
2303
|
+
i0.ɵɵelementStart(0, "mat-icon", 6);
|
|
2304
|
+
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(); });
|
|
2305
|
+
i0.ɵɵtext(1);
|
|
2306
|
+
i0.ɵɵelementEnd();
|
|
2307
|
+
}
|
|
2308
|
+
if (rf & 2) {
|
|
2309
|
+
var ctx_r2 = i0.ɵɵnextContext();
|
|
2310
|
+
i0.ɵɵadvance(1);
|
|
2311
|
+
i0.ɵɵtextInterpolate(ctx_r2.iconSuffix);
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
var InputNumberComponent = /** @class */ (function (_super) {
|
|
2315
|
+
__extends(InputNumberComponent, _super);
|
|
2316
|
+
function InputNumberComponent() {
|
|
2317
|
+
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
2318
|
+
_this.label = '';
|
|
2319
|
+
_this.disabled = false;
|
|
2320
|
+
_this.iconSuffix = '';
|
|
2321
|
+
_this.iconPrefix = '';
|
|
2322
|
+
_this.autoComplete = 'on';
|
|
2323
|
+
_this.suffixIconClick = new i0.EventEmitter();
|
|
2324
|
+
_this.prefixIconClick = new i0.EventEmitter();
|
|
2325
|
+
return _this;
|
|
2326
|
+
}
|
|
2327
|
+
InputNumberComponent.prototype.onKeyDown = function (event) {
|
|
2328
|
+
if (event.which === 32) {
|
|
2329
|
+
event.target.value += ' ';
|
|
2330
|
+
}
|
|
2331
|
+
event.stopPropagation();
|
|
2332
|
+
};
|
|
2333
|
+
InputNumberComponent.prototype.prefixClick = function () {
|
|
2334
|
+
this.prefixIconClick.emit(true);
|
|
2335
|
+
};
|
|
2336
|
+
InputNumberComponent.prototype.suffixClick = function () {
|
|
2337
|
+
this.suffixIconClick.emit(true);
|
|
2338
|
+
};
|
|
2339
|
+
return InputNumberComponent;
|
|
2340
|
+
}(ValueAccessorBase));
|
|
2341
|
+
InputNumberComponent.ɵfac = function InputNumberComponent_Factory(t) { return ɵInputNumberComponent_BaseFactory(t || InputNumberComponent); };
|
|
2342
|
+
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([{
|
|
2343
|
+
provide: i4.NG_VALUE_ACCESSOR,
|
|
2344
|
+
useExisting: i0.forwardRef(function () { return InputNumberComponent; }),
|
|
2345
|
+
multi: true
|
|
2346
|
+
}]), 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) {
|
|
2347
|
+
if (rf & 1) {
|
|
2348
|
+
i0.ɵɵelementStart(0, "mat-form-field", 0);
|
|
2349
|
+
i0.ɵɵtemplate(1, InputNumberComponent_mat_label_1_Template, 2, 1, "mat-label", 1);
|
|
2350
|
+
i0.ɵɵtemplate(2, InputNumberComponent_mat_icon_2_Template, 2, 1, "mat-icon", 2);
|
|
2351
|
+
i0.ɵɵelementStart(3, "input", 3);
|
|
2352
|
+
i0.ɵɵlistener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_3_listener($event) { return ctx.value = $event; });
|
|
2353
|
+
i0.ɵɵelementEnd();
|
|
2354
|
+
i0.ɵɵtemplate(4, InputNumberComponent_mat_icon_4_Template, 2, 1, "mat-icon", 4);
|
|
2355
|
+
i0.ɵɵelementEnd();
|
|
2356
|
+
}
|
|
2357
|
+
if (rf & 2) {
|
|
2358
|
+
i0.ɵɵadvance(1);
|
|
2359
|
+
i0.ɵɵproperty("ngIf", ctx.label);
|
|
2360
|
+
i0.ɵɵadvance(1);
|
|
2361
|
+
i0.ɵɵproperty("ngIf", ctx.iconPrefix);
|
|
2362
|
+
i0.ɵɵadvance(1);
|
|
2363
|
+
i0.ɵɵproperty("ngModel", ctx.value)("disabled", ctx.disabled)("autocomplete", ctx.autoComplete);
|
|
2364
|
+
i0.ɵɵadvance(1);
|
|
2365
|
+
i0.ɵɵproperty("ngIf", ctx.iconSuffix);
|
|
2366
|
+
}
|
|
2367
|
+
}, 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 });
|
|
2368
|
+
var ɵInputNumberComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(InputNumberComponent);
|
|
2369
|
+
/*@__PURE__*/ (function () {
|
|
2370
|
+
i0.ɵsetClassMetadata(InputNumberComponent, [{
|
|
2371
|
+
type: i0.Component,
|
|
2372
|
+
args: [{
|
|
2373
|
+
selector: 'input-number',
|
|
2374
|
+
templateUrl: 'input-number.component.html',
|
|
2375
|
+
styleUrls: ['input-number.component.scss'],
|
|
2376
|
+
providers: [{
|
|
2377
|
+
provide: i4.NG_VALUE_ACCESSOR,
|
|
2378
|
+
useExisting: i0.forwardRef(function () { return InputNumberComponent; }),
|
|
2379
|
+
multi: true
|
|
2380
|
+
}],
|
|
2381
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
2382
|
+
}]
|
|
2383
|
+
}], null, { label: [{
|
|
2384
|
+
type: i0.Input
|
|
2385
|
+
}], disabled: [{
|
|
2386
|
+
type: i0.Input
|
|
2387
|
+
}], iconSuffix: [{
|
|
2388
|
+
type: i0.Input
|
|
2389
|
+
}], iconPrefix: [{
|
|
2390
|
+
type: i0.Input
|
|
2391
|
+
}], autoComplete: [{
|
|
2392
|
+
type: i0.Input
|
|
2393
|
+
}], suffixIconClick: [{
|
|
2394
|
+
type: i0.Output
|
|
2395
|
+
}], prefixIconClick: [{
|
|
2396
|
+
type: i0.Output
|
|
2397
|
+
}] });
|
|
2398
|
+
})();
|
|
2399
|
+
|
|
2400
|
+
var InputBooleanComponent = /** @class */ (function (_super) {
|
|
2401
|
+
__extends(InputBooleanComponent, _super);
|
|
2402
|
+
function InputBooleanComponent() {
|
|
2403
|
+
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
2404
|
+
_this.trueLabel = '';
|
|
2405
|
+
_this.trueIconPrefix = '';
|
|
2406
|
+
_this.trueIconSuffix = '';
|
|
2407
|
+
_this.falseLabel = '';
|
|
2408
|
+
_this.falseIconPrefix = '';
|
|
2409
|
+
_this.falseIconSuffix = '';
|
|
2410
|
+
_this.disabled = false;
|
|
2411
|
+
return _this;
|
|
2412
|
+
}
|
|
2413
|
+
InputBooleanComponent.prototype.trueClick = function () {
|
|
2414
|
+
if (!this.disabled && !this.value) {
|
|
2415
|
+
this.value = true;
|
|
2416
|
+
}
|
|
2417
|
+
};
|
|
2418
|
+
InputBooleanComponent.prototype.falseClick = function () {
|
|
2419
|
+
if (!this.disabled && this.value) {
|
|
2420
|
+
this.value = false;
|
|
2421
|
+
}
|
|
2422
|
+
};
|
|
2423
|
+
return InputBooleanComponent;
|
|
2424
|
+
}(ValueAccessorBase));
|
|
2425
|
+
InputBooleanComponent.ɵfac = function InputBooleanComponent_Factory(t) { return ɵInputBooleanComponent_BaseFactory(t || InputBooleanComponent); };
|
|
2426
|
+
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([{
|
|
2427
|
+
provide: i4.NG_VALUE_ACCESSOR,
|
|
2428
|
+
useExisting: i0.forwardRef(function () { return InputBooleanComponent; }),
|
|
2429
|
+
multi: true
|
|
2430
|
+
}]), 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) {
|
|
2431
|
+
if (rf & 1) {
|
|
2432
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
2433
|
+
i0.ɵɵelementStart(1, "primary-button", 1);
|
|
2434
|
+
i0.ɵɵlistener("onClick", function InputBooleanComponent_Template_primary_button_onClick_1_listener() { return ctx.trueClick(); });
|
|
2435
|
+
i0.ɵɵelementEnd();
|
|
2436
|
+
i0.ɵɵelementStart(2, "primary-button", 2);
|
|
2437
|
+
i0.ɵɵlistener("onClick", function InputBooleanComponent_Template_primary_button_onClick_2_listener() { return ctx.falseClick(); });
|
|
2438
|
+
i0.ɵɵelementEnd();
|
|
2439
|
+
i0.ɵɵelementEnd();
|
|
2440
|
+
}
|
|
2441
|
+
if (rf & 2) {
|
|
2442
|
+
i0.ɵɵadvance(1);
|
|
2443
|
+
i0.ɵɵproperty("selected", ctx.value === true)("label", ctx.trueLabel)("icon", ctx.trueIconPrefix)("suffixIcon", ctx.trueIconSuffix)("btnDisabled", ctx.disabled);
|
|
2444
|
+
i0.ɵɵadvance(1);
|
|
2445
|
+
i0.ɵɵproperty("selected", ctx.value === false || ctx.value === undefined)("label", ctx.falseLabel)("icon", ctx.falseIconPrefix)("suffixIcon", ctx.falseIconSuffix)("btnDisabled", ctx.disabled);
|
|
2446
|
+
}
|
|
2447
|
+
}, 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 });
|
|
2448
|
+
var ɵInputBooleanComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(InputBooleanComponent);
|
|
2449
|
+
/*@__PURE__*/ (function () {
|
|
2450
|
+
i0.ɵsetClassMetadata(InputBooleanComponent, [{
|
|
2451
|
+
type: i0.Component,
|
|
2452
|
+
args: [{
|
|
2453
|
+
selector: 'input-boolean',
|
|
2454
|
+
templateUrl: 'input-boolean.component.html',
|
|
2455
|
+
styleUrls: ['input-boolean.component.scss'],
|
|
2456
|
+
providers: [{
|
|
2457
|
+
provide: i4.NG_VALUE_ACCESSOR,
|
|
2458
|
+
useExisting: i0.forwardRef(function () { return InputBooleanComponent; }),
|
|
2459
|
+
multi: true
|
|
2460
|
+
}],
|
|
2461
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
2462
|
+
}]
|
|
2463
|
+
}], null, { trueLabel: [{
|
|
2464
|
+
type: i0.Input
|
|
2465
|
+
}], trueIconPrefix: [{
|
|
2466
|
+
type: i0.Input
|
|
2467
|
+
}], trueIconSuffix: [{
|
|
2468
|
+
type: i0.Input
|
|
2469
|
+
}], falseLabel: [{
|
|
2470
|
+
type: i0.Input
|
|
2471
|
+
}], falseIconPrefix: [{
|
|
2472
|
+
type: i0.Input
|
|
2473
|
+
}], falseIconSuffix: [{
|
|
2474
|
+
type: i0.Input
|
|
2475
|
+
}], disabled: [{
|
|
2476
|
+
type: i0.Input
|
|
2477
|
+
}] });
|
|
2478
|
+
})();
|
|
2479
|
+
|
|
1769
2480
|
var InputsModule = /** @class */ (function () {
|
|
1770
2481
|
function InputsModule() {
|
|
1771
2482
|
}
|
|
@@ -1773,7 +2484,7 @@
|
|
|
1773
2484
|
}());
|
|
1774
2485
|
InputsModule.ɵmod = i0.ɵɵdefineNgModule({ type: InputsModule });
|
|
1775
2486
|
InputsModule.ɵinj = i0.ɵɵdefineInjector({ factory: function InputsModule_Factory(t) { return new (t || InputsModule)(); }, providers: [], imports: [[
|
|
1776
|
-
i1$
|
|
2487
|
+
i1$4.RouterModule.forChild([]),
|
|
1777
2488
|
i2.CommonModule,
|
|
1778
2489
|
i4.FormsModule,
|
|
1779
2490
|
i1.MatFormFieldModule,
|
|
@@ -1788,17 +2499,22 @@
|
|
|
1788
2499
|
i3$1.IconsModule,
|
|
1789
2500
|
i2$1.MatTooltipModule,
|
|
1790
2501
|
i5$3.DndModule,
|
|
2502
|
+
i1$3.ButtonsModule,
|
|
1791
2503
|
]] });
|
|
1792
2504
|
(function () {
|
|
1793
2505
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(InputsModule, { declarations: [MatSelectInfiniteScrollDirective,
|
|
1794
2506
|
SelectBoxComponent,
|
|
1795
2507
|
SelectEnumComponent,
|
|
1796
2508
|
InputTextComponent,
|
|
2509
|
+
InputNumberComponent,
|
|
2510
|
+
InputBooleanComponent,
|
|
1797
2511
|
InputPasswordComponent,
|
|
1798
2512
|
InputAvatarComponent,
|
|
1799
2513
|
InputFileComponent,
|
|
1800
2514
|
CustomSelectComponent,
|
|
1801
|
-
FieldComponent
|
|
2515
|
+
FieldComponent,
|
|
2516
|
+
AceEditorComponent,
|
|
2517
|
+
AceEditorDirective], imports: [i1$4.RouterModule, i2.CommonModule,
|
|
1802
2518
|
i4.FormsModule,
|
|
1803
2519
|
i1.MatFormFieldModule,
|
|
1804
2520
|
i3.MatInputModule,
|
|
@@ -1811,21 +2527,26 @@
|
|
|
1811
2527
|
i7.TranslateModule,
|
|
1812
2528
|
i3$1.IconsModule,
|
|
1813
2529
|
i2$1.MatTooltipModule,
|
|
1814
|
-
i5$3.DndModule
|
|
2530
|
+
i5$3.DndModule,
|
|
2531
|
+
i1$3.ButtonsModule], exports: [SelectBoxComponent,
|
|
1815
2532
|
SelectEnumComponent,
|
|
1816
2533
|
InputTextComponent,
|
|
2534
|
+
InputNumberComponent,
|
|
2535
|
+
InputBooleanComponent,
|
|
1817
2536
|
InputPasswordComponent,
|
|
1818
2537
|
InputAvatarComponent,
|
|
1819
2538
|
InputFileComponent,
|
|
1820
2539
|
CustomSelectComponent,
|
|
1821
|
-
FieldComponent
|
|
2540
|
+
FieldComponent,
|
|
2541
|
+
AceEditorComponent,
|
|
2542
|
+
AceEditorDirective] });
|
|
1822
2543
|
})();
|
|
1823
2544
|
/*@__PURE__*/ (function () {
|
|
1824
2545
|
i0.ɵsetClassMetadata(InputsModule, [{
|
|
1825
2546
|
type: i0.NgModule,
|
|
1826
2547
|
args: [{
|
|
1827
2548
|
imports: [
|
|
1828
|
-
i1$
|
|
2549
|
+
i1$4.RouterModule.forChild([]),
|
|
1829
2550
|
i2.CommonModule,
|
|
1830
2551
|
i4.FormsModule,
|
|
1831
2552
|
i1.MatFormFieldModule,
|
|
@@ -1840,27 +2561,36 @@
|
|
|
1840
2561
|
i3$1.IconsModule,
|
|
1841
2562
|
i2$1.MatTooltipModule,
|
|
1842
2563
|
i5$3.DndModule,
|
|
2564
|
+
i1$3.ButtonsModule,
|
|
1843
2565
|
],
|
|
1844
2566
|
declarations: [
|
|
1845
2567
|
MatSelectInfiniteScrollDirective,
|
|
1846
2568
|
SelectBoxComponent,
|
|
1847
2569
|
SelectEnumComponent,
|
|
1848
2570
|
InputTextComponent,
|
|
2571
|
+
InputNumberComponent,
|
|
2572
|
+
InputBooleanComponent,
|
|
1849
2573
|
InputPasswordComponent,
|
|
1850
2574
|
InputAvatarComponent,
|
|
1851
2575
|
InputFileComponent,
|
|
1852
2576
|
CustomSelectComponent,
|
|
1853
|
-
FieldComponent
|
|
2577
|
+
FieldComponent,
|
|
2578
|
+
AceEditorComponent,
|
|
2579
|
+
AceEditorDirective
|
|
1854
2580
|
],
|
|
1855
2581
|
exports: [
|
|
1856
2582
|
SelectBoxComponent,
|
|
1857
2583
|
SelectEnumComponent,
|
|
1858
2584
|
InputTextComponent,
|
|
2585
|
+
InputNumberComponent,
|
|
2586
|
+
InputBooleanComponent,
|
|
1859
2587
|
InputPasswordComponent,
|
|
1860
2588
|
InputAvatarComponent,
|
|
1861
2589
|
InputFileComponent,
|
|
1862
2590
|
CustomSelectComponent,
|
|
1863
|
-
FieldComponent
|
|
2591
|
+
FieldComponent,
|
|
2592
|
+
AceEditorComponent,
|
|
2593
|
+
AceEditorDirective
|
|
1864
2594
|
],
|
|
1865
2595
|
providers: [],
|
|
1866
2596
|
}]
|
|
@@ -1871,11 +2601,15 @@
|
|
|
1871
2601
|
* Generated bundle index. Do not edit.
|
|
1872
2602
|
*/
|
|
1873
2603
|
|
|
2604
|
+
exports.AceEditorComponent = AceEditorComponent;
|
|
2605
|
+
exports.AceEditorDirective = AceEditorDirective;
|
|
1874
2606
|
exports.CustomSelectComponent = CustomSelectComponent;
|
|
1875
2607
|
exports.CustomSelectItem = CustomSelectItem;
|
|
1876
2608
|
exports.FieldComponent = FieldComponent;
|
|
1877
2609
|
exports.InputAvatarComponent = InputAvatarComponent;
|
|
2610
|
+
exports.InputBooleanComponent = InputBooleanComponent;
|
|
1878
2611
|
exports.InputFileComponent = InputFileComponent;
|
|
2612
|
+
exports.InputNumberComponent = InputNumberComponent;
|
|
1879
2613
|
exports.InputPasswordComponent = InputPasswordComponent;
|
|
1880
2614
|
exports.InputTextComponent = InputTextComponent;
|
|
1881
2615
|
exports.InputsModule = InputsModule;
|