@sme.up/ketchup 9.6.6-a → 9.6.7
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/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/{f-button-23ec3db5.js → f-button-3cc5c9ba.js} +2 -2
- package/dist/cjs/{f-cell-bcc51c0f.js → f-cell-192e5b87.js} +7 -7
- package/dist/cjs/{f-checkbox-1fa28e76.js → f-checkbox-e19055aa.js} +1 -1
- package/dist/cjs/{f-chip-63363ecf.js → f-chip-be2dddb4.js} +3 -3
- package/dist/cjs/{f-image-f3944c01.js → f-image-98e4e61d.js} +33 -10
- package/dist/cjs/{f-paginator-utils-60e05759.js → f-paginator-utils-44d07f52.js} +3 -3
- package/dist/cjs/{f-text-field-354b6c78.js → f-text-field-1efcecb6.js} +2 -2
- package/dist/cjs/index-380e4fcd.js +1378 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +13 -11
- package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +116 -86
- package/dist/cjs/kup-box.cjs.entry.js +24 -17
- package/dist/cjs/kup-calendar.cjs.entry.js +8 -8
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +9 -9
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
- package/dist/cjs/kup-dashboard.cjs.entry.js +7 -7
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
- package/dist/cjs/kup-echart.cjs.entry.js +3 -3
- package/dist/cjs/kup-editor.cjs.entry.js +30 -4
- package/dist/cjs/kup-family-tree.cjs.entry.js +6 -6
- package/dist/cjs/kup-gantt_10.cjs.entry.js +24 -24
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +11 -11
- package/dist/cjs/kup-input-panel.cjs.entry.js +73 -43
- package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
- package/dist/cjs/kup-magic-box.cjs.entry.js +6 -6
- package/dist/cjs/{kup-manager-e1bfd4f8.js → kup-manager-72ad15fe.js} +224 -51
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- package/dist/cjs/kup-pdf.cjs.entry.js +5 -4
- package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +3 -3
- package/dist/cjs/kup-planner.cjs.entry.js +4 -4
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/collection/assets/data-table.js +44 -0
- package/dist/collection/assets/editor.js +3 -2
- package/dist/collection/assets/input-panel.js +3864 -260
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/kup-accordion/kup-accordion.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +1 -1
- package/dist/collection/components/kup-badge/kup-badge-declarations.js +7 -0
- package/dist/collection/components/kup-badge/kup-badge.css +12 -17
- package/dist/collection/components/kup-badge/kup-badge.js +31 -3
- package/dist/collection/components/kup-box/kup-box.js +15 -8
- package/dist/collection/components/kup-button-list/kup-button-list.js +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.css +3 -0
- package/dist/collection/components/kup-calendar/kup-calendar.js +2 -2
- package/dist/collection/components/kup-card/kup-card.css +1 -2
- package/dist/collection/components/kup-cell/kup-cell.js +1 -1
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
- package/dist/collection/components/kup-chip/kup-chip.js +2 -2
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +2 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +1 -1
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +9 -9
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-dialog/kup-dialog.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -2
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +1 -1
- package/dist/collection/components/kup-echart/kup-echart.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor-declarations.js +1 -0
- package/dist/collection/components/kup-editor/kup-editor.js +56 -2
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-image/assets/svg/brescia.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/brusaporto.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/erbusco.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/faenza.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/gallarate.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/imola.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/lecco.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/modena.svg +8 -0
- package/dist/collection/components/kup-image/assets/svg/monopoli.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/montichiari.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/nova-milanese.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/osimo.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/padova.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/parma.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/reggio-emilia.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/rivoli.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/roma.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/salo.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/savigliano.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/treviolo.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/udine.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/vercelli.svg +6 -0
- package/dist/collection/components/kup-image/assets/svg/vicenza.svg +6 -0
- package/dist/collection/components/kup-image/kup-image.js +23 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +12 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +65 -35
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.js +1 -1
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +23 -2
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +0 -509
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-tree/kup-tree.js +6 -6
- package/dist/collection/f-components/f-image/f-image.js +32 -10
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +23 -3
- package/dist/components/custom-task-list-header.js +2 -2
- package/dist/components/kup-accordion.js +1 -1
- package/dist/components/kup-autocomplete2.js +140 -85
- package/dist/components/kup-box2.js +15 -8
- package/dist/components/kup-calendar.js +3 -3
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-drawer.js +2 -2
- package/dist/components/kup-echart2.js +1 -1
- package/dist/components/kup-editor.js +30 -2
- package/dist/components/kup-family-tree.js +2 -2
- package/dist/components/kup-gantt-calendar2.js +2 -2
- package/dist/components/kup-gantt2.js +2 -2
- package/dist/components/kup-grid-renderer2.js +3 -3
- package/dist/components/kup-horizontal-scroll2.js +5 -5
- package/dist/components/kup-image-list.js +3 -3
- package/dist/components/kup-input-panel.js +66 -36
- package/dist/components/kup-lazy.js +11 -11
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-manager.js +223 -50
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-pdf.js +4 -2
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner-renderer2.js +2 -2
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-standard-tooltip2.js +1 -1
- package/dist/components/kup-switcher2.js +1 -1
- package/dist/components/kup-task-gantt2.js +2 -2
- package/dist/components/kup-task-list-header2.js +7 -7
- package/dist/components/kup-task-list-table2.js +1 -1
- package/dist/components/kup-task-list2.js +1 -1
- package/dist/components/kup-tooltip2.js +1 -1
- package/dist/components/kup-vertical-scroll2.js +2 -2
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/{f-button-d6dbcfd6.js → f-button-07a6ea71.js} +2 -2
- package/dist/esm/{f-cell-7b41415c.js → f-cell-819033de.js} +7 -7
- package/dist/esm/{f-checkbox-ddb6234e.js → f-checkbox-61c142b8.js} +1 -1
- package/dist/esm/{f-chip-68d27d7a.js → f-chip-71ce7cab.js} +3 -3
- package/dist/esm/{f-image-a67229e5.js → f-image-46787842.js} +33 -10
- package/dist/esm/{f-paginator-utils-8773e358.js → f-paginator-utils-a8f895d1.js} +3 -3
- package/dist/esm/{f-text-field-d364ffd2.js → f-text-field-52de97f3.js} +2 -2
- package/dist/esm/index-95bb3410.js +1345 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +14 -12
- package/dist/esm/kup-accordion.entry.js +4 -4
- package/dist/esm/kup-autocomplete_27.entry.js +116 -86
- package/dist/esm/kup-box.entry.js +24 -17
- package/dist/esm/kup-calendar.entry.js +8 -8
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +9 -9
- package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
- package/dist/esm/kup-dashboard.entry.js +7 -7
- package/dist/esm/kup-drawer.entry.js +4 -4
- package/dist/esm/kup-echart.entry.js +3 -3
- package/dist/esm/kup-editor.entry.js +30 -4
- package/dist/esm/kup-family-tree.entry.js +6 -6
- package/dist/esm/kup-gantt_10.entry.js +24 -24
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +11 -11
- package/dist/esm/kup-input-panel.entry.js +73 -43
- package/dist/esm/kup-lazy.entry.js +13 -13
- package/dist/esm/kup-magic-box.entry.js +6 -6
- package/dist/esm/{kup-manager-a316a70e.js → kup-manager-7b151628.js} +224 -51
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- package/dist/esm/kup-pdf.entry.js +5 -4
- package/dist/esm/kup-photo-frame.entry.js +4 -4
- package/dist/esm/kup-planner-renderer.entry.js +3 -3
- package/dist/esm/kup-planner.entry.js +4 -4
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +5 -5
- package/dist/esm/loader.js +6 -4
- package/dist/ketchup/assets/svg/brescia.svg +6 -0
- package/dist/ketchup/assets/svg/brusaporto.svg +6 -0
- package/dist/ketchup/assets/svg/erbusco.svg +6 -0
- package/dist/ketchup/assets/svg/faenza.svg +6 -0
- package/dist/ketchup/assets/svg/gallarate.svg +6 -0
- package/dist/ketchup/assets/svg/imola.svg +6 -0
- package/dist/ketchup/assets/svg/lecco.svg +6 -0
- package/dist/ketchup/assets/svg/modena.svg +8 -0
- package/dist/ketchup/assets/svg/monopoli.svg +6 -0
- package/dist/ketchup/assets/svg/montichiari.svg +6 -0
- package/dist/ketchup/assets/svg/nova-milanese.svg +6 -0
- package/dist/ketchup/assets/svg/osimo.svg +6 -0
- package/dist/ketchup/assets/svg/padova.svg +6 -0
- package/dist/ketchup/assets/svg/parma.svg +6 -0
- package/dist/ketchup/assets/svg/reggio-emilia.svg +6 -0
- package/dist/ketchup/assets/svg/rivoli.svg +6 -0
- package/dist/ketchup/assets/svg/roma.svg +6 -0
- package/dist/ketchup/assets/svg/salo.svg +6 -0
- package/dist/ketchup/assets/svg/savigliano.svg +6 -0
- package/dist/ketchup/assets/svg/treviolo.svg +6 -0
- package/dist/ketchup/assets/svg/udine.svg +6 -0
- package/dist/ketchup/assets/svg/vercelli.svg +6 -0
- package/dist/ketchup/assets/svg/vicenza.svg +6 -0
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-00a5d02c.js +1 -0
- package/dist/ketchup/{p-b3540f83.js → p-0787925c.js} +1 -1
- package/dist/ketchup/p-0a64bf2c.entry.js +1 -0
- package/dist/ketchup/{p-a06974a3.entry.js → p-1afe847f.entry.js} +1 -1
- package/dist/ketchup/{p-2b84db7b.entry.js → p-1f8d3a1e.entry.js} +1 -1
- package/dist/ketchup/{p-556f7ddc.entry.js → p-20030845.entry.js} +1 -1
- package/dist/ketchup/p-34b51a97.js +28 -0
- package/dist/ketchup/{p-339bbeae.js → p-43a89559.js} +1 -1
- package/dist/ketchup/p-45bb8683.entry.js +1 -0
- package/dist/ketchup/{p-ccb6dbb0.entry.js → p-475429a1.entry.js} +1 -1
- package/dist/ketchup/{p-6362738c.entry.js → p-4952eba9.entry.js} +1 -1
- package/dist/ketchup/{p-f6c8f006.js → p-537f66c5.js} +1 -1
- package/dist/ketchup/{p-c702eb45.entry.js → p-58093828.entry.js} +1 -1
- package/dist/ketchup/p-64099f8c.entry.js +9 -0
- package/dist/ketchup/p-66ec0b16.entry.js +1 -0
- package/dist/ketchup/{p-2ef90f60.entry.js → p-791dfc1a.entry.js} +1 -1
- package/dist/ketchup/p-79a8f8f4.entry.js +16 -0
- package/dist/ketchup/{p-48e45ac0.entry.js → p-7ce691cd.entry.js} +1 -1
- package/dist/ketchup/{p-2932e7e8.entry.js → p-85d44da6.entry.js} +1 -1
- package/dist/ketchup/p-9106f511.entry.js +44 -0
- package/dist/ketchup/{p-e2bf2bb6.js → p-9d3a0a51.js} +1 -1
- package/dist/ketchup/{p-1e028d95.entry.js → p-a323ff1c.entry.js} +1 -1
- package/dist/ketchup/p-aa62724a.js +2 -0
- package/dist/ketchup/p-abd7696c.entry.js +1 -0
- package/dist/ketchup/{p-6961e0ce.entry.js → p-b42a37ae.entry.js} +1 -1
- package/dist/ketchup/{p-65e363c6.entry.js → p-b58cc563.entry.js} +1 -1
- package/dist/ketchup/p-b8aefc56.entry.js +1 -0
- package/dist/ketchup/{p-1bcac01f.entry.js → p-bb1b8aac.entry.js} +1 -1
- package/dist/ketchup/{p-dbb6cd8d.entry.js → p-be0070a2.entry.js} +3 -3
- package/dist/ketchup/{p-81645576.entry.js → p-cd0f09b3.entry.js} +2 -2
- package/dist/ketchup/{p-f79ffe77.entry.js → p-cea71777.entry.js} +1 -1
- package/dist/ketchup/{p-1088ab22.entry.js → p-d56677f1.entry.js} +1 -1
- package/dist/ketchup/p-e1255160.js +1 -0
- package/dist/ketchup/{p-5f7d8c21.entry.js → p-e70ff428.entry.js} +1 -1
- package/dist/ketchup/p-ecbd1132.js +1 -0
- package/dist/ketchup/{p-074ccd53.entry.js → p-ed99792c.entry.js} +1 -1
- package/dist/ketchup/{p-9e2533e1.entry.js → p-f1aa239b.entry.js} +1 -1
- package/dist/ketchup/{p-801776bc.js → p-f46c2da6.js} +1 -1
- package/dist/types/components/kup-badge/kup-badge-declarations.d.ts +6 -0
- package/dist/types/components/kup-badge/kup-badge.d.ts +6 -0
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +2 -0
- package/dist/types/components/kup-editor/kup-editor.d.ts +8 -1
- package/dist/types/components/kup-image/kup-image.d.ts +5 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +2 -2
- package/dist/types/components/kup-pdf/kup-pdf.d.ts +5 -0
- package/dist/types/components.d.ts +44 -2
- package/dist/types/f-components/f-image/f-image-declarations.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/index-958d0399.js +0 -2094
- package/dist/esm/index-460631fd.js +0 -2061
- package/dist/ketchup/p-042e874a.entry.js +0 -1
- package/dist/ketchup/p-25058baa.js +0 -1
- package/dist/ketchup/p-47040db6.js +0 -2
- package/dist/ketchup/p-6921bc81.entry.js +0 -16
- package/dist/ketchup/p-7123d2a4.entry.js +0 -1
- package/dist/ketchup/p-8d4050ec.js +0 -28
- package/dist/ketchup/p-a6beb822.js +0 -1
- package/dist/ketchup/p-abe181d0.entry.js +0 -1
- package/dist/ketchup/p-d2001dec.entry.js +0 -44
- package/dist/ketchup/p-ecc95a21.entry.js +0 -9
- package/dist/ketchup/p-fdcfaedd.entry.js +0 -1
- package/dist/ketchup/p-fe75ede2.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as forceUpdate, d as getElement, F as Fragment } from './index-
|
|
1
|
+
import { r as registerInstance, h, f as forceUpdate, d as getElement, F as Fragment } from './index-95bb3410.js';
|
|
2
2
|
import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-a2ec9a1c.js';
|
|
3
3
|
import { r as removeHiddenTasks, s as sortTasks, c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection } from './bar.helpers-23a51579.js';
|
|
4
4
|
import { e as KUP_PLANNER_MAIN_GANTT_ID } from './kup-planner-declarations-398babf9.js';
|
|
@@ -569,9 +569,9 @@ const KupGantt = class {
|
|
|
569
569
|
TaskListHeader: this.TaskListHeader,
|
|
570
570
|
TaskListTable: this.TaskListTable
|
|
571
571
|
};
|
|
572
|
-
return (h("div", { key: '
|
|
572
|
+
return (h("div", { key: '5941d0e531424ac9e609414e354a10a7eadabea9', class: "gannt-wrapper-main" }, h("div", { key: 'f30e1de2761c590331cee1fafc2c06013c01e13d', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: '66220e4ab03565d9852235e3aeca98ea07b84797', currentTasks: this.currentTasks, handleClick: this.handleClick, handleDblClick: this.handleDblClick, handleContextMenu: this.handleContextMenu, ganttOnClick: this.ganttOnClick, ganttOnDblClick: this.ganttOnDblClick, ganttonOnContextMenu: this.ganttonOnContextMenu, label: this.label, doubleView: this.doubleView, setDoubleView: this.setDoubleView }, tableProps, { class: "tasks", scrollableTaskList: this.scrollableTaskList, updateTaskListScrollX: this.ignoreScrollEvent, ontaskListScrollWidth: (width) => {
|
|
573
573
|
this.taskListScrollWidth = width;
|
|
574
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
574
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '9165b6b1d0aa64f1057b82eba5e0685d0603f896', gridProps: gridProps, calendarProps: calendarProps, barProps: barProps, ganttHeight: this.ganttHeight, taskGanttRef: this.taskGanttRef, scrollY: this.scrollY, scrollX: this.scrollX, phaseDragScroll: this.handlePhaseDragScroll.bind(this), class: "ganttContainer" }), this.ganttEvent.changedTask && (h("kup-tooltip", { key: '9c67a99393e60704e4f8bfd20766ea8591a97808', arrowIndent: this.arrowIndent, rowHeight: this.rowHeight, svgContainerHeight: this.svgContainerHeight, svgContainerWidth: this.svgContainerWidth, fontFamily: this.fontFamily, fontSize: this.fontSize, scrollX: this.scrollX, scrollY: this.scrollY, task: this.ganttEvent.changedTask, headerHeight: this.headerHeight, taskListWidth: this.taskListWidth, TooltipContent: this.TooltipContent, rtl: this.rtl, svgWidth: this.svgWidth })), h("kup-vertical-scroll", { key: '47e95c56de7e85a2e7d47921ed687f8daf9a0bf4', ganttFullHeight: this.ganttFullHeight, ganttHeight: this.ganttHeight, headerHeight: this.headerHeight, scrollNumber: this.scrollY, verticalScroll: this.handleScrollY.bind(this), rtl: this.rtl })), this.taskGanttRef && (h("kup-horizontal-scroll", { key: 'e2959aca20609b5a878013faa24467a96e07bde2', svgWidth: this.svgWidth, taskListTrueRef: this.taskListTrueRef, taskListWidth: this.taskListWidth, scrollNumber: this.scrollX, rtl: this.rtl, horizontalScroll: this.handleScrollX.bind(this), horizontalTaskListScroll: this.handleTaskListScrollX.bind(this), listCellWidth: this.listCellWidth, scrollableTaskList: this.scrollableTaskList, taskListScrollWidth: this.taskListScrollWidth, taskListScrollNumber: this.taskListScrollX }))));
|
|
575
575
|
}
|
|
576
576
|
get rootElement() { return getElement(this); }
|
|
577
577
|
static get watchers() { return {
|
|
@@ -682,20 +682,20 @@ const HorizontalScroll = class {
|
|
|
682
682
|
var _a, _b;
|
|
683
683
|
const w = (_b = ((_a = this.taskListTrueRef) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) + 24 * 1.5) !== null && _b !== void 0 ? _b : 0; // 24 * 2 is the sum of padding and margin for both list and gantt, multiplied by 1.5 cause we need to add the other half to the right
|
|
684
684
|
const width = +this.listCellWidth.replace('px', '');
|
|
685
|
-
return (h(Fragment, { key: '
|
|
686
|
-
this.taskListScrollWidth > width && (h("div", { dir: "ltr", style: {
|
|
685
|
+
return (h(Fragment, { key: 'f16edb2f34c545b68151e5aff681519cca5e258d' }, h("div", { key: 'c117a88db5a58adcea66e2177bdee97131f49f25', class: "scroll-container" }, this.scrollableTaskList &&
|
|
686
|
+
this.taskListScrollWidth > width && (h("div", { key: '995df8cfdecac65a2872cfef3c42ef7c44ab7484', dir: "ltr", style: {
|
|
687
687
|
margin: this.rtl
|
|
688
688
|
? `0px 20px 0px 20px`
|
|
689
689
|
: `0px 20px 0px 20px`,
|
|
690
690
|
maxWidth: `${width + 20}px`,
|
|
691
691
|
minWidth: `${width + 20}px`,
|
|
692
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { style: {
|
|
692
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: 'c391df05f6966e93b1b22e98bc0fbfec19240c45', style: {
|
|
693
693
|
width: `${this.taskListScrollWidth}px`,
|
|
694
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
694
|
+
}, class: "scroll" }))), h("div", { key: '99f5ef26b5fabb99cffd6c5402b39481ef0549d5', dir: "ltr", style: {
|
|
695
695
|
margin: this.rtl
|
|
696
696
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
697
697
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
698
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
698
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '6b2e6f3a46aade41eb750f11e2134941665c0be4', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
699
699
|
}
|
|
700
700
|
get rootElement() { return getElement(this); }
|
|
701
701
|
static get watchers() { return {
|
|
@@ -716,7 +716,7 @@ const StandardTooltipContent = class {
|
|
|
716
716
|
this.fontFamily = undefined;
|
|
717
717
|
}
|
|
718
718
|
render() {
|
|
719
|
-
return (h("div", { key: '
|
|
719
|
+
return (h("div", { key: '72b602bc73d996807555162f867cb83e03c43293', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: 'a39f5da092317df6f603097d2c8d158e81bb63e0', style: { fontSize: `${parseInt(this.fontSize) + 6}px` } }, `${this.task.name}: ${this.task.start.getDate()}-${this.task.start.getMonth() + 1}-${this.task.start.getFullYear()} - ${this.task.end.getDate()}-${this.task.end.getMonth() + 1}-${this.task.end.getFullYear()}`), this.task.end.getTime() - this.task.start.getTime() !== 0 && (h("p", { key: '5c4e7b47d6e688746e7e8b73e4c7bbacc0f10139', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: '846fc3cc93bf61225fa4e3dd46496961f9102de1', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
StandardTooltipContent.style = KupStandardTooltipStyle0;
|
|
@@ -742,7 +742,7 @@ const KupSwitcher = class {
|
|
|
742
742
|
this.activeButton = mode;
|
|
743
743
|
this.timeUnitChange(mode);
|
|
744
744
|
};
|
|
745
|
-
return (h("div", { key: '
|
|
745
|
+
return (h("div", { key: 'c98387c72f0917709ff4d5328a4bb8a5906b4afd', class: "switcher" }, this.buttonLabels.map((label) => (h("button", { type: "button", class: {
|
|
746
746
|
button: true,
|
|
747
747
|
buttonActive: this.activeButton === label,
|
|
748
748
|
}, onClick: () => handleButtonClick(label) }, h("span", { class: "label" }, label.charAt(0).toUpperCase() + label.slice(1)))))));
|
|
@@ -786,12 +786,12 @@ const TaskGantt = class {
|
|
|
786
786
|
}
|
|
787
787
|
render() {
|
|
788
788
|
const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps, phaseDragScroll: this.phaseDragScroll });
|
|
789
|
-
return (h("div", { key: '
|
|
789
|
+
return (h("div", { key: 'fc5fb4836229896ca7fb542a515cae776369fb43', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '2fe116a764faad3c8581da78fef33faddb54586f', dateSetup: this.calendarProps.dateSetup, locale: this.calendarProps.locale, rtl: this.calendarProps.rtl, headerHeight: this.calendarProps.headerHeight, columnWidth: this.calendarProps.columnWidth, fontFamily: this.calendarProps.fontFamily, fontSize: this.calendarProps.fontSize, dateTimeFormatters: this.calendarProps.dateTimeFormatters, singleLineHeader: this.calendarProps.singleLineHeader, currentDateIndicator: this.calendarProps.currentDateIndicator, svgWidth: this.gridProps.svgWidth }), h("div", { key: '39c2a05f39fa141e3d507c606d76bea69d833e05', ref: (el) => (this.horizontalContainerRef = el), class: "horizontalContainer", style: this.ganttHeight
|
|
790
790
|
? {
|
|
791
791
|
height: `${this.ganttHeight}px`,
|
|
792
792
|
width: `${this.gridProps.svgWidth}px`,
|
|
793
793
|
}
|
|
794
|
-
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '
|
|
794
|
+
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '0042a3728416b71a0b99e3e3dd76e32c2ae11c9c' }, newBarProps)))));
|
|
795
795
|
}
|
|
796
796
|
get rootElement() { return getElement(this); }
|
|
797
797
|
static get watchers() { return {
|
|
@@ -891,7 +891,7 @@ const TaskList = class {
|
|
|
891
891
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
892
892
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
893
893
|
}
|
|
894
|
-
return (h("div", { key: '
|
|
894
|
+
return (h("div", { key: 'ff3513de56b517462b67c571c685ab407ff036d2', ref: (el) => (this.taskListRef = el) }, TaskListHeader && TaskListHeader['$attrs$'] ? (TaskListHeader) : (h("kup-custom-task-list-header", Object.assign({ label: this.label, doubleView: (_a = this.doubleView) !== null && _a !== void 0 ? _a : false, setDoubleView: this.setDoubleView }, headerProps))), h("div", { key: 'd9e49d671154f6ae94ef5036a42c20a62bcfb6c4', class: `${this.horizontalContainerClass} ${this.scrollableTaskList ? 'horizontalContainerScrollable' : ''}`, style: this.ganttHeight
|
|
895
895
|
? { height: this.ganttHeight + 'px' }
|
|
896
896
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
897
897
|
let row = getProjectById(id, this.currentTasks);
|
|
@@ -940,22 +940,22 @@ const KupTaskListHeader = class {
|
|
|
940
940
|
this.rowWidth = undefined;
|
|
941
941
|
}
|
|
942
942
|
render() {
|
|
943
|
-
return (h("div", { key: '
|
|
943
|
+
return (h("div", { key: 'e62cf2c40cb64ae102b42210f8b26194d3d2e752', class: "ganttTable", style: {
|
|
944
944
|
fontFamily: this.fontFamily,
|
|
945
945
|
fontSize: this.fontSize,
|
|
946
|
-
} }, h("div", { key: '
|
|
946
|
+
} }, h("div", { key: '34b943832704c673a697df58fd2e3f68adfb26ce', class: "ganttTable_Header", style: {
|
|
947
947
|
height: `${this.headerHeight - 2}px`,
|
|
948
|
-
} }, h("div", { key: '
|
|
948
|
+
} }, h("div", { key: '6724977ec0cd633d8df663ddf7dbf9b4c307f29b', class: "ganttTable_HeaderItem", style: {
|
|
949
949
|
minWidth: this.rowWidth,
|
|
950
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
950
|
+
} }, "\u00A0Name"), h("div", { key: 'a1a7df8c601d18735b35dcffa345cf1bc47aaa52', class: "ganttTable_HeaderSeparator", style: {
|
|
951
951
|
height: `${this.headerHeight * 0.5}px`,
|
|
952
952
|
marginTop: `${this.headerHeight * 0.2}px`,
|
|
953
|
-
} }), h("div", { key: '
|
|
953
|
+
} }), h("div", { key: 'a110ed7869a47a644890ef75785c8461d308b9af', class: "ganttTable_HeaderItem", style: {
|
|
954
954
|
minWidth: this.rowWidth,
|
|
955
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
955
|
+
} }, "\u00A0From"), h("div", { key: '49480b72f1862de018edb8fcf21d2d16c8b46352', class: "ganttTable_HeaderSeparator", style: {
|
|
956
956
|
height: `${this.headerHeight * 0.5}px`,
|
|
957
957
|
marginTop: `${this.headerHeight * 0.25}px`,
|
|
958
|
-
} }), h("div", { key: '
|
|
958
|
+
} }), h("div", { key: 'dbc399a56a11ffe44e8589d96342f886f46e7ff5', class: "ganttTable_HeaderItem", style: {
|
|
959
959
|
minWidth: this.rowWidth,
|
|
960
960
|
} }, "\u00A0To"))));
|
|
961
961
|
}
|
|
@@ -989,7 +989,7 @@ const TaskListTableDefault = class {
|
|
|
989
989
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
990
990
|
}
|
|
991
991
|
render() {
|
|
992
|
-
return (h("div", { key: '
|
|
992
|
+
return (h("div", { key: '2a2795c6467c8202a0c5583f7b773603f7160676', class: "taskListWrapper", style: {
|
|
993
993
|
fontFamily: this.fontFamily,
|
|
994
994
|
fontSize: this.fontSize,
|
|
995
995
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -1078,7 +1078,7 @@ const Tooltip = class {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
}
|
|
1080
1080
|
render() {
|
|
1081
|
-
return (h("div", { key: '
|
|
1081
|
+
return (h("div", { key: '8f4e260e51f5e3bde17fd60721bc44f1fef892f2', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: '425b1784f2407fe3c8afcf3180fd374ae39aa924', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
|
|
1082
1082
|
}
|
|
1083
1083
|
get rootElement() { return getElement(this); }
|
|
1084
1084
|
static get watchers() { return {
|
|
@@ -1132,11 +1132,11 @@ const KupVerticalScroll = class {
|
|
|
1132
1132
|
};
|
|
1133
1133
|
}
|
|
1134
1134
|
render() {
|
|
1135
|
-
return (h("div", { key: '
|
|
1135
|
+
return (h("div", { key: 'ffe19f6288672b370c2ec74fa2ade1c9cb02a341', style: {
|
|
1136
1136
|
height: `${this.ganttHeight}px`,
|
|
1137
1137
|
marginTop: `${this.headerHeight}px`,
|
|
1138
1138
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
1139
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '
|
|
1139
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: 'f2728ed6d60b2c6399ba2945d15f28fc405625cb', style: {
|
|
1140
1140
|
height: `${this.ganttFullHeight}px`,
|
|
1141
1141
|
width: '1px',
|
|
1142
1142
|
} })));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupDebugCategory } from './kup-manager-
|
|
1
|
+
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-95bb3410.js';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupDebugCategory } from './kup-manager-7b151628.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-26a56bf7.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupDebugCategory } from './kup-manager-
|
|
1
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-95bb3410.js';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupDebugCategory } from './kup-manager-7b151628.js';
|
|
3
3
|
import './kup-dates-26a56bf7.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, M as KupPointerEventTypes, e as FCellPadding } from './kup-manager-
|
|
1
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-95bb3410.js';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, M as KupPointerEventTypes, e as FCellPadding } from './kup-manager-7b151628.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import { F as FImage } from './f-image-
|
|
5
|
-
import { F as FButton } from './f-button-
|
|
4
|
+
import { F as FImage } from './f-image-46787842.js';
|
|
5
|
+
import { F as FButton } from './f-button-07a6ea71.js';
|
|
6
6
|
import { F as FButtonStyling } from './f-button-declarations-9bdc6f26.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
7
|
+
import { F as FCell } from './f-cell-819033de.js';
|
|
8
8
|
import { M as MDCRipple } from './component-879e99bf.js';
|
|
9
9
|
import './kup-dates-26a56bf7.js';
|
|
10
|
-
import './f-checkbox-
|
|
11
|
-
import './f-text-field-
|
|
12
|
-
import './f-chip-
|
|
10
|
+
import './f-checkbox-61c142b8.js';
|
|
11
|
+
import './f-text-field-52de97f3.js';
|
|
12
|
+
import './f-chip-71ce7cab.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Props of the kup-image-list component.
|
|
@@ -209,14 +209,14 @@ const KupImageList = class {
|
|
|
209
209
|
};
|
|
210
210
|
combinedGridStyle = Object.assign(Object.assign({}, combinedGridStyle), gridRowsStyle);
|
|
211
211
|
}
|
|
212
|
-
return (h(Host, { key: '
|
|
212
|
+
return (h(Host, { key: '61e34232f19ff00398ff824c9d8130ecde28da56' }, h("style", { key: '43e64c4a2aed68d0582ad019aed0e3617c682c54' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'c7cfce4c849eee19f245e27117a12c3068b69c0d', id: componentWrapperId, ref: (el) => {
|
|
213
213
|
__classPrivateFieldSet(this, _KupImageList_el, el, "f");
|
|
214
|
-
} }, h("div", { key: '
|
|
214
|
+
} }, h("div", { key: '827d42b8b11a5a20a274dd29bdd2c5a87d01d0aa', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
|
|
215
215
|
? 'navigation-bar__wrapper--active'
|
|
216
216
|
: ''}` }, h("div", { class: `navigation-bar__title`, onClick: () => {
|
|
217
217
|
this.navigationBarToggled =
|
|
218
218
|
!this.navigationBarToggled;
|
|
219
|
-
} }, h(FImage, { fit: true, resource: this.currentNode.icon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), h("div", { key: '
|
|
219
|
+
} }, h(FImage, { fit: true, resource: this.currentNode.icon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), h("div", { key: 'ab8938c8187ee33a41e0f87da776c628d0f9e777', class: "image-list", style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
|
|
220
220
|
}
|
|
221
221
|
disconnectedCallback() {
|
|
222
222
|
__classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { F as FButton } from './f-button-
|
|
3
|
-
import { F as FCell } from './f-cell-
|
|
4
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric
|
|
1
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-95bb3410.js';
|
|
2
|
+
import { F as FButton } from './f-button-07a6ea71.js';
|
|
3
|
+
import { F as FCell } from './f-cell-819033de.js';
|
|
4
|
+
import { k as kupManagerInstance, a3 as FCellTypes, g as getProps, s as setProps, l as KupLanguageGeneric } from './kup-manager-7b151628.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-c88bf688.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './f-button-declarations-9bdc6f26.js';
|
|
8
|
-
import './f-image-
|
|
9
|
-
import './f-checkbox-
|
|
10
|
-
import './f-text-field-
|
|
11
|
-
import './f-chip-
|
|
8
|
+
import './f-image-46787842.js';
|
|
9
|
+
import './f-checkbox-61c142b8.js';
|
|
10
|
+
import './f-text-field-52de97f3.js';
|
|
11
|
+
import './f-chip-71ce7cab.js';
|
|
12
12
|
import './kup-dates-26a56bf7.js';
|
|
13
13
|
import './component-879e99bf.js';
|
|
14
14
|
|
|
@@ -21,7 +21,7 @@ var KupInputPanelProps;
|
|
|
21
21
|
KupInputPanelProps["optionsHandler"] = "Sets the callback function to recieve options";
|
|
22
22
|
})(KupInputPanelProps || (KupInputPanelProps = {}));
|
|
23
23
|
|
|
24
|
-
const kupInputPanelCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);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(--kup-input-panel-background-color,\n var(--kup-background-color));--kup_input_panel_color:var(--kup-input-panel-color, var(--kup-text-color));--kup_input_panel_font_family:var(--kup-input-panel-font-family, var(--kup-font-family));--kup_input_panel_font_size:var(--kup-input-panel-font-size, var(--kup-font-size));--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}:host .input-panel--column{flex-direction:column}:host .input-panel__section{display:grid}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control{height:40px;width:40px}";
|
|
24
|
+
const kupInputPanelCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);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(--kup-input-panel-background-color,\n var(--kup-background-color));--kup_input_panel_color:var(--kup-input-panel-color, var(--kup-text-color));--kup_input_panel_font_family:var(--kup-input-panel-font-family, var(--kup-font-family));--kup_input_panel_font_size:var(--kup-input-panel-font-size, var(--kup-font-size));--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{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}";
|
|
25
25
|
const KupInputPanelStyle0 = kupInputPanelCss;
|
|
26
26
|
|
|
27
27
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
@@ -40,7 +40,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
40
40
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
41
41
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
42
42
|
};
|
|
43
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderSection, _KupInputPanel_renderField, _KupInputPanel_mapCells, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_tableOptionsAdapter;
|
|
43
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_listeners, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_getLabelComponent, _KupInputPanel_renderSection, _KupInputPanel_renderField, _KupInputPanel_mapCells, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_getAutocompleteEventCallback;
|
|
44
44
|
const dom = document.documentElement;
|
|
45
45
|
const KupInputPanel = class {
|
|
46
46
|
constructor(hostRef) {
|
|
@@ -54,10 +54,18 @@ const KupInputPanel = class {
|
|
|
54
54
|
/*-------------------------------------------------*/
|
|
55
55
|
_KupInputPanel_kupManager.set(this, kupManagerInstance());
|
|
56
56
|
_KupInputPanel_optionsAdapterMap.set(this, new Map([
|
|
57
|
-
['
|
|
57
|
+
['SmeupTreeNode', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_treeOptionsNodeAdapter).bind(this)],
|
|
58
58
|
['SmeupTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_tableOptionsAdapter).bind(this)],
|
|
59
59
|
]));
|
|
60
60
|
_KupInputPanel_originalData.set(this, null);
|
|
61
|
+
_KupInputPanel_eventNames.set(this, new Map([
|
|
62
|
+
[
|
|
63
|
+
FCellTypes.AUTOCOMPLETE,
|
|
64
|
+
['kup-autocomplete-input', 'kup-autocomplete-iconclick'],
|
|
65
|
+
],
|
|
66
|
+
[FCellTypes.COMBOBOX, ['kup-combobox-iconclick']],
|
|
67
|
+
]));
|
|
68
|
+
_KupInputPanel_listeners.set(this, []);
|
|
61
69
|
this.customStyle = '';
|
|
62
70
|
this.data = null;
|
|
63
71
|
this.hiddenSubmitButton = false;
|
|
@@ -71,8 +79,12 @@ const KupInputPanel = class {
|
|
|
71
79
|
/* W a t c h e r s */
|
|
72
80
|
/*-------------------------------------------------*/
|
|
73
81
|
onDataChanged() {
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
__classPrivateFieldSet(this, _KupInputPanel_originalData, structuredClone(this.data), "f");
|
|
83
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").length) {
|
|
84
|
+
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").map(({ event, handler }) => {
|
|
85
|
+
this.rootElement.removeEventListener(event, handler);
|
|
86
|
+
});
|
|
87
|
+
__classPrivateFieldSet(this, _KupInputPanel_listeners, [], "f");
|
|
76
88
|
}
|
|
77
89
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCells).call(this, this.data);
|
|
78
90
|
}
|
|
@@ -116,22 +128,6 @@ const KupInputPanel = class {
|
|
|
116
128
|
componentDidLoad() {
|
|
117
129
|
this.kupReady.emit({ comp: this, id: this.rootElement.id });
|
|
118
130
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logLoad(this, true);
|
|
119
|
-
// this.handleEventsCallbacks.map((cbData) => {
|
|
120
|
-
// this.rootElement.addEventListener(cbData.eventName, (e: any) => {
|
|
121
|
-
// const inputPanelEvent: InputPanelEvent = {
|
|
122
|
-
// state: this.inputPanelCells.find((data) =>
|
|
123
|
-
// data.cells.find(
|
|
124
|
-
// (cell) => cell.column.name === e.detail.id
|
|
125
|
-
// )
|
|
126
|
-
// ).cells,
|
|
127
|
-
// data: {
|
|
128
|
-
// field: e.detail.id,
|
|
129
|
-
// value: e.detail.inputValue || e.detail.value,
|
|
130
|
-
// },
|
|
131
|
-
// };
|
|
132
|
-
// cbData.eventCallback(inputPanelEvent);
|
|
133
|
-
// });
|
|
134
|
-
// });
|
|
135
131
|
}
|
|
136
132
|
componentWillRender() {
|
|
137
133
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logRender(this, false);
|
|
@@ -153,7 +149,7 @@ const KupInputPanel = class {
|
|
|
153
149
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
154
150
|
]
|
|
155
151
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
156
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: 'ae9e00db322fcda0ee1f996c5ba7f92d337ab03c' }, h("style", { key: '0aea3b4b3c388f5887a5440d05a7cafa1f1c24aa' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '181bc90607f56adf9b5ee12f0716693ed425cd88', id: componentWrapperId }, inputPanelContent)));
|
|
157
153
|
}
|
|
158
154
|
disconnectedCallback() {
|
|
159
155
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -164,7 +160,7 @@ const KupInputPanel = class {
|
|
|
164
160
|
"data": ["onDataChanged"]
|
|
165
161
|
}; }
|
|
166
162
|
};
|
|
167
|
-
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
|
|
163
|
+
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
|
|
168
164
|
var _a;
|
|
169
165
|
const layout = inputPanelCell.row.layout;
|
|
170
166
|
const horizontal = (layout === null || layout === void 0 ? void 0 : layout.horizontal) || false;
|
|
@@ -193,11 +189,24 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
193
189
|
column,
|
|
194
190
|
row,
|
|
195
191
|
component: this,
|
|
196
|
-
editable:
|
|
192
|
+
editable: true,
|
|
197
193
|
renderKup: true,
|
|
198
194
|
setSizes: true,
|
|
199
195
|
};
|
|
196
|
+
const label = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getLabelComponent).call(this, cell, column.title);
|
|
197
|
+
if (label) {
|
|
198
|
+
return (h("div", { class: { 'input-panel__label_container': true } }, label, h(FCell, Object.assign({}, cellProps))));
|
|
199
|
+
}
|
|
200
200
|
return h(FCell, Object.assign({}, cellProps));
|
|
201
|
+
}, _KupInputPanel_getLabelComponent = function _KupInputPanel_getLabelComponent(cell, label) {
|
|
202
|
+
if (!label) {
|
|
203
|
+
return null;
|
|
204
|
+
}
|
|
205
|
+
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
206
|
+
if (cellType === FCellTypes.RADIO) {
|
|
207
|
+
return h("span", null, label);
|
|
208
|
+
}
|
|
209
|
+
return null;
|
|
201
210
|
}, _KupInputPanel_renderSection = function _KupInputPanel_renderSection(cells, section) {
|
|
202
211
|
var _a, _b, _c, _d;
|
|
203
212
|
let content = [];
|
|
@@ -252,7 +261,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
252
261
|
.filter((column) => column.visible)
|
|
253
262
|
.map((column) => {
|
|
254
263
|
const cell = structuredClone(row.cells[column.name]);
|
|
255
|
-
const mappedCell = Object.assign(Object.assign({}, cell), { data: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column)), { id: column.name }), slotData: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_slotData).call(this, cell, column), isEditable:
|
|
264
|
+
const mappedCell = Object.assign(Object.assign({}, cell), { data: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column)), { disabled: !cell.editable, id: column.name }), slotData: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_slotData).call(this, cell, column), isEditable: true });
|
|
256
265
|
return { column, cell: mappedCell };
|
|
257
266
|
});
|
|
258
267
|
return [...inpuPanelCells, { cells, row }];
|
|
@@ -300,7 +309,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
300
309
|
]);
|
|
301
310
|
const adapter = dataAdapterMap.get(cellType);
|
|
302
311
|
return adapter
|
|
303
|
-
? adapter(options, fieldLabel, currentValue, cell.
|
|
312
|
+
? adapter(options, fieldLabel, currentValue, cell, col.name)
|
|
304
313
|
: null;
|
|
305
314
|
}, _KupInputPanel_slotData = function _KupInputPanel_slotData(cell, col) {
|
|
306
315
|
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
@@ -347,7 +356,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
347
356
|
{ data: { dropdownOnly: false, label: 'Valerio' } },
|
|
348
357
|
],
|
|
349
358
|
};
|
|
350
|
-
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue,
|
|
359
|
+
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue, cell, id) {
|
|
351
360
|
const configCMandACP = {
|
|
352
361
|
data: {
|
|
353
362
|
'kup-text-field': {
|
|
@@ -360,19 +369,29 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
360
369
|
data: [],
|
|
361
370
|
},
|
|
362
371
|
},
|
|
372
|
+
initialValue: currentValue,
|
|
363
373
|
label: fieldLabel,
|
|
364
374
|
};
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
return
|
|
370
|
-
|
|
375
|
+
if (cell.fun) {
|
|
376
|
+
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
377
|
+
const evNames = __classPrivateFieldGet(this, _KupInputPanel_eventNames, "f").get(cellType);
|
|
378
|
+
if (!evNames) {
|
|
379
|
+
return;
|
|
380
|
+
}
|
|
381
|
+
evNames.map((evName) => {
|
|
382
|
+
const handler = (e) => {
|
|
383
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, e.detail, cell.fun, configCMandACP, id, currentValue);
|
|
384
|
+
};
|
|
385
|
+
this.rootElement.addEventListener(evName, handler);
|
|
386
|
+
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
387
|
+
event: evName,
|
|
388
|
+
handler,
|
|
389
|
+
});
|
|
371
390
|
});
|
|
372
391
|
}
|
|
373
|
-
else if (
|
|
392
|
+
else if (rawOptions) {
|
|
374
393
|
configCMandACP.data['kup-list'].data =
|
|
375
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this,
|
|
394
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
376
395
|
}
|
|
377
396
|
return configCMandACP;
|
|
378
397
|
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
|
|
@@ -434,6 +453,17 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
434
453
|
}));
|
|
435
454
|
})
|
|
436
455
|
.flat();
|
|
456
|
+
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, fun, data, id, currentValue) {
|
|
457
|
+
if (detail.id !== id ||
|
|
458
|
+
detail.open === false) {
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
461
|
+
this.optionsHandler(fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this)).then((options) => {
|
|
462
|
+
var _a;
|
|
463
|
+
data.data['kup-list'].data =
|
|
464
|
+
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, currentValue)) !== null && _a !== void 0 ? _a : [];
|
|
465
|
+
detail.comp.refresh();
|
|
466
|
+
});
|
|
437
467
|
};
|
|
438
468
|
KupInputPanel.style = KupInputPanelStyle0;
|
|
439
469
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
1
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-95bb3410.js';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-7b151628.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-26a56bf7.js';
|
|
5
5
|
|
|
@@ -134,39 +134,39 @@ const KupLazy = class {
|
|
|
134
134
|
switch (this.componentName) {
|
|
135
135
|
case 'kup-button':
|
|
136
136
|
//call_to_action.svg
|
|
137
|
-
resource = (h("svg", { key: '
|
|
137
|
+
resource = (h("svg", { key: 'f717d39acfba2a34310a35cdf9e68724417a682e', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '28fe7c56ff834335c7bbca718320fdd19e2dd349', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
|
|
138
138
|
break;
|
|
139
139
|
case 'kup-card':
|
|
140
140
|
//art_track.svg
|
|
141
|
-
resource = (h("svg", { key: '
|
|
141
|
+
resource = (h("svg", { key: '595846ffff00d45aa625989890370a37bbcce80c', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '2dd03e7f2201ef3fa8d8eb4d17b657230ba2b7a9', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
142
142
|
break;
|
|
143
143
|
case 'kup-checkbox':
|
|
144
144
|
//check_box_outline_blank.svg
|
|
145
|
-
resource = (h("svg", { key: '
|
|
145
|
+
resource = (h("svg", { key: 'c6c34c22886703be990665f590ca1ddbca8a2ad4', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'c454e8bb8aa7a0f0ee304bf24273b2eb08f9c5e6', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
|
|
146
146
|
break;
|
|
147
147
|
case 'kup-chart':
|
|
148
148
|
//chart-bar.svg
|
|
149
|
-
resource = (h("svg", { key: '
|
|
149
|
+
resource = (h("svg", { key: '6c0f0c2ff1f00b7b81b24ecca781dc514c3fca15', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: 'c99d8a722f592e1db06dcf8fff0feacc2a4c090a', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
150
150
|
break;
|
|
151
151
|
case 'kup-data-table':
|
|
152
152
|
//table-large.svg
|
|
153
|
-
resource = (h("svg", { key: '
|
|
153
|
+
resource = (h("svg", { key: 'a9757477e1fa1d93eb31db1afb94a68129d0dc40', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '1d3dc82579ec0846c22a3db14a63b69c4c9c9f0d', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
|
|
154
154
|
break;
|
|
155
155
|
case 'kup-image':
|
|
156
156
|
//photo.svg
|
|
157
|
-
resource = (h("svg", { key: '
|
|
157
|
+
resource = (h("svg", { key: '13b08856d46034651f8ab8cb1f81a7541d162566', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'dd7d2b265dd22f6ed3565d9fdea39bf7903ca558', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
|
|
158
158
|
break;
|
|
159
159
|
case 'kup-progress-bar':
|
|
160
160
|
//linear_scale.svg
|
|
161
|
-
resource = (h("svg", { key: '
|
|
161
|
+
resource = (h("svg", { key: 'c3fd273494e47192b66eb5c042ccb795f0c303dc', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '97c12050d20f7a39a4f3144dc771a2ed8bf6bd46', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
|
|
162
162
|
break;
|
|
163
163
|
case 'kup-radio':
|
|
164
164
|
//radio_button_unchecked.svg
|
|
165
|
-
resource = (h("svg", { key: '
|
|
165
|
+
resource = (h("svg", { key: 'd6fe0ab4b15b94fad4d9a7f2a0c612d960ba1b5d', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'f89b7910540c6660701f9b974c0f7e865cf66d9e', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
|
|
166
166
|
break;
|
|
167
167
|
default:
|
|
168
168
|
//art_track.svg
|
|
169
|
-
resource = (h("svg", { key: '
|
|
169
|
+
resource = (h("svg", { key: '748f4036681d57ea9b0bc0396a7f97d01d1bd8fb', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '8ac9a986d9f7e9e077e1856e6a88759628201880', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
170
170
|
break;
|
|
171
171
|
}
|
|
172
172
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -175,14 +175,14 @@ const KupLazy = class {
|
|
|
175
175
|
this.data &&
|
|
176
176
|
this.isInViewport)) {
|
|
177
177
|
let Tag = this.componentName;
|
|
178
|
-
content = (h(Tag, Object.assign({ key: '
|
|
178
|
+
content = (h(Tag, Object.assign({ key: '643382e2454680070d5e8b931cd54658c5e4d2da' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
179
179
|
className += ' kup-loaded';
|
|
180
180
|
}
|
|
181
181
|
else if (this.showPlaceholder) {
|
|
182
182
|
content = resource;
|
|
183
183
|
className += ' kup-to-be-loaded';
|
|
184
184
|
}
|
|
185
|
-
return (h(Host, { key: '
|
|
185
|
+
return (h(Host, { key: 'd67ed652e6cec403ee806a3c1aeaf2f44e979f4f', class: className }, h("style", { key: '7389286c6d8dd1a3499ddedfd09372640c238240' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'a51ee9e08e83971e2b4b57d92a1fde1df478d9e1', id: componentWrapperId }, content)));
|
|
186
186
|
}
|
|
187
187
|
disconnectedCallback() {
|
|
188
188
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, d as KupDebugCategory, ai as kupDropEvent, N as kupDraggableColumnAttr, aj as kupDraggableRowAttr, U as KupDropEventTypes, c as KupThemeColorValues } from './kup-manager-
|
|
1
|
+
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-95bb3410.js';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, d as KupDebugCategory, ai as kupDropEvent, N as kupDraggableColumnAttr, aj as kupDraggableRowAttr, U as KupDropEventTypes, c as KupThemeColorValues } from './kup-manager-7b151628.js';
|
|
3
3
|
import { F as FButtonStyling } from './f-button-declarations-9bdc6f26.js';
|
|
4
|
-
import { F as FImage } from './f-image-
|
|
4
|
+
import { F as FImage } from './f-image-46787842.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
6
6
|
import './kup-dates-26a56bf7.js';
|
|
7
7
|
|
|
@@ -287,11 +287,11 @@ const KupMagicBox = class {
|
|
|
287
287
|
this.kupManager.debug.logRender(this, true);
|
|
288
288
|
}
|
|
289
289
|
render() {
|
|
290
|
-
return (h(Host, { key: '
|
|
290
|
+
return (h(Host, { key: '4d6747df7462796dbe78c8d564f4d6d682fe5851' }, h("style", { key: '96de2876df5042f86b342909fb459327512c433b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '7bb152c5035d481e54ec749e482df4ed67677c65', id: componentWrapperId }, h("div", { key: '95adb73a3ff03931ebdaf49b577ed9034b9147e0', class: "magic-box-wrapper" }, h("div", { key: '13ddf38a71b869645c5dcc86344a9f0ed29ea2f7', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '84018579283fb121bc3dd0636bbf7feb20558458' }, this.comboboxProps())), h("kup-button", { key: '64fbec83e296599203fe68f5bd8abeb6cd1c38cb', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
291
291
|
this.data = null;
|
|
292
|
-
} }), h("kup-button", { key: '
|
|
292
|
+
} }), h("kup-button", { key: 'bfb9a218e2d7fe9a966d4751b96e1be947282df3', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
293
293
|
this.kupManager.hideMagicBox();
|
|
294
|
-
} })), h("div", { key: '
|
|
294
|
+
} })), h("div", { key: '165648f0432069e8f2356221aee1a38983bcfa84', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
295
295
|
}
|
|
296
296
|
disconnectedCallback() {
|
|
297
297
|
this.kupManager.interact.unregister([
|