@sme.up/ketchup 11.0.7 → 11.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-button-9aca7812.js → f-button-a1b656d2.js} +3 -1
- package/dist/cjs/{f-cell-eed32cd7.js → f-cell-2b05ec41.js} +7 -7
- package/dist/cjs/{f-chip-ec543689.js → f-chip-911142ce.js} +1 -1
- package/dist/cjs/{f-object-field-1ddaee2d.js → f-object-field-60ddab64.js} +3 -3
- package/dist/cjs/{f-paginator-utils-f0d22b06.js → f-paginator-utils-fcbea8ea.js} +2 -2
- package/dist/cjs/{f-text-field-4d4fa492.js → f-text-field-028d892b.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +43 -32
- package/dist/cjs/kup-box.cjs.entry.js +19 -15
- package/dist/cjs/kup-calendar.cjs.entry.js +3 -3
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-9a9ad503.js → kup-data-table-helper-a1d68467.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +20 -18
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
- package/dist/cjs/{kup-manager-8787fc42.js → kup-manager-f3bdd297.js} +4 -3
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-txt.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +11 -9
- package/dist/collection/components/kup-box/kup-box.js +11 -7
- package/dist/collection/components/kup-data-table/kup-data-table.js +21 -12
- package/dist/collection/components/kup-form/kup-form.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +14 -12
- package/dist/collection/f-components/f-button/f-button.js +3 -1
- package/dist/collection/f-components/f-cell/f-cell.js +2 -2
- package/dist/collection/managers/kup-data/kup-data.js +4 -3
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- 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 +2 -2
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +17 -15
- package/dist/components/kup-lazy.js +2 -2
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-object-field.js +2 -2
- package/dist/components/kup-planner.js +2 -2
- package/dist/components/kup-probe.js +2 -2
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +2 -2
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +2 -2
- 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 +2 -2
- package/dist/components/kup-typography-list.js +2 -2
- package/dist/components/kup-typography.js +2 -2
- package/dist/components/{p-362d7a44.js → p-0a8eb556.js} +4 -3
- package/dist/components/{p-fc3df00a.js → p-0bd261d7.js} +2 -2
- package/dist/components/{p-fcdae215.js → p-1314bbdf.js} +13 -9
- package/dist/components/{p-f1766ad7.js → p-2807b2ad.js} +2 -2
- package/dist/components/{p-a30c0106.js → p-4a48a95b.js} +41 -28
- package/dist/components/{p-b85372ba.js → p-afa666c5.js} +2 -2
- package/dist/esm/{f-button-3e022953.js → f-button-93e7961b.js} +3 -1
- package/dist/esm/{f-cell-bd79ffef.js → f-cell-3b2ffb31.js} +7 -7
- package/dist/esm/{f-chip-c22107de.js → f-chip-5308ce63.js} +1 -1
- package/dist/esm/{f-object-field-90dfb903.js → f-object-field-79b11bc0.js} +3 -3
- package/dist/esm/{f-paginator-utils-38b51762.js → f-paginator-utils-a5920e3f.js} +2 -2
- package/dist/esm/{f-text-field-31ad8f7f.js → f-text-field-2a249262.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_30.entry.js +43 -32
- package/dist/esm/kup-box.entry.js +19 -15
- package/dist/esm/kup-calendar.entry.js +3 -3
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-3a60f39d.js → kup-data-table-helper-22528638.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +2 -2
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +20 -18
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-35960eb2.js → kup-manager-c45fb212.js} +4 -3
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/kup-planner.entry.js +2 -2
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-txt.entry.js +1 -1
- package/dist/esm/kup-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-751b23b7.entry.js → p-054dab8e.entry.js} +1 -1
- package/dist/ketchup/{p-707dff2c.entry.js → p-054e86fa.entry.js} +1 -1
- package/dist/ketchup/{p-21cb6f39.entry.js → p-10ce03d9.entry.js} +1 -1
- package/dist/ketchup/{p-c838a17e.entry.js → p-1b41a2f5.entry.js} +1 -1
- package/dist/ketchup/{p-3b4d57f5.entry.js → p-1b4e7e1d.entry.js} +1 -1
- package/dist/ketchup/p-206177c6.js +1 -0
- package/dist/ketchup/{p-5f82173c.js → p-21ccfe53.js} +1 -1
- package/dist/ketchup/{p-77117b3a.entry.js → p-2f10f0dc.entry.js} +1 -1
- package/dist/ketchup/p-310d2f7f.entry.js +8 -0
- package/dist/ketchup/{p-99761543.entry.js → p-34e90e24.entry.js} +1 -1
- package/dist/ketchup/{p-08ac13a7.entry.js → p-38965836.entry.js} +1 -1
- package/dist/ketchup/{p-76c2f184.entry.js → p-38fa4745.entry.js} +1 -1
- package/dist/ketchup/p-3a4f2645.entry.js +1 -0
- package/dist/ketchup/{p-541d469a.entry.js → p-4188de38.entry.js} +1 -1
- package/dist/ketchup/{p-2d954ca8.entry.js → p-430eba1f.entry.js} +1 -1
- package/dist/ketchup/{p-a841aef5.entry.js → p-4efa5cf8.entry.js} +1 -1
- package/dist/ketchup/{p-9f5d650a.js → p-52468dba.js} +1 -1
- package/dist/ketchup/p-5249e759.entry.js +1 -0
- package/dist/ketchup/{p-6d3521d6.entry.js → p-5c16e13d.entry.js} +1 -1
- package/dist/ketchup/{p-bbd702fd.entry.js → p-5f1013cd.entry.js} +1 -1
- package/dist/ketchup/{p-6dd48c60.entry.js → p-6a68c47d.entry.js} +1 -1
- package/dist/ketchup/{p-9ae814eb.js → p-6b7448c7.js} +1 -1
- package/dist/ketchup/{p-b6a5e87c.entry.js → p-6dd07391.entry.js} +1 -1
- package/dist/ketchup/{p-68dc4ed1.js → p-7cad8215.js} +1 -1
- package/dist/ketchup/p-97eba4ec.entry.js +1 -0
- package/dist/ketchup/{p-ab6b96ab.entry.js → p-9ec6c43e.entry.js} +1 -1
- package/dist/ketchup/{p-7e0fb905.entry.js → p-a799b4e8.entry.js} +1 -1
- package/dist/ketchup/{p-939094ef.entry.js → p-c3fde41a.entry.js} +1 -1
- package/dist/ketchup/{p-55e69e9f.entry.js → p-ca91eb26.entry.js} +1 -1
- package/dist/ketchup/{p-d66086d5.entry.js → p-d16d66fc.entry.js} +1 -1
- package/dist/ketchup/{p-c31f37f9.entry.js → p-f03f501a.entry.js} +1 -1
- package/dist/ketchup/{p-c2367aee.js → p-f0ce7a1c.js} +1 -1
- package/dist/ketchup/{p-b1197adf.entry.js → p-fbbf08d7.entry.js} +1 -1
- package/dist/ketchup/{p-df0207be.entry.js → p-fcee2b95.entry.js} +1 -1
- package/dist/ketchup/p-ff9d5cc2.js +1 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +1 -1
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data.d.ts +1 -1
- package/package.json +2 -2
- package/dist/ketchup/p-067b5430.entry.js +0 -1
- package/dist/ketchup/p-1ad40fd0.js +0 -1
- package/dist/ketchup/p-37c3d27d.js +0 -1
- package/dist/ketchup/p-a44780fb.entry.js +0 -1
- package/dist/ketchup/p-a8714314.entry.js +0 -8
- package/dist/ketchup/p-fa177711.entry.js +0 -1
- /package/dist/ketchup/{p-14c6efce.js → p-6742335b.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement$1, F as Fragment, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupLanguageGeneric, c as getSizeOfInputElement, d as KupThemeIconValues, e as KupDynamicPositionPlacement, f as KupThemeColorValues, h as KupDebugCategory, F as FCellShapes, i as FCellPadding, j as fillString, l as KupCardBuiltInClockElements, m as KupCardCSSClasses, n as KupLanguageTotals, o as KupLanguageColumn, p as KupDataNewColumnTypes, q as KupCardSubEvents, r as KupCardIds, t as KupLanguageRow, u as KupLanguageSearch, v as KupCardFamily, w as KupCardProps, x as getColumnByName, y as formatToNumber, z as KupObjects, A as identify, G as GroupLabelDisplayMode, S as SelectionMode, B as KupLanguageGrouping, C as KupLanguageCheckbox, D as getValueForDisplay2, E as Filters, H as getValueForDisplay, J as extractColumnsFromFormulaString, L as FILTER_ANALYZER, M as LoadMoreMode, P as PaginatorPos, N as ShowGrid, T as TotalLabel, O as TotalMode, Q as getRegExpFromString, R as isNegativeNumber, U as FCellClasses, V as kupDynamicPositionAttribute, W as KupPointerEventTypes, X as kupDraggableColumnAttr, Y as kupDragActiveAttr, Z as KupDragEffect, _ as kupDraggableCellAttr, $ as KupDropEventTypes, a0 as DataTableAreasEnum, a1 as TypesToDuplicate, a2 as UseAsValue, a3 as FixedCellsClasses, a4 as FixedCellsCSSVarsBase, a5 as KupLanguageFontsize, a6 as KupLanguageDensity, a7 as KupLanguageGrid, a8 as KupDataTableProps, a9 as SortMode, aa as iconColumn, ab as keyColumn, ac as fieldColumn, ad as KupLanguageUpload, ae as FCellTypes, af as KupListRole, ag as KupListProps, ah as addColumnValueFromRow, ai as KupGlobalFilterMode } from './kup-manager-
|
|
3
|
-
import { F as FTextField } from './f-text-field-
|
|
2
|
+
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupLanguageGeneric, c as getSizeOfInputElement, d as KupThemeIconValues, e as KupDynamicPositionPlacement, f as KupThemeColorValues, h as KupDebugCategory, F as FCellShapes, i as FCellPadding, j as fillString, l as KupCardBuiltInClockElements, m as KupCardCSSClasses, n as KupLanguageTotals, o as KupLanguageColumn, p as KupDataNewColumnTypes, q as KupCardSubEvents, r as KupCardIds, t as KupLanguageRow, u as KupLanguageSearch, v as KupCardFamily, w as KupCardProps, x as getColumnByName, y as formatToNumber, z as KupObjects, A as identify, G as GroupLabelDisplayMode, S as SelectionMode, B as KupLanguageGrouping, C as KupLanguageCheckbox, D as getValueForDisplay2, E as Filters, H as getValueForDisplay, J as extractColumnsFromFormulaString, L as FILTER_ANALYZER, M as LoadMoreMode, P as PaginatorPos, N as ShowGrid, T as TotalLabel, O as TotalMode, Q as getRegExpFromString, R as isNegativeNumber, U as FCellClasses, V as kupDynamicPositionAttribute, W as KupPointerEventTypes, X as kupDraggableColumnAttr, Y as kupDragActiveAttr, Z as KupDragEffect, _ as kupDraggableCellAttr, $ as KupDropEventTypes, a0 as DataTableAreasEnum, a1 as TypesToDuplicate, a2 as UseAsValue, a3 as FixedCellsClasses, a4 as FixedCellsCSSVarsBase, a5 as KupLanguageFontsize, a6 as KupLanguageDensity, a7 as KupLanguageGrid, a8 as KupDataTableProps, a9 as SortMode, aa as iconColumn, ab as keyColumn, ac as fieldColumn, ad as KupLanguageUpload, ae as FCellTypes, af as KupListRole, ag as KupListProps, ah as addColumnValueFromRow, ai as KupGlobalFilterMode } from './kup-manager-c45fb212.js';
|
|
3
|
+
import { F as FTextField } from './f-text-field-2a249262.js';
|
|
4
4
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
5
|
-
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-
|
|
5
|
+
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-5308ce63.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
8
|
-
import { F as FButton } from './f-button-
|
|
8
|
+
import { F as FButton } from './f-button-93e7961b.js';
|
|
9
9
|
import { F as FButtonAlign, a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
10
|
-
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-
|
|
10
|
+
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-3b2ffb31.js';
|
|
11
11
|
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-c38ee99a.js';
|
|
12
12
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
13
13
|
import { F as FCheckbox } from './f-checkbox-9912e1a4.js';
|
|
14
|
-
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-
|
|
15
|
-
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-
|
|
16
|
-
import './f-object-field-
|
|
14
|
+
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-22528638.js';
|
|
15
|
+
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-a5920e3f.js';
|
|
16
|
+
import './f-object-field-79b11bc0.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Props of the kup-autocomplete component.
|
|
@@ -375,7 +375,7 @@ const KupAutocomplete = class {
|
|
|
375
375
|
__classPrivateFieldGet$b(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, true);
|
|
376
376
|
}
|
|
377
377
|
render() {
|
|
378
|
-
var _a;
|
|
378
|
+
var _a, _b;
|
|
379
379
|
const props = {
|
|
380
380
|
alert: this.alert,
|
|
381
381
|
danger: this.rootElement.classList.contains('kup-danger')
|
|
@@ -409,9 +409,9 @@ const KupAutocomplete = class {
|
|
|
409
409
|
};
|
|
410
410
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
411
411
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
412
|
-
return (h(Host, { key: '
|
|
412
|
+
return (h(Host, { key: 'dcf5fb54a29f7417eb03a900996212ebed8ade9b', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$b(this, _KupAutocomplete_elStyle, "f") }, h("style", { key: '841899fcb8b4d3220ac82b14311f2b4d4d69acbd' }, __classPrivateFieldGet$b(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd7f7c3309a92552d8a0199004ab5fed75d492275', id: componentWrapperId, style: __classPrivateFieldGet$b(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ key: '60f9bc7ec98b83792059b14e6f9e3ad12052326f' }, props, { icon: this.showDropDownIcon
|
|
413
413
|
? KupThemeIconValues.SEARCH
|
|
414
|
-
: null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChangeSubmit(e.target.value, this.kupChange), onFocus: () => this.onKupFocus(), onInput: () => {
|
|
414
|
+
: null, trailingIcon: true }, (_b = this.data) === null || _b === void 0 ? void 0 : _b['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChangeSubmit(e.target.value, this.kupChange), onFocus: () => this.onKupFocus(), onInput: () => {
|
|
415
415
|
window.clearTimeout(__classPrivateFieldGet$b(this, _KupAutocomplete_inputTimeout, "f"));
|
|
416
416
|
__classPrivateFieldSet$6(this, _KupAutocomplete_inputTimeout, window.setTimeout(() => this.onKupInput(), this.inputDelay), "f");
|
|
417
417
|
}, onIconClick: () => this.onKupIconClick(), onClearIconClick: () => this.onKupClearIconClick() }))), __classPrivateFieldGet$b(this, _KupAutocomplete_instances, "m", _KupAutocomplete_prepList).call(this)));
|
|
@@ -430,13 +430,13 @@ const KupAutocomplete = class {
|
|
|
430
430
|
}; }
|
|
431
431
|
};
|
|
432
432
|
_KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(), _KupAutocomplete_kupManager = new WeakMap(), _KupAutocomplete_textfieldWrapper = new WeakMap(), _KupAutocomplete_textfieldEl = new WeakMap(), _KupAutocomplete_clickCb = new WeakMap(), _KupAutocomplete_inputTimeout = new WeakMap(), _KupAutocomplete_instances = new WeakSet(), _KupAutocomplete_openList = function _KupAutocomplete_openList(forceOpen) {
|
|
433
|
-
var _a, _b, _c, _d;
|
|
433
|
+
var _a, _b, _c, _d, _e;
|
|
434
434
|
if (forceOpen != true &&
|
|
435
435
|
__classPrivateFieldGet$b(this, _KupAutocomplete_textfieldEl, "f").value.length < this.minimumChars) {
|
|
436
436
|
__classPrivateFieldGet$b(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
|
|
437
437
|
return false;
|
|
438
438
|
}
|
|
439
|
-
if (forceOpen && !((_b = (_a = this.data['kup-list']) === null ||
|
|
439
|
+
if (forceOpen && !((_c = (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a['kup-list']) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.length)) {
|
|
440
440
|
this.kupIconClick.emit({
|
|
441
441
|
comp: this,
|
|
442
442
|
id: this.rootElement.id,
|
|
@@ -445,8 +445,8 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
445
445
|
open: true,
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
const hasError = ((
|
|
449
|
-
const hasAlert = ((
|
|
448
|
+
const hasError = ((_d = this.error) === null || _d === void 0 ? void 0 : _d.trim().length) > 0;
|
|
449
|
+
const hasAlert = ((_e = this.alert) === null || _e === void 0 ? void 0 : _e.trim().length) > 0;
|
|
450
450
|
const topOffset = hasError || hasAlert ? -20 : 0;
|
|
451
451
|
__classPrivateFieldGet$b(this, _KupAutocomplete_textfieldWrapper, "f").classList.add('toggled');
|
|
452
452
|
__classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f").menuVisible = true;
|
|
@@ -479,11 +479,12 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
479
479
|
}, _KupAutocomplete_isListOpened = function _KupAutocomplete_isListOpened() {
|
|
480
480
|
return __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f").menuVisible == true;
|
|
481
481
|
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
|
|
482
|
+
var _a;
|
|
482
483
|
if (idIn && idInDecode) {
|
|
483
484
|
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.DescrMode, ' - ');
|
|
484
485
|
}
|
|
485
486
|
else {
|
|
486
|
-
const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.DescrMode);
|
|
487
|
+
const ret = consistencyCheck(idIn, (_a = this.data) === null || _a === void 0 ? void 0 : _a['kup-list'], __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.DescrMode);
|
|
487
488
|
if ((ret.exists || this.allowInconsistentValues) &&
|
|
488
489
|
eventShouldSetValue) {
|
|
489
490
|
this.value = ret.value;
|
|
@@ -498,7 +499,8 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
498
499
|
return ret;
|
|
499
500
|
}
|
|
500
501
|
}, _KupAutocomplete_prepList = function _KupAutocomplete_prepList() {
|
|
501
|
-
|
|
502
|
+
var _a;
|
|
503
|
+
return (h("kup-list", Object.assign({ DescrMode: this.ListDescrMode }, (_a = this.data) === null || _a === void 0 ? void 0 : _a['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$6(this, _KupAutocomplete_listEl, el, "f")) })));
|
|
502
504
|
};
|
|
503
505
|
KupAutocomplete.style = KupAutocompleteStyle0;
|
|
504
506
|
|
|
@@ -9247,7 +9249,13 @@ const KupDataTable = class {
|
|
|
9247
9249
|
if (this.data.rows.filter((r) => r.id == undefined).length) {
|
|
9248
9250
|
identify(this.getRows());
|
|
9249
9251
|
}
|
|
9250
|
-
|
|
9252
|
+
// Group expansion is triggered at the end of decorateAndInitForUpdTable()
|
|
9253
|
+
// instead, so the grouped row tree (which clones rows, severing the live
|
|
9254
|
+
// reference to this.data.rows) is rebuilt from already-decorated and
|
|
9255
|
+
// already-patched (pendingRowsToUpdate) cell data. Doing it here, before
|
|
9256
|
+
// decorateDataTable() runs, caused cells in grouped tables to keep a
|
|
9257
|
+
// stale cell.data missing the 'kup-list'/'kup-text-field' slot data,
|
|
9258
|
+
// crashing kup-autocomplete's consistency check on the next value change.
|
|
9251
9259
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
|
|
9252
9260
|
}
|
|
9253
9261
|
decorateAndInitForUpdTable() {
|
|
@@ -9285,6 +9293,9 @@ const KupDataTable = class {
|
|
|
9285
9293
|
__classPrivateFieldSet$4(this, _KupDataTable_insertedRowIds, [], "f");
|
|
9286
9294
|
__classPrivateFieldSet$4(this, _KupDataTable_modifiedRowsIds, [], "f");
|
|
9287
9295
|
}
|
|
9296
|
+
// Runs after pendingRowsToUpdate patching and decorateDataTable() above,
|
|
9297
|
+
// so grouped rows are (re)built from fully decorated, up-to-date cells.
|
|
9298
|
+
this.expandGroupsHandler();
|
|
9288
9299
|
}
|
|
9289
9300
|
computeMaxRowsPerPage() {
|
|
9290
9301
|
var _a, _b, _c, _d;
|
|
@@ -10302,7 +10313,7 @@ const KupDataTable = class {
|
|
|
10302
10313
|
__classPrivateFieldSet$4(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
10303
10314
|
let rows = null;
|
|
10304
10315
|
if (__classPrivateFieldGet$8(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
10305
|
-
rows = (h("tr", { key: '
|
|
10316
|
+
rows = (h("tr", { key: '222a8279fe407575382a65c83e33fd4b2569014a', ref: (el) => __classPrivateFieldGet$8(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '9c5ed4321284ebbec8dcab42d8c833b22a5e5a8a', colSpan: __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
10306
10317
|
}
|
|
10307
10318
|
else {
|
|
10308
10319
|
rows = [];
|
|
@@ -10378,7 +10389,7 @@ const KupDataTable = class {
|
|
|
10378
10389
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
10379
10390
|
});
|
|
10380
10391
|
}
|
|
10381
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
10392
|
+
groupChips = h(FChip, Object.assign({ key: '3dcf15fd1edb4038a0bde0f7832ecc63030917ba' }, props));
|
|
10382
10393
|
}
|
|
10383
10394
|
}
|
|
10384
10395
|
const tableClass = {
|
|
@@ -10410,7 +10421,7 @@ const KupDataTable = class {
|
|
|
10410
10421
|
if (this.headerIsPersistent &&
|
|
10411
10422
|
this.tableHeight === undefined &&
|
|
10412
10423
|
this.tableWidth === undefined) {
|
|
10413
|
-
stickyEl = (h("sticky-header", { key: '
|
|
10424
|
+
stickyEl = (h("sticky-header", { key: '012a49ef4e86f9653a7f019e458a3726cd848c96', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: '8d7af5595a3a85ba1e6d2b0b20f745212322c347' }, h("tr-sticky", { key: 'f33ccbb7ec7dfe9dd98f6b70faf73540a4b0df31' }, stickyHeader))));
|
|
10414
10425
|
}
|
|
10415
10426
|
let belowClass = 'below-wrapper';
|
|
10416
10427
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10456,7 +10467,7 @@ const KupDataTable = class {
|
|
|
10456
10467
|
const useGlobalFilter = !this.legacyLook &&
|
|
10457
10468
|
(this.globalFilter ||
|
|
10458
10469
|
this.getRows().length > __classPrivateFieldGet$8(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
10459
|
-
const compCreated = (h(Host, { key: '
|
|
10470
|
+
const compCreated = (h(Host, { key: '5264eb4129ec9fdca78982b3eacf4dba3fd80fde', "onKup-drop": (e) => {
|
|
10460
10471
|
this.kupDataTableDrop.emit(e.detail);
|
|
10461
10472
|
}, "onKup-cell-input": (e) => {
|
|
10462
10473
|
autoselectOnAction(e);
|
|
@@ -10475,11 +10486,11 @@ const KupDataTable = class {
|
|
|
10475
10486
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10476
10487
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10477
10488
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10478
|
-
} }, h("style", { key: '
|
|
10489
|
+
} }, h("style", { key: '7c422ef8e9ef0e9a73fa7e4ff2d429babac78432' }, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), h("div", { key: 'e7665c4b6a220ab94ec6a78c9e821e3480a9e95e', id: componentWrapperId, class: wrapClass }, h("div", { key: 'b160e64031639cb6319bc43aac7b08e6c92a83a3', class: "group-wrapper" }, groupChips), h("div", { key: '53d1d060d86f15869a3448330348c6f1d5ea89dc', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
|
|
10479
10490
|
const t = event.target;
|
|
10480
10491
|
window.clearTimeout(__classPrivateFieldGet$8(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10481
10492
|
__classPrivateFieldSet$4(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10482
|
-
} }))) : null, paginatorTop && (h("div", { key: '
|
|
10493
|
+
} }))) : null, paginatorTop && (h("div", { key: '2c200acb217f83755654023dd824591669fe1f9e', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
10483
10494
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
10484
10495
|
this.kupSave.emit({
|
|
10485
10496
|
comp: this,
|
|
@@ -10529,9 +10540,9 @@ const KupDataTable = class {
|
|
|
10529
10540
|
this.data.rows.unshift(row);
|
|
10530
10541
|
await this.refresh(true);
|
|
10531
10542
|
}
|
|
10532
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
10543
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '1c87d7627e2e8eca3805b3acf8579fcf4a6a8cfb', class: "droparea", ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
10533
10544
|
? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10534
|
-
: null), h("div", { key: '
|
|
10545
|
+
: null), h("div", { key: '9ee1376d49777a9181bd638713ac773eb600b850', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10535
10546
|
? [
|
|
10536
10547
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
10537
10548
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10540,7 +10551,7 @@ const KupDataTable = class {
|
|
|
10540
10551
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10541
10552
|
this.renderCustomizePanel(),
|
|
10542
10553
|
]
|
|
10543
|
-
: null, h("table", { key: '
|
|
10554
|
+
: null, h("table", { key: 'b0154ffe6d1bcdb073ed8a9c5083c5fcfb1d4222', class: tableClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$8(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
10544
10555
|
ev.stopPropagation();
|
|
10545
10556
|
}, onPointerDown: (e) => {
|
|
10546
10557
|
__classPrivateFieldSet$4(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -10548,7 +10559,7 @@ const KupDataTable = class {
|
|
|
10548
10559
|
__classPrivateFieldSet$4(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
10549
10560
|
}, onContextMenu: (e) => {
|
|
10550
10561
|
e.preventDefault();
|
|
10551
|
-
} }, h("thead", { key: '
|
|
10562
|
+
} }, h("thead", { key: 'd0b45272e078fb72046591df5cee832c3ad01b40', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: '5b7db1061b419177488d7f6227a39eb5a9b07428' }, header)), h("tbody", { key: '02881d35ba957b56a84fc3ee8468a04bd6be3d82' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
10552
10563
|
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
10553
10564
|
return compCreated;
|
|
10554
10565
|
}
|
|
@@ -12033,7 +12044,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = new WeakM
|
|
|
12033
12044
|
}, _KupDataTable_copyCellValueInColumnHandler = function _KupDataTable_copyCellValueInColumnHandler(e, el) {
|
|
12034
12045
|
const details = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(el, this.rootElement));
|
|
12035
12046
|
const { cell, column, row } = details;
|
|
12036
|
-
const cellType = dom$2.ketchup.data.cell.getType(cell, cell.shape);
|
|
12047
|
+
const cellType = dom$2.ketchup.data.cell.getType(column, cell, cell.shape);
|
|
12037
12048
|
if (!TypesToDuplicate.includes(cellType)) {
|
|
12038
12049
|
return;
|
|
12039
12050
|
}
|
|
@@ -15053,7 +15064,7 @@ const KupForm = class {
|
|
|
15053
15064
|
return (h("td", { class: `form__label form__label--${alignment}`, style: style }, h("span", null, label)));
|
|
15054
15065
|
}
|
|
15055
15066
|
function setPlaceholderLabel() {
|
|
15056
|
-
switch (dom$1.ketchup.data.cell.getType(cell, cell.shape || column.shape || null)) {
|
|
15067
|
+
switch (dom$1.ketchup.data.cell.getType(column, cell, cell.shape || column.shape || null)) {
|
|
15057
15068
|
case FCellTypes.AUTOCOMPLETE:
|
|
15058
15069
|
case FCellTypes.COLOR_PICKER:
|
|
15059
15070
|
case FCellTypes.COMBOBOX:
|
|
@@ -15118,7 +15129,7 @@ const KupForm = class {
|
|
|
15118
15129
|
render() {
|
|
15119
15130
|
let formContent = null;
|
|
15120
15131
|
if (this.data.rows.length === 0) {
|
|
15121
|
-
formContent = (h("p", { key: '
|
|
15132
|
+
formContent = (h("p", { key: 'ea815da488cf3ac3ac14510a9526b09417d39ebf' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
|
|
15122
15133
|
}
|
|
15123
15134
|
else {
|
|
15124
15135
|
const rows = this.data.rows;
|
|
@@ -15129,7 +15140,7 @@ const KupForm = class {
|
|
|
15129
15140
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
15130
15141
|
}
|
|
15131
15142
|
}
|
|
15132
|
-
return (h(Host, { key: '
|
|
15143
|
+
return (h(Host, { key: '87eec5120123fb0d89bbc454825ab9717f8cc57a' }, h("style", { key: '17bd0739b753023d6636496d93852e8b5a8f3e77' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '5ff34b363c16a369a175f4e166fcb8acd5880139', id: componentWrapperId }, formContent)));
|
|
15133
15144
|
}
|
|
15134
15145
|
disconnectedCallback() {
|
|
15135
15146
|
this.kupManager.language.unregister(this);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a9 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, W as KupPointerEventTypes, Z as KupDragEffect, aH as kupDraggableAttr, $ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-
|
|
3
|
-
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-
|
|
2
|
+
import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a9 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, W as KupPointerEventTypes, Z as KupDragEffect, aH as kupDraggableAttr, $ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-c45fb212.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-22528638.js';
|
|
4
4
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
5
|
-
import { d as FChip } from './f-chip-
|
|
5
|
+
import { d as FChip } from './f-chip-5308ce63.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
8
|
-
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-
|
|
7
|
+
import { F as FCell } from './f-cell-3b2ffb31.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-a5920e3f.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-c38ee99a.js';
|
|
11
|
-
import './f-button-
|
|
11
|
+
import './f-button-93e7961b.js';
|
|
12
12
|
import './f-button-declarations-6c8f8abe.js';
|
|
13
13
|
import './f-checkbox-9912e1a4.js';
|
|
14
|
-
import './f-object-field-
|
|
15
|
-
import './f-text-field-
|
|
14
|
+
import './f-object-field-79b11bc0.js';
|
|
15
|
+
import './f-text-field-2a249262.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1040,7 +1040,7 @@ const KupBox = class {
|
|
|
1040
1040
|
didLoadInteractables() {
|
|
1041
1041
|
this.interactableTouch.push(this.boxContainer);
|
|
1042
1042
|
const tapCb = (e) => {
|
|
1043
|
-
var _a;
|
|
1043
|
+
var _a, _b;
|
|
1044
1044
|
if (this.hold) {
|
|
1045
1045
|
this.hold = false;
|
|
1046
1046
|
return;
|
|
@@ -1055,12 +1055,16 @@ const KupBox = class {
|
|
|
1055
1055
|
clone[key] = e[key];
|
|
1056
1056
|
}
|
|
1057
1057
|
const details = this.clickHandler(clone);
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1058
|
+
// If the box or a cell without fun is clicked
|
|
1059
|
+
// emit the box click, else leave the managment to onKup-cell-click handler
|
|
1060
|
+
if (!((_a = details === null || details === void 0 ? void 0 : details.cell) === null || _a === void 0 ? void 0 : _a['fun'])) {
|
|
1061
|
+
this.kupBoxClick.emit({
|
|
1062
|
+
comp: this,
|
|
1063
|
+
id: this.rootElement.id,
|
|
1064
|
+
row: details.row,
|
|
1065
|
+
column: (_b = details.column) === null || _b === void 0 ? void 0 : _b.name,
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1064
1068
|
break;
|
|
1065
1069
|
case 2:
|
|
1066
1070
|
this.kupBoxContextMenu.emit({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import { F as FButton } from './f-button-
|
|
5
|
-
import { d as FChip, F as FChipType } from './f-chip-
|
|
4
|
+
import { F as FButton } from './f-button-93e7961b.js';
|
|
5
|
+
import { d as FChip, F as FChipType } from './f-chip-5308ce63.js';
|
|
6
6
|
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-c38ee99a.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-40b4e64b.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, aj as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, aj as getCellValueForDisplay } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-c38ee99a.js';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, i as FCellPadding, aB as KupCellElementsPosition, g as getProps, s as setProps, Z as KupDragEffect, aC as submitPositionAdapter, b as KupLanguageGeneric, aD as KupCellProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, i as FCellPadding, aB as KupCellElementsPosition, g as getProps, s as setProps, Z as KupDragEffect, aC as submitPositionAdapter, b as KupLanguageGeneric, aD as KupCellProps } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import { F as FButton } from './f-button-
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
4
|
+
import { F as FButton } from './f-button-93e7961b.js';
|
|
5
|
+
import { F as FCell } from './f-cell-3b2ffb31.js';
|
|
6
6
|
import './kup-dates-c38ee99a.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-40b4e64b.js';
|
|
9
9
|
import './f-checkbox-9912e1a4.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-5308ce63.js';
|
|
11
|
+
import './f-object-field-79b11bc0.js';
|
|
12
|
+
import './f-text-field-2a249262.js';
|
|
13
13
|
|
|
14
14
|
const kupCellCss = ".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}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
15
15
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { F as FButton } from './f-button-
|
|
2
|
+
import { F as FButton } from './f-button-93e7961b.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-9912e1a4.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
4
|
+
import { F as FTextField } from './f-text-field-2a249262.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aE as KupLanguageDashboard, b as KupLanguageGeneric, Z as KupDragEffect, h as KupDebugCategory } from './kup-manager-
|
|
6
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aE as KupLanguageDashboard, b as KupLanguageGeneric, Z as KupDragEffect, h as KupDebugCategory } from './kup-manager-c45fb212.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-40b4e64b.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, aj as getCellValueForDisplay, x as getColumnByName, z as KupObjects, ak as KupData, al as compareCell, O as TotalMode, Q as getRegExpFromString, F as FCellShapes, am as CMBandACPAdapter, an as RADAdapter, ao as CHKAdapter, ap as CHIAdapter, aq as SWTAdapter, a9 as SortMode } from './kup-manager-
|
|
1
|
+
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, aj as getCellValueForDisplay, x as getColumnByName, z as KupObjects, ak as KupData, al as compareCell, O as TotalMode, Q as getRegExpFromString, F as FCellShapes, am as CMBandACPAdapter, an as RADAdapter, ao as CHKAdapter, ap as CHIAdapter, aq as SWTAdapter, a9 as SortMode } from './kup-manager-c45fb212.js';
|
|
2
2
|
import { K as KupDatesFormats } from './kup-dates-c38ee99a.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-c38ee99a.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-c38ee99a.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-c38ee99a.js';
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { F as FButton } from './f-button-
|
|
2
|
+
import { F as FButton } from './f-button-93e7961b.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, W as KupPointerEventTypes } from './kup-manager-
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, W as KupPointerEventTypes } from './kup-manager-c45fb212.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './kup-dates-c38ee99a.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-c38ee99a.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-c38ee99a.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-c45fb212.js';
|
|
3
3
|
import './kup-dates-c38ee99a.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { F as FButton } from './f-button-
|
|
3
|
-
import { F as FCell, e as FLabel } from './f-cell-
|
|
4
|
-
import { F as FCellShapes, k as kupManagerInstance, ae as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, aj as getCellValueForDisplay, a2 as UseAsValue, ap as CHIAdapter, am as CMBandACPAdapter, ao as CHKAdapter, an as RADAdapter, aq as SWTAdapter, h as KupDebugCategory, W as KupPointerEventTypes } from './kup-manager-
|
|
2
|
+
import { F as FButton } from './f-button-93e7961b.js';
|
|
3
|
+
import { F as FCell, e as FLabel } from './f-cell-3b2ffb31.js';
|
|
4
|
+
import { F as FCellShapes, k as kupManagerInstance, ae as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, aj as getCellValueForDisplay, a2 as UseAsValue, ap as CHIAdapter, am as CMBandACPAdapter, ao as CHKAdapter, an as RADAdapter, aq as SWTAdapter, h as KupDebugCategory, W as KupPointerEventTypes } from './kup-manager-c45fb212.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-8c914ec6.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-40b4e64b.js';
|
|
10
10
|
import './f-checkbox-9912e1a4.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-5308ce63.js';
|
|
12
|
+
import './f-object-field-79b11bc0.js';
|
|
13
|
+
import './f-text-field-2a249262.js';
|
|
14
14
|
import './kup-dates-c38ee99a.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
@@ -194,7 +194,7 @@ const KupInputPanel = class {
|
|
|
194
194
|
constructor(hostRef) {
|
|
195
195
|
registerInstance(this, hostRef);
|
|
196
196
|
this.kupReady = createEvent(this, "kup-input-panel-ready", 6);
|
|
197
|
-
this.
|
|
197
|
+
this.kupInputPanelContextMenu = createEvent(this, "kup-inputpanel-contextmenu", 6);
|
|
198
198
|
this.kupInputPanelObjectFieldSearchPayload = createEvent(this, "kup-inputpanel-objectfield-searchpayload", 6);
|
|
199
199
|
this.kupInputPanelObjectFieldOpenSearchMenu = createEvent(this, "kup-inputpanel-objectfield-opensearchmenu", 6);
|
|
200
200
|
this.kupInputPanelObjectFieldSelectedMenuItem = createEvent(this, "kup-inputpanel-objectfield-selectedmenuitem", 6);
|
|
@@ -419,7 +419,7 @@ const KupInputPanel = class {
|
|
|
419
419
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
420
420
|
]
|
|
421
421
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
422
|
-
return (h(Host, { key: '
|
|
422
|
+
return (h(Host, { key: '1e85e08ad732c523fec1eca80df19f7e3da44199', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
423
423
|
this.tabSelected = e.detail.node.id;
|
|
424
424
|
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => {
|
|
425
425
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
@@ -429,7 +429,7 @@ const KupInputPanel = class {
|
|
|
429
429
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
430
430
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
431
431
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
432
|
-
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '
|
|
432
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '1b4cc6c9de25d68eb3686417e935309fc487a596' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '14fe7270026ad82f34e1ad0683e3a2039e0fdf2e', id: componentWrapperId }, inputPanelContent)));
|
|
433
433
|
}
|
|
434
434
|
disconnectedCallback() {
|
|
435
435
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -563,7 +563,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
563
563
|
renderKup: true,
|
|
564
564
|
setSizes: true,
|
|
565
565
|
};
|
|
566
|
-
const label = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getLabelComponent).call(this,
|
|
566
|
+
const label = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getLabelComponent).call(this, column, cell);
|
|
567
567
|
const fcell = h(FCell, Object.assign({}, cellProps));
|
|
568
568
|
if (label) {
|
|
569
569
|
/*
|
|
@@ -640,11 +640,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
640
640
|
? cell.decode
|
|
641
641
|
: cell.value;
|
|
642
642
|
return (h("span", { class: classList.join(' '), id: column.name }, h(FLabel, { style: cell.style, text: value })));
|
|
643
|
-
}, _KupInputPanel_getLabelComponent = function _KupInputPanel_getLabelComponent(
|
|
643
|
+
}, _KupInputPanel_getLabelComponent = function _KupInputPanel_getLabelComponent(column, cell) {
|
|
644
|
+
const label = column.title;
|
|
644
645
|
if (!label) {
|
|
645
646
|
return null;
|
|
646
647
|
}
|
|
647
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
648
|
+
const cellType = dom.ketchup.data.cell.getType(column, cell, cell.shape);
|
|
648
649
|
if (cellType === FCellTypes.RADIO) {
|
|
649
650
|
return h("span", null, label);
|
|
650
651
|
}
|
|
@@ -901,7 +902,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
901
902
|
: [];
|
|
902
903
|
inpuPanelCells.map(({ cells }) => cells.map(({ cell, column }) => {
|
|
903
904
|
var _a;
|
|
904
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
905
|
+
const cellType = dom.ketchup.data.cell.getType(column, cell, cell.shape);
|
|
905
906
|
const queryCompSetValue = __classPrivateFieldGet(this, _KupInputPanel_cellTypeComponents, "f").get(cellType);
|
|
906
907
|
const queryCompNeedsReset = __classPrivateFieldGet(this, _KupInputPanel_cellTypesNeedingReset, "f").get(cellType);
|
|
907
908
|
if (!queryCompSetValue && !queryCompNeedsReset)
|
|
@@ -917,7 +918,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
917
918
|
}
|
|
918
919
|
}, _KupInputPanel_setData = function _KupInputPanel_setData(cell, column, layout) {
|
|
919
920
|
const defaultProps = Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column, layout)), { disabled: !cell.isEditable || column.useAs === UseAsValue.KEY, id: column.name });
|
|
920
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
921
|
+
const cellType = dom.ketchup.data.cell.getType(column, cell, cell.shape);
|
|
921
922
|
const _a = cell.data || {}, noDataProps = __rest(_a, ["data"]);
|
|
922
923
|
return cellType !== FCellTypes.MULTI_AUTOCOMPLETE &&
|
|
923
924
|
cellType !== FCellTypes.MULTI_COMBOBOX
|
|
@@ -977,7 +978,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
977
978
|
fieldLabel = col.title;
|
|
978
979
|
}
|
|
979
980
|
const currentValue = cell.value;
|
|
980
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
981
|
+
const cellType = dom.ketchup.data.cell.getType(col, cell, cell.shape);
|
|
981
982
|
const dataAdapterMap = new Map([
|
|
982
983
|
[FCellTypes.AUTOCOMPLETE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).bind(this)],
|
|
983
984
|
[FCellTypes.BUTTON_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_BTNAdapter).bind(this)],
|
|
@@ -1005,7 +1006,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1005
1006
|
: null;
|
|
1006
1007
|
}, _KupInputPanel_slotData = function _KupInputPanel_slotData(cell, col) {
|
|
1007
1008
|
var _a;
|
|
1008
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
1009
|
+
const cellType = dom.ketchup.data.cell.getType(col, cell, cell.shape);
|
|
1009
1010
|
if (cellType === FCellTypes.CHIP) {
|
|
1010
1011
|
return {
|
|
1011
1012
|
trailingIcon: true,
|
|
@@ -1449,6 +1450,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1449
1450
|
const fcell = path.find((p) => { var _a; return (_a = p.classList) === null || _a === void 0 ? void 0 : _a.contains('f-cell'); });
|
|
1450
1451
|
return fcell;
|
|
1451
1452
|
}, _KupInputPanel_getEventDetails = function _KupInputPanel_getEventDetails(originalEvent) {
|
|
1453
|
+
var _a;
|
|
1452
1454
|
const fcell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_findTraversedFCell).call(this, originalEvent);
|
|
1453
1455
|
if (fcell == null) {
|
|
1454
1456
|
return;
|
|
@@ -1457,7 +1459,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1457
1459
|
const props = fcell['kup-get-cell-props']();
|
|
1458
1460
|
const columnName = props.column.name;
|
|
1459
1461
|
const anchor = fcell;
|
|
1460
|
-
const cell = currState.rows[0].cells[columnName];
|
|
1462
|
+
const cell = (_a = currState.rows[0].cells[columnName]) !== null && _a !== void 0 ? _a : props === null || props === void 0 ? void 0 : props.cell;
|
|
1461
1463
|
const column = currState.columns.find((c) => c.name == columnName);
|
|
1462
1464
|
const row = currState.rows[0];
|
|
1463
1465
|
return {
|
|
@@ -1477,7 +1479,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1477
1479
|
if (e.button == 2) {
|
|
1478
1480
|
const details = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getEventDetails).call(this, e);
|
|
1479
1481
|
if (details) {
|
|
1480
|
-
this.
|
|
1482
|
+
this.kupInputPanelContextMenu.emit({
|
|
1481
1483
|
comp: this,
|
|
1482
1484
|
id: this.rootElement.id,
|
|
1483
1485
|
details,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-c38ee99a.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory, aF as kupDropEvent, X as kupDraggableColumnAttr, aG as kupDraggableRowAttr, $ as KupDropEventTypes, f as KupThemeColorValues } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory, aF as kupDropEvent, X as kupDraggableColumnAttr, aG as kupDraggableRowAttr, $ as KupDropEventTypes, f as KupThemeColorValues } from './kup-manager-c45fb212.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|