@sme.up/ketchup 8.2.0 → 8.2.1
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/dist/cjs/{f-button-797c8e7f.js → f-button-76a75669.js} +2 -2
- package/dist/cjs/{f-cell-9c8ed48b.js → f-cell-a440d744.js} +7 -7
- package/dist/cjs/{f-checkbox-cff77b2c.js → f-checkbox-aa34efd5.js} +1 -1
- package/dist/cjs/{f-chip-318863df.js → f-chip-fe9cffed.js} +3 -3
- package/dist/cjs/{f-image-f10144e9.js → f-image-47976ad7.js} +2 -2
- package/dist/cjs/{f-paginator-utils-8c44a37b.js → f-paginator-utils-f13f036f.js} +3 -3
- package/dist/cjs/{f-text-field-9610c198.js → f-text-field-3868b623.js} +3 -3
- package/dist/cjs/{index-a9a3b467.js → index-dd9f2b9b.js} +0 -3
- package/dist/cjs/ketchup.cjs.js +2 -2
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +13 -10
- package/dist/cjs/kup-box.cjs.entry.js +10 -10
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
- package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +57 -17
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/{kup-manager-7747decd.js → kup-manager-695bbbe3.js} +1 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/data-table.js +0 -44
- package/dist/collection/assets/echart.js +146 -4
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +1 -0
- package/dist/collection/components/kup-echart/kup-echart.js +54 -15
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +23 -0
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
- package/dist/components/kup-autocomplete2.js +7 -3
- package/dist/components/kup-echart2.js +55 -15
- package/dist/esm/{f-button-e0e6f65f.js → f-button-c5b36ae1.js} +2 -2
- package/dist/esm/{f-cell-359dfe28.js → f-cell-d48502f1.js} +7 -7
- package/dist/esm/{f-checkbox-91358c27.js → f-checkbox-11b32f83.js} +1 -1
- package/dist/esm/{f-chip-0fd043b4.js → f-chip-038e9404.js} +3 -3
- package/dist/esm/{f-image-b853b0cc.js → f-image-c356f4c5.js} +2 -2
- package/dist/esm/{f-paginator-utils-124c146a.js → f-paginator-utils-58466d55.js} +3 -3
- package/dist/esm/{f-text-field-92bb3a1f.js → f-text-field-7e2b397b.js} +3 -3
- package/dist/esm/{index-bb15ce14.js → index-b45996ce.js} +1 -3
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_27.entry.js +13 -10
- package/dist/esm/kup-box.entry.js +10 -10
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-dash-list.entry.js +2 -2
- package/dist/esm/kup-dash_2.entry.js +2 -2
- package/dist/esm/kup-dashboard.entry.js +6 -6
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +57 -17
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +8 -8
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-1e6ea451.js → kup-manager-74e46edc.js} +1 -1
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-b73b3b52.entry.js → p-008cde2a.entry.js} +1 -1
- package/dist/ketchup/{p-c1b10c9c.entry.js → p-0d533d24.entry.js} +1 -1
- package/dist/ketchup/{p-adad6804.entry.js → p-1f5eb8e6.entry.js} +1 -1
- package/dist/ketchup/{p-cf24193b.entry.js → p-26765429.entry.js} +1 -1
- package/dist/ketchup/{p-e646523d.js → p-279eab92.js} +1 -1
- package/dist/ketchup/{p-41c00681.entry.js → p-2ac7d95a.entry.js} +1 -1
- package/dist/ketchup/{p-b5deb573.js → p-3da7e4c6.js} +2 -2
- package/dist/ketchup/{p-6d46cbb0.js → p-46daf529.js} +1 -1
- package/dist/ketchup/{p-6837f725.entry.js → p-59919641.entry.js} +1 -1
- package/dist/ketchup/{p-c28be862.entry.js → p-70a6ab77.entry.js} +1 -1
- package/dist/ketchup/p-71f202aa.entry.js +1 -0
- package/dist/ketchup/{p-ad919f87.entry.js → p-73ab15cd.entry.js} +1 -1
- package/dist/ketchup/{p-fb29ba2a.js → p-78eaa526.js} +1 -1
- package/dist/ketchup/{p-6e79b764.entry.js → p-8d992de0.entry.js} +1 -1
- package/dist/ketchup/{p-fd1323da.js → p-90576709.js} +1 -1
- package/dist/ketchup/p-9c7b9ff2.js +1 -0
- package/dist/ketchup/p-9cc4dd44.js +1 -0
- package/dist/ketchup/{p-ba0c4019.entry.js → p-a015c95b.entry.js} +1 -1
- package/dist/ketchup/{p-1cd5785e.entry.js → p-ad9b5c06.entry.js} +2 -2
- package/dist/ketchup/{p-81e20baa.entry.js → p-afbd769b.entry.js} +1 -1
- package/dist/ketchup/{p-818a4a09.entry.js → p-b813af24.entry.js} +1 -1
- package/dist/ketchup/{p-85d6bb1f.entry.js → p-bb93aa7e.entry.js} +1 -1
- package/dist/ketchup/{p-8c1804d7.entry.js → p-c1c49123.entry.js} +1 -1
- package/dist/ketchup/{p-adebe276.entry.js → p-cd1f9e76.entry.js} +1 -1
- package/dist/ketchup/{p-349d4715.js → p-d5491e4f.js} +1 -1
- package/dist/ketchup/{p-5dbd4402.entry.js → p-da0db0a5.entry.js} +1 -1
- package/dist/ketchup/{p-620faa59.entry.js → p-dfab37a3.entry.js} +1 -1
- package/dist/ketchup/{p-c010483d.entry.js → p-e28a3dfb.entry.js} +1 -1
- package/dist/ketchup/{p-c6088459.entry.js → p-e9d2a964.entry.js} +2 -2
- package/dist/ketchup/{p-374f867e.entry.js → p-f023195c.entry.js} +1 -1
- package/dist/ketchup/{p-1ca9aece.js → p-ffbd77d5.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +2 -1
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +1 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components.d.ts +10 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ketchup/p-0143e942.js +0 -1
- package/dist/ketchup/p-2ac2c05e.js +0 -1
- package/dist/ketchup/p-e8977116.entry.js +0 -1
|
@@ -6,6 +6,7 @@ const echart5 = document.getElementById('gaussian2chart');
|
|
|
6
6
|
const echart6 = document.getElementById('funnelChart');
|
|
7
7
|
const echart7 = document.getElementById('radarChart');
|
|
8
8
|
const echart8 = document.getElementById('bubbleChart');
|
|
9
|
+
const echart9 = document.getElementById('sankeyChart');
|
|
9
10
|
|
|
10
11
|
const mockData = {
|
|
11
12
|
columns: [
|
|
@@ -790,10 +791,9 @@ echart7.data = {
|
|
|
790
791
|
],
|
|
791
792
|
};
|
|
792
793
|
|
|
793
|
-
|
|
794
794
|
echart8.consistencyCheck = true;
|
|
795
795
|
echart8.types = ['Bubble'];
|
|
796
|
-
echart8.colors =
|
|
796
|
+
echart8.colors = ['blue'];
|
|
797
797
|
echart8.axis = '';
|
|
798
798
|
echart8.chartTitle = {
|
|
799
799
|
value: 'Bubble',
|
|
@@ -822,7 +822,7 @@ echart8.data = {
|
|
|
822
822
|
{
|
|
823
823
|
name: 'YEAR',
|
|
824
824
|
title: 'Year',
|
|
825
|
-
}
|
|
825
|
+
},
|
|
826
826
|
],
|
|
827
827
|
rows: [
|
|
828
828
|
{
|
|
@@ -961,8 +961,150 @@ echart8.data = {
|
|
|
961
961
|
},
|
|
962
962
|
},
|
|
963
963
|
},
|
|
964
|
-
]
|
|
964
|
+
],
|
|
965
|
+
};
|
|
965
966
|
|
|
967
|
+
echart9.consistencyCheck = true;
|
|
968
|
+
echart9.types = ['Sankey'];
|
|
969
|
+
echart9.colors = ['blue'];
|
|
970
|
+
echart9.axis = '';
|
|
971
|
+
echart9.chartTitle = {
|
|
972
|
+
value: 'Sankey',
|
|
973
|
+
color: 'red',
|
|
974
|
+
position: 'top',
|
|
975
|
+
size: 16,
|
|
976
|
+
};
|
|
977
|
+
echart9.data = {
|
|
978
|
+
// actual dataset
|
|
979
|
+
columns: [
|
|
980
|
+
{
|
|
981
|
+
name: 'SOURCE',
|
|
982
|
+
title: 'Source',
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
name: 'TARGET',
|
|
986
|
+
title: 'Target',
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
name: 'VALUE',
|
|
990
|
+
obj: {
|
|
991
|
+
t: 'NR',
|
|
992
|
+
p: '',
|
|
993
|
+
k: '',
|
|
994
|
+
},
|
|
995
|
+
title: 'Value',
|
|
996
|
+
},
|
|
997
|
+
],
|
|
998
|
+
rows: [
|
|
999
|
+
{
|
|
1000
|
+
cells: {
|
|
1001
|
+
SOURCE: {
|
|
1002
|
+
value: 'a',
|
|
1003
|
+
},
|
|
1004
|
+
TARGET: {
|
|
1005
|
+
value: 'a1',
|
|
1006
|
+
},
|
|
1007
|
+
VALUE: {
|
|
1008
|
+
obj: {
|
|
1009
|
+
t: 'NR',
|
|
1010
|
+
p: '',
|
|
1011
|
+
k: '5',
|
|
1012
|
+
},
|
|
1013
|
+
value: '5',
|
|
1014
|
+
},
|
|
1015
|
+
},
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
cells: {
|
|
1019
|
+
SOURCE: {
|
|
1020
|
+
value: 'a',
|
|
1021
|
+
},
|
|
1022
|
+
TARGET: {
|
|
1023
|
+
value: 'a2',
|
|
1024
|
+
},
|
|
1025
|
+
VALUE: {
|
|
1026
|
+
obj: {
|
|
1027
|
+
t: 'NR',
|
|
1028
|
+
p: '',
|
|
1029
|
+
k: '3',
|
|
1030
|
+
},
|
|
1031
|
+
value: '3',
|
|
1032
|
+
},
|
|
1033
|
+
},
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
cells: {
|
|
1037
|
+
SOURCE: {
|
|
1038
|
+
value: 'b',
|
|
1039
|
+
},
|
|
1040
|
+
TARGET: {
|
|
1041
|
+
value: 'b1',
|
|
1042
|
+
},
|
|
1043
|
+
VALUE: {
|
|
1044
|
+
obj: {
|
|
1045
|
+
t: 'NR',
|
|
1046
|
+
p: '',
|
|
1047
|
+
k: '8',
|
|
1048
|
+
},
|
|
1049
|
+
value: '8',
|
|
1050
|
+
},
|
|
1051
|
+
},
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
cells: {
|
|
1055
|
+
SOURCE: {
|
|
1056
|
+
value: 'a',
|
|
1057
|
+
},
|
|
1058
|
+
TARGET: {
|
|
1059
|
+
value: 'b1',
|
|
1060
|
+
},
|
|
1061
|
+
VALUE: {
|
|
1062
|
+
obj: {
|
|
1063
|
+
t: 'NR',
|
|
1064
|
+
p: '',
|
|
1065
|
+
k: '3',
|
|
1066
|
+
},
|
|
1067
|
+
value: '3',
|
|
1068
|
+
},
|
|
1069
|
+
},
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
cells: {
|
|
1073
|
+
SOURCE: {
|
|
1074
|
+
value: 'b1',
|
|
1075
|
+
},
|
|
1076
|
+
TARGET: {
|
|
1077
|
+
value: 'a1',
|
|
1078
|
+
},
|
|
1079
|
+
VALUE: {
|
|
1080
|
+
obj: {
|
|
1081
|
+
t: 'NR',
|
|
1082
|
+
p: '',
|
|
1083
|
+
k: '1',
|
|
1084
|
+
},
|
|
1085
|
+
value: '1',
|
|
1086
|
+
},
|
|
1087
|
+
},
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
cells: {
|
|
1091
|
+
SOURCE: {
|
|
1092
|
+
value: 'b1',
|
|
1093
|
+
},
|
|
1094
|
+
TARGET: {
|
|
1095
|
+
value: 'c',
|
|
1096
|
+
},
|
|
1097
|
+
VALUE: {
|
|
1098
|
+
obj: {
|
|
1099
|
+
t: 'NR',
|
|
1100
|
+
p: '',
|
|
1101
|
+
k: '2',
|
|
1102
|
+
},
|
|
1103
|
+
value: '2',
|
|
1104
|
+
},
|
|
1105
|
+
},
|
|
1106
|
+
},
|
|
1107
|
+
],
|
|
966
1108
|
};
|
|
967
1109
|
|
|
968
1110
|
document.addEventListener('kup-echart-click', (e) => {
|
|
@@ -5,8 +5,8 @@ export class KupDataTableState {
|
|
|
5
5
|
this.expandGroups = false;
|
|
6
6
|
this.groupLabelDisplay = GroupLabelDisplayMode.BOTH;
|
|
7
7
|
this.density = 'small';
|
|
8
|
-
this.enableExtraColumns = true;
|
|
9
8
|
this.enableSortableColumns = false;
|
|
9
|
+
this.enableExtraColumns = true;
|
|
10
10
|
this.forceOneLine = false;
|
|
11
11
|
this.globalFilter = false;
|
|
12
12
|
this.globalFilterValue = '';
|
|
@@ -14,7 +14,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
14
14
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
15
15
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
16
16
|
};
|
|
17
|
-
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
|
|
17
|
+
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_sankeyChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
|
|
18
18
|
import { forceUpdate, getAssetPath, Host, h, } from '@stencil/core';
|
|
19
19
|
import * as echarts from 'echarts';
|
|
20
20
|
import { KupEchartLegendPlacement, KupEchartMaps, KupEchartProps, KupEchartTypes, } from './kup-echart-declarations';
|
|
@@ -655,6 +655,9 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
655
655
|
case KupEchartTypes.BUBBLE:
|
|
656
656
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_bubbleChart).call(this);
|
|
657
657
|
break;
|
|
658
|
+
case KupEchartTypes.SANKEY:
|
|
659
|
+
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_sankeyChart).call(this);
|
|
660
|
+
break;
|
|
658
661
|
default:
|
|
659
662
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setOptions).call(this);
|
|
660
663
|
break;
|
|
@@ -792,13 +795,13 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
792
795
|
}, _KupEchart_bubbleChart = function _KupEchart_bubbleChart() {
|
|
793
796
|
const y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this), data = [], temp = [], legend = {}, series = [];
|
|
794
797
|
let year = [];
|
|
795
|
-
const content = this.data.columns.map(data => data.title);
|
|
798
|
+
const content = this.data.columns.map((data) => data.title);
|
|
796
799
|
if (content && content.length) {
|
|
797
800
|
for (let i = 0; i < y[content[0]].length; i++) {
|
|
798
801
|
const arr = [];
|
|
799
802
|
for (let j = 0; j < content.length; j++) {
|
|
800
803
|
arr.push(y[content[j]][i]);
|
|
801
|
-
// last value always be a year
|
|
804
|
+
// last value always be a year
|
|
802
805
|
if (j === content.length - 1) {
|
|
803
806
|
year.push(y[content[j]][i]);
|
|
804
807
|
}
|
|
@@ -809,7 +812,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
809
812
|
year = [...new Set(year)];
|
|
810
813
|
year.forEach((e, i) => {
|
|
811
814
|
let k = [];
|
|
812
|
-
temp.forEach(data => {
|
|
815
|
+
temp.forEach((data) => {
|
|
813
816
|
if (data.includes(e))
|
|
814
817
|
k.push(data);
|
|
815
818
|
});
|
|
@@ -831,9 +834,9 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
831
834
|
formatter: function (param) {
|
|
832
835
|
return param.data[3];
|
|
833
836
|
},
|
|
834
|
-
position: 'top'
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
+
position: 'top',
|
|
838
|
+
},
|
|
839
|
+
},
|
|
837
840
|
});
|
|
838
841
|
});
|
|
839
842
|
return {
|
|
@@ -845,7 +848,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
845
848
|
return `<li> ${e}: ${name[i]} </li>`;
|
|
846
849
|
});
|
|
847
850
|
let showContent = '';
|
|
848
|
-
data.forEach(r => {
|
|
851
|
+
data.forEach((r) => {
|
|
849
852
|
showContent += r;
|
|
850
853
|
});
|
|
851
854
|
return `<ul>${showContent}</ul> `;
|
|
@@ -853,20 +856,56 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
853
856
|
xAxis: {
|
|
854
857
|
splitLine: {
|
|
855
858
|
lineStyle: {
|
|
856
|
-
type: 'dashed'
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
+
type: 'dashed',
|
|
860
|
+
},
|
|
861
|
+
},
|
|
859
862
|
},
|
|
860
863
|
yAxis: {
|
|
861
864
|
splitLine: {
|
|
862
865
|
lineStyle: {
|
|
863
|
-
type: 'dashed'
|
|
864
|
-
}
|
|
866
|
+
type: 'dashed',
|
|
867
|
+
},
|
|
865
868
|
},
|
|
866
|
-
scale: true
|
|
869
|
+
scale: true,
|
|
867
870
|
},
|
|
868
871
|
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, content.length),
|
|
869
|
-
series: series
|
|
872
|
+
series: series,
|
|
873
|
+
};
|
|
874
|
+
}, _KupEchart_sankeyChart = function _KupEchart_sankeyChart() {
|
|
875
|
+
const links = [], y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this), keys = Object.keys(y);
|
|
876
|
+
// Assuming all arrays in the question object have the same length
|
|
877
|
+
const arrayLength = y[keys[0]].length;
|
|
878
|
+
for (let i = 0; i < arrayLength; i++) {
|
|
879
|
+
const entry = {};
|
|
880
|
+
entry['source'] = y[keys[0]][i];
|
|
881
|
+
entry['target'] = y[keys[1]][i];
|
|
882
|
+
entry['value'] = parseInt(y[keys[2]][i]);
|
|
883
|
+
links.push(entry);
|
|
884
|
+
}
|
|
885
|
+
const data = Array.from(new Set([
|
|
886
|
+
...links.map((link) => link.source),
|
|
887
|
+
...links.map((link) => link.target),
|
|
888
|
+
])).map((name) => ({ name }));
|
|
889
|
+
const legend = {};
|
|
890
|
+
data.forEach((e, i) => {
|
|
891
|
+
legend[e.name] = i;
|
|
892
|
+
});
|
|
893
|
+
return {
|
|
894
|
+
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
895
|
+
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, legend),
|
|
896
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, arrayLength),
|
|
897
|
+
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item' }),
|
|
898
|
+
series: {
|
|
899
|
+
type: 'sankey',
|
|
900
|
+
layout: 'none',
|
|
901
|
+
emphasis: {
|
|
902
|
+
focus: 'adjacency',
|
|
903
|
+
},
|
|
904
|
+
data,
|
|
905
|
+
links,
|
|
906
|
+
right: '10%',
|
|
907
|
+
left: '10%',
|
|
908
|
+
},
|
|
870
909
|
};
|
|
871
910
|
}, _KupEchart_createX = function _KupEchart_createX(dataset = null) {
|
|
872
911
|
const x = [];
|
|
@@ -28,6 +28,7 @@ export var KupTextFieldProps;
|
|
|
28
28
|
KupTextFieldProps["name"] = "The HTML name attribute used for form autocomplete.";
|
|
29
29
|
KupTextFieldProps["outlined"] = "When set to true, the component will be rendered as an outlined field.";
|
|
30
30
|
KupTextFieldProps["readOnly"] = "Sets the component to read only state, making it not editable, but interactable. Used in combobox component when it behaves as a select.";
|
|
31
|
+
KupTextFieldProps["size"] = "The HTML attribute size of the input element.";
|
|
31
32
|
KupTextFieldProps["step"] = "The HTML step of the input element. It has effect only with number input type.";
|
|
32
33
|
KupTextFieldProps["textArea"] = "When set to true, the component will be rendered as a textarea.";
|
|
33
34
|
KupTextFieldProps["trailingIcon"] = "When set, the icon will be shown after the text.";
|
|
@@ -46,6 +46,7 @@ export class KupTextField {
|
|
|
46
46
|
this.name = null;
|
|
47
47
|
this.outlined = false;
|
|
48
48
|
this.readOnly = false;
|
|
49
|
+
this.size = null;
|
|
49
50
|
this.step = null;
|
|
50
51
|
this.textArea = false;
|
|
51
52
|
this.trailingIcon = false;
|
|
@@ -243,6 +244,7 @@ export class KupTextField {
|
|
|
243
244
|
shaped: this.rootElement.classList.contains('kup-shaped')
|
|
244
245
|
? true
|
|
245
246
|
: false,
|
|
247
|
+
size: this.size,
|
|
246
248
|
step: this.step,
|
|
247
249
|
success: this.rootElement.classList.contains('kup-success')
|
|
248
250
|
? true
|
|
@@ -789,6 +791,27 @@ export class KupTextField {
|
|
|
789
791
|
"reflect": false,
|
|
790
792
|
"defaultValue": "false"
|
|
791
793
|
},
|
|
794
|
+
"size": {
|
|
795
|
+
"type": "number",
|
|
796
|
+
"mutable": false,
|
|
797
|
+
"complexType": {
|
|
798
|
+
"original": "number",
|
|
799
|
+
"resolved": "number",
|
|
800
|
+
"references": {}
|
|
801
|
+
},
|
|
802
|
+
"required": false,
|
|
803
|
+
"optional": false,
|
|
804
|
+
"docs": {
|
|
805
|
+
"tags": [{
|
|
806
|
+
"name": "default",
|
|
807
|
+
"text": "null"
|
|
808
|
+
}],
|
|
809
|
+
"text": "The HTML attribute size of the input element."
|
|
810
|
+
},
|
|
811
|
+
"attribute": "size",
|
|
812
|
+
"reflect": false,
|
|
813
|
+
"defaultValue": "null"
|
|
814
|
+
},
|
|
792
815
|
"step": {
|
|
793
816
|
"type": "number",
|
|
794
817
|
"mutable": false,
|
|
@@ -104,7 +104,7 @@ export const FCell = (props, children) => {
|
|
|
104
104
|
}
|
|
105
105
|
return (h("div", { onKeyUp: (e) => cellEvent(e, props, cellType, FCellEvents.KEYUP), class: classObj, "kup-get-cell-props": () => {
|
|
106
106
|
return props;
|
|
107
|
-
}, style: cell.style }, h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
|
|
107
|
+
}, ref: (el) => (cell.element = el), style: cell.style }, h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
|
|
108
108
|
? children
|
|
109
109
|
: [props.indents, infoEl, icon, content])));
|
|
110
110
|
};
|
|
@@ -67,7 +67,7 @@ function setContent(props) {
|
|
|
67
67
|
}
|
|
68
68
|
return (h("div", { class: classObj }, props.textArea && props.maxLength ? (h("div", { class: "mdc-text-field-character-counter" }, "'0 / ' + ", props.maxLength)) : undefined, !props.trailingIcon ? iconEl : undefined, props.textArea ? (h("span", { class: "mdc-text-field__resizer" }, h("textarea", { class: "mdc-text-field__input", disabled: props.disabled, readOnly: props.readOnly, maxlength: props.maxLength, value: value, onBlur: props.onBlur, onClick: props.onClick, onChange: props.onChange, onFocus: props.onFocus, onInput: props.onInput, onKeyDown: props.onKeyDown }))) : (h("input", { inputmode: props.inputMode ? props.inputMode : undefined, type: inputType, step: props.step, min: props.min, max: props.max, name: props.name, class: "mdc-text-field__input", disabled: props.disabled, readOnly: props.readOnly, placeholder: props.fullWidth && !props.outlined
|
|
69
69
|
? props.label
|
|
70
|
-
: undefined, maxlength: props.maxLength, value: value, onBlur: (e) => {
|
|
70
|
+
: undefined, maxlength: props.maxLength, size: props.size, value: value, onBlur: (e) => {
|
|
71
71
|
var _a;
|
|
72
72
|
if (persManageForNumberFormat) {
|
|
73
73
|
const options = {
|
|
@@ -19834,7 +19834,7 @@ function setContent(props) {
|
|
|
19834
19834
|
props.textArea ? (h("span", { class: "mdc-text-field__resizer" },
|
|
19835
19835
|
h("textarea", { class: "mdc-text-field__input", disabled: props.disabled, readOnly: props.readOnly, maxlength: props.maxLength, value: value, onBlur: props.onBlur, onClick: props.onClick, onChange: props.onChange, onFocus: props.onFocus, onInput: props.onInput, onKeyDown: props.onKeyDown }))) : (h("input", { inputmode: props.inputMode ? props.inputMode : undefined, type: inputType, step: props.step, min: props.min, max: props.max, name: props.name, class: "mdc-text-field__input", disabled: props.disabled, readOnly: props.readOnly, placeholder: props.fullWidth && !props.outlined
|
|
19836
19836
|
? props.label
|
|
19837
|
-
: undefined, maxlength: props.maxLength, value: value, onBlur: (e) => {
|
|
19837
|
+
: undefined, maxlength: props.maxLength, size: props.size, value: value, onBlur: (e) => {
|
|
19838
19838
|
var _a;
|
|
19839
19839
|
if (persManageForNumberFormat) {
|
|
19840
19840
|
const options = {
|
|
@@ -23097,7 +23097,7 @@ const FCell = (props, children) => {
|
|
|
23097
23097
|
}
|
|
23098
23098
|
return (h("div", { onKeyUp: (e) => cellEvent(e, props, cellType, FCellEvents.KEYUP), class: classObj, "kup-get-cell-props": () => {
|
|
23099
23099
|
return props;
|
|
23100
|
-
}, style: cell.style },
|
|
23100
|
+
}, ref: (el) => (cell.element = el), style: cell.style },
|
|
23101
23101
|
h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
|
|
23102
23102
|
? children
|
|
23103
23103
|
: [props.indents, infoEl, icon, content])));
|
|
@@ -29172,8 +29172,8 @@ class KupDataTableState {
|
|
|
29172
29172
|
this.expandGroups = false;
|
|
29173
29173
|
this.groupLabelDisplay = GroupLabelDisplayMode.BOTH;
|
|
29174
29174
|
this.density = 'small';
|
|
29175
|
-
this.enableExtraColumns = true;
|
|
29176
29175
|
this.enableSortableColumns = false;
|
|
29176
|
+
this.enableExtraColumns = true;
|
|
29177
29177
|
this.forceOneLine = false;
|
|
29178
29178
|
this.globalFilter = false;
|
|
29179
29179
|
this.globalFilterValue = '';
|
|
@@ -31117,6 +31117,7 @@ var KupTextFieldProps;
|
|
|
31117
31117
|
KupTextFieldProps["name"] = "The HTML name attribute used for form autocomplete.";
|
|
31118
31118
|
KupTextFieldProps["outlined"] = "When set to true, the component will be rendered as an outlined field.";
|
|
31119
31119
|
KupTextFieldProps["readOnly"] = "Sets the component to read only state, making it not editable, but interactable. Used in combobox component when it behaves as a select.";
|
|
31120
|
+
KupTextFieldProps["size"] = "The HTML attribute size of the input element.";
|
|
31120
31121
|
KupTextFieldProps["step"] = "The HTML step of the input element. It has effect only with number input type.";
|
|
31121
31122
|
KupTextFieldProps["textArea"] = "When set to true, the component will be rendered as a textarea.";
|
|
31122
31123
|
KupTextFieldProps["trailingIcon"] = "When set, the icon will be shown after the text.";
|
|
@@ -33445,6 +33446,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class KupTextField extends
|
|
|
33445
33446
|
this.name = null;
|
|
33446
33447
|
this.outlined = false;
|
|
33447
33448
|
this.readOnly = false;
|
|
33449
|
+
this.size = null;
|
|
33448
33450
|
this.step = null;
|
|
33449
33451
|
this.textArea = false;
|
|
33450
33452
|
this.trailingIcon = false;
|
|
@@ -33635,6 +33637,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class KupTextField extends
|
|
|
33635
33637
|
shaped: this.rootElement.classList.contains('kup-shaped')
|
|
33636
33638
|
? true
|
|
33637
33639
|
: false,
|
|
33640
|
+
size: this.size,
|
|
33638
33641
|
step: this.step,
|
|
33639
33642
|
success: this.rootElement.classList.contains('kup-success')
|
|
33640
33643
|
? true
|
|
@@ -33687,6 +33690,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class KupTextField extends
|
|
|
33687
33690
|
"name": [1],
|
|
33688
33691
|
"outlined": [4],
|
|
33689
33692
|
"readOnly": [4, "read-only"],
|
|
33693
|
+
"size": [2],
|
|
33690
33694
|
"step": [2],
|
|
33691
33695
|
"textArea": [4, "text-area"],
|
|
33692
33696
|
"trailingIcon": [4, "trailing-icon"],
|
|
@@ -93854,6 +93854,7 @@ var KupEchartTypes;
|
|
|
93854
93854
|
KupEchartTypes["FUNNEL"] = "Funnel";
|
|
93855
93855
|
KupEchartTypes["RADAR"] = "Radar";
|
|
93856
93856
|
KupEchartTypes["BUBBLE"] = "Bubble";
|
|
93857
|
+
KupEchartTypes["SANKEY"] = "Sankey";
|
|
93857
93858
|
})(KupEchartTypes || (KupEchartTypes = {}));
|
|
93858
93859
|
|
|
93859
93860
|
const kupEchartCss = ":host{display:block;height:var(--kup_echart_height, 100%);min-height:var(--kup_echart_height, 100%);min-width:var(--kup_echart_width, 100%);width:var(--kup_echart_width, 100%)}#kup-component{width:100%;height:100%;position:relative}";
|
|
@@ -93874,7 +93875,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
93874
93875
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
93875
93876
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
93876
93877
|
};
|
|
93877
|
-
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
|
|
93878
|
+
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_sankeyChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
|
|
93878
93879
|
const KupEchart = /*@__PURE__*/ proxyCustomElement(class KupEchart extends HTMLElement {
|
|
93879
93880
|
constructor() {
|
|
93880
93881
|
super();
|
|
@@ -94071,6 +94072,9 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94071
94072
|
case KupEchartTypes.BUBBLE:
|
|
94072
94073
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_bubbleChart).call(this);
|
|
94073
94074
|
break;
|
|
94075
|
+
case KupEchartTypes.SANKEY:
|
|
94076
|
+
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_sankeyChart).call(this);
|
|
94077
|
+
break;
|
|
94074
94078
|
default:
|
|
94075
94079
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setOptions).call(this);
|
|
94076
94080
|
break;
|
|
@@ -94208,13 +94212,13 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94208
94212
|
}, _KupEchart_bubbleChart = function _KupEchart_bubbleChart() {
|
|
94209
94213
|
const y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this), data = [], temp = [], legend = {}, series = [];
|
|
94210
94214
|
let year = [];
|
|
94211
|
-
const content = this.data.columns.map(data => data.title);
|
|
94215
|
+
const content = this.data.columns.map((data) => data.title);
|
|
94212
94216
|
if (content && content.length) {
|
|
94213
94217
|
for (let i = 0; i < y[content[0]].length; i++) {
|
|
94214
94218
|
const arr = [];
|
|
94215
94219
|
for (let j = 0; j < content.length; j++) {
|
|
94216
94220
|
arr.push(y[content[j]][i]);
|
|
94217
|
-
// last value always be a year
|
|
94221
|
+
// last value always be a year
|
|
94218
94222
|
if (j === content.length - 1) {
|
|
94219
94223
|
year.push(y[content[j]][i]);
|
|
94220
94224
|
}
|
|
@@ -94225,7 +94229,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94225
94229
|
year = [...new Set(year)];
|
|
94226
94230
|
year.forEach((e, i) => {
|
|
94227
94231
|
let k = [];
|
|
94228
|
-
temp.forEach(data => {
|
|
94232
|
+
temp.forEach((data) => {
|
|
94229
94233
|
if (data.includes(e))
|
|
94230
94234
|
k.push(data);
|
|
94231
94235
|
});
|
|
@@ -94247,9 +94251,9 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94247
94251
|
formatter: function (param) {
|
|
94248
94252
|
return param.data[3];
|
|
94249
94253
|
},
|
|
94250
|
-
position: 'top'
|
|
94251
|
-
}
|
|
94252
|
-
}
|
|
94254
|
+
position: 'top',
|
|
94255
|
+
},
|
|
94256
|
+
},
|
|
94253
94257
|
});
|
|
94254
94258
|
});
|
|
94255
94259
|
return {
|
|
@@ -94261,7 +94265,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94261
94265
|
return `<li> ${e}: ${name[i]} </li>`;
|
|
94262
94266
|
});
|
|
94263
94267
|
let showContent = '';
|
|
94264
|
-
data.forEach(r => {
|
|
94268
|
+
data.forEach((r) => {
|
|
94265
94269
|
showContent += r;
|
|
94266
94270
|
});
|
|
94267
94271
|
return `<ul>${showContent}</ul> `;
|
|
@@ -94269,20 +94273,56 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94269
94273
|
xAxis: {
|
|
94270
94274
|
splitLine: {
|
|
94271
94275
|
lineStyle: {
|
|
94272
|
-
type: 'dashed'
|
|
94273
|
-
}
|
|
94274
|
-
}
|
|
94276
|
+
type: 'dashed',
|
|
94277
|
+
},
|
|
94278
|
+
},
|
|
94275
94279
|
},
|
|
94276
94280
|
yAxis: {
|
|
94277
94281
|
splitLine: {
|
|
94278
94282
|
lineStyle: {
|
|
94279
|
-
type: 'dashed'
|
|
94280
|
-
}
|
|
94283
|
+
type: 'dashed',
|
|
94284
|
+
},
|
|
94281
94285
|
},
|
|
94282
|
-
scale: true
|
|
94286
|
+
scale: true,
|
|
94283
94287
|
},
|
|
94284
94288
|
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, content.length),
|
|
94285
|
-
series: series
|
|
94289
|
+
series: series,
|
|
94290
|
+
};
|
|
94291
|
+
}, _KupEchart_sankeyChart = function _KupEchart_sankeyChart() {
|
|
94292
|
+
const links = [], y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this), keys = Object.keys(y);
|
|
94293
|
+
// Assuming all arrays in the question object have the same length
|
|
94294
|
+
const arrayLength = y[keys[0]].length;
|
|
94295
|
+
for (let i = 0; i < arrayLength; i++) {
|
|
94296
|
+
const entry = {};
|
|
94297
|
+
entry['source'] = y[keys[0]][i];
|
|
94298
|
+
entry['target'] = y[keys[1]][i];
|
|
94299
|
+
entry['value'] = parseInt(y[keys[2]][i]);
|
|
94300
|
+
links.push(entry);
|
|
94301
|
+
}
|
|
94302
|
+
const data = Array.from(new Set([
|
|
94303
|
+
...links.map((link) => link.source),
|
|
94304
|
+
...links.map((link) => link.target),
|
|
94305
|
+
])).map((name) => ({ name }));
|
|
94306
|
+
const legend = {};
|
|
94307
|
+
data.forEach((e, i) => {
|
|
94308
|
+
legend[e.name] = i;
|
|
94309
|
+
});
|
|
94310
|
+
return {
|
|
94311
|
+
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
94312
|
+
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, legend),
|
|
94313
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, arrayLength),
|
|
94314
|
+
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item' }),
|
|
94315
|
+
series: {
|
|
94316
|
+
type: 'sankey',
|
|
94317
|
+
layout: 'none',
|
|
94318
|
+
emphasis: {
|
|
94319
|
+
focus: 'adjacency',
|
|
94320
|
+
},
|
|
94321
|
+
data,
|
|
94322
|
+
links,
|
|
94323
|
+
right: '10%',
|
|
94324
|
+
left: '10%',
|
|
94325
|
+
},
|
|
94286
94326
|
};
|
|
94287
94327
|
}, _KupEchart_createX = function _KupEchart_createX(dataset = null) {
|
|
94288
94328
|
const x = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h } from './index-
|
|
1
|
+
import { h } from './index-b45996ce.js';
|
|
2
2
|
import { F as FButtonStyling } from './f-button-declarations-fd4965d1.js';
|
|
3
|
-
import { F as FImage } from './f-image-
|
|
3
|
+
import { F as FImage } from './f-image-c356f4c5.js';
|
|
4
4
|
|
|
5
5
|
/*-------------------------------------------------*/
|
|
6
6
|
/* C o m p o n e n t */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a9 as editableTypes, aa as kupTypes, b as KupThemeColorValues, a6 as FCellTypes, ab as KupTagNames, ac as fullWidthFieldsComps, ad as FCellClasses, ae as autoCenterComps, af as getCellValueForDisplay, ag as FCellEvents } from './kup-manager-
|
|
2
|
-
import { h } from './index-
|
|
3
|
-
import { F as FCheckbox } from './f-checkbox-
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
5
|
-
import { F as FImage } from './f-image-
|
|
6
|
-
import { F as FChipType, a as FChip } from './f-chip-
|
|
1
|
+
import { a9 as editableTypes, aa as kupTypes, b as KupThemeColorValues, a6 as FCellTypes, ab as KupTagNames, ac as fullWidthFieldsComps, ad as FCellClasses, ae as autoCenterComps, af as getCellValueForDisplay, ag as FCellEvents } from './kup-manager-74e46edc.js';
|
|
2
|
+
import { h } from './index-b45996ce.js';
|
|
3
|
+
import { F as FCheckbox } from './f-checkbox-11b32f83.js';
|
|
4
|
+
import { F as FTextField } from './f-text-field-7e2b397b.js';
|
|
5
|
+
import { F as FImage } from './f-image-c356f4c5.js';
|
|
6
|
+
import { F as FChipType, a as FChip } from './f-chip-038e9404.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props of the kup-list component.
|
|
@@ -148,7 +148,7 @@ const FCell = (props, children) => {
|
|
|
148
148
|
}
|
|
149
149
|
return (h("div", { onKeyUp: (e) => cellEvent(e, props, cellType, FCellEvents.KEYUP), class: classObj, "kup-get-cell-props": () => {
|
|
150
150
|
return props;
|
|
151
|
-
}, style: cell.style },
|
|
151
|
+
}, ref: (el) => (cell.element = el), style: cell.style },
|
|
152
152
|
h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
|
|
153
153
|
? children
|
|
154
154
|
: [props.indents, infoEl, icon, content])));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import { F as FImage } from './f-image-
|
|
3
|
-
import { K as KupThemeIconValues, m as KupLanguageGeneric, b as KupThemeColorValues } from './kup-manager-
|
|
1
|
+
import { h } from './index-b45996ce.js';
|
|
2
|
+
import { F as FImage } from './f-image-c356f4c5.js';
|
|
3
|
+
import { K as KupThemeIconValues, m as KupLanguageGeneric, b as KupThemeColorValues } from './kup-manager-74e46edc.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Types of the f-chip component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h, a as getAssetPath } from './index-
|
|
2
|
-
import { b as KupThemeColorValues } from './kup-manager-
|
|
1
|
+
import { h, a as getAssetPath } from './index-b45996ce.js';
|
|
2
|
+
import { b as KupThemeColorValues } from './kup-manager-74e46edc.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The type of a CSS step in CSS-drawing mode.
|