@ebuilding/biz-comm 2.0.0
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/LICENSE +0 -0
- package/README.md +0 -0
- package/components/filter/index.d.ts +1 -0
- package/components/filter/src/compare-filter/index.d.ts +44 -0
- package/components/filter/src/default/index.d.ts +41 -0
- package/components/filter/src/index.module.d.ts +8 -0
- package/components/filter/src/public_api.d.ts +3 -0
- package/components/lookup/index.d.ts +1 -0
- package/components/lookup/src/default/index.d.ts +28 -0
- package/components/lookup/src/index.module.d.ts +8 -0
- package/components/lookup/src/public_api.d.ts +2 -0
- package/fesm2022/components.filter.mjs +411 -0
- package/fesm2022/components.filter.mjs.map +1 -0
- package/fesm2022/components.lookup.mjs +161 -0
- package/fesm2022/components.lookup.mjs.map +1 -0
- package/fesm2022/ebuilding-biz-comm.mjs +7 -0
- package/fesm2022/ebuilding-biz-comm.mjs.map +1 -0
- package/fesm2022/other.card.mjs +419 -0
- package/fesm2022/other.card.mjs.map +1 -0
- package/fesm2022/other.control.mjs +176 -0
- package/fesm2022/other.control.mjs.map +1 -0
- package/fesm2022/other.dict.mjs +1181 -0
- package/fesm2022/other.dict.mjs.map +1 -0
- package/fesm2022/other.formula.mjs +558 -0
- package/fesm2022/other.formula.mjs.map +1 -0
- package/fesm2022/other.rule.mjs +735 -0
- package/fesm2022/other.rule.mjs.map +1 -0
- package/fesm2022/other.source.args.mjs +290 -0
- package/fesm2022/other.source.args.mjs.map +1 -0
- package/fesm2022/other.source.field-map.mjs +245 -0
- package/fesm2022/other.source.field-map.mjs.map +1 -0
- package/fesm2022/other.source.filter.mjs +295 -0
- package/fesm2022/other.source.filter.mjs.map +1 -0
- package/fesm2022/other.source.group.mjs +219 -0
- package/fesm2022/other.source.group.mjs.map +1 -0
- package/fesm2022/other.source.mjs +1485 -0
- package/fesm2022/other.source.mjs.map +1 -0
- package/fesm2022/other.source.order.mjs +243 -0
- package/fesm2022/other.source.order.mjs.map +1 -0
- package/fesm2022/other.source.table.mjs +326 -0
- package/fesm2022/other.source.table.mjs.map +1 -0
- package/fesm2022/other.tree.mjs +441 -0
- package/fesm2022/other.tree.mjs.map +1 -0
- package/fesm2022/type.formula.mjs +133 -0
- package/fesm2022/type.formula.mjs.map +1 -0
- package/fesm2022/type.lookup.mjs +256 -0
- package/fesm2022/type.lookup.mjs.map +1 -0
- package/fesm2022/type.mjs +674 -0
- package/fesm2022/type.mjs.map +1 -0
- package/fesm2022/type.tree.mjs +225 -0
- package/fesm2022/type.tree.mjs.map +1 -0
- package/index.d.ts +2 -0
- package/other/card/index.d.ts +1 -0
- package/other/card/src/card-user/index.d.ts +31 -0
- package/other/card/src/card.service.d.ts +28 -0
- package/other/card/src/components/emp/index.d.ts +13 -0
- package/other/card/src/default/index.d.ts +48 -0
- package/other/card/src/index.module.d.ts +9 -0
- package/other/card/src/public_api.d.ts +3 -0
- package/other/control/index.d.ts +1 -0
- package/other/control/src/dict/index.d.ts +26 -0
- package/other/control/src/index.module.d.ts +7 -0
- package/other/control/src/public_api.d.ts +2 -0
- package/other/dict/index.d.ts +1 -0
- package/other/dict/src/field/index.d.ts +45 -0
- package/other/dict/src/field-info/index.d.ts +38 -0
- package/other/dict/src/field-read/index.d.ts +26 -0
- package/other/dict/src/index.module.d.ts +9 -0
- package/other/dict/src/public_api.d.ts +4 -0
- package/other/formula/index.d.ts +1 -0
- package/other/formula/src/default/index.d.ts +33 -0
- package/other/formula/src/form-item/index.d.ts +32 -0
- package/other/formula/src/form-setting/index.d.ts +32 -0
- package/other/formula/src/formula.service.d.ts +20 -0
- package/other/formula/src/index.module.d.ts +10 -0
- package/other/formula/src/public_api.d.ts +5 -0
- package/other/formula/src/rule-event/index.d.ts +23 -0
- package/other/rule/index.d.ts +1 -0
- package/other/rule/src/index.module.d.ts +16 -0
- package/other/rule/src/main/index.component.d.ts +34 -0
- package/other/rule/src/public_api.d.ts +2 -0
- package/other/rule/src/rule-change/index.component.d.ts +9 -0
- package/other/rule/src/rule-change-boolean/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-date/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-item/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-number/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-ref/index.component.d.ts +19 -0
- package/other/rule/src/rule-change-text/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-upload/index.component.d.ts +11 -0
- package/other/rule/src/rule-fixed/index.component.d.ts +13 -0
- package/other/rule/src/service/config.service.d.ts +43 -0
- package/other/rule/src/service/rule.service.d.ts +11 -0
- package/other/source/args/index.d.ts +1 -0
- package/other/source/args/src/basic.d.ts +49 -0
- package/other/source/args/src/default/index.d.ts +24 -0
- package/other/source/args/src/index.module.d.ts +7 -0
- package/other/source/args/src/public_api.d.ts +2 -0
- package/other/source/field-map/index.d.ts +1 -0
- package/other/source/field-map/src/basic.d.ts +39 -0
- package/other/source/field-map/src/default/index.d.ts +26 -0
- package/other/source/field-map/src/index.module.d.ts +7 -0
- package/other/source/field-map/src/public_api.d.ts +2 -0
- package/other/source/filter/index.d.ts +1 -0
- package/other/source/filter/src/basic.d.ts +45 -0
- package/other/source/filter/src/default/index.d.ts +26 -0
- package/other/source/filter/src/index.module.d.ts +8 -0
- package/other/source/filter/src/public_api.d.ts +3 -0
- package/other/source/filter/src/second/index.d.ts +30 -0
- package/other/source/group/index.d.ts +1 -0
- package/other/source/group/src/basic.d.ts +32 -0
- package/other/source/group/src/default/index.d.ts +26 -0
- package/other/source/group/src/index.module.d.ts +7 -0
- package/other/source/group/src/public_api.d.ts +2 -0
- package/other/source/index.d.ts +6 -0
- package/other/source/order/index.d.ts +1 -0
- package/other/source/order/src/basic.d.ts +39 -0
- package/other/source/order/src/default/index.d.ts +26 -0
- package/other/source/order/src/index.module.d.ts +7 -0
- package/other/source/order/src/public_api.d.ts +2 -0
- package/other/source/table/index.d.ts +1 -0
- package/other/source/table/src/basic.d.ts +62 -0
- package/other/source/table/src/default/index.d.ts +26 -0
- package/other/source/table/src/index.module.d.ts +7 -0
- package/other/source/table/src/public_api.d.ts +2 -0
- package/other/tree/index.d.ts +1 -0
- package/other/tree/src/components/form/index.d.ts +17 -0
- package/other/tree/src/components/tree/index.d.ts +19 -0
- package/other/tree/src/default/index.d.ts +18 -0
- package/other/tree/src/index.module.d.ts +9 -0
- package/other/tree/src/public_api.d.ts +4 -0
- package/other/tree/src/treeService.d.ts +59 -0
- package/package.json +96 -0
- package/type/formula/index.d.ts +1 -0
- package/type/formula/src/default/index.d.ts +19 -0
- package/type/formula/src/index.module.d.ts +8 -0
- package/type/formula/src/public_api.d.ts +2 -0
- package/type/index.d.ts +1 -0
- package/type/index.module.d.ts +11 -0
- package/type/lookup/index.d.ts +1 -0
- package/type/lookup/src/default/index.d.ts +31 -0
- package/type/lookup/src/index.module.d.ts +8 -0
- package/type/lookup/src/public_api.d.ts +2 -0
- package/type/tree/index.d.ts +1 -0
- package/type/tree/src/default/index.d.ts +31 -0
- package/type/tree/src/index.module.d.ts +8 -0
- package/type/tree/src/public_api.d.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.filter.mjs","sources":["../../../../packages/biz-comm/components/filter/src/default/index.ts","../../../../packages/biz-comm/components/filter/src/default/index.html","../../../../packages/biz-comm/components/filter/src/compare-filter/index.ts","../../../../packages/biz-comm/components/filter/src/compare-filter/index.html","../../../../packages/biz-comm/components/filter/src/index.module.ts","../../../../packages/biz-comm/components/filter/components.filter.ts"],"sourcesContent":["import { Component, OnInit, Input, EventEmitter, Output, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { _HttpClient } from '@delon/theme';\r\nimport { NzSelectModule } from 'ng-zorro-antd/select';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzDatePickerModule } from 'ng-zorro-antd/date-picker';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\nimport { GramDeonLookUpModule } from '@ebuilding/biz-comm/components/lookup';\r\nimport { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';\r\nimport { FilterType, CompareType, CompareConditions, BracketType, SpecialField } from '@ebuilding/base/shared.util/static';\r\nimport _ from 'lodash';\r\n\r\n@Component({\r\n selector: 'gram-filter',\r\n templateUrl: './index.html',\r\n styleUrls: ['./index.less'],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NzSelectModule,\r\n NzInputModule,\r\n NzInputNumberModule,\r\n NzButtonModule,\r\n NzDatePickerModule,\r\n NzIconModule,\r\n GramDeonLookUpModule\r\n ]\r\n})\r\nexport class GramDeonFilterComponent implements OnInit, OnChanges {\r\n _data: any = null;\r\n loading: boolean = true;\r\n listItem: any[] = [];\r\n\r\n @Input() title: any = null;\r\n\r\n @Input() data: any = null;\r\n\r\n tableData: any[] = [];\r\n filterData: any[] = [];\r\n itemOptions: any = {};\r\n\r\n @Output() dataChange: EventEmitter<any> = new EventEmitter();\r\n FilterTypeData: any[] = FilterType();\r\n BracketTypeData: any[] = BracketType();\r\n SpecialFieldData: any[] = SpecialField();\r\n CompareTypeData: any[] = CompareType();\r\n CompareConditionsData: any[] = CompareConditions().filter((item: any) => {\r\n return item.value != 'IN' && item.value != 'LIKE' && item.value != 'LEFT_LIKE' && item.value != 'RIGHT_LIKE';\r\n });\r\n\r\n constructor(public http: _HttpClient) { }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['data']) {\r\n if (this.data!! && this.data.tableData!!) {\r\n this.tableData = _.cloneDeep(this.data.tableData);\r\n if (this.data.filterData!! && this.data.filterData.length > 0) {\r\n this.data.filterData.forEach((item: any) => {\r\n let arrTable: any[] = this.tableData.filter((table: any) => {\r\n return table.code == item.cellTable;\r\n });\r\n if (arrTable!! && arrTable.length > 0) {\r\n if (arrTable[0].listField!! && arrTable[0].listField.length > 0 && item.cellField!!) {\r\n let arrField: any[] = arrTable[0].listField.filter((field: any) => {\r\n return field.code == item.cellField;\r\n });\r\n if (arrField!! && arrField.length > 0) {\r\n item['fieldType'] = arrField[0].type;\r\n }\r\n }\r\n this.initValueConfig(item, arrTable[0].name);\r\n }\r\n });\r\n }\r\n this.filterData = this.data.filterData;\r\n this.initPageData();\r\n }\r\n }\r\n }\r\n\r\n initPageData() {\r\n let listItemId: any[] = [];\r\n this.tableData.forEach((table: any) => {\r\n if (table!! && table.listField!! && table.listField.length > 0) {\r\n table.listField.forEach((field: any) => {\r\n if (field.type == 'ITEM' && field.refId!!) {\r\n listItemId.push(field.refId);\r\n }\r\n });\r\n }\r\n });\r\n listItemId = [...new Set(listItemId)];\r\n if (listItemId != null && listItemId.length > 0) {\r\n this.http.post(`${ModuleAPI.user}/user/sys/listItemByIds`, { idList: listItemId }).subscribe((res: any) => {\r\n if (res.success && res.result!! && res.result.length > 0) {\r\n res.result.forEach((item: any) => {\r\n this.itemOptions[item.id] = item.listDetail;\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n addCondition() {\r\n if (this.filterData!!) {\r\n this.filterData = [...this.filterData, {}];\r\n } else {\r\n this.filterData = [{}];\r\n }\r\n this.dataChange.emit(this.filterData);\r\n }\r\n\r\n delCondition(i: number) {\r\n if (this.filterData!!) {\r\n this.filterData = this.filterData.filter((a: any, index: number) => {\r\n return index != i;\r\n });\r\n }\r\n this.dataChange.emit(this.filterData);\r\n }\r\n\r\n getFieldData(cellTable: any) {\r\n let fieldArray: any[] = [];\r\n this.tableData.forEach((item: any) => {\r\n if (item.code == cellTable) {\r\n fieldArray = item.listField;\r\n }\r\n });\r\n return fieldArray;\r\n }\r\n\r\n /**\r\n * 获取常用参数\r\n * @param cellTable\r\n * @param cellField\r\n * @returns\r\n */\r\n getItemData(cellTable: any, cellField: any) {\r\n let array: any[] = [];\r\n this.tableData.forEach((table: any) => {\r\n if (table.code == cellTable) {\r\n table.listField.forEach((field: any) => {\r\n if (field.type == 'ITEM' && field.code == cellField && field.refId!!) {\r\n if (this.itemOptions!! && this.itemOptions[field.refId]!!) {\r\n array = this.itemOptions[field.refId];\r\n }\r\n }\r\n });\r\n }\r\n });\r\n return array;\r\n }\r\n\r\n tableChange(e: any, item: any) {\r\n item['cellField'] = null;\r\n item['fieldType'] = null;\r\n item['cellValue'] = null;\r\n item['cellMultiple'] = null;\r\n }\r\n\r\n fieldChange(e: any, item: any) {\r\n item['fieldType'] = null;\r\n item['cellValue'] = null;\r\n item['cellMultiple'] = null;\r\n item['cellValueConfig'] = null;\r\n if (item.cellTable!! && item.cellField!!) {\r\n this.tableData.forEach((t: any) => {\r\n if (t.code == item.cellTable) {\r\n t.listField.forEach((f: any) => {\r\n if (f.code == item.cellField) {\r\n item.fieldType = f.type;\r\n item.cellMultiple = f.multiple;\r\n\r\n this.initValueConfig(item, t.name);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n operationChange(e: any, item: any) {\r\n if (item.cellOperation == 'SQL_RULES') {\r\n item['cellTable'] = null;\r\n item['cellField'] = null;\r\n item['parameterTable'] = null;\r\n item['parameterField'] = null;\r\n item['cellValue'] = null;\r\n }\r\n }\r\n\r\n refDataChange(e: any, item: any) {\r\n if (e!! && e.id!!) {\r\n item['cellValue'] = e.id;\r\n item['cellValueInfo'] = e;\r\n } else {\r\n item['cellValue'] = null;\r\n item['cellValueInfo'] = null;\r\n }\r\n }\r\n\r\n initValueConfig(item: any, tableName: any) {\r\n item.cellValueConfig = {\r\n type: 'ref2',\r\n label: tableName,\r\n selectType: 'single',\r\n isRowData: true,\r\n parameter: {\r\n tableCode: item.cellTable,\r\n fieldCode: item.cellField,\r\n },\r\n };\r\n }\r\n}\r\n","<div class=\"header-box\">\r\n {{title}}\r\n <a (click)=\"addCondition()\">\r\n <i nz-icon nzType=\"plus-circle\"></i>\r\n 新增\r\n </a>\r\n</div>\r\n<div class=\"body-box\">\r\n <ng-container *ngIf=\"filterData!! && filterData.length>0;else tmpEmpty\">\r\n <ng-container *ngFor=\"let item of filterData;let i=index\">\r\n <ul>\r\n <li class=\"leftBracket\">\r\n <nz-select [(ngModel)]=\"item.leftBracket\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of BracketTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li class=\"leftBracket\">\r\n <nz-select [(ngModel)]=\"item.leftBracket2\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of BracketTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li class=\"cellOperation\">\r\n <nz-select [(ngModel)]=\"item.cellOperation\" nzAllowClear (ngModelChange)=\"operationChange($event,item)\">\r\n <ng-container *ngFor=\"let option of CompareConditionsData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li *ngIf=\"item?.cellOperation!='SQL_RULES'\" class=\"conditionTable\">\r\n <nz-select [(ngModel)]=\"item.cellTable\" nzAllowClear (ngModelChange)=\"tableChange($event,item)\">\r\n <ng-container *ngFor=\"let option of tableData\">\r\n <nz-option [nzValue]=\"option.code\" [nzLabel]=\"option.name\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n\r\n <li *ngIf=\"item?.cellOperation!='SQL_RULES'\" class=\"conditionField\">\r\n <nz-select [(ngModel)]=\"item.cellField\" nzAllowClear (ngModelChange)=\"fieldChange($event,item)\">\r\n <ng-container *ngFor=\"let option of getFieldData(item.cellTable)\">\r\n <nz-option [nzValue]=\"option.code\" [nzLabel]=\"option.name\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li *ngIf=\"item?.cellOperation!='SQL_RULES'\">\r\n <ng-container *ngIf=\"item.cellTable!! && item.cellField!! && item.fieldType!!\">\r\n <div class=\"cellValue\">\r\n <ng-container [ngSwitch]=\"item.fieldType\">\r\n <ng-container *ngSwitchCase=\"'BOOLEAN'\">\r\n <nz-select [(ngModel)]=\"item.cellValue\">\r\n <nz-option nzValue=\"0\" nzLabel=\"否\"></nz-option>\r\n <nz-option nzValue=\"1\" nzLabel=\"是\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'DATETIME'\">\r\n <ng-container\r\n *ngIf=\"item?.cellOperation!='DATE_YEAR' \r\n && item?.cellOperation!='DATE_MONTH' \r\n && item?.cellOperation!='DATE_WEEK' \r\n && item?.cellOperation!='DATE_QUARTER'\"\r\n >\r\n <nz-date-picker nzShowTime nzFormat=\"yyyy-MM-dd HH:mm:ss\" [(ngModel)]=\"item.cellValue\"></nz-date-picker>\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'INT'\">\r\n <nz-input-number [(ngModel)]=\"item.cellValue\" [nzStep]=\"1\" [nzPrecision]=\"0\"></nz-input-number>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'FLOAT'\">\r\n <nz-input-number [(ngModel)]=\"item.cellValue\" [nzStep]=\"1\" [nzPrecision]=\"2\"></nz-input-number>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'ITEM'\">\r\n <ng-container *ngIf=\"item?.cellMultiple==true;else tmp1\">暂不支持多选</ng-container>\r\n <ng-template #tmp1>\r\n <nz-select [(ngModel)]=\"item.cellValue\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of getItemData(item.cellTable,item.cellField)\">\r\n <nz-option [nzValue]=\"option.code\" [nzLabel]=\"option.name\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'REF'\">\r\n <ng-container *ngIf=\"item?.cellMultiple==true;else tmp2\">暂不支持多选</ng-container>\r\n <ng-template #tmp2>\r\n <gram-lookup\r\n [config]=\"item.cellValueConfig\"\r\n [data]=\"item.cellValueInfo\"\r\n (valueChange)=\"refDataChange($event,item)\"\r\n ></gram-lookup>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <input nz-input [(ngModel)]=\"item.cellValue\" />\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </li>\r\n <li *ngIf=\"item?.cellOperation=='SQL_RULES' \">\r\n <div class=\"cellValue\">\r\n <input nz-input [(ngModel)]=\"item.cellValue\" />\r\n </div>\r\n </li>\r\n <li class=\"rightBracket\">\r\n <nz-select [(ngModel)]=\"item.rightBracket\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of BracketTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li class=\"rightBracket\">\r\n <nz-select [(ngModel)]=\"item.rightBracket2\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of BracketTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li class=\"cellFunction\">\r\n <nz-select [(ngModel)]=\"item.cellFunction\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of FilterTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <div class=\"btnDel\">\r\n <a (click)=\"delCondition(i)\">\r\n <i nz-icon nzType=\"delete\"></i>\r\n </a>\r\n </div>\r\n </ul>\r\n </ng-container>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #tmpEmpty>\r\n <div class=\"empty\">\r\n <div class=\"image\"><img src=\"assets/images/default/empty2.png\" /></div>\r\n </div>\r\n</ng-template>\r\n","import { Component, OnInit, Input, EventEmitter, Output, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { NzSelectModule } from 'ng-zorro-antd/select';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzDatePickerModule } from 'ng-zorro-antd/date-picker';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\nimport { GramDeonLookUpModule } from '@ebuilding/biz-comm/components/lookup';\r\nimport { FilterType, CompareType, CompareConditions, BracketType, SpecialField, CompareFieldType } from '@ebuilding/base/shared.util/static';\r\nimport _ from 'lodash';\r\n\r\nexport interface IData {\r\n tableCode?: any;\r\n tableFieldData: any[];\r\n sourceTableData: any[];\r\n fieldOptions: any;\r\n filterData: any[];\r\n}\r\n\r\n@Component({\r\n selector: 'gram-filter-compare',\r\n templateUrl: './index.html',\r\n styleUrls: ['./index.less'],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NzSelectModule,\r\n NzInputModule,\r\n NzInputNumberModule,\r\n NzButtonModule,\r\n NzDatePickerModule,\r\n NzIconModule,\r\n GramDeonLookUpModule\r\n ]\r\n})\r\nexport class GramFilterCompareComponent implements OnInit, OnChanges {\r\n loading: boolean = true;\r\n\r\n /**\r\n * 常量\r\n */\r\n FilterTypeData: any[] = FilterType();\r\n BracketTypeData: any[] = BracketType();\r\n SpecialFieldData: any[] = SpecialField();\r\n CompareTypeData: any[] = CompareType();\r\n CompareFieldTypeData: any[] = CompareFieldType();\r\n CompareConditionsData: any[] = CompareConditions().filter((item: any) => {\r\n return item.value != 'IN' && item.value != 'LIKE' && item.value != 'LEFT_LIKE' && item.value != 'RIGHT_LIKE';\r\n });\r\n\r\n /**\r\n * 基础数据\r\n */\r\n tableFieldData: any[];\r\n sourceTableData: any[];\r\n fieldOptions: any;\r\n filterData: any[] = [];\r\n\r\n @Input() title: any = null;\r\n\r\n @Input() data: IData;\r\n\r\n @Output() dataChange: EventEmitter<any> = new EventEmitter();\r\n\r\n constructor() { }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['data']) {\r\n if (this.data!!) {\r\n this.tableFieldData = _.cloneDeep(this.data.tableFieldData);\r\n this.sourceTableData = _.cloneDeep(this.data.sourceTableData);\r\n this.fieldOptions = _.cloneDeep(this.data.fieldOptions);\r\n this.filterData = this.data.filterData;\r\n if (this.filterData!! && this.filterData.length > 0) {\r\n this.filterData.forEach((a: any) => {\r\n this.tableFieldData.forEach((b: any) => {\r\n if (b.value == a.cellField) {\r\n a['cellFieldType'] = b.type;\r\n a['cellFieldMultiple'] = b.multiple;\r\n if (this.fieldOptions!! && this.fieldOptions[a.cellField]!!) {\r\n a['cellFieldOptions'] = this.fieldOptions[a.cellField];\r\n }\r\n }\r\n });\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n addCondition() {\r\n if (this.filterData!!) {\r\n this.filterData = [\r\n ...this.filterData,\r\n {\r\n cellOperation: 'EQ',\r\n cellType: 'FIELD',\r\n },\r\n ];\r\n } else {\r\n this.filterData = [\r\n {\r\n cellOperation: 'EQ',\r\n cellType: 'FIELD',\r\n },\r\n ];\r\n }\r\n this.dataChange.emit(this.filterData);\r\n }\r\n\r\n delCondition(i: number) {\r\n if (this.filterData!!) {\r\n this.filterData = this.filterData.filter((a: any, index: number) => {\r\n return index != i;\r\n });\r\n }\r\n this.dataChange.emit(this.filterData);\r\n }\r\n\r\n cellFieldChange(e: any, item: any) {\r\n item['cellFieldType'] = null;\r\n item['cellFieldOptions'] = null;\r\n item['cellFieldMultiple'] = null;\r\n if (item.cellField!!) {\r\n this.tableFieldData.forEach((a: any) => {\r\n if (a.value == item.cellField) {\r\n item['cellFieldType'] = a.type;\r\n item['cellFieldMultiple'] = a.multiple;\r\n if (this.fieldOptions!! && this.fieldOptions[item.cellField]!!) {\r\n item['cellFieldOptions'] = this.fieldOptions[item.cellField];\r\n }\r\n this.initValueConfig(item, a.name);\r\n }\r\n });\r\n }\r\n this.dataChange.emit(this.filterData);\r\n }\r\n\r\n tableChange(e: any, item: any) {\r\n item['parameterField'] = null;\r\n item['cellValue'] = null;\r\n this.dataChange.emit(this.filterData);\r\n }\r\n\r\n getFieldData(parameterTable: any) {\r\n let arr: any[] = [];\r\n this.sourceTableData.forEach((item: any) => {\r\n if (item.code == parameterTable) {\r\n arr = item.listField;\r\n }\r\n });\r\n return arr;\r\n }\r\n\r\n operationChange(e: any, item: any) {\r\n if (item.cellOperation == 'SQL_RULES') {\r\n item['cellTable'] = null;\r\n item['cellField'] = null;\r\n item['parameterTable'] = null;\r\n item['parameterField'] = null;\r\n item['cellValue'] = null;\r\n }\r\n this.dataChange.emit(this.filterData);\r\n }\r\n\r\n refDataChange(e: any, item: any) {\r\n if (e!! && e.id!!) {\r\n item['cellValue'] = e.id;\r\n item['cellValueInfo'] = e;\r\n } else {\r\n item['cellValue'] = null;\r\n item['cellValueInfo'] = null;\r\n }\r\n }\r\n\r\n initValueConfig(item: any, tableName: any) {\r\n item.cellValueConfig = {\r\n type: 'ref2',\r\n label: tableName,\r\n selectType: 'single',\r\n isRowData: true,\r\n parameter: {\r\n tableCode: this.data?.tableCode,\r\n fieldCode: item.cellField,\r\n },\r\n };\r\n }\r\n}\r\n","<div class=\"header-box\">\r\n {{title}}\r\n <a (click)=\"addCondition()\">\r\n <i nz-icon nzType=\"plus-circle\"></i>\r\n 新增\r\n </a>\r\n</div>\r\n<div class=\"body-box\">\r\n <ng-container *ngIf=\"filterData!! && filterData.length>0;else tmpEmpty\">\r\n <ng-container *ngFor=\"let item of filterData;let i=index\">\r\n <ul>\r\n <li class=\"leftBracket\">\r\n <nz-select [(ngModel)]=\"item.leftBracket\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of BracketTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li class=\"leftBracket\">\r\n <nz-select [(ngModel)]=\"item.leftBracket2\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of BracketTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n\r\n <!-- 字段匹配类型 -->\r\n <li class=\"cellOperation\" *ngIf=\"item?.cellOperation!='SQL_RULES'\">\r\n <nz-select [(ngModel)]=\"item.cellType\">\r\n <ng-container *ngFor=\"let option of CompareFieldTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n\r\n <!-- 字段 -->\r\n <li class=\"cellOperation\" *ngIf=\"item?.cellOperation!='SQL_RULES'\">\r\n <nz-select [(ngModel)]=\"item.cellField\" nzAllowClear (ngModelChange)=\"cellFieldChange($event,item)\">\r\n <ng-container *ngFor=\"let option of tableFieldData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n\r\n <!-- 操作符 -->\r\n <li class=\"cellOperation\">\r\n <nz-select [(ngModel)]=\"item.cellOperation\" nzAllowClear (ngModelChange)=\"operationChange($event,item)\">\r\n <ng-container *ngFor=\"let option of CompareConditionsData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <ng-container *ngIf=\"item?.cellOperation!='SQL_RULES'\">\r\n <!-- 字段匹配类型--自定义值 -->\r\n <ng-container *ngIf=\"item.cellType=='CUSTOM' && item.cellFieldType!!\">\r\n <ng-container [ngSwitch]=\"item.cellFieldType\">\r\n <ng-container *ngSwitchCase=\"'ITEM'\">\r\n <li class=\"cellOperation\">\r\n <ng-container *ngIf=\"item?.cellFieldMultiple==true;else tmp1\">暂不支持多选</ng-container>\r\n <ng-template #tmp1>\r\n <nz-select [(ngModel)]=\"item.cellValue\">\r\n <ng-container *ngFor=\"let option of item.cellFieldOptions\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </ng-template>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'BOOLEAN'\">\r\n <li class=\"cellOperation\">\r\n <nz-select [(ngModel)]=\"item.cellValue\">\r\n <ng-container *ngFor=\"let option of item.cellFieldOptions\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'REF'\">\r\n <li class=\"cellOperation\">\r\n <ng-container *ngIf=\"item?.cellFieldMultiple==true;else tmp2\">暂不支持多选</ng-container>\r\n <ng-template #tmp2>\r\n <gram-lookup\r\n [config]=\"item.cellValueConfig\"\r\n [data]=\"item.cellValueInfo\"\r\n (valueChange)=\"refDataChange($event,item)\"\r\n ></gram-lookup>\r\n </ng-template>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'TEXT'\">\r\n <li class=\"cellOperation\">\r\n <input nz-input [(ngModel)]=\"item.cellValue\" />\r\n </li>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'TEXTAREA'\">\r\n <li class=\"cellOperation\">\r\n <input nz-input [(ngModel)]=\"item.cellValue\" />\r\n </li>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'INT'\">\r\n <li class=\"cellOperation\">\r\n <nz-input-number [(ngModel)]=\"item.cellValue\" [nzStep]=\"1\" [nzPrecision]=\"0\"></nz-input-number>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'FLOAT'\">\r\n <li class=\"cellOperation\">\r\n <nz-input-number [(ngModel)]=\"item.cellValue\" [nzStep]=\"1\"></nz-input-number>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'DATETIME'\">\r\n <li class=\"cellOperation\">\r\n <nz-date-picker [(ngModel)]=\"item.cellValue\" nzShowTime nzFormat=\"yyyy-MM-dd HH:mm:ss\"></nz-date-picker>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault> </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- 字段匹配类型--字段匹配 -->\r\n <ng-container *ngIf=\"item.cellType=='FIELD'\">\r\n <li class=\"conditionTable\">\r\n <nz-select [(ngModel)]=\"item.parameterTable\" nzAllowClear (ngModelChange)=\"tableChange($event,item)\">\r\n <ng-container *ngFor=\"let option of sourceTableData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n\r\n <li class=\"conditionField\">\r\n <nz-select [(ngModel)]=\"item.parameterField\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of getFieldData(item.parameterTable)\">\r\n <nz-option [nzValue]=\"option.code\" [nzLabel]=\"option.name\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <li *ngIf=\"item?.cellOperation=='SQL_RULES' \">\r\n <div class=\"cellValue\">\r\n <input nz-input [(ngModel)]=\"item.cellValue\" />\r\n </div>\r\n </li>\r\n <li class=\"rightBracket\">\r\n <nz-select [(ngModel)]=\"item.rightBracket\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of BracketTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li class=\"rightBracket\">\r\n <nz-select [(ngModel)]=\"item.rightBracket2\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of BracketTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <li class=\"cellFunction\">\r\n <nz-select [(ngModel)]=\"item.cellFunction\" nzAllowClear>\r\n <ng-container *ngFor=\"let option of FilterTypeData\">\r\n <nz-option [nzValue]=\"option.value\" [nzLabel]=\"option.label\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </li>\r\n <div class=\"btnDel\">\r\n <a (click)=\"delCondition(i)\">\r\n <i nz-icon nzType=\"delete\"></i>\r\n </a>\r\n </div>\r\n </ul>\r\n </ng-container>\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template #tmpEmpty>\r\n <div class=\"empty\">\r\n <div class=\"image\"><img src=\"assets/images/default/empty2.png\" /></div>\r\n </div>\r\n</ng-template>\r\n","import { NgModule } from '@angular/core';\r\nimport { GramDeonFilterComponent } from './default/index';\r\nimport { GramFilterCompareComponent } from './compare-filter/index';\r\n\r\nconst components: any[] = [GramDeonFilterComponent, GramFilterCompareComponent];\r\n\r\n@NgModule({\r\n imports: [\r\n ...components\r\n ],\r\n exports: [...components],\r\n})\r\nexport class GramDeonFilterModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i4","i5","i7","i8","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;MAiCa,uBAAuB,CAAA;AAsBf,IAAA,IAAA;IArBnB,KAAK,GAAQ,IAAI;IACjB,OAAO,GAAY,IAAI;IACvB,QAAQ,GAAU,EAAE;IAEX,KAAK,GAAQ,IAAI;IAEjB,IAAI,GAAQ,IAAI;IAEzB,SAAS,GAAU,EAAE;IACrB,UAAU,GAAU,EAAE;IACtB,WAAW,GAAQ,EAAE;AAEX,IAAA,UAAU,GAAsB,IAAI,YAAY,EAAE;IAC5D,cAAc,GAAU,UAAU,EAAE;IACpC,eAAe,GAAU,WAAW,EAAE;IACtC,gBAAgB,GAAU,YAAY,EAAE;IACxC,eAAe,GAAU,WAAW,EAAE;IACtC,qBAAqB,GAAU,iBAAiB,EAAE,CAAC,MAAM,CAAC,CAAC,IAAS,KAAI;QACtE,OAAO,IAA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AA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAJ1B,UAAU,CAAA,EAAA,CAAA;;4FAIJ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;AACP,wBAAA,GAAG;AACJ,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Input, Component, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import * as i2 from 'ng-zorro-antd/icon';
|
|
6
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
7
|
+
import * as i3 from 'ng-zorro-antd/button';
|
|
8
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
9
|
+
import * as i6 from 'ng-zorro-antd/input';
|
|
10
|
+
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
11
|
+
import * as i7 from 'ng-zorro-antd/tooltip';
|
|
12
|
+
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
|
|
13
|
+
import { PageDialogDefaultComponent } from '@ebuilding/dialog/default';
|
|
14
|
+
import _ from 'lodash';
|
|
15
|
+
import * as i1 from '@ebuilding/base/shared.srv/base-dialog.service';
|
|
16
|
+
import * as i4 from 'ng-zorro-antd/core/transition-patch';
|
|
17
|
+
import * as i5 from 'ng-zorro-antd/core/wave';
|
|
18
|
+
|
|
19
|
+
class GramDeonLookUpComponent {
|
|
20
|
+
dialogService;
|
|
21
|
+
listConfig = {};
|
|
22
|
+
textValue = '';
|
|
23
|
+
selectData = [];
|
|
24
|
+
placeholder = '请选择';
|
|
25
|
+
config = {};
|
|
26
|
+
data = null;
|
|
27
|
+
noSave = false;
|
|
28
|
+
valueChange = new EventEmitter();
|
|
29
|
+
constructor(dialogService) {
|
|
30
|
+
this.dialogService = dialogService;
|
|
31
|
+
}
|
|
32
|
+
ngOnInit() { }
|
|
33
|
+
ngOnChanges(changes) {
|
|
34
|
+
if (changes['data']) {
|
|
35
|
+
this.initTextValue(this.data);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
getSelectData() {
|
|
39
|
+
let res = [];
|
|
40
|
+
if (this.data) {
|
|
41
|
+
if (_.get(this.config, 'selectType') == 'multiple' && Array.isArray(this.data)) {
|
|
42
|
+
res = this.data.map((item) => {
|
|
43
|
+
let obj = {};
|
|
44
|
+
obj['id'] = item['id'];
|
|
45
|
+
obj['name'] = item['name'];
|
|
46
|
+
return obj;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
res.push(this.data);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return res;
|
|
54
|
+
}
|
|
55
|
+
openLookPage() {
|
|
56
|
+
let dialogConfig = {
|
|
57
|
+
pageType: this.config?.type,
|
|
58
|
+
pageId: this.config?.pageId,
|
|
59
|
+
pageCode: this.config?.pageCode,
|
|
60
|
+
selectData: this.getSelectData(),
|
|
61
|
+
selectType: this.config.selectType ? this.config.selectType : 'single',
|
|
62
|
+
parameter: this.config?.parameter,
|
|
63
|
+
mold: this.config?.mold,
|
|
64
|
+
};
|
|
65
|
+
this.dialogService.CreateModelDialog({
|
|
66
|
+
nzTitle: '选择 - ' + this.config?.label,
|
|
67
|
+
size: 'large',
|
|
68
|
+
nzContent: PageDialogDefaultComponent
|
|
69
|
+
}, {
|
|
70
|
+
config: dialogConfig,
|
|
71
|
+
}, (type, instance, modal) => {
|
|
72
|
+
let res = instance.getPageSelectData();
|
|
73
|
+
if (res && res.length > 0) {
|
|
74
|
+
this.textValue = res
|
|
75
|
+
.map((item) => {
|
|
76
|
+
return item.name;
|
|
77
|
+
})
|
|
78
|
+
.join('、');
|
|
79
|
+
if (this.config?.isRowData == undefined || this.config?.isRowData == null || this.config?.isRowData == false) {
|
|
80
|
+
res = res.map((item) => {
|
|
81
|
+
return { id: item.id, name: item.name };
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
if (_.get(this.config, 'selectType') == 'multiple') {
|
|
85
|
+
this.valueChange.emit(res);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
this.valueChange.emit(res[0]);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.textValue = null;
|
|
93
|
+
this.valueChange.emit(null);
|
|
94
|
+
}
|
|
95
|
+
modal.destroy();
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
initTextValue(e) {
|
|
99
|
+
if (e != undefined && e != null && e != '') {
|
|
100
|
+
if (_.get(this.config, 'selectType') == 'multiple' && Array.isArray(e)) {
|
|
101
|
+
this.textValue = e
|
|
102
|
+
.map((item) => {
|
|
103
|
+
return item.name;
|
|
104
|
+
})
|
|
105
|
+
.join('、');
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
if (!Array.isArray(e)) {
|
|
109
|
+
this.textValue = e.name;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
this.textValue = '';
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLookUpComponent, deps: [{ token: i1.GramBaseDialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
118
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonLookUpComponent, isStandalone: true, selector: "gram-lookup", inputs: { placeholder: "placeholder", config: "config", data: "data", noSave: "noSave" }, outputs: { valueChange: "valueChange" }, usesOnChanges: true, ngImport: i0, template: "<nz-input-group nzSearch [nzAddOnAfter]=\"suffixIconButton\" nz-tooltip [nzTooltipTitle]=\"textValue\">\r\n <input type=\"text\" nz-input [placeholder]=\"placeholder\" [disabled]=\"true\" [value]=\"textValue\" />\r\n</nz-input-group>\r\n<ng-template #suffixIconButton>\r\n <button nz-button nzType=\"primary\" nzSearch type=\"button\" (click)=\"openLookPage()\"><i nz-icon\r\n nzType=\"plus\"></i></button>\r\n</ng-template>", styles: [":host ::ng-deep{min-width:350px}:host ::ng-deep nz-input-group{width:100%}:host ::ng-deep nz-input-group .ant-input[disabled]{color:initial;background-color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i2.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i3.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i4.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i5.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i6.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "ngmodule", type: NzToolTipModule }, { kind: "directive", type: i7.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }] });
|
|
119
|
+
}
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLookUpComponent, decorators: [{
|
|
121
|
+
type: Component,
|
|
122
|
+
args: [{ selector: 'gram-lookup', imports: [
|
|
123
|
+
CommonModule,
|
|
124
|
+
FormsModule,
|
|
125
|
+
NzIconModule,
|
|
126
|
+
NzButtonModule,
|
|
127
|
+
NzInputModule,
|
|
128
|
+
NzToolTipModule
|
|
129
|
+
], template: "<nz-input-group nzSearch [nzAddOnAfter]=\"suffixIconButton\" nz-tooltip [nzTooltipTitle]=\"textValue\">\r\n <input type=\"text\" nz-input [placeholder]=\"placeholder\" [disabled]=\"true\" [value]=\"textValue\" />\r\n</nz-input-group>\r\n<ng-template #suffixIconButton>\r\n <button nz-button nzType=\"primary\" nzSearch type=\"button\" (click)=\"openLookPage()\"><i nz-icon\r\n nzType=\"plus\"></i></button>\r\n</ng-template>", styles: [":host ::ng-deep{min-width:350px}:host ::ng-deep nz-input-group{width:100%}:host ::ng-deep nz-input-group .ant-input[disabled]{color:initial;background-color:#fff}\n"] }]
|
|
130
|
+
}], ctorParameters: () => [{ type: i1.GramBaseDialogService }], propDecorators: { placeholder: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}], config: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}], data: [{
|
|
135
|
+
type: Input
|
|
136
|
+
}], noSave: [{
|
|
137
|
+
type: Input
|
|
138
|
+
}], valueChange: [{
|
|
139
|
+
type: Output
|
|
140
|
+
}] } });
|
|
141
|
+
|
|
142
|
+
const components = [GramDeonLookUpComponent];
|
|
143
|
+
class GramDeonLookUpModule {
|
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLookUpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
145
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLookUpModule, imports: [CommonModule, GramDeonLookUpComponent], exports: [GramDeonLookUpComponent] });
|
|
146
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLookUpModule, imports: [CommonModule, components] });
|
|
147
|
+
}
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLookUpModule, decorators: [{
|
|
149
|
+
type: NgModule,
|
|
150
|
+
args: [{
|
|
151
|
+
imports: [CommonModule, ...components],
|
|
152
|
+
exports: [...components],
|
|
153
|
+
}]
|
|
154
|
+
}] });
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Generated bundle index. Do not edit.
|
|
158
|
+
*/
|
|
159
|
+
|
|
160
|
+
export { GramDeonLookUpComponent, GramDeonLookUpModule };
|
|
161
|
+
//# sourceMappingURL=components.lookup.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.lookup.mjs","sources":["../../../../packages/biz-comm/components/lookup/src/default/index.ts","../../../../packages/biz-comm/components/lookup/src/default/index.html","../../../../packages/biz-comm/components/lookup/src/index.module.ts","../../../../packages/biz-comm/components/lookup/components.lookup.ts"],"sourcesContent":["import { Component, OnInit, OnChanges, Input, Output, EventEmitter } from '@angular/core';\r\n\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzToolTipModule } from 'ng-zorro-antd/tooltip';\r\n\r\nimport { GramBaseDialogService } from '@ebuilding/base/shared.srv/base-dialog.service';\r\nimport { PageDialogDefaultComponent } from '@ebuilding/dialog/default';\r\nimport _ from 'lodash';\r\n\r\nexport interface ILookUp {\r\n key: string;\r\n type?: string;\r\n selectType?: string;\r\n value?: any[];\r\n}\r\n\r\n@Component({\r\n selector: 'gram-lookup',\r\n templateUrl: './index.html',\r\n styleUrls: ['./index.less'],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n NzIconModule,\r\n NzButtonModule,\r\n NzInputModule,\r\n NzToolTipModule\r\n ]\r\n})\r\nexport class GramDeonLookUpComponent implements OnInit, OnChanges {\r\n listConfig: any = {};\r\n textValue: any = '';\r\n\r\n selectData: any[] = [];\r\n @Input() placeholder: any = '请选择';\r\n\r\n @Input() config: any = {};\r\n @Input() data: any = null;\r\n @Input() noSave: boolean = false;\r\n\r\n @Output() valueChange: EventEmitter<any> = new EventEmitter();\r\n\r\n constructor(private dialogService: GramBaseDialogService) { }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges(changes: any) {\r\n if (changes['data']) {\r\n this.initTextValue(this.data);\r\n }\r\n }\r\n\r\n getSelectData() {\r\n let res: any[] = [];\r\n if (this.data!!) {\r\n if (_.get(this.config, 'selectType') == 'multiple' && Array.isArray(this.data)) {\r\n res = this.data.map((item: any) => {\r\n let obj: any = {};\r\n obj['id'] = item['id'];\r\n obj['name'] = item['name'];\r\n return obj;\r\n });\r\n } else {\r\n res.push(this.data);\r\n }\r\n }\r\n return res;\r\n }\r\n\r\n openLookPage() {\r\n let dialogConfig: any = {\r\n pageType: this.config?.type,\r\n pageId: this.config?.pageId,\r\n pageCode: this.config?.pageCode,\r\n selectData: this.getSelectData(),\r\n selectType: this.config.selectType!! ? this.config.selectType : 'single',\r\n parameter: this.config?.parameter,\r\n mold: this.config?.mold,\r\n };\r\n this.dialogService.CreateModelDialog(\r\n {\r\n nzTitle: '选择 - ' + this.config?.label,\r\n size: 'large',\r\n nzContent: PageDialogDefaultComponent\r\n },\r\n {\r\n config: dialogConfig,\r\n },\r\n (type: any, instance: any, modal: any) => {\r\n let res = instance.getPageSelectData();\r\n if (res!! && res.length > 0) {\r\n this.textValue = res\r\n .map((item: any) => {\r\n return item.name;\r\n })\r\n .join('、');\r\n if (this.config?.isRowData == undefined || this.config?.isRowData == null || this.config?.isRowData == false) {\r\n res = res.map((item: any) => {\r\n return { id: item.id, name: item.name };\r\n });\r\n }\r\n if (_.get(this.config, 'selectType') == 'multiple') {\r\n this.valueChange.emit(res);\r\n } else {\r\n this.valueChange.emit(res[0]);\r\n }\r\n } else {\r\n this.textValue = null;\r\n this.valueChange.emit(null);\r\n }\r\n modal.destroy();\r\n },\r\n );\r\n }\r\n\r\n initTextValue(e: any) {\r\n if (e != undefined && e != null && e != '') {\r\n if (_.get(this.config, 'selectType') == 'multiple' && Array.isArray(e)) {\r\n this.textValue = e\r\n .map((item: any) => {\r\n return item.name;\r\n })\r\n .join('、');\r\n } else {\r\n if (!Array.isArray(e)) {\r\n this.textValue = e.name;\r\n }\r\n }\r\n } else {\r\n this.textValue = '';\r\n }\r\n }\r\n}\r\n","<nz-input-group nzSearch [nzAddOnAfter]=\"suffixIconButton\" nz-tooltip [nzTooltipTitle]=\"textValue\">\r\n <input type=\"text\" nz-input [placeholder]=\"placeholder\" [disabled]=\"true\" [value]=\"textValue\" />\r\n</nz-input-group>\r\n<ng-template #suffixIconButton>\r\n <button nz-button nzType=\"primary\" nzSearch type=\"button\" (click)=\"openLookPage()\"><i nz-icon\r\n nzType=\"plus\"></i></button>\r\n</ng-template>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { GramDeonLookUpComponent } from './default/index';\r\n\r\nconst components: any[] = [GramDeonLookUpComponent];\r\n\r\n@NgModule({\r\n imports: [CommonModule, ...components],\r\n exports: [...components],\r\n})\r\nexport class GramDeonLookUpModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;MAiCa,uBAAuB,CAAA;AAad,IAAA,aAAA;IAZpB,UAAU,GAAQ,EAAE;IACpB,SAAS,GAAQ,EAAE;IAEnB,UAAU,GAAU,EAAE;IACb,WAAW,GAAQ,KAAK;IAExB,MAAM,GAAQ,EAAE;IAChB,IAAI,GAAQ,IAAI;IAChB,MAAM,GAAY,KAAK;AAEtB,IAAA,WAAW,GAAsB,IAAI,YAAY,EAAE;AAE7D,IAAA,WAAA,CAAoB,aAAoC,EAAA;QAApC,IAAa,CAAA,aAAA,GAAb,aAAa;;AAEjC,IAAA,QAAQ;AAER,IAAA,WAAW,CAAC,OAAY,EAAA;AACtB,QAAA,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE;AACnB,YAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC;;;IAIjC,aAAa,GAAA;QACX,IAAI,GAAG,GAAU,EAAE;AACnB,QAAA,IAAI,IAAI,CAAC,IAAM,EAAE;YACf,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,IAAI,UAAU,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBAC9E,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAS,KAAI;oBAChC,IAAI,GAAG,GAAQ,EAAE;oBACjB,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,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A,QAAA,EAAA,ibAAA,EAAA,MAAA,EAAA,CAAA,sKAAA,CAAA,EAAA;0FAOQ,WAAW,EAAA,CAAA;sBAAnB;gBAEQ,MAAM,EAAA,CAAA;sBAAd;gBACQ,IAAI,EAAA,CAAA;sBAAZ;gBACQ,MAAM,EAAA,CAAA;sBAAd;gBAES,WAAW,EAAA,CAAA;sBAApB;;;AExCH,MAAM,UAAU,GAAU,CAAC,uBAAuB,CAAC;MAMtC,oBAAoB,CAAA;wGAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAHrB,OAAA,EAAA,CAAA,YAAY,EAHG,uBAAuB,aAAvB,uBAAuB,CAAA,EAAA,CAAA;yGAMrC,oBAAoB,EAAA,OAAA,EAAA,CAHrB,YAAY,EAAK,UAAU,CAAA,EAAA,CAAA;;4FAG1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,UAAU,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ebuilding-biz-comm.mjs","sources":["../../../../packages/biz-comm/ebuilding-biz-comm.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;AAEG"}
|