bbj-screen-widget 2.4.66 → 2.4.68

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.
Files changed (43) hide show
  1. package/bbj-screen-widget.d.ts +38 -33
  2. package/bbj-screen-widget.metadata.json +1 -1
  3. package/bundles/bbj-screen-widget-core.umd.js +148 -5
  4. package/bundles/bbj-screen-widget-core.umd.js.map +1 -1
  5. package/bundles/bbj-screen-widget-core.umd.min.js +1 -1
  6. package/bundles/bbj-screen-widget-core.umd.min.js.map +1 -1
  7. package/bundles/bbj-screen-widget.umd.js +1886 -401
  8. package/bundles/bbj-screen-widget.umd.js.map +1 -1
  9. package/bundles/bbj-screen-widget.umd.min.js +1 -1
  10. package/bundles/bbj-screen-widget.umd.min.js.map +1 -1
  11. package/core/bbj-screen-widget-core.metadata.json +1 -1
  12. package/core/public_api.d.ts +2 -0
  13. package/core/util/map.util.d.ts +23 -0
  14. package/core/util/scale.util.d.ts +4 -0
  15. package/esm2015/bbj-screen-widget.js +39 -34
  16. package/esm2015/core/public_api.js +3 -1
  17. package/esm2015/core/service/baidu-map.service.js +2 -2
  18. package/esm2015/core/util/map.util.js +104 -0
  19. package/esm2015/core/util/scale.util.js +33 -0
  20. package/esm2015/lib/custom-baidu-map/baidu-fence/baidu-fence.component.js +168 -88
  21. package/esm2015/lib/custom-baidu-map/baidu-lushu/baidu-lushu.component.js +222 -0
  22. package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +5 -42
  23. package/esm2015/lib/custom-baidu-map/custom-baidu-map.module.js +6 -1
  24. package/esm2015/lib/screen-widget.module.js +7 -1
  25. package/esm2015/lib/tianditu/base-layer.js +80 -0
  26. package/esm2015/lib/tianditu/tianditu-marker/tianditu-marker.component.js +666 -0
  27. package/esm2015/lib/tianditu/tianditu.component.js +399 -0
  28. package/esm2015/lib/tianditu/tianditu.module.js +21 -0
  29. package/fesm2015/bbj-screen-widget-core.js +139 -2
  30. package/fesm2015/bbj-screen-widget-core.js.map +1 -1
  31. package/fesm2015/bbj-screen-widget.js +1581 -176
  32. package/fesm2015/bbj-screen-widget.js.map +1 -1
  33. package/lib/custom-baidu-map/baidu-fence/baidu-fence.component.d.ts +20 -2
  34. package/lib/custom-baidu-map/baidu-lushu/baidu-lushu.component.d.ts +31 -0
  35. package/lib/custom-baidu-map/custom-baidu-map.component.d.ts +1 -1
  36. package/lib/tianditu/base-layer.d.ts +20 -0
  37. package/lib/tianditu/tianditu-marker/tianditu-marker.component.d.ts +63 -0
  38. package/lib/tianditu/tianditu.component.d.ts +53 -0
  39. package/lib/tianditu/tianditu.module.d.ts +4 -0
  40. package/package.json +1 -1
  41. package/src/assets/img/screen/car.png +0 -0
  42. package/src/assets/js/BMapGL/Lushu.js +815 -0
  43. package/src/assets/js/BMapGL/Lushu.min.js +1 -0
@@ -13948,50 +13948,12 @@
13948
13948
  };
13949
13949
  CustomBaiduMapComponent.prototype.ngOnInit = function () {
13950
13950
  return __awaiter(this, void 0, void 0, function () {
13951
- var _this = this;
13952
13951
  return __generator(this, function (_a) {
13953
13952
  switch (_a.label) {
13954
13953
  case 0:
13955
13954
  if (this.scale$) {
13956
13955
  // 这是为了解决地图缩放中心不在鼠标所在位置的问题
13957
- this.scale$.pipe(operators.takeUntil(this.destroy$)).subscribe(function (scale) {
13958
- var sx = scale.x, sy = scale.y, scaleContent = scale.scaleContent;
13959
- var style = _this.element.style;
13960
- if (scaleContent === false) {
13961
- _this.zone.onStable.pipe(operators.take(1)).subscribe(function () {
13962
- var parent = _this.element.parentNode;
13963
- if (parent) {
13964
- var match = /translate\(([-\d.]+)px, ([-\d.]+)px\)/.exec(parent.style.transform);
13965
- if (match) {
13966
- var offsetX = parseFloat(match[1]);
13967
- var offsetY = parseFloat(match[2]);
13968
- style.transform = "translate(" + -offsetX + "px," + -offsetY + "px)";
13969
- style.height = parent.clientHeight + offsetY + 'px';
13970
- style.width = parent.clientWidth + offsetX + 'px';
13971
- style.padding = offsetY + "px 0 0 " + offsetX + "px";
13972
- // this.containerStyle = {
13973
- // transformOrigin: `0 0`,
13974
- // transform: `translate(${-offsetX}px,${-offsetY}px)`,
13975
- // height: parent.clientHeight + offsetY + 'px',
13976
- // width: parent.clientWidth + offsetX + 'px',
13977
- // padding: `${offsetY}px 0 0 ${offsetX}px`,
13978
- // };
13979
- }
13980
- }
13981
- // this.cd.markForCheck();
13982
- });
13983
- }
13984
- else {
13985
- var _a = _this.widgetRef.widget, position = _a.position, size = _a.size;
13986
- var x = position.x, y = position.y;
13987
- var width = size.width, height = size.height;
13988
- style.transform = "translate(" + -x + "px," + -y + "px) scale(" + 1 / sx + "," + 1 / sy + ")";
13989
- style.height = (y + height) * sy + 'px';
13990
- style.width = (x + width) * sx + 'px';
13991
- style.padding = y * sy + "px 0 0 " + x * sx + "px";
13992
- }
13993
- // this.cd.markForCheck();
13994
- });
13956
+ i1.scaleAdapter(this.scale$, this.destroy$, this.zone, this.elementRef.nativeElement, this.widgetRef);
13995
13957
  }
13996
13958
  return [4 /*yield*/, this.initMap()];
13997
13959
  case 1:
@@ -14384,7 +14346,7 @@
14384
14346
  { type: i0.Component, args: [{
14385
14347
  selector: 'sc-custom-baidu-map',
14386
14348
  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",
14387
- 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 .BMap_noprint.anchorTR,: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}"]
14349
+ styles: [":host{display:block;height:100%;width:100%;overflow:hidden;transform-origin:0 0;z-index:0;pointer-events:none;position:relative}: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 .BMap_noprint.anchorTR,: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}"]
14388
14350
  },] }
14389
14351
  ];
14390
14352
  exports.ɵcy.ctorParameters = function () { return [
@@ -14577,6 +14539,7 @@
14577
14539
  'sc-wind-layer',
14578
14540
  'sc-typhoon-area-layer',
14579
14541
  'sc-baidu-fence',
14542
+ 'sc-baidu-lushu',
14580
14543
  ],
14581
14544
  description: 'hasChildItem',
14582
14545
  }),
@@ -16128,8 +16091,11 @@
16128
16091
  var ɵ0$c = { type: 'string', title: 'ID' };
16129
16092
  exports.ɵde = /** @class */ (function (_super_1) {
16130
16093
  __extends(BaiduFenceComponent, _super_1);
16131
- function BaiduFenceComponent() {
16132
- var _this = _super_1.apply(this, __spread(arguments)) || this;
16094
+ function BaiduFenceComponent(parent, zone, message) {
16095
+ var _this = _super_1.call(this, parent, zone) || this;
16096
+ _this.parent = parent;
16097
+ _this.zone = zone;
16098
+ _this.message = message;
16133
16099
  // @Property('标签字体', { ui: { widget: 'myFont', visibleIf: { showLabel: [true] } } })
16134
16100
  // textFont: any = {
16135
16101
  // family: '',
@@ -16146,11 +16112,13 @@
16146
16112
  _this.data = [
16147
16113
  {
16148
16114
  // name: '多边形',
16115
+ id: '1',
16149
16116
  type: 'polygon',
16150
16117
  lnglat: '120.7,28;120.8,28;120.8,27.9;120.7,27.9',
16151
16118
  },
16152
16119
  {
16153
16120
  // name: '圆形',
16121
+ id: '2',
16154
16122
  type: 'circle',
16155
16123
  lnglat: '120.6,27.9',
16156
16124
  radius: 5000,
@@ -16167,8 +16135,15 @@
16167
16135
  });
16168
16136
  return __awaiter(this, void 0, void 0, function () {
16169
16137
  return __generator(this, function (_b) {
16170
- _super.ngOnInit.call(this);
16171
- return [2 /*return*/];
16138
+ switch (_b.label) {
16139
+ case 0:
16140
+ _super.ngOnInit.call(this);
16141
+ return [4 /*yield*/, this.parent.init$];
16142
+ case 1:
16143
+ _b.sent();
16144
+ this.initSearch();
16145
+ return [2 /*return*/];
16146
+ }
16172
16147
  });
16173
16148
  });
16174
16149
  };
@@ -16198,27 +16173,6 @@
16198
16173
  if (!r.radius || !r.lnglat) {
16199
16174
  return;
16200
16175
  }
16201
- // const radius = (r.radius * 180) / EARTH_RADIUS / Math.PI;
16202
- // // let radius = cradius / 90;
16203
- // let pointNum = 90;
16204
- // let startAngle = 0;
16205
- // let endAngle = Math.PI * 2;
16206
- // let points = [];
16207
- // const lnglat = r.lnglat.split(',');
16208
- // const lng = +lnglat[0];
16209
- // const lat = +lnglat[1];
16210
- // for (var i = 0; i <= pointNum; i++) {
16211
- // const angle = startAngle + ((endAngle - startAngle) * i) / pointNum;
16212
- // const x = lng + (radius * Math.cos(angle)) / Math.abs(Math.cos((lat * Math.PI) / 180));
16213
- // const y = lat + radius * Math.sin(angle);
16214
- // points.push([x, y]);
16215
- // }
16216
- // data.push({
16217
- // geometry: {
16218
- // type: 'Polygon',
16219
- // coordinates: [points],
16220
- // },
16221
- // });
16222
16176
  var pointsCount = 90;
16223
16177
  var radius = r.radius;
16224
16178
  var lnglat = r.lnglat.split(',');
@@ -16252,14 +16206,18 @@
16252
16206
  if (!r.lnglat) {
16253
16207
  return;
16254
16208
  }
16255
- var coordinates = r.lnglat.split(';').map(function (r) {
16209
+ // const coordinates = r.lnglat.split(';').map((r) => {
16210
+ // const lnglat = r.split(',');
16211
+ // return [+lnglat[0], +lnglat[1]];
16212
+ // });
16213
+ var coordinates = r.lnglat.split('\n').map(function (r) { return r.split(';').map(function (r) {
16256
16214
  var lnglat = r.split(',');
16257
16215
  return [+lnglat[0], +lnglat[1]];
16258
- });
16216
+ }); });
16259
16217
  data.push({
16260
16218
  geometry: {
16261
16219
  type: 'Polygon',
16262
- coordinates: [coordinates],
16220
+ coordinates: coordinates,
16263
16221
  },
16264
16222
  });
16265
16223
  }
@@ -16287,20 +16245,40 @@
16287
16245
  lnglat: lnglat.lng + "," + lnglat.lat,
16288
16246
  radius: radius,
16289
16247
  };
16248
+ // this.tempOverlay.forEach((r) => {
16249
+ // this.parent.map.removeOverlay(r);
16250
+ // });
16290
16251
  _this.create.emit(data);
16252
+ _this.editOverlay = null;
16291
16253
  }
16292
16254
  else {
16293
16255
  var points = e.target.overlay.getPoints();
16294
16256
  if (!_this.data) {
16295
16257
  _this.data = [];
16296
16258
  }
16297
- var data = {
16298
- type: 'polygon',
16299
- lnglat: points.map(function (p) { return p.latLng.lng + "," + p.latLng.lat; }).join(';'),
16300
- };
16259
+ var data = void 0;
16260
+ if (points.length && Array.isArray(points[0])) {
16261
+ data = {
16262
+ type: 'polygon',
16263
+ lnglat: points.map(function (ps) { return ps.map(function (p) { return p.latLng.lng + "," + p.latLng.lat; }).join(';'); }).join('\n'),
16264
+ };
16265
+ }
16266
+ else {
16267
+ data = {
16268
+ type: 'polygon',
16269
+ lnglat: points.map(function (p) { return p.latLng.lng + "," + p.latLng.lat; }).join(';'),
16270
+ };
16271
+ }
16301
16272
  _this.create.emit(data);
16302
16273
  }
16303
16274
  });
16275
+ this.scene.addEventListener(OperateEventType.CANCEL, function (e) {
16276
+ console.log(e);
16277
+ if (_this.editOverlay) {
16278
+ _this.parent.map.removeOverlay(_this.editOverlay);
16279
+ _this.editOverlay = null;
16280
+ }
16281
+ });
16304
16282
  }
16305
16283
  switch (type) {
16306
16284
  case 'polygon':
@@ -16349,6 +16327,13 @@
16349
16327
  });
16350
16328
  });
16351
16329
  };
16330
+ BaiduFenceComponent.prototype.getOptions = function () {
16331
+ return {
16332
+ fillColor: this.fillColor,
16333
+ strokeWeight: this.lineWidth,
16334
+ strokeColor: this.lineColor,
16335
+ };
16336
+ };
16352
16337
  BaiduFenceComponent.prototype.updateEditData = function () {
16353
16338
  if (this.editLayer) {
16354
16339
  this.editLayer.setData(this.editData.map(function (r) { return ({ geometry: { type: 'Point', coordinates: r } }); }));
@@ -16391,25 +16376,138 @@
16391
16376
  // this.editData = null;
16392
16377
  };
16393
16378
  BaiduFenceComponent.prototype.search = function () {
16394
- if (!this.searchText) {
16395
- }
16396
- var local = new BMapGL.LocalSearch(this.parent.map, {
16397
- //智能搜索
16398
- onSearchComplete: function (res) {
16399
- console.log(res, local);
16400
- },
16379
+ return __awaiter(this, void 0, void 0, function () {
16380
+ var PolygonEdit, boundary;
16381
+ var _this = this;
16382
+ return __generator(this, function (_b) {
16383
+ switch (_b.label) {
16384
+ case 0: return [4 /*yield*/, import('bmap-draw')];
16385
+ case 1:
16386
+ PolygonEdit = (_b.sent()).PolygonEdit;
16387
+ if (this.areaName) {
16388
+ boundary = new BMapGL.Boundary();
16389
+ // 百度地图 Geocoder.getLocation 回调签名:(results, status)
16390
+ boundary.get(this.areaName, function (results) {
16391
+ console.log('边界坐标数组:', results);
16392
+ // 检查状态是否成功
16393
+ if (results && results.boundaries && results.boundaries.length) {
16394
+ _this.stopDraw();
16395
+ if (!_this.polygonEdit) {
16396
+ _this.polygonEdit = new PolygonEdit(_this.scene);
16397
+ }
16398
+ var points = results.boundaries.map(function (boundary) { return boundary.split(';').map(function (p) {
16399
+ var _b = __read(p.split(','), 2), lng = _b[0], lat = _b[1];
16400
+ return new BMapGL.Point(Number(lng), Number(lat));
16401
+ }); });
16402
+ var overlay = new BMapGL.Polygon(points, _this.getOptions());
16403
+ console.log(overlay);
16404
+ _this.editOverlay = overlay;
16405
+ _this.parent.map.addOverlay(overlay);
16406
+ _this.parent.map.setViewport([].concat.apply([], points));
16407
+ _this.polygonEdit.edit(overlay);
16408
+ }
16409
+ else {
16410
+ _this.message.error('行政区域不存在');
16411
+ }
16412
+ });
16413
+ }
16414
+ return [2 /*return*/];
16415
+ }
16416
+ });
16417
+ });
16418
+ };
16419
+ BaiduFenceComponent.prototype.initSearch = function () {
16420
+ return __awaiter(this, void 0, void 0, function () {
16421
+ var _b, PolygonEdit, CircleEdit, ac;
16422
+ var _this = this;
16423
+ return __generator(this, function (_c) {
16424
+ switch (_c.label) {
16425
+ case 0: return [4 /*yield*/, import('bmap-draw')];
16426
+ case 1:
16427
+ _b = _c.sent(), PolygonEdit = _b.PolygonEdit, CircleEdit = _b.CircleEdit;
16428
+ ac = new BMapGL.Autocomplete({
16429
+ input: this.suggest.nativeElement,
16430
+ location: this.parent.map,
16431
+ });
16432
+ ac.addEventListener('onconfirm', function (e) {
16433
+ // 鼠标点击下拉列表后的事件
16434
+ var value = e.item.value;
16435
+ console.log(e);
16436
+ // 如果正在绘制圆形围栏
16437
+ if (_this.circle) {
16438
+ if (!_this.circleEdit) {
16439
+ _this.circleEdit = new CircleEdit(_this.scene);
16440
+ }
16441
+ var center = new BMapGL.Point(value.location.lng, value.location.lat);
16442
+ _this.parent.map.centerAndZoom(center, 16);
16443
+ var overlay = new BMapGL.Circle(center, 300, _this.getOptions());
16444
+ _this.editOverlay = overlay;
16445
+ _this.parent.map.addOverlay(overlay);
16446
+ _this.circleEdit.open(overlay);
16447
+ _this.searchText = null;
16448
+ }
16449
+ });
16450
+ return [2 /*return*/];
16451
+ }
16452
+ });
16401
16453
  });
16402
- local.search(this.searchText);
16454
+ };
16455
+ BaiduFenceComponent.prototype.moveToView = function (id) {
16456
+ if (!this.data || !id) {
16457
+ return;
16458
+ }
16459
+ var data = this.data.find(function (r) { return r.id === id; });
16460
+ if (!data) {
16461
+ return;
16462
+ }
16463
+ if (data.type === 'circle') {
16464
+ var _b = __read(data.lnglat.split(','), 2), lng = _b[0], lat = _b[1];
16465
+ var centerLng = Number(lng);
16466
+ var centerLat = Number(lat);
16467
+ var radius = Number(data.radius);
16468
+ // 转换中心点纬度为弧度
16469
+ var centerLatRad = (centerLat * Math.PI) / 180;
16470
+ // 计算经度方向的偏移(弧度)
16471
+ var deltaLngRad = radius / (EARTH_RADIUS$1 * Math.cos(centerLatRad));
16472
+ // 计算纬度方向的偏移(弧度)
16473
+ var deltaLatRad = radius / EARTH_RADIUS$1;
16474
+ // 转换为角度偏移
16475
+ var deltaLng = (deltaLngRad * 180) / Math.PI;
16476
+ var deltaLat = (deltaLatRad * 180) / Math.PI;
16477
+ // 计算圆形的四个边界点(上、下、左、右)
16478
+ var points = [
16479
+ new BMapGL.Point(centerLng, centerLat + deltaLat),
16480
+ new BMapGL.Point(centerLng, centerLat - deltaLat),
16481
+ new BMapGL.Point(centerLng - deltaLng, centerLat),
16482
+ new BMapGL.Point(centerLng + deltaLng, centerLat),
16483
+ ];
16484
+ // 使用 setViewport 方法调整视图,使整个圆形可见
16485
+ this.parent.map.setViewport(points);
16486
+ }
16487
+ else {
16488
+ this.parent.map.setViewport(data.lnglat.split(/[;\n\r]+/).map(function (p) {
16489
+ var _b = __read(p.split(','), 2), lng = _b[0], lat = _b[1];
16490
+ return new BMapGL.Point(Number(lng), Number(lat));
16491
+ }));
16492
+ }
16403
16493
  };
16404
16494
  return BaiduFenceComponent;
16405
16495
  }(BaseLayer));
16406
16496
  exports.ɵde.decorators = [
16407
16497
  { type: i0.Component, args: [{
16408
16498
  selector: 'sc-baidu-fence',
16409
- template: "<ng-container *ngIf=\"showDrawButton\">\n <button nz-button (click)=\"startDraw('polygon')\">\u7ED8\u5236\u591A\u8FB9\u5F62</button>\n <button nz-button (click)=\"startDraw('circle')\">\u7ED8\u5236\u5706\u5F62</button>\n <button nz-button (click)=\"stopDraw()\">\u7ED3\u675F\u7ED8\u5236</button>\n</ng-container>\n\n<!-- <input type=\"text\" placeholder=\"\u8BF7\u8F93\u5165\u5730\u70B9\" [(ngModel)]=\"searchText\" />\n<button nz-button (click)=\"search()\">\u67E5\u8BE2</button> -->\n",
16410
- styles: [":host{position:absolute;display:block;left:0;top:0;z-index:100;padding:12px;pointer-events:auto}button{transition:none}"]
16499
+ template: "<ng-container *ngIf=\"showDrawButton\">\n <button nz-button (click)=\"startDraw('polygon')\">\u7ED8\u5236\u591A\u8FB9\u5F62</button>\n <button nz-button (click)=\"startDraw('circle')\">\u7ED8\u5236\u5706\u5F62</button>\n <button nz-button (click)=\"stopDraw()\">\u7ED3\u675F\u7ED8\u5236</button>\n <button nz-button (click)=\"moveToView('1')\">\u79FB\u52A8\u5230\u4E2D\u5FC31</button>\n <button nz-button (click)=\"moveToView('2')\">\u79FB\u52A8\u5230\u4E2D\u5FC32</button>\n</ng-container>\n<input\n nz-input\n [ngClass]=\"{ hidden: !circle?.isOpen }\"\n #suggest\n type=\"text\"\n [(ngModel)]=\"searchText\"\n placeholder=\"\u8BF7\u8F93\u5165\u4E2D\u5FC3\u70B9\u4F4D\u7F6E\"\n class=\"input\"\n/>\n<ng-container *ngIf=\"polygon?.isOpen\">\n <input nz-input type=\"text\" placeholder=\"\u8BF7\u8F93\u5165\u884C\u653F\u533A\u540D\u79F0\" [(ngModel)]=\"areaName\" class=\"input\" />\n <button nz-button (click)=\"search()\" style=\"margin-left: 12px\">\u786E\u8BA4</button>\n</ng-container>\n<!-- <input type=\"text\" placeholder=\"\u8BF7\u8F93\u5165\u5730\u70B9\" [(ngModel)]=\"searchText\" />\n<button nz-button (click)=\"search()\">\u67E5\u8BE2</button> -->\n",
16500
+ styles: [":host{position:absolute;display:block;left:0;top:0;z-index:100;padding:12px;pointer-events:auto}button{transition:none}.hidden{display:none}.input{width:300px;margin-left:12px}"]
16411
16501
  },] }
16412
16502
  ];
16503
+ exports.ɵde.ctorParameters = function () { return [
16504
+ { type: exports.ɵcy },
16505
+ { type: i0.NgZone },
16506
+ { type: message.NzMessageService }
16507
+ ]; };
16508
+ exports.ɵde.propDecorators = {
16509
+ suggest: [{ type: i0.ViewChild, args: ['suggest',] }]
16510
+ };
16413
16511
  __decorate([
16414
16512
  bbjWidgetBase.Property('线条宽度', {
16415
16513
  ui: { widget: 'myRange', min: 1, max: 40, step: 1 },
@@ -16481,15 +16579,253 @@
16481
16579
  __metadata("design:paramtypes", []),
16482
16580
  __metadata("design:returntype", void 0)
16483
16581
  ], exports.ɵde.prototype, "stopDraw", null);
16582
+ __decorate([
16583
+ bbjWidgetBase.Method('移动到中心'),
16584
+ __param(0, bbjWidgetBase.Param('id')),
16585
+ __metadata("design:type", Function),
16586
+ __metadata("design:paramtypes", [String]),
16587
+ __metadata("design:returntype", void 0)
16588
+ ], exports.ɵde.prototype, "moveToView", null);
16484
16589
  exports.ɵde = __decorate([
16485
16590
  bbjWidgetBase.Widget('电子围栏', {
16486
16591
  group: 'component',
16487
16592
  image: '',
16488
16593
  icon: '',
16489
16594
  hidden: true,
16490
- })
16595
+ }),
16596
+ __metadata("design:paramtypes", [exports.ɵcy,
16597
+ i0.NgZone,
16598
+ message.NzMessageService])
16491
16599
  ], exports.ɵde);
16492
16600
 
16601
+ exports.ɵdf = /** @class */ (function () {
16602
+ function BaiduLushuComponent(parent, lazy, zone) {
16603
+ this.parent = parent;
16604
+ this.lazy = lazy;
16605
+ this.zone = zone;
16606
+ this.speed = 500;
16607
+ this.iconWidth = 32;
16608
+ this.iconHeight = 32;
16609
+ this.showPolyline = true;
16610
+ this.polylineColor = '#111';
16611
+ this.autoStart = true;
16612
+ // @Property('自动视野调整', { type: 'boolean' })
16613
+ // autoView = true;
16614
+ this.enableRotation = true;
16615
+ this.defaultContent = '行驶中';
16616
+ this.data = [
16617
+ {
16618
+ lng: '120.7',
16619
+ lat: '28',
16620
+ },
16621
+ {
16622
+ lng: '120.71',
16623
+ lat: '28.01',
16624
+ landmark: '加油站',
16625
+ pauseTime: 2,
16626
+ },
16627
+ {
16628
+ lng: '120.79',
16629
+ lat: '28.1',
16630
+ },
16631
+ ];
16632
+ this.lushu = null;
16633
+ this.inited = false;
16634
+ }
16635
+ BaiduLushuComponent.prototype.ngOnInit = function () {
16636
+ var _this = this;
16637
+ this.zone.runOutsideAngular(function () { return __awaiter(_this, void 0, void 0, function () {
16638
+ return __generator(this, function (_b) {
16639
+ switch (_b.label) {
16640
+ case 0: return [4 /*yield*/, this.parent.init$];
16641
+ case 1:
16642
+ _b.sent();
16643
+ return [4 /*yield*/, this.lazy.loadScript('/assets/js/BMapGL/Lushu.js')];
16644
+ case 2:
16645
+ _b.sent();
16646
+ this.inited = true;
16647
+ this.update();
16648
+ return [2 /*return*/];
16649
+ }
16650
+ });
16651
+ }); });
16652
+ };
16653
+ BaiduLushuComponent.prototype.ngOnChanges = function (changes) {
16654
+ var _this = this;
16655
+ if (this.inited) {
16656
+ this.zone.runOutsideAngular(function () {
16657
+ _this.update();
16658
+ });
16659
+ }
16660
+ };
16661
+ BaiduLushuComponent.prototype.ngOnDestroy = function () {
16662
+ this.clear();
16663
+ };
16664
+ BaiduLushuComponent.prototype.update = function () {
16665
+ var _a;
16666
+ this.clear();
16667
+ if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.length)) {
16668
+ return;
16669
+ }
16670
+ var landmarkPois = [];
16671
+ var arrPois = this.data.map(function (item) {
16672
+ if (item.landmark || item.pauseTime) {
16673
+ landmarkPois.push({
16674
+ lng: Number(item.lng),
16675
+ lat: Number(item.lat),
16676
+ html: item.landmark,
16677
+ pauseTime: item.pauseTime ? Number(item.pauseTime) : 0,
16678
+ });
16679
+ }
16680
+ return new BMapGL.Point(item.lng, item.lat);
16681
+ });
16682
+ if (this.showPolyline) {
16683
+ this.polyline = new BMapGL.Polyline(arrPois, { strokeColor: this.polylineColor });
16684
+ this.parent.map.addOverlay(this.polyline);
16685
+ }
16686
+ this.lushu = new BMapGLLib.LuShu(this.parent.map, arrPois, {
16687
+ defaultContent: this.defaultContent || '',
16688
+ autoView: false,
16689
+ icon: new BMapGL.Icon(this.icon || '/assets/img/screen/car.png', new BMapGL.Size(this.iconWidth, this.iconHeight), {
16690
+ anchor: new BMapGL.Size(10, 10),
16691
+ }),
16692
+ speed: this.speed,
16693
+ enableRotation: this.enableRotation,
16694
+ // defaultContent不为空时才会显示
16695
+ landmarkPois: landmarkPois,
16696
+ });
16697
+ if (this.autoStart) {
16698
+ this.start();
16699
+ }
16700
+ };
16701
+ BaiduLushuComponent.prototype.start = function () {
16702
+ if (this.lushu) {
16703
+ this.parent.map.setViewport(this.lushu.path);
16704
+ this.lushu.start();
16705
+ }
16706
+ };
16707
+ BaiduLushuComponent.prototype.stop = function () {
16708
+ if (this.lushu) {
16709
+ this.lushu.stop();
16710
+ }
16711
+ };
16712
+ BaiduLushuComponent.prototype.pause = function () {
16713
+ if (this.lushu) {
16714
+ this.lushu.pause();
16715
+ }
16716
+ };
16717
+ BaiduLushuComponent.prototype.clear = function () {
16718
+ if (this.lushu) {
16719
+ this.lushu.clear();
16720
+ this.lushu = null;
16721
+ }
16722
+ if (this.polyline) {
16723
+ this.parent.map.removeOverlay(this.polyline);
16724
+ }
16725
+ };
16726
+ BaiduLushuComponent.prototype.setSpeed = function (speed) {
16727
+ if (speed) {
16728
+ this.speed = speed;
16729
+ this.update();
16730
+ }
16731
+ };
16732
+ return BaiduLushuComponent;
16733
+ }());
16734
+ exports.ɵdf.decorators = [
16735
+ { type: i0.Component, args: [{
16736
+ selector: 'sc-baidu-lushu',
16737
+ template: "",
16738
+ styles: [""]
16739
+ },] }
16740
+ ];
16741
+ exports.ɵdf.ctorParameters = function () { return [
16742
+ { type: exports.ɵcy },
16743
+ { type: util.LazyService },
16744
+ { type: i0.NgZone }
16745
+ ]; };
16746
+ __decorate([
16747
+ bbjWidgetBase.Property('速度', { type: 'number' }),
16748
+ __metadata("design:type", Object)
16749
+ ], exports.ɵdf.prototype, "speed", void 0);
16750
+ __decorate([
16751
+ bbjWidgetBase.Property('图标', { type: 'string', ui: { widget: 'myPicture' } }),
16752
+ __metadata("design:type", String)
16753
+ ], exports.ɵdf.prototype, "icon", void 0);
16754
+ __decorate([
16755
+ bbjWidgetBase.Property('图标宽度', { type: 'number' }),
16756
+ __metadata("design:type", Number)
16757
+ ], exports.ɵdf.prototype, "iconWidth", void 0);
16758
+ __decorate([
16759
+ bbjWidgetBase.Property('图标高度', { type: 'number' }),
16760
+ __metadata("design:type", Number)
16761
+ ], exports.ɵdf.prototype, "iconHeight", void 0);
16762
+ __decorate([
16763
+ bbjWidgetBase.Property('显示轨迹', { type: 'boolean' }),
16764
+ __metadata("design:type", Object)
16765
+ ], exports.ɵdf.prototype, "showPolyline", void 0);
16766
+ __decorate([
16767
+ bbjWidgetBase.Property('轨迹颜色', { type: 'string', ui: { widget: 'myColor', visibleIf: { showPolyline: [true] } } }),
16768
+ __metadata("design:type", String)
16769
+ ], exports.ɵdf.prototype, "polylineColor", void 0);
16770
+ __decorate([
16771
+ bbjWidgetBase.Property('自动播放', { type: 'boolean' }),
16772
+ __metadata("design:type", Object)
16773
+ ], exports.ɵdf.prototype, "autoStart", void 0);
16774
+ __decorate([
16775
+ bbjWidgetBase.Property('自动转向', { type: 'boolean' }),
16776
+ __metadata("design:type", Object)
16777
+ ], exports.ɵdf.prototype, "enableRotation", void 0);
16778
+ __decorate([
16779
+ bbjWidgetBase.Property('默认内容', { type: 'string' }),
16780
+ __metadata("design:type", Object)
16781
+ ], exports.ɵdf.prototype, "defaultContent", void 0);
16782
+ __decorate([
16783
+ bbjWidgetBase.Data({
16784
+ properties: {
16785
+ lng: { type: 'number', title: '经度' },
16786
+ lat: { type: 'number', title: '纬度' },
16787
+ landmark: { type: 'string', title: '标记点' },
16788
+ pauseTime: { type: 'number', title: '暂停时间' },
16789
+ },
16790
+ }),
16791
+ __metadata("design:type", Array)
16792
+ ], exports.ɵdf.prototype, "data", void 0);
16793
+ __decorate([
16794
+ bbjWidgetBase.Method('播放'),
16795
+ __metadata("design:type", Function),
16796
+ __metadata("design:paramtypes", []),
16797
+ __metadata("design:returntype", void 0)
16798
+ ], exports.ɵdf.prototype, "start", null);
16799
+ __decorate([
16800
+ bbjWidgetBase.Method('停止'),
16801
+ __metadata("design:type", Function),
16802
+ __metadata("design:paramtypes", []),
16803
+ __metadata("design:returntype", void 0)
16804
+ ], exports.ɵdf.prototype, "stop", null);
16805
+ __decorate([
16806
+ bbjWidgetBase.Method('暂停'),
16807
+ __metadata("design:type", Function),
16808
+ __metadata("design:paramtypes", []),
16809
+ __metadata("design:returntype", void 0)
16810
+ ], exports.ɵdf.prototype, "pause", null);
16811
+ __decorate([
16812
+ bbjWidgetBase.Method('设置速度'),
16813
+ __metadata("design:type", Function),
16814
+ __metadata("design:paramtypes", [Number]),
16815
+ __metadata("design:returntype", void 0)
16816
+ ], exports.ɵdf.prototype, "setSpeed", null);
16817
+ exports.ɵdf = __decorate([
16818
+ bbjWidgetBase.Widget('轨迹', {
16819
+ group: 'component',
16820
+ image: '',
16821
+ icon: '',
16822
+ hidden: true,
16823
+ }),
16824
+ __metadata("design:paramtypes", [exports.ɵcy,
16825
+ util.LazyService,
16826
+ i0.NgZone])
16827
+ ], exports.ɵdf);
16828
+
16493
16829
  var CustomBaiduMapModule = /** @class */ (function () {
16494
16830
  function CustomBaiduMapModule(widgetService) {
16495
16831
  widgetService.register(exports.ɵcy, { scaleContent: false });
@@ -16498,6 +16834,7 @@
16498
16834
  widgetService.register(exports.ɵdc);
16499
16835
  widgetService.register(exports.ɵdd);
16500
16836
  widgetService.register(exports.ɵde);
16837
+ widgetService.register(exports.ɵdf);
16501
16838
  }
16502
16839
  return CustomBaiduMapModule;
16503
16840
  }());
