bbj-screen-widget 2.4.55 → 2.4.57
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 +5 -2
- package/bbj-screen-widget.metadata.json +1 -1
- package/bundles/bbj-screen-widget.umd.js +428 -139
- 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 +6 -3
- package/esm2015/lib/calendar/background-events/background-events.component.js +63 -0
- package/esm2015/lib/calendar/calendar-events-child.js +35 -0
- package/esm2015/lib/calendar/calendar.component.js +88 -34
- package/esm2015/lib/calendar/calendar.module.js +7 -3
- package/esm2015/lib/calendar/events/events.component.js +71 -0
- package/esm2015/lib/planimetric-map2d/planimetric-map2d.component.js +124 -87
- package/esm2015/lib/radar-chart/radar-chart.component.js +24 -5
- package/fesm2015/bbj-screen-widget.js +389 -124
- package/fesm2015/bbj-screen-widget.js.map +1 -1
- package/lib/calendar/background-events/background-events.component.d.ts +10 -0
- package/lib/calendar/calendar-events-child.d.ts +13 -0
- package/lib/calendar/calendar.component.d.ts +11 -2
- package/lib/calendar/events/events.component.d.ts +13 -0
- package/lib/radar-chart/radar-chart.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -6606,9 +6606,17 @@
|
|
|
6606
6606
|
lineHeight: '',
|
|
6607
6607
|
};
|
|
6608
6608
|
_this.align = 'auto';
|
|
6609
|
+
_this.label = false;
|
|
6609
6610
|
_this.shape = 'polygon';
|
|
6610
6611
|
_this.area = false;
|
|
6611
|
-
_this.
|
|
6612
|
+
_this.grid = {
|
|
6613
|
+
top: 30,
|
|
6614
|
+
right: 30,
|
|
6615
|
+
bottom: 40,
|
|
6616
|
+
left: 36,
|
|
6617
|
+
};
|
|
6618
|
+
// @Property('缩放', { type: 'number' })
|
|
6619
|
+
// radius = 100;
|
|
6612
6620
|
_this.chartOption = {};
|
|
6613
6621
|
_this._data = [
|
|
6614
6622
|
{ x: '销售', y: 10, m: 37, s: '预算' },
|
|
@@ -6652,11 +6660,18 @@
|
|
|
6652
6660
|
textStyle: style,
|
|
6653
6661
|
},
|
|
6654
6662
|
indicator: [],
|
|
6655
|
-
radius: this.radius,
|
|
6656
6663
|
},
|
|
6657
6664
|
color: this.lineColor,
|
|
6665
|
+
grid: this.grid,
|
|
6658
6666
|
series: [
|
|
6659
6667
|
{
|
|
6668
|
+
label: {
|
|
6669
|
+
show: this.label,
|
|
6670
|
+
textStyle: this.getTextStyle(this.font),
|
|
6671
|
+
formatter: function (params) {
|
|
6672
|
+
return params.value;
|
|
6673
|
+
},
|
|
6674
|
+
},
|
|
6660
6675
|
type: 'radar',
|
|
6661
6676
|
areaStyle: { opacity: this.area ? 0.3 : 0 },
|
|
6662
6677
|
data: [],
|
|
@@ -6791,6 +6806,10 @@
|
|
|
6791
6806
|
}),
|
|
6792
6807
|
__metadata("design:type", Object)
|
|
6793
6808
|
], exports.ɵi.prototype, "align", void 0);
|
|
6809
|
+
__decorate([
|
|
6810
|
+
bbjWidgetBase.Property('标签', { type: 'boolean' }),
|
|
6811
|
+
__metadata("design:type", Object)
|
|
6812
|
+
], exports.ɵi.prototype, "label", void 0);
|
|
6794
6813
|
__decorate([
|
|
6795
6814
|
bbjWidgetBase.Property('形状', {
|
|
6796
6815
|
ui: { widget: 'select' },
|
|
@@ -6808,9 +6827,9 @@
|
|
|
6808
6827
|
__metadata("design:type", Object)
|
|
6809
6828
|
], exports.ɵi.prototype, "area", void 0);
|
|
6810
6829
|
__decorate([
|
|
6811
|
-
bbjWidgetBase.Property('
|
|
6830
|
+
bbjWidgetBase.Property('边距', { ui: { widget: 'myGrid' } }),
|
|
6812
6831
|
__metadata("design:type", Object)
|
|
6813
|
-
], exports.ɵi.prototype, "
|
|
6832
|
+
], exports.ɵi.prototype, "grid", void 0);
|
|
6814
6833
|
__decorate([
|
|
6815
6834
|
bbjWidgetBase.Data({
|
|
6816
6835
|
properties: {
|
|
@@ -9659,182 +9678,219 @@
|
|
|
9659
9678
|
_this.data = [];
|
|
9660
9679
|
_this.areaClick = new i0.EventEmitter();
|
|
9661
9680
|
_this.nameMap = {
|
|
9681
|
+
Somalia: '索马里',
|
|
9682
|
+
Liechtenstein: '列支敦士登',
|
|
9683
|
+
Morocco: '摩洛哥',
|
|
9684
|
+
'W. Sahara': '西撒哈拉',
|
|
9685
|
+
Serbia: '塞尔维亚',
|
|
9662
9686
|
Afghanistan: '阿富汗',
|
|
9663
|
-
Albania: '阿尔巴尼亚',
|
|
9664
|
-
Algeria: '阿尔及利亚',
|
|
9665
9687
|
Angola: '安哥拉',
|
|
9688
|
+
Albania: '阿尔巴尼亚',
|
|
9689
|
+
Aland: '奥兰群岛',
|
|
9690
|
+
Andorra: '安道尔',
|
|
9691
|
+
'United Arab Emirates': '阿拉伯联合酋长国',
|
|
9666
9692
|
Argentina: '阿根廷',
|
|
9667
9693
|
Armenia: '亚美尼亚',
|
|
9694
|
+
'American Samoa': '美属萨摩亚',
|
|
9695
|
+
'Fr. S. Antarctic Lands': '法属南部领地',
|
|
9696
|
+
'Antigua and Barb.': '安提瓜和巴布达',
|
|
9668
9697
|
Australia: '澳大利亚',
|
|
9669
9698
|
Austria: '奥地利',
|
|
9670
9699
|
Azerbaijan: '阿塞拜疆',
|
|
9700
|
+
Burundi: '布隆迪',
|
|
9701
|
+
Belgium: '比利时',
|
|
9702
|
+
Benin: '贝宁',
|
|
9703
|
+
'Burkina Faso': '布基纳法索',
|
|
9671
9704
|
Bangladesh: '孟加拉国',
|
|
9705
|
+
Bulgaria: '保加利亚',
|
|
9706
|
+
Bahrain: '巴林',
|
|
9707
|
+
Bahamas: '巴哈马',
|
|
9708
|
+
'Bosnia and Herz.': '波斯尼亚和黑塞哥维那',
|
|
9672
9709
|
Belarus: '白俄罗斯',
|
|
9673
|
-
Belgium: '比利时',
|
|
9674
9710
|
Belize: '伯利兹',
|
|
9675
|
-
Benin: '贝宁',
|
|
9676
9711
|
Bermuda: '百慕大',
|
|
9677
|
-
Bhutan: '不丹',
|
|
9678
9712
|
Bolivia: '玻利维亚',
|
|
9679
|
-
'Bosnia and Herzegovina': '波斯尼亚和黑塞哥维那',
|
|
9680
|
-
Botswana: '博茨瓦纳',
|
|
9681
9713
|
Brazil: '巴西',
|
|
9714
|
+
Barbados: '巴巴多斯',
|
|
9682
9715
|
Brunei: '文莱',
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9686
|
-
Cambodia: '柬埔寨',
|
|
9687
|
-
Cameroon: '喀麦隆',
|
|
9716
|
+
Bhutan: '不丹',
|
|
9717
|
+
Botswana: '博茨瓦纳',
|
|
9718
|
+
'Central African Rep.': '中非共和国',
|
|
9688
9719
|
Canada: '加拿大',
|
|
9689
|
-
|
|
9690
|
-
Chad: '乍得',
|
|
9720
|
+
Switzerland: '瑞士',
|
|
9691
9721
|
Chile: '智利',
|
|
9692
9722
|
China: '中国',
|
|
9723
|
+
"Côte d'Ivoire": '科特迪瓦',
|
|
9724
|
+
Cameroon: '喀麦隆',
|
|
9725
|
+
'Dem. Rep. Congo': '刚果(金)',
|
|
9726
|
+
Congo: '刚果(布)',
|
|
9693
9727
|
Colombia: '哥伦比亚',
|
|
9728
|
+
Comoros: '科摩罗',
|
|
9729
|
+
'Cape Verde': '佛得角',
|
|
9694
9730
|
'Costa Rica': '哥斯达黎加',
|
|
9695
|
-
Croatia: '克罗地亚',
|
|
9696
9731
|
Cuba: '古巴',
|
|
9732
|
+
Curaçao: '库拉索',
|
|
9733
|
+
'Cayman Is.': '开曼群岛',
|
|
9734
|
+
'N. Cyprus': '北塞浦路斯',
|
|
9697
9735
|
Cyprus: '塞浦路斯',
|
|
9698
|
-
'Czech
|
|
9699
|
-
|
|
9700
|
-
Denmark: '丹麦',
|
|
9736
|
+
'Czech Rep.': '捷克',
|
|
9737
|
+
Germany: '德国',
|
|
9701
9738
|
Djibouti: '吉布提',
|
|
9702
|
-
|
|
9703
|
-
|
|
9739
|
+
Dominica: '多米尼克',
|
|
9740
|
+
Denmark: '丹麦',
|
|
9741
|
+
'Dominican Rep.': '多米尼加',
|
|
9742
|
+
Algeria: '阿尔及利亚',
|
|
9704
9743
|
Ecuador: '厄瓜多尔',
|
|
9705
9744
|
Egypt: '埃及',
|
|
9706
|
-
'El Salvador': '萨尔瓦多',
|
|
9707
|
-
'Equatorial Guinea': '赤道几内亚',
|
|
9708
9745
|
Eritrea: '厄立特里亚',
|
|
9746
|
+
Spain: '西班牙',
|
|
9709
9747
|
Estonia: '爱沙尼亚',
|
|
9710
9748
|
Ethiopia: '埃塞俄比亚',
|
|
9711
|
-
'Falkland Islands': '福克兰群岛',
|
|
9712
|
-
Fiji: '斐',
|
|
9713
9749
|
Finland: '芬兰',
|
|
9750
|
+
Fiji: '斐济',
|
|
9751
|
+
'Falkland Is.': '福克兰群岛',
|
|
9714
9752
|
France: '法国',
|
|
9715
|
-
'
|
|
9716
|
-
|
|
9753
|
+
'Faeroe Is.': '法罗群岛',
|
|
9754
|
+
Micronesia: '密克罗尼西亚',
|
|
9717
9755
|
Gabon: '加蓬',
|
|
9718
|
-
|
|
9756
|
+
'United Kingdom': '英国',
|
|
9719
9757
|
Georgia: '格鲁吉亚',
|
|
9720
|
-
Germany: '德国',
|
|
9721
9758
|
Ghana: '加纳',
|
|
9759
|
+
Guinea: '几内亚',
|
|
9760
|
+
Gambia: '冈比亚',
|
|
9761
|
+
'Guinea-Bissau': '几内亚比绍',
|
|
9762
|
+
'Eq. Guinea': '赤道几内亚',
|
|
9722
9763
|
Greece: '希腊',
|
|
9764
|
+
Grenada: '格林纳达',
|
|
9723
9765
|
Greenland: '格陵兰',
|
|
9724
9766
|
Guatemala: '危地马拉',
|
|
9725
|
-
|
|
9726
|
-
'Guinea Bissau': '几内亚比绍',
|
|
9767
|
+
Guam: '关岛',
|
|
9727
9768
|
Guyana: '圭亚那',
|
|
9728
|
-
|
|
9769
|
+
'Heard I. and McDonald Is.': '赫德岛和麦克唐纳群岛',
|
|
9729
9770
|
Honduras: '洪都拉斯',
|
|
9771
|
+
Croatia: '克罗地亚',
|
|
9772
|
+
Haiti: '海地',
|
|
9730
9773
|
Hungary: '匈牙利',
|
|
9731
|
-
|
|
9774
|
+
Indonesia: '印度尼西亚',
|
|
9775
|
+
'Isle of Man': '马恩岛',
|
|
9732
9776
|
India: '印度',
|
|
9733
|
-
|
|
9777
|
+
'Br. Indian Ocean Ter.': '英属印度洋领地',
|
|
9778
|
+
Ireland: '爱尔兰',
|
|
9734
9779
|
Iran: '伊朗',
|
|
9735
9780
|
Iraq: '伊拉克',
|
|
9736
|
-
|
|
9781
|
+
Iceland: '冰岛',
|
|
9737
9782
|
Israel: '以色列',
|
|
9738
9783
|
Italy: '意大利',
|
|
9739
|
-
'Ivory Coast': '象牙海岸',
|
|
9740
9784
|
Jamaica: '牙买加',
|
|
9741
|
-
|
|
9785
|
+
Jersey: '泽西岛',
|
|
9742
9786
|
Jordan: '约旦',
|
|
9787
|
+
Japan: '日本',
|
|
9788
|
+
'Siachen Glacier': '锡亚琴冰川',
|
|
9743
9789
|
Kazakhstan: '哈萨克斯坦',
|
|
9744
9790
|
Kenya: '肯尼亚',
|
|
9745
|
-
Kosovo: '科索沃',
|
|
9746
|
-
Kuwait: '科威特',
|
|
9747
9791
|
Kyrgyzstan: '吉尔吉斯斯坦',
|
|
9748
|
-
|
|
9749
|
-
|
|
9792
|
+
Cambodia: '柬埔寨',
|
|
9793
|
+
Kiribati: '基里巴斯',
|
|
9794
|
+
Korea: '韩国',
|
|
9795
|
+
Kuwait: '科威特',
|
|
9796
|
+
'Lao PDR': '老挝',
|
|
9750
9797
|
Lebanon: '黎巴嫩',
|
|
9751
|
-
Lesotho: '莱索托',
|
|
9752
9798
|
Liberia: '利比里亚',
|
|
9753
9799
|
Libya: '利比亚',
|
|
9800
|
+
'Saint Lucia': '圣卢西亚',
|
|
9801
|
+
'Sri Lanka': '斯里兰卡',
|
|
9802
|
+
Lesotho: '莱索托',
|
|
9754
9803
|
Lithuania: '立陶宛',
|
|
9755
9804
|
Luxembourg: '卢森堡',
|
|
9756
|
-
|
|
9805
|
+
Latvia: '拉脱维亚',
|
|
9806
|
+
Moldova: '摩尔多瓦',
|
|
9757
9807
|
Madagascar: '马达加斯加',
|
|
9758
|
-
Malawi: '马拉维',
|
|
9759
|
-
Malaysia: '马来西亚',
|
|
9760
|
-
Mali: '马里',
|
|
9761
|
-
Mauritania: '毛里塔尼亚',
|
|
9762
9808
|
Mexico: '墨西哥',
|
|
9763
|
-
|
|
9764
|
-
|
|
9809
|
+
Macedonia: '北马其顿',
|
|
9810
|
+
Mali: '马里',
|
|
9811
|
+
Malta: '马耳他',
|
|
9812
|
+
Myanmar: '缅甸',
|
|
9765
9813
|
Montenegro: '黑山',
|
|
9766
|
-
|
|
9814
|
+
Mongolia: '蒙古',
|
|
9815
|
+
'N. Mariana Is.': '北马里亚纳群岛',
|
|
9767
9816
|
Mozambique: '莫桑比克',
|
|
9768
|
-
|
|
9817
|
+
Mauritania: '毛里塔尼亚',
|
|
9818
|
+
Montserrat: '蒙特塞拉特',
|
|
9819
|
+
Mauritius: '毛里求斯',
|
|
9820
|
+
Malawi: '马拉维',
|
|
9821
|
+
Malaysia: '马来西亚',
|
|
9769
9822
|
Namibia: '纳米比亚',
|
|
9770
|
-
Nepal: '尼泊尔',
|
|
9771
|
-
Netherlands: '荷兰',
|
|
9772
9823
|
'New Caledonia': '新喀里多尼亚',
|
|
9773
|
-
'New Zealand': '新西兰',
|
|
9774
|
-
Nicaragua: '尼加拉瓜',
|
|
9775
9824
|
Niger: '尼日尔',
|
|
9776
9825
|
Nigeria: '尼日利亚',
|
|
9777
|
-
|
|
9778
|
-
|
|
9826
|
+
Nicaragua: '尼加拉瓜',
|
|
9827
|
+
Niue: '纽埃',
|
|
9828
|
+
Netherlands: '荷兰',
|
|
9779
9829
|
Norway: '挪威',
|
|
9830
|
+
Nepal: '尼泊尔',
|
|
9831
|
+
'New Zealand': '新西兰',
|
|
9780
9832
|
Oman: '阿曼',
|
|
9781
9833
|
Pakistan: '巴基斯坦',
|
|
9782
9834
|
Panama: '巴拿马',
|
|
9783
|
-
'Papua New Guinea': '巴布亚新几内亚',
|
|
9784
|
-
Paraguay: '巴拉圭',
|
|
9785
9835
|
Peru: '秘鲁',
|
|
9786
9836
|
Philippines: '菲律宾',
|
|
9837
|
+
Palau: '帕劳',
|
|
9838
|
+
'Papua New Guinea': '巴布亚新几内亚',
|
|
9787
9839
|
Poland: '波兰',
|
|
9788
|
-
Portugal: '葡萄牙',
|
|
9789
9840
|
'Puerto Rico': '波多黎各',
|
|
9841
|
+
'Dem. Rep. Korea': '朝鲜',
|
|
9842
|
+
Portugal: '葡萄牙',
|
|
9843
|
+
Paraguay: '巴拉圭',
|
|
9844
|
+
Palestine: '巴勒斯坦',
|
|
9845
|
+
'Fr. Polynesia': '法属波利尼西亚',
|
|
9790
9846
|
Qatar: '卡塔尔',
|
|
9791
|
-
'Republic of Serbia': '塞尔维亚',
|
|
9792
|
-
'Republic of the Congo': '刚果共和国',
|
|
9793
9847
|
Romania: '罗马尼亚',
|
|
9794
9848
|
Russia: '俄罗斯',
|
|
9795
9849
|
Rwanda: '卢旺达',
|
|
9796
9850
|
'Saudi Arabia': '沙特阿拉伯',
|
|
9851
|
+
Sudan: '苏丹',
|
|
9852
|
+
'S. Sudan': '南苏丹',
|
|
9797
9853
|
Senegal: '塞内加尔',
|
|
9798
|
-
'Sierra Leone': '塞拉利昂',
|
|
9799
9854
|
Singapore: '新加坡',
|
|
9855
|
+
'S. Geo. and S. Sandw. Is.': '南乔治亚岛和南桑威奇群岛',
|
|
9856
|
+
'Saint Helena': '圣赫勒拿',
|
|
9857
|
+
'Solomon Is.': '所罗门群岛',
|
|
9858
|
+
'Sierra Leone': '塞拉利昂',
|
|
9859
|
+
'El Salvador': '萨尔瓦多',
|
|
9860
|
+
'St. Pierre and Miquelon': '圣皮埃尔和密克隆',
|
|
9861
|
+
'São Tomé and Principe': '圣多美和普林西比',
|
|
9862
|
+
Suriname: '苏里南',
|
|
9800
9863
|
Slovakia: '斯洛伐克',
|
|
9801
9864
|
Slovenia: '斯洛文尼亚',
|
|
9802
|
-
'Solomon Islands': '所罗门群岛',
|
|
9803
|
-
Somalia: '索马里',
|
|
9804
|
-
Somaliland: '索马里兰',
|
|
9805
|
-
'South Africa': '南非',
|
|
9806
|
-
'South Korea': '韩国',
|
|
9807
|
-
'South Sudan': '南苏丹',
|
|
9808
|
-
Spain: '西班牙',
|
|
9809
|
-
'Sri Lanka': '斯里兰卡',
|
|
9810
|
-
Sudan: '苏丹',
|
|
9811
|
-
Suriname: '苏里南',
|
|
9812
|
-
Swaziland: '斯威士兰',
|
|
9813
9865
|
Sweden: '瑞典',
|
|
9814
|
-
|
|
9866
|
+
Swaziland: '斯威士兰',
|
|
9867
|
+
Seychelles: '塞舌尔',
|
|
9815
9868
|
Syria: '叙利亚',
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
'The Bahamas': '巴哈马',
|
|
9869
|
+
'Turks and Caicos Is.': '特克斯和凯科斯群岛',
|
|
9870
|
+
Chad: '乍得',
|
|
9819
9871
|
Togo: '多哥',
|
|
9820
|
-
|
|
9872
|
+
Thailand: '泰国',
|
|
9873
|
+
Tajikistan: '塔吉克斯坦',
|
|
9874
|
+
Turkmenistan: '土库曼斯坦',
|
|
9875
|
+
'Timor-Leste': '东帝汶',
|
|
9876
|
+
Tonga: '汤加',
|
|
9877
|
+
'Trinidad and Tobago': '特立尼达和多巴哥',
|
|
9821
9878
|
Tunisia: '突尼斯',
|
|
9822
9879
|
Turkey: '土耳其',
|
|
9823
|
-
|
|
9880
|
+
Tanzania: '坦桑尼亚',
|
|
9824
9881
|
Uganda: '乌干达',
|
|
9825
9882
|
Ukraine: '乌克兰',
|
|
9826
|
-
'United Arab Emirates': '阿联酋',
|
|
9827
|
-
'United Kingdom': '英国',
|
|
9828
|
-
'United Republic of Tanzania': '坦桑尼亚',
|
|
9829
|
-
'United States': '美国',
|
|
9830
9883
|
Uruguay: '乌拉圭',
|
|
9884
|
+
'United States': '美国',
|
|
9831
9885
|
Uzbekistan: '乌兹别克斯坦',
|
|
9832
|
-
|
|
9886
|
+
'St. Vin. and Gren.': '圣文森特和格林纳丁斯',
|
|
9833
9887
|
Venezuela: '委内瑞拉',
|
|
9888
|
+
'U.S. Virgin Is.': '美属维尔京群岛',
|
|
9834
9889
|
Vietnam: '越南',
|
|
9835
|
-
|
|
9836
|
-
|
|
9890
|
+
Vanuatu: '瓦努阿图',
|
|
9891
|
+
Samoa: '萨摩亚',
|
|
9837
9892
|
Yemen: '也门',
|
|
9893
|
+
'South Africa': '南非',
|
|
9838
9894
|
Zambia: '赞比亚',
|
|
9839
9895
|
Zimbabwe: '津巴布韦',
|
|
9840
9896
|
};
|
|
@@ -20279,8 +20335,10 @@
|
|
|
20279
20335
|
|
|
20280
20336
|
var ɵ0$d = { type: 'string', title: 'id' };
|
|
20281
20337
|
exports.ɵeg = /** @class */ (function () {
|
|
20282
|
-
function CalendarComponent(router) {
|
|
20338
|
+
function CalendarComponent(router, cd) {
|
|
20339
|
+
var _this = this;
|
|
20283
20340
|
this.router = router;
|
|
20341
|
+
this.cd = cd;
|
|
20284
20342
|
this.isInitialDate = true;
|
|
20285
20343
|
this.initialDate = '2020-07-18';
|
|
20286
20344
|
this.data = [
|
|
@@ -20289,57 +20347,113 @@
|
|
|
20289
20347
|
{ end: '2020-07-22', start: '2020-07-20', title: 'event 5' },
|
|
20290
20348
|
];
|
|
20291
20349
|
this.dataClick = new i0.EventEmitter();
|
|
20350
|
+
this.typeChange = new i0.EventEmitter();
|
|
20351
|
+
this.eventMap = new Map();
|
|
20352
|
+
this.eventClick = function (event) {
|
|
20353
|
+
_this.dataClick.emit({ id: event.id, title: event.title });
|
|
20354
|
+
};
|
|
20292
20355
|
}
|
|
20293
20356
|
CalendarComponent.prototype.ngOnChanges = function (changes) {
|
|
20294
20357
|
var _this = this;
|
|
20358
|
+
var _a;
|
|
20295
20359
|
if (changes.data) {
|
|
20360
|
+
if ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) {
|
|
20361
|
+
var events = this.data.map(function (item) { return (Object.assign(Object.assign({}, item), { extendedProps: {
|
|
20362
|
+
eventClick: _this.eventClick,
|
|
20363
|
+
} })); });
|
|
20364
|
+
this.setEvents(this.id, events);
|
|
20365
|
+
}
|
|
20366
|
+
else {
|
|
20367
|
+
this.removeEvents(this.id);
|
|
20368
|
+
}
|
|
20296
20369
|
// const events = this.data.map((item) => ({
|
|
20297
20370
|
// id: item.id,
|
|
20298
20371
|
// start: item.start.indexOf(' 00:00:00') > -1 ? item.start.split(' ')[0] : item.start,
|
|
20299
20372
|
// end: item.end.indexOf(' 00:00:00') > -1 ? item.end.split(' ')[0] : item.end,
|
|
20300
20373
|
// title: item.title,
|
|
20301
20374
|
// }));
|
|
20302
|
-
this.calendarOptions = {
|
|
20303
|
-
headerToolbar: {
|
|
20304
|
-
left: 'prev,next today',
|
|
20305
|
-
center: 'title',
|
|
20306
|
-
right: 'timeGridDay,timeGridWeek,dayGridMonth',
|
|
20307
|
-
},
|
|
20308
|
-
buttonText: {
|
|
20309
|
-
dayGridMonth: '月',
|
|
20310
|
-
timeGridWeek: '周',
|
|
20311
|
-
timeGridDay: '日',
|
|
20312
|
-
today: '今日',
|
|
20313
|
-
},
|
|
20314
|
-
timeZone: 'local',
|
|
20315
|
-
initialDate: this.isInitialDate ? this.initialDate : null,
|
|
20316
|
-
events: this.data,
|
|
20317
|
-
locale: 'zh',
|
|
20318
|
-
eventTimeFormat: {
|
|
20319
|
-
hour: 'numeric',
|
|
20320
|
-
minute: '2-digit',
|
|
20321
|
-
hour12: false,
|
|
20322
|
-
},
|
|
20323
|
-
slotLabelFormat: { hour: 'numeric', minute: '2-digit', hour12: false },
|
|
20324
|
-
eventClick: function (info) {
|
|
20325
|
-
info.jsEvent.preventDefault();
|
|
20326
|
-
_this.dataClick.emit({ id: info.event.id, title: info.event.title });
|
|
20327
|
-
},
|
|
20328
|
-
};
|
|
20329
20375
|
}
|
|
20330
20376
|
};
|
|
20331
20377
|
CalendarComponent.prototype.ngOnInit = function () { };
|
|
20378
|
+
CalendarComponent.prototype.setEvents = function (key, events) {
|
|
20379
|
+
this.eventMap.set(key, events);
|
|
20380
|
+
this.update();
|
|
20381
|
+
};
|
|
20382
|
+
CalendarComponent.prototype.removeEvents = function (key) {
|
|
20383
|
+
if (this.eventMap.has(key)) {
|
|
20384
|
+
this.eventMap.delete(key);
|
|
20385
|
+
this.update();
|
|
20386
|
+
}
|
|
20387
|
+
};
|
|
20388
|
+
CalendarComponent.prototype.update = function () {
|
|
20389
|
+
var e_1, _b;
|
|
20390
|
+
var _this = this;
|
|
20391
|
+
var events = [];
|
|
20392
|
+
try {
|
|
20393
|
+
for (var _c = __values(this.eventMap.values()), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20394
|
+
var event = _d.value;
|
|
20395
|
+
if (event) {
|
|
20396
|
+
events.push.apply(events, __spread(event));
|
|
20397
|
+
}
|
|
20398
|
+
}
|
|
20399
|
+
}
|
|
20400
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20401
|
+
finally {
|
|
20402
|
+
try {
|
|
20403
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
20404
|
+
}
|
|
20405
|
+
finally { if (e_1) throw e_1.error; }
|
|
20406
|
+
}
|
|
20407
|
+
this.calendarOptions = {
|
|
20408
|
+
headerToolbar: {
|
|
20409
|
+
left: 'prev,next today',
|
|
20410
|
+
center: 'title',
|
|
20411
|
+
right: 'timeGridDay,timeGridWeek,dayGridMonth',
|
|
20412
|
+
},
|
|
20413
|
+
buttonText: {
|
|
20414
|
+
dayGridMonth: '月',
|
|
20415
|
+
timeGridWeek: '周',
|
|
20416
|
+
timeGridDay: '日',
|
|
20417
|
+
today: '今日',
|
|
20418
|
+
},
|
|
20419
|
+
timeZone: 'local',
|
|
20420
|
+
initialDate: this.isInitialDate ? this.initialDate : null,
|
|
20421
|
+
events: events,
|
|
20422
|
+
locale: 'zh',
|
|
20423
|
+
eventTimeFormat: {
|
|
20424
|
+
hour: 'numeric',
|
|
20425
|
+
minute: '2-digit',
|
|
20426
|
+
hour12: false,
|
|
20427
|
+
},
|
|
20428
|
+
slotLabelFormat: { hour: 'numeric', minute: '2-digit', hour12: false },
|
|
20429
|
+
eventClick: function (info) {
|
|
20430
|
+
var _a;
|
|
20431
|
+
info.jsEvent.preventDefault();
|
|
20432
|
+
if ((_a = info.event.extendedProps) === null || _a === void 0 ? void 0 : _a.eventClick) {
|
|
20433
|
+
info.event.extendedProps.eventClick(info.event);
|
|
20434
|
+
}
|
|
20435
|
+
// this.dataClick.emit({ id: info.event.id, title: info.event.title });
|
|
20436
|
+
},
|
|
20437
|
+
datesSet: function (arg) {
|
|
20438
|
+
var type = arg.view.type;
|
|
20439
|
+
type = type.substring(type.indexOf('Grid') + 4).toLowerCase();
|
|
20440
|
+
_this.typeChange.emit(type);
|
|
20441
|
+
},
|
|
20442
|
+
};
|
|
20443
|
+
this.cd.markForCheck();
|
|
20444
|
+
};
|
|
20332
20445
|
return CalendarComponent;
|
|
20333
20446
|
}());
|
|
20334
20447
|
exports.ɵeg.decorators = [
|
|
20335
20448
|
{ type: i0.Component, args: [{
|
|
20336
20449
|
selector: 'sc-calendar',
|
|
20337
|
-
template: "<full-calendar *ngIf=\"calendarOptions\" [options]=\"calendarOptions\"></full-calendar>\n",
|
|
20450
|
+
template: "<full-calendar *ngIf=\"calendarOptions\" [options]=\"calendarOptions\"></full-calendar>\n<ng-template *ngFor=\"let child of children\" widget-host [widget]=\"child\"></ng-template>\n",
|
|
20338
20451
|
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}"]
|
|
20339
20452
|
},] }
|
|
20340
20453
|
];
|
|
20341
20454
|
exports.ɵeg.ctorParameters = function () { return [
|
|
20342
|
-
{ type: router.Router }
|
|
20455
|
+
{ type: router.Router },
|
|
20456
|
+
{ type: i0.ChangeDetectorRef }
|
|
20343
20457
|
]; };
|
|
20344
20458
|
__decorate([
|
|
20345
20459
|
bbjWidgetBase.Property('是否自定义初始日期', { ui: { format: 'date', widget: 'checkbox', spanLabel: 0, spanControl: 24 } }),
|
|
@@ -20364,11 +20478,183 @@
|
|
|
20364
20478
|
bbjWidgetBase.DataOutput(['id', 'title']),
|
|
20365
20479
|
__metadata("design:type", Object)
|
|
20366
20480
|
], exports.ɵeg.prototype, "dataClick", void 0);
|
|
20481
|
+
__decorate([
|
|
20482
|
+
bbjWidgetBase.DataOutput('视图类型'),
|
|
20483
|
+
__metadata("design:type", Object)
|
|
20484
|
+
], exports.ɵeg.prototype, "typeChange", void 0);
|
|
20367
20485
|
exports.ɵeg = __decorate([
|
|
20368
|
-
bbjWidgetBase.Widget('日历', {
|
|
20369
|
-
|
|
20486
|
+
bbjWidgetBase.Widget('日历', {
|
|
20487
|
+
group: 'component',
|
|
20488
|
+
image: 'assets/img/screen/rili.png',
|
|
20489
|
+
icon: 'iconmokuai',
|
|
20490
|
+
childTypes: ['sc-calendar-events', 'sc-calendar-background-events'],
|
|
20491
|
+
}),
|
|
20492
|
+
__metadata("design:paramtypes", [router.Router, i0.ChangeDetectorRef])
|
|
20370
20493
|
], exports.ɵeg);
|
|
20371
20494
|
|
|
20495
|
+
var CalendarEventsChild = /** @class */ (function () {
|
|
20496
|
+
function CalendarEventsChild(parent) {
|
|
20497
|
+
this.parent = parent;
|
|
20498
|
+
}
|
|
20499
|
+
CalendarEventsChild.prototype.ngOnChanges = function (changes) {
|
|
20500
|
+
var _this = this;
|
|
20501
|
+
if (changes.data) {
|
|
20502
|
+
if (this.data) {
|
|
20503
|
+
var events = this.getEvents(this.data);
|
|
20504
|
+
if (events && this.eventClick) {
|
|
20505
|
+
events = events.map(function (event) {
|
|
20506
|
+
return Object.assign(Object.assign({}, event), { extendedProps: {
|
|
20507
|
+
eventClick: _this.eventClick,
|
|
20508
|
+
} });
|
|
20509
|
+
});
|
|
20510
|
+
}
|
|
20511
|
+
this.parent.setEvents(this.id, events);
|
|
20512
|
+
}
|
|
20513
|
+
else {
|
|
20514
|
+
this.parent.removeEvents(this.id);
|
|
20515
|
+
}
|
|
20516
|
+
}
|
|
20517
|
+
};
|
|
20518
|
+
CalendarEventsChild.prototype.ngOnDestroy = function () {
|
|
20519
|
+
this.parent.removeEvents(this.id);
|
|
20520
|
+
};
|
|
20521
|
+
return CalendarEventsChild;
|
|
20522
|
+
}());
|
|
20523
|
+
CalendarEventsChild.decorators = [
|
|
20524
|
+
{ type: i0.Directive }
|
|
20525
|
+
];
|
|
20526
|
+
CalendarEventsChild.ctorParameters = function () { return [
|
|
20527
|
+
{ type: exports.ɵeg }
|
|
20528
|
+
]; };
|
|
20529
|
+
|
|
20530
|
+
var ɵ0$e = { type: 'string', title: 'id' };
|
|
20531
|
+
exports.ɵeh = /** @class */ (function (_super) {
|
|
20532
|
+
__extends(BackgroundEventsComponent, _super);
|
|
20533
|
+
function BackgroundEventsComponent(parent) {
|
|
20534
|
+
var _this = _super.call(this, parent) || this;
|
|
20535
|
+
_this.parent = parent;
|
|
20536
|
+
_this.data = [
|
|
20537
|
+
{ end: '2020-07-21 00:00:00', start: '2020-07-19 00:00:00', title: 'event 3' },
|
|
20538
|
+
{ end: '2020-07-19 00:00:00', start: '2020-07-18 00:00:00', title: 'event 4' },
|
|
20539
|
+
{ end: '2020-07-22', start: '2020-07-20', title: 'event 5' },
|
|
20540
|
+
];
|
|
20541
|
+
return _this;
|
|
20542
|
+
}
|
|
20543
|
+
BackgroundEventsComponent.prototype.getEvents = function (data) {
|
|
20544
|
+
var _this = this;
|
|
20545
|
+
return data.map(function (item) {
|
|
20546
|
+
var event = Object.assign(Object.assign({}, item), { display: 'background' });
|
|
20547
|
+
if (!event.color && _this.color) {
|
|
20548
|
+
event.color = _this.color;
|
|
20549
|
+
}
|
|
20550
|
+
return event;
|
|
20551
|
+
});
|
|
20552
|
+
};
|
|
20553
|
+
return BackgroundEventsComponent;
|
|
20554
|
+
}(CalendarEventsChild));
|
|
20555
|
+
exports.ɵeh.decorators = [
|
|
20556
|
+
{ type: i0.Component, args: [{
|
|
20557
|
+
selector: 'sc-calendar-background-events',
|
|
20558
|
+
template: "",
|
|
20559
|
+
styles: [""]
|
|
20560
|
+
},] }
|
|
20561
|
+
];
|
|
20562
|
+
exports.ɵeh.ctorParameters = function () { return [
|
|
20563
|
+
{ type: exports.ɵeg }
|
|
20564
|
+
]; };
|
|
20565
|
+
__decorate([
|
|
20566
|
+
bbjWidgetBase.Property('颜色', {
|
|
20567
|
+
ui: {
|
|
20568
|
+
widget: 'myColor',
|
|
20569
|
+
},
|
|
20570
|
+
}),
|
|
20571
|
+
__metadata("design:type", String)
|
|
20572
|
+
], exports.ɵeh.prototype, "color", void 0);
|
|
20573
|
+
__decorate([
|
|
20574
|
+
bbjWidgetBase.Data({
|
|
20575
|
+
properties: {
|
|
20576
|
+
id: ɵ0$e,
|
|
20577
|
+
start: { type: 'string', title: '开始日期' },
|
|
20578
|
+
end: { type: 'string', title: '结束日期' },
|
|
20579
|
+
title: { type: 'string', title: '标题' },
|
|
20580
|
+
color: { type: 'string', title: '背景颜色' },
|
|
20581
|
+
},
|
|
20582
|
+
}),
|
|
20583
|
+
__metadata("design:type", Array)
|
|
20584
|
+
], exports.ɵeh.prototype, "data", void 0);
|
|
20585
|
+
exports.ɵeh = __decorate([
|
|
20586
|
+
bbjWidgetBase.Widget('背景颜色', { hidden: true }),
|
|
20587
|
+
__metadata("design:paramtypes", [exports.ɵeg])
|
|
20588
|
+
], exports.ɵeh);
|
|
20589
|
+
|
|
20590
|
+
var ɵ0$f = { type: 'string', title: 'id' };
|
|
20591
|
+
exports.ɵej = /** @class */ (function (_super) {
|
|
20592
|
+
__extends(EventsComponent, _super);
|
|
20593
|
+
function EventsComponent(parent) {
|
|
20594
|
+
var _this = _super.call(this, parent) || this;
|
|
20595
|
+
_this.parent = parent;
|
|
20596
|
+
_this.data = [
|
|
20597
|
+
{ end: '2020-07-21 00:00:00', start: '2020-07-19 00:00:00', title: 'event 3' },
|
|
20598
|
+
{ end: '2020-07-19 00:00:00', start: '2020-07-18 00:00:00', title: 'event 4' },
|
|
20599
|
+
{ end: '2020-07-22', start: '2020-07-20', title: 'event 5' },
|
|
20600
|
+
];
|
|
20601
|
+
_this.dataClick = new i0.EventEmitter();
|
|
20602
|
+
_this.eventClick = function (event) {
|
|
20603
|
+
_this.dataClick.emit(event);
|
|
20604
|
+
};
|
|
20605
|
+
return _this;
|
|
20606
|
+
}
|
|
20607
|
+
EventsComponent.prototype.getEvents = function (data) {
|
|
20608
|
+
var _this = this;
|
|
20609
|
+
return data.map(function (item) {
|
|
20610
|
+
var event = Object.assign({}, item);
|
|
20611
|
+
if (!event.color && _this.color) {
|
|
20612
|
+
event.color = _this.color;
|
|
20613
|
+
}
|
|
20614
|
+
return event;
|
|
20615
|
+
});
|
|
20616
|
+
};
|
|
20617
|
+
return EventsComponent;
|
|
20618
|
+
}(CalendarEventsChild));
|
|
20619
|
+
exports.ɵej.decorators = [
|
|
20620
|
+
{ type: i0.Component, args: [{
|
|
20621
|
+
selector: 'sc-calendar-events',
|
|
20622
|
+
template: "",
|
|
20623
|
+
styles: [""]
|
|
20624
|
+
},] }
|
|
20625
|
+
];
|
|
20626
|
+
exports.ɵej.ctorParameters = function () { return [
|
|
20627
|
+
{ type: exports.ɵeg }
|
|
20628
|
+
]; };
|
|
20629
|
+
__decorate([
|
|
20630
|
+
bbjWidgetBase.Property('颜色', {
|
|
20631
|
+
ui: {
|
|
20632
|
+
widget: 'myColor',
|
|
20633
|
+
},
|
|
20634
|
+
}),
|
|
20635
|
+
__metadata("design:type", String)
|
|
20636
|
+
], exports.ɵej.prototype, "color", void 0);
|
|
20637
|
+
__decorate([
|
|
20638
|
+
bbjWidgetBase.Data({
|
|
20639
|
+
properties: {
|
|
20640
|
+
id: ɵ0$f,
|
|
20641
|
+
start: { type: 'string', title: '开始日期' },
|
|
20642
|
+
end: { type: 'string', title: '结束日期' },
|
|
20643
|
+
title: { type: 'string', title: '标题' },
|
|
20644
|
+
color: { type: 'string', title: '颜色' },
|
|
20645
|
+
},
|
|
20646
|
+
}),
|
|
20647
|
+
__metadata("design:type", Array)
|
|
20648
|
+
], exports.ɵej.prototype, "data", void 0);
|
|
20649
|
+
__decorate([
|
|
20650
|
+
bbjWidgetBase.DataOutput(['id', 'title']),
|
|
20651
|
+
__metadata("design:type", Object)
|
|
20652
|
+
], exports.ɵej.prototype, "dataClick", void 0);
|
|
20653
|
+
exports.ɵej = __decorate([
|
|
20654
|
+
bbjWidgetBase.Widget('事件', { hidden: true }),
|
|
20655
|
+
__metadata("design:paramtypes", [exports.ɵeg])
|
|
20656
|
+
], exports.ɵej);
|
|
20657
|
+
|
|
20372
20658
|
var CalendarModule = /** @class */ (function () {
|
|
20373
20659
|
function CalendarModule(widgetService) {
|
|
20374
20660
|
angular$1.FullCalendarModule.registerPlugins([
|
|
@@ -20377,12 +20663,14 @@
|
|
|
20377
20663
|
interactionPlugin__default['default'],
|
|
20378
20664
|
]);
|
|
20379
20665
|
widgetService.register(exports.ɵeg);
|
|
20666
|
+
widgetService.register(exports.ɵej);
|
|
20667
|
+
widgetService.register(exports.ɵeh);
|
|
20380
20668
|
}
|
|
20381
20669
|
return CalendarModule;
|
|
20382
20670
|
}());
|
|
20383
20671
|
CalendarModule.decorators = [
|
|
20384
20672
|
{ type: i0.NgModule, args: [{
|
|
20385
|
-
declarations: [exports.ɵeg],
|
|
20673
|
+
declarations: [exports.ɵeg, exports.ɵeh, exports.ɵej],
|
|
20386
20674
|
imports: [common.CommonModule, bbjWidgetBase.WidgetBaseModule, angular$1.FullCalendarModule],
|
|
20387
20675
|
},] }
|
|
20388
20676
|
];
|
|
@@ -20513,7 +20801,7 @@
|
|
|
20513
20801
|
{ type: bbjWidgetBase.WidgetService }
|
|
20514
20802
|
]; };
|
|
20515
20803
|
|
|
20516
|
-
exports.ɵ
|
|
20804
|
+
exports.ɵel = /** @class */ (function () {
|
|
20517
20805
|
function GanttComponent(ele) {
|
|
20518
20806
|
this.ele = ele;
|
|
20519
20807
|
this.contentRenderers = new Map();
|
|
@@ -20672,27 +20960,27 @@
|
|
|
20672
20960
|
};
|
|
20673
20961
|
return GanttComponent;
|
|
20674
20962
|
}());
|
|
20675
|
-
exports.ɵ
|
|
20963
|
+
exports.ɵel.decorators = [
|
|
20676
20964
|
{ type: i0.Component, args: [{
|
|
20677
20965
|
selector: 'sc-gantt',
|
|
20678
20966
|
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",
|
|
20679
20967
|
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)}"]
|
|
20680
20968
|
},] }
|
|
20681
20969
|
];
|
|
20682
|
-
exports.ɵ
|
|
20970
|
+
exports.ɵel.ctorParameters = function () { return [
|
|
20683
20971
|
{ type: i0.ElementRef }
|
|
20684
20972
|
]; };
|
|
20685
|
-
exports.ɵ
|
|
20973
|
+
exports.ɵel.propDecorators = {
|
|
20686
20974
|
eventContent: [{ type: i0.ViewChild, args: ['fcEventContent', { static: true },] }]
|
|
20687
20975
|
};
|
|
20688
20976
|
__decorate([
|
|
20689
20977
|
bbjWidgetBase.Property('头部名称', { type: 'string' }),
|
|
20690
20978
|
__metadata("design:type", Object)
|
|
20691
|
-
], exports.ɵ
|
|
20979
|
+
], exports.ɵel.prototype, "headerContent", void 0);
|
|
20692
20980
|
__decorate([
|
|
20693
20981
|
bbjWidgetBase.Property('项目字体', { ui: { widget: 'myFont' } }),
|
|
20694
20982
|
__metadata("design:type", Object)
|
|
20695
|
-
], exports.ɵ
|
|
20983
|
+
], exports.ɵel.prototype, "contentFont", void 0);
|
|
20696
20984
|
__decorate([
|
|
20697
20985
|
bbjWidgetBase.Property('系列颜色', {
|
|
20698
20986
|
ui: {
|
|
@@ -20701,19 +20989,19 @@
|
|
|
20701
20989
|
},
|
|
20702
20990
|
}),
|
|
20703
20991
|
__metadata("design:type", Object)
|
|
20704
|
-
], exports.ɵ
|
|
20992
|
+
], exports.ɵel.prototype, "lineColor", void 0);
|
|
20705
20993
|
__decorate([
|
|
20706
20994
|
bbjWidgetBase.Property('进度透明', { type: 'number', max: 1 }),
|
|
20707
20995
|
__metadata("design:type", Object)
|
|
20708
|
-
], exports.ɵ
|
|
20996
|
+
], exports.ɵel.prototype, "progressTransparency", void 0);
|
|
20709
20997
|
__decorate([
|
|
20710
20998
|
bbjWidgetBase.Property('区域占比', { type: 'number' }),
|
|
20711
20999
|
__metadata("design:type", Object)
|
|
20712
|
-
], exports.ɵ
|
|
21000
|
+
], exports.ɵel.prototype, "areaRate", void 0);
|
|
20713
21001
|
__decorate([
|
|
20714
21002
|
bbjWidgetBase.Property('进度条高度', { type: 'number' }),
|
|
20715
21003
|
__metadata("design:type", Object)
|
|
20716
|
-
], exports.ɵ
|
|
21004
|
+
], exports.ɵel.prototype, "progressHeight", void 0);
|
|
20717
21005
|
__decorate([
|
|
20718
21006
|
bbjWidgetBase.Data({
|
|
20719
21007
|
properties: {
|
|
@@ -20725,11 +21013,11 @@
|
|
|
20725
21013
|
},
|
|
20726
21014
|
}),
|
|
20727
21015
|
__metadata("design:type", Array)
|
|
20728
|
-
], exports.ɵ
|
|
20729
|
-
exports.ɵ
|
|
21016
|
+
], exports.ɵel.prototype, "data", void 0);
|
|
21017
|
+
exports.ɵel = __decorate([
|
|
20730
21018
|
bbjWidgetBase.Widget('甘特图', { group: 'component', image: 'assets/img/screen/gantt.png', icon: 'iconmokuai' }),
|
|
20731
21019
|
__metadata("design:paramtypes", [i0.ElementRef])
|
|
20732
|
-
], exports.ɵ
|
|
21020
|
+
], exports.ɵel);
|
|
20733
21021
|
|
|
20734
21022
|
// import {FormsModule} from '@angular/forms';
|
|
20735
21023
|
// import {NzDatePickerModule} from 'ng-zorro-antd/date-picker';
|
|
@@ -20742,13 +21030,13 @@
|
|
|
20742
21030
|
interactionPlugin__default['default'],
|
|
20743
21031
|
resourceTimelinePlugin__default['default'],
|
|
20744
21032
|
]);
|
|
20745
|
-
widgetService.register(exports.ɵ
|
|
21033
|
+
widgetService.register(exports.ɵel);
|
|
20746
21034
|
}
|
|
20747
21035
|
return GanttModule;
|
|
20748
21036
|
}());
|
|
20749
21037
|
GanttModule.decorators = [
|
|
20750
21038
|
{ type: i0.NgModule, args: [{
|
|
20751
|
-
declarations: [exports.ɵ
|
|
21039
|
+
declarations: [exports.ɵel],
|
|
20752
21040
|
imports: [
|
|
20753
21041
|
common.CommonModule,
|
|
20754
21042
|
bbjWidgetBase.WidgetBaseModule,
|
|
@@ -21383,7 +21671,8 @@
|
|
|
21383
21671
|
exports.ɵea = AnnouncementModule;
|
|
21384
21672
|
exports.ɵec = TabsModule;
|
|
21385
21673
|
exports.ɵef = CalendarModule;
|
|
21386
|
-
exports.ɵ
|
|
21674
|
+
exports.ɵei = CalendarEventsChild;
|
|
21675
|
+
exports.ɵek = GanttModule;
|
|
21387
21676
|
exports.ɵo = ButtonModule;
|
|
21388
21677
|
exports.ɵq = HttpService;
|
|
21389
21678
|
exports.ɵr = TimerModule;
|