bbj-screen-widget 2.4.63 → 2.4.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bbj-screen-widget.d.ts +34 -33
- package/bbj-screen-widget.metadata.json +1 -1
- package/bundles/bbj-screen-widget.umd.js +719 -347
- package/bundles/bbj-screen-widget.umd.js.map +1 -1
- package/bundles/bbj-screen-widget.umd.min.js +1 -1
- package/bundles/bbj-screen-widget.umd.min.js.map +1 -1
- package/esm2015/bbj-screen-widget.js +35 -34
- package/esm2015/lib/custom-baidu-map/baidu-fence/baidu-fence.component.js +400 -0
- package/esm2015/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.js +1 -27
- package/esm2015/lib/custom-baidu-map/base-layer.js +27 -1
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +11 -4
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.module.js +6 -1
- package/fesm2015/bbj-screen-widget.js +441 -38
- package/fesm2015/bbj-screen-widget.js.map +1 -1
- package/lib/custom-baidu-map/baidu-fence/baidu-fence.component.d.ts +29 -0
- package/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.d.ts +0 -1
- package/lib/custom-baidu-map/base-layer.d.ts +1 -0
- package/package.json +2 -1
|
@@ -14080,7 +14080,8 @@
|
|
|
14080
14080
|
_this.dataChange.emit(center);
|
|
14081
14081
|
});
|
|
14082
14082
|
_this.map.addEventListener('click', function (event) {
|
|
14083
|
-
|
|
14083
|
+
console.log(event);
|
|
14084
|
+
_this.mapClick.emit(event.latlng);
|
|
14084
14085
|
});
|
|
14085
14086
|
_this.map.addEventListener('zoomend', function (event) {
|
|
14086
14087
|
_this.zoomChange.emit(_this.map.getZoom());
|
|
@@ -14383,7 +14384,7 @@
|
|
|
14383
14384
|
{ type: i0.Component, args: [{
|
|
14384
14385
|
selector: 'sc-custom-baidu-map',
|
|
14385
14386
|
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",
|
|
14386
|
-
styles: [":host{display:block;height:100%;width:100%;overflow:hidden;transform-origin:0 0;z-index:0;pointer-events:none}:host>*{pointer-events:auto}.map{height:100%;width:100%}:host::ng-deep .BMap_bubble_pop{background-color:var(--info-window-background,#fff)!important;border-color:var(--info-window-border-color,#ddd)!important}:host::ng-deep .BMap_bubble_content{color:var(--info-window-color,\"#555555\")!important}:host::ng-deep .BMap_pop div{background-color:var(--info-window-background,#fff)!important}:host::ng-deep .BMap_pop>div:nth-child(8){background-color:transparent!important}:host.hideInfoWindowTail::ng-deep .BMap_bubble_pop>img,:host.hideInfoWindowTail::ng-deep .BMap_pop>div:nth-child(8),:host::ng-deep img[src$=\"/image/api/iws3.png\"]{display:none}:host.hideInfoWindowTop::ng-deep .BMap_bubble_pop{transform:translateY(31px)}:host.hideInfoWindowTop::ng-deep .BMap_bubble_pop>img{transform:translateY(-31px)}:host.hideInfoWindowTop::ng-deep .BMap_bubble_top,:host::ng-deep .anchorBL{display:none}.map-type-radio{position:absolute;bottom:20px;right:20px;z-index:10}"]
|
|
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}"]
|
|
14387
14388
|
},] }
|
|
14388
14389
|
];
|
|
14389
14390
|
exports.ɵcy.ctorParameters = function () { return [
|
|
@@ -14570,7 +14571,13 @@
|
|
|
14570
14571
|
hideChild: true,
|
|
14571
14572
|
},
|
|
14572
14573
|
],
|
|
14573
|
-
childTypes: [
|
|
14574
|
+
childTypes: [
|
|
14575
|
+
'sc-baidu-marker-layer',
|
|
14576
|
+
'sc-baidu-polyline-layer',
|
|
14577
|
+
'sc-wind-layer',
|
|
14578
|
+
'sc-typhoon-area-layer',
|
|
14579
|
+
'sc-baidu-fence',
|
|
14580
|
+
],
|
|
14574
14581
|
description: 'hasChildItem',
|
|
14575
14582
|
}),
|
|
14576
14583
|
__metadata("design:paramtypes", [i1.BaiduMapService,
|
|
@@ -14964,6 +14971,32 @@
|
|
|
14964
14971
|
this.layers = [];
|
|
14965
14972
|
}
|
|
14966
14973
|
};
|
|
14974
|
+
BaseLayer.prototype.getTextOptions = function (font) {
|
|
14975
|
+
var textOptions = {};
|
|
14976
|
+
if (font) {
|
|
14977
|
+
if (font.size)
|
|
14978
|
+
textOptions.fontSize = font.size;
|
|
14979
|
+
if (font.family)
|
|
14980
|
+
textOptions.fontFamily = font.family;
|
|
14981
|
+
if (font.color)
|
|
14982
|
+
textOptions.color = font.color;
|
|
14983
|
+
// switch (font.weight) {
|
|
14984
|
+
// case 'lighter':
|
|
14985
|
+
// textOptions.lineWidth = 1;
|
|
14986
|
+
// break;
|
|
14987
|
+
// case 'normal':
|
|
14988
|
+
// textOptions.lineWidth = 2;
|
|
14989
|
+
// break;
|
|
14990
|
+
// case 'bold':
|
|
14991
|
+
// textOptions.lineWidth = 3;
|
|
14992
|
+
// break;
|
|
14993
|
+
// case 'bolder':
|
|
14994
|
+
// textOptions.lineWidth = 4;
|
|
14995
|
+
// break;
|
|
14996
|
+
// }
|
|
14997
|
+
}
|
|
14998
|
+
return textOptions;
|
|
14999
|
+
};
|
|
14967
15000
|
return BaseLayer;
|
|
14968
15001
|
}());
|
|
14969
15002
|
BaseLayer.decorators = [
|
|
@@ -15282,32 +15315,6 @@
|
|
|
15282
15315
|
};
|
|
15283
15316
|
return iconOptions;
|
|
15284
15317
|
};
|
|
15285
|
-
BaiduMarkerLayerComponent.prototype.getTextOptions = function (font) {
|
|
15286
|
-
var textOptions = {};
|
|
15287
|
-
if (font) {
|
|
15288
|
-
if (font.size)
|
|
15289
|
-
textOptions.fontSize = font.size;
|
|
15290
|
-
if (font.family)
|
|
15291
|
-
textOptions.fontFamily = font.family;
|
|
15292
|
-
if (font.color)
|
|
15293
|
-
textOptions.color = font.color;
|
|
15294
|
-
// switch (font.weight) {
|
|
15295
|
-
// case 'lighter':
|
|
15296
|
-
// textOptions.lineWidth = 1;
|
|
15297
|
-
// break;
|
|
15298
|
-
// case 'normal':
|
|
15299
|
-
// textOptions.lineWidth = 2;
|
|
15300
|
-
// break;
|
|
15301
|
-
// case 'bold':
|
|
15302
|
-
// textOptions.lineWidth = 3;
|
|
15303
|
-
// break;
|
|
15304
|
-
// case 'bolder':
|
|
15305
|
-
// textOptions.lineWidth = 4;
|
|
15306
|
-
// break;
|
|
15307
|
-
// }
|
|
15308
|
-
}
|
|
15309
|
-
return textOptions;
|
|
15310
|
-
};
|
|
15311
15318
|
BaiduMarkerLayerComponent.prototype.addPickEvent = function (options) {
|
|
15312
15319
|
var _this = this;
|
|
15313
15320
|
options.enablePicked = true;
|
|
@@ -16117,6 +16124,368 @@
|
|
|
16117
16124
|
__metadata("design:paramtypes", [exports.ɵcy, i0.NgZone])
|
|
16118
16125
|
], exports.ɵdd);
|
|
16119
16126
|
|
|
16127
|
+
var EARTH_RADIUS$1 = 6371393;
|
|
16128
|
+
var ɵ0$c = { type: 'string', title: 'ID' };
|
|
16129
|
+
exports.ɵde = /** @class */ (function (_super_1) {
|
|
16130
|
+
__extends(BaiduFenceComponent, _super_1);
|
|
16131
|
+
function BaiduFenceComponent() {
|
|
16132
|
+
var _this = _super_1.apply(this, __spread(arguments)) || this;
|
|
16133
|
+
// @Property('标签字体', { ui: { widget: 'myFont', visibleIf: { showLabel: [true] } } })
|
|
16134
|
+
// textFont: any = {
|
|
16135
|
+
// family: '',
|
|
16136
|
+
// color: '#000000',
|
|
16137
|
+
// weight: 'normal',
|
|
16138
|
+
// size: 16,
|
|
16139
|
+
// space: 0,
|
|
16140
|
+
// lineHeight: 0,
|
|
16141
|
+
// };
|
|
16142
|
+
_this.lineWidth = 2;
|
|
16143
|
+
_this.lineColor = 'rgb(50, 133, 255)';
|
|
16144
|
+
_this.fillColor = 'rgba(248, 231, 28, 0.2)';
|
|
16145
|
+
_this.showDrawButton = true;
|
|
16146
|
+
_this.data = [
|
|
16147
|
+
{
|
|
16148
|
+
// name: '多边形',
|
|
16149
|
+
type: 'polygon',
|
|
16150
|
+
lnglat: '120.7,28;120.8,28;120.8,27.9;120.7,27.9',
|
|
16151
|
+
},
|
|
16152
|
+
{
|
|
16153
|
+
// name: '圆形',
|
|
16154
|
+
type: 'circle',
|
|
16155
|
+
lnglat: '120.6,27.9',
|
|
16156
|
+
radius: 5000,
|
|
16157
|
+
},
|
|
16158
|
+
];
|
|
16159
|
+
_this.create = new i0.EventEmitter();
|
|
16160
|
+
_this.editData = [];
|
|
16161
|
+
_this.stopEdit$ = new rxjs.Subject();
|
|
16162
|
+
return _this;
|
|
16163
|
+
}
|
|
16164
|
+
BaiduFenceComponent.prototype.ngOnInit = function () {
|
|
16165
|
+
var _super = Object.create(null, {
|
|
16166
|
+
ngOnInit: { get: function () { return _super_1.prototype.ngOnInit; } }
|
|
16167
|
+
});
|
|
16168
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16169
|
+
return __generator(this, function (_b) {
|
|
16170
|
+
_super.ngOnInit.call(this);
|
|
16171
|
+
return [2 /*return*/];
|
|
16172
|
+
});
|
|
16173
|
+
});
|
|
16174
|
+
};
|
|
16175
|
+
BaiduFenceComponent.prototype.ngOnDestroy = function () {
|
|
16176
|
+
var _a;
|
|
16177
|
+
_super_1.prototype.ngOnDestroy.call(this);
|
|
16178
|
+
this.stopDraw();
|
|
16179
|
+
(_a = this.scene) === null || _a === void 0 ? void 0 : _a.clearData();
|
|
16180
|
+
};
|
|
16181
|
+
BaiduFenceComponent.prototype.createLayers = function () {
|
|
16182
|
+
this.layer = new mapvgl.PolygonLayer({
|
|
16183
|
+
renderOrder: -1,
|
|
16184
|
+
lineColor: this.lineColor,
|
|
16185
|
+
lineWidth: this.lineWidth,
|
|
16186
|
+
fillColor: this.fillColor,
|
|
16187
|
+
});
|
|
16188
|
+
// this.textLayer = new mapvgl.TextLayer({
|
|
16189
|
+
// renderOrder: -1,
|
|
16190
|
+
// ...this.getTextOptions(this.textFont),
|
|
16191
|
+
// });
|
|
16192
|
+
return [this.layer];
|
|
16193
|
+
};
|
|
16194
|
+
BaiduFenceComponent.prototype.updateData = function () {
|
|
16195
|
+
var data = [];
|
|
16196
|
+
this.data.forEach(function (r) {
|
|
16197
|
+
if (r.type === 'circle') {
|
|
16198
|
+
// const radius = (r.radius * 180) / EARTH_RADIUS / Math.PI;
|
|
16199
|
+
// // let radius = cradius / 90;
|
|
16200
|
+
// let pointNum = 90;
|
|
16201
|
+
// let startAngle = 0;
|
|
16202
|
+
// let endAngle = Math.PI * 2;
|
|
16203
|
+
// let points = [];
|
|
16204
|
+
// const lnglat = r.lnglat.split(',');
|
|
16205
|
+
// const lng = +lnglat[0];
|
|
16206
|
+
// const lat = +lnglat[1];
|
|
16207
|
+
// for (var i = 0; i <= pointNum; i++) {
|
|
16208
|
+
// const angle = startAngle + ((endAngle - startAngle) * i) / pointNum;
|
|
16209
|
+
// const x = lng + (radius * Math.cos(angle)) / Math.abs(Math.cos((lat * Math.PI) / 180));
|
|
16210
|
+
// const y = lat + radius * Math.sin(angle);
|
|
16211
|
+
// points.push([x, y]);
|
|
16212
|
+
// }
|
|
16213
|
+
// data.push({
|
|
16214
|
+
// geometry: {
|
|
16215
|
+
// type: 'Polygon',
|
|
16216
|
+
// coordinates: [points],
|
|
16217
|
+
// },
|
|
16218
|
+
// });
|
|
16219
|
+
var pointsCount = 90;
|
|
16220
|
+
var radius = r.radius;
|
|
16221
|
+
var lnglat = r.lnglat.split(',');
|
|
16222
|
+
var centerLng = +lnglat[0];
|
|
16223
|
+
var centerLat = +lnglat[1];
|
|
16224
|
+
// 转换中心点纬度为弧度
|
|
16225
|
+
var centerLatRad = (centerLat * Math.PI) / 180;
|
|
16226
|
+
// 存储轨迹点的数组
|
|
16227
|
+
var trajectory = [];
|
|
16228
|
+
// 遍历 0~360°,生成等间隔的点
|
|
16229
|
+
for (var i = 0; i < pointsCount; i++) {
|
|
16230
|
+
// 计算当前点的方位角(弧度):从0°到360°,均分pointsCount份
|
|
16231
|
+
var angleRad = (i * 360 / pointsCount) * Math.PI / 180;
|
|
16232
|
+
// 计算当前点相对于中心点的经纬度增量(弧度)
|
|
16233
|
+
var deltaLatRad = (radius * Math.cos(angleRad)) / EARTH_RADIUS$1;
|
|
16234
|
+
var deltaLngRad = (radius * Math.sin(angleRad)) / (EARTH_RADIUS$1 * Math.cos(centerLatRad));
|
|
16235
|
+
// 转换为角度,并计算新坐标
|
|
16236
|
+
var newLat = centerLat + (deltaLatRad * 180) / Math.PI;
|
|
16237
|
+
var newLng = centerLng + (deltaLngRad * 180) / Math.PI;
|
|
16238
|
+
// 添加到轨迹数组(保留6位小数,经纬度常规精度)
|
|
16239
|
+
trajectory.push([parseFloat(newLng.toFixed(6)), parseFloat(newLat.toFixed(6))]);
|
|
16240
|
+
}
|
|
16241
|
+
data.push({
|
|
16242
|
+
geometry: {
|
|
16243
|
+
type: 'Polygon',
|
|
16244
|
+
coordinates: [trajectory],
|
|
16245
|
+
},
|
|
16246
|
+
});
|
|
16247
|
+
}
|
|
16248
|
+
else {
|
|
16249
|
+
var coordinates = r.lnglat.split(';').map(function (r) {
|
|
16250
|
+
var lnglat = r.split(',');
|
|
16251
|
+
return [+lnglat[0], +lnglat[1]];
|
|
16252
|
+
});
|
|
16253
|
+
data.push({
|
|
16254
|
+
geometry: {
|
|
16255
|
+
type: 'Polygon',
|
|
16256
|
+
coordinates: [coordinates],
|
|
16257
|
+
},
|
|
16258
|
+
});
|
|
16259
|
+
}
|
|
16260
|
+
});
|
|
16261
|
+
this.layer.setData(data);
|
|
16262
|
+
};
|
|
16263
|
+
BaiduFenceComponent.prototype.startDraw = function (type) {
|
|
16264
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16265
|
+
var _b, DrawScene, PolygonDraw, CircleDraw, OperateEventType;
|
|
16266
|
+
var _this = this;
|
|
16267
|
+
return __generator(this, function (_c) {
|
|
16268
|
+
switch (_c.label) {
|
|
16269
|
+
case 0: return [4 /*yield*/, import('bmap-draw')];
|
|
16270
|
+
case 1:
|
|
16271
|
+
_b = _c.sent(), DrawScene = _b.DrawScene, PolygonDraw = _b.PolygonDraw, CircleDraw = _b.CircleDraw, OperateEventType = _b.OperateEventType;
|
|
16272
|
+
if (!this.scene) {
|
|
16273
|
+
this.scene = new DrawScene(this.parent.map, { noLimit: true });
|
|
16274
|
+
this.scene.addEventListener(OperateEventType.COMPLETE, function (e) {
|
|
16275
|
+
console.log(e);
|
|
16276
|
+
if (e.target.overlay.radius) {
|
|
16277
|
+
var radius = e.target.overlay.radius;
|
|
16278
|
+
var lnglat = e.target.overlay.latLng;
|
|
16279
|
+
var data = {
|
|
16280
|
+
type: 'circle',
|
|
16281
|
+
lnglat: lnglat.lng + "," + lnglat.lat,
|
|
16282
|
+
radius: radius,
|
|
16283
|
+
};
|
|
16284
|
+
_this.data.push(data);
|
|
16285
|
+
_this.updateData();
|
|
16286
|
+
_this.create.emit(data);
|
|
16287
|
+
}
|
|
16288
|
+
else {
|
|
16289
|
+
var points = e.target.overlay.getPoints();
|
|
16290
|
+
if (!_this.data) {
|
|
16291
|
+
_this.data = [];
|
|
16292
|
+
}
|
|
16293
|
+
var data = {
|
|
16294
|
+
type: 'polygon',
|
|
16295
|
+
lnglat: points.map(function (p) { return p.latLng.lng + "," + p.latLng.lat; }).join(';'),
|
|
16296
|
+
};
|
|
16297
|
+
_this.create.emit(data);
|
|
16298
|
+
}
|
|
16299
|
+
});
|
|
16300
|
+
}
|
|
16301
|
+
switch (type) {
|
|
16302
|
+
case 'polygon':
|
|
16303
|
+
if (!this.polygon) {
|
|
16304
|
+
this.polygon = new PolygonDraw(this.scene, {
|
|
16305
|
+
autoViewport: true,
|
|
16306
|
+
hideTip: false,
|
|
16307
|
+
isSeries: true,
|
|
16308
|
+
isOpen: true,
|
|
16309
|
+
baseOpts: {
|
|
16310
|
+
fillColor: this.fillColor,
|
|
16311
|
+
strokeWeight: this.lineWidth,
|
|
16312
|
+
strokeColor: this.lineColor,
|
|
16313
|
+
},
|
|
16314
|
+
});
|
|
16315
|
+
}
|
|
16316
|
+
this.polygon.open();
|
|
16317
|
+
break;
|
|
16318
|
+
case 'circle':
|
|
16319
|
+
if (!this.circle) {
|
|
16320
|
+
this.circle = new CircleDraw(this.scene, {
|
|
16321
|
+
autoViewport: true,
|
|
16322
|
+
isOpen: true,
|
|
16323
|
+
isSeries: true,
|
|
16324
|
+
// labelOptions: {
|
|
16325
|
+
// borderRadius: '2px',
|
|
16326
|
+
// background: '#b5d3fb',
|
|
16327
|
+
// border: '1px solid #b5d3fb',
|
|
16328
|
+
// color: '#333',
|
|
16329
|
+
// fontSize: '12px',
|
|
16330
|
+
// letterSpacing: '0',
|
|
16331
|
+
// padding: '5px',
|
|
16332
|
+
// },
|
|
16333
|
+
baseOpts: {
|
|
16334
|
+
fillColor: this.fillColor,
|
|
16335
|
+
strokeWeight: this.lineWidth,
|
|
16336
|
+
strokeColor: this.lineColor,
|
|
16337
|
+
},
|
|
16338
|
+
});
|
|
16339
|
+
}
|
|
16340
|
+
this.circle.open();
|
|
16341
|
+
break;
|
|
16342
|
+
}
|
|
16343
|
+
return [2 /*return*/];
|
|
16344
|
+
}
|
|
16345
|
+
});
|
|
16346
|
+
});
|
|
16347
|
+
};
|
|
16348
|
+
BaiduFenceComponent.prototype.updateEditData = function () {
|
|
16349
|
+
if (this.editLayer) {
|
|
16350
|
+
this.editLayer.setData(this.editData.map(function (r) { return ({ geometry: { type: 'Point', coordinates: r } }); }));
|
|
16351
|
+
}
|
|
16352
|
+
if (this.editLineLayer) {
|
|
16353
|
+
this.editLineLayer.setData([
|
|
16354
|
+
{
|
|
16355
|
+
geometry: {
|
|
16356
|
+
type: 'LineString',
|
|
16357
|
+
coordinates: this.editData,
|
|
16358
|
+
},
|
|
16359
|
+
},
|
|
16360
|
+
]);
|
|
16361
|
+
}
|
|
16362
|
+
};
|
|
16363
|
+
BaiduFenceComponent.prototype.stopDraw = function () {
|
|
16364
|
+
var _a;
|
|
16365
|
+
(_a = this.scene) === null || _a === void 0 ? void 0 : _a.close();
|
|
16366
|
+
// this.stopEdit$.next();
|
|
16367
|
+
// if (this.editLayer) {
|
|
16368
|
+
// this.parent.removeLayer(this.editLayer);
|
|
16369
|
+
// this.editLayer = null;
|
|
16370
|
+
// }
|
|
16371
|
+
// if (this.editLineLayer) {
|
|
16372
|
+
// this.parent.removeLayer(this.editLineLayer);
|
|
16373
|
+
// this.editLineLayer = null;
|
|
16374
|
+
// }
|
|
16375
|
+
// if (this.editData?.length >= 3) {
|
|
16376
|
+
// if (!this.data) {
|
|
16377
|
+
// this.data = [];
|
|
16378
|
+
// }
|
|
16379
|
+
// const data = {
|
|
16380
|
+
// type: 'polygon',
|
|
16381
|
+
// lnglat: this.editData.map((r) => r.join(',')).join(';'),
|
|
16382
|
+
// };
|
|
16383
|
+
// this.data.push(data);
|
|
16384
|
+
// this.updateData();
|
|
16385
|
+
// this.create.emit(data);
|
|
16386
|
+
// }
|
|
16387
|
+
// this.editData = null;
|
|
16388
|
+
};
|
|
16389
|
+
BaiduFenceComponent.prototype.search = function () {
|
|
16390
|
+
if (!this.searchText) {
|
|
16391
|
+
}
|
|
16392
|
+
var local = new BMapGL.LocalSearch(this.parent.map, {
|
|
16393
|
+
//智能搜索
|
|
16394
|
+
onSearchComplete: function (res) {
|
|
16395
|
+
console.log(res, local);
|
|
16396
|
+
},
|
|
16397
|
+
});
|
|
16398
|
+
local.search(this.searchText);
|
|
16399
|
+
};
|
|
16400
|
+
return BaiduFenceComponent;
|
|
16401
|
+
}(BaseLayer));
|
|
16402
|
+
exports.ɵde.decorators = [
|
|
16403
|
+
{ type: i0.Component, args: [{
|
|
16404
|
+
selector: 'sc-baidu-fence',
|
|
16405
|
+
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",
|
|
16406
|
+
styles: [":host{position:absolute;display:block;left:0;top:0;z-index:100;padding:12px}button{transition:none}"]
|
|
16407
|
+
},] }
|
|
16408
|
+
];
|
|
16409
|
+
__decorate([
|
|
16410
|
+
bbjWidgetBase.Property('线条宽度', {
|
|
16411
|
+
ui: { widget: 'myRange', min: 1, max: 40, step: 1 },
|
|
16412
|
+
}),
|
|
16413
|
+
__metadata("design:type", Object)
|
|
16414
|
+
], exports.ɵde.prototype, "lineWidth", void 0);
|
|
16415
|
+
__decorate([
|
|
16416
|
+
bbjWidgetBase.Property('线条颜色', {
|
|
16417
|
+
type: 'string',
|
|
16418
|
+
ui: {
|
|
16419
|
+
widget: 'myColor',
|
|
16420
|
+
},
|
|
16421
|
+
}),
|
|
16422
|
+
__metadata("design:type", Object)
|
|
16423
|
+
], exports.ɵde.prototype, "lineColor", void 0);
|
|
16424
|
+
__decorate([
|
|
16425
|
+
bbjWidgetBase.Property('填充颜色', {
|
|
16426
|
+
type: 'string',
|
|
16427
|
+
ui: {
|
|
16428
|
+
widget: 'myColor',
|
|
16429
|
+
},
|
|
16430
|
+
}),
|
|
16431
|
+
__metadata("design:type", Object)
|
|
16432
|
+
], exports.ɵde.prototype, "fillColor", void 0);
|
|
16433
|
+
__decorate([
|
|
16434
|
+
bbjWidgetBase.Property('显示绘制按钮', { type: 'boolean' }),
|
|
16435
|
+
__metadata("design:type", Object)
|
|
16436
|
+
], exports.ɵde.prototype, "showDrawButton", void 0);
|
|
16437
|
+
__decorate([
|
|
16438
|
+
bbjWidgetBase.Data({
|
|
16439
|
+
properties: {
|
|
16440
|
+
id: ɵ0$c,
|
|
16441
|
+
// name: { type: 'string', title: '围栏名称' },
|
|
16442
|
+
type: { type: 'string', title: '围栏类型' },
|
|
16443
|
+
lnglat: { type: 'string', title: '经纬度' },
|
|
16444
|
+
radius: { type: 'number', title: '半径' },
|
|
16445
|
+
},
|
|
16446
|
+
}),
|
|
16447
|
+
__metadata("design:type", Array)
|
|
16448
|
+
], exports.ɵde.prototype, "data", void 0);
|
|
16449
|
+
__decorate([
|
|
16450
|
+
bbjWidgetBase.Event('新增围栏', {
|
|
16451
|
+
params: {
|
|
16452
|
+
properties: {
|
|
16453
|
+
type: { type: 'string', title: '围栏类型' },
|
|
16454
|
+
lnglat: { type: 'string', title: '经纬度' },
|
|
16455
|
+
radius: { type: 'number', title: '半径' },
|
|
16456
|
+
},
|
|
16457
|
+
},
|
|
16458
|
+
}),
|
|
16459
|
+
__metadata("design:type", Object)
|
|
16460
|
+
], exports.ɵde.prototype, "create", void 0);
|
|
16461
|
+
__decorate([
|
|
16462
|
+
bbjWidgetBase.Method('开始绘制'),
|
|
16463
|
+
__param(0, bbjWidgetBase.Param('类型', {
|
|
16464
|
+
type: 'string',
|
|
16465
|
+
enum: [
|
|
16466
|
+
{ label: '多边形', value: 'polygon' },
|
|
16467
|
+
{ label: '圆形', value: 'circle' },
|
|
16468
|
+
],
|
|
16469
|
+
})),
|
|
16470
|
+
__metadata("design:type", Function),
|
|
16471
|
+
__metadata("design:paramtypes", [String]),
|
|
16472
|
+
__metadata("design:returntype", Promise)
|
|
16473
|
+
], exports.ɵde.prototype, "startDraw", null);
|
|
16474
|
+
__decorate([
|
|
16475
|
+
bbjWidgetBase.Method('结束绘制'),
|
|
16476
|
+
__metadata("design:type", Function),
|
|
16477
|
+
__metadata("design:paramtypes", []),
|
|
16478
|
+
__metadata("design:returntype", void 0)
|
|
16479
|
+
], exports.ɵde.prototype, "stopDraw", null);
|
|
16480
|
+
exports.ɵde = __decorate([
|
|
16481
|
+
bbjWidgetBase.Widget('电子围栏', {
|
|
16482
|
+
group: 'component',
|
|
16483
|
+
image: '',
|
|
16484
|
+
icon: '',
|
|
16485
|
+
hidden: true,
|
|
16486
|
+
})
|
|
16487
|
+
], exports.ɵde);
|
|
16488
|
+
|
|
16120
16489
|
var CustomBaiduMapModule = /** @class */ (function () {
|
|
16121
16490
|
function CustomBaiduMapModule(widgetService) {
|
|
16122
16491
|
widgetService.register(exports.ɵcy, { scaleContent: false });
|
|
@@ -16124,6 +16493,7 @@
|
|
|
16124
16493
|
widgetService.register(exports.ɵdb);
|
|
16125
16494
|
widgetService.register(exports.ɵdc);
|
|
16126
16495
|
widgetService.register(exports.ɵdd);
|
|
16496
|
+
widgetService.register(exports.ɵde);
|
|
16127
16497
|
}
|
|
16128
16498
|
return CustomBaiduMapModule;
|
|
16129
16499
|
}());
|
|
@@ -16135,6 +16505,7 @@
|
|
|
16135
16505
|
exports.ɵdb,
|
|
16136
16506
|
exports.ɵdc,
|
|
16137
16507
|
exports.ɵdd,
|
|
16508
|
+
exports.ɵde,
|
|
16138
16509
|
],
|
|
16139
16510
|
imports: [
|
|
16140
16511
|
common.CommonModule,
|
|
@@ -16144,6 +16515,7 @@
|
|
|
16144
16515
|
scrolling.ScrollingModule,
|
|
16145
16516
|
radio.NzRadioModule,
|
|
16146
16517
|
forms.FormsModule,
|
|
16518
|
+
button.NzButtonModule,
|
|
16147
16519
|
],
|
|
16148
16520
|
},] }
|
|
16149
16521
|
];
|
|
@@ -16350,7 +16722,7 @@
|
|
|
16350
16722
|
'iconzhinanzhen',
|
|
16351
16723
|
];
|
|
16352
16724
|
|
|
16353
|
-
exports.ɵ
|
|
16725
|
+
exports.ɵdg = /** @class */ (function () {
|
|
16354
16726
|
function UploadComponent(msg) {
|
|
16355
16727
|
var _this = this;
|
|
16356
16728
|
this.msg = msg;
|
|
@@ -16437,14 +16809,14 @@
|
|
|
16437
16809
|
};
|
|
16438
16810
|
return UploadComponent;
|
|
16439
16811
|
}());
|
|
16440
|
-
exports.ɵ
|
|
16812
|
+
exports.ɵdg.decorators = [
|
|
16441
16813
|
{ type: i0.Component, args: [{
|
|
16442
16814
|
selector: 'sc-upload',
|
|
16443
16815
|
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",
|
|
16444
16816
|
styles: [":host{display:block;text-align:center}:host,div.content{height:100%;width:100%}div.content{display:flex;align-items:center;justify-content:center}"]
|
|
16445
16817
|
},] }
|
|
16446
16818
|
];
|
|
16447
|
-
exports.ɵ
|
|
16819
|
+
exports.ɵdg.ctorParameters = function () { return [
|
|
16448
16820
|
{ type: message.NzMessageService }
|
|
16449
16821
|
]; };
|
|
16450
16822
|
__decorate([
|
|
@@ -16460,29 +16832,29 @@
|
|
|
16460
16832
|
],
|
|
16461
16833
|
}),
|
|
16462
16834
|
__metadata("design:type", Object)
|
|
16463
|
-
], exports.ɵ
|
|
16835
|
+
], exports.ɵdg.prototype, "style", void 0);
|
|
16464
16836
|
__decorate([
|
|
16465
16837
|
bbjWidgetBase.DataOutput('值'),
|
|
16466
16838
|
__metadata("design:type", Object)
|
|
16467
|
-
], exports.ɵ
|
|
16468
|
-
exports.ɵ
|
|
16839
|
+
], exports.ɵdg.prototype, "valueChange", void 0);
|
|
16840
|
+
exports.ɵdg = __decorate([
|
|
16469
16841
|
bbjWidgetBase.Widget('文件上传', {
|
|
16470
16842
|
group: 'component',
|
|
16471
16843
|
image: 'assets/img/screen/file-upload.png',
|
|
16472
16844
|
icon: 'icontubiao',
|
|
16473
16845
|
}),
|
|
16474
16846
|
__metadata("design:paramtypes", [message.NzMessageService])
|
|
16475
|
-
], exports.ɵ
|
|
16847
|
+
], exports.ɵdg);
|
|
16476
16848
|
|
|
16477
16849
|
var UploadModule = /** @class */ (function () {
|
|
16478
16850
|
function UploadModule(widgetService) {
|
|
16479
|
-
widgetService.register(exports.ɵ
|
|
16851
|
+
widgetService.register(exports.ɵdg);
|
|
16480
16852
|
}
|
|
16481
16853
|
return UploadModule;
|
|
16482
16854
|
}());
|
|
16483
16855
|
UploadModule.decorators = [
|
|
16484
16856
|
{ type: i0.NgModule, args: [{
|
|
16485
|
-
declarations: [exports.ɵ
|
|
16857
|
+
declarations: [exports.ɵdg],
|
|
16486
16858
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, icon.NzIconModule, upload.NzUploadModule, button.NzButtonModule],
|
|
16487
16859
|
},] }
|
|
16488
16860
|
];
|
|
@@ -16490,7 +16862,7 @@
|
|
|
16490
16862
|
{ type: bbjWidgetBase.WidgetService }
|
|
16491
16863
|
]; };
|
|
16492
16864
|
|
|
16493
|
-
exports.ɵ
|
|
16865
|
+
exports.ɵdh = /** @class */ (function () {
|
|
16494
16866
|
function CrossTableComponent() {
|
|
16495
16867
|
this.pageSize = 10;
|
|
16496
16868
|
this.theadBackground = '#fafafa';
|
|
@@ -16678,18 +17050,18 @@
|
|
|
16678
17050
|
};
|
|
16679
17051
|
return CrossTableComponent;
|
|
16680
17052
|
}());
|
|
16681
|
-
exports.ɵ
|
|
17053
|
+
exports.ɵdh.decorators = [
|
|
16682
17054
|
{ type: i0.Component, args: [{
|
|
16683
17055
|
selector: 'sc-cross-table',
|
|
16684
17056
|
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",
|
|
16685
17057
|
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}"]
|
|
16686
17058
|
},] }
|
|
16687
17059
|
];
|
|
16688
|
-
exports.ɵ
|
|
17060
|
+
exports.ɵdh.ctorParameters = function () { return []; };
|
|
16689
17061
|
__decorate([
|
|
16690
17062
|
bbjWidgetBase.Property('条数/页', { ui: { widget: 'myRange', min: 1, max: 100, step: 1 } }),
|
|
16691
17063
|
__metadata("design:type", Object)
|
|
16692
|
-
], exports.ɵ
|
|
17064
|
+
], exports.ɵdh.prototype, "pageSize", void 0);
|
|
16693
17065
|
__decorate([
|
|
16694
17066
|
bbjWidgetBase.Property('表头背景', {
|
|
16695
17067
|
ui: {
|
|
@@ -16698,11 +17070,11 @@
|
|
|
16698
17070
|
},
|
|
16699
17071
|
}),
|
|
16700
17072
|
__metadata("design:type", Object)
|
|
16701
|
-
], exports.ɵ
|
|
17073
|
+
], exports.ɵdh.prototype, "theadBackground", void 0);
|
|
16702
17074
|
__decorate([
|
|
16703
17075
|
bbjWidgetBase.Property('表头字体', { ui: { widget: 'myFont' } }),
|
|
16704
17076
|
__metadata("design:type", Object)
|
|
16705
|
-
], exports.ɵ
|
|
17077
|
+
], exports.ɵdh.prototype, "headFont", void 0);
|
|
16706
17078
|
__decorate([
|
|
16707
17079
|
bbjWidgetBase.Property('内容对齐', {
|
|
16708
17080
|
type: 'string',
|
|
@@ -16716,7 +17088,7 @@
|
|
|
16716
17088
|
],
|
|
16717
17089
|
}),
|
|
16718
17090
|
__metadata("design:type", Object)
|
|
16719
|
-
], exports.ɵ
|
|
17091
|
+
], exports.ɵdh.prototype, "contentAlign", void 0);
|
|
16720
17092
|
__decorate([
|
|
16721
17093
|
bbjWidgetBase.Property('表格背景', {
|
|
16722
17094
|
ui: {
|
|
@@ -16725,7 +17097,7 @@
|
|
|
16725
17097
|
},
|
|
16726
17098
|
}),
|
|
16727
17099
|
__metadata("design:type", Object)
|
|
16728
|
-
], exports.ɵ
|
|
17100
|
+
], exports.ɵdh.prototype, "tbodyBackground", void 0);
|
|
16729
17101
|
__decorate([
|
|
16730
17102
|
bbjWidgetBase.Property('显示边框', {
|
|
16731
17103
|
type: 'boolean',
|
|
@@ -16735,11 +17107,11 @@
|
|
|
16735
17107
|
},
|
|
16736
17108
|
}),
|
|
16737
17109
|
__metadata("design:type", Object)
|
|
16738
|
-
], exports.ɵ
|
|
17110
|
+
], exports.ɵdh.prototype, "showBorder", void 0);
|
|
16739
17111
|
__decorate([
|
|
16740
17112
|
bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
|
|
16741
17113
|
__metadata("design:type", Object)
|
|
16742
|
-
], exports.ɵ
|
|
17114
|
+
], exports.ɵdh.prototype, "font", void 0);
|
|
16743
17115
|
__decorate([
|
|
16744
17116
|
bbjWidgetBase.Property('交叉字段', {
|
|
16745
17117
|
cross: {
|
|
@@ -16749,7 +17121,7 @@
|
|
|
16749
17121
|
required: [''],
|
|
16750
17122
|
}),
|
|
16751
17123
|
__metadata("design:type", Object)
|
|
16752
|
-
], exports.ɵ
|
|
17124
|
+
], exports.ɵdh.prototype, "cross", void 0);
|
|
16753
17125
|
__decorate([
|
|
16754
17126
|
bbjWidgetBase.Property('显示分页', {
|
|
16755
17127
|
type: 'boolean',
|
|
@@ -16759,7 +17131,7 @@
|
|
|
16759
17131
|
},
|
|
16760
17132
|
}),
|
|
16761
17133
|
__metadata("design:type", Object)
|
|
16762
|
-
], exports.ɵ
|
|
17134
|
+
], exports.ɵdh.prototype, "needPage", void 0);
|
|
16763
17135
|
__decorate([
|
|
16764
17136
|
bbjWidgetBase.Property('绑定值', {
|
|
16765
17137
|
crossVal: {
|
|
@@ -16769,29 +17141,29 @@
|
|
|
16769
17141
|
required: [''],
|
|
16770
17142
|
}),
|
|
16771
17143
|
__metadata("design:type", Object)
|
|
16772
|
-
], exports.ɵ
|
|
17144
|
+
], exports.ɵdh.prototype, "crossVal", void 0);
|
|
16773
17145
|
__decorate([
|
|
16774
17146
|
bbjWidgetBase.Data({}),
|
|
16775
17147
|
__metadata("design:type", Array)
|
|
16776
|
-
], exports.ɵ
|
|
17148
|
+
], exports.ɵdh.prototype, "_data", void 0);
|
|
16777
17149
|
__decorate([
|
|
16778
17150
|
bbjWidgetBase.DataSchema('_data'),
|
|
16779
17151
|
__metadata("design:type", Object)
|
|
16780
|
-
], exports.ɵ
|
|
16781
|
-
exports.ɵ
|
|
17152
|
+
], exports.ɵdh.prototype, "schema", void 0);
|
|
17153
|
+
exports.ɵdh = __decorate([
|
|
16782
17154
|
bbjWidgetBase.Widget('交叉表格', { group: 'table', icon: 'icontubiao', image: '/assets/img/screen/cross-table.png' }),
|
|
16783
17155
|
__metadata("design:paramtypes", [])
|
|
16784
|
-
], exports.ɵ
|
|
17156
|
+
], exports.ɵdh);
|
|
16785
17157
|
|
|
16786
17158
|
var CrossTableModule = /** @class */ (function () {
|
|
16787
17159
|
function CrossTableModule(widgetService) {
|
|
16788
|
-
widgetService.register(exports.ɵ
|
|
17160
|
+
widgetService.register(exports.ɵdh);
|
|
16789
17161
|
}
|
|
16790
17162
|
return CrossTableModule;
|
|
16791
17163
|
}());
|
|
16792
17164
|
CrossTableModule.decorators = [
|
|
16793
17165
|
{ type: i0.NgModule, args: [{
|
|
16794
|
-
declarations: [exports.ɵ
|
|
17166
|
+
declarations: [exports.ɵdh],
|
|
16795
17167
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, table.NzTableModule],
|
|
16796
17168
|
},] }
|
|
16797
17169
|
];
|
|
@@ -16799,7 +17171,7 @@
|
|
|
16799
17171
|
{ type: bbjWidgetBase.WidgetService }
|
|
16800
17172
|
]; };
|
|
16801
17173
|
|
|
16802
|
-
var ɵ0$
|
|
17174
|
+
var ɵ0$d = { type: 'object', title: '行数据' };
|
|
16803
17175
|
exports.ɵbo = /** @class */ (function () {
|
|
16804
17176
|
function TableComponent(ele) {
|
|
16805
17177
|
this.ele = ele;
|
|
@@ -17489,7 +17861,7 @@
|
|
|
17489
17861
|
properties: {
|
|
17490
17862
|
index: { type: 'string', title: '列名' },
|
|
17491
17863
|
value: { type: 'string', title: '值' },
|
|
17492
|
-
data: ɵ0$
|
|
17864
|
+
data: ɵ0$d,
|
|
17493
17865
|
},
|
|
17494
17866
|
},
|
|
17495
17867
|
}),
|
|
@@ -17565,7 +17937,7 @@
|
|
|
17565
17937
|
{ type: util.LazyService }
|
|
17566
17938
|
]; };
|
|
17567
17939
|
|
|
17568
|
-
exports.ɵ
|
|
17940
|
+
exports.ɵdj = /** @class */ (function () {
|
|
17569
17941
|
function Pie3dChartComponent(highChartsService) {
|
|
17570
17942
|
this.highChartsService = highChartsService;
|
|
17571
17943
|
this.title = '';
|
|
@@ -17765,34 +18137,34 @@
|
|
|
17765
18137
|
};
|
|
17766
18138
|
return Pie3dChartComponent;
|
|
17767
18139
|
}());
|
|
17768
|
-
exports.ɵ
|
|
17769
|
-
exports.ɵ
|
|
18140
|
+
exports.ɵdj.initPluginPromise = null;
|
|
18141
|
+
exports.ɵdj.decorators = [
|
|
17770
18142
|
{ type: i0.Component, args: [{
|
|
17771
18143
|
selector: 'sc-pie3d-chart',
|
|
17772
18144
|
template: "<div #container style=\"height: 100%\"></div>\n",
|
|
17773
18145
|
styles: [":host::ng-deep .highcharts-background,:host::ng-deep .highcharts-credits{display:none}"]
|
|
17774
18146
|
},] }
|
|
17775
18147
|
];
|
|
17776
|
-
exports.ɵ
|
|
18148
|
+
exports.ɵdj.ctorParameters = function () { return [
|
|
17777
18149
|
{ type: HighChartsService }
|
|
17778
18150
|
]; };
|
|
17779
|
-
exports.ɵ
|
|
18151
|
+
exports.ɵdj.propDecorators = {
|
|
17780
18152
|
container: [{ type: i0.ViewChild, args: ['container', { static: true },] }]
|
|
17781
18153
|
};
|
|
17782
18154
|
__decorate([
|
|
17783
18155
|
bbjWidgetBase.Property('标题', { type: 'string' }),
|
|
17784
18156
|
__metadata("design:type", Object)
|
|
17785
|
-
], exports.ɵ
|
|
18157
|
+
], exports.ɵdj.prototype, "title", void 0);
|
|
17786
18158
|
__decorate([
|
|
17787
18159
|
bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
|
|
17788
18160
|
__metadata("design:type", Object)
|
|
17789
|
-
], exports.ɵ
|
|
18161
|
+
], exports.ɵdj.prototype, "font", void 0);
|
|
17790
18162
|
__decorate([
|
|
17791
18163
|
bbjWidgetBase.Property('浮标', {
|
|
17792
18164
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
17793
18165
|
}),
|
|
17794
18166
|
__metadata("design:type", Object)
|
|
17795
|
-
], exports.ɵ
|
|
18167
|
+
], exports.ɵdj.prototype, "buoy", void 0);
|
|
17796
18168
|
__decorate([
|
|
17797
18169
|
bbjWidgetBase.Property('填充', {
|
|
17798
18170
|
ui: {
|
|
@@ -17801,33 +18173,33 @@
|
|
|
17801
18173
|
},
|
|
17802
18174
|
}),
|
|
17803
18175
|
__metadata("design:type", Object)
|
|
17804
|
-
], exports.ɵ
|
|
18176
|
+
], exports.ɵdj.prototype, "colors", void 0);
|
|
17805
18177
|
__decorate([
|
|
17806
18178
|
bbjWidgetBase.Property('饼图厚度', { type: 'number' }),
|
|
17807
18179
|
__metadata("design:type", Object)
|
|
17808
|
-
], exports.ɵ
|
|
18180
|
+
], exports.ɵdj.prototype, "thickness", void 0);
|
|
17809
18181
|
__decorate([
|
|
17810
18182
|
bbjWidgetBase.Property('倾斜角度', { type: 'number' }),
|
|
17811
18183
|
__metadata("design:type", Object)
|
|
17812
|
-
], exports.ɵ
|
|
18184
|
+
], exports.ɵdj.prototype, "angle", void 0);
|
|
17813
18185
|
__decorate([
|
|
17814
18186
|
bbjWidgetBase.Property('图例开关', {
|
|
17815
18187
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
17816
18188
|
}),
|
|
17817
18189
|
__metadata("design:type", Object)
|
|
17818
|
-
], exports.ɵ
|
|
18190
|
+
], exports.ɵdj.prototype, "showLegend", void 0);
|
|
17819
18191
|
__decorate([
|
|
17820
18192
|
bbjWidgetBase.Property('图例间距', { type: 'number' }),
|
|
17821
18193
|
__metadata("design:type", Object)
|
|
17822
|
-
], exports.ɵ
|
|
18194
|
+
], exports.ɵdj.prototype, "itemDistance", void 0);
|
|
17823
18195
|
__decorate([
|
|
17824
18196
|
bbjWidgetBase.Property('高度系数', { type: 'number' }),
|
|
17825
18197
|
__metadata("design:type", Object)
|
|
17826
|
-
], exports.ɵ
|
|
18198
|
+
], exports.ɵdj.prototype, "coefficient", void 0);
|
|
17827
18199
|
__decorate([
|
|
17828
18200
|
bbjWidgetBase.Property('开始角度', { type: 'number' }),
|
|
17829
18201
|
__metadata("design:type", Object)
|
|
17830
|
-
], exports.ɵ
|
|
18202
|
+
], exports.ɵdj.prototype, "startAngle", void 0);
|
|
17831
18203
|
__decorate([
|
|
17832
18204
|
bbjWidgetBase.Property('图例水平', {
|
|
17833
18205
|
ui: { widget: 'select' },
|
|
@@ -17838,7 +18210,7 @@
|
|
|
17838
18210
|
],
|
|
17839
18211
|
}),
|
|
17840
18212
|
__metadata("design:type", Object)
|
|
17841
|
-
], exports.ɵ
|
|
18213
|
+
], exports.ɵdj.prototype, "alignType", void 0);
|
|
17842
18214
|
__decorate([
|
|
17843
18215
|
bbjWidgetBase.Property('图例垂直', {
|
|
17844
18216
|
ui: { widget: 'select' },
|
|
@@ -17849,11 +18221,11 @@
|
|
|
17849
18221
|
],
|
|
17850
18222
|
}),
|
|
17851
18223
|
__metadata("design:type", Object)
|
|
17852
|
-
], exports.ɵ
|
|
18224
|
+
], exports.ɵdj.prototype, "verticalAlign", void 0);
|
|
17853
18225
|
__decorate([
|
|
17854
18226
|
bbjWidgetBase.Property('提示框字体', { ui: { widget: 'myFont' } }),
|
|
17855
18227
|
__metadata("design:type", Object)
|
|
17856
|
-
], exports.ɵ
|
|
18228
|
+
], exports.ɵdj.prototype, "tooltipFont", void 0);
|
|
17857
18229
|
__decorate([
|
|
17858
18230
|
bbjWidgetBase.Data({
|
|
17859
18231
|
properties: {
|
|
@@ -17862,25 +18234,25 @@
|
|
|
17862
18234
|
},
|
|
17863
18235
|
}),
|
|
17864
18236
|
__metadata("design:type", Object)
|
|
17865
|
-
], exports.ɵ
|
|
17866
|
-
exports.ɵ
|
|
18237
|
+
], exports.ɵdj.prototype, "_data", void 0);
|
|
18238
|
+
exports.ɵdj = __decorate([
|
|
17867
18239
|
bbjWidgetBase.Widget('3D饼图', {
|
|
17868
18240
|
group: 'pieChart',
|
|
17869
18241
|
image: 'assets/img/screen/pie3d.png',
|
|
17870
18242
|
icon: 'icontubiao',
|
|
17871
18243
|
}),
|
|
17872
18244
|
__metadata("design:paramtypes", [HighChartsService])
|
|
17873
|
-
], exports.ɵ
|
|
18245
|
+
], exports.ɵdj);
|
|
17874
18246
|
|
|
17875
18247
|
var Pie3dChartModule = /** @class */ (function () {
|
|
17876
18248
|
function Pie3dChartModule(widgetService) {
|
|
17877
|
-
widgetService.register(exports.ɵ
|
|
18249
|
+
widgetService.register(exports.ɵdj);
|
|
17878
18250
|
}
|
|
17879
18251
|
return Pie3dChartModule;
|
|
17880
18252
|
}());
|
|
17881
18253
|
Pie3dChartModule.decorators = [
|
|
17882
18254
|
{ type: i0.NgModule, args: [{
|
|
17883
|
-
declarations: [exports.ɵ
|
|
18255
|
+
declarations: [exports.ɵdj],
|
|
17884
18256
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule],
|
|
17885
18257
|
},] }
|
|
17886
18258
|
];
|
|
@@ -17888,7 +18260,7 @@
|
|
|
17888
18260
|
{ type: bbjWidgetBase.WidgetService }
|
|
17889
18261
|
]; };
|
|
17890
18262
|
|
|
17891
|
-
exports.ɵ
|
|
18263
|
+
exports.ɵdm = /** @class */ (function () {
|
|
17892
18264
|
function MultiTitleGaugeComponent() {
|
|
17893
18265
|
this.font = {
|
|
17894
18266
|
family: '',
|
|
@@ -18058,28 +18430,28 @@
|
|
|
18058
18430
|
};
|
|
18059
18431
|
return MultiTitleGaugeComponent;
|
|
18060
18432
|
}());
|
|
18061
|
-
exports.ɵ
|
|
18433
|
+
exports.ɵdm.decorators = [
|
|
18062
18434
|
{ type: i0.Component, args: [{
|
|
18063
18435
|
selector: 'sc-multi-title-gauge',
|
|
18064
18436
|
template: "<div echarts [options]=\"chartOption\" class=\"demo-chart\" [initOpts]=\"{ renderer: 'svg' }\"></div>\n",
|
|
18065
18437
|
styles: [":host{display:block;width:100%}.demo-chart,:host{height:100%}"]
|
|
18066
18438
|
},] }
|
|
18067
18439
|
];
|
|
18068
|
-
exports.ɵ
|
|
18440
|
+
exports.ɵdm.ctorParameters = function () { return []; };
|
|
18069
18441
|
__decorate([
|
|
18070
18442
|
bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
|
|
18071
18443
|
__metadata("design:type", Object)
|
|
18072
|
-
], exports.ɵ
|
|
18444
|
+
], exports.ɵdm.prototype, "font", void 0);
|
|
18073
18445
|
__decorate([
|
|
18074
18446
|
bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
|
|
18075
18447
|
__metadata("design:type", Object)
|
|
18076
|
-
], exports.ɵ
|
|
18448
|
+
], exports.ɵdm.prototype, "detailFont", void 0);
|
|
18077
18449
|
__decorate([
|
|
18078
18450
|
bbjWidgetBase.Property('百分号', {
|
|
18079
18451
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18080
18452
|
}),
|
|
18081
18453
|
__metadata("design:type", Object)
|
|
18082
|
-
], exports.ɵ
|
|
18454
|
+
], exports.ɵdm.prototype, "percent", void 0);
|
|
18083
18455
|
__decorate([
|
|
18084
18456
|
bbjWidgetBase.Property('类别颜色', {
|
|
18085
18457
|
ui: {
|
|
@@ -18089,61 +18461,61 @@
|
|
|
18089
18461
|
},
|
|
18090
18462
|
}),
|
|
18091
18463
|
__metadata("design:type", Object)
|
|
18092
|
-
], exports.ɵ
|
|
18464
|
+
], exports.ɵdm.prototype, "colors", void 0);
|
|
18093
18465
|
__decorate([
|
|
18094
18466
|
bbjWidgetBase.Property('起始角度', {
|
|
18095
18467
|
ui: { widget: 'myRange', min: 90, max: 360, step: 1 },
|
|
18096
18468
|
}),
|
|
18097
18469
|
__metadata("design:type", Object)
|
|
18098
|
-
], exports.ɵ
|
|
18470
|
+
], exports.ɵdm.prototype, "startAngle", void 0);
|
|
18099
18471
|
__decorate([
|
|
18100
18472
|
bbjWidgetBase.Property('结束角度', {
|
|
18101
18473
|
ui: { widget: 'myRange', min: -90, max: 90, step: 1 },
|
|
18102
18474
|
}),
|
|
18103
18475
|
__metadata("design:type", Object)
|
|
18104
|
-
], exports.ɵ
|
|
18476
|
+
], exports.ɵdm.prototype, "endAngle", void 0);
|
|
18105
18477
|
__decorate([
|
|
18106
18478
|
bbjWidgetBase.Property('标签', {
|
|
18107
18479
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18108
18480
|
}),
|
|
18109
18481
|
__metadata("design:type", Object)
|
|
18110
|
-
], exports.ɵ
|
|
18482
|
+
], exports.ɵdm.prototype, "label", void 0);
|
|
18111
18483
|
__decorate([
|
|
18112
18484
|
bbjWidgetBase.Property('最大值', {
|
|
18113
18485
|
ui: { widget: 'number' },
|
|
18114
18486
|
}),
|
|
18115
18487
|
__metadata("design:type", Object)
|
|
18116
|
-
], exports.ɵ
|
|
18488
|
+
], exports.ɵdm.prototype, "max", void 0);
|
|
18117
18489
|
__decorate([
|
|
18118
18490
|
bbjWidgetBase.Property('最小值', {
|
|
18119
18491
|
ui: { widget: 'number' },
|
|
18120
18492
|
}),
|
|
18121
18493
|
__metadata("design:type", Object)
|
|
18122
|
-
], exports.ɵ
|
|
18494
|
+
], exports.ɵdm.prototype, "min", void 0);
|
|
18123
18495
|
__decorate([
|
|
18124
18496
|
bbjWidgetBase.Property('指针长度', {
|
|
18125
18497
|
ui: { widget: 'number' },
|
|
18126
18498
|
}),
|
|
18127
18499
|
__metadata("design:type", Object)
|
|
18128
|
-
], exports.ɵ
|
|
18500
|
+
], exports.ɵdm.prototype, "pointerLength", void 0);
|
|
18129
18501
|
__decorate([
|
|
18130
18502
|
bbjWidgetBase.Property('环宽', {
|
|
18131
18503
|
ui: { widget: 'number' },
|
|
18132
18504
|
}),
|
|
18133
18505
|
__metadata("design:type", Object)
|
|
18134
|
-
], exports.ɵ
|
|
18506
|
+
], exports.ɵdm.prototype, "width", void 0);
|
|
18135
18507
|
__decorate([
|
|
18136
18508
|
bbjWidgetBase.Property('显示指针', {
|
|
18137
18509
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18138
18510
|
}),
|
|
18139
18511
|
__metadata("design:type", Object)
|
|
18140
|
-
], exports.ɵ
|
|
18512
|
+
], exports.ɵdm.prototype, "showPointer", void 0);
|
|
18141
18513
|
__decorate([
|
|
18142
18514
|
bbjWidgetBase.Property('显示刻度', {
|
|
18143
18515
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18144
18516
|
}),
|
|
18145
18517
|
__metadata("design:type", Object)
|
|
18146
|
-
], exports.ɵ
|
|
18518
|
+
], exports.ɵdm.prototype, "showScale", void 0);
|
|
18147
18519
|
__decorate([
|
|
18148
18520
|
bbjWidgetBase.Data({
|
|
18149
18521
|
properties: {
|
|
@@ -18152,25 +18524,25 @@
|
|
|
18152
18524
|
},
|
|
18153
18525
|
}),
|
|
18154
18526
|
__metadata("design:type", Object)
|
|
18155
|
-
], exports.ɵ
|
|
18156
|
-
exports.ɵ
|
|
18527
|
+
], exports.ɵdm.prototype, "_data", void 0);
|
|
18528
|
+
exports.ɵdm = __decorate([
|
|
18157
18529
|
bbjWidgetBase.Widget('多标题仪表盘', {
|
|
18158
18530
|
group: 'otherChart',
|
|
18159
18531
|
image: 'assets/img/screen/multiTitleGauge.png',
|
|
18160
18532
|
icon: 'icontubiao',
|
|
18161
18533
|
}),
|
|
18162
18534
|
__metadata("design:paramtypes", [])
|
|
18163
|
-
], exports.ɵ
|
|
18535
|
+
], exports.ɵdm);
|
|
18164
18536
|
|
|
18165
18537
|
var MultiTitleGaugeModule = /** @class */ (function () {
|
|
18166
18538
|
function MultiTitleGaugeModule(widgetService) {
|
|
18167
|
-
widgetService.register(exports.ɵ
|
|
18539
|
+
widgetService.register(exports.ɵdm);
|
|
18168
18540
|
}
|
|
18169
18541
|
return MultiTitleGaugeModule;
|
|
18170
18542
|
}());
|
|
18171
18543
|
MultiTitleGaugeModule.decorators = [
|
|
18172
18544
|
{ type: i0.NgModule, args: [{
|
|
18173
|
-
declarations: [exports.ɵ
|
|
18545
|
+
declarations: [exports.ɵdm],
|
|
18174
18546
|
imports: [
|
|
18175
18547
|
common.CommonModule, bbjWidgetBase.WidgetBaseModule, ngxEcharts.NgxEchartsModule
|
|
18176
18548
|
]
|
|
@@ -18180,7 +18552,7 @@
|
|
|
18180
18552
|
{ type: bbjWidgetBase.WidgetService }
|
|
18181
18553
|
]; };
|
|
18182
18554
|
|
|
18183
|
-
exports.ɵ
|
|
18555
|
+
exports.ɵdo = /** @class */ (function () {
|
|
18184
18556
|
function GaugeProgressComponent() {
|
|
18185
18557
|
this.numfont = {
|
|
18186
18558
|
family: 'Microsoft YaHei',
|
|
@@ -18350,36 +18722,36 @@
|
|
|
18350
18722
|
};
|
|
18351
18723
|
return GaugeProgressComponent;
|
|
18352
18724
|
}());
|
|
18353
|
-
exports.ɵ
|
|
18725
|
+
exports.ɵdo.decorators = [
|
|
18354
18726
|
{ type: i0.Component, args: [{
|
|
18355
18727
|
selector: 'sc-gauge-progress',
|
|
18356
18728
|
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",
|
|
18357
18729
|
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%}"]
|
|
18358
18730
|
},] }
|
|
18359
18731
|
];
|
|
18360
|
-
exports.ɵ
|
|
18732
|
+
exports.ɵdo.ctorParameters = function () { return []; };
|
|
18361
18733
|
__decorate([
|
|
18362
18734
|
bbjWidgetBase.Property('数值字体', { ui: { widget: 'myFont' } }),
|
|
18363
18735
|
__metadata("design:type", Object)
|
|
18364
|
-
], exports.ɵ
|
|
18736
|
+
], exports.ɵdo.prototype, "numfont", void 0);
|
|
18365
18737
|
__decorate([
|
|
18366
18738
|
bbjWidgetBase.Property('可视个数', { type: 'number' }),
|
|
18367
18739
|
__metadata("design:type", Object)
|
|
18368
|
-
], exports.ɵ
|
|
18740
|
+
], exports.ɵdo.prototype, "slidesPerView", void 0);
|
|
18369
18741
|
__decorate([
|
|
18370
18742
|
bbjWidgetBase.Property('间距', { type: 'number' }),
|
|
18371
18743
|
__metadata("design:type", Object)
|
|
18372
|
-
], exports.ɵ
|
|
18744
|
+
], exports.ɵdo.prototype, "spaceBetween", void 0);
|
|
18373
18745
|
__decorate([
|
|
18374
18746
|
bbjWidgetBase.Property('左右按钮', {
|
|
18375
18747
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18376
18748
|
}),
|
|
18377
18749
|
__metadata("design:type", Object)
|
|
18378
|
-
], exports.ɵ
|
|
18750
|
+
], exports.ɵdo.prototype, "navigation", void 0);
|
|
18379
18751
|
__decorate([
|
|
18380
18752
|
bbjWidgetBase.Property('按钮偏移', { type: 'number' }),
|
|
18381
18753
|
__metadata("design:type", Object)
|
|
18382
|
-
], exports.ɵ
|
|
18754
|
+
], exports.ɵdo.prototype, "navigationMoveVal", void 0);
|
|
18383
18755
|
__decorate([
|
|
18384
18756
|
bbjWidgetBase.Property('左图标', {
|
|
18385
18757
|
type: 'string',
|
|
@@ -18388,7 +18760,7 @@
|
|
|
18388
18760
|
},
|
|
18389
18761
|
}),
|
|
18390
18762
|
__metadata("design:type", Object)
|
|
18391
|
-
], exports.ɵ
|
|
18763
|
+
], exports.ɵdo.prototype, "navigationLeftIcon", void 0);
|
|
18392
18764
|
__decorate([
|
|
18393
18765
|
bbjWidgetBase.Property('右图标', {
|
|
18394
18766
|
type: 'string',
|
|
@@ -18397,14 +18769,14 @@
|
|
|
18397
18769
|
},
|
|
18398
18770
|
}),
|
|
18399
18771
|
__metadata("design:type", Object)
|
|
18400
|
-
], exports.ɵ
|
|
18772
|
+
], exports.ɵdo.prototype, "navigationRightIcon", void 0);
|
|
18401
18773
|
__decorate([
|
|
18402
18774
|
bbjWidgetBase.Property('显示模式', {
|
|
18403
18775
|
ui: { widget: 'select' },
|
|
18404
18776
|
enum: [{ label: '图标卡片', value: 'card' }],
|
|
18405
18777
|
}),
|
|
18406
18778
|
__metadata("design:type", Object)
|
|
18407
|
-
], exports.ɵ
|
|
18779
|
+
], exports.ɵdo.prototype, "showType", void 0);
|
|
18408
18780
|
__decorate([
|
|
18409
18781
|
bbjWidgetBase.Property('卡片背景', {
|
|
18410
18782
|
type: 'string',
|
|
@@ -18413,7 +18785,7 @@
|
|
|
18413
18785
|
},
|
|
18414
18786
|
}),
|
|
18415
18787
|
__metadata("design:type", Object)
|
|
18416
|
-
], exports.ɵ
|
|
18788
|
+
], exports.ɵdo.prototype, "cardBgImg", void 0);
|
|
18417
18789
|
__decorate([
|
|
18418
18790
|
bbjWidgetBase.Property('表盘颜色', {
|
|
18419
18791
|
ui: {
|
|
@@ -18423,81 +18795,81 @@
|
|
|
18423
18795
|
},
|
|
18424
18796
|
}),
|
|
18425
18797
|
__metadata("design:type", Object)
|
|
18426
|
-
], exports.ɵ
|
|
18798
|
+
], exports.ɵdo.prototype, "seriesColor", void 0);
|
|
18427
18799
|
__decorate([
|
|
18428
18800
|
bbjWidgetBase.Property('表盘宽度', {
|
|
18429
18801
|
ui: { widget: 'myRange', min: 0, max: 100, step: 1 },
|
|
18430
18802
|
}),
|
|
18431
18803
|
__metadata("design:type", Object)
|
|
18432
|
-
], exports.ɵ
|
|
18804
|
+
], exports.ɵdo.prototype, "width", void 0);
|
|
18433
18805
|
__decorate([
|
|
18434
18806
|
bbjWidgetBase.Property('起始角度', {
|
|
18435
18807
|
ui: { widget: 'myRange', min: 90, max: 360, step: 1 },
|
|
18436
18808
|
}),
|
|
18437
18809
|
__metadata("design:type", Object)
|
|
18438
|
-
], exports.ɵ
|
|
18810
|
+
], exports.ɵdo.prototype, "startAngle", void 0);
|
|
18439
18811
|
__decorate([
|
|
18440
18812
|
bbjWidgetBase.Property('结束角度', {
|
|
18441
18813
|
ui: { widget: 'myRange', min: -90, max: 90, step: 1 },
|
|
18442
18814
|
}),
|
|
18443
18815
|
__metadata("design:type", Object)
|
|
18444
|
-
], exports.ɵ
|
|
18816
|
+
], exports.ɵdo.prototype, "endAngle", void 0);
|
|
18445
18817
|
__decorate([
|
|
18446
18818
|
bbjWidgetBase.Property('显示标题', {
|
|
18447
18819
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18448
18820
|
}),
|
|
18449
18821
|
__metadata("design:type", Object)
|
|
18450
|
-
], exports.ɵ
|
|
18822
|
+
], exports.ɵdo.prototype, "label", void 0);
|
|
18451
18823
|
__decorate([
|
|
18452
18824
|
bbjWidgetBase.Property('标题字体', { ui: { widget: 'myFont' } }),
|
|
18453
18825
|
__metadata("design:type", Object)
|
|
18454
|
-
], exports.ɵ
|
|
18826
|
+
], exports.ɵdo.prototype, "font", void 0);
|
|
18455
18827
|
__decorate([
|
|
18456
18828
|
bbjWidgetBase.Property('标题位移', {
|
|
18457
18829
|
ui: { widget: 'number' },
|
|
18458
18830
|
}),
|
|
18459
18831
|
__metadata("design:type", Object)
|
|
18460
|
-
], exports.ɵ
|
|
18832
|
+
], exports.ɵdo.prototype, "labelOffset", void 0);
|
|
18461
18833
|
__decorate([
|
|
18462
18834
|
bbjWidgetBase.Property('标题宽度', {
|
|
18463
18835
|
ui: { widget: 'number' },
|
|
18464
18836
|
}),
|
|
18465
18837
|
__metadata("design:type", Object)
|
|
18466
|
-
], exports.ɵ
|
|
18838
|
+
], exports.ɵdo.prototype, "labelWidth", void 0);
|
|
18467
18839
|
__decorate([
|
|
18468
18840
|
bbjWidgetBase.Property('显示数值', {
|
|
18469
18841
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18470
18842
|
}),
|
|
18471
18843
|
__metadata("design:type", Object)
|
|
18472
|
-
], exports.ɵ
|
|
18844
|
+
], exports.ɵdo.prototype, "labelVal", void 0);
|
|
18473
18845
|
__decorate([
|
|
18474
18846
|
bbjWidgetBase.Property('数值字体', { ui: { widget: 'myFont' } }),
|
|
18475
18847
|
__metadata("design:type", Object)
|
|
18476
|
-
], exports.ɵ
|
|
18848
|
+
], exports.ɵdo.prototype, "numFont", void 0);
|
|
18477
18849
|
__decorate([
|
|
18478
18850
|
bbjWidgetBase.Property('百分号', {
|
|
18479
18851
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18480
18852
|
}),
|
|
18481
18853
|
__metadata("design:type", Object)
|
|
18482
|
-
], exports.ɵ
|
|
18854
|
+
], exports.ɵdo.prototype, "percent", void 0);
|
|
18483
18855
|
__decorate([
|
|
18484
18856
|
bbjWidgetBase.Property('数值位移', {
|
|
18485
18857
|
ui: { widget: 'number' },
|
|
18486
18858
|
}),
|
|
18487
18859
|
__metadata("design:type", Object)
|
|
18488
|
-
], exports.ɵ
|
|
18860
|
+
], exports.ɵdo.prototype, "labelValOffset", void 0);
|
|
18489
18861
|
__decorate([
|
|
18490
18862
|
bbjWidgetBase.Property('最大值', {
|
|
18491
18863
|
ui: { widget: 'number' },
|
|
18492
18864
|
}),
|
|
18493
18865
|
__metadata("design:type", Object)
|
|
18494
|
-
], exports.ɵ
|
|
18866
|
+
], exports.ɵdo.prototype, "max", void 0);
|
|
18495
18867
|
__decorate([
|
|
18496
18868
|
bbjWidgetBase.Property('最小值', {
|
|
18497
18869
|
ui: { widget: 'number' },
|
|
18498
18870
|
}),
|
|
18499
18871
|
__metadata("design:type", Object)
|
|
18500
|
-
], exports.ɵ
|
|
18872
|
+
], exports.ɵdo.prototype, "min", void 0);
|
|
18501
18873
|
__decorate([
|
|
18502
18874
|
bbjWidgetBase.Property('进度颜色', {
|
|
18503
18875
|
ui: {
|
|
@@ -18506,7 +18878,7 @@
|
|
|
18506
18878
|
},
|
|
18507
18879
|
}),
|
|
18508
18880
|
__metadata("design:type", Object)
|
|
18509
|
-
], exports.ɵ
|
|
18881
|
+
], exports.ɵdo.prototype, "progressColor", void 0);
|
|
18510
18882
|
__decorate([
|
|
18511
18883
|
bbjWidgetBase.Property('进度阴影', {
|
|
18512
18884
|
ui: {
|
|
@@ -18515,7 +18887,7 @@
|
|
|
18515
18887
|
},
|
|
18516
18888
|
}),
|
|
18517
18889
|
__metadata("design:type", Object)
|
|
18518
|
-
], exports.ɵ
|
|
18890
|
+
], exports.ɵdo.prototype, "progressShadow", void 0);
|
|
18519
18891
|
__decorate([
|
|
18520
18892
|
bbjWidgetBase.Data({
|
|
18521
18893
|
properties: {
|
|
@@ -18524,25 +18896,25 @@
|
|
|
18524
18896
|
},
|
|
18525
18897
|
}),
|
|
18526
18898
|
__metadata("design:type", Object)
|
|
18527
|
-
], exports.ɵ
|
|
18528
|
-
exports.ɵ
|
|
18899
|
+
], exports.ɵdo.prototype, "_data", void 0);
|
|
18900
|
+
exports.ɵdo = __decorate([
|
|
18529
18901
|
bbjWidgetBase.Widget('进度条仪表盘', {
|
|
18530
18902
|
group: 'otherChart',
|
|
18531
18903
|
image: 'assets/img/screen/gauge-progress.png',
|
|
18532
18904
|
icon: 'icontubiao',
|
|
18533
18905
|
}),
|
|
18534
18906
|
__metadata("design:paramtypes", [])
|
|
18535
|
-
], exports.ɵ
|
|
18907
|
+
], exports.ɵdo);
|
|
18536
18908
|
|
|
18537
18909
|
var GaugeProgressModule = /** @class */ (function () {
|
|
18538
18910
|
function GaugeProgressModule(widgetService) {
|
|
18539
|
-
widgetService.register(exports.ɵ
|
|
18911
|
+
widgetService.register(exports.ɵdo);
|
|
18540
18912
|
}
|
|
18541
18913
|
return GaugeProgressModule;
|
|
18542
18914
|
}());
|
|
18543
18915
|
GaugeProgressModule.decorators = [
|
|
18544
18916
|
{ type: i0.NgModule, args: [{
|
|
18545
|
-
declarations: [exports.ɵ
|
|
18917
|
+
declarations: [exports.ɵdo],
|
|
18546
18918
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, ngxEcharts.NgxEchartsModule],
|
|
18547
18919
|
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA],
|
|
18548
18920
|
},] }
|
|
@@ -18551,7 +18923,7 @@
|
|
|
18551
18923
|
{ type: bbjWidgetBase.WidgetService }
|
|
18552
18924
|
]; };
|
|
18553
18925
|
|
|
18554
|
-
exports.ɵ
|
|
18926
|
+
exports.ɵds = /** @class */ (function () {
|
|
18555
18927
|
function BulletinBoardComponent() {
|
|
18556
18928
|
this.title = '';
|
|
18557
18929
|
this.titleFont = { family: '', color: '#ffffff', weight: 'normal', size: 20, space: 0, lineHeight: 40 };
|
|
@@ -18626,30 +18998,30 @@
|
|
|
18626
18998
|
};
|
|
18627
18999
|
return BulletinBoardComponent;
|
|
18628
19000
|
}());
|
|
18629
|
-
exports.ɵ
|
|
19001
|
+
exports.ɵds.decorators = [
|
|
18630
19002
|
{ type: i0.Component, args: [{
|
|
18631
19003
|
selector: 'sc-bulletin-board',
|
|
18632
19004
|
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",
|
|
18633
19005
|
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}"]
|
|
18634
19006
|
},] }
|
|
18635
19007
|
];
|
|
18636
|
-
exports.ɵ
|
|
19008
|
+
exports.ɵds.ctorParameters = function () { return []; };
|
|
18637
19009
|
__decorate([
|
|
18638
19010
|
bbjWidgetBase.Property('标题', { type: 'string' }),
|
|
18639
19011
|
__metadata("design:type", Object)
|
|
18640
|
-
], exports.ɵ
|
|
19012
|
+
], exports.ɵds.prototype, "title", void 0);
|
|
18641
19013
|
__decorate([
|
|
18642
19014
|
bbjWidgetBase.Property('标题字体', { ui: { widget: 'myFont' } }),
|
|
18643
19015
|
__metadata("design:type", Object)
|
|
18644
|
-
], exports.ɵ
|
|
19016
|
+
], exports.ɵds.prototype, "titleFont", void 0);
|
|
18645
19017
|
__decorate([
|
|
18646
19018
|
bbjWidgetBase.Property('小标题字', { ui: { widget: 'myFont' } }),
|
|
18647
19019
|
__metadata("design:type", Object)
|
|
18648
|
-
], exports.ɵ
|
|
19020
|
+
], exports.ɵds.prototype, "subtitleFont", void 0);
|
|
18649
19021
|
__decorate([
|
|
18650
19022
|
bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
|
|
18651
19023
|
__metadata("design:type", Object)
|
|
18652
|
-
], exports.ɵ
|
|
19024
|
+
], exports.ɵds.prototype, "font", void 0);
|
|
18653
19025
|
__decorate([
|
|
18654
19026
|
bbjWidgetBase.Property('边框颜色', {
|
|
18655
19027
|
ui: {
|
|
@@ -18658,7 +19030,7 @@
|
|
|
18658
19030
|
},
|
|
18659
19031
|
}),
|
|
18660
19032
|
__metadata("design:type", Object)
|
|
18661
|
-
], exports.ɵ
|
|
19033
|
+
], exports.ɵds.prototype, "borderColor", void 0);
|
|
18662
19034
|
__decorate([
|
|
18663
19035
|
bbjWidgetBase.Property('渐变开始', {
|
|
18664
19036
|
ui: {
|
|
@@ -18667,7 +19039,7 @@
|
|
|
18667
19039
|
},
|
|
18668
19040
|
}),
|
|
18669
19041
|
__metadata("design:type", Object)
|
|
18670
|
-
], exports.ɵ
|
|
19042
|
+
], exports.ɵds.prototype, "startColor", void 0);
|
|
18671
19043
|
__decorate([
|
|
18672
19044
|
bbjWidgetBase.Property('渐变结束', {
|
|
18673
19045
|
ui: {
|
|
@@ -18676,25 +19048,25 @@
|
|
|
18676
19048
|
},
|
|
18677
19049
|
}),
|
|
18678
19050
|
__metadata("design:type", Object)
|
|
18679
|
-
], exports.ɵ
|
|
19051
|
+
], exports.ɵds.prototype, "endColor", void 0);
|
|
18680
19052
|
__decorate([
|
|
18681
19053
|
bbjWidgetBase.Property('边框粗细', {
|
|
18682
19054
|
type: 'number'
|
|
18683
19055
|
}),
|
|
18684
19056
|
__metadata("design:type", Object)
|
|
18685
|
-
], exports.ɵ
|
|
19057
|
+
], exports.ɵds.prototype, "borderWidth", void 0);
|
|
18686
19058
|
__decorate([
|
|
18687
19059
|
bbjWidgetBase.Property('分隔符', {
|
|
18688
19060
|
type: 'string'
|
|
18689
19061
|
}),
|
|
18690
19062
|
__metadata("design:type", Object)
|
|
18691
|
-
], exports.ɵ
|
|
19063
|
+
], exports.ɵds.prototype, "separate", void 0);
|
|
18692
19064
|
__decorate([
|
|
18693
19065
|
bbjWidgetBase.Property('内容边距', {
|
|
18694
19066
|
type: 'number'
|
|
18695
19067
|
}),
|
|
18696
19068
|
__metadata("design:type", Object)
|
|
18697
|
-
], exports.ɵ
|
|
19069
|
+
], exports.ɵds.prototype, "marginSize", void 0);
|
|
18698
19070
|
__decorate([
|
|
18699
19071
|
bbjWidgetBase.Data({
|
|
18700
19072
|
properties: {
|
|
@@ -18703,22 +19075,22 @@
|
|
|
18703
19075
|
},
|
|
18704
19076
|
}),
|
|
18705
19077
|
__metadata("design:type", Object)
|
|
18706
|
-
], exports.ɵ
|
|
18707
|
-
exports.ɵ
|
|
19078
|
+
], exports.ɵds.prototype, "_data", void 0);
|
|
19079
|
+
exports.ɵds = __decorate([
|
|
18708
19080
|
bbjWidgetBase.Widget('布告栏', { group: 'component', icon: 'icontubiao', image: '/assets/img/screen/bulletin-board.png' }),
|
|
18709
19081
|
__metadata("design:paramtypes", [])
|
|
18710
|
-
], exports.ɵ
|
|
19082
|
+
], exports.ɵds);
|
|
18711
19083
|
|
|
18712
19084
|
var BulletinBoardModule = /** @class */ (function () {
|
|
18713
19085
|
function BulletinBoardModule(widgetService) {
|
|
18714
|
-
widgetService.register(exports.ɵ
|
|
19086
|
+
widgetService.register(exports.ɵds);
|
|
18715
19087
|
}
|
|
18716
19088
|
return BulletinBoardModule;
|
|
18717
19089
|
}());
|
|
18718
19090
|
BulletinBoardModule.decorators = [
|
|
18719
19091
|
{ type: i0.NgModule, args: [{
|
|
18720
19092
|
declarations: [
|
|
18721
|
-
exports.ɵ
|
|
19093
|
+
exports.ɵds
|
|
18722
19094
|
],
|
|
18723
19095
|
imports: [
|
|
18724
19096
|
common.CommonModule
|
|
@@ -18741,7 +19113,7 @@
|
|
|
18741
19113
|
// Thumbs,
|
|
18742
19114
|
// Controller
|
|
18743
19115
|
// ]);
|
|
18744
|
-
exports.ɵ
|
|
19116
|
+
exports.ɵdq = /** @class */ (function () {
|
|
18745
19117
|
function ItemSwiperComponent(ele) {
|
|
18746
19118
|
this.ele = ele;
|
|
18747
19119
|
this.font = { family: 'Microsoft YaHei', color: '#ffffff', weight: 'normal', size: 20, space: 0, lineHeight: '66' };
|
|
@@ -18905,58 +19277,58 @@
|
|
|
18905
19277
|
ItemSwiperComponent.prototype.onSlideChange = function () { };
|
|
18906
19278
|
return ItemSwiperComponent;
|
|
18907
19279
|
}());
|
|
18908
|
-
exports.ɵ
|
|
19280
|
+
exports.ɵdq.decorators = [
|
|
18909
19281
|
{ type: i0.Component, args: [{
|
|
18910
19282
|
selector: 'sc-item-swiper',
|
|
18911
19283
|
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",
|
|
18912
19284
|
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}"]
|
|
18913
19285
|
},] }
|
|
18914
19286
|
];
|
|
18915
|
-
exports.ɵ
|
|
19287
|
+
exports.ɵdq.ctorParameters = function () { return [
|
|
18916
19288
|
{ type: i0.ElementRef }
|
|
18917
19289
|
]; };
|
|
18918
19290
|
__decorate([
|
|
18919
19291
|
bbjWidgetBase.Property('标题字体', { ui: { widget: 'myFont' } }),
|
|
18920
19292
|
__metadata("design:type", Object)
|
|
18921
|
-
], exports.ɵ
|
|
19293
|
+
], exports.ɵdq.prototype, "font", void 0);
|
|
18922
19294
|
__decorate([
|
|
18923
19295
|
bbjWidgetBase.Property('数值字体', { ui: { widget: 'myFont' } }),
|
|
18924
19296
|
__metadata("design:type", Object)
|
|
18925
|
-
], exports.ɵ
|
|
19297
|
+
], exports.ɵdq.prototype, "numfont", void 0);
|
|
18926
19298
|
__decorate([
|
|
18927
19299
|
bbjWidgetBase.Property('分组字体', { ui: { widget: 'myFont' } }),
|
|
18928
19300
|
__metadata("design:type", Object)
|
|
18929
|
-
], exports.ɵ
|
|
19301
|
+
], exports.ɵdq.prototype, "titlefont", void 0);
|
|
18930
19302
|
__decorate([
|
|
18931
19303
|
bbjWidgetBase.Property('可视个数', { type: 'number' }),
|
|
18932
19304
|
__metadata("design:type", Object)
|
|
18933
|
-
], exports.ɵ
|
|
19305
|
+
], exports.ɵdq.prototype, "slidesPerView", void 0);
|
|
18934
19306
|
__decorate([
|
|
18935
19307
|
bbjWidgetBase.Property('选项高度'),
|
|
18936
19308
|
__metadata("design:type", Number)
|
|
18937
|
-
], exports.ɵ
|
|
19309
|
+
], exports.ɵdq.prototype, "selectHeight", void 0);
|
|
18938
19310
|
__decorate([
|
|
18939
19311
|
bbjWidgetBase.Property('分组高度', { type: 'number' }),
|
|
18940
19312
|
__metadata("design:type", Object)
|
|
18941
|
-
], exports.ɵ
|
|
19313
|
+
], exports.ɵdq.prototype, "gourpHeight", void 0);
|
|
18942
19314
|
__decorate([
|
|
18943
19315
|
bbjWidgetBase.Property('值高度', { type: 'number' }),
|
|
18944
19316
|
__metadata("design:type", Object)
|
|
18945
|
-
], exports.ɵ
|
|
19317
|
+
], exports.ɵdq.prototype, "valueBottom", void 0);
|
|
18946
19318
|
__decorate([
|
|
18947
19319
|
bbjWidgetBase.Property('间距', { type: 'number' }),
|
|
18948
19320
|
__metadata("design:type", Object)
|
|
18949
|
-
], exports.ɵ
|
|
19321
|
+
], exports.ɵdq.prototype, "spaceBetween", void 0);
|
|
18950
19322
|
__decorate([
|
|
18951
19323
|
bbjWidgetBase.Property('左右按钮', {
|
|
18952
19324
|
ui: { widget: 'boolean', checkedChildren: '开', unCheckedChildren: '关' },
|
|
18953
19325
|
}),
|
|
18954
19326
|
__metadata("design:type", Object)
|
|
18955
|
-
], exports.ɵ
|
|
19327
|
+
], exports.ɵdq.prototype, "navigation", void 0);
|
|
18956
19328
|
__decorate([
|
|
18957
19329
|
bbjWidgetBase.Property('按钮偏移', { type: 'number' }),
|
|
18958
19330
|
__metadata("design:type", Object)
|
|
18959
|
-
], exports.ɵ
|
|
19331
|
+
], exports.ɵdq.prototype, "navigationMoveVal", void 0);
|
|
18960
19332
|
__decorate([
|
|
18961
19333
|
bbjWidgetBase.Property('左图标', {
|
|
18962
19334
|
type: 'string',
|
|
@@ -18965,7 +19337,7 @@
|
|
|
18965
19337
|
},
|
|
18966
19338
|
}),
|
|
18967
19339
|
__metadata("design:type", Object)
|
|
18968
|
-
], exports.ɵ
|
|
19340
|
+
], exports.ɵdq.prototype, "navigationLeftIcon", void 0);
|
|
18969
19341
|
__decorate([
|
|
18970
19342
|
bbjWidgetBase.Property('右图标', {
|
|
18971
19343
|
type: 'string',
|
|
@@ -18974,14 +19346,14 @@
|
|
|
18974
19346
|
},
|
|
18975
19347
|
}),
|
|
18976
19348
|
__metadata("design:type", Object)
|
|
18977
|
-
], exports.ɵ
|
|
19349
|
+
], exports.ɵdq.prototype, "navigationRightIcon", void 0);
|
|
18978
19350
|
__decorate([
|
|
18979
19351
|
bbjWidgetBase.Property('显示模式', {
|
|
18980
19352
|
ui: { widget: 'select' },
|
|
18981
19353
|
enum: [{ label: '图标卡片', value: 'card' }],
|
|
18982
19354
|
}),
|
|
18983
19355
|
__metadata("design:type", Object)
|
|
18984
|
-
], exports.ɵ
|
|
19356
|
+
], exports.ɵdq.prototype, "showType", void 0);
|
|
18985
19357
|
__decorate([
|
|
18986
19358
|
bbjWidgetBase.Property('卡片背景', {
|
|
18987
19359
|
type: 'string',
|
|
@@ -18990,19 +19362,19 @@
|
|
|
18990
19362
|
},
|
|
18991
19363
|
}),
|
|
18992
19364
|
__metadata("design:type", Object)
|
|
18993
|
-
], exports.ɵ
|
|
19365
|
+
], exports.ɵdq.prototype, "cardBgImg", void 0);
|
|
18994
19366
|
__decorate([
|
|
18995
19367
|
bbjWidgetBase.Property('图片高度'),
|
|
18996
19368
|
__metadata("design:type", Number)
|
|
18997
|
-
], exports.ɵ
|
|
19369
|
+
], exports.ɵdq.prototype, "height", void 0);
|
|
18998
19370
|
__decorate([
|
|
18999
19371
|
bbjWidgetBase.Property('图片宽度'),
|
|
19000
19372
|
__metadata("design:type", Number)
|
|
19001
|
-
], exports.ɵ
|
|
19373
|
+
], exports.ɵdq.prototype, "width", void 0);
|
|
19002
19374
|
__decorate([
|
|
19003
19375
|
bbjWidgetBase.Property('是否分组'),
|
|
19004
19376
|
__metadata("design:type", Boolean)
|
|
19005
|
-
], exports.ɵ
|
|
19377
|
+
], exports.ɵdq.prototype, "isgroup", void 0);
|
|
19006
19378
|
__decorate([
|
|
19007
19379
|
bbjWidgetBase.Property('图片分类', {
|
|
19008
19380
|
type: 'array',
|
|
@@ -19024,7 +19396,7 @@
|
|
|
19024
19396
|
ui: { visibleIf: { isgroup: [false] }, grid: { arraySpan: 24 }, spanControl: 24 },
|
|
19025
19397
|
}),
|
|
19026
19398
|
__metadata("design:type", Object)
|
|
19027
|
-
], exports.ɵ
|
|
19399
|
+
], exports.ɵdq.prototype, "images", void 0);
|
|
19028
19400
|
__decorate([
|
|
19029
19401
|
bbjWidgetBase.Property('新增分组', {
|
|
19030
19402
|
type: 'array',
|
|
@@ -19050,7 +19422,7 @@
|
|
|
19050
19422
|
ui: { visibleIf: { isgroup: [true] }, grid: { arraySpan: 24 }, spanControl: 24 },
|
|
19051
19423
|
}),
|
|
19052
19424
|
__metadata("design:type", Object)
|
|
19053
|
-
], exports.ɵ
|
|
19425
|
+
], exports.ɵdq.prototype, "groups", void 0);
|
|
19054
19426
|
__decorate([
|
|
19055
19427
|
bbjWidgetBase.Data({
|
|
19056
19428
|
properties: {
|
|
@@ -19060,25 +19432,25 @@
|
|
|
19060
19432
|
},
|
|
19061
19433
|
}),
|
|
19062
19434
|
__metadata("design:type", Array)
|
|
19063
|
-
], exports.ɵ
|
|
19435
|
+
], exports.ɵdq.prototype, "_data", void 0);
|
|
19064
19436
|
__decorate([
|
|
19065
19437
|
bbjWidgetBase.DataOutput('值'),
|
|
19066
19438
|
__metadata("design:type", Object)
|
|
19067
|
-
], exports.ɵ
|
|
19068
|
-
exports.ɵ
|
|
19439
|
+
], exports.ɵdq.prototype, "valueChange", void 0);
|
|
19440
|
+
exports.ɵdq = __decorate([
|
|
19069
19441
|
bbjWidgetBase.Widget('轮播', { group: 'component', image: 'assets/img/screen/item-swiper.png', icon: 'iconmokuai' }),
|
|
19070
19442
|
__metadata("design:paramtypes", [i0.ElementRef])
|
|
19071
|
-
], exports.ɵ
|
|
19443
|
+
], exports.ɵdq);
|
|
19072
19444
|
|
|
19073
19445
|
var ItemSwiperModule = /** @class */ (function () {
|
|
19074
19446
|
function ItemSwiperModule(widgetService) {
|
|
19075
|
-
widgetService.register(exports.ɵ
|
|
19447
|
+
widgetService.register(exports.ɵdq);
|
|
19076
19448
|
}
|
|
19077
19449
|
return ItemSwiperModule;
|
|
19078
19450
|
}());
|
|
19079
19451
|
ItemSwiperModule.decorators = [
|
|
19080
19452
|
{ type: i0.NgModule, args: [{
|
|
19081
|
-
declarations: [exports.ɵ
|
|
19453
|
+
declarations: [exports.ɵdq],
|
|
19082
19454
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, space.NzSpaceModule],
|
|
19083
19455
|
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA],
|
|
19084
19456
|
},] }
|
|
@@ -19087,7 +19459,7 @@
|
|
|
19087
19459
|
{ type: bbjWidgetBase.WidgetService }
|
|
19088
19460
|
]; };
|
|
19089
19461
|
|
|
19090
|
-
exports.ɵ
|
|
19462
|
+
exports.ɵdu = /** @class */ (function () {
|
|
19091
19463
|
function TemporaryDataComponent(renderer, elementRef) {
|
|
19092
19464
|
this.renderer = renderer;
|
|
19093
19465
|
this.elementRef = elementRef;
|
|
@@ -19109,39 +19481,39 @@
|
|
|
19109
19481
|
};
|
|
19110
19482
|
return TemporaryDataComponent;
|
|
19111
19483
|
}());
|
|
19112
|
-
exports.ɵ
|
|
19484
|
+
exports.ɵdu.decorators = [
|
|
19113
19485
|
{ type: i0.Component, args: [{
|
|
19114
19486
|
selector: 'sc-temporary-data',
|
|
19115
19487
|
template: "<i nz-icon nzType=\"database\" nzTheme=\"outline\"></i>",
|
|
19116
19488
|
styles: [":host{font-size:40px;color:#1890ff}"]
|
|
19117
19489
|
},] }
|
|
19118
19490
|
];
|
|
19119
|
-
exports.ɵ
|
|
19491
|
+
exports.ɵdu.ctorParameters = function () { return [
|
|
19120
19492
|
{ type: i0.Renderer2 },
|
|
19121
19493
|
{ type: i0.ElementRef }
|
|
19122
19494
|
]; };
|
|
19123
19495
|
__decorate([
|
|
19124
19496
|
bbjWidgetBase.Data({}),
|
|
19125
19497
|
__metadata("design:type", Array)
|
|
19126
|
-
], exports.ɵ
|
|
19498
|
+
], exports.ɵdu.prototype, "data", void 0);
|
|
19127
19499
|
__decorate([
|
|
19128
19500
|
bbjWidgetBase.DataOutput('数据'),
|
|
19129
19501
|
__metadata("design:type", Object)
|
|
19130
|
-
], exports.ɵ
|
|
19131
|
-
exports.ɵ
|
|
19502
|
+
], exports.ɵdu.prototype, "dataChange", void 0);
|
|
19503
|
+
exports.ɵdu = __decorate([
|
|
19132
19504
|
bbjWidgetBase.Widget('临时数据', { group: 'component', image: 'assets/img/screen/temporary-data.png', icon: 'iconmokuai' }),
|
|
19133
19505
|
__metadata("design:paramtypes", [i0.Renderer2, i0.ElementRef])
|
|
19134
|
-
], exports.ɵ
|
|
19506
|
+
], exports.ɵdu);
|
|
19135
19507
|
|
|
19136
19508
|
var TemporaryDataModule = /** @class */ (function () {
|
|
19137
19509
|
function TemporaryDataModule(widgetService) {
|
|
19138
|
-
widgetService.register(exports.ɵ
|
|
19510
|
+
widgetService.register(exports.ɵdu);
|
|
19139
19511
|
}
|
|
19140
19512
|
return TemporaryDataModule;
|
|
19141
19513
|
}());
|
|
19142
19514
|
TemporaryDataModule.decorators = [
|
|
19143
19515
|
{ type: i0.NgModule, args: [{
|
|
19144
|
-
declarations: [exports.ɵ
|
|
19516
|
+
declarations: [exports.ɵdu],
|
|
19145
19517
|
imports: [common.CommonModule, icon.NzIconModule],
|
|
19146
19518
|
},] }
|
|
19147
19519
|
];
|
|
@@ -19149,7 +19521,7 @@
|
|
|
19149
19521
|
{ type: bbjWidgetBase.WidgetService }
|
|
19150
19522
|
]; };
|
|
19151
19523
|
|
|
19152
|
-
exports.ɵ
|
|
19524
|
+
exports.ɵdw = /** @class */ (function () {
|
|
19153
19525
|
function LineLightFlowComponent() {
|
|
19154
19526
|
this.lineColor = '#004CB3';
|
|
19155
19527
|
this.lineshadowColor = 'rgba(0, 193, 220, 1)';
|
|
@@ -19333,15 +19705,15 @@
|
|
|
19333
19705
|
};
|
|
19334
19706
|
return LineLightFlowComponent;
|
|
19335
19707
|
}());
|
|
19336
|
-
exports.ɵ
|
|
19708
|
+
exports.ɵdw.decorators = [
|
|
19337
19709
|
{ type: i0.Component, args: [{
|
|
19338
19710
|
selector: 'sc-line-light-flow',
|
|
19339
19711
|
template: "<div #canvasBox [style.paddingTop]=\"topDistance + 'px'\">\r\n <canvas #lineCanvas></canvas>\r\n</div>\r\n",
|
|
19340
19712
|
styles: [""]
|
|
19341
19713
|
},] }
|
|
19342
19714
|
];
|
|
19343
|
-
exports.ɵ
|
|
19344
|
-
exports.ɵ
|
|
19715
|
+
exports.ɵdw.ctorParameters = function () { return []; };
|
|
19716
|
+
exports.ɵdw.propDecorators = {
|
|
19345
19717
|
lineCanvas: [{ type: i0.ViewChild, args: ['lineCanvas',] }],
|
|
19346
19718
|
canvasBox: [{ type: i0.ViewChild, args: ['canvasBox',] }],
|
|
19347
19719
|
resize: [{ type: i0.HostListener, args: ['window:resize',] }]
|
|
@@ -19353,7 +19725,7 @@
|
|
|
19353
19725
|
},
|
|
19354
19726
|
}),
|
|
19355
19727
|
__metadata("design:type", Object)
|
|
19356
|
-
], exports.ɵ
|
|
19728
|
+
], exports.ɵdw.prototype, "lineColor", void 0);
|
|
19357
19729
|
__decorate([
|
|
19358
19730
|
bbjWidgetBase.Property('线条阴影', {
|
|
19359
19731
|
ui: {
|
|
@@ -19361,7 +19733,7 @@
|
|
|
19361
19733
|
},
|
|
19362
19734
|
}),
|
|
19363
19735
|
__metadata("design:type", Object)
|
|
19364
|
-
], exports.ɵ
|
|
19736
|
+
], exports.ɵdw.prototype, "lineshadowColor", void 0);
|
|
19365
19737
|
__decorate([
|
|
19366
19738
|
bbjWidgetBase.Property('高亮颜色', {
|
|
19367
19739
|
ui: {
|
|
@@ -19369,36 +19741,36 @@
|
|
|
19369
19741
|
},
|
|
19370
19742
|
}),
|
|
19371
19743
|
__metadata("design:type", Object)
|
|
19372
|
-
], exports.ɵ
|
|
19744
|
+
], exports.ɵdw.prototype, "lineHightLightColor", void 0);
|
|
19373
19745
|
__decorate([
|
|
19374
19746
|
bbjWidgetBase.Property('中间间距', {
|
|
19375
19747
|
type: 'number'
|
|
19376
19748
|
}),
|
|
19377
19749
|
__metadata("design:type", Object)
|
|
19378
|
-
], exports.ɵ
|
|
19750
|
+
], exports.ɵdw.prototype, "distance", void 0);
|
|
19379
19751
|
__decorate([
|
|
19380
19752
|
bbjWidgetBase.Property('上边距', {
|
|
19381
19753
|
type: 'number'
|
|
19382
19754
|
}),
|
|
19383
19755
|
__metadata("design:type", Object)
|
|
19384
|
-
], exports.ɵ
|
|
19385
|
-
exports.ɵ
|
|
19756
|
+
], exports.ɵdw.prototype, "topDistance", void 0);
|
|
19757
|
+
exports.ɵdw = __decorate([
|
|
19386
19758
|
bbjWidgetBase.Widget('光线特效', {
|
|
19387
19759
|
group: 'mipAnim',
|
|
19388
19760
|
}),
|
|
19389
19761
|
__metadata("design:paramtypes", [])
|
|
19390
|
-
], exports.ɵ
|
|
19762
|
+
], exports.ɵdw);
|
|
19391
19763
|
|
|
19392
19764
|
var LineLightFlowModule = /** @class */ (function () {
|
|
19393
19765
|
function LineLightFlowModule(widgetService) {
|
|
19394
|
-
widgetService.register(exports.ɵ
|
|
19766
|
+
widgetService.register(exports.ɵdw);
|
|
19395
19767
|
}
|
|
19396
19768
|
return LineLightFlowModule;
|
|
19397
19769
|
}());
|
|
19398
19770
|
LineLightFlowModule.decorators = [
|
|
19399
19771
|
{ type: i0.NgModule, args: [{
|
|
19400
19772
|
declarations: [
|
|
19401
|
-
exports.ɵ
|
|
19773
|
+
exports.ɵdw
|
|
19402
19774
|
],
|
|
19403
19775
|
imports: [
|
|
19404
19776
|
common.CommonModule,
|
|
@@ -19410,7 +19782,7 @@
|
|
|
19410
19782
|
{ type: bbjWidgetBase.WidgetService }
|
|
19411
19783
|
]; };
|
|
19412
19784
|
|
|
19413
|
-
exports.ɵ
|
|
19785
|
+
exports.ɵdx = /** @class */ (function () {
|
|
19414
19786
|
function IframeComponent() {
|
|
19415
19787
|
}
|
|
19416
19788
|
IframeComponent.prototype.ngOnChanges = function (changes) {
|
|
@@ -19426,43 +19798,43 @@
|
|
|
19426
19798
|
};
|
|
19427
19799
|
return IframeComponent;
|
|
19428
19800
|
}());
|
|
19429
|
-
exports.ɵ
|
|
19801
|
+
exports.ɵdx.decorators = [
|
|
19430
19802
|
{ type: i0.Component, args: [{
|
|
19431
19803
|
selector: 'sc-iframe',
|
|
19432
19804
|
template: "<iframe *ngIf=\"url\" [class.edit]=\"edit\" [src]=\"url | nzSanitizer: 'resourceUrl'\"> </iframe>\n",
|
|
19433
19805
|
styles: [":host{display:block}:host,iframe{width:100%;height:100%}iframe{border:none}iframe.edit{pointer-events:none}"]
|
|
19434
19806
|
},] }
|
|
19435
19807
|
];
|
|
19436
|
-
exports.ɵ
|
|
19808
|
+
exports.ɵdx.ctorParameters = function () { return []; };
|
|
19437
19809
|
__decorate([
|
|
19438
19810
|
bbjWidgetBase.Property('url'),
|
|
19439
19811
|
__metadata("design:type", String)
|
|
19440
|
-
], exports.ɵ
|
|
19812
|
+
], exports.ɵdx.prototype, "url", void 0);
|
|
19441
19813
|
__decorate([
|
|
19442
19814
|
bbjWidgetBase.Data({ properties: { url: { type: 'string', title: 'url' } } }),
|
|
19443
19815
|
__metadata("design:type", Array)
|
|
19444
|
-
], exports.ɵ
|
|
19816
|
+
], exports.ɵdx.prototype, "data", void 0);
|
|
19445
19817
|
__decorate([
|
|
19446
19818
|
bbjWidgetBase.Method('设置url'),
|
|
19447
19819
|
__param(0, bbjWidgetBase.Param('url')),
|
|
19448
19820
|
__metadata("design:type", Function),
|
|
19449
19821
|
__metadata("design:paramtypes", [String]),
|
|
19450
19822
|
__metadata("design:returntype", void 0)
|
|
19451
|
-
], exports.ɵ
|
|
19452
|
-
exports.ɵ
|
|
19823
|
+
], exports.ɵdx.prototype, "setUrl", null);
|
|
19824
|
+
exports.ɵdx = __decorate([
|
|
19453
19825
|
bbjWidgetBase.Widget('iframe', { group: 'component', image: 'assets/img/screen/iframe.png', icon: 'iconmokuai' }),
|
|
19454
19826
|
__metadata("design:paramtypes", [])
|
|
19455
|
-
], exports.ɵ
|
|
19827
|
+
], exports.ɵdx);
|
|
19456
19828
|
|
|
19457
19829
|
var IframeModule = /** @class */ (function () {
|
|
19458
19830
|
function IframeModule(widgetService) {
|
|
19459
|
-
widgetService.register(exports.ɵ
|
|
19831
|
+
widgetService.register(exports.ɵdx);
|
|
19460
19832
|
}
|
|
19461
19833
|
return IframeModule;
|
|
19462
19834
|
}());
|
|
19463
19835
|
IframeModule.decorators = [
|
|
19464
19836
|
{ type: i0.NgModule, args: [{
|
|
19465
|
-
declarations: [exports.ɵ
|
|
19837
|
+
declarations: [exports.ɵdx],
|
|
19466
19838
|
imports: [common.CommonModule, pipes.NzPipesModule],
|
|
19467
19839
|
},] }
|
|
19468
19840
|
];
|
|
@@ -19470,7 +19842,7 @@
|
|
|
19470
19842
|
{ type: bbjWidgetBase.WidgetService }
|
|
19471
19843
|
]; };
|
|
19472
19844
|
|
|
19473
|
-
exports.ɵ
|
|
19845
|
+
exports.ɵdy = /** @class */ (function () {
|
|
19474
19846
|
function VideoGridComponent() {
|
|
19475
19847
|
this.size = 4;
|
|
19476
19848
|
this.gutter = 4;
|
|
@@ -19551,14 +19923,14 @@
|
|
|
19551
19923
|
};
|
|
19552
19924
|
return VideoGridComponent;
|
|
19553
19925
|
}());
|
|
19554
|
-
exports.ɵ
|
|
19926
|
+
exports.ɵdy.decorators = [
|
|
19555
19927
|
{ type: i0.Component, args: [{
|
|
19556
19928
|
selector: 'sc-video-grid',
|
|
19557
19929
|
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",
|
|
19558
19930
|
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}"]
|
|
19559
19931
|
},] }
|
|
19560
19932
|
];
|
|
19561
|
-
exports.ɵ
|
|
19933
|
+
exports.ɵdy.ctorParameters = function () { return []; };
|
|
19562
19934
|
__decorate([
|
|
19563
19935
|
bbjWidgetBase.Property('宫格数', {
|
|
19564
19936
|
enum: [
|
|
@@ -19567,27 +19939,27 @@
|
|
|
19567
19939
|
],
|
|
19568
19940
|
}),
|
|
19569
19941
|
__metadata("design:type", Object)
|
|
19570
|
-
], exports.ɵ
|
|
19942
|
+
], exports.ɵdy.prototype, "size", void 0);
|
|
19571
19943
|
__decorate([
|
|
19572
19944
|
bbjWidgetBase.Property('间隔', { type: 'number' }),
|
|
19573
19945
|
__metadata("design:type", Object)
|
|
19574
|
-
], exports.ɵ
|
|
19946
|
+
], exports.ɵdy.prototype, "gutter", void 0);
|
|
19575
19947
|
__decorate([
|
|
19576
19948
|
bbjWidgetBase.Property('切换按钮'),
|
|
19577
19949
|
__metadata("design:type", Boolean)
|
|
19578
|
-
], exports.ɵ
|
|
19950
|
+
], exports.ɵdy.prototype, "showToggle", void 0);
|
|
19579
19951
|
__decorate([
|
|
19580
19952
|
bbjWidgetBase.Property('视频类型', { enum: ['flv', 'hls', 'iframe'] }),
|
|
19581
19953
|
__metadata("design:type", Object)
|
|
19582
|
-
], exports.ɵ
|
|
19954
|
+
], exports.ɵdy.prototype, "type", void 0);
|
|
19583
19955
|
__decorate([
|
|
19584
19956
|
bbjWidgetBase.Property('是否有声音'),
|
|
19585
19957
|
__metadata("design:type", Boolean)
|
|
19586
|
-
], exports.ɵ
|
|
19958
|
+
], exports.ɵdy.prototype, "hasAudio", void 0);
|
|
19587
19959
|
__decorate([
|
|
19588
19960
|
bbjWidgetBase.DataInput('视频地址'),
|
|
19589
19961
|
__metadata("design:type", String)
|
|
19590
|
-
], exports.ɵ
|
|
19962
|
+
], exports.ɵdy.prototype, "src", void 0);
|
|
19591
19963
|
__decorate([
|
|
19592
19964
|
bbjWidgetBase.Data({
|
|
19593
19965
|
properties: {
|
|
@@ -19595,28 +19967,28 @@
|
|
|
19595
19967
|
},
|
|
19596
19968
|
}),
|
|
19597
19969
|
__metadata("design:type", Object)
|
|
19598
|
-
], exports.ɵ
|
|
19970
|
+
], exports.ɵdy.prototype, "data", void 0);
|
|
19599
19971
|
__decorate([
|
|
19600
19972
|
bbjWidgetBase.Method('设置视频地址'),
|
|
19601
19973
|
__param(0, bbjWidgetBase.Param('视频地址')),
|
|
19602
19974
|
__metadata("design:type", Function),
|
|
19603
19975
|
__metadata("design:paramtypes", [String]),
|
|
19604
19976
|
__metadata("design:returntype", void 0)
|
|
19605
|
-
], exports.ɵ
|
|
19606
|
-
exports.ɵ
|
|
19977
|
+
], exports.ɵdy.prototype, "addSrc", null);
|
|
19978
|
+
exports.ɵdy = __decorate([
|
|
19607
19979
|
bbjWidgetBase.Widget('视频宫格', { group: 'component', image: 'assets/img/screen/video-grid.png', icon: 'iconmokuai' }),
|
|
19608
19980
|
__metadata("design:paramtypes", [])
|
|
19609
|
-
], exports.ɵ
|
|
19981
|
+
], exports.ɵdy);
|
|
19610
19982
|
|
|
19611
19983
|
var VideoGridModule = /** @class */ (function () {
|
|
19612
19984
|
function VideoGridModule(widgetService) {
|
|
19613
|
-
widgetService.register(exports.ɵ
|
|
19985
|
+
widgetService.register(exports.ɵdy);
|
|
19614
19986
|
}
|
|
19615
19987
|
return VideoGridModule;
|
|
19616
19988
|
}());
|
|
19617
19989
|
VideoGridModule.decorators = [
|
|
19618
19990
|
{ type: i0.NgModule, args: [{
|
|
19619
|
-
declarations: [exports.ɵ
|
|
19991
|
+
declarations: [exports.ɵdy],
|
|
19620
19992
|
imports: [common.CommonModule, VideoPlayerModule, grid.NzGridModule, icon.NzIconModule],
|
|
19621
19993
|
},] }
|
|
19622
19994
|
];
|
|
@@ -19624,7 +19996,7 @@
|
|
|
19624
19996
|
{ type: bbjWidgetBase.WidgetService }
|
|
19625
19997
|
]; };
|
|
19626
19998
|
|
|
19627
|
-
exports.ɵ
|
|
19999
|
+
exports.ɵdz = /** @class */ (function () {
|
|
19628
20000
|
function Scatter3dComponent() {
|
|
19629
20001
|
this.min = 0;
|
|
19630
20002
|
this.max = 10;
|
|
@@ -19714,30 +20086,30 @@
|
|
|
19714
20086
|
Scatter3dComponent.prototype.onChartClick = function (event) { };
|
|
19715
20087
|
return Scatter3dComponent;
|
|
19716
20088
|
}());
|
|
19717
|
-
exports.ɵ
|
|
20089
|
+
exports.ɵdz.decorators = [
|
|
19718
20090
|
{ type: i0.Component, args: [{
|
|
19719
20091
|
selector: 'sc-scatter3d',
|
|
19720
20092
|
template: "<div echarts [options]=\"options\" class=\"demo-chart\" (chartClick)=\"onChartClick($event)\"></div>\n",
|
|
19721
20093
|
styles: [":host{display:block;width:100%}.demo-chart,:host{height:100%}"]
|
|
19722
20094
|
},] }
|
|
19723
20095
|
];
|
|
19724
|
-
exports.ɵ
|
|
20096
|
+
exports.ɵdz.ctorParameters = function () { return []; };
|
|
19725
20097
|
__decorate([
|
|
19726
20098
|
bbjWidgetBase.Property('最小值', { type: 'number' }),
|
|
19727
20099
|
__metadata("design:type", Object)
|
|
19728
|
-
], exports.ɵ
|
|
20100
|
+
], exports.ɵdz.prototype, "min", void 0);
|
|
19729
20101
|
__decorate([
|
|
19730
20102
|
bbjWidgetBase.Property('最大值', { type: 'number' }),
|
|
19731
20103
|
__metadata("design:type", Object)
|
|
19732
|
-
], exports.ɵ
|
|
20104
|
+
], exports.ɵdz.prototype, "max", void 0);
|
|
19733
20105
|
__decorate([
|
|
19734
20106
|
bbjWidgetBase.Property('最小尺寸', { type: 'number' }),
|
|
19735
20107
|
__metadata("design:type", Object)
|
|
19736
|
-
], exports.ɵ
|
|
20108
|
+
], exports.ɵdz.prototype, "symbolSizeMin", void 0);
|
|
19737
20109
|
__decorate([
|
|
19738
20110
|
bbjWidgetBase.Property('最大尺寸', { type: 'number' }),
|
|
19739
20111
|
__metadata("design:type", Object)
|
|
19740
|
-
], exports.ɵ
|
|
20112
|
+
], exports.ɵdz.prototype, "symbolSizeMax", void 0);
|
|
19741
20113
|
__decorate([
|
|
19742
20114
|
bbjWidgetBase.Property('颜色', {
|
|
19743
20115
|
ui: {
|
|
@@ -19746,27 +20118,27 @@
|
|
|
19746
20118
|
},
|
|
19747
20119
|
}),
|
|
19748
20120
|
__metadata("design:type", Object)
|
|
19749
|
-
], exports.ɵ
|
|
20121
|
+
], exports.ɵdz.prototype, "visualMapColor", void 0);
|
|
19750
20122
|
__decorate([
|
|
19751
20123
|
bbjWidgetBase.Property('最小不透明度', { type: 'number', minimum: 0, maximum: 1 }),
|
|
19752
20124
|
__metadata("design:type", Object)
|
|
19753
|
-
], exports.ɵ
|
|
20125
|
+
], exports.ɵdz.prototype, "colorAlphaMin", void 0);
|
|
19754
20126
|
__decorate([
|
|
19755
20127
|
bbjWidgetBase.Property('最大不透明度', { type: 'number', minimum: 0, maximum: 1 }),
|
|
19756
20128
|
__metadata("design:type", Object)
|
|
19757
|
-
], exports.ɵ
|
|
20129
|
+
], exports.ɵdz.prototype, "colorAlphaMax", void 0);
|
|
19758
20130
|
__decorate([
|
|
19759
20131
|
bbjWidgetBase.Property('高度', { type: 'number' }),
|
|
19760
20132
|
__metadata("design:type", Object)
|
|
19761
|
-
], exports.ɵ
|
|
20133
|
+
], exports.ɵdz.prototype, "boxHeight", void 0);
|
|
19762
20134
|
__decorate([
|
|
19763
20135
|
bbjWidgetBase.Property('宽度', { type: 'number' }),
|
|
19764
20136
|
__metadata("design:type", Object)
|
|
19765
|
-
], exports.ɵ
|
|
20137
|
+
], exports.ɵdz.prototype, "boxWidth", void 0);
|
|
19766
20138
|
__decorate([
|
|
19767
20139
|
bbjWidgetBase.Property('深度', { type: 'number' }),
|
|
19768
20140
|
__metadata("design:type", Object)
|
|
19769
|
-
], exports.ɵ
|
|
20141
|
+
], exports.ɵdz.prototype, "boxDepth", void 0);
|
|
19770
20142
|
__decorate([
|
|
19771
20143
|
bbjWidgetBase.Data({
|
|
19772
20144
|
properties: {
|
|
@@ -19777,25 +20149,25 @@
|
|
|
19777
20149
|
},
|
|
19778
20150
|
}),
|
|
19779
20151
|
__metadata("design:type", Object)
|
|
19780
|
-
], exports.ɵ
|
|
19781
|
-
exports.ɵ
|
|
20152
|
+
], exports.ɵdz.prototype, "data", void 0);
|
|
20153
|
+
exports.ɵdz = __decorate([
|
|
19782
20154
|
bbjWidgetBase.Widget('3D散点图', {
|
|
19783
20155
|
group: 'otherChart',
|
|
19784
20156
|
image: 'assets/img/screen/bubble.png',
|
|
19785
20157
|
icon: 'icontubiao',
|
|
19786
20158
|
}),
|
|
19787
20159
|
__metadata("design:paramtypes", [])
|
|
19788
|
-
], exports.ɵ
|
|
20160
|
+
], exports.ɵdz);
|
|
19789
20161
|
|
|
19790
20162
|
var Scatter3dModule = /** @class */ (function () {
|
|
19791
20163
|
function Scatter3dModule(widgetService) {
|
|
19792
|
-
widgetService.register(exports.ɵ
|
|
20164
|
+
widgetService.register(exports.ɵdz);
|
|
19793
20165
|
}
|
|
19794
20166
|
return Scatter3dModule;
|
|
19795
20167
|
}());
|
|
19796
20168
|
Scatter3dModule.decorators = [
|
|
19797
20169
|
{ type: i0.NgModule, args: [{
|
|
19798
|
-
declarations: [exports.ɵ
|
|
20170
|
+
declarations: [exports.ɵdz],
|
|
19799
20171
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, ngxEcharts.NgxEchartsModule],
|
|
19800
20172
|
},] }
|
|
19801
20173
|
];
|
|
@@ -20260,7 +20632,7 @@
|
|
|
20260
20632
|
{ type: bbjWidgetBase.WidgetService }
|
|
20261
20633
|
]; };
|
|
20262
20634
|
|
|
20263
|
-
exports.ɵ
|
|
20635
|
+
exports.ɵeb = /** @class */ (function () {
|
|
20264
20636
|
function AnnouncementComponent(element) {
|
|
20265
20637
|
this.element = element;
|
|
20266
20638
|
this.headIconDisplay = true;
|
|
@@ -20298,32 +20670,32 @@
|
|
|
20298
20670
|
};
|
|
20299
20671
|
return AnnouncementComponent;
|
|
20300
20672
|
}());
|
|
20301
|
-
exports.ɵ
|
|
20673
|
+
exports.ɵeb.decorators = [
|
|
20302
20674
|
{ type: i0.Component, args: [{
|
|
20303
20675
|
selector: 'sc-announcement',
|
|
20304
20676
|
template: "<ng-container *ngIf=\"data[0]\">\n {{data[0].content}}\n</ng-container>",
|
|
20305
20677
|
styles: [":host{height:100%;overflow:auto;display:block}"]
|
|
20306
20678
|
},] }
|
|
20307
20679
|
];
|
|
20308
|
-
exports.ɵ
|
|
20680
|
+
exports.ɵeb.ctorParameters = function () { return [
|
|
20309
20681
|
{ type: i0.ElementRef }
|
|
20310
20682
|
]; };
|
|
20311
20683
|
__decorate([
|
|
20312
20684
|
bbjWidgetBase.Property('显示图标', { type: 'boolean' }),
|
|
20313
20685
|
__metadata("design:type", Object)
|
|
20314
|
-
], exports.ɵ
|
|
20686
|
+
], exports.ɵeb.prototype, "headIconDisplay", void 0);
|
|
20315
20687
|
__decorate([
|
|
20316
20688
|
bbjWidgetBase.Property('内边距', { ui: { widget: 'myGrid' } }),
|
|
20317
20689
|
__metadata("design:type", Object)
|
|
20318
|
-
], exports.ɵ
|
|
20690
|
+
], exports.ɵeb.prototype, "padding", void 0);
|
|
20319
20691
|
__decorate([
|
|
20320
20692
|
bbjWidgetBase.Property('字体', { ui: { widget: 'myFont' } }),
|
|
20321
20693
|
__metadata("design:type", Object)
|
|
20322
|
-
], exports.ɵ
|
|
20694
|
+
], exports.ɵeb.prototype, "font", void 0);
|
|
20323
20695
|
__decorate([
|
|
20324
20696
|
bbjWidgetBase.Property('图标', { ui: { hidden: true } }),
|
|
20325
20697
|
__metadata("design:type", Object)
|
|
20326
|
-
], exports.ɵ
|
|
20698
|
+
], exports.ɵeb.prototype, "icon", void 0);
|
|
20327
20699
|
__decorate([
|
|
20328
20700
|
bbjWidgetBase.Data({
|
|
20329
20701
|
properties: {
|
|
@@ -20331,23 +20703,23 @@
|
|
|
20331
20703
|
},
|
|
20332
20704
|
}),
|
|
20333
20705
|
__metadata("design:type", Object)
|
|
20334
|
-
], exports.ɵ
|
|
20335
|
-
exports.ɵ
|
|
20706
|
+
], exports.ɵeb.prototype, "data", void 0);
|
|
20707
|
+
exports.ɵeb = __decorate([
|
|
20336
20708
|
bbjWidgetBase.Widget('公告', { group: 'component', image: 'assets/img/screen/announcement.png', icon: 'iconmokuai' }),
|
|
20337
20709
|
__metadata("design:paramtypes", [i0.ElementRef])
|
|
20338
|
-
], exports.ɵ
|
|
20710
|
+
], exports.ɵeb);
|
|
20339
20711
|
|
|
20340
20712
|
var AnnouncementModule = /** @class */ (function () {
|
|
20341
20713
|
function AnnouncementModule(widgetService) {
|
|
20342
20714
|
this.widgetService = widgetService;
|
|
20343
|
-
widgetService.register(exports.ɵ
|
|
20715
|
+
widgetService.register(exports.ɵeb);
|
|
20344
20716
|
}
|
|
20345
20717
|
return AnnouncementModule;
|
|
20346
20718
|
}());
|
|
20347
20719
|
AnnouncementModule.decorators = [
|
|
20348
20720
|
{ type: i0.NgModule, args: [{
|
|
20349
20721
|
declarations: [
|
|
20350
|
-
exports.ɵ
|
|
20722
|
+
exports.ɵeb
|
|
20351
20723
|
],
|
|
20352
20724
|
imports: [
|
|
20353
20725
|
common.CommonModule,
|
|
@@ -20370,8 +20742,8 @@
|
|
|
20370
20742
|
}
|
|
20371
20743
|
}
|
|
20372
20744
|
|
|
20373
|
-
var ɵ0$
|
|
20374
|
-
exports.ɵ
|
|
20745
|
+
var ɵ0$e = { type: 'string', title: 'id' };
|
|
20746
|
+
exports.ɵeg = /** @class */ (function () {
|
|
20375
20747
|
function CalendarComponent(router, cd) {
|
|
20376
20748
|
var _this = this;
|
|
20377
20749
|
this.router = router;
|
|
@@ -20491,40 +20863,40 @@
|
|
|
20491
20863
|
};
|
|
20492
20864
|
return CalendarComponent;
|
|
20493
20865
|
}());
|
|
20494
|
-
exports.ɵ
|
|
20866
|
+
exports.ɵeg.decorators = [
|
|
20495
20867
|
{ type: i0.Component, args: [{
|
|
20496
20868
|
selector: 'sc-calendar',
|
|
20497
20869
|
template: "<full-calendar *ngIf=\"calendarOptions\" [options]=\"calendarOptions\"></full-calendar>\n<ng-template *ngFor=\"let child of children\" widget-host [widget]=\"child\"></ng-template>\n",
|
|
20498
20870
|
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}"]
|
|
20499
20871
|
},] }
|
|
20500
20872
|
];
|
|
20501
|
-
exports.ɵ
|
|
20873
|
+
exports.ɵeg.ctorParameters = function () { return [
|
|
20502
20874
|
{ type: router.Router },
|
|
20503
20875
|
{ type: i0.ChangeDetectorRef }
|
|
20504
20876
|
]; };
|
|
20505
20877
|
__decorate([
|
|
20506
20878
|
bbjWidgetBase.Property('是否自定义初始日期', { ui: { format: 'date', widget: 'checkbox', spanLabel: 0, spanControl: 24 } }),
|
|
20507
20879
|
__metadata("design:type", Object)
|
|
20508
|
-
], exports.ɵ
|
|
20880
|
+
], exports.ɵeg.prototype, "isInitialDate", void 0);
|
|
20509
20881
|
__decorate([
|
|
20510
20882
|
bbjWidgetBase.Property('', { ui: { type: 'date', format: 'date', spanLabel: 0, spanControl: 24 } }),
|
|
20511
20883
|
__metadata("design:type", Object)
|
|
20512
|
-
], exports.ɵ
|
|
20884
|
+
], exports.ɵeg.prototype, "initialDate", void 0);
|
|
20513
20885
|
__decorate([
|
|
20514
20886
|
bbjWidgetBase.Data({
|
|
20515
20887
|
properties: {
|
|
20516
|
-
id: ɵ0$
|
|
20888
|
+
id: ɵ0$e,
|
|
20517
20889
|
start: { type: 'string', title: '开始日期' },
|
|
20518
20890
|
end: { type: 'string', title: '结束日期' },
|
|
20519
20891
|
title: { type: 'string', title: '内容' },
|
|
20520
20892
|
},
|
|
20521
20893
|
}),
|
|
20522
20894
|
__metadata("design:type", Array)
|
|
20523
|
-
], exports.ɵ
|
|
20895
|
+
], exports.ɵeg.prototype, "data", void 0);
|
|
20524
20896
|
__decorate([
|
|
20525
20897
|
bbjWidgetBase.DataOutput(['id', 'title']),
|
|
20526
20898
|
__metadata("design:type", Object)
|
|
20527
|
-
], exports.ɵ
|
|
20899
|
+
], exports.ɵeg.prototype, "dataClick", void 0);
|
|
20528
20900
|
__decorate([
|
|
20529
20901
|
bbjWidgetBase.DataOutput({
|
|
20530
20902
|
properties: {
|
|
@@ -20534,8 +20906,8 @@
|
|
|
20534
20906
|
},
|
|
20535
20907
|
}, { triggerLink: false }),
|
|
20536
20908
|
__metadata("design:type", Object)
|
|
20537
|
-
], exports.ɵ
|
|
20538
|
-
exports.ɵ
|
|
20909
|
+
], exports.ɵeg.prototype, "datesSetChange", void 0);
|
|
20910
|
+
exports.ɵeg = __decorate([
|
|
20539
20911
|
bbjWidgetBase.Widget('日历', {
|
|
20540
20912
|
group: 'component',
|
|
20541
20913
|
image: 'assets/img/screen/rili.png',
|
|
@@ -20543,7 +20915,7 @@
|
|
|
20543
20915
|
childTypes: ['sc-calendar-events', 'sc-calendar-background-events'],
|
|
20544
20916
|
}),
|
|
20545
20917
|
__metadata("design:paramtypes", [router.Router, i0.ChangeDetectorRef])
|
|
20546
|
-
], exports.ɵ
|
|
20918
|
+
], exports.ɵeg);
|
|
20547
20919
|
|
|
20548
20920
|
var CalendarEventsChild = /** @class */ (function () {
|
|
20549
20921
|
function CalendarEventsChild(parent) {
|
|
@@ -20569,11 +20941,11 @@
|
|
|
20569
20941
|
{ type: i0.Directive }
|
|
20570
20942
|
];
|
|
20571
20943
|
CalendarEventsChild.ctorParameters = function () { return [
|
|
20572
|
-
{ type: exports.ɵ
|
|
20944
|
+
{ type: exports.ɵeg }
|
|
20573
20945
|
]; };
|
|
20574
20946
|
|
|
20575
|
-
var ɵ0$
|
|
20576
|
-
exports.ɵ
|
|
20947
|
+
var ɵ0$f = { type: 'string', title: 'id' };
|
|
20948
|
+
exports.ɵeh = /** @class */ (function (_super) {
|
|
20577
20949
|
__extends(BackgroundEventsComponent, _super);
|
|
20578
20950
|
function BackgroundEventsComponent(parent) {
|
|
20579
20951
|
var _this = _super.call(this, parent) || this;
|
|
@@ -20598,15 +20970,15 @@
|
|
|
20598
20970
|
};
|
|
20599
20971
|
return BackgroundEventsComponent;
|
|
20600
20972
|
}(CalendarEventsChild));
|
|
20601
|
-
exports.ɵ
|
|
20973
|
+
exports.ɵeh.decorators = [
|
|
20602
20974
|
{ type: i0.Component, args: [{
|
|
20603
20975
|
selector: 'sc-calendar-background-events',
|
|
20604
20976
|
template: "",
|
|
20605
20977
|
styles: [""]
|
|
20606
20978
|
},] }
|
|
20607
20979
|
];
|
|
20608
|
-
exports.ɵ
|
|
20609
|
-
{ type: exports.ɵ
|
|
20980
|
+
exports.ɵeh.ctorParameters = function () { return [
|
|
20981
|
+
{ type: exports.ɵeg }
|
|
20610
20982
|
]; };
|
|
20611
20983
|
__decorate([
|
|
20612
20984
|
bbjWidgetBase.Property('颜色', {
|
|
@@ -20615,11 +20987,11 @@
|
|
|
20615
20987
|
},
|
|
20616
20988
|
}),
|
|
20617
20989
|
__metadata("design:type", String)
|
|
20618
|
-
], exports.ɵ
|
|
20990
|
+
], exports.ɵeh.prototype, "color", void 0);
|
|
20619
20991
|
__decorate([
|
|
20620
20992
|
bbjWidgetBase.Data({
|
|
20621
20993
|
properties: {
|
|
20622
|
-
id: ɵ0$
|
|
20994
|
+
id: ɵ0$f,
|
|
20623
20995
|
start: { type: 'string', title: '开始日期' },
|
|
20624
20996
|
end: { type: 'string', title: '结束日期' },
|
|
20625
20997
|
title: { type: 'string', title: '标题' },
|
|
@@ -20627,14 +20999,14 @@
|
|
|
20627
20999
|
},
|
|
20628
21000
|
}),
|
|
20629
21001
|
__metadata("design:type", Array)
|
|
20630
|
-
], exports.ɵ
|
|
20631
|
-
exports.ɵ
|
|
21002
|
+
], exports.ɵeh.prototype, "data", void 0);
|
|
21003
|
+
exports.ɵeh = __decorate([
|
|
20632
21004
|
bbjWidgetBase.Widget('背景颜色', { hidden: true }),
|
|
20633
|
-
__metadata("design:paramtypes", [exports.ɵ
|
|
20634
|
-
], exports.ɵ
|
|
21005
|
+
__metadata("design:paramtypes", [exports.ɵeg])
|
|
21006
|
+
], exports.ɵeh);
|
|
20635
21007
|
|
|
20636
|
-
var ɵ0$
|
|
20637
|
-
exports.ɵ
|
|
21008
|
+
var ɵ0$g = { type: 'string', title: 'id' };
|
|
21009
|
+
exports.ɵej = /** @class */ (function (_super) {
|
|
20638
21010
|
__extends(EventsComponent, _super);
|
|
20639
21011
|
function EventsComponent(parent) {
|
|
20640
21012
|
var _this = _super.call(this, parent) || this;
|
|
@@ -20665,15 +21037,15 @@
|
|
|
20665
21037
|
};
|
|
20666
21038
|
return EventsComponent;
|
|
20667
21039
|
}(CalendarEventsChild));
|
|
20668
|
-
exports.ɵ
|
|
21040
|
+
exports.ɵej.decorators = [
|
|
20669
21041
|
{ type: i0.Component, args: [{
|
|
20670
21042
|
selector: 'sc-calendar-events',
|
|
20671
21043
|
template: "",
|
|
20672
21044
|
styles: [""]
|
|
20673
21045
|
},] }
|
|
20674
21046
|
];
|
|
20675
|
-
exports.ɵ
|
|
20676
|
-
{ type: exports.ɵ
|
|
21047
|
+
exports.ɵej.ctorParameters = function () { return [
|
|
21048
|
+
{ type: exports.ɵeg }
|
|
20677
21049
|
]; };
|
|
20678
21050
|
__decorate([
|
|
20679
21051
|
bbjWidgetBase.Property('颜色', {
|
|
@@ -20682,11 +21054,11 @@
|
|
|
20682
21054
|
},
|
|
20683
21055
|
}),
|
|
20684
21056
|
__metadata("design:type", String)
|
|
20685
|
-
], exports.ɵ
|
|
21057
|
+
], exports.ɵej.prototype, "color", void 0);
|
|
20686
21058
|
__decorate([
|
|
20687
21059
|
bbjWidgetBase.Data({
|
|
20688
21060
|
properties: {
|
|
20689
|
-
id: ɵ0$
|
|
21061
|
+
id: ɵ0$g,
|
|
20690
21062
|
start: { type: 'string', title: '开始日期' },
|
|
20691
21063
|
end: { type: 'string', title: '结束日期' },
|
|
20692
21064
|
title: { type: 'string', title: '标题' },
|
|
@@ -20694,15 +21066,15 @@
|
|
|
20694
21066
|
},
|
|
20695
21067
|
}),
|
|
20696
21068
|
__metadata("design:type", Array)
|
|
20697
|
-
], exports.ɵ
|
|
21069
|
+
], exports.ɵej.prototype, "data", void 0);
|
|
20698
21070
|
__decorate([
|
|
20699
21071
|
bbjWidgetBase.DataOutput(['id', 'title']),
|
|
20700
21072
|
__metadata("design:type", Object)
|
|
20701
|
-
], exports.ɵ
|
|
20702
|
-
exports.ɵ
|
|
21073
|
+
], exports.ɵej.prototype, "dataClick", void 0);
|
|
21074
|
+
exports.ɵej = __decorate([
|
|
20703
21075
|
bbjWidgetBase.Widget('事件', { hidden: true }),
|
|
20704
|
-
__metadata("design:paramtypes", [exports.ɵ
|
|
20705
|
-
], exports.ɵ
|
|
21076
|
+
__metadata("design:paramtypes", [exports.ɵeg])
|
|
21077
|
+
], exports.ɵej);
|
|
20706
21078
|
|
|
20707
21079
|
var CalendarModule = /** @class */ (function () {
|
|
20708
21080
|
function CalendarModule(widgetService) {
|
|
@@ -20711,15 +21083,15 @@
|
|
|
20711
21083
|
timeGridPlugin__default['default'],
|
|
20712
21084
|
interactionPlugin__default['default'],
|
|
20713
21085
|
]);
|
|
20714
|
-
widgetService.register(exports.ɵef);
|
|
20715
|
-
widgetService.register(exports.ɵei);
|
|
20716
21086
|
widgetService.register(exports.ɵeg);
|
|
21087
|
+
widgetService.register(exports.ɵej);
|
|
21088
|
+
widgetService.register(exports.ɵeh);
|
|
20717
21089
|
}
|
|
20718
21090
|
return CalendarModule;
|
|
20719
21091
|
}());
|
|
20720
21092
|
CalendarModule.decorators = [
|
|
20721
21093
|
{ type: i0.NgModule, args: [{
|
|
20722
|
-
declarations: [exports.ɵ
|
|
21094
|
+
declarations: [exports.ɵeg, exports.ɵeh, exports.ɵej],
|
|
20723
21095
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, angular.FullCalendarModule],
|
|
20724
21096
|
},] }
|
|
20725
21097
|
];
|
|
@@ -20727,7 +21099,7 @@
|
|
|
20727
21099
|
{ type: bbjWidgetBase.WidgetService }
|
|
20728
21100
|
]; };
|
|
20729
21101
|
|
|
20730
|
-
exports.ɵ
|
|
21102
|
+
exports.ɵed = /** @class */ (function () {
|
|
20731
21103
|
function TabsComponent() {
|
|
20732
21104
|
this.type = 'line';
|
|
20733
21105
|
this.size = 'default';
|
|
@@ -20746,14 +21118,14 @@
|
|
|
20746
21118
|
};
|
|
20747
21119
|
return TabsComponent;
|
|
20748
21120
|
}());
|
|
20749
|
-
exports.ɵ
|
|
21121
|
+
exports.ɵed.decorators = [
|
|
20750
21122
|
{ type: i0.Component, args: [{
|
|
20751
21123
|
selector: 'sc-tabs',
|
|
20752
21124
|
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",
|
|
20753
21125
|
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}"]
|
|
20754
21126
|
},] }
|
|
20755
21127
|
];
|
|
20756
|
-
exports.ɵ
|
|
21128
|
+
exports.ɵed.ctorParameters = function () { return []; };
|
|
20757
21129
|
__decorate([
|
|
20758
21130
|
bbjWidgetBase.Property('页签样式', {
|
|
20759
21131
|
enum: [
|
|
@@ -20762,7 +21134,7 @@
|
|
|
20762
21134
|
],
|
|
20763
21135
|
}),
|
|
20764
21136
|
__metadata("design:type", Object)
|
|
20765
|
-
], exports.ɵ
|
|
21137
|
+
], exports.ɵed.prototype, "type", void 0);
|
|
20766
21138
|
__decorate([
|
|
20767
21139
|
bbjWidgetBase.Property('尺寸', {
|
|
20768
21140
|
enum: [
|
|
@@ -20772,7 +21144,7 @@
|
|
|
20772
21144
|
],
|
|
20773
21145
|
}),
|
|
20774
21146
|
__metadata("design:type", Object)
|
|
20775
|
-
], exports.ɵ
|
|
21147
|
+
], exports.ɵed.prototype, "size", void 0);
|
|
20776
21148
|
__decorate([
|
|
20777
21149
|
bbjWidgetBase.Property('页签位置', {
|
|
20778
21150
|
enum: [
|
|
@@ -20783,16 +21155,16 @@
|
|
|
20783
21155
|
],
|
|
20784
21156
|
}),
|
|
20785
21157
|
__metadata("design:type", Object)
|
|
20786
|
-
], exports.ɵ
|
|
21158
|
+
], exports.ɵed.prototype, "tabPosition", void 0);
|
|
20787
21159
|
__decorate([
|
|
20788
21160
|
bbjWidgetBase.Property('切换动画', { type: 'boolean', ui: { visibleIf: { tabPosition: ['top', 'bottom'] } } }),
|
|
20789
21161
|
__metadata("design:type", Object)
|
|
20790
|
-
], exports.ɵ
|
|
21162
|
+
], exports.ɵed.prototype, "animated", void 0);
|
|
20791
21163
|
__decorate([
|
|
20792
21164
|
bbjWidgetBase.Property('间隙'),
|
|
20793
21165
|
__metadata("design:type", Number)
|
|
20794
|
-
], exports.ɵ
|
|
20795
|
-
exports.ɵ
|
|
21166
|
+
], exports.ɵed.prototype, "tabBarGutter", void 0);
|
|
21167
|
+
exports.ɵed = __decorate([
|
|
20796
21168
|
bbjWidgetBase.Widget('标签页', {
|
|
20797
21169
|
group: 'component', image: 'assets/img/screen/tabs.png', icon: 'iconmokuai',
|
|
20798
21170
|
children: [
|
|
@@ -20807,42 +21179,42 @@
|
|
|
20807
21179
|
childTypes: ['sc-tab'],
|
|
20808
21180
|
}),
|
|
20809
21181
|
__metadata("design:paramtypes", [])
|
|
20810
|
-
], exports.ɵ
|
|
21182
|
+
], exports.ɵed);
|
|
20811
21183
|
|
|
20812
|
-
exports.ɵ
|
|
21184
|
+
exports.ɵee = /** @class */ (function () {
|
|
20813
21185
|
function TabComponent() {
|
|
20814
21186
|
this.title = 'New Tab';
|
|
20815
21187
|
}
|
|
20816
21188
|
TabComponent.prototype.ngOnInit = function () { };
|
|
20817
21189
|
return TabComponent;
|
|
20818
21190
|
}());
|
|
20819
|
-
exports.ɵ
|
|
21191
|
+
exports.ɵee.decorators = [
|
|
20820
21192
|
{ type: i0.Component, args: [{
|
|
20821
21193
|
selector: 'sc-tab',
|
|
20822
21194
|
template: "<ng-template [widgetChildren]=\"children\"></ng-template>\n",
|
|
20823
21195
|
styles: [""]
|
|
20824
21196
|
},] }
|
|
20825
21197
|
];
|
|
20826
|
-
exports.ɵ
|
|
21198
|
+
exports.ɵee.ctorParameters = function () { return []; };
|
|
20827
21199
|
__decorate([
|
|
20828
21200
|
bbjWidgetBase.Property('标题'),
|
|
20829
21201
|
__metadata("design:type", Object)
|
|
20830
|
-
], exports.ɵ
|
|
20831
|
-
exports.ɵ
|
|
21202
|
+
], exports.ɵee.prototype, "title", void 0);
|
|
21203
|
+
exports.ɵee = __decorate([
|
|
20832
21204
|
bbjWidgetBase.Widget('选项卡', { hidden: true }),
|
|
20833
21205
|
__metadata("design:paramtypes", [])
|
|
20834
|
-
], exports.ɵ
|
|
21206
|
+
], exports.ɵee);
|
|
20835
21207
|
|
|
20836
21208
|
var TabsModule = /** @class */ (function () {
|
|
20837
21209
|
function TabsModule(widgetService) {
|
|
20838
|
-
widgetService.register(exports.ɵec);
|
|
20839
21210
|
widgetService.register(exports.ɵed);
|
|
21211
|
+
widgetService.register(exports.ɵee);
|
|
20840
21212
|
}
|
|
20841
21213
|
return TabsModule;
|
|
20842
21214
|
}());
|
|
20843
21215
|
TabsModule.decorators = [
|
|
20844
21216
|
{ type: i0.NgModule, args: [{
|
|
20845
|
-
declarations: [exports.ɵ
|
|
21217
|
+
declarations: [exports.ɵed, exports.ɵee],
|
|
20846
21218
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, tabs.NzTabsModule],
|
|
20847
21219
|
},] }
|
|
20848
21220
|
];
|
|
@@ -20850,7 +21222,7 @@
|
|
|
20850
21222
|
{ type: bbjWidgetBase.WidgetService }
|
|
20851
21223
|
]; };
|
|
20852
21224
|
|
|
20853
|
-
exports.ɵ
|
|
21225
|
+
exports.ɵel = /** @class */ (function () {
|
|
20854
21226
|
function GanttComponent(ele) {
|
|
20855
21227
|
this.ele = ele;
|
|
20856
21228
|
this.contentRenderers = new Map();
|
|
@@ -21009,27 +21381,27 @@
|
|
|
21009
21381
|
};
|
|
21010
21382
|
return GanttComponent;
|
|
21011
21383
|
}());
|
|
21012
|
-
exports.ɵ
|
|
21384
|
+
exports.ɵel.decorators = [
|
|
21013
21385
|
{ type: i0.Component, args: [{
|
|
21014
21386
|
selector: 'sc-gantt',
|
|
21015
21387
|
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",
|
|
21016
21388
|
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)}"]
|
|
21017
21389
|
},] }
|
|
21018
21390
|
];
|
|
21019
|
-
exports.ɵ
|
|
21391
|
+
exports.ɵel.ctorParameters = function () { return [
|
|
21020
21392
|
{ type: i0.ElementRef }
|
|
21021
21393
|
]; };
|
|
21022
|
-
exports.ɵ
|
|
21394
|
+
exports.ɵel.propDecorators = {
|
|
21023
21395
|
eventContent: [{ type: i0.ViewChild, args: ['fcEventContent', { static: true },] }]
|
|
21024
21396
|
};
|
|
21025
21397
|
__decorate([
|
|
21026
21398
|
bbjWidgetBase.Property('头部名称', { type: 'string' }),
|
|
21027
21399
|
__metadata("design:type", Object)
|
|
21028
|
-
], exports.ɵ
|
|
21400
|
+
], exports.ɵel.prototype, "headerContent", void 0);
|
|
21029
21401
|
__decorate([
|
|
21030
21402
|
bbjWidgetBase.Property('项目字体', { ui: { widget: 'myFont' } }),
|
|
21031
21403
|
__metadata("design:type", Object)
|
|
21032
|
-
], exports.ɵ
|
|
21404
|
+
], exports.ɵel.prototype, "contentFont", void 0);
|
|
21033
21405
|
__decorate([
|
|
21034
21406
|
bbjWidgetBase.Property('系列颜色', {
|
|
21035
21407
|
ui: {
|
|
@@ -21038,19 +21410,19 @@
|
|
|
21038
21410
|
},
|
|
21039
21411
|
}),
|
|
21040
21412
|
__metadata("design:type", Object)
|
|
21041
|
-
], exports.ɵ
|
|
21413
|
+
], exports.ɵel.prototype, "lineColor", void 0);
|
|
21042
21414
|
__decorate([
|
|
21043
21415
|
bbjWidgetBase.Property('进度透明', { type: 'number', max: 1 }),
|
|
21044
21416
|
__metadata("design:type", Object)
|
|
21045
|
-
], exports.ɵ
|
|
21417
|
+
], exports.ɵel.prototype, "progressTransparency", void 0);
|
|
21046
21418
|
__decorate([
|
|
21047
21419
|
bbjWidgetBase.Property('区域占比', { type: 'number' }),
|
|
21048
21420
|
__metadata("design:type", Object)
|
|
21049
|
-
], exports.ɵ
|
|
21421
|
+
], exports.ɵel.prototype, "areaRate", void 0);
|
|
21050
21422
|
__decorate([
|
|
21051
21423
|
bbjWidgetBase.Property('进度条高度', { type: 'number' }),
|
|
21052
21424
|
__metadata("design:type", Object)
|
|
21053
|
-
], exports.ɵ
|
|
21425
|
+
], exports.ɵel.prototype, "progressHeight", void 0);
|
|
21054
21426
|
__decorate([
|
|
21055
21427
|
bbjWidgetBase.Data({
|
|
21056
21428
|
properties: {
|
|
@@ -21062,11 +21434,11 @@
|
|
|
21062
21434
|
},
|
|
21063
21435
|
}),
|
|
21064
21436
|
__metadata("design:type", Array)
|
|
21065
|
-
], exports.ɵ
|
|
21066
|
-
exports.ɵ
|
|
21437
|
+
], exports.ɵel.prototype, "data", void 0);
|
|
21438
|
+
exports.ɵel = __decorate([
|
|
21067
21439
|
bbjWidgetBase.Widget('甘特图', { group: 'component', image: 'assets/img/screen/gantt.png', icon: 'iconmokuai' }),
|
|
21068
21440
|
__metadata("design:paramtypes", [i0.ElementRef])
|
|
21069
|
-
], exports.ɵ
|
|
21441
|
+
], exports.ɵel);
|
|
21070
21442
|
|
|
21071
21443
|
// import {FormsModule} from '@angular/forms';
|
|
21072
21444
|
// import {NzDatePickerModule} from 'ng-zorro-antd/date-picker';
|
|
@@ -21079,13 +21451,13 @@
|
|
|
21079
21451
|
interactionPlugin__default['default'],
|
|
21080
21452
|
resourceTimelinePlugin__default['default'],
|
|
21081
21453
|
]);
|
|
21082
|
-
widgetService.register(exports.ɵ
|
|
21454
|
+
widgetService.register(exports.ɵel);
|
|
21083
21455
|
}
|
|
21084
21456
|
return GanttModule;
|
|
21085
21457
|
}());
|
|
21086
21458
|
GanttModule.decorators = [
|
|
21087
21459
|
{ type: i0.NgModule, args: [{
|
|
21088
|
-
declarations: [exports.ɵ
|
|
21460
|
+
declarations: [exports.ɵel],
|
|
21089
21461
|
imports: [
|
|
21090
21462
|
common.CommonModule,
|
|
21091
21463
|
bbjWidgetBase.WidgetBaseModule,
|
|
@@ -21101,7 +21473,7 @@
|
|
|
21101
21473
|
var WorkbenchWidgetModule = /** @class */ (function () {
|
|
21102
21474
|
function WorkbenchWidgetModule(widgetService) {
|
|
21103
21475
|
widgetService.register(exports.ɵp, { option: {}, size: { width: 3, height: 3 } });
|
|
21104
|
-
widgetService.register(exports.ɵ
|
|
21476
|
+
widgetService.register(exports.ɵeg, { option: {}, size: { width: 16, height: 12 } });
|
|
21105
21477
|
for (var i = 1; i <= 82; i++) {
|
|
21106
21478
|
widgetService.register(exports.ɵb, {
|
|
21107
21479
|
option: { image: "assets/img/screen/picture" + i + ".png", hideHead: true },
|
|
@@ -21549,7 +21921,7 @@
|
|
|
21549
21921
|
size: { width: 10, height: 10 },
|
|
21550
21922
|
});
|
|
21551
21923
|
}
|
|
21552
|
-
widgetService.register(exports.ɵ
|
|
21924
|
+
widgetService.register(exports.ɵeb, { size: { width: 14, height: 6 } });
|
|
21553
21925
|
widgetService.register(exports.ɵbo, {
|
|
21554
21926
|
option: {
|
|
21555
21927
|
image: 'assets/img/screen/table.png',
|
|
@@ -21707,21 +22079,21 @@
|
|
|
21707
22079
|
exports.ɵcr = MipAnimModule;
|
|
21708
22080
|
exports.ɵcw = TimePickerModule;
|
|
21709
22081
|
exports.ɵda = BaseLayer;
|
|
21710
|
-
exports.ɵ
|
|
21711
|
-
exports.ɵ
|
|
21712
|
-
exports.ɵ
|
|
21713
|
-
exports.ɵ
|
|
21714
|
-
exports.ɵ
|
|
21715
|
-
exports.ɵ
|
|
21716
|
-
exports.ɵ
|
|
21717
|
-
exports.ɵ
|
|
21718
|
-
exports.ɵ
|
|
21719
|
-
exports.ɵdz = AnnouncementModule;
|
|
22082
|
+
exports.ɵdf = UploadModule;
|
|
22083
|
+
exports.ɵdi = Pie3dChartModule;
|
|
22084
|
+
exports.ɵdk = HighChartsService;
|
|
22085
|
+
exports.ɵdl = MultiTitleGaugeModule;
|
|
22086
|
+
exports.ɵdn = GaugeProgressModule;
|
|
22087
|
+
exports.ɵdp = ItemSwiperModule;
|
|
22088
|
+
exports.ɵdr = BulletinBoardModule;
|
|
22089
|
+
exports.ɵdt = TemporaryDataModule;
|
|
22090
|
+
exports.ɵdv = LineLightFlowModule;
|
|
21720
22091
|
exports.ɵe = LineBarChartModule;
|
|
21721
|
-
exports.ɵ
|
|
21722
|
-
exports.ɵ
|
|
21723
|
-
exports.ɵ
|
|
21724
|
-
exports.ɵ
|
|
22092
|
+
exports.ɵea = AnnouncementModule;
|
|
22093
|
+
exports.ɵec = TabsModule;
|
|
22094
|
+
exports.ɵef = CalendarModule;
|
|
22095
|
+
exports.ɵei = CalendarEventsChild;
|
|
22096
|
+
exports.ɵek = GanttModule;
|
|
21725
22097
|
exports.ɵo = ButtonModule;
|
|
21726
22098
|
exports.ɵq = HttpService;
|
|
21727
22099
|
exports.ɵr = TimerModule;
|