@@ -16510,6 +16847,7 @@
16510
16847
  exports.ɵdc,
16511
16848
  exports.ɵdd,
16512
16849
  exports.ɵde,
16850
+ exports.ɵdf,
16513
16851
  ],
16514
16852
  imports: [
16515
16853
  common.CommonModule,
@@ -16520,6 +16858,7 @@
16520
16858
  radio.NzRadioModule,
16521
16859
  forms.FormsModule,
16522
16860
  button.NzButtonModule,
16861
+ input.NzInputModule,
16523
16862
  ],
16524
16863
  },] }
16525
16864
  ];
@@ -16726,7 +17065,7 @@
16726
17065
  'iconzhinanzhen',
16727
17066
  ];
16728
17067
 
16729
- exports.ɵdg = /** @class */ (function () {
17068
+ exports.ɵdh = /** @class */ (function () {
16730
17069
  function UploadComponent(msg) {
16731
17070
  var _this = this;
16732
17071
  this.msg = msg;
@@ -16813,14 +17152,14 @@
16813
17152
  };
16814
17153
  return UploadComponent;
16815
17154
  }());
16816
- exports.ɵdg.decorators = [
17155
+ exports.ɵdh.decorators = [
16817
17156
  { type: i0.Component, args: [{
16818
17157
  selector: 'sc-upload',
16819
17158
  template: "<div class=\"content\">\n <nz-upload\n nzAction=\"/api/screen/fileUpload\"\n [nzHeaders]=\"{ authorization: 'authorization-text' }\"\n (nzChange)=\"handleChange($event)\"\n [nzLimit]=\"1\"\n [ngClass]=\"class\"\n [nzListType]=\"listType\"\n [nzShowUploadList]=\"showUploadList\"\n [nzMultiple]=\"true\"\n [nzBeforeUpload]=\"beforeUpload\"\n nzType=\"{{type}}\"\n\n\n >\n <button nz-button *ngIf=\"style === 'classics'\"><i nz-icon nzType=\"upload\"></i>\u70B9\u51FB\u4E0A\u4F20</button>\n <ng-container *ngIf=\"style === 'portrait'\">\n <ng-container *ngIf=\"!avatarUrl\">\n <i class=\"upload-icon\" nz-icon [nzType]=\"loading ? 'loading' : 'plus'\"></i>\n <div class=\"ant-upload-text\">Upload</div>\n </ng-container>\n <img *ngIf=\"avatarUrl\" [src]=\"avatarUrl\" style=\"width: 100%\"/>\n </ng-container>\n <ng-container *ngIf=\"style==='drag'\">\n <p class=\"ant-upload-drag-icon\">\n <i nz-icon nzType=\"inbox\"></i>\n </p>\n <p class=\"ant-upload-text\">\u70B9\u51FB\u6216\u8005\u62D6\u62FD\u4E0A\u4F20</p>\n <p class=\"ant-upload-hint\"></p>\n </ng-container>\n </nz-upload>\n</div>\n",
16820
17159
  styles: [":host{display:block;text-align:center}:host,div.content{height:100%;width:100%}div.content{display:flex;align-items:center;justify-content:center}"]
16821
17160
  },] }
16822
17161
  ];
16823
- exports.ɵdg.ctorParameters = function () { return [
17162
+ exports.ɵdh.ctorParameters = function () { return [
16824
17163
  { type: message.NzMessageService }
16825
17164
  ]; };
16826
17165
  __decorate([
@@ -16836,29 +17175,29 @@
16836
17175
  ],
16837
17176
  }),
16838
17177
  __metadata("design:type", Object)
16839
- ], exports.ɵdg.prototype, "style", void 0);
17178
+ ], exports.ɵdh.prototype, "style", void 0);
16840
17179
  __decorate([
16841
17180
  bbjWidgetBase.DataOutput('值'),
16842
17181
  __metadata("design:type", Object)
16843
- ], exports.ɵdg.prototype, "valueChange", void 0);
16844
- exports.ɵdg = __decorate([
17182
+ ], exports.ɵdh.prototype, "valueChange", void 0);
17183
+ exports.ɵdh = __decorate([
16845
17184
  bbjWidgetBase.Widget('文件上传', {
16846
17185
  group: 'component',
16847
17186
  image: 'assets/img/screen/file-upload.png',
16848
17187
  icon: 'icontubiao',
16849
17188
  }),
16850
17189
  __metadata("design:paramtypes", [message.NzMessageService])
16851
- ], exports.ɵdg);
17190
+ ], exports.ɵdh);
16852
17191
 
16853
17192
  var UploadModule = /** @class */ (function () {
16854
17193
  function UploadModule(widgetService) {
16855
- widgetService.register(exports.ɵdg);
17194
+ widgetService.register(exports.ɵdh);
16856
17195
  }
16857
17196
  return UploadModule;
16858
17197
  }());
16859
17198
  UploadModule.decorators = [
16860
17199
  { type: i0.NgModule, args: [{
16861
- declarations: [exports.ɵdg],
17200
+ declarations: [exports.ɵdh],
16862
17201
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, icon.NzIconModule, upload.NzUploadModule, button.NzButtonModule],
16863
17202
  },] }
16864
17203
  ];
@@ -16866,7 +17205,7 @@
16866
17205
  { type: bbjWidgetBase.WidgetService }
16867
17206
  ]; };
16868
17207
 
16869
- exports.ɵdh = /** @class */ (function () {
17208
+ exports.ɵdi = /** @class */ (function () {
16870
17209
  function CrossTableComponent() {
16871
17210
  this.pageSize = 10;
16872
17211
  this.theadBackground = '#fafafa';
@@ -17054,18 +17393,18 @@
17054
17393
  };
17055
17394
  return CrossTableComponent;
17056
17395
  }());
17057
- exports.ɵdh.decorators = [
17396
+ exports.ɵdi.decorators = [
17058
17397
  { type: i0.Component, args: [{
17059
17398
  selector: 'sc-cross-table',
17060
17399
  template: "<nz-table #basicTable [nzData]=\"data\" [nzScroll]=\"{ x: '50px', y: '100%' }\" [nzPageSize]=\"pageSize\"\n [ngStyle]=\"bodyStyle\"\n [nzBordered]=\"showBorder\" [nzWidthConfig]=\"widthConfig\" [nzFrontPagination]=\"needPage\">\n <thead>\n <tr >\n <th *ngFor=\"let head of ths\" nzAlign=\"{{contentAlign}}\" [ngStyle]=\"headStyle\">{{ head }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let row of basicTable.data\" >\n <ng-container *ngFor=\"let td of row\">\n <td nzAlign=\"{{contentAlign}}\" [ngStyle]=\"bodyStyle\">{{td.value}}</td>\n </ng-container>\n </tr>\n </tbody>\n</nz-table>\n",
17061
17400
  styles: [":host{display:block;width:100%}.ant-table-wrapper,.ant-table-wrapper ::ng-deep.ant-spin-nested-loading,:host{height:100%}.ant-table-wrapper ::ng-deep.ant-spin-nested-loading .ant-spin-container{height:100%;display:flex;flex-direction:column}.ant-table-wrapper ::ng-deep.ant-spin-nested-loading .ant-spin-container .ant-table{background:inherit;flex:1;overflow:hidden}.ant-table-wrapper ::ng-deep.ant-spin-nested-loading .ant-spin-container .ant-table .ant-table-thead>tr>th{background:inherit}.ant-table-wrapper ::ng-deep.ant-spin-nested-loading .ant-spin-container .ant-table .ant-table-container{height:100%;display:flex;flex-direction:column}.ant-table-wrapper ::ng-deep.ant-spin-nested-loading .ant-spin-container .ant-table .ant-table-container .ant-table-header{flex:none}.ant-table-wrapper ::ng-deep.ant-spin-nested-loading .ant-spin-container .ant-table .ant-table-container .ant-table-body{flex:1;overflow:auto}.ant-table-wrapper ::ng-deep.ant-spin-nested-loading .ant-spin-container .ant-table-pagination-right{align-self:flex-end}"]
17062
17401
  },] }
17063
17402
  ];
17064
- exports.ɵdh.ctorParameters = function () { return []; };
17403
+ exports.ɵdi.ctorParameters = function () { return []; };
17065
17404
  __decorate([
17066
17405
  bbjWidgetBase.Property('条数/页', { ui: { widget: 'myRange', min: 1, max: 100, step: 1 } }),
17067
17406
  __metadata("design:type", Object)
17068
- ], exports.ɵdh.prototype, "pageSize", void 0);
17407
+ ], exports.ɵdi.prototype, "pageSize", void 0);
17069
17408
  __decorate([
17070
17409
  bbjWidgetBase.Property('表头背景', {
17071
17410
  ui: {
@@ -17074,11 +17413,11 @@
17074
17413
  },
17075
17414
  }),
17076
17415
  __metadata("design:type", Object)
17077
- ], exports.ɵdh.prototype, "theadBackground", void 0);
17416
+ ], exports.ɵdi.prototype, "theadBackground", void 0);
17078
17417
  __decorate([
17079
17418
  bbjWidgetBase.Property('表头字体', { ui: { widget: 'myFont' } }),
17080
17419
  __metadata("design:type", Object)
17081
- ], exports.ɵdh.prototype, "headFont", void 0);
17420
+ ], exports.ɵdi.prototype, "headFont", void 0);
17082
17421
  __decorate([
17083
17422
  bbjWidgetBase.Property('内容对齐', {
17084
17423
  type: 'string',
@@ -17092,7 +17431,7 @@
17092
17431
  ],
17093
17432
  }),
17094
17433
  __metadata("design:type", Object)
17095
- ], exports.ɵdh.prototype, "contentAlign", void 0);
17434
+ ], exports.ɵdi.prototype, "contentAlign", void 0);
17096
17435
  __decorate([
17097
17436
  bbjWidgetBase.Property('表格背景', {
17098
17437
  ui: {
@@ -17101,7 +17440,7 @@
17101
17440
  },
17102
17441
  }),
17103
17442
  __metadata("design:type", Object)
17104
- ], exports.ɵdh.prototype, "tbodyBackground", void 0);
17443
+ ], exports.ɵdi.prototype, "tbodyBackground", void 0);
17105
17444
  __decorate([
17106
17445
  bbjWidgetBase.Property('显示边框', {
17107
17446
  type: 'boolean',
@@ -17111,11 +17450,11 @@
17111
17450
  },
17112
17451
  }),
17113
17452
  __metadata("design:type", Object)
17114
- ], exports.ɵdh.prototype, "showBorder", void 0);
17453
+ ], exports.ɵdi.prototype, "showBorder", void 0);
17115
17454
  __decorate([
17116
17455
  bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
17117
17456
  __metadata("design:type", Object)
17118
- ], exports.ɵdh.prototype, "font", void 0);
17457
+ ], exports.ɵdi.prototype, "font", void 0);
17119
17458
  __decorate([
17120
17459
  bbjWidgetBase.Property('交叉字段', {
17121
17460
  cross: {
@@ -17125,7 +17464,7 @@
17125
17464
  required: [''],
17126
17465
  }),
17127
17466
  __metadata("design:type", Object)
17128
- ], exports.ɵdh.prototype, "cross", void 0);
17467
+ ], exports.ɵdi.prototype, "cross", void 0);
17129
17468
  __decorate([
17130
17469
  bbjWidgetBase.Property('显示分页', {
17131
17470
  type: 'boolean',
@@ -17135,7 +17474,7 @@
17135
17474
  },
17136
17475
  }),
17137
17476
  __metadata("design:type", Object)
17138
- ], exports.ɵdh.prototype, "needPage", void 0);
17477
+ ], exports.ɵdi.prototype, "needPage", void 0);
17139
17478
  __decorate([
17140
17479
  bbjWidgetBase.Property('绑定值', {
17141
17480
  crossVal: {
@@ -17145,29 +17484,29 @@
17145
17484
  required: [''],
17146
17485
  }),
17147
17486
  __metadata("design:type", Object)
17148
- ], exports.ɵdh.prototype, "crossVal", void 0);
17487
+ ], exports.ɵdi.prototype, "crossVal", void 0);
17149
17488
  __decorate([
17150
17489
  bbjWidgetBase.Data({}),
17151
17490
  __metadata("design:type", Array)
17152
- ], exports.ɵdh.prototype, "_data", void 0);
17491
+ ], exports.ɵdi.prototype, "_data", void 0);
17153
17492
  __decorate([
17154
17493
  bbjWidgetBase.DataSchema('_data'),
17155
17494
  __metadata("design:type", Object)
17156
- ], exports.ɵdh.prototype, "schema", void 0);
17157
- exports.ɵdh = __decorate([
17495
+ ], exports.ɵdi.prototype, "schema", void 0);
17496
+ exports.ɵdi = __decorate([
17158
17497
  bbjWidgetBase.Widget('交叉表格', { group: 'table', icon: 'icontubiao', image: '/assets/img/screen/cross-table.png' }),
17159
17498
  __metadata("design:paramtypes", [])
17160
- ], exports.ɵdh);
17499
+ ], exports.ɵdi);
17161
17500
 
17162
17501
  var CrossTableModule = /** @class */ (function () {
17163
17502
  function CrossTableModule(widgetService) {
17164
- widgetService.register(exports.ɵdh);
17503
+ widgetService.register(exports.ɵdi);
17165
17504
  }
17166
17505
  return CrossTableModule;
17167
17506
  }());
17168
17507
  CrossTableModule.decorators = [
17169
17508
  { type: i0.NgModule, args: [{
17170
- declarations: [exports.ɵdh],
17509
+ declarations: [exports.ɵdi],
17171
17510
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, table.NzTableModule],
17172
17511
  },] }
17173
17512
  ];
@@ -17941,7 +18280,7 @@
17941
18280
  { type: util.LazyService }
17942
18281
  ]; };
17943
18282
 
