bbj-screen-widget 2.4.59 → 2.4.61

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.
@@ -15014,6 +15014,7 @@
15014
15014
  lineHeight: 0,
15015
15015
  };
15016
15016
  _this.shadow = { color: '', X: 0, Y: 0, Z: 0 };
15017
+ _this.selectedSize = 1.5;
15017
15018
  _this.unselectOnClickBlank = true;
15018
15019
  _this.groups = [];
15019
15020
  _this._data = [
@@ -15364,6 +15365,7 @@
15364
15365
  BaiduMarkerLayerComponent.prototype.select = function (id, options) {
15365
15366
  var _this = this;
15366
15367
  if (options === void 0) { options = {}; }
15368
+ var _a;
15367
15369
  if (id != this.currentSelectedId || options.force) {
15368
15370
  var item = void 0;
15369
15371
  if (id != null && id !== '') {
@@ -15384,13 +15386,18 @@
15384
15386
  }
15385
15387
  if (item) {
15386
15388
  currentSelectGroup = item.properties.group;
15387
- this.updateSize(item, 1.5);
15389
+ this.updateSize(item, (_a = this.selectedSize) !== null && _a !== void 0 ? _a : 1.5);
15388
15390
  this.lastSelect = item;
15389
15391
  selectedData_1 = item.properties.raw;
15390
15392
  if (options.move) {
15391
15393
  var layer = this.layerMap[currentSelectGroup];
15392
15394
  var zoom = this.parent.map.getZoom();
15393
- if (layer instanceof mapvgl.ClusterLayer && this.clusterMaxZoom != null && zoom <= this.clusterMaxZoom) {
15395
+ if (this.selectedMapZoom) {
15396
+ zoom = this.selectedMapZoom;
15397
+ }
15398
+ else if (layer instanceof mapvgl.ClusterLayer &&
15399
+ this.clusterMaxZoom != null &&
15400
+ Math.floor(zoom) <= this.clusterMaxZoom) {
15394
15401
  zoom = this.clusterMaxZoom + 2;
15395
15402
  }
15396
15403
  this.parent.setCenterAndZoom(selectedData_1.lng, selectedData_1.lat, zoom);
@@ -15558,6 +15565,14 @@
15558
15565
  bbjWidgetBase.Property('选中放大'),
15559
15566
  __metadata("design:type", Boolean)
15560
15567
  ], exports.ɵcz.prototype, "enlargeOnSelect", void 0);
15568
+ __decorate([
15569
+ bbjWidgetBase.Property('选中时放大倍数', { type: 'number' }),
15570
+ __metadata("design:type", Object)
15571
+ ], exports.ɵcz.prototype, "selectedSize", void 0);
15572
+ __decorate([
15573
+ bbjWidgetBase.Property('选中时地图缩放', { type: 'number' }),
15574
+ __metadata("design:type", Number)
15575
+ ], exports.ɵcz.prototype, "selectedMapZoom", void 0);
15561
15576
  __decorate([
15562
15577
  bbjWidgetBase.Property('点击空白取消选中', { type: 'boolean', default: true }),
15563
15578
  __metadata("design:type", Object)
@@ -19455,7 +19470,7 @@
19455
19470
  { type: bbjWidgetBase.WidgetService }
19456
19471
  ]; };
19457
19472
 
19458
- exports.ɵdy = /** @class */ (function () {
19473
+ exports.ɵdx = /** @class */ (function () {
19459
19474
  function VideoGridComponent() {
19460
19475
  this.size = 4;
19461
19476
  this.gutter = 4;
@@ -19536,14 +19551,14 @@
19536
19551
  };
19537
19552
  return VideoGridComponent;
19538
19553
  }());
19539
- exports.ɵdy.decorators = [
19554
+ exports.ɵdx.decorators = [
19540
19555
  { type: i0.Component, args: [{
19541
19556
  selector: 'sc-video-grid',
19542
19557
  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",
19543
19558
  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}"]
19544
19559
  },] }
19545
19560
  ];
19546
- exports.ɵdy.ctorParameters = function () { return []; };
19561
+ exports.ɵdx.ctorParameters = function () { return []; };
19547
19562
  __decorate([
19548
19563
  bbjWidgetBase.Property('宫格数', {
19549
19564
  enum: [
@@ -19552,27 +19567,27 @@
19552
19567
  ],
19553
19568
  }),
19554
19569
  __metadata("design:type", Object)
19555
- ], exports.ɵdy.prototype, "size", void 0);
19570
+ ], exports.ɵdx.prototype, "size", void 0);
19556
19571
  __decorate([
19557
19572
  bbjWidgetBase.Property('间隔', { type: 'number' }),
19558
19573
  __metadata("design:type", Object)
19559
- ], exports.ɵdy.prototype, "gutter", void 0);
19574
+ ], exports.ɵdx.prototype, "gutter", void 0);
19560
19575
  __decorate([
19561
19576
  bbjWidgetBase.Property('切换按钮'),
19562
19577
  __metadata("design:type", Boolean)
19563
- ], exports.ɵdy.prototype, "showToggle", void 0);
19578
+ ], exports.ɵdx.prototype, "showToggle", void 0);
19564
19579
  __decorate([
19565
19580
  bbjWidgetBase.Property('视频类型', { enum: ['flv', 'hls', 'iframe'] }),
19566
19581
  __metadata("design:type", Object)
19567
- ], exports.ɵdy.prototype, "type", void 0);
19582
+ ], exports.ɵdx.prototype, "type", void 0);
19568
19583
  __decorate([
19569
19584
  bbjWidgetBase.Property('是否有声音'),
19570
19585
  __metadata("design:type", Boolean)
19571
- ], exports.ɵdy.prototype, "hasAudio", void 0);
19586
+ ], exports.ɵdx.prototype, "hasAudio", void 0);
19572
19587
  __decorate([
19573
19588
  bbjWidgetBase.DataInput('视频地址'),
19574
19589
  __metadata("design:type", String)
19575
- ], exports.ɵdy.prototype, "src", void 0);
19590
+ ], exports.ɵdx.prototype, "src", void 0);
19576
19591
  __decorate([
19577
19592
  bbjWidgetBase.Data({
19578
19593
  properties: {
@@ -19580,21 +19595,28 @@
19580
19595
  },
19581
19596
  }),
19582
19597
  __metadata("design:type", Object)
19583
- ], exports.ɵdy.prototype, "data", void 0);
19584
- exports.ɵdy = __decorate([
19598
+ ], exports.ɵdx.prototype, "data", void 0);
19599
+ __decorate([
19600
+ bbjWidgetBase.Method('设置视频地址'),
19601
+ __param(0, bbjWidgetBase.Param('视频地址')),
19602
+ __metadata("design:type", Function),
19603
+ __metadata("design:paramtypes", [String]),
19604
+ __metadata("design:returntype", void 0)
19605
+ ], exports.ɵdx.prototype, "addSrc", null);
19606
+ exports.ɵdx = __decorate([
19585
19607
  bbjWidgetBase.Widget('视频宫格', { group: 'component', image: 'assets/img/screen/video-grid.png', icon: 'iconmokuai' }),
19586
19608
  __metadata("design:paramtypes", [])
19587
- ], exports.ɵdy);
19609
+ ], exports.ɵdx);
19588
19610
 
