@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
|
@@ -17,7 +17,9 @@ const FButton = (props, children) => {
|
|
|
17
17
|
const isIconButton = !!(props.styling.toLowerCase() === fButtonDeclarations.FButtonStyling.ICON ||
|
|
18
18
|
(props.styling.toLowerCase() === fButtonDeclarations.FButtonStyling.RAISED &&
|
|
19
19
|
props.icon &&
|
|
20
|
-
(props.label === null ||
|
|
20
|
+
(props.label === null ||
|
|
21
|
+
props.label === undefined ||
|
|
22
|
+
props.label === '')));
|
|
21
23
|
const classObj = {
|
|
22
24
|
'f-button': true,
|
|
23
25
|
'kup-danger': props.danger,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-c7d441d8.js');
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
5
|
-
const fButton = require('./f-button-
|
|
4
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
5
|
+
const fButton = require('./f-button-a1b656d2.js');
|
|
6
6
|
const fCheckbox = require('./f-checkbox-a3461c4d.js');
|
|
7
|
-
const fChip = require('./f-chip-
|
|
7
|
+
const fChip = require('./f-chip-911142ce.js');
|
|
8
8
|
const fImage = require('./f-image-5a33fd05.js');
|
|
9
|
-
const fObjectField = require('./f-object-field-
|
|
10
|
-
const fTextField = require('./f-text-field-
|
|
9
|
+
const fObjectField = require('./f-object-field-60ddab64.js');
|
|
10
|
+
const fTextField = require('./f-text-field-028d892b.js');
|
|
11
11
|
|
|
12
12
|
var FRadioType;
|
|
13
13
|
(function (FRadioType) {
|
|
@@ -424,7 +424,7 @@ const FCell = (props, children) => {
|
|
|
424
424
|
cell.data = (_a = mapData(cell, column)) !== null && _a !== void 0 ? _a : cell.data;
|
|
425
425
|
let _value = (_b = cell.decode) !== null && _b !== void 0 ? _b : cell.value;
|
|
426
426
|
const valueToDisplay = props.previousValue !== _value ? _value : '';
|
|
427
|
-
const cellType = dom.ketchup.data.cell.getType(cell, shape);
|
|
427
|
+
const cellType = dom.ketchup.data.cell.getType(column, cell, shape);
|
|
428
428
|
const sizing = props.density === 'extra_dense' ? 'extra-small' : (_c = cell.data) === null || _c === void 0 ? void 0 : _c.sizing;
|
|
429
429
|
let cssClasses = cell.cssClass
|
|
430
430
|
? cell.cssClass
|
|
@@ -576,7 +576,7 @@ const mapData = (cell, column) => {
|
|
|
576
576
|
? cell.data.label
|
|
577
577
|
: column.title;
|
|
578
578
|
const currentValue = cell.value;
|
|
579
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
579
|
+
const cellType = dom.ketchup.data.cell.getType(column, cell, cell.shape);
|
|
580
580
|
const dataAdapterMap = new Map([
|
|
581
581
|
[kupManager.FCellTypes.BUTTON_LIST, MainBTNAdapter.bind(undefined)],
|
|
582
582
|
[kupManager.FCellTypes.STRING, MainITXAdapter.bind(undefined)],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-c7d441d8.js');
|
|
4
4
|
const fImage = require('./f-image-5a33fd05.js');
|
|
5
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
6
6
|
|
|
7
7
|
function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
8
8
|
const { id, value, decode } = item;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-c7d441d8.js');
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
5
|
-
const fButton = require('./f-button-
|
|
4
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
5
|
+
const fButton = require('./f-button-a1b656d2.js');
|
|
6
6
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
7
|
-
const fTextField = require('./f-text-field-
|
|
7
|
+
const fTextField = require('./f-text-field-028d892b.js');
|
|
8
8
|
|
|
9
9
|
const STATE = new WeakMap();
|
|
10
10
|
const FObjectField = (props) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-c7d441d8.js');
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
5
|
-
const fButton = require('./f-button-
|
|
4
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
5
|
+
const fButton = require('./f-button-a1b656d2.js');
|
|
6
6
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
7
7
|
|
|
8
8
|
var FPaginatorMode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-c7d441d8.js');
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
4
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
5
5
|
const fImage = require('./f-image-5a33fd05.js');
|
|
6
6
|
|
|
7
7
|
const dom = document.documentElement;
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const fImage = require('./f-image-5a33fd05.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
9
|
const component = require('./component-a6dd6c14.js');
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fImage = require('./f-image-5a33fd05.js');
|
|
9
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
9
|
+
const kupDataTableHelper = require('./kup-data-table-helper-a1d68467.js');
|
|
10
10
|
require('./kup-dates-594b0f91.js');
|
|
11
11
|
|
|
12
12
|
var KupActivityTimelineProps;
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager$2 = require('./kup-manager-
|
|
7
|
-
const fTextField = require('./f-text-field-
|
|
6
|
+
const kupManager$2 = require('./kup-manager-f3bdd297.js');
|
|
7
|
+
const fTextField = require('./f-text-field-028d892b.js');
|
|
8
8
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
9
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fChip = require('./f-chip-911142ce.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
const fImage = require('./f-image-5a33fd05.js');
|
|
12
|
-
const fButton = require('./f-button-
|
|
12
|
+
const fButton = require('./f-button-a1b656d2.js');
|
|
13
13
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
14
|
-
const fCell = require('./f-cell-
|
|
14
|
+
const fCell = require('./f-cell-2b05ec41.js');
|
|
15
15
|
const kupDates = require('./kup-dates-594b0f91.js');
|
|
16
16
|
const component = require('./component-a6dd6c14.js');
|
|
17
17
|
const fCheckbox = require('./f-checkbox-a3461c4d.js');
|
|
18
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
19
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
20
|
-
require('./f-object-field-
|
|
18
|
+
const kupDataTableHelper = require('./kup-data-table-helper-a1d68467.js');
|
|
19
|
+
const fPaginatorUtils = require('./f-paginator-utils-fcbea8ea.js');
|
|
20
|
+
require('./f-object-field-60ddab64.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Props of the kup-autocomplete component.
|
|
@@ -379,7 +379,7 @@ const KupAutocomplete = class {
|
|
|
379
379
|
__classPrivateFieldGet$b(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, true);
|
|
380
380
|
}
|
|
381
381
|
render() {
|
|
382
|
-
var _a;
|
|
382
|
+
var _a, _b;
|
|
383
383
|
const props = {
|
|
384
384
|
alert: this.alert,
|
|
385
385
|
danger: this.rootElement.classList.contains('kup-danger')
|
|
@@ -413,9 +413,9 @@ const KupAutocomplete = class {
|
|
|
413
413
|
};
|
|
414
414
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
415
415
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
416
|
-
return (index.h(index.Host, { key: '
|
|
416
|
+
return (index.h(index.Host, { key: 'dcf5fb54a29f7417eb03a900996212ebed8ade9b', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$b(this, _KupAutocomplete_elStyle, "f") }, index.h("style", { key: '841899fcb8b4d3220ac82b14311f2b4d4d69acbd' }, __classPrivateFieldGet$b(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'd7f7c3309a92552d8a0199004ab5fed75d492275', id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$b(this, _KupAutocomplete_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({ key: '60f9bc7ec98b83792059b14e6f9e3ad12052326f' }, props, { icon: this.showDropDownIcon
|
|
417
417
|
? kupManager$2.KupThemeIconValues.SEARCH
|
|
418
|
-
: 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: () => {
|
|
418
|
+
: 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: () => {
|
|
419
419
|
window.clearTimeout(__classPrivateFieldGet$b(this, _KupAutocomplete_inputTimeout, "f"));
|
|
420
420
|
__classPrivateFieldSet$6(this, _KupAutocomplete_inputTimeout, window.setTimeout(() => this.onKupInput(), this.inputDelay), "f");
|
|
421
421
|
}, onIconClick: () => this.onKupIconClick(), onClearIconClick: () => this.onKupClearIconClick() }))), __classPrivateFieldGet$b(this, _KupAutocomplete_instances, "m", _KupAutocomplete_prepList).call(this)));
|
|
@@ -434,13 +434,13 @@ const KupAutocomplete = class {
|
|
|
434
434
|
}; }
|
|
435
435
|
};
|
|
436
436
|
_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) {
|
|
437
|
-
var _a, _b, _c, _d;
|
|
437
|
+
var _a, _b, _c, _d, _e;
|
|
438
438
|
if (forceOpen != true &&
|
|
439
439
|
__classPrivateFieldGet$b(this, _KupAutocomplete_textfieldEl, "f").value.length < this.minimumChars) {
|
|
440
440
|
__classPrivateFieldGet$b(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
|
|
441
441
|
return false;
|
|
442
442
|
}
|
|
443
|
-
if (forceOpen && !((_b = (_a = this.data['kup-list']) === null ||
|
|
443
|
+
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)) {
|
|
444
444
|
this.kupIconClick.emit({
|
|
445
445
|
comp: this,
|
|
446
446
|
id: this.rootElement.id,
|
|
@@ -449,8 +449,8 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
449
449
|
open: true,
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
|
-
const hasError = ((
|
|
453
|
-
const hasAlert = ((
|
|
452
|
+
const hasError = ((_d = this.error) === null || _d === void 0 ? void 0 : _d.trim().length) > 0;
|
|
453
|
+
const hasAlert = ((_e = this.alert) === null || _e === void 0 ? void 0 : _e.trim().length) > 0;
|
|
454
454
|
const topOffset = hasError || hasAlert ? -20 : 0;
|
|
455
455
|
__classPrivateFieldGet$b(this, _KupAutocomplete_textfieldWrapper, "f").classList.add('toggled');
|
|
456
456
|
__classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f").menuVisible = true;
|
|
@@ -483,11 +483,12 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
483
483
|
}, _KupAutocomplete_isListOpened = function _KupAutocomplete_isListOpened() {
|
|
484
484
|
return __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f").menuVisible == true;
|
|
485
485
|
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
|
|
486
|
+
var _a;
|
|
486
487
|
if (idIn && idInDecode) {
|
|
487
488
|
this.displayedValue = fChip.getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.DescrMode, ' - ');
|
|
488
489
|
}
|
|
489
490
|
else {
|
|
490
|
-
const ret = fChip.consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.DescrMode);
|
|
491
|
+
const ret = fChip.consistencyCheck(idIn, (_a = this.data) === null || _a === void 0 ? void 0 : _a['kup-list'], __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.DescrMode);
|
|
491
492
|
if ((ret.exists || this.allowInconsistentValues) &&
|
|
492
493
|
eventShouldSetValue) {
|
|
493
494
|
this.value = ret.value;
|
|
@@ -502,7 +503,8 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
502
503
|
return ret;
|
|
503
504
|
}
|
|
504
505
|
}, _KupAutocomplete_prepList = function _KupAutocomplete_prepList() {
|
|
505
|
-
|
|
506
|
+
var _a;
|
|
507
|
+
return (index.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")) })));
|
|
506
508
|
};
|
|
507
509
|
KupAutocomplete.style = KupAutocompleteStyle0;
|
|
508
510
|
|
|
@@ -9251,7 +9253,13 @@ const KupDataTable = class {
|
|
|
9251
9253
|
if (this.data.rows.filter((r) => r.id == undefined).length) {
|
|
9252
9254
|
kupManager$2.identify(this.getRows());
|
|
9253
9255
|
}
|
|
9254
|
-
|
|
9256
|
+
// Group expansion is triggered at the end of decorateAndInitForUpdTable()
|
|
9257
|
+
// instead, so the grouped row tree (which clones rows, severing the live
|
|
9258
|
+
// reference to this.data.rows) is rebuilt from already-decorated and
|
|
9259
|
+
// already-patched (pendingRowsToUpdate) cell data. Doing it here, before
|
|
9260
|
+
// decorateDataTable() runs, caused cells in grouped tables to keep a
|
|
9261
|
+
// stale cell.data missing the 'kup-list'/'kup-text-field' slot data,
|
|
9262
|
+
// crashing kup-autocomplete's consistency check on the next value change.
|
|
9255
9263
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
|
|
9256
9264
|
}
|
|
9257
9265
|
decorateAndInitForUpdTable() {
|
|
@@ -9289,6 +9297,9 @@ const KupDataTable = class {
|
|
|
9289
9297
|
__classPrivateFieldSet$4(this, _KupDataTable_insertedRowIds, [], "f");
|
|
9290
9298
|
__classPrivateFieldSet$4(this, _KupDataTable_modifiedRowsIds, [], "f");
|
|
9291
9299
|
}
|
|
9300
|
+
// Runs after pendingRowsToUpdate patching and decorateDataTable() above,
|
|
9301
|
+
// so grouped rows are (re)built from fully decorated, up-to-date cells.
|
|
9302
|
+
this.expandGroupsHandler();
|
|
9292
9303
|
}
|
|
9293
9304
|
computeMaxRowsPerPage() {
|
|
9294
9305
|
var _a, _b, _c, _d;
|
|
@@ -10306,7 +10317,7 @@ const KupDataTable = class {
|
|
|
10306
10317
|
__classPrivateFieldSet$4(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
10307
10318
|
let rows = null;
|
|
10308
10319
|
if (__classPrivateFieldGet$8(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
10309
|
-
rows = (index.h("tr", { key: '
|
|
10320
|
+
rows = (index.h("tr", { key: '222a8279fe407575382a65c83e33fd4b2569014a', ref: (el) => __classPrivateFieldGet$8(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { key: '9c5ed4321284ebbec8dcab42d8c833b22a5e5a8a', colSpan: __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
10310
10321
|
}
|
|
10311
10322
|
else {
|
|
10312
10323
|
rows = [];
|
|
@@ -10382,7 +10393,7 @@ const KupDataTable = class {
|
|
|
10382
10393
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
10383
10394
|
});
|
|
10384
10395
|
}
|
|
10385
|
-
groupChips = index.h(fChip.FChip, Object.assign({ key: '
|
|
10396
|
+
groupChips = index.h(fChip.FChip, Object.assign({ key: '3dcf15fd1edb4038a0bde0f7832ecc63030917ba' }, props));
|
|
10386
10397
|
}
|
|
10387
10398
|
}
|
|
10388
10399
|
const tableClass = {
|
|
@@ -10414,7 +10425,7 @@ const KupDataTable = class {
|
|
|
10414
10425
|
if (this.headerIsPersistent &&
|
|
10415
10426
|
this.tableHeight === undefined &&
|
|
10416
10427
|
this.tableWidth === undefined) {
|
|
10417
|
-
stickyEl = (index.h("sticky-header", { key: '
|
|
10428
|
+
stickyEl = (index.h("sticky-header", { key: '012a49ef4e86f9653a7f019e458a3726cd848c96', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_stickyTheadRef, el, "f")) }, index.h("thead-sticky", { key: '8d7af5595a3a85ba1e6d2b0b20f745212322c347' }, index.h("tr-sticky", { key: 'f33ccbb7ec7dfe9dd98f6b70faf73540a4b0df31' }, stickyHeader))));
|
|
10418
10429
|
}
|
|
10419
10430
|
let belowClass = 'below-wrapper';
|
|
10420
10431
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10460,7 +10471,7 @@ const KupDataTable = class {
|
|
|
10460
10471
|
const useGlobalFilter = !this.legacyLook &&
|
|
10461
10472
|
(this.globalFilter ||
|
|
10462
10473
|
this.getRows().length > __classPrivateFieldGet$8(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
10463
|
-
const compCreated = (index.h(index.Host, { key: '
|
|
10474
|
+
const compCreated = (index.h(index.Host, { key: '5264eb4129ec9fdca78982b3eacf4dba3fd80fde', "onKup-drop": (e) => {
|
|
10464
10475
|
this.kupDataTableDrop.emit(e.detail);
|
|
10465
10476
|
}, "onKup-cell-input": (e) => {
|
|
10466
10477
|
autoselectOnAction(e);
|
|
@@ -10479,11 +10490,11 @@ const KupDataTable = class {
|
|
|
10479
10490
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10480
10491
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10481
10492
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10482
|
-
} }, index.h("style", { key: '
|
|
10493
|
+
} }, index.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), index.h("div", { key: 'e7665c4b6a220ab94ec6a78c9e821e3480a9e95e', id: GenericVariables.componentWrapperId, class: wrapClass }, index.h("div", { key: 'b160e64031639cb6319bc43aac7b08e6c92a83a3', class: "group-wrapper" }, groupChips), index.h("div", { key: '53d1d060d86f15869a3448330348c6f1d5ea89dc', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (index.h("div", { id: "global-filter" }, index.h(fTextField.FTextField, { fullWidth: true, icon: kupManager$2.KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(kupManager$2.KupLanguageSearch.SEARCH), sizing: kupManager$2.KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
|
|
10483
10494
|
const t = event.target;
|
|
10484
10495
|
window.clearTimeout(__classPrivateFieldGet$8(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10485
10496
|
__classPrivateFieldSet$4(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10486
|
-
} }))) : null, paginatorTop && (index.h("div", { key: '
|
|
10497
|
+
} }))) : null, paginatorTop && (index.h("div", { key: '2c200acb217f83755654023dd824591669fe1f9e', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
10487
10498
|
this.selectedRows.length > 0 ? (index.h(fButton.FButton, { icon: "save", onClick: () => {
|
|
10488
10499
|
this.kupSave.emit({
|
|
10489
10500
|
comp: this,
|
|
@@ -10533,9 +10544,9 @@ const KupDataTable = class {
|
|
|
10533
10544
|
this.data.rows.unshift(row);
|
|
10534
10545
|
await this.refresh(true);
|
|
10535
10546
|
}
|
|
10536
|
-
}, sizing: kupManager$2.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '
|
|
10547
|
+
}, sizing: kupManager$2.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.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
|
|
10537
10548
|
? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10538
|
-
: null), index.h("div", { key: '
|
|
10549
|
+
: null), index.h("div", { key: '9ee1376d49777a9181bd638713ac773eb600b850', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10539
10550
|
? [
|
|
10540
10551
|
index.h("div", { class: "settings-trigger", onClick: () => {
|
|
10541
10552
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10544,7 +10555,7 @@ const KupDataTable = class {
|
|
|
10544
10555
|
} }, index.h(fImage.FImage, { color: `var(${kupManager$2.KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10545
10556
|
this.renderCustomizePanel(),
|
|
10546
10557
|
]
|
|
10547
|
-
: null, index.h("table", { key: '
|
|
10558
|
+
: null, index.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) => {
|
|
10548
10559
|
ev.stopPropagation();
|
|
10549
10560
|
}, onPointerDown: (e) => {
|
|
10550
10561
|
__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");
|
|
@@ -10552,7 +10563,7 @@ const KupDataTable = class {
|
|
|
10552
10563
|
__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");
|
|
10553
10564
|
}, onContextMenu: (e) => {
|
|
10554
10565
|
e.preventDefault();
|
|
10555
|
-
} }, index.h("thead", { key: '
|
|
10566
|
+
} }, index.h("thead", { key: 'd0b45272e078fb72046591df5cee832c3ad01b40', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", { key: '5b7db1061b419177488d7f6227a39eb5a9b07428' }, header)), index.h("tbody", { key: '02881d35ba957b56a84fc3ee8468a04bd6be3d82' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
10556
10567
|
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
10557
10568
|
return compCreated;
|
|
10558
10569
|
}
|
|
@@ -12037,7 +12048,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = new WeakM
|
|
|
12037
12048
|
}, _KupDataTable_copyCellValueInColumnHandler = function _KupDataTable_copyCellValueInColumnHandler(e, el) {
|
|
12038
12049
|
const details = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(el, this.rootElement));
|
|
12039
12050
|
const { cell, column, row } = details;
|
|
12040
|
-
const cellType = dom$2.ketchup.data.cell.getType(cell, cell.shape);
|
|
12051
|
+
const cellType = dom$2.ketchup.data.cell.getType(column, cell, cell.shape);
|
|
12041
12052
|
if (!kupManager$2.TypesToDuplicate.includes(cellType)) {
|
|
12042
12053
|
return;
|
|
12043
12054
|
}
|
|
@@ -15057,7 +15068,7 @@ const KupForm = class {
|
|
|
15057
15068
|
return (index.h("td", { class: `form__label form__label--${alignment}`, style: style }, index.h("span", null, label)));
|
|
15058
15069
|
}
|
|
15059
15070
|
function setPlaceholderLabel() {
|
|
15060
|
-
switch (dom$1.ketchup.data.cell.getType(cell, cell.shape || column.shape || null)) {
|
|
15071
|
+
switch (dom$1.ketchup.data.cell.getType(column, cell, cell.shape || column.shape || null)) {
|
|
15061
15072
|
case kupManager$2.FCellTypes.AUTOCOMPLETE:
|
|
15062
15073
|
case kupManager$2.FCellTypes.COLOR_PICKER:
|
|
15063
15074
|
case kupManager$2.FCellTypes.COMBOBOX:
|
|
@@ -15122,7 +15133,7 @@ const KupForm = class {
|
|
|
15122
15133
|
render() {
|
|
15123
15134
|
let formContent = null;
|
|
15124
15135
|
if (this.data.rows.length === 0) {
|
|
15125
|
-
formContent = (index.h("p", { key: '
|
|
15136
|
+
formContent = (index.h("p", { key: 'ea815da488cf3ac3ac14510a9526b09417d39ebf' }, this.kupManager.language.translate(kupManager$2.KupLanguageGeneric.EMPTY_DATA)));
|
|
15126
15137
|
}
|
|
15127
15138
|
else {
|
|
15128
15139
|
const rows = this.data.rows;
|
|
@@ -15133,7 +15144,7 @@ const KupForm = class {
|
|
|
15133
15144
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
15134
15145
|
}
|
|
15135
15146
|
}
|
|
15136
|
-
return (index.h(index.Host, { key: '
|
|
15147
|
+
return (index.h(index.Host, { key: '87eec5120123fb0d89bbc454825ab9717f8cc57a' }, index.h("style", { key: '17bd0739b753023d6636496d93852e8b5a8f3e77' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '5ff34b363c16a369a175f4e166fcb8acd5880139', id: GenericVariables.componentWrapperId }, formContent)));
|
|
15137
15148
|
}
|
|
15138
15149
|
disconnectedCallback() {
|
|
15139
15150
|
this.kupManager.language.unregister(this);
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
|
+
const kupDataTableHelper = require('./kup-data-table-helper-a1d68467.js');
|
|
8
8
|
const fImage = require('./f-image-5a33fd05.js');
|
|
9
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fChip = require('./f-chip-911142ce.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
12
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
11
|
+
const fCell = require('./f-cell-2b05ec41.js');
|
|
12
|
+
const fPaginatorUtils = require('./f-paginator-utils-fcbea8ea.js');
|
|
13
13
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
14
14
|
require('./kup-dates-594b0f91.js');
|
|
15
|
-
require('./f-button-
|
|
15
|
+
require('./f-button-a1b656d2.js');
|
|
16
16
|
require('./f-button-declarations-76ef9f87.js');
|
|
17
17
|
require('./f-checkbox-a3461c4d.js');
|
|
18
|
-
require('./f-object-field-
|
|
19
|
-
require('./f-text-field-
|
|
18
|
+
require('./f-object-field-60ddab64.js');
|
|
19
|
+
require('./f-text-field-028d892b.js');
|
|
20
20
|
require('./component-a6dd6c14.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -1044,7 +1044,7 @@ const KupBox = class {
|
|
|
1044
1044
|
didLoadInteractables() {
|
|
1045
1045
|
this.interactableTouch.push(this.boxContainer);
|
|
1046
1046
|
const tapCb = (e) => {
|
|
1047
|
-
var _a;
|
|
1047
|
+
var _a, _b;
|
|
1048
1048
|
if (this.hold) {
|
|
1049
1049
|
this.hold = false;
|
|
1050
1050
|
return;
|
|
@@ -1059,12 +1059,16 @@ const KupBox = class {
|
|
|
1059
1059
|
clone[key] = e[key];
|
|
1060
1060
|
}
|
|
1061
1061
|
const details = this.clickHandler(clone);
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1062
|
+
// If the box or a cell without fun is clicked
|
|
1063
|
+
// emit the box click, else leave the managment to onKup-cell-click handler
|
|
1064
|
+
if (!((_a = details === null || details === void 0 ? void 0 : details.cell) === null || _a === void 0 ? void 0 : _a['fun'])) {
|
|
1065
|
+
this.kupBoxClick.emit({
|
|
1066
|
+
comp: this,
|
|
1067
|
+
id: this.rootElement.id,
|
|
1068
|
+
row: details.row,
|
|
1069
|
+
column: (_b = details.column) === null || _b === void 0 ? void 0 : _b.name,
|
|
1070
|
+
});
|
|
1071
|
+
}
|
|
1068
1072
|
break;
|
|
1069
1073
|
case 2:
|
|
1070
1074
|
this.kupBoxContextMenu.emit({
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index$4 = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
8
|
+
const fButton = require('./f-button-a1b656d2.js');
|
|
9
|
+
const fChip = require('./f-chip-911142ce.js');
|
|
10
10
|
const kupDates = require('./kup-dates-594b0f91.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-5a33fd05.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-594b0f91.js');
|
|
9
9
|
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
9
|
-
const fCell = require('./f-cell-
|
|
8
|
+
const fButton = require('./f-button-a1b656d2.js');
|
|
9
|
+
const fCell = require('./f-cell-2b05ec41.js');
|
|
10
10
|
require('./kup-dates-594b0f91.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-5a33fd05.js');
|
|
13
13
|
require('./f-checkbox-a3461c4d.js');
|
|
14
|
-
require('./f-chip-
|
|
15
|
-
require('./f-object-field-
|
|
16
|
-
require('./f-text-field-
|
|
14
|
+
require('./f-chip-911142ce.js');
|
|
15
|
+
require('./f-object-field-60ddab64.js');
|
|
16
|
+
require('./f-text-field-028d892b.js');
|
|
17
17
|
|
|
18
18
|
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%}";
|
|
19
19
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const fButton = require('./f-button-
|
|
6
|
+
const fButton = require('./f-button-a1b656d2.js');
|
|
7
7
|
const fCheckbox = require('./f-checkbox-a3461c4d.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-028d892b.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
13
|
require('./f-image-5a33fd05.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-594b0f91.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-594b0f91.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const kupDates = require('./kup-dates-594b0f91.js');
|
|
9
9
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const fButton = require('./f-button-
|
|
6
|
+
const fButton = require('./f-button-a1b656d2.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
8
|
const fImage = require('./f-image-5a33fd05.js');
|
|
9
|
-
const kupManager = require('./kup-manager-
|
|
9
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
require('./kup-dates-594b0f91.js');
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-594b0f91.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-594b0f91.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-f3bdd297.js');
|
|
7
7
|
require('./kup-dates-594b0f91.js');
|
|
8
8
|
|
|
9
9
|
/**
|