17944
- exports.ɵdj = /** @class */ (function () {
18283
+ exports.ɵdk = /** @class */ (function () {
17945
18284
  function Pie3dChartComponent(highChartsService) {
17946
18285
  this.highChartsService = highChartsService;
17947
18286
  this.title = '';
@@ -18141,34 +18480,34 @@
18141
18480
  };
18142
18481
  return Pie3dChartComponent;
18143
18482
  }());
18144
- exports.ɵdj.initPluginPromise = null;
18145
- exports.ɵdj.decorators = [
18483
+ exports.ɵdk.initPluginPromise = null;
18484
+ exports.ɵdk.decorators = [
18146
18485
  { type: i0.Component, args: [{
18147
18486
  selector: 'sc-pie3d-chart',
18148
18487
  template: "<div #container style=\"height: 100%\"></div>\n",
18149
18488
  styles: [":host::ng-deep .highcharts-background,:host::ng-deep .highcharts-credits{display:none}"]
18150
18489
  },] }
18151
18490
  ];
18152
- exports.ɵdj.ctorParameters = function () { return [
18491
+ exports.ɵdk.ctorParameters = function () { return [
18153
18492
  { type: HighChartsService }
18154
18493
  ]; };
18155
- exports.ɵdj.propDecorators = {
18494
+ exports.ɵdk.propDecorators = {
18156
18495
  container: [{ type: i0.ViewChild, args: ['container', { static: true },] }]
18157
18496
  };
18158
18497
  __decorate([
18159
18498
  bbjWidgetBase.Property('标题', { type: 'string' }),
18160
18499
  __metadata("design:type", Object)
18161
- ], exports.ɵdj.prototype, "title", void 0);
18500
+ ], exports.ɵdk.prototype, "title", void 0);
18162
18501
  __decorate([
18163
18502
  bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
18164
18503
  __metadata("design:type", Object)
18165
- ], exports.ɵdj.prototype, "font", void 0);
18504
+ ], exports.ɵdk.prototype, "font", void 0);
18166
18505
  __decorate([
18167
18506
  bbjWidgetBase.Property('浮标', {
18168
18507
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18169
18508
  }),
18170
18509
  __metadata("design:type", Object)
18171
- ], exports.ɵdj.prototype, "buoy", void 0);
18510
+ ], exports.ɵdk.prototype, "buoy", void 0);
18172
18511
  __decorate([
18173
18512
  bbjWidgetBase.Property('填充', {
18174
18513
  ui: {
@@ -18177,33 +18516,33 @@
18177
18516
  },
18178
18517
  }),
18179
18518
  __metadata("design:type", Object)
18180
- ], exports.ɵdj.prototype, "colors", void 0);
18519
+ ], exports.ɵdk.prototype, "colors", void 0);
18181
18520
  __decorate([
18182
18521
  bbjWidgetBase.Property('饼图厚度', { type: 'number' }),
18183
18522
  __metadata("design:type", Object)
18184
- ], exports.ɵdj.prototype, "thickness", void 0);
18523
+ ], exports.ɵdk.prototype, "thickness", void 0);
18185
18524
  __decorate([
18186
18525
  bbjWidgetBase.Property('倾斜角度', { type: 'number' }),
18187
18526
  __metadata("design:type", Object)
18188
- ], exports.ɵdj.prototype, "angle", void 0);
18527
+ ], exports.ɵdk.prototype, "angle", void 0);
18189
18528
  __decorate([
18190
18529
  bbjWidgetBase.Property('图例开关', {
18191
18530
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18192
18531
  }),
18193
18532
  __metadata("design:type", Object)
18194
- ], exports.ɵdj.prototype, "showLegend", void 0);
18533
+ ], exports.ɵdk.prototype, "showLegend", void 0);
18195
18534
  __decorate([
18196
18535
  bbjWidgetBase.Property('图例间距', { type: 'number' }),
18197
18536
  __metadata("design:type", Object)
18198
- ], exports.ɵdj.prototype, "itemDistance", void 0);
18537
+ ], exports.ɵdk.prototype, "itemDistance", void 0);
18199
18538
  __decorate([
18200
18539
  bbjWidgetBase.Property('高度系数', { type: 'number' }),
18201
18540
  __metadata("design:type", Object)
18202
- ], exports.ɵdj.prototype, "coefficient", void 0);
18541
+ ], exports.ɵdk.prototype, "coefficient", void 0);
18203
18542
  __decorate([
18204
18543
  bbjWidgetBase.Property('开始角度', { type: 'number' }),
18205
18544
  __metadata("design:type", Object)
18206
- ], exports.ɵdj.prototype, "startAngle", void 0);
18545
+ ], exports.ɵdk.prototype, "startAngle", void 0);
18207
18546
  __decorate([
18208
18547
  bbjWidgetBase.Property('图例水平', {
18209
18548
  ui: { widget: 'select' },
@@ -18214,7 +18553,7 @@
18214
18553
  ],
18215
18554
  }),
18216
18555
  __metadata("design:type", Object)
18217
- ], exports.ɵdj.prototype, "alignType", void 0);
18556
+ ], exports.ɵdk.prototype, "alignType", void 0);
18218
18557
  __decorate([
18219
18558
  bbjWidgetBase.Property('图例垂直', {
18220
18559
  ui: { widget: 'select' },
@@ -18225,11 +18564,11 @@
18225
18564
  ],
18226
18565
  }),
18227
18566
  __metadata("design:type", Object)
18228
- ], exports.ɵdj.prototype, "verticalAlign", void 0);
18567
+ ], exports.ɵdk.prototype, "verticalAlign", void 0);
18229
18568
  __decorate([
18230
18569
  bbjWidgetBase.Property('提示框字体', { ui: { widget: 'myFont' } }),
18231
18570
  __metadata("design:type", Object)
18232
- ], exports.ɵdj.prototype, "tooltipFont", void 0);
18571
+ ], exports.ɵdk.prototype, "tooltipFont", void 0);
18233
18572
  __decorate([
18234
18573
  bbjWidgetBase.Data({
18235
18574
  properties: {
@@ -18238,25 +18577,25 @@
18238
18577
  },
18239
18578
  }),
18240
18579
  __metadata("design:type", Object)
18241
- ], exports.ɵdj.prototype, "_data", void 0);
18242
- exports.ɵdj = __decorate([
18580
+ ], exports.ɵdk.prototype, "_data", void 0);
18581
+ exports.ɵdk = __decorate([
18243
18582
  bbjWidgetBase.Widget('3D饼图', {
18244
18583
  group: 'pieChart',
18245
18584
  image: 'assets/img/screen/pie3d.png',
18246
18585
  icon: 'icontubiao',
18247
18586
  }),
18248
18587
  __metadata("design:paramtypes", [HighChartsService])
18249
- ], exports.ɵdj);
18588
+ ], exports.ɵdk);
18250
18589
 
18251
18590
  var Pie3dChartModule = /** @class */ (function () {
18252
18591
  function Pie3dChartModule(widgetService) {
18253
- widgetService.register(exports.ɵdj);
18592
+ widgetService.register(exports.ɵdk);
18254
18593
  }
18255
18594
  return Pie3dChartModule;
18256
18595
  }());
18257
18596
  Pie3dChartModule.decorators = [
18258
18597
  { type: i0.NgModule, args: [{
18259
- declarations: [exports.ɵdj],
18598
+ declarations: [exports.ɵdk],
18260
18599
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule],
18261
18600
  },] }
18262
18601
  ];
@@ -18264,7 +18603,7 @@
18264
18603
  { type: bbjWidgetBase.WidgetService }
18265
18604
  ]; };
18266
18605
 
18267
- exports.ɵdm = /** @class */ (function () {
18606
+ exports.ɵdn = /** @class */ (function () {
18268
18607
  function MultiTitleGaugeComponent() {
18269
18608
  this.font = {
18270
18609
  family: '',
@@ -18434,28 +18773,28 @@
18434
18773
  };
18435
18774
  return MultiTitleGaugeComponent;
18436
18775
  }());
18437
- exports.ɵdm.decorators = [
18776
+ exports.ɵdn.decorators = [
18438
18777
  { type: i0.Component, args: [{
18439
18778
  selector: 'sc-multi-title-gauge',
18440
18779
  template: "<div echarts [options]=\"chartOption\" class=\"demo-chart\" [initOpts]=\"{ renderer: 'svg' }\"></div>\n",
18441
18780
  styles: [":host{display:block;width:100%}.demo-chart,:host{height:100%}"]
18442
18781
  },] }
18443
18782
  ];
18444
- exports.ɵdm.ctorParameters = function () { return []; };
18783
+ exports.ɵdn.ctorParameters = function () { return []; };
18445
18784
  __decorate([
18446
18785
  bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
18447
18786
  __metadata("design:type", Object)
18448
- ], exports.ɵdm.prototype, "font", void 0);
18787
+ ], exports.ɵdn.prototype, "font", void 0);
18449
18788
  __decorate([
18450
18789
  bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
18451
18790
  __metadata("design:type", Object)
18452
- ], exports.ɵdm.prototype, "detailFont", void 0);
18791
+ ], exports.ɵdn.prototype, "detailFont", void 0);
18453
18792
  __decorate([
18454
18793
  bbjWidgetBase.Property('百分号', {
18455
18794
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18456
18795
  }),
18457
18796
  __metadata("design:type", Object)
18458
- ], exports.ɵdm.prototype, "percent", void 0);
18797
+ ], exports.ɵdn.prototype, "percent", void 0);
18459
18798
  __decorate([
18460
18799
  bbjWidgetBase.Property('类别颜色', {
18461
18800
  ui: {
@@ -18465,61 +18804,61 @@
18465
18804
  },
18466
18805
  }),
18467
18806
  __metadata("design:type", Object)
18468
- ], exports.ɵdm.prototype, "colors", void 0);
18807
+ ], exports.ɵdn.prototype, "colors", void 0);
18469
18808
  __decorate([
18470
18809
  bbjWidgetBase.Property('起始角度', {
18471
18810
  ui: { widget: 'myRange', min: 90, max: 360, step: 1 },
18472
18811
  }),
18473
18812
  __metadata("design:type", Object)
18474
- ], exports.ɵdm.prototype, "startAngle", void 0);
18813
+ ], exports.ɵdn.prototype, "startAngle", void 0);
18475
18814
  __decorate([
18476
18815
  bbjWidgetBase.Property('结束角度', {
18477
18816
  ui: { widget: 'myRange', min: -90, max: 90, step: 1 },
18478
18817
  }),
18479
18818
  __metadata("design:type", Object)
18480
- ], exports.ɵdm.prototype, "endAngle", void 0);
18819
+ ], exports.ɵdn.prototype, "endAngle", void 0);
18481
18820
  __decorate([
18482
18821
  bbjWidgetBase.Property('标签', {
18483
18822
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18484
18823
  }),
18485
18824
  __metadata("design:type", Object)
18486
- ], exports.ɵdm.prototype, "label", void 0);
18825
+ ], exports.ɵdn.prototype, "label", void 0);
18487
18826
  __decorate([
18488
18827
  bbjWidgetBase.Property('最大值', {
18489
18828
  ui: { widget: 'number' },
18490
18829
  }),
18491
18830
  __metadata("design:type", Object)
18492
- ], exports.ɵdm.prototype, "max", void 0);
18831
+ ], exports.ɵdn.prototype, "max", void 0);
18493
18832
  __decorate([
18494
18833
  bbjWidgetBase.Property('最小值', {
18495
18834
  ui: { widget: 'number' },
18496
18835
  }),
18497
18836
  __metadata("design:type", Object)
18498
- ], exports.ɵdm.prototype, "min", void 0);
18837
+ ], exports.ɵdn.prototype, "min", void 0);
18499
18838
  __decorate([
18500
18839
  bbjWidgetBase.Property('指针长度', {
18501
18840
  ui: { widget: 'number' },
18502
18841
  }),
18503
18842
  __metadata("design:type", Object)
18504
- ], exports.ɵdm.prototype, "pointerLength", void 0);
18843
+ ], exports.ɵdn.prototype, "pointerLength", void 0);
18505
18844
  __decorate([
18506
18845
  bbjWidgetBase.Property('环宽', {
18507
18846
  ui: { widget: 'number' },
18508
18847
  }),
18509
18848
  __metadata("design:type", Object)
18510
- ], exports.ɵdm.prototype, "width", void 0);
18849
+ ], exports.ɵdn.prototype, "width", void 0);
18511
18850
  __decorate([
18512
18851
  bbjWidgetBase.Property('显示指针', {
18513
18852
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18514
18853
  }),
18515
18854
  __metadata("design:type", Object)
18516
- ], exports.ɵdm.prototype, "showPointer", void 0);
18855
+ ], exports.ɵdn.prototype, "showPointer", void 0);
18517
18856
  __decorate([
18518
18857
  bbjWidgetBase.Property('显示刻度', {
18519
18858
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18520
18859
  }),
18521
18860
  __metadata("design:type", Object)
18522
- ], exports.ɵdm.prototype, "showScale", void 0);
18861
+ ], exports.ɵdn.prototype, "showScale", void 0);
18523
18862
  __decorate([
18524
18863
  bbjWidgetBase.Data({
18525
18864
  properties: {
@@ -18528,25 +18867,25 @@
18528
18867
  },
18529
18868
  }),
18530
18869
  __metadata("design:type", Object)
18531
- ], exports.ɵdm.prototype, "_data", void 0);
18532
- exports.ɵdm = __decorate([
18870
+ ], exports.ɵdn.prototype, "_data", void 0);
18871
+ exports.ɵdn = __decorate([
18533
18872
  bbjWidgetBase.Widget('多标题仪表盘', {
18534
18873
  group: 'otherChart',
18535
18874
  image: 'assets/img/screen/multiTitleGauge.png',
18536
18875
  icon: 'icontubiao',
18537
18876
  }),
18538
18877
  __metadata("design:paramtypes", [])
18539
- ], exports.ɵdm);
18878
+ ], exports.ɵdn);
18540
18879
 
18541
18880
  var MultiTitleGaugeModule = /** @class */ (function () {
18542
18881
  function MultiTitleGaugeModule(widgetService) {
18543
- widgetService.register(exports.ɵdm);
18882
+ widgetService.register(exports.ɵdn);
18544
18883
  }
18545
18884
  return MultiTitleGaugeModule;
18546
18885
  }());
18547
18886
  MultiTitleGaugeModule.decorators = [
18548
18887
  { type: i0.NgModule, args: [{
18549
- declarations: [exports.ɵdm],
18888
+ declarations: [exports.ɵdn],
18550
18889
  imports: [
18551
18890
  common.CommonModule, bbjWidgetBase.WidgetBaseModule, ngxEcharts.NgxEchartsModule
18552
18891
  ]
@@ -18556,7 +18895,7 @@
18556
18895
  { type: bbjWidgetBase.WidgetService }
18557
18896
  ]; };
18558
18897
 
18559
- exports.ɵdo = /** @class */ (function () {
18898
+ exports.ɵdp = /** @class */ (function () {
18560
18899
  function GaugeProgressComponent() {
18561
18900
  this.numfont = {
18562
18901
  family: 'Microsoft YaHei',
@@ -18726,36 +19065,36 @@
18726
19065
  };
18727
19066
  return GaugeProgressComponent;
18728
19067
  }());
18729
- exports.ɵdo.decorators = [
19068
+ exports.ɵdp.decorators = [
18730
19069
  { type: i0.Component, args: [{
18731
19070
  selector: 'sc-gauge-progress',
18732
19071
  template: "\n<swiper-container\n #swiper\n [slidesPerView]=\"slidesPerView\"\n [spaceBetween]=\"spaceBetween\"\n [navigation]=\"navigation && navigationLeftIcon && navigationRightIcon ? navigationBtnConfig : navigation\"\n class=\"swiper-no-swiping\"\n [noSwiping]=\"true\"\n>\n <swiper-slide *ngFor=\"let item of data\">\n <!-- <div class=\"item-img\">\n <div class=\"item-val\" [ngStyle]=\"numfont\">{{ item.value }}</div>\n <img [src]=\"cardBgImg\" alt=\"\" />\n </div>\n <div [ngStyle]=\"font\">{{ item.label }}</div> -->\n <div echarts [options]=\"item\" class=\"demo-chart\" [initOpts]=\"{ renderer: 'svg' }\"></div>\n </swiper-slide>\n</swiper-container>\n<ng-container *ngIf=\"navigation && navigationLeftIcon && navigationRightIcon\">\n <div class=\"navigationbtn swiper-navigation-prev\" [style]=\"{ left: (navigationMoveVal || '-60') + 'px' }\">\n <img [src]=\"navigationLeftIcon\" alt=\"\" />\n </div>\n <div class=\"navigationbtn swiper-navigation-next\" [style]=\"{ right: (navigationMoveVal || '-60') + 'px' }\">\n <img [src]=\"navigationRightIcon\" alt=\"\" />\n </div>\n</ng-container>\n\n\n\n",
18733
19072
  styles: [":host{display:block}:host,:host ::ng-deep swiper-container{height:100%;width:100%}:host ::ng-deep swiper-slide{text-align:center;position:relative}:host ::ng-deep .item-img{position:relative}:host ::ng-deep .item-img img{display:block;width:100%}:host ::ng-deep .item-val{position:absolute;text-align:center;top:0;bottom:0;left:0;width:100%;z-index:99}:host ::ng-deep .navigationbtn{cursor:pointer;position:absolute;top:0;bottom:0;display:flex;align-items:center;outline:none}:host ::ng-deep .swiper-navigation-prev{left:-60px}:host ::ng-deep .swiper-navigation-next{right:-60px}.demo-chart{height:100%}"]
18734
19073
  },] }
18735
19074
  ];
18736
- exports.ɵdo.ctorParameters = function () { return []; };
19075
+ exports.ɵdp.ctorParameters = function () { return []; };
18737
19076
  __decorate([
18738
19077
  bbjWidgetBase.Property('数值字体', { ui: { widget: 'myFont' } }),
18739
19078
  __metadata("design:type", Object)
18740
- ], exports.ɵdo.prototype, "numfont", void 0);
19079
+ ], exports.ɵdp.prototype, "numfont", void 0);
18741
19080
  __decorate([
18742
19081
  bbjWidgetBase.Property('可视个数', { type: 'number' }),
18743
19082
  __metadata("design:type", Object)
18744
- ], exports.ɵdo.prototype, "slidesPerView", void 0);
19083
+ ], exports.ɵdp.prototype, "slidesPerView", void 0);
18745
19084
  __decorate([
18746
19085
  bbjWidgetBase.Property('间距', { type: 'number' }),
18747
19086
  __metadata("design:type", Object)
18748
- ], exports.ɵdo.prototype, "spaceBetween", void 0);
19087
+ ], exports.ɵdp.prototype, "spaceBetween", void 0);
18749
19088
  __decorate([
18750
19089
  bbjWidgetBase.Property('左右按钮', {
18751
19090
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18752
19091
  }),
18753
19092
  __metadata("design:type", Object)
18754
- ], exports.ɵdo.prototype, "navigation", void 0);
19093
+ ], exports.ɵdp.prototype, "navigation", void 0);
18755
19094
  __decorate([
18756
19095
  bbjWidgetBase.Property('按钮偏移', { type: 'number' }),
18757
19096
  __metadata("design:type", Object)
18758
- ], exports.ɵdo.prototype, "navigationMoveVal", void 0);
19097
+ ], exports.ɵdp.prototype, "navigationMoveVal", void 0);
18759
19098
  __decorate([
18760
19099
  bbjWidgetBase.Property('左图标', {
18761
19100
  type: 'string',
@@ -18764,7 +19103,7 @@
18764
19103
  },
18765
19104
  }),
18766
19105
  __metadata("design:type", Object)
18767
- ], exports.ɵdo.prototype, "navigationLeftIcon", void 0);
19106
+ ], exports.ɵdp.prototype, "navigationLeftIcon", void 0);
18768
19107
  __decorate([
18769
19108
  bbjWidgetBase.Property('右图标', {
18770
19109
  type: 'string',
@@ -18773,14 +19112,14 @@
18773
19112
  },
18774
19113
  }),
18775
19114
  __metadata("design:type", Object)
18776
- ], exports.ɵdo.prototype, "navigationRightIcon", void 0);
19115
+ ], exports.ɵdp.prototype, "navigationRightIcon", void 0);
18777
19116
  __decorate([
18778
19117
  bbjWidgetBase.Property('显示模式', {
18779
19118
  ui: { widget: 'select' },
18780
19119
  enum: [{ label: '图标卡片', value: 'card' }],
18781
19120
  }),
18782
19121
  __metadata("design:type", Object)
18783
- ], exports.ɵdo.prototype, "showType", void 0);
19122
+ ], exports.ɵdp.prototype, "showType", void 0);
18784
19123
  __decorate([
18785
19124
  bbjWidgetBase.Property('卡片背景', {
18786
19125
  type: 'string',
@@ -18789,7 +19128,7 @@
18789
19128
  },
18790
19129
  }),
18791
19130
  __metadata("design:type", Object)
18792
- ], exports.ɵdo.prototype, "cardBgImg", void 0);
19131
+ ], exports.ɵdp.prototype, "cardBgImg", void 0);
18793
19132
  __decorate([
18794
19133
  bbjWidgetBase.Property('表盘颜色', {
18795
19134
  ui: {
@@ -18799,81 +19138,81 @@
18799
19138
  },
18800
19139
  }),
18801
19140
  __metadata("design:type", Object)
18802
- ], exports.ɵdo.prototype, "seriesColor", void 0);
19141
+ ], exports.ɵdp.prototype, "seriesColor", void 0);
18803
19142
  __decorate([
18804
19143
  bbjWidgetBase.Property('表盘宽度', {
18805
19144
  ui: { widget: 'myRange', min: 0, max: 100, step: 1 },
18806
19145
  }),
18807
19146
  __metadata("design:type", Object)
18808
- ], exports.ɵdo.prototype, "width", void 0);
19147
+ ], exports.ɵdp.prototype, "width", void 0);
18809
19148
  __decorate([
18810
19149
  bbjWidgetBase.Property('起始角度', {
18811
19150
  ui: { widget: 'myRange', min: 90, max: 360, step: 1 },
18812
19151
  }),
18813
19152
  __metadata("design:type", Object)
18814
- ], exports.ɵdo.prototype, "startAngle", void 0);
19153
+ ], exports.ɵdp.prototype, "startAngle", void 0);
18815
19154
  __decorate([
18816
19155
  bbjWidgetBase.Property('结束角度', {
18817
19156
  ui: { widget: 'myRange', min: -90, max: 90, step: 1 },
18818
19157
  }),
18819
19158
  __metadata("design:type", Object)
18820
- ], exports.ɵdo.prototype, "endAngle", void 0);
19159
+ ], exports.ɵdp.prototype, "endAngle", void 0);
18821
19160
  __decorate([
18822
19161
  bbjWidgetBase.Property('显示标题', {
18823
19162
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18824
19163
  }),
18825
19164
  __metadata("design:type", Object)
18826
- ], exports.ɵdo.prototype, "label", void 0);
19165
+ ], exports.ɵdp.prototype, "label", void 0);
18827
19166
  __decorate([
18828
19167
  bbjWidgetBase.Property('标题字体', { ui: { widget: 'myFont' } }),
18829
19168
  __metadata("design:type", Object)
18830
- ], exports.ɵdo.prototype, "font", void 0);
19169
+ ], exports.ɵdp.prototype, "font", void 0);
18831
19170
  __decorate([
18832
19171
  bbjWidgetBase.Property('标题位移', {
18833
19172
  ui: { widget: 'number' },
18834
19173
  }),
18835
19174
  __metadata("design:type", Object)
18836
- ], exports.ɵdo.prototype, "labelOffset", void 0);
19175
+ ], exports.ɵdp.prototype, "labelOffset", void 0);
18837
19176
  __decorate([
18838
19177
  bbjWidgetBase.Property('标题宽度', {
18839
19178
  ui: { widget: 'number' },
18840
19179
  }),
18841
19180
  __metadata("design:type", Object)
18842
- ], exports.ɵdo.prototype, "labelWidth", void 0);
19181
+ ], exports.ɵdp.prototype, "labelWidth", void 0);
18843
19182
  __decorate([
18844
19183
  bbjWidgetBase.Property('显示数值', {
18845
19184
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18846
19185
  }),
18847
19186
  __metadata("design:type", Object)
18848
- ], exports.ɵdo.prototype, "labelVal", void 0);
19187
+ ], exports.ɵdp.prototype, "labelVal", void 0);
18849
19188
  __decorate([
18850
19189
  bbjWidgetBase.Property('数值字体', { ui: { widget: 'myFont' } }),
18851
19190
  __metadata("design:type", Object)
18852
- ], exports.ɵdo.prototype, "numFont", void 0);
19191
+ ], exports.ɵdp.prototype, "numFont", void 0);
18853
19192
  __decorate([
18854
19193
  bbjWidgetBase.Property('百分号', {
18855
19194
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
18856
19195
  }),
18857
19196
  __metadata("design:type", Object)
18858
- ], exports.ɵdo.prototype, "percent", void 0);
19197
+ ], exports.ɵdp.prototype, "percent", void 0);
18859
19198
  __decorate([
18860
19199
  bbjWidgetBase.Property('数值位移', {
18861
19200
  ui: { widget: 'number' },
18862
19201
  }),
18863
19202
  __metadata("design:type", Object)
18864
- ], exports.ɵdo.prototype, "labelValOffset", void 0);
19203
+ ], exports.ɵdp.prototype, "labelValOffset", void 0);
18865
19204
  __decorate([
18866
19205
  bbjWidgetBase.Property('最大值', {
18867
19206
  ui: { widget: 'number' },
18868
19207
  }),
18869
19208
  __metadata("design:type", Object)
18870
- ], exports.ɵdo.prototype, "max", void 0);
19209
+ ], exports.ɵdp.prototype, "max", void 0);
18871
19210
  __decorate([
18872
19211
  bbjWidgetBase.Property('最小值', {
18873
19212
  ui: { widget: 'number' },
18874
19213
  }),
18875
19214
  __metadata("design:type", Object)
18876
- ], exports.ɵdo.prototype, "min", void 0);
19215
+ ], exports.ɵdp.prototype, "min", void 0);
18877
19216
  __decorate([
18878
19217
  bbjWidgetBase.Property('进度颜色', {
18879
19218
  ui: {
@@ -18882,7 +19221,7 @@
18882
19221
  },
18883
19222
  }),
18884
19223
  __metadata("design:type", Object)
18885
- ], exports.ɵdo.prototype, "progressColor", void 0);
19224
+ ], exports.ɵdp.prototype, "progressColor", void 0);
18886
19225
  __decorate([
18887
19226
  bbjWidgetBase.Property('进度阴影', {
18888
19227
  ui: {
@@ -18891,7 +19230,7 @@
18891
19230
  },
18892
19231
  }),
18893
19232
  __metadata("design:type", Object)
18894
- ], exports.ɵdo.prototype, "progressShadow", void 0);
19233
+ ], exports.ɵdp.prototype, "progressShadow", void 0);
18895
19234
  __decorate([
18896
19235
  bbjWidgetBase.Data({
18897
19236
  properties: {
@@ -18900,25 +19239,25 @@
18900
19239
  },
18901
19240
  }),
18902
19241
  __metadata("design:type", Object)
18903
- ], exports.ɵdo.prototype, "_data", void 0);
18904
- exports.ɵdo = __decorate([
19242
+ ], exports.ɵdp.prototype, "_data", void 0);
19243
+ exports.ɵdp = __decorate([
18905
19244
  bbjWidgetBase.Widget('进度条仪表盘', {
18906
19245
  group: 'otherChart',
18907
19246
  image: 'assets/img/screen/gauge-progress.png',
18908
19247
  icon: 'icontubiao',
18909
19248
  }),
18910
19249
  __metadata("design:paramtypes", [])
18911
- ], exports.ɵdo);
19250
+ ], exports.ɵdp);
18912
19251
 
18913
19252
  var GaugeProgressModule = /** @class */ (function () {
18914
19253
  function GaugeProgressModule(widgetService) {
18915
- widgetService.register(exports.ɵdo);
19254
+ widgetService.register(exports.ɵdp);
18916
19255
  }
18917
19256
  return GaugeProgressModule;
18918
19257
  }());
18919
19258
  GaugeProgressModule.decorators = [
18920
19259
  { type: i0.NgModule, args: [{
18921
- declarations: [exports.ɵdo],
19260
+ declarations: [exports.ɵdp],
18922
19261
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, ngxEcharts.NgxEchartsModule],
18923
19262
  schemas: [i0.CUSTOM_ELEMENTS_SCHEMA],
18924
19263
  },] }
@@ -18927,7 +19266,7 @@
18927
19266
  { type: bbjWidgetBase.WidgetService }
18928
19267
  ]; };
18929
19268
 
