@sme.up/ketchup 11.0.0-SNAPSHOT-20241028084747 → 11.0.0-SNAPSHOT-20241028142004
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-0732e0d2.js → f-cell-58ab0503.js} +18 -11
- package/dist/cjs/f-cell-58ab0503.js.map +1 -0
- package/dist/cjs/{f-chip-aa5c5160.js → f-chip-0afbca0a.js} +2 -2
- package/dist/cjs/{f-chip-aa5c5160.js.map → f-chip-0afbca0a.js.map} +1 -1
- package/dist/cjs/{f-paginator-utils-75af8439.js → f-paginator-utils-d4d4f9af.js} +2 -2
- package/dist/cjs/{f-paginator-utils-75af8439.js.map → f-paginator-utils-d4d4f9af.js.map} +1 -1
- package/dist/cjs/{f-text-field-a04ebf4f.js → f-text-field-b270e67b.js} +2 -2
- package/dist/cjs/{f-text-field-a04ebf4f.js.map → f-text-field-b270e67b.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +6 -6
- package/dist/cjs/kup-box.cjs.entry.js +6 -6
- 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 +10 -14
- package/dist/cjs/kup-cell.cjs.entry.js.map +1 -1
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-8de1519d.js → kup-data-table-helper-af0261a1.js} +2 -2
- package/dist/cjs/{kup-data-table-helper-8de1519d.js.map → kup-data-table-helper-af0261a1.js.map} +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-image-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-input-panel.cjs.entry.js +4 -4
- 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-59da52f6.js → kup-manager-13d2365f.js} +5 -5
- package/dist/cjs/{kup-manager-59da52f6.js.map → kup-manager-13d2365f.js.map} +1 -1
- 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-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-photo-frame.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-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/collection/components/kup-cell/kup-cell.js +6 -10
- package/dist/collection/components/kup-cell/kup-cell.js.map +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +15 -8
- package/dist/collection/f-components/f-cell/f-cell.js.map +1 -1
- package/dist/collection/utils/cell-utils.js +4 -4
- package/dist/collection/utils/cell-utils.js.map +1 -1
- package/dist/components/kup-activity-timeline.js +1 -1
- package/dist/components/kup-autocomplete2.js +15 -8
- package/dist/components/kup-autocomplete2.js.map +1 -1
- package/dist/components/kup-box2.js +1 -1
- package/dist/components/kup-calendar.js +1 -1
- package/dist/components/kup-card-list.js +1 -1
- package/dist/components/kup-cell.js +7 -11
- package/dist/components/kup-cell.js.map +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-echart2.js +1 -1
- package/dist/components/kup-grid2.js +1 -1
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-input-panel.js +1 -1
- package/dist/components/kup-magic-box.js +1 -1
- package/dist/components/kup-manager.js +5 -5
- package/dist/components/kup-manager.js.map +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/esm/{f-cell-5bf2115d.js → f-cell-ed3bbc91.js} +18 -11
- package/dist/esm/f-cell-ed3bbc91.js.map +1 -0
- package/dist/esm/{f-chip-6d15707c.js → f-chip-d8d2c449.js} +2 -2
- package/dist/esm/{f-chip-6d15707c.js.map → f-chip-d8d2c449.js.map} +1 -1
- package/dist/esm/{f-paginator-utils-8be10f61.js → f-paginator-utils-9697f682.js} +2 -2
- package/dist/esm/{f-paginator-utils-8be10f61.js.map → f-paginator-utils-9697f682.js.map} +1 -1
- package/dist/esm/{f-text-field-19666b06.js → f-text-field-81d4e859.js} +2 -2
- package/dist/esm/{f-text-field-19666b06.js.map → f-text-field-81d4e859.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_28.entry.js +6 -6
- package/dist/esm/kup-box.entry.js +6 -6
- 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 +10 -14
- package/dist/esm/kup-cell.entry.js.map +1 -1
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-ef27e258.js → kup-data-table-helper-10366cb2.js} +2 -2
- package/dist/esm/{kup-data-table-helper-ef27e258.js.map → kup-data-table-helper-10366cb2.js.map} +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-image-list.entry.js +4 -4
- package/dist/esm/kup-input-panel.entry.js +4 -4
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-9f30547f.js → kup-manager-ec5538b6.js} +6 -6
- package/dist/esm/{kup-manager-9f30547f.js.map → kup-manager-ec5538b6.js.map} +1 -1
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-photo-frame.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-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-2ecd9f45.entry.js → p-172eb552.entry.js} +2 -2
- package/dist/ketchup/{p-5ade278d.entry.js → p-19a460da.entry.js} +2 -2
- package/dist/ketchup/{p-e111ff31.entry.js → p-1f6dc7b1.entry.js} +2 -2
- package/dist/ketchup/{p-81029100.entry.js → p-232cc157.entry.js} +2 -2
- package/dist/ketchup/{p-cbfa9fac.entry.js → p-3483b30f.entry.js} +2 -2
- package/dist/ketchup/{p-b3c7d4b6.entry.js → p-38a11584.entry.js} +2 -2
- package/dist/ketchup/p-3b7a18a5.js +2 -0
- package/dist/ketchup/p-3b7a18a5.js.map +1 -0
- package/dist/ketchup/{p-c558d39c.entry.js → p-4845b953.entry.js} +2 -2
- package/dist/ketchup/{p-a23a3495.entry.js → p-48ff176a.entry.js} +2 -2
- package/dist/ketchup/{p-828e6da8.entry.js → p-53238b94.entry.js} +2 -2
- package/dist/ketchup/{p-940589d4.entry.js → p-55477f5f.entry.js} +2 -2
- package/dist/ketchup/{p-2d4db7e9.entry.js → p-598e2bb3.entry.js} +2 -2
- package/dist/ketchup/{p-0a0cbb17.entry.js → p-5d64b257.entry.js} +2 -2
- package/dist/ketchup/{p-81df5b08.entry.js → p-6c8d4d2a.entry.js} +2 -2
- package/dist/ketchup/{p-8dd1e16f.entry.js → p-6d8d2556.entry.js} +2 -2
- package/dist/ketchup/p-73ba50e6.js +2 -0
- package/dist/ketchup/{p-447ac2dd.entry.js → p-75328006.entry.js} +2 -2
- package/dist/ketchup/{p-fa9139bb.entry.js → p-7a55fce8.entry.js} +2 -2
- package/dist/ketchup/{p-113a1c91.entry.js → p-7c6a5662.entry.js} +2 -2
- package/dist/ketchup/{p-f1992811.entry.js → p-7e43955b.entry.js} +2 -2
- package/dist/ketchup/{p-8eaf9ea9.entry.js → p-88efe7a0.entry.js} +2 -2
- package/dist/ketchup/{p-55ce8c33.entry.js → p-9448d3df.entry.js} +2 -2
- package/dist/ketchup/{p-23d7a078.js → p-9527c8a0.js} +2 -2
- package/dist/ketchup/p-9b6c792a.entry.js +2 -0
- package/dist/ketchup/p-9b6c792a.entry.js.map +1 -0
- package/dist/ketchup/{p-41e9e598.js → p-9bf03380.js} +3 -3
- package/dist/ketchup/{p-41e9e598.js.map → p-9bf03380.js.map} +1 -1
- package/dist/ketchup/{p-ca3f5c62.js → p-a024642d.js} +2 -2
- package/dist/ketchup/{p-f4eabd6c.entry.js → p-a60bc4b1.entry.js} +2 -2
- package/dist/ketchup/{p-2e3cd639.entry.js → p-ad768d1a.entry.js} +2 -2
- package/dist/ketchup/{p-98f59364.entry.js → p-b638a03b.entry.js} +2 -2
- package/dist/ketchup/{p-ffdc8733.entry.js → p-c4851344.entry.js} +2 -2
- package/dist/ketchup/{p-779aecdc.entry.js → p-cffab777.entry.js} +2 -2
- package/dist/ketchup/{p-b8fdc94c.entry.js → p-e0ee6678.entry.js} +2 -2
- package/dist/ketchup/{p-28b108ae.entry.js → p-edc46265.entry.js} +2 -2
- package/dist/ketchup/{p-172e642a.js → p-fcc24603.js} +2 -2
- package/dist/ketchup/{p-33e7f5f1.entry.js → p-ff79c1ac.entry.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/f-cell-0732e0d2.js.map +0 -1
- package/dist/esm/f-cell-5bf2115d.js.map +0 -1
- package/dist/ketchup/p-33e84dd7.js +0 -2
- package/dist/ketchup/p-33e84dd7.js.map +0 -1
- package/dist/ketchup/p-346a60f6.entry.js +0 -2
- package/dist/ketchup/p-346a60f6.entry.js.map +0 -1
- package/dist/ketchup/p-b95e7cbf.js +0 -2
- /package/dist/ketchup/{p-2ecd9f45.entry.js.map → p-172eb552.entry.js.map} +0 -0
- /package/dist/ketchup/{p-5ade278d.entry.js.map → p-19a460da.entry.js.map} +0 -0
- /package/dist/ketchup/{p-e111ff31.entry.js.map → p-1f6dc7b1.entry.js.map} +0 -0
- /package/dist/ketchup/{p-81029100.entry.js.map → p-232cc157.entry.js.map} +0 -0
- /package/dist/ketchup/{p-cbfa9fac.entry.js.map → p-3483b30f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-b3c7d4b6.entry.js.map → p-38a11584.entry.js.map} +0 -0
- /package/dist/ketchup/{p-c558d39c.entry.js.map → p-4845b953.entry.js.map} +0 -0
- /package/dist/ketchup/{p-a23a3495.entry.js.map → p-48ff176a.entry.js.map} +0 -0
- /package/dist/ketchup/{p-828e6da8.entry.js.map → p-53238b94.entry.js.map} +0 -0
- /package/dist/ketchup/{p-940589d4.entry.js.map → p-55477f5f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-2d4db7e9.entry.js.map → p-598e2bb3.entry.js.map} +0 -0
- /package/dist/ketchup/{p-0a0cbb17.entry.js.map → p-5d64b257.entry.js.map} +0 -0
- /package/dist/ketchup/{p-81df5b08.entry.js.map → p-6c8d4d2a.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8dd1e16f.entry.js.map → p-6d8d2556.entry.js.map} +0 -0
- /package/dist/ketchup/{p-b95e7cbf.js.map → p-73ba50e6.js.map} +0 -0
- /package/dist/ketchup/{p-447ac2dd.entry.js.map → p-75328006.entry.js.map} +0 -0
- /package/dist/ketchup/{p-fa9139bb.entry.js.map → p-7a55fce8.entry.js.map} +0 -0
- /package/dist/ketchup/{p-113a1c91.entry.js.map → p-7c6a5662.entry.js.map} +0 -0
- /package/dist/ketchup/{p-f1992811.entry.js.map → p-7e43955b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8eaf9ea9.entry.js.map → p-88efe7a0.entry.js.map} +0 -0
- /package/dist/ketchup/{p-55ce8c33.entry.js.map → p-9448d3df.entry.js.map} +0 -0
- /package/dist/ketchup/{p-23d7a078.js.map → p-9527c8a0.js.map} +0 -0
- /package/dist/ketchup/{p-ca3f5c62.js.map → p-a024642d.js.map} +0 -0
- /package/dist/ketchup/{p-f4eabd6c.entry.js.map → p-a60bc4b1.entry.js.map} +0 -0
- /package/dist/ketchup/{p-2e3cd639.entry.js.map → p-ad768d1a.entry.js.map} +0 -0
- /package/dist/ketchup/{p-98f59364.entry.js.map → p-b638a03b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-ffdc8733.entry.js.map → p-c4851344.entry.js.map} +0 -0
- /package/dist/ketchup/{p-779aecdc.entry.js.map → p-cffab777.entry.js.map} +0 -0
- /package/dist/ketchup/{p-b8fdc94c.entry.js.map → p-e0ee6678.entry.js.map} +0 -0
- /package/dist/ketchup/{p-28b108ae.entry.js.map → p-edc46265.entry.js.map} +0 -0
- /package/dist/ketchup/{p-172e642a.js.map → p-fcc24603.js.map} +0 -0
- /package/dist/ketchup/{p-33e7f5f1.entry.js.map → p-ff79c1ac.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,f as n,h as i,H as s,d as o}from"./p-d7c15b0e.js";import{F as l}from"./p-cc32b7a2.js";import{F as a}from"./p-33e84dd7.js";import{k as r,a5 as u,F as c,g as h,s as p,h as f,aa as d,ac as m,al as b,ab as v,am as k,e as g}from"./p-41e9e598.js";import{F as y}from"./p-c4054aba.js";import{c as _}from"./p-635bb4b3.js";import"./p-e3062c19.js";import"./p-2b519589.js";import"./p-5d03c077.js";import"./p-ca3f5c62.js";import"./p-b95e7cbf.js";import"./p-029c7cbe.js";import"./p-d4a879fc.js";var x;(function(t){t["TAB"]="tab"})(x||(x={}));var w;(function(t){t["customStyle"]="Custom style of the component.";t["data"]="Actual data of the input panel.";t["hiddenSubmitButton"]="Creates a hidden submit button in order to submit the form with enter.";t["submitCb"]="Sets the callback function on submit form";t["optionsHandler"]="Sets the callback function to recieve options"})(w||(w={}));const j=12;const O=22;const $=t=>{if(t==0){return j/2}if(!t){return null}if(t===1){return 1.5*j}return t*j};const z=t=>{if(!t){return null}return t*O};const S=t=>{if(!t){return null}return(t-1)*O};const M=t=>{if(!t){return null}return t*j};const T=".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{--kup_input_panel_background_color:var(\n --kup-input-panel-background-color,\n var(--kup-layer-0)\n );--kup_input_panel_color:var(\n --kup-input-panel-color,\n var(--kup-text-secondary)\n );--kup_input_panel_font_family:var(\n --kup-input-panel-font-family,\n var(--kup-font-family)\n );--kup_input_panel_font_size:var(\n --kup-input-panel-font-size,\n var(--kup-font-size)\n );--kup_input_panel_label_alignment:var(--kup-input-panel-label-alignment);--kup_input_panel_label_width:var(--kup-input-panel-label-width);--kup_input_panel_padding:var(--kup-input-panel-padding, 1em 0)}:host .input-panel{background:var(--kup_input_panel_background_color);color:var(--kup_input_panel_color);display:flex;flex-grow:1;overflow:auto;padding:var(--kup_input_panel_padding);position:relative;gap:2rem}:host .input-panel--column{flex-direction:column}:host .input-panel__section_label_container{display:flex;flex-direction:column;gap:1rem}:host .input-panel__section{display:grid}:host .input-panel__section .f-cell__content>*{width:100%}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control{height:40px;width:40px}:host .input-panel__label_container{display:flex;flex-direction:column;justify-content:center}:host .input-panel__label_container>.f-cell{flex:1}:host .input-panel__tabs_container{display:flex;flex-direction:column;justify-content:center;gap:2rem}:host .input-panel .f-cell.number-cell .f-cell__content{--kup-textfield-font-family:var(--kup_cell_font_family);font-family:var(--kup_cell_font_family)}:host .input-panel .input-panel-label{display:flex;width:100%;height:100%;align-items:center;justify-content:center}:host .input-panel--absolute{height:40ch;justify-content:flex-end}:host .input-panel--absolute .input-panel-label{justify-content:start}:host .input-panel--absolute .mdc-text-field{height:unset !important}";const W=T;var D=undefined&&undefined.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e==="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)};var C=undefined&&undefined.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e==="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n};var E=undefined&&undefined.__rest||function(t,e){var n={};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0)n[i]=t[i];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var s=0,i=Object.getOwnPropertySymbols(t);s<i.length;s++){if(e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s]))n[i[s]]=t[i[s]]}return n};var F,I,P,R,N,G,J,V,A,L,B,H,K,X,Y,q,Q,U,Z,tt,et,nt,it,st,ot,lt,at,rt,ut,ct,ht,pt,ft,dt,mt,bt,vt,kt,gt,yt,_t,xt,wt,jt,Ot,$t,zt,St,Mt,Tt,Wt;const Dt=document.documentElement;const Ct=class{constructor(n){t(this,n);this.kupReady=e(this,"kup-input-panel-ready",6);F.add(this);I.set(this,r());P.set(this,new Map([["SmeupTreeNode",D(this,F,"m",St).bind(this)],["SmeupDataTree",D(this,F,"m",Mt).bind(this)],["SmeupTable",D(this,F,"m",Tt).bind(this)],["SmeupDataTable",D(this,F,"m",Tt).bind(this)]]));R.set(this,null);N.set(this,new Map([[u.AUTOCOMPLETE,["kup-autocomplete-input","kup-autocomplete-iconclick"]],[u.MULTI_AUTOCOMPLETE,["kup-autocomplete-input","kup-autocomplete-iconclick"]],[u.COMBOBOX,["kup-combobox-iconclick"]],[u.MULTI_COMBOBOX,["kup-combobox-iconclick"]]]));G.set(this,[]);J.set(this,new Map([[u.DATE,"kup-date-picker"],[u.TIME,"kup-time-picker"]]));V.set(this,new Map([[c.BUTTON_LIST,D(this,F,"m",K).bind(this)],[c.EDITOR,D(this,F,"m",X).bind(this)],[c.LABEL,D(this,F,"m",q).bind(this)],[c.TABLE,D(this,F,"m",Y).bind(this)]]));A.set(this,new Map([[x.TAB,D(this,F,"m",nt).bind(this)]]));L.set(this,[]);this.customStyle="";this.data=null;this.hiddenSubmitButton=false;this.submitCb=null;this.optionsHandler=null;this.customButtonClickHandler=null;this.inputPanelCells=[];this.tabSelected=null}onDataChanged(){C(this,R,structuredClone(this.data),"f");if(D(this,G,"f").length){D(this,G,"f").map((({event:t,handler:e})=>{this.rootElement.removeEventListener(t,e)}));C(this,G,[],"f")}if(D(this,L,"f").length){D(this,L,"f").map((t=>{D(this,I,"f").keysBinding.unregister(t)}));C(this,L,[],"f")}D(this,F,"m",ot).call(this,this.data)}async getProps(t){return h(this,w,t)}async refresh(){n(this)}async setProps(t){p(this,w,t)}componentWillLoad(){D(this,I,"f").debug.logLoad(this,false);D(this,I,"f").language.register(this);D(this,I,"f").theme.register(this);this.onDataChanged()}componentDidLoad(){this.kupReady.emit({comp:this,id:this.rootElement.id});D(this,I,"f").debug.logLoad(this,true)}componentWillRender(){D(this,I,"f").debug.logRender(this,false)}componentDidRender(){const t=this.rootElement.shadowRoot;if(t){const e=t.querySelectorAll(".f-text-field");for(let t=0;t<e.length;t++){y(e[t])}}D(this,I,"f").debug.logRender(this,true)}render(){const t=Boolean(!this.inputPanelCells.length);const e=t?[i("p",null,D(this,I,"f").language.translate(f.EMPTY_DATA))]:this.inputPanelCells.map((t=>D(this,F,"m",B).call(this,t)));return i(s,{key:"5cbd0edb83ae078855bf2f4fdf7764b7f6dd3b2e"},i("style",{key:"08d2f2ea1268135acc0780b106980cb9d3fb16ae"},D(this,I,"f").theme.setKupStyle(this.rootElement)),i("div",{key:"d1d61d6bdd76c6aece7ccc145ecde4cc57e2a04c",id:_},e))}disconnectedCallback(){D(this,I,"f").language.unregister(this);D(this,I,"f").theme.unregister(this)}get rootElement(){return o(this)}static get watchers(){return{data:["onDataChanged"]}}};I=new WeakMap,P=new WeakMap,R=new WeakMap,N=new WeakMap,G=new WeakMap,J=new WeakMap,V=new WeakMap,A=new WeakMap,L=new WeakMap,F=new WeakSet,B=function t(e){var n;const s=e.row.layout;const o=(s===null||s===void 0?void 0:s.horizontal)||false;let a;if(!((n=s===null||s===void 0?void 0:s.sections)===null||n===void 0?void 0:n.length)){a=e.cells.map((t=>D(this,F,"m",H).call(this,t.cell,e.row,t.column)))}else{a=s.absolute?D(this,F,"m",Z).call(this,e,s):D(this,F,"m",U).call(this,e,s)}const r={"input-panel":true,"input-panel--column":!o,"input-panel--absolute":s===null||s===void 0?void 0:s.absolute};return i("form",{class:r,name:this.rootElement.id,onSubmit:t=>{t.preventDefault();this.submitCb({value:{before:Object.assign({},D(this,R,"f")),after:D(this,F,"m",rt).call(this)}})}},a,!this.hiddenSubmitButton?i(l,{buttonType:"submit",label:D(this,I,"f").language.translate(f.CONFIRM),wrapperClass:"form__submit"}):null)},H=function t(e,n,s){if(!e){return}const o=D(this,V,"f").get(e.shape);if(o!==undefined){return o(e,s.name)}const l={cell:e,column:s,row:n,component:this,editable:true,renderKup:true,setSizes:true};const r=D(this,F,"m",Q).call(this,e,s.title);if(r){return i("div",{class:{"input-panel__label_container":true}},r,i(a,Object.assign({},l)))}return i(a,Object.assign({},l))},K=function t(e,n){return i(l,Object.assign({icon:e.icon,id:n},e.data,{wrapperClass:"form__submit"}))},X=function t(e,n){const s="kup-editor-save";const o=t=>{const e=this.inputPanelCells.reduce(((t,{cells:e})=>{if(!t){return e.find((({column:t})=>t.name===n)).cell}return t}),null);e.value=t.detail.htmlValue.replace(/\n/g,"<br>")};this.rootElement.addEventListener(s,o);D(this,G,"f").push({event:s,handler:o});return i("kup-editor",Object.assign({},e.data,{id:n,isReadOnly:!e.isEditable,showToolbar:true}))},Y=function t(e,n){return i("kup-data-table",Object.assign({id:n,editableData:true,showGroups:true,showFilters:true,showFooter:true},e.data))},q=function t(e,n){return i("span",{class:"input-panel-label",id:n},e.value)},Q=function t(e,n){if(!n){return null}const s=Dt.ketchup.data.cell.getType(e,e.shape);if(s===u.RADIO){return i("span",null,n)}return null},U=function t(e,n){const i=D(this,A,"f").get(n.sectionsType);return i?i(e,n.sections):n.sections.map((t=>D(this,F,"m",tt).call(this,e,t)))},Z=function t(e,n){return n.sections.map((t=>D(this,F,"m",et).call(this,e,t)))},tt=function t(e,n,s=false,o={}){var l,a;const r={"input-panel__section":!n.horizontal,"input-panel__horizontal-section":n.horizontal};o.gap=+n.gap>0?`${n.gap}rem`:"1rem";let u=[];if((l=n.sections)===null||l===void 0?void 0:l.length){u=n.sections.map((n=>D(this,F,"m",t).call(this,e,n)));const i=n.sections.some((t=>t.dim));if(!n.gridCols&&n.horizontal){o.gridTemplateColumns=i?n.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${n.sections.length}, 1fr)`}if(!n.gridRows&&!n.horizontal){o.gridTemplateRows=i?n.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${n.sections.length}, 1fr)`}}else if((a=n.content)===null||a===void 0?void 0:a.length){u=n.content.map((t=>D(this,F,"m",it).call(this,e,t)));o.gridTemplateColumns=+n.gridCols>0?`repeat(${n.gridCols}, 1fr)`:"";o.gridTemplateRows=+n.gridRows>0?`repeat(${n.gridRows}, 1fr)`:""}const c=i("div",{class:r,style:o},u);return n.title&&!s?i("div",{class:{"input-panel__section_label_container":true}},i("h3",null,n.title),c):c},et=function t(e,n){var s,o;let l=[];if((s=n.sections)===null||s===void 0?void 0:s.length){l=n.sections.map((n=>D(this,F,"m",t).call(this,e,n)))}else if((o=n.content)===null||o===void 0?void 0:o.length){l=n.content.map((t=>D(this,F,"m",st).call(this,e,t)))}const a=`${$(n.absoluteWidth)}px`;const r=`${z(n.absoluteHeight)}px`;const u=`${S(n.absoluteRow)}px`;const c=`${M(n.absoluteColumn)}px`;const h={position:"absolute",width:a,"min-width":a,"max-width":a,height:r,"min-height":r,"max-height":r,top:u,left:c,overflow:"auto"};return i("div",{style:h},l)},nt=function t(e,n){if(!this.tabSelected){this.tabSelected=n[0].id||"0"}const s=n.map(((t,n)=>{const i=t.content.map((t=>t.id));const s=e.cells.some((t=>{var n;console.log(e);const s=t.cell;const o=t.column;return i.includes(o.name)&&!!((n=s.data)===null||n===void 0?void 0:n.error)}));return{active:(t.id||`${n}`)===this.tabSelected,value:t.title,icon:s?"error":t.icon,id:t.id||`${n}`,danger:s}}));const o=n.map(((t,n)=>{const i=t.id||`${n}`;return D(this,F,"m",tt).call(this,e,t,true,{display:this.tabSelected!==i?"none":"grid"})}));const l=".tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }";if(!D(this,G,"f").map((t=>t.event)).includes("kup-tabbar-click")){const t="kup-tabbar-click";const e=t=>{this.tabSelected=t.detail.node.id};this.rootElement.addEventListener(t,e);D(this,G,"f").push({event:t,handler:e})}return i("div",{class:{"input-panel__tabs_container":true}},i("kup-tab-bar",{data:s,customStyle:l}),o)},it=function t(e,n){const s=e.cells.find((t=>t.column.name===n.id));const o=+n.colSpan>0?n.colSpan:!(+n.colSpan>0)&&!(+n.colStart>0)?1:null;const l=o?`span ${o}`:`${n.colStart}`;const a=+n.colEnd>0?`${n.colEnd}`:"";const r=+n.rowSpan>0?n.rowSpan:!(+n.rowSpan>0)&&!(+n.rowStart>0)?1:null;const u=r?`span ${r}`:`${n.rowStart}`;const c=+n.rowEnd>0?`${n.rowEnd}`:"";const h={"grid-column-start":l,"grid-column-end":a,"grid-row-start":u,"grid-row-end":c};if(!s||!s.cell){return}return i("div",{style:h},D(this,F,"m",H).call(this,s.cell,e.row,s.column))},st=function t(e,n){const s=e.cells.find((t=>t.column.name===n.id));if(!s||!s.cell){return}let o;if(s.cell.shape==c.DATE){o=n.absoluteLength>8?n.absoluteLength:8}else{o=n.absoluteLength}const l=`${$(o)}px`;const a=`${z(1)}px`;const r=`${S(n.absoluteRow)}px`;const u=`${M(n.absoluteColumn)}px`;const h={position:"absolute",width:l,"min-width":l,"max-width":l,height:a,"min-height":a,"max-height":a,top:r,left:u,overflow:"auto"};s.cell.data=Object.assign(Object.assign({},s.cell.data),{customStyle:(s.cell.data.customStyle||"")+".mdc-text-field {height: unset !important;}"});return i("div",{style:h},D(this,F,"m",H).call(this,s.cell,e.row,s.column))},ot=function t(e){var n;const i=((n=e===null||e===void 0?void 0:e.rows)===null||n===void 0?void 0:n.length)?e.rows.reduce(((t,n)=>{const i=e.columns.filter((t=>t.visible)).map((t=>{const e=structuredClone(n.cells[t.name]);const i=e?Object.assign(Object.assign({},e),{data:D(this,F,"m",lt).call(this,e,t),slotData:D(this,F,"m",ct).call(this,e,t),isEditable:true}):null;return{column:t,cell:i}}));return[...t,{cells:i,row:n}]}),[]):[];i.map((({cells:t})=>t.map((({cell:t,column:e})=>{const n=Dt.ketchup.data.cell.getType(t,t.shape);const i=D(this,J,"f").get(n);if(!i){return}const s=this.rootElement.shadowRoot.querySelector(`${i}[id=${e.name}]`);s===null||s===void 0?void 0:s.setValue(t.value)}))));this.inputPanelCells=i},lt=function t(e,n){const i=Object.assign(Object.assign({},D(this,F,"m",ut).call(this,e,n)),{disabled:!e.editable,id:n.name});const s=Dt.ketchup.data.cell.getType(e,e.shape);const o=e.data||{},l=E(o,["data"]);return s!==u.MULTI_AUTOCOMPLETE&&s!==u.MULTI_COMBOBOX?D(this,F,"m",at).call(this,i,Object.assign({},e.data)):Object.assign(Object.assign({},i),l)},at=function t(e,n){for(const i in n){if(n[i]instanceof Object&&!Array.isArray(n[i])&&i in e){e[i]=D(this,F,"m",t).call(this,e[i],n[i])}else{e[i]=n[i]}}return e},rt=function t(){return this.inputPanelCells.reduce(((t,e)=>{const n=Object.keys(e.row.cells).reduce(((t,n)=>{var i;const s=(i=e.cells.find((t=>t.column.name===n)))===null||i===void 0?void 0:i.cell;let o=s===null||s===void 0?void 0:s.value;if((s===null||s===void 0?void 0:s.shape)===c.TABLE){o=JSON.stringify(D(this,F,"m",$t).call(this,s.data.data,n))}return Object.assign(Object.assign({},t),{[n]:Object.assign(Object.assign({},e.row.cells[n]),{value:o,obj:s===null||s===void 0?void 0:s.obj})})}),{});return{columns:[...t.columns,...e.cells.map((t=>t.column))],rows:[...t.rows,{cells:n,layout:e.row.layout}]}}),{columns:[],rows:[]})},ut=function t(e,n){if(!e){return null}const i=e.options;const s=n.title;const o=e.value;const l=Dt.ketchup.data.cell.getType(e,e.shape);const a=new Map([[u.AUTOCOMPLETE,D(this,F,"m",dt).bind(this)],[u.BUTTON_LIST,D(this,F,"m",ft).bind(this)],[u.CHART,D(this,F,"m",pt).bind(this)],[u.CHIP,D(this,F,"m",ht).bind(this)],[u.CHECKBOX,D(this,F,"m",mt).bind(this)],[u.COLOR_PICKER,D(this,F,"m",bt).bind(this)],[u.COMBOBOX,D(this,F,"m",dt).bind(this)],[u.EDITOR,D(this,F,"m",vt).bind(this)],[u.MULTI_AUTOCOMPLETE,D(this,F,"m",ht).bind(this)],[u.MULTI_COMBOBOX,D(this,F,"m",ht).bind(this)],[u.NUMBER,D(this,F,"m",jt).bind(this)],[u.DATE,D(this,F,"m",_t).bind(this)],[u.OBJECT,D(this,F,"m",xt).bind(this)],[u.RADIO,D(this,F,"m",gt).bind(this)],[u.STRING,D(this,F,"m",kt).bind(this)],[u.SWITCH,D(this,F,"m",yt).bind(this)],[u.TABLE,D(this,F,"m",Ot).bind(this)],[u.TIME,D(this,F,"m",wt).bind(this)]]);const r=a.get(l);return r?r(i,s,o,e,n.name):null},ct=function t(e,n){const i=Dt.ketchup.data.cell.getType(e,e.shape);if(!e.editable){return null}if(i===u.CHIP){return{trailingIcon:true,label:n.title,disabled:!e.editable,id:n.name,fullWidth:false}}if(i===u.MULTI_AUTOCOMPLETE||i===u.MULTI_COMBOBOX){return Object.assign(Object.assign({},D(this,F,"m",dt).call(this,e.options,n.title,null,e,n.name)),{showDropDownIcon:true,class:"",style:{width:"100%"},disabled:!e.editable,id:n.name})}return null},ht=function t(e,n,i){return d(i)},pt=function t(){return{data:{sizeX:"50px",offlineMode:{value:"8;4;5"},id:"i1012_GREF_0",cellId:"i1012_GREF_0",sizeY:"50px"}}},ft=function t(e,n,i,s,o){var l,a,r,u;s.data=s.data||{};s.data.onClick=()=>{s.fun?this.customButtonClickHandler({fun:s.fun,cellId:o,currentState:D(this,F,"m",rt).call(this)}):this.submitCb({value:{before:Object.assign({},D(this,R,"f")),after:D(this,F,"m",rt).call(this)},cell:o})};if(((l=s.data)===null||l===void 0?void 0:l.keyShortcut)&&!((a=s.data)===null||a===void 0?void 0:a.disabled)){D(this,L,"f").push((r=s.data)===null||r===void 0?void 0:r.keyShortcut);D(this,I,"f").keysBinding.register((u=s.data)===null||u===void 0?void 0:u.keyShortcut,s.data.onClick.bind(this))}return Object.assign({label:s.value,fun:s.fun},s.data)},dt=function t(e,n,i,s,o){const l=m(i,n,[]);if(s.fun){const t=Dt.ketchup.data.cell.getType(s,s.shape);const e=D(this,N,"f").get(t);if(!e){return}e.map((t=>{const e=t=>{D(this,F,"m",Wt).call(this,t.detail,s.fun,l,o,i)};this.rootElement.addEventListener(t,e);D(this,G,"f").push({event:t,handler:e})}))}else if(e){l.data["kup-list"].data=D(this,F,"m",zt).call(this,e,i)}return l},mt=function t(e,n,i){return b(i,n)},bt=function t(e,n,i){return{data:{"kup-text-field":{label:n}}}},vt=function t(e,n,i){return{initialValue:i}},kt=function t(e,n,i){return{label:n}},gt=function t(e,n,i){return v(i,e)},yt=function t(e,n,i){return k(i,n)},_t=function t(e,n,i){return{data:{"kup-text-field":{label:n}},initialValue:i}},xt=function t(e,n,i,s,o){return{initialValue:i||"",label:n||" ",value:i||""}},wt=function t(e,n,i){return{data:{"kup-text-field":{label:n}}}},jt=function t(e,n,i){return{label:n}},Ot=function t(e,n,i,s,o){try{let t=JSON.parse(s.value);if(!t){D(this,I,"f").debug.logMessage(this,`Empty value for ${o} cell.`,g.WARNING);return null}if(t.type!=="SmeupDataTable"){D(this,I,"f").debug.logMessage(this,`Wrong data table type for ${o} cell. Type \`SmeupDataTable\` in value expected`,g.ERROR);return null}return{data:{columns:t.columns.map((e=>Object.assign(Object.assign({},e),{obj:t.rows[0].cells[e.name].obj}))),rows:t.rows.map((e=>Object.assign(Object.assign({},e),{cells:Object.keys(e.cells).reduce(((n,i)=>{const s=t.columns.find((t=>t.name===i));return Object.assign(Object.assign({},n),{[i]:Object.assign(Object.assign({},e.cells[i]),{data:Object.assign(Object.assign({},D(this,F,"m",ut).call(this,e.cells[i],s)),{disabled:e.cells[i].editable===false,id:s.id})})})}),{})})))}}}catch(t){D(this,I,"f").debug.logMessage(this,`Invalid value for ${o} cell. Type \`SmeupDataTable\` expected`,g.ERROR);return null}},$t=function t(e,n){const i=Object.assign(Object.assign({},e),{rows:e.rows.map((t=>Object.assign(Object.assign({},t),{cells:{}})))});const s=e.columns.filter((t=>t.isEditable)).map((t=>t.name));if(!s.length){return i}try{const t=JSON.parse(D(this,R,"f").rows[0].cells[n].value);i.rows=e.rows.map(((e,n)=>s.reduce(((i,s)=>{const o=t.rows[n].cells[s]&&e.cells[s].value!==t.rows[n].cells[s].value;if(o){return Object.assign(Object.assign({},t.rows[n]),{cells:Object.assign(Object.assign({},i.cells),{[s]:Object.assign(Object.assign({},t.rows[n].cells[s]),{value:e.cells[s].value})})})}return Object.assign(Object.assign({},t.rows[n]),{cells:i.cells})}),Object.assign(Object.assign({},t.rows[n]),{cells:{}}))));return i}catch(t){return i}},zt=function t(e,n){const i=D(this,P,"f").get(e.type);if(i){return i(e,n)}else{return e.map((t=>({value:t.label,id:t.id,selected:n===t.id})))}},St=function t(e,n){return e.children.map((e=>{var i;return{id:e.content.codice,value:e.content.testo,selected:n===e.content.codice,children:((i=e.children)===null||i===void 0?void 0:i.length)?D(this,F,"m",t).call(this,e,n):[]}}))},Mt=function t(e,n){return e.children.map((e=>{var i;return{id:e.obj.k,value:e.value,selected:n===e.obj.k,children:((i=e.children)===null||i===void 0?void 0:i.length)?D(this,F,"m",t).call(this,e,n):[]}}))},Tt=function t(e,n){return e.rows.map((t=>{var e;const i=t.fields||t.cells;const[s,o]=Object.keys(i);return{id:i[s].value,value:((e=i[o])===null||e===void 0?void 0:e.value)||i[s].value,selected:n===i[s].value}}))},Wt=function t(e,n,i,s,o){if(e.id!==s||e.open===false){return}this.optionsHandler(n,e.inputValue,D(this,F,"m",rt).call(this),e.id).then((t=>{var n;i.data["kup-list"].data=(n=D(this,F,"m",zt).call(this,t,o))!==null&&n!==void 0?n:[];e.comp.refresh()}))};Ct.style=W;export{Ct as kup_input_panel};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as e,f as n,h as i,H as s,d as o}from"./p-d7c15b0e.js";import{F as l}from"./p-cc32b7a2.js";import{F as a}from"./p-3b7a18a5.js";import{k as r,a5 as u,F as c,g as h,s as p,h as f,al as d,ab as m,ak as b,aa as v,am as k,e as g}from"./p-9bf03380.js";import{F as y}from"./p-c4054aba.js";import{c as _}from"./p-635bb4b3.js";import"./p-e3062c19.js";import"./p-2b519589.js";import"./p-5d03c077.js";import"./p-a024642d.js";import"./p-73ba50e6.js";import"./p-029c7cbe.js";import"./p-d4a879fc.js";var x;(function(t){t["TAB"]="tab"})(x||(x={}));var w;(function(t){t["customStyle"]="Custom style of the component.";t["data"]="Actual data of the input panel.";t["hiddenSubmitButton"]="Creates a hidden submit button in order to submit the form with enter.";t["submitCb"]="Sets the callback function on submit form";t["optionsHandler"]="Sets the callback function to recieve options"})(w||(w={}));const j=12;const O=22;const $=t=>{if(t==0){return j/2}if(!t){return null}if(t===1){return 1.5*j}return t*j};const z=t=>{if(!t){return null}return t*O};const S=t=>{if(!t){return null}return(t-1)*O};const M=t=>{if(!t){return null}return t*j};const T=".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{--kup_input_panel_background_color:var(\n --kup-input-panel-background-color,\n var(--kup-layer-0)\n );--kup_input_panel_color:var(\n --kup-input-panel-color,\n var(--kup-text-secondary)\n );--kup_input_panel_font_family:var(\n --kup-input-panel-font-family,\n var(--kup-font-family)\n );--kup_input_panel_font_size:var(\n --kup-input-panel-font-size,\n var(--kup-font-size)\n );--kup_input_panel_label_alignment:var(--kup-input-panel-label-alignment);--kup_input_panel_label_width:var(--kup-input-panel-label-width);--kup_input_panel_padding:var(--kup-input-panel-padding, 1em 0)}:host .input-panel{background:var(--kup_input_panel_background_color);color:var(--kup_input_panel_color);display:flex;flex-grow:1;overflow:auto;padding:var(--kup_input_panel_padding);position:relative;gap:2rem}:host .input-panel--column{flex-direction:column}:host .input-panel__section_label_container{display:flex;flex-direction:column;gap:1rem}:host .input-panel__section{display:grid}:host .input-panel__section .f-cell__content>*{width:100%}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control{height:40px;width:40px}:host .input-panel__label_container{display:flex;flex-direction:column;justify-content:center}:host .input-panel__label_container>.f-cell{flex:1}:host .input-panel__tabs_container{display:flex;flex-direction:column;justify-content:center;gap:2rem}:host .input-panel .f-cell.number-cell .f-cell__content{--kup-textfield-font-family:var(--kup_cell_font_family);font-family:var(--kup_cell_font_family)}:host .input-panel .input-panel-label{display:flex;width:100%;height:100%;align-items:center;justify-content:center}:host .input-panel--absolute{height:40ch;justify-content:flex-end}:host .input-panel--absolute .input-panel-label{justify-content:start}:host .input-panel--absolute .mdc-text-field{height:unset !important}";const W=T;var D=undefined&&undefined.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e==="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)};var C=undefined&&undefined.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e==="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n};var E=undefined&&undefined.__rest||function(t,e){var n={};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0)n[i]=t[i];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var s=0,i=Object.getOwnPropertySymbols(t);s<i.length;s++){if(e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s]))n[i[s]]=t[i[s]]}return n};var F,I,P,R,N,G,J,V,A,L,B,H,K,X,Y,q,Q,U,Z,tt,et,nt,it,st,ot,lt,at,rt,ut,ct,ht,pt,ft,dt,mt,bt,vt,kt,gt,yt,_t,xt,wt,jt,Ot,$t,zt,St,Mt,Tt,Wt;const Dt=document.documentElement;const Ct=class{constructor(n){t(this,n);this.kupReady=e(this,"kup-input-panel-ready",6);F.add(this);I.set(this,r());P.set(this,new Map([["SmeupTreeNode",D(this,F,"m",St).bind(this)],["SmeupDataTree",D(this,F,"m",Mt).bind(this)],["SmeupTable",D(this,F,"m",Tt).bind(this)],["SmeupDataTable",D(this,F,"m",Tt).bind(this)]]));R.set(this,null);N.set(this,new Map([[u.AUTOCOMPLETE,["kup-autocomplete-input","kup-autocomplete-iconclick"]],[u.MULTI_AUTOCOMPLETE,["kup-autocomplete-input","kup-autocomplete-iconclick"]],[u.COMBOBOX,["kup-combobox-iconclick"]],[u.MULTI_COMBOBOX,["kup-combobox-iconclick"]]]));G.set(this,[]);J.set(this,new Map([[u.DATE,"kup-date-picker"],[u.TIME,"kup-time-picker"]]));V.set(this,new Map([[c.BUTTON_LIST,D(this,F,"m",K).bind(this)],[c.EDITOR,D(this,F,"m",X).bind(this)],[c.LABEL,D(this,F,"m",q).bind(this)],[c.TABLE,D(this,F,"m",Y).bind(this)]]));A.set(this,new Map([[x.TAB,D(this,F,"m",nt).bind(this)]]));L.set(this,[]);this.customStyle="";this.data=null;this.hiddenSubmitButton=false;this.submitCb=null;this.optionsHandler=null;this.customButtonClickHandler=null;this.inputPanelCells=[];this.tabSelected=null}onDataChanged(){C(this,R,structuredClone(this.data),"f");if(D(this,G,"f").length){D(this,G,"f").map((({event:t,handler:e})=>{this.rootElement.removeEventListener(t,e)}));C(this,G,[],"f")}if(D(this,L,"f").length){D(this,L,"f").map((t=>{D(this,I,"f").keysBinding.unregister(t)}));C(this,L,[],"f")}D(this,F,"m",ot).call(this,this.data)}async getProps(t){return h(this,w,t)}async refresh(){n(this)}async setProps(t){p(this,w,t)}componentWillLoad(){D(this,I,"f").debug.logLoad(this,false);D(this,I,"f").language.register(this);D(this,I,"f").theme.register(this);this.onDataChanged()}componentDidLoad(){this.kupReady.emit({comp:this,id:this.rootElement.id});D(this,I,"f").debug.logLoad(this,true)}componentWillRender(){D(this,I,"f").debug.logRender(this,false)}componentDidRender(){const t=this.rootElement.shadowRoot;if(t){const e=t.querySelectorAll(".f-text-field");for(let t=0;t<e.length;t++){y(e[t])}}D(this,I,"f").debug.logRender(this,true)}render(){const t=Boolean(!this.inputPanelCells.length);const e=t?[i("p",null,D(this,I,"f").language.translate(f.EMPTY_DATA))]:this.inputPanelCells.map((t=>D(this,F,"m",B).call(this,t)));return i(s,{key:"5cbd0edb83ae078855bf2f4fdf7764b7f6dd3b2e"},i("style",{key:"08d2f2ea1268135acc0780b106980cb9d3fb16ae"},D(this,I,"f").theme.setKupStyle(this.rootElement)),i("div",{key:"d1d61d6bdd76c6aece7ccc145ecde4cc57e2a04c",id:_},e))}disconnectedCallback(){D(this,I,"f").language.unregister(this);D(this,I,"f").theme.unregister(this)}get rootElement(){return o(this)}static get watchers(){return{data:["onDataChanged"]}}};I=new WeakMap,P=new WeakMap,R=new WeakMap,N=new WeakMap,G=new WeakMap,J=new WeakMap,V=new WeakMap,A=new WeakMap,L=new WeakMap,F=new WeakSet,B=function t(e){var n;const s=e.row.layout;const o=(s===null||s===void 0?void 0:s.horizontal)||false;let a;if(!((n=s===null||s===void 0?void 0:s.sections)===null||n===void 0?void 0:n.length)){a=e.cells.map((t=>D(this,F,"m",H).call(this,t.cell,e.row,t.column)))}else{a=s.absolute?D(this,F,"m",Z).call(this,e,s):D(this,F,"m",U).call(this,e,s)}const r={"input-panel":true,"input-panel--column":!o,"input-panel--absolute":s===null||s===void 0?void 0:s.absolute};return i("form",{class:r,name:this.rootElement.id,onSubmit:t=>{t.preventDefault();this.submitCb({value:{before:Object.assign({},D(this,R,"f")),after:D(this,F,"m",rt).call(this)}})}},a,!this.hiddenSubmitButton?i(l,{buttonType:"submit",label:D(this,I,"f").language.translate(f.CONFIRM),wrapperClass:"form__submit"}):null)},H=function t(e,n,s){if(!e){return}const o=D(this,V,"f").get(e.shape);if(o!==undefined){return o(e,s.name)}const l={cell:e,column:s,row:n,component:this,editable:true,renderKup:true,setSizes:true};const r=D(this,F,"m",Q).call(this,e,s.title);if(r){return i("div",{class:{"input-panel__label_container":true}},r,i(a,Object.assign({},l)))}return i(a,Object.assign({},l))},K=function t(e,n){return i(l,Object.assign({icon:e.icon,id:n},e.data,{wrapperClass:"form__submit"}))},X=function t(e,n){const s="kup-editor-save";const o=t=>{const e=this.inputPanelCells.reduce(((t,{cells:e})=>{if(!t){return e.find((({column:t})=>t.name===n)).cell}return t}),null);e.value=t.detail.htmlValue.replace(/\n/g,"<br>")};this.rootElement.addEventListener(s,o);D(this,G,"f").push({event:s,handler:o});return i("kup-editor",Object.assign({},e.data,{id:n,isReadOnly:!e.isEditable,showToolbar:true}))},Y=function t(e,n){return i("kup-data-table",Object.assign({id:n,editableData:true,showGroups:true,showFilters:true,showFooter:true},e.data))},q=function t(e,n){return i("span",{class:"input-panel-label",id:n},e.value)},Q=function t(e,n){if(!n){return null}const s=Dt.ketchup.data.cell.getType(e,e.shape);if(s===u.RADIO){return i("span",null,n)}return null},U=function t(e,n){const i=D(this,A,"f").get(n.sectionsType);return i?i(e,n.sections):n.sections.map((t=>D(this,F,"m",tt).call(this,e,t)))},Z=function t(e,n){return n.sections.map((t=>D(this,F,"m",et).call(this,e,t)))},tt=function t(e,n,s=false,o={}){var l,a;const r={"input-panel__section":!n.horizontal,"input-panel__horizontal-section":n.horizontal};o.gap=+n.gap>0?`${n.gap}rem`:"1rem";let u=[];if((l=n.sections)===null||l===void 0?void 0:l.length){u=n.sections.map((n=>D(this,F,"m",t).call(this,e,n)));const i=n.sections.some((t=>t.dim));if(!n.gridCols&&n.horizontal){o.gridTemplateColumns=i?n.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${n.sections.length}, 1fr)`}if(!n.gridRows&&!n.horizontal){o.gridTemplateRows=i?n.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${n.sections.length}, 1fr)`}}else if((a=n.content)===null||a===void 0?void 0:a.length){u=n.content.map((t=>D(this,F,"m",it).call(this,e,t)));o.gridTemplateColumns=+n.gridCols>0?`repeat(${n.gridCols}, 1fr)`:"";o.gridTemplateRows=+n.gridRows>0?`repeat(${n.gridRows}, 1fr)`:""}const c=i("div",{class:r,style:o},u);return n.title&&!s?i("div",{class:{"input-panel__section_label_container":true}},i("h3",null,n.title),c):c},et=function t(e,n){var s,o;let l=[];if((s=n.sections)===null||s===void 0?void 0:s.length){l=n.sections.map((n=>D(this,F,"m",t).call(this,e,n)))}else if((o=n.content)===null||o===void 0?void 0:o.length){l=n.content.map((t=>D(this,F,"m",st).call(this,e,t)))}const a=`${$(n.absoluteWidth)}px`;const r=`${z(n.absoluteHeight)}px`;const u=`${S(n.absoluteRow)}px`;const c=`${M(n.absoluteColumn)}px`;const h={position:"absolute",width:a,"min-width":a,"max-width":a,height:r,"min-height":r,"max-height":r,top:u,left:c,overflow:"auto"};return i("div",{style:h},l)},nt=function t(e,n){if(!this.tabSelected){this.tabSelected=n[0].id||"0"}const s=n.map(((t,n)=>{const i=t.content.map((t=>t.id));const s=e.cells.some((t=>{var n;console.log(e);const s=t.cell;const o=t.column;return i.includes(o.name)&&!!((n=s.data)===null||n===void 0?void 0:n.error)}));return{active:(t.id||`${n}`)===this.tabSelected,value:t.title,icon:s?"error":t.icon,id:t.id||`${n}`,danger:s}}));const o=n.map(((t,n)=>{const i=t.id||`${n}`;return D(this,F,"m",tt).call(this,e,t,true,{display:this.tabSelected!==i?"none":"grid"})}));const l=".tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }";if(!D(this,G,"f").map((t=>t.event)).includes("kup-tabbar-click")){const t="kup-tabbar-click";const e=t=>{this.tabSelected=t.detail.node.id};this.rootElement.addEventListener(t,e);D(this,G,"f").push({event:t,handler:e})}return i("div",{class:{"input-panel__tabs_container":true}},i("kup-tab-bar",{data:s,customStyle:l}),o)},it=function t(e,n){const s=e.cells.find((t=>t.column.name===n.id));const o=+n.colSpan>0?n.colSpan:!(+n.colSpan>0)&&!(+n.colStart>0)?1:null;const l=o?`span ${o}`:`${n.colStart}`;const a=+n.colEnd>0?`${n.colEnd}`:"";const r=+n.rowSpan>0?n.rowSpan:!(+n.rowSpan>0)&&!(+n.rowStart>0)?1:null;const u=r?`span ${r}`:`${n.rowStart}`;const c=+n.rowEnd>0?`${n.rowEnd}`:"";const h={"grid-column-start":l,"grid-column-end":a,"grid-row-start":u,"grid-row-end":c};if(!s||!s.cell){return}return i("div",{style:h},D(this,F,"m",H).call(this,s.cell,e.row,s.column))},st=function t(e,n){const s=e.cells.find((t=>t.column.name===n.id));if(!s||!s.cell){return}let o;if(s.cell.shape==c.DATE){o=n.absoluteLength>8?n.absoluteLength:8}else{o=n.absoluteLength}const l=`${$(o)}px`;const a=`${z(1)}px`;const r=`${S(n.absoluteRow)}px`;const u=`${M(n.absoluteColumn)}px`;const h={position:"absolute",width:l,"min-width":l,"max-width":l,height:a,"min-height":a,"max-height":a,top:r,left:u,overflow:"auto"};s.cell.data=Object.assign(Object.assign({},s.cell.data),{customStyle:(s.cell.data.customStyle||"")+".mdc-text-field {height: unset !important;}"});return i("div",{style:h},D(this,F,"m",H).call(this,s.cell,e.row,s.column))},ot=function t(e){var n;const i=((n=e===null||e===void 0?void 0:e.rows)===null||n===void 0?void 0:n.length)?e.rows.reduce(((t,n)=>{const i=e.columns.filter((t=>t.visible)).map((t=>{const e=structuredClone(n.cells[t.name]);const i=e?Object.assign(Object.assign({},e),{data:D(this,F,"m",lt).call(this,e,t),slotData:D(this,F,"m",ct).call(this,e,t),isEditable:true}):null;return{column:t,cell:i}}));return[...t,{cells:i,row:n}]}),[]):[];i.map((({cells:t})=>t.map((({cell:t,column:e})=>{const n=Dt.ketchup.data.cell.getType(t,t.shape);const i=D(this,J,"f").get(n);if(!i){return}const s=this.rootElement.shadowRoot.querySelector(`${i}[id=${e.name}]`);s===null||s===void 0?void 0:s.setValue(t.value)}))));this.inputPanelCells=i},lt=function t(e,n){const i=Object.assign(Object.assign({},D(this,F,"m",ut).call(this,e,n)),{disabled:!e.editable,id:n.name});const s=Dt.ketchup.data.cell.getType(e,e.shape);const o=e.data||{},l=E(o,["data"]);return s!==u.MULTI_AUTOCOMPLETE&&s!==u.MULTI_COMBOBOX?D(this,F,"m",at).call(this,i,Object.assign({},e.data)):Object.assign(Object.assign({},i),l)},at=function t(e,n){for(const i in n){if(n[i]instanceof Object&&!Array.isArray(n[i])&&i in e){e[i]=D(this,F,"m",t).call(this,e[i],n[i])}else{e[i]=n[i]}}return e},rt=function t(){return this.inputPanelCells.reduce(((t,e)=>{const n=Object.keys(e.row.cells).reduce(((t,n)=>{var i;const s=(i=e.cells.find((t=>t.column.name===n)))===null||i===void 0?void 0:i.cell;let o=s===null||s===void 0?void 0:s.value;if((s===null||s===void 0?void 0:s.shape)===c.TABLE){o=JSON.stringify(D(this,F,"m",$t).call(this,s.data.data,n))}return Object.assign(Object.assign({},t),{[n]:Object.assign(Object.assign({},e.row.cells[n]),{value:o,obj:s===null||s===void 0?void 0:s.obj})})}),{});return{columns:[...t.columns,...e.cells.map((t=>t.column))],rows:[...t.rows,{cells:n,layout:e.row.layout}]}}),{columns:[],rows:[]})},ut=function t(e,n){if(!e){return null}const i=e.options;const s=n.title;const o=e.value;const l=Dt.ketchup.data.cell.getType(e,e.shape);const a=new Map([[u.AUTOCOMPLETE,D(this,F,"m",dt).bind(this)],[u.BUTTON_LIST,D(this,F,"m",ft).bind(this)],[u.CHART,D(this,F,"m",pt).bind(this)],[u.CHIP,D(this,F,"m",ht).bind(this)],[u.CHECKBOX,D(this,F,"m",mt).bind(this)],[u.COLOR_PICKER,D(this,F,"m",bt).bind(this)],[u.COMBOBOX,D(this,F,"m",dt).bind(this)],[u.EDITOR,D(this,F,"m",vt).bind(this)],[u.MULTI_AUTOCOMPLETE,D(this,F,"m",ht).bind(this)],[u.MULTI_COMBOBOX,D(this,F,"m",ht).bind(this)],[u.NUMBER,D(this,F,"m",jt).bind(this)],[u.DATE,D(this,F,"m",_t).bind(this)],[u.OBJECT,D(this,F,"m",xt).bind(this)],[u.RADIO,D(this,F,"m",gt).bind(this)],[u.STRING,D(this,F,"m",kt).bind(this)],[u.SWITCH,D(this,F,"m",yt).bind(this)],[u.TABLE,D(this,F,"m",Ot).bind(this)],[u.TIME,D(this,F,"m",wt).bind(this)]]);const r=a.get(l);return r?r(i,s,o,e,n.name):null},ct=function t(e,n){const i=Dt.ketchup.data.cell.getType(e,e.shape);if(!e.editable){return null}if(i===u.CHIP){return{trailingIcon:true,label:n.title,disabled:!e.editable,id:n.name,fullWidth:false}}if(i===u.MULTI_AUTOCOMPLETE||i===u.MULTI_COMBOBOX){return Object.assign(Object.assign({},D(this,F,"m",dt).call(this,e.options,n.title,null,e,n.name)),{showDropDownIcon:true,class:"",style:{width:"100%"},disabled:!e.editable,id:n.name})}return null},ht=function t(e,n,i){return d(i)},pt=function t(){return{data:{sizeX:"50px",offlineMode:{value:"8;4;5"},id:"i1012_GREF_0",cellId:"i1012_GREF_0",sizeY:"50px"}}},ft=function t(e,n,i,s,o){var l,a,r,u;s.data=s.data||{};s.data.onClick=()=>{s.fun?this.customButtonClickHandler({fun:s.fun,cellId:o,currentState:D(this,F,"m",rt).call(this)}):this.submitCb({value:{before:Object.assign({},D(this,R,"f")),after:D(this,F,"m",rt).call(this)},cell:o})};if(((l=s.data)===null||l===void 0?void 0:l.keyShortcut)&&!((a=s.data)===null||a===void 0?void 0:a.disabled)){D(this,L,"f").push((r=s.data)===null||r===void 0?void 0:r.keyShortcut);D(this,I,"f").keysBinding.register((u=s.data)===null||u===void 0?void 0:u.keyShortcut,s.data.onClick.bind(this))}return Object.assign({label:s.value,fun:s.fun},s.data)},dt=function t(e,n,i,s,o){const l=m(i,n,[]);if(s.fun){const t=Dt.ketchup.data.cell.getType(s,s.shape);const e=D(this,N,"f").get(t);if(!e){return}e.map((t=>{const e=t=>{D(this,F,"m",Wt).call(this,t.detail,s.fun,l,o,i)};this.rootElement.addEventListener(t,e);D(this,G,"f").push({event:t,handler:e})}))}else if(e){l.data["kup-list"].data=D(this,F,"m",zt).call(this,e,i)}return l},mt=function t(e,n,i){return b(i,n)},bt=function t(e,n,i){return{data:{"kup-text-field":{label:n}}}},vt=function t(e,n,i){return{initialValue:i}},kt=function t(e,n,i){return{label:n}},gt=function t(e,n,i){return v(i,e)},yt=function t(e,n,i){return k(i,n)},_t=function t(e,n,i){return{data:{"kup-text-field":{label:n}},initialValue:i}},xt=function t(e,n,i,s,o){return{initialValue:i||"",label:n||" ",value:i||""}},wt=function t(e,n,i){return{data:{"kup-text-field":{label:n}}}},jt=function t(e,n,i){return{label:n}},Ot=function t(e,n,i,s,o){try{let t=JSON.parse(s.value);if(!t){D(this,I,"f").debug.logMessage(this,`Empty value for ${o} cell.`,g.WARNING);return null}if(t.type!=="SmeupDataTable"){D(this,I,"f").debug.logMessage(this,`Wrong data table type for ${o} cell. Type \`SmeupDataTable\` in value expected`,g.ERROR);return null}return{data:{columns:t.columns.map((e=>Object.assign(Object.assign({},e),{obj:t.rows[0].cells[e.name].obj}))),rows:t.rows.map((e=>Object.assign(Object.assign({},e),{cells:Object.keys(e.cells).reduce(((n,i)=>{const s=t.columns.find((t=>t.name===i));return Object.assign(Object.assign({},n),{[i]:Object.assign(Object.assign({},e.cells[i]),{data:Object.assign(Object.assign({},D(this,F,"m",ut).call(this,e.cells[i],s)),{disabled:e.cells[i].editable===false,id:s.id})})})}),{})})))}}}catch(t){D(this,I,"f").debug.logMessage(this,`Invalid value for ${o} cell. Type \`SmeupDataTable\` expected`,g.ERROR);return null}},$t=function t(e,n){const i=Object.assign(Object.assign({},e),{rows:e.rows.map((t=>Object.assign(Object.assign({},t),{cells:{}})))});const s=e.columns.filter((t=>t.isEditable)).map((t=>t.name));if(!s.length){return i}try{const t=JSON.parse(D(this,R,"f").rows[0].cells[n].value);i.rows=e.rows.map(((e,n)=>s.reduce(((i,s)=>{const o=t.rows[n].cells[s]&&e.cells[s].value!==t.rows[n].cells[s].value;if(o){return Object.assign(Object.assign({},t.rows[n]),{cells:Object.assign(Object.assign({},i.cells),{[s]:Object.assign(Object.assign({},t.rows[n].cells[s]),{value:e.cells[s].value})})})}return Object.assign(Object.assign({},t.rows[n]),{cells:i.cells})}),Object.assign(Object.assign({},t.rows[n]),{cells:{}}))));return i}catch(t){return i}},zt=function t(e,n){const i=D(this,P,"f").get(e.type);if(i){return i(e,n)}else{return e.map((t=>({value:t.label,id:t.id,selected:n===t.id})))}},St=function t(e,n){return e.children.map((e=>{var i;return{id:e.content.codice,value:e.content.testo,selected:n===e.content.codice,children:((i=e.children)===null||i===void 0?void 0:i.length)?D(this,F,"m",t).call(this,e,n):[]}}))},Mt=function t(e,n){return e.children.map((e=>{var i;return{id:e.obj.k,value:e.value,selected:n===e.obj.k,children:((i=e.children)===null||i===void 0?void 0:i.length)?D(this,F,"m",t).call(this,e,n):[]}}))},Tt=function t(e,n){return e.rows.map((t=>{var e;const i=t.fields||t.cells;const[s,o]=Object.keys(i);return{id:i[s].value,value:((e=i[o])===null||e===void 0?void 0:e.value)||i[s].value,selected:n===i[s].value}}))},Wt=function t(e,n,i,s,o){if(e.id!==s||e.open===false){return}this.optionsHandler(n,e.inputValue,D(this,F,"m",rt).call(this),e.id).then((t=>{var n;i.data["kup-list"].data=(n=D(this,F,"m",zt).call(this,t,o))!==null&&n!==void 0?n:[];e.comp.refresh()}))};Ct.style=W;export{Ct as kup_input_panel};
|
|
2
|
+
//# sourceMappingURL=p-5d64b257.entry.js.map
|