@sme.up/ketchup 8.2.2 → 8.3.0
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-76a75669.js → f-button-797c8e7f.js} +2 -2
- package/dist/cjs/{f-cell-6f902849.js → f-cell-5aca736b.js} +8 -6
- package/dist/cjs/{f-checkbox-aa34efd5.js → f-checkbox-cff77b2c.js} +1 -1
- package/dist/cjs/{f-chip-fe9cffed.js → f-chip-318863df.js} +3 -3
- package/dist/cjs/{f-image-47976ad7.js → f-image-f10144e9.js} +2 -2
- package/dist/cjs/{f-paginator-utils-f13f036f.js → f-paginator-utils-8c44a37b.js} +3 -3
- package/dist/cjs/{f-text-field-865a6386.js → f-text-field-96f4f03d.js} +2 -2
- package/dist/cjs/{index-dd9f2b9b.js → index-a9a3b467.js} +3 -0
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +11 -9
- 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 +129 -3
- 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-695bbbe3.js → kup-manager-7747decd.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 +1 -1
- package/dist/collection/assets/echart.js +248 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +2 -0
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +2 -0
- package/dist/collection/components/kup-echart/kup-echart.js +125 -1
- package/dist/collection/f-components/f-cell/f-cell.js +2 -0
- package/dist/components/kup-autocomplete2.js +4 -0
- package/dist/components/kup-echart2.js +127 -1
- package/dist/esm/{f-button-c5b36ae1.js → f-button-e0e6f65f.js} +2 -2
- package/dist/esm/{f-cell-fbfe9fe0.js → f-cell-7a9e92ac.js} +8 -6
- package/dist/esm/{f-checkbox-11b32f83.js → f-checkbox-91358c27.js} +1 -1
- package/dist/esm/{f-chip-038e9404.js → f-chip-0fd043b4.js} +3 -3
- package/dist/esm/{f-image-c356f4c5.js → f-image-b853b0cc.js} +2 -2
- package/dist/esm/{f-paginator-utils-58466d55.js → f-paginator-utils-124c146a.js} +3 -3
- package/dist/esm/{f-text-field-98905f74.js → f-text-field-4687b4bb.js} +2 -2
- package/dist/esm/{index-b45996ce.js → index-bb15ce14.js} +3 -1
- package/dist/esm/ketchup.js +2 -2
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_27.entry.js +11 -9
- 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 +129 -3
- 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-74e46edc.js → kup-manager-1e6ea451.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 +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-e16c04d8.js → p-016c9680.js} +1 -1
- package/dist/ketchup/{p-487f4a33.entry.js → p-0a849208.entry.js} +2 -2
- package/dist/ketchup/{p-ffbd77d5.js → p-1ca9aece.js} +1 -1
- package/dist/ketchup/p-2ac2c05e.js +1 -0
- package/dist/ketchup/{p-efd07a7f.entry.js → p-2ff2ed18.entry.js} +1 -1
- package/dist/ketchup/{p-d5491e4f.js → p-349d4715.js} +1 -1
- package/dist/ketchup/{p-f023195c.entry.js → p-374f867e.entry.js} +1 -1
- package/dist/ketchup/{p-2ac7d95a.entry.js → p-41c00681.entry.js} +1 -1
- package/dist/ketchup/{p-c3e84081.entry.js → p-42c5ed76.entry.js} +1 -1
- package/dist/ketchup/{p-a9151ee8.entry.js → p-4b694c4d.entry.js} +1 -1
- package/dist/ketchup/{p-dfab37a3.entry.js → p-620faa59.entry.js} +1 -1
- package/dist/ketchup/{p-59919641.entry.js → p-6837f725.entry.js} +1 -1
- package/dist/ketchup/{p-46daf529.js → p-6d46cbb0.js} +1 -1
- package/dist/ketchup/{p-8d992de0.entry.js → p-6e79b764.entry.js} +1 -1
- package/dist/ketchup/{p-f1da8b9c.entry.js → p-75b4942d.entry.js} +1 -1
- package/dist/ketchup/{p-b813af24.entry.js → p-818a4a09.entry.js} +1 -1
- package/dist/ketchup/{p-bb93aa7e.entry.js → p-85d6bb1f.entry.js} +1 -1
- package/dist/ketchup/{p-e9d2a964.entry.js → p-a3d41b3f.entry.js} +4 -4
- package/dist/ketchup/{p-73ab15cd.entry.js → p-ad919f87.entry.js} +1 -1
- package/dist/ketchup/{p-1f5eb8e6.entry.js → p-adad6804.entry.js} +1 -1
- package/dist/ketchup/{p-cd1f9e76.entry.js → p-adebe276.entry.js} +1 -1
- package/dist/ketchup/{p-3da7e4c6.js → p-b5deb573.js} +2 -2
- package/dist/ketchup/{p-008cde2a.entry.js → p-b73b3b52.entry.js} +1 -1
- package/dist/ketchup/{p-a015c95b.entry.js → p-ba0c4019.entry.js} +1 -1
- package/dist/ketchup/{p-0d533d24.entry.js → p-c1b10c9c.entry.js} +1 -1
- package/dist/ketchup/{p-26765429.entry.js → p-cf24193b.entry.js} +1 -1
- package/dist/ketchup/{p-6efda31f.entry.js → p-d6d241f0.entry.js} +1 -1
- package/dist/ketchup/p-ec89493e.entry.js +1 -0
- package/dist/ketchup/{p-c20c4f66.js → p-f84c574d.js} +1 -1
- package/dist/ketchup/{p-78eaa526.js → p-fb29ba2a.js} +1 -1
- package/dist/ketchup/{p-90576709.js → p-fd1323da.js} +1 -1
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +3 -1
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +2 -0
- package/package.json +1 -1
- package/dist/ketchup/p-2cc57793.entry.js +0 -1
- package/dist/ketchup/p-9c7b9ff2.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-a9a3b467.js');
|
|
4
4
|
const fButtonDeclarations = require('./f-button-declarations-76b4fb4c.js');
|
|
5
|
-
const fImage = require('./f-image-
|
|
5
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
6
6
|
|
|
7
7
|
/*-------------------------------------------------*/
|
|
8
8
|
/* C o m p o n e n t */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kupManager = require('./kup-manager-
|
|
4
|
-
const index = require('./index-
|
|
5
|
-
const fCheckbox = require('./f-checkbox-
|
|
6
|
-
const fTextField = require('./f-text-field-
|
|
7
|
-
const fImage = require('./f-image-
|
|
8
|
-
const fChip = require('./f-chip-
|
|
3
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
4
|
+
const index = require('./index-a9a3b467.js');
|
|
5
|
+
const fCheckbox = require('./f-checkbox-cff77b2c.js');
|
|
6
|
+
const fTextField = require('./f-text-field-96f4f03d.js');
|
|
7
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
8
|
+
const fChip = require('./f-chip-318863df.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Props of the kup-list component.
|
|
@@ -382,6 +382,8 @@ function setKupCell(cellType, classObj, subcomponentProps, cell, row, column, pr
|
|
|
382
382
|
classObj[kupManager.FCellClasses.C_CENTERED] = true;
|
|
383
383
|
}
|
|
384
384
|
return (index.h("kup-chart", Object.assign({ key: column.name + props.row.id }, subcomponentProps)));
|
|
385
|
+
case kupManager.FCellTypes.MULTI_AUTOCOMPLETE:
|
|
386
|
+
case kupManager.FCellTypes.MULTI_COMBOBOX:
|
|
385
387
|
case kupManager.FCellTypes.CHIP:
|
|
386
388
|
return index.h(fChip.FChip, Object.assign({}, subcomponentProps));
|
|
387
389
|
case kupManager.FCellTypes.COLOR_PICKER:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const fImage = require('./f-image-
|
|
5
|
-
const kupManager = require('./kup-manager-
|
|
3
|
+
const index = require('./index-a9a3b467.js');
|
|
4
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
5
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Types of the f-chip component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
3
|
+
const index = require('./index-a9a3b467.js');
|
|
4
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The type of a CSS step in CSS-drawing mode.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kupManager = require('./kup-manager-
|
|
4
|
-
const index = require('./index-
|
|
5
|
-
const fButton = require('./f-button-
|
|
3
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
4
|
+
const index = require('./index-a9a3b467.js');
|
|
5
|
+
const fButton = require('./f-button-797c8e7f.js');
|
|
6
6
|
const fButtonDeclarations = require('./f-button-declarations-76b4fb4c.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
3
|
+
const index = require('./index-a9a3b467.js');
|
|
4
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
5
5
|
|
|
6
6
|
const dom = document.documentElement;
|
|
7
7
|
/*-------------------------------------------------*/
|
|
@@ -1772,6 +1772,8 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1772
1772
|
const styles = /*@__PURE__*/ new Map();
|
|
1773
1773
|
const win = typeof window !== 'undefined' ? window : {};
|
|
1774
1774
|
const doc = win.document || { head: {} };
|
|
1775
|
+
const H = (win.HTMLElement || class {
|
|
1776
|
+
});
|
|
1775
1777
|
const plt = {
|
|
1776
1778
|
$flags$: 0,
|
|
1777
1779
|
$resourcesUrl$: '',
|
|
@@ -1834,6 +1836,7 @@ const flush = () => {
|
|
|
1834
1836
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1835
1837
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1836
1838
|
|
|
1839
|
+
exports.H = H;
|
|
1837
1840
|
exports.Host = Host;
|
|
1838
1841
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1839
1842
|
exports.createEvent = createEvent;
|
package/dist/cjs/ketchup.cjs.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const fImage = require('./f-image-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
9
9
|
const component = require('./component-2c7ddef7.js');
|
|
10
10
|
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const fTextField = require('./f-text-field-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
|
+
const fTextField = require('./f-text-field-96f4f03d.js');
|
|
8
8
|
const fTextFieldMdc = require('./f-text-field-mdc-d38d80b5.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
9
|
+
const fCell = require('./f-cell-5aca736b.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
11
|
-
const fImage = require('./f-image-
|
|
12
|
-
const fButton = require('./f-button-
|
|
11
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
12
|
+
const fButton = require('./f-button-797c8e7f.js');
|
|
13
13
|
const fButtonDeclarations = require('./f-button-declarations-76b4fb4c.js');
|
|
14
|
-
const fChip = require('./f-chip-
|
|
14
|
+
const fChip = require('./f-chip-318863df.js');
|
|
15
15
|
const component = require('./component-2c7ddef7.js');
|
|
16
|
-
const fCheckbox = require('./f-checkbox-
|
|
17
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
16
|
+
const fCheckbox = require('./f-checkbox-cff77b2c.js');
|
|
17
|
+
const fPaginatorUtils = require('./f-paginator-utils-8c44a37b.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Props of the kup-autocomplete component.
|
|
@@ -9250,6 +9250,8 @@ const KupDataTable = class {
|
|
|
9250
9250
|
for (let index = 0; index < this.data.columns.length; index++) {
|
|
9251
9251
|
const column = this.data.columns[index];
|
|
9252
9252
|
cells[column.name] = {
|
|
9253
|
+
data: column.cellData,
|
|
9254
|
+
slotData: column.cellSlotData,
|
|
9253
9255
|
isEditable: column.isKey ||
|
|
9254
9256
|
column.isEditable,
|
|
9255
9257
|
obj: Object.assign({}, column.obj),
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
|
+
const fPaginatorUtils = require('./f-paginator-utils-8c44a37b.js');
|
|
8
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
9
|
+
const fChip = require('./f-chip-318863df.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-5aca736b.js');
|
|
12
12
|
const fTextFieldMdc = require('./f-text-field-mdc-d38d80b5.js');
|
|
13
|
-
require('./f-button-
|
|
13
|
+
require('./f-button-797c8e7f.js');
|
|
14
14
|
require('./f-button-declarations-76b4fb4c.js');
|
|
15
|
-
require('./f-checkbox-
|
|
16
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-checkbox-cff77b2c.js');
|
|
16
|
+
require('./f-text-field-96f4f03d.js');
|
|
17
17
|
require('./component-2c7ddef7.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -424,7 +424,7 @@ const KupBox = class {
|
|
|
424
424
|
}
|
|
425
425
|
// event listeners
|
|
426
426
|
onBoxClick({ target }, row) {
|
|
427
|
-
if (!(target instanceof
|
|
427
|
+
if (!(target instanceof index.H)) {
|
|
428
428
|
return;
|
|
429
429
|
}
|
|
430
430
|
// searching parent
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index$4 = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index$4 = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
8
|
+
const fButton = require('./f-button-797c8e7f.js');
|
|
9
|
+
const fChip = require('./f-chip-318863df.js');
|
|
10
10
|
require('./f-button-declarations-76b4fb4c.js');
|
|
11
|
-
require('./f-image-
|
|
11
|
+
require('./f-image-f10144e9.js');
|
|
12
12
|
|
|
13
13
|
var n,l$1,u$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
|
|
14
14
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
|
-
const fCell = require('./f-cell-
|
|
9
|
-
require('./f-checkbox-
|
|
10
|
-
require('./f-text-field-
|
|
11
|
-
require('./f-image-
|
|
12
|
-
require('./f-chip-
|
|
8
|
+
const fCell = require('./f-cell-5aca736b.js');
|
|
9
|
+
require('./f-checkbox-cff77b2c.js');
|
|
10
|
+
require('./f-text-field-96f4f03d.js');
|
|
11
|
+
require('./f-image-f10144e9.js');
|
|
12
|
+
require('./f-chip-318863df.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Props of the kup-cell component.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
|
|
8
8
|
const kupDashListCss = ".horizontal{display:inline-block;min-width:300px;max-width:100%;overflow:visible;white-space:nowrap;border:solid;border-width:1px;margin:2px}";
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
8
|
|
|
9
9
|
const kupDashCss = "#dash{color:var(--kup-text-color);font-size:2vw;display:flex;align-items:center;justify-content:center;position:relative;text-align:center;position:relative;word-break:normal}#dash.with-dyn{cursor:pointer}#dash #content .icon{margin:auto;font-size:90%}#dash #content.layout-1,#dash #content.layout-3{text-align:center}#dash #content.layout-1 .descr,#dash #content.layout-3 .descr{font-size:70%;width:100%}#dash #content.layout-1 .value,#dash #content.layout-3 .value{font-size:220%}#dash #content.layout-2>div{display:flex}#dash #content.layout-2>div .icon{margin:auto;font-size:150%;margin-right:5%}#dash #content.layout-2>div .value-int{font-size:250%}#dash #content.layout-2>div .value-dec,#dash #content.layout-2>div .unit{font-size:130%;margin-top:auto;margin-bottom:7%}#dash #content.layout-2>div .value-dec{margin-left:2%}#dash #content.layout-2>div .unit{margin-left:4%}#dash #content.layout-4>div{display:grid;grid-template-columns:2fr 5fr}#dash #content.layout-4>div .icon{margin:auto;font-size:150%;margin-right:5%}#dash #content.layout-4>div .value-and-unit{display:flex}#dash #content.layout-4>div .value-and-unit .value-int{font-size:250%}#dash #content.layout-4>div .value-and-unit .value-dec,#dash #content.layout-4>div .value-and-unit .unit{font-size:130%;margin-top:auto;margin-bottom:7%}#dash #content.layout-4>div .value-and-unit .value-dec{margin-left:2%}#dash #content.layout-4>div .value-and-unit .unit{margin-left:4%}#dash #content.layout-4>div .descr{margin-left:4%;text-align:left;font-size:80%;width:100%;min-width:max-content}#dash #content.layout-5>div,#dash #content.layout-7>div{display:flex}#dash #content.layout-5>div .icon,#dash #content.layout-7>div .icon{font-size:150%;margin:auto;margin-left:10%}#dash #content.layout-5>div .value,#dash #content.layout-7>div .value{font-size:200%}#dash #content.layout-5>div .descr,#dash #content.layout-7>div .descr{text-align:right;font-size:65%;width:100%;min-width:max-content}#dash #content.layout-6>div{display:flex;justify-content:space-between}#dash #content.layout-6>div .icon{font-size:150%;margin-right:10%}#dash #content.layout-6>div .value{font-size:220%;text-align:right}#dash #content.layout-6>div .descr{font-size:80%;text-align:right;width:100%;min-width:max-content}#dash #content.layout-8>div{display:flex;align-items:center}#dash #content.layout-8>div .icon{margin-right:4%;font-size:75%}#dash #content.layout-8>div .value{margin:0 10%;font-size:250%}#dash #content.layout-8>div .descr{font-size:60%;text-align:left}";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const fButton = require('./f-button-
|
|
7
|
-
const fCheckbox = require('./f-checkbox-
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const fButton = require('./f-button-797c8e7f.js');
|
|
7
|
+
const fCheckbox = require('./f-checkbox-cff77b2c.js');
|
|
8
|
+
const fTextField = require('./f-text-field-96f4f03d.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-d38d80b5.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
12
12
|
require('./f-button-declarations-76b4fb4c.js');
|
|
13
|
-
require('./f-image-
|
|
13
|
+
require('./f-image-f10144e9.js');
|
|
14
14
|
require('./component-2c7ddef7.js');
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
8
|
|
|
9
9
|
const drawerClass = 'drawer';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
8
|
|
|
9
9
|
/*! *****************************************************************************
|
|
@@ -93860,6 +93860,8 @@ var KupEchartTypes;
|
|
|
93860
93860
|
KupEchartTypes["RADAR"] = "Radar";
|
|
93861
93861
|
KupEchartTypes["BUBBLE"] = "Bubble";
|
|
93862
93862
|
KupEchartTypes["SANKEY"] = "Sankey";
|
|
93863
|
+
KupEchartTypes["CANDLE"] = "Candle";
|
|
93864
|
+
KupEchartTypes["CALENDAR"] = "Calendar";
|
|
93863
93865
|
})(KupEchartTypes || (KupEchartTypes = {}));
|
|
93864
93866
|
|
|
93865
93867
|
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}";
|
|
@@ -93880,7 +93882,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
93880
93882
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
93881
93883
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
93882
93884
|
};
|
|
93883
|
-
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;
|
|
93885
|
+
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_candleChart, _KupEchart_calendarChart, _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;
|
|
93884
93886
|
const KupEchart = class {
|
|
93885
93887
|
constructor(hostRef) {
|
|
93886
93888
|
index.registerInstance(this, hostRef);
|
|
@@ -94058,6 +94060,13 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94058
94060
|
case KupEchartTypes.SANKEY:
|
|
94059
94061
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_sankeyChart).call(this);
|
|
94060
94062
|
break;
|
|
94063
|
+
case KupEchartTypes.CANDLE:
|
|
94064
|
+
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_candleChart).call(this);
|
|
94065
|
+
break;
|
|
94066
|
+
case KupEchartTypes.CALENDAR:
|
|
94067
|
+
console.log('virtual 0');
|
|
94068
|
+
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_calendarChart).call(this);
|
|
94069
|
+
break;
|
|
94061
94070
|
default:
|
|
94062
94071
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setOptions).call(this);
|
|
94063
94072
|
break;
|
|
@@ -94307,6 +94316,123 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94307
94316
|
left: '10%',
|
|
94308
94317
|
},
|
|
94309
94318
|
};
|
|
94319
|
+
}, _KupEchart_candleChart = function _KupEchart_candleChart() {
|
|
94320
|
+
const y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this), answer = [], itemStyle = {
|
|
94321
|
+
color: 'red',
|
|
94322
|
+
borderColor: 'red',
|
|
94323
|
+
color0: 'green',
|
|
94324
|
+
borderColor0: 'green',
|
|
94325
|
+
};
|
|
94326
|
+
let caseInsensitiveObj = new Proxy(y, {
|
|
94327
|
+
get: function (target, prop) {
|
|
94328
|
+
// Convert the property name to lowercase
|
|
94329
|
+
const lowercaseProp = prop.toLowerCase();
|
|
94330
|
+
// Search for the property case-insensitively
|
|
94331
|
+
for (let key in target) {
|
|
94332
|
+
if (key.toLowerCase() === lowercaseProp) {
|
|
94333
|
+
return target[key];
|
|
94334
|
+
}
|
|
94335
|
+
}
|
|
94336
|
+
// Property not found, return undefined
|
|
94337
|
+
return undefined;
|
|
94338
|
+
},
|
|
94339
|
+
});
|
|
94340
|
+
const date = caseInsensitiveObj['date'];
|
|
94341
|
+
for (let i = 0; i < caseInsensitiveObj['Open'].length; i++) {
|
|
94342
|
+
answer.push([
|
|
94343
|
+
parseInt(caseInsensitiveObj['close'][i]),
|
|
94344
|
+
parseInt(caseInsensitiveObj['Open'][i]),
|
|
94345
|
+
parseInt(caseInsensitiveObj['Low'][i]),
|
|
94346
|
+
parseInt(caseInsensitiveObj['High'][i]),
|
|
94347
|
+
]);
|
|
94348
|
+
}
|
|
94349
|
+
let legend = {};
|
|
94350
|
+
date.forEach((e, i) => {
|
|
94351
|
+
legend[e] = i;
|
|
94352
|
+
});
|
|
94353
|
+
return {
|
|
94354
|
+
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, legend),
|
|
94355
|
+
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item' }),
|
|
94356
|
+
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
94357
|
+
xAxis: {
|
|
94358
|
+
data: date,
|
|
94359
|
+
},
|
|
94360
|
+
yAxis: {},
|
|
94361
|
+
series: [
|
|
94362
|
+
{
|
|
94363
|
+
type: 'candlestick',
|
|
94364
|
+
data: answer,
|
|
94365
|
+
itemStyle: itemStyle,
|
|
94366
|
+
},
|
|
94367
|
+
],
|
|
94368
|
+
};
|
|
94369
|
+
}, _KupEchart_calendarChart = function _KupEchart_calendarChart() {
|
|
94370
|
+
const y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this);
|
|
94371
|
+
let caseInsensitiveObj = new Proxy(y, {
|
|
94372
|
+
get: function (target, prop) {
|
|
94373
|
+
// Convert the property name to lowercase
|
|
94374
|
+
const lowercaseProp = prop.toLowerCase();
|
|
94375
|
+
// Search for the property case-insensitively
|
|
94376
|
+
for (let key in target) {
|
|
94377
|
+
if (key.toLowerCase() === lowercaseProp) {
|
|
94378
|
+
return target[key];
|
|
94379
|
+
}
|
|
94380
|
+
}
|
|
94381
|
+
// Property not found, return undefined
|
|
94382
|
+
return undefined;
|
|
94383
|
+
},
|
|
94384
|
+
});
|
|
94385
|
+
const date = caseInsensitiveObj['Date'], answer = [], keys = Object.keys(y), year = new Date(date[0]).getFullYear(), arrayLength = date.length;
|
|
94386
|
+
date.forEach((element, i) => {
|
|
94387
|
+
answer.push([element, caseInsensitiveObj['Value'][i]]);
|
|
94388
|
+
});
|
|
94389
|
+
return {
|
|
94390
|
+
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (value) => {
|
|
94391
|
+
const name = value.data;
|
|
94392
|
+
console.log('data', name);
|
|
94393
|
+
const data = keys.map((e, i) => {
|
|
94394
|
+
return `<li> ${e}: ${name[i]} </li>`;
|
|
94395
|
+
});
|
|
94396
|
+
let showContent = '';
|
|
94397
|
+
data.forEach((r) => {
|
|
94398
|
+
showContent += r;
|
|
94399
|
+
});
|
|
94400
|
+
return `<ul>${showContent}</ul> `;
|
|
94401
|
+
} }),
|
|
94402
|
+
gradientColor: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, arrayLength),
|
|
94403
|
+
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
94404
|
+
visualMap: {
|
|
94405
|
+
show: false,
|
|
94406
|
+
min: 0,
|
|
94407
|
+
max: 10000,
|
|
94408
|
+
},
|
|
94409
|
+
calendar: {
|
|
94410
|
+
range: year,
|
|
94411
|
+
itemStyle: {
|
|
94412
|
+
color: __classPrivateFieldGet(this, _KupEchart_themeBackground, "f"),
|
|
94413
|
+
},
|
|
94414
|
+
dayLabel: {
|
|
94415
|
+
color: __classPrivateFieldGet(this, _KupEchart_themeText, "f"),
|
|
94416
|
+
},
|
|
94417
|
+
yearLabel: {
|
|
94418
|
+
color: __classPrivateFieldGet(this, _KupEchart_themeText, "f"),
|
|
94419
|
+
},
|
|
94420
|
+
monthLabel: {
|
|
94421
|
+
color: __classPrivateFieldGet(this, _KupEchart_themeText, "f"),
|
|
94422
|
+
},
|
|
94423
|
+
splitLine: {
|
|
94424
|
+
show: true,
|
|
94425
|
+
lineStyle: {
|
|
94426
|
+
color: __classPrivateFieldGet(this, _KupEchart_themeText, "f"),
|
|
94427
|
+
},
|
|
94428
|
+
},
|
|
94429
|
+
},
|
|
94430
|
+
series: {
|
|
94431
|
+
type: 'heatmap',
|
|
94432
|
+
coordinateSystem: 'calendar',
|
|
94433
|
+
data: answer,
|
|
94434
|
+
},
|
|
94435
|
+
};
|
|
94310
94436
|
}, _KupEchart_createX = function _KupEchart_createX(dataset = null) {
|
|
94311
94437
|
const x = [];
|
|
94312
94438
|
if (!dataset)
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const fButton = require('./f-button-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const fButton = require('./f-button-797c8e7f.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76b4fb4c.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const kupManager = require('./kup-manager-
|
|
8
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
9
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props of the kup-iframe component.
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fButton = require('./f-button-
|
|
8
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
9
|
+
const fButton = require('./f-button-797c8e7f.js');
|
|
10
10
|
const fButtonDeclarations = require('./f-button-declarations-76b4fb4c.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-5aca736b.js');
|
|
12
12
|
const component = require('./component-2c7ddef7.js');
|
|
13
|
-
require('./f-checkbox-
|
|
14
|
-
require('./f-text-field-
|
|
15
|
-
require('./f-chip-
|
|
13
|
+
require('./f-checkbox-cff77b2c.js');
|
|
14
|
+
require('./f-text-field-96f4f03d.js');
|
|
15
|
+
require('./f-chip-318863df.js');
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Props of the kup-image-list component.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76b4fb4c.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
8
|
+
const fImage = require('./f-image-f10144e9.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
8
|
|
|
9
9
|
const navbarClass = 'nav-bar';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-a9a3b467.js');
|
|
6
|
+
const kupManager = require('./kup-manager-7747decd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-96f4f03d.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-d38d80b5.js');
|
|
10
10
|
require('./component-2c7ddef7.js');
|
|
11
11
|
|