18930
- exports.ɵds = /** @class */ (function () {
19269
+ exports.ɵdt = /** @class */ (function () {
18931
19270
  function BulletinBoardComponent() {
18932
19271
  this.title = '';
18933
19272
  this.titleFont = { family: '', color: '#ffffff', weight: 'normal', size: 20, space: 0, lineHeight: 40 };
@@ -19002,30 +19341,30 @@
19002
19341
  };
19003
19342
  return BulletinBoardComponent;
19004
19343
  }());
19005
- exports.ɵds.decorators = [
19344
+ exports.ɵdt.decorators = [
19006
19345
  { type: i0.Component, args: [{
19007
19346
  selector: 'sc-bulletin-board',
19008
19347
  template: "<div class=\"content\">\n <div *ngIf=\"title\" class=\"title\">\n <p [ngStyle]=\"titleStyle\">{{ title }}</p>\n </div>\n <div class=\"module\" *ngFor=\"let item of contentArr\">\n <div class=\"subtitle\" [ngStyle]=\"subtitleStyle\">\n {{ item.title }}\n </div>\n <div class=\"box\" [ngStyle]=\"boxStyle\">\n <div class=\"text\" [ngStyle]=\"textStyle\" *ngFor=\"let a of item.content\">\n {{ a }}\n </div>\n </div>\n </div>\n</div>\n",
19009
19348
  styles: [".content,:host{width:100%;height:100%}.content{display:block;padding:0 5%;overflow-y:scroll}.content .title{padding:10% 0 5%}.content .text{margin-bottom:10px;padding-left:5%}.content .subtitle{margin-bottom:3%;padding-left:5%}.content::-webkit-scrollbar{display:none}"]
19010
19349
  },] }
19011
19350
  ];
19012
- exports.ɵds.ctorParameters = function () { return []; };
19351
+ exports.ɵdt.ctorParameters = function () { return []; };
19013
19352
  __decorate([
19014
19353
  bbjWidgetBase.Property('标题', { type: 'string' }),
19015
19354
  __metadata("design:type", Object)
19016
- ], exports.ɵds.prototype, "title", void 0);
19355
+ ], exports.ɵdt.prototype, "title", void 0);
19017
19356
  __decorate([
19018
19357
  bbjWidgetBase.Property('标题字体', { ui: { widget: 'myFont' } }),
19019
19358
  __metadata("design:type", Object)
19020
- ], exports.ɵds.prototype, "titleFont", void 0);
19359
+ ], exports.ɵdt.prototype, "titleFont", void 0);
19021
19360
  __decorate([
19022
19361
  bbjWidgetBase.Property('小标题字', { ui: { widget: 'myFont' } }),
19023
19362
  __metadata("design:type", Object)
19024
- ], exports.ɵds.prototype, "subtitleFont", void 0);
19363
+ ], exports.ɵdt.prototype, "subtitleFont", void 0);
19025
19364
  __decorate([
19026
19365
  bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
19027
19366
  __metadata("design:type", Object)
19028
- ], exports.ɵds.prototype, "font", void 0);
19367
+ ], exports.ɵdt.prototype, "font", void 0);
19029
19368
  __decorate([
19030
19369
  bbjWidgetBase.Property('边框颜色', {
19031
19370
  ui: {
@@ -19034,7 +19373,7 @@
19034
19373
  },
19035
19374
  }),
19036
19375
  __metadata("design:type", Object)
19037
- ], exports.ɵds.prototype, "borderColor", void 0);
19376
+ ], exports.ɵdt.prototype, "borderColor", void 0);
19038
19377
  __decorate([
19039
19378
  bbjWidgetBase.Property('渐变开始', {
19040
19379
  ui: {
@@ -19043,7 +19382,7 @@
19043
19382
  },
19044
19383
  }),
19045
19384
  __metadata("design:type", Object)
19046
- ], exports.ɵds.prototype, "startColor", void 0);
19385
+ ], exports.ɵdt.prototype, "startColor", void 0);
19047
19386
  __decorate([
19048
19387
  bbjWidgetBase.Property('渐变结束', {
19049
19388
  ui: {
@@ -19052,25 +19391,25 @@
19052
19391
  },
19053
19392
  }),
19054
19393
  __metadata("design:type", Object)
19055
- ], exports.ɵds.prototype, "endColor", void 0);
19394
+ ], exports.ɵdt.prototype, "endColor", void 0);
19056
19395
  __decorate([
19057
19396
  bbjWidgetBase.Property('边框粗细', {
19058
19397
  type: 'number'
19059
19398
  }),
19060
19399
  __metadata("design:type", Object)
19061
- ], exports.ɵds.prototype, "borderWidth", void 0);
19400
+ ], exports.ɵdt.prototype, "borderWidth", void 0);
19062
19401
  __decorate([
19063
19402
  bbjWidgetBase.Property('分隔符', {
19064
19403
  type: 'string'
19065
19404
  }),
19066
19405
  __metadata("design:type", Object)
19067
- ], exports.ɵds.prototype, "separate", void 0);
19406
+ ], exports.ɵdt.prototype, "separate", void 0);
19068
19407
  __decorate([
19069
19408
  bbjWidgetBase.Property('内容边距', {
19070
19409
  type: 'number'
19071
19410
  }),
19072
19411
  __metadata("design:type", Object)
19073
- ], exports.ɵds.prototype, "marginSize", void 0);
19412
+ ], exports.ɵdt.prototype, "marginSize", void 0);
19074
19413
  __decorate([
19075
19414
  bbjWidgetBase.Data({
19076
19415
  properties: {
@@ -19079,22 +19418,22 @@
19079
19418
  },
19080
19419
  }),
19081
19420
  __metadata("design:type", Object)
19082
- ], exports.ɵds.prototype, "_data", void 0);
19083
- exports.ɵds = __decorate([
19421
+ ], exports.ɵdt.prototype, "_data", void 0);
19422
+ exports.ɵdt = __decorate([
19084
19423
  bbjWidgetBase.Widget('布告栏', { group: 'component', icon: 'icontubiao', image: '/assets/img/screen/bulletin-board.png' }),
19085
19424
  __metadata("design:paramtypes", [])
19086
- ], exports.ɵds);
19425
+ ], exports.ɵdt);
19087
19426
 
19088
19427
  var BulletinBoardModule = /** @class */ (function () {
19089
19428
  function BulletinBoardModule(widgetService) {
19090
- widgetService.register(exports.ɵds);
19429
+ widgetService.register(exports.ɵdt);
19091
19430
  }
19092
19431
  return BulletinBoardModule;
19093
19432
  }());
19094
19433
  BulletinBoardModule.decorators = [
19095
19434
  { type: i0.NgModule, args: [{
19096
19435
  declarations: [
19097
- exports.ɵds
19436
+ exports.ɵdt
19098
19437
  ],
19099
19438
  imports: [
19100
19439
  common.CommonModule
@@ -19117,7 +19456,7 @@
19117
19456
  // Thumbs,
19118
19457
  // Controller
19119
19458
  // ]);
19120
- exports.ɵdq = /** @class */ (function () {
19459
+ exports.ɵdr = /** @class */ (function () {
19121
19460
  function ItemSwiperComponent(ele) {
19122
19461
  this.ele = ele;
19123
19462
  this.font = { family: 'Microsoft YaHei', color: '#ffffff', weight: 'normal', size: 20, space: 0, lineHeight: '66' };
@@ -19281,58 +19620,58 @@
19281
19620
  ItemSwiperComponent.prototype.onSlideChange = function () { };
19282
19621
  return ItemSwiperComponent;
19283
19622
  }());
19284
- exports.ɵdq.decorators = [
19623
+ exports.ɵdr.decorators = [
19285
19624
  { type: i0.Component, args: [{
19286
19625
  selector: 'sc-item-swiper',
19287
19626
  template: "<swiper-container appSwiper\n #swiper\n [attr.slides-per-view]=\"slidesPerView\"\n [attr.space-between]=\"spaceBetween\"\n [attr.navigation]=\"navigation && navigationLeftIcon && navigationRightIcon ? navigationBtnConfig : navigation\"\n class=\"swiper-no-swiping\"\n [attr.no-swiping]=\"true\"\n>\n <swiper-slide *ngFor=\"let item of data\">\n <ng-container *ngIf=\"!isgroup\">\n <div class=\"item-img\">\n <div class=\"item-val\" [ngStyle]=\"numfont\">{{ item.value }}</div>\n <img [src]=\"item.img\" alt=\"\" [ngStyle]=\"item.imgstyle\" />\n </div>\n <div [ngStyle]=\"font\">{{ item.label }}</div>\n </ng-container>\n <!-- <ng-container *ngFor=\"let i of item\"> -->\n <ng-container *ngIf=\"isgroup\">\n <div class=\"content\" [style.height]=\"selectHeight + 'px'\">\n <div [ngStyle]=\"groupfont\" class=\"title\">{{ item.group }}</div>\n <div class=\"item-img\">\n <!-- <ng-container *ngIf=\"item.img\"> -->\n <img [src]=\"item.img\" alt=\"\" [ngStyle]=\"item.imgstyle\" />\n <!-- </ng-container> -->\n </div>\n <div class=\"kvbox\" [style.bottom]=\"valueBottom + 'px'\">\n <div style=\"display: inline-flex\">\n <ng-container *ngFor=\"let a of item.field\">\n <span style=\"flex: 1; left: 0px\" class=\"label\">\n <div [ngStyle]=\"font\">{{ a.label }}</div>\n <div [ngStyle]=\"numfont\">{{ a.value }}</div>\n </span>\n </ng-container>\n </div>\n </div>\n </div>\n </ng-container>\n <!-- </ng-container> -->\n </swiper-slide>\n</swiper-container>\n<ng-container *ngIf=\"navigationLeftIcon && navigationRightIcon\">\n <div class=\"navigationbtn swiper-navigation-prev\" [style.left.px]=\"navigationMoveVal || -60\" [class.hidden]=\"!showNavigation\">\n <img [src]=\"navigationLeftIcon\" alt=\"\" />\n </div>\n <div class=\"navigationbtn swiper-navigation-next\" [style.right.px]=\"navigationMoveVal || -60\" [class.hidden]=\"!showNavigation\">\n <img [src]=\"navigationRightIcon\" alt=\"\" />\n </div>\n</ng-container>\n",
19288
19627
  styles: [":host{position:relative;display:block}:host ::ng-deep swiper-container{width:100%}:host ::ng-deep .title{z-index:100;position:absolute;left:0;width:100%;text-align:center}:host ::ng-deep swiper-slide{text-align:center;position:relative;overflow:visible;padding-top:30px}:host ::ng-deep .content,:host ::ng-deep .item-img{position:relative;height:100%;width:100%}:host ::ng-deep .item-img img{display:block;margin:auto}:host ::ng-deep .item-val{position:absolute;text-align:center;top:0;bottom:0;left:0;width:100%;z-index:99;overflow:visible}:host ::ng-deep .navigationbtn{cursor:pointer;position:absolute;top:0;bottom:0;display:flex;align-items:center;outline:none}:host ::ng-deep .navigationbtn.hidden{display:none}:host ::ng-deep .swiper-navigation-prev{left:-60px}:host ::ng-deep .swiper-navigation-next{right:-60px}:host ::ng-deep .label{margin:0 8px}:host ::ng-deep .kvbox{position:absolute;text-align:center;left:0;width:100%;z-index:99}"]
19289
19628
  },] }
19290
19629
  ];
19291
- exports.ɵdq.ctorParameters = function () { return [
19630
+ exports.ɵdr.ctorParameters = function () { return [
19292
19631
  { type: i0.ElementRef }
19293
19632
  ]; };
19294
19633
  __decorate([
19295
19634
  bbjWidgetBase.Property('标题字体', { ui: { widget: 'myFont' } }),
19296
19635
  __metadata("design:type", Object)
19297
- ], exports.ɵdq.prototype, "font", void 0);
19636
+ ], exports.ɵdr.prototype, "font", void 0);
19298
19637
  __decorate([
19299
19638
  bbjWidgetBase.Property('数值字体', { ui: { widget: 'myFont' } }),
19300
19639
  __metadata("design:type", Object)
19301
- ], exports.ɵdq.prototype, "numfont", void 0);
19640
+ ], exports.ɵdr.prototype, "numfont", void 0);
19302
19641
  __decorate([
19303
19642
  bbjWidgetBase.Property('分组字体', { ui: { widget: 'myFont' } }),
19304
19643
  __metadata("design:type", Object)
19305
- ], exports.ɵdq.prototype, "titlefont", void 0);
19644
+ ], exports.ɵdr.prototype, "titlefont", void 0);
19306
19645
  __decorate([
19307
19646
  bbjWidgetBase.Property('可视个数', { type: 'number' }),
19308
19647
  __metadata("design:type", Object)
19309
- ], exports.ɵdq.prototype, "slidesPerView", void 0);
19648
+ ], exports.ɵdr.prototype, "slidesPerView", void 0);
19310
19649
  __decorate([
19311
19650
  bbjWidgetBase.Property('选项高度'),
19312
19651
  __metadata("design:type", Number)
19313
- ], exports.ɵdq.prototype, "selectHeight", void 0);
19652
+ ], exports.ɵdr.prototype, "selectHeight", void 0);
19314
19653
  __decorate([
19315
19654
  bbjWidgetBase.Property('分组高度', { type: 'number' }),
19316
19655
  __metadata("design:type", Object)
19317
- ], exports.ɵdq.prototype, "gourpHeight", void 0);
19656
+ ], exports.ɵdr.prototype, "gourpHeight", void 0);
19318
19657
  __decorate([
19319
19658
  bbjWidgetBase.Property('值高度', { type: 'number' }),
19320
19659
  __metadata("design:type", Object)
19321
- ], exports.ɵdq.prototype, "valueBottom", void 0);
19660
+ ], exports.ɵdr.prototype, "valueBottom", void 0);
19322
19661
  __decorate([
19323
19662
  bbjWidgetBase.Property('间距', { type: 'number' }),
19324
19663
  __metadata("design:type", Object)
19325
- ], exports.ɵdq.prototype, "spaceBetween", void 0);
19664
+ ], exports.ɵdr.prototype, "spaceBetween", void 0);
19326
19665
  __decorate([
19327
19666
  bbjWidgetBase.Property('左右按钮', {
19328
19667
  ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
19329
19668
  }),
19330
19669
  __metadata("design:type", Object)
19331
- ], exports.ɵdq.prototype, "navigation", void 0);
19670
+ ], exports.ɵdr.prototype, "navigation", void 0);
19332
19671
  __decorate([
19333
19672
  bbjWidgetBase.Property('按钮偏移', { type: 'number' }),
19334
19673
  __metadata("design:type", Object)
19335
- ], exports.ɵdq.prototype, "navigationMoveVal", void 0);
19674
+ ], exports.ɵdr.prototype, "navigationMoveVal", void 0);
19336
19675
  __decorate([
19337
19676
  bbjWidgetBase.Property('左图标', {
19338
19677
  type: 'string',
@@ -19341,7 +19680,7 @@
19341
19680
  },
19342
19681
  }),
19343
19682
  __metadata("design:type", Object)
19344
- ], exports.ɵdq.prototype, "navigationLeftIcon", void 0);
19683
+ ], exports.ɵdr.prototype, "navigationLeftIcon", void 0);
19345
19684
  __decorate([
19346
19685
  bbjWidgetBase.Property('右图标', {
19347
19686
  type: 'string',
@@ -19350,14 +19689,14 @@
19350
19689
  },
19351
19690
  }),
19352
19691
  __metadata("design:type", Object)
19353
- ], exports.ɵdq.prototype, "navigationRightIcon", void 0);
19692
+ ], exports.ɵdr.prototype, "navigationRightIcon", void 0);
19354
19693
  __decorate([
19355
19694
  bbjWidgetBase.Property('显示模式', {
19356
19695
  ui: { widget: 'select' },
19357
19696
  enum: [{ label: '图标卡片', value: 'card' }],
19358
19697
  }),
19359
19698
  __metadata("design:type", Object)
19360
- ], exports.ɵdq.prototype, "showType", void 0);
19699
+ ], exports.ɵdr.prototype, "showType", void 0);
19361
19700
  __decorate([
19362
19701
  bbjWidgetBase.Property('卡片背景', {
19363
19702
  type: 'string',
@@ -19366,19 +19705,19 @@
19366
19705
  },
19367
19706
  }),
19368
19707
  __metadata("design:type", Object)
19369
- ], exports.ɵdq.prototype, "cardBgImg", void 0);
19708
+ ], exports.ɵdr.prototype, "cardBgImg", void 0);
19370
19709
  __decorate([
19371
19710
  bbjWidgetBase.Property('图片高度'),
19372
19711
  __metadata("design:type", Number)
19373
- ], exports.ɵdq.prototype, "height", void 0);
19712
+ ], exports.ɵdr.prototype, "height", void 0);
19374
19713
  __decorate([
19375
19714
  bbjWidgetBase.Property('图片宽度'),
19376
19715
  __metadata("design:type", Number)
19377
- ], exports.ɵdq.prototype, "width", void 0);
19716
+ ], exports.ɵdr.prototype, "width", void 0);
19378
19717
  __decorate([
19379
19718
  bbjWidgetBase.Property('是否分组'),
19380
19719
  __metadata("design:type", Boolean)
19381
- ], exports.ɵdq.prototype, "isgroup", void 0);
19720
+ ], exports.ɵdr.prototype, "isgroup", void 0);
19382
19721
  __decorate([
19383
19722
  bbjWidgetBase.Property('图片分类', {
19384
19723
  type: 'array',
@@ -19400,7 +19739,7 @@
19400
19739
  ui: { visibleIf: { isgroup: [false] }, grid: { arraySpan: 24 }, spanControl: 24 },
19401
19740
  }),
19402
19741
  __metadata("design:type", Object)
19403
- ], exports.ɵdq.prototype, "images", void 0);
19742
+ ], exports.ɵdr.prototype, "images", void 0);
19404
19743
  __decorate([
19405
19744
  bbjWidgetBase.Property('新增分组', {
19406
19745
  type: 'array',
@@ -19426,7 +19765,7 @@
19426
19765
  ui: { visibleIf: { isgroup: [true] }, grid: { arraySpan: 24 }, spanControl: 24 },
19427
19766
  }),
19428
19767
  __metadata("design:type", Object)
19429
- ], exports.ɵdq.prototype, "groups", void 0);
19768
+ ], exports.ɵdr.prototype, "groups", void 0);
19430
19769
  __decorate([
19431
19770
  bbjWidgetBase.Data({
19432
19771
  properties: {
@@ -19436,25 +19775,25 @@
19436
19775
  },
19437
19776
  }),
19438
19777
  __metadata("design:type", Array)
19439
- ], exports.ɵdq.prototype, "_data", void 0);
19778
+ ], exports.ɵdr.prototype, "_data", void 0);
19440
19779
  __decorate([
19441
19780
  bbjWidgetBase.DataOutput('值'),
19442
19781
  __metadata("design:type", Object)
19443
- ], exports.ɵdq.prototype, "valueChange", void 0);
19444
- exports.ɵdq = __decorate([
19782
+ ], exports.ɵdr.prototype, "valueChange", void 0);
19783
+ exports.ɵdr = __decorate([
19445
19784
  bbjWidgetBase.Widget('轮播', { group: 'component', image: 'assets/img/screen/item-swiper.png', icon: 'iconmokuai' }),
19446
19785
  __metadata("design:paramtypes", [i0.ElementRef])
19447
- ], exports.ɵdq);
19786
+ ], exports.ɵdr);
19448
19787
 
19449
19788
  var ItemSwiperModule = /** @class */ (function () {
19450
19789
  function ItemSwiperModule(widgetService) {
19451
- widgetService.register(exports.ɵdq);
19790
+ widgetService.register(exports.ɵdr);
19452
19791
  }
19453
19792
  return ItemSwiperModule;
19454
19793
  }());
19455
19794
  ItemSwiperModule.decorators = [
19456
19795
  { type: i0.NgModule, args: [{
19457
- declarations: [exports.ɵdq],
19796
+ declarations: [exports.ɵdr],
19458
19797
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, space.NzSpaceModule],
19459
19798
  schemas: [i0.CUSTOM_ELEMENTS_SCHEMA],
19460
19799
  },] }
@@ -19463,7 +19802,7 @@
19463
19802
  { type: bbjWidgetBase.WidgetService }
19464
19803
  ]; };
19465
19804
 
19466
- exports.ɵdu = /** @class */ (function () {
19805
+ exports.ɵdv = /** @class */ (function () {
19467
19806
  function TemporaryDataComponent(renderer, elementRef) {
19468
19807
  this.renderer = renderer;
19469
19808
  this.elementRef = elementRef;
@@ -19485,39 +19824,39 @@
19485
19824
  };
19486
19825
  return TemporaryDataComponent;
19487
19826
  }());
19488
- exports.ɵdu.decorators = [
19827
+ exports.ɵdv.decorators = [
19489
19828
  { type: i0.Component, args: [{
19490
19829
  selector: 'sc-temporary-data',
19491
19830
  template: "<i nz-icon nzType=\"database\" nzTheme=\"outline\"></i>",
19492
19831
  styles: [":host{font-size:40px;color:#1890ff}"]
19493
19832
  },] }
19494
19833
  ];
19495
- exports.ɵdu.ctorParameters = function () { return [
19834
+ exports.ɵdv.ctorParameters = function () { return [
19496
19835
  { type: i0.Renderer2 },
19497
19836
  { type: i0.ElementRef }
19498
19837
  ]; };
19499
19838
  __decorate([
19500
19839
  bbjWidgetBase.Data({}),
19501
19840
  __metadata("design:type", Array)
19502
- ], exports.ɵdu.prototype, "data", void 0);
19841
+ ], exports.ɵdv.prototype, "data", void 0);
19503
19842
  __decorate([
19504
19843
  bbjWidgetBase.DataOutput('数据'),
19505
19844
  __metadata("design:type", Object)
19506
- ], exports.ɵdu.prototype, "dataChange", void 0);
19507
- exports.ɵdu = __decorate([
19845
+ ], exports.ɵdv.prototype, "dataChange", void 0);
19846
+ exports.ɵdv = __decorate([
19508
19847
  bbjWidgetBase.Widget('临时数据', { group: 'component', image: 'assets/img/screen/temporary-data.png', icon: 'iconmokuai' }),
19509
19848
  __metadata("design:paramtypes", [i0.Renderer2, i0.ElementRef])
19510
- ], exports.ɵdu);
19849
+ ], exports.ɵdv);
19511
19850
 
19512
19851
  var TemporaryDataModule = /** @class */ (function () {
19513
19852
  function TemporaryDataModule(widgetService) {
19514
- widgetService.register(exports.ɵdu);
19853
+ widgetService.register(exports.ɵdv);
19515
19854
  }
19516
19855
  return TemporaryDataModule;
19517
19856
  }());
19518
19857
  TemporaryDataModule.decorators = [
19519
19858
  { type: i0.NgModule, args: [{
19520
- declarations: [exports.ɵdu],
19859
+ declarations: [exports.ɵdv],
19521
19860
  imports: [common.CommonModule, icon.NzIconModule],
19522
19861
  },] }
19523
19862
  ];
@@ -19525,7 +19864,7 @@
19525
19864
  { type: bbjWidgetBase.WidgetService }
19526
19865
  ]; };
19527
19866
 
19528
- exports.ɵdw = /** @class */ (function () {
19867
+ exports.ɵdx = /** @class */ (function () {
19529
19868
  function LineLightFlowComponent() {
19530
19869
  this.lineColor = '#004CB3';
19531
19870
  this.lineshadowColor = 'rgba(0, 193, 220, 1)';
@@ -19709,15 +20048,15 @@
19709
20048
  };
19710
20049
  return LineLightFlowComponent;
19711
20050
  }());
19712
- exports.ɵdw.decorators = [
20051
+ exports.ɵdx.decorators = [
19713
20052
  { type: i0.Component, args: [{
19714
20053
  selector: 'sc-line-light-flow',
19715
20054
  template: "<div #canvasBox [style.paddingTop]=\"topDistance + 'px'\">\r\n <canvas #lineCanvas></canvas>\r\n</div>\r\n",
19716
20055
  styles: [""]
19717
20056
  },] }
19718
20057
  ];
19719
- exports.ɵdw.ctorParameters = function () { return []; };
19720
- exports.ɵdw.propDecorators = {
20058
+ exports.ɵdx.ctorParameters = function () { return []; };
20059
+ exports.ɵdx.propDecorators = {
19721
20060
  lineCanvas: [{ type: i0.ViewChild, args: ['lineCanvas',] }],
19722
20061
  canvasBox: [{ type: i0.ViewChild, args: ['canvasBox',] }],
19723
20062
  resize: [{ type: i0.HostListener, args: ['window:resize',] }]
@@ -19729,7 +20068,7 @@
19729
20068
  },
19730
20069
  }),
19731
20070
  __metadata("design:type", Object)
19732
- ], exports.ɵdw.prototype, "lineColor", void 0);
20071
+ ], exports.ɵdx.prototype, "lineColor", void 0);
19733
20072
  __decorate([
19734
20073
  bbjWidgetBase.Property('线条阴影', {
19735
20074
  ui: {
@@ -19737,7 +20076,7 @@
19737
20076
  },
19738
20077
  }),
19739
20078
  __metadata("design:type", Object)
19740
- ], exports.ɵdw.prototype, "lineshadowColor", void 0);
20079
+ ], exports.ɵdx.prototype, "lineshadowColor", void 0);
19741
20080
  __decorate([
19742
20081
  bbjWidgetBase.Property('高亮颜色', {
19743
20082
  ui: {
@@ -19745,36 +20084,36 @@
19745
20084
  },
19746
20085
  }),
19747
20086
  __metadata("design:type", Object)
19748
- ], exports.ɵdw.prototype, "lineHightLightColor", void 0);
20087
+ ], exports.ɵdx.prototype, "lineHightLightColor", void 0);
19749
20088
  __decorate([
19750
20089
  bbjWidgetBase.Property('中间间距', {
19751
20090
  type: 'number'
19752
20091
  }),
19753
20092
  __metadata("design:type", Object)
19754
- ], exports.ɵdw.prototype, "distance", void 0);
20093
+ ], exports.ɵdx.prototype, "distance", void 0);
19755
20094
  __decorate([
19756
20095
  bbjWidgetBase.Property('上边距', {
19757
20096
  type: 'number'
19758
20097
  }),
19759
20098
  __metadata("design:type", Object)
19760
- ], exports.ɵdw.prototype, "topDistance", void 0);
19761
- exports.ɵdw = __decorate([
20099
+ ], exports.ɵdx.prototype, "topDistance", void 0);
20100
+ exports.ɵdx = __decorate([
19762
20101
  bbjWidgetBase.Widget('光线特效', {
19763
20102
  group: 'mipAnim',
19764
20103
  }),
19765
20104
  __metadata("design:paramtypes", [])
19766
- ], exports.ɵdw);
20105
+ ], exports.ɵdx);
19767
20106
 