19589
19611
  var VideoGridModule = /** @class */ (function () {
19590
19612
  function VideoGridModule(widgetService) {
19591
- widgetService.register(exports.ɵdy);
19613
+ widgetService.register(exports.ɵdx);
19592
19614
  }
19593
19615
  return VideoGridModule;
19594
19616
  }());
19595
19617
  VideoGridModule.decorators = [
19596
19618
  { type: i0.NgModule, args: [{
19597
- declarations: [exports.ɵdy],
19619
+ declarations: [exports.ɵdx],
19598
19620
  imports: [common.CommonModule, VideoPlayerModule, grid.NzGridModule, icon.NzIconModule],
19599
19621
  },] }
19600
19622
  ];
@@ -19602,7 +19624,7 @@
19602
19624
  { type: bbjWidgetBase.WidgetService }
19603
19625
  ]; };
19604
19626
 
19605
- exports.ɵdz = /** @class */ (function () {
19627
+ exports.ɵdy = /** @class */ (function () {
19606
19628
  function Scatter3dComponent() {
19607
19629
  this.min = 0;
19608
19630
  this.max = 10;
@@ -19692,30 +19714,30 @@
19692
19714
  Scatter3dComponent.prototype.onChartClick = function (event) { };
19693
19715
  return Scatter3dComponent;
19694
19716
  }());
19695
- exports.ɵdz.decorators = [
19717
+ exports.ɵdy.decorators = [
19696
19718
  { type: i0.Component, args: [{
19697
19719
  selector: 'sc-scatter3d',
19698
19720
  template: "<div echarts [options]=\"options\" class=\"demo-chart\" (chartClick)=\"onChartClick($event)\"></div>\n",
19699
19721
  styles: [":host{display:block;width:100%}.demo-chart,:host{height:100%}"]
19700
19722
  },] }
19701
19723
  ];
19702
- exports.ɵdz.ctorParameters = function () { return []; };
19724
+ exports.ɵdy.ctorParameters = function () { return []; };
19703
19725
  __decorate([
19704
19726
  bbjWidgetBase.Property('最小值', { type: 'number' }),
19705
19727
  __metadata("design:type", Object)
19706
- ], exports.ɵdz.prototype, "min", void 0);
19728
+ ], exports.ɵdy.prototype, "min", void 0);
19707
19729
  __decorate([
19708
19730
  bbjWidgetBase.Property('最大值', { type: 'number' }),
19709
19731
  __metadata("design:type", Object)
19710
- ], exports.ɵdz.prototype, "max", void 0);
19732
+ ], exports.ɵdy.prototype, "max", void 0);
19711
19733
  __decorate([
19712
19734
  bbjWidgetBase.Property('最小尺寸', { type: 'number' }),
19713
19735
  __metadata("design:type", Object)
19714
- ], exports.ɵdz.prototype, "symbolSizeMin", void 0);
19736
+ ], exports.ɵdy.prototype, "symbolSizeMin", void 0);
19715
19737
  __decorate([
19716
19738
  bbjWidgetBase.Property('最大尺寸', { type: 'number' }),
19717
19739
  __metadata("design:type", Object)
19718
- ], exports.ɵdz.prototype, "symbolSizeMax", void 0);
19740
+ ], exports.ɵdy.prototype, "symbolSizeMax", void 0);
19719
19741
  __decorate([
19720
19742
  bbjWidgetBase.Property('颜色', {
19721
19743
  ui: {
@@ -19724,27 +19746,27 @@
19724
19746
  },
19725
19747
  }),
19726
19748
  __metadata("design:type", Object)
19727
- ], exports.ɵdz.prototype, "visualMapColor", void 0);
19749
+ ], exports.ɵdy.prototype, "visualMapColor", void 0);
19728
19750
  __decorate([
19729
19751
  bbjWidgetBase.Property('最小不透明度', { type: 'number', minimum: 0, maximum: 1 }),
19730
19752
  __metadata("design:type", Object)
19731
- ], exports.ɵdz.prototype, "colorAlphaMin", void 0);
19753
+ ], exports.ɵdy.prototype, "colorAlphaMin", void 0);
19732
19754
  __decorate([
19733
19755
  bbjWidgetBase.Property('最大不透明度', { type: 'number', minimum: 0, maximum: 1 }),
19734
19756
  __metadata("design:type", Object)
19735
- ], exports.ɵdz.prototype, "colorAlphaMax", void 0);
19757
+ ], exports.ɵdy.prototype, "colorAlphaMax", void 0);
19736
19758
  __decorate([
19737
19759
  bbjWidgetBase.Property('高度', { type: 'number' }),
19738
19760
  __metadata("design:type", Object)
19739
- ], exports.ɵdz.prototype, "boxHeight", void 0);
19761
+ ], exports.ɵdy.prototype, "boxHeight", void 0);
19740
19762
  __decorate([
19741
19763
  bbjWidgetBase.Property('宽度', { type: 'number' }),
19742
19764
  __metadata("design:type", Object)
19743
- ], exports.ɵdz.prototype, "boxWidth", void 0);
19765
+ ], exports.ɵdy.prototype, "boxWidth", void 0);
19744
19766
  __decorate([
19745
19767
  bbjWidgetBase.Property('深度', { type: 'number' }),
19746
19768
  __metadata("design:type", Object)
19747
- ], exports.ɵdz.prototype, "boxDepth", void 0);
19769
+ ], exports.ɵdy.prototype, "boxDepth", void 0);
19748
19770
  __decorate([
19749
19771
  bbjWidgetBase.Data({
19750
19772
  properties: {
@@ -19755,25 +19777,25 @@
19755
19777
  },
19756
19778
  }),
19757
19779
  __metadata("design:type", Object)
19758
- ], exports.ɵdz.prototype, "data", void 0);
19759
- exports.ɵdz = __decorate([
19780
+ ], exports.ɵdy.prototype, "data", void 0);
19781
+ exports.ɵdy = __decorate([
19760
19782
  bbjWidgetBase.Widget('3D散点图', {
19761
19783
  group: 'otherChart',
19762
19784
  image: 'assets/img/screen/bubble.png',
19763
19785
  icon: 'icontubiao',
19764
19786
  }),
19765
19787
  __metadata("design:paramtypes", [])
19766
- ], exports.ɵdz);
19788
+ ], exports.ɵdy);
19767
19789
 
