@sme.up/ketchup 11.0.0-SNAPSHOT-20250806071842 → 11.0.0-SNAPSHOT-20250806091734
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-507025b3.js → f-cell-33ab64fa.js} +4 -4
- package/dist/cjs/{f-chip-f1b14141.js → f-chip-9388f1ee.js} +1 -1
- package/dist/cjs/{f-object-field-7c1ea180.js → f-object-field-40d6b74a.js} +2 -2
- package/dist/cjs/{f-paginator-utils-49cf707b.js → f-paginator-utils-badb719b.js} +1 -1
- package/dist/cjs/{f-text-field-f5b2163a.js → f-text-field-94d19f8d.js} +59 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.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 +12 -9
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-63e5d7a2.js → kup-data-table-helper-778673d3.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 +1 -1
- 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 +71 -15
- 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-15f30f03.js → kup-manager-36fc5b46.js} +8 -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 +3 -3
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- 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 +1 -1
- 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/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +8 -8
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +9 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +65 -9
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -4
- package/dist/collection/f-components/f-text-field/f-text-field.js +55 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +5 -0
- package/dist/collection/utils/cell-utils.js +1 -1
- 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 +69 -13
- 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-pdf.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-90f25b3f.js → p-3bcad563.js} +2 -2
- package/dist/components/{p-1e55c9d9.js → p-49dfbbc8.js} +65 -4
- package/dist/components/{p-fbaf1165.js → p-593b5f6a.js} +8 -3
- package/dist/components/{p-45535b3a.js → p-929c6b00.js} +2 -2
- package/dist/components/{p-e6ff41f1.js → p-994fdcd7.js} +2 -2
- package/dist/components/{p-eaaa8901.js → p-bba3e418.js} +2 -2
- package/dist/esm/{f-cell-74347dce.js → f-cell-0b2928ea.js} +4 -4
- package/dist/esm/{f-chip-d5f27ee2.js → f-chip-c50d00c2.js} +1 -1
- package/dist/esm/{f-object-field-6f759bf9.js → f-object-field-b0881912.js} +2 -2
- package/dist/esm/{f-paginator-utils-6d124369.js → f-paginator-utils-0532200f.js} +1 -1
- package/dist/esm/{f-text-field-86dd8534.js → f-text-field-edc3dd8d.js} +59 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.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 +12 -9
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +2 -2
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-7d5e4260.js → kup-data-table-helper-82685eae.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 +1 -1
- 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 +71 -15
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-2b06d829.js → kup-manager-61330c8b.js} +8 -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 +3 -3
- package/dist/esm/kup-pdf.entry.js +1 -1
- 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 +1 -1
- 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/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-b3ab3b46.entry.js → p-10207a5d.entry.js} +1 -1
- package/dist/ketchup/p-17339f19.entry.js +1 -0
- package/dist/ketchup/{p-00963efe.entry.js → p-1dac10f4.entry.js} +1 -1
- package/dist/ketchup/{p-0d4f7e56.entry.js → p-2b10974f.entry.js} +1 -1
- package/dist/ketchup/{p-62b0efc0.js → p-2b230b86.js} +1 -1
- package/dist/ketchup/{p-3bdd6c6c.entry.js → p-4717c8ae.entry.js} +1 -1
- package/dist/ketchup/{p-7bc9db2e.entry.js → p-67957897.entry.js} +1 -1
- package/dist/ketchup/{p-6a822f80.entry.js → p-68317d50.entry.js} +1 -1
- package/dist/ketchup/{p-ebf38e37.entry.js → p-6dc2ee29.entry.js} +1 -1
- package/dist/ketchup/{p-8d68c939.entry.js → p-6ed28e26.entry.js} +1 -1
- package/dist/ketchup/{p-df012d8b.js → p-72ae6899.js} +1 -1
- package/dist/ketchup/{p-93f419c8.entry.js → p-75b50183.entry.js} +1 -1
- package/dist/ketchup/{p-514a0dfd.js → p-7be5a9ad.js} +1 -1
- package/dist/ketchup/{p-43246def.js → p-88abb4b6.js} +1 -1
- package/dist/ketchup/{p-7b7d2c56.entry.js → p-8b44f84f.entry.js} +1 -1
- package/dist/ketchup/{p-c611bb93.entry.js → p-8b6f8d01.entry.js} +1 -1
- package/dist/ketchup/{p-1f6d5a98.entry.js → p-8bfd822d.entry.js} +1 -1
- package/dist/ketchup/p-8d415e9e.js +1 -0
- package/dist/ketchup/p-94572bd0.js +1 -0
- package/dist/ketchup/{p-4159b799.entry.js → p-9bb644c5.entry.js} +2 -2
- package/dist/ketchup/{p-ba0497d4.entry.js → p-a5ca2dee.entry.js} +1 -1
- package/dist/ketchup/{p-4992a7f2.entry.js → p-a8c6c7da.entry.js} +1 -1
- package/dist/ketchup/{p-1c1395de.entry.js → p-aab40f5d.entry.js} +1 -1
- package/dist/ketchup/{p-0224f595.entry.js → p-b6aaaf93.entry.js} +1 -1
- package/dist/ketchup/{p-4f380f49.entry.js → p-b7927772.entry.js} +1 -1
- package/dist/ketchup/{p-a186678f.js → p-bfaddd95.js} +1 -1
- package/dist/ketchup/{p-8664f2d6.entry.js → p-c135b6e6.entry.js} +1 -1
- package/dist/ketchup/{p-c662be76.entry.js → p-c39d0cf1.entry.js} +1 -1
- package/dist/ketchup/{p-e04629d5.entry.js → p-c3a87466.entry.js} +1 -1
- package/dist/ketchup/{p-1833f1df.entry.js → p-c6216df7.entry.js} +1 -1
- package/dist/ketchup/{p-96904611.entry.js → p-c7f9692d.entry.js} +1 -1
- package/dist/ketchup/{p-66d8c28a.entry.js → p-d7b60877.entry.js} +1 -1
- package/dist/ketchup/{p-9c35165c.entry.js → p-dbddd625.entry.js} +1 -1
- package/dist/ketchup/{p-ca669fe4.entry.js → p-f4b8b34b.entry.js} +1 -1
- package/dist/ketchup/{p-e6cad40c.entry.js → p-fb2f22ba.entry.js} +1 -1
- package/dist/ketchup/{p-b1a9f499.entry.js → p-fec42e34.entry.js} +1 -1
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +1 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components.d.ts +10 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/utils/cell-utils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ketchup/p-2bb6c663.js +0 -1
- package/dist/ketchup/p-5f35bc3e.js +0 -1
- package/dist/ketchup/p-63a686bc.entry.js +0 -1
|
@@ -26,7 +26,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
26
26
|
}
|
|
27
27
|
return t;
|
|
28
28
|
};
|
|
29
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_skipRenderField, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_isFCellEventPayload, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter, _KupInputPanel_FileUploadAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableCMBandACPOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_getTblAutocompleteEventCallback, _KupInputPanel_manageTblItemClick, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip, _KupInputPanel_upload;
|
|
29
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_helperEl, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_hideHelper, _KupInputPanel_showHelper, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_skipRenderField, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_isFCellEventPayload, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter, _KupInputPanel_FileUploadAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableCMBandACPOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_getTblAutocompleteEventCallback, _KupInputPanel_manageTblItemClick, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip, _KupInputPanel_upload;
|
|
30
30
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
31
31
|
import { FButton } from "../../f-components/f-button/f-button";
|
|
32
32
|
import { FCell } from "../../f-components/f-cell/f-cell";
|
|
@@ -83,6 +83,28 @@ export class KupInputPanel {
|
|
|
83
83
|
]));
|
|
84
84
|
_KupInputPanel_readyPromise.set(this, void 0);
|
|
85
85
|
_KupInputPanel_readyResolve.set(this, void 0);
|
|
86
|
+
_KupInputPanel_helperEl.set(this, null);
|
|
87
|
+
_KupInputPanel_hideHelper.set(this, () => {
|
|
88
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f")) {
|
|
89
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").remove();
|
|
90
|
+
__classPrivateFieldSet(this, _KupInputPanel_helperEl, null, "f");
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
_KupInputPanel_showHelper.set(this, (e, text) => {
|
|
94
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f")) {
|
|
95
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").style.left = `${e.clientX + 10}px`;
|
|
96
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").style.top = `${e.clientY + 10}px`;
|
|
97
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").innerText = text;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
__classPrivateFieldSet(this, _KupInputPanel_helperEl, document.createElement('div'), "f");
|
|
101
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").className = 'input-panel__helper-tooltip';
|
|
102
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").innerText = text;
|
|
103
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").style.left = `${e.clientX + 10}px`;
|
|
104
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").style.top = `${e.clientY + 10}px`;
|
|
105
|
+
document.body.appendChild(__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f"));
|
|
106
|
+
}
|
|
107
|
+
});
|
|
86
108
|
this.buttonPosition = KupInputPanelButtonsPositions.BOTTOM;
|
|
87
109
|
this.customStyle = '';
|
|
88
110
|
this.dashboardMode = false;
|
|
@@ -249,7 +271,7 @@ export class KupInputPanel {
|
|
|
249
271
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
250
272
|
]
|
|
251
273
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
252
|
-
return (h(Host, { key: '
|
|
274
|
+
return (h(Host, { key: '2cbd29644f1f7fa0528250152fb52425a5b7d58c', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
253
275
|
this.tabSelected = e.detail.node.id;
|
|
254
276
|
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => {
|
|
255
277
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
@@ -259,7 +281,7 @@ export class KupInputPanel {
|
|
|
259
281
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
260
282
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
261
283
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
262
|
-
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '
|
|
284
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: 'f87f91d9b4992f8a9cdcc7ae97c365357afc3b9b' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '293d8ade56057392dfc99707e2d13614cdc54493', id: componentWrapperId }, inputPanelContent)));
|
|
263
285
|
}
|
|
264
286
|
disconnectedCallback() {
|
|
265
287
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -911,7 +933,7 @@ export class KupInputPanel {
|
|
|
911
933
|
}];
|
|
912
934
|
}
|
|
913
935
|
}
|
|
914
|
-
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellTypesNeedingReset = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_readyPromise = new WeakMap(), _KupInputPanel_readyResolve = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
|
|
936
|
+
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellTypesNeedingReset = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_readyPromise = new WeakMap(), _KupInputPanel_readyResolve = new WeakMap(), _KupInputPanel_helperEl = new WeakMap(), _KupInputPanel_hideHelper = new WeakMap(), _KupInputPanel_showHelper = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
|
|
915
937
|
if (!id) {
|
|
916
938
|
return null;
|
|
917
939
|
}
|
|
@@ -1004,7 +1026,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1004
1026
|
} }, ((_b = layout === null || layout === void 0 ? void 0 : layout.sections) === null || _b === void 0 ? void 0 : _b.length) == 1 &&
|
|
1005
1027
|
((_c = layout === null || layout === void 0 ? void 0 : layout.sections[0]) === null || _c === void 0 ? void 0 : _c.title) && (h("div", { class: "input-panel__typography" }, h(FTypography, { value: layout.sections[0].title, type: FTypographyType.HEADING1 }))), h("div", { class: classObj, style: styleObj }, rowContent), h("div", { class: commandsClass }, h(FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", invisible: this.hiddenSubmitButton }), this.fieldReset && (h(FButton, { buttonType: "reset", label: "Reset", wrapperClass: "form__submit", icon: "broom" })), this.inputPanelCommands))));
|
|
1006
1028
|
}, _KupInputPanel_renderCell = function _KupInputPanel_renderCell(cell, row, column) {
|
|
1007
|
-
var _a;
|
|
1029
|
+
var _a, _b;
|
|
1008
1030
|
if (!cell) {
|
|
1009
1031
|
return;
|
|
1010
1032
|
}
|
|
@@ -1012,7 +1034,19 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1012
1034
|
if (customRender !== undefined) {
|
|
1013
1035
|
return customRender(cell, column, (_a = row.layout) === null || _a === void 0 ? void 0 : _a.absolute);
|
|
1014
1036
|
}
|
|
1015
|
-
cell.data = Object.assign(Object.assign({}, cell.data), { sizing: 'extra-small' });
|
|
1037
|
+
cell.data = Object.assign(Object.assign({}, cell.data), { sizing: 'extra-small', labelHelper: column.helper });
|
|
1038
|
+
const subcompData = (_b = cell.data) === null || _b === void 0 ? void 0 : _b.data;
|
|
1039
|
+
if (subcompData) {
|
|
1040
|
+
const hasTextFieldProps = Object.keys(subcompData).includes('kup-text-field');
|
|
1041
|
+
if (!hasTextFieldProps) {
|
|
1042
|
+
subcompData['kup-text-field'] = {
|
|
1043
|
+
labelHelper: column.helper,
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
else {
|
|
1047
|
+
subcompData['kup-text-field'].labelHelper = column.helper;
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1016
1050
|
const cellProps = {
|
|
1017
1051
|
cell,
|
|
1018
1052
|
column,
|
|
@@ -1023,10 +1057,27 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1023
1057
|
setSizes: true,
|
|
1024
1058
|
};
|
|
1025
1059
|
const label = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getLabelComponent).call(this, cell, column.title);
|
|
1060
|
+
const fcell = h(FCell, Object.assign({}, cellProps));
|
|
1026
1061
|
if (label) {
|
|
1027
|
-
|
|
1062
|
+
/*
|
|
1063
|
+
const hasHelper = Boolean(column?.helper) || true;
|
|
1064
|
+
const helper = hasHelper ? (
|
|
1065
|
+
<span
|
|
1066
|
+
class="input-panel__helper-icon"
|
|
1067
|
+
onPointerMove={(e) => this.#showHelper(e, column.helper)}
|
|
1068
|
+
onPointerDown={(e) => this.#showHelper(e, column.helper)}
|
|
1069
|
+
onPointerOut={() => this.#hideHelper()}
|
|
1070
|
+
>
|
|
1071
|
+
<FImage
|
|
1072
|
+
resource="info-outline"
|
|
1073
|
+
title={column.helper}
|
|
1074
|
+
></FImage>
|
|
1075
|
+
</span>
|
|
1076
|
+
) : null;
|
|
1077
|
+
*/
|
|
1078
|
+
return (h("div", { class: { 'input-panel__label_container': true } }, label, fcell));
|
|
1028
1079
|
}
|
|
1029
|
-
return
|
|
1080
|
+
return fcell;
|
|
1030
1081
|
}, _KupInputPanel_renderButton = function _KupInputPanel_renderButton(cell, { name }) {
|
|
1031
1082
|
const renderedButton = (h(FButton, Object.assign({ icon: cell.icon, placeholderIcon: cell.placeholderIcon, id: name }, cell.data, { wrapperClass: "form__submit" })));
|
|
1032
1083
|
return renderedButton;
|
|
@@ -1453,6 +1504,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1453
1504
|
? adapter(options, fieldLabel, currentValue, cell, col.name, layout)
|
|
1454
1505
|
: null;
|
|
1455
1506
|
}, _KupInputPanel_slotData = function _KupInputPanel_slotData(cell, col) {
|
|
1507
|
+
var _a;
|
|
1456
1508
|
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
1457
1509
|
if (cellType === FCellTypes.CHIP) {
|
|
1458
1510
|
return {
|
|
@@ -1465,7 +1517,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1465
1517
|
}
|
|
1466
1518
|
if (cellType === FCellTypes.MULTI_AUTOCOMPLETE ||
|
|
1467
1519
|
cellType === FCellTypes.MULTI_COMBOBOX) {
|
|
1468
|
-
|
|
1520
|
+
const props = Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null, cell)), { showDropDownIcon: true, class: '', style: { width: '100%' }, disabled: !cell.isEditable, id: col.name });
|
|
1521
|
+
if ((_a = props === null || props === void 0 ? void 0 : props.data) === null || _a === void 0 ? void 0 : _a['kup-text-field']) {
|
|
1522
|
+
props.data['kup-text-field'].labelHelper = col.helper;
|
|
1523
|
+
}
|
|
1524
|
+
return props;
|
|
1469
1525
|
}
|
|
1470
1526
|
return null;
|
|
1471
1527
|
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue, cell) {
|
|
@@ -22,6 +22,7 @@ export var KupTextFieldProps;
|
|
|
22
22
|
KupTextFieldProps["integers"] = "Number of integers (should be used when inputType is number).";
|
|
23
23
|
KupTextFieldProps["isClearable"] = "Enables a clear trailing icon.";
|
|
24
24
|
KupTextFieldProps["label"] = "When set, its content will be shown as a label.";
|
|
25
|
+
KupTextFieldProps["labelHelper"] = "When set, the label will be accompanied by a helper text displayed on hover.";
|
|
25
26
|
KupTextFieldProps["leadingLabel"] = "When set to true, the label will be on the left of the component.";
|
|
26
27
|
KupTextFieldProps["max"] = "The HTML max attribute specifies the maximum value for the input element. Works with the following input types: number, range, date, datetime-local, month, time and week.";
|
|
27
28
|
KupTextFieldProps["maxLength"] = "When set, the helper will display a character counter.";
|
|
@@ -7,14 +7,14 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
7
7
|
};
|
|
8
8
|
var _KupTextField_instances, _KupTextField_getValueForOutput, _KupTextField_setValueFromEventTaget;
|
|
9
9
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
10
|
-
import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
|
|
11
10
|
import { FTextField } from "../../f-components/f-text-field/f-text-field";
|
|
12
11
|
import { FTextFieldMDC } from "../../f-components/f-text-field/f-text-field-mdc";
|
|
13
|
-
import { KupComponentSizing, } from "../../types/GenericTypes";
|
|
14
|
-
import { KupTextFieldProps, } from "./kup-text-field-declarations";
|
|
15
12
|
import { KupDebugCategory } from "../../managers/kup-debug/kup-debug-declarations";
|
|
13
|
+
import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
|
|
14
|
+
import { KupComponentSizing, } from "../../types/GenericTypes";
|
|
16
15
|
import { getProps, setProps } from "../../utils/utils";
|
|
17
16
|
import { componentWrapperId } from "../../variables/GenericVariables";
|
|
17
|
+
import { KupTextFieldProps, } from "./kup-text-field-declarations";
|
|
18
18
|
export class KupTextField {
|
|
19
19
|
constructor() {
|
|
20
20
|
_KupTextField_instances.add(this);
|
|
@@ -44,6 +44,7 @@ export class KupTextField {
|
|
|
44
44
|
this.integers = null;
|
|
45
45
|
this.isClearable = false;
|
|
46
46
|
this.label = null;
|
|
47
|
+
this.labelHelper = '';
|
|
47
48
|
this.lightMode = false;
|
|
48
49
|
this.leadingLabel = false;
|
|
49
50
|
this.max = null;
|
|
@@ -290,6 +291,7 @@ export class KupTextField {
|
|
|
290
291
|
integers: this.integers,
|
|
291
292
|
isClearable: this.isClearable,
|
|
292
293
|
label: this.label,
|
|
294
|
+
labelHelper: this.labelHelper,
|
|
293
295
|
leadingLabel: this.leadingLabel,
|
|
294
296
|
lightMode: this.lightMode,
|
|
295
297
|
max: this.max,
|
|
@@ -330,7 +332,7 @@ export class KupTextField {
|
|
|
330
332
|
onMinusClick: (e) => this.onKupMinusClick(e),
|
|
331
333
|
onPlusClick: (e) => this.onKupPlusClick(e),
|
|
332
334
|
};
|
|
333
|
-
return (h(Host, { key: '
|
|
335
|
+
return (h(Host, { key: '18e06100494e2ea81d427de84d97e1f6674e2d17' }, h("style", { key: 'ab2ac80c5f3557f9b88d50c000d011bd3b88c169' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '07e5298b796e91e17e5ad48f4a15cf6eebd348db', id: componentWrapperId }, h(FTextField, Object.assign({ key: 'f933036f6ce0975caff1d10dad34bcccf3f681b2' }, props)))));
|
|
334
336
|
}
|
|
335
337
|
disconnectedCallback() {
|
|
336
338
|
this.kupManager.theme.unregister(this);
|
|
@@ -793,6 +795,27 @@ export class KupTextField {
|
|
|
793
795
|
"reflect": false,
|
|
794
796
|
"defaultValue": "null"
|
|
795
797
|
},
|
|
798
|
+
"labelHelper": {
|
|
799
|
+
"type": "string",
|
|
800
|
+
"mutable": false,
|
|
801
|
+
"complexType": {
|
|
802
|
+
"original": "string",
|
|
803
|
+
"resolved": "string",
|
|
804
|
+
"references": {}
|
|
805
|
+
},
|
|
806
|
+
"required": false,
|
|
807
|
+
"optional": false,
|
|
808
|
+
"docs": {
|
|
809
|
+
"tags": [{
|
|
810
|
+
"name": "default",
|
|
811
|
+
"text": "\"\""
|
|
812
|
+
}],
|
|
813
|
+
"text": "When set, the label will be accompanied by a helper text displayed on hover."
|
|
814
|
+
},
|
|
815
|
+
"attribute": "label-helper",
|
|
816
|
+
"reflect": false,
|
|
817
|
+
"defaultValue": "''"
|
|
818
|
+
},
|
|
796
819
|
"lightMode": {
|
|
797
820
|
"type": "boolean",
|
|
798
821
|
"mutable": false,
|
|
@@ -2,6 +2,7 @@ import { getAssetPath, h } from "@stencil/core";
|
|
|
2
2
|
import { KupThemeIconValues } from "../../managers/kup-theme/kup-theme-declarations";
|
|
3
3
|
import { FImage } from "../f-image/f-image";
|
|
4
4
|
const dom = document.documentElement;
|
|
5
|
+
let helperEl = null;
|
|
5
6
|
/*-------------------------------------------------*/
|
|
6
7
|
/* C o m p o n e n t */
|
|
7
8
|
/*-------------------------------------------------*/
|
|
@@ -44,7 +45,7 @@ function setContent(props) {
|
|
|
44
45
|
!props.trailingLabel &&
|
|
45
46
|
!props.legacyLook // do not show label in input panel absolute ( legacy mode )
|
|
46
47
|
) {
|
|
47
|
-
labelEl = (h("div", { class: "mdc-text-field__label-container" }, h("label", { class: "mdc-label", htmlFor: "kup-input" }, props.label), props.maxLength && props.showCounter ? (h("div", { class: "mdc-text-field__label-character-counter" }, props.value.length, " / ", props.maxLength)) : undefined));
|
|
48
|
+
labelEl = (h("div", { class: "mdc-text-field__label-container" }, h("label", { class: "mdc-label", htmlFor: "kup-input" }, props.label, props.labelHelper && (h("span", { onPointerMove: (e) => showHelper(e, props.labelHelper), onPointerDown: (e) => showHelper(e, props.labelHelper), onPointerOut: () => hideHelper() }, h(FImage, { resource: "info_outline", wrapperClass: "helper-icon" })))), props.maxLength && props.showCounter ? (h("div", { class: "mdc-text-field__label-character-counter" }, props.value.length, " / ", props.maxLength)) : undefined));
|
|
48
49
|
}
|
|
49
50
|
if (props.icon) {
|
|
50
51
|
let iconStyle;
|
|
@@ -282,3 +283,56 @@ const formatValue = function (value, options, inputIsLocalized) {
|
|
|
282
283
|
}
|
|
283
284
|
return dom.ketchup.math.format(formatedValue, dom.ketchup.math.createFormatPattern(options.group, options.decimal), inputIsLocalized);
|
|
284
285
|
};
|
|
286
|
+
const hideHelper = () => {
|
|
287
|
+
if (helperEl) {
|
|
288
|
+
helperEl.remove();
|
|
289
|
+
helperEl = null;
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
const showHelper = (e, text) => {
|
|
293
|
+
if (!text || text.length === 0) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
if (helperEl) {
|
|
297
|
+
helperEl.innerText = text;
|
|
298
|
+
positionHelper(helperEl, e);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
helperEl = document.createElement('div');
|
|
302
|
+
helperEl.className = 'kup-helper-tooltip';
|
|
303
|
+
helperEl.innerText = text;
|
|
304
|
+
document.body.appendChild(helperEl);
|
|
305
|
+
positionHelper(helperEl, e);
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
const positionHelper = (element, e) => {
|
|
309
|
+
const padding = 10;
|
|
310
|
+
const viewportWidth = window.innerWidth;
|
|
311
|
+
const viewportHeight = window.innerHeight;
|
|
312
|
+
const rect = element.getBoundingClientRect();
|
|
313
|
+
const elementWidth = rect.width;
|
|
314
|
+
const elementHeight = rect.height;
|
|
315
|
+
let left = e.clientX + padding;
|
|
316
|
+
let top = e.clientY + padding;
|
|
317
|
+
// Check right edge overflow
|
|
318
|
+
if (left + elementWidth > viewportWidth) {
|
|
319
|
+
left = e.clientX - elementWidth - padding;
|
|
320
|
+
// If still overflowing on the left, align to the right edge
|
|
321
|
+
if (left < 0) {
|
|
322
|
+
left = viewportWidth - elementWidth - padding;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
// Check bottom edge overflow
|
|
326
|
+
if (top + elementHeight > viewportHeight) {
|
|
327
|
+
top = e.clientY - elementHeight - padding;
|
|
328
|
+
// If still overflowing on the top, align to the bottom edge
|
|
329
|
+
if (top < 0) {
|
|
330
|
+
top = viewportHeight - elementHeight - padding;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
// Ensure minimum padding from edges
|
|
334
|
+
left = Math.max(padding, Math.min(left, viewportWidth - elementWidth - padding));
|
|
335
|
+
top = Math.max(padding, Math.min(top, viewportHeight - elementHeight - padding));
|
|
336
|
+
element.style.left = `${left}px`;
|
|
337
|
+
element.style.top = `${top}px`;
|
|
338
|
+
};
|
|
@@ -74,6 +74,7 @@ export const fChipUsers = [
|
|
|
74
74
|
export const fImageUsers = [
|
|
75
75
|
KupTagNames.ACCORDION,
|
|
76
76
|
KupTagNames.ACTIVITY_TIMELINE,
|
|
77
|
+
KupTagNames.AUTOCOMPLETE,
|
|
77
78
|
KupTagNames.BADGE,
|
|
78
79
|
KupTagNames.BOX,
|
|
79
80
|
KupTagNames.BUTTON,
|
|
@@ -83,8 +84,11 @@ export const fImageUsers = [
|
|
|
83
84
|
KupTagNames.CELL,
|
|
84
85
|
KupTagNames.CHIP,
|
|
85
86
|
KupTagNames.CHECKBOX,
|
|
87
|
+
KupTagNames.COLOR_PICKER,
|
|
88
|
+
KupTagNames.COMBOBOX,
|
|
86
89
|
KupTagNames.DASHBOARD,
|
|
87
90
|
KupTagNames.DATA_TABLE,
|
|
91
|
+
KupTagNames.DATE_PICKER,
|
|
88
92
|
KupTagNames.DIALOG,
|
|
89
93
|
KupTagNames.DROPDOWN_BUTTON,
|
|
90
94
|
KupTagNames.FAMILY_TREE,
|
|
@@ -99,6 +103,7 @@ export const fImageUsers = [
|
|
|
99
103
|
KupTagNames.SNACKBAR,
|
|
100
104
|
KupTagNames.TAB_BAR,
|
|
101
105
|
KupTagNames.TEXT_FIELD,
|
|
106
|
+
KupTagNames.TIME_PICKER,
|
|
102
107
|
KupTagNames.TOOLBAR,
|
|
103
108
|
KupTagNames.TYPOGRAPHY,
|
|
104
109
|
KupTagNames.TYPOGRAPHY_LIST,
|
|
@@ -178,7 +178,7 @@ export function isNegativeNumber(value) {
|
|
|
178
178
|
// -------------
|
|
179
179
|
export const CMBandACPAdapter = (value, label, options, cellData) => ({
|
|
180
180
|
data: {
|
|
181
|
-
'kup-text-field': Object.assign(Object.assign({ trailingIcon: true, label }, ((cellData === null || cellData === void 0 ? void 0 : cellData.size) && { size: cellData.size })), ((cellData === null || cellData === void 0 ? void 0 : cellData.maxLength) && { maxLength: cellData.maxLength })),
|
|
181
|
+
'kup-text-field': Object.assign(Object.assign({ labelHelper: '', trailingIcon: true, label }, ((cellData === null || cellData === void 0 ? void 0 : cellData.size) && { size: cellData.size })), ((cellData === null || cellData === void 0 ? void 0 : cellData.maxLength) && { maxLength: cellData.maxLength })),
|
|
182
182
|
'kup-list': {
|
|
183
183
|
showIcons: true,
|
|
184
184
|
data: (options === null || options === void 0 ? void 0 : options.length)
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-ef8cbd35.js';
|
|
2
|
-
import { K as KupManager } from './p-
|
|
2
|
+
import { K as KupManager } from './p-593b5f6a.js';
|
|
3
3
|
|
|
4
4
|
/** used for obtain a KupManager instance without a dom document (for UT) */
|
|
5
5
|
function newKupManager(init) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupThemeColorValues, d as KupDynamicPositionPlacement } 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, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
2
|
+
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupThemeColorValues, d as KupDynamicPositionPlacement } from './p-593b5f6a.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, D as defineCustomElement$u, E as defineCustomElement$v } from './p-49dfbbc8.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-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory, n as getCellValueForDisplay } from './p-
|
|
3
|
-
import { c as componentWrapperId, G 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, D as defineCustomElement$u, E as defineCustomElement$v, F as FImage } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory, n as getCellValueForDisplay } from './p-593b5f6a.js';
|
|
3
|
+
import { c as componentWrapperId, G 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, D as defineCustomElement$u, E as defineCustomElement$v, F as FImage } from './p-49dfbbc8.js';
|
|
4
4
|
|
|
5
5
|
var KupActivityTimelineProps;
|
|
6
6
|
(function (KupActivityTimelineProps) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupAutocomplete$1, E as defineCustomElement$1 } from './p-
|
|
1
|
+
import { K as KupAutocomplete$1, E as defineCustomElement$1 } from './p-49dfbbc8.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, f as forceUpdate, h as h$1, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupLanguageGeneric, L as getColumnByName, u as KupDebugCategory } from './p-
|
|
3
|
-
import { c as componentWrapperId, U as FButton, P 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, D as defineCustomElement$u, E as defineCustomElement$v, V as FChipType } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupLanguageGeneric, L as getColumnByName, u as KupDebugCategory } from './p-593b5f6a.js';
|
|
3
|
+
import { c as componentWrapperId, U as FButton, P 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, D as defineCustomElement$u, E as defineCustomElement$v, V as FChipType } from './p-49dfbbc8.js';
|
|
4
4
|
import { b as KupDatesLocales, K as KupDatesFormats } from './p-9d9181cf.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-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, ab as KupCardFamily, n as getCellValueForDisplay } 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$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, D as defineCustomElement$v, E as defineCustomElement$w } from './p-
|
|
4
|
-
import { d as defineCustomElement$f } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, ab as KupCardFamily, n as getCellValueForDisplay } from './p-593b5f6a.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$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, D as defineCustomElement$v, E as defineCustomElement$w } from './p-49dfbbc8.js';
|
|
4
|
+
import { d as defineCustomElement$f } from './p-994fdcd7.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-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, w as FCellPadding, aB as KupCellElementsPosition, g as getProps, s as setProps, aj as KupDragEffect, aC as submitPositionAdapter, e as KupLanguageGeneric, aD as KupCellProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, O as FCell, U as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
2
|
+
import { k as kupManagerInstance, w as FCellPadding, aB as KupCellElementsPosition, g as getProps, s as setProps, aj as KupDragEffect, aC as submitPositionAdapter, e as KupLanguageGeneric, aD as KupCellProps } from './p-593b5f6a.js';
|
|
3
|
+
import { c as componentWrapperId, O as FCell, U as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-49dfbbc8.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: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%}";
|
|
6
6
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { U as FButton, a0 as FTextField, a1 as FCheckbox, Q 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, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
3
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aE as KupLanguageDashboard, e as KupLanguageGeneric, aj as KupDragEffect, u as KupDebugCategory } from './p-
|
|
2
|
+
import { U as FButton, a0 as FTextField, a1 as FCheckbox, Q 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, D as defineCustomElement$u, E as defineCustomElement$v } from './p-49dfbbc8.js';
|
|
3
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aE as KupLanguageDashboard, e as KupLanguageGeneric, aj as KupDragEffect, u as KupDebugCategory } from './p-593b5f6a.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-dashboard component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-593b5f6a.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-49dfbbc8.js';
|
|
4
4
|
|
|
5
5
|
const drawerClass = 'drawer';
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a5 as KupDropdownButton$1, r as defineCustomElement$1 } from './p-
|
|
1
|
+
import { a5 as KupDropdownButton$1, r as defineCustomElement$1 } from './p-49dfbbc8.js';
|
|
2
2
|
|
|
3
3
|
const KupDropdownButton = KupDropdownButton$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|