19768
20107
  var LineLightFlowModule = /** @class */ (function () {
19769
20108
  function LineLightFlowModule(widgetService) {
19770
- widgetService.register(exports.ɵdw);
20109
+ widgetService.register(exports.ɵdx);
19771
20110
  }
19772
20111
  return LineLightFlowModule;
19773
20112
  }());
19774
20113
  LineLightFlowModule.decorators = [
19775
20114
  { type: i0.NgModule, args: [{
19776
20115
  declarations: [
19777
- exports.ɵdw
20116
+ exports.ɵdx
19778
20117
  ],
19779
20118
  imports: [
19780
20119
  common.CommonModule,
@@ -19786,7 +20125,7 @@
19786
20125
  { type: bbjWidgetBase.WidgetService }
19787
20126
  ]; };
19788
20127
 
19789
- exports.ɵdx = /** @class */ (function () {
20128
+ exports.ɵdy = /** @class */ (function () {
19790
20129
  function IframeComponent() {
19791
20130
  }
19792
20131
  IframeComponent.prototype.ngOnChanges = function (changes) {
@@ -19802,43 +20141,43 @@
19802
20141
  };
19803
20142
  return IframeComponent;
19804
20143
  }());
19805
- exports.ɵdx.decorators = [
20144
+ exports.ɵdy.decorators = [
19806
20145
  { type: i0.Component, args: [{
19807
20146
  selector: 'sc-iframe',
19808
20147
  template: "<iframe *ngIf=\"url\" [class.edit]=\"edit\" [src]=\"url | nzSanitizer: 'resourceUrl'\"> </iframe>\n",
19809
20148
  styles: [":host{display:block}:host,iframe{width:100%;height:100%}iframe{border:none}iframe.edit{pointer-events:none}"]
19810
20149
  },] }
19811
20150
  ];
19812
- exports.ɵdx.ctorParameters = function () { return []; };
20151
+ exports.ɵdy.ctorParameters = function () { return []; };
19813
20152
  __decorate([
19814
20153
  bbjWidgetBase.Property('url'),
19815
20154
  __metadata("design:type", String)
19816
- ], exports.ɵdx.prototype, "url", void 0);
20155
+ ], exports.ɵdy.prototype, "url", void 0);
19817
20156
  __decorate([
19818
20157
  bbjWidgetBase.Data({ properties: { url: { type: 'string', title: 'url' } } }),
19819
20158
  __metadata("design:type", Array)
19820
- ], exports.ɵdx.prototype, "data", void 0);
20159
+ ], exports.ɵdy.prototype, "data", void 0);
19821
20160
  __decorate([
19822
20161
  bbjWidgetBase.Method('设置url'),
19823
20162
  __param(0, bbjWidgetBase.Param('url')),
19824
20163
  __metadata("design:type", Function),
19825
20164
  __metadata("design:paramtypes", [String]),
19826
20165
  __metadata("design:returntype", void 0)
19827
- ], exports.ɵdx.prototype, "setUrl", null);
19828
- exports.ɵdx = __decorate([
20166
+ ], exports.ɵdy.prototype, "setUrl", null);
20167
+ exports.ɵdy = __decorate([
19829
20168
  bbjWidgetBase.Widget('iframe', { group: 'component', image: 'assets/img/screen/iframe.png', icon: 'iconmokuai' }),
19830
20169
  __metadata("design:paramtypes", [])
19831
- ], exports.ɵdx);
20170
+ ], exports.ɵdy);
19832
20171
 
19833
20172
  var IframeModule = /** @class */ (function () {
19834
20173
  function IframeModule(widgetService) {
19835
- widgetService.register(exports.ɵdx);
20174
+ widgetService.register(exports.ɵdy);
19836
20175
  }
19837
20176
  return IframeModule;
19838
20177
  }());
19839
20178
  IframeModule.decorators = [
19840
20179
  { type: i0.NgModule, args: [{
19841
- declarations: [exports.ɵdx],
20180
+ declarations: [exports.ɵdy],
19842
20181
  imports: [common.CommonModule, pipes.NzPipesModule],
19843
20182
  },] }
19844
20183
  ];
@@ -19846,7 +20185,7 @@
19846
20185
  { type: bbjWidgetBase.WidgetService }
19847
20186
  ]; };
19848
20187
 
19849
- exports.ɵdy = /** @class */ (function () {
20188
+ exports.ɵdz = /** @class */ (function () {
19850
20189
  function VideoGridComponent() {
19851
20190
  this.size = 4;
19852
20191
  this.gutter = 4;
@@ -19927,14 +20266,14 @@
19927
20266
  };
19928
20267
  return VideoGridComponent;
19929
20268
  }());
19930
- exports.ɵdy.decorators = [
20269
+ exports.ɵdz.decorators = [
19931
20270
  { type: i0.Component, args: [{
19932
20271
  selector: 'sc-video-grid',
19933
20272
  template: "<!-- <div nz-row style=\"height: 100%\" [nzGutter]=\"[gutter, gutter]\">\n \n</div> -->\n<div *ngIf=\"showToggle\" class=\"grid-top\">\n <div class=\"toggle-btn\" (click)=\"toggle()\">\n <img src=\"/assets/img/screen/grid.png\" />\n <span>\u5207\u6362</span>\n </div>\n</div>\n<div class=\"video-grid\">\n <div class=\"video-grid-inner\" [style.margin.px]=\"margin\" [style.height]=\"height\">\n <div\n *ngFor=\"let video of videos; let i = index\"\n class=\"grid-cell\"\n [style.width]=\"cellSize\"\n [style.height]=\"cellSize\"\n [style.padding.px]=\"gutter\"\n >\n <div class=\"video-container\" [class.selected]=\"i === selectedIndex\" (click)=\"selectedIndex = i\">\n <sc-video-player [type]=\"type\" [src]=\"video.src\" [hasAudio]=\"hasAudio\"></sc-video-player>\n <div *ngIf=\"video.src\" class=\"video-top\">\n <i\n class=\"close\"\n nz-icon\n nzType=\"close\"\n nzTheme=\"outline\"\n (click)=\"$event.stopPropagation(); video.src = null\"\n ></i>\n </div>\n </div>\n </div>\n </div>\n</div>\n",
19934
20273
  styles: [":host{display:flex;flex-direction:column;height:100%;width:100%}.grid-top{flex:none;justify-content:flex-end;padding:10px 0}.grid-top,.toggle-btn{display:flex;align-items:center}.toggle-btn{cursor:pointer;color:#fff}.toggle-btn img{width:14px;height:14px;margin-right:4px}.video-grid{flex:1;width:100%;height:100%}.video-grid-inner{display:flex;height:100%;flex-wrap:wrap;pointer-events:none}.video-container{position:relative;pointer-events:auto;height:100%}.video-container:not(:hover)>.video-top{display:none}.video-top{position:absolute;top:0;left:0;right:0;background-color:rgba(0,0,0,.6);height:30px;display:flex;align-items:center;justify-content:flex-end;padding:0 4px}.close{cursor:pointer;color:#fff;width:16px;height:16px}.selected{outline:2px solid red}"]
19935
20274
  },] }
19936
20275
  ];
19937
- exports.ɵdy.ctorParameters = function () { return []; };
20276
+ exports.ɵdz.ctorParameters = function () { return []; };
19938
20277
  __decorate([
19939
20278
  bbjWidgetBase.Property('宫格数', {
19940
20279
  enum: [
@@ -19943,27 +20282,27 @@
19943
20282
  ],
19944
20283
  }),
19945
20284
  __metadata("design:type", Object)
19946
- ], exports.ɵdy.prototype, "size", void 0);
20285
+ ], exports.ɵdz.prototype, "size", void 0);
19947
20286
  __decorate([
19948
20287
  bbjWidgetBase.Property('间隔', { type: 'number' }),
19949
20288
  __metadata("design:type", Object)
19950
- ], exports.ɵdy.prototype, "gutter", void 0);
20289
+ ], exports.ɵdz.prototype, "gutter", void 0);
19951
20290
  __decorate([
19952
20291
  bbjWidgetBase.Property('切换按钮'),
19953
20292
  __metadata("design:type", Boolean)
19954
- ], exports.ɵdy.prototype, "showToggle", void 0);
20293
+ ], exports.ɵdz.prototype, "showToggle", void 0);
19955
20294
  __decorate([
19956
20295
  bbjWidgetBase.Property('视频类型', { enum: ['flv', 'hls', 'iframe'] }),
19957
20296
  __metadata("design:type", Object)
19958
- ], exports.ɵdy.prototype, "type", void 0);
20297
+ ], exports.ɵdz.prototype, "type", void 0);
19959
20298
  __decorate([
19960
20299
  bbjWidgetBase.Property('是否有声音'),
19961
20300
  __metadata("design:type", Boolean)
19962
- ], exports.ɵdy.prototype, "hasAudio", void 0);
20301
+ ], exports.ɵdz.prototype, "hasAudio", void 0);
19963
20302
  __decorate([
19964
20303
  bbjWidgetBase.DataInput('视频地址'),
19965
20304
  __metadata("design:type", String)
19966
- ], exports.ɵdy.prototype, "src", void 0);
20305
+ ], exports.ɵdz.prototype, "src", void 0);
19967
20306
  __decorate([
19968
20307
  bbjWidgetBase.Data({
19969
20308
  properties: {
@@ -19971,28 +20310,28 @@
19971
20310
  },
19972
20311
  }),
19973
20312
  __metadata("design:type", Object)
19974
- ], exports.ɵdy.prototype, "data", void 0);
20313
+ ], exports.ɵdz.prototype, "data", void 0);
19975
20314
  __decorate([
19976
20315
  bbjWidgetBase.Method('设置视频地址'),
19977
20316
  __param(0, bbjWidgetBase.Param('视频地址')),
19978
20317
  __metadata("design:type", Function),
19979
20318
  __metadata("design:paramtypes", [String]),
19980
20319
  __metadata("design:returntype", void 0)
19981
- ], exports.ɵdy.prototype, "addSrc", null);
19982
- exports.ɵdy = __decorate([
20320
+ ], exports.ɵdz.prototype, "addSrc", null);
20321
+ exports.ɵdz = __decorate([
19983
20322
  bbjWidgetBase.Widget('视频宫格', { group: 'component', image: 'assets/img/screen/video-grid.png', icon: 'iconmokuai' }),
19984
20323
  __metadata("design:paramtypes", [])
19985
- ], exports.ɵdy);
20324
+ ], exports.ɵdz);
19986
20325
 
19987
20326
  var VideoGridModule = /** @class */ (function () {
19988
20327
  function VideoGridModule(widgetService) {
19989
- widgetService.register(exports.ɵdy);
20328
+ widgetService.register(exports.ɵdz);
19990
20329
  }
19991
20330
  return VideoGridModule;
19992
20331
  }());
19993
20332
  VideoGridModule.decorators = [
19994
20333
  { type: i0.NgModule, args: [{
19995
- declarations: [exports.ɵdy],
20334
+ declarations: [exports.ɵdz],
19996
20335
  imports: [common.CommonModule, VideoPlayerModule, grid.NzGridModule, icon.NzIconModule],
19997
20336
  },] }
19998
20337
  ];
@@ -20000,7 +20339,7 @@
20000
20339
  { type: bbjWidgetBase.WidgetService }
20001
20340
  ]; };
20002
20341
 
20003
- exports.ɵdz = /** @class */ (function () {
20342
+ exports.ɵea = /** @class */ (function () {
20004
20343
  function Scatter3dComponent() {
20005
20344
  this.min = 0;
20006
20345
  this.max = 10;
@@ -20090,30 +20429,30 @@
20090
20429
  Scatter3dComponent.prototype.onChartClick = function (event) { };
20091
20430
  return Scatter3dComponent;
20092
20431
  }());
20093
- exports.ɵdz.decorators = [
20432
+ exports.ɵea.decorators = [
20094
20433
  { type: i0.Component, args: [{
20095
20434
  selector: 'sc-scatter3d',
20096
20435
  template: "<div echarts [options]=\"options\" class=\"demo-chart\" (chartClick)=\"onChartClick($event)\"></div>\n",
20097
20436
  styles: [":host{display:block;width:100%}.demo-chart,:host{height:100%}"]
20098
20437
  },] }
20099
20438
  ];
20100
- exports.ɵdz.ctorParameters = function () { return []; };
20439
+ exports.ɵea.ctorParameters = function () { return []; };
20101
20440
  __decorate([
20102
20441
  bbjWidgetBase.Property('最小值', { type: 'number' }),
20103
20442
  __metadata("design:type", Object)
20104
- ], exports.ɵdz.prototype, "min", void 0);
20443
+ ], exports.ɵea.prototype, "min", void 0);
20105
20444
  __decorate([
20106
20445
  bbjWidgetBase.Property('最大值', { type: 'number' }),
20107
20446
  __metadata("design:type", Object)
20108
- ], exports.ɵdz.prototype, "max", void 0);
20447
+ ], exports.ɵea.prototype, "max", void 0);
20109
20448
  __decorate([
20110
20449
  bbjWidgetBase.Property('最小尺寸', { type: 'number' }),
20111
20450
  __metadata("design:type", Object)
20112
- ], exports.ɵdz.prototype, "symbolSizeMin", void 0);
20451
+ ], exports.ɵea.prototype, "symbolSizeMin", void 0);
20113
20452
  __decorate([
20114
20453
  bbjWidgetBase.Property('最大尺寸', { type: 'number' }),
20115
20454
  __metadata("design:type", Object)
20116
- ], exports.ɵdz.prototype, "symbolSizeMax", void 0);
20455
+ ], exports.ɵea.prototype, "symbolSizeMax", void 0);
20117
20456
  __decorate([
20118
20457
  bbjWidgetBase.Property('颜色', {
20119
20458
  ui: {
@@ -20122,27 +20461,27 @@
20122
20461
  },
20123
20462
  }),
20124
20463
  __metadata("design:type", Object)
20125
- ], exports.ɵdz.prototype, "visualMapColor", void 0);
20464
+ ], exports.ɵea.prototype, "visualMapColor", void 0);
20126
20465
  __decorate([
20127
20466
  bbjWidgetBase.Property('最小不透明度', { type: 'number', minimum: 0, maximum: 1 }),
20128
20467
  __metadata("design:type", Object)
20129
- ], exports.ɵdz.prototype, "colorAlphaMin", void 0);
20468
+ ], exports.ɵea.prototype, "colorAlphaMin", void 0);
20130
20469
  __decorate([
20131
20470
  bbjWidgetBase.Property('最大不透明度', { type: 'number', minimum: 0, maximum: 1 }),
20132
20471
  __metadata("design:type", Object)
20133
- ], exports.ɵdz.prototype, "colorAlphaMax", void 0);
20472
+ ], exports.ɵea.prototype, "colorAlphaMax", void 0);
20134
20473
  __decorate([
20135
20474
  bbjWidgetBase.Property('高度', { type: 'number' }),
20136
20475
  __metadata("design:type", Object)
20137
- ], exports.ɵdz.prototype, "boxHeight", void 0);
20476
+ ], exports.ɵea.prototype, "boxHeight", void 0);
20138
20477
  __decorate([
20139
20478
  bbjWidgetBase.Property('宽度', { type: 'number' }),
20140
20479
  __metadata("design:type", Object)
20141
- ], exports.ɵdz.prototype, "boxWidth", void 0);
20480
+ ], exports.ɵea.prototype, "boxWidth", void 0);
20142
20481
  __decorate([
20143
20482
  bbjWidgetBase.Property('深度', { type: 'number' }),
20144
20483
  __metadata("design:type", Object)
20145
- ], exports.ɵdz.prototype, "boxDepth", void 0);
20484
+ ], exports.ɵea.prototype, "boxDepth", void 0);
20146
20485
  __decorate([
20147
20486
  bbjWidgetBase.Data({
20148
20487
  properties: {
@@ -20153,25 +20492,25 @@
20153
20492
  },
20154
20493
  }),
20155
20494
  __metadata("design:type", Object)
20156
- ], exports.ɵdz.prototype, "data", void 0);
20157
- exports.ɵdz = __decorate([
20495
+ ], exports.ɵea.prototype, "data", void 0);
20496
+ exports.ɵea = __decorate([
20158
20497
  bbjWidgetBase.Widget('3D散点图', {
20159
20498
  group: 'otherChart',
20160
20499
  image: 'assets/img/screen/bubble.png',
20161
20500
  icon: 'icontubiao',
20162
20501
  }),
20163
20502
  __metadata("design:paramtypes", [])
20164
- ], exports.ɵdz);
20503
+ ], exports.ɵea);
20165
20504
 
20166
20505
  var Scatter3dModule = /** @class */ (function () {
20167
20506
  function Scatter3dModule(widgetService) {
20168
- widgetService.register(exports.ɵdz);
20507
+ widgetService.register(exports.ɵea);
20169
20508
  }
20170
20509
  return Scatter3dModule;
20171
20510
  }());
20172
20511
  Scatter3dModule.decorators = [
20173
20512
  { type: i0.NgModule, args: [{
20174
- declarations: [exports.ɵdz],
20513
+ declarations: [exports.ɵea],
20175
20514
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, ngxEcharts.NgxEchartsModule],
20176
20515
  },] }
20177
20516
  ];
@@ -20179,6 +20518,1145 @@
20179
20518
  { type: bbjWidgetBase.WidgetService }
20180
20519
  ]; };
20181
20520
 