19768
19790
  var Scatter3dModule = /** @class */ (function () {
19769
19791
  function Scatter3dModule(widgetService) {
19770
- widgetService.register(exports.ɵdz);
19792
+ widgetService.register(exports.ɵdy);
19771
19793
  }
19772
19794
  return Scatter3dModule;
19773
19795
  }());
19774
19796
  Scatter3dModule.decorators = [
19775
19797
  { type: i0.NgModule, args: [{
19776
- declarations: [exports.ɵdz],
19798
+ declarations: [exports.ɵdy],
19777
19799
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, ngxEcharts.NgxEchartsModule],
19778
19800
  },] }
19779
19801
  ];
@@ -20238,7 +20260,7 @@
20238
20260
  { type: bbjWidgetBase.WidgetService }
20239
20261
  ]; };
20240
20262
 
20241
- exports.ɵeb = /** @class */ (function () {
20263
+ exports.ɵea = /** @class */ (function () {
20242
20264
  function AnnouncementComponent(element) {
20243
20265
  this.element = element;
20244
20266
  this.headIconDisplay = true;
@@ -20276,32 +20298,32 @@
20276
20298
  };
20277
20299
  return AnnouncementComponent;
20278
20300
  }());
20279
- exports.ɵeb.decorators = [
20301
+ exports.ɵea.decorators = [
20280
20302
  { type: i0.Component, args: [{
20281
20303
  selector: 'sc-announcement',
20282
20304
  template: "<ng-container *ngIf=\"data[0]\">\n {{data[0].content}}\n</ng-container>",
20283
20305
  styles: [":host{height:100%;overflow:auto;display:block}"]
20284
20306
  },] }
20285
20307
  ];
20286
- exports.ɵeb.ctorParameters = function () { return [
20308
+ exports.ɵea.ctorParameters = function () { return [
20287
20309
  { type: i0.ElementRef }
20288
20310
  ]; };
20289
20311
  __decorate([
20290
20312
  bbjWidgetBase.Property('显示图标', { type: 'boolean' }),
20291
20313
  __metadata("design:type", Object)
20292
- ], exports.ɵeb.prototype, "headIconDisplay", void 0);
20314
+ ], exports.ɵea.prototype, "headIconDisplay", void 0);
20293
20315
  __decorate([
20294
20316
  bbjWidgetBase.Property('内边距', { ui: { widget: 'myGrid' } }),
20295
20317
  __metadata("design:type", Object)
20296
- ], exports.ɵeb.prototype, "padding", void 0);
20318
+ ], exports.ɵea.prototype, "padding", void 0);
20297
20319
  __decorate([
20298
20320
  bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
20299
20321
  __metadata("design:type", Object)
20300
- ], exports.ɵeb.prototype, "font", void 0);
20322
+ ], exports.ɵea.prototype, "font", void 0);
20301
20323
  __decorate([
20302
20324
  bbjWidgetBase.Property('图标', { ui: { hidden: true } }),
20303
20325
  __metadata("design:type", Object)
20304
- ], exports.ɵeb.prototype, "icon", void 0);
20326
+ ], exports.ɵea.prototype, "icon", void 0);
20305
20327
  __decorate([
20306
20328
  bbjWidgetBase.Data({
20307
20329
  properties: {
@@ -20309,23 +20331,23 @@
20309
20331
  },
20310
20332
  }),
20311
20333
  __metadata("design:type", Object)
20312
- ], exports.ɵeb.prototype, "data", void 0);
20313
- exports.ɵeb = __decorate([
20334
+ ], exports.ɵea.prototype, "data", void 0);
20335
+ exports.ɵea = __decorate([
20314
20336
  bbjWidgetBase.Widget('公告', { group: 'component', image: 'assets/img/screen/announcement.png', icon: 'iconmokuai' }),
20315
20337
  __metadata("design:paramtypes", [i0.ElementRef])
20316
- ], exports.ɵeb);
20338
+ ], exports.ɵea);
20317
20339
 
