@sme.up/ketchup 11.0.0-SNAPSHOT-20241217083229 → 11.0.0-SNAPSHOT-20241217103126
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-39c40bdf.js → f-cell-752a5bc4.js} +4 -4
- package/dist/cjs/{f-chip-d89bcb57.js → f-chip-0342fdc1.js} +1 -1
- package/dist/cjs/{f-object-field-4a77d419.js → f-object-field-74179ab4.js} +2 -2
- package/dist/cjs/{f-paginator-utils-0743ddec.js → f-paginator-utils-db5e6e08.js} +1 -1
- package/dist/cjs/{f-text-field-02f710d5.js → f-text-field-ed89e4d2.js} +3 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +116 -86
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-43cfaea5.js → kup-data-table-helper-d6d793fc.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
- package/dist/cjs/kup-input-panel.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/{kup-manager-1145102b.js → kup-manager-4e75f704.js} +1 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/kup-pdf.cjs.entry.js +2 -2
- package/dist/cjs/kup-photo-frame.cjs.entry.js +3 -3
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-txt.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-accordion/kup-accordion.js +1 -1
- package/dist/collection/components/kup-activity-timeline/kup-activity-timeline.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +1 -1
- package/dist/collection/components/kup-badge/kup-badge.js +2 -2
- package/dist/collection/components/kup-button-list/kup-button-list.js +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +2 -2
- package/dist/collection/components/kup-card-list/kup-card-list.css +1 -1
- package/dist/collection/components/kup-cell/kup-cell.js +2 -2
- 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 +29 -15
- package/dist/collection/components/kup-dashboard/kup-dashboard.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.js +1 -1
- 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-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +1 -1
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.css +5 -1
- package/dist/collection/components/kup-list/kup-list.js +43 -4
- 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-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +1 -1
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +2 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +3 -3
- package/dist/components/kup-activity-timeline.js +3 -3
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +4 -4
- package/dist/components/kup-card-list.js +4 -4
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +4 -4
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-dashboard.js +3 -3
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +4 -4
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +5 -5
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +3 -3
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +5 -5
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +4 -4
- package/dist/components/kup-lazy.js +13 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +7 -7
- package/dist/components/kup-nav-bar.js +3 -3
- package/dist/components/kup-numeric-picker.js +3 -3
- package/dist/components/kup-object-field.js +3 -3
- package/dist/components/kup-pdf.js +3 -3
- package/dist/components/kup-photo-frame.js +4 -4
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +17 -17
- package/dist/components/kup-probe.js +3 -3
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +3 -3
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +3 -3
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tooltip.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +3 -3
- package/dist/components/kup-typography-list.js +3 -3
- package/dist/components/kup-typography.js +3 -3
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-d80bbcb0.js → p-14aad914.js} +1 -1
- package/dist/components/{p-f95300f6.js → p-22b40453.js} +2 -2
- package/dist/components/{p-cfc8a8fb.js → p-3466bd5a.js} +1 -1
- package/dist/components/{p-2d57f1db.js → p-3bc624c9.js} +1 -1
- package/dist/components/{p-f81a6df1.js → p-3bed44d4.js} +2 -2
- package/dist/components/{p-911cd91d.js → p-776a38a0.js} +15 -15
- package/dist/components/{p-73449cb1.js → p-79c12fc7.js} +2 -2
- package/dist/components/{p-56c8142a.js → p-822c3930.js} +1 -1
- package/dist/components/{p-f3a59611.js → p-83a86ca8.js} +3 -3
- package/dist/components/{p-0d856495.js → p-ae5af2ad.js} +13 -13
- package/dist/components/{p-d0735e25.js → p-af3fcbd9.js} +3 -3
- package/dist/components/{p-5a065bf1.js → p-b96e265d.js} +2 -2
- package/dist/components/{p-61b8d8fd.js → p-babf447c.js} +2 -2
- package/dist/components/{p-dc697572.js → p-be17920c.js} +2 -2
- package/dist/components/{p-e275fc9f.js → p-c97810e2.js} +1 -1
- package/dist/components/{p-ff1894fe.js → p-d8b0f5eb.js} +5 -5
- package/dist/components/{p-3e08d788.js → p-e2f1b5d3.js} +3 -3
- package/dist/components/{p-4bab013a.js → p-f22fb696.js} +113 -81
- package/dist/components/{p-a2ed336a.js → p-f7c2ca1d.js} +4 -4
- package/dist/components/{p-1f1d9b1f.js → p-ff8bdafd.js} +7 -7
- package/dist/esm/{f-cell-31585bb7.js → f-cell-07fa16b7.js} +4 -4
- package/dist/esm/{f-chip-e31d0dfb.js → f-chip-70a06610.js} +1 -1
- package/dist/esm/{f-object-field-fa795c94.js → f-object-field-4f6d8bb7.js} +2 -2
- package/dist/esm/{f-paginator-utils-d34dca74.js → f-paginator-utils-17f01722.js} +1 -1
- package/dist/esm/{f-text-field-e73d7967.js → f-text-field-3521b89f.js} +3 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_28.entry.js +116 -86
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +4 -4
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-771bc5c8.js → kup-data-table-helper-d85d607a.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +3 -3
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +3 -3
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +8 -8
- package/dist/esm/kup-input-panel.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-828bdc1c.js → kup-manager-02418eff.js} +1 -1
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/kup-pdf.entry.js +2 -2
- package/dist/esm/kup-photo-frame.entry.js +3 -3
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-txt.entry.js +2 -2
- package/dist/esm/kup-typography-list.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-b53e417a.entry.js → p-00969f5a.entry.js} +1 -1
- package/dist/ketchup/{p-9474bc4f.entry.js → p-026a5635.entry.js} +1 -1
- package/dist/ketchup/{p-14706a7c.entry.js → p-06670b74.entry.js} +2 -2
- package/dist/ketchup/{p-6ee26164.js → p-08608891.js} +1 -1
- package/dist/ketchup/{p-43783080.js → p-0c8cb88e.js} +1 -1
- package/dist/ketchup/{p-883c6a82.entry.js → p-100b68f9.entry.js} +1 -1
- package/dist/ketchup/{p-cffd22c7.entry.js → p-1339b77a.entry.js} +1 -1
- package/dist/ketchup/{p-cd75fa31.entry.js → p-200fee46.entry.js} +1 -1
- package/dist/ketchup/{p-c1950e47.entry.js → p-24e66646.entry.js} +1 -1
- package/dist/ketchup/{p-be59b96c.entry.js → p-2e8b266e.entry.js} +2 -2
- package/dist/ketchup/{p-19afdc14.entry.js → p-383f0f64.entry.js} +1 -1
- package/dist/ketchup/{p-5a24ec5b.entry.js → p-4b13c5f5.entry.js} +1 -1
- package/dist/ketchup/{p-7d639720.entry.js → p-51f2ffb9.entry.js} +1 -1
- package/dist/ketchup/p-60a761cb.entry.js +9 -0
- package/dist/ketchup/p-67eacdd7.entry.js +1 -0
- package/dist/ketchup/{p-13b22d3c.js → p-72ed5abb.js} +1 -1
- package/dist/ketchup/{p-e369dacb.entry.js → p-87c116ed.entry.js} +1 -1
- package/dist/ketchup/{p-d20fbba2.entry.js → p-8876e673.entry.js} +1 -1
- package/dist/ketchup/{p-ed017acb.entry.js → p-8cfb1c3c.entry.js} +1 -1
- package/dist/ketchup/{p-e1048932.entry.js → p-8f6b99d1.entry.js} +1 -1
- package/dist/ketchup/{p-018021f3.entry.js → p-92daefa6.entry.js} +2 -2
- package/dist/ketchup/{p-d15d479c.js → p-93dff1f9.js} +1 -1
- package/dist/ketchup/{p-6a552af4.entry.js → p-9e8bd55a.entry.js} +1 -1
- package/dist/ketchup/{p-dd2c41ac.entry.js → p-9f7826b8.entry.js} +1 -1
- package/dist/ketchup/{p-73827465.entry.js → p-a34e3c9a.entry.js} +1 -1
- package/dist/ketchup/{p-23b38d86.entry.js → p-b4bf8262.entry.js} +1 -1
- package/dist/ketchup/{p-54906238.js → p-b640b0d3.js} +1 -1
- package/dist/ketchup/{p-bdf8da46.entry.js → p-b6fa890b.entry.js} +1 -1
- package/dist/ketchup/p-bd8c59be.js +1 -0
- package/dist/ketchup/{p-b1012dc7.entry.js → p-c4617db5.entry.js} +1 -1
- package/dist/ketchup/{p-e472b1ac.entry.js → p-c51aca8b.entry.js} +1 -1
- package/dist/ketchup/{p-05ab6230.entry.js → p-c9961dde.entry.js} +1 -1
- package/dist/ketchup/{p-c7464ad2.entry.js → p-ccb446a9.entry.js} +1 -1
- package/dist/ketchup/{p-8315558f.entry.js → p-d2732f45.entry.js} +1 -1
- package/dist/ketchup/{p-739564c1.entry.js → p-df467d12.entry.js} +2 -2
- package/dist/ketchup/{p-31c2ce09.entry.js → p-edcb4ac6.entry.js} +1 -1
- package/dist/ketchup/{p-5d4bfad2.js → p-f11b1064.js} +1 -1
- package/dist/ketchup/{p-c01717af.entry.js → p-f63e26e4.entry.js} +1 -1
- package/dist/ketchup/{p-ebf37ad3.entry.js → p-f81e7e01.entry.js} +1 -1
- package/dist/ketchup/{p-9d94d189.entry.js → p-fc32246e.entry.js} +1 -1
- package/dist/ketchup/{p-8e89db49.entry.js → p-fcdeb4b6.entry.js} +1 -1
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +1 -1
- package/dist/types/components/kup-list/kup-list.d.ts +8 -0
- package/dist/types/components.d.ts +12 -2
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ketchup/p-54d790eb.entry.js +0 -1
- package/dist/ketchup/p-5d26e46f.js +0 -1
- package/dist/ketchup/p-f87e97e4.entry.js +0 -9
|
@@ -14,7 +14,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
14
14
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
15
15
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
16
16
|
};
|
|
17
|
-
var _KupList_instances, _KupList_kupManager, _KupList_radios, _KupList_listItems, _KupList_handleSelection, _KupList_isNested, _KupList_renderListItem, _KupList_getIconTag, _KupList_isMultiSelection, _KupList_isCheckBoxRule, _KupList_isRadioButtonRule, _KupList_isListBoxRule, _KupList_checkRoleType, _KupList_itemCompliant;
|
|
17
|
+
var _KupList_instances, _KupList_kupManager, _KupList_globalFilterTimeout, _KupList_radios, _KupList_listItems, _KupList_handleSelection, _KupList_isNested, _KupList_renderListItem, _KupList_getIconTag, _KupList_isMultiSelection, _KupList_isCheckBoxRule, _KupList_isRadioButtonRule, _KupList_isListBoxRule, _KupList_checkRoleType, _KupList_itemCompliant, _KupList_createFilterComponent;
|
|
18
18
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
19
19
|
import { KupListProps, KupListRole, } from "./kup-list-declarations";
|
|
20
20
|
import { ItemsDisplayMode } from "./kup-list-declarations";
|
|
@@ -23,6 +23,8 @@ import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
|
|
|
23
23
|
import { FImage } from "../../f-components/f-image/f-image";
|
|
24
24
|
import { getProps, setProps } from "../../utils/utils";
|
|
25
25
|
import { FCheckbox } from "../../f-components/f-checkbox/f-checkbox";
|
|
26
|
+
import { KupLanguageSearch } from "../../managers/kup-language/kup-language-declarations";
|
|
27
|
+
import { KupThemeIconValues } from "../../managers/kup-theme/kup-theme-declarations";
|
|
26
28
|
export class KupList {
|
|
27
29
|
constructor() {
|
|
28
30
|
_KupList_instances.add(this);
|
|
@@ -33,6 +35,7 @@ export class KupList {
|
|
|
33
35
|
* Instance of the KupManager class.
|
|
34
36
|
*/
|
|
35
37
|
_KupList_kupManager.set(this, kupManagerInstance());
|
|
38
|
+
_KupList_globalFilterTimeout.set(this, void 0);
|
|
36
39
|
_KupList_radios.set(this, []);
|
|
37
40
|
_KupList_listItems.set(this, []);
|
|
38
41
|
this.focused = null;
|
|
@@ -40,6 +43,7 @@ export class KupList {
|
|
|
40
43
|
this.customStyle = '';
|
|
41
44
|
this.data = [];
|
|
42
45
|
this.displayMode = ItemsDisplayMode.DESCRIPTION;
|
|
46
|
+
this.showFilter = false;
|
|
43
47
|
this.filter = '';
|
|
44
48
|
this.hideText = false;
|
|
45
49
|
this.isMenu = false;
|
|
@@ -182,6 +186,13 @@ export class KupList {
|
|
|
182
186
|
async setProps(props) {
|
|
183
187
|
setProps(this, KupListProps, props);
|
|
184
188
|
}
|
|
189
|
+
onFilterValueChange({ detail }) {
|
|
190
|
+
let value = '';
|
|
191
|
+
if (detail && detail.value) {
|
|
192
|
+
value = detail.value;
|
|
193
|
+
}
|
|
194
|
+
this.filter = value;
|
|
195
|
+
}
|
|
185
196
|
/*-------------------------------------------------*/
|
|
186
197
|
/* L i f e c y c l e H o o k s */
|
|
187
198
|
/*-------------------------------------------------*/
|
|
@@ -216,6 +227,8 @@ export class KupList {
|
|
|
216
227
|
__classPrivateFieldSet(this, _KupList_listItems, [], "f");
|
|
217
228
|
let componentClass = 'list';
|
|
218
229
|
let wrapperClass = undefined;
|
|
230
|
+
let filterClass = 'filter';
|
|
231
|
+
let listScrollClass = 'scroll-list';
|
|
219
232
|
if (this.isMenu) {
|
|
220
233
|
wrapperClass = 'kup-menu';
|
|
221
234
|
if (this.menuVisible) {
|
|
@@ -242,9 +255,9 @@ export class KupList {
|
|
|
242
255
|
}
|
|
243
256
|
__classPrivateFieldSet(this, _KupList_radios, [], "f");
|
|
244
257
|
let index = 0;
|
|
245
|
-
return (h(Host, { key: '
|
|
258
|
+
return (h(Host, { key: 'e8cdd2092681385e1066487b2b62ee82bceab891' }, h("style", { key: '336d64d0725b9eac37163b89464384ffe0b5a1f2' }, __classPrivateFieldGet(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '62e457fb4a4af1eadae76893c8cc247140b2fbaa', id: "kup-component", class: wrapperClass }, this.showFilter ? (h("div", { class: filterClass }, __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_createFilterComponent).call(this))) : null, h("div", { key: 'd256a7e0e34dd704d03a19d361e308fe9542540f', class: listScrollClass }, h("ul", { key: '040ad58ac8867cb5a5ae50dbf687d019a497b153', class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
|
|
246
259
|
.filter((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
|
|
247
|
-
.map((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++))))));
|
|
260
|
+
.map((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++)))))));
|
|
248
261
|
}
|
|
249
262
|
disconnectedCallback() {
|
|
250
263
|
__classPrivateFieldGet(this, _KupList_kupManager, "f").theme.unregister(this);
|
|
@@ -339,6 +352,27 @@ export class KupList {
|
|
|
339
352
|
"reflect": false,
|
|
340
353
|
"defaultValue": "ItemsDisplayMode.DESCRIPTION"
|
|
341
354
|
},
|
|
355
|
+
"showFilter": {
|
|
356
|
+
"type": "boolean",
|
|
357
|
+
"mutable": false,
|
|
358
|
+
"complexType": {
|
|
359
|
+
"original": "boolean",
|
|
360
|
+
"resolved": "boolean",
|
|
361
|
+
"references": {}
|
|
362
|
+
},
|
|
363
|
+
"required": false,
|
|
364
|
+
"optional": false,
|
|
365
|
+
"docs": {
|
|
366
|
+
"tags": [{
|
|
367
|
+
"name": "default",
|
|
368
|
+
"text": "false"
|
|
369
|
+
}],
|
|
370
|
+
"text": "Show filter for filter elements in list"
|
|
371
|
+
},
|
|
372
|
+
"attribute": "show-filter",
|
|
373
|
+
"reflect": false,
|
|
374
|
+
"defaultValue": "false"
|
|
375
|
+
},
|
|
342
376
|
"filter": {
|
|
343
377
|
"type": "string",
|
|
344
378
|
"mutable": true,
|
|
@@ -794,7 +828,7 @@ export class KupList {
|
|
|
794
828
|
}];
|
|
795
829
|
}
|
|
796
830
|
}
|
|
797
|
-
_KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_listItems = new WeakMap(), _KupList_instances = new WeakSet(), _KupList_handleSelection = function _KupList_handleSelection(index) {
|
|
831
|
+
_KupList_kupManager = new WeakMap(), _KupList_globalFilterTimeout = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_listItems = new WeakMap(), _KupList_instances = new WeakSet(), _KupList_handleSelection = function _KupList_handleSelection(index) {
|
|
798
832
|
if (index !== null && index !== undefined && !isNaN(index)) {
|
|
799
833
|
const listItems = this.rootElement.shadowRoot.querySelectorAll('.list-item');
|
|
800
834
|
const id = listItems[index].dataset.id;
|
|
@@ -958,4 +992,9 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
|
|
|
958
992
|
}
|
|
959
993
|
return (item.id.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0 ||
|
|
960
994
|
item.value.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0);
|
|
995
|
+
}, _KupList_createFilterComponent = function _KupList_createFilterComponent() {
|
|
996
|
+
return (h("div", { id: "global-filter", class: "filter" }, h("kup-text-field", { fullWidth: true, label: __classPrivateFieldGet(this, _KupList_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.filter, "onkup-textfield-input": (event) => {
|
|
997
|
+
window.clearTimeout(this.filter);
|
|
998
|
+
__classPrivateFieldSet(this, _KupList_globalFilterTimeout, window.setTimeout(() => this.onFilterValueChange(event), 600), "f");
|
|
999
|
+
} })));
|
|
961
1000
|
};
|
|
@@ -263,11 +263,11 @@ export class KupMagicBox {
|
|
|
263
263
|
this.kupManager.debug.logRender(this, true);
|
|
264
264
|
}
|
|
265
265
|
render() {
|
|
266
|
-
return (h(Host, { key: '
|
|
266
|
+
return (h(Host, { key: 'cc7eb83eaccd2507c886ec16bc37d2fa567ac52e' }, h("style", { key: '809d326e5dcbf28e7aadc8901b0b4958442de680' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '1f05d7964adaebc3e44123e766f54b913b6427a4', id: componentWrapperId }, h("div", { key: '08e3fe041eca609baf1bffc35d19711a54557b92', class: "magic-box-wrapper" }, h("div", { key: 'a66c16ca2910391f07eeca825443cd13d1a9eaef', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '8751f6abdbb318c30470954b6b59a5ee331b3ab9' }, this.comboboxProps())), h("kup-button", { key: 'aaae57d304a47b6371f87e7be3ec6e52d6dac92f', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
267
267
|
this.data = null;
|
|
268
|
-
} }), h("kup-button", { key: '
|
|
268
|
+
} }), h("kup-button", { key: '295644dff6eff6d80df769fd54d5e0db43de8473', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
269
269
|
this.kupManager.hideMagicBox();
|
|
270
|
-
} })), h("div", { key: '
|
|
270
|
+
} })), h("div", { key: '3aedf43217a1a013c78170af418adbde5994e0cc', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
271
271
|
}
|
|
272
272
|
disconnectedCallback() {
|
|
273
273
|
this.kupManager.interact.unregister([
|
|
@@ -98,7 +98,7 @@ export class KupNavBar {
|
|
|
98
98
|
this.kupManager.debug.logRender(this, true);
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '2a384dc4de4b550cfaaf9490579dc4ffdb469076', class: "header" }, h("style", { key: 'b91849a849d6e9509b9456f1a90be1042f7d9499' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e1182a3b34dd471a8dd73a90119af6a408f2604e', id: componentWrapperId }, h("header", { key: '13a6491135dab2490042558ae00bfe23a55b5ed8', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, h("div", { key: '2b8cae0eaf58a12769ce158effc25fc31f7ee0c9', class: `${navbarClass}__row` }, this.content())))));
|
|
102
102
|
}
|
|
103
103
|
disconnectedCallback() {
|
|
104
104
|
this.kupManager.language.unregister(this);
|
|
@@ -321,7 +321,7 @@ export class KupNumericPicker {
|
|
|
321
321
|
this.kupManager.debug.logRender(this, true);
|
|
322
322
|
}
|
|
323
323
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: 'de9de7129302c8b4da71cf3d7a344ac8e6a5dfaf' }, h("style", { key: 'd4b96735e89a534a50349bbd3c12d69fbf3cd32e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '9ddac65757ea1d436f6e845155d8f4d4a1610183', id: componentWrapperId }, this.prepTextfield())));
|
|
325
325
|
}
|
|
326
326
|
disconnectedCallback() {
|
|
327
327
|
this.kupManager.dates.unregister(this);
|
|
@@ -78,7 +78,7 @@ export class KupObjectField {
|
|
|
78
78
|
data: (_a = this.data) !== null && _a !== void 0 ? _a : {},
|
|
79
79
|
inputValue: this.inputValue,
|
|
80
80
|
};
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: 'c50277b235f4bbe5945086c619d1a747d83f4172' }, h("style", { key: 'c238a76b7a96eb1c8ae29edb1d6241540a6deb01' }, __classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '78fd4c7c17b76033f7e11d741086065bc9beed5a', id: componentWrapperId }, h(FObjectField, Object.assign({ key: 'a2b16512ef5eec7e4c45f8116d3d5fc6aca2cb93' }, props)))));
|
|
82
82
|
}
|
|
83
83
|
disconnectedCallback() {
|
|
84
84
|
__classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.unregister(this);
|
|
@@ -105,7 +105,7 @@ export class KupPdf {
|
|
|
105
105
|
catch (error) { }
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '0d03119a101b40970f9c0790bd265cb229cd766b' }, h("div", { key: '35b6c0bea491e84639e58bde9978cf936747a567', id: componentWrapperId, ref: (el) => (this.wrapperRef = el) })));
|
|
109
109
|
}
|
|
110
110
|
disconnectedCallback() {
|
|
111
111
|
__classPrivateFieldGet(this, _KupPdf_kupManager, "f").theme.unregister(this);
|
|
@@ -99,9 +99,9 @@ export class KupPhotoFrame {
|
|
|
99
99
|
if (this.isInViewport && !__classPrivateFieldGet(this, _KupPhotoFrame_renderResource, "f")) {
|
|
100
100
|
__classPrivateFieldSet(this, _KupPhotoFrame_renderResource, true, "f");
|
|
101
101
|
}
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '1ef1d33f9d166a88c06992b34c92c6ffbe2571e5' }, h("style", { key: '19ec6c7e0eece08b10c74dcccd872a80a5c376b6' }, __classPrivateFieldGet(this, _KupPhotoFrame_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '92e2b1633bfb1bc8552789ea130d4730f06630a3', id: componentWrapperId, ref: (el) => {
|
|
103
103
|
__classPrivateFieldSet(this, _KupPhotoFrame_wrapperEl, el, "f");
|
|
104
|
-
} }, h("img", Object.assign({ key: '
|
|
104
|
+
} }, h("img", Object.assign({ key: '1ed369fd4c2abb9050f16a81f01b3167a31e1852' }, this.placeholderAttrs, { class: "placeholder", ref: (el) => (__classPrivateFieldSet(this, _KupPhotoFrame_placeholderEl, el, "f")), onLoad: () => {
|
|
105
105
|
if (__classPrivateFieldGet(this, _KupPhotoFrame_placeholderEl, "f").naturalWidth >
|
|
106
106
|
__classPrivateFieldGet(this, _KupPhotoFrame_placeholderEl, "f").naturalHeight) {
|
|
107
107
|
__classPrivateFieldGet(this, _KupPhotoFrame_wrapperEl, "f").classList.add('horizontal');
|
|
@@ -523,7 +523,7 @@ export class KupPlanner {
|
|
|
523
523
|
if ((_b = this.plannerProps) === null || _b === void 0 ? void 0 : _b.secondaryGantt) {
|
|
524
524
|
plannerProps.secondaryGantt = Object.assign(Object.assign({}, this.plannerProps.secondaryGantt), { onScrollY: this.handleDetailGanttScrollY.bind(this) });
|
|
525
525
|
}
|
|
526
|
-
return (h(Host, { key: '
|
|
526
|
+
return (h(Host, { key: 'ddb478b51648fb372faa628d04e63197eb77501b' }, h("style", { key: 'a3faab027e8da261f3ff07aa8d475277e39a7b20' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '4f2203fcf11cf8eefa00e53fc9f6616601cad9a6', id: componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (h("kup-planner-renderer", { key: 'c66e2658463a114ea99f8e14e6451e5dea13314c', props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), h("div", { key: 'b480ac83dd9c8d56ac18594b4012a6f5f4444a90', style: { display: this.plannerProps ? 'none' : '' } }, h(FTextField, { key: '813747f78ad25f6aa402ce9f593b0d0b1f4b50f6', icon: KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), onKeyDown: (e) => {
|
|
527
527
|
if (e.key === 'Enter') {
|
|
528
528
|
__classPrivateFieldGet(this, _KupPlanner_instances, "m", _KupPlanner_onFilter).call(this, e.target.value);
|
|
529
529
|
}
|
|
@@ -8,11 +8,11 @@ export class KupCustomTaskListHeader {
|
|
|
8
8
|
this.fontSize = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '0dda65a73efcc5b8217019bf8d1d5d4a66277df6', class: "custom-task-list-wrapper", style: {
|
|
12
12
|
height: '25px',
|
|
13
13
|
fontFamily: this.fontFamily,
|
|
14
14
|
fontSize: this.fontSize,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: '07bfcbb99f759ae7968cb76af97e04666cdfb84f', class: "title" }, h("span", { key: '59b6656d24f1b381455888534075a704eadf3757' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: '7d6f5eca5945d49fd784089cc97906400f9279fe', class: "toggler" }, h("label", { key: '6badb37501bdc190948b6fd101a04695b556fa87', htmlFor: "ch2", class: "switch" }, h("input", { key: '07f2f293bec60e83caf3ff8590277c05a8cad26a', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: 'a6cb9c1484bf2fbec6a1e9cdb6b2fac06a35c03f', class: "slider" })), h("span", { key: '4def4a9d08f8eb2fecf7058ad24d44d0cf626dec', class: "label" }, "Previsioni")))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "kup-custom-task-list-header"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -563,9 +563,9 @@ export class KupGantt {
|
|
|
563
563
|
TaskListHeader: this.TaskListHeader,
|
|
564
564
|
TaskListTable: this.TaskListTable
|
|
565
565
|
};
|
|
566
|
-
return (h("div", { key: '
|
|
566
|
+
return (h("div", { key: '7ca3df83876dbea0f57536a3eb9a7978af4f18f2', class: "gannt-wrapper-main" }, h("div", { key: '411ce55a1a2de1fb2c77b6fa5395237d7f93d857', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: '64361b6d13020fa1b26a8742ea6fb14007c5f946', 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) => {
|
|
567
567
|
this.taskListScrollWidth = width;
|
|
568
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
568
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: 'd34dcf0103274551222a40e44a17a93d770458d6', 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: '97d5ed31d1fe2afc1675a20a6ad176c75262adc0', 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: '6020a60fc2d928cd5e89f8e1f58957f001b59445', 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: '1a7891ac340db8c729ea2ef6237b81baede2b02d', 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 }))));
|
|
569
569
|
}
|
|
570
570
|
static get is() { return "kup-gantt"; }
|
|
571
571
|
static get originalStyleUrls() {
|
package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js
CHANGED
|
@@ -225,11 +225,11 @@ export class KupGanttCalendar {
|
|
|
225
225
|
this.simplifiedHeader =
|
|
226
226
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
227
227
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
228
|
-
return (h("svg", { key: '
|
|
228
|
+
return (h("svg", { key: 'cb25f41952a9df647dde916bdec8777008f8fef3', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: '1b2a22e86f120867dc36588d13d4529e85406b99', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: '6fcae9075fdd1228f4d8975390abbe55acd3f659', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
|
|
229
229
|
? topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
|
|
230
230
|
: topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
|
|
231
231
|
// current date indicator
|
|
232
|
-
h("circle", { key: '
|
|
232
|
+
h("circle", { key: '049fd3ba1ebcef54ae8fe3e78ead566e21c5f76b', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
233
233
|
}
|
|
234
234
|
static get is() { return "kup-gantt-calendar"; }
|
|
235
235
|
static get originalStyleUrls() {
|
|
@@ -509,13 +509,13 @@ export class KupGridRenderer {
|
|
|
509
509
|
// }
|
|
510
510
|
tickX += this.columnWidth;
|
|
511
511
|
}
|
|
512
|
-
return (h("svg", { key: '
|
|
512
|
+
return (h("svg", { key: '1768bf87d7d08070ce0d27dbb6981999e9839919', xmlns: "http://www.w3.org/2000/svg", width: this.gridProps.svgWidth, height: `${this.rowHeight * this.tasks.length}px`, "font-family": this.fontFamily, ref: (el) => (this.svg = el) }, h("g", { key: '57d2d52600d5c9a3187a1a1779b409ea716ce527', class: "grid" }, h("g", { key: 'cf522a94564a34298d2cc91efc46af3ed4e053f0', class: "rows" }, gridRows), h("g", { key: '738d6d128ecd5398ba8aa5c333742854e082fbd7', class: "rowLines" }, rowLines), h("g", { key: '5e36d94d36900a7decf630abf4a614067b14735e', class: "ticks" }, ticks)), h("g", { key: '132f69c4f73953bbf998bf2acd30693d25b93d67', class: "content" }, this.currentDateIndicator && (h("rect", { key: 'de9e545038e482212e621ca4c2f1222339fd203d', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: '7e077d951e8c2b125a4e25698542515a20d9ac86', fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), h("g", { key: 'ab75796381aaadbda8285965a66e91602185366f', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
|
|
513
513
|
return task.barChildren.map((child) => {
|
|
514
514
|
if (task.type !== 'timeline') {
|
|
515
515
|
this.renderKupArrow(task, child);
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
|
-
})), h("g", { key: '
|
|
518
|
+
})), h("g", { key: '18b7c7ff265294ba6d4aa93717d5a375264c421b', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
519
519
|
const forbidResize = task.type === 'project';
|
|
520
520
|
return (h("g", { onKeyDown: (e) => {
|
|
521
521
|
switch (e.key) {
|
|
@@ -575,7 +575,7 @@ export class KupGridRenderer {
|
|
|
575
575
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
576
576
|
}
|
|
577
577
|
})()));
|
|
578
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
578
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '71036ce8e3180a6e31ef329e11ad35f7622a5889', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
579
579
|
}
|
|
580
580
|
static get is() { return "kup-grid-renderer"; }
|
|
581
581
|
static get originalStyleUrls() {
|
package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js
CHANGED
|
@@ -53,20 +53,20 @@ export class HorizontalScroll {
|
|
|
53
53
|
var _a, _b;
|
|
54
54
|
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
|
|
55
55
|
const width = +this.listCellWidth.replace('px', '');
|
|
56
|
-
return (h(Fragment, { key: '
|
|
57
|
-
this.taskListScrollWidth > width && (h("div", { key: '
|
|
56
|
+
return (h(Fragment, { key: '70745e02e28ef8e157d49eb5adfdc94522dfdd81' }, h("div", { key: '224da7cd81b9aacc24a73c331c5b7596e55bde50', class: "scroll-container" }, this.scrollableTaskList &&
|
|
57
|
+
this.taskListScrollWidth > width && (h("div", { key: '103e8ab08fb5e13ba60742ddcc158998cfad2104', dir: "ltr", style: {
|
|
58
58
|
margin: this.rtl
|
|
59
59
|
? `0px 20px 0px 20px`
|
|
60
60
|
: `0px 20px 0px 20px`,
|
|
61
61
|
maxWidth: `${width + 20}px`,
|
|
62
62
|
minWidth: `${width + 20}px`,
|
|
63
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '
|
|
63
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '5dfcfdd085e3d29b95f005f5b705b40706d82b24', style: {
|
|
64
64
|
width: `${this.taskListScrollWidth}px`,
|
|
65
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
65
|
+
}, class: "scroll" }))), h("div", { key: 'c1446fd188aa1988af9928e1b1ab54eff1c067d8', dir: "ltr", style: {
|
|
66
66
|
margin: this.rtl
|
|
67
67
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
68
68
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
69
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
69
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: 'f69600b829b483c53503e6122376d9c42811067c', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "kup-horizontal-scroll"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -220,13 +220,13 @@ export class KupPlannerRenderer {
|
|
|
220
220
|
}
|
|
221
221
|
render() {
|
|
222
222
|
var _a, _b, _c;
|
|
223
|
-
return (h("div", { key: '
|
|
223
|
+
return (h("div", { key: '79dba602c2082055a26816c5b41ef26bad99c2dd', class: "planner-render" }, h("kup-switcher", { key: '311e99279647ad73fc56562f0035fa85f0ebfa98', timeUnitChange: (timeUnit) => {
|
|
224
224
|
var _a, _b;
|
|
225
225
|
(_b = (_a = this.props).onSetViewMode) === null || _b === void 0 ? void 0 : _b.call(_a, timeUnit);
|
|
226
226
|
this.timeUnit = timeUnit;
|
|
227
227
|
this.viewDate = undefined;
|
|
228
228
|
this.scrollX = -1;
|
|
229
|
-
} }), this.props && (h("div", { key: '
|
|
229
|
+
} }), this.props && (h("div", { key: '825c038c52d5e98f48750a3f8e45c48516237396', style: {
|
|
230
230
|
display: 'flex',
|
|
231
231
|
flexDirection: 'column',
|
|
232
232
|
} }, h("kup-gantt", Object.assign({ ref: (el) => (this.mainGantt = el), ganttId: KUP_PLANNER_MAIN_GANTT_ID, key: KUP_PLANNER_MAIN_GANTT_ID, filter: this.props.mainGantt.filter, hideLabel: this.props.mainGantt.hideLabel, showSecondaryDates: this.mainGanttDoubleView, hideDependencies: this.props.mainGantt.hideDependencies, ganttHeight: this.props.mainGantt.ganttHeight, displayedStartDate: this.displayedDates.displayedStartDate, displayedEndDate: this.displayedDates.displayedEndDate, viewDate: this.viewDate, tasks: this.tasks, columnWidth: columnWidthForTimeUnit(this.timeUnit), viewMode: this.timeUnit }, this.props.mainGantt.stylingOptions, { TaskListHeader: this.props.mainGantt.taskListHeaderProject, TaskListTable: this.props.mainGantt.taskListTableProject, TooltipContent: (_a = this.props.mainGantt.tooltipContent) !== null && _a !== void 0 ? _a : CustomTooltipHOC(), barClick: (task) => {
|
|
@@ -16,7 +16,7 @@ export class KupSwitcher {
|
|
|
16
16
|
this.activeButton = mode;
|
|
17
17
|
this.timeUnitChange(mode);
|
|
18
18
|
};
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '6a1e9afe20ca4ed43a14712a154d4048c7370725', class: "switcher" }, this.buttonLabels.map((label) => (h("button", { type: "button", class: {
|
|
20
20
|
button: true,
|
|
21
21
|
buttonActive: this.activeButton === label,
|
|
22
22
|
}, onClick: () => handleButtonClick(label) }, h("span", { class: "label" }, label.charAt(0).toUpperCase() + label.slice(1)))))));
|
|
@@ -34,12 +34,12 @@ export class TaskGantt {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps, phaseDragScroll: this.phaseDragScroll });
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: 'ae93f614184ed2ea5cfd2fb44833764669b1e01f', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '37e0e6cd018910e5d43a0b24bd5597383d5da36c', 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: 'b106f6c679d459ad937f5b10f953f0981d220fa8', ref: (el) => (this.horizontalContainerRef = el), class: "horizontalContainer", style: this.ganttHeight
|
|
38
38
|
? {
|
|
39
39
|
height: `${this.ganttHeight}px`,
|
|
40
40
|
width: `${this.gridProps.svgWidth}px`,
|
|
41
41
|
}
|
|
42
|
-
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '
|
|
42
|
+
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: 'd0c94f6604dd57df8e01ef9552ca5aa326645f00' }, newBarProps)))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "kup-task-gantt"; }
|
|
45
45
|
static get properties() {
|
|
@@ -7,22 +7,22 @@ export class KupTaskListHeader {
|
|
|
7
7
|
this.rowWidth = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '20160e5d97bd3095584ff963a2a756e1c88264fb', class: "ganttTable", style: {
|
|
11
11
|
fontFamily: this.fontFamily,
|
|
12
12
|
fontSize: this.fontSize,
|
|
13
|
-
} }, h("div", { key: '
|
|
13
|
+
} }, h("div", { key: 'f2320100d2a03071610a3e25a022ed5fbbda528c', class: "ganttTable_Header", style: {
|
|
14
14
|
height: `${this.headerHeight - 2}px`,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: '9084f7c4eef7f276f09be84aa6c7679af667c1f1', class: "ganttTable_HeaderItem", style: {
|
|
16
16
|
minWidth: this.rowWidth,
|
|
17
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
17
|
+
} }, "\u00A0Name"), h("div", { key: '26f164508b996593fcabb3edf670d5a769d3478c', class: "ganttTable_HeaderSeparator", style: {
|
|
18
18
|
height: `${this.headerHeight * 0.5}px`,
|
|
19
19
|
marginTop: `${this.headerHeight * 0.2}px`,
|
|
20
|
-
} }), h("div", { key: '
|
|
20
|
+
} }), h("div", { key: 'fffcf0bdaa2434eea231a2df4dd5f7ab45cb8972', class: "ganttTable_HeaderItem", style: {
|
|
21
21
|
minWidth: this.rowWidth,
|
|
22
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
22
|
+
} }, "\u00A0From"), h("div", { key: 'a3d086247e2ad4c2b4d49258b5cf6a86eaaefa82', class: "ganttTable_HeaderSeparator", style: {
|
|
23
23
|
height: `${this.headerHeight * 0.5}px`,
|
|
24
24
|
marginTop: `${this.headerHeight * 0.25}px`,
|
|
25
|
-
} }), h("div", { key: '
|
|
25
|
+
} }), h("div", { key: 'e2029d060c3870a51d8765bd9b8fc07c097bea90', class: "ganttTable_HeaderItem", style: {
|
|
26
26
|
minWidth: this.rowWidth,
|
|
27
27
|
} }, "\u00A0To"))));
|
|
28
28
|
}
|
|
@@ -22,7 +22,7 @@ export class TaskListTableDefault {
|
|
|
22
22
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'd24867037930e1052c048ab5bc88bd8dffc29ae6', class: "taskListWrapper", style: {
|
|
26
26
|
fontFamily: this.fontFamily,
|
|
27
27
|
fontSize: this.fontSize,
|
|
28
28
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -86,7 +86,7 @@ export class TaskList {
|
|
|
86
86
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
87
87
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
88
88
|
}
|
|
89
|
-
return (h("div", { key: '
|
|
89
|
+
return (h("div", { key: '0d435629659e29d75825bc52709961d2d538ccad', 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: '95289f2c981d359763d8f862bd5cb84db790c904', class: `${this.horizontalContainerClass} ${this.scrollableTaskList ? 'horizontalContainerScrollable' : ''}`, style: this.ganttHeight
|
|
90
90
|
? { height: this.ganttHeight + 'px' }
|
|
91
91
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
92
92
|
let row = getProjectById(id, this.currentTasks);
|
|
@@ -6,7 +6,7 @@ export class StandardTooltipContent {
|
|
|
6
6
|
this.fontFamily = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("div", { key: '
|
|
9
|
+
return (h("div", { key: 'ac472c607f2703475d3136fb9a42891232fd6735', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: 'c52036adc316ea881cc0245d2316367b46aec9ff', 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: 'b610aa3e9e5cc36160f3aedeee8e94b6a1b3a0e3', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: '1c4c1d6ffda7080c53df5f435bc9169e49c1f59d', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "kup-standard-tooltip"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class Tooltip {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h("div", { key: '
|
|
62
|
+
return (h("div", { key: '995641764e457eea64f9a0adc87f2e3fe5440a6b', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: '3cb4afb16ddb4a1f329dd86b912e49a5c07102c3', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "kup-tooltip"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js
CHANGED
|
@@ -31,11 +31,11 @@ export class KupVerticalScroll {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'a4ed08824d2725f0d203f31fbf15fdcccc87d3f7', style: {
|
|
35
35
|
height: `${this.ganttHeight}px`,
|
|
36
36
|
marginTop: `${this.headerHeight}px`,
|
|
37
37
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
38
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '
|
|
38
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: 'f45c374c75f698f5857a6aeabd01395647a3b01a', style: {
|
|
39
39
|
height: `${this.ganttFullHeight}px`,
|
|
40
40
|
width: '1px',
|
|
41
41
|
} })));
|
|
@@ -251,7 +251,7 @@ export class KupProbe {
|
|
|
251
251
|
if (this.features.theme) {
|
|
252
252
|
customStyle = this.kupManager.theme.setKupStyle(this.rootElement);
|
|
253
253
|
}
|
|
254
|
-
return (h(Host, { key: '
|
|
254
|
+
return (h(Host, { key: '89875bae2a166240231085ba4c5614933180fdf1' }, customStyle ? h("style", null, customStyle) : null, h("div", { key: '69e914c7980a8086f1ac629f17905bff82f13689', id: componentWrapperId }, this.content)));
|
|
255
255
|
}
|
|
256
256
|
disconnectedCallback() {
|
|
257
257
|
if (this.features.language) {
|
|
@@ -102,7 +102,7 @@ export class KupProgressBar {
|
|
|
102
102
|
? true
|
|
103
103
|
: false,
|
|
104
104
|
};
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '0dda1afcc6c894a63f2090d372ec33c64f68e9cc' }, h("style", { key: '9b3c973b4c08e663688092e583f590f5ff9a021e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'bf829abd6a8ec69b05951b7b3c9a5a7c67d8554f', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: 'dec34d14458ea7d07442f17f2217ce3943d92c3b' }, props)))));
|
|
106
106
|
}
|
|
107
107
|
disconnectedCallback() {
|
|
108
108
|
this.kupManager.theme.unregister(this);
|
|
@@ -110,7 +110,7 @@ export class KupQlik {
|
|
|
110
110
|
layoutStyle = {
|
|
111
111
|
['--lyo_obj-height']: this.defobjsize,
|
|
112
112
|
};
|
|
113
|
-
return (h("div", { key: '
|
|
113
|
+
return (h("div", { key: 'd7f817fbde26570eda9b942065ac810911fe51f4', class: classLayout, style: layoutStyle }, this.divlist));
|
|
114
114
|
}
|
|
115
115
|
componentDidRender() {
|
|
116
116
|
if (this.debug) {
|
|
@@ -91,7 +91,7 @@ export class KupRating {
|
|
|
91
91
|
: false,
|
|
92
92
|
onClick: (i) => this.onKupClick(i),
|
|
93
93
|
};
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'cca9b24675200d359bf91a620de8044f2bef1426' }, h("style", { key: '986e67ed44bb5e3d84f248d1a7d4c9525e73b779' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b5582f26cec08e9991cff8633b0727160ece08b5', id: componentWrapperId }, h(FRating, Object.assign({ key: '6605be5d010ed846971bc7e23439e1898ccf75eb' }, props)))));
|
|
95
95
|
}
|
|
96
96
|
disconnectedCallback() {
|
|
97
97
|
this.kupManager.theme.unregister(this);
|
|
@@ -93,7 +93,7 @@ export class KupSnackbar {
|
|
|
93
93
|
this.kupManager.debug.logRender(this, true);
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: '4b6f9d9b7c39a825a81bcd21e64a014111b349aa', "kup-visible": this.visible }, h("style", { key: 'f58c94d019e43c6628a0fb2c100b5ef6eca55ae7' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '05ea7e4c6c8313f32efd10deb6baa60025d45cff', id: componentWrapperId }, h("div", { key: 'cb5eeb1b07e767a012ce66873e02bd73b2405278', class: snackbarClass }, h("div", { key: '4625765458fb84289feee65dfda7d622169e45eb', class: "snackbar__text__block" }, h("div", { key: 'fbb6f8fbfb0ef27b73b874e07ef14bd21a38f9bc', class: `${snackbarClass}__header` }, this.header), h("div", { key: 'f39cf0f5257b8ff1dbd40dc04419e08e7fe8ef03', class: `${snackbarClass}__text` }, this.text)), this.actionButton || this.closeButton ? (h("div", { class: `${snackbarClass}__buttons` }, this.actionButton ? (h("div", { class: `${snackbarClass}__action` }, h(FButton, Object.assign({}, this.actionButton, { onClick: () => this.onKupActionClick() })))) : null, this.closeButton ? (h("div", { class: `${snackbarClass}__close` }, h(FButton, { icon: "close", onClick: () => this.hide() }))) : null)) : null))));
|
|
97
97
|
}
|
|
98
98
|
disconnectedCallback() {
|
|
99
99
|
this.kupManager.theme.unregister(this);
|