20521
+ exports.ɵec = /** @class */ (function () {
20522
+ function TiandituComponent(lazy, elementRef, zone, scale$, widgetRef) {
20523
+ var _this = this;
20524
+ this.lazy = lazy;
20525
+ this.elementRef = elementRef;
20526
+ this.zone = zone;
20527
+ this.scale$ = scale$;
20528
+ this.widgetRef = widgetRef;
20529
+ this.coordinateType = 'BD-09';
20530
+ // @Property('地图类型', {
20531
+ // enum: MapTypeEnum,
20532
+ // })
20533
+ // mapType = 'normal';
20534
+ // mapTypeValue: string;
20535
+ // @Property('上传样式', { type: 'string', ui: { widget: 'myUploadAudio', visibleIf: { mapType: ['custom'] } } })
20536
+ // uploadStyle: string;
20537
+ // @Property('切换按钮')
20538
+ // showMapTypeRadio: boolean;
20539
+ // @Property('全景地图', { type: 'boolean' })
20540
+ // minMapShow = false;
20541
+ // @Property('显示信息', {
20542
+ // ui: { widget: 'select' },
20543
+ // enum: [
20544
+ // { label: '点击', value: 'click' },
20545
+ // { label: '悬停', value: 'mouseover' },
20546
+ // ],
20547
+ // })
20548
+ // showType = 'click';
20549
+ // @Property('信息窗背景', { ui: { widget: 'myColor' } })
20550
+ // infoWindowBackground: string;
20551
+ // @Property('信息窗字体', { ui: { widget: 'myColor' } })
20552
+ // infoWindowColor: string;
20553
+ // @Property('信息窗宽度')
20554
+ // infoWindowWidth: number;
20555
+ // @Property('信息窗高度')
20556
+ // infoWindowHeight: number;
20557
+ // @Property('信息窗模板', { ui: { widget: 'textarea' } })
20558
+ // infoWindowTemplate: string;
20559
+ // @Property('信息窗边框', {
20560
+ // ui: { widget: 'myColor' },
20561
+ // example: ['#ffffff', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', null],
20562
+ // })
20563
+ // infoWindowBorderColor: string;
20564
+ // @Property('隐藏尖角')
20565
+ // @HostBinding('class.hideInfoWindowTail')
20566
+ // hideInfoWindowTail: boolean;
20567
+ // @Property('隐藏关闭按钮')
20568
+ // @HostBinding('class.hideInfoWindowTop')
20569
+ // hideInfoWindowTop: boolean;
20570
+ this.dragging = true;
20571
+ // @Property('遮罩颜色', {
20572
+ // ui: { widget: 'myColor' },
20573
+ // example: ['#ffffff', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', null],
20574
+ // })
20575
+ // shadeColor = '#004395';
20576
+ // @Property('背景颜色', {
20577
+ // ui: { widget: 'myColor' },
20578
+ // example: ['#ffffff', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', null],
20579
+ // })
20580
+ // mapBackColor: string;
20581
+ // @Property('多边线色', {
20582
+ // ui: { widget: 'myColor' },
20583
+ // example: ['#ffffff', '#F5A623', '#F8E71C', '#50E3C2', '#3285FF', '#B45FFF', '#9B9B9B', null],
20584
+ // })
20585
+ // mapCityColor = '#41b7ff';
20586
+ this.zoom = 12;
20587
+ // @Property('遮罩透明', { type: 'number' })
20588
+ // fillOpacity = 0;
20589
+ // @Property('多边线粗', { type: 'number' })
20590
+ // strokesize = 2;
20591
+ // @Property('黑夜模式', { type: 'boolean', ui: { hidden: true } })
20592
+ // nightMode = false;
20593
+ // @Property('3D视角')
20594
+ // enable3D: boolean;
20595
+ // @Property('定位控件')
20596
+ // showLocationControl: boolean;
20597
+ // @Property('初始角度', { type: 'number', ui: { visibleIf: { enable3D: [true] } } })
20598
+ // tilt = 73;
20599
+ // centerLng = 120.7;
20600
+ // centerLat = 28;
20601
+ // @Property('显示省市', {
20602
+ // ui: {
20603
+ // widget: 'myUrlSelect',
20604
+ // allowClear: true,
20605
+ // url: '/assets/mapListItem.json',
20606
+ // },
20607
+ // })
20608
+ // cityName = null;
20609
+ this.data = [{ lng: 120.7, lat: 28 }];
20610
+ this.dataChange = new i0.EventEmitter();
20611
+ this.zoomChange = new i0.EventEmitter();
20612
+ this.mapClick = new i0.EventEmitter();
20613
+ this.destroy$ = new rxjs.Subject();
20614
+ this.init$ = new Promise(function (resolve) {
20615
+ _this.inited = resolve;
20616
+ });
20617
+ }
20618
+ TiandituComponent.prototype.ngOnInit = function () {
20619
+ return __awaiter(this, void 0, void 0, function () {
20620
+ return __generator(this, function (_a) {
20621
+ i1.scaleAdapter(this.scale$, this.destroy$, this.zone, this.elementRef.nativeElement, this.widgetRef);
20622
+ this.initMap();
20623
+ return [2 /*return*/];
20624
+ });
20625
+ });
20626
+ };
20627
+ TiandituComponent.prototype.initMap = function () {
20628
+ return __awaiter(this, void 0, void 0, function () {
20629
+ var _this = this;
20630
+ return __generator(this, function (_a) {
20631
+ switch (_a.label) {
20632
+ case 0: return [4 /*yield*/, this.lazy.loadScript('https://api.tianditu.gov.cn/api?v=4.0&tk=acbe009b9b9cc2c8f369b6415fc8dc99')];
20633
+ case 1:
20634
+ _a.sent();
20635
+ if (!this.destroyed) {
20636
+ this.zone.runOutsideAngular(function () {
20637
+ _this.map = new T.Map(_this.container.nativeElement, {
20638
+ center: _this.createLngLat(_this.centerLng, _this.centerLat),
20639
+ zoom: _this.zoom,
20640
+ });
20641
+ // this.mapTypeChange(this.mapTypeValue);
20642
+ if (_this.edit || _this.dragging === false) {
20643
+ _this.map.disableDrag();
20644
+ }
20645
+ // if (this.enable3D) {
20646
+ // this.map.setTilt(this.tilt == null ? 73 : this.tilt, { noAnimation: true });
20647
+ // this.map.setDisplayOptions({ skyColors: ['rgba(0, 0, 0, 0)'] }); // 隐藏天空
20648
+ // // const navi3DCtrl = new BMapGL.NavigationControl3D(); // 添加3D控件
20649
+ // // this.map.addControl(navi3DCtrl);
20650
+ // } else {
20651
+ // this.map.disableTilt();
20652
+ // this.map.disableRotate();
20653
+ // }
20654
+ // if (this.showLocationControl) {
20655
+ // const options = {
20656
+ // // 控件的停靠位置(可选,默认左上角)
20657
+ // anchor: BMAP_ANCHOR_TOP_LEFT,
20658
+ // // 控件基于停靠位置的偏移量(可选)
20659
+ // offset: new BMapGL.Size(20, 20),
20660
+ // };
20661
+ // let locationControl = new BMapGL.LocationControl(options);
20662
+ // // 将控件添加到地图上
20663
+ // this.map.addControl(locationControl);
20664
+ // }
20665
+ // if (this.minMapShow) {
20666
+ // const stCtrl = new BMapGL.PanoramaControl();
20667
+ // stCtrl.setOffset(new BMapGL.Size(20, 20));
20668
+ // this.map.addControl(stCtrl);
20669
+ // }
20670
+ // if (this.infoWindowBackground) {
20671
+ // this.element.style.setProperty('--info-window-background', this.infoWindowBackground);
20672
+ // }
20673
+ // if (this.infoWindowColor) {
20674
+ // this.element.style.setProperty('--info-window-color', this.infoWindowColor);
20675
+ // }
20676
+ // if (this.infoWindowBorderColor) {
20677
+ // this.element.style.setProperty('--info-window-border-color', this.infoWindowBorderColor);
20678
+ // }
20679
+ _this.map.addEventListener('moveend', function (event) {
20680
+ var center = _this.map.getCenter();
20681
+ _this.dataChange.emit(_this.transferCoordinate(center));
20682
+ });
20683
+ _this.map.addEventListener('click', function (event) {
20684
+ console.log(event);
20685
+ _this.mapClick.emit(_this.transferCoordinate(event.latlng));
20686
+ });
20687
+ _this.map.addEventListener('zoomend', function (event) {
20688
+ _this.zoomChange.emit(_this.map.getZoom());
20689
+ _this.dataChange.emit(_this.transferCoordinate(_this.map.getCenter()));
20690
+ });
20691
+ _this.mapLoaded(_this.map);
20692
+ });
20693
+ this.inited(this.map);
20694
+ }
20695
+ return [2 /*return*/];
20696
+ }
20697
+ });
20698
+ });
20699
+ };
20700
+ TiandituComponent.prototype.ngOnChanges = function (changes) {
20701
+ if (changes.data && this.data[0]) {
20702
+ this.centerLng = +this.data[0].lng;
20703
+ this.centerLat = +this.data[0].lat;
20704
+ this.setCenter(this.centerLng, this.centerLat);
20705
+ }
20706
+ };
20707
+ TiandituComponent.prototype.ngOnDestroy = function () {
20708
+ this.destroy$.next();
20709
+ this.destroy$.complete();
20710
+ this.destroyed = true;
20711
+ };
20712
+ TiandituComponent.prototype.createLngLat = function (lng, lat) {
20713
+ var _a, _b;
20714
+ if (this.coordinateType === 'BD-09') {
20715
+ _a = __read(i1.bd09towgs84(lng, lat), 2), lng = _a[0], lat = _a[1];
20716
+ }
20717
+ else if (this.coordinateType === 'GCJ-02') {
20718
+ _b = __read(i1.gcj02towgs84(lng, lat), 2), lng = _b[0], lat = _b[1];
20719
+ }
20720
+ return new T.LngLat(lng, lat);
20721
+ };
20722
+ TiandituComponent.prototype.transferCoordinate = function (latlng) {
20723
+ var _a, _b;
20724
+ var lng = latlng.lng, lat = latlng.lat;
20725
+ if (this.coordinateType === 'BD-09') {
20726
+ _a = __read(i1.wgs84tobd09(lng, lat), 2), lng = _a[0], lat = _a[1];
20727
+ }
20728
+ else if (this.coordinateType === 'GCJ-02') {
20729
+ _b = __read(i1.wgs84togcj02(lng, lat), 2), lng = _b[0], lat = _b[1];
20730
+ }
20731
+ else {
20732
+ return latlng;
20733
+ }
20734
+ return { lng: lng, lat: lat };
20735
+ };
20736
+ TiandituComponent.prototype.setCenter = function (lng, lat) {
20737
+ if (this.map && lng && lat) {
20738
+ var center = this.map.getCenter();
20739
+ if (center.lng != lng || center.lat != lat) {
20740
+ this.setCenterAndZoom(lng, lat, this.map.getZoom());
20741
+ }
20742
+ }
20743
+ };
20744
+ TiandituComponent.prototype.setCenterAndZoom = function (lng, lat, zoom) {
20745
+ var center = this.map.getCenter();
20746
+ var currentZoom = this.map.getZoom();
20747
+ // 误差范围内不移动,防止背景抖动
20748
+ if (zoom != currentZoom || Math.abs(lng - center.lng) > 1e-13 || Math.abs(lat - center.lat) > 1e-7) {
20749
+ var point = this.createLngLat(lng, lat);
20750
+ this.map.centerAndZoom(point, zoom);
20751
+ }
20752
+ };
20753
+ /**
20754
+ * 根据经纬度范围设置中心和缩放等级
20755
+ * @param minLng
20756
+ * @param maxLng
20757
+ * @param minLat
20758
+ * @param maxLat
20759
+ */
20760
+ TiandituComponent.prototype.setRectCenterAndZoom = function (minLng, maxLng, minLat, maxLat) {
20761
+ var pointB = this.createLngLat(minLng, minLat);
20762
+ var pointA = this.createLngLat(maxLng, maxLat);
20763
+ this.map.setViewport([pointA, pointB]);
20764
+ };
20765
+ TiandituComponent.prototype.mapLoaded = function (map) {
20766
+ return __awaiter(this, void 0, void 0, function () {
20767
+ return __generator(this, function (_a) {
20768
+ return [2 /*return*/];
20769
+ });
20770
+ });
20771
+ };
20772
+ TiandituComponent.prototype.decodePolygon = function (coordinate, encodeOffsets, encodeScale) {
20773
+ var result = [];
20774
+ var prevX = encodeOffsets[0];
20775
+ var prevY = encodeOffsets[1];
20776
+ for (var i = 0; i < coordinate.length; i += 2) {
20777
+ var x = coordinate.charCodeAt(i) - 64;
20778
+ var y = coordinate.charCodeAt(i + 1) - 64;
20779
+ // ZigZag decoding
20780
+ x = (x >> 1) ^ -(x & 1);
20781
+ y = (y >> 1) ^ -(y & 1);
20782
+ // Delta deocding
20783
+ x += prevX;
20784
+ y += prevY;
20785
+ prevX = x;
20786
+ prevY = y;
20787
+ // Dequantize
20788
+ result.push([x / encodeScale, y / encodeScale]);
20789
+ }
20790
+ return result;
20791
+ };
20792
+ return TiandituComponent;
20793
+ }());
20794
+ exports.ɵec.decorators = [
20795
+ { type: i0.Component, args: [{
20796
+ selector: 'sc-tianditu',
20797
+ template: "<div #container class=\"tianditu\"></div>\n<ng-template *ngFor=\"let child of children\" widget-host [widget]=\"child\"></ng-template>\n",
20798
+ styles: [":host{display:block;overflow:hidden;transform-origin:0 0;z-index:0;position:relative}.tianditu,:host{height:100%;width:100%}"]
20799
+ },] }
20800
+ ];
20801
+ exports.ɵec.ctorParameters = function () { return [
20802
+ { type: util.LazyService },
20803
+ { type: i0.ElementRef },
20804
+ { type: i0.NgZone },
20805
+ { type: bbjWidgetBase.ScaleSubject, decorators: [{ type: i0.Optional }] },
20806
+ { type: bbjWidgetBase.WidgetRef }
20807
+ ]; };
20808
+ exports.ɵec.propDecorators = {
20809
+ container: [{ type: i0.ViewChild, args: ['container',] }]
20810
+ };
20811
+ __decorate([
20812
+ bbjWidgetBase.Property('坐标系', {
20813
+ enum: [
20814
+ { label: '百度坐标', value: 'BD-09' },
20815
+ { label: '高德/腾讯坐标', value: 'GCJ-02' },
20816
+ { label: '天地图坐标', value: 'WGS84' },
20817
+ ],
20818
+ }),
20819
+ __metadata("design:type", Object)
20820
+ ], exports.ɵec.prototype, "coordinateType", void 0);
20821
+ __decorate([
20822
+ bbjWidgetBase.Property('地图拖动', { type: 'boolean' }),
20823
+ __metadata("design:type", Object)
20824
+ ], exports.ɵec.prototype, "dragging", void 0);
20825
+ __decorate([
20826
+ bbjWidgetBase.Property('地图缩放', {
20827
+ ui: { widget: 'myRange', min: 1, max: 40, step: 1 },
20828
+ }),
20829
+ __metadata("design:type", Object)
20830
+ ], exports.ɵec.prototype, "zoom", void 0);
20831
+ __decorate([
20832
+ bbjWidgetBase.Data({
20833
+ properties: {
20834
+ lng: { type: 'number', title: '经度' },
20835
+ lat: { type: 'number', title: '纬度' },
20836
+ },
20837
+ }),
20838
+ __metadata("design:type", Array)
20839
+ ], exports.ɵec.prototype, "data", void 0);
20840
+ __decorate([
20841
+ bbjWidgetBase.DataOutput(['lng', 'lat']),
20842
+ bbjWidgetBase.Event('中心点改变', {
20843
+ params: { properties: { lng: { title: '经度', type: 'number' }, lat: { title: '纬度', type: 'number' } } },
20844
+ }),
20845
+ __metadata("design:type", Object)
20846
+ ], exports.ɵec.prototype, "dataChange", void 0);
20847
+ __decorate([
20848
+ bbjWidgetBase.DataOutput('缩放等级'),
20849
+ bbjWidgetBase.Event('缩放', {
20850
+ params: '缩放等级',
20851
+ }),
20852
+ __metadata("design:type", Object)
20853
+ ], exports.ɵec.prototype, "zoomChange", void 0);
20854
+ __decorate([
20855
+ bbjWidgetBase.Event('地图点击', {
20856
+ params: { properties: { lng: { title: '经度', type: 'number' }, lat: { title: '纬度', type: 'number' } } },
20857
+ }),
20858
+ __metadata("design:type", Object)
20859
+ ], exports.ɵec.prototype, "mapClick", void 0);
20860
+ exports.ɵec = __decorate([
20861
+ bbjWidgetBase.Widget('天地图', {
20862
+ children: [
20863
+ {
20864
+ title: '标记层',
20865
+ type: 'sc-tianditu-marker',
20866
+ option: {},
20867
+ hidden: true,
20868
+ hideChild: true,
20869
+ },
20870
+ ],
20871
+ childTypes: ['sc-tianditu-marker'],
20872
+ description: 'hasChildItem',
20873
+ }),
20874
+ __metadata("design:paramtypes", [util.LazyService,
20875
+ i0.ElementRef,
20876
+ i0.NgZone,
20877
+ bbjWidgetBase.ScaleSubject,
20878
+ bbjWidgetBase.WidgetRef])
20879
+ ], exports.ɵec);
20880
+
20881
+ var BaseLayer$1 = /** @class */ (function () {
20882
+ function BaseLayer(parent, zone) {
20883
+ this.parent = parent;
20884
+ this.zone = zone;
20885
+ this.layers = [];
20886
+ this.overlays = [];
20887
+ this.destroy$ = new rxjs.Subject();
20888
+ }
20889
+ BaseLayer.prototype.ngOnInit = function () {
20890
+ return __awaiter(this, void 0, void 0, function () {
20891
+ var _this = this;
20892
+ return __generator(this, function (_a) {
20893
+ switch (_a.label) {
20894
+ case 0: return [4 /*yield*/, this.parent.init$];
20895
+ case 1:
20896
+ _a.sent();
20897
+ this.init();
20898
+ this.inited = true;
20899
+ this.zone.runOutsideAngular(function () {
20900
+ _this.updateOverlays();
20901
+ });
20902
+ return [2 /*return*/];
20903
+ }
20904
+ });
20905
+ });
20906
+ };
20907
+ BaseLayer.prototype.ngOnChanges = function (changes) {
20908
+ var _this = this;
20909
+ if (this.inited) {
20910
+ this.zone.runOutsideAngular(function () {
20911
+ _this.updateOverlays();
20912
+ });
20913
+ }
20914
+ };
20915
+ BaseLayer.prototype.ngOnDestroy = function () {
20916
+ this.destroy$.next();
20917
+ this.destroy$.complete();
20918
+ this.removeOverlays();
20919
+ };
20920
+ BaseLayer.prototype.init = function () { };
20921
+ BaseLayer.prototype.updateOverlays = function () {
20922
+ return __awaiter(this, void 0, void 0, function () {
20923
+ var _this = this;
20924
+ return __generator(this, function (_a) {
20925
+ this.removeOverlays();
20926
+ this.overlays = this.createOverlays();
20927
+ this.overlays.forEach(function (overlay) {
20928
+ _this.parent.map.addOverLay(overlay);
20929
+ });
20930
+ this.inited = true;
20931
+ return [2 /*return*/];
20932
+ });
20933
+ });
20934
+ };
20935
+ BaseLayer.prototype.removeOverlays = function () {
20936
+ var _this = this;
20937
+ if (this.overlays.length) {
20938
+ this.overlays.forEach(function (overlay) {
20939
+ _this.parent.map.removeOverLay(overlay);
20940
+ });
20941
+ this.overlays = [];
20942
+ }
20943
+ // if (this.layers.length) {
20944
+ // this.layers.forEach((layer) => {
20945
+ // this.parent.removeLayer(layer);
20946
+ // });
20947
+ // this.layers = [];
20948
+ // }
20949
+ };
20950
+ BaseLayer.prototype.getTextOptions = function (font) {
20951
+ var textOptions = {};
20952
+ if (font) {
20953
+ if (font.size)
20954
+ textOptions.fontSize = font.size;
20955
+ if (font.family)
20956
+ textOptions.fontFamily = font.family;
20957
+ if (font.color)
20958
+ textOptions.color = font.color;
20959
+ }
20960
+ return textOptions;
20961
+ };
20962
+ return BaseLayer;
20963
+ }());
20964
+ BaseLayer$1.decorators = [
20965
+ { type: i0.Directive }
20966
+ ];
20967
+ BaseLayer$1.ctorParameters = function () { return [
20968
+ { type: exports.ɵec },
20969
+ { type: i0.NgZone }
20970
+ ]; };
20971
+
20972
+ var ɵ0$e = { type: 'string', title: 'id' }, ɵ1$c = { type: 'string', title: 'id' }, ɵ2$a = { type: 'string', title: 'id' };
20973
+ exports.ɵed = /** @class */ (function (_super_1) {
20974
+ __extends(TiandituMarkerComponent, _super_1);
20975
+ function TiandituMarkerComponent(parent, zone, fileUrlService, nzContextMenuService) {
20976
+ var _this = _super_1.call(this, parent, zone) || this;
20977
+ _this.parent = parent;
20978
+ _this.zone = zone;
20979
+ _this.fileUrlService = fileUrlService;
20980
+ _this.nzContextMenuService = nzContextMenuService;
20981
+ _this.iconUrl = 'assets/img/screen/marker.png';
20982
+ _this.iconWidth = 20;
20983
+ _this.iconHeight = 30;
20984
+ _this.iconOffsetX = 10;
20985
+ _this.iconOffsetY = 30;
20986
+ // @Property('分组', {type: 'string'})
20987
+ // group = '';
20988
+ _this.toCenter = false;
20989
+ // @Property('标签底色', { ui: { widget: 'myColor', visibleIf: { showLabel: [true] } } })
20990
+ // labelBackground: string;
20991
+ _this.labelFont = {
20992
+ family: '',
20993
+ color: '#000000',
20994
+ weight: 'normal',
20995
+ size: 16,
20996
+ space: 0,
20997
+ lineHeight: 0,
20998
+ };
20999
+ // @Property('阴影', { ui: { widget: 'myShadow' } })
21000
+ // shadow: any = { color: '', X: 0, Y: 0, Z: 0 };
21001
+ _this.labelOffsetX = -50;
21002
+ _this.labelOffsetY = 10;
21003
+ _this.unselectOnClickBlank = true;
21004
+ _this.groups = [];
21005
+ _this.data = [
21006
+ {
21007
+ id: '1',
21008
+ address: '',
21009
+ information: '暂无信息',
21010
+ group: '',
21011
+ lng: '120.7',
21012
+ lat: '28',
21013
+ },
21014
+ ];
21015
+ // id: string;
21016
+ _this.makerClick = new i0.EventEmitter();
21017
+ _this.onClick = new i0.EventEmitter();
21018
+ _this.layers = [];
21019
+ // defaultLayer: any;
21020
+ _this.optionsMap = {};
21021
+ _this.dataMap = {};
21022
+ return _this;
21023
+ }
21024
+ TiandituMarkerComponent.prototype.ngOnInit = function () {
21025
+ var _super = Object.create(null, {
21026
+ ngOnInit: { get: function () { return _super_1.prototype.ngOnInit; } }
21027
+ });
21028
+ return __awaiter(this, void 0, void 0, function () {
21029
+ var _this = this;
21030
+ return __generator(this, function (_b) {
21031
+ switch (_b.label) {
21032
+ case 0: return [4 /*yield*/, _super.ngOnInit.call(this)];
21033
+ case 1:
21034
+ _b.sent();
21035
+ if (this.showLabel && this.showLabelMinZoom != null) {
21036
+ this.parent.zoomChange.pipe(operators.takeUntil(this.destroy$)).subscribe(function (zoom) {
21037
+ _this.updateTextVisible(zoom);
21038
+ });
21039
+ }
21040
+ return [2 /*return*/];
21041
+ }
21042
+ });
21043
+ });
21044
+ };
21045
+ TiandituMarkerComponent.prototype.ngOnChanges = function (changes) {
21046
+ var _this = this;
21047
+ if (this.inited) {
21048
+ if (changes.data) {
21049
+ this.zone.runOutsideAngular(function () {
21050
+ _this.updateOverlays();
21051
+ });
21052
+ }
21053
+ if (changes.selectedId) {
21054
+ if (this.selectedId != this.currentSelectedId) {
21055
+ this.select(this.selectedId, { move: true });
21056
+ }
21057
+ }
21058
+ }
21059
+ };
21060
+ TiandituMarkerComponent.prototype.ngOnDestroy = function () {
21061
+ _super_1.prototype.ngOnDestroy.call(this);
21062
+ this.destroy$.next();
21063
+ this.destroy$.complete();
21064
+ };
21065
+ TiandituMarkerComponent.prototype.init = function () {
21066
+ var _this = this;
21067
+ var _a;
21068
+ this.optionsMap = {};
21069
+ var defaultOptions = this.createOptions();
21070
+ this.optionsMap[''] = defaultOptions;
21071
+ if ((_a = this.groups) === null || _a === void 0 ? void 0 : _a.length) {
21072
+ this.groups.forEach(function (group) {
21073
+ if (group.group) {
21074
+ var options = _this.createOptions(group);
21075
+ _this.optionsMap[group.group] = options;
21076
+ }
21077
+ });
21078
+ }
21079
+ if (this.unselectOnClickBlank) {
21080
+ this.parent.mapClick.pipe(operators.takeUntil(this.destroy$)).subscribe(function () {
21081
+ _this.selectedId = null;
21082
+ _this.select(null);
21083
+ });
21084
+ }
21085
+ // if (!this.enableMarkerClusterer && this.showLabel) {
21086
+ // const textOptions = {
21087
+ // ...this.getTextOptions(this.labelFont),
21088
+ // // color: '#fff',
21089
+ // // fontFamily: 'Microsoft Yahei',
21090
+ // // fontSize: 14,
21091
+ // flat: false,
21092
+ // collides: true,
21093
+ // offset: [this.labelOffsetX || 0, this.labelOffsetY || 0],
21094
+ // stroke: {
21095
+ // color: this.stroke,
21096
+ // },
21097
+ // padding: [2, 2],
21098
+ // margin: [0, 0],
21099
+ // };
21100
+ // if (this.stroke && this.stroke !== 'rgba(0,0,0,0)') {
21101
+ // textOptions.stroke = { color: this.stroke };
21102
+ // }
21103
+ // if (this.strokeWidth) {
21104
+ // textOptions.lineWidth = this.strokeWidth;
21105
+ // }
21106
+ // if (this.shadow) {
21107
+ // textOptions.shadow = {
21108
+ // color: this.shadow.color,
21109
+ // blur: this.shadow.Z,
21110
+ // offsetX: this.shadow.X,
21111
+ // offsetY: this.shadow.Y,
21112
+ // };
21113
+ // }
21114
+ // this.textLayer = new mapvgl.TextLayer(textOptions);
21115
+ // if (this.showLabelMinZoom != null) {
21116
+ // this.parent.init$.then(() => {
21117
+ // const zoom = this.parent.map.getZoom();
21118
+ // this.updateTextVisible(zoom);
21119
+ // });
21120
+ // }
21121
+ // layers.push(this.textLayer);
21122
+ // }
21123
+ };
21124
+ TiandituMarkerComponent.prototype.createOptions = function (group) {
21125
+ var iconOptions = this.getIconOptions(group);
21126
+ return { icon: iconOptions };
21127
+ // if (this.enableMarkerClusterer || group?.enableMarkerClusterer) {
21128
+ // const options: any = {
21129
+ // iconOptions,
21130
+ // textOptions: this.getTextOptions(this.clusterFont),
21131
+ // minSize: this.clusterMinSize || 25,
21132
+ // maxSize: this.clusterMaxSize || 40,
21133
+ // };
21134
+ // if (this.clusterGradient?.length) {
21135
+ // const gradient: any = {};
21136
+ // gradient[0] = this.clusterGradient[0];
21137
+ // this.clusterGradient.slice(1).forEach((g, i) => {
21138
+ // gradient[(i + 1) / this.clusterGradient.length] = g;
21139
+ // });
21140
+ // options.gradient = gradient;
21141
+ // }
21142
+ // if (this.clusterMaxZoom != null) {
21143
+ // options.maxZoom = this.clusterMaxZoom;
21144
+ // }
21145
+ // this.addPickEvent(options);
21146
+ // layer = new mapvgl.ClusterLayer(options);
21147
+ // } else {
21148
+ // this.addPickEvent(iconOptions);
21149
+ // layer = new mapvgl.IconLayer(iconOptions);
21150
+ // }
21151
+ };
21152
+ TiandituMarkerComponent.prototype.updateTextVisible = function (zoom) {
21153
+ if (this.textLayer) {
21154
+ if (zoom >= this.showLabelMinZoom) {
21155
+ this.textLayer.show();
21156
+ }
21157
+ else {
21158
+ this.textLayer.hide();
21159
+ }
21160
+ }
21161
+ };
21162
+ TiandituMarkerComponent.prototype.createOverlays = function () {
21163
+ var _this = this;
21164
+ var overlays = [];
21165
+ this.dataMap = {};
21166
+ if (this.toCenter && this.data.length > 0) {
21167
+ var maxLng_1 = -180;
21168
+ var minLng_1 = 180;
21169
+ var maxLat_1 = -90;
21170
+ var minLat_1 = 90;
21171
+ this.data.forEach(function (res) {
21172
+ maxLng_1 = Math.max(maxLng_1, res.lng);
21173
+ minLng_1 = Math.min(minLng_1, res.lng);
21174
+ maxLat_1 = Math.max(maxLat_1, res.lat);
21175
+ minLat_1 = Math.min(minLat_1, res.lat);
21176
+ });
21177
+ this.parent.setRectCenterAndZoom(minLng_1, maxLng_1, minLat_1, maxLat_1);
21178
+ }
21179
+ var groupData = {};
21180
+ this.groupData = groupData;
21181
+ var textData = [];
21182
+ var groups = Object.keys(this.optionsMap);
21183
+ groups.forEach(function (group) {
21184
+ groupData[group] = [];
21185
+ });
21186
+ // const defaultData = [];
21187
+ this.data.forEach(function (record) {
21188
+ var groupName = record.group;
21189
+ if (groupName == null || _this.optionsMap[groupName] == null) {
21190
+ groupName = '';
21191
+ }
21192
+ var id = record.id_value || record.id;
21193
+ if (id == null || id == '') {
21194
+ id = getUUID();
21195
+ }
21196
+ // MapVGL的bug,ClusterLayer的iconOptions无效,只能通过properties设置
21197
+ var options = _this.optionsMap[groupName];
21198
+ // if (layer != null && layer instanceof mapvgl.ClusterLayer) {
21199
+ // const options = layer.getOptions();
21200
+ // if (options.iconOptions) {
21201
+ // const { height, width, offset, icon } = options.iconOptions;
21202
+ // item.properties = { height, width, offset, icon, ...item.properties };
21203
+ // }
21204
+ // }
21205
+ var point = _this.parent.createLngLat(record.lng, record.lat);
21206
+ var marker = new T.Marker(point, options); // 创建标注
21207
+ marker.addEventListener('click', function (e) {
21208
+ _this.selectedId = id;
21209
+ _this.select(id);
21210
+ _this.zone.run(function () {
21211
+ _this.onClick.emit(Object.assign(Object.assign({}, record), { id: id }));
21212
+ });
21213
+ if (record.information) {
21214
+ _this.openInfo(record.information, e);
21215
+ }
21216
+ });
21217
+ overlays.push(marker);
21218
+ if (_this.showLabel && record.address) {
21219
+ var label = new T.Label({
21220
+ text: "" + record.address,
21221
+ position: marker.getLngLat(),
21222
+ offset: new T.Point(_this.labelOffsetX || -50, _this.labelOffsetY || 10),
21223
+ });
21224
+ label.setBorderLine(_this.strokeWidth || 0);
21225
+ label.setBorderColor(_this.stroke);
21226
+ label.setBackgroundColor('rgba(0,0,0,0)');
21227
+ label.setFontColor(_this.labelFont.color);
21228
+ label.setFontSize(_this.labelFont.size);
21229
+ overlays.push(label);
21230
+ }
21231
+ // if (this.selectedId && this.selectedId == id) {
21232
+ // this.updateSize(item, 1.5);
21233
+ // this.lastSelect = item;
21234
+ // }
21235
+ groupData[groupName].push(record);
21236
+ _this.dataMap[id] = record;
21237
+ if (_this.textLayer) {
21238
+ textData.push(record);
21239
+ }
21240
+ });
21241
+ // if (this.selectedId) {
21242
+ // this.select(this.selectedId, { move: this.selectedId != this.currentSelectedId, resetLayer: false, force: true });
21243
+ // }
21244
+ // groups.forEach((group) => {
21245
+ // const layer = this.layerMap[group];
21246
+ // const data = groupData[group];
21247
+ // layer.setData(data);
21248
+ // });
21249
+ // if (this.textLayer) {
21250
+ // this.textLayer.setData(textData);
21251
+ // }
21252
+ return overlays;
21253
+ };
21254
+ TiandituMarkerComponent.prototype.getIconOptions = function (group) {
21255
+ var icon = this.iconUrl || 'assets/img/screen/marker.png';
21256
+ var height = this.iconHeight || 30;
21257
+ var width = this.iconWidth || 20;
21258
+ var offsetX = this.iconOffsetX == null ? width / 2 : this.iconOffsetX;
21259
+ var offsetY = this.iconOffsetY == null ? height : this.iconOffsetY;
21260
+ if (group && group.imageUrl) {
21261
+ icon = this.fileUrlService.getUrl(group.imageUrl);
21262
+ width = group.width || width;
21263
+ height = group.height || height;
21264
+ offsetX = group.XOffset != null ? group.XOffset : width / 2;
21265
+ offsetY = group.YOffset != null ? group.YOffset : height;
21266
+ }
21267
+ var iconOptions = new T.Icon({
21268
+ iconUrl: icon,
21269
+ iconSize: new T.Point(width, height),
21270
+ iconAnchor: new T.Point(offsetX, offsetY),
21271
+ });
21272
+ return iconOptions;
21273
+ };
21274
+ TiandituMarkerComponent.prototype.openInfo = function (content, e) {
21275
+ var point = e.lnglat;
21276
+ var markerInfoWin = new T.InfoWindow(content, { offset: new T.Point(0, -30) }); // 创建信息窗口对象
21277
+ this.parent.map.openInfoWindow(markerInfoWin, point); //开启信息窗口
21278
+ };
21279
+ TiandituMarkerComponent.prototype.addPickEvent = function (options) {
21280
+ // options.enablePicked = true;
21281
+ // options.onClick = ({ dataItem }) => {
21282
+ // // 每个图层都会触发一次click事件,如果每个图层都没有点中标记点,传出null
21283
+ // if (dataItem) {
21284
+ // this.clickData = dataItem;
21285
+ // }
21286
+ // if (this.unselectOnClickBlank !== false && this.clickTimeout == null) {
21287
+ // this.clickTimeout = setTimeout(() => {
21288
+ // if (this.clickData == null) {
21289
+ // this.selectedId = null;
21290
+ // this.select(null);
21291
+ // }
21292
+ // this.clickTimeout = null;
21293
+ // this.clickData = null;
21294
+ // this.subMarkers = null;
21295
+ // });
21296
+ // }
21297
+ // if (dataItem) {
21298
+ // if (dataItem.type === 'Feature') {
21299
+ // const coordinates = dataItem.geometry.coordinates;
21300
+ // this.parent.setCenterAndZoom(coordinates[0], coordinates[1], this.parent.map.getZoom() + 2);
21301
+ // } else {
21302
+ // const data = dataItem.properties.raw;
21303
+ // if (data) {
21304
+ // this.selectedId = dataItem.properties.id;
21305
+ // this.select(dataItem.properties.id);
21306
+ // this.zone.run(() => {
21307
+ // this.onClick.emit({ ...data, id: data.id_value || data.id });
21308
+ // });
21309
+ // }
21310
+ // }
21311
+ // }
21312
+ // };
21313
+ // if (this.parent.showType === 'mouseover') {
21314
+ // let infoWindow = null;
21315
+ // let infoWindowData = null;
21316
+ // options.onMousemove = ({ dataItem }) => {
21317
+ // const data = dataItem != null ? dataItem.properties.raw : null;
21318
+ // if (infoWindow != null && infoWindowData != data) {
21319
+ // infoWindow.close();
21320
+ // infoWindow = null;
21321
+ // }
21322
+ // if (data && data.information && infoWindow == null) {
21323
+ // infoWindowData = data;
21324
+ // infoWindow = this.parent.openInfoWindow(data, data.lng, data.lat);
21325
+ // }
21326
+ // };
21327
+ // }
21328
+ };
21329
+ TiandituMarkerComponent.prototype.select = function (id, options) {
21330
+ var _this = this;
21331
+ if (options === void 0) { options = {}; }
21332
+ if (id != this.currentSelectedId || options.force) {
21333
+ var item = void 0;
21334
+ if (id != null && id !== '') {
21335
+ item = this.dataMap[id];
21336
+ // 如果找不到数据,可能是数据还没加载,等数据加载了再执行
21337
+ if (item == null) {
21338
+ return;
21339
+ }
21340
+ }
21341
+ this.currentSelectedId = id;
21342
+ // let lastSelectGroup: string;
21343
+ // let currentSelectGroup: string;
21344
+ var selectedData_1;
21345
+ if (this.lastSelect) {
21346
+ // lastSelectGroup = this.lastSelect.properties.group;
21347
+ this.updateSize(this.lastSelect, 1);
21348
+ this.lastSelect = null;
21349
+ }
21350
+ if (item) {
21351
+ // currentSelectGroup = item.properties.group;
21352
+ // this.updateSize(item, this.selectedSize ?? 1.5);
21353
+ this.lastSelect = item;
21354
+ selectedData_1 = item;
21355
+ if (options.move) {
21356
+ // const layer = this.optionsMap[currentSelectGroup];
21357
+ var zoom = this.parent.map.getZoom();
21358
+ if (this.selectedMapZoom) {
21359
+ zoom = this.selectedMapZoom;
21360
+ }
21361
+ // else if (
21362
+ // layer instanceof mapvgl.ClusterLayer &&
21363
+ // this.clusterMaxZoom != null &&
21364
+ // Math.floor(zoom) <= this.clusterMaxZoom
21365
+ // ) {
21366
+ // zoom = this.clusterMaxZoom + 2;
21367
+ // }
21368
+ this.parent.setCenterAndZoom(selectedData_1.lng, selectedData_1.lat, zoom);
21369
+ }
21370
+ // if (selectedData.information && this.parent.showType !== 'mouseover') {
21371
+ // // 防止其他图层将信息窗口关闭
21372
+ // setTimeout(() => {
21373
+ // this.parent.openInfoWindow(selectedData, selectedData.lng, selectedData.lat);
21374
+ // });
21375
+ // }
21376
+ }
21377
+ else {
21378
+ selectedData_1 = {};
21379
+ }
21380
+ // if (options.resetLayer !== false) {
21381
+ // if (currentSelectGroup != null) {
21382
+ // this.resetLayerData(currentSelectGroup);
21383
+ // }
21384
+ // if (lastSelectGroup != null && lastSelectGroup !== currentSelectGroup) {
21385
+ // this.resetLayerData(lastSelectGroup);
21386
+ // }
21387
+ // }
21388
+ // 如果选中的id找不到对应数据,可能是数据还没加载,
21389
+ if (id == null || item != null) {
21390
+ this.zone.run(function () {
21391
+ _this.makerClick.emit(Object.assign(Object.assign({}, selectedData_1), { id: selectedData_1.id_value || selectedData_1.id }));
21392
+ });
21393
+ }
21394
+ }
21395
+ };
21396
+ TiandituMarkerComponent.prototype.resetLayerData = function (group) {
21397
+ // const layer = this.layerMap[group];
21398
+ // const data = this.groupData[group];
21399
+ // if (layer && data) {
21400
+ // layer.setData(data);
21401
+ // }
21402
+ };
21403
+ TiandituMarkerComponent.prototype.updateSize = function (item, scale) {
21404
+ // if (item && this.enlargeOnSelect) {
21405
+ // const layer = this.layerMap[item.properties.group];
21406
+ // let options: any;
21407
+ // if (layer instanceof mapvgl.ClusterLayer) {
21408
+ // options = layer.getOptions().iconOptions;
21409
+ // } else {
21410
+ // options = layer.getOptions();
21411
+ // }
21412
+ // const { height, width, offset } = options;
21413
+ // item.properties.height = height * scale;
21414
+ // item.properties.width = width * scale;
21415
+ // if (item.properties.offset) {
21416
+ // item.properties.offset = [offset[0] * scale, offset[1] * scale];
21417
+ // }
21418
+ // }
21419
+ };
21420
+ return TiandituMarkerComponent;
21421
+ }(BaseLayer$1));
21422
+ exports.ɵed.decorators = [
21423
+ { type: i0.Component, args: [{
21424
+ selector: 'sc-tianditu-marker',
21425
+ template: "",
21426
+ styles: [""]
21427
+ },] }
21428
+ ];
21429
+ exports.ɵed.ctorParameters = function () { return [
21430
+ { type: exports.ɵec },
21431
+ { type: i0.NgZone },
21432
+ { type: FileUrlService },
21433
+ { type: dropdown.NzContextMenuService }
21434
+ ]; };
21435
+ exports.ɵed.propDecorators = {
21436
+ menu: [{ type: i0.ViewChild, args: ['menu',] }]
21437
+ };
21438
+ __decorate([
21439
+ bbjWidgetBase.Property('', { min: 1, ui: { widget: 'myPicture', spanLabel: 0, spanControl: 24 } }),
21440
+ __metadata("design:type", Object)
21441
+ ], exports.ɵed.prototype, "iconUrl", void 0);
21442
+ __decorate([
21443
+ bbjWidgetBase.Property('图标宽', { type: 'number' }),
21444
+ __metadata("design:type", Object)
21445
+ ], exports.ɵed.prototype, "iconWidth", void 0);
21446
+ __decorate([
21447
+ bbjWidgetBase.Property('图标高', { type: 'number' }),
21448
+ __metadata("design:type", Object)
21449
+ ], exports.ɵed.prototype, "iconHeight", void 0);
21450
+ __decorate([
21451
+ bbjWidgetBase.Property('图标偏移x', { type: 'number' }),
21452
+ __metadata("design:type", Object)
21453
+ ], exports.ɵed.prototype, "iconOffsetX", void 0);
21454
+ __decorate([
21455
+ bbjWidgetBase.Property('图标偏移y', { type: 'number' }),
21456
+ __metadata("design:type", Object)
21457
+ ], exports.ɵed.prototype, "iconOffsetY", void 0);
21458
+ __decorate([
21459
+ bbjWidgetBase.Property('移至中心'),
21460
+ __metadata("design:type", Boolean)
21461
+ ], exports.ɵed.prototype, "toCenter", void 0);
21462
+ __decorate([
21463
+ bbjWidgetBase.Property('显示标签', { ui: { visibleIf: { enableMarkerClusterer: [false] } } }),
21464
+ __metadata("design:type", Boolean)
21465
+ ], exports.ɵed.prototype, "showLabel", void 0);
21466
+ __decorate([
21467
+ bbjWidgetBase.Property('标签显示缩放等级', { ui: { visibleIf: { showLabel: [true] } } }),
21468
+ __metadata("design:type", Number)
21469
+ ], exports.ɵed.prototype, "showLabelMinZoom", void 0);
21470
+ __decorate([
21471
+ bbjWidgetBase.Property('标签字体', { ui: { widget: 'myFont', visibleIf: { showLabel: [true] } } }),
21472
+ __metadata("design:type", Object)
21473
+ ], exports.ɵed.prototype, "labelFont", void 0);
21474
+ __decorate([
21475
+ bbjWidgetBase.Property('描边颜色', {
21476
+ ui: {
21477
+ widget: 'myColor',
21478
+ },
21479
+ }),
21480
+ __metadata("design:type", String)
21481
+ ], exports.ɵed.prototype, "stroke", void 0);
21482
+ __decorate([
21483
+ bbjWidgetBase.Property('描边粗细', { type: 'integer' }),
21484
+ __metadata("design:type", Number)
21485
+ ], exports.ɵed.prototype, "strokeWidth", void 0);
21486
+ __decorate([
21487
+ bbjWidgetBase.Property('标签偏移x', { ui: { widget: 'number', visibleIf: { showLabel: [true] } } }),
21488
+ __metadata("design:type", Object)
21489
+ ], exports.ɵed.prototype, "labelOffsetX", void 0);
21490
+ __decorate([
21491
+ bbjWidgetBase.Property('标签偏移y', { ui: { widget: 'number', visibleIf: { showLabel: [true] } } }),
21492
+ __metadata("design:type", Object)
21493
+ ], exports.ɵed.prototype, "labelOffsetY", void 0);
21494
+ __decorate([
21495
+ bbjWidgetBase.Property('选中时地图缩放', { type: 'number' }),
21496
+ __metadata("design:type", Number)
21497
+ ], exports.ɵed.prototype, "selectedMapZoom", void 0);
21498
+ __decorate([
21499
+ bbjWidgetBase.Property('点击空白取消选中', { type: 'boolean', default: true }),
21500
+ __metadata("design:type", Object)
21501
+ ], exports.ɵed.prototype, "unselectOnClickBlank", void 0);
21502
+ __decorate([
21503
+ bbjWidgetBase.Property('标记分组', {
21504
+ type: 'array',
21505
+ title: '标记分组',
21506
+ maxItems: 10,
21507
+ items: {
21508
+ type: 'object',
21509
+ properties: {
21510
+ group: {
21511
+ type: 'string',
21512
+ title: '分组',
21513
+ },
21514
+ // type: {
21515
+ // title: '类型',
21516
+ // type: 'string',
21517
+ // enum: [
21518
+ // {
21519
+ // label: '图标',
21520
+ // value: 'icon',
21521
+ // },
21522
+ // {
21523
+ // label: '圆点',
21524
+ // value: 'circle',
21525
+ // },
21526
+ // {
21527
+ // label: '正方形',
21528
+ // value: 'square',
21529
+ // },
21530
+ // {
21531
+ // label: '波纹',
21532
+ // value: 'wave',
21533
+ // },
21534
+ // {
21535
+ // label: '扩散',
21536
+ // value: 'bubble',
21537
+ // },
21538
+ // ],
21539
+ // default: 'icon',
21540
+ // },
21541
+ // color: {
21542
+ // type: 'string',
21543
+ // title: '颜色',
21544
+ // ui: { widget: 'myColor', visibleIf: { type: ['circle', 'square'] } },
21545
+ // },
21546
+ // size: {
21547
+ // type: 'number',
21548
+ // title: '尺寸',
21549
+ // ui: { visibleIf: { type: ['circle', 'square', 'wave', 'bubble'] } },
21550
+ // },
21551
+ imageUrl: {
21552
+ type: 'string',
21553
+ title: '图片',
21554
+ ui: {
21555
+ widget: 'myPicture',
21556
+ visibleIf: { type: ['icon'] },
21557
+ },
21558
+ },
21559
+ width: {
21560
+ type: 'number',
21561
+ title: '宽度',
21562
+ default: 19,
21563
+ ui: { visibleIf: { type: ['icon'] } },
21564
+ },
21565
+ height: {
21566
+ type: 'number',
21567
+ title: '高度',
21568
+ default: 25,
21569
+ ui: { visibleIf: { type: ['icon'] } },
21570
+ },
21571
+ XOffset: {
21572
+ type: 'number',
21573
+ title: 'X轴偏移',
21574
+ ui: { visibleIf: { type: ['icon'] } },
21575
+ },
21576
+ YOffset: {
21577
+ type: 'number',
21578
+ title: 'Y轴偏移',
21579
+ ui: { visibleIf: { type: ['icon'] } },
21580
+ },
21581
+ },
21582
+ required: [],
21583
+ },
21584
+ ui: { grid: { arraySpan: 24 }, spanControl: 24 },
21585
+ }),
21586
+ __metadata("design:type", Object)
21587
+ ], exports.ɵed.prototype, "groups", void 0);
21588
+ __decorate([
21589
+ bbjWidgetBase.Data({
21590
+ properties: {
21591
+ id: ɵ0$e,
21592
+ address: { type: 'string', title: '地点' },
21593
+ information: { type: 'string', title: '信息' },
21594
+ group: { type: 'string', title: '标记分组' },
21595
+ lng: { type: 'number', title: '经度' },
21596
+ lat: { type: 'number', title: '纬度' },
21597
+ icon: { type: 'string', title: '图标' },
21598
+ },
21599
+ }),
21600
+ __metadata("design:type", Array)
21601
+ ], exports.ɵed.prototype, "data", void 0);
21602
+ __decorate([
21603
+ bbjWidgetBase.DataOutput(['id', 'address', 'lng', 'lat']),
21604
+ bbjWidgetBase.Event('选中值改变', {
21605
+ params: {
21606
+ properties: {
21607
+ id: ɵ1$c,
21608
+ address: { type: 'string', title: '地点' },
21609
+ lng: { type: 'number', title: '经度' },
21610
+ lat: { type: 'number', title: '纬度' },
21611
+ },
21612
+ },
21613
+ }),
21614
+ __metadata("design:type", Object)
21615
+ ], exports.ɵed.prototype, "makerClick", void 0);
21616
+ __decorate([
21617
+ bbjWidgetBase.DataInput('选中id'),
21618
+ __metadata("design:type", String)
21619
+ ], exports.ɵed.prototype, "selectedId", void 0);
21620
+ __decorate([
21621
+ bbjWidgetBase.Event('点击', {
21622
+ params: {
21623
+ properties: {
21624
+ id: ɵ2$a,
21625
+ address: { type: 'string', title: '地点' },
21626
+ lng: { type: 'number', title: '经度' },
21627
+ lat: { type: 'number', title: '纬度' },
21628
+ },
21629
+ },
21630
+ }),
21631
+ __metadata("design:type", Object)
21632
+ ], exports.ɵed.prototype, "onClick", void 0);
21633
+ exports.ɵed = __decorate([
21634
+ bbjWidgetBase.Widget('标记层', {
21635
+ hidden: true,
21636
+ }),
21637
+ __metadata("design:paramtypes", [exports.ɵec,
21638
+ i0.NgZone,
21639
+ FileUrlService,
21640
+ dropdown.NzContextMenuService])
21641
+ ], exports.ɵed);
21642
+
21643
+ var TiandituModule = /** @class */ (function () {
21644
+ function TiandituModule(widgetService) {
21645
+ widgetService.register(exports.ɵec, { scaleContent: false });
21646
+ widgetService.register(exports.ɵed);
21647
+ }
21648
+ return TiandituModule;
21649
+ }());
21650
+ TiandituModule.decorators = [
21651
+ { type: i0.NgModule, args: [{
21652
+ declarations: [exports.ɵec, exports.ɵed],
21653
+ imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule],
21654
+ },] }
21655
+ ];
21656
+ TiandituModule.ctorParameters = function () { return [
21657
+ { type: bbjWidgetBase.WidgetService }
21658
+ ]; };
21659
+
20182
21660
  var ScreenWidgetModule = /** @class */ (function () {
20183
21661
  function ScreenWidgetModule(widgetService) {
20184
21662
  widgetService.register(exports.ɵp, { size: { width: 60, height: 30 } });
@@ -20627,6 +22105,11 @@
20627
22105
  IframeModule,
20628
22106
  VideoGridModule,
20629
22107
  Scatter3dModule,
22108
+ TiandituModule
22109
+ // DropDownDetailListModule,
22110
+ // DynamicListModule,
22111
+ // MyBaiduMapModule,
22112
+ // DataMapModule
20630
22113
  ],
20631
22114
  exports: [],
20632
22115
  declarations: [],
@@ -20636,7 +22119,7 @@
20636
22119
  { type: bbjWidgetBase.WidgetService }
20637
22120
  ]; };