20318
20340
  var AnnouncementModule = /** @class */ (function () {
20319
20341
  function AnnouncementModule(widgetService) {
20320
20342
  this.widgetService = widgetService;
20321
- widgetService.register(exports.ɵeb);
20343
+ widgetService.register(exports.ɵea);
20322
20344
  }
20323
20345
  return AnnouncementModule;
20324
20346
  }());
20325
20347
  AnnouncementModule.decorators = [
20326
20348
  { type: i0.NgModule, args: [{
20327
20349
  declarations: [
20328
- exports.ɵeb
20350
+ exports.ɵea
20329
20351
  ],
20330
20352
  imports: [
20331
20353
  common.CommonModule,
@@ -20349,7 +20371,7 @@
20349
20371
  }
20350
20372
 
20351
20373
  var ɵ0$d = { type: 'string', title: 'id' };
20352
- exports.ɵeg = /** @class */ (function () {
20374
+ exports.ɵef = /** @class */ (function () {
20353
20375
  function CalendarComponent(router, cd) {
20354
20376
  var _this = this;
20355
20377
  this.router = router;
@@ -20469,25 +20491,25 @@
20469
20491
  };
20470
20492
  return CalendarComponent;
20471
20493
  }());
20472
- exports.ɵeg.decorators = [
20494
+ exports.ɵef.decorators = [
20473
20495
  { type: i0.Component, args: [{
20474
20496
  selector: 'sc-calendar',
20475
20497
  template: "<full-calendar *ngIf=\"calendarOptions\" [options]=\"calendarOptions\"></full-calendar>\n<ng-template *ngFor=\"let child of children\" widget-host [widget]=\"child\"></ng-template>\n",
20476
20498
  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}"]
20477
20499
  },] }
20478
20500
  ];
20479
- exports.ɵeg.ctorParameters = function () { return [
20501
+ exports.ɵef.ctorParameters = function () { return [
20480
20502
  { type: router.Router },
20481
20503
  { type: i0.ChangeDetectorRef }
20482
20504
  ]; };
20483
20505
  __decorate([
20484
20506
  bbjWidgetBase.Property('是否自定义初始日期', { ui: { format: 'date', widget: 'checkbox', spanLabel: 0, spanControl: 24 } }),
20485
20507
  __metadata("design:type", Object)
20486
- ], exports.ɵeg.prototype, "isInitialDate", void 0);
20508
+ ], exports.ɵef.prototype, "isInitialDate", void 0);
20487
20509
  __decorate([
20488
20510
  bbjWidgetBase.Property('', { ui: { type: 'date', format: 'date', spanLabel: 0, spanControl: 24 } }),
20489
20511
  __metadata("design:type", Object)
20490
- ], exports.ɵeg.prototype, "initialDate", void 0);
20512
+ ], exports.ɵef.prototype, "initialDate", void 0);
20491
20513
  __decorate([
20492
20514
  bbjWidgetBase.Data({
20493
20515
  properties: {
@@ -20498,11 +20520,11 @@
20498
20520
  },
20499
20521
  }),
20500
20522
  __metadata("design:type", Array)
20501
- ], exports.ɵeg.prototype, "data", void 0);
20523
+ ], exports.ɵef.prototype, "data", void 0);
20502
20524
  __decorate([
20503
20525
  bbjWidgetBase.DataOutput(['id', 'title']),
20504
20526
  __metadata("design:type", Object)
20505
- ], exports.ɵeg.prototype, "dataClick", void 0);
20527
+ ], exports.ɵef.prototype, "dataClick", void 0);
20506
20528
  __decorate([
20507
20529
  bbjWidgetBase.DataOutput({
20508
20530
  properties: {
@@ -20512,8 +20534,8 @@
20512
20534
  },
20513
20535
  }, { triggerLink: false }),
20514
20536
  __metadata("design:type", Object)
20515
- ], exports.ɵeg.prototype, "datesSetChange", void 0);
20516
- exports.ɵeg = __decorate([
20537
+ ], exports.ɵef.prototype, "datesSetChange", void 0);
20538
+ exports.ɵef = __decorate([
20517
20539
  bbjWidgetBase.Widget('日历', {
20518
20540
  group: 'component',
20519
20541
  image: 'assets/img/screen/rili.png',
@@ -20521,7 +20543,7 @@
20521
20543
  childTypes: ['sc-calendar-events', 'sc-calendar-background-events'],
20522
20544
  }),
20523
20545
  __metadata("design:paramtypes", [router.Router, i0.ChangeDetectorRef])
20524
- ], exports.ɵeg);
20546
+ ], exports.ɵef);
20525
20547
 
