@colijnit/extendedcomponents 12.0.2 → 12.0.4
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/bundles/colijnit-extendedcomponents.umd.js +112 -4
- package/bundles/colijnit-extendedcomponents.umd.js.map +1 -1
- package/esm2015/lib/components/stacked-line-chart/co-stacked-line-chart.component.js +88 -0
- package/esm2015/lib/components/stacked-line-chart/co-stacked-line-chart.module.js +34 -0
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-extendedcomponents.js +116 -1
- package/fesm2015/colijnit-extendedcomponents.js.map +1 -1
- package/lib/components/stacked-line-chart/co-stacked-line-chart.component.d.ts +16 -0
- package/lib/components/stacked-line-chart/co-stacked-line-chart.module.d.ts +9 -0
- package/package.json +4 -2
- package/public-api.d.ts +2 -0
- /package/lib/components/{co-stacked-line-chart → stacked-line-chart}/style/_layout.scss +0 -0
- /package/lib/components/{co-stacked-line-chart → stacked-line-chart}/style/_material-definition.scss +0 -0
- /package/lib/components/{co-stacked-line-chart → stacked-line-chart}/style/_theme.scss +0 -0
- /package/lib/components/{co-stacked-line-chart → stacked-line-chart}/style/material.scss +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@syncfusion/ej2-angular-kanban'), require('@syncfusion/ej2-angular-schedule'), require('@angular/forms'), require('@syncfusion/ej2-angular-grids'), require('rxjs'), require('@syncfusion/ej2-angular-pivotview')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@colijnit/extendedcomponents', ['exports', '@angular/core', '@angular/common', '@syncfusion/ej2-angular-kanban', '@syncfusion/ej2-angular-schedule', '@angular/forms', '@syncfusion/ej2-angular-grids', 'rxjs', '@syncfusion/ej2-angular-pivotview'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.extendedcomponents = {}), global.ng.core, global.ng.common, global.i1, global.i1$1, global.ng.forms, global.i1$2, global.rxjs, global.i1$3));
|
|
5
|
-
})(this, (function (exports, i0, common, i1, i1$1, forms, i1$2, rxjs, i1$3) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@syncfusion/ej2-angular-kanban'), require('@syncfusion/ej2-angular-schedule'), require('@angular/forms'), require('@syncfusion/ej2-angular-grids'), require('rxjs'), require('@syncfusion/ej2-angular-pivotview'), require('ngx-echarts')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@colijnit/extendedcomponents', ['exports', '@angular/core', '@angular/common', '@syncfusion/ej2-angular-kanban', '@syncfusion/ej2-angular-schedule', '@angular/forms', '@syncfusion/ej2-angular-grids', 'rxjs', '@syncfusion/ej2-angular-pivotview', 'ngx-echarts'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.extendedcomponents = {}), global.ng.core, global.ng.common, global.i1, global.i1$1, global.ng.forms, global.i1$2, global.rxjs, global.i1$3, global.i1$4));
|
|
5
|
+
})(this, (function (exports, i0, common, i1, i1$1, forms, i1$2, rxjs, i1$3, i1$4) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
28
28
|
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
29
29
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
30
|
+
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
30
31
|
|
|
31
32
|
var CoKanbanComponent = /** @class */ (function () {
|
|
32
33
|
function CoKanbanComponent() {
|
|
@@ -1281,6 +1282,111 @@
|
|
|
1281
1282
|
}]
|
|
1282
1283
|
}] });
|
|
1283
1284
|
|
|
1285
|
+
var StackedLineChartComponent = /** @class */ (function () {
|
|
1286
|
+
function StackedLineChartComponent() {
|
|
1287
|
+
this.chartData = [];
|
|
1288
|
+
this.chartLegend = [];
|
|
1289
|
+
this.chartXAxis = [];
|
|
1290
|
+
this.chartHeight = "auto";
|
|
1291
|
+
this.chartWidth = "auto";
|
|
1292
|
+
this.chartOptions = {
|
|
1293
|
+
title: {},
|
|
1294
|
+
tooltip: {
|
|
1295
|
+
trigger: 'axis'
|
|
1296
|
+
},
|
|
1297
|
+
legend: {},
|
|
1298
|
+
grid: {
|
|
1299
|
+
left: '3%',
|
|
1300
|
+
right: '4%',
|
|
1301
|
+
bottom: '3%',
|
|
1302
|
+
containLabel: true
|
|
1303
|
+
},
|
|
1304
|
+
toolbox: {
|
|
1305
|
+
feature: {
|
|
1306
|
+
saveAsImage: {}
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
xAxis: {},
|
|
1310
|
+
yAxis: {
|
|
1311
|
+
type: 'value'
|
|
1312
|
+
},
|
|
1313
|
+
series: {}
|
|
1314
|
+
};
|
|
1315
|
+
}
|
|
1316
|
+
StackedLineChartComponent.prototype.showClass = function () {
|
|
1317
|
+
return true;
|
|
1318
|
+
};
|
|
1319
|
+
StackedLineChartComponent.prototype.ngOnInit = function () {
|
|
1320
|
+
this.chartOptions.title['text'] = this.chartName;
|
|
1321
|
+
this.chartOptions.series = this.chartData;
|
|
1322
|
+
this.chartOptions.xAxis = {
|
|
1323
|
+
type: 'category',
|
|
1324
|
+
boundaryGap: false,
|
|
1325
|
+
data: this.chartXAxis
|
|
1326
|
+
};
|
|
1327
|
+
this.chartOptions.legend['data'] = this.chartLegend;
|
|
1328
|
+
};
|
|
1329
|
+
return StackedLineChartComponent;
|
|
1330
|
+
}());
|
|
1331
|
+
StackedLineChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1332
|
+
StackedLineChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: StackedLineChartComponent, selector: "co-stacked-line-chart", inputs: { chartName: "chartName", chartData: "chartData", chartLegend: "chartLegend", chartXAxis: "chartXAxis", chartHeight: "chartHeight", chartWidth: "chartWidth", chartOptions: "chartOptions" }, host: { properties: { "class.co-co-stacked-line-chart": "this.showClass" } }, ngImport: i0__namespace, template: "\n\n <div echarts [options]=\"chartOptions\" [initOpts]=\"{\n width: chartWidth,\n height: chartHeight}\" class=\"chart\"></div>\n\n ", isInline: true, directives: [{ type: i1__namespace$4.NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["autoResize", "loadingType", "options", "theme", "loading", "initOpts", "merge", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartPieSelectChanged", "chartPieSelected", "chartPieUnselected", "chartMapSelectChanged", "chartMapSelected", "chartMapUnselected", "chartAxisAreaSelected", "chartFocusNodeAdjacency", "chartUnfocusNodeAdjacency", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartRendered", "chartFinished"], exportAs: ["echarts"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1333
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartComponent, decorators: [{
|
|
1334
|
+
type: i0.Component,
|
|
1335
|
+
args: [{
|
|
1336
|
+
selector: "co-stacked-line-chart",
|
|
1337
|
+
template: "\n\n <div echarts [options]=\"chartOptions\" [initOpts]=\"{\n width: chartWidth,\n height: chartHeight}\" class=\"chart\"></div>\n\n ",
|
|
1338
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1339
|
+
}]
|
|
1340
|
+
}], propDecorators: { showClass: [{
|
|
1341
|
+
type: i0.HostBinding,
|
|
1342
|
+
args: ["class.co-co-stacked-line-chart"]
|
|
1343
|
+
}], chartName: [{
|
|
1344
|
+
type: i0.Input
|
|
1345
|
+
}], chartData: [{
|
|
1346
|
+
type: i0.Input
|
|
1347
|
+
}], chartLegend: [{
|
|
1348
|
+
type: i0.Input
|
|
1349
|
+
}], chartXAxis: [{
|
|
1350
|
+
type: i0.Input
|
|
1351
|
+
}], chartHeight: [{
|
|
1352
|
+
type: i0.Input
|
|
1353
|
+
}], chartWidth: [{
|
|
1354
|
+
type: i0.Input
|
|
1355
|
+
}], chartOptions: [{
|
|
1356
|
+
type: i0.Input
|
|
1357
|
+
}] } });
|
|
1358
|
+
|
|
1359
|
+
var StackedLineChartModule = /** @class */ (function () {
|
|
1360
|
+
function StackedLineChartModule() {
|
|
1361
|
+
}
|
|
1362
|
+
return StackedLineChartModule;
|
|
1363
|
+
}());
|
|
1364
|
+
StackedLineChartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1365
|
+
StackedLineChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartModule, declarations: [StackedLineChartComponent], imports: [common.CommonModule, i1__namespace$4.NgxEchartsModule], exports: [StackedLineChartComponent] });
|
|
1366
|
+
StackedLineChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartModule, imports: [[
|
|
1367
|
+
common.CommonModule,
|
|
1368
|
+
i1$4.NgxEchartsModule.forRoot({
|
|
1369
|
+
echarts: function () { return import('echarts'); }
|
|
1370
|
+
})
|
|
1371
|
+
]] });
|
|
1372
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartModule, decorators: [{
|
|
1373
|
+
type: i0.NgModule,
|
|
1374
|
+
args: [{
|
|
1375
|
+
imports: [
|
|
1376
|
+
common.CommonModule,
|
|
1377
|
+
i1$4.NgxEchartsModule.forRoot({
|
|
1378
|
+
echarts: function () { return import('echarts'); }
|
|
1379
|
+
})
|
|
1380
|
+
],
|
|
1381
|
+
declarations: [
|
|
1382
|
+
StackedLineChartComponent
|
|
1383
|
+
],
|
|
1384
|
+
exports: [
|
|
1385
|
+
StackedLineChartComponent
|
|
1386
|
+
]
|
|
1387
|
+
}]
|
|
1388
|
+
}] });
|
|
1389
|
+
|
|
1284
1390
|
// The localization service, providing peers with text translation functionality.
|
|
1285
1391
|
var DictionaryService = /** @class */ (function () {
|
|
1286
1392
|
function DictionaryService() {
|
|
@@ -1413,6 +1519,8 @@
|
|
|
1413
1519
|
exports.CoScheduleModule = CoScheduleModule;
|
|
1414
1520
|
exports.ExtendedComponentsTranslationModule = ExtendedComponentsTranslationModule;
|
|
1415
1521
|
exports.ExtendedComponentsTranslationService = ExtendedComponentsTranslationService;
|
|
1522
|
+
exports.StackedLineChartComponent = StackedLineChartComponent;
|
|
1523
|
+
exports.StackedLineChartModule = StackedLineChartModule;
|
|
1416
1524
|
|
|
1417
1525
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1418
1526
|
|