bbj-screen-widget 2.4.49 → 2.4.51

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.
@@ -2192,6 +2192,7 @@
2192
2192
  // this.optionChange.emit(this.options);
2193
2193
  };
2194
2194
  SelectComponent.prototype.selectChange = function (value) {
2195
+ this.selectedValue = value;
2195
2196
  if (Array.isArray(value)) {
2196
2197
  // 多选
2197
2198
  if (this.outputFormat === 'string') {
@@ -2218,7 +2219,7 @@
2218
2219
  exports.ɵx.decorators = [
2219
2220
  { type: i0.Component, args: [{
2220
2221
  selector: 'sc-select',
2221
- template: "<nz-select\n class=\"select-wrap\"\n [ngClass]=\"align\"\n [(ngModel)]=\"selectedValue\"\n [nzMode]=\"mode\"\n [nzMaxTagCount]=\"num\"\n [nzDropdownClassName]=\"'dropDown'\"\n [ngStyle]=\"ngStyle\"\n [nzDropdownStyle]=\"dropdownStyle\"\n [nzDropdownClassName]=\"'selectComp'\"\n [nzDropdownRender]=\"renderTemplate\"\n [nzShowSearch]=\"showSearch\"\n (ngModelChange)=\"selectChange($event)\"\n [nzAllowClear]=\"showClean\"\n [nzPlaceHolder]=\"hint\"\n>\n <nz-option\n *ngFor=\"let item of options\"\n [nzValue]=\"item.value ? item.value : item.label\"\n [nzLabel]=\"item.label\"\n ></nz-option>\n</nz-select>\n<ng-template #renderTemplate>\n <div class=\"select-allCheck\" *ngIf=\"options && options.length > 0 && mode === 'multiple'\" (click)=\"selectAllData()\">\n <span>\u5168\u9009</span>\n </div>\n</ng-template>\n",
2222
+ template: "<nz-select\n class=\"select-wrap\"\n [ngClass]=\"align\"\n [ngModel]=\"selectedValue\"\n [nzMode]=\"mode\"\n [nzMaxTagCount]=\"num\"\n [nzDropdownClassName]=\"'dropDown'\"\n [ngStyle]=\"ngStyle\"\n [nzDropdownStyle]=\"dropdownStyle\"\n [nzDropdownClassName]=\"'selectComp'\"\n [nzDropdownRender]=\"renderTemplate\"\n [nzShowSearch]=\"showSearch\"\n (ngModelChange)=\"selectChange($event)\"\n [nzAllowClear]=\"showClean\"\n [nzPlaceHolder]=\"hint\"\n [(nzOpen)]=\"open\"\n>\n <nz-option\n *ngFor=\"let item of options\"\n [nzValue]=\"item.value ? item.value : item.label\"\n [nzLabel]=\"item.label\"\n ></nz-option>\n</nz-select>\n<ng-template #renderTemplate>\n <div>\n <button nz-button *ngIf=\"options && options.length > 0 && mode === 'multiple'\" (click)=\"selectAllData()\">\n \u5168\u9009\n </button>\n <button nz-button *ngIf=\"showClean\" (click)=\"selectChange(null); open = false\">\u6E05\u7A7A</button>\n <button nz-button *ngIf=\"showConfirm\" (click)=\"open = false\">\u67E5\u770B</button>\n </div>\n</ng-template>\n",
2222
2223
  styles: [":host{display:inline-block}:host,:host ::ng-deep .ant-select{width:100%;height:100%}:host ::ng-deep .ant-select.center .ant-select-selection-item{justify-content:center}:host ::ng-deep .ant-select.right .ant-select-selection-item{justify-content:flex-end}:host ::ng-deep .ant-select-selection-item{display:flex;align-items:center}:host ::ng-deep .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:0;height:100%;box-shadow:none!important}:host ::ng-deep .ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{height:100%}:host ::ng-deep .ant-select-arrow,:host ::ng-deep .ant-select-item,:host ::ng-deep .ant-select-item-empty{color:inherit}:host ::ng-deep .ant-select-single.ant-select-show-arrow .ant-select-selection-item,:host ::ng-deep .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{line-height:inherit}.select-allCheck:hover{background-color:#f8f8f8}.select-allCheck{display:flex;align-items:center;border-top:1px solid #eee;justify-content:flex-end;height:32px;padding:5px 12px;font-size:14px;position:relative;line-height:22px;font-weight:400;color:#333}.select-allCheck span{flex:1}.select-allCheck p{line-height:32px}:host ::ng-deep ::-webkit-scrollbar{width:2px}::ng-deep .selectComp .cdk-virtual-scroll-viewport::-webkit-scrollbar{width:0}::ng-deep .selectComp .ant-select-item-option{color:inherit;font-size:12px}::ng-deep .selectComp .ant-select-item-option-active{background:var(--selectHoverBackgroundColor);color:var(--selectHoverColor)}::ng-deep .selectComp .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:var(--dropdownBackgroundColor);color:var(--selectDropDownColor)}::ng-deep .selectComp .ant-select-dropdown{background-color:transparent}"]
2223
2224
  },] }
2224
2225
  ];
@@ -2343,6 +2344,10 @@
2343
2344
  bbjWidgetBase.Property('清空按钮'),
2344
2345
  __metadata("design:type", Boolean)
2345
2346
  ], exports.ɵx.prototype, "showClean", void 0);
2347
+ __decorate([
2348
+ bbjWidgetBase.Property('查看按钮'),
2349
+ __metadata("design:type", Boolean)
2350
+ ], exports.ɵx.prototype, "showConfirm", void 0);
2346
2351
  __decorate([
2347
2352
  bbjWidgetBase.Property('下拉宽度', { type: 'number' }),
2348
2353
  __metadata("design:type", Object)
@@ -14007,6 +14012,9 @@
14007
14012
  if (_this.infoWindowColor) {
14008
14013
  _this.element.style.setProperty('--info-window-color', _this.infoWindowColor);
14009
14014
  }
14015
+ if (_this.infoWindowBorderColor) {
14016
+ _this.element.style.setProperty('--info-window-border-color', _this.infoWindowBorderColor);
14017
+ }
14010
14018
  _this.map.addEventListener('moveend', function (event) {
14011
14019
  var center = _this.map.getCenter();
14012
14020
  _this.dataChange.emit(center);
@@ -14315,7 +14323,7 @@
14315
14323
  { type: i0.Component, args: [{
14316
14324
  selector: 'sc-custom-baidu-map',
14317
14325
  template: "<ng-template *ngFor=\"let child of children\" widget-host [widget]=\"child\"></ng-template>\n\n<!-- {{children|json}} -->\n<!-- <div class=\"map-container\" [ngStyle]=\"containerStyle\"> -->\n<div #container class=\"map\"></div>\n<nz-radio-group\n *ngIf=\"showMapTypeRadio\"\n class=\"map-type-radio\"\n [(ngModel)]=\"mapTypeValue\"\n (ngModelChange)=\"mapTypeChange($event)\"\n nzButtonStyle=\"solid\"\n>\n <label *ngFor=\"let item of mapTypeEnum\" nz-radio-button [nzValue]=\"item.value\">{{ item.label }}</label>\n</nz-radio-group>\n<!-- </div> -->\n",
14318
- styles: [":host{display:block;height:100%;width:100%;overflow:hidden;transform-origin:0 0;z-index:0;pointer-events:none}:host>*{pointer-events:auto}.map{height:100%;width:100%}:host::ng-deep .BMap_bubble_pop{background-color:var(--info-window-background,#fff)!important}:host::ng-deep .BMap_bubble_content{color:var(--info-window-color,\"#555555\")!important}:host::ng-deep .BMap_pop div{background-color:var(--info-window-background,#fff)!important}:host::ng-deep .BMap_pop>div:nth-child(8){background-color:transparent!important}:host.hideInfoWindowTail::ng-deep .BMap_bubble_pop>img,:host.hideInfoWindowTail::ng-deep .BMap_pop>div:nth-child(8),:host::ng-deep img[src$=\"/image/api/iws3.png\"]{display:none}:host.hideInfoWindowTop::ng-deep .BMap_bubble_pop{transform:translateY(31px)}:host.hideInfoWindowTop::ng-deep .BMap_bubble_pop>img{transform:translateY(-31px)}:host.hideInfoWindowTop::ng-deep .BMap_bubble_top,:host::ng-deep .anchorBL{display:none}.map-type-radio{position:absolute;bottom:20px;right:20px;z-index:10}"]
14326
+ styles: [":host{display:block;height:100%;width:100%;overflow:hidden;transform-origin:0 0;z-index:0;pointer-events:none}:host>*{pointer-events:auto}.map{height:100%;width:100%}:host::ng-deep .BMap_bubble_pop{background-color:var(--info-window-background,#fff)!important;border-color:var(--info-window-border-color,#ddd)!important}:host::ng-deep .BMap_bubble_content{color:var(--info-window-color,\"#555555\")!important}:host::ng-deep .BMap_pop div{background-color:var(--info-window-background,#fff)!important}:host::ng-deep .BMap_pop>div:nth-child(8){background-color:transparent!important}:host.hideInfoWindowTail::ng-deep .BMap_bubble_pop>img,:host.hideInfoWindowTail::ng-deep .BMap_pop>div:nth-child(8),:host::ng-deep img[src$=\"/image/api/iws3.png\"]{display:none}:host.hideInfoWindowTop::ng-deep .BMap_bubble_pop{transform:translateY(31px)}:host.hideInfoWindowTop::ng-deep .BMap_bubble_pop>img{transform:translateY(-31px)}:host.hideInfoWindowTop::ng-deep .BMap_bubble_top,:host::ng-deep .anchorBL{display:none}.map-type-radio{position:absolute;bottom:20px;right:20px;z-index:10}"]
14319
14327
  },] }
14320
14328
  ];
14321
14329
  exports.ɵcy.ctorParameters = function () { return [
@@ -14380,6 +14388,13 @@
14380
14388
  bbjWidgetBase.Property('信息窗模板', { ui: { widget: 'textarea' } }),
14381
14389
  __metadata("design:type", String)
14382
14390
  ], exports.ɵcy.prototype, "infoWindowTemplate", void 0);
14391
+ __decorate([
14392
+ bbjWidgetBase.Property('信息窗边框', {
14393
+ ui: { widget: 'myColor' },
14394
+ example: ['#ffffff', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', null],
14395
+ }),
14396
+ __metadata("design:type", String)
14397
+ ], exports.ɵcy.prototype, "infoWindowBorderColor", void 0);
14383
14398
  __decorate([
14384
14399
  bbjWidgetBase.Property('隐藏尖角'),
14385
14400
  __metadata("design:type", Boolean)