ng-pli-commons 1.0.74 → 1.0.76
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/version.mjs +8 -8
- package/fesm2022/ng-pli-commons.mjs +10 -10
- package/fesm2022/ng-pli-commons.mjs.map +1 -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", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
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", "autoShowPanelOnPrintableCharacterKeyDown", "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", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
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", "autoShowPanelOnPrintableCharacterKeyDown", "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", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
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", "autoShowPanelOnPrintableCharacterKeyDown", "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,
|
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-2606-g71abd2ba-dirty",
|
|
6
|
+
"hash": "g71abd2ba",
|
|
7
|
+
"distance": 2606,
|
|
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-02-
|
|
23
|
+
"suffix": "2606-g71abd2ba-dirty",
|
|
24
|
+
"semverString": "0.0.18+2606.g71abd2ba",
|
|
25
|
+
"version": "1.0.76",
|
|
26
|
+
"buildTimestamp": "2025-02-27T20:58:34.919Z"
|
|
27
27
|
};
|
|
28
28
|
/* tslint:enable */
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25nLXBsaS1jb21tb25zL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJFQUEyRTtBQUMzRSxvQkFBb0I7QUFDcEIsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHO0lBQ25CLE9BQU8sRUFBRSxJQUFJO0lBQ2IsS0FBSyxFQUFFLDhCQUE4QjtJQUNyQyxNQUFNLEVBQUUsV0FBVztJQUNuQixVQUFVLEVBQUUsSUFBSTtJQUNoQixLQUFLLEVBQUUsU0FBUztJQUNoQixRQUFRLEVBQUU7UUFDTixTQUFTLEVBQUU7WUFDUCxPQUFPLEVBQUUsS0FBSztZQUNkLG1CQUFtQixFQUFFLEtBQUs7U0FDN0I7UUFDRCxPQUFPLEVBQUUsS0FBSztRQUNkLEtBQUssRUFBRSxTQUFTO1FBQ2hCLE9BQU8sRUFBRSxDQUFDO1FBQ1YsT0FBTyxFQUFFLENBQUM7UUFDVixPQUFPLEVBQUUsRUFBRTtRQUNYLFlBQVksRUFBRSxFQUFFO1FBQ2hCLE9BQU8sRUFBRSxFQUFFO1FBQ1gsU0FBUyxFQUFFLFFBQVE7S0FDdEI7SUFDRCxRQUFRLEVBQUUsc0JBQXNCO0lBQ2hDLGNBQWMsRUFBRSx1QkFBdUI7SUFDdkMsU0FBUyxFQUFFLFFBQVE7SUFDbkIsZ0JBQWdCLEVBQUUsMEJBQTBCO0NBQy9DLENBQUM7QUFDRixtQkFBbUIiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBJTVBPUlRBTlQ6IFRISVMgRklMRSBJUyBBVVRPIEdFTkVSQVRFRCEgRE8gTk9UIE1BTlVBTExZIEVESVQgT1IgQ0hFQ0tJTiFcbi8qIHRzbGludDpkaXNhYmxlICovXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IHtcbiAgICBcImRpcnR5XCI6IHRydWUsXG4gICAgXCJyYXdcIjogXCJ2MC4wLjE4LTI2MDYtZzcxYWJkMmJhLWRpcnR5XCIsXG4gICAgXCJoYXNoXCI6IFwiZzcxYWJkMmJhXCIsXG4gICAgXCJkaXN0YW5jZVwiOiAyNjA2LFxuICAgIFwidGFnXCI6IFwidjAuMC4xOFwiLFxuICAgIFwic2VtdmVyXCI6IHtcbiAgICAgICAgXCJvcHRpb25zXCI6IHtcbiAgICAgICAgICAgIFwibG9vc2VcIjogZmFsc2UsXG4gICAgICAgICAgICBcImluY2x1ZGVQcmVyZWxlYXNlXCI6IGZhbHNlXG4gICAgICAgIH0sXG4gICAgICAgIFwibG9vc2VcIjogZmFsc2UsXG4gICAgICAgIFwicmF3XCI6IFwidjAuMC4xOFwiLFxuICAgICAgICBcIm1ham9yXCI6IDAsXG4gICAgICAgIFwibWlub3JcIjogMCxcbiAgICAgICAgXCJwYXRjaFwiOiAxOCxcbiAgICAgICAgXCJwcmVyZWxlYXNlXCI6IFtdLFxuICAgICAgICBcImJ1aWxkXCI6IFtdLFxuICAgICAgICBcInZlcnNpb25cIjogXCIwLjAuMThcIlxuICAgIH0sXG4gICAgXCJzdWZmaXhcIjogXCIyNjA2LWc3MWFiZDJiYS1kaXJ0eVwiLFxuICAgIFwic2VtdmVyU3RyaW5nXCI6IFwiMC4wLjE4KzI2MDYuZzcxYWJkMmJhXCIsXG4gICAgXCJ2ZXJzaW9uXCI6IFwiMS4wLjc2XCIsXG4gICAgXCJidWlsZFRpbWVzdGFtcFwiOiBcIjIwMjUtMDItMjdUMjA6NTg6MzQuOTE5WlwiXG59O1xuLyogdHNsaW50OmVuYWJsZSAqL1xuIl19
|
|
@@ -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", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
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", "autoShowPanelOnPrintableCharacterKeyDown", "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", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
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", "autoShowPanelOnPrintableCharacterKeyDown", "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,
|
|
@@ -12708,7 +12708,7 @@ class TokensCalculatorComponent {
|
|
|
12708
12708
|
}
|
|
12709
12709
|
}
|
|
12710
12710
|
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", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
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", "autoShowPanelOnPrintableCharacterKeyDown", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] }); }
|
|
12712
12712
|
}
|
|
12713
12713
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TokensCalculatorComponent, decorators: [{
|
|
12714
12714
|
type: Component,
|
|
@@ -16559,9 +16559,9 @@ class CustomValidator {
|
|
|
16559
16559
|
/* tslint:disable */
|
|
16560
16560
|
const VERSION = {
|
|
16561
16561
|
"dirty": true,
|
|
16562
|
-
"raw": "v0.0.18-
|
|
16563
|
-
"hash": "
|
|
16564
|
-
"distance":
|
|
16562
|
+
"raw": "v0.0.18-2606-g71abd2ba-dirty",
|
|
16563
|
+
"hash": "g71abd2ba",
|
|
16564
|
+
"distance": 2606,
|
|
16565
16565
|
"tag": "v0.0.18",
|
|
16566
16566
|
"semver": {
|
|
16567
16567
|
"options": {
|
|
@@ -16577,10 +16577,10 @@ const VERSION = {
|
|
|
16577
16577
|
"build": [],
|
|
16578
16578
|
"version": "0.0.18"
|
|
16579
16579
|
},
|
|
16580
|
-
"suffix": "
|
|
16581
|
-
"semverString": "0.0.18+
|
|
16582
|
-
"version": "1.0.
|
|
16583
|
-
"buildTimestamp": "2025-02-
|
|
16580
|
+
"suffix": "2606-g71abd2ba-dirty",
|
|
16581
|
+
"semverString": "0.0.18+2606.g71abd2ba",
|
|
16582
|
+
"version": "1.0.76",
|
|
16583
|
+
"buildTimestamp": "2025-02-27T20:58:34.919Z"
|
|
16584
16584
|
};
|
|
16585
16585
|
/* tslint:enable */
|
|
16586
16586
|
|