20526
20548
  var CalendarEventsChild = /** @class */ (function () {
20527
20549
  function CalendarEventsChild(parent) {
@@ -20547,11 +20569,11 @@
20547
20569
  { type: i0.Directive }
20548
20570
  ];
20549
20571
  CalendarEventsChild.ctorParameters = function () { return [
20550
- { type: exports.ɵeg }
20572
+ { type: exports.ɵef }
20551
20573
  ]; };
20552
20574
 
20553
20575
  var ɵ0$e = { type: 'string', title: 'id' };
20554
- exports.ɵeh = /** @class */ (function (_super) {
20576
+ exports.ɵeg = /** @class */ (function (_super) {
20555
20577
  __extends(BackgroundEventsComponent, _super);
20556
20578
  function BackgroundEventsComponent(parent) {
20557
20579
  var _this = _super.call(this, parent) || this;
@@ -20576,15 +20598,15 @@
20576
20598
  };
20577
20599
  return BackgroundEventsComponent;
20578
20600
  }(CalendarEventsChild));
20579
- exports.ɵeh.decorators = [
20601
+ exports.ɵeg.decorators = [
20580
20602
  { type: i0.Component, args: [{
20581
20603
  selector: 'sc-calendar-background-events',
20582
20604
  template: "",
20583
20605
  styles: [""]
20584
20606
  },] }
20585
20607
  ];
20586
- exports.ɵeh.ctorParameters = function () { return [
20587
- { type: exports.ɵeg }
20608
+ exports.ɵeg.ctorParameters = function () { return [
20609
+ { type: exports.ɵef }
20588
20610
  ]; };
20589
20611
  __decorate([
20590
20612
  bbjWidgetBase.Property('颜色', {
@@ -20593,7 +20615,7 @@
20593
20615
  },
20594
20616
  }),
20595
20617
  __metadata("design:type", String)
20596
- ], exports.ɵeh.prototype, "color", void 0);
20618
+ ], exports.ɵeg.prototype, "color", void 0);
20597
20619
  __decorate([
20598
20620
  bbjWidgetBase.Data({
20599
20621
  properties: {
@@ -20605,14 +20627,14 @@
20605
20627
  },
20606
20628
  }),
20607
20629
  __metadata("design:type", Array)
20608
- ], exports.ɵeh.prototype, "data", void 0);
20609
- exports.ɵeh = __decorate([
20630
+ ], exports.ɵeg.prototype, "data", void 0);
20631
+ exports.ɵeg = __decorate([
20610
20632
  bbjWidgetBase.Widget('背景颜色', { hidden: true }),
20611
- __metadata("design:paramtypes", [exports.ɵeg])
20612
- ], exports.ɵeh);
20633
+ __metadata("design:paramtypes", [exports.ɵef])
20634
+ ], exports.ɵeg);
20613
20635
 
20614
20636
  var ɵ0$f = { type: 'string', title: 'id' };
20615
- exports.ɵej = /** @class */ (function (_super) {
20637
+ exports.ɵei = /** @class */ (function (_super) {
20616
20638
  __extends(EventsComponent, _super);
20617
20639
  function EventsComponent(parent) {
20618
20640
  var _this = _super.call(this, parent) || this;
@@ -20643,15 +20665,15 @@
20643
20665
  };
20644
20666
  return EventsComponent;
20645
20667
  }(CalendarEventsChild));
20646
- exports.ɵej.decorators = [
20668
+ exports.ɵei.decorators = [
20647
20669
  { type: i0.Component, args: [{
20648
20670
  selector: 'sc-calendar-events',
20649
20671
  template: "",
20650
20672
  styles: [""]
20651
20673
  },] }
20652
20674
  ];
20653
- exports.ɵej.ctorParameters = function () { return [
20654
- { type: exports.ɵeg }
20675
+ exports.ɵei.ctorParameters = function () { return [
20676
+ { type: exports.ɵef }
20655
20677
  ]; };
20656
20678
  __decorate([
20657
20679
  bbjWidgetBase.Property('颜色', {
@@ -20660,7 +20682,7 @@
20660
20682
  },
20661
20683
  }),
20662
20684
  __metadata("design:type", String)
20663
- ], exports.ɵej.prototype, "color", void 0);
20685
+ ], exports.ɵei.prototype, "color", void 0);
20664
20686
  __decorate([
20665
20687
  bbjWidgetBase.Data({
20666
20688
  properties: {
@@ -20672,15 +20694,15 @@
20672
20694
  },
20673
20695
  }),
20674
20696
  __metadata("design:type", Array)
20675
- ], exports.ɵej.prototype, "data", void 0);
20697
+ ], exports.ɵei.prototype, "data", void 0);
20676
20698
  __decorate([
20677
20699
  bbjWidgetBase.DataOutput(['id', 'title']),
20678
20700
  __metadata("design:type", Object)
20679
- ], exports.ɵej.prototype, "dataClick", void 0);
20680
- exports.ɵej = __decorate([
20701
+ ], exports.ɵei.prototype, "dataClick", void 0);
20702
+ exports.ɵei = __decorate([
20681
20703
  bbjWidgetBase.Widget('事件', { hidden: true }),
20682
- __metadata("design:paramtypes", [exports.ɵeg])
20683
- ], exports.ɵej);
20704
+ __metadata("design:paramtypes", [exports.ɵef])
20705
+ ], exports.ɵei);
20684
20706
 
