@colijnit/extendedcomponents 12.0.2 → 12.0.3
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 +121 -4
- package/bundles/colijnit-extendedcomponents.umd.js.map +1 -1
- package/esm2015/lib/components/stacked-line-chart/co-stacked-line-chart.component.js +105 -0
- package/esm2015/lib/components/stacked-line-chart/co-stacked-line-chart.module.js +26 -0
- package/esm2015/lib/components/stacked-line-chart/model/co-stacked-line-chart-options.js +2 -0
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-extendedcomponents.js +126 -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 +8 -0
- package/lib/components/stacked-line-chart/model/co-stacked-line-chart-options.d.ts +4 -0
- package/package.json +1 -1
- 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('echarts/core'), require('echarts/components'), require('echarts/charts'), require('echarts/features'), require('echarts/renderers')) :
|
|
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', 'echarts/core', 'echarts/components', 'echarts/charts', 'echarts/features', 'echarts/renderers'], 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.echarts, global.components, global.charts, global.features, global.renderers));
|
|
5
|
+
})(this, (function (exports, i0, common, i1, i1$1, forms, i1$2, rxjs, i1$3, echarts, components, charts, features, renderers) { '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 echarts__namespace = /*#__PURE__*/_interopNamespace(echarts);
|
|
30
31
|
|
|
31
32
|
var CoKanbanComponent = /** @class */ (function () {
|
|
32
33
|
function CoKanbanComponent() {
|
|
@@ -1281,6 +1282,120 @@
|
|
|
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 = 600;
|
|
1291
|
+
this.chartOptions = {
|
|
1292
|
+
title: {},
|
|
1293
|
+
tooltip: {
|
|
1294
|
+
trigger: 'axis'
|
|
1295
|
+
},
|
|
1296
|
+
legend: {},
|
|
1297
|
+
grid: {
|
|
1298
|
+
left: '3%',
|
|
1299
|
+
right: '4%',
|
|
1300
|
+
bottom: '3%',
|
|
1301
|
+
containLabel: true
|
|
1302
|
+
},
|
|
1303
|
+
toolbox: {
|
|
1304
|
+
feature: {
|
|
1305
|
+
saveAsImage: {}
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
xAxis: {},
|
|
1309
|
+
yAxis: {
|
|
1310
|
+
type: 'value'
|
|
1311
|
+
},
|
|
1312
|
+
series: {}
|
|
1313
|
+
};
|
|
1314
|
+
}
|
|
1315
|
+
StackedLineChartComponent.prototype.showClass = function () {
|
|
1316
|
+
return true;
|
|
1317
|
+
};
|
|
1318
|
+
StackedLineChartComponent.prototype.ngOnInit = function () {
|
|
1319
|
+
echarts__namespace.use([
|
|
1320
|
+
components.TitleComponent,
|
|
1321
|
+
components.ToolboxComponent,
|
|
1322
|
+
components.TooltipComponent,
|
|
1323
|
+
components.GridComponent,
|
|
1324
|
+
components.LegendComponent,
|
|
1325
|
+
charts.LineChart,
|
|
1326
|
+
renderers.CanvasRenderer,
|
|
1327
|
+
features.UniversalTransition
|
|
1328
|
+
]);
|
|
1329
|
+
var chartDom = document.getElementById('chart-container');
|
|
1330
|
+
var myChart = echarts__namespace.init(chartDom, undefined, {
|
|
1331
|
+
width: this.chartWidth,
|
|
1332
|
+
height: this.chartHeight
|
|
1333
|
+
});
|
|
1334
|
+
this.chartOptions.title['text'] = this.chartName;
|
|
1335
|
+
this.chartOptions.series = this.chartData;
|
|
1336
|
+
this.chartOptions.xAxis = {
|
|
1337
|
+
type: 'category',
|
|
1338
|
+
boundaryGap: false,
|
|
1339
|
+
data: this.chartXAxis
|
|
1340
|
+
};
|
|
1341
|
+
this.chartOptions.legend['data'] = this.chartLegend;
|
|
1342
|
+
this.chartOptions && myChart.setOption(this.chartOptions);
|
|
1343
|
+
};
|
|
1344
|
+
return StackedLineChartComponent;
|
|
1345
|
+
}());
|
|
1346
|
+
StackedLineChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1347
|
+
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 id=\"chart-container\" class=\"component-wrapper\">\n </div>\n\n ", isInline: true, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1348
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartComponent, decorators: [{
|
|
1349
|
+
type: i0.Component,
|
|
1350
|
+
args: [{
|
|
1351
|
+
selector: "co-stacked-line-chart",
|
|
1352
|
+
template: "\n\n <div id=\"chart-container\" class=\"component-wrapper\">\n </div>\n\n ",
|
|
1353
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1354
|
+
}]
|
|
1355
|
+
}], propDecorators: { showClass: [{
|
|
1356
|
+
type: i0.HostBinding,
|
|
1357
|
+
args: ["class.co-co-stacked-line-chart"]
|
|
1358
|
+
}], chartName: [{
|
|
1359
|
+
type: i0.Input
|
|
1360
|
+
}], chartData: [{
|
|
1361
|
+
type: i0.Input
|
|
1362
|
+
}], chartLegend: [{
|
|
1363
|
+
type: i0.Input
|
|
1364
|
+
}], chartXAxis: [{
|
|
1365
|
+
type: i0.Input
|
|
1366
|
+
}], chartHeight: [{
|
|
1367
|
+
type: i0.Input
|
|
1368
|
+
}], chartWidth: [{
|
|
1369
|
+
type: i0.Input
|
|
1370
|
+
}], chartOptions: [{
|
|
1371
|
+
type: i0.Input
|
|
1372
|
+
}] } });
|
|
1373
|
+
|
|
1374
|
+
var StackedLineChartModule = /** @class */ (function () {
|
|
1375
|
+
function StackedLineChartModule() {
|
|
1376
|
+
}
|
|
1377
|
+
return StackedLineChartModule;
|
|
1378
|
+
}());
|
|
1379
|
+
StackedLineChartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1380
|
+
StackedLineChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartModule, declarations: [StackedLineChartComponent], imports: [common.CommonModule], exports: [StackedLineChartComponent] });
|
|
1381
|
+
StackedLineChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartModule, imports: [[
|
|
1382
|
+
common.CommonModule
|
|
1383
|
+
]] });
|
|
1384
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StackedLineChartModule, decorators: [{
|
|
1385
|
+
type: i0.NgModule,
|
|
1386
|
+
args: [{
|
|
1387
|
+
imports: [
|
|
1388
|
+
common.CommonModule
|
|
1389
|
+
],
|
|
1390
|
+
declarations: [
|
|
1391
|
+
StackedLineChartComponent
|
|
1392
|
+
],
|
|
1393
|
+
exports: [
|
|
1394
|
+
StackedLineChartComponent
|
|
1395
|
+
]
|
|
1396
|
+
}]
|
|
1397
|
+
}] });
|
|
1398
|
+
|
|
1284
1399
|
// The localization service, providing peers with text translation functionality.
|
|
1285
1400
|
var DictionaryService = /** @class */ (function () {
|
|
1286
1401
|
function DictionaryService() {
|
|
@@ -1413,6 +1528,8 @@
|
|
|
1413
1528
|
exports.CoScheduleModule = CoScheduleModule;
|
|
1414
1529
|
exports.ExtendedComponentsTranslationModule = ExtendedComponentsTranslationModule;
|
|
1415
1530
|
exports.ExtendedComponentsTranslationService = ExtendedComponentsTranslationService;
|
|
1531
|
+
exports.StackedLineChartComponent = StackedLineChartComponent;
|
|
1532
|
+
exports.StackedLineChartModule = StackedLineChartModule;
|
|
1416
1533
|
|
|
1417
1534
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1418
1535
|
|