@sme.up/ketchup 11.0.0-SNAPSHOT-20241205145724 → 11.0.0-SNAPSHOT-20241205165446
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-cell-bdd4baf2.js → f-cell-1a4377de.js} +2 -2
- package/dist/cjs/{f-object-field-0df51839.js → f-object-field-11977a37.js} +1 -1
- package/dist/cjs/{f-text-field-95fe97dc.js → f-text-field-7cbc9b46.js} +2 -4
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +1 -1
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +4 -4
- package/dist/cjs/kup-box.cjs.entry.js +4 -4
- package/dist/cjs/kup-cell.cjs.entry.js +3 -3
- package/dist/cjs/kup-dashboard.cjs.entry.js +1 -1
- package/dist/cjs/{kup-data-table-helper-7deb6ff8.js → kup-data-table-helper-60724cb8.js} +15 -17
- package/dist/cjs/kup-image-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-input-panel.cjs.entry.js +5 -5
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +1 -1
- package/dist/cjs/kup-object-field.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +15 -17
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -2
- package/dist/collection/f-components/f-text-field/f-text-field.js +2 -4
- package/dist/components/kup-accordion.js +1 -1
- package/dist/components/kup-activity-timeline.js +1 -1
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +1 -1
- package/dist/components/kup-card-list.js +2 -2
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +2 -2
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-htm.js +1 -1
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +4 -4
- package/dist/components/kup-lazy.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-object-field.js +1 -1
- package/dist/components/kup-pdf.js +1 -1
- package/dist/components/kup-photo-frame.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/components/kup-typography.js +1 -1
- package/dist/components/{p-0df3e79a.js → p-6779ea4a.js} +17 -21
- package/dist/components/{p-fa88db1c.js → p-b55e4715.js} +1 -1
- package/dist/components/{p-eb10f5d3.js → p-da833d65.js} +1 -1
- package/dist/components/{p-f5ce31e4.js → p-ddb6af81.js} +1 -1
- package/dist/components/{p-f51ac046.js → p-e9d5a2d4.js} +1 -1
- package/dist/esm/{f-cell-753dcb57.js → f-cell-6ed35988.js} +2 -2
- package/dist/esm/{f-object-field-261bc716.js → f-object-field-e3373bf4.js} +1 -1
- package/dist/esm/{f-text-field-14a5e5eb.js → f-text-field-beb282f8.js} +2 -4
- package/dist/esm/kup-activity-timeline.entry.js +1 -1
- package/dist/esm/kup-autocomplete_28.entry.js +4 -4
- package/dist/esm/kup-box.entry.js +4 -4
- package/dist/esm/kup-cell.entry.js +3 -3
- package/dist/esm/kup-dashboard.entry.js +1 -1
- package/dist/esm/{kup-data-table-helper-11248e12.js → kup-data-table-helper-abafe38a.js} +15 -17
- package/dist/esm/kup-image-list.entry.js +3 -3
- package/dist/esm/kup-input-panel.entry.js +5 -5
- package/dist/esm/kup-numeric-picker.entry.js +1 -1
- package/dist/esm/kup-object-field.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-02209dd8.js +1 -0
- package/dist/ketchup/{p-222c4042.entry.js → p-0db77371.entry.js} +1 -1
- package/dist/ketchup/{p-7502b0ac.entry.js → p-12c17d93.entry.js} +1 -1
- package/dist/ketchup/{p-d7be74b7.entry.js → p-2187ee68.entry.js} +1 -1
- package/dist/ketchup/{p-453bac7d.entry.js → p-28f090d8.entry.js} +1 -1
- package/dist/ketchup/{p-a5d7de51.entry.js → p-2ed6d906.entry.js} +1 -1
- package/dist/ketchup/p-4ab28863.entry.js +1 -0
- package/dist/ketchup/{p-eeaf98c5.entry.js → p-6b940d68.entry.js} +1 -1
- package/dist/ketchup/{p-61cefd4b.entry.js → p-73e3c739.entry.js} +1 -1
- package/dist/ketchup/{p-e22364aa.entry.js → p-8367e4cb.entry.js} +1 -1
- package/dist/ketchup/{p-477e40ea.js → p-8eea1380.js} +1 -1
- package/dist/ketchup/{p-57eefa1e.js → p-9ec4eb19.js} +1 -1
- package/dist/ketchup/{p-4cc60888.js → p-dad912dc.js} +1 -1
- package/dist/ketchup/{p-d50bbc7e.entry.js → p-fd97e368.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/ketchup/p-17416638.entry.js +0 -1
- package/dist/ketchup/p-ef8e28f6.js +0 -1
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
4
4
|
const index = require('./index-90e3bfdb.js');
|
|
5
5
|
const fCheckbox = require('./f-checkbox-c58cf076.js');
|
|
6
|
-
const fTextField = require('./f-text-field-
|
|
6
|
+
const fTextField = require('./f-text-field-7cbc9b46.js');
|
|
7
7
|
const fImage = require('./f-image-64d94a2e.js');
|
|
8
8
|
const fChip = require('./f-chip-be8ff574.js');
|
|
9
9
|
const fButton = require('./f-button-4367a62f.js');
|
|
10
|
-
const fObjectField = require('./f-object-field-
|
|
10
|
+
const fObjectField = require('./f-object-field-11977a37.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Props of the kup-list component.
|
|
@@ -4,7 +4,7 @@ const index = require('./index-90e3bfdb.js');
|
|
|
4
4
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
5
5
|
const fButton = require('./f-button-4367a62f.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-7cbc9b46.js');
|
|
8
8
|
|
|
9
9
|
const STATE = new WeakMap();
|
|
10
10
|
const FObjectField = (props) => {
|
|
@@ -220,10 +220,7 @@ function setContent(props) {
|
|
|
220
220
|
props.isClearable ? (index.h("span", { class: `mdc-text-field__icon kup-icon ${kupManager.KupThemeIconValues.CLEAR.replace('--', '')}`, onClick: props.onClearIconClick })) : undefined)));
|
|
221
221
|
}
|
|
222
222
|
function setHelper(props) {
|
|
223
|
-
if (props.error || props.alert) {
|
|
224
|
-
return (index.h("div", { class: "mdc-text-field-helper-line" }, props.error ? (index.h("span", { class: "mdc-error-message" }, props.error)) : props.alert ? (index.h("span", { class: "mdc-alert-message" }, props.alert)) : undefined));
|
|
225
|
-
}
|
|
226
|
-
else if (props.helperEnabled !== false) {
|
|
223
|
+
if (props.helperEnabled !== false && (props.error || props.alert)) {
|
|
227
224
|
if (props.helper) {
|
|
228
225
|
const classObj = {
|
|
229
226
|
'mdc-text-field-helper-text': true,
|
|
@@ -232,6 +229,7 @@ function setHelper(props) {
|
|
|
232
229
|
return (index.h("div", { class: "mdc-text-field-helper-line" },
|
|
233
230
|
index.h("div", { class: classObj }, props.helper)));
|
|
234
231
|
}
|
|
232
|
+
return (index.h("div", { class: "mdc-text-field-helper-line" }, props.error ? (index.h("span", { class: "mdc-error-message" }, props.error)) : props.alert ? (index.h("span", { class: "mdc-alert-message" }, props.alert)) : undefined));
|
|
235
233
|
}
|
|
236
234
|
}
|
|
237
235
|
const formatValue = function (value, options, inputIsLocalized) {
|
|
@@ -6,7 +6,7 @@ const index = require('./index-90e3bfdb.js');
|
|
|
6
6
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fImage = require('./f-image-64d94a2e.js');
|
|
9
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
9
|
+
const kupDataTableHelper = require('./kup-data-table-helper-60724cb8.js');
|
|
10
10
|
require('./kup-dates-7c732e46.js');
|
|
11
11
|
|
|
12
12
|
var KupActivityTimelineProps;
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-90e3bfdb.js');
|
|
6
6
|
const kupManager$1 = require('./kup-manager-7f91b6a7.js');
|
|
7
|
-
const fTextField = require('./f-text-field-
|
|
7
|
+
const fTextField = require('./f-text-field-7cbc9b46.js');
|
|
8
8
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
9
|
+
const fCell = require('./f-cell-1a4377de.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
const fImage = require('./f-image-64d94a2e.js');
|
|
12
12
|
const fButton = require('./f-button-4367a62f.js');
|
|
@@ -15,9 +15,9 @@ const kupDates = require('./kup-dates-7c732e46.js');
|
|
|
15
15
|
const fChip = require('./f-chip-be8ff574.js');
|
|
16
16
|
const component = require('./component-a6dd6c14.js');
|
|
17
17
|
const fCheckbox = require('./f-checkbox-c58cf076.js');
|
|
18
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
18
|
+
const kupDataTableHelper = require('./kup-data-table-helper-60724cb8.js');
|
|
19
19
|
const fPaginatorUtils = require('./f-paginator-utils-b010d637.js');
|
|
20
|
-
require('./f-object-field-
|
|
20
|
+
require('./f-object-field-11977a37.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Props of the kup-autocomplete component.
|
|
@@ -4,19 +4,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-90e3bfdb.js');
|
|
6
6
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
7
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
7
|
+
const kupDataTableHelper = require('./kup-data-table-helper-60724cb8.js');
|
|
8
8
|
const fImage = require('./f-image-64d94a2e.js');
|
|
9
9
|
const fChip = require('./f-chip-be8ff574.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-1a4377de.js');
|
|
12
12
|
const fPaginatorUtils = require('./f-paginator-utils-b010d637.js');
|
|
13
13
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
14
14
|
require('./kup-dates-7c732e46.js');
|
|
15
15
|
require('./f-checkbox-c58cf076.js');
|
|
16
|
-
require('./f-text-field-
|
|
16
|
+
require('./f-text-field-7cbc9b46.js');
|
|
17
17
|
require('./f-button-4367a62f.js');
|
|
18
18
|
require('./f-button-declarations-76ef9f87.js');
|
|
19
|
-
require('./f-object-field-
|
|
19
|
+
require('./f-object-field-11977a37.js');
|
|
20
20
|
require('./component-a6dd6c14.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -6,14 +6,14 @@ const index = require('./index-90e3bfdb.js');
|
|
|
6
6
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-4367a62f.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
9
|
+
const fCell = require('./f-cell-1a4377de.js');
|
|
10
10
|
require('./kup-dates-7c732e46.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-64d94a2e.js');
|
|
13
13
|
require('./f-checkbox-c58cf076.js');
|
|
14
|
-
require('./f-text-field-
|
|
14
|
+
require('./f-text-field-7cbc9b46.js');
|
|
15
15
|
require('./f-chip-be8ff574.js');
|
|
16
|
-
require('./f-object-field-
|
|
16
|
+
require('./f-object-field-11977a37.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: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:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);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;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-90e3bfdb.js');
|
|
6
6
|
const fButton = require('./f-button-4367a62f.js');
|
|
7
7
|
const fCheckbox = require('./f-checkbox-c58cf076.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-7cbc9b46.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
@@ -1476,23 +1476,21 @@ function decorateDataTable(data) {
|
|
|
1476
1476
|
const value = cell.value;
|
|
1477
1477
|
const options = cell['options'];
|
|
1478
1478
|
cell.isEditable = (_a = cell.isEditable) !== null && _a !== void 0 ? _a : cell['editable'];
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
dom.ketchup.debug.logMessage('kup-data', `Shape specified ${cell.shape} in cell ${JSON.stringify(cell)} unsupported`, kupManager.KupDebugCategory.WARNING);
|
|
1495
|
-
}
|
|
1479
|
+
const shapeAdapters = {
|
|
1480
|
+
[kupManager.FCellShapes.AUTOCOMPLETE]: () => kupManager.CMBandACPAdapter(value, '', options),
|
|
1481
|
+
[kupManager.FCellShapes.COMBOBOX]: () => kupManager.CMBandACPAdapter(value, '', options),
|
|
1482
|
+
[kupManager.FCellShapes.RADIO]: () => kupManager.RADAdapter(value, options),
|
|
1483
|
+
[kupManager.FCellShapes.CHECKBOX]: () => kupManager.CHKAdapter(value, ''),
|
|
1484
|
+
[kupManager.FCellShapes.CHIP]: () => kupManager.CHIAdapter(value),
|
|
1485
|
+
[kupManager.FCellShapes.SWITCH]: () => kupManager.SWTAdapter(value, ''),
|
|
1486
|
+
};
|
|
1487
|
+
const adapterFunction = shapeAdapters[cell.shape];
|
|
1488
|
+
if (adapterFunction) {
|
|
1489
|
+
cell.data = adapterFunction();
|
|
1490
|
+
}
|
|
1491
|
+
else {
|
|
1492
|
+
if (cell.shape) {
|
|
1493
|
+
dom.ketchup.debug.logMessage('kup-data', `Shape specified ${cell.shape} in cell ${JSON.stringify(cell)} unsupported`, kupManager.KupDebugCategory.WARNING);
|
|
1496
1494
|
}
|
|
1497
1495
|
}
|
|
1498
1496
|
});
|
|
@@ -8,13 +8,13 @@ const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
|
8
8
|
const fImage = require('./f-image-64d94a2e.js');
|
|
9
9
|
const fButton = require('./f-button-4367a62f.js');
|
|
10
10
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-1a4377de.js');
|
|
12
12
|
const component = require('./component-a6dd6c14.js');
|
|
13
13
|
require('./kup-dates-7c732e46.js');
|
|
14
14
|
require('./f-checkbox-c58cf076.js');
|
|
15
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-text-field-7cbc9b46.js');
|
|
16
16
|
require('./f-chip-be8ff574.js');
|
|
17
|
-
require('./f-object-field-
|
|
17
|
+
require('./f-object-field-11977a37.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Props of the kup-image-list component.
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-90e3bfdb.js');
|
|
6
6
|
const fButton = require('./f-button-4367a62f.js');
|
|
7
|
-
const fCell = require('./f-cell-
|
|
7
|
+
const fCell = require('./f-cell-1a4377de.js');
|
|
8
8
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
const fTypography = require('./f-typography-0ebe5a06.js');
|
|
@@ -12,9 +12,9 @@ const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
13
|
require('./f-image-64d94a2e.js');
|
|
14
14
|
require('./f-checkbox-c58cf076.js');
|
|
15
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-text-field-7cbc9b46.js');
|
|
16
16
|
require('./f-chip-be8ff574.js');
|
|
17
|
-
require('./f-object-field-
|
|
17
|
+
require('./f-object-field-11977a37.js');
|
|
18
18
|
require('./kup-dates-7c732e46.js');
|
|
19
19
|
require('./component-a6dd6c14.js');
|
|
20
20
|
|
|
@@ -305,7 +305,7 @@ const KupInputPanel = class {
|
|
|
305
305
|
index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
|
|
306
306
|
]
|
|
307
307
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
308
|
-
return (index.h(index.Host, { key: '
|
|
308
|
+
return (index.h(index.Host, { key: 'c994fa447bde515c5ec4b70f3bb6f39f44a1afa6' }, index.h("style", { key: 'f94a5b682fe3875b32322a5983bf5b40ddca3c68' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'e663506d081b824565266ed3de0b0f492bda7221', id: GenericVariables.componentWrapperId }, inputPanelContent)));
|
|
309
309
|
}
|
|
310
310
|
disconnectedCallback() {
|
|
311
311
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -650,7 +650,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
650
650
|
overflow: 'auto',
|
|
651
651
|
};
|
|
652
652
|
fieldCell.cell.data = Object.assign(Object.assign({}, fieldCell.cell.data), { sizing: 'extra-small', customStyle: (fieldCell.cell.data.customStyle || '') +
|
|
653
|
-
'.mdc-text-field {height: unset !important;}' });
|
|
653
|
+
'.mdc-text-field {height: unset !important;}', helperEnabled: false });
|
|
654
654
|
return (index.h("div", { style: styleObj }, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, fieldCell.cell, cells.row, fieldCell.column)));
|
|
655
655
|
}, _KupInputPanel_mapCommands = function _KupInputPanel_mapCommands() {
|
|
656
656
|
this.inputPanelCommands = this.data.setup.commands
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-90e3bfdb.js');
|
|
6
6
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-7cbc9b46.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
require('./kup-dates-7c732e46.js');
|
|
11
11
|
require('./f-image-64d94a2e.js');
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-90e3bfdb.js');
|
|
6
|
-
const fObjectField = require('./f-object-field-
|
|
6
|
+
const fObjectField = require('./f-object-field-11977a37.js');
|
|
7
7
|
const kupManager = require('./kup-manager-7f91b6a7.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
9
|
require('./f-button-4367a62f.js');
|
|
10
10
|
require('./f-button-declarations-76ef9f87.js');
|
|
11
11
|
require('./f-image-64d94a2e.js');
|
|
12
|
-
require('./f-text-field-
|
|
12
|
+
require('./f-text-field-7cbc9b46.js');
|
|
13
13
|
require('./kup-dates-7c732e46.js');
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -6,7 +6,7 @@ const index = require('./index-90e3bfdb.js');
|
|
|
6
6
|
const kupManager$1 = require('./kup-manager-7f91b6a7.js');
|
|
7
7
|
const kupPlannerDeclarations = require('./kup-planner-declarations-7291d01c.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
|
-
const fTextField = require('./f-text-field-
|
|
9
|
+
const fTextField = require('./f-text-field-7cbc9b46.js');
|
|
10
10
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
11
11
|
require('./kup-dates-7c732e46.js');
|
|
12
12
|
require('./f-image-64d94a2e.js');
|
|
@@ -846,23 +846,21 @@ export function decorateDataTable(data) {
|
|
|
846
846
|
const value = cell.value;
|
|
847
847
|
const options = cell['options'];
|
|
848
848
|
cell.isEditable = (_a = cell.isEditable) !== null && _a !== void 0 ? _a : cell['editable'];
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
dom.ketchup.debug.logMessage('kup-data', `Shape specified ${cell.shape} in cell ${JSON.stringify(cell)} unsupported`, KupDebugCategory.WARNING);
|
|
865
|
-
}
|
|
849
|
+
const shapeAdapters = {
|
|
850
|
+
[FCellShapes.AUTOCOMPLETE]: () => CMBandACPAdapter(value, '', options),
|
|
851
|
+
[FCellShapes.COMBOBOX]: () => CMBandACPAdapter(value, '', options),
|
|
852
|
+
[FCellShapes.RADIO]: () => RADAdapter(value, options),
|
|
853
|
+
[FCellShapes.CHECKBOX]: () => CHKAdapter(value, ''),
|
|
854
|
+
[FCellShapes.CHIP]: () => CHIAdapter(value),
|
|
855
|
+
[FCellShapes.SWITCH]: () => SWTAdapter(value, ''),
|
|
856
|
+
};
|
|
857
|
+
const adapterFunction = shapeAdapters[cell.shape];
|
|
858
|
+
if (adapterFunction) {
|
|
859
|
+
cell.data = adapterFunction();
|
|
860
|
+
}
|
|
861
|
+
else {
|
|
862
|
+
if (cell.shape) {
|
|
863
|
+
dom.ketchup.debug.logMessage('kup-data', `Shape specified ${cell.shape} in cell ${JSON.stringify(cell)} unsupported`, KupDebugCategory.WARNING);
|
|
866
864
|
}
|
|
867
865
|
}
|
|
868
866
|
});
|
|
@@ -200,7 +200,7 @@ export class KupInputPanel {
|
|
|
200
200
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
201
201
|
]
|
|
202
202
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
203
|
-
return (h(Host, { key: '
|
|
203
|
+
return (h(Host, { key: 'c994fa447bde515c5ec4b70f3bb6f39f44a1afa6' }, h("style", { key: 'f94a5b682fe3875b32322a5983bf5b40ddca3c68' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'e663506d081b824565266ed3de0b0f492bda7221', id: componentWrapperId }, inputPanelContent)));
|
|
204
204
|
}
|
|
205
205
|
disconnectedCallback() {
|
|
206
206
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -990,7 +990,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
990
990
|
overflow: 'auto',
|
|
991
991
|
};
|
|
992
992
|
fieldCell.cell.data = Object.assign(Object.assign({}, fieldCell.cell.data), { sizing: 'extra-small', customStyle: (fieldCell.cell.data.customStyle || '') +
|
|
993
|
-
'.mdc-text-field {height: unset !important;}' });
|
|
993
|
+
'.mdc-text-field {height: unset !important;}', helperEnabled: false });
|
|
994
994
|
return (h("div", { style: styleObj }, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, fieldCell.cell, cells.row, fieldCell.column)));
|
|
995
995
|
}, _KupInputPanel_mapCommands = function _KupInputPanel_mapCommands() {
|
|
996
996
|
this.inputPanelCommands = this.data.setup.commands
|
|
@@ -197,10 +197,7 @@ function setContent(props) {
|
|
|
197
197
|
} })), props.trailingIcon ? iconEl : undefined, props.helperIcon && props.error ? (h("div", { class: "mdc-error-icon" }, h(FImage, Object.assign({}, propsFImage)))) : props.helperIcon && props.alert ? (h("div", { class: "mdc-alert-icon" }, h(FImage, Object.assign({}, propsFImage)))) : undefined, props.quantityButtons && (h("div", { class: "mdc-quantity-buttons" }, h("button", { onClick: props.onMinusClick }, minusEl), h("button", { onClick: props.onPlusClick }, plusEl))), props.isClearable ? (h("span", { class: `mdc-text-field__icon kup-icon ${KupThemeIconValues.CLEAR.replace('--', '')}`, onClick: props.onClearIconClick })) : undefined)));
|
|
198
198
|
}
|
|
199
199
|
function setHelper(props) {
|
|
200
|
-
if (props.error || props.alert) {
|
|
201
|
-
return (h("div", { class: "mdc-text-field-helper-line" }, props.error ? (h("span", { class: "mdc-error-message" }, props.error)) : props.alert ? (h("span", { class: "mdc-alert-message" }, props.alert)) : undefined));
|
|
202
|
-
}
|
|
203
|
-
else if (props.helperEnabled !== false) {
|
|
200
|
+
if (props.helperEnabled !== false && (props.error || props.alert)) {
|
|
204
201
|
if (props.helper) {
|
|
205
202
|
const classObj = {
|
|
206
203
|
'mdc-text-field-helper-text': true,
|
|
@@ -208,6 +205,7 @@ function setHelper(props) {
|
|
|
208
205
|
};
|
|
209
206
|
return (h("div", { class: "mdc-text-field-helper-line" }, h("div", { class: classObj }, props.helper)));
|
|
210
207
|
}
|
|
208
|
+
return (h("div", { class: "mdc-text-field-helper-line" }, props.error ? (h("span", { class: "mdc-error-message" }, props.error)) : props.alert ? (h("span", { class: "mdc-alert-message" }, props.alert)) : undefined));
|
|
211
209
|
}
|
|
212
210
|
}
|
|
213
211
|
const formatValue = function (value, options, inputIsLocalized) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-68313086.js';
|
|
2
2
|
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeColorValues, c as KupThemeIconValues } from './p-aeb81a51.js';
|
|
3
|
-
import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
3
|
+
import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-6779ea4a.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-accordion component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, F as Fragment, d as Host } from './p-68313086.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, o as getCellValueForDisplay } from './p-aeb81a51.js';
|
|
3
|
-
import { c as componentWrapperId, D as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, F as FImage } from './p-
|
|
3
|
+
import { c as componentWrapperId, D as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, F as FImage } from './p-6779ea4a.js';
|
|
4
4
|
|
|
5
5
|
var KupActivityTimelineProps;
|
|
6
6
|
(function (KupActivityTimelineProps) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupAutocomplete$1, C as defineCustomElement$1 } from './p-
|
|
1
|
+
import { K as KupAutocomplete$1, C as defineCustomElement$1 } from './p-6779ea4a.js';
|
|
2
2
|
|
|
3
3
|
const KupAutocomplete = KupAutocomplete$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H as H$2, c as createEvent, g as getAssetPath, f as forceUpdate, h as h$1, d as Host } from './p-68313086.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric, G as getColumnByName } from './p-aeb81a51.js';
|
|
3
|
-
import { c as componentWrapperId, S as FButton, N as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, T as FChipType } from './p-
|
|
3
|
+
import { c as componentWrapperId, S as FButton, N as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, T as FChipType } from './p-6779ea4a.js';
|
|
4
4
|
import { b as KupDatesLocales, K as KupDatesFormats } from './p-f61ef1fb.js';
|
|
5
5
|
|
|
6
6
|
var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-68313086.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, a5 as KupCardFamily, o as getCellValueForDisplay } from './p-aeb81a51.js';
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$f, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u } from './p-
|
|
4
|
-
import { d as defineCustomElement$e } from './p-
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$f, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u } from './p-6779ea4a.js';
|
|
4
|
+
import { d as defineCustomElement$e } from './p-b55e4715.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-card-list component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-68313086.js';
|
|
2
2
|
import { k as kupManagerInstance, u as FCellPadding, ar as KupCellElementsPosition, g as getProps, s as setProps, ac as KupDragEffect, as as submitPositionAdapter, d as KupLanguageGeneric, at as KupCellProps } from './p-aeb81a51.js';
|
|
3
|
-
import { c as componentWrapperId, L as FCell, S as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
3
|
+
import { c as componentWrapperId, L as FCell, S as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-6779ea4a.js';
|
|
4
4
|
|
|
5
5
|
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: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:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);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%}";
|
|
6
6
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-68313086.js';
|
|
2
|
-
import { S as FButton, _ as FTextField, $ as FCheckbox, O as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
2
|
+
import { S as FButton, _ as FTextField, $ as FCheckbox, O as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-6779ea4a.js';
|
|
3
3
|
import { k as kupManagerInstance, g as getProps, s as setProps, au as KupLanguageDashboard, d as KupLanguageGeneric, ac as KupDragEffect, t as KupDebugCategory } from './p-aeb81a51.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-68313086.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-aeb81a51.js';
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-6779ea4a.js';
|
|
4
4
|
|
|
5
5
|
const drawerClass = 'drawer';
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as KupDropdownButton$1, p as defineCustomElement$1 } from './p-
|
|
1
|
+
import { a3 as KupDropdownButton$1, p as defineCustomElement$1 } from './p-6779ea4a.js';
|
|
2
2
|
|
|
3
3
|
const KupDropdownButton = KupDropdownButton$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|