20685
20707
  var CalendarModule = /** @class */ (function () {
20686
20708
  function CalendarModule(widgetService) {
@@ -20689,15 +20711,15 @@
20689
20711
  timeGridPlugin__default['default'],
20690
20712
  interactionPlugin__default['default'],
20691
20713
  ]);
20714
+ widgetService.register(exports.ɵef);
20715
+ widgetService.register(exports.ɵei);
20692
20716
  widgetService.register(exports.ɵeg);
20693
- widgetService.register(exports.ɵej);
20694
- widgetService.register(exports.ɵeh);
20695
20717
  }
20696
20718
  return CalendarModule;
20697
20719
  }());
20698
20720
  CalendarModule.decorators = [
20699
20721
  { type: i0.NgModule, args: [{
20700
- declarations: [exports.ɵeg, exports.ɵeh, exports.ɵej],
20722
+ declarations: [exports.ɵef, exports.ɵeg, exports.ɵei],
20701
20723
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, angular.FullCalendarModule],
20702
20724
  },] }
20703
20725
  ];
@@ -20705,7 +20727,7 @@
20705
20727
  { type: bbjWidgetBase.WidgetService }
20706
20728
  ]; };
20707
20729
 
20708
- exports.ɵed = /** @class */ (function () {
20730
+ exports.ɵec = /** @class */ (function () {
20709
20731
  function TabsComponent() {
20710
20732
  this.type = 'line';
20711
20733
  this.size = 'default';
@@ -20724,14 +20746,14 @@
20724
20746
  };
20725
20747
  return TabsComponent;
20726
20748
  }());
20727
- exports.ɵed.decorators = [
20749
+ exports.ɵec.decorators = [
20728
20750
  { type: i0.Component, args: [{
20729
20751
  selector: 'sc-tabs',
20730
20752
  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",
20731
20753
  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}"]
20732
20754
  },] }
20733
20755
  ];
20734
- exports.ɵed.ctorParameters = function () { return []; };
20756
+ exports.ɵec.ctorParameters = function () { return []; };
20735
20757
  __decorate([
20736
20758
  bbjWidgetBase.Property('页签样式', {
20737
20759
  enum: [
@@ -20740,7 +20762,7 @@
20740
20762
  ],
20741
20763
  }),
20742
20764
  __metadata("design:type", Object)
20743
- ], exports.ɵed.prototype, "type", void 0);
20765
+ ], exports.ɵec.prototype, "type", void 0);
20744
20766
  __decorate([
20745
20767
  bbjWidgetBase.Property('尺寸', {
20746
20768
  enum: [
@@ -20750,7 +20772,7 @@
20750
20772
  ],
20751
20773
  }),
20752
20774
  __metadata("design:type", Object)
20753
- ], exports.ɵed.prototype, "size", void 0);
20775
+ ], exports.ɵec.prototype, "size", void 0);
20754
20776
  __decorate([
20755
20777
  bbjWidgetBase.Property('页签位置', {
20756
20778
  enum: [
@@ -20761,16 +20783,16 @@
20761
20783
  ],
20762
20784
  }),
20763
20785
  __metadata("design:type", Object)
20764
- ], exports.ɵed.prototype, "tabPosition", void 0);
20786
+ ], exports.ɵec.prototype, "tabPosition", void 0);
20765
20787
  __decorate([
20766
20788
  bbjWidgetBase.Property('切换动画', { type: 'boolean', ui: { visibleIf: { tabPosition: ['top', 'bottom'] } } }),
20767
20789
  __metadata("design:type", Object)
20768
- ], exports.ɵed.prototype, "animated", void 0);
20790
+ ], exports.ɵec.prototype, "animated", void 0);
20769
20791
  __decorate([
20770
20792
  bbjWidgetBase.Property('间隙'),
20771
20793
  __metadata("design:type", Number)
20772
- ], exports.ɵed.prototype, "tabBarGutter", void 0);
20773
- exports.ɵed = __decorate([
20794
+ ], exports.ɵec.prototype, "tabBarGutter", void 0);
20795
+ exports.ɵec = __decorate([
20774
20796
  bbjWidgetBase.Widget('标签页', {
20775
20797
  group: 'component', image: 'assets/img/screen/tabs.png', icon: 'iconmokuai',
20776
20798
  children: [
@@ -20785,42 +20807,42 @@
20785
20807
  childTypes: ['sc-tab'],
20786
20808
  }),
20787
20809
  __metadata("design:paramtypes", [])
20788
- ], exports.ɵed);
20810
+ ], exports.ɵec);
20789
20811
 
