ng-pli-commons 1.0.81 → 1.0.84
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/esm2022/lib/components/dynamic-filter/dynamic-filter.component.mjs +1 -1
- package/esm2022/lib/components/select-ppp/select-ppp.component.mjs +1 -1
- package/esm2022/lib/components/tokens-calculator/tokens-calculator.component.mjs +1 -1
- package/esm2022/lib/services/document.service.mjs +7 -1
- package/esm2022/version.mjs +8 -8
- package/fesm2022/ng-pli-commons.mjs +16 -10
- package/fesm2022/ng-pli-commons.mjs.map +1 -1
- package/lib/services/document.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -114,7 +114,7 @@ export class DynamicFilterComponent {
|
|
|
114
114
|
return this.mapSegColumnById.get(id);
|
|
115
115
|
}
|
|
116
116
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DynamicFilterComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.CommonService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
117
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DynamicFilterComponent, selector: "app-dynamic-filter", inputs: { lSegFilter: "lSegFilter", lSegColumn: "lSegColumn", comboColumnWork: "comboColumnWork" }, outputs: { searchFilter: "searchFilter" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex flow-row-wrap\" style=\"margin:10px 0 0;justify-content: normal\" *ngIf=\"active\">\r\n\t<div class=\"segmentation-filter\" *ngFor=\"let filter of lSegFilter; let i = index\">\r\n\t\t<div *ngIf=\"filter.idColumn == undefined\">\r\n\t\t\t<div class=\"ml-sm\">\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[autoWidth]=\"false\"\r\n\t\t\t\t\t[style]=\"{ width: '100%' }\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t[options]=\"comboColumnWork\"\r\n\t\t\t\t\t[group]=\"true\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.idColumn\"\r\n\t\t\t\t\t(onChange)=\"onSelectColumn(filter)\"\r\n\t\t\t\t\t[filter]=\"true\"\r\n\t\t\t\t>\r\n\t\t\t\t</p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"flex align-items-center\" *ngIf=\"filter.idColumn != undefined\">\r\n\t\t\t<div class=\"ml-sm mr-sm\">\r\n\t\t\t\t<span class=\"input-group-btn conector\" *ngIf=\"i != 0\">\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-info btn-sm br-5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.conjunction == 'Y'\"\r\n\t\t\t\t\t\t(click)=\"setConjunction(filter, 'O')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tY\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-warning btn-sm br-5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.conjunction == 'O'\"\r\n\t\t\t\t\t\t(click)=\"setConjunction(filter, 'Y')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tO\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</span>\r\n\t\t\t\t<span class=\"ml-sm\" *ngIf=\"i == 0\">\r\n\t\t\t\t\t<span class=\"btn btn-sm br-5\" style=\"cursor:auto;\"> </span>\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"mr-sm\">\r\n\t\t\t\t<select\r\n\t\t\t\t\tclass=\"form-control input-sm select-operation\"\r\n\t\t\t\t\tstyle=\"width: 125px;\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.operator\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<option value=\"1\">Igual a</option>\r\n\t\t\t\t\t<option value=\"2\">Diferente a</option>\r\n\t\t\t\t\t<option value=\"3\" *ngIf=\"filter.type == getTypeText()\">Contiene</option>\r\n\t\t\t\t\t<option value=\"4\" *ngIf=\"filter.type == getTypeText()\">No contiene</option>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMayor a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"6\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMayor o igual a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"7\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMenor a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"8\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMenor o igual a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option value=\"9\">Es vac\u00EDo</option>\r\n\t\t\t\t</select>\r\n\t\t\t</div>\r\n\t\t\t<div>\r\n\t\t\t\t<input\r\n\t\t\t\t\t[type]=\"getTypeInput(filter.type)\"\r\n\t\t\t\t\t[disabled]=\"filter.operator == 9\"\r\n\t\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.value\"\r\n\t\t\t\t\t[placeholder]=\"filter.label\"\r\n\t\t\t\t\tstyle=\"width: 165px;\"\r\n\t\t\t\t\t(keyup.enter)=\"search()\"\r\n\t\t\t\t/>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"flex ml-sm button_filter\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-danger btn-sm btn-rounded\"\r\n\t\t\t\t\t(click)=\"deleteFilter(i)\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-minus\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-success btn-sm btn-rounded ml-sm\"\r\n\t\t\t\t\t(click)=\"addFilter()\"\r\n\t\t\t\t\t*ngIf=\"i + 1 == lSegFilter.length\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-plus\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n<div class=\"row\" style=\"margin:0 0 10px\" *ngIf=\"active\">\r\n\t<div class=\"col-sm-12 panel-button\">\r\n\t\t<div class=\"btn-toolbar\">\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-primary btn-sm btn-consult\" (click)=\"search()\">\r\n\t\t\t\t\tConsultar\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-danger btn-sm btn-delete\" (click)=\"clean()\">\r\n\t\t\t\t\tBorrar filtros\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-warning btn-sm btn-clear\"\r\n\t\t\t\t\t(click)=\"deleteAll()\"\r\n\t\t\t\t>\r\n\t\t\t\t\tlimpiar datos\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", styles: [".button_filter .btn{line-height:12px;width:22px;height:22px}.button_filter .btn.btn-success{background-color:transparent;border:1px solid #4cae4c;color:#4cae4c}.button_filter .btn.btn-success:hover{background-color:#4cae4c;color:#fff}.button_filter .btn-danger{background-color:transparent;color:#d43f3a}.button_filter .btn-danger:hover{background-color:#d43f3a;color:#fff}.conector .btn{height:22px;line-height:12px}.btn{padding:5px}.btn-rounded{border-radius:50%!important}.btn-delete,.btn-save,.btn-definition,.btn-clear{background-color:transparent;color:#333;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.btn-delete:hover{background-color:#d43f3a;color:#fff}.btn-save:hover{background-color:#4cae4c;color:#fff}.btn-definition:hover{color:#fff;background-color:#ccc}.btn-clear:hover{background-color:#eea236;color:#fff}.br-5{border-radius:5px!important}.mr-sm{margin-right:5px}.ml-sm{margin-left:5px}.flex{display:flex!important}.flow-row-wrap{flex-flow:row wrap}.align-items-center{align-items:center}.dialog-max-size .ui-dialog{width:95%!important}.segmentation-group .form-control.select-operation{width:40%;font-size:11px;padding-left:3px;padding-right:3px}.segmentation-group .form-control.input-value{width:60%}.segmentation-filter{margin-bottom:10px}.panel-button{background-color:#f8f8f8;padding-top:10px;padding-bottom:10px;border-top:1px solid rgb(231,231,231);border-bottom:1px solid rgb(231,231,231);text-align:right}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "
|
|
117
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DynamicFilterComponent, selector: "app-dynamic-filter", inputs: { lSegFilter: "lSegFilter", lSegColumn: "lSegColumn", comboColumnWork: "comboColumnWork" }, outputs: { searchFilter: "searchFilter" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex flow-row-wrap\" style=\"margin:10px 0 0;justify-content: normal\" *ngIf=\"active\">\r\n\t<div class=\"segmentation-filter\" *ngFor=\"let filter of lSegFilter; let i = index\">\r\n\t\t<div *ngIf=\"filter.idColumn == undefined\">\r\n\t\t\t<div class=\"ml-sm\">\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[autoWidth]=\"false\"\r\n\t\t\t\t\t[style]=\"{ width: '100%' }\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t[options]=\"comboColumnWork\"\r\n\t\t\t\t\t[group]=\"true\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.idColumn\"\r\n\t\t\t\t\t(onChange)=\"onSelectColumn(filter)\"\r\n\t\t\t\t\t[filter]=\"true\"\r\n\t\t\t\t>\r\n\t\t\t\t</p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"flex align-items-center\" *ngIf=\"filter.idColumn != undefined\">\r\n\t\t\t<div class=\"ml-sm mr-sm\">\r\n\t\t\t\t<span class=\"input-group-btn conector\" *ngIf=\"i != 0\">\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-info btn-sm br-5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.conjunction == 'Y'\"\r\n\t\t\t\t\t\t(click)=\"setConjunction(filter, 'O')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tY\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-warning btn-sm br-5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.conjunction == 'O'\"\r\n\t\t\t\t\t\t(click)=\"setConjunction(filter, 'Y')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tO\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</span>\r\n\t\t\t\t<span class=\"ml-sm\" *ngIf=\"i == 0\">\r\n\t\t\t\t\t<span class=\"btn btn-sm br-5\" style=\"cursor:auto;\"> </span>\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"mr-sm\">\r\n\t\t\t\t<select\r\n\t\t\t\t\tclass=\"form-control input-sm select-operation\"\r\n\t\t\t\t\tstyle=\"width: 125px;\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.operator\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<option value=\"1\">Igual a</option>\r\n\t\t\t\t\t<option value=\"2\">Diferente a</option>\r\n\t\t\t\t\t<option value=\"3\" *ngIf=\"filter.type == getTypeText()\">Contiene</option>\r\n\t\t\t\t\t<option value=\"4\" *ngIf=\"filter.type == getTypeText()\">No contiene</option>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMayor a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"6\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMayor o igual a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"7\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMenor a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"8\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMenor o igual a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option value=\"9\">Es vac\u00EDo</option>\r\n\t\t\t\t</select>\r\n\t\t\t</div>\r\n\t\t\t<div>\r\n\t\t\t\t<input\r\n\t\t\t\t\t[type]=\"getTypeInput(filter.type)\"\r\n\t\t\t\t\t[disabled]=\"filter.operator == 9\"\r\n\t\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.value\"\r\n\t\t\t\t\t[placeholder]=\"filter.label\"\r\n\t\t\t\t\tstyle=\"width: 165px;\"\r\n\t\t\t\t\t(keyup.enter)=\"search()\"\r\n\t\t\t\t/>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"flex ml-sm button_filter\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-danger btn-sm btn-rounded\"\r\n\t\t\t\t\t(click)=\"deleteFilter(i)\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-minus\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-success btn-sm btn-rounded ml-sm\"\r\n\t\t\t\t\t(click)=\"addFilter()\"\r\n\t\t\t\t\t*ngIf=\"i + 1 == lSegFilter.length\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-plus\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n<div class=\"row\" style=\"margin:0 0 10px\" *ngIf=\"active\">\r\n\t<div class=\"col-sm-12 panel-button\">\r\n\t\t<div class=\"btn-toolbar\">\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-primary btn-sm btn-consult\" (click)=\"search()\">\r\n\t\t\t\t\tConsultar\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-danger btn-sm btn-delete\" (click)=\"clean()\">\r\n\t\t\t\t\tBorrar filtros\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-warning btn-sm btn-clear\"\r\n\t\t\t\t\t(click)=\"deleteAll()\"\r\n\t\t\t\t>\r\n\t\t\t\t\tlimpiar datos\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", styles: [".button_filter .btn{line-height:12px;width:22px;height:22px}.button_filter .btn.btn-success{background-color:transparent;border:1px solid #4cae4c;color:#4cae4c}.button_filter .btn.btn-success:hover{background-color:#4cae4c;color:#fff}.button_filter .btn-danger{background-color:transparent;color:#d43f3a}.button_filter .btn-danger:hover{background-color:#d43f3a;color:#fff}.conector .btn{height:22px;line-height:12px}.btn{padding:5px}.btn-rounded{border-radius:50%!important}.btn-delete,.btn-save,.btn-definition,.btn-clear{background-color:transparent;color:#333;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.btn-delete:hover{background-color:#d43f3a;color:#fff}.btn-save:hover{background-color:#4cae4c;color:#fff}.btn-definition:hover{color:#fff;background-color:#ccc}.btn-clear:hover{background-color:#eea236;color:#fff}.br-5{border-radius:5px!important}.mr-sm{margin-right:5px}.ml-sm{margin-left:5px}.flex{display:flex!important}.flow-row-wrap{flex-flow:row wrap}.align-items-center{align-items:center}.dialog-max-size .ui-dialog{width:95%!important}.segmentation-group .form-control.select-operation{width:40%;font-size:11px;padding-left:3px;padding-right:3px}.segmentation-group .form-control.input-value{width:60%}.segmentation-filter{margin-bottom:10px}.panel-button{background-color:#f8f8f8;padding-top:10px;padding-bottom:10px;border-top:1px solid rgb(231,231,231);border-bottom:1px solid rgb(231,231,231);text-align:right}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
118
118
|
}
|
|
119
119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DynamicFilterComponent, decorators: [{
|
|
120
120
|
type: Component,
|
|
@@ -189,7 +189,7 @@ export class SelectPppComponent {
|
|
|
189
189
|
this.cdRef.detectChanges();
|
|
190
190
|
}
|
|
191
191
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectPppComponent, deps: [{ token: i1.PppService }, { token: i2.UntypedFormBuilder }, { token: i3.ActivatedRoute }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
192
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SelectPppComponent, selector: "pli-select-ppp", outputs: { onPromCodigoSelected: "onPromCodigoSelected" }, ngImport: i0, template: "<!-- <div class=\"row\">\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"patCodigo\" class=\"form-control-label\">Patrocinador</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listPatrocinadorDr\"\r\n\t\t\t\t[(ngModel)]=\"patCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(ngModelChange)=\"onPliPatrocinadorChanged()\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"progCodigo\" class=\"form-control-label\">Programa</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listProgramaDr\"\r\n\t\t\t\t[(ngModel)]=\"progCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(onChange)=\"onPliProgramaChanged()\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"promCodigo\" class=\"form-control-label\">Promocion</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listPromocionDr\"\r\n\t\t\t\t[(ngModel)]=\"promCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(onChange)=\"onPliPromocionChanged($event)\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n</div> -->\r\n<form [formGroup]=\"formPPP\">\r\n\t<div class=\"row\">\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"patCodigo\" class=\"form-control-label\">Patrocinador</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listPatrocinadorDr\"\r\n\t\t\t\t\tformControlName=\"sponsor\"\r\n\t\t\t\t\t[(ngModel)]=\"patCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(ngModelChange)=\"onPliPatrocinadorChanged()\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"progCodigo\" class=\"form-control-label\">Programa</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listProgramaDr\"\r\n\t\t\t\t\tformControlName=\"program\"\r\n\t\t\t\t\t[(ngModel)]=\"progCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(onChange)=\"onPliProgramaChanged()\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"promCodigo\" class=\"form-control-label\">Promocion</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listPromocionDr\"\r\n\t\t\t\t\tformControlName=\"promotion\"\r\n\t\t\t\t\t[(ngModel)]=\"promCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(onChange)=\"onPliPromocionChanged($event)\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "
|
|
192
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SelectPppComponent, selector: "pli-select-ppp", outputs: { onPromCodigoSelected: "onPromCodigoSelected" }, ngImport: i0, template: "<!-- <div class=\"row\">\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"patCodigo\" class=\"form-control-label\">Patrocinador</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listPatrocinadorDr\"\r\n\t\t\t\t[(ngModel)]=\"patCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(ngModelChange)=\"onPliPatrocinadorChanged()\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"progCodigo\" class=\"form-control-label\">Programa</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listProgramaDr\"\r\n\t\t\t\t[(ngModel)]=\"progCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(onChange)=\"onPliProgramaChanged()\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"promCodigo\" class=\"form-control-label\">Promocion</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listPromocionDr\"\r\n\t\t\t\t[(ngModel)]=\"promCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(onChange)=\"onPliPromocionChanged($event)\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n</div> -->\r\n<form [formGroup]=\"formPPP\">\r\n\t<div class=\"row\">\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"patCodigo\" class=\"form-control-label\">Patrocinador</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listPatrocinadorDr\"\r\n\t\t\t\t\tformControlName=\"sponsor\"\r\n\t\t\t\t\t[(ngModel)]=\"patCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(ngModelChange)=\"onPliPatrocinadorChanged()\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"progCodigo\" class=\"form-control-label\">Programa</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listProgramaDr\"\r\n\t\t\t\t\tformControlName=\"program\"\r\n\t\t\t\t\t[(ngModel)]=\"progCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(onChange)=\"onPliProgramaChanged()\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"promCodigo\" class=\"form-control-label\">Promocion</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listPromocionDr\"\r\n\t\t\t\t\tformControlName=\"promotion\"\r\n\t\t\t\t\t[(ngModel)]=\"promCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(onChange)=\"onPliPromocionChanged($event)\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
193
193
|
}
|
|
194
194
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectPppComponent, decorators: [{
|
|
195
195
|
type: Component,
|
|
@@ -117,7 +117,7 @@ export class TokensCalculatorComponent {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TokensCalculatorComponent, deps: [{ token: i1.SegmentationTokensService }, { token: i2.ToastrService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TokensCalculatorComponent, selector: "app-tokens-calculator", inputs: { comboColumnWorkInput: "comboColumnWorkInput" }, ngImport: i0, template: "<div class=\"flex\" style=\"margin-bottom: 11px; width: fit-content\">\r\n\t<label class=\"radio-inline\">\r\n\t\t<input\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[(ngModel)]=\"tokenType\"\r\n\t\t\t[value]=\"conditionalTokenType\"\r\n\t\t\t(click)=\"resetValues(true)\"\r\n\t\t/>\r\n\t\tCondicional\r\n\t</label>\r\n\t<label class=\"radio-inline\">\r\n\t\t<input\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[(ngModel)]=\"tokenType\"\r\n\t\t\t[value]=\"hierarchicalTokenType\"\r\n\t\t\t(click)=\"resetValues()\"\r\n\t\t/>\r\n\t\tJer\u00E1rquico\r\n\t</label>\r\n</div>\r\n\r\n<ng-container *ngIf=\"isConditionalToken\">\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"field\">Campo a evaluar</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\tid=\"field\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t[options]=\"comboColumnWork\"\r\n\t\t\t\t[group]=\"true\"\r\n\t\t\t\t[(ngModel)]=\"keyToCalculate\"\r\n\t\t\t\t[filter]=\"true\"\r\n\t\t\t\t[style]=\"{ width: '250px' }\"\r\n\t\t\t>\r\n\t\t\t</p-dropdown>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"operator\">Operador</label>\r\n\t\t\t<select\r\n\t\t\t\tid=\"operator\"\r\n\t\t\t\tclass=\"form-control input-sm select-operation\"\r\n\t\t\t\tstyle=\"width: 80px\"\r\n\t\t\t\t[(ngModel)]=\"operator\"\r\n\t\t\t>\r\n\t\t\t\t<option [value]=\"EQ_OPERATOR\">Igual a</option>\r\n\t\t\t\t<option [value]=\"NEQ_OPERATOR\">Diferente a</option>\r\n\t\t\t</select>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"compare\">Valor a comparar</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"compare\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"valueToCompare\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 156px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"positive\">Valor positivo</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"positive\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"positiveValue\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 250px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"negative\">Valor negativo</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"negative\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"negativeValue\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 250px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\" *ngIf=\"valueToCompare\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"generate\">Resultado</label>\r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"generateConditionalToken()\"\r\n\t\t\t\ttitle=\"Copiar\"\r\n\t\t\t\tstyle=\"margin-left: 2px; width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"!isConditionalToken\">\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 13px; margin-bottom: 20px\">\r\n\t\t<div style=\"margin-right: 10px\">\r\n\t\t\t<label for=\"hierarchicalName\">Nombre</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"hierarchicalName\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"hierarchicalName\"\r\n\t\t\t\tplaceholder=\"Nombre\"\r\n\t\t\t\tstyle=\"width: 226px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t\t<div style=\"margin-right: 10px\">\r\n\t\t\t<label for=\"generate\">Acciones</label>\r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"generateHierarchicalTokenType()\"\r\n\t\t\t\ttitle=\"Copiar\"\r\n\t\t\t\tstyle=\"width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t</button>\r\n\t\t\t \r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"useCondition()\"\r\n\t\t\t\ttitle=\"Volver condicional\"\r\n\t\t\t\tstyle=\"margin-left: -5px; width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-plus\"></span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t\t<div class=\"mr-sm\"></div>\r\n\t</div>\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 13px; margin-bottom: 20px\">\r\n\t\t<p-pickList\r\n\t\t\t[dragdrop]=\"true\"\r\n\t\t\tngDefaultControl\r\n\t\t\t[source]=\"source\"\r\n\t\t\t[target]=\"target\"\r\n\t\t\t[responsive]=\"true\"\r\n\t\t\tfilterBy=\"category,label\"\r\n\t\t\t[showSourceControls]=\"false\"\r\n\t\t\ttargetFilterPlaceholder=\" Buscar...\"\r\n\t\t\tsourceFilterPlaceholder=\" Buscar...\"\r\n\t\t>\r\n\t\t\t<!-- [sourceStyle]=\"{ width: '234px' }\"\r\n\t\t\t[targetStyle]=\"{ width: '234px' }\" -->\r\n\t\t\t<ng-template let-field pTemplate=\"item\">\r\n\t\t\t\t<div class=\"ui-helper-clearfix\">\r\n\t\t\t\t\t{{ field.label }} <br />\r\n\t\t\t\t\t<small>\r\n\t\t\t\t\t\t<b> {{ field.category }} </b>\r\n\t\t\t\t\t</small>\r\n\t\t\t\t</div>\r\n\t\t\t</ng-template>\r\n\t\t</p-pickList>\r\n\t</div>\r\n</ng-container>\r\n", styles: [".mr-sm{margin-right:15px}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i4.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i5.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i6.PickList, selector: "p-pickList", inputs: ["source", "target", "sourceHeader", "tabindex", "rightButtonAriaLabel", "leftButtonAriaLabel", "allRightButtonAriaLabel", "allLeftButtonAriaLabel", "upButtonAriaLabel", "downButtonAriaLabel", "topButtonAriaLabel", "bottomButtonAriaLabel", "targetHeader", "responsive", "filterBy", "filterLocale", "trackBy", "sourceTrackBy", "targetTrackBy", "showSourceFilter", "showTargetFilter", "metaKeySelection", "dragdrop", "style", "styleClass", "sourceStyle", "targetStyle", "showSourceControls", "showTargetControls", "sourceFilterPlaceholder", "targetFilterPlaceholder", "disabled", "ariaSourceFilterLabel", "ariaTargetFilterLabel", "filterMatchMode", "stripedRows", "keepSelection", "breakpoint"], outputs: ["onMoveToSource", "onMoveAllToSource", "onMoveAllToTarget", "onMoveToTarget", "onSourceReorder", "onTargetReorder", "onSourceSelect", "onTargetSelect", "onSourceFilter", "onTargetFilter", "onFocus", "onBlur"] }, { kind: "component", type: i7.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "
|
|
120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TokensCalculatorComponent, selector: "app-tokens-calculator", inputs: { comboColumnWorkInput: "comboColumnWorkInput" }, ngImport: i0, template: "<div class=\"flex\" style=\"margin-bottom: 11px; width: fit-content\">\r\n\t<label class=\"radio-inline\">\r\n\t\t<input\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[(ngModel)]=\"tokenType\"\r\n\t\t\t[value]=\"conditionalTokenType\"\r\n\t\t\t(click)=\"resetValues(true)\"\r\n\t\t/>\r\n\t\tCondicional\r\n\t</label>\r\n\t<label class=\"radio-inline\">\r\n\t\t<input\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[(ngModel)]=\"tokenType\"\r\n\t\t\t[value]=\"hierarchicalTokenType\"\r\n\t\t\t(click)=\"resetValues()\"\r\n\t\t/>\r\n\t\tJer\u00E1rquico\r\n\t</label>\r\n</div>\r\n\r\n<ng-container *ngIf=\"isConditionalToken\">\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"field\">Campo a evaluar</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\tid=\"field\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t[options]=\"comboColumnWork\"\r\n\t\t\t\t[group]=\"true\"\r\n\t\t\t\t[(ngModel)]=\"keyToCalculate\"\r\n\t\t\t\t[filter]=\"true\"\r\n\t\t\t\t[style]=\"{ width: '250px' }\"\r\n\t\t\t>\r\n\t\t\t</p-dropdown>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"operator\">Operador</label>\r\n\t\t\t<select\r\n\t\t\t\tid=\"operator\"\r\n\t\t\t\tclass=\"form-control input-sm select-operation\"\r\n\t\t\t\tstyle=\"width: 80px\"\r\n\t\t\t\t[(ngModel)]=\"operator\"\r\n\t\t\t>\r\n\t\t\t\t<option [value]=\"EQ_OPERATOR\">Igual a</option>\r\n\t\t\t\t<option [value]=\"NEQ_OPERATOR\">Diferente a</option>\r\n\t\t\t</select>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"compare\">Valor a comparar</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"compare\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"valueToCompare\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 156px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"positive\">Valor positivo</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"positive\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"positiveValue\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 250px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"negative\">Valor negativo</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"negative\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"negativeValue\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 250px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\" *ngIf=\"valueToCompare\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"generate\">Resultado</label>\r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"generateConditionalToken()\"\r\n\t\t\t\ttitle=\"Copiar\"\r\n\t\t\t\tstyle=\"margin-left: 2px; width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"!isConditionalToken\">\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 13px; margin-bottom: 20px\">\r\n\t\t<div style=\"margin-right: 10px\">\r\n\t\t\t<label for=\"hierarchicalName\">Nombre</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"hierarchicalName\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"hierarchicalName\"\r\n\t\t\t\tplaceholder=\"Nombre\"\r\n\t\t\t\tstyle=\"width: 226px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t\t<div style=\"margin-right: 10px\">\r\n\t\t\t<label for=\"generate\">Acciones</label>\r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"generateHierarchicalTokenType()\"\r\n\t\t\t\ttitle=\"Copiar\"\r\n\t\t\t\tstyle=\"width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t</button>\r\n\t\t\t \r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"useCondition()\"\r\n\t\t\t\ttitle=\"Volver condicional\"\r\n\t\t\t\tstyle=\"margin-left: -5px; width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-plus\"></span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t\t<div class=\"mr-sm\"></div>\r\n\t</div>\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 13px; margin-bottom: 20px\">\r\n\t\t<p-pickList\r\n\t\t\t[dragdrop]=\"true\"\r\n\t\t\tngDefaultControl\r\n\t\t\t[source]=\"source\"\r\n\t\t\t[target]=\"target\"\r\n\t\t\t[responsive]=\"true\"\r\n\t\t\tfilterBy=\"category,label\"\r\n\t\t\t[showSourceControls]=\"false\"\r\n\t\t\ttargetFilterPlaceholder=\" Buscar...\"\r\n\t\t\tsourceFilterPlaceholder=\" Buscar...\"\r\n\t\t>\r\n\t\t\t<!-- [sourceStyle]=\"{ width: '234px' }\"\r\n\t\t\t[targetStyle]=\"{ width: '234px' }\" -->\r\n\t\t\t<ng-template let-field pTemplate=\"item\">\r\n\t\t\t\t<div class=\"ui-helper-clearfix\">\r\n\t\t\t\t\t{{ field.label }} <br />\r\n\t\t\t\t\t<small>\r\n\t\t\t\t\t\t<b> {{ field.category }} </b>\r\n\t\t\t\t\t</small>\r\n\t\t\t\t</div>\r\n\t\t\t</ng-template>\r\n\t\t</p-pickList>\r\n\t</div>\r\n</ng-container>\r\n", styles: [".mr-sm{margin-right:15px}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i4.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i5.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i6.PickList, selector: "p-pickList", inputs: ["source", "target", "sourceHeader", "tabindex", "rightButtonAriaLabel", "leftButtonAriaLabel", "allRightButtonAriaLabel", "allLeftButtonAriaLabel", "upButtonAriaLabel", "downButtonAriaLabel", "topButtonAriaLabel", "bottomButtonAriaLabel", "targetHeader", "responsive", "filterBy", "filterLocale", "trackBy", "sourceTrackBy", "targetTrackBy", "showSourceFilter", "showTargetFilter", "metaKeySelection", "dragdrop", "style", "styleClass", "sourceStyle", "targetStyle", "showSourceControls", "showTargetControls", "sourceFilterPlaceholder", "targetFilterPlaceholder", "disabled", "ariaSourceFilterLabel", "ariaTargetFilterLabel", "filterMatchMode", "stripedRows", "keepSelection", "breakpoint"], outputs: ["onMoveToSource", "onMoveAllToSource", "onMoveAllToTarget", "onMoveToTarget", "onSourceReorder", "onTargetReorder", "onSourceSelect", "onTargetSelect", "onSourceFilter", "onTargetFilter", "onFocus", "onBlur"] }, { kind: "component", type: i7.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
121
121
|
}
|
|
122
122
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TokensCalculatorComponent, decorators: [{
|
|
123
123
|
type: Component,
|
|
@@ -120,6 +120,12 @@ export class DocumentService {
|
|
|
120
120
|
formData.append('prompt', prompt);
|
|
121
121
|
return this.httpClient.post(this.environment.host.backend.frontoffice + 'document/documentAnalysisWithIA', formData);
|
|
122
122
|
}
|
|
123
|
+
documentAnalysisWithIASt(file, prompt) {
|
|
124
|
+
const formData = new FormData();
|
|
125
|
+
formData.append('file', file);
|
|
126
|
+
formData.append('prompt', prompt);
|
|
127
|
+
return this.httpClient.post(this.environment.host.backend.frontoffice + 'document/v2/documentAnalysisWithIA', formData);
|
|
128
|
+
}
|
|
123
129
|
updateSelectionInformation(updateSelectionInformation) {
|
|
124
130
|
return this.httpClient.post(this.environment.host.backend.frontoffice + 'document/updateSelectionInformation', updateSelectionInformation, this.headerJson);
|
|
125
131
|
}
|
|
@@ -135,4 +141,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
135
141
|
type: Inject,
|
|
136
142
|
args: ['environment']
|
|
137
143
|
}] }, { type: i1.HttpClient }] });
|
|
138
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXBsaS1jb21tb25zL3NyYy9saWIvc2VydmljZXMvZG9jdW1lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVuRCxPQUFPLEVBQWMsVUFBVSxFQUFFLFdBQVcsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQzNFLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7OztBQVczQyxNQUFNLE9BQU8sZUFBZTtJQUszQixZQUNnQyxXQUFXLEVBQ2xDLFVBQXNCO1FBREMsZ0JBQVcsR0FBWCxXQUFXLENBQUE7UUFDbEMsZUFBVSxHQUFWLFVBQVUsQ0FBWTtRQU52QixlQUFVLEdBQUcsRUFBRSxPQUFPLEVBQUUsSUFBSSxXQUFXLENBQUMsRUFBRSxjQUFjLEVBQUUsa0JBQWtCLEVBQUUsQ0FBQyxFQUFFLENBQUM7UUFFbEYsa0NBQTZCLEdBQUcsSUFBSSxPQUFPLEVBQVcsQ0FBQztJQUs1RCxDQUFDO0lBRUosb0NBQW9DO0lBQ3BDLE9BQU8sQ0FBQyxFQUFVO1FBQ2pCLE9BQU8sSUFBSSxDQUFDLFVBQVUsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0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ZW50L3VwZGF0ZVNlbGVjdGlvbkluZm9ybWF0aW9uJyxcclxuXHRcdFx0dXBkYXRlU2VsZWN0aW9uSW5mb3JtYXRpb24sXHJcblx0XHRcdHRoaXMuaGVhZGVySnNvblxyXG5cdFx0KTtcclxuXHR9XHJcbn1cclxuIl19
|
package/esm2022/version.mjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
export const VERSION = {
|
|
4
4
|
"dirty": true,
|
|
5
|
-
"raw": "v0.0.18-
|
|
6
|
-
"hash": "
|
|
7
|
-
"distance":
|
|
5
|
+
"raw": "v0.0.18-2620-g5b2a508d-dirty",
|
|
6
|
+
"hash": "g5b2a508d",
|
|
7
|
+
"distance": 2620,
|
|
8
8
|
"tag": "v0.0.18",
|
|
9
9
|
"semver": {
|
|
10
10
|
"options": {
|
|
@@ -20,10 +20,10 @@ export const VERSION = {
|
|
|
20
20
|
"build": [],
|
|
21
21
|
"version": "0.0.18"
|
|
22
22
|
},
|
|
23
|
-
"suffix": "
|
|
24
|
-
"semverString": "0.0.18+
|
|
25
|
-
"version": "1.0.
|
|
26
|
-
"buildTimestamp": "2025-
|
|
23
|
+
"suffix": "2620-g5b2a508d-dirty",
|
|
24
|
+
"semverString": "0.0.18+2620.g5b2a508d",
|
|
25
|
+
"version": "1.0.84",
|
|
26
|
+
"buildTimestamp": "2025-04-01T15:58:43.068Z"
|
|
27
27
|
};
|
|
28
28
|
/* tslint:enable */
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25nLXBsaS1jb21tb25zL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJFQUEyRTtBQUMzRSxvQk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AuMC4xOFwiLFxuICAgIFwic2VtdmVyXCI6IHtcbiAgICAgICAgXCJvcHRpb25zXCI6IHtcbiAgICAgICAgICAgIFwibG9vc2VcIjogZmFsc2UsXG4gICAgICAgICAgICBcImluY2x1ZGVQcmVyZWxlYXNlXCI6IGZhbHNlXG4gICAgICAgIH0sXG4gICAgICAgIFwibG9vc2VcIjogZmFsc2UsXG4gICAgICAgIFwicmF3XCI6IFwidjAuMC4xOFwiLFxuICAgICAgICBcIm1ham9yXCI6IDAsXG4gICAgICAgIFwibWlub3JcIjogMCxcbiAgICAgICAgXCJwYXRjaFwiOiAxOCxcbiAgICAgICAgXCJwcmVyZWxlYXNlXCI6IFtdLFxuICAgICAgICBcImJ1aWxkXCI6IFtdLFxuICAgICAgICBcInZlcnNpb25cIjogXCIwLjAuMThcIlxuICAgIH0sXG4gICAgXCJzdWZmaXhcIjogXCIyNjIwLWc1YjJhNTA4ZC1kaXJ0eVwiLFxuICAgIFwic2VtdmVyU3RyaW5nXCI6IFwiMC4wLjE4KzI2MjAuZzViMmE1MDhkXCIsXG4gICAgXCJ2ZXJzaW9uXCI6IFwiMS4wLjg0XCIsXG4gICAgXCJidWlsZFRpbWVzdGFtcFwiOiBcIjIwMjUtMDQtMDFUMTU6NTg6NDMuMDY4WlwiXG59O1xuLyogdHNsaW50OmVuYWJsZSAqL1xuIl19
|
|
@@ -4813,7 +4813,7 @@ class DynamicFilterComponent {
|
|
|
4813
4813
|
return this.mapSegColumnById.get(id);
|
|
4814
4814
|
}
|
|
4815
4815
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DynamicFilterComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: CommonService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4816
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DynamicFilterComponent, selector: "app-dynamic-filter", inputs: { lSegFilter: "lSegFilter", lSegColumn: "lSegColumn", comboColumnWork: "comboColumnWork" }, outputs: { searchFilter: "searchFilter" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex flow-row-wrap\" style=\"margin:10px 0 0;justify-content: normal\" *ngIf=\"active\">\r\n\t<div class=\"segmentation-filter\" *ngFor=\"let filter of lSegFilter; let i = index\">\r\n\t\t<div *ngIf=\"filter.idColumn == undefined\">\r\n\t\t\t<div class=\"ml-sm\">\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[autoWidth]=\"false\"\r\n\t\t\t\t\t[style]=\"{ width: '100%' }\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t[options]=\"comboColumnWork\"\r\n\t\t\t\t\t[group]=\"true\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.idColumn\"\r\n\t\t\t\t\t(onChange)=\"onSelectColumn(filter)\"\r\n\t\t\t\t\t[filter]=\"true\"\r\n\t\t\t\t>\r\n\t\t\t\t</p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"flex align-items-center\" *ngIf=\"filter.idColumn != undefined\">\r\n\t\t\t<div class=\"ml-sm mr-sm\">\r\n\t\t\t\t<span class=\"input-group-btn conector\" *ngIf=\"i != 0\">\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-info btn-sm br-5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.conjunction == 'Y'\"\r\n\t\t\t\t\t\t(click)=\"setConjunction(filter, 'O')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tY\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-warning btn-sm br-5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.conjunction == 'O'\"\r\n\t\t\t\t\t\t(click)=\"setConjunction(filter, 'Y')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tO\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</span>\r\n\t\t\t\t<span class=\"ml-sm\" *ngIf=\"i == 0\">\r\n\t\t\t\t\t<span class=\"btn btn-sm br-5\" style=\"cursor:auto;\"> </span>\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"mr-sm\">\r\n\t\t\t\t<select\r\n\t\t\t\t\tclass=\"form-control input-sm select-operation\"\r\n\t\t\t\t\tstyle=\"width: 125px;\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.operator\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<option value=\"1\">Igual a</option>\r\n\t\t\t\t\t<option value=\"2\">Diferente a</option>\r\n\t\t\t\t\t<option value=\"3\" *ngIf=\"filter.type == getTypeText()\">Contiene</option>\r\n\t\t\t\t\t<option value=\"4\" *ngIf=\"filter.type == getTypeText()\">No contiene</option>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMayor a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"6\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMayor o igual a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"7\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMenor a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"8\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMenor o igual a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option value=\"9\">Es vac\u00EDo</option>\r\n\t\t\t\t</select>\r\n\t\t\t</div>\r\n\t\t\t<div>\r\n\t\t\t\t<input\r\n\t\t\t\t\t[type]=\"getTypeInput(filter.type)\"\r\n\t\t\t\t\t[disabled]=\"filter.operator == 9\"\r\n\t\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.value\"\r\n\t\t\t\t\t[placeholder]=\"filter.label\"\r\n\t\t\t\t\tstyle=\"width: 165px;\"\r\n\t\t\t\t\t(keyup.enter)=\"search()\"\r\n\t\t\t\t/>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"flex ml-sm button_filter\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-danger btn-sm btn-rounded\"\r\n\t\t\t\t\t(click)=\"deleteFilter(i)\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-minus\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-success btn-sm btn-rounded ml-sm\"\r\n\t\t\t\t\t(click)=\"addFilter()\"\r\n\t\t\t\t\t*ngIf=\"i + 1 == lSegFilter.length\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-plus\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n<div class=\"row\" style=\"margin:0 0 10px\" *ngIf=\"active\">\r\n\t<div class=\"col-sm-12 panel-button\">\r\n\t\t<div class=\"btn-toolbar\">\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-primary btn-sm btn-consult\" (click)=\"search()\">\r\n\t\t\t\t\tConsultar\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-danger btn-sm btn-delete\" (click)=\"clean()\">\r\n\t\t\t\t\tBorrar filtros\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-warning btn-sm btn-clear\"\r\n\t\t\t\t\t(click)=\"deleteAll()\"\r\n\t\t\t\t>\r\n\t\t\t\t\tlimpiar datos\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", styles: [".button_filter .btn{line-height:12px;width:22px;height:22px}.button_filter .btn.btn-success{background-color:transparent;border:1px solid #4cae4c;color:#4cae4c}.button_filter .btn.btn-success:hover{background-color:#4cae4c;color:#fff}.button_filter .btn-danger{background-color:transparent;color:#d43f3a}.button_filter .btn-danger:hover{background-color:#d43f3a;color:#fff}.conector .btn{height:22px;line-height:12px}.btn{padding:5px}.btn-rounded{border-radius:50%!important}.btn-delete,.btn-save,.btn-definition,.btn-clear{background-color:transparent;color:#333;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.btn-delete:hover{background-color:#d43f3a;color:#fff}.btn-save:hover{background-color:#4cae4c;color:#fff}.btn-definition:hover{color:#fff;background-color:#ccc}.btn-clear:hover{background-color:#eea236;color:#fff}.br-5{border-radius:5px!important}.mr-sm{margin-right:5px}.ml-sm{margin-left:5px}.flex{display:flex!important}.flow-row-wrap{flex-flow:row wrap}.align-items-center{align-items:center}.dialog-max-size .ui-dialog{width:95%!important}.segmentation-group .form-control.select-operation{width:40%;font-size:11px;padding-left:3px;padding-right:3px}.segmentation-group .form-control.input-value{width:60%}.segmentation-filter{margin-bottom:10px}.panel-button{background-color:#f8f8f8;padding-top:10px;padding-bottom:10px;border-top:1px solid rgb(231,231,231);border-bottom:1px solid rgb(231,231,231);text-align:right}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$1.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "
|
|
4816
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DynamicFilterComponent, selector: "app-dynamic-filter", inputs: { lSegFilter: "lSegFilter", lSegColumn: "lSegColumn", comboColumnWork: "comboColumnWork" }, outputs: { searchFilter: "searchFilter" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex flow-row-wrap\" style=\"margin:10px 0 0;justify-content: normal\" *ngIf=\"active\">\r\n\t<div class=\"segmentation-filter\" *ngFor=\"let filter of lSegFilter; let i = index\">\r\n\t\t<div *ngIf=\"filter.idColumn == undefined\">\r\n\t\t\t<div class=\"ml-sm\">\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[autoWidth]=\"false\"\r\n\t\t\t\t\t[style]=\"{ width: '100%' }\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t[options]=\"comboColumnWork\"\r\n\t\t\t\t\t[group]=\"true\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.idColumn\"\r\n\t\t\t\t\t(onChange)=\"onSelectColumn(filter)\"\r\n\t\t\t\t\t[filter]=\"true\"\r\n\t\t\t\t>\r\n\t\t\t\t</p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"flex align-items-center\" *ngIf=\"filter.idColumn != undefined\">\r\n\t\t\t<div class=\"ml-sm mr-sm\">\r\n\t\t\t\t<span class=\"input-group-btn conector\" *ngIf=\"i != 0\">\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-info btn-sm br-5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.conjunction == 'Y'\"\r\n\t\t\t\t\t\t(click)=\"setConjunction(filter, 'O')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tY\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-warning btn-sm br-5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.conjunction == 'O'\"\r\n\t\t\t\t\t\t(click)=\"setConjunction(filter, 'Y')\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tO\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</span>\r\n\t\t\t\t<span class=\"ml-sm\" *ngIf=\"i == 0\">\r\n\t\t\t\t\t<span class=\"btn btn-sm br-5\" style=\"cursor:auto;\"> </span>\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"mr-sm\">\r\n\t\t\t\t<select\r\n\t\t\t\t\tclass=\"form-control input-sm select-operation\"\r\n\t\t\t\t\tstyle=\"width: 125px;\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.operator\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<option value=\"1\">Igual a</option>\r\n\t\t\t\t\t<option value=\"2\">Diferente a</option>\r\n\t\t\t\t\t<option value=\"3\" *ngIf=\"filter.type == getTypeText()\">Contiene</option>\r\n\t\t\t\t\t<option value=\"4\" *ngIf=\"filter.type == getTypeText()\">No contiene</option>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"5\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMayor a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"6\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMayor o igual a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"7\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMenor a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option\r\n\t\t\t\t\t\tvalue=\"8\"\r\n\t\t\t\t\t\t*ngIf=\"filter.type == getTypeNumber() || filter.type == getTypeDate()\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tMenor o igual a</option\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<option value=\"9\">Es vac\u00EDo</option>\r\n\t\t\t\t</select>\r\n\t\t\t</div>\r\n\t\t\t<div>\r\n\t\t\t\t<input\r\n\t\t\t\t\t[type]=\"getTypeInput(filter.type)\"\r\n\t\t\t\t\t[disabled]=\"filter.operator == 9\"\r\n\t\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t\t[(ngModel)]=\"filter.value\"\r\n\t\t\t\t\t[placeholder]=\"filter.label\"\r\n\t\t\t\t\tstyle=\"width: 165px;\"\r\n\t\t\t\t\t(keyup.enter)=\"search()\"\r\n\t\t\t\t/>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"flex ml-sm button_filter\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-danger btn-sm btn-rounded\"\r\n\t\t\t\t\t(click)=\"deleteFilter(i)\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-minus\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-success btn-sm btn-rounded ml-sm\"\r\n\t\t\t\t\t(click)=\"addFilter()\"\r\n\t\t\t\t\t*ngIf=\"i + 1 == lSegFilter.length\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-plus\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n<div class=\"row\" style=\"margin:0 0 10px\" *ngIf=\"active\">\r\n\t<div class=\"col-sm-12 panel-button\">\r\n\t\t<div class=\"btn-toolbar\">\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-primary btn-sm btn-consult\" (click)=\"search()\">\r\n\t\t\t\t\tConsultar\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-danger btn-sm btn-delete\" (click)=\"clean()\">\r\n\t\t\t\t\tBorrar filtros\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"btn-group\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-warning btn-sm btn-clear\"\r\n\t\t\t\t\t(click)=\"deleteAll()\"\r\n\t\t\t\t>\r\n\t\t\t\t\tlimpiar datos\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", styles: [".button_filter .btn{line-height:12px;width:22px;height:22px}.button_filter .btn.btn-success{background-color:transparent;border:1px solid #4cae4c;color:#4cae4c}.button_filter .btn.btn-success:hover{background-color:#4cae4c;color:#fff}.button_filter .btn-danger{background-color:transparent;color:#d43f3a}.button_filter .btn-danger:hover{background-color:#d43f3a;color:#fff}.conector .btn{height:22px;line-height:12px}.btn{padding:5px}.btn-rounded{border-radius:50%!important}.btn-delete,.btn-save,.btn-definition,.btn-clear{background-color:transparent;color:#333;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.btn-delete:hover{background-color:#d43f3a;color:#fff}.btn-save:hover{background-color:#4cae4c;color:#fff}.btn-definition:hover{color:#fff;background-color:#ccc}.btn-clear:hover{background-color:#eea236;color:#fff}.br-5{border-radius:5px!important}.mr-sm{margin-right:5px}.ml-sm{margin-left:5px}.flex{display:flex!important}.flow-row-wrap{flex-flow:row wrap}.align-items-center{align-items:center}.dialog-max-size .ui-dialog{width:95%!important}.segmentation-group .form-control.select-operation{width:40%;font-size:11px;padding-left:3px;padding-right:3px}.segmentation-group .form-control.input-value{width:60%}.segmentation-filter{margin-bottom:10px}.panel-button{background-color:#f8f8f8;padding-top:10px;padding-bottom:10px;border-top:1px solid rgb(231,231,231);border-bottom:1px solid rgb(231,231,231);text-align:right}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$1.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
4817
4817
|
}
|
|
4818
4818
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DynamicFilterComponent, decorators: [{
|
|
4819
4819
|
type: Component,
|
|
@@ -6752,7 +6752,7 @@ class SelectPppComponent {
|
|
|
6752
6752
|
this.cdRef.detectChanges();
|
|
6753
6753
|
}
|
|
6754
6754
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectPppComponent, deps: [{ token: PppService }, { token: i5.UntypedFormBuilder }, { token: i4.ActivatedRoute }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6755
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SelectPppComponent, selector: "pli-select-ppp", outputs: { onPromCodigoSelected: "onPromCodigoSelected" }, ngImport: i0, template: "<!-- <div class=\"row\">\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"patCodigo\" class=\"form-control-label\">Patrocinador</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listPatrocinadorDr\"\r\n\t\t\t\t[(ngModel)]=\"patCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(ngModelChange)=\"onPliPatrocinadorChanged()\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"progCodigo\" class=\"form-control-label\">Programa</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listProgramaDr\"\r\n\t\t\t\t[(ngModel)]=\"progCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(onChange)=\"onPliProgramaChanged()\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"promCodigo\" class=\"form-control-label\">Promocion</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listPromocionDr\"\r\n\t\t\t\t[(ngModel)]=\"promCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(onChange)=\"onPliPromocionChanged($event)\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n</div> -->\r\n<form [formGroup]=\"formPPP\">\r\n\t<div class=\"row\">\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"patCodigo\" class=\"form-control-label\">Patrocinador</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listPatrocinadorDr\"\r\n\t\t\t\t\tformControlName=\"sponsor\"\r\n\t\t\t\t\t[(ngModel)]=\"patCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(ngModelChange)=\"onPliPatrocinadorChanged()\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"progCodigo\" class=\"form-control-label\">Programa</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listProgramaDr\"\r\n\t\t\t\t\tformControlName=\"program\"\r\n\t\t\t\t\t[(ngModel)]=\"progCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(onChange)=\"onPliProgramaChanged()\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"promCodigo\" class=\"form-control-label\">Promocion</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listPromocionDr\"\r\n\t\t\t\t\tformControlName=\"promotion\"\r\n\t\t\t\t\t[(ngModel)]=\"promCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(onChange)=\"onPliPromocionChanged($event)\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4$1.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "
|
|
6755
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SelectPppComponent, selector: "pli-select-ppp", outputs: { onPromCodigoSelected: "onPromCodigoSelected" }, ngImport: i0, template: "<!-- <div class=\"row\">\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"patCodigo\" class=\"form-control-label\">Patrocinador</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listPatrocinadorDr\"\r\n\t\t\t\t[(ngModel)]=\"patCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(ngModelChange)=\"onPliPatrocinadorChanged()\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"progCodigo\" class=\"form-control-label\">Programa</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listProgramaDr\"\r\n\t\t\t\t[(ngModel)]=\"progCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(onChange)=\"onPliProgramaChanged()\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"col-md-4\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"promCodigo\" class=\"form-control-label\">Promocion</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t[options]=\"listPromocionDr\"\r\n\t\t\t\t[(ngModel)]=\"promCodigo\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t(onChange)=\"onPliPromocionChanged($event)\"\r\n\t\t\t></p-dropdown>\r\n\t\t</div>\r\n\t</div>\r\n</div> -->\r\n<form [formGroup]=\"formPPP\">\r\n\t<div class=\"row\">\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"patCodigo\" class=\"form-control-label\">Patrocinador</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listPatrocinadorDr\"\r\n\t\t\t\t\tformControlName=\"sponsor\"\r\n\t\t\t\t\t[(ngModel)]=\"patCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(ngModelChange)=\"onPliPatrocinadorChanged()\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"progCodigo\" class=\"form-control-label\">Programa</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listProgramaDr\"\r\n\t\t\t\t\tformControlName=\"program\"\r\n\t\t\t\t\t[(ngModel)]=\"progCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(onChange)=\"onPliProgramaChanged()\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"col-md-4\">\r\n\t\t\t<div class=\"form-group\">\r\n\t\t\t\t<label for=\"promCodigo\" class=\"form-control-label\">Promocion</label>\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[style]=\"{ minWidth: '100%' }\"\r\n\t\t\t\t\t[options]=\"listPromocionDr\"\r\n\t\t\t\t\tformControlName=\"promotion\"\r\n\t\t\t\t\t[(ngModel)]=\"promCodigo\"\r\n\t\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t\t(onChange)=\"onPliPromocionChanged($event)\"\r\n\t\t\t\t></p-dropdown>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4$1.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
6756
6756
|
}
|
|
6757
6757
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectPppComponent, decorators: [{
|
|
6758
6758
|
type: Component,
|
|
@@ -8707,6 +8707,12 @@ class DocumentService {
|
|
|
8707
8707
|
formData.append('prompt', prompt);
|
|
8708
8708
|
return this.httpClient.post(this.environment.host.backend.frontoffice + 'document/documentAnalysisWithIA', formData);
|
|
8709
8709
|
}
|
|
8710
|
+
documentAnalysisWithIASt(file, prompt) {
|
|
8711
|
+
const formData = new FormData();
|
|
8712
|
+
formData.append('file', file);
|
|
8713
|
+
formData.append('prompt', prompt);
|
|
8714
|
+
return this.httpClient.post(this.environment.host.backend.frontoffice + 'document/v2/documentAnalysisWithIA', formData);
|
|
8715
|
+
}
|
|
8710
8716
|
updateSelectionInformation(updateSelectionInformation) {
|
|
8711
8717
|
return this.httpClient.post(this.environment.host.backend.frontoffice + 'document/updateSelectionInformation', updateSelectionInformation, this.headerJson);
|
|
8712
8718
|
}
|
|
@@ -12708,7 +12714,7 @@ class TokensCalculatorComponent {
|
|
|
12708
12714
|
}
|
|
12709
12715
|
}
|
|
12710
12716
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TokensCalculatorComponent, deps: [{ token: SegmentationTokensService }, { token: i2.ToastrService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12711
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TokensCalculatorComponent, selector: "app-tokens-calculator", inputs: { comboColumnWorkInput: "comboColumnWorkInput" }, ngImport: i0, template: "<div class=\"flex\" style=\"margin-bottom: 11px; width: fit-content\">\r\n\t<label class=\"radio-inline\">\r\n\t\t<input\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[(ngModel)]=\"tokenType\"\r\n\t\t\t[value]=\"conditionalTokenType\"\r\n\t\t\t(click)=\"resetValues(true)\"\r\n\t\t/>\r\n\t\tCondicional\r\n\t</label>\r\n\t<label class=\"radio-inline\">\r\n\t\t<input\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[(ngModel)]=\"tokenType\"\r\n\t\t\t[value]=\"hierarchicalTokenType\"\r\n\t\t\t(click)=\"resetValues()\"\r\n\t\t/>\r\n\t\tJer\u00E1rquico\r\n\t</label>\r\n</div>\r\n\r\n<ng-container *ngIf=\"isConditionalToken\">\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"field\">Campo a evaluar</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\tid=\"field\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t[options]=\"comboColumnWork\"\r\n\t\t\t\t[group]=\"true\"\r\n\t\t\t\t[(ngModel)]=\"keyToCalculate\"\r\n\t\t\t\t[filter]=\"true\"\r\n\t\t\t\t[style]=\"{ width: '250px' }\"\r\n\t\t\t>\r\n\t\t\t</p-dropdown>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"operator\">Operador</label>\r\n\t\t\t<select\r\n\t\t\t\tid=\"operator\"\r\n\t\t\t\tclass=\"form-control input-sm select-operation\"\r\n\t\t\t\tstyle=\"width: 80px\"\r\n\t\t\t\t[(ngModel)]=\"operator\"\r\n\t\t\t>\r\n\t\t\t\t<option [value]=\"EQ_OPERATOR\">Igual a</option>\r\n\t\t\t\t<option [value]=\"NEQ_OPERATOR\">Diferente a</option>\r\n\t\t\t</select>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"compare\">Valor a comparar</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"compare\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"valueToCompare\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 156px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"positive\">Valor positivo</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"positive\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"positiveValue\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 250px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"negative\">Valor negativo</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"negative\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"negativeValue\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 250px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\" *ngIf=\"valueToCompare\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"generate\">Resultado</label>\r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"generateConditionalToken()\"\r\n\t\t\t\ttitle=\"Copiar\"\r\n\t\t\t\tstyle=\"margin-left: 2px; width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"!isConditionalToken\">\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 13px; margin-bottom: 20px\">\r\n\t\t<div style=\"margin-right: 10px\">\r\n\t\t\t<label for=\"hierarchicalName\">Nombre</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"hierarchicalName\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"hierarchicalName\"\r\n\t\t\t\tplaceholder=\"Nombre\"\r\n\t\t\t\tstyle=\"width: 226px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t\t<div style=\"margin-right: 10px\">\r\n\t\t\t<label for=\"generate\">Acciones</label>\r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"generateHierarchicalTokenType()\"\r\n\t\t\t\ttitle=\"Copiar\"\r\n\t\t\t\tstyle=\"width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t</button>\r\n\t\t\t \r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"useCondition()\"\r\n\t\t\t\ttitle=\"Volver condicional\"\r\n\t\t\t\tstyle=\"margin-left: -5px; width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-plus\"></span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t\t<div class=\"mr-sm\"></div>\r\n\t</div>\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 13px; margin-bottom: 20px\">\r\n\t\t<p-pickList\r\n\t\t\t[dragdrop]=\"true\"\r\n\t\t\tngDefaultControl\r\n\t\t\t[source]=\"source\"\r\n\t\t\t[target]=\"target\"\r\n\t\t\t[responsive]=\"true\"\r\n\t\t\tfilterBy=\"category,label\"\r\n\t\t\t[showSourceControls]=\"false\"\r\n\t\t\ttargetFilterPlaceholder=\" Buscar...\"\r\n\t\t\tsourceFilterPlaceholder=\" Buscar...\"\r\n\t\t>\r\n\t\t\t<!-- [sourceStyle]=\"{ width: '234px' }\"\r\n\t\t\t[targetStyle]=\"{ width: '234px' }\" -->\r\n\t\t\t<ng-template let-field pTemplate=\"item\">\r\n\t\t\t\t<div class=\"ui-helper-clearfix\">\r\n\t\t\t\t\t{{ field.label }} <br />\r\n\t\t\t\t\t<small>\r\n\t\t\t\t\t\t<b> {{ field.category }} </b>\r\n\t\t\t\t\t</small>\r\n\t\t\t\t</div>\r\n\t\t\t</ng-template>\r\n\t\t</p-pickList>\r\n\t</div>\r\n</ng-container>\r\n", styles: [".mr-sm{margin-right:15px}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i5.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i6$1.PickList, selector: "p-pickList", inputs: ["source", "target", "sourceHeader", "tabindex", "rightButtonAriaLabel", "leftButtonAriaLabel", "allRightButtonAriaLabel", "allLeftButtonAriaLabel", "upButtonAriaLabel", "downButtonAriaLabel", "topButtonAriaLabel", "bottomButtonAriaLabel", "targetHeader", "responsive", "filterBy", "filterLocale", "trackBy", "sourceTrackBy", "targetTrackBy", "showSourceFilter", "showTargetFilter", "metaKeySelection", "dragdrop", "style", "styleClass", "sourceStyle", "targetStyle", "showSourceControls", "showTargetControls", "sourceFilterPlaceholder", "targetFilterPlaceholder", "disabled", "ariaSourceFilterLabel", "ariaTargetFilterLabel", "filterMatchMode", "stripedRows", "keepSelection", "breakpoint"], outputs: ["onMoveToSource", "onMoveAllToSource", "onMoveAllToTarget", "onMoveToTarget", "onSourceReorder", "onTargetReorder", "onSourceSelect", "onTargetSelect", "onSourceFilter", "onTargetFilter", "onFocus", "onBlur"] }, { kind: "component", type: i4$1.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "
|
|
12717
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TokensCalculatorComponent, selector: "app-tokens-calculator", inputs: { comboColumnWorkInput: "comboColumnWorkInput" }, ngImport: i0, template: "<div class=\"flex\" style=\"margin-bottom: 11px; width: fit-content\">\r\n\t<label class=\"radio-inline\">\r\n\t\t<input\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[(ngModel)]=\"tokenType\"\r\n\t\t\t[value]=\"conditionalTokenType\"\r\n\t\t\t(click)=\"resetValues(true)\"\r\n\t\t/>\r\n\t\tCondicional\r\n\t</label>\r\n\t<label class=\"radio-inline\">\r\n\t\t<input\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[(ngModel)]=\"tokenType\"\r\n\t\t\t[value]=\"hierarchicalTokenType\"\r\n\t\t\t(click)=\"resetValues()\"\r\n\t\t/>\r\n\t\tJer\u00E1rquico\r\n\t</label>\r\n</div>\r\n\r\n<ng-container *ngIf=\"isConditionalToken\">\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"field\">Campo a evaluar</label>\r\n\t\t\t<p-dropdown\r\n\t\t\t\tid=\"field\"\r\n\t\t\t\tplaceholder=\"-- Seleccione opci\u00F3n\"\r\n\t\t\t\t[options]=\"comboColumnWork\"\r\n\t\t\t\t[group]=\"true\"\r\n\t\t\t\t[(ngModel)]=\"keyToCalculate\"\r\n\t\t\t\t[filter]=\"true\"\r\n\t\t\t\t[style]=\"{ width: '250px' }\"\r\n\t\t\t>\r\n\t\t\t</p-dropdown>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"operator\">Operador</label>\r\n\t\t\t<select\r\n\t\t\t\tid=\"operator\"\r\n\t\t\t\tclass=\"form-control input-sm select-operation\"\r\n\t\t\t\tstyle=\"width: 80px\"\r\n\t\t\t\t[(ngModel)]=\"operator\"\r\n\t\t\t>\r\n\t\t\t\t<option [value]=\"EQ_OPERATOR\">Igual a</option>\r\n\t\t\t\t<option [value]=\"NEQ_OPERATOR\">Diferente a</option>\r\n\t\t\t</select>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"compare\">Valor a comparar</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"compare\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"valueToCompare\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 156px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"positive\">Valor positivo</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"positive\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"positiveValue\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 250px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"negative\">Valor negativo</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"negative\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"negativeValue\"\r\n\t\t\t\tplaceholder=\"valor\"\r\n\t\t\t\tstyle=\"width: 250px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 15px\" *ngIf=\"valueToCompare\">\r\n\t\t<div class=\"mr-sm\">\r\n\t\t\t<label for=\"generate\">Resultado</label>\r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"generateConditionalToken()\"\r\n\t\t\t\ttitle=\"Copiar\"\r\n\t\t\t\tstyle=\"margin-left: 2px; width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"!isConditionalToken\">\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 13px; margin-bottom: 20px\">\r\n\t\t<div style=\"margin-right: 10px\">\r\n\t\t\t<label for=\"hierarchicalName\">Nombre</label>\r\n\t\t\t<input\r\n\t\t\t\tid=\"hierarchicalName\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"form-control input-value input-sm\"\r\n\t\t\t\t[(ngModel)]=\"hierarchicalName\"\r\n\t\t\t\tplaceholder=\"Nombre\"\r\n\t\t\t\tstyle=\"width: 226px\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t\t<div style=\"margin-right: 10px\">\r\n\t\t\t<label for=\"generate\">Acciones</label>\r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"generateHierarchicalTokenType()\"\r\n\t\t\t\ttitle=\"Copiar\"\r\n\t\t\t\tstyle=\"width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t</button>\r\n\t\t\t \r\n\t\t\t<button\r\n\t\t\t\tid=\"generate\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t(click)=\"useCondition()\"\r\n\t\t\t\ttitle=\"Volver condicional\"\r\n\t\t\t\tstyle=\"margin-left: -5px; width: 30px\"\r\n\t\t\t>\r\n\t\t\t\t<span class=\"fa fa-plus\"></span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t\t<div class=\"mr-sm\"></div>\r\n\t</div>\r\n\t<div class=\"flex align-items-center\" style=\"margin-top: 13px; margin-bottom: 20px\">\r\n\t\t<p-pickList\r\n\t\t\t[dragdrop]=\"true\"\r\n\t\t\tngDefaultControl\r\n\t\t\t[source]=\"source\"\r\n\t\t\t[target]=\"target\"\r\n\t\t\t[responsive]=\"true\"\r\n\t\t\tfilterBy=\"category,label\"\r\n\t\t\t[showSourceControls]=\"false\"\r\n\t\t\ttargetFilterPlaceholder=\" Buscar...\"\r\n\t\t\tsourceFilterPlaceholder=\" Buscar...\"\r\n\t\t>\r\n\t\t\t<!-- [sourceStyle]=\"{ width: '234px' }\"\r\n\t\t\t[targetStyle]=\"{ width: '234px' }\" -->\r\n\t\t\t<ng-template let-field pTemplate=\"item\">\r\n\t\t\t\t<div class=\"ui-helper-clearfix\">\r\n\t\t\t\t\t{{ field.label }} <br />\r\n\t\t\t\t\t<small>\r\n\t\t\t\t\t\t<b> {{ field.category }} </b>\r\n\t\t\t\t\t</small>\r\n\t\t\t\t</div>\r\n\t\t\t</ng-template>\r\n\t\t</p-pickList>\r\n\t</div>\r\n</ng-container>\r\n", styles: [".mr-sm{margin-right:15px}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i5.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i6$1.PickList, selector: "p-pickList", inputs: ["source", "target", "sourceHeader", "tabindex", "rightButtonAriaLabel", "leftButtonAriaLabel", "allRightButtonAriaLabel", "allLeftButtonAriaLabel", "upButtonAriaLabel", "downButtonAriaLabel", "topButtonAriaLabel", "bottomButtonAriaLabel", "targetHeader", "responsive", "filterBy", "filterLocale", "trackBy", "sourceTrackBy", "targetTrackBy", "showSourceFilter", "showTargetFilter", "metaKeySelection", "dragdrop", "style", "styleClass", "sourceStyle", "targetStyle", "showSourceControls", "showTargetControls", "sourceFilterPlaceholder", "targetFilterPlaceholder", "disabled", "ariaSourceFilterLabel", "ariaTargetFilterLabel", "filterMatchMode", "stripedRows", "keepSelection", "breakpoint"], outputs: ["onMoveToSource", "onMoveAllToSource", "onMoveAllToTarget", "onMoveToTarget", "onSourceReorder", "onTargetReorder", "onSourceSelect", "onTargetSelect", "onSourceFilter", "onTargetFilter", "onFocus", "onBlur"] }, { kind: "component", type: i4$1.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
12712
12718
|
}
|
|
12713
12719
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TokensCalculatorComponent, decorators: [{
|
|
12714
12720
|
type: Component,
|
|
@@ -16584,9 +16590,9 @@ class CustomValidator {
|
|
|
16584
16590
|
/* tslint:disable */
|
|
16585
16591
|
const VERSION = {
|
|
16586
16592
|
"dirty": true,
|
|
16587
|
-
"raw": "v0.0.18-
|
|
16588
|
-
"hash": "
|
|
16589
|
-
"distance":
|
|
16593
|
+
"raw": "v0.0.18-2620-g5b2a508d-dirty",
|
|
16594
|
+
"hash": "g5b2a508d",
|
|
16595
|
+
"distance": 2620,
|
|
16590
16596
|
"tag": "v0.0.18",
|
|
16591
16597
|
"semver": {
|
|
16592
16598
|
"options": {
|
|
@@ -16602,10 +16608,10 @@ const VERSION = {
|
|
|
16602
16608
|
"build": [],
|
|
16603
16609
|
"version": "0.0.18"
|
|
16604
16610
|
},
|
|
16605
|
-
"suffix": "
|
|
16606
|
-
"semverString": "0.0.18+
|
|
16607
|
-
"version": "1.0.
|
|
16608
|
-
"buildTimestamp": "2025-
|
|
16611
|
+
"suffix": "2620-g5b2a508d-dirty",
|
|
16612
|
+
"semverString": "0.0.18+2620.g5b2a508d",
|
|
16613
|
+
"version": "1.0.84",
|
|
16614
|
+
"buildTimestamp": "2025-04-01T15:58:43.068Z"
|
|
16609
16615
|
};
|
|
16610
16616
|
/* tslint:enable */
|
|
16611
16617
|
|