@sme.up/ketchup 7.4.2 → 8.0.0-a
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/{component-72a5b626.js → component-85c2bd4d.js} +1 -1
- package/dist/cjs/{f-button-daddd700.js → f-button-b4493396.js} +2 -2
- package/dist/cjs/{f-cell-3682fad4.js → f-cell-356b4a8f.js} +6 -6
- package/dist/cjs/{f-checkbox-593f72c3.js → f-checkbox-1148e791.js} +1 -1
- package/dist/cjs/{f-chip-9d540d94.js → f-chip-617af9d4.js} +3 -3
- package/dist/cjs/{f-image-7b42d149.js → f-image-58de00ed.js} +5 -5
- package/dist/cjs/{f-paginator-utils-1baeba0f.js → f-paginator-utils-ded7ed1b.js} +3 -3
- package/dist/cjs/{f-text-field-a6ed2d22.js → f-text-field-fdba1e89.js} +2 -2
- package/dist/cjs/{f-text-field-mdc-85997738.js → f-text-field-mdc-0e22f3e3.js} +2 -2
- package/dist/cjs/{index-74433248.js → index-1f177abc.js} +0 -3
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +817 -822
- package/dist/cjs/kup-box.cjs.entry.js +14 -13
- package/dist/cjs/kup-calendar.cjs.entry.js +6 -6
- 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 +9 -12
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +26 -9
- package/dist/cjs/kup-family-tree.cjs.entry.js +9 -20
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +10 -10
- 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-10351449.js → kup-manager-62ae342a.js} +81 -2
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +6 -6
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +1128 -219
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tslib.es6-0ee02c67.js → tslib.es6-386654de.js} +9 -5
- package/dist/collection/assets/data-table.js +44 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/kup-box/kup-box.js +1 -0
- package/dist/collection/components/kup-card/kup-card.css +4 -8
- package/dist/collection/components/kup-chip/kup-chip.js +4 -3
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +0 -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.css +3 -6
- package/dist/collection/components/kup-data-table/kup-data-table.js +6 -20
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +2 -0
- package/dist/collection/components/kup-echart/kup-echart.js +23 -8
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +2 -2
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +4 -15
- package/dist/collection/components/kup-image/kup-image.js +28 -0
- package/dist/collection/components/kup-list/kup-list.css +1 -1
- package/dist/collection/components/kup-planner/kup-planner-declarations.js +5 -2
- package/dist/collection/components/kup-planner/kup-planner.css +6 -3
- package/dist/collection/components/kup-planner/kup-planner.js +347 -65
- package/dist/collection/components/kup-qlik/kup-qlik.css +4 -8
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -3
- package/dist/collection/components/kup-spinner/kup-spinner.css +2 -4
- package/dist/collection/components/kup-tree/kup-tree.js +66 -67
- package/dist/collection/f-components/f-image/f-image.js +3 -3
- package/dist/collection/managers/kup-data/kup-data-column-helper.js +1 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +18 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/components/kup-autocomplete2.js +229 -152
- package/dist/components/kup-box2.js +1 -0
- package/dist/components/kup-dashboard.js +0 -3
- package/dist/components/kup-echart2.js +24 -7
- package/dist/components/kup-family-tree.js +5 -16
- package/dist/components/kup-planner.js +1127 -219
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- 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/{component-b1bedf1d.js → component-120651a0.js} +1 -1
- package/dist/esm/{f-button-8d15b5a0.js → f-button-b556d392.js} +2 -2
- package/dist/esm/{f-cell-7b706e57.js → f-cell-bee3cc3d.js} +6 -6
- package/dist/esm/{f-checkbox-ec85b437.js → f-checkbox-9b3f5f5b.js} +1 -1
- package/dist/esm/{f-chip-c671fe90.js → f-chip-a036bc33.js} +3 -3
- package/dist/esm/{f-image-21451b15.js → f-image-363c7981.js} +5 -5
- package/dist/esm/{f-paginator-utils-92bbf277.js → f-paginator-utils-58ae68aa.js} +3 -3
- package/dist/esm/{f-text-field-0bb2d109.js → f-text-field-9df5c22b.js} +2 -2
- package/dist/esm/{f-text-field-mdc-d42d3f9e.js → f-text-field-mdc-cee583ea.js} +2 -2
- package/dist/esm/{index-b326ffc9.js → index-8bd38435.js} +1 -3
- package/dist/esm/ketchup.js +4 -4
- package/dist/esm/kup-accordion.entry.js +5 -5
- package/dist/esm/kup-autocomplete_27.entry.js +817 -822
- package/dist/esm/kup-box.entry.js +14 -13
- package/dist/esm/kup-calendar.entry.js +6 -6
- 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 +9 -12
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +26 -9
- package/dist/esm/kup-family-tree.entry.js +9 -20
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +10 -10
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-6145d980.js → kup-manager-5678a52f.js} +81 -3
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +6 -6
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +1128 -219
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +5 -5
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{tslib.es6-3eea2234.js → tslib.es6-8c2af864.js} +9 -5
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-0eee4a5a.entry.js +39 -0
- package/dist/ketchup/{p-81605f08.js → p-10d84b1b.js} +1 -1
- package/dist/ketchup/{p-0c1cbf8b.entry.js → p-1ef0b60d.entry.js} +1 -1
- package/dist/ketchup/{p-a203f78b.js → p-27a56c87.js} +1 -1
- package/dist/ketchup/p-28617a01.entry.js +25 -0
- package/dist/ketchup/{p-439ac105.entry.js → p-297e3a99.entry.js} +1 -1
- package/dist/ketchup/{p-281cff81.entry.js → p-3e7fcb23.entry.js} +1 -1
- package/dist/ketchup/p-452794d7.entry.js +9 -0
- package/dist/ketchup/{p-0c9b7c80.entry.js → p-4a5bb19d.entry.js} +1 -1
- package/dist/ketchup/{p-ea16ddc0.js → p-4c28b140.js} +1 -1
- package/dist/ketchup/p-4fc2a726.js +30 -0
- package/dist/ketchup/{p-7cfdce27.js → p-59ecca83.js} +1 -1
- package/dist/ketchup/{p-89ac80c1.entry.js → p-5ea29654.entry.js} +1 -1
- package/dist/ketchup/{p-d87fb5ff.entry.js → p-63143986.entry.js} +1 -1
- package/dist/ketchup/{p-2a2dc2a8.entry.js → p-6a99d95a.entry.js} +1 -1
- package/dist/ketchup/{p-4d039705.entry.js → p-6aaf28ac.entry.js} +1 -1
- package/dist/ketchup/{p-c222d070.entry.js → p-6be4cc6b.entry.js} +1 -1
- package/dist/ketchup/p-7f59211b.js +1 -0
- package/dist/ketchup/{p-2915a66a.entry.js → p-86403c79.entry.js} +1 -1
- package/dist/ketchup/p-86fd64c8.entry.js +1 -0
- package/dist/ketchup/p-8b2fb87c.entry.js +1 -0
- package/dist/ketchup/{p-76bf53df.entry.js → p-91d07966.entry.js} +1 -1
- package/dist/ketchup/{p-e4975ffa.entry.js → p-98e85fb0.entry.js} +1 -1
- package/dist/ketchup/{p-d4ece435.js → p-9dcfbb1e.js} +2 -2
- package/dist/ketchup/{p-ae4fffe0.js → p-9f2416d4.js} +1 -1
- package/dist/ketchup/{p-c26975bf.js → p-9f9b6656.js} +1 -1
- package/dist/ketchup/{p-1242366a.entry.js → p-d299b9ce.entry.js} +1 -1
- package/dist/ketchup/p-db43c039.entry.js +1 -0
- package/dist/ketchup/{p-a641780a.entry.js → p-dfba4ea4.entry.js} +1 -1
- package/dist/ketchup/{p-da37c417.entry.js → p-ed79b1cd.entry.js} +1 -1
- package/dist/ketchup/{p-c4d9e3e2.js → p-f197df32.js} +1 -1
- package/dist/ketchup/{p-32517a99.entry.js → p-f3282015.entry.js} +1 -1
- package/dist/ketchup/{p-826c91d7.js → p-f9823319.js} +1 -1
- package/dist/ketchup/p-ff285e51.js +1 -0
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +2 -0
- package/dist/types/components/kup-image/kup-image.d.ts +2 -0
- package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +18 -3
- package/dist/types/components/kup-planner/kup-planner.d.ts +36 -11
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -5
- package/dist/types/components.d.ts +39 -4
- package/dist/types/f-components/f-image/f-image-declarations.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +1 -1
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +1 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +7 -0
- package/dist/types/types/GenericTypes.d.ts +1 -0
- package/package.json +8 -20
- package/dist/ketchup/p-02a26d59.entry.js +0 -9
- package/dist/ketchup/p-462475ac.entry.js +0 -10
- package/dist/ketchup/p-5292ef67.js +0 -30
- package/dist/ketchup/p-79b0730b.js +0 -15
- package/dist/ketchup/p-849ad5d8.entry.js +0 -1
- package/dist/ketchup/p-9f00ad0f.js +0 -1
- package/dist/ketchup/p-be61dd36.entry.js +0 -39
- package/dist/ketchup/p-c022824e.entry.js +0 -1
- package/dist/ketchup/p-e83e70e2.entry.js +0 -1
|
@@ -2,20 +2,20 @@
|
|
|
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-62ae342a.js');
|
|
7
|
+
const fPaginatorUtils = require('./f-paginator-utils-ded7ed1b.js');
|
|
8
|
+
const fImage = require('./f-image-58de00ed.js');
|
|
9
|
+
const fChip = require('./f-chip-617af9d4.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
12
|
-
const fTextFieldMdc = require('./f-text-field-mdc-
|
|
13
|
-
require('./f-button-
|
|
11
|
+
const fCell = require('./f-cell-356b4a8f.js');
|
|
12
|
+
const fTextFieldMdc = require('./f-text-field-mdc-0e22f3e3.js');
|
|
13
|
+
require('./f-button-b4493396.js');
|
|
14
14
|
require('./f-button-declarations-b611587f.js');
|
|
15
|
-
require('./f-checkbox-
|
|
16
|
-
require('./f-text-field-
|
|
17
|
-
require('./tslib.es6-
|
|
18
|
-
require('./component-
|
|
15
|
+
require('./f-checkbox-1148e791.js');
|
|
16
|
+
require('./f-text-field-fdba1e89.js');
|
|
17
|
+
require('./tslib.es6-386654de.js');
|
|
18
|
+
require('./component-85c2bd4d.js');
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Props of the kup-box component.
|
|
@@ -404,7 +404,7 @@ const KupBox = class {
|
|
|
404
404
|
}
|
|
405
405
|
// event listeners
|
|
406
406
|
onBoxClick({ target }, row) {
|
|
407
|
-
if (!(target instanceof
|
|
407
|
+
if (!(target instanceof HTMLElement)) {
|
|
408
408
|
return;
|
|
409
409
|
}
|
|
410
410
|
// searching parent
|
|
@@ -832,6 +832,7 @@ const KupBox = class {
|
|
|
832
832
|
const sectionStyle = section.style || {};
|
|
833
833
|
if (section.dim && parent) {
|
|
834
834
|
sectionStyle.flex = `0 0 ${section.dim}`;
|
|
835
|
+
sectionStyle.overflow = 'hidden';
|
|
835
836
|
if (parent.horizontal) {
|
|
836
837
|
sectionStyle.maxWidth = section.dim;
|
|
837
838
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const tslib_es6 = require('./tslib.es6-
|
|
7
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const tslib_es6 = require('./tslib.es6-386654de.js');
|
|
7
|
+
const kupManager = require('./kup-manager-62ae342a.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-b4493396.js');
|
|
10
|
+
const fChip = require('./f-chip-617af9d4.js');
|
|
11
11
|
require('./f-button-declarations-b611587f.js');
|
|
12
|
-
require('./f-image-
|
|
12
|
+
require('./f-image-58de00ed.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-62ae342a.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-356b4a8f.js');
|
|
9
|
+
require('./f-checkbox-1148e791.js');
|
|
10
|
+
require('./f-text-field-fdba1e89.js');
|
|
11
|
+
require('./f-image-58de00ed.js');
|
|
12
|
+
require('./f-chip-617af9d4.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-62ae342a.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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-62ae342a.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,17 +2,17 @@
|
|
|
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-
|
|
9
|
-
const fTextFieldMdc = require('./f-text-field-mdc-
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const fButton = require('./f-button-b4493396.js');
|
|
7
|
+
const fCheckbox = require('./f-checkbox-1148e791.js');
|
|
8
|
+
const fTextField = require('./f-text-field-fdba1e89.js');
|
|
9
|
+
const fTextFieldMdc = require('./f-text-field-mdc-0e22f3e3.js');
|
|
10
|
+
const kupManager = require('./kup-manager-62ae342a.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
12
12
|
require('./f-button-declarations-b611587f.js');
|
|
13
|
-
require('./f-image-
|
|
14
|
-
require('./tslib.es6-
|
|
15
|
-
require('./component-
|
|
13
|
+
require('./f-image-58de00ed.js');
|
|
14
|
+
require('./tslib.es6-386654de.js');
|
|
15
|
+
require('./component-85c2bd4d.js');
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Props of the kup-dashboard component.
|
|
@@ -222,9 +222,6 @@ const KupDashboard = class {
|
|
|
222
222
|
break;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
//console.log(
|
|
226
|
-
// `pointer: ${pointerX}:${pointerY} - vertical: ${vertical} - index: ${idx}`
|
|
227
|
-
//);
|
|
228
225
|
return idx;
|
|
229
226
|
}
|
|
230
227
|
didRenderInteractables() {
|
|
@@ -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-62ae342a.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-62ae342a.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
/*! *****************************************************************************
|
|
@@ -93301,7 +93301,9 @@ var KupEchartMaps;
|
|
|
93301
93301
|
})(KupEchartMaps || (KupEchartMaps = {}));
|
|
93302
93302
|
var KupEchartTypes;
|
|
93303
93303
|
(function (KupEchartTypes) {
|
|
93304
|
+
KupEchartTypes["AREA"] = "Area";
|
|
93304
93305
|
KupEchartTypes["BAR"] = "Bar";
|
|
93306
|
+
KupEchartTypes["HBAR"] = "HBar";
|
|
93305
93307
|
KupEchartTypes["GAUSSIAN"] = "Gaussian";
|
|
93306
93308
|
KupEchartTypes["LINE"] = "Line";
|
|
93307
93309
|
KupEchartTypes["MAP"] = "Map";
|
|
@@ -93972,6 +93974,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93972
93974
|
const needSortDataset = this.types.filter((j) => j != KupEchartTypes.GAUSSIAN).length == 1;
|
|
93973
93975
|
__classPrivateFieldSet(this, _KupEchart_gaussianDatasets, {}, "f");
|
|
93974
93976
|
let i = 0;
|
|
93977
|
+
const color = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length);
|
|
93975
93978
|
for (const key in y) {
|
|
93976
93979
|
let type;
|
|
93977
93980
|
if (this.types[i]) {
|
|
@@ -94011,7 +94014,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94011
94014
|
for (let i = 0; i < values.length; i++) {
|
|
94012
94015
|
justValues.push(values[i].value);
|
|
94013
94016
|
}
|
|
94014
|
-
__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_addSeries).call(this, type, series, justValues, key, mixedSeries, needSortDataset);
|
|
94017
|
+
__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_addSeries).call(this, type, series, justValues, key, color[i], mixedSeries, needSortDataset);
|
|
94015
94018
|
i++;
|
|
94016
94019
|
}
|
|
94017
94020
|
// "any" because type is mismanaged inside echarts library
|
|
@@ -94094,7 +94097,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94094
94097
|
yAxisTmp.splice(0, 1);
|
|
94095
94098
|
}
|
|
94096
94099
|
return {
|
|
94097
|
-
color
|
|
94100
|
+
color,
|
|
94098
94101
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
94099
94102
|
series: series,
|
|
94100
94103
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
@@ -94102,7 +94105,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94102
94105
|
xAxis: xAxisTmp,
|
|
94103
94106
|
yAxis: yAxisTmp,
|
|
94104
94107
|
};
|
|
94105
|
-
}, _KupEchart_addSeries = function _KupEchart_addSeries(type, series, values, key, mixedSeries = false, needSortDataset = false) {
|
|
94108
|
+
}, _KupEchart_addSeries = function _KupEchart_addSeries(type, series, values, key, color, mixedSeries = false, needSortDataset = false) {
|
|
94106
94109
|
switch (type) {
|
|
94107
94110
|
case KupEchartTypes.GAUSSIAN:
|
|
94108
94111
|
series.push({
|
|
@@ -94116,6 +94119,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94116
94119
|
});
|
|
94117
94120
|
break;
|
|
94118
94121
|
case KupEchartTypes.BAR:
|
|
94122
|
+
case KupEchartTypes.HBAR:
|
|
94119
94123
|
series.push({
|
|
94120
94124
|
data: values,
|
|
94121
94125
|
name: key,
|
|
@@ -94130,12 +94134,23 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94130
94134
|
type: 'scatter',
|
|
94131
94135
|
});
|
|
94132
94136
|
break;
|
|
94137
|
+
case KupEchartTypes.AREA:
|
|
94133
94138
|
case KupEchartTypes.LINE:
|
|
94134
94139
|
default:
|
|
94135
94140
|
series.push({
|
|
94136
94141
|
data: values,
|
|
94137
94142
|
name: key,
|
|
94138
94143
|
type: 'line',
|
|
94144
|
+
areaStyle: type === KupEchartTypes.AREA
|
|
94145
|
+
? {
|
|
94146
|
+
color: new LinearGradient(0, 0, 0, 0.25, [
|
|
94147
|
+
{
|
|
94148
|
+
offset: 0,
|
|
94149
|
+
color: `rgba(${__classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.colorCheck(color).rgbValues}, 0.375)`,
|
|
94150
|
+
},
|
|
94151
|
+
]),
|
|
94152
|
+
}
|
|
94153
|
+
: undefined,
|
|
94139
94154
|
});
|
|
94140
94155
|
break;
|
|
94141
94156
|
}
|
|
@@ -94144,6 +94159,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94144
94159
|
const y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this);
|
|
94145
94160
|
let i = 0;
|
|
94146
94161
|
const series = [];
|
|
94162
|
+
const color = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length);
|
|
94147
94163
|
for (const key in y) {
|
|
94148
94164
|
const values = y[key];
|
|
94149
94165
|
let type;
|
|
@@ -94153,17 +94169,18 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94153
94169
|
else {
|
|
94154
94170
|
type = KupEchartTypes.LINE;
|
|
94155
94171
|
}
|
|
94156
|
-
__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_addSeries).call(this, type, series, values, key);
|
|
94172
|
+
__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_addSeries).call(this, type, series, values, key, color[i]);
|
|
94157
94173
|
i++;
|
|
94158
94174
|
}
|
|
94175
|
+
const isHorizontal = !!(KupEchartTypes.HBAR === this.types[0]);
|
|
94159
94176
|
return {
|
|
94160
|
-
color
|
|
94177
|
+
color,
|
|
94161
94178
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
94162
94179
|
series: series,
|
|
94163
94180
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
94164
94181
|
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'axis' }),
|
|
94165
|
-
xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: x, type: 'category' }), this.xAxis),
|
|
94166
|
-
yAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { type: 'value' }), this.yAxis),
|
|
94182
|
+
xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? undefined : x, type: isHorizontal ? 'value' : 'category' }), this.xAxis),
|
|
94183
|
+
yAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? x : undefined, type: isHorizontal ? 'category' : 'value' }), this.yAxis),
|
|
94167
94184
|
};
|
|
94168
94185
|
}, _KupEchart_setColors = function _KupEchart_setColors(requiredNumber) {
|
|
94169
94186
|
let colorArray = this.colors && this.colors.length > 0 ? [...this.colors] : [];
|
|
@@ -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-b4493396.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-58de00ed.js');
|
|
9
|
+
const kupManager = require('./kup-manager-62ae342a.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -25,7 +25,7 @@ var KupFamilyTreeProps;
|
|
|
25
25
|
KupFamilyTreeProps["stackedLeaves"] = "Child nodes that have no children are arranged vertically.";
|
|
26
26
|
})(KupFamilyTreeProps || (KupFamilyTreeProps = {}));
|
|
27
27
|
|
|
28
|
-
const kupFamilyTreeCss = ":host{--kup_familytree_item_background_color:var(\n --kup-familytree-item-background-color,\n var(--kup-background-color)\n );--kup_familytree_item_color:var(\n --kup-familytree-item-color,\n var(--kup-text-color)\n );--kup_familytree_item_height:var(--kup-familytree-item-height, 80px);--kup_familytree_item_h_padding:var(--kup-familytree-item-h-padding, 8px);--kup_familytree_item_v_padding:var(--kup-familytree-item-v-padding, 10px);--kup_familytree_item_width:var(--kup-familytree-item-width, 280px);--kup_familytree_lines_color:var(\n --kup-familytree-lines-color,\n var(--kup-border-color)\n );display:block;overflow:hidden}.family-tree{cursor:grab;display:flex;transform:scale(var(--kup_familytree_scale, 1));transform-origin:0px 0px}.family-tree--dragging{cursor:grabbing}.family-tree__node{border-collapse:collapse;margin:auto}.family-tree__node--stacked{margin-bottom:4px}.family-tree__node__staff{align-items:center;display:flex;flex-direction:column;height:0;transform:translateX(calc(
|
|
28
|
+
const kupFamilyTreeCss = ":host{--kup_familytree_item_background_color:var(\n --kup-familytree-item-background-color,\n var(--kup-background-color)\n );--kup_familytree_item_color:var(\n --kup-familytree-item-color,\n var(--kup-text-color)\n );--kup_familytree_item_height:var(--kup-familytree-item-height, 80px);--kup_familytree_item_h_padding:var(--kup-familytree-item-h-padding, 8px);--kup_familytree_item_v_padding:var(--kup-familytree-item-v-padding, 10px);--kup_familytree_item_width:var(--kup-familytree-item-width, 280px);--kup_familytree_lines_color:var(\n --kup-familytree-lines-color,\n var(--kup-border-color)\n );display:block;overflow:hidden}.family-tree{cursor:grab;display:flex;transform:scale(var(--kup_familytree_scale, 1));transform-origin:0px 0px}.family-tree--dragging{cursor:grabbing}.family-tree__node{border-collapse:collapse;margin:auto}.family-tree__node--stacked{margin-bottom:4px}.family-tree__node__staff{align-items:center;display:flex;flex-direction:column;height:0;transform:translateX(calc((var(--kup_familytree_item_width) + var(--kup_familytree_item_h_padding) * 2) / 2)) translateY(calc(0px - (var(--kup_familytree_staffchildren) * var(--kup_familytree_item_height) + var(--kup_familytree_staffchildren) * var(--kup_familytree_item_v_padding) * 2)))}.family-tree__node__staff__item{padding:var(--kup_familytree_item_v_padding);text-align:left}.family-tree__node__staff__item:before{border-top:2px solid var(--kup_familytree_lines_color);content:\"\";position:absolute;transform:translateX(calc(100% + 2px)) translateY(calc(var(--kup_familytree_item_height) / 2));width:var(--kup_familytree_item_h_padding)}.family-tree__node td{vertical-align:top;padding:0}.family-tree__line--left{border-left:2px solid var(--kup_familytree_lines_color)}.family-tree__line--placeholder{height:calc(var(--kup_familytree_item_height) / 2)}.family-tree__line--staff{height:calc(var(--kup_familytree_staffchildren) * var(--kup_familytree_item_height) + var(--kup_familytree_staffchildren) * var(--kup_familytree_item_v_padding) * 2)}.family-tree__line--right{border-right:2px solid var(--kup_familytree_lines_color)}.family-tree__line--top{border-top:2px solid var(--kup_familytree_lines_color)}.family-tree__line--vertical{background-color:var(--kup_familytree_lines_color);margin-left:auto;margin-right:auto;width:2px}.family-tree__item{display:flex}.family-tree__item__wrapper{margin:auto}.family-tree__item__wrapper kup-box{margin:0 auto;overflow:hidden;padding:0 18px;width:var(--kup_familytree_item_width);z-index:1}.family-tree__item__wrapper .f-button{--kup-button-primary-color:var(--kup-text-color);--kup-button-primary-color-rgb:var(--kup-text-color-rgb);--kup-button-primary-color-h:var(--kup-text-color-h);--kup-button-primary-color-s:var(--kup-text-color-s);--kup-button-primary-color-l:var(--kup-text-color-l);margin:0 auto;width:max-content}.family-tree__item__wrapper .f-button button{height:32px;width:32px}.family-tree__item__layout{background-color:var(--kup_familytree_item_background_color);border:1px solid var(--kup_familytree_lines_color);border-radius:8px;box-sizing:border-box;display:flex;height:var(--kup_familytree_item_height);margin:0 18px;width:var(--kup_familytree_item_width)}.family-tree__item__layout--1{justify-content:center;color:var(--kup_familytree_item_color)}.family-tree__item__layout--1>.family-tree__item__layout__text__title{margin-top:auto;margin-bottom:auto}.family-tree__item__layout--2{background-color:var(--kup_familytree_item_background_color);justify-content:flex-start}.family-tree__item__layout__color{background-color:var(--kup-secondary-color);border-bottom-left-radius:8px;border-top-left-radius:8px;height:100%;width:10px}.family-tree__item__layout__image{display:flex;margin:auto 10px}.family-tree__item__layout__image img{border-radius:50px;object-fit:cover}.family-tree__item__layout__text{display:flex;flex-direction:column;justify-content:center}.family-tree__item__layout__text__title{font-size:18px;margin-bottom:5px}.family-tree__item__layout__text__subtitle{font-size:14px}.family-tree__item__layout__text__title,.family-tree__item__layout__text__subtitle{max-width:calc(var(--kup_familytree_item_width) - 30%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
|
|
29
29
|
|
|
30
30
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
31
31
|
if (kind === "a" && !f)
|
|
@@ -43,7 +43,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
43
43
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
44
44
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
45
45
|
};
|
|
46
|
-
var _KupFamilyTree_instances, _KupFamilyTree_clickTimeout, _KupFamilyTree_hold, _KupFamilyTree_currentPanX, _KupFamilyTree_currentPanY, _KupFamilyTree_interactableTouch, _KupFamilyTree_kupManager, _KupFamilyTree_moveCb, _KupFamilyTree_shouldAutofit, _KupFamilyTree_wrapperEl, _KupFamilyTree_buildChildLine, _KupFamilyTree_buildNode, _KupFamilyTree_buildNodeLayout, _KupFamilyTree_buildNodeLayout1, _KupFamilyTree_buildNodeLayout2, _KupFamilyTree_buildNodes, _KupFamilyTree_createTree, _KupFamilyTree_isBoxLayout, _KupFamilyTree_startPanning,
|
|
46
|
+
var _KupFamilyTree_instances, _KupFamilyTree_clickTimeout, _KupFamilyTree_hold, _KupFamilyTree_currentPanX, _KupFamilyTree_currentPanY, _KupFamilyTree_interactableTouch, _KupFamilyTree_kupManager, _KupFamilyTree_moveCb, _KupFamilyTree_shouldAutofit, _KupFamilyTree_wrapperEl, _KupFamilyTree_buildChildLine, _KupFamilyTree_buildNode, _KupFamilyTree_buildNodeLayout, _KupFamilyTree_buildNodeLayout1, _KupFamilyTree_buildNodeLayout2, _KupFamilyTree_buildNodes, _KupFamilyTree_createTree, _KupFamilyTree_isBoxLayout, _KupFamilyTree_startPanning, _KupFamilyTree_getEventDetails, _KupFamilyTree_clickHandler, _KupFamilyTree_contextMenuHandler, _KupFamilyTree_dblClickHandler, _KupFamilyTree_didLoadInteractables, _KupFamilyTree_zoomTree;
|
|
47
47
|
const KupFamilyTree = class {
|
|
48
48
|
constructor(hostRef) {
|
|
49
49
|
index.registerInstance(this, hostRef);
|
|
@@ -325,17 +325,6 @@ _KupFamilyTree_clickTimeout = new WeakMap(), _KupFamilyTree_hold = new WeakMap()
|
|
|
325
325
|
};
|
|
326
326
|
document.addEventListener('pointermove', __classPrivateFieldGet(this, _KupFamilyTree_moveCb, "f"));
|
|
327
327
|
document.addEventListener('pointerup', endPanning);
|
|
328
|
-
}, _KupFamilyTree_getEventPath = function _KupFamilyTree_getEventPath(currentEl) {
|
|
329
|
-
const path = [];
|
|
330
|
-
while (currentEl &&
|
|
331
|
-
currentEl !== this.rootElement &&
|
|
332
|
-
currentEl !== document.body) {
|
|
333
|
-
path.push(currentEl);
|
|
334
|
-
currentEl = currentEl.parentNode
|
|
335
|
-
? currentEl.parentNode
|
|
336
|
-
: currentEl.host;
|
|
337
|
-
}
|
|
338
|
-
return path;
|
|
339
328
|
}, _KupFamilyTree_getEventDetails = function _KupFamilyTree_getEventDetails(path, e) {
|
|
340
329
|
let expandButton;
|
|
341
330
|
let td;
|
|
@@ -371,13 +360,13 @@ _KupFamilyTree_clickTimeout = new WeakMap(), _KupFamilyTree_hold = new WeakMap()
|
|
|
371
360
|
td: td ? td : null,
|
|
372
361
|
};
|
|
373
362
|
}, _KupFamilyTree_clickHandler = function _KupFamilyTree_clickHandler(e) {
|
|
374
|
-
const details = __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_getEventDetails).call(this, __classPrivateFieldGet(this,
|
|
363
|
+
const details = __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_getEventDetails).call(this, __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
375
364
|
return details;
|
|
376
365
|
}, _KupFamilyTree_contextMenuHandler = function _KupFamilyTree_contextMenuHandler(e) {
|
|
377
|
-
const details = __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_getEventDetails).call(this, __classPrivateFieldGet(this,
|
|
366
|
+
const details = __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_getEventDetails).call(this, __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
378
367
|
return details;
|
|
379
368
|
}, _KupFamilyTree_dblClickHandler = function _KupFamilyTree_dblClickHandler(e) {
|
|
380
|
-
const details = __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_getEventDetails).call(this, __classPrivateFieldGet(this,
|
|
369
|
+
const details = __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_getEventDetails).call(this, __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
381
370
|
return details;
|
|
382
371
|
}, _KupFamilyTree_didLoadInteractables = function _KupFamilyTree_didLoadInteractables() {
|
|
383
372
|
__classPrivateFieldGet(this, _KupFamilyTree_interactableTouch, "f").push(this.rootElement);
|
|
@@ -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-62ae342a.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props of the kup-iframe component.
|
|
@@ -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-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-62ae342a.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-58de00ed.js');
|
|
9
|
+
const fButton = require('./f-button-b4493396.js');
|
|
10
10
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
12
|
-
const component = require('./component-
|
|
13
|
-
require('./f-checkbox-
|
|
14
|
-
require('./f-text-field-
|
|
15
|
-
require('./f-chip-
|
|
16
|
-
require('./tslib.es6-
|
|
11
|
+
const fCell = require('./f-cell-356b4a8f.js');
|
|
12
|
+
const component = require('./component-85c2bd4d.js');
|
|
13
|
+
require('./f-checkbox-1148e791.js');
|
|
14
|
+
require('./f-text-field-fdba1e89.js');
|
|
15
|
+
require('./f-chip-617af9d4.js');
|
|
16
|
+
require('./tslib.es6-386654de.js');
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* 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-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-62ae342a.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-62ae342a.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
8
|
+
const fImage = require('./f-image-58de00ed.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
10
10
|
|
|
11
11
|
/**
|