@sme.up/ketchup 11.0.0-SNAPSHOT-20250515094227 → 11.0.0-SNAPSHOT-20250516092441
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/kup-accordion.cjs.entry.js +31 -41
- package/dist/cjs/kup-autocomplete_29.cjs.entry.js +22 -19
- package/dist/collection/assets/accordion.js +54 -0
- package/dist/collection/components/kup-accordion/kup-accordion.js +31 -61
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +22 -39
- package/dist/components/kup-accordion.js +32 -42
- package/dist/components/kup-activity-timeline.js +1 -1
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +1 -1
- package/dist/components/kup-card-list.js +2 -2
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +1 -1
- 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-dashboard.js +1 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +2 -2
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-htm.js +1 -1
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +2 -2
- package/dist/components/kup-lazy.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-object-field.js +1 -1
- package/dist/components/kup-pdf.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- 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-toolbar.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/components/kup-typography.js +1 -1
- package/dist/components/{p-a631326d.js → p-06a6ef10.js} +1 -1
- package/dist/components/{p-b86a7f8d.js → p-1ab77355.js} +1 -1
- package/dist/components/{p-c08b72aa.js → p-4f8f83ed.js} +1 -1
- package/dist/components/{p-c6005f49.js → p-652331f5.js} +22 -19
- package/dist/components/{p-d24ad4c1.js → p-8387161b.js} +1 -1
- package/dist/esm/kup-accordion.entry.js +31 -41
- package/dist/esm/kup-autocomplete_29.entry.js +22 -19
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-1d0c5c3c.entry.js +1 -0
- package/dist/ketchup/{p-bdd459ee.entry.js → p-a8a05ef3.entry.js} +1 -1
- package/dist/types/components/kup-accordion/kup-accordion.d.ts +0 -5
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +0 -4
- package/dist/types/components.d.ts +0 -10
- package/package.json +1 -1
- package/dist/ketchup/p-6df4360a.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, n as getCellValueForDisplay, g as getProps, s as setProps, b as KupThemeIconValues, J as KupLanguageSearch } from './p-9859e801.js';
|
|
3
3
|
import { a as KupPlannerGanttRowType, d as defaultStylingOptions, b as KupPlannerTaskAction, c as KupPlannerLastOnChangeReceived, e as KupPlannerProps } from './p-a0eeacbd.js';
|
|
4
|
-
import { P as FTextFieldMDC, $ as FTextField, c as componentWrapperId, d as defineCustomElement$3, a as defineCustomElement$5, b as defineCustomElement$6, e as defineCustomElement$7, f as defineCustomElement$c, g as defineCustomElement$e, h as defineCustomElement$g, i as defineCustomElement$h, j as defineCustomElement$i, k as defineCustomElement$j, l as defineCustomElement$l, m as defineCustomElement$m, n as defineCustomElement$p, o as defineCustomElement$s, p as defineCustomElement$t, q as defineCustomElement$u, r as defineCustomElement$v, s as defineCustomElement$w, t as defineCustomElement$x, u as defineCustomElement$A, v as defineCustomElement$B, w as defineCustomElement$C, x as defineCustomElement$D, y as defineCustomElement$E, z as defineCustomElement$F, A as defineCustomElement$G, B as defineCustomElement$H, C as defineCustomElement$I, D as defineCustomElement$J } from './p-
|
|
4
|
+
import { P as FTextFieldMDC, $ as FTextField, c as componentWrapperId, d as defineCustomElement$3, a as defineCustomElement$5, b as defineCustomElement$6, e as defineCustomElement$7, f as defineCustomElement$c, g as defineCustomElement$e, h as defineCustomElement$g, i as defineCustomElement$h, j as defineCustomElement$i, k as defineCustomElement$j, l as defineCustomElement$l, m as defineCustomElement$m, n as defineCustomElement$p, o as defineCustomElement$s, p as defineCustomElement$t, q as defineCustomElement$u, r as defineCustomElement$v, s as defineCustomElement$w, t as defineCustomElement$x, u as defineCustomElement$A, v as defineCustomElement$B, w as defineCustomElement$C, x as defineCustomElement$D, y as defineCustomElement$E, z as defineCustomElement$F, A as defineCustomElement$G, B as defineCustomElement$H, C as defineCustomElement$I, D as defineCustomElement$J } from './p-652331f5.js';
|
|
5
5
|
import { d as defineCustomElement$z } from './p-ee335c07.js';
|
|
6
6
|
import { d as defineCustomElement$y } from './p-67ba8cd7.js';
|
|
7
7
|
import { d as defineCustomElement$r } from './p-7dae5142.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-652331f5.js';
|
|
4
4
|
|
|
5
5
|
const KupProbe$1 = /*@__PURE__*/ proxyCustomElement(class KupProbe extends H {
|
|
6
6
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance } from './p-9859e801.js';
|
|
3
|
-
import { d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-
|
|
3
|
+
import { d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-652331f5.js';
|
|
4
4
|
|
|
5
5
|
const kupQlikCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.kup-qlik-container-fluid{width:100%}.kup-qlik-container{width:100%}@media (min-width: 576px){.kup-qlik-container{width:576px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 768px){.kup-qlik-container{width:768px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 992px){.kup-qlik-container{width:992px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 1200px){.kup-qlik-container{width:1200px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}.kup-qlik-row{display:flex;display:ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;margin-bottom:5px}.kup-qlik-row .size-M{height:var(--lyo_obj-height)}.kup-qlik-row .size-S{height:calc(var(--lyo_obj-height) / 2)}.kup-qlik-row .size-XS{height:calc(var(--lyo_obj-height) / 3)}.kup-qlik-row .size-L{height:calc(var(--lyo_obj-height) * 2)}.kup-qlik-row .size-XL{height:calc(var(--lyo_obj-height) * 3)}.kup-qlik-row .bordered{border:1px solid var(--kup-border-subtle, #969696)}.kup-qlik-row .width-1{width:8.3333%}.kup-qlik-row .width-2{width:16.6666%}.kup-qlik-row .width-3{width:25%}.kup-qlik-row .width-4{width:33.3333%}.kup-qlik-row .width-5{width:41.6666%}.kup-qlik-row .width-6{width:50%}.kup-qlik-row .width-7{width:58.3333%}.kup-qlik-row .width-8{width:66.6666%}.kup-qlik-row .width-9{width:75%}.kup-qlik-row .width-10{width:83.3333%}.kup-qlik-row .width-11{width:91.6666%}.kup-qlik-row .width-12{width:100%}";
|
|
6
6
|
const KupQlikStyle0 = kupQlikCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, T as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-
|
|
3
|
+
import { c as componentWrapperId, T as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-652331f5.js';
|
|
4
4
|
|
|
5
5
|
const snackbarClass = 'snackbar';
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-652331f5.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-txt component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, u as KupDebugCategory, g as getProps, s as setProps } from './p-9859e801.js';
|
|
3
3
|
import { a as FTypographyType, F as FTypography } from './p-ced0c3fc.js';
|
|
4
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-
|
|
4
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-652331f5.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-typography component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, d as KupDynamicPositionPlacement, g as getProps, s as setProps } from './p-9859e801.js';
|
|
3
3
|
import { a as FTypographyType, F as FTypography } from './p-ced0c3fc.js';
|
|
4
|
-
import { c as componentWrapperId, F as FImage, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-
|
|
4
|
+
import { c as componentWrapperId, F as FImage, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-652331f5.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-typography component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-652331f5.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-5882e117.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-652331f5.js';
|
|
4
4
|
|
|
5
5
|
/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-652331f5.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid component.
|
|
@@ -18484,7 +18484,6 @@ const KupTabBar = /*@__PURE__*/ proxyCustomElement(class KupTabBar extends H {
|
|
|
18484
18484
|
this.kupBlur = createEvent(this, "kup-tabbar-blur", 6);
|
|
18485
18485
|
this.kupClick = createEvent(this, "kup-tabbar-click", 6);
|
|
18486
18486
|
this.kupIconClick = createEvent(this, "kup-tabbar-iconclick", 6);
|
|
18487
|
-
this.kupInfoIconClick = createEvent(this, "kup-tabbar-infoiconclick", 6);
|
|
18488
18487
|
this.kupFocus = createEvent(this, "kup-tabbar-focus", 6);
|
|
18489
18488
|
this.kupToolbarItemClick = createEvent(this, "kup-tabbar-toolbaritemclick", 6);
|
|
18490
18489
|
/*-------------------------------------------------*/
|
|
@@ -18774,26 +18773,30 @@ const KupTabBar = /*@__PURE__*/ proxyCustomElement(class KupTabBar extends H {
|
|
|
18774
18773
|
'kup-danger': node.danger,
|
|
18775
18774
|
};
|
|
18776
18775
|
const tabEl = (h$1("f-button", { class: tabClass, role: "tab", "aria-selected": node.active ? true : false, tabIndex: i, title: node.title ? node.title : null, onBlur: () => this.onKupBlur(i, node), onClick: () => this.onKupClick(i, node), onFocus: () => this.onKupFocus(i, node) }, h$1("span", { class: "tab__content" }, node.icon ? (h$1(FImage, { color: `var(${KupThemeColorValues.PRIMARY})`, resource: node.icon, placeholderResource: node.placeholderIcon, wrapperClass: "tab__icon" })) : null, node.value ? (h$1("span", { class: "tab__text-label" }, node.value)) : null), this.infoIcon && (h$1(FImage, { resource: "info_outline", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
18777
|
-
|
|
18778
|
-
|
|
18779
|
-
|
|
18780
|
-
|
|
18781
|
-
|
|
18782
|
-
this.
|
|
18783
|
-
|
|
18784
|
-
|
|
18785
|
-
|
|
18776
|
+
if (node.active) {
|
|
18777
|
+
event.stopPropagation();
|
|
18778
|
+
const el = event.currentTarget;
|
|
18779
|
+
const data = await this.infoCallback();
|
|
18780
|
+
this.infoState = data;
|
|
18781
|
+
if (this.infoState.length > 0) {
|
|
18782
|
+
this.onKupInfoIconClick(el);
|
|
18783
|
+
}
|
|
18784
|
+
else {
|
|
18785
|
+
this.kupManager.debug.logMessage(this, 'InfoIcon data is empty, not opening dropdown.');
|
|
18786
|
+
}
|
|
18786
18787
|
}
|
|
18787
18788
|
}, wrapperClass: "tab__iconToolbar iconInfo" })), this.toolbar && (h$1(FImage, { resource: "more_vert", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
18788
|
-
|
|
18789
|
-
|
|
18790
|
-
|
|
18791
|
-
|
|
18792
|
-
|
|
18793
|
-
this.
|
|
18794
|
-
|
|
18795
|
-
|
|
18796
|
-
|
|
18789
|
+
if (node.active) {
|
|
18790
|
+
event.stopPropagation();
|
|
18791
|
+
const el = event.currentTarget;
|
|
18792
|
+
const data = await this.toolbarCallback();
|
|
18793
|
+
this.toolbarState = data;
|
|
18794
|
+
if (this.toolbarState.length > 0) {
|
|
18795
|
+
this.onKupIconClick(el);
|
|
18796
|
+
}
|
|
18797
|
+
else {
|
|
18798
|
+
this.kupManager.debug.logMessage(this, 'Toolbar data is empty, not opening dropdown.');
|
|
18799
|
+
}
|
|
18797
18800
|
}
|
|
18798
18801
|
}, wrapperClass: "tab__iconToolbar iconToolbar" })), h$1("span", { class: `tab-indicator ${node.active ? ' tab-indicator--active' : ''}` }, h$1("span", { class: "tab-indicator__content tab-indicator__content--underline" }))));
|
|
18799
18802
|
tabBar.push(tabEl);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
2
|
import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, az as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-9859e801.js';
|
|
3
|
-
import { H as filterRows, I as paginateRows, E as sortRows, J as pageChange, L as rowsPerPageChange, F as FImage, N as FCell, O as FChip, P as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, Q as FPaginator } from './p-
|
|
3
|
+
import { H as filterRows, I as paginateRows, E as sortRows, J as pageChange, L as rowsPerPageChange, F as FImage, N as FCell, O as FChip, P as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, Q as FPaginator } from './p-652331f5.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -47,7 +47,6 @@ const KupAccordion = class {
|
|
|
47
47
|
this.kupBlur = createEvent(this, "kup-accordion-blur", 6);
|
|
48
48
|
this.kupClick = createEvent(this, "kup-accordion-click", 6);
|
|
49
49
|
this.kupIconClick = createEvent(this, "kup-accordion-iconclick", 6);
|
|
50
|
-
this.kupInfoIconClick = createEvent(this, "kup-accordion-infoiconclick", 6);
|
|
51
50
|
this.kupFocus = createEvent(this, "kup-accordion-focus", 6);
|
|
52
51
|
this.kupToolbarItemClick = createEvent(this, "kup-accordion-toolbaritemclick", 6);
|
|
53
52
|
/*-------------------------------------------------*/
|
|
@@ -82,15 +81,6 @@ const KupAccordion = class {
|
|
|
82
81
|
node: node,
|
|
83
82
|
});
|
|
84
83
|
}
|
|
85
|
-
onKupClick(i, node) {
|
|
86
|
-
this.data[i].contentVisible = !this.data[i].contentVisible;
|
|
87
|
-
this.updateSelectedItems();
|
|
88
|
-
this.kupClick.emit({
|
|
89
|
-
comp: this,
|
|
90
|
-
id: this.rootElement.id,
|
|
91
|
-
node: node,
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
84
|
onKupIconClick(el) {
|
|
95
85
|
if (!el) {
|
|
96
86
|
this.kupManager.debug.logMessage(this, 'onKupIconClick: Element is null');
|
|
@@ -141,6 +131,9 @@ const KupAccordion = class {
|
|
|
141
131
|
if ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) {
|
|
142
132
|
for (let i = 0; i < this.data.length; i++) {
|
|
143
133
|
const node = this.data[i];
|
|
134
|
+
if (node.contentVisible === undefined) {
|
|
135
|
+
node.contentVisible = true;
|
|
136
|
+
}
|
|
144
137
|
if (node.contentVisible) {
|
|
145
138
|
ids.push(node.id);
|
|
146
139
|
}
|
|
@@ -158,10 +151,8 @@ const KupAccordion = class {
|
|
|
158
151
|
const ids = [];
|
|
159
152
|
for (let i = 0; i < this.data.length; i++) {
|
|
160
153
|
const node = this.data[i];
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
this.isItemSelected(itemName)) {
|
|
164
|
-
ids.push(itemName);
|
|
154
|
+
if (!this.isItemExpandible(node) && this.isItemSelected(node)) {
|
|
155
|
+
ids.push(node.id);
|
|
165
156
|
}
|
|
166
157
|
}
|
|
167
158
|
this.selectedItems = ids;
|
|
@@ -173,9 +164,8 @@ const KupAccordion = class {
|
|
|
173
164
|
const ids = [];
|
|
174
165
|
for (let i = 0; i < this.data.length; i++) {
|
|
175
166
|
const node = this.data[i];
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
ids.push(itemName);
|
|
167
|
+
if (this.isItemExpandible(node)) {
|
|
168
|
+
ids.push(node.id);
|
|
179
169
|
}
|
|
180
170
|
}
|
|
181
171
|
this.selectedItems = ids;
|
|
@@ -206,14 +196,14 @@ const KupAccordion = class {
|
|
|
206
196
|
* @param {string} itemName - Name of the item.
|
|
207
197
|
*/
|
|
208
198
|
async toggleItem(node) {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
ids.splice(ids.indexOf(node.id), 1);
|
|
199
|
+
if (!this.isItemExpandible(node)) {
|
|
200
|
+
return;
|
|
212
201
|
}
|
|
213
|
-
|
|
214
|
-
|
|
202
|
+
if (node.contentVisible === undefined) {
|
|
203
|
+
node.contentVisible = true;
|
|
215
204
|
}
|
|
216
|
-
|
|
205
|
+
node.contentVisible = !node.contentVisible;
|
|
206
|
+
this.updateSelectedItems();
|
|
217
207
|
this.kupClick.emit({
|
|
218
208
|
comp: this,
|
|
219
209
|
id: this.rootElement.id,
|
|
@@ -223,11 +213,11 @@ const KupAccordion = class {
|
|
|
223
213
|
/*-------------------------------------------------*/
|
|
224
214
|
/* P r i v a t e M e t h o d s */
|
|
225
215
|
/*-------------------------------------------------*/
|
|
226
|
-
isItemExpandible(
|
|
227
|
-
return this.slotsNames.includes(
|
|
216
|
+
isItemExpandible(item) {
|
|
217
|
+
return item.expandable || this.slotsNames.includes(item.id);
|
|
228
218
|
}
|
|
229
|
-
isItemSelected(
|
|
230
|
-
return this.selectedItems.includes(
|
|
219
|
+
isItemSelected(item) {
|
|
220
|
+
return this.selectedItems.includes(item.id);
|
|
231
221
|
}
|
|
232
222
|
renderItems() {
|
|
233
223
|
var _a, _b;
|
|
@@ -240,9 +230,8 @@ const KupAccordion = class {
|
|
|
240
230
|
}
|
|
241
231
|
for (let i = 0; i < this.data.length; i++) {
|
|
242
232
|
const node = this.data[i];
|
|
243
|
-
const
|
|
244
|
-
const
|
|
245
|
-
const isItemExpandible = this.isItemExpandible(itemName);
|
|
233
|
+
const isItemSelected = this.isItemSelected(node);
|
|
234
|
+
const isItemExpandible = this.isItemExpandible(node);
|
|
246
235
|
const itemHeaderClass = {
|
|
247
236
|
'accordion-item__header': true,
|
|
248
237
|
'accordion-item__header--selected': !isItemExpandible && isItemSelected ? true : false,
|
|
@@ -256,32 +245,33 @@ const KupAccordion = class {
|
|
|
256
245
|
? true
|
|
257
246
|
: false,
|
|
258
247
|
};
|
|
259
|
-
const wrapper = (h("div", { class: "accordion-rigtbuttons" }, this.infoIcon && (h(FImage, { resource: "info_outline", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
248
|
+
const wrapper = (h("div", { class: "accordion-rigtbuttons" }, this.infoIcon && this.infoCallback && (h(FImage, { resource: "info_outline", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
260
249
|
event.stopPropagation();
|
|
261
250
|
const el = event.currentTarget;
|
|
262
|
-
|
|
263
|
-
this.infoState = data;
|
|
251
|
+
this.infoState = await this.infoCallback();
|
|
264
252
|
if (this.infoState.length > 0) {
|
|
265
253
|
this.onKupInfoIconClick(el);
|
|
266
254
|
}
|
|
267
255
|
else {
|
|
268
256
|
this.kupManager.debug.logMessage(this, 'InfoIcon data is empty, not opening dropdown.');
|
|
269
257
|
}
|
|
270
|
-
}, wrapperClass: "tab__iconToolbar iconInfo" })), this.toolbar && (h(FImage, { resource: "more_vert", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
258
|
+
}, wrapperClass: "tab__iconToolbar iconInfo" })), this.toolbar && this.toolbarCallback && (h(FImage, { resource: "more_vert", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
259
|
+
var _a;
|
|
271
260
|
event.stopPropagation();
|
|
272
261
|
const el = event.currentTarget;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
if (this.toolbarState.length > 0) {
|
|
262
|
+
this.toolbarState =
|
|
263
|
+
await this.toolbarCallback();
|
|
264
|
+
if (((_a = this.toolbarState) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
276
265
|
this.onKupIconClick(el);
|
|
277
266
|
}
|
|
278
267
|
else {
|
|
279
268
|
this.kupManager.debug.logMessage(this, 'Toolbar data is empty, not opening dropdown.');
|
|
280
269
|
}
|
|
281
270
|
}, wrapperClass: "tab__iconToolbar iconToolbar" })), isItemExpandible ? (h("div", { class: `accordion-item__dropdown kup-icon ${KupThemeIconValues.DROPDOWN.replace('--', '')}` })) : null));
|
|
282
|
-
items.push(h("div", { class: "accordion-item" }, h("div", { tabindex: i, title: (_a = node.title) !== null && _a !== void 0 ? _a : null, class: itemHeaderClass, onClick: () =>
|
|
283
|
-
|
|
284
|
-
|
|
271
|
+
items.push(h("div", { class: "accordion-item" }, h("div", { tabindex: i, title: (_a = node.title) !== null && _a !== void 0 ? _a : null, class: itemHeaderClass, onClick: (e) => {
|
|
272
|
+
e.stopPropagation();
|
|
273
|
+
this.toggleItem(node);
|
|
274
|
+
}, onBlur: () => this.onKupBlur(node), onFocus: () => this.onKupFocus(node) }, node.icon ? (h(FImage, { color: `var(${KupThemeColorValues.PRIMARY})`, resource: node.icon, placeholderResource: node.placeholderIcon, sizeX: "1.5em", sizeY: "1.5em", wrapperClass: "accordion-item__icon" })) : null, node.value ? (h("span", { class: "accordion-item__text" }, (_b = node.value) !== null && _b !== void 0 ? _b : '')) : null, wrapper), h("div", { class: itemContentClass }, h("slot", { name: node.id }))));
|
|
285
275
|
}
|
|
286
276
|
return items;
|
|
287
277
|
}
|
|
@@ -407,7 +397,7 @@ const KupAccordion = class {
|
|
|
407
397
|
}
|
|
408
398
|
render() {
|
|
409
399
|
const content = this.data && this.data.length ? this.renderItems() : null;
|
|
410
|
-
return (h(Host, { key: '
|
|
400
|
+
return (h(Host, { key: '2b6280c1daf20870cb5a73f3c8f2c8e7272d9cd4' }, h("style", { key: '92169351854c60b65712dc174214ac450172dbf1' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '20a65571ec0481ddf2938e29f48c2d26c7c637c7', id: componentWrapperId }, h("div", { key: '8389a5bd3752c0ee21658de14f5e3590890b944c', class: "accordion" }, content))));
|
|
411
401
|
}
|
|
412
402
|
disconnectedCallback() {
|
|
413
403
|
this.kupManager.theme.unregister(this);
|
|
@@ -17616,7 +17616,6 @@ const KupTabBar = class {
|
|
|
17616
17616
|
this.kupBlur = createEvent(this, "kup-tabbar-blur", 6);
|
|
17617
17617
|
this.kupClick = createEvent(this, "kup-tabbar-click", 6);
|
|
17618
17618
|
this.kupIconClick = createEvent(this, "kup-tabbar-iconclick", 6);
|
|
17619
|
-
this.kupInfoIconClick = createEvent(this, "kup-tabbar-infoiconclick", 6);
|
|
17620
17619
|
this.kupFocus = createEvent(this, "kup-tabbar-focus", 6);
|
|
17621
17620
|
this.kupToolbarItemClick = createEvent(this, "kup-tabbar-toolbaritemclick", 6);
|
|
17622
17621
|
/*-------------------------------------------------*/
|
|
@@ -17906,26 +17905,30 @@ const KupTabBar = class {
|
|
|
17906
17905
|
'kup-danger': node.danger,
|
|
17907
17906
|
};
|
|
17908
17907
|
const tabEl = (h("f-button", { class: tabClass, role: "tab", "aria-selected": node.active ? true : false, tabIndex: i, title: node.title ? node.title : null, onBlur: () => this.onKupBlur(i, node), onClick: () => this.onKupClick(i, node), onFocus: () => this.onKupFocus(i, node) }, h("span", { class: "tab__content" }, node.icon ? (h(FImage, { color: `var(${KupThemeColorValues.PRIMARY})`, resource: node.icon, placeholderResource: node.placeholderIcon, wrapperClass: "tab__icon" })) : null, node.value ? (h("span", { class: "tab__text-label" }, node.value)) : null), this.infoIcon && (h(FImage, { resource: "info_outline", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
17909
|
-
|
|
17910
|
-
|
|
17911
|
-
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
this.
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
|
|
17908
|
+
if (node.active) {
|
|
17909
|
+
event.stopPropagation();
|
|
17910
|
+
const el = event.currentTarget;
|
|
17911
|
+
const data = await this.infoCallback();
|
|
17912
|
+
this.infoState = data;
|
|
17913
|
+
if (this.infoState.length > 0) {
|
|
17914
|
+
this.onKupInfoIconClick(el);
|
|
17915
|
+
}
|
|
17916
|
+
else {
|
|
17917
|
+
this.kupManager.debug.logMessage(this, 'InfoIcon data is empty, not opening dropdown.');
|
|
17918
|
+
}
|
|
17918
17919
|
}
|
|
17919
17920
|
}, wrapperClass: "tab__iconToolbar iconInfo" })), this.toolbar && (h(FImage, { resource: "more_vert", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
17920
|
-
|
|
17921
|
-
|
|
17922
|
-
|
|
17923
|
-
|
|
17924
|
-
|
|
17925
|
-
this.
|
|
17926
|
-
|
|
17927
|
-
|
|
17928
|
-
|
|
17921
|
+
if (node.active) {
|
|
17922
|
+
event.stopPropagation();
|
|
17923
|
+
const el = event.currentTarget;
|
|
17924
|
+
const data = await this.toolbarCallback();
|
|
17925
|
+
this.toolbarState = data;
|
|
17926
|
+
if (this.toolbarState.length > 0) {
|
|
17927
|
+
this.onKupIconClick(el);
|
|
17928
|
+
}
|
|
17929
|
+
else {
|
|
17930
|
+
this.kupManager.debug.logMessage(this, 'Toolbar data is empty, not opening dropdown.');
|
|
17931
|
+
}
|
|
17929
17932
|
}
|
|
17930
17933
|
}, wrapperClass: "tab__iconToolbar iconToolbar" })), h("span", { class: `tab-indicator ${node.active ? ' tab-indicator--active' : ''}` }, h("span", { class: "tab-indicator__content tab-indicator__content--underline" }))));
|
|
17931
17934
|
tabBar.push(tabEl);
|