@sme.up/ketchup 7.1.0 → 7.2.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-1d63db82.js} +2 -2
- package/dist/cjs/{f-cell-e603ae4f.js → f-cell-abc20cee.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-ae40e47a.js} +6 -4
- package/dist/cjs/{f-image-f741cb4c.js → f-image-c5f5880a.js} +2 -2
- package/dist/cjs/{f-paginator-utils-35a6a848.js → f-paginator-utils-e8449af2.js} +3 -3
- package/dist/cjs/{f-text-field-60a2f24c.js → f-text-field-d200b904.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} +1028 -861
- 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 +2 -2
- package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
- package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +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-bbbe0491.js} +58 -13
- 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/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/dialog/kup-card-dialog.js +12 -0
- package/dist/collection/components/kup-card/kup-card.css +0 -22
- 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-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 +64 -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-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-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +6 -3
- 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 +1622 -1187
- 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 +20 -15
- 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-a8843fb2.js} +2 -2
- package/dist/esm/{f-cell-556937d0.js → f-cell-aa0acc55.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-4555fb98.js} +6 -4
- package/dist/esm/{f-image-52bb5950.js → f-image-fed7623c.js} +2 -2
- package/dist/esm/{f-paginator-utils-d472e336.js → f-paginator-utils-8c88fab3.js} +3 -3
- package/dist/esm/{f-text-field-88f92118.js → f-text-field-b74f4b58.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} +1009 -843
- 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 +2 -2
- package/dist/esm/kup-dash_2.entry.js +2 -2
- package/dist/esm/kup-dashboard.entry.js +6 -6
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +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-311c87ab.js} +59 -14
- 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-c59e6bc7.entry.js → p-028e4c1d.entry.js} +1 -1
- package/dist/ketchup/p-06d55b09.entry.js +39 -0
- package/dist/ketchup/p-09b2668f.entry.js +27 -0
- package/dist/ketchup/p-115220b5.entry.js +1 -0
- package/dist/ketchup/{p-ce1da4a8.entry.js → p-17d827e8.entry.js} +1 -1
- package/dist/ketchup/{p-60609877.entry.js → p-1d7f90be.entry.js} +1 -1
- package/dist/ketchup/p-1e5fda58.entry.js +1 -0
- package/dist/ketchup/{p-ac33139e.entry.js → p-247362de.entry.js} +1 -1
- package/dist/ketchup/{p-25617855.js → p-388d18a1.js} +1 -1
- package/dist/ketchup/{p-88adddcf.entry.js → p-3a0cf42a.entry.js} +1 -1
- package/dist/ketchup/{p-9570ebfa.js → p-48be0d93.js} +1 -1
- package/dist/ketchup/p-4c0206cf.entry.js +1 -0
- package/dist/ketchup/{p-85c7a3a4.js → p-519f4074.js} +1 -1
- package/dist/ketchup/{p-053824eb.entry.js → p-5f920acd.entry.js} +1 -1
- package/dist/ketchup/{p-ad3e7b2b.entry.js → p-6ae98bb0.entry.js} +1 -1
- package/dist/ketchup/p-6dde2079.entry.js +1 -0
- package/dist/ketchup/p-79b0730b.js +1 -1
- package/dist/ketchup/{p-4f7302a9.js → p-7e9f8adf.js} +1 -1
- package/dist/ketchup/p-7f9912b1.js +1 -0
- package/dist/ketchup/p-8df0191d.entry.js +9 -0
- package/dist/ketchup/{p-e094ebb8.entry.js → p-910249f5.entry.js} +1 -1
- package/dist/ketchup/{p-52f19c4f.entry.js → p-9174622b.entry.js} +1 -1
- package/dist/ketchup/p-9dcfbb1e.js +2 -0
- package/dist/ketchup/{p-23cd5a68.js → p-9f9b6656.js} +1 -1
- package/dist/ketchup/{p-3a7a05a7.entry.js → p-a1708266.entry.js} +1 -1
- package/dist/ketchup/p-b67a295b.js +30 -0
- package/dist/ketchup/{p-485883cb.entry.js → p-bc68a9de.entry.js} +1 -1
- package/dist/ketchup/p-cb28bc8c.js +1 -0
- package/dist/ketchup/p-de9375f7.entry.js +1 -0
- package/dist/ketchup/{p-f44aba79.entry.js → p-df6617bc.entry.js} +1 -1
- package/dist/ketchup/{p-94290b09.entry.js → p-fb6ee94f.entry.js} +1 -1
- 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/dialog/kup-card-dialog.d.ts +6 -0
- 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-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-tree/kup-tree-declarations.d.ts +1 -1
- package/dist/types/components.d.ts +185 -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/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +3 -1
- package/package.json +2 -2
- 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-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-b0f22298.entry.js +0 -9
- package/dist/ketchup/p-e0135ce0.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, am as KupLanguageDashboard, ab as FButton, Q as KupLanguageGeneric, an as FTextField, ao as FCheckbox, V as KupDragEffect, S as KupDebugCategory, Y as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, h as defineCustomElement$6, i as defineCustomElement$7, j as defineCustomElement$8, l as defineCustomElement$9, m as defineCustomElement$a, n as defineCustomElement$b, o as defineCustomElement$c, p as defineCustomElement$d, q as defineCustomElement$e, r as defineCustomElement$f, t as defineCustomElement$g, u as defineCustomElement$h, v as defineCustomElement$i, w as defineCustomElement$j, x as defineCustomElement$k, y as defineCustomElement$l, z as defineCustomElement$m, A as defineCustomElement$n, B as defineCustomElement$o, C as defineCustomElement$p, D as defineCustomElement$q, E as defineCustomElement$r, G as defineCustomElement$s } from './kup-autocomplete2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Props of the kup-dashboard component.
|
|
@@ -413,7 +413,7 @@ function defineCustomElement$1() {
|
|
|
413
413
|
if (typeof customElements === "undefined") {
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
416
|
-
const components = ["kup-dashboard", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
416
|
+
const components = ["kup-dashboard", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
417
417
|
components.forEach(tagName => { switch (tagName) {
|
|
418
418
|
case "kup-dashboard":
|
|
419
419
|
if (!customElements.get(tagName)) {
|
|
@@ -422,60 +422,65 @@ function defineCustomElement$1() {
|
|
|
422
422
|
break;
|
|
423
423
|
case "kup-autocomplete":
|
|
424
424
|
if (!customElements.get(tagName)) {
|
|
425
|
-
defineCustomElement$
|
|
425
|
+
defineCustomElement$s();
|
|
426
426
|
}
|
|
427
427
|
break;
|
|
428
428
|
case "kup-badge":
|
|
429
429
|
if (!customElements.get(tagName)) {
|
|
430
|
-
defineCustomElement$
|
|
430
|
+
defineCustomElement$r();
|
|
431
431
|
}
|
|
432
432
|
break;
|
|
433
433
|
case "kup-button":
|
|
434
434
|
if (!customElements.get(tagName)) {
|
|
435
|
-
defineCustomElement$
|
|
435
|
+
defineCustomElement$q();
|
|
436
436
|
}
|
|
437
437
|
break;
|
|
438
438
|
case "kup-button-list":
|
|
439
439
|
if (!customElements.get(tagName)) {
|
|
440
|
-
defineCustomElement$
|
|
440
|
+
defineCustomElement$p();
|
|
441
441
|
}
|
|
442
442
|
break;
|
|
443
443
|
case "kup-card":
|
|
444
444
|
if (!customElements.get(tagName)) {
|
|
445
|
-
defineCustomElement$
|
|
445
|
+
defineCustomElement$o();
|
|
446
446
|
}
|
|
447
447
|
break;
|
|
448
448
|
case "kup-chart":
|
|
449
449
|
if (!customElements.get(tagName)) {
|
|
450
|
-
defineCustomElement$
|
|
450
|
+
defineCustomElement$n();
|
|
451
451
|
}
|
|
452
452
|
break;
|
|
453
453
|
case "kup-checkbox":
|
|
454
454
|
if (!customElements.get(tagName)) {
|
|
455
|
-
defineCustomElement$
|
|
455
|
+
defineCustomElement$m();
|
|
456
456
|
}
|
|
457
457
|
break;
|
|
458
458
|
case "kup-chip":
|
|
459
459
|
if (!customElements.get(tagName)) {
|
|
460
|
-
defineCustomElement$
|
|
460
|
+
defineCustomElement$l();
|
|
461
461
|
}
|
|
462
462
|
break;
|
|
463
463
|
case "kup-color-picker":
|
|
464
464
|
if (!customElements.get(tagName)) {
|
|
465
|
-
defineCustomElement$
|
|
465
|
+
defineCustomElement$k();
|
|
466
466
|
}
|
|
467
467
|
break;
|
|
468
468
|
case "kup-combobox":
|
|
469
469
|
if (!customElements.get(tagName)) {
|
|
470
|
-
defineCustomElement$
|
|
470
|
+
defineCustomElement$j();
|
|
471
471
|
}
|
|
472
472
|
break;
|
|
473
473
|
case "kup-data-table":
|
|
474
474
|
if (!customElements.get(tagName)) {
|
|
475
|
-
defineCustomElement$
|
|
475
|
+
defineCustomElement$i();
|
|
476
476
|
}
|
|
477
477
|
break;
|
|
478
478
|
case "kup-date-picker":
|
|
479
|
+
if (!customElements.get(tagName)) {
|
|
480
|
+
defineCustomElement$h();
|
|
481
|
+
}
|
|
482
|
+
break;
|
|
483
|
+
case "kup-dialog":
|
|
479
484
|
if (!customElements.get(tagName)) {
|
|
480
485
|
defineCustomElement$g();
|
|
481
486
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ap as KupDataTable$1, v as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDataTable = KupDataTable$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aq as KupDatePicker$1, u as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDatePicker = KupDatePicker$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface KupDialog extends Components.KupDialog, HTMLElement {}
|
|
4
|
+
export const KupDialog: {
|
|
5
|
+
prototype: KupDialog;
|
|
6
|
+
new (): KupDialog;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, c as componentWrapperId, d as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, h as defineCustomElement$6, i as defineCustomElement$7, j as defineCustomElement$8, l as defineCustomElement$9, m as defineCustomElement$a, n as defineCustomElement$b, o as defineCustomElement$c, p as defineCustomElement$d, q as defineCustomElement$e, r as defineCustomElement$f, t as defineCustomElement$g, u as defineCustomElement$h, v as defineCustomElement$i, w as defineCustomElement$j, x as defineCustomElement$k, y as defineCustomElement$l, z as defineCustomElement$m, A as defineCustomElement$n, B as defineCustomElement$o, C as defineCustomElement$p, D as defineCustomElement$q, E as defineCustomElement$r } from './kup-autocomplete2.js';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as componentWrapperId, d as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, h as defineCustomElement$6, i as defineCustomElement$7, j as defineCustomElement$8, l as defineCustomElement$9, m as defineCustomElement$a, n as defineCustomElement$b, o as defineCustomElement$c, p as defineCustomElement$d, q as defineCustomElement$e, r as defineCustomElement$f, t as defineCustomElement$g, u as defineCustomElement$h, v as defineCustomElement$i, w as defineCustomElement$j, x as defineCustomElement$k, y as defineCustomElement$l, z as defineCustomElement$m, A as defineCustomElement$n, B as defineCustomElement$o, C as defineCustomElement$p, D as defineCustomElement$q, E as defineCustomElement$r, G as defineCustomElement$s } from './kup-autocomplete2.js';
|
|
3
3
|
|
|
4
4
|
const drawerClass = 'drawer';
|
|
5
5
|
/**
|
|
@@ -157,7 +157,7 @@ function defineCustomElement$1() {
|
|
|
157
157
|
if (typeof customElements === "undefined") {
|
|
158
158
|
return;
|
|
159
159
|
}
|
|
160
|
-
const components = ["kup-drawer", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
160
|
+
const components = ["kup-drawer", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
161
161
|
components.forEach(tagName => { switch (tagName) {
|
|
162
162
|
case "kup-drawer":
|
|
163
163
|
if (!customElements.get(tagName)) {
|
|
@@ -166,60 +166,65 @@ function defineCustomElement$1() {
|
|
|
166
166
|
break;
|
|
167
167
|
case "kup-autocomplete":
|
|
168
168
|
if (!customElements.get(tagName)) {
|
|
169
|
-
defineCustomElement$
|
|
169
|
+
defineCustomElement$s();
|
|
170
170
|
}
|
|
171
171
|
break;
|
|
172
172
|
case "kup-badge":
|
|
173
173
|
if (!customElements.get(tagName)) {
|
|
174
|
-
defineCustomElement$
|
|
174
|
+
defineCustomElement$r();
|
|
175
175
|
}
|
|
176
176
|
break;
|
|
177
177
|
case "kup-button":
|
|
178
178
|
if (!customElements.get(tagName)) {
|
|
179
|
-
defineCustomElement$
|
|
179
|
+
defineCustomElement$q();
|
|
180
180
|
}
|
|
181
181
|
break;
|
|
182
182
|
case "kup-button-list":
|
|
183
183
|
if (!customElements.get(tagName)) {
|
|
184
|
-
defineCustomElement$
|
|
184
|
+
defineCustomElement$p();
|
|
185
185
|
}
|
|
186
186
|
break;
|
|
187
187
|
case "kup-card":
|
|
188
188
|
if (!customElements.get(tagName)) {
|
|
189
|
-
defineCustomElement$
|
|
189
|
+
defineCustomElement$o();
|
|
190
190
|
}
|
|
191
191
|
break;
|
|
192
192
|
case "kup-chart":
|
|
193
193
|
if (!customElements.get(tagName)) {
|
|
194
|
-
defineCustomElement$
|
|
194
|
+
defineCustomElement$n();
|
|
195
195
|
}
|
|
196
196
|
break;
|
|
197
197
|
case "kup-checkbox":
|
|
198
198
|
if (!customElements.get(tagName)) {
|
|
199
|
-
defineCustomElement$
|
|
199
|
+
defineCustomElement$m();
|
|
200
200
|
}
|
|
201
201
|
break;
|
|
202
202
|
case "kup-chip":
|
|
203
203
|
if (!customElements.get(tagName)) {
|
|
204
|
-
defineCustomElement$
|
|
204
|
+
defineCustomElement$l();
|
|
205
205
|
}
|
|
206
206
|
break;
|
|
207
207
|
case "kup-color-picker":
|
|
208
208
|
if (!customElements.get(tagName)) {
|
|
209
|
-
defineCustomElement$
|
|
209
|
+
defineCustomElement$k();
|
|
210
210
|
}
|
|
211
211
|
break;
|
|
212
212
|
case "kup-combobox":
|
|
213
213
|
if (!customElements.get(tagName)) {
|
|
214
|
-
defineCustomElement$
|
|
214
|
+
defineCustomElement$j();
|
|
215
215
|
}
|
|
216
216
|
break;
|
|
217
217
|
case "kup-data-table":
|
|
218
218
|
if (!customElements.get(tagName)) {
|
|
219
|
-
defineCustomElement$
|
|
219
|
+
defineCustomElement$i();
|
|
220
220
|
}
|
|
221
221
|
break;
|
|
222
222
|
case "kup-date-picker":
|
|
223
|
+
if (!customElements.get(tagName)) {
|
|
224
|
+
defineCustomElement$h();
|
|
225
|
+
}
|
|
226
|
+
break;
|
|
227
|
+
case "kup-dialog":
|
|
223
228
|
if (!customElements.get(tagName)) {
|
|
224
229
|
defineCustomElement$g();
|
|
225
230
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { as as KupDropdownButton$1, r as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDropdownButton = KupDropdownButton$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host, getAssetPath } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, K as KupThemeColorValues, S as KupDebugCategory, c as componentWrapperId, P as getColumnByName, at as KupDataNewColumnTypes, d as defineCustomElement$1, b as defineCustomElement$2, e as defineCustomElement$3, f as defineCustomElement$4, h as defineCustomElement$5, i as defineCustomElement$6, j as defineCustomElement$7, l as defineCustomElement$8, m as defineCustomElement$9, n as defineCustomElement$a, o as defineCustomElement$b, p as defineCustomElement$c, q as defineCustomElement$d, r as defineCustomElement$e, t as defineCustomElement$f, u as defineCustomElement$g, v as defineCustomElement$h, w as defineCustomElement$i, x as defineCustomElement$j, y as defineCustomElement$k, z as defineCustomElement$l, A as defineCustomElement$m, B as defineCustomElement$n, C as defineCustomElement$o, D as defineCustomElement$p, E as defineCustomElement$q, G as defineCustomElement$r } from './kup-autocomplete2.js';
|
|
3
3
|
|
|
4
4
|
/*! *****************************************************************************
|
|
5
5
|
Copyright (c) Microsoft Corporation.
|
|
@@ -93302,6 +93302,7 @@ var KupEchartTypes;
|
|
|
93302
93302
|
KupEchartTypes["MAP"] = "Map";
|
|
93303
93303
|
KupEchartTypes["PIE"] = "Pie";
|
|
93304
93304
|
KupEchartTypes["SCATTER"] = "Scatter";
|
|
93305
|
+
KupEchartTypes["FUNNEL"] = "Funnel";
|
|
93305
93306
|
})(KupEchartTypes || (KupEchartTypes = {}));
|
|
93306
93307
|
|
|
93307
93308
|
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}";
|
|
@@ -93322,7 +93323,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
93322
93323
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
93323
93324
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
93324
93325
|
};
|
|
93325
|
-
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground,
|
|
93326
|
+
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;
|
|
93326
93327
|
const KupEchart = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
93327
93328
|
constructor() {
|
|
93328
93329
|
super();
|
|
@@ -93342,7 +93343,6 @@ const KupEchart = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
93342
93343
|
_KupEchart_sortedDataset.set(this, null);
|
|
93343
93344
|
_KupEchart_themeBorder.set(this, null);
|
|
93344
93345
|
_KupEchart_themeBackground.set(this, null);
|
|
93345
|
-
_KupEchart_computedColors.set(this, null);
|
|
93346
93346
|
_KupEchart_minColorHeatMap.set(this, null);
|
|
93347
93347
|
_KupEchart_maxColorHeatMap.set(this, null);
|
|
93348
93348
|
_KupEchart_themeFont.set(this, null);
|
|
@@ -93420,8 +93420,11 @@ const KupEchart = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
93420
93420
|
__classPrivateFieldGet(this, _KupEchart_kupManager, "f").debug.logLoad(this, true);
|
|
93421
93421
|
}
|
|
93422
93422
|
componentWillRender() {
|
|
93423
|
+
__classPrivateFieldSet(this, _KupEchart_themeBackground, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[KupThemeColorValues.BACKGROUND], "f");
|
|
93424
|
+
__classPrivateFieldSet(this, _KupEchart_themeBorder, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[KupThemeColorValues.BORDER], "f");
|
|
93425
|
+
__classPrivateFieldSet(this, _KupEchart_themeFont, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars['--kup-font-family'], "f");
|
|
93426
|
+
__classPrivateFieldSet(this, _KupEchart_themeText, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[KupThemeColorValues.TEXT], "f");
|
|
93423
93427
|
__classPrivateFieldGet(this, _KupEchart_kupManager, "f").debug.logRender(this, false);
|
|
93424
|
-
__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_fetchcomputedColors).call(this);
|
|
93425
93428
|
}
|
|
93426
93429
|
componentDidRender() {
|
|
93427
93430
|
if (this.data && this.data.columns && this.data.rows) {
|
|
@@ -93466,7 +93469,7 @@ const KupEchart = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
93466
93469
|
"resizeCallback": [64],
|
|
93467
93470
|
"setProps": [64]
|
|
93468
93471
|
}]);
|
|
93469
|
-
_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(),
|
|
93472
|
+
_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() {
|
|
93470
93473
|
if (__classPrivateFieldGet(this, _KupEchart_chartEl, "f")) {
|
|
93471
93474
|
dispose(__classPrivateFieldGet(this, _KupEchart_chartContainer, "f"));
|
|
93472
93475
|
}
|
|
@@ -93508,6 +93511,9 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93508
93511
|
case KupEchartTypes.PIE:
|
|
93509
93512
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setPieOptions).call(this);
|
|
93510
93513
|
break;
|
|
93514
|
+
case KupEchartTypes.FUNNEL:
|
|
93515
|
+
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_funnelChart).call(this);
|
|
93516
|
+
break;
|
|
93511
93517
|
default:
|
|
93512
93518
|
options = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setOptions).call(this);
|
|
93513
93519
|
break;
|
|
@@ -93538,6 +93544,73 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93538
93544
|
y: Array.isArray(e.data) ? e.data[1] : e.value,
|
|
93539
93545
|
});
|
|
93540
93546
|
});
|
|
93547
|
+
}, _KupEchart_funnelChart = function _KupEchart_funnelChart() {
|
|
93548
|
+
const x = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createX).call(this);
|
|
93549
|
+
const y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this);
|
|
93550
|
+
const cellsSum = {};
|
|
93551
|
+
const data = [];
|
|
93552
|
+
let highest = 0;
|
|
93553
|
+
for (let key in y) {
|
|
93554
|
+
for (let j = 0; j < y[key].length; j++) {
|
|
93555
|
+
if (cellsSum[x[j]]) {
|
|
93556
|
+
cellsSum[x[j]] += parseFloat(y[key][j]);
|
|
93557
|
+
}
|
|
93558
|
+
else {
|
|
93559
|
+
cellsSum[x[j]] = parseFloat(y[key][j]);
|
|
93560
|
+
}
|
|
93561
|
+
}
|
|
93562
|
+
}
|
|
93563
|
+
for (let key in cellsSum) {
|
|
93564
|
+
const value = cellsSum[key];
|
|
93565
|
+
if (value > highest) {
|
|
93566
|
+
highest = value;
|
|
93567
|
+
}
|
|
93568
|
+
}
|
|
93569
|
+
for (const key in cellsSum) {
|
|
93570
|
+
const value = cellsSum[key];
|
|
93571
|
+
data.push({
|
|
93572
|
+
name: key,
|
|
93573
|
+
value: ((100 * value) / highest).toFixed(2),
|
|
93574
|
+
});
|
|
93575
|
+
}
|
|
93576
|
+
return {
|
|
93577
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(cellsSum).length),
|
|
93578
|
+
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
93579
|
+
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (value) => {
|
|
93580
|
+
const name = value.data.name;
|
|
93581
|
+
const percentage = value.data
|
|
93582
|
+
.value;
|
|
93583
|
+
return `${name}: <strong>${cellsSum[name]}</strong> (${__classPrivateFieldGet(this, _KupEchart_kupManager, "f").math.format(percentage)}%)`;
|
|
93584
|
+
} }),
|
|
93585
|
+
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, cellsSum),
|
|
93586
|
+
series: [
|
|
93587
|
+
{
|
|
93588
|
+
name: __classPrivateFieldGet(this, _KupEchart_kupManager, "f").data.column.find(this.data, {
|
|
93589
|
+
name: this.axis,
|
|
93590
|
+
})[0].title,
|
|
93591
|
+
type: 'funnel',
|
|
93592
|
+
gap: 2,
|
|
93593
|
+
label: {
|
|
93594
|
+
show: true,
|
|
93595
|
+
position: 'right',
|
|
93596
|
+
},
|
|
93597
|
+
labelLine: {
|
|
93598
|
+
lineStyle: {
|
|
93599
|
+
width: 1,
|
|
93600
|
+
type: 'solid',
|
|
93601
|
+
},
|
|
93602
|
+
},
|
|
93603
|
+
itemStyle: {
|
|
93604
|
+
borderColor: __classPrivateFieldGet(this, _KupEchart_themeBackground, "f"),
|
|
93605
|
+
borderWidth: 1,
|
|
93606
|
+
},
|
|
93607
|
+
left: '10%',
|
|
93608
|
+
right: '10%',
|
|
93609
|
+
width: '80%',
|
|
93610
|
+
data,
|
|
93611
|
+
},
|
|
93612
|
+
],
|
|
93613
|
+
};
|
|
93541
93614
|
}, _KupEchart_createX = function _KupEchart_createX(dataset = null) {
|
|
93542
93615
|
const x = [];
|
|
93543
93616
|
if (!dataset)
|
|
@@ -93687,6 +93760,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93687
93760
|
}
|
|
93688
93761
|
return opts;
|
|
93689
93762
|
}, _KupEchart_setMapOptions = function _KupEchart_setMapOptions(map) {
|
|
93763
|
+
const computedColors = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, 3);
|
|
93690
93764
|
const mapJson = JSON.parse(map);
|
|
93691
93765
|
const isoA2 = [];
|
|
93692
93766
|
const names = [];
|
|
@@ -93819,7 +93893,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93819
93893
|
roam: true,
|
|
93820
93894
|
select: {
|
|
93821
93895
|
itemStyle: {
|
|
93822
|
-
areaColor:
|
|
93896
|
+
areaColor: computedColors[0],
|
|
93823
93897
|
},
|
|
93824
93898
|
label: {
|
|
93825
93899
|
color: __classPrivateFieldGet(this, _KupEchart_themeText, "f"),
|
|
@@ -93845,7 +93919,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93845
93919
|
});
|
|
93846
93920
|
}
|
|
93847
93921
|
return {
|
|
93848
|
-
color: __classPrivateFieldGet(this,
|
|
93922
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length),
|
|
93849
93923
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
93850
93924
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
93851
93925
|
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: '{a} <br/>{b}: {c} ({d}%)' }),
|
|
@@ -93996,7 +94070,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
93996
94070
|
yAxisTmp.splice(0, 1);
|
|
93997
94071
|
}
|
|
93998
94072
|
return {
|
|
93999
|
-
color: __classPrivateFieldGet(this,
|
|
94073
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length),
|
|
94000
94074
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
94001
94075
|
series: series,
|
|
94002
94076
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
@@ -94059,7 +94133,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94059
94133
|
i++;
|
|
94060
94134
|
}
|
|
94061
94135
|
return {
|
|
94062
|
-
color: __classPrivateFieldGet(this,
|
|
94136
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length),
|
|
94063
94137
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
94064
94138
|
series: series,
|
|
94065
94139
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
@@ -94067,17 +94141,12 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94067
94141
|
xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: x, type: 'category' }), this.xAxis),
|
|
94068
94142
|
yAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { type: 'value' }), this.yAxis),
|
|
94069
94143
|
};
|
|
94070
|
-
},
|
|
94144
|
+
}, _KupEchart_setColors = function _KupEchart_setColors(requiredNumber) {
|
|
94071
94145
|
let colorArray = this.colors && this.colors.length > 0 ? [...this.colors] : [];
|
|
94072
94146
|
let key = '--kup-chart-color-';
|
|
94073
94147
|
for (let index = 1; __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[key + index]; index++) {
|
|
94074
94148
|
colorArray.push(__classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[key + index]);
|
|
94075
94149
|
}
|
|
94076
|
-
__classPrivateFieldSet(this, _KupEchart_themeBackground, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[KupThemeColorValues.BACKGROUND], "f");
|
|
94077
|
-
__classPrivateFieldSet(this, _KupEchart_themeBorder, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[KupThemeColorValues.BORDER], "f");
|
|
94078
|
-
__classPrivateFieldSet(this, _KupEchart_themeFont, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars['--kup-font-family'], "f");
|
|
94079
|
-
__classPrivateFieldSet(this, _KupEchart_themeText, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.cssVars[KupThemeColorValues.TEXT], "f");
|
|
94080
|
-
__classPrivateFieldSet(this, _KupEchart_computedColors, colorArray, "f");
|
|
94081
94150
|
if (this.colors && this.colors[0]) {
|
|
94082
94151
|
__classPrivateFieldSet(this, _KupEchart_maxColorHeatMap, this.colors[0], "f");
|
|
94083
94152
|
}
|
|
@@ -94092,6 +94161,10 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94092
94161
|
const colorCheckBright = __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.colorCheck(colorArray[0]);
|
|
94093
94162
|
__classPrivateFieldSet(this, _KupEchart_minColorHeatMap, `hsl(${colorCheckBright.hue}, ${colorCheckBright.saturation}, ${(parseFloat(colorCheckBright.lightness) + 30).toString()}%)`, "f");
|
|
94094
94163
|
}
|
|
94164
|
+
for (let index = colorArray.length; requiredNumber && index < requiredNumber; index++) {
|
|
94165
|
+
colorArray.push(__classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.randomColor(128));
|
|
94166
|
+
}
|
|
94167
|
+
return colorArray;
|
|
94095
94168
|
}, _KupEchart_checks = function _KupEchart_checks() {
|
|
94096
94169
|
const gaussianCount = this.types.filter((type) => type === KupEchartTypes.GAUSSIAN).length;
|
|
94097
94170
|
const nonGaussianCount = this.types.filter((type) => type === KupEchartTypes.GAUSSIAN).length;
|
|
@@ -94176,7 +94249,7 @@ function defineCustomElement() {
|
|
|
94176
94249
|
if (typeof customElements === "undefined") {
|
|
94177
94250
|
return;
|
|
94178
94251
|
}
|
|
94179
|
-
const components = ["kup-echart", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
94252
|
+
const components = ["kup-echart", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
94180
94253
|
components.forEach(tagName => { switch (tagName) {
|
|
94181
94254
|
case "kup-echart":
|
|
94182
94255
|
if (!customElements.get(tagName)) {
|
|
@@ -94185,60 +94258,65 @@ function defineCustomElement() {
|
|
|
94185
94258
|
break;
|
|
94186
94259
|
case "kup-autocomplete":
|
|
94187
94260
|
if (!customElements.get(tagName)) {
|
|
94188
|
-
defineCustomElement$
|
|
94261
|
+
defineCustomElement$r();
|
|
94189
94262
|
}
|
|
94190
94263
|
break;
|
|
94191
94264
|
case "kup-badge":
|
|
94192
94265
|
if (!customElements.get(tagName)) {
|
|
94193
|
-
defineCustomElement$
|
|
94266
|
+
defineCustomElement$q();
|
|
94194
94267
|
}
|
|
94195
94268
|
break;
|
|
94196
94269
|
case "kup-button":
|
|
94197
94270
|
if (!customElements.get(tagName)) {
|
|
94198
|
-
defineCustomElement$
|
|
94271
|
+
defineCustomElement$p();
|
|
94199
94272
|
}
|
|
94200
94273
|
break;
|
|
94201
94274
|
case "kup-button-list":
|
|
94202
94275
|
if (!customElements.get(tagName)) {
|
|
94203
|
-
defineCustomElement$
|
|
94276
|
+
defineCustomElement$o();
|
|
94204
94277
|
}
|
|
94205
94278
|
break;
|
|
94206
94279
|
case "kup-card":
|
|
94207
94280
|
if (!customElements.get(tagName)) {
|
|
94208
|
-
defineCustomElement$
|
|
94281
|
+
defineCustomElement$n();
|
|
94209
94282
|
}
|
|
94210
94283
|
break;
|
|
94211
94284
|
case "kup-chart":
|
|
94212
94285
|
if (!customElements.get(tagName)) {
|
|
94213
|
-
defineCustomElement$
|
|
94286
|
+
defineCustomElement$m();
|
|
94214
94287
|
}
|
|
94215
94288
|
break;
|
|
94216
94289
|
case "kup-checkbox":
|
|
94217
94290
|
if (!customElements.get(tagName)) {
|
|
94218
|
-
defineCustomElement$
|
|
94291
|
+
defineCustomElement$l();
|
|
94219
94292
|
}
|
|
94220
94293
|
break;
|
|
94221
94294
|
case "kup-chip":
|
|
94222
94295
|
if (!customElements.get(tagName)) {
|
|
94223
|
-
defineCustomElement$
|
|
94296
|
+
defineCustomElement$k();
|
|
94224
94297
|
}
|
|
94225
94298
|
break;
|
|
94226
94299
|
case "kup-color-picker":
|
|
94227
94300
|
if (!customElements.get(tagName)) {
|
|
94228
|
-
defineCustomElement$
|
|
94301
|
+
defineCustomElement$j();
|
|
94229
94302
|
}
|
|
94230
94303
|
break;
|
|
94231
94304
|
case "kup-combobox":
|
|
94232
94305
|
if (!customElements.get(tagName)) {
|
|
94233
|
-
defineCustomElement$
|
|
94306
|
+
defineCustomElement$i();
|
|
94234
94307
|
}
|
|
94235
94308
|
break;
|
|
94236
94309
|
case "kup-data-table":
|
|
94237
94310
|
if (!customElements.get(tagName)) {
|
|
94238
|
-
defineCustomElement$
|
|
94311
|
+
defineCustomElement$h();
|
|
94239
94312
|
}
|
|
94240
94313
|
break;
|
|
94241
94314
|
case "kup-date-picker":
|
|
94315
|
+
if (!customElements.get(tagName)) {
|
|
94316
|
+
defineCustomElement$g();
|
|
94317
|
+
}
|
|
94318
|
+
break;
|
|
94319
|
+
case "kup-dialog":
|
|
94242
94320
|
if (!customElements.get(tagName)) {
|
|
94243
94321
|
defineCustomElement$f();
|
|
94244
94322
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, c as componentWrapperId,
|
|
3
|
-
import { d as defineCustomElement$
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as componentWrapperId, Q as KupLanguageGeneric, U as KupPointerEventTypes, d as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, h as defineCustomElement$6, i as defineCustomElement$7, j as defineCustomElement$8, l as defineCustomElement$9, m as defineCustomElement$a, n as defineCustomElement$b, o as defineCustomElement$c, p as defineCustomElement$d, q as defineCustomElement$e, r as defineCustomElement$f, t as defineCustomElement$g, u as defineCustomElement$h, v as defineCustomElement$i, w as defineCustomElement$j, x as defineCustomElement$k, y as defineCustomElement$l, z as defineCustomElement$m, A as defineCustomElement$n, B as defineCustomElement$o, C as defineCustomElement$p, D as defineCustomElement$q, E as defineCustomElement$s, G as defineCustomElement$t, au as FButtonStyling, ab as FButton, F as FImage } from './kup-autocomplete2.js';
|
|
3
|
+
import { d as defineCustomElement$r } from './kup-box2.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-family-tree component.
|
|
@@ -472,7 +472,7 @@ function defineCustomElement$1() {
|
|
|
472
472
|
if (typeof customElements === "undefined") {
|
|
473
473
|
return;
|
|
474
474
|
}
|
|
475
|
-
const components = ["kup-family-tree", "kup-autocomplete", "kup-badge", "kup-box", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
475
|
+
const components = ["kup-family-tree", "kup-autocomplete", "kup-badge", "kup-box", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
476
476
|
components.forEach(tagName => { switch (tagName) {
|
|
477
477
|
case "kup-family-tree":
|
|
478
478
|
if (!customElements.get(tagName)) {
|
|
@@ -481,65 +481,70 @@ function defineCustomElement$1() {
|
|
|
481
481
|
break;
|
|
482
482
|
case "kup-autocomplete":
|
|
483
483
|
if (!customElements.get(tagName)) {
|
|
484
|
-
defineCustomElement$
|
|
484
|
+
defineCustomElement$t();
|
|
485
485
|
}
|
|
486
486
|
break;
|
|
487
487
|
case "kup-badge":
|
|
488
488
|
if (!customElements.get(tagName)) {
|
|
489
|
-
defineCustomElement$
|
|
489
|
+
defineCustomElement$s();
|
|
490
490
|
}
|
|
491
491
|
break;
|
|
492
492
|
case "kup-box":
|
|
493
493
|
if (!customElements.get(tagName)) {
|
|
494
|
-
defineCustomElement$
|
|
494
|
+
defineCustomElement$r();
|
|
495
495
|
}
|
|
496
496
|
break;
|
|
497
497
|
case "kup-button":
|
|
498
498
|
if (!customElements.get(tagName)) {
|
|
499
|
-
defineCustomElement$
|
|
499
|
+
defineCustomElement$q();
|
|
500
500
|
}
|
|
501
501
|
break;
|
|
502
502
|
case "kup-button-list":
|
|
503
503
|
if (!customElements.get(tagName)) {
|
|
504
|
-
defineCustomElement$
|
|
504
|
+
defineCustomElement$p();
|
|
505
505
|
}
|
|
506
506
|
break;
|
|
507
507
|
case "kup-card":
|
|
508
508
|
if (!customElements.get(tagName)) {
|
|
509
|
-
defineCustomElement$
|
|
509
|
+
defineCustomElement$o();
|
|
510
510
|
}
|
|
511
511
|
break;
|
|
512
512
|
case "kup-chart":
|
|
513
513
|
if (!customElements.get(tagName)) {
|
|
514
|
-
defineCustomElement$
|
|
514
|
+
defineCustomElement$n();
|
|
515
515
|
}
|
|
516
516
|
break;
|
|
517
517
|
case "kup-checkbox":
|
|
518
518
|
if (!customElements.get(tagName)) {
|
|
519
|
-
defineCustomElement$
|
|
519
|
+
defineCustomElement$m();
|
|
520
520
|
}
|
|
521
521
|
break;
|
|
522
522
|
case "kup-chip":
|
|
523
523
|
if (!customElements.get(tagName)) {
|
|
524
|
-
defineCustomElement$
|
|
524
|
+
defineCustomElement$l();
|
|
525
525
|
}
|
|
526
526
|
break;
|
|
527
527
|
case "kup-color-picker":
|
|
528
528
|
if (!customElements.get(tagName)) {
|
|
529
|
-
defineCustomElement$
|
|
529
|
+
defineCustomElement$k();
|
|
530
530
|
}
|
|
531
531
|
break;
|
|
532
532
|
case "kup-combobox":
|
|
533
533
|
if (!customElements.get(tagName)) {
|
|
534
|
-
defineCustomElement$
|
|
534
|
+
defineCustomElement$j();
|
|
535
535
|
}
|
|
536
536
|
break;
|
|
537
537
|
case "kup-data-table":
|
|
538
538
|
if (!customElements.get(tagName)) {
|
|
539
|
-
defineCustomElement$
|
|
539
|
+
defineCustomElement$i();
|
|
540
540
|
}
|
|
541
541
|
break;
|
|
542
542
|
case "kup-date-picker":
|
|
543
|
+
if (!customElements.get(tagName)) {
|
|
544
|
+
defineCustomElement$h();
|
|
545
|
+
}
|
|
546
|
+
break;
|
|
547
|
+
case "kup-dialog":
|
|
543
548
|
if (!customElements.get(tagName)) {
|
|
544
549
|
defineCustomElement$g();
|
|
545
550
|
}
|