20638
22121
 
20639
- exports.ɵeb = /** @class */ (function () {
22122
+ exports.ɵeg = /** @class */ (function () {
20640
22123
  function AnnouncementComponent(element) {
20641
22124
  this.element = element;
20642
22125
  this.headIconDisplay = true;
@@ -20674,32 +22157,32 @@
20674
22157
  };
20675
22158
  return AnnouncementComponent;
20676
22159
  }());
20677
- exports.ɵeb.decorators = [
22160
+ exports.ɵeg.decorators = [
20678
22161
  { type: i0.Component, args: [{
20679
22162
  selector: 'sc-announcement',
20680
22163
  template: "<ng-container *ngIf=\"data[0]\">\n {{data[0].content}}\n</ng-container>",
20681
22164
  styles: [":host{height:100%;overflow:auto;display:block}"]
20682
22165
  },] }
20683
22166
  ];
20684
- exports.ɵeb.ctorParameters = function () { return [
22167
+ exports.ɵeg.ctorParameters = function () { return [
20685
22168
  { type: i0.ElementRef }
20686
22169
  ]; };
20687
22170
  __decorate([
20688
22171
  bbjWidgetBase.Property('显示图标', { type: 'boolean' }),
20689
22172
  __metadata("design:type", Object)
20690
- ], exports.ɵeb.prototype, "headIconDisplay", void 0);
22173
+ ], exports.ɵeg.prototype, "headIconDisplay", void 0);
20691
22174
  __decorate([
20692
22175
  bbjWidgetBase.Property('内边距', { ui: { widget: 'myGrid' } }),
20693
22176
  __metadata("design:type", Object)
20694
- ], exports.ɵeb.prototype, "padding", void 0);
22177
+ ], exports.ɵeg.prototype, "padding", void 0);
20695
22178
  __decorate([
20696
22179
  bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
20697
22180
  __metadata("design:type", Object)
20698
- ], exports.ɵeb.prototype, "font", void 0);
22181
+ ], exports.ɵeg.prototype, "font", void 0);
20699
22182
  __decorate([
20700
22183
  bbjWidgetBase.Property('图标', { ui: { hidden: true } }),
20701
22184
  __metadata("design:type", Object)
20702
- ], exports.ɵeb.prototype, "icon", void 0);
22185
+ ], exports.ɵeg.prototype, "icon", void 0);
20703
22186
  __decorate([
20704
22187
  bbjWidgetBase.Data({
20705
22188
  properties: {
@@ -20707,23 +22190,23 @@
20707
22190
  },
20708
22191
  }),
20709
22192
  __metadata("design:type", Object)
20710
- ], exports.ɵeb.prototype, "data", void 0);
20711
- exports.ɵeb = __decorate([
22193
+ ], exports.ɵeg.prototype, "data", void 0);
22194
+ exports.ɵeg = __decorate([
20712
22195
  bbjWidgetBase.Widget('公告', { group: 'component', image: 'assets/img/screen/announcement.png', icon: 'iconmokuai' }),
20713
22196
  __metadata("design:paramtypes", [i0.ElementRef])
20714
- ], exports.ɵeb);
22197
+ ], exports.ɵeg);
20715
22198
 
20716
22199
  var AnnouncementModule = /** @class */ (function () {
20717
22200
  function AnnouncementModule(widgetService) {
20718
22201
  this.widgetService = widgetService;
20719
- widgetService.register(exports.ɵeb);
22202
+ widgetService.register(exports.ɵeg);
20720
22203
  }
20721
22204
  return AnnouncementModule;
20722
22205
  }());
20723
22206
  AnnouncementModule.decorators = [
20724
22207
  { type: i0.NgModule, args: [{
20725
22208
  declarations: [
20726
- exports.ɵeb
22209
+ exports.ɵeg
20727
22210
  ],
20728
22211
  imports: [
20729
22212
  common.CommonModule,
@@ -20746,8 +22229,8 @@
20746
22229
  }
20747
22230
  }
20748
22231
 
20749
- var ɵ0$e = { type: 'string', title: 'id' };
20750
- exports.ɵeg = /** @class */ (function () {
22232
+ var ɵ0$f = { type: 'string', title: 'id' };
22233
+ exports.ɵel = /** @class */ (function () {
20751
22234
  function CalendarComponent(router, cd) {
20752
22235
  var _this = this;
20753
22236
  this.router = router;
@@ -20867,40 +22350,40 @@
20867
22350
  };
20868
22351
  return CalendarComponent;
20869
22352
  }());
20870
- exports.ɵeg.decorators = [
22353
+ exports.ɵel.decorators = [
20871
22354
  { type: i0.Component, args: [{
20872
22355
  selector: 'sc-calendar',
20873
22356
  template: "<full-calendar *ngIf=\"calendarOptions\" [options]=\"calendarOptions\"></full-calendar>\n<ng-template *ngFor=\"let child of children\" widget-host [widget]=\"child\"></ng-template>\n",
20874
22357
  styles: [":host ::ng-deep .fc-direction-ltr{height:100%}:host ::ng-deep .fc .fc-view-harness{padding-bottom:0!important}:host ::ng-deep .fc-license-message{display:none}:host ::ng-deep .fc-daygrid-event{white-space:normal}"]
20875
22358
  },] }
20876
22359
  ];
20877
- exports.ɵeg.ctorParameters = function () { return [
22360
+ exports.ɵel.ctorParameters = function () { return [
20878
22361
  { type: router.Router },
20879
22362
  { type: i0.ChangeDetectorRef }
20880
22363
  ]; };
20881
22364
  __decorate([
20882
22365
  bbjWidgetBase.Property('是否自定义初始日期', { ui: { format: 'date', widget: 'checkbox', spanLabel: 0, spanControl: 24 } }),
20883
22366
  __metadata("design:type", Object)
20884
- ], exports.ɵeg.prototype, "isInitialDate", void 0);
22367
+ ], exports.ɵel.prototype, "isInitialDate", void 0);
20885
22368
  __decorate([
20886
22369
  bbjWidgetBase.Property('', { ui: { type: 'date', format: 'date', spanLabel: 0, spanControl: 24 } }),
20887
22370
  __metadata("design:type", Object)
20888
- ], exports.ɵeg.prototype, "initialDate", void 0);
22371
+ ], exports.ɵel.prototype, "initialDate", void 0);
20889
22372
  __decorate([
20890
22373
  bbjWidgetBase.Data({
20891
22374
  properties: {
20892
- id: ɵ0$e,
22375
+ id: ɵ0$f,
20893
22376
  start: { type: 'string', title: '开始日期' },
20894
22377
  end: { type: 'string', title: '结束日期' },
20895
22378
  title: { type: 'string', title: '内容' },
20896
22379
  },
20897
22380
  }),
20898
22381
  __metadata("design:type", Array)
20899
- ], exports.ɵeg.prototype, "data", void 0);
22382
+ ], exports.ɵel.prototype, "data", void 0);
20900
22383
  __decorate([
20901
22384
  bbjWidgetBase.DataOutput(['id', 'title']),
20902
22385
  __metadata("design:type", Object)
20903
- ], exports.ɵeg.prototype, "dataClick", void 0);
22386
+ ], exports.ɵel.prototype, "dataClick", void 0);
20904
22387
  __decorate([
20905
22388
  bbjWidgetBase.DataOutput({
20906
22389
  properties: {
@@ -20910,8 +22393,8 @@
20910
22393
  },
20911
22394
  }, { triggerLink: false }),
20912
22395
  __metadata("design:type", Object)
20913
- ], exports.ɵeg.prototype, "datesSetChange", void 0);
20914
- exports.ɵeg = __decorate([
22396
+ ], exports.ɵel.prototype, "datesSetChange", void 0);
22397
+ exports.ɵel = __decorate([
20915
22398
  bbjWidgetBase.Widget('日历', {
20916
22399
  group: 'component',
20917
22400
  image: 'assets/img/screen/rili.png',
@@ -20919,7 +22402,7 @@
20919
22402
  childTypes: ['sc-calendar-events', 'sc-calendar-background-events'],
20920
22403
  }),
20921
22404
  __metadata("design:paramtypes", [router.Router, i0.ChangeDetectorRef])
20922
- ], exports.ɵeg);
22405
+ ], exports.ɵel);
20923
22406
 