20790
- exports.ɵee = /** @class */ (function () {
20812
+ exports.ɵed = /** @class */ (function () {
20791
20813
  function TabComponent() {
20792
20814
  this.title = 'New Tab';
20793
20815
  }
20794
20816
  TabComponent.prototype.ngOnInit = function () { };
20795
20817
  return TabComponent;
20796
20818
  }());
20797
- exports.ɵee.decorators = [
20819
+ exports.ɵed.decorators = [
20798
20820
  { type: i0.Component, args: [{
20799
20821
  selector: 'sc-tab',
20800
20822
  template: "<ng-template [widgetChildren]=\"children\"></ng-template>\n",
20801
20823
  styles: [""]
20802
20824
  },] }
20803
20825
  ];
20804
- exports.ɵee.ctorParameters = function () { return []; };
20826
+ exports.ɵed.ctorParameters = function () { return []; };
20805
20827
  __decorate([
20806
20828
  bbjWidgetBase.Property('标题'),
20807
20829
  __metadata("design:type", Object)
20808
- ], exports.ɵee.prototype, "title", void 0);
20809
- exports.ɵee = __decorate([
20830
+ ], exports.ɵed.prototype, "title", void 0);
20831
+ exports.ɵed = __decorate([
20810
20832
  bbjWidgetBase.Widget('选项卡', { hidden: true }),
20811
20833
  __metadata("design:paramtypes", [])
20812
- ], exports.ɵee);
20834
+ ], exports.ɵed);
20813
20835
 
20814
20836
  var TabsModule = /** @class */ (function () {
20815
20837
  function TabsModule(widgetService) {
20838
+ widgetService.register(exports.ɵec);
20816
20839
  widgetService.register(exports.ɵed);
20817
- widgetService.register(exports.ɵee);
20818
20840
  }
20819
20841
  return TabsModule;
20820
20842
  }());
20821
20843
  TabsModule.decorators = [
20822
20844
  { type: i0.NgModule, args: [{
20823
- declarations: [exports.ɵed, exports.ɵee],
20845
+ declarations: [exports.ɵec, exports.ɵed],
20824
20846
  imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, tabs.NzTabsModule],
20825
20847
  },] }
20826
20848
  ];
@@ -20828,7 +20850,7 @@
20828
20850
  { type: bbjWidgetBase.WidgetService }
20829
20851
  ]; };
20830
20852
 
20831
- exports.ɵel = /** @class */ (function () {
20853
+ exports.ɵek = /** @class */ (function () {
20832
20854
  function GanttComponent(ele) {
20833
20855
  this.ele = ele;
20834
20856
  this.contentRenderers = new Map();
@@ -20987,27 +21009,27 @@
20987
21009
  };
20988
21010
  return GanttComponent;
20989
21011
  }());
20990
- exports.ɵel.decorators = [
21012
+ exports.ɵek.decorators = [
20991
21013
  { type: i0.Component, args: [{
20992
21014
  selector: 'sc-gantt',
20993
21015
  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",
20994
21016
  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)}"]
20995
21017
  },] }
20996
21018
  ];
20997
- exports.ɵel.ctorParameters = function () { return [
21019
+ exports.ɵek.ctorParameters = function () { return [
20998
21020
  { type: i0.ElementRef }
20999
21021
  ]; };
21000
- exports.ɵel.propDecorators = {
21022
+ exports.ɵek.propDecorators = {
21001
21023
  eventContent: [{ type: i0.ViewChild, args: ['fcEventContent', { static: true },] }]
21002
21024
  };
21003
21025
  __decorate([
21004
21026
  bbjWidgetBase.Property('头部名称', { type: 'string' }),
21005
21027
  __metadata("design:type", Object)
21006
- ], exports.ɵel.prototype, "headerContent", void 0);
21028
+ ], exports.ɵek.prototype, "headerContent", void 0);
21007
21029
  __decorate([
21008
21030
  bbjWidgetBase.Property('项目字体', { ui: { widget: 'myFont' } }),
21009
21031
  __metadata("design:type", Object)
21010
- ], exports.ɵel.prototype, "contentFont", void 0);
21032
+ ], exports.ɵek.prototype, "contentFont", void 0);
21011
21033
  __decorate([
21012
21034
  bbjWidgetBase.Property('系列颜色', {
21013
21035
  ui: {
@@ -21016,19 +21038,19 @@
21016
21038
  },
21017
21039
  }),
21018
21040
  __metadata("design:type", Object)
21019
- ], exports.ɵel.prototype, "lineColor", void 0);
21041
+ ], exports.ɵek.prototype, "lineColor", void 0);
21020
21042
  __decorate([
21021
21043
  bbjWidgetBase.Property('进度透明', { type: 'number', max: 1 }),
21022
21044
  __metadata("design:type", Object)
21023
- ], exports.ɵel.prototype, "progressTransparency", void 0);
21045
+ ], exports.ɵek.prototype, "progressTransparency", void 0);
21024
21046
  __decorate([
21025
21047
  bbjWidgetBase.Property('区域占比', { type: 'number' }),
21026
21048
  __metadata("design:type", Object)
21027
- ], exports.ɵel.prototype, "areaRate", void 0);
21049
+ ], exports.ɵek.prototype, "areaRate", void 0);
21028
21050
  __decorate([
21029
21051
  bbjWidgetBase.Property('进度条高度', { type: 'number' }),
21030
21052
  __metadata("design:type", Object)
21031
- ], exports.ɵel.prototype, "progressHeight", void 0);
21053
+ ], exports.ɵek.prototype, "progressHeight", void 0);
21032
21054
  __decorate([
21033
21055
  bbjWidgetBase.Data({
21034
21056
  properties: {
@@ -21040,11 +21062,11 @@
21040
21062
  },
21041
21063
  }),
21042
21064
  __metadata("design:type", Array)
21043
- ], exports.ɵel.prototype, "data", void 0);
21044
- exports.ɵel = __decorate([
21065
+ ], exports.ɵek.prototype, "data", void 0);
21066
+ exports.ɵek = __decorate([
21045
21067
  bbjWidgetBase.Widget('甘特图', { group: 'component', image: 'assets/img/screen/gantt.png', icon: 'iconmokuai' }),
21046
21068
  __metadata("design:paramtypes", [i0.ElementRef])
21047
- ], exports.ɵel);
21069
+ ], exports.ɵek);
21048
21070
 
