@sme.up/ketchup 7.1.1 → 7.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-40953600.js → f-button-5856cd74.js} +2 -2
- package/dist/cjs/{f-cell-e603ae4f.js → f-cell-9d7a9e97.js} +59 -6
- package/dist/cjs/{f-checkbox-1097ca5d.js → f-checkbox-1148e791.js} +1 -1
- package/dist/cjs/{f-chip-01efabde.js → f-chip-675ed121.js} +6 -4
- package/dist/cjs/{f-image-f741cb4c.js → f-image-48facc89.js} +2 -2
- package/dist/cjs/{f-paginator-utils-35a6a848.js → f-paginator-utils-0c1227f6.js} +3 -3
- package/dist/cjs/{f-text-field-60a2f24c.js → f-text-field-3d8e7417.js} +2 -2
- package/dist/cjs/{index-ffdb46f6.js → index-1f177abc.js} +120 -2
- package/dist/cjs/ketchup.cjs.js +10 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/{kup-autocomplete_26.cjs.entry.js → kup-autocomplete_27.cjs.entry.js} +1066 -898
- package/dist/cjs/kup-box.cjs.entry.js +9 -9
- 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 +8 -5
- 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 +89 -16
- 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-6f05ebe1.js → kup-manager-22bb9699.js} +61 -17
- 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-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 +4 -3
- package/dist/collection/assets/card.js +10 -0
- package/dist/collection/assets/data-table.js +44 -0
- package/dist/collection/assets/dialog.js +0 -0
- package/dist/collection/assets/echart.js +146 -0
- package/dist/collection/assets/index.js +4 -0
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -1
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +3 -3
- package/dist/collection/components/kup-card/built-in/kup-card-message-box.js +10 -0
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +12 -0
- package/dist/collection/components/kup-card/kup-card.css +12 -23
- package/dist/collection/components/kup-card/kup-card.js +1 -40
- package/dist/collection/components/kup-chip/kup-chip-declarations.js +2 -0
- package/dist/collection/components/kup-chip/kup-chip.js +122 -4
- package/dist/collection/components/kup-combobox/kup-combobox.js +4 -2
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +6 -3
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +12 -23
- package/dist/collection/components/kup-dialog/kup-dialog-declarations.js +14 -0
- package/dist/collection/components/kup-dialog/kup-dialog.css +65 -0
- package/dist/collection/components/kup-dialog/kup-dialog.js +467 -0
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +1 -0
- package/dist/collection/components/kup-echart/kup-echart.js +86 -14
- package/dist/collection/components/kup-form/kup-form.js +24 -0
- package/dist/collection/components/kup-list/kup-list-helper.js +6 -4
- package/dist/collection/components/kup-list/kup-list.js +0 -6
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +7 -0
- package/dist/collection/f-components/f-cell/f-cell.js +17 -0
- package/dist/collection/f-components/f-chip/f-chip.js +3 -1
- package/dist/collection/managers/kup-data/kup-data.js +4 -0
- package/dist/collection/managers/kup-interact/kup-interact.js +33 -1
- package/dist/collection/managers/kup-manager/kup-manager.js +3 -4
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/components/index.d.ts +9 -50
- package/dist/components/index.js +1 -48
- package/dist/components/kup-accordion.js +18 -13
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-autocomplete2.js +2802 -2492
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box2.js +18 -13
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +18 -13
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +18 -13
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-dash-list.js +26 -18
- package/dist/components/kup-dash2.js +18 -13
- package/dist/components/kup-dashboard.js +18 -13
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.d.ts +11 -0
- package/dist/components/kup-dialog.js +6 -0
- package/dist/components/kup-drawer.js +18 -13
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart2.js +105 -27
- package/dist/components/kup-family-tree.js +20 -15
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid2.js +18 -13
- package/dist/components/kup-iframe.js +18 -13
- package/dist/components/kup-image-list.js +18 -13
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-lazy.js +18 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +20 -15
- package/dist/components/kup-nav-bar.js +18 -13
- package/dist/components/kup-numeric-picker.js +18 -13
- package/dist/components/kup-photo-frame.js +18 -13
- package/dist/components/kup-probe.js +18 -13
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +18 -13
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +18 -13
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/esm/{f-button-9aec1bc5.js → f-button-eedbdba1.js} +2 -2
- package/dist/esm/{f-cell-556937d0.js → f-cell-90a418d2.js} +60 -7
- package/dist/esm/{f-checkbox-b721178e.js → f-checkbox-9b3f5f5b.js} +1 -1
- package/dist/esm/{f-chip-677db32a.js → f-chip-45e7b3f6.js} +6 -4
- package/dist/esm/{f-image-52bb5950.js → f-image-3026f0fe.js} +2 -2
- package/dist/esm/{f-paginator-utils-d472e336.js → f-paginator-utils-6369da7c.js} +3 -3
- package/dist/esm/{f-text-field-88f92118.js → f-text-field-3b70a6f0.js} +2 -2
- package/dist/esm/{index-a2197376.js → index-8bd38435.js} +120 -3
- package/dist/esm/ketchup.js +7 -3
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/{kup-autocomplete_26.entry.js → kup-autocomplete_27.entry.js} +1047 -880
- package/dist/esm/kup-box.entry.js +9 -9
- 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 +8 -5
- 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 +89 -16
- 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-12e99c22.js → kup-manager-cad802b1.js} +62 -18
- 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-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 +4 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-60609877.entry.js → p-138ac8b9.entry.js} +1 -1
- package/dist/ketchup/{p-94290b09.entry.js → p-1ad48de4.entry.js} +1 -1
- package/dist/ketchup/{p-053824eb.entry.js → p-1cd45a72.entry.js} +1 -1
- package/dist/ketchup/{p-ad3e7b2b.entry.js → p-2217be0a.entry.js} +1 -1
- package/dist/ketchup/{p-e094ebb8.entry.js → p-23288eed.entry.js} +1 -1
- package/dist/ketchup/p-263b2c73.entry.js +1 -0
- package/dist/ketchup/{p-c59e6bc7.entry.js → p-2d8b5bba.entry.js} +1 -1
- package/dist/ketchup/p-32dc31ad.js +1 -0
- package/dist/ketchup/p-4505a48d.js +1 -0
- package/dist/ketchup/p-4e68f629.entry.js +1 -0
- package/dist/ketchup/p-5a1387bf.entry.js +9 -0
- package/dist/ketchup/p-70a0bc02.entry.js +1 -0
- package/dist/ketchup/p-73becdb8.entry.js +1 -0
- package/dist/ketchup/p-78b093e3.entry.js +39 -0
- package/dist/ketchup/p-79b0730b.js +1 -1
- package/dist/ketchup/{p-9570ebfa.js → p-7bd28eac.js} +1 -1
- package/dist/ketchup/{p-ce1da4a8.entry.js → p-97afbd71.entry.js} +1 -1
- package/dist/ketchup/p-9dcfbb1e.js +2 -0
- package/dist/ketchup/p-9f1184cd.entry.js +27 -0
- package/dist/ketchup/{p-23cd5a68.js → p-9f9b6656.js} +1 -1
- package/dist/ketchup/{p-4f7302a9.js → p-a1adab40.js} +1 -1
- package/dist/ketchup/p-a7ae0b4d.js +1 -0
- package/dist/ketchup/{p-88adddcf.entry.js → p-a89f0884.entry.js} +1 -1
- package/dist/ketchup/{p-25617855.js → p-ae3e0d31.js} +1 -1
- package/dist/ketchup/{p-ac33139e.entry.js → p-b0675bce.entry.js} +1 -1
- package/dist/ketchup/{p-485883cb.entry.js → p-b1da7902.entry.js} +1 -1
- package/dist/ketchup/p-b63a5a44.js +30 -0
- package/dist/ketchup/{p-f44aba79.entry.js → p-bb6921bc.entry.js} +1 -1
- package/dist/ketchup/{p-3a7a05a7.entry.js → p-c1d8fd43.entry.js} +1 -1
- package/dist/ketchup/p-d0f4457e.entry.js +1 -0
- package/dist/ketchup/p-fe34fa6e.entry.js +1 -0
- package/dist/loader/index.d.ts +9 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +4 -2
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +1 -1
- package/dist/types/components/kup-card/built-in/{kup-card-form.d.ts → kup-card-message-box.d.ts} +1 -1
- package/dist/types/components/kup-card/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +6 -8
- package/dist/types/components/kup-card/kup-card.d.ts +0 -5
- package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +5 -0
- package/dist/types/components/kup-chip/kup-chip.d.ts +16 -1
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -1
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-dialog/kup-dialog-declarations.d.ts +26 -0
- package/dist/types/components/kup-dialog/kup-dialog.d.ts +77 -0
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +2 -1
- package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +1 -1
- package/dist/types/components/kup-form/kup-form.d.ts +6 -1
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +1 -1
- package/dist/types/components.d.ts +193 -11
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +4 -0
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +2 -1
- package/dist/types/managers/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +1 -1
- package/dist/types/managers/kup-interact/kup-interact-declarations.d.ts +2 -2
- package/dist/types/managers/kup-interact/kup-interact.d.ts +11 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +71 -15
- package/dist/types/types/GenericTypes.d.ts +1 -0
- package/dist/types/utils/filters/filters-declarations.d.ts +2 -0
- package/package.json +2 -2
- package/dist/collection/components/kup-card/built-in/kup-card-form.js +0 -11
- package/dist/ketchup/p-1c371df3.entry.js +0 -39
- package/dist/ketchup/p-278188bf.js +0 -1
- package/dist/ketchup/p-4021d751.entry.js +0 -1
- package/dist/ketchup/p-4fdb684f.js +0 -2
- package/dist/ketchup/p-52f19c4f.entry.js +0 -1
- package/dist/ketchup/p-5483f20e.js +0 -30
- package/dist/ketchup/p-584369be.entry.js +0 -1
- package/dist/ketchup/p-6a6c3e69.entry.js +0 -27
- package/dist/ketchup/p-751b5708.js +0 -1
- package/dist/ketchup/p-775e0d34.entry.js +0 -1
- package/dist/ketchup/p-7e013c24.entry.js +0 -1
- package/dist/ketchup/p-85c7a3a4.js +0 -1
- package/dist/ketchup/p-a3c849ae.entry.js +0 -9
- package/dist/ketchup/p-e0135ce0.entry.js +0 -1
|
@@ -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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
7
|
+
const fPaginatorUtils = require('./f-paginator-utils-0c1227f6.js');
|
|
8
|
+
const fImage = require('./f-image-48facc89.js');
|
|
9
|
+
const fChip = require('./f-chip-675ed121.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-9d7a9e97.js');
|
|
12
12
|
const fTextFieldMdc = require('./f-text-field-mdc-85997738.js');
|
|
13
|
-
require('./f-button-
|
|
13
|
+
require('./f-button-5856cd74.js');
|
|
14
14
|
require('./f-button-declarations-b611587f.js');
|
|
15
|
-
require('./f-checkbox-
|
|
16
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-checkbox-1148e791.js');
|
|
16
|
+
require('./f-text-field-3d8e7417.js');
|
|
17
17
|
require('./tslib.es6-0ee02c67.js');
|
|
18
18
|
require('./component-72a5b626.js');
|
|
19
19
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
6
|
const tslib_es6 = require('./tslib.es6-0ee02c67.js');
|
|
7
|
-
const kupManager = require('./kup-manager-
|
|
7
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
9
|
-
const fButton = require('./f-button-
|
|
10
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fButton = require('./f-button-5856cd74.js');
|
|
10
|
+
const fChip = require('./f-chip-675ed121.js');
|
|
11
11
|
require('./f-button-declarations-b611587f.js');
|
|
12
|
-
require('./f-image-
|
|
12
|
+
require('./f-image-48facc89.js');
|
|
13
13
|
|
|
14
14
|
var n,l,u$1,t,o,r$1,f$1,e$1={},c$1=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a$1(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n);}function v$1(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return y(l,f,t,o,null)}function y(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$1:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function p(){return {current:null}}function d(n){return n.children}function _(n,l){this.props=n,this.context=l;}function k(n,l){if(null==l)return n.__?k(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?k(n):null}function b$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 b$1(n)}}function m(n){(!n.__d&&(n.__d=!0)&&t.push(n)&&!g$1.__r++||r$1!==l.debounceRendering)&&((r$1=l.debounceRendering)||o)(g$1);}function g$1(){for(var n;g$1.__r=t.length;)n=t.sort(function(n,l){return n.__v.__b-l.__v.__b}),t=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=a$1({},t)).__v=t.__v+1,j$2(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?k(t):o,t.__h),z$1(u,t),t.__e!=o&&b$1(t)));});}function w$1(n,l,u,i,t,o,r,f,s,a){var h,v,p,_,b,m,g,w=i&&i.__k||c$1,A=w.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(_=u.__k[h]=null==(_=l[h])||"boolean"==typeof _?null:"string"==typeof _||"number"==typeof _||"bigint"==typeof _?y(null,_,null,null,_):Array.isArray(_)?y(d,{children:_},null,null,null):_.__b>0?y(_.type,_.props,_.key,null,_.__v):_)){if(_.__=u,_.__b=u.__b+1,null===(p=w[h])||p&&_.key==p.key&&_.type===p.type)w[h]=void 0;else for(v=0;v<A;v++){if((p=w[v])&&_.key==p.key&&_.type===p.type){w[v]=void 0;break}p=null;}j$2(n,_,p=p||e$1,t,o,r,f,s,a),b=_.__e,(v=_.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,_),g.push(v,_.__c||b,_)),null!=b?(null==m&&(m=b),"function"==typeof _.type&&_.__k===p.__k?_.__d=s=x$1(_,s,n):s=P$1(n,_,p,w,b,s),"function"==typeof u.type&&(u.__d=s)):s&&p.__e==s&&s.parentNode!=n&&(s=k(p));}for(u.__e=m,h=A;h--;)null!=w[h]&&("function"==typeof u.type&&null!=w[h].__e&&w[h].__e==u.__d&&(u.__d=k(i,h+1)),N(w[h],w[h]));if(g)for(h=0;h<g.length;h++)M$1(g[h],g[++h],g[++h]);}function x$1(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?x$1(i,l,u):P$1(u,i,i,t,i.__e,l));return l}function A$1(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){A$1(n,l);}):l.push(n)),l}function P$1(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=2)if(f==t)break n;n.insertBefore(t,o),r=o;}return void 0!==r?r:t.nextSibling}function C$1(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H$1(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H$1(n,o,l[o],u[o],i);}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||s.test(l)?u:u+"px";}function H$1(n,l,u,i,t){var o;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||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T$1:I$1,o):n.removeEventListener(l,o?T$1:I$1,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("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||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function I$1(n){this.l[n.type+!1](l.event?l.event(n):n);}function T$1(n){this.l[n.type+!0](l.event?l.event(n):n);}function j$2(n,u,i,t,o,r,f,e,c){var s,h,v,y,p,k,b,m,g,x,A,P=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(s=l.__b)&&s(u);try{n:if("function"==typeof P){if(m=u.props,g=(s=P.contextType)&&t[s.__c],x=s?g?g.props.value:s.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in P&&P.prototype.render?u.__c=h=new P(m,x):(u.__c=h=new _(m,x),h.constructor=P,h.render=O$1),g&&g.sub(h),h.props=m,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=a$1({},h.__s)),a$1(h.__s,P.getDerivedStateFromProps(m,h.__s))),y=h.props,p=h.state,v)null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==P.getDerivedStateFromProps&&m!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,x)||u.__v===i.__v){h.props=m,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,p,k);});}h.context=x,h.props=m,h.state=h.__s,(s=l.__r)&&s(u),h.__d=!1,h.__v=u,h.__P=n,s=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(t=a$1(a$1({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,p)),A=null!=s&&s.type===d&&null==s.key?s.props.children:s,w$1(n,Array.isArray(A)?A:[A],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L$1(i.__e,u,i,t,o,r,f,c);(s=l.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l.__e(n,u,i);}}function z$1(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l.__e(n,u.__v);}});}function L$1(l,u,i,t,o,r,f,c){var s,a,v,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(o=!0),null!=r)for(;_<r.length;_++)if((s=r[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1;}if(null===d)y===p||c&&l.data===p||(l.data=p);else {if(r=r&&n.call(l.childNodes),a=(y=i.props||e$1).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(v||a)&&(v&&(a&&v.__html==a.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(C$1(l,p,y,o,c),v)u.__k=[];else if(_=u.props.children,w$1(l,Array.isArray(_)?_:[_],u,i,t,o&&"foreignObject"!==d,r,f,r?r[0]:i.__k&&k(i,0),c),null!=r)for(_=r.length;_--;)null!=r[_]&&h(r[_]);c||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&H$1(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&H$1(l,"checked",_,y.checked,!1));}return l}function M$1(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l.__e(n,i);}}function N(n,u,i){var t,o;if(l.unmount&&l.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M$1(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l.__e(n,u);}t.base=t.__P=null;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,"function"!=typeof n.type);i||null==n.__e||h(n.__e),n.__e=n.__d=void 0;}function O$1(n,l,u){return this.constructor(n,u)}function S$1(u,i,t){var o,r,f;l.__&&l.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,f=[],j$2(i,u=(!o&&t||i).__k=v$1(d,null,[u]),r||e$1,e$1,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,f,!o&&t?t:r?r.__e:i.firstChild,o),z$1(f,u);}function D$1(n,l){var u={__c:l="__cC"+f$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(m);},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=c$1.slice,l={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,_.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a$1({},this.state),"function"==typeof n&&(n=n(a$1({},u),this.props)),n&&a$1(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),m(this));},_.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),m(this));},_.prototype.render=d,t=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,g$1.__r=0,f$1=0;
|
|
15
15
|
|
|
@@ -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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.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-9d7a9e97.js');
|
|
9
|
+
require('./f-checkbox-1148e791.js');
|
|
10
|
+
require('./f-text-field-3d8e7417.js');
|
|
11
|
+
require('./f-image-48facc89.js');
|
|
12
|
+
require('./f-chip-675ed121.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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.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
|
|
|
@@ -40,13 +40,16 @@ const KupDashList = class {
|
|
|
40
40
|
let valueInt = '';
|
|
41
41
|
let valueDec = '';
|
|
42
42
|
let iconColor = {
|
|
43
|
-
color: this.iconColor[count]
|
|
43
|
+
color: this.kupManager.theme.colorCheck(this.iconColor[count])
|
|
44
|
+
.hexColor,
|
|
44
45
|
};
|
|
45
46
|
let textColor = {
|
|
46
|
-
color: this.textColor[count]
|
|
47
|
+
color: this.kupManager.theme.colorCheck(this.textColor[count])
|
|
48
|
+
.hexColor,
|
|
47
49
|
};
|
|
48
50
|
let valueColor = {
|
|
49
|
-
color: this.valueColor[count]
|
|
51
|
+
color: this.kupManager.theme.colorCheck(this.valueColor[count])
|
|
52
|
+
.hexColor,
|
|
50
53
|
};
|
|
51
54
|
if (this.data.columns[0]) {
|
|
52
55
|
icon = (index.h("div", { slot: "icon" }, index.h("icon", { class: r.cells[this.data.columns[0].name].obj.k, style: iconColor })));
|
|
@@ -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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.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-1f177abc.js');
|
|
6
|
+
const fButton = require('./f-button-5856cd74.js');
|
|
7
|
+
const fCheckbox = require('./f-checkbox-1148e791.js');
|
|
8
|
+
const fTextField = require('./f-text-field-3d8e7417.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-85997738.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
12
12
|
require('./f-button-declarations-b611587f.js');
|
|
13
|
-
require('./f-image-
|
|
13
|
+
require('./f-image-48facc89.js');
|
|
14
14
|
require('./tslib.es6-0ee02c67.js');
|
|
15
15
|
require('./component-72a5b626.js');
|
|
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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
/*! *****************************************************************************
|
|
@@ -93307,6 +93307,7 @@ var KupEchartTypes;
|
|
|
93307
93307
|
KupEchartTypes["MAP"] = "Map";
|
|
93308
93308
|
KupEchartTypes["PIE"] = "Pie";
|
|
93309
93309
|
KupEchartTypes["SCATTER"] = "Scatter";
|
|
93310
|
+
KupEchartTypes["FUNNEL"] = "Funnel";
|
|
93310
93311
|
})(KupEchartTypes || (KupEchartTypes = {}));
|
|
93311
93312
|
|
|
93312
93313
|
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}";
|
|
@@ -93327,7 +93328,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
93327
93328
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
93328
93329
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
93329
93330
|
};
|
|
93330
|
-
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground,
|
|
93331
|
+
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_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;
|
|
93331
93332
|
const KupEchart = class {
|
|
93332
93333
|
constructor(hostRef) {
|
|
93333
93334
|
index.registerInstance(this, hostRef);
|
|
@@ -93345,7 +93346,6 @@ const KupEchart = class {
|
|
|
93345
93346
|
_KupEchart_sortedDataset.set(this, null);
|
|
93346
93347
|
_KupEchart_themeBorder.set(this, null);
|
|
93347
93348
|
_KupEchart_themeBackground.set(this, null);
|
|
93348
|
-
_KupEchart_computedColors.set(this, null);
|
|
93349
93349
|
_KupEchart_minColorHeatMap.set(this, null);
|
|
93350
93350
|
_KupEchart_maxColorHeatMap.set(this, null);
|
|
93351
93351
|
_KupEchart_themeFont.set(this, null);
|
|
@@ -93423,8 +93423,11 @@ const KupEchart = class {
|
|
|
93423
93423
|
__classPrivateFieldGet(this, _KupEchart_kupManager, "f").debug.logLoad(this, true);
|
|
93424
93424
|
}
|
|
93425
93425
|
componentWillRender() {
|
|
93426
|
+
__classPrivateFieldSet(this, _KupEchart_themeBackground, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[kupManager.KupThemeColorValues.BACKGROUND], "f");
|
|
93427
|
+
__classPrivateFieldSet(this, _KupEchart_themeBorder, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[kupManager.KupThemeColorValues.BORDER], "f");
|
|
93428
|
+
__classPrivateFieldSet(this, _KupEchart_themeFont, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars['--kup-font-family'], "f");
|
|
93429
|
+
__classPrivateFieldSet(this, _KupEchart_themeText, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[kupManager.KupThemeColorValues.TEXT], "f");
|
|
93426
93430
|
__classPrivateFieldGet(this, _KupEchart_kupManager, "f").debug.logRender(this, false);
|
|
93427
|
-
__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_fetchcomputedColors).call(this);
|
|
93428
93431
|
}
|
|
93429
93432
|
componentDidRender() {
|
|
93430
93433
|
if (this.data && this.data.columns && this.data.rows) {
|
|
@@ -93449,7 +93452,7 @@ const KupEchart = class {
|
|
|
93449
93452
|
static get assetsDirs() { return ["assets/maps"]; }
|
|
93450
93453
|
get rootElement() { return index.getElement(this); }
|
|
93451
93454
|
};
|
|
93452
|
-
_KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _KupEchart_gaussianDatasets = new WeakMap(), _KupEchart_kupManager = new WeakMap(), _KupEchart_mapObj = new WeakMap(), _KupEchart_resizeTimeout = new WeakMap(), _KupEchart_sortedDataset = new WeakMap(), _KupEchart_themeBorder = new WeakMap(), _KupEchart_themeBackground = new WeakMap(),
|
|
93455
|
+
_KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _KupEchart_gaussianDatasets = new WeakMap(), _KupEchart_kupManager = new WeakMap(), _KupEchart_mapObj = new WeakMap(), _KupEchart_resizeTimeout = new WeakMap(), _KupEchart_sortedDataset = new WeakMap(), _KupEchart_themeBorder = new WeakMap(), _KupEchart_themeBackground = new WeakMap(), _KupEchart_minColorHeatMap = new WeakMap(), _KupEchart_maxColorHeatMap = new WeakMap(), _KupEchart_themeFont = new WeakMap(), _KupEchart_themeText = new WeakMap(), _KupEchart_instances = new WeakSet(), _KupEchart_initChart = function _KupEchart_initChart() {
|
|
93453
93456
|
if (__classPrivateFieldGet(this, _KupEchart_chartEl, "f")) {
|
|
93454
93457
|
dispose(__classPrivateFieldGet(this, _KupEchart_chartContainer, "f"));
|
|
93455
93458
|
}
|
|
@@ -93491,6 +93494,9 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93491
93494
|
case KupEchartTypes.PIE:
|
|
93492
93495
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setPieOptions).call(this);
|
|
93493
93496
|
break;
|
|
93497
|
+
case KupEchartTypes.FUNNEL:
|
|
93498
|
+
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_funnelChart).call(this);
|
|
93499
|
+
break;
|
|
93494
93500
|
default:
|
|
93495
93501
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setOptions).call(this);
|
|
93496
93502
|
break;
|
|
@@ -93521,6 +93527,73 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93521
93527
|
y: Array.isArray(e.data) ? e.data[1] : e.value,
|
|
93522
93528
|
});
|
|
93523
93529
|
});
|
|
93530
|
+
}, _KupEchart_funnelChart = function _KupEchart_funnelChart() {
|
|
93531
|
+
const x = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createX).call(this);
|
|
93532
|
+
const y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this);
|
|
93533
|
+
const cellsSum = {};
|
|
93534
|
+
const data = [];
|
|
93535
|
+
let highest = 0;
|
|
93536
|
+
for (let key in y) {
|
|
93537
|
+
for (let j = 0; j < y[key].length; j++) {
|
|
93538
|
+
if (cellsSum[x[j]]) {
|
|
93539
|
+
cellsSum[x[j]] += parseFloat(y[key][j]);
|
|
93540
|
+
}
|
|
93541
|
+
else {
|
|
93542
|
+
cellsSum[x[j]] = parseFloat(y[key][j]);
|
|
93543
|
+
}
|
|
93544
|
+
}
|
|
93545
|
+
}
|
|
93546
|
+
for (let key in cellsSum) {
|
|
93547
|
+
const value = cellsSum[key];
|
|
93548
|
+
if (value > highest) {
|
|
93549
|
+
highest = value;
|
|
93550
|
+
}
|
|
93551
|
+
}
|
|
93552
|
+
for (const key in cellsSum) {
|
|
93553
|
+
const value = cellsSum[key];
|
|
93554
|
+
data.push({
|
|
93555
|
+
name: key,
|
|
93556
|
+
value: ((100 * value) / highest).toFixed(2),
|
|
93557
|
+
});
|
|
93558
|
+
}
|
|
93559
|
+
return {
|
|
93560
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(cellsSum).length),
|
|
93561
|
+
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
93562
|
+
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (value) => {
|
|
93563
|
+
const name = value.data.name;
|
|
93564
|
+
const percentage = value.data
|
|
93565
|
+
.value;
|
|
93566
|
+
return `${name}: <strong>${cellsSum[name]}</strong> (${__classPrivateFieldGet(this, _KupEchart_kupManager, "f").math.format(percentage)}%)`;
|
|
93567
|
+
} }),
|
|
93568
|
+
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, cellsSum),
|
|
93569
|
+
series: [
|
|
93570
|
+
{
|
|
93571
|
+
name: __classPrivateFieldGet(this, _KupEchart_kupManager, "f").data.column.find(this.data, {
|
|
93572
|
+
name: this.axis,
|
|
93573
|
+
})[0].title,
|
|
93574
|
+
type: 'funnel',
|
|
93575
|
+
gap: 2,
|
|
93576
|
+
label: {
|
|
93577
|
+
show: true,
|
|
93578
|
+
position: 'right',
|
|
93579
|
+
},
|
|
93580
|
+
labelLine: {
|
|
93581
|
+
lineStyle: {
|
|
93582
|
+
width: 1,
|
|
93583
|
+
type: 'solid',
|
|
93584
|
+
},
|
|
93585
|
+
},
|
|
93586
|
+
itemStyle: {
|
|
93587
|
+
borderColor: __classPrivateFieldGet(this, _KupEchart_themeBackground, "f"),
|
|
93588
|
+
borderWidth: 1,
|
|
93589
|
+
},
|
|
93590
|
+
left: '10%',
|
|
93591
|
+
right: '10%',
|
|
93592
|
+
width: '80%',
|
|
93593
|
+
data,
|
|
93594
|
+
},
|
|
93595
|
+
],
|
|
93596
|
+
};
|
|
93524
93597
|
}, _KupEchart_createX = function _KupEchart_createX(dataset = null) {
|
|
93525
93598
|
const x = [];
|
|
93526
93599
|
if (!dataset)
|
|
@@ -93670,6 +93743,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93670
93743
|
}
|
|
93671
93744
|
return opts;
|
|
93672
93745
|
}, _KupEchart_setMapOptions = function _KupEchart_setMapOptions(map) {
|
|
93746
|
+
const computedColors = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, 3);
|
|
93673
93747
|
const mapJson = JSON.parse(map);
|
|
93674
93748
|
const isoA2 = [];
|
|
93675
93749
|
const names = [];
|
|
@@ -93802,7 +93876,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93802
93876
|
roam: true,
|
|
93803
93877
|
select: {
|
|
93804
93878
|
itemStyle: {
|
|
93805
|
-
areaColor:
|
|
93879
|
+
areaColor: computedColors[0],
|
|
93806
93880
|
},
|
|
93807
93881
|
label: {
|
|
93808
93882
|
color: __classPrivateFieldGet(this, _KupEchart_themeText, "f"),
|
|
@@ -93828,7 +93902,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93828
93902
|
});
|
|
93829
93903
|
}
|
|
93830
93904
|
return {
|
|
93831
|
-
color: __classPrivateFieldGet(this,
|
|
93905
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length),
|
|
93832
93906
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
93833
93907
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
93834
93908
|
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: '{a} <br/>{b}: {c} ({d}%)' }),
|
|
@@ -93979,7 +94053,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93979
94053
|
yAxisTmp.splice(0, 1);
|
|
93980
94054
|
}
|
|
93981
94055
|
return {
|
|
93982
|
-
color: __classPrivateFieldGet(this,
|
|
94056
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length),
|
|
93983
94057
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
93984
94058
|
series: series,
|
|
93985
94059
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
@@ -94042,7 +94116,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94042
94116
|
i++;
|
|
94043
94117
|
}
|
|
94044
94118
|
return {
|
|
94045
|
-
color: __classPrivateFieldGet(this,
|
|
94119
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length),
|
|
94046
94120
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
94047
94121
|
series: series,
|
|
94048
94122
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
@@ -94050,17 +94124,12 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94050
94124
|
xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: x, type: 'category' }), this.xAxis),
|
|
94051
94125
|
yAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { type: 'value' }), this.yAxis),
|
|
94052
94126
|
};
|
|
94053
|
-
},
|
|
94127
|
+
}, _KupEchart_setColors = function _KupEchart_setColors(requiredNumber) {
|
|
94054
94128
|
let colorArray = this.colors && this.colors.length > 0 ? [...this.colors] : [];
|
|
94055
94129
|
let key = '--kup-chart-color-';
|
|
94056
94130
|
for (let index = 1; __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[key + index]; index++) {
|
|
94057
94131
|
colorArray.push(__classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[key + index]);
|
|
94058
94132
|
}
|
|
94059
|
-
__classPrivateFieldSet(this, _KupEchart_themeBackground, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[kupManager.KupThemeColorValues.BACKGROUND], "f");
|
|
94060
|
-
__classPrivateFieldSet(this, _KupEchart_themeBorder, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[kupManager.KupThemeColorValues.BORDER], "f");
|
|
94061
|
-
__classPrivateFieldSet(this, _KupEchart_themeFont, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars['--kup-font-family'], "f");
|
|
94062
|
-
__classPrivateFieldSet(this, _KupEchart_themeText, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[kupManager.KupThemeColorValues.TEXT], "f");
|
|
94063
|
-
__classPrivateFieldSet(this, _KupEchart_computedColors, colorArray, "f");
|
|
94064
94133
|
if (this.colors && this.colors[0]) {
|
|
94065
94134
|
__classPrivateFieldSet(this, _KupEchart_maxColorHeatMap, this.colors[0], "f");
|
|
94066
94135
|
}
|
|
@@ -94075,6 +94144,10 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94075
94144
|
const colorCheckBright = __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.colorCheck(colorArray[0]);
|
|
94076
94145
|
__classPrivateFieldSet(this, _KupEchart_minColorHeatMap, `hsl(${colorCheckBright.hue}, ${colorCheckBright.saturation}, ${(parseFloat(colorCheckBright.lightness) + 30).toString()}%)`, "f");
|
|
94077
94146
|
}
|
|
94147
|
+
for (let index = colorArray.length; requiredNumber && index < requiredNumber; index++) {
|
|
94148
|
+
colorArray.push(__classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.randomColor(128));
|
|
94149
|
+
}
|
|
94150
|
+
return colorArray;
|
|
94078
94151
|
}, _KupEchart_checks = function _KupEchart_checks() {
|
|
94079
94152
|
const gaussianCount = this.types.filter((type) => type === KupEchartTypes.GAUSSIAN).length;
|
|
94080
94153
|
const nonGaussianCount = this.types.filter((type) => type === KupEchartTypes.GAUSSIAN).length;
|
|
@@ -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-1f177abc.js');
|
|
6
|
+
const fButton = require('./f-button-5856cd74.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const kupManager = require('./kup-manager-
|
|
8
|
+
const fImage = require('./f-image-48facc89.js');
|
|
9
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-a9ed17ee.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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fButton = require('./f-button-
|
|
8
|
+
const fImage = require('./f-image-48facc89.js');
|
|
9
|
+
const fButton = require('./f-button-5856cd74.js');
|
|
10
10
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-9d7a9e97.js');
|
|
12
12
|
const component = require('./component-72a5b626.js');
|
|
13
|
-
require('./f-checkbox-
|
|
14
|
-
require('./f-text-field-
|
|
15
|
-
require('./f-chip-
|
|
13
|
+
require('./f-checkbox-1148e791.js');
|
|
14
|
+
require('./f-text-field-3d8e7417.js');
|
|
15
|
+
require('./f-chip-675ed121.js');
|
|
16
16
|
require('./tslib.es6-0ee02c67.js');
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-22bb9699.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
8
|
+
const fImage = require('./f-image-48facc89.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
10
10
|
|
|
11
11
|
/**
|