@sme.up/ketchup 11.0.0-SNAPSHOT-20250520071859 → 11.0.0-SNAPSHOT-20250521130126
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-cell-db3d9348.js → f-cell-24d64a1a.js} +1 -1
- package/dist/cjs/{f-chip-f2d6124b.js → f-chip-811a95bb.js} +10 -1
- package/dist/cjs/kup-autocomplete_29.cjs.entry.js +45 -32
- package/dist/cjs/kup-box.cjs.entry.js +2 -2
- package/dist/cjs/kup-calendar.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +2 -2
- package/dist/collection/components/kup-data-table/kup-data-table.js +40 -22
- package/dist/collection/components/kup-tree/kup-tree.js +7 -7
- package/dist/collection/f-components/f-chip/f-chip-declarations.js +1 -0
- package/dist/collection/f-components/f-chip/f-chip.js +8 -2
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +3 -4
- package/dist/components/kup-accordion.js +1 -1
- 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-a6181692.js → p-0e541635.js} +1 -1
- package/dist/components/{p-652331f5.js → p-17c1377b.js} +53 -31
- package/dist/components/{p-4f8f83ed.js → p-20f1807d.js} +1 -1
- package/dist/components/{p-be991ac5.js → p-e0285b06.js} +1 -1
- package/dist/components/{p-8387161b.js → p-e66a1c48.js} +1 -1
- package/dist/esm/{f-cell-69a81706.js → f-cell-3bf5d8cc.js} +1 -1
- package/dist/esm/{f-chip-29242e70.js → f-chip-0264147f.js} +10 -1
- package/dist/esm/kup-autocomplete_29.entry.js +45 -32
- package/dist/esm/kup-box.entry.js +2 -2
- package/dist/esm/kup-calendar.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-03bd0a3e.entry.js → p-2f988171.entry.js} +1 -1
- package/dist/ketchup/p-45d1929e.js +1 -0
- package/dist/ketchup/{p-94e163ca.entry.js → p-68cf480d.entry.js} +1 -1
- package/dist/ketchup/{p-9f4714fd.js → p-6ce19522.js} +1 -1
- package/dist/ketchup/{p-2bc38560.entry.js → p-965c0398.entry.js} +1 -1
- package/dist/ketchup/{p-eb7881fc.entry.js → p-a2a337ce.entry.js} +1 -1
- package/dist/ketchup/p-c9196041.entry.js +8 -0
- package/dist/ketchup/{p-f1b21c30.entry.js → p-d0ab1b7d.entry.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -1
- package/dist/types/components.d.ts +1 -1
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +3 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -2
- package/package.json +1 -1
- package/dist/ketchup/p-7375d456.js +0 -1
- package/dist/ketchup/p-a8a05ef3.entry.js +0 -8
|
@@ -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-17c1377b.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-17c1377b.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-17c1377b.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-17c1377b.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-17c1377b.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, 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-17c1377b.js';
|
|
4
4
|
|
|
5
5
|
/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -4559,6 +4559,7 @@ var FChipType;
|
|
|
4559
4559
|
FChipType["CHOICE"] = "choice";
|
|
4560
4560
|
FChipType["FILTER"] = "filter";
|
|
4561
4561
|
FChipType["INPUT"] = "input";
|
|
4562
|
+
// HAS_FILTER = 'has-filter',
|
|
4562
4563
|
FChipType["STANDARD"] = "standard";
|
|
4563
4564
|
})(FChipType || (FChipType = {}));
|
|
4564
4565
|
/**
|
|
@@ -4652,8 +4653,9 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
4652
4653
|
}
|
|
4653
4654
|
}
|
|
4654
4655
|
function createChip(chip, disabled) {
|
|
4656
|
+
var _a;
|
|
4655
4657
|
const onlyIcon = !!(chip.icon && !chip.value);
|
|
4656
|
-
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled
|
|
4658
|
+
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled ? 'chip--disabled' : ''}`;
|
|
4657
4659
|
let iconEl = [];
|
|
4658
4660
|
let iconClass = 'chip__icon chip__icon--leading';
|
|
4659
4661
|
if (isFilter || isChoice) {
|
|
@@ -4685,6 +4687,8 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
4685
4687
|
let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? ItemsDisplayMode.CODE : props.displayMode, ' - ');
|
|
4686
4688
|
return (h("div", { class: componentClass, "data-value": chip.id, onClick: props.onClick && props.onClick[i]
|
|
4687
4689
|
? props.onClick[i].bind(props.onClick[i], chip)
|
|
4690
|
+
: null, onContextMenu: props.onContextMenu && props.onContextMenu[i]
|
|
4691
|
+
? props.onContextMenu[i].bind(props.onContextMenu[i], chip)
|
|
4688
4692
|
: null, role: "row", title: chip.title ? chip.title : '' },
|
|
4689
4693
|
h("span", { class: "chip-set__indent" }),
|
|
4690
4694
|
iconEl,
|
|
@@ -4697,6 +4701,11 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
4697
4701
|
? props.onFocus[i].bind(props.onFocus[i], chip)
|
|
4698
4702
|
: null },
|
|
4699
4703
|
h("span", { class: "chip__text" }, chipText))),
|
|
4704
|
+
((_a = props.hasFilter) === null || _a === void 0 ? void 0 : _a[i]) && (h("span", { role: "gridcell" },
|
|
4705
|
+
h("span", { tabindex: "-1", class: `kup-icon chip__icon ${KupThemeIconValues.FILTER_REMOVE.replace('--', '')}`, onClick: props.onClearFilterClick &&
|
|
4706
|
+
props.onClearFilterClick[i]
|
|
4707
|
+
? props.onClearFilterClick[i].bind(props.onClearFilterClick[i], chip)
|
|
4708
|
+
: null }))),
|
|
4700
4709
|
isInput ? (h("span", { role: "gridcell" },
|
|
4701
4710
|
h("span", { tabindex: "-1", class: `kup-icon chip__icon ${KupThemeIconValues.CLEAR.replace('--', '')}`, onClick: props.onIconClick && props.onIconClick[i]
|
|
4702
4711
|
? props.onIconClick[i].bind(props.onIconClick[i], chip)
|
|
@@ -12267,15 +12276,14 @@ class KupColumnMenu {
|
|
|
12267
12276
|
dom$4.ketchup.dynamicPosition.stop(card);
|
|
12268
12277
|
}
|
|
12269
12278
|
/**
|
|
12270
|
-
* Function called to reposition the column menu card to the appropriate
|
|
12279
|
+
* Function called to reposition the column menu card to the appropriate selector.
|
|
12271
12280
|
* @param {KupDataTable | KupTree} comp - Component using the column menu.
|
|
12272
12281
|
*/
|
|
12273
|
-
reposition(comp, card) {
|
|
12282
|
+
reposition(comp, card, wrapperSelector) {
|
|
12274
12283
|
const root = comp.rootElement.shadowRoot;
|
|
12275
12284
|
if (root) {
|
|
12276
12285
|
if (card) {
|
|
12277
|
-
const
|
|
12278
|
-
const wrapper = root.querySelector('th[data-column="' + column + '"]');
|
|
12286
|
+
const wrapper = root.querySelector(wrapperSelector);
|
|
12279
12287
|
if (dom$4.ketchup.dynamicPosition.isRegistered(card)) {
|
|
12280
12288
|
dom$4.ketchup.dynamicPosition.changeAnchor(card, wrapper);
|
|
12281
12289
|
}
|
|
@@ -14758,7 +14766,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14758
14766
|
this.columnMenuCard.setAttribute('data-column', column);
|
|
14759
14767
|
this.columnMenuCard.data = this.columnMenuInstance.prepData(this, getColumnByName(this.getVisibleColumns(), column));
|
|
14760
14768
|
this.columnMenuInstance.open(this, column);
|
|
14761
|
-
this.columnMenuInstance.reposition(this, this.columnMenuCard);
|
|
14769
|
+
this.columnMenuInstance.reposition(this, this.columnMenuCard, 'th[data-column="' + column + '"]');
|
|
14762
14770
|
this.kupTreeColumnMenu.emit({
|
|
14763
14771
|
comp: this,
|
|
14764
14772
|
id: this.rootElement.id,
|
|
@@ -15793,19 +15801,19 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15793
15801
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
15794
15802
|
let filterField = null;
|
|
15795
15803
|
if (this.globalFilter) {
|
|
15796
|
-
filterField = (h$1("div", { key: '
|
|
15804
|
+
filterField = (h$1("div", { key: '951cc7b33102ce09bd67359865c186c80d99b7ef', id: "global-filter" }, h$1("kup-text-field", { key: '624400796166fb13a274440aa7baddcb9de9a1ce', fullWidth: true, label: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
15797
15805
|
window.clearTimeout(this.globalFilterTimeout);
|
|
15798
15806
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
15799
15807
|
} })));
|
|
15800
15808
|
}
|
|
15801
|
-
return (h$1(Host, { key: '
|
|
15809
|
+
return (h$1(Host, { key: '7e892593e2eb01f08a6985046d14df031ce27951', "onKup-cell-click": (e) => {
|
|
15802
15810
|
this.kupTreeCellClick.emit(e.detail);
|
|
15803
|
-
} }, h$1("style", { key: '
|
|
15804
|
-
el) }, h$1("table", { key: '
|
|
15811
|
+
} }, h$1("style", { key: 'fc0d6f92bf7c46d2a1b13dc826fe4aeb6f032be9' }, __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '0efcf089f18129e1216e5ef352497d53257e0779', id: componentWrapperId, class: wrapperClass, style: wrapperStyle }, filterField, h$1("div", { key: '7939f7b39a94c845ba0551c1b27cdc7f73bbdf2e', class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
15812
|
+
el) }, h$1("table", { key: '8a516d15076c80ef390fccd95fb021c5d01d2b47', class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
15805
15813
|
e.preventDefault();
|
|
15806
|
-
} }, h$1("thead", { key: '
|
|
15814
|
+
} }, h$1("thead", { key: '84d285915065d73decdd5ee03f2260aab3472aa7', class: {
|
|
15807
15815
|
'header--is-visible': visibleHeader,
|
|
15808
|
-
} }, h$1("tr", { key: '
|
|
15816
|
+
} }, h$1("tr", { key: '2ba3d653b3f9c5fdf5a183c946701712efa92a6b' }, visibleHeader ? this.renderHeader() : null)), h$1("tbody", { key: 'd12721e4a33eaba8240fafdeebd2ec2bc62bcc25' }, treeNodes), (this.showFooter || this.hasTotals()) &&
|
|
15809
15817
|
this.columns
|
|
15810
15818
|
? this.renderFooter()
|
|
15811
15819
|
: null)))));
|
|
@@ -23553,7 +23561,7 @@ var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
23553
23561
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
23554
23562
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
23555
23563
|
};
|
|
23556
|
-
var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderUpdateButtons;
|
|
23564
|
+
var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderUpdateButtons;
|
|
23557
23565
|
const dom = document.documentElement;
|
|
23558
23566
|
const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends H {
|
|
23559
23567
|
constructor() {
|
|
@@ -24269,11 +24277,10 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24269
24277
|
* Opens the column menu of the given column.
|
|
24270
24278
|
* @param {string} column - Name of the column.
|
|
24271
24279
|
*/
|
|
24272
|
-
async openColumnMenu(
|
|
24280
|
+
async openColumnMenu(columnName, wrapperClass) {
|
|
24273
24281
|
if (__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f")) {
|
|
24274
24282
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeColumnMenuCard).call(this);
|
|
24275
24283
|
}
|
|
24276
|
-
this.columnMenuAnchor = column;
|
|
24277
24284
|
__classPrivateFieldSet$2(this, _KupDataTable_columnMenuCard, document.createElement('kup-card'), "f");
|
|
24278
24285
|
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").isMenu = true;
|
|
24279
24286
|
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").layoutNumber = 12;
|
|
@@ -24305,10 +24312,10 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24305
24312
|
el: __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"),
|
|
24306
24313
|
}, "f");
|
|
24307
24314
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCbDropCard, "f"), true);
|
|
24308
|
-
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").setAttribute('data-column',
|
|
24309
|
-
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").prepData(this, getColumnByName(this.
|
|
24310
|
-
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").open(this,
|
|
24311
|
-
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").reposition(this, __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"));
|
|
24315
|
+
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").setAttribute('data-column', columnName);
|
|
24316
|
+
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").prepData(this, getColumnByName(this.getColumns(), columnName));
|
|
24317
|
+
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").open(this, columnName);
|
|
24318
|
+
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").reposition(this, __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"), wrapperClass);
|
|
24312
24319
|
this.kupDataTableColumnMenu.emit({
|
|
24313
24320
|
comp: this,
|
|
24314
24321
|
id: this.rootElement.id,
|
|
@@ -24973,7 +24980,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24973
24980
|
__classPrivateFieldSet$2(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
24974
24981
|
let rows = null;
|
|
24975
24982
|
if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
24976
|
-
rows = (h$1("tr", { key: '
|
|
24983
|
+
rows = (h$1("tr", { key: '430b44ee29a2fca6f9c5b93f861ecdf4ad73e0a5', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: 'bd1c377ad8bec0617a2438177bd966853bd6fee4', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
24977
24984
|
}
|
|
24978
24985
|
else {
|
|
24979
24986
|
rows = [];
|
|
@@ -25032,13 +25039,24 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25032
25039
|
const props = {
|
|
25033
25040
|
data: chipsData,
|
|
25034
25041
|
id: 'group-chips',
|
|
25035
|
-
type: FChipType.INPUT,
|
|
25036
25042
|
onIconClick: [],
|
|
25043
|
+
onClearFilterClick: [],
|
|
25044
|
+
type: FChipType.INPUT,
|
|
25045
|
+
onContextMenu: [],
|
|
25046
|
+
hasFilter: [],
|
|
25037
25047
|
};
|
|
25038
25048
|
for (let i = 0; i < chipsData.length; i++) {
|
|
25049
|
+
const column = getColumnByName(this.getColumns(), chipsData[i].id);
|
|
25050
|
+
const hasFilterColumn = __classPrivateFieldGet$3(this, _KupDataTable_filtersColumnMenuInstance, "f").hasFiltersForColumn(this.filters, column);
|
|
25051
|
+
props.hasFilter.push(hasFilterColumn);
|
|
25052
|
+
__classPrivateFieldGet$3(this, _KupDataTable_filtersColumnMenuInstance, "f").hasFiltersForColumn(this.filters, column);
|
|
25053
|
+
props.onClearFilterClick.push(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRemoveFilter).call(this, column));
|
|
25039
25054
|
props.onIconClick.push(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
25055
|
+
props.onContextMenu.push((chipArg, e) => {
|
|
25056
|
+
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
25057
|
+
});
|
|
25040
25058
|
}
|
|
25041
|
-
groupChips = h$1(FChip, Object.assign({ key: '
|
|
25059
|
+
groupChips = h$1(FChip, Object.assign({ key: 'd3415fc95ae2f8a5ce26cb20002ba6661a3a760c' }, props));
|
|
25042
25060
|
}
|
|
25043
25061
|
}
|
|
25044
25062
|
const tableClass = {
|
|
@@ -25070,7 +25088,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25070
25088
|
if (this.headerIsPersistent &&
|
|
25071
25089
|
this.tableHeight === undefined &&
|
|
25072
25090
|
this.tableWidth === undefined) {
|
|
25073
|
-
stickyEl = (h$1("sticky-header", { key: '
|
|
25091
|
+
stickyEl = (h$1("sticky-header", { key: 'df0a886676b01a4ec8cdc238da50e5fb636c2e75', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: '7dfc484ccd0077864cf2e8ea220ed18ef1f1f10f' }, h$1("tr-sticky", { key: 'd6a818a76e04dc06fc88b00f54b88f2aa8ea3470' }, stickyHeader))));
|
|
25074
25092
|
}
|
|
25075
25093
|
let belowClass = 'below-wrapper';
|
|
25076
25094
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -25116,7 +25134,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25116
25134
|
const useGlobalFilter = !this.legacyLook &&
|
|
25117
25135
|
(this.globalFilter ||
|
|
25118
25136
|
this.getRows().length > __classPrivateFieldGet$3(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
25119
|
-
const compCreated = (h$1(Host, { key: '
|
|
25137
|
+
const compCreated = (h$1(Host, { key: '84427b1e39a433f2ab49960f32fb46e8a3e3bb94', "onKup-drop": (e) => {
|
|
25120
25138
|
this.kupDataTableDrop.emit(e.detail);
|
|
25121
25139
|
}, "onKup-cell-input": (e) => {
|
|
25122
25140
|
autoselectOnAction(e);
|
|
@@ -25131,11 +25149,11 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25131
25149
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
25132
25150
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
25133
25151
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
25134
|
-
} }, h$1("style", { key: '
|
|
25152
|
+
} }, h$1("style", { key: '87d876e2b04fda5102111f24ab911e56aa0bcce8' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h$1("div", { key: 'c65909d1e8b6d951f13c2bc9400a21a14ae6a4dd', id: componentWrapperId, class: wrapClass }, h$1("div", { key: '5be32632d47ebaa895d3c93549421896d4d34e9b', class: "group-wrapper" }, groupChips), h$1("div", { key: 'b022561419113d8f3f8510bdf6fe9e6972b73358', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
|
|
25135
25153
|
const t = event.target;
|
|
25136
25154
|
window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
25137
25155
|
__classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
25138
|
-
} }))) : null, h$1("div", { key: '
|
|
25156
|
+
} }))) : null, h$1("div", { key: '61932ed103271863d6391ef8f89fbb334786ed99', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
25139
25157
|
this.selectedRows.length > 0 ? (h$1(FButton, { icon: "save", onClick: () => {
|
|
25140
25158
|
this.kupSave.emit({
|
|
25141
25159
|
comp: this,
|
|
@@ -25185,9 +25203,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25185
25203
|
this.data.rows.unshift(row);
|
|
25186
25204
|
await this.refresh(true);
|
|
25187
25205
|
}
|
|
25188
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '
|
|
25206
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: 'b226a20f77b41d1c09e122c47174ada6d16b3487', class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
25189
25207
|
? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
25190
|
-
: null), h$1("div", { key: '
|
|
25208
|
+
: null), h$1("div", { key: 'ee8243f804c2e5748fc42179e612136257232fe7', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
25191
25209
|
? [
|
|
25192
25210
|
h$1("div", { class: "settings-trigger", onClick: () => {
|
|
25193
25211
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -25196,7 +25214,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25196
25214
|
} }, h$1(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
25197
25215
|
this.renderCustomizePanel(),
|
|
25198
25216
|
]
|
|
25199
|
-
: null, h$1("table", { key: '
|
|
25217
|
+
: null, h$1("table", { key: 'e507b220df52538aea8c28ef3c067c7d666d2598', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$3(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
25200
25218
|
ev.stopPropagation();
|
|
25201
25219
|
}, onPointerDown: (e) => {
|
|
25202
25220
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -25204,7 +25222,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25204
25222
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
25205
25223
|
}, onContextMenu: (e) => {
|
|
25206
25224
|
e.preventDefault();
|
|
25207
|
-
} }, h$1("thead", { key: '
|
|
25225
|
+
} }, h$1("thead", { key: '8189633a66a558e1c101e00c681d132926d9f0d1', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: 'e266d4b881a4ce18169d10c737c1b84028364385' }, header)), h$1("tbody", { key: '4c248d2b4e9662dd94be97728bfe3aa0343f2ed1' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
25208
25226
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
25209
25227
|
return compCreated;
|
|
25210
25228
|
}
|
|
@@ -26824,7 +26842,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
26824
26842
|
}, _KupDataTable_contextMenuHandlerDetailsManager = function _KupDataTable_contextMenuHandlerDetailsManager(details, eventCoords) {
|
|
26825
26843
|
if (details.area === DataTableAreasEnum.HEADER) {
|
|
26826
26844
|
if (details.column) {
|
|
26827
|
-
|
|
26845
|
+
const colName = details.column.name;
|
|
26846
|
+
this.openColumnMenu(colName, `th[data-column="${colName}"]`);
|
|
26828
26847
|
return details;
|
|
26829
26848
|
}
|
|
26830
26849
|
}
|
|
@@ -28080,6 +28099,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
28080
28099
|
} })));
|
|
28081
28100
|
}, _KupDataTable_renderCommandButton = function _KupDataTable_renderCommandButton(commandObj, styling) {
|
|
28082
28101
|
return (h$1("kup-button", { styling: styling, "onKup-button-click": () => __classPrivateFieldGet$3(this, _KupDataTable_handleUpdateClick, "f").call(this, commandObj), icon: commandObj.icon, placeholderIcon: commandObj.placeholderIcon, label: commandObj.value }));
|
|
28102
|
+
}, _KupDataTable_handleChipsContextMenu = function _KupDataTable_handleChipsContextMenu(chipColumnName, e) {
|
|
28103
|
+
e.preventDefault();
|
|
28104
|
+
this.openColumnMenu(chipColumnName, `.chip[data-value="${chipColumnName}"]`);
|
|
28083
28105
|
}, _KupDataTable_renderCommandDropDownButton = function _KupDataTable_renderCommandDropDownButton(commandObj, styling) {
|
|
28084
28106
|
const data = {
|
|
28085
28107
|
'kup-list': {
|
|
@@ -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-17c1377b.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid 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-17c1377b.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 } 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-17c1377b.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -2,7 +2,7 @@ import { h, F as Fragment } from './index-9b0f4a0d.js';
|
|
|
2
2
|
import { ap as editableTypes, aq as kupTypes, R as FCellClasses, ac as FCellTypes, f as KupThemeColorValues, an as CHIAdapter, al as RADAdapter, ak as CMBandACPAdapter, ar as KupTagNames, F as FCellShapes, ah as getCellValueForDisplay, a as KupComponentSizing, as as fullWidthFieldsComps, I as ItemsDisplayMode, at as autoCenterComps, au as adaptContentToDisplayMode, av as FCellEvents, aw as isForceUppercase, ax as isForceLowercase, h as KupDebugCategory } from './kup-manager-63a8048f.js';
|
|
3
3
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
4
4
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
5
|
-
import { F as FChipType, d as FChip } from './f-chip-
|
|
5
|
+
import { F as FChipType, d as FChip } from './f-chip-0264147f.js';
|
|
6
6
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
7
7
|
import { F as FObjectField } from './f-object-field-75069ac2.js';
|
|
8
8
|
import { F as FTextField } from './f-text-field-ebe023fb.js';
|
|
@@ -146,6 +146,7 @@ var FChipType;
|
|
|
146
146
|
FChipType["CHOICE"] = "choice";
|
|
147
147
|
FChipType["FILTER"] = "filter";
|
|
148
148
|
FChipType["INPUT"] = "input";
|
|
149
|
+
// HAS_FILTER = 'has-filter',
|
|
149
150
|
FChipType["STANDARD"] = "standard";
|
|
150
151
|
})(FChipType || (FChipType = {}));
|
|
151
152
|
/**
|
|
@@ -239,8 +240,9 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
239
240
|
}
|
|
240
241
|
}
|
|
241
242
|
function createChip(chip, disabled) {
|
|
243
|
+
var _a;
|
|
242
244
|
const onlyIcon = !!(chip.icon && !chip.value);
|
|
243
|
-
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled
|
|
245
|
+
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled ? 'chip--disabled' : ''}`;
|
|
244
246
|
let iconEl = [];
|
|
245
247
|
let iconClass = 'chip__icon chip__icon--leading';
|
|
246
248
|
if (isFilter || isChoice) {
|
|
@@ -272,6 +274,8 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
272
274
|
let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? ItemsDisplayMode.CODE : props.displayMode, ' - ');
|
|
273
275
|
return (h("div", { class: componentClass, "data-value": chip.id, onClick: props.onClick && props.onClick[i]
|
|
274
276
|
? props.onClick[i].bind(props.onClick[i], chip)
|
|
277
|
+
: null, onContextMenu: props.onContextMenu && props.onContextMenu[i]
|
|
278
|
+
? props.onContextMenu[i].bind(props.onContextMenu[i], chip)
|
|
275
279
|
: null, role: "row", title: chip.title ? chip.title : '' },
|
|
276
280
|
h("span", { class: "chip-set__indent" }),
|
|
277
281
|
iconEl,
|
|
@@ -284,6 +288,11 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
284
288
|
? props.onFocus[i].bind(props.onFocus[i], chip)
|
|
285
289
|
: null },
|
|
286
290
|
h("span", { class: "chip__text" }, chipText))),
|
|
291
|
+
((_a = props.hasFilter) === null || _a === void 0 ? void 0 : _a[i]) && (h("span", { role: "gridcell" },
|
|
292
|
+
h("span", { tabindex: "-1", class: `kup-icon chip__icon ${KupThemeIconValues.FILTER_REMOVE.replace('--', '')}`, onClick: props.onClearFilterClick &&
|
|
293
|
+
props.onClearFilterClick[i]
|
|
294
|
+
? props.onClearFilterClick[i].bind(props.onClearFilterClick[i], chip)
|
|
295
|
+
: null }))),
|
|
287
296
|
isInput ? (h("span", { role: "gridcell" },
|
|
288
297
|
h("span", { tabindex: "-1", class: `kup-icon chip__icon ${KupThemeIconValues.CLEAR.replace('--', '')}`, onClick: props.onIconClick && props.onIconClick[i]
|
|
289
298
|
? props.onIconClick[i].bind(props.onIconClick[i], chip)
|