21049
21071
  // import {FormsModule} from '@angular/forms';
21050
21072
  // import {NzDatePickerModule} from 'ng-zorro-antd/date-picker';
@@ -21057,13 +21079,13 @@
21057
21079
  interactionPlugin__default['default'],
21058
21080
  resourceTimelinePlugin__default['default'],
21059
21081
  ]);
21060
- widgetService.register(exports.ɵel);
21082
+ widgetService.register(exports.ɵek);
21061
21083
  }
21062
21084
  return GanttModule;
21063
21085
  }());
21064
21086
  GanttModule.decorators = [
21065
21087
  { type: i0.NgModule, args: [{
21066
- declarations: [exports.ɵel],
21088
+ declarations: [exports.ɵek],
21067
21089
  imports: [
21068
21090
  common.CommonModule,
21069
21091
  bbjWidgetBase.WidgetBaseModule,
@@ -21079,7 +21101,7 @@
21079
21101
  var WorkbenchWidgetModule = /** @class */ (function () {
21080
21102
  function WorkbenchWidgetModule(widgetService) {
21081
21103
  widgetService.register(exports.ɵp, { option: {}, size: { width: 3, height: 3 } });
21082
- widgetService.register(exports.ɵeg, { option: {}, size: { width: 16, height: 12 } });
21104
+ widgetService.register(exports.ɵef, { option: {}, size: { width: 16, height: 12 } });
21083
21105
  for (var i = 1; i <= 82; i++) {
21084
21106
  widgetService.register(exports.ɵb, {
21085
21107
  option: { image: "assets/img/screen/picture" + i + ".png", hideHead: true },
@@ -21527,7 +21549,7 @@
21527
21549
  size: { width: 10, height: 10 },
21528
21550
  });
21529
21551
  }
21530
- widgetService.register(exports.ɵeb, { size: { width: 14, height: 6 } });
21552
+ widgetService.register(exports.ɵea, { size: { width: 14, height: 6 } });
21531
21553
  widgetService.register(exports.ɵbo, {
21532
21554
  option: {
21533
21555
  image: 'assets/img/screen/table.png',
@@ -21653,6 +21675,7 @@
21653
21675
  exports.TableModule = TableModule;
21654
21676
  exports.TreeControlModule = TreeControlModule;
21655
21677
  exports.TreeRingChartModule = TreeRingChartModule;
21678
+ exports.VideoGridModule = VideoGridModule;
21656
21679
  exports.VideoPlayerModule = VideoPlayerModule;
21657
21680
  exports.VisualMapChartModule = VisualMapChartModule;
21658
21681
  exports.WorkbenchWidgetModule = WorkbenchWidgetModule;
@@ -21693,13 +21716,12 @@
21693
21716
  exports.ɵdq = BulletinBoardModule;
21694
21717
  exports.ɵds = TemporaryDataModule;
21695
21718
  exports.ɵdu = LineLightFlowModule;
21696
- exports.ɵdx = VideoGridModule;
21719
+ exports.ɵdz = AnnouncementModule;
21697
21720
  exports.ɵe = LineBarChartModule;
21698
- exports.ɵea = AnnouncementModule;
21699
- exports.ɵec = TabsModule;
21700
- exports.ɵef = CalendarModule;
21701
- exports.ɵei = CalendarEventsChild;
21702
- exports.ɵek = GanttModule;
21721
+ exports.ɵeb = TabsModule;
21722
+ exports.ɵee = CalendarModule;
21723
+ exports.ɵeh = CalendarEventsChild;
21724
+ exports.ɵej = GanttModule;
21703
21725
  exports.ɵo = ButtonModule;
21704
21726
  exports.ɵq = HttpService;
21705
21727
  exports.ɵr = TimerModule;