20924
22407
  var CalendarEventsChild = /** @class */ (function () {
20925
22408
  function CalendarEventsChild(parent) {
@@ -20945,11 +22428,11 @@
20945
22428
  { type: i0.Directive }
20946
22429
  ];
20947
22430
  CalendarEventsChild.ctorParameters = function () { return [
20948
- { type: exports.ɵeg }
22431
+ { type: exports.ɵel }
20949
22432
  ]; };
20950
22433
 
20951
- var ɵ0$f = { type: 'string', title: 'id' };
20952
- exports.ɵeh = /** @class */ (function (_super) {
22434
+ var ɵ0$g = { type: 'string', title: 'id' };
22435
+ exports.ɵem = /** @class */ (function (_super) {
20953
22436
  __extends(BackgroundEventsComponent, _super);
20954
22437
  function BackgroundEventsComponent(parent) {
20955
22438
  var _this = _super.call(this, parent) || this;
@@ -20974,15 +22457,15 @@
20974
22457
  };
20975
22458
  return BackgroundEventsComponent;
20976
22459
  }(CalendarEventsChild));
20977
- exports.ɵeh.decorators = [
22460
+ exports.ɵem.decorators = [
20978
22461
  { type: i0.Component, args: [{
20979
22462
  selector: 'sc-calendar-background-events',
20980
22463
  template: "",
20981
22464
  styles: [""]
20982
22465
  },] }
20983
22466
  ];
20984
- exports.ɵeh.ctorParameters = function () { return [
20985
- { type: exports.ɵeg }
22467
+ exports.ɵem.ctorParameters = function () { return [
22468
+ { type: exports.ɵel }
20986
22469
  ]; };
20987
22470
  __decorate([
20988
22471
  bbjWidgetBase.Property('颜色', {
@@ -20991,11 +22474,11 @@
20991
22474
  },
20992
22475
  }),
20993
22476
  __metadata("design:type", String)
20994
- ], exports.ɵeh.prototype, "color", void 0);
22477
+ ], exports.ɵem.prototype, "color", void 0);
20995
22478
  __decorate([
20996
22479
  bbjWidgetBase.Data({
20997
22480
  properties: {
20998
- id: ɵ0$f,
22481
+ id: ɵ0$g,
20999
22482
  start: { type: 'string', title: '开始日期' },
21000
22483
  end: { type: 'string', title: '结束日期' },
21001
22484
  title: { type: 'string', title: '标题' },
@@ -21003,14 +22486,14 @@
21003
22486
  },
21004
22487
  }),
21005
22488
  __metadata("design:type", Array)
21006
- ], exports.ɵeh.prototype, "data", void 0);
21007
- exports.ɵeh = __decorate([
22489
+ ], exports.ɵem.prototype, "data", void 0);
22490
+ exports.ɵem = __decorate([
21008
22491
  bbjWidgetBase.Widget('背景颜色', { hidden: true }),
21009
- __metadata("design:paramtypes", [exports.ɵeg])
21010
- ], exports.ɵeh);
22492
+ __metadata("design:paramtypes", [exports.ɵel])
22493
+ ], exports.ɵem);
21011
22494
 
21012
- var ɵ0$g = { type: 'string', title: 'id' };
21013
- exports.ɵej = /** @class */ (function (_super) {
22495
+ var ɵ0$h = { type: 'string', title: 'id' };
22496
+ exports.ɵeo = /** @class */ (function (_super) {
21014
22497
  __extends(EventsComponent, _super);
21015
22498
  function EventsComponent(parent) {
21016
22499
  var _this = _super.call(this, parent) || this;
@@ -21041,15 +22524,15 @@
21041
22524
  };
21042
22525
  return EventsComponent;
21043
22526
  }(CalendarEventsChild));
21044
- exports.ɵej.decorators = [
22527
+ exports.ɵeo.decorators = [
21045
22528
  { type: i0.Component, args: [{
21046
22529
  selector: 'sc-calendar-events',
21047
22530
  template: "",
21048
22531
  styles: [""]
21049
22532
  },] }
21050
22533
  ];
21051
- exports.ɵej.ctorParameters = function () { return [
21052
- { type: exports.ɵeg }
22534
+ exports.ɵeo.ctorParameters = function () { return [
22535
+ { type: exports.ɵel }
21053
22536
  ]; };
21054
22537
  __decorate([
21055
22538
  bbjWidgetBase.Property('颜色', {
@@ -21058,11 +22541,11 @@
21058
22541
  },
21059
22542
  }),
21060
22543
  __metadata("design:type", String)
21061
- ], exports.ɵej.prototype, "color", void 0);
22544
+ ], exports.ɵeo.prototype, "color", void 0);
21062
22545
  __decorate([
21063
22546
  bbjWidgetBase.Data({
21064
22547
  properties: {
21065
- id: ɵ0$g,
22548
+ id: ɵ0$h,
21066
22549
  start: { type: 'string', title: '开始日期' },
21067
22550
  end: { type: 'string', title: '结束日期' },
21068
22551
  title: { type: 'string', title: '标题' },
@@ -21070,15 +22553,15 @@
21070
22553
  },
21071
22554
  }),
21072
22555
  __metadata("design:type", Array)
21073
- ], exports.ɵej.prototype, "data", void 0);
22556
+ ], exports.ɵeo.prototype, "data", void 0);
21074
22557
  __decorate([
21075
22558
  bbjWidgetBase.DataOutput(['id', 'title']),
21076
22559
  __metadata("design:type", Object)
21077
- ], exports.ɵej.prototype, "dataClick", void 0);
21078
- exports.ɵej = __decorate([
22560
+ ], exports.ɵeo.prototype, "dataClick", void 0);
22561
+ exports.ɵeo = __decorate([
21079
22562
  bbjWidgetBase.Widget('事件', { hidden: true }),
21080
- __metadata("design:paramtypes", [exports.ɵeg])
21081
- ], exports.ɵej);
22563
+ __metadata("design:paramtypes", [exports.ɵel])
22564
+ ], exports.ɵeo);
21082
22565
 
21083
22566
  var CalendarModule = /** @class */ (function () {
21084
22567
  function CalendarModule(widgetService) {
@@ -21087,15 +22570,15 @@
21087
22570
  timeGridPlugin__default['default'],
21088
22571
  interactionPlugin__default['default'],
21089
22572
  ]);
21090
- widgetService.register(exports.ɵeg);
21091
- widgetService.register(exports.ɵej);
21092
- widgetService.register(exports.ɵeh);
22573
+ widgetService.register(exports.ɵel);
22574
+ widgetService.register(exports.ɵeo);
22575
+ widgetService.register(exports.ɵem);
21093
22576
  }
21094
22577
  return CalendarModule;
21095
22578
  }());
21096
22579
  CalendarModule.decorators = [
21097
22580
  { type: i0.NgModule, args: [{
21098
- declarations: [exports.ɵeg, exports.ɵeh, exports.ɵej],
22581
+ declarations: [exports.ɵel, exports.ɵem, exports.ɵeo],
21099
22582
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, angular.FullCalendarModule],
21100
22583
  },] }
21101
22584
  ];
@@ -21103,7 +22586,7 @@
21103
22586
  { type: bbjWidgetBase.WidgetService }
21104
22587
  ]; };
21105
22588
 
21106
- exports.ɵed = /** @class */ (function () {
22589
+ exports.ɵei = /** @class */ (function () {
21107
22590
  function TabsComponent() {
21108
22591
  this.type = 'line';
21109
22592
  this.size = 'default';
@@ -21122,14 +22605,14 @@
21122
22605
  };
21123
22606
  return TabsComponent;
21124
22607
  }());
21125
- exports.ɵed.decorators = [
22608
+ exports.ɵei.decorators = [
21126
22609
  { type: i0.Component, args: [{
21127
22610
  selector: 'sc-tabs',
21128
22611
  template: "<nz-tabset\n [style]=\"tabPosition === 'top' || tabPosition === 'bottom' ? 'padding:0 10px' : ''\"\n [(nzSelectedIndex)]=\"selectedIndex\"\n [nzAnimated]=\"animated\"\n [nzSize]=\"size\"\n [nzTabPosition]=\"tabPosition\"\n [nzType]=\"type\"\n [nzTabBarGutter]=\"tabBarGutter\"\n>\n <nz-tab *ngFor=\"let child of children\" [nzTitle]=\"child.option.title\" nzForceRender>\n <ng-template widgetHost [widget]=\"child\"></ng-template>\n </nz-tab>\n</nz-tabset>\n",
21129
22612
  styles: [":host{display:block}.ant-tabs,:host{height:100%}.ant-tabs ::ng-deep>.ant-tabs-nav{margin:0}.ant-tabs ::ng-deep .ant-tabs-content{height:100%}.ant-tabs ::ng-deep .ant-tabs-content .ant-tabs-tabpane{overflow:auto}.ant-tabs{display:flex}.ant-tabs ::ng-deep .ant-tabs-content{flex:1}.ant-tabs ::ng-deep.ant-tabs-bottom,.ant-tabs ::ng-deep.ant-tabs-top{flex-direction:column}.ant-tabs ::ng-deep.ant-tabs-bottom ::ng-deep>.ant-tabs-bar,.ant-tabs ::ng-deep.ant-tabs-right ::ng-deep>.ant-tabs-bar{order:1}"]
21130
22613
  },] }
21131
22614
  ];
21132
- exports.ɵed.ctorParameters = function () { return []; };
22615
+ exports.ɵei.ctorParameters = function () { return []; };
21133
22616
  __decorate([
21134
22617
  bbjWidgetBase.Property('页签样式', {
21135
22618
  enum: [
@@ -21138,7 +22621,7 @@
21138
22621
  ],
21139
22622
  }),
21140
22623
  __metadata("design:type", Object)
21141
- ], exports.ɵed.prototype, "type", void 0);
22624
+ ], exports.ɵei.prototype, "type", void 0);
21142
22625
  __decorate([
21143
22626
  bbjWidgetBase.Property('尺寸', {
21144
22627
  enum: [
@@ -21148,7 +22631,7 @@
21148
22631
  ],
21149
22632
  }),
21150
22633
  __metadata("design:type", Object)
21151
- ], exports.ɵed.prototype, "size", void 0);
22634
+ ], exports.ɵei.prototype, "size", void 0);
21152
22635
  __decorate([
21153
22636
  bbjWidgetBase.Property('页签位置', {
21154
22637
  enum: [
@@ -21159,16 +22642,16 @@
21159
22642
  ],
21160
22643
  }),
21161
22644
  __metadata("design:type", Object)
21162
- ], exports.ɵed.prototype, "tabPosition", void 0);
22645
+ ], exports.ɵei.prototype, "tabPosition", void 0);
21163
22646
  __decorate([
21164
22647
  bbjWidgetBase.Property('切换动画', { type: 'boolean', ui: { visibleIf: { tabPosition: ['top', 'bottom'] } } }),
21165
22648
  __metadata("design:type", Object)
21166
- ], exports.ɵed.prototype, "animated", void 0);
22649
+ ], exports.ɵei.prototype, "animated", void 0);
21167
22650
  __decorate([
21168
22651
  bbjWidgetBase.Property('间隙'),
21169
22652
  __metadata("design:type", Number)
21170
- ], exports.ɵed.prototype, "tabBarGutter", void 0);
21171
- exports.ɵed = __decorate([
22653
+ ], exports.ɵei.prototype, "tabBarGutter", void 0);
22654
+ exports.ɵei = __decorate([
21172
22655
  bbjWidgetBase.Widget('标签页', {
21173
22656
  group: 'component', image: 'assets/img/screen/tabs.png', icon: 'iconmokuai',
21174
22657
  children: [
@@ -21183,42 +22666,42 @@
21183
22666
  childTypes: ['sc-tab'],
21184
22667
  }),
21185
22668
  __metadata("design:paramtypes", [])
21186
- ], exports.ɵed);
22669
+ ], exports.ɵei);
21187
22670
 
21188
- exports.ɵee = /** @class */ (function () {
22671
+ exports.ɵej = /** @class */ (function () {
21189
22672
  function TabComponent() {
21190
22673
  this.title = 'New Tab';
21191
22674
  }
21192
22675
  TabComponent.prototype.ngOnInit = function () { };
21193
22676
  return TabComponent;
21194
22677
  }());
21195
- exports.ɵee.decorators = [
22678
+ exports.ɵej.decorators = [
21196
22679
  { type: i0.Component, args: [{
21197
22680
  selector: 'sc-tab',
21198
22681
  template: "<ng-template [widgetChildren]=\"children\"></ng-template>\n",
21199
22682
  styles: [""]
21200
22683
  },] }
21201
22684
  ];
21202
- exports.ɵee.ctorParameters = function () { return []; };
22685
+ exports.ɵej.ctorParameters = function () { return []; };
21203
22686
  __decorate([
21204
22687
  bbjWidgetBase.Property('标题'),
21205
22688
  __metadata("design:type", Object)
21206
- ], exports.ɵee.prototype, "title", void 0);
21207
- exports.ɵee = __decorate([
22689
+ ], exports.ɵej.prototype, "title", void 0);
22690
+ exports.ɵej = __decorate([
21208
22691
  bbjWidgetBase.Widget('选项卡', { hidden: true }),
21209
22692
  __metadata("design:paramtypes", [])
21210
- ], exports.ɵee);
22693
+ ], exports.ɵej);
21211
22694
 
21212
22695
  var TabsModule = /** @class */ (function () {
21213
22696
  function TabsModule(widgetService) {
21214
- widgetService.register(exports.ɵed);
21215
- widgetService.register(exports.ɵee);
22697
+ widgetService.register(exports.ɵei);
22698
+ widgetService.register(exports.ɵej);
21216
22699
  }
21217
22700
  return TabsModule;
21218
22701
  }());
21219
22702
  TabsModule.decorators = [
21220
22703
  { type: i0.NgModule, args: [{
21221
- declarations: [exports.ɵed, exports.ɵee],
22704
+ declarations: [exports.ɵei, exports.ɵej],
21222
22705
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, tabs.NzTabsModule],
21223
22706
  },] }
21224
22707
  ];
@@ -21226,7 +22709,7 @@
21226
22709
  { type: bbjWidgetBase.WidgetService }
21227
22710
  ]; };
21228
22711
 
21229
- exports.ɵel = /** @class */ (function () {
22712
+ exports.ɵeq = /** @class */ (function () {
21230
22713
  function GanttComponent(ele) {
21231
22714
  this.ele = ele;
21232
22715
  this.contentRenderers = new Map();
@@ -21385,27 +22868,27 @@
21385
22868
  };
21386
22869
  return GanttComponent;
21387
22870
  }());
21388
- exports.ɵel.decorators = [
22871
+ exports.ɵeq.decorators = [
21389
22872
  { type: i0.Component, args: [{
21390
22873
  selector: 'sc-gantt',
21391
22874
  template: "<!--<nz-date-picker [(ngModel)]=\"initDate\" (ngModelChange)=\"onChange(initDate)\"></nz-date-picker>-->\n<full-calendar *ngIf=\"calendarOptions\" [options]=\"calendarOptions\" ></full-calendar>\n<ng-template #fcEventContent let-data=\"data\">\n\n <div class=\"progress\" nz-tooltip [nzTooltipTitle]=\"titleTemplate\" [ngStyle]=\"data.progressStyle\">\n <span class=\"bar\" [ngStyle]=\"data.barStyle\">{{data.title}}</span>\n </div>\n <ng-template #titleTemplate><i nz-icon nzType=\"file\" style=\"margin-right: 8px\"></i> <span>{{data.title}}<br/>\u5F00\u59CB:{{data.start}}<br/>\u7ED3\u675F:{{data.end}}<br/>\u8FDB\u5EA6:{{data.progress}}</span></ng-template>\n</ng-template>\n\n",
21392
22875
  styles: [":host ::ng-deep .fc-direction-ltr{height:100%}:host ::ng-deep .fc .fc-view-harness{padding-bottom:0!important}:host ::ng-deep .progress{overflow:hidden;height:var(--height);background-color:#f7f7f7;background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#fff5f5f5\",endColorstr=\"#fff9f9f9\",GradientType=0);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);border-radius:4px;width:100%}:host ::ng-deep .progress .bar{white-space:nowrap;width:0;height:100%;color:#fff;float:left;font-size:12px;text-align:center;align-items:center;display:flex;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#0e90d2;background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ff149bdf\",endColorstr=\"#ff0480be\",GradientType=0);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-sizing:border-box;transition:width .6s ease}:host ::ng-deep .fc-license-message{display:none!important}:host ::ng-deep .fc table{font-size:17px!important}:host ::ng-deep .fc-resource .fc-datagrid-cell-main{font-size:var(--fontSize);color:var(--color);font-weight:var(--weight);font-family:var(--family);line-height:var(--lineHeight)}"]
21393
22876
  },] }
21394
22877
  ];
21395
- exports.ɵel.ctorParameters = function () { return [
22878
+ exports.ɵeq.ctorParameters = function () { return [
21396
22879
  { type: i0.ElementRef }
21397
22880
  ]; };
21398
- exports.ɵel.propDecorators = {
22881
+ exports.ɵeq.propDecorators = {
21399
22882
  eventContent: [{ type: i0.ViewChild, args: ['fcEventContent', { static: true },] }]
21400
22883
  };
21401
22884
  __decorate([
21402
22885
  bbjWidgetBase.Property('头部名称', { type: 'string' }),
21403
22886
  __metadata("design:type", Object)
21404
- ], exports.ɵel.prototype, "headerContent", void 0);
22887
+ ], exports.ɵeq.prototype, "headerContent", void 0);
21405
22888
  __decorate([
21406
22889
  bbjWidgetBase.Property('项目字体', { ui: { widget: 'myFont' } }),
21407
22890
  __metadata("design:type", Object)
21408
- ], exports.ɵel.prototype, "contentFont", void 0);
22891
+ ], exports.ɵeq.prototype, "contentFont", void 0);
21409
22892
  __decorate([
21410
22893
  bbjWidgetBase.Property('系列颜色', {
21411
22894
  ui: {
@@ -21414,19 +22897,19 @@
21414
22897
  },
21415
22898
  }),
21416
22899
  __metadata("design:type", Object)
21417
- ], exports.ɵel.prototype, "lineColor", void 0);
22900
+ ], exports.ɵeq.prototype, "lineColor", void 0);
21418
22901
  __decorate([
21419
22902
  bbjWidgetBase.Property('进度透明', { type: 'number', max: 1 }),
21420
22903
  __metadata("design:type", Object)
21421
- ], exports.ɵel.prototype, "progressTransparency", void 0);
22904
+ ], exports.ɵeq.prototype, "progressTransparency", void 0);
21422
22905
  __decorate([
21423
22906
  bbjWidgetBase.Property('区域占比', { type: 'number' }),
21424
22907
  __metadata("design:type", Object)
21425
- ], exports.ɵel.prototype, "areaRate", void 0);
22908
+ ], exports.ɵeq.prototype, "areaRate", void 0);
21426
22909
  __decorate([
21427
22910
  bbjWidgetBase.Property('进度条高度', { type: 'number' }),
21428
22911
  __metadata("design:type", Object)
21429
- ], exports.ɵel.prototype, "progressHeight", void 0);
22912
+ ], exports.ɵeq.prototype, "progressHeight", void 0);
21430
22913
  __decorate([
21431
22914
  bbjWidgetBase.Data({
21432
22915
  properties: {
@@ -21438,11 +22921,11 @@
21438
22921
  },
21439
22922
  }),
21440
22923
  __metadata("design:type", Array)
21441
- ], exports.ɵel.prototype, "data", void 0);
21442
- exports.ɵel = __decorate([
22924
+ ], exports.ɵeq.prototype, "data", void 0);
22925
+ exports.ɵeq = __decorate([
21443
22926
  bbjWidgetBase.Widget('甘特图', { group: 'component', image: 'assets/img/screen/gantt.png', icon: 'iconmokuai' }),
21444
22927
  __metadata("design:paramtypes", [i0.ElementRef])
21445
- ], exports.ɵel);
22928
+ ], exports.ɵeq);
21446
22929
 
21447
22930
  // import {FormsModule} from '@angular/forms';
21448
22931
  // import {NzDatePickerModule} from 'ng-zorro-antd/date-picker';
@@ -21455,13 +22938,13 @@
21455
22938
  interactionPlugin__default['default'],
21456
22939
  resourceTimelinePlugin__default['default'],
21457
22940
  ]);
21458
- widgetService.register(exports.ɵel);
22941
+ widgetService.register(exports.ɵeq);
21459
22942
  }
21460
22943
  return GanttModule;
21461
22944
  }());
21462
22945
  GanttModule.decorators = [
21463
22946
  { type: i0.NgModule, args: [{
21464
- declarations: [exports.ɵel],
22947
+ declarations: [exports.ɵeq],
21465
22948
  imports: [
21466
22949
  common.CommonModule,
21467
22950
  bbjWidgetBase.WidgetBaseModule,
@@ -21477,7 +22960,7 @@
21477
22960
  var WorkbenchWidgetModule = /** @class */ (function () {
21478
22961
  function WorkbenchWidgetModule(widgetService) {
21479
22962
  widgetService.register(exports.ɵp, { option: {}, size: { width: 3, height: 3 } });
21480
- widgetService.register(exports.ɵeg, { option: {}, size: { width: 16, height: 12 } });
22963
+ widgetService.register(exports.ɵel, { option: {}, size: { width: 16, height: 12 } });
21481
22964
  for (var i = 1; i <= 82; i++) {
21482
22965
  widgetService.register(exports.ɵb, {
21483
22966
  option: { image: "assets/img/screen/picture" + i + ".png", hideHead: true },
@@ -21925,7 +23408,7 @@
21925
23408
  size: { width: 10, height: 10 },
21926
23409
  });
21927
23410
  }
21928
- widgetService.register(exports.ɵeb, { size: { width: 14, height: 6 } });
23411
+ widgetService.register(exports.ɵeg, { size: { width: 14, height: 6 } });
21929
23412
  widgetService.register(exports.ɵbo, {
21930
23413
  option: {
21931
23414
  image: 'assets/img/screen/table.png',
@@ -22083,21 +23566,23 @@
22083
23566
  exports.ɵcr = MipAnimModule;
22084
23567
  exports.ɵcw = TimePickerModule;
22085
23568
  exports.ɵda = BaseLayer;
22086
- exports.ɵdf = UploadModule;
22087
- exports.ɵdi = Pie3dChartModule;
22088
- exports.ɵdk = HighChartsService;
22089
- exports.ɵdl = MultiTitleGaugeModule;
22090
- exports.ɵdn = GaugeProgressModule;
22091
- exports.ɵdp = ItemSwiperModule;
22092
- exports.ɵdr = BulletinBoardModule;
22093
- exports.ɵdt = TemporaryDataModule;
22094
- exports.ɵdv = LineLightFlowModule;
23569
+ exports.ɵdg = UploadModule;
23570
+ exports.ɵdj = Pie3dChartModule;
23571
+ exports.ɵdl = HighChartsService;
23572
+ exports.ɵdm = MultiTitleGaugeModule;
23573
+ exports.ɵdo = GaugeProgressModule;
23574
+ exports.ɵdq = ItemSwiperModule;
23575
+ exports.ɵds = BulletinBoardModule;
23576
+ exports.ɵdu = TemporaryDataModule;
23577
+ exports.ɵdw = LineLightFlowModule;
22095
23578
  exports.ɵe = LineBarChartModule;
22096
- exports.ɵea = AnnouncementModule;
22097
- exports.ɵec = TabsModule;
22098
- exports.ɵef = CalendarModule;
22099
- exports.ɵei = CalendarEventsChild;
22100
- exports.ɵek = GanttModule;
23579
+ exports.ɵeb = TiandituModule;
23580
+ exports.ɵee = BaseLayer$1;
23581
+ exports.ɵef = AnnouncementModule;
23582
+ exports.ɵeh = TabsModule;
23583
+ exports.ɵek = CalendarModule;
23584
+ exports.ɵen = CalendarEventsChild;
23585
+ exports.ɵep = GanttModule;
22101
23586
  exports.ɵo = ButtonModule;
22102
23587
  exports.ɵq = HttpService;
22103
23588
  exports.ɵr = TimerModule;