bbj-screen-widget 2.4.48 → 2.4.50
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/bbj-screen-widget.metadata.json +1 -1
- package/bundles/bbj-screen-widget.umd.js +22 -1
- package/bundles/bbj-screen-widget.umd.js.map +1 -1
- package/bundles/bbj-screen-widget.umd.min.js +1 -1
- package/bundles/bbj-screen-widget.umd.min.js.map +1 -1
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +12 -2
- package/esm2015/lib/select/select.component.js +14 -3
- package/fesm2015/bbj-screen-widget.js +24 -3
- package/fesm2015/bbj-screen-widget.js.map +1 -1
- package/lib/custom-baidu-map/custom-baidu-map.component.d.ts +1 -0
- package/lib/select/select.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2209,6 +2209,10 @@
|
|
|
2209
2209
|
this.optionChange.emit(selectedOption);
|
|
2210
2210
|
}
|
|
2211
2211
|
};
|
|
2212
|
+
SelectComponent.prototype.select = function (value) {
|
|
2213
|
+
this.selectedValue = value;
|
|
2214
|
+
this.selectChange(value);
|
|
2215
|
+
};
|
|
2212
2216
|
return SelectComponent;
|
|
2213
2217
|
}());
|
|
2214
2218
|
exports.ɵx.decorators = [
|
|
@@ -2398,6 +2402,13 @@
|
|
|
2398
2402
|
bbjWidgetBase.DataOutput('原始数据'),
|
|
2399
2403
|
__metadata("design:type", Object)
|
|
2400
2404
|
], exports.ɵx.prototype, "optionChange", void 0);
|
|
2405
|
+
__decorate([
|
|
2406
|
+
bbjWidgetBase.Method('选中'),
|
|
2407
|
+
__param(0, bbjWidgetBase.Param('值')),
|
|
2408
|
+
__metadata("design:type", Function),
|
|
2409
|
+
__metadata("design:paramtypes", [Object]),
|
|
2410
|
+
__metadata("design:returntype", void 0)
|
|
2411
|
+
], exports.ɵx.prototype, "select", null);
|
|
2401
2412
|
exports.ɵx = __decorate([
|
|
2402
2413
|
bbjWidgetBase.Widget('下拉框', {
|
|
2403
2414
|
group: 'component',
|
|
@@ -13996,6 +14007,9 @@
|
|
|
13996
14007
|
if (_this.infoWindowColor) {
|
|
13997
14008
|
_this.element.style.setProperty('--info-window-color', _this.infoWindowColor);
|
|
13998
14009
|
}
|
|
14010
|
+
if (_this.infoWindowBorderColor) {
|
|
14011
|
+
_this.element.style.setProperty('--info-window-border-color', _this.infoWindowBorderColor);
|
|
14012
|
+
}
|
|
13999
14013
|
_this.map.addEventListener('moveend', function (event) {
|
|
14000
14014
|
var center = _this.map.getCenter();
|
|
14001
14015
|
_this.dataChange.emit(center);
|
|
@@ -14304,7 +14318,7 @@
|
|
|
14304
14318
|
{ type: i0.Component, args: [{
|
|
14305
14319
|
selector: 'sc-custom-baidu-map',
|
|
14306
14320
|
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",
|
|
14307
|
-
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}"]
|
|
14321
|
+
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}"]
|
|
14308
14322
|
},] }
|
|
14309
14323
|
];
|
|
14310
14324
|
exports.ɵcy.ctorParameters = function () { return [
|
|
@@ -14369,6 +14383,13 @@
|
|
|
14369
14383
|
bbjWidgetBase.Property('信息窗模板', { ui: { widget: 'textarea' } }),
|
|
14370
14384
|
__metadata("design:type", String)
|
|
14371
14385
|
], exports.ɵcy.prototype, "infoWindowTemplate", void 0);
|
|
14386
|
+
__decorate([
|
|
14387
|
+
bbjWidgetBase.Property('信息窗边框', {
|
|
14388
|
+
ui: { widget: 'myColor' },
|
|
14389
|
+
example: ['#ffffff', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', null],
|
|
14390
|
+
}),
|
|
14391
|
+
__metadata("design:type", String)
|
|
14392
|
+
], exports.ɵcy.prototype, "infoWindowBorderColor", void 0);
|
|
14372
14393
|
__decorate([
|
|
14373
14394
|
bbjWidgetBase.Property('隐藏尖角'),
|
|
14374
14395
|
__metadata("design